PageSourceSearch

https://www.geocaching.com/account/app/dist/settings.844ad8fddcd935104f1b.js

js geocaching.com collected 2026-09-24 08:30:52 UTC 6,040 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkui_js_core||=[]).push([[6472,7195],{67195(e,t,o){o.d(t,{render:()=>render});o(10253);var n=o(96540),s=o(5338),a=(o(46921),o(15777)),i=o(47794),r=o(24093),l=o.n(r);const gcTheme=e=>({...e,colors:{...e.colors,primary:l().greens.sea,primary50:l().greens.sea_10,primary25:l().greys.cloud}}),c={control:(e,t)=>{const o={opacity:"38%",backgroundColor:"white",borderColor:l().greys.grey200,color:l().greys.grey200},n={borderColor:l().greys.grey300,color:l().greys.tempest},s={borderColor:l().greys.tempest,boxShadow:`0 0 0 1px ${l().greys.tempest}`,color:l().greys.tempest};return{...e,borderColor:l().greys.grey200,borderWidth:1,color:l().greys.tempest,cursor:"pointer",height:40,"&:hover":n,...(()=>{let e={};return t.isFocused&&(e={...e,...s}),t.isDisabled&&(e={...e,...o}),e})()}},indicatorSeparator:()=>({display:"none"}),menu:e=>({...e,marginTop:0,overflow:"hidden",zIndex:9}),menuList:e=>({...e,borderRadius:4,boxShadow:"0 8px 32px rgba(0, 0, 0, 0.08)",display:"flex",flexDirection:"column",gap:2,paddingLeft:5,paddingRight:5}),option:(e,t)=>{const o={backgroundColor:t.isSelected?"#ebf6ff":l().greys.mist},n={backgroundColor:"#ebf6ff",color:l().blues.blue600};return{...e,borderRadius:4,color:l().greys.black,display:"flex",justifyContent:"space-between",alignItems:"center","&:hover":o,...(()=>{let e={"& svg.check":{display:"none"}};return t.isSelected&&(e={...e,...n,"& svg.check":{display:"block"}}),t.isFocused&&(e={...e,...o}),e})()}},placeholder:e=>({...e,color:l().greys.storm})};var u,d=o(74848);const OptionWithCheck=e=>(0,d.jsxs)(a.c.Option,{...e,children:[e.children,u||(u=(0,d.jsx)("svg",{className:"check h-4 w-4",children:(0,d.jsx)("use",{href:"#check--inline"})}))]}),p=(0,n.forwardRef)(((e,t)=>{const{components:o,options:n,...s}=e;return(0,d.jsx)(i.Ay,{className:"gc-dropdown",components:{Option:OptionWithCheck,...o},options:n??[],isSearchable:!1,isClearable:!1,theme:gcTheme,ref:t,styles:c,...s})}));p.displayName="Dropdown";const MobileNavigation=({i18n:e})=>{const t=window.location.pathname,o=[{label:e.profileInformation,linkTo:"/account/settings/profile",value:"profile"}
1,{label:e.changePassword,linkTo:"/account/settings/changepassword",value:"changepassword"},{label:e.homeLocation,linkTo:"/account/settings/homelocation",value:"homelocation"},{label:e.emailPreferences,linkTo:"/account/settings/emailpreferences",value:"emailpreferences"},{label:e.account,linkTo:"/account/settings/account",value:"account"},{label:e.preferences,linkTo:"/account/settings/preferences",value:"preferences"}];o.push({label:e.experimentalFeatures,linkTo:"/live/account/settings/experimentalfeatures",value:"experimentalfeatures"});const n=o.concat([{label:e.userPrivacy,linkTo:"/account/settings/userprivacy",value:"userprivacy"},{label:e.authorizations,linkTo:"/account/settings/authorizations",value:"authorizations"},{label:e.cookies,linkTo:"/account/settings/cookies",value:"cookies"}]),s=o.find((e=>e.linkTo===t));return(0,d.jsx)(p,{options:n,value:s,onChange:e=>{e.linkTo!==t&&(window.location.href=e.linkTo)}})};var m;MobileNavigation.displayName="MobileNavigation";const NavItem=({dataEventLabel:e,linkTo:t,showPremiumIcon:o,text:n,pmFeatureText:s})=>{const a=t===window.location.pathname;return(0,d.jsx)("li",{className:"text-base",children:(0,d.jsxs)("a",{"data-event-category":"data","data-event-label":e,href:t,className:"flex gap-2 p-2 rounded items-center cursor-pointer focus:shadow-outline "+(a?"bg-white":""),children:[n,o&&(0,d.jsx)("span",{"aria-label":s,className:"hidden xl:inline-flex xl:visible",role:"img",title:s,children:m||(m=(0,d.jsx)("svg",{"aria-hidden":"true",className:"size-4",children:(0,d.jsx)("use",{href:"#premium-mark--inline"})}))})]})})};NavItem.displayName="NavItem";const DesktopNavigation=({i18n:e,showPremiumIcon:t})=>(0,d.jsx)("nav",{className:"relative bg-transparent h-auto",children:(0,d.jsxs)("ul",{className:"list-none flex flex-col gap-2",children:[(0,d.jsx)(NavItem,{linkTo:"/account/settings/profile",text:e.profileInformation}
1),(0,d.jsx)(NavItem,{linkTo:"/account/settings/changepassword",text:e.changePassword}),(0,d.jsx)(NavItem,{linkTo:"/account/settings/homelocation",text:e.homeLocation}),(0,d.jsx)(NavItem,{linkTo:"/account/settings/emailpreferences",text:e.emailPreferences}),(0,d.jsx)(NavItem,{linkTo:"/account/settings/account",text:e.account}),(0,d.jsx)(NavItem,{linkTo:"/account/settings/preferences",text:e.preferences}),(0,d.jsx)(NavItem,{linkTo:"/live/account/settings/experimentalfeatures",showPremiumIcon:t,text:e.experimentalFeatures??"Experimental Features",pmFeatureText:e.premiumFeature}),(0,d.jsxs)("li",{children:[(0,d.jsx)("h2",{className:"text-base my-4",children:e.privacy}),(0,d.jsxs)("ul",{className:"flex flex-col gap-2",children:[(0,d.jsx)(NavItem,{linkTo:"/account/settings/userprivacy",text:e.userPrivacy}),(0,d.jsx)(NavItem,{linkTo:"/account/settings/authorizations",text:e.authorizations}),(0,d.jsx)(NavItem,{linkTo:"/account/settings/cookies",text:e.cookies})]})]})]})});DesktopNavigation.displayName="DesktopNavigation";const render=()=>{const e=window.settingsNav,t=document.getElementById("settings-nav-root-mobile"),o=document.getElementById("settings-nav-root-desktop");let n=window.chromeSettings?.isBasic;t&&(0,s.createRoot)(t).render((0,d.jsx)(MobileNavigation,{i18n:e})),o&&(0,s.createRoot)(o).render((0,d.jsx)(DesktopNavigation,{i18n:e,showPremiumIcon:n}))}},13768(e,t,o){var n=o(78603),s=o.n(n);o(55630);const a={authorizations:()=>Promise.all([o.e(4121),o.e(8767),o.e(9413)]).then((()=>o(36345))),cookies:()=>o.e(9772).then((()=>o(84819))),emailpreferences:()=>Promise.all([o.e(4121),o.e(8767),o.e(4273)]).then((()=>o(98182))),homelocation:()=>Promise.all([o.e(4121),o.e(2303)]).then((()=>o(61166))),preferences:()=>o.e(6215).then((()=>o(31943)))},i=s().View.extend({el:"#Content",template:!1,initialize(e){if(e?.page){if(e.page?.includes("settings-nav")){return void o(67195).render()}const t=a[e.page];t&&t().then((t=>{this._child=new t.default(e)}))}}});o.d(t,["default",0,i])},55630(){}}]);

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