1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,258380,372156,856712,e=>{"use strict";var t=e.i(642833),r=e.i(374042),s=e.i(165997),i=e.i(413537),a=e.i(426518),n=e.i(494081),o=e.i(687534),l=e.i(502557),d=e.i(31580);e.i(217636),e.i(692384);var c=e.i(469828),h=e.i(438046);let x=[{code:"en",label:"English"},{code:"es",label:"Español"}];var u=e.i(148257),p=e.i(119071),g=e.i(590285),v=e.i(948537);e.i(272864);var f=e.i(30555),b=e.i(920328);function m(){let{t:e,t:i}=(0,r.useLocale)(),{user:n}={...(0,a.useAuth)(),...(0,a.useAuthForm)()},{mode:l,setMode:d}=(0,o.useTheme)(),[h,x]=(0,s.useState)(!0);return(0,s.useEffect)(()=>{let e=!1;if(n)return(async()=>{try{let t=await (0,c.authedFetch)("/api/profile?self=true"),r=await t.json();!e&&r?.profile&&"boolean"==typeof r.profile.newsletter_opt_in&&x(r.profile.newsletter_opt_in)}catch{}})(),()=>{e=!0}},[n]),(0,t.jsx)("div",{className:"hub-card",children:(0,t.jsxs)("div",{className:"pad-20-24",children:[(0,t.jsx)("div",{className:"section-label-t3 mb-10",children:e("settings.preferences")}),(0,t.jsxs)("div",{className:"settings-panel",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"text-11 c-t3 flex items-center gap-8 cursor-pointer",children:[(0,t.jsx)("input",{type:"checkbox",checked:h,onChange:async e=>{let t=e.target.checked;x(t);try{await (0,c.authedFetch)("/api/profile",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"update",newsletter_opt_in:t})})}catch{}},style:{accentColor:"var(--accent)"}}),(0,t.jsx)("span",{children:e("settings.weeklyNewsletter")})]}),(0,t.jsx)("p",{className:"text-10 c-t4 mt-8 lh-relaxed",children:e("settings.weeklyDigestFull")})]}),(0,t.jsxs)("div",{style:{marginTop:16,paddingTop:14,borderTop:"1px solid var(--border)"},children:[(0,t.jsx)("label",{className:"field-label mb-8",children:e("settings.language.label")}),(0,t.jsx)(k,{userId:n?.id})]}),(0,t.jsxs)("div",{style:{marginTop:16,paddingTop:14,borderTop:"1px solid var(--border)"},children:[(0,t.jsx)("label",{className:"field-label mb-8",children:e("settings.textSize")}),(0,t.jsx)(w,{})]}),(0,t.jsxs)("div",{style:{marginTop:16,paddingTop:14,borderTop:"1px solid var(--border)"},children:[(0,t.jsx)("label",{className:"field-label mb-8",children:e("settings.theme")}),(0,t.jsx)("div",{className:"tab-bar b-border-strong",style:{display:"flex",width:"100%"},children:["auto","light","dark"].map(e=>(0,t.jsxs)("button",{onClick:()=>d(e),style:{flex:1,display:"flex",alignItems:"center",justifyContent:"center",gap:5,padding:"7px 10px",borderRadius:7,border:"none",cursor:"pointer",transition:"background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s",background:l===e?"var(--btnPrimary)":"transparent",color:l===e?"var(--btnPrimaryText)":"var(--t3)",fontSize:"var(--fs-base)",fontWeight:l===e?600:400,minWidth:0},children:["auto"===e&&(0,t.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,t.jsx)("path",{d:"M12 3a9 9 0 0 1 0 18V3z"})]}),"light"===e&&(0,t.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"5"}),(0,t.jsx)("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),(0,t.jsx)("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),(0,t.jsx)("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),(0,t.jsx)("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),(0,t.jsx)("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),(0,t.jsx)("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),(0,t.jsx)("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),(0,t.jsx)("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]}),"dark"===e&&(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})}),e.charAt(0).toUpperCase()+e.slice(1)]},e))}),(0,t.jsx)("p",{className:"text-10 c-t4 mt-8 lh-relaxed",children:e("settings.autoFollowsSystem")})]})]})]})})}function y({onLogout:e}){let{t:s}=(0,r.useLocale)(),{user:i}={...(0,a.useAuth)(),...(0,a.useAuthForm)()};return(0,t.jsx)("div",{className:"hub-card",children:(0,t.jsxs)("div",{className:"pad-20-24",children:[(0,t.jsx)("button",{onClick:e,className:"block w-full mx-auto r-8 bg-transparent text-12 fw-600 cursor-pointer",style:{padding:"10px 20px",border:"1px solid #3b82f6",color:"var(--link)"},children:s("settings.signOut")}),(0,t.jsx)(j,{onLogout:e,userId:i?.id})]})})}function j({onLogout:e,userId:i}){let{t:a}
1=(0,r.useLocale)(),[n,o]=(0,s.useState)(!1),[l,d]=(0,s.useState)(""),[x,u]=(0,s.useState)(!1),[v,b]=(0,s.useState)("");async function m(){if(!(0,p.confirmMatches)("delete",l))return void b((0,p.confirmLabel)("delete",a));b(""),u(!0),(0,g.trackEvent)("user:account_deleted");try{let t=await (0,c.authedFetch)("/api/delete-account",{method:"DELETE",body:JSON.stringify({confirmation:(0,p.confirmCanonical)("delete")})}),r=await t.json().catch(()=>({}));if(!t.ok){b(r.error||a("settings.deleteFailed")),u(!1);return}(0,h.clearSession)(),localStorage.removeItem("aebly_user"),localStorage.removeItem("aebly_onboarding_done"),localStorage.removeItem("aebly_votes"),e&&e()}catch(e){b(a("common.networkError")),u(!1)}}return i?(0,t.jsxs)("div",{className:"mt-16 pt-16",style:{borderTop:"1px solid var(--border)"},children:[(0,t.jsx)("button",{onClick:()=>{o(!n),d(""),b("")},className:"block w-full mx-auto r-8 bg-transparent text-12 fw-600 cursor-pointer",style:{padding:"10px 20px",border:"1px solid var(--border)",color:"var(--danger, #ef4444)"},children:"Delete Account"}),n&&(0,t.jsxs)("div",{className:"mt-12 r-10 pad-16-20",style:{background:"var(--compassBg)",border:"1px solid var(--border)"},children:[(0,t.jsx)("div",{className:"text-12 fw-700 mb-8",style:{color:"var(--danger, #ef4444)"},children:a("settings.permanentlyDeleteAccount")}),(0,t.jsx)("p",{className:"text-11 c-t2 lh-relaxed mb-12",children:a("settings.thisWillPermanentlyDeleteYourAccount")}),v&&(0,t.jsx)("div",{className:"msg-error mb-8",children:v}),(0,t.jsx)("label",{className:"field-label",children:(0,p.confirmLabel)("delete",a)}),(0,t.jsxs)("div",{className:"flex gap-6",style:{flexWrap:"wrap"},children:[(0,t.jsx)("input",{value:l,onChange:e=>{d(e.target.value),b("")},placeholder:(0,p.confirmWord)("delete",a),className:"form-input-sm",autoComplete:"off",autoCapitalize:"characters",spellCheck:!1,style:{fontFamily:"var(--font-sans), sans-serif",letterSpacing:"var(--ls-wide)",flex:"1 1 120px",minWidth:0}}),(0,t.jsx)(f.Button,{variant:"danger",size:"sm",onClick:m,disabled:x||!(0,p.confirmMatches)("delete",l),children:x?a("common.deleting"):a("settings.deleteForever")})]})]})]}):null}function k({userId:e}){let{t:i}=(0,r.useLocale)(),[a,n]=(0,s.useState)("en");(0,s.useEffect)(()=>{try{let e=localStorage.getItem("aebly_preferred_language");e&&"auto"!==e&&n(e)}catch{}},[]);
1let[o,l]=(0,s.useState)(!1),[d,h]=(0,s.useState)("");async function p(t){let r=t.target.value;n(r);try{let e=navigator.languages&&navigator.languages.length?navigator.languages:[navigator.language||""];document.documentElement.lang=(0,u.resolveLangAttr)(r,e)}catch{}try{localStorage.setItem("aebly_preferred_language",r)}catch{}try{window.dispatchEvent(new CustomEvent("aebly:language",{detail:{value:r}}))}catch{}if(e){l(!0),h("");try{await (0,c.authedFetch)("/api/profile",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"update",preferred_language:r})}),h(i("settings.saved")),setTimeout(()=>h(""),1500)}catch{}l(!1)}}return(0,t.jsxs)("div",{children:[(0,t.jsx)("select",{value:a,onChange:p,disabled:o,style:{width:"100%",padding:"8px 12px",borderRadius:8,border:"1px solid var(--border)",background:"var(--input)",color:"var(--t1)",fontSize:"var(--fs-base)",cursor:"pointer",appearance:"auto",fontFamily:"inherit"},children:x.map(e=>(0,t.jsx)("option",{value:e.code,children:e.label},e.code))}),d&&(0,t.jsx)("div",{className:"text-10 mt-4",style:{color:"var(--success)"},children:d}),(0,t.jsx)("p",{className:"text-10 c-t4 mt-8 lh-relaxed",children:i("settings.language.helperNative")})]})}function w(){let{t:e}=(0,r.useLocale)(),{textScale:s,setTextScale:i,TEXT_SCALE_STEPS:a,TEXT_SCALE_LABELS:n,isDark:l}=(0,o.useTheme)(),d=a.indexOf(s),c=-1===d?1:d;return(0,t.jsxs)("div",{children:[(0,t.jsxs)(b.Inline,{gap:"md",style:{marginBottom:8},children:[(0,t.jsx)("span",{style:{fontSize:"var(--fs-sm)",color:"var(--t3)",fontWeight:600},children:"A"}),(0,t.jsx)("input",{type:"range",min:0,max:a.length-1,step:1,value:c,onChange:e=>i(a[Number(e.target.value)]),style:{flex:1,height:4,appearance:"none",WebkitAppearance:"none",background:l?"var(--border)":"var(--t4)",borderRadius:4,outline:"none",cursor:"pointer",accentColor:"var(--accent)"}}),(0,t.jsx)("span",{style:{fontSize:"var(--fs-base)",color:"var(--t3)",fontWeight:600},children:"A"})]}),(0,t.jsx)("div",{style:{display:"flex",justifyContent:"space-between",padding:"0 2px"},children:n.map((e,r)=>(0,t.jsx)("span",{onClick:()=>i(a[r]),style:{fontSize:"var(--fs-sm)",cursor:"pointer",color:c===r?"var(--accent)":"var(--t4)",fontWeight:c===r?700:400,transition:"color 0.15s"},children:e},e))}),(0,t.jsx)("p",{className:"text-10 c-t4 mt-8 lh-relaxed",children:e("settings.adjustsTextSizeAcrossTheEntireApp")})]})}e.i(738361),e.s(["DeleteAccountSection",0,j,"LanguageSelector",0,k,"ProfileDangerZone",0,y,"ProfilePreferences",0,m,"TextScaleSlider",0,w],372156),e.i(18294);var S=e.i(56011);e.i(305860);var C=e.i(530968);function W({isOpen:e,onClose:i}){let{t:a}=(0,r.useLocale)(),{resolvedMode:n}
1=(0,o.useTheme)(),[l,d]=(0,s.useState)(null),[h,x]=(0,s.useState)(""),[u,p]=(0,s.useState)(null),g=(0,s.useCallback)(async()=>{x("");try{let e=await (0,c.authedFetch)("/api/blocks",{method:"POST",body:JSON.stringify({action:"list"})}),t=await e.json();if(!e.ok){x(t.error||a("settings.couldNotLoadBlockList")),d([]);return}d(Array.isArray(t.blocks)?t.blocks:[])}catch(e){console.error("[blocked-users] list failed:",e),x(a("settings.couldNotLoadBlockList")),d([])}},[]);function v(e){return e.block_id||e.user_id||""}async function f(e){if(u)return;let t=v(e);p(t);try{let r=await (0,c.authedFetch)("/api/blocks",{method:"POST",body:JSON.stringify(e.block_id?{action:"unblock",block_id:e.block_id}:{action:"unblock",target_user_id:e.user_id})});if(r.ok)d(e=>(e||[]).filter(e=>v(e)!==t));else{let e=await r.json().catch(()=>({}));alert(e.error||"Unblock failed.")}}catch(e){console.error("[blocked-users] unblock failed:",e),alert("Unblock failed.")}finally{p(null)}}return((0,s.useEffect)(()=>{e&&(d(null),g())},[e,g]),e)?(0,t.jsx)("div",{role:"dialog","aria-modal":"true","aria-label":a("settings.blockedUsers"),onClick:e=>{e.target===e.currentTarget&&i()},style:{position:"fixed",inset:0,background:"rgba(0,0,0,0.5)",zIndex:1e3,display:"flex",alignItems:"center",justifyContent:"center",padding:16},children:(0,t.jsxs)("div",{style:{background:"var(--card)",borderRadius:14,width:"100%",maxWidth:520,maxHeight:"80vh",display:"flex",flexDirection:"column",border:"1px solid var(--border)"},children:[(0,t.jsxs)("div",{style:{padding:"14px 16px",borderBottom:"1px solid var(--border)",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,t.jsx)("h2",{style:{fontFamily:"var(--font-sans), sans-serif",fontSize:"var(--fs-base)",fontWeight:700,color:"var(--t1)",margin:0},children:a("settings.blockedUsers")}),(0,t.jsx)("button",{type:"button",onClick:i,"aria-label":a("common.close"),style:{background:"transparent",border:"none",cursor:"pointer",color:"var(--t3)",padding:4},children:(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:[(0,t.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,t.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]}),(0,t.jsxs)("div",{style:{overflowY:"auto",flex:1,padding:12},children:[null===l&&(0,t.jsx)("div",{style:{padding:12,color:"var(--t3)",fontFamily:"var(--font-sans), sans-serif",fontSize:"var(--fs-sm)"},children:a("common.loading")}),h&&(0,t.jsx)("div",{style:{padding:12,color:"#ef4444",fontFamily:"var(--font-sans), sans-serif",fontSize:"var(--fs-sm)"},children:h}),l&&0===l.length&&!h&&(0,t.jsx)("div",{style:{padding:16,color:"var(--t3)",fontFamily:"var(--font-serif), serif",fontSize:"var(--fs-base)",lineHeight:"var(--lh-relaxed)"},children:a("settings.youHaventBlockedAnyone")}),l&&l.map(e=>{let r="witness"===e.context,s=((e.display_name||e.username||"?")[0]||"?").toUpperCase();return(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:12,padding:"10px 8px",borderBottom:"1px solid var(--border)"},children:[(0,t.jsxs)("div",{style:{width:32,height:32,borderRadius:"50%",background:e.avatar_color||"var(--t3)",color:"#fff",fontFamily:"var(--font-sans), sans-serif",fontSize:"var(--fs-sm)",fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,position:"relative",overflow:"hidden"},children:[s,(0,t.jsx)(C.AvatarImage,{src:e.avatar_url,alt:e.display_name||""})]}),(0,t.jsxs)("div",{style:{flex:1,minWidth:0},children:[(0,t.jsx)("div",{style:{fontFamily:"var(--font-sans), sans-serif",fontSize:"var(--fs-base)",fontWeight:600,color:"var(--t1)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.display_name||(e.username?"@"+e.username:"User")}),r?(0,t.jsx)("div",{style:{fontFamily:"var(--font-sans), sans-serif",fontSize:"var(--fs-sm)",color:"var(--t3)",marginTop:1},children:a("witness.identityProtected")}):e.username?(0,t.jsxs)("div",{style:{fontFamily:"var(--font-sans), sans-serif",fontSize:"var(--fs-sm)",color:"var(--t3)",marginTop:1},children:["@",e.username]}):null]}),(0,t.jsx)("button",{type:"button",onClick:()=>f(e),disabled:u===v(e),style:{background:"transparent",border:"1px solid var(--border)",color:"var(--t2)",padding:"5px 12px",borderRadius:6,fontFamily:"var(--font-sans), sans-serif",fontSize:"var(--fs-sm)",fontWeight:600,cursor:u===v(e)?"wait":"pointer"},children:u===v(e)?"â¦":"Unblock"})]},v(e))})]})]})}):null}e.s(["default",0,W],856712),v.AtIcon,v.ReplyIcon,v.HeartFilledIcon,v.HeartFilledIcon,v.HeartFilledIcon,v.HandWaveIcon,v.CheckIcon,v.CapitolIcon,v.HandWaveIcon,v.CheckIcon,v.HandWaveIcon,e.s(["default",0,function({onOpenSubpage:e,onClose:c,embedded:h=!1}){let{t:x}=(0,r.useLocale)(),u=(0,i.useRouter)(),{user:p,handleLogout:g}=(0,a.useAuth)(),{setShowIntroFilm:v,setShowSignedOut:f,setShowGlobalSearch:j,notifDropdownItems:k,unreadNotifs:w,fetchNotifDropdown:C,handleNotifNavigate:L,handleNotifDismiss:B}=(0,n.useUI)(),{isDark:N}=(0,o.useTheme)(),I=(0,l.useNavigate)(),{memberships:T}
1=(0,d.useOrg)(),[z,A]=(0,s.useState)(!1);(0,s.useEffect)(()=>{p&&C&&C()},[p,C]),(0,s.useCallback)(()=>{c&&c(),I("settings",{tab:"notifications"})},[c,I]);let M=(0,s.useCallback)(()=>{g(),f&&f(!0),c&&c()},[g,f,c]),F=(0,s.useCallback)(e=>{c&&c(),I(e)},[I,c]),_=(0,s.useCallback)(()=>{e?e("howItWorks"):u.push("/settings?tab=howItWorks")},[e,u]),R=(0,s.useCallback)(()=>{v?.(!0),c&&c()},[v,c]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(S.PageMasthead,{kicker:x("settings.themeSystem"),title:x("common.settings"),subtitle:x("settings.subtitle")}),h?null:(0,t.jsxs)("button",{type:"button",onClick:()=>{c&&c(),j?.(!0)},className:"tap-row","aria-label":x("search.articlesBillsPh"),style:{width:"100%",display:"flex",alignItems:"center",gap:10,minHeight:48,padding:"0 16px",marginBottom:20,borderRadius:12,border:"1px solid var(--border)",background:"var(--card)",color:"var(--t3)",textAlign:"left",cursor:"pointer"},children:[(0,t.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"11",cy:"11",r:"8"}),(0,t.jsx)("path",{d:"M21 21l-4.35-4.35"})]}),(0,t.jsx)("span",{style:{flex:1,fontSize:"var(--fs-base)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:x("search.articlesBillsPh")})]}),(0,t.jsx)(m,{}),(0,t.jsxs)("div",{style:{marginBottom:12},children:[(0,t.jsx)("div",{className:"section-label-t3 mb-8",children:x("common.more")}),(0,t.jsx)("div",{style:{background:"var(--card)",border:"1px solid var(--border)",borderRadius:12,overflow:"hidden"},children:[{key:"howItWorks",label:x("about.howItWorks"),get sub(){return(0,r.tStatic)("faq.scoringEngagementCompassMath")},iconBg:"rgba(37,99,235,0.1)",icon:(0,t.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"#60a5fa",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M4 19.5A2.5 2.5 0 0 1 6.5 17H20"}),(0,t.jsx)("path",{d:"M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"})]}),action:_},{key:"tutorial",label:x("landing.watchTheTour"),get sub(){return(0,r.tStatic)("about.the40SecondIntroFilm")},iconBg:"rgba(154,123,79,0.1)",icon:(0,t.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"var(--accent)",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M1 4v6h6"}),(0,t.jsx)("path",{d:"M3.51 15a9 9 0 1 0 2.13-9.36L1 10"})]}),action:R}].map((e,r,s)=>(0,t.jsxs)("button",{onClick:e.action,className:"tap-row",style:{width:"100%",display:"flex",alignItems:"center",gap:12,padding:"14px 16px",background:"transparent",border:"none",borderBottom:r<s.length-1?"1px solid var(--border)":"none",textAlign:"left"},children:[(0,t.jsx)("div",{style:{width:34,height:34,borderRadius:9,background:e.iconBg,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:e.icon}),(0,t.jsxs)("div",{style:{flex:1},children:[(0,t.jsx)("div",{style:{fontSize:"var(--fs-base)",fontWeight:600,color:"var(--t1)"},children:e.label}),(0,t.jsx)("div",{style:{fontSize:"var(--fs-base)",color:"var(--t3)",marginTop:1},children:e.sub})]}),(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"var(--t4)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M9 18l6-6-6-6"})})]},e.key))})]}),(0,t.jsxs)("div",{style:{marginBottom:12},children:[(0,t.jsxs)("div",{className:"flex items-center gap-6 mb-8",children:[(0,t.jsx)("span",{className:"section-label-t3",style:{color:"var(--accent)",marginBottom:0},children:x("settings.tools")}),(0,t.jsx)("span",{style:{fontSize:"var(--fs-sm)",fontWeight:700,padding:"1px 5px",borderRadius:3,background:"var(--accent)",color:"var(--bg)",letterSpacing:"var(--ls-wide)"},children:"NEW"})]}),(0,t.jsx)("div",{style:{background:"var(--card)",border:"1px solid var(--border)",borderRadius:12,overflow:"hidden"},children:[{key:"byoa",label:x("decode.analyzeArticle"),get sub(){return(0,r.tStatic)("decode.pasteAnyUrlForBiasFramingAnalysis")},icon:(0,t.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"var(--accent)",strokeWidth:"1.8",strokeLinecap:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71"}),(0,t.jsx)("path",{d:"M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71"})]}),action:()=>F("byoa")}].map((e,r,s)=>(0,t.jsxs)("button",{onClick:e.action,className:"tap-row",style:{width:"100%",display:"flex",alignItems:"center",gap:12,padding:"14px 16px",background:"transparent",border:"none",borderBottom:r<s.length-1?"1px solid var(--border)":"none",textAlign:"left"}
1,children:[(0,t.jsx)("div",{style:{width:34,height:34,borderRadius:9,background:"rgba(154,123,79,0.1)",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:e.icon}),(0,t.jsxs)("div",{style:{flex:1},children:[(0,t.jsx)("div",{style:{fontSize:"var(--fs-base)",fontWeight:600,color:"var(--t1)"},children:e.label}),(0,t.jsx)("div",{style:{fontSize:"var(--fs-base)",color:"var(--t3)",marginTop:1},children:e.sub})]}),(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"var(--t4)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M9 18l6-6-6-6"})})]},e.key))})]}),(0,t.jsxs)("div",{style:{marginBottom:12},children:[(0,t.jsx)("div",{className:"section-label-t3 mb-8",children:x("settings.privacySafety")}),(0,t.jsxs)("div",{style:{background:"var(--card)",border:"1px solid var(--border)",borderRadius:12,overflow:"hidden"},children:[(0,t.jsxs)("button",{onClick:()=>A(!0),className:"tap-row",style:{width:"100%",display:"flex",alignItems:"center",gap:12,padding:"14px 16px",background:"transparent",border:"none",borderBottom:"1px solid var(--border)",textAlign:"left"},children:[(0,t.jsx)("div",{style:{width:34,height:34,borderRadius:9,background:"rgba(154,123,79,0.1)",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,t.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"var(--accent)",strokeWidth:"1.8",strokeLinecap:"round","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,t.jsx)("line",{x1:"4.93",y1:"4.93",x2:"19.07",y2:"19.07"})]})}),(0,t.jsxs)("div",{style:{flex:1},children:[(0,t.jsx)("div",{style:{fontSize:"var(--fs-base)",fontWeight:600,color:"var(--t1)"},children:x("settings.blockedUsers")}),(0,t.jsx)("div",{style:{fontSize:"var(--fs-base)",color:"var(--t3)",marginTop:1},children:x("settings.manageWhoCantSeeYourActivityOrReply")})]}),(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"var(--t4)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M9 18l6-6-6-6"})})]}),(0,t.jsx)("div",{style:{padding:"12px 16px",fontSize:"var(--fs-sm)",color:"var(--t3)",fontFamily:"var(--font-sans), sans-serif",lineHeight:"var(--lh-relaxed)"},children:x("comments.reportObjectionableContentUsingTheMenu")})]})]}),(0,t.jsxs)("div",{style:{marginBottom:12},children:[(0,t.jsx)("div",{className:"section-label-t3 mb-8",children:x("about.about")}),(0,t.jsxs)("div",{style:{background:"var(--card)",border:"1px solid var(--border)",borderRadius:12,overflow:"hidden"},children:[(0,t.jsxs)("button",{onClick:()=>F("about"),className:"tap-row",style:{width:"100%",display:"flex",alignItems:"center",gap:12,padding:"14px 16px",background:"transparent",border:"none",borderBottom:"1px solid var(--border)",textAlign:"left"},children:[(0,t.jsx)("div",{style:{width:34,height:34,borderRadius:9,background:"rgba(154,123,79,0.1)",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,t.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"var(--accent)",strokeWidth:"1.8",strokeLinecap:"round","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,t.jsx)("path",{d:"M12 16v-4"}),(0,t.jsx)("path",{d:"M12 8h.01"})]})}),(0,t.jsxs)("div",{style:{flex:1},children:[(0,t.jsx)("div",{style:{fontSize:"var(--fs-base)",fontWeight:600,color:"var(--t1)"},children:x("about.aboutAeblyMedia")}),(0,t.jsx)("div",{style:{fontSize:"var(--fs-base)",color:"var(--t3)",marginTop:1},children:x("about.ourMissionHowItWorksAndWhatWeBelieve")})]}),(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"var(--t4)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M9 18l6-6-6-6"})})]}),(0,t.jsxs)("button",{onClick:()=>F("about-us"),className:"tap-row",style:{width:"100%",display:"flex",alignItems:"center",gap:12,padding:"14px 16px",background:"transparent",border:"none",borderBottom:"1px solid var(--border)",textAlign:"left"}
1,children:[(0,t.jsx)("div",{style:{width:34,height:34,borderRadius:9,background:"rgba(154,123,79,0.1)",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,t.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"var(--accent)",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}),(0,t.jsx)("circle",{cx:"9",cy:"7",r:"4"}),(0,t.jsx)("path",{d:"M23 21v-2a4 4 0 0 0-3-3.87"}),(0,t.jsx)("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"})]})}),(0,t.jsxs)("div",{style:{flex:1},children:[(0,t.jsx)("div",{style:{fontSize:"var(--fs-base)",fontWeight:600,color:"var(--t1)"},children:x("about.whoWeAre")}),(0,t.jsx)("div",{style:{fontSize:"var(--fs-base)",color:"var(--t3)",marginTop:1},children:x("about.theTeamThatCreatedAeblyMedia")})]}),(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"var(--t4)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M9 18l6-6-6-6"})})]}),(0,t.jsxs)("button",{onClick:()=>F("faq"),className:"tap-row",style:{width:"100%",display:"flex",alignItems:"center",gap:12,padding:"14px 16px",background:"transparent",border:"none",borderBottom:"1px solid var(--border)",textAlign:"left"},children:[(0,t.jsx)("div",{style:{width:34,height:34,borderRadius:9,background:"rgba(154,123,79,0.1)",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,t.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"var(--accent)",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,t.jsx)("path",{d:"M9.09 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3"}),(0,t.jsx)("path",{d:"M12 17h.01"})]})}),(0,t.jsxs)("div",{style:{flex:1},children:[(0,t.jsx)("div",{style:{fontSize:"var(--fs-base)",fontWeight:600,color:"var(--t1)"},children:"FAQ"}),(0,t.jsx)("div",{style:{fontSize:"var(--fs-base)",color:"var(--t3)",marginTop:1},children:x("faq.answersToCommonQuestions")})]}),(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"var(--t4)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M9 18l6-6-6-6"})})]}),T&&T.length>0?(0,t.jsxs)("button",{onClick:()=>{c&&c(),u.push("/newsrooms")},className:"tap-row",style:{width:"100%",display:"flex",alignItems:"center",gap:12,padding:"14px 16px",background:"transparent",border:"none",borderBottom:"1px solid var(--border)",textAlign:"left"},children:[(0,t.jsx)("div",{style:{width:34,height:34,borderRadius:9,background:"rgba(154,123,79,0.1)",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,t.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"var(--accent)",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2"}),(0,t.jsx)("path",{d:"M18 14h-8"}),(0,t.jsx)("path",{d:"M15 18h-5"}),(0,t.jsx)("path",{d:"M10 6h8v4h-8z"})]})}),(0,t.jsxs)("div",{style:{flex:1},children:[(0,t.jsx)("div",{style:{fontSize:"var(--fs-base)",fontWeight:600,color:"var(--t1)"},children:x("newsroom.yourNewsrooms")}),(0,t.jsx)("div",{style:{fontSize:"var(--fs-base)",color:"var(--t3)",marginTop:1},children:x("newsroom.spacesWhereYouPublish")})]}),(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"var(--t4)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M9 18l6-6-6-6"})})]}):null,(0,t.jsxs)("a",{href:"https://forms.gle/1JqLaBNp4d9Z3Xzc7",target:"_blank",rel:"noopener noreferrer",className:"tap-row",style:{width:"100%",display:"flex",alignItems:"center",gap:12,padding:"14px 16px",background:"transparent",border:"none",textAlign:"left",textDecoration:"none",color:"inherit"}
1,children:[(0,t.jsx)("div",{style:{width:34,height:34,borderRadius:9,background:"rgba(154,123,79,0.1)",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,t.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"var(--accent)",strokeWidth:"1.8",strokeLinecap:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M21 15a2 2 0 01-2 2H7l-4 4V5a2 2 0 012-2h14a2 2 0 012 2z"})})}),(0,t.jsxs)("div",{style:{flex:1},children:[(0,t.jsx)("div",{style:{fontSize:"var(--fs-base)",fontWeight:600,color:"var(--t1)"},children:x("settings.submitFeedback")}),(0,t.jsx)("div",{style:{fontSize:"var(--fs-base)",color:"var(--t3)",marginTop:1},children:x("about.bugReportsFeatureRequestsOrJustSayHi")})]}),(0,t.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"var(--t4)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"}),(0,t.jsx)("path",{d:"M15 3h6v6"}),(0,t.jsx)("path",{d:"M10 14L21 3"})]})]})]}),(0,t.jsx)(b.Inline,{gap:"md",style:{marginTop:10},children:(0,t.jsxs)("div",{style:{flex:1,background:"var(--card)",border:"1px solid var(--border)",borderRadius:10,padding:"12px 14px"},children:[(0,t.jsx)("div",{style:{fontSize:"var(--fs-base)",fontWeight:600,color:"var(--t1)"},children:"Aebly Media"}),(0,t.jsx)("div",{style:{fontSize:"var(--fs-sm)",color:"var(--t3)",marginTop:2},children:x("settings.pressInquiries")}),(0,t.jsx)("a",{href:"mailto:[email protected]",style:{fontSize:"var(--fs-sm)",color:"var(--accent)",marginTop:4,display:"block",wordBreak:"break-word",textDecoration:"none"},children:"[email protected]"})]})})]}),p&&(0,t.jsx)(y,{onLogout:M}),(0,t.jsx)(W,{isOpen:z,onClose:()=>A(!1)})]})}],258380)}]);
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.