{"id":44,"date":"2024-04-01T19:25:59","date_gmt":"2024-04-01T19:25:59","guid":{"rendered":"https:\/\/www.buddyupgo.com\/pinnacle-slate-homepage\/"},"modified":"2026-04-07T18:46:48","modified_gmt":"2026-04-07T18:46:48","slug":"pinnacle-slate-homepage","status":"publish","type":"page","link":"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/","title":{"rendered":"Home"},"content":{"rendered":"<div class=\"buddyUpPjaxContainer\" data-buddyup-pjax-container=\"1\"><style>#buddyUpHomeLanding{max-width:none;margin:0 auto;padding:calc(env(safe-area-inset-top,0px) + .6rem) .65rem calc(var(--buddyup-mobile-nav-height, 70px) + env(safe-area-inset-bottom,0px) + 1rem);--for-you-card-radius: 14px;box-sizing:border-box;overflow-x:clip}.buddyUpHomeLandingAnonView.hidden,.buddyUpForYouView.hidden{display:none}.buddyUpOnboardingFlow{--onboarding-radius: 14px;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:.5rem;padding:.55rem;border:1px solid rgba(0,0,0,.08);border-radius:var(--onboarding-radius);background:linear-gradient(160deg,#f3f8ff,#fff 42%,#edf9f3);box-shadow:0 10px 28px #00000014;overflow:hidden}.buddyUpOnboardingTopBar{display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-height:36px}.buddyUpOnboardingBrandWrap{max-width:min(65vw,190px)}.buddyUpOnboardingBrandWrap .buddyUpHomeLandingLogo{width:100%;max-width:none}.buddyUpOnboardingProgress{display:none!important}.buddyUpOnboardingDot{width:28px;height:28px;border-radius:999px;border:1px solid rgba(30,72,138,.22);background:#fff;color:#21457b;margin:0;padding:0;font-size:.74rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.buddyUpOnboardingDot.isPast{background:#e9f2ff;border-color:#1e488a57}.buddyUpOnboardingDot.isActive{background:#1f67da;border-color:#1f67da;color:#fff}.buddyUpOnboardingViewport{position:relative;overflow:hidden;border:1px solid rgba(0,0,0,.08);border-radius:var(--onboarding-radius);background:#fff;min-height:0}.buddyUpOnboardingScreen{position:absolute;inset:0;opacity:0;z-index:1;pointer-events:none;transition:opacity .26s ease}.buddyUpOnboardingScreen.isActive{opacity:1;z-index:2;pointer-events:auto;animation:buddyUpTrailReveal .36s ease-out}@keyframes buddyUpTrailReveal{0%{opacity:0;transform:translateY(10px) scale(.985);filter:saturate(.92)}to{opacity:1;transform:translateY(0) scale(1);filter:saturate(1)}}.buddyUpOnboardingScreen.isHidden{display:none}.buddyUpOnboardingScreenBody{height:100%;overflow-y:auto;overflow-x:hidden;padding:.3rem;box-sizing:border-box}.buddyUpOnboardingScreenCanvas{width:min(1240px,100%);margin:0 auto}.buddyUpOnboardingScreen[data-screen=introduction] .buddyUpOnboardingScreenBody{display:flex;align-items:stretch;overflow-y:auto;overflow-x:hidden}.buddyUpOnboardingScreen[data-screen=introduction] .buddyUpOnboardingScreenCanvas{height:100%;display:flex;align-items:stretch}.buddyUpOnboardingScreen[data-screen=introduction] .hero-area{width:100%;height:100%;display:flex;align-items:flex-start}.buddyUpOnboardingScreen[data-screen=introduction] .buddyUpOnboardingIntroLogoWrap{margin-bottom:.5rem}.buddyUpOnboardingScreen[data-screen=introduction] .buddyUpOnboardingIntroLogo{width:min(220px,62vw);max-width:100%;height:auto;display:block}.buddyUpOnboardingScreen[data-screen=introduction] .buddyUpHomeLandingActions{display:flex;justify-content:flex-start;align-items:center;gap:.65rem}.buddyUpOnboardingScreen[data-screen=introduction] .buddyUpHomeLandingActions .buddyUpButton1,.buddyUpOnboardingScreen[data-screen=introduction] .buddyUpHomeLandingActions .buddyUpButton3{margin-top:0;min-height:44px;line-height:1.1;display:inline-flex;align-items:center;justify-content:center}.buddyUpOnboardingScreen[data-screen=explore] .buddyUpOnboardingScreenBody{overflow:hidden}.buddyUpOnboardingScreen[data-screen=explore] .buddyUpOnboardingScreenCanvas{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr)}.buddyUpOnboardingScreen[data-screen=explore] #buddyUpOnboardingExploreHost{min-height:0;height:100%;display:flex;overflow:hidden}.buddyUpOnboardingScreen[data-screen=explore] #buddyUpOnboardingExploreHost>.buddyUpHomeLandingWidget{width:100%;height:100%;min-height:0;display:flex}.buddyUpOnboardingFooter{display:flex;justify-content:space-between;align-items:center;gap:.55rem}.buddyUpOnboardingFlow[data-active-screen=introduction] .buddyUpOnboardingFooter{display:none}.buddyUpOnboardingFooter .buddyUpButton1,.buddyUpOnboardingFooter .buddyUpButton3{margin-top:0;min-width:100px}.buddyUpOnboardingExploreIntro{text-align:center;padding:.1rem 0 .45rem}.buddyUpOnboardingExploreIntro h2{margin:0 0 .2rem;font-size:clamp(1.1rem,2.6vw,1.5rem)}.buddyUpOnboardingExploreIntro p{margin:0;font-size:.9rem;line-height:1.35}.buddyUpOnboardingExploreIntro .buddyUpButton3{margin-top:.45rem}.buddyUpOnboardingExploreHost{min-height:1px}.buddyUpOnboardingFlow .buddyUpHomeLandingWidget{border-radius:12px;box-shadow:none;border:1px solid rgba(0,0,0,.08)}.buddyUpOnboardingFlow #buddyUpExploreWidget{padding:.4rem}.buddyUpOnboardingFlow .buddyUpExploreWidgetShell{grid-template-columns:minmax(0,1fr);gap:.55rem}.buddyUpOnboardingFlow .buddyUpExploreWidgetSidebar{display:none}.buddyUpOnboardingFlow .buddyUpExploreWidgetMap{min-height:clamp(320px,62dvh,720px)}.buddyUpOnboardingFlow .buddyUpButton1,.buddyUpOnboardingFlow .buddyUpButton3{transition:transform .2s ease,box-shadow .2s ease}.buddyUpOnboardingFlow .buddyUpButton1:hover,.buddyUpOnboardingFlow .buddyUpButton3:hover{transform:translateY(-1px);box-shadow:0 6px 14px #0000001f}.buddyUpOnboardingFlow .buddyUpExploreWidgetTopbar{margin-bottom:.35rem}.buddyUpOnboardingFlow .buddyUpExploreWidgetTopbar h3{font-size:1rem}.buddyUpOnboardingFlow .hero-area,.buddyUpOnboardingFlow .three-steps-section,.buddyUpOnboardingFlow .event-section,.buddyUpOnboardingFlow .go-section,.buddyUpOnboardingFlow .pricing-wrap{border-radius:12px}.buddyUpOnboardingFlow .hero-area{background:linear-gradient(140deg,#f4f8ff,#fff 45%,#edf9f2);padding:.9rem}.buddyUpOnboardingFlow .hero-container{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,42%);align-items:center;gap:.9rem}.buddyUpOnboardingFlow .hero-container .item h1{margin:0 0 .5rem;font-size:clamp(1.25rem,3.2vw,2.05rem);line-height:1.08}.buddyUpOnboardingFlow .hero-container .item h1 span,.buddyUpOnboardingFlow .half-container .item2 h2 span,.buddyUpOnboardingFlow .pricing-heading span,.buddyUpOnboardingFlow .event-item h2 span,.buddyUpOnboardingFlow .go-item h2 span{color:#e84310}.buddyUpOnboardingFlow .hero-container .item p{margin:0 0 .45rem;line-height:1.34;font-size:.95rem}.buddyUpOnboardingFlow .category-flip-line{margin:0 0 .45rem;font-size:.98rem;line-height:1.32;color:#173b67;font-weight:700}.buddyUpOnboardingFlow .category-flip{display:inline-block;min-width:9ch;color:#d4470f;font-weight:900;text-transform:lowercase;letter-spacing:.01em;transition:opacity .2s ease,transform .2s ease,filter .2s ease}.buddyUpOnboardingFlow .category-flip.is-swapping{opacity:.16;transform:translateY(4px);filter:blur(.3px)}.buddyUpOnboardingFlow .hero-container .item img,.buddyUpOnboardingFlow .half-container .item-img img,.buddyUpOnboardingFlow .event-media-wrap img{width:100%;max-height:min(36vh,290px);object-fit:contain}.buddyUpOnboardingFlow .half-container{display:grid;grid-template-columns:minmax(170px,42%) minmax(0,1fr);gap:.9rem;align-items:center;padding:.65rem;background:#f6fbff;border-radius:12px}.buddyUpOnboardingFlow .half-container .item2 h2{margin:0 0 .35rem;font-size:clamp(1.2rem,2.8vw,2rem);line-height:1.15}.buddyUpOnboardingFlow .half-container .item2 p{margin:0 0 .45rem;font-size:.95rem;line-height:1.35}.buddyUpOnboardingFlow .subscriptions-heading{font-size:.78rem;color:#5b8e9f;text-transform:uppercase;letter-spacing:.15em;font-weight:900;margin:0 0 .3rem}.buddyUpOnboardingFlow .three-steps-section{background:#eee;padding:.65rem;text-align:center}.buddyUpOnboardingFlow .three-steps-section h2 strong{font-size:clamp(1.15rem,2.9vw,1.85rem);line-height:1.15;font-weight:900}.buddyUpOnboardingFlow .feature-grid{padding:.6rem .2rem 0;background:transparent}.buddyUpOnboardingFlow .feature-grid__cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;align-items:stretch}.buddyUpOnboardingFlow .feature-card{position:relative;background:#fff;border:1px solid rgba(15,23,42,.1);border-radius:12px;padding:.58rem;box-shadow:0 10px 24px #00000017;overflow:hidden}.buddyUpOnboardingFlow .feature-card:before{content:\"\";position:absolute;top:0;left:0;right:0;height:4px;background:#d93f0c;opacity:.85}.buddyUpOnboardingFlow .feature-card__icon{width:44px;height:44px;border-radius:44px;display:grid;place-items:center;margin:0 auto .35rem;background:#daedf2;padding:8px}.buddyUpOnboardingFlow .feature-card__icon img{width:100%;height:100%;object-fit:contain}.buddyUpOnboardingFlow .feature-card__title{margin:0 0 .25rem;font-size:1rem;letter-spacing:-.01em;font-weight:900}.buddyUpOnboardingFlow .feature-card__text{margin:0;color:#666;line-height:1.25;font-size:.8rem}.buddyUpOnboardingFlow .event-section,.buddyUpOnboardingFlow .go-section{background:#5b8e9f;padding:.7rem}.buddyUpOnboardingFlow .event-container{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,40%);gap:.85rem;align-items:center}.buddyUpOnboardingFlow .event-item{text-align:left;color:#fff;font-size:.9rem;line-height:1.4}.buddyUpOnboardingFlow .event-item h2{margin:.1rem 0 .35rem;font-size:clamp(1.1rem,2.7vw,1.8rem);line-height:1.12;font-weight:900!important;color:#fff}.buddyUpOnboardingScreen[data-screen=find-events] .event-item h2{font-size:clamp(1.35rem,4.6vw,2.1rem);line-height:1.08}.buddyUpOnboardingFlow .event-title{font-size:.75rem;color:#c3d6dd;text-transform:uppercase;letter-spacing:.16em;font-weight:900;margin:0}.buddyUpOnboardingFlow .event-item ul{margin:.35rem 0 .55rem}.buddyUpOnboardingFlow .event-item li{line-height:1.28;font-size:.84rem;margin-bottom:.2rem}.buddyUpOnboardingFlow .event-item li:before{color:#fcd183}.buddyUpOnboardingFlow .pricing-wrap{background:#f4f4f4;padding:.7rem}.buddyUpOnboardingFlow .pricing-header{margin:0 auto .45rem;text-align:center}.buddyUpOnboardingFlow .pricing-heading{font-size:clamp(1.2rem,3vw,2rem);font-weight:900;line-height:1.1;margin:0}.buddyUpOnboardingFlow .pricing-upgrade{font-size:.88rem;font-weight:700;color:#555;margin:.35rem 0 0}.buddyUpOnboardingFlow .plan-swipe{display:none;justify-content:center;font-size:.78rem;font-weight:700;opacity:.75;margin:0 0 .35rem}.buddyUpOnboardingFlow .pricing-grid{display:flex;gap:.55rem;justify-content:center;padding-top:.4rem}.buddyUpOnboardingFlow .plan{background:#fff;border-radius:16px;padding:.65rem;width:100%;max-width:300px;box-shadow:0 8px 20px #00000017;position:relative;display:flex;flex-direction:column}.buddyUpOnboardingFlow .plan img{width:38px;height:38px}.buddyUpOnboardingFlow .plan h2{font-size:1.2rem;margin:.2rem 0 0;font-weight:900}.buddyUpOnboardingFlow .plan-desc{color:#666;line-height:1.3;margin-bottom:.45rem;font-size:.82rem}.buddyUpOnboardingFlow .price{font-size:2rem;font-weight:900;margin-bottom:.2rem;line-height:1}.buddyUpOnboardingFlow .price sup{font-size:1rem}.buddyUpOnboardingFlow .price span{font-size:.9rem;color:#555;font-weight:900}.buddyUpOnboardingFlow .plan ul{list-style:none;flex-grow:1;margin:.3rem 0 .5rem .5rem}.buddyUpOnboardingFlow .plan li{margin-bottom:.16rem;font-size:.78rem;font-weight:700;line-height:1.26;text-indent:-.35rem}.buddyUpOnboardingFlow .lite{text-indent:-.7rem;font-weight:400;color:#666;display:inline-block}.buddyUpOnboardingFlow .plan li:before{content:\"\\2713\";margin-right:8px;color:#6ba7ba;font-size:.72rem}.buddyUpOnboardingFlow .popular-list li:before{color:#e84310}.buddyUpOnboardingFlow .plan-btn{width:100%;border:2px solid #6ba7ba;background:#fff;color:#6ba7ba;border-radius:9px;padding:.56rem .45rem;font-size:.82rem;font-weight:900;cursor:pointer;transition:.3s;text-align:center;text-decoration:none;line-height:1.1}.buddyUpOnboardingFlow .plan-btn:hover{background:#e84310;color:#fff;border-color:#e84310}.buddyUpOnboardingFlow .plan.popular{border:3px solid #e84310}.buddyUpOnboardingFlow .plan.popular .plan-btn{background:#e84310;color:#fff;border-color:#e84310}.buddyUpOnboardingFlow .plan.popular .badge{position:absolute;top:-13px;left:50%;transform:translate(-50%);background:#e84310;color:#fff;padding:.2rem .55rem;border-radius:999px;font-size:.63rem;font-weight:700;white-space:nowrap}.buddyUpOnboardingFlow .price-lock{display:flex;align-items:center;gap:4px;margin-bottom:.35rem;font-size:.72rem;font-weight:600}.buddyUpOnboardingFlow .price-lock:before{content:\"\\1f512\";font-size:.74rem;margin-right:2px}.buddyUpOnboardingFlow .free,.buddyUpOnboardingFlow .blu{color:#6ba7ba;gap:0;margin-top:.2rem}.buddyUpOnboardingFlow .free:before{content:\"\"}.buddyUpOnboardingFlow .go-item{display:flex;justify-content:center;text-align:center;flex-direction:column;padding:0}.buddyUpOnboardingFlow .go-item p{color:#cbd9dc;font-size:.95rem;margin:.3rem 0 0}.buddyUpOnboardingFlow .go-item h2{margin:0;font-size:clamp(1.2rem,3vw,2rem);line-height:1.12;font-weight:900!important;color:#fff}.buddyUpOnboardingFlow .buddyUpOnboardingCtaRow{display:flex;justify-content:center;flex-wrap:wrap;gap:.55rem;margin-top:.65rem}.buddyUpOnboardingFlow .buddyUpOnboardingCtaRow .buddyUpButton1,.buddyUpOnboardingFlow .buddyUpOnboardingCtaRow .buddyUpButton3{margin-top:0}@media (max-width: 1100px){.buddyUpOnboardingFlow .feature-grid__cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 900px){.buddyUpOnboardingFlow .pricing-grid{overflow-x:auto;overflow-y:hidden;justify-content:flex-start;scroll-snap-type:x mandatory;padding-bottom:.35rem}.buddyUpOnboardingFlow .plan{min-width:min(72vw,260px);max-width:min(72vw,260px);flex-shrink:0;scroll-snap-align:start}.buddyUpOnboardingFlow .plan-swipe{display:flex}.buddyUpOnboardingFlow .event-container,.buddyUpOnboardingFlow .hero-container,.buddyUpOnboardingFlow .half-container{grid-template-columns:1fr}.buddyUpOnboardingFlow .event-media-wrap,.buddyUpOnboardingFlow .hero-container .item:last-child,.buddyUpOnboardingFlow .half-container .item-img{text-align:center}.buddyUpOnboardingFlow .hero-container .item img,.buddyUpOnboardingFlow .half-container .item-img img,.buddyUpOnboardingFlow .event-media-wrap img{max-height:min(24vh,170px)}}@media (max-width: 640px){.buddyUpOnboardingFlow{padding:.45rem}.buddyUpOnboardingScreenBody{padding:.2rem}.buddyUpOnboardingFlow .feature-grid__cards{grid-template-columns:1fr}.buddyUpOnboardingFlow .pricing-heading{font-size:1.4rem}.buddyUpOnboardingFlow .pricing-upgrade{font-size:.78rem}.buddyUpOnboardingFlow .event-item{text-align:center}.buddyUpOnboardingScreen[data-screen=introduction] .buddyUpHomeLandingActions{flex-direction:column;align-items:stretch}.buddyUpOnboardingScreen[data-screen=introduction] .buddyUpHomeLandingActions .buddyUpButton1,.buddyUpOnboardingScreen[data-screen=introduction] .buddyUpHomeLandingActions .buddyUpButton3{width:100%}.buddyUpOnboardingExploreIntro{padding:0 0 .2rem}.buddyUpOnboardingExploreIntro h2{font-size:1.15rem;line-height:1.22;margin-bottom:.1rem}.buddyUpOnboardingExploreIntro .buddyUpOnboardingExploreLead{font-size:.88rem;line-height:1.26}.buddyUpOnboardingExploreExternalLink{display:none}.buddyUpOnboardingFlow .buddyUpExploreWidgetMap{min-height:clamp(350px,66dvh,760px)}}@media (max-height: 760px){.buddyUpOnboardingFlow .hero-container .item h1{font-size:clamp(1.05rem,2.8vw,1.6rem)}.buddyUpOnboardingFlow .hero-container .item p,.buddyUpOnboardingFlow .half-container .item2 p,.buddyUpOnboardingFlow .event-item,.buddyUpOnboardingFlow .go-item p{font-size:.82rem;line-height:1.25}.buddyUpOnboardingFlow .plan{padding:.5rem}.buddyUpOnboardingFlow .plan li{font-size:.72rem}.buddyUpOnboardingFlow .price{font-size:1.65rem}.buddyUpOnboardingFlow .go-item h2,.buddyUpOnboardingFlow .half-container .item2 h2{font-size:1.05rem}.buddyUpOnboardingScreen[data-screen=find-events] .event-item h2{font-size:1.3rem}}@media (max-width: 1024px){.buddyUpOnboardingTopBar{display:none}.buddyUpOnboardingFlow{grid-template-rows:1fr auto}body.buddyup-home-onboarding-active #buddyUpMobileBottomNav,body.buddyup-home-onboarding-active #buddyUpMobileTopHeader{display:none!important}}body.buddyup-home-onboarding-active{overflow:hidden;padding-top:0!important;padding-bottom:0!important}body.buddyup-home-onboarding-active>footer,body.buddyup-home-onboarding-active .footerTheme3{display:none!important}body.buddyup-home-onboarding-active #buddyUpHomeLanding{height:100dvh;min-height:100dvh;padding:calc(env(safe-area-inset-top,0px) + .35rem) .45rem calc(env(safe-area-inset-bottom,0px) + .45rem);overflow:hidden}body.buddyup-home-onboarding-active .buddyUpOnboardingFlow{height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - .9rem);min-height:0}@media (min-width: 1025px){body.buddyup-home-onboarding-active{overflow-x:hidden;overflow-y:auto}body.buddyup-home-onboarding-active #buddyUpHomeLanding{min-height:100dvh;height:auto;overflow:visible;padding:0}body.buddyup-home-onboarding-active .buddyUpHomeLandingAnonView{min-height:100dvh;display:flex}body.buddyup-home-onboarding-active .buddyUpOnboardingFlow{width:100%;min-height:100dvh;height:auto;gap:0;padding:0;border:0;border-radius:0;box-shadow:none}body.buddyup-home-onboarding-active .buddyUpOnboardingViewport{border:0;border-radius:0;min-height:0}body.buddyup-home-onboarding-active .buddyUpOnboardingScreen[data-screen=introduction] .buddyUpOnboardingScreenBody{overflow-y:auto;overflow-x:hidden}body.buddyup-home-onboarding-active .buddyUpOnboardingScreen[data-screen=introduction] .buddyUpOnboardingScreenCanvas{min-height:100%;height:auto}body.buddyup-home-onboarding-active .buddyUpOnboardingScreen[data-screen=introduction] .hero-area{height:auto;min-height:100%;align-items:flex-start}}@media (min-width: 1025px) and (max-height: 900px){body.buddyup-home-onboarding-active .buddyUpOnboardingScreen[data-screen=introduction] .buddyUpOnboardingScreenBody,body.buddyup-home-onboarding-active .buddyUpOnboardingScreen[data-screen=explore] .buddyUpOnboardingScreenBody{overflow-y:auto;overflow-x:hidden}body.buddyup-home-onboarding-active .buddyUpOnboardingScreen[data-screen=explore] #buddyUpOnboardingExploreHost{overflow:auto}}.buddyUpHomeLandingHero{background:linear-gradient(145deg,#f2f8ff,#fff 46%,#eefbf7);border:1px solid rgba(0,0,0,.08);border-radius:14px;box-shadow:0 14px 30px #00000014;padding:1rem;margin-bottom:1rem;display:flex;justify-content:center}.buddyUpHomeLandingHeroInner{width:min(760px,100%);text-align:left}.buddyUpHomeLandingLogoWrap{text-align:center;margin:0 0 .65rem}.buddyUpHomeLandingLogo{max-width:240px;width:min(78vw,240px);height:auto}.buddyUpHomeLandingHero h1{margin:0 0 .45rem;line-height:1.18}.buddyUpHomeLandingLead{margin:0;max-width:65ch;line-height:1.45}.buddyUpHomeLandingActions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem}.buddyUpHomeLandingWidget{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:14px;box-shadow:0 8px 22px #0000000f;overflow:hidden}.buddyUpForYouView{display:grid;gap:.8rem;min-width:0}.buddyUpHomeModeTabs{display:inline-flex;align-items:center;gap:.35rem;width:fit-content;max-width:100%;padding:.22rem;border-radius:999px;border:1px solid rgba(0,0,0,.1);background:#ffffffeb;box-shadow:0 8px 18px #00000014}.buddyUpHomeModeTab{border:0;border-radius:999px;background:transparent;color:#234770;padding:.4rem .92rem;font-weight:800;font-size:.86rem;line-height:1;cursor:pointer;transition:background .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease}.buddyUpHomeModeTab:hover{transform:translateY(-1px)}.buddyUpHomeModeTab.isActive{background:linear-gradient(135deg,#255fbd,#1e74d1);color:#fff;box-shadow:0 8px 16px #1f60b952}.buddyUpHomeModePanel{display:none}.buddyUpHomeModePanel.isActive{display:block;animation:buddyUpHomePanelFade .24s ease}.buddyUpHomeModePanel[data-home-mode-panel=for-you].isActive{display:grid;gap:.8rem}@keyframes buddyUpHomePanelFade{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.buddyUpForYouStatus{font-size:.92rem;opacity:.84;margin:0;padding:0 .15rem}.buddyUpComprehensiveFeed{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:var(--for-you-card-radius);box-shadow:0 8px 20px #0000000f;padding:.7rem}.buddyUpComprehensiveFeedHead{margin-bottom:.25rem}.buddyUpComprehensiveFeedLead{margin:0 0 .65rem;font-size:.9rem;opacity:.88;line-height:1.4}.buddyUpComprehensiveExploreHost{min-height:2.5rem}.buddyUpComprehensiveExploreHost>.buddyUpPjaxContainer{margin:0;padding-bottom:0!important}.buddyUpForYouRail{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:var(--for-you-card-radius);box-shadow:0 8px 20px #0000000f;padding:.7rem;min-width:0;box-sizing:border-box}.buddyUpForYouRailHead{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:.35rem;margin-bottom:.55rem}.buddyUpForYouRailHead h2{margin:0;font-size:1.08rem}.buddyUpForYouRailTrack{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(82vw,82vw);gap:.66rem;overflow-x:auto;padding:0 .05rem .35rem;scroll-snap-type:x mandatory;scroll-padding-left:.05rem;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x;min-width:0;max-width:100%;box-sizing:border-box}.buddyUpForYouRailTrack>.buddyUpForYouRailCard:nth-child(n+4){display:none}.buddyUpForYouRailCard{border:1px solid rgba(0,0,0,.1);border-radius:12px;overflow:hidden;background:#fff;color:inherit;text-decoration:none;display:flex;flex-direction:column;min-height:228px;min-width:0;scroll-snap-align:start;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;box-sizing:border-box}.buddyUpForYouRailCard:hover{transform:translateY(-2px);box-shadow:0 10px 18px #00000024;border-color:#205ab459}.buddyUpForYouRailCardMedia{height:144px;width:100%;object-fit:cover;background:#e2ebf8}.buddyUpForYouRailCardBody{padding:.66rem .68rem .78rem;display:grid;gap:.34rem}.buddyUpForYouRailCardTitle{font-size:.96rem;line-height:1.28;font-weight:700;overflow-wrap:anywhere}.buddyUpForYouRailCardMeta{font-size:.82rem;opacity:.82;line-height:1.28;overflow-wrap:anywhere}.buddyUpForYouRailCardScore{margin-top:.2rem;font-size:.76rem;font-weight:700;color:#226f45}.buddyUpForYouEmpty{border:1px dashed rgba(0,0,0,.18);border-radius:10px;padding:.9rem;font-size:.88rem;opacity:.86}.buddyup-home-landing-anon #buddyUpTopNav,.buddyup-home-landing-anon #pinnacleHeader{display:none!important}@media (max-width: 480px){#buddyUpHomeLanding{padding-left:.45rem;padding-right:.45rem}.buddyUpHomeLandingHero,.buddyUpForYouRail,.buddyUpHomeLandingWidget{border-radius:12px}.buddyUpHomeModeTabs{width:100%;justify-content:space-between}.buddyUpHomeModeTab{flex:1;text-align:center;padding:.44rem .55rem}.buddyUpForYouRailTrack{grid-auto-flow:row;grid-template-columns:1fr;grid-auto-columns:unset;overflow:visible;padding:0;scroll-snap-type:none;scroll-padding-left:0;overscroll-behavior-x:auto;-webkit-overflow-scrolling:auto;touch-action:auto}.buddyUpForYouRailCard{min-height:0}}@media (min-width: 481px) and (max-width: 680px){.buddyUpForYouRailTrack{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-columns:unset;overflow:visible;padding:0;scroll-snap-type:none;scroll-padding-left:0;overscroll-behavior-x:auto;-webkit-overflow-scrolling:auto;touch-action:auto;align-items:stretch}.buddyUpForYouRailCard{min-height:100%}.buddyUpForYouRailCardMedia{height:108px}.buddyUpForYouRailCardTitle{font-size:.88rem}.buddyUpForYouRailCardMeta{font-size:.76rem}}@media (min-width: 681px) and (max-width: 1024px){#buddyUpHomeLanding{padding:.9rem .9rem 1.7rem}.buddyUpForYouRailHead{flex-direction:row;justify-content:space-between;align-items:center;gap:.6rem}.buddyUpForYouRailTrack{grid-auto-flow:row;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-columns:unset;overflow:visible;padding:0;scroll-snap-type:none;scroll-padding-left:0;overscroll-behavior-x:auto;-webkit-overflow-scrolling:auto;touch-action:auto;align-items:stretch}.buddyUpForYouRailTrack>.buddyUpForYouRailCard:nth-child(n+4){display:none}.buddyUpForYouRailCard{min-height:100%}.buddyUpForYouRailCardMedia{height:118px}}@media (min-width: 1025px){#buddyUpHomeLanding{padding:1rem 1rem 2rem}.buddyUpHomeLandingHero{padding:1.5rem}.buddyUpHomeLandingLogo{max-width:320px;width:min(70vw,320px)}.buddyUpForYouRail{padding:.75rem}.buddyUpForYouRailHead{flex-direction:row;justify-content:space-between;align-items:center;gap:.6rem}.buddyUpForYouRailTrack{grid-auto-columns:minmax(220px,1fr);padding-bottom:.3rem}.buddyUpForYouRailTrack>.buddyUpForYouRailCard:nth-child(n+4){display:flex}.buddyUpForYouRailCard{min-height:248px}.buddyUpForYouRailCardMedia{height:128px}}\n<\/style>\n<section id=\"buddyUpHomeLanding\" class=\"buddyUpContainer\">\n    <div class=\"buddyUpHomeLandingAnonView\">\n        <div id=\"buddyUpOnboardingFlow\" class=\"buddyUpOnboardingFlow\" data-show-explore=\"0\" data-active-screen=\"introduction\">\n            <div class=\"buddyUpOnboardingViewport\" aria-live=\"polite\">\n                <article class=\"buddyUpOnboardingScreen isActive\" data-screen=\"introduction\" data-title=\"Introduction\">\n    <div class=\"buddyUpOnboardingScreenBody\">\n        <div class=\"buddyUpOnboardingScreenCanvas\">\n            <div class=\"hero-area\">\n                <div class=\"hero-container\">\n                    <div class=\"item\">\n                        <div class=\"buddyUpOnboardingIntroLogoWrap\">\n                            <img decoding=\"async\" src=\"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/wp-content\/uploads\/buddyupgo-logo.png\" alt=\"My WordPress\" class=\"buddyUpOnboardingIntroLogo\" \/>\n                        <\/div>\n\n                        <h1>\n                            <strong>\n                                Every Great<br \/>Adventure<br \/>Starts With A<br \/><span>Buddy<\/span>\n                            <\/strong>\n                        <\/h1>\n                        <p>\n                            Connect with like-minded locals who share your love of the outdoors.\n                        <\/p>\n\n                        <p class=\"category-flip-line\">Find your next <span class=\"category-flip\">adventure<\/span> buddy.<\/p>\n\n                        <div class=\"buddyUpHomeLandingActions\">\n                            <a href=\"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/register\/?dest=for-you&#038;src=introduction\" class=\"buddyUpButton1\" data-register-destination=\"for-you\" data-register-source=\"introduction\">Create Profile<\/a>\n                            <a href=\"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/login\/\" class=\"buddyUpButton3\">Login<\/a>\n                            <button type=\"button\" class=\"buddyUpButton3\" data-onboarding-action=\"see-how\">See How It Works<\/button>\n                        <\/div>\n                    <\/div>\n                    <div class=\"item\">\n                        <img decoding=\"async\" src=\"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/wp-content\/uploads\/hero-layer.webp\" alt=\"Adventure hero\" \/>\n                    <\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/article>\n<article class=\"buddyUpOnboardingScreen\" data-screen=\"explore\" data-title=\"Explore\" data-optional=\"1\">\n    <div class=\"buddyUpOnboardingScreenBody\">\n        <div class=\"buddyUpOnboardingScreenCanvas\">\n            <div class=\"buddyUpOnboardingExploreIntro\">\n                <p class=\"subscriptions-heading\">See It In Action<\/p>\n                <h2>Explore Nearby Momentum<\/h2>\n                <p class=\"buddyUpOnboardingExploreLead\">Preview real adventures, events, groups, and people before you join.<\/p>\n                <a href=\"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/register\/?dest=explore&#038;src=explore\" class=\"buddyUpButton3 buddyUpOnboardingExploreExternalLink\" data-register-destination=\"explore\" data-register-source=\"explore\">Open Full Explore Map<\/a>\n            <\/div>\n            <div id=\"buddyUpOnboardingExploreHost\" class=\"buddyUpOnboardingExploreHost\">\n                <div class=\"buddyUpHomeLandingWidget\">\n                    <div class=\"buddyUpPjaxContainer\" data-buddyup-pjax-container=\"1\"><style>#buddyUpExploreWidget{padding:.6rem}.buddyUpExploreWidgetTopbar{display:flex;justify-content:space-between;align-items:center;gap:.8rem;flex-wrap:wrap;margin-bottom:.5rem}.buddyUpExploreWidgetTopbar h3{margin:.2rem 0}.buddyUpExploreWidgetActions{display:flex;gap:.55rem;align-items:center;flex-wrap:wrap}.buddyUpExploreWidget,.buddyUpExploreWidgetShell,.buddyUpExploreWidgetMain,.buddyUpExploreWidgetPanel,.buddyUpExploreWidgetMapWrap,.buddyUpExploreWidgetMapShell{min-width:0}.buddyUpExploreWidgetFiltersToggle{margin:0;display:none;max-width:100%;align-items:center;gap:.4rem}.buddyUpExploreWidgetModes{display:flex;background:#edf2fb;border-radius:999px;padding:.22rem;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.buddyUpExploreWidgetModes::-webkit-scrollbar{display:none}.buddyUpExploreWidgetMode{border:none;background:transparent;border-radius:999px;padding:.38rem .76rem;font-weight:700;font-size:.84rem;cursor:pointer;margin:0;color:#2a3b5f;white-space:nowrap;flex:0 0 auto}.buddyUpExploreWidgetMode.isActive{background:#1d5fd0;color:#fff}.buddyUpExploreWidgetStatus{opacity:.85;margin:.15rem 0 .5rem;font-size:.92rem}.buddyUpExploreWidgetShell{display:grid;grid-template-columns:280px minmax(0,1fr);gap:.75rem;align-items:stretch}.buddyUpExploreWidgetSidebar{border:1px solid rgba(11,37,91,.14);border-radius:12px;background:linear-gradient(180deg,#f6f9ff,#eef4ff);padding:.7rem;display:flex;flex-direction:column;gap:.6rem}.buddyUpExploreWidgetFilterCard{background:#fff;border:1px solid rgba(12,50,120,.1);border-radius:10px;padding:.6rem}.buddyUpExploreWidgetFilterCard label,.buddyUpExploreWidgetFilterHeading{font-size:.86rem;font-weight:700;display:block;margin-bottom:.35rem}.buddyUpExploreWidgetFilterCard input[type=text]{width:100%;margin:0}.buddyUpExploreWidgetPills{display:flex;flex-wrap:wrap;gap:.35rem}.buddyUpExploreWidgetPill{border:1px solid rgba(14,56,129,.2);background:#f3f8ff;color:#214278;font-size:.74rem;line-height:1.2;padding:.3rem .55rem;border-radius:999px;cursor:pointer;font-weight:700}.buddyUpExploreWidgetPill.isActive{background:#1d5fd0;border-color:#1d5fd0;color:#fff}.buddyUpExploreWidgetRangeRow{display:flex;align-items:center;gap:.4rem;margin-bottom:.35rem}.buddyUpExploreWidgetRangeRow input[type=range]{margin:0;flex:1}.buddyUpExploreWidgetJoinCta{width:100%;text-align:center}.buddyUpExploreWidgetMapShell{position:relative}.buddyUpExploreWidgetMap{width:100%;max-width:100%;min-height:min(68vh,760px);border-radius:12px;border:1px solid rgba(12,50,120,.16);overflow:hidden}#buddyUpExploreWidget.buddyUpExploreWidgetShelfMode .buddyUpExploreWidgetShell{grid-template-columns:minmax(0,1fr)}#buddyUpExploreWidget.buddyUpExploreWidgetShelfMode .buddyUpExploreWidgetFiltersToggle{display:inline-flex}#buddyUpExploreWidget.buddyUpExploreWidgetShelfMode .buddyUpExploreWidgetSidebar{display:none}#buddyUpExploreWidget.buddyUpExploreWidgetShelfMode .buddyUpExploreWidgetSidebar.isOpen,#buddyUpExploreWidget.buddyUpExploreWidgetShelfMode .buddyUpExploreWidgetSidebar.activeMobileMenu{position:fixed;top:calc(var(--buddyup-mobile-header-height, 56px) + var(--buddyup-mobile-safe-top, 0px) + 8px);left:0;width:min(380px,calc(100vw - 16%));max-width:calc(100vw - 16%);height:calc(100dvh - var(--buddyup-mobile-header-height, 56px) - var(--buddyup-mobile-nav-offset, 70px) - var(--buddyup-mobile-safe-top, 0px) - 16px);max-height:calc(100dvh - var(--buddyup-mobile-header-height, 56px) - var(--buddyup-mobile-nav-offset, 70px) - var(--buddyup-mobile-safe-top, 0px) - 16px);border-radius:0 14px 14px 0;box-shadow:0 12px 28px #00000040;background:#fff;z-index:9999;padding:.95rem .8rem;overflow-y:auto;transform:translate(0);transition:transform .24s ease;flex-direction:column;gap:.85rem;touch-action:pan-y;display:flex!important}.buddyUpOnboardingFlow #buddyUpExploreWidget.buddyUpExploreWidgetShelfMode{display:grid;grid-template-rows:auto auto minmax(0,1fr);height:100%;min-height:0}.buddyUpOnboardingFlow #buddyUpExploreWidget.buddyUpExploreWidgetShelfMode .buddyUpExploreWidgetTopbar,.buddyUpOnboardingFlow #buddyUpExploreWidget.buddyUpExploreWidgetShelfMode .buddyUpExploreWidgetStatus{flex:0 0 auto}.buddyUpOnboardingFlow #buddyUpExploreWidget.buddyUpExploreWidgetShelfMode .buddyUpExploreWidgetShell,.buddyUpOnboardingFlow #buddyUpExploreWidget.buddyUpExploreWidgetShelfMode .buddyUpExploreWidgetMapShell{height:100%;min-height:0}.buddyUpOnboardingFlow #buddyUpExploreWidget.buddyUpExploreWidgetShelfMode .buddyUpExploreWidgetMap{height:100%;min-height:clamp(340px,64dvh,780px)}#buddyUpFiltersShelfOverlay.buddyUpExploreWidgetOverlayPassive,body.buddyup-explore-widget-shelf-open #buddyUpFiltersShelfOverlay{pointer-events:none!important}.buddyUpExploreWidgetMapLoading{position:absolute;inset:0;z-index:450;display:flex;align-items:center;justify-content:center;background:#ffffffbd;border-radius:12px}.buddyUpExploreWidgetMapLoadingInner{display:inline-flex;align-items:center;gap:.55rem;background:#fffffff7;border:1px solid rgba(12,50,120,.22);border-radius:999px;padding:.45rem .75rem;color:#1f3656;font-weight:700}.buddyUpExploreWidgetSpinner{width:16px;height:16px;border-radius:50%;border:2px solid rgba(31,54,86,.25);border-top-color:#1d5fd0;animation:buddyUpExploreWidgetSpin .7s linear infinite}@keyframes buddyUpExploreWidgetSpin{to{transform:rotate(360deg)}}.buddyUpExploreWidgetPin{width:20px;height:20px;position:relative;transform:rotate(-45deg);border-radius:50% 50% 50% 0;border:2px solid rgba(255,255,255,.96);box-shadow:0 4px 10px #00000040;background:#1d5fd0}.buddyUpExploreWidgetPin:before{content:\"\";position:absolute;inset:4px;border-radius:50%;background:#fffffffa}.buddyUpExploreWidgetPin.pin-events{background:#d47a00}.buddyUpExploreWidgetPin.pin-groups{background:#2d7a4f}.buddyUpExploreWidgetPin.pin-users{background:#7a4bb9}.buddyUpExploreWidgetPopupTitle{font-weight:700;margin-bottom:.2rem}@media (max-width: 980px){.buddyUpExploreWidgetShell{grid-template-columns:1fr}.buddyUpExploreWidgetSidebar{order:2}.buddyUpExploreWidgetMap{order:1;min-height:58vh}.buddyUpExploreWidgetTopbar{align-items:flex-start;gap:.45rem}.buddyUpExploreWidgetTopbar h3{font-size:1rem;margin:0}.buddyUpExploreWidgetActions{width:100%;justify-content:space-between;gap:.45rem;flex-wrap:nowrap;min-width:0}.buddyUpExploreWidgetModes{flex:1 1 auto;min-width:0}#buddyUpExploreWidget.buddyUpExploreWidgetShelfMode .buddyUpExploreWidgetSidebar.isOpen,#buddyUpExploreWidget.buddyUpExploreWidgetShelfMode .buddyUpExploreWidgetSidebar.activeMobileMenu{width:min(360px,calc(100vw - 12%));max-width:calc(100vw - 12%)}}@media (max-width: 640px){#buddyUpExploreWidget{padding:.45rem}.buddyUpExploreWidgetActions{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;justify-content:normal;gap:.42rem;width:100%;min-width:0}.buddyUpExploreWidgetTopbar h3{display:none}.buddyUpExploreWidgetFiltersToggle{padding:.34rem .6rem;font-size:.9rem}.buddyUpExploreWidgetMode{padding:.34rem .62rem;font-size:.8rem}.buddyUpExploreWidgetModes{flex:1 1 auto;width:100%;min-width:0}.buddyUpExploreWidgetStatus{margin:.1rem 0 .35rem;font-size:.86rem;line-height:1.25}.buddyUpExploreWidgetMap{min-height:62dvh}#buddyUpExploreWidget.buddyUpExploreWidgetShelfMode .buddyUpExploreWidgetSidebar.isOpen,#buddyUpExploreWidget.buddyUpExploreWidgetShelfMode .buddyUpExploreWidgetSidebar.activeMobileMenu{top:max(8px,env(safe-area-inset-top,0px));left:0;width:min(360px,calc(100vw - 8%));max-width:calc(100vw - 8%);height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 16px);max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 16px)}}\n<\/style><section id=\"buddyUpExploreWidget\" class=\"buddyUpElWrapper\">\n    <div class=\"buddyUpExploreWidgetTopbar\">\n        <h3>Explore Preview<\/h3>\n        <div class=\"buddyUpExploreWidgetActions\">\n            <button type=\"button\" id=\"buddyUpExploreWidgetFiltersToggle\" class=\"buddyUpButton3 buddyUpExploreWidgetFiltersToggle\" aria-controls=\"buddyUpExploreWidgetSidebar\" aria-expanded=\"false\">\n                <i class=\"fa fa-sliders\" aria-hidden=\"true\"><\/i>\n                <span>Filters<\/span>\n            <\/button>\n            <div class=\"buddyUpExploreWidgetModes\" role=\"tablist\" aria-label=\"Explore mode\">\n                <button type=\"button\" class=\"buddyUpExploreWidgetMode isActive\" data-mode=\"adventures\" role=\"tab\" aria-selected=\"true\">Adventures<\/button>\n                <button type=\"button\" class=\"buddyUpExploreWidgetMode\" data-mode=\"events\" role=\"tab\" aria-selected=\"false\">Events<\/button>\n                <button type=\"button\" class=\"buddyUpExploreWidgetMode\" data-mode=\"groups\" role=\"tab\" aria-selected=\"false\">Groups<\/button>\n                <button type=\"button\" class=\"buddyUpExploreWidgetMode\" data-mode=\"users\" role=\"tab\" aria-selected=\"false\">Users<\/button>\n            <\/div>\n        <\/div>\n    <\/div>\n\n    <div id=\"buddyUpExploreWidgetStatus\" class=\"buddyUpExploreWidgetStatus\">Loading map preview...<\/div>\n\n    <div class=\"buddyUpExploreWidgetShell\">\n        <aside id=\"buddyUpExploreWidgetSidebar\" class=\"buddyUpExploreWidgetSidebar buddyUpSearchSidebar buddyUpFiltersShelf\" aria-label=\"Explore filters preview\" aria-hidden=\"true\">\n            <div class=\"buddyUpExploreWidgetFilterCard\">\n                <label for=\"buddyUpExploreWidgetSearch\">Search<\/label>\n                <input id=\"buddyUpExploreWidgetSearch\" type=\"text\" placeholder=\"Search by title or place\" \/>\n            <\/div>\n\n            <div class=\"buddyUpExploreWidgetFilterCard\">\n                <div class=\"buddyUpExploreWidgetFilterHeading\">Popular Interests<\/div>\n                <div id=\"buddyUpExploreWidgetCategories\" class=\"buddyUpExploreWidgetPills\"><\/div>\n            <\/div>\n\n            <div class=\"buddyUpExploreWidgetFilterCard\">\n                <div class=\"buddyUpExploreWidgetFilterHeading\">Nearby<\/div>\n                <div class=\"buddyUpExploreWidgetRangeRow\">\n                    <input id=\"buddyUpExploreWidgetRadius\" type=\"range\" min=\"5\" max=\"100\" step=\"5\" value=\"25\" \/>\n                    <span id=\"buddyUpExploreWidgetRadiusLabel\">25 mi<\/span>\n                <\/div>\n                <div class=\"textSmall\">Preview filter controls. Join free to unlock full interaction.<\/div>\n            <\/div>\n\n            <a href=\"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/register\/\" class=\"buddyUpButton1 buddyUpExploreWidgetJoinCta buddyup-auth-logged-out-only\">Join FREE to Connect<\/a>\n            <a href=\"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/explore\/\" class=\"buddyUpButton1 buddyUpExploreWidgetJoinCta buddyup-auth-logged-in-only\">Open Full Explore Map<\/a>\n        <\/aside>\n\n        <div class=\"buddyUpExploreWidgetMapShell\">\n            <div id=\"buddyUpExploreWidgetMap\" class=\"buddyUpExploreWidgetMap\" aria-label=\"Explore map preview\"><\/div>\n            <div id=\"buddyUpExploreWidgetMapLoading\" class=\"buddyUpExploreWidgetMapLoading hidden\" aria-live=\"polite\" aria-busy=\"true\">\n                <div class=\"buddyUpExploreWidgetMapLoadingInner\">\n                    <span class=\"buddyUpExploreWidgetSpinner\" aria-hidden=\"true\"><\/span>\n                    <span id=\"buddyUpExploreWidgetMapLoadingText\">Loading map data...<\/span>\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/section>\n<script>(async function(){const g=document.getElementById(\"buddyUpExploreWidget\");if(!g)return;const m=document.getElementById(\"buddyUpExploreWidgetStatus\"),b=document.getElementById(\"buddyUpExploreWidgetMap\"),P=document.getElementById(\"buddyUpExploreWidgetMapLoading\"),k=document.getElementById(\"buddyUpExploreWidgetMapLoadingText\"),z=g.querySelectorAll(\".buddyUpExploreWidgetMode\"),T=document.getElementById(\"buddyUpExploreWidgetSearch\"),D=document.getElementById(\"buddyUpExploreWidgetRadius\"),j=document.getElementById(\"buddyUpExploreWidgetRadiusLabel\"),I=document.getElementById(\"buddyUpExploreWidgetCategories\"),l=document.getElementById(\"buddyUpExploreWidgetSidebar\"),u=document.getElementById(\"buddyUpExploreWidgetFiltersToggle\"),C=!!g.closest(\"#buddyUpOnboardingFlow\"),F=window.buddyUpVariables&&buddyUpVariables.plugin_path?`${buddyUpVariables.plugin_path}img\/trailer-image.webp`:\"\",i={mode:\"adventures\",search:\"\",category:\"\",radiusMiles:25,usersLoaded:!1,allByMode:{adventures:[],events:[],groups:[],users:[]},shelfMode:!1};let d=null,w=null,U=null,B=null;const _={},E={},ae=()=>{!d||typeof d.invalidateSize!=\"function\"||setTimeout(()=>{try{d.invalidateSize()}catch{}},120)},c=()=>{!d||typeof d.invalidateSize!=\"function\"||([0,80,180,320,520].forEach(e=>{setTimeout(()=>{try{d.invalidateSize({pan:!1,animate:!1})}catch{}},e)}),setTimeout(()=>{try{N()}catch{}},560))},q=()=>C?!0:window.matchMedia(\"(max-width: 1100px)\").matches,x=()=>{if(!(!l||!u)){if(i.shelfMode=q(),g.classList.toggle(\"buddyUpExploreWidgetShelfMode\",i.shelfMode),!i.shelfMode){typeof BUDDYUP<\"u\"&&typeof BUDDYUP.closeFiltersShelf==\"function\"&&BUDDYUP.closeFiltersShelf(),document.body.classList.remove(\"buddyup-explore-widget-shelf-open\");const e=document.getElementById(\"buddyUpFiltersShelfOverlay\");e&&e.classList.remove(\"buddyUpExploreWidgetOverlayPassive\"),l.setAttribute(\"aria-hidden\",\"false\"),l.classList.remove(\"isOpen\"),l.classList.remove(\"activeMobileMenu\"),u.setAttribute(\"aria-expanded\",\"false\"),u.classList.add(\"hidden\");return}l.setAttribute(\"aria-hidden\",\"true\"),u.classList.remove(\"hidden\"),u.setAttribute(\"aria-expanded\",l.classList.contains(\"isOpen\")?\"true\":\"false\")}},V=()=>{if(!l||!u||!i.shelfMode)return;typeof BUDDYUP<\"u\"&&typeof BUDDYUP.openFiltersShelf==\"function\"?BUDDYUP.openFiltersShelf(l):(l.classList.add(\"isOpen\"),l.classList.add(\"activeMobileMenu\"),l.setAttribute(\"aria-hidden\",\"false\")),u.setAttribute(\"aria-expanded\",\"true\"),document.body.classList.add(\"buddyup-explore-widget-shelf-open\");const e=document.getElementById(\"buddyUpFiltersShelfOverlay\");e&&e.classList.add(\"buddyUpExploreWidgetOverlayPassive\"),c()},Z=()=>{if(!l||!u)return;typeof BUDDYUP<\"u\"&&typeof BUDDYUP.closeFiltersShelf==\"function\"?BUDDYUP.closeFiltersShelf():(l.classList.remove(\"isOpen\"),l.classList.remove(\"activeMobileMenu\"),l.setAttribute(\"aria-hidden\",\"true\")),u.setAttribute(\"aria-expanded\",\"false\"),document.body.classList.remove(\"buddyup-explore-widget-shelf-open\");const e=document.getElementById(\"buddyUpFiltersShelfOverlay\");e&&e.classList.remove(\"buddyUpExploreWidgetOverlayPassive\"),c()},M=e=>String(e||\"\").replace(\/[&<>\\\"]\/g,n=>({\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\"})[n]),H=async()=>{if(window.L&&typeof window.L.map==\"function\")return!0;if(!document.getElementById(\"buddyupLeafletCss\")){const e=document.createElement(\"link\");e.id=\"buddyupLeafletCss\",e.rel=\"stylesheet\",e.href=\"https:\/\/unpkg.com\/leaflet@1.9.4\/dist\/leaflet.css\",document.head.appendChild(e)}return await new Promise((e,n)=>{if(document.getElementById(\"buddyupLeafletJs\"))return e();const r=document.createElement(\"script\");r.id=\"buddyupLeafletJs\",r.src=\"https:\/\/unpkg.com\/leaflet@1.9.4\/dist\/leaflet.js\",r.onload=e,r.onerror=n,document.body.appendChild(r)}),!!(window.L&&typeof window.L.map==\"function\")},A=e=>Array.isArray(e)?e.map(n=>String(n||\"\").trim()).filter(Boolean):typeof e==\"string\"?e.split(\",\").map(n=>n.trim()).filter(Boolean):[],J=e=>{const n=[e&&e.first_name?e.first_name:\"\",e&&e.last_name?e.last_name:\"\"].join(\" \").trim();return String(e&&e.username||e&&e.full_name||n||\"User\")},Y=e=>{const n=String(e&&e.city||\"\").trim(),r=String(e&&e.state||\"\").trim(),o=String(e&&(e.zip_code||e.zip||e.postal_code)||\"\").trim();return n||r?[n,r].filter(Boolean).join(\", \"):o||\"\"},f=(e,n)=>!(!isFinite(e)||!isFinite(n)||Math.abs(e)>90||Math.abs(n)>180||Math.abs(e)<1e-4&&Math.abs(n)<1e-4),K=()=>{if(!C)return!0;const e=g.closest(\".buddyUpOnboardingScreen.isActive\");return e?String(e.getAttribute(\"data-screen\")||\"\")===\"explore\":!1},Q=async()=>{C&&(K()||await Promise.race([new Promise(e=>{const n=r=>{const o=r&&r.detail&&typeof r.detail==\"object\"?r.detail:{};String(o.screen||\"\")===\"explore\"&&(document.removeEventListener(\"buddyup:onboarding-screen-change\",n),e())};document.addEventListener(\"buddyup:onboarding-screen-change\",n)}),new Promise(e=>{setTimeout(e,3500)})]))},X=async e=>{const n=String(e||\"\").trim();if(!n||!BUDDYUP||typeof BUDDYUP.locationAutocompleteSearch!=\"function\")return null;const r=n.toLowerCase();return _[r]?_[r]:(E[r]||(E[r]=(async()=>{try{const o=await BUDDYUP.locationAutocompleteSearch(n);if(!Array.isArray(o)||o.length===0)return null;const t=o[0]||{},s=Number(t.latitude),a=Number(t.longitude);if(!f(s,a))return null;const p={latitude:s,longitude:a};return _[r]=p,p}catch{return null}finally{delete E[r]}})()),E[r])},ee=e=>{const n=[e&&e.status,e&&e.user_status,e&&e.active,e&&e.is_active,e&&e.online,e&&e.is_online].filter(t=>typeof t<\"u\"&&t!==null&&String(t).trim()!==\"\");if(n.length===0)return!0;const r=new Set([\"1\",\"true\",\"active\",\"online\",\"enabled\"]),o=new Set([\"0\",\"false\",\"inactive\",\"offline\",\"banned\",\"disabled\",\"deleted\"]);return n.some(t=>{const s=String(t).trim().toLowerCase();return r.has(s)?!0:(o.has(s),!1)})},te=e=>!e||typeof e!=\"object\"?[]:Array.isArray(e.users)?e.users:e.data&&typeof e.data==\"object\"&&Array.isArray(e.data.users)?e.data.users:[],ne=async e=>{const n=te(e);if(!n.length){i.allByMode.users=[];return}const r=n.map(s=>{const a=Y(s),p=Number(s&&s.latitude),y=Number(s&&s.longitude);return{locationText:a,needsGeocode:!f(p,y)&&a}}).filter(s=>s.needsGeocode).map(s=>String(s.locationText).trim()).filter(Boolean),o=Array.from(new Set(r)).slice(0,40),t={};await Promise.all(o.map(async s=>{const a=await X(s);a&&(t[s]=a)})),i.allByMode.users=n.filter(s=>s&&Number(s.id||0)>0).filter(s=>ee(s)).map(s=>{const a=Number(s.latitude),p=Number(s.longitude),y=Y(s),h=y?t[y]:null,O=f(a,p)?a:h?Number(h.latitude):NaN,S=f(a,p)?p:h?Number(h.longitude):NaN;return{id:Number(s.id||0),title:J(s),subtitle:String(y||\"Active user\"),latitude:O,longitude:S,categories:A(s.interests)}}).filter(s=>f(Number(s.latitude),Number(s.longitude)))},re=e=>{const n=Array.isArray(e&&e.adventures)?e.adventures:[],r=Array.isArray(e&&e.events)?e.events:[],o=Array.isArray(e&&e.groups)?e.groups:[];i.allByMode.adventures=n.map(t=>({id:Number(t.id||0),title:String(t.title||\"Adventure\"),subtitle:String(t.location_label||[t.city,t.state].filter(Boolean).join(\", \")),latitude:Number(t.latitude),longitude:Number(t.longitude),image:String(t.preview_url||(Array.isArray(t.media)&&t.media[0]&&t.media[0].url?t.media[0].url:\"\")||F),categories:A(t.categories)})).filter(t=>f(Number(t.latitude),Number(t.longitude))),i.allByMode.events=r.map(t=>({id:Number(t.event_id||0),title:String(t.event_name||\"Event\"),subtitle:String(t.location_label||[t.city,t.state].filter(Boolean).join(\", \")),latitude:Number(t.latitude),longitude:Number(t.longitude),image:String(t.event_image||F),categories:A(t.event_categories)})).filter(t=>f(Number(t.latitude),Number(t.longitude))),i.allByMode.groups=o.map(t=>({id:Number(t.id||0),title:String(t.name||\"Group\"),subtitle:String(t.location_label||[t.city,t.state].filter(Boolean).join(\", \")),latitude:Number(t.latitude),longitude:Number(t.longitude),image:String(t.image||F),categories:A(t.categories)})).filter(t=>f(Number(t.latitude),Number(t.longitude)))},ie=()=>{const e=Array.isArray(i.allByMode[i.mode])?i.allByMode[i.mode]:[],n=i.search.toLowerCase().trim();return e.filter(r=>i.category&&!r.categories.some(t=>t.toLowerCase()===i.category.toLowerCase())?!1:n?r.title.toLowerCase().includes(n)||r.subtitle.toLowerCase().includes(n)||r.categories.some(o=>o.toLowerCase().includes(n)):!0)},v=(e,n)=>{k&&n&&(k.innerText=String(n)),P&&(e?P.classList.remove(\"hidden\"):P.classList.add(\"hidden\"))},se=e=>{const r=`<div class=\"buddyUpExploreWidgetPin ${i.mode===\"events\"?\"pin-events\":i.mode===\"groups\"?\"pin-groups\":i.mode===\"users\"?\"pin-users\":\"pin-adventures\"}\" aria-hidden=\"true\"><\/div>`;return L.divIcon({className:\"buddyUpExploreWidgetPinWrap\",html:r,iconSize:[20,28],iconAnchor:[10,24],popupAnchor:[0,-22]})},$=()=>{if(!I)return;const e=Array.isArray(i.allByMode[i.mode])?i.allByMode[i.mode]:[],n={};e.forEach(t=>{t.categories.forEach(s=>{const a=String(s||\"\").trim();a&&(n[a]=(n[a]||0)+1)})});const r=Object.keys(n).sort((t,s)=>n[s]-n[t]).slice(0,8),o=[];o.push(`<button type=\"button\" class=\"buddyUpExploreWidgetPill ${i.category===\"\"?\"isActive\":\"\"}\" data-cat=\"\">All<\/button>`),r.forEach(t=>{const s=i.category.toLowerCase()===t.toLowerCase();o.push(`<button type=\"button\" class=\"buddyUpExploreWidgetPill ${s?\"isActive\":\"\"}\" data-cat=\"${M(t)}\">${M(t)}<\/button>`)}),I.innerHTML=o.join(\"\"),I.querySelectorAll(\".buddyUpExploreWidgetPill\").forEach(t=>{t.addEventListener(\"click\",()=>{i.category=String(t.getAttribute(\"data-cat\")||\"\"),$(),N()})})},N=()=>{if(!d||!w)return;w.clearLayers();const e=ie();if(e.length===0){m.innerText=`No ${i.mode} matched your preview filters.`;return}const n=[],r={};e.forEach(t=>{const s=`${t.latitude.toFixed(4)}_${t.longitude.toFixed(4)}`;r[s]=(r[s]||0)+1;const a=r[s]-1,p=a===0?0:a*35e-5,y=a*(Math.PI\/4.2),h=p*Math.sin(y),O=p*Math.cos(y),S=L.marker([t.latitude+h,t.longitude+O],{icon:se(t),keyboard:!0});S.bindPopup(`<div class=\"buddyUpExploreWidgetPopupTitle\">${M(t.title)}<\/div><div>${M(t.subtitle)}<\/div>`),S.addTo(w),n.push(S)}),m.innerText=`${e.length} ${i.mode} visible. Use tabs and preview filters to explore.`;const o=L.featureGroup(n);n.length===1?d.setView(n[0].getLatLng(),12):d.fitBounds(o.getBounds().pad(.18))},R=async e=>{const r=(e&&typeof e==\"object\"?e:{}).silent===!0;if(!i.usersLoaded){if(U){await U;return}U=(async()=>{r||(m.innerText=\"Loading active users...\");try{const o=await BUDDYUP.apiRequest(\"users-search\",{location:\"\",categories:[],per_page:300,limit:300});o&&o.status===\"success\"?await ne(o):i.allByMode.users=[]}catch{i.allByMode.users=[]}finally{i.usersLoaded=!0}})();try{await U}finally{U=null}}},G=async e=>{const n=e===\"users\"&&!i.usersLoaded;n&&v(!0,\"Loading active users...\"),i.mode=e,i.category=\"\";try{e===\"users\"&&await R(),z.forEach(r=>{const o=r.getAttribute(\"data-mode\")===e;r.classList.toggle(\"isActive\",o),r.setAttribute(\"aria-selected\",o?\"true\":\"false\")}),$(),N(),c()}finally{n&&v(!1)}};m.innerText=\"Loading adventures, events, and groups...\",v(!0,\"Loading map data...\"),R({silent:!0});const[oe,W]=await Promise.all([H(),BUDDYUP.apiRequest(\"explore-aggregate\",{limit_adventures:500,limit_events:200,limit_groups:200,include_events:1,include_groups:1})]);if(!oe){m.innerText=\"Map unavailable right now.\",v(!1);return}if(!W||W.status!==\"success\"){m.innerText=\"Could not load explore preview.\",v(!1);return}if(re(W),await Q(),i.allByMode.adventures.length+i.allByMode.events.length+i.allByMode.groups.length===0&&(m.innerText=\"No public map content available yet. Try another tab.\"),d=L.map(b,{zoomControl:!0,scrollWheelZoom:!0,dragging:!0,doubleClickZoom:!0}),L.tileLayer(\"https:\/\/{s}.tile.openstreetmap.org\/{z}\/{x}\/{y}.png\",{maxZoom:19,attribution:\"&copy; OpenStreetMap contributors\"}).addTo(d),w=L.layerGroup().addTo(d),d.whenReady(()=>{c()}),typeof ResizeObserver==\"function\"&&(B=new ResizeObserver(()=>{c()}),b&&B.observe(b),g&&B.observe(g),b&&b.parentElement&&B.observe(b.parentElement)),z.forEach(e=>{e.addEventListener(\"click\",()=>{const n=e.getAttribute(\"data-mode\");!n||n===i.mode||(G(n),c())})}),T&&T.addEventListener(\"input\",()=>{i.search=String(T.value||\"\"),N()}),D&&j){const e=()=>{i.radiusMiles=Number(D.value||25),j.innerText=`${i.radiusMiles} mi`};D.addEventListener(\"input\",e),e()}await G(\"adventures\"),v(!1),c(),x(),u&&l&&(u.addEventListener(\"click\",e=>{if(e.preventDefault(),x(),!!i.shelfMode){if(l.classList.contains(\"isOpen\")||l.classList.contains(\"activeMobileMenu\")){Z();return}V()}}),document.addEventListener(\"click\",e=>{const n=e.target;n instanceof HTMLElement&&i.shelfMode&&n.closest(\"#buddyUpFiltersShelfOverlay, .buddyUpFiltersShelfCloseButton\")&&setTimeout(()=>{u.setAttribute(\"aria-expanded\",\"false\"),document.body.classList.remove(\"buddyup-explore-widget-shelf-open\")},20)})),window.addEventListener(\"resize\",()=>{x(),c()}),document.addEventListener(\"buddyUpPageChange\",()=>{x(),c()}),document.addEventListener(\"buddyup:page-change\",()=>{document.body.classList.remove(\"buddyup-explore-widget-shelf-open\");const e=document.getElementById(\"buddyUpFiltersShelfOverlay\");e&&e.classList.remove(\"buddyUpExploreWidgetOverlayPassive\")}),document.addEventListener(\"buddyup:explore-widget-relocated\",c),document.addEventListener(\"buddyup:onboarding-screen-change\",e=>{const n=e&&e.detail&&typeof e.detail==\"object\"?e.detail:{};String(n.screen||\"\")===\"explore\"&&(x(),c())}),c()})();\n<\/script><\/div>                <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/article>\n<article class=\"buddyUpOnboardingScreen\" data-screen=\"what-is\" data-title=\"What Is BuddyUpGo\">\n    <div class=\"buddyUpOnboardingScreenBody\">\n        <div class=\"buddyUpOnboardingScreenCanvas\">\n            <div class=\"half-container\">\n                <div class=\"item-img\">\n                    <img decoding=\"async\" src=\"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/wp-content\/uploads\/2025\/07\/members-pic.png\" alt=\"BuddyUp members\" \/>\n                <\/div>\n                <div class=\"item2\">\n                    <p class=\"subscriptions-heading\">What Is BuddyUpGo?<\/p>\n                    <h2>\n                        <strong>\n                            Your Adventure Crew<br \/><span>Is Out There<\/span>\n                        <\/strong>\n                    <\/h2>\n                    <p>\n                        BuddyUpGo is the outdoor social network built for people who would rather be outside. Whether you fish,\n                        hike, bike, camp, or cruise in your RV, there are people like you ready to go.\n                    <\/p>\n                    <a href=\"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/register\/?dest=groups&#038;src=what-is\" class=\"buddyUpButton1\" data-register-destination=\"groups\" data-register-source=\"what-is\">Start Browsing Groups<\/a>\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/article>\n<article class=\"buddyUpOnboardingScreen\" data-screen=\"find-events\" data-title=\"Find Events\">\n    <div class=\"buddyUpOnboardingScreenBody\">\n        <div class=\"buddyUpOnboardingScreenCanvas\">\n            <div class=\"event-section\">\n                <div class=\"event-container\">\n                    <div class=\"event-item\">\n                        <p class=\"event-title\">Find an event<\/p>\n                        <h2>Adventures Are<br \/>Happening <span>Right Now<\/span><\/h2>\n                        <p>Discover local events near you, or post your own outing and open it to the community.<\/p>\n\n                        <ul>\n                            <li>Search by activity, location, and skill level<\/li>\n                            <li>View event details, attendee lists, and comments<\/li>\n                            <li>Create your own outings and invite the community<\/li>\n                            <li>Share photos and videos from your adventures<\/li>\n                        <\/ul>\n\n                        <a href=\"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/register\/?dest=events&#038;src=find-events\" class=\"buddyUpButton1\" data-register-destination=\"events\" data-register-source=\"find-events\">Start Browsing Events<\/a>\n                    <\/div>\n\n                    <div class=\"event-media-wrap\">\n                        <img decoding=\"async\" src=\"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/wp-content\/uploads\/2025\/04\/find-buddies-2.png\" alt=\"Event preview\" \/>\n                    <\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/article>\n<article class=\"buddyUpOnboardingScreen\" data-screen=\"lets-go\" data-title=\"Let's Go\">\n    <div class=\"buddyUpOnboardingScreenBody\">\n        <div class=\"buddyUpOnboardingScreenCanvas\">\n            <div class=\"go-section\">\n                <div class=\"go-item\">\n                    <h2>Your Next Adventure<br \/>Is Waiting<br \/><span>Let's Go<\/span><\/h2>\n                    <p>Join outdoor enthusiasts already finding their perfect adventure buddy.<\/p>\n                <\/div>\n\n                <div class=\"buddyUpOnboardingCtaRow\">\n                    <a href=\"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/register\/?dest=people&#038;src=lets-go\" class=\"buddyUpButton1\" data-register-destination=\"people\" data-register-source=\"lets-go\">Find My Buddy<\/a>\n                    <a href=\"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/register\/?dest=subscriptions&#038;src=lets-go\" class=\"buddyUpButton3\" data-register-destination=\"subscriptions\" data-register-source=\"lets-go\">See Plans<\/a>\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/article>\n            <\/div>\n\n            <div class=\"buddyUpOnboardingFooter\">\n                <button id=\"buddyUpOnboardingBack\" type=\"button\" class=\"buddyUpButton3\" disabled=\"disabled\">Back<\/button>\n                <button id=\"buddyUpOnboardingNext\" type=\"button\" class=\"buddyUpButton1\">Next<\/button>\n            <\/div>\n        <\/div>\n    <\/div>\n\n    <div id=\"buddyUpForYouView\" class=\"buddyUpForYouView hidden\" aria-live=\"polite\">\n\n        <nav class=\"buddyUpHomeModeTabs\" aria-label=\"Home content mode\" role=\"tablist\">\n            <button type=\"button\" class=\"buddyUpHomeModeTab isActive\" data-home-mode=\"explore\" role=\"tab\" aria-selected=\"true\" aria-controls=\"buddyUpHomeExplorePanel\" id=\"buddyUpHomeExploreTab\">Explore<\/button>\n            <button type=\"button\" class=\"buddyUpHomeModeTab\" data-home-mode=\"for-you\" role=\"tab\" aria-selected=\"false\" aria-controls=\"buddyUpHomeForYouPanel\" id=\"buddyUpHomeForYouTab\">For You<\/button>\n        <\/nav>\n\n        <section id=\"buddyUpHomeExplorePanel\" class=\"buddyUpHomeModePanel isActive\" data-home-mode-panel=\"explore\" role=\"tabpanel\" aria-labelledby=\"buddyUpHomeExploreTab\">\n            <section class=\"buddyUpComprehensiveFeed buddyUpElWrapper\" aria-label=\"Comprehensive feed\">\n                <div class=\"buddyUpForYouRailHead buddyUpComprehensiveFeedHead\">\n                    <h2>Map-First Discovery<\/h2>\n                <\/div>\n                <p class=\"buddyUpComprehensiveFeedLead\">Start with nearby map activity, then switch to For You for ranked recommendations.<\/p>\n                <div id=\"buddyUpComprehensiveExploreHost\" class=\"buddyUpComprehensiveExploreHost\"><div class=\"buddyUpPjaxContainer\" data-buddyup-pjax-container=\"1\"><style>.buddyUpExploreLayout{display:block}.buddyUpExploreMapShell{position:relative;padding:.25rem;background:var(--buddyup-background)}.buddyUpExploreStatusBar,.buddyUpExploreTopTabs{position:relative;z-index:520;margin:0 0 .45rem;padding:.5rem .65rem;border-radius:var(--buddyup-panel-radius, 12px);background:#ffffffeb;border:1px solid rgba(67,126,146,.2)}.buddyUpExploreTopTabsLabel{font-weight:700;margin-bottom:.35rem;color:#1f3656}.buddyUpExploreTopTabsList{display:flex;flex-wrap:wrap;gap:.35rem}#buddyUpExploreSidebarToggle{display:none}aside.buddyUpExploreSidebar{position:absolute;top:8.2rem;left:.85rem;width:min(320px,85vw);max-height:calc(100% - 14.6rem);z-index:10001;margin:0;padding:.95rem .8rem;border-radius:var(--buddyup-panel-radius, 12px);background:var(--buddyup-background);box-shadow:0 12px 28px #00000038;overflow:auto;border:1px solid rgba(67,126,146,.22);gap:.85rem}aside.buddyUpExploreSidebar.buddyUpSearchSidebar>.buddyUpSearchSidebarSection{margin:0}.buddyUpExploreMapFocusSection{margin-bottom:.55rem}.buddyUpExploreFocusToggle{display:grid;grid-template-columns:1fr 1fr;gap:.35rem}.buddyUpExploreFocusBtn{min-height:2rem;border-radius:999px;border:1px solid var(--secondary-color);background:#fff;color:var(--secondary-color);font-weight:700}.buddyUpExploreFocusBtn.isActive{background:var(--secondary-color);color:#fff}.buddyUpExploreSearchNearRow{display:grid;grid-template-columns:1fr auto;gap:.35rem;align-items:start}.buddyUpExploreSearchNearRow .buddyUpButton3{margin:0;min-height:2.2rem}.buddyUpExploreSearch{margin:0}.buddyUpExploreSection{margin-bottom:.7rem}.buddyUpExploreSection:last-child{margin-bottom:0}.buddyUpExploreSectionToggle{width:100%;border:0;background:transparent;display:flex;align-items:center;justify-content:space-between;font-weight:700;color:#1f3656;padding:.1rem 0 .4rem;cursor:pointer}.buddyUpExploreSectionChevron{font-size:.9rem;opacity:.8;transition:transform .18s ease}.buddyUpExploreSectionBody{display:block}.buddyUpExploreSectionCollapsible.isCollapsed .buddyUpExploreSectionBody{display:none}.buddyUpExploreSectionCollapsible.isCollapsed .buddyUpExploreSectionChevron{transform:rotate(-90deg)}.buddyUpExploreSectionTitle{font-weight:700;margin-bottom:.45rem;color:#1f3656}.buddyUpExploreToggleList{display:flex;flex-direction:column;gap:.35rem}.buddyUpExploreToggle{width:100%;margin:0;text-align:left;min-height:2.15rem;border-radius:var(--buddyup-control-radius, 10px);background:var(--secondary-color);color:#fff;border:1px solid transparent}.buddyUpExploreTopTabsList .buddyUpExploreToggle{width:auto;min-height:2rem;border-radius:999px;padding:.4rem .8rem}.buddyUpExploreToggle.isActive{border-color:var(--secondary-color);background:var(--secondary-color);color:#fff}.buddyUpExploreCategoryToggle.buddyUpButton3{background:#fff!important;border:1px solid rgba(67,126,146,.35)!important;color:#1f3656!important;font-weight:600;transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease}.buddyUpExploreCategoryToggle.buddyUpButton3.isActive{background:var(--secondary-color)!important;border-color:var(--secondary-color)!important;color:#fff!important;box-shadow:0 0 0 2px #437e9233}.buddyUpExploreLock{margin-top:.45rem}.buddyUpExploreRadiusRow{margin-bottom:.4rem}.buddyUpExploreRadiusSlider{width:100%;accent-color:var(--buddyup-color1)}.buddyUpExploreRadiusValue{margin-top:.2rem;font-size:.85rem;font-weight:600;color:#1f3656}.buddyUpExploreApplyRadius{margin-top:.35rem;width:100%}.buddyUpExploreRadiusHint{margin-top:.35rem;opacity:.8}.buddyUpExploreNearbySignedOut{padding-top:.1rem}.buddyUpExploreNearbyRange{width:100%;margin:.15rem 0 .45rem;accent-color:var(--buddyup-color1)}.buddyUpExploreNearbyLockCard{border-radius:var(--buddyup-control-radius, 10px);border:1px solid rgba(0,0,0,.08);background:#437e9214;padding:.55rem .65rem}.buddyUpExploreNearbyLockTitle{font-weight:700;margin-bottom:.2rem}.buddyUpExploreMapCard{position:relative;border-radius:var(--buddyup-panel-radius, 12px);overflow:hidden}.buddyUpExploreMapLoading{position:absolute;inset:0;background:#ffffffbd;display:flex;align-items:center;justify-content:center;z-index:540}.buddyUpExploreMapLoadingInner{display:inline-flex;align-items:center;gap:.55rem;background:#fffffff5;border:1px solid rgba(67,126,146,.25);border-radius:999px;padding:.45rem .75rem;color:#1f3656;font-weight:600}.buddyUpExploreSpinner{width:16px;height:16px;border-radius:50%;border:2px solid rgba(31,54,86,.25);border-top-color:var(--secondary-color);animation:buddyUpExploreSpin .7s linear infinite}@keyframes buddyUpExploreSpin{to{transform:rotate(360deg)}}.buddyUpExploreMap{width:100%;min-height:82vh;border-radius:var(--buddyup-panel-radius, 12px);border:1px solid rgba(67,126,146,.22)}.buddyUpExploreSignedOutTease{position:relative;margin-top:.55rem;width:min(360px,100%);background:#fffffffa;border:1px solid rgba(0,0,0,.08);border-radius:var(--buddyup-panel-radius, 12px);padding:.65rem;box-shadow:0 8px 20px #0000002e;z-index:530}.buddyUpExploreTeaseClose{position:absolute;right:.35rem;top:.2rem;border:0;background:transparent;font-size:1.2rem;line-height:1;cursor:pointer;opacity:.6}.buddyUpExploreTeaseTitle{font-weight:700;margin:0 1rem .45rem 0}.buddyUpExploreTeaseThumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:.3rem;margin-bottom:.45rem}.buddyUpExploreTeaseThumbs span{display:block;height:44px;border-radius:6px;background:linear-gradient(135deg,#0000001f,#0000000a)}.buddyUpExploreTeaseThumbs img{width:100%;height:44px;border-radius:6px;object-fit:cover;display:block}.buddyUpExploreTeaseCopy{font-size:.92rem;line-height:1.3;margin-bottom:.5rem}.buddyUpExploreTeaseCta{width:100%;text-align:center;margin:0}.buddyUpExploreSignedOutBottomCta{margin-top:.55rem;border-radius:var(--buddyup-panel-radius, 12px);background:#fffffff0;border:1px solid rgba(0,0,0,.08);padding:.6rem .75rem;display:flex;align-items:center;justify-content:space-between;gap:.6rem;border:1px solid rgba(67,126,146,.22)}.buddyUpExploreFiltersOverlay{position:absolute;inset:0;border-radius:12px;background:#437e9233;display:flex;align-items:center;justify-content:center;padding:.65rem;z-index:7}.buddyUpExploreSidebar.isLoggedOut .buddyUpExploreFiltersOverlay{display:none}.buddyUpExploreFiltersOverlayCard{border-radius:var(--buddyup-control-radius, 10px);background:#fff;border:1px solid rgba(67,126,146,.25);padding:.65rem;text-align:center;max-width:260px}.buddyUpExploreSidebar.isLoggedOut:hover .buddyUpExploreFiltersOverlay{display:flex}.buddyUpExploreSignedOutBottomCta .buddyUpButton1{margin:0;white-space:nowrap}.buddyUpExplorePin{width:64px;height:64px;border-radius:18px;overflow:hidden;border:3px solid #fff;box-shadow:0 8px 22px #00000038;background:#f4f4f4;position:relative;transform:translateY(-2px)}.buddyUpExplorePin img{width:100%;height:100%;object-fit:cover}.buddyUpExplorePinDot{position:absolute;left:50%;bottom:-10px;transform:translate(-50%);width:14px;height:14px;border-radius:50%;background:var(--buddyup-color1);border:2px solid #fff;box-shadow:0 3px 8px #00000038}.buddyUpExplorePinWrap{background:transparent;border:0}.buddyUpExplorePopup .leaflet-popup-content-wrapper{border-radius:16px;box-shadow:0 14px 32px #00000038;padding:0}.buddyUpExplorePopup .leaflet-popup-content{margin:0}.buddyUpExplorePopupCard{max-width:380px;padding:.75rem}.buddyUpExplorePopupBadge{display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.02em;padding:.2rem .5rem;border-radius:999px;background:#0000000f;margin-bottom:.45rem}.buddyUpExplorePopupTitle{font-size:1rem;font-weight:700;line-height:1.25}.buddyUpExplorePopupSubtitle{font-size:.82rem;opacity:.78;margin-top:.15rem}.buddyUpExplorePopupDescription{margin-top:.55rem;font-size:.86rem;line-height:1.4}.buddyUpExplorePopupHero{margin-top:.55rem;width:100%;max-height:190px;object-fit:cover;border-radius:12px}.buddyUpExplorePopupGallery{margin-top:.6rem;display:flex;flex-direction:column;gap:.5rem;max-height:320px;overflow:auto;padding-right:.15rem}.buddyUpExplorePopupMediaItem{border-radius:12px;overflow:hidden;background:#00000008}.buddyUpExplorePopupMedia{width:100%;max-height:210px;display:block;object-fit:cover;background:#000}.buddyUpExplorePopupMediaCaption{padding:.45rem .55rem;font-size:.78rem;line-height:1.35;opacity:.86}.buddyUpExplorePopupLink{margin:.6rem 0 0;width:100%;text-align:center}@media (max-width: 980px){.buddyUpExploreMapShell{padding:0}.buddyUpExploreStatusBar{position:relative;padding:.42rem .55rem;margin-bottom:.4rem}.buddyUpExploreTopTabs{padding:.42rem .55rem;margin-bottom:.4rem}.buddyUpExploreMap{min-height:72vh;border-radius:0}#buddyUpExploreSidebarToggle{display:inline-flex}.buddyUpExploreMapShell aside.buddyUpExploreSidebar.buddyUpSearchSidebar.buddyUpFiltersShelf{position:fixed;top:calc(var(--buddyup-mobile-header-height, 56px) + var(--buddyup-mobile-safe-top, 0px) + 8px);left:0;width:min(360px,calc(100vw - 18%));max-width:calc(100vw - 18%);height:calc(100dvh - var(--buddyup-mobile-header-height, 56px) - var(--buddyup-mobile-nav-offset, 70px) - var(--buddyup-mobile-safe-top, 0px) - 16px);max-height:calc(100dvh - var(--buddyup-mobile-header-height, 56px) - var(--buddyup-mobile-nav-offset, 70px) - var(--buddyup-mobile-safe-top, 0px) - 16px);border-radius:0 14px 14px 0;z-index:10001;box-shadow:0 12px 28px #00000040;background:#fff;padding:.95rem .8rem;overflow-y:auto;transition:transform .24s ease,opacity .24s ease;transform:translate(-105%);opacity:1;touch-action:pan-y}.buddyUpExploreMapShell aside.buddyUpExploreSidebar.buddyUpSearchSidebar.buddyUpFiltersShelf.isOpen,.buddyUpExploreMapShell aside.buddyUpExploreSidebar.buddyUpSearchSidebar.buddyUpFiltersShelf.activeMobileMenu{transform:translate(0)}.buddyUpExploreMapShell aside.buddyUpExploreSidebar.buddyUpSearchSidebar.buddyUpFiltersShelf.isCollapsed{transform:translate(-105%);opacity:0;pointer-events:none}.buddyUpExploreSignedOutTease{width:100%;border-radius:10px;padding:.55rem;margin-top:.45rem}.buddyUpExploreTeaseThumbs img,.buddyUpExploreTeaseThumbs span{height:40px}.buddyUpExploreSignedOutBottomCta.hidden,.buddyUpExploreSignedOutBottomCta{display:none}.buddyUpExploreSidebar.isLoggedOut .buddyUpExploreFiltersOverlay{display:flex}.buddyUpExploreSignedOutBottomCta .buddyUpButton1{width:auto;text-align:center;font-size:.9rem;padding:.42rem .62rem}}@media (min-width: 1024px){.buddyUpExploreMapShell{padding:.35rem}.buddyUpExploreSidebar{width:min(320px,32vw);max-height:calc(100% - 14.6rem)}.buddyUpExploreMap{min-height:83vh}}\n<\/style><script>\nwindow.buddyUpExploreSSR = {\"status\":\"success\",\"adventures\":[{\"id\":11,\"user_id\":207,\"title\":\"Fly fishing cool sunset photo\",\"body\":\"my buddy caught this sweet moment where the sunset light hit my fly line in the coolest way.\",\"categories\":[\"Fishing\",\"Sunset Chasing\",\"fly fishing\",\"Photography\"],\"location_label\":\"\",\"city\":\"\",\"state\":\"\",\"postal_code\":\"\",\"latitude\":42.8650441,\"longitude\":-84.4628484,\"point_source\":\"media_location_fallback\",\"preview_url\":\"https:\\\/\\\/buddyupapi-staging.us35.cdn-alpha.com\\\/wp-content\\\/uploads\\\/buddyup_ffbe92c57e25fc55.jpg\",\"media\":[{\"url\":\"https:\\\/\\\/buddyupapi-staging.us35.cdn-alpha.com\\\/wp-content\\\/uploads\\\/buddyup_ffbe92c57e25fc55.jpg\",\"type\":\"image\",\"description\":\"great shot of sunset over water\"}],\"created_at\":\"2026-04-26 18:52:28\"},{\"id\":10,\"user_id\":195,\"title\":\"Great North Slopes\",\"body\":\"Mini adventure for a day on the slopes\",\"categories\":[\"Snow Skiing\",\"Snow Tubing\"],\"location_label\":\"\",\"city\":\"\",\"state\":\"\",\"postal_code\":\"\",\"latitude\":39.1616527,\"longitude\":-84.8664722,\"point_source\":\"media_location_fallback\",\"preview_url\":\"https:\\\/\\\/buddyupapi-staging.us35.cdn-alpha.com\\\/wp-content\\\/uploads\\\/buddyup_83a0680f0a80f005.jpg\",\"media\":[{\"url\":\"https:\\\/\\\/buddyupapi-staging.us35.cdn-alpha.com\\\/wp-content\\\/uploads\\\/buddyup_83a0680f0a80f005.jpg\",\"type\":\"image\",\"description\":\"Skiing Hill\"}],\"created_at\":\"2026-03-05 17:45:47\"},{\"id\":9,\"user_id\":195,\"title\":\"Fishing On The Licking River\",\"body\":\"Fishing and caught a golden horse fish\",\"categories\":[\"Fishing\"],\"location_label\":\"\",\"city\":\"\",\"state\":\"\",\"postal_code\":\"\",\"latitude\":38.1264242,\"longitude\":-83.6102318,\"point_source\":\"media_location_fallback\",\"preview_url\":\"https:\\\/\\\/buddyupapi-staging.us35.cdn-alpha.com\\\/wp-content\\\/uploads\\\/buddyup_ea32b3ad58f23bcf.jpg\",\"media\":[{\"url\":\"https:\\\/\\\/buddyupapi-staging.us35.cdn-alpha.com\\\/wp-content\\\/uploads\\\/buddyup_ea32b3ad58f23bcf.jpg\",\"type\":\"image\",\"description\":\"front view golden horse fish\"}],\"created_at\":\"2026-03-05 17:37:15\"},{\"id\":8,\"user_id\":159,\"title\":\"testing geo location\",\"body\":\"this is a test post\",\"categories\":[\"BBQ\\\/Cookout\"],\"location_label\":\"\",\"city\":\"\",\"state\":\"\",\"postal_code\":\"\",\"latitude\":38.0540248,\"longitude\":-83.9372774,\"point_source\":\"media_location_fallback\",\"preview_url\":\"https:\\\/\\\/buddyupapi-staging.us35.cdn-alpha.com\\\/wp-content\\\/uploads\\\/buddyup_c420c8b6ef87484c.png\",\"media\":[{\"url\":\"https:\\\/\\\/buddyupapi-staging.us35.cdn-alpha.com\\\/wp-content\\\/uploads\\\/buddyup_c420c8b6ef87484c.png\",\"type\":\"image\",\"description\":\"Just a white screen\"}],\"created_at\":\"2026-03-03 20:31:13\"},{\"id\":6,\"user_id\":104,\"title\":\"test 5\",\"body\":\"This is a test of notifications, new Adventure single page, new pin links, photo gallery styling\",\"categories\":[\"Biking\",\"Beach Volleyball\"],\"location_label\":\"\",\"city\":\"\",\"state\":\"\",\"postal_code\":\"\",\"latitude\":40.3553915,\"longitude\":-105.7176957,\"point_source\":\"media_location_fallback\",\"preview_url\":\"https:\\\/\\\/buddyupapi-staging.us35.cdn-alpha.com\\\/wp-content\\\/uploads\\\/buddyup_c97c3d6079f5d205.jpg\",\"media\":[{\"url\":\"https:\\\/\\\/buddyupapi-staging.us35.cdn-alpha.com\\\/wp-content\\\/uploads\\\/buddyup_c97c3d6079f5d205.jpg\",\"type\":\"image\",\"description\":\"road\"}],\"created_at\":\"2026-03-02 21:18:06\"}],\"events\":[{\"event_id\":75,\"event_name\":\"Hike-a-thon(test)\",\"location_name\":\"Harding Icefield Trail - Exit Glacier Nature Center\",\"address\":\"24620 Herman Leirer Rd\",\"city\":\"Seward\",\"state\":\"Alaska\",\"location_label\":\"24620 Herman Leirer Rd, Seward, Alaska\",\"latitude\":60.1013952,\"longitude\":-149.4404281,\"point_source\":\"geocoded\",\"event_image\":\"https:\\\/\\\/buddyupapi-staging.us35.cdn-alpha.com\\\/wp-content\\\/uploads\\\/buddyup_a132a2e4f4436f83.jpg\",\"zip\":\"\",\"event_categories\":[\"Hiking\",\"Snow Skiing\",\"cross-country skiing\",\"Rock Climbing\",\"mountain climbing\"]},{\"event_id\":76,\"event_name\":\"Fly fishing at sunset competition\",\"location_name\":\"Fish Ladder Park\",\"address\":\"606 Front Ave NW\",\"city\":\"Grand Rapids\",\"state\":\"Michigan\",\"location_label\":\"606 Front Ave NW, Grand Rapids, Michigan\",\"latitude\":42.9747942,\"longitude\":-85.6762811,\"point_source\":\"geocoded\",\"event_image\":\"https:\\\/\\\/buddyupapi-staging.us35.cdn-alpha.com\\\/wp-content\\\/uploads\\\/buddyup_a2ac647cf918b039.jpg\",\"zip\":\"\",\"event_categories\":[\"Fishing\",\"Boating\",\"BBQ\\\/Cookout\",\"competition\",\"Concerts\\\/Festivals\"]}],\"groups\":[{\"id\":8,\"name\":\"Cliff Watching Enthusiasts\",\"address_1\":\"\",\"city\":\"a cliff\",\"state\":\"KS\",\"location_label\":\"a cliff, KS\",\"latitude\":37.6829546,\"longitude\":-97.4679657,\"point_source\":\"geocoded\",\"image\":\"https:\\\/\\\/buddyupapi-staging.us35.cdn-alpha.com\\\/wp-content\\\/uploads\\\/buddyup_b21c583f58ad273c.jpg\",\"categories\":[\"cliffs\"]},{\"id\":11,\"name\":\"Sunset Fly Fishing Club\",\"address_1\":\"\",\"city\":\"Grand Rapids\",\"state\":\"MI\",\"location_label\":\"Grand Rapids, MI\",\"latitude\":42.9632425,\"longitude\":-85.6678639,\"point_source\":\"geocoded\",\"image\":\"https:\\\/\\\/buddyupapi-staging.us35.cdn-alpha.com\\\/wp-content\\\/uploads\\\/buddyup_3f348e09c0e8f60b.jpg\",\"categories\":[\"Fishing\",\"Boating\",\"Sunset Chasing\",\"BBQ\\\/Cookout\",\"Camping\"]},{\"id\":4,\"name\":\"Test Group\",\"address_1\":\"123 Main Street\",\"city\":\"Orlando\",\"state\":\"Florida\",\"location_label\":\"123 Main Street, Orlando, Florida\",\"latitude\":28.5438863,\"longitude\":-81.3773901,\"point_source\":\"geocoded\",\"image\":\"\",\"categories\":[\"hiking\",\"fishing\"]},{\"id\":6,\"name\":\"Test Group New\",\"address_1\":\"567 Main Street\",\"city\":\"Tampa\",\"state\":\"Florida\",\"location_label\":\"567 Main Street, Tampa, Florida\",\"latitude\":27.9570255,\"longitude\":-82.468535,\"point_source\":\"geocoded\",\"image\":\"\",\"categories\":[\"hiking\",\"camping\"]},{\"id\":10,\"name\":\"video test group 1\",\"address_1\":\"\",\"city\":\"Boston\",\"state\":\"Massachusetts\",\"location_label\":\"Boston, Massachusetts\",\"latitude\":42.3588336,\"longitude\":-71.0578303,\"point_source\":\"geocoded\",\"image\":\"https:\\\/\\\/buddyupapi-staging.us35.cdn-alpha.com\\\/wp-content\\\/uploads\\\/buddyup_112f569cd8658513.jpg\",\"categories\":[\"Archery\",\"BBQ\\\/Cookout\",\"Beachcombing\",\"Bird Watching\"]}],\"generated_at\":1781938412};\n<\/script>\n\n<section id=\"buddyUpExploreWrapper\" class=\"buddyUpContainer buddyUp\">\n    <div class=\"buddyUpExploreLayout\">\n        <div class=\"buddyUpElWrapper buddyUpExploreMapShell\">\n            <button type=\"button\" id=\"buddyUpExploreSidebarToggle\" class=\"buddyUpSideTab\" aria-expanded=\"false\" aria-controls=\"buddyUpExploreSidebar\" data-target=\"buddyUpExploreSidebar\" data-local-toggle=\"true\">\n                <i class=\"fa-solid fa-sliders\" aria-hidden=\"true\"><\/i>\n                <span>Filters<\/span>\n            <\/button>\n\n            <aside class=\"buddyUpElWrapper buddyUpExploreSidebar buddyUpSearchSidebar buddyUpFiltersShelf\" id=\"buddyUpExploreSidebar\" aria-hidden=\"true\">\n\n                <div class=\"buddyUpSearchSidebarSection buddyUpExploreSection buddyUpExploreSectionCollapsible\" id=\"buddyUpExploreMapFocusSection\">\n                    <button type=\"button\" class=\"buddyUpExploreSectionToggle\" data-target=\"buddyUpExploreMapFocusBody\" aria-expanded=\"true\">\n                        Map Focus\n                        <span class=\"buddyUpExploreSectionChevron\" aria-hidden=\"true\">\u25be<\/span>\n                    <\/button>\n                    <div id=\"buddyUpExploreMapFocusBody\" class=\"buddyUpExploreSectionBody\">\n                        <div class=\"buddyUpExploreFocusToggle\" id=\"buddyUpExploreFocusToggle\">\n                            <button type=\"button\" id=\"buddyUpExploreFocusAll\" class=\"buddyUpExploreFocusBtn isActive\">All<\/button>\n                            <button type=\"button\" id=\"buddyUpExploreFocusNearMe\" class=\"buddyUpExploreFocusBtn\">Near Me<\/button>\n                        <\/div>\n                    <\/div>\n                <\/div>\n\n                <div id=\"buddyUpExploreRadiusSection\" class=\"buddyUpSearchSidebarSection buddyUpExploreSection buddyUpExploreSectionCollapsible hidden\">\n                    <button type=\"button\" class=\"buddyUpExploreSectionToggle\" data-target=\"buddyUpExploreRadiusBody\" aria-expanded=\"true\">\n                        Radius\n                        <span class=\"buddyUpExploreSectionChevron\" aria-hidden=\"true\">\u25be<\/span>\n                    <\/button>\n                    <div id=\"buddyUpExploreRadiusBody\" class=\"buddyUpExploreSectionBody\">\n                        <div class=\"buddyUpExploreRadiusRow\">\n                            <input id=\"buddyUpExploreZip\" class=\"buddyUpInput\" type=\"text\" placeholder=\"City, state, or zip\" autocomplete=\"off\" \/>\n                        <\/div>\n                        <div id=\"buddyUpExploreZipResults\" class=\"buddyUpAutocompleteResults hidden\"><\/div>\n                        <div class=\"buddyUpExploreRadiusRow\">\n                            <input id=\"buddyUpExploreRadiusMiles\" class=\"buddyUpExploreRadiusSlider\" type=\"range\" min=\"5\" max=\"100\" step=\"5\" value=\"25\" \/>\n                            <div id=\"buddyUpExploreRadiusValue\" class=\"buddyUpExploreRadiusValue\">25 miles<\/div>\n                        <\/div>\n                        <button id=\"buddyUpExploreApplyRadius\" type=\"button\" class=\"buddyUpButton3 buddyUpExploreApplyRadius\">Apply Radius<\/button>\n                        <div id=\"buddyUpExploreRadiusHint\" class=\"textSmall buddyUpExploreRadiusHint\"><\/div>\n                    <\/div>\n                <\/div>\n\n                <div class=\"buddyUpSearchSidebarSection buddyUpExploreSection buddyUpExploreSectionCollapsible\" id=\"buddyUpExploreCategorySection\">\n                    <button type=\"button\" class=\"buddyUpExploreSectionToggle\" data-target=\"buddyUpExploreCategoryBody\" aria-expanded=\"true\">\n                        Categories\n                        <span class=\"buddyUpExploreSectionChevron\" aria-hidden=\"true\">\u25be<\/span>\n                    <\/button>\n                    <div id=\"buddyUpExploreCategoryBody\" class=\"buddyUpExploreSectionBody\">\n                        <div id=\"buddyUpExploreCategoryFilters\" class=\"buddyUpExploreToggleList\"><\/div>\n                    <\/div>\n                <\/div>\n\n                <div class=\"buddyUpSearchSidebarSection buddyUpExploreSection buddyUpExploreNearbySignedOut\" id=\"buddyUpExploreNearbySignedOut\">\n                    <div class=\"buddyUpExploreSectionTitle\">Nearby<\/div>\n                    <input id=\"buddyUpExploreNearbyRange\" class=\"buddyUpExploreNearbyRange\" type=\"range\" min=\"5\" max=\"100\" value=\"25\" disabled=\"disabled\" \/>\n                    <div class=\"buddyUpExploreNearbyLockCard\">\n                        <div class=\"buddyUpExploreNearbyLockTitle\">See Who\u2019s Out There<\/div>\n                        <div class=\"textSmall\">Join to See Buddies<\/div>\n                    <\/div>\n                <\/div>\n\n                <div id=\"buddyUpExploreFiltersOverlay\" class=\"buddyUpExploreFiltersOverlay hidden\">\n                    <div class=\"buddyUpExploreFiltersOverlayCard\">\n                        <strong>Unlock Full Explore<\/strong>\n                        <div class=\"textSmall\">Sign up or log in to discover nearby people, groups, and events.<\/div>\n                    <\/div>\n                <\/div>\n            <\/aside>\n\n            <div class=\"buddyUpExploreStatusBar\">\n                <div class=\"textSmall\" id=\"buddyUpExploreStatus\">Loading map...<\/div>\n            <\/div>\n\n            <div class=\"buddyUpExploreTopTabs\" id=\"buddyUpExploreTopTabs\">\n                <div class=\"buddyUpExploreTopTabsLabel\">View<\/div>\n                <div id=\"buddyUpExploreDatasetToggles\" class=\"buddyUpExploreTopTabsList\"><\/div>\n                <div id=\"buddyUpExploreLockMessage\" class=\"textSmall buddyUpExploreLock hidden\"><\/div>\n            <\/div>\n\n            <div class=\"buddyUpExploreMapCard\">\n                <div id=\"buddyUpExploreMap\" class=\"buddyUpExploreMap\"><\/div>\n                <div id=\"buddyUpExploreMapLoading\" class=\"buddyUpExploreMapLoading hidden\" aria-live=\"polite\" aria-busy=\"true\">\n                    <div class=\"buddyUpExploreMapLoadingInner\">\n                        <span class=\"buddyUpExploreSpinner\" aria-hidden=\"true\"><\/span>\n                        <span id=\"buddyUpExploreMapLoadingText\">Loading map data...<\/span>\n                    <\/div>\n                <\/div>\n            <\/div>\n\n            <div id=\"buddyUpExploreSignedOutTease\" class=\"buddyUpExploreSignedOutTease hidden\">\n                <button type=\"button\" id=\"buddyUpExploreTeaseClose\" class=\"buddyUpExploreTeaseClose\" aria-label=\"Close\">\u00d7<\/button>\n                <div class=\"buddyUpExploreTeaseTitle\">Join to see who shared this!<\/div>\n                <div class=\"buddyUpExploreTeaseThumbs\" id=\"buddyUpExploreTeaseThumbs\">\n                    <span><\/span><span><\/span><span><\/span><span><\/span><span><\/span><span><\/span>\n                <\/div>\n                <div class=\"buddyUpExploreTeaseCopy\">Join BuddyUpGo to connect with people who share your interests<\/div>\n                <a href=\"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/register\/\" class=\"buddyUpButton1 buddyUpExploreTeaseCta\">Join FREE to Connect<\/a>\n            <\/div>\n\n            <div id=\"buddyUpExploreSignedOutBottomCta\" class=\"buddyUpExploreSignedOutBottomCta hidden\">\n                <span>Explore is better with Buddies.<\/span>\n                <a href=\"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/register\/\" class=\"buddyUpButton1\">Join FREE to Connect<\/a>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/section>\n<script>(async function(){if(!document.getElementById(\"buddyUpExploreWrapper\"))return;const h=document.getElementById(\"buddyUpExploreStatus\"),Ne=document.getElementById(\"buddyUpExploreMap\"),te=document.getElementById(\"buddyUpExploreMapLoading\"),pe=document.getElementById(\"buddyUpExploreMapLoadingText\"),ne=document.getElementById(\"buddyUpExploreDatasetToggles\"),re=document.getElementById(\"buddyUpExploreCategoryFilters\"),j=document.getElementById(\"buddyUpExploreLockMessage\"),ge=document.getElementById(\"buddyUpExploreNearbySignedOut\"),H=document.getElementById(\"buddyUpExploreSignedOutTease\"),fe=document.getElementById(\"buddyUpExploreTeaseThumbs\"),ye=document.getElementById(\"buddyUpExploreTeaseClose\"),be=document.getElementById(\"buddyUpExploreSignedOutBottomCta\"),u=document.getElementById(\"buddyUpExploreSidebar\"),S=document.getElementById(\"buddyUpExploreSidebarToggle\"),me=document.getElementById(\"buddyUpExploreFiltersOverlay\"),z=document.getElementById(\"buddyUpExploreMapFocusSection\"),k=document.getElementById(\"buddyUpExploreFocusAll\"),F=document.getElementById(\"buddyUpExploreFocusNearMe\"),V=document.getElementById(\"buddyUpExploreSearchNearSection\"),ie=document.getElementById(\"buddyUpExploreSearchNear\"),he=document.getElementById(\"buddyUpExploreSearchNearOptions\"),Ae=document.getElementById(\"buddyUpExploreSearchNearApply\"),D=document.getElementById(\"buddyUpExploreSearchNearHint\"),G=document.getElementById(\"buddyUpExploreCategorySection\"),q=document.getElementById(\"buddyUpExploreRadiusSection\"),E=document.getElementById(\"buddyUpExploreZip\"),x=document.getElementById(\"buddyUpExploreZipResults\"),b=document.getElementById(\"buddyUpExploreRadiusMiles\"),Ee=document.getElementById(\"buddyUpExploreRadiusValue\"),Ue=document.getElementById(\"buddyUpExploreApplyRadius\"),U=document.getElementById(\"buddyUpExploreRadiusHint\");let se=null,w=null;const B=typeof BUDDYUP<\"u\"&&typeof BUDDYUP.getCurrentUser==\"function\"?BUDDYUP.getCurrentUser():null,Xe=typeof BUDDYUP<\"u\"&&typeof BUDDYUP.getSsrAuthState==\"function\"?BUDDYUP.getSsrAuthState():{logged_in:0,user_id:0,subscription_tier:0},c=!!(B&&B.id||typeof BUDDYUP.isLoggedInFast==\"function\"&&BUDDYUP.isLoggedInFast()),v=Number(B&&B.id||0);if((()=>{if(!c||new URLSearchParams(window.location.search||\"\").get(\"stay_explore\")===\"1\")return!1;const t=buddyUpVariables&&buddyUpVariables.for_me_link?String(buddyUpVariables.for_me_link):\"\";if(!t)return!1;try{const n=new URL(window.location.href),r=new URL(t,window.location.origin);return n.pathname===r.pathname?!1:(r.searchParams.set(\"home_tab\",\"explore\"),typeof BUDDYUP<\"u\"&&typeof BUDDYUP.pjaxNavigate==\"function\"?BUDDYUP.pjaxNavigate(r.toString()):window.location.href=r.toString(),!0)}catch{return!1}})())return;const W=()=>{x&&(x.innerHTML=\"\",x.classList.add(\"hidden\"))},Me=e=>{w={latitude:Number(e.latitude),longitude:Number(e.longitude),label:String(e.label||\"\")},E&&(E.value=w.label),U&&(U.innerText=`Selected ${w.label}.`),W()},Te=e=>{if(x){if(!Array.isArray(e)||e.length===0){W();return}x.innerHTML=e.map((t,n)=>`\n                <button type=\"button\" id=\"buddyUpExploreZipAuto_${n}\" class=\"buddyUpButton3\" style=\"margin:0 0 .35rem 0; text-align:left; width:100%; white-space:normal;\">${BUDDYUP.escapeHtml(t.label||\"\")}<\/button>\n            `).join(\"\"),x.classList.remove(\"hidden\"),e.forEach((t,n)=>{const r=document.getElementById(`buddyUpExploreZipAuto_${n}`);r&&r.addEventListener(\"click\",o=>{o.preventDefault(),Me(t)})})}};!c&&typeof BUDDYUP.syncAuthStateWithServer==\"function\"&&BUDDYUP.syncAuthStateWithServer(!1);const s={mode:\"adventures\",categories:new Set,allByMode:{adventures:[],events:[],groups:[],buddies:[],users:[]},loadedModes:{adventures:!1,events:!1,groups:!1,buddies:!1,users:!1},zipCenter:null,radiusMiles:25,buddyIds:new Set,sidebarCollapsed:!1,mapFocus:\"all\",userNearCenter:null,searchNearCenter:null,searchNearSuggestions:[],searchNearDebounceTimer:null},N=window.buddyUpExploreSSR&&typeof window.buddyUpExploreSSR==\"object\"?window.buddyUpExploreSSR:null;let ve=!1;const Le=async()=>{const e=n=>!n||typeof n!=\"object\"||String(n.status||\"\").toLowerCase()!==\"success\"?null:(n.data&&typeof n.data==\"object\"?n.data:null)||n;if(N&&String(N.status||\"\").toLowerCase()===\"success\")return N;const t=await BUDDYUP.apiRequest(\"explore-aggregate\",{limit_adventures:350,limit_events:80,limit_groups:40,include_events:1,include_groups:1});return e(t)},Z=(e,t)=>!e||typeof e!=\"object\"?[]:Array.isArray(e[t])?e[t]:e.data&&typeof e.data==\"object\"&&Array.isArray(e.data[t])?e.data[t]:[],Se=\"buddyupExploreGeoCacheV1\",Ce=1e3*60*60*24*30,$={},R={};let f=null,I=null,J=0;const p=e=>String(e||\"\").replace(\/[&<>\\\"]\/g,t=>({\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\"})[t]),oe=()=>window.matchMedia(\"(max-width: 980px)\").matches,De=async()=>{if(window.L&&typeof window.L.map==\"function\")return!0;if(!document.getElementById(\"buddyupLeafletCss\")){const e=document.createElement(\"link\");e.id=\"buddyupLeafletCss\",e.rel=\"stylesheet\",e.href=\"https:\/\/unpkg.com\/leaflet@1.9.4\/dist\/leaflet.css\",document.head.appendChild(e)}return await new Promise((e,t)=>{if(document.getElementById(\"buddyupLeafletJs\"))return e();const n=document.createElement(\"script\");n.id=\"buddyupLeafletJs\",n.src=\"https:\/\/unpkg.com\/leaflet@1.9.4\/dist\/leaflet.js\",n.onload=e,n.onerror=t,document.body.appendChild(n)}),!!(window.L&&typeof window.L.map==\"function\")},$e=()=>{try{const e=window.localStorage?window.localStorage.getItem(Se):\"\";if(!e)return;const t=JSON.parse(e);if(!t||typeof t!=\"object\")return;const n=Date.now();Object.keys(t).forEach(r=>{const o=t[r];if(!o||typeof o!=\"object\")return;const i=Number(o.ts||0);!isFinite(i)||n-i>Ce||!isFinite(Number(o.latitude))||!isFinite(Number(o.longitude))||($[r]={latitude:Number(o.latitude),longitude:Number(o.longitude),city:String(o.city||\"\"),state:String(o.state||\"\"),label:String(o.label||r)})})}catch{}},Ie=()=>{try{if(!window.localStorage)return;const e={},t=Date.now();Object.keys($).forEach(n=>{const r=$[n];!r||!isFinite(r.latitude)||!isFinite(r.longitude)||(e[n]={latitude:Number(r.latitude),longitude:Number(r.longitude),city:String(r.city||\"\"),state:String(r.state||\"\"),label:String(r.label||\"\"),ts:t})}),window.localStorage.setItem(Se,JSON.stringify(e))}catch{}},Pe=(e,t)=>($[e]=t,Ie(),t),K=async e=>{const t=String(e||\"\").trim();if(!t)return null;const n=t.toLowerCase();if($[n])return $[n];if(R[n])return R[n];R[n]=(async()=>{const r=await BUDDYUP.locationAutocompleteSearch(t);if(!Array.isArray(r)||r.length===0)return null;const o=r[0];return!o||!isFinite(o.latitude)||!isFinite(o.longitude)?null:Pe(n,{latitude:Number(o.latitude),longitude:Number(o.longitude),city:o.city||\"\",state:o.state||\"\",label:o.label||t})})();try{return await R[n]}finally{delete R[n]}},_e=async(e,t,n)=>{const r=Array.isArray(e)?e:[];if(!r.length)return[];const o=Math.max(1,Number(t||1)),i=new Array(r.length);let l=0;const d=Array.from({length:Math.min(o,r.length)},async()=>{for(;;){const a=l;if(l+=1,a>=r.length)return;i[a]=await n(r[a],a)}});return await Promise.all(d),i},xe=e=>[e&&e.city?e.city:\"\",e&&e.state?e.state:\"\"].filter(Boolean).join(\", \").trim(),ae=async(e,t)=>{const n=Array.from(new Set((e||[]).map(i=>String(i||\"\").trim()).filter(Boolean))),r={};return n.length&&(h&&t&&(h.innerText=`${t} (${n.length} locations)...`),(await _e(n,8,async i=>{const l=await K(i);return[i,l]})).forEach(i=>{if(!Array.isArray(i)||i.length<2)return;const l=String(i[0]||\"\").trim(),d=i[1];!l||!d||(r[l]=d)})),r},ke=(e,t,n,r)=>{const o=g=>g*(Math.PI\/180),l=o(n-e),d=o(r-t),a=Math.sin(l\/2)*Math.sin(l\/2)+Math.cos(o(e))*Math.cos(o(n))*Math.sin(d\/2)*Math.sin(d\/2);return 3958.8*(2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a)))},le={adventures:{label:\"Adventures\",locked:!1},events:{label:\"Events\",locked:!1},groups:{label:\"Groups\",locked:!1},buddies:{label:\"Buddies\",locked:!c},users:{label:\"Users\",locked:!c}},Fe=()=>{H&&H.classList.toggle(\"hidden\",c),be&&be.classList.toggle(\"hidden\",c),ge&&ge.classList.toggle(\"hidden\",c),u&&u.classList.toggle(\"isLoggedOut\",!c),me&&me.classList.toggle(\"hidden\",c),[ie,Ae,F,k].forEach(e=>{e&&(c?e.removeAttribute(\"disabled\"):e.setAttribute(\"disabled\",\"disabled\"))}),ye&&H&&ye.addEventListener(\"click\",()=>H.classList.add(\"hidden\")),c?G&&G.classList.remove(\"hidden\"):(q&&q.classList.add(\"hidden\"),G&&G.classList.add(\"hidden\")),c?(z&&z.classList.remove(\"hidden\"),V&&V.classList.remove(\"hidden\")):(z&&z.classList.add(\"hidden\"),V&&V.classList.add(\"hidden\"))},Q=()=>{k&&k.classList.toggle(\"isActive\",s.mapFocus===\"all\"),F&&F.classList.toggle(\"isActive\",s.mapFocus===\"nearme\")},Re=async()=>{if(!c||!isFinite(v)||v<=0)return null;if(s.userNearCenter)return s.userNearCenter;let e=\"\";const t=B.zip_code||B.zip||B.postal_code||\"\";if(t&&(e=String(t).trim()),!e){const r=await BUDDYUP.apiRequest(\"account-get\",{id:v,fields:\"id,postal_code,zip,zip_code,city,state\"});if(r&&r.status===\"success\"){const o=r.zip_code||r.zip||r.postal_code||\"\";if(o&&(e=String(o).trim()),!e){const i=r.city||\"\",l=r.state||\"\";e=[i,l].filter(Boolean).join(\", \")}}}if(!e)return null;const n=await K(e);return n?(s.userNearCenter={latitude:Number(n.latitude),longitude:Number(n.longitude)},s.userNearCenter):null},tt=()=>{if(!he)return;const e=Array.isArray(s.searchNearSuggestions)?s.searchNearSuggestions:[];he.innerHTML=e.map(t=>{const n=t&&t.label?String(t.label):\"\";return n?`<option value=\"${p(n)}\"><\/option>`:\"\"}).join(\"\")},nt=async()=>{if(!c||!ie)return;const e=String(ie.value||\"\").trim();if(!e){s.searchNearCenter=null,D&&(D.innerText=\"\"),m();return}const t=await K(e);if(!t){D&&(D.innerText=\"Could not locate that place.\");return}s.searchNearCenter={latitude:Number(t.latitude),longitude:Number(t.longitude),label:String(t.label||e)},D&&(D.innerText=`Centered near ${s.searchNearCenter.label}.`),m(),P()},O=()=>{if(!u||!S)return;if(!oe()){s.sidebarCollapsed=!1,typeof BUDDYUP.closeFiltersShelf==\"function\"&&BUDDYUP.closeFiltersShelf(),u.classList.remove(\"isCollapsed\"),u.classList.remove(\"isOpen\"),u.classList.remove(\"activeMobileMenu\"),u.setAttribute(\"aria-hidden\",\"false\"),S.classList.add(\"hidden\"),S.setAttribute(\"aria-expanded\",\"true\");return}const t=!s.sidebarCollapsed;if(S.classList.remove(\"hidden\"),u.classList.toggle(\"isCollapsed\",!t),S.setAttribute(\"aria-expanded\",t?\"true\":\"false\"),t){typeof BUDDYUP.openFiltersShelf==\"function\"?BUDDYUP.openFiltersShelf(u):(u.classList.add(\"isOpen\"),u.classList.add(\"activeMobileMenu\"),u.setAttribute(\"aria-hidden\",\"false\"));return}typeof BUDDYUP.closeFiltersShelf==\"function\"?BUDDYUP.closeFiltersShelf():(u.classList.remove(\"isOpen\"),u.classList.remove(\"activeMobileMenu\"),u.setAttribute(\"aria-hidden\",\"true\"))},P=()=>{oe()&&(s.sidebarCollapsed=!0,O())},Oe=()=>{const t=(Array.isArray(s.allByMode.adventures)?s.allByMode.adventures:[]).flatMap(r=>{const o=r&&r.image?[String(r.image)]:[],i=Array.isArray(r&&r.media)?r.media.map(l=>l&&l.url?String(l.url):\"\").filter(Boolean):[];return o.concat(i)}).filter(Boolean),n=Array.from(new Set(t));for(let r=n.length-1;r>0;r--){const o=Math.floor(Math.random()*(r+1)),i=n[r];n[r]=n[o],n[o]=i}return n.slice(0,6)},we=()=>{if(!fe)return;const e=Oe();e.length&&(fe.innerHTML=e.map((t,n)=>`<img decoding=\"async\" src=\"${p(t)}\" alt=\"Adventure preview ${n+1}\" \/>`).join(\"\"))},_=(e,t)=>{if(pe&&t&&(pe.innerText=String(t)),!!te){if(e){te.classList.remove(\"hidden\"),I&&I.clearLayers();return}te.classList.add(\"hidden\")}},de=()=>{if(ne.innerHTML=\"\",!c){[\"adventures\",\"events\",\"groups\"].forEach(e=>{const t=le[e],n=`buddyUpExploreMode_${e}`,r=s.mode===e;ne.insertAdjacentHTML(\"beforeend\",`\n                    <button id=\"${n}\" type=\"button\" class=\"buddyUpButton3 buddyUpExploreToggle ${r?\"isActive\":\"\"}\">\n                        ${t.label}\n                    <\/button>\n                `);const o=document.getElementById(n);o&&o.addEventListener(\"click\",async()=>{if(s.mode===e)return;const i=++J;_(!0,`Loading ${t.label}...`),s.mode=e,s.categories=new Set;try{await ce(e),de(),X(),ue(),m()}finally{i===J&&_(!1)}})}),j.classList.add(\"hidden\"),j.innerHTML=\"\";return}Object.keys(le).forEach(e=>{const t=le[e],n=`buddyUpExploreMode_${e}`;ne.insertAdjacentHTML(\"beforeend\",`\n                <button id=\"${n}\" type=\"button\" class=\"buddyUpButton3 buddyUpExploreToggle ${s.mode===e?\"isActive\":\"\"}\" ${t.locked?'disabled=\"disabled\"':\"\"}>\n                    ${t.locked?\"\\u{1F512} \":\"\"}${t.label}\n                <\/button>\n            `);const r=document.getElementById(n);r&&r.addEventListener(\"click\",async()=>{if(s.mode===e)return;const o=++J;_(!0,`Loading ${t.label}...`),s.mode=e,s.categories=new Set;try{await ce(e),de(),X(),ue(),m()}finally{o===J&&_(!1)}})}),j.classList.add(\"hidden\"),j.innerHTML=\"\"},Ye=()=>{const e=s.allByMode[s.mode]||[],t={};return e.forEach(n=>{(Array.isArray(n.categories)?n.categories:[]).forEach(o=>{const i=String(o||\"\").trim();if(!i)return;const l=i.toLowerCase();t[l]=i})}),Object.keys(t).sort().map(n=>t[n])},X=()=>{re.innerHTML=\"\";const e=Ye();if(!e.length){re.innerHTML='<div class=\"textSmall\" style=\"opacity:.75;\">No categories found.<\/div>';return}e.forEach((t,n)=>{const r=`buddyUpExploreCat_${n}`,o=s.categories.has(t.toLowerCase());re.insertAdjacentHTML(\"beforeend\",`\n                <button id=\"${r}\" type=\"button\" class=\"buddyUpButton3 buddyUpExploreToggle buddyUpExploreCategoryToggle ${o?\"isActive\":\"\"}\">${p(t)}<\/button>\n            `);const i=document.getElementById(r);i&&i.addEventListener(\"click\",()=>{const l=t.toLowerCase();s.categories.has(l)?s.categories=new Set:s.categories=new Set([l]),X(),m(),P()})})},ue=()=>{c?q.classList.remove(\"hidden\"):q.classList.add(\"hidden\")},ee=()=>{if(!b||!Ee)return;const e=Number(b.value||s.radiusMiles||25);Ee.innerText=`${e} miles`},je=()=>{if(!u)return;u.querySelectorAll(\".buddyUpExploreSectionToggle[data-target]\").forEach(t=>{if(!t||t.dataset.bound===\"1\")return;const n=String(t.getAttribute(\"data-target\")||\"\").trim();if(!n)return;const r=document.getElementById(n),o=t.closest(\".buddyUpExploreSectionCollapsible\");!r||!o||(t.dataset.bound=\"1\",t.addEventListener(\"click\",()=>{const i=o.classList.toggle(\"isCollapsed\");t.setAttribute(\"aria-expanded\",i?\"false\":\"true\")}))})},He=e=>(e||[]).filter(t=>t&&isFinite(Number(t.latitude))&&isFinite(Number(t.longitude))).map(t=>({type:\"adventure\",id:Number(t.id),title:t.title||\"Adventure\",subtitle:[t.city,t.state].filter(Boolean).join(\", \")||t.location_label||\"\",description:t.body||\"\",latitude:Number(t.latitude),longitude:Number(t.longitude),categories:Array.isArray(t.categories)?t.categories:[],image:t.preview_url||\"\",media:Array.isArray(t.media)?t.media:[]})),ze=async e=>{let t=Array.isArray(e)?e:null;if(!t){const a=await BUDDYUP.apiRequest(\"events-search\",{});t=Z(a,\"upcoming\")}const n=t.slice(0,60),r=a=>{const y=[[a.address,a.address2,a.city,a.state,a.zip].filter(Boolean).join(\", \"),[a.address,a.city,a.state,a.zip].filter(Boolean).join(\", \"),String(a.location_name||\"\").trim(),String(a.location_label||\"\").trim(),[a.city,a.state,a.zip].filter(Boolean).join(\", \"),[a.city,a.state].filter(Boolean).join(\", \"),String(a.zip||\"\").trim()];return Array.from(new Set(y.map(g=>String(g||\"\").trim()).filter(Boolean)))},o=a=>{const y=r(a);return y.length>0?y[0]:\"\"},i=n.filter(a=>!isFinite(Number(a&&a.latitude))||!isFinite(Number(a&&a.longitude))).flatMap(a=>r(a)),l=await ae(i,\"Resolving event locations\"),d=[];for(const a of n){const y=o(a),g=Number(a&&a.latitude),A=Number(a&&a.longitude);let M=null,T=null;if(isFinite(g)&&isFinite(A)&&!(g===0&&A===0))M=g,T=A;else{const C=r(a).map(Y=>l[Y]||null).find(Y=>Y&&isFinite(Number(Y.latitude))&&isFinite(Number(Y.longitude)))||null;if(!C)continue;M=Number(C.latitude),T=Number(C.longitude)}d.push({type:\"event\",id:Number(a.event_id||a.id||0),title:a.event_name||a.name||\"Event\",subtitle:[a.city,a.state].filter(Boolean).join(\", \")||y,latitude:M,longitude:T,categories:Array.isArray(a.event_categories)?a.event_categories:Array.isArray(a.categories)?a.categories:[],image:a.event_image||a.image||\"\"})}return d},Ve=async e=>{let t=Array.isArray(e)?e:null;if(!t){const d=await BUDDYUP.apiRequest(\"groups-search\",{});t=Z(d,\"groups\")}const r=t.slice(0,30).map(d=>{const a=[d.city,d.state].filter(Boolean).join(\", \")||d.location_label||d.address_1||d.address||\"\";return{group:d,locText:a}}),o=r.filter(d=>!isFinite(Number(d&&d.group&&d.group.latitude))||!isFinite(Number(d&&d.group&&d.group.longitude))).map(d=>d.locText),i=await ae(o,\"Resolving group locations\"),l=[];for(const d of r){const a=d.group,y=d.locText||\"\",g=Number(a&&a.latitude),A=Number(a&&a.longitude);let M=null,T=null;if(isFinite(g)&&isFinite(A)&&!(g===0&&A===0))M=g,T=A;else{const C=i[y]||null;if(!C)continue;M=Number(C.latitude),T=Number(C.longitude)}l.push({type:\"group\",id:Number(a.id||0),title:a.name||\"Group\",subtitle:y,latitude:M,longitude:T,categories:Array.isArray(a.categories)?a.categories:[],image:a.image||\"\"})}return l},Ge=async()=>{if(!c||!isFinite(v)||v<=0)return;const e=await BUDDYUP.apiRequest(\"account-get\",{id:v,include:\"buddies\",fields:\"id,buddies\"});(e&&Array.isArray(e.buddies)?e.buddies:[]).forEach(n=>{n&&n.id&&s.buddyIds.add(Number(n.id))})},qe=async()=>{const e=await BUDDYUP.apiRequest(\"users-search\",{location:\"\",categories:[]}),n=Z(e,\"users\").slice(0,250).filter(i=>!i||!i.id?!1:isFinite(v)&&v>0?Number(i.id)!==v:!0),r=await ae(n.map(i=>xe(i)),\"Resolving buddies and users locations\"),o=[];for(const i of n){const l=xe(i),d=r[l]||null;d&&o.push({type:s.buddyIds.has(Number(i.id))?\"buddy\":\"user\",id:Number(i.id),title:(i.username||\"\").trim()||(i.full_name||\"\").trim()||`${i.first_name||\"\"} ${i.last_name||\"\"}`.trim()||\"User\",subtitle:l,latitude:Number(d.latitude),longitude:Number(d.longitude),categories:Array.isArray(i.interests)?i.interests:[],image:i.profile_image?BUDDYUP.profileImageSrc(i.profile_image):\"\"})}s.allByMode.buddies=o.filter(i=>i.type===\"buddy\"),s.allByMode.users=o.filter(i=>i.type===\"user\")},ce=async e=>{if(!(!e||s.loadedModes[e]===!0)){if(e===\"adventures\"){h.innerText=\"Loading Adventures...\";let t=[];if(!ve&&N&&String(N.status||\"\").toLowerCase()===\"success\"&&Array.isArray(N.adventures))t=N.adventures,ve=!0;else{const n=await BUDDYUP.apiRequest(\"adventures-explore-map\",{limit:350});t=Z(n,\"adventures\")}s.allByMode.adventures=He(t),s.loadedModes.adventures=!0,we();return}if(e===\"events\"){h.innerText=\"Loading Events...\";const t=await Le(),n=t&&Array.isArray(t.events)?t.events:null;s.allByMode.events=await ze(n),s.loadedModes.events=!0;return}if(e===\"groups\"){h.innerText=\"Loading Groups...\";const t=await Le(),n=t&&Array.isArray(t.groups)?t.groups:null;s.allByMode.groups=await Ve(n),s.loadedModes.groups=!0;return}if(c&&(e===\"users\"||e===\"buddies\")){h.innerText=\"Loading Buddies and Users...\",await Ge(),await qe(),s.loadedModes.users=!0,s.loadedModes.buddies=!0;return}}},Be=()=>s.searchNearCenter?{latitude:Number(s.searchNearCenter.latitude),longitude:Number(s.searchNearCenter.longitude)}:s.mapFocus===\"nearme\"&&s.userNearCenter?{latitude:Number(s.userNearCenter.latitude),longitude:Number(s.userNearCenter.longitude)}:null,We=()=>{let e=s.allByMode[s.mode]||[];s.categories.size>0&&(e=e.filter(n=>(Array.isArray(n.categories)?n.categories.map(o=>String(o).toLowerCase()):[]).some(o=>s.categories.has(o))));const t=Be();return t&&s.mapFocus===\"nearme\"&&isFinite(s.radiusMiles)&&(e=e.filter(n=>ke(t.latitude,t.longitude,Number(n.latitude),Number(n.longitude))<=s.radiusMiles)),e},Ze=e=>e.type===\"adventure\"&&e.image?L.divIcon({className:\"buddyUpExplorePinWrap\",html:`<div class=\"buddyUpExplorePin\"><img decoding=\"async\" src=\"${p(e.image)}\" alt=\"Adventure\" \/><span class=\"buddyUpExplorePinDot\"><\/span><\/div>`,iconSize:[64,72],iconAnchor:[32,60],popupAnchor:[0,-56]}):null,Je=e=>{if(!e||!e.id||!c)return\"\";const t=Number(e.id);if(!isFinite(t)||t<=0)return\"\";const n=(r,o)=>{const i=String(r||\"\").trim();return i?i.indexOf(\"?\")>=0?`${i}${i.endsWith(\"?\")||i.endsWith(\"&\")?\"\":\"&\"}${o}=${t}`:`${i}${i.endsWith(\"\/\")?\"\":\"\/\"}${t}`:\"\"};return e.type===\"adventure\"?n(buddyUpVariables&&buddyUpVariables.adventure_link?buddyUpVariables.adventure_link:\"\",\"adventure_id\"):e.type===\"event\"?n(buddyUpVariables&&buddyUpVariables.event_link?buddyUpVariables.event_link:\"\",\"event_id\"):e.type===\"group\"?n(buddyUpVariables&&buddyUpVariables.group_link?buddyUpVariables.group_link:\"\",\"group_id\"):e.type===\"user\"||e.type===\"buddy\"?n(buddyUpVariables&&buddyUpVariables.account_link?buddyUpVariables.account_link:\"\",\"user_id\"):\"\"},Ke=e=>{const t=Je(e);if(e.type!==\"adventure\")return`\n                <div class=\"buddyUpExplorePopupCard\">\n                    <div class=\"buddyUpExplorePopupTitle\">${p(e.title)}<\/div>\n                    ${e.subtitle?`<div class=\"buddyUpExplorePopupSubtitle\">${p(e.subtitle)}<\/div>`:\"\"}\n                    ${e.image?`<img decoding=\"async\" class=\"buddyUpExplorePopupHero\" src=\"${p(e.image)}\" alt=\"${p(e.title)}\" \/>`:\"\"}\n                    ${t?`<a href=\"${p(t)}\" class=\"buddyUpButton1 buddyUpExplorePopupLink\">Open ${p(e.type===\"buddy\"?\"Buddy\":e.type.charAt(0).toUpperCase()+e.type.slice(1))}<\/a>`:\"\"}\n                <\/div>\n            `;const n=String(e.description||\"\").replace(\/<[^>]*>\/g,\" \").trim(),r=n.length>0?n:\"\",o=Array.isArray(e.media)?e.media:[],i=o.length>0?`<div class=\"buddyUpExplorePopupGallery\">${o.map((l,d)=>{const a=l&&l.url?p(l.url):\"\",y=l&&String(l.type||\"\").toLowerCase()===\"video\"?\"video\":\"image\",g=l&&l.description?p(l.description):\"\";return a?`\n                    <div class=\"buddyUpExplorePopupMediaItem\">\n                        ${y===\"video\"?BUDDYUP.renderVideoMediaHtml(l.url,{className:\"buddyUpExplorePopupMedia\",title:`${e&&e.title?e.title:\"Adventure\"} video ${d+1}`}):`<img decoding=\"async\" src=\"${a}\" alt=\"${p(l&&l.description?l.description:`Adventure media ${d+1}`)}\" class=\"buddyUpExplorePopupMedia\" \/>`}\n                        ${g?`<div class=\"buddyUpExplorePopupMediaCaption\">${g}<\/div>`:\"\"}\n                    <\/div>\n                `:\"\"}).join(\"\")}<\/div>`:e.image?`<img decoding=\"async\" class=\"buddyUpExplorePopupHero\" src=\"${p(e.image)}\" alt=\"${p(e.title)}\" \/>`:\"\";return`\n            <div class=\"buddyUpExplorePopupCard\">\n                <div class=\"buddyUpExplorePopupHeader\">\n                    <div class=\"buddyUpExplorePopupBadge\">Adventure<\/div>\n                    <div class=\"buddyUpExplorePopupTitle\">${p(e.title)}<\/div>\n                    ${e.subtitle?`<div class=\"buddyUpExplorePopupSubtitle\">${p(e.subtitle)}<\/div>`:\"\"}\n                <\/div>\n                ${r?`<div class=\"buddyUpExplorePopupDescription\">${p(r)}<\/div>`:\"\"}\n                ${i}\n                ${t?`<a href=\"${p(t)}\" class=\"buddyUpButton1 buddyUpExplorePopupLink\">Open Adventure<\/a>`:\"\"}\n            <\/div>\n        `},m=()=>{if(!f||!I)return;const e=We();if(I.clearLayers(),e.length===0){h.innerText=\"No map results match the current filters.\";return}h.innerText=`Showing ${e.length} ${s.mode}.`;const t=[];if(e.forEach(n=>{const r=Number(n.latitude),o=Number(n.longitude);if(!isFinite(r)||!isFinite(o))return;const i={},l=Ze(n);l&&(i.icon=l);const d=L.marker([r,o],i);d.bindPopup(()=>Ke(n),{maxWidth:420,minWidth:280,className:\"buddyUpExplorePopup\"}),I.addLayer(d),t.push(d)}),t.length===1)f.setView(t[0].getLatLng(),11);else if(t.length>1){const n=Be();if(n){s.mapFocus===\"nearme\"?f.setView([n.latitude,n.longitude],10):f.setView([n.latitude,n.longitude],9);return}const o=L.featureGroup(t).getBounds(),i=o.getSouthWest(),l=o.getNorthEast(),d=(Number(i.lat)+Number(l.lat))\/2,a=(Number(i.lng)+Number(l.lng))\/2;f.fitBounds(o.pad(.16)),f.panTo([d,a])}};if(!await De()){h.innerText=\"Map library failed to load.\";return}$e(),f=L.map(Ne,{scrollWheelZoom:!0}),L.tileLayer(\"https:\/\/{s}.tile.openstreetmap.org\/{z}\/{x}\/{y}.png\",{maxZoom:19,attribution:\"&copy; OpenStreetMap contributors\"}).addTo(f),I=L.layerGroup().addTo(f),_(!0,\"Loading Adventures...\"),await ce(\"adventures\"),s.sidebarCollapsed=oe(),Fe(),we(),Q(),de(),X(),ue(),je(),ee(),m(),_(!1),O(),k&&k.addEventListener(\"click\",()=>{c&&(s.mapFocus=\"all\",Q(),m(),P())}),F&&F.addEventListener(\"click\",async()=>{if(!c)return;if(!await Re()){U&&(U.innerText=\"Set your location on account to use Near Me.\");return}s.mapFocus=\"nearme\",s.radiusMiles=15,b&&(b.value=\"15\"),ee(),U&&(U.innerText=\"Near Me active (15 mile radius).\"),Q(),m(),P()}),S&&S.addEventListener(\"click\",()=>{const e=u&&(u.classList.contains(\"isOpen\")||u.classList.contains(\"activeMobileMenu\"));s.sidebarCollapsed=!!e,O()}),u&&typeof BUDDYUP.initShelfSwipeGestures==\"function\"&&BUDDYUP.initShelfSwipeGestures({shelf:u,tab:S,onOpen:()=>{s.sidebarCollapsed=!1,O()},onClose:P,isOpen:()=>u.classList.contains(\"isOpen\")||u.classList.contains(\"activeMobileMenu\"),key:\"explore.sidebar\"}),window&&typeof window.addEventListener==\"function\"&&window.addEventListener(\"resize\",O),f&&typeof f.on==\"function\"&&f.on(\"click\",P),Ue&&Ue.addEventListener(\"click\",async()=>{const e=String(E&&E.value?E.value:\"\").trim();if(!e){s.searchNearCenter=null,U.innerText=\"Radius cleared.\",m();return}const t=w&&w.label===e?w:await K(e);if(!t){U.innerText=\"Could not locate that place.\";return}s.searchNearCenter={latitude:Number(t.latitude),longitude:Number(t.longitude),label:t.label||e},s.mapFocus=\"nearme\",s.radiusMiles=Number(b&&b.value?b.value:25),ee(),Q(),U.innerText=`Showing ${s.radiusMiles} mile radius around ${s.searchNearCenter.label}.`,m()}),E&&(E.addEventListener(\"input\",()=>{const e=String(E.value||\"\").trim();if(w=null,se&&clearTimeout(se),e.length<3){W();return}se=setTimeout(async()=>{const t=await BUDDYUP.locationAutocompleteSearch(e);Te(t)},250)}),document.addEventListener(\"click\",e=>{x&&!x.contains(e.target)&&e.target!==E&&W()})),b&&b.addEventListener(\"input\",()=>{s.radiusMiles=Number(b.value||25),ee()})})();\n<\/script><\/div><\/div>\n            <\/section>\n        <\/section>\n\n        <section id=\"buddyUpHomeForYouPanel\" class=\"buddyUpHomeModePanel\" data-home-mode-panel=\"for-you\" role=\"tabpanel\" aria-labelledby=\"buddyUpHomeForYouTab\" aria-hidden=\"true\">\n            <div id=\"buddyUpForYouStatus\" class=\"buddyUpForYouStatus\">Preparing your feed...<\/div>\n\n            <section class=\"buddyUpForYouRail\" data-rail=\"events\">\n                <div class=\"buddyUpForYouRailHead\">\n                    <h2>Events for You<\/h2>\n                    <a href=\"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/events\/\" class=\"buddyUpLink\">See all events<\/a>\n                <\/div>\n                <div id=\"buddyUpForYouEvents\" class=\"buddyUpForYouRailTrack\"><\/div>\n            <\/section>\n\n            <section class=\"buddyUpForYouRail\" data-rail=\"groups\">\n                <div class=\"buddyUpForYouRailHead\">\n                    <h2>Groups for You<\/h2>\n                    <a href=\"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/groups\/\" class=\"buddyUpLink\">See all groups<\/a>\n                <\/div>\n                <div id=\"buddyUpForYouGroups\" class=\"buddyUpForYouRailTrack\"><\/div>\n            <\/section>\n\n            <section class=\"buddyUpForYouRail\" data-rail=\"adventures\">\n                <div class=\"buddyUpForYouRailHead\">\n                    <h2>Adventures for You<\/h2>\n                    <a href=\"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/explore\/\" class=\"buddyUpLink\">Browse explore<\/a>\n                <\/div>\n                <div id=\"buddyUpForYouAdventures\" class=\"buddyUpForYouRailTrack\"><\/div>\n            <\/section>\n        <\/section>\n    <\/div>\n<\/section>\n<script>(function(){const g=document.getElementById(\"buddyUpHomeLanding\");if(!g)return;const k=g.querySelector(\".buddyUpHomeLandingAnonView\"),j=g.querySelector(\"#buddyUpForYouView\"),v=g.querySelector(\"#buddyUpOnboardingFlow\"),U=g.querySelector(\"#buddyUpOnboardingBack\"),A=g.querySelector(\"#buddyUpOnboardingNext\"),I=Array.from(g.querySelectorAll(\".buddyUpOnboardingScreen\")),ie=g.querySelector(\"#buddyUpOnboardingExploreHost\"),V=g.querySelector(\".buddyUpHomeLandingWidget\"),p=g.querySelector(\"#buddyUpForYouStatus\"),w=Array.from(g.querySelectorAll(\"[data-home-mode]\")),R=Array.from(g.querySelectorAll(\"[data-home-mode-panel]\")),q=g.querySelector(\"#buddyUpForYouEvents\"),H=g.querySelector(\"#buddyUpForYouGroups\"),$=g.querySelector(\"#buddyUpForYouAdventures\"),C=window.buddyUpVariables&&buddyUpVariables.plugin_path?`${buddyUpVariables.plugin_path}img\/trailer-image.webp`:\"\";let T=!1,_=!1,f=\"\",G=!1,x=null,F=null,D=0,K=!1,oe=\"explore\";const W=\"buddyup_post_login_redirect\",J=\"buddyup_register_source\",Q=\"buddyup_intro_categories_v1\",M=\"buddyup_home_mode\",X=[\"Hiking\",\"Camping\",\"Trail Running\",\"Paddling\",\"Fishing\",\"Climbing\",\"Cycling\"],ae=function(e){const t=String(e||\"\").trim().toLowerCase();if(!t)return\"\";const r=window.buddyUpVariables&&typeof buddyUpVariables==\"object\"?buddyUpVariables:{};return t===\"events\"?r.events_link||\"\":t===\"explore\"?r.explore_link||\"\":t===\"groups\"?r.groups_link||\"\":t===\"people\"?r.user_search_link||\"\":t===\"subscriptions\"?r.subscriptions_info_link||\"\":r.for_me_link||r.home_link||r.account_link||\"\"},se=function(e){const t=String(e||\"\").trim();if(!t)return!1;try{return new URL(t,window.location.origin).origin===window.location.origin}catch{return!1}},y=function(e){return String(e||\"\").trim().toLowerCase()===\"for-you\"?\"for-you\":\"explore\"},ue=function(){const e=new URLSearchParams(window.location.search).get(\"home_tab\");if(e)return y(e);try{const t=localStorage.getItem(M);if(t)return y(t)}catch{}try{const t=sessionStorage.getItem(M);if(t)return y(t)}catch{}return\"explore\"},de=function(e){const t=y(e);try{localStorage.setItem(M,t)}catch{}try{sessionStorage.setItem(M,t)}catch{}},E=function(e,t){const r=y(e);oe=r,g.setAttribute(\"data-home-mode\",r),w.forEach(i=>{const n=y(i.getAttribute(\"data-home-mode\"))===r;i.classList.toggle(\"isActive\",n),i.setAttribute(\"aria-selected\",n?\"true\":\"false\"),i.setAttribute(\"tabindex\",n?\"0\":\"-1\")}),R.forEach(i=>{const n=y(i.getAttribute(\"data-home-mode-panel\"))===r;i.classList.toggle(\"isActive\",n),i.setAttribute(\"aria-hidden\",n?\"false\":\"true\")}),t!==!1&&de(r)},ce=function(){K||w.length===0||R.length===0||(K=!0,w.forEach(e=>{e.addEventListener(\"click\",function(t){t.preventDefault(),E(e.getAttribute(\"data-home-mode\"))}),e.addEventListener(\"keydown\",function(t){(t.key===\"Enter\"||t.key===\" \")&&(t.preventDefault(),E(e.getAttribute(\"data-home-mode\")))})}))},Z=function(e,t){const r=ae(e);if(se(r)){try{localStorage.setItem(W,r)}catch{}try{sessionStorage.setItem(W,r)}catch{}try{localStorage.setItem(J,String(t||f||\"onboarding\"))}catch{}try{sessionStorage.setItem(J,String(t||f||\"onboarding\"))}catch{}}},Y=function(){return I.filter(e=>_||e.getAttribute(\"data-optional\")!==\"1\")},le=function(){return f&&I.find(e=>String(e.getAttribute(\"data-screen\")||\"\")===f)||null},m=function(){if(!v)return;const e=le();if(!e)return;const t=e.querySelector(\".buddyUpOnboardingScreenBody\"),r=e.querySelector(\".buddyUpOnboardingScreenCanvas\");!t||!r||(r.style.zoom=\"1\",t.scrollTop<0&&(t.scrollTop=0))},ge=function(){const e=Y();if(e.length===0)return;const t=Math.max(0,e.findIndex(o=>String(o.getAttribute(\"data-screen\")||\"\")===f)),r=t<=0,i=t>=e.length-1;U&&(U.disabled=r,U.setAttribute(\"aria-disabled\",r?\"true\":\"false\")),A&&(A.textContent=i?\"Finish\":\"Next\",A.setAttribute(\"data-onboarding-next-mode\",i?\"finish\":\"next\"))},N=function(e){const t=String(e||\"\").trim(),r=Y();if(r.length===0)return!1;let i=r.find(o=>String(o.getAttribute(\"data-screen\")||\"\")===t);return i||(i=r[0]),f=String(i.getAttribute(\"data-screen\")||\"\"),v.setAttribute(\"data-active-screen\",f),v.setAttribute(\"data-show-explore\",_?\"1\":\"0\"),I.forEach(o=>{const n=String(o.getAttribute(\"data-screen\")||\"\"),a=r.indexOf(o)>=0,s=a&&n===f;if(o.classList.toggle(\"isActive\",s),o.classList.toggle(\"isHidden\",!a),o.setAttribute(\"aria-hidden\",s?\"false\":\"true\"),s){const u=o.querySelector(\".buddyUpOnboardingScreenBody\");u&&(u.scrollTop=0)}}),document.dispatchEvent(new CustomEvent(\"buddyup:onboarding-screen-change\",{detail:{screen:f,showExplore:_?1:0}})),ge(),m(),setTimeout(m,40),setTimeout(m,160),setTimeout(m,320),!0},fe=function(){const e=Y();if(e.length===0)return;const t=Math.max(0,e.findIndex(i=>String(i.getAttribute(\"data-screen\")||\"\")===f));if(t>=e.length-1){const i=buddyUpVariables&&buddyUpVariables.register_link?buddyUpVariables.register_link:\"#\";i&&i!==\"#\"&&(Z(\"for-you\",f||\"onboarding-footer\"),typeof BUDDYUP<\"u\"&&typeof BUDDYUP.pjaxNavigate==\"function\"?BUDDYUP.pjaxNavigate(i):window.location.href=i);return}const r=e[t+1];N(r?r.getAttribute(\"data-screen\"):\"\")},pe=function(){const e=Y();if(e.length===0)return;const t=Math.max(0,e.findIndex(i=>String(i.getAttribute(\"data-screen\")||\"\")===f));if(t<=0)return;const r=e[t-1];N(r?r.getAttribute(\"data-screen\"):\"\")},be=function(){!v||I.length===0||(G||(G=!0,v.addEventListener(\"click\",function(e){const t=e.target.closest(\"a[data-register-destination]\");if(t){const n=t.getAttribute(\"data-register-destination\"),a=t.getAttribute(\"data-register-source\")||f||\"onboarding\";Z(n,a),typeof BUDDYUP<\"u\"&&typeof BUDDYUP.pjaxNavigate==\"function\"&&(e.preventDefault(),BUDDYUP.pjaxNavigate(t.getAttribute(\"href\")));return}const r=e.target.closest(\"[data-onboarding-action], [data-step-target]\");if(!r)return;const i=r.getAttribute(\"data-step-target\");if(i){e.preventDefault(),N(i);return}const o=String(r.getAttribute(\"data-onboarding-action\")||\"\").trim();o&&o===\"see-how\"&&(e.preventDefault(),_=!0,N(\"explore\"))}),U&&U.addEventListener(\"click\",function(e){e.preventDefault(),pe()}),A&&A.addEventListener(\"click\",function(e){e.preventDefault(),fe()}),window.addEventListener(\"resize\",m),window.addEventListener(\"orientationchange\",m),document.fonts&&typeof document.fonts.ready==\"object\"&&typeof document.fonts.ready.then==\"function\"&&document.fonts.ready.then(m).catch(()=>{}),v.querySelectorAll(\"img\").forEach(e=>{e.addEventListener(\"load\",m),e.addEventListener(\"error\",m)})),_=!1,N(\"introduction\"))},me=function(){if(!V)return;let e=!1;const t=ie||k;t&&(V.parentElement!==t&&(t.appendChild(V),e=!0),e&&document.dispatchEvent(new Event(\"buddyup:explore-widget-relocated\")))},L=function(e){return typeof BUDDYUP<\"u\"&&typeof BUDDYUP.escapeHtml==\"function\"?BUDDYUP.escapeHtml(e):String(e??\"\").replace(\/&\/g,\"&amp;\").replace(\/<\/g,\"&lt;\").replace(\/>\/g,\"&gt;\").replace(\/\"\/g,\"&quot;\").replace(\/'\/g,\"&#39;\")},S=function(e){return Array.isArray(e)?e.map(t=>String(t||\"\").trim()).filter(Boolean):typeof e==\"string\"?e.split(\",\").map(t=>String(t||\"\").trim()).filter(Boolean):[]},ye=function(e){const t=new Map,r=function(o){const n=String(o||\"\").trim();if(!n)return;const a=n.toLowerCase();t.set(a,{label:n,count:(t.get(a)&&t.get(a).count?t.get(a).count:0)+1})},i=function(o,n){Array.isArray(o)&&o.forEach(a=>{S(a&&a[n]).forEach(r),S(a&&a.categories).forEach(r)})};return i(e&&e.events,\"event_categories\"),i(e&&e.groups,\"group_categories\"),i(e&&e.adventures,\"adventure_categories\"),Array.from(t.values()).sort((o,n)=>n.count!==o.count?n.count-o.count:o.label.localeCompare(n.label)).map(o=>o.label).slice(0,12)},he=function(){try{const e=localStorage.getItem(Q),t=e?JSON.parse(e):null;if(Array.isArray(t)&&t.length>0)return t.map(r=>String(r||\"\").trim()).filter(Boolean)}catch{}return[]},ve=function(e){if(!(!Array.isArray(e)||e.length===0))try{localStorage.setItem(Q,JSON.stringify(e.slice(0,12)))}catch{}},Se=async function(){const e=he();return e.length>0?e:F||(F=async function(){if(typeof BUDDYUP>\"u\"||typeof BUDDYUP.apiRequest!=\"function\")return X;try{const t=await BUDDYUP.apiRequest(\"explore-aggregate\",{limit_adventures:80,limit_events:80,limit_groups:80,include_events:1,include_groups:1}),r=ye(t);if(r.length>0)return ve(r),r}catch{}return X}(),F)},Ue=function(e){const r=(Array.isArray(e)?e:[]).slice(0,7).map(o=>String(o||\"\").trim()).filter(Boolean),i=[\"adventure\",\"hiking\",\"camping\",\"paddling\"];return Array.from(new Set(r.concat(i))).filter(Boolean)},Ae=function(e,t){if(!e)return;const r=String(e.textContent||\"\").trim(),i=String(t||\"\").trim();!i||r===i||(e.classList.add(\"is-swapping\"),window.setTimeout(function(){e.textContent=i,e.classList.remove(\"is-swapping\")},150))},ee=function(){x&&(clearInterval(x),x=null)},_e=async function(){const e=g.querySelector(\".category-flip\");if(!e)return;ee();const t=Ue(await Se());t.length!==0&&(D=0,e.textContent=String(t[D]||\"adventure\").toLowerCase(),t.length!==1&&(x=setInterval(function(){D=(D+1)%t.length,Ae(e,String(t[D]||\"adventure\").toLowerCase())},3600)))},te=function(e){if(!e)return null;const t=Date.parse(String(e));return Number.isFinite(t)?t:null},De=function(e,t,r,i){if(![e,t,r,i].every(c=>Number.isFinite(Number(c))))return null;const o=3958.8,n=function(c){return Number(c)*(Math.PI\/180)},a=n(r-e),s=n(i-t),u=Math.sin(a\/2)*Math.sin(a\/2)+Math.cos(n(e))*Math.cos(n(r))*Math.sin(s\/2)*Math.sin(s\/2),d=2*Math.atan2(Math.sqrt(u),Math.sqrt(1-u));return o*d},Ne=function(e,t){const r=function(i,o){const n=String(i||\"\").trim();return n?n.indexOf(\"?\")>=0?`${n}${n.endsWith(\"?\")||n.endsWith(\"&\")?\"\":\"&\"}${o}=${Number(t)}`:`${n}${n.endsWith(\"\/\")?\"\":\"\/\"}${Number(t)}`:\"#\"};return!Number.isFinite(Number(t))||Number(t)<=0?\"#\":e===\"events\"?r(buddyUpVariables&&buddyUpVariables.event_link?buddyUpVariables.event_link:\"\",\"event_id\"):e===\"groups\"?r(buddyUpVariables&&buddyUpVariables.group_link?buddyUpVariables.group_link:\"\",\"group_id\"):r(buddyUpVariables&&buddyUpVariables.adventure_link?buddyUpVariables.adventure_link:\"\",\"adventure_id\")},Le=function(e){const t=58+Number(e||0)*1.8;return Math.max(54,Math.min(98,Math.round(t)))},ne=function(e){if(!e||typeof e!=\"object\")return 0;let t=0;return String(e.title||\"\").trim()!==\"\"&&(t+=3),String(e.subtitle||\"\").trim()!==\"\"&&(t+=2),String(e.image||\"\").trim()!==\"\"&&(t+=2),Array.isArray(e.categories)&&e.categories.length>0&&(t+=2),Number.isFinite(e.latitude)&&(t+=1),Number.isFinite(e.longitude)&&(t+=1),Number(e.popularity||0)>0&&(t+=1),t},re=function(e,t){return e?t?{...e,...t,title:String(t.title||\"\").trim()!==\"\"?t.title:e.title,subtitle:String(t.subtitle||\"\").trim()!==\"\"?t.subtitle:e.subtitle,image:String(t.image||\"\").trim()!==\"\"?t.image:e.image,categories:Array.from(new Set([...Array.isArray(e.categories)?e.categories:[],...Array.isArray(t.categories)?t.categories:[]])),latitude:Number.isFinite(t.latitude)?t.latitude:e.latitude,longitude:Number.isFinite(t.longitude)?t.longitude:e.longitude,dateValue:t.dateValue||e.dateValue,popularity:Math.max(Number(e.popularity||0),Number(t.popularity||0))}:e:t},O=function(e){if(!Array.isArray(e)||e.length===0)return[];const t=new Map;return e.forEach(r=>{const i=Number(r&&r.id);if(!Number.isFinite(i)||i<=0)return;if(!t.has(i)){t.set(i,r);return}const o=t.get(i),n=ne(o),s=ne(r)>=n?re(o,r):re(r,o);t.set(i,s)}),Array.from(t.values())},Ie=e=>{const t=e&&e.events||e&&e.data&&e.data.events||{},r=Array.isArray(t.upcoming)?t.upcoming:[],i=Array.isArray(t.past)?t.past:[];return r.concat(i)},Ce=e=>e&&Array.isArray(e.groups)?e.groups:e&&e.data&&Array.isArray(e.data.groups)?e.data.groups:[],xe=e=>{const t=Number(e&&(e.id||e.event_id||e.eventId||0));return Number.isFinite(t)&&t>0?t:0},Fe=e=>{const t=Number(e&&(e.id||e.group_id||e.groupId||0));return Number.isFinite(t)&&t>0?t:0},Me=e=>{const t=Number(e&&(e.id||e.adventure_id||e.adventureId||0));return Number.isFinite(t)&&t>0?t:0},Ee=function(e,t){const r=new Set,i=new Set,o=new Set;Ie(e).forEach(s=>{const u=xe(s);u>0&&r.add(u)}),Ce(e).forEach(s=>{const u=Fe(s);u>0&&i.add(u)});const n=Array.isArray(t&&t.created_adventures)?t.created_adventures:Array.isArray(t&&t.adventures)?t.adventures:[],a=Array.isArray(t&&t.tagged_adventures)?t.tagged_adventures:[];return n.concat(a).forEach(s=>{const u=Me(s);u>0&&o.add(u)}),{eventIds:r,groupIds:i,adventureIds:o}},Ye=function(e){const t={events:[],groups:[],adventures:[]},r=Array.isArray(e&&e.events)?e.events:[],i=Array.isArray(e&&e.groups)?e.groups:[],o=Array.isArray(e&&e.adventures)?e.adventures:[];return t.events=O(r.map(n=>({id:Number(n.event_id||n.id||0),title:String(n.event_name||n.name||\"Event\"),subtitle:String(n.location_label||[n.city,n.state].filter(Boolean).join(\", \")),categories:S(n.event_categories||n.categories),image:String(n.event_image||n.image||C),latitude:Number(n.latitude),longitude:Number(n.longitude),dateValue:te(n.event_date||n.date),popularity:Number(n.attendees_count||n.joined_count||n.member_count||0)})).filter(n=>n.id>0)),t.groups=O(i.map(n=>({id:Number(n.id||n.group_id||0),title:String(n.name||\"Group\"),subtitle:String(n.location_label||[n.city,n.state].filter(Boolean).join(\", \")),categories:S(n.categories||n.group_categories),image:String(n.image||n.group_image||C),latitude:Number(n.latitude),longitude:Number(n.longitude),dateValue:null,popularity:Number(n.member_count||n.members_count||n.total_members||0)})).filter(n=>n.id>0)),t.adventures=O(o.map(n=>({id:Number(n.id||n.adventure_id||0),title:String(n.title||\"Adventure\"),subtitle:String(n.location_label||[n.city,n.state].filter(Boolean).join(\", \")),categories:S(n.categories),image:String(n.preview_url||(Array.isArray(n.media)&&n.media[0]&&n.media[0].url?n.media[0].url:\"\")||C),latitude:Number(n.latitude),longitude:Number(n.longitude),dateValue:te(n.adventure_date||n.event_date||n.date),popularity:Number(n.participant_count||n.member_count||n.attendees_count||0)})).filter(n=>n.id>0)),t},Be=function(e,t){const r=t.userInterests,i=t.userKeywords;let o=0;const n=Array.isArray(e.categories)?e.categories.map(c=>String(c||\"\").toLowerCase()):[],a=n.filter(c=>r.has(c)).length;o+=a*12;const s=`${String(e.title||\"\")} ${String(e.subtitle||\"\")} ${n.join(\" \")}`.toLowerCase();let u=0;if(i.forEach(c=>{c&&s.includes(c)&&(u+=1)}),o+=Math.min(15,u*2.5),Number.isFinite(t.userLatitude)&&Number.isFinite(t.userLongitude)&&Number.isFinite(e.latitude)&&Number.isFinite(e.longitude)){const c=De(t.userLatitude,t.userLongitude,e.latitude,e.longitude);if(c!==null){const b=Math.max(0,30-c)*.7;o+=b}}if(e.dateValue){const c=Date.now(),b=(e.dateValue-c)\/(1e3*60*60*24);b>=0&&b<=21?o+=10:b>21&&b<=60?o+=6:b<0&&(o-=4)}const d=Number(e.popularity||0);return d>0&&(o+=Math.min(8,Math.log(d+1)*2.2)),o},z=function(e,t,r){if(e){if(!Array.isArray(r)||r.length===0){e.innerHTML='<div class=\"buddyUpForYouEmpty\">No matches yet for this rail. Try adding more interests or location details in your profile.<\/div>';return}e.innerHTML=r.slice(0,18).map(i=>{const o=Ne(t,i.id);let n=i.subtitle||\"\";if(t===\"events\"&&i.dateValue){const a=new Date(i.dateValue).toLocaleDateString(void 0,{month:\"short\",day:\"numeric\",year:\"numeric\"});n=n?`${n} \\u2022 ${a}`:a}if(t===\"groups\"){const a=Number(i.popularity||0)>0?`${Number(i.popularity)} members`:\"\";n=n?`${n}${a?` \\u2022 ${a}`:\"\"}`:a}return`\n                <a class=\"buddyUpForYouRailCard\" href=\"${L(o)}\">\n                    <img decoding=\"async\" class=\"buddyUpForYouRailCardMedia\" src=\"${L(i.image||C)}\" alt=\"${L(i.title)}\" \/>\n                    <div class=\"buddyUpForYouRailCardBody\">\n                        <div class=\"buddyUpForYouRailCardTitle\">${L(i.title)}<\/div>\n                        <div class=\"buddyUpForYouRailCardMeta\">${L(n||\"Recommended for your current profile intent\")}<\/div>\n                        <div class=\"buddyUpForYouRailCardScore\">${Le(i.intentScore)}% intent match<\/div>\n                    <\/div>\n                <\/a>\n            `}).join(\"\")}},Pe=async function(){if(T)return;const e=typeof BUDDYUP<\"u\"&&typeof BUDDYUP.getCurrentUser==\"function\"?BUDDYUP.getCurrentUser():null;if(!e||!e.id){p&&(p.textContent=\"Please log in to view your personalized feed.\");return}p&&(p.textContent=\"Matching your interests with upcoming activity...\");try{const[t,r,i]=await Promise.all([BUDDYUP.apiRequest(\"account-get\",{id:e.id,include:\"events,groups\",fields:\"id,username,profile_image,interests,about_me,latitude,longitude,events,groups\",_force:!0}),BUDDYUP.apiRequest(\"explore-aggregate\",{limit_adventures:400,limit_events:220,limit_groups:220,include_events:1,include_groups:1}),BUDDYUP.apiRequest(\"adventures-list-mine\",{limit:200})]);if(!r||r.status!==\"success\")throw new Error(\"Could not load recommendation content.\");const o=t&&t.status===\"success\"?t:e,n=S(o&&o.interests||e&&e.interests),a=String(o&&o.about_me||e&&e.about_me||\"\").toLowerCase(),s=new Set(n.map(l=>l.toLowerCase()));a.split(\/[^a-z0-9]+\/gi).map(l=>l.trim()).filter(l=>l.length>=4).forEach(l=>s.add(l.toLowerCase()));const u={userInterests:new Set(n.map(l=>l.toLowerCase())),userKeywords:s,userLatitude:Number(o&&o.latitude||e&&e.latitude),userLongitude:Number(o&&o.longitude||e&&e.longitude)},d=Ye(r),c=Ee(t,i);d.events=d.events.filter(l=>!c.eventIds.has(Number(l.id||0))),d.groups=d.groups.filter(l=>!c.groupIds.has(Number(l.id||0))),d.adventures=d.adventures.filter(l=>{const h=Number(l.id||0),P=Number(l.user_id||0);return!(h>0&&c.adventureIds.has(h)||P>0&&P===Number(e.id||0))}),[\"events\",\"groups\",\"adventures\"].forEach(l=>{d[l].forEach(h=>{h.intentScore=Be(h,u)}),d[l].sort((h,P)=>P.intentScore-h.intentScore)}),z(q,\"events\",d.events),z(H,\"groups\",d.groups),z($,\"adventures\",d.adventures);const b=d.events.length+d.groups.length+d.adventures.length;p&&(p.textContent=b>0?`Showing ${b} ranked recommendations across events, groups, and adventures.`:\"No recommendation content available yet.\"),T=!0}catch(t){p&&(p.textContent=t&&t.message?t.message:\"Unable to build your For You feed right now.\"),q&&(q.innerHTML='<div class=\"buddyUpForYouEmpty\">Could not load events right now.<\/div>'),H&&(H.innerHTML='<div class=\"buddyUpForYouEmpty\">Could not load groups right now.<\/div>'),$&&($.innerHTML='<div class=\"buddyUpForYouEmpty\">Could not load adventures right now.<\/div>')}},B=function(){const e=!!(typeof BUDDYUP<\"u\"&&typeof BUDDYUP.hasAuthenticatedUser==\"function\"&&BUDDYUP.hasAuthenticatedUser(BUDDYUP.getCurrentUser()));k&&k.classList.toggle(\"hidden\",e),j&&j.classList.toggle(\"hidden\",!e),me(),e?(ee(),ce(),E(ue())):(T=!1,p&&(p.textContent=\"Please log in to view your personalized feed.\"),be(),_e(),E(\"explore\",!1)),e&&Pe(),document.body.classList.toggle(\"buddyup-home-landing-anon\",!e),document.body.classList.toggle(\"buddyup-home-onboarding-active\",!e)};B(),typeof BUDDYUP<\"u\"&&typeof BUDDYUP.setGlobalHandler==\"function\"&&(BUDDYUP.setGlobalHandler(\"homeLanding.state.sync\",document,\"buddyUpPageChange\",B),BUDDYUP.setGlobalHandler(\"homeLanding.state.sync.paging\",document,\"buddyup:paging\",B),BUDDYUP.setGlobalHandler(\"homeLanding.state.sync.auth\",document,\"buddyup:auth-changed\",B))})();\n<\/script><\/div>\r\n<!-- [widget_blocks title=\"hero\"]\r\n[widget_blocks title=\"Interests\"]\r\n[widget_blocks title=\"Intro\"]\r\n[widget_blocks title=\"Locals Section\"]\r\n[widget_blocks title=\"Events\"] -->","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-44","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/api\/wp\/v2\/pages\/44","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/api\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/api\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/api\/wp\/v2\/comments?post=44"}],"version-history":[{"count":1,"href":"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/api\/wp\/v2\/pages\/44\/revisions"}],"predecessor-version":[{"id":516,"href":"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/api\/wp\/v2\/pages\/44\/revisions\/516"}],"wp:attachment":[{"href":"https:\/\/buddyupapi-staging.us35.cdn-alpha.com\/api\/wp\/v2\/media?parent=44"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}