1"use strict";(self.webpackChunkmap_ui=self.webpackChunkmap_ui||[]).push([[779],{6733(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.setAuthInfo=t.logout=t.login=void 0,t.login=function(){return{type:"LOGIN"}},t.logout=function(){return{type:"LOGOUT"}},t.setAuthInfo=function(e){return{type:"SET_AUTH_INFO",data:e}}},36201(e,t,o){o.d(t,{A:()=>m});var a=o(31601),n=o.n(a),i=o(76314),s=o.n(i),r=o(4417),l=o.n(r),c=new URL(o(11191),o.b),u=s()(n()),p=l()(c);u.push([e.id,"@-webkit-keyframes shareSlideUp{from{bottom:-330px}to{bottom:10px}}@-moz-keyframes shareSlideUp{from{bottom:-330px}to{bottom:10px}}@keyframes shareSlideUp{from{bottom:-330px}to{bottom:10px}}@-webkit-keyframes fadeInFadeOut{0%{opacity:0}5%{opacity:1}85%{opacity:1}100%{opacity:0}}@-moz-keyframes fadeInFadeOut{0%{opacity:0}5%{opacity:1}85%{opacity:1}100%{opacity:0}}@keyframes fadeInFadeOut{0%{opacity:0}5%{opacity:1}85%{opacity:1}100%{opacity:0}}@-webkit-keyframes fadeIn{from{opacity:0}to{opacity:1}}@-moz-keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut{from{opacity:1}to{opacity:0}}@-moz-keyframes fadeOut{from{opacity:1}to{opacity:0}}@keyframes fadeOut{from{opacity:1}to{opacity:0}}@-webkit-keyframes heightGrow{from{max-height:0}to{max-height:5000px}}@-moz-keyframes heightGrow{from{max-height:0}to{max-height:5000px}}@keyframes heightGrow{from{max-height:0}to{max-height:5000px}}@-webkit-keyframes heightGrowTransit{from{max-height:0}to{max-height:5000px}}@-moz-keyframes heightGrowTransit{from{max-height:0}to{max-height:5000px}}@keyframes heightGrowTransit{from{max-height:0}to{max-height:5000px}}@-webkit-keyframes heightGrowDropdown{from{max-height:0}to{max-height:1000px}}@-moz-keyframes heightGrowDropdown{from{max-height:0}to{max-height:1000px}}@keyframes heightGrowDropdown{from{max-height:0}to{max-height:1000px}}.mobile-bar-button{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:.55rem;font-weight:bold;padding:0;max-width:20%;height:100%;color:#4a4a4a;background:rgba(0,0,0,0);border-top:rgba(0,0,0,0) 2px solid;box-shadow:none;text-transform:uppercase;border-radius:0;flex:1}.mobile-bar-button i{font-size:2.2em}.mobile-bar-button.active{border-radius:0}.mobile-bar-button:active{background:rgba(0,0,0,0) !important}.mobile-bar-button:hover{background:#e6e6e6 !important;color:#000 !important;box-shadow:none}.mobile-bar-button:focus-visible{box-shadow:0 0 0 2px #000 inset,0 0 0 4px #fff inset,0 0 0 6px #000 inset;-webkit-box-shadow:0 0 0 2px #000 inset,0 0 0 4px #fff inset,0 0 0 6px #000 inset}.mobile-bar-button .login-icon{display:inline-block;width:24px;height:24px;mask-image:url("+p+");-webkit-mask-image:url("+p+");mask-size:contain;-webkit-mask-size:contain;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;background-color:currentColor}",""]);const m=u},14934(e,t,o){o.d(t,{A:()=>r});var a=o(31601),n=o.n(a),i=o(76314),s=o.n(i)()(n());
1s.push([e.id,'@-webkit-keyframes shareSlideUp{from{bottom:-330px}to{bottom:10px}}@-moz-keyframes shareSlideUp{from{bottom:-330px}to{bottom:10px}}@keyframes shareSlideUp{from{bottom:-330px}to{bottom:10px}}@-webkit-keyframes fadeInFadeOut{0%{opacity:0}5%{opacity:1}85%{opacity:1}100%{opacity:0}}@-moz-keyframes fadeInFadeOut{0%{opacity:0}5%{opacity:1}85%{opacity:1}100%{opacity:0}}@keyframes fadeInFadeOut{0%{opacity:0}5%{opacity:1}85%{opacity:1}100%{opacity:0}}@-webkit-keyframes fadeIn{from{opacity:0}to{opacity:1}}@-moz-keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut{from{opacity:1}to{opacity:0}}@-moz-keyframes fadeOut{from{opacity:1}to{opacity:0}}@keyframes fadeOut{from{opacity:1}to{opacity:0}}@-webkit-keyframes heightGrow{from{max-height:0}to{max-height:5000px}}@-moz-keyframes heightGrow{from{max-height:0}to{max-height:5000px}}@keyframes heightGrow{from{max-height:0}to{max-height:5000px}}@-webkit-keyframes heightGrowTransit{from{max-height:0}to{max-height:5000px}}@-moz-keyframes heightGrowTransit{from{max-height:0}to{max-height:5000px}}@keyframes heightGrowTransit{from{max-height:0}to{max-height:5000px}}@-webkit-keyframes heightGrowDropdown{from{max-height:0}to{max-height:1000px}}@-moz-keyframes heightGrowDropdown{from{max-height:0}to{max-height:1000px}}@keyframes heightGrowDropdown{from{max-height:0}to{max-height:1000px}}.mobile-bar-more-button{border-bottom:1px solid #ccc;width:100%}.mobile-bar-more-button:last-child{border-bottom:none}.mobile-bar-more-button button{display:flex;flex-direction:row;gap:5px;padding:10px 20px;max-width:unset;align-items:center;justify-content:flex-start;width:100%;font-size:12px}.mobile-bar-more-button button.has-arrow{justify-content:space-between}.mobile-bar-more-button button.has-arrow::after{content:"";width:0;height:0;border:solid #4a4a4a;border-width:0 2px 2px 0;display:inline-block;padding:3px;transform:rotate(-45deg);-webkit-transform:rotate(-45deg);margin-left:auto;flex-shrink:0}',""]);const r=s},16998(e,t,o){o.d(t,{A:()=>w});var a=o(74848),n=o(32485),i=o.n(n),s=o(61225),r=o(30587),l=o(88723),c=o(85072),u=o.n(c),p=o(97825),m=o.n(p),h=o(77659),d=o.n(h),f=o(55056),b=o.n(f),y=o(10540),g=o.n(y),v=o(41113),k=o.n(v),E=o(36201),x={};x.styleTagTransform=k(),x.setAttributes=b(),x.insert=d().bind(null,"head"),x.domAPI=m(),x.insertStyleElement=g(),u()(E.A,x),E.A&&E.A.locals&&E.A.locals;const w=e=>{const{id:t,classes:o,name:n,onClick:c,onKeyDown:u,children:p,active:m,title:h,isTab:d=!0}=e,f=function(e,t){var o={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(o[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(e);n<a.length;n++)t.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(o[a[n]]=e[a[n]])}return o}(e,["id","classes","name","onClick","onKeyDown","children","active","title","isTab"]),b=(0,s.useSelector)(r.selectFullConfig),{globalPrimaryColor:y}=b,{refContext:g,Refs:v}=(0,l.useAtlasRefContext)(),k=i()("mobile-bar-button",o,{active:e.active}),E=m?{borderTop:`2px solid ${y}`,color:`${y}`}:{},x={locations:g[v.MOBILE_BAR_LOCATIONS_BUTTON],tours:g[v.MOBILE_BAR_TOUR_BUTTON],transit:g[v.MOBILE_BAR_TRANSIT_BUTTON],maplinks:g[v.MOBILE_BAR_MAP_LINKS_BUTTON]};return(0,a.jsx)("button",Object.assign({className:k,id:t,name:n,onClick:c,onKeyDown:u,style:E},d?{role:"tab","aria-expanded":m}:{},{ref:h?x[h.toLowerCase()]:null},f,{children:p}),t)}},72779(e,t,o){o.d(t,{A:()=>ee});var a=o(74848),n=o(96540),i=o(61225),s=o(64612),r=o(16998),l=o(6554),c=o(47879),u=o(99918),p=o(75908),m=o(6525),h=o(72962);const d=o(26142),f=e=>{const{extensionButtons:t,activeButton:o}=e,n="Directions",{toggleMobileSheet:s}=(0,c.h)(),f=(0,i.useSelector)(u.selectIsTurnByTurnOpen),{savePreviouslyFocusedElement:b}=(0,p.useFocus)(),y=e=>{f||(t&&Object.keys(t).forEach((e=>{$(`#${t[e].button.props.id}`).removeClass("selected")})),e.currentTarget&&b(e.currentTarget),m.default.push(h.GaEvents.OPEN_DIRECTIONS,"Mobile Bar")),s(c.B.Directions)};return(0,a.jsxs)(r.A,{id:"view-directions-button",classes:"directions-btn","aria-controls":"turn-by-turn",onKeyDown:e=>{d.handleKeyDown(e,y)},onClick:y,active:n.toLocaleLowerCase()===o,name:"directions",children:[(0,a.jsx)(l.default,{children:"directions"}),n]})};var b=o(30587);const y=o(26142),g=e=>{const{activeButton:t,showArrow:o=!1,isTab:n=!0,onClick:s}=e,c=function(e,t){var o={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(o[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(e);n<a.length;n++)t.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(o[a[n]]=e[a[n]])}return o}(e,["activeButton","showArrow","isTab","onClick"]),u=(0,i.useSelector)(b.selectFullConfig),p=u.mapViews.title?`${u.mapViews.title.toUpperCase()}`:"MAP LINKS",d="maplinks"===t,f=()=>{d||m.default.push(h.GaEvents.MOBILE_TAB,"Map Links"),s()};
1return(0,a.jsxs)(r.A,Object.assign({id:"map-links-btn",name:"map-links",classes:"map-links-btn "+(o?"has-arrow":"")},n?{"aria-controls":"map-links-sheet"}:{},{isTab:n,active:d,onKeyDown:e=>{y.handleKeyDown(e,f)},onClick:f},c,{children:[(0,a.jsx)(l.default,{children:"map"}),p]}),"maplinks")};var v=o(64217),k=o(58911),E=o(64822),x=o(44949),w=o(6733);const B=o(26142),O=e=>{var t;const{activeButton:o,showArrow:n=!1,isTab:s=!0}=e,u=(0,i.useDispatch)(),p=(0,i.useSelector)(x.j),{toggleMobileSheet:d}=(0,c.h)(),f=(0,v.useNavigator)(),b=(0,i.useSelector)(E.Z5),y=p.authenticated?"Profile":"Sign In",g=b===c.B.Profile,O=e=>{if(!p.authenticated)return m.default.push(h.GaEvents.LOGIN_CLICK,"Sign In"),sessionStorage.setItem(h.SessionStorageKeys.LOGIN_TRIGGER,h.LoginTrigger.BUTTON),m.default.push(h.GaEvents.MOBILE_TAB,y),void u((0,w.login)());g?f.pop((()=>d(c.B.NONE))):(m.default.push(h.GaEvents.OPEN_PROFILE,"Profile"),m.default.push(h.GaEvents.MOBILE_TAB,y),f.push({openFn:()=>d(c.B.Profile),closeFn:()=>d(c.B.NONE),focusElementId:"view-profile-button",focusDelay:k.AnimationTimes.MOBILE_SHEET_RETURN_FOCUS_DELAY}))};return(0,a.jsxs)(r.A,{id:"view-profile-button",classes:n?"has-arrow profile-button":"profile-button","aria-controls":"profile-sheet","aria-label":p.authenticated?`${(null===(t=p.userInfo)||void 0===t?void 0:t.given_name)||"User"} profile menu`:"Sign in",onKeyDown:e=>{B.handleKeyDown(e,O)},onClick:O,active:y.toLowerCase().replace(" ","")===o,title:y,isTab:s,children:[p.authenticated?(0,a.jsx)(l.default,{children:"account_circle"}):(0,a.jsx)("span",{className:"login-icon","aria-hidden":"true"}),y]})};var T=o(3495),S=o(52775),A=o(29260),I=o(85072),_=o.n(I),N=o(97825),L=o.n(N),M=o(77659),C=o.n(M),F=o(55056),H=o.n(F),j=o(10540),D=o.n(j),P=o(41113),U=o.n(P),R=o(14934),G={};G.styleTagTransform=U(),G.setAttributes=H(),G.insert=C().bind(null,"head"),G.domAPI=L(),G.insertStyleElement=D(),_()(R.A,G),R.A&&R.A.locals&&R.A.locals;var z=o(79796),K=o(58594),Y=o(20640),V=o(13382);const Z=o(26142),q=e=>{const{isTab:t}=e,o=(0,i.useSelector)(V.selectPrintMapActive),{openPrintGenerator:n}=(0,Y.A)(),{savePreviouslyFocusedElement:s}=(0,p.useFocus)(),c=e=>{e.currentTarget&&s(e.currentTarget),n()};return(0,a.jsxs)(r.A,{id:"view-print-map-button",classes:"print-map-btn","aria-controls":"printmap-mobile",active:Boolean(o),onClick:c,onKeyDown:e=>Z.handleKeyDown(e,c),name:"printMap",isTab:t,children:[(0,a.jsx)(l.default,{children:"print"}),"Print Map"]})};var J=o(99886),Q=o(67236),W=o(15784),X=o(799);const ee=e=>{var t,o,r,l;const{renderMore:p}=e,{activeButton:d}=(()=>{const[e,t]=(0,n.useState)(S.BH.NONE),o=(0,i.useSelector)(T.selectHashIsSidebarCollapse),a=(0,i.useSelector)(u.selectIsTurnByTurnOpen),s=(0,i.useSelector)(E.Iz),r=(0,i.useSelector)(E.Z5);return(0,n.useEffect)((()=>{t(""!==o||a||s?r===e?S.BH.NONE:r:S.BH.NONE)}),[o,a,s,r]),{activeButton:e}})(),{toggleMobileSheet:y}=(0,c.h)(),w=(0,v.useNavigator)(),B=(0,i.useSelector)(b.selectFullConfig),I=(0,i.useSelector)(x.j),_=(0,i.useSelector)(b.selectIsTurnByTurnEnabled),N=(0,i.useSelector)(A.selectHasTours),L=(0,i.useSelector)(E.Iz),M=null==B?void 0:B.bus,C=Boolean((null===(o=null===(t=null==B?void 0:B.mapViews)||void 0===t?void 0:t.items)||void 0===o?void 0:o.length)>0),F=Boolean(null==B?void 0:B.savedPlaces),H=null===(r=null==B?void 0:B.customLocationsEnabled)||void 0===r||r,j=null===(l=null==B?void 0:B.parkingSpotEnabled)||void 0===l||l,D=F&&j,P=F&&H,U=(0,i.useSelector)(b.selectIsSavedPlacesEnabled),R=Boolean(null==B?void 0:B.frontendPrintMap),G=(0,i.useDispatch)(),Y=(null==B?void 0:B.hideSignInButton)&&!I.authenticated,$=Boolean(I.keycloak&&!Y&&(I.authenticated||(null==B?void 0:B.enableRestrictedCategories)||(null==B?void 0:B.enableRestrictedInteriors))),V=(0,i.useSelector)(Q.selectNavigatorStack),Z=(0,n.useRef)(!1);(0,n.useEffect)((()=>{if(Z.current||d===S.BH.NONE||V.length>0)return;const e={[S.BH.Locations]:"view-locations-button",[S.BH.Tours]:"view-tours-button",[S.BH.Transit]:"view-transit-button",[S.BH.MyPlaces]:"view-my-places-button",[S.BH.More]:"view-more-button"}[d];if(!e)return;const t=d;Z.current=!0,G((0,J.pushNavigator)({openFn:()=>{G((0,X.updateManyHash)([["sbc","",!0],["sbt",t]])),G((0,W.ZD)(t))},closeFn:()=>{G((0,X.updateManyHash)([["sbc","",!1]])),G((0,W.ZD)(S.BH.NONE))},focusElementId:e,focusDelay:k.AnimationTimes.MOBILE_SHEET_RETURN_FOCUS_DELAY}))}),[d,V.length,G]);const ee=(0,n.useMemo)((()=>[(0,a.jsx)(s.A,{id:"view-locations-button",title:"Locations",icon:"location_on","aria-controls":"locations-sheet",activeButton:d,onClick:()=>{d===S.BH.Locations?w.pop((()=>y(S.BH.NONE))):(m.default.push(h.GaEvents.MOBILE_TAB,"Locations"),w.reset(),w.push({openFn:()=>y(S.BH.Locations),closeFn:()=>y(S.BH.NONE),focusElementId:"view-locations-button",focusDelay:k.AnimationTimes.MOBILE_SHEET_RETURN_FOCUS_DELAY}))}},"locations"),_&&(0,a.jsx)(f,{extensionButtons:{},activeButton:d},"directions"),N&&(0,a.jsx)(s.A,{id:"view-tours-button",title:"Tours",icon:"signpost","aria-controls":"tours-sheet",activeButton:d,onClick:()=>{d===S.BH.Tours?w.pop((()=>y(S.BH.NONE))):(m.default.push(h.GaEvents.MOBILE_TAB,"Tours"),w.reset(),w.push({openFn:()=>y(S.BH.Tours),closeFn:()=>y(S.BH.NONE),focusElementId:"view-tours-button",focusDelay:k.AnimationTimes.MOBILE_SHEET_RETURN_FOCUS_DELAY}))}},"tours"),M&&(0,a.jsx)(s.A,{id:"view-transit-button","aria-controls":"transit-sheet",title:"Transit",icon:"train",activeButton:d,onClick:()=>{d===S.BH.Transit?w.pop((()=>y(S.BH.NONE))):(m.default.push(h.GaEvents.MOBILE_TAB,"Transit"),w.reset(),w.push({openFn:()=>y(S.BH.Transit),closeFn:()=>y(S.BH.NONE),focusElementId:"view-transit-button",focusDelay:k.AnimationTimes.MOBILE_SHEET_RETURN_FOCUS_DELAY}))}},"transit"),C&&(0,a.jsx)(g,{activeButton:d,title:"Map Links",onClick:()=>{L?w.pop((()=>G((0,W.I5)(!1)))):(w.reset(),w.push({openFn:()=>{G((0,X.updateSingleHash)("sbc","",!1)),G((0,W.I5)(!0))},closeFn:()=>
1G((0,W.I5)(!1)),focusElementId:"map-links-btn",focusDelay:k.AnimationTimes.MOBILE_SHEET_RETURN_FOCUS_DELAY}))}},"maplinks"),D&&(0,a.jsx)(z.A,{activeButton:d},"saveparking"),P&&(0,a.jsx)(K.A,{activeButton:d},"savecustomlocation"),U&&(0,a.jsx)(s.A,{id:"view-my-places-button","aria-controls":"myplaces-sheet",title:"My Places",icon:"bookmarks",activeButton:d,onClick:()=>{d===S.BH.MyPlaces?w.pop((()=>y(S.BH.NONE))):(m.default.push(h.GaEvents.MOBILE_TAB,"My Places"),w.reset(),w.push({openFn:()=>y(S.BH.MyPlaces),closeFn:()=>y(S.BH.NONE),focusElementId:"view-my-places-button",focusDelay:k.AnimationTimes.MOBILE_SHEET_RETURN_FOCUS_DELAY}))}},"myplaces"),$&&(0,a.jsx)(O,{activeButton:d},"profile"),R&&(0,a.jsx)(q,{},"printmap")].filter(Boolean)),[d,_,N,M,C,U,D,P,L,$,R,y,w,G]),{shouldSplitButtons:te,mobileBarButtons:oe,carryOverButtons:ae}=(0,n.useMemo)((()=>{const e=ee.length>5;return{shouldSplitButtons:e,mobileBarButtons:e?ee.slice(0,4):ee,carryOverButtons:e?ee.slice(4):[]}}),[ee]),ne=(0,n.useMemo)((()=>0===ae.length?[]:ee.slice(4).map(((e,t)=>{const o=ee[t+4];return"maplinks"===(null==o?void 0:o.key)?(0,a.jsx)(g,{activeButton:d,title:"Map Links",showArrow:!0,isTab:!1,"aria-label":"Open Map Links",onClick:()=>{w.push({openFn:()=>{G((0,X.updateSingleHash)("sbc","",!1)),G((0,W.I5)(!0))},closeFn:()=>G((0,W.I5)(!1)),focusElementId:"map-links-btn",focusDelay:k.AnimationTimes.MOBILE_SHEET_RETURN_FOCUS_DELAY})}},"maplinks"):"myplaces"===(null==o?void 0:o.key)?(0,a.jsx)(s.A,{id:"view-my-places-button",title:"My Places","aria-label":"Open My Places",icon:"bookmarks",activeButton:d,showArrow:!0,isTab:!1,onClick:()=>{w.push({openFn:()=>y(S.BH.MyPlaces),closeFn:()=>y(S.BH.NONE),focusElementId:"view-my-places-button",focusDelay:k.AnimationTimes.MOBILE_SHEET_RETURN_FOCUS_DELAY})}},"myplaces"):"profile"===(null==o?void 0:o.key)?(0,a.jsx)(O,{activeButton:d,showArrow:I.authenticated,isTab:!1},"profile"):"printmap"===(null==o?void 0:o.key)?(0,a.jsx)(q,{isTab:!1},"printmap"):o})).filter(Boolean)),[ae.length,ee,d,I.authenticated]);return ae.length>0&&p?(0,a.jsx)(a.Fragment,{children:ne.map(((e,t)=>(0,a.jsx)("div",{className:"mobile-bar-more-button",children:e},t)))}):(0,a.jsxs)(a.Fragment,{children:[oe.map(((e,t)=>(0,a.jsx)(n.Fragment,{children:e},t))),te&&(0,a.jsx)(s.A,{id:"view-more-button","aria-controls":"more-sheet",title:"More",icon:"more_horiz",activeButton:d,onClick:()=>{d===S.BH.More?w.pop((()=>y(S.BH.NONE))):(m.default.push(h.GaEvents.MOBILE_TAB,"More"),w.reset(),w.push({openFn:()=>y(S.BH.More),closeFn:()=>y(S.BH.NONE),focusElementId:"view-more-button",focusDelay:k.AnimationTimes.MOBILE_SHEET_RETURN_FOCUS_DELAY}))}},"more")]})}},58594(e,t,o){o.d(t,{A:()=>p});var a=o(74848),n=o(64612),i=o(27474),s=o(96540),r=o(64217),l=o(58911),c=o(6525),u=o(72962);const p=({activeButton:e})=>{const{createNewCustomLocation:t,clearNewPlace:o}=(0,i.Y)(),p="save-custom-location-button",m=(0,r.useNavigator)(),h=(0,s.useCallback)((()=>{c.default.push(u.GaEvents.MOBILE_TAB,"Save Custom Location"),m.push({openFn:t,closeFn:o,focusElementId:p,focusDelay:l.AnimationTimes.MOBILE_SHEET_RETURN_FOCUS_DELAY})}),[t,m,o]);return(0,a.jsx)(n.A,{id:p,title:"Save Custom Location",icon:"add_location",activeButton:e,onClick:h,isTab:!1},"savecustomlocation")}},79796(e,t,o){o.d(t,{A:()=>f});var a=o(74848),n=o(64612),i=o(27474),s=o(64217),r=o(96540),l=o(61225),c=o(58911),u=o(6525),p=o(72962),m=o(78371),h=o(55953),d=o(799);const f=({activeButton:e})=>{const{createNewParkingSpot:t,hasSavedParkingSpot:o,clearNewPlace:f}=(0,i.Y)(),b=(0,s.useNavigator)(),y=(0,l.useDispatch)(),g="save-parking-button",v=(0,r.useCallback)((()=>{if(o){const e=m.w.getParkingSpot();e&&(u.default.push(p.GaEvents.MOBILE_TAB,"View Parking Spot"),y((0,d.updateSingleHash)("sbc","",!1)),b.push({openFn:()=>{y((0,h.VC)(e))},closeFn:()=>{y((0,h.c_)())},focusElementId:g,focusDelay:c.AnimationTimes.MOBILE_SHEET_RETURN_FOCUS_DELAY}))}else u.default.push(p.GaEvents.MOBILE_TAB,"Save My Parking Spot"),b.push({openFn:()=>t(),closeFn:()=>f(),focusElementId:g,focusDelay:c.AnimationTimes.MOBILE_SHEET_RETURN_FOCUS_DELAY})}),[t,f,b,o,y]);return(0,a.jsx)(n.A,{id:"save-parking-button",title:o?"View Parking Spot":"Save My Parking Spot",icon:"local_parking",activeButton:e,onClick:v,isTab:!1},"saveparking")}},64612(e,t,o){o.d(t,{A:()=>p});
1var a=o(74848),n=o(6554),i=o(47879),s=o(16998),r=o(75908),l=o(6525),c=o(72962);const u=o(26142),p=e=>{const{id:t,classes:o="",title:p,icon:m,activeButton:h="",showArrow:d=!1,onClick:f}=e,b=function(e,t){var o={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(o[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(e);n<a.length;n++)t.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(o[a[n]]=e[a[n]])}return o}(e,["id","classes","title","icon","activeButton","showArrow","onClick"]),{toggleMobileSheet:y}=(0,i.h)(),{savePreviouslyFocusedElement:g}=(0,r.useFocus)(),v=p.toLowerCase().replace(/\s+/g,"")===h,k=e=>{if(f)null==f||f();else{e.currentTarget&&!v&&g(e.currentTarget),v||l.default.push(c.GaEvents.MOBILE_TAB,p);const t=p.toLowerCase().replace(/\s+/g,"");y(t)}};return(0,a.jsxs)(s.A,Object.assign({id:t,classes:`${o} ${d?"has-arrow":""}`,onKeyDown:e=>{u.handleKeyDown(e,k)},active:v,onClick:k,title:p},b,{children:[(0,a.jsx)(n.default,{children:m}),p]}))}},20640(e,t,o){o.d(t,{A:()=>m});var a=o(96540),n=o(61225),i=o(6525),s=o(799),r=o(4231),l=o(3495),c=o(40637),u=o(79865),p=o(14535);const m=()=>{const e=(0,n.useDispatch)(),t=(0,n.useSelector)(l.selectHashCategoryToggled),o=(0,n.useSelector)(l.selectHashMarker),m=(0,n.useSelector)((0,c.selectLocationById)(o));return{openPrintGenerator:(0,a.useCallback)((()=>{i.default.push("Print Map","Opened");const o=(0,p.getPrintmapLocationId)(m);e((0,u.setInitialSelections)({categories:t,locations:o?[o]:[]})),e((0,s.clearHash)()),e((0,s.updateSingleHash)("pg","",!1)),e((0,r.updateSidebarMode)("printmap"))}),[e,t,m])}}},11191(e,t,o){e.exports=o.p+"75b174ae51ac6cca0740.svg"}}]);
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.