PageSourceSearch

https://brightmls.com/static/js/main.b083e56f.js

js brightmls.com collected 2026-09-24 09:00:03 UTC 690,604 bytes, 1 lines download raw bytes

1(this.webpackChunkbright_mls=this.webpackChunkbright_mls||[]).push([[792],{36791(e,t,a){"use strict";a.d(t,{O:()=>l,c:()=>r});var n=a(91054),i=a(15607);const r=(0,n.createContext)({}),l=e=>{let{children:t}=e;const[a,l]=(0,n.useState)((0,i.xA)()),o=()=>{const e=(0,i.xA)();return l(e),e},c=()=>{sessionStorage.clear(),l(!1)},s=(0,n.useMemo)(()=>({isUserAuthenticated:a,checkAuthStatus:o,logout:c}),[a,o,c]);return n.createElement(r.Provider,{value:s},t)}},87102(e,t,a){"use strict";a.d(t,{L:()=>m,d:()=>s});var n=a(91054),i=a(81775),r=a(83326),l=a(15607);var o=a(36791);const c=(0,n.createContext)({isReady:!1,hasFeature:()=>!1}),s=()=>(0,n.useContext)(c),m=e=>{let{children:t}=e;const{isUserAuthenticated:a}=(0,n.useContext)(o.c),[s,m]=(0,n.useState)(!1),[d,u]=(0,n.useState)(0);(0,n.useEffect)(()=>{if(!a)return void m(!1);let e=!1;return(async()=>{try{const t=r.Ay.FLAGSMITH_CLIENT_API_KEY;if(!t)return void(e||m(!0));await i.A.init({environmentID:t,onChange:()=>{e||u(e=>e+1)}});const a=(()=>{const e=(0,l.Gv)();if(!e)return{userId:"anonymous",traits:{}};const t={};return e.MemberKey&&(t.member_key=e.MemberKey),e["custom:MemberMlsId"]&&(t.member_mls_id=e["custom:MemberMlsId"]),e.email&&(t.member_email=e.email),e.OfficeBrokerMlsId&&(t.broker_office_mls_id=e.OfficeBrokerMlsId),e.MemberType&&(t.member_type=e.MemberType),e.OfficeCounty&&(t.member_county=e.OfficeCounty),e.OfficeMlsId&&(t.office_mls_id=e.OfficeMlsId),{userId:t.member_mls_id||"anonymous",traits:t}})();a.userId&&"anonymous"!==a.userId&&await i.A.identify(`member:${a.userId}`,a.traits),e||(m(!0),u(e=>e+1))}catch{e||m(!0)}})(),()=>{e=!0}},[a]);const p=(0,n.useMemo)(()=>({isReady:s,hasFeature:e=>i.A.hasFeature(e)}),[s,d]);return n.createElement(c.Provider,{value:p},t)}},5890(e,t,a){"use strict";a.d(t,{A:()=>d});var n=a(91054),i=a(18199),r=a(7387),l=a.n(r);const o=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],c={fill:!1,lineTension:.1,backgroundColor:"#fff",borderWidth:2,borderDashOffset:0,borderJoinStyle:"miter",pointBackgroun
1dColor:"#fff",pointHitRadius:10};function s(e,t,a){const n=a.activeTab,{ActualListingData:i}=t,{Data:r}=i,{tooltip:l}=e,{dataPoints:o}=l;let c=document.getElementById("productivity-widget-tooltip");c||(c=document.createElement("div"),c.id="productivity-widget-tooltip",document.body.appendChild(c));const s=e.tooltip;if(0===s.opacity||s.labelColors&&s.labelColors.length>0&&"#788DA9"===s.labelColors[0].borderColor)return void(c.style.opacity="0");if(c.classList.remove("above","below","no-transform"),s.yAlign?c.classList.add(s.yAlign):c.classList.add("no-transform"),s.body){const e=s.body.map(function(e){return e.lines});let t="";e.forEach(function(){t+=function(){var e,t,a,i,l,c,s,m,d,u,p,g,h,E,y,b;return n&&1===n&&r?"<div class='tooltip-title'>"+(JSON.parse(null===(e=r[null===(t=o[0])||void 0===t?void 0:t.dataIndex])||void 0===e?void 0:e.ListSales)+JSON.parse(null===(a=r[null===(i=o[0])||void 0===i?void 0:i.dataIndex])||void 0===a?void 0:a.BuySales)).toLocaleString()+" Monthly Sales</div><p class='tooltip-values'>"+`List = ${JSON.parse(null===(l=r[null===(c=o[0])||void 0===c?void 0:c.dataIndex])||void 0===l?void 0:l.ListSales).toLocaleString()}<br/><p class='tooltip-values'>`+`Buy =${JSON.parse(null===(s=r[null===(m=o[0])||void 0===m?void 0:m.dataIndex])||void 0===s?void 0:s.BuySales).toLocaleString()}<hr class='linebreak-style'/><div class='tooltip-title ytd-figure'>`+o[0].formattedValue+" YTD Sales</div></p>":"<div class='tooltip-title'>$"+(JSON.parse(null===(d=r[null===(u=o[0])||void 0===u?void 0:u.dataIndex])||void 0===d?void 0:d.ListRevenue)+JSON.parse(null===(p=r[null===(g=o[0])||void 0===g?void 0:g.dataIndex])||void 0===p?void 0:p.BuyRevenue)).toLocaleString()+" Monthly Revenue</div><p class='tooltip-values'>"+`List = $${JSON.parse(null===(h=r[null===(E=o[0])||void 0===E?void 0:E.dataIndex])||void 0===h?void 0:h.ListRevenue).toLocaleString()}<br/><p class='tooltip-values'>`+`Buy = $${JSON.parse(null===(y=r[null===(b=o[0])||void 0===b?void 0:b.dataIndex])||void 0===y?void 0:y.BuyRevenue).toLocaleString()}<hr class='linebreak-style'/><div class='tooltip-title ytd-figure'>$`+o[0].formattedValue+" YTD Revenue</div></p>"}()}),c.innerHTML=t}const m=e.chart.canvas.getBoundingClientRect();c.style.opacity="1",c.style.position="absolute",c.style.left=m.left+(window.pageXOffset-20)+s.caretX+"px",c.style.top=m.top+(window.pageYOffset-110)+s.caretY+"px",c.style.backgroundColor="#fff",c.style.borderRadius="5px",c.style.border="1px solid #c4c4c4",c.style.padding="10px",c.style.pointerEvents="none"}const m=(e,t)=>e.p0.skip||e.p1.skip?t:void 0;function d(e){const{chartDetailing:t,chartData:a}=e,[r,d]=(0,n.useState)(!0),u=e=>{const a=t&&t.accumulatedData&&t.accumulatedData[t.accumulatedData.length-1];if(a&&r||0===a&&r)return e>a?1.2*e:1.2*a},p={responsive:!0,maintainAspectRatio:!1,showLine:"true",scales:{y:{suggestedMax:1===t.activeTab?u(a.SalesGoal):u(a.RevenueGoal),beginAtZero:!0}},title:{display:!0,text:"YTD TEAM LIST SIDE/BUY SIDE CLOSED SALES",fontSize:10,fontWeight:"normal",lineHeight:"11px",letterSpacing:"0.05em",color:"#18232E",position:"top"},plugins:{legend:{position:"top",align:"end",labels:{boxHeight:2},onClick:(e,t,a)=>{const n=t.datasetIndex,i=a.chart;i.isDatasetVisible(n)?(i.hide(n),t.hidden=!0):(i.show(n),t.hidden=!1),d(!r)}},tooltip:{enabled:!1,external:e=>s(e,a,t)}}},g=function(e,t){const{activeTab:a,accumulatedData:n,reducedFigure:i,
1colorScheme:r,linearGoal:l}=e,s=1===a?t.SalesGoal:t.RevenueGoal,d=n&&i?n:[],u={...c,label:"ACTUAL",pointRadius:5,data:d,borderColor:r,pointBorderWidth:2,pointHoverRadius:8,pointHoverBackgroundColor:"#fff",pointHoverBorderColor:r,pointHoverBorderWidth:2,pointBorderColor:r,spanGaps:!0,segment:{borderColor:e=>m(e,r),borderDash:e=>m(e,[6,6])}},p={...c,label:"GOAL",pointRadius:0,borderColor:"#788DA9",data:l};return!i&&s?{labels:o,datasets:[p]}:i||s?i&&!s?{labels:o,datasets:[u]}:{labels:o,datasets:[u,p]}:{labels:o,datasets:[{...c,label:"GOAL",pointRadius:0,borderColor:"#788DA9",data:[]}]}}(t,a);(0,n.useEffect)(()=>{const e=document.getElementsByTagName("canvas")[0];e&&(e.setAttribute("aria-label","YTD TEAM LIST SIDE/BUY SIDE CLOSED SALES graph"),e.setAttribute("role","img"))});return n.createElement("div",{id:"line-graph-container",className:"line_graph_container"},n.createElement("div",{id:"graph-block",className:"graph_block"},n.createElement("div",{id:"title-block",className:"title_block",style:{top:1===t.activeTab?"42%":"31%"}},n.createElement("span",{id:"title-block-span"},n.createElement("h5",{id:"title-block-h5"},t&&t.activeTab?1===t.activeTab?"Closed Sales":"Revenue":null))),n.createElement("div",{className:"last_updated_block"},n.createElement("span",{id:"last-updated-block-span"},n.createElement("h5",{id:"last-updated-block-h5"},"Last updated:","\xa0",a&&a.ActualListingData&&a.ActualListingData.LastUpdatedDate?l()(a.ActualListingData.LastUpdatedDate).format("MM/DD/YY hh:mm a"):"N/A"))),n.createElement(i.N1,{id:"line-graph-line",data:g,width:300,height:190,options:p})))}},14112(e,t,a){"use strict";a.d(t,{Bp:()=>o,cU:()=>s,fi:()=>c});var n=a(58599),i=a(83326),r=a(9726);let l="";function o(e,t,a){(0,n.YD)(e).then(()=>{if(e.type===r.P.Listing){const e="id="+l;l="",(0,n.RM)(e).then(e=>{200===e.status?window.location.assign(function(e){if(e.responseURL)return e.responseURL;const t=(new DOMParser).parseFromString(e.response,"text/html").getElementsByTagName("form")[0].getAttribute("action");return i.Ay.matrixApiEndpoint+t}(e.request)):console.error("Alerts were marked as read but unable to redirect to Matrix.  ResponseStatus="+e.status+". ResponseStatusText="+e.statusText)}).catch(e=>{console.error("Alerts were marked as read but unable to redirect to Matrix. Error posting listing Ids to matrix: "+e)})}e.type===r.P.Billing&&a&&window.location.assign(i.Ay.awsConfiguration.payInvoiceUrl+t)}).catch(e=>{console.error("error marking alerts as read: "+e)})}function c(e,t,a){o({fingerprints:[e.fingerprint],type:r.P.Billing},t,a)}function s(e,t){const a=[];e.listings.forEach(e=>{a.push(e.fingerprint),l+=e.id+","});o({fingerprints:a,type:r.P.Listing},t,!1)}},9726(e,t,a){"use strict";a.d(t,{P:()=>n});let n=function(e){return e[e.Billing=1]="Billing",e[e.Listing=2]="Listing",e}({})},89204(e,t,a){"use strict";a.d(t,{DS:()=>n,VV:()=>r,p9:()=>l,so:()=>i});const n={DASHBOARD_ARTICLE_LIST:"articlenews/getdashboardarticles",GET_DASHBOARD_SPLASH_IMAGE:"splash",S3_SPLASH_IMAGE_PARAM:"general-splash",ASSOCIATION_NEWS_URL:"associationNews",OFFICE_NEWS_URL:"officenews",OFFICE_LIST_URL:"memberdata/getmemberdata",POPUP:"popup",REQUEST_OFFICE_VISIT:"RequestOfficeVisit",MEMBER_MENU_DATA:"megamenu/getmembermenudata",MATRIX_CONCIERGE:"Matrix/Displays/ConciergeMenu.aspx",DATE:"utility/getUnixDate",IS_CONFIG_REGION:"utility/isCognitoInPrimaryRegion",MATRIX_LISTING_ID_SEARCH:"Matrix/link/Listing?id=",NEWSLANDING_URL:"newslanding",GET_USER_PREFERENCES:"/getpreferences",SAVE_USER_PREFERENCES:"/savepreferences",GET_TEAMWIDGET_DATA:"/getteamwidgetdata",IS_PART_OF_TEAM:"/ispartofteam",DASHBOARD_DEFAULT_RESEARCH_URL:"/research"},i={MARKET_LIST_MANAGE_BUTTON_NAME:"Go to Listing Management",MARKET_WATCH_MANAGE_BUTTON_NAME:"Manage",HOVER_LINK_NAME:"View Client",PRODUCTIVITY_DETAILS_LINK_NAME:"View Details",DASHBOARD_DEFAULT_RESEARCH_LINK_NAME:"Bright Research"},r="For more information on this and other Bright functionality, visit Support at the top of the screen.",l="Learn more about entering listings into Bright MLS."},45063(e,t,a){"use strict";a(55709);var n=a(91054),i=a(3058),r=a(78904),l=a(84609),o=a(76686),c=a(99405),s=a(87453),m=a(70922),d=a(63732);const u=e=>
1{const[t,a]=(0,n.useState)(window.innerWidth<=parseInt(e));return(0,n.useEffect)(()=>{const t=()=>a(window.innerWidth<=parseInt(e));return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[e]),t},p=e=>{let{id:t="",className:a="",backgroundDesktopUrl:i="",backgroundMobileUrl:r="",backgroundMaxWidth:l="768px",children:o,...c}=e;const s=u(l)&&r||i;return n.createElement("section",Object.assign({id:t,className:`marketingTemplateWrapper ${a}`,style:{backgroundImage:`url('${s}')`,backgroundSize:"cover",backgroundPosition:"center"}},c),o)},g=e=>{let{id:t="",className:a="",backgroundDesktopUrl:i="",backgroundMobileUrl:r="",backgroundMaxWidth:l="768px",children:o,...c}=e;const s=u(l)&&r||i;return n.createElement("div",Object.assign({id:t,className:`marketingTemplateContainer ${a}`,style:{backgroundImage:`url('${s}')`,backgroundSize:"cover",backgroundPosition:"center"}},c),o)};var h=a(37275);const E={dots:!0,arrows:!1,infinite:!1,speed:2e3,slidesToShow:1,slidesToScroll:1,autoplay:!0,autoplaySpeed:6e3},y=e=>{let{testimonialsData:t,backgroundImageUrlDesktop:a="",backgroundImageUrlMobile:i=""}=e;return n.createElement(p,{id:"homeTestimonialsSection"},n.createElement("div",{className:"myContainerContainer"},n.createElement(g,{id:"homeTestimonialsContainer",backgroundDesktopUrl:a,backgroundMobileUrl:i},n.createElement(h.A,Object.assign({},E,{className:"mtSlickDots"}),t.map(e=>n.createElement("div",{key:t.indexOf(e)},n.createElement("blockquote",{className:"testimonialQuote"},n.createElement("p",{className:"headingThree"},"\u201c",e.heading,"\u201d"),n.createElement("cite",{className:"bodyLarge"},e.subHeading))))))))};var b=a(77337),f=a(11511),v=a(33682);const A=(0,f.A)({breakpoints:{values:{xs:480,sm:600,md:60,lg:1280,xl:1920}}});function N(){return(0,v.A)(A.breakpoints.down(600))}function S(){return(0,v.A)(A.breakpoints.down(960))}function w(){return(0,v.A)(A.breakpoints.down(1280))}var x=a(28441);const _=e=>{let{primaryBtnClassName:t="",primaryBtnURL:a="",primaryBtnCopy:i="",primaryBtnTarget:r,secondaryBtnClassName:l="",secondaryBtnURL:o="",secondaryBtnCopy:c="",secondaryBtnTarget:s,tertiaryBtnClassName:m="",tertiaryBtnURL:d="",tertiaryBtnCopy:u="",tertiaryBtnTarget:p,primaryLinkClassName:g="",primaryLinkURL:h="",primaryLinkCopy:E="",primaryLinkTarget:y,secondaryLinkClassName:b="",secondaryLinkURL:f="",secondaryLinkCopy:v="",secondaryLinkTarget:A,linkWithOutArrow:N,primaryInlineLinkClassName:S="",primaryInlineLinkURL:w="",primaryInlineLinkCopy:_="",primaryInlineLinkTarget:k,secondaryInlineLinkClassName:C="",secondaryInlineLinkURL:T="",secondaryInlineLinkCopy:I="",secondaryInlineLinkTarget:L,multiButtonClass:B=""}=e;return n.createElement(n.Fragment,null,i&&n.createElement("a",{href:a,target:null===r||void 0===r?void 0:r.targetType,rel:"_blank"===(null===r||void 0===r?void 0:r.targetType)?"noopener noreferrer":void 0,className:`mt-btn mt-primary-btn ${t} ${B}`},i),c&&n.createElement("a",{href:o,target:null===s||void 0===s?void 0:s.targetType,rel:"_blank"===(null===s||void 0===s?void 0:s.targetType)?"noopener noreferrer":void 0,className:`mt-btn mt-secondary-btn ${l} ${B}`},c),u&&n.createElement("a",{href:d,target:null===p||void 0===p?void 0:p.targetType,rel:"_blank"===(null===p||void 0===p?void 0:p.targetType)?"noopener noreferrer":void 0,className:`mt-btn mt-tertiary-btn ${m} ${B}`},u),E&&n.createElement("a",{href:h,target:null===y||void 0===y?void 0:y.targetType,rel:"_blank"===(null===y||void 0===y?void 0:y.targetType)?"noopener noreferrer":void 0,className:`mt-prim-link ${g} ${B} ${"withOutArrow"===(null===N||void 0===N?void 0:N.arrowType)?"withOutArrow":""}`},E," ",n.createElement(x.A,{className:"theArrow"})),v&&n.createElement("a",{href:f,target:null===A||void 0===A?void 0:A.targetType,rel:"_blank"===(null===A||void 0===A?void 0:A.targetType)?"noopener noreferrer":void 0,className:`mt-2nd-link ${b} ${B} ${"withOutArrow"===(null===N||void 0===N?void 0:N.arrowType)?"withOutArrow":""}`},v," ",n.createElement(x.A,{className:"theArrow"})),_&&n.createElement("a",{href:w,target:null===k||void 0===k?void 0:k.targetType,rel:"_blank"===(null===k||void 0===k?void 0:k.targetType)?"noopener noreferrer":void 0,className:`mt-prim-inline-link ${S} ${B}`},_),I&&n.createElement("a",{href:T,target:null===L||void 0===L?void 0:L.targetType,rel:"_blank"===(null===L||void 0===L?void 0:L.targetType)?"noopener noreferrer":void 0,className:`mt-2nd-inline-link ${C} ${B}`},I))}
1,k=e=>null!==e&&void 0!==e&&String(e).trim().length>0,C=e=>k(e)?String(e).trim().toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,""):"",T=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"section";return C(e)||C(t)||"section"},I=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"section";const i=(0,n.useId)();return function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"section";const n=C(t);return n?`${T(e,a)}-${n}`:T(e,a)}(e,k(t)?t:i,a)},L=e=>{let{backgroundImageUrlDesktop:t="",backgroundImageUrlMobile:a="",title:i="",heroImageDesktop:r="",heroImageMobile:l="",tertiaryBtnCopy:o="",tertiaryBtnURL:c="",marketsServedData:s}=e;const m=I(i,void 0,"markets-we-serve");return n.createElement(p,{id:"homeMapSection",backgroundDesktopUrl:t,backgroundMobileUrl:a,"aria-labelledby":m},n.createElement(g,{id:"homeMapContainer"},n.createElement("div",{className:"leftSideMap"},!w()&&n.createElement("img",{className:"homeDesktopMapImage",src:r,alt:""})),n.createElement("div",{className:"rightSideContent"},n.createElement("h2",{id:m,className:"headingTwo"},i),w()&&n.createElement("img",{className:"homeMobileMapImage",src:l||r,alt:""}),n.createElement(b.Ay,{container:!0,spacing:3,component:"dl"},null===s||void 0===s?void 0:s.map((e,t)=>n.createElement(b.Ay,{item:!0,xs:6,key:`${e.title}-${t}`},n.createElement("div",{className:"marketServedItem"},n.createElement("dt",{className:"headingFive"},e.title),n.createElement("dd",{className:"mainHeading"},e.heading))))),n.createElement(_,{tertiaryBtnClassName:"mapSectionBtn",tertiaryBtnCopy:o,tertiaryBtnURL:c}))))},B={mediaContentBlock:"MediaContentBlock_mediaContentBlock__XWnFs",mediaSide:"MediaContentBlock_mediaSide__70gXL",contentSide:"MediaContentBlock_contentSide__DcZjO",supPill:"MediaContentBlock_supPill__C60jE","colour-Popular":"MediaContentBlock_colour-Popular__ki6cL","colour-New":"MediaContentBlock_colour-New__P4ord","colour-Included":"MediaContentBlock_colour-Included__2HX7k","colour-Premium":"MediaContentBlock_colour-Premium__sclZ3","colour-Miscellaneous":"MediaContentBlock_colour-Miscellaneous__Ntcag",titleHeading:"MediaContentBlock_titleHeading__3xvE3",allBtns:"MediaContentBlock_allBtns__G7ei6"};var D=a(47417);const M=e=>{let{supPillColour:t="",supPill:a="",contentTitle:i="",contentParagraphs:r="",children:l,childrenClassName:o="",contentButtons:c,contentElements:s}=e;const m=window.matchMedia("(max-width: 767px)").matches;return n.createElement(n.Fragment,null,a&&"N/A"!==t&&n.createElement("div",{className:`${B.supPill} ${B["colour-"+t]||""}`},a),i&&n.createElement("h2",{className:`headingTwo ${B.titleHeading}`},i),r&&n.createElement("div",{className:"contentParagraph",style:null!==c&&void 0!==c&&c.primaryBtnCopy||null!==c&&void 0!==c&&c.secondaryBtnCopy?{marginBottom:m?"20px":"40px"}:{marginBottom:"0px"}},n.createElement(D.$,null,r)),s&&n.createElement(n.Fragment,null,s),l&&n.createElement("div",{className:o},l),n.createElement(_,Object.assign({},c,{multiButtonClass:B.allBtns})))};var P=a(97847),R=a(60759),O=a(39377),U=a(12588),F=a(81115),$=a(62479),W=a(77469),H=a(15607);const j=e=>({margin:0,padding:e.spacing(2)}),z={position:"absolute",right:"14px",top:"14px",color:"#78909C",backgroundColor:"transparent"};var V=a(9726),G=a(14112),q=a(13389);const Y="#D64300",K="#292a2e",J="#FFFFFF",Q="#212B3D",X="#32323A",Z="#f5f5f5",ee="#9A9A9E",te="#E1E2E3",ae="#33333A",ne="#32323B",ie="#b1cee4",re="#666",le="#6E7881",oe="#4F5A65",ce="#F5F5F5",se="#FF4500",me="#1F3A93",de="#F3FBFD",ue="#FEF5F1",pe="#86E2D5",ge="#626262",he="#18232E",Ee="#F13C00",ye="#682C18",be=600,fe=700,ve=500,Ae=400,Ne=900,Se="normal",we="10px",xe="12px",_e="13px",ke="14px",Ce="16px",Te="18px",Ie="21px",Le="29px",Be="32px",De="55px",Me="22px",Pe="20px",Re="17px",Oe="24px",Ue="47px",Fe="63px",$e=(0,q.A)(e=>{var t,a,n,i,r,l,o,c,s,m,d,u,p,g,h,E,y,b,f,v,A,N,S,w,x,_,k,C,T,I,L,B,D,M,P,R,O,U,F,$,W,H,j,z,V,G,q,Y,Q,X,ee,te,ae,ie,re,le,ce,de,ue,pe,ge,ye,Ne,_e,Ie,Le,Be,Me,Pe,Re;return{alertsSectionContainer:{textAlign:"left",background:"rgba(255, 165, 0, 1.0)",marginTop:"24px",backgroundColor:J,borderRadius:"8px",border:"1px solid rgba(79, 90, 101, 0.5)",position:"relative",padding:"6px 0px 12px 0px"},alertsHeadingBlock:{[null===(t=e.breakpoints)||void 0===t||null===(a=t.between)||void 0===a?void 0:a.call(t,0,600)]:{marginBottom:"8px"},color:ne,position:"relative",width:"100%",overflow:"none",marginBottom:"0px"},alertParagraph:{position:"relative",minHeight:"36px",width:"100%",height:"auto",lineHeight:"100%",fontSize:Te,padding:"9px 145px 13px 40px",margin:"3px 0px 3px 0px",fontWeight:ve,textDecoration:"none",color:oe,curs
1or:"pointer","&:hover":{background:"rgba(243, 251, 253, .9)",fontWeight:fe,minHeight:"36px"},[null===(n=e.breakpoints)||void 0===n||null===(i=n.between)||void 0===i?void 0:i.call(n,0,600)]:{fontSize:xe,padding:"7px 75px 0px 29px"}},alertsSectionContainerEmpty:{paddingTop:"0px",padding:"0px 0px",textAlign:"left",background:Z,backgroundColor:"rgb(245, 245, 245)"},alertsTitleIcon:{position:"absolute",top:"7px",left:"10px",height:"23px",[null===(r=e.breakpoints)||void 0===r||null===(l=r.between)||void 0===l?void 0:l.call(r,0,600)]:{height:"16px",top:"6px",left:"8px"}},alertsTypeIcon:{position:"absolute",top:"12px",left:"8px",height:"20px",verticalAlign:"middle",[null===(o=e.breakpoints)||void 0===o||null===(c=o.between)||void 0===c?void 0:c.call(o,601,1279)]:{width:"20px",height:"20px"},[null===(s=e.breakpoints)||void 0===s||null===(m=s.between)||void 0===m?void 0:m.call(s,0,600)]:{top:"10px",width:"12px",height:"12px",left:"8px"}},alertsBillIcon:{float:"left",height:"20px",position:"absolute",top:"8px",left:"12px",[null===(d=e.breakpoints)||void 0===d||null===(u=d.between)||void 0===u?void 0:u.call(d,601,1279)]:{width:"12px",height:"20px"},[null===(p=e.breakpoints)||void 0===p||null===(g=p.between)||void 0===g?void 0:g.call(p,0,600)]:{height:"13px",left:"10px"}},title:{padding:"0px 0px 0px 40px",fontSize:Oe,fontWeight:Ae,color:me,[null===(h=e.breakpoints)||void 0===h||null===(E=h.between)||void 0===E?void 0:E.call(h,0,600)]:{fontSize:Te,padding:"0px 0px 0px 30px"}},alertBillType:{[null===(y=e.breakpoints)||void 0===y||null===(b=y.between)||void 0===b?void 0:b.call(y,0,600)]:{display:"none"}},leftBlockList:{color:he,letterSpacing:"0.3px",marginTop:"5px",overflow:"auto",maxHeight:"290px",paddingBottom:"3px",[null===(f=e.breakpoints)||void 0===f||null===(v=f.between)||void 0===v?void 0:v.call(f,0,600)]:{scrollbarWidth:"none",maxHeight:"215px",overflow:"hidden"}},leftBlockListAuto:{color:he,overflow:"hidden",maxHeight:"auto",paddingBottom:"3px"},showAll:{width:"100%",fontSize:Te,justifyContent:"center",[null===(A=e.breakpoints)||void 0===A||null===(N=A.between)||void 0===N?void 0:N.call(A,0,600)]:{fontSize:xe}},showAllLink:{fontSize:Te,textTransform:"uppercase",letterSpacing:"1.4px",verticalAlign:"middle",textDecoration:"none",color:se,width:"100%",cursor:"pointer",padding:"0px 15px 0px",display:"flex",height:"10px",justifyContent:"center","&:hover":{fontWeight:be},[null===(S=e.breakpoints)||void 0===S||null===(w=S.between)||void 0===w?void 0:w.call(S,0,600)]:{fontSize:xe}},alertStyle:{[null===(x=e.breakpoints)||void 0===x||null===(_=x.between)||void 0===_?void 0:_.call(x,0,600)]:{fontSize:xe,paddingRight:"5px"}},alertTitleStyle:{[null===(k=e.breakpoints)||void 0===k||null===(C=k.between)||void 0===C?void 0:C.call(k,601,1279)]:{},[null===(T=e.breakpoints)||void 0===T||null===(I=T.between)||void 0===I?void 0:I.call(T,0,600)]:{fontSize:xe,lineHeight:"15px"}},alertBillTitleStyle:{},alertTypeStyle:{[null===(L=e.breakpoints)||void 0===L||null===(B=L.between)||void 0===B?void 0:B.call(L,601,1279)]:{paddingRight:"6px"},[null===(D=e.breakpoints)||void 0===D||null===(M=D.between)||void 0===M?void 0:M.call(D,0,600)]:{display:"none"}},alertTypeBar:{paddingLeft:"4px",[null===(P=e.breakpoints)||void 0===P||null===(R=P.between)||void 0===R?void 0:R.call(P,601,1279)]:{paddingLeft:"0px"},[null===(O=e.breakpoints)||void 0===O||null===(U=O.between)||void 0===U?void 0:U.call(O,0,600)]:{display:"none"}},alertCount:{minWidth:"35px",height:"20px",fontSize:Te,textAlign:"center",textDecoration:"none",color:J,fontWeight:be,lineHeight:"18px",float:"none",margin:"0px 5px 0px",borderRadius:"20px",display:"inline-block",verticalAlign:"middle",[null===(F=e.breakpoints)||void 0===F||null===($=F.between)||void 0===$?void 0:$.call(F,601,1279)]:{margin:"0px 4px 0px 2px",minWidth:"27px"},[null===(W=e.breakpoints)||void 0===W||null===(H=W.between)||void 0===H?void 0:H.call(W,0,600)]:{fontSize:xe,lineHeight:"15px",minWidth:"28px",height:"18px",margin:"0px 4px 0px 0px"}},listingReviewButton:{position:"absolute",letterSpacing:"1.4px",textTransform:"uppercase",top:"0px",right:"30px",color:Ee,width:"94px",height:"40px",minHeight:"36px",fontWeight:be,justifyContent:"center",alignItems:"center",display:"flex",fontSize:ke,borderRadius:"4px","&:hover":{backgroundColor:Ee,boxShadow:"0px 4px 4px rgba(0, 0, 0, 0.12)",color:J},[null===(j=e.breakpoints)||void 0===j||null===(z=j.between)||void 0===z?void 0:z.call(j,601,1279)]:{width:"94px",height:"20px",padding:"0px 0px 0px"},[null===(V=e.breakpoints)||void 0===V||null===(G=V.between)||void 0===G?void 0:G.call(V,0,600)]:{display:"none"}},totalAlertsCount:{fontWeight:be,fontSize:De,textAlign:"center",color:se},totalAlertsCountFooter:{fontSize:Ce,fontWeight:be,textAlign:"center",color:ne,paddingBottom:"25px"},closeAlertsListButton:{right:"2.4em",position:"absolute",fontSize:we,padding:"5px",marginTop:"-10px",zIndex:1,border:"1px",borderColor:se,borderStyle:"solid",color:K},billingButtons:{marginTop:"23px"},billingButtonsSpacer:{paddingLeft:".5vw",paddingRight:".5vw",[null===(q=e.breakpoints)||void 0===q||null===(Y=q.between)||void 0===Y?void 0:Y.call(q,314,320)]:{paddingLeft:"unset",paddingRight:".4vw"},[null===(Q=e.breakpoints)||void 0===Q||null===(X=Q.between)||void 0===X?void 0:X.call(Q,310,314)]:{paddingLeft:"unset",paddingRight:".4vw",paddingTop:"15vw"},[null===(ee=e.breakpoints)||void 0===ee||null===(te=ee.between)||void 0===te?void 0:te.call(ee,280,310)]:{paddingLeft:"unset",paddingRight:"unset",paddingTop:"15vw"}},billingPayLaterButton:{color:`${se} !important`,borderColor:`${se} !important`,backgroundColor:`${J} !important`,height:"100%",minHeight:"43px",width:"159px !important",borderRadius:"56px !important",borderWidth:"4px !important",fontSize:"1.13em !important",fontWeight:be,"&:hover":{backgroundColor:`${se} !important`,color:`${J} !important`,justifyContent:"center",borderWidth:"2px"},[null===(ae=e.breakpoints)||void 0===ae||null===(ie=ae.between)||void 0===ie?void 0:ie.call(ae,601,1279)]:{fontSize:"0.875rem !important",width:"auto !important",height:"auto !important",minHeight:"25px",minWidth:"120px",padding:"9px 15px !important"},[null===(re=e.breakpoints)||void 0===re||null===(le=re.between)||void 0===le?void 0:le.call(re,0,600)]:{fontSize:`${ke} !important`,lineHeight:"15px",width:"auto !important",height:"auto !important",minHeight:"25px",minWidth:"116px",padding:"9px 15px !important"}},alertBillingPayNowButton:{position:"absolute",letterSpacing:"1.4px",top:"0px",right:"30px",color:J,width:"94px",height:"40px",fontSize:ke,textTransform:"uppercase",minHeight:"35px",fontWeight:be,backgroundColor:Ee,justifyContent:"center",alignItems:"center",display:"flex",borderRadius:"4px",padding:"0px 0px 0px 0px",transition:"300ms all ease","&:hover":{backgroundColor:Ee,boxShadow:"0px 4px 4px rgba(0, 0, 0, 0.12)"},[null===(ce=e.breakpoints)||void 0===ce||null===(de=ce.between)||void 0===de?void 0:de.call(ce,601,1279)]:{width:"94px",height:"20px",padding:"0px 0px 0px"},[null===(ue=e.breakpoints)||void 0===ue||null===(pe=ue.between)||void 0===pe?void 0:pe.call(ue,0,600)]:{color:Ee,backgroundColor:J,fontStyle:"normal",fontWeight:Se,fontSize:xe,lineHeight:"20px",textAlign:"right",width:"auto",top:"0px","&:hover":{backgroundColor:"unset",color:Ee}}},billingPayNowButton:{color:`${J} !important`,borderColor:`${se} !important`,backgroundColor:`${se} !important`,borderWidth:"4px !important",borderRadius:"56px !important",width:"159px",height:"100%",minHeight:"43px",fontWeight:be,justifyContent:"center",alignItems:"center",display:"flex",fontSize:"1.13em !important","&:hover":{backgroundColor:`${J} !important`,borderColor:`${se}  !important`,color:`${se}  !important`,justifyContent:"center",borderWidth:"2px"},[null===(ge=e.breakpoints)||void 0===ge||null===(ye=ge.between)||void 0===ye?void 0:ye.call(ge,601,1279)]:{width:"auto !important",height:"auto !important",minHeight:"25px",minWidth:"120px",padding:"9px 15px !important",fontSize:"0.875rem !important","& span":{fontSize:"inherit",lineHeight:"inherit"}},[null===(Ne=e.breakpoints)||void 0===Ne||null===(_e=Ne.between)||void 0===_e?void 0:_e.call(Ne,0,600)]:{fontSize:`${ke} !important`,lineHeight:"15px",width:"auto !important",height:"auto !important",minHeight:"25px",minWidth:"116px",padding:"9px 15px !important","& > span":{fontSize:"inherit",lineHeight:"inherit"}}},exclamationCircle:{color:"#D60C0C",fontSize:Fe},billingContent:{fontSize:"1.13em",letterSpacing:"0.05em",textAlign:"center",fontWeight:400,color:"#4F5A65","& h3":{fontSize:"2em",marginTop:"5px",marginBottom:"5px",fontWeight:600,letterSpacing:"0.05em",color:"#4F5A65",[null===(Ie=e.breakpoints)||void 0===Ie||null===(Le=Ie.between)||void 0===Le?void 0:Le.call(Ie,0,600)]:{fontSize:"28px"},[null===(Be=e.breakpoints)||void 0===Be||null===(Me=Be.between)||void 0===Me?void 0:Me.call(Be,601,1279)]:{fontSize:"1.75em"}},"& div":{paddingLeft:"0.9em",[null===(Pe=e.breakpoints)||void 0===Pe||null===(Re=Pe.between)||void 0===Re?void 0:Re.call(Pe,0,600)]:{paddingLeft:"0em",fontSize:"16px"}}}}}),We=$e;var He=a(84167);function je(e){const t=We(),a={fingerprints:[e.alertFingerprint],type:V.P.Billing},i=e.payLaterBillingAlertHandler;return n.createElement(b.Ay,{container:!0,id:"billingAlertPopup"},n.createElement(b.Ay,{item:!0,xs:12},n.createElement(b.Ay,{container:!0,justifyContent:"center",style:{height:"100%"}},n.createElement(He.A,{className:t.exclamationCircle}))),n.createElement(b.Ay,{item:!0,xs:12,className:t.billingContent},n.createElement("h3",null,"You have a past due invoice"),n.createElement("div",null,"Please pay the invoice as soon as possible to avoid an interruption in your Bright MLS service.")),n.createElement(b.Ay,{item:!0,xs:12,className:t.billingButtons},n.createElement(b.Ay,{container:!0,justifyContent:"center"},n.createElement("div",null,n.createElement(P.A,{id:"payBillLater","aria-label":"pay later",variant:"outlined",className:`primarybutton ${t.billingPayLaterButton}`,onClick:function(){(0,G.Bp)(a,e.memberMlsId,!1),i()}},"PAY LATER")),n.createElement("div",{className:t.billingButtonsSpacer}),n.createElement("div",null,n.createElement(P.A,{id:"payBillNow","aria-label":"pay now",variant:"outlined",className:`alternativeButton ${t.billingPayNowButton}`,onClick:()=>{(0,G.Bp)(a,e.memberMlsId,!0)}},"PAY NOW")))))}function ze(e){const{count:t,selected:a,hasBillingAlert:i}=e;let r=[...t];return r=i?r.map(e=>e-1):r,n.createElement(b.Ay,{className:"sliderIndicatorDiv "+(r&&r.length&&r.length>2?"sliderLeftSidePadding":"")},r&&r.length>0?r.map(e=>n.createElement(n.Fragment,{key:e},n.createElement("div",{className:`sliderIndicator ${a===e&&"darker"}`,style:{width:`calc(100% / ${r.length})`}}))):null)}
1var Ve=a(58599),Ge=a(68741),qe=a.n(Ge);var Ye=a(25574);const Ke=(0,Ye.Ay)(O.A)(e=>{let{theme:t}=e;return{..."function"===typeof j?j(t):j,"& .MuiIconButton-root":{...z||{}}}}),Je=(0,Ye.Ay)(U.A)(e=>{let{theme:t}=e;return{padding:t.spacing(2)}});function Qe(e){const{children:t,onClose:a,...i}=e;return n.createElement(Ke,i,n.createElement(W.A,{variant:"h6"},t),a?n.createElement(F.A,{id:"close-modal-btn","aria-label":"close",onClick:a},n.createElement($.A,null)):null)}function Xe(e){const{isOpen:t,className:a="",setOpen:i,messages:r,showButtons:l=!1,title:o="",children:c,hasBillingAlert:s,memberMlsId:m,billingAlertFingerprint:d,dismissedPopups:u}=e,[p,g]=(0,n.useState)(r),[h,E]=(0,n.useState)(s?-1:0);function y(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];p&&(p.length>1||1===p.length&&s)&&(e?h===p.length-1?E(s?-1:0):E(h+1):E(!s&&0===h||s&&-1===h?p.length-1:h-1))}(0,n.useEffect)(()=>{try{setTimeout(()=>{const e=document.getElementsByClassName("MuiDialog-scrollPaper")[0],t=document.getElementsByTagName("main")[0];e&&t&&(e.setAttribute("role","none"),t.setAttribute("aria-hidden","false"))},1e3)}catch(e){}},[]);function b(){const e=p&&(p.length>1||1===p.length&&s),t=p&&Array.from(Array(p.length+(s?1:0)).keys());return n.createElement(n.Fragment,null,e&&n.createElement(n.Fragment,null,n.createElement(P.A,{id:"previous-button",onClick:()=>y(!1)},"PREVIOUS"),n.createElement(P.A,{id:"next-button",onClick:()=>y(!0)},"NEXT"),n.createElement(ze,{count:t,selected:h,hasBillingAlert:s})))}return(0,n.useEffect)(()=>{p&&0===p.length&&!s&&i(!1)},[p,s,i]),(0,n.useEffect)(()=>{if(p&&u){const e=function(e,t){const a=(0,Ge.values)((0,Ge.merge)((0,Ge.keyBy)(e,"popupId"),(0,Ge.keyBy)(t,"popupId"))),n=(0,Ge.filter)(a,function(e){return void 0===e.dismissalTimestamp||e.publishedTimestamp&&(0,H.Mo)(e.publishedTimestamp)>(0,H.Mo)(e.dismissalTimestamp)});return(0,Ge.uniqBy)([...n],"popupId")}(p,u);g(e)}},[]),n.createElement("div",{id:"modal-dialog"},n.createElement(R.A,{className:`modal-dialog-container ${a}`,id:"modal-container",onClose:()=>i(!1),"aria-labelledby":"dialog-title",open:t,role:"dialog","aria-label":"true"},n.createElement(Qe,{id:"dialog-title",onClose:()=>i(!1)},l&&!o?n.createElement(b,null):o),n.createElement(Je,{className:"dividers",dividers:!0},p&&!c||s?n.createElement("div",{id:"dialog-content"},s&&-1===h&&n.createElement(je,{memberMlsId:m,alertFingerprint:d,payLaterBillingAlertHandler:function(){p&&p.length>1?y(!0):i(!1)}}),p?p.map((e,t)=>n.createElement(n.Fragment,{key:t},n.createElement("div",{style:{display:h===t?"block":"none"},dangerouslySetInnerHTML:(0,H.R2)(e.body)}),n.createElement("div",{className:"doShowMeButton_container",style:{display:h===t?"block":"none"}},n.createElement(P.A,{color:"primary",className:"doShowMeButton",onClick:a=>((e,t,a)=>{if(e.preventDefault(),e.stopPropagation(),null!=p){const e=[...p];h===e.length-1&&E(s?-1:0),e.splice(t,1),g(e);const n={dismissedPopupId:a.popupId,type:"POPUP"};(0,Ve.gW)(n).then(e=>e).catch(e=>e)}})(a,t,e)},"Don\u2019t show me this again")))):n.createElement("div",null)):c)))}const Ze=e=>{const{videoUrl:t}=e;return n.createElement(b.Ay,{id:"common-iframe-video-container",className:"common-iframe-video-container",container:!0,justifyContent:"center"},n.createElement("iframe",{allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,src:`${t}`,frameBorder:"0",title:"iframe video"}))};var et=a(26651);const tt={textDecoration:"none",padding:"0",border:"0",background:"none",position:"relative",display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer"},at={position:"absolute",borderRadius:"50%"},nt=e=>{let{videoThumbImage:t="",videoThumbImageMobile:a="",videoThumbURL:i="",videoThumbClass:r="",videoThumbPopupClass:l="",videoThumbImageClass:o="",videoThumbAlt:c="Video Thumbnail",playButtonArrowType:s=""}=e;const[m,d]=(0,n.useState)(!1),[u,p]=(0,n.useState)(i||"");return n.createElement(n.Fragment,null,n.createElement("button",{className:`videoThumbButton ${s} ${r}`,style:tt,onClick:()=>{return(e=i||"")&&p(e),void d(!0);var e},onKeyDown:e=>{"Enter"===e.key&&d(!0)},"aria-label":c?`Play video: ${c}`:"Play video"},n.createElement("div",{className:"svgContainer",style:at},n.createElement(et.A,{className:"mt-playButtonArrow"})),N()?n.createElement("img",{src:a||t,alt:c||"Play video",className:`vidThumbImage ${o}`,style:{width:"100%"}}):n.createElement("img",{src:t,alt:c||"Play video",className:`vidThumbImage ${o}`,style:{width:"100%"}})),n.createElement(Xe,{className:`modalDialogStyles ${l}`,title:"",showButtons:!0,messages:[],isOpen:m,setOpen:d,hasBillingAlert:!1,memberMlsId:"",billingAlertFingerprint:""},n.createElement(Ze,{videoUrl:u})))},it="Banner_mainBanner__gy2oi",rt="Banner_bannerLeft__TJWSM",lt="Banner_topSubTitle__8YoOm",ot="Banner_supLogo__eNb0t",ct="Banner_mainBannerTitle__dvZ6X",st="Banner_bannerBtn__acQaP",mt="Banner_bannerRight__xrEvm",dt="Banner_mtBannerCard__HBwHk",ut="Banner_imgContainer__-ByGC",pt="Banner_itemTitle__4hyad",gt="Banner_arrowUpRight__CZtiO",ht="Banner_itemExcerpt__WET1r";var Et=a(26089);
1a(41847),a(26215),a(42572);const yt={color:"black",display:"block",textDecoration:"none"},bt={backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosstion:"center center",marginBottom:"25px"},ft={width:"100%",maxWidth:"100%"},vt={dots:!0,arrows:!1,autoplay:!0,slidesToShow:1,slidesToScroll:1,pauseOnHover:!0,autoplaySpeed:5e3},At=e=>{let{data:t}=e;const{cardKey:i,cardURL:r,cardImageUrl:l,cardTitle:o,cardBlurb:c}=t||{};return n.createElement("a",{id:i,key:i,href:r,style:yt,className:`mtBannerCardWrap ${dt}`},l&&n.createElement("div",{style:{...bt,backgroundImage:`url(${l})`},className:ut},n.createElement("img",{alt:o,style:ft,src:a(60247)})),n.createElement("h5",{className:`headingFive ${pt}`},o,n.createElement("span",{className:`arrowUpwardRight ${gt}`},n.createElement(Et.A,null))),n.createElement("p",{className:`cardBlurb ${ht}`},c))},Nt=e=>{let{cards:t=[],dotsModeType:a="light-mode",cardStyleType:i="default-card-mode"}=e;const[r]=t||[];return n.createElement("div",{className:`bannerCarouselContainer ${a} ${i}`},t.length>1?n.createElement(h.A,vt,t.map(e=>n.createElement(At,{key:e.cardTitle,data:e}))):n.createElement(At,{data:r}))},St=e=>{const{heroImage:t="",heroImageMobile:a="",heroImageClass:i="",heroImageAlt:r="",videoThumbURL:l="",cards:o=[],childrenMedia:c,childrenMediaClassName:s=""}=e;return n.createElement(n.Fragment,null,l?n.createElement(nt,Object.assign({},e,{videoThumbURL:l})):t&&n.createElement(n.Fragment,null,N()?n.createElement("img",{src:a||t,className:`${i}`,alt:r,style:{width:"100%"}}):n.createElement("img",{src:t,className:`${i}`,alt:r,style:{width:"100%"}})),o.length>0&&n.createElement(Nt,Object.assign({},e,{cards:o})),c&&n.createElement("div",{className:s},c))},wt=e=>{const{id:t="",className:a="",containerClassName:i="",xsL:r=12,mdL:l=6,lgL:o=6,xsR:c=12,mdR:s=6,lgR:m=6,gridSpacing:d=7,gridSpacingMobile:u=2,gridSpacingMaxWidth:h=960,gridDesktopDirection:E="row",gridMobileDirection:y="row",backgroundImageUrlDesktop:f="",backgroundImageUrlMobile:v="",containerBackgroundImageUrlDesktop:A="",containerBackgroundImageUrlMobile:N="",selfAlignType:S="center",...w}
1=e,[x,_]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{const e=()=>{_(window.innerWidth<h)};return window.addEventListener("resize",e),e(),()=>{window.removeEventListener("resize",e)}},[h]),n.createElement(p,{id:t,className:` ${B.mediaContentBlock} ${a}`,backgroundDesktopUrl:f,backgroundMobileUrl:v},n.createElement(g,{className:i,backgroundDesktopUrl:A,backgroundMobileUrl:N},n.createElement(b.Ay,{container:!0,spacing:x?u:d,direction:x?y:E},n.createElement(b.Ay,{item:!0,xs:r,md:l,lg:o,className:B.mediaSide,style:x?{}:{alignSelf:S}},n.createElement(St,w)),n.createElement(b.Ay,{item:!0,xs:c,md:s,lg:m,className:B.contentSide,style:x?{}:{alignSelf:S}},n.createElement(M,w)))))};var xt=a(72056),_t=a(83326),kt=a(97708);const Ct={iconBox:"IconBox_iconBox__YVnha",mainHrefTag:"IconBox_mainHrefTag__rNNYv",gridIconBoxItem:"IconBox_gridIconBoxItem__z+I8o",ctaButtonsOne:"IconBox_ctaButtonsOne__3a8DH",ctaButtonsTwo:"IconBox_ctaButtonsTwo__u1mu2",ctaLinks:"IconBox_ctaLinks__2DyBp",headingFive:"IconBox_headingFive__1c7JL"},Tt=e=>{let{iconBoxData:t,repetitiveLink:a,repetitiveLinkCTA:i,IconBoxButtonStyle:r="",xs:l=12,sm:o=6,md:c=3,xsIcon:s=2,xsTitle:m=10}=e;return n.createElement("div",{className:`iconBox ${Ct.iconBox}`},n.createElement(b.Ay,{container:!0,spacing:4,component:"ul",role:"list",sx:{listStyle:"none",margin:0,marginLeft:"-32px",padding:0}},null===t||void 0===t?void 0:t.map(e=>{var d;const u=n.createElement("div",{className:`\n                                gridIconBoxItem \n                                ${Ct.gridIconBoxItem} \n                                iconBoxItem-${t.indexOf(e)}\n                            `},n.createElement(b.Ay,{container:!0,spacing:2},n.createElement(b.Ay,{item:!0,xs:s,sm:12},n.createElement("img",{src:e.image,alt:e.headline})),n.createElement(b.Ay,{item:!0,xs:m,sm:12},n.createElement("h3",{className:`headingFive ${Ct.headingFive}`},e.headline,N()&&e.ctaLink&&"ctaButtonsOne"!==r&&n.createElement(kt.A,null)))),n.createElement("p",null,e.description),e.buttonText&&n.createElement("span",{className:`\n                                        mt-btn\n                                        mt-primary-btn\n                                        button-${t.indexOf(e)}\n                                        ctaButtons\n                                        ${null!==(d=Ct[r])&&void 0!==d?d:Ct.ctaButtonsOne}\n                                    `},e.buttonText),e.linkText&&n.createElement("span",{className:`\n                                        mt-2nd-link\n                                        link-${t.indexOf(e)}\n                                        ctaLinks\n                                        ${Ct.ctaLinks}\n                                    `},e.linkText," ",n.createElement(x.A,{className:"theArrow"})),a&&i&&n.createElement("span",{className:`\n                                        mt-2nd-link\n                                        learn-more-link\n                                        ctaLinks\n                                        ${Ct.ctaLinks}\n                                    `},i," ",n.createElement(x.A,{className:"theArrow"})));return n.createElement(b.Ay,{key:`${e.headline}-${t.indexOf(e)}`,item:!0,xs:l,sm:o,md:c,component:"li"},e.ctaLink?n.createElement("a",{href:e.ctaLink,className:`mainHrefTag ${Ct.mainHrefTag}`,"aria-label":e.headline?void 0:e.buttonText},u):u)})))},It=e=>{const{id:t="",backgroundImageUrlDesktop:a="",backgroundImageUrlMobile:i="",supCopy:r="",title:l="",smTitle:o="",paragraph:c="",children:s,childrenWrapperClass:m="",iconBoxData:d,className:u,...h}=e;return n.createElement(p,{id:t,backgroundDesktopUrl:a,backgroundMobileUrl:i},n.createElement(g,{className:u},r&&n.createElement("p",{className:"headingFour"},r),l&&n.createElement("h2",{className:"headingTwo"},l),o&&n.createElement("h3",{className:"headingThree"},o),c&&n.createElement("p",{className:"bodyLarge"},c),s&&n.createElement("div",{className:m},s),n.createElement(Tt,Object.assign({iconBoxData:d},h))))},Lt=e=>{let{...t}=e;return n.createElement("p",Object.assign({className:"bodyLarge"},t))},Bt=e=>{let{topBannerSupTitle:t="",topBannerSupLogo:a="",topBannerTitle:i,topBannerTitleTag:r="h1",topBannerSummaryClass:l="",topBannerSummary:o="",topBannerButtons:c,topBannerSummaryAfterButtonClass:s="",topBannerSummaryAfterButton:m="",children:d,childrenWrapperClass:u=""}=e;const p=r;return n.createElement(n.Fragment,null,a&&n.createElement("img",{src:a,className:ot,alt:"logo"}),t&&n.createElement("em",{className:`topSubTitle ${lt}`},t),n.createElement(p,{className:`mainHeading ${ct}`},i),o&&n.createElement("div",{className:`bannerSummary ${l}`,style:null!==c&&void 0!==c&&c.primaryBtnCopy||null!==c&&void 0!==c&&c.secondaryBtnCopy?{marginBottom:"40px"}:{marginBottom:"0px"}},n.createElement(D.$,{components:{p:Lt}},o)),n.createElement(_,Object.assign({},c,{multiButtonClass:st})),m&&n.createElement("p",{className:`bodyLarge bannerSummary ${s}`},m),d&&n.createElement("div",{className:u},d))},Dt=e=>{const{id:t="",className:a="",xsL:i=12,mdL:r=6,xsR:l=12,mdR:o=6,backgroundImageUrlDesktop:c="",backgroundImageUrlMobile:s="",...m}=e;return n.createElement(p,{id:t,className:`${it} ${a}`,backgroundDesktopUrl:c,backgroundMobileUrl:s},n.createElement(g,null,n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{className:`bannerLeft ${rt}`,item:!0,xs:i,md:r},n.createElement(Bt,m)),n.createElement(b.Ay,{className:`bannerRight ${mt}`,item:!0,xs:l,md:o},n.createElement(St,m)))))},Mt=e=>{let{homeBannerData:t=[],backgroundDesktopUrl:a="",backgroundMobileUrl:i="",backgroundMaxWidth:r="768px"}=e;const l=u(r)&&i||a,o=1===t.length,c=(0,n.useRef)(null),[s,m]=(0,n.use
1State)(void 0);if((0,n.useEffect)(()=>{const e=()=>{if(!c.current)return;const e=c.current.querySelectorAll(".slick-slide > div");let t=0;e.forEach(e=>{const a=e.scrollHeight;a>t&&(t=a)}),t>0&&m(t)};return(()=>{var t;const a=(null===(t=c.current)||void 0===t?void 0:t.querySelectorAll("img"))||[],n=[];a.forEach(e=>{e.complete||n.push(new Promise(t=>{e.addEventListener("load",()=>t(),{once:!0}),e.addEventListener("error",()=>t(),{once:!0})}))}),0===n.length?e():Promise.all(n).then(e)})(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[t,l]),!t.length)return null;const d={fade:!1,dots:!o,arrows:!1,infinite:!1,speed:2e3,slidesToShow:1,slidesToScroll:1,autoplay:!o,autoplaySpeed:6e3,swipe:!o,draggable:!o,touchMove:!o,pauseOnHover:!1},p=(e,t)=>n.createElement(Dt,{key:t,id:`homeBanner${t}`,className:"homeBanner",mdL:7,mdR:5,topBannerTitle:e.headline,topBannerTitleTag:0===t?"h1":"h2",topBannerSummary:e.subHeadline,topBannerButtons:{primaryBtnURL:e.ctaLink,primaryBtnCopy:e.buttonText,primaryBtnTarget:{targetType:"_self"},secondaryBtnURL:e.secondCtaLink,secondaryBtnCopy:e.secondCtaText,secondaryBtnTarget:{targetType:"_self"}},heroImageClass:"homeHero",heroImage:e.image,videoThumbImageClass:"homeHero",videoThumbImage:e.imageVideo,playButtonArrowType:"mt-playButtonOne"});return n.createElement("section",{className:"centerVertically",ref:c,style:{height:s,backgroundImage:`url('${l}')`,backgroundSize:"cover",backgroundPosition:"center"}},o?p(t[0],0):n.createElement(h.A,d,t.map((e,t)=>p(e,t))))};const Pt=function(e){let{previewData:t}=e;const[a,i]=(0,n.useState)(null),r=(0,s.Zp)();return(0,n.useEffect)(()=>{document.title="Bright Home | Bright MLS",(0,H.xA)()&&r("/dashboard"),t?i(t):(0,xt.c)(_t.IX).then(e=>{i(e)}).catch(e=>{console.log(e)})},[t]),n.createElement(n.Fragment,null,n.createElement(d.m,null,n.createElement("body",{id:"homeNew",className:"brightRedesign aPage"})),n.createElement("div",{className:"mtMain"},a&&n.createElement(n.Fragment,null,n.createElement(Mt,{backgroundDesktopUrl:a.topBannerBackgroundDesktop,backgroundMobileUrl:a.topBannerBackgroundMobile,homeBannerData:a.topBannerCards}),n.createElement(It,{id:"homeResourcesSection",title:a.benefitsTitle,iconBoxData:a.benefitsList,IconBoxButtonStyle:"ctaButtonsTwo"}),n.createElement(y,{backgroundImageUrlDesktop:a.brokersBackground,backgroundImageUrlMobile:a.brokersBackgroundMobile,testimonialsData:a.testimonials||[]}),n.createElement(wt,{id:"homeMediaContentBlock",heroImage:a.brightGrowthImage,heroImageMobile:a.brightGrowthImageMobile,videoThumbURL:a.videoUrl,videoThumbImage:a.brightGrowthImage,videoThumbImageMobile:a.brightGrowthImageMobile,playButtonArrowType:"mt-playButtonTwo",contentTitle:a.brightGrowthTitle,contentParagraphs:a.brightGrowthDescription,contentButtons:{primaryBtnURL:a.growthCtaLink,primaryBtnCopy:a.growthCtaText,primaryBtnClassName:"primaryBtn",primaryBtnTarget:{targetType:"_self"},secondaryBtnURL:a.learnMoreCtaLink,secondaryBtnCopy:a.learnMoreCtaText,secondaryBtnTarget:{targetType:"_self"}}}),n.createElement(L,{backgroundImageUrlDesktop:a.desktopMapBackground,backgroundImageUrlMobile:a.mobileMapBackground,title:a.marketServedTitle,heroImageDesktop:a.desktopMapHeroImage,heroImageMobile:a.mobileMapHeroImage,marketsServedData:a.marketServedDetails,tertiaryBtnURL:a.joinUsCtaLink,tertiaryBtnCopy:a.joinUsCtaText}))))};var Rt=a(87102),Ot=a(59875);const Ut=n.createContext(null),Ft=(0,q.A)(e=>{var t,a;return{root:{flexGrow:1},allBrightNews:{padding:"0 22px",fontSize:"12px",textDecoration:"none",color:Y},leftSideContainer:{background:Z,padding:"0 1.5em"},rightSideContainer:{padding:"0",borderLeft:"1px solid "+ee,[null===(t=e.breakpoints)||void 0===t||null===(a=t.only)||void 0===a?void 0:a.call(t,"xs")]:{borderLeft:"0px"}},centerSideContainer:{background:J},svg:{marginRight:"5px"},boxStyle:{display:"inline-flex",background:"rgba(206,206,206,.6)",border:"0",lineHeight:"100%",cursor:"pointer",boxShadow:"none",padding:"10px 12px",fontWeight:be,zIndex:1,outline:0},listingTitle:{color:ae,fontSize:"13px",fontWeight:be,lineHeight:"100%"},myListingStyle:{display:"inline-flex",cursor:"pointer",padding:"8px 3px"},listingTitleStyle:{color:ae,fontSize:"13px",textDecoration:"none",fontWeight:be,lineHeight:"100%",width:"100%"},listingCount:{width:"30px",height:"20px",borderRadius:"40%",background:te,fontSize:"11px",textAlign:"center",textDecoration:"none",color:ae,padding:"2px",fontWeight:be,lineHeight:"11px",float:"right"},collapseStyle:{width:"100%"},hotListWrapper:{backgroundColor:"rgb(245, 245, 245)"},NonDecoratedAnchor:{textDecoration:"none",width:"100%"},mobileBrightNews:{float:"right"}}}),$t=Ft;var Wt=a(32217);function Ht(){const e=(0,Wt.A)();return(0,v.A)(e.breakpoints.down("sm"))}const jt=(0,f.A)({breakpoints:{values:{xs:0,sm:450,md:767,lg:900,xl:1200}}});function zt(){return(0,v.A)(jt.breakpoints.down("sm"))}function Vt(){return(0,v.A)(jt.breakpoints.down(600))}function Gt(){return(0,v.A)(jt.breakpoints.between(600,1280))}function qt(){return(0,v.A)(jt.breakpoints.up(1280))}function Yt(){return(0,v.A)(jt.breakpoints.between(961,1278))}function Kt(){return(0,v.A)(jt.breakpoints.up(600))}function Jt(){return(0,v.A)(jt.breakpoints.down(601))}var Qt=a(89204);const Xt=a.p+"static/media/lightbulbResearch.8172c7bf.png";function Zt(e,t){if(/^(https?:)?\/\//i.test(e)||e.startsWith("www.")){const t=e.startsWith("http")?e:`https://${e.replace(/^\/+/,"")}`;window.location.href=t}else t.push(e)}const ea=e=>{let{to:t,children:a,className:i,id:r,...l}=e;const o=(0,s.Zp)();return n.createElement("a",Object.assign({href:t,onClick:e=>{e.preventDefault(),Zt(t,o)},className:i,id:r},l),a)};function ta(e){const{name:t,customerSalutation:a,customerWelcomeMessage:i,redirectLink:r,redirectLinkText:l}=e;return n.createElement(n.Fragment,null,n.createElement(b.Ay,{container:!0,item:!0,direction:"row",xs:12,md:12,xl:12,lg:12,justifyContent:"space-between",alignContent:"space-between",alignItems:"flex-start",className:"welcomeMessageSection",id:"welcomeMessageSectionId"},n.createElement(b.Ay,{item:!0,xs:Vt()?12:8,md:8,sm:7,lg:12,xl:12,container:!0,justifyContent:Vt()?"center":"flex-start",direction:"row",className:"left_section"},n.createElement("p",{id:"welcometitleId",className:"title"},n.createElement("span",{className:"titleBold"},`${null!==a&&void 0!==a?a:""} ${t}${i?", ":""} `),null!==i&&void 0!==i?i:"")),n.createElement(b.Ay,{item:!0,md:4,sm:5,container:!0,justifyContent:"flex-end",direction:"row",className:"right_section"},null===l?n.createElement("a",{className:"dashboard_default_research_link",href:Qt.DS.DASHBOARD_DEFAULT_RESEARCH_URL},n.createElement("img",{src:Xt,alt:"lightbulb"}),Qt.so.DASHBOARD_DEFAULT_RESEARCH_LINK_NAME):n.createElement(ea,{to:r,className:"teams_by_bright_link_mobile_view",id:"teams_by_bright_link"},l))))}var aa=a(25070),na=a(68941),ia=a(12554);const ra=e=>{const{className:t,options:a,onChange:i,value:r,id:l="drop-down-component",componentAstitle:o}=e;return n.createElement(b.Ay,{className:`dashboard-dropdown ${t||""}`},n.createElement(aa.A,{variant:"filled",className:o?"productivity-item-year-option":""},n.createElement(na.A,{disableUnderline:!0,name:"hotOptions",id:l,onChange:i,value:r,IconComponent:ia.A,classes:{select:o?`drop-down-select dropdown-selected-${r} max-content_width`:`drop-down-select dropdown-selected-${r}`},inputProps:{"aria-label":"hotOptions",id:`hotOptionsId-${l}`}},a&&a.length>0?a.map((e,t)=>n.createElement("option",{key:t,value:e.value,"aria-label":e.label},e.label)):null)))};function la(e){const{listingActivityWidgetTitle:t="",listingActivityWidgetSummary:a,listActivityIcon:i,manageLinkText:r,className:l="",itemCount:o=0,id:c,orderOfComponent:s,componentAstitle:m,dropdownOptions:d,dropdownSelection:u,dropdownValue:p}=e,g=!!a&&a.toLowerCase().indexOf("##count##")>=0,h=e.manageLinkUrl?e.manageLinkUrl:_t.Ay.KeystoneURL;return n.createElement("div",{className:`dashboard_card_container ${l}`,id:`list_activity_container_id_${c}`,role:"presentation",style:{order:qt()?0:s}}
1,n.createElement("div",{className:"list_activity_card",id:`list_activity_card_id_${c}`,role:"presentation"},n.createElement("div",{className:m?"list_activity_title_and_link_container extra_header_padding":"list_activity_title_and_link_container"},m?n.createElement("div",{className:"list_activity_title_container productivity-selectors"},n.createElement(ra,{componentAstitle:!0,id:"productivity-widget-year-options",value:p,onChange:u,className:"max-content_width",options:d||[]}),n.createElement("img",{className:"list_activity_title_image small_size",src:i,alt:"Listing Activity Section Icon",tabIndex:0,id:`list_activity_title_image_${c}`})):n.createElement("div",{className:"list_activity_title_container",tabIndex:-1,id:`list_activity_title_container_${c}`},n.createElement("h1",{className:"list_activity_title",id:`list_activity_title_id_${c}`},t),n.createElement("img",{className:"list_activity_title_image",src:i,alt:"Listing Activity Section Icon",tabIndex:0,id:`list_activity_title_image_${c}`})),r&&n.createElement("a",{href:h,className:"link",tabIndex:0,id:`list_activity_anchor_${c}`},r)),null!=a&&function(e,t,a){let i=[];return t&&(i=e.split("##count##")),t?n.createElement("div",{className:"summary",id:"list_activity_summary_count_id"},i[0],n.createElement("div",{className:"count"},a||0),i[1]):n.createElement("div",{className:"summary",id:"list_activity_summary_id"},e)}(a,g,o),e.children))}function oa(e){const{item:t,index:a}=e;return n.createElement("div",{key:a,className:"card_container_wrapper",id:`card_container_wrapper_listing_activity_id_${a}`},n.createElement("a",{className:"card",role:"link",tabIndex:0,href:t.Link,id:`link_listing_activity_id_${a}`},n.createElement("div",{className:"count",id:`card_count_listing_activity_id_${a}`},t.Count),n.createElement("div",{className:"info",id:`card_info_listing_activity_id_${a}`},t.Name)))}const ca=a.p+"static/media/ListingActivity.78b48647.svg";function sa(){return n.createElement("div",{className:"spinner"},n.createElement("div",{className:"spinner-background"}),n.createElement("div",{className:"spinner-container"},n.createElement("div",{className:"spinner"})))}const ma=a.p+"static/media/alert-bell-icon.1b74c0a9.svg",da=a.p+"static/media/ListingNoticeIcon.2ef4f10d.svg",ua=a.p+"static/media/PastDueInvoiceIcon.625b3149.svg";function pa(e){const{mainClass:t,keyPress:a}=e;return n.createElement("p",{className:t,tabIndex:0,onKeyPress:a},e.children)}function ga(e){const t=We(),a={background:oe},i={background:se},[r,l]=(0,n.useState)(),[o,c]=(0,n.useState)(null),[s,m]=(0,n.use
1State)(null),[d,u]=(0,n.useState)(0),[p,g]=(0,n.useState)(0),[h,E]=(0,n.useState)(!1),[y,f]=(0,n.useState)(!0),[v,A]=(0,n.useState)(!1),N={PastDue:{displayName:"Bright subscription fee is past due",displayOrder:10},"Listings Expiring within 3 days":{displayName:"Listing Expiring within <b>3 Days</b>",displayOrder:20},"Listings Expiring within 7 days":{displayName:"Listing Expiring within <b>7 Days</b>",displayOrder:30},"Listings Expiring within 10 days":{displayName:"Listing Expiring within <b>10 Days</b>",displayOrder:40},"Listings Closing within 3 days":{displayName:"Listing Closing within <b>3 Days</b>",displayOrder:50},"Listings Closing within 7 days":{displayName:"Listing Closing within <b>7 Days</b>",displayOrder:60},"Listings Closing within 10 days":{displayName:"Listing Closing within <b>10 Days</b>",displayOrder:70},"Listings Scheduled to Close in 3 Days":{displayName:"Listing Scheduled to Close in <b>3 Days</b>",displayOrder:73},"Listings Scheduled to Close in 7 Days":{displayName:"Listing Scheduled to Close in <b>7 Days</b>",displayOrder:74},"Listings Scheduled to Close in 10 Days":{displayName:"Listing Scheduled to Close in <b>10 Days</b>",displayOrder:75},"Pending Listings Past Expected Close Date":{displayName:"Pending Listing Past Expected Close Date",displayOrder:80},"Selling Agents Added in Past 3 Days":{displayName:"Selling Agents Added in Past <b>3 Days</b>",displayOrder:90}};if((0,n.useEffect)(()=>
1{l(e.alertData),E(e.isSmallSize),r&&r.groups.forEach(e=>{if("Listing"===e.name){c(e.alerts);let t=0;e.alerts.forEach(e=>{t+=e.listings.length}),u(t)}"Billing"===e.name&&(e.alerts.length>0&&!e.alerts[0].isRead?(m(e.alerts),g(e.alerts.length)):(m([]),g(0)))}),f(!h)},[e.alertData,e.isSmallSize,r,h]),null==(null===e||void 0===e?void 0:e.alertData)||0===(null===o||void 0===o?void 0:o.length)&&0===(null===s||void 0===s?void 0:s.length))return n.createElement(b.Ay,{container:!0,className:t.alertsSectionContainerEmpty,id:"alertsWidgetEmpty"});function S(e){e&&e.forEach(e=>{e.displayName=N[e.name]?N[e.name].displayName:e.name,e.displayOrder=N[e.name]?N[e.name].displayOrder:999})}S(o),S(s);const w=null===s||void 0===s?void 0:s.sort((e,t)=>e.displayOrder-t.displayOrder),x=null===o||void 0===o?void 0:o.sort((e,t)=>e.displayOrder-t.displayOrder),_=p+d;return n.createElement(b.Ay,{container:!0,className:t.alertsSectionContainer,id:"alertsWidget"},!y&&n.createElement(b.Ay,{item:!0,lg:12,md:12,sm:12,xs:12,onClick:()=>{f(!0)}},n.createElement("div",{className:t.totalAlertsCount,id:"totalAlertsCount"},_),n.createElement("div",{className:t.totalAlertsCountFooter,"aria-level":1,role:"heading",id:"totalAlertsCountFooter"},"Alerts")),y&&n.createElement(b.Ay,{item:!0,lg:12,md:12,sm:12,xs:12},h&&n.createElement("button",{className:t.closeAlertsListButton,id:"closeAlertsList",onClick:()=>{f(!1)}},"CLOSE"),n.createElement(b.Ay,{container:!0,className:t.alertsHeadingBlock,direction:"row"},n.createElement(b.Ay,{item:!0,lg:12,md:12,sm:12,xs:12},n.createElement("div",{className:t.title,"aria-level":1,role:"heading",id:"alertsWidgetTitle"},n.createElement("img",{className:t.alertsTitleIcon,src:ma,tabIndex:0,alt:"Alerts & Notifications Section Icon",id:"alerts-notification-section-icon"})," ",e.alertsWidgetTitle))),n.createElement(b.Ay,{item:!0,lg:12,md:12,sm:12},n.createElement("div",{className:v?t.leftBlockListAuto:t.leftBlockList,id:"alertsList"},null!=w&&w.map((e,a)=>n.createElement(b.Ay,{key:a,container:!0,justifyContent:"space-between",alignItems:"center",className:t.alertStyle,id:`billingAlerts_${a}`},n.createElement(pa,{mainClass:t.alertParagraph,index:a+1,keyPress:t=>function(e,t,a,n){e.preventDefault(),13===e.charCode&&(0,G.fi)(t,a,n)}(t,e,r?r.subscriptionId:"",!0)},n.createElement("a",{id:`billingAlertId_${a}`,"aria-label":`View ${e.displayName} in Search`,className:t.alertBillTitleStyle,onClick:()=>{(0,G.fi)(e,r?r.subscriptionId:"",!0)}},n.createElement("img",{className:t.alertsBillIcon,src:ua,alt:"Billing Alert Icon",id:`alerts-billing-section-icon-${a}`}),n.createElement("span",{className:t.alertBillType},n.createElement("b",null,"Past Due Invoice")," \xa0|\xa0")," ",e.displayName,n.createElement("span",{id:`billingAlertId_Count-${a}`,className:t.alertBillingPayNowButton},"Pay Now"))))),null!=x&&x.map((e,l)=>n.createElement(b.Ay,{key:l,container:!0,justifyContent:"space-between",alignItems:"center",className:t.alertStyle,id:`listingAlerts${l}`},n.createElement(pa,{mainClass:t.alertParagraph,index:l+1,keyPress:t=>function(e,t,a){e.preventDefault(),13===e.charCode&&(0,G.cU)(t,a)}(t,e,r?r.subscriptionId:"")},n.createElement("a",{id:`listingAlertId_${l}`,"aria-label":`View ${e.displayName} in Search`,className:t.alertTitleStyle,onClick:()=>{(0,G.cU)(e,r?r.subscriptionId:"")}},n.createElement("img",{className:t.alertsTypeIcon,src:da,alt:"Listing Alert Icon",id:`alerts-listing-section-icon-${l}`}),n.createElement("span",{className:t.alertTypeStyle},"Listing Notice "),n.createElement("span",{className:t.alertTypeBar}," | ")," ",n.createElement("span",{id:`listingAlertId_Count-${l}`,className:t.alertCount,style:e.isRead?a:i},e.listings.length," "),n.createElement("span",{dangerouslySetInnerHTML:(0,H.R2)(e.listings.length>1?`${e.displayName.replace("Listing","Listings")}`:e.displayName)}),n.createElement("span",{className:t.listingReviewButton},"Review"),"  ")))))),v||(w?w.length:0)+(x?x.length:0)<=7?null:n.createElement("div",{className:t.showAll},n.createElement("a",{onClick:function(){A(!0)},className:t.showAllLink},"Show More")),v&&(w?w.length:0)+(x?x.length:0)>
1=8?n.createElement("div",{className:t.showAll},n.createElement("a",{onClick:function(){A(!1)},className:t.showAllLink},"Show Less")):null))}const ha=a.p+"static/media/market-watch-icon.1211f91f.svg",Ea=a.p+"static/media/hot-sheet-icon.6bc6b73d.svg",ya=a.p+"static/media/Concierge_Icon.929dd389.svg",ba=a.p+"static/media/productivityIcon.f7a2d0f9.svg",fa=a.p+"static/media/teamProductivityIcon.404895f4.svg",va=e=>{const{MarketWatchSpanOptions:t,HotSheetOptions:a,selectedPropertyType:i,selectedTime:r,CategoryCounts:l,emitCustomizeCriteriaUrl:o}=e,[c,s]=(0,n.useState)([]),[m,d]=(0,n.useState)([]),[u,p]=(0,n.useState)(""),[g,h]=(0,n.useState)([]),[E,y]=(0,n.useState)("");(0,n.useEffect)(()=>{y(r.toString()),p(i.toString()),h(l)},[i,r,l]),(0,n.useEffect)(()=>{u&&E&&async function(){try{const e=await(0,Ve.eM)(u,E);if(e&&e.MarketWatch&&e.MarketWatch.CategoryCounts&&e.MarketWatch.CategoryCounts.length){const t=(0,H._N)(e.MarketWatch);h(t.CategoryCounts),o(t.CustomizeCriteriaUrl)}}catch(e){}}()},[u,E]),(0,n.useEffect)(()=>{!function(e){if(e.MarketWatchSpanOptions&&e.MarketWatchSpanOptions.length){const t=e.MarketWatchSpanOptions.map(e=>({value:e.Id,label:e.Name}));s(t)}if(e.HotSheetOptions&&e.HotSheetOptions.length){const t=e.HotSheetOptions.map(e=>({value:e.Id,label:e.Name}));d(t)}}({MarketWatchSpanOptions:t,HotSheetOptions:a})},[t,a]);const f="market-watch";return n.createElement(b.Ay,{id:`${f}-container`,className:"market-watch-list"},n.createElement(b.Ay,{id:`${f}-selector`,container:!0,className:"selectors"},n.createElement(b.Ay,{item:!0,className:"item-type-option"},n.createElement(ra,{id:`${f}-type-options`,value:u,onChange:function(e){p(e.target.value)},className:"type-options",options:m})),n.createElement(b.Ay,{item:!0,className:"item-time-option"},n.createElement(ra,{id:`${f}-time-options`,value:E,onChange:function(e){y(e.target.value)},className:"time-options",options:c}))),n.createElement(b.Ay,{container:!0,direction:"column",id:`${f}-graph-container`,className:"hot-sheet-graph-container"},g&&g.length&&g.map((e,t)=>n.createElement(b.Ay,{key:t,id:`${f}-graph-item-${t}`},n.createElement("a",{href:e.DetailUrl,id:`${f}-graph-item-link-${t}`,className:"hot-sheet-graph-item","aria-label":`${e.Count} ${e.Category}`},n.createElement(b.Ay,{container:!0,justifyContent:"space-between",className:"text-container"},n.createElement(b.Ay,{id:`${f}-category-${t}`,item:!0,className:"category"},e.Category),n.createElement(b.Ay,{id:`${f}-count-${t}`,className:"count"},e.Count)),n.createElement(b.Ay,{container:!0,className:"graph-line"},n.createElement(b.Ay,{id:`${f}-graph-line-${t}`,item:!0,className:"bar",style:e.BarStyle})))))))};function Aa(){const{aggregatedLists:e}=(0,n.useContext)(Ut),{HOVER_LINK_NAME:t}=Qt.so,a=e&&e.Concierge&&e.Concierge.Contacts&&e.Concierge.Contacts.length>0&&e.Concierge.Contacts,i=a&&a.slice(0,10),r=a&&a.length>10,l=`${_t.Ay.matrixApiEndpoint}/${Qt.DS.MATRIX_CONCIERGE}`;return n.createElement(n.Fragment,null,n.createElement("div",{className:"card_container_concierge_wrapper",id:"card_container_concierge_wrapper"},n.createElement("div",{className:"card_container_Wrapper",id:"concierge_id"},i&&i.map((e,a)=>n.createElement("a",{className:"card-list",key:a,id:`link_concierge_id_${a}`,href:e.ApprovalUrl||"","aria-label":`View ${e.UnpublishedCount} ${e.ContactName} in Concierge`},n.createElement(b.Ay,{container:!0,direction:"row",alignItems:"center",justifyContent:"space-between","aria-hidden":"true",id:`link_concierge_id_${a}_content_wrapper`},n.createElement(b.Ay,{item:!0,xs:1,sm:1,className:"count",id:`count_concierge_id_${a}`},e.UnpublishedCount),n.createElement(b.Ay,{item:!0,xs:7,sm:8,className:"info",id:`info_concierge_id_${a}`},e.ContactName),n.createElement(b.Ay,{item:!0,xs:4,sm:3,className:"hover-link",id:`hover-link_concierge_id_${a}`},n.createElement("span",{id:`hover-link_concierge_id_${a}_text`},t))))))),r&&n.createElement("div",{className:"more-link"},n.createElement("a",{id:"moreConciergeLink",href:l,"aria-label":"View More Concierge"},"See All Clients")))}var Na=a(26895);a(27186);function Sa(e){const{progressValue:t,completedPathColor:a,inCompletePathColor:i,textToShow:r,textColor:l}=e;return n.createElement(n.Fragment,null,n.createElement(Na.QF,{value:t,text:"N/A"!==r?` ${r}%`:r,styles:{root:{height:60},path:{stroke:a||"green"},trail:{stroke:i||"#F13C00",strokeLinecap:"butt",transform:"rotate(0.25turn)",transformOrigin:"center center",strokeWidth:3},text:{fill:l||"white",fontFamily:"Acronym-Regular",fontWeight:"normal"}}}))}function wa(e){const{actualFigure:t,targetFigure:a,actualFigureBackgroun
1d:i,targetFigureBackground:r,progressBarColor:l,progressText:o,progressValue:c}=e;return n.createElement("div",{id:"productoverview-datawrap",className:"dataWrap"},n.createElement("div",{className:"actualDivWrap"},n.createElement("div",{className:"labelContainer"},n.createElement("div",{className:"paddBetween"},"ACTUAL"),n.createElement("div",{className:"paddBetween"},"GOAL")),n.createElement("div",{className:"flexCol"},n.createElement("div",{className:`figureWrap ${i}`},t),n.createElement("div",{className:"whiteBorder"}),n.createElement("div",{className:`figureWrap ${r}`},a))),n.createElement("div",{className:"halfFlex"},n.createElement("div",{className:"thirdFlex"},n.createElement(Sa,{completedPathColor:l,inCompletePathColor:"white",textToShow:o,progressValue:c,id:"productoverview-goalprogressbar",textColor:"white"})),n.createElement("div",{className:"rawText"},"Percent Goal Achieved")))}var xa=a(5890),_a=a(22681);function ka(e){const{chartData:t,tokenDetails:a,teamName:i,chartDetailing:r}=e,[l,o]=(0,n.useState)(1);function c(e,t,a,n,i){return e?n?i?`$${JSON.parse(t).toLocaleString()}`:JSON.parse(t).toLocaleString():t:a}function s(e,t){return Math.round(100*e/t)}return n.createElement("div",{className:"mainWrapper",id:"productoverview-wrapper"},n.createElement("div",{className:"userNameContainer",id:"productoverview-userNameContainer"},(()=>{return"Team"===(null===a||void 0===a?void 0:a.ProductivityReports)?n.createElement(_a.A,{title:null!==i&&void 0!==i?i:"",enterDelay:500,leaveDelay:200,placement:"top"},n.createElement("div",{className:"userNameWrapper",id:"productoverview-userNameWrapper"},i)):n.createElement("div",{className:"userNameWrapper",id:"productoverview-userNameWrapper"},`${null===(e=a)||void 0===e?void 0:e.MemberPreferredFirstName} ${null===e||void 0===e?void 0:e.MemberPreferredLastName}`);var e})(),"Team"===(null===a||void 0===a?void 0:a.ProductivityReports)?null:n.createElement("div",{className:"userID",id:"productoverview-userID"},`(${null===a||void 0===a?void 0:a.MemberLoginId})`)),n.createElement("div",{id:"productoverview-tabwrapper",className:"tabWrapper"},n.createElement("div",{onClick:()=>o(1),id:"productoverview-tab1",className:1===l?"tab1 borderLeft highLight":"tab1 borderLeft"},"Closed Sales"),n.createElement("div",{onClick:()=>o(2),id:"productoverview-tab2",className:2===l?"tab1 borderRight highLight":"tab1 borderRight"},"Revenue")),1===l?n.createElement(wa,{actualFigure:c(r&&r.salesData&&r.salesData.reducedFigure,r.salesData.reducedFigure,"N/A",!0),targetFigure:c(t&&t.SalesGoal,t.SalesGoal,"N/A",!0),actualFigureBackground:"redBack",targetFigureBackground:"greyishBack",progressBarColor:Ee,progressText:c(t&&t.SalesGoal,s(r.salesData.reducedFigure,t.SalesGoal),"N/A",!1),progressValue:c(t&&t.SalesGoal,s(r.salesData.reducedFigure,t.SalesGoal),0)}):n.createElement(wa,{actualFigure:c(r&&r.revenueData&&r.revenueData.reducedFigure,`${r.revenueData.reducedFigure}`,"N/A",!0,!0),targetFigure:c(t&&t.RevenueGoal,`${t.RevenueGoal}`,"N/A",!0,!0),actualFigureBackground:"greenishBack",targetFigureBackground:"greyishBack",progressBarColor:"#02c39a",progressText:c(t&&t.RevenueGoal,s(r.revenueData.reducedFigure,t.RevenueGoal),"N/A",!1),progressValue:c(t&&t.RevenueGoal,s(r.revenueData.reducedFigure,t.RevenueGoal),0,!1)}),t&&1===l?n.createElement(xa.A,{chartDetailing:r.salesData?r.salesData:[],chartData:t}):t&&2===l?n.createElement(xa.A,{chartDetailing:r.revenueData?r.revenueData:[],chartData:t}):null)}var Ca=a(74191),Ta=a(89398),Ia=a(47363),La=a(94846),Ba=a(10784),Da=a(47345),Ma=a(39551),Pa=a(59751),Ra=a(65225),Oa=a(42432);const Ua=e=>{const{icon:t,text:a,id:i,buttonAction:r}=e;return t||a?n.createElement(La.A,{id:`${i}-wrapper`},n.createElement(P.A,{id:`${i}-container`,"aria-label":a||"button",className:"dashboard-work-space-icon-container",onClick:r},t?n.createElement(b.Ay,{tabIndex:-1,className:"image-container"},n.createElement("img",{tabIndex:-1,id:`${i}-icon-image`,src:t,alt:`${a}-icon`})):null,a?n.createElement(W.A,{tabIndex:-1,className:"icon-text",id:`${i}-icon-text`},a):null)):null};var Fa=a(92601);const $a=new Set(["ACTIVE","ACTIVEUNDERCONTRACT","PENDING","COMINGSOON"]),Wa=e=>{const t=(a=e)?a.toUpperCase().replaceAll(/[^A-Z]/g,""):"";var a;return $a.has(t)};const Ha=e=>{var t,i;const r=(0,s.Zp)(),{toggleDrawer:l,feedbackCtaText:o="",takeATourCtaText:c="",feedbackIcon:m,takeATourIcon:d,redirectLink:u,redirectLinkText:p,teamByBrightIcon:g}=e,h=`${(null===(t=_t.Ay.matrixApiEndpoint)||void 0===t||null===(i=t.trim())||void 0===i?void 0:i.replace(/\/$/,""))||""}/${Qt.DS.MATRIX_LISTING_ID_SEARCH}
1`,[E,y]=(0,n.useState)(""),[f,v]=(0,n.useState)([]),[A,N]=(0,n.useState)(!1),[S,w]=(0,n.useState)(new Set),[x,_]=(0,n.useState)(new Map),{hasFeature:k}=(0,Rt.d)(),C=k(_t.$v.BCOM_ADDRESS_SEARCH),[T,I]=(0,n.useState)(null),[L,B]=(0,n.useState)(!1),D=(0,n.useRef)(0),M=Ht(),P=Vt();(0,n.useEffect)(()=>{const e=sessionStorage.getItem("officeCoordinates");if(e)try{I(JSON.parse(e))}catch(t){console.error("Error parsing cached office coordinates:",t)}},[]);const R=()=>{w(new Set),_(new Map)},O=(0,n.useCallback)((0,Ge.debounce)(async e=>{if(e.length<3)return v([]),R(),void B(!1);const t=++D.current;N(!0);try{var a;const n=(0,H.Gv)(),i=null===n||void 0===n?void 0:n.OfficeMlsId,r=await async function(e){var t;let a=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;const r=new URLSearchParams({searchText:e,searchLimit:(arguments.length>1&&void 0!==arguments[1]?arguments[1]:5).toString()});void 0!==a&&r.append("locationLat",a.toString()),void 0!==n&&r.append("locationLng",n.toString()),void 0!==i&&r.append("officeMlsId",i);const l=`${null!==(t=_t.Ay.LaSearchBaseUrl)&&void 0!==t?t:""}/la-search?${r.toString()}`,o=await(0,Fa.RS)(l,!1,!1,{method:"get",headers:{"Content-Type":"application/json"},withCredentials:!1}),c=o.items||[];return c.length>0&&(c.forEach(e=>{e.listings&&e.listings.length>1&&e.listings.sort((e,t)=>{var a,n;const i=Wa(null===(a=e.mlsStatus)||void 0===a?void 0:a.displayValue),r=Wa(null===(n=t.mlsStatus)||void 0===n?void 0:n.displayValue);if(i&&!r)return-1;if(!i&&r)return 1;const l=new Date(e.mlsListDate);return new Date(t.mlsListDate).getTime()-l.getTime()})}),c.sort((e,t)=>{const a=e=>!(!e.listings||0===e.listings.length)&&e.listings.some(e=>{var t;return Wa(null===(t=e.mlsStatus)||void 0===t?void 0:t.displayValue)}),n=a(e),i=a(t);if(n&&!i)return-1;if(!n&&i)return 1;const r=e=>e.listings&&0!==e.listings.length?e.listings.reduce((e,t)=>{const a=new Date(t.mlsListDate);return a>e?a:e},new Date(0)):new Date(0),l=r(e);return r(t).getTime()-l.getTime()})),{ResponseStatus:{StatusCode:"0",StatusMessage:"Success"},ResponseString:{apiInfo:o.apiInfo,message:o.message,items:c},...o.officeCoordinates&&{officeCoordinates:o.officeCoordinates}}}(e,15,null===T||void 0===T?void 0:T.lat,null===T||void 0===T?void 0:T.lng,T?void 0:i);if(t!==D.current)return;if(null!==r&&void 0!==r&&r.officeCoordinates&&!T){const e={lat:r.officeCoordinates.latitude,lng:r.officeCoordinates.longitude};sessionStorage.setItem("officeCoordinates",JSON.stringify(e)),I(e)}R(),null!==r&&void 0!==r&&null!==(a=r.ResponseString)&&void 0!==a&&a.items&&r.ResponseString.items.length>0?(v(r.ResponseString.items),B(!0)):(v([]),B(!1))}catch(n){if(t!==D.current)return;console.error("Error searching addresses:",n),v([]),R(),B(!1)}finally{t===D.current&&N(!1)}},600),[T]);(0,n.useEffect)(()=>{C&&O(E)},[E,O,C]);const U=(e,t)=>{if(null!==t&&void 0!==t&&t.listingId){B(!1);const e=`${h}${t.listingId}`;window.location.href=e}else if(null!==t&&void 0!==t&&t.address&&null!==t&&void 0!==t&&t.listings&&1===t.listings.length){B(!1);const e=`${h}${t.listings[0].listingId}`;window.location.href=e}},F=()=>{if(E.trim()){B(!1);const e=E.trim().replace(/\s*,\s*/g,","),t=`${h}${e}`;window.location.href=t}},$=e=>{"Enter"===e.key&&F()},j=f.reduce((e,t,a)=>{const n=((e,t)=>`addr-${t}`)(0,a);if(e.push({...t,type:"address",addressKey:n}),S.has(n)&&t.listings){const a=x.get(n)||10,i=t.listings;if(i.slice(0,a).forEach(a=>{e.push({...a,type:"listing",parentAddressKey:n,address:t.address,city:t.city,state:t.state,zip:t.zip})}),i.length>a){const r=i.length-a,l=Math.min(10,r);e.push({type:"see-more",parentAddressKey:n,address:t.address,city:t.city,state:t.state,remainingCount:r,nextBatchCount:l})}else a>10&&i.length>10&&e.push({type:"show-less",parentAddressKey:n,address:t.address,city:t.city,state:t.state})}return e},[]),z=()=>{Zt(u,r)};return n.createElement("div",{className:"ws_hd",id:"workspace_header"},n.createElement(b.Ay,{container:!0,direction:"row",alignItems:"center",justifyContent:"space-between",id:"workspace_header_container",className:"ws_hd_container"},n.createElement(b.Ay,{item:!0,xs:1,md:1,lg:2,sm:1,id:"workspace_header_container_item_1",className:"ws_hd_title_container"},n.createElement(La.A,{id:"workspace_header_container_item_1_box",className:"ws_hd_title_box"},n.createElement(Ma.A,{fontSize:"small",color:"primary","aria-label":"Workspace",className:"ws_hd_title_icon",id:"workspace_header_container_item_1_box_title_icon"}),n.createElement(W.A,{id:"workspace_header_container_item_1_box_title",className:"ws_hd_title"},_t.j7))),n.createElement(b.Ay,{item:!0,xs:10,sm:6,md:6,lg:4,id:"workspace_header_container_item_2",className:"ws_hd_searchbox_container"},n.createElement(La.A,{id:"workspace_header_container_item_2_box",className:"ws_hd_searchbox_box"},C?n.createElement(Da.A,{id:"workspace_header_address_search",options:j,loading:A,value:null,inputValue:E,onInputChange:(e,t)=>
1{y(t),(!t||t.length<3)&&B(!1)},onChange:U,open:L,onOpen:()=>{j.length>0&&B(!0)},onClose:()=>B(!1),popupIcon:null,filterOptions:e=>e,getOptionKey:e=>"listing"===e.type?`${e.parentAddressKey}-listing-${e.listingId}`:"see-more"===e.type?`${e.parentAddressKey}-see-more`:"show-less"===e.type?`${e.parentAddressKey}-show-less`:e.addressKey||`addr-${e.address}-${e.city}-${e.state}-${e.zip}`,getOptionLabel:e=>"see-more"===e.type||"show-less"===e.type?"":"listing"===e.type?`${e.address} - MLS #: ${e.listingId}`:`${e.address}, ${e.city}, ${e.state} ${e.zip}`,renderInput:e=>n.createElement(Ca.A,Object.assign({},e,{variant:"standard",placeholder:M?"Address or MLS #":"Search by Address or MLS #",onKeyDown:$,InputProps:{...e.InputProps,className:"ws_hd_search_input",disableUnderline:!0,sx:{fontSize:M?"14px":"inherit","& input":{fontSize:M?"14px":"inherit"}},startAdornment:n.createElement(Ta.A,{position:"start",sx:{mr:M?0:1}},n.createElement(Pa.A,{id:"workspace_header_container_item_2_search_icon",className:"ws_hd_search_icon",onClick:F,sx:{cursor:"pointer",fontSize:M?"20px":"24px"}})),endAdornment:n.createElement(n.Fragment,null,A?n.createElement(Ia.A,{color:"inherit",size:M?16:20}):null,e.InputProps.endAdornment)},inputProps:{...e.inputProps,"aria-label":"Search by Address or MLS #"}})),renderOption:(e,t)=>{if("see-more"===t.type)return n.createElement(La.A,Object.assign({component:"li"},e,{onClick:e=>((e,t)=>{t.preventDefault(),t.stopPropagation();const a=x.get(e)||10,n=new Map(x);n.set(e,a+10),_(n)})(t.parentAddressKey,e),sx:{pl:M?2:4,py:M?2:1.5,backgroundColor:"#e3f2fd",cursor:"pointer","&:hover":{backgroundColor:"#bbdefb"},minHeight:M?48:"auto"}}),n.createElement(La.A,{sx:{display:"flex",alignItems:"center",justifyContent:"center"}},n.createElement(W.A,{variant:M?"body1":"body2",color:"primary",sx:{fontWeight:500}},"See ",t.nextBatchCount," more (",t.remainingCount," remaining)")));if("show-less"===t.type)return n.createElement(La.A,Object.assign({component:"li"},e,{onClick:e=>((e,t)=>{t.preventDefault(),t.stopPropagation();const a=new Map(x);a.set(e,10),_(a)})(t.parentAddressKey,e),sx:{pl:M?2:4,py:M?2:1.5,backgroundColor:"#fff3e0",cursor:"pointer","&:hover":{backgroundColor:"#ffe0b2"},minHeight:M?48:"auto"}}),n.createElement(La.A,{sx:{display:"flex",alignItems:"center",justifyContent:"center"}},n.createElement(W.A,{variant:M?"body1":"body2",color:"text.secondary",sx:{fontWeight:500}},"Show less")));if("listing"===t.type){var a,i,r;const l="ACTIVE"===((null===(a=t.mlsStatus)||void 0===a||null===(i=a.displayValue)||void 0===i?void 0:i.toUpperCase().replaceAll(/[^A-Z]/g,""))||"");return n.createElement(La.A,Object.assign({component:"li"},e,{sx:{pl:M?2:4,py:M?1.5:1,backgroundColor:"#f8f9fa",minHeight:M?60:"auto"}}),n.createElement(La.A,{sx:{flexGrow:1}},n.createElement(La.A,{sx:{display:"flex",alignItems:"center",gap:1}},n.createElement(W.A,{variant:M?"body1":"body2",color:"primary",sx:{fontSize:M?"16px":"inherit"}},"MLS #: ",t.listingId),(null===(r=t.mlsStatus)||void 0===r?void 0:r.displayValue)&&n.createElement(Ba.A,{label:t.mlsStatus.displayValue,size:"small",sx:{height:20,fontSize:"11px",fontWeight:500,backgroundColor:l?"#1976d2":"#e0e0e0",color:l?"#fff":"text.secondary","& .MuiChip-label":{px:1}}})),n.createElement(W.A,{variant:M?"body2":"caption",color:"text.secondary",sx:{fontSize:M?"14px":"inherit",display:"block",mt:.5}},t.mlsListDate&&`Listed: ${new Date(t.mlsListDate).toLocaleDateString()}`,t.propertyType&&` \u2022 ${t.propertyType}`,!P&&t.ownerName&&` \u2022 Owner: ${t.ownerName}`)))}{const a=t.listings&&t.listings.length>1,i=!t.listings||0===t.listings.length;return n.createElement(La.A,Object.assign({component:"li"},e,{onClick:n=>{if(i)n.preventDefault(),n.stopPropagation();else if(a)n.preventDefault(),n.stopPropagation(),(e=>{const t=new Set(S),a=new Map(x);t.has(e)?(t.delete(e),a.delete(e)):(t.add(e),a.set(e,10)),w(t),_(a)})(t.addressKey);else{var r;null===(r=e.onClick)||void 0===r||r.call(e,n)}},sx:{py:1,px:M?.75:2,minHeight:"auto",display:"flex",alignItems:"flex-start",gap:M?.5:1}}),!M&&n.createElement(Ra.A,{sx:{mr:1,color:"action.active"}}
1),n.createElement(La.A,{sx:{flexGrow:1,minWidth:0,mr:M?.5:1,overflow:"hidden"}},n.createElement(W.A,{variant:"body1",sx:{fontSize:M?"14px":"inherit",fontWeight:M?500:"inherit",lineHeight:1.3,wordBreak:"break-word",whiteSpace:"normal"}},t.address),n.createElement(W.A,{variant:"body2",color:"text.secondary",sx:{fontSize:M?"12px":"inherit",lineHeight:1.2,wordBreak:"break-word",whiteSpace:"normal"}},t.city,", ",t.state," ",t.zip)),n.createElement(La.A,{sx:{display:"flex",alignItems:"center",flexShrink:0,gap:.5}},n.createElement(Ba.A,{label:t.listings&&t.listings.length>0?`${t.listings.length}`:"0",size:"small",color:t.listings&&t.listings.length>0?"primary":"default",sx:{fontSize:M?"11px":"inherit",height:M?22:"auto","& .MuiChip-label":{px:M?.75:1}}}),a&&n.createElement(La.A,{sx:{fontSize:M?"16px":"14px",fontWeight:"bold",color:"primary.main",display:"flex",alignItems:"center"}},S.has(t.addressKey)?"\u25bc":"\u25b6")))}},noOptionsText:"No addresses found",sx:{width:"100%","& .MuiAutocomplete-listbox":{maxHeight:M?"60vh":"50vh","& .MuiAutocomplete-option":{minHeight:"auto",padding:M?"8px 6px":"8px 16px",alignItems:"flex-start"}},"& .MuiAutocomplete-popper":{zIndex:1300,width:M?"95vw !important":"auto"}}}):(()=>{const e=()=>{if(E.trim()){const e=E.trim().replace(/\s*,\s*/g,","),t=`${h}${e}`;window.location.href=t}};return n.createElement(Ca.A,{id:"workspace_header_mls_search",variant:"standard",placeholder:"Search by MLS #",value:E,onChange:e=>y(e.target.value),onKeyDown:t=>{"Enter"===t.key&&e()},fullWidth:!0,InputProps:{className:"ws_hd_search_input",disableUnderline:!0,startAdornment:n.createElement(Ta.A,{position:"start"},n.createElement(Pa.A,{id:"workspace_header_container_item_2_search_icon",className:"ws_hd_search_icon",onClick:e,sx:{cursor:"pointer"}}))},inputProps:{"aria-label":"Search by MLS #"}})})())),n.createElement(b.Ay,{item:!0,container:!0,alignItems:"center",justifyContent:"flex-end",xs:1,lg:6,sm:5,md:5,id:"workspace_header_container_item_3",className:"ws_hd_weekdays_container"},n.createElement(b.Ay,{container:!0,className:"dashboard-work-space-icon-wrapper"},n.createElement(Ua,{id:"dashboard-workspace-take-a-tour",icon:d,text:c}),n.createElement(Ua,{id:"dashboard-workspace-feedback",icon:m,text:o}),null===p?n.createElement("a",{className:"dashboard_default_research_link",href:Qt.DS.DASHBOARD_DEFAULT_RESEARCH_URL},n.createElement("img",{src:Xt,alt:"lightbulb"}),Qt.so.DASHBOARD_DEFAULT_RESEARCH_LINK_NAME):n.createElement(Ua,{id:"dashboard-workspace-teams-link",icon:g,text:p,buttonAction:z})),n.createElement(La.A,{id:"workspace_header_container_item_3_box_tablet_mobile",className:"ws_hd_newsButton_box",onClick:l},n.createElement(Oa.A,null),n.createElement(Oa.A,null),n.createElement("img",{src:a(88925),alt:"news",className:"ws_hd_newsSection_image"}),n.createElement(W.A,{component:"span",className:"newsButton",id:"newsButtonId"},"News")))))};var ja=a(90705),za=a(18572),Va=a.n(za),Ga=a(17953);const qa=(0,q.A)(()=>({calendarImage:{display:"inline-block",width:"16px",height:"16px",margin:"auto 0",marginLeft:"3px",cursor:"pointer"}})),Ya=a.p+"static/media/calender-date.ef3ef192.svg";function Ka(e){const[t,a]=(0,n.useState)(null),i=qa(),r=t=>{a(t),e.changeDisableStatus(!1),e.setStartDateOnChange(t)},l=e=>n.createElement("div",{className:"form-group"},n.createElement("a",{onClick:e.onClick,href:"#",className:"date-picker-icon"},n.createElement("img",{className:i.calendarImage,src:Ya,alt:"calender_img",onClick:e.onClick})," "),n.createElement("input",{type:"text","aria-label":"date",className:"form-control",onChange:e.onChange,value:e.value,onClick:e.onClick}));return n.createElement(Va(),{selected:t,onChange:r,showPreviousMonths:!0,monthsShown:zt()?1:2,maxDate:new Date,minDate:(0,Ga.e)(new Date,30),showDisabledMonthNavigation:!0,withPortal:!0,fixedHeight:!0,customInput:n.createElement(l,{value:t,onChange:r,onClick:r})})}var Ja=a(73191);const Qa=(0,q.A)(e=>{var t,a,n,i,r,l,o,c,s,m,d,u,p,g,h,E,y,b;return{DialogContainer:{},titleContainer:{fontSize:"14px",display:"flex",flexDirection:"row"},title:{paddingLeft:"10px",color:X},wgtCustomDateInner:{margin:"10px 0",padding:"6px 15px 8px 4px",borderColor:oe,borderRadius:"5px",borderStyle:"solid",borderWidth:"1px",backgroundColor:"#edeef0",width:"370px",[null===(t=e.breakpoints)||void 0===t||null===(a=t.down)||void 0===a?void 0:a.call(t,"xs")]:{width:"100%"}},disablewgtCustom:{pointerEvents:"none",opacity:"0.5",margin:"10px 0",padding:"6px 15px 8px 4px",borderColor:oe,borderRadius:"5px",borderStyle:"solid",borderWidth:"1px",backgroundColor:J,width:"370px",[null===(n=e.breakpoints)||void 0===n||null===(i=n.down)||void 0===i?void 0:i.call(n,"xs")]:{width:"100%"}},firstTable:{margin:".75em 0",tableLayout:"fixed",paddingLeft:"20px",width:"100%",[null===(r=e.breakpoints)||void 0===r||null===(l=r.down)||void 0===l?void 0:l.call(r,"xs")]:{paddingLeft:"10px"}},label:{fontWeight:be,fontSize:ke,color:oe,lineHeight:"24px",[null===(o=e.breakpoints)||void 0===o||null===(c=o.up)||void 0===c?void 0:c.call(o,"lg")]:{fontSize:Te,lineHeight:"24px"}},DeemphasizeText:{color:oe,fontSize:"13px"},dateInputSection:{display:"flex",flexDirection:"row"},timeTextBox:{display:"flex",flexDirection:"row",justifyContent:"space-between","& td":{fontSize:"13px",display:"flex",flexDirection:"column",width:"40%",marginRight:"25px",[null===(s=e.breakpoints)||void 0===s||null===(m=s.down)||void 0===m?void 0:m.call(s,"xs")]:{width:"50%",marginRight:"15px"}}},timeTextLabel:{display:"flex",flexDirection:"row",justifyContent:"space-between","& td":{fontSize:"13px"}},wgtCustomTimeInner:{margin:"10px 0",padding:"6px 15px 8px 4px",borderColor:ie,borderRadius:"5px",borderStyle:"solid",borderWidth:"1px",backgroundColor:"#edeef0",width:"370px",[null===(d=e.breakpoints)||void 0===d||null===(u=d.down)||void 0===u?void 0:u.call(d,"xs")]:{width:"100%"}},dialogRoot:{maxWidth:"591px !important",paddingLeft:"15px",[null===(p=e.breakpoints)||void 0===p||null===(g=p.down)||void 0===g?void 0:g.call(p,"xs")]:{maxWidth:"420px !important"}},timeInput:{height:40,borderRadius:0,fontSize:"12px"},dialogAndBoxWrapper:{display:"flex",flexDirection:"row"},cancelButton:{backgroundColor:J,paddingRight:"10px",fontSize:"13px",color:se,textTransform:"capitalize",textDecoration:"none","&:hover":{cursor:"pointer",backgroundColor:se,color:J}},runButton:{backgroundColor:se,paddingRight:"10px",fontSize:"13px",color:J,textTransform:"capitalize",textDecoration:"none","&:hover":{cursor:"pointer",backgroundColor:J,color:se}},dialogAction:{display:"flex",flexDirection:"row",justifyContent:"flex-start",paddingLeft:"70px",marginBottom:"20px",[null===(h=e.breakpoints)||void 0===h||null===(E=h.down)||void 0===E?void 0:E.
1call(h,"xs")]:{paddingTop:"0"}},imgIcon:{verticalAlign:"text-top",marginRight:"5px"},disableButton:{backgroundColor:se,paddingRight:"10px",fontSize:"13px",background:se,opacity:"0.6",pointerEvents:"none",color:J,textTransform:"capitalize",textDecoration:"none"},radioButton:{alignSelf:"center"},hotImg:{[null===(y=e.breakpoints)||void 0===y||null===(b=y.down)||void 0===b?void 0:b.call(y,"xs")]:{height:"16px"}},labelTextFromTo:{color:X},fromToContainer:{display:"flex",color:X,fontSize:"13px"},fromLabel:{width:"50%"},toLabel:{width:"50%"}}}),Xa=Qa;var Za=a(30262),en=a(41127),tn=a(75601);const an=(0,q.A)(e=>{var t,a,n,i;return{inputDatePicker:{padding:0,height:"40px",width:"150px",marginRight:"10px",[null===(t=e.breakpoints)||void 0===t||null===(a=t.down)||void 0===a?void 0:a.call(t,"xs")]:{height:"40px",width:"125px",fontSize:"12px"},[null===(n=e.breakpoints)||void 0===n||null===(i=n.down)||void 0===i?void 0:i.call(n,376)]:{height:"40px",width:"100%",marginRight:"5px",fontSize:"15px"}}}}),nn=an;var rn=a(97148);function ln(e){const t=nn();return n.createElement(Za.$J,{dateAdapter:tn.h},n.createElement(b.Ay,{container:!0,direction:"row"},n.createElement(en.A,{ampm:!0,label:"From:",value:e.fromTime,onChange:e.onFromTimeChange,slotProps:{textField:{id:"from-time-picker",margin:"normal",variant:"outlined",InputProps:{className:`${t.inputDatePicker} input-date-picker`}},openPickerButton:{"aria-label":"change time"}},slots:{openPickerIcon:rn.A}}),n.createElement(en.A,{ampm:!0,label:"To:",value:e.toTime,onChange:e.onToTimeChange,slotProps:{textField:{id:"to-time-picker",margin:"normal",variant:"outlined",InputProps:{className:`${t.inputDatePicker} input-date-picker`}},openPickerButton:{"aria-label":"change time"}},slots:{openPickerIcon:rn.A}})))}function on(e){const{showDateDialog:t}=e,a=Xa(),[i,r]=n.useState("a"),[l,o]=n.useState(!0),[c,s]=n.useState(null),[m,d]=n.useState(null),[u,p]=n.useState(e.apiUrl),[g,h]=(0,n.useState)(null),[E,y]=n.useState(""),[f,v]=n.useState(""),A=()=>{e.onClickDateDialog(!1)},N=e=>{r(e.target.value),null!=g&&"a"===e.target.value||null!=c&&"b"===e.target.value?o(!1):o(!0)},S=e=>{o(e)};return n.createElement("div",null,n.createElement(R.A,{className:"date-dialog-modal-container",open:t,onClose:A,maxWidth:"xs","aria-labelledby":"form-dialog-title",id:"date_dialog_id"},n.createElement(U.A,{className:`${a.dialogRoot} dialog-root`},n.createElement("div",{className:a.dialogAndBoxWrapper},n.createElement(Ja.A,{checked:"a"===i,className:("a"===i?"selected":"")+" radio-input",onChange:N,value:"a",color:"default",name:"radio-button-date",inputProps:{"aria-label":"A"},style:{alignSelf:"center"}}),n.createElement(b.Ay,{container:!0},n.createElement("div",{className:`${a.titleContainer} title-container`},n.createElement("div",{className:`${a.title} dialog-title`},"Customize Hot Sheet by Time Frame")),n.createElement(b.Ay,{item:!0,className:`${"a"===i?a.wgtCustomDateInner:a.disablewgtCustom} wgtCustomDateInner`,lg:12},n.createElement("table",{className:a.firstTable},n.createElement("tbody",null,n.createElement("tr",null,n.createElement("td",{className:a.label},"Select a date from which to run:")),n.createElement("tr",null,n.createElement("td",{className:a.dateInputSection},n.createElement(Ka,{changeDisableStatus:S,setStartDateOnChange:t=>{if(h(t),null!=t){const a=(0,H.Ie)(t)+"T00:00:00",n=(0,H.Ie)(new Date)+"T23:59:00",i=(0,H.Ay)(a,n,e.apiUrl);p(i)}}}))),n.createElement("tr",null,n.createElement("td",{className:`${a.DeemphasizeText} DeemphasizeText`},"*This date must be no more than 30 days in the past.")))),n.createElement("div",null)))),n.createElement("div",{className:a.dialogAndBoxWrapper},n.createElement(Ja.A,{className:("b"===i?"selected":"")+" radio-input",checked:"b"===i,onChange:N,value:"b",color:"default",name:"radio-button-time",inputProps:{"aria-label":"B"},style:{alignSelf:"center"}}),n.createElement(b.Ay,{container:!0,className:a.DialogContainer},n.createElement(b.Ay,{item:!0,className:`${"b"===i?a.wgtCustomTimeInner:a.disablewgtCustom} wgtCustomDateInner`,lg:12},n.createElement("table",{className:a.firstTable},n.createElement("tbody",null,n.createElement("tr",null,n.createElement("td",{className:a.label},"Or select a time range (for today):")),n.createElement("tr",{className:`${a.timeTextBox} time-text-box`},n.createElement(ln,{fromTime:c,onFromTimeChange:e=>{null!==e&&(s(e),v((0,H.H0)((0,H.Dn)(e))),S(!1))},toTime:m,onToTimeChange:e=>{null!==e&&(d(e),y((0,H.H0)((0,H.Dn)(e))))}})),n.createElement("tr",null,n.createElement("td",{className:`${a.DeemphasizeText} DeemphasizeText`},"*You may leave the \u201cTo\u201d field blank.")))),n.createElement("div",null))))),n.createElement(ja.A,{className:a.dialogAction},n.createElement(P.A,{className:`${l?a.disableButton:a.runButton} action-button`,onClick:()=>{e.onClickDateDialog(!1),l||("b"===i?window.location.href=""!=E?(0,H.Ay)(f,E,e.apiUrl):(0,H.Ay)(f,(0,H.Ie)(new Date)+"T23:59:00",e.apiUrl):"a"===i&&(window.location.href=u))},tabIndex:0},"Run"),n.createElement(P.A,{className:`${a.cancelButton} action-button`,onClick:A,tabIndex:0},"Cancel"))))}const cn=e=>{const{selectedTime:t,HotSheetOptions:a,hotSheetsWidgetSummary:i,HotSheets:r}
1=e,[l,o]=(0,n.useState)(""),[c,s]=(0,n.useState)(""),[m,d]=(0,n.useState)(""),[u,p]=(0,n.useState)([]),[g,h]=n.useState(!1),[E,y]=n.useState("");function f(e){o(e.target.value)}function v(e){l===_t.xV&&(y(e),h(!0))}(0,n.useEffect)(()=>{if(a&&a.length){const e=a.map(e=>({value:e.Id,label:e.Name}));p(e)}o(t);const e=i.split("##count##");e&&2===e.length&&(s(e[0]),d(e[1]))},[]);const A=e=>n.createElement(b.Ay,{id:"hot_sheet_list_selector_container_id",container:!0,className:"selectors"},n.createElement(b.Ay,{id:"hot_sheet_list_time_option_id",item:!0,className:"item-time-option"},n.createElement(ra,{id:"hot-sheet-time-options",value:e.time,onChange:e.onChangeTime,className:"time-options",options:e.timeOptions}))),N=e=>n.createElement(b.Ay,{id:"hot_sheet_list_summary_id",className:"summary-text",container:!0},e.HotSheets&&e.HotSheets.length?n.createElement(n.Fragment,null,n.createElement(b.Ay,{item:!0},n.createElement("h2",{id:"hot_sheet_left_summary_id"},e.summaryPartOne)),n.createElement(b.Ay,{item:!0,className:"count-container"},n.createElement("h2",{className:"count",id:"hot_sheet_count_id"},e.HotSheets.length)),n.createElement(b.Ay,{item:!0},n.createElement("h2",{id:"hot_sheet_right_summary_id"},e.summaryPartTwo))):n.createElement(b.Ay,{item:!0},n.createElement("h2",{id:"hot_sheet_message_id"},e.NO_HOT_SHEET_LIST_MESSAGE)));function S(e,t){return n.createElement(n.Fragment,null,n.createElement(b.Ay,{className:"left",item:!0},n.createElement(b.Ay,{id:`hot_sheet_list_icon_${t}`,className:"icon-container"},n.createElement("div",{className:"image"})),n.createElement(b.Ay,{id:`hot_sheet_list_text_${t}`,className:"text"},e.Name)),n.createElement(b.Ay,{id:`hot_sheet_list_view_${t}`,className:"view-link",item:!0},n.createElement(b.Ay,{id:`hot_sheet_list_text_view_${t}`,className:"button"},"View")))}return n.createElement(b.Ay,{id:"hot_sheet_list_container_id",className:"hot-sheet-list-container"},g&&n.createElement(on,{showDateDialog:!0,onClickDateDialog:e=>{h(e)},apiUrl:E}),qt()?n.createElement(A,{time:l,onChangeTime:f,timeOptions:u}):n.createElement(N,{HotSheets:r,summaryPartTwo:m,summaryPartOne:c,NO_HOT_SHEET_LIST_MESSAGE:Qt.VV}),qt()?n.createElement(N,{HotSheets:r,summaryPartTwo:m,summaryPartOne:c,NO_HOT_SHEET_LIST_MESSAGE:Qt.VV}):n.createElement(A,{time:l,onChangeTime:f,timeOptions:u}),n.createElement(b.Ay,{id:"hot_sheet_list_id",className:"list-container"},r&&r.length?r.map((e,t)=>l===_t.xV?n.createElement(b.Ay,{role:"link",tabIndex:0,"aria-label":e.Name,onClick:()=>v(e.UrlBySpanId[Number(l)]),id:`hot_sheet_list_item_${t}`,onKeyDown:t=>function(e,t){13===t.keyCode&&v(e)}(e.UrlBySpanId[Number(l)],t),key:t,className:"list-item",container:!0},S(e,t)):n.createElement("a",{href:e.UrlBySpanId[Number(l)],"aria-label":e.Name,id:`hot_sheet_list_item_${t}`,key:t,className:"list-item"},S(e,t))):null))};function sn(e){const{componentID:t,headline:a,hoverText:i}=e,r=t+"_text";return n.createElement(b.Ay,{container:!0,alignItems:"center",justifyContent:"flex-start","aria-hidden":"true",className:"KnowledgeCard__text",id:r},n.createElement(b.Ay,{item:!0,container:!0,alignItems:"center",justifyContent:"flex-start",xs:9,id:r+"_leftItem"},a?n.createElement(W.A,{align:"left",component:"div",className:"heading knowledgeCard_headingText",id:r+"_rightItem_heading"},a):""),n.createElement(b.Ay,{item:!0,container:!0,alignItems:"center",justifyContent:"flex-end",xs:3,id:r+"_rightItem"},i?n.createElement(W.A,{align:"right",component:"div",className:"link knowledgeCard_viewText",id:r+"_rightItem_viewText"},i):""))}const mn=e=>{const{componentID:t,data:a}=e,i=t+"_knowledgeCards",r="kc_knowledgeCards";return t?n.createElement("div",{className:`${r}`,id:i},n.createElement(b.Ay,{container:!0,className:r+"_container",alignItems:"flex-start",justifyContent:"flex-start",id:i+"_lists_container"},a&&a.length>0?a.map((e,t)=>e.headline?n.createElement(b.Ay,{className:r+"_container_item",item:!0,xs:12,key:t,id:i+"_list_"+t},e.openUrlInANewWindow?n.createElement("a",{href:e.url?e.url:"#",className:"knowledgeCards__link",target:"_blank",rel:"noopener noreferrer","aria-label":e.headline,id:i+"_list_"+t+"_link"},n.createElement(sn,{componentID:i+"_list_"+t,headline:e.headline,hoverText:_t.Im})):n.createElement(m.N_,{to:e.url?e.url:"#",className:"knowledgeCards__link","aria-label":e.headline,id:i+"_list_"+t+"_link"},n.createElement(sn,{componentID:i+"_list_"+t,headline:e.headline,hoverText:_t.Im}))):null):null)):null};var dn=a(32375);function un(e){const{children:t,isOpen:a,toggleDrawer:i}=e;return n.createElement(n.Fragment,null,n.createElement(dn.Ay,{anchor:"right",open:a,onClose:i,className:"drawerSectionWrapper"},n.createElement("div",{className:"closeIconDrawer",id:"closeIconDrawerId",onClick:i},n.createElement($.A,{fontSize:"large"})),t))}var pn=a(19529),gn=a(69344);function hn(e){const{urgentMessage:t,articleData:a,readMore:i}=e,{articleNewsId:r,articleSummary:l,title:o}=a;return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),a?n.createElement(b.Ay,{className:"marComDiv "+(t?"orangeSection":"blueSection"),id:"marComCardId"},n.createElement(m.N_,{to:`/article/${r}`,className:"anchorMarCom",id:"anchorMarComId","aria-label":o||""},n.createElement(W.A,{className:"heading marComCardHeading",component:"div",id:"headingMarcomId"},o||""),n.createElement("div",{className:"arrowLink"},n.createElement(gn.A,null))),n.createElement(W.A,{id:"marComCardDescrptionId",className:"description marComCardDescrption "+(i?"readMore":""),component:"p",dangerouslySetInnerHTML:l?(0,H.R2)(l):(0,H.R2)("<p></p>")}),i&&r?n.createElement(m.N_,{to:`/article/${r}`,id:"anchorMarComReadId",className:"anchorMarComRead-"+(t?"urgentColor":"marComColor"),target:"_blank"},n.createElement(W.A,{id:"marComCardReadMoreId",className:"readMore marComCardReadMore",component:"span","aria-label":"Read More"},i),n.createElement("div",{className:"arrowLinkMore-"+(t?"urgentColor":"marComColor")},n.createElement(gn.A,null))):n.createElement("div",{className:"emptyReadMore"})):null)}var En=a(61789),yn=a(27880);const bn=e=>{const{componentID:t,title:a,imageUrl:i,articleURL:r,calender:l,isCalender:
1o}=e,c=t+"_NewsCard";return a&&t?n.createElement(m.N_,{to:r,className:"newsCard",id:c,"aria-label":a},n.createElement(b.Ay,{container:!0,alignItems:"center",id:c+"_container","aria-hidden":"true"},n.createElement(b.Ay,{item:!0,container:!0,alignItems:"center",justifyContent:"flex-start",className:"newsCard_image_container",id:c+"_image_container"},o&&l?n.createElement(b.Ay,{item:!0,className:"boxStyle"},n.createElement("span",{className:"dateBox",dangerouslySetInnerHTML:(0,H.R2)(`${(0,H.MG)(l)}<br>${(0,H.pp)(l)}`)})):i&&n.createElement("img",{id:c+"_image",className:"newsCard_image",src:`${i}?w=180&h=150&fit=thumb`,width:"60px",alt:a})),n.createElement(b.Ay,{item:!0,container:!0,direction:"column",justifyContent:"flex-start",className:"newsCard_heading_container",id:c+"_heading_container"},n.createElement(W.A,{component:"h3",id:c+"_heading",className:"heading newsCard_heading"},a)))):null},fn=e=>{const{componentID:t,data:i,msg:r}=e,l=t+"_BrightNews";return n.createElement("div",{id:l,className:l},i&&Object(i).length>0?Object.values(i).map((e,t)=>n.createElement(bn,{componentID:l+t,key:t,title:e.title,isCalender:!1,imageUrl:e.articleImage&&""!==e.articleImage?e.articleImage:a(58480),articleURL:`${_t.T2}/${e.articleNewsId?e.articleNewsId:""}`})):n.createElement("div",{className:"no_data_msg_container",id:l+"_no_data_msg_container"},n.createElement(W.A,{className:"p no_data_msg",id:l+"_no_data_msg"},r||"")),n.createElement(m.N_,{to:_t.So.BRIGHT_NEWS.VIEW_ALL_URL,className:"newsLinkButton",id:l+"_viewAll_container"},_t.So.BRIGHT_NEWS.VIEW_MORE))};var vn=a(392),An=a(93829),Nn=a(10151),Sn=a(78876),wn=a(30155);const xn=function(e){const{panelId:t,title:a,linkTitle:i,description:r,customDescription:l,isExpanded:o,id:c,checkExpanded:s,index:m,expandIcon:d,collapseIcon:u}=e;return n.createElement(n.Fragment,null,n.createElement(vn.A,{className:"accordion_list_item",expanded:o},n.createElement(An.A,{"aria-controls":`${c}_${t}-content`,id:`${c}_${t}-header`,className:"accordion_list_item_summary"},n.createElement("div",{className:"accordion_list_item_summary_container"},n.createElement("div",{className:"accordion_list_item_summary_heading_container"},a?n.createElement(W.A,{component:"p",id:c+"_"+t+"_header",className:"heading accordion_list_item_summary_heading",onClick:e=>{e.stopPropagation(),e.preventDefault()}},a):null,i||null),n.createElement("div",{className:"accordion_list_item_summary_icon_container"},n.createElement("button",{id:c+"_"+t+"_icon_btn","aria-label":o?"Collapse":"Expand",onClick:e=>s(e,o,m)},n.createElement("span",{className:"addIcon"},d||n.createElement(Sn.A,null)),n.createElement("span",{className:"removeIcon"},u||n.createElement(wn.A,null)))))),n.createElement(Nn.A,{className:"accordion_list_item_details"},r?n.createElement(W.A,{className:"description accordion_list_item_details_description",id:c+"_"+t+"_description",dangerouslySetInnerHTML:(0,H.R2)(r)}):null,l||null)))};var _n=a(4780);const kn=e=>{const{componentID:t,title:a}=e,i=t+"_NewsCard";return a&&t?n.createElement(n.Fragment,null,n.createElement("a",{href:"https://bright.remine.com",className:"newsCard",id:i,"aria-label":a,target:"_blank",rel:"noopener noreferrer"},n.createElement(b.Ay,{container:!0,alignItems:"center",id:i+"_container","aria-hidden":"true"},n.createElement(b.Ay,{item:!0,xs:3,container:!0,alignItems:"center",justifyContent:"flex-start",className:"newsCard_image_container",id:i+"_image_container"},n.createElement(b.Ay,{item:!0,className:"boxStyle",style:{display:"grid",placeItems:"center",color:"#4F5A65",minHeight:"64px"}},n.createElement(_n.A,{fontSize:"large",id:i+"_image",className:"RemineLinkCard_image"}))),n.createElement(b.Ay,{item:!0,xs:9,container:!0,alignItems:"center",justifyContent:"flex-start",className:"newsCard_heading_container",id:i+"_heading_container"},n.createElement(W.A,{component:"h3",id:i+"_heading",className:"heading newsCard_heading"},a))))):null};var Cn=a(56310),Tn=a(10254);const In=function(e){const{componentID:t,data:a,newsCount:i}=e,r=t+"_list",l=a?Object.values(a).length:0,o=[],c=_t.Ec;let s=_t.So.ASSOCIATION_NEWS.VIEW_ALL_URL;if(a&&null!=a)for(let n=0;n<a.length;n++)o[n]=!0;const[d,u]=n.useState(o);function p(e,t,a){e.preventDefault(),e.stopPropagation(),function(e,t){if(d)for(let n=0;n<d.length;n++)(!1===t||n===t)&&(d[n]=e);const a=[...d];u(a)}(!t,a)}const g=e=>c.includes(e.toLowerCase()),h=(e,t)=>g(e)?n.createElement(kn,{componentID:t+"_remineLink",title:"Remine Docs+Access"}):null,E=(e,t)=>0!==e||g(t)?"":"isZero",y=e=>e.eventDate?e.eventDate:e.startDate?e.startDate:"";return n.createElement(n.Fragment,null,a&&l>0?n.createElement(n.Fragment,null,Object.values(a).map((e,t)=>{s=`${s}${0!==t?",":""}${e.code}`;const a=r+"_"+t;return e.name&&""!==e.name?n.createElement("div",{key:t,id:a,className:E(e.count,e.code)},0===t&&e.canManageNews?n.createElement(n.Fragment,null,n.createElement(m.N_,{to:_t.So.ASSOCIATION_NEWS.ADD_NEW+e.code,className:"add_new",id:a+"_add_new"},_t.So.ASSOCIATION_NEWS.ADD_NEW_TXT),n.createElement("hr",{className:"seperater",id:a+"_linkseperater"})):null,0!==t?n.createElement("hr",{className:"seperater",id:a+"_seperater"}):null,n.createElement(xn,{panelId:"p_"+t,linkTitle:n.createElement(n.Fragment,null,n.createElement(m.N_,{to:`${_t.IA}${e.code}`,id:a+"_title"},n.createElement("span",{className:"name"},e.name?e.name:""),(i=e.code,l=Number(e.count),l||0===l?n.createElement("span",{className:"bubble"},g(i)?l+1:l):null))),customDescription:n.createElement(n.Fragment,null,h(e.code,a),e.news&&Object.values(e.news).length>0?Object.values(e.news).map((e,t)=>n.createElement(bn,{componentID:a+"_"+t,articleURL:`${_t.So.ASSOCIATION_NEWS.NEWS_URL}${e.newsId}`,calender:y(e),isCalender:!0,title:e.title?e.title:null,key:t})):null),expandIcon:n.createElement(Cn.A,null),collapseIcon:n.createElement(Tn.A,null),isExpanded:d[t],id:a,checkExpanded:p,index:t})):null;var i,l}),i&&i>0?n.createElement(n.Fragment,null,n.createElement("hr",{className:"seperater",id:r+"_viewall_seperater"}),n.createElement(m.N_,{to:s,className:"newsLink",id:r+"_view_all"},_t.So.ASSOCIATION_NEWS.VIEW_ALL)):null):null)},Ln=e=>{const{componentID:t,data:a,msg:i,newsCount:r}=e,l=t+"_associations";return n.createElement("div",{id:l,className:`associations_news ${l}`},a&&Object(a).length>0?n.createElement(n.Fragment,null,n.createElement(In,{componentID:l,newsCount:r,data:a})):n.createElement("div",{className:"no_data_msg_container",id:l+"_no_data_msg_container"},n.createElement(W.A,{className:"p no_data_msg",id:l+"_no_data_msg"},i||"")))};function Bn(e){const{data:t,msg:a}=e;return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),t&&t[0]&&t[0].canManageNews?n.createElement(m.N_,{to:_t.So.OFFICE_MANAGE_NEWS,className:"add_news_office_div"},n.createElement(W.A,{className:"add_news_office",id:"addOfficeNewsId"},"+ Add Office News")):null,t&&t[0]&&t[0].news&&t[0].news.length>0?t[0].news.map((e,t)=>n.createElement(bn,{componentID:"officeNews_BrightNews"+t,key:t,title:e.title,calender:e.startDate,isCalender:!0,articleURL:`/officenews/${e.newsId}`})):n.createElement(n.Fragment,null,n.createElement("div",{className:"no_data_msg_container",id:"officenewsMsgContainerId"},n.createElement(W.A,{className:"p no_data_msg",id:"officenewsMsgContainerTypographyId"},a||""))),t&&t[0]&&t[0].news&&t[0].news.length>0?n.createElement(m.N_,{to:_t.So.OFFICE_NEWS.VIEW_ALL_URL,className:"newsLink",id:"officeNewsAll-LinkId"},_t.So.OFFICE_NEWS.VIEW_ALL):null)}function Dn(e){const{children:t,componentID:a,value:i,index:r}=e,l=a+"_panel";return n.createElement("div",{className:"bmls_tabPanel",role:"tabpanel",hidden:i!==r,id:`${l}_${r}`,"aria-labelledby":`${a}_tab_${r}`},i===r&&t)}function Mn(e,t){return{id:`${t+"_tab"}_${e}`,"aria-controls":`${t}_panel_${e}`}}const Pn=e=>{const{componentID:t,headline:a,brightNews:i,associationsNews:r,officeNews:l,officeMsg:o,brightMsg:c,associationMsg:s,selectBrightNews:m}=e,d=t+"_news",[u,p]=n.useState(0),g=e=>{if("Office"===e){const e=l&&l[0]&&l[0].count;return e||0}if("Association"===e){return r&&Object.values(r).length>0?Object.values(r).reduce((e,t)=>
1e+t.count,0):null}return 0};return(0,n.useEffect)(()=>{m||(g("Office")>0?p(1):g("Association")>0&&p(2))},[i,r,l,m]),n.createElement(n.Fragment,null,n.createElement("div",{id:d,className:`dashboard_news ${d}`},a&&n.createElement(W.A,{component:"h2",className:"heading newsHeading",id:d+"_heading"},a),n.createElement("div",{className:"bmls_tabs_and_panels",id:d+"_tabs_and_panels"},n.createElement("div",{className:"bmls_tabs_container",id:d+"_tabs_container"},n.createElement(En.A,{id:d+"_tabs_wrapper",className:"bmls_tabs",variant:"fullWidth",value:u,onChange:(e,t)=>{p(t)},"aria-label":a||_t.So.NAME},_t.So.NEWS_TYPE.length>0&&_t.So.NEWS_TYPE.map((e,t)=>n.createElement(yn.A,Object.assign({key:t,label:n.createElement(n.Fragment,null,n.createElement("span",null,e),g(e)>0?n.createElement("span",{className:"bmls_tab_bubble"},g(e)):null)},Mn(t,d),{"data-name":e,className:"bmls_tab"}))))),n.createElement("div",{className:"bmls_tabPanels_container",id:d+"_news_tab_panels"},n.createElement(Dn,{value:u,index:0,componentID:d},n.createElement(fn,{componentID:d+"_panel_0",data:i,msg:c})),n.createElement(Dn,{value:u,index:1,componentID:d},n.createElement(Bn,{data:l,msg:o})),n.createElement(Dn,{value:u,index:2,componentID:d},n.createElement(Ln,{componentID:d+"_panel_2",data:r,newsCount:g(_t.So.ASSOCIATION_NEWS.TYPE),msg:s}))))))};var Rn=a(95497),On=a(77444);const Un=(0,q.A)({root:e=>({fontStyle:"normal",textDecoration:"none",letterSpacing:"inherit",border:"2px solid",padding:"2px 15px 3px",margin:0,borderRadius:"53px",textAlign:e&&e.textAlign?e.textAlign:"center"})}),Fn=e=>{const t=Un(e),{componentID:a,label:i,displayLabel:r,url:l,target:o,linkClass:c,icon:s}=e,d=a+"_Link",u=l||_t.RB;return n.createElement(n.Fragment,null,i?(0,H.i9)(u)?n.createElement(On.A,{id:d,className:`${c||""} link ${t.root}`,"aria-label":i,href:u,target:o||"_blank",rel:"noopener noreferrer"},s||null,n.createElement(W.A,{className:"linkText",component:"span","aria-hidden":"true"},r||i)):n.createElement(m.N_,{id:d,className:`${c||""} link ${t.root}`,"aria-label":i,to:u},s||null,n.createElement(W.A,{className:"linkText",component:"span","aria-hidden":"true"},r||i)):null)},$n=(0,q.A)(()=>({root:{width:"100%",maxWidth:"100%"},ofHeadline:{marginTop:9,fontStyle:"normal",letterSpacing:"0.3px",lineHeight:"24px",paddingBottom:4},ofToolTip:{marginTop:"-4px",fontSize:14,lineHeight:"1.3",background:"#4f5a65",padding:"8px"},ofDivider:{width:"100%",margin:"6px 0px"},ofProducts:{paddingBottom:15},ofProduct:{padding:0},ofProductBox:{width:"100%",padding:"13px 20px 13px 13px"},ofTitle:{fontStyle:"normal",lineHeight:"16px",paddingBottom:4},ofSummary:{fontStyle:"normal",marginTop:6,lineHeight:"18px",paddingBottom:1},ofLinkBox:{marginTop:8}})),Wn=e=>{const[t,a]=n.useState(!0),i=$n(),{componentID:r,headline:l,products:o}=e,c=o&&Object.keys(o).length,s=r+"_sp",m=()=>{const e=document.getElementById(s+"_headline_txt"),t=document.getElementById(s+"_headline");if(e&&t){const n=e.clientWidth>=t.clientWidth;a(!n)}};return n.useEffect(()=>(m(),window.addEventListener("resize",m),()=>{window.removeEventListener("resize",m)}),[]),o&&c&&c>0?n.createElement(La.A,{component:"div",className:`${i.root} dashboard_suggestedProduct`,id:s},n.createElement(Rn.A,{id:s+"_topDivider",className:`${i.ofDivider} divider`}),l?n.createElement(_a.A,{title:l,disableHoverListener:t,classes:{tooltip:i.ofToolTip}},n.createElement(W.A,{id:s+"_headline",className:`${i.ofHeadline} headline`,component:"h2","data-tooltip":!t,"aria-label":l},n.createElement(W.A,{id:s+"_headline_txt",className:"headline_txt",component:"span","data-tooltip":!t,"aria-hidden":"true"},l))):null,n.createElement(b.Ay,{id:s+"_products",className:`${i.ofProducts} products`,container:!0,alignItems:"flex-start",justifyContent:"flex-start"},o.map((e,t)=>{const a=t+1,r=s+"_prd_"+a;return e.title&&""!==e.title?n.createElement(b.Ay,{key:`product ${t}`,id:r,className:`${i.ofProduct} product product_${a}`,item:!0,container:!0,alignItems:"center",justifyContent:"flex-start"},1!==a?n.createElement(Rn.A,{id:r+"_topDivider",className:`${i.ofDivider} divider`}):null,n.createElement(La.A,{className:`${i.ofProductBox} productBox`},n.createElement(W.A,{id:r+"_title",className:`${i.ofTitle} title`,component:"h2"},e.title),e.summary?n.createElement(W.A,{id:r+"_summary",className:`${i.ofSummary} summary`,component:"p",dangerouslySetInnerHTML:(0,H.R2)(e.summary)}):null,n.createElement(La.A,{component:"div",id:r+"_link",className:`${i.ofLinkBox} linkBox`},n.createElement(Fn,{componentID:r,label:`Try ${e.title}`,url:e.uniqueId,linkClass:"primaryButton"})))):null}))):null},Hn=e=>{const{componentID:t,title:a,imageUrl:i,articleURL:r,author:l}=e,o=t+"_NewsCard";return a&&t?n.createElement("a",{href:r,className:"newsCard",id:o,"aria-label":a,title:a,target:"_blank",rel:"noreferrer"},n.createElement(b.Ay,{container:!0,alignItems:"center",id:o+"_container","aria-hidden":"true"},n.createElement(b.Ay,{item:!0,container:!0,alignItems:"center",justifyContent:"flex-start",className:"newsCard_image_container",id:o+"_image_container"},i&&n.createElement("img",{id:o+"_image",className:"newsCard_image",src:`${i}?w=180&h=150&fit=thumb`,width:"90px",height:"65px",alt:a})),n.createElement(b.Ay,{item:!0,container:!0,direction:"column",justifyContent:"flex-start",className:"newsCard_heading_container",id:o+"_heading_container"},n.createElement(W.A,{dangerouslySetInnerHTML:(0,H.R2)(a),component:"h3",id:o+"_heading",className:"heading newsCard_heading"}),l&&n.createElement(W.A,{component:"p",id:o+"_author",className:"authorName"},"By ",l)))):null},jn=e=>{const{componentID:t,data:i,msg:r,showViewAll:l=!0}=e,o=t+"_RISNews";return n.createElement("div",{id:o,className:o},i&&i.length>0?i.map((e,t)=>((e,t)=>n.createElement(Hn,{componentID:o+t,key:t,title:e.title,imageUrl:e.thumbnailLink&&""!==e.thumbnailLink?e.thumbnailLink:a(58480),articleURL:e.url?e.url:"",author:e.author}))(e,t)):n.createElement("div",{className:"no_data_msg_container",id:o+"_no_data_msg_container"},n.createElement(W.A,{className:"p no_data_msg",id:o+"_no_data_msg"},r||"")),l&&n.createElement("a",{href:_t.gQ.RIS_NEWS.VIEW_ALL_URL,className:"newsLink",id:o+"_viewAll_container",target:"_blank",rel:"noreferrer"},_t.gQ.RIS_NEWS.VIEW_ALL))},zn=e=>{const{componentID:t,data:a,msg:i}=e,r=t+"_realEstateNews";return n.createElement("div",{id:r,className:r},n.createElement("a",{href:_t.UT.REAL_ESTATE_NEWS.SIGNUP_URL,className:"industryNews_signup",id:r+"_signup",target:"_blank",rel:"noreferrer"},_t.UT.REAL_ESTATE_NEWS.SIGNUP_TEXT),n.createElement("div",{className:"industryNews_scroll"},n.createElement(jn,{componentID:r,data:a,msg:i,showViewAll:!1})),n.createElement("a",{href:_t.UT.REAL_ESTATE_NEWS.VIEW_ALL_URL,className:"newsLink",id:r+"_viewAll",target:"_blank",rel:"noreferrer"},_t.UT.REAL_ESTATE_NEWS.VIEW_ALL))},Vn=e=>{const{componentID:t,risNews:a,risEvents:i,risReports:r,realEstateNews:l}
1=e,o=t,c=_t.UT.HEADLINE,[s,m]=n.useState(0),d=(u=[...null!==a&&void 0!==a?a:[],...null!==i&&void 0!==i?i:[],...null!==r&&void 0!==r?r:[]],[...u].sort((e,t)=>{const a=Date.parse(e.publishDate||e.eventDate||""),n=Date.parse(t.publishDate||t.eventDate||"");return(Number.isNaN(n)?0:n)-(Number.isNaN(a)?0:a)})).slice(0,_t.UT.ITEM_LIMIT);var u;const p=(null!==l&&void 0!==l?l:[]).slice(0,_t.UT.ITEM_LIMIT);return n.createElement("div",{id:o,className:`dashboard_news ${o}`},n.createElement(W.A,{component:"h2",className:"heading newsHeading",id:o+"_heading"},c),n.createElement("div",{className:"bmls_tabs_and_panels",id:o+"_tabs_and_panels"},n.createElement("div",{className:"bmls_tabs_container",id:o+"_tabs_container"},n.createElement(En.A,{id:o+"_tabs_wrapper",className:"bmls_tabs",variant:"fullWidth",value:s,onChange:(e,t)=>{m(t)},"aria-label":c},_t.UT.NEWS_TYPE.map((e,t)=>n.createElement(yn.A,Object.assign({key:e,label:n.createElement("span",null,e)},Mn(t,o),{"data-name":e,className:"bmls_tab"}))))),n.createElement("div",{className:"bmls_tabPanels_container",id:o+"_news_tab_panels"},n.createElement(Dn,{value:s,index:0,componentID:o},n.createElement(n.Fragment,null,n.createElement("div",{className:"industryNews_scroll"},n.createElement(jn,{componentID:o+"_panel_0",data:d,msg:_t.UT.RIS_MEDIA.NO_NEWS_MSG,showViewAll:!1})),n.createElement("a",{href:_t.UT.RIS_MEDIA.VIEW_ALL_URL,className:"newsLink",id:o+"_panel_0_viewAll",target:"_blank",rel:"noreferrer"},_t.UT.RIS_MEDIA.VIEW_ALL))),n.createElement(Dn,{value:s,index:1,componentID:o},n.createElement(zn,{componentID:o+"_panel_1",data:p,msg:_t.UT.REAL_ESTATE_NEWS.NO_NEWS_MSG})))))},Gn=e=>{const{componentID:t,isOpen:a,toggleDrawer:i,rightSectionProps:r,associcationsNews:l,officeNews:o,risNews:c,risEvents:s,risReports:m,realEstateNews:d}=e,{selectBrightNews:u,shouldFeaturedArticleRenderAsUrgentPost:p,featuredArticle:g,newsHeadlinesTitle:h,brightNews:E,featuredArticleCtaTitle:y,noOfficeNewsMessage:f,noBrightNewsMessage:v,noAssociationMessage:A,suggestedProductsTitle:N,suggestedProducts:S}=r,w=t+"_rgt",x=()=>n.createElement(b.Ay,null,g?n.createElement(hn,{urgentMessage:p,articleData:g,readMore:y}):null,n.createElement(Pn,{componentID:w,headline:h,brightNews:E,officeNews:o,associationsNews:l,officeMsg:f,brightMsg:v,associationMsg:A,selectBrightNews:u}),n.createElement(Vn,{componentID:"IndustryNews_container",risNews:c,risEvents:s,risReports:m,realEstateNews:d}),S&&Object.keys(S).length>0?n.createElement(Wn,{componentID:w,headline:N||"",products:S}):null);return qt()?n.createElement(n.Fragment,null,x()):n.createElement(un,{isOpen:a,toggleDrawer:i},x())};var qn=a(45077),Yn=a(64611);const Kn=e=>{const{moduleID:t,links:a}=e,i=t+"_ql",r=a&&a.length>0;return a&&r?n.createElement("div",{className:"ws_hd_ql",id:i},n.createElement("div",{className:"typography",id:i+"_typography"},n.createElement("ul",{id:i+"_ul"},n.createElement("li",{id:i+"_li_0","aria-hidden":"true"},n.createElement("div",{className:"bookmark notation",id:i+"_li_0_notation","aria-hidden":"true"},n.createElement(qn.A,{color:"primary","aria-hidden":"true"}))),a.slice(0,5).map((e,t)=>{const a=i+"_li_"+(t+1),r=e.link?e.link:"",l=e.openUrlInANewWindow?"_blank":"_self";return e.title?n.createElement("li",{key:t,id:a},n.createElement(On.A,{id:a+"_link",className:"bookmark fontSize_link_bookmark","aria-label":e.title,href:r,target:l},n.createElement(Yn.A,{color:"error","aria-hidden":"true"}),n.createElement(W.A,{className:"linkText",component:"span","aria-hidden":"true"},e.title))):null})))):null};var Jn=a(4503),Qn=a(67182),Xn=a(42312);const Zn=e=>{let{id:t,content:a,moveCard:i,findCard:r}=e;const l=r(t).index,[{isDragging:o},c,s]=(0,Qn.i)(()=>({type:"card",item:{id:t,originalIndex:l.toString(),type:"card"},collect:e=>({isDragging:e.isDragging()})}),[t,l]),[{isOver:m},d]=(0,Jn.H)(()=>({accept:"card",drop:(e,a)=>{let{id:n}=e;if(!a.didDrop()){const{index:e}=r(t);i(n,e)}},collect:e=>({isOver:e.isOver()})}),[t,r,i]),u=m?"isOver":"isNotOver",p=o?"isDragging":"isNotDragging";return n.createElement("div",{id:t,className:"dragable"},n.createElement("div",{id:`${t}_draggable_container`,className:`${p} ${u}`,ref:d},n.createElement("div",{id:`${t}_drag_handle`,className:"draggle_icon_container",ref:c},n.createElement("div",{ref:s,className:"drag_icon",id:`${t}_drag_icon`},n.createElement(Xn.A,{className:"icon",fontSize:"small"}))),n.createElement("div",{id:"draggable_content_container"},a)))};var ei=a(41488),ti=a.n(ei);const ai=e=>{const{widgets:t,saveNewOrder:a}
1=e,[i,r]=(0,n.useState)([]),l=e=>{const t=i.filter(t=>`${t.id}`===e)[0];return{card:t,index:i.indexOf(t)}},[,o]=(0,Jn.H)({accept:"card"}),c=(e,t)=>{const{card:n,index:o}=l(e),c=ti()(ti()(i,{$splice:[[o,1,i[t]]]}),{$splice:[[t,1,n]]});r(c);let s={};c.map((e,t)=>s={...s,[e.name]:t+1}),a(s)};return n.useEffect(()=>{r(t||[])},[t]),i&&i.length>0?n.createElement("div",{ref:o,id:"reactDnd_container",className:"reactDnd_container"},i.map((e,t)=>e.content?n.createElement(Zn,{key:t,id:`${e.id}`,content:e.content,moveCard:c,findCard:l}):null)):null};var ni=a(51920),ii=a(14293),ri=a(67717),li=a(23101);const oi={backends:[{id:"html5",backend:ri.t2,preview:!0,transition:ni.v8,options:{enableMouseEvents:!0},skipDispatchOnTransition:!0},{id:"touch",backend:li.qi,preview:!0,options:{enableMouseEvents:!0},transition:ni.lr,skipDispatchOnTransition:!0}]},ci=e=>{let{cards:t=[],saveNewOrder:a}=e;const i=(0,n.useMemo)(()=>[...t].sort((e,t)=>+e.id-+t.id),[t]),r=e=>{let{itemType:t,item:a,style:r}=e;if("card"!==t)return null;const l=i.find(e=>e.id.toString()===a.id.toString());return l?n.createElement("div",{"data-item-type":t,className:"reactDnd_preview",style:r},l.content||null):null};return n.createElement(ii.QP,{backend:ni.U2,options:oi},i.length>0&&n.createElement("div",{id:"reactDnd",className:"reactDnd"},n.createElement(ii.lN,null,r),n.createElement(ai,{widgets:i,saveNewOrder:a})))};let si=(new Date).getFullYear().toString(),mi=[],di=[],ui=[],pi=[],gi=[],hi=[],Ei=0,yi=0,bi=null,fi=[];function vi(e){const t=$t(),[a,i]=(0,n.useState)(null),[r,l]=(0,n.useState)(null),[o,m]=(0,n.use
1State)(null),[d,u]=(0,n.useState)(!1),[p,g]=(0,n.useState)([]),[h,E]=(0,n.useState)(""),[y,f]=(0,n.useState)(null),[v,A]=(0,n.useState)(null),[N,S]=(0,n.useState)(null),[w,x]=(0,n.useState)(null),[_,k]=(0,n.useState)(""),[C,T]=(0,n.useState)(null),I={hotsheets:3,marketWatch:2,listingActivity:1,concierge:4,individualData:5},[L,B]=(0,n.useState)(I),D=(0,n.useMemo)(()=>({aggregatedLists:a,setAggregatedLists:i}),[a,i]),[M,P]=(0,n.useState)(!1),[R,O]=(0,n.useState)(!1),[U,F]=(0,n.useState)(""),[$,W]=(0,n.useState)(null),[j,z]=(0,n.useState)(null),[V,G]=(0,n.useState)(!1),{MARKET_LIST_MANAGE_BUTTON_NAME:q,MARKET_WATCH_MANAGE_BUTTON_NAME:Y,PRODUCTIVITY_DETAILS_LINK_NAME:K}=Qt.so,[J,Q]=(0,n.useState)(null),X=(0,n.useMemo)(()=>{const e=(0,H.Gv)();return(0,H.tj)(null===e||void 0===e?void 0:e["custom:MemberMlsId"])},[]),[Z,ee]=(0,n.useState)(!1),[te,ae]=(0,n.useState)(""),[ne,ie]=(0,n.useState)(""),[re,le]=(0,n.useState)(!1),[oe,ce]=n.useState(!0),[se,me]=(0,n.useState)(null),[de,ue]=(0,n.useState)(null),{previewData:pe}=e,ge=e.popup||null,[he,ye]=(0,n.useState)(null),[be,fe]=(0,n.useState)([]),[ve,Ae]=(0,n.use
1State)(!1),[Ne,Se]=(0,n.useState)(!1),[we,xe]=(0,n.useState)(!1),[_e,ke]=(0,n.useState)(!1),[Ce,Te]=(0,n.useState)([]),[Ie,Le]=(0,n.useState)(!1),[Be,De]=(0,n.useState)(""),Me=e=>t=>{("keydown"!==t.type||"Tab"!==t.key&&"Shift"!==t.key)&&le(!e)};function Pe(){const e=`${_t.Ay.matrixApiEndpoint}/matrix/m/news`;F(e)}function Re(){i([]),O(!0)}async function Oe(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(0===e?G(!0):console.log(`Retrying getMatrixData (attempt ${e})`),(0,H.HQ)()&&11===(0,H.HQ)())try{const e=await(0,Ve.ZR)();e&&"string"!==typeof e?(i(e),O(!0),G(!1)):(console.error("Unexpected response from getMatrixAggregatedDataJSONP"),Re(),G(!1))}catch(t){Re(),Pe()}else try{const t=await(0,Ve.FD)();if(t&&"string"!==typeof t)i(t),O(!0),G(!1);else{const n=new DOMParser,r=n.parseFromString(t,"text/html").getElementsByTagName("form"),l=r&&r[0]&&r[0].action;if(l)try{const e=await(0,Ve.fs)(l,r[0]);i(e),O(!0),G(!1)}catch(a){e<_t.tw?setTimeout(()=>Oe(e+1),1e3*_t.Lr):(console.error("Max retries reached for getAcsUrlAPiCall."),Re(),G(!1))}else console.warn("No ACS URL found in response, attempting retry."),e<_t.tw?setTimeout(()=>Oe(e+1),1e3*_t.Lr):(console.error("Max retries reached after failing to find ACS URL."),Re(),G(!1))}}catch(t){e<_t.tw?setTimeout(()=>Oe(e+1),1e3*_t.Lr):(console.error("Max retries reached for getMatrixAggregatedData."),Re(),G(!1))}}async function Ue(){if(ge)ye(ge),Ae(!0);else{if(!localStorage.getItem(_t.Re)){const e=await async function(){try{return await(0,Fa.RS)(`${_t.Ay.awsConfiguration.bcomContentfulAPIEndpoint}/${Qt.DS.POPUP}`,!0,!1)}catch(e){}}();ye(e),Ae(!0),localStorage.setItem(_t.Re,"true")}}}const Fe=async e=>{try{const t=await(0,Ve.Ji)(e);t&&("news"===e&&f(t),"events"===e&&A(t),"reports"===e&&S(t))}catch(t){console.error(t)}};(0,n.useEffect)(()=>{document.title="Dashboard | Bright MLS";(async()=>{G(!0);try{var e;const t=await c.N.currentAuthenticatedUser();null!==t&&void 0!==t&&null!==(e=t.signInUserSession)&&void 0!==e&&e.idToken&&(localStorage.setItem(_t.TL,t.signInUserSession.idToken.jwtToken),W(t.signInUserSession.idToken.payload.MemberPreferredFirstName),(0,H.TV)(_t.Ub,"true",null),P(!0),await async function(){if(pe)ke(pe.displayPreviousYearGoal),z(pe),pe.displayMatrix||O(!0),xe(pe.displayMatrix);else try{const e=await(0,Ve.no)();e&&(ke(e.displayPreviousYearGoal),z(e),e.displayMatrix||O(!0),xe(e.displayMatrix))}catch(e){z(null)}}(),await async function(){try{const e=await(0,Ve.E8)();me(e)}catch(e){me(null)}}(),await async function(){try{const e=await(0,Ve.oL)();ue(e)}catch(e){ue(null)}}(),await Ue(),await Fe("news"),await Fe("events"),await Fe("reports"),await(async()=>{try{const e=await(0,Ot.C)();x(null!==e&&void 0!==e?e:[])}catch(e){console.error(e),x([])}})())}catch(t){console.error("Error in getting or processing user data:",t),Re()}finally{G(!1)}try{const e=await(0,Ve.qu)();Q(e);const t=e.groups.filter(e=>"Billing"===e.name);t&&t.length>0&&t[0].alerts.length>0&&!t[0].alerts[0].isRead&&(ae(e.subscriptionId.toString()),ie(t[0].alerts[0].fingerprint.toString()),ee(!0)),Se(!0)}catch(t){Se(!0),console.error("Error getting alerts:",t)}Pe()})()},[]);const $e=(0,s.Zp)();(0,n.useEffect)(()=>{const e=localStorage.getItem(_t.lp);e?(console.log("Redirecting to saved path for new product page: ",e),localStorage.removeItem(_t.lp),$e(e,{replace:!0})):console.log("Product page redirect path not found: ")},[$e]);const We=a&&a.MyListings&&a.MyListings.length>0&&a.MyListings.filter(e=>e.Count>0),He=a&&a.MarketWatch?(0,H._N)(a.MarketWatch):null,je=a&&a.HotSheet?a.HotSheet:null;function ze(){return sessionStorage.getItem("USER_PREFERENCES")?sessionStorage.getItem("USER_PREFERENCES"):null}function Ge(e,t,a){let n=null;const i=ze();if(i){n=JSON.parse(i);const r={...n&&n[e],[t]:a};n.splice(e,1,r)}else n=[{[t]:a}];n&&sessionStorage.setItem("USER_PREFERENCES",JSON.stringify(n))}function qe(e){if(e){const t={widgets:e,type:"WIDGET"};Ge(0,"widgets",e),(0,Ve.gW)(t).then(e=>e).catch(e=>e)}}(0,n.useEffect)(()=>{if(C&&h){mi=[],di=[],ui=[],pi=[],gi=[],hi=[],Ei=0,yi=0,bi=null,fi=[];const e=C[h];let t=(e=>e.reduce((e,t)=>
1(e.some(e=>e.Month===t.Month)||e.push(t),e),[]))(e.ActualListingData&&Object.values(e.ActualListingData).length>0&&e.ActualListingData.Data?e.ActualListingData.Data:[]);t=(e=>e.sort((e,t)=>Number(e.Month)-Number(t.Month)))(t),t&&t.length>0&&((e=>{fi=Array.from(Array(JSON.parse(e[e.length-1].Month)),(e,t)=>({addedExplicitly:!0,BuyRevenue:"0",BuySales:"0",ListRevenue:"0",ListSales:"0",Month:(t+1).toString(),Year:h}));for(const t of e)fi[JSON.parse(t.Month)-1]=t})(t),fi.map(e=>{mi=[...mi,e.ListSales],di=[...di,e.BuySales],ui=[...ui,e.ListRevenue],pi=[...pi,e.BuyRevenue],Ei=Ei+JSON.parse(e.BuySales)+JSON.parse(e.ListSales),yi=yi+JSON.parse(e.BuyRevenue)+JSON.parse(e.ListRevenue),gi=[...gi,e.addedExplicitly?NaN:Ei],hi=[...hi,e.addedExplicitly?NaN:yi]})),e&&e.ActualListingData&&e.ActualListingData.Data&&(e.ActualListingData.Data=fi),l(e),bi={salesData:{actualFigure:di,targetFigure:mi,actualGoalFigure:e.SalesGoal,colorScheme:Ee,activeTab:1,reducedFigure:Ei,accumulatedData:gi,linearGoal:new Array(12).fill(e.SalesGoal)},revenueData:{actualFigure:pi,targetFigure:ui,actualGoalFigure:e.RevenueGoal,colorScheme:"#02C39A",activeTab:2,reducedFigure:yi,accumulatedData:hi,linearGoal:new Array(12).fill(e.RevenueGoal)}},u(!0)}},[h,C]);(0,n.useEffect)(()=>{let e=ze();e?(e=JSON.parse(e),e.length>0&&e[0].widgets&&B(e[0].widgets)):(0,Ve.Rj)().then(e=>{fe(e.dismissedPopups),e&&e.userPreferences&&e.userPreferences.length>0&&e.userPreferences[0].widgets&&e.userPreferences[0].widgets.individualData?(B(e.userPreferences[0].widgets),Ge(0,"widgets",e.userPreferences[0].widgets)):qe(I)}).catch(e=>e);const t=(0,H.Gv)();m(t),"0"===(null===t||void 0===t?void 0:t.TeamMemberTeamKey)&&"0"===(null===t||void 0===t?void 0:t.TeamLeadTeamKey)||(0,Ve.j$)().then(e=>{e&&e.Years&&(e.Years.length>1&&(si=e.Years[0].value,Te(e.Years)),E(si)),e&&e.YearlyData&&(T(e.YearlyData),De(e.YearlyData.TeamName))}).catch(e=>{e&&"PremiumFeatureNotAllowed"===e.message&&u(!1)})},[]),(0,n.useEffect)(()=>{_e&&Ce.length>1&&(Le(!0),g(Ce))},[_e,Ce]);const Ye=e=>{E(e.target.value)};const Ke=e=>j&&j.hotSheetsImage&&j.marketWatchImage?n.createElement("div",{className:"temporaryUnavailable"},n.createElement("div",{className:"lowerLayer"},n.createElement("img",{src:"hotsheets"===e?j.hotSheetsImage:j.marketWatchImage,alt:"background"})),n.createElement("div",{className:"upperLayer"},n.createElement("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAsCAYAAAAXb/p7AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIHSURBVHgB7dntbcIwEAbgCxOwQdkANigjtBPABoxAN2g3qLpBN0g7ASOEThD1PyQ9IweljmPfVyR+cJKVCsKbhzh2HApwL4C2bRdN05S4fYBbK4+rsLXYDmBR5/P51eLbBjjXKtAW4t67MA0ygtMDe7hWgxzB/QPiPjtWdgQnQiZwVyAea8/KTuBYyAzuktPD0bLdgMjgyEh8f4n71cQ8UnbhQrF94d9zyFRRFJ/YnnNI3DxFXt/iZpH46BGz19h+oqGUb45VgqAi3crvJQpSAmTgbJCn02lDtHWDxvSanAIpHThlMtR1Z9e0SEE3d5fUinQA3HEvRbp9JDgP3AG1JEgqbqyX3DGBUxzkGM5n1CEils06gxxkArfxGZeBE56hMBtrDZJKIXO4XsY8lS29KWSRFBwhm7cU0yC5OPNKIS1wM1AWTsLH2Ou4Ktli+wBlFZyd/VLqenHjWVoh4m0QGsH5QbH073+DdVFvV7FuDVfaLgssyxJnjmTgdlScGZKzCglnfcIDlA7JXSL1gVScGClZvwXAR+7nx5CzGA6ngRfQ1S8wyx0zeyYVK99BMOdeTepuS5w5cgqcGXJKnBZ5mVsbwSMh+1lBjqwdsJwap0AeWJOqBidAVtdVNQVpgWMgq8GSP4W0xBGQVZv4XWaAnAKXQFbZh6Uesp4SFyL970C394+eXP0Bi+2c7cpGQOMAAAAASUVORK5CYII=",alt:"tool icon"}),n.createElement("h2",null,"This feature is temporarily unavailable"))):null;return n.createElement(n.Fragment,null,j?n.createElement("div",{className:"workspaceHeaderMainContainer"},n.createElement(Ha,{feedbackIcon:j.feedbackIcon,feedbackCtaText:j.feedbackCtaText,takeATourCtaText:j.takeATourCtaText,takeATourIcon:j.takeATourIcon,toggleDrawer:Me(re),redirectLink:j.teamsByBrightCtaLink,redirectLinkText:j.teamsByBrightCtaText,teamByBrightIcon:j.teamByBrightIcon}),j.quickLinks&&n.createElement(Kn,{moduleID:"ds_wh",links:j.quickLinks})):null,n.createElement("div",{className:"dashboard-wrapper"},n.createElement("div",{style:{display:M?"block":"none"},className:t.root},n.createElement(n.Fragment,null,n.createElement(Ut.Provider,{value:D},n.createElement("div",{id:"dashboard_id",className:"main_dashboard_container"},n.createElement("div",{style:{display:"none"}},we&&n.createElement("iframe",{style:{display:"none"}
1,id:"ie_eleven_matrix_iframe",onLoad:async function(){(0,H.HQ)()&&11===(0,H.HQ)()&&(F(""),Pe()),(0,H.m8)()||(0,H.gm)()?setTimeout(async()=>{await Oe(0)},3e3):await Oe(0)},src:U})),(he||Z)&&ve&&Ne?n.createElement(Xe,{showButtons:!0,messages:he,isOpen:oe,setOpen:ce,hasBillingAlert:Z,memberMlsId:te,billingAlertFingerprint:ne,dismissedPopups:be}):null,V?sa():null,n.createElement("div",{className:"mainInnerDashboardContainer"},n.createElement(b.Ay,{item:!0,sm:12,className:"left_section_dashboard"},j&&j.customerSalutation?n.createElement(ta,{name:$,customerSalutation:j.customerSalutation,customerWelcomeMessage:j.customerWelcomeMessage,redirectLink:j.teamsByBrightCtaLink,redirectLinkText:j.teamsByBrightCtaText}):null,n.createElement("div",{className:"widget-grid"},j&&null!=j.alertsWidgetTitle&&R?n.createElement(ga,{alertsWidgetTitle:j.alertsWidgetTitle,alertData:J}):null,L?n.createElement(ci,{saveNewOrder:e=>{qe(e)},cards:[{id:L.listingActivity,name:"listingActivity",content:j&&null!=j.listingActivityWidgetTitle&&R?n.createElement(la,{className:"concierge-container",manageLinkText:q,manageLinkUrl:X,listingActivityWidgetTitle:j.listingActivityWidgetTitle,listingActivityWidgetSummary:null!=We&&We.length>0?j.listingActivityWidgetSummary:Qt.p9,listingActivityWidgetNoKnowledgeCardMessage:j.listingActivityWidgetNoKnowledgeCardMessage,listActivityIcon:ca,id:"my_list_container"},null!=We&&We.length>0?n.createElement("div",{className:"activity_card_container market-list-container",id:"list_activity_card_container_id",role:"presentation"},n.createElement(n.Fragment,null,We.map((e,t)=>n.createElement(n.Fragment,{key:t},null!=e&&e.Count>0&&n.createElement(oa,{item:e,index:t,key:t}))))):n.createElement(n.Fragment,null,j.listingActivityWidgetKnowledgeCards?0===j.listingActivityWidgetKnowledgeCards.length?n.createElement("div",{className:"no_data_section"},n.createElement("div",{className:"text"},j.listingActivityWidgetNoKnowledgeCardMessage)):n.createElement("div",{className:"listing-activity-knowledgea-cards-container"},n.createElement(mn,{componentID:"listingActivity",data:j.listingActivityWidgetKnowledgeCards})):null)):null},{id:L.marketWatch,name:"marketWatch",content:we?j&&null!=j.marketWatchWidgetTitle&&R?n.createElement(la,{className:"market-watch-listing-activity-container",listingActivityWidgetTitle:j.marketWatchWidgetTitle,listingActivityWidgetSummary:null,listingActivityWidgetNoKnowledgeCardMessage:"",listActivityIcon:ha,manageLinkText:Y,manageLinkUrl:_,id:"market_watch_container"},a&&null!=a.MarketWatch?n.createElement("div",{className:"activity_card_container market-watch-list-container",id:"market-watch_list_container_id",role:"presentation"},n.createElement(va,{emitCustomizeCriteriaUrl:k,CategoryCounts:He&&He.CategoryCounts?He.CategoryCounts:[],selectedPropertyType:He&&He.SelectedHotSheetId,selectedTime:He&&He.SelectedSpanId,HotSheetOptions:He&&He.HotSheetOptions?He.HotSheetOptions:[],MarketWatchSpanOptions:He&&He.MarketWatchSpanOptions?He.MarketWatchSpanOptions:[]})):n.createElement("div",{className:"no_data_section"},j.listingActivityWidgetNoKnowledgeCardMessage&&j.listingActivityWidgetKnowledgeCards&&0===j.listingActivityWidgetKnowledgeCards.length&&n.createElement("div",{className:"text"},j.listingActivityWidgetNoKnowledgeCardMessage))):null:Ke("marketWatch")},{id:L.hotsheets,name:"hotsheets",content:we?j&&null!=j.marketWatchWidgetTitle&&R?n.createElement(la,{className:"market-watch-listing-activity-container hot-sheet-container",listingActivityWidgetTitle:j.hotSheetsWidgetTitle,listingActivityWidgetSummary:null,listingActivityWidgetNoKnowledgeCardMessage:"",listActivityIcon:Ea,manageLinkText:Y,manageLinkUrl:`${_t.Ay.matrixApiEndpoint}/Matrix/MySettings/ManageMyHotSheets.aspx`,id:"hot-sheet-container"},a&&null!=a.MarketWatch?n.createElement("div",{className:"activity_card_container hot-sheet-list-container market-watch-list-container",id:"hot_sheet_list_wrapper_id",role:"presentation"},n.createElement(cn,{HotSheets:je&&je.HotSheets,hotSheetsWidgetSummary:j.hotSheetsWidgetSummary,HotSheetOptions:je&&je.HotSheetSpanOptions,selectedTime:je&&je.DefaultSpanId})):n.createElement("div",{className:"no_data_section"},j.listingActivityWidgetNoKnowledgeCardMessage&&0===j.listingActivityWidgetKnowledgeCards.length&&n.createElement("div",{className:"text"},j.listingActivityWidgetNoKnowledgeCardMessage))):null:Ke("hotsheets")},{id:L.concierge,name:"concierge",content:function(){if(j&&null!=j.conciergeWidgetTitle&&R){let e=null;return j.conciergeWidgetKnowledgeCards&&(e=0===j.conciergeWidgetKnowledgeCards.length?n.createElement("div",{className:"no_data_section"},n.createElement("div",{className:"text"},j.conciergeWidgetNoKnowledgeCardMessage)):n.createElement("div",{className:"concierge-knowledgea-cards-container"},n.createElement(mn,{componentID:"concierge",data:j.conciergeWidgetKnowledgeCards}))),n.createElement(la,{className:"concierge-container",listingActivityWidgetTitle:j.conciergeWidgetTitle,listingActivityWidgetSummary:a&&null!=a.Concierge?j.conciergeWidgetSummary:null,listingActivityWidgetNoKnowledgeCardMessage:j.conciergeWidgetNoKnowledgeCardMessage,listActivityIcon:ya,manageLinkText:"",itemCount:a&&a.Concierge&&a.Concierge.Contacts&&a.Concierge.Contacts.length,id:"concierge-container"},a&&null!=a.Concierge?n.createElement("div",{className:"card_container_
1concierge",id:"concierge_container_id",role:"presentation"},n.createElement(Aa,null)):e)}return null}()},{id:L.individualData,name:"individualData",content:function(){const e="Team"===(null===o||void 0===o?void 0:o.ProductivityReports),t=e?K:"";return j&&R&&bi&&r&&d?n.createElement(la,{className:"concierge-container",componentAstitle:Ie,dropdownOptions:p,dropdownSelection:Ye,dropdownValue:h,listingActivityWidgetTitle:`Productivity ${si}`,listingActivityWidgetSummary:null,listingActivityWidgetNoKnowledgeCardMessage:"No data to show",listActivityIcon:e?fa:ba,manageLinkText:t,manageLinkUrl:_e?`${_t.Ay.teamsApiEndpoint}/teamProductivityDetails/${h}`:`${_t.Ay.teamsApiEndpoint}/teamProductivityDetails/`,id:"productivityOverview-container"},n.createElement(ka,{chartDetailing:bi,chartData:r,teamName:Be,tokenDetails:o})):null}()}]}):null)),n.createElement(b.Ay,{item:!0,sm:12,className:"right_section_dashboard"},j?n.createElement(Gn,{componentID:"ds",isOpen:re,toggleDrawer:Me(re),rightSectionProps:j,associcationsNews:de,officeNews:se,risNews:y,risEvents:v,risReports:N,realEstateNews:w}):null))))))))}const Ai="bcom_dashboard_view_preference",Ni=(0,n.lazy)(()=>Promise.all([a.e(102),a.e(605)]).then(a.bind(a,60605))),Si=()=>n.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"60vh"}},n.createElement("div",{style:{textAlign:"center"}},n.createElement("div",{style:{width:40,height:40,border:"3px solid #e9ebef",borderTopColor:"#030213",borderRadius:"50%",animation:"spin 0.8s linear infinite",margin:"0 auto 16px"}}),n.createElement("p",{style:{color:"#717182",fontSize:14}},"Loading your workspace..."),n.createElement("style",null,"@keyframes spin { to { transform: rotate(360deg); } }"))),wi=e=>{let{toHideFooter:t}=e;const{hasFeature:i,isReady:r}=(0,Rt.d)(),l=r&&i(_t.$v.BCOM_REDESIGN),[o,c]=(0,n.useState)(()=>{const e=localStorage.getItem(Ai);return"classic"===e||"redesign"===e?e:"classic"});(0,n.useEffect)(()=>{r&&!i(_t.$v.BCOM_REDESIGN)&&"redesign"===o&&(c("classic"),localStorage.setItem(Ai,"classic"))},[r,i,o]);const s=(0,n.useCallback)(()=>{c(e=>{const a="classic"===e?"redesign":"classic";return localStorage.setItem(Ai,a),t("redesign"===a),a})},[]);if(!r)return n.createElement(vi,null);if(!l)return n.createElement(vi,null);if("classic"===o){const e=(0,n.lazy)(()=>a.e(441).then(a.bind(a,27441)));return n.createElement(n.Fragment,null,n.createElement(n.Suspense,{fallback:null},n.createElement(e,{currentView:"classic",onToggle:s})),n.createElement(vi,null))}return t(!0),n.createElement(n.Suspense,{fallback:n.createElement(Si,null)},n.createElement(Ni,{onToggle:s}))},xi=()=>((0,n.useEffect)(()=>{(0,H.T$)()},[]),n.createElement(n.Fragment,null)),_i=()=>{const e=(0,s.Zp)();return(0,n.useEffect)(()=>{"/logout"===window.location.pathname.toLowerCase()&&e("/logout")},[e]),n.createElement(b.Ay,{container:!0,id:"route-not-found"},n.createElement("div",{className:"container"},n.createElement("p",null,"Sorry, but we're unable to find the content you are looking for, please check the link and try again.")))},ki=(0,q.A)(()=>({root:{flexGrow:1},authStaticPadding:{paddingTop:40},unAuthPadding:{paddingTop:20}}));function Ci(e,t,a,i,r,l,o,c){(0,n.useEffect)(()=>{if(window.scrollTo(0,0),e)return l(e),void(document.title=`${e.title} | Bright MLS`);c(!0),(0,xt.y)(!0,t,a,i).then(e=>{document.title=`${e.title} | Bright MLS`,l(e),e&&e.body&&function(e){const t=/<script\b[^>]*>([\s\S]*?)<\/script>/gm.exec(e);if(t&&t[0]){const e=t[0].replace(/<[^>]+>/g,"");new Function(`${e}`)()}}(e.body),r.pathname!==`/${t}`&&r.pathname!==`/${t}/${a}`&&window.scrollTo(0,0),c(!1)}).catch(()=>{(async()=>{await async function(e,t,a){const n=await(0,H.XW)(e);if(n){const e=n.redirectTo;e&&(0,H.i9)(e)?window.location.href=e:t(e)}else a("")}(r.pathname,o,l),c(!1)})()})},[e,t,a,i,r.pathname,l,o,c])}function Ti(e){let{previewData:t=null}=e;const{id:a,subid:i,childid:r}=(0,s.g)(),l=ki(),[o,c]=(0,n.useState)(null),[m,d]=(0,n.useState)(null),[u,p]=(0,n.useState)(!1),g=(0,s.Zp)(),h=(0,s.zy)();Ci(t,a,i,r,h,c,d,p),(0,n.useEffect)(()=>{m&&g(m)},[m,g]);const E=e=>({__html:e});return window.scrollToIDFunction=function(e){(0,H.Ar)(e,!0,10)},n.createElement(n.Fragment,null,"/powerup"===h.pathname.toLowerCase()?n.createElement("div",{className:"powerUp_container"},n.createElement("div",{id:"content",className:"col-md-6",style:{paddingTop:"10px"}},u?n.createElement(sa,null):null,o&&o.body?n.createElement("div",{className:"content-container",dangerouslySetInnerHTML:E(o.body)}):null===o?"":n.createElement(_i,null))):n.createElement("div",{className:l.root},n.createElement(b.Ay,{container:!0,className:(0,H.xA)()?`static-content ${l.authStaticPadding}`:`static-content ${l.unAuthPadding}`},u?n.createElement(sa,null):null,n.createElement(b.Ay,{item:!0,xs:1}),o&&o.body?n.createElement(b.Ay,{item:!0,xs:12,className:"content-container "+((0,H.bQ)(o.body)?"old":""),dangerouslySetInnerHTML:E(o&&o.body)}):null===o?"":n.createElement(_i,null),n.createElement(b.Ay,{item:!0,xs:1}))))}function Ii(){return n.createElement(_i,null)}
1var Li=a(37836),Bi=a(45788),Di=a(10565);function Mi(e){const{title:t="",subTitle:a="",bottomAction:i="",url:r="",params:l="",elementID:o,showDevider:c=!0,disableBottomLink:s=!1,disableTopLink:d=!1,tag:u}=e;function p(){return n.createElement(b.Ay,{className:"bottom-action-container",tabIndex:-1},n.createElement(b.Ay,{container:!0,className:"bottom-action-section",tabIndex:-1},n.createElement(W.A,{variant:"h3",component:"h3",id:`${o}-h3-bottom-title`,className:"bottom-title",tabIndex:-1},i),n.createElement("div",{className:"card-title-img-hover"},n.createElement(Di.A,null))))}function g(){return n.createElement(W.A,{className:"card-title",variant:"h3",component:"h3",id:`${o}-h3-card-title`},t)}function h(){return`${l?`${r}/${l}`:r}`}return n.createElement(Li.A,{className:`${e.className?e.className:""} card common-card-container`},u?n.createElement(b.Ay,{className:"tag"},u):null,n.createElement(Bi.A,null,d?g():r?(0,H.i9)(r)?n.createElement(b.Ay,{className:"card-title-link-section"},n.createElement("a",{onClick:e=>(0,H.Qi)(e,r,l),"aria-label":t,tabIndex:0,id:`${o}-Card_title`},g()),n.createElement("div",{className:"card-title-img-hover"},n.createElement(Di.A,null))):n.createElement(b.Ay,{className:"card-title-link-section"},n.createElement(m.N_,{"aria-label":t,tabIndex:0,id:`${o}-Card_title`,to:h()},g()),n.createElement("div",{className:"card-title-img-hover"},n.createElement(Di.A,null))):g(),c?n.createElement(Rn.A,{className:"divider-line",id:`${o}-divider-line`}):"",n.createElement("div",{dangerouslySetInnerHTML:(0,H.R2)(a),className:"card-sub-title",id:`${o}-card-sub-title`}),i?r&&!s?(0,H.i9)(r)?n.createElement("a",{tabIndex:s?-1:0,onClick:e=>(0,H.Qi)(e,r,l),"aria-label":`${t} ${i}`,className:"card-bottom-action",id:`${o}-${o}-bottom-title`,href:r},p()):n.createElement(m.N_,{tabIndex:s?-1:0,className:"card-bottom-action",to:h(),"aria-label":`${t} ${i}`},p()):n.createElement(b.Ay,{id:`${o}-bottom-title`,className:"card-bottom-action"},p()):null))}const Pi=e=>n.createElement(b.Ay,{item:!0,className:"home-image-card-section"},null!=e.heroSectionPrimaryArticleData&&n.createElement(Mi,{title:e.heroSectionPrimaryArticleData.title,subTitle:e.heroSectionPrimaryArticleData.articleSummary,bottomAction:"READ MORE",url:"/article",params:e.heroSectionPrimaryArticleData.uniqueArticleId,elementID:"Read_More_home_card_id"}),null!=e.heroSectionSecondaryArticle&&n.createElement(Li.A,{className:"cardWithTitleOnly"},n.createElement(Bi.A,{className:"secondary_article_container"},n.createElement("a",{onClick:t=>(0,H.Qi)(t,"/article",e.heroSectionSecondaryArticle.uniqueArticleId),"aria-label":e.heroSectionSecondaryArticle.title,tabIndex:0,id:"Card_With_title_only_ID"},null!=e.heroSectionSecondaryArticle.title&&n.createElement(W.A,{className:"card-title",variant:"h3",component:"h3",id:"card_only_title_id","aria-label":e.heroSectionSecondaryArticle.title},e.heroSectionSecondaryArticle.title)),n.createElement("div",{className:"card-title-img-hover"},n.createElement(Di.A,null)))));function Ri(e){const t=e.content.heroSectionCtaLink,a=e.content.heroImage,i=e.content.heroSectionHeadline,r=e.content.heroSectionSubHeadline,l=e.content.heroSectionButtonText,o=e.content.heroImageCaption,c=e.content.heroSectionPrimaryArticle,s=e.content.heroSectionSecondaryArticle;return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),n.createElement(b.Ay,{container:!0,className:"home_image_title_section",id:"home_image_title_section_id"},n.createElement(b.Ay,{item:!0,className:"home_image_item"},null!=i&&n.createElement(W.A,{className:"heading",id:"home_image_heading_id"},i),n.createElement(W.A,{className:"description",id:"home_image_description_id",dangerouslySetInnerHTML:(0,H.R2)(r)}),null!=l&&n.createElement(m.N_,{className:"primaryButton",id:"HOW_WE_DO_IT_link_Id","aria-label":e.content.heroSectionButtonText,to:t},n.createElement(W.A,{id:"howWeDoItID",variant:"button",align:"center",paragraph:!1},l)))),n.createElement(b.Ay,{container:!0,style:{backgroundImage:`url(${e&&e.content&&e.content.heroImage?(0,H.kO)(a):""})`},className:"hero_image_container",direction:"row",role:"img","aria-label":"home image"}),n.createElement(Pi,{heroSectionPrimaryArticleData:c,heroSectionSecondaryArticle:s}),null!=o&&n.createElement(b.Ay,{container:!0,className:"info_container"},n.createElement(b.Ay,{item:!0,className:"info_section"},n.createElement(W.A,{id:"home_image_info_id"},o))))}const Oi=(0,q.A)(()=>({root:{flexGrow:1}}
1));function Ui(e){const{content:t,alignHeading:a,alignSubHeading:i,isButtonCentered:r}=e;return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),t&&t.cardTitle&&(0,H.x2)(t.cardTitle)?n.createElement("div",{id:"pageRibbon_section_id",className:"pageRibbon-section"},n.createElement("div",{className:"maxWidthContainer"},n.createElement("div",{className:"maxWidth"},n.createElement(b.Ay,{container:!0,justifyContent:"center",className:"pageRibbonContainerClass",item:!0,xs:12,md:12},n.createElement(b.Ay,{item:!0,xs:12,sm:5,md:5,lg:3},n.createElement(W.A,{id:"ribbonTitle",variant:"h3",align:a||"center"},t.cardTitle||"")),n.createElement("div",{className:"lineBorder"}),n.createElement(b.Ay,{item:!0,xs:12,sm:7,md:7,lg:5,className:"pageRibbon_cardBody_container"},n.createElement(W.A,{id:"ribbonDescription",align:i||"left",className:"multine-ellipsis",dangerouslySetInnerHTML:(0,H.R2)(t.cardBody)})),n.createElement(b.Ay,{container:!0,justifyContent:"center",item:!0,xs:12,sm:12,md:12,lg:4,className:"pageRibbon_link_buttons"},(l=t.cardButtonText,o=t.ctaLink,c=r,n.createElement(n.Fragment,null,c?null:n.createElement(b.Ay,{item:!0,xs:12,sm:5,md:5,lg:3},"  "),n.createElement(b.Ay,{item:!0,xs:12,sm:c?12:7,md:c?12:7,lg:12,container:!0,alignItems:"flex-start",justifyContent:c||"flex-start",className:c?"isButtonCenter":"isButtonCenterNot"},null!=l&&(0,H.i9)(o)&&n.createElement("a",{className:"primaryButton",href:o,"aria-label":l,tabIndex:0,id:"vistedLinkId"},n.createElement("span",null,l)),null!=l&&!(0,H.i9)(o)&&n.createElement(m.N_,{className:"primaryButton",id:"vistedLinkId","aria-label":l,to:o,target:"_blank"},null!=l&&n.createElement("span",null,l)))))))))):null);var l,o,c}const Fi=e=>{const{className:t,cards:a,elementId:i="card-section-",disableTopLink:r=!1}=e;return n.createElement(b.Ay,{className:t,id:`${i}-cards-group`},a.map(function(e,t){const{cardButtonText:a,ctaLink:l,cardBody:o,cardTitle:c,disableBottomLink:s=!1,tag:m}=e;return n.createElement(Mi,{key:t,disableTopLink:r,disableBottomLink:s,title:c,subTitle:o,bottomAction:a,url:l,elementID:`${i}-${t}`,tag:m})}))},$i=e=>{if(e.content){const{headline:t,image:a,cards:i,subHeadline:r}=e.content;if(t&&a&&r&&i.length)return n.createElement("div",{className:"get-more-container"},n.createElement(b.Ay,{className:"get-more-section",id:"get-more-section"},n.createElement(b.Ay,{item:!0,lg:5,className:"title-section",id:"get-more-title-section"},n.createElement(W.A,{variant:"h1",component:"h1",className:"title"},t),n.createElement(W.A,{variant:"h2",component:"h2",dangerouslySetInnerHTML:(0,H.R2)(r),className:"sub-title"})),qt()?n.createElement(b.Ay,{item:!0,lg:7,className:"image-section",id:"get-more-image-section"},n.createElement("img",{src:a,alt:`${t} image`})):n.createElement(b.Ay,{item:!0,lg:7,className:"image-section",id:"get-more-image-section",style:{backgroundImage:`url(${a})`}})),n.createElement(Fi,{className:"get-more-cards-section",cards:i,elementId:"get-more-section"}))}return null},Wi=e=>{const{headline:t,image:a,cards:i,subHeadline:r}=e.content;return n.createElement("div",null,n.createElement(b.Ay,{className:"future-is-our-section",id:"future_is_our_id"},n.createElement(b.Ay,{item:!0,lg:12,sm:7,className:"title-section"},n.createElement(W.A,{variant:"h2",component:"h2",className:"title",id:"future-is-yours-section_title",dangerouslySetInnerHTML:(0,H.R2)(t)}),n.createElement(W.A,{variant:"h2",component:"h2",className:"sub-title",id:"future-is-yours-section_sub-title"},r))),n.createElement(b.Ay,{container:!0,style:{backgroundImage:`url(${a?(0,H.kO)(a):""})`},className:"hero_image_container future-image",direction:"row",id:"future-is-yours-section_image_container_id",role:"img","aria-label":"future is our image"}),n.createElement(Fi,{className:"future-is-yours-card-section",cards:i,elementId:"future-is-yours-card-section"}))};var Hi=a(53178),ji=a(30216);function zi(e){const{cardsDetails:t}=e;return n.createElement(n.Fragment,null,t?n.createElement(Li.A,{className:"net-article-card","aria-label":"",id:"article-card-content",tabIndex:1},n.createElement(Bi.A,null,n.createElement(W.A,{className:"content-counter",gutterBottom:!0,id:"noteWothy-ArticleCardCounter"},t&&t.articleIndex&&`0${t.articleIndex}`),n.createElement(W.A,{className:"card-title",gutterBottom:!0,id:"noteWothy-ArticleCardTitle","aria-hidden":"true"},t&&t.title||""),n.createElement(b.Ay,{className:"card-sub-title",id:"noteWothy-ArticleCardSubTitle",dangerouslySetInnerHTML:(0,H.R2)(t&&t.articleSummary||"")})),n.createElement(ji.A,{className:"readBtnArticleCard"},n.createElement(m.N_,{className:"primaryButton noUnderline",to:t&&t.uniqueArticleId?`/article/${t.uniqueArticleId}`:"",tabIndex:0,id:"READ_BUTTON","aria-label":"READ"},n.createElement("span",null,"READ")))):null)}function Vi(e){const{checked:t,position:a,onPressClick:i,imageUrl:r,altText:l}=e;return n.createElement(n.Fragment,null,n.createElement("div",{role:"link",className:"imagecard-view",id:`imageCard-view-${a}`,style:{display:t===a?"none":"block"},onClick:()=>i(a),tabIndex:0},n.createElement("img",{src:(0,H.kO)(r),className:"imageCardNoteWorthy",alt:l})))}const Gi=(0,q.A)(e=>{var t,a,n,i;return{root:{maxWidth:"90%",[null===(t=e.breakpoints)||void 0===t||null===(a=t.up)||void 0===a?void 0:a.call(t,"sm")]:{maxWidth:"100%"}}
1,media:{width:"100%",objectFit:"cover",[null===(n=e.breakpoints)||void 0===n||null===(i=n.up)||void 0===i?void 0:i.call(n,"sm")]:{height:"436px"}}}}),qi=Gi;function Yi(e){const{content:t}=e,a=qi(),[i,r]=(0,n.useState)(0),[l,o]=(0,n.useState)(0),[c,s]=(0,n.useState)(!1),[m,d]=(0,n.useState)(!1),[u,p]=(0,n.useState)(null),[g,h]=(0,n.useState)(t),[E,y]=(0,n.useState)(0);function f(e){if(g&&g.length>0){const t=[...g],a=[...t.splice(e,3),...t];h(a),o(0),s(!0),d(!m),y(e),r(0)}}return(0,n.useEffect)(()=>{if(g&&g.length>0){const e=g[i];p(e)}},[l,m,i,g]),(0,n.useEffect)(()=>{if(t&&t.length>0){const e=t.map((e,t)=>(e.articleIndex=t+1,e));h(e),o(0)}},[t]),n.createElement(n.Fragment,null,n.createElement(b.Ay,{container:!0,className:"net-worthy-section",id:"note_worthy_id"},n.createElement(b.Ay,{item:!0,lg:12,className:"title-section"},n.createElement(W.A,{variant:"h2",component:"h2",className:"title",id:"net-and-networthy-section_title",tabIndex:-1},"New and noteworthy"),n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{container:!0,justifyContent:"flex-end",alignItems:"flex-end",className:"mainContainer"},n.createElement(b.Ay,{item:!0,md:6,sm:8,lg:6,className:"netWorthyImageContainer"},n.createElement(Li.A,{className:a.root},n.createElement(Hi.A,{id:"card-note-worthy-mainImageId",className:`${a.media} card-main-img`,image:u&&u.articleImage?(0,H.kO)(u.articleImage):(0,H.kO)("//images.ctfassets.net/ef5kqt3r1q7z/57DTMPwYgv0Wal9aMt9WEW/d6cd0f2253e0907ee37c4479b4f3bc75/Stocksy_comp_1313867.png")}))),n.createElement(b.Ay,{container:!0,justifyContent:"center",direction:"row",alignItems:"center",item:!0,md:6,sm:6,lg:6,className:"articlesScroller"},g&&g.length>0&&g.map((e,t)=>n.createElement(n.Fragment,{key:t},n.createElement(Vi,{checked:i,position:t,onPressClick:f,imageUrl:e.articleImage,altText:e.title}))))),n.createElement(b.Ay,{container:!0,justifyContent:"flex-start",alignItems:"flex-start",className:"articleNetWorthyImageContainer",id:"noteWothyBottomSectionId"},n.createElement(b.Ay,{container:!0,item:!0,md:5,sm:9,lg:6,className:"articleCard"},n.createElement(zi,{cardsDetails:u,counter:l,onPressIndex:E,onPressImage:c})),g&&g.length>0?n.createElement("button",{className:"next-prev-section",onClick:function(){if(g&&g.length>0){const e=[...g];if(s(!1),l===t.length-1){const t=e.shift();e.push(t),h(e),r(0),o(0)}else{const t=e.shift();e.push(t),h(e),r(0),o(l+1)}}},tabIndex:0,"aria-label":"Next"},n.createElement(W.A,{className:"textButton nextClass",gutterBottom:!0},"Next")):null)))))}const Ki=e=>{if(e.cards){const{cardTitle:t,cardBody:a,cardButtonText:i,ctaLink:r}=e.cards;if(t&&a&&e.image)return n.createElement(b.Ay,{className:"our-reach-section",id:"our-reach-section",container:!0,justifyContent:"center"},n.createElement(b.Ay,{container:!0,style:{backgroundImage:`url(${e.image?(0,H.kO)(e.image):""})`},className:"hero_image_container our-reach-image",direction:"row",id:"our-reach-section-image",role:"img","aria-label":"our reach image"}),n.createElement(b.Ay,{item:!0,lg:8,sm:11,id:"our-react-card-section"},n.createElement(Mi,{className:"our-reach-card",title:t,subTitle:a,bottomAction:i,url:r,elementID:"our-reach-card",showDevider:!1})))}return null};function Ji(e){const t=Oi(),a=(0,s.Zp)(),[i,r]=(0,n.useState)(null),l=e&&e.homePreviewData;return(0,n.useEffect)(()=>{window.scrollTo(0,0),(0,H.xA)()&&a("/dashboard"),l?r(l):(0,xt.c)(_t.uw).then(e=>{r(e)}).catch(()=>{r(null)})},[]),n.createElement("div",{className:t.root},null!=i&&n.createElement(n.Fragment,null,n.createElement(Ri,{content:i}),n.createElement($i,{content:i.getMoreOutOfYourMlsSection}),n.createElement(Wi,{content:i.theFutureIsYoursSection}),n.createElement(Ui,{content:i&&i.brightMlsHomesSection}),n.createElement(Ki,{image:i.ourReachSection.image,cards:i.ourReachSection.cards[0]}),n.createElement(Yi,{content:i.newAndNoteWorthy})))}function Qi(e){const[t,a]=(0,n.useState)(null),{footerPreviewData:i}=e;return(0,n.useEffect)(()=>{i?a(i):(0,xt.c)("Unauthenticated/footerLinks.json").then(e=>{a(e)})},[i]),n.createElement(n.Fragment,null,t&&n.createElement("div",{className:"footer-container fix-footer-at-bottom"},n.createElement(b.Ay,{dangerouslySetInnerHTML:(0,H.R2)(null===t||void 0===t?void 0:t.body)})))}var Xi=a(82594);const Zi=e=>{let{onClick:t,href:i,idImage:r,authenticated:l}=e;const o=Ht();let c;c=a(o?l?40334:51573:l?2721:51573);const s=n.createElement("img",{id:o?"brightLogo-mobile":"brightLogo",src:c,alt:"Bright Logo"});return i?n.createElement("a",{className:"logo",href:i,id:r},s):n.createElement("div",{className:"logo",onClick:t,id:r},s)};var er=a(92165),tr=a(60651),ar=a(62331),nr=a(45180);const ir=(0,f.A)({typography:{fontFamily:["Acronym-Regular","serif"].join(",")}}),rr=(0,q.A)(()=>({margin20Root:{flexGrow:1,marginLeft:"20px",marginRight:"25px",minHeight:"750px",[ir.breakpoints.down("xs")]:{marginRight:"10px"},paddingTop:"10px"},postContenType:{color:J,backgroundColor:Y,borderColor:Y,padding:"5px !important",float:"none",textDecoration:"none !important",fontWeight:700,fontSize:"10.5px",textTransform:"uppercase",[ir.breakpoints.down("xs")]:{marginTop:"20px",marginBottom:"20px"}},postInfoDate:{fontSize:"4em",display:"block",margin:"0",width:"100%",fontWeight:600,textAlign:"center",marginTop:"-30px",color:oe,[ir.breakpoints.down("xs")]:{fontSize:"1em",textAlign:"center"},[ir.breakpoints.down("sm")]:{textAlign:"center"}},postInfoMonth:{display:"block",margin:"0 0 .25em",width:"100%",fontWeight:400,textTransform:"uppercase",fontSize:"1.125em",marginTop:"-20px",textAlign:"center",color:oe,[ir.breakpoints.down("xs")]:{fontSize:"1em"}},postInfoYear:{display:"block",margin:"0 0 .25em",width:"100%",fontWeight:400,textTransform:"uppercase",fontSize:"1.125em",marginTop:"-5px",textAlign:"center",color:oe,[ir.breakpoints.down("xs")]:{fontSize:"1em"}},postInfo:{paddingLeft:"0px"},postTitlelink:{textDecoration:"none",[ir.breakpoints.down("sm")]:{flexGrow:"none",maxWidth:"none",flexBasis:"none"}},postThumbImage:{width:"50px",height:"42px",marginLeft:"20px",[ir.breakpoints.down("xs")]:{width:"100px",height:"100px"}},paperThumbImageWrapper:{textAlign:"center",color:ir.palette.text.secondary,boxShadow:"none",[ir.breakpoints.down("sm")]:{textAlign:"right"}}})),lr="'Roboto Flex', sans-serif",or=(0,q.A)(()=>({root:{display:"flex",marginTop:"17px",justifyContent:"flex-end",paddingRight:"166px",[ir.breakpoints.down("lg")]:{display:"none"},"& .MuiButton-text":{paddingRight:"39px",paddingTop:"0px",paddingBottom:"17px",paddingLeft:"0px","&:last-child":{paddingRight:0}}},menuList:{display:"flex",justifyContent:"flex-end",listStyle:"none",margin:0,padding:0},menuListItem:{display:"flex","&:not(:last-child) .MuiButton-text":{paddingRight:"39px"},"&:last-child .MuiButton-text":{paddingRight:0}},menuTitle:{fontSize:"20px !important",fontWeight:Ae,textTransform:"capitalize",color:oe,fontFamily:lr,textDecoration:"none !important",lineHeight:"23px","&:hover":{textDecoration:"underline !important"}},TypographyMenuHeading:{display:"block",clear:"both",fontWeight:fe,fontSize:"14px !important",color:Q,padding:"7px 0 0 0px",paddingRight:"24px",paddingLeft:"24px",paddingTop:"16px",fontFamily:lr},menuOptions:{display:"block",clear:"both",color:oe,whiteSpace:"normal",padding:"12px 24px",fontSize:"15px !important",paddingRight:"64px",fontFamily:lr,borderLeft:"2px s
1olid white","&:hover":{backgroundColor:ue,color:oe,borderLeft:"2px solid #FF4500",fontWeight:be}},openButton:{textDecoration:"underline","& .MuiButton-label":{"& h1":{color:oe}}},closeButton:{color:Q,"&:hover":{background:J}},divider:{marginLeft:0,marginTop:"17px!important",width:"calc(100% - 166px)",backgroundColor:oe,height:"0.5px",[ir.breakpoints.up("xl")]:{width:"calc(71% - 166px)",marginLeft:"calc(100% - (71%))!important"}},openLink:{"&:hover":{background:J}}}));function cr(e,t){return t?{component:"a",href:e,target:"_blank",rel:"noopener noreferrer"}:{component:m.N_,to:e}}function sr(e){const{MenuData:t}=e,a=or();return n.createElement(n.Fragment,null,n.createElement(Rn.A,{variant:"fullWidth",component:"div",className:a.divider}),n.createElement("nav",{"aria-label":"Primary navigation",className:a.root,id:"menu_desktop_id","data-testid":"menu_desktop_id"},n.createElement("ul",{className:a.menuList},t&&t.map((e,t)=>{const i=`desktop-primary-menu-${t}`;return n.createElement("li",{className:a.menuListItem,key:e.url},n.createElement(ar.Ay,{variant:"popper",popupId:i},t=>{var r,l,o,c,s;return n.createElement(n.Fragment,null,(null!==(r=null===e||void 0===e||null===(l=e.columns)||void 0===l?void 0:l.length)&&void 0!==r?r:0)>0?n.createElement(P.A,Object.assign({},(0,nr.cO)(t),{"aria-controls":i,"aria-expanded":t.isOpen,"aria-haspopup":"menu",className:t.isOpen?a.openButton:a.closeButton}),n.createElement(W.A,{component:"span",className:a.menuTitle},e.title),n.createElement(Cn.A,{fontSize:"small",style:{marginLeft:"5px"}})):n.createElement(P.A,Object.assign({className:a.openLink},cr(e.url,e.openUrlInANewWindow)),n.createElement(W.A,{component:"span",className:a.menuTitle},e.title)),(null!==(o=null===e||void 0===e||null===(c=e.columns)||void 0===c?void 0:c.length)&&void 0!==o?o:0)>0&&n.createElement(er.A,Object.assign({},(0,nr.NA)(t),{elevation:3,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},open:t.isOpen,disableScrollLock:!0,id:i}),n.createElement(b.Ay,{container:!0,justifyContent:"space-around",tabIndex:-1,id:"menu_grid"},null===(s=e.columns)||void 0===s?void 0:s.map((e,i)=>{var r;return n.createElement(b.Ay,{item:!0,key:e.heading||e.url,tabIndex:-1,id:`menu_heading_${i}`},null!=(null===e||void 0===e?void 0:e.heading)&&n.createElement(W.A,{component:"h2",className:a.TypographyMenuHeading},e.heading),null===(r=e.items)||void 0===r?void 0:r.map((e,i)=>n.createElement(tr.A,Object.assign({},cr(e.url,e.openUrlInANewWindow),{onClick:()=>{t.close()},key:e.url,className:a.menuOptions,tabIndex:0,id:`menu_item_${i}`}),e.title)))}))))}))}))))}const mr="menu",dr="unauthenticated-banners",ur="article-categories",pr="join",gr="cet";var hr=a(93106),Er=a(82791),yr=a(38754);const br="'Roboto Flex', sans-serif",fr=(0,q.A)(()=>({root:{display:"flex",position:"relative",top:"5px",right:"0px",[ir.breakpoints.up("xl")]:{display:"none"}},navigationList:{listStyle:"none",margin:0,padding:0},navigationListItem:{margin:0,padding:0},primaryNavigation:{borderBottom:"1px solid rgba(0, 0, 0, 0.2)"},hide:{display:"none"},drawer:{width:0,flexShrink:0,zIndex:"50 !important"},drawerPaper:{width:"100%",top:"55px",zIndex:49,paddingBottom:"20%",[ir.breakpoints.down("xs")]:{backgroundColor:de},"& .MuiAccordion-root:before":{display:"none"},"& .MuiAccordionSummary-content.Mui-expanded":{margin:0},"& hr":{display:"none"},"& .divider":{display:"block"},maxHeight:"75%",[ir.breakpoints.down("sm")]:{maxHeight:"80%",paddingTop:"20px"},[ir.breakpoints.up("sm")]:{maxHeight:"85%",paddingTop:"50px"},[ir.breakpoints.up("lg")]:{maxHeight:"98%",paddingTop:"50px"},"@media screen and (min-width:1024px) and (height: 1366px)":{maxHeight:"100%",paddingTop:"50px"}},ExpansionPanelDetails:{display:"flex",flexDirection:"column",paddingTop:"0 !important"},title:{fontWeight:be,fontSize:Me,lineHeight:"54px",color:me,fontFamily:br,[ir.breakpoints.down("xs")]:{fontSize:Pe,lineHeight:"49px"}},TypographyMenuHeading:{display:"block",clear:"both",fontWeight:fe,fontSize:"19px !important",color:me,padding:"7px 0 0 0px",marginLeft:"147px",fontFamily:br,[ir.breakpoints.down("xs")]:{marginLeft:"32px"}},menuOption:{display:"block",clear:"both",whiteSpace:"normal",padding:"7px 0!important",fontSize:"19px",lineHeight:"37px",color:me,marginLeft:"147px",fontFamily:br,width:"35%",textDecoration:"none","&:last-child":{borderBottom:"1px solid #1F3A93"},[ir.breakpoints.down("xs")]:{fontSize:Re,lineHeight:"37px",marginLeft:"32px",width:"50%",padding:"0 0!important"}},mobileMenuLink:{display:"flex",alignItems:"center",width:"100%",minHeight:"48px",padding:"12px 16px",boxSizing:"border-box",backgroundColor:"transparent",color:Q,opacity:"1 !important",textDecoration:"none"},menuTitle:{fontSize:"16px !important",fontWeight:be,textTransform:"capitalize",color:Q,textDecoration:"none !important",fontFamily:br,"&:last-child":{paddingRight:"20px"}},MenuOpenClass:{color:Q},MenuCloseClass:{color:Y},ExpansionPanelSummaryBackGroundDisabled:{backgroundColor:"transparent",color:Q,opacity:"1 !important",pointerEvents:"all !important"},divider:{display:"block !important",backgroundColor:me,marginLeft:"125px",width:"240px",marginTop:"20px",marginBottom:"15px",[ir.breakpoints.down("sm")]:{marginLeft:"16
1px"},[ir.breakpoints.up("md")]:{marginLeft:"125px"}},joinContactSection:{display:"flex",flexDirection:"column",marginLeft:"125px",[ir.breakpoints.down("xs")]:{marginLeft:"16px"},"& .join":{display:"inline-block",cursor:"pointer",textDecoration:"none",fontSize:"17px",lineHeight:"37px",textAlign:"right",fontFamily:br,color:me,[ir.breakpoints.up("md")]:{fontSize:"19px",lineHeight:"42px"}}},btnLoginDivMenuClose:{display:"inline-block !important",marginTop:"17px",[ir.breakpoints.down("sm")]:{marginTop:"13px"}},btnLoginDivMenuOpen:{display:"none"},closeIcon:{fill:"#FF4500 !important",fontSize:"45px"},footerMenuOpen:{position:"fixed",left:0,bottom:0,width:"100%",backgroundColor:me,fontFamily:br,height:"141px",display:"flex",justifyContent:"space-between",paddingLeft:"126px",paddingRight:"126px",[ir.breakpoints.down("sm")]:{paddingLeft:"16px",paddingRight:"16px",height:"118px"},[ir.breakpoints.up("sm")]:{paddingLeft:"126px",paddingRight:"126px",height:"141px"},"& .MuiGrid-item":{alignSelf:"center"},"& .support":{fontSize:Be,lineHeight:"30px",alignItems:"center",color:de,display:"inline-block",cursor:"pointer",textDecoration:"none",textAlign:"right",fontFamily:br,height:"16px",marginBottom:"28px",fontWeight:600,[ir.breakpoints.down("sm")]:{fontSize:Oe,marginBottom:"20px"},[ir.breakpoints.up("sm")]:{marginBottom:"28px",fontSize:Be}},"& .contactAnchor":{fontSize:Me,lineHeight:"30px",display:"flex",alignItems:"center",letterSpacing:"0.04em",color:pe,height:"16px",textDecoration:"none",fontWeight:600,fontFamily:br,[ir.breakpoints.down("sm")]:{fontSize:Te},[ir.breakpoints.up("sm")]:{fontSize:Me}}},footerMenuClose:{display:"none"}}));function vr(e){const t=fr(),{MenuData:i}=e,r=[];if(null!=i)for(let a=0;a<i.length;a++)r[a]="true";const[l,o]=n.useState(!1),[c,s]=n.useState(!1),[d,u]=n.useState(r),p=(e,t)=>(a,n)=>{s(!!n&&e);const i=d.map((e,a)=>a===t?`${n}`:"true");u(i)};function g(){o(!1)}return n.createElement("div",{className:`mobile-menu-container ${t.root}`,id:"mobile_menu_id","data-testid":"mobile_menu_id"},n.createElement(pn.Ay,null),n.createElement("nav",{"aria-label":"Utility navigation","aria-hidden":l,hidden:l,className:l?t.btnLoginDivMenuOpen:t.btnLoginDivMenuClose},n.createElement("ul",{className:t.navigationList},n.createElement("li",{className:t.navigationListItem},n.createElement(P.A,{onClick:()=>{(0,H.T$)(!1)},variant:"contained",className:"loginId",id:"login_id_unauth_mobile"},"LOG IN")))),n.createElement(hr.A,null,n.createElement(F.A,{color:"inherit","aria-label":"open drawer","aria-controls":"mobile-primary-navigation","aria-expanded":l,edge:"start",onClick:()=>{o(!l),e.hideBannerOnMenuOpen&&e.hideBannerOnMenuOpen(l)}},l?n.createElement("img",{src:a(51786),alt:"close_menu",id:"close_icon_menu_id"}):n.createElement("img",{src:a(84828),alt:"hamburger_menu",id:"hamburger_menu_icon_id"}))),n.createElement(dn.Ay,{className:t.drawer,variant:"temporary",anchor:"right",open:l,classes:{paper:t.drawerPaper}},n.createElement("nav",{"aria-label":"Primary navigation",id:"mobile-primary-navigation",className:t.primaryNavigation},n.createElement(Rn.A,null),n.createElement("ul",{className:t.navigationList},null!=i&&i.map((e,a)=>{const r=c===`panel+${a}`,l="false"===d[a]?t.MenuCloseClass:"",o=r?t.MenuOpenClass:l,s=e.openUrlInANewWindow?n.createElement("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:t.mobileMenuLink,onClick:()=>{g()}},n.createElement(W.A,{component:"span",className:t.title},e.title)):n.createElement(m.N_,{to:e.url,className:t.mobileMenuLink,onClick:()=>{g()}},n.createElement(W.A,{component:"span",className:t.title},e.title));return n.createElement("li",{className:t.navigationListItem,key:a},i&&e&&e.columns&&e.columns.length>0?n.createElement(vn.A,{expanded:c===`panel+${a}`,elevation:0,onChange:p(`panel+${a}`,a),disableGutters:!0,square:!0},n.createElement(An.A,{component:"button",type:"button","aria-controls":`panel-${a}-content`,"aria-expanded":c===`panel+${a}`,id:`panel-${a}-header`,className:o,expandIcon:c===`panel+${a}`?n.createElement(yr.A,{fontSize:"small",style:{verticalAlign:"middle"}}):n.createElement(Er.A,{fontSize:"small",style:{verticalAlign:"middle"}})},n.createElement(W.A,{component:"span",className:t.title},e.title)),n.createElement(n.Fragment,null,e.columns.map(e=>{var a;return n.createElement(Nn.A,{key:e.heading||e.url,className:t.ExpansionPanelDetails},null!=(null===e||void 0===e?void 0:e.heading)&&n.createElement(W.A,{className:t.TypographyMenuHeading},e.heading),null===(a=e.items)||void 0===a?void 0:a.map(e=>{const a={className:t.menuOption,onClick:g};return e.openUrlInANewWindow?n.createElement("a",Object.assign({key:e.url,href:e.url,target:"_blank",rel:"noopener noreferrer"},a),e.title):n.createElement(m.N_,Object.assign({key:e.url,to:e.url},a),e.title)}))}))):s)}))),n.createElement("nav",{"aria-label":"Utility navigation"},n.createElement(Rn.A,{className:t.divider}),n.createElement("ul",{className:t.navigationList},n.createElement("li",{className:t.navigationListItem},n.createElement(b.Ay,{container:!0,justifyContent:"flex-start",className:`${t.joinContactSection} join-contact-section`},n.createElement(b.Ay,{item:!0},n.createElement(m.N_,{to:"/join",className:"join",id:"menu_joinId",onClick:()=>{g()}},"Join")))),n.createElement("li",{className:t.navigationListItem},n.createElement(b.Ay,{className:l?t.footerMenuOpen:t.footerMenuClose},n.createElement(b.Ay,{item:!0},n.createElement(m.N_,{to:"/support",className:"support",id:"menu_supportId",onClick:()=>{g()}},"Support"),n.createElement("a",{href:"tel:1.844.552.7444",className:"contactAnchor"},"1.844.552.7444"))))))))}var Ar=a(99412);function Nr(e){const t=_t.R8,a=localStorage.getItem(t),i=a&&(0,H.s6)(a)?JSON.parse(a):null,{BannerData:r,isPreview:l}=e,[o,c]=n.useState(!0),[s,m]=n.useState(!1),d=!(!i||!Object.values(i))&&(0,H.wQ)(i,"bannerId",r.bannerId),u=!(!i||!Object.values(i))&&(0,H.wQ)(i,"isBannerStatus",!0),p=!(!i||!Object.values(i))&&(0,H.wQ)(i,"bannerExpanded",!0);if(n.useEffect(()=>{r.bannerId!==(i&&i.bannerId)?(localStorage.setItem(t,JSON.stringify({bannerId:r.bannerId,bannerExpanded:!0})),m(!0)):r.bannerId&&d&&p?m(!0):m(!(d||u||p))},[]),!l&&u&&r.bannerId===(i&&i.bannerId))return n.createElement("div",null);let g="",h="";switch(r.severityLevel){case"Urgent":g="#e74848",h="#fff";break;case"Important":g="#fee429",h="#332526";break;default:g="#1F3A93",h="white"}const E={width:"100%",color:h,backgroundColor:g,textAlign:"center",padding:".75em 4em .125em 4em",position:"relative",zIndex:1},y={color:h};return n.createElement("div",{id:"banner"},n.createElement(Ar.A,{in:o,style:E},n.createElement("div",{style:{position:"absolute",top:".625em",right:".625em"}},n.createElement(F.A,{id:"closeBanner","aria-label":"close",color:"inherit",size:"medium",onClick:()=>{c(!1),localStorage.setItem(t,JSON.stringify({bannerId:r.bannerId,bannerExpanded:!1,isBannerStatus:!0}))}},n.createElement($.A,{fontSize:"inherit"}))),n.createElement("div",{style:{display:"inline"}},n.createElement("div",{style:{fontWeight:700},id:"bannerTitle"},r.articleLink?n.createElement("a",{href:"/article/"+r.articleLink,target:"_blank",rel:"noopener noreferrer",id:"bannerTitleLink",style:y},r.title):r.title),n.createElement(Ar.A,{in:s},n.createElement("div",{id:"bannerDescription",dangerouslySetInnerHTML:(0,H.R2)(r.body)})),n.createElement(F.A,{id:s?"collapseBanner":"expandBanner","aria-label":s?"collapse":"expand",color:"inherit",size:"small",onClick:function(){s?(localStorage.setItem(t,JSON.stringify({bannerId:r.bannerId,bannerExpanded:!1})),m(!1)):m(!0)}},s?n.createElement(Tn.A,{"aria-label":"collapse"}
1):n.createElement(Cn.A,{"aria-label":"expand"})))))}function Sr(e){const t=(0,s.zy)(),[a,i]=(0,n.useState)(null),[r,l]=(0,n.useState)(null),[o,c]=(0,n.useState)(!0),[d,u]=(0,n.useState)(!1),p=e.menuPreviewData,g=e.bannerPreviewData,[h,E]=(0,n.useState)(!1),y=Vt(),f=Gt(),v=qt(),A=y||f;return(0,n.useEffect)(()=>{if(p&&p.menuTitles.length>0)i(p.menuTitles);else{const e="/listarticles"!==(null===t||void 0===t?void 0:t.pathname);E(e),(0,xt.y)(!0,mr).then(e=>{i(e.menuTitles),E(!1)}).catch(()=>{E(!1)})}},[p]),(0,n.useEffect)(()=>{g?(u(!0),l(g)):(0,xt.y)(!0,dr).then(l).catch(console.log)},[g]),n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),o&&r&&n.createElement(Nr,{BannerData:r,isPreview:d}),n.createElement(Xi.A,{position:"sticky",color:"transparent",className:"appbarid",elevation:4},n.createElement(b.Ay,{container:!0,className:"header_section_container",justifyContent:"space-between",alignContent:"center"},n.createElement(b.Ay,{item:!0},n.createElement(Zi,{href:"/"})),n.createElement(b.Ay,{container:!0,justifyContent:"flex-end",className:"rightSectionHeader"},v&&n.createElement("nav",{"aria-label":"Utility navigation",className:"utility-navigation"},n.createElement(b.Ay,{component:"ul",container:!0,justifyContent:"flex-end",className:"utility-navigation-list"},n.createElement(b.Ay,{component:"li",item:!0},n.createElement(m.N_,{to:"/support",className:"join",id:"menu_desktop_supportId"},"Support")),n.createElement(b.Ay,{component:"li",item:!0},n.createElement(m.N_,{to:"/join",className:"join",id:"menu_desktop_joinId"},"Join")),n.createElement(b.Ay,{component:"li",item:!0,className:"btnLoginDiv"},n.createElement(P.A,{onClick:()=>{(0,H.T$)(!1)},variant:"contained",className:"loginId",id:"login_id_unauth"},"LOG IN")))),h?n.createElement(sa,null):null,A&&a&&n.createElement(vr,{MenuData:a,hideBannerOnMenuOpen:function(e){c(e)}})),(h||v&&a)&&n.createElement(b.Ay,{container:!0,justifyContent:"flex-end"},h?n.createElement(sa,null):null,v&&a&&n.createElement(b.Ay,{item:!0,xl:12},n.createElement(sr,{MenuData:a}))))))}var wr=a(22389);const xr="banner";const _r=["/dashboard","/appeal-fine","/report-a-violation","Start a Brokerage","RE Technology","/manage/officenews","/manage/associationnews","Add Bright MLS News","/contact-us","/request-visit","/bright-feedback","http://www.rateplug.com/rateplug.asp?name=BRIGHTMLS","http://setup-sso.showingtime.com","http://www.getsmartcharts.com/statistics"];var kr=a(36791);function Cr(e){const{isUserAuthenticated:t}=(0,n.useContext)(kr.c),{isReady:a,hasFeature:i}=(0,Rt.d)(),[r,l]=(0,n.useState)(null),[o,s]=(0,n.useState)(!1),[m,d]=(0,n.useState)(!1),u=(0,n.useRef)(!1);function p(e,t,a){window.InitMenu(e,t,a,!1,!0)}function g(e,t,a){const n=document.getElementsByName("usernameloggedinuserid");if(n&&n.length>0){const i=n[0].innerText.replace("ID: ","");t>0&&t!==parseInt(i)&&p(e,t,a)}else p(e,t,a)}function h(e,t,a,n){n&&"N"!==a||"N"===a?p(e,t,a):g(e,t,a),window.localStorage.setItem("lasturl",window.location.pathname)}function E(){return!0}function y(e){if(e&&e.toElement.defaultValue)return Number(e.toElement.defaultValue)}function b(e){if(e.toElement.attributes.id){const t=Number(e.toElement.attributes.id.value);if(t){const e=(0,H.Gv)();!function(e,t,a){const n=Number(e);a||void 0!==(0,H.iO)("brightmlssubscriber")&&null!==(0,H.iO)("brightmlssubscriber")&&(0,H.iO)("brightmlssubscriber")>0&&(t=(0,H.iO)("brightmlssubscriber"));let i="Y";_r.includes((0,H.bp)())&&(i="N"),t>0&&n!==t&&"Y"===i?h(n,t,"Y",a):t>0&&n===t?a?h(n,t,"Y",a):g(n,t,"Y"):t>0&&n!==t&&"N"===i?h(n,n,"N",a):t>0&&n===t&&"N"===i&&(a?h(n,t,"Y",a):g(n,t,"Y"))}(e&&Number(e["custom:MemberMlsId"]),t,!0)}}else window.ShowMorePopup(),setTimeout(()=>{const e=document.getElementById("actingAsSubscribers"),t=document.getElementsByClassName("ui-widget ui-bn-btn ui-bn-btn-info");if(t.forEach((e,a)=>{t[a].addEventListener("click",E),t[a].click()}),e){const e=document.getElementsByName("subscriber");e.forEach((t,a)=>{e[a].addEventListener("click",y)})}},1e3)}function f(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const t=(0,H.Gv)();let a="Y";_r.includes((0,H.bp)())&&(a="N"),null!==t&&void 0!==t&&t["custom:MemberMlsId"]?(window.InitMenu(Number(t["custom:MemberMlsId"]),Number((0,H.Ap)("brightmlssubscriber")),a,!1,!0),(0,H.TV)("brightmlsAWSLoggedIn",t["custom:MemberMlsId"],1),setTimeout(()=>{!function(){const e=document.getElementsByClassName("ActingAsSubscriberChanged");e&&e.length>0&&e.forEach((t,a)=>{e[a].addEventListener("click",b)})}()},4e3)):e<10?setTimeout(()=>f(e+1),1e3):window.InitMenu(Number(null===t||void 0===t?void 0:t["custom:MemberMlsId"]),Number((0,H.Ap)("brightmlssubscriber")),a,!1,!0)}return(0,n.useEffect)(()=>{(async()=>{const e=(0,H.OF)()&&t;if(t){if(!e){var a;const e=await c.N.currentAuthenticatedUser();null!==e&&void 0!==e&&null!==(a=e.signInUserSession)&&void 0!==a&&a.idToken&&(localStorage.setItem(_t.TL,e.signInUserSession.idToken.jwtToken),d(!0))}}else(0,H.T$)()})()},[]),(0,n.useEffect)(()=>
1{if(m){!function(){const e=`${_t.Ay.megaMenuURL}js/brightmlsmenu.js`;if(document.querySelector(`script[src="${e}"]`))return;const t=document.createElement("script");t.src=e,t.async=!0,t.onload=()=>f();const a=document.createElement("link");a.href=`${_t.Ay.megaMenuURL}css/brightmlsmenu.min.css`,a.type="text/css",a.rel="stylesheet",document.getElementsByTagName("head")[0].appendChild(t),document.getElementsByTagName("head")[0].appendChild(a)}();const{previewData:t,megaMenuPreviewData:a}=e;a&&(window.megaMenuPreviewData=a);const n=(0,H.Gv)();null==n||u.current||(u.current=!0,window.pendo.initialize({visitor:{id:n["custom:MemberMlsId"],name:n.MemberPreferredFirstName+" "+n.MemberPreferredLastName,email:n.email,role:n.MemberSubType,association:n.MemberAssociationPrimary,county:n.OfficeCounty},account:{id:n.OfficeMlsId,name:n.BrokerOfficeName}})),t?(l(t),s(!0)):async function(){try{const e=(0,Ve.DU)();return(await wr.A.get(`${_t.Ay.awsConfiguration.bcomContentfulAPIEndpoint}/${xr}?rand=${e}`,(0,Ve.Vh)(!1))).data}catch(e){}}().then(e=>{l(e)}).catch(()=>{})}},[m]),(0,n.useEffect)(()=>{m&&a&&i(_t.$v.BCOM_AI)&&function(){if(!_t.Ay.assistantUrl)return;if(document.querySelector(`script[src="${_t.Ay.assistantUrl}"]`))return;const e=document.createElement("script");e.src=_t.Ay.assistantUrl,e.async=!0,document.head.appendChild(e)}()},[m,a]),window.signout=function(e){e.preventDefault();const t=(0,H.Gv)();localStorage.removeItem(_t.TL),(0,H.TV)(_t.Ub,"",0),(0,H.VW)(),c.N.signOut().then(()=>{(0,H.Du)(`brightmlsmenuconfig_${t["custom:MemberMlsId"]}`),sessionStorage.clear(),(0,H.o7)()}).catch(()=>{window.location.reload()})},n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),r&&n.createElement(Nr,{BannerData:r,isPreview:o}),n.createElement(Xi.A,{position:"sticky",color:"transparent",className:"appHeaderbarid",elevation:0,id:"authenticatedHeaderId"},n.createElement("div",{id:"insertBefore"})))}const Tr=(0,q.A)(e=>{var t,a,n,i,r,l,o,c,s,m,d,u,p,g;return{title:{[null===(t=e.breakpoints)||void 0===t||null===(a=t.down)||void 0===a?void 0:a.call(t,"md")]:{fontSize:`${Be} !important`},[null===(n=e.breakpoints)||void 0===n||null===(i=n.only)||void 0===i?void 0:i.call(n,"xs")]:{fontSize:`${Be} !important`}},mobileContent:{display:"none",[null===(r=e.breakpoints)||void 0===r||null===(l=r.down)||void 0===l?void 0:l.call(r,"sm")]:{display:"block"}},right:{[null===(o=e.breakpoints)||void 0===o||null===(c=o.only)||void 0===c?void 0:c.call(o,"xs")]:{padding:"0px 70px !important"}},left:{[null===(s=e.breakpoints)||void 0===s||null===(m=s.only)||void 0===m?void 0:m.call(s,"xs")]:{padding:"0px 65px 0 !important"}},imageContainer:{[null===(d=e.breakpoints)||void 0===d||null===(u=d.only)||void 0===u?void 0:u.call(d,"xs")]:{paddingTop:"40px"}},topContainer:{[null===(p=e.breakpoints)||void 0===p||null===(g=p.only)||void 0===g?void 0:g.call(p,"xs")]:{paddingBottom:"60px"}}}}),Ir=Tr,Lr=e=>{const t=Ir(),{title:a="",topVideo:i=null,topSubtitleTagline:r="",topShortDescription:l="",topImage:o="",topButtonLabel:c="",topButtonLink:s=""}=e.data;return n.createElement(b.Ay,{container:!0,justifyContent:"center",className:`top-section-container ${t.topContainer}`},n.createElement(b.Ay,{item:!0,lg:7,md:7,sm:10},n.createElement(b.Ay,{container:!0,justifyContent:"center"},n.createElement(b.Ay,{item:!0,lg:6,md:6,sm:12,className:`right ${t.right}`},n.createElement("h1",{id:"top-title",className:`title ${t.title}`},a),n.createElement("h3",{id:"top-sub-title",className:"subtitle"},r),n.createElement("div",{id:"top-description",className:"description",dangerouslySetInnerHTML:(0,H.R2)(l)})),n.createElement(b.Ay,{item:!0,lg:6,md:6,sm:12,className:`left ${t.left}`},i?n.createElement("div",{id:"top-video",className:"video",dangerouslySetInnerHTML:(0,H.R2)(i)}):n.createElement("div",{id:"top-image",className:`image-container ${t.imageContainer}`},n.createElement("img",{src:o,alt:"top-image"})),n.createElement(P.A,{id:"top-button-link",href:s,className:"orange-button"},c)))))},Br=(0,q.A)(e=>{var t,a,n,i,r,l,o,c;return{title:{[null===(t=e.breakpoints)||void 0===t||null===(a=t.only)||void 0===a?void 0:a.call(t,"xs")]:{fontSize:`${Le} !important`,marginTop:"30px !important"},[null===(n=e.breakpoints)||void 0===n||null===(i=n.only)||void 0===i?void 0:i.call(n,"sm")]:{fontSize:`${Le} !important`,marginTop:"25px !important"}}
1,desktop:{display:"flex",[null===(r=e.breakpoints)||void 0===r||null===(l=r.down)||void 0===l?void 0:l.call(r,"sm")]:{display:"none !important"}},mobile:{display:"none",[null===(o=e.breakpoints)||void 0===o||null===(c=o.down)||void 0===c?void 0:c.call(o,"sm")]:{display:"flex !important"}}}}),Dr=Br,Mr=e=>{const{featuredList:t,featuredListImage:a,reverse:i=!1}=e,r=Dr();function l(){return n.createElement(b.Ay,{container:!0,justifyContent:"center",item:!0,sm:11,xs:11},n.createElement(b.Ay,{container:!0,className:"list",justifyContent:"center"},n.createElement(b.Ay,{item:!0,container:!0,lg:10,md:10,xs:11,className:"featured-list",justifyContent:"center"},n.createElement("div",{dangerouslySetInnerHTML:(0,H.R2)(t)}))))}function o(){return n.createElement(b.Ay,{item:!0,lg:6,md:6,sm:12,xs:12},n.createElement("div",{className:"featured-image-container"},n.createElement("img",{src:a,alt:"featured-image-1"})))}return n.createElement(n.Fragment,null,n.createElement(b.Ay,{container:!0,className:`featured-list-image ${i?"reverse":""} ${r.desktop}`},n.createElement(b.Ay,{item:!0,lg:6,md:6,sm:12,xs:12},n.createElement(b.Ay,{container:!0,className:"list"},n.createElement(b.Ay,{item:!0,lg:10,md:10,className:"featured-list"},n.createElement("div",{dangerouslySetInnerHTML:(0,H.R2)(t)})))),n.createElement(b.Ay,{item:!0,lg:6,md:6,sm:12,xs:12},n.createElement("div",{className:"featured-image-container"},n.createElement("img",{src:a,alt:"featured-image-1"})))),n.createElement(b.Ay,{container:!0,className:`featured-list-image ${i?"reverse":""}  ${r.mobile}`},i?o():l(),i?l():o()))},Pr=e=>{const{firstFeatureList:t,firstFeatureListImage:a,secondFeatureList:i,secondFeatureListImage:r}=e.data,l=Dr();return n.createElement(n.Fragment,null,n.createElement(b.Ay,{className:l.desktop,container:!0,justifyContent:"center"},n.createElement(b.Ay,{container:!0,justifyContent:"center",item:!0,lg:9,md:9,sm:11,xs:11,className:"featured-section-container"},n.createElement(b.Ay,{container:!0,item:!0,lg:11,md:11,sm:10,xs:12,justifyContent:"center"},n.createElement("h2",{id:"feature-title-desktop",className:`${l.title} title`},"Features")),t&&a?n.createElement(Mr,{featuredList:t,featuredListImage:a}):"",n.createElement(b.Ay,{container:!0,justifyContent:"center",className:"line-divider"},n.createElement(b.Ay,{className:"line"})),i&&r?n.createElement(Mr,{reverse:!0,featuredList:i,featuredListImage:r}):"")),n.createElement(b.Ay,{className:l.mobile,container:!0,justifyContent:"center"},n.createElement(b.Ay,{container:!0,justifyContent:"center",item:!0,md:10,sm:11,xs:10,className:"featured-section-container"},n.createElement(b.Ay,{container:!0,item:!0,xs:11},n.createElement(b.Ay,{container:!0,item:!0,lg:11,md:11,sm:10,xs:12,justifyContent:"flex-start"},n.createElement("h2",{id:"feature-title-mobile",className:`${l.title} title`},"Features")))),n.createElement(b.Ay,{container:!0,md:10,sm:11,xs:10,item:!0,className:"featured-section-container"},t&&a?n.createElement(Mr,{featuredList:t,featuredListImage:a}):"",n.createElement("div",{className:"line-divider"},n.createElement("div",{className:"line"})),i&&r?n.createElement(Mr,{reverse:!0,featuredList:i,featuredListImage:r}):"")))},Rr=(0,q.A)(e=>{var t,a,n,i,r,l,o,c,s,m;return{deskTopContent:{display:"block !important",[null===(t=e.breakpoints)||void 0===t||null===(a=t.down)||void 0===a?void 0:a.call(t,"sm")]:{display:"none !important"}},mobileContent:{display:"none !important",[null===(n=e.breakpoints)||void 0===n||null===(i=n.down)||void 0===i?void 0:i.call(n,"sm")]:{display:"block !important"}},title:{[null===(r=e.breakpoints)||void 0===r||null===(l=r.down)||void 0===l?void 0:l.call(r,"md")]:{fontSize:Le+" !important"},[null===(o=e.breakpoints)||void 0===o||null===(c=o.only)||void 0===c?void 0:c.call(o,"xs")]:{fontSize:Le+" !important",textAlign:"center"},[null===(s=e.breakpoints)||void 0===s||null===(m=s.only)||void 0===m?void 0:m.call(s,"sm")]:{fontSize:Le+" !important",textAlign:"center"}},subTitle:{fontSize:Ie,textAlign:"center",margin:0,fontWeight:ve}}}),Or=Rr,Ur=e=>{const{planSectionTitle:t="",planContentforDesktop:a="",planContentforMobile:i="",planSectionSubTitle:r=""}=e.data,l=Or();return n.createElement(b.Ay,{container:!0,justifyContent:"center",className:"plan-section-container"},n.createElement(b.Ay,{item:!0,lg:10,md:10,sm:10,xs:10,justifyContent:"center",container:!0},n.createElement("h2",{id:"plan-title-desktop",className:`title ${l.title}`},t)),n.createElement(b.Ay,{item:!0,lg:10,md:10,sm:10,xs:10,justifyContent:"center",container:!0},n.createElement("h3",{id:"plan-sub-title-mobile",className:l.subTitle},r)),n.createElement(b.Ay,{item:!0,lg:7,md:7,sm:12,container:!0,justifyContent:"center",className:"table-section"},a?n.createElement("div",{id:"plan-content-desktop",className:`${l.deskTopContent} desktop-content`,dangerouslySetInnerHTML:(0,H.R2)(a)}):"",i?n.createElement(b.Ay,{item:!0,container:!0,md:7,sm:10,xs:10,justifyContent:"center",id:"plan-content-mobile",className:`${l.mobileContent} mobile-content`,dangerouslySetInnerHTML:(0,H.R2)(i)}):""))};const Fr=e=>{const{pageName:t=""}
1=(0,s.g)(),[a,i]=(0,n.useState)(null),[r,l]=(0,n.useState)(null),[o,c]=(0,n.useState)(null),[m,d]=(0,n.useState)(!1);function u(e){i({...a,title:e.title,topSubtitleTagline:e.topSubtitleTagline,topShortDescription:e.topShortDescription,topImage:e.topImage,topButtonLabel:e.topButtonLabel,topButtonLink:e.topButtonLink,topVideo:e.topVideo}),l({...r,firstFeatureList:e.firstFeatureList,firstFeatureListImage:e.firstFeatureListImage,secondFeatureList:e.secondFeatureList,secondFeatureListImage:e.secondFeatureListImage}),c({...o,planSectionTitle:e.planSectionTitle,planSectionSubTitle:e.planSectionSubTitle,planContentforDesktop:e.planContentforDesktop,planContentforMobile:e.planContentforMobile})}async function p(e){try{const t=await async function(e){return await(0,Fa.RS)(`${_t.Ay.awsConfiguration.bcomContentfulAPIEndpoint}/Product/dashboard/premium/${e}`,!0)}(e);t?(document.title=`${t.topTitle} | Bright MLS`,u(t)):d(!0)}catch(t){}}return(0,n.useEffect)(()=>{e.premiumPreviewData?(document.title=`${e.premiumPreviewData.topTitle} | Bright MLS`,u(e.premiumPreviewData)):p(t)},[]),n.createElement("div",{className:"premium-container"},m?n.createElement(_i,null):n.createElement(n.Fragment,null,a?n.createElement(Lr,{data:a}):"",r?n.createElement(Pr,{data:r}):"",o?n.createElement(Ur,{data:o}):""))};const $r=function(e){const{id:t}=e;return n.createElement(n.Fragment,null,n.createElement("div",{className:`${t} maxWidthContainer`,id:`${t}_maxWidthContainer`},n.createElement("div",{className:"maxWidth",id:`${t}_maxWidth`},e.children)))};function Wr(e){const{pathname:t}=(0,s.zy)(),{pageId:a,enableBack:i,pathName:r}=e,[l,o]=(0,n.useState)(!1),c=document.getElementById("app-children-containerId");return(0,n.useEffect)(()=>{o(!1),setTimeout(()=>{(c&&c.hasChildNodes()||(0,H.i$)())&&o(!0)},1e3)},[t]),n.createElement(n.Fragment,null,i&&l?n.createElement("div",{id:"backtoTop",className:"backtoTopContainer","data-pathname":r},n.createElement($r,{id:"backtoTop"},n.createElement(b.Ay,{className:"btt_cont",container:!0,alignItems:"center",justifyContent:"flex-end"},n.createElement(b.Ay,{className:"btt_cont_itm",item:!0,xs:12,lg:2,container:!0,alignItems:"center",justifyContent:"flex-start"},n.createElement("div",{className:"btt_cont_itm_btn"},n.createElement("span",{className:"textButton",onClick:e=>{const t=(e.target.ownerDocument||document).querySelector(a?`#${a}`:"#home_image_title_section_id");t&&t.scrollIntoView({behavior:"smooth",block:"start"})},tabIndex:0,role:"button","aria-label":"Back to Top"},"Back to Top")))))):null)}function Hr(e){const[t,a]=(0,n.useState)(null),{joinPreviewData:i}=e,r=e=>{e&&(a(e),document.title=`${e.title} | Bright MLS`,setTimeout(()=>{const e=document.getElementById("watch_video_button");if(e){const t=document.querySelector(".modal"),a=document.querySelector(".close-btn"),n=document.getElementById("playerid"),i=n.getAttribute("src"),r=document.getElementsByTagName("body");e.onclick=function(){t.style.display="block",r[0].style.overflow="hidden",r[0].setAttribute("aria-hidden","true"),r[0].setAttribute("tabindex","-1"),t.setAttribute("aria-hidden","false"),t.focus()},a.onclick=function(){t.style.display="none",n.setAttribute("src",""),n.setAttribute("src",i),r[0].style.overflow="auto",r[0].setAttribute("aria-hidden","false"),r[0].setAttribute("tabindex","0"),t.setAttribute("aria-hidden","true")},window.onclick=function(e){e.target==t&&(t.style.display="none",n.setAttribute("src",""),n.setAttribute("src",i),r[0].style.overflow="auto",r[0].setAttribute("aria-hidden","false"),r[0].setAttribute("tabindex","0"),t.setAttribute("aria-hidden","true"))}}},0))};return(0,n.useEffect)(()=>{window.scrollTo(0,0),i?r(i):(0,xt.y)(!0,pr).then(e=>{r(e)}).catch(()=>{a(null)})},[]),n.createElement(n.Fragment,null,n.createElement("div",{id:"join_conatiner"},n.createElement(b.Ay,{dangerouslySetInnerHTML:(0,H.R2)(t&&t.body||"")})))}const jr=(0,q.A)(()=>({root:{flexGrow:1,width:"100%",marginLeft:"auto",marginRight:"auto",padding:"5px"}})),zr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAMAAAAM7l6QAAAASFBMVEUAAAAeO5QeOpMfOpMfOZIgQI8gOI8fOpIfOZMeOZMfOpIfO5MeOpIfOpMeOpIeOpMcPI8fOZMgOpMfO5QgOJMfO5McOJMfOpMSWpGmAAAAF3RSTlMAn4/v3xAg7nCgYL9Qz4B/QL6AX0DPQK2vBVgAAAC+SURBVCjPhZJJEsMgDARlVhPj3Yn+/9NQWRBIUO5rIw3UABm7qadG1NMQQWBXjRmzutqOGivMWVqFAkV2wAZDNdudf2CHERLO9LS3Sa857MEPLkkbuosLYjwiaZH0gsBeUiUomJiuEmbQTFcJHlDoMqHSsqHW8m2i5TPXtqhgB0VaNq/gIv3fS0SwmrRl1RoAWLIedaMS6/ELl2jc5zLY4bz5TD9Cy4a7j8w7IPwIFe4oDujDgiCq3Sc1q4vkG4s9NKWgYLfpAAAAAElFTkSuQmCC";function Vr(e){const t=jr(),{headline:i,articles:r,ctaLink:l,ctaText:o}=e;return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),n.createElement("div",{id:"VideoSectionMainWrapperId"},n.createElement("div",{className:"maxWidthContainer"},n.createElement("div",{className:"maxWidth"},n.createElement(b.Ay,{container:!0,className:`${t.root} videoSectionMainContainer`,id:"videoSectionContainerId"},n.createElement(b.Ay,{item:!0,xs:12,className:"videoSectionContainer"},n.createElement(b.Ay,{container:!0,item:!0,justifyContent:"space-between",alignItems:"center",direction:"row",className:"headerTitle"},n.createElement(W.A,{className:"heading",variant:"h2",id:"allVideosHeadingId"},i),n.createElement(m.N_,{to:l||"/videoarticles?category=video",id:"allVideosLink",className:"textButton","aria-label":o||""},Vt()?"All":o||"")),n.createElement(b.Ay,{container:!0,spacing:2,className:"cardSectionContainer",direction:"row",justifyContent:"flex-start",alignItems:"flex-start"},Array.isArray(r)&&r.length>0?r.map((e,t)=>n.createElement(b.Ay,{item:!0,xs:12,sm:6,md:Yt()?6:4,key:t,className:"cardSection",id:`videoArticles${t}`},n.createElement(b.Ay,{container:!0,justifyContent:"flex-start",direction:"row",className:"innerCardSection"},n.createElement(b.Ay,{item:!0,className:"ImageConatiner",id:`imageArticleVideo-${t}`},e.imageUrl?n.createElement("img",{src:(0,H.kO)(e.imageUrl),className:"imageStyle",alt:"no image"}):n.createElement("img",{src:a(58480),className:"imageStyle_noImageVideo",alt:"no image"}),Vt()?null:n.createElement("div",{className:"imageVideoIconDiv"},n.createElement("img",{src:(0,H.kO)("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAAOVBMVEUAAAD8/Pz+/v7+/v7+/v7/////
1///+/v7+/v79/f39/f3////9/f3////9/f3////+/v7////+/v4mU7sgAAAAEnRSTlMAQN/vgCAQv6+gYM+Qj3Cf7m+CNf+ZAAAA+ElEQVQ4y4WV7Q6DIAwAS8vXRHHr+z/syEgWSovcXy4cgiJInM9IzFSyd7AkeOIBvIOpxYsVlvohNsBj9i5ecMls4iUlDmLhB5LqbusHb6jdC7gTqS/zNa7nIR54wB329HGakB2At0TfRJxECC8tEoDjSWwYfQfeEI1+hWyJup+hWKLuI5Al6j4Bm6LuP4vDQT2ko6cxjSvRiZGy3J40b0/VYq9KvDpCURUDNIutqsD5WF2vKu4mRiH2qiJA4xwTbHL3RyTegAF+1J14QEPEbU74k/ZXyv6SShFGzk1XvvmadwWF9TmfPatVFLN5oanfR6HmYP44EHwBPxFLrOMPzAUAAAAASUVORK5CYII="),className:"imageStyle-Icon",alt:"Video Icon"}))),n.createElement(b.Ay,{item:!0,className:"titleLink",xs:6},Vt()?n.createElement("div",{className:"imageVideoIconDivMobile"},n.createElement("img",{src:(0,H.kO)(zr),className:"imageStyleMobile-Icon",alt:"Video Icon"})):null,n.createElement(m.N_,{to:`/article/${e.articleNewsId}`,className:"textButton",id:`titleVideo-${t}`,"aria-label":e.title||""},e.title||""))))):null)))))))}var Gr=a(75421);const qr=e=>{const{search:t}=(0,s.zy)(),a=(0,n.useMemo)(()=>new URLSearchParams(t),[t]),{children:i,searchBottomView:r,setGlobalQueryString:l,clearSearchInput:o}=e,c=e.color?e.color:me,[m,d]=(0,n.useState)(""),[u,p]=(0,n.useState)(!1),g=e=>{if("Enter"===e.key||"click"===e.type)if(p(!1),l)l(m);else{a.delete("search");const e="/listarticles";m&&a.set("search",m);const t=`${e}?${a.toString()}`;window.location.href=t}};return(0,n.useEffect)(()=>{o&&(d(""),l&&l(null))}),n.createElement(n.Fragment,null,n.createElement("div",{id:"searchBar",className:"searchBar",style:{color:c}},e.preText?n.createElement(b.Ay,{container:!0,direction:"row",alignItems:"flex-end",id:"searchBar_preText_wrapper"},n.createElement(b.Ay,{container:!0,item:!0,justifyContent:"flex-start",alignItems:"center",xs:12,id:"searchBar_preText_container"},n.createElement(W.A,{className:"description preText",id:"searchBar_preText"},e.preText))):null,n.createElement(b.Ay,{container:!0,direction:"row",alignItems:"flex-end",id:"searchBar_container"},n.createElement(b.Ay,{id:"searchBar_container_item_lft",container:!0,item:!0,xs:12,sm:7,md:7,lg:6,direction:"row",justifyContent:"flex-start",alignItems:"center"},e.heading?n.createElement(W.A,{component:"h1",className:"heading",id:"searchBar_heading_h1",style:e.headingColor?{color:e.headingColor}:{}},e.heading):null),r?i:null,n.createElement(b.Ay,{id:"searchBar_container_item_rgt",container:!0,item:!0,xs:12,sm:5,md:5,lg:6,direction:"row",justifyContent:"flex-end",alignItems:"center"},e.label?n.createElement(La.A,{component:"form",role:"search","aria-label":"Search news articles",className:"searchInput",onSubmit:e=>{e.preventDefault()}},n.createElement(Gr.Ay,{autoComplete:"off",id:"searchBar_input",className:u?"input error":"input",placeholder:e.placeholder?e.placeholder:e.label,inputProps:{"aria-label":e.label||"Search articles",type:"search"},value:m,onChange:e=>{(e=>{d(e.target.value),""===e.target.value?(p(!0),l&&l(null)):p(!1)})(e)},onKeyDown:e=>{g(e)},onBlur:()=>{l&&""===m&&l(null)}}),e.searchBtn?n.createElement("div",{className:"search_btn_container"},n.createElement(F.A,{onClick:e=>{g(e)},type:"button",id:"searchBar_search_icon_btn",className:"search_btn","aria-label":e.searchBtn},n.createElement(Pa.A,{className:"search_icon","aria-hidden":"true"}))):null):null))))},Yr=e=>{const t="/article",{primaryPinnedArticle:a,secondaryPinnedArticles:i,urgentPinnedArticle:r,ctaLink:l,buttonText:o,brightNewsHeadline:c}=e;return n.createElement(n.Fragment,null,n.createElement("div",{id:"pinnedArticle",className:"pinnedArticle"},n.createElement("section",{id:"primaryPinnedArticle",className:a?"primaryPinnedArticle pinnedArticle_banner":"primaryPinnedArticle"},a&&a.imageUrl&&a.title?n.createElement("article",{id:"primaryPinnedArticle"},a.imageUrl?n.createElement("div",{className:"pinnedArticle_banner_container"},n.createElement("div",{className:"img_container"},n.createElement("img",{id:"pinnedArticle_banner_img",src:a.imageUrl,alt:o?`${o} image`:""}))):null,n.createElement(La.A,{className:"pinnedArticle_banner_text"},n.createElement(b.Ay,{container:!0,direction:"row",alignItems:"flex-start",justifyContent:"flex-start"},n.createElement(b.Ay,{item:!0,xs:12,lg:7},o&&l?n.createElement(La.A,{className:"preText_container"},n.createElement(m.N_,{to:l,id:"pinnedArticle_banner_preText",className:"description preText link"},o)):null,a.title?n.createElement(m.N_,{to:`${t}/${a.articleNewsId}`,className:"link_container"},n.createElement(W.A,{component:"h2",className:"heading link_item",id:"pinnedArticle_banner_heading"},a.title)):null,a.articleSummary?n.createElement("div",{className:"description_container"},n.createElement(W.A,{className:"description",id:"pinnedArticle_banner_description",dangerouslySetInnerHTML:(0,H.R2)(a.articleSummary),c
1omponent:"div"})):null,a.postDate?n.createElement(W.A,{component:"time",dateTime:a.postDate,className:"description postText",id:"pinnedArticle_banner_postDate"},(0,H.wU)(a.postDate,"MMMM DD, YYYY")):null)))):null),i&&i.length>=1&&l?n.createElement("section",{id:"secondaryPinnedArticles",className:"secondaryPinnedArticles","aria-label":"Secondary pinned articles"},n.createElement(b.Ay,{className:(1===i.length?"articles_container_12":"articles_container_6")+" articles_container",container:!0,direction:"row",alignItems:"center",justifyContent:"flex-end"},i.slice(0,2).map((e,a)=>n.createElement(b.Ay,{component:"article",key:a,id:"secondaryPinnedArticles_"+a,className:"articles_cards",container:!0,item:!0,xs:12,sm:12,md:12,lg:1===i.length?12:6,direction:"row",alignItems:Vt()?"flex-start":"center",justifyContent:"center"},n.createElement(b.Ay,{className:"articles_cards_left",item:!0,container:!0,xs:4,sm:4,md:4,lg:5,direction:"row",alignItems:"center",justifyContent:"flex-start"},e.imageUrl?n.createElement("div",{className:"img_container"},n.createElement("img",{id:`secondaryPinned_article_img_${a}`,src:e.imageUrl,alt:c?`${c} image`:""})):null),n.createElement(b.Ay,{className:"articles_cards_right",container:!0,item:!0,xs:8,sm:8,md:8,lg:7,direction:"row",alignItems:"center",justifyContent:"flex-start"},l&&c&&e.articleNewsId?n.createElement(m.N_,{to:`${t}/${e.articleNewsId}`,id:`secondaryPinned_article_category_${a}`,className:"description article_category link"},c):null,e.title?n.createElement(m.N_,{to:`${t}/${e.articleNewsId}`,id:`secondaryPinned_article_heading_link_${a}`,className:"link_container"},n.createElement(W.A,{component:"h3",className:"description article_heading link_item",id:`secondaryPinned_article_heading_${a}`},e.title)):null,e.postDate?n.createElement(W.A,{component:"time",dateTime:e.postDate,className:"description article_data",id:`secondaryPinned_article_data_${a}`},(0,H.wU)(e.postDate,"MMMM DD, YYYY")):null))))):null,r&&r.title&&l?n.createElement("section",{id:"urgentPinnedArticle",className:"urgentPinnedArticle"},n.createElement(b.Ay,{className:"articles_container",container:!0,direction:"row",alignItems:"flex-start",justifyContent:"flex-start"},n.createElement(b.Ay,{item:!0,sm:5,md:5,lg:5,component:"article"},r.title?n.createElement(m.N_,{to:`${t}/${r.articleNewsId}`,id:"urgentPinned_article_heading_link",className:"link_container"},n.createElement(W.A,{component:"h3",className:"heading link_item",id:"urgentPinned_article_heading"},r.title)):null),n.createElement(b.Ay,{item:!0,sm:7,md:7,lg:7},r.articleSummary?n.createElement("div",{className:"description_container"},n.createElement(W.A,{component:"div",className:"description",id:"urgentPinned_article_description",dangerouslySetInnerHTML:(0,H.R2)(r.articleSummary)})):null,n.createElement("div",{className:"textButton_container"},r.articleNewsId?n.createElement(m.N_,{to:`${t}/${r.articleNewsId}`,id:"urgentPinned_article_readMore",className:"textButton link","aria-label":"Read More"},"Read More"):null)))):null))},Kr=e=>{const{primaryPinnedArticle:t,secondaryPinnedArticles:a,brightNewsHeadline:i,urgentPinnedArticle:r,ctaLink:l,buttonText:o,title:c}=e.data;return n.createElement(n.Fragment,null,n.createElement("div",{id:"newsContainer",className:"newsContainer"},n.createElement("div",{className:"maxWidthContainer"},n.createElement("div",{className:"maxWidth"},c?n.createElement(qr,{heading:c,label:_t.Jf,placeholder:_t.Jf,searchBtn:_t.No}):null,t?n.createElement(Yr,{ctaLink:l,buttonText:o,primaryPinnedArticle:t,secondaryPinnedArticles:a,brightNewsHeadline:i,urgentPinnedArticle:r}):null))))};function Jr(e){const{labelLink:t,labelTitle:a,title:i,titleId:r,labelTitleId:l}=e;return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),n.createElement(b.Ay,{container:!0,item:!0,justifyContent:"space-between",alignItems:"center",direction:"row",className:"headerTitle"},n.createElement(W.A,{className:"heading",variant:"h2",id:`${r}`},i||""),n.createElement(m.N_,{to:`/${t}`,id:`${l}`,className:"textButton","aria-label":`${a}`},Vt()?"All":`${a}`)))}function Qr(e){const{elementID:t,bottomAction:a}=e;return n.createElement(b.Ay,{className:"bottom-action-container",tabIndex:-1},n.createElement(b.Ay,{container:!0,className:"bottom-action-section",tabIndex:-1},n.createElement(W.A,{variant:"h2",component:"h2",id:`${t}
1-h3-bottom-title`,className:"bottom-title",tabIndex:-1},a),n.createElement("div",{className:"card-title-img-hover"},n.createElement(Di.A,null))))}function Xr(e){const{elementID:t,url:a,params:i,bottomAction:r,showReadMore:l=!1}=e;return n.createElement(n.Fragment,null,l&&a?(0,H.i9)(a)?n.createElement("a",{tabIndex:0,onClick:e=>(0,H.Qi)(e,a,i),"aria-label":r||"",className:"card-bottom-action",id:`${t}-${t}-bottom-title`,href:a},n.createElement(Qr,{elementID:t,bottomAction:r})):n.createElement(m.N_,{tabIndex:0,className:"card-bottom-action",to:(0,H.n9)(a,i),"aria-label":r||"",id:`${t}-anchor_tag`},n.createElement(Qr,{elementID:t,bottomAction:r})):null)}function Zr(e){const{additionalSummary:t,title:i="",articleSummary:r="",elementID:l,imageUrl:o,postDate:c,url:s,params:d,bottomAction:u,showReadMore:p,disableLink:g}=e;return n.createElement(Li.A,{className:"card",component:"article",id:`${l}-card`},o?n.createElement(Hi.A,{className:"card_image",image:o,title:"Recent Article","aria-label":"card_image",id:`${l}-card_image`}):n.createElement(Hi.A,{className:"card_image_default",image:a(58480),title:"Recent Article","aria-label":"card_image",id:`${l}-card_image`}),n.createElement(Bi.A,null,n.createElement("div",{className:g?"card_title_container disableLink":"card_title_container",id:`${l}-container`},g?n.createElement(W.A,{gutterBottom:!0,variant:"h5",component:"h3",className:"card-title",id:`${l}-Card_title`},i):n.createElement(m.N_,{className:"card-bottom-action",to:(0,H.n9)(s,d),id:`${l}-anchor_tag`},n.createElement(W.A,{gutterBottom:!0,variant:"h5",component:"h3",className:"card-title",id:`${l}-Card_title`},i)),n.createElement(W.A,{className:"arrowIcon",id:`${l}-arrow_icon`},n.createElement(Di.A,null))),n.createElement(W.A,{variant:"body2",color:"textSecondary",component:"div",className:"card-sub-title",dangerouslySetInnerHTML:(0,H.R2)(r),id:`${l}-card-sub-title`}),c&&null!=c&&n.createElement(W.A,{variant:"body2",color:"textSecondary",component:"time",dateTime:c,className:"card-date",id:`${l}-card-date`},(0,H.wU)(c)),t?n.createElement(b.Ay,{className:"additionalSummary",dangerouslySetInnerHTML:(0,H.R2)(t)}):null,n.createElement(Xr,{elementID:l,bottomAction:u,url:s,params:d,showReadMore:p})))}function el(e){const{headline:t,articles:a}=e;return n.createElement(n.Fragment,null,n.createElement("section",{id:"brightNewsMainWrapperId"},n.createElement("div",{className:"maxWidthContainer"},n.createElement("div",{className:"maxWidth"},n.createElement(b.Ay,{container:!0,className:"brightNewsSectionMainContainer",id:"brightNewsSectionContainerId"},n.createElement(b.Ay,{item:!0,xs:12,className:"brightInnerSectionContainer"},n.createElement(Jr,{labelLink:"galleryarticles?category=bright-news",labelTitle:"ALL NEWS",title:t,titleId:"allBrightHeadingId",labelTitleId:"allBrightLink"}),n.createElement(b.Ay,{container:!0,spacing:4,className:"cardSectionContainer",direction:"row",justifyContent:"flex-start",alignItems:"flex-start"},a&&a.length>0&&a.map((e,t)=>n.createElement(b.Ay,{item:!0,xs:12,lg:4,key:t,className:"cardSection",id:`brightArticles${t}`},n.createElement(b.Ay,{container:!0,justifyContent:"flex-start",direction:"row",className:"innerCardSection"},n.createElement(Zr,{title:e.title,articleSummary:e.articleSummary?e.articleSummary:"<p></p>",imageUrl:e.imageUrl,postDate:e.postDate,elementID:`${t}-brightCard`,url:"/article",params:e.articleNewsId,body:""})))))))))))}const tl="/listarticles?category=product",al="/listarticles?category=market-report",nl=e=>{const{marketReportArticles:t,marketReportHeadline:a,marketReportImage:i}=e,r=t.map(e=>{const t=(0,H.wU)(e&&e.postDate);return{cardTitle:e.title,cardBody:e.articleSummary,cardButtonText:t,disableBottomLink:!0,ctaLink:`/article/${e.articleNewsId}`}});return t&&t.length&&a?n.createElement(b.Ay,{className:"news-landing-market-report maxWidthContainer",id:"news-landing-market-report",component:"section"},n.createElement(b.Ay,{container:!0,justifyContent:"space-between",className:"heading-section"},n.createElement(b.Ay,{item:!0,lg:6,xl:6,className:"heading "+(i?"":"hidden-image-heading")},n.createElement(b.Ay,{className:"headline"},n.createElement(W.A,{variant:"h2",id:"marketReportsHeading"},a),n.createElement(m.N_,{className:"all",id:"news-landing-market-report-all-reports-mobile-link",to:al},"ALL"))),n.createElement(b.Ay,{item:!0,lg:6,xl:6,sm:6,className:(i?"":"hidden-image-section")+" image"},n.createElement("img",{src:i,alt:a}
1))),n.createElement(b.Ay,{className:"bottom-section"},n.createElement(Fi,{className:"market-report-card-section",cards:r,elementId:"news-landing-market-report-card-section"}),n.createElement(b.Ay,{className:"all-reports",container:!0,justifyContent:"flex-end"},n.createElement(m.N_,{id:"news-landing-market-report-all-reports-link",to:al},"ALL REPORTS")))):null};function il(e){const{headline:t,articles:a}=e;return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),n.createElement(p,{id:"relaseNoteMainWrapperId"},n.createElement("div",{className:"maxWidthContainer"},n.createElement("div",{className:"maxWidth"},n.createElement(b.Ay,{container:!0,className:"releaseNotesSectionMainContainer",id:"releaseNotesSectionContainerId"},n.createElement(b.Ay,{item:!0,xs:12,className:"releaseInnerSectionContainer"},n.createElement(Jr,{labelLink:"listarticles?category=release-notes",labelTitle:"ALL NOTES",title:t,titleId:"realeaseNotesHeadingId",labelTitleId:"realeaseNotesLink"}),n.createElement(b.Ay,{container:!0,spacing:4,className:"cardSectionContainer",direction:"row",justifyContent:"flex-start",alignItems:"flex-start"},a&&a.length>0&&a.map((e,t)=>n.createElement(b.Ay,{item:!0,xs:12,lg:4,md:Yt()?6:4,sm:6,key:t,className:"cardSection",id:`releaseNotesCard${t}`},n.createElement(b.Ay,{container:!0,justifyContent:"flex-start",direction:"row",className:"innerCardSection"},n.createElement(Zr,{title:e.title,articleSummary:e.articleSummary?e.articleSummary:"<p></p>",imageUrl:null,postDate:e.postDate,elementID:t,url:"/article",params:e.articleNewsId,body:""})))))))))))}const rl=e=>{const{productUpdateImage:t,productUpdateArticles:a,productUpdateHeadline:i}=e,r=a.map(e=>{const t=(0,H.wU)(e&&e.postDate);return{cardTitle:e.title,cardBody:e.articleSummary,cardButtonText:t,disableBottomLink:!0,ctaLink:`/article/${e.articleNewsId}`}});return a&&a.length&&i&&t?n.createElement(b.Ay,{className:"product-updates-container maxWidthContainer",id:"news-landing-product-updates",component:"section","aria-label":i},n.createElement(b.Ay,{container:!0,justifyContent:"space-between",className:"heading-section"},n.createElement(b.Ay,{item:!0,xs:12,className:"heading"},n.createElement(b.Ay,{className:"headline"},n.createElement(W.A,{variant:"h2",id:"news-landing-product-update-headline"},i),n.createElement(m.N_,{className:"all",id:"news-landing-product-update-all-updates-mobile-link",to:tl},"ALL")))),n.createElement(b.Ay,{container:!0,direction:"row",role:"img",className:"image-section","aria-label":"product-updates",style:{backgroundImage:`url(${t?(0,H.kO)(t):""})`}}),n.createElement(b.Ay,{className:"bottom-section"},n.createElement(Fi,{className:"product-update-card-section",cards:r,elementId:"news-landing-product-update-card-section"}),n.createElement(b.Ay,{className:"all-updates",container:!0,justifyContent:"flex-end"},n.createElement(m.N_,{id:"news-landing-product-update-all-updates-link",to:tl},"ALL UPDATES")))):null};function ll(e){const[t,a]=(0,n.useState)(null),[i,r]=(0,n.useState)(!1),{newsPreviewData:l}=e;(0,n.useEffect)(()=>{window.scrollTo(0,0),document.title="News | Bright MLS",r(!0),l?(a(l),r(!1)):(0,Ve.lY)().then(e=>{r(!1),a(e)}).catch(()=>{r(!1),a(null)})},[]);const o=t&&t.marketReportHeadline||"",c=t&&t.marketReportArticles||[],s=t&&t.productUpdateArticles||[],m=t&&t.productUpdateHeadline||"",d=t&&t.productUpdateImage||"";return n.createElement("div",{className:"mainNewsLandingPage"},n.createElement(pn.Ay,null),i?n.createElement(sa,null):t&&n.createElement(n.Fragment,null,n.createElement(Kr,{data:t}),t.brightNewArticles&&t.brightNewArticles.length>0&&n.createElement(el,{articles:t.brightNewArticles,headline:t.brightNewsHeadline}),o&&c&&c.length?n.createElement(nl,{marketReportImage:t.marketReportImage,marketReportArticles:t.marketReportArticles,marketReportHeadline:t.marketReportHeadline}):null,t.videoArticles.length?n.createElement(Vr,{articles:t.videoArticles,headline:t.videoHeadline,ctaText:"All Videos",ctaLink:"/videoarticles?category=video"}):null,n.createElement(rl,{productUpdateHeadline:m,productUpdateArticles:s,productUpdateImage:d}),t.releaseNotesArticles.length>0?n.createElement(il,{articles:t.releaseNotesArticles,headline:t.releaseNoteHeadline}):null))}const ol=(0,q.A)({imageUrl:e=>({width:`${e.imageWidth?e.imageWidth:"550px"}`,height:`${e.imageHeight?e.imageHeight:"221px"}`,maxWidth:"100%",backgroundImage:`url(${e.imageSrc})`,backgroundSize:`${e.imageSize?e.imageSize:"100%"}`,backgroundPosition:`${e.imagePosition?e.imagePosition:"right bottom"}`,backgroundRepeat:"no-repeat"})}),cl=e=>{const t=ol(e);return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),e&&e.uid&&n.createElement(b.Ay,{container:!0,direction:e&&e.direction?e.direction:"row",alignItems:e.alignItems?e.alignItems:void 0,className:"fiftyFifty_container",id:e.uid+"_FiftyFifty_container"},n.createElement(b.Ay,{item:!0,xs:12,lg:6,id:e.uid+"_FiftyFifty_left_container",className:"fiftyFifty_left_container"},e.heading&&n.createElement(W.A,{className:`heading ${e.theme?e.theme:""}`,component:"h1",id:e.uid+"_fiftyFifty_heading"},e.heading),e.description&&n.createElement(W.A,{className:`description ${e.theme?e.theme:""}`,component:"p",id:e.uid+"_fiftyFifty_description",dangerouslySetInnerHTML:(0,H.R2)(e.description)})),n.createElement(b.Ay,{container:!0,item:!0,xs:12,lg:6,direction:"row",justifyContent:"center",alignItems:"flex-end",id:e.uid+"_FiftyFifty_right_container",className:"fiftyFifty_right_container"},e.imageSrc&&n.createElement("div",{className:`img_container ${t.imageUrl} ${e.theme?e.theme:""}`,id:e.uid+"_fiftyFifty_image","aria-label":e.imageAlt?e.imageAlt:""}))))},sl=e=>{const t=e.heading,a=e.description,i=e.imageSrc,r=e.imageAlt;return n.createElement(n.Fragment,null,n.createElement("div",{id:"market_pulse_intro",className:"market_pulse_intro"},n.createElement(La.A,{className:"maxWidth"},n.createElement(cl,{uid:"market_pulse_intro",heading:t,description:a,imageSrc:i,imageAlt:r}),n.createElement(Rn.A,{className:"divider"}))))};var ml=a(82083),dl=a(82313),ul=a(91446),pl=a(48685),gl=a(19180),hl=a(80381);const El=e=>{const t=e&&e.errorMsg?e.errorMsg:null,a=e&&e.marketData?e.marketData:null,i={HomesCameOnMarket:{name:"Homes came on the market"},BuyersActivelyWorkingWithAgent:{name:"Buyers were actively working with an agent"},AvgSellingPrice:{name:"Average listing price"},ShowingsRequested:{name:"Showings were requested"},OpenHousesHeld:{name:"Open houses were held"},AvgDaysOfHomesSold:{name:"Average for homes sold"},HomesUnderContract:{name:"Homes went under contract"}
1,AvgSoldPrice:{name:"Average sale price"}};return n.createElement(n.Fragment,null,n.createElement("div",{id:"market_pulse_forSale_timeline",className:"market_pulse_forSale_timeline"},n.createElement(ml.A,null,a&&i?Object.keys(i).map((e,r)=>{const l=a[e],o="number"===typeof l?Math.round(l):0,c="AvgSellingPrice"===e||"AvgSoldPrice"===e?"$":"";let s;return s="AvgDaysOfHomesSold"===e?o<2?" day":" days":"",n.createElement(dl.A,{key:r},n.createElement(ul.A,null),n.createElement(pl.A,null,n.createElement(gl.A,null)),n.createElement(hl.A,null,n.createElement("div",{className:"timeline_heading_container"},void 0===l||null===l||""===l||isNaN(Number(l))?n.createElement(W.A,{id:"timeline_error_msg"+r,className:"timeline_heading timeline_error_msg",align:"center",component:"h2"},t):n.createElement(W.A,{id:"timeline_heading"+r,className:"timeline_heading",align:"center",component:"h2"},c+o.toLocaleString()+s)),n.createElement(W.A,{id:"timeline_description"+r,className:"timeline_description",align:"center"},i[e].name)))}):null)))},yl=e=>{const t=e.snapShotData?e.snapShotData:"";return n.createElement(n.Fragment,null,n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{item:!0,container:!0,xs:12,direction:"column",justifyContent:"center",alignItems:"center"},n.createElement(W.A,{className:"heading",id:"market_pulse_forSale_title",align:"center"},"For Sale"),n.createElement(W.A,{className:"description",component:"p",id:"market_pulse_forSale_subTitle",align:"center"},t||""))))},bl=e=>{const t=e.disclaimer?e.disclaimer:"";return n.createElement(n.Fragment,null,n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{item:!0,container:!0,xs:12,direction:"column",justifyContent:"center",alignItems:"center"},n.createElement(W.A,{className:"heading disclaimer",component:"h2",id:"market_pulse_forSale_disclaimer",align:"center"},t))))},fl=[{name:"All Markets"},{name:"Delaware"},{name:"Maryland"},{name:"New Jersey"},{name:"Pennsylvania"},{name:"Virginia"},{name:"Washington D.C."},{name:"West Virginia"}],vl="Data not available at this time.",Al=e=>{const[t,a]=(0,n.useState)(null),[i,r]=(0,n.useState)(null),[l,o]=(0,n.useState)(null),[c,s]=(0,n.useState)(null),{defaultState:m}=e,d=(e,t)=>t.find(t=>t.Name.toLowerCase().replace(/[^A-Z0-9]+/gi,"")===e.toLowerCase().replace(/[^A-Z0-9]+/gi,""));(0,n.useEffect)(()=>{(0,xt.c)("Unauthenticated/sisenseMarketData.json").then(e=>{if(e){s(e.Markets);let t="All Markets";m&&(t=(0,H.mU)(m)),r(d(t,e.Markets)),o(t),a(e.MarketSnapshotDate)}}).catch(()=>{s(null),r(null),a(null)})},[e]);return n.createElement(n.Fragment,null,n.createElement("div",{id:"market_pulse_forSale",className:"market_pulse_forSale"},c&&n.createElement(La.A,{className:"maxWidth"},n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{item:!0,container:!0,xs:12,direction:"column",justifyContent:"center",alignItems:"center"},fl&&0!==Object.keys(fl).length&&l&&n.createElement("div",{className:"market_pulse_forSale_market_list_wrapper"},n.createElement("ul",{className:"market_pulse_forSale_market_list",id:"market_pulse_forSale_market_list"},Object.values(fl).map((e,t)=>e.name?n.createElement("li",{key:t,id:"market_pulse_forSale_market_list_"+t},n.createElement("button",{id:"market_pulse_forSale_market_ls_btn"+t,tabIndex:0,className:l===e.name?"active":"notActive",onClick:t=>{((e,t)=>{t.preventDefault(),r(d(e,c)),o(e)})(e.name,t)}},e.name)):null))))),n.createElement("div",{"aria-atomic":"true","aria-live":"assertive"},i&&t?n.createElement("div",null,n.createElement(yl,{snapShotData:t}),n.createElement(El,{marketData:i,errorMsg:vl||""}),n.createElement(bl,{disclaimer:"Sold"})):n.createElement(bl,{disclaimer:vl||""})))))};var Nl=a(93995);const Sl=function(e){const{pageId:t,data:a}=e,i=(t?t+"_":"")+"seeNews",r=a&&a.cardTitle?a.cardTitle:e.heading,l=a&&a.cardBody?a.cardBody:e.description,o=a&&a.cardButtonText?a.cardButtonText:e.ctaText,c=a&&a.ctaLink?a.ctaLink:e.ctaLink;return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),n.createElement(b.Ay,{container:!0,direction:"row",justifyContent:"center",alignItems:"center",className:a?"ctaFooter":"seeNews",id:i},n.createElement(Nl.A,{maxWidth:"lg",className:"wrapper",id:`${i}_wrapper`},n.createElement(b.Ay,{container:!0,direction:"row",justifyContent:"center",alignItems:"center",id:`${i}_wrapper_container`},n.createElement(b.Ay,{item:!0,xs:12,id:`${i}_wrapper_container_item`},r&&n.createElement(W.A,{className:"heading",component:"h2",id:`${i}_heading`},r),l&&n.createElement(W.A,{className:"description",dangerouslySetInnerHTML:(0,H.R2)(l),id:`${i}_description`}),c&&o&&((0,H.i9)(c)?n.createElement("a",{className:"primaryButton btn",id:`${i}_button`,"aria-label":o,href:c},n.createElement(W.A,{variant:"button",align:"center",paragraph:!1,id:`${i}_button_text`},o)):n.createElement(m.N_,{className:"primaryButton btn",id:`${i}_button`,"aria-label":o,to:c},n.createElement(W.A,{variant:"button",align:"center",paragraph:!1,id:`${i}_button_text`},o))))))))},wl=e=>
1{const[t,a]=(0,n.useState)(null),[i,r]=(0,n.useState)(null),{pulsePreviewData:l}=e,o=(0,s.zy)(),c=(0,H.IT)(o),[m,d]=(0,n.useState)(null);return(0,n.useEffect)(()=>{window.scrollTo(0,0),l?(a(l),r(l.localDataReportedSection)):(c.get("state")&&d(c.get("state")),(0,xt.c)("Unauthenticated/marketPulse.json").then(e=>{e&&(a(e),r(e.localDataReportedSection))}).catch(e=>(a(null),r(null),e)))},[]),n.createElement(n.Fragment,null,n.createElement("div",{id:"market_pulse",className:"market_pulse"},t&&t.headline&&n.createElement(sl,{heading:t.headline,description:t.body?t.body:null,imageSrc:t.marketPulseImage?t.marketPulseImage:null,imageAlt:t.imageAlt?t.imageAlt:"Market Pulse Introduction"}),n.createElement(Al,{defaultState:m}),t&&i&&i.cardTitle&&n.createElement(Sl,{heading:i.cardTitle,description:i.cardBody?i.cardBody:null,ctaText:i.cardButtonText?i.cardButtonText:null,ctaLink:i.ctaLink?i.ctaLink:"/page-underconstruction"})))};const xl=function(e){const{cardTitle:t,cardBody:a}=e.content&&e.content.cards&&e.content.cards[0],i=e.content.buttonText,r=e.content.ctaLink,l=e.content.image;return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),n.createElement(b.Ay,{container:!0,direction:"row",justifyContent:"center",alignItems:"center",id:"whyBright"},n.createElement(Nl.A,{maxWidth:"lg",className:"wrapper"},n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{item:!0,xs:12,lg:8,className:"whyBright_imgContainer"},l&&n.createElement("img",{width:"651px",src:(0,H.kO)(l),alt:"Why Join Bright",id:"whyBright_image"})),n.createElement(b.Ay,{item:!0,xs:12,lg:4,className:"card_container"},null!=e.content.cards[0]&&n.createElement("div",{className:"card_box"},n.createElement(W.A,{className:"heading",component:"h3",id:"whyBright_heading"}," ",t," "),n.createElement(W.A,{className:"description",component:"p",id:"whyBright_description",dangerouslySetInnerHTML:(0,H.R2)(a)}))),n.createElement(b.Ay,{item:!0,xs:12,lg:6,className:"whyBright_LinkContainer"},i&&n.createElement(m.N_,{className:"alternativeButton btn",id:"whyBright_cta_btn","aria-label":i,to:r},n.createElement(W.A,{variant:"button",align:"center",paragraph:!1,id:"whyBright_cta_btn_txt"},i)))))))};const _l=function(e){const{headline:t,subHeadline:a,image:i,imageAlt:r,buttonText:l,ctaLink:o}=e.content;return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),n.createElement(b.Ay,{container:!0,direction:"row",className:"marketPulse",id:"marketPulse"},n.createElement(Nl.A,{maxWidth:"lg",className:"wrapper"},n.createElement(b.Ay,{container:!0,className:"marketPulse_container"},n.createElement(b.Ay,{item:!0,xs:12,sm:5,className:"marketPulse_imgContainer"},i&&n.createElement("img",{src:(0,H.kO)(i),alt:r||"Market Pulse",id:"marketPulse_img"})),n.createElement(b.Ay,{item:!0,xs:12,sm:7,className:"marketPulse_cardBox"},t&&n.createElement(W.A,{className:"heading",component:"h2",id:"marketPulse_heading"},t),a&&n.createElement(W.A,{className:"description",dangerouslySetInnerHTML:(0,H.R2)(a),id:"marketPulse_description"}),l&&o&&n.createElement(La.A,{className:"btn_container"},n.createElement(m.N_,{className:"primaryButton btn",id:"marketPulse_cta_btn","aria-label":l,to:o},n.createElement(W.A,{variant:"button",align:"center",paragraph:!1,id:"marketPulse_cta_btn_txt"},l))))))))};const kl=function(e){const t=e.heading,a=e.description;return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),t||a?n.createElement(b.Ay,{container:!0,direction:"row",justifyContent:"center",alignItems:"center",className:"weServe",id:"weServe"},n.createElement(Nl.A,{maxWidth:"lg",className:"wrapper"},n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{item:!0,xs:12,sm:5},t?n.createElement(W.A,{className:"heading",component:"h1",id:"weServe_heading"},t):null),n.createElement(b.Ay,{item:!0,xs:12,sm:7},a?n.createElement(W.A,{className:"description",dangerouslySetInnerHTML:(0,H.R2)(a),id:"weServe_description"}):null)))):null)};const Cl=function(e){const t=e.content.allmarkets,[a,i]=(0,n.useState)(null),[r,l]=(0,n.useState)(null),[o,c]=(0,n.useState)(null),[s,m]=(0,n.use
1State)(),[d,u]=(0,n.useState)(t),p=(e,t)=>t.find(t=>t.Name.toLowerCase().replace(/[^A-Z0-9]+/gi,"")===e.toLowerCase().replace(/[^A-Z0-9]+/gi,"")),{defaultState:g}=e;function h(){if(a)return n.createElement(b.Ay,{container:!0,item:!0,className:"allMarkets",id:"allMarkets_list_tab"},n.createElement(b.Ay,{item:!0,xs:12,className:"allMarkets_list"},n.createElement(La.A,{style:{maxWidth:"100%"}},n.createElement(W.A,{className:"heading",component:"h2",id:"ourReach_heading"},"Our reach"),n.createElement(Rn.A,null),n.createElement("div",{className:"allMarkets_list_ul_wrapper"},n.createElement("ul",{id:"allMarkets_list_tab_ul"},fl?Object.values(fl).map((t,i)=>n.createElement("li",{key:i,id:"ourReach_location_"+i},n.createElement("button",{tabIndex:0,id:"ourReach_location_btn"+i,className:o===t.name?"active":"notActive",onClick:t=>{(t=>{const n=t.target.innerText,i=t.target.innerText.toLowerCase().replace(/[^A-Z0-9]+/gi,"");u(e.content[i]),m(p(n,a)),c(n)})(t)}},t.name))):null)))))}return(0,n.useEffect)(()=>{(0,xt.c)("Unauthenticated/sisenseMarketData.json").then(t=>{if(t){i(t.Markets);let a="All Markets";g&&(a=(0,H.mU)(g),u(e.content[a.toLowerCase().replace(/[^A-Z0-9]+/gi,"")])),m(p(a,t.Markets)),c(a),l(t.MarketSnapshotDate)}}).catch(()=>{i(null)})},[]),n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),n.createElement("div",{className:"ourReach",id:"ourReach"},n.createElement("div",null,n.createElement(b.Ay,{container:!0,item:!0,className:"allMarkets"},n.createElement(Nl.A,{maxWidth:"lg",className:"wrapper"},Gt()?"":h(),d?n.createElement(La.A,{className:"allMarkets_img",id:"allMarkets_ourReach_map_img"},n.createElement("img",{id:"ourReach_map",src:d+"?w=1024&h=518&fm=jpg&fl=progressive",alt:"Our Reach Map",width:"1024px"})):"")),Gt()?h():"",n.createElement(b.Ay,{container:!0,item:!0,className:"marketSnapshot"},n.createElement(Nl.A,{maxWidth:"lg",className:"wrapper"},n.createElement(La.A,{className:"marketSnapshot_box_l"},n.createElement(b.Ay,{container:!0,justifyContent:"center",alignItems:"center"},n.createElement(La.A,null,n.createElement(W.A,{id:"marketSnapshot_heading",className:"heading",component:"h3"},"Market snapshot"),n.createElement(W.A,{id:"marketSnapshot_data",className:"description",component:"p"},r)))),n.createElement(La.A,{className:"marketSnapshot_box_r","aria-atomic":"true","aria-live":"assertive"},n.createElement(b.Ay,{container:!0},s?n.createElement(n.Fragment,null,n.createElement(b.Ay,{item:!0,xs:6,sm:6,md:6,lg:3,id:"marketSnapshot_NoOfAgent"},n.createElement(W.A,{className:"heading",id:"marketSnapshot_NoOfAgent_heading"},"Total number of subscribers"),s&&s.TotalNumberOfAgents?n.createElement(W.A,{className:"description",id:"marketSnapshot_NoOfAgent_value"},(0,H.dl)(s.TotalNumberOfAgents,{roundOff:!0,localeString:!0})):n.createElement(W.A,{className:"description error",id:"marketSnapshot_NoOfAgent_value_error"},vl)),n.createElement(b.Ay,{item:!0,xs:6,sm:6,md:6,lg:3,id:"marketSnapshot_HomesListed"},n.createElement(W.A,{className:"heading",id:"marketSnapshot_HomesListed_heading"},"Homes Listed"),s&&s.HomesListed?n.createElement(W.A,{className:"description",id:"marketSnapshot_HomesListed_value"},(0,H.dl)(s.HomesListed,{roundOff:!0,localeString:!0})):n.createElement(W.A,{className:"description error",id:"marketSnapshot_HomesListed_value_error"},vl)),n.createElement(b.Ay,{item:!0,xs:6,sm:6,md:6,lg:3,id:"marketSnapshot_HomesSold"},n.createElement(W.A,{className:"heading",id:"marketSnapshot_HomesSold_heading"},"Homes Sold"),s&&s.HomesSold?n.createElement(W.A,{className:"description",id:"marketSnapshot_HomesSold_value"},(0,H.dl)(s.HomesSold,{roundOff:!0,localeString:!0})):n.createElement(W.A,{className:"description error",id:"marketSnapshot_HomesSold_value_error"},vl)),n.createElement(b.Ay,{item:!0,xs:6,sm:6,md:6,lg:3,id:"marketSnapshot_TotalSold"},n.createElement(W.A,{className:"heading",id:"marketSnapshot_TotalSold_heading"},"Total amount of real",n.createElement("br",null),"estate sold"),s&&s.TotalAmountOfRealEstateSold?n.createElement(W.A,{className:"description",id:"marketSnapshot_TotalSold_value"},"$",(0,H.dl)(s.TotalAmountOfRealEstateSold,{roundOff:!0,localeString:!0})):n.createElement(W.A,{className:"description error",id:"marketSnapshot_TotalS
1old_value_error"},vl))):n.createElement(b.Ay,{item:!0,xs:12,id:"error_msg"},n.createElement(W.A,{className:"heading",id:"error_msg_txt"},vl)))))))))};function Tl(e){const[t,a]=(0,n.useState)(null),[i,r]=(0,n.useState)(null),{marketPreviewData:l}=e,o=(0,s.zy)(),c=(0,H.IT)(o);return(0,n.useEffect)(()=>{window.scrollTo(0,0),l?a(l):(c.get("state")&&r(c.get("state")),(0,xt.c)("Unauthenticated/marketWeServe.json").then(e=>{e&&a(e)}).catch(()=>{a(null)}))},[]),n.createElement("div",{id:"ourMarkets"},t&&t.whoWeServeHeadLine&&t.whoWeServeSubHeadline&&n.createElement(kl,{heading:t.whoWeServeHeadLine,description:t.whoWeServeSubHeadline}),t&&n.createElement(Cl,{defaultState:i,content:t}),t&&t.marketPulseSection&&n.createElement(_l,{content:t.marketPulseSection}),t&&t.whatWeOfferSection&&n.createElement(xl,{content:t.whatWeOfferSection}),t&&t.localDataReportedSection&&n.createElement(Sl,{heading:t.localDataReportedSection.cardTitle,description:t.localDataReportedSection.cardBody,ctaText:t.localDataReportedSection.cardButtonText,ctaLink:t.localDataReportedSection.ctaLink}))}const Il=e=>{const{className:t,cards:a,newsSectionTitle:i,elementId:r="card-section-",newsSectionCtaLink:l="",newsSectionCtaText:o,showReadMore:c,componentClassName:s,linkClass:d,newsSectionCtaTextMobile:u,disableLink:p=!1,bottomAction:g="READ MORE"}=e;return n.createElement(n.Fragment,null,i&&n.createElement(b.Ay,{container:!0,className:s,id:`${i}_container_id`},n.createElement(b.Ay,{item:!0,lg:6,md:5,sm:5,id:`${i}_id`},n.createElement(W.A,{className:"title",id:"recent_article_title_id","aria-label":i,component:"h2"},i)),l&&n.createElement(b.Ay,{item:!0,lg:6,md:5,sm:5},n.createElement(m.N_,{to:l,"aria-label":`${o}`,className:"all_update_container"},Kt()?n.createElement(W.A,{className:"link",id:"recent_article_all_updates_id"},o):null))),a.length>0&&n.createElement(b.Ay,{className:t},a.map(function(e,t){const{title:a,imageUrl:i,postDate:l,articleSummary:o="",body:s,uniqueId:m,summary:d="",contentType:u="",articleNewsId:h}=e;return n.createElement(Zr,{key:t,title:a,body:s,imageUrl:i,postDate:l,articleSummary:null!=o&&o.length>0?o:d,elementID:`${r}-${t}`,url:(0,H.p5)(u),params:m||h,bottomAction:g,showReadMore:c,disableLink:p})})),Vt()&&l&&n.createElement(b.Ay,null,n.createElement(b.Ay,{item:!0,sm:12},n.createElement(m.N_,{to:l,"aria-label":"ALL UPDATES link",className:d},n.createElement(W.A,{className:"link",id:"recent_article_all_updates_id"},u),n.createElement(W.A,{className:"arrowIcon",id:"recent_article_all_updates_arrow_icon_id"},n.createElement(Di.A,null))))))};var Ll=a(95376);const Bl=function(e){let{url:t,title:a,id:i}=e;return console.log("url",t),n.createElement("div",{id:"addThis"},n.createElement("div",{id:i,className:"social-sharing"},n.createElement(Ll.aQ,{config:{alignment:"center",color:"social",enabled:!0,font_size:16,labels:null,language:"en",networks:["facebook","twitter","linkedin","email","print","print"],padding:12,radius:0,show_total:!1,size:32,url:t,title:a}})))};function Dl(e){const{title:t="",articleSummary:a="",postDate:i,authoredBy:r,heroImage:l,videoUrl:o,body:c}=e;return n.createElement(n.Fragment,null,n.createElement("div",{className:"article_detail_home_section_mobile",id:"article_detail_home_section_mobile_id"},n.createElement(b.Ay,{container:!0,className:"article_detail_home_container_mobile"},n.createElement(b.Ay,{item:!0,lg:5,md:6,sm:5,xs:12,className:"gridItem_mobile",id:"gridItem_1_id"},n.createElement(m.N_,{to:"/news","aria-label":"news",className:"link_and_icon_container_mobile",id:"news_link_container_id"},n.createElement(W.A,{className:"news_link_mobile","aria-label":"news link",id:"news_link_id",tabIndex:-1},"NEWS"),n.createElement(W.A,{className:"arrowIcon",id:"arrow_icon_id"},n.createElement(Di.A,null))),n.createElement(W.A,{className:"title_mobile","aria-label":t,id:"article_detail_title_id",component:"h1"},t)),n.createElement(b.Ay,{item:!0,lg:6,md:6,sm:5,xs:12,className:"gridItem_mobile",id:"gridItem_2_id"},null!=a&&n.createElement(W.A,{className:"summary_mobile","aria-label":a,dangerouslySetInnerHTML:(0,H.R2)(a),id:"article_summary"})))),n.createElement("div",{className:"home_image_container_mobile"},n.createElement(b.Ay,{container:!0,className:"hero_image_section_mobile"},null!=l&&n.createElement(b.Ay,{item:!0,lg:12,className:"image_grid_mobile"},n.createElement("img",{src:l,alt:"article detail image",id:"article_image_id"})),null===l&&null!=o&&n.createElement(b.Ay,{item:!0,lg:12,className:"image_grid_mobile"},n.createElement("iframe",{width:"420",height:"345",src:o,id:"article_detail_video_id"}))),n.createElement(b.Ay,{className:"date_and_add_this_container_mobile"},n.createElement(b.Ay,{item:!0,lg:6,md:6,sm:5,xs:12},n.createElement(b.Ay,{container:!0,direction:"row",className:"date_and_author_section_mobile"},n.createElement(W.A,{className:"date_title_mobile",id:"date_of_post_id","aria-label":(0,H.wU)(i)},(0,H.wU)(i)),n.createElement(W.A,{className:"author_title_section_mobile",id:"authoredBy_id","aria-label":r},r))),n.createElement(b.Ay,{item:!0,lg:6,md:6,sm:5,xs:12},n.createElement(Bl,{url:window.location.href,title:"",id:""}))),n.createElement(b.Ay,{item:!0,lg:12,className:"article_detail_body_section_mobile",dangerouslySetInnerHTML:(0,H.R2)(c),id:"article_detail_body_section_id"})))}function Ml(e){const{title:t="",articleSummary:a="",postDate:i,authoredBy:r,heroImage:l,videoUrl:o,body:c}=e;return n.createElement(n.Fragment,null,n.createElement("div",{className:"article_detail_home_section",id:"article_detail_home_section_id"},n.createElement(b.Ay,{container:!0,className:"article_detail_home_container"},n.createElement(b.Ay,{item:!0,lg:5,md:6,sm:5,xs:12,className:"gridItem",id:"gridItem_1_id"},n.createElement(m.N_,{to:"/news","aria-label":"news",className:"link_and_icon_container",id:"news_link_container_id"},n.createElement(W.A,{className:"news_link","aria-label":"news link",id:"news_link_id",tabIndex:-1},"NEWS"),n.createElement(W.A,{className:"arrowIcon",id:"arrow_icon_id"},n.createElement(Di.A,null))),n.createElement(W.A,{className:"title","aria-label":t,id:"article_detail_title_id",component:"h1"},t)),n.createElement(b.Ay,{item:!0,lg:6,md:6,sm:5,xs:12,className:"gridItem",id:"gridItem_2_id"},null!=a&&n.createElement(W.A,{className:"summary","aria-label":a,dangerouslySetInnerHTML:(0,H.R2)(a),id:"article_summary"}))),n.createElement(b.Ay,{className:"date_and_add_this_container"},n.createElement(b.Ay,{item:!0,lg:6,md:6,sm:5,xs:12},n.createElement(b.Ay,{container:!0,direction:"row",className:"date_and_author_section"},n.createElement(W.A,{className:"date_title",id:"date_of_post_id","aria-label":(0,H.wU)(i)},(0,H.wU)(i)),n.createElement(W.A,{className:"author_title_section",id:"authoredBy_id","aria-label":r},r))),n.createElement(b.Ay,{item:!0,lg:6,md:6,sm:5,xs:12},n.createElement(Bl,{url:window.location.href,title:"",id:""})))),n.createElement("div",{className:"home_image_container"},n.createElement(b.Ay,{container:!0,className:"hero_image_section"},null!=l&&n.createElement(b.Ay,{item:!0,lg:12,className:"image_grid"},n.createElement("img",{src:l,alt:"article detail image",id:"article_image_id"})),null===l&&null!=o&&n.createElement(b.Ay,{item:!0,lg:12,md:12,sm:12,className:"image_grid"},n.createElement("iframe",{width:"100%",height:"100%",src:o,id:"article_detail_video_id",allowFullScreen:!0})),n.createElement(b.Ay,{item:!0,lg:12,className:"article_detail_body_section",dangerouslySetInnerHTML:(0,H.R2)(c),id:"article_detail_body_section_id"}))))}function Pl(e){const{remineProSection:t}=e;return n.createElement(n.Fragment,null,Kt()?n.createElement(Ml,e):n.createElement(Dl,e),null!=t&&n.createElement("div",{className:"remineProSection"},n.createElement(Ui,{content:t,isButtonCentered:"center",alignHeading:"right"})))}
1function Rl(e){const[t,a]=(0,n.useState)(null),[i,r]=(0,n.useState)(!1),[l,o]=(0,n.useState)("Recent articles"),{id:c}=(0,s.g)(),{articlePreviewData:m}=e,d=e=>{if(a(e),e&&e.body){document.title=`${e.title} | Bright MLS`;const t=/<script\b[^>]*>([\s\S]*?)<\/script>/gm.exec(e.body);if(t&&t[0]){const e=t[0].replace(/<[^>]+>/g,"");new Function(`${e}`)()}}if(e&&null!=e.recentArticleSection)for(const t of e.recentArticleSection)void 0!=t.categories&&(-1===t.categories.indexOf("Campaign Video")&&-1===t.categories.indexOf("Market Update")||o("Recent videos"))};return(0,n.useEffect)(()=>{r(!0),window.scrollTo(0,0),m?(d(m),r(!1)):(0,Ve.o)(c).then(e=>{d(e),r(!1)})},[c]),n.createElement("div",{className:"article_detail_section",id:"article_detail_section_id"},i?sa():"",null!=t&&""!=t&&n.createElement(Pl,Object.assign({},t,{recentArticleTitle:l})),t&&null!=t.recentArticleSection&&t.recentArticleSection.length>0&&n.createElement(Il,{className:"article-card-section",cards:t.recentArticleSection,elementId:"article-card-section",newsSectionTitle:l,newsSectionCtaLink:"/news",newsSectionCtaText:"ALL UPDATES",showReadMore:!1,componentClassName:"recent_article_title",linkClass:"article_link_container_mobile",newsSectionCtaTextMobile:"ALL POSTS"}))}var Ol=a(79976);const Ul=e=>{const[t,a]=(0,n.useState)(!1),{marketoFormId:i}=e;function r(){try{window.MktoForms2.loadForm("//app-ab42.marketo.com","253-TBC-658",i),window.MktoForms2.whenReady(e=>{a(!0);const t=document.getElementById("marketoForm");if(null!=t){const e=t.getElementsByTagName("input");for(const t of e)t.setAttribute("aria-label",t.id)}e.onSuccess(function(){e.getFormElem().hide();const t=document.getElementById("confirmation");if(t)return t.style.display="inline-block",t.setAttribute("aria-hidden","false"),t.focus(),window.scrollTo(0,0),!1})})}catch(e){a(!0)}}return(0,n.useEffect)(()=>{const e=document.createElement("script");e.src="//app-ab42.marketo.com/js/forms2/js/forms2.min.js",e.async=!0,document.getElementsByTagName("head")[0].appendChild(e),e.onload=r},[]),n.createElement(b.Ay,null,t?null:n.createElement(sa,null),n.createElement(Ol.A,{className:"marketo-form-wrapper-container",id:"marketo-form-container",elevation:1,style:{display:t?"block":"none"}},n.createElement("form",{className:"marketo-form-container",id:`mktoForm_${i}`}),n.createElement("div",{id:"confirmation","aria-hidden":"true",style:{display:"none"}},n.createElement("p",null,"Thank you for reaching out. We will be contacting you soon."))))};function Fl(e){const{heroSectionProps:t}=e,{heroSectionHeadline:a,heroSectionSubHeadline:i,heroSectionCtaLink:r,heroSectionCtaText:l,name:o,title:c,location:s,heroImage:d,company:u,heroSectionAnchorText:p,heroSectionAnchorId:g,marketoFormId:h}=t;return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),n.createElement("div",{id:"heroSectionMainWrapper"},n.createElement("div",{className:"maxWidthContainer"},n.createElement("div",{className:"maxWidth"},n.createElement(b.Ay,{container:!0,className:"benefitsHeroSectionMainContainer",id:"benefitsHeroSectionContainerId"},n.createElement(b.Ay,{item:!0,xs:12,className:"benefitsHeroInnerSectionContainer"},Gt()&&n.createElement(b.Ay,{container:!0,item:!0,xs:7,md:7,className:"tabletView"}
1,n.createElement(W.A,{id:"benefitsHeroTitle",className:"heading",variant:"h1"},a||"")),n.createElement(b.Ay,{container:!0,item:!0,xs:12,justifyContent:"space-between",direction:Vt()?"column":"row",className:"innerSection"},n.createElement(b.Ay,{container:!0,alignItems:"center",item:!0,xs:12,md:7,sm:7,className:"leftSection"},n.createElement(La.A,null,!Gt()&&n.createElement(W.A,{id:"benefitsHeroTitle",className:"heading",variant:"h1"},a||""),i&&n.createElement(W.A,{id:"benefitsHeroSubTitle",className:"subHead",variant:"body2"},i),l&&n.createElement(m.N_,{className:"primaryButton",id:"heroSectionJoinButton","aria-label":l,to:`${r}`},n.createElement("span",null,l)))),n.createElement(b.Ay,{container:!0,item:!0,xs:12,md:5,sm:5,className:"rightSection",alignItems:"flex-end",justifyContent:"flex-end"},n.createElement("div",{className:"benefits_imageContainer"},d?n.createElement("img",{src:(0,H.kO)(d),alt:"no image",id:"benefits_image"}):null,o&&d&&n.createElement(La.A,{className:"detailBox",id:"benefitsdetailBox"},n.createElement(W.A,{variant:"body2",className:"titleSection"},`${o}, ${c}`),n.createElement(W.A,{variant:"inherit",className:"profileSection"},`${u}, ${s}`)),h?n.createElement(Ul,{marketoFormId:h}):null))),n.createElement(b.Ay,{container:!0,item:!0,alignItems:"flex-start",justifyContent:"flex-start",className:"anchorDiv"},n.createElement("a",{onClick:()=>(0,H.Ar)(g,!0,12),className:"heroSectionAnchorDiv",id:"heroSectionAnchorText"},n.createElement(W.A,{tabIndex:0,role:"link","aria-label":"heroSectionAnchorText"},p),n.createElement(Oa.A,{className:"arrowIcon"})))))))))}const $l=function(e){const t=!(!e||!e.imageAligment||"right"!==e.imageAligment),{blockId:a,imageSrc:i,imageAlt:r,cards:l,ctaText:o,ctaLink:c,additionalSummary:s,sectionHeading:d,isWholeCardClickable:u=!1}=e,p=e&&e.cards&&e.cards[0]?e.cards[0].cardTitle:null,g=e&&e.cards&&e.cards[0]?e.cards[0].cardBody:null;function h(e,t){return n.createElement(W.A,{variant:"button",align:"center",paragraph:!1,id:e+"_TwoCalumnsCards_ctaBtn_txt"},t)}function E(){return n.createElement(b.Ay,{item:!0,container:!0,xs:12,lg:7,direction:"row",alignItems:"flex-end",justifyContent:t?"flex-start":"flex-end",className:"card_box_container",id:a+"_TwoCalumnsCards_bottom_wrapper"},p&&n.createElement("div",{className:"card_box",id:a+"_TwoCalumnsCards_card_box"},n.createElement(W.A,{className:"heading",component:"h1",id:a+"_TwoCalumnsCards_heading"},p),g?n.createElement(W.A,{className:"description",component:"p",id:a+"_TwoCalumnsCards_description",dangerouslySetInnerHTML:(0,H.R2)(g)}):null,s?n.createElement(b.Ay,{className:(g?"":"no-card-body")+" additional-summary",dangerouslySetInnerHTML:(0,H.R2)(s)}):null))}return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),a&&l?n.createElement(b.Ay,{container:!0,direction:"row",justifyContent:"center",alignItems:"center",className:t?"two_calumns_cards rhs_image":"two_calumns_cards",id:a+"_TwoCalumnsCards"},n.createElement("div",{className:"maxWidthContainer",id:a+"_TwoCalumnsCards_maxWidthContainer"},n.createElement("div",{className:"maxWidth",id:a+"_TwoCalumnsCards_maxWidth"},n.createElement(b.Ay,{container:!0,direction:t?"row-reverse":"row",alignItems:"flex-start",className:"top_container",id:a+"_TwoCalumnsCards_top_container"},i?n.createElement(b.Ay,{item:!0,container:!0,xs:12,lg:7,direction:"row",alignItems:"flex-end",justifyContent:t?"flex-end":"flex-start",id:a+"_TwoCalumnsCards_top_container_image_wrapper"},n.createElement("div",{className:"image_container",id:a+"_TwoCalumnsCards_top_container_image_container"},i&&n.createElement("img",{src:(0,H.kO)(i),alt:r||"",id:a+"_TwoCalumnsCards_image"}))):null,n.createElement(b.Ay,{item:!0,xs:12,lg:5,className:(i?"":"no-image")+" section-heading-container"},d?n.createElement("h3",{id:`${a}-section-heading`,className:"section-heading"},d):null)),n.createElement(b.Ay,{container:!0,direction:t?"row":"row-reverse",className:"bottom_container",id:a+"_TwoCalumnsCards_bottom_container"},u?(0,H.i9)(c)?n.createElement("a",{className:"card-link",id:`${a}-whole-card-link`,href:c}
1,E()):n.createElement(m.N_,{className:"card-link",id:`${a}-whole-card-link`,to:c},E()):E(),n.createElement(b.Ay,{item:!0,container:!0,xs:12,lg:5,direction:"row",justifyContent:"center",className:"link_container",id:a+"_TwoCalumnsCards_link_container"},o&&n.createElement(La.A,{id:a+"_TwoCalumnsCards_link_container_wrapper",className:"link_container_wrapper"},(0,H.i9)(c)?n.createElement("a",{className:"alternativeButton btn",id:a+"_TwoCalumnsCards_ctaBtn","aria-label":o,target:"_blank",rel:"noreferrer",href:c||"#"},h(a,o)):n.createElement(m.N_,{className:"alternativeButton btn",id:a+"_TwoCalumnsCards_ctaBtn","aria-label":o,target:"_self",to:c||"#"},h(a,o)))))))):null)};const Wl=function(e){let t;const{whatWeOfferProps:a}=e,{whatWeOfferSectionTitle:i,whatWeOfferSection:r,ctaLayer:l,ctaLayerPosition:o}=a;return t=a&&r?Object.keys(r).length:0,n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),i?n.createElement("div",{id:"benefits_what_we_offer",className:"benefits_whatWeOffer"},n.createElement("div",{className:"maxWidthContainer"},n.createElement("div",{className:"maxWidth"}
1,n.createElement(W.A,{id:"benefits_whatWeOffer_title",className:"main heading",component:"h2",variant:"h2"},i))),n.createElement("div",{className:"benefits_whatWeOffer_cardAndRibon"},r&&Object.keys(r).length>=1?Object.values(r).map((e,a)=>(a+=1,n.createElement("div",{key:a,"data-index":a},e.image&&e.cards[0].cardTitle?n.createElement($l,{blockId:"benefits_whatWeOffer_"+a,imageSrc:e.image,imageAligment:a%2==0?"left":"right",imageAlt:e.cards[0].cardTitle+"image",ctaText:e.buttonText?e.buttonText:null,ctaLink:e.ctaLink?e.ctaLink:null,cards:e.cards}):null,l?function(e){return(o>t||o<=0||null===o||void 0===o)&&e===t||o<=t&&o>0&&e===o?n.createElement(La.A,{className:"benefits_whatWeOffer_pageRibbon",id:"benefits_whatWeOffer_pageRibbon_"+e},n.createElement(Ui,{content:l,isButtonCentered:"center",alignHeading:"left"})):null}(a):null))):null)):null)};function Hl(e){const t=(0,s.g)(),[a,i]=(0,n.useState)(!1),[r,l]=(0,n.useState)(null);return(0,n.useEffect)(()=>{e.heroSectionHeadline||e.heroSectionSubHeadline?l(e):t&&t.benefitType?(window.scrollTo(0,0),(0,xt.y)(!0,"benefits",t.benefitType).then(e=>{document.title=`${(0,H.ZH)(t.benefitType)} | Bright MLS`,l(e)}).catch(()=>{l(null),i(!0)})):(l(null),i(!0))},[t&&t.benefitType]),n.createElement(n.Fragment,null,a?n.createElement(_i,null):n.createElement("div",{className:"benefitsMainContainer"},r&&n.createElement(n.Fragment,null,n.createElement(Fl,{heroSectionProps:r}),n.createElement(Wl,{whatWeOfferProps:r}),r.newsSection&&r.newsSectionTitle&&n.createElement(Il,{className:"benefits-card-section",cards:r.newsSection,newsSectionTitle:r.newsSectionTitle,newsSectionCtaLink:r.newsSectionCtaLink,newsSectionCtaText:r.newsSectionCtaText,showReadMore:!0,componentClassName:"recent_article_title_benefit",linkClass:"benefits_link_container_mobile",elementId:"article-card-section",newsSectionCtaTextMobile:r.newsSectionCtaText,disableLink:!0}),r.footerSection?n.createElement(Sl,{heading:r.footerSection.cardTitle,description:r.footerSection.cardBody,ctaText:r.footerSection.cardButtonText,ctaLink:r.footerSection.ctaLink}):null)))}function jl(e){const{title:t,summary:a,releaseDate:i,newsRoomCtaText:r}=e;return n.createElement("div",{className:"press-release-hero-section-container"},n.createElement(b.Ay,{container:!0,className:"grid"},n.createElement(b.Ay,{item:!0},n.createElement(m.N_,{to:"/newsroom","aria-label":"news",className:"news_room_link_and_icon_container",id:"news_room_link_and_icon_container_id"},n.createElement(W.A,{className:"news_room_link","aria-label":"NEWSROOM LINK",id:"news_room_link_id",tabIndex:-1},r," ",n.createElement(Di.A,{className:"arrowIcon",id:"arrow_icon_id"}))))),n.createElement(b.Ay,{container:!0,className:null!=a?"grid":"grid margin_bottom43"},n.createElement(b.Ay,{item:!0,lg:12,md:12,sm:12,xs:12},n.createElement(W.A,{component:"h1",className:"title","aria-label":t,id:"press_release_title_id"},t))),a&&n.createElement(b.Ay,{container:!0,className:"grid"},n.createElement(b.Ay,{item:!0,lg:12,md:12,sm:12,xs:12},n.createElement(W.A,{component:"h2",className:"summary","aria-label":a,id:"press_release_summary_id",dangerouslySetInnerHTML:(0,H.R2)(a)}))),n.createElement(b.Ay,{container:!0,className:"add_this_and_date_grid"},n.createElement(b.Ay,{item:!0,lg:9,md:6,sm:5,xs:12},n.createElement(W.A,{className:"date_title",id:"press_date_of_post_id","aria-label":(0,H.wU)(i)},(0,H.wU)(i))),n.createElement(b.Ay,{item:!0,lg:3,md:6,sm:5,xs:12},n.createElement(Bl,{url:window.location.href,title:"",id:""}))))}function zl(e){const{body:t}=e;return n.createElement(n.Fragment,null,t&&n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{item:!0,lg:12,className:"static_page_container",dangerouslySetInnerHTML:(0,H.R2)(t),id:"press_release_body_section_id"})))}function Vl(e){const{url:t,filename:i,asset:r={},index:l}=e;return n.createElement("a",{onClick:()=>(()=>{if(!t)throw new Error("Resource URL not provided! You need to provide one");fetch(t).then(e=>e.blob()).then(e=>{const t=URL.createObjectURL(e),a=document.createElement("a");a.href=t,a.style="display: none",i&&i.length&&(a.download=i),document.body.appendChild(a),a.click()})})(),"aria-label":"download asset",id:`media_asset_download_${l}`,className:"download_link",tabIndex:0},n.createElement(W.A,{className:"name",id:`media_asset_ctatext_${l}`},r.ctaText),n.createElement("img",{src:a(51403),id:`media_asset_download_${l}`,alt:"download_icon"}))}function Gl(e){const{mediaAssets:t,mediaAssetTitle:i}=e;return n.createElement("div",{className:"media_assets_container",id:"media_assets_container_id"},n.createElement(W.A,{className:"title",id:"media_assets_title_id"},i,":"),n.createElement(b.Ay,{container:!0,className:"media_assets_grid_container",id:"media_assets_grid_id"},null!=t&&t.map((e,t)=>n.createElement(b.Ay,{item:!0,lg:3,md:4,sm:4,xs:12,className:"media_item",key:t,id:`media_item_${t}`},n.createElement(W.A,{className:"asset_name",id:`media_asset_name_${t}`},e.title),null!=e.imageUrl?n.createElement("img",{src:e.imageUrl,alt:"image",id:`media_asset_subimage_${t}`}):n.createElement("img",{src:a(58480),alt:"image",id:`media_asset_default_image_${t}`}),null!=e.subImageUrl&&n.createElement(Vl,{url:e.subImageUrl,filename:"headshot",asset:e,index:t})))))}
1function ql(e){const[t,a]=(0,n.useState)(null),[i,r]=(0,n.useState)(!1),l=e&&e.pressPreviewData,{id:o}=(0,s.g)();return(0,n.useEffect)(()=>{if(window.scrollTo(0,0),document.title="Press Release | Bright MLS",r(!0),l)return a(l),void r(!1);(0,xt.c)(`Unauthenticated/PressReleases/${o}.json`).then(e=>{r(!1),a(e)}).catch(()=>{r(!1),a(null)})},[o]),n.createElement(n.Fragment,null,i?sa():"",t&&n.createElement("div",{className:"press_release_container"},n.createElement(jl,t)),t&&null!=t.body&&n.createElement(zl,{body:t.body}),t&&t.mediaAssets&&t.mediaAssets.length>0&&n.createElement(Gl,{mediaAssets:t.mediaAssets,mediaAssetTitle:t.mediaAssetTitle}),t&&t.footerSection&&n.createElement(Sl,{heading:t.footerSection.cardTitle,description:t.footerSection.cardBody,ctaText:t.footerSection.cardButtonText,ctaLink:t.footerSection.ctaLink}))}const Yl=e=>{const{text:t,textId:a,index:i}=e;return n.createElement(n.Fragment,null,t?n.createElement("a",{onClick:()=>(0,H.Ar)(a,!0,10),className:"heroSectionAnchorDiv",id:`${a}-${i}`},n.createElement(W.A,{tabIndex:0,role:"link","aria-label":t},t),n.createElement(Oa.A,{className:"arrowIcon"})):null)},Kl=e=>{const{contentProps:t}=e,{title:a,summary:i,topLeftHeroImage:r,topRightHeroImage:l,bottomHeroImage:o,heroSectionRightAnchorText:c,heroSectionRightAnchorId:s,heroSectionLeftAnchorText:m,heroSectionLeftAnchorId:d,bottomHeroVideoUrl:u}=t;return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),n.createElement(La.A,{className:"mainContainerBox"},n.createElement("div",{className:"resourceHeroSectionMainWrapper"},n.createElement("div",{className:"maxWidthContainer"},n.createElement("div",{className:"maxWidth"},n.createElement(b.Ay,{container:!0,className:"resourceLandingHeroMainContainer",id:"resourceLandingHeroMainContainerId"},n.createElement(b.Ay,{item:!0,xs:12,className:"resourcesHeroInnerSectionContainer"},n.createElement(b.Ay,{container:!0,item:!0,xs:12,justifyContent:"space-between",direction:Vt()||(0,H.Jn)()?"column":"row",className:"innerSection"},n.createElement(b.Ay,{container:!0,item:!0,xs:12,md:Yt()?12:7,sm:12,className:"leftSection"},n.createElement(La.A,null,n.createElement(W.A,{id:"resourcesLandingHeroTitle",className:"heading "+(h=r,E=l,h||E?"":"fullWidthSection"),variant:"h2"},a||""),n.createElement(W.A,{id:"resourcesLandingHeroSubTitle",className:"subHead "+(p=o,g=u,p||g?"":"fullWidthSection"),variant:"body2"},i||""))),Gt()&&!(0,H.Jn)()?null:n.createElement(b.Ay,{container:!0,item:!0,xs:12,md:5,className:"rightSection",alignItems:(0,H.Jn)()?"center":"flex-end",justifyContent:(0,H.Jn)()?"center":"flex-end",direction:"column"},r||l?n.createElement(b.Ay,{item:!0,className:"upperImageSection"},n.createElement("div",{className:"left_image"},r?n.createElement("img",{src:(0,H.kO)(r),alt:"no left image",id:"left_image_id"}):null),n.createElement("div",{className:"right_image"},l?n.createElement("img",{src:(0,H.kO)(l),alt:"no right image",id:"right_image_id"}):null)):null,n.createElement("div",{className:"resources_imageContainer"},o&&n.createElement("img",{src:(0,H.kO)(o),alt:"no bottom image",id:"bottom_image_id"}),u&&n.createElement(Ze,{videoUrl:u})))),n.createElement(b.Ay,{container:!0,item:!0,alignItems:"flex-start",justifyContent:"flex-start",className:`anchorDiv ${m&&(e=>{if(e){if(e.length>30&&(0,H.vk)())return"translateDesktop";if((0,H.bT)()&&e.length>30)return"translateTablet";if((0,H.xX)()&&e.length>14)return"translateMobile"}})(m)||""}`,direction:Gt()&&!(0,H.Jn)()?"column":"row",xs:12,md:7},m?n.createElement(Yl,{text:m,textId:d||"",index:0}):null,c?n.createElement(Yl,{text:c,textId:s||"",index:1}):null)))))),n.createElement(b.Ay,{container:!0,item:!0,xs:12,md:Yt()?12:7,sm:12,className:"outerSection"},Gt()&&!(0,H.Jn)()?n.createElement(b.Ay,{container:!0,item:!0,alignItems:"flex-end",className:"ImageTabSection"},r||l?n.createElement(b.Ay,{container:!0,item:!0,direction:"row",className:"imageTabSection_upperImage"},n.createElement("div",{className:"left_image"},r?n.createElement("img",{src:(0,H.kO)(r),alt:"no left image",id:"left_image_id"}):null),n.createElement("div",{className:"right_image"},l?n.createElement("img",{src:(0,H.kO)(l),alt:"no right image",id:"right_image_id"}):null)):null,n.createElement(b.Ay,{container:!0,item:!0,justifyContent:"flex-end",alignItems:"center"},n.createElement("div",{className:"resources_imageContainer"},o&&n.createElement("img",{src:(0,H.kO)(o),alt:"no bottom image",id:"bottom_image_id"}),u&&n.createElement(Ze,{videoUrl:u})))):null)));var p,g,h,E},Jl=e=>{const{featuredProgramPinnedResourceCtaText:t,featuredProgramSectionSummary:a,featuredProgramSectionTitle:i,featuredProgramsPinnedResource:r}=e;return n.createElement(n.Fragment,null,r&&r.length>0?n.createElement(b.Ay,{container:!0,className:"feature_program_section"},null!=i&&n.createElement(b.Ay,{item:!0,className:"title",id:"feature_program_title_id"},i),null!=a&&n.createElement(b.Ay,{item:!0,className:"summary",id:"feature_program_summary_id"},a),r?n.createElement(Il,{className:"resource_feature-card-section",cards:r,elementId:"resource_feature-card-section",newsSectionTitle:null,newsSectionCtaLink:null,newsSectionCtaText:null,showReadMore:!0,componentClassName:null,linkClass:"article_link_container_mobile",newsSectionCtaTextMobile:"",bottomAction:t,disableLink:!0}):null):null)},Ql=e=>{const{cards:t,ctaText:a,className:i,id:r,containerClass:l,componentId:o}=e,c=t.map(e=>({cardTitle:e.title,cardBody:e.summary,cardButtonText:a,ctaLink:`/resources/${e.uniqueId}`}));return n.createElement(b.Ay,{className:l,id:`main-${o}`},n.createElement(b.Ay,{className:"resource-landing-policy-resource-guide-container",id:`inner-main-${o}`},n.createElement(b.Ay,{container:!0,justifyContent:"center",className:"maxWidthContainer"},n.createElement(b.Ay,{className:"title-section-container",item:!0,id:`title-section-container-${o}`}
1,e.sectionTitle?n.createElement(W.A,{id:`title-${o}`,variant:"h2",component:"h2",className:"title"},e.sectionTitle):null,e.sectionSummary?n.createElement("p",{id:`summary-${o}`,className:"summary"},e.sectionSummary):null)),e.image?n.createElement(b.Ay,{direction:"row",role:"img",id:`image-section-${o}`,className:"image-section","aria-label":"product-updates",style:{backgroundImage:`url(${(0,H.kO)(e.image)})`},container:!0}):null,n.createElement(b.Ay,{className:(e.image?"":"no-image")+" card-section",id:`card-section-${o}`},n.createElement(Fi,{disableTopLink:!0,className:i,elementId:r,cards:c}))))},Xl=e=>{const[t,a]=(0,n.useState)(null),{resourcesPreviewData:i}=e;return(0,n.useEffect)(()=>{document.title="Resources | Bright MLS",i?(window.scrollTo(0,0),a(i)):(0,xt.c)(_t.WM).then(e=>{window.scrollTo(0,0),a(e)}).catch(()=>{a(null)})},[]),n.createElement(n.Fragment,null,t?n.createElement(n.Fragment,null,n.createElement(Kl,{contentProps:t}),n.createElement(Jl,{featuredProgramSectionTitle:t.featuredProgramSectionTitle,featuredProgramSectionSummary:t.featuredProgramSectionSummary,featuredProgramPinnedResourceCtaText:t.featuredProgramPinnedResourceCtaText,featuredProgramsPinnedResource:t.featuredProgramsPinnedResource}),t&&t.policyGuidePinnedResource&&t.policyGuidePinnedResource.length?n.createElement(Ql,{componentId:"resources-landing-policy-guides",sectionSummary:t.policyGuideSectionSummary,sectionTitle:t.policyGuideSectionTitle,cards:t.policyGuidePinnedResource,ctaText:t.policyGuidePinnedResourceCtaText,image:t.policyGuideImage,className:"resources-landing-card-section",id:"resources-landing-policy-guides-section",containerClass:"resource-landing-policy-guide-container"}):null,t&&t.resourceSectionPinnedResource&&t.resourceSectionPinnedResource.length?n.createElement(Ql,{componentId:"resources-landing-resource-section",sectionSummary:t.resourceSectionSummary,sectionTitle:t.resourceSectionTitle,cards:t.resourceSectionPinnedResource,ctaText:t.resourcePinnedResourceCtaText,image:t.resourceSectionImage,className:"resources-landing-card-section",id:"resources-landing-resource-section",containerClass:"resource-landing-resources-container"}):null,t&&t.footerSection&&n.createElement(Sl,{heading:t.footerSection.cardTitle,description:t.footerSection.cardBody,ctaText:t.footerSection.cardButtonText,ctaLink:t.footerSection.ctaLink})):null)},Zl=e=>{const{title:t,listData:a}=e;return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),n.createElement("div",{id:"linkSectionMainWrapper"},n.createElement("div",{className:"maxWidthContainer"},n.createElement("div",{className:"maxWidth"},n.createElement(b.Ay,{container:!0,item:!0,xs:12,sm:12,md:qt()?_t.wp:_t.kd,justifyContent:"flex-start",alignContent:"flex-start",className:"linkInnerSection"},n.createElement(W.A,{id:"titleofLinks",className:"heading",variant:"h2"},t||""),n.createElement(b.Ay,{container:!0,item:!0,xs:12,sm:11,md:qt()?_t.B9:_t.hS,justifyContent:Vt()?"flex-start":"center",className:"listingSection"},n.createElement("ul",null,a&&a.length?a.map((e,t)=>n.createElement(n.Fragment,{key:t},((e,t,a,i)=>{const r=e?"_blank":"";return n.createElement("li",{id:`${i}_listItem`},(0,H.i9)(a)?n.createElement("a",{href:`${a}`,target:r,"aria-label":t,rel:"noreferrer"},t):n.createElement(m.N_,{to:`${a}`,target:r,"aria-label":t},t))})(e.openUrlInANewWindow,e.headline,e.url,t))):null)))))))},eo=(0,q.A)({root:e=>({padding:e.container_padding?e.container_padding:"89.5px 0 67.5px"}),expandCollapseBtn:e=>({marginBottom:0===e.templeteId?"70px":"15px",marginTop:0===e.templeteId?"-40px":"-32px"}),accordionListWrapper:{width:"100%",maxWidth:"790px"}});const to=function(e){const[t,a]=(0,n.useState)(!0),i=[],r=eo(e),{pageId:l,lengthOfFAQ:o,title:c,expandBtn:s,collapseBtn:m,accordionItems:d}=e;if(null!=d)for(let n=0;n<d.length;n++)i[n]=!1;const[u,p]=(0,n.useState)(i),g=e&&e.templeteId?e.templeteId:0,h=l+"_faq_templete_"+g;function E(e,t){if(u)for(let n=0;n<u.length;n++)(!1===t||n===t)&&(u[n]=e);const a=[...u];p(a)}function y(e,t){e.preventDefault(),t?(a(!1),E(!0,!1)):(a(!0),E(!1,!1))}function f(e,t,n){e.preventDefault(),e.stopPropagation(),E(!t,n);u.every(e=>!0===e)?a(!1):a(!0)}return n.createElement(n.Fragment,null,d&&Object.keys(d).length>0?n.createElement(b.Ay,{id:h,className:`accordion_templete accordion_templete_${g}`},n.createElement("div",{className:"maxWidthContainer"},n.createElement("div",{className:"maxWidth"},o&&o>1?n.createElement("hr",{className:"divider"}):null,n.createElement("div",null,n.createElement(b.Ay,{container:!0,direction:"row",alignItems:"flex-end"},n.createElement(b.Ay,{item:!0,container:!0,xs:12,sm:8,md:8,lg:8,alignItems:"flex-end",justifyContent:"flex-start",className:"accordion_templete_subHeader"},c&&o&&o>1?n.createElement(W.A,{className:"title",align:"left",id:`${h}_title_div`},c):null),n.createElement(b.Ay,{item:!0,xs:12,sm:1,md:1,lg:1}),n.createElement(b.Ay,{item:!0,container:!0,xs:12,sm:3,md:3,lg:3,alignItems:"flex-end",justifyContent:"flex-end",className:"accordion_templete_expandCollapse_btn_container"},s&&m?n.createElement(La.A,{className:"accordion_templete_expandCollapse_btn_wrapper"},!0===t?n.createElement(P.A,{className:"button styleLink",id:h+"_expandAll_btn",onClick:e=>y(e,!0)},s):n.createElement(P.A,{className:"button styleLink",id:h+"_collapseAll_btn",onClick:e=>y(e,!1)},m)):null)),n.createElement(b.Ay,{container:!0,direction:"row",alignItems:"flex-start",justifyContent:1===g?"flex-start":2===g?"flex-end":"center",className:"accordion_templete_list_container"},n.createElement(La.A,{className:`accordion_templete_list_wrapper ${r.accordionListWrapper}`},Object.values(d).map((e,t)=>n.createElement(xn,{key:t,id:h,index:t,checkExpanded:f,isExpanded:u[t],panelId:`panel${t}`,title:e.question,description:e.answer})))))))):null)};const ao=function(e){const{contentFAQ:t,mainTitle:a}=e,i=t?Object.keys(t).length:0,r="resourceFAQ",l=1===i?0:2,o=r+"_faq_templete_"+l;return n.createElement(n.Fragment,null,t&&i>0?n.createElement("div",{className:`resourceFAQ resourceFAQ_templete_${l}`,id:"resourceFAQ"},n.createElement("div",{className:"maxWidthContainer"},n.createElement("div",{className:"maxWidth"},n.createElement("div",{className:"resourceFAQ_wrapper"},a?n.createElement(b.Ay,{container:!0,direction:"row",alignItems:"flex-end",className:`accordion_templete_header accordion_templete_${l}_header`},n.createElement(b.Ay,{item:!0,xs:12,sm:12,md:12},n.createElement(W.A,{className:"heading h2",component:"h2",id:o+"_heading_h2"},a))):null,n.createElement("div",null,Object.values(t).map((e,t)=>n.createElement(to,{key:t,lengthOfFAQ:i,pageId:r+"_"+t+"_",templeteId:l,title:0!==l?e.title:null,expandBtn:e.expandAllTitle?e.expandAllTitle:null,collapseBtn:e.collapseAllTitle?e.collapseAllTitle:null,accordionItems:e.questionAndAnswerSection}))))))):null)};function no(e){const{title:t,ctaText:a,newsList:i,ctaLink:r}=e;return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),n.createElement("div",{className:"optionalNewsMainWrapper"},n.createElement("div",{className:"maxWidthContainer"},n.createElement("div",{className:"maxWidth"},n.createElement(Il,{className:"article-card-section",cards:i,elementId:"article-card-section",newsSectionTitle:t,newsSectionCtaLink:`${r}`,newsSectionCtaText:`${a}`,showReadMore:!1,componentClassName:"recent_article_title",linkClass:"article_link_container_mobile",newsSectionCtaTextMobile:`${a}`})))))}const io=e=>
1{const[t,a]=(0,n.useState)(!0),[i,r]=(0,n.useState)(null),[l,o]=(0,n.useState)(!1),{id:c}=(0,s.g)(),{resourcePreviewData:m}=e;return(0,n.useEffect)(()=>{a(!0),window.scrollTo(0,0),m?(r(m),a(!1)):(0,Ve.pV)(c).then(e=>{r(e),a(!1)}).catch(()=>{o(!0)})},[c]),n.createElement(n.Fragment,null,null!=i&&""!=i?n.createElement("div",{className:"resource_page_container",id:"resource_page_container_id"},t?sa():"",n.createElement(b.Ay,{container:!0,className:"resources_hero_section"},n.createElement(b.Ay,{item:!0,className:"resources_hero_section_grid"},null!=i.logo&&n.createElement("img",{src:i.logo,"aria-label":"logo",alt:"logo",id:"resource_logo"}),n.createElement(W.A,{component:"h1",className:"resource_title",id:"resource_title_id","aria-label":i.title},i.title),null!=i.updatedOn?n.createElement(W.A,{component:"h1",className:"date_section",id:"updated_date"},"Updated on ",(0,H.wU)(i.updatedOn)):n.createElement(W.A,{component:"h1",className:"date_section","aria-label":i.createdOn,id:"created_date"},"Created on ",(0,H.wU)(i.createdOn)))),n.createElement(b.Ay,{className:"add_this_grid"},n.createElement(b.Ay,{item:!0,lg:12,className:"add_this_grid_item",id:"add_this_grid_id"},n.createElement(Bl,{url:window.location.href,title:"",id:""}))),null!=i.videoUrl&&n.createElement("div",{className:"video_container",id:"resource_video_container_id"},n.createElement(b.Ay,{className:"video-player"},n.createElement(b.Ay,{item:!0,className:"resource_video_player",id:"resource_video_player_id"},n.createElement(Ze,{videoUrl:i.videoUrl})))),null!=i.summarySection&&n.createElement(b.Ay,{container:!0,className:"summary_section_grid"},n.createElement(b.Ay,{item:!0,className:"summary_section_grid_item",id:"resource_summary_grid_item_id"},n.createElement(W.A,{className:"summary","aria-label":i.summarySection,id:"resource_summary_id"},i.summarySection))),null!=i.body&&""!=i.body&&n.createElement(b.Ay,{item:!0,lg:12,className:"static_page_container",id:"resource_body_section","aria-label":i.body,dangerouslySetInnerHTML:(0,H.R2)(i.body)}),i&&i.importantLinks&&i.importantLinks.length>0&&n.createElement(Zl,{listData:i.importantLinks,title:i.importantLinksTitle}),i&&i.ctaSection?n.createElement(b.Ay,{className:"resources-page-ribbon-container",id:"resources-page-ribbon-container"},n.createElement(Ui,{alignHeading:"right",alignSubHeading:"center",content:i.ctaSection})):null,i.releatedVideosSection.length?n.createElement("div",{className:"resources-video-section"},n.createElement(Vr,{articles:i.releatedVideosSection,headline:i.releatedVideosTitle,ctaLink:i.releatedVideosCtaLink,ctaText:i.releatedVideosCtaText})):null,i.faqSectionTitle&&i.faqSection&&""!=i.faqSection&&n.createElement(ao,{mainTitle:i.faqSectionTitle,contentFAQ:i.faqSection}),i&&i.recentNewsSection&&i.recentNewsSection.length>0?n.createElement(no,{title:i.recentNewsSectionTitle,ctaText:i.recentNewsSectionCtaText,ctaLink:i.recentNewsSectionCtaLink,newsList:i.recentNewsSection}):null,i&&i.footerSection&&n.createElement("div",{className:"resources-footer-section"},n.createElement(Sl,{heading:i.footerSection.cardTitle,description:i.footerSection.cardBody,ctaText:i.footerSection.cardButtonText,ctaLink:i.footerSection.ctaLink}))):l&&n.createElement(_i,null))};function ro(e){const{title:t,articleNewsId:a,articleSummary:i,contentType:r}=e,l=r||"";return n.createElement(n.Fragment,null,n.createElement(b.Ay,{item:!0,sm:5,md:5,lg:5},t?n.createElement(m.N_,{to:`${(0,H.p5)(l)}/${a}`,id:"urgentPinned_article_heading_link",className:"link_container"},n.createElement(W.A,{component:"h3",className:"heading link_item",id:"urgentPinned_article_heading"},t)):null),n.createElement(b.Ay,{item:!0,sm:7,md:7,lg:7},i?n.createElement("div",{className:"description_container"},n.createElement(W.A,{component:"div",className:"description",id:"urgentPinned_article_description",dangerouslySetInnerHTML:(0,H.R2)(i)})):null,n.createElement("div",{className:"textButton_container"},a?n.createElement(m.N_,{to:`${(0,H.p5)(l)}/${a}`,id:"urgentPinned_article_readMore",className:"textButton link","aria-label":"Read More"},"Read More"):null)))}function lo(e){const{name:t,email:a,phone:i,description:r,enquiryTitle:l,pinnedArticle:o}=e;return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),n.createElement(b.Ay,{className:"pinned_card_container",container:!0,direction:"row",alignItems:"flex-start",justifyContent:"space-between"},n.createElement(b.Ay,{className:"press_enquires_section",container:!0,item:!0,xs:12,sm:Gt()?_t.kd:_t.Uz,md:Gt()?_t.kd:_t.Uz,direction:Gt()?"row":"column"},n.createElement(b.Ay,{item:!0,sm:Gt()?_t.o3:_t.hP,className:"leftSectionEnquires"},l&&n.createElement(W.A,{variant:"h2",id:"headingNewsRoom",className:"heading"},l),r&&n.createElement(W.A,{variant:"h3",id:"sub-headingNewsRoom",className:"subTitle"},r)),n.createElement(b.Ay,{item:!0,sm:Gt()?_t.o3:_t.B9,className:"rightSectionEnquires"},t&&n.createElement(W.A,{variant:"body1",id:"subTitle_text_id",className:"subTitle_text"},t),i&&n.createElement("a",{href:`tel:${i}`,id:"subTitle_text_telephone_id",className:"telephone subTitle_text"},i),a&&n.createElement("a",{href:`mailto:${a}`,id:"subTitle_text_mail_id",className:"emailAnchor","aria-label":a||""},n.createElement(W.A,{variant:"body1",className:"subTitle_text"},a)))),o&&o.title?n.createElement(b.Ay,{className:"press_pinned_article urgentPinnedArticle",item:!0,xs:12,sm:Gt()?_t.kd:_t.B9,md:Gt()?_t.kd:_t.B9},n.createElement(b.Ay,{className:"articles_container",container:!0,direction:"row",alignItems:"flex-start",justifyContent:"flex-start"},n.createElement(ro,{title:o.title,articleNewsId:o.articleNewsId,articleSummary:o.articleSummary,contentType:o.contentType?o.contentType:""}))):null))}function oo(e){const{title:t,articleNewsId:a,articleSummary:i,contentType:r}=e,l=r||"";return n.createElement(n.Fragment,null,Vt()&&n.createElement(La.A,
1null,t?n.createElement(b.Ay,{className:"press_pinned_article RenderurgentPinnedArticle",item:!0,xs:12},n.createElement(b.Ay,{className:"articles_container",container:!0,direction:"row",alignItems:"flex-start",justifyContent:"flex-start"},n.createElement(ro,{title:t,articleNewsId:a,articleSummary:i,contentType:l}))):null))}function co(e){const{label:t,newsData:a,getQueryString:i,getClearSearchInput:r}=e;return n.createElement(n.Fragment,null,n.createElement("div",{id:"newsRoomHeroContainerId",className:"newsRoomHeroContainer"},n.createElement("div",{className:"maxWidthContainer"},n.createElement("div",{className:"maxWidth"},!Vt()&&a?n.createElement(La.A,{className:"innerConatinerHeroSectionNewsRoom"},n.createElement(qr,{heading:a.title,label:t,placeholder:t,searchBtn:"Search",color:se,headingColor:oe,searchBottomView:!1,setGlobalQueryString:i,clearSearchInput:r}),n.createElement(lo,{name:a.contactPersonName,email:a.contactPersonEmail,phone:a.contactPersonPhoneNumber,description:a.pressInquiriesDescription,enquiryTitle:a.pressInquiriesTitle,pinnedArticle:a.urgentPinnedArticle?a.urgentPinnedArticle:null})):null,Vt()&&a&&n.createElement(La.A,{className:"innerConatinerHeroSectionNewsRoomMobile"},n.createElement(qr,{heading:a.title,label:t,placeholder:t,searchBtn:"Search",color:se,headingColor:oe,searchBottomView:!0,setGlobalQueryString:i,clearSearchInput:r},a&&n.createElement(lo,{name:a.contactPersonName,email:a.contactPersonEmail,phone:a.contactPersonPhoneNumber,description:a.pressInquiriesDescription,enquiryTitle:a.pressInquiriesTitle,pinnedArticle:a.urgentPinnedArticle?a.urgentPinnedArticle:null})),a&&a.urgentPinnedArticle&&n.createElement(oo,{title:a.urgentPinnedArticle.title,articleSummary:a.urgentPinnedArticle.articleSummary,articleNewsId:a.urgentPinnedArticle.articleNewsId,contentType:a.urgentPinnedArticle.contentType?a.urgentPinnedArticle.contentType:""}))))))}const so=function(e){const t=e&&e.classes?e.classes:"",a=e.phoneSpacing?e.phoneSpacing:0,i=e.tabletSpacing?e.tabletSpacing:0,r=e.desktopSpacing?e.desktopSpacing:null,l=!!e.noDivision&&e.noDivision,[o,c]=(0,n.useState)(null);return(0,n.useEffect)(()=>{(0,H.xX)()?c(l?`${a}px`:`calc(${a}px / 2)`):(0,H.bT)()?c(l?`${i}px`:`calc(${i}px / 2)`):(0,H.vk)()?c(l?`${r}px`:`calc(${r}px / 2)`):c("0px")}),n.createElement(n.Fragment,null,o&&n.createElement(La.A,{className:`${t} spacer`,style:{width:"100%",height:o}}))},mo=e=>{const{id:t,index:a,imageSrc:i,imageAlt:r,heading:l,postedBy:o,postDate:c,cardDetailsDirection:s,theme:d,linkURL:u,linkTarget:p,errorMsg:g}=e,h=`${t}_card_${a}`;return n.createElement(n.Fragment,null,n.createElement(La.A,{className:`pess_card card_${a} ${"fullWidth"===d?"fullWidth":""}`,id:h},n.createElement(La.A,{className:`card_wrapper card_wrapper_${a} ${"fullWidth"===d?"fullWidth":""}`},n.createElement(b.Ay,{container:!0,className:"card_wrapper_container"},i?n.createElement(b.Ay,{item:!0,container:!0,alignItems:"center",justifyContent:"flex-start",xs:12,sm:"fullWidth"===d?12:3,className:"card_image_wrapper"},n.createElement(La.A,{className:"card_image_wrapper_container",style:{backgroundImage:`url(${i})`},id:`${h}_image`,role:"img","aria-label":r})):null,g?n.createElement(W.A,{className:"error_heading heading"},g):n.createElement(b.Ay,{item:!0,container:!0,alignItems:"center",justifyContent:"flex-start",xs:12,sm:"fullWidth"===d?12:9,className:"card_details_wrapper"},l?n.createElement(La.A,{className:"card_details_wrapper_container"},n.createElement(b.Ay,{container:!0,direction:s||"row",alignItems:"flex-start",alignContent:"space-between",className:"card_details"},n.createElement(b.Ay,{item:!0,container:!0,xs:12},n.createElement(La.A,{className:"details_heading_container"},p&&"_blank"===p?n.createElement("a",{href:u||"#",className:"heading details_heading",id:`${h}_details_heading`,target:"_blank",rel:"noopener noreferrer"},l):n.createElement(m.N_,{to:u||"#",className:"heading details_heading",id:`${h}_details_heading`},l),n.createElement(Di.A,null))),n.createElement(b.Ay,{item:!0,xs:12},o?n.createElement(W.A,{id:`${h}_details_postedBy`,className:"description details_postedBy"},o):null,c?n.createElement(W.A,{id:`${h}_details_postDate`,className:"description details_postDate"},(0,H.wU)(c,"MMMM DD, YYYY")):null))):null)))))};var uo=a(56783);function po(e,t){return(e-1)*t}function go(e,t){return Math.ceil(e/t)}function ho(e){const{currentPage:t,limit:a,handleChange:i,totalItems:r}=e;return n.createElement(uo.A,{id:"paginationId",page:t,onChange:i,count:go(r,a)})}const Eo=[{name:"Press releases",type:"release"},{name:"Press mentions",type:"mention"}],yo=e=>{const t=(0,n.useRef)(null),i=1e3*(0,Ve.AV)(),r=new Date(i).getFullYear(),{id:l,searchPlaceholder:o,noOfPrecedingYear:c,queryString:s,setClearInput:m}
1=e,[d,u]=(0,n.useState)(null),[p,g]=(0,n.useState)(0),[h,E]=(0,n.useState)(r),[y,f]=(0,n.useState)("release"),[v,A]=(0,n.useState)(1),[N,S]=(0,n.useState)(0),[w,x]=(0,n.useState)(!1),_=y?(0,H.dl)(y,{lowerCase:!0,capitalize:!0}):"Release",k=!!y&&"mention"===y,C=!!p&&p>0,T=10,I=[];if(r&&c)for(let a=0;a<c+1;a++)I[a]=0===a?r:I[a-1]-1;const L=`${l}_press`,B=`${L}_${y}_${h}`;return(0,n.useEffect)(()=>{const e=`Unauthenticated/Press${_}s/Press${_}sYearlyJson/press-${y}-${h}.json`;o(`Search ${y}s`),(0,xt.c)(e).then(e=>{if(e){if(!s||""===s&&null===s&&void 0===s)u(e),g(e.length),A(1),S(po(1,T));else{const a=function(e,a){if(e)return e.filter(function(e){if(e)return Object.keys(e).some(function(n){if(n&&e[n]){let i;return"summary"===n||"title"===n||"publicationName"===n?i=e[n].toLowerCase():"body"===n?t.current&&(t.current.innerHTML=e[n],i=t.current.innerText.toLowerCase(),t.current.innerHTML=""):i="",i.includes(a)}})})}(e,s.toLowerCase());u(a),g(a.length),A(1),S(po(1,T));const n=document.getElementById(`${L}_tabs_button_${y}`);null===n||void 0===n||n.focus(),(0,H.Ar)(`${L}_tabs_button_${y}`,!0,30)}setTimeout(()=>{x(!1)},1)}}).catch(e=>(A(0),S(0),u(null),x(!1),e))},[o,_,y,h,s]),n.createElement("div",{id:L},n.createElement(so,{desktopSpacing:101,tabletSpacing:0}),n.createElement($r,{id:L},n.createElement(La.A,{className:"tabs_wrapper",id:`${L}_tabs_wrapper`},n.createElement(b.Ay,{container:!0,className:"tabs_wrapper_container",id:`${L}_tabs_wrapper_container`},n.createElement(b.Ay,{item:!0,container:!0,xs:12,justifyContent:"center",alignItems:"center",className:"tabs_wrapper_container_item",id:`${L}_tabs_wrapper_container_item`},Eo&&y&&c>0?Eo.map((e,t)=>n.createElement(P.A,{id:`${L}_tabs_button_${e.type}`,key:`${L}_tabs_button_${t}`,onClick:t=>{return a=e.type,x(a!==y),m(!0),void setTimeout(()=>{m(!1),o(`Search ${a}s`),f(a)},1);var a},className:"tab_button "+(e.type===y?"active":"not_active")},e.name)):null))),n.createElement(La.A,{className:"tabPanel_container",id:`${L}_tabPanel_container`},n.createElement(b.Ay,{container:!0,id:`${L}_sub_tabs`},n.createElement(b.Ay,{item:!0,container:!0,xs:12,lg:2,alignItems:"flex-start",justifyContent:"center",className:"sub_tabs_container",id:`${L}_sub_tabs_container_for_years`},n.createElement(La.A,{className:"sub_tabs_years_box",id:`${L}_sub_tabs_years_box`},r&&h&&I.length>0?I.map((e,t)=>n.createElement(La.A,{id:`${L}_sub_tabs_year_box_item_${e}`,key:`${L}_subTabs_years_button_${t}`,className:"sub_tabs_years_box_item"},n.createElement(P.A,{id:`${L}_sub_tabs_year_button_${t}`,className:"year_button "+(h===e?"active":"not_active"),onClick:()=>function(e){x(e!==h),E(e)}(e)},e))):null)),w?n.createElement(sa,null):n.createElement(b.Ay,{item:!0,xs:12,lg:10,id:`${L}__tabs_panel_container_for_cards`},d&&C?d.slice(N,N+T).map((e,t)=>{const i=e.releaseDate;return n.createElement(mo,{key:`${B}_tabPanel_${t}`,id:`${B}_tabPanel`,index:t,imageSrc:k?null:e.postImage?e.postImage+"?w=185&h=132&fit=thumb":a(58480),linkURL:k?e.redirectUrl:""+("/press-release/"+e.pressReleaseId),imageAlt:"Card Image",heading:e.title,postedBy:e.publicationName?e.publicationName:null,postDate:i,theme:k?"fullWidth":null,cardDetailsDirection:k?"column-reverse":"row",linkTarget:k?"_blank":"_self"})}):n.createElement(mo,{key:`${B}_tabPanel_error`,id:`${B}_tabPanel_error`,index:0,theme:"fullWidth",errorMsg:"There are no posts for the selected filters."}))),!1===w&&C&&v&&p&&p>T?n.createElement(ho,{limit:T,totalItems:p,handleChange:(e,t)=>
1function(e,t){A(t),S(po(t,T)),window.scrollTo(0,475)}(0,t),currentPage:v}):null)),n.createElement(so,{desktopSpacing:135,tabletSpacing:135,phoneSpacing:66,noDivision:!0}),n.createElement("div",{className:"forsearchonly",ref:t,"aria-hidden":"true"}))};function bo(e){const[t,a]=(0,n.useState)(null),[i,r]=(0,n.useState)("Search releases"),[l,o]=(0,n.useState)(null),[c,s]=(0,n.useState)(!1),{newsRoomPreviewData:m}=e;return(0,n.useEffect)(()=>{window.scrollTo(0,0),document.title="NewsRoom | Bright MLS",m?a(m):(0,xt.c)(_t.XW).then(e=>{a(e)}).catch(()=>{a(null)})},[]),n.createElement(n.Fragment,null,t&&n.createElement(n.Fragment,null,n.createElement(co,{label:i,newsData:t,getQueryString:o,getClearSearchInput:c}),n.createElement(yo,{id:"newsRoom",searchPlaceholder:r,noOfPrecedingYear:t.numberOfPrecedingYear,queryString:l,setClearInput:s}),t&&t.footerSection&&n.createElement(Sl,{heading:t.footerSection.cardTitle,description:t.footerSection.cardBody,ctaText:t.footerSection.cardButtonText,ctaLink:t.footerSection.ctaLink})))}const fo=e=>{const{pageId:t,card:a}=e,i=t+"_heroSection";function r(e){e&&(0,H.io)(e)&&(0,H.Ar)(e,!0,10)}return n.createElement("div",{id:i,className:"content-container"},n.createElement("div",{id:"careerPageContainer",className:"careerPageContainer"},n.createElement("section",{id:"careerheaderSection",className:"careerheaderSection"},n.createElement("div",{id:"careerleftTextContainer",className:"careerleftTextContainer"},n.createElement("h1",{id:"careerheading",className:"careerheading"},null===a||void 0===a?void 0:a.heroSectionTitleV2),n.createElement("a",{id:"careerCTA",className:"ctaButton",href:null===a||void 0===a?void 0:a.heroSectionCtaLinkV2,target:"_blank",rel:"noopener noreferrer"},null===a||void 0===a?void 0:a.heroSectionCtaTextV2)),n.createElement("div",{className:"careersubscriptionContainer"},a&&n.createElement("div",{id:"careerimageSection",className:"careerimageSection"},n.createElement("img",{id:"advImage",className:"advImage",src:a.heroSectionImageV2,alt:"brightMLS_advImage"})))),n.createElement("section",{id:"careersubscriptionSection",className:"careersubscriptionSection"},n.createElement("div",{className:"careerscrollControlWrap",id:"careerscrollControlWrap"},n.createElement("a",{onClick:()=>r(null===a||void 0===a?void 0:a.heroSectionLeftAnchorIdV2),id:"anchorTagRates"},null===a||void 0===a?void 0:a.heroSectionLeftAnchorTextV2,n.createElement("span",{className:"material-icons"},"keyboard_arrow_down")),n.createElement("a",{onClick:()=>r(null===a||void 0===a?void 0:a.heroSectionRightAnchorIdV2),id:"anchorTagQuestions"},null===a||void 0===a?void 0:a.heroSectionRightAnchorTextV2,n.createElement("span",{className:"material-icons"},"keyboard_arrow_down"))))))},vo=e=>{const{pageId:t,card:a}=e,i=t+"_FooterSection";var r;return a&&a.cardTitle&&a.cardButtonText?n.createElement(n.Fragment,null,n.createElement("div",{className:"footerSection",id:i},n.createElement("h2",{className:"footerTitle"},a.cardTitle),n.createElement("a",{id:"careerCTA",className:"ctaButton",href:null!==(r=a.ctaLink)&&void 0!==r?r:"",target:"_blank",rel:"noopener noreferrer"},a.cardButtonText),n.createElement(so,{desktopSpacing:135,tabletSpacing:135,phoneSpacing:76}))):null},Ao=e=>{const{pageId:t,details:a}=e,i=t+"_homeSection";if(a){const{headline:e,image:t,buttonText:r,ctaLink:l,additionalSummary:o,subImages:c}=a;return n.createElement("div",{id:i,className:"homeSectionContainer"},n.createElement("div",{id:"homeSection_pictureContainer",className:"pictureContainer"},n.createElement("div",{id:"homeSection_picTop",className:"picTop"},n.createElement("img",{src:t,alt:"three guys laughing"})),n.createElement("div",{id:"homeSection_picBottom",className:"picBottom"},n.createElement("img",{src:c,alt:"people dressed up"}))),n.createElement("div",{id:"homeSection_textContainer",className:"textContainer"},n.createElement("h1",{id:"homeSection_heading"},e),n.createElement("div",{id:"homeSection_additionalSummery",dangerouslySetInnerHTML:(0,H.R2)(o)}),n.createElement("a",{id:"homeSection_ctaButton",className:"ctaButton",href:l,target:"_blank",rel:"noopener noreferrer"},r)))}return null},No=e=>{const{pageId:t,deiSectionData:a,anchorId:i}=e,{additionalSummary:r,headline:l,image:o,subImages:c}=a,s=t+"_homeSection";return n.createElement("div",{id:i},n.createElement("div",{className:"detBannerImageSectionWrapper",id:"detBannerImageSectionWrapper"},n.createElement("img",{src:o,alt:"deiBanner"}),n.createElement("div",{className:"absoluteViewDei",id:"absoluteViewDei"},n.createElement("p",null,l))),n.createElement("div",{id:s,className:"deiSectionContainer"},n.createElement("div",{id:"deiPictureContainer",className:"deiPictureContainer gap"},n.createElement("img",{src:c[0],alt:"three guys laughing",id:"picLeftTop_Dei",className:"picLeftTop"}),n.createElement("img",{src:c[1],alt:"people dressed up",id:"picLeftBottom_Dei",className:"picLeftTop"})),n.createElement("div",{id:"deiTextContainer",className:"deiTextContainer",dangerouslySetInnerHTML:(0,H.R2)(r)})))},So=(0,q.A)({root:e=>({padding:e.container_padding?e.container_padding:"89.5px 0 67.5px"}),expandCollapseBtn:e=>({marginBottom:0===e.templeteId?"70px":"15px",marginTop:0===e.templeteId?"-40px":"-32px"}),accordionListWrapper:{width:"100%",maxWidth:"790px"}});
1const wo=function(e){const[t,a]=(0,n.useState)(!0),i=[],r=So(e),{pageId:l,lengthOfFAQ:o,title:c,expandBtn:s,collapseBtn:m,accordionItems:d}=e;if(d)for(let n=0;n<d.length;n++)i[n]=!1;const[u,p]=(0,n.useState)(i),g=e.templeteId?e.templeteId:0,h=l+"_faq_templete_"+g;function E(e,t){if(u)for(let n=0;n<u.length;n++)(!1===t||n===t)&&(u[n]=e);const a=[...u];p(a)}function y(e,t){e.preventDefault(),t?(a(!1),E(!0,!1)):(a(!0),E(!1,!1))}function f(e,t,n){e.preventDefault(),e.stopPropagation(),E(!t,n);u.every(e=>!0===e)?a(!1):a(!0)}return n.createElement(n.Fragment,null,d&&Object.keys(d).length>0?n.createElement(b.Ay,{id:h,className:`accordion_templete accordion_templete_${g}`},n.createElement("div",{className:"maxWidthContainer"},n.createElement("div",{className:"maxWidth benifitFAQContainer"},n.createElement(b.Ay,{container:!0,direction:"row",alignItems:"flex-end"},n.createElement(b.Ay,{item:!0,container:!0,xs:12,sm:8,md:8,lg:8,alignItems:"flex-end",justifyContent:"flex-start",className:"accordion_templete_subHeader"},c&&o&&o>1&&n.createElement(W.A,{className:"title",align:"left",id:`${h}_title_div`},c)),n.createElement(b.Ay,{item:!0,xs:12,sm:1,md:1,lg:1}),n.createElement(b.Ay,{item:!0,container:!0,xs:12,sm:3,md:3,lg:3,alignItems:"flex-end",justifyContent:"flex-end",className:"accordion_templete_expandCollapse_btn_container"},s&&m&&n.createElement(La.A,{className:"accordion_templete_expandCollapse_btn_wrapper"},!0===t?n.createElement(P.A,{className:"button styleLink",id:h+"_expandAll_btn",onClick:e=>y(e,!0)},s):n.createElement(P.A,{className:"button styleLink",id:h+"_collapseAll_btn",onClick:e=>y(e,!1)},m)))),n.createElement(b.Ay,{container:!0,direction:"row",alignItems:"flex-start",justifyContent:1===g?"flex-start":2===g?"flex-end":"center",className:"accordion_templete_list_container"},n.createElement(La.A,{className:`accordion_templete_list_wrapper ${r.accordionListWrapper}`},Object.values(d).map((e,t)=>n.createElement(xn,{key:t,id:h,index:t,checkExpanded:f,isExpanded:u[t],panelId:`panel${t}`,title:e.question,description:e.answer}))))))):null)};function xo(e){const{children:t,value:a,index:i,...r}=e;return n.createElement("div",Object.assign({role:"tabpanel",hidden:a!==i,id:`simple-tabpanel-${i}`,"aria-labelledby":`simple-tab-${i}`},r),a===i&&n.createElement(La.A,{p:0},n.createElement(W.A,{component:"span"},t)))}const _o=function(e){const{benefitsFAQ:t,title:a,summary:i,pageId:r,anchorId:l}=e,o=t?Object.keys(t).length:0,c=1===o?0:2,s=r+"_benefitsSection_"+c,m=r+"_benefitsSection",[d,u]=n.useState(0);return n.createElement(n.Fragment,null,t&&o>0?n.createElement("div",{className:`benefitsSection benefitsSectionNew benefitsSection_templete_${c}`,id:l},n.createElement($r,{id:m},n.createElement(b.Ay,{className:"benefitsSection_wrapper"},a||i?n.createElement(b.Ay,{container:!0,direction:"row",alignItems:"flex-end",className:`accordion_templete_header accordion_templete_${c}_header`},n.createElement(b.Ay,{item:!0,sm:7,xs:12},n.createElement(W.A,{className:"heading benefitsSection_heading h2",component:"h2",id:s+"_heading_h2"},a)),n.createElement(b.Ay,{item:!0,sm:5,xs:12},n.createElement(W.A,{className:"heading benifitsSectionSummary h3",component:"h3",id:s+"_heading_h3"},i))):null,n.createElement("hr",{className:"divider benifitsSectionDivider"}),n.createElement(La.A,null,n.createElement(En.A,{value:d,onChange:(e,t)=>
1{u(t)},"aria-label":"benifits section tabs",className:"benifitsSectionTabContainer"},Object.values(t).map((e,t)=>n.createElement(yn.A,Object.assign({label:e.title},function(e){return{id:`simple-tab-${e}`,"aria-controls":`simple-tabpanel-${e}`}}(t),{key:t,className:"benifitSectionTab"})))),Object.values(t).map((e,t)=>n.createElement(xo,{value:d,index:t,key:"tabPane_"+t},n.createElement(wo,{key:t,lengthOfFAQ:o,pageId:r+"_"+t+"_",templeteId:c,title:0!==c?e.summary:null,expandBtn:e.expandAllTitle?e.expandAllTitle:null,collapseBtn:e.collapseAllTitle?e.collapseAllTitle:null,accordionItems:e.questionAndAnswerSection}))))))):null)};function ko(e){const{additionalSummary:t,buttonText:a,headline:i,image:r,ctaLink:l}=e;return n.createElement($r,{id:"flexibleWorkplaceSection"},n.createElement("div",{className:"flexibleWorkplaceContainer"},n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{item:!0,sm:6,id:"subGrid"},n.createElement(W.A,{className:"heading",component:"h2",id:"heading_h2"},i),t&&n.createElement("span",{className:"summary",dangerouslySetInnerHTML:(0,H.R2)(t)}),a&&l&&n.createElement("a",{id:"careerCTA",className:"ctaButton",href:l||"",target:"_blank",rel:"noopener noreferrer"},a)),n.createElement(b.Ay,{item:!0,sm:6,id:"subGrid"},r&&n.createElement("img",{src:r,className:"locationImg"})))))}const Co=e=>{const[t,a]=n.useState(null),i="careers",{carrersPreviewData:r}=e;return n.useEffect(()=>{(0,H.eG)(),r?(a(r),document.title=`${r.title} | Bright MLS`):(0,xt.c)(_t.E).then(e=>{a(e),document.title=`${e.title} | Bright MLS`}).catch(()=>{a(null)})},[]),t?n.createElement("div",{id:i,className:i},n.createElement(fo,{pageId:i,card:t}),n.createElement(so,{desktopSpacing:101,tabletSpacing:101,phoneSpacing:135}),n.createElement(Ao,{pageId:i,details:null===t||void 0===t?void 0:t.homeSection}),n.createElement(No,{deiSectionData:null===t||void 0===t?void 0:t.deAndISection,pageId:i,anchorId:t.heroSectionLeftAnchorIdV2}),n.createElement(so,{desktopSpacing:101,tabletSpacing:51,phoneSpacing:51}),n.createElement(ko,{headline:t.flexibleWorkplaceSection.headline,additionalSummary:t.flexibleWorkplaceSection.additionalSummary,image:t.flexibleWorkplaceSection.image,buttonText:t.flexibleWorkplaceSection.buttonText,ctaLink:t.flexibleWorkplaceSection.ctaLink}),n.createElement(so,{desktopSpacing:350,tabletSpacing:101,phoneSpacing:51}),n.createElement(_o,{pageId:i,anchorId:t.heroSectionRightAnchorIdV2,title:t.benefitSectionTitleV2,summary:t.benefitSectionSummary,benefitsFAQ:t.benefitFaqSection}),n.createElement(so,{desktopSpacing:101,tabletSpacing:101,phoneSpacing:51}),n.createElement(vo,{pageId:i,card:null===t||void 0===t?void 0:t.footerSectionV2})):null};const To=function(e){const{cardId:t,imageSrc:a,imageAlt:i,heading:r,headingType:l,description:o,ctaLink:c,ctaText:s,isCtaExt:d,colors:u}=e;return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),n.createElement(b.Ay,{container:!0,className:"cards card_imageOnTop",id:t,style:{background:u&&u.bg?u.bg:"#1F3A93"}},n.createElement(b.Ay,{item:!0,xs:12,className:"card_image_Container"},a?n.createElement(La.A,{className:"cardimage image",role:"img","aria-label":i||_t.Vr,id:t+"_image",style:{backgroundImage:`url(${a})`}}):null),n.createElement(b.Ay,{item:!0,xs:12,className:"card_details"},n.createElement(La.A,{className:"card_details_container"},n.createElement(La.A,{className:"card_heading_container",style:{color:u&&u.heading?u.heading:"#F3FBFD"}},r?n.createElement(W.A,{className:"heading cardheading",component:l||"h2",id:t+"_heading"},r):null),n.createElement(La.A,{className:"card_description_container",style:{color:u&&u.description?u.description:"#F3FBFD"}},o?n.createElement(W.A,{className:"description carddescription",dangerouslySetInnerHTML:(0,H.R2)(o),id:t+"_description"}):null)),c&&s?n.createElement(La.A,{className:"card_link_container",style:{color:u&&u.link?u.link:"#86E2D5"}},d?n.createElement("a",{id:t+"_link",className:"link cardlink","aria-label":s,href:c,target:"_blank",rel:"noopener noreferrer"},n.createElement("span",{"aria-hidden":"true"},s),n.createElement("span",{"aria-hidden":"true"},n.createElement(Di.A,null))):n.createElement(m.N_,{id:t+"_link",className:"link cardlink","aria-label":s,to:c},n.createElement("span",{"aria-hidden":"true"},s),n.createElement("span",{"aria-hidden":"true"},n.createElement(Di.A,null)))):null)))},Io=(0,q.A)({BgImage:e=>({background:`url(${e.imageSrc})`}),CardBg:e=>({background:`${e&&e.colors&&e.colors.bg?e.colors.bg:"#1F3A93"}`}),ColorHeading:e=>({color:`${e&&e.colors&&e.colors.heading?e.colors.heading:"#fff"}`}),ColorDescription:e=>({color:`${e&&e.colors&&e.colors.description?e.colors.description:"#F3FBFD"}`})});const Lo=function(e){const t=Io(e.data),{cardId:a,imageSrc:i,imageAlt:r,heading:l,headingType:o,description:c}=e.data;return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),n.createElement(b.Ay,{container:!0,className:`cards card_profileCard ${t.CardBg}`,id:a},n.createElement(b.Ay,{item:!0,xs:12},i?n.createElement(La.A,{className:"card_image_Container",id:a+"_image_container"},n.createElement(La.A,{className:`${t.BgImage} cardimage image`,role:"img","aria-label":r||_t.Vr,id:a+"_image"})):null,l&&i?n.createElement(La.A,{className:"card_details",id:a+"_details"},n.createElement(La.A,{className:"card_details_container",id:a+"_details_container"},n.createElement(La.A,{className:"card_heading_container",id:a+"_heading_container"},n.createElement(W.A,{className:`heading cardheading ${t.ColorHeading}`,component:o||"h2",id:a+"_heading"},l)),c?n.createElement(La.A,{className:"card_description_container",id:a+"_description_container"},n.createElement(W.A,{className:`description carddescription ${t.ColorDescription}`,dangerouslySetInnerHTML:(0,H.R2)(c),id:a+"_description"})):null)):null)))};const Bo=function(e){const{cardType:t,cardId:a,imageSrc:i,imageAlt:r,heading:l,headingType:o,description:c,ctaLink:s,ctaText:m,colors:d,isCtaExt:u}=e;return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),t&&"ImageOnTop"===t&&n.createElement(To,{cardId:a,imageSrc:i,imageAlt:r,heading:l,headingType:o,description:c,ctaLink:s,ctaText:m,isCtaExt:u,colors:{bg:d&&d.bg?d.bg:null,heading:d&&d.heading?d.heading:null,description:d&&d.description?d.description:null,link:d&&d.link?d.link:null}}),t&&"ProfileCard"===t&&n.createElement(Lo,{data:e}))};var Do=a(91413);const Mo=(0,q.A)({FontColor:e=>({color:e.fontColor?e.fontColor:"#1F3A93"})}),Po=e=>{const t=Mo(e),{anchors:a,componentId:i}=e;return n.createElement(n.Fragment,null,a&&Object.keys(a).length>0?n.createElement(La.A,{className:"anchorLinks_container",id:`${i}_anchorLink_lists_container`},n.createElement("ul",{className:"anchor_links",id:`${i}_anchorLink_lists`},Object.values(a).map((e,a)=>{if(e.txt&&(0,H.io)(e.txt)){const r=e.id?e.id:"";return n.createElement("li",{key:a,className:"anchor_link",id:`${i}_anchorLink_list_${a}`},n.createElement(On.A,{href:`#${r}`,className:`${t.FontColor} link heroLink`,onClick:t=>function(e,t,a){e.preventDefault(),(0,H.Ar)(t,!0,a)}
1(t,r,e.position?e.position:10),"aria-label":e.txt,id:`${i}_anchorLink_${a}`},n.createElement("span",{"aria-hidden":"true"},e.txt),n.createElement("span",{"aria-hidden":"true"},n.createElement(Do.A,null))))}return null}))):null)},Ro=(0,q.A)({ExtraRightImage:e=>({background:`url(${e.extraRgtImg?e.extraRgtImg:"#fff"})`}),FontColor:e=>({color:e.fontColor?e.fontColor:"#1F3A93"})}),Oo=e=>{const t=Ro(e),{id:a,heading:i,description:r,anchorLinks:l,fontColor:o,CustomeRightSction:c,cardImage:s,firstName:m,lastName:d,companyName:u,companyLocation:p,extraRgtImg:g}=e,h=`${a}_HeroSection`;function E(e,t){return e&&t?e+", "+t:e&&!t?e:t&&!e?t:null}const y=E(m||null,d||null),f=E(u||null,p||null);return n.createElement("div",{id:h},n.createElement(pn.Ay,null),n.createElement(so,{desktopSpacing:135,tabletSpacing:101,phoneSpacing:43,noDivision:!0}),n.createElement($r,{id:h},n.createElement(b.Ay,{container:!0,className:"heroSection",id:`${h}_wrapper`},n.createElement(b.Ay,{container:!0,item:!0,xs:12,sm:12,md:12,lg:7,className:"hero_details_wrapper",id:`${h}_details_wrapper`},n.createElement(La.A,{className:"hero_details_container",id:`${h}_details_container`},i||r?n.createElement(La.A,{className:"discription_container",id:`${h}_discription_container`},i?n.createElement(W.A,{component:"h1",id:`${h}_heading`,className:`${t.FontColor} heading hero_heading`},i):null,r?n.createElement(W.A,{className:`${t.FontColor} description hero_description`,dangerouslySetInnerHTML:(0,H.R2)(r),id:`${h}_description`}):null,n.createElement(so,{desktopSpacing:57,tabletSpacing:0,phoneSpacing:32,noDivision:!0})):null,n.createElement("div",{className:"anchorLinks desktopAndMobile"},Gt()?null:n.createElement(Po,{componentId:h,anchors:l,fontColor:o})),n.createElement(so,{desktopSpacing:86,tabletSpacing:140,phoneSpacing:0,noDivision:!0}))),n.createElement(b.Ay,{container:!0,direction:"row",alignItems:"flex-start",justifyContent:"flex-start",item:!0,xs:!1,sm:5,md:5,lg:!1,className:"anchorLinks tabletOnly"},Gt()?n.createElement(Po,{componentId:h,anchors:l,fontColor:o}):null),n.createElement(b.Ay,{container:!0,className:c?"":"hero_card",item:!0,xs:12,sm:7,md:7,lg:5},c||(s||g?n.createElement(La.A,{className:"hero_card_wrapper",id:`${h}__card_wrapper`},n.createElement(La.A,{className:"hero_card_container",id:`${h}__card_container`},n.createElement(La.A,{className:"hero_card_container_Box"},n.createElement(Bo,{cardType:"ProfileCard",cardId:h+"_card",imageSrc:s,imageAlt:y||_t.Vr,heading:y,headingType:"p",description:f})),g?n.createElement(La.A,{className:"hero_extra_image_container",id:`${h}_extra_image_container`},n.createElement(La.A,{className:`hero_extra_image ${t.ExtraRightImage}`,role:"img","aria-label":_t.Vr,id:`${h}_extra_image`})):null)):null)))))};function Uo(e){const{title:t,summary:a,image:i,summaryId:r,titleId:l,imageId:o}=e;return n.createElement(b.Ay,{container:!0,item:!0,className:"title_section",xs:12,sm:12,md:12,lg:12},n.createElement(b.Ay,{item:!0,xs:12,sm:Gt()?12:6,md:Gt()?12:6,lg:6,className:"inner_title_section"},n.createElement(W.A,{variant:"h3",id:l||"","aria-level":2,role:"heading",className:"heading"},t),n.createElement("div",{className:"subTitle",id:r||"",dangerouslySetInnerHTML:(0,H.R2)(a)})),n.createElement(b.Ay,{item:!0,xs:12,sm:Gt()?12:6,md:12,lg:6,id:o||"",className:"image_container_left_section",style:{backgroundImage:`url(${i})`}}))}function Fo(e){const{title:t,imageSection:a,summary:i,cardsData:r}=e,l=r.map(e=>({cardTitle:e.title,cardBody:e.summary,cardButtonText:"LEARN MORE",ctaLink:e.uniqueId.startsWith("/")?`/${_t.IP}${e.uniqueId}`:`/${_t.IP}/${e.uniqueId}`}));return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),l&&l.length>0?n.createElement(n.Fragment,null,n.createElement(so,{desktopSpacing:101,tabletSpacing:120,phoneSpacing:76,noDivision:!0}),n.createElement(b.Ay,{container:!0,id:"includeSubscriptionContainerId",className:"includeSubscriptionContainer"},n.createElement(Uo,{title:t,summary:i,image:a,titleId:"includeSubscriptionTitleId",summaryId:"includeSubscriptionSummaryId",imageId:"includeSubscriptionImageId"}),n.createElement($r,{id:"includeSubscriptionId"},n.createElement(b.Ay,{container:!0,className:l&&l.length>1?"included_subscription_wrapper":"included_subscription_wrapper_center",id:"included_subscription_wrapper_id"},n.createElement(b.Ay,{className:"resource-landing-policy-resource-guide-container"},n.createElement(b.Ay,{className:"card-section",id:"card-section_included_subscription_id"},n.createElement(Fi,{disableTopLink:!0,className:"resources-landing-card-section",elementId:"included_subscription",cards:l}))))))):null)}function $o(e){const{title:t,imageSection:a,summary:i,cardsData:r}=e,l=r.map(e=>{return{cardTitle:e.title,cardBody:e.summary,cardButtonText:"LEARN MORE",ctaLink:(t=e.uniqueId,/^(http(s):\/\/.)[-a-zA-Z0-9@:%._\\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\\+~#?&/=]*)$/g.test(t)?t:t.startsWith("/")?`/${_t.IP}${t}`:`/${_t.IP}/${t}`)};var t});return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),l&&l.length>0?n.createElement(n.Fragment,null,n.createElement(so,{desktopSpacing:101,tabletSpacing:100,phoneSpacing:92,noDivision:!0}),n.createElement(b.Ay,{container:!0,id:"premiumEnhancementContainerId",className:"premiumEnhancementContainer"},n.createElement(Uo,{title:t,summary:i,image:a,titleId:"premiumEnhancementTitleId",summaryId:"premiumEnhancementSummaryId",imageId:"premiumEnhancementImageId"}),n.createElement($r,{id:"premiumEnhancementId"},n.createElement(b.Ay,{container:!0,className:"premium_enhancement_wrapper",id:"premium_enhancement_wrapper_id"},n.createElement(b.Ay,{className:"resource-landing-policy-resource-guide-container"},n.createElement(b.Ay,{className:"card-section",id:"card-section_subscription_id"},n.createElement(Fi,{disableTopLink:!0,className:"resources-landing-card-section",elementId:"premium_enhancement",cards:l}))))))):null)}const Wo=e=>{const t="Product_Landing",[a,i]=n.useState(null),{productPreviewData:r}=e;return n.useEffect(()=>{(0,H.eG)(),r?i(r):(0,xt.c)(_t.Fl).then(e=>{i(e)}).catch(()=>{i(null)})},[]),n.createElement(n.Fragment,null,n.createElement("div",{className:"product_landing",id:t},a?n.createElement(n.Fragment,null,a.heroSectionTitle?n.createElement("div",{id:`${t}_landing_heroSection`,className:"product_landing_heroSection"}
1,n.createElement(Oo,{id:t,heading:a.heroSectionTitle,description:a.summary?a.summary:null,anchorLinks:[{id:a.heroSectionLeftAnchorId?a.heroSectionLeftAnchorId:null,txt:a.heroSectionLeftAnchorText?a.heroSectionLeftAnchorText:null,position:110},{id:a.heroSectionRightAnchorId?a.heroSectionRightAnchorId:null,txt:a.heroSectionRightAnchorText?a.heroSectionRightAnchorText:null,position:110}],cardImage:a.largeRightSideImage,firstName:a.name,lastName:a.title,companyName:a.company,companyLocation:a.location,extraRgtImg:a.smallLeftSideImage})):null,a.subscriptionSectionTitle&&n.createElement(Fo,{title:a.subscriptionSectionTitle,imageSection:a.subscriptionSectionImage,summary:a.subscriptionSectionSummary,cardsData:a.subscriptionSectionPinnedProduct}),a&&a.ctaLayer?n.createElement("div",{className:"product_cta_section"}," ",n.createElement(Ui,{alignHeading:"right",alignSubHeading:"center",content:a.ctaLayer})):"",a.premiumEnhancementSectionTitle&&n.createElement($o,{title:a.premiumEnhancementSectionTitle,imageSection:a.premiumEnhancementSectionImage,summary:a.premiumEnhancementSectionSummary,cardsData:a.premiumEnhancementPinnedProduct})):null,a&&a.footerSection?n.createElement("div",{className:"product_landing_opt_footer"},n.createElement(Sl,{heading:a.footerSection.cardTitle||"",description:a.footerSection.cardBody||"",ctaText:a.footerSection.cardButtonText||"",ctaLink:a.footerSection.ctaLink||""})):null))},Ho="Included",jo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALKSURBVHgBvVe7ThtBFL131usgI0XOF8SuUkWxu3RAH0WbIhKiYVGCRAd/YPsP7C4CFJbGuBwnHwD0kXCkFOmyf5BteMjGc3NnMDbxA+/LHMnWaHdnzp1zXzMIIeE4br6fE44AewVAlQCpAIR58xIp4LHPo44COLeuelJKLwizLs4lXncLCrO7KJQ7JAwHD1WvJlueD3EM0DtWy9kKEu1BAhBiXVx2a7MUmWqA3jUJ+5SHBUgHPquxNk0NMUG+4ZZSJtcwG3I+bpfGX/ynwAJ2Po4JJYYGaJ9Tzr5YIPnIiKte+T4mhi7QAfcE5BqFAZeBUWAg/Z+5Uwk7nPMlSAHsiqJ2hVGAySthJim8baCyikR0DAmh0DbpjY7Lvu/af0NNgv7W9+ZXT4+d9W2Xc7xiKmI8BBwLRdHv2g7EgGwdeO2T/SIC1SAe7ko7+2AFEkA2D6tx3SLAWhEchomDSra++N9ODl1UsDVoSmFREkDppV4MtxR0FkTpcOEMCe+WvICF4Ya9iy/nfZXhny6Jqalg2nguu0uo9ti989YNMmymzx+mUt3erX9eJYFHHAP6tBRmip8hRT8RMZEBppSjfcSbWYVo6GRYqjMEaxNiIKLcE+C0PRdWVkm4i4NIMHJz+2a5qxHPiiPc9KRx1PuNT3UEsTvve90LLKXOYso9Dq/dPNgyaSiUXQ8zQ5C1SVbmIgVylt8yxcrSf79//QhevS6/4Lx9+/gsXTVxCRKCCBrt1n5Lj4eFSGT71Yh1PCY7+uJ6uTrkvR9IzwuQxNpCjeC1NYeU9WDCAGMEdzVE+rAQIzQ5r605Hj6ecTHZ4cKiThOcdibJ9c7HyDWmNiOjxLNumUA1ICk3Bxxe58rTyDVCXE53+HJ6W+Vy
1HaVaBkx8zGlbn0Uc2oChIc5eHpYuHYW0ighveGoBRl2Ug4p8fsbX8z5fz5/Lh4H2GP4BB846NkBPTKMAAAAASUVORK5CYII=";function zo(e){return n.createElement("div",{id:"pricingSectionCta"},e.isButton?n.createElement("div",{className:"button-wrapper",id:"pricingCta_link_wrapper"},n.createElement("a",{href:e.url,id:"pricingCta_link",className:"login-button","aria-label":e.text},e.text)):n.createElement("a",{href:e.url,id:"pricingCta_link",className:"textButton","aria-label":e.text},e.text))}function Vo(e,t){return 3===e&&0===t?"title-row-left":3===e&&2===t?"title-row-right":2===e&&0===t?"title-row-left":2===e&&1===t?"title-row-right":1===e?"title-row-left title-row-right":""}function Go(e,t){return 3===e&&0===t?"pricing-card-left":3===e&&2===t?"pricing-card-right":2===e&&0===t?"pricing-card-left":2===e&&1===t?"pricing-card-right":1===e?"single-card":""}function qo(e){return 3===e?"pricing-container-with-three-cards":2===e?"pricing-container-with-two-cards":1===e?"pricing-container-with-one-card":""}function Yo(e){const t=e&&e.pricingSection&&e.pricingSection.length||0;return n.createElement("div",{className:"pricing-wrapper",id:"pricing-wrapper"},n.createElement("div",{className:"pricing-container "+(e.isIncludedProduct?"included-product-type":""),id:"pricing-container"},n.createElement("h2",{className:"title "+(e.isIncludedProduct?"included-product-type":"")},e&&e.pricingSectionTitle),n.createElement("p",{className:"summary "+(e.isIncludedProduct?"included-product-type":"")},e&&e.pricingSectionSummary),n.createElement(b.Ay,{container:!0,direction:"row",id:"pricing-container-title-row",className:""+(a=t,3===a?"title-row-container-with-three-cards":2===a?"title-row-container-with-two-cards":1===a?"title-row-container-with-one-card":"")},e&&e.pricingSection&&e.pricingSection.map((a,i)=>n.createElement(b.Ay,{key:`pricingTable__${i}`,item:!0,xs:!0,className:`title-row-top-bottom \n                                                          ${Vo(t,i)} \n                                                          ${e.isIncludedProduct?"included-product-type":""}`,id:`pricingTable_${i}`},a&&a.title))),n.createElement(b.Ay,{container:!0,direction:"row",id:"pricing-container-cards-row",className:`${qo(t)}`},e&&e.pricingSection&&e.pricingSection.map((a,i)=>n.createElement(n.Fragment,{key:i},n.createElement(b.Ay,{key:`pricingTable_${i}`,item:!0,xs:!0,className:"title-row-mobile title-row-top-bottom title-row-left title-row-right\n                                                        "+(e.isIncludedProduct?"included-product-type":""),id:`pricingTable_Section_${i}`},a&&a.title),n.createElement(b.Ay,{key:`pricingCardContainer_${i}`,item:!0,xs:!0,className:"card-container-grid",id:`pricingCardContainer_${i}`},n.createElement(Mi,{key:`pricingCard_${i}`,disableTopLink:!0,disableBottomLink:!0,title:a&&a.heading||"",subTitle:a&&a.subHeading||"",bottomAction:a&&a.footerNote||"",elementID:`pricingCard_${i}`,className:`pricing-card ${e.isIncludedProduct?"included-product-type":""} ${Go(t,i)}`,showDevider:!1}),n.createElement("div",{key:`pricingComment_${i}`,id:`pricingComment_${i}`,className:"pricing-comment"+(e.isIncludedProduct?" included-product-type":"")},a&&a.comment))))),n.createElement(b.Ay,{container:!0,direction:"row",justifyContent:"center",alignItems:"center"},e&&e.pricingSectionCtaLink&&e.pricingSectionCtaText&&n.createElement(zo,{url:e.pricingSectionCtaLink,text:e.pricingSectionCtaText,isButton:e.pricingSectionCtaRenderAsButton}))));var a}const Ko=e=>{const{pageId:t,heading:a,subHeading:i,cards:r,theme:l}=e,o=`${t}_ExperienceSection`;return n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),n.createElement(so,{desktopSpacing:135,tabletSpacing:101,phoneSpacing:135,noDivision:!0}),n.createElement("div",{id:o,className:`${l} experienceSection`},n.createElement($r,{id:o},n.createElement(b.Ay,{container:!0,direction:"row",alignItems:"center",justifyContent:"center",id:`${o}_introduction`},n.createElement(b.Ay,{item:!0,xs:12,sm:12,md:12,lg:7},a?n.createElement(W.A,{component:"h2",align:"center",variant:"h2",className:`heading experienceSection_heading ${l}`,id:`${o}_heading`},a):null,i?n.createElement(W.A,{component:"p",align:"center",variant:"subtitle1",className:`description experienceSection_subHeading ${l}`,id:`${o}_subHeading`},i):null)),n.createElement(b.Ay,{container:!0,id:`${o}_cards_container`},r&&r.length>0?r.map((e,t)=>{var a,i,r;const c=t+1;return n.createElement(n.Fragment,{key:c},n.createElement(so,{desktopSpacing:135,tabletSpacing:101,phoneSpacing:101,noDivision:!0}),n.createElement(cl,{theme:l,direction:(0,H.xi)(c,"isEven")?"row-reverse":"row",alignItems:"flex-start",uid:`${o}_cards_${c}`,imageSrc:null!==(a=e.image)&&void 0!==a?a:null,imageAlt:`${_t.VI} ${_t.Vr}`,imageWidth:"428px",imageHeight:"244px",imagePosition:"center center",heading:null!==(i=e&&e.cards&&e.cards[0].cardTitle)&&void 0!==i?i:null,description:null!==(r=e&&e.cards&&e.cards[0].cardBody)&&void 0!==r?r:null}))}):null))))},Jo=e=>
1{const[t,a]=(0,n.useState)(!1),[i,r]=(0,n.useState)(""),[l,o]=(0,n.useState)(null),[c,m]=(0,n.useState)(!1),{productType:d}=(0,s.g)(),{productPagePreviewData:u,pageTitle:p=""}=e,g="product-page";function h(){if(l){return l.productType===Ho}return!1}function E(e){r(e),a(!0)}function y(e,t){e.preventDefault(),13===e.charCode&&E(t)}function f(){if(l){const e=l.productType,t=e===Ho?jo:zr,a=l&&l.heroCardSection&&l.heroCardSection.headline,i=l&&l.heroCardSection&&l.heroCardSection.ctaLink&&l.heroCardSection.buttonText,r=l.heroCardSection.ctaLink?"imageCursor":"";return n.createElement(b.Ay,{id:`image-card-container-${g}`,item:!0,className:"section-item image-card "+(e!==Ho?"blue":"")},l&&l.heroCardSection&&l.heroCardSection.ctaLink&&n.createElement("div",{className:`image-container ${r} `},n.createElement("img",{id:`hero-image-container-${g}`,src:l.heroCardSection.image,alt:"product video thumbnail",onClick:()=>l.heroCardSection.ctaLink?E(l.heroCardSection.ctaLink):null,tabIndex:0,role:"link",onKeyPress:e=>l.heroCardSection.ctaLink?y(e,l.heroCardSection.ctaLink):null})),l&&l.heroCardSection&&n.createElement("div",{className:"card-bottom"},a?n.createElement("h2",{id:`hero-section-headline-${g}`},l.heroCardSection.headline):null,i?n.createElement(P.A,{"aria-label":l.heroCardSection.buttonText,id:`card-section-play-button-${g}`,onClick:()=>E(l.heroCardSection.ctaLink),className:"play-section"},n.createElement("img",{tabIndex:-1,id:`card-section-play-icon-${g}`,src:`${t}`,alt:"no play image"}),n.createElement("h2",{id:`card-section-button-text-${g}`},l.heroCardSection.buttonText)):null))}return null}(0,n.useEffect)(()=>{u?(document.title=`${p} | Bright MLS`,o(u)):d?(0,Ve.Ok)(d).then(e=>{window.scrollTo(0,0),document.title=`${d} | Bright MLS`,o(e),m(!1)}).catch(()=>{window.scrollTo(0,0),o(null),m(!0)}):o(null)},[d]);const v=(e,t,a)=>{if(e&&"0"!==e.TeamLeadTeamKey&&"teams-auth"==d){if(a)return"MANAGE TEAM";if(t)return`${_t.Ay.teamsApiEndpoint}/manageTeam`}else{if(a)return a;if(t)return t}};if(l&&!c){const e=(0,H.Gv)(),r=l.productType,{recentNewsSection:o,recentNewsSectionTitle:c}=l,s=h()?"included":"product-enhancement",m=h()?"":"blue-container",d=h()?"grey_content":"blue_content",u=h()?"included-product":"",{title:p,summary:A,openUrlInANewWindow:N,heroCardSection:S,heroSectionCtaLink:w,heroSectionCtaText:x}=l,_=N?"_blank":"",k=null==S||S.ctaLink?"":"no-hover",C=l.productType===Ho?jo:zr,T=null!=S&&S.ctaLink?"imageCursor":"";return n.createElement(b.Ay,{className:"product-page-container",id:`main-${g}`},n.createElement(b.Ay,{id:`hero-section-${g}`,className:`hero-section ${s}`},n.createElement(b.Ay,{className:"wrapper-container"},n.createElement("h2",{id:`product-type-${g}`,className:"product-type"},r),n.createElement(b.Ay,{container:!0,className:"section"},n.createElement(b.Ay,{item:!0,className:"section-item text-section"},n.createElement("h2",{id:`text-section-title-${g}`},p),A?n.createElement("p",{id:`text-section-summary-${g}`},A):null,n.createElement("a",{id:`text-section-cta-link-${g}`,tabIndex:-1,rel:"noreferrer",target:_,href:v(e,w,"")},n.createElement(P.A,{"aria-label":x,id:`text-section-button-${g}`},v(e,"",x)))),null!=S&&null!=S.image&&(0,H.vk)()?f():null)),n.createElement(Xe,{className:"news-video-player",title:"",showButtons:!0,messages:[],isOpen:t,setOpen:a,hasBillingAlert:!1,memberMlsId:"",billingAlertFingerprint:""},n.createElement(Ze,{videoUrl:i}))),n.createElement(b.Ay,{container:!0,justifyContent:"space-between",className:"middle-container"},function(){if(l&&l.includeSectionList&&l.includeSectionList.length&&l.includeSectionTitle){const{includeSectionTitle:e,includeSectionList:t}=l,a=l.productType===Ho?"":"blue-container";return n.createElement(b.Ay,{className:"included-section-wrapper",id:`included-section-wrapper-${g}`},n.createElement(b.Ay,{container:!0,className:`container ${a}`},n.createElement(b.Ay,{item:!0,className:"included-item"},n.createElement("h2",{id:`included-title-${g}`},e)),n.createElement(b.Ay,{item:!0,className:"included-item"},t&&t.map((e,t)=>n.createElement("h2",{id:`included-item-${t}-${g}`,key:t,className:"include-constant"},e)))))}return null}(),n.createElement(b.Ay,{item:!0},(0,H.bT)()&&f())),null!=S&&null!=S.image&&null!=S.ctaLink&&null!=S.headline?n.createElement(b.Ay,{id:`mobile-card-section-mobile-${g}`,className:`hero-section-card-container ${m}`},n.createElement(b.Ay,{className:`image-container ${T}`},n.createElement("img",{id:`card-section-image-mobile-${g}`,src:S.image,alt:"product video thumbnail",onClick:()=>S.ctaLink?E(S.ctaLink):null,tabIndex:0,role:"link",onKeyPress:e=>S.ctaLink?y(e,S.ctaLink):null})),n.createElement(b.Ay,{className:"bottom-container"},n.createElement(b.Ay,{id:`play-section-mobile-${g}`,onClick:()=>E(S.ctaLink),className:`play-section ${k}`},S.ctaLink&&n.createElement(b.Ay,{className:"image-icon-container"},n.createElement("img",{id:`card-section-play-icon-mobile-${g}`,src:`${C}`,alt:"no play image"})),S.headline&&n.createElement("h2",{id:`card-section-headline-mobile-${g}`},S.headline)))):null,l.featuredSectionTitle&&l.featuredSection&&l.featuredSection.length>0?n.createElement(Ko,{theme:d,heading:l.featuredSectionTitle,subHeading:l.featuredSectionSummary,pageId:g,cards:l.featuredSection}):null,l.pricingSection&&l.pricingSection.length>0?n.createElement(Yo,{pricingSectionTitle:l.pricingSectionTitle,pricingSectionSummary:l.pricingSectionSummary,pricingSectionCtaText:v(e,"",l.pricingSectionCtaText),pricingSectionCtaLink:v(e,l.pricingSectionCtaLink,""),pricingSectionCtaRenderAsButton:l.pricingSectionCtaRenderAsButton,pricingSection:l.pricingSection,isIncludedProduct:h()}):null,l.compareSection?n.createElement(b.Ay,{className:`${u}`,dangerouslySetInnerHTML:(0,H.R2)(l.compareSection)}):null,o&&o.length&&c?function(){const e=h()?"blue-container":"";if(l){const{recentNewsSection:t,pinnedArticleCtaText:a,recentNewsSectionCtaLink:i,recentNewsSectionCtaText:r,re
1centNewsSectionTitle:o}=l,c=t.map(e=>({...e,postDate:"",body:"",articleSummary:""}));return n.createElement(b.Ay,{className:"recent-articles-section"},n.createElement(Il,{bottomAction:a,className:`benefits-card-section product-card-section ${e}`,componentClassName:`recent_article_title_benefit ${e}`,newsSectionTitle:o,newsSectionCtaText:r,newsSectionCtaLink:i,cards:c,showReadMore:!0,disableLink:!0,linkClass:`benefits_link_container_mobile ${e}`,newsSectionCtaTextMobile:r,elementId:"product-page-recent-article-cards"}))}return null}():null,l.footerSection?n.createElement(Sl,{heading:l.footerSection.cardTitle,description:l.footerSection.cardBody,ctaText:v(e,"",l.footerSection.cardButtonText),ctaLink:v(e,l.footerSection.ctaLink,"")}):null)}return c?n.createElement(_i,null):null};function Qo(e){const[t,a]=(0,n.useState)(null),{footerPreviewData:i}=e;return(0,n.useEffect)(()=>{i?a(i):(0,xt.c)("Unauthenticated/authenticatedFooterLinks.json").then(e=>{a(e)})},[]),n.createElement("footer",{id:"authFooter",className:"footer-container authFooter fix-footer-at-bottom"},t&&n.createElement(b.Ay,{className:"authFooter_container",id:"authFooter_container",dangerouslySetInnerHTML:(0,H.R2)(t.body)}))}const Xo=(0,q.A)({FontColor:e=>({color:e.fontColor?e.fontColor:me}),ImageContainer:()=>({position:"relative"}),Image:e=>({background:`url(${e.imageSrc?e.imageSrc:""})`,backgroundRepeat:"no-repeat",backgroundPosition:"top center",backgroundSize:"cover"})}),Zo=e=>{const t=Xo(e),{componentID:a,heading:i,description:r,anchors:l,imageSrc:o,imageAlt:c,fontColor:s}=e,m=`${a}_hero`,d=c||i;return n.createElement("section",{id:m,className:(o?"hasImg":"withoutImg")+" heroSection v2"},n.createElement(pn.Ay,null),n.createElement("div",{id:m+"details",className:"hero_details"},n.createElement(so,{classes:"spacer_0",desktopSpacing:118,tabletSpacing:0,phoneSpacing:0,noDivision:!0}),n.createElement($r,{id:m},n.createElement(b.Ay,{id:`${m}_container`,className:"hero_details_container",container:!0},n.createElement(b.Ay,{id:`${m}_details_wrapper`,className:"hero_details_wrapper",container:!0,item:!0,xs:12,sm:12,md:12,lg:o?6:12},i||r?n.createElement(La.A,{className:"discription_container",id:`${m}_discription_container`},i?n.createElement(W.A,{component:"h1",id:`${m}_heading`,className:`${t.FontColor} heading hero_heading`},i):null,n.createElement(W.A,{component:"div",className:`${t.FontColor} description hero_description`,dangerouslySetInnerHTML:(0,H.R2)(r||""),id:`${m}_description`}),n.createElement(so,{classes:"spacer_1",desktopSpacing:94,tabletSpacing:106,phoneSpacing:32,noDivision:!0})):null),qt()?null:n.createElement(b.Ay,{container:!0,direction:"row",alignItems:"flex-start",justifyContent:"flex-start",item:!0,xs:!1,sm:6,md:6,lg:!1,className:"anchorLinks",id:m+"_anchors_notLg"},n.createElement(Po,{componentId:m,anchors:l,fontColor:s})),o?n.createElement(b.Ay,{container:!0,item:!0,xs:12,sm:6,md:6,lg:6,alignItems:"flex-start",justifyContent:"flex-end",className:`${t.ImageContainer} hero_image_box`},n.createElement("div",{id:m+"_image",role:"img","aria-label":d||"",className:`${t.Image} hero_image`})):null))),qt()?n.createElement("div",{id:m+"_anchors_lg",className:"anchorLinks"},n.createElement($r,{id:m+"_anchors_lg"},n.createElement(Po,{componentId:m,anchors:l,fontColor:s}))):null)},ec=e=>{const{onDemandLibrarySection:t=[],onDemandLibraryCtaText:a,onDemandLibraryCtaLink:i,heroSectionLeftAnchorId:r}=e,l=t.map(e=>({cardTitle:e.cardTitle,cardBody:e.cardBody,cardButtonText:e.cardButtonText,ctaLink:e.ctaLink,tag:e.tag})),o="training-on-demand-section";return n.createElement(b.Ay,{className:"resource-landing-policy-guide-container training-on-demand-section",id:r},n.createElement(b.Ay,{className:"resource-landing-policy-resource-guide-container maxWidthContainer",id:`inner-main-${o}`},n.createElement(b.Ay,{container:!0,justifyContent:"center",className:"top-section"},n.createElement(b.Ay,{item:!0,className:"top-section-wrapper"},n.createElement(b.Ay,{className:(a&&i?"":"center-align")+" title-section-container",item:!0,id:`title-section-container-${o}`}
1,e.onDemandLibraryTitle?n.createElement(W.A,{id:`title-${o}`,variant:"h2",component:"h2",className:"title"},e.onDemandLibraryTitle):null,e.onDemandLibrarySummary?n.createElement("p",{id:`summary-${o}`,className:"summary"},e.onDemandLibrarySummary):null),a&&i?n.createElement(b.Ay,{container:!0,className:"on-demand-cta-button "+(e.onDemandLibrarySummary?"":"zero-margin")},n.createElement(b.Ay,{item:!0,className:"button-container"},(0,H.i9)(i)?n.createElement("a",{id:`${o}-cta-link`,href:i},a):n.createElement(m.N_,{id:`${o}-cta-link`,to:i},a))):null)),e.onDemandLibraryImage?n.createElement(b.Ay,{direction:"row",role:"img",id:`image-section-${o}`,className:"image-section","aria-label":"product-updates",style:{backgroundImage:`url(${(0,H.kO)(e.onDemandLibraryImage)})`},container:!0}):null,n.createElement(b.Ay,{className:(e.onDemandLibraryImage?"":"no-image")+" card-section",id:`card-section-${o}`},n.createElement(Fi,{disableTopLink:!0,className:"resources-landing-card-section",elementId:o,cards:l}))))},tc=e=>{const t="training_ld",[a,i]=(0,n.useState)(null),{trainingPreview:r}=e;return(0,n.useEffect)(()=>{(0,H.eG)(),r?i(r):(0,xt.c)(_t.wI).then(e=>{i(e)}).catch(()=>{i(null)})},[]),n.createElement("div",{id:t,className:"training_landing"},a?n.createElement(n.Fragment,null,a.heroSectionTitle?n.createElement(Zo,{componentID:t,heading:a.heroSectionTitle,description:a.heroSectionSummary?a.heroSectionSummary:null,imageSrc:a.heroSectionImage?a.heroSectionImage:null,anchors:[{id:a.heroSectionLeftAnchorId?a.heroSectionLeftAnchorId:null,txt:a.heroSectionLeftAnchorText?a.heroSectionLeftAnchorText:null},{id:a.heroSectionMiddleAnchorId?a.heroSectionMiddleAnchorId:null,txt:a.heroSectionMiddleAnchorText?a.heroSectionMiddleAnchorText:null},{id:a.heroSectionRightAnchorId?a.heroSectionRightAnchorId:null,txt:a.heroSectionRightAnchorText?a.heroSectionRightAnchorText:null}]}):null,n.createElement(ec,{onDemandLibraryCtaLink:a.onDemandLibraryCtaLink,onDemandLibraryCtaText:a.onDemandLibraryCtaText,onDemandLibraryImage:a.onDemandLibraryImage,onDemandLibrarySection:a.onDemandLibrarySection,onDemandLibrarySummary:a.onDemandLibrarySummary,onDemandLibraryTitle:a.onDemandLibraryTitle,heroSectionLeftAnchorId:a.heroSectionLeftAnchorId?a.heroSectionLeftAnchorId:"training-on-demand-section"}),n.createElement(La.A,{className:"trainingModuleSection"},a.videoLibrarySection?n.createElement(Ui,{content:a.videoLibrarySection,isButtonCentered:"center"}):null),n.createElement(La.A,{className:"trainingModuleSection_cardSection"},a&&a.cardSection&&Object.keys(a.cardSection).length>=1?Object.values(a.cardSection).map((e,t)=>(t+=1,n.createElement("div",{key:t,"data-index":t,id:1===t?a.heroSectionMiddleAnchorId?a.heroSectionMiddleAnchorId:"":a.heroSectionRightAnchorId?a.heroSectionRightAnchorId:""},e.image&&e.cards[0].cardTitle?n.createElement($l,{blockId:"training_overView_"+t,imageSrc:e.image,imageAligment:t%2==0?"left":"right",imageAlt:e.cards[0].cardTitle+"image",ctaText:e.buttonText?e.buttonText:null,ctaLink:e.ctaLink?e.ctaLink:null,cards:e.cards}):null))):null),a.footerSection?n.createElement(Sl,{heading:a.footerSection.cardTitle,description:a.footerSection.cardBody,ctaText:a.footerSection.cardButtonText,ctaLink:a.footerSection.ctaLink}):null):null)},ac=e=>{const{featuredEventSectionTitle:t,featuredEventSectionCard:a}=e;return n.createElement(b.Ay,{className:"benefitsMainContainer event-landing-featured-events-section"},n.createElement("div",{id:"benefits_what_we_offer",className:"benefits_whatWeOffer "+(a&&!a.image?"no-feature-image":"")},n.createElement("div",{className:"maxWidthContainer"},n.createElement("div",{id:"featured-event-image-card-section",className:"benefits_whatWeOffer_cardAndRibon"},a?n.createElement($l,{sectionHeading:t,isWholeCardClickable:!0,blockId:"featured-event-card-section",imageSrc:a.image,imageAligment:"right",imageAlt:a.headline+"image",ctaText:null,ctaLink:a.ctaLink,additionalSummary:a.additionalSummary,cards:[{cardTitle:a.headline,cardBody:a.subHeadline}]}):null))))},nc=e=>{const{upcomingEventCard:t,upcomingEventTitle:a}=e,i="up-coming-events-section";return n.createElement(b.Ay,{className:"up-coming-event-main-container",id:`${i}-container`},n.createElement(b.Ay,{className:"maxWidthContainer"},n.createElement(b.Ay,{className:"event-title",id:`${i}-event-title`},n.createElement("h1",null,a)),n.createElement(b.Ay,{className:"up-coming-cards-container",id:`${i}-card-container`},t&&t.map((e,t)=>e.image&&e.headline?e.ctaLink&&(0,H.i9)(e.ctaLink)?n.createElement("a",{href:e.ctaLink,className:"card-with-image-link",id:`${i}-card-with-image-link-${t}`,key:t+"card-with-image-link"},n.createElement(Zr,{key:t,title:e.headline,body:"",additionalSummary:e.additionalSummary,postDate:e.subHeadline,imageUrl:e.image,elementID:`${i}-${t}`,disableLink:!0})):n.createElement(m.N_,{key:t+"card-with-image-link",to:e.ctaLink,className:"card-with-image-link",id:`${i}-card-with-image-link-${t}`},n.createElement(Zr,{key:t,title:e.headline,body:"",additionalSummary:e.additionalSummary,postDate:e.subHeadline,imageUrl:e.image,elementID:`${i}-${t}`,disableLink:!0})):null))))},ic=e=>{const{headline:t,subHeadline:a,image:i,ctaLink:r,buttonText:l}=e,o=[{cardTitle:t,cardBody:a}],c="on-line-event-section";return n.createElement(b.Ay,{className:"on-line-events-container",id:`${c}-container`},n.createElement("div",{className:"benefits_whatWeOffer"},n.createElement("div",{className:"benefits_whatWeOffer_cardAndRibon card-section"},n.createElement("div",{className:"online-events-two-columns-card-container"},i&&t?n.createElement($l,{blockId:c,imageSrc:i,imageAligment:"right",imageAlt:t+"image",ctaText:l||null,ctaLink:r||null,cards:o}):null))))};
1function rc(e){const[t,a]=(0,n.useState)(null),{EventLandingPreview:i}=e;return(0,n.useEffect)(()=>{(0,H.eG)(),i?a(i):(0,xt.c)(_t._P).then(e=>{a(e)}).catch(()=>{a(null)})},[]),n.createElement(n.Fragment,null,n.createElement(pn.Ay,null),t?n.createElement(La.A,{className:"eventsLandingHeroSection",id:"eventsLandingHeroSectionId"},n.createElement(Kl,{contentProps:t})):null,t&&t.featuredEventSectionTitle&&t.featuredEventSectionCard&&(t.featuredEventSectionCard.image||t.featuredEventSectionCard.headline)?n.createElement(ac,{featuredEventSectionTitle:t.featuredEventSectionTitle,featuredEventSectionCard:t.featuredEventSectionCard}):null,t&&t.upcomingEventTitle?n.createElement(nc,{upcomingEventCard:t.upcomingEventCard,upcomingEventTitle:t.upcomingEventTitle}):null,t&&t.onlineEventSectionCard&&t.onlineEventSectionCard.image&&t.onlineEventSectionCard.headline?n.createElement(ic,{buttonText:t.onlineEventSectionCard.buttonText,subHeadline:t.onlineEventSectionCard.subHeadline,headline:t.onlineEventSectionCard.headline,image:t.onlineEventSectionCard.image,ctaLink:t.onlineEventSectionCard.ctaLink}):null,t&&t.footerSection&&n.createElement("div",{className:"events-footer-section"},n.createElement(Sl,{heading:t.footerSection.cardTitle,description:t.footerSection.cardBody,ctaText:t.footerSection.cardButtonText,ctaLink:t.footerSection.ctaLink})))}const lc=e=>{var t;const{cid:a,heroSectionTitle:i,heroSectionVideoUrl:r,heroSectionSubHeading:l}=e,o=a+"HeaderSection",c=e=>{if(e&&null!=e){return e.split(",")}};return n.createElement("div",{id:o+"topHeaderContainer",className:"topHeaderContainer"},n.createElement("div",{id:o+"titleWrap",className:"titleWrap"},i&&c(i).length>=2&&n.createElement(_a.A,{title:null!==(t=c(i)[0]+" "+c(i)[1])&&void 0!==t?t:"",enterDelay:500,leaveDelay:200,placement:"top"},n.createElement("p",null,c(i)[0],",",n.createElement("br",null)," ",c(i)[1])),n.createElement(_a.A,{title:l,enterDelay:500,leaveDelay:200,placement:"top"},n.createElement("h1",{id:o+"detailText",className:"detailText"},l))),n.createElement("div",{id:o+"videoWrap",className:"videoWrap"},r&&n.createElement("div",{id:o+"videoBox",className:"videoBox"},n.createElement("iframe",{id:o+"iframeStyles",className:"iframeStyles",width:"100%",height:"100%",src:r,allowFullScreen:!0}))))},oc=e=>{let{cid:t,centreCountyPageData:a}=e;const{phase1CtaText:i,phase1CtaLink:r,phase2CtaText:l,phase2CtaLink:o,phase3CtaText:c,phase3CtaLink:s,helpCtaText:m,helpCtaLink:d}=a||{};function u(e){e&&(0,H.io)(e)&&(0,H.Ar)(e,!0,10)}return n.createElement("section",{id:t+"subscriptionSection",className:t+"subscriptionSection"},n.createElement("div",{className:t+"scrollControlWrap",id:t+"scrollControlWrap"},i&&n.createElement("a",{onClick:()=>u(r),id:t+"anchorTagRates"},n.createElement("p",null,i),n.createElement("span",{className:"material-icons"},"keyboard_arrow_down")),l&&n.createElement("a",{onClick:()=>u(o),id:t+"anchorTagQuestions"},n.createElement("p",null,l),n.createElement("span",{className:"material-icons"},"keyboard_arrow_down")),c&&n.createElement("a",{onClick:()=>u(s),id:t+"anchorTagRates"},n.createElement("p",null,c),n.createElement("span",{className:"material-icons"},"keyboard_arrow_down")),m&&n.createElement("a",{onClick:()=>u(d),id:t+"centercountyTagQuestions"},n.createElement("p",null,m),n.createElement("span",{className:"material-icons"},"keyboard_arrow_down"))))};var cc=a(97354),sc=a.n(cc);const mc=e=>{let{details:t}=e;return n.createElement("div",{id:"CommonModuleCard"+sc()("_IC_"),className:"CommonModuleCard",onClick:()=>{window.open(null===t||void 0===t?void 0:t.primaryCtaLink,"_blank","noopener,noreferrer")}},n.createElement("div",{id:"CommonModuleCardAvatarContainer"+sc()("_IC_"),className:"CommonModuleCardAvatarContainer"},n.createElement("img",{id:"CommonModuleCardAvatar"+sc()("_IC_"),className:"CommonModuleCardAvatar",src:null===t||void 0===t?void 0:t.cardImage,alt:null===t||void 0===t?void 0:t.summary})),n.createElement("div",{id:"CommonModuleCardTextContainer"+sc()("_IC_"),className:"CommonModuleCardTextContainer"},n.createElement("h3",{id:"CommonModuleCardAssetType"+sc()("_IC_"),className:"CommonModuleCardAssetType"}
1,null===t||void 0===t?void 0:t.title),n.createElement("p",{id:"CommonModuleCardAssetHeader"+sc()("_IC_"),className:"CommonModuleCardAssetHeader"},null===t||void 0===t?void 0:t.summary)))},dc=e=>{let{scid:t,cardsArray:a,SectionHeading:i,SectionSummary:r,Heading:l,NoCardsText:o,SeeMoreText:c}=e;const s=Ht()?3:6,[m,d]=(0,n.useState)(0),[u,p]=(0,n.useState)([]);(0,n.useEffect)(()=>{d(s)},[s]);return(0,n.useEffect)(()=>{a&&(()=>{const e=a.slice(0,m);p(e)})()},[a,a,m]),n.createElement("div",{id:t+"CommonModuleContainer",className:"CommonModuleContainer"},n.createElement("div",{id:t+"CommonModuleHeadingWrapper",className:"CommonModuleHeadingWrapper"},n.createElement("p",{id:t+"CommonModuleSectionHeading",className:"CommonModuleSectionHeading"},i),n.createElement("h1",{id:t+"CommonModuleSubHeading",className:"CommonModuleHeading"},l),n.createElement("h5",{id:t+"CommonModuleSectionSummary",className:"CommonModuleSectionSummary"},r)),n.createElement("div",{id:t+"CommonModuleCardsContainer",className:"CommonModuleCardsContainer"},null===u||void 0===u?void 0:u.map(e=>n.createElement(mc,{key:sc()("InfoCard_"),details:e}))),(null===a||void 0===a?void 0:a.length)>=6&&n.createElement("div",{id:t+"CommonModuleSeeMoreLess",className:"CommonModuleSeeMoreLess"},(null===a||void 0===a?void 0:a.length)!==(null===u||void 0===u?void 0:u.length)?n.createElement("a",{id:"CommonModuleSeeMoreLessText"+sc()("_SML_"),className:"CommonModuleSeeMoreLessText",onClick:e=>(e=>{e.preventDefault(),d(e=>e+s)})(e)},c):n.createElement("a",{id:"CommonModuleSeeMoreLessText"+sc()("_SML_"),className:"CommonModuleSeeMoreLessText",onClick:e=>(e=>{e.preventDefault(),p([]),d(s),(0,H.Ar)(t,!0,10)})(e)},"Show Less")),(0===(null===a||void 0===a?void 0:a.length)||!a)&&n.createElement("div",{id:t+"CommonModuleNoCardsTextWrapper",className:"CommonModuleNoCardsTextWrapper"},n.createElement("p",{id:t+"CommonModuleNoCardsTextText",className:"CommonModuleNoCardsTextText"},o)))},uc=e=>{var t;let{cid:a,centreCountyPageData:i}=e;const r=a+"DiscoverSection";return n.createElement("section",{id:r,className:r},n.createElement(dc,{scid:r,cardsArray:null!==(t=null===i||void 0===i?void 0:i.discoverBrightSectionCards)&&void 0!==t?t:[],Heading:null===i||void 0===i?void 0:i.discoverBrightSectionSubHeading,SectionHeading:null===i||void 0===i?void 0:i.discoverBrightSectionHeading,SectionSummary:null===i||void 0===i?void 0:i.discoverBrightSectionSummary,NoCardsText:null===i||void 0===i?void 0:i.discoverBrightNoCardsText,SeeMoreText:null===i||void 0===i?void 0:i.discoverBrightSectionSeeMoreText}))},pc=e=>{var t;let{cid:a,centreCountyPageData:i}=e;const r=a+"ExploreSection";return n.createElement("section",{id:r,className:r},n.createElement(dc,{scid:r,cardsArray:null!==(t=null===i||void 0===i?void 0:i.terrainSectionCards)&&void 0!==t?t:[],Heading:null===i||void 0===i?void 0:i.exploreTerrainSectionSubHeading,SectionHeading:null===i||void 0===i?void 0:i.exploreTerrainSectionHeading,SectionSummary:null===i||void 0===i?void 0:i.exploreTerrainSectionSummary,NoCardsText:null===i||void 0===i?void 0:i.exploreTerrainSectionNoCardsText,SeeMoreText:null===i||void 0===i?void 0:i.exploreTerrainSectionSeeMoreText}))},gc=e=>{var t;let{cid:a,centreCountyPageData:i}=e;const r=a+"BeginSection";return n.createElement("section",{id:r,className:r},n.createElement(dc,{scid:r,cardsArray:null!==(t=null===i||void 0===i?void 0:i.journeySectionCards)&&void 0!==t?t:[],Heading:null===i||void 0===i?void 0:i.journeySectionSubHeading,SectionHeading:null===i||void 0===i?void 0:i.journeySectionHeading,SectionSummary:null===i||void 0===i?void 0:i.journeySectionSummary,NoCardsText:null===i||void 0===i?void 0:i.journeySectionNoCardsText,SeeMoreText:null===i||void 0===i?void 0:i.journeySectionSeeMoreText}))},hc=e=>{var t;let{cid:a,centreCountyPageData:i}=e;const r=a+"RegisterSection";return n.createElement("section",{id:r,className:r},n.createElement("div",{id:r+"Container",className:r+"Container"},n.createElement("div",{id:r+"MainHeadingWrapper",className:r+"MainHeadingWrapper"},n.createElement("h1",{id:r+"MainHeading",className:r+"MainHeading"},null===i||void 0===i?void 0:i.trainingSectionHeading)),n.createElement("div",{id:r+"CardsContainer",className:r+"CardsContainer"},null===i||void 0===i||null===(t=i.trainingSectionCards)||void 0===t?void 0:t.map(e=>{return t=e,n.createElement("div",{key:sc()("avatarCard_"),id:r+"Card",className:r+"Card"},n.createElement("div",{id:r+"AvatarContainer",className:r+"AvatarContainer"},n.createElement("img",{id:r+"Avatar",className:r+"Avatar",src:null===t||void 0===t?void 0:t.cardImage,alt:null===t||void 0===t?void 0:t.t
1itle})),n.createElement("h3",{id:r+"Heading",className:r+"Heading"},null===t||void 0===t?void 0:t.title),n.createElement("p",{id:r+"Description",className:r+"Description"},null===t||void 0===t?void 0:t.summary),n.createElement(P.A,{id:r+"ViewBtn"+sc()("_"),className:r+"ViewBtn",onClick:()=>{window.open(null===t||void 0===t?void 0:t.primaryCtaLink,"_blank","noopener,noreferrer")}},null===t||void 0===t?void 0:t.primaryCtaText));var t}))))},Ec=e=>{let{item:t,hcid:a,i:i}=e;return n.createElement(b.Ay,{item:!0,sm:12,md:6,lg:4},n.createElement("a",{href:t.primaryCtaLink,target:"_blank",rel:"noreferrer",className:a+"Item",id:a+"Item)_"+i},n.createElement("img",{src:t.cardImage,alt:t.title,className:a+"ItemIcon",id:a+"ItemIcon"}),n.createElement(_a.A,{title:t.title,enterDelay:500,leaveDelay:200,placement:"top"},n.createElement("div",{className:a+"ItemText",id:a+"ItemText"},t.title))))},yc=e=>{let{cid:t,centreCountyPageData:a}=e;const i=(0,Wt.A)(),r=(0,v.A)(i.breakpoints.down("sm")),l=null===a||void 0===a?void 0:a.helpSectionHeading,o=null===a||void 0===a?void 0:a.helpSectionCards,c=t+"Help";return n.createElement("section",{id:c+"Section",className:c+"Section"},n.createElement(b.Ay,{container:!0,direction:"column"},n.createElement(b.Ay,{item:!0,className:"helpTitleWrapper"},n.createElement(W.A,{variant:"h2",align:"left",className:c+"Title"},l)),n.createElement(b.Ay,{container:!0,className:"helpItemsWrapper",spacing:r?5:7,direction:"row"},null===o||void 0===o?void 0:o.map((e,t)=>n.createElement(Ec,{item:e,i:t,hcid:c,key:t})))))},bc=e=>{let{cid:t,centreCountyPageData:a}=e;const i=t+"SupportSection";return n.createElement(n.Fragment,null,a&&n.createElement("section",{className:i},n.createElement(b.Ay,{container:!0,direction:"column",justifyContent:"center",alignItems:"center",id:i+"Container",className:i+"Container"},n.createElement(b.Ay,{item:!0},n.createElement(W.A,{variant:"h2",align:"center",id:i+"Heading",className:i+"Heading"},a.footerSection.title),n.createElement(W.A,{variant:"body1",align:"center",id:i+"Subtext",className:i+"Subtext"},a.footerSection.summary)),n.createElement(b.Ay,{container:!0,justifyContent:"center",id:i+"ActionBtns",className:i+"ActionBtns"},n.createElement(P.A,{id:t+"ChatOnlineBtn",className:t+"EmailBtn",size:"small"},n.createElement("a",{href:a.footerSection.primaryCtaLink},a.footerSection.primaryCtaText)),n.createElement(P.A,{id:t+"EmailBtn",className:t+"EmailBtn",size:"small"},n.createElement("a",{href:a.footerSection.secondaryCtaLink},a.footerSection.secondaryCtaText))))))},fc=e=>{let{centreCountyPreviewData:t}=e;const a="centreCounty",[i,r]=(0,n.useState)(null),[l,o]=(0,n.useState)(""),[c,s]=(0,n.useState)(""),[m,d]=(0,n.useState)("");return n.useEffect(()=>{(0,H.eG)(),t?(r(t),o(t.heroSectionTitle),d(t.heroSectionVideoUrl),s(t.heroSectionSubHeading),document.title=`${t.title} | Bright MLS`):(0,xt.c)(_t.mj).then(e=>{r(e),o(e.heroSectionTitle),d(e.heroSectionVideoUrl),s(e.heroSectionSubHeading),document.title=`${e.title} | Bright MLS`}).catch(()=>{r(null)})},[]),n.createElement("div",{id:a+"PageContainer",className:a+"PageContainer"},n.createElement(lc,{cid:a,heroSectionTitle:l,heroSectionVideoUrl:m,heroSectionSubHeading:c}),n.createElement(oc,{cid:a,centreCountyPageData:i}),n.createElement(uc,{cid:a,centreCountyPageData:i}),n.createElement(pc,{cid:a,centreCountyPageData:i}),n.createElement(gc,{cid:a,centreCountyPageData:i}),n.createElement(hc,{cid:a,centreCountyPageData:i}),n.createElement(yc,{cid:a,centreCountyPageData:i}),n.createElement(bc,{cid:a,centreCountyPageData:i}))};var vc=a(58903),Ac=a(52275);const Nc=(0,q.A)({button:e=>({...e.color&&{color:e.color},...e.leftMargin&&{marginLeft:e.leftMargin},..."secondary"===e.buttonBgColor&&{backgroundColor:Ee,"&:hover":{backgroundColor:ye}},fontWeight:600,fontSize:"12px",textTransform:"unset","& .MuiButton-endIcon":{color:"inherit",marginLeft:"5px"},"&.MuiButton-textSecondary":{"&:hover":{backgroundColor:"transparent"}}}),typography:{padding:"8px 16px"}});function Sc(e){let{linkToBeCopied:t,buttonBgColor:a,color:i,variant:r,leftMargin:l,extraStyles:o}=e;if(!t)return null;const c=Nc({linkToBeCopied:t,buttonBgColor:a,color:i,variant:r,leftMargin:l,extraStyles:o}),[s,m]=n.useState(null),d=()=>{m(null)},u=Boolean(s),p=u?"simple-popover":void 0;return n.createElement("span",{className:"copyAndShare"},n.createElement(P.A,{className:c.button,disableRipple:!0,"aria-describedby":p,variant:null!==r&&void 0!==r?r:"text",color:null!==a&&void 0!==a?a:"secondary",onClick:e=>{m(e.currentTarget),navigator.clipboard.writeText(t),setTimeout(()=>{d()},3e3)},endIcon:n.createElement(Ac.A,null),style:o},"Copy and Share"),n.createElement(vc.Ay,{id:p,open:u,anchorEl:s,onClose:d,anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"}},n.createElement(W.A,{className:c.typography},"Link copied to clipboard.")))}const wc=function(e){let{openMarketContent:t,cid:a}=e;const i=`${a}_didYouKnowSection`,r=null===t||void 0===t?void 0:t.mediaSharingUrl;return n.createElement("section",{id:`${i}_wrapper`,className:"dykSectionWrapper"},!Ht()&&n.createElement("img",{src:null===t||void 0===t?void 0:t.didYouKnowSectionImageUrl,className:"dykSectionBgImage"}),Ht()&&n.createElement("img",{src:null===t||void 0===t?void 0:t.didYouKnowSectionGradientImage,className:"dykSectionBgImage"}),n.createElement("div",{id:`${i}_titleContainer`,className:"titleContainer"},n.createElement("h1",{id:`${i}_title`,className:"title"},null===t||void 0===t?void 0:t.didYouKnowSectionTitle,n.createElement(Sc,{linkToBeCopied:`${r}open/didYouKnow`,color:"white"})),!Vt()&&n.createElement("p",{id:`${i}_subHeading`,className:"subHeading"},null===t||void 0===t?void 0:t.didYouKnowSectionSubHeading)),n.createElement("div",{id:`${i}_statsContainer`,className:"statsContainer"},null===t||void 0===t?void 0:t.didYouKnowSectionCards.map((e,t)=>n.createElement("div",{key:e.cardTitle,id:`${i}_statsItemContainer_${t}`,className:"statsItemContainer"},n.createElement("h2",{id:`${i}_statsBoldText_${t}`,className:"statsBoldText"},e.cardTitle),n.createElement("p",{id:`${i}_statsMsg_${t}`,className:"statsMsg"},e.plainTextSummary)))),n.createElement("div",{id:`${i}_buttonContainer`,className:"buttonContainer"},n.createElement(P.A,{component:"a",id:`${i}_ctaButton`,disableElevation:!0,color:"secondary",variant:"contained",href:null===t||void 0===t?void 0:t.didYouKnowSectionCtaLink,target:"_blank",rel:"noopener noreferrer"},null===t||void 0===t?void 0:t.didYouKnowSectionCtaText)),Vt()&&n.createElement("p",{id:`${i}_mobileFooterContainer`,className:"mobileFooterContainer"},null===t||void 0===t?void 0:t.didYouKnowSectionSubHeading))};var xc=a(42808);const _c=e=>{let{sectionId:t,openMarketContent:a,setMobileMenuToggle:i}=e;return n.createElement(n.Fragment,null,a&&(null===a||void 0===a?void 0:a.heroSectionMenuItem.map((e,a)=>{const r={href:e.url,className:"navItemHeadline",id:`${t}_navitem_headline_${a}`,...e.openUrlInANewWindow&&{target:"_blank"}};return n.createElement("a",Object.assign({key:e.headline},r,{onClick:()=>{i(!1)}}),e.headline)})))},kc=(0,q.A)(()=>({heroSectionMobileMenu:{top:"75px",display:"flex",flexDirection:"column",gap:"39px",backgroundColor:"#1a2851",padding:"36px 38px",boxSizing:"border-box",paddingBottom:"76px",fontFamily:"roboto",fontWeight:500,"& > a":{color:"white",textDecoration:"none",fontSize:"30px",lineHeight:"35px"}}})),Cc=e=>{let{sectionId:t,openMarketContent:a,type:i,style:r}=e;
1const[l,o]=(0,n.useState)(!1),c=null===a||void 0===a?void 0:a.mediaSharingUrl,s=kc();return n.createElement(n.Fragment,null,n.createElement("div",{id:`${t}_navbar`,className:"heroSectionNav "+i,style:r},n.createElement("a",{href:"/home",className:"navItemLogo",id:`${t}_navitem_logo`},n.createElement("img",{src:null===a||void 0===a?void 0:a.brightLogo,alt:"Bright Logo"})),Jt()&&n.createElement("div",{id:`${t}_hamburger`,className:"heroSectionHamburger",onClick:()=>{o(!l)}},l?n.createElement($.A,null):n.createElement(xc.A,null)),!Jt()&&n.createElement(n.Fragment,null,n.createElement(_c,{sectionId:t,openMarketContent:a,setMobileMenuToggle:()=>null}),n.createElement(Sc,{linkToBeCopied:`${c}open/home`,variant:"contained",buttonBgColor:"secondary",leftMargin:"0px"}))),"mainNav"===i&&Jt()&&n.createElement(dn.Ay,{anchor:"top",classes:{paperAnchorTop:s.heroSectionMobileMenu},open:l,onClose:()=>{o(!l)},className:`heroSectionMobileMenu ${i}`,id:`${t}_hamburger`},n.createElement(_c,{sectionId:t,openMarketContent:a,setMobileMenuToggle:o}),n.createElement(Sc,{linkToBeCopied:`${c}open/home`,variant:"text",color:Ee,leftMargin:"-5px",extraStyles:{fontSize:"18px"}})))};const Tc=function(e){let{cid:t,openMarketContent:a}=e;const i=`${t}_heroSection`;return n.createElement("section",{id:`${i}_wrapper`,className:"heroSectionWrapper"},!Ht()&&n.createElement("img",{src:null===a||void 0===a?void 0:a.heroSectionImageUrl,id:`${i}_image`,className:"heroSectionImage"}),Ht()&&n.createElement("img",{src:null===a||void 0===a?void 0:a.heroSectionMobileImage,id:`${i}_image`,className:"heroSectionImage"}),n.createElement("div",{id:`${i}_content_wrapper`,className:"heroSectionContentWrapper"},n.createElement(Cc,{sectionId:i,openMarketContent:a,type:"mainNav"}),n.createElement("div",{id:`${i}_heading`,className:"heroSectionHeading"},n.createElement("div",{dangerouslySetInnerHTML:(0,H.R2)(null===a||void 0===a?void 0:a.heroSectionSummary)}))))};const Ic=function(e){let{index:t,item:i,cid:r,cardFlippedContent:l,videoUrlToPlay:o,setIsOpen:c}=e;const s=`${r}_homeSection`;return n.createElement("button",{style:{backgroundImage:`url(${i.imageUrl})`},onClick:()=>{c(!0),o(l.ctaLink)},onKeyDown:()=>{c(!0),o(l.ctaLink)},id:`${s}_imageTextDiv_${t}`,className:"homeSectiomImageCards"},n.createElement("img",{style:{width:"100%"},src:a(81440),alt:"video thumnail"}))};var Lc=a(8961);const Bc=function(e){let{openMarketContent:t,cid:a}=e;const[i,r]=(0,n.useState)(!1),[l,o]=(0,n.useState)(""),[c,s]=(0,n.useState)(0),m=`${a}_homeSection`,d=null===t||void 0===t?void 0:t.homeSectionSubHeading,u=null===t||void 0===t?void 0:t.homeSectionFrontCards,p=null===t||void 0===t?void 0:t.homeSectionBackCards,g=null===t||void 0===t?void 0:t.homeSectionTapToSeeText,E=null===t||void 0===t?void 0:t.homeSectionSecondarySummary,y=null===t||void 0===t?void 0:t.mediaSharingUrl,b={arrows:!0,prevArrow:n.createElement(Lc.A,null),nextArrow:n.createElement(x.A,null),dots:!1,infinite:!1,autoplay:!1,cssEase:"linear",speed:1e3,slidesToShow:3,slidesToScroll:1,initialSlide:-.05,responsive:[{breakpoint:1920,settings:{slidesToShow:2.5,slidesToScroll:1}},{breakpoint:700,settings:{dots:!0,arrows:!1,slidesToShow:1.2,slidesToScroll:1}}]};return n.createElement("section",{id:`${m}_wrapper`,className:"homeSectionWrapper"},n.createElement("div",{id:`${m}_vidWrapper`},n.createElement("p",{id:`${m}_secondSection`,className:"sectionHeading"},d,n.createElement(Sc,{linkToBeCopied:`${y}open/mlsStories`,color:Ee})),n.createElement("p",{id:`${m}_summary`,className:"sectionSummary"},E),n.createElement("div",{id:`${m}_cardSectionWrapper`,className:"cardSectionWrapper"},n.createElement(h.A,b,null===u||void 0===u?void 0:u.map((e,t)=>n.createElement(Ic,{index:t,isCardOnTop:c===t,setCardOnTopIndex:s,key:a+"_hoverItem_"+(null===e||void 0===e?void 0:e.title),item:e,cid:a,cardFlippedContent:p[t],videoUrlToPlay:o,setIsOpen:r,homeSectionTapToSeeText:g})))),n.createElement(Xe,{className:"news-video-player zindexTop",title:"",showButtons:!0,messages:[],isOpen:i,setOpen:r,hasBillingAlert:!1,memberMlsId:"",billingAlertFingerprint:""},n.createElement(Ze,{videoUrl:l}))))};const Dc=function(e){let{openMarketContent:t}=e;
1const[a,i]=(0,n.useState)(!1);return n.createElement("div",{className:"foundationVideoWrapper"},n.createElement("div",{onClick:()=>{i(!0)}},n.createElement("img",{src:null===t||void 0===t?void 0:t.foundationalPrincipleVideoImage,alt:"video thumbnail",className:"foundationVideoThumb"})),n.createElement(Xe,{className:"news-video-player",title:"",showButtons:!0,messages:[],isOpen:a,setOpen:i,hasBillingAlert:!1,memberMlsId:"",billingAlertFingerprint:""},n.createElement(Ze,{videoUrl:null===t||void 0===t?void 0:t.foundationalPrincipleVideoUrl})))},Mc=e=>{let{openMarketContent:t,cid:a}=e;const i=`${a}_foundationalPrincipleSection`,r=null===t||void 0===t?void 0:t.foundationalPrincipleTitle,l=null===t||void 0===t?void 0:t.foundationalPrincipleCards,o=null===t||void 0===t?void 0:t.homeSectionTitle,c=null===t||void 0===t?void 0:t.homeSectionSummary,s=null===t||void 0===t?void 0:t.whiteBackgroundLinesImage;return n.createElement("section",{id:`${i}_wrapper`,className:"foundationalPrincipleWrapper"},n.createElement("div",{id:"topHomeOuter"},n.createElement("img",{src:s,id:`${i}_background_lines`,className:"homeSectionBackgroundLines"}),n.createElement("div",{id:`${i}_home_wrapper`},n.createElement("p",{id:`${i}_title`,className:"sectionHeading"},o),n.createElement("p",{id:`${i}_summary`,className:"sectionSummary"},c))),r&&n.createElement("h2",null,r),n.createElement(b.Ay,{container:!0,className:"mainGridWrapper"},n.createElement(b.Ay,{item:!0,lg:6,xs:12,container:!0,className:"mainGrids mainLeft"},null===l||void 0===l?void 0:l.map(e=>n.createElement(b.Ay,{item:!0,xs:12,key:sc()(),className:"rowGridContainer"},n.createElement(b.Ay,{item:!0,key:"leftGrid_"+sc()(),className:"leftSectionGrid",id:"leftGrid"},n.createElement(La.A,{component:"div",className:"leftSection"},n.createElement(La.A,{component:"div",className:"childCircle"},n.createElement("img",{width:"30",height:"30",src:e.imageUrl,alt:e.title,className:"cardIcon"})))),n.createElement(b.Ay,{item:!0,key:"rightGrid_"+sc()(),className:"rightSectionGrid"},n.createElement(La.A,{component:"div",className:"rightSection"},n.createElement(La.A,{component:"div",className:"title"},e.title),n.createElement(La.A,{component:"div",className:"summary",dangerouslySetInnerHTML:(0,H.R2)(e.summary)})))))),n.createElement(b.Ay,{item:!0,lg:6,xs:12,container:!0,className:"mainGrids mainRight"},n.createElement(Dc,{cid:a,openMarketContent:t}))))};const Pc=function(e){let{openMarketContent:t,cid:a}=e;const i=`${a}_startYourMlsSection`,r=null===t||void 0===t?void 0:t.mlsPoweredSectionTitle,l=null===t||void 0===t?void 0:t.mlsPoweredSectionCta[0].headline,o=null===t||void 0===t?void 0:t.mlsPoweredSectionCta[0].url,c=null===t||void 0===t?void 0:t.mlsPoweredSectionCta[0].openUrlInANewWindow,s=null===t||void 0===t?void 0:t.mlsPoweredSectionCta[1].headline,m=null===t||void 0===t?void 0:t.mlsPoweredSectionCta[1].url,d=null===t||void 0===t?void 0:t.mlsPoweredSectionCta[1].openUrlInANewWindow;return n.createElement(n.Fragment,null,n.createElement("section",{id:`${i}_wrapper`,className:"startYourMlsSectionWrapper",style:{overflow:"hidden"}},!Ht()&&n.createElement("img",{src:null===t||void 0===t?void 0:t.mlsPoweredSectionImageUrl,id:`${i}_bg_image`,className:"startYourMlsBgImage"}),n.createElement(b.Ay,{container:!0,spacing:2,className:"MLScontainer"},n.createElement(b.Ay,{item:!0,md:6,sm:12,xs:12,className:"startMLS sMLSleft"},n.createElement("div",{className:"leftContainer"},n.createElement("div",{className:"textContainer"},n.createElement("p",{id:`${i}_title`,className:"primaryHeading"},r)),n.createElement("div",{className:"buttonContainer"},n.createElement(P.A,{id:i+"startYourMlsBtn",className:"borderButton",size:"large",href:o,rel:"noopener noreferrer",target:c?"_blank":"self",component:"a",variant:"outlined"},l),n.createElement(P.A,{id:i+"findBtn",className:"borderButton",size:"large",href:m,rel:"noopener noreferrer",target:d?"_blank":"self",component:"a",variant:"outlined"},s)))),n.createElement(b.Ay,{item:!0,md:6,sm:12,xs:12,className:"startMLS sMLSright"},n.createElement("div",{id:`${i}_imageContainer`,className:"imageContainer"},!Ht()&&n.createElement("img",{src:null===t||void 0===t?void 0:t.footerSectionImage,alt:"screen shot",className:"bannerImage",style:{maxWidth:"100%"}}),Ht()&&n.createElement("img",{src:null===t||void 0===t?void 0:t.footerSectionMobileImage,alt:"screen shot",className:"bannerImage",style:{maxWidth:"100%"}}))))))};function Rc(e){const{children:t,value:a,index:i,...r}=e;return n.createElement("div",Object.assign({role:"tabpanel",hidden:a!==i,id:`open-market-tab-${i}`,"aria-labelledby":`open-market-tab-${i}`}
1,r),a===i&&n.createElement(La.A,null,n.createElement("h4",null,t)))}const Oc=function(e){let{openMarketContent:t,cid:a}=e;const[i,r]=n.useState(0),l=`${a}_benefitSection`,o=null===t||void 0===t?void 0:t.benefitSectionBuyerCards,c=null===t||void 0===t?void 0:t.benefitSectionSellerBenefitCards,s=(e,t)=>{r(t)},m=e=>n.createElement(b.Ay,{item:!0,xs:e?12:6},!e&&n.createElement("h4",{className:"gridHeading"},null===t||void 0===t?void 0:t.benefitSectionBuyerBenefitTitle),n.createElement(La.A,{component:"div"},o&&o.map((t,a)=>n.createElement("div",{key:"buyerBenefits"+(null===t||void 0===t?void 0:t.title),className:a===o.length-1?"tagSeparator removeBorderBottom":"tagSeparator"},!e&&n.createElement("hr",null),n.createElement(b.Ay,{item:!0,xs:12},n.createElement("div",{className:"gridSubHeadingWrapper"},n.createElement("span",{className:"imageHolder"},n.createElement("img",{src:t.imageUrl,alt:"image"})),n.createElement("span",{className:"gridSubHeading"},t.title))),n.createElement(b.Ay,{item:!0,xs:12,className:"gridText",dangerouslySetInnerHTML:(0,H.R2)(t.summary)}))))),d=e=>n.createElement(b.Ay,{item:!0,xs:e?12:6},!e&&n.createElement("h4",{className:"gridHeading"},null===t||void 0===t?void 0:t.benefitSectionSellerBenefitTitle),n.createElement(La.A,{component:"div"},c&&c.map((t,a)=>n.createElement("div",{key:"sellerBenefits"+(null===t||void 0===t?void 0:t.title),className:a===c.length-1?"tagSeparator removeBorderBottom":"tagSeparator"},!e&&n.createElement("hr",null),n.createElement(b.Ay,{item:!0,xs:12},n.createElement("div",{className:"gridSubHeadingWrapper"},("Exposure To Buyers"===t.title||"Speed"===t.title)&&n.createElement("span",{className:"imagePlaceHolder"},n.createElement("img",{src:t.imageUrl,alt:"image"}))||n.createElement("span",{className:"imageHolder"},n.createElement("img",{src:t.imageUrl,alt:"image"})),n.createElement("span",{className:"gridSubHeading"},t.title))),n.createElement(b.Ay,{className:"gridText",item:!0,xs:12,dangerouslySetInnerHTML:(0,H.R2)(t.summary)}))),n.createElement(b.Ay,{className:"referenceSection",item:!0,xs:12,dangerouslySetInnerHTML:(0,H.R2)("<span>1</span> "+(null===t||void 0===t?void 0:t.didYouKnowSectionSubHeading))})));return n.createElement("section",{id:`${l}_wrapper`,className:"benefitSectionWrapper"},!Ht()&&n.createElement("img",{src:null===t||void 0===t?void 0:t.whiteBackgroundLinesImage,id:`${l}_background_lines`,className:"benefitsSectionBackgroundLines"}),n.createElement("section",{id:`${l}_heading`},n.createElement("div",{id:`${l}_titleContainer`,className:"titleContainer"},n.createElement("h1",{id:`${l}_title`,className:"title",dangerouslySetInnerHTML:(0,H.R2)(null===t||void 0===t?void 0:t.benefitSectionTitle)})),Ht()?n.createElement(n.Fragment,null,n.createElement(Xi.A,{className:"tabsPallete",position:"relative"},n.createElement(En.A,{value:i,onChange:s,"aria-label":"open market tabs",variant:"fullWidth"},n.createElement(yn.A,{label:n.createElement(La.A,{className:"buyerTab"},null===t||void 0===t?void 0:t.benefitSectionBuyerBenefitTitle)}),n.createElement(yn.A,{label:n.createElement(La.A,{className:"sellerTab"},null===t||void 0===t?void 0:t.benefitSectionSellerBenefitTitle)}))),n.createElement(Ol.A,{className:"scrollableSection"},n.createElement(Rc,{value:i,index:0},m(!0)),n.createElement(Rc,{value:i,index:1},d(!0)))):n.createElement("div",{className:"gridSection"},n.createElement(b.Ay,{container:!0,spacing:3,className:""},m(!1),d(!1)))),n.createElement("section",{className:"gridSectionWrapper"}))};const Uc=function(e){let{openMarketContent:t}=e;const[a,i]=(0,n.useState)(!1);return n.createElement("div",{className:"mlsVideoWrapper"},n.createElement("div",{onClick:()=>{i(!0)}},n.createElement("img",{src:null===t||void 0===t?void 0:t.newMlsSectionFields.imageUrl,alt:"video thumbnail",className:"mlsVideoThumb"})),n.createElement(Xe,{className:"news-video-player",title:"",showButtons:!0,messages:[],isOpen:a,setOpen:i,hasBillingAlert:!1,memberMlsId:"",billingAlertFingerprint:""},n.createElement(Ze,{videoUrl:null===t||void 0===t?void 0:t.newMlsSectionFields.ctaLink})))},Fc=e=>{let{openMarketContent:t,cid:a}=e;const i=`${a}_MLSvideoSection`,r=null===t||void 0===t?void 0:t.newMlsSectionFields.title,l=null===t||void 0===t?void 0:t.newMlsSectionFields.summary;return n.createElement("section",{id:`${i}_wrapper`,className:"mlsVideoSectionWrapper"},n.createElement(b.Ay,{container:!0,className:"mainGridWrapper"},n.createElement(b.Ay,{item:!0,lg:6,xs:12,container:!0,className:"mainGrids mainLeft"},n.createElement(La.A,{className:"copySection"},n.createElement("h2",null,r),n.createElement("p",{id:`${i}_summary`,className:"MLSvideoBlurb"},l))),n.createElement(b.Ay,{item:!0,lg:6,xs:12,container:!0,className:"mainGrids mainRight"},n.createElement(Uc,{cid:a,openMarketContent:t}))))};const $c=function(e){let{openMarketContent:t,cid:a}=e;const i=`${a}_footerSection`;return n.createElement("section",{id:`${i}_wrapper`,className:"footerSectionWrapper"},n.createElement("div",{id:`${i}_textContainer`,className:"textContainer"},n.createElement("div",{id:`${i}_leftSide`,className:"leftSide"},n.createElement("h3",{id:`${i}_heading`,className:"heading"},null===t||void 0===t?void 0:t.footerSectionHeading),n.createElement("img",{src:null===t||void 0===t?void 0:t.brightLogo,alt:"Bright Mls logo",className:"brightLogo"})),n.createElement("div",{id:`${i}_rightSide`,className:"rightSide"},n.createElement("a",{href:"/home",target:"_blank",rel:"noopener noreferrer",id:`${i}_subHeading`,className:"subHeading"},null===t||void 0===t?void 0:t.footerSectionSubHeading),n.createElement("p",{id:`${i}_copyRightText`,className:"copyRightText"},null===t||void 0===t?void 0:t.footerSectionCopyRightText))))};var Wc=a(17250),Hc=a.n(Wc);const jc=function(e){let{cid:t,officeExclusiveTitle:a="",officeExclusiveDescription:i="",officeExclusiveBackgroun
1dMobile:r,officeExclusiveBackgroundDesktop:l}=e;const o=Ht()?r:l,[c,s]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{if(o){const e=document.createElement("img");e.src=o,e.onerror=()=>{s(!1)},e.onload=()=>{s(!0)}}},[o]),n.createElement("section",{className:"officeExclusivesSection",id:`${t}_officeExclusivesSection`},c&&o&&n.createElement("img",{src:o,className:"officeExclusivesSection_bgSection"}),n.createElement("h1",{className:"officeExclusivesSection_title"},a),n.createElement("p",{className:"officeExclusivesSection_description"},i))};const zc=function(e){let{openMarketPreviewData:t}=e;const a=(0,s.Zp)(),{sectionId:i}=(0,s.g)(),r="openmarketPlacePage",[l,o]=(0,n.useState)(),[c,m]=(0,n.useState)(!1),u={gtmId:_t.Ay.GOOGLE_TAG_MANAGER_KEY};Hc().initialize(u),(0,n.useEffect)(()=>{t?o(t):(0,xt.c)(_t.LA).then(e=>{o(e)}).catch(e=>{console.log(e),o(null)})},[]),(0,n.useEffect)(()=>{i&&(Object.keys(_t.q3).includes(i)?setTimeout(()=>{(0,H.Ar)(_t.q3[i],!0,150)},1e3):a("/open",{replace:!0}))},[l]);const p=()=>{const e=window.innerWidth>1279?-580:-460,t=document.querySelector(`#${r}_heroSection_wrapper`),a=null===t||void 0===t?void 0:t.getBoundingClientRect();a&&a.top<e?m(!0):m(!1)};return(0,n.useEffect)(()=>(window.addEventListener("scroll",p),()=>window.removeEventListener("scroll",p))),n.createElement("div",{className:r,id:r},n.createElement(d.m,null,n.createElement("script",null,"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\nj=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;
1j.src=\n'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n})(window,document,'script','dataLayer','GTM-MCS6B6F');")),n.createElement(Tc,{cid:r,openMarketContent:l}),n.createElement(Cc,{sectionId:`${r}_heroSection`,openMarketContent:l,type:"scrollNav",style:c?{opacity:1}:{opacity:0,zIndex:-10}}),n.createElement(Mc,{cid:r,openMarketContent:l}),n.createElement(Bc,{cid:r,openMarketContent:l}),n.createElement(wc,{cid:r,openMarketContent:l}),n.createElement(jc,{cid:r,officeExclusiveTitle:null===l||void 0===l?void 0:l.officeExclusiveTitle,officeExclusiveDescription:null===l||void 0===l?void 0:l.officeExclusiveDescription,officeExclusiveBackgroundMobile:null===l||void 0===l?void 0:l.officeExclusiveBackgroundMobile,officeExclusiveBackgroundDesktop:null===l||void 0===l?void 0:l.officeExclusiveBackgroundDesktop}),n.createElement(Oc,{cid:r,openMarketContent:l}),n.createElement(Fc,{cid:r,openMarketContent:l}),n.createElement(Pc,{cid:r,openMarketContent:l}),n.createElement($c,{cid:r,openMarketContent:l}))};var Vc=a(96464),Gc=a(47960);const qc=function(e){let{title:t,email:a,phone:i,buttons:r,hoursText:l,chatPrompt:o,description:c,weekSetFirst:s,weekSetSecond:m,timesFirstSet:d,timesSecondSet:u}=e;const{ctaLink:p,ctaText:g,secondaryCtaText:h,secondaryCtaLink:E}=r,[y="",b=""]=a.split(":"),[f="",v=""]=i.split(":");return n.createElement("div",{className:"time-table-container"},n.createElement("h2",null,t),n.createElement("p",{className:"time-table-description"},c),n.createElement("div",{className:"reversible-container"},n.createElement("div",{className:"time-table"},n.createElement("h3",null,l),n.createElement("div",{className:"time-table-row"},n.createElement("dl",{className:"time-table-cell"},n.createElement("dt",null,s),n.createElement("dd",null,d),n.createElement("dt",null,m),n.createElement("dd",null,u)))),n.createElement("hr",null),n.createElement("div",{className:"contact-details"},n.createElement("address",null,n.createElement("ul",{className:"contact-details-list"},n.createElement("li",{className:"contact-details-row"},n.createElement("a",{href:`tel:${v}`},n.createElement(Vc.A,{className:"contact-details-icon"}),n.createElement("span",null,`${f}: ${v}`))),n.createElement("li",{className:"contact-details-row"},n.createElement("a",{href:`mailto:${b}`},n.createElement(Gc.A,{className:"contact-details-icon"}),n.createElement("span",null,`${y}: ${b}`))))))),n.createElement("div",{role:"group","aria-labelledby":"chat-support-heading"},n.createElement("h3",{id:"chat-support-heading"},o),n.createElement("div",{className:"buttons"},n.createElement(_,{primaryBtnURL:p,primaryBtnCopy:g,secondaryBtnURL:E,secondaryBtnCopy:h}))))};const Yc=function(e){let{image:t,headline:a,className:i,subHeadline:r,description:l}=e;return n.createElement("div",{className:`banner-card-container ${i}`,style:{backgroundImage:`url(${t})`}},n.createElement("h2",null,a),n.createElement("h3",null,r),n.createElement("p",null,l))},Kc={h1:"h4",h2:"h4",h3:"h4",a:e=>{const{href:t,children:a,title:i,node:r,...l}=e,o="_blank|",c="_blank"===i||(null===i||void 0===i?void 0:i.startsWith(o));let s;return s=null!==i&&void 0!==i&&i.startsWith(o)?i.slice(7).trim()||void 0:c?void 0:i,n.createElement("a",Object.assign({href:t,target:c?"_blank":void 0,rel:c?"noopener noreferrer":void 0,title:s},l),a)}},Jc=e=>{let{title:t="",className:a="",accordionItems:i=[],firstAccordionOpen:r=!1}=e;const[l,o]=(0,n.useState)(()=>r?[0]:[]),[c,s]=(0,n.useState)(!1),m=(0,n.useRef)(!r),d=`accordion-dynamic-${(0,n.useId)().replaceAll(":","")}`,u=t.trim(),p=(0,n.useMemo)(()=>i.map((e,t)=>{var a,n;const i=null===(a=e.title)||void 0===a?void 0:a.trim(),r=null===(n=e.description)||void 0===n?void 0:n.trim();return i&&r?{title:i,description:r,originalIndex:t}:null}).filter(e=>null!==e),[i]);if((0,n.useEffect)(()=>{0===l.length&&s(!1)},[l]),(0,n.useEffect)(()=>{o(e=>{if(0===p.length)return 0===e.length?e:[];if(!m.current)return m.current=!0,[0];const t=e.filter(e=>e<p.length);return t.length===e.length?e:t})},[p.length]),0===p.length)return null;const g=`${d}-heading`,h=p.map((e,t)=>`${d}-panel-${t}`).join(" "),E=u?"section":"div";return n.createElement(E,{className:`accordionDynamic ${a}`.trim(),"aria-labelledby":u?g:void 0},n.createElement("div",{className:"btnWrapper"},u&&n.createElement("h2",{id:g},u),n.createElement(P.A,{onClick:()=>{c?(o([]),s(!1)):(o(p.map((e,t)=>t)),s(!0))},className:"expandCollapseAll","aria-expanded":c,"aria-controls":h},c?"Collapse All":"Expand All")),p.map((e,t)=>{const a=l.includes(t),i=`${d}-summary-${t}`,r=`${d}-panel-${t}`;return n.createElement(vn.A,{key:`${d}-${e.originalIndex}`,component:"article",expanded:a,onChange:()=>(e=>{o(t=>{const a=t.includes(e);
1return c?a?t.filter(t=>t!==e):[...t,e]:a?[]:[e]})})(t),slotProps:{transition:{unmountOnExit:!1}}},n.createElement(An.A,{id:i,"aria-controls":r,expandIcon:n.createElement("span",{className:"accordionIcon","aria-hidden":"true"},a?"-":"+"),className:"accordionTitle"},n.createElement(W.A,{className:"headingFour",component:"h3"},e.title)),n.createElement(Nn.A,{className:"accordionContent"},n.createElement(D.$,{components:Kc},e.description)))}))},Qc="0:00";async function Xc(){try{var e,t;const a=(await wr.A.get("https://www.googleapis.com/youtube/v3/playlistItems",{params:{part:"snippet",playlistId:"PLeOCvy_OoI9pnqf8ofGkravhwjMXFUihQ",maxResults:3,key:null!==(e=_t.Ay.YOUTUBE_API_KEY)&&void 0!==e?e:""}})).data.items.map(e=>{var t,a,n,i,r;return{videoId:e.snippet.resourceId.videoId,thumbnailURL:(null===(t=e.snippet.thumbnails.maxres)||void 0===t?void 0:t.url)||(null===(a=e.snippet.thumbnails.standard)||void 0===a?void 0:a.url)||(null===(n=e.snippet.thumbnails.high)||void 0===n?void 0:n.url)||(null===(i=e.snippet.thumbnails.medium)||void 0===i?void 0:i.url)||(null===(r=e.snippet.thumbnails.default)||void 0===r?void 0:r.url)}}),n=a.map(e=>e.videoId).join(","),i=(await wr.A.get("https://www.googleapis.com/youtube/v3/videos",{params:{part:"contentDetails",id:n,key:null!==(t=_t.Ay.YOUTUBE_API_KEY)&&void 0!==t?t:""}})).data.items.map(e=>({videoId:e.id,timestamp:Zc(e.contentDetails.duration)}));return a.map(e=>{var t;return{videoId:e.videoId,thumbnailURL:e.thumbnailURL,videoURL:`https://www.youtube.com/watch?v=${e.videoId}`,timestamp:(null===(t=i.find(t=>t.videoId===e.videoId))||void 0===t?void 0:t.timestamp)||"0:00"}})}catch(a){return console.log("Error fetching response from Youtube playlist:",a),[]}}function Zc(e){try{const t=e.match(/PT(\d+H)?(\d+M)?(\d+S)?/);if(t){const e=t[1]?t[1].replace("H",""):"0",a=t[2]?t[2].replace("M",""):"0",n=t[3]?t[3].replace("S",""):"0";return`${"0"!==e?e+":":""}${a.padStart(2,"0")}:${n.padStart(2,"0")}`}return Qc}catch(t){return console.log("Error converting ISO 8601 time to human readable format:",t),Qc}}const es=e=>{let{videoURL:t,timestamp:a,thumbnailURL:i}=e;return n.createElement("a",{href:t,target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:"youtube-video"},n.createElement("img",{src:i,alt:"video thumbnail",className:"youtube-video__thumbnail"}),n.createElement("div",{className:"youtube-video__play-icon"},n.createElement(et.A,null)),n.createElement("span",{className:"youtube-video__timestamp"},a)))},ts=e=>{let{ctaLink:t,ctaText:a,headline:i,videos:r=[],subHeadline:l,className:o="",backgroundMobileUrl:c,backgroundDesktopUrl:s}=e;return n.createElement(p,{id:"top-youtube-videos-section",backgroundMobileUrl:c,backgroundDesktopUrl:s,className:`top-youtube-videos-section ${o}`},n.createElement(g,{className:"top-youtube-videos-container"},n.createElement("h3",{className:"top-youtube-videos__headline"},i),n.createElement("p",{className:"top-youtube-videos__subheadline"},l),n.createElement("div",{className:"top-youtube-videos"},r.map(e=>n.createElement(es,Object.assign({key:e.videoId},e)))),n.createElement(_,{primaryBtnURL:t,primaryBtnCopy:a,primaryBtnTarget:{targetType:"_blank"}})))},as=e=>{let{previewData:t}=e;const[a,i]=(0,n.useState)(null),[r,l]=(0,n.useState)([]);(0,n.useEffect)(()=>{document.title="Support | Bright MLS"}),(0,n.useEffect)(()=>{Xc().then(e=>{l(e)})},[]),(0,n.useEffect)(()=>{t?i(t):(0,xt.c)(_t.y0).then(e=>{i(e)}).catch(console.log)},[t]);const{hoursText:o,chatPrompt:c,topBannerTexts:s,hoursWeeksSetFirst:m,hoursWeekSetSecond:u,idxSolutionDetails:h,bottomBannerDetails:E,youtubeBannerDetail:y,topBannerBackground:b,topBannerImageMobile:f,topBannerImageDesktop:v}=a||{},{generalSupportTitle:A,generalsupportbuttons:N,generalSupportDescription:S,generalSupportemaildetails:w,generalSupportphonedetails:x,generalSupportTimesFirstSet:_,generalSupportTimesSecondSet:k}=a||{},{accuracyPolicyTitle:C,accuracyPolicyButtons:T,accuracyTimesFirstSet:I,accuracyTimesSecondSet:L,accuracyPolicyDescription:B,accuracyPolicyemaildetails:D,accuracyPolicyphonedetails:M}=a||{},{faqsHeadingTitle:P,faqs:R}=a||{},O=null===R||void 0===R?void 0:R.some(e=>{var t,a;return(null===(t=e.title)||void 0===t?void 0:t.trim())&&(null===(a=e.description)||void 0===a?void 0:a.trim())}),{image:U,headline:F,description:$,subHeadline:W}=E||{},{image:H,headline:j,description:z,subHeadline:V}=h||{},{heading:G="",subHeading:q=""}=s||{},{title:Y="",ctaText:K="",ctaLink:J="",imageUrl:Q="",summary:X="",mobileImageUrl:Z=""}=y||{};return a&&n.createElement(n.Fragment,null,n.createElement(d.m,null,n.createElement("body",{id:"supportNew",className:"brightRedesign aPage"})),n.createElement("div",{className:"mtMain"},n.createElement(Dt,{mdL:6,mdR:6,id:"supportBanner",heroImageClass:"homeHero",topBannerTitle:G,topB
1annerSummary:q,heroImage:v,heroImageMobile:f,backgroundImageUrlMobile:b,backgroundImageUrlDesktop:b,topBannerButtons:{primaryBtnURL:null===s||void 0===s?void 0:s.ctaLink,primaryBtnCopy:null===s||void 0===s?void 0:s.ctaText,primaryBtnTarget:{targetType:"_self"}}}),n.createElement(p,null,n.createElement(g,{className:"support-section time-tables-section-container"},n.createElement(qc,{hoursText:o,chatPrompt:c,title:A,buttons:N,weekSetFirst:m,email:w,phone:x,weekSetSecond:u,description:S,timesFirstSet:_,timesSecondSet:k}),n.createElement(qc,{hoursText:o,chatPrompt:c,title:C,buttons:T,weekSetFirst:m,email:D,phone:M,weekSetSecond:u,timesFirstSet:I,description:B,timesSecondSet:L}))),n.createElement(p,null,n.createElement(g,{className:"support-section banner-cards-section-container"},n.createElement(Yc,{className:"idx-banner-card",image:null!==H&&void 0!==H?H:"",headline:null!==j&&void 0!==j?j:"",subHeadline:null!==V&&void 0!==V?V:"",description:n.createElement("a",{href:`Mailto:${z}`},n.createElement("span",null,n.createElement(Gc.A,null),z))}),n.createElement(Yc,{image:null!==U&&void 0!==U?U:"",description:$,headline:null!==F&&void 0!==F?F:"",subHeadline:null!==W&&void 0!==W?W:""}))),O&&n.createElement(p,{id:"supportAccordion"},n.createElement(g,null,n.createElement("h2",{className:"headingTwo"},P),n.createElement(Jc,{accordionItems:null!==R&&void 0!==R?R:[]}))),(null===r||void 0===r?void 0:r.length)>=1&&n.createElement(ts,{ctaLink:J,ctaText:K,videos:r,headline:Y,subHeadline:X,backgroundDesktopUrl:Q,backgroundMobileUrl:Z})))},ns=e=>{let{children:t}=e;const a=(0,H.xA)();return n.createElement(n.Fragment,null,a?n.createElement(Cr,null):n.createElement(Sr,null),n.createElement("div",{className:"app-container"},n.createElement("div",{className:"app-children-container",id:"app-children-containerId"},t),n.createElement(Wr,{pageId:"layoutId",enableBack:!0})),n.createElement(Qi,null))},is=e=>{let{data:t}=e;return(0,H.xA)()?n.createElement(n.Fragment,null,n.createElement(Cr,null),n.createElement(Ti,{previewData:t}),n.createElement(Qi,null)):n.createElement(n.Fragment,null,n.createElement(Sr,null),n.createElement(Ti,{previewData:t}),n.createElement(Qi,null))},rs=e=>{let{backgroundImageUrlDesktop:t="",backgroundImageUrlMobile:a="",termesTitle:i="",paragraph:r="",tertiaryBtnCopy:l="",tertiaryBtnURL:o="",primaryBtnCopy:c="",primaryBtnURL:s="",multiButtonClass:m=""}=e;const d=(0,v.A)("(max-width:600px)");return n.createElement(p,{id:"joinTermsSection"},n.createElement(g,{id:"joinTermsContainer",backgroundDesktopUrl:t,backgroundMobileUrl:a},n.createElement(b.Ay,{container:!0,spacing:d?2:5},n.createElement(b.Ay,{item:!0,xs:12,md:6,lg:7},n.createElement("h2",{className:"headingThree"},i),n.createElement("p",{className:"bodyLarge"},r)),n.createElement(b.Ay,{item:!0,xs:12,md:6,lg:5},n.createElement("div",{className:"buttonsWrapper"},n.createElement(_,{multiButtonClass:m,tertiaryBtnClassName:"viewBtn",tertiaryBtnCopy:l,tertiaryBtnURL:o}),n.createElement(_,{primaryBtnCopy:c,primaryBtnURL:s}))))))},ls=e=>{let{ratesTitle:t,joinBtnCopy:a,joinBtnURL:i,ratesData:r,backgroundImageUrlDesktop:l,backgroundImageUrlMobile:o,feeTitle:c,feeSummary:s,feeGraphic:m}=e;return n.createElement(p,{id:"joinRatesSection",backgroundDesktopUrl:l,backgroundMobileUrl:o},n.createElement(g,{className:"ratesContainer"},n.createElement("h2",{className:"headingTwo"},t),n.createElement(b.Ay,{container:!0,spacing:4},null===r||void 0===r?void 0:r.map(e=>{var t;return n.createElement(b.Ay,{key:r.indexOf(e),item:!0,xs:12,md:4},n.createElement("article",{id:`rateItem-${r.indexOf(e)}`,className:"grid-rateItem"},n.createElement("h3",{className:"bodyLarge rateHead"},e.title),n.createElement("p",{style:{marginBottom:"0px"}},n.createElement("span",{className:"mainHeading"},e.heading),n.createElement("span",{className:"bodyLarge"}," ",e.subHeading)),e.description&&n.createElement("div",{className:"rateDescription"},n.createElement(D.$,null,null!==(t=e.description)&&void 0!==t?t:""))))})),n.createElement(_,{primaryBtnClassName:"joinBtn",primaryBtnCopy:a,primaryBtnURL:i})),n.createElement(g,{className:"feeContainer"},n.createElement(b.Ay,{container:!0,className:"gridContainer",spacing:4},n.createElement(b.Ay,{item:!0,xs:12,md:8,className:"innerGridContainer"},n.createElement("h3",{className:"headingTwo"},c),n.createElement(D.$,null,null!==s&&void 0!==s?s:"")),n.createElement(b.Ay,{item:!0,xs:12,md:4,className:"graphicGridContainer"},n.createElement("img",{className:"feeGraphic",src:m,alt:"green house"})))))};function os(e){const{children:t,value:a,index:i}=e;return n.createElement("div",{role:"tabpanel",hidden:a!==i,id:`simple-tabpanel-${i}`,"aria-labelledby":`simple-tab-${i}`,className:"customTabPanel"},a===i&&n.createElement("div",null,t))}const cs="Lists_ulList__+sbyu",ss="Lists_liList__X1rO2",ms="Lists_listCheckMark__PxEkj",ds="Lists_listParagraph__obFx6";var us=a(2659),ps=a(27136),gs=a(77309);
1const hs=e=>{let{listClassNameLIunique:t="",listClassNameUL:a="",listClassNameLI:i="",listData:r=[],listIconType:l="checkCircle"}=e;return n.createElement("ul",{className:`ulList ${cs} ${a}`},r.map(e=>n.createElement("li",{key:r.indexOf(e),className:`liList ${ss} ${i} li-${t}-${r.indexOf(e)} `},n.createElement("div",{className:ms},(e=>{switch(e){case"radioChecked":return n.createElement(us.A,null);case"radioUnchecked":return n.createElement(ps.A,null);default:return n.createElement(gs.A,null)}})(l)),n.createElement(D.$,{className:ds},e.listPoint?String(e.listPoint):""))))},Es=e=>{let{tabsID:t,tabData:a,panelData:i}=e;const[r,l]=n.useState(0);return n.createElement("div",{className:"mtTabsTab"},n.createElement(En.A,{id:t,value:r,onChange:(e,t)=>{l(t)},"aria-label":"tabs",className:"groupTabs"},null===a||void 0===a?void 0:a.map(e=>n.createElement(yn.A,{key:a.indexOf(e),className:`tabBtn tabBtn-${a.indexOf(e)}`,label:e.tabCtaText,id:`simple-tab-${a.indexOf(e)}`,"aria-controls":`simple-tabpanel-${a.indexOf(e)}`}))),null===i||void 0===i?void 0:i.map(e=>n.createElement(os,{key:i.indexOf(e),value:r,index:i.indexOf(e),id:`simple-tabpanel-${i.indexOf(e)}`,"aria-labelledby":`simple-tab-${i.indexOf(e)}`},e.panelTitle&&n.createElement("h3",{className:"headingThree"},e.panelTitle),e.panelBlurb&&n.createElement("p",null,e.panelBlurb),e.panelImage&&n.createElement("img",{src:e.panelImage,className:"panelImage",alt:"",style:{width:"100%"}}),e.listData&&n.createElement(hs,{listData:e.listData}),e.children&&n.createElement(D.$,null,e.children?String(e.children):""))))};const ys=function(e){var t,a;let{previewData:i}=e;const[r,l]=(0,n.useState)(null);return(0,n.useEffect)(()=>{document.title="Join Us | Bright MLS",i?l(i):(0,xt.c)(_t.Zj).then(e=>{l(e)}).catch(e=>{console.log(e)})},[i]),n.createElement(n.Fragment,null,n.createElement(d.m,null,n.createElement("body",{id:"joinNew",className:"brightRedesign aPage"})),n.createElement("div",{className:"mtMain"},n.createElement(Dt,{id:"mtJoinBanner",backgroundImageUrlDesktop:null===r||void 0===r?void 0:r.topBannerDetails.image,topBannerTitle:null===r||void 0===r?void 0:r.topBannerDetails.headline,topBannerSummary:null===r||void 0===r?void 0:r.topBannerDetails.subHeadline,topBannerButtons:{primaryBtnClassName:"joinNowBtn",primaryBtnURL:null===r||void 0===r?void 0:r.topBannerDetails.ctaLink,primaryBtnCopy:null===r||void 0===r?void 0:r.topBannerDetails.buttonText,primaryBtnTarget:{targetType:"_self"},secondaryBtnURL:null===r||void 0===r?void 0:r.topBannerDetails.secondCtaLink,secondaryBtnCopy:null===r||void 0===r?void 0:r.topBannerDetails.secondCtaText,secondaryBtnTarget:{targetType:"_self"}},heroImageClass:"joinHero",heroImage:null===r||void 0===r?void 0:r.topBannerDetails.subImages,playButtonArrowType:"mt-playButtonOne"}),n.createElement(wt,{id:"whyJoinMediaContentBlock",mdL:5,mdR:7,heroImageClass:"whyJoinImg",heroImage:null===r||void 0===r?void 0:r.whyJoinDetails.image,playButtonArrowType:"mt-playButtonTwo",gridMobileDirection:"column-reverse",contentTitle:null===r||void 0===r?void 0:r.whyJoinDetails.headline,contentParagraphs:null===r||void 0===r?void 0:r.whyJoinDetails.subHeadline,contentButtons:{primaryBtnURL:null===r||void 0===r?void 0:r.whyJoinDetails.ctaLink,primaryBtnCopy:null===r||void 0===r?void 0:r.whyJoinDetails.buttonText,primaryBtnTarget:{targetType:"_self"},secondaryBtnURL:null===r||void 0===r?void 0:r.whyJoinDetails.secondCtaLink,secondaryBtnCopy:null===r||void 0===r?void 0:r.whyJoinDetails.secondCtaText,secondaryBtnTarget:{targetType:"_self"}},childrenClassName:"joinTabTabs"},r&&n.createElement(Es,{tabData:null===(t=r.brightTeamDetails)||void 0===t?void 0:t.map(e=>({...e,tabCtaText:e.title})),panelData:null===(a=r.brightTeamDetails)||void 0===a?void 0:a.map(e=>{const t=e.description.split("\n").map(e=>({listPoint:e.trim()}));return{...e,listData:t,childrenWrapperClass:"commentDiv",children:e.comment}})})),n.createElement(ls,{backgroundImageUrlDesktop:null===r||void 0===r?void 0:r.commonBannerBg,ratesTitle:null===r||void 0===r?void 0:r.subscriptionBannerDetails.headline,ratesData:null===r||void 0===r?void 0:r.subscriptionBannerPricingMultiDetails,joinBtnCopy:null===r||void 0===r?void 0:r.subscriptionBannerDetails.buttonText,joinBtnURL:null===r||void 0===r?void 0:r.subscriptionBannerDetails.ctaLink,feeTitle:null===r||void 0===r?void 0:r.activationDetail
1s.title,feeSummary:null===r||void 0===r?void 0:r.activationDetails.summary,feeGraphic:null===r||void 0===r?void 0:r.commonBannerGraphics}),n.createElement(p,{id:"joinAccordion"},n.createElement(g,null,n.createElement("h2",{className:"headingTwo"},null===r||void 0===r?void 0:r.faqText),n.createElement(Jc,{accordionItems:(null===r||void 0===r?void 0:r.faqs)||[]}))),n.createElement(rs,{backgroundImageUrlDesktop:null===r||void 0===r?void 0:r.bottomFooterDetails.imageUrl,termesTitle:null===r||void 0===r?void 0:r.bottomFooterDetails.title,paragraph:null===r||void 0===r?void 0:r.bottomFooterDetails.summary,tertiaryBtnCopy:null===r||void 0===r?void 0:r.bottomFooterDetails.ctaText,tertiaryBtnURL:null===r||void 0===r?void 0:r.bottomFooterDetails.ctaLink,primaryBtnCopy:null===r||void 0===r?void 0:r.bottomFooterDetails.secondaryCtaText,primaryBtnURL:null===r||void 0===r?void 0:r.bottomFooterDetails.secondaryCtaLink,multiButtonClass:"termBtns"})))},bs=e=>{let{backgroundImageUrlDesktop:t="",backgroundImageUrlMobile:a="",subscribeTitle:i="",paragraph:r="",tertiaryBtnCopy:l="",tertiaryBtnURL:o="",multiButtonClass:c=""}=e;return n.createElement(p,{id:"subscribeSection"},n.createElement(g,{id:"subscribeContainer",backgroundDesktopUrl:t,backgroundMobileUrl:a},n.createElement("h3",{className:"headingThree"},i),n.createElement("p",{className:"bodyLarge"},r),n.createElement(_,{multiButtonClass:c,tertiaryBtnCopy:l,tertiaryBtnURL:o})))},fs=e=>{let{coachTitle:t,coachBtnCopy:a,coachBtnURL:i,backgroundImageUrlDesktop:r,backgroundImageUrlMobile:l,...o}=e;return n.createElement(p,{id:"coachSection",backgroundDesktopUrl:r,backgroundMobileUrl:l},n.createElement(g,{id:"coachContainer"},n.createElement(St,o),n.createElement("h3",{className:"headingThree"},t),n.createElement(_,{primaryBtnCopy:a,primaryBtnURL:i})))};const vs=function(e){let{previewData:t}=e;const[a,i]=(0,n.useState)(null),[r,l]=(0,n.useState)([]);(0,n.useEffect)(()=>{Xc().then(e=>{l(e)})},[]),(0,n.useEffect)(()=>{document.title="Training | Bright MLS",t?i(t):(0,xt.c)(_t.bL).then(e=>{i(e)}).catch(e=>{console.log(e)})},[t]);const{youtubeBannerDetail:o}=a||{},{title:c="",ctaText:s="",ctaLink:m="",imageUrl:u="",summary:p="",mobileImageUrl:g=""}=o||{};return n.createElement(n.Fragment,null,n.createElement(d.m,null,n.createElement("body",{id:"trainingNew",className:"brightRedesign aPage"})),n.createElement("div",{className:"mtMain"},n.createElement(Dt,{id:"mtTrainingBanner",backgroundImageUrlDesktop:null===a||void 0===a?void 0:a.topBannerDetail.subImageUrl,topBannerTitle:null===a||void 0===a?void 0:a.topBannerDetail.title,topBannerSummary:null===a||void 0===a?void 0:a.topBannerDetail.summary,heroImage:null===a||void 0===a?void 0:a.topBannerDetail.imageUrl,heroImageMobile:null===a||void 0===a?void 0:a.topBannerDetail.mobileImageUrl,videoThumbURL:null===a||void 0===a?void 0:a.topBannerDetail.videoUrl,videoThumbImage:null===a||void 0===a?void 0:a.topBannerDetail.imageUrl,videoThumbImageMobile:null===a||void 0===a?void 0:a.topBannerDetail.mobileImageUrl,playButtonArrowType:"mt-playButtonOne"}),n.createElement(It,{id:"trainingIconBoxBlock",sm:12,md:4,xsIcon:2,xsTitle:10,smTitle:null===a||void 0===a?void 0:a.subscriberHeadline,paragraph:null===a||void 0===a?void 0:a.subscriberDescription,iconBoxData:(null===a||void 0===a?void 0:a.trainingFeatures.map(e=>({...e,image:e.imageUrl,headline:e.title,description:e.summary,linkText:e.ctaText,ctaLink:e.ctaLink})))||[]}),n.createElement(fs,{backgroundImageUrlDesktop:null===a||void 0===a?void 0:a.successCoachBanner.subImageUrl,heroImage:null===a||void 0===a?void 0:a.successCoachBanner.imageUrl,heroImageMobile:null===a||void 0===a?void 0:a.successCoachBanner.mobileImageUrl,coachTitle:null===a||void 0===a?void 0:a.successCoachBanner.title,coachBtnCopy:null===a||void 0===a?void 0:a.successCoachBanner.ctaText,coachBtnURL:null===a||void 0===a?void 0:a.successCoachBanner.ctaLink}),n.createElement(wt,{id:"trainingMediaContentBlock",backgroundImageUrlDesktop:null===a||void 0===a?void 0:a.trainingBanner.subImageUrl,mdL:5,mdR:7,heroImage:null===a||void 0===a?void 0:a.trainingBanner.imageUrl,heroImageMobile:null===a||void 0===a?void 0:a.trainingBanner.mobileImageUrl,videoThumbURL:null===a||void 0===a?void 0:a.trainingBanner.videoUrl,videoThumbImage:null===a||void 0===a?void 0:a.trainingBanner.imageUrl,videoThumbImageMobile:null===a||void 0===a?void 0:a.trainingBanner.mobileImageUrl,playButtonArrowType:"mt-playButtonTwo",contentTitle:null===a||void 0===a?void 0:a.trainingBanner.title,contentParagraphs:null===a||void 0===a?void 0:a.trainingBanner.summary,contentButtons:{primaryBtnURL:null===a||void 0===a?void 0:a.trainingBanner.ctaLink,primaryBtnCopy:null===a||void 0===a?void 0:a.trainingBanner.ctaText,primaryBtnTarget:{targetType:"_self"},secondaryBtnURL:null===a||void 0===a?void 0:a.trainingBanner.secondaryCtaLink,secondaryBtnCopy:null===a||void 0===a?void 0:a.trainingBanner.secondaryCtaText,secondaryBtnTarget:{targetType:"_self"}}}),(null===r||void 0===r?void 0:r.length)>=1&&n.createElement(ts,{ctaLink:m,ctaText:s,videos:r,headline:c,subHeadline:p,backgroundDesktopUrl:u,backgroundMobileUrl:g}),n.createElement(bs,{backgroundImageUrlDesktop:null===a||void 0===a?void 0:a.bottomBannerDetail.imageUrl,subscribeTitle:null===a||void 0===a?void 0:a.bottomBannerDetail.title,paragraph:null===a||void 0===a?void 0:a.bottomBannerDetail.summary,tertiaryBtnCopy:null===a||void 0===a?void 0:a.bottomBannerDetail.ctaText,tertiaryBtnURL:null===a||void 0===a?void 0:a.bottomBannerDetail.ctaLink})))},As=e=>{let{title:t="",cards:a=[]}=e;const i=a.map(e=>({image:e.imageUrl,headline:e.title,ctaLink:e.ctaLink,linkText:e.ctaText,description:e.summary}));return n.createElement(It,{sm:12,md:4,title:t,repetitiveLink:!0,iconBoxData:i,className:"icon-box-section"})},Ns=e=>{let{smLeft:t=6,smRight:a=6,xs:i=12,headline:r,className:l,bgImageURL:o,mobileBgImageURL:c,subHeadline:s,subText:m,primaryButtonText:d,primaryButtonLink:u,secondaryButtonText:p,secondaryButtonLink:g,tertiaryButtonLink:h,tertiaryButtonText:E,orientation:y="vertical"}=e;
1const[f,v]=(0,n.useState)(null);(0,n.useEffect)(()=>{const e=()=>{const e=window.matchMedia("(max-width: 768px)").matches;v(e&&c?c:null!==o&&void 0!==o?o:null)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[o,c]);const A=f?{backgroundImage:`url(${f})`}:{};return n.createElement(b.Ay,{container:!0,style:A,className:`banner-info ${y} ${l}`},n.createElement(b.Ay,{item:!0,xs:i,sm:t,className:"baner-info--item"},r&&n.createElement("h1",null,r),s&&n.createElement("h2",null,s),m&&n.createElement("p",{className:"bodyLarge"},m)),n.createElement(b.Ay,{item:!0,xs:i,sm:a,className:"baner-info--item"},n.createElement(_,{primaryBtnURL:u,primaryBtnCopy:d,secondaryBtnURL:g,secondaryBtnCopy:p,tertiaryBtnURL:h,tertiaryBtnCopy:E})))},Ss=e=>{let{previewData:t}=e;const[a,i]=(0,n.useState)([]),[r,l]=(0,n.useState)(null);(0,n.useEffect)(()=>{t?l(t):(0,xt.c)(_t.DW).then(e=>{l(e)}).catch(console.log)},[t]),(0,n.useEffect)(()=>{var e;if(null!==r&&void 0!==r&&null!==(e=r.topBannerDetails)&&void 0!==e&&e.cards){const{topBannerDetails:e}=r||{},{cards:t=[]}=e||{},a=(null===t||void 0===t?void 0:t.map(e=>{let{image:t,ctaLink:a,cardTitle:n,plainTextSummary:i}=e;return{cardURL:a,cardKey:n,cardImageUrl:t,cardTitle:n,cardBlurb:i}}))||[];i(a)}},[r]);const{partnerBanner:o,everyStepText:c,topBannerDetails:s,everyStepSolutions:m,moreSolutionsBanner:u,solutionsAdvertText:h,workdayEssentialsText:E,shareableInsightsText:y,solutionsAdvertBanner:b,shareableInsightsSolutions:f,workdayEssentialsSolutions:v}=r||{},{headline:A,subHeadline:N,buttonText:S,ctaLink:w,image:x}=s||{},{cards:_,image:k,headline:C}=u||{},{imageUrl:T,summary:I,ctaText:L,ctaLink:B}=b||{},{title:D,imageUrl:M,summary:P,ctaText:R,ctaLink:O,secondaryCtaText:U,secondaryCtaLink:F}=o||{},$=(null===_||void 0===_?void 0:_.map(e=>({image:e.image,ctaLink:e.ctaLink,headline:e.cardTitle,linkText:e.cardButtonText,description:e.plainTextSummary})))||[];return r&&n.createElement(n.Fragment,null,n.createElement(d.m,null,n.createElement("meta",{name:"robots",content:"noindex, nofollow"}),n.createElement("body",{id:"includedBenefitsNew",className:"brightRedesign aPage"})),n.createElement("div",{id:"included-benefits-body",className:"mtMain"},n.createElement(Dt,{cards:a,topBannerTitle:A||"",backgroundImageUrlDesktop:x,topBannerSummary:N||"",topBannerButtons:{primaryBtnURL:w||"",primaryBtnCopy:S||"",primaryBtnTarget:{targetType:"_self"}}}),n.createElement(p,{className:"solutions-advert-container"},n.createElement(g,{className:"solutions-advert-container--title-container"},n.createElement("h3",null,h)),n.createElement(As,{title:E,cards:v}),n.createElement(As,{title:c,cards:m}),n.createElement(As,{title:y,cards:f})),n.createElement(p,{className:"solutions-advert-section"},n.createElement(Ns,{xs:12,smLeft:12,smRight:12,bgImageURL:T,headline:I,primaryButtonText:L,primaryButtonLink:B})),n.createElement(p,{className:"partner-banner-section"},n.createElement(g,null,n.createElement(Ns,{orientation:"horizontal",headline:D,bgImageURL:M,subHeadline:P,primaryButtonLink:O,primaryButtonText:R,tertiaryButtonText:U||"",tertiaryButtonLink:F||""}))),$.length>0&&n.createElement(It,{md:4,sm:12,iconBoxData:$,title:C,className:"more-solutions-section",backgroundImageUrlDesktop:k})))};function ws(e){const{children:t,value:a,index:i,...r}=e;return n.createElement("div",Object.assign({role:"tabpanel",hidden:a!==i,className:"custom-tab-panel",id:`simple-tabpanel-${i}`,"aria-labelledby":`simple-tab-${i}`},r),a===i&&n.createElement(La.A,{sx:{p:3}},t))}const xs=e=>{let{accordionsData:t=[]}=e;const[a,i]=n.useState(0);return n.createElement(La.A,{sx:{width:"100%"}},n.createElement(La.A,{sx:{borderBottom:1,borderColor:"divider"}},n.createElement(En.A,{value:a,className:"groupTabs",onChange:(e,t)=>
1{i(t)},"aria-label":"workplace benefits"},t.map(e=>{const a=t.indexOf(e);return n.createElement(yn.A,{key:a,className:"graphBtn",id:`simple-tab-${a}`,label:e.tabTitle,"aria-controls":`simple-tabpanel-${a}`})}))),t.map(e=>{const i=t.indexOf(e);return n.createElement(ws,{key:i,value:a,index:i},n.createElement(Jc,{title:e.header,firstAccordionOpen:!1,className:"accordion-benefits",accordionItems:e.data}))}))},_s=e=>{let{accordionsData:t}=e;const[a,i]=(0,n.useState)(0),[r,l]=(0,n.useState)(!1),o=()=>l(e=>!e);return n.createElement(La.A,{sx:{width:"100%"}},n.createElement(La.A,{sx:{borderBottom:1,borderColor:"divider"}},n.createElement("button",{className:"makeSelection",onClick:o,onKeyDown:o},"Make a Selection"," ",n.createElement(kt.A,{className:"selectionChevron "+(r?"toggle":"")})),r&&n.createElement(En.A,{value:a,className:"groupTabs",onChange:(e,t)=>{i(t)},"aria-label":"workplace benefits"},t.map((e,t)=>n.createElement(yn.A,{key:e.tabTitle,className:"graphBtn",label:e.tabTitle,id:`simple-tab-${t}`,"aria-controls":`simple-tabpanel-${t}`,onClick:o})))),t.map((e,t)=>{const{header:i,data:r}=e;return n.createElement(ws,{key:i,index:t,value:a},n.createElement(Jc,{title:i,accordionItems:r,firstAccordionOpen:!1,className:"accordion-benefits"}))}))},ks=e=>{let{title:t,subTitle:a,data:i}=e;return n.createElement(p,{id:"benefits_wrapper"},n.createElement(g,null,n.createElement("div",{className:"headings"},n.createElement("h2",{className:"headingTwo"},t),n.createElement("p",null,a)),n.createElement("hr",null),!S()&&n.createElement(xs,{accordionsData:i}),S()&&n.createElement(_s,{accordionsData:i})))};var Cs=a(27915);const Ts=()=>{const e=(e,t)=>{const a=(e.target.ownerDocument||document).querySelector(t);a&&a.scrollIntoView({behavior:"smooth",block:"nearest"})};return n.createElement("div",{className:"anchor-links"},n.createElement("ul",null,n.createElement("li",null,n.createElement("a",{href:"#dei-section-container",onClick:t=>e(t,"#dei-section-container"),onKeyDown:t=>{"Enter"!==t.key&&" "!==t.key||e(t,"#dei-section-container")}},"Culture"),n.createElement(Cs.A,null)),n.createElement("li",null,n.createElement("a",{href:"#benefits_wrapper",onClick:t=>e(t,"#benefits_wrapper"),onKeyDown:t=>{"Enter"!==t.key&&" "!==t.key||e(t,"#benefits_wrapper")}},"Benefits"),n.createElement(Cs.A,null))))},Is=e=>{let{employeeTestimonials:t}=e;return n.createElement("section",{className:"employee-testimonials"},n.createElement("div",{className:"employee-testimonials__list"},t.map(e=>{let{headline:t,image:a,title:i,description:r}=e;return n.createElement("div",{key:t,className:"employee-testimonials__item"},n.createElement("div",{className:"employee-testimonials__item-image"},n.createElement("img",{src:a,alt:i})),n.createElement("div",{className:"employee-testimonials__item-content"},n.createElement(D.$,{className:"description"},r),n.createElement(D.$,{className:"headline"},t)))})))},Ls=e=>{let{previewData:t}=e;const a={"Time Away":"timeAwayAccordions",Healthcare:"healthcareAccordions","Family Planning":"familyPlanningAccordions","Financial Security":"financialSecurityAccordions"},[i,r]=n.useState(null),[l,o]=n.useState(null);(0,n.useEffect)(()=>{document.title="Careers | Bright MLS"}),(0,n.useEffect)(()=>{t?r(t):(0,xt.c)(_t.w0).then(e=>{r(e)}).catch(console.log)},[t]),(0,n.useEffect)(()=>{if(!i)return;const{benefitsTexts:e,benefitsHeaders:t=[]}=i||{},{title:n="",description:r=""}=e||{},l=t.reduce((e,t)=>{let{title:n,heading:r}=t;const l=null===a||void 0===a?void 0:a[n];return l&&e.push({tabTitle:n,header:r,data:i[l]}),e},[]);n&&r&&l&&o({title:n,subTitle:r,data:l})},[i]);const{topBanner:c,deiBanner:s,homeBanner:m,bottomBanner:u,deiImageMobile:h="",deiImageDesktop:E="",flexibleWorkplaceBanner:y,employeeTestimonials:b=[]}=i||{},{title:f="",imageUrl:v="",ctaText:A="",ctaLink:N="",subImageUrl:S=""}=c||{},{title:w="",imageUrl:x="",ctaLink:_="",ctaText:k="",summary:C=""}=m||{},{title:T="",imageUrl:I="",summary:L="",subImageUrl:B=""}=s||{},{title:D="",imageUrl:M="",ctaLink:P="",ctaText:R="",summary:O=""}=y||{},{ctaLink:U="",ctaText:F="",title:$="",imageUrl:W=""}=u||{};return i&&n.createElement(n.Fragment,null,n.createElement(d.m,null,n.createElement("body",{id:"bcomCareersNew",className:"brightRedesign aPage"})),n.createElement("div",{id:"bcom-careers-body",className:"mtMain"},n.createElement(Dt,{mdL:6,mdR:6,heroImage:v,heroImageMobile:null===i||void 0===i?void 0:i.topBanner.mobileImageUrl,videoThumbURL:null===i||void 0===i?void 0:i.topBanner.videoUrl,videoThumbImage:v,videoThumbImageMobile:null===i||void 0===i?void 0:i.topBanner.mobileImageUrl,playButtonArrowType:"mt-playButtonOne",topBannerTitle:f,backgroundImageUrlDesktop:S,topBannerButtons:{primaryBtnURL:N,primaryBtnCopy:A,primaryBtnTarget:{targetType:"_self"}}}),n.createElement(p,{className:"anchor-links-section"},n.createElement(g,{className:"anchor-links-container"},n.createElement(Ts,null))),n.createElement(wt,{heroImage:x,contentTitle:w,gridMobileDirection:"column-reverse",contentParagraphs:C,contentButtons:{primaryBtnURL:_,primaryBtnCopy:k,primaryBtnTarget:{targetType:"_self"}}}),n.createElement(p,{id:"dei-section-container",className:"dei-section-container",backgroundDesktopUrl:B},n.createElement(p,{className:"relative-section-container"},n.createElement(g,{className:"dei-section-container__top-image-container"},n.createElement(St,{heroImage:E,heroImageMobile:h,heroImageAlt:T||"DEI Banner Top Image",heroImageClass:"dei-section-container__top-image-container__image"})),n.createElement("div",{className:"white-top-absolute-block"})),n.createElement(wt,{selfAlignType:"flex-start",heroImage:I,gridMobileDirection:"column-reverse",contentParagraphs:L,className:"dei-section-container__bottom-content",heroImageClass:"dei-section-container__bottom-image",contentElements:n.createElement(Is,{employeeTestimonials:b})})),n.createElement(wt,{heroImage:M,contentTitle:D,gridDesktopDirection:"row-reverse",gridMobileDirection:"column-reverse",contentParagraphs:O,contentButtons:{primaryBtnURL:P,primaryBtnCopy:R,primaryBtnTarget:{targetType:"_self"}}}),l&&n.createElement(ks,{data:null===l||void 0===l?void 0:l.data,title:null===l||void 0===l?void 0:l.title,subTitle:null===l||void 0===l?void 0:l.subTitle}),n.createElement(Ns,{xs:12,smLeft:12,smRight:12,headline:$,className:"bottom-cta-banner",bgImageURL:W,mobileBgImageURL:null===i||void 0===i?void 0:i.bottomBanner.mobileImageUrl,tertiaryButtonText:F,tertiaryButtonLink:U})))};const Bs=function(e){let{previewData:t}=e;
1const[a,i]=(0,n.useState)(null),r=null===a||void 0===a?void 0:a.brightPrinciples.summary,l=r?r.split("\n\n").map(e=>({listPoint:e.trim()})):[];return(0,n.useEffect)(()=>{document.title=" About | Bright MLS",t?i(t):(0,xt.c)(_t.Cc).then(e=>{i(e)}).catch(e=>{console.log(e)})},[t]),n.createElement(n.Fragment,null,n.createElement(d.m,null,n.createElement("body",{id:"aboutRedesign",className:"brightRedesign aPage"})),n.createElement("div",{className:"mtMain"},n.createElement(Dt,{id:"mtAboutBanner",backgroundImageUrlDesktop:null===a||void 0===a?void 0:a.topBannerDetails.subImageUrl,topBannerTitle:null===a||void 0===a?void 0:a.topBannerDetails.title,topBannerSummary:null===a||void 0===a?void 0:a.topBannerDetails.summary,heroImage:null===a||void 0===a?void 0:a.topBannerDetails.imageUrl,heroImageMobile:null===a||void 0===a?void 0:a.topBannerDetails.mobileImageUrl,videoThumbURL:null===a||void 0===a?void 0:a.topBannerDetails.videoUrl,videoThumbImage:null===a||void 0===a?void 0:a.topBannerDetails.imageUrl,videoThumbImageMobile:null===a||void 0===a?void 0:a.topBannerDetails.mobileImageUrl,playButtonArrowType:"mt-playButtonOne"}),n.createElement(It,{id:"aboutIconBoxBlock",sm:12,md:4,xsIcon:2,xsTitle:10,smTitle:null===a||void 0===a?void 0:a.whatWeDoText,iconBoxData:(null===a||void 0===a?void 0:a.featuresList)||[]}),n.createElement(wt,{id:"aboutMediaContentBlockOne",gridMobileDirection:"column-reverse",mdL:5,mdR:7,heroImage:null===a||void 0===a?void 0:a.visionPitch.image,contentTitle:null===a||void 0===a?void 0:a.visionPitch.title,contentParagraphs:null===a||void 0===a?void 0:a.visionPitch.description,contentButtons:{primaryBtnURL:null===a||void 0===a?void 0:a.visionPitch.ctaLink,primaryBtnCopy:null===a||void 0===a?void 0:a.visionPitch.buttonText,primaryBtnTarget:{targetType:"_self"}}}),n.createElement(wt,{id:"aboutMediaContentBlockTwo",gridDesktopDirection:"row-reverse",gridMobileDirection:"column-reverse",backgroundImageUrlDesktop:null===a||void 0===a?void 0:a.brightPrinciples.subImageUrl,mdL:5,mdR:7,heroImage:null===a||void 0===a?void 0:a.brightPrinciples.imageUrl,contentTitle:"Our principles",contentButtons:{primaryBtnURL:null===a||void 0===a?void 0:a.brightPrinciples.ctaLink,primaryBtnCopy:null===a||void 0===a?void 0:a.brightPrinciples.ctaText,primaryBtnTarget:{targetType:"_self"}}},n.createElement(hs,{listData:l}),n.createElement("br",null)),n.createElement(St,{heroImageClass:"mapImage",heroImage:null===a||void 0===a?void 0:a.marketsServedMapDesktop,heroImageMobile:null===a||void 0===a?void 0:a.marketsServedMapMobile}),n.createElement(Ns,{xs:12,smLeft:12,smRight:12,subHeadline:null===a||void 0===a?void 0:a.bottomBanner.title,subText:null===a||void 0===a?void 0:a.bottomBanner.summary,className:"bottom-cta-banner",bgImageURL:null===a||void 0===a?void 0:a.bottomBanner.imageUrl,mobileBgImageURL:null===a||void 0===a?void 0:a.bottomBanner.mobileImageUrl,tertiaryButtonText:null===a||void 0===a?void 0:a.bottomBanner.ctaText,tertiaryButtonLink:null===a||void 0===a?void 0:a.bottomBanner.ctaLink})))},Ds="No filter selected.",Ms={name:"video",value:"Videos"},Ps={name:"campaign-video",value:"Campaign videos"},Rs={name:"market-update",value:"Market updates"},Os=[{name:"market-report",value:"Market reports"},{name:"release-notes",value:"Release notes"},Ms,{name:"product",value:"Product updates"},Rs,{name:"training",value:"Training"},{name:"share-with-clients",value:"Share with clients"},{name:"industry-news",value:"Industry news"},{name:"bright-news",value:"Bright news"},Ps],Us="News",Fs="Videos",$s="Bright news",Ws="list",Hs="video",js="gallery";function zs(e){let{filterTextSx:t,articleContainerSx:a,showNoFilterMsg:i}=e;return i?n.createElement(La.A,{sx:a},n.createElement(La.A,{sx:t},"There are no posts for the selected filters.")):null}const Vs={articlesRoot:{width:{xs:"100% !important"}},root:{flexGrow:1},filterContainer:{background:Z,padding:"45px 30px",minHeight:"500px"},filterErrorMessage:{textAlign:"center",paddingTop:"2em",fontSize:"1em",width:"100%"},featureAndArticlesContainer:{paddingBottom:"0px"},featureArticleQuickText:{display:{xs:"block",sm:"flex"},padding:{xs:"41px 1em 1.25em",sm:"41px 1.25em 1.25em",md:"41px 50px 1.25em"}
1,fontSize:Ce,color:re,lineHeight:"5px",letterSpacing:"0.3px",fontWeight:be},manageLinks:{paddingTop:{xs:"30px"}},filtersTopContentGrid:{justifyContent:"space-between"},filterManageNewsLinkText:{color:se,marginLeft:{xs:0,sm:"5px",md:"15px"},marginRight:{xs:0,sm:"5px",md:"15px"},fontSize:{xs:ke,lg:Ce},textDecoration:"none",fontWeight:be,letterSpacing:"0.3px",lineHeight:{xs:"23px",md:"20px !important",lg:"5px !important"},paddingBottom:{md:"15px !important"}},featureArticleContainer:{border:"1px solid #eee",height:"auto",cursor:"pointer",margin:{xs:"0",sm:"0 50px"},display:"flex",flexDirection:"row",textDecoration:"none"},featuredSection:{position:"relative",marginBottom:"15px",width:"100%"},contentType:{backgroundColor:se,fontSize:"9.6px !important",color:"#fff",width:"80px",bottom:0,fontWeight:"bold",textAlign:"center",lineHeight:"24px",marginLeft:{xs:"21px",sm:"50px"},position:"absolute"},svg:{marginRight:"5px"},featureBannerTitle:{margin:{xs:"0",sm:"0 50px 0 30px"},color:"black",fontSize:"1.5em",fontFamily:"Bitter",fontWeight:be,lineHeight:"31px",maxHeight:{xs:"none",sm:"62px"},marginRight:"-22px",paddingRight:"22px",paddingBottom:"10px",cursor:"pointer",padding:{xs:"0 20px",sm:void 0}},featureBody:{margin:{xs:"0",sm:"0 50px 0 30px"},lineHeight:"22px",maxHeight:"44px",fontSize:"14px",clear:"both",overflow:"hidden",position:"relative",textAlign:"justify",display:"block",marginTop:{xs:"10px",sm:void 0},marginBottom:{xs:"15px",sm:void 0},padding:{xs:"0 20px",sm:void 0}},articleContainer:{margin:"0",width:"100%",marginTop:"28px",padding:{xs:"0 20px",sm:"0 50px"}},imgContainer:{margin:"0",overflow:"hidden",position:"relative",width:{xs:"100px",sm:"180px"},height:"auto"},innerContainer:{padding:"10px 0",clear:"both",margin:"0 0 6px",zoom:1},articleImg:{width:"100%",height:{xs:"82.7px",sm:"148.6px"},borderWidth:"2px",borderStyle:"solid",borderColor:Z,backgroundSize:"cover",backgroundPosition:"50% 50%",backgroundRepeat:"no-repeat"},articleImgDefault:{width:"100%",height:{xs:"82.7px",sm:"148.6px"},borderWidth:"2px",borderStyle:"solid",borderColor:Z,backgroundSize:"contain",backgroundPosition:"50% 50%",backgroundRepeat:"no-repeat"},articleContentType:{backgroundColor:se,padding:"5px!important",fontSize:`${we} !important`,lineHeight:"5px",letterSpacing:"0.3px",fontWeight:"bold",color:J,width:"111.6px"},articlecontentTypeContainer:{margin:"-3px 0 5px 0"},contentTypeContainer:{paddingLeft:{xs:"5px",sm:"20px"},paddingTop:"5px"},articleBodyContainer:{lineHeight:"20px",maxHeight:"43px",fontSize:Ce,letterSpacing:"0.3px",fontWeight:"normal",color:oe,clear:"both",overflow:"hidden",position:"relative",textAlign:"justify",display:"block",marginRight:"-10px",paddingRight:"10px","&::before":{content:'"..."',position:"absolute",right:"1px",bottom:0},"&::after":{content:"''",position:"absolute",right:0,width:"10px",height:"22px",marginTop:".2em",background:"#fff"}},articleSubheaderWrapper:{zIndex:2,position:"relative",padding:{xs:"1em 8px",md:"1em 16px 0.5em",sm:"0.5em 5px 0.5em"},margin:"0",justifyContent:"space-around",boxShadow:"0 8px 12px -5px #e8e8e8"},input:{height:40,borderRadius:0},articleFilterWrapper:{display:"inline-flex",float:"right"},noFilterText:{paddingTop:"2em"},spinner:{margin:"auto",paddingTop:"2em"},inputDatePicker:{overflow:"hidden",height:"55px",width:{xs:"84%",sm:"200px"}},toInputDatePicker:{marginTop:"-8px",padding:"0!important"},orangeButton:{backgroundColor:`${se} !important`,color:"white !important",borderColor:`${se} !important`,borderRadius:"1px",padding:"5px",textAlign:"center",fontSize:"14px",boxShadow:"none",width:"100%"},datePickerWrapper:{justifyContent:{xs:"flex-end"},marginBottom:"10px",marginTop:{xs:"10px",sm:"0"}},filterDateApplyButton:{display:{xs:"none"}},searchInputContainer:{marginTop:{xs:"8px",sm:"25px",lg:"31px"}},datePickerTitle:{marginBottom:"8px",display:{xs:"none",sm:"block"}},removeTextDecoration:{textDecoration:"none",color:ae},articleTitle:{fontWeight:be,lineHeight:"5px",fontSize:Te,letterSpacing:"0.3px",color:oe,padding:"10px 0"},boxStyle:{maxWidth:{xs:"97%",sm:"1081px"},height:"150px",color:me,margin:{xs:"30px 10px 34px 10px",sm:"30px 30px 34px 52px"},position:"relative"},dateBoxStyle:{color:ge,width:"100%",height:"148.86px",margin:0,overflow:"hidden",position:"relative",fontSize:Ue,background:oe,textAlign:"center",paddingTop:"10px"},titleSection:{maxWidth:"675px",fontWeight:be,fontSize:Oe,lineHeight:"27px",textDecoration:"none",color:me},ArticleSubheaderTitle:{fontWeight:be,maxWidth:"675px",fontSize:Oe,lineHeight:"5
1px",paddingTop:"5px",letterSpacing:"0.3px",color:oe},dateBox:{maxWidth:"363px",fontSize:xe,lineHeight:"14px",paddingTop:"24px",position:"absolute",bottom:{xs:"-20px",sm:0}},paper:{p:2,textAlign:"center",color:ge,background:ce},articleSection:{backgroundColor:de},alternateArticleSection:{backgroundColor:J}};function Gs(e){const{articlesData:t,currentPage:a,showNoFilterMsg:i}=e;return n.createElement(n.Fragment,null,n.createElement("div",{id:"articles_id"},n.createElement(b.Ay,{container:!0,direction:"row"},!i&&n.createElement(n.Fragment,null,n.createElement(b.Ay,{container:!0,item:!0,xs:12,id:"article_id"},t&&t.payload&&t.payload.map((e,t)=>n.createElement(b.Ay,{container:!0,key:t,sx:t%2===0?Vs.articleSection:Vs.alternateArticleSection,direction:"row",id:"article_list_id_"+t},n.createElement(b.Ay,{item:!0,sx:Vs.boxStyle},n.createElement(b.Ay,{item:!0},n.createElement(m.N_,{className:"title-anchor",to:`/article/${e.articleNewsId}`},n.createElement(W.A,{sx:Vs.titleSection,id:"article_list_title_id_"+t},e&&e.title),n.createElement(W.A,{className:"arrowIcon",id:"article_list_title_rgtIcon_id_"+t},n.createElement(Di.A,null)))),n.createElement(b.Ay,{item:!0,sx:Vs.ArticleSubheaderTitle,className:"articleSubheaderTitle",id:"article_list_subTitle_id_"+t,dangerouslySetInnerHTML:(0,H.R2)(e&&e.articleSummary)}),n.createElement(b.Ay,{id:"article_list_publishDate_id_"+t,item:!0,sx:Vs.dateBox},e&&(0,H.OI)(e.postDate,"MMMM DD, YYYY"))))),n.createElement(b.Ay,{item:!0,xs:12,className:"pagination "+(t&&!e.isMobileFilterOpen&&t.count>t.articlePerPages?"":"noPaginationDivSection")},t&&!e.isMobileFilterOpen&&t.count>t.articlePerPages&&n.createElement(ho,{limit:t.articlePerPages,totalItems:t&&t.count,handleChange:(t,a)=>{t.preventDefault(),e.onPageClick(t,a)},currentPage:a})))),n.createElement(zs,{filterTextSx:Vs.noFilterText,articleContainerSx:Vs.featureAndArticlesContainer,showNoFilterMsg:i}))))}const qs="All",Ys="Article",Ks="Video",Js="BRIGHTMLS",Qs="OFFICENEWS",Xs=[{name:"All",code:"All"},{name:"Bright MLS",code:"BRIGHTMLS"}],Zs=["BRIGHTMLS"],em=["OFFICENEWS"],tm=[{name:"All",code:"All"}],am=[{name:"Bright MLS",code:"BRIGHTMLS"}],nm=[{name:"My Office",code:"OFFICENEWS"}],im=n.createContext(null);var rm=a(74330),lm=a(70327);var om=a(57545);const cm=e=>{const{imageUrl:t,title:a,articleSummary:i,postDate:r,videoUrl:l="",articleNewsId:o,authorImage:c="",authoredBy:s=""}=e.article,{onClick:d,index:u,showArrowUp:p,showDescription:g}=e,h=()=>window.location.href.includes("newsinsights?category=market-report");return n.createElement(b.Ay,{container:!0,justifyContent:"center",className:"article-image "+(l?"":"no-video")},n.createElement(b.Ay,{className:"article-card-content"},n.createElement(m.N_,{to:`/article/${o}`,className:"article-card-link"},n.createElement(b.Ay,{container:!0,className:"image-container"},h()&&n.createElement("div",{id:`newsArticleImg-${o}`,className:"newsArticleImg",style:{backgroundImage:`url(${t})`,backgroundSize:"cover"}}),!h()&&n.createElement("img",{id:`news-video-article-image-${u}`,className:"video-image",src:t||lm,alt:a})),n.createElement(b.Ay,{className:"news-video-title-section"},n.createElement("button",{onClick:()=>d&&d(l),onKeyDown:()=>d&&d(l),className:"play-icon-image-btn"},n.createElement("img",{className:"mobile-play-icon",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPBAMAAADJ+Ih5AAAALVBMVEUAAAAeOZIfOpMfOpMfOZMgOI8eOpQfOpMfOpQfOZMeOZMgOZMgOJMcOI8fOpOXMW8wAAAADnRSTlMAYO/fvyCAz8+voFBAQCNkkUQAAABkSURBVAjXY2BgENFTEWAAgoh37949DmBgYLV7BwSmDAzM70DgOQOD3Ltn64AsAQa/dw+5gbIODHrvHjKw6b1TYHgHZDCce/cALgJSwwtSA9I1D6yLHWzOYySTGYJBBgcwwG0HABFgPNdv9p67AAAAAElFTkSuQmCC",id:`news-video-play-icon-${u}`,alt:"play-video"})),n.createElement(W.A,{variant:"h2",component:"h2",id:`news-video-article-title-${u}`},(h()||p)&&n.createElement("span",{className:"arrowUpRight"},n.createElement(Et.A,null)),a),(h()||g)&&n.createElement(W.A,{"aria-label":i,className:"newsArticleSummary",id:`${o}-card-sub-title`,dangerouslySetInnerHTML:(0,H.R2)(i)}))),!h()&&n.createElement(W.A,{className:"date"},(0,H.wU)(r))),h()&&n.createElement("div",{className:"avatar-container"},n.createElement(rm.A,{className:"avatar-img",alt:null!==s&&void 0!==s?s:"authoredBy",src:null!==c&&void 0!==c?c:om}),n.createElement(b.Ay,{container:!0,className:"avatar-info-container",direction:"column"},n.createElement(W.A,{className:"avatar-info-author"},s),n.createElement(W.A,{className:"avatar-info-post-date"},(0,H.wU)(r)))))},sm=e=>{const{id:t,articles:a,showArrowUp:i,onArticleClick:r,showDescription:l,showNoFilterMsg:o}=e;return n.createElement(b.Ay,{container:!0,justifyContent:"center",className:"articles-images-grid-container",id:t},null===a||void 0===a?void 0:a.map((e,t)=>n.createElement(cm,{key:t,index:`${t}`,article:e,onClick:r,showArrowUp:i,showDescription:l})),n.createElement(zs,{filterTextSx:Vs.noFilterText,articleContainerSx:Vs.featureAndArticlesContainer,showNoFilterMsg:o}))},mm=e=>{const{pinnedArticle:t}=e;return t?n.createElement(b.Ay,{className:"maxWidthContainer news-video-pinned-video-section"},n.createElement(b.Ay,{className:"pinned-video",container:!0,justifyContent:"center"},n.createElement("iframe",{id:"pinned-video-iframe-video","aria-labelledby":"pinned_video_article_title_id",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,src:`${null===t||void 0===t?void 0:t.videoUrl}`,frameBorder:"0"})),n.createElement(b.Ay,{className:"pinned-video-description",container:!0,justifyContent:"space-between"},n.createElement(m.N_,{to:`/article/${t.articleNewsId}`,id:"pinned-video-article-id"},n.createElement("h2",{id:"pinned_video_article_title_id",className:"pinned-video-title"}
1,null===t||void 0===t?void 0:t.title)),n.createElement("p",{id:"pinned-video-article-date",className:"pinned-video-date"},(0,H.wU)(null===t||void 0===t?void 0:t.postDate)))):null},dm=e=>{const[t,a]=(0,n.useState)(!1),[i,r]=(0,n.useState)(""),{articles:l,count:o,currentPage:c,articlePerPages:s,selectedVideoCategory:m,showNoFilterMsg:d,onPageClick:u,setSelectedVideoCategory:p}=e.videoGrid,{pinnedVideoArticle:g}=e;return n.createElement(b.Ay,null,n.createElement(b.Ay,{className:"video-article-container"},n.createElement(mm,{pinnedArticle:g})),l?n.createElement(b.Ay,{className:"maxWidthContainer news-video-article-grid"},n.createElement(b.Ay,{className:"news-video-container"},n.createElement(b.Ay,{container:!0,justifyContent:"center",className:"top-button-section",id:"news-video-article-top-section"},n.createElement(P.A,{id:"news-video-all-video-button",onClick:()=>p(Ms.name),className:""+(m===Ms.name?"active":"")},"All videos"),n.createElement(P.A,{id:"news-video-compaign-video-button",onClick:()=>p(Ps.name),className:""+(m===Ps.name?"active":"")},Ps.value),n.createElement(P.A,{id:"news-video-market-updates-video-button",onClick:()=>p(Rs.name),className:""+(m===Rs.name?"active":"")},Rs.value)),n.createElement(sm,{id:"news-video-articles-grid",articles:l,onArticleClick:function(e){e&&(a(!0),r(e))},showNoFilterMsg:d}),n.createElement(b.Ay,{className:"pagination"},o>s?n.createElement(ho,{limit:s,totalItems:o,handleChange:(e,t)=>
1{e.preventDefault(),u(e,t)},currentPage:c}):null),n.createElement(Xe,{className:"news-video-player",title:"",showButtons:!0,messages:[],isOpen:t,setOpen:a,hasBillingAlert:!1,memberMlsId:"",billingAlertFingerprint:""},n.createElement(Ze,{videoUrl:i})))):null)},um=e=>{const{articles:t,showNoFilterMsg:a,articlePerPages:i,count:r,currentPage:l,onPageClick:o,showArrowUp:c,showDescription:s}=e;return n.createElement(b.Ay,{className:"news-gallery-article-grid-container"},n.createElement(b.Ay,{className:"news-gallery-articles-container"},n.createElement(sm,{articles:t,showArrowUp:c,showDescription:s,id:"news-gallery-articles-grid",showNoFilterMsg:a})),r>i?n.createElement(b.Ay,{className:"news-gallery-pagination"},n.createElement(ho,{limit:i,totalItems:r,handleChange:(e,t)=>{e.preventDefault(),o(e,t)},currentPage:l})):null)},pm=a.p+"static/media/filter.a7b1a65c.svg";var gm=a(97543),hm=a(56258),Em=a(7387),ym=a.n(Em),bm=a(55432);const fm=function(e){const{isMobileDatePicker:t,onDateChange:a}=e,{articlesDates:i,setArticlesDates:r}=(0,n.useContext)(im),[l,o]=(0,n.useState)(null),[c,s]=(0,n.useState)(null),[m]=(0,n.useState)(ym()().subtract(10,"years").toDate());return(0,n.useEffect)(()=>{const{toDate:t,fromDate:a}=e,n=t&&new Date(t.replace(/-/g,"/")),i=a&&new Date(a.replace(/-/g,"/"));n&&t&&s(n),i&&a&&o(i),function(){try{const e=document.querySelector("#date-picker-from");e&&e.setAttribute("aria-label","from date");const t=document.querySelector("#date-picker-to");t&&t.setAttribute("aria-label","to date")}catch(e){}}()},[]),n.createElement(Za.$J,{dateAdapter:tn.h},n.createElement(b.Ay,{container:!0,justifyContent:"flex-end",sx:Vs.datePickerWrapper},n.createElement(b.Ay,{item:!0,className:e.className?e.className:""},n.createElement(W.A,{sx:Vs.datePickerTitle,className:"date-picker-title"},"Search by Date"),n.createElement("span",{className:"wrapCalendarIcon"},n.createElement(bm.A,{className:"calendarIcon"}),n.createElement(gm.l,{label:"From",value:i&&i.fromDate?i.fromDate:null,onChange:e=>{o(e),r({fromDate:e,toDate:null,minDate:e}),s(null)},format:"MM/dd/yyyy",minDate:m,slotProps:{textField:{id:"date-picker-from",fullWidth:Ht(),variant:"standard",sx:Object.assign({},Vs.inputDatePicker||{},Vs.toInputDatePicker||{},{minWidth:120,"& label":{transition:"all 0.4s ease",opacity:1},"&.Mui-focused label, & label.MuiInputLabel-shrink":{opacity:0}}),InputProps:{endAdornment:n.createElement(F.A,{onClick:()=>{o(null),r({fromDate:null,toDate:null,minDate:null})},"aria-label":"clear_date"},n.createElement(hm.A,null))}}}})),n.createElement("span",{className:"wrapCalendarIcon"},n.createElement(bm.A,{className:"calendarIcon"}),n.createElement(gm.l,{label:"To",value:i&&i.toDate?i.toDate:null,onChange:e=>{t&&a&&a(e,!0),s(e),r({toDate:e,fromDate:i&&i.fromDate?i.fromDate:null,minDate:i&&i.minDate&&i.fromDate?i.minDate:null})},format:"MM/dd/yyyy",minDate:i&&i.minDate?i.minDate:m,slotProps:{textField:{id:"date-picker-to",fullWidth:Ht(),variant:"standard",sx:Object.assign({},Vs.inputDatePicker||{},Vs.toInputDatePicker||{},{minWidth:120,"& label":{transition:"all 0.4s ease",opacity:1},"&.Mui-focused label, & label.MuiInputLabel-shrink":{opacity:0}}),InputProps:{endAdornment:n.createElement(F.A,{onClick:function(){t&&a&&a(null,!0),r({fromDate:i&&i.fromDate?i.fromDate:null,minDate:i&&i.fromDate&&i.minDate?i.minDate:null,toDate:null}),s(null)},"aria-label":"clear_date"},n.createElement(hm.A,null))}}}})),Ht()?null:n.createElement(P.A,{variant:"contained",className:"orange_button","aria-label":"Apply",disabled:!(!i||null==i.fromDate||null==i.toDate)&&i.fromDate>i.toDate,onClick:()=>{e.onApplyClick(l,c)},id:"search_apply_button_desktop"},"Apply"))))};function vm(e){const{searchText:t,onSearchChange:a,onSearchSubmit:i}=e;return n.createElement(Ca.A,{id:"search_field_id","data-testid":"search_field_id",type:"search",variant:"outlined",placeholder:"Search",sx:Vs.input,className:"search-input-text",InputProps:{endAdornment:n.createElement(F.A,{role:"button",onClick:e=>function(e,t){const a=document.getElementById(t);a&&(a.focus(),i(e))}(e,"search_field_id"),"aria-label":"search text"},n.createElement(Pa.A,null))},InputLabelProps:{shrink:!0},inputProps:{"aria-label":"search article"},fullWidth:!0,value:t,onChange:a,onKeyDown:function(e){"Enter"!==e.key&&13!==e.keyCode||i(e)}})}function Am(e){const{searchText:t,isMobileFilterOpen:a,setMobileFilterStatus:i,numberOfSelectedFilters:r}=e;return n.createElement(n.Fragment,null,n.createElement(b.Ay,{container:!0,direction:"row",id:"article-search-section",sx:Vs.articleSubheaderWrapper},n.createElement(b.Ay,{container:!0,justifyContent:"space-between"},n.createElement(b.Ay,{item:!0,lg:3,md:8,sm:6,xs:12,className:"article-filter-wrapper"},n.createElement(b.Ay,{container:!0,direction:"row",sx:Vs.titleSection,className:"title-section"},n.createElement(W.A,{sx:Vs.ArticleSubheaderTitle,className:"article-sub-header-title","aria-level":1,role:"heading"}
1,"Articles & Videos"),Ht()||a?n.createElement("div",{className:"article-filter-section",style:Vs.articleFilterWrapper},n.createElement("div",{onClick:()=>i(!0),className:"article-filter-text"},n.createElement("div",{className:"img-wrapper"},n.createElement("img",{src:pm,alt:"filter"})),"FILTER:"),n.createElement("div",{className:"article-filter-status"},r," Filters Applied")):"")),!Ht()&&n.createElement(n.Fragment,null,n.createElement(b.Ay,{item:!0,xl:3,lg:12,md:12,sm:12,xs:12,sx:Vs.searchInputContainer,className:"searchInputContainer"},n.createElement(vm,{onSearchSubmit:e.onSearchSubmit,onSearchChange:e.onSearchChange,searchText:t})),n.createElement(b.Ay,{item:!0,xl:6,lg:12,md:12,sm:12,xs:12,sx:Vs.datePickerWrapper},n.createElement(fm,{onApplyClick:function(t,a){e.onApplyClick(t,a)}}))))))}var Nm=a(22035),Sm=a(48459);var wm=a(15283),xm=a(6248);function _m(e){const{checked:t,handleChange:a,value:i,inputProps:r,index:l,className:o="",text:c,id:s}=e;return n.createElement("div",{className:"check-box"},n.createElement("div",{className:"background"}),n.createElement("div",{className:"filter-check-box"},n.createElement(wm.A,{value:i,control:n.createElement(xm.A,{id:`${(0,H.Sc)(s)}`,checked:t,onChange:a,className:o,value:i,inputProps:r,sx:{"& svg":{color:"transparent"},"&.Mui-checked svg":{color:"#ff4500"}}}),label:c||i,labelPlacement:"end"}),n.createElement("div",{className:"fullcharacters",id:`checkboxFullCharacters-${l}`},c||"")))}var km=a(52008);class Cm extends n.Component{constructor(e){super(e),this.setStatePublishFilter=()=>{this.setState({publishFilters:Zs,publishFiltersMap:Xs,selectedPublishedFilters:Zs.join(","),publishedByFilter:!0})},this.state={toDate:"",fromDate:"",categoryFilters:[],showAllCategories:!0,publishedByFilter:!1,selectedCategoryFilters:"",selectedTypeFilters:"",to:new Date,from:new Date,publishFilters:[],selectedPublishedFilters:"",publishFiltersMap:[]}}onDateChange(e,t){const a=null!==e?e.getFullYear()+"-"+(e.getMonth()+1)+"-"+e.getDate():"";t?this.setState({toDate:a}):this.setState({fromDate:a})}componentDidMount(){if((0,xt.y)(!0,ur).then(e=>{const t=e.map(e=>e.title);t.length>1&&t.unshift(qs),this.setState({categoryFilters:t})}).catch(()=>{this.setState({categoryFilters:[]})}),(0,H.xA)()){const{filterSearchQuery:e}=this.props,t="articles"===e||null===e?Js:"";(0,Ve.AE)("Association").then(a=>{let n=a.map(e=>e.code);const i=[...tm,...nm,...a,...am];n=[...Zs,...n,...em];const r=e?[(0,H.mJ)(e)].join(","):null===e?[i].join(","):"",l=n.includes(t);this.setState({selectedPublishedFilters:r,publishFilters:n,publishedByFilter:!!l,publishFiltersMap:i})}).catch(()=>{const a=[...tm,...nm,...am],n=[...Zs,...em],i=n.includes(t),r=e?[(0,H.mJ)(e)].join(","):null===e?[a].join(","):"";this.setState({selectedPublishedFilters:r,publishFilters:n,publishedByFilter:!!i,publishFiltersMap:a})})}else this.setStatePublishFilter()}handleChange(e,t){const a=e.target.value,n=e.target.checked,{categoryFilters:i,selectedCategoryFilters:r,selectedTypeFilters:l,publishFilters:o,selectedPublishedFilters:c}=this.state,{isMobile:s}=this.props;let m="",d="";s?(m="category"===t?r:l,d="PublishedBy"===t?c:""):(m="category"===t?this.props.category:this.props.type,d="PublishedBy"===t?this.props.publishedBy:"");const u=m.split(","),p=d.split(","),g=u.findIndex(e=>e===a),h=p.findIndex(e=>e===a);let E,y,b;switch(-1!==h?p.splice(h,1):p.push(a),-1!==g?u.splice(g,1):u.push(a),s?(E=e=>{this.setState({selectedTypeFilters:e})},y=e=>{this.setState({selectedCategoryFilters:e})},b=e=>{this.setState({selectedPublishedFilters:e})}):(E=this.props.setType,y=this.props.setCategory,b=this.props.setPublished),t){case"type":E(n&&a===qs?`${Ys},${Ks}`:a===qs?"":u.join(","));break;case"category":{const e=[""];i.map(t=>{t!==qs&&e.push(t)}),y(n&&a===qs?e.join(","):a===qs?"":u.join(","));break}case"PublishedBy":{const e=[""];o.map(t=>{t!==qs&&e.push(t)}),n&&a===qs?(b(e.join(",")),this.setState({publishedByFilter:!0,selectedPublishedFilters:e.join(",")})):n&&a===Js?(b(p.join(",")),this.setState({publishedByFilter:!0,selectedPublishedFilters:p.join(",")},()=>{this.props.setType(""),this.props.setCategory("")})):a!==qs||n?a!==Js||n?(b(p.join(",")),this.setState({selectedPublishedFilters:p.join(",")})):(b(p.join(",")),this.setState({publishedByFilter:!1,selectedPublishedFilters:p.join(",")},()=>{this.props.setCategory(","),this.props.setType(",")})):(b(""),this.setState({publishedByFilter:!1,selectedPublishedFilters:""},()=>{this.props.setCategory(","),this.props.setType(",")}));break}}}filterGroup(e){const{subTitle:t,groups:a}=e;return n.createElement("div",{className:"filter-group"},n.createElement("h2",{className:"sub-title"},t),a&&a.map((e,a)=>e.hidden?null:n.createElement(_m,{id:e.groupId,key:a,index:`${a}-${t}`,checked:e.checked,handleChange:e.handleChange,value:e.value,text:e.text,inputProps:e.inputProps})))}isChecked(e,t){const{isMobile:a}=this.props;let n,i,r="";const{categoryFilters:l,selectedCategoryFilters:o,selectedTypeFilters:c,publishFilters:s,selectedPublishedFilters:m}=this.state;if(a?(n=JSON.parse(JSON.stringify(c)),i=JSON.parse(JSON.stringify(o)),r=JSON.parse(JSON.stringify(m))):(n=this.props.type,i=this.props.category,r=this.props.publishedBy),"type"===e){if(t===qs){const e=(0,H.mK)(n,Ys),t=(0,H.mK)(n,Ks);return e&&t}return(0,H.mK)(n,t)}if("category"===e){if(t===qs){let e=[];e=JSON.parse(JSON.stringify(l));const t=qe().difference(e,i.split(","));return 0===t.length||1===t.length&&t[0]===qs}return(0,H.mK)(i,t)}if("PublishedBy"===e){if(t===qs){let e=[];e=JSON.parse(JSON.stringify(s));const t=qe().difference(e,r.split(","));return 0===t.length||1===t.length&&t[0]===qs}return(0,H.mK)(r,t)}}handleShowAllCategories(){const{showAllCategories:e}=this.state;this.setState({showAllCategories:!e})}categoryFilter(){const{categoryFilters:e,showAllCategories:t}=this.state,a=e.map((e,a)=>({groupId:`category-filter-${e}-${a}`,checked:this.isChecked("category",e),hidden:t&&a>4,handleChange:e=>this.handleChange(e,"category"),value:e,inputProps:{"aria-label":e,"data-attribute":this.isChecked("category",e)}}));return n.createElement(n.Fragment,null,e.length>0?this.filterGroup({subTitle:"CATEGORY",groups:a}):"",e.length>5?n.createElement("p",{className:"show-hide-categories",id:"show-hide-categoriesId",onClick:this.handleShowAllCategories.bind(this)},"Show ",t?"All":"Less"," Categories"):"")}typeFilter(){const e="type";return this.filterGroup({subTitle:"TYPE",groups:[{groupId:`${e}-${qs}`,checked:this.isChecked("type",qs),handleChange:e=>this.handleChange(e,"type"),value:"All",inputProps:{"aria-label":qs,"data-attribute":this.isChecked("type",qs)}},{groupId:`${e}-${Ys}`,checked:this.isChecked("type",Ys),handleChange:e=>this.handleChange(e,"type"),value:"Article",inputProps:{"aria-label":Ys,"data-attribute":this.isChecked("type",Ys)}},{groupId:`${e}-${Ks}`,checked:this.isChecked("type",Ks),handleChange:e=>this.handleChange(e,"type"),value:"Video",inputProps:{"aria-label":Ks,"data-attribute":this.isChecked("type",Ks)}}]})}publishFilter(){const{publishFilters:e,publishFiltersMap:t}=this.state,a=t.map((e,t)=>({groupId:`published-by-${e.name}-${t}`,checked:this.isChecked("PublishedBy",e.code),handleChange:e=>this.handleChange(e,"PublishedBy"),value:e.code,text:e.name,inputProps:{"aria-label":e.name,"data-attribute":this.isChecked("PublishedBy",e.code)}}));return n.createElement(n.Fragment,null,e.length>0?this.filterGroup({subTitle:"PUBLISHED BY",groups:a}):"")}closeFilterMenu(){const{setMobileFilterStatus:e,category:t,type:a,publishedBy:n}=this.props;e(!1),this.setState({selectedCategoryFilters:t,selectedTypeFilters:a,selectedPublishedFilters:n})}handleApplyButtonClick(){const{fromDate:e,toDate:t,selectedCategoryFilters:a,selectedTypeFilters:n,selectedPublishedFilters:i}=this.state;this.props.setMobileFilterStatus(!1),this.props.onApplyClickMobile({fromDate:e,toDate:t,categoryType:a,type:n,publishedBy:i}),this.numberOfFiltersApplied()}numberOfFiltersApplied(){const{isMobile:e,category:t,type:a,setNumberOfSelectedFilters:n,publishedBy:i}=this.props,{selectedTypeFilters:r,selectedCategoryFilters:l,selectedPublishedFilters:o}=this.state;let c=0;e?(r&&(c+=1),l&&(c+=1),o&&(c+=1)):(t&&(c+=1),a&&(c+=1),i&&(c+=1)),n(c)}render(){const{classes:e,isMobile:t,isMobileFilterOpen:a,onSearchSubmit:i,onSearchChange:r,onApplyClick:l,searchText:o}=this.props,{publishedByFilter:c,toDate:s,fromDate:m}=this.state;return t&&!a?n.createElement("div",null):n.createElement(b.Ay,{item:!0,md:3,sm:3,xs:12,className:`${e.filterContainer} filter-container`,id:"articles-filter-section"},n.createElement("div",{className:"articles-sidebar"},n.createElement("div",{className:e.filterTitleSection+" filter-title-and-action-button"},n.createElement("h2",{className:"title "+e.titleHeading},"FILTERS:"),t?n.createElement("div",null,n.createElement("div",{className:"action-buttons"},n.createElement(P.A,{onClick:this.closeFilterMenu.bind(this),className:e.closeButton+" button close-button",variant:"outlined",id:"search_close_button_mobile"},"CLOSE"),n.createElement(P.A,{onClick:this.handleApplyButtonClick.bind(this),className:e.applyButton+" button apply-button orange_button",variant:"contained",id:"search_apply_button_mobile"},"APPLY"))):""),t?n.createElement(n.Fragment,null,n.createElement(b.Ay,{item:!0,className:"filter-search-text",xs:9},n.createElement(vm,{onSearchSubmit:i,onSearchChange:r,searchText:o})),n.createElement("div",{className:"filter-date-picker"},n.createElement(fm,{toDate:s,fromDate:m,className:e.mobileDatePickerWrapper,isMobileDatePicker:!0,onDateChange:this.onDateChange.bind(this),onApplyClick:l}))):"",this.publishFilter(),c?this.typeFilter():"",c?this.categoryFilter():""))}}const Tm=(0,km.A)(e=>
1({filterContainer:{background:Z,padding:"45px 30px",[e.breakpoints.down("xs")]:{padding:"20px 25px"}},input:{height:"40px"},filterTitleSection:{[e.breakpoints.down("xs")]:{display:"flex",justifyContent:"space-between"}},titleHeading:{fontWeight:be,fontSize:"13px",[e.breakpoints.down("xs")]:{fontSize:"25px"}},closeButton:{border:"1px solid "+se,fontWeight:fe,color:se,borderRadius:"56px !important"},applyButton:{background:se,color:J,borderRadius:"56px !important",fontWeight:fe,marginLeft:"10px"},mobileDatePickerWrapper:{[e.breakpoints.down("xs")]:{display:"flex",justifyContent:"space-between"},[e.breakpoints.down(361)]:{display:"flex",flexDirection:"column",width:"100%"}}}))(Cm);function Im(e){const{articlesData:t}=e,{showNoFilterMsg:i}=e,r=(0,H.v$)();return n.createElement(n.Fragment,null,n.createElement(La.A,{id:"articles_id",sx:Vs.articlesRoot},n.createElement(b.Ay,{container:!0,direction:"row"},n.createElement(Tm,{type:e.type,publishedByCheckBox:e.publishedByCheckBox,onApplyClickMobile:e.onApplyClickMobile,setNumberOfSelectedFilters:e.setNumberOfSelectedFilters,searchText:e.searchText,onSearchChange:e.onSearchChange,onSearchSubmit:e.onSearchSubmit,onApplyClick:e.onApplyClick,isMobileFilterOpen:e.isMobileFilterOpen,setMobileFilterStatus:e.setMobileFilterStatus,category:e.category,isMobile:Ht(),publishedBy:e.publishedBy,setType:e.setType,setCategory:e.setCategory,setPublished:e.setPublished,filterSearchQuery:e.filterSearchQuery}),!i&&!e.isMobileFilterOpen&&n.createElement(b.Ay,{item:!0,md:9,sm:9,xs:12,sx:Vs.featureAndArticlesContainer,className:"feature-and-article-container"},n.createElement(b.Ay,{container:!0,direction:"column"},n.createElement(b.Ay,{container:!0,direction:"row",sx:Vs.filtersTopContentGrid},t&&n.createElement(b.Ay,{id:"latest_title_id",item:!0,sx:Vs.featureArticleQuickText},"LATEST"),n.createElement(La.A,{style:Vs.featureArticleQuickText,sx:Vs.manageLinks},t&&r?n.createElement(On.A,{component:m.N_,to:"/manage/associationnews/"+r,id:"manageAssociationNewsId",sx:Vs.filterManageNewsLinkText},"MANAGE ASSOCIATION NEWS"):"",t&&(0,H.TF)(_t.TR)&&n.createElement("span",{id:"latest_title_manage_id"},n.createElement(On.A,{component:m.N_,to:"/manage/officenews",id:"manageOfficeNewsId",sx:Vs.filterManageNewsLinkText},"MANAGE OFFICE NEWS")))),e.filterErrorMessage&&!e.isMobileFilterOpen?n.createElement("p",{style:Vs.filterErrorMessage},e.filterErrorMessage):"",t&&t.featuredArticle&&n.createElement(b.Ay,{sx:Vs.featuredSection},n.createElement(b.Ay,{item:!0,id:"feature_article_section",alignContent:"center"},n.createElement(On.A,{component:m.N_,to:`/article/${t.featuredArticle.articleNewsId}`,sx:Vs.featureArticleContainer},n.createElement("img",{src:t.featuredArticle.imageUrl?(0,H.kO)(t.featuredArticle.imageUrl):a(70327),alt:"feature_article_image",className:"featureImage"}))),n.createElement(La.A,{sx:Vs.contentType,id:"featured_content_type_id"},n.createElement(Nm.g,{icon:Sm.yy,style:Vs.svg}),t.featuredArticle.contentType)),t&&t.featuredArticle&&n.createElement(b.Ay,{item:!0,id:"feature_banner_id"},n.createElement(La.A,{sx:Vs.featureBannerTitle,id:"feature_banner_title_id"},n.createElement(On.A,{component:m.N_,to:`/article/${t.featuredArticle.articleNewsId}`,sx:Vs.removeTextDecoration},t.featuredArticle.title)),n.createElement(La.A,{sx:Vs.featureBody,id:"feature_banner_body_id"},t.featuredArticle.body))),n.createElement(b.Ay,{container:!0,sx:Vs.articleContainer,id:"article_id"},t&&t.payload&&t.payload.map((e,t)=>n.createElement(b.Ay,{container:!0,key:t,direction:"row",sx:Vs.innerContainer},n.createElement(b.Ay,{item:!0,lg:2,md:3,sm:4,xs:3},e&&e.imageUrl?n.createElement(La.A,{id:`articleImageId-${t}`,sx:Vs.articleImg,style:{backgroundImage:`url(${(0,H.kO)(e.imageUrl)})`}}):(0,H.eA)(e.publishedBy,null)?n.createElement(La.A,{id:`articleDefaultImage-${t}`,sx:Vs.articleImgDefault,style:{backgroundImage:`url(${a(58480)})`}}):n.createElement("div",{className:"date-box-container"},n.createElement("span",{className:"date-box-span",id:`articles-dateBox-${t}`,dangerouslySetInnerHTML:(0,H.R2)(`${(0,H.MG)(e.postDate)}<br>${(0,H.pp)(e.postDate)}`)}))),n.createElement(b.Ay,{item:!0,lg:10,md:9,sm:8,xs:9,sx:Vs.contentTypeContainer},n.createElement(b.Ay,{item:!0,sx:Vs.articlecontentTypeContainer},n.createElement("span",{style:Vs.articleContentType},e.contentType)),n.createElement(On.A,{component:m.N_,to:(0,H.CW)(e.publishedBy,e.articleNewsId),sx:Vs.removeTextDecoration},n.createElement(b.Ay,{item:!0,sx:Vs.articleTitle,className:"article-title Title"},e.title)),n.createElement(b.Ay,{item:!0,sx:Vs.articleBodyContainer,className:"article-body-container",dangerouslySetInnerHTML:(0,H.R2)(e&&e.body)})))),n.createElement(b.Ay,{container:!0,justifyContent:"center"},t&&!e.isMobileFilterOpen&&t.count>t.articlePerPages?n.createElement(ho,{limit:t.articlePerPages,totalItems:t.count,handleChange:(t,a,n)=>e.onPageClick(t,a,n),currentPage:t.currentPage}):null))),i&&!e.isMobileFilterOpen&&n.createElement(b.Ay,{item:!0,md:9,sm:9,xs:12,sx:Vs.featureAndArticlesContainer},n.createElement(W.A,{variant:"subtitle1",align:"center",sx:Vs.noFilterText},"There are no posts for the selected filters.")))))}var Lm=a(13946);function Bm(e){let{viewType:t,showArrowUp:a,showDescription:i,fetchArticlesAuthorInfo:r=!0}=e;const{search:l}=(0,s.zy)(),o=(0,n.useMemo)(()=>new URLSearchParams(l),[l]),c=o.get("filter")||"",d=o.get("category")||"",u=o.get("search")||"",[p,g]=(0,n.use
1State)({keyword:u,type:"",pageNo:1,from:"",to:"",publishedBy:"",articlePerPage:10,category:d||""}),[h,E]=(0,n.useState)(null),[y,f]=(0,n.useState)(!1),[v,A]=(0,n.useState)(Ms.name),[N,S]=(0,n.useState)(null),[w,x]=(0,n.useState)(!1),[_,k]=(0,n.useState)(!1),[C,T]=(0,n.useState)(null),I=(0,n.useMemo)(()=>({articlesDates:C,setArticlesDates:T}),[C,T]),[L,B]=(0,n.useState)(1),[D,M]=(0,n.useState)(null),[P,R]=(0,n.useState)(""),[O,U]=(0,n.useState)(!1),[F,$]=(0,n.useState)(1),[j,z]=(0,n.useState)(u),[V,G]=(0,n.useState)(0),q=(0,s.Zp)();function Y(e){k(!0),e.articlePerPage=(0,H.jr)()>1279?10:8,t===Hs&&(e.articlePerPage=9),t===js&&((0,H.bT)()||(0,H.xX)()?e.articlePerPage=9:e.articlePerPage=15),(0,Ve.qA)(e).then(e=>{var a;R(""),t===Hs&&S(v),null!==e&&void 0!==e&&null!==(a=e.payload)&&void 0!==a&&a.length?(k(!1),x(!1),async function(e){if(!r)return void E(e);try{const t=await Promise.all((e.payload||[]).map(async e=>{try{const t=await(0,Ve.lz)(e.articleNewsId);return{...e,authoredBy:(null===t||void 0===t?void 0:t.authoredBy)||"",authorImage:(null===t||void 0===t?void 0:t.authorImage)||""}}catch(t){return console.warn(`Failed to fetch author info for article ${e.articleNewsId}`,t),e}}));E({...e,payload:t})}catch(t){console.error("Unexpected error while processing articles",t),E(e)}}(e)):(x(!0),k(!1));null!=document.getElementById("article_id")&&y&&f(!1)}).catch(e=>{k(!1),E(null),e===_t.dq&&q("/dashboard")})}function K(e,t){f(!0),p.pageNo!==t&&(B(t),g({...p,pageNo:t}))}function J(){E(null),g({...p,pageNo:1,keyword:j})}function Q(e){const t=e.currentTarget.value;z(t)}function X(){E(null),T({fromDate:C&&C.fromDate?C.fromDate:null,toDate:C&&C.toDate?C.toDate:null,minDate:C&&C.fromDate&&C.minDate?C.minDate:null}),g({...p,from:C&&C.fromDate?(0,H.Ie)(C.fromDate):"",pageNo:1,to:C&&C.toDate?(0,H.Ie)(C.toDate):"",keyword:j})}function Z(){return!0}return(0,n.useEffect)(()=>{document.title="Articles and Videos | Bright MLS";const e=d===p.category;v!==N&&N||(0,H.eG)(),""===p.publishedBy?(E(null),R(Ds)):(R(""),window.location.href.includes("newsinsights?category=market-report")?e&&Y(p):Y(p))},[p,d]),(0,n.useEffect)(()=>{if((0,H.xA)())if(d||t){const e=(0,H.l6)(d,Os);g({...p,publishedBy:Js,category:e?e.name:"",pageNo:1})}else c&&c.toLowerCase()==="articles".toLowerCase()?g({...p,publishedBy:Js,pageNo:1}):c&&c.toLowerCase()==="myoffice".toLowerCase()?g({...p,publishedBy:Qs,pageNo:1}):c&&"myoffice"!==c&&"articles"!==c?g({...p,publishedBy:c.toUpperCase(),pageNo:1}):null===c&&(0,Ve.AE)("Association").then(e=>{let t=e.map(e=>e.code);t=[...Zs,...t,...em],g({...p,publishedBy:t.join(","),pageNo:1})}).catch(()=>{const e=[...Zs,...em];g({...p,publishedBy:e.join(","),pageNo:1})});else if(d){const e=(0,H.l6)(d,Os);g({...p,publishedBy:Zs.join(","),category:e?e.name:"",pageNo:1})}else c?g({...p,category:"",keyword:c,publishedBy:Zs.join(","),pageNo:1}):(A(Ms.name),g({...p,category:t===Hs?Ms.name:"",publishedBy:Zs.join(","),pageNo:1}))},[d,c,t]),(0,n.useEffect)(()=>{t===Hs&&(0,xt.c)("Unauthenticated/videoGalleryPinnedArticle.json").then(e=>{e&&e.pinnedArticles&&e.pinnedArticles[0]&&M(e.pinnedArticles[0])})},[t]),n.createElement(Lm.A,{theme:ir},n.createElement(La.A,{sx:Vs.root,id:"articles-filters-id"},n.createElement(im.Provider,{value:I},t?n.createElement(b.Ay,null,n.createElement(b.Ay,{className:`article-top-container ${t===js?"gallery-view-top-container":""} ${t===Hs&&D?"video-view-top-container":""}`},n.createElement("div",{className:"maxWidthContainer"},n.createElement("div",{className:"maxWidth-article"},t?n.createElement(b.Ay,{className:"article-top-section "+(t===Hs?"video-view-top-section":"")},n.createElement(m.N_,{to:"/news","aria-label":"news",className:"link_and_icon_container",id:"news_link_container_id",tabIndex:0},n.createElement(W.A,{className:"news_link",id:"news_link_id"},"NEWS"),n.createElement(W.A,{className:"arrowIcon",id:"news_link_arrow_icon_id"},n.createElement(Di.A,null))),n.createElement(qr,{heading:d&&(0,H.l6)(d,Os)?(0,H.l6)(d,Os).value:function(){switch(t){case Ws:return Us;case js:return $s;case Hs:return Fs;default:return Us}}(),label:"Search articles",placeholder:"Search articles",searchBtn:"Search"})):null,t===Ws?n.createElement(Gs,{articlesData:h,onPageClick:K,currentPage:L,showNoFilterMsg:w}):null,_?n.createElement(sa,null):""))),t===Hs&&h&&h.payload?n.createElement(dm,{videoGrid:{showNoFilterMsg:w,selectedVideoCategory:v,setSelectedVideoCategory:function(e){A(e),B(1),g({...p,pageNo:1,category:e})},onPageClick:K,currentPage:L,count:h&&h.count,articles:h&&h.payload,articlePerPages:h&&h.articlePerPages},pinnedVideoArticle:D}):null,t===js&&h&&h.payload?n.createElement(um,{currentPage:L,showArrowUp:a,onPageClick:K,showDescription:i,showNoFilterMsg:w,count:h&&h.count,articles:h&&h.payload,articlePerPages:h&&h.articlePerPages}):null):n.createElement(n.Fragment,null,Ht()&&O?"":n.createElement(Am,{isMobileFilterOpen:O,setMobileFilterStatus:U,numberOfSelectedFilters:F,onSearchSubmit:J,searchText:j,onSearchChange:Q,onApplyClick:X}),n.createElement(Im,{onApplyClickMobile:function(e){E(null);let{categoryType:t,type:a,publishedBy:n}=e;a&&","===a[0]&&(a=a.substr(1)),t&&","===t[0]&&(t=t.substr(1)),n&&","===n[0]&&(n=n.substr(1)),T({fromDate:C&&C.fromDate?C.fromDate:null,toDate:C&&C.toDate?C.toDate:null,minDate:C&&C.fromDate&&C.minDate?C.minDate:null}),g({...p,publishedBy:n,keyword:j,type:a,to:C&&C.toDate?(0,H.Ie)(C.toDate):"",from:C&&C.fromDate?(0,H.Ie)(C.fromDate):"",category:t,pageNo:1})},setNumberOfSelectedFilters:$,searchText:j,onSearchChange:Q,onSearchSubmit:J,isMobileFilterOpen:O,setMobileFilterStatus:U,filterErrorMessage:P,onApplyClick:X,type:p.type,category:p.category,publishedBy:p.publishedBy,setType:function(e){E(null),G(0),e&&","===e[0]&&(e=e.substr(1)),g({...p,type:e,pageNo:1})},setCategory:function(e){E(null),G(0),e&&","===e[0]&&(e=e.substr(1)),g({...p,category:e,pageNo:1})},setPublished:function(e){E(null),G(0),e&&","===e[0]&&(e=e.substr(1)),g({...p,publishedBy:e,pageNo:1})},publishedByCheckBox:Z,articlesData:h,offsetSkip:V,onPageClick:K,showNoFilterMsg:w,filterSearchQuery:c}),_?n.createElement(sa,null):""))))}function Dm(e){const{children:t,value:a,index:i,...r}=e;return n.createElement("div",Object.assign({role:"tabpanel",hidden:a!==i,className:"custom-tab-panel",id:`simple-tabpanel-${i}`,"aria-labelledby":`simple-tab-${i}`},r),a===i&&n.createElement(La.A,{sx:{p:3}},t))}const Mm=e=>{let{tabs:t=[],onTabChange:a,renderTabPanel:i}=e;const[r,l]=n.useState(0);return n.createElement(La.A,{sx:{width:"100%"}},n.createElement(La.A,{sx:{borderBottom:1,borderColor:"divider"}},n.createElement(En.A,{value:r,className:"groupTabs",onChange:(e,n)=>{const i=t[n];l(n),null===a||void 0===a||a(e,i)},"aria-label":"workplace benefits"},t.map(e=>{let{key:t,title:a}=e;return n.createElement(yn.A,{key:t,label:a,className:"graphBtn",id:`simple-tab-${t}`,"aria-controls":`simple-tabpanel-${t}`})}))),t.map((e,t)=>n.createElement(Dm,{key:e.key,value:r,index:t},i(e))))},Pm=e=>{let{tabs:t,onTabChange:a,renderTabPanel:i}=e;
1const[r,l]=(0,n.useState)(0),[o,c]=(0,n.useState)(!1),[s,m]=(0,n.useState)((null===t||void 0===t?void 0:t[0])||null),d=()=>c(e=>!e);return n.createElement(La.A,{sx:{width:"100%"}},n.createElement(La.A,{sx:{borderBottom:1,borderColor:"divider"}},n.createElement("button",{onClick:d,onKeyDown:d,className:"makeSelection"},(null===s||void 0===s?void 0:s.title)||"View All",n.createElement(kt.A,{className:"selectionChevron "+(o?"toggle":"")})),o&&n.createElement(En.A,{value:r,className:"groupTabs",onChange:(e,n)=>{const i=t[n];l(n),m(i),null===a||void 0===a||a(e,i)},"aria-label":"workplace benefits"},t.map(e=>n.createElement(yn.A,{key:e.key,label:e.title,className:"graphBtn",onClick:d,id:`simple-tab-${e.key}`,"aria-controls":`simple-tabpanel-${e.key}`})))),t.map((e,t)=>n.createElement(Dm,{key:e.key,index:t,value:r},i(e))))},Rm=e=>{let{tabs:t,onTabChange:a,renderTabPanel:i}=e;return n.createElement(p,{id:"news-articles-section"},n.createElement(g,{className:"marketingTemplateContainer mt-pagination"},!S()&&n.createElement(Mm,{tabs:t,onTabChange:a,renderTabPanel:i}),S()&&n.createElement(Pm,{tabs:t,onTabChange:a,renderTabPanel:i})))},Om=e=>{let{viewType:t,searchText:a,...i}=e;const[r,l]=(0,n.useState)(null);return n.createElement(Dt,Object.assign({id:"search-banner",className:"search-banner",childrenWrapperClass:"search-bar-container"},i),n.createElement(qr,{searchBtn:"Search",label:a,test:l,placeholder:a,heading:r&&(0,H.l6)(r,Os)?(0,H.l6)(r,Os).value:function(){switch(t){case Ws:return Us;case js:return $s;case Hs:return Fs}}()}))};const Um=function(e){let{previewData:t}=e;const a=(0,s.Zp)(),{search:i}=(0,s.zy)(),r=(0,n.useMemo)(()=>new URLSearchParams(i),[i]),l={"Product Updates":"product","Release Notes":"release-notes","Bright Research":"market-report"},[o,c]=(0,n.useState)(null);(0,n.useEffect)(()=>{t?c(t):(0,xt.c)(_t.r).then(e=>{console.log(e),c(e)}).catch(console.log)},[t]);const{topBanner:m,filterLabels:u=[]}=o||{},{cards:p=[],subHeadline:g,headline:h="",subImages:E=[],image:y=""}=m||{},[b]=E||[],f=b||y,v=p.map(e=>({cardURL:e.ctaLink||"",cardKey:e.cardTitle||"",cardImageUrl:e.image||"",cardTitle:e.cardTitle||"",cardBlurb:e.plainTextSummary||""})),A=u.map(e=>{let{heading:t}=e;return{key:(null===l||void 0===l?void 0:l[t])||"all",title:t}});return n.createElement(n.Fragment,null,n.createElement(d.m,null,n.createElement("meta",{name:"robots",content:"noindex, nofollow"}),n.createElement("body",{id:"news-redesigned-page",className:"brightRedesign aPage"})),n.createElement("div",{className:"mtMain"},n.createElement(Om,{viewType:"gallery",cards:v,topBannerTitle:h,searchText:"Search Articles",topBannerSummary:g,backgroundImageUrlMobile:f,backgroundImageUrlDesktop:y}),n.createElement(Rm,{tabs:A,onTabChange:(e,t)=>
1{"all"!==t.key?(r.set("category",t.key),a({search:r.toString()},{replace:!0})):(r.delete("category"),a({search:r.toString()},{replace:!0}))},renderTabPanel:()=>n.createElement(Bm,{showArrowUp:!0,showDescription:!0,viewType:"gallery",fetchArticlesAuthorInfo:!1})})))},Fm=e=>{let{sectionBackgroundImage:t="",sectionTitle:a="",sectionDescription:i="",avatarBioData:r}=e;const l=(0,v.A)("(max-width:600px)");return n.createElement(n.Fragment,null,n.createElement(p,{id:"teamTitle"},n.createElement(g,null,n.createElement("h2",{className:"headingTwo"},a),n.createElement("div",{className:"bioDescription"},i))),n.createElement(p,{id:"teamBios",backgroundDesktopUrl:t},n.createElement(g,{id:"teamBioContainer"},n.createElement(b.Ay,{container:!0,spacing:l?1:8},null===r||void 0===r?void 0:r.map(e=>n.createElement(b.Ay,{key:r.indexOf(e),item:!0,xs:12,sm:6,md:4},n.createElement("a",{href:e.ctaLink,className:"mainHrefTag"},n.createElement("img",{className:"bioAvatar",src:e.image,alt:e.headline}),n.createElement("h5",{className:"headingFive bioName"},e.headline),n.createElement("div",{className:"jobTitle bodyLarge"},e.subHeadline),n.createElement("p",{className:"bioBlurb"},e.description),n.createElement(_,{secondaryLinkClassName:`link-${r.indexOf(e)}`,multiButtonClass:"bioLinkCopy",secondaryLinkCopy:e.buttonText}))))))))};const $m=function(e){let{previewData:t}=e;const[a,i]=(0,n.useState)(null);return(0,n.useEffect)(()=>{document.title="Our Team | Bright MLS",t?i(t):(0,xt.c)(_t.C9).then(e=>{i(e)}).catch(e=>{console.log(e)})},[t]),n.createElement(n.Fragment,null,n.createElement(d.m,null,n.createElement("meta",{name:"robots",content:"noindex, nofollow"}),n.createElement("body",{id:"mtOurTeam",className:"brightRedesign aPage"})),n.createElement("div",{className:"mtMain"},n.createElement(Dt,{id:"mtOurTeamBanner",backgroundImageUrlDesktop:null===a||void 0===a?void 0:a.topBanner.subImageUrl,topBannerTitle:null===a||void 0===a?void 0:a.topBanner.title,topBannerSummary:null===a||void 0===a?void 0:a.topBanner.summary,heroImage:null===a||void 0===a?void 0:a.topBanner.imageUrl,heroImageMobile:null===a||void 0===a?void 0:a.topBanner.mobileImageUrl,videoThumbURL:null===a||void 0===a?void 0:a.topBanner.mobileImageUrl,videoThumbImage:null===a||void 0===a?void 0:a.topBanner.imageUrl,videoThumbImageMobile:null===a||void 0===a?void 0:a.topBanner.videoUrl,playButtonArrowType:"mt-playButtonOne"}),n.createElement(Fm,{sectionTitle:null===a||void 0===a?void 0:a.leadersTitle,sectionDescription:null===a||void 0===a?void 0:a.leadersDescription,avatarBioData:null===a||void 0===a?void 0:a.leadersBio})))},Wm="TickerCustom_customTicker__-occa",Hm="TickerCustom_imgContainer__3N9aa",jm=e=>{let{CustomTickerData:t}=e;const[a,i]=(0,n.useState)(""),r=[...t,...t,...t,...t];return(0,n.useEffect)(()=>{const e=r.length;i(`${184*e}px`)},[r]),n.createElement("div",{className:Wm},n.createElement("div",{style:{width:a}},r.map((e,t)=>n.createElement("div",{key:r.indexOf(e),className:Hm},n.createElement("img",{src:e.image,alt:`Logo-${t}`})))))},zm={dots:!0,arrows:!1,autoplay:!0,slidesToShow:2,slidesToScroll:2,pauseOnHover:!0,autoplaySpeed:3e3,speed:4e3,responsive:[{breakpoint:1280,settings:{slidesToShow:1,slidesToScroll:1}},{breakpoint:959,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:599,settings:{slidesToShow:1,slidesToScroll:1}}]},Vm=e=>{let{iconBoxData:t=[],IconBoxButtonStyle:a=""}=e;const i=(0,v.A)(A.breakpoints.between(960,1280)),r=(0,v.A)(A.breakpoints.between(0,600)),l=()=>t.map((e,i)=>{var r;return n.createElement(b.Ay,Object.assign({key:t.indexOf(e),item:!0},t.length<=2?{xs:12,sm:6,md:12,lg:6,xl:6}:{},t.length<=1?{xs:12,sm:12,md:12,lg:12,xl:12}:{}),n.createElement("a",{href:e.ctaLink,className:`mainHrefTag ${Ct.mainHrefTag}`},n.createElement("div",{className:`\n            gridIconBoxItem \n            ${Ct.gridIconBoxItem} \n            iconBoxItem-${i}\n          `},n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{item:!0,xs:12,sm:12},n.createElement("img",{src:e.image,alt:e.headline})),n.createElement(b.Ay,{item:!0,xs:12,sm:12},n.createElement("h5",{className:`headingFive ${Ct.headingFive}`},e.headline))),n.createElement("p",null,e.description),e.buttonText&&n.createElement(_,{primaryBtnClassName:`button-${i}`,multiButtonClass:`ctaButtons ${null!==(r=Ct[a])&&void 0!==r?r:Ct.ctaButtonsOne}`,primaryBtnCopy:e.buttonText}))))});return n.createElement("div",{className:`iconBox ${Ct.iconBox}`},t.length>1&&(t.length>2||i||r)?n.createElement(h.A,zm,l()):n.createElement(b.Ay,{container:!0},l()))},Gm=e=>{let{blocksData:t}=e;return n.createElement(n.Fragment,null,t.map((e,a)=>{const{headline:i,subHeadline:r,iconBoxData:l,...o}=e;return n.createElement(p,{key:t.indexOf(e),className:a%2===0?"cWhite":"cMint"},n.createElement(g,{className:"alternatingGridContainer"},n.createElement("h3",{className:"headingThree featuresTitle"},i)),n.createElement(wt,Object.assign({className:`mediaBlock-${a}`},o,{gridDesktopDirection:a%2===0?"row":"row-reverse",playButtonArrowType:"mt-playButtonOne",childrenMedia:n.createElement("p",null,r),childrenMediaClassName:"mediaSubTitle"}),n.createElement(Vm,{iconBoxData:l})))}))};const qm=function(e){var t,a,i;let{previewData:r}=e;
1const[l,o]=(0,n.useState)(null);return(0,n.useEffect)(()=>{document.title="Premium Products | Bright MLS",r?o(r):(0,xt.c)(_t.ei).then(e=>{o(e)}).catch(e=>{console.log(e)})},[r]),n.createElement(n.Fragment,null,n.createElement(d.m,null,n.createElement("meta",{name:"robots",content:"noindex, nofollow"}),n.createElement("body",{id:"mtPremiumProducts",className:" brightRedesign aPage"})),n.createElement("div",{className:"mtMain"},n.createElement(Dt,{className:"premiumProductsBanner",backgroundImageUrlDesktop:"https://images.ctfassets.net/1g8q1frp41ix/1HC4e8bMea4PwbwUfWLpLc/2f49b3729c13d6381ada243a853e74a9/teal-background.png",backgroundImageUrlMobile:"",topBannerTitle:null===l||void 0===l?void 0:l.topBanner.headline,topBannerSummary:null===l||void 0===l?void 0:l.topBanner.description,topBannerButtons:{primaryBtnURL:null===l||void 0===l?void 0:l.topBanner.ctaLink,primaryBtnCopy:null===l||void 0===l?void 0:l.topBanner.buttonText,primaryBtnTarget:{targetType:"_self"}},cards:(null===l||void 0===l||null===(t=l.topBanner.cards)||void 0===t?void 0:t.map(e=>({cardURL:e.ctaLink,cardKey:e.cardTitle,cardImageUrl:e.image,cardTitle:e.cardTitle,cardBlurb:e.plainTextSummary})))||[]}),n.createElement("br",null),n.createElement("br",null),n.createElement(jm,{CustomTickerData:(null===l||void 0===l||null===(a=l.offeringLogos)||void 0===a?void 0:a.map(e=>({image:e.startsWith("//")?`https:${e}`:e})))||[]}),n.createElement(g,{id:"hedingUnderTicker"},n.createElement("h2",{className:"headingTwo"},null===l||void 0===l?void 0:l.performanceBoostTexts.heading),n.createElement("p",null,null===l||void 0===l?void 0:l.performanceBoostTexts.description)),n.createElement(Ns,{xs:12,smLeft:7,smRight:5,orientation:"horizontal",className:"maxWidthRoundBorder cToActBanOne",bgImageURL:null===l||void 0===l?void 0:l.seasonalPromoBanner.imageUrl,mobileBgImageURL:null===l||void 0===l?void 0:l.seasonalPromoBanner.mobileImageUrl,subHeadline:null===l||void 0===l?void 0:l.seasonalPromoBanner.title,subText:null===l||void 0===l?void 0:l.seasonalPromoBanner.summary,tertiaryButtonText:null===l||void 0===l?void 0:l.seasonalPromoBanner.ctaText,tertiaryButtonLink:null===l||void 0===l?void 0:l.seasonalPromoBanner.ctaLink}),n.createElement(Gm,{blocksData:(null===l||void 0===l||null===(i=l.premiumOfferingSections)||void 0===i?void 0:i.map(e=>{var t;return{headline:e.headline,heroImage:e.image,subHeadline:e.subHeadline,iconBoxData:null===(t=e.cards)||void 0===t?void 0:t.map(e=>({image:e.image,headline:e.cardTitle,description:e.plainTextSummary,buttonText:e.cardButtonText,ctaLink:e.ctaLink}))}}))||[]}),n.createElement(Ns,{xs:12,smLeft:12,smRight:12,className:"bottom-cta-banner cToActBanTwo",bgImageURL:null===l||void 0===l?void 0:l.valuableProductBanner.imageUrl,mobileBgImageURL:null===l||void 0===l?void 0:l.valuableProductBanner.mobileImageUrl,headline:null===l||void 0===l?void 0:l.valuableProductBanner.title,tertiaryButtonText:null===l||void 0===l?void 0:l.valuableProductBanner.ctaText,tertiaryButtonLink:null===l||void 0===l?void 0:l.valuableProductBanner.ctaLink}),n.createElement(Ns,{xs:12,smLeft:7,smRight:5,orientation:"horizontal",className:"maxWidthRoundBorder cToActBanThree",bgImageURL:null===l||void 0===l?void 0:l.productPartnerBanner.imageUrl,mobileBgImageURL:null===l||void 0===l?void 0:l.productPartnerBanner.mobileImageUrl,subHeadline:null===l||void 0===l?void 0:l.productPartnerBanner.title,subText:null===l||void 0===l?void 0:l.productPartnerBanner.summary,tertiaryButtonText:null===l||void 0===l?void 0:l.productPartnerBanner.ctaText,tertiaryButtonLink:null===l||void 0===l?void 0:l.productPartnerBanner.ctaLink})))},Ym=e=>{let{width:t=24,height:a=24,fill:i="",className:r=""}=e;return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:a,viewBox:"0 0 24 24",fill:"none",className:r},n.createElement("path",{d:"M18 11C18 11.67 18 12.33 18 13C19.2 13 20.76 13 22 13C22 12.33 22 11.67 22 11C20.76 11 19.2 11 18 11Z",fill:i}),n.createElement("path",{d:"M16 17.61C16.96 18.32 18.21 19.26 19.2 20C19.6 19.47 20 18.93 20.4 18.4C19.41 17.66 18.16 16.72 17.2 16C16.8 16.54 16.4 17.08 16 17.61Z",fill:i}),n.createElement("path",{d:"M20.4 5.6C20 5.07 19.6 4.53 19.2 4C18.21 4.74 16.96 5.68 16 6.4C16.4 6.93 16.8 7.47 17.2 8C18.16 7.28 19.41 6.35 20.4 5.6Z",fill:i}),n.createElement("path",{d:"M4 9C2.9 9 2 9.9 2 11V13C2 14.1 2.9 15 4 15H5V19H7V15H8L13 18V6L8 9H4ZM9.03 10.71L11 9.53V14.47L9.03 13.29L8.55 13H4V11H8.55L9.03 10.71Z",fill:i}),n.createElement("path",{d:"M15.5 12C15.5 10.67 14.92 9.47 14 8.65V1
15.34C14.92 14.53 15.5 13.33 15.5 12Z",fill:i}))},Km=e=>{let{title:t="",loggedOutBtnCopy:a="",loggedOutBtnURL:i="",loggedInBtnCopy:r="",loggedInBtnURL:l=""}=e;const{isUserAuthenticated:o}=(0,n.useContext)(kr.c);return!!(t||a||i||r||l)?n.createElement(p,{className:"productsPromoStripSection"},n.createElement(g,{className:"productsPromoStripContainer"},n.createElement(b.Ay,{container:!0,alignItems:"center",justifyContent:"center"},n.createElement(b.Ay,{item:!0,xs:12,md:9,container:!0,alignItems:"center"},n.createElement("div",{className:"iconContainer"},n.createElement(Ym,{width:24,height:24,fill:"white"})),n.createElement("div",{className:"promoText bodyLarge"},t)),n.createElement(b.Ay,{item:!0,xs:12,md:3},o?n.createElement(_,{tertiaryBtnClassName:"stripRightBtn",tertiaryBtnCopy:r,tertiaryBtnURL:l}):n.createElement("div",{onClick:()=>(e=>{if(console.log("Logged out button URL:",e),e.includes("/login")){const e=window.location.pathname+window.location.search;localStorage.setItem(_t.lp,e),console.log("Saved redirect path successfully",{path:e,localStorage:localStorage})}})(i)},n.createElement(_,{tertiaryBtnClassName:"stripRightBtn",tertiaryBtnCopy:a,tertiaryBtnURL:i})))))):null},Jm=e=>{let{blocksData:t,title:a="",description:i=""}=e;return n.createElement(n.Fragment,null,n.createElement(g,{className:"alternatingGridContainerHead"},n.createElement("h2",{className:"headingTwo featuresTitle"},a),n.createElement("p",{className:"featuresParagraph"},i)),t.map((e,a)=>n.createElement(wt,{key:t.indexOf(e),className:`mediaBlock-${a} alternatingGridSection`,gridDesktopDirection:a%2===0?"row-reverse":"row",playButtonArrowType:"mt-playButtonTwo",heroImage:e.image,videoThumbImage:e.image,videoThumbURL:e.videoUrl,supPillColour:e.featureType,supPill:e.subHeadline,contentTitle:e.headline,contentParagraphs:e.description,contentButtons:{primaryBtnCopy:e.buttonText,primaryBtnURL:e.ctaLink}})))},Qm=e=>{let{digitNumbersData:t=[],primaryBtnCopy:a="",primaryBtnURL:i="",tertiaryBtnCopy:r="",tertiaryBtnURL:l="",...o}=e;const c=(0,v.A)("(max-width:600px)"),s=N();if(!!!(t.some(e=>{var t;return null!==(t=e.cardTitle)&&void 0!==t?t:e.tag})||a||i||r||l||Object.values(o).some(Boolean)))return null;const m=n.createElement(_,{primaryBtnClassName:"statsPrimaryButton",primaryBtnCopy:a,primaryBtnURL:i,primaryBtnTarget:{targetType:"_self"}}),d=n.createElement(_,{tertiaryBtnClassName:"statsTertiaryButton",tertiaryBtnCopy:r,tertiaryBtnURL:l,tertiaryBtnTarget:{targetType:"_self"}});return n.createElement(p,{className:"statsSection"},n.createElement(g,{className:"statsContainer"},n.createElement(b.Ay,{container:!0,spacing:c?1:10},n.createElement(b.Ay,{item:!0,xs:12,md:6},n.createElement(M,o),n.createElement("br",null),!s&&n.createElement(n.Fragment,null,m,d)),n.createElement(b.Ay,{item:!0,xs:12,md:6,container:!0,spacing:c?1:4},t.map(e=>{var a,i;return n.createElement(b.Ay,{item:!0,xs:12,md:6,key:t.indexOf(e),className:"digitCopyGridContainer"},n.createElement("div",{className:"digitNumber"},null!==(a=e.cardTitle)&&void 0!==a?a:""),n.createElement("p",{className:"vidNumDescription"},null!==(i=e.tag)&&void 0!==i?i:""))}))),s&&n.createElement(n.Fragment,null,n.createElement("br",null),m,d)))},Xm=e=>{let{classNameIf:t="",testimonialsData:a=[],backgroundImageUrlDesktop:i="",backgroundImageUrlMobile:r=""}=e;if(!(i||r||(null===a||void 0===a?void 0:a.some(e=>{var t,a;return null!==(t=null!==(a=e.cardTitle)&&void 0!==a?a:e.tag)&&void 0!==t?t:e.plainTextSummary}))))return null;const l=1===a.length,o=l?[...a,{cardTitle:"",tag:"",plainTextSummary:""}]:a,c={dots:!l,arrows:!1,infinite:!l,speed:2e3,slidesToShow:1,slidesToScroll:1,autoplay:!l,autoplaySpeed:6e3,swipe:!l,draggable:!l,touchMove:!l,pauseOnHover:!l};return n.createElement(p,{className:"productsTestimonialsSection"},n.createElement("div",{className:`myContainerContainer ${t}`},n.createElement(g,{className:"productsTestimonialsContainer",backgroundDesktopUrl:i,backgroundMobileUrl:r},n.createElement(h.A,Object.assign({},c,{className:"mtSlickDots"}),o.map(e=>n.createElement("div",{key:a.indexOf(e)},n.createElement("h3",{className:"headingThree"},"\u201c",e.cardTitle,"\u201d"),n.createElement("p",{className:"bodyLarge testimonialName"},e.tag),n.createElement("p",null,e.plainTextSummary)))))))},Zm=e=>{let{classNameIf:t="",title:a="",subHeading:i="",priceListData:r=[],ctaText:l="",ctaLink:o="",secondaryCtaText:c="",secondaryCtaLink:s=""}=e;if(!(a||i||(null===r||void 0===r?void 0:r.some(e=>{var t,a,n;return null!==(t=null!==(a=null!==(n=e.title)&&void 0!==n?n:e.heading)&&void 0!==a?a:e.subHeading)&&void 0!==t?t:e.description}))||l||o||c||s))return null;const m=r.length<=1;return n.createElement(p,{className:"productsPriceListSection"},n.createElement(g,{className:`productsPriceListContainer ${t}`},n.createElement("h2",{className:"headingTwo priceListHeading"},a),i&&n.createElement("p",{className:"subParagraph"},i),n.createElement(b.Ay,{container:!0,spacing:3,justifyContent:m?"center":"flex-start"},r.map(e=>{var t;const a=(i=r.length)<=1||2===i?{lg:6,md:6,sm:12}:4===i||i>=7?{lg:3,md:6,sm:12}:{lg:4,md:6,sm:12};var i;return n.createElement(b.Ay,{key:r.indexOf(e),item:!0,lg:a.lg,md:a.md,sm:a.sm,xs:12,style:{display:"flex"}},n.createElement("div",{className:"gridItemContainer"},n.createElement("div",{className:"priceListHead"},n.createElement("p",{className:"bodyLarge planName"},e.title),n.createElement("h2",{className:"headingTwo"},e.heading,e.subHeading&&n.createElement("span",{className:"bodyLarge planPer"},e.subHeading)),n.createElement("div",{className:"planDetails"},n.createElement(D.$,null,null!==(t=e.description)&&void 0!==t?t:"")))))})),n.createElement("div",{className:"btnsContainer"},n.createElement(_,{primaryBtnClassName:"leftBtn",primaryBtnCopy:l,primaryBtnURL:o,secondaryBtnClassName:"rightBtn",secondaryBtnCopy:c,secondaryBtnURL:s}))))},ed=e=>{let{classNameIf:t="",title:a="",subHeading:i="",accordionItems:r=[]}=e;return!!(a||i||r.some(e=>{var t;return null!==(t=e.title)&&void 0!==t?t:e.description}))?n.createElement(p,{backgroundDesktopUrl:""},n.createElement(g,{className:`productAccordion ${t}`},n.createElement("h2",{className:"headingTwo"},a),n.createElement("p",{className:"bodyLarge"},i),n.createElement(Jc,{accordionItems:r}))):null},td=e=>
1{let{containerBackgroundImageUrlDesktop:t="",containerBackgroundImageUrlMobile:a="",imageUrl:i="",mobileImageUrl:r="",videoImageUrl:l="",videoMobileImageUrl:o="",videoUrl:c="",title:s="",summary:m="",ctaLink:d="",ctaText:u="",secondaryCtaLink:p="",secondaryCtaText:g="",tertiaryCtaLink:h="",tertiaryCtaText:E=""}=e;if(!!!(t||i||r||l||o||c||s||m||d||u||p||g||h||E))return null;const{isUserAuthenticated:y}=(0,n.useContext)(kr.c);return n.createElement(wt,{className:"miscellaneous",containerClassName:"containerMiscellaneous",containerBackgroundImageUrlDesktop:t,containerBackgroundImageUrlMobile:a,gridDesktopDirection:"row-reverse",gridMobileDirection:"column-reverse",heroImage:i,heroImageMobile:r,videoThumbURL:c,videoThumbImage:l,videoThumbImageMobile:o,contentTitle:s,contentParagraphs:m},y?n.createElement(_,{primaryBtnClassName:"ptPrimaryBtn",primaryBtnCopy:u,primaryBtnURL:d,secondaryBtnCopy:g,secondaryBtnURL:p}):n.createElement(_,{primaryBtnClassName:"ptPrimaryBtn",primaryBtnCopy:"Join Bright",primaryBtnURL:"https://www.brightmls.com/join",secondaryBtnCopy:E,secondaryBtnURL:h}))},ad=e=>{let{backgroundImageUrlDesktop:t="",headline:a="",subHeadline:i="",iconBoxData:r=[]}=e;return!!(r.some(e=>{var t,a,n,i,r;return null!==(t=null!==(a=null!==(n=null!==(i=null!==(r=e.image)&&void 0!==r?r:e.cardTitle)&&void 0!==i?i:e.tag)&&void 0!==n?n:e.plainTextSummary)&&void 0!==a?a:e.cardButtonText)&&void 0!==t?t:e.ctaLink})||t||a||i)?n.createElement(It,{className:"productIconBoxBlock",backgroundImageUrlDesktop:t,sm:12,md:4,xsIcon:2,xsTitle:10,supCopy:a,title:i,iconBoxData:r.map(e=>({...e,image:e.image,headline:e.cardTitle,description:e.plainTextSummary,linkText:e.cardButtonText,ctaLink:e.ctaLink}))||[]}):null};const nd=function(e){var t;let{previewData:a,isAuthenticated:i,token:r}=e;const{id:l}=(0,s.g)(),[o,c]=(0,n.useState)(!1),m="MANAGE TEAM",u=`${_t.Ay.teamsApiEndpoint}/manageTeam`,[p,g]=(0,n.useState)(null);(0,n.useEffect)(()=>{document.title="Product | Bright MLS";const e=_t.AP.replace("{productId}",null!==l&&void 0!==l?l:"");a?g(a):l?(0,xt.c)(e).then(e=>{g(e)}).catch(e=>{console.log(e),c(!0)}):c(!0)},[l,a]);const{topBanner:h={},productLogo:E,purchasePromotionalPanel:y={},productMainFeature:b={},productOtherFeatures:f=[],statistics:v={},testimonialBgDesktop:A,testimonialBgMobile:N,testimonials:S,plansText:w={},plans:x=[],plansRelatedCtas:k={},faqText:C={},faqs:T=[],miscellaneousBanner:I={},relatedProducts:L={}}=null!==p&&void 0!==p?p:{};return n.createElement(n.Fragment,null,n.createElement(d.m,null,n.createElement("meta",{name:"robots",content:"noindex, nofollow"}),n.createElement("body",{id:"",className:"productPageNew brightRedesign aPage"})),n.createElement("div",{className:"mtMain"},o?n.createElement(_i,null):n.createElement(n.Fragment,null,n.createElement(Dt,{className:"productTemplateBanner",backgroundImageUrlDesktop:null===h||void 0===h?void 0:h.subImageUrl,topBannerSupLogo:E,topBannerTitle:null===h||void 0===h?void 0:h.title,topBannerSummary:null===h||void 0===h?void 0:h.summary,heroImage:null===h||void 0===h?void 0:h.imageUrl,heroImageMobile:null===h||void 0===h?void 0:h.mobileImageUrl,videoThumbURL:null===h||void 0===h?void 0:h.videoUrl,videoThumbImage:null===h||void 0===h?void 0:h.imageUrl,videoThumbImageMobile:null===h||void 0===h?void 0:h.mobileImageUrl,playButtonArrowType:"mt-playButtonOne"},i?n.createElement(_,{primaryBtnClassName:"ptPrimaryBtn",primaryBtnCopy:B()?m:null===h||void 0===h?void 0:h.ctaText,primaryBtnURL:B()?u:null===h||void 0===h?void 0:h.ctalink,secondaryBtnCopy:null===h||void 0===h?void 0:h.secondaryCtaText,secondaryBtnURL:null===h||void 0===h?void 0:h.secondaryCtalink}):n.createElement(_,{primaryBtnClassName:"ptPrimaryBtn",primaryBtnCopy:"Join Bright",primaryBtnURL:"https://www.brightmls.com/join",secondaryBtnCopy:null===h||void 0===h?void 0:h.tertiaryCtaText,secondaryBtnURL:null===h||void 0===h?void 0:h.tertiaryCtaLink})),n.createElement(Km,{title:null===y||void 0===y?void 0:y.title,loggedOutBtnCopy:null===y||void 0===y?void 0:y.ctaText,loggedOutBtnURL:null===y||void 0===y?void 0:y.ctaLink,loggedInBtnCopy:null===y||void 0===y?void 0:y.secondaryCtaText,loggedInBtnURL:null===y||void 0===y?void 0:y.secondaryCtaLink}),n.createElement(Jm,{title:null===b||void 0===b?void 0:b.title,de
1scription:null===b||void 0===b?void 0:b.description,blocksData:null!==f&&void 0!==f?f:[]}),n.createElement(Qm,{contentTitle:null===v||void 0===v?void 0:v.headline,contentParagraphs:null===v||void 0===v?void 0:v.description,digitNumbersData:null!==(t=null===v||void 0===v?void 0:v.cards)&&void 0!==t?t:[],primaryBtnCopy:null===v||void 0===v?void 0:v.buttonText,primaryBtnURL:null===v||void 0===v?void 0:v.ctaLink,tertiaryBtnCopy:null===v||void 0===v?void 0:v.secondCtaText,tertiaryBtnURL:null===v||void 0===v?void 0:v.secondCtaLink}),n.createElement(Xm,{classNameIf:`\n                            ${null!==v&&void 0!==v&&v.headline?"":"marginTop0px"} \n                            ${null!==w&&void 0!==w&&w.title||null!==C&&void 0!==C&&C.title||null!==I&&void 0!==I&&I.title?"":"marginBottom100px"}\n                            `,backgroundImageUrlDesktop:A,backgroundImageUrlMobile:N,testimonialsData:null!==S&&void 0!==S?S:[]}),n.createElement(Zm,{classNameIf:`\n                                ${null!==I&&void 0!==I&&I.title?"":"marginBottom100px"} \n                            `,title:null===w||void 0===w?void 0:w.title,subHeading:null===w||void 0===w?void 0:w.subHeading,priceListData:null!==x&&void 0!==x?x:[],ctaText:null===k||void 0===k?void 0:k.ctaText,ctaLink:null===k||void 0===k?void 0:k.ctaLink,secondaryCtaText:null===k||void 0===k?void 0:k.secondaryCtaText,secondaryCtaLink:null===k||void 0===k?void 0:k.secondaryCtaLink}),n.createElement(ed,{classNameIf:`\n                                ${null!==I&&void 0!==I&&I.title?"":"paddingBottom100px"} \n                            `,title:null===C||void 0===C?void 0:C.title,subHeading:null===C||void 0===C?void 0:C.subHeading,accordionItems:null!==T&&void 0!==T?T:[]}),n.createElement(td,{containerBackgroundImageUrlDesktop:null===I||void 0===I?void 0:I.subImageUrl,imageUrl:null===I||void 0===I?void 0:I.imageUrl,mobileImageUrl:null===I||void 0===I?void 0:I.mobileImageUrl,videoUrl:null===I||void 0===I?void 0:I.videoUrl,videoImageUrl:null===I||void 0===I?void 0:I.imageUrl,videoMobileImageUrl:null===I||void 0===I?void 0:I.mobileImageUrl,title:null===I||void 0===I?void 0:I.title,summary:null===I||void 0===I?void 0:I.summary,ctaLink:B()?u:null===I||void 0===I?void 0:I.ctaLink,ctaText:B()?m:null===I||void 0===I?void 0:I.ctaText,secondaryCtaLink:null===I||void 0===I?void 0:I.secondaryCtaLink,secondaryCtaText:null===I||void 0===I?void 0:I.secondaryCtaText,tertiaryCtaLink:null===I||void 0===I?void 0:I.tertiaryCtaLink,tertiaryCtaText:null===I||void 0===I?void 0:I.tertiaryCtaText}),n.createElement(ad,{backgroundImageUrlDesktop:null===L||void 0===L?void 0:L.image,headline:null===L||void 0===L?void 0:L.headline,subHeadline:null===L||void 0===L?void 0:L.subHeadline,iconBoxData:null===L||void 0===L?void 0:L.cards}))));function B(){return"teams"===l&&r&&"0"!==r.TeamMemberTeamKey}},id=e=>{let{page:t,data:a}=e;switch(t){case"bcomHomeV2":return a&&n.createElement(ns,null,n.createElement(Pt,{previewData:a}));case"bcomSupport":return a&&n.createElement(ns,null,n.createElement(as,{previewData:a}));case"bcomJoinUs":return a&&n.createElement(ns,null,n.createElement(ys,{previewData:a}));case"bcomIncludedBenefits":return a&&n.createElement(ns,null,n.createElement(Ss,{previewData:a}));case"bcomTraining":return a&&n.createElement(ns,null,n.createElement(vs,{previewData:a}));case"bcomCareerReskin":return a&&n.createElement(ns,null,n.createElement(Ls,{previewData:a}));case"bcomAbout":return a&&n.createElement(ns,null,n.createElement(Bs,{previewData:a}));case"bcomNews":return a&&n.createElement(ns,null,n.createElement(Um,{previewData:a}));case"bcomTeam":return a&&n.createElement(ns,null,n.createElement($m,{previewData:a}));case"bcomPremiumProduct":return a&&n.createElement(ns,null,n.createElement(qm,{previewData:a}));case"bcomProductTemplate":return a&&n.createElement(ns,null,n.createElement(nd,{previewData:a}));default:return n.createElement(is,{data:a})}};var rd=a(78469),ld=a(96140);const od=e=>{let{topBannerMiniTitle:t,topBannerTitle:a,topBannerSummary:i,bioBannerLinkedInURL:r,bioBannerTwitterURL:l}=e;return n.createElement("div",{className:"allBannersLeftCopy"},n.createElement("span",{className:"miniTitle eyebrow-label"},t),n.createElement("h1",{className:`mainHeading ${!i&&!r&&!l&&"withoutMargin"}`},a),n.createElement("p",{className:"bodyLarge bannerSummary"},i,r&&n.createElement("a",{target:"blank",href:r,"aria-label":"linkedin icon",className:"linkedInIcon socialIcons"},n.createElement(rd.A,{"aria-label":"Linkedin icon"})),l&&n.createElement("a",{target:"blank",href:l,"aria-label":"twitter icon",className:"twitterIcon socialIcons"},n.createElement(ld.A,{"aria-label":"Twitter icon"}))))},cd={textDecoration:"none",display:"block"},sd={backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosstion:"center center",marginBottom:"25px"},md={width:"100%",maxWidth:"100%"},dd=e=>{let{itemUrl:t,imgUrl:i,title:r,subTitle:l,excerpt:o,theAmount:c,upOrDown:s,thePercentage:m,moreDeats:d,graphicImage:u,idName:p}=e;return n.createElement("article",{className:"boxArticle"},n.createElement("a",{href:`${t}`||"#",id:`${r.replace(/\s+/g,"-").toLowerCase()}-${p}`,className:"boxItem",style:cd},i&&n.createElement("div",{style:{...sd,backgroundImage:`url(${i})`},className:"imgContainer"},n.createElement("img",{style:md,src:a(60247),alt:"thumbnail"})),n.createElement("h3",{className:"headingFive itemTitle"},!(null!==c&&void 0!==c?c:l)&&n.createElement("span",{className:"arrowUpRight","aria-hidden":"true"},n.createElement(Et.A,null)),r),l&&n.createElement("div",{className:"headingFour itemSubTitle"},l),(c||l)&&n.createElement(b.Ay,{container:!0,className:"gridContainer",alignItems:"flex-end"},n.createElement(b.Ay,{item:!0,xs:8,sm:6},c&&n.createElement("div",{className:"theAmount"},c),n.createElement("div",{className:"theDetails"},n.createElement("span",{className:`upOrDown arrow-${s}`,"aria-hidden":"true"},n.createElement(Et.A,null)),n.createElement("span",{className:"thePercentage"}," ",m," "),n.createElement("span",{className:"moreDeats"}," ",d," "))),u&&n.createElement(b.Ay,{item:!0,className:"graphicSide",xs:4,sm:6},n.createElement("img",{className:"graphicSide",src:u,alt:`Graphic showing ${l||r} trend`}))),o&&n.createElement("p",{className:"itemExcerpt"},o)))},ud={dots:!0,autoplaySpeed:5e3,slidesToShow:1,slidesToScroll:1,arrows:!1,pauseOnHover:!0,autoplay:!0,infinite:!1},pd=e=>{let{bannerSectionCard:t}=e;return n.createElement("div",{className:"bannerCarouselContainer"},n.createElement(h.A,ud,null===t||void 0===t?void 0:t.map(e=>n.createElement(dd,{key:t.indexOf(e),idName:t.indexOf(e),itemUrl:(null===e||void 0===e?void 0:e.ctaLink)||"#",imgUrl:null===e||void 0===e?void 0:e.image,title:null===e||void 0===e?void 0:e.headline,subTitle:null===e||void 0===e?void 0:e.subTitle,excerpt:null===e||void 0===e?void 0:e.subHeadline,theAmount:null===e||void 0===e?void 0:e.theAmount,upOrDown:null===e||void 0===e?void 0:e.upOrDown,thePercentage:null===e||void 0===e?void 0:e.thePercentage,moreDeats:null===e||void 0===e?void 0:e.moreDeats,graphicImage:null===e||void 0===e?void 0:e.graphicImage}))))},gd=e=>
1{let{topBannerTitle:t,topBannerSummary:a,bannerSectionCard:i,topBannerImage:r}=e;return n.createElement("section",{id:"rhBannerHome_wrapper",className:"marketingTemplateWrapper allBanners",style:{backgroundImage:`url(${r||"../../../../../assets/images/researchHub/banner.jpg"})`}},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{className:"bannerLeft",item:!0,xs:12,md:6},n.createElement(od,{topBannerTitle:t,topBannerSummary:a})),n.createElement(b.Ay,{className:"bannerRight",item:!0,xs:12,md:6},n.createElement(pd,{bannerSectionCard:i})))))},hd=e=>{let{STATS_DATA:t,statsTitle:a,statsSubHeading:i,buttonText:r,buttonUrl:l}=e;return n.createElement("section",{id:"statistics_wrapper",className:"marketingTemplateWrapper"},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement("h2",{className:"headingTwo"},a),n.createElement("p",{className:"bodyLarge"},i),n.createElement(b.Ay,{container:!0},null===t||void 0===t?void 0:t.map(e=>n.createElement(b.Ay,{id:`stat${t.indexOf(e)}`,key:t.indexOf(e),container:!0,xs:6,md:4,className:`stat${e.upDownDropdown} gridContainer`,component:"article"},n.createElement(b.Ay,{item:!0,xs:12,xl:6,className:"copySide"},n.createElement("div",{className:"statNumber mainHeading"},e.number),n.createElement("h5",{className:"headingFive"},e.title),n.createElement("p",{className:"detailCopy"},e.heading)),n.createElement(b.Ay,{item:!0,xs:12,xl:6},n.createElement("div",{className:"statPercentage"},n.createElement("span",{className:"statArrow"})," ",e.percentage)))),n.createElement(b.Ay,{id:"stat5",item:!0,xs:12,md:4},n.createElement("a",{href:l,className:"mt-btn"},r)))))},Ed={textDecoration:"none"},yd={width:"100%"};function bd(e){const{title:t="",articleSummary:a="",elementID:i,imageUrl:r,postDate:l,authoredBy:o,url:c,params:s,authorAvatar:d}=e;return n.createElement("article",{className:"article-container researchHub"},n.createElement(m.N_,{style:Ed,className:"newsArticleLink",to:(0,H.n9)(c,s),id:`${i}-anchor_tag`},n.createElement("div",{id:`newsArticleImg-${i}`,className:"newsArticleImg",style:{backgroundImage:`url(${r})`,backgroundSize:"cover"}}),n.createElement("div",{id:`newsArticleCopy-${i}`,className:"newsArticleCopy"},n.createElement("h3",{id:`newsArticleTitle-${i}`,className:"newsArticleTitle headingFour"},n.createElement("span",{className:"arrowUpRight"},n.createElement(Et.A,null)),t),n.createElement(W.A,{className:"newsArticleSummary",dangerouslySetInnerHTML:(0,H.R2)(a),id:`${i}-card-sub-title`,component:"div"}),n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{item:!0,xs:2,className:"iAvatar"},n.createElement("div",{className:"avatarImgContainer"},n.createElement("img",{style:yd,src:null!==d&&void 0!==d?d:"https://images.ctfassets.net/1g8q1frp41ix/2vPcPUKNwREPTvmFN3bU4W/46198e629bdfabfac1fed6e3ac6e1450/Bright-Research_-_Avatar.png",alt:o}))),n.createElement(b.Ay,{item:!0,xs:10,className:"authoredByContainer"},n.createElement("h5",{className:"headingFive authoredBy"},o),n.createElement(W.A,{className:"newsArticleDate detailCopy"},(0,H.wU)(l)))))))}const fd={infinite:!1,speed:500,arrows:!1,slidesToShow:3,slidesToScroll:3,dots:!1,autoplay:!1,responsive:[{breakpoint:1280,settings:{dots:!0,slidesToShow:2,slidesToScroll:2,autoplay:!0}},{breakpoint:960,settings:{dots:!0,slidesToShow:1,slidesToScroll:1,autoplay:!0}}]};function vd(e){const{articles:t}=e,[a,i]=(0,n.useState)(t||[]),[r,l]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{(async()=>{l(!0);const e=await Promise.all(t.map(async e=>{try{const t=await(0,Ve.lz)(e.articleNewsId);return{...e,authoredBy:t.authoredBy,authorImage:t.authorImage}}catch(t){return console.log("error",t),e}}));i(e),l(!1)})()},[t]),n.createElement(n.Fragment,null,r&&n.createElement(sa,null),n.createElement("div",{className:"newsArtilcesCarou
1sel"},n.createElement(h.A,fd,a.length>0&&a.map((e,a)=>n.createElement(bd,{key:`deksto-${t.indexOf(e)}`,title:e.title,articleSummary:e.articleSummary||"<p></p>",imageUrl:e.imageUrl,postDate:e.postDate,authoredBy:e.authoredBy,elementID:`${a}-brightCard`,url:"/article",params:e.articleNewsId,authorAvatar:e.authorImage})))))}function Ad(e){const[t,a]=(0,n.useState)(!1),[i,r]=(0,n.useState)(null),{newsPreviewData:l}=e;return(0,n.useEffect)(()=>{a(!0),window.scrollTo(0,0),l?(r(l),a(!1)):(0,Ve.lY)().then(e=>{r(e),a(!1)}).catch(()=>{r(null),a(!1)})},[]),(0,n.useEffect)(()=>{console.log("newsData:",i)},[i]),n.createElement("div",null,t&&n.createElement(sa,null),Array.isArray(null===i||void 0===i?void 0:i.marketReportArticles)&&i.marketReportArticles.length>0&&n.createElement(n.Fragment,null,n.createElement(vd,{articles:i.marketReportArticles})))}const Nd=e=>{let{title:t,buttonText:a,buttonUrl:i,mintBack:r=""}=e;const l=I(t,void 0,"latest-news");return n.createElement(p,{className:`latestNewsWrapper marketingTemplateWrapper ${r}`,"aria-labelledby":l},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement("h2",{className:"headingTwo",id:l},t),n.createElement("div",{className:"carouselWrapper"},n.createElement(Ad,null)),n.createElement("div",{className:"seeMore"},n.createElement("a",{href:i,className:"mt-btn mt-primary-btn"},a))))},Sd=e=>{let{teamData:t,teamInfo:i}=e;const r=null===t||void 0===t?void 0:t.cardTitle,l=null===t||void 0===t?void 0:t.plainTextSummary,o=null===t||void 0===t?void 0:t.cardButtonText,c=null===t||void 0===t?void 0:t.ctaMail;return n.createElement("section",{id:"rhTeam_wrapper",className:"marketingTemplateWrapper"},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{item:!0,xs:12,md:6,lg:3,className:"leftGrid"},n.createElement("h2",{className:"headingTwo"},r),n.createElement("p",{className:"bodyLarge"},l),n.createElement("a",{className:"mt-btn mt-primary-btn",href:`mailto:${c}`},o)),null===i||void 0===i?void 0:i.map(e=>n.createElement(b.Ay,{id:`teamMember${i.indexOf(e)}`,key:i.indexOf(e),item:!0,xs:12,md:6,lg:3},n.createElement("article",{className:"bioBox"},n.createElement("div",{style:{backgroundImage:`url(${e.image})`},className:"bioAvatar"},n.createElement("img",{src:a(86993),alt:e.headline})),n.createElement("div",{className:"bioContent"},n.createElement("h5",{className:"headingFive"},e.headline),n.createElement("p",{className:"detailCopy bioTitle"},e.subHeadline),n.createElement("div",{className:"bioBlurb",dangerouslySetInnerHTML:(0,H.R2)(e.additionalSummary)}),n.createElement("div",{className:"socialMedia"},n.createElement("a",{target:"blank",href:e.linkedInUrl,className:`in${e.hasLinkedIn}`,"aria-label":"View LinkedIn profile"},n.createElement(rd.A,{className:`in${e.hasLinkedIn}`,"aria-label":"View LinkedIn profile"})),n.createElement("a",{target:"blank",href:e.twitterUrl,className:`tw${e.hasTwitter}`,"aria-label":"View Twitter profile"},n.createElement(ld.A,{className:`tw${e.hasTwitter}`,"aria-label":"View Twitter profile"}))),n.createElement(_,{secondaryLinkClassName:"bioMore",secondaryLinkCopy:e.buttonText,secondaryLinkURL:e.ctaLink,secondaryLinkTarget:{targetType:"_self"}}))))))))},wd=e=>{let{title:t,researchSectionLogo:a}=e;return n.createElement("section",{id:"logos_wrapper",className:"marketingTemplateWrapper"},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement("h2",{className:"headingFive"},t),null===a||void 0===a?void 0:a.map(e=>{const t=e.substring(e.lastIndexOf("/")+1,e.lastIndexOf("."));return n.createElement("div",{className:"inLogos",key:a.indexOf(e)},n.createElement("img",{id:`logoImg${a.indexOf(e)}`,className:"logoImg",src:e,alt:t.replace(/_/g," ")}))})))},xd=e=>{let{newsHeadline:t,brightNewsCard:a}=e;return n.createElement("section",{id:"inTheNews_wrapper",className:"marketingTemplateWrapper"},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement("h2",{className:"headingTwo"},t),n.createElement(b.Ay,{container:!0,className:"gridContainer"},null===a||void 0===a?void 0:a.map(e=>n.createElement(b.Ay,{item:!0,xs:12,md:6,className:"inNews",id:a.indexOf(e),key:a.indexOf(e)},n.createElement("article",{className:"inNewsItem"},n.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:e.ctaLink},n.createElement("dl",null,n.createElement("dt",{className:"headingFive"},e.headline),n.createElement("dd",null,e.subHeadline)))))))))},_d=e=>{let{mediaInquirySectionData:t,GraphicManImg:a,GraphicWomenImg:i}=e;const r=null===t||void 0===t?void 0:t.cardTitle,l=null===t||void 0===t?void 0:t.plainTextSummary,o=null===t||void 0===t?void 0:t.cardButtonText,c=null===t||void 0===t?void 0:t.ctaMail;return n.createElement("section",{id:"mediaInquiries_wrapper",className:"marketingTemplateWrapper"},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{item:!0,xs:12,md:3,className:"graphicGrid"},n.createElement("img",{className:"graphicMan",src:a,alt:""})),n.createElement(b.Ay,{item:!0,xs:12,md:6,className:"copyGrid"},n.createElement("h2",{className:"headingTwo"},r),n.createElement("p",null,l),n.createElement("a",{href:`mailto:${c}`,className:"mt-btn"},o)),n.createElement(b.Ay,{item:!0,xs:12,md:3,className:"graphicGrid"},n.createElement("img",{className:"graphicWoman",src:i,alt:""})))))};const kd=function(e){let{previewData:t}=e;
1const[a,i]=(0,n.useState)();return(0,n.useEffect)(()=>{document.title="Bright Research Home | Bright MLS",t?i(t):(0,xt.c)(_t.H$).then(e=>{i(e)}).catch(e=>{console.log(e),i(null)})},[t]),n.createElement("div",{className:"mtMain"},n.createElement(d.m,null,n.createElement("body",{id:"homeRH",className:"researchHub aPage"})),n.createElement(gd,{topBannerImage:null===a||void 0===a?void 0:a.topBannerImage,topBannerTitle:null===a||void 0===a?void 0:a.topBannerTitle,topBannerSummary:null===a||void 0===a?void 0:a.topBannerSummary,bannerSectionCard:null===a||void 0===a?void 0:a.bannerSectionCard}),n.createElement(hd,{STATS_DATA:null===a||void 0===a?void 0:a.statisticsCards,statsTitle:null===a||void 0===a?void 0:a.statisticsTitle,statsSubHeading:null===a||void 0===a?void 0:a.statisticsShortHeading,buttonText:null===a||void 0===a?void 0:a.statisticsCtaText,buttonUrl:null===a||void 0===a?void 0:a.statisticsCtaLink}),n.createElement(Nd,{title:null===a||void 0===a?void 0:a.newsHeadline,buttonText:null===a||void 0===a?void 0:a.seeNewsBtnText,buttonUrl:null===a||void 0===a?void 0:a.seeNewsBtnLink}),n.createElement(Sd,{teamData:null===a||void 0===a?void 0:a.teamLeftData,teamInfo:null===a||void 0===a?void 0:a.teamCommonCard}),n.createElement(wd,{title:null===a||void 0===a?void 0:a.researchSectionTitle,researchSectionLogo:null===a||void 0===a?void 0:a.researchSectionLogo}),n.createElement(xd,{newsHeadline:null===a||void 0===a?void 0:a.brightNewsHeadline,brightNewsCard:null===a||void 0===a?void 0:a.brightNewsCard}),n.createElement(_d,{mediaInquirySectionData:null===a||void 0===a?void 0:a.mediaInquirySectionData,GraphicManImg:null===a||void 0===a?void 0:a.mediaInquirySectionImage[0],GraphicWomenImg:null===a||void 0===a?void 0:a.mediaInquirySectionImage[1]}))},Cd=e=>{let{theBiography:t,cid:a}=e;const i=(0,n.useRef)(null);return(0,n.useEffect)(()=>{var e,a;t=null!==(e=null===(a=t)||void 0===a?void 0:a.replace(/\n/g,"<br>"))&&void 0!==e?e:"",i.current&&(i.current.innerHTML=t)},[t]),n.createElement("section",{id:`${a}_wrapper`,className:"biography_wrapper marketingTemplateWrapper"},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement(W.A,{ref:i,paragraph:!0,className:"bioCopy"})))};var Td=a(4262);const Id=e=>{let{cid:t,altProfileImage:a,srcProfileImage:i,twitterHref:r="",srcTopBannerImage:l,economistJobTitle:o,linkedinHref:c="",economistName:s=""}=e;const[m,d]=(0,n.useState)(Td),[u,p]=(0,n.useState)(om);return(0,n.useEffect)(()=>{if(i){const e=new Image;e.src=i,e.onload=()=>{p(i)}}if(l){const e=new Image;e.src=l,e.onload=()=>{d(l)}}},[i,l]),n.createElement("section",{id:`${t}_wrapper`,className:"bannerBios_wrapper marketingTemplateWrapper allBanners",style:{backgroundImage:`url(${m})`}},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement("div",{className:"bannerLeft"},n.createElement(od,{topBannerTitle:s,bioBannerTwitterURL:r,bioBannerLinkedInURL:c,topBannerMiniTitle:o})),n.createElement("div",{className:"profilePicture"},n.createElement("img",{alt:a,src:u,className:"bannerProfilePicture"}))))};const Ld=function(e){let{previewData:t}=e;const{id:a}=(0,s.g)(),[i,r]=(0,n.useState)(!1),[l,o]=(0,n.useState)({});(0,n.useEffect)(()=>{document.title="Bio Pages Template | Bright MLS";const e=_t.yo.replace("{profileId}",null!==a&&void 0!==a?a:"");t?o(t):a&&(0,xt.c)(e).then(e=>{o(e)}).catch(()=>{r(!0)})},[a,t]);const{xHref:c="",linkedinHref:m="",articlesTitle:u="",economistName:p="",articleCtaLink:g="",articleCtaText:h="",topBannerImage:E="",economistPicture:y="",economistJobTitle:b="",economistRoleDescription:f=""}=l||{};return n.createElement("div",{className:"mtMain"},n.createElement(d.m,null,n.createElement("body",{id:"TBA",className:"researchHub aPage biosRH"})),i?n.createElement(_i,null):n.createElement(n.Fragment,null,n.createElement(Id,{twitterHref:c,linkedinHref:m,economistName:p,cid:`${p}_banner`,altProfileImage:p,srcTopBannerImage:E,srcProfileImage:y,economistJobTitle:b}),n.createElement(Cd,{cid:`${p}_bio`,theBiography:f}),n.createElement(Nd,{mintBack:"mintBack",title:u,buttonUrl:g,buttonText:h})))},Bd=e=>
1{let{topBannerTitle:t,topBannerImage:a,topBannerSummary:i,topBannerMiniTitle:r,topBannerCard:l=[]}=e;const[o,c]=(0,n.useState)("");return(0,n.useEffect)(()=>{if(a){const e=document.createElement("img");e.src=a,e.onload=()=>c(a),e.onerror=()=>c(Td)}},[a]),n.createElement("section",{id:"rhBannerWeeklyStats_wrapper",className:"marketingTemplateWrapper allBanners",style:{backgroundImage:`url(${o})`}},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{className:"bannerLeft",item:!0,xs:12,md:6},n.createElement(od,{topBannerTitle:t,topBannerSummary:i,topBannerMiniTitle:r})),n.createElement(b.Ay,{className:"bannerRight",item:!0,xs:12,md:6},n.createElement("div",{className:"bannerCarouselContainer"},l.map(e=>n.createElement(dd,{key:"string",title:null===e||void 0===e?void 0:e.headline,itemUrl:null===e||void 0===e?void 0:e.ctaLink,excerpt:null===e||void 0===e?void 0:e.subHeadline})))))))};var Dd=a(86116);const Md=e=>{let{data:t,videoUrl:a,videoImage:i,watchButtonURL:r,watchButtonCopy:l,buttonSurveyURL:o,buttonSurveyCopy:c,imageOrientation:s="left"}=e;const[m,d]=(0,n.useState)(!1),[u,p]=(0,n.useState)(a),g=I(null===t||void 0===t?void 0:t.title,void 0,"video"),h=l?"mt-secondary-btn":"mt-primary-btn",E=e=>{e&&p(e),d(!0)};return n.createElement("section",{"aria-labelledby":g,className:"rhVideoSpot_wrapper marketingTemplateWrapper videoSpots"},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement(b.Ay,{container:!0,className:`orientation-${s}`},n.createElement(b.Ay,{className:"leftSide",item:!0,xs:12,md:6},n.createElement("div",{className:"rhWsVideoWrapper"},n.createElement("button",{className:"imgVidThumbBtn",onClick:()=>E(a),onKeyDown:e=>{"Enter"===e.key&&d(!0)},type:"button","aria-label":l||"Play video"},n.createElement(Dd.A,{className:"playArrow"}),n.createElement("img",{src:i,alt:`${(null===t||void 0===t?void 0:t.title)||"Video"} thumbnail${null!==t&&void 0!==t&&t.subtitle?` for ${t.subtitle}`:""}`,className:"rhWsVideoThumb"})),n.createElement(Xe,{className:"news-video-player",title:"",showButtons:!0,messages:[],isOpen:m,setOpen:d,hasBillingAlert:!1,memberMlsId:"",billingAlertFingerprint:""},n.createElement(Ze,{videoUrl:u})))),n.createElement(b.Ay,{className:"rightSide",item:!0,xs:12,md:6},n.createElement("h2",{className:"headingTwo",id:g},null===t||void 0===t?void 0:t.title),n.createElement("h4",{className:"headingFour"},null===t||void 0===t?void 0:t.heading),n.createElement("p",null,null===t||void 0===t?void 0:t.subHeading),n.createElement("div",{className:"buttons-container"},l&&n.createElement("button",{className:"mt-btn mt-primary-btn",onClick:()=>E(r)},n.createElement(Dd.A,null),l),c&&n.createElement("button",{onClick:()=>o&&window.open(o,"_blank"),className:`mt-btn ${h}`},c))))))};function Pd(e){const{children:t,value:a,index:i,...r}=e;return n.createElement("div",Object.assign({role:"tabpanel",hidden:a!==i,id:`simple-tabpanel-${i}`,"aria-labelledby":`simple-tab-${i}`},r),a===i&&n.createElement(La.A,{sx:{p:3}},t))}function Rd(e){return{id:`simple-tab-${e}`,"aria-controls":`simple-tabpanel-${e}`}}const Od=e=>{let{graphsDATA:t=[]}=e;const[a,i]=n.useState(0);return n.createElement(La.A,{sx:{width:"100%"}},n.createElement(La.A,{sx:{borderBottom:1,borderColor:"divider"}},n.createElement(En.A,{value:a,onChange:(e,t)=>
1{i(t)},"aria-label":"Statistical graphs tabs",className:"groupTabs"},n.createElement(yn.A,Object.assign({className:"graphBtn",label:"Showings"},Rd(0))),n.createElement(yn.A,Object.assign({className:"graphBtn",label:"New Purchase Contracts"},Rd(1))),n.createElement(yn.A,Object.assign({className:"graphBtn",label:"Median Time to Contract"},Rd(2))),n.createElement(yn.A,Object.assign({className:"graphBtn",label:"New Listings"},Rd(3))),n.createElement(yn.A,Object.assign({className:"graphBtn",label:"Median List Price"},Rd(4))))),t.map(e=>n.createElement(Pd,{key:t.indexOf(e),value:a,index:t.indexOf(e)},n.createElement("img",{className:"statGraph",src:e.image,alt:`Line graph showing weekly ${e.headline} trends for the Bright MLS service area`}))))},Ud=e=>{let{graphsDATA:t}=e;const[a,i]=n.useState(0),[r,l]=(0,n.useState)(!1);function o(){r&&l(!1)}return n.createElement(La.A,{sx:{width:"100%"}},n.createElement(La.A,{sx:{borderBottom:1,borderColor:"divider"}},n.createElement("button",{className:"makeSelection",onClick:()=>{l(!0),o()},onKeyDown:()=>{l(!0),o()}},"Make a Selection"," ",n.createElement(kt.A,{className:"selectionChevron "+(r?"toggle":"")})),r&&n.createElement(En.A,{value:a,onChange:(e,t)=>
1{i(t)},"aria-label":"Statistical graphs tabs",className:"groupTabs"},t.map(e=>n.createElement(yn.A,{key:t.indexOf(e),className:"graphBtn",label:e.headline,id:`simple-tab-${t.indexOf(e)}`,"aria-controls":`simple-tabpanel-${t.indexOf(e)}`,onClick:()=>{o()}})))),t.map(e=>{const{image:i,subImages:r}=e,l=(null===r||void 0===r?void 0:r.length)>0?r[0]:i;return n.createElement(Pd,{key:t.indexOf(e),value:a,index:t.indexOf(e)},n.createElement("h4",{className:"headingFour"},e.headline),n.createElement("img",{className:"statGraph",src:l,alt:`Line graph showing weekly ${e.headline} trends for the Bright MLS service area`}))}))},Fd=e=>{let{title:t,subTitle:a,data:i}=e;return n.createElement("section",{id:"rhFootprintData_wrapper",className:"marketingTemplateWrapper"},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement("div",{className:"mtHeadingWrapper"},n.createElement("h2",{className:"headingTwo"},t),n.createElement("p",{className:"miniTitle"},a)),!S()&&n.createElement(Od,{graphsDATA:i}),S()&&n.createElement(Ud,{graphsDATA:i})))};var $d=a(27700),Wd=a(75337);a(72715);const Hd=e=>{let{Headers:t=[],weekStatsTDsDATA:a=[]}=e;const i=t&&t.length>0?t[0]:null,r=t&&t.length>1?t[1]:null,l=t&&t.length>2?t[2]:null;return n.createElement(Wd.XI,{className:"statsTable"},n.createElement(Wd.d8,null,n.createElement(Wd.Tr,null,n.createElement(Wd.Th,null),null===t||void 0===t?void 0:t.map(e=>n.createElement(Wd.Th,{key:null===t||void 0===t?void 0:t.indexOf(e),id:`
1whiteLines${null===t||void 0===t?void 0:t.indexOf(e)}`},e.title)))),n.createElement(Wd.NN,null,a.map(e=>n.createElement(Wd.Tr,{key:null===a||void 0===a?void 0:a.indexOf(e)},n.createElement(Wd.Td,{className:"rowTitle"},n.createElement("span",null,e.title)),n.createElement(Wd.Td,null,n.createElement("div",{"data-testid":"td-before",className:"tdBefore"},null===i||void 0===i?void 0:i.title),n.createElement("span",{className:"headingFour statValue"},e.heading)),n.createElement(Wd.Td,null,n.createElement("div",{"data-testid":"td-before",className:"tdBefore"},null===r||void 0===r?void 0:r.title),n.createElement("span",{className:"headingFour statValue"},n.createElement("span",{className:`arrowsSize arrow${e.upDownDropdown}`},n.createElement($d.A,null)),e.subHeading)),n.createElement(Wd.Td,null,n.createElement("div",{"data-testid":"td-before",className:"tdBefore"},null===l||void 0===l?void 0:l.title),n.createElement("span",{className:"headingFour statValue"},n.createElement("span",{className:`arrowsSize arrow${e.upDownDropdownSecondary}`},n.createElement($d.A,null)),e.footerNote))))))},jd=e=>{let{data:t,title:a,headers:i,subTitle:r}=e;return n.createElement("section",{id:"rhWeekStatistics_wrapper",className:"marketingTemplateWrapper"},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement("em",{className:"miniTitle eyebrow-label"},a),n.createElement("h2",{className:"headingTwo"},r),n.createElement(Hd,{Headers:null!==i&&void 0!==i?i:[],weekStatsTDsDATA:null!==t&&void 0!==t?t:[]})))};var zd=a(68341),Vd=a(37620);const Gd=e=>{let{accordions:t=[]}=e;const[a,i]=n.useState(!1);(0,n.useEffect)(()=>{t.length>0&&i("panel0")},[t]);return n.createElement("section",{id:"insightInfo_wrapper",className:"marketingTemplateWrapper"},n.createElement("div",{className:"marketingTemplateContainer"},t.map((e,r)=>{const l=`panel${r}`,o=a===l;return n.createElement(vn.A,{expanded:o,onChange:(c=l,(e,t)=>{i(!!t&&c)}),key:t.indexOf(e)},n.createElement(An.A,{expandIcon:o?n.createElement(zd.A,null):n.createElement(Vd.A,null),"aria-controls":`${l}bh-content`,id:`${l}bh-header`},n.createElement("h3",{className:"headingFive"},e.title)),n.createElement(Nn.A,null,n.createElement("p",null,e.description)));var c})))},qd=a.p+"static/media/inquiries-bg-dt.2d526fc7.jpg",Yd=e=>{let{title:t,ctaLink:a,ctaText:i,subTitle:r,backgroundImage:l}=e;const[o,c]=(0,n.useState)("");return(0,n.useEffect)(()=>{if(l){const e=document.createElement("img");e.src=l,e.onload=()=>c(l),e.onerror=()=>c(qd)}},[l]),n.createElement("section",{id:"downloadReport_wrapper",className:"marketingTemplateWrapper",style:{backgroundImage:`url(${o})`}},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement("div",{className:"copyGrid"},n.createElement("h2",{className:"headingTwo"},t),n.createElement("p",null,r),n.createElement("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:"mt-btn"},i))))};function Kd(e,t){const a="yes"===(null===t||void 0===t?void 0:t.useContentfulTableData)||!e;if((null===e||void 0===e||!e.length)&&!a)return null;const n=a?(null===t||void 0===t?void 0:t.tableData)||[]:(i=e)?i.flatMap(e=>Object.entries({showings:"Showings",new_purchase_contracts:"New Purchase Contracts",median_time_to_contract:"Median Time to Contract",new_listings:"New Listings",median_list_price:"Median List Price",active_listings:"Active Listings",percent_active_listings_with_price_decrease:"Price Decrease %",canceled_listings:"Canceled Listings"}).map(t=>{let[a,n]=t;const i=e[a],r=e=>{if(!e)return{formatted:"",direction:"No"};const t=e.trim();return t.startsWith("+")?{formatted:`${t.slice(1)}`,direction:"Up"}:t.startsWith("-")?{formatted:`${t.slice(1)}`,direction:"Down"}:{formatted:`${t}`,direction:"No"}},l=r(i.compared_to_year_ago),o=r(i.compared_to_week_ago);return{title:n,heading:i.value,subHeading:l.formatted,footerNote:o.formatted,upDownDropdown:l.direction,upDownDropdownSecondary:o.direction}})):[];var i;const r=null===e||void 0===e?void 0:e[0],l=r?[{title:`Week Ending ${r.week_ending}`},{title:"Compared to a year ago"},{title:"Compared to a week ago"}]:[];return{data:n,headers:a?(null===t||void 0===t?void 0:t.tableHeaders)||[]:l}}const Jd=function(e){let{previewData:t}=e;
1const[a,i]=(0,n.useState)(null),[r,l]=(0,n.useState)(null);(0,n.useEffect)(()=>{document.title="Bright Research Weekly Stats | Bright MLS",t?i(t):((0,xt.c)(_t.zq).then(e=>{i(e)}).catch(e=>{console.log(e)}),(0,xt.c)(_t.Dk).then(e=>{try{const t=JSON.parse(e.json_output);l(t),console.log("Retrieved weekly stats deserialized data",t)}catch(t){console.error("Error parsing weekly stats metrics JSON:",t)}}).catch(e=>{console.error("Error fetching weekly stats metrics:",e)}))},[t]);const o=Kd(r,a);if(!o)return null;const{data:c,headers:s}=o;return n.createElement("div",{className:"mtMain"},n.createElement(d.m,null,n.createElement("body",{id:"weeklyStatsRH",className:"researchHub aPage"})),a?n.createElement(n.Fragment,null,n.createElement(Bd,{topBannerMiniTitle:a.title,topBannerImage:a.topBannerImage,topBannerCard:a.bannerSectionCard,topBannerTitle:a.bannerSectionHeadline,topBannerSummary:a.bannerSectionSummary}),n.createElement(jd,{subTitle:a.tableTitle,title:a.tableSectionTitle,data:c,headers:s}),n.createElement(Gd,{accordions:a.newsAccordions}),n.createElement(Md,{data:a.insightSectionData,videoUrl:a.insightSectionVideoUrl,videoImage:a.insightSectionVideoImage,watchButtonAriaLabel:"Play Weekly Housing Insights video"}),n.createElement(Fd,{data:a.weeklyDataGraph,title:a.weeklyDataTitle,subTitle:a.weeklyDataHeading}),n.createElement(Yd,{title:a.bottomBannerTitle,ctaLink:a.bottomBannerCtaLink,ctaText:a.bottomBannerCtaText,subTitle:a.bottomBannerSubTitle,backgroundImage:a.bottomBannerImage}),n.createElement(Nd,{mintBack:"mintBack",buttonUrl:a.seeNewsBtnLink,buttonText:a.seeNewsBtnText,title:a.newsAndInsightsHeading})):null)},Qd=e=>{let{}=e;return n.createElement("section",{id:"rhArticlesNewsInsights_wrapper",className:"marketingTemplateWrapper"},n.createElement("div",{className:"marketingTemplateContainer mt-pagination"},n.createElement(Bm,{viewType:"gallery",fetchArticlesAuthorInfo:!0})))};const Xd=function(e){let{previewData:t}=e;const a=(0,s.Zp)(),{search:i}=(0,s.zy)(),r=(0,n.useMemo)(()=>new URLSearchParams(i),[i]),[l,o]=(0,n.useState)({pageTitle:"",searchText:"",description:"",pageSubTitle:"",viewType:"gallery",topBannerImage:Td});(0,n.useEffect)(()=>{document.title="News & Insights | Bright MLS";const e=e=>{if(e.topBannerImage){const t=document.createElement("img");t.src=e.topBannerImage,t.onerror=()=>{o({...l,...e,topBannerImage:Td})},t.onload=()=>{o({...l,...e})}}else o({...l,...e})};t?e(t):(0,xt.c)(_t.HF).then(e).catch(console.log)},[t]),(0,n.useEffect)(()=>{r.get("category")||(r.set("category","market-report"),a({search:r.toString()},{replace:!0}))},[r,a]);const{viewType:c,pageTitle:m,searchText:u,description:p,pageSubTitle:g,topBannerImage:h}=l||{};return n.createElement("div",{className:"mtMain"},n.createElement(d.m,null,n.createElement("body",{id:"newsInsightsRH",className:"researchHub aPage"})),n.createElement(Om,{viewType:c,searchText:u,topBannerTitle:g,topBannerSupTitle:m,topBannerSummary:p,backgroundImageUrlMobile:h,backgroundImageUrlDesktop:h}),n.createElement(Qd,null))},Zd=e=>{let{cards:t,title:a,subtitle:i,description:r,bannerImage:l}=e;
1const[o,c]=(0,n.useState)([]),[s,m]=(0,n.useState)(Td);return(0,n.useEffect)(()=>{if(l){const e=new Image;e.src=l,e.onload=()=>{m(l)}}},[l]),(0,n.useEffect)(()=>{const e=t.map(e=>{var t,a,n,i;let r=null!==(t=null===e||void 0===e||null===(a=e.additionalSummary)||void 0===a?void 0:a.replace("<p>",""))&&void 0!==t?t:"";r=null!==(n=r.replace("</p>",""))&&void 0!==n?n:"";const l=r.split(" ")||[],o=null!==(i=l.shift())&&void 0!==i?i:"";return{moreDeats:l.join(" ")||"",thePercentage:o,subTitle:e.title,headline:e.headline,graphicImage:e.image,theAmount:e.subHeadline,upOrDown:e.arrowDirection.toLowerCase()}});c(e)},[t]),n.createElement("section",{id:"rhBannerMarketReports_wrapper",className:"marketingTemplateWrapper allBanners",style:{backgroundImage:`url(${s})`}},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{className:"bannerLeft",item:!0,xs:12,md:6},n.createElement(od,{topBannerTitle:i,topBannerMiniTitle:a,topBannerSummary:r})),n.createElement(b.Ay,{className:"bannerRight",item:!0,xs:12,md:6},n.createElement(pd,{bannerSectionCard:o})))))};var eu=a(35115);const tu=e=>{let{title:t,subtitle:a,bannerImage:i,monthlyRegions:r}=e;const l=I(t,void 0,"monthly-reports"),o={"Baltimore Metro":"#32BDA8","Del/Mar Coastal":"#1F3A93","Southern Maryland":"#595A5A","Philadelphia Metro":"#5E4B9F","Was
1hington DC Metro":"#F26A42","Central Pennsylvania":"#0E8789","Maryland Eastern Shore":"#4174B9","North Central Virginia":"#F68C66","Maryland/West Virginia Panhandle":"#FED5AB"};return n.createElement("section",{id:"rhMonthlyReports_wrapper",className:"marketingTemplateWrapper","aria-labelledby":l},n.createElement("div",{className:"marketingTemplateContainer"},S()?n.createElement(n.Fragment,null,n.createElement("h2",{id:l,className:"responsive-title"},`${a} ${t}`),n.createElement("p",{className:"responsive-title-info"},"Find your location below and tap to open the report.")):n.createElement(n.Fragment,null,n.createElement("h2",{id:l,className:"headingTwo"},t),n.createElement("h3",{className:"bodyLarge"},a)),n.createElement("div",{className:"monthly-reports-section"},n.createElement("img",{src:`${i}`,alt:"Monthly Reports Image",className:"monthly-reports-image"}),n.createElement("ul",{className:"zipsContainer"},null===r||void 0===r?void 0:r.map(e=>{var t;return n.createElement("li",{key:r.indexOf(e),className:"zipItem"},n.createElement("a",{href:null!==(t=e.ctaLink)&&void 0!==t?t:"#",className:"zipBox",target:"_blank",rel:"noopener noreferrer"},n.createElement("article",{className:"zipArticle"},n.createElement("h3",{className:"title-container zipTitle"},o[e.title]&&n.createElement("span",{className:"rounded-title-color",style:{backgroundColor:o[e.title]}}),e.title),n.createElement("div",{className:"zipLink"},n.createElement(eu.A,{className:"zipIcon","aria-hidden":"true"}),n.createElement("span",null," Download Report")))))})))))};var au=a(82333),nu=a(12523);const iu=e=>{let{topBannerMiniTitle:t,title:a,paragraphOne:i,paragraphTwo:r,buttonPDFCopy:l,buttonPDFurl:o,buttonEXurl:c,buttonEXCopy:s,buttonWhiteURL:m,buttonWhiteCopy:d,imageURL:u,imageAlt:p,imageOrientation:g="right",className:h="",backgroundImage:E=""}=e;const y=I(a,void 0,"copy-image");return n.createElement("section",{className:`copyAndImage_wrapper marketingTemplateWrapper ${h}`,style:E?{backgroundImage:`url(${E})`}:{},"aria-labelledby":y},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement(b.Ay,{container:!0,className:`orientation-${g}`},n.createElement(b.Ay,{className:"copySide",item:!0,xs:12,md:6},t&&n.createElement("em",{className:"miniTitle eyebrow-title"},t),n.createElement("h2",{className:"headingTwo",id:y},a),i&&n.createElement("p",{className:"pOne"},i),r&&n.createElement("p",{className:"pTwo"},r),l&&n.createElement("a",{href:o,target:"_blank",rel:"noopener noreferrer",className:"mt-btn mt-primary-btn","aria-label":`Download ${l}`},n.createElement(au.A,{"aria-hidden":"true"})," ","\xa0",l),s&&n.createElement("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:"mt-btn mt-primary-btn northEastArrow","aria-label":`${s} opens in a new tab`},s,"\xa0",n.createElement(nu.A,{"aria-hidden":"true"})),d&&n.createElement("a",{href:m,target:"_blank",rel:"noopener noreferrer",className:"mt-btn mt-secondary-btn","aria-label":`${d} opens in a new tab`},d)),n.createElement(b.Ay,{className:"imageSide",item:!0,xs:12,md:6},n.createElement("img",{src:u,alt:p})))))};const ru=function(e){let{previewData:t}=e;const[a,i]=(0,n.useState)(null),{topBannerCards:r=[],topBannerImage:l="",marketReportTitle:o="",marketReportSubTitle:c="",marketReportDescription:s="",monthlyReportMap:m="",monthlyReportTitle:u="",monthlyReportMonth:p="",monthlyReportRegions:g=[],homeDemandIndexTitle:h="",homeDemandIndexImage:E="",homeDemandIndexCtaText:y="",homeDemandIndexCtaLink:b="",homeDemandIndexDescription:f="",newsInsightsTitle:v="",newsInsightsCtaText:A="",newsInsightsCtaLink:N="",marketMinuteTitle:S="",marketMinuteSubTitle:w="",marketMinuteVideoLink:x="",marketMinuteVideoImage:_="",marketMinuteDescription:k="",marketMinuteVideoButtonUrl:C="",marketMinuteVideoButtonText:T="",marketMinutePressReleaseButtonUrl:I="",marketMinutePressReleaseButtonText:L="",monthlyMediaKitTitle:B="",monthlyMediaKitImage:D="",monthlyMediaKitCtaUrl:M="",monthlyMediaKitCtaText:P="",monthlyMediaKitDescription:R="",monthlyMediaKitBannerImage:O=""}=a||{};return(0,n.useEffect)(()=>{document.title="Bright Research Market Report | Bright MLS",t?i(t):(0,xt.c)(_t.ZL).then(e=>{i(e)}).catch(()=>{console.log("error")})},[t]),a?n.createElement("div",{className:"mtMain"},n.createElement(d.m,null,n.createElement("body",{id:"marketReportsRH",className:"researchHub aPage"}
1)),n.createElement(Zd,{cards:r,title:o,bannerImage:l,subtitle:c,description:s}),n.createElement(tu,{title:u,subtitle:p,bannerImage:m,monthlyRegions:g}),n.createElement(Md,{videoUrl:x,videoImage:_,data:{title:S,heading:w,subHeading:k},watchButtonURL:C,watchButtonCopy:T,buttonSurveyURL:I,buttonSurveyCopy:L}),n.createElement(iu,{className:"monthlyMediaKit",title:B,imageURL:D,imageAlt:B,buttonEXurl:M,buttonEXCopy:P,paragraphOne:R,backgroundImage:O}),n.createElement(iu,{imageOrientation:"left",title:h,imageURL:E,imageAlt:h,buttonEXurl:b,buttonEXCopy:y,paragraphOne:f}),n.createElement(Nd,{mintBack:"mintBack",title:v,buttonUrl:N,buttonText:A})):null},lu=e=>{let{pageTitle:t,description:a,bannerImage:i,pageSubTitle:r,bannerSectionCard:l}=e;return n.createElement("section",{id:"rhBannerResearchStudies_wrapper",className:"marketingTemplateWrapper allBanners",style:{backgroundImage:`url(${i})`}},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{className:"bannerLeft",item:!0,xs:12,md:6},n.createElement(od,{topBannerTitle:r,topBannerMiniTitle:t,topBannerSummary:a})),n.createElement(b.Ay,{className:"bannerRight",item:!0,xs:12,md:6},n.createElement(pd,{bannerSectionCard:l})))))};var ou=a(83055);const cu=e=>{let{gridTitle:t,gridList:a,gridBtnIcon:i,gridMiniTitle:r,gridParagraph:l,gridPrimButton:o,gridSecondButton:c,onPrimaryButtonClick:s,onSecondaryButtonClick:m}=e;return n.createElement(n.Fragment,null,n.createElement("span",{className:"miniTitle"},r),n.createElement("div",{className:"headingTwo"},t),a&&n.createElement("ul",{className:"itemsList"},null===a||void 0===a?void 0:a.map((e,t)=>n.createElement("li",{key:a.indexOf(e),id:`listItem${t}`,className:"listItem"},n.createElement("span",{className:"listIcon"},n.createElement(ou.A,null)),null===e||void 0===e?void 0:e.gridList))),l&&n.createElement(W.A,null,l),o&&n.createElement("button",{onClick:s,className:`mt-btn mt-primary-btn icon-${i}`,style:c?{marginRight:"20px"}:{}},n.createElement("span",{className:"iconPDF tIcon"},n.createElement(au.A,null)),n.createElement("span",{className:"iconVID tIcon"},n.createElement(Dd.A,null)),o),c&&n.createElement("button",{onClick:m,className:"mt-btn mt-secondary-btn"},c))},su=e=>{let{mainIdeaTitle:t,mainIdeaImage:a,mainIdeaBullets:i,mainIdeaCtaLink:r,mainIdeaCtaText:l,mainIdeaSubTitle:o}=e;const[c,s]=n.useState([]);(0,n.useEffect)(()=>{i.length&&s(i.map(e=>({gridList:e})))},[i]);return n.createElement("section",{id:"mainIdea_wrapper",className:"marketingTemplateWrapper"},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{className:"leftImage itemGrid",item:!0,xs:12,md:6},n.createElement("img",{src:a,alt:t})),n.createElement(b.Ay,{className:"rightContent itemGrid",item:!0,xs:12,md:6},n.createElement(cu,{gridList:c,gridTitle:o,gridMiniTitle:t,gridPrimButton:l,onPrimaryButtonClick:()=>{r&&window.open(r,"_blank")}})))))},mu=e=>{let{featuredTitle:t,featuredImage:a,featuredSubTitle:i,featuredDescription:r,featuredArticleLink:l,featuredArticleCtaText:o,featuredDownloadAssetLink:c,featuredDownloadFileTypeText:s}=e;const m={None:"","Download PDF":"pdf","Watch Video":"video"},d=s&&(null===m||void 0===m?void 0:m[s])||m.None,u=c?s&&"None"!==s?s:"Download":"";return n.createElement("section",{id:"featureStudy_wrapper",className:"marketingTemplateWrapper"},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement(b.Ay,{container:!0,className:"gridContainer"},n.createElement(b.Ay,{className:"leftImage itemGrid",item:!0,xs:12,md:6},n.createElement(cu,{gridTitle:i,gridMiniTitle:t,gridBtnIcon:d,gridParagraph:r,gridPrimButton:u,gridSecondButton:o,onPrimaryButtonClick:()=>{c&&window.open(c,"_blank")},onSecondaryButtonClick:()=>{l&&window.open(l,"_blank")}})),n.createElement(b.Ay,{className:"rightContent itemGrid",item:!0,xs:12,md:6},n.createElement("img",{src:a,alt:t})))))};const du=function(e){let{previewData:t}=e;const[a,i]=(0,n.useState)(""),[r,l]=(0,n.useState)([]),[o,c]=(0,n.useState)({pageTitle:"",bannerImage:"",description:"",pageSubTitle:"",mainIdeaTitle:"",mainIdeaImage:"",mainIdeaCtaLink:"",mainIdeaCtaText:"",mainIdeaBullets:"",mainIdeaSubTitle:"",bannerSectionCard:[],featuredTitle:"",featuredImage:"",featuredSubTitle:"",featuredDescription:"",featuredArticleLink:"",featuredArticleCtaText:"",featuredDownloadAssetLink:"",featuredDownloadFileTypeText:null,articlesTitle:"",articlesButtonText:"",articlesButtonLink:""}),{pageTitle:s,bannerImage:m,description:u,pageSubTitle:p,mainIdeaTitle:g,mainIdeaImage:h,mainIdeaCtaLink:E,mainIdeaCtaText:y,mainIdeaBullets:b,mainIdeaSubTitle:f,bannerSectionCard:v,featuredTitle:A,featuredImage:N,featuredSubTitle:S,featuredDescription:w,featuredArticleLink:x,featuredArticleCtaText:_,featuredDownloadAssetLink:k,featuredDownloadFileTypeText:C,articlesButtonLink:T,articlesButtonText:I,articlesTitle:L}=o;return(0,n.useEffect)(()=>{document.title="Bright Research Research Studies | Bright MLS",t?c(t):(0,xt.c)(_t.Ro).then(e=>{c({...o,...e})}).catch(()=>{console.log("error")})},[t]),(0,n.useEffect)(()=>
1{if(m){const e=document.createElement("img");e.src=m,e.onerror=()=>{i(Td)},e.onload=()=>{i(m)}}else i(Td);b&&l(b.split("\n"))},[m,b]),n.createElement("div",{className:"mtMain"},n.createElement(d.m,null,n.createElement("body",{id:"researchStudiesRH",className:"researchHub aPage"})),n.createElement(lu,{pageTitle:s,description:u,pageSubTitle:p,bannerImage:a,bannerSectionCard:v}),n.createElement(su,{mainIdeaTitle:g,mainIdeaImage:h,mainIdeaCtaLink:E,mainIdeaCtaText:y,mainIdeaSubTitle:f,mainIdeaBullets:r}),n.createElement(mu,{featuredImage:N,featuredTitle:A,featuredSubTitle:S,featuredDescription:w,featuredArticleLink:x,featuredArticleCtaText:_,featuredDownloadAssetLink:k,featuredDownloadFileTypeText:C}),n.createElement(Nd,{mintBack:"mintBack",title:L,buttonUrl:T,buttonText:I}))},uu=e=>{let{page:t,data:a}=e;switch(t){case"bioPage":return a&&n.createElement(ns,null,n.createElement(Ld,{previewData:a}));case"researchHubHomePage":return a&&n.createElement(ns,null,n.createElement(kd,{previewData:a}));case"marketReports":return a&&n.createElement(ns,null,n.createElement(ru,{previewData:a}));case"newsInsights":return a&&n.createElement(ns,null,n.createElement(Xd,{previewData:a}));case"researchStudies":return a&&n.createElement(ns,null,n.createElement(du,{previewData:a}));case"weeklyStatisticsPage":return a&&n.createElement(ns,null,n.createElement(Jd,{previewData:a}));default:return n.createElement(is,{data:a})}};function pu(e){let{data:t}=e;return n.createElement(n.Fragment,null,n.createElement(Sr,null),n.createElement("div",{className:"app-container"},n.createElement("div",{className:"app-children-container",id:"app-children-containerId"},n.createElement(Ji,{homePreviewData:t})),n.createElement(Wr,{pageId:"layoutId",enableBack:!0})),n.createElement(Qi,null))}function gu(e){let{data:t}=e;return(0,H.xA)()?n.createElement(n.Fragment,null,n.createElement(Cr,null),n.createElement("div",{className:"app-container"},n.createElement("div",{className:"app-children-container",id:"app-children-containerId"},n.createElement(vi,{splashImage:null,popup:null,previewData:t})),n.createElement(Wr,{pageId:"layoutId",enableBack:!0})),n.createElement(Qo,null)):((0,H.T$)(),n.createElement("div",null))}function hu(e){let{data:t}=e;const a=(0,H.xA)();return n.createElement(n.Fragment,null,a?n.createElement(Cr,null):n.createElement(Sr,null),n.createElement("div",{className:"app-container"},n.createElement("div",{className:"app-children-container",id:"app-children-containerId"},a?n.createElement(vi,{splashImage:null,popup:null}):n.createElement(Ji,null)),n.createElement(Wr,{pageId:"layoutId",enableBack:!0})),n.createElement(Qi,{footerPreviewData:t}))}function Eu(e){let{data:t}=e;return(0,H.xA)()?n.createElement(n.Fragment,null,n.createElement(Cr,null),n.createElement("div",{className:"app-container"},n.createElement("div",{className:"app-children-container",id:"app-children-containerId"},n.createElement(vi,{splashImage:null,popup:null})),n.createElement(Wr,{pageId:"layoutId",enableBack:!0})),n.createElement(Qo,{footerPreviewData:t})):((0,H.T$)(),n.createElement("div",null))}function yu(e){let{data:t}=e;const a=(0,H.xA)();return n.createElement(n.Fragment,null,a?n.createElement(Cr,null):n.createElement(Sr,null),n.createElement(ql,{pressPreviewData:t}),n.createElement(Qi,null))}function bu(e){let{data:t}=e;return n.createElement(n.Fragment,null,n.createElement(Sr,{menuPreviewData:t}),n.createElement("div",{className:"app-container"},n.createElement("div",{className:"app-children-container",id:"app-children-containerId"},n.createElement(Ji,null)),n.createElement(Wr,{pageId:"layoutId",enableBack:!0})),n.createElement(Qi,null))}function fu(e){let{data:t}=e;const a=(0,H.xA)();return n.createElement(n.Fragment,null,a?n.createElement(Cr,null):n.createElement(Sr,null),n.createElement("div",{className:"app-container"},n.createElement("div",{className:"app-children-container",id:"app-children-containerId"},n.createElement(Rl,{articlePreviewData:t})),n.createElement(Wr,{pageId:"layoutId",enableBack:!0})),n.createElement(Qi,null))}function vu(e){let{data:t}=e;const a=(0,H.xA)();return n.createElement(n.Fragment,null,a?n.createElement(n.Fragment,null,n.createElement(Cr,{previewData:t}),n.createElement(vi,{splashImage:null,popup:null})):n.createElement(n.Fragment,null,n.createElement(Sr,{bannerPreviewData:t}),n.createElement(Ji,null)),n.createElement(Qi,null))}function Au(e){let{data:t}=e;return(0,H.xA)()?t?n.createElement(n.Fragment,null,n.createElement(Cr,null),n.createElement(Fr,{premiumPreviewData:t}),n.createElement(Qi,null)):n.createElement("div",null):((0,H.T$)(),n.createElement("div",null))}function Nu(e){let{data:t}=e;return(0,H.xA)()?t?n.createElement(n.Fragment,null,n.createElement(Cr,null),n.createElement(vi,{splashImage:t,popup:null}),n.createElement(Qi,null)):n.createElement("div",null):((0,H.T$)(),n.createElement("div",null))}function Su(e){let{data:t}=e;return(0,H.xA)()?t?n.createElement(n.Fragment,null,n.createElement(Cr,null),n.createElement(vi,{splashImage:null,popup:[t]}),n.createElement(Qi,null)):n.createElement("div",null):((0,H.T$)(),n.createElement("div",null))}function wu(e){let{data:t}=e;return n.createElement(n.Fragment,null,n.createElement(Cr,{megaMenuPreviewData:t}),n.createElement(vi,{splashImage:null,popup:null}),n.createElement(Qi,null))}function xu(e){let{page:t,data:a,pageTitle:i}=e;switch(t){case"Home":return n.createElement(pu,{data:a});case"dashboard":return n.createElement(gu,{data:a});case"footerLinks":return n.createElement(hu,{data:a});case"authenticatedFooterLinks":return n.createElement(Eu,{data:a});case"press-releases":return n.createElement(yu,{data:a});case"menu":return n.createElement(bu,{data:a});case"brightnewsArticles":return n.createElement(fu,{data:a});case"unauthenticated-banners":return n.createElement(vu,{data:a});case"PRODUCT":return n.createElement(Au,{data:a});case"brightMlsSplash":return n.createElement(Nu,{data:a});case"brightnewsPopUp":return n.createElement(Su,{data:a});case"megamenu":return n.createElement(wu,{data:a});case"join":return n.createElement(ns,null,n.createElement(Hr,{joinPreviewData:a}));case"newsLandingPage":return n.createElement(ns,null,n.createElement(ll,{newsPreviewData:a}));case"marketPulseModel":return n.createElement(ns,null,n.createElement(wl,{pulsePreviewData:a}));case"marketWeServeModel":return n.createElement(ns,null,n.createElement(Tl,{marketPreviewData:a}));case"benefits":return n.createElement(ns,null,n.createElement(Hl,{heroSectionHeadline:null===a||void 0===a?void 0:a.heroSectionHeadline,heroSectionSubHeadline:null===a||void 0===a?void 0:a.heroSectionSubHeadline,heroSectionCtaLink:null===a||void 0===a?void 0:a.heroSectionCtaLink,heroSectionCtaText:null===a||void 0===a?void 0:a.heroSectionCtaText,name:null===a||void 0===a?void 0:a.name,title:null===a||void 0===a?void 0:a.title,location:null===a||void 0===a?void 0:a.location,heroImage:null===a||void 0===a?void 0:a.heroImage,company:null===a||void 0===a?void 0:a.company,heroSectionAnchorId:null===a||void 0===a?void 0:a.heroSectionAnchorId,footerSection:null===a||void 0===a?void 0:a.footerSection,whatWeOfferSectionTitle:null===a||void 0===a?void 0:a.whatWeOfferSectionTitle,whatWeOfferSection:null===a||void 0===a?void 0:a.whatWeOfferSection,ctaLayerPosition:null===a||void 0===a?void 0:a.ctaLayerPosition,ctaLayer:null===a||void 0===a?void 0:a.ctaLayer}));case"resourceLanding":return n.createElement(ns,null,n.createElement(Xl,{resourcesPreviewData:a}));case"resource":return n.createElement(ns,null,n.createElement(io,{resourcePreviewData:a}));case"newsRoom":return n.createElement(ns,null,n.createElement(bo,{newsRoomPreviewData:a}));case"career":return n.createElement(ns,null,n.createElement(Co,{carrersPreviewData:a}));case"productLandingPage":return n.createElement(ns,null,n.createElement(Wo,{productPreviewData:a}));case"bcom3-product":return n.createElement(ns,null,n.createElement(Jo,{productPagePreviewData:a,pageTitle:i}));case"trainingLanding":return n.createElement(ns,null,n.createElement(tc,{trainingPreview:a}));case"eventLanding":return n.createElement(ns,null,n.createElement(rc,{EventLandingPreview:a}));case"centrecounty":return n.createElement(ns,null,n.createElement(fc,{centreCountyPreviewData:a}));case"valueofopenmarketplace":return n.createElement(zc,{openMarketPreviewData:a});default:return n.createElement(is,{data:a})}}function _u(){var e,t;
1const[a,i]=(0,n.useState)(null),{guid:r,spaceId:l}=(0,s.g)(),[o,c]=(0,n.useState)("");if((0,n.useEffect)(()=>{(0,Ve.t)(l,r).then(e=>{i(e)}).catch(e=>{console.log("err",e)})},[l,r]),(0,n.useEffect)(()=>{var e;if((null===a||void 0===a||null===(e=a.page)||void 0===e?void 0:e.indexOf("product-"))>-1){const e=a.page;c(e.replace("product-",""))}},[a]),(null===a||void 0===a||!a.page)&&(null===a||void 0===a||!a.data))return n.createElement(sa,null);let m=null===a||void 0===a?void 0:a.page;const d=null===a||void 0===a?void 0:a.data;return(null===(e=m)||void 0===e?void 0:e.indexOf("resource-"))>-1&&(m="resource"),(null===(t=m)||void 0===t?void 0:t.indexOf("product-"))>-1&&(m="bcom3-product"),_t.kT.includes(m)?n.createElement(uu,{data:d,page:m}):_t.JX.includes(m)?n.createElement(id,{data:d,page:m}):n.createElement(xu,{page:m,data:d,pageTitle:o})}class ku extends n.Component{render(){return n.createElement("li",null,this.props.label+" - "+this.props.value)}}const Cu=ku;class Tu extends n.Component{constructor(e){super(e),this.signout=e=>{e.preventDefault(),c.N.signOut().then(()=>{this.setState({user:null})}).catch(e=>console.log(e))},this.state={user:null,authState:"",credentials:null,update:!1}}componentDidMount(){o.Y.listen("auth",e=>{let{payload:{event:t,data:a}}=e;switch(t){case"signIn":this.setState({user:a,authState:"SignedIn",update:!0});break;case"signOut":this.setState({user:null})}}),c.N.currentAuthenticatedUser().then(e=>{this.setState({user:e,authState:"SignedIn",update:!0})}).catch(e=>{console.log(e)})}componentDidUpdate(e,t){t.update||this.state.update||c.N.currentAuthenticatedUser().then(e=>{this.setState({user:e,authState:"SignedIn",update:!0})}).catch(e=>{console.log(e)})}render(){const{user:e,authState:t}=this.state;if(!e)return n.createElement("p",null);const a=e&&e.signInUserSession&&e.signInUserSession.idToken&&e.signInUserSession.idToken.payload||{};return n.createElement("div",null,n.createElement(Nl.A,{maxWidth:"sm",style:{margin:"50px"}},n.createElement("div",{style:{display:"flex",flexDirection:"row",justifyContent:"space-between"}},n.createElement("div",null,"SignedIn"===t&&n.createElement("div",null,n.createElement("h4",{className:"usa-heading"},"Logged in as ",e&&e.username),n.createElement("h4",{className:"usa-heading"},"User Attributes"),n.createElement("div",{className:"usa-text-input-docs"},n.createElement("ul",null,Object.keys(a).map(e=>n.createElement(Cu,{key:e,label:e,value:a[e]})))))))))}}const Iu=Tu;function Lu(e){const{pathname:t}=(0,s.zy)(),{isUserAuthenticated:a}=(0,n.useContext)(kr.c);(0,n.useEffect)(()=>{window.scrollTo(0,0)},[]);const{rootClass:i="",id:r,children:l,hideFooter:o}=e,c=`app-layout ${i} `,m=t&&t.split("/")&&t.split("/")[1];return!m||"preview"!==m&&"logout"!==m&&"login"!==m&&"services"!==m&&"open"!==m?n.createElement(n.Fragment,null,n.createElement("div",{className:c,id:r||"layoutId"},a?n.createElement(Cr,null):n.createElement(Sr,null),n.createElement("main",null,n.createElement("div",{className:"app-container"},n.createElement("div",{className:"app-children-container",id:"app-children-containerId"},l),"password-and-security"===m||o?null:n.createElement(Wr,{pageId:r||"layoutId",enableBack:!0,pathName:m}))),a?!o&&n.createElement(Qo,null):!o&&n.createElement(Qi,null))):n.createElement("div",{className:c,id:r||"layoutId"},l)}const Bu=(0,q.A)(()=>({titleSpan:{fontSize:"14px !important",cursor:"pointer",color:X,maxHeight:"46px",lineHeight:"22.5px",textDecoration:"none",marginTop:"5px",fontWeight:600,wordWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",[ir.breakpoints.down("xs")]:{overflow:"hidden",textOverflow:"ellipsis",width:"200px"}},pressGrid:{padding:"10px 0",marginBottom:"5px",[ir.breakpoints.down("xs")]:{paddingLeft:"0px"},[ir.breakpoints.down("md")]:{paddingLeft:"10px"}},pressFeeder:{fontSize:"13px",fontWeight:be,color:le,textTransform:"uppercase",paddingBottom:"20px",[ir.breakpoints.down("xs")]:{paddingLeft:"10px"},[ir.breakpoints.down("sm")]:{paddingLeft:"10px"}},brightNews:{fontSize:"12px",fontWeight:fe,color:Y,textTransform:"uppercase",cursor:"pointer",paddingLeft:"0px",textDecoration:"none",[ir.breakpoints.down("xs")]:{paddingLeft:"10px",marginBottom:"30px"}},brightNewsIcon:{color:Y,cursor:"pointer"},authorName:{color:se,textAlign:"center",fontSize:"11px",fontWeight:fe,textTransform:"uppercase"},headerTitle:{fontSize:"40px !important",fontWeight:fe}
1,addThisSection:{marginTop:"15px"}})),Du=(0,q.A)(()=>({brightNews:{fontSize:"12px",fontWeight:fe,color:Y,textTransform:"uppercase",cursor:"pointer",paddingLeft:"5px",textDecoration:"none",[ir.breakpoints.down("md")]:{paddingLeft:"20px"},[ir.breakpoints.down("sm")]:{paddingLeft:"0px",marginBottom:"30px",marginTop:"20px"},[ir.breakpoints.down("xs")]:{paddingLeft:"0px",marginBottom:"30px",marginTop:"20px"}},brightNewsIcon:{color:Y,cursor:"pointer",[ir.breakpoints.down("sm")]:{marginTop:"20px"},[ir.breakpoints.down("xs")]:{marginTop:"20px"}}}));var Mu=a(41187);function Pu(){const e=rr(),t=Bu(),a=Du(),{id:i}=(0,s.g)(),[r,l]=(0,n.useState)(null),[o,c]=(0,n.useState)(null),[d,u]=(0,n.useState)(null),[p,g]=(0,n.useState)(null),h=(0,s.Zp)();return(0,n.useEffect)(()=>{(0,H.eG)(),(0,Ve.AZ)("associationnews",i).then(e=>{document.title=`${e.title} | Bright MLS`,e?(l(e),c((0,H.pp)(e.startDate)),u((0,H.FS)(e.startDate)),g((0,H.Cp)(e.startDate))):l(void 0)}).catch(e=>{e.statusCode===_t.Kr?l(void 0):e.statusCode===_t.dq?h("/dashboard"):l(null)})},[i,h]),(0,n.useEffect)(()=>{(0,H.Mt)()},[]),n.createElement("div",{className:`${e.margin20Root} detail-news-container`,id:"associationDetailId"},n.createElement(b.Ay,{container:!0,className:"static-content"},n.createElement(b.Ay,{item:!0,xs:12,md:2,sm:3},r&&n.createElement("div",{className:"socialPostDate"},n.createElement("ul",null,n.createElement("li",null,r&&n.createElement(W.A,{id:"postDateId",variant:"body1","aria-level":1,role:"heading",className:e.postInfoDate},o)),n.createElement("li",null,r&&n.createElement(W.A,{variant:"body2",id:"postMonthId",className:e.postInfoMonth},d)),n.createElement("li",null,r&&n.createElement(W.A,{variant:"body1",id:"postYearId",className:e.postInfoYear},p)))),r&&n.createElement(W.A,{className:t.authorName,id:"authorNameId"},`${r.authorFirstName?r.authorFirstName:""} ${r.authorLastName?r.authorLastName:""}`)),n.createElement(b.Ay,{item:!0,xs:12,md:7,sm:9,className:"content-container"},r&&r.body?n.createElement(n.Fragment,null,n.createElement(W.A,{variant:"h2",className:t.headerTitle,id:"associationDetailNewsTitle"},r.title),n.createElement(b.Ay,{id:"postContentId",className:"post-content",dangerouslySetInnerHTML:(0,H.R2)(r&&r.body)})):void 0===r?n.createElement(_i,null):""),n.createElement(b.Ay,{item:!0,xs:12,md:3,className:"mlsNewsContainer"},r&&n.createElement(b.Ay,{container:!0,direction:"row"},n.createElement(m.N_,{to:`/articles?filter=${r&&r.code[0]&&r.code[0]||""}`,className:`${a.brightNews} bright-news-link`,"aria-label":"all association news",id:"allAssociationNewsId"},"ALL ASSOCIATION NEWS"),n.createElement(m.N_,{to:`/articles?filter=${r&&r.code[0]&&r.code[0]||""}`,className:`${a.brightNewsIcon} bright-news-icon`,"aria-label":"all association news",id:"allAssociationNewsLinkId"},n.createElement(b.Ay,{className:"icon-container"},n.createElement(Mu.A,{fontSize:"small"})))))))}const Ru=(0,q.A)(e=>{var t,a,n,i,r,l;return{leftHeading:{fontWeight:be,[null===(t=e.breakpoints)||void 0===t||null===(a=t.down)||void 0===a?void 0:a.call(t,"xs")]:{fontSize:"15px !important",margin:"auto 0 !important"}},rightHeading:{background:Y},newsButton:{fontWeight:Ne,background:Y,color:J,cursor:"pointer",fontSize:"13px !important",[null===(n=e.breakpoints)||void 0===n||null===(i=n.down)||void 0===i?void 0:i.call(n,"xs")]:{fontSize:"11px !important",width:"auto !important"}},arrowIcon:{[null===(r=e.breakpoints)||void 0===r||null===(l=r.down)||void 0===l?void 0:l.call(r,"xs")]:{display:"inline-block !important"}}}}),Ou=Ru;var Uu=a(14371),Fu=a(13384);a(75898);function $u(e){const{onEventDateChange:t,eventDate:a,placeHolder:i}=e,[r,l]=(0,n.useState)(a);return n.createElement("div",null,n.createElement(Va(),{selected:r,onChange:e=>{l(e),t(e)},placeholderText:i}))}function Wu(e){const t=new Date,a=new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds()),{onDateChange:i,startDate:r,endDate:l}
1=e,[o,c]=(0,n.useState)(r||a),[s,m]=(0,n.useState)(l||ym()(a).add(1,"days").toDate()),d=a;return n.createElement(n.Fragment,null,n.createElement(Va(),{selected:o,onChange:e=>{c(e),o>s&&m(e),i(ym()(e),ym()(s))},minDate:d,selectsStart:!0,startDate:o,endDate:s,placeholderText:"Start Date"}),n.createElement(Va(),{selected:s,onChange:e=>{m(e),i(ym()(o),ym()(e))},selectsEnd:!0,startDate:o,endDate:s,minDate:o<d?d:o,placeholderText:"End Date"}))}var Hu=a(33001);const ju=(0,Ye.Ay)(n.forwardRef(function(e,t){return n.createElement(_a.A,Object.assign({},e,{ref:t,classes:{popper:e.className}}))}))(e=>{let{theme:t}=e;return{[`& .${Hu.A.tooltip}`]:{backgroundColor:t.palette.common.white,color:"rgba(0, 0, 0, 0.87)",boxShadow:t.shadows[1],fontSize:11}}}),zu=ju;function Vu(e){const{pinStatus:t,onPinChangeStatus:a,buttonStatus:i,onPostNews:r,associationName:l,buttonLabel:o,onEventDateChange:c,eventDate:s,date:m,onDateChange:d}=e;return n.createElement(n.Fragment,null,n.createElement("div",{className:"date_picker_container",id:"date_picker_container_id"},n.createElement("div",{className:"pin_container",id:"pin_container_id"},n.createElement(xm.A,{checked:t,className:"root",onChange:a,name:"Pin",id:"pin_checkbox_id",inputProps:{"aria-label":"pinned checkbox"}}),n.createElement("div",{className:"pin_news"},n.createElement(Nm.g,{icon:Sm.vJC}),"Pin This Article",n.createElement(zu,{title:_t.zQ,id:"tooltip_id",disableFocusListener:!0,placement:"top-start",arrow:!0},n.createElement(Fu.A,{id:"help_out_icon_id",fontSize:"large"})))),n.createElement("div",{className:"primary-association-name",id:"primary-association-name_id"},l),n.createElement(Wu,{onDateChange:d,startDate:"add"===o?null:m[0]._d,endDate:"add"===o?null:m[1]._d}),n.createElement(P.A,{className:i?"disable_button":"update_button",onClick:r,id:"post_button_id"},"add"===o?"Post":"Update")),n.createElement("div",{className:"datepicker-view"},n.createElement($u,{onEventDateChange:c,eventDate:"add"===o||""==s?null:new Date(new Date(s).getTime()+144e5),placeHolder:"Event Date"})))}var Gu=a(12525);function qu(e){const{pinStatus:t,onPinChangeStatus:a,onDateChange:i,buttonStatus:r,date:l,onPostNews:o,associationName:c,handleTooltipClose:s,handleTooltipOpen:m,open:d,buttonLabel:u,onEventDateChange:p,eventDate:g}=e;return n.createElement("div",{className:"date_picker_container_mobile"},n.createElement("div",{className:"title_and_date_container"},n.createElement("div",{className:"primary-association-name",id:"primary-association-name_id"},c),n.createElement(Wu,{onDateChange:i,startDate:"add"===u?null:l[0]._d,endDate:"add"===u?null:l[1]._d}),n.createElement("div",{className:"datepicker-view-mobile"},n.createElement($u,{onEventDateChange:p,eventDate:"add"===u||""==g?null:new Date(new Date(g).getTime()+144e5),placeHolder:"Event Date"}))),n.createElement("div",{className:"pin_news_and_post_button_container"},n.createElement("div",{className:"pin_container_mobile",id:"pin_container_id"},n.createElement(xm.A,{checked:t,className:"root",onChange:a,name:"Pin",id:"pin_checkbox_id"}),n.createElement("div",{className:"pin_news_mobile"},n.createElement(Nm.g,{icon:Sm.vJC}),"Pin This Article",n.createElement("span",null,n.createElement(Gu.x,{onClickAway:s},n.createElement(zu,{arrow:!0,title:_t.zQ,id:"tooltip_id",PopperProps:{disablePortal:!0},onClose:s,open:d,disableFocusListener:!0,disableHoverListener:!0,disableTouchListener:!0},n.createElement(Fu.A,{placement:"top-start",id:"help_out_icon_id",onClick:()=>m(d)})))))),n.createElement(P.A,{className:r?"disable_button_mobile":"update_button_mobile",onClick:o,id:"post_button_id"},"add"===u?"Post":"Update")))}function Yu(e){return e.replace(/(<([^>]+)>)/gi,"").replace(/&nbsp;/g," ").replace(/[\t\n\r]/gm,"").length}function Ku(e){return n.createElement(n.Fragment,null,e.displaySuccessMessage&&n.createElement("div",{className:"success-msg",id:"success-msg_id","aria-label":"success-msg"},n.createElement("p",{id:"association_news_error_msg_id"},"add"===e.buttonLabel?_t.eH:_t.aP)),n.createElement(Ca.A,{fullWidth:!0,variant:"outlined",value:e.title,className:"association_news_textbox",placeholder:"Post News For Your Association",onChange:e.onTitleChange,id:"association_news_title_id",inputProps:{"aria-label":"association news checkbox"}}),n.createElement(Uu.aF,{initData:e.data,onChange:e.onEditorChange,config:{countSpace
1sAsChars:!0,toolbarLocation:"bottom",embed_provider:"//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}",autoEmbedWidget:"customEmbed",extraPlugins:"maximize,justify,embed,autoembed",removePlugins:"elementspath",resizeEnabled:!0,height:230,toolbar:[["Bold","Italic","Underline","BulletedList","JustifyLeft","JustifyCenter","JustifyRight","JustifyBlock","Link","Unlink"],["Embed"],["FontSize","Maximize"]],versionCheck:!1}}),n.createElement("label",{className:"maxCharLabel",id:"max_char_label_id"},Yu(e.data)," of 4000"),e.contentValidationMsg?n.createElement("span",{className:"contentValidationMsg"},"4000 characters maximum"):null,zt()?n.createElement(qu,{handleTooltipClose:e.handleTooltipClose,pinStatus:e.pinStatus,onPinChangeStatus:e.onPinChangeStatus,onDateChange:e.onDateChange,buttonStatus:e.buttonStatus,date:e.date,onPostNews:e.onPostNews,associationName:e.associationName,handleTooltipOpen:e.handleTooltipOpen,open:e.open,buttonLabel:e.buttonLabel,onEventDateChange:e.onEventDateChange,eventDate:e.eventDate}):n.createElement(Vu,{pinStatus:e.pinStatus,onPinChangeStatus:e.onPinChangeStatus,onDateChange:e.onDateChange,buttonStatus:e.buttonStatus,date:e.date,onPostNews:e.onPostNews,associationName:e.associationName,buttonLabel:e.buttonLabel,onEventDateChange:e.onEventDateChange,eventDate:e.eventDate}))}var Ju=a(48228);function Qu(e){const[t,a]=(0,n.useState)(!1),[i,r]=(0,n.useState)(e.officeList),[l,o]=n.useState(e.officeList),[c,s]=n.useState({"To all offices":!1}),[m,d]=(0,n.useState)("To all offices"),u=()=>{a(!t)},p=t=>{if(l){const a=[...l],n=a.findIndex(e=>e.officeMlsId===t.target.name);a[n].isPrimaryOffice=t.target.checked,t.target.checked&&e.onOfficeSelectMessage(!1);let i=0;if(a&&a.length>0){for(let e=0;e<a.length;e++)a[e].isPrimaryOffice&&i++;i===a.length?s({...c,"To all offices":!0}):s({...c,"To all offices":!1})}o(a)}};(0,n.useEffect)(()=>{(()=>{let t=0;if(l&&l.length>0){for(let e=0;e<l.length;e++)l[e].isPrimaryOffice&&t++;if(0===t)d("No office selected"),e.onOfficeSelectMessage(!0);else{if(t===l.length)return d("To all offices"),e.onOfficeSelectMessage(!1),s({...c,"To all offices":!0}),null;d(`To ${t} office/s`),e.onOfficeSelectMessage(!1)}}})()},[l]);const g=e=>{if(l){const t=[...l];for(let a=0;a<t.length;a++)t[a].isPrimaryOffice=e;o(t)}};return n.createElement(n.Fragment,null,l&&l.length>0&&n.createElement("div",{id:"select_offices_drop_down_id"},n.createElement("div",{className:"select-offices",tabIndex:0,onClick:()=>u(),id:"select_offices_id"},m,n.createElement(Nm.g,{title:"open pull down",icon:Sm.xBV,id:"fa_caret_down_id",focusable:!0,fontSize:"25px",tabIndex:0,onKeyPress:()=>u()})),t&&n.createElement("div",{className:"for-offices offices-wrap",id:"for-offices offices-wrap_id"},n.createElement("div",{className:"searchbox"},n.createElement("input",{type:"text",name:"",className:"input-search-office",placeholder:"Search Offices",id:"office_search_box_id",autoComplete:"off",onChange:e=>{(e=>{let t=l;t&&t.length>-1&&(t=t.filter(function(t){return-1!==(t.officeName+" "+t.officeCity+" "+t.officeStateOrProvince+" "+t.officeAddress1).toLowerCase().search(e.target.value.toLowerCase())}),""===e.target.value?r(l):r(t))})(e)}}),n.createElement(Nm.g,{icon:Sm.MjD,id:"search_icon_id"})),n.createElement("div",{className:"offices-list-inner"},n.createElement("label",{className:"office-item",id:"office_item_id"},n.createElement(wm.A,{control:n.createElement(xm.A,{name:"To all offices",color:"primary",onChange:t=>{s({...c,"To all offices":t.target.checked}),t.target.checked?(g(t.target.checked),e.onOfficeSelectMessage(!1)):(g(t.target.checked),e.onOfficeSelectMessage(!0))},checked:c["To all offices"]}),label:"To all offices",id:"To all offices_id"})),i&&i.length>0&&i.map((e,t)=>{const a=`${e.officeName}<br>${e.officeCity} , ${e.officeStateOrProvince}<br>${e.officeAddress1}`;return n.createElement("label",{className:"office-item",key:t,id:`office_item_id_${t}`},n.createElement(Ju.A,null,n.createElement(wm.A,{control:n.createElement(xm.A,{name:`${e.officeMlsId}`,color:"primary",onChange:p,checked:e.isPrimaryOffice,id:`office_item_checkbox_id_${t}`}),label:n.createElement("div",{dangerouslySetInnerHTML:{__html:a}})})))})),n.createElement(P.A,{className:"apply-office",type:"submit",fullWidth:!0,onClick:()=>{r(l);const n=[];if(l&&l.length>0)for(let e=0;e<l.length;e++)l[e].isPrimaryOffice&&n.push(l[e].officeMlsId);a(!t),e.onApplyButtonClick(n)},id:"office_apply_button_id"},"Apply"))))}function Xu(e){const{buttonStatus:t,date:a,onOfficeSelectMessage:i,buttonLabel:r,onApplyButtonClick:l,officeList:o,onDateChange:c}=e;return n.createElement("div",{className:"datepicker_and_select_container",id:"datepicker_and_select_container_id"},n.createElement(Wu,{onDateChange:c,startDate:"add"===r?null:a[0]._d,endDate:"add"===r?null:a[1]._d}),o&&o.length>0&&n.createElement(Qu,{onOfficeSelectMessage:i,onApplyButtonClick:l,officeList:o}),n.createElement(P.A,{className:t?"disable_button":"update_button",onClick:e.onPostOfficeNews,id:"add_update_office_news_id"},"add"===r?"Post":"Update"))}function Zu(e){return n.createElement(n.Fragment,null,e.displaySuccessMessage&&n.createElement("div",{className:"success-msg",id:"success-msg_id","aria-label":"success-msg"},n.createElement("p",null,"add"===e.buttonLabel?_t.p_:_t.R5)),e.displayErrorMessage&&n.createElement("div",{className:"error-msg",id:"error-msg_id","aria-label":"error-msg"},n.createElement("p",null,_t._W)),n.createElement(Ca.A,{fullWidth:!0,variant:"outlined",value:e.title,className:"association_news_textbox",placeholder:"Post News For Your Offices",id:"office_news_title_id",inputProps:{"aria-label":"office news checkbox"},onChange:e.onTitleChange}),n.createElement(Uu.aF,{initData:e.data,onChange:e.onEditorChange,config:{toolbarLocation:"bottom",embed_provider:"//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}",autoEmbed_widget:"customEmbed",extraPlugins:"maximize,justify,embed,autoembed",removePlugins:"elementspath",resize_enabled:!1,height:230,undoStackSize:50,toolbar:[["Bold","Italic","Underline","BulletedList","JustifyLeft","JustifyCenter","JustifyRight","JustifyBlock","Link","Unlink"],["Embed"],["FontSize","Maximize"]],versionCheck:!1}}),n.createElement("label",{className:"maxCharLabel",id:"max_char_label_id"},Yu(e.data)," of 4000"),e.contentValidationMsg?n.createElement("span",{className:"contentValidationMsg"}
1,"4000 characters maximum"):null,e.officeList&&e.officeList.length>0&&n.createElement(Xu,{onDateChange:e.onDateChange,buttonStatus:e.buttonStatus,onPostOfficeNews:e.onPostOfficeNews,buttonLabel:e.buttonLabel,date:e.date,onOfficeSelectMessage:e.onOfficeSelectMessage,onApplyButtonClick:e.onApplyButtonClick,officeList:e.officeList,codes:e.codes,onEventDateChange:e.onEventDateChange}))}function ep(e){var t,a;const[i,r]=(0,n.useState)(e.editorData),[l,o]=(0,n.useState)(!0),[c,s]=(0,n.useState)([e.startDate,e.endDate]),[m,d]=(0,n.useState)(!1),[u,p]=(0,n.useState)(e.title),[g,h]=(0,n.useState)(e.pinned),[E,y]=(0,n.useState)([]),[b,f]=(0,n.useState)(!1),[v,A]=(0,n.useState)(!1),[N,S]=(0,n.useState)(!1),[w,x]=(0,n.useState)(""),[_,k]=(0,n.useState)((()=>{var t;return"add"!==e.buttonLabel&&null!==(t=e.selectedNews)&&void 0!==t&&t.eventDate?e.selectedNews.eventDate:""})()),[C,T]=(0,n.useState)({title:u,body:i,plainTextBody:null,startDate:null!=c[0]?(0,H.Ie)(c[0]):null,endDate:null!=c[1]?(0,H.Ie)(c[1]):null,published:!1,code:"association_news"===e.type?[e.associationCode]:e.codes,contentId:null,newsId:null,authorLastName:null,authorFirstName:null,pinned:!1,eventDate:_?(0,H.Ie)(_):null}),[I,L]=(0,n.useState)({title:e.selectedNews&&e.selectedNews.title,body:e.selectedNews&&e.selectedNews.body,plainTextBody:e.selectedNews&&e.selectedNews.plainTextBody,startDate:e.selectedNews&&ym()(e.selectedNews.startDate).format("YYYY-MM-DD"),endDate:e.selectedNews&&ym()(e.selectedNews.endDate).format("YYYY-MM-DD"),published:e.selectedNews&&e.selectedNews.published,code:"association_news"===e.type?[e.associationCode]:e.codes,contentId:e.selectedNews&&e.selectedNews.contentId,newsId:e.selectedNews&&e.selectedNews.contentId,authorLastName:e.selectedNews&&e.selectedNews.authorLastName,authorFirstName:e.selectedNews&&e.selectedNews.authorFirstName,pinned:null===(t=e.selectedNews)||void 0===t?void 0:t.pinned,eventDate:null===(a=e.selectedNews)||void 0===a?void 0:a.eventDate});function B(){return"association_news"===e.type?""!==i&&""!==u&&c&&null!=c[0]&&null!=c[1]&&"invalid"!=w?(o(!1),!0):(o(!0),!1):""!==i&&""!==u&&c&&null!=c[0]&&null!=c[1]&&(E.length>0||!b)?(o(!1),!0):(o(!0),!1)}function D(t){if(Yu(t.editor.getData())>4e3)return A(!0),t.editor.on("key",function(){t.editor.execCommand("undo")}),void t.editor.on("blur",function(){t.editor.execCommand("undo")});t.editor.fire("updateSnapshot"),r(t.editor.getData()),A(!1),d(!1),"add"===e.buttonLabel?T({...C,body:t.editor.getData()}):L({...I,code:e.selectedNews.code,contentId:e.selectedNews.contentId,newsId:e.selectedNews.contentId,body:t.editor.getData()})}(0,n.useEffect)(()=>{B()},[C,I]);const M=t=>{x(t?"valid":"invalid");let a=t&&(0,H.Ie)(t);"add"===e.buttonLabel?(k(a),T({...C,eventDate:a})):L({...I,code:e.selectedNews.code,contentId:e.selectedNews.contentId,newsId:e.selectedNews.contentId,eventDate:a})};function P(t,a){const n=new Date,i=new Date(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()),r=ym()(i),l=ym()(i).add(1,"days"),o=t||r,c=a||l,m=(0,H.sI)(o._d,c._d),u=(0,H.Ie)(o._d),p=(0,H.Ie)(c._d);s(m),d(!1),"add"===e.buttonLabel?T({...C,startDate:u,endDate:p}):L({...I,code:e.selectedNews.code,contentId:e.selectedNews.contentId,newsId:e.selectedNews.contentId,startDate:u,endDate:p})}function R(t){p(t.target.value),d(!1),"add"===e.buttonLabel?C.title=t.target.value:L({...I,code:e.selectedNews.code,contentId:e.selectedNews.contentId,newsId:e.selectedNews.contentId,title:t.target.value})}const[O,U]=n.useState(!1);return n.createElement(n.Fragment,null,N?sa():"","association_news"===e.type?n.createElement(Ku,{buttonStatus:l,displaySuccessMessage:m,handleTooltipOpen:e=>{U(!e)},handleTooltipClose:()=>{U(!1)},open:O,onPinChangeStatus:function(t){h(t.target.checked),"add"===e.buttonLabel?T({...C,pinned:t.target.checked}):L({...I,code:e.selectedNews.code,contentId:e.selectedNews.contentId,newsId:e.selectedNews.contentId,pinned:t.target.checked})},onPostNews:function(t){if("add"===e.buttonLabel){if(!B())return null;o(!0),a=C,S(!0),(0,Ve.o3)(a).then(t=>{d(!0),o(!1),e.getAssociationNewsAPI();const a=setTimeout(()=>{e.handleClose(!1)},1e3);return S(!1),()=>clearTimeout(a)}).catch(()=>{o(!1),S(!1)})}else{if(!B())return null;o(!0),function(t){S(!0),(0,Ve.H2)(t).then(()=>{d(!0),o(!1),e.getAssociationNewsAPI();const t=setTimeout(()=>{e.handleClose(!1)},1e3);return S(!1),()=>clearTimeout(t)}).catch(()=>{S(!1),o(!1)})}(I)}var a},onTitleChange:R,onDateChange:P,pinStatus:g,data:i,onEditorChange:D,date:c,associationName:e.associationName,associationCode:e.associationCode,isPublished:e.isPublished,getAssociationNewsAPI:e.getAssociationNewsAPI,title:u,buttonLabel:e.buttonLabel,selectedNews:e.selectedNews,contentValidationMsg:v,onEventDateChange:M,eventDate:_}):n.createElement(Zu,{buttonStatus:l,displaySuccessMessage:m,open:O,onPostOfficeNews:function(t){if("add"===e.buttonLabel){if(!B())return null;o(!0),a=C,S(!0),(0,Ve.Ds)(a).then(t=>{e.getOfficeNewsAPI(),d(!0),o(!1);const a=setTimeout(()=>{e.handleClose(!1)},1e3);return S(!1),()=>clearTimeout(a)}).catch(()=>{S(!1),o(!1)})}else{if(!B())return null;o(!0),function(t){S(!0),(0,Ve.G3)(t).then(t=>{d(!0),o(!1),e.getOfficeNewsAPI();const a=setTimeout(()=>{e.handleClose(!1)},1e3);return S(!1),()=>clearTimeout(a)}).catch(()=>{S(!1),o(!1)})}(I)}var a},onTitleChange:R,onDateChange:P,data:i,onEditorChange:D,date:c,title:u,buttonLabel:e.buttonLabel,onOfficeSelectMessage:function(e){f(e),e&&T({...C,code:[]})},onApplyButtonClick:function(t){y(t),"add"===e.buttonLabel?T({...C,code:t}):L({...I,code:t})},selectedOfficeCodes:E,displayErrorMessage:b,codes:e.codes,officeList:e.officeList,contentValidationMsg:v,selectedNews:e.selectedNews,onEventDateChange:M,eventDate:_}))}class tp extends n.Component{constructor(){super(...arguments),this.state={open:this.props.popupStatus},this.handleClickOpen=()=>{this.setState({open:!0})},this.handleClose=e=>{this.setState({open:!1}),this.props.showRichTextPop(e,!1,this.props.buttonLabel)},this.handleCloseOnKeyPress=e=>{if(13===e.keyCode){this.setState({open:!1});const t=setTimeout(()=>{this.props.showRichTextPop(e,!1,this.props.buttonLabel)},500);return()=>clearTimeout(t)}},this.handleDeleteModal=e=>{this.setState({open:!1});const t=setTimeout(()=>{this.props.showRichTextPop(e,!1,this.props.buttonLabel),this.props.deleteModal(!0)},500);return()=>clearTimeout(t)}}render(){const{buttonLabel:e,associationName:t,associationCode:a,isPublished:i,getAssociationNewsAPI:r,selectedNews:l}=this.props,o=new Date,c=new Date(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()),s=ym()(c),m=ym()(c).add(1,"days");return n.createElement("div",null,n.createElement(R.A,{fullWidth:!1,maxWidth:"md",id:"rich_text_editor_dialog_id",disableEnforceFocus:!0,open:this.state.open},n.createElement("div",{className:"Rich_text_editor_dialog_Width"},n.createElement(O.A,{id:"association-dialog-title-id",className:"association_dialog_title"},n.createElement("div",{className:"form_header",id:"form_header_id"},n.createElement("div",null,n.createElement("span",{onClick:this.handleClose,onKeyDown:this.handleCloseOnKeyPress,tabIndex:0,className:"close_icon"},n.createElement(Nm.g,{title:"close association news",icon:Sm.GRI,color:"black"})),"add"===e?_t.si:_t.jI),"edit"===e&&n.createElement("div",{className:"delete_icon",id:"delete_icon_id",onClick:this.handleDeleteModal,onKeyPress:this.handleDeleteModal},n.createElement("span",{tabIndex:0,className:"delete_svg"},n.createElement(Nm.g,{title:"delete office news",icon:Sm.BeE,color:"black"}),n.createElement("span",{className:"delete_title"},"DELETE"))))),n.createElement(U.A,{className:"rich_text_dialog_content",id:"rich_text_dialog_content"},n.createElement(ep,{handleClose:this.handleClose,associationName:t,associationCode:a,isPublished:i,getAssociationNewsAPI:r,editorData:"add"===e?"":l.body,title:"add"===e?"":l.title,pinned:"add"!==e&&l.pinned,startDate:"add"===e?s:ym()(l.startDate),endDate:"add"===e?m:ym()(l.endDate),buttonLabel:e,selectedNews:l,type:"association_news"})))))}}var ap=a(60053);class np extends n.Component{constructor(){super(...arguments),this.state={open:this.props.popupStatus,codes:[]},this.setCodesByDefault=()=>{const e=[];
1if(this.props.officeList&&this.props.officeList.length>0){for(let t=0;t<this.props.officeList.length;t++)this.props.officeList[t].isPrimaryOffice&&e.push(this.props.officeList[t].officeMlsId);this.setState({codes:e})}},this.handleCloseOfficeNews=e=>{this.setState({open:!1}),this.props.showRichTextPop(e,!1,this.props.buttonLabel)},this.handleCloseOnKeyPressOfficeNews=e=>{if(13===e.keyCode){this.setState({open:!1});const t=setTimeout(()=>{this.props.showRichTextPop(e,!1,this.props.buttonLabel)},500);return()=>clearTimeout(t)}},this.handleDeleteModal=e=>{this.setState({open:!1});const t=setTimeout(()=>{this.props.showRichTextPop(e,!1,this.props.buttonLabel),this.props.deleteModal(!0)},500);return()=>clearTimeout(t)}}componentDidMount(){this.setCodesByDefault()}render(){const{buttonLabel:e,isPublished:t,getOfficeNewsAPI:a,selectedNews:i}=this.props,r=new Date,l=new Date(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()),o=ym()(l),c=ym()(l).add(1,"days");return n.createElement("div",null,n.createElement(R.A,{fullWidth:!1,maxWidth:"md",id:"rich_text_editor_dialog_office_news_id",disableEnforceFocus:!0,open:this.state.open},n.createElement("div",{className:"Rich_text_editor_dialog_Width"},n.createElement(O.A,{id:"office-dialog-title-id",className:"association_dialog_title"},n.createElement(b.Ay,{container:!0,justifyContent:"space-between",className:"form_header",id:"form_header_id"},n.createElement(b.Ay,{item:!0,className:"office-news-left-wrapper"},"add"===e?_t.je:_t.ig),n.createElement(b.Ay,{item:!0,className:"office-news-right-wrapper"},"edit"===e&&n.createElement("div",{className:"delete_icon",id:"delete_icon_id",onClick:this.handleDeleteModal,onKeyPress:this.handleDeleteModal},n.createElement("span",{tabIndex:0,className:"delete_svg"},n.createElement(Nm.g,{title:"delete office news",icon:ap.yL,color:"black"}),n.createElement("span",{className:"delete_title"},"DELETE"))),n.createElement("span",{onClick:this.handleCloseOfficeNews,onKeyDown:this.handleCloseOnKeyPressOfficeNews,tabIndex:0,className:"close_icon"},n.createElement("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAEkSURBVHgBpZWxDcIwEEXvO8oeaZEoaBiADaCjJB0j0UFJCROwACUFZUagRELE2E4iIHHiO+dLCDjO74GJcyCT5XqTaaR76Fd+Oh4KGpE2C66g0ov5LDOPAuVrESvxsZRO0n1dsHENtpGEacErlvklCu8kJ43ip1cs8cDJMqGTHFXD1tjKC0FnP+tY29UPV2btrsC3US4Jwe1b/C/gSzjwjoAr4cK9gpDEsZjwXsGQpH5mwQcFAxLiwoOCQQkDbqMomKf5GrpbdrVncHVgizxXy3+ChxEieHNLERxGSOB2z6uX/BMPCbz5QyUnHlL4t5cnQQxcIkEsnCvBGDhH0h6ZYriNGyz2CmtPxs7IjID3SuqRmdxv18dkOj8TlTNTWMXAm/hYH8szd3lu9xKlAAAAAElFTkSuQmCC",alt:"close"}))))),n.createElement(U.A,null,this.state.open&&this.props.officeList&&this.props.officeList.length>0&&n.createElement(ep,{handleClose:this.handleCloseOfficeNews,isPublished:t,getOfficeNewsAPI:a,editorData:"add"===e?"":i.body,title:"add"===e?"":i.title,pinned:"add"!==e&&i.pinned,startDate:"add"===e?o:ym()(i.startDate),endDate:"add"===e?c:ym()(i.endDate),buttonLabel:e,selectedNews:i,open:this.state.open,codes:"add"===e?this.state.codes:i.code,officeList:this.props.officeList})))))}}const ip=e=>{const t=Ou(),{type:a,isPublished:i,newsCode:r,popupStatus:l,showRightContentMobile:o,onClick:c,newsName:s,getNewsAPI:m,buttonLabel:d,selectedNews:u,setValue:p,getOfficeNewsAPI:g,officeList:h}=e;return n.createElement("div",{className:"header"},n.createElement("div",{className:"header-title"},o?n.createElement(Nm.g,{onClick:()=>c(!1),id:"left-arrow-icon",className:"arrow-icon "+t.arrowIcon,icon:Sm.CeG}):"",n.createElement("h1",{id:"news-heading",className:"heading-left "+t.leftHeading},a)),n.createElement("div",{className:"news-heading-right"},n.createElement(P.A,{onClick:t=>{e.showRichTextPop(t,!0,"add")},variant:"contained",className:"orange_button_With_icon",id:"add-news-button",startIcon:n.createElement(Nm.g,{icon:Sm.QLR})},a),l&&"Association News"===a&&n.createElement(tp,{type:a,ButtonClassName:t.newsButton,associationName:s,popupStatus:l,showRichTextPop:e.showRichTextPop,getAssociationNewsAPI:m,isPublished:i,associationCode:r,buttonLabel:d,selectedNews:u,deleteModal:p}),l&&"Office News"===a&&h&&h.length>0&&n.createElement(np,{type:a,ButtonClassName:t.newsButton,popupStatus:l,showRichTextPop:e.showRichTextPop,getAssociationNewsAPI:m,isPublished:i,associationCode:r,buttonLabel:d,selectedNews:u,deleteModal:p,getOfficeNewsAPI:g,office
1List:h})))},rp=(0,q.A)(e=>{var t,a,n,i,r,l,o,c,s,m;return{leftSideBar:{background:Z,[null===(t=e.breakpoints)||void 0===t||null===(a=t.down)||void 0===a?void 0:a.call(t,"sm")]:{overflowX:"scroll",minWidth:"200px"}},newsSection:{[null===(n=e.breakpoints)||void 0===n||null===(i=n.between)||void 0===i?void 0:i.call(n,"sm","md")]:{minWidth:"0 !important",display:"inline-flex",flexDirection:"column"}},title:{[null===(r=e.breakpoints)||void 0===r||null===(l=r.only)||void 0===l?void 0:l.call(r,"xs")]:{display:"block !important"}},sortBy:{[null===(o=e.breakpoints)||void 0===o||null===(c=o.only)||void 0===c?void 0:c.call(o,"xs")]:{fontSize:"11px !important",marginTop:"5px"}},p:{[null===(s=e.breakpoints)||void 0===s||null===(m=s.only)||void 0===m?void 0:m.call(s,"xs")]:{fontSize:"14px !important"}}}}),lp=rp,op=e=>{const{title:t,startDate:a,plainTextBody:i,newsId:r}=e.news,l=ym()(a).format("MMM DD"),o=lp();return n.createElement("div",{id:r},n.createElement("div",{className:"title "+o.title},n.createElement("p",{className:o.p},t),n.createElement("div",null,l)),n.createElement("div",{className:"details"},i))},cp=e=>{const[t,a]=(0,n.useState)(0),{news:i,isPublished:r,setIsPublished:l,isLoading:o,setSelectedNews:c,showRightContentMobile:s,type:m,selectedNews:d,onClick:u}=e;function p(e){u(!0),c(e)}(0,n.useEffect)(()=>{var e,t,n;const i=window.innerHeight-280,r=null===(e=document.getElementById("news-right-content"))||void 0===e?void 0:e.offsetHeight,l=null===(t=document.getElementById("news-html-content"))||void 0===t?void 0:t.offsetHeight,o=null===(n=document.getElementById("news-details"))||void 0===n?void 0:n.offsetHeight;i>(o&&l&&o+l||0)?a(i):l&&o&&r&&a(o+l>550?r+40:550)});const g=lp();return Ht()&&s?n.createElement("div",null):n.createElement(b.Ay,{item:!0,xs:12,sm:4,md:4,lg:3,style:{height:t},className:"left-side-bar "+g.leftSideBar},n.createElement("div",{className:"sort-by-section"},n.createElement("span",{className:"sort-by "+g.sortBy},"Sort By:"),n.createElement("div",{className:"news-section "+g.newsSection},n.createElement(P.A,{className:"news-tab published "+(r?"active-tab":""),onClick:()=>l(!0),id:"published-only-news"},"Published"),n.createElement(P.A,{className:"news-tab un-published "+(r?"":"active-tab"),onClick:()=>l(!1),id:"un-published-only-news"},"UnPublished"))),n.createElement("div",{className:"article-list",id:"article-news-list"},n.createElement("div",{className:"article-item"},i&&i.length>0?n.createElement("ul",null,i&&i.map((e,t)=>n.createElement("li",{key:t,tabIndex:0,onKeyUp:e=>function(e,t){13!==e.keyCode&&32!==e.keyCode||p(t)}(e,t),onClick:()=>p(t),className:d===t?"selected":""},n.createElement(op,{news:e})))):o?"":n.createElement("p",{className:"no-post-found"},m===_t.eR?"No post found.":"No news found."))))},sp=(0,q.A)(e=>{var t,a,n,i,r,l,o,c,s,m,d,u,p,g;return{rightContent:{[null===(t=e.breakpoints)||void 0===t||null===(a=t.down)||void 0===a?void 0:a.call(t,"xs")]:{display:"none"}},actionGrid:{[null===(n=e.breakpoints)||void 0===n||null===(i=n.down)||void 0===i?void 0:i.call(n,"sm")]:{display:"block !important"}},pinned:{[null===(r=e.breakpoints)||void 0===r||null===(l=r.down)||void 0===l?void 0:l.call(r,"xs")]:{paddingTop:"15px",fontSize:_e}},rightContentMobile:{width:"100%",display:"block"},circleIcon:{[null===(o=e.breakpoints)||void 0===o||null===(c=o.down)||void 0===c?void 0:c.call(o,"xs")]:{dis
1play:"none !important"}},subDetails:{[null===(s=e.breakpoints)||void 0===s||null===(m=s.down)||void 0===m?void 0:m.call(s,"xs")]:{display:"grid !important"}},contentHeading:{[null===(d=e.breakpoints)||void 0===d||null===(u=d.down)||void 0===u?void 0:u.call(d,"xs")]:{fontSize:`${Ie} !important`}},actionButton:{[null===(p=e.breakpoints)||void 0===p||null===(g=p.down)||void 0===g?void 0:g.call(p,"xs")]:{marginRight:"3px !important",fontSize:`${xe} !important`,padding:"8px 7px !important"}}}}),mp=sp,dp=e=>{const t=mp(),{selectedNews:a,isPublished:i,isLoading:r,showRightContentMobile:l,typeNews:o}=e,c=ym()(null===a||void 0===a?void 0:a.startDate).format("MMM DD, YYYY"),s=ym()(null===a||void 0===a?void 0:a.endDate).format("MMM DD, YYYY"),m=`${l?t.rightContentMobile:""} right-content ${t.rightContent}`;function d(t,a,n){t.preventDefault(),e.setValue(a),e.setConfirmationType(n)}return r?n.createElement(b.Ay,{sm:8,md:9,item:!0,className:"right-content "+t.rightContent}):a?n.createElement(b.Ay,{sm:8,md:9,item:!0,className:m},n.createElement("div",{id:"news-right-content"},n.createElement("div",{id:"news-details"},n.createElement("h2",{id:"content-heading",className:"content-heading "+t.contentHeading},null===a||void 0===a?void 0:a.title),n.createElement("div",{className:"sub-details "+t.subDetails},n.createElement("span",{id:"news-author-names"},"By ",`${(null===a||void 0===a?void 0:a.authorFirstName)||""} ${(null===a||void 0===a?void 0:a.authorLastName)||""}`),n.createElement("span",{className:"circle-icon "+t.circleIcon},n.createElement(Nm.g,{icon:Sm.GEE})),n.createElement("span",{id:"news-dates"},c," - ",s),n.createElement("span",{className:"circle-icon "+t.circleIcon},n.createElement(Nm.g,{icon:Sm.GEE})),n.createElement("span",{className:"to-office-span"},"To:",n.createElement("button",{className:"to-office",id:"to-offices-button",onClick:t=>{e.showRichTextPop(t,!0,"edit")}},"Office News"===o?`${a?a.code.length:1} Office/s`:"1 Association/s")))),n.createElement("div",{id:"news-html-content",className:"news-content",dangerouslySetInnerHTML:(0,H.R2)(null===a||void 0===a?void 0:a.body)||(0,H.R2)(n.createElement("div",null))}),n.createElement("div",{className:"line"}),n.createElement("div",{className:"action-grid "+t.actionGrid},n.createElement("div",{className:"action-btn-group"},n.createElement(P.A,{className:"active-action "+t.actionButton,id:"edit-news-post",onClick:t=>{e.showRichTextPop(t,!0,"edit")}},n.createElement(Nm.g,{icon:Sm.cNj}),"EDIT POST"),n.createElement(P.A,{onClick:e=>d(e,!0,_t.MC),className:t.actionButton,id:"un-publish-news-post"},n.createElement(Nm.g,{icon:i?Sm.Ip$:Sm.JmV}),i?"UNPUBLISH":"PUBLISH"),n.createElement(P.A,{className:t.actionButton,onClick:e=>d(e,!0,_t.Gw),id:"delete_button_icon_id"},n.createElement(Nm.g,{icon:ap.yL}),"DELETE")),null!==a&&void 0!==a&&a.pinned?n.createElement("div",{id:"pinned-article",className:t.pinned+" pinned"},n.createElement(Nm.g,{icon:Sm.vJC}),"This is a Pinned Article"):""),n.createElement(so,{noDivision:!0,desktopSpacing:0,tabletSpacing:42,phoneSpacing:42}))):n.createElement(b.Ay,{sm:8,md:9,item:!0,className:"right-content "+t.rightContent})};function up(e){const[t,a]=(0,n.useState)(e.showModal),[i,r]=(0,n.useState)(!1),l=()=>{a(!1),r(!1),e.setValue(!1)};return(0,n.useEffect)(()=>{a(e.showModal)},[e.showModal]),n.createElement(n.Fragment,null,n.createElement(R.A,{open:t,onClose:l},!i&&t&&n.createElement("div",{className:"confirmation-modal-wrap"},n.createElement("div",{className:"confirmation-modal-text"},e.title),n.createElement("div",{className:"confirmation-modal-actions"},n.createElement("button",{className:"confirmation-no",id:"no_btn_Id",onClick:l},"NO"),n.createElement("button",{className:"confirmation-yes",id:"yes_btn_Id",onClick:t=>function(t,a){t.preventDefault();const n={...a};n&&n.startDate&&(n.startDate=ym()(n.startDate).format("YYYY-MM-DD")),n&&n.endDate&&(n.endDate=ym()(n.endDate).format("YYYY-MM-DD")),e.handleConfirm(n).then(()=>{r(!0)}).catch(()=>{console.log("error")})}(t,e.post)},"YES"))),i&&n.createElement("div",{id:"confirmation-confirm",className:"confirmation-modal-wrap-confirm"},n.createElement("div",{className:"confirmation-modal-text"},e.subTitle),n.createElement("div",{className:"confirmation-modal-actions"},n.createElement("button",{className:"confirmation-no",id:"ok_btn_id",onClick:function(){a(!1),r(!1),e.setValue(!1),e.onSuccess()}},"OK")))))}const pp=e=>{const{newsCode:t=""}
1=(0,s.g)(),[a,i]=(0,n.useState)(!0),[r,l]=(0,n.useState)([]),[o,c]=(0,n.useState)(!1),[m,d]=(0,n.useState)(""),[u,p]=(0,n.useState)(0),{className:g,type:h}=e,[E,y]=(0,n.useState)(!1),[f,v]=(0,n.useState)("add"),A=(0,s.Zp)(),[N,S]=(0,n.useState)(!1),[w,x]=(0,n.useState)("DELETE"),[_,k]=(0,n.useState)(!1),C="DELETE"===w?_t.KK:a?_t.VA:_t.Wb,T="DELETE"===w?_t.co:a?_t.ds:_t.um,[I,L]=(0,n.useState)([]),[B,D]=(0,n.useState)([]);function M(e){S(e)}function P(e){null!=e.name&&d(e.name),e&&e.news?e.news.length?(l(e.news),p(0)):l(null):l([]),c(!1)}function R(){(async function(e,t){const a=`${_t.Ay.awsConfiguration.bcomContentfulAPIEndpoint}/${((e,t)=>`associationnews/${e}/${t?"true":"false"}`)(e,t)}`;return await(0,Fa.RS)(a,!0)})(t,a).then(P).catch(e=>{e===_t.dq&&A("/dashboard"),c(!1)})}function O(){(async function(e){const t=`${_t.Ay.awsConfiguration.bcomContentfulAPIEndpoint}/officenews/${e?"true":"false"}`;return await(0,Fa.RS)(t,!0)})(a).then(P).catch(e=>{e===_t.dq&&A("/dashboard"),c(!1)})}function U(){c(!0),h===_t.V?O():h===_t.eR&&R()}function F(e){return async function(e,t){if(e&&""!==e&&t&&""!==t)return(await(0,Fa.kj)(`${_t.Ay.awsConfiguration.bcomContentfulAPIEndpoint}/associationNews/${t}/${e}`,null,!0)).data;throw new Error("contentId is null")}(e,t).then(e=>!0===e).catch(e=>{e===_t.dq&&A("/dashboard")})}function $(){(0,Ve.R9)().then(e=>{L(e.allowedOfficesForNewsManagement)}).catch(e=>{console.log(e)})}function W(e,t,a){y(t),v(a)}return(0,n.useEffect)(()=>{document.title=`Manage ${h} | Bright MLS`,(0,H.eG)(),c(!0),U()},[a]),(0,n.useEffect)(()=>{if(h===_t.V&&"add"===f)$();else if(h===_t.V&&"edit"===f){const e=r&&r[u]&&r[u].code,t=[...I];if($(),t&&t.length>0&&e&&e.length>0){for(let a=0;a<t.length;a++)e.indexOf(t[a].officeMlsId)>=0?t[a].isPrimaryOffice=!0:t[a].isPrimaryOffice=!1;D(t)}}},[E]),n.createElement("div",{id:"news-section",className:"news "+(g||"")},n.createElement(ip,{type:e.type,newsName:m,showRichTextPop:W,popupStatus:E,newsCode:t,isPublished:a,getNewsAPI:R,buttonLabel:f,onClick:k,showRightContentMobile:_,selectedNews:r&&r[u],setValue:function(e){x("DELETE"),S(e)},getOfficeNewsAPI:O,officeList:"add"===f?I:B}),n.createElement(b.Ay,{container:!0,className:"main-container"},n.createElement(cp,{type:h,isLoading:o,showRightContentMobile:_,onClick:k,selectedNews:u,setIsPublished:i,isPublished:a,setSelectedNews:p,news:r}),n.createElement(dp,{showRightContentMobile:_,isPublished:a,isLoading:o,selectedNews:r&&r[u],showRichTextPop:W,setValue:M,setConfirmationType:function(e){x(e)},typeNews:h})),o?n.createElement(sa,null):"",n.createElement(up,{showModal:N,setValue:M,title:C,subTitle:T,post:r&&r[u],handleConfirm:function(e){return c(!0),w===_t.Gw?h===_t.eR?F(e.contentId).then(()=>(c(!1),!0)).catch(()=>(c(!1),!1)):(0,Ve.Vq)(e.contentId).then(()=>(c(!1),!0)).catch(()=>(c(!1),!1)):w===_t.MC?(e.published=!a,h===_t.eR?(0,Ve.H2)(e).then(()=>(c(!1),!0)).catch(()=>(c(!1),!1)):(0,Ve.G3)(e).then(()=>(c(!1),!0)).catch(()=>(c(!1),!1))):void 0},onSuccess:U}))};function gp(){const e=rr(),t=Bu(),a=Du(),{id:i}=(0,s.g)(),[r,l]=(0,n.useState)(null),[o,c]=(0,n.useState)(null),[d,u]=(0,n.use
1State)(null),[p,g]=(0,n.useState)(null),h=(0,s.Zp)();return(0,n.useEffect)(()=>{(0,H.eG)(),(0,Ve.AZ)("OfficeNews",i).then(e=>{document.title=`${e.title} | Bright MLS`,e?(l(e),c((0,H.pp)(e.startDate)),u((0,H.FS)(e.startDate)),g((0,H.Cp)(e.startDate))):l(void 0)}).catch(e=>{e.statusCode===_t.Kr?l(void 0):e.statusCode===_t.dq?h("/dashboard"):l(null)})},[i,h]),(0,n.useEffect)(()=>{(0,H.Mt)()},[]),n.createElement("div",{className:`${e.margin20Root} detail-news-container`,id:"officeDetailId"},n.createElement(b.Ay,{container:!0,className:"static-content"},n.createElement(b.Ay,{item:!0,xs:12,md:2,sm:3},r&&n.createElement("div",{className:"socialPostDate"},n.createElement("ul",null,n.createElement("li",null,r&&n.createElement(W.A,{id:"officePostDateId",variant:"body1","aria-level":1,role:"heading",className:e.postInfoDate},o)),n.createElement("li",null,r&&n.createElement(W.A,{variant:"body2",id:"officePostMonthId",className:e.postInfoMonth},d)),n.createElement("li",null,r&&n.createElement(W.A,{variant:"body1",id:"officePostYearId",className:e.postInfoYear},p)))),r&&n.createElement(W.A,{className:t.authorName,id:"authorNameId"},`${r.authorFirstName?r.authorFirstName:""} ${r.authorLastName?r.authorLastName:""}`)),n.createElement(b.Ay,{item:!0,xs:12,md:7,sm:9,className:"content-container"},r&&r.body?n.createElement(n.Fragment,null,n.createElement(W.A,{variant:"h2",className:t.headerTitle,id:"officeDetailNewsTitle"},r.title),n.createElement(b.Ay,{id:"officeContentId",className:"post-content",dangerouslySetInnerHTML:(0,H.R2)(r&&r.body)})):void 0===r?n.createElement(_i,null):""),n.createElement(b.Ay,{item:!0,xs:12,md:3,className:"mlsNewsContainer"},r&&n.createElement(b.Ay,{container:!0,direction:"row"},n.createElement(m.N_,{to:"/articles?filter=myoffice",className:`${a.brightNews} bright-news-link`,"aria-label":"all office news",id:"allofficeNewsId"},"All Office News"),n.createElement(m.N_,{to:"/articles?filter=myoffice",className:`${a.brightNewsIcon} bright-news-icon`,"aria-label":"all office news",id:"allofficeNewsLinkId"},n.createElement(b.Ay,{className:"icon-container"},n.createElement(Mu.A,{fontSize:"small"})))))),n.createElement(so,{noDivision:!0,desktopSpacing:42,tabletSpacing:42,phoneSpacing:42}))}const hp=(0,q.A)(e=>{var t,a,n,i;return{datePickerWrapper:{[null===(t=e.breakpoints)||void 0===t||null===(a=t.down)||void 0===a?void 0:a.call(t,361)]:{justifyContent:"flex-start"}},inputDatePicker:{padding:0,height:"40px",width:"200px",marginRight:"15px",[null===(n=e.breakpoints)||void 0===n||null===(i=n.down)||void 0===i?void 0:i.call(n,"xs")]:{width:"100%",marginRight:"0",marginBottom:"8px"}},title:{fontWeight:600,marginBottom:"8px"},redStar:{fontWeight:"bold",color:"red"},grid:{paddingLeft:"5%",paddingRight:"5%"},pageContainer:{paddingBottom:"43px"},submitButton:{paddingTop:"0.3em",paddingBottom:"0.3em"},fileUploadInput:{position:"absolute",width:"1px",height:"1px",padding:"0",border:"0",overflow:"hidden",clip:"rect(0,0,0,0)",whiteSpace:"nowrap",clipPath:"inset(50%)"},fileUploadButtonLabel:{fontWeight:700,cursor:"pointer",textTransform:"uppercase",lineHeight:"24.5px",WebkitTapHighlightColor:"transparent",padding:"8px 16px",fontSize:"0.875rem",minWidth:"64px",height:"24px",borderRadius:"4px",transition:"background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;"},form:{width:"50%"},smallNumberFormatTextField:{"& #fineAmount":{paddingTop:"10.5px",paddingBottom:"10.5px"}},fileUploadWrapper:{"& label:focus-within":{outline:"2px solid",boxShadow:"0 0 3pt 2pt grey"}}}}),Ep=(0,q.A)(()=>({title:{fontWeight:be,marginBottom:"8px"},redStar:{fontWeight:be,color:"red"}}));function yp(e){const t=Ep(),a=e.textFieldId+"-label",i=null===e.initValue?"":e.initValue,r={"aria-labelledby":a};return n.createElement(n.Fragment,null,n.createElement(b.Ay,{item:!0,xs:12},n.createElement(W.A,{className:t.title,id:e.textFieldId+"-label"},e.title,n.createElement("span",{className:t.redStar}," *"))),n.createElement(b.Ay,{item:!0,xs:12},n.createElement(Ca.A,{required:!0,variant:"outlined",size:"small",type:e.textFieldType,id:e.textFieldId,fullWidth:!0,inputProps:r,value:i,onChange:t=>e.setFunc(t.target.value)})))}var bp=a(65587);const fp=(0,q.A)(()=>({title:{fontWeight:be,marginBottom:"8px"},textArea:{width:"100%",resize:"vertical",padding:"10.5px 14px"},redStar:{fontWeight:be,color:"red"}}));function vp(e){const t=fp();return n.createElement(n.Fragment,null,n.createElement(b.Ay,{item:!0,xs:12}," ",n.createElement(W.A,{className:t.title,id:e.textFieldId+"-label"},e.title,n.createElement("span",{className:t.redStar}," *"))),n.createElement(b.Ay,{item:!0,xs:12},n.createElement(bp.A,{required:!0,className:t.textArea,id:e.textFieldId,minRows:e.rowsMin,value:e.initValue,"aria-labelledby":e.textFieldId+"-label",onCh
1ange:t=>e.setFunc(t.target.value)})))}function Ap(){const e=hp();return n.createElement(n.Fragment,null,n.createElement(W.A,{className:e.title},"File to attach"),n.createElement("div",{id:"fileUploadWrapper",className:e.fileUploadWrapper},n.createElement("label",{htmlFor:"fileToUpload",className:`orange_button_With_icon ${e.fileUploadButtonLabel}`},"Choose File",n.createElement("input",{type:"file",accept:".gif,.jpg,.jpeg,.png,.txt,.rtf,.html,.pdf,.doc",id:"fileToUpload","aria-label":"file_to_upload",className:e.fileUploadInput,onChange:function(e){const t=document.getElementById("fileToUploadName");if(t){const a=e.currentTarget.value.split("\\");t.innerHTML=a[a.length-1]}}})),"\xa0",n.createElement("span",{id:"fileToUploadName"}),n.createElement("br",null),"   ",n.createElement("br",null),"Files must be less than ",n.createElement("b",null,"2 MB"),".",n.createElement("br",null),"Allowed file types: ",n.createElement("b",null,"gif jpg jpeg png txt rtf html pdf doc"),"."))}function Np(e){const t=hp(),{firstName:a,lastName:i,memberMlsId:r,brokerName:l}=e;return n.createElement(n.Fragment,null,n.createElement(b.Ay,{container:!0,id:"userReadOnlyData"},n.createElement(b.Ay,{item:!0,xs:12},n.createElement("hr",null)),n.createElement(b.Ay,{item:!0,xs:6,md:3},n.createElement(W.A,{className:t.title},"Subscriber Name:")),n.createElement(b.Ay,{item:!0,xs:6,md:3},a,"\xa0",i),n.createElement(b.Ay,{item:!0,md:6}),n.createElement(b.Ay,{item:!0,xs:6,md:3},n.createElement(W.A,{className:t.title},"Subscriber Number:")),n.createElement(b.Ay,{item:!0,xs:6,md:3},r),n.createElement(b.Ay,{item:!0,md:6}),n.createElement(b.Ay,{item:!0,xs:6,md:3},n.createElement(W.A,{className:t.title},"Company Name:")),n.createElement(b.Ay,{item:!0,xs:6,md:3},l),n.createElement(b.Ay,{item:!0,md:6}),n.createElement(b.Ay,{item:!0,xs:6,md:3},n.createElement(W.A,{className:t.title},"Date:")),n.createElement(b.Ay,{item:!0,xs:6,md:3},(new Date).toLocaleDateString()),n.createElement(b.Ay,{item:!0,md:6})))}var Sp=a(25184);function wp(e){const t=hp(),{isMobileDatePicker:a,onDateChange:i}=e,[r,l]=(0,n.useState)(null),[o,s]=(0,n.useState)(null),[m,d]=(0,n.useState)(!1),[u,p]=(0,n.useState)(!1),[g,h]=(0,n.useState)(!1),[E,y]=(0,n.useState)(),[f,v]=(0,n.useState)(""),[A,N]=(0,n.useState)(""),[S,w]=(0,n.useState)(""),[x,_]=(0,n.use
1State)(""),[k,C]=(0,n.useState)(""),[T,I]=(0,n.useState)(),[L,B]=(0,n.useState)(""),[D,M]=(0,n.useState)(""),[R,O]=(0,n.useState)(""),[U,$]=(0,n.useState)("");(0,n.useEffect)(()=>{l(new Date),c.N.currentAuthenticatedUser().then(e=>{const t=e&&e.signInUserSession&&e.signInUserSession.idToken&&e.signInUserSession.idToken.payload||[];s(t),O(t.email)}).catch(e=>{console.error(e)})},[]);return n.createElement(b.Ay,{className:`${t.grid} ${t.pageContainer}`,container:!0},n.createElement(b.Ay,{item:!0,xs:1,sm:2}),n.createElement(b.Ay,{item:!0,xs:10,sm:8},n.createElement("form",{autoComplete:"on",onSubmit:function(e){var t,a,n,i;e.preventDefault(),p(!0);const l={currentDate:r?null===r||void 0===r?void 0:r.toLocaleDateString():"",subscriberName:f,city:A,state:S,address:x,mlsNumber:k,fineAmount:T||0,brokerCode:L,phoneNumber:D,emailAddress:R,subscriberId:null===o||void 0===o?void 0:o["custom:login_id"],reasonForAppeal:U,brokerName:null===o||void 0===o?void 0:o.BrokerOfficeName,attachmentName:1===(null===(t=e.target.fileToUpload)||void 0===t||null===(a=t.files)||void 0===a?void 0:a.length)?e.target.fileToUpload.files[0].name:null,attachment:1===(null===(n=e.target.fileToUpload)||void 0===n||null===(i=n.files)||void 0===i?void 0:i.length)?e.target.fileToUpload.files[0]:null};return(0,Ve.F)(l).then(e=>{p(!1),d(!0),200===e.status?h(!1):(h(!0),y(e.data),console.error("unable to submit appeal data. StatusText: "+e.statusText+". Response Data: "+e.data))}).catch(e=>{var t,a;p(!1),d(!0),h(!0),y(e.message+" "+JSON.stringify(null===(t=e.response)||void 0===t?void 0:t.data)),console.error("exception while submitting appeal data. Error message: "+e.message+". Error response: "+JSON.stringify(null===(a=e.response)||void 0===a?void 0:a.data)+".")}),!1},id:"formAppealFine"},!m&&n.createElement("div",null,n.createElement(b.Ay,{item:!0,xs:12},n.createElement(W.A,{className:t.title,id:"date-label"},"Date",n.createElement("span",{className:t.redStar}," *"))),n.createElement(b.Ay,{item:!0,xs:12},n.createElement(Za.$J,{dateAdapter:tn.h},n.createElement(gm.l,{value:r,onChange:e=>{a&&i&&i(e,!1),l(e)},format:"MM/dd/yyyy",slotProps:{textField:{required:!0,variant:"outlined",id:"currentDate",InputProps:{endAdornment:n.createElement(F.A,{onClick:function(){a&&i&&i(null,!1),l(null)},"aria-label":"clear_date"},n.createElement(hm.A,null)),className:t.inputDatePicker},inputProps:{"aria-labelledby":"date-label"}}}}))),n.createElement(yp,{title:"I,",textFieldId:"subscriberName",textFieldType:"search",initValue:f,setFunc:v}),n.createElement(yp,{title:"Associated With",textFieldId:"brokerCode",textFieldType:"search",initValue:L,setFunc:B}),n.createElement(b.Ay,{item:!0,xs:12},n.createElement("br",null),"certify that I have read and understood the Rules and Regulations and/or Policies of the Bright MLS, Inc. I believe that I have acted in accordance with the Rules and Regulations or Policies and hereby appeal the following fine:",n.createElement("br",null),n.createElement("br",null)),n.createElement(yp,{title:"MLS Number",textFieldId:"mlsNumber",textFieldType:"search",initValue:k,setFunc:C}),n.createElement(b.Ay,{item:!0,xs:12},n.createElement(W.A,{className:t.title,id:"fineAmount-label"},"Fine Amount",n.createElement("span",{className:t.redStar}," *"))),n.createElement(b.Ay,{item:!0,xs:12},n.createElement(Sp.HG,{required:!0,className:t.smallNumberFormatTextField,variant:"outlined",type:"text",id:"fineAmount",fullWidth:!0,thousandSeparator:!0,inputProps:{"aria-labelledby":"fineAmount-label"},prefix:"$",onValueChange:e=>{I(e.floatValue)},customInput:Ca.A})),n.createElement(yp,{title:"Address",textFieldId:"address",textFieldType:"search",initValue:x,setFunc:_}),n.createElement(yp,{title:"City",textFieldId:"city",textFieldType:"search",initValue:A,setFunc:N}),n.createElement(yp,{title:"State",textFieldId:"state",textFieldType:"search",initValue:S,setFunc:w}),n.createElement(vp,{title:"Reason for the appeal",textFieldId:"reasonForAppeal",rowsMin:4,setFunc:$}),n.createElement(Ap,null),n.createElement(b.Ay,{item:!0,xs:12},o&&n.createElement(Np,{firstName:o.MemberPreferredFirstName,lastName:o.MemberPreferredLastName,memberMlsId:o["custom:login_id"],brokerName:o.BrokerOfficeName})),n.createElement(yp,{title:"Please enter your phone number",textFieldId:"phoneNumber",textFieldType:"search",initValue:D,setFunc:M}),n.createElement(yp,{title:"Please enter your email address",textFieldId:"emailAddress",textFieldType:"search",initValue:R,setFunc:O}),n.createElement(b.Ay,{item:!0,xs:12}
1,n.createElement("div",{className:t.submitButton},n.createElement(P.A,{variant:"contained",className:"orange_button_With_icon oldButton",id:"submitAppealFine",type:"submit","aria-label":"submit_form"},"SUBMIT"))))),u?n.createElement(sa,null):null,m&&!g&&n.createElement(n.Fragment,null,n.createElement(b.Ay,{item:!0,xs:12},n.createElement("h1",{id:"submittion-page-title-success"},"Appeal a Fine Form"),n.createElement("div",null,n.createElement("div",{id:"submittion-page-main-success"},n.createElement("h2",null,"Thank you for submitting a request to appeal a fine"),n.createElement("p",null,"Your appeal form has been sent to the Bright Accuracy and Policy Department for consideration. Please allow up to two weeks for Bright to review your appeal. During the appeal review no fine will be applied to your account."),n.createElement("p",null,"If you have any questions about your appeal, please contact the Accuracy and Policy Department at 301-838-7140 or email them at ",n.createElement("a",{href:"mailto:[email protected]?subject=NEED%20SUBJECT%20FOR%20EMAIL%20LINK%20IF%20applicable&body=NEED%20DEFAULT%20MESSAGE%20FOR%20EMAIL%20LINK%20IF%20applicable."},"[email protected]"),"."))))),m&&g&&n.createElement(n.Fragment,null,n.createElement(b.Ay,{item:!0,xs:12},n.createElement("h1",{id:"submittion-page-title-error"},"Appeal a Fine Form"),n.createElement("div",null,n.createElement("div",{id:"submittion-page-main-error"},n.createElement("h2",null,"Error occured while submitting the form."),n.createElement("p",null,"Error is ",n.createElement("span",{className:t.redStar},E)),n.createElement("p",null,"If you have any questions about your appeal, please contact the Accuracy and Policy Department at 301-838-7140 or email them at ",n.createElement("a",{href:"mailto:[email protected]?subject=NEED%20SUBJECT%20FOR%20EMAIL%20LINK%20IF%20applicable&body=NEED%20DEFAULT%20MESSAGE%20FOR%20EMAIL%20LINK%20IF%20applicable."},"[email protected]"),".")))))),n.createElement(b.Ay,{item:!0,xs:1,sm:2}))}var xp=a(3197);function _p(e){let{signoutURL:t}=e;const a=new URLSearchParams((0,s.zy)().search),i=!(!a.get("silent")&&"1"!==a.get("silent")),r=!(!a.get("multilogin")&&"1"!==a.get("multilogin"));return(0,n.useEffect)(()=>{!async function(){i?(0,H.xA)()&&i&&window.top&&(window.top.location.href=_t.Ay.bcomLogoutURL):async function(){const e=(0,H.Gv)();if(localStorage.removeItem(_t.TL),(0,H.TV)(_t.Ub,"",0),(0,H.VW)(),t){const e=(0,xp.A)();e.Auth.oauth.redirectSignOut=t,l.H.configure(e)}if(r){const e=(0,xp.A)();e.Auth.oauth.redirectSignOut=`${_t.Ay.idpLogoutURL}?multilogin=1`,l.H.configure(e)}await async function(){try{await c.N.signOut({}),sessionStorage.clear(),(0,H.Du)(e?`brightmlsmenuconfig_${e["custom:MemberMlsId"]}`:""),e||i||r||(window.location.href=_t.Ay.idpLogoutURL)}catch(t){console.log("bcom: await auth.signout catch  calling",t)}finally{r&&(globalThis.location.href=`${_t.Ay.idpLogoutURL}?multilogin=1`)}}()}()}()},[]),n.createElement(n.Fragment,null,n.createElement("div",null))}const kp=(0,q.A)(()=>({root:{flexGrow:1,background:ce},authStaticPadding:{paddingTop:40},unAuthPadding:{paddingTop:20}}));function Cp(e){let{previewData:t=null}=e;const a=kp(),[i,r]=(0,n.useState)(null),[l,o]=(0,n.useState)(null),[c,m]=(0,n.use
1State)(!1),d=(0,s.Zp)(),u=(0,s.g)(),p=(0,s.zy)();(0,n.useEffect)(()=>{if(t)return r(t),void(document.title=`${t.title} | Bright MLS`);m(!0),(0,xt.y)(!0,"dashboard",u.subid,u.childid).then(e=>{document.title=`${e.title} | Bright MLS`,r(e),window.scrollTo(0,0),m(!1)}).catch(()=>{(async()=>{const e=await(0,H.XW)(p.pathname);if(e){const t=e.redirectTo;t&&(0,H.i9)(t)?window.location.href=t:o(t)}else r("");m(!1)})()})},[u,t,p]),(0,n.useEffect)(()=>{l&&d(l)},[l,d]);const g=e=>({__html:e});return n.createElement(n.Fragment,null,"/dashboard/powerup"===p.pathname.toLowerCase()?n.createElement("div",{className:"powerUp_container"},n.createElement("div",{id:"content",className:"col-md-6"},c?n.createElement(sa,null):null,i&&i.body?n.createElement("div",{className:"content-container",dangerouslySetInnerHTML:g(i.body)}):null===i?"":n.createElement(_i,null))):n.createElement("div",{className:a.root},n.createElement("div",{id:"content",className:"col-md-6"},n.createElement("div",{id:"content-area"},i&&i.body?n.createElement("div",{className:"content_body",dangerouslySetInnerHTML:g(i&&i.body)}):null===i?"":n.createElement(_i,null)))))}const Tp=(0,q.A)(()=>({title:{fontWeight:be,marginBottom:"8px"},submitButton:{paddingTop:"0.3em",paddingBottom:"0.3em"},redStar:{fontWeight:be,color:"red"},grid:{width:"75%",margin:"0 auto"},pageContainer:{paddingBottom:"43px"},img:{height:"auto",width:"100%",objectFit:"contain"},spacer:{paddingTop:"1em"}}));function Ip(){const e=Tp(),[t,i]=(0,n.useState)(!1),[r,l]=(0,n.useState)(!1),[o,c]=(0,n.useState)(!1),[s,m]=(0,n.use
1State)(),[d,u]=(0,n.useState)(""),[p,g]=(0,n.useState)(""),[h,E]=(0,n.useState)(""),[y,f]=(0,n.useState)(""),[v,A]=(0,n.useState)(""),[N,S]=(0,n.useState)(""),[w,x]=(0,n.useState)(""),[_,k]=(0,n.useState)(""),[C,T]=(0,n.useState)(!1),I="Not a valid phone number, please use the format ###-###-#### and include the area code.";return n.createElement(b.Ay,{className:`${e.grid} ${e.pageContainer}`,container:!0},n.createElement(b.Ay,{item:!0,md:9},n.createElement("img",{src:a(59683),alt:"request visit image",className:e.img})),n.createElement(b.Ay,{item:!0,xs:12},n.createElement("div",{className:e.spacer}),"Would you like to have an Bright MLS representative speak at one of your upcoming office meetings? Your agents will learn about the latest features, products and upcoming enhancements to Bright MLS. Please complete and submit the form below and we will be in contact! If you would like Bright MLS to participate in an event you are hosting please email ",n.createElement("a",{href:"mailto:[email protected]"},"[email protected]"),".",n.createElement("div",{className:e.spacer})),n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{item:!0,xs:1,sm:2}),n.createElement(b.Ay,{item:!0,xs:10,sm:8},n.createElement("form",{autoComplete:"on",onSubmit:function(e){if(e.preventDefault(),C)return;l(!0);const t={name:d,brightMlsId:p,primaryAssociation:h,brokerageFirm:y,officeId:v,emailAddress:N,phoneNumber:w,comment:_};return(0,Ve.jZ)(t).then(e=>{l(!1),i(!0),""===e?c(!1):(c(!0),c(!0),m(e),console.error("unable to submit RequestOfficeVisit data. Response Data: "+e))}).catch(e=>{l(!1),i(!0),c(!0),m(e.message+" "+JSON.stringify(e.response)),console.error("exception while submitting RequestOfficeVisit data. Error message: "+e.message+". Error response: "+JSON.stringify(e.response)+".")}),!1},id:"formRequestVisit"},!t&&n.createElement("div",null,n.createElement(yp,{title:"Name",textFieldId:"name",textFieldType:"search",initValue:d,setFunc:u}),n.createElement(yp,{title:"Bright MLS ID",textFieldId:"brightMlsId",textFieldType:"search",initValue:p,setFunc:g}),n.createElement(yp,{title:"Primary Association",textFieldId:"primaryAssociation",textFieldType:"search",initValue:h,setFunc:E}),n.createElement(yp,{title:"Brokerage Firm",textFieldId:"brokerageFirm",textFieldType:"search",initValue:y,setFunc:f}),n.createElement(yp,{title:"Office ID",textFieldId:"officeId",textFieldType:"search",initValue:v,setFunc:A}),n.createElement(yp,{title:"Email Address",textFieldId:"emailAddress",textFieldType:"email",initValue:N,setFunc:S}),n.createElement(b.Ay,{item:!0,xs:12},n.createElement(W.A,{className:e.title,id:"phoneNumber-label"},"Phone Number",n.createElement("span",{className:e.redStar}," *"))),n.createElement(b.Ay,{item:!0,xs:12},n.createElement(Ca.A,{required:!0,variant:"outlined",size:"small",type:"search",id:"phoneNumber",fullWidth:!0,inputProps:{"aria-labelledby":"phoneNumber-label","aria-describedby":"phoneNumber-error",pattern:"[0-9]{3}[-][0-9]{3}[-][0-9]{4}",title:`${I}`},onChange:e=>x(e.target.value),onBlur:e=>{var t;""!==(t=e.target.value)&&T(!/^[0-9]{3}[-][0-9]{3}[-][0-9]{4}$/im.test(t))}}),C&&n.createElement("span",{tabIndex:0,className:e.redStar,id:"phoneNumber-error"},I)),n.createElement(vp,{title:"Comment",textFieldId:"comment",rowsMin:4,setFunc:k}),n.createElement(b.Ay,{item:!0,xs:12},n.createElement("div",{className:e.submitButton},n.createElement(P.A,{variant:"contained",className:"orange_button_With_icon oldButton",id:"submitRequestVisit",type:"submit","aria-label":"submit_form"},"SUBMIT"))))),r?sa():"",t&&!o&&n.createElement(n.Fragment,null,n.createElement(b.Ay,{item:!0,xs:12},n.createElement("div",{id:"submittion-page-main-success"},n.createElement("h2",null,"Thank you for your interest."),n.createElement("p",null,"Your form has been sent!"),n.createElement("p",null,n.createElement("a",{href:"/request-visit"},"Return to the Form"))))),t&&o&&n.createElement(n.Fragment,null,n.createElement(b.Ay,{item:!0,xs:12},n.createElement("div",{id:"submittion-page-main-error"},n.createElement("h2",null,"Error occured while submitting the form."),n.createElement("p",null,"Error is ",n.createElement("span",{className:e.redStar},s)))))),n.createElement(b.Ay,{item:!0,xs:1,sm:2})))}const Lp=(0,q.A)(()=>({grid:{width:"75%",margin:"0 auto",paddingTop:"1em"}}));
1function Bp(){const e=Lp(),[t,a]=(0,n.useState)(""),[i,r]=(0,n.useState)(!1),[l,o]=(0,n.useState)(""),[s,m]=(0,n.useState)(""),[d,u]=(0,n.useState)(!1),[p,g]=(0,n.useState)(!1),[h,E]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{c.N.currentAuthenticatedUser().then(e=>{const t=e&&e.signInUserSession&&e.signInUserSession.idToken&&e.signInUserSession.idToken.payload||[];r("Employee"===t.MemberType)}).catch(e=>{console.error(e)})},[i]),n.createElement(b.Ay,{container:!0,className:e.grid},!i&&n.createElement(b.Ay,null,"You are not authorized to access this page."),i&&n.createElement(n.Fragment,null,n.createElement(b.Ay,{item:!0,xs:12,container:!0},n.createElement(Ca.A,{required:!0,variant:"outlined",size:"small",type:"search",id:"memberMlsId",onChange:e=>a(e.target.value),placeholder:"Member Mls ID"}),"\xa0\xa0",n.createElement(P.A,{variant:"contained",className:"orange_button_With_icon",id:"submitAppealFine",onClick:()=>(o(""),m(""),u(!0),g(!1),E(!1),void(0,Ve.Gq)(t).then(e=>{u(!1),E(!0),o(e.s3FileHash),m(JSON.stringify(e.menu,null,2))}).catch(e=>{u(!1),g(!0),console.error("exception while getting megamenu data. Error message: "+e.message+". Error response: "+JSON.stringify(e.response)+".")}))},"Get Menu"))),d?sa():"",h&&n.createElement(n.Fragment,null,n.createElement(b.Ay,{item:!0,xs:12},n.createElement("b",null,"Fingerprint")," - JSON file name that should be located in the static content bucket in ",n.createElement("i",null,"Authenticated/Content/UserMenus/")),n.createElement(b.Ay,{item:!0,xs:12},n.createElement("pre",null,l)),n.createElement(b.Ay,{item:!0,xs:12},n.createElement("b",null,"Menu")," - Actual content of the menu as given my backend endpoint"),n.createElement(b.Ay,{item:!0,xs:12},n.createElement("pre",null,s))),p&&n.createElement(b.Ay,null,"Error encountered getting mega menu data. Check console log and network traffic for details."))}function Dp(e){let{match:t}=e;const[a,i]=(0,n.useState)(null),r=(0,s.Zp)();return(0,n.useEffect)(()=>{a?r(a):(async()=>{const e=await(0,H.XW)(decodeURIComponent(t.params[0]));if(e){const t=e.redirectTo;t&&(0,H.i9)(t)?window.location.href=t:i(t)}})()},[t,a,r]),n.createElement(n.Fragment,null)}const Mp=()=>{const[e,t]=(0,n.useState)(null),a="ce_team";(0,n.useEffect)(()=>(window.scrollToIDFunction=function(e){(0,H.Ar)(e,!0,10)},()=>{delete window.scrollToIDFunction}),[]);const i=()=>{const e=document.getElementsByClassName("heroCard"),t=document.getElementsByClassName("marketoFormBtn"),a=document.getElementById("marketoForm");t&&t[0]&&t[0].addEventListener("click",function(){if(t&&e&&a){const e=a.getAttribute("data-formID");if(e){if(!a._reactRootContainer){(0,r.H)(a).render(n.createElement(Ul,{marketoFormId:e}))}setTimeout(()=>{a.classList.add("show"),a.classList.remove("hidden")},210)}}})},l=()=>{const e=document.getElementsByClassName("more_button"),t=document.getElementsByClassName("close_icon"),a=function(e){const t=e.target.closest(".profile_card").getElementsByClassName("popup")[0];e.target.closest(".profile_card").getElementsByClassName("more_button")[0].style.display="none",t.style.display="block"},n=function(e){const t=e.target.closest(".profile_card").getElementsByClassName("more_button")[0];e.target.closest(".profile_card").getElementsByClassName("popup")[0].style.display="none",t.style.display="inline-flex"};for(let i=0;i<e.length;i++)e[i].addEventListener("click",a,!1);for(let i=0;i<t.length;i++)t[i].addEventListener("click",n,!1)};return(0,n.useEffect)(()=>((0,xt.y)(!0,gr).then(e=>{t(e.body),i(),l()}).catch(()=>{t(null)}),()=>{const e=document.getElementsByClassName("marketoFormBtn");e&&e[0]&&e[0].removeEventListener("click",i);const t=document.getElementsByClassName("more_button"),a=document.getElementsByClassName("close_icon");for(let n=0;n<t.length;n++)t[n].removeEventListener("click",l,!1);for(let n=0;n<a.length;n++)a[n].removeEventListener("click",l,!1)}),[]),n.createElement("div",{className:"page_container ce_team",id:a},e?n.createElement(La.A,{className:"html_container",id:a+"_html_container",dangerouslySetInnerHTML:(0,H.R2)(e)}):null)};function Pp(){return n.createElement("div",{className:"static-content"},n.createElement("div",{className:"content-container"},n.createElement("div",{id:"pricingPageContainer",className:"pricingPageContainer"},n.createElement("section",{id:"pricingheaderSection",className:"pricingheaderSection"},n.createElement("div",{id:"leftTextContainer",className:"leftTextContainer"},n.createElement("h1",{id:"pricingheading",className:"pricingheading"},"Your Bright Subscription"),n.createElement("p",{id:"pricingSubHeading",className:"pricingSubHeading"},"One MLS. One fee. All the benefits.",n.createElement("br",null),"We're ready to drive your business forward.")),n.createElement("div",{id:"subscriptionContainer",className:"subscriptionContainer"},n.createElement("div",{id:"imageSection",className:"imageSection"},n.createElement("img",{id:"advImage",className:"advImage",src:"https://images.ctfassets.net/1g8q1frp41ix/2mxiyHRq4aGb5RjXDwgPE5/b737931aa76364b42741ff057925ecef/Stocksy_comp_2607463_1__1_.png",alt:"brightMLS_advImage"})),n.createElement("div",{id:"textSection",className:"textSection"},n.createElement("h3",{id:"subscriptionHeading",className:"subscriptionHeading"},"Ready to Subscribe?"),n.createElement("p",{id:"subscriptionSubHeading",className:"subscriptionSubHeading"},"Join 95,000 other practicing real estate professionals and accelerate your business growth now."),n.createElement("a",{href:"https://www.brightmls.com/join",id:"subscriptionLink",className:"subscriptionLink"},"LET'S GO")))),n.createElement("section",{id:"subscriptionSection",className:"subscriptionSection"},n.createElement("div",{className:"scrollControlWrap",id:"scrollControlWrap"},n.createElement("a",{id:"anchorTagRates"},"RATES AND FEES",n.createElement("span",{className:"material-icons"},"keyboard_arrow_down")),n.createElement("a",{id:"anchorTagQuestions"},"QUESTIONS",n.createElement("span",{className:"material-icons"},"keyboard_arrow_down"))),n.createElement("div",{className:"pricing-wrapper",id:"pricing-wrapper-new-page"},n.createElement("div",{className:"pricing-container ",id:"pricing-container"},n.createElement("h2",{className:"title "},"2020 subscription rates"),n.createElement("p",{className:"summary-desktop"},"Your Bright subscription includes access to our innovative MLS platform, and an array of powerful tools, for one low monthly fee."),n.createElement("div",{className:"MuiGrid-root title-row-container-with-two-cards MuiGrid-container",id:"pricing-container-title-row"},n.createElement("div",{className:"MuiGrid-root title-row-top-bottom title-row-left MuiGrid-item MuiGrid-grid-xs-true",id:"pricingTable_0"},"Member of Stakeholder",n.createElement("p",{className:"assocationText"},"Assocation")),n.createElement("div",{className:"MuiGrid-root title-row-top-bottom MuiGrid-item MuiGrid-grid-xs-true",id:"pricingTable_1"}
1,"Unlicensed assistant"),n.createElement("div",{className:"MuiGrid-root title-row-top-bottom title-row-right MuiGrid-item MuiGrid-grid-xs-true",id:"pricingTable_2"},"Non-REALTOR or member of Non-stakeholder Association")),n.createElement("div",{className:"MuiGrid-root pricing-container-with-two-cards MuiGrid-container",id:"pricing-container-cards-row"},n.createElement("div",{className:"MuiGrid-root title-row-mobile title-row-top-bottom title-row-left title-row-right MuiGrid-item MuiGrid-grid-xs-true",id:"pricingTable_Section_0"},"Member of Stakeholder Assocation"),n.createElement("div",{className:"MuiGrid-root card-container-grid MuiGrid-item MuiGrid-grid-xs-true",id:"pricingCardContainer_0"},n.createElement("div",{className:"MuiPaper-root MuiCard-root pricing-card  pricing-card-left card common-card-container MuiPaper-elevation1 MuiPaper-rounded"},n.createElement("div",{className:"MuiCardContent-root"},n.createElement("h3",{className:"MuiTypography-root card-title MuiTypography-h3",id:"pricingCard_0-h3-card-title"},"$105"),n.createElement("div",{className:"card-sub-title",id:"pricingCard_0-card-sub-title"},"Per quarter"))),n.createElement("div",{id:"pricingComment_0",className:"pricing-comment"})),n.createElement("div",{className:"MuiGrid-root title-row-mobile title-row-top-bottom title-row-left title-row-right MuiGrid-item MuiGrid-grid-xs-true",id:"pricingTable_Section_1"},"Unlicensed assistant"),n.createElement("div",{className:"MuiGrid-root card-container-grid MuiGrid-item MuiGrid-grid-xs-true",id:"pricingCardContainer_1"},n.createElement("div",{className:"MuiPaper-root MuiCard-root pricing-card pricing-card-right card common-card-container MuiPaper-elevation1 MuiPaper-rounded"},n.createElement("div",{className:"MuiCardContent-root"},n.createElement("h3",{className:"MuiTypography-root card-title MuiTypography-h3",id:"pricingCard_1-h3-card-title"},"$105"),n.createElement("div",{className:"card-sub-title",id:"pricingCard_1-card-sub-title"},"Per quarter"))),n.createElement("div",{id:"pricingComment_1",className:"pricing-comment"})),n.createElement("div",{className:"MuiGrid-root title-row-mobile title-row-top-bottom title-row-left title-row-right MuiGrid-item MuiGrid-grid-xs-true",id:"pricingTable_Section_2"},"Non-REALTOR or member of Non-stakeholder Association"),n.createElement("div",{className:"MuiGrid-root card-container-grid MuiGrid-item MuiGrid-grid-xs-true",id:"pricingCardContainer_2"},n.createElement("div",{className:"MuiPaper-root MuiCard-root pricing-card pricing-card-right card common-card-container MuiPaper-elevation1 MuiPaper-rounded"},n.createElement("div",{className:"MuiCardContent-root"},n.createElement("h3",{className:"MuiTypography-root card-title MuiTypography-h3",id:"pricingCard_1-h3-card-title"},"$159"),n.createElement("div",{className:"card-sub-title",id:"pricingCard_1-card-sub-title"},"Per quarter"))),n.createElement("div",{id:"pricingComment_2",className:"pricing-comment"}))),n.createElement("div",{className:"MuiGrid-root MuiGrid-container MuiGrid-align-items-xs-center MuiGrid-justify-xs-center"},n.createElement("a",{href:"https://www.brightmls.com/our-associations",id:"associations_link",className:"associations_link","aria-label":"VIEW LIST OF STAKEHOLDER ASSOCIATIONS"},"VIEW LIST OF STAKEHOLDER ASSOCIATIONS"))))),n.createElement("section",{id:"activationFeeSection",className:"activationFeeSection"},n.createElement("p",{id:"activationFeeHeading",className:"activationFeeHeading"},"Activation Fee"),n.createElement("div",{id:"activationFeeSummary",className:"activationFeeSummary"},"In addition to a quarterly subscription charges, Bright MLS will charge new and returning subscribers a one-time fee:",n.createElement("div",{id:"rateText",className:"rateText"},"Activation Fee:",n.createElement("p",{id:"pricingInfoText",className:"pricingInfoText"},"$250 per subscriber")),n.createElement("p",null,"This fee is required for new subscribers and to restore MLS services that have been inactive for 30 days or more (plus all unpaid fees)."),n.createElement("p",null,"Certain jurisdictions require sales tax. Where applicable, sales tax will be added.")),n.createElement("div",{id:"borderBottomDiv",className:"borderBottomDiv"})),n.createElement("section",{id:"faqSection",className:"activationFeeSection faqHeading"},n.createElement("div",{id:"frequentlyAskedQuestions",className:"activationFeeHeading "},"Frequently asked",n.createElement("div",{className:"lineBreakStyle"},"questions",n.createElement("p",{id:"expandAllButton",className:"expandAllButton"},"Expand all")),n.createElement("p",{id:"collapseAllButton",className:"expandAllButton collapseAllButton"},"Collapse all")),n.createElement("button",{className:"accordion",id:"faq_question1"},"When do I get billed?"),n.createElement("div",{className:"panel"},n.createElement("p",null,"Subscription fees for Bright MLS are on a quarterly cycle, and are billed 
1in advance. This means that upon joining Bright, you will be billed every three months on the anniversary of your last billing date for the next quarter\u2019s billing cycle.")),n.createElement("button",{className:"accordion",id:"faq_question2"},"Whem am I invoiced?"),n.createElement("div",{className:"panel"},n.createElement("p",null,"Bright MLS subscription fees are invoiced quarterly (every three months), and in advance. All bills are due immediately upon receipt. If we have not received your payment within 25 days of the invoice date, you may be subject to a $25 late fee. If your bill remains unpaid after 45 days of the invoice date, you may be subject to a suspension of MLS services.")),n.createElement("button",{className:"accordion",id:"faq_question3"},"Can I get a refund?"),n.createElement("div",{className:"panel"},n.createElement("p",null,"All MLS subscription fees are non-refundable and cannot be waived after the account has been invoiced. Once a subscription period begins, and the subscription fee is billed, the amount owed for that entire subscription period is due in full, and will not be waived, refunded, or prorated due to any early termination of service.")),n.createElement("button",{className:"accordion",id:"faq_question4"},"Do these charges renew automatically?"),n.createElement("div",{className:"panel"},n.createElement("p",null,"Yes, subscriptions renew automatically, unless notice is received by Bright MLS prior to the start of the next quarterly subscription period that a customer wishes to cancel a subscription.")),n.createElement("button",{className:"accordion",id:"faq_question5"},"How do I cancel my subscription?"),n.createElement("div",{className:"panel"},n.createElement("p",null,"To cancel your Bright MLS Subscription, please send an email to [email protected]. The email must be sent from the email address you currently have on file with Bright MLS. You can include an effective cancellation date, or the subscription will be cancelled as soon as possible upon receipt.")),n.createElement("button",{className:"accordion",id:"faq_question6"},"I am a member of my association, do I get a discount?"),n.createElement("div",{className:"panel"},n.createElement("p",null,"Members of Bright shareholder associations receive the discounted rate. To view a list of our shareholder associations, please visit brightmls.com/associations."))),n.createElement("section",{id:"moreHelpSection",className:"moreHelpSection"},n.createElement("h2",{className:"mhsHeading",id:"mhsHeading"},"More Help"),n.createElement("p",{className:"mhsSubtitle",id:"mhsSubtitle"},"How to view and pay your Bright invoice and how to set up auto-pay for your Bright subscription."),n.createElement("a",{id:"mhsCTA",className:"mhsCTA primaryButton btn",href:"https://support.brightmls.com/s/article/How-do-I-pay-my-balance"},n.createElement("span",{className:"mhsCTAText",id:"mhsCTAText"},"WATCH VIDEO"))))))}var Rp=a(5969),Op=a(37235);const Up={textDecoration:"none"},Fp={width:"100%"},$p=e=>{let{contributorsInfo:t}=e;return n.createElement(n.Fragment,null,n.createElement("div",{className:"theContributors sideBarFooterItem"},n.createElement("hr",null),n.createElement("h5",{className:"headingFive"},"Contributors"),null===t||void 0===t?void 0:t.map(e=>{var i;return n.createElement("a",{key:t.indexOf(e),style:Up,className:"contributorsLink",href:e.contributorURL},n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{item:!0,xs:2,className:"iAvatar"},n.createElement("div",{className:"avatarImgContainer"},n.createElement("img",{style:Fp,src:null!==(i=e.authorAvatar)&&void 0!==i?i:a(57545),alt:e.authoredBy}))),n.createElement(b.Ay,{item:!0,xs:10,className:"authoredByContainer"},n.createElement("h5",{className:"headingFive authoredBy"},e.authoredBy),n.createElement(W.A,{className:"authorTitle"},e.authorTitle))))})),n.createElement("div",{className:"socialMedia sideBarFooterItem"},n.createElement("hr",{className:"smHR"}),n.createElement("a",{href:"#","aria-label":"Linked Icon",className:"linkIcon socialLink"},n.createElement(Rp.A,null)),n.createElement("a",{href:"#","aria-label":"Twitter",className:"twitterIcon socialLink"},n.createElement(ld.A,null)),n.createElement("a",{href:"#","aria-label":"Facebook",className:"facebookIcon socialLink"},n.createElement(Op.A,null)),n.createElement("a",{href:"#","aria-label":"Linked In",className:"linkedinIcon socialLink"},n.createElement(rd.A,null))))};var Wp=a(82265);function Hp(e){let{tableOfContents:t}=e;const[a,i]=n.useState(null),r=Boolean(a),l=()=>{i(null)};return n.createElement("div",null,!S()&&n.createElement("ul",null,null===t||void 0===t?void 0:t.map(e=>n.createElement("li",{key:t.indexOf(e)},n.createElement("a",{href:`#${e.anchorURL}`},e.anchorCopy)))),S()&&n.createElement(n.Fragment,null,n.createElement(P.A,{id:"basic-button","aria-controls":r?"basic-menu":void 0,"aria-haspopup":"true","aria-expanded":r?"true":void 0,onClick:e=>{i(e.currentTarget)},className:"viewAllBtn",endIcon:n.createElement(Wp.A,null)},"View All"),n.createElement(er.A,{id:"basic-menu",anchorEl:a,open:r,onClose:l,MenuListProps:{"aria-labelledby":"basic-button"},className:"viewAllMenu"},null===t||void 0===t?void 0:t.map(e=>n.createElement("a",{key:t.indexOf(e),href:`#${e.anchorURL}`},n.createElement(tr.A,{onClick:l},e.anchorCopy))))))}const jp=[{anchorURL:"introduction",anchorCopy:"Introduction"},{anchorURL:"section1",anchorCopy:"Section 1"},{anchorURL:"section2",anchorCopy:"Section 2"}
1,{anchorURL:"conclusion",anchorCopy:"Conclusion"}],zp=[{contributorURL:"https://brightmls.com/",authorAvatar:"https://images.ctfassets.net/1g8q1frp41ix/zRx6QdvXVfwTK3CJNVwsx/13b19047ddda04906ede306a65feb176/avatar-lisa-s.png",authoredBy:"Lisa Sturtevant, PhD",authorTitle:"Chief Economist"},{contributorURL:"https://brightmls.com/",authoredBy:"Erica Plemmons",authorTitle:"Chief Economist"},{contributorURL:"https://brightmls.com/",authorAvatar:"https://images.ctfassets.net/1g8q1frp41ix/zRx6QdvXVfwTK3CJNVwsx/13b19047ddda04906ede306a65feb176/avatar-lisa-s.png",authoredBy:"Colby Stout",authorTitle:"Chief Economist"}],Vp=()=>n.createElement("section",{id:"TBA",className:"marketingTemplateWrapper rhBodySidebar_wrapper"},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{item:!0,xs:12,md:5,lg:4},n.createElement("div",{className:"sideBarContainer"},n.createElement("div",{className:"stickySidebar"},jp&&jp.filter(e=>!!e.anchorURL).length>1&&n.createElement("div",{className:"tableOfContents sideBarFooterItem"},n.createElement("hr",null),n.createElement("h5",{className:"headingFive"},"Table of contents"),n.createElement(Hp,{tableOfContents:jp})),!S()&&n.createElement($p,{contributorsInfo:zp})))),n.createElement(b.Ay,{item:!0,xs:12,md:7,lg:8,className:"articleBody"},null===jp||void 0===jp?void 0:jp.map(e=>n.createElement("div",{key:jp.indexOf(e),className:"theBody"},n.createElement("div",{id:e.anchorURL,className:"anchorAbsolute"}),n.createElement("h2",{className:"headingTwo"},e.anchorCopy))),S()&&n.createElement($p,{contributorsInfo:zp}))))),Gp=()=>n.createElement("section",{id:"rhBannerArticlesNew_wrapper",className:"marketingTemplateWrapper allBanners",style:{backgroundImage:`url(${a(4262)})`}},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{className:"bannerLeft",item:!0,xs:12,md:6},n.createElement(od,{topBannerMiniTitle:"Bright Research",topBannerTitle:"Article title goes here",topBannerSummary:"This is the article summary. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ullamcorper mattis lorem non. "})),n.createElement(b.Ay,{className:"bannerRight",item:!0,xs:12,md:6},n.createElement("img",{className:"articleHeroImg",src:"https://images.ctfassets.net/1g8q1frp41ix/5P0yAZvTeaqFGYHuk1QDhM/a421f02e2aeb6965c16dc3fee616ae3f/Image-1.jpg",alt:""})))));const qp=function(){return(0,n.useEffect)(()=>{document.title="Bright Research Article | Bright MLS"},[]),n.createElement("div",{className:"mtMain"},n.createElement(d.m,null,n.createElement("body",{id:"TBA",className:"researchHub aPage articlesTemplate ArticlesTemplateRH"})),n.createElement(Gp,null),n.createElement(Vp,null),n.createElement(Nd,{mintBack:"mintBack",title:"Latest News & Insights",buttonText:"See More News",buttonUrl:"https://www.dev.brightmls.com/listarticles?category=market-report"}))},Yp=()=>n.createElement("section",{id:"buttonsLinks_wrapper",className:"marketingTemplateWrapper"},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement("h2",{className:"headingTwo"},"Buttons & Links"),n.createElement(_,{primaryBtnCopy:"Primary Button",secondaryBtnCopy:"Primary Button"}),n.createElement("p",null,"Paragraph ",n.createElement(_,{primaryInlineLinkCopy:"primary inline link"})," dummy text of the printing and ",n.createElement(_,{secondaryInlineLinkCopy:"primary inline link"})," typesetting industry. Lorem Ipsum  of type and scrambled it to make a type specimen book."),n.createElement(_,{primaryLinkCopy:"primary link"}),n.createElement(_,{secondaryLinkCopy:"secondary link",linkWithOutArrow:{arrowType:"withOutArrow"}}),n.createElement("br",null),n.createElement("br",null),n.createElement("h3",{className:"headingThree"},"Buttons"),n.createElement("ul",null,n.createElement("li",null,"font-size Desktop: 18px;"),n.createElement("li",null,"font-size Mobile: 16px;"),n.createElement("li",null,"font-weight: 700;"),n.createElement("li",null,"line-height Desktop: 24px;"),n.createElement("li",null,"line-height Mobile: 20px;"),n.createElement("li",null,"border-radius: 4px;"),n.createElement("li",null,"padding: 12px 20px;"),n.createElement("li",null,"Hover background: Dark Navy #192851"),n.createElement("li",null,"PRIMARY"),n.createElement("li",null,"background color: Bright Orange #ff4500"),n.createElement("li",null,"SECONDARY"),n.createElement("li",null,"background color: transperant")),n.createElement("h3",{className:"headingThree"},"Links"),n.createElement("h4",null,"Inline Links"),n.createElement("ul",null,n.createElement("li",null,"font-size: inherit"),n.createElement("li",null,"font-weight: 900;"),n.createElement("li",null,"line-height: inherit"),n.createElement("li",null,"Hover: text underline"),n.createElement("li",null,"PRIMARY"),n.createElement("li",null,"font color: Blue Violet #1f3a93"),n.createElement("li",null,"SECONDARY"),n.createElement("li",null,"font color: Bright Orange #ff4500")),n.createElement("h4",null,"Stand Alone Links"),n.createElement("ul",null,n.createElement("li",null,"font-size: 20px;"),n.createElement("li",null,"font-weight: 900;"),n.createElement("li",null,"line-height: 20px;"),n.createElement("li",null,"Hover: text underline"),n.createElement("li",null,"PRIMARY"),n.createElement("li",null,"font color: Blue Violet #1f3a93"),n.createElement("li",null,"SECONDARY"),n.createElement("li",null,"font color: Bright Orange #ff4500")))),Kp=()=>n.createElement("div",null,n.createElement("h3",{className:"headingThree"},n.createElement("span",{className:"displayBlockMobile"},"Heading Tags:")," h1, h2, h3, h4, h5"),n.createElement("br",null),n.createElement("h1",{className:"mainHeading"},"Main Header / h1 tag"),!N()&&n.createElement("h1",{className:"mainHeading"},"55pt Roboto Serif 500, 56 LH, 50 MB"),N()&&n.createElement("h1",{className:"mainHeading"},"32pt Roboto Serif 500, 36 LH, 25 MB"),n.createElement("p",null,n.createElement("hr",null)),n.createElement("h2",{className:"headingTwo"},"Sub-headline / h2 tag"),!N()&&n.createElement("h2",{className:"headingTwo"},"48pt Roboto Serif 500, 60 LH, 45 MB"),N()&&n.createElement("h2",{className:"headingTwo"},"28pt Roboto Serif 500, 32 LH, 30 MB"),n.createElement("p",null,n.createElement("hr",null)),n.createElement("h3",{className:"headingThree"},"Heading 3 / h3 tag"),!N()&&n.createElement("h3",{className:"headingThree"},"32pt Roboto Serif 500, 40 LH, 25 MB"),N()&&n.createElement("h3",{className:"headingThree"},"24pt Roboto Serif 500, 28 LH, 20 MB"),n.createElement("p",null,n.createElement("hr",null)),n.createElement("h4",{className:"headingFour"},"Heading 4 / h4 tag"),!N()&&n.createElement("h4",{className:"headingFour"},"24pt Roboto Serif 500, 32 LH, 20 MB"),N()&&n.createElement("h4",{className:"headingFour"},"20pt Roboto Serif 500, 24 LH, 20 MB"),n.createElement("p",null,n.createElement("hr",null)),n.createElement("h5",{className:"headingFive"},"Heading 5 / h5 tag"),!N()&&n.createElement("h5",{className:"headingFive"},"20pt Roboto Serif 500, 24 LH, 20 MB"),N()&&n.createElement("h5",{className:"headingFive"},"18pt Roboto Serif 500, 24 LH, 20 MB")),Jp=()=>n.createElement("div",null,n.createElement("h3",{className:"headingThree"},"Paragraphs / Body font"),n.createElement("h4",{className:"headingFour"}
1,"Large"),!N()&&n.createElement("p",{className:"bodyLarge"},"20pt Roboto Flex 500, 28 LH, 20 MB"),N()&&n.createElement("p",{className:"bodyLarge"},"18pt Roboto Flex 500, 24 LH, 20 MB"),n.createElement("h4",{className:"headingFour"},"Regular"),"`   ",n.createElement("p",null,"16pt Roboto Flex 400, 27 LH, 20 MB")),Qp=()=>n.createElement("div",null,n.createElement("h3",{className:"headingThree"},"Other Specs"),n.createElement("h4",{className:"headingFour"},"Detail Copy"),n.createElement("p",{className:"detailCopy"},"14px Roboto Flex 400, 21 LH, 20 MB"),n.createElement("h4",{className:"headingFour"},"Fine Detail Copy"),n.createElement("p",{className:"fineDetailCopy"},"12px Roboto Flex 500, 16 LH, 20 MB")),Xp=()=>n.createElement("section",{id:"typographySpecs_wrapper",className:"marketingTemplateWrapper"},n.createElement("div",{className:"marketingTemplateContainer"},!N()&&n.createElement("h2",{className:"headingTwo"},"Typography Desktop"),N()&&n.createElement("h2",{className:"headingTwo"},"Typography Mobile"),n.createElement("span",{className:"myNotes"},"All mobile break points for typopgraphy at 600px width"),n.createElement("br",null),n.createElement("br",null),n.createElement(Kp,null),n.createElement("p",null,n.createElement("hr",null)),n.createElement("p",null,n.createElement("hr",null)),n.createElement(Jp,null),n.createElement("p",null,n.createElement("hr",null)),n.createElement("p",null,n.createElement("hr",null)),n.createElement(Qp,null))),Zp=[{name:"market-report",value:"Market reports"},{name:"release-notes",value:"Release notes"},{name:"market-update",value:"Market updates"},{name:"bright-news",value:"Bright news"},{name:"share-with-clients",value:"Share with clients"},{name:"training",value:"Training"},{name:"industry-news",value:"Industry news"},{name:"video",value:"Videos"},{name:"product",value:"Product updates"},{name:"campaign-video",value:"Campaign videos"}],eg="BRIGHTMLS",tg="OFFICENEWS",ag=["OFFICENEWS"],ng=["BRIGHTMLS"],ig={textDecoration:"none"},rg={width:"100%"},lg=e=>{const{imageUrl:t,title:i,postDate:r,articleNewsId:l,articleSummary:o}=e.article,{index:c}=e;return n.createElement("div",{className:"article-container researchHub"},n.createElement(m.N_,{target:"_blank",style:ig,className:"newsArticleLink",to:`/article/${l}`},n.createElement("div",{id:`newsArticleImg-${c}`,className:"newsArticleImg",style:{backgroundImage:`url(${t})`}}),n.createElement("div",{id:`newsArticleCopy-${c}`,className:"newsArticleCopy"},n.createElement("h4",{id:`newsArticleImg-${c}`,className:"newsArticleTitle headingFour"},n.createElement("span",{className:"arrowUpRight"},n.createElement(Et.A,null)),i),n.createElement(W.A,{className:"newsArticleSummary"},o),n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{item:!0,xs:2,className:"iAvatar"},n.createElement("img",{style:rg,src:a(57545),alt:""})),n.createElement(b.Ay,{item:!0,xs:10},n.createElement("h5",{className:"headingFive authoredBy"},"Authored By"),n.createElement(W.A,{className:"newsArticleDate detailCopy"},(0,H.wU)(r)))))))};var og=a(18564);const cg=[{breakpoint:800,settings:{slidesToShow:3,slidesToScroll:2}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:0,settings:{slidesToShow:1,slidesToScroll:1}}],sg=e=>{const{articles:t}=e;return n.createElement(og.q7,{responsive:cg,indicators:!0,autoplay:!1,transitionDuration:3e3,duration:5e3,arrows:!1},null===t||void 0===t?void 0:t.map((e,t)=>n.createElement(lg,{key:"",index:`${t}`,article:e})))},mg=e=>{const{articles:t,showNoFilterMsg:a}=e;return n.createElement(sg,{id:"news-gallery-articles-grid",articles:t,showNoFilterMsg:a})};function dg(e){var t;const{viewType:a}=e,i=(0,s.zy)(),r=(0,H.IT)(i),l=r.get("category"),o=r.get("filter"),c=null!==(t=r.get("search"))&&void 0!==t?t:"",[m,d]=(0,n.useState)(null),[u,p]=(0,n.useState)(!1),[g,h]=(0,n.useState)({keyword:c,type:"",category:"",pageNo:1,from:"",to:"",publishedBy:"",articlePerPage:9}),[E,y]=(0,n.useState)(!1),[b,f]=(0,n.useState)(1),v=(0,s.Zp)();return(0,n.useEffect)(()=>{""===g.publishedBy?d(null):function(e){e.articlePerPage=(0,H.jr)()>1279?9:8,(0,Ve.qA)(e).then(e=>{null!==e&&void 0!==e&&e.payload&&e.payload.length>0?y(!1):y(!0),null!=document.getElementById("article_id")&&u&&p(!1),d(e)}).catch(e=>{d(null),e===_t.dq&&v("/dashboard")})}(g)},[g]),(0,n.useEffect)(()=>
1{if((0,H.xA)())if(l||a){const e=(0,H.l6)(l,Zp);h({...g,category:e?e.name:"",publishedBy:eg,pageNo:1})}else o&&o.toLowerCase()==="articles".toLowerCase()?h({...g,pageNo:1,publishedBy:eg}):o&&o.toLowerCase()==="myoffice".toLowerCase()?h({...g,pageNo:1,publishedBy:tg}):o&&"myoffice"!==o&&"articles"!==o?h({...g,pageNo:1,publishedBy:o.toUpperCase()}):null===o&&(0,Ve.AE)("Association").then(e=>{let t=e.map(e=>e.code);t=[...ng,...t,...ag],h({...g,pageNo:1,publishedBy:t.join(",")})}).catch(()=>{const e=[...ng,...ag];h({...g,pageNo:1,publishedBy:e.join(",")})})},[]),(0,n.useEffect)(()=>{if(l){const e=(0,H.l6)(l,Zp);h({...g,publishedBy:ng.join(","),category:e?e.name:"",pageNo:1})}else h(o?{...g,category:"",keyword:o,publishedBy:ng.join(","),pageNo:1}:{...g,publishedBy:ng.join(","),pageNo:1})},[]),n.createElement("div",{className:"newsArtilcesCarousel"},null!==m&&void 0!==m&&m.payload?n.createElement(mg,{currentPage:b,articlePerPages:null===m||void 0===m?void 0:m.articlePerPages,onPageClick:function(e,t){p(!0),g.pageNo!==t&&(f(t),h({...g,pageNo:t}))},count:null===m||void 0===m?void 0:m.count,showNoFilterMsg:E,articles:null===m||void 0===m?void 0:m.payload}):null)}const ug=()=>n.createElement("section",{id:"colorsExample_wrapper",className:"marketingTemplateWrapper"},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement("h2",{className:"headingTwo"},"Colors"),n.createElement("h2",null,"Marketing Colors Pallette"),n.createElement("h3",null,"From Brandbook"),n.createElement("ul",{className:"roundedSquare"},n.createElement("li",{className:"brightOrange cWht"},"#FF4500",n.createElement("div",null,"Bright Orange")),n.createElement("li",{className:"darkNavy cWht"},"#192851",n.createElement("div",null,"Dark Navy")),n.createElement("li",null,"#FFFFFF",n.createElement("div",null,"White")),n.createElement("li",{className:"parchment"},"#FFF7EB",n.createElement("div",null,"Parchment")),n.createElement("li",{className:"coolGray cWht"},"#4F5A65",n.createElement("div",null,"Cool Gray")),n.createElement("li",{className:"blueViolet cWht"},"#1F3A93",n.createElement("div",null,"Blue Violet")),n.createElement("li",{className:"spearMint"},"#6E2D5",n.createElement("div",null,"Spear Mint")),n.createElement("li",{className:"mint"},"#F3FBFD",n.createElement("div",null,"Mint"))),n.createElement("hr",null),n.createElement("h2",null,"Digital Product Color System"),n.createElement("h3",null,"From Design System"),n.createElement("h4",null,"Azure"),n.createElement("ul",{className:"roundedSquare"},n.createElement("li",{className:"azureDark cWht"},"#253772",n.createElement("div",null,"Azure Dark")),n.createElement("li",{className:"azureMedium cWht"},"#8094D6",n.createElement("div",null,"Azure Medium")),n.createElement("li",{className:"azureLight"},"#E8EDF6",n.createElement("div",null,"Azure Light"))),n.createElement("h4",null,"Mandarine"),n.createElement("ul",{className:"roundedSquare"},n.createElement("li",{className:"mandarinDark cWht"},"#652106",n.createElement("div",null,"Mandarin Dark")),n.createElement("li",{className:"mandarinMedium cWht"},"#F13C00",n.createElement("div",null,"Mandarin Medium")),n.createElement("li",{className:"mandarinLight"},"#FEE8E6",n.createElement("div",null,"Mandarin Light"))),n.createElement("h4",null,"Forest"),n.createElement("ul",{className:"roundedSquare"},n.createElement("li",{className:"forestDark cWht"},"#344539",n.createElement("div",null,"Forest Dark")),n.createElement("li",{className:"forestMedium cWht"},"#6D957E",n.createElement("div",null,"Forest Medium")),n.createElement("li",{className:"forestLight"},"#F3FAF8",n.createElement("div",null,"Forest Light"))),n.createElement("h3",null,"Notification Colors"),n.createElement("h4",null,"Scarlet"),n.createElement("ul",{className:"roundedSquare"},n.createElement("li",{className:"scarletDark cWht"},"#511313",n.createElement("div",null,"Scarlet Dark")),n.createElement("li",{className:"scarletMedium cWht"},"#ED2024",n.createElement("div",null,"Scarlet Medium")),n.createElement("li",{className:"scarletLight"},"#FDEDED",n.createElement("div",null,"Scarlet Light"))),n.createElement("h4",null,"Emerald"),n.createElement("ul",{className:"roundedSquare"},n.createElement("li",{className:"emeraldDark cWht"},"#A22D0B",n.createElement("div",null,"Emerald Dark")),n.createElement("li",{className:"emeraldMedium cWht"},"#477E39",n.createElement("div",null,"Emerald Medium")),n.createElement("li",{className:"emeraldLight"},"#F3FAF8",n.createElement("div",null,"Emerald Light"))),n.createElement("h4",null,"Cerulean"),n.createElement("ul",{className:"roundedSquare"},n.createElement("li",{className:"ceruleanDark cWht"},"#003560",n.createElement("div",null,"Cerulean Dark")),n.createElement("li",{className:"ceruleanMedium cWht"},"#0288D1",n.createElement("div",null,"Cerulean Medium")),n.createElement("li",{className:"ceruleanLight"},"#E5F6FD",n.createElement("div",null,"Cerulean Light"))),n.createElement("hr",null),n.createElement("h3",null,"Grays"),n.createElement("ul",{className:"roundedSquare"},n.createElement("li",{className:"gray500 cWht"},"#1a1a1e",n.createElement("div",null,"Gray 500")),n.createElement("li",{className:"gray400 cWht"},"#616673",n.createElement("div",null,"Gray 400")),n.createElement("li",{className:"gray300"},"#bbbbc4",n.createElement("div",null,"Gray 300")),n.createElement("li",{className:"gray200"},"#E4E4E4",n.createElement("div",null,"Gray 200")),n.createElement("li",{className:"gray100"},"#F2F2F2",n.createElement("div",null,"Gray 100")))),n.createElement("div",{className:"clearFix"})),pg=[{id:"p1",title:"Stay top of mind and attract new clients with ease",paragraph:"Keep potential clients engaged with automated content posted across your social accounts. With over 40,000 pieces of original content, there&apos;s always something exciting to share."},{id:"p2",title:"Stay top of mind and attract new clients with ease",paragraph:"Keep potential clients engaged with automated content posted across your social accounts. With over 40,000 pieces of original content, there&apos;s always something exciting to share."},{id:"p3",title:"Stay top of mind and attract new clients with ease",paragraph:"Keep potential clients engaged with automated content posted across your social accounts. With over 40,000 pieces of original content, there&apos;s always something exciting to share."}],gg=()=>n.createElement("section",{id:"gridMock3_wrapper",className:"marketingTemplateWrapper"},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement(b.Ay,{container:!0},n.createElement(b.Ay,{item:!0,md:12,lg:6},n.createElement(La.A,{component:"div",className:"growGrid ggLeft"},n.createElement("h2",{className:"headerTwo"},"Save time and grow your business with social media marketing designed for real estate pros"),n.createElement("ul",null,pg.map(e=>n.createElement("li",{key:e.id,id:e.id},n.createElement("h3",{className:"headerThree"},e.title),n.createElement("p",null,e.paragraph)))))),n.createElement(b.Ay,{item:!0,md:12,lg:6,style:{border:"solid"}}
1,"Image of phone will go here")))),hg=()=>n.createElement("div",null,n.createElement(gg,null)),Eg=()=>n.createElement("section",{id:"gridMock1_wrapper",className:"marketingTemplateWrapper"},n.createElement("div",{className:"marketingTemplateContainer"},n.createElement("h2",{className:"headingTwo"},"breakpoints for Sections AND for Grids are:"),n.createElement("ul",null,n.createElement("li",null,"xs = 480px"),n.createElement("li",null,"sm = 600px"),n.createElement("li",null,"md = 960px"),n.createElement("li",null,"lg = 1280px"),n.createElement("li",null,"xl = 1920px")),n.createElement(b.Ay,{container:!0,className:"gridExample"},n.createElement(b.Ay,{item:!0,xs:12,sm:6,md:4,lg:2,xl:4},n.createElement("div",{className:"itemGrid"},"1")),n.createElement(b.Ay,{item:!0,xs:12,sm:6,md:4,lg:2,xl:4},n.createElement("div",{className:"itemGrid"},"2")),n.createElement(b.Ay,{item:!0,xs:12,sm:6,md:4,lg:2,xl:4},n.createElement("div",{className:"itemGrid"},"3")),n.createElement(b.Ay,{item:!0,xs:12,sm:6,md:4,lg:2,xl:4},n.createElement("div",{className:"itemGrid"},"4")),n.createElement(b.Ay,{item:!0,xs:12,sm:6,md:4,lg:2,xl:4},n.createElement("div",{className:"itemGrid"},"5")),n.createElement(b.Ay,{item:!0,xs:12,sm:6,md:4,lg:2,xl:4},n.createElement("div",{className:"itemGrid"},"6"))))),yg=[{image:"https://images.ctfassets.net/1g8q1frp41ix/6AeT8c2ve1JvboQY2KsMHd/d2d4075c1906ebb0c132ee1ad9713c23/icon-graph.png",headline:"Live Coaching Live Live Live Live Coaching Live",description:"Train in real time with tailored guidance from one of our knowledgeable Customer Success Coaches.",ctaLink:"https://brightmls.com/"},{image:"https://images.ctfassets.net/1g8q1frp41ix/3SUs8DvyOmOqO9bzkaIcHR/39f60a5c521717eb3a024c956fb6d993/icon-gift.png",headline:"Included Benefits",description:"Get the most out of your MLS through online lessons or live coaching.",ctaLink:"https://brightmls.com/"},{image:"https://images.ctfassets.net/1g8q1frp41ix/6AeT8c2ve1JvboQY2KsMHd/d2d4075c1906ebb0c132ee1ad9713c23/icon-graph.png",headline:"Live Coaching",description:"Train in real time with tailored guidance from one of our knowledgeable Customer Success Coaches.",ctaLink:"https://brightmls.com/"}],bg=[{image:"https://images.ctfassets.net/1g8q1frp41ix/6AeT8c2ve1JvboQY2KsMHd/d2d4075c1906ebb0c132ee1ad9713c23/icon-graph.png",headline:"Live Coaching Live Live Live Live Coaching Live",description:"Train in real time with tailored guidance from one of our knowledgeable Customer Success Coaches."},{image:"https://images.ctfassets.net/1g8q1frp41ix/3SUs8DvyOmOqO9bzkaIcHR/39f60a5c521717eb3a024c956fb6d993/icon-gift.png",headline:"Included Benefits",description:"Get the most out of your MLS through online lessons or live coaching."},{image:"https://images.ctfassets.net/1g8q1frp41ix/6AeT8c2ve1JvboQY2KsMHd/d2d4075c1906ebb0c132ee1ad9713c23/icon-graph.png",headline:"Live Coaching",description:"Train in real time with tailored guidance from one of our knowledgeable Customer Success Coaches."}],fg=[{ctaLink:"https://brightmls.com/",image:"https://images.ctfassets.net/1g8q1frp41ix/6AeT8c2ve1JvboQY2KsMHd/d2d4075c1906ebb0c132ee1ad9713c23/icon-graph.png",headline:"Two With cta Live Coaching Live Coaching Live",description:"Train in real time with tailored guidance from one of our knowledgeable Customer Success Coaches."},{ctaLink:"https://brightmls.com/",image:"https://images.ctfassets.net/1g8q1frp41ix/3SUs8DvyOmOqO9bzkaIcHR/39f60a5c521717eb3a024c956fb6d993/icon-gift.png",headline:"Included Benefits",description:"Get the most out of your MLS through online lessons or live coaching."},{ctaLink:"https://brightmls.com/",image:"https://images.ctfassets.net/1g8q1frp41ix/6AeT8c2ve1JvboQY2KsMHd/d2d4075c1906ebb0c132ee1ad9713c23/icon-graph.png",headline:"Live Coaching",description:"Train in real time with tailored guidance from one of our knowledgeable Customer Success Coaches."},{ctaLink:"https://brightmls.com/",image:"https://images.ctfassets.net/1g8q1frp41ix/3SUs8DvyOmOqO9bzkaIcHR/39f60a5c521717eb3a024c956fb6d993/icon-gift.png",headline:"Included Benefits",description:"Get the most out of your MLS through online lessons or live coaching."}],vg=[{image:"https://images.ctfassets.net/1g8q1frp41ix/6AeT8c2ve1JvboQY2KsMHd/d2d4075c1906ebb0c132ee1ad9713c23/icon-graph.png",headline:"Three with hastag Live Coaching Live Live Live",description:"Train in real time with tailored guidance from one of our knowledgeable Customer Success Coaches.",buttonText:"Schedule Session",ctaLink:"https://brightmls.com/home"},{image:"https://images.ctfassets.net/1g8q1frp41ix/3SUs8DvyOmOqO9bzkaIcHR/39f60a5c521717eb3a024c956fb6d993/icon-gift.png",headline:"Included Benefits",description:"Get the most out of your MLS through online lessons or live coaching.",buttonText:"Videw Benefits",ctaLink:"https://brightmls.com/home"},{image:"https://images.ctfassets.net/1g8q1frp41ix/6AeT8c2ve1JvboQY2KsMHd/d2d4075c1906ebb0c132ee1ad9713c23/icon-graph.png",headline:"Live Coaching",description:"Train in real time with tailored guidance from one of our knowledgeable Customer Success Coaches.",buttonText:"Schedule Session",ctaLink:"https://brightmls.com/home"},{image:"https://images.ctfassets.net/1g8q1frp41ix/3SUs8DvyOmOqO9bzkaIcHR/39f60a5c521717eb3a024c956fb6d993/icon-gift.png",headline:"Included Benefits",description:"Get the most out of your MLS through online lessons or live coaching.",buttonText:"Videw Benefits",ctaLink:"https://brightmls.com/home"}],Ag=[{image:"https://images.ctfassets.net/1g8q1frp41ix/6AeT8c2ve1JvboQY2KsMHd/d2d4075c1906ebb0c132ee1ad9713c23/icon-graph.png",headline:"Four with Hashtag",description:"Train in real time with tailored guidance from one of our knowledgeable Customer Success Coaches.",linkText:"Schedule Session",ctaLink:"#"},{image:"https://images.ctfassets.net/1g8q1frp41ix/3SUs8DvyOmOqO9bzkaIcHR/39f60a5c521717eb3a024c956fb6d993/icon-gift.png",headline:"Included Benefits",description:"Get the most out of your MLS through online lessons or live coaching.",linkText:"Videw Benefits",ctaLink:"#"}],Ng={maxWidth:"1260px",margin:"0 auto"},Sg=[{title:"When do I get billed?",description:"unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged."}
1,{title:"When am I invoiced?",description:"type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leaping, remaining essentially unchanged. unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged."},{title:"Can I get a refund?",description:"printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting,"},{title:"Do these charges renew automatically?",description:"printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting,"},{title:"I am a member of my association, do I get a discount?",description:"printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting,"}],wg=[{image:"https://images.ctfassets.net/1g8q1frp41ix/3Fsk0wNoJKs4vPGKWGXKW9/c83e59ca28601230d4fd14b7c1e2e949/Group_66.svg"},{image:"https://images.ctfassets.net/1g8q1frp41ix/3Fsk0wNoJKs4vPGKWGXKW9/c83e59ca28601230d4fd14b7c1e2e949/Group_66.svg"},{image:"https://images.ctfassets.net/1g8q1frp41ix/3Fsk0wNoJKs4vPGKWGXKW9/c83e59ca28601230d4fd14b7c1e2e949/Group_66.svg"},{image:"https://images.ctfassets.net/1g8q1frp41ix/3Fsk0wNoJKs4vPGKWGXKW9/c83e59ca28601230d4fd14b7c1e2e949/Group_66.svg"},{image:"https://images.ctfassets.net/1g8q1frp41ix/3Fsk0wNoJKs4vPGKWGXKW9/c83e59ca28601230d4fd14b7c1e2e949/Group_66.svg"},{image:"https://images.ctfassets.net/1g8q1frp41ix/3Fsk0wNoJKs4vPGKWGXKW9/c83e59ca28601230d4fd14b7c1e2e949/Group_66.svg"},{image:"https://images.ctfassets.net/1g8q1frp41ix/3Fsk0wNoJKs4vPGKWGXKW9/c83e59ca28601230d4fd14b7c1e2e949/Group_66.svg"},{image:"https://images.ctfassets.net/1g8q1frp41ix/3Fsk0wNoJKs4vPGKWGXKW9/c83e59ca28601230d4fd14b7c1e2e949/Group_66.svg"}],xg=[{cardURL:"https://brightmls.com/",cardImageUrl:"https://images.ctfassets.net/1g8q1frp41ix/7FTFTdfXAvgxTBmM8xkoc8/0ecfc226b43174c8bebbeae868ece860/Mask_group.jpg",cardTitle:"Title Goes Here 1",cardBlurb:"Manage leads, collaborate with clients, and help them find a home they love wlaborate with clients, and help them find a home they love wlaborate with clients, and help them find a home they love with this powerful app."},{cardURL:"https://brightmls.com/",cardImageUrl:"https://images.ctfassets.net/1g8q1frp41ix/7FTFTdfXAvgxTBmM8xkoc8/0ecfc226b43174c8bebbeae868ece860/Mask_group.jpg",cardTitle:"Title Goes Here 2",cardBlurb:"Manage leads, collaborate with clients, and help them find a home they love wlaborate with clients, and help them find a home they love wlaborate with clients, and help them find a home they love with this powerful app."}];const _g=function(){return n.createElement(n.Fragment,null,n.createElement(d.m,null,n.createElement("meta",{name:"robots",content:"noindex, nofollow"}),n.createElement("body",{id:"mtSpecs",className:"brightRedesign aPage"})),n.createElement("div",{className:"mtMain"},n.createElement(p,null,n.createElement(g,null,n.createElement(Jc,{accordionItems:Sg,firstAccordionOpen:!1}))),n.createElement(It,{id:"iconBoxBlockExample",backgroundImageUrlDesktop:"https://images.ctfassets.net/1g8q1frp41ix/lUVr8NoiV27U8GVoYR6Iv/1f449a1a23a124463b177506d94afc95/Header_section-2.jpg",backgroundImageUrlMobile:"https://images.ctfassets.net/1g8q1frp41ix/6kpwzNJy08SToj8A3nYUp9/b0ba775934b02846e4763671a5272c42/Header_section-3.jpg",sm:12,md:4,xsIcon:12,xsTitle:12,supCopy:"Related Products",title:"Explore more solutions",smTitle:"As a Bright subscriber you'll never have to go it alone.",paragraph:"From personalized training, to on-demand webinars, and a regularly updated education series, Bright has the tips and tricks you need to be at your very best.",iconBoxData:yg,repetitiveLink:!0,repetitiveLinkCTA:"Learn More"}),n.createElement(p,null,n.createElement(g,null,n.createElement("h3",{className:"headingThree"},"IconBox, any of these examples can be mixed and matched +",n.createElement("br",null),"all colors are flexible. On mobile, links and buttons include an arrow ","(>)"," at the end of the title."),n.createElement("h4",{className:"headingFour"},"not a link/button: desktop 3 Columns / mobile 1 column + Icon & title side by side 2 columns"),n.createElement(Tt,{sm:12,md:4,iconBoxData:bg}),n.createElement("br",null),n.createElement("br",null),n.createElement("h4",{className:"headingFour"},'Repetitive link CTA "Learn More" link: desktop 4 Columns / mobile 2 & 1 column + Icon & title stacked 1 columns each'),n.createElement(Tt,{xsIcon:12,xsTitle:12,repetitiveLink:!0,repetitiveLinkCTA:"Learn More",iconBoxData:fg}),n.createElement("br",null),n.createElement("br",null),n.createElement("h4",{className:"headingFour"},"button: desktop 4 Columns / mobile 2 & 1 column + Icon & title side by side 2 columns"),n.createElement(Tt,{iconBoxData:vg,IconBoxButtonStyle:"ctaButtonsOne"}),n.createElement("br",null),n.createElement("br",null),n.createElement("h4",{className:"headingFour"},"link: desktotop 2 Columns / mobile 1 column + Icon & title side by side 2 columns"),n.createElement(Tt,{md:6,iconBoxData:Ag}))),n.createElement("hr",null),n.createElement("hr",null),n.createElement(Dt,{backgroundImageUrlDesktop:"https://images.ctfassets.net/1g8q1frp41ix/lUVr8NoiV27U8GVoYR6Iv/1f449a1a23a124463b177506d94afc95/Header_section-2.jpg",backgroundImageUrlMobile:"https://images.ctfassets.net/1g8q1frp41ix/6kpwzNJy08SToj8A3nYUp9/b0ba775934b02846e4763671a5272c42/Header_section-3.jpg",topBannerTitle:"Top Banner Main Title Goes over here",topBannerButtons:{primaryBtnURL:"https://brightmls.com/",primaryBtnCopy:"Primary",primaryBtnTarget:{targetType:"_self"},secondaryBtnURL:"https://example.com",secondaryBtnCopy:"Secondary",secondaryBtnTarget:{targetType:"_blank"},tertiaryBtnCopy:"Tertairy"},heroImage:"https://images.ctfassets.net/1g8q1frp41ix/7FTFTdfXAvgxTBmM8xkoc8/0ecfc226b43174c8bebbeae868ece860/Mask_group.jpg",heroImageMobile:"https://images.ctfassets.net/1g8q1frp41ix/6m5JzDdQ2sj9fDI98GzXBu/2f882341f9b3f9f5a27ca1f235b8f69c/Mask_group-2.jpg"}),n.createElement("hr",null),n.createElement(Dt,{topBannerTitle:"Top Banner Main Title Goes over here",topBannerSummary:"With testng a makeup as diverse as the world we live in, the Bright MLS team reflects a rich and varied array of cultures.",topBannerButtons:{primaryBtnURL:"https://brightmls.com/",primaryBtnCopy:"Primary",primaryBtnTarget:{targetType:"_self"}},cards:[xg[0]]}),n.createElement("hr",null),n.createElement(Dt,{topBannerTitle:"Top Banner Main Title Goes over here",topBannerSummary:"With testng a makeup as diverse as the world we live in, the Bright MLS team reflects a rich and varied array of cultures.",topBannerButtons:{primaryBtnURL:"https://brightmls.com/",primaryBtnCopy:"Primary",primaryBtnTarget:{targetType:"_self"}},cards:xg}),n.createElement("hr",null),n.createElement(Dt,{backgroundImageUrlDesktop:"https://images.ctfassets.net/1g8q1frp41ix/lUVr8NoiV27U8GVoYR6Iv/1f449a1a23a124463b177506d94afc95/Header_section-2.jpg",topBannerSupTitle:"Sub Title Goes Here",topBannerTitle:"Top Banner Main Title Goes over here",topBannerSummary:"With a makeup as diverse as the woand into the future.",topBannerButtons:{primaryBtnURL:"https://brightmls.com/",primaryBtnCopy:"Primary",primaryBtnTarget:{targetType:"_self"}},videoThumbURL:"https://www.youtube.com/embed/fAn4e6CBalg?si=yvkQ2dUBP9cIneeU",videoThumbImage:"https://images.ctfassets.net/1g8q1frp41ix/5pbleAjrdAiGnkRsyhM6xG/4e0c155dd86d1b81d04
1184da68a52e99/test-video-thumb.jpg",videoThumbAlt:"customClass",playButtonArrowType:"mt-playButtonOne"}),n.createElement("hr",null),n.createElement(Dt,{topBannerTitle:"Top Banner Main Title Goes over here",topBannerSummary:"With a makeup as diverse as the woand into the future.",topBannerButtons:{primaryBtnClassName:"primary-button-class",primaryBtnURL:"https://brightmls.com/",primaryBtnCopy:"Primary",primaryBtnTarget:{targetType:"_self"}},topBannerSummaryAfterButtonClass:"testClass",topBannerSummaryAfterButton:"makeup as diverse as the woand",heroImage:"https://images.ctfassets.net/1g8q1frp41ix/7FTFTdfXAvgxTBmM8xkoc8/0ecfc226b43174c8bebbeae868ece860/Mask_group.jpg",heroImageMobile:"https://images.ctfassets.net/1g8q1frp41ix/6m5JzDdQ2sj9fDI98GzXBu/2f882341f9b3f9f5a27ca1f235b8f69c/Mask_group-2.jpg"}),n.createElement("div",{style:Ng},n.createElement(dg,{viewType:js})),n.createElement(Yp,null),n.createElement(Eg,null),n.createElement(Xp,null),n.createElement(ug,null),n.createElement(hg,null),n.createElement(g,null,n.createElement(jm,{CustomTickerData:wg}))))};var kg=a(9311),Cg=a(78184);const Tg="1g8q1frp41ix",Ig=(0,Cg.U)({space:Tg,environment:_t.Ay.contentfulEnvironmentId,host:"preview.contentful.com",accessToken:_t.Ay.contentPreviewAccessToken}),Lg=(0,Cg.U)({space:Tg,environment:_t.Ay.contentfulEnvironmentId,host:"cdn.contentful.com",accessToken:_t.Ay.contentDeliveryAccessToken});const Bg=e=>{let{videoThumbImage:t,videoThumbImageMobile:a,videoThumbURL:i,videoThumbAlt:r,playButtonArrowType:l,...o}=e;return n.createElement(nt,Object.assign({videoThumbImage:t,videoThumbImageMobile:a,videoThumbURL:i,videoThumbAlt:r,playButtonArrowType:l},o))};(0,kg.Yi)([{component:e=>{let{text:t="",variant:a="primary",href:i="",openInNewTab:r,rel:l,ariaLabel:o,ariaDescribedBy:c,isDisabled:s=!1,type:m="button",onClick:d,experienceProps:u={}}=e;const p=`mt-btn mt-${a}-btn ${u.className||""}`.trim(),g=o||(t?`${t}${r?" (opens in a new tab)":""}`:void 0),h={...u,className:p,"aria-label":g,"aria-describedby":c};if(i){const e=r?"_blank":"_self",a="_blank"===e?["noopener","noreferrer",l].filter(Boolean).join(" "):l,o=e=>{if(s)return e.preventDefault(),void e.stopPropagation();null===d||void 0===d||d(e)};return n.createElement("a",Object.assign({},h,{href:i,target:e,rel:a,"aria-disabled":s||void 0,tabIndex:s?-1:u.tabIndex,onClick:o}),t,r&&n.createElement("span",{className:"sr-only"}," (opens in a new tab)"))}return n.createElement("button",Object.assign({},h,{type:m,onClick:d,disabled:s}),t)},definition:{id:"button",name:"Buttons",category:"Custom Components",builtInStyles:["cfMargin","cfWidth"],thumbnailId:"button-thumbnail",thumbnailUrl:"https://images.ctfassets.net/1g8q1frp41ix/2DwNIyyfhuyXfs1NCkHAiE/08daa7ad678fe2e07ebc9680754c6ad0/button-icon.png",variables:{text:{displayName:"Text",type:"Text",defaultValue:"Click me"},variant:{displayName:"Variant",type:"Text",defaultValue:"primary",group:"style",validations:{in:[{value:"primary",displayName:"Primary"},{value:"secondary",displayName:"Secondary"},{value:"tertiary",displayName:"Tertiary"}]}},href:{displayName:"Link URL",type:"Text",defaultValue:"#"},openInNewTab:{displayName:"Open in new tab",type:"Boolean",defaultValue:!1}}}},{component:e=>{let{cards:t=[],dotsModeType:a="light-mode",cardStyleType:i="default-card-mode"}=e,r=[];try{const e=(0,kg.DC)();r=t.map(t=>{var a,n,i,r,l,o,c;const s=t.fields,m=e.maybeResolveLink(s.image);let d=null!==(a=null===m||void 0===m||null===(n=m.fields)||void 0===n||null===(i=n.file)||void 0===i?void 0:i.url)&&void 0!==a?a:void 0;return m&&"fields"in m||(console.warn("Resolve failed when parsing images",m),d=""),{cardKey:null===(r=t.sys)||void 0===r?void 0:r.id,cardTitle:null!==(l=s.title)&&void 0!==l?l:"No title",cardBlurb:null!==(o=s.description)&&void 0!==o?o:"No description",cardImageUrl:d,cardURL:null!==(c=s.ctaLink)&&void 0!==c?c:"https://www.brightmls.com"}})}catch(l){console.error("Error when handling cards props",l)}return n.createElement(Nt,{cards:r,dotsModeType:a,cardStyleType:i})},definition:{id:"cards",name:"Cards",category:"Custom Components",builtInStyles:["cfMaxWidth","cfWidth"],thumbnailId:"cars-slider-thumbnail",thumbnailUrl:"https://images.ctfassets.net/1g8q1frp41ix/5jhkGvA4yZJLQV5bQe6cV6/cfe82f1db7ce0a33cf9d771b2c2f491e/card-slider-icon.png",variables:{cards:{displayName:"C
1ards",type:"Array",group:"content",validations:{bindingSourceType:["entry"]}},cardStyleType:{displayName:"Card Style",type:"Text",group:"style",validations:{in:[{value:"default-card-mode",displayName:"Default"},{value:"testimonials-card-mode",displayName:"Testimonials"}]}},dotsModeType:{displayName:"Dots Style Mode",type:"Text",group:"style",validations:{in:[{value:"light-mode",displayName:"Light Mode"},{value:"dark-mode",displayName:"Dark Mode"}]}}}}},{component:Bg,definition:{id:"popupVideo",name:"Popup Video",category:"Custom Components",thumbnailId:"button-thumbnail",thumbnailUrl:"https://images.ctfassets.net/1g8q1frp41ix/58kk9yx7uWWYIGFWx9bnjc/7c726d1cd2e7b23c84c187fb6339db42/popup-video-icon.png",builtInStyles:["cfMargin"],variables:{videoThumbImage:{displayName:"Video Thumbnail",type:"Media",group:"content",validations:{bindingSourceType:["asset","entry"]}},videoThumbURL:{displayName:"Video URL",type:"Hyperlink",group:"content",validations:{bindingSourceType:["manual","entry"]}},videoThumbAlt:{displayName:"Alt text",type:"Text",group:"content",validations:{bindingSourceType:["manual","entry"]},defaultValue:"Video Thumbnail"},videoThumbImageMobile:{displayName:"Mobile Thumbnail (optional)",type:"Media",group:"content",validations:{bindingSourceType:["asset","entry"]}},playButtonArrowType:{displayName:"Play Button Style",type:"Text",group:"style",validations:{in:[{value:"mt-playButtonOne",displayName:"Play Button One"},{value:"mt-playButtonTwo",displayName:"Play Button Two"}]}}}}},{component:e=>{let{accordionItems:t=[],firstAccordionOpen:a="false",title:i="Accordion"}=e,r=[];try{r=t.map(e=>{const t=e.fields;return{title:t.internalTitle,description:t.description}})}catch(l){console.error("Error when handling accordion props",l)}return n.createElement(Jc,{accordionItems:r,title:i,firstAccordionOpen:"true"===a})},definition:{id:"accordion",name:"Accordion",category:"Custom Components",thumbnailId:"accordion-thumbnail",thumbnailUrl:"https://images.ctfassets.net/1g8q1frp41ix/5KYryWz9CtXxO8eVybqvEb/0fc3b7e0032340cbd10ba6db6e5380e2/001-door_1.png",variables:{title:{displayName:"Accordion Title",type:"Text",group:"content",validations:{bindingSourceType:["manual","entry"]}},firstAccordionOpen:{displayName:"Open First Accordion by Default ?",type:"Text",group:"content",validations:{in:[{value:"true",displayName:"Yes"},{value:"false",displayName:"No"}],bindingSourceType:["manual","entry"]}},accordionItems:{displayName:"Accordion",type:"Array",group:"content",validations:{bindingSourceType:["entry"]}}}}}]);const Dg={HeadingBlueViolet:"#1f3a93",ParagraphBlack:"#000000",PrimaryGray500:"#1a1a1e",PrimaryWhite:"#ffffff"},Mg={XS:"12px",S:"14px",M:"16px",L:"18px",XL:"20px","2XL":"24px","3XL":"28px","4XL":"32px","5XL":"48px","6XL":"55px"},Pg={Regular:"400",Medium:"500",SemiBold:"600",Bold:"700"},Rg={Heading:"115%",Paragraph:"130%"},Og={XXS:"8px",XS:"12px",S:"16px",M:"24px",L:"32px",XL:"40px","2XL":"48px","3XL":"64px","4XL":"128px"},Ug={Layout:"1280px",Tablet:"960px",Mobile:"600px"},Fg={Card:{width:"0px",style:"solid",color:"transparent"},"Card Bold":{width:"2px",style:"solid",color:"#f0f0f0"}},$g={S:"4px",M:"8px"},Wg={"Bright-Orange":"#ff4500","Dark-Navy":"#192851",Parchment:"#fff7eb","Cool-Gray":"#4f5a65","Blue-Violet":"#1f3a93","Spear-Mint":"#86e2d5",Mint:"#f3fbfd",Shamrock:"#32bda8","Azure-Dark":"#253772","Azure-Medium":"#8094d6","Azure-Light":"#e8edf6","Mandarin-Dark":"#652106","Mandarin-Medium":"#f13c00","Mandarin-Light":"#fee8e6","Forest-Dark":"#344539","Forest-Medium":"#6d947e","Forest-Light":"#f3faf8","Scarlet-Dark":"#511313","Scarlet-Medium":"#ed2024","Scarlet-Light":"#fdeded","Emerald-Dark":"#122e0b","Emerald-Medium":"#477e39","Emerald-Light":"#f3faf8","Cerulean-Dark":"#003560","Cerulean-Medium":"#0288d1","Cerulean-Light":"#e5f6fd",gray600:"#475467",gray500:"#1a1a1e",gray400:"#616673",gray300:"#bbbbc4",gray200:"#e4e4e4",gray100:"#f2f2f2",black:"#000000",white:"#ffffff"},Hg={"H1 Desktop":{fontSize:Mg["6XL"],fontWeight:Pg.Medium,lineHeight:Rg.Heading,color:Dg.HeadingBlueViolet},"H1 Mobile":{fontSize:Mg["4XL"],fontWeight:Pg.Medium,lineHeight:Rg.Heading,color:Dg.HeadingBlueViolet},"H1 White Desktop":{fontSize:Mg["6XL"],fontWeight:Pg.Medium,lineHeight:Rg.Heading,color:Dg.PrimaryWhite},"H1 White Mobile":{fontSize:Mg["4XL"],fontWeight:Pg.Medium,lineHeight:Rg.Heading,color:Dg.PrimaryWhite},"H2 Desktop":{fontSize:Mg["5XL"],fontWeight:Pg.Medium,lineHeight:Rg.Heading,color:Dg.HeadingBlueViolet},"H2 Mobile":{fontSize:Mg["3XL"],fontWeight:Pg.Medium,lineHeight:Rg.Heading,color:Dg.HeadingBlueViolet},"H3 Desktop":{fontSize:Mg["4XL"],fontWeight:Pg.Medium,lineHeight:Rg.Heading,color:Dg.HeadingBlueViolet},"H3 Mobile":{fontSize:Mg["2XL"],fontWeight:Pg.Medium,lineHeight:Rg.Heading,color:Dg.HeadingBlueViolet},"H4 Desktop":{fontSize:Mg["2XL"],fontWeight:Pg.Medium,lineHeight:Rg.Heading,color:Dg.HeadingBlueViolet},"H4 Mobile":{fontSize:Mg.XL,fontWeight:Pg.Medium,lineHeight:Rg.Heading,color:Dg.HeadingBlueViolet},"H5 Desktop":{fontSize:Mg.S,fontWeight:Pg.Medium,lineHeight:Rg.Heading,color:Dg.HeadingBlueViolet},"H5 Mobile":{fontSize:Mg.L,fontWeight:Pg.Medium,lineHeight:Rg.Heading,color:Dg.HeadingBlueViolet},Paragraph:{fontSize:Mg.M,fontWeight:Pg.Regular,lineHeight:Rg.Paragraph,color:Dg.ParagraphBlack},"Par Lg Desktop":{fontSize:Mg.XL,fontWeight:Pg.Medium,lineHeight:Rg.Paragraph,color:Dg.ParagraphBlack},"Par Lg Mobile":{fontSize:Mg.L,fontWeight:Pg.Medium,lineHeight:Rg.Paragraph,color:Dg.ParagraphBlack},"Par Lg White Desktop":{fontSize:Mg.XL,fontWeight:Pg.Medium,lineHeight:Rg.Heading,color:Dg.PrimaryWhite},"Par Lg White Mobile":{fontSize:Mg.L,fontWeight:Pg.Medium,lineHeight:Rg.Heading,color:Dg.PrimaryWhite},"Fine Detail":{fontSize:Mg.XS,fontWeight:Pg.Medium,lineHeight:Rg.Paragraph,color:Dg.ParagraphBlack}};try{console.log("Attempting to register design tokens..."),(0,kg.Qm)({textColor:Dg,fontSize:Mg,fontWeight:Pg,lineHeight:Rg,spacing:Og,sizing:Ug,border:Fg,borderRadius:$g,color:Wg,text:Hg}),console.log("Design tokens registered successfully")}catch(dh){console.error("Error details:",{message:dh instanceof Error?dh.message:"Unknown error",stack:dh instanceof Error?dh.stack:"No stack trace"})}const jg=[{id:"desktop",query:"*",displayName:"All Sizes",displayIcon:"desktop",previewSize:"100%"}
1,{id:"tablet",query:"<960px",displayName:"Tablet",displayIcon:"tablet",previewSize:"960px"},{id:"mobile",query:"<600px",displayName:"Mobile",displayIcon:"mobile",previewSize:"600px"}];try{console.log("Attempting to register breakpoints..."),(0,kg.Wb)(jg),console.log("Breakpoints registered successfully")}catch(dh){console.error("Error registering breakpoints:",{message:dh instanceof Error?dh.message:"Unknown error",stack:dh instanceof Error?dh.stack:"No stack trace"})}const zg=()=>{const{slug:e="bright"}=(0,s.g)(),t=(0,s.zy)(),a="true"===new URLSearchParams(t.search).get("expEditorMode"),{isLoading:i,error:r,experience:l}=(0,kg.A_)({client:(o=a,o?Ig:Lg),experienceTypeId:"brightMls",localeCode:"en-US",slug:e});var o;if(i)return n.createElement(sa,null);if(r)return n.createElement(Ii,null);let c;return l&&(c=(0,kg.IZ)(l)),n.createElement("main",{className:"mtMainStudio"},c&&n.createElement("style",null,c),n.createElement(kg.lS,{experience:l,locale:"en-US"}))};function Vg(){return(0,n.useEffect)(()=>{window.location.href=`${_t.Ay.awsConfiguration.accuracyIssueFormUrl}?from=${new URLSearchParams(window.location.search)}`},[]),null}function Gg(){const e=(0,H.Gv)(),t=(null===e||void 0===e?void 0:e["custom:MemberMlsId"])||"";return(0,n.useEffect)(()=>{window.location.href=`${_t.Ay.awsConfiguration.salesforceBaseUrl}/customers/apex/Communities_SubdivisionBuildingForm?Id=${t}`},[t]),null}function qg(){const e=(0,H.Gv)(),t=(null===e||void 0===e?void 0:e["custom:MemberMlsId"])||"";return(0,n.useEffect)(()=>{window.location.href=`${_t.Ay.awsConfiguration.salesforceBaseUrl}/customers/apex/Communities_BuyPremiumProduct?id=${t}&productType=CloudCMA`},[t]),null}function Yg(e){var t;let{children:a}=e;return(null!==(t=_t.Ay.environment)&&void 0!==t?t:"")===_t.s2?n.createElement(s.C5,{to:"/home",replace:!0}):a}function Kg(e){let{children:t}=e;const a=(0,H.xA)(),i=(0,H.OF)()&&a;return a?i?(console.log(`steves: bcom: In PrivateRoute(); Browser reopened, forcing logout... ${(new Date).toISOString()}`),n.createElement(_p,{signoutURL:window.location.origin})):n.createElement(n.Fragment,null,t):(console.log(`steves: bcom: In PrivateRoute(); User not authenticated, redirecting to login... ${(new Date).toISOString()}`),(0,H.lT)(),n.createElement(s.C5,{to:"/login",replace:!0}))}function Jg(){const e=(0,H.Gv)(),t=(0,H.xA)();return n.createElement(nd,{isAuthenticated:t,token:e})}const Qg=()=>{const[e,t]=(0,n.useState)(!1);return n.createElement(m.Kd,null,n.createElement(Lu,{hideFooter:e},n.createElement(s.BV,null,n.createElement(s.qh,{path:"/",element:window.location.hash?n.createElement(s.C5,{to:window.location.hash.replace("#","")}):n.createElement(s.C5,{to:"/home"})}),n.createElement(s.qh,{path:"/included-benefits-dev",element:n.createElement(Yg,null,n.createElement(Ss,null))}),n.createElement(s.qh,{path:"/products-dev/:id",element:n.createElement(Yg,null,n.createElement(Jg,null))}),n.createElement(s.qh,{path:"/mtspecs",element:n.createElement(Yg,null,n.createElement(_g,null))}),n.createElement(s.qh,{path:"/our-team-dev",element:n.createElement(Yg,null,n.createElement($m,null))}),n.createElement(s.qh,{path:"/news-dev",element:n.createElement(Yg,null,n.createElement(Um,null))}),n.createElement(s.qh,{path:"/premium-products-dev",element:n.createElement(Yg,null,n.createElement(qm,null))}),n.createElement(s.qh,{path:"/home",element:n.createElement(Pt,null)}),n.createElement(s.qh,{path:"/login",element:n.createElement(xi,null)}),n.createElement(s.qh,{path:"/press-releases",element:n.createElement(bo,null)}),n.createElement(s.qh,{path:"/press-release/:id",element:n.createElement(ql,null)}),n.createElement(s.qh,{path:"/articles",element:n.createElement(Bm,null)}),n.createElement(s.qh,{path:"/listarticles",element:n.createElement(Bm,{viewType:"list"})}),n.createElement(s.qh,{path:"/article/:id",element:n.createElement(Rl,null)}),n.createElement(s.qh,{path:"/videoarticles",element:n.createElement(Bm,{viewType:"video"})}),n.createElement(s.qh,{path:"/galleryarticles",element:n.createElement(Bm,{viewType:"gallery",fetchArticlesAuthorInfo:!1})}),n.createElement(s.qh,{path:"/logout",element:n.createElement(_p,null)}),n.createElement(s.qh,{path:"/preview/:spaceId/:guid",element:n.createElement(_u,null)}),n.createElement(s.qh,{path:"/b/:slug",element:n.createElement(zg,null)}),n.createElement(s.qh,{path:"/our-markets",element:n.createElement(Tl,null)}),n.createElement(s.qh,{path:"/market-pulse",element:n.createElement(wl,null)}),n.createElement(s.qh,{path:"/support",element:n.createElement(as,null)}),n.createElement(s.qh,{path:"/join",element:n.createElement(ys,null)}),n.createElement(s.qh,{path:"/training",element:n.createElement(vs,null)}),n.createElement(s.qh,{path:"/news",element:n.createElement(ll,null)}),n.createElement(s.qh,{path:"/benefits/:benefitType",element:n.createElement(Hl,null)}),n.createElement(s.qh,{path:"/resources",element:n.createElement(Xl,null)}),n.createElement(s.qh,{path:"/newsroom",element:n.createElement(bo,null)}),n.createElement(s.qh,{path:"/careers",element:n.createElement(Ls,null)}),n.createElement(s.qh,{path:"/about-us",element:n.createElement(Bs,null)}),n.createElement(s.qh,{path:"/events",element:n.createElement(rc,null)}),n.createElement(s.qh,{path:"/products/:productType",element:n.createElement(Jo,null)}),n.createElement(s.qh,{path:"/products",element:n.createElement(Wo,null)}),n.createElement(s.qh,{path:"/resources/:id",element:n.createElement(io,null)}),n.createElement(s.qh,{path:"/trainingoverview",element:n.createElement(tc,null)}),n.createElement(s.qh,{path:"/cet",element:n.createElement(Mp,null)}),n.createElement(s.qh,{path:"/pricingNew",element:n.createElement(Pp,null)}),n.createElement(s.qh,{path:"/centreCounty",element:n.createElement(fc,null)}),n.createElement(s.qh,{path:"/open/:sectionId",element:n.createElement(zc,null)}),n.createElement(s.qh,{path:"/open",element:n.createElement(zc,null)}),n.createElement(s.qh,{path:"/dashboard/premium/:pageName",element:n.createElement(Kg,null,n.createElement(Fr,null))}
1),n.createElement(s.qh,{path:"/dashboard/:subid/:childid?",element:n.createElement(Kg,null,n.createElement(Cp,null))}),n.createElement(s.qh,{path:"/dashboard",element:n.createElement(Kg,null,n.createElement(wi,{toHideFooter:t}))}),n.createElement(s.qh,{path:"/admin/info",element:n.createElement(Kg,null,n.createElement(Iu,null))}),n.createElement(s.qh,{path:"/accuracyissueredirect",element:n.createElement(Kg,null,n.createElement(Vg,null))}),n.createElement(s.qh,{path:"/subdivisionbuildingformredirect",element:n.createElement(Kg,null,n.createElement(Gg,null))}),n.createElement(s.qh,{path:"/cloudcmaredirect",element:n.createElement(Kg,null,n.createElement(qg,null))}),n.createElement(s.qh,{path:"/associationnews/:id",element:n.createElement(Kg,null,n.createElement(Pu,null))}),n.createElement(s.qh,{path:"/manage/associationnews/:newsCode",element:n.createElement(Kg,null,n.createElement(pp,{type:_t.eR}))}),n.createElement(s.qh,{path:"/officenews/:id",element:n.createElement(Kg,null,n.createElement(gp,null))}),n.createElement(s.qh,{path:"/manage/officenews",element:n.createElement(Kg,null,n.createElement(pp,{type:_t.V}))}),n.createElement(s.qh,{path:"/accuracy/Appeal-Fine-Form",element:n.createElement(Kg,null,n.createElement(wp,null))}),n.createElement(s.qh,{path:"/request-visit",element:n.createElement(Ip,null)}),n.createElement(s.qh,{path:"/researchhome",element:n.createElement(kd,null)}),n.createElement(s.qh,{path:"/weeklystats",element:n.createElement(Jd,null)}),n.createElement(s.qh,{path:"/marketreports",element:n.createElement(ru,null)}),n.createElement(s.qh,{path:"/bio-page/:id",element:n.createElement(Ld,null)}),n.createElement(s.qh,{path:"/researchstudies",element:n.createElement(du,null)}),n.createElement(s.qh,{path:"/newsinsights",element:n.createElement(Xd,null)}),n.createElement(s.qh,{path:"/article-pages",element:n.createElement(qp,null)}),n.createElement(s.qh,{path:"/admin/menu",element:n.createElement(Kg,null,n.createElement(Bp,null))}),n.createElement(s.qh,{path:"/services/sites/default/files/*",element:n.createElement(Dp,null)}),n.createElement(s.qh,{path:"/:id/:subid?/:childid?",element:n.createElement(Ti,null)}),n.createElement(s.qh,{path:"*",element:n.createElement(Ii,null)}))))};var Xg=a(77840),Zg=a(45971),eh=a(20382),th=a(65738);const ah=()=>{(0,n.useEffect)(()=>{eh.Ay.register(th.A)},[]);const[e,t]=(0,n.useState)(null),[a,i]=(0,n.useState)(null),[r,s]=(0,n.useState)(null),m=()=>{const e=sessionStorage.getItem(Zg.A.UNAUTH_META);e?t(e):(0,xt.c)("metadata.json").then(e=>{sessionStorage.setItem(Zg.A.UNAUTH_META,JSON.stringify(e)),t(e)})};return(0,n.useEffect)(()=>{(0,H.Lj)().then(()=>{(0,Ve.I5)().then(e=>{i(e)}),(0,Ve.VN)().then(()=>{s(!0),l.H.configure((0,xp.A)()),m()}).catch(()=>{s(!0),l.H.configure((0,xp.A)()),m()})}).catch(()=>{l.H.configure((0,xp.A)())}),o.Y.listen("auth",async e=>{let{payload:{event:t}}=e;if("signIn"===t){var a;const e=await c.N.currentAuthenticatedUser();if(null!==e&&void 0!==e&&null!==(a=e.signInUserSession)&&void 0!==a&&a.idToken){localStorage.setItem(_t.TL,e.signInUserSession.idToken.jwtToken),(0,H.TV)(_t.Ub,"true",null);const t=localStorage.getItem(_t.fo);localStorage.removeItem(_t.fo),t&&"/dashboard"!==t&&"/login"!==t&&t.toLocaleLowerCase().indexOf("/matrix/")<0?location.href=t:location.reload()}}else"signIn_failure"===t&&(window.location.href=`${window.location.origin}/dashboard`)})},[]),e&&a&&r&&n.createElement(kr.O,null,n.createElement(Rt.L,null,n.createElement(Xg.A,{theme:ir},n.createElement(Qg,null))))};Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));var nh=a(82250),ih=a(63851);const rh="GET_AWS_S3_REGION",lh={awsRegion:""};const oh=(0,nh.HY)({common:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:lh,t=arguments.length>1?arguments[1]:void 0;return t.type===rh?{awsRegion:t.payload}:e}}),ch=(0,nh.y$)(oh,(0,nh.Tw)(ih.A));String.prototype.startsWith||Object.defineProperty(String.prototype,"startsWith",{value:function(e,t){const a=t>0?0|t:0;return this.substring(a,a+e.length)===e}});const sh=n.createElement(i.Kq,{store:ch},n.createElement(ah,null)),mh=document.getElementById("root");null!==mh&&void 0!==mh&&mh.hasChildNodes()?(0,r.c)(mh,sh):mh&&(0,r.H)(mh).render(sh),"serviceWorker"
1in navigator&&navigator.serviceWorker.ready.then(e=>{e.unregister()})},92601(e,t,a){"use strict";a.d(t,{Ik:()=>g,RS:()=>d,bu:()=>u,kj:()=>p});var n=a(22389),i=a(83326),r=a(38410),l=a(15607),o=a(99405);const c=n.A.create({timeout:9e4}),s={method:"post",headers:{"Content-Type":"application/json"},withCredentials:!0,data:""};async function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(arguments.length>2&&void 0!==arguments[2]&&arguments[2]){const e=(0,r.Vh)(a);if(t=Object.assign(t,e),(0,l.ov)(15))try{const e=await o.N.currentAuthenticatedUser();e.refreshSession(e.signInUserSession.refreshToken,e=>{const{idToken:t}=e;t&&(localStorage.setItem(i.TL,t.jwtToken),(0,l.TV)(i.Ub,"true",null))})}catch(m){console.log("Unable to refresh Token",m)}}const n=Object.assign({url:e},t);return c(n).then(e=>e.data).catch(t=>{if(t&&t.response&&t.response.status>=i.Kr){if(t.response.status==i.dq)return(0,l.T$)(!0,!0),new Promise(()=>!0);throw e.includes("getteamwidgetdata")?new Error(t.response.data.statusText):new Error(t.response.status)}throw t&&t.message&&"Network Error"===t.message?new Error("ECONNABORTED"):new Error(t.code)})}async function d(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s;const i=(0,r.DU)();n.method="get";const l=e.includes("?")?"&":"?";return await m(`${e}${l}rand=${i}`,n,t,a)}async function u(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:s;return i.data=JSON.stringify(t),i.method="post",await m(e,i,a,n)}async function p(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s;return n.data=JSON.stringify(t),n.method="delete",await m(e,n,a)}async function g(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s;return n.data=JSON.stringify(t),n.method="put",await m(e,n,a)}},59875(e,t,a){"use strict";a.d(t,{C:()=>l,Q:()=>r});var n=a(83326),i=a(92601);const r=async e=>{const t=`${n.Ay.bcomdashboardService}/agent/listings?last_modified_since=${e}`;return await(0,i.RS)(t,!0)},l=async()=>{const e=`${n.Ay.bcomdashboardService}/real-estate-news`;return await(0,i.RS)(e,!1)}},58599(e,t,a){"use strict";a.d(t,{AE:()=>M,AV:()=>u.A,AZ:()=>x,DU:()=>d.DU,Ds:()=>I,E8:()=>T,F:()=>P,FD:()=>N,G3:()=>L,Gq:()=>W,H2:()=>C,I5:()=>u.I,Ji:()=>Y,Ok:()=>v,R9:()=>B,RM:()=>U,Rj:()=>G,VN:()=>H,Vh:()=>d.Vh,Vq:()=>D,YD:()=>O,ZR:()=>F,eM:()=>w,fs:()=>S,gW:()=>q,j$:()=>E,jZ:()=>$,lY:()=>z,lz:()=>V,no:()=>j,o:()=>b,o3:()=>_,oL:()=>k,pV:()=>f,qA:()=>y,qu:()=>R,t:()=>h,tR:()=>A});var n=a(22389),i=a(83326),r=a(89204),l=a(15607),o=a(92601),c=a(49138),s=a.n(c),m=(a(11703),a(45971)),d=a(38410),u=a(28560);const p={method:"post",headers:{"Content-Type":"application/json"},withCredentials:!1,data:""},g={...p,method:"get"},h=(e,t)=>new Promise((a,r)=>{n.A.get(i.Ay.awsConfiguration.bcomContentfulPreviewEndpoint+"/Preview",{params:{contentGuid:t,spaceId:e}}).then(function(e){a(e.data)}).catch(function(e){r(e)})});async function E(){return await(0,o.RS)(i.Ay.awsConfiguration.teamWidgetDataAPIEndPoint+r.DS.GET_TEAMWIDGET_DATA,!0,!1,g)}async function y(e){return(0,l.xA)()?await(0,o.bu)(i.Ay.awsConfiguration.bcomContentfulAPIEndpoint+"/articlenews/authsearch",e,!0,!0):await(0,o.bu)(i.Ay.awsConfiguration.bcomContentfulAPIEndpoint+"/articlenews",e,!0,!0)}async function b(e){return await(0,o.RS)(i.Ay.awsConfiguration.bcomContentfulAPIEndpoint+`/articlenews/${e}`,!0,!1)}async function f(e){return await(0,o.RS)(i.Ay.awsConfiguration.bcomContentfulAPIEndpoint+`/resource/${e}`,!0,!1)}async function v(e){return await(0,o.RS)(i.Ay.awsConfiguration.bcomContentfulAPIEndpoint+`/product/${e}`,!0,!1)}async function A(){return await(0,o.RS)(i.Ay.awsConfiguration.bcomContentfulAPIEndpoint+"/oidc/gettoken",!0,!1)}const N=async()=>{const e=(0,d.DU)();try{return(await n.A.get(`${i.Ay.matrixApiEndpoint}/Matrix/WidgetDataApi/AggregatedData?rand=${e}`,{headers:{"Content-Type":"application/json"},withCredentials:!0})).data}catch(t){throw t}},S=async(e,t)=>{try{return(await n.A.post(`${e}`,new FormData(t),{withCredentials:!0})).data}catch(a){throw a}},w=async(e,t)=>{try{return(await n.A.get(`${i.Ay.matrixApiEndpoint}/Matrix/WidgetDataApi/AggregatedData?dataset=MarketWatch,hs:${e},span:${t}`,{headers:{"Content-Type":"application/json"},withCredentials:!0})).data}catch(a){throw a}},x=(e,t)=>new Promise((a,r)=>{const l=(0,d.DU)();n.A.get(`${i.Ay.awsConfiguration.bcomContentfulAPIEndpoint}/${e}/${t}?rand=${l}`,(0,d.Vh)(!0)).then(e=>{a(e.data)}).catch(e=>{r({statusCode:e.response&&e.response.status,message:e.message})})});async function _(e){const t=(0,d.DU)();return new Promise((a,l)=>{n.A.post(`${i.Ay.awsConfiguration.bcomContentfulAPIEndpoint}/${r.DS.ASSOCIATION_NEWS_URL}?rand=${t}`,e,(0,d.Vh)(!1)).then(e=>{a(e.data)}).catch(e=>{l({statusCode:e.response&&e.response.status,message:e.message})})})}async function k(){return await(0,o.RS)(`${i.Ay.awsConfiguration.bcomContentfulAPIEndpoint}/associationNews`,!0)}async function C(e){return await(0,o.Ik)(`${i.Ay.awsConfiguration.bcomContentfulAPIEndpoint}/${r.DS.ASSOCIATION_NEWS_URL}`,e,!0)}async function T(){return await(0,o.RS)(`${i.Ay.awsConfiguration.bcomContentfulAPIEndpoint}
1/${r.DS.OFFICE_NEWS_URL}`,!0)}async function I(e){return await(0,o.bu)(`${i.Ay.awsConfiguration.bcomContentfulAPIEndpoint}/${r.DS.OFFICE_NEWS_URL}`,e,!0,!1)}async function L(e){return await(0,o.Ik)(`${i.Ay.awsConfiguration.bcomContentfulAPIEndpoint}/${r.DS.OFFICE_NEWS_URL}`,e,!0)}async function B(){return await(0,o.RS)(`${i.Ay.awsConfiguration.bcomContentfulAPIEndpoint}/${r.DS.OFFICE_LIST_URL}`,!0)}async function D(e){if(e){return(await(0,o.kj)(`${i.Ay.awsConfiguration.bcomContentfulAPIEndpoint}/${r.DS.OFFICE_NEWS_URL}/${e}`,null,!0)).data}throw new Error("contentId is null")}async function M(e){return await(0,o.RS)(`${i.Ay.awsConfiguration.bcomContentfulAPIEndpoint}/${e}`,!0)}const P=e=>new Promise((t,a)=>{const r=new FormData;r.set("currentDate",e.currentDate),r.set("subscriberName",e.subscriberName),r.set("city",e.city),r.set("state",e.state),r.set("address",e.address),r.set("mlsNumber",e.mlsNumber),r.set("fineAmount",e.fineAmount.toString()),r.set("brokerCode",e.brokerCode),r.set("phoneNumber",e.phoneNumber),r.set("emailAddress",e.emailAddress),r.set("subscriberId",e.subscriberId),r.set("reasonForAppeal",e.reasonForAppeal),r.set("brokerName",e.brokerName),e.attachment&&null!==e.attachment&&r.append("attachment",e.attachment),e.attachmentName&&null!==e.attachmentName&&r.set("attachmentName",e.attachmentName.toString()),n.A.put(i.Ay.awsConfiguration.bcomContentfulAPIEndpoint+"/appealfine",r,{withCredentials:!0,headers:{"Content-Type":"multipart/form-data",Authorization:`Bearer ${(0,l.fX)()}`}}).then(function(e){t(e)}).catch(function(e){a(e)})});async function R(){return await(0,o.RS)(`${i.Ay.awsConfiguration.alertsAPIEndpoint}`,!0,!1)}async function O(e){return await(0,o.bu)(`${i.Ay.awsConfiguration.alertsAPIEndpoint}`,e,!0,!1)}const U=e=>new Promise((t,a)=>{n.A.post(`${i.Ay.matrixApiEndpoint}/Matrix/link/Listing`,e,{withCredentials:!0,headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(e=>{t(e)}).catch(e=>{a(e)})}),F=async()=>{const e=(0,d.DU)();try{const t=await s()(`${i.Ay.matrixApiEndpoint}/Matrix/WidgetDataApi/AggregatedData?rand=${e}`);return await t.json()}catch(t){throw t}};async function $(e){return await(0,o.Ik)(`${i.Ay.awsConfiguration.bcomContentfulAPIEndpoint}/${r.DS.REQUEST_OFFICE_VISIT}`,e,!1)}async function W(e){return await(0,o.RS)(`${i.Ay.awsConfiguration.bcomContentfulAPIEndpoint}/${r.DS.MEMBER_MENU_DATA}?memberMlsId=${e}&`,!0,!1)}async function H(){try{const e=sessionStorage.getItem(m.A.IN_PRIMARY_REGION);if(null===e||void 0===e){const e=await(0,o.RS)(`${i.Ay.awsConfiguration.bcomContentfulAPIEndpoint}/${r.DS.IS_CONFIG_REGION}`,!1,!1);return sessionStorage.setItem(m.A.IN_PRIMARY_REGION,e),"true"===e}return"true"===e}catch(e){}return!0}async function j(){return await(0,o.RS)(i.Ay.awsConfiguration.bcomContentfulAPIEndpoint+"/Dashboard",!0,!1)}async function z(){return await(0,o.RS)(`${i.Ay.awsConfiguration.bcomContentfulAPIEndpoint}/${r.DS.NEWSLANDING_URL}`,!0,!1)}const V=async e=>{try{return await(0,o.RS)(`${i.Ay.awsConfiguration.bcomContentfulAPIEndpoint}/articlenews/${e}`)}catch(t){console.log("error",t)}};async function G(){return await(0,o.RS)(`${i.Ay.USER_PREFERENCES}${r.DS.GET_USER_PREFERENCES}`,!0,!0,g)}async function q(e){return await(0,o.bu)(`${i.Ay.USER_PREFERENCES}${r.DS.SAVE_USER_PREFERENCES}`,e,!0,!0,p)}const Y=e=>new Promise((t,a)=>{n.A.get(`${i.Ay.awsConfiguration.risMediaAPIEndPoint+e}`,{headers:{"Content-Type":"application/json"},withCredentials:!0}).then(e=>{t(e.data)}).catch(e=>{t([]),a(e)})})},38410(e,t,a){"use strict";a.d(t,{Ap:()=>r,DU:()=>i,Vh:()=>o,fX:()=>l});var n=a(83326);function i(){const e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";let t="";for(let a=0;a<8;a++){const a=Math.floor(61*Math.random());t+=e.substring(a,a+1)}return t}function r(e){const t=e+"=",a=document.cookie.split(";");for(let n=0;n<a.length;n++){let e=a[n];for(;" "===e.charAt(0);)e=e.substring(1);if(0===e.indexOf(t))return e.substring(t.length,e.length)}return null}function l(){return localStorage.getItem(n.TL)}function o(e){const t=r("loggedinsubscriber"),a=r("brightmlssubscriber");let n=function(){const e=r("loggedinsubscriber"),t=r("brightmlssubscriber"),a=t||e;if(a){const e=`${a}_impersonationToken`;return localStorage.getItem(e)}return null}();return t!==a&&n&&e||(n=l()),{headers:{"Content-Type":"application/json",Authorization:`Bearer ${n}`}}}},3197(e,t,a){"use strict";a.d(t,{A:()=>l});var n=a(83326),i=a(10288),r=a(45971);const l=()=>{const e=(0,i.Y)(),t="true"===sessionStorage.getItem(r.A.IN_PRIMARY_REGION);return{Auth:{identityPoolId:t?n.Ay.awsConfiguration.aws_cognito_identity_pool_id:n.Ay.awsConfiguration.aws_cognito_identity_pool_id_secondary,region:t?n.Ay.awsConfiguration.aws_cognito_regi
1on:n.Ay.awsConfiguration.aws_cognito_region_secondary,userPoolId:t?n.Ay.awsConfiguration.aws_user_pools_id:n.Ay.awsConfiguration.aws_user_pools_id_secondary,userPoolWebClientId:t?n.Ay.awsConfiguration.aws_user_pools_web_client_id:n.Ay.awsConfiguration.aws_user_pools_web_client_id_secondary,mandatorySignIn:n.Ay.awsConfiguration.mandatorySignIn,oauth:{domain:t?n.Ay.awsConfiguration.domain:n.Ay.awsConfiguration.domain_secondary,scopes:[n.Ay.awsConfiguration.scope.join(",")],redirectSignIn:n.Ay.awsConfiguration.redirectSignIn,redirectSignOut:n.Ay.awsConfiguration.redirectSignOut,responseType:n.Ay.awsConfiguration.responseType},federationTarget:n.Ay.awsConfiguration.federationTarget},Storage:{AWSS3:{bucket:e===n.Ay.awsConfiguration.S3BucketRegion?n.Ay.awsConfiguration.S3ContentBucket:n.Ay.awsConfiguration.S3SecondaryContentBucket,region:e===n.Ay.awsConfiguration.S3BucketRegion?n.Ay.awsConfiguration.S3BucketRegion:n.Ay.awsConfiguration.S3SecondaryBucketRegion}}}}},83326(e,t,a){"use strict";a.d(t,{$v:()=>l,$w:()=>$,AP:()=>te,AY:()=>U,Ay:()=>i,B9:()=>ie,C9:()=>Z,Cc:()=>X,Cf:()=>W,DW:()=>Q,Dk:()=>pe,E:()=>ge,Ec:()=>$e,Fl:()=>ve,Gw:()=>M,H$:()=>de,HF:()=>Be,IA:()=>_e,IP:()=>Ne,IX:()=>z,Im:()=>Se,JX:()=>Fe,Jf:()=>be,KK:()=>b,Kr:()=>k,LA:()=>me,Lr:()=>B,MC:()=>P,No:()=>ye,R5:()=>L,R8:()=>Re,RB:()=>we,Re:()=>u,Ro:()=>De,So:()=>ke,Sy:()=>H,T2:()=>xe,TL:()=>s,TR:()=>O,UT:()=>Te,Ub:()=>o,Uz:()=>ce,V:()=>g,VA:()=>w,VI:()=>Ee,Vp:()=>F,Vr:()=>fe,WM:()=>K,Wb:()=>N,XW:()=>se,ZL:()=>Me,Zj:()=>q,_P:()=>Le,_W:()=>R,aP:()=>A,bL:()=>Y,co:()=>f,dq:()=>_,ds:()=>x,eH:()=>v,eR:()=>p,ei:()=>ee,fo:()=>m,gQ:()=>Ce,hP:()=>oe,hS:()=>re,ig:()=>T,j7:()=>Ae,jI:()=>y,je:()=>C,kT:()=>Ue,kd:()=>ne,lp:()=>d,mj:()=>he,o3:()=>le,p_:()=>I,q3:()=>Oe,r:()=>G,s2:()=>r,si:()=>E,tw:()=>D,um:()=>S,uw:()=>j,w0:()=>J,wI:()=>Ie,wp:()=>ae,xV:()=>c,y0:()=>V,yo:()=>Pe,zQ:()=>h,zq:()=>ue});let n={};if("undefined"!==typeof a(7096))try{n=JSON.parse('{"environment":"PRODUCTION","matrixApiEndpoint":"https://matrix.brightmls.com","teamsApiEndpoint":"https://teams.brightmls.com","megaMenuURL":"https://menu.brightmls.com/assets/menu/","assistantUrl":"https://bcom-ai.prd.brightmls.com/bright-assistant.js","idpLogoutURL":"https://login.brightmls.com/logout","bcomLogoutURL":"https://www.brightmls.com/logout","idpLoginURL":"https://login.brightmls.com/login","awsConfiguration":{"aws_project_region":"us-east-1","aws_cognito_identity_pool_id":"us-east-1:40b48321-a58c-48c6-8e95-a4e41b7a2d1f","aws_cognito_region":"us-east-1","aws_user_pools_id":"us-east-1_JvxkUyIQt","aws_user_pools_web_client_id":"656077b81pnrhmanag18ddvr2j","mandatorySignIn":false,"domain":"aue1p1z1codbcompretokengen.auth.us-east-1.amazoncognito.com","scope":["phone","email","profile","openid","aws.cognito.signin.user.admin"],"redirectSignIn":"https://www.brightmls.com/dashboard","redirectSignOut":"https://login.brightmls.com/logout","responseType":"code","federationTarget":"COGNITO_USER_POOLS","S3ContentBucket":"aue1p1z1s3bbcomprimarystaticcontentlmb","S3BucketRegion":"us-east-1","S3SecondaryContentBucket":"auw2p1z1s3bbcomfailoverstaticcontentlmb","S3SecondaryBucketRegion":"us-west-2","samlForgerockProvider":"Continue","bcomContentfulAPIEndpoint":"https://contentful.prd.brightmls.com/api","bcomContentfulPreviewEndpoint":"https://agwpzorpo5.execute-api.us-east-1.amazonaws.com/p1/api","alertsAPIEndpoint":"https://alerts.prd.brightmls.com/api/Alerts","payInvoiceUrl":"https://brightmls.my.site.com/customers/Communities_PayMyBalances?id","accuracyIssueFormUrl":"https://brightmls.my.site.com/AccuracyIssue/AccuracyIssueForm","salesforceBaseUrl":"https://brightmls.my.site.com","directToLogin":"false","teamWidgetDataAPIEndPoint":"https://teamsservice.prd.brightmls.com","risMediaAPIEndPoint":"https://www.rismedia.com/feed/BrightMLS-","customLoginBaseUrl":"https://login.brightmls.com","aws_cognito_identity_pool_id_secondary":"us-west-2:c2e00525-f7d6-4985-8fb8-86db672ff7fa","aws_cognito_region_secondary":"us-west-2","aws_user_pools_id_secondary":"us-west-2_9x2FulLan","aws_user_pools_web_client_id_secondary":"45ij0hqqdfmilmb0gbicsgamfo","domain_secondary":"auw2p1z1codbcompretokengen.auth.us-west-2.amazoncognito.com"},"EUM_APP_KEY":"AD-AAB-AAW-SXU","KeystoneURL":"https://applications.brightmls.com/Keystone/?cb=bright1","listingManagementURL":"https://laeservices.brightmls.com/link?app=addedit&tenant=bright&target=overview","LaSearchBaseUrl":"https://agl1p1z1showingchoiceservices.prd.brightmls.com","FLAGSMITH_CLIENT_API_KEY":"hLWSNjPJ8ZfPrpUkSANCxx","USER_PREFERENCES":"https://bcomuserpreferences.prd.brightmls.com","GOOGLE_ANALYTICS_KEY":"UA-96900815-1","GOOGLE_ANALYTICS_4_TAG_KEY":"G-0QNCPQ9HK5","GOOGLE_TAG_MANAGER_KEY":"GTM-MCS6B6F","risMediaAPIEndPoint":"https://www.rismedia.com/feed/BrightMLS-","YOUTUBE_API_KEY":"AIzaSyCjsqSiVYW8vjDoYeiNJj_rPYjwiMjrt5w","contentfulEnvironmentId":"prod1","contentPreviewAccessToken":"tyEFN4lOIOwVoVNdRasIYP6jmTO1ZJGJBZ1GKCGDVro","contentDeliveryAccessToken":"Otwy_7e6E5dGtnkNrpV2e3OkmYfuSm3d-CNCAV9PXe8","bcomdashboardService":"https://agl1p1z1bcomdashboardservices.prd.brightmls.com","legacyListManagement":"https://lmsedit.brightmls.com/Keystone/index.html","listManagement":"https://lae.brightmls.com"}')}catch(We){n={}}const i=Object.assign(n,{AMPLIFY_REDIRECTED_FROM_HOSTED_UI:"amplify-redirected-from-hosted-ui"}),r="PRODUCTION",l={BCOM_ADDRESS_SEARCH:"bcom_address_search",BCOM_AI:"bcom_ai",BCOM_REDESIGN:"bcom_redesign"},o="fresh_session",c="6",s="jwtToken",m="REDIRECT_TO_OLD_URL",d="PRODUCT_PAGE_REDIRECT_PATH",u="IS_DASHBOARD_MODAL_CLOSED",p="Association News",g="Office News",h="Check this box to pin this Association News article so that it al
1ways displays first for your Association's news. You can only pin one article at a time. If you pin a different article, this article will no longer be pinned. You can also remove the check from your pinned article so that it's no longer pinned.",E="Post Association News",y="Update Association News",b="Are you sure you want to permanently delete this article?",f="The article has been successfully deleted.",v="Association News successfully posted.",A="Association News successfully Updated.",N="Are you sure you want to publish this article?",S="The article has been successfully published.",w="Are you sure you want to unpublish this article?",x="The article has been successfully unpublished.",_=401,k=400,C="Post Office News",T="Update Office News",I="Office News successfully posted.",L="Office News successfully Updated.",B=5,D=2,M="DELETE",P="PUBLISH",R="Please select at least 1 office.",O="Manage Office News",U="Manage Association News",F="healthCheck.json",$="hostRegion",W="Unauthenticated/bcom-redirect-list.json",H="MMMM DD,\xa0 YYYY",j="Unauthenticated/home.json",z="Unauthenticated/bcomHomeV2.json",V="Unauthenticated/bcomSupport.json",G="Unauthenticated/bcomNews.json",q="Unauthenticated/bcomJoinUs.json",Y="Unauthenticated/bcomTraining.json",K="Unauthenticated/resourceLanding.json",J="Unauthenticated/bcomCareerReskin.json",Q="Unauthenticated/bcomIncludedBenefits.json",X="Unauthenticated/bcomAbout.json",Z="Unauthenticated/bcomTeam.json",ee="Unauthenticated/bcomPremiumProduct.json",te="Unauthenticated/bcomProductTemplate-{productId}.json",ae=9,ne=12,ie=8,re=11,le=6,oe=10,ce=4,se="Unauthenticated/newsRoom.json",me="Unauthenticated/valueofopenmarketplace.json",de="Unauthenticated/researchHubHomePage.json",ue="Unauthenticated/weeklyStatisticsPage.json",pe="Unauthenticated/weekly_stats/000.json",ge="Unauthenticated/careers.json",he="Unauthenticated/centrecounty.json",Ee="Experience",ye="Search",be="Search articles",fe="Card",ve="Unauthenticated/productLanding.json",Ae="Workspace",Ne="products",Se="View",we="/page-underconstruction",xe="/article",_e="/articles?filter=",ke={NAME:"News",NEWS_TYPE:["Bright News","Office","Association"],BRIGHT_VIEW_ALL_LINK:"/articles?category=bright-news",OFFICE_MANAGE_NEWS:"/manage/officenews",BRIGHT_NEWS:{VIEW_ALL:"View all Bright News",VIEW_MORE:"View More",VIEW_ALL_URL:"/articles?filter=articles",NO_NEWS_MSG:"There is currently no news available"},OFFICE_NEWS:{VIEW_ALL:"View all Office News",VIEW_ALL_URL:"/articles?filter=myoffice",NO_NEWS_MSG:"Your office currently has no news"},ASSOCIATION_NEWS:{VIEW_ALL:"View all Association News",VIEW_ALL_URL:"/articles?filter=",NO_NEWS_MSG:"You are not a member of an association",ADD_NEW:"/manage/associationnews/",ADD_NEW_TXT:"+ Add Association News",NEWS_URL:"/associationnews/",TYPE:"Association"}},Ce={NAME:"RIS News",NEWS_TYPE:["News","Events","Reports"],RIS_NEWS:{VIEW_ALL:"More News from RISMedia",VIEW_ALL_URL:"https://www.rismedia.com/BrightMLS-auth/?news_id=0",NO_NEWS_MSG:"No RIS media news found"},RIS_EVENTS:{VIEW_ALL:"More Events from RISMedia",VIEW_ALL_URL:"https://www.rismedia.com/BrightMLS-auth/?event_id=0",NO_NEWS_MSG:"There are no upcoming events to display"},RIS_REPORTS:{VIEW_ALL:"More Reports from RISMedia",VIEW_ALL_URL:"https://www.rismedia.com/BrightMLS-auth/?report_id=0",NO_NEWS_MSG:"No RIS media reports found"}},Te={NAME:"Industry News",HEADLINE:"Industry News",NEWS_TYPE:["RIS Media","Real Estate News"],ITEM_LIMIT:12,RIS_MEDIA:{NO_NEWS_MSG:"No RIS media news found",VIEW_ALL:"More News from RISMedia",VIEW_ALL_URL:"https://www.rismedia.com/BrightMLS-auth/?news_id=0"},REAL_ESTATE_NEWS:{NO_NEWS_MSG:"There are no Real Estate News stories to display",SIGNUP_TEXT:"Click here to sign up for your free Real Estate News account.",SIGNUP_URL:"https://share.realestatenews.com/bright",VIEW_ALL:"View all Real Estate News",VIEW_ALL_URL:"https://www.realestatenews.com"}},Ie="Unauthenticated/trainingLanding.json",Le="Unauthenticated/eventLanding.json",Be="Unauthenticated/newsInsights.json",De="Unauthenticated/researchStudies.json",Me="Unauthenticated/marketReports.json",Pe="Unauthenticated/bioPage-{profileId}.json",Re="hiddenBanners",Oe={home:"openmarketPlacePage_heroSection_wrapper",mlsStories:"openmarketPlacePage_homeSection_wrapper",didYouKnow:"openmarketPlacePage_didYouKnowSection_wrapper"},Ue=["bioPage","newsInsights","marketReports","researchStudies","researchHubHomePage","weeklyStatisticsPage"],Fe=["bcomHomeV2","bcomSupp
1ort","bcomJoinUs","bcomIncludedBenefits","bcomTraining","bcomCareerReskin","bcomAbout","bcomNews","bcomTeam","bcomPremiumProduct","bcomProductTemplate"],$e=["nvar","nva1","nva3","nvar3","pwar","pwb3"]},45971(e,t,a){"use strict";a.d(t,{A:()=>n});const n={UNAUTH_META:"unauthMeta",SERVER_DATE:"serverDate",SERVER_DATE_REFRESH:"serverDateRefresh",IN_PRIMARY_REGION:"IN_PRIMARY_REGION"}},28560(e,t,a){"use strict";a.d(t,{A:()=>c,I:()=>o});var n=a(22389),i=a(83326),r=a(89204),l=a(45971);async function o(){try{const e=(await n.A.get(`${i.Ay.awsConfiguration.bcomContentfulAPIEndpoint}/${r.DS.DATE}`,{headers:{"Content-Type":"application/json"}})).data;return sessionStorage.setItem(l.A.SERVER_DATE,e),sessionStorage.setItem(l.A.SERVER_DATE_REFRESH,(Date.now().valueOf()/1e3).toString()),e}catch(e){return Date.now().valueOf()/1e3}}function c(){const e=sessionStorage.getItem(l.A.SERVER_DATE),t=sessionStorage.getItem(l.A.SERVER_DATE_REFRESH)||"0";return e&&t&&Date.now().valueOf()/1e3-parseInt(t)<=120?parseInt(e):(o(),Date.now().valueOf()/1e3)}},15607(e,t,a){"use strict";a.d(t,{Ap:()=>p.Ap,Ar:()=>se,Ay:()=>w,CW:()=>z,Cp:()=>P,Dn:()=>k,Du:()=>y,FS:()=>M,Gv:()=>F,H0:()=>_,HQ:()=>Z,IT:()=>j,Ie:()=>x,Jn:()=>ge,Lj:()=>U,MG:()=>D,Mo:()=>Se,Mt:()=>R,OF:()=>$,OI:()=>O,Qi:()=>ae,R2:()=>v,Sc:()=>S,T$:()=>f,TF:()=>G,TV:()=>K,VW:()=>te,XW:()=>ee,ZH:()=>be,_N:()=>N,bQ:()=>ve,bT:()=>de,bp:()=>X,dl:()=>me,eA:()=>V,eG:()=>I,fX:()=>p.fX,gm:()=>E,i$:()=>ne,i9:()=>T,iO:()=>Q,io:()=>ye,jr:()=>oe,kO:()=>C,l6:()=>le,lT:()=>g,m8:()=>h,mJ:()=>Y,mK:()=>A,mU:()=>Ee,n9:()=>ce,o7:()=>J,ov:()=>H,p5:()=>he,pp:()=>B,s6:()=>Ne,sI:()=>L,tj:()=>we,v$:()=>q,vk:()=>pe,wQ:()=>Ae,wU:()=>re,x2:()=>ie,xA:()=>W,xX:()=>ue,xi:()=>fe});var n=a(99405),i=a(83326),r=a(7387),l=a.n(r),o=a(72056),c=(a(3197),a(49275)),s=a(68741),m=a.n(s),d=a(28560),u=a(45971),p=(a(10288),a(38410));function g(e){const t=e||window.location.pathname;localStorage.setItem(i.fo,t)}const h=()=>window.navigator.userAgent.indexOf("Edge")>-1,E=()=>window.navigator.userAgent.toLowerCase().includes("firefox"),y=e=>{const t=localStorage.getItem(e);localStorage.clear(),localStorage.setItem(e,t)};function b(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const a=window.location.pathname,r=localStorage.getItem(i.fo),l=localStorage.getItem(i.lp);y(i.R8),l&&(console.log("Product page redirect path found in localStorage. Re-adding",l),localStorage.setItem(i.lp,l),console.log("Product page redirect path successfully re-added to localStorage",localStorage)),sessionStorage.clear(),setTimeout(()=>{"/login"===a&&r?localStorage.setItem(i.fo,r):e&&g(a),e&&!t||"true"!==i.Ay.awsConfiguration.directToLogin?n.N.federatedSignIn({customProvider:i.Ay.awsConfiguration.samlForgerockProvider}):window.location.href=i.Ay.idpLoginURL},100)}async function f(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(E()||function(){const e=navigator.userAgent.toLowerCase();return-1!=e.indexOf("safari")&&!(e.indexOf("chrome")>-1)}()){const a=await(0,d.I)();Date.now().valueOf()/1e3-a>160?window.location.href="/timeerror":b(e,t)}else b(e,t)}function v(e){return{__html:e}}function A(e,t){let a=!1;return e.indexOf(t)>=0&&(a=!0),a}function N(e){if(e&&e.CategoryCounts){const t=function(e){let t=0;if(e&&e.length>0)for(let a=0;a<e.length;a++)e[a].Count>t&&(t=e[a].Count);return t}(e.CategoryCounts);for(let a=0;a<e.CategoryCounts.length;a++)e.CategoryCounts[a].BarStyle={width:t>0?e.CategoryCounts[a].Count/t*100+"%":"0%",background:`${e.CategoryCounts[a].Color}`};return e}}function S(e){return e.split(" ").join("")}function w(e,t,a){const n=new Date(e),i=new Date(t),r=-1*n.getTimezoneOffset()*6e4,l=-1*i.getTimezoneOffset()*6e4,o=144e5,c=new Date(n.getTime()+o+r).toISOString(),s=new Date(i.getTime()+o+l).toISOString();return a.split("?")[0]+"?from="+c.replace(".000Z","")+"&to="+s.replace(".000Z","")}function x(e){return l()(e).format("YYYY-MM-DD")}function _(e){let t=1===e.split(":").length?e+":00":e;t=2===t.split(":").length?t+":00":t;const a=parseInt(e.split(":")[0]),n=t.split(":");return x(new Date)+"T"+(a<10?"0":"")+a+":"+n[1]+":"+n[2]}function k(e){if(e){const t=e.getHours(),a=e.getMinutes();return t.toString().padStart(2,"0")+":"+a.toString().padStart(2,"0")}return""}function C(e){return e&&(e.match(/.*\.jpg$/gi)||e.match(/.*\.jpeg$/gi))?e+"?fm=jpg&fl=progressive":e}function T(e){if(e){const t=e.toLowerCase();return t.includes("http://")||t.includes("https://")||t.includes("mailto:")}return!1}function I(){window.scrollTo(0,0)}function L(e,t){return e.getTime()>t.getTime()?[t,e]:[e,t]}function B(e){return l()(e).format("DD")}function D(e){return l()(e).format("MMM")}function M(e){return l()(e).format("MMMM")}function P(e){return l()(e).format("YYYY")}function R(){var e;return null===(e=document.getElementById("logout_id"))||void 0===e?void 0:e.focus()}function O(e,t){return l()(e).format(t)}function U(){return new Promise((e,t)=>
1{fetch("/regionIdentifier.json",{method:"GET"}).then(e=>e.json()).then(t=>{sessionStorage.setItem(i.$w,t.hostRegion.toLowerCase()),e(t.hostRegion)}).catch(e=>{sessionStorage.setItem(i.$w,i.Ay.awsConfiguration.S3SecondaryBucketRegion.toLowerCase()),t(e)})})}function F(){const e=(0,p.fX)();return e?(0,c.A)(e):null}function $(){return!window.location.search.includes("?code=")&&"true"!==(0,p.Ap)(i.Ub)}function W(){if(!window.location.search.includes("?code=")){var e,t;const a=F(),n=null!==(e=null===a||void 0===a||null===(t=a.iss)||void 0===t?void 0:t.indexOf("us-east-1"))&&void 0!==e?e:-1,i=sessionStorage.getItem(u.A.IN_PRIMARY_REGION);return(n<0&&"true"!==i||n>=0&&"true"===i)&&function(e){if(!e)return!1;const t=(0,d.A)();return!("undefined"===typeof e.exp||e.exp<t)}(a)}return!0}function H(e){if(W()){const t=60*e,a=(0,d.A)(),n=F();if("undefined"===typeof n.iat||a-n.iat>t)return!0}return!1}function j(e){return new URLSearchParams(e&&e.search?e.search.toLowerCase():"")}function z(e,t){return"OFFICENEWS"===e?`/officenews/${t}`:"ASSOCIATIONNEWS"===e?`/associationnews/${t}`:`/article/${t}`}function V(e,t){return"BRIGHTMLS"===e&&!t}function G(e){if(W()){const n=F();return!!(n&&n.Permissions&&n.Permissions.length>0&&e)&&(t=n.Permissions,a=e.trim(),!!(t&&t.length>0)&&t.includes(a))}return!1;var t,a}function q(){if(G(i.AY)){return F().MemberAssociationPrimary}}function Y(e){return"myoffice"===e?"OFFICENEWS":"articles"===e?"BRIGHTMLS":e}function K(e,t,a){const n=new Date;n.setDate(n.getDate()+(a||0));const i="."+document.domain.split(".").splice(1).join("."),r=escape(t)+(null==a?"":"; expires="+n.toUTCString())+";domain="+i+";path=/";document.cookie=e+"="+r}function J(){const e=document.cookie.split(";");for(let t=0;t<e.length;t++)(e[t].trim().indexOf("brightmlssubscriber")>=0||e[t].trim().indexOf("_brightmlspermissions")>=0)&&K(e[t].trim().split("=")[0],"",0);K("brightmlsmenutoken","",0),K("matrixuserid","",0),K("loggedinsubscriber","",0),K("brightmlsAWSLoggedIn","",0)}function Q(e){const t=("; "+document.cookie).split("; "+e+"=");if(2==t.length)return t.pop().split(";").shift()}const X=()=>{const e=localStorage.getItem(i.fo),t=e||window.location.pathname;return t.includes("manage/associationnews")?"/manage/associationnews":`${t}`},Z=()=>{const e=window.navigator.userAgent,t=e.indexOf("MSIE");return t>0?parseInt(e.substring(t+5,e.indexOf(".",t))):navigator.userAgent.match(/Trident\/7\./)?11:0},ee=async e=>{let t=await(0,o.c)(i.Cf);t=t.map(e=>(e.redirectFrom=e.redirectFrom.toLowerCase(),e));return m().find(t,{redirectFrom:e.toLowerCase()})},te=()=>{K("brightmlsmenutoken","",0),K("matrixuserid","",0),K("loggedinsubscriber","",0),K("brightmlsAWSLoggedIn","",0),K("brightmlssubscriber","",0)};const ae=(e,t,a)=>{e.preventDefault(),a?window.open(`${t}/${a}`,"_blank"):window.open(`${t}`,"_blank")},ne=()=>document.documentElement.scrollHeight>document.documentElement.clientHeight,ie=e=>!!(e&&e.length>0),re=(e,t)=>{const a=t||i.Sy;return e?l()(e).format(a):""},le=(e,t)=>{if(t&&t.length>0&&e){const a=t.filter(t=>t.name.toLowerCase()===e.toLowerCase());return a&&a.length>0?a[0]:null}return null},oe=()=>window.screen.width,ce=(e,t)=>t?`${e}/${t}`:e;function se(e,t,a){if(e){const n=document.getElementById(`${e}`);if(n)if(t&&a){const e=n.offsetTop-a;window.scrollTo({top:e,behavior:"smooth"})}else n.scrollIntoView({behavior:"smooth",block:"start"})}}function me(e,t){let a;return e&&(a=e,t.roundOff&&(a=Math.round(a)),t.localeString&&(a=a.toLocaleString()),t.lowerCase&&(a=a.toLowerCase()),t.capitalize&&(a=a.charAt(0).toUpperCase()+a.slice(1))),a}function de(){const e=oe();return e<1280&&e>600}function ue(){return oe()<=600}function pe(){return oe()>=1280}function ge(){const e=oe();return e<756&&e>=601}function he(e){switch(e){case"resource":return"/resources";case"press-release":return"/press-release";case"article":return"/article";default:return""}}function Ee(e){switch(e.toLocaleLowerCase()){case"de":return"Delaware";case"md":return"Maryland";case"nj":return"New Jersey";case"pa":return"Pennsylvania";case"va":return"Virginia";case"dc":return"Washington D.C.";case"wv":return"West Virginia";default:return"All Markets"}}function ye(e){if(e)return e.replace(/\s/g,"").length}function be(e){return e.charAt(0).toUpperCase()+e.slice(1)}function fe(e,t){if(e&&"isEven"===t)return e%2==0}
1function ve(e){return!e||!(e.indexOf("_container")>=0||e.indexOf("-container")>=0)}function Ae(e,t,a){return e.hasOwnProperty(t)&&e[t]===a}function Ne(e){return!(!e||"{"!==e[0])}function Se(e){const t=e.replace("GMT","");return new Date(t).getTime()}function we(e){return e?`${i.Ay.listingManagementURL}&mlsId=${encodeURIComponent(e)}`:i.Ay.listingManagementURL}},10288(e,t,a){"use strict";a.d(t,{I:()=>r,Y:()=>i});var n=a(83326);function i(){const e=sessionStorage.getItem(n.$w);if(e)return null===e||void 0===e?void 0:e.toLowerCase()}const r=e=>{if(e)return e.indexOf(n.Ay.awsConfiguration.S3ContentBucket)>=0?`https://${n.Ay.awsConfiguration.S3SecondaryContentBucket}.s3.amazonaws.com`:`https://${n.Ay.awsConfiguration.S3ContentBucket}.s3.amazonaws.com`;return i()===n.Ay.awsConfiguration.S3SecondaryBucketRegion?`https://${n.Ay.awsConfiguration.S3SecondaryContentBucket}.s3.amazonaws.com`:`https://${n.Ay.awsConfiguration.S3ContentBucket}.s3.amazonaws.com`}},72056(e,t,a){"use strict";a.d(t,{c:()=>s,y:()=>m});var n=a(45971),i=a(83326),r=a(38410),l=a(22389),o=a(10288);function c(e){const t=(0,r.DU)();return l.A.get(`${e}?rand=${t}`,{headers:{"Content-Type":"application/json"},withCredentials:!1})}function s(e){return new Promise((t,a)=>{let n=(0,o.I)();c(`${n}/${e}`).then(function(e){t(e.data)}).catch(function(){n=(0,o.I)(n),c(`${n}/${e}`).then(function(e){t(e.data)}).catch(function(e){return a(e)})})})}function m(e,t,a,r){if(!t)return Promise.reject();const l=sessionStorage.getItem(n.A.UNAUTH_META),o=function(e,t,a){if(!e)return"";let n=e;return t&&(n+="/"+t,a&&(n+="/"+a)),n.toLowerCase()}(t,a,r);function c(a){const n=function(e,t,a,n){return n===i.Vp?n:void 0!==e[t]?(a?"Unauthenticated/":"")+e[t]:null}(a,o,e,t);return n?s(n):Promise.reject()}if(l&&"undefined"!==l)try{return c(JSON.parse(l))}catch{}return s("metadata.json").then(e=>(sessionStorage.setItem(n.A.UNAUTH_META,JSON.stringify(e)),c(e))).catch(e=>Promise.reject(e))}},51573(e,t,a){"use strict";e.exports=a.p+"static/media/bright.3b6e72cb.svg"},40334(e,t,a){"use strict";e.exports=a.p+"static/media/bright_white_mobile_logo.1b56694a.svg"},84828(e,t,a){"use strict";e.exports=a.p+"static/media/Hamburger Menu.82c860b1.svg"},51786(e,t,a){"use strict";e.exports=a.p+"static/media/close_icon.e079aad6.svg"},70327(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA+oAAAGSCAMAAABDrstlAAABOFBMVEX///9fX19eXl5cXFz+UABYWFhLS0taWlpTU1NVVVVRUVFOTk7z8/PV1dVlZWVPT0+Kiorx8fFKSkr+TwDKysppaWlsbGz+///b29uYmJhkZGSoqKhycnKQkJCrq6vq6uq/v7/7+/vs7Oyurq51dXV8fHz5+fn+SAD19fW2tralpaWWlpZvb29hYWHj4+PY2NixsbHIyMh/f395eXn+TAGDg4PCwsKfn5/g4OCioqKNjY3o6OjNzc3/QADQ0NDFxcW6urqampqJiYn39/dHR0eTk5OGhobT09Pw8PDl5eX9/f2cnJz/RADv7+/p6end3d1ra2uzs7M/Pz/u7u7a2trU1NT+OAD8s5v9gVH8YCX8jmX95t39WRb83tH8pIT8ajP9eED99vT97ur80MH8l3D91cf8x7X98++emXqYAAAeOklEQVR42uzBgQAAAACAoP2pF6kCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGD24EAAAAAAAMj/tRFUVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVXYtf+mJII4juOf3btl74dyERZUUIkGaBIovyzUakT7oY5JRTXmNM00Pf+H0N1q5IB2aMMx231ff/AAdnjP8t0vhOir8wpkDKkNEKKrwvP8O2cNJMTMq/aiLRGhrWe5d2tLIOTfvV/duS0s2xA3QP5i+2O7Lm1LyiQiU7zN2xuztZxNvyTIvzmYu7PiZy4Nzjilfrnt6tO6YVvqnIzoUp93H0OZ666CkGvPnHs52z7NnDFK/TLFD/ce/c48OKgIU0/u4NZdxhafI9vbBiFXN7PVXhSnmSuU+sWKhwtrfuYiOCfOlAhT/+gCzFrek24H+V0QcjVl/2lJDjKn1C/zdt3PXJzLPPLUm8tAxQX23BYKXRAyvnIwc1rW2Y92nVI/ePOgiOis13bZ0G0efep3Z4GK96awkkgBvRkQMq6HwlaZKxqlXs0nhZBGfSmDSKScocynkzqvAhVpC5kF0H0AQsZVs9XXV7PUZ+qWbRjcMITDWohCoTs4p2mmvtICKk41aR0C6IGQsR0FqTPNUs/agqvu/E/Du4MIvL/JfFNPfSGnZvU5Nwk8TIKQsR0J/VLveOfXBNzbw0X+y9TRq8LqFXG7twyPFuvkarf6gC7Pclxy9gdniS1MmEqdD0wx9dbNB51ZoJx9svgIhIxvwREDkmuR+n1naCdoSExcoSf+4NNLHUfdeylge7VSByFXsHoj/9tOU2qRuhhZGLgbmLRUMz+wI6aYOp6sMcNgyRYIua7sTR1SPxyZmrlsIlKJyaeeOQkc4yLl9fUDEHJ9swkdUq9ZbJjBEEK/1L+WSqX9LyBEiWPqd0Z3BtxCCA1Tb6TTpW8gRIlj6vkLUvcQQr/U0w3TbNCtTs7EMfV79uiySyKEfqlvpv3UzQwICcQx9Q139FkuhxDapf69b5pmukSpkzMxTB0JzoY4NYTRLfWTvunrvwUhShxT3x0e1nkCoXRL/dO+Sv0EhChxTL08fK07TxFKt9Q/l9J+6pufQIgSx9SxlODnYxe3EE6z1DONhprVP4OQQDxTR9s1GGcK51ZyHqF0S/24bwYaDXqXI6fimToe2pbBVWTSbWIcmqX+Y99U+scgJBDT1JF6yRzP8Ty7voWJmp9K6plGOm0G9n+AkEBcUwfmP7y4X5t7jclKecVppP5z0/TRZp0MxDj1SHSktRt96uoP8KaP3uB/sXcvXGkjYQCGP2YcZiaoKbCgRbwAIih4QfEu9Va1tq5td9tV2672spf//w82BE11BkmEIFnP957d7vZIMXD6JDNjErDrkHp3eys
15ia09CnX9oG4Xj+PCHFYPqXezjwYlhKYenfpQwZ6pN6pdAoYh9W5WMez7vps7j0x96LzQ97M4LsJjAEi9i01E6tJDhIpHpn5Wi/fdqhrHITwGSL1rvXdOyZMHj0r9xx+N4btT4QKtY0i9W81ECHGupsk+IvV/aor0vnjhAi9ww5B6d9o1CdEvh+8+9aEzW7pqPf43YBhS978NW7pT5JdHov763JauWa/WPmUAw5C6zy0Lon+mRPepD51VC7Z03Xr8pO/yG07ZMaTua0uSqHeknek69aF/z77Uqg50zXr1pHr+I4PascemXnwVje5DR+2DX009eKDcn92cW7Oa28xG1aFxWZUeIiSc7YR65lX0VTFzn3Grb3+efbUsxx3penFryn7S9/Xyx+fMUD1Ej3WbenF4YXQpRRlnJJVeXl3ZhHaae38ooVlDpy9ypcV0IpFc2hibz4Bbr34pkW3w3Hj92cuzlAlmJxifTeYPxrY2r+28TjD9NpVmaKU96lNzK+uH6RDjjFrfpjT9NqO93q/nXy+qhVohrkPXj+3W4wp9F1dfz8/x3Hism9QzwzNLXArJaSPOhMESBx/hQZ3uPBtkBjNALXo0s5xiQkh2/eRiFlrVf/RmkgsR/gU8dTy9N3jz7MTJ+g2TwmCp5dwcwP4sI+q7YJRX2pmrn27v5gkTgnHaiElDzo4OwN3+KBTsw7n1j2txeyhfLRQKtU+AYV2i3r/9LCQFt88WtTnY/7GoSJHIZcBb2ZXRhMWcEvUjWYofVyepFIw2zlGr1/IG7/sfZvJU2JsT8UJ9bj3JjOtnVzHX/7UkCpkcSTFy5ytUimUVpzv1qbUFe6/Cqf0W3f42UkwO3KWuK3cH31dA6lh3qEd3FqmoC9Wz1FKDToNrv249L1ueaN156A71zfeLxIahGqLQrMza2GJIGrzxRF6oVyal4FRBroEnVNzeBEKowUunAA+iXpyfWZyVjb0KafZmMfNApf5Q6/E4Use6Qb1/Is9s502kOCiSx63H2quTFvOGTjuH+tp6+fo4T0Ku1O1Zvi3Jebw79e13BrO/r1tEmaIP5vYBPFF3mOepsDfu/ggR5dvUT6wRvLchfNxWXq13gtQxv6lPVZY153qEMDEBzdufn1liQjjMb1OfW08w5XjbgvrmzkbKZu483gP1uUmDE920rludoqdXwMmd+r7FnN9McEKtIkQm4aahv/6y1uW+FGo1a8reWnu8Wn9U/MvF1dXVBV7bivlJ/QCONqi7cztCIjPNx9pUKsxvqEdzaSGcr7hQz64cJJjG3J36mMGIPjFgzDBM05DMpqnHxOE8gFfqiaz9Kp2Nc4uIZz+t1/v2/cfl+ZeT2v3a64vvF5/O/v7+7TXgD9swn6nTcllIh6IH66twt9xh6BqAHgmVuMEbT+5K/ajUmOWrktyp5w0VOmUmTx6+Gcnt5EZW98rUYFR7VprOAHimTkKNcY/3SHgA1IZef768Ojlpij1+cnJ19h19Y75RV60rzl2tL9xdh/utFQDqEHOnnjaVcYFH6pmEJEQZPLONSj/8rPiiRLXdAWHTD6CurjK4R+hg89NpPn+q1izsKvTCp8/IHPOTuhIhzf//HnREOVhFw6G20qnnldm2V+oppjyWG8/7QW1qRDL1lZjvvVHXI1bqu6QXPoKmDWUu4yd3l+SrtfPvCB3rEnV9iZ1yJoVpGoZh3jtaJVS2Qd2WQa5/vY96qB3q75iynSy1Bs3KlqU2QnnxEOrEdt04I4dzzpiUjPH7R0WE5+G+Mn/VCrekF/rwElas69RJnS+XpiFDifzGm7GFiZWtys7YRlII2nzdelmh7mbctsFu4pT4SH1PEmXrkhm4p7xQ91rGlGfqpP4SDNMUjJHBRHppcW/v4ODZ4WSCCoPT5q89Avc29PnKuZg1XvuKR3Ss69QJF6ZM5XenP2aLcKfjdSoIabbeNH+bOrmVDp1yYelIJfOHo6XV1dWD0eWlJCVNqTPyM6/UtyNEAUnh/t5xdb8w6ZU6IYPlxdLIztaH02hx6rbZ/uFcXsqmU/nIALTAflmrxhvSP6F0rOvUCVlarYxPQdMyuyYlOnU+eHtZTjpZVrXBfmpxfWUtevf5JW1GfdKQTpR4pC6ogjeyBve3H1E3MFLx5TPbxkuCNxv/rEOrfhQKdesoHdPynzrhG9CqedZssSy8BTcNbY7flP1dqpJYNAN6Zd6M+u/jTsUDRjxR3xWKdDYKrcoJbRDQFnW943fSbbKu972vEI+fnKN0TK0Ht6bIcqpZJzwJTTNU6qI5UEYU6mq7HqnrR+kMtExSdbhQaY+6XprpJ/3OQutefylU8WaxmF2vqcOpSYh+WN/shHrFDLlQf+6N+ohQ90HL0Lo3jKh7Lb+oQ0i/lIe5f3TbH98AwwB6T91Z+VLGyR1Qz8Z8ok60Y/QRtG5cW5aMRf2iPhwh+hK8W//i/SewRr2nDnkWUqOiE+ogqC/U52IqLQOU3PcOYsEv6pDmqvUYuIbDd8wuCNSLkSYj+PlOqJc58YP6jLoMyNPg1jOmjvnTvlFfMbS3KQoY5qkgUIdRplonrNQJ9V3mC/UyV7fqDbi1I4liWPhGvehpdvB8ZGFlYBw/zAVTCgL1aNjT2rJ36hXTlwG8UDfLWAG3PsRCSi/H/aIOknqg/tIQhmCpw50iYJhTIKjbk1Cl2H4H1LMv/aCe1dSGh8Gtfu0PmVu+UU94oS6JfbkBM3gJsWNOwaA+YYR0IB1QB0l9oH5katR/BTX3bZQLvlEvc2/UraxfqOATgGHXBYJ6JqxP1lc7oV7mPlCf0KjHwD39jL7nvlFPeqZuR2hkBDDMLhjUIcFV6nyyE+q7jHROfUx9EDHBPU7VV7LXE+rOjT4wzC4Y1B2aTpR3Qr1i+nBUX9eoG+BeSqXOFntA3bEePgYMswoI9a2IfiXrUAfUszFyU/vUS21RH1SXzli+d9RDhL8DDKsXDOrRWEjt5XEH1CEinIx2qe/6c1TnvaLunIyEYVbBoA5Cv1nEVifUh3/2wccB/P9srm5F+CJgGEBQqGt/iYmcbo+6XrvUFyRpZwVepc5KPT2qExMwzCog1BdZSEmu95r6tv7DtrZ+rp7rKfVQDEfwmFVQqL+R2g/WN3pN/UNEo/4W3CrqZ8tVektd5ADDICjUpyXRVrN6TX1fU2tUwK21mL6+2FPqhO0BhkFQqFe0IyhP95q6vsLG1h9+oSkxoFfUnTcSwyAo1I/CGvVkz6nnOXE5hc/9glzCyz2mTlOAYRAU6msadTrYc+rTQt0m8eAzaIic6TV1BhgGQaF+GtOoz/ac+r52FU747YNX5WKbSB17grVLPfpSo857Tl2/jp4dQOty2mc5pQCpY0+wdqn3x4JIvWKqG2VA6whVntiYRurYU6xd6sVwEKkDVeWKEVBy2TcIQOrYU+yJUa9EtNPgM+DkYddgLiB17EnWPvUALstZpVt8tqreM4UZ4bOA1LEnWdvLcrEA/rDNqt8kil4xCvc1YqrbF55D6tjTrO1lOW0FnpeDQB0qYe17HkLzds2QelHZAiB17GnWLvXjWABPjLUbCxMFsEwMgN5aWhB1oj4KSB17orVLfTgcCtzlLtetRlTrXOQr+3C7zItlwZRHEfMQkDr2VGuX+otw8C5ivWnBJKpiJsjizPbbzex4dvNtZexw1oauSD8ApI492dqlvmKq1Ht/awqnAf12WIQyIQSjlHIhDEY16NzcAaSOPd3apZ6TRKW+Exjqy1yj3vBM6xHS5Atm+hiQ+n/s3QtTEl0YwPHnModzgdxgRJNARZARUEQYb9R4y9Jqequ3+v5f5TUphbOgi9jr0Z7fTDM5szVsM3/Owm7PEU/YXVNv+u1h6iCU1DuGEJGYkDAJYod1AEldPGV3Tb0bWzhPXwWS+km/dNow9tba6WdZ0UylDJK6eNrumnqB/WjSEEbqjYj6R2zu9dBZZkSi0ZUjsYp0ZwsAJHXxxN019civhzmM1LfSdP163rx+m1fOKGai2Md2bZ0tnCxnASR18fTdMfVW/LZ6N4jUMxH3j7S70LdyuLudR2tc5Jy55CJnDc6sLhy9LwOApC7+BndM/cigx+4GkfqX3wfmWjAgs7R5eNRufDw+Pv7YqNQPn73KfoCfJHXxl7hj6h1N6LV3EELqFUeJe5HUxd/kjqlbRk+uFkDqtatnYnUVQFIXYsrUn6XRwwUIIPUTRQMbr0nqQtwhdT8pf0/DAFLPpOh64zVJXYipU48IPenNAFJ/q2hwGuQjTZ3SIAQEkXrDoIctBJC64evT2H00qZsRzx0KEUTqsUWdVCmA1Ae+QaBH9LWcYRzmlkGIEFI/UejLtQJI/ePAQZT+8FhS3+D4kA8h4OFTj01vQ+IZCCD14mBY6uSxpF70D6L0PAjx4Km3HMVSjw5DSH1oeSS3+0hSf6cIh9kFEOKhU/9sOb6oEwSXOpIpLn+rPYLUK5Ziy3oLhHjY1A8dE/rSW0GkXmDvM69ThXyxu/28+fFl++jw7Htr6TxTmw8t9c0Ueoh1BoR4wNTPT6IRpes5CCL1rhcWITNrrZS1xjkXGcWKN2bWq52T0kKjUt95/X3vn2+ZN+WHTR3ShD7NP0CIP5q67sE475vKEqGPUit/PPWPsdQPIKZhCX1E5M+W01r/it84o0hjYb1bqpyt/YHU12Opl8dsPuUhdu++e8fWMiut10cgxL2kjkTVhfqz2IfczObLqjWEcRQtwmhr7fjzs5X3d3qVsRrUu1fg20thIlf104V+/NY5Xq1nYZxsxfqp8/IHuFn5cINxmN3PQMyRwxgiZQrbHxv7+/sLC83e9moxj6iMOQUh7id1JG0jqwrF7ebuy3b969f6YqPZmWNjNCFhnO3CSC9K2qGfOjr1Zf/zPEwi0847TehRpnMAHs2EnsTtE2unei0Y5XtPmdipkNtofILx/tnFyC+d0Ki3rTFX8D5idXnpYay6oPkCYUq+sBP3lToSIjFrpYz7RSkeN5CRVAFGqB0VjWUk9BASGzfTPKtBQi962jERxpByc/UyDGo7wrsjJOtKb8Dzpr4+5lTY2N4ejPa6Yw0T+gjZxt+jmpZuufq4+sHUQYj7SJ383/g/+b3pEdG2FtANXQP4tVuHva018Nz2juEj7bDxDQYoJpwydj0Lg/aaPP5Ufna7Ogsx54szTo152YSkXL5egwEf0kSYCKltEOIeUieeKBayhViw8ztdY/x1OF67crx9dA43afmZ+YjYqN5nuPIjRzglTu/Cb+Wdqv9O44t3C89O1M3nT8SOd1fgWj3CJAhZ
1RSDElKkTsjJ5cir5XgmuC7416+U5xmXtdhvGKznjZzbygtidDG7NiFMiinrQlzFJToXYRO/h2pxTiV52tAzXujZJ59rpjnwFL6ZLnZC0070zyOw8R2M4SavKNSDm/BQJkyHUeRivqzABb2P3psJpUbQAl1ZOE57G6QtvFlcSZhEGFNStnRtbrZ+DEFOkTkhsbLGegUu1s+O8cvqmxZ2QdFTcg7hsCpPTczDeqsYEvDFyh5ZwWpTuL53fcphMbjB1lTB1b05O3hDd1LkqVpZAiGlSJyLlCrstGNRqr2pnmcd/1J47hFGyOU5OfbkpdcWJqCJceRvhPaROqUx/VedkTodS15yIWYQhzyNNo/+ttVPFRRlXIaZNnbRT27PzI6KdbeaVU5qpfwPu9y9m5fS7AxjtUwqT4/tY1bkKv3UdUb8Q/v0bwsnjJ128TD2HyaSGUidMxHqpw+yMU9e7ThH2b/ZboztfZT0XUzv71663szDOP0elL9o4o7XuP1FqnFEzvcMsjHWeSS6bhfHWsgn/kgz8UjSEl4jRmMgZY/UF/oku+M/KjpfaBID5bNLT+ADXEv+hGviWu8pZzX1aW2f0+sKs/M8XcR/OtvfgFp9+tJvvqnP5/Fyx+7zZPliBQBUt/qK/wOedemW/WTrpVOdmUPPPboyLjLX2d/xMdNOy/iBWlpvdPGqlqTC3Wqr8+ARC/N/mQx+Nsm2uSlX7MODDm8y3pdaLg59bOR2XTrar6zMbrLSy7oLRjIQxuSw8mLVsNrNWAyHEKJW0d/19k1rm/CL+s63ldqOjDNGoW2FCiAC1Ukh3m6Se3TVMI27WCyEChAO56jxM5LPWfuvkQAgRnobDK6R6MJmliPzWc3KDS4jwlNOEV8jWYULLUSz1AxBChOatosFMN2FSM4zD3A4IIUKTJhxweg6TWnY4hKzMgBAiOBUz7Vam5RR5qbdBCBGYGaZpNyjfYC912SNRiNBkc4jTpl7VOCQ1C0KIsCy76VNf9VLP7YEQIiw9RdN+Voeuv6rLQ+hChKboZXq6BBPLMw5iDUKIwCDjkGgLJqYYB5CWIcxCBIe81FUJJnWewyGRPEEjRHA2GKe9+q4bb8tJEEKEpqgpNi9qQnkm2URFiMCVFMXmRU9mL0Vyq02I0O04HEapFzCRdU0hjJYTQtyknCMvdd6ASSynvXcKmbouRIiqmnCY6U0xmcI1QQgRoM0UeihahKTWNA9fvm+AECJIxfhwuHQFklkhPVQ6R8FOuhfib5dNEXmpY1SCJF6r4dIpJaOmhAjWURr91snk9+A2tVKah9f0tDwnJ0TAjiMi9GhX+gQ3KbfZkHf1vgVCPEHlV0tLS6/gVpeHlWFQZunCCiSUnX1Z6lS7nefHXzfX4A8ouVjrRNb2XsA473fJ8fDxSm+CEE/RwalSKvoKt3gZKaVOhzPYd0rZDUhkZ1VHxuoLyrqIu+1zuHeNNBP6WLkv+8/egG9ts1G0xtuujf9j7057moiiMI6f85zc3mWAESOuZREqYV8koEAjAi6AERX1+38Vaa0LpUXTKyL1+dEEkpL21T9zOr1zJ1VnhKgvfb4JMysH5EKTFTPDzbtn849mfkR+w+pQ6U1Vcarxy3yKW0vyp9VdBLQdLJRWm5/aWT5+e3Bw8PFwcOfBy6ql4HEmdMBF3qiN+tZgRVXhF+RCIx6qWmlPHWq/k/qN0gNQ4PudjqHm0uiM/GED66WHtoPCvEtlDNE5F2Iok/MGhf4MPjw+FqJ+1UxdUU7JBcYStPfUbwecshicLap3oXU4RfQb8qc9u9169XZQxTcdnoQLtddC1L9aqaMYvmh8h/aeejWqAkHn65MDD/eHt+ubVRcMUFixJ3/cTjVEg0J/FxQWwiN+mU797WvqCn/7ovE9I/UnSRUWxo7kh+MnFgyXtQJ1eQvJGVTxG5krLIb7bw6FqL+1UlekKeniQYL2nPpABQpzS3LW9GZ0sLQvl2Jm45XG5K2t9/OVm0txaP7zHSHqd83UAQUqw9LRZAEF0GPqow6KYknOGa+lSl0uzf7y5mN1IThvZm2fzwGY+caT91+tLAnR/6CROtSj+wg/4gH1it5Sj6Yad6WTe6NyuaYPV+f2aovOxRRCSLEhpHD6cG6xtvegPs7DOf03Gqnb2paDIk11Hd/TSo+pL91U1cqMXKGjg+1P9YmVB5tvdk9tzk09Xx08fHskRP+VZuojkgBF5UDOOa5A4Yek6C31naRqJkSULz/1+7JT6XIWfshDUUz2mvpsUvXvhYiuRnvq8shBkVakzVxSRRqTnNRNhYiuSHvqEg2K4qDT+H5bek59I6miFCK6Ku2p1wso/PvzZ99RDPSe+nKhqgVvVU50ZdpTlxvx3Ag/l6AoP0jvqUsFCk7wRFfuR+riDHpmLfx4c3yvSk7qCx4KVxMiypafeuvPtoU0Qx5Ams5K/VlFT8X7vGyM6Kq0py6jQRXlytnxfUKyUpeaU1VYWrv1UIgoX37qAvvpctbxm1C4NclM/cg7qAK+1JerA0JEufJTf9cc4Rd+jO9WHuWmLjOLEaoKmCtd7c3ORyGiHPmpy26Aopz6Pr4XO5KXetON5KCNHzUfSzd0j7M8UY781EU9FJXh1tl3ty65qTcNrrV2hmk+LJY6+k6IKENm6ocVAP59a3x3kp16y6cthGgG/cpiucYN14ky5KXeWvRePv+QoKjUM1JvN11/OeJS/LZVK3x5g1eLE2XISr11KRsMirgnmam3296Yr7oYrdk64iLveEqUIS/1yQJQQGFOMlLvarg+fz+4Zuw+8ss3ogxZqctUgp5C8Tkz9e5erzdjhxsSIsqQk3pz2boijkp26t09XYhQ1XJWiChDTuozBQAzyU39YlsB3IuKKEN26jJbAJV3l5y6VD1UX3BvZqIMealLzYV7ctmpLxWqmjjBE2XITP1hoXLpqYuZwu0KEWXISl1ml/9C6lWv6kaFiDLkpN50+anXmDpRV32U+oJXuCdCRB1ct9TX16SbBNVyQ4iog2uW+lgR3k9KRxNJVW++FSLq5FqlfqsC9WFCOnEGGFfGEnV2rVIfPjEoUD7alnOqDqrlhBBRR/9W6n5ELjJbeijg0uiSnPF0KKrC86BO1M2/lboNrU50MLsvX31CBFThUm3q6fT3XSpeJQ+FFeNCRJ39W6mrFZ2cbMs3e6Vvxu5Tubiw/nL33l7VCgeoWlkXIuriH0u9sxfj8t2zkeChgMK8a/CmUEV0g0JE3Vy71EUmRkI0aDP3JoW59HhfiOhveXYSQ/LySychhJNl+dlmJXQRT47b3mXPYnBmBsDMu+Aec8NYor/peHNsbGxKfqnxb5uTZ/t9MNbNkwFpMz049+p2I/LobWFrgitniPrY9OT20uHktBAREREREREREREREREREREREREREREREREREdEX9uBAAAAAAADI/7URVFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVWlPTgQAAAAABDkbz3IFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUwFko78a2tUfJwAAAABJRU5ErkJggg=="},58480(e,t,a){"use strict";e.exports=a.p+"static/media/Bright_MLS_Logo.c750d024.png"},2721(e,t,a){"use strict";e.exports=a.p+"static/media/brightmls_white_logo.0b2f69b3.png"},88925(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAgCAYAAAB6kdqOAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAF1SURBVHgB7ZdPTsJQEMa/eXIA3BtSlwZjegP1BCZeQLmGxIgLWJkYT6DcAE/AEWAhGldiiWuJiTEmtOO0aGgbSm0L5S36S6Cd6Xvt186f16I1erpACNe3Lr8COw3/QW9ffOvyU8sasOch1fC27mA/OftngjRBQTMKQXFoJ6gUNHkseT5GrnBZrlnGPEEM6tQr1RpypPX6cAfCyZ9d5FAchaA4wkvHUBJ7iBwhOGZklQkGgQ3kCgUs/RujxK+PBMj9+R55mvlkyMaYKyhNY2xaj10J88F0Pvr1yu5hkvnTxuiJ8ijK3s
1/V2zOFfSUsEckHs2kNbv87/tueSLRoH6sSJJTllk+RAd3LPisL36ciPiZ4c1GnzibHK/tqirLX+H1o2Ukd4Pr9JXbM18dnwA6s9sxu23fukQAi5T5u49ccMjttJICgjuTPnAkaDXoSfBM6wOgpe2JfQg8YG+pGnW/vddjmmsQr0SodedIUP6ELm47PtnbaP1wt7ZcFdO7DAAAAAElFTkSuQmCC"},51403(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAcBAMAAAB8NultAAAAJ1BMVEUAAAD/RAD/RAD/RAD/RQD/RQD/QAD/RgD/RAD/RgD/RwD/RQD/RQDs8rlmAAAADHRSTlMAQIDvMM8Qj1Dfn59+GroaAAAAbklEQVQY02MAAZkzAiCK9mymBDA7CcReEwZis8VsYGBgP3M0AchOPXOcgYHF5kyYzBmxmDMmQDXOZ472nGk9c9iBASwBhCBhsAQQgIQhEmdAwhAJiDBUAiQMkwAJwySmMBANlOBAgeEMHBzAxQYA4RdH23oEH/sAAAAASUVORK5CYII="},60247(e){"use strict";e.exports="data:image/gif;base64,R0lGODlhhAMsAYAAAP///wAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgOS4xLWMwMDEgNzkuMTQ2Mjg5OTc3NywgMjAyMy8wNi8yNS0yMzo1NzoxNCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDExRTQ5Nzk4MERBMTFFRTlBM0RFQUU0MDdGMzgzNzYiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDExRTQ5Nzg4MERBMTFFRTlBM0RFQUU0MDdGMzgzNzYiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIwMjQgTWFjaW50b3NoIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6ODk3MTZEOTE4MEQ4MTFFRTlBM0RFQUU0MDdGMzgzNzYiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6ODk3MTZEOTI4MEQ4MTFFRTlBM0RFQUU0MDdGMzgzNzYiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4B//79/Pv6+fj39vX08/Lx8O/u7ezr6uno5+bl5OPi4eDf3t3c29rZ2NfW1dTT0tHQz87NzMvKycjHxsXEw8LBwL++vby7urm4t7a1tLOysbCvrq2sq6qpqKempaSjoqGgn56dnJuamZiXlpWUk5KRkI+OjYyLiomIh4aFhIOCgYB/fn18e3p5eHd2dXRzcnFwb25tbGtqaWhnZmVkY2JhYF9eXVxbWllYV1ZVVFNSUVBPTk1MS0pJSEdGRURDQkFAPz49PDs6OTg3NjU0MzIxMC8uLSwrKikoJyYlJCMiISAfHh0cGxoZGBcWFRQTEhEQDw4NDAsKCQgHBgUEAwIBAAAh+QQBAAAAACwAAAAAhAMsAQAC/4SPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MCofEovGITCqXzKbzCY1Kp9Sq9YrNarfcrvcLDovH5LL5jE6r1+y2+w2Py+f0uv2Oz+v3/L7/DxgoOEhYaHiImKi4yNjo+AgZKTlJWWl5iZmpucnZ6fkJGio6SlpqeoqaqrrK2ur6ChsrO0tba3uLm6u7y9vr+wscLDxMXGx8jJysvMzc7PwMHS09TV1tfY2drb3N3e39DR4uPk5ebn6Onq6+zt7u/g4fLz9PX29/j5+vv8/f7/8PMKDAgQQLGjyIMKHChQwbOnwIMaLEiRQrWryIMaPGjf8cO3r8CDKkyJEkS5o8iTKlypUsW7p8CTOmzJk0a9q8iTOnzp08e/r8CTSo0KFEixo9ijSp0qVMmzp9CjWq1KlUq1q9ijWr1q1cu3r9Cjas2LFky5o9izat2rVs27p9Czeu3Ll069q9izev3r18+/r9Cziw4MGECxs+jDix4sWMGzt+DDmy5MmUK1u+jDmz5s2cO3v+DDq06NGkS5s+jTq16tWsW7t+DTu27Nm0a9u+jTu37t28e/v+DTy48OHEixs/jjy58uXMmzt/Dj269OnUq1u/jj279u3cu3v/Dj68+PHky5s/jz69+vXs27t/Dz++/Pn069u/jz+//v38+/v//w9ggAIOSGCBBh6IYIIKLshggw4+CGGEEk5IYYUWXohhhhpuyGGHHn4IYogijkhiiSaeiGKKKq7IYosuvghjjDLOSGONNt6IY4467shjjz7+CGSQQg5JZJFGHolkkkouyWSTTj4JZZRSTklllVZeiWWWWm7JZZdefglmmGKOSWaZZp6JZppqrslmm26+CWeccs5JZ5123olnnnruyWeffv4JaKCCDkpooYYeimiiii7KaKOOPgpppJJOSmmlll6Kaaaabsppp55+Cmqooo5Kaqmmnopqqqquymqrrr4Ka6yyzkprrbbeimuuuu7Ka6++/gpssMIOS2yxxh6LbLLKIS7LbLPOPgtttNJOS2211l6Lbbbabsttt95+C2644g5UAAA7"},57545(e,t,a){"use strict";e.exports=a.p+"static/media/avatar-placeholder.afacc108.png"},86993(e){"use strict";e.exports="data:image/gif;base64,R0lGODlhWAJYAoAAAP///wAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgOS4xLWMwMDEgNzkuMTQ2Mjg5OTc3NywgMjAyMy8wNi8yNS0yMzo1NzoxNCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDI1LjEgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6Q0M5OEFBNEQ4MDEwMTFFRTlBM0RFQUU0MDdGMzgzNzYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6Q0M5OEFBNEU4MDEwMTFFRTlBM0RFQUU0MDdGMzgzNzYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxRTM1MTIxQzgwMEUxMUVFOUEzREVBRTQwN0YzODM3NiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpDQzk4QUE0QzgwMTAxMUVFOUEzREVBRTQwN0YzODM3NiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAEAAAAALAAAAABYAlgCAAL/hI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpfMpvMJjUqn1Kr1is1qt9yu9wsOi8fksvmMTqvX7Lb7DY/L5/S6/Y7P6/f8vv8PGCg4SFhoeIiYqLjI2Oj4CBkpOUlZaXmJmam5ydnp+QkaKjpKWmp6ipqqusra6voKGys7S1tre4ubq7vL2+v7CxwsPE
1xcbHyMnKy8zNzs/AwdLT1NXW19jZ2tvc3d7f0NHi4+Tl5ufo6err7O3u7+Dh8vP09fb3+Pn6+/z9/v/w8woMCBBAsaPIgwocKFDBs6fAgxosSJFCtavIgxo8aN/xw7evwIMqTIkSRLmjyJMqXKlSxbunwJM6bMmTRr2ryJM6fOnTx7+vwJNKjQoUSLGj2KNKnSpUybOn0KNarUqVSrWr2KNavWrVy7ev0KNqzYsWTLmj2LNq3atWzbun0LN67cuXTr2r2LN6/evXz7+v0LOLDgwYQLGz6MOLHixYwbO34MObLkyZQrW76MObPmzZw7e/4MOrTo0aRLmz6NOrXq1axbu34NO7bs2bRr276NO7fu3bx7+/4NPLjw4cSLGz+OPLny5cybO38OPbr06dSrW7+OPbv27dy7e/8OPrz48eTLmz+PPr369ezbu38PP778+fTr27+PP7/+/fz7+///D2CAAg5IYIEGHohgggouyGCDDj4IYYQSTkhhhRZeiGGGGm7IYYcefghiiCKOSGKJJp6IYooqrshiiy6+CGOMMs5IY4023ohjjjruyGOPPv4IZJBCDklkkUYeiWSSSi7JZJNOPglllFJOSWWVVl6JZZZabslll15+CWaYYo5JZplmnolmmmquyWabbr4JZ5xyzklnnXbeiWeeeu7JZ59+/glooIIOSmihhh6KaKKKLspoo44+Cmmkkk5KaaWWXopppppuymmnnn4Kaqiijkpqqaaeimqqqq7KaquuvgprrLLOSmuttt6Ka6667sprr77+Cmywwg5LbLHGHotsssqwLstss84+C2200k5LbbXWXottttpuy2233n4Lbrjijktuueaei2666q7LbrvuvgtvvPLOS2+99t6Lb7767stvv/7+C3DAAg9McMEGH4xwwgovzHDDDj8MccQST0xxxRZfjHHGGm/McccefwxyyCKPTHLJJp+Mcsoqr8xyyy6/DHPMMs9Mc80234xzzjrvzHPPPv8MdNBCD0100UYfjXTSSi/NdNNOPw111FJPTTUHBQAAOw=="},81440(e){"use strict";e.exports="data:image/gif;base64,R0lGODlh0AdiBIAAAP///wAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgOS4xLWMwMDEgNzkuMTQ2Mjg5OTc3NywgMjAyMy8wNi8yNS0yMzo1NzoxNCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDplN2M2NjVjOC01NGY0LTQyYWQtYTQ0Ni0xZTAzN2FhNWMxMTkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OTI1QzZBMEZCOEI4MTFFRUE5QjE5QzlDMDUyMjQxOTEiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OTI1QzZBMEVCOEI4MTFFRUE5QjE5QzlDMDUyMjQxOTEiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDI0LjMgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxMzY4OEEwREYxNkMxMUVEQjAzMUEyM0FBOTRFNThGQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxMzY4OEEwRUYxNkMxMUVEQjAzMUEyM0FBOTRFNThGQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAEAAAAALAAAAADQB2IEAAL/hI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpfMpvMJjUqn1Kr1is1qt9yu9wsOi8fksvmMTqvX7Lb7DY/L5/S6/Y7P6/f8vv8PGCg4SFhoeIiYqLjI2Oj4CBkpOUlZaXmJmam5ydnp+QkaKjpKWmp6ipqqusra6voKGys7S1tre4ubq7vL2+v7CxwsPExcbHyMnKy8zNzs/AwdLT1NXW19jZ2tvc3d7f0NHi4+Tl5ufo6err7O3u7+Dh8vP09fb3+Pn6+/z9/v/w8woMCBBAsaPIgwocKFDBs6fAgxosSJFCtavIgxo8aN/xw7evwIMqTIkSRLmjyJMqXKlSxbunwJM6bMmTRr2ryJM6fOnTx7+vwJNKjQoUSLGj2KNKnSpUybOn0KNarUqVSrWr2KNavWrVy7ev0KNqzYsWTLmj2LNq3atWzbun0LN67cuXTr2r2LN6/evXz7+v0LOLDgwYQLGz6MOLHixYwbO34MObLkyZQrW76MObPmzZw7e/4MOrTo0aRLmz6NOrXq1axbu34NO7bs2bRr276NO7fu3bx7+/4NPLjw4cSLGz+OPLny5cybO38OPbr06dSrW7+OPbv27dy7e/8OPrz48eTLmz+PPr369ezbu38PP778+fTr27+PP7/+/fz7+///D2CAAg5IYIEGHohgggouyGCDDj4IYYQSTkhhhRZeiGGGGm7IYYcefghiiCKOSGKJJp6IYooqrshiiy6+CGOMMs5IY4023ohjjjruyGOPPv4IZJBCDklkkUYeiWSSSi7JZJNOPglllFJOSWWVVl6JZZZabslll15+CWaYYo5JZplmnolmmmquyWabbr4JZ5xyzklnnXbeiWeeeu7JZ59+/glooIIOSmihhh6KaKKKLspoo44+Cmmkkk5KaaWWXopppppuymmnnn4Kaqiijkpqqaaeimqqqq7KaquuvgprrLLOSmuttt6Ka6667sprr77+Cmywwg5LbLHGHotsssr/Lstss84+C2200k5LbbXWXottttpuy2233n4Lbrjijktuueaei2666q7LbrvuvgtvvPLOS2+99t6Lb7767stvv/7+C3DAAg9McMEGH4xwwgovzHDDDj8MccQST0xxxRZfjHHGGm/McccefwxyyCKPTHLJJp+Mcsoqr8xyyy6/DHPMMs9Mc80234xzzjrvzHPPPv8MdNBCD0100UYfjXTSSi/NdNNOPw111FJPTXXVVl+NddZab811115/DXbYYo9Ndtlmn4122mqvzXbbbr8Nd9xyz0133XbfjXfeeu/Nd99+/w144IIPTnjhhh+OeOKKL854444/Dnnkkk9OeeWW/1+Oeeaab855555/Dnrooo9Oeummn4566qqvznrrrr8Oe+yyz0577bbfjnvuuu/Oe+++/w588MIPT3zxxh+PfPLKL898884/D3300k9PffXWX4999tpvz3333n8Pfvjij09++eafj3766q/Pfvvuvw9//PLPT3/99t+Pf/76789///7/D8AACnCABCygAQ+IwAQqcIEMbKADHwjBCEpwghSsoAUviMEManCDHOygBz8IwhCKcIQkLKEJT4jCFKpwhSxsoQtfCMMYynCGNKyhDW+IwxzqcIc87KEPfwjEIApxiEQsohGPiMQkKnGJTGyiE58IxShKcYpUrKIVr4jFLP9qcYtc7KIXvwjGMIpxjGQsoxnPiMY0qnGNbGyjG98IxzjKcY50rKMd74jHPOpxj3zsox//CMhACnKQhCykIQ+JyEQqcpGMbKQjHwnJSEpykpSspCUviclManKTnOykJz8JylCKcpSkLKUpT4nKVKpylaxspStfCctYynKWtKylLW+Jy1zqcpe87KUvfwnMYApzmMQspjGPicxkKnOZzGymM58JzWhKc5rUrKY1r4nNbGpzm9zspje/Cc5winOc5CynOc+JznSqc53sbKc73wnPeMpznvSspz3vic986nOf/OynP/8J0IAKdKAELahBD4rQhCp0oQxtqEMfCtGISnT/ohStqEUvitGManSjHO2oRz8K0pCKdKQkLalJT4rSlKp0pSxtqUtfCtOYynSmNK2pTW+K05zqdKc87alPfwrUoAp1qEQtqlGPitSkKnWpTG2qU58K1ahKdapUrapVr4rVrGp1q1ztqle/CtawinWsZC2rWc+K1rSqda1sbatb3wrXuMp1rnStq13vite86nWvfO2rX/8K2MAKdrCELaxhD4vYxCp2sYxtrGMfC9nISnaylK2sZS+L2cxqdrOc7axnPwva0Ip2tKQtrWlPi9r
1Uqna1rG2ta18L29jKdra0ra1tb4vb3Op2t7ztrW9/C9zgCne4xC2ucY+L3OQqd7nM/22uc58L3ehKd7rUra51r4vd7Gp3u9ztrne/C97wine85C2vec+L3vSqd73sba973wvf+Mp3vvStr33vi9/86ne//O2vf/8L4AALeMAELrCBD4zgBCt4wQxusIMfDOEIS3jCFK6whS+M4QxreMMc7rCHPwziEIt4xCQusYlPjOIUq3jFLG6xi18M4xjLeMY0rrGNb4zjHOt4xzzusY9/DOQgC3nIRC6ykY+M5CQreclMbrKTnwzlKEt5ylSuspWvjOUsa3nLXO6yl78M5jCLecxkLrOZz4zmNKt5zWxus5vfDOc4y3nOdK6zne+M5zzrec987rOf/wzoQAt60IQutP+hD43oRCt60YxutKMfDelIS3rSlK60pS+N6UxretOc7rSnPw3qUIt61KQutalPjepUq3rVrG61q18N61jLeta0rrWtb43rXOt617zuta9/DexgC3vYxC62sY+N7GQre9nMbraznw3taEt72tSutrWvje1sa3vb3O62t78N7nCLe9zkLre5z43udKt73exut7vfDe94y3ve9K63ve+N73zre9/87re//w3wgAt84AQvuMEPjvCEK3zhDG+4wx8O8YhLfOIUr7jFL47xjGt84xzvuMc/DvKQi3zkJC+5yU+O8pSrfOUsb7nLXw7zmMt85jSvuc1vjvOc63znPO+5z3//DvSgC33oRC+60Y+O9KQrfelMb7rTnw71qEt96lSvutWvjvWsa33rXO+6178O9rCLfexkL7vZz472tKt97Wxvu9vfDve4y33udK+73e+O97zrfe9877vf/w74wAt+8IQvvOEPj/jEK37xjG+84x8P+chLfvKUr7zlL4/5zGt+85zvvOc/D/rQi370pC+96U+P+tSrfvWsb73rXw/72Mt+9rSvve1vj/vc6373vO+9738P/OALf/jEL77xj4/85Ct/+cxvvvOfD/3oS3/61K++9a+P/exrf/vc7773vw/+8It//OQvv/nPj/70q3/97G+/+98P//jLf/70r7/974//fPzrf//877///w+AASiAA0iABWiAB4iACaiAC8iADeiADwiBESiBE0iBFWiBF4iBGaiBG8iBHeiBHwiCISiCI0iCJWiCJ4iCKaiCK8iCLeiCLwiDMSiDM0iDNWiDN4iDOaiDO8iDPeiDPwiEQSiEQ0iERWiER4iESViDBQAAOw=="},59683(e,t,a){"use strict";e.exports=a.p+"static/media/peopleinclass.f81364ea.jpg"},4262(e,t,a){"use strict";e.exports=a.p+"static/media/banner.17bbe3e8.jpg"},42634(){}},e=>{e.O(0,[138],()=>{return t=45063,e(e.s=t);var t});e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.