티스토리 수익 글 보기
try{let e=”undefined”!=typeof window?window:”undefined”!=typeof global?global:”undefined”!=typeof globalThis?globalThis:”undefined”!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=”4b25f0d3-77f6-4c24-848f-1b9f9b098de9″,e._sentryDebugIdIdentifier=”sentry-dbid-4b25f0d3-77f6-4c24-848f-1b9f9b098de9″)}catch(e){}(“undefined”!==typeof window?window:”undefined”!==typeof global?global:”undefined”!==typeof globalThis?globalThis:”undefined”!==typeof self?self:{}).SENTRY_RELEASE={id:”1.117.0″};(()=>{var t={61034:(t,s,o)=>{“use strict”;o.r(s);o(54993),o(5809);window.setImmediate=e=>setTimeout(e,0);var n=o(19690),a=o(15991),r=o(14261),i=o(43535);(0,r.init)({enabled:!i.IS_DEV&&!!i.SENTRY_DSN,autoSessionTracking:!1,dsn:i.SENTRY_DSN,debug:!1,environment:i.ENV,dist:i.BUNDLE_IDENTIFIER,release:i.RELEASE_VERSION,ignoreErrors:[“t is not defined”,”Can’t find variable: t”,”Network request failed”],attachStacktrace:!1,sampleRate:i.IS_INTERNAL?1:.1});var l=o(41770),c=o(3563),d=o(91035),u=o(84322),m=o(74708),h=o(26633),p=o(21705),f=o(69601),g=o(70513),x=o(94045),_=o(45420),y=o(62220),b=o(23226),j=o(59372),v=o(41668),S=o(32840),w=o(85692),T=o(85804),k=o(97315),C=o(31254),I=o(9107),A=o(29628),P=o(56610),E=o(2724),L=o(48327),R=o(94319),D=o(26586),B=o(49817),O=o(9978),M=o(2895),F=o(73653),N=o(98933),H=o(32177),V=o(2481),z=o(63971),U=o(4423),G=o(40242),W=o(60990),q=o(56962),Q=o(73344),K=o(71541),Z=o(56382),Y=o(39838),$=o(79423),X=o(63128),J=o(67058),ee=o(12592),te=o(42670),se=o(43611),oe=o(12606),ne=o(23910),ae=o(45067),re=o(39028),ie=o(48919),le=o(86251),ce=o(58765),de=o(57578),ue=o(42445),me=o(61385),he=o(80466),pe=o(36037),fe=o(68911),ge=o(37905),xe=o(62479),_e=o(96328),ye=o(56904),be=o(99313),je=o(17096),ve=o(27771),Se=o(90680),we=o(26155),Te=o(66386),ke=o(8252),Ce=o(67458),Ie=o(73862),Ae=o(29068),Pe=o(89240),Ee=o(46030),Le=o(5765),Re=o(18917),De=o(4717),Be=o(71079),Oe=o(83012),Me=o(44062),Fe=o(64070),Ne=o(40547),He=o(19075),Ve=o(70333),ze=o(22788),Ue=o(71927),Ge=o(26712),We=o(42254),qe=o(10934),Qe=o(20479),Ke=o(64676),Ze=o(23719),Ye=o(82299),$e=o(11892),Xe=o(82612),Je=o(46887),et=o(61382),tt=o(73343),st=o(3535),ot=o(97474),nt=o(8187),at=o(6206),rt=o(51428),it=o(1833),lt=o(36861);l.library.add(c.faAddressCard,B.faAngleDown,O.faAngleLeft,M.faAngleRight,F.faAngleUp,H.faArrowLeft,V.faArrowRight,q.faArrowUp,N.faArrowDown,z.faArrowRightFromBracket,Q.faArrowUpFromBracket,K.faArrowUpRightFromSquare,U.faArrowRotateLeft,W.faArrowTrendUp,G.faArrowsRotate,Z.faAt,Y.faBan,$.faBars,X.faBell,d.faBell,J.faBookmark,u.faBookmark,m.faCalendar,ee.faCamera,te.faCheck,oe.faChevronRight,h.faCircle,ne.faCircleCheck,p.faCircleCheck,ae.faCircleDot,re.faCircleExclamation,f.faCirclePlay,g.faCircleUser,ie.faClipboardCheck,le.faClone,x.faClone,_.faComment,y.faCommentDots,ce.faCommentSlash,b.faComments,j.faCompass,de.faDownload,ue.faEllipsis,me.faEnvelope,pe.faEye,he.faExclamation,v.faEyeSlash,S.faFaceSmile,ge.faFire,xe.faFlask,w.faFloppyDisk,_e.faGear,ye.faGlobe,be.faHand,T.faHand,je.faHashtag,k.faHeart,ve.faHeart,Se.faHouse,we.faImage,C.faImage,Te.faInfo,ke.faLanguage,Ce.faLink,Ie.faList,Ae.faListUl,Pe.faLock,Ee.faMagnifyingGlass,I.faMessage,Le.faNoteSticky,Re.faPaintRoller,A.faPaste,De.faPause,Be.faPen,Oe.faPenNib,Me.faPenToSquare,Fe.faPhone,Ne.faPlay,He.faPlus,Ve.faQuoteLeft,ze.faReply,Ue.faRetweet,Ge.faRss,We.faSatelliteDish,qe.faServer,Qe.faShare,Ke.faShareFromSquare,Ze.faShield,Ye.faSignal,$e.faSliders,P.faSquare,E.faSquareCheck,L.faSquarePlus,et.faUniversalAccess,D.faUser,ot.faUsers,tt.faUserCheck,nt.faUserSlash,st.faUserPlus,rt.faUserXmark,at.faUsersSlash,Xe.faThumbtack,Je.faTicket,R.faTrashCan,it.faX,lt.faXmark,se.faChevronDown,fe.faFilter);var ct=o(95004),dt=o(69052),ut=o(96963),mt=o(43549),ht=o(25705),pt=o(51010),ft=o(88745),gt=o(17908),xt=o(7885),_t=o(33927),yt=o(61715),bt=o(6648),jt=o(2629);let vt,St=!1,wt=!1,Tt=!1;function kt(){vt||(St=!1,wt=!1,vt=async function(){try{const e=new AbortController;setTimeout((()=>{e.abort()}),15e3);const t=await fetch(“https://public.api.bsky.app/xrpc/_health”,{cache:”no-store”,signal:e.signal});return!!(await t.json()).version}catch(e){return!1}}().then((e=>{vt=void 0,e&&St&&(Tt=!0),!e&&wt&&(Tt=!0),Tt||pt.onlineManager.setOnline(e)})))}(0,yt.listenNetworkLost)((()=>{St=!0,pt.onlineManager.setOnline(!1)})),(0,yt.listenNetworkConfirmed)((()=>{wt=!0,pt.onlineManager.setOnline(!0)})),setInterval((()=>{“active”===mt.default.currentState&&(pt.onlineManager.isOnline()&&!Tt||kt())}),2e3),ft.focusManager.setEventListener((e=>{if(i.IS_NATIVE){const e=mt.default.addEventListener(“change”,(e=>{ft.focusManager.setFocused(“active”===e)}));return()=>e.remove()}if(“undefined”!==typeof window&&window.addEventListener){const t=()=>e();return window.addEventListener(“focus”,t,!1),window.addEventListener(“visibilitychange”,t,!1),()=>{window.removeEventListener(“visibilitychange”,t),window.removeEventListener(“focus”,t)}}}));const Ct=()=>new gt.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1,structuralSharing:!1,retry:!1}}}),It={shouldDehydrateMutation:e=>!1,shouldDehydrateQuery:e=>String(e.queryKey[0])===bt.PERSISTED_QUERY_ROOT};function At(e){const t=(0,a.c)(3),{children:s,currentDid:o}=e;let n;return t[0]!==s||t[1]!==o?(n=(0,jt.jsx)(Pt,{currentDid:o,children:s},o),t[0]=s,t[1]=o,t[2]=n):n=t[2],n}function Pt({children:e,currentDid:t}){const s=(0,ct.useRef)(t);if(t!==s.current)throw Error(“Something is very wrong. Expected did to be stable due to key above.”);const[o,n]=(0,ct.useState)((()=>Ct())),[a,r]=(0,ct.useState)((()=>{const e=(0,_t.createPersistedQueryStorage)(t??”logged-out”);return{persister:(0,ht.createAsyncStoragePersister)({storage:e,key:”queryClient-“+(t??”logged-out”)}),dehydrateOptions:It,buster:i.APP_VERSION}}));return(0,ct.useEffect)((()=>{i.IS_WEB&&(window.__TANSTACK_QUERY_CLIENT__=o)}),[o]),(0,jt.jsx)(xt.PersistQueryClientProvider,{client:o,persistOptions:a,children:e})}var Et=o(83540),Lt=o(17789),Rt=o(26174),Dt=o(12855),Bt=o(64303),Ot=o(28654);function Mt(){const e=(0,a.c)(3),{appLanguage:t}=(0,Ot.useLanguagePrefs)(),[s,n]=(0,ct.useState)(Rt.default);let r,i;return e[0]!==t?(r=()=>{const e=(0,Dt.sanitizeAppLanguageSetting)(t);document.documentElement.lang=e,async function(e){let t,s=Rt.default;switch(e){case Bt.AppLanguage.an:[t,{default:s}]=await Promise.all([o.e(5328).then(o.t.bind(o,65328,23)),o.e(815).then(o.bind(o,10815))]);break;case Bt.AppLanguage.ast:[t,{default:s}]=await Promise.all([o.e(7777).then(o.t.bind(o,47777,23)),o.e(815).then(o.bind(o,10815))]);break;case Bt.AppLanguage.ca:[t,{default:s}]=await Promise.all([o.e(6251).then(o.t.bind(o,16251,23)),o.e(8631).then(o.bind(o,98631))]);break;case Bt.AppLanguage.cy:[t,{default:s}]=await Promise.all([o.e(8528).then(o.t.bind(o,18528,23)),o.e(6264).then(o.bind(o,6264))]);break;case Bt.AppLanguage.da:[t,{default:s}]=await Promise.all([o.e(418).then(o.t.bind(o,66224,23)),o.e(8084).then(o.bind(o,28084))]);break;case Bt.AppLanguage.de:[t,{default:s}]=await Promise.all([o.e(3082).then(o.t.bind(o,93082,23)),o.e(5613).then(o.bind(o,15613))]);break;case Bt.AppLanguage.el:[t,{default:s}]=await Promise.all([o.e(6470).then(o.t.bind(o,26470,23)),o.e(7699).then(o.bind(o,47699))]);break;case Bt.AppLanguage.en_GB:[t,{default:s}]=await Promise.all([o.e(7179).then(o.t.bind(o,27179,23)),o.e(1922).then(o.bind(o,91922))]);break;case Bt.AppLanguage.eo:[t,{default:s}]=await Promise.all([o.e(1108).then(o.t.bind(o,61108,23)),o.e(501).then(o.bind(o,60501))]);break;case Bt.AppLanguage.es:[t,{default:s}]=await Promise.all([o.e(5145).then(o.t.bind(o,15145,23)),o.e(815).then(o.bind(o,10815))]);break;case Bt.AppLanguage.eu:[t,{default:s}]=await Promise.all([o.e(4348).then(o.t.bind(o,74348,23)),o.e(5581).then(o.bind(o,5581))]);break;case Bt.AppLanguage.fi:[t,{default:s}]=await Promise.all([o.e(1905).then(o.t.bind(o,81905,23)),o.e(8710).then(o.bind(o,98710))]);break;case Bt.AppLanguage.fr:[t,{default:s}]=await Promise.all([o.e(4697).then(o.t.bind(o,24697,23)),o.e(6362).then(o.bind(o,76362))]);break;case Bt.AppLanguage.fy:[t,{default:s}]=await Promise.all([o.e(3039).then(o.t.bind(o,53039,23)),o.e(3022).then(o.bind(o,3022))]);break;case Bt.AppLanguage.ga:t=await o.e(640).then(o.t.bind(o,80640,23));break;case Bt.AppLanguage.gd:[t,{default:s}]=await Promise.all([o.e(1262).then(o.t.bind(o,81262,23)),o.e(9898).then(o.bind(o,69898))]);break;case Bt.AppLanguage.gl:[t,{default:s}]=await Promise.all([o.e(850).then(o.t.bind(o,30850,23)),o.e(130).then(o.bind(o,50130))]);break;case Bt.AppLanguage.hi:[t,{default:s}]=await Promise.all([o.e(3419).then(o.t.bind(o,93419,23)),o.e(450).then(o.bind(o,70450))]);break;case Bt.AppLanguage.hu:[t,{default:s}]=await Promise.all([o.e(1373).then(o.t.bind(o,21373,23)),o.e(5526).then(o.bind(o,55526))]);break;case Bt.AppLanguage.ia:t=await o.e(7288).then(o.t.bind(o,67288,23));break;case Bt.AppLanguage.id:[t,{default:s}]=await Promise.all([o.e(5982).then(o.t.bind(o,45982,23)),o.e(5940).then(o.bind(o,15940))]);break;case Bt.AppLanguage.it:[t,{default:s}]=await Promise.all([o.e(5077).then(o.t.bind(o,95077,23)),o.e(5709).then(o.bind(o,75709))]);break;case Bt.AppLanguage.ja:[t,{default:s}]=await Promise.all([o.e(3936).then(o.t.bind(o,43936,23)),o.e(7514).then(o.bind(o,47514))]);break;case Bt.AppLanguage.km:[t,{default:s}]=await Promise.all([o.e(9092).then(o.t.bind(o,39092,23)),o.e(6854).then(o.bind(o,36854))]);break;case Bt.AppLanguage.ko:[t,{default:s}]=await Promise.all([o.e(2667).then(o.t.bind(o,2667,23)),o.e(9265).then(o.bind(o,59265))]);break;case Bt.AppLanguage.ne:t=await o.e(6666).then(o.t.bind(o,76666,23));break;case Bt.AppLanguage.nl:[t,{default:s}]=await Promise.all([o.e(953).then(o.t.bind(o,30953,23)),o.e(6206).then(o.bind(o,76206))]);break;case Bt.AppLanguage.pl:[t,{default:s}]=await Promise.all([o.e(3101).then(o.t.bind(o,43101,23)),o.e(2788).then(o.bind(o,82788))]);break;case Bt.AppLanguage.pt_BR:[t,{default:s}]=await Promise.all([o.e(2742).then(o.t.bind(o,2742,23)),o.e(5788).then(o.bind(o,85788))]);break;case Bt.AppLanguage.pt_PT:[t,{default:s}]=await Promise.all([o.e(5939).then(o.t.bind(o,25939,23)),o.e(1538).then(o.bind(o,87085))]);break;case Bt.AppLanguage.ro:[t,{default:s}]=await Promise.all([o.e(6508).then(o.t.bind(o,66508,23)),o.e(9679).then(o.bind(o,49679))]);break;case Bt.AppLanguage.ru:[t,{default:s}]=await Promise.all([o.e(5373).then(o.t.bind(o,35373,23)),o.e(2346).then(o.bind(o,32346))]);break;case Bt.AppLanguage.sv:[t,{default:s}]=await Promise.all([o.e(5874).then(o.t.bind(o,65874,23)),o.e(5700).then(o.bind(o,55700))]);break;case Bt.AppLanguage.th:[t,{default:s}]=await Promise.all([o.e(5660).then(o.t.bind(o,35660,23)),o.e(9748).then(o.bind(o,39748))]);break;case Bt.AppLanguage.tr:[t,{default:s}]=await Promise.all([o.e(4977).then(o.t.bind(o,14977,23)),o.e(2986).then(o.bind(o,92986))]);break;case Bt.AppLanguage.uk:[t,{default:s}]=await Promise.all([o.e(1889).then(o.t.bind(o,1889,23)),o.e(6660).then(o.bind(o,16660))]);break;case Bt.AppLanguage.vi:[t,{default:s}]=await Promise.all([o.e(703).then(o.t.bind(o,40703,23)),o.e(3592).then(o.bind(o,53592))]);break;case Bt.AppLanguage.zh_CN:[t,{default:s}]=await Promise.all([o.e(1767).then(o.t.bind(o,51767,23)),o.e(9319).then(o.bind(o,79319))]);break;case Bt.AppLanguage.zh_HK:[t,{default:s}]=await Promise.all([o.e(1491).then(o.t.bind(o,71491,23)),o.e(6411).then(o.bind(o,6411))]);break;case Bt.AppLanguage.zh_TW:[t,{default:s}]=await Promise.all([o.e(5931).then(o.t.bind(o,5931,23)),o.e(7430).then(o.bind(o,27430))]);break;default:t=await o.e(9521).then(o.t.bind(o,99521,23))}return Lt.i18n.load(e,t.messages),Lt.i18n.activate(e),s}(e).then((e=>{n(e)}))},i=[t],e[0]=t,e[1]=r,e[2]=i):(r=e[1],i=e[2]),(0,ct.useEffect)(r,i),s}const Ft=(0,ct.createContext)(void 0);function Nt(e){const t=(0,a.c)(5),{children:s}=e,o=Mt();let n,r;return t[0]!==s?(n=(0,jt.jsx)(ut.I18nProvider,{i18n:Lt.i18n,children:s}),t[0]=s,t[1]=n):n=t[1],t[2]!==o||t[3]!==n?(r=(0,jt.jsx)(Ft,{value:o,children:n}),t[2]=o,t[3]=n,t[4]=r):r=t[4],r}Ft.displayName=”DateLocaleContext”;var Ht=o(5295),Vt=o(77268),zt=o(21621),Ut=o(10098),Gt=o(43029),Wt=o(17110),qt=o(86731),Qt=o(13369),Kt=o(52891),Zt=o(5448),Yt=o(97154);var $t=o(33520);const Xt=(0,ct.createContext)({enabled:!1});Xt.displayName=”TrendingContext”;const Jt=(0,ct.createContext)(null);function es(t){const s=(0,a.c)(13),{children:o}=t,n=(0,Kt.useLanguagePrefs)(),{data:r,isLoading:i}=function(){const t=(0,Yt.useAgent)();return(0,Zt.useQuery)({refetchOnWindowFocus:!0,staleTime:bt.STALE.MINUTES.FIVE,queryKey:[“service-config”],queryFn:async()=>{try{const{data:e}=await t.api.app.bsky.unspecced.getConfig();return{checkEmailConfirmed:Boolean(e.checkEmailConfirmed),topicsEnabled:Boolean(e.topicsEnabled),liveNow:e.liveNow??[]}}catch(e){return{checkEmailConfirmed:!1,topicsEnabled:!1,liveNow:[]}}}})}();let l;e:{if(n.contentLanguages.length&&!n.contentLanguages.includes(“en”)){let e;s[1]===Symbol.for(“react.memo_cache_sentinel”)?(e={enabled:!1},s[1]=e):e=s[1],l=e;break e}let e;s[2]===Symbol.for(“react.memo_cache_sentinel”)?(e=$t.device.get([“trendingBetaEnabled”]),s[2]=e):e=s[2];if(i){const t=Boolean(e);let o;s[3]!==t?(o={enabled:t},s[3]=t,s[4]=o):o=s[4],l=o;break e}const t=Boolean(r?.topicsEnabled);let o;$t.device.set([“trendingBetaEnabled”],t),s[5]!==t?(o={enabled:t},s[5]=t,s[6]=o):o=s[6],l=o}const c=l,d=r?.checkEmailConfirmed??!0;let u,m;return s[7]!==d||s[8]!==o?(u=(0,jt.jsx)(Jt.Provider,{value:d,children:o}),s[7]=d,s[8]=o,s[9]=u):u=s[9],s[10]!==u||s[11]!==c?(m=(0,jt.jsx)(Xt.Provider,{value:c,children:u}),s[10]=u,s[11]=c,s[12]=m):m=s[12],m}function ts(){return(0,ct.useContext)(Xt)}const ss=(0,ct.createContext)(null);function os(e){const t=(0,a.c)(7),{children:s}=e,{currentAccount:o}=(0,Yt.useSession)(),n=o?.did;let r;t[0]!==n?(r={did:n,staleTime:bt.STALE.INFINITY},t[0]=n,t[1]=r):r=t[1];const{data:i}=(0,Qt.useProfileQuery)(r),l=function(){const e=(0,ct.useContext)(Jt);if(null===e)throw new Error(“useCheckEmailConfirmed must be used within a ServiceConfigManager”);return e}(),c=!!i?.createdAt&&Date.parse(i.createdAt)>=Date.parse(“2024-11-18T19:00:00.000Z”),d=!(o&&(0,qt.getHostnameFromUrl)(o.service)!==(0,qt.getHostnameFromUrl)(Wt.BSKY_SERVICE))&&l&&!o?.emailConfirmed&&c;let u;t[2]!==d?(u={needsEmailVerification:d},t[2]=d,t[3]=u):u=t[3];const m=u;let h;return t[4]!==s||t[5]!==m?(h=(0,jt.jsx)(ss.Provider,{value:m,children:s}),t[4]=s,t[5]=m,t[6]=h):h=t[6],h}function ns(){const e=(0,ct.useContext)(ss);if(!e)throw new Error(“useEmail must be used within a EmailVerificationProvider”);return e}ss.displayName=”EmailVerificationContext”,os.displayName=”EmailVerificationProvider”;const as=ct.createContext(!1);as.displayName=”HomeBadgeStateContext”;const rs=ct.createContext((e=>{}));function is(e){const t=(0,a.c)(5),{children:s}=e,[o,n]=ct.useState(!1);let r,i;return t[0]!==s?(r=(0,jt.jsx)(rs.Provider,{value:n,children:s}),t[0]=s,t[1]=r):r=t[1],t[2]!==o||t[3]!==r?(i=(0,jt.jsx)(as.Provider,{value:o,children:r}),t[2]=o,t[3]=r,t[4]=i):i=t[4],i}rs.displayName=”HomeBadgeApiContext”;var ls=o(87357),cs=o(92799),ds=o(21136),us=o(55856);const ms=ct.createContext(null);function hs(){const e=ct.useContext(ms);if(!e)throw new Error(“useMessageDrafts must be used within a MessageDraftsContext”);return e}function ps(e,t){switch(t.type){case”set”:return Object.assign({},e,{[t.convoId]:t.draft});case”clear”:return Object.assign({},e,{[t.convoId]:””});default:return e}}function fs(e){const t=(0,a.c)(6),{children:s}=e;let o;t[0]===Symbol.for(“react.memo_cache_sentinel”)?(o={},t[0]=o):o=t[0];const[n,r]=(0,ct.useReducer)(ps,o);let i;t[1]!==n?(i={state:n,dispatch:r},t[1]=n,t[2]=i):i=t[2];const l=i;let c;return t[3]!==s||t[4]!==l?(c=(0,jt.jsx)(ms.Provider,{value:l,children:s}),t[3]=s,t[4]=l,t[5]=c):c=t[5],c}function gs(e){const t=(0,a.c)(2),{children:s}=e;let o;return t[0]!==s?(o=(0,jt.jsx)(cs.CurrentConvoIdProvider,{children:(0,jt.jsx)(fs,{children:(0,jt.jsx)(ds.MessagesEventBusProvider,{children:(0,jt.jsx)(us.ListConvosProvider,{children:s})})})}),t[0]=s,t[1]=o):o=t[1],o}ms.displayName=”MessageDraftsContext”;var xs=o(58810),_s=o(48793),ys=o(3987),bs=o(15874),js=o(90464),vs=o(96613),Ss=o(30756),ws=o(86940);const Ts=ct.createContext(void 0);Ts.displayName=”ActiveStarterPackStateContext”;const ks=ct.createContext((e=>{}));function Cs(e){const t=(0,a.c)(5),{children:s}=e,[o,n]=ct.useState();let r,i;return t[0]!==s?(r=(0,jt.jsx)(ks.Provider,{value:n,children:s}),t[0]=s,t[1]=r):r=t[1],t[2]!==o||t[3]!==r?(i=(0,jt.jsx)(Ts.Provider,{value:o,children:r}),t[2]=o,t[3]=r,t[4]=i):i=t[4],i}ks.displayName=”ActiveStarterPackSetContext”;const Is=()=>ct.useContext(Ts),As=()=>ct.useContext(ks),Ps=ct.createContext({showLoggedOut:!1,requestedAccountSwitchTo:void 0});Ps.displayName=”LoggedOutStateContext”;const Es=ct.createContext({setShowLoggedOut:()=>{},requestSwitchToAccount:()=>{},clearRequestedAccount:()=>{}});function Ls(e){const t=(0,a.c)(9),{children:s}=e,o=Is(),{hasSession:n}=(0,Yt.useSession)(),r=Boolean(o?.uri)&&!n,l=r?i.IS_WEB?”starterpack”:”new”:void 0;let c;t[0]!==r||t[1]!==l?(c={showLoggedOut:r,requestedAccountSwitchTo:l},t[0]=r,t[1]=l,t[2]=c):c=t[2];const[d,u]=ct.useState(c);let m;t[3]===Symbol.for(“react.memo_cache_sentinel”)?(m={setShowLoggedOut(e){u((t=>Object.assign({},t,{showLoggedOut:e})))},requestSwitchToAccount(e){const{requestedAccount:t}=e;u((e=>Object.assign({},e,{showLoggedOut:!0,requestedAccountSwitchTo:t})))},clearRequestedAccount(){u(Rs)}},t[3]=m):m=t[3];const h=m;let p,f;return t[4]!==s?(p=(0,jt.jsx)(Es.Provider,{value:h,children:s}),t[4]=s,t[5]=p):p=t[5],t[6]!==d||t[7]!==p?(f=(0,jt.jsx)(Ps.Provider,{value:d,children:p}),t[6]=d,t[7]=p,t[8]=f):f=t[8],f}function Rs(e){return Object.assign({},e,{requestedAccountSwitchTo:void 0})}function Ds(){return ct.useContext(Ps)}function Bs(){return ct.useContext(Es)}Es.displayName=”LoggedOutControlsContext”;var Os=o(58505),Ms=o(24095);const Fs=(0,ct.createContext)(null);Fs.displayName=”SelectedFeedStateContext”;const Ns=(0,ct.createContext)((e=>{}));function Hs(e){const t=(0,a.c)(10),{children:s}=e,{currentAccount:o}=(0,Yt.useSession)();let n;t[0]!==o?.did?(n=()=>function(e){if(i.IS_WEB){if(“/”===window.location.pathname){const e=new URLSearchParams(window.location.search).get(“feed”);if(e)return e}const e=sessionStorage.getItem(“lastSelectedHomeFeed”);if(e)return e}if(e){const t=$t.account.get([e,”lastSelectedHomeFeed”]);if(t)return t}return null}(o?.did),t[0]=o?.did,t[1]=n):n=t[1];const[r,l]=(0,ct.useState)(n);let c;t[2]!==o?.did?(c=e=>{if(l(e),i.IS_WEB)try{sessionStorage.setItem(“lastSelectedHomeFeed”,e)}catch{}o?.did&&$t.account.set([o?.did,”lastSelectedHomeFeed”],e)},t[2]=o?.did,t[3]=c):c=t[3],o?.did;const d=c;let u,m;return t[4]!==s||t[5]!==d?(u=(0,jt.jsx)(Ns.Provider,{value:d,children:s}),t[4]=s,t[5]=d,t[6]=u):u=t[6],t[7]!==r||t[8]!==u?(m=(0,jt.jsx)(Fs.Provider,{value:r,children:u}),t[7]=r,t[8]=u,t[9]=m):m=t[9],m}function Vs(){return(0,ct.useContext)(Fs)}function zs(){return(0,ct.useContext)(Ns)}Ns.displayName=”SelectedFeedSetContext”;var Us=o(36197),Gs=o(70341),Ws=o(59550),qs=o(88528),Qs=o(67842),Ks=o(3611),Zs=o(67781),Ys=o(61521),$s=o(88186),Xs=o(19955),Js=o(13308),eo=o(9269),to=o(19552),so=o(63410),oo=o(96587),no=o(58895);const ao=new no.default;const ro=[“accountEmailState”];function io(){const e=(0,a.c)(15),t=(0,Yt.useAgent)(),{partialRefreshSession:s}=(0,Yt.useSessionApi)(),[o,n]=(0,ct.useState)(!!t.session?.emailConfirmed),r=!!t.session?.emailConfirmed,i=!!t.session?.emailAuthFactor;let l;e[0]!==r||e[1]!==i?(l={isEmailVerified:r,email2FAEnabled:i},e[0]=r,e[1]=i,e[2]=l):l=e[2];const c=l,d=!!t.session,u=!o;let m,h,p,f;return e[3]!==s?(m=async()=>(await s(),null),e[3]=s,e[4]=m):m=e[4],e[5]!==d||e[6]!==u||e[7]!==m?(h={enabled:d,refetchOnWindowFocus:u,queryKey:ro,queryFn:m},e[5]=d,e[6]=u,e[7]=m,e[8]=h):h=e[8],(0,Zt.useQuery)(h),e[9]!==o||e[10]!==c.isEmailVerified?(p=()=>{c.isEmailVerified&&!o?(n(!0),ao.emit(“emailVerified”)):!c.isEmailVerified&&o&&n(!1)},e[9]=o,e[10]=c.isEmailVerified,e[11]=p):p=e[11],e[12]!==o||e[13]!==c?(f=[c,o],e[12]=o,e[13]=c,e[14]=f):f=e[14],(0,ct.useEffect)(p,f),c}var lo=o(47571);function co(){const e=(0,a.c)(2),{_:t}=(0,ut.useLingui)();let s;return e[0]!==t?(s=e=>{if(!e)return{raw:void 0,clean:void 0};let s=e.toString();return mo(s)?{raw:s,clean:t({id:”ItUNqU”})}:s.includes(“Upstream Failure”)||s.includes(“NotEnoughResources”)||s.includes(“pipethrough network error”)?{raw:s,clean:t({id:”ZdWWqK”})}:s.includes(“Do not have authorization to set preferences”)&&s.includes(“app.bsky.actor.defs#personalDetailsPref”)?{raw:s,clean:t({id:”0cMFWr”})}:s.includes(“Bad token scope”)||s.includes(“Bad token method”)?{raw:s,clean:t({id:”77VGfA”})}:s.includes(“Rate Limit Exceeded”)?{raw:s,clean:t({id:”hsiT9p”})}:(s.startsWith(“Error: “)&&(s=s.slice(7)),{raw:s,clean:void 0})},e[0]=t,e[1]=s):s=e[1],s}const uo=[“Abort”,”Network request failed”,”Failed to fetch”,”Load failed”,”Upstream service unreachable”];function mo(e){const t=String(e);for(const s of uo)if(t.includes(s))return!0;return!1}var ho=o(27344),po=o(51536),fo=o(84639),go=o(96449),xo=o(50788),_o=o(23486);function yo({onPress:e,style:t}){const s=(0,to.useTheme)(),{_:o}=(0,ut.useLingui)(),[n,a]=(0,ct.useState)(null);return(0,jt.jsxs)(_o.Text,{style:[to.atoms.italic,to.atoms.leading_snug,s.atoms.text_contrast_medium,t],children:[(0,jt.jsx)(ut.Trans,{id:”7xEtFq”,components:{0:(0,jt.jsx)(go.InlineLinkText,Object.assign({label:o({id:”MyjAbr”})},(0,go.createStaticClick)((()=>{(async()=>{a(“sending”);try{await(0,lo.wait)(1e3,e()),a(“success”)}finally{setTimeout((()=>{a(null)}),1e3)}})()}))))}}),” “,(0,jt.jsx)(_o.Span,{style:{top:1},children:”sending”===n?(0,jt.jsx)(xo.Loader,{size:”xs”}):”success”===n?(0,jt.jsx)(fo.CheckThick_Stroke2_Corner0_Rounded,{size:”xs”,fill:s.palette.positive_500}):null})]})}var bo=o(75281),jo=o(79694);function vo(e){return Boolean(e&&/^[A-Z2-7]{5}-[A-Z2-7]{5}$/.test(e))}function So(e){const t=(0,a.c)(11),{value:s,onChangeText:o,onSubmitEditing:n}=e,{_:r}=(0,ut.useLingui)(),i=Boolean(s&&s.length>10&&!vo(s));let l;t[0]!==o?(l=e=>{o?.(function(e){const t=e.toUpperCase().replace(/[^A-Z2-7]/g,””);return t.length<=5?t:`${t.slice(0,5)}-${t.slice(5)}`}(e))},t[0]=o,t[1]=l):l=t[1];const c=l;let d,u,m;return t[2]===Symbol.for("react.memo_cache_sentinel")?(d=(0,jt.jsx)(bo.Icon,{icon:jo.Shield_Stroke2_Corner0_Rounded}),t[2]=d):d=t[2],t[3]!==r?(u=r({id:"ioZOzk"}),t[3]=r,t[4]=u):u=t[4],t[5]!==c||t[6]!==i||t[7]!==n||t[8]!==u||t[9]!==s?(m=(0,jt.jsx)(Qs.default,{children:(0,jt.jsxs)(bo.Root,{children:[d,(0,jt.jsx)(bo.Input,{autoComplete:"off",autoCorrect:!1,isInvalid:i,label:u,maxLength:11,placeholder:"XXXXX-XXXXX",value:s,onChangeText:c,onSubmitEditing:n})]})}),t[5]=c,t[6]=i,t[7]=n,t[8]=u,t[9]=s,t[10]=m):m=t[10],m}var wo=o(37729);function To(){const e=(0,a.c)(3),t=(0,Yt.useAgent)(),{currentAccount:s}=(0,Yt.useSession)();let o;return e[0]!==t||e[1]!==s?(o={mutationFn:async e=>{const{enabled:o,token:n}=e;if(!s?.email)throw new Error(“No email found for the current account”);await t.com.atproto.server.updateEmail({email:s.email,emailAuthFactor:o,token:n}),await t.resumeSession(t.session)}},e[0]=t,e[1]=s,e[2]=o):o=e[2],(0,wo.useMutation)(o)}function ko(){const e=(0,a.c)(2),t=(0,Yt.useAgent)();let s;return e[0]!==t?(s={mutationFn:async()=>(await t.com.atproto.server.requestEmailUpdate()).data},e[0]=t,e[1]=s):s=e[1],(0,wo.useMutation)(s)}function Co(e){const t=(0,a.c)(3),{style:s}=e,o=(0,to.useTheme)();let n;return t[0]!==s||t[1]!==o.atoms.border_contrast_low?(n=(0,jt.jsx)(Qs.default,{style:[to.atoms.w_full,to.atoms.border_t,o.atoms.border_contrast_low,s]}),t[0]=s,t[1]=o.atoms.border_contrast_low,t[2]=n):n=t[2],n}var Io=o(90161);function Ao(e,t){switch(t.type){case”setError”:return Object.assign({},e,{error:t.error,emailStatus:”error”,tokenStatus:”error”});case”setStep”:return Object.assign({},e,{error:””,step:t.step});case”setEmailStatus”:return Object.assign({},e,{error:””,emailStatus:t.status});case”setTokenStatus”:return Object.assign({},e,{error:””,tokenStatus:t.status});default:return e}}function Po(){const e=(0,a.c)(24),t=(0,to.useTheme)(),{_:s}=(0,ut.useLingui)(),o=co(),{currentAccount:n}=(0,Yt.useSession)(),{mutateAsync:r}=ko(),{mutateAsync:i}=To(),l=(0,so.useDialogContext)(),[c,d]=(0,ct.useState)(“”);let u;e[0]===Symbol.for(“react.memo_cache_sentinel”)?(u={error:””,step:”email”,emailStatus:”default”,tokenStatus:”default”},e[0]=u):u=e[0];const[m,h]=(0,ct.useReducer)(Ao,u);let p;e[1]!==s||e[2]!==o||e[3]!==r?(p=async()=>{h({type:”setEmailStatus”,status:”pending”});try{await(0,lo.wait)(1e3,r()),h({type:”setEmailStatus”,status:”success”}),setTimeout((()=>{h({type:”setStep”,step:”token”})}),1e3)}catch(g){const t=g;Ht.logger.error(“Manage2FA: email update code request failed”,{safeMessage:t});const{clean:n}=o(t);h({type:”setError”,error:n||s({id:”tN9z3K”})})}},e[1]=s,e[2]=o,e[3]=r,e[4]=p):p=e[4];const f=p;let g;e[5]!==s||e[6]!==o||e[7]!==l||e[8]!==i||e[9]!==c?(g=async()=>{if(vo(c)){h({type:”setTokenStatus”,status:”pending”});try{await(0,lo.wait)(1e3,i({enabled:!1,token:c})),h({type:”setTokenStatus”,status:”success”}),setTimeout((()=>{l.close()}),1e3)}catch(_){const t=_;Ht.logger.error(“Manage2FA: disable email 2FA failed”,{safeMessage:t});const{clean:n}=o(t);h({type:”setError”,error:n||s({id:”U977Ib”})})}}else h({type:”setError”,error:s({id:”wtvoeQ”})})},e[5]=s,e[6]=o,e[7]=l,e[8]=i,e[9]=c,e[10]=g):g=e[10];const x=g;let _,y,b;return e[11]===Symbol.for(“react.memo_cache_sentinel”)?(_=[to.atoms.gap_sm],e[11]=_):_=e[11],e[12]===Symbol.for(“react.memo_cache_sentinel”)?(y=(0,jt.jsx)(_o.Text,{style:[to.atoms.text_xl,to.atoms.font_bold,to.atoms.leading_snug],children:(0,jt.jsx)(ut.Trans,{id:”M2Ap+K”})}),e[12]=y):y=e[12],e[13]!==s||e[14]!==n?.email||e[15]!==x||e[16]!==f||e[17]!==m.emailStatus||e[18]!==m.error||e[19]!==m.step||e[20]!==m.tokenStatus||e[21]!==t.atoms.text_contrast_medium||e[22]!==c?(b=(0,jt.jsxs)(Qs.default,{style:_,children:[y,”email”===m.step?(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(_o.Text,{style:[to.atoms.text_sm,to.atoms.leading_snug,t.atoms.text_contrast_medium],children:(0,jt.jsx)(ut.Trans,{id:”tOZ4CW”,values:{0:n?.email},components:{0:(0,jt.jsx)(_o.Span,{style:[to.atoms.font_semi_bold]})}})}),(0,jt.jsxs)(Qs.default,{style:[to.atoms.gap_lg,to.atoms.pt_sm],children:[m.error&&(0,jt.jsx)(ho.Admonition,{type:”error”,children:m.error}),(0,jt.jsxs)(po.Button,{label:s({id:”65dxv8″}),size:”large”,variant:”solid”,color:”primary”,onPress:f,disabled:”pending”===m.emailStatus,children:[(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”65dxv8″})}),(0,jt.jsx)(po.ButtonIcon,{icon:”pending”===m.emailStatus?xo.Loader:”success”===m.emailStatus?fo.Check_Stroke2_Corner0_Rounded:Io.Envelope_Stroke2_Corner0_Rounded})]}),(0,jt.jsx)(Co,{}),(0,jt.jsx)(_o.Text,{style:[to.atoms.text_sm,to.atoms.leading_snug,t.atoms.text_contrast_medium],children:(0,jt.jsx)(ut.Trans,{id:”xN/fJ8″,components:{0:(0,jt.jsx)(go.InlineLinkText,Object.assign({label:s({id:”lPgKS3″})},(0,go.createStaticClick)((()=>{h({type:”setStep”,step:”token”})}))))}})})]})]}):(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(_o.Text,{style:[to.atoms.text_sm,to.atoms.leading_snug,t.atoms.text_contrast_medium],children:(0,jt.jsx)(ut.Trans,{id:”tOZ4CW”,values:{0:n?.email},components:{0:(0,jt.jsx)(_o.Span,{style:[to.atoms.font_semi_bold]})}})}),(0,jt.jsxs)(Qs.default,{style:[to.atoms.gap_sm,to.atoms.py_sm],children:[(0,jt.jsx)(So,{value:c,onChangeText:d,onSubmitEditing:x}),(0,jt.jsx)(yo,{onPress:f})]}),m.error&&(0,jt.jsx)(ho.Admonition,{type:”error”,children:m.error}),(0,jt.jsxs)(po.Button,{label:s({id:”qERl58″}),size:”large”,variant:”solid”,color:”primary”,onPress:x,disabled:!c||11!==c.length||”pending”===m.tokenStatus,children:[(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”qERl58″})}),”pending”===m.tokenStatus?(0,jt.jsx)(po.ButtonIcon,{icon:xo.Loader}):”success”===m.tokenStatus?(0,jt.jsx)(po.ButtonIcon,{icon:fo.Check_Stroke2_Corner0_Rounded}):null]})]})]}),e[13]=s,e[14]=n?.email,e[15]=x,e[16]=f,e[17]=m.emailStatus,e[18]=m.error,e[19]=m.step,e[20]=m.tokenStatus,e[21]=t.atoms.text_contrast_medium,e[22]=c,e[23]=b):b=e[23],b}function Eo(e,t){switch(t.type){case”setError”:return Object.assign({},e,{error:t.error,status:”error”});case”setStatus”:return Object.assign({},e,{error:””,status:t.status});default:return e}}function Lo(){const e=(0,a.c)(46),t=(0,to.useTheme)(),{_:s}=(0,ut.useLingui)(),o=co(),{gtPhone:n}=(0,to.useBreakpoints)(),{mutateAsync:r}=To(),i=(0,so.useDialogContext)();let l;e[0]===Symbol.for(“react.memo_cache_sentinel”)?(l={error:””,status:”default”},e[0]=l):l=e[0];const[c,d]=(0,ct.useReducer)(Eo,l);let u;e[1]!==s||e[2]!==o||e[3]!==i||e[4]!==r?(u=async()=>{d({type:”setStatus”,status:”pending”});try{await(0,lo.wait)(1e3,r({enabled:!0})),d({type:”setStatus”,status:”success”}),setTimeout((()=>{i.close()}),1e3)}catch(h){const t=h;Ht.logger.error(“Manage2FA: enable email 2FA failed”,{safeMessage:t});const{clean:n}=o(t);d({type:”setError”,error:n||s({id:”U977Ib”})})}},e[1]=s,e[2]=o,e[3]=i,e[4]=r,e[5]=u):u=e[5];const m=u;let h,p,f,g,x,_,y,b,j,v;e[6]===Symbol.for(“react.memo_cache_sentinel”)?(h=[to.atoms.gap_lg],e[6]=h):h=e[6],e[7]===Symbol.for(“react.memo_cache_sentinel”)?(p=[to.atoms.gap_sm],e[7]=p):p=e[7],e[8]===Symbol.for(“react.memo_cache_sentinel”)?(f=(0,jt.jsx)(_o.Text,{style:[to.atoms.text_xl,to.atoms.font_bold,to.atoms.leading_snug],children:(0,jt.jsx)(ut.Trans,{id:”O/nhm+”})}),e[8]=f):f=e[8],e[9]!==t.atoms.text_contrast_medium?(g=[to.atoms.text_sm,to.atoms.leading_snug,t.atoms.text_contrast_medium],e[9]=t.atoms.text_contrast_medium,e[10]=g):g=e[10],e[11]===Symbol.for(“react.memo_cache_sentinel”)?(x=(0,jt.jsx)(ut.Trans,{id:”QRRuU+”}),e[11]=x):x=e[11],e[12]!==g?(_=(0,jt.jsxs)(Qs.default,{style:p,children:[f,(0,jt.jsx)(_o.Text,{style:g,children:x})]}),e[12]=g,e[13]=_):_=e[13],e[14]!==c.error?(y=c.error&&(0,jt.jsx)(ho.Admonition,{type:”error”,children:c.error}),e[14]=c.error,e[15]=y):y=e[15],e[16]!==n?(b=n&&[to.atoms.flex_row_reverse],e[16]=n,e[17]=b):b=e[17],e[18]!==b?(j=[to.atoms.gap_sm,b],e[18]=b,e[19]=j):j=e[19],e[20]!==s?(v=s({id:”PaQ3df”}),e[20]=s,e[21]=v):v=e[21];const S=”pending”===c.status;let w;e[22]===Symbol.for(“react.memo_cache_sentinel”)?(w=(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”PaQ3df”})}),e[22]=w):w=e[22];const T=”pending”===c.status?xo.Loader:”success”===c.status?fo.Check_Stroke2_Corner0_Rounded:jo.ShieldCheck_Stroke2_Corner0_Rounded;let k,C,I,A,P,E,L,R;return e[23]!==T?(k=(0,jt.jsx)(po.ButtonIcon,{position:”right”,icon:T}),e[23]=T,e[24]=k):k=e[24],e[25]!==m||e[26]!==v||e[27]!==S||e[28]!==k?(C=(0,jt.jsxs)(po.Button,{label:v,size:”large”,variant:”solid”,color:”primary”,onPress:m,disabled:S,children:[w,k]}),e[25]=m,e[26]=v,e[27]=S,e[28]=k,e[29]=C):C=e[29],e[30]!==s?(I=s({id:”dEgA5A”}),e[30]=s,e[31]=I):I=e[31],e[32]!==i?(A=()=>i.close(),e[32]=i,e[33]=A):A=e[33],e[34]===Symbol.for(“react.memo_cache_sentinel”)?(P=(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”dEgA5A”})}),e[34]=P):P=e[34],e[35]!==I||e[36]!==A?(E=(0,jt.jsx)(po.Button,{label:I,size:”large”,variant:”solid”,color:”secondary”,onPress:A,children:P}),e[35]=I,e[36]=A,e[37]=E):E=e[37],e[38]!==j||e[39]!==C||e[40]!==E?(L=(0,jt.jsxs)(Qs.default,{style:j,children:[C,E]}),e[38]=j,e[39]=C,e[40]=E,e[41]=L):L=e[41],e[42]!==L||e[43]!==_||e[44]!==y?(R=(0,jt.jsxs)(Qs.default,{style:h,children:[_,y,L]}),e[42]=L,e[43]=_,e[44]=y,e[45]=R):R=e[45],R}let Ro=function(e){return e.Update=”Update”,e.Verify=”Verify”,e.VerificationReminder=”VerificationReminder”,e.Manage2FA=”Manage2FA”,e}({});function Do(e){const t=(0,a.c)(10),{showScreen:s}=e,{isEmailVerified:o,email2FAEnabled:n}=io(),[r,i]=(0,ct.useState)(null);let l,c;if(t[0]!==o||t[1]!==s?(l=()=>{o||s({id:Ro.Verify,instructions:[(0,jt.jsx)(ut.Trans,{id:”PriClI”},”2fa”)],onVerify:()=>{s({id:Ro.Manage2FA})}})},c=[o,s],t[0]=o,t[1]=s,t[2]=l,t[3]=c):(l=t[2],c=t[3]),(0,ct.useEffect)(l,c),n){if(!r){let e;return i(“disable”),t[4]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,jt.jsx)(Po,{}),t[4]=e):e=t[4],e}if(“disable”===r){let e;return t[5]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,jt.jsx)(Po,{}),t[5]=e):e=t[5],e}if(“enable”===r){let e;return t[6]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,jt.jsx)(Lo,{}),t[6]=e):e=t[6],e}}else{if(!r){let e;return i(“enable”),t[7]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,jt.jsx)(Lo,{}),t[7]=e):e=t[7],e}if(“disable”===r){let e;return t[8]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,jt.jsx)(Po,{}),t[8]=e):e=t[8],e}if(“enable”===r){let e;return t[9]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,jt.jsx)(Lo,{}),t[9]=e):e=t[9],e}}return null}var Bo=o(64611);function Oo(){const e=(0,a.c)(2),t=(0,Yt.useAgent)();let s;return e[0]!==t?(s={mutationFn:async()=>{await t.com.atproto.server.requestEmailConfirmation()}},e[0]=t,e[1]=s):s=e[1],(0,wo.useMutation)(s)}async function Mo(e,t,s){await e.com.atproto.server.updateEmail({email:t.trim(),token:s}),await e.resumeSession(e.session)}function Fo(e,t){switch(t.type){case”setStep”:return Object.assign({},e,{step:t.step});case”setError”:return Object.assign({},e,{error:t.error,mutationStatus:”error”});case”setMutationStatus”:return Object.assign({},e,{error:””,mutationStatus:t.status});case”setEmail”:{const s=(0,Bo.validate)(t.value);return Object.assign({},e,{step:”email”,token:””,email:t.value,emailValid:s})}case”setToken”:return Object.assign({},e,{error:””,token:t.value})}}function No(e){const t=(0,a.c)(61),s=(0,to.useTheme)(),{_:o}=(0,ut.useLingui)(),n=co(),{currentAccount:r}=(0,Yt.useSession)();let i;t[0]===Symbol.for(“react.memo_cache_sentinel”)?(i={step:”email”,mutationStatus:”default”,error:””,email:””,emailValid:!0,token:””},t[0]=i):i=t[0];const[l,c]=(0,ct.useReducer)(Fo,i),{mutateAsync:d}=function(){const e=(0,a.c)(3),t=(0,Yt.useAgent)(),{mutateAsync:s}=ko();let o;return e[0]!==t||e[1]!==s?(o={mutationFn:async e=>{const{email:o,token:n}=e;if(n)return await Mo(t,o,n),{status:”success”};{const{tokenRequired:e}=await s();return e?{status:”tokenRequired”}:(await Mo(t,o,n),{status:”success”})}}},e[0]=t,e[1]=s,e[2]=o):o=e[2],(0,wo.useMutation)(o)}(),{mutateAsync:u}=ko(),{mutateAsync:m}=Oo();let h;t[1]===Symbol.for(“react.memo_cache_sentinel”)?(h=e=>{c({type:”setEmail”,value:e})},t[1]=h):h=t[1];const p=h;let f;t[2]!==o||t[3]!==n||t[4]!==r||t[5]!==m||t[6]!==l.email||t[7]!==l.emailValid||t[8]!==l.step||t[9]!==l.token||t[10]!==d?(f=async()=>{if(“token”!==l.step||vo(l.token))if(c({type:”setMutationStatus”,status:”pending”}),!1!==l.emailValid)if(l.email!==r.email)try{const{status:e}=await(0,lo.wait)(1e3,d({email:l.email,token:l.token}));if(“tokenRequired”===e)c({type:”setStep”,step:”token”}),c({type:”setMutationStatus”,status:”default”});else if(“success”===e){c({type:”setMutationStatus”,status:”success”});try{await m()}catch{}}}catch(x){const t=x;Ht.logger.error(“EmailDialog: update email failed”,{safeMessage:t});const{clean:s}=n(t);c({type:”setError”,error:s||o({id:”cUqfSd”})})}else c({type:”setError”,error:o({id:”MxD+dT”})});else c({type:”setError”,error:o({id:”Wq6Wcm”})});else c({type:”setError”,error:o({id:”wtvoeQ”})})},t[2]=o,t[3]=n,t[4]=r,t[5]=m,t[6]=l.email,t[7]=l.emailValid,t[8]=l.step,t[9]=l.token,t[10]=d,t[11]=f):f=t[11];const g=f;let x,_,y,b,j,v,S,w,T,k;t[12]===Symbol.for(“react.memo_cache_sentinel”)?(x=[to.atoms.gap_lg],t[12]=x):x=t[12],t[13]===Symbol.for(“react.memo_cache_sentinel”)?(_=(0,jt.jsx)(_o.Text,{style:[to.atoms.text_xl,to.atoms.font_bold],children:(0,jt.jsx)(ut.Trans,{id:”GmYkFm”})}),t[13]=_):_=t[13],t[14]!==r?.emailAuthFactor?(y=r?.emailAuthFactor&&(0,jt.jsx)(ho.Admonition,{type:”warning”,children:(0,jt.jsx)(ut.Trans,{id:”hCwhYI”})}),t[14]=r?.emailAuthFactor,t[15]=y):y=t[15],t[16]===Symbol.for(“react.memo_cache_sentinel”)?(b=[to.atoms.gap_md],t[16]=b):b=t[16],t[17]!==s.atoms.text_contrast_medium?(j=[to.atoms.pb_sm,to.atoms.leading_snug,s.atoms.text_contrast_medium],t[17]=s.atoms.text_contrast_medium,t[18]=j):j=t[18],t[19]===Symbol.for(“react.memo_cache_sentinel”)?(v=(0,jt.jsx)(ut.Trans,{id:”YpAI24″}),t[19]=v):v=t[19],t[20]!==j?(S=(0,jt.jsx)(_o.Text,{style:j,children:v}),t[20]=j,t[21]=S):S=t[21],t[22]===Symbol.for(“react.memo_cache_sentinel”)?(w=(0,jt.jsx)(bo.Icon,{icon:Io.Envelope_Stroke2_Corner0_Rounded}),t[22]=w):w=t[22],t[23]!==o?(T=o({id:”OenGwo”}),t[23]=o,t[24]=T):T=t[24],t[25]!==o?(k=o({id:”w8klS3″}),t[25]=o,t[26]=k):k=t[26];const C=”success”===l.mutationStatus?void 0:p;let I,A,P,E,L,R,D;return t[27]!==g||t[28]!==l.email||t[29]!==T||t[30]!==k||t[31]!==C?(I=(0,jt.jsxs)(bo.Root,{children:[w,(0,jt.jsx)(bo.Input,{label:T,placeholder:k,defaultValue:l.email,onChangeText:C,keyboardType:”email-address”,autoComplete:”email”,autoCapitalize:”none”,onSubmitEditing:g})]}),t[27]=g,t[28]=l.email,t[29]=T,t[30]=k,t[31]=C,t[32]=I):I=t[32],t[33]!==I||t[34]!==S?(A=(0,jt.jsxs)(Qs.default,{children:[S,I]}),t[33]=I,t[34]=S,t[35]=A):A=t[35],t[36]!==g||t[37]!==u||t[38]!==l.mutationStatus||t[39]!==l.step||t[40]!==l.token||t[41]!==s.atoms.text_contrast_medium?(P=”token”===l.step&&(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(Co,{}),(0,jt.jsxs)(Qs.default,{children:[(0,jt.jsx)(_o.Text,{style:[to.atoms.text_md,to.atoms.pb_sm,to.atoms.font_semi_bold],children:(0,jt.jsx)(ut.Trans,{id:”4fWT0G”})}),(0,jt.jsx)(_o.Text,{style:[to.atoms.pb_sm,to.atoms.leading_snug,s.atoms.text_contrast_medium],children:(0,jt.jsx)(ut.Trans,{id:”94kT9k”})}),(0,jt.jsx)(So,{value:l.token,onChangeText:”success”===l.mutationStatus?void 0:e=>{c({type:”setToken”,value:e})},onSubmitEditing:g}),”success”!==l.mutationStatus&&(0,jt.jsx)(yo,{onPress:u,style:[to.atoms.pt_sm]})]})]}),t[36]=g,t[37]=u,t[38]=l.mutationStatus,t[39]=l.step,t[40]=l.token,t[41]=s.atoms.text_contrast_medium,t[42]=P):P=t[42],t[43]!==l.error?(E=l.error&&(0,jt.jsx)(ho.Admonition,{type:”error”,children:l.error}),t[43]=l.error,t[44]=E):E=t[44],t[45]!==A||t[46]!==P||t[47]!==E?(L=(0,jt.jsxs)(Qs.default,{style:b,children:[A,P,E]}),t[45]=A,t[46]=P,t[47]=E,t[48]=L):L=t[48],t[49]!==o||t[50]!==g||t[51]!==l.email||t[52]!==l.mutationStatus||t[53]!==l.step||t[54]!==l.token||t[55]!==s.palette?(R=”success”===l.mutationStatus?(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(Co,{}),(0,jt.jsxs)(Qs.default,{style:[to.atoms.gap_sm],children:[(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_row,to.atoms.gap_sm,to.atoms.align_center],children:[(0,jt.jsx)(fo.CheckThick_Stroke2_Corner0_Rounded,{fill:s.palette.positive_500,size:”xs”}),(0,jt.jsx)(_o.Text,{style:[to.atoms.text_md,to.atoms.font_bold],children:(0,jt.jsx)(ut.Trans,{id:”oMgC5V”})})]}),(0,jt.jsx)(_o.Text,{style:[to.atoms.leading_snug],children:(0,jt.jsx)(ut.Trans,{id:”UGGtmB”})})]})]}):(0,jt.jsxs)(po.Button,{label:o({id:”F3cQW2″}),size:”large”,variant:”solid”,color:”primary”,onPress:g,disabled:!l.email||”token”===l.step&&(!l.token||11!==l.token.length)||”pending”===l.mutationStatus,children:[(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”F3cQW2″})}),”pending”===l.mutationStatus&&(0,jt.jsx)(po.ButtonIcon,{icon:xo.Loader})]}),t[49]=o,t[50]=g,t[51]=l.email,t[52]=l.mutationStatus,t[53]=l.step,t[54]=l.token,t[55]=s.palette,t[56]=R):R=t[56],t[57]!==L||t[58]!==R||t[59]!==y?(D=(0,jt.jsxs)(Qs.default,{style:x,children:[_,y,L,R]}),t[57]=L,t[58]=R,t[59]=y,t[60]=D):D=t[60],D}var Ho=o(44922);function Vo(e){const t=(0,a.c)(12),{gradient:s,style:o}=e;if(s.values.length<2)throw new Error("Gradient must have at least 2 colors");let n;t[0]!==s.values?(n=s.values.map(Uo),t[0]=s.values,t[1]=n):n=t[1];const r=n;let i;t[2]!==s.values?(i=s.values.map(zo),t[2]=s.values,t[3]=i):i=t[3];const l=i;let c,d,u,m;return t[4]===Symbol.for("react.memo_cache_sentinel")?(c={x:0,y:0},d={x:1,y:1},t[4]=c,t[5]=d):(c=t[4],d=t[5]),t[6]!==o?(u=[to.atoms.absolute,to.atoms.inset_0,o],t[6]=o,t[7]=u):u=t[7],t[8]!==r||t[9]!==l||t[10]!==u?(m=(0,jt.jsx)(Ho.LinearGradient,{colors:r,locations:l,start:c,end:d,style:u}),t[8]=r,t[9]=l,t[10]=u,t[11]=m):m=t[11],m}function zo(e){return e[0]}function Uo(e){return e[1]}function Go(e){const t=(0,a.c)(57),{showScreen:s}=e,o=(0,to.useTheme)(),{_:n}=(0,ut.useLingui)(),{gtPhone:r,gtMobile:i}=(0,to.useBreakpoints)(),l=(0,so.useDialogContext)(),c=i?to.atoms.p_2xl.padding:to.atoms.p_xl.padding;let d;t[0]===Symbol.for("react.memo_cache_sentinel")?(d=[to.atoms.gap_lg],t[0]=d):d=t[0];const u=-1*(0,to.platform)({web:c,default:to.atoms.p_2xl.padding}),m=-1*c,h=-1*c;let p,f,g,x,_,y,b;t[1]!==u||t[2]!==m||t[3]!==h?(p=[to.atoms.absolute,{top:u,left:m,right:h,height:150}],t[1]=u,t[2]=m,t[3]=h,t[4]=p):p=t[4],t[5]===Symbol.for("react.memo_cache_sentinel")?(f={borderTopLeftRadius:to.atoms.rounded_md.borderRadius,borderTopRightRadius:to.atoms.rounded_md.borderRadius},t[5]=f):f=t[5],t[6]!==o.atoms.bg_contrast_100?(g=[to.atoms.absolute,to.atoms.inset_0,to.atoms.align_center,to.atoms.justify_center,to.atoms.overflow_hidden,to.atoms.pt_md,o.atoms.bg_contrast_100,f],t[6]=o.atoms.bg_contrast_100,t[7]=g):g=t[7],t[8]===Symbol.for("react.memo_cache_sentinel")?(x=(0,jt.jsx)(Vo,{gradient:to.tokens.gradients.primary}),t[8]=x):x=t[8],t[9]===Symbol.for("react.memo_cache_sentinel")?(_=(0,jt.jsx)(jo.ShieldCheck_Stroke2_Corner0_Rounded,{width:64,fill:"white",style:[to.atoms.z_10]}),t[9]=_):_=t[9],t[10]!==g?(y=(0,jt.jsxs)(Qs.default,{style:g,children:[x,_]}),t[10]=g,t[11]=y):y=t[11],t[12]!==y||t[13]!==p?(b=(0,jt.jsx)(Qs.default,{style:p,children:y}),t[12]=y,t[13]=p,t[14]=b):b=t[14];const j=150-c;let v,S,w,T,k,C,I,A,P,E,L,R,D,B,O,M,F,N,H,V;return t[15]!==j?(v=(0,jt.jsx)(Qs.default,{style:[to.atoms.mb_xs,{height:j}]}),t[15]=j,t[16]=v):v=t[16],t[17]===Symbol.for("react.memo_cache_sentinel")?(S=[to.atoms.gap_sm],t[17]=S):S=t[17],t[18]===Symbol.for("react.memo_cache_sentinel")?(w=(0,jt.jsx)(_o.Text,{style:[to.atoms.text_xl,to.atoms.font_bold],children:(0,jt.jsx)(ut.Trans,{id:"F132R+"})}),t[18]=w):w=t[18],t[19]!==o.atoms.text_contrast_medium?(T=[to.atoms.text_sm,to.atoms.leading_snug,o.atoms.text_contrast_medium],t[19]=o.atoms.text_contrast_medium,t[20]=T):T=t[20],t[21]===Symbol.for("react.memo_cache_sentinel")?(k=(0,jt.jsx)(ut.Trans,{id:"E8ogPW"}),t[21]=k):k=t[21],t[22]!==T?(C=(0,jt.jsxs)(Qs.default,{style:S,children:[w,(0,jt.jsx)(_o.Text,{style:T,children:k})]}),t[22]=T,t[23]=C):C=t[23],t[24]===Symbol.for("react.memo_cache_sentinel")?(I=(0,jt.jsx)(Co,{}),t[24]=I):I=t[24],t[25]!==r?(A=r&&[to.atoms.flex_row_reverse],t[25]=r,t[26]=A):A=t[26],t[27]!==A?(P=[to.atoms.gap_sm,A],t[27]=A,t[28]=P):P=t[28],t[29]!==n?(E=n({id:"ZDIydz"}),t[29]=n,t[30]=E):E=t[30],t[31]!==s?(L=()=>s({id:Ro.Verify}),t[31]=s,t[32]=L):L=t[32],t[33]===Symbol.for(“react.memo_cache_sentinel”)?(R=(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”ZDIydz”})}),t[33]=R):R=t[33],t[34]!==E||t[35]!==L?(D=(0,jt.jsx)(po.Button,{label:E,variant:”solid”,color:”primary”,size:”large”,onPress:L,children:R}),t[34]=E,t[35]=L,t[36]=D):D=t[36],t[37]!==n?(B=n({id:”Dd7YLj”}),t[37]=n,t[38]=B):B=t[38],t[39]!==n?(O=n({id:”EN1na+”}),t[39]=n,t[40]=O):O=t[40],t[41]!==l?(M=()=>l.close(),t[41]=l,t[42]=M):M=t[42],t[43]===Symbol.for(“react.memo_cache_sentinel”)?(F=(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”Dd7YLj”})}),t[43]=F):F=t[43],t[44]!==B||t[45]!==O||t[46]!==M?(N=(0,jt.jsx)(po.Button,{label:B,accessibilityHint:O,variant:”ghost”,color:”secondary”,size:”large”,onPress:M,children:F}),t[44]=B,t[45]=O,t[46]=M,t[47]=N):N=t[47],t[48]!==P||t[49]!==D||t[50]!==N?(H=(0,jt.jsxs)(Qs.default,{style:P,children:[D,N]}),t[48]=P,t[49]=D,t[50]=N,t[51]=H):H=t[51],t[52]!==b||t[53]!==v||t[54]!==C||t[55]!==H?(V=(0,jt.jsxs)(Qs.default,{style:d,children:[b,v,C,I,H]}),t[52]=b,t[53]=v,t[54]=C,t[55]=H,t[56]=V):V=t[56],V}function Wo(e){const t=(0,a.c)(9);let s;t[0]!==e?(s=void 0===e?{}:e,t[0]=e,t[1]=s):s=t[1];const{onSuccess:o,onError:n}=s,r=(0,Yt.useAgent)(),{currentAccount:i}=(0,Yt.useSession)();let l,c;return t[2]!==r||t[3]!==i?(l=async e=>{const{token:t}=e;if(!i?.email)throw new Error(“No email found for the current account”);await r.com.atproto.server.confirmEmail({email:i.email.trim(),token:t.trim()}),await r.resumeSession(r.session)},t[2]=r,t[3]=i,t[4]=l):l=t[4],t[5]!==n||t[6]!==o||t[7]!==l?(c={mutationFn:l,onSuccess:o,onError:n},t[5]=n,t[6]=o,t[7]=l,t[8]=c):c=t[8],(0,wo.useMutation)(c)}function qo(e,t){switch(t.type){case”setStep”:return Object.assign({},e,{error:””,mutationStatus:”default”,step:t.step});case”setError”:return Object.assign({},e,{error:t.error,mutationStatus:”error”});case”setMutationStatus”:return Object.assign({},e,{error:””,mutationStatus:t.status});case”setToken”:return Object.assign({},e,{error:””,token:t.value})}}function Qo(e){const t=(0,a.c)(90),{config:s,showScreen:o}=e,n=(0,to.useTheme)(),{_:r}=(0,ut.useLingui)(),i=co(),{currentAccount:l}=(0,Yt.useSession)();let c;t[0]===Symbol.for(“react.memo_cache_sentinel”)?(c={step:”email”,mutationStatus:”default”,error:””,token:””},t[0]=c):c=t[0];const[d,u]=(0,ct.useReducer)(qo,c),{mutateAsync:m}=Oo(),{mutateAsync:h}=Wo();let p,f;t[1]!==s?(p=()=>{s.onVerify?s.onVerify():u({type:”setStep”,step:”success”})},t[1]=s,t[2]=p):p=t[2],function(e){const t=(0,a.c)(3);let s,o;t[0]!==e?(s=()=>(ao.once(“emailVerified”,e),()=>{ao.off(“emailVerified”,e)}),o=[e],t[0]=e,t[1]=s,t[2]=o):(s=t[1],o=t[2]),(0,ct.useEffect)(s,o)}(p),t[3]!==r||t[4]!==i||t[5]!==m?(f=async()=>{u({type:”setMutationStatus”,status:”pending”});try{await(0,lo.wait)(1e3,m()),u({type:”setMutationStatus”,status:”success”})}catch(x){const t=x;Ht.logger.error(“EmailDialog: sending verification email failed”,{safeMessage:t});const{clean:s}=i(t);u({type:”setError”,error:s||r({id:”tN9z3K”})})}},t[3]=r,t[4]=i,t[5]=m,t[6]=f):f=t[6];const g=f;let x;t[7]!==r||t[8]!==i||t[9]!==h||t[10]!==d.token?(x=async()=>{if(vo(d.token)){u({type:”setMutationStatus”,status:”pending”});try{await(0,lo.wait)(1e3,h({token:d.token})),u({type:”setStep”,step:”success”})}catch(y){const t=y;Ht.logger.error(“EmailDialog: confirming email failed”,{safeMessage:t});const{clean:s}=i(t);u({type:”setError”,error:s||r({id:”A9woWr”})})}}else u({type:”setError”,error:r({id:”wtvoeQ”})})},t[7]=r,t[8]=i,t[9]=h,t[10]=d.token,t[11]=x):x=t[11];const _=x;if(“success”===d.step){let e,s,o,a,r,i,l,c,d,u,m;return t[12]===Symbol.for(“react.memo_cache_sentinel”)?(e=[to.atoms.gap_lg],t[12]=e):e=t[12],t[13]===Symbol.for(“react.memo_cache_sentinel”)?(s=[to.atoms.gap_sm],t[13]=s):s=t[13],t[14]===Symbol.for(“react.memo_cache_sentinel”)?(o=[to.atoms.text_xl,to.atoms.font_bold],t[14]=o):o=t[14],t[15]===Symbol.for(“react.memo_cache_sentinel”)?(a={top:1},t[15]=a):a=t[15],t[16]!==n.palette.positive_500?(r=(0,jt.jsx)(_o.Span,{style:a,children:(0,jt.jsx)(fo.CheckThick_Stroke2_Corner0_Rounded,{size:”sm”,fill:n.palette.positive_500})}),t[16]=n.palette.positive_500,t[17]=r):r=t[17],t[18]===Symbol.for(“react.memo_cache_sentinel”)?(i=(0,jt.jsx)(ut.Trans,{id:”7meqJL”}),t[18]=i):i=t[18],t[19]!==r?(l=(0,jt.jsxs)(_o.Text,{style:o,children:[r,” “,i]}),t[19]=r,t[20]=l):l=t[20],t[21]!==n.atoms.text_contrast_medium?(c=[to.atoms.text_sm,to.atoms.leading_snug,n.atoms.text_contrast_medium],t[21]=n.atoms.text_contrast_medium,t[22]=c):c=t[22],t[23]===Symbol.for(“react.memo_cache_sentinel”)?(d=(0,jt.jsx)(ut.Trans,{id:”6nY+qX”}),t[23]=d):d=t[23],t[24]!==c?(u=(0,jt.jsx)(_o.Text,{style:c,children:d}),t[24]=c,t[25]=u):u=t[25],t[26]!==l||t[27]!==u?(m=(0,jt.jsx)(Qs.default,{style:e,children:(0,jt.jsxs)(Qs.default,{style:s,children:[l,u]})}),t[26]=l,t[27]=u,t[28]=m):m=t[28],m}let y,b,j,v,S,w,T,k,C,I,A,P,E,L,R;return t[29]===Symbol.for(“react.memo_cache_sentinel”)?(y=[to.atoms.gap_lg],t[29]=y):y=t[29],t[30]===Symbol.for(“react.memo_cache_sentinel”)?(b=[to.atoms.gap_sm],t[30]=b):b=t[30],t[31]===Symbol.for(“react.memo_cache_sentinel”)?(j=[to.atoms.text_xl,to.atoms.font_bold],t[31]=j):j=t[31],t[32]!==d.mutationStatus||t[33]!==d.step||t[34]!==n.palette?(v=(0,jt.jsx)(_o.Text,{style:j,children:”email”===d.step?”success”===d.mutationStatus?(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(_o.Span,{style:{top:1},children:(0,jt.jsx)(fo.CheckThick_Stroke2_Corner0_Rounded,{size:”sm”,fill:n.palette.positive_500})}),” “,(0,jt.jsx)(ut.Trans,{id:”JHLcvq”})]}):(0,jt.jsx)(ut.Trans,{id:”/IBv6X”}):(0,jt.jsx)(ut.Trans,{id:”Nuelt3″})}),t[32]=d.mutationStatus,t[33]=d.step,t[34]=n.palette,t[35]=v):v=t[35],t[36]!==s.instructions||t[37]!==d.mutationStatus||t[38]!==d.step||t[39]!==n.atoms.text_contrast_medium?(S=”email”===d.step&&”success”!==d.mutationStatus&&(0,jt.jsx)(jt.Fragment,{children:s.instructions?.map(((e,t)=>(0,jt.jsx)(_o.Text,{style:[to.atoms.italic,to.atoms.text_sm,to.atoms.leading_snug,n.atoms.text_contrast_medium],children:e},t)))}),t[36]=s.instructions,t[37]=d.mutationStatus,t[38]=d.step,t[39]=n.atoms.text_contrast_medium,t[40]=S):S=t[40],t[41]!==n.atoms.text_contrast_medium?(w=[to.atoms.text_sm,to.atoms.leading_snug,n.atoms.text_contrast_medium],t[41]=n.atoms.text_contrast_medium,t[42]=w):w=t[42],t[43]!==l.email||t[44]!==d.mutationStatus||t[45]!==d.step||t[46]!==n.atoms.text?(T=”email”===d.step?”success”===d.mutationStatus?(0,jt.jsx)(ut.Trans,{id:”yhUcvK”,values:{0:l.email},components:{0:(0,jt.jsx)(_o.Span,{style:[to.atoms.font_semi_bold,n.atoms.text]})}}):(0,jt.jsx)(ut.Trans,{id:”Z2fqAE”,values:{0:l.email},components:{0:(0,jt.jsx)(_o.Span,{style:[to.atoms.font_semi_bold,n.atoms.text]})}}):(0,jt.jsx)(ut.Trans,{id:”pqIkiM”,values:{0:l.email},components:{0:(0,jt.jsx)(_o.Span,{style:[to.atoms.font_semi_bold,n.atoms.text]})}}),t[43]=l.email,t[44]=d.mutationStatus,t[45]=d.step,t[46]=n.atoms.text,t[47]=T):T=t[47],t[48]!==w||t[49]!==T?(k=(0,jt.jsx)(_o.Text,{style:w,children:T}),t[48]=w,t[49]=T,t[50]=k):k=t[50],t[51]!==r||t[52]!==o||t[53]!==d.mutationStatus||t[54]!==d.step||t[55]!==n.atoms.text_contrast_medium?(C=”email”===d.step&&”success”!==d.mutationStatus&&(0,jt.jsx)(_o.Text,{style:[to.atoms.text_sm,to.atoms.leading_snug,n.atoms.text_contrast_medium],children:(0,jt.jsx)(ut.Trans,{id:”GYMBVa”,components:{0:(0,jt.jsx)(go.InlineLinkText,Object.assign({label:r({id:”G3YQiX”})},(0,go.createStaticClick)((()=>{o({id:Ro.Update})}))))}})}),t[51]=r,t[52]=o,t[53]=d.mutationStatus,t[54]=d.step,t[55]=n.atoms.text_contrast_medium,t[56]=C):C=t[56],t[57]!==m||t[58]!==d.mutationStatus||t[59]!==d.step?(I=”email”===d.step&&”success”===d.mutationStatus&&(0,jt.jsx)(yo,{onPress:m}),t[57]=m,t[58]=d.mutationStatus,t[59]=d.step,t[60]=I):I=t[60],t[61]!==k||t[62]!==C||t[63]!==I||t[64]!==v||t[65]!==S?(A=(0,jt.jsxs)(Qs.default,{style:b,children:[v,S,k,C,I]}),t[61]=k,t[62]=C,t[63]=I,t[64]=v,t[65]=S,t[66]=A):A=t[66],t[67]!==r||t[68]!==g||t[69]!==d.error||t[70]!==d.mutationStatus||t[71]!==d.step?(P=”email”===d.step&&”success”!==d.mutationStatus?(0,jt.jsxs)(jt.Fragment,{children:[d.error&&(0,jt.jsx)(ho.Admonition,{type:”error”,children:d.error}),(0,jt.jsxs)(po.Button,{label:r({id:”IN+NvY”}),size:”large”,variant:”solid”,color:”primary”,onPress:g,disabled:”pending”===d.mutationStatus,children:[(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”65dxv8″})}),(0,jt.jsx)(po.ButtonIcon,{icon:”pending”===d.mutationStatus?xo.Loader:Io.Envelope_Stroke2_Corner0_Rounded})]})]}):null,t[67]=r,t[68]=g,t[69]=d.error,t[70]=d.mutationStatus,t[71]=d.step,t[72]=P):P=t[72],t[73]!==r||t[74]!==d.step||t[75]!==n.atoms.text_contrast_medium?(E=”email”===d.step&&(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(Co,{}),(0,jt.jsx)(_o.Text,{style:[to.atoms.text_sm,to.atoms.leading_snug,n.atoms.text_contrast_medium],children:(0,jt.jsx)(ut.Trans,{id:”xN/fJ8″,components:{0:(0,jt.jsx)(go.InlineLinkText,Object.assign({label:r({id:”lPgKS3″})},(0,go.createStaticClick)((()=>{u({type:”setStep”,step:”token”})}))))}})})]}),t[73]=r,t[74]=d.step,t[75]=n.atoms.text_contrast_medium,t[76]=E):E=t[76],t[77]!==r||t[78]!==_||t[79]!==d.error||t[80]!==d.mutationStatus||t[81]!==d.step||t[82]!==d.token||t[83]!==n.atoms.text_contrast_medium?(L=”token”===d.step?(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(So,{value:d.token,onChangeText:e=>{u({type:”setToken”,value:e})},onSubmitEditing:_}),d.error&&(0,jt.jsx)(ho.Admonition,{type:”error”,children:d.error}),(0,jt.jsxs)(po.Button,{label:r({id:”rYQz8C”}),size:”large”,variant:”solid”,color:”primary”,onPress:_,disabled:!d.token||11!==d.token.length||”pending”===d.mutationStatus,children:[(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”rYQz8C”})}),”pending”===d.mutationStatus&&(0,jt.jsx)(po.ButtonIcon,{icon:xo.Loader})]}),(0,jt.jsx)(Co,{}),(0,jt.jsx)(_o.Text,{style:[to.atoms.text_sm,to.atoms.leading_snug,n.atoms.text_contrast_medium],children:(0,jt.jsx)(ut.Trans,{id:”7h9YU2″,components:{0:(0,jt.jsx)(go.InlineLinkText,Object.assign({label:r({id:”9dAlPj”})},(0,go.createStaticClick)((()=>{u({type:”setStep”,step:”email”})}))))}})})]}):null,t[77]=r,t[78]=_,t[79]=d.error,t[80]=d.mutationStatus,t[81]=d.step,t[82]=d.token,t[83]=n.atoms.text_contrast_medium,t[84]=L):L=t[84],t[85]!==A||t[86]!==P||t[87]!==E||t[88]!==L?(R=(0,jt.jsxs)(Qs.default,{style:y,children:[A,P,E,L]}),t[85]=A,t[86]=P,t[87]=E,t[88]=L,t[89]=R):R=t[89],R}function Ko(){return(0,oo.useGlobalDialogsControlContext)().emailDialogControl}function Zo(){const e=(0,a.c)(17),{_:t}=(0,ut.useLingui)(),s=Ko(),{isEmailVerified:o}=io();let n;e[0]!==s||e[1]!==o?(n=()=>{o||s.value?.id===Ro.Verify&&s.value.onCloseWithoutVerifying?.(),s.clear()},e[0]=s,e[1]=o,e[2]=n):n=e[2];const r=n,i=s.control;let l,c,d,u,m,h,p;return e[3]===Symbol.for(“react.memo_cache_sentinel”)?(l=(0,jt.jsx)(so.Handle,{}),e[3]=l):l=e[3],e[4]!==t?(c=t({id:”L8XZrX”}),e[4]=t,e[5]=c):c=e[5],e[6]===Symbol.for(“react.memo_cache_sentinel”)?(d=(0,to.web)({maxWidth:400}),e[6]=d):d=e[6],e[7]!==s?(u=(0,jt.jsx)(Yo,{control:s}),e[7]=s,e[8]=u):u=e[8],e[9]===Symbol.for(“react.memo_cache_sentinel”)?(m=(0,jt.jsx)(so.Close,{}),e[9]=m):m=e[9],e[10]!==c||e[11]!==u?(h=(0,jt.jsxs)(so.ScrollableInner,{label:c,style:d,children:[u,m]}),e[10]=c,e[11]=u,e[12]=h):h=e[12],e[13]!==s.control||e[14]!==r||e[15]!==h?(p=(0,jt.jsxs)(so.Outer,{control:i,onClose:r,children:[l,h]}),e[13]=s.control,e[14]=r,e[15]=h,e[16]=p):p=e[16],p}function Yo(e){const t=(0,a.c)(10),{control:s}=e;let o;t[0]!==s.value?(o=()=>s.value,t[0]=s.value,t[1]=o):o=t[1];const[n,r]=(0,ct.useState)(o);if(!n)return null;switch(n.id){case Ro.Update:{let e;return t[2]!==n?(e=(0,jt.jsx)(No,{config:n,showScreen:r}),t[2]=n,t[3]=e):e=t[3],e}case Ro.Verify:{let e;return t[4]!==n?(e=(0,jt.jsx)(Qo,{config:n,showScreen:r}),t[4]=n,t[5]=e):e=t[5],e}case Ro.VerificationReminder:{let e;return t[6]!==n?(e=(0,jt.jsx)(Go,{config:n,showScreen:r}),t[6]=n,t[7]=e):e=t[7],e}case Ro.Manage2FA:{let e;return t[8]!==n?(e=(0,jt.jsx)(Do,{config:n,showScreen:r}),t[8]=n,t[9]=e):e=t[9],e}default:return null}}function $o(){const e=(0,a.c)(6),{currentAccount:t}=(0,Yt.useSession)(),{needsEmailVerification:s}=ns(),o=(0,Yt.useRequireAuth)(),n=Ko(),r=(0,eo.useCloseAllActiveElements)();let i;return e[0]!==r||e[1]!==t||e[2]!==n||e[3]!==s||e[4]!==o?(i=(e,a)=>{const i=void 0===a?{}:a;return(…a)=>{const l=a;return t?s?(Js.default.dismiss(),r(),void n.open(Object.assign({id:Ro.Verify},i))):e(…l):o((()=>e(…l)))}},e[0]=r,e[1]=t,e[2]=n,e[3]=s,e[4]=o,e[5]=i):i=e[5],i}function Xo(){const e=(0,a.c)(6),{openComposer:t}=(0,ws.useOpenComposer)(),s=$o();let o,n,r;return e[0]===Symbol.for(“react.memo_cache_sentinel”)?(o=(0,jt.jsx)(ut.Trans,{id:”g669Pi”},”pre-compose”),e[0]=o):o=e[0],e[1]!==t||e[2]!==s?(n=s(t,{instructions:[o]}),e[1]=t,e[2]=s,e[3]=n):n=e[3],e[4]!==n?(r={openComposer:n},e[4]=n,e[5]=r):r=e[5],r}var Jo=o(34638),en=o(43261);function tn(){const e=(0,a.c)(6),{verifyEmailDialogControl:t}=nn();let s,o,n;return e[0]===Symbol.for(“react.memo_cache_sentinel”)?(s=(0,jt.jsx)(so.Handle,{}),e[0]=s):s=e[0],e[1]!==t?(o=(0,jt.jsx)(sn,{control:t}),e[1]=t,e[2]=o):o=e[2],e[3]!==t||e[4]!==o?(n=(0,jt.jsxs)(so.Outer,{control:t,children:[s,o]}),e[3]=t,e[4]=o,e[5]=n):n=e[5],n}function sn(e){const t=(0,a.c)(33),s=(0,to.useTheme)(),{gtMobile:o}=(0,to.useBreakpoints)(),{_:n}=(0,ut.useLingui)(),{verifyEmailState:r}=nn(),[l,c]=(0,ct.useState)(“loading”),[d,u]=(0,ct.useState)(!1),m=(0,Yt.useAgent)(),{currentAccount:h}=(0,Yt.useSession)();let p;t[0]===Symbol.for(“react.memo_cache_sentinel”)?(p={onSuccess:()=>c(“success”),onError:()=>c(“failure”)},t[0]=p):p=t[0];const{mutate:f}=Wo(p);let g;t[1]!==f||t[2]!==r?(g=()=>{r?.code&&f({token:r.code})},t[1]=f,t[2]=r,t[3]=g):g=t[3];const x=r?.code;let _,y;t[4]!==f||t[5]!==x?(_=[x,f],t[4]=f,t[5]=x,t[6]=_):_=t[6],(0,ct.useEffect)(g,_),t[7]!==m.com.atproto.server?(y=async()=>{u(!0),await m.com.atproto.server.requestEmailConfirmation(),u(!1),c(“resent”)},t[7]=m.com.atproto.server,t[8]=y):y=t[8];const b=y;let j,v,S,w,T,k,C,I,A;return t[9]!==n?(j=n({id:”JMTD7S”}),t[9]=n,t[10]=j):j=t[10],t[11]!==o?(v=o?{width:”auto”,maxWidth:400,minWidth:200}:to.atoms.w_full,t[11]=o,t[12]=v):v=t[12],t[13]!==v?(S=[v],t[13]=v,t[14]=S):S=t[14],t[15]===Symbol.for(“react.memo_cache_sentinel”)?(w=[to.atoms.gap_xl],t[15]=w):w=t[15],t[16]!==h?.email||t[17]!==l||t[18]!==s?(T=”loading”===l?(0,jt.jsx)(Qs.default,{style:[to.atoms.py_2xl,to.atoms.align_center,to.atoms.justify_center],children:(0,jt.jsx)(xo.Loader,{size:”xl”,fill:s.atoms.text_contrast_low.color})}):”success”===l?(0,jt.jsxs)(Qs.default,{style:[to.atoms.gap_sm,i.IS_NATIVE&&to.atoms.pb_xl],children:[(0,jt.jsx)(_o.Text,{style:[to.atoms.font_bold,to.atoms.text_2xl],children:(0,jt.jsx)(ut.Trans,{id:”nKExoO”})}),(0,jt.jsx)(_o.Text,{style:[to.atoms.text_md,to.atoms.leading_snug],children:(0,jt.jsx)(ut.Trans,{id:”oNSoEG”})})]}):”failure”===l?(0,jt.jsxs)(Qs.default,{style:[to.atoms.gap_sm],children:[(0,jt.jsx)(_o.Text,{style:[to.atoms.font_bold,to.atoms.text_2xl],children:(0,jt.jsx)(ut.Trans,{id:”3/4uj+”})}),(0,jt.jsx)(_o.Text,{style:[to.atoms.text_md,to.atoms.leading_snug],children:(0,jt.jsx)(ut.Trans,{id:”7FR3ev”})})]}):(0,jt.jsxs)(Qs.default,{style:[to.atoms.gap_sm,i.IS_NATIVE&&to.atoms.pb_xl],children:[(0,jt.jsx)(_o.Text,{style:[to.atoms.font_bold,to.atoms.text_2xl],children:(0,jt.jsx)(ut.Trans,{id:”yAJVYn”})}),(0,jt.jsx)(_o.Text,{style:[to.atoms.text_md,to.atoms.leading_snug],children:(0,jt.jsx)(ut.Trans,{id:”19e6ry”,values:{0:h?.email},components:{0:(0,jt.jsx)(_o.Text,{style:[to.atoms.text_md,to.atoms.font_semi_bold]})}})})]}),t[16]=h?.email,t[17]=l,t[18]=s,t[19]=T):T=t[19],t[20]!==n||t[21]!==b||t[22]!==d||t[23]!==l?(k=”failure”===l&&(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(Co,{}),(0,jt.jsxs)(po.Button,{label:n({id:”NRybJY”}),onPress:b,color:”secondary_inverted”,size:”large”,disabled:d,children:[(0,jt.jsx)(po.ButtonIcon,{icon:d?xo.Loader:en.ArrowRotateCounterClockwise_Stroke2_Corner0_Rounded}),(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”Brvd0l”})})]})]}),t[20]=n,t[21]=b,t[22]=d,t[23]=l,t[24]=k):k=t[24],t[25]!==T||t[26]!==k?(C=(0,jt.jsxs)(Qs.default,{style:w,children:[T,k]}),t[25]=T,t[26]=k,t[27]=C):C=t[27],t[28]===Symbol.for(“react.memo_cache_sentinel”)?(I=(0,jt.jsx)(so.Close,{}),t[28]=I):I=t[28],t[29]!==C||t[30]!==j||t[31]!==S?(A=(0,jt.jsxs)(so.ScrollableInner,{label:j,style:S,children:[C,I]}),t[29]=C,t[30]=j,t[31]=S,t[32]=A):A=t[32],A}const on=ct.createContext({});on.displayName=”IntentDialogsContext”;const nn=()=>ct.useContext(on);function an(e){const t=(0,a.c)(7),{children:s}=e,o=so.useDialogControl(),[n,r]=ct.useState();let i;t[0]!==o||t[1]!==n?(i={verifyEmailDialogControl:o,verifyEmailState:n,setVerifyEmailState:r},t[0]=o,t[1]=n,t[2]=i):i=t[2];const l=i;let c,d;return t[3]===Symbol.for(“react.memo_cache_sentinel”)?(c=(0,jt.jsx)(tn,{}),t[3]=c):c=t[3],t[4]!==s||t[5]!==l?(d=(0,jt.jsxs)(on.Provider,{value:l,children:[s,c]}),t[4]=s,t[5]=l,t[6]=d):d=t[6],d}var rn=o(33703),ln=o(19882);const cn=/^[\w.:\-_/]+\|\d+(\.\d+)?\|\d+(\.\d+)?$/;let dn=””;function un(){const e=(0,a.c)(13),t=$s.useLinkingURL(),s=(0,rn.useAnalytics)(),o=function(){const e=(0,a.c)(4),t=(0,eo.useCloseAllActiveElements)(),{openComposer:s}=Xo(),{hasSession:o}=(0,Yt.useSession)();let n;e[0]!==t||e[1]!==o||e[2]!==s?(n=e=>{const{text:n,imageUrisStr:a,videoUri:r}=e;if(!o)return;if(t(),r){const[e,t,o]=r.split(“|”);return void s({text:n??void 0,videoUri:{uri:e,width:Number(t),height:Number(o)},logContext:”Deeplink”})}const l=a?.split(“,”).filter(pn).map(hn);setTimeout((()=>{s({text:n??void 0,imageUris:i.IS_NATIVE?l:void 0,logContext:”Deeplink”})}),500)},e[0]=t,e[1]=o,e[2]=s,e[3]=n):n=e[3];return n}(),n=function(){const e=(0,a.c)(4),t=(0,eo.useCloseAllActiveElements)(),{verifyEmailDialogControl:s,setVerifyEmailState:o}=nn();let n;e[0]!==t||e[1]!==s||e[2]!==o?(n=e=>{t(),o({code:e}),setTimeout((()=>{s.open()}),1e3)},e[0]=t,e[1]=s,e[2]=o,e[3]=n):n=e[3];return n}(),{currentAccount:r}=(0,Yt.useSession)(),{tryApplyUpdate:l}={tryApplyUpdate:()=>{},revertToEmbedded:()=>{},isCurrentlyRunningPullRequestDeployment:!1,currentChannel:”web-build”,pending:!1};let c,d;e[0]!==s||e[1]!==o||e[2]!==t||e[3]!==l||e[4]!==n?(c=()=>{if(t){if(dn===t)return;(async e=>{i.IS_IOS&&await Xs.dismissBrowser().catch(mn);const t=ln.Referrer.getReferrerInfo();t&&”bsky.app”!==t.hostname&&s.metric(“deepLink:referrerReceived”,{to:e,referrer:t?.referrer,hostname:t?.hostname});const a=(0,Jo.parseLinkingUrl)(e),[,r,c]=a.pathname.split(“/”),d=”intent”===r,u=a.searchParams;if(d)switch(c){case”compose”:return void o({text:u.get(“text”),imageUrisStr:u.get(“imageUris”),videoUri:u.get(“videoUri”)});case”verify-email”:{const e=u.get(“code”);if(!e)return;return void n(e)}case”age-assurance”:default:return;case”apply-ota”:{const e=u.get(“channel”);e?l(e):Ys.default.alert(“Error”,”No channel provided to look for.”)}}})(t),dn=t}},e[0]=s,e[1]=o,e[2]=t,e[3]=l,e[4]=n,e[5]=c):c=e[5],e[6]!==s||e[7]!==o||e[8]!==r||e[9]!==t||e[10]!==l||e[11]!==n?(d=[t,s,o,n,r,l],e[6]=s,e[7]=o,e[8]=r,e[9]=t,e[10]=l,e[11]=n,e[12]=d):d=e[12],ct.useEffect(c,d)}function mn(){}function hn(e){const[t,s,o]=e.split(“|”);return{uri:t,width:Number(s),height:Number(o)}}function pn(e){return!e.includes(“https://”)&&!e.includes(“http://”)&&cn.test(e)}var fn=o(96080);var gn=o(41711),xn=o(31545),_n=o(14542),yn=o(37597),bn=o(52783),jn=o(58403);function vn(){const e=(0,a.c)(8),{activeLightbox:t}=(0,ls.useLightbox)(),{closeLightbox:s}=(0,ls.useLightboxControls)();if(!!!t)return null;const o=t.index,n=t.images;let r,i;return e[0]!==t.id||e[1]!==s||e[2]!==n||e[3]!==o?(r=(0,jt.jsx)(wn,{imgs:n,initialIndex:o,onClose:s},t.id),e[0]=t.id,e[1]=s,e[2]=n,e[3]=o,e[4]=r):r=e[4],e[5]!==s||e[6]!==r?(i=(0,jt.jsx)(to.ThemeProvider,{theme:”dark”,children:(0,jt.jsx)(Sn,{handleBackgroundPress:s,children:r})}),e[5]=s,e[6]=r,e[7]=i):i=e[7],i}function Sn(e){const t=(0,a.c)(15),{children:s,handleBackgroundPress:o}=e,{_:n}=(0,ut.useLingui)();let r,i,l,c,d,u,m,h;return _n.useFocusGuards(),t[0]!==n?(r=n({id:”l49ujN”}),t[0]=n,t[1]=r):r=t[1],t[2]===Symbol.for(“react.memo_cache_sentinel”)?(i=[to.atoms.fixed,to.atoms.inset_0,to.atoms.z_10],l=(0,jt.jsx)(so.Backdrop,{}),c=(0,jt.jsx)(Zs.RemoveScrollBar,{}),t[2]=i,t[3]=l,t[4]=c):(i=t[2],l=t[3],c=t[4]),t[5]!==n?(d=n({id:”eMq99k”}),t[5]=n,t[6]=d):d=t[6],t[7]===Symbol.for(“react.memo_cache_sentinel”)?(u={position:”absolute”,inset:0},t[7]=u):u=t[7],t[8]!==s||t[9]!==d?(m=(0,jt.jsx)(yn.FocusScope,{loop:!0,trapped:!0,asChild:!0,children:(0,jt.jsx)(“div”,{role:”dialog”,”aria-modal”:”true”,”aria-label”:d,style:u,children:s})}),t[8]=s,t[9]=d,t[10]=m):m=t[10],t[11]!==o||t[12]!==r||t[13]!==m?(h=(0,jt.jsxs)(gn.default,{accessibilityHint:void 0,accessibilityLabel:r,onPress:o,style:i,children:[l,c,m]}),t[11]=o,t[12]=r,t[13]=m,t[14]=h):h=t[14],h}function wn(e){const t=(0,a.c)(75),{imgs:s,initialIndex:o,onClose:n}=e,r=void 0===o?0:o,i=(0,to.useTheme)(),{_:l}=(0,ut.useLingui)(),{reduceMotionEnabled:c}=(0,Vt.useA11y)(),[d,u]=(0,ct.useState)(r),[m,h]=(0,ct.useState)(!1),[p,f]=(0,ct.useState)(!1),{gtPhone:g}=(0,to.useBreakpoints)(),x=d>=1,_=d{x&&u(d-1)},t[0]=x,t[1]=d,t[2]=y):y=t[2];const b=y;let j;t[3]!==_||t[4]!==d?(j=()=>{_&&u(d+1)},t[3]=_,t[4]=d,t[5]=j):j=t[5];const v=j;let S;t[6]!==n||t[7]!==b||t[8]!==v?(S=e=>{“Escape”===e.key?(e.preventDefault(),n()):”ArrowLeft”===e.key?b():”ArrowRight”===e.key&&v()},t[6]=n,t[7]=b,t[8]=v,t[9]=S):S=t[9];const w=S;let T,k;t[10]!==w?(T=()=>(window.addEventListener(“keydown”,w),()=>window.removeEventListener(“keydown”,w)),k=[w],t[10]=w,t[11]=T,t[12]=k):(T=t[11],k=t[12]),(0,ct.useEffect)(T,k);const C=(0,ct.useRef)(!1);let I,A,P;t[13]!==n?(I=()=>{history.pushState({lightbox:!0},””);const e=()=>{C.current=!0,n()};return window.addEventListener(“popstate”,e),()=>{window.removeEventListener(“popstate”,e),!C.current&&history.state?.lightbox&&history.back()}},A=[n],t[13]=n,t[14]=I,t[15]=A):(I=t[14],A=t[15]),(0,ct.useEffect)(I,A),t[16]!==c?(P=!c&&[to.atoms.fade_in,{animationDelay:”0.2s”,animationFillMode:”both”}],t[16]=c,t[17]=P):P=t[17];const E=P,L=s[d];let R,D,B,O,M,F,N,H,V,z,U;t[18]===Symbol.for(“react.memo_cache_sentinel”)?(R=[to.atoms.absolute,to.atoms.inset_0],t[18]=R):R=t[18],t[19]===Symbol.for(“react.memo_cache_sentinel”)?(D=[to.atoms.flex_1,to.atoms.justify_center,to.atoms.align_center],t[19]=D):D=t[19],t[20]===Symbol.for(“react.memo_cache_sentinel”)?(B=()=>h(!0),t[20]=B):B=t[20],t[21]!==m||t[22]!==L.alt||t[23]!==L.type||t[24]!==L.uri||t[25]!==d?(O=(0,jt.jsx)(Tn,{source:L.uri,alt:L.alt,type:L.type,hasAnyLoaded:m,onLoad:B},d),t[21]=m,t[22]=L.alt,t[23]=L.type,t[24]=L.uri,t[25]=d,t[26]=O):O=t[26],t[27]!==l||t[28]!==x||t[29]!==E||t[30]!==g||t[31]!==b||t[32]!==i.palette.white?(M=x&&(0,jt.jsx)(po.Button,{onPress:b,style:[to.atoms.absolute,kn.leftBtn,kn.blurredBackdrop,to.atoms.transition_color,E],hoverStyle:kn.blurredBackdropHover,color:”secondary”,label:l({id:”MHk+7g”}),shape:”round”,size:g?”large”:”small”,children:(0,jt.jsx)(bn.ChevronLeft_Stroke2_Corner0_Rounded,{size:g?”md”:”sm”,style:{color:i.palette.white}})}),t[27]=l,t[28]=x,t[29]=E,t[30]=g,t[31]=b,t[32]=i.palette.white,t[33]=M):M=t[33],t[34]!==l||t[35]!==_||t[36]!==E||t[37]!==g||t[38]!==v||t[39]!==i.palette.white?(F=_&&(0,jt.jsx)(po.Button,{onPress:v,style:[to.atoms.absolute,kn.rightBtn,kn.blurredBackdrop,to.atoms.transition_color,E],hoverStyle:kn.blurredBackdropHover,color:”secondary”,label:l({id:”EatZYJ”}),shape:”round”,size:g?”large”:”small”,children:(0,jt.jsx)(bn.ChevronRight_Stroke2_Corner0_Rounded,{size:g?”md”:”sm”,style:{color:i.palette.white}})}),t[34]=l,t[35]=_,t[36]=E,t[37]=g,t[38]=v,t[39]=i.palette.white,t[40]=F):F=t[40],t[41]!==O||t[42]!==M||t[43]!==F?(N=(0,jt.jsxs)(Qs.default,{style:D,children:[O,M,F]}),t[41]=O,t[42]=M,t[43]=F,t[44]=N):N=t[44],t[45]!==l||t[46]!==E||t[47]!==L.alt||t[48]!==p||t[49]!==i.atoms?(H=L.alt?(0,jt.jsx)(Qs.default,{style:[to.atoms.px_4xl,to.atoms.py_2xl,i.atoms.bg,E],children:(0,jt.jsx)(gn.default,{accessibilityLabel:l({id:”0PkE20″}),accessibilityHint:l({id:”+2Y2GY”}),onPress:()=>{f(!p)},children:(0,jt.jsx)(_o.Text,{style:[to.atoms.text_md,to.atoms.leading_snug],numberOfLines:p?0:3,ellipsizeMode:”tail”,children:L.alt})})}):null,t[45]=l,t[46]=E,t[47]=L.alt,t[48]=p,t[49]=i.atoms,t[50]=H):H=t[50],t[51]!==l||t[52]!==s.length||t[53]!==d?(V=s.length>1&&(0,jt.jsx)(“div”,{“aria-live”:”polite”,”aria-atomic”:”true”,style:to.atoms.sr_only,children:(0,jt.jsx)(_o.Text,{children:l({id:”R0UH07″,values:{0:d+1,1:s.length}})})}),t[51]=l,t[52]=s.length,t[53]=d,t[54]=V):V=t[54],t[55]!==E?(z=[to.atoms.absolute,kn.closeBtn,kn.blurredBackdrop,to.atoms.transition_color,E],t[55]=E,t[56]=z):z=t[56],t[57]!==l?(U=l({id:”l49ujN”}),t[57]=l,t[58]=U):U=t[58];const G=g?”large”:”small”,W=g?”md”:”sm”;let q,Q,K,Z;return t[59]!==i.palette.white?(q={color:i.palette.white},t[59]=i.palette.white,t[60]=q):q=t[60],t[61]!==W||t[62]!==q?(Q=(0,jt.jsx)(jn.TimesLarge_Stroke2_Corner0_Rounded,{size:W,style:q}),t[61]=W,t[62]=q,t[63]=Q):Q=t[63],t[64]!==n||t[65]!==z||t[66]!==U||t[67]!==G||t[68]!==Q?(K=(0,jt.jsx)(po.Button,{onPress:n,style:z,hoverStyle:kn.blurredBackdropHover,color:”secondary”,label:U,shape:”round”,size:G,children:Q}),t[64]=n,t[65]=z,t[66]=U,t[67]=G,t[68]=Q,t[69]=K):K=t[69],t[70]!==N||t[71]!==H||t[72]!==V||t[73]!==K?(Z=(0,jt.jsxs)(Qs.default,{style:R,children:[N,H,V,K]}),t[70]=N,t[71]=H,t[72]=V,t[73]=K,t[74]=Z):Z=t[74],Z}function Tn(e){const t=(0,a.c)(24),{source:s,alt:o,type:n,onLoad:r,hasAnyLoaded:i}=e,{reduceMotionEnabled:l}=(0,Vt.useA11y)(),[c,d]=(0,ct.useState)(!1),[u]=(0,ct.useState)(!i);let m,h,p;if(t[0]!==o||t[1]!==i||t[2]!==u||t[3]!==r||t[4]!==l||t[5]!==s||t[6]!==n){const e=!l&&u&&(i?[to.atoms.zoom_fade_in,{animationDuration:”0.5s”}]:{opacity:0});let a;t[8]!==r?(a=()=>{d(!0),r()},t[8]=r,t[9]=a):a=t[9];const c=a;m=null;e:switch(n){case”circle-avi”:case”rect-avi”:m=(0,jt.jsx)(“img”,{src:s,style:(0,to.flatten)([kn.avi,{borderRadius:”circle-avi”===n?”50%”:”rect-avi”===n?”10%”:0},e]),alt:o,onLoad:c});break e;case”image”:{let n,a,r;t[10]!==s?(n={uri:s},t[10]=s,t[11]=n):n=t[11],t[12]!==e?(a=[to.atoms.w_full,to.atoms.h_full,e],t[12]=e,t[13]=a):a=t[13],t[14]!==o||t[15]!==c||t[16]!==n||t[17]!==a?(r=(0,jt.jsx)(xn.Image,{source:n,alt:o,style:a,onLoad:c,contentFit:”contain”,accessibilityIgnoresInvertColors:!0}),t[14]=o,t[15]=c,t[16]=n,t[17]=a,t[18]=r):r=t[18],m=r}}t[0]=o,t[1]=i,t[2]=u,t[3]=r,t[4]=l,t[5]=s,t[6]=n,t[7]=m}else m=t[7];return t[19]!==c?(h=!c&&(0,jt.jsx)(Qs.default,{style:[to.atoms.absolute,to.atoms.inset_0,to.atoms.justify_center,to.atoms.align_center,to.atoms.fade_in,{opacity:0,animationDuration:”500ms”,animationDelay:”1s”,animationFillMode:”both”}],children:(0,jt.jsx)(xo.Loader,{size:”xl”})}),t[19]=c,t[20]=h):h=t[20],t[21]!==m||t[22]!==h?(p=(0,jt.jsxs)(jt.Fragment,{children:[m,h]}),t[21]=m,t[22]=h,t[23]=p):p=t[23],p}const kn=Ws.default.create({avi:{maxWidth:”calc(min(400px, 100vw))”,maxHeight:”calc(min(400px, 100vh))”,padding:16,boxSizing:”border-box”},closeBtn:{top:20,right:20},leftBtn:{left:20,right:”auto”,top:”50%”},rightBtn:{right:20,left:”auto”,top:”50%”},blurredBackdrop:{backgroundColor:”#00000077″,backdropFilter:”blur(10px)”},blurredBackdropHover:{backgroundColor:”#00000088″}});var Cn=o(61551),In=o(32129),An=o(47741),Pn=o(45473),En=o(60578),Ln=o(21605),Rn=o(98285),Dn=o(56947),Bn=o(69883),On=o(66949),Mn=o(18102),Fn=o(57598),Nn=o(75972);const Hn=1e3,Vn=100,zn=()=>[“list-memberships”];function Un(){const e=(0,a.c)(4),{currentAccount:t}=(0,Yt.useSession)(),s=(0,Yt.useAgent)();let o,n;return e[0]===Symbol.for(“react.memo_cache_sentinel”)?(o=zn(),e[0]=o):o=e[0],e[1]!==s||e[2]!==t?(n={staleTime:bt.STALE.MINUTES.FIVE,queryKey:o,async queryFn(){if(!t)return[];let e,o=[];for(let n=0;ne.listUri===t&&e.actorDid===s));return!!o&&o.membershipUri}function qn(e){const t=(0,a.c)(13);let s;t[0]!==e?(s=void 0===e?{}:e,t[0]=e,t[1]=s):s=t[1];const{subject:o,onSuccess:n,onError:r}=s,{currentAccount:i}=(0,Yt.useSession)(),l=(0,Yt.useAgent)(),c=(0,Mn.useQueryClient)();let d,u,m;return t[2]!==l||t[3]!==i?(d=async e=>{const{listUri:t,actorDid:s}=e;if(!i)throw new Error(“Not signed in”);return await l.app.bsky.graph.listitem.create({repo:i.did},{subject:s,list:t,createdAt:(new Date).toISOString()})},t[2]=l,t[3]=i,t[4]=d):d=t[4],t[5]!==n||t[6]!==c||t[7]!==o?(u=(e,t)=>{let s=c.getQueryData(zn());s&&(s=s.filter((e=>!(e.actorDid===t.actorDid&&e.listUri===t.listUri))).concat([Object.assign({},t,{membershipUri:e.uri})]),c.setQueryData(zn(),s)),setTimeout((()=>{c.invalidateQueries({queryKey:(0,Fn.RQKEY)(t.listUri)})}),1e3),o&&c.setQueryData((0,Nn.RQKEY_WITH_MEMBERSHIP)(t.actorDid),(s=>s?Object.assign({},s,{pages:s.pages.map((s=>Object.assign({},s,{starterPacksWithMembership:s.starterPacksWithMembership.map((s=>s.starterPack.list&&s.starterPack.list?.uri===t.listUri?Object.assign({},s,{starterPack:Object.assign({},s.starterPack,{listItemsSample:[{uri:e.uri,subject:o},…s.starterPack.listItemsSample?.filter((e=>e.subject.did!==t.actorDid))??[]],list:Object.assign({},s.starterPack.list,{listItemCount:(s.starterPack.list.listItemCount??0)+1})}),listItem:{uri:e.uri,subject:o}}):s))})))}):s)),n?.(e)},t[5]=n,t[6]=c,t[7]=o,t[8]=u):u=t[8],t[9]!==r||t[10]!==d||t[11]!==u?(m={mutationFn:d,onSuccess:u,onError:r},t[9]=r,t[10]=d,t[11]=u,t[12]=m):m=t[12],(0,wo.useMutation)(m)}function Qn(e){const t=(0,a.c)(12);let s;t[0]!==e?(s=void 0===e?{}:e,t[0]=e,t[1]=s):s=t[1];const{onSuccess:o,onError:n}=s,{currentAccount:r}=(0,Yt.useSession)(),i=(0,Yt.useAgent)(),l=(0,Mn.useQueryClient)();let c,d,u;return t[2]!==i||t[3]!==r?(c=async e=>{const{membershipUri:t}=e;if(!r)throw new Error(“Not signed in”);const s=new On.AtUri(t);await i.app.bsky.graph.listitem.delete({repo:r.did,rkey:s.rkey})},t[2]=i,t[3]=r,t[4]=c):c=t[4],t[5]!==o||t[6]!==l?(d=(e,t)=>{let s=l.getQueryData(zn());s&&(s=s.filter((e=>!(e.actorDid===t.actorDid&&e.listUri===t.listUri))),l.setQueryData(zn(),s)),setTimeout((()=>{l.invalidateQueries({queryKey:(0,Fn.RQKEY)(t.listUri)})}),1e3),l.setQueryData((0,Nn.RQKEY_WITH_MEMBERSHIP)(t.actorDid),(e=>e?Object.assign({},e,{pages:e.pages.map((e=>Object.assign({},e,{starterPacksWithMembership:e.starterPacksWithMembership.map((e=>e.starterPack.list&&e.starterPack.list.uri===t.listUri?Object.assign({},e,{starterPack:Object.assign({},e.starterPack,{listItemsSample:e.starterPack.listItemsSample?.filter((e=>e.subject.did!==t.actorDid)),list:Object.assign({},e.starterPack.list,{listItemCount:Math.max(0,(e.starterPack.list.listItemCount??1)-1)})}),listItem:void 0}):e))})))}):e)),o?.(e)},t[5]=o,t[6]=l,t[7]=d):d=t[7],t[8]!==n||t[9]!==c||t[10]!==d?(u={mutationFn:c,onSuccess:d,onError:n},t[8]=n,t[9]=c,t[10]=d,t[11]=u):u=t[11],(0,wo.useMutation)(u)}var Kn=o(33057),Zn=o(80346);async function Yn(e,t=100){let s,o=[];for(let n=0;n[$n,e];function Jn(e){const t=(0,a.c)(7),{currentAccount:s}=(0,Yt.useSession)(),o=(0,Yt.useAgent)();let n,r;return t[0]!==e?(n=Xn(e),t[0]=e,t[1]=n):n=t[1],t[2]!==o||t[3]!==s||t[4]!==e||t[5]!==n?(r={staleTime:bt.STALE.MINUTES.ONE,queryKey:n,async queryFn(){const t=[],n=[Yn((e=>o.app.bsky.graph.getLists({actor:s.did,cursor:e,limit:50}).then(sa)))];”all-including-subscribed”!==e&&”mod”!==e||(n.push(Yn((e=>o.app.bsky.graph.getListMutes({cursor:e,limit:50}).then(ta)))),n.push(Yn((e=>o.app.bsky.graph.getListBlocks({cursor:e,limit:50}).then(ea)))));const a=await Promise.all(n);for(const s of a)for(const o of s)”curate”===e&&”app.bsky.graph.defs#curatelist”!==o.purpose||”mod”===e&&”app.bsky.graph.defs#modlist”!==o.purpose||t.find((e=>e.uri===o.uri))||t.push(o);return t},enabled:!!s},t[2]=o,t[3]=s,t[4]=e,t[5]=n,t[6]=r):r=t[6],(0,Zt.useQuery)(r)}function ea(e){return{cursor:e.data.cursor,items:e.data.lists}}function ta(e){return{cursor:e.data.cursor,items:e.data.lists}}function sa(e){return{cursor:e.data.cursor,items:e.data.lists}}function oa(e,t){t?e.invalidateQueries({queryKey:Xn(t)}):e.invalidateQueries({queryKey:[$n]})}var na=o(2064);const aa=(0,na.createSinglePathSVG)({viewBox:”0 0 47 38″,strokeLinecap:”round”,strokeLinejoin:”round”,strokeWidth:2,path:”M22.333 31.667H45M22.333 6.333H45m-33.333 0A5.333 5.333 0 1 1 1 6.333a5.333 5.333 0 0 1 10.667 0Zm0 25.334a5.333 5.333 0 1 1-10.667 0 5.333 5.333 0 0 1 10.667 0Z”}),ra=(0,na.createSinglePathSVG)({path:”M6 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2ZM3 7a3 3 0 1 1 6 0 3 3 0 0 1-6 0Zm9 0a1 1 0 0 1 1-1h7a1 1 0 1 1 0 2h-7a1 1 0 0 1-1-1Zm-6 9a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm-3 1a3 3 0 1 1 6 0 3 3 0 0 1-6 0Zm9 0a1 1 0 0 1 1-1h7a1 1 0 1 1 0 2h-7a1 1 0 0 1-1-1Z”}),ia=(0,na.createSinglePathSVG)({path:”M3 7a3 3 0 1 1 6 0 3 3 0 0 1-6 0Zm0 10a3 3 0 1 1 6 0 3 3 0 0 1-6 0Zm10-1a1 1 0 1 0 0 2h7a1 1 0 1 0 0-2h-7Zm-1-9a1 1 0 0 1 1-1h7a1 1 0 1 1 0 2h-7a1 1 0 0 1-1-1Z”});var la=o(63366),ca=o(96597),da=o(89913),ua=o(77625),ma=o.n(ua),ha=o(49119),pa=o(48833);const fa=30,ga=”profile-lists”,xa=e=>[ga,e];function _a(e){return e.cursor}const ya=”list”,ba=e=>[ya,e];function ja(e){return”string”===typeof e?.data?.list.uri}function va(e){return!e?.success}function Sa(e){const t=new On.AtUri(e);return{$type:”com.atproto.repo.applyWrites#delete”,collection:t.collection,rkey:t.rkey}}function wa(e){return e.uri}function Ta(){const e=(0,a.c)(5),t=(0,Mn.useQueryClient)(),s=(0,Yt.useAgent)();let o,n;return e[0]!==s?(o=async e=>{const{uri:t,mute:o}=e;o?await s.muteModList(t):await s.unmuteModList(t),await Ca(s,t,(e=>Boolean(e?.data.list.viewer?.muted)===o))},e[0]=s,e[1]=o):o=e[1],e[2]!==t||e[3]!==o?(n={mutationFn:o,onSuccess(e,s){t.invalidateQueries({queryKey:ba(s.uri)})}},e[2]=t,e[3]=o,e[4]=n):n=e[4],(0,wo.useMutation)(n)}function ka(){const e=(0,a.c)(5),t=(0,Mn.useQueryClient)(),s=(0,Yt.useAgent)();let o,n;return e[0]!==s?(o=async e=>{const{uri:t,block:o}=e;o?await s.blockModList(t):await s.unblockModList(t),await Ca(s,t,(e=>o?”string”===typeof e?.data.list.viewer?.blocked:!e?.data.list.viewer?.blocked))},e[0]=s,e[1]=o):o=e[1],e[2]!==t||e[3]!==o?(n={mutationFn:o,onSuccess(e,s){t.invalidateQueries({queryKey:ba(s.uri)})}},e[2]=t,e[3]=o,e[4]=n):n=e[4],(0,wo.useMutation)(n)}async function Ca(e,t,s){await(0,pa.until)(5,1e3,s,(()=>e.app.bsky.graph.getList({list:t,limit:1})))}var Ia=o(86623),Aa=o(95032),Pa=o(77388);const Ea=({uri:e})=>[“getFeedSourceInfo”,e],La={feed:”app.bsky.feed.generator”,list:”app.bsky.graph.list”};function Ra(e){const t=new On.AtUri(e.uri),s=”app.bsky.feed.generator”===t.collection?”feed”:”lists”,o=`/profile/${t.hostname}/${s}/${t.rkey}`,n=Aa.router.matchPath(o);return{type:”feed”,view:e,uri:e.uri,feedDescriptor:`feedgen|${e.uri}`,cid:e.cid,route:{href:o,name:n[0],params:n[1]},avatar:e.avatar,displayName:e.displayName?(0,Ln.sanitizeDisplayName)(e.displayName):Lt.i18n._({id:”8BFAg0″,values:{0:(0,Dn.sanitizeHandle)(e.creator.handle,”@”)}}),description:new On.RichText({text:e.description||””,facets:(e.descriptionFacets||[])?.slice()}),creatorDid:e.creator.did,creatorHandle:e.creator.handle,likeCount:e.likeCount,acceptsInteractions:e.acceptsInteractions,likeUri:e.viewer?.like,contentMode:e.contentMode}}function Da(e){const t=new On.AtUri(e.uri),s=”app.bsky.feed.generator”===t.collection?”feed”:”lists”,o=`/profile/${t.hostname}/${s}/${t.rkey}`,n=Aa.router.matchPath(o);return{type:”list”,view:e,uri:e.uri,feedDescriptor:`list|${e.uri}`,route:{href:o,name:n[0],params:n[1]},cid:e.cid,avatar:e.avatar,description:new On.RichText({text:e.description||””,facets:(e.descriptionFacets||[])?.slice()}),creatorDid:e.creator.did,creatorHandle:e.creator.handle,displayName:e.name?(0,Ln.sanitizeDisplayName)(e.name):Lt.i18n._({id:”LNlLzT”,values:{0:(0,Dn.sanitizeHandle)(e.creator.handle,”@”)}}),contentMode:void 0}}function Ba(e){const{pathname:t}=new On.AtUri(e);return t.includes(La.feed)?”feed”:”list”}function Oa(e){const t=(0,a.c)(11),{uri:s}=e;let o;t[0]!==s?(o=Ba(s),t[0]=s,t[1]=o):o=t[1];const n=o,r=(0,Yt.useAgent)();let i,l,c;return t[2]!==s?(i=Ea({uri:s}),t[2]=s,t[3]=i):i=t[3],t[4]!==r||t[5]!==n||t[6]!==s?(l=async()=>{let e;if(“feed”===n){e=Ra((await r.app.bsky.feed.getFeedGenerator({feed:s})).data.view)}else{e=Da((await r.app.bsky.graph.getList({list:s,limit:1})).data.list)}return e},t[4]=r,t[5]=n,t[6]=s,t[7]=l):l=t[7],t[8]!==i||t[9]!==l?(c={staleTime:bt.STALE.INFINITY,queryKey:i,queryFn:l},t[8]=i,t[9]=l,t[10]=c):c=t[10],(0,Zt.useQuery)(c)}const Ma=[“at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.generator/with-friends”,”at://did:plc:tenurhgjptubkk5zf5qhi3og/app.bsky.feed.generator/mutuals”,”at://did:plc:tenurhgjptubkk5zf5qhi3og/app.bsky.feed.generator/only-posts”,”at://did:plc:wzsilnxf24ehtmmc3gssy5bu/app.bsky.feed.generator/mentions”,”at://did:plc:q6gjnaw2blty4crticxkmujt/app.bsky.feed.generator/bangers”,”at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.generator/mutuals”,”at://did:plc:q6gjnaw2blty4crticxkmujt/app.bsky.feed.generator/my-followers”,”at://did:plc:vpkhqolt662uhesyj6nxm7ys/app.bsky.feed.generator/followpics”];function Fa(e){const t=(0,a.c)(23),{hasSession:s}=(0,Yt.useSession)(),o=(0,Yt.useAgent)(),n=e?.limit||10,{data:r}=(0,Ia.usePreferencesQuery)(),i=(0,Mn.useQueryClient)(),l=(0,bs.useModerationOpts)();let c,d;r?.savedFeeds,t[0]!==r?.savedFeeds?(c=r?.savedFeeds||[],t[0]=r?.savedFeeds,t[1]=c):c=t[1],t[2]!==s||t[3]!==l||t[4]!==c?(d={hasSession:s,savedFeeds:c,moderationOpts:l},t[2]=s,t[3]=l,t[4]=c,t[5]=d):d=t[5];const u=d,m=(0,ct.useRef)(0),h=Boolean(l)&&!1!==e?.enabled;let p,f,g;t[6]!==e?(p=function(e){return[“getPopularFeeds”,e?.limit]}(e),t[6]=e,t[7]=p):p=t[7],t[8]!==o||t[9]!==n||t[10]!==i?(f=async e=>{const{pageParam:t}=e,s=await o.app.bsky.unspecced.getPopularFeedGenerators({limit:n,cursor:t});for(const o of s.data.feeds){const e=Ra(o);tr(i,e)}return s.data},t[8]=o,t[9]=n,t[10]=i,t[11]=f):f=t[11],t[12]!==u?(g=e=>{const{savedFeeds:t,hasSession:s,moderationOpts:o}=u;return Object.assign({},e,{pages:e.pages.map((e=>Object.assign({},e,{feeds:e.feeds.filter((e=>{if(!s&&Ma.includes(e.uri))return!1;const n=Boolean(t?.find((t=>t.value===e.uri))),a=(0,On.moderateFeedGenerator)(e,o);return!n&&!a.ui(“contentList”).filter}))})))})},t[12]=u,t[13]=g):g=t[13];const x=g;let _;t[14]!==h||t[15]!==p||t[16]!==f||t[17]!==x?(_={enabled:h,queryKey:p,queryFn:f,initialPageParam:void 0,getNextPageParam:Na,select:x},t[14]=h,t[15]=p,t[16]=f,t[17]=x,t[18]=_):_=t[18];const y=(0,ca.useInfiniteQuery)(_);let b,j;return t[19]!==n||t[20]!==y?(b=()=>{const{isFetching:e,hasNextPage:t,data:s}=y;if(e||!t)return;if(0!==m.current&&m.current===s?.pages?.length)return;let o=0;for(const n of s?.pages||[])o+=n.feeds.length;o[“popularFeedsSearch”,e];function Va(e){const t=(0,a.c)(10),{query:s,enabled:o}=e,n=(0,Yt.useAgent)(),r=(0,bs.useModerationOpts)(),i=o??Boolean(r);let l,c,d;return t[0]!==s?(l=Ha(s),t[0]=s,t[1]=l):l=t[1],t[2]!==n||t[3]!==s?(c=async()=>(await n.app.bsky.unspecced.getPopularFeedGenerators({limit:15,query:s})).data.feeds,t[2]=n,t[3]=s,t[4]=c):c=t[4],t[5]!==i||t[6]!==r||t[7]!==l||t[8]!==c?(d={enabled:i,queryKey:l,queryFn:c,placeholderData:da.keepPreviousData,select:e=>e.filter((e=>!(0,On.moderateFeedGenerator)(e,r).ui(“contentMedia”).blur))},t[5]=i,t[6]=r,t[7]=l,t[8]=c,t[9]=d):d=t[9],(0,Zt.useQuery)(d)}const za={type:”feed”,displayName:”Discover”,uri:Wt.DISCOVER_FEED_URI,feedDescriptor:`feedgen|${Wt.DISCOVER_FEED_URI}`,route:{href:”/”,name:”Home”,params:{}},cid:””,avatar:””,description:new On.RichText({text:””}),creatorDid:””,creatorHandle:””,likeCount:0,likeUri:””,savedFeed:Object.assign({id:”pwi-discover”},Wt.DISCOVER_SAVED_FEED),contentMode:void 0},Ua=(e,t)=>[bt.PERSISTED_QUERY_ROOT,”feed-info”,e,t];function Ga(){const e=(0,a.c)(12),{hasSession:t}=(0,Yt.useSession)(),s=(0,Yt.useAgent)(),{data:o,isLoading:n}=(0,Ia.usePreferencesQuery)();let r,i,l;e[0]!==o?.savedFeeds?(r=o?.savedFeeds.filter(Za)??[],l=Zt.useQuery,i=Ua(“pinned”,r.map(Ka)),e[0]=o?.savedFeeds,e[1]=r,e[2]=i,e[3]=l):(r=e[1],i=e[2],l=e[3]);const c=!n;let d,u;return e[4]!==s||e[5]!==t||e[6]!==r?(d=async()=>{if(!t)return[za];const e=new Map,o=r.filter(Qa);let n=Promise.resolve();o.length>0&&(n=s.app.bsky.feed.getFeedGenerators({feeds:o.map(qa)}).then((t=>{for(let s=0;ss.app.bsky.graph.getList({list:t.value,limit:1}).then((t=>{const s=t.data.list;e.set(s.uri,Da(s))}))));await n,await Promise.allSettled(a);const i=[];for(const t of r){const s=e.get(t.value);s?i.push(Object.assign({},s,{savedFeed:t})):”timeline”===t.type&&i.push({type:”feed”,displayName:”Following”,uri:t.value,feedDescriptor:”following”,route:{href:”/”,name:”Home”,params:{}},cid:””,avatar:””,description:new On.RichText({text:””}),creatorDid:””,creatorHandle:””,likeCount:0,likeUri:””,savedFeed:t,contentMode:void 0})}return i},e[4]=s,e[5]=t,e[6]=r,e[7]=d):d=e[7],e[8]!==i||e[9]!==c||e[10]!==d?(u={queryKey:i,gcTime:bt.PERSISTED_QUERY_GCTIME,staleTime:bt.STALE.INFINITY,enabled:c,queryFn:d},e[8]=i,e[9]=c,e[10]=d,e[11]=u):u=e[11],l(u)}function Wa(e){return”list”===e.type}function qa(e){return e.value}function Qa(e){return”feed”===e.type}function Ka(e){return e.value}function Za(e){return e.pinned}function Ya(){const e=(0,a.c)(11),t=(0,Yt.useAgent)(),{data:s,isLoading:o}=(0,Ia.usePreferencesQuery)(),n=s?.savedFeeds??[],r=(0,Mn.useQueryClient)(),i=Ua(“saved”,n.map(er)),l=!o;let c,d,u;return e[0]!==n?(c=e=>e||{count:n.length,feeds:[]},e[0]=n,e[1]=c):c=e[1],e[2]!==t||e[3]!==r||e[4]!==n?(d=async()=>{const e=new Map,s=new Map,o=n.filter(Ja),a=n.filter(Xa);let i=Promise.resolve();o.length>0&&(i=t.app.bsky.feed.getFeedGenerators({feeds:o.map($a)}).then((t=>{t.data.feeds.forEach((t=>{e.set(t.uri,t)}))})));const l=a.map((e=>t.app.bsky.graph.getList({list:e.value,limit:1}).then((e=>{const t=e.data.list;s.set(t.uri,t)}))));await Promise.allSettled([i,…l]),e.forEach((e=>{const t=Ra(e);tr(r,t)})),s.forEach((e=>{sr(r,e)}));const c=[];for(const t of n)if(“timeline”===t.type)c.push({type:”timeline”,config:t,view:void 0});else if(“feed”===t.type){const s=e.get(t.value);s&&c.push({type:”feed”,config:t,view:s})}else if(“list”===t.type){const e=s.get(t.value);e&&c.push({type:”list”,config:t,view:e})}return{count:c.length,feeds:c}},e[2]=t,e[3]=r,e[4]=n,e[5]=d):d=e[5],e[6]!==i||e[7]!==l||e[8]!==c||e[9]!==d?(u={queryKey:i,gcTime:bt.PERSISTED_QUERY_GCTIME,staleTime:bt.STALE.INFINITY,enabled:l,placeholderData:c,queryFn:d},e[6]=i,e[7]=l,e[8]=c,e[9]=d,e[10]=u):u=e[10],(0,Zt.useQuery)(u)}function $a(e){return e.value}function Xa(e){return”list”===e.type}function Ja(e){return”feed”===e.type}function er(e){return e.value}function tr(e,t){(0,Pa.precacheResolvedUri)(e,t.creatorHandle,t.creatorDid),e.setQueryData(Ea({uri:t.uri}),t)}function sr(e,t){(0,Pa.precacheResolvedUri)(e,t.creator.handle,t.creator.did),e.setQueryData(ba(t.uri),t)}var or=o(32720);const nr=(0,na.createSinglePathSVG)({path:”M2 12A9.97 9.97 0 0 1 4.929 4.93l.076-.068a1 1 0 0 1 1.407 1.406l-.07.076A7.97 7.97 0 0 0 4 12c0 2.072.786 3.958 2.078 5.38l.265.277.07.076a1 1 0 0 1-1.408 1.407l-.076-.07-.331-.346A9.97 9.97 0 0 1 2 12Zm18 0a7.97 7.97 0 0 0-2.078-5.379l-.265-.278-.07-.076a1 1 0 0 1 1.408-1.406l.076.068.331.347A9.97 9.97 0 0 1 22 12c0 2.761-1.12 5.262-2.929 7.07a1 1 0 1 1-1.414-1.413A7.97 7.97 0 0 0 20 12ZM6 12c0-1.656.673-3.158 1.758-4.243a1 1 0 0 1 1.414 1.414A3.99 3.99 0 0 0 8 12.001c0 1.035.393 1.978 1.04 2.689l.132.138.068.077a1 1 0 0 1-1.407 1.406l-.075-.069-.2-.208A5.98 5.98 0 0 1 6 12Zm10 0a3.98 3.98 0 0 0-1.04-2.69l-.132-.139-.068-.075a1 1 0 0 1 1.407-1.407l.075.068.2.208A5.98 5.98 0 0 1 18 12a5.99 5.99 0 0 1-1.758 4.243 1 1 0 0 1-1.414-1.415A3.99 3.99 0 0 0 16 12Zm-6 0a2 2 0 1 1 4 0 2 2 0 0 1-4 0Z”}),ar=(0,na.createSinglePathSVG)({path:”M6.5 3a1 1 0 0 1 1-1h9a1 1 0 0 1 1 1v3.997a6.25 6.25 0 0 0 1.83 4.42l.377.376A1 1 0 0 1 20 12.5V15a1 1 0 0 1-1 1h-6v5a1 1 0 1 1-2 0v-5H5a1 1 0 0 1-1-1v-2.5a1 1 0 0 1 .293-.707l.376-.377A6.25 6.25 0 0 0 6.5 6.996V3.001Zm2 1v2.997a8.25 8.25 0 0 1-2.416 5.834L6 12.914V14h12v-1.086l-.084-.083A8.25 8.25 0 0 1 15.5 6.997V4h-7Z”}),rr=(0,na.createSinglePathSVG)({path:”M7.5 2a1 1 0 0 0-1 1v3.997a6.25 6.25 0 0 1-1.83 4.42l-.377.376A1 1 0 0 0 4 12.5V15a1 1 0 0 0 1 1h6v5a1 1 0 1 0 2 0v-5h6a1 1 0 0 0 1-1v-2.5a1 1 0 0 0-.293-.707l-.376-.377a6.25 6.25 0 0 1-1.831-4.42V3.001a1 1 0 0 0-1-1h-9Z”});var ir=o(77023),lr=o(72978),cr=o(44369);function dr(){const e=(0,a.c)(5),t=(0,Ia.usePreferencesQuery)();let s,o;return function(){const e=(0,a.c)(4),t=(0,Mn.useQueryClient)(),s=(0,Yt.useAgent)();let o,n;e[0]!==s||e[1]!==t?(o=()=>{i.IS_DEV&&i.IS_WEB&&”undefined”!==typeof window&&(window.__updateLiveEventPreferences=async e=>{await s.updateLiveEventPreferences(e),await t.invalidateQueries({queryKey:Ia.preferencesQueryKey})})},n=[s,t],e[0]=s,e[1]=t,e[2]=o,e[3]=n):(o=e[2],n=e[3]);(0,ct.useEffect)(o,n)}(),e[0]!==t.data?.liveEventPreferences?(s=t.data?.liveEventPreferences||{hideAllFeeds:!1,hiddenFeedIds:[]},e[0]=t.data?.liveEventPreferences,e[1]=s):s=e[1],e[2]!==t||e[3]!==s?(o=Object.assign({},t,{data:s}),e[2]=t,e[3]=s,e[4]=o):o=e[4],o}function ur(e){const t=(0,a.c)(5),s=(0,rn.useAnalytics)(),o=(0,Mn.useQueryClient)(),n=(0,Yt.useAgent)();let r;return t[0]!==n||t[1]!==s||t[2]!==e||t[3]!==o?(r={onSettled(t,s,o){const n=void 0===o.__canUndo;let a=null;e:switch(o.type){case”hideFeed”:a={type:”unhideFeed”,id:o.id,__canUndo:!1};break e;case”unhideFeed”:a={type:”hideFeed”,id:o.id,__canUndo:!1};break e;case”toggleHideAllFeeds”:a={type:”toggleHideAllFeeds”,__canUndo:!1}}t&&!s&&e?.onUpdateSuccess?.({undoAction:n?a:null})},mutationFn:async t=>{const a=(await n.updateLiveEventPreferences(t)).find(mr);e:switch(t.type){case”hideFeed”:case”unhideFeed”:if(!e.feed){s.logger.error(“useUpdateLiveEventPreferences: feed is missing, but required for hiding/unhiding”,{action:t});break e}s.metric(“hideFeed”===t.type?”liveEvents:feedBanner:hide”:”liveEvents:feedBanner:unhide”,{feed:e.feed.url,context:e.metricContext});break e;case”toggleHideAllFeeds”:a.hideAllFeeds?s.metric(“liveEvents:hideAllFeedBanners”,{context:e.metricContext}):s.metric(“liveEvents:unhideAllFeedBanners”,{context:e.metricContext})}return o.invalidateQueries({queryKey:Ia.preferencesQueryKey}),a}},t[0]=n,t[1]=s,t[2]=e,t[3]=o,t[4]=r):r=t[4],(0,wo.useMutation)(r)}function mr(e){return(0,On.asPredicate)(On.AppBskyActorDefs.validateLiveEventPreferences)(e)}var hr=o(88875);const pr=new gt.QueryClient,fr=[“live-events”],gr={feeds:[]};async function xr(){try{const e=await fetch(`${i.LIVE_EVENTS_URL}/config`);if(!e.ok)return null;return await e.json()}catch{return null}}const _r=(0,ct.createContext)(gr);function yr(e){const t=(0,a.c)(22),{children:s}=e,[o]=(0,hr.useDevMode)(),n=function(){const e=(0,a.c)(2),t=(0,rn.useAnalytics)();let s;return e[0]!==t.features?(s=t.features.enabled(t.features.IsBskyTeam),e[0]=t.features,e[1]=s):s=e[1],s}(),{data:r}=(0,Ia.usePreferencesQuery)();let l;r?.moderationPrefs?.mutedWords,t[0]!==r?.moderationPrefs?.mutedWords?(l=r?.moderationPrefs?.mutedWords??[],t[0]=r?.moderationPrefs?.mutedWords,t[1]=l):l=t[1];const c=l;let d;t[2]===Symbol.for(“react.memo_cache_sentinel”)?(d={staleTime:15e3,queryKey:fr,refetchInterval:3e5,queryFn:async()=>xr()},t[2]=d):d=t[2];const{data:u,refetch:m}=(0,Zt.useQuery)(d,pr);let h,p;t[3]!==m?(h=e=>{“active”===e&&m()},t[3]=m,t[4]=h):h=t[4],(0,cr.useOnAppStateChange)(h);e:{if(!u){p=gr;break e}const e=n||i.IS_DEV;let s,a,r;if(t[5]!==u||t[6]!==n||t[7]!==o||t[8]!==c||t[9]!==e){let r;t[12]!==n||t[13]!==c||t[14]!==e?(r=t=>{if(t.preview&&!n)return!1;if(!e&&c.length>0){const e=[t.title,t.layouts?.wide?.title,t.layouts?.compact?.title].filter(Boolean).join(” “);if((0,On.hasMutedWord)({mutedWords:c,text:e}))return!1}return!0},t[12]=n,t[13]=c,t[14]=e,t[15]=r):r=t[15];const i=u.feeds.filter(r);s=u,a=n&&o?i:i.slice(0,1),t[5]=u,t[6]=n,t[7]=o,t[8]=c,t[9]=e,t[10]=s,t[11]=a}else s=t[10],a=t[11];t[16]!==s||t[17]!==a?(r=Object.assign({},s,{feeds:a}),t[16]=s,t[17]=a,t[18]=r):r=t[18],p=r}const f=p;let g;return t[19]!==s||t[20]!==f?(g=(0,jt.jsx)(_r.Provider,{value:f,children:s}),t[19]=s,t[20]=f,t[21]=g):g=t[21],g}function br(){const e=(0,ct.useContext)(_r);if(!e)throw new Error(“useLiveEventsContext must be used within a Provider”);return e}function jr(){const e=(0,a.c)(7),t=br(),{data:s,isLoading:o}=dr();if(o)return gr;const{hideAllFeeds:n,hiddenFeedIds:r}=s;let i,l;return e[0]!==t||e[1]!==r||e[2]!==n?(i=n?[]:t.feeds.filter((e=>!(!!e?.id&&r.includes(e?.id||””)))),e[0]=t,e[1]=r,e[2]=n,e[3]=i):i=e[3],e[4]!==t||e[5]!==i?(l=Object.assign({},t,{feeds:i}),e[4]=t,e[5]=i,e[6]=l):l=e[6],l}function vr(e){const t=(0,qt.convertBskyAppUrlIfNeeded)(e.url),[,s,,o]=t.split(“/”).filter(Boolean);return(0,qt.makeRecordUri)(s,”app.bsky.feed.generator”,o).toString()}function Sr(e){return(0,qt.isBskyCustomFeedUrl)(e.url)}var wr=o(72945);const Tr=[“view”,”children”],kr=[“description”],Cr=[“view”,”pin”],Ir=[“view”,”pin”,”text”];function Ar(e){const t=(0,a.c)(23),{view:s}=e;let o,n,r,i,l;t[0]!==s.avatar?(o=(0,jt.jsx)(Rr,{src:s.avatar}),t[0]=s.avatar,t[1]=o):o=t[1],t[2]!==s.creator||t[3]!==s.displayName||t[4]!==s.uri?(n=(0,jt.jsx)(Br,{title:s.displayName,creator:s.creator,uri:s.uri}),t[2]=s.creator,t[3]=s.displayName,t[4]=s.uri,t[5]=n):n=t[5],t[6]!==s?(r=(0,jt.jsx)(Nr,{view:s,pin:!0}),t[6]=s,t[7]=r):r=t[7],t[8]!==o||t[9]!==n||t[10]!==r?(i=(0,jt.jsxs)(Lr,{children:[o,n,r]}),t[8]=o,t[9]=n,t[10]=r,t[11]=i):i=t[11],t[12]!==s.description?(l=(0,jt.jsx)(Mr,{description:s.description}),t[12]=s.description,t[13]=l):l=t[13];const c=s.likeCount||0;let d,u,m;return t[14]!==c?(d=(0,jt.jsx)(Fr,{count:c}),t[14]=c,t[15]=d):d=t[15],t[16]!==i||t[17]!==l||t[18]!==d?(u=(0,jt.jsxs)(Er,{children:[i,l,d]}),t[16]=i,t[17]=l,t[18]=d,t[19]=u):u=t[19],t[20]!==e||t[21]!==u?(m=(0,jt.jsx)(Pr,Object.assign({},e,{children:u})),t[20]=e,t[21]=u,t[22]=m):m=t[22],m}function Pr(e){const t=(0,a.c)(16);let s,o,n;if(t[0]!==e){var r=e;({view:n,children:s}=r),o=(0,la.default)(r,Tr),t[0]=e,t[1]=s,t[2]=o,t[3]=n}else s=t[1],o=t[2],n=t[3];const i=(0,Mn.useQueryClient)();let l;t[4]!==n?(l=function({feed:e}){const t=new On.AtUri(e.uri),s=e.creator.handle||e.creator.did;return`/profile/${s}/feed/${t.rkey}`}({feed:n}),t[4]=n,t[5]=l):l=t[5];const c=l;let d,u,m,h;return t[6]!==i||t[7]!==n?(d=()=>{!function(e,t){tr(e,Ra(t))}(i,n)},u=[n,i],t[6]=i,t[7]=n,t[8]=d,t[9]=u):(d=t[8],u=t[9]),ct.useEffect(d,u),t[10]===Symbol.for(“react.memo_cache_sentinel”)?(m=[to.atoms.flex_col],t[10]=m):m=t[10],t[11]!==s||t[12]!==c||t[13]!==o||t[14]!==n.displayName?(h=(0,jt.jsx)(go.Link,Object.assign({label:n.displayName,to:c,style:m},o,{children:s})),t[11]=s,t[12]=c,t[13]=o,t[14]=n.displayName,t[15]=h):h=t[15],h}function Er(e){const t=(0,a.c)(3),{children:s}=e;let o,n;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(o=[to.atoms.w_full,to.atoms.gap_sm],t[0]=o):o=t[0],t[1]!==s?(n=(0,jt.jsx)(Qs.default,{style:o,children:s}),t[1]=s,t[2]=n):n=t[2],n}function Lr(e){const t=(0,a.c)(3),{children:s}=e;let o,n;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(o=[to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_sm],t[0]=o):o=t[0],t[1]!==s?(n=(0,jt.jsx)(Qs.default,{style:o,children:s}),t[1]=s,t[2]=n):n=t[2],n}function Rr(e){const t=(0,a.c)(3),{src:s,size:o}=e,n=void 0===o?40:o;let r;return t[0]!==n||t[1]!==s?(r=(0,jt.jsx)(or.UserAvatar,{type:”algo”,size:n,avatar:s}),t[0]=n,t[1]=s,t[2]=r):r=t[2],r}function Dr(e){const t=(0,a.c)(5),{size:s}=e,o=void 0===s?40:s,n=(0,to.useTheme)();let r,i;return t[0]!==o?(r={width:o,height:o,borderRadius:8},t[0]=o,t[1]=r):r=t[1],t[2]!==n.atoms.bg_contrast_25||t[3]!==r?(i=(0,jt.jsx)(Qs.default,{style:[n.atoms.bg_contrast_25,r]}),t[2]=n.atoms.bg_contrast_25,t[3]=r,t[4]=i):i=t[4],i}function Br(e){const t=(0,a.c)(19),{title:s,creator:o,uri:n}=e,r=(0,to.useTheme)(),i=function(){const e=(0,a.c)(2),{feeds:t}=br();let s;return e[0]!==t?(s=new Set(t.filter(Sr).map(vr)),e[0]=t,e[1]=s):s=e[1],s}();let l;t[0]!==r.name||t[1]!==r.palette.negative_500||t[2]!==r.palette.negative_600?(l=(0,to.select)(r.name,{dark:r.palette.negative_600,dim:r.palette.negative_600,light:r.palette.negative_500}),t[0]=r.name,t[1]=r.palette.negative_500,t[2]=r.palette.negative_600,t[3]=l):l=t[3];const c=l;let d,u,m,h,p,f;return t[4]===Symbol.for(“react.memo_cache_sentinel”)?(d=[to.atoms.flex_1],t[4]=d):d=t[4],t[5]!==i||t[6]!==c||t[7]!==n?(u=n&&i.has(n)&&(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_2xs],children:[(0,jt.jsx)(nr,{size:”xs”,fill:c}),(0,jt.jsx)(_o.Text,{style:[to.atoms.text_2xs,to.atoms.font_medium,to.atoms.leading_snug,{color:c}],children:(0,jt.jsx)(ut.Trans,{id:”NUsTc4″})})]}),t[5]=i,t[6]=c,t[7]=n,t[8]=u):u=t[8],t[9]===Symbol.for(“react.memo_cache_sentinel”)?(m=[to.atoms.text_md,to.atoms.font_semi_bold,to.atoms.leading_snug],t[9]=m):m=t[9],t[10]!==s?(h=(0,jt.jsx)(_o.Text,{emoji:!0,style:m,numberOfLines:1,children:s}),t[10]=s,t[11]=h):h=t[11],t[12]!==o||t[13]!==r.atoms?(p=o&&(0,jt.jsx)(_o.Text,{style:[to.atoms.leading_snug,r.atoms.text_contrast_medium],numberOfLines:1,children:(0,jt.jsx)(ut.Trans,{id:”8BFAg0″,values:{0:(0,Dn.sanitizeHandle)(o.handle,”@”)}})}),t[12]=o,t[13]=r.atoms,t[14]=p):p=t[14],t[15]!==u||t[16]!==h||t[17]!==p?(f=(0,jt.jsxs)(Qs.default,{style:d,children:[u,h,p]}),t[15]=u,t[16]=h,t[17]=p,t[18]=f):f=t[18],f}function Or(e){const t=(0,a.c)(10),{creator:s}=e,o=(0,to.useTheme)();let n,r,i,l,c;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(n=[to.atoms.flex_1,to.atoms.gap_xs],t[0]=n):n=t[0],t[1]===Symbol.for(“react.memo_cache_sentinel”)?(r={width:”60%”,height:14},t[1]=r):r=t[1],t[2]!==o.atoms.bg_contrast_50?(i=(0,jt.jsx)(Qs.default,{style:[to.atoms.rounded_xs,o.atoms.bg_contrast_50,r]}),t[2]=o.atoms.bg_contrast_50,t[3]=i):i=t[3],t[4]!==s||t[5]!==o.atoms.bg_contrast_25?(l=s&&(0,jt.jsx)(Qs.default,{style:[to.atoms.rounded_xs,o.atoms.bg_contrast_25,{width:”40%”,height:10}]}),t[4]=s,t[5]=o.atoms.bg_contrast_25,t[6]=l):l=t[6],t[7]!==i||t[8]!==l?(c=(0,jt.jsxs)(Qs.default,{style:n,children:[i,l]}),t[7]=i,t[8]=l,t[9]=c):c=t[9],c}function Mr(e){const t=(0,a.c)(8);let s,o,n;if(t[0]!==e){var r=e;({description:s}=r),o=(0,la.default)(r,kr),t[0]=e,t[1]=s,t[2]=o}else s=t[1],o=t[2];e:{if(!s){n=void 0;break e}const e=s||””;let o;t[3]!==e?(o=new On.RichText({text:e}),o.detectFacetsWithoutResolution(),t[3]=e,t[4]=o):o=t[4],n=o}const i=n;if(!i)return null;let l;return t[5]!==o||t[6]!==i?(l=(0,jt.jsx)(lr.RichText,Object.assign({value:i,disableLinks:!0},o)),t[5]=o,t[6]=i,t[7]=l):l=t[7],l}function Fr(e){const t=(0,a.c)(7),{count:s}=e,o=(0,to.useTheme)();let n;t[0]!==o.atoms.text_contrast_medium?(n=[to.atoms.text_sm,o.atoms.text_contrast_medium,to.atoms.font_semi_bold],t[0]=o.atoms.text_contrast_medium,t[1]=n):n=t[1];const r=s||0;let i,l;return t[2]!==r?(i=(0,jt.jsx)(ut.Trans,{id:”J0wwLX”,values:{0:r}}),t[2]=r,t[3]=i):i=t[3],t[4]!==n||t[5]!==i?(l=(0,jt.jsx)(_o.Text,{style:n,children:i}),t[4]=n,t[5]=i,t[6]=l):l=t[6],l}function Nr(e){const t=(0,a.c)(8);let s,o,n;if(t[0]!==e){var r=e;({view:n,pin:s}=r),o=(0,la.default)(r,Cr),t[0]=e,t[1]=s,t[2]=o,t[3]=n}else s=t[1],o=t[2],n=t[3];const{hasSession:i}=(0,Yt.useSession)();if(!i)return null;let l;return t[4]!==s||t[5]!==o||t[6]!==n?(l=(0,jt.jsx)(Hr,Object.assign({view:n,pin:s},o)),t[4]=s,t[5]=o,t[6]=n,t[7]=l):l=t[7],l}function Hr(e){let{view:t,pin:s,text:o=!0}=e,n=(0,la.default)(e,Ir);const{_:a}=(0,ut.useLingui)(),{data:r}=(0,Ia.usePreferencesQuery)(),{isPending:i,mutateAsync:l}=(0,Ia.useAddSavedFeedsMutation)(),{isPending:c,mutateAsync:d}=(0,Ia.useRemoveFeedMutation)(),u=t.uri,m=t.uri.includes(“app.bsky.feed.generator”)?”feed”:”list”,h=ct.useMemo((()=>r?.savedFeeds?.find((e=>e.value===u))),[r?.savedFeeds,u]),p=ir.usePromptControl(),f=i||c,g=ct.useCallback((async e=>{e.preventDefault(),e.stopPropagation();try{h?await d(h):await l([{type:m,value:u,pinned:s||!1}]),Gs.show(a({id:”oIkrPj”}))}catch(t){Ht.logger.error(t,{message:”FeedCard: failed to update feeds”,pin:s}),Gs.show(a({id:”fZjiHu”}),”xmark”)}}),[a,s,l,d,u,h,m]),x=ct.useCallback((async e=>{e.preventDefault(),e.stopPropagation(),p.open()}),[p]);return(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(po.Button,Object.assign({disabled:f,label:a({id:”Rj4BN+”}),size:”small”,variant:”solid”,color:h?”secondary”:”primary”,onPress:h?x:g},n,{children:h?(0,jt.jsxs)(jt.Fragment,{children:[f?(0,jt.jsx)(po.ButtonIcon,{size:”md”,icon:xo.Loader}):!o&&(0,jt.jsx)(po.ButtonIcon,{size:”md”,icon:wr.Trash_Stroke2_Corner0_Rounded}),o&&(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”6AOnq0″})})]}):(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(po.ButtonIcon,{size:”md”,icon:f?xo.Loader:ar}),o&&(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”GPwCPg”})})]})})),(0,jt.jsx)(ir.Basic,{control:p,title:a({id:”am/CTH”}),description:a({id:”6VFU83″}),onConfirm:g,confirmButtonCta:a({id:”t/YqKh”}),confirmButtonColor:”negative”})]})}var Vr=o(58921),zr=o(3963);const Ur=ct.createContext({});Ur.displayName=”HiderContext”;const Gr=()=>ct.useContext(Ur);function Wr(e){const t=(0,a.c)(22),{modui:s,isContentVisibleInitialState:o,allowOverride:n,children:r}=e,i=(0,zr.useModerationDetailsDialogControl)(),l=s?.blurs[0],[c,d]=ct.useState(o||!l),u=(0,Vr.useModerationCauseDescription)(l);let m;t[0]!==s?.blurs?(m=s?.blurs.find(qr),t[0]=s?.blurs,t[1]=m):m=t[1];const h=Boolean(m),p=n??!s?.noOverride;let f;t[2]!==h||t[3]!==p?(f={isNoPwi:h,allowOverride:p},t[2]=h,t[3]=p,t[4]=f):f=t[4];const g=f;let x;t[5]!==i?(x=()=>{i.open()},t[5]=i,t[6]=x):x=t[6];const _=x;let y;t[7]!==g?(y=e=>{g.allowOverride&&d(e)},t[7]=g,t[8]=y):y=t[8];const b=y;let j;t[9]!==u||t[10]!==c||t[11]!==g||t[12]!==b||t[13]!==_?(j={isContentVisible:c,setIsContentVisible:b,showInfoDialog:_,info:u,meta:g},t[9]=u,t[10]=c,t[11]=g,t[12]=b,t[13]=_,t[14]=j):j=t[14];const v=j;let S,w;return t[15]!==l||t[16]!==i?(S=(0,jt.jsx)(zr.ModerationDetailsDialog,{control:i,modcause:l}),t[15]=l,t[16]=i,t[17]=S):S=t[17],t[18]!==r||t[19]!==v||t[20]!==S?(w=(0,jt.jsxs)(Ur.Provider,{value:v,children:[r,S]}),t[18]=r,t[19]=v,t[20]=S,t[21]=w):w=t[21],w}function qr(e){return”label”===e.type&&”!no-unauthenticated”===e.labelDef.identifier}function Qr(e){const{children:t}=e;return Gr().isContentVisible?t:null}function Kr(e){const{children:t}=e;return Gr().isContentVisible?null:t}const Zr=[“view”,”children”],Yr=”app.bsky.graph.defs#curatelist”,$r=”app.bsky.graph.defs#modlist”;function Xr(e){const t=(0,a.c)(39),{view:s,showPinButton:o}=e,n=(0,bs.useModerationOpts)();let r,i,l,c,d,u,m,h,p,f,g,x,_,y,b,j;if(t[0]!==n||t[1]!==e||t[2]!==s){const o=n?(0,On.moderateUserList)(s,n):void 0;c=Jr,f=e,l=Er,i=Lr,t[13]!==s.avatar?(p=(0,jt.jsx)(Rr,{src:s.avatar}),t[13]=s.avatar,t[14]=p):p=t[14],r=ei,d=s.name,u=s.creator,m=s.purpose,h=o?.ui(“contentView”),t[0]=n,t[1]=e,t[2]=s,t[3]=r,t[4]=i,t[5]=l,t[6]=c,t[7]=d,t[8]=u,t[9]=m,t[10]=h,t[11]=p,t[12]=f}else r=t[3],i=t[4],l=t[5],c=t[6],d=t[7],u=t[8],m=t[9],h=t[10],p=t[11],f=t[12];return t[15]!==r||t[16]!==d||t[17]!==u||t[18]!==m||t[19]!==h?(g=(0,jt.jsx)(r,{title:d,creator:u,purpose:m,modUi:h}),t[15]=r,t[16]=d,t[17]=u,t[18]=m,t[19]=h,t[20]=g):g=t[20],t[21]!==o||t[22]!==s?(x=o&&s.purpose===Yr&&(0,jt.jsx)(Nr,{view:s,pin:!0}),t[21]=o,t[22]=s,t[23]=x):x=t[23],t[24]!==i||t[25]!==p||t[26]!==g||t[27]!==x?(_=(0,jt.jsxs)(i,{children:[p,g,x]}),t[24]=i,t[25]=p,t[26]=g,t[27]=x,t[28]=_):_=t[28],t[29]!==s.description?(y=(0,jt.jsx)(Mr,{description:s.description}),t[29]=s.description,t[30]=y):y=t[30],t[31]!==l||t[32]!==_||t[33]!==y?(b=(0,jt.jsxs)(l,{children:[_,y]}),t[31]=l,t[32]=_,t[33]=y,t[34]=b):b=t[34],t[35]!==c||t[36]!==b||t[37]!==f?(j=(0,jt.jsx)(c,Object.assign({},f,{children:b})),t[35]=c,t[36]=b,t[37]=f,t[38]=j):j=t[38],j}function Jr(e){const t=(0,a.c)(15);let s,o,n;if(t[0]!==e){var r=e;({view:n,children:s}=r),o=(0,la.default)(r,Zr),t[0]=e,t[1]=s,t[2]=o,t[3]=n}else s=t[1],o=t[2],n=t[3];const i=(0,Mn.useQueryClient)();let l;t[4]!==n?(l=function({list:e}){const t=new On.AtUri(e.uri);return`/profile/${e.creator.handle||e.creator.did}/lists/${t.rkey}`}({list:n}),t[4]=n,t[5]=l):l=t[5];const c=l;let d,u,m;return t[6]!==i||t[7]!==n?(d=()=>{sr(i,n)},u=[n,i],t[6]=i,t[7]=n,t[8]=d,t[9]=u):(d=t[8],u=t[9]),ct.useEffect(d,u),t[10]!==s||t[11]!==c||t[12]!==o||t[13]!==n.name?(m=(0,jt.jsx)(go.Link,Object.assign({label:n.name,to:c},o,{children:s})),t[10]=s,t[11]=c,t[12]=o,t[13]=n.name,t[14]=m):m=t[14],m}function ei(e){const t=(0,a.c)(19),{title:s,creator:o,purpose:n,modUi:r}=e,i=void 0===n?Yr:n,l=(0,to.useTheme)(),{_:c}=(0,ut.useLingui)(),{currentAccount:d}=(0,Yt.useSession)();let u;t[0]===Symbol.for(“react.memo_cache_sentinel”)?(u=[to.atoms.flex_1],t[0]=u):u=t[0];const m=o&&d?.did===o.did,h=o&&d?.did===o.did;let p,f,g,x,_,y,b;return t[1]===Symbol.for(“react.memo_cache_sentinel”)?(p=[to.atoms.text_md,to.atoms.font_semi_bold,to.atoms.leading_snug,to.atoms.italic],t[1]=p):p=t[1],t[2]===Symbol.for(“react.memo_cache_sentinel”)?(f=(0,jt.jsx)(Kr,{children:(0,jt.jsx)(_o.Text,{style:p,numberOfLines:1,children:(0,jt.jsx)(ut.Trans,{id:”ould6f”})})}),t[2]=f):f=t[2],t[3]===Symbol.for(“react.memo_cache_sentinel”)?(g=[to.atoms.text_md,to.atoms.font_semi_bold,to.atoms.leading_snug],t[3]=g):g=t[3],t[4]!==s?(x=(0,jt.jsx)(Qr,{children:(0,jt.jsx)(_o.Text,{emoji:!0,style:g,numberOfLines:1,children:s})}),t[4]=s,t[5]=x):x=t[5],t[6]!==r||t[7]!==m||t[8]!==h||t[9]!==x?(_=(0,jt.jsxs)(Wr,{modui:r,isContentVisibleInitialState:m,allowOverride:h,children:[f,x]}),t[6]=r,t[7]=m,t[8]=h,t[9]=x,t[10]=_):_=t[10],t[11]!==c||t[12]!==o||t[13]!==i||t[14]!==l?(y=o&&(0,jt.jsx)(_o.Text,{emoji:!0,style:[to.atoms.leading_snug,l.atoms.text_contrast_medium],numberOfLines:1,children:c(i===$r?{id:”h+3Tua”,values:{0:(0,Dn.sanitizeHandle)(o.handle,”@”)}}:{id:”munnPn”,values:{0:(0,Dn.sanitizeHandle)(o.handle,”@”)}})}),t[11]=c,t[12]=o,t[13]=i,t[14]=l,t[15]=y):y=t[15],t[16]!==y||t[17]!==_?(b=(0,jt.jsxs)(Qs.default,{style:u,children:[_,y]}),t[16]=y,t[17]=_,t[18]=b):b=t[18],b}var ti=o(1453),si=o(21169);const oi={_reactKey:”__loading__”},ni={_reactKey:”__empty__”},ai={_reactKey:”__error__”};function ri(e){const t=(0,a.c)(43),{filter:s,inline:o,style:n,renderItem:r,testID:i}=e,l=(0,In.usePalette)(“default”),c=(0,to.useTheme)(),{_:d}=(0,ut.useLingui)(),u=(0,bs.useModerationOpts)(),[m,h]=ct.useState(!1),{data:p,isFetching:f,isFetched:g,isError:x,error:_,refetch:y}=Jn(s),b=!f&&!p?.length;let j;t[0]===Symbol.for(“react.memo_cache_sentinel”)?(j=[],t[0]=j):j=t[0];let v=j;if(x&&b){let e;t[1]===Symbol.for(“react.memo_cache_sentinel”)?(e=v.concat([ai]),t[1]=e):e=t[1],v=e}if(!g&&f||!u){let e;if(t[2]!==v){let s;t[4]===Symbol.for(“react.memo_cache_sentinel”)?(s=[oi],t[4]=s):s=t[4],e=v.concat(s),t[2]=v,t[3]=e}else e=t[3];v=e}else if(b){let e;if(t[5]!==v){let s;t[7]===Symbol.for(“react.memo_cache_sentinel”)?(s=[ni],t[7]=s):s=t[7],e=v.concat(s),t[5]=v,t[6]=e}else e=t[6];v=e}else{let e;t[8]!==p||t[9]!==v?(e=v.concat(p),t[8]=p,t[9]=v,t[10]=e):e=t[10],v=e}const S=v;let w,T;if(t[11]!==d||t[12]!==s){e:switch(s){case”curate”:w=d({id:”QMt9nd”});break e;case”mod”:w=d({id:”JU9+bQ”});break e;default:w=d({id:”tCLJ9E”})}t[11]=d,t[12]=s,t[13]=w}else w=t[13];t[14]!==y?(T=async()=>{h(!0);try{await y()}catch(C){const t=C;Ht.logger.error(“Failed to refresh lists”,{message:t})}h(!1)},t[14]=y,t[15]=T):T=t[15];const k=T;let C;t[16]!==w||t[17]!==_||t[18]!==k||t[19]!==r||t[20]!==c?(C=e=>{const{item:t,index:s}=e;return t===ni?(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_1,to.atoms.align_center,to.atoms.gap_sm,to.atoms.px_xl,to.atoms.pt_3xl],children:[(0,jt.jsx)(Qs.default,{style:[to.atoms.align_center,to.atoms.justify_center,to.atoms.rounded_full,{width:64,height:64}],children:(0,jt.jsx)(aa,{size:”2xl”,fill:c.atoms.text_contrast_medium.color})}),(0,jt.jsx)(_o.Text,{style:[to.atoms.text_center,to.atoms.flex_1,to.atoms.text_sm,to.atoms.leading_snug,c.atoms.text_contrast_medium,{maxWidth:200}],children:w})]}):t===ai?(0,jt.jsx)(ti.ErrorMessage,{message:(0,Rn.cleanError)(_),onPressTryAgain:k}):t===oi?(0,jt.jsx)(Qs.default,{style:{padding:20},children:(0,jt.jsx)(Pn.default,{})}):r?r(t,s):(0,jt.jsx)(Qs.default,{style:[0!==s&&to.atoms.border_t,c.atoms.border_contrast_low,to.atoms.px_lg,to.atoms.py_lg],children:(0,jt.jsx)(Xr,{view:t})})},t[16]=w,t[17]=_,t[18]=k,t[19]=r,t[20]=c,t[21]=C):C=t[21];const I=C;if(o){let e,s;return t[22]!==m||t[23]!==S||t[24]!==k||t[25]!==l||t[26]!==I||t[27]!==i?(e=S.length>0&&(0,jt.jsx)(Kn.default,{testID:i?`${i}-flatlist`:void 0,data:S,keyExtractor:li,renderItem:I,refreshControl:(0,jt.jsx)(Zn.default,{refreshing:m,onRefresh:k,tintColor:l.colors.text,titleColor:l.colors.text}),contentContainerStyle:[Bn.s.contentContainer],removeClippedSubviews:!0}),t[22]=m,t[23]=S,t[24]=k,t[25]=l,t[26]=I,t[27]=i,t[28]=e):e=t[28],t[29]!==n||t[30]!==e||t[31]!==i?(s=(0,jt.jsx)(Qs.default,{testID:i,style:n,children:e}),t[29]=n,t[30]=e,t[31]=i,t[32]=s):s=t[32],s}{let e,s;return t[33]!==m||t[34]!==S||t[35]!==k||t[36]!==I||t[37]!==i?(e=S.length>0&&(0,jt.jsx)(si.List,{testID:i?`${i}-flatlist`:void 0,data:S,keyExtractor:ii,renderItem:I,refreshing:m,onRefresh:k,contentContainerStyle:[Bn.s.contentContainer],removeClippedSubviews:!0,desktopFixedHeight:!0,sideBorders:!1}),t[33]=m,t[34]=S,t[35]=k,t[36]=I,t[37]=i,t[38]=e):e=t[38],t[39]!==n||t[40]!==e||t[41]!==i?(s=(0,jt.jsx)(Qs.default,{testID:i,style:n,children:e}),t[39]=n,t[40]=e,t[41]=i,t[42]=s):s=t[42],s}}function ii(e){return e.uri?e.uri:e._reactKey}function li(e){return e.uri?e.uri:e._reactKey}var ci=o(61032),di=o(94929);function ui(e){const t=(0,a.c)(54),{subject:s,handle:o,displayName:n,onAdd:r,onRemove:l}=e,{closeModal:c}=(0,xs.useModalControls)(),d=(0,In.usePalette)(“default”),{height:u}=(0,En.default)(),{_:m}=(0,ut.useLingui)(),{data:h}=Un();let p;t[0]!==c?(p=()=>{c()},t[0]=c,t[1]=p):p=t[1];const f=p;let g;e:{if(i.IS_WEB_MOBILE){const e=u/2;let s,o;t[2]!==e?(s={height:e},t[2]=e,t[3]=s):s=t[3],t[4]!==d.border||t[5]!==s?(o=[d.border,s],t[4]=d.border,t[5]=s,t[6]=o):o=t[6],g=o;break e}if(i.IS_WEB){const e=u/1.5;let s,o;t[7]!==e?(s={height:e},t[7]=e,t[8]=s):s=t[8],t[9]!==d.border||t[10]!==s?(o=[d.border,s],t[9]=d.border,t[10]=s,t[11]=o):o=t[11],g=o;break e}let e,s;t[12]===Symbol.for(“react.memo_cache_sentinel”)?(e={flex:1,borderTopWidth:Ws.default.hairlineWidth},t[12]=e):e=t[12],t[13]!==d.border?(s=[d.border,e],t[13]=d.border,t[14]=s):s=t[14],g=s}const x=g;let _,y;t[15]===Symbol.for(“react.memo_cache_sentinel”)?(_={textAlign:”center”,fontWeight:”600″,fontSize:20,marginBottom:12,paddingHorizontal:12},t[15]=_):_=t[15],t[16]!==d.text?(y=[_,d.text],t[16]=d.text,t[17]=y):y=t[17];const b=y;let j,v,S,w,T,k,C,I,A,P,E,L;return t[18]!==n?(j={displayName:n},t[18]=n,t[19]=j):j=t[19],t[20]!==b?(v={0:(0,jt.jsx)(di.Text,{style:b,numberOfLines:1})},t[20]=b,t[21]=v):v=t[21],t[22]!==j||t[23]!==v?(S=(0,jt.jsx)(ut.Trans,{id:”pJhLxk”,values:j,components:v}),t[22]=j,t[23]=v,t[24]=S):S=t[24],t[25]!==b||t[26]!==S?(w=(0,jt.jsx)(di.Text,{style:b,numberOfLines:1,children:S}),t[25]=b,t[26]=S,t[27]=w):w=t[27],t[28]!==o||t[29]!==h||t[30]!==r||t[31]!==l||t[32]!==s?(T=(e,t)=>(0,jt.jsx)(mi,{index:t,list:e,memberships:h,subject:s,handle:o,onAdd:r,onRemove:l},e.uri),t[28]=o,t[29]=h,t[30]=r,t[31]=l,t[32]=s,t[33]=T):T=t[33],t[34]!==x||t[35]!==T?(k=(0,jt.jsx)(ri,{filter:”all”,inline:!0,renderItem:T,style:x}),t[34]=x,t[35]=T,t[36]=k):k=t[36],t[37]!==d.border?(C=[hi.btns,d.border],t[37]=d.border,t[38]=C):C=t[38],t[39]!==m?(I=m({id:”vQpxVG”}),t[39]=m,t[40]=I):I=t[40],t[41]!==m?(A=m({id:”vQpxVG”}),t[41]=m,t[42]=A):A=t[42],t[43]!==f||t[44]!==I||t[45]!==A?(P=(0,jt.jsx)(ci.Button,{testID:”doneBtn”,type:”default”,onPress:f,style:hi.footerBtn,accessibilityLabel:I,accessibilityHint:””,onAccessibilityEscape:f,label:A}),t[43]=f,t[44]=I,t[45]=A,t[46]=P):P=t[46],t[47]!==C||t[48]!==P?(E=(0,jt.jsx)(Qs.default,{style:C,children:P}),t[47]=C,t[48]=P,t[49]=E):E=t[49],t[50]!==k||t[51]!==E||t[52]!==w?(L=(0,jt.jsxs)(Qs.default,{testID:”userAddRemoveListsModal”,style:Bn.s.hContentRegion,children:[w,k,E]}),t[50]=k,t[51]=E,t[52]=w,t[53]=L):L=t[53],L}function mi({index:t,list:s,memberships:o,subject:n,handle:a,onAdd:r,onRemove:i}){const l=(0,In.usePalette)(“default”),{_:c}=(0,ut.useLingui)(),{currentAccount:d}=(0,Yt.useSession)(),[u,m]=ct.useState(!1),h=ct.useMemo((()=>Wn(o,s.uri,n)),[o,s.uri,n]),p=qn(),f=Qn(),g=(0,ct.useCallback)((async()=>{if(“undefined”!==typeof h){m(!0);try{!1===h?(await p.mutateAsync({listUri:s.uri,actorDid:n}),Gs.show(c({id:”GluCXm”})),r?.(s.uri)):(await f.mutateAsync({listUri:s.uri,actorDid:n,membershipUri:h}),Gs.show(c({id:”Obm5+c”})),i?.(s.uri))}catch(e){Gs.show((0,Rn.cleanError)(e),”xmark”)}finally{m(!1)}}}),[c,s,n,h,m,r,i,p,f]);return(0,jt.jsxs)(Qs.default,{testID:`toggleBtn-${s.name}`,style:[hi.listItem,l.border,0!==t&&{borderTopWidth:Ws.default.hairlineWidth}],children:[(0,jt.jsx)(Qs.default,{style:hi.listItemAvi,children:(0,jt.jsx)(or.UserAvatar,{size:40,avatar:s.avatar,type:”list”})}),(0,jt.jsxs)(Qs.default,{style:hi.listItemContent,children:[(0,jt.jsx)(di.Text,{type:”lg”,style:[Bn.s.bold,l.text],numberOfLines:1,lineHeight:1.2,children:(0,Ln.sanitizeDisplayName)(s.name)}),(0,jt.jsxs)(di.Text,{type:”md”,style:[l.textLight],numberOfLines:1,children:[“app.bsky.graph.defs#curatelist”===s.purpose&&(s.creator.did===d?.did?(0,jt.jsx)(ut.Trans,{id:”xtOS5m”}):(0,jt.jsx)(ut.Trans,{id:”0yKrM0″,values:{0:(0,Dn.sanitizeHandle)(s.creator.handle,”@”)}})),”app.bsky.graph.defs#modlist”===s.purpose&&(s.creator.did===d?.did?(0,jt.jsx)(ut.Trans,{id:”q1sOfA”}):(0,jt.jsx)(ut.Trans,{id:”h+3Tua”,values:{0:(0,Dn.sanitizeHandle)(s.creator.handle,”@”)}}))]})]}),(0,jt.jsx)(Qs.default,{children:u||”undefined”===typeof h?(0,jt.jsx)(Pn.default,{}):(0,jt.jsx)(ci.Button,{testID:`user-${a}-addBtn`,type:”default”,label:c(!1===h?{id:”m16xKo”}:{id:”t/YqKh”}),onPress:g})})]})}const hi=Ws.default.create({container:{paddingHorizontal:i.IS_WEB?0:16},btns:{position:”relative”,flexDirection:”row”,alignItems:”center”,justifyContent:”center”,gap:10,paddingTop:10,paddingBottom:i.IS_ANDROID?10:0,borderTopWidth:Ws.default.hairlineWidth},footerBtn:{paddingHorizontal:24,paddingVertical:12},listItem:{flexDirection:”row”,alignItems:”center”,paddingHorizontal:14,paddingVertical:10},listItemAvi:{width:54,paddingLeft:4,paddingTop:8,paddingBottom:10},listItemContent:{flex:1,paddingRight:10,paddingTop:10,paddingBottom:10},checkbox:{flexDirection:”row”,alignItems:”center”,justifyContent:”center”,borderWidth:1,width:24,height:24,borderRadius:6,marginRight:8},loadingContainer:{position:”absolute”,top:10,right:0,bottom:0,justifyContent:”center”}});function pi(){const e=(0,a.c)(5),{isModalActive:t,activeModals:s}=(0,xs.useModals)();if(!t)return null;let o,n,r;return e[0]===Symbol.for(“react.memo_cache_sentinel”)?(o=(0,jt.jsx)(Zs.RemoveScrollBar,{}),e[0]=o):o=e[0],e[1]!==s?(n=s.map(fi),e[1]=s,e[2]=n):n=e[2],e[3]!==n?(r=(0,jt.jsxs)(jt.Fragment,{children:[o,n]}),e[3]=n,e[4]=r):r=e[4],r}function fi(e,t){return(0,jt.jsx)(gi,{modal:e},`modal-${t}`)}function gi(e){const t=(0,a.c)(15),{modal:s}=e,{isModalActive:o}=(0,xs.useModals)(),{closeModal:n}=(0,xs.useModalControls)(),r=(0,In.usePalette)(“default”),{isMobile:i}=(0,An.useWebMediaQueries)();if(!o)return null;let l;t[0]!==n?(l=()=>{n()},t[0]=n,t[1]=l):l=t[1];const c=l,d=xi;let u,m;if(“user-add-remove-lists”!==s.name)return null;{let e;t[2]!==s?(e=(0,jt.jsx)(ui,Object.assign({},s)),t[2]=s,t[3]=e):e=t[3],u=e}t[4]===Symbol.for(“react.memo_cache_sentinel”)?(m=Cn.FadeIn.duration(150),t[4]=m):m=t[4];const h=i&&_i.containerMobile;let p,f,g;return t[5]!==r.border||t[6]!==r.view||t[7]!==h?(p=[_i.container,h,r.view,r.border],t[5]=r.border,t[6]=r.view,t[7]=h,t[8]=p):p=t[8],t[9]!==u||t[10]!==p?(f=(0,jt.jsx)(Cn.default.View,{style:_i.mask,entering:m,exiting:Cn.FadeOut,children:(0,jt.jsx)(qs.default,{onPress:d,children:(0,jt.jsx)(Qs.default,{style:p,children:u})})}),t[9]=u,t[10]=p,t[11]=f):f=t[11],t[12]!==c||t[13]!==f?(g=(0,jt.jsx)(qs.default,{onPress:c,children:f}),t[12]=c,t[13]=f,t[14]=g):g=t[14],g}function xi(){}const _i=Ws.default.create({mask:{position:”fixed”,top:0,left:0,width:”100%”,height:”100%”,backgroundColor:”#000c”,alignItems:”center”,justifyContent:”center”},container:{width:600,maxWidth:”100vw”,maxHeight:”90vh”,paddingVertical:20,paddingHorizontal:24,borderRadius:8,borderWidth:1},containerMobile:{borderRadius:0,paddingHorizontal:0}});var yi=o(64486),bi=o(82878);function ji(e){const t=(0,a.c)(35),{title:s,message:o,details:n,onPressTryAgain:r,testID:i,showHeader:l}=e,c=(0,to.useTheme)(),d=(0,In.usePalette)(“default”),{_:u}=(0,ut.useLingui)();let m,h,p,f,g;t[0]!==l?(m=l&&(0,jt.jsxs)(bi.Header.Outer,{children:[(0,jt.jsx)(bi.Header.BackButton,{}),(0,jt.jsx)(bi.Header.Content,{children:(0,jt.jsx)(bi.Header.TitleText,{children:(0,jt.jsx)(ut.Trans,{id:”SlfejT”})})}),(0,jt.jsx)(bi.Header.Slot,{})]}),t[0]=l,t[1]=m):m=t[1],t[2]===Symbol.for(“react.memo_cache_sentinel”)?(h=[to.atoms.px_xl,to.atoms.py_2xl],t[2]=h):h=t[2],t[3]===Symbol.for(“react.memo_cache_sentinel”)?(p=[to.atoms.mb_md,to.atoms.align_center],t[3]=p):p=t[3],t[4]===Symbol.for(“react.memo_cache_sentinel”)?(f={width:50,height:50},t[4]=f):f=t[4],t[5]!==c.palette.contrast_950?(g=[to.atoms.rounded_full,f,to.atoms.align_center,to.atoms.justify_center,{backgroundColor:c.palette.contrast_950}],t[5]=c.palette.contrast_950,t[6]=g):g=t[6];const x=d.textInverted;let _,y,b,j,v,S,w,T,k,C;return t[7]!==x?(_=(0,jt.jsx)(yi.FontAwesomeIcon,{icon:”exclamation”,style:x,size:24}),t[7]=x,t[8]=_):_=t[8],t[9]!==g||t[10]!==_?(y=(0,jt.jsx)(Qs.default,{style:p,children:(0,jt.jsx)(Qs.default,{style:g,children:_})}),t[9]=g,t[10]=_,t[11]=y):y=t[11],t[12]===Symbol.for(“react.memo_cache_sentinel”)?(b=[to.atoms.text_center,to.atoms.font_bold,to.atoms.text_2xl,to.atoms.mb_md],t[12]=b):b=t[12],t[13]!==s?(j=(0,jt.jsx)(_o.Text,{style:b,children:s}),t[13]=s,t[14]=j):j=t[14],t[15]===Symbol.for(“react.memo_cache_sentinel”)?(v=[to.atoms.text_center,to.atoms.text_md,to.atoms.mb_xl],t[15]=v):v=t[15],t[16]!==o?(S=(0,jt.jsx)(_o.Text,{style:v,children:o}),t[16]=o,t[17]=S):S=t[17],t[18]!==n||t[19]!==c.atoms||t[20]!==i?(w=n&&(0,jt.jsx)(Qs.default,{style:[to.atoms.w_full,to.atoms.border,c.atoms.border_contrast_medium,c.atoms.bg_contrast_25,to.atoms.mb_xl,to.atoms.py_sm,to.atoms.px_lg,to.atoms.rounded_xs,to.atoms.overflow_hidden],children:(0,jt.jsx)(_o.Text,{testID:`${i}-details`,style:[to.atoms.text_center,to.atoms.text_md,c.atoms.text_contrast_high],children:n})}),t[18]=n,t[19]=c.atoms,t[20]=i,t[21]=w):w=t[21],t[22]!==u||t[23]!==r?(T=r&&(0,jt.jsx)(Qs.default,{style:[to.atoms.align_center],children:(0,jt.jsxs)(po.Button,{testID:”errorScreenTryAgainButton”,onPress:r,variant:”solid”,color:”secondary_inverted”,size:”small”,label:u({id:”6gRgw8″}),accessibilityHint:u({id:”EBzg6u”}),children:[(0,jt.jsx)(po.ButtonIcon,{icon:en.ArrowRotateCounterClockwise_Stroke2_Corner0_Rounded}),(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”EzJZ6f”})})]})}),t[22]=u,t[23]=r,t[24]=T):T=t[24],t[25]!==j||t[26]!==S||t[27]!==w||t[28]!==T||t[29]!==y?(k=(0,jt.jsxs)(Qs.default,{style:h,children:[y,j,S,w,T]}),t[25]=j,t[26]=S,t[27]=w,t[28]=T,t[29]=y,t[30]=k):k=t[30],t[31]!==m||t[32]!==k||t[33]!==i?(C=(0,jt.jsxs)(bi.Center,{testID:i,children:[m,k]}),t[31]=m,t[32]=k,t[33]=i,t[34]=C):C=t[34],C}const vi=[“style”,”topBorder”],Si=[“contentContainerStyle”,”style”,”contentOffset”,”desktopFixedHeight”],wi=[“contentContainerStyle”],Ti=ct.forwardRef((function(e,t){const s=(0,a.c)(4);let{style:o,topBorder:n}=e,r=(0,la.default)(e,vi);const i=(0,In.usePalette)(“default”),{isMobile:l}=(0,An.useWebMediaQueries)(),{centerColumnOffset:c}=(0,to.useLayoutBreakpoints)(),{isWithinDialog:d}=(0,so.useDialogContext)();let u;return l||(o=(0,Bn.addStyle)(o,Ci.container)),c&&!d&&(o=(0,Bn.addStyle)(o,Ci.containerOffset)),n&&(o=(0,Bn.addStyle)(o,{borderTopWidth:1}),o=(0,Bn.addStyle)(o,i.border)),s[0]!==r||s[1]!==t||s[2]!==o?(u=(0,jt.jsx)(Qs.default,Object.assign({ref:t,style:o},r)),s[0]=r,s[1]=t,s[2]=o,s[3]=u):u=s[3],u})),ki=(ct.forwardRef((function(e,t){const s=(0,a.c)(10);let{contentContainerStyle:o,style:n,contentOffset:r,desktopFixedHeight:i}=e,l=(0,la.default)(e,Si);const{isMobile:c}=(0,An.useWebMediaQueries)(),{centerColumnOffset:d}=(0,to.useLayoutBreakpoints)(),{isWithinDialog:u}=(0,so.useDialogContext)();if(c||(o=(0,Bn.addStyle)(o,Ci.containerScroll)),d&&!u&&(n=(0,Bn.addStyle)(n,Ci.containerOffset)),r&&0!==r?.y&&(n=(0,Bn.addStyle)(n,{paddingTop:0}),o=(0,Bn.addStyle)(o,{paddingTop:Math.abs(r.y)})),i){if(“number”===typeof i)n=(0,Bn.addStyle)(n,{height:`calc(100vh – ${i}px)`});else{let e;s[0]!==n?(e=(0,Bn.addStyle)(n,Ci.fixedHeight),s[0]=n,s[1]=e):e=s[1],n=e}c||(l.dataSet=l.dataSet||{},l.dataSet.stableGutters=”1″)}let m,h;return s[2]!==o?(m=[Ci.contentContainer,o],s[2]=o,s[3]=m):m=s[3],s[4]!==r||s[5]!==l||s[6]!==t||s[7]!==n||s[8]!==m?(h=(0,jt.jsx)(Cn.default.FlatList,Object.assign({ref:t,contentContainerStyle:m,style:n,contentOffset:r},l)),s[4]=r,s[5]=l,s[6]=t,s[7]=n,s[8]=m,s[9]=h):h=s[9],h})),ct.forwardRef((function(e,t){const s=(0,a.c)(13);let o,n;if(s[0]!==e){var r=e;({contentContainerStyle:o}=r),n=(0,la.default)(r,wi),s[0]=e,s[1]=o,s[2]=n}else o=s[1],n=s[2];const{isMobile:i}=(0,An.useWebMediaQueries)(),{centerColumnOffset:l}=(0,to.useLayoutBreakpoints)();if(!i){let e;s[3]!==o?(e=(0,Bn.addStyle)(o,Ci.containerScroll),s[3]=o,s[4]=e):e=s[4],o=e}if(l){let e;s[5]!==o?(e=(0,Bn.addStyle)(o,Ci.containerOffset),s[5]=o,s[6]=e):e=s[6],o=e}let c,d;return s[7]!==o?(c=[Ci.contentContainer,o],s[7]=o,s[8]=c):c=s[8],s[9]!==n||s[10]!==t||s[11]!==c?(d=(0,jt.jsx)(Cn.default.ScrollView,Object.assign({contentContainerStyle:c,ref:t},n)),s[9]=n,s[10]=t,s[11]=c,s[12]=d):d=s[12],d}))),Ci=Ws.default.create({contentContainer:{minHeight:”100vh”},container:{width:”100%”,maxWidth:600,marginLeft:”auto”,marginRight:”auto”},containerOffset:{transform:[{translateX:bi.CENTER_COLUMN_OFFSET}]},containerScroll:{width:”100%”,maxWidth:600,marginLeft:”auto”,marginRight:”auto”},fixedHeight:{height:”100vh”}});class Ii extends ct.Component{state={hasError:!1,error:void 0};static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){Ht.logger.error(e,{errorInfo:t})}render(){return this.state.hasError?this.props.renderError?this.props.renderError(this.state.error):(0,jt.jsx)(Ti,{style:[{height:”100%”,flex:1},this.props.style],children:(0,jt.jsx)(Ai,{details:this.state.error.toString()})}):this.props.children}}function Ai(e){const t=(0,a.c)(8),{details:s}=e,{_:o}=(0,ut.useLingui)();let n,r,i;return t[0]!==o?(n=o({id:”5GGAqz”}),t[0]=o,t[1]=n):n=t[1],t[2]!==o?(r=o({id:”yUqcy2″}),t[2]=o,t[3]=r):r=t[3],t[4]!==s||t[5]!==n||t[6]!==r?(i=(0,jt.jsx)(ji,{title:n,message:r,details:s}),t[4]=s,t[5]=n,t[6]=r,t[7]=i):i=t[7],i}function Pi(){const t=(0,rn.useAnalytics)(),[s,o]=(0,ct.useState)(null),{_:n}=(0,ut.useLingui)(),{resumeSession:a}=(0,Yt.useSessionApi)(),{requestSwitchToAccount:r}=Bs();return{onPressSwitchAccount:(0,ct.useCallback)((async(l,c)=>{if(!s)try{o(l.did),l.accessJwt?(i.IS_WEB&&history.pushState(null,””,”/”),await a(l,!0),t.metric(“account:loggedIn”,{logContext:c,withPassword:!1}),Gs.show(n({id:”Dx1GST”,values:{0:l.handle}}))):(r({requestedAccount:l.did}),Gs.show(n({id:”G3Hyy1″,values:{0:l.handle}}),”circle-exclamation”))}catch(e){Ht.logger.error(“switch account: selectAccount failed”,{message:e.message}),r({requestedAccount:l.did}),Gs.show(n({id:”G3Hyy1″,values:{0:l.handle}}),”circle-exclamation”)}finally{o(null)}}),[n,t,a,r,s]),pendingDid:s}}var Ei=o(16881),Li=o(99866),Ri=o(72383);const Di=[“fill”],Bi=ct.forwardRef((function(e,t){const s=(0,a.c)(28),n=(0,to.useTheme)();let r,i;if(s[0]!==e){var l=e;({fill:r}=l),i=(0,la.default)(l,Di),s[0]=e,s[1]=r,s[2]=i}else r=s[1],i=s[2];const c=”sky”===r;let d;s[3]!==e.style?(d=(0,to.flatten)(e.style),s[3]=e.style,s[4]=d):d=s[4];const u=d,m=c?”url(#sky)”:r||u?.color||n.palette.primary_500,h=parseInt(i.width||32,10);if((0,Ri.useKawaiiMode)()){let e,t,n;return s[5]!==h?(e=o(h>100?99044:51805),s[5]=h,s[6]=e):e=s[6],s[7]!==h?(t=[{height:h,aspectRatio:1.4}],s[7]=h,s[8]=t):t=s[8],s[9]!==e||s[10]!==t?(n=(0,jt.jsx)(xn.Image,{source:e,accessibilityLabel:”Bluesky”,accessibilityHint:””,accessibilityIgnoresInvertColors:!0,style:t}),s[9]=e,s[10]=t,s[11]=n):n=s[11],n}const p=.890625*h;let f,g,x,_,y;return s[12]!==h||s[13]!==p?(f={width:h,height:p},s[12]=h,s[13]=p,s[14]=f):f=s[14],s[15]!==u||s[16]!==f?(g=[f,u],s[15]=u,s[16]=f,s[17]=g):g=s[17],s[18]!==c?(x=c&&(0,jt.jsx)(Li.Defs,{children:(0,jt.jsxs)(Li.LinearGradient,{id:”sky”,x1:”0″,y1:”0″,x2:”0″,y2:”1″,children:[(0,jt.jsx)(Li.Stop,{offset:”0″,stopColor:”#0A7AFF”,stopOpacity:”1″}),(0,jt.jsx)(Li.Stop,{offset:”1″,stopColor:”#59B9FF”,stopOpacity:”1″})]})}),s[18]=c,s[19]=x):x=s[19],s[20]!==m?(_=(0,jt.jsx)(Li.Path,{fill:m,d:”M13.873 3.805C21.21 9.332 29.103 20.537 32 26.55v15.882c0-.338-.13.044-.41.867-1.512 4.456-7.418 21.847-20.923 7.944-7.111-7.32-3.819-14.64 9.125-16.85-7.405 1.264-15.73-.825-18.014-9.015C1.12 23.022 0 8.51 0 6.55 0-3.268 8.579-.182 13.873 3.805ZM50.127 3.805C42.79 9.332 34.897 20.537 32 26.55v15.882c0-.338.13.044.41.867 1.512 4.456 7.418 21.847 20.923 7.944 7.111-7.32 3.819-14.64-9.125-16.85 7.405 1.264 15.73-.825 18.014-9.015C62.88 23.022 64 8.51 64 6.55c0-9.818-8.578-6.732-13.873-2.745Z”}),s[20]=m,s[21]=_):_=s[21],s[22]!==t||s[23]!==i||s[24]!==g||s[25]!==x||s[26]!==_?(y=(0,jt.jsxs)(Li.default,Object.assign({fill:”none”,ref:t,viewBox:”0 0 64 57″},i,{style:g,children:[x,_]})),s[22]=t,s[23]=i,s[24]=g,s[25]=x,s[26]=_,s[27]=y):y=s[27],y}));var Oi=o(16006),Mi=o(4557),Fi=o(57325),Ni=o(35851),Hi=o(76950);function Vi(e){const t=(0,a.c)(38),{onSelectAccount:s,onSelectOther:o,otherLabel:n,pendingDid:r}=e,{currentAccount:i,accounts:l}=(0,Yt.useSession)(),c=(0,to.useTheme)(),{_:d}=(0,ut.useLingui)();let u,m;t[0]!==l?(u=l.map(zi),t[0]=l,t[1]=u):u=t[1],t[2]!==u?(m={handles:u},t[2]=u,t[3]=m):m=t[3];const{data:h}=(0,Qt.useProfilesQuery)(m);let p;t[4]!==o?(p=()=>{o()},t[4]=o,t[5]=p):p=t[5];const f=p,g=r?”none”:”auto”;let x,_,y;if(t[6]!==c.atoms.border_contrast_low?(x=[to.atoms.rounded_lg,to.atoms.overflow_hidden,to.atoms.border,c.atoms.border_contrast_low],t[6]=c.atoms.border_contrast_low,t[7]=x):x=t[7],t[8]!==l||t[9]!==i?.did||t[10]!==s||t[11]!==r||t[12]!==h?.profiles||t[13]!==c.atoms.border_contrast_low){let e;t[15]!==i?.did||t[16]!==s||t[17]!==r||t[18]!==h?.profiles||t[19]!==c.atoms.border_contrast_low?(e=e=>(0,jt.jsxs)(ct.Fragment,{children:[(0,jt.jsx)(Ui,{profile:h?.profiles.find((t=>t.did===e.did)),account:e,onSelect:s,isCurrentAccount:e.did===i?.did,isPendingAccount:e.did===r}),(0,jt.jsx)(Qs.default,{style:[to.atoms.border_b,c.atoms.border_contrast_low]})]},e.did),t[15]=i?.did,t[16]=s,t[17]=r,t[18]=h?.profiles,t[19]=c.atoms.border_contrast_low,t[20]=e):e=t[20],_=l.map(e),t[8]=l,t[9]=i?.did,t[10]=s,t[11]=r,t[12]=h?.profiles,t[13]=c.atoms.border_contrast_low,t[14]=_}else _=t[14];t[21]===Symbol.for(“react.memo_cache_sentinel”)?(y=[to.atoms.flex_1],t[21]=y):y=t[21];const b=r?void 0:f;let j,v,S,w;return t[22]!==d?(j=d({id:”YtMlod”}),t[22]=d,t[23]=j):j=t[23],t[24]!==n||t[25]!==c.atoms.bg_contrast_25||t[26]!==c.atoms.bg_contrast_50||t[27]!==c.atoms.text_contrast_low?(v=e=>{const{hovered:t,pressed:s}=e;return(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_1,to.atoms.flex_row,to.atoms.align_center,to.atoms.p_lg,to.atoms.gap_sm,(t||s)&&c.atoms.bg_contrast_25],children:[(0,jt.jsx)(Qs.default,{style:[c.atoms.bg_contrast_25,to.atoms.rounded_full,{width:48,height:48},to.atoms.justify_center,to.atoms.align_center,(t||s)&&c.atoms.bg_contrast_50],children:(0,jt.jsx)(Mi.PlusLarge_Stroke2_Corner0_Rounded,{style:[c.atoms.text_contrast_low],size:”md”})}),(0,jt.jsx)(_o.Text,{style:[to.atoms.flex_1,to.atoms.leading_tight,to.atoms.text_md,to.atoms.font_medium],children:n??(0,jt.jsx)(ut.Trans,{id:”b22AVl”})}),(0,jt.jsx)(bn.ChevronRight_Stroke2_Corner0_Rounded,{size:”md”,style:[c.atoms.text_contrast_low]})]})},t[24]=n,t[25]=c.atoms.bg_contrast_25,t[26]=c.atoms.bg_contrast_50,t[27]=c.atoms.text_contrast_low,t[28]=v):v=t[28],t[29]!==v||t[30]!==b||t[31]!==j?(S=(0,jt.jsx)(po.Button,{testID:”chooseAddAccountBtn”,style:y,onPress:b,label:j,children:v}),t[29]=v,t[30]=b,t[31]=j,t[32]=S):S=t[32],t[33]!==S||t[34]!==g||t[35]!==x||t[36]!==_?(w=(0,jt.jsxs)(Qs.default,{pointerEvents:g,style:x,children:[_,S]}),t[33]=S,t[34]=g,t[35]=x,t[36]=_,t[37]=w):w=t[37],w}function zi(e){return e.did}function Ui(e){const t=(0,a.c)(34),{profile:s,account:o,onSelect:n,isCurrentAccount:r,isPendingAccount:i}=e,l=(0,to.useTheme)(),{_:c}=(0,ut.useLingui)();let d;t[0]!==s?(d={profile:s},t[0]=s,t[1]=d):d=t[1];const u=(0,Fi.useSimpleVerificationState)(d),{isActive:m}=(0,Hi.useActorStatus)(s);let h;t[2]!==o||t[3]!==n?(h=()=>{n(o)},t[2]=o,t[3]=n,t[4]=h):h=t[4];const p=h;let f;t[5]!==o.refreshJwt?(f=!o.refreshJwt||(0,Oi.isJwtExpired)(o.refreshJwt),t[5]=o.refreshJwt,t[6]=f):f=t[6];const g=f,x=`chooseAccountBtn-${o.handle}`;let _,y,b,j;return t[7]===Symbol.for(“react.memo_cache_sentinel”)?(_=[to.atoms.w_full],t[7]=_):_=t[7],t[8]!==c||t[9]!==o.handle||t[10]!==r?(y=c(r?{id:”wQnVXy”,values:{0:o.handle}}:{id:”N9o7n5″,values:{0:o.handle}}),t[8]=c,t[9]=o.handle,t[10]=r,t[11]=y):y=t[11],t[12]!==o.handle||t[13]!==r||t[14]!==g||t[15]!==i||t[16]!==m||t[17]!==s?.associated?.labeler||t[18]!==s?.avatar||t[19]!==s?.displayName||t[20]!==s?.handle||t[21]!==l.atoms.bg_contrast_25||t[22]!==l.atoms.text_contrast_low||t[23]!==l.atoms.text_contrast_medium||t[24]!==l.palette||t[25]!==u.role||t[26]!==u.showBadge?(b=e=>{const{hovered:t,pressed:n}=e;return(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_1,to.atoms.flex_row,to.atoms.align_center,to.atoms.p_lg,to.atoms.gap_sm,(t||n||i)&&l.atoms.bg_contrast_25],children:[(0,jt.jsx)(or.UserAvatar,{avatar:s?.avatar,size:48,type:s?.associated?.labeler?”labeler”:”user”,live:m,hideLiveBadge:!0}),(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_1,to.atoms.gap_2xs,to.atoms.pr_2xl],children:[(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_xs],children:[(0,jt.jsx)(_o.Text,{emoji:!0,style:[to.atoms.font_medium,to.atoms.leading_tight,to.atoms.text_md],numberOfLines:1,children:(0,Ln.sanitizeDisplayName)(s?.displayName||s?.handle||o.handle)}),u.showBadge&&(0,jt.jsx)(Qs.default,{children:(0,jt.jsx)(Ni.VerificationCheck,{width:12,verifier:”verifier”===u.role})})]}),(0,jt.jsx)(_o.Text,{style:[to.atoms.leading_tight,l.atoms.text_contrast_medium,to.atoms.text_sm],children:(0,Dn.sanitizeHandle)(o.handle,”@”)}),g&&(0,jt.jsx)(_o.Text,{style:[to.atoms.leading_tight,to.atoms.text_xs,to.atoms.italic,l.atoms.text_contrast_medium],children:(0,jt.jsx)(ut.Trans,{id:”mxY4xF”})})]}),r?(0,jt.jsx)(Qs.default,{style:[{width:20,height:20,backgroundColor:l.palette.positive_500},to.atoms.rounded_full,to.atoms.justify_center,to.atoms.align_center],children:(0,jt.jsx)(fo.CheckThick_Stroke2_Corner0_Rounded,{size:”xs”,style:[{color:l.palette.white}]})}):(0,jt.jsx)(bn.ChevronRight_Stroke2_Corner0_Rounded,{size:”md”,style:[l.atoms.text_contrast_low]})]})},t[12]=o.handle,t[13]=r,t[14]=g,t[15]=i,t[16]=m,t[17]=s?.associated?.labeler,t[18]=s?.avatar,t[19]=s?.displayName,t[20]=s?.handle,t[21]=l.atoms.bg_contrast_25,t[22]=l.atoms.text_contrast_low,t[23]=l.atoms.text_contrast_medium,t[24]=l.palette,t[25]=u.role,t[26]=u.showBadge,t[27]=b):b=t[27],t[28]!==o.did||t[29]!==p||t[30]!==x||t[31]!==y||t[32]!==b?(j=(0,jt.jsx)(po.Button,{testID:x,style:_,onPress:p,label:y,children:b},o.did),t[28]=o.did,t[29]=p,t[30]=x,t[31]=y,t[32]=b,t[33]=j):j=t[33],j}var Gi=o(8347);const Wi=400;function qi(){const{_:t}=(0,ut.useLingui)(),s=(0,to.useTheme)(),o=(0,dt.useSafeAreaInsets)(),{currentAccount:n,accounts:a}=(0,Yt.useSession)(),{onPressSwitchAccount:r,pendingDid:l}=Pi(),{setShowLoggedOut:c}=Bs(),d=a.length>1,{logoutCurrentAccount:u,resumeSession:m}=(0,Yt.useSessionApi)(),h=(0,Yt.useAgent)(),[p,f]=ct.useState(!1),[g,x]=ct.useState(),_=(0,Mn.useQueryClient)(),y=ct.useCallback((e=>{e.did!==n?.did&&r(e,”SwitchAccount”)}),[n,r]),b=ct.useCallback((()=>{c(!0)}),[c]),j=ct.useCallback((()=>{i.IS_WEB&&history.pushState(null,””,”/”),u(“Deactivated”)}),[u]),v=ct.useCallback((async()=>{try{f(!0),await h.com.atproto.server.activateAccount(),await _.resetQueries();const e=(0,Ei.agentToSessionAccountOrThrow)(h);await m(Object.assign({},e,{active:!0,status:void 0}))}catch(e){if(“Bad token scope”===e.message)x(t({id:”W8A0aT”}));else x(t({id:”qny5F6″}));Ht.logger.error(e,{message:”Failed to activate account”})}finally{f(!1)}}),[t,h,_,m]);return(0,jt.jsx)(Qs.default,{style:[to.atoms.util_screen_outer,to.atoms.flex_1],children:(0,jt.jsx)(bi.Content,{ignoreTabletLayoutOffset:!0,contentContainerStyle:[to.atoms.px_2xl,{paddingTop:i.IS_WEB?64:o.top+16,paddingBottom:i.IS_WEB?64:o.bottom}],children:(0,jt.jsxs)(Qs.default,{style:[to.atoms.w_full,{marginHorizontal:”auto”,maxWidth:Wi}],children:[(0,jt.jsx)(Qs.default,{style:[to.atoms.w_full,to.atoms.justify_center,to.atoms.align_center,to.atoms.pb_5xl],children:(0,jt.jsx)(Bi,{width:40})}),(0,jt.jsxs)(Qs.default,{style:[to.atoms.gap_xs,to.atoms.pb_3xl],children:[(0,jt.jsx)(_o.Text,{style:[to.atoms.text_xl,to.atoms.font_semi_bold,to.atoms.leading_snug],children:(0,jt.jsx)(ut.Trans,{id:”rxWA39″})}),(0,jt.jsx)(_o.Text,{style:[to.atoms.text_sm,to.atoms.leading_snug],children:(0,jt.jsx)(ut.Trans,{id:”bD3yau”,values:{0:n?.handle}})}),(0,jt.jsx)(_o.Text,{style:[to.atoms.text_sm,to.atoms.leading_snug,to.atoms.pb_md],children:(0,jt.jsx)(ut.Trans,{id:”b+dM+p”})}),(0,jt.jsxs)(Qs.default,{style:[to.atoms.gap_sm],children:[(0,jt.jsxs)(po.Button,{label:t({id:”j4QaZg”}),size:”large”,variant:”solid”,color:”primary”,onPress:v,children:[(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”mYz7f1″})}),p&&(0,jt.jsx)(po.ButtonIcon,{icon:xo.Loader,position:”right”})]}),(0,jt.jsx)(po.Button,{label:t({id:”JdsRTT”}),size:”large”,variant:”solid”,color:”secondary”,onPress:j,children:(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”dEgA5A”})})})]}),g&&(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_row,to.atoms.gap_sm,to.atoms.mt_md,to.atoms.p_md,to.atoms.rounded_sm,s.atoms.bg_contrast_25],children:[(0,jt.jsx)(Gi.CircleInfo_Stroke2_Corner0_Rounded,{size:”md”,fill:s.palette.negative_400}),(0,jt.jsx)(_o.Text,{style:[to.atoms.flex_1,to.atoms.leading_snug],children:g})]})]}),(0,jt.jsx)(Qs.default,{style:[to.atoms.pb_3xl],children:(0,jt.jsx)(Co,{})}),d?(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(_o.Text,{style:[s.atoms.text_contrast_medium,to.atoms.pb_md,to.atoms.leading_snug],children:(0,jt.jsx)(ut.Trans,{id:”86033F”})}),(0,jt.jsx)(Vi,{onSelectAccount:y,onSelectOther:b,otherLabel:t({id:”MPPZ54″}),pendingDid:l})]}):(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(_o.Text,{style:[s.atoms.text_contrast_medium,to.atoms.pb_md,to.atoms.leading_snug],children:(0,jt.jsx)(ut.Trans,{id:”P27N2N”})}),(0,jt.jsx)(po.Button,{label:t({id:”Cp4+Up”}),size:”large”,variant:”solid”,color:”secondary”,onPress:()=>c(!0),children:(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”Cp4+Up”})})})]})]})})})}var Qi=o(98415),Ki=o(30100),Zi=o(53444);const Yi=400;function $i(){const e=(0,a.c)(64),{_:t}=(0,ut.useLingui)(),s=(0,to.useTheme)(),o=(0,dt.useSafeAreaInsets)(),{gtMobile:n}=(0,to.useBreakpoints)(),{currentAccount:r}=(0,Yt.useSession)(),{logoutCurrentAccount:l}=(0,Yt.useSessionApi)(),c=(0,Yt.useAgent)(),[d,u]=(0,ct.useState)(!1),[m,h]=(0,ct.useState)(“”),p=(0,Ki.countGraphemes)(m),f=p>Wt.MAX_REPORT_REASON_GRAPHEME_LENGTH;let g,x,_;e[0]!==c||e[1]!==r?(g=async e=>{if(!r)throw new Error(“No session”);await c.com.atproto.moderation.createReport({reasonType:On.ToolsOzoneReportDefs.REASONAPPEAL,subject:{$type:”com.atproto.admin.defs#repoRef”,did:r.did},reason:e},{encoding:”application/json”,headers:Wt.BLUESKY_MOD_SERVICE_HEADERS})},e[0]=c,e[1]=r,e[2]=g):g=e[2],e[3]===Symbol.for(“react.memo_cache_sentinel”)?(x=()=>h(“”),e[3]=x):x=e[3],e[4]!==g?(_={mutationFn:g,onSuccess:x},e[4]=g,e[5]=_):_=e[5];const{mutate:y,isPending:b,isSuccess:j,error:v}=(0,wo.useMutation)(_);let S;e[6]!==t||e[7]!==d||e[8]!==f||e[9]!==b||e[10]!==j||e[11]!==l||e[12]!==m||e[13]!==y?(S=d&&!j?(0,jt.jsxs)(po.Button,{color:”primary”,size:”large”,label:t({id:”8aPpNp”}),onPress:()=>y(m),disabled:b||f,children:[(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”81ySvy”})}),b&&(0,jt.jsx)(po.ButtonIcon,{icon:xo.Loader})]}):(0,jt.jsx)(po.Button,{size:”large”,color:”secondary_inverted”,label:t({id:”fcWrnU”}),onPress:()=>l(“Takendown”),children:(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”bHYIks”})})}),e[6]=t,e[7]=d,e[8]=f,e[9]=b,e[10]=j,e[11]=l,e[12]=m,e[13]=y,e[14]=S):S=e[14];const w=S;let T;e[15]!==t||e[16]!==d||e[17]!==j?(T=d?!j&&(0,jt.jsx)(po.Button,{variant:”ghost”,size:”large”,color:”secondary”,label:t({id:”dEgA5A”}),onPress:()=>u(!1),children:(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”dEgA5A”})})}):(0,jt.jsx)(po.Button,{variant:”ghost”,size:”large”,color:”secondary”,label:t({id:”kgJch3″}),onPress:()=>u(!0),children:(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”azrrOw”})})}),e[15]=t,e[16]=d,e[17]=j,e[18]=T):T=e[18];const k=T,C=i.IS_WEB&&n;let I,A,P,E,L,R,D,B,O,M,F,N,H,V,z;return e[19]===Symbol.for(“react.memo_cache_sentinel”)?(I=[to.atoms.util_screen_outer,to.atoms.flex_1],e[19]=I):I=e[19],e[20]!==s.atoms.bg?(A=[to.atoms.flex_1,s.atoms.bg],e[20]=s.atoms.bg,e[21]=A):A=e[21],e[22]!==n?(P=n?to.atoms.pt_4xl:[to.atoms.px_xl,to.atoms.pt_4xl],e[22]=n,e[23]=P):P=e[23],e[24]!==P?(E=[to.atoms.flex_row,to.atoms.justify_center,P],e[24]=P,e[25]=E):E=e[25],e[26]===Symbol.for(“react.memo_cache_sentinel”)?(L=[to.atoms.flex_1,{maxWidth:Yi,minHeight:Yi}],e[26]=L):L=e[26],e[27]===Symbol.for(“react.memo_cache_sentinel”)?(R=(0,jt.jsx)(Qs.default,{style:[to.atoms.pb_xl],children:(0,jt.jsx)(Bi,{width:64})}),e[27]=R):R=e[27],e[28]===Symbol.for(“react.memo_cache_sentinel”)?(D=[to.atoms.text_4xl,to.atoms.font_bold,to.atoms.pb_md],e[28]=D):D=e[28],e[29]!==d?(B=(0,jt.jsx)(_o.Text,{style:D,children:d?(0,jt.jsx)(ut.Trans,{id:”kgJch3″}):(0,jt.jsx)(ut.Trans,{id:”gQrPvu”})}),e[29]=d,e[30]=B):B=e[30],e[31]!==t||e[32]!==v||e[33]!==d||e[34]!==j||e[35]!==m||e[36]!==p||e[37]!==s.atoms.text_contrast_medium||e[38]!==s.palette?(O=d?(0,jt.jsxs)(Qs.default,{style:[to.atoms.relative,to.atoms.w_full,to.atoms.mt_xl],children:[j?(0,jt.jsx)(_o.P,{style:[s.atoms.text_contrast_medium,to.atoms.text_center],children:(0,jt.jsx)(ut.Trans,{id:”HrIM5U”})}):(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(bo.LabelText,{children:(0,jt.jsx)(ut.Trans,{id:”8iwzii”})}),(0,jt.jsx)(bo.Root,{isInvalid:p>Wt.MAX_REPORT_REASON_GRAPHEME_LENGTH||!!v,children:(0,jt.jsx)(bo.Input,{label:t({id:”8iwzii”}),defaultValue:m,onChangeText:h,placeholder:t({id:”fy/Fzy”}),multiline:!0,numberOfLines:5,autoFocus:!0,style:{paddingBottom:40,minHeight:150},maxLength:10*Wt.MAX_REPORT_REASON_GRAPHEME_LENGTH})}),(0,jt.jsx)(Qs.default,{style:[to.atoms.absolute,to.atoms.flex_row,to.atoms.align_center,to.atoms.pr_md,to.atoms.pb_sm,{bottom:0,right:0}],children:(0,jt.jsx)(Zi.CharProgress,{count:p,max:Wt.MAX_REPORT_REASON_GRAPHEME_LENGTH})})]}),v&&(0,jt.jsx)(_o.Text,{style:[to.atoms.text_md,to.atoms.leading_snug,{color:s.palette.negative_500},to.atoms.mt_lg],children:(0,Rn.cleanError)(v)})]}):(0,jt.jsx)(_o.P,{style:[s.atoms.text_contrast_medium,to.atoms.leading_snug],children:(0,jt.jsx)(ut.Trans,{id:”f6UtWw”,components:{0:(0,jt.jsx)(go.SimpleInlineLinkText,{label:t({id:”TXVWpp”}),to:”https://bsky.social/about/support/tos”,style:[to.atoms.text_md,to.atoms.leading_snug]})}})}),e[31]=t,e[32]=v,e[33]=d,e[34]=j,e[35]=m,e[36]=p,e[37]=s.atoms.text_contrast_medium,e[38]=s.palette,e[39]=O):O=e[39],e[40]!==w||e[41]!==k||e[42]!==C?(M=C&&(0,jt.jsxs)(Qs.default,{style:[to.atoms.w_full,to.atoms.flex_row,to.atoms.justify_between,to.atoms.pt_5xl,{paddingBottom:200}],children:[k,w]}),e[40]=w,e[41]=k,e[42]=C,e[43]=M):M=e[43],e[44]!==B||e[45]!==O||e[46]!==M?(F=(0,jt.jsxs)(Qs.default,{style:L,children:[R,B,O,M]}),e[44]=B,e[45]=O,e[46]=M,e[47]=F):F=e[47],e[48]!==F||e[49]!==E?(N=(0,jt.jsx)(Qs.default,{style:E,children:F}),e[48]=F,e[49]=E,e[50]=N):N=e[50],e[51]!==N||e[52]!==A?(H=(0,jt.jsx)(Qi.KeyboardAwareScrollView,{style:A,centerContent:!0,children:N}),e[51]=N,e[52]=A,e[53]=H):H=e[53],e[54]!==n||e[55]!==o||e[56]!==w||e[57]!==k||e[58]!==s.atoms.bg||e[59]!==C?(V=!C&&(0,jt.jsx)(Qs.default,{style:[to.atoms.align_center,s.atoms.bg,n?to.atoms.px_5xl:to.atoms.px_xl,{paddingBottom:Math.max(o.bottom,to.atoms.pb_5xl.paddingBottom)}],children:(0,jt.jsxs)(Qs.default,{style:[to.atoms.w_full,to.atoms.gap_sm,{maxWidth:Yi}],children:[w,k]})}),e[54]=n,e[55]=o,e[56]=w,e[57]=k,e[58]=s.atoms.bg,e[59]=C,e[60]=V):V=e[60],e[61]!==H||e[62]!==V?(z=(0,jt.jsxs)(Qs.default,{style:I,children:[H,V]}),e[61]=H,e[62]=V,e[63]=z):z=e[63],z}var Xi=o(62820),Ji=o(53923),el=o(8103);function tl(){return(0,oo.useGlobalDialogsControlContext)().ageAssuranceRedirectDialogControl}function sl(){const e=(0,a.c)(15),{_:t}=(0,ut.useLingui)(),s=tl(),o=s.control;let n,r,i,l,c,d,u;return e[0]!==s?(n=()=>s.clear(),e[0]=s,e[1]=n):n=e[1],e[2]===Symbol.for(“react.memo_cache_sentinel”)?(r=(0,jt.jsx)(so.Handle,{}),e[2]=r):r=e[2],e[3]!==t?(i=t({id:”pEeM+l”}),e[3]=t,e[4]=i):i=e[4],e[5]===Symbol.for(“react.memo_cache_sentinel”)?(l=[(0,to.web)({maxWidth:400})],e[5]=l):l=e[5],e[6]!==s.value?(c=(0,jt.jsx)(ol,{optimisticState:s.value}),e[6]=s.value,e[7]=c):c=e[7],e[8]!==i||e[9]!==c?(d=(0,jt.jsx)(so.ScrollableInner,{label:i,style:l,children:c}),e[8]=i,e[9]=c,e[10]=d):d=e[10],e[11]!==s.control||e[12]!==n||e[13]!==d?(u=(0,jt.jsxs)(so.Outer,{control:o,onClose:n,children:[r,d]}),e[11]=s.control,e[12]=n,e[13]=d,e[14]=u):u=e[14],u}function ol(e){const t=(0,a.c)(55),s=(0,to.useTheme)(),o=(0,rn.useAnalytics)(),{_:n}=(0,ut.useLingui)(),r=(0,Yt.useAgent)(),l=(0,ct.useRef)(!1),c=(0,ct.useRef)(!1),d=tl(),[u,m]=(0,ct.useState)(!1),[h,p]=(0,ct.useState)(!1);let f,g,x,_,y,b,j,v,S,w,T,k,C,I,A,P;if(t[0]!==r||t[1]!==o?(f=()=>{if(!l.current)return l.current=!0,o.metric(“ageAssurance:redirectDialogOpen”,{}),(0,lo.wait)(3e3,(0,Xi.retry)(5,nl,(async()=>{if(!r.session)return;if(c.current)return;const e=await(0,el.refetchAgeAssuranceServerState)({agent:r});if(“assured”!==e?.state.status)throw new Error(“Polling for age assurance state did not receive assured status”);return e}),1e3)).then((async e=>{e&&r.session&&(c.current||(p(!0),o.metric(“ageAssurance:redirectDialogSuccess”,{})))})).catch((()=>{c.current||(m(!0),o.metric(“ageAssurance:redirectDialogFail”,{}))})),()=>{c.current=!0}},t[0]=r,t[1]=o,t[2]=f):f=t[2],t[3]!==r||t[4]!==o||t[5]!==d?(g=[o,r,d],t[3]=r,t[4]=o,t[5]=d,t[6]=g):g=t[6],(0,ct.useEffect)(f,g),h){let e,o,a,r,l,c,u,m,h,p,f;return t[7]===Symbol.for(“react.memo_cache_sentinel”)?(e=[to.atoms.align_start,to.atoms.w_full],o=(0,jt.jsx)(Ji.AgeAssuranceBadge,{}),t[7]=e,t[8]=o):(e=t[7],o=t[8]),t[9]===Symbol.for(“react.memo_cache_sentinel”)?(a=[to.atoms.flex_row,to.atoms.justify_between,to.atoms.align_center,to.atoms.gap_sm,to.atoms.pt_lg,to.atoms.pb_md],t[9]=a):a=t[9],t[10]!==s.palette.positive_500?(r=(0,jt.jsx)(fo.CheckThick_Stroke2_Corner0_Rounded,{size:”sm”,fill:s.palette.positive_500}),t[10]=s.palette.positive_500,t[11]=r):r=t[11],t[12]===Symbol.for(“react.memo_cache_sentinel”)?(l=(0,jt.jsx)(_o.Text,{style:[to.atoms.text_xl,to.atoms.font_bold],children:(0,jt.jsx)(ut.Trans,{id:”zzDlyQ”})}),t[12]=l):l=t[12],t[13]!==r?(c=(0,jt.jsxs)(Qs.default,{style:a,children:[r,l]}),t[13]=r,t[14]=c):c=t[14],t[15]===Symbol.for(“react.memo_cache_sentinel”)?(u=(0,jt.jsx)(_o.Text,{style:[to.atoms.text_md,to.atoms.leading_snug],children:(0,jt.jsx)(ut.Trans,{id:”QkMQM1″})}),t[15]=u):u=t[15],t[16]!==n||t[17]!==d?(m=i.IS_NATIVE&&(0,jt.jsx)(Qs.default,{style:[to.atoms.w_full,to.atoms.pt_lg],children:(0,jt.jsx)(po.Button,{label:n({id:”yz7wBu”}),size:”large”,variant:”solid”,color:”secondary”,onPress:()=>d.control.close(),children:(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”yz7wBu”})})})}),t[16]=n,t[17]=d,t[18]=m):m=t[18],t[19]!==m||t[20]!==c?(h=(0,jt.jsxs)(Qs.default,{style:e,children:[o,c,u,m]}),t[19]=m,t[20]=c,t[21]=h):h=t[21],t[22]===Symbol.for(“react.memo_cache_sentinel”)?(p=(0,jt.jsx)(so.Close,{}),t[22]=p):p=t[22],t[23]!==h?(f=(0,jt.jsxs)(jt.Fragment,{children:[h,p]}),t[23]=h,t[24]=f):f=t[24],f}return t[25]===Symbol.for(“react.memo_cache_sentinel”)?(x=[to.atoms.align_start,to.atoms.w_full],_=(0,jt.jsx)(Ji.AgeAssuranceBadge,{}),t[25]=x,t[26]=_):(x=t[25],_=t[26]),t[27]===Symbol.for(“react.memo_cache_sentinel”)?(y=[to.atoms.flex_row,to.atoms.justify_between,to.atoms.align_center,to.atoms.gap_sm,to.atoms.pt_lg,to.atoms.pb_md],t[27]=y):y=t[27],t[28]!==u||t[29]!==s?(b=u&&(0,jt.jsx)(Gi.CircleInfo_Stroke2_Corner0_Rounded,{size:”md”,fill:s.palette.negative_500}),t[28]=u,t[29]=s,t[30]=b):b=t[30],t[31]===Symbol.for(“react.memo_cache_sentinel”)?(j=[to.atoms.text_xl,to.atoms.font_bold],t[31]=j):j=t[31],t[32]!==u?(v=(0,jt.jsx)(_o.Text,{style:j,children:u?(0,jt.jsx)(ut.Trans,{id:”2C5GZB”}):(0,jt.jsx)(ut.Trans,{id:”bl9677″})}),S=!u&&(0,jt.jsx)(xo.Loader,{size:”md”}),t[32]=u,t[33]=v,t[34]=S):(v=t[33],S=t[34]),t[35]!==b||t[36]!==v||t[37]!==S?(w=(0,jt.jsxs)(Qs.default,{style:y,children:[b,v,S]}),t[35]=b,t[36]=v,t[37]=S,t[38]=w):w=t[38],t[39]===Symbol.for(“react.memo_cache_sentinel”)?(T=[to.atoms.text_md,to.atoms.leading_snug],t[39]=T):T=t[39],t[40]!==u?(k=(0,jt.jsx)(_o.Text,{style:T,children:u?(0,jt.jsx)(ut.Trans,{id:”n/TXPj”}):(0,jt.jsx)(ut.Trans,{id:”HR/hll”})}),t[40]=u,t[41]=k):k=t[41],t[42]!==n||t[43]!==d||t[44]!==u?(C=u&&i.IS_NATIVE&&(0,jt.jsx)(Qs.default,{style:[to.atoms.w_full,to.atoms.pt_lg],children:(0,jt.jsx)(po.Button,{label:n({id:”yz7wBu”}),size:”large”,variant:”solid”,color:”secondary”,onPress:()=>d.control.close(),children:(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”yz7wBu”})})})}),t[42]=n,t[43]=d,t[44]=u,t[45]=C):C=t[45],t[46]!==w||t[47]!==k||t[48]!==C?(I=(0,jt.jsxs)(Qs.default,{style:x,children:[_,w,k,C]}),t[46]=w,t[47]=k,t[48]=C,t[49]=I):I=t[49],t[50]!==u?(A=u&&(0,jt.jsx)(so.Close,{}),t[50]=u,t[51]=A):A=t[51],t[52]!==I||t[53]!==A?(P=(0,jt.jsxs)(jt.Fragment,{children:[I,A]}),t[52]=I,t[53]=A,t[54]=P):P=t[54],P}function nl(){return!0}var al=o(98539),rl=o(64855);function il(){const e=(0,a.c)(9),{linkWarningDialogControl:t}=(0,oo.useGlobalDialogsControlContext)();let s,o,n,r,i;return e[0]===Symbol.for(“react.memo_cache_sentinel”)?(s={preventExpansion:!0},o={alignCenter:!0},e[0]=s,e[1]=o):(s=e[0],o=e[1]),e[2]===Symbol.for(“react.memo_cache_sentinel”)?(n=(0,jt.jsx)(so.Handle,{}),e[2]=n):n=e[2],e[3]!==t.value?(r=(0,jt.jsx)(cl,{link:t.value}),e[3]=t.value,e[4]=r):r=e[4],e[5]!==t.clear||e[6]!==t.control||e[7]!==r?(i=(0,jt.jsxs)(so.Outer,{control:t.control,nativeOptions:s,webOptions:o,onClose:t.clear,children:[n,r]}),e[5]=t.clear,e[6]=t.control,e[7]=r,e[8]=i):i=e[8],i}function ll(e){const t=(0,a.c)(7),{control:s,link:o}=e;let n,r,i,l;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(n={preventExpansion:!0},r=(0,jt.jsx)(so.Handle,{}),t[0]=n,t[1]=r):(n=t[0],r=t[1]),t[2]!==o?(i=(0,jt.jsx)(cl,{link:o}),t[2]=o,t[3]=i):i=t[3],t[4]!==s||t[5]!==i?(l=(0,jt.jsxs)(so.Outer,{control:s,nativeOptions:n,children:[r,i]}),t[4]=s,t[5]=i,t[6]=l):l=t[6],l}function cl(e){const t=(0,a.c)(67),{link:s}=e,o=so.useDialogContext(),{_:n}=(0,ut.useLingui)(),r=(0,to.useTheme)(),i=(0,al.useOpenLink)(),{gtMobile:l}=(0,to.useBreakpoints)();let c;t[0]!==s?(c=s&&(0,qt.isPossiblyAUrl)(s.displayText),t[0]=s,t[1]=c):c=t[1];const d=c;let u;t[2]!==o||t[3]!==s||t[4]!==i?(u=()=>{o.close((()=>{s&&(s.share?(0,rl.shareUrl)(s.href):i(s.href,void 0,!0))}))},t[2]=o,t[3]=s,t[4]=i,t[5]=u):u=t[5];const m=u;let h;t[6]!==o?(h=()=>{o.close()},t[6]=o,t[7]=h):h=t[7];const p=h;let f,g,x,_,y,b,j,v,S,w,T,k,C,I,A;t[8]===Symbol.for(“react.memo_cache_sentinel”)?(f=(0,to.web)({maxWidth:450}),t[8]=f):f=t[8],t[9]!==n||t[10]!==d?(g=n(d?{id:”PLdSnX”}:{id:”QfDITI”}),t[9]=n,t[10]=d,t[11]=g):g=t[11],t[12]===Symbol.for(“react.memo_cache_sentinel”)?(x=[to.atoms.gap_2xl],t[12]=x):x=t[12],t[13]===Symbol.for(“react.memo_cache_sentinel”)?(_=[to.atoms.gap_sm],t[13]=_):_=t[13],t[14]===Symbol.for(“react.memo_cache_sentinel”)?(y=[to.atoms.font_bold,to.atoms.text_2xl],t[14]=y):y=t[14],t[15]!==d?(b=(0,jt.jsx)(_o.Text,{style:y,children:d?(0,jt.jsx)(ut.Trans,{id:”GUJAH2″}):(0,jt.jsx)(ut.Trans,{id:”QfDITI”})}),t[15]=d,t[16]=b):b=t[16],t[17]!==r.atoms.text_contrast_high?(j=[r.atoms.text_contrast_high,to.atoms.text_md,to.atoms.leading_snug],t[17]=r.atoms.text_contrast_high,t[18]=j):j=t[18],t[19]===Symbol.for(“react.memo_cache_sentinel”)?(v=(0,jt.jsx)(ut.Trans,{id:”CvX8qs”}),t[19]=v):v=t[19],t[20]!==j?(S=(0,jt.jsx)(_o.Text,{style:j,children:v}),t[20]=j,t[21]=S):S=t[21],t[22]!==s?(w=s&&(0,jt.jsx)(dl,{href:s.href}),t[22]=s,t[23]=w):w=t[23],t[24]!==d||t[25]!==r.atoms.text_contrast_high?(T=d&&(0,jt.jsx)(_o.Text,{style:[r.atoms.text_contrast_high,to.atoms.text_md,to.atoms.leading_snug],children:(0,jt.jsx)(ut.Trans,{id:”2U/gDT”})}),t[24]=d,t[25]=r.atoms.text_contrast_high,t[26]=T):T=t[26],t[27]!==S||t[28]!==w||t[29]!==T||t[30]!==b?(k=(0,jt.jsxs)(Qs.default,{style:_,children:[b,S,w,T]}),t[27]=S,t[28]=w,t[29]=T,t[30]=b,t[31]=k):k=t[31],t[32]!==l?(C=l&&[to.atoms.flex_row_reverse,to.atoms.justify_start],t[32]=l,t[33]=C):C=t[33],t[34]!==C?(I=[to.atoms.flex_1,to.atoms.gap_sm,C],t[34]=C,t[35]=I):I=t[35],t[36]!==n||t[37]!==s?.share?(A=n(s?.share?{id:”uIZ2tg”}:{id:”HWcRyK”}),t[36]=n,t[37]=s?.share,t[38]=A):A=t[38];const P=s?.href??””;let E;t[39]!==n||t[40]!==P?(E=n({id:”HTjfo/”,values:{0:P}}),t[39]=n,t[40]=P,t[41]=E):E=t[41];const L=d?”secondary_inverted”:”primary”;let R,D,B,O,M,F,N,H,V;return t[42]!==s?.share?(R=(0,jt.jsx)(po.ButtonText,{children:s?.share?(0,jt.jsx)(ut.Trans,{id:”uIZ2tg”}):(0,jt.jsx)(ut.Trans,{id:”HWcRyK”})}),t[42]=s?.share,t[43]=R):R=t[43],t[44]!==m||t[45]!==A||t[46]!==E||t[47]!==L||t[48]!==R?(D=(0,jt.jsx)(po.Button,{label:A,accessibilityHint:E,onPress:m,size:”large”,variant:”solid”,color:L,children:R}),t[44]=m,t[45]=A,t[46]=E,t[47]=L,t[48]=R,t[49]=D):D=t[49],t[50]!==n?(B=n({id:”CKyk7Q”}),t[50]=n,t[51]=B):B=t[51],t[52]===Symbol.for(“react.memo_cache_sentinel”)?(O=(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”CKyk7Q”})}),t[52]=O):O=t[52],t[53]!==p||t[54]!==B?(M=(0,jt.jsx)(po.Button,{label:B,onPress:p,size:”large”,variant:”ghost”,color:”secondary”,children:O}),t[53]=p,t[54]=B,t[55]=M):M=t[55],t[56]!==I||t[57]!==D||t[58]!==M?(F=(0,jt.jsxs)(Qs.default,{style:I,children:[D,M]}),t[56]=I,t[57]=D,t[58]=M,t[59]=F):F=t[59],t[60]!==k||t[61]!==F?(N=(0,jt.jsxs)(Qs.default,{style:x,children:[k,F]}),t[60]=k,t[61]=F,t[62]=N):N=t[62],t[63]===Symbol.for(“react.memo_cache_sentinel”)?(H=(0,jt.jsx)(so.Close,{}),t[63]=H):H=t[63],t[64]!==N||t[65]!==g?(V=(0,jt.jsxs)(so.ScrollableInner,{style:f,label:g,children:[N,H]}),t[64]=N,t[65]=g,t[66]=V):V=t[66],V}function dl({href:e}){const t=(0,to.useTheme)(),[s,o,n]=(0,ct.useMemo)((()=>{try{const t=new URL(e),[s,o]=(0,qt.splitApexDomain)(t.hostname);return[t.protocol+”//”+s,o,t.pathname.replace(/\/$/,””)+t.search+t.hash]}catch{return[“”,e,””]}}),[e]);return(0,jt.jsx)(Qs.default,{style:[t.atoms.bg,t.atoms.border_contrast_medium,to.atoms.px_md,{paddingVertical:10},to.atoms.rounded_sm,to.atoms.border],children:(0,jt.jsxs)(_o.Text,{style:[to.atoms.text_md,to.atoms.leading_snug,t.atoms.text_contrast_medium],children:[s,(0,jt.jsx)(_o.Text,{style:[to.atoms.text_md,to.atoms.leading_snug,t.atoms.text,to.atoms.font_semi_bold],children:o}),n]})})}var ul=o(92434),ml=o(21978);function hl(){const e=(0,a.c)(2),t=function(){const e=(0,ct.useContext)(Ft);if(!e)throw new Error(“useDateLocale must be used within an I18nProvider”);return e}();let s;return e[0]!==t?(s=(e,s,o)=>(0,ml.default)(e,s,Object.assign({},o,{locale:t})),e[0]=t,e[1]=s):s=e[1],s}const pl=(0,na.createSinglePathSVG)({viewBox:”0 0 46 46″,strokeLinecap:”round”,strokeLinejoin:”round”,strokeWidth:2,path:”M14.333 1 9 45M37 1l-5.333 44M1 11.667h44m0 22.666H1″}),fl=(0,na.createSinglePathSVG)({path:”M9.124 3.008a1 1 0 0 1 .868 1.116L9.632 7h5.985l.39-3.124a1 1 0 0 1 1.985.248L17.632 7H20a1 1 0 1 1 0 2h-2.617l-.75 6H20a1 1 0 1 1 0 2h-3.617l-.39 3.124a1 1 0 1 1-1.985-.248l.36-2.876H8.382l-.39 3.124a1 1 0 1 1-1.985-.248L6.368 17H4a1 1 0 1 1 0-2h2.617l.75-6H4a1 1 0 1 1 0-2h3.617l.39-3.124a1 1 0 0 1 1.117-.868ZM9.383 9l-.75 6h5.984l.75-6H9.383Z”}),gl=(0,na.createSinglePathSVG)({path:”M9.186 2.512a1.5 1.5 0 0 0-1.674 1.302L7.176 6.5H4a1.5 1.5 0 1 0 0 3h2.8l-.624 5H4a1.5 1.5 0 0 0 0 3h1.8l-.288 2.314a1.5 1.5 0 1 0 2.976.372l.336-2.686h4.977l-.29 2.314a1.5 1.5 0 1 0 2.977.372l.336-2.686H20a1.5 1.5 0 0 0 0-3h-2.8l.624-5H20a1.5 1.5 0 0 0 0-3h-1.8l.288-2.314a1.5 1.5 0 1 0-2.976-.372L15.176 6.5h-4.977l.29-2.314a1.5 1.5 0 0 0-1.303-1.674ZM9.2 14.5l.625-5h4.977l-.625 5H9.199Z”}),xl=(0,na.createSinglePathSVG)({path:”M5 2a1 1 0 0 0-1 1v18a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H5Zm1 18V4h12v16H6Zm3-6a1 1 0 1 0 0 2h2a1 1 0 1 0 0-2H9Zm-1-3a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1Zm1-5a1 1 0 0 0 0 2h6a1 1 0 1 0 0-2H9Z”});var _l=o(4544);const yl=864e5;function bl(){const e=(0,a.c)(4),{mutedWordsDialogControl:t}=(0,oo.useGlobalDialogsControlContext)();let s,o,n;return e[0]===Symbol.for(“react.memo_cache_sentinel”)?(s=(0,jt.jsx)(so.Handle,{}),o=(0,jt.jsx)(jl,{}),e[0]=s,e[1]=o):(s=e[0],o=e[1]),e[2]!==t?(n=(0,jt.jsxs)(so.Outer,{control:t,children:[s,o]}),e[2]=t,e[3]=n):n=e[3],n}function jl(){const e=(0,a.c)(193),t=(0,to.useTheme)(),{_:s}=(0,ut.useLingui)(),{gtMobile:o}=(0,to.useBreakpoints)(),{isLoading:n,data:r,error:l}=(0,Ia.usePreferencesQuery)(),{isPending:c,mutateAsync:d}=(0,Ia.useUpsertMutedWordsMutation)(),[u,m]=ct.useState(“”);let h;e[0]===Symbol.for(“react.memo_cache_sentinel”)?(h=[“content”],e[0]=h):h=e[0];const[p,f]=ct.useState(h),[g,x]=ct.useState(“”);let _;e[1]===Symbol.for(“react.memo_cache_sentinel”)?(_=[“forever”],e[1]=_):_=e[1];const[y,b]=ct.useState(_),[j,v]=ct.useState(!1);let S;e[2]!==s||e[3]!==d||e[4]!==y||e[5]!==j||e[6]!==u||e[7]!==p?(S=async()=>{const e=(0,On.sanitizeMutedWordValue)(u),t=[“tag”,p.includes(“content”)&&”content”].filter(Boolean),o=j?”exclude-following”:”all”,n=Date.now(),a=y.at(0);let r;if(“24_hours”===a?r=new Date(n+yl).toISOString():”7_days”===a?r=new Date(n+7*yl).toISOString():”30_days”===a&&(r=new Date(n+30*yl).toISOString()),!e||!t.length)return m(“”),void x(s({id:”8EDfvE”}));try{await d([{value:u,targets:t,actorTarget:o,expiresAt:r}]),m(“”)}catch(T){const t=T;Ht.logger.error(“Failed to save muted word”,{message:t.message}),x(t.message)}},e[2]=s,e[3]=d,e[4]=y,e[5]=j,e[6]=u,e[7]=p,e[8]=S):S=e[8];const w=S;let T,k,C,I,A,P,E,L,R,D,B,O,M,F,N,H,V,z,U,G,W,q,Q,K,Z,Y,$,X,J,ee,te,se,oe,ne,ae,re,ie,le,ce,de,ue,me,he,pe,fe,ge,xe,_e,ye,be,je,ve,Se,we,Te,ke,Ce,Ie,Ae,Pe,Ee,Le,Re,De,Be,Oe,Me,Fe,Ne,He,Ve,ze,Ue,Ge,We,qe,Qe,Ke,Ze;e[9]!==s?(T=s({id:”gc311N”}),e[9]=s,e[10]=T):T=e[10],e[11]!==t.atoms.text_contrast_high?(k=[to.atoms.text_md,to.atoms.font_semi_bold,to.atoms.pb_sm,t.atoms.text_contrast_high],e[11]=t.atoms.text_contrast_high,e[12]=k):k=e[12],e[13]===Symbol.for(“react.memo_cache_sentinel”)?(C=(0,jt.jsx)(ut.Trans,{id:”MeeIAJ”}),e[13]=C):C=e[13],e[14]!==k?(I=(0,jt.jsx)(_o.Text,{style:k,children:C}),e[14]=k,e[15]=I):I=e[15],e[16]!==t.atoms.text_contrast_medium?(A=[to.atoms.pb_lg,to.atoms.leading_snug,t.atoms.text_contrast_medium],e[16]=t.atoms.text_contrast_medium,e[17]=A):A=e[17],e[18]===Symbol.for(“react.memo_cache_sentinel”)?(P=(0,jt.jsx)(ut.Trans,{id:”gaVbYv”}),e[18]=P):P=e[18],e[19]!==A?(E=(0,jt.jsx)(_o.Text,{style:A,children:P}),e[19]=A,e[20]=E):E=e[20],e[21]===Symbol.for(“react.memo_cache_sentinel”)?(L=[to.atoms.pb_sm],e[21]=L):L=e[21],e[22]!==s?(R=s({id:”56nDAm”}),e[22]=s,e[23]=R):R=e[23],e[24]!==s?(D=s({id:”56nDAm”}),e[24]=s,e[25]=D):D=e[25],e[26]!==g?(B=e=>{g&&x(“”),m(e)},e[26]=g,e[27]=B):B=e[27],e[28]!==u||e[29]!==w||e[30]!==R||e[31]!==D||e[32]!==B?(O=(0,jt.jsx)(Qs.default,{style:L,children:(0,jt.jsx)(so.Input,{autoCorrect:!1,autoCapitalize:”none”,autoComplete:”off”,label:R,placeholder:D,value:u,onChangeText:B,onSubmitEditing:w})}),e[28]=u,e[29]=w,e[30]=R,e[31]=D,e[32]=B,e[33]=O):O=e[33],e[34]===Symbol.for(“react.memo_cache_sentinel”)?(M=[to.atoms.pb_xl,to.atoms.gap_sm],e[34]=M):M=e[34],e[35]!==s?(F=s({id:”YPcZGF”}),e[35]=s,e[36]=F):F=e[36],e[37]!==t.atoms.text_contrast_medium?(N=[to.atoms.pb_xs,to.atoms.text_sm,to.atoms.font_semi_bold,t.atoms.text_contrast_medium],e[37]=t.atoms.text_contrast_medium,e[38]=N):N=e[38],e[39]===Symbol.for(“react.memo_cache_sentinel”)?(H=(0,jt.jsx)(ut.Trans,{id:”N23Lnm”}),e[39]=H):H=e[39],e[40]!==N?(V=(0,jt.jsx)(_o.Text,{style:N,children:H}),e[40]=N,e[41]=V):V=e[41],e[42]!==o?(z=o&&[to.atoms.flex_row,to.atoms.align_center,to.atoms.justify_start],e[42]=o,e[43]=z):z=e[43],e[44]!==z?(U=[z,to.atoms.gap_sm],e[44]=z,e[45]=U):U=e[45],e[46]===Symbol.for(“react.memo_cache_sentinel”)?(G=[to.atoms.flex_1,to.atoms.flex_row,to.atoms.justify_start,to.atoms.align_center,to.atoms.gap_sm],e[46]=G):G=e[46],e[47]!==s?(W=s({id:”IvQ7c1″}),e[47]=s,e[48]=W):W=e[48],e[49]===Symbol.for(“react.memo_cache_sentinel”)?(q=[to.atoms.flex_1],e[49]=q):q=e[49],e[50]===Symbol.for(“react.memo_cache_sentinel”)?(Q=[to.atoms.flex_1,to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_sm],K=(0,jt.jsx)(ul.Radio,{}),e[50]=Q,e[51]=K):(Q=e[50],K=e[51]),e[52]===Symbol.for(“react.memo_cache_sentinel”)?(Z=(0,jt.jsx)(wl,{children:(0,jt.jsxs)(Qs.default,{style:Q,children:[K,(0,jt.jsx)(ul.LabelText,{style:[to.atoms.flex_1,to.atoms.leading_tight],children:(0,jt.jsx)(ut.Trans,{id:”9ZP9cc”})})]})}),e[52]=Z):Z=e[52],e[53]!==W?(Y=(0,jt.jsx)(ul.Item,{label:W,name:”forever”,style:q,children:Z}),e[53]=W,e[54]=Y):Y=e[54],e[55]!==s?($=s({id:”A+iUGE”}),e[55]=s,e[56]=$):$=e[56],e[57]===Symbol.for(“react.memo_cache_sentinel”)?(X=[to.atoms.flex_1],e[57]=X):X=e[57],e[58]===Symbol.for(“react.memo_cache_sentinel”)?(J=[to.atoms.flex_1,to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_sm],ee=(0,jt.jsx)(ul.Radio,{}),e[58]=J,e[59]=ee):(J=e[58],ee=e[59]),e[60]===Symbol.for(“react.memo_cache_sentinel”)?(te=(0,jt.jsx)(wl,{children:(0,jt.jsxs)(Qs.default,{style:J,children:[ee,(0,jt.jsx)(ul.LabelText,{style:[to.atoms.flex_1,to.atoms.leading_tight],children:(0,jt.jsx)(ut.Trans,{id:”VaA9mu”})})]})}),e[60]=te):te=e[60],e[61]!==$?(se=(0,jt.jsx)(ul.Item,{label:$,name:”24_hours”,style:X,children:te}),e[61]=$,e[62]=se):se=e[62],e[63]!==Y||e[64]!==se?(oe=(0,jt.jsxs)(Qs.default,{style:G,children:[Y,se]}),e[63]=Y,e[64]=se,e[65]=oe):oe=e[65],e[66]===Symbol.for(“react.memo_cache_sentinel”)?(ne=[to.atoms.flex_1,to.atoms.flex_row,to.atoms.justify_start,to.atoms.align_center,to.atoms.gap_sm],e[66]=ne):ne=e[66],e[67]!==s?(ae=s({id:”uuuMgz”}),e[67]=s,e[68]=ae):ae=e[68],e[69]===Symbol.for(“react.memo_cache_sentinel”)?(re=[to.atoms.flex_1],e[69]=re):re=e[69],e[70]===Symbol.for(“react.memo_cache_sentinel”)?(ie=[to.atoms.flex_1,to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_sm],le=(0,jt.jsx)(ul.Radio,{}),e[70]=ie,e[71]=le):(ie=e[70],le=e[71]),e[72]===Symbol.for(“react.memo_cache_sentinel”)?(ce=(0,jt.jsx)(wl,{children:(0,jt.jsxs)(Qs.default,{style:ie,children:[le,(0,jt.jsx)(ul.LabelText,{style:[to.atoms.flex_1,to.atoms.leading_tight],children:(0,jt.jsx)(ut.Trans,{id:”rJe6vw”})})]})}),e[72]=ce):ce=e[72],e[73]!==ae?(de=(0,jt.jsx)(ul.Item,{label:ae,name:”7_days”,style:re,children:ce}),e[73]=ae,e[74]=de):de=e[74],e[75]!==s?(ue=s({id:”GBb12x”}),e[75]=s,e[76]=ue):ue=e[76],e[77]===Symbol.for(“react.memo_cache_sentinel”)?(me=[to.atoms.flex_1],e[77]=me):me=e[77],e[78]===Symbol.for(“react.memo_cache_sentinel”)?(he=[to.atoms.flex_1,to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_sm],pe=(0,jt.jsx)(ul.Radio,{}),e[78]=he,e[79]=pe):(he=e[78],pe=e[79]),e[80]===Symbol.for(“react.memo_cache_sentinel”)?(fe=(0,jt.jsx)(wl,{children:(0,jt.jsxs)(Qs.default,{style:he,children:[pe,(0,jt.jsx)(ul.LabelText,{style:[to.atoms.flex_1,to.atoms.leading_tight],children:(0,jt.jsx)(ut.Trans,{id:”P9cEa2″})})]})}),e[80]=fe):fe=e[80],e[81]!==ue?(ge=(0,jt.jsx)(ul.Item,{label:ue,name:”30_days”,style:me,children:fe}),e[81]=ue,e[82]=ge):ge=e[82],e[83]!==de||e[84]!==ge?(xe=(0,jt.jsxs)(Qs.default,{style:ne,children:[de,ge]}),e[83]=de,e[84]=ge,e[85]=xe):xe=e[85],e[86]!==U||e[87]!==oe||e[88]!==xe?(_e=(0,jt.jsxs)(Qs.default,{style:U,children:[oe,xe]}),e[86]=U,e[87]=oe,e[88]=xe,e[89]=_e):_e=e[89],e[90]!==y||e[91]!==F||e[92]!==V||e[93]!==_e?(ye=(0,jt.jsxs)(ul.Group,{label:F,type:”radio”,values:y,onChange:b,children:[V,_e]}),e[90]=y,e[91]=F,e[92]=V,e[93]=_e,e[94]=ye):ye=e[94],e[95]!==s?(be=s({id:”rz0+O7″}),e[95]=s,e[96]=be):be=e[96],e[97]!==t.atoms.text_contrast_medium?(je=[to.atoms.pb_xs,to.atoms.text_sm,to.atoms.font_semi_bold,t.atoms.text_contrast_medium],e[97]=t.atoms.text_contrast_medium,e[98]=je):je=e[98],e[99]===Symbol.for(“react.memo_cache_sentinel”)?(ve=(0,jt.jsx)(ut.Trans,{id:”bwjcW2″}),e[99]=ve):ve=e[99],e[100]!==je?(Se=(0,jt.jsx)(_o.Text,{style:je,children:ve}),e[100]=je,e[101]=Se):Se=e[101],e[102]===Symbol.for(“react.memo_cache_sentinel”)?(we=[to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_sm,to.atoms.flex_wrap],e[102]=we):we=e[102],e[103]!==s?(Te=s({id:”m1NYNv”}),e[103]=s,e[104]=Te):Te=e[104],e[105]===Symbol.for(“react.memo_cache_sentinel”)?(ke=[to.atoms.flex_1],e[105]=ke):ke=e[105],e[106]===Symbol.for(“react.memo_cache_sentinel”)?(Ce=[to.atoms.flex_1,to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_sm],Ie=(0,jt.jsx)(ul.Radio,{}),e[106]=Ce,e[107]=Ie):(Ce=e[106],Ie=e[107]),e[108]===Symbol.for(“react.memo_cache_sentinel”)?(Ae=(0,jt.jsxs)(wl,{children:[(0,jt.jsxs)(Qs.default,{style:Ce,children:[Ie,(0,jt.jsx)(ul.LabelText,{style:[to.atoms.flex_1,to.atoms.leading_tight],children:(0,jt.jsx)(ut.Trans,{id:”4PP896″})})]}),(0,jt.jsx)(xl,{size:”sm”})]}),e[108]=Ae):Ae=e[108],e[109]!==Te?(Pe=(0,jt.jsx)(ul.Item,{label:Te,name:”content”,style:ke,children:Ae}),e[109]=Te,e[110]=Pe):Pe=e[110],e[111]!==s?(Ee=s({id:”6xHFkK”}),e[111]=s,e[112]=Ee):Ee=e[112],e[113]===Symbol.for(“react.memo_cache_sentinel”)?(Le=[to.atoms.flex_1],e[113]=Le):Le=e[113],e[114]===Symbol.for(“react.memo_cache_sentinel”)?(Re=[to.atoms.flex_1,to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_sm],De=(0,jt.jsx)(ul.Radio,{}),e[114]=Re,e[115]=De):(Re=e[114],De=e[115]),e[116]===Symbol.for(“react.memo_cache_sentinel”)?(Be=(0,jt.jsxs)(wl,{children:[(0,jt.jsxs)(Qs.default,{style:Re,children:[De,(0,jt.jsx)(ul.LabelText,{style:[to.atoms.flex_1,to.atoms.leading_tight],children:(0,jt.jsx)(ut.Trans,{id:”SCh+q3″})})]}),(0,jt.jsx)(fl,{size:”sm”})]}),e[116]=Be):Be=e[116],e[117]!==Ee?(Oe=(0,jt.jsx)(ul.Item,{label:Ee,name:”tag”,style:Le,children:Be}),e[117]=Ee,e[118]=Oe):Oe=e[118],e[119]!==Pe||e[120]!==Oe?(Me=(0,jt.jsxs)(Qs.default,{style:we,children:[Pe,Oe]}),e[119]=Pe,e[120]=Oe,e[121]=Me):Me=e[121],e[122]!==be||e[123]!==Se||e[124]!==Me||e[125]!==p?(Fe=(0,jt.jsxs)(ul.Group,{label:be,type:”radio”,values:p,onChange:f,children:[Se,Me]}),e[122]=be,e[123]=Se,e[124]=Me,e[125]=p,e[126]=Fe):Fe=e[126],e[127]!==t.atoms.text_contrast_medium?(Ne=[to.atoms.pb_xs,to.atoms.text_sm,to.atoms.font_semi_bold,t.atoms.text_contrast_medium],e[127]=t.atoms.text_contrast_medium,e[128]=Ne):Ne=e[128],e[129]===Symbol.for(“react.memo_cache_sentinel”)?(He=(0,jt.jsx)(ut.Trans,{id:”AmPPq5″}),e[129]=He):He=e[129],e[130]!==Ne?(Ve=(0,jt.jsx)(_o.Text,{style:Ne,children:He}),e[130]=Ne,e[131]=Ve):Ve=e[131],e[132]!==s?(ze=s({id:”M2ux4B”}),e[132]=s,e[133]=ze):ze=e[133],e[134]===Symbol.for(“react.memo_cache_sentinel”)?(Ue=[to.atoms.flex_row,to.atoms.justify_between],e[134]=Ue):Ue=e[134],e[135]===Symbol.for(“react.memo_cache_sentinel”)?(Ge=[to.atoms.flex_1,to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_sm],We=(0,jt.jsx)(ul.Checkbox,{}),e[135]=Ge,e[136]=We):(Ge=e[135],We=e[136]),e[137]===Symbol.for(“react.memo_cache_sentinel”)?(qe=(0,jt.jsx)(wl,{children:(0,jt.jsxs)(Qs.default,{style:Ge,children:[We,(0,jt.jsx)(ul.LabelText,{style:[to.atoms.flex_1,to.atoms.leading_tight],children:(0,jt.jsx)(ut.Trans,{id:”dtB3eO”})})]})}),e[137]=qe):qe=e[137],e[138]!==j||e[139]!==ze?(Qe=(0,jt.jsx)(ul.Item,{label:ze,name:”exclude_following”,style:Ue,value:j,onChange:v,children:qe}),e[138]=j,e[139]=ze,e[140]=Qe):Qe=e[140],e[141]!==Ve||e[142]!==Qe?(Ke=(0,jt.jsxs)(Qs.default,{children:[Ve,Qe]}),e[141]=Ve,e[142]=Qe,e[143]=Ke):Ke=e[143],e[144]===Symbol.for(“react.memo_cache_sentinel”)?(Ze=[to.atoms.pt_xs],e[144]=Ze):Ze=e[144];const Ye=c||!u;let $e,Xe,Je;e[145]!==s?($e=s({id:”ewfGtx”}),e[145]=s,e[146]=$e):$e=e[146],e[147]===Symbol.for(“react.memo_cache_sentinel”)?(Xe=[],e[147]=Xe):Xe=e[147],e[148]===Symbol.for(“react.memo_cache_sentinel”)?(Je=(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”m16xKo”})}),e[148]=Je):Je=e[148];const et=c?xo.Loader:Mi.PlusLarge_Stroke2_Corner0_Rounded;let tt,st,ot,nt,at,rt,it,lt,dt,mt,ht,pt,ft,gt,xt;return e[149]!==et?(tt=(0,jt.jsx)(po.ButtonIcon,{icon:et,position:”right”}),e[149]=et,e[150]=tt):tt=e[150],e[151]!==w||e[152]!==Ye||e[153]!==$e||e[154]!==tt?(st=(0,jt.jsx)(Qs.default,{style:Ze,children:(0,jt.jsxs)(po.Button,{disabled:Ye,label:$e,size:”large”,color:”primary”,variant:”solid”,style:Xe,onPress:w,children:[Je,tt]})}),e[151]=w,e[152]=Ye,e[153]=$e,e[154]=tt,e[155]=st):st=e[155],e[156]!==g||e[157]!==t.atoms.bg_contrast_25||e[158]!==t.palette?(ot=g&&(0,jt.jsx)(Qs.default,{style:[to.atoms.mb_lg,to.atoms.flex_row,to.atoms.rounded_sm,to.atoms.p_md,to.atoms.mb_xs,t.atoms.bg_contrast_25,{backgroundColor:t.palette.negative_400}],children:(0,jt.jsx)(_o.Text,{style:[to.atoms.italic,{color:t.palette.white},(0,to.native)({marginTop:2})],children:g})}),e[156]=g,e[157]=t.atoms.bg_contrast_25,e[158]=t.palette,e[159]=ot):ot=e[159],e[160]!==ye||e[161]!==Fe||e[162]!==Ke||e[163]!==st||e[164]!==ot?(nt=(0,jt.jsxs)(Qs.default,{style:M,children:[ye,Fe,Ke,st,ot]}),e[160]=ye,e[161]=Fe,e[162]=Ke,e[163]=st,e[164]=ot,e[165]=nt):nt=e[165],e[166]===Symbol.for(“react.memo_cache_sentinel”)?(at=(0,jt.jsx)(Co,{}),e[166]=at):at=e[166],e[167]===Symbol.for(“react.memo_cache_sentinel”)?(rt=[to.atoms.pt_2xl],e[167]=rt):rt=e[167],e[168]!==t.atoms.text_contrast_high?(it=[to.atoms.text_md,to.atoms.font_semi_bold,to.atoms.pb_md,t.atoms.text_contrast_high],e[168]=t.atoms.text_contrast_high,e[169]=it):it=e[169],e[170]===Symbol.for(“react.memo_cache_sentinel”)?(lt=(0,jt.jsx)(ut.Trans,{id:”NcEbYp”}),e[170]=lt):lt=e[170],e[171]!==it?(dt=(0,jt.jsx)(_o.Text,{style:it,children:lt}),e[171]=it,e[172]=dt):dt=e[172],e[173]!==n||e[174]!==r||e[175]!==l||e[176]!==t.atoms.bg_contrast_25||e[177]!==t.atoms.text_contrast_high?(mt=n?(0,jt.jsx)(xo.Loader,{}):l||!r?(0,jt.jsx)(Qs.default,{style:[to.atoms.py_md,to.atoms.px_lg,to.atoms.rounded_md,t.atoms.bg_contrast_25],children:(0,jt.jsx)(_o.Text,{style:[to.atoms.italic,t.atoms.text_contrast_high],children:(0,jt.jsx)(ut.Trans,{id:”XgdkIt”})})}):r.moderationPrefs.mutedWords.length?[…r.moderationPrefs.mutedWords].reverse().map(((e,s)=>(0,jt.jsx)(vl,{word:e,style:[s%2===0&&t.atoms.bg_contrast_25]},e.value+s))):(0,jt.jsx)(Qs.default,{style:[to.atoms.py_md,to.atoms.px_lg,to.atoms.rounded_md,t.atoms.bg_contrast_25],children:(0,jt.jsx)(_o.Text,{style:[to.atoms.italic,t.atoms.text_contrast_high],children:(0,jt.jsx)(ut.Trans,{id:”5CAK8j”})})}),e[173]=n,e[174]=r,e[175]=l,e[176]=t.atoms.bg_contrast_25,e[177]=t.atoms.text_contrast_high,e[178]=mt):mt=e[178],e[179]!==dt||e[180]!==mt?(ht=(0,jt.jsxs)(Qs.default,{style:rt,children:[dt,mt]}),e[179]=dt,e[180]=mt,e[181]=ht):ht=e[181],e[182]===Symbol.for(“react.memo_cache_sentinel”)?(pt=i.IS_NATIVE&&(0,jt.jsx)(Qs.default,{style:{height:20}}),e[182]=pt):pt=e[182],e[183]!==O||e[184]!==I||e[185]!==E||e[186]!==nt||e[187]!==ht?(ft=(0,jt.jsxs)(Qs.default,{children:[I,E,O,nt,at,ht,pt]}),e[183]=O,e[184]=I,e[185]=E,e[186]=nt,e[187]=ht,e[188]=ft):ft=e[188],e[189]===Symbol.for(“react.memo_cache_sentinel”)?(gt=(0,jt.jsx)(so.Close,{}),e[189]=gt):gt=e[189],e[190]!==T||e[191]!==ft?(xt=(0,jt.jsxs)(so.ScrollableInner,{label:T,children:[ft,gt]}),e[190]=T,e[191]=ft,e[192]=xt):xt=e[192],xt}function vl(e){const t=(0,a.c)(53),{style:s,word:o}=e,n=(0,to.useTheme)(),{_:r}=(0,ut.useLingui)(),{isPending:i,mutateAsync:l}=(0,Ia.useRemoveMutedWordMutation)(),{mutateAsync:c}=(0,Ia.useUpdateMutedWordMutation)(),d=ir.usePromptControl(),u=o.expiresAt?new Date(o.expiresAt):void 0,m=u&&u{d.close(),l(o)},t[0]=d,t[1]=l,t[2]=o,t[3]=p):p=t[3];const f=p;let g;t[4]!==c||t[5]!==o?(g=e=>{c(Object.assign({},o,{expiresAt:e?new Date(Date.now()+e*yl).toISOString():void 0}))},t[4]=c,t[5]=o,t[6]=g):g=t[6];const x=g;let _,y,b,j;t[7]!==r?(_=r({id:”6foA8n”}),t[7]=r,t[8]=_):_=t[8],t[9]!==r||t[10]!==o.value?(y=r({id:”Eal/k5″,values:{0:o.value}}),t[9]=r,t[10]=o.value,t[11]=y):y=t[11],t[12]!==r?(b=r({id:”t/YqKh”}),t[12]=r,t[13]=b):b=t[13],t[14]!==d||t[15]!==f||t[16]!==_||t[17]!==y||t[18]!==b?(j=(0,jt.jsx)(ir.Basic,{control:d,title:_,description:y,onConfirm:f,confirmButtonCta:b,confirmButtonColor:”negative”}),t[14]=d,t[15]=f,t[16]=_,t[17]=y,t[18]=b,t[19]=j):j=t[19];const v=Qs.default;let S;t[20]!==s?(S=[to.atoms.flex_row,to.atoms.justify_between,to.atoms.py_md,to.atoms.px_lg,to.atoms.rounded_md,to.atoms.gap_md,s],t[20]=s,t[21]=S):S=t[21];const w=Qs.default;let T,k,C,I;t[22]===Symbol.for(“react.memo_cache_sentinel”)?(T=[to.atoms.flex_1,to.atoms.gap_xs],t[22]=T):T=t[22],t[23]===Symbol.for(“react.memo_cache_sentinel”)?(k=[to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_sm],t[23]=k):k=t[23],t[24]===Symbol.for(“react.memo_cache_sentinel”)?(C=[to.atoms.flex_1,to.atoms.leading_snug,to.atoms.font_semi_bold,(0,to.web)({overflowWrap:”break-word”,wordBreak:”break-word”})],t[24]=C):C=t[24],t[25]!==n.atoms.text_contrast_medium||t[26]!==o.targets||t[27]!==o.value?(I=(0,jt.jsx)(Qs.default,{style:k,children:(0,jt.jsx)(_o.Text,{style:C,children:o.targets.find(Sl)?(0,jt.jsx)(ut.Trans,{id:”pB+j+H”,values:{0:o.value},components:{0:(0,jt.jsx)(_o.Text,{style:[to.atoms.font_normal,n.atoms.text_contrast_medium]}),1:(0,jt.jsx)(_o.Text,{style:[to.atoms.font_semi_bold,n.atoms.text_contrast_medium]})}}):(0,jt.jsx)(ut.Trans,{id:”5R/uEu”,values:{0:o.value},components:{0:(0,jt.jsx)(_o.Text,{style:[to.atoms.font_normal,n.atoms.text_contrast_medium]}),1:(0,jt.jsx)(_o.Text,{style:[to.atoms.font_semi_bold,n.atoms.text_contrast_medium]})}})})}),t[25]=n.atoms.text_contrast_medium,t[26]=o.targets,t[27]=o.value,t[28]=I):I=t[28];const A=(u||”exclude-following”===o.actorTarget)&&(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_1,to.atoms.flex_row,to.atoms.align_center,to.atoms.flex_wrap],children:[u&&(m?(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(_o.Text,{style:[to.atoms.text_xs,to.atoms.leading_snug,n.atoms.text_contrast_medium],children:(0,jt.jsx)(ut.Trans,{id:”M1RnFv”})}),(0,jt.jsx)(_o.Text,{style:[to.atoms.text_xs,to.atoms.leading_snug,n.atoms.text_contrast_medium],children:” \xb7 “}),(0,jt.jsxs)(_l.Root,{children:[(0,jt.jsx)(_l.Trigger,{label:r({id:”TWpmJ/”}),children:e=>{const{props:t}=e;return(0,jt.jsx)(_o.Text,Object.assign({},t,{style:[to.atoms.text_xs,to.atoms.leading_snug,to.atoms.font_semi_bold,{color:n.palette.primary_500}],children:(0,jt.jsx)(ut.Trans,{id:”v4JQd8″})}))}}),(0,jt.jsxs)(_l.Outer,{children:[(0,jt.jsx)(_l.LabelText,{children:(0,jt.jsx)(ut.Trans,{id:”L89cHu”})}),(0,jt.jsxs)(_l.Group,{children:[(0,jt.jsx)(_l.Item,{label:r({id:”VaA9mu”}),onPress:()=>x(1),children:(0,jt.jsx)(_l.ItemText,{children:(0,jt.jsx)(ut.Trans,{id:”VaA9mu”})})}),(0,jt.jsx)(_l.Item,{label:r({id:”rJe6vw”}),onPress:()=>x(7),children:(0,jt.jsx)(_l.ItemText,{children:(0,jt.jsx)(ut.Trans,{id:”rJe6vw”})})}),(0,jt.jsx)(_l.Item,{label:r({id:”P9cEa2″}),onPress:()=>x(30),children:(0,jt.jsx)(_l.ItemText,{children:(0,jt.jsx)(ut.Trans,{id:”P9cEa2″})})}),(0,jt.jsx)(_l.Item,{label:r({id:”9ZP9cc”}),onPress:()=>x(),children:(0,jt.jsx)(_l.ItemText,{children:(0,jt.jsx)(ut.Trans,{id:”9ZP9cc”})})})]})]})]})]}):(0,jt.jsx)(_o.Text,{style:[to.atoms.text_xs,to.atoms.leading_snug,n.atoms.text_contrast_medium],children:(0,jt.jsx)(ut.Trans,{id:”oOfJ56″,values:{0:h(u,new Date,{addSuffix:!0})}})})),”exclude-following”===o.actorTarget&&(0,jt.jsxs)(_o.Text,{style:[to.atoms.text_xs,to.atoms.leading_snug,n.atoms.text_contrast_medium],children:[u?” \xb7 “:””,(0,jt.jsx)(ut.Trans,{id:”IpSZDQ”})]})]});let P,E,L,R;t[29]!==w||t[30]!==I||t[31]!==A||t[32]!==T?(P=(0,jt.jsxs)(w,{style:T,children:[I,A]}),t[29]=w,t[30]=I,t[31]=A,t[32]=T,t[33]=P):P=t[33],t[34]!==r?(E=r({id:”E2dk8C”}),t[34]=r,t[35]=E):E=t[35],t[36]!==d?(L=()=>d.open(),t[36]=d,t[37]=L):L=t[37],t[38]===Symbol.for(“react.memo_cache_sentinel”)?(R=[to.atoms.ml_sm],t[38]=R):R=t[38];const D=i?xo.Loader:jn.TimesLarge_Stroke2_Corner0_Rounded;let B,O,M,F;return t[39]!==D?(B=(0,jt.jsx)(po.ButtonIcon,{icon:D}),t[39]=D,t[40]=B):B=t[40],t[41]!==E||t[42]!==L||t[43]!==B?(O=(0,jt.jsx)(po.Button,{label:E,size:”tiny”,shape:”round”,variant:”outline”,color:”secondary”,onPress:L,style:R,children:B}),t[41]=E,t[42]=L,t[43]=B,t[44]=O):O=t[44],t[45]!==v||t[46]!==P||t[47]!==O||t[48]!==S?(M=(0,jt.jsxs)(v,{style:S,children:[P,O]}),t[45]=v,t[46]=P,t[47]=O,t[48]=S,t[49]=M):M=t[49],t[50]!==M||t[51]!==j?(F=(0,jt.jsxs)(jt.Fragment,{children:[j,M]}),t[50]=M,t[51]=j,t[52]=F):F=t[52],F}function Sl(e){return”content”===e}function wl(e){const t=(0,a.c)(14),{children:s}=e,o=(0,to.useTheme)(),n=ul.useItemContext(),{gtMobile:r}=(0,to.useBreakpoints)(),i=r&&to.atoms.px_md,l=(n.hovered||n.focused)&&o.atoms.bg_contrast_50;let c,d,u,m;return t[0]!==n.selected||t[1]!==o.palette?(c=n.selected&&[{backgroundColor:o.palette.primary_50}],t[0]=n.selected,t[1]=o.palette,t[2]=c):c=t[2],t[3]!==n.disabled?(d=n.disabled&&{opacity:.8},t[3]=n.disabled,t[4]=d):d=t[4],t[5]!==o.atoms.bg_contrast_25||t[6]!==i||t[7]!==l||t[8]!==c||t[9]!==d?(u=[to.atoms.flex_row,to.atoms.align_center,to.atoms.justify_between,to.atoms.gap_xs,to.atoms.flex_1,to.atoms.py_sm,to.atoms.px_sm,i,to.atoms.rounded_sm,o.atoms.bg_contrast_25,l,c,d],t[5]=o.atoms.bg_contrast_25,t[6]=i,t[7]=l,t[8]=c,t[9]=d,t[10]=u):u=t[10],t[11]!==s||t[12]!==u?(m=(0,jt.jsx)(Qs.default,{style:u,children:s}),t[11]=s,t[12]=u,t[13]=m):m=t[13],m}let Tl=function(e){return e.NeueTypography=”NeueTypography”,e.ExploreInterestsCard=”ExploreInterestsCard”,e.InitialVerificationAnnouncement=”InitialVerificationAnnouncement”,e.ActivitySubscriptions=”ActivitySubscriptions”,e.AgeAssuranceDismissibleNotice=”AgeAssuranceDismissibleNotice”,e.AgeAssuranceDismissibleFeedBanner=”AgeAssuranceDismissibleFeedBanner”,e.BookmarksAnnouncement=”BookmarksAnnouncement”,e.FindContactsAnnouncement=”FindContactsAnnouncement”,e.FindContactsDismissibleBanner=”FindContactsDismissibleBanner”,e.LiveNowBetaDialog=”LiveNowBetaDialog”,e.LiveNowBetaNudge=”LiveNowBetaNudge”,e.DraftsAnnouncement=”DraftsAnnouncement”,e.PolicyUpdate202508=”PolicyUpdate202508″,e}({});const kl=new Set(Object.values(Tl)),Cl={[Tl.NeueTypography]:void 0,[Tl.ExploreInterestsCard]:void 0,[Tl.InitialVerificationAnnouncement]:void 0,[Tl.ActivitySubscriptions]:void 0,[Tl.AgeAssuranceDismissibleNotice]:void 0,[Tl.AgeAssuranceDismissibleFeedBanner]:void 0,[Tl.PolicyUpdate202508]:void 0,[Tl.BookmarksAnnouncement]:void 0,[Tl.FindContactsAnnouncement]:void 0,[Tl.FindContactsDismissibleBanner]:void 0,[Tl.LiveNowBetaDialog]:void 0,[Tl.LiveNowBetaNudge]:void 0,[Tl.DraftsAnnouncement]:void 0},Il=[“data”],Al=[“data”];function Pl(e){if(!kl.has(e.id))return;if(!On.nuxSchema.safeParse(e).success)return;const{data:t}=e,s=(0,la.default)(e,Il),o=Cl[e.id];if(o&&t){const e=JSON.parse(t);if(!o.safeParse(e).success)return;return Object.assign({},s,{data:e})}return Object.assign({},s,{data:void 0})}function El(){const e=(0,a.c)(10),{data:t,isSuccess:s,isError:o}=(0,Ia.usePreferencesQuery)(),n=s?”ready”:o?”error”:”loading”;if(“ready”===n){let s;e[0]!==t?.bskyAppState?.nuxs?(s=t?.bskyAppState?.nuxs?.map(Pl)?.filter(Boolean),e[0]=t?.bskyAppState?.nuxs,e[1]=s):s=e[1];const o=s;if(o){let t;return e[2]!==o||e[3]!==n?(t={nuxs:o,status:n},e[2]=o,e[3]=n,e[4]=t):t=e[4],t}{let t,s;return e[5]===Symbol.for(“react.memo_cache_sentinel”)?(t=[],e[5]=t):t=e[5],e[6]!==n?(s={nuxs:t,status:n},e[6]=n,e[7]=s):s=e[7],s}}let r;return e[8]!==n?(r={nuxs:void 0,status:n},e[8]=n,e[9]=r):r=e[9],r}function Ll(e){const t=(0,a.c)(12),{nuxs:s,status:o}=El();if(“ready”===o){let n;if(t[0]!==e||t[1]!==s){let o;t[3]!==e?(o=t=>t.id===e,t[3]=e,t[4]=o):o=t[4],n=s.find(o),t[0]=e,t[1]=s,t[2]=n}else n=t[2];if(n){const e=n;let s;return t[5]!==o||t[6]!==e?(s={nux:e,status:o},t[5]=o,t[6]=e,t[7]=s):s=t[7],s}{let e;return t[8]!==o?(e={nux:void 0,status:o},t[8]=o,t[9]=e):e=t[9],e}}let n;return t[10]!==o?(n={nux:void 0,status:o},t[10]=o,t[11]=n):n=t[11],n}function Rl(){const e=(0,a.c)(3),t=(0,Mn.useQueryClient)(),s=(0,Yt.useAgent)();let o;return e[0]!==s||e[1]!==t?(o={retry:3,mutationFn:async e=>{await s.bskyAppUpsertNux(function(e){const{data:t}=e,s=(0,la.default)(e,Al),o=Cl[e.id],n=Object.assign({},s,{data:void 0});return o&&(o.parse(t),n.data=JSON.stringify(t)),On.nuxSchema.parse(n),n}(e)),await t.invalidateQueries({queryKey:Ia.preferencesQueryKey})}},e[0]=s,e[1]=t,e[2]=o):o=e[2],(0,wo.useMutation)(o)}const Dl=(0,na.createSinglePathSVG)({path:”M12 2a1 1 0 0 1 1 1c0 3.188.669 5.256 1.882 6.536C16.084 10.805 18.01 11.5 21 11.5a1 1 0 1 1 0 2c-2.99 0-4.916.695-6.118 1.964C13.67 16.744 13 18.812 13 22a1 1 0 1 1-2 0c0-3.188-.669-5.256-1.882-6.536C7.916 14.195 5.99 13.5 3 13.5a1 1 0 1 1 0-2c2.99 0 4.916-.695 6.118-1.964C10.33 8.256 11 6.188 11 3a1 1 0 0 1 1-1Zm0 6.734a7.608 7.608 0 0 1-1.43 2.178A7.285 7.285 0 0 1 8.349 12.5c.846.397 1.589.921 2.22 1.588A7.607 7.607 0 0 1 12 16.267a7.607 7.607 0 0 1 1.43-2.179 7.284 7.284 0 0 1 2.221-1.588 7.284 7.284 0 0 1-2.22-1.588A7.608 7.608 0 0 1 12 8.734Z”});const Bl=e=>!i.IS_E2E&&i.IS_NATIVE&&function(e,t){if(!t)return!1;const s=Date.parse(e);return new Date(t).getTime(){n.dismissActiveNux()},e[0]=n,e[1]=l):l=e[1];const c=l;let d,u,m,h,p,f,g,x,_,y,b,j,v,S,w,T,k,C,I,A,P,E,L,R,D,B,O,M,F,N,H,V;return e[2]===Symbol.for(“react.memo_cache_sentinel”)?(d={preventExpansion:!0},e[2]=d):d=e[2],e[3]!==t.palette.primary_400?(u=(0,jt.jsx)(so.Handle,{fill:t.palette.primary_400}),e[3]=t.palette.primary_400,e[4]=u):u=e[4],e[5]!==s?(m=s({id:”R34vNF”}),e[5]=s,e[6]=m):m=e[6],e[7]===Symbol.for(“react.memo_cache_sentinel”)?(h=[(0,to.web)({maxWidth:440})],p=[{paddingTop:0,paddingLeft:0,paddingRight:0}],e[7]=h,e[8]=p):(h=e[7],p=e[8]),e[9]===Symbol.for(“react.memo_cache_sentinel”)?(f=[to.atoms.align_center,to.atoms.overflow_hidden,{paddingTop:i.IS_WEB?24:40,borderTopLeftRadius:to.atoms.rounded_md.borderRadius,borderTopRightRadius:to.atoms.rounded_md.borderRadius}],e[9]=f):f=e[9],e[10]!==t.palette.primary_100||e[11]!==t.palette.primary_200?(g=[t.palette.primary_100,t.palette.primary_200],e[10]=t.palette.primary_100,e[11]=t.palette.primary_200,e[12]=g):g=e[12],e[13]===Symbol.for(“react.memo_cache_sentinel”)?(y=[0,1],b={x:0,y:0},x={x:0,y:1},_=[to.atoms.absolute,to.atoms.inset_0],e[13]=x,e[14]=_,e[15]=y,e[16]=b):(x=e[13],_=e[14],y=e[15],b=e[16]),e[17]!==g?(j=(0,jt.jsx)(Ho.LinearGradient,{colors:g,locations:y,start:b,end:x,style:_}),e[17]=g,e[18]=j):j=e[18],e[19]===Symbol.for(“react.memo_cache_sentinel”)?(v=[to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_xs,{marginBottom:-12}],e[19]=v):v=e[19],e[20]!==t.palette.primary_800?(S=(0,jt.jsx)(Dl,{fill:t.palette.primary_800,size:”sm”}),e[20]=t.palette.primary_800,e[21]=S):S=e[21],e[22]!==t.palette.primary_800?(w=[to.atoms.font_semi_bold,{color:t.palette.primary_800}],e[22]=t.palette.primary_800,e[23]=w):w=e[23],e[24]===Symbol.for(“react.memo_cache_sentinel”)?(T=(0,jt.jsx)(ut.Trans,{id:”gdTBff”}),e[24]=T):T=e[24],e[25]!==w?(k=(0,jt.jsx)(_o.Text,{style:w,children:T}),e[25]=w,e[26]=k):k=e[26],e[27]!==S||e[28]!==k?(C=(0,jt.jsxs)(Qs.default,{style:v,children:[S,k]}),e[27]=S,e[28]=k,e[29]=C):C=e[29],e[30]===Symbol.for(“react.memo_cache_sentinel”)?(I=o(11352),e[30]=I):I=e[30],e[31]===Symbol.for(“react.memo_cache_sentinel”)?(A=[to.atoms.w_full,{aspectRatio:1.738938053097345}],e[31]=A):A=e[31],e[32]!==s?(P=s({id:”WqbUOH”}),e[32]=s,e[33]=P):P=e[33],e[34]!==P?(E=(0,jt.jsx)(xn.Image,{accessibilityIgnoresInvertColors:!0,source:I,style:A,alt:P}),e[34]=P,e[35]=E):E=e[35],e[36]!==j||e[37]!==C||e[38]!==E?(L=(0,jt.jsxs)(Qs.default,{style:f,children:[j,C,E]}),e[36]=j,e[37]=C,e[38]=E,e[39]=L):L=e[39],e[40]===Symbol.for(“react.memo_cache_sentinel”)?(R=[to.atoms.align_center,to.atoms.px_xl,to.atoms.pt_xl,to.atoms.gap_2xl,to.atoms.pb_sm],e[40]=R):R=e[40],e[41]===Symbol.for(“react.memo_cache_sentinel”)?(D=[to.atoms.gap_sm,to.atoms.align_center],e[41]=D):D=e[41],e[42]===Symbol.for(“react.memo_cache_sentinel”)?(B=(0,jt.jsx)(_o.Text,{style:[to.atoms.text_3xl,to.atoms.leading_tight,to.atoms.font_bold,to.atoms.text_center,{fontSize:i.IS_WEB?28:32,maxWidth:300}],children:(0,jt.jsx)(ut.Trans,{id:”M8kJqa”})}),e[42]=B):B=e[42],e[43]===Symbol.for(“react.memo_cache_sentinel”)?(O=(0,jt.jsxs)(Qs.default,{style:D,children:[B,(0,jt.jsx)(_o.Text,{style:[to.atoms.text_md,to.atoms.leading_snug,to.atoms.text_center,{maxWidth:340}],children:(0,jt.jsx)(ut.Trans,{id:”fB9Luy”})})]}),e[43]=O):O=e[43],e[44]!==s||e[45]!==r?(M=!i.IS_WEB&&(0,jt.jsx)(po.Button,{label:s({id:”yz7wBu”}),size:”large”,color:”primary”,onPress:()=>r.close(),style:[to.atoms.w_full],children:(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”9LcmDr”})})}),e[44]=s,e[45]=r,e[46]=M):M=e[46],e[47]!==M?(F=(0,jt.jsxs)(Qs.default,{style:R,children:[O,M]}),e[47]=M,e[48]=F):F=e[48],e[49]===Symbol.for(“react.memo_cache_sentinel”)?(N=(0,jt.jsx)(so.Close,{}),e[49]=N):N=e[49],e[50]!==L||e[51]!==F||e[52]!==m?(H=(0,jt.jsxs)(so.ScrollableInner,{label:m,style:h,contentContainerStyle:p,children:[L,F,N]}),e[50]=L,e[51]=F,e[52]=m,e[53]=H):H=e[53],e[54]!==r||e[55]!==c||e[56]!==u||e[57]!==H?(V=(0,jt.jsxs)(so.Outer,{control:r,onClose:c,nativeOptions:d,children:[u,H]}),e[54]=r,e[55]=c,e[56]=u,e[57]=H,e[58]=V):V=e[58],V}var Ml=o(88972);var Fl=o(79758);const Nl=[{id:Tl.DraftsAnnouncement,enabled:Bl}],Hl=(0,ct.createContext)({activeNux:void 0,dismissActiveNux:()=>{}});function Vl(){const e=(0,a.c)(7),{currentAccount:t}=(0,Yt.useSession)(),{data:s}=(0,Ia.usePreferencesQuery)(),o=t?.did;let n;e[0]!==o?(n={did:o,staleTime:bt.STALE.INFINITY},e[0]=o,e[1]=n):n=e[1];const{data:r}=(0,Qt.useProfileQuery)(n),i=(0,Ss.useOnboardingState)().isActive||!t||!s||!r||!r.createdAt||”0001-01-01T00:00:00.000Z”===r.createdAt;let l;return e[2]!==t||e[3]!==i||e[4]!==s||e[5]!==r?(l=i?null:(0,jt.jsx)(zl,{currentAccount:t,currentProfile:r,preferences:s}),e[2]=t,e[3]=i,e[4]=s,e[5]=r,e[6]=l):l=e[6],l}function zl({currentAccount:e,currentProfile:t,preferences:s}){const o=(0,rn.useAnalytics)(),n=(0,Fl.useGeolocation)(),{nuxs:r}=El(),[i,l]=(0,ct.useState)((()=>function(){const e=$t.device.get([“lastNuxDialog”]);if(!e)return!1;const t=new Date(e),s=new Date;return!!(0,Ml.simpleAreDatesEqual)(t,s)}())),[c,d]=(0,ct.useState)(),{mutateAsync:u}=Rl(),{mutate:m}=function(){const e=(0,a.c)(3),t=(0,Mn.useQueryClient)(),s=(0,Yt.useAgent)();let o;return e[0]!==s||e[1]!==t?(o={retry:3,mutationFn:async e=>{await s.bskyAppRemoveNuxs(e),await t.invalidateQueries({queryKey:Ia.preferencesQueryKey})}},e[0]=s,e[1]=t,e[2]=o):o=e[2],(0,wo.useMutation)(o)}(),h=(0,ct.useCallback)((()=>{$t.device.set([“lastNuxDialog”],(new Date).toISOString()),l(!0)}),[l]),p=(0,ct.useCallback)((()=>{c&&d(void 0)}),[c,d]);(0,ct.useEffect)((()=>{if(!i&&r)for(const{id:a,enabled:i}of Nl){const l=r.find((e=>e.id===a));if((!l||!l.completed)&&(!i||i({features:o.features,currentAccount:e,currentProfile:t,preferences:s,geolocation:n}))){Ht.logger.debug(`NUX dialogs: activating ‘${a}’ NUX`),d(a),h(),u({id:a,completed:!0,data:void 0}).catch((e=>{Ht.logger.error(`NUX dialogs: failed to upsert ‘${a}’ NUX`,{safeMessage:e.message})}));break}}}),[o.features,r,i,h,u,e,t,s,n]);const f=(0,ct.useMemo)((()=>({activeNux:c,dismissActiveNux:p})),[c,p]);return(0,jt.jsx)(Hl.Provider,{value:f,children:c===Tl.DraftsAnnouncement&&(0,jt.jsx)(Ol,{})})}Hl.displayName=”NuxDialogContext”;const Ul=[“fill”],Gl=17/64;function Wl(e){const t=(0,a.c)(10);let s,o;if(t[0]!==e){var n=e;({fill:s}=n),o=(0,la.default)(n,Ul),t[0]=e,t[1]=s,t[2]=o}else s=t[1],o=t[2];const r=(0,In.usePalette)(“default”),i=parseInt(o.width||32),l=Number(i)*Gl,c=s||r.text.color;let d,u;return t[3]!==c?(d=(0,jt.jsx)(Li.Path,{fill:c,d:”M8.478 6.252c1.503.538 2.3 1.78 2.3 3.172 0 2.356-1.576 3.785-4.6 3.785H0V0h5.974c2.875 0 4.267 1.466 4.267 3.413 0 1.3-.594 2.245-1.763 2.839Zm-2.69-4.193H2.504v3.45h3.284c1.28 0 1.967-.667 1.967-1.78 0-1.02-.705-1.67-1.967-1.67Zm-3.284 9.072h3.544c1.41 0 2.17-.65 2.17-1.818 0-1.224-.723-1.837-2.17-1.837H2.504v3.655ZM14.251 13.209h-2.337V0h2.337v13.209ZM22.001 8.998V3.636h2.338v9.573h-2.263v-1.392c-.724 1.076-1.726 1.614-3.006 1.614-2.022 0-3.34-1.224-3.34-3.45V3.636h2.338v5.955c0 1.206.594 1.818 1.8 1.818 1.132 0 2.133-.835 2.133-2.411ZM34.979 8.59v.556h-7.161c.167 1.651 1.076 2.467 2.486 2.467 1.076 0 1.8-.463 2.189-1.372h2.244c-.5 1.947-2.17 3.19-4.452 3.19-1.428 0-2.579-.463-3.45-1.372-.872-.91-1.318-2.115-1.318-3.637 0-1.502.427-2.708 1.299-3.636.872-.909 2.004-1.372 3.432-1.372 1.447 0 2.597.482 3.45 1.428.854.946 1.28 2.208 1.28 3.747Zm-4.75-3.358c-1.28 0-2.17.742-2.393 2.281h4.805c-.204-1.391-1.057-2.281-2.411-2.281ZM40.16 13.469c-2.783 0-4.249-1.095-4.379-3.303h2.282c.13 1.188.724 1.633 2.134 1.633 1.261 0 1.892-.39 1.892-1.15 0-.687-.445-1.02-1.874-1.262l-1.094-.185c-2.097-.353-3.136-1.318-3.136-2.894 0-1.8 1.429-2.894 3.97-2.894 2.728 0 4.138 1.075 4.23 3.246h-2.207c-.056-1.169-.742-1.577-2.023-1.577-1.113 0-1.67.371-1.67 1.113 0 .668.483.965 1.596 1.169l1.206.186c2.32.426 3.32 1.28 3.32 2.912 0 1.93-1.557 3.006-4.247 3.006ZM54.667 13.209h-2.671l-2.783-4.453-1.447 1.447v3.006h-2.3V0h2.3v7.606l3.896-3.97h2.783l-3.618 3.618 3.84 5.955ZM60.772 6.048l.78-2.412H64l-3.692 10.352c-.39 1.057-.872 1.818-1.484 2.245-.612.426-1.484.63-2.634.63-.39 0-.724-.018-1.02-.055V14.97h.89c1.057 0 1.577-.65 1.577-1.54 0-.445-.149-1.094-.446-1.929l-2.746-7.866h2.487l.779 2.393c.575 1.8 1.076 3.58 1.521 5.343.408-1.521.928-3.302 1.54-5.324Z”}),t[3]=c,t[4]=d):d=t[4],t[5]!==o||t[6]!==i||t[7]!==l||t[8]!==d?(u=(0,jt.jsx)(Li.default,Object.assign({fill:”none”,viewBox:”0 0 64 17″},o,{width:i,height:l,children:d})),t[5]=o,t[6]=i,t[7]=l,t[8]=d,t[9]=u):u=t[9],u}function ql(){const e=(0,a.c)(6),{signinDialogControl:t}=(0,oo.useGlobalDialogsControlContext)();let s,o,n;return e[0]===Symbol.for(“react.memo_cache_sentinel”)?(s=(0,jt.jsx)(so.Handle,{}),e[0]=s):s=e[0],e[1]!==t?(o=(0,jt.jsx)(Ql,{control:t}),e[1]=t,e[2]=o):o=e[2],e[3]!==t||e[4]!==o?(n=(0,jt.jsxs)(so.Outer,{control:t,children:[s,o]}),e[3]=t,e[4]=o,e[5]=n):n=e[5],n}function Ql(e){const t=(0,a.c)(50),s=(0,to.useTheme)(),{_:o}=(0,ut.useLingui)(),{gtMobile:n}=(0,to.useBreakpoints)(),{requestSwitchToAccount:r}=Bs(),l=(0,eo.useCloseAllActiveElements)();let c;t[0]!==l||t[1]!==r?(c=()=>{l(),r({requestedAccount:”none”})},t[0]=l,t[1]=r,t[2]=c):c=t[2];const d=c;let u;t[3]!==l||t[4]!==r?(u=()=>{l(),r({requestedAccount:”new”})},t[3]=l,t[4]=r,t[5]=u):u=t[5];const m=u;let h,p,f,g,x,_,y,b,j,v,S,w,T,k,C,I,A,P,E,L,R,D,B,O;return t[6]!==o?(h=o({id:”PiFjQA”}),t[6]=o,t[7]=h):h=t[7],t[8]!==n?(p=n?{width:”auto”,maxWidth:420}:to.atoms.w_full,t[8]=n,t[9]=p):p=t[9],t[10]!==p?(f=[p],t[10]=p,t[11]=f):f=t[11],t[12]===Symbol.for(“react.memo_cache_sentinel”)?(g=[!i.IS_NATIVE&&to.atoms.p_2xl],t[12]=g):g=t[12],t[13]===Symbol.for(“react.memo_cache_sentinel”)?(x=[to.atoms.flex_row,to.atoms.align_center,to.atoms.justify_center,to.atoms.gap_sm,to.atoms.pb_lg],_=(0,jt.jsx)(Bi,{width:36}),t[13]=x,t[14]=_):(x=t[13],_=t[14]),t[15]===Symbol.for(“react.memo_cache_sentinel”)?(y={paddingTop:6},t[15]=y):y=t[15],t[16]!==s.atoms.text.color?(b=(0,jt.jsxs)(Qs.default,{style:x,children:[_,(0,jt.jsx)(Qs.default,{style:y,children:(0,jt.jsx)(Wl,{width:120,fill:s.atoms.text.color})})]}),t[16]=s.atoms.text.color,t[17]=b):b=t[17],t[18]===Symbol.for(“react.memo_cache_sentinel”)?(j={maxWidth:300},t[18]=j):j=t[18],t[19]!==s.atoms.text?(v=[to.atoms.text_lg,to.atoms.text_center,s.atoms.text,to.atoms.pb_2xl,to.atoms.leading_snug,to.atoms.mx_auto,j],t[19]=s.atoms.text,t[20]=v):v=t[20],t[21]===Symbol.for(“react.memo_cache_sentinel”)?(S=(0,jt.jsx)(ut.Trans,{id:”2hzW+R”}),t[21]=S):S=t[21],t[22]!==v?(w=(0,jt.jsx)(_o.Text,{style:v,children:S}),t[22]=v,t[23]=w):w=t[23],t[24]===Symbol.for(“react.memo_cache_sentinel”)?(T=[to.atoms.flex_col,to.atoms.gap_md],t[24]=T):T=t[24],t[25]!==o?(k=o({id:”3T8ziB”}),t[25]=o,t[26]=k):k=t[26],t[27]===Symbol.for(“react.memo_cache_sentinel”)?(C=(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”3T8ziB”})}),t[27]=C):C=t[27],t[28]!==m||t[29]!==k?(I=(0,jt.jsx)(po.Button,{variant:”solid”,color:”primary”,size:”large”,onPress:m,label:k,children:C}),t[28]=m,t[29]=k,t[30]=I):I=t[30],t[31]!==o?(A=o({id:”5lWFkC”}),t[31]=o,t[32]=A):A=t[32],t[33]===Symbol.for(“react.memo_cache_sentinel”)?(P=(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”5lWFkC”})}),t[33]=P):P=t[33],t[34]!==d||t[35]!==A?(E=(0,jt.jsx)(po.Button,{variant:”solid”,color:”secondary”,size:”large”,onPress:d,label:A,children:P}),t[34]=d,t[35]=A,t[36]=E):E=t[36],t[37]!==I||t[38]!==E?(L=(0,jt.jsxs)(Qs.default,{style:T,children:[I,E]}),t[37]=I,t[38]=E,t[39]=L):L=t[39],t[40]===Symbol.for(“react.memo_cache_sentinel”)?(R=i.IS_NATIVE&&(0,jt.jsx)(Qs.default,{style:{height:10}}),t[40]=R):R=t[40],t[41]!==b||t[42]!==w||t[43]!==L?(D=(0,jt.jsxs)(Qs.default,{style:g,children:[b,w,L,R]}),t[41]=b,t[42]=w,t[43]=L,t[44]=D):D=t[44],t[45]===Symbol.for(“react.memo_cache_sentinel”)?(B=(0,jt.jsx)(so.Close,{}),t[45]=B):B=t[45],t[46]!==D||t[47]!==h||t[48]!==f?(O=(0,jt.jsxs)(so.ScrollableInner,{label:h,style:f,children:[D,B]}),t[46]=D,t[47]=h,t[48]=f,t[49]=O):O=t[49],O}var Kl=o(98174),Zl=o(36830);const Yl=Tl.PolicyUpdate202508,$l=Yl,Xl=!1;var Jl=o(91736);const ec=(0,Jl.createPortalGroup)(),tc=ec.Provider,sc=ec.Portal,oc=ec.Outlet,nc=Ht.Logger.create(Ht.Logger.Context.PolicyUpdate);function ac({enabled:e}){const t=Ll($l),{mutate:s,variables:o}=Rl(),n=(0,$t.useStorage)($t.device,[$l]),a=!!(0,$t.useStorage)($t.device,[“policyUpdateDebugOverride”])[0]&&i.IS_DEV;return(0,ct.useMemo)((()=>{if(!e)return{completed:!0,complete(){}};const r=”ready”===t.status,i=!0===t.nux?.completed,l=!!o?.completed,[c,d]=n,u=function({nuxIsReady:e,nuxIsCompleted:t,nuxIsOptimisticallyCompleted:s,completedForDevice:o}){let n=!0;e&&(n=t);(s||o)&&(n=!0);return n}({nuxIsReady:r,nuxIsCompleted:i,nuxIsOptimisticallyCompleted:l,completedForDevice:c});return nc.debug(“state”,{completed:u,nux:t,completedForDevice:c}),a||function({nuxIsReady:e,nuxIsCompleted:t,nuxIsOptimisticallyCompleted:s,completedForDevice:o,save:n,setCompletedForDevice:a}){e&&!t&&!s&&o?(nc.debug(“syncing device state to server state”),n({id:$l,completed:!0,data:void 0})):e&&t&&!o&&(nc.debug(“syncing server state to device state”),a(!0))}({nuxIsReady:r,nuxIsCompleted:i,nuxIsOptimisticallyCompleted:l,completedForDevice:c,save:s,setCompletedForDevice:d}),{completed:u,complete(){nc.debug(“user completed”),s({id:$l,completed:!0,data:void 0}),d(!0)}}}),[e,t,s,o,n,a])}const rc=(0,ct.createContext)({state:{completed:!0,complete:()=>{}},setIsReadyToShowOverlay:()=>{}});function ic(){const e=(0,ct.useContext)(rc);if(!e)throw new Error(“usePolicyUpdateContext must be used within a PolicyUpdateProvider”);return e}function lc(e){const t=(0,a.c)(8),{children:s}=e,{hasSession:o}=(0,Yt.useSession)(),[n,r]=(0,ct.useState)(!1),l=Xl&&n&&o&&”e2e”!==i.ENV;let c;t[0]!==l?(c={enabled:l},t[0]=l,t[1]=c):c=t[1];const d=ac(c);let u;t[2]!==n||t[3]!==d?(u={state:d,setIsReadyToShowOverlay(){n||r(!0)}},t[2]=n,t[3]=d,t[4]=u):u=t[4];const m=u;let h;return t[5]!==s||t[6]!==m?(h=(0,jt.jsx)(tc,{children:(0,jt.jsx)(rc.Provider,{value:m,children:s})}),t[5]=s,t[6]=m,t[7]=h):h=t[7],h}function cc(){const e=(0,a.c)(14),t=(0,to.useTheme)();let s,o,n,r,i,l,c;return e[0]===Symbol.for(“react.memo_cache_sentinel”)?(s=[to.atoms.align_start],e[0]=s):s=e[0],e[1]!==t.palette.primary_25?(o=[to.atoms.pl_md,to.atoms.pr_lg,to.atoms.py_sm,to.atoms.rounded_full,to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_xs,{backgroundColor:t.palette.primary_25}],e[1]=t.palette.primary_25,e[2]=o):o=e[2],e[3]!==t.palette.primary_600?(n=(0,jt.jsx)(Bi,{fill:t.palette.primary_600,width:14}),e[3]=t.palette.primary_600,e[4]=n):n=e[4],e[5]!==t.palette.primary_600?(r=[to.atoms.font_semi_bold,{color:t.palette.primary_600}],e[5]=t.palette.primary_600,e[6]=r):r=e[6],e[7]===Symbol.for(“react.memo_cache_sentinel”)?(i=(0,jt.jsx)(ut.Trans,{id:”QDQTbK”}),e[7]=i):i=e[7],e[8]!==r?(l=(0,jt.jsx)(_o.Text,{style:r,children:i}),e[8]=r,e[9]=l):l=e[9],e[10]!==o||e[11]!==n||e[12]!==l?(c=(0,jt.jsx)(Qs.default,{style:s,children:(0,jt.jsxs)(Qs.default,{style:o,children:[n,l]})}),e[10]=o,e[11]=n,e[12]=l,e[13]=c):c=e[13],c}rc.displayName=”PolicyUpdateOverlayContext”;var dc=o(45208),uc=o(43518);function mc(e){const t=(0,a.c)(2),{children:s}=e;let o;return t[0]!==s?(o=(0,jt.jsx)(yn.FocusScope,{loop:!0,asChild:!0,trapped:!0,children:s}),t[0]=s,t[1]=o):o=t[1],o}const hc=Zs.RemoveScrollBar,pc=24;function fc(e){const t=(0,a.c)(50),{children:s,label:o}=e,n=(0,to.useTheme)(),{gtPhone:r}=(0,to.useBreakpoints)(),{reduceMotionEnabled:l}=(0,Vt.useA11y)(),c=(0,dt.useSafeAreaInsets)(),d=(0,dt.useSafeAreaFrame)();let u;t[0]===Symbol.for(“react.memo_cache_sentinel”)?(u=(0,jt.jsx)(hc,{}),t[0]=u):u=t[0];const m=!l&&to.atoms.fade_in;let h,p,f,g,x,_,y,b,j,v;t[1]!==m?(h=[to.atoms.fixed,to.atoms.inset_0,m],t[1]=m,t[2]=h):h=t[2],t[3]!==r||t[4]!==l||t[5]!==n.atoms.bg||t[6]!==n.palette?(p=r?(0,jt.jsx)(Qs.default,{style:[to.atoms.absolute,to.atoms.inset_0,{opacity:.8}],children:(0,jt.jsx)(Qs.default,{style:[to.atoms.fixed,to.atoms.inset_0,{backgroundColor:n.palette.black},!l&&to.atoms.fade_in]})}):(0,jt.jsx)(Ho.LinearGradient,{colors:[uc.utils.alpha(n.atoms.bg.backgroundColor,0),n.atoms.bg.backgroundColor,n.atoms.bg.backgroundColor],start:[.5,0],end:[.5,1],style:[to.atoms.absolute,to.atoms.inset_0]}),t[3]=r,t[4]=l,t[5]=n.atoms.bg,t[6]=n.palette,t[7]=p):p=t[7],t[8]!==h||t[9]!==p?(f=(0,jt.jsx)(Qs.default,{style:h,children:p}),t[8]=h,t[9]=p,t[10]=f):f=t[10],t[11]!==r?(g=r&&(0,to.web)({paddingHorizontal:pc,paddingVertical:”10vh”}),t[11]=r,t[12]=g):g=t[12],t[13]!==g?(x=[to.atoms.z_10,g],t[13]=g,t[14]=x):x=t[14],t[15]===Symbol.for(“react.memo_cache_sentinel”)?(_=[to.atoms.align_center],t[15]=_):_=t[15],t[16]!==d||t[17]!==r?(y=!r&&[to.atoms.justify_end,{minHeight:d.height}],t[16]=d,t[17]=r,t[18]=y):y=t[18],t[19]!==c?(b=i.IS_NATIVE&&[{paddingBottom:Math.max(c.bottom,to.atoms.p_2xl.padding)}],t[19]=c,t[20]=b):b=t[20],t[21]!==b||t[22]!==y?(j=[to.atoms.w_full,to.atoms.z_20,to.atoms.align_center,y,b],t[21]=b,t[22]=y,t[23]=j):j=t[23],t[24]!==r||t[25]!==c||t[26]!==n.atoms.bg?(v=!r&&(0,jt.jsx)(Qs.default,{style:[to.atoms.flex_1,to.atoms.w_full,{minHeight:Math.max(c.top,to.atoms.p_2xl.padding)}],children:(0,jt.jsx)(Ho.LinearGradient,{colors:[uc.utils.alpha(n.atoms.bg.backgroundColor,0),n.atoms.bg.backgroundColor],start:[.5,0],end:[.5,1],style:[to.atoms.absolute,to.atoms.inset_0]})}),t[24]=r,t[25]=c,t[26]=n.atoms.bg,t[27]=v):v=t[27];const S=!l&&to.atoms.zoom_fade_in;let w,T,k,C,I,A;return t[28]!==r||t[29]!==n.atoms.border_contrast_low||t[30]!==n.atoms.shadow_lg?(w=r&&[to.atoms.rounded_md,to.atoms.border,n.atoms.shadow_lg,n.atoms.border_contrast_low,(0,to.web)({maxWidth:420})],t[28]=r,t[29]=n.atoms.border_contrast_low,t[30]=n.atoms.shadow_lg,t[31]=w):w=t[31],t[32]!==n.atoms.bg||t[33]!==S||t[34]!==w?(T=[to.atoms.relative,to.atoms.w_full,to.atoms.p_2xl,n.atoms.bg,S,w],t[32]=n.atoms.bg,t[33]=S,t[34]=w,t[35]=T):T=t[35],t[36]!==s||t[37]!==o||t[38]!==T?(k=(0,jt.jsx)(mc,{children:(0,jt.jsx)(Qs.default,{accessible:i.IS_ANDROID,role:”dialog”,”aria-role”:”dialog”,”aria-label”:o,style:T,children:s})}),t[36]=s,t[37]=o,t[38]=T,t[39]=k):k=t[39],t[40]!==j||t[41]!==v||t[42]!==k?(C=(0,jt.jsxs)(Qs.default,{style:j,children:[v,k]}),t[40]=j,t[41]=v,t[42]=k,t[43]=C):C=t[43],t[44]!==C||t[45]!==x?(I=(0,jt.jsx)(dc.default,{showsVerticalScrollIndicator:!1,style:x,contentContainerStyle:_,children:C}),t[44]=C,t[45]=x,t[46]=I):I=t[46],t[47]!==I||t[48]!==f?(A=(0,jt.jsxs)(jt.Fragment,{children:[u,f,I]}),t[47]=I,t[48]=f,t[49]=A):A=t[49],A}function gc(e){const t=(0,a.c)(65),{state:s}=e,o=(0,to.useTheme)(),{_:n}=(0,ut.useLingui)(),{screenReaderEnabled:r}=(0,Vt.useA11y)();let l;t[0]!==s?(l=()=>{s.complete()},t[0]=s,t[1]=l):l=t[1];const c=l;let d;t[2]===Symbol.for(“react.memo_cache_sentinel”)?(d=[to.atoms.text_md],t[2]=d):d=t[2];const u=d;let m,h,p,f,g,x,_,y,b,j,v;t[3]!==n?(m=n({id:”xowcRf”}),t[3]=n,t[4]=m):m=t[4],t[5]!==m?(h={overridePresentation:!1,to:”https://bsky.social/about/support/tos”,label:m},t[5]=m,t[6]=h):h=t[6],t[7]!==n?(p=n({id:”LcET2C”}),t[7]=n,t[8]=p):p=t[8],t[9]!==p?(f={overridePresentation:!1,to:”https://bsky.social/about/support/privacy-policy”,label:p},t[9]=p,t[10]=f):f=t[10],t[11]!==n?(g=n({id:”u40k/o”}),t[11]=n,t[12]=g):g=t[12],t[13]!==g?(x={overridePresentation:!1,to:”https://bsky.social/about/support/copyright”,label:g},t[13]=g,t[14]=x):x=t[14],t[15]!==n?(_=n({id:”KHzDTk”}),t[15]=n,t[16]=_):_=t[16],t[17]!==_?(y={overridePresentation:!1,to:”https://bsky.social/about/support/community-guidelines”,label:_},t[17]=_,t[18]=y):y=t[18],t[19]!==n?(b=n({id:”KDUWLT”}),t[19]=n,t[20]=b):b=t[20],t[21]!==b?(j={overridePresentation:!1,to:”https://bsky.social/about/blog/08-14-2025-updated-terms-and-policies”,label:b},t[21]=b,t[22]=j):j=t[22],t[23]!==y||t[24]!==j||t[25]!==h||t[26]!==f||t[27]!==x?(v={terms:h,privacy:f,copyright:x,guidelines:y,blog:j},t[23]=y,t[24]=j,t[25]=h,t[26]=f,t[27]=x,t[28]=v):v=t[28];const S=v;let w;t[29]===Symbol.for(“react.memo_cache_sentinel”)?(w={overridePresentation:!1,color:”secondary”,size:”small”},t[29]=w):w=t[29];const T=w;let k;t[30]!==n?(k=i.IS_ANDROID?n({id:”c+GRN4″}):n({id:”bk+r3I”}),t[30]=n,t[31]=k):k=t[31];const C=k;let I,A,P,E,L,R,D,B,O,M,F,N,H,V;return t[32]===Symbol.for(“react.memo_cache_sentinel”)?(I=[to.atoms.align_start,to.atoms.gap_xl],A=(0,jt.jsx)(cc,{}),t[32]=I,t[33]=A):(I=t[32],A=t[33]),t[34]!==S.blog||t[35]!==S.copyright||t[36]!==S.guidelines||t[37]!==S.privacy||t[38]!==S.terms||t[39]!==r?(P=r?(0,jt.jsxs)(Qs.default,{style:[to.atoms.gap_sm],children:[(0,jt.jsx)(_o.Text,{emoji:!0,style:[to.atoms.text_2xl,to.atoms.font_semi_bold,to.atoms.leading_snug],children:(0,jt.jsx)(ut.Trans,{id:”knqPkd”})}),(0,jt.jsx)(_o.Text,{style:[to.atoms.leading_snug,to.atoms.text_md],children:(0,jt.jsx)(ut.Trans,{id:”aHLLau”})}),(0,jt.jsx)(_o.Text,{style:[to.atoms.leading_snug,to.atoms.text_md],children:(0,jt.jsx)(ut.Trans,{id:”imDQim”})}),(0,jt.jsx)(_o.Text,{style:[to.atoms.leading_snug,to.atoms.text_md],children:(0,jt.jsx)(ut.Trans,{id:”X+xjxI”})}),(0,jt.jsx)(go.Link,Object.assign({},S.terms,T,{children:(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”xowcRf”})})})),(0,jt.jsx)(go.Link,Object.assign({},S.privacy,T,{children:(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”LcET2C”})})})),(0,jt.jsx)(go.Link,Object.assign({},S.copyright,T,{children:(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”u40k/o”})})})),(0,jt.jsx)(go.Link,Object.assign({},S.blog,T,{children:(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”BhPzCY”})})}))]}):(0,jt.jsxs)(Qs.default,{style:[to.atoms.gap_sm],children:[(0,jt.jsx)(_o.Text,{emoji:!0,style:[to.atoms.text_2xl,to.atoms.font_semi_bold,to.atoms.leading_snug],children:(0,jt.jsx)(ut.Trans,{id:”knqPkd”})}),(0,jt.jsx)(_o.Text,{style:[to.atoms.leading_snug,to.atoms.text_md],children:(0,jt.jsx)(ut.Trans,{id:”8+L8h9″,components:{0:(0,jt.jsx)(go.InlineLinkText,Object.assign({},S.terms,{style:u})),1:(0,jt.jsx)(go.InlineLinkText,Object.assign({},S.privacy,{style:u})),2:(0,jt.jsx)(go.InlineLinkText,Object.assign({},S.copyright,{style:u}))}})}),(0,jt.jsx)(_o.Text,{style:[to.atoms.leading_snug,to.atoms.text_md],children:(0,jt.jsx)(ut.Trans,{id:”mWArFm”,components:{0:(0,jt.jsx)(go.InlineLinkText,Object.assign({},S.guidelines,{style:u}))}})}),(0,jt.jsx)(_o.Text,{style:[to.atoms.leading_snug,to.atoms.text_md],children:(0,jt.jsx)(ut.Trans,{id:”Ix7hx8″,components:{0:(0,jt.jsx)(go.InlineLinkText,Object.assign({},S.blog,{style:u}))}})})]}),t[34]=S.blog,t[35]=S.copyright,t[36]=S.guidelines,t[37]=S.privacy,t[38]=S.terms,t[39]=r,t[40]=P):P=t[40],t[41]===Symbol.for(“react.memo_cache_sentinel”)?(E=[to.atoms.w_full,to.atoms.gap_md],t[41]=E):E=t[41],t[42]!==n?(L=n({id:”xGVfLh”}),t[42]=n,t[43]=L):L=t[43],t[44]!==n?(R=n({id:”nO0I9e”}),t[44]=n,t[45]=R):R=t[45],t[46]===Symbol.for(“react.memo_cache_sentinel”)?(D=(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”xGVfLh”})}),t[46]=D):D=t[46],t[47]!==c||t[48]!==L||t[49]!==R?(B=(0,jt.jsx)(po.Button,{label:L,accessibilityHint:R,color:”primary”,size:”large”,onPress:c,children:D}),t[47]=c,t[48]=L,t[49]=R,t[50]=B):B=t[50],t[51]!==o.atoms.text_contrast_medium?(O=[to.atoms.leading_snug,to.atoms.text_sm,to.atoms.italic,o.atoms.text_contrast_medium],t[51]=o.atoms.text_contrast_medium,t[52]=O):O=t[52],t[53]===Symbol.for(“react.memo_cache_sentinel”)?(M=(0,jt.jsx)(ut.Trans,{id:”i3I0VB”}),t[53]=M):M=t[53],t[54]!==O?(F=(0,jt.jsx)(_o.Text,{style:O,children:M}),t[54]=O,t[55]=F):F=t[55],t[56]!==B||t[57]!==F?(N=(0,jt.jsxs)(Qs.default,{style:E,children:[B,F]}),t[56]=B,t[57]=F,t[58]=N):N=t[58],t[59]!==P||t[60]!==N?(H=(0,jt.jsxs)(Qs.default,{style:I,children:[A,P,N]}),t[59]=P,t[60]=N,t[61]=H):H=t[61],t[62]!==C||t[63]!==H?(V=(0,jt.jsx)(fc,{label:C,children:H}),t[62]=C,t[63]=H,t[64]=V):V=t[64],V}function xc(){const e=(0,a.c)(6),{state:t,setIsReadyToShowOverlay:s}=ic();let o,n,r,l;return e[0]!==s?(o=()=>{s()},n=[s],e[0]=s,e[1]=o,e[2]=n):(o=e[1],n=e[2]),(0,ct.useEffect)(o,n),t.completed?null:(e[3]===Symbol.for(“react.memo_cache_sentinel”)?(r=[to.atoms.fixed,to.atoms.inset_0,!i.IS_IOS&&{zIndex:9999}],e[3]=r):r=e[3],e[4]!==t?(l=(0,jt.jsx)(sc,{children:(0,jt.jsx)(Zl.FullWindowOverlay,{children:(0,jt.jsx)(Qs.default,{style:r,children:(0,jt.jsx)(gc,{state:t})})})}),e[4]=t,e[5]=l):l=e[5],l)}var _c=o(74011);const yc=o(50586);function bc({control:e}){const{_:t}=(0,ut.useLingui)(),s=(0,rn.useAnalytics)(),{requestSwitchToAccount:o}=Bs(),{gtMobile:n}=(0,to.useBreakpoints)(),[a,r]=(0,ct.useState)(!1),[i,l]=(0,ct.useState)(!1),c=t=>{r(!0),setTimeout((()=>{e.close(),t&&t()}),150)};(0,ct.useEffect)((()=>{e.isOpen&&s.metric(“welcomeModal:presented”,{})}),[e.isOpen]);return _n.useFocusGuards(),(0,jt.jsx)(Qs.default,{role:”dialog”,”aria-modal”:!0,style:[to.atoms.fixed,to.atoms.inset_0,to.atoms.justify_center,to.atoms.align_center,{zIndex:9999,backgroundColor:”rgba(0,0,0,0.2)”},(0,to.web)({backdropFilter:”blur(15px)”}),a?to.atoms.fade_out:to.atoms.fade_in],children:(0,jt.jsx)(yn.FocusScope,{asChild:!0,loop:!0,trapped:!0,children:(0,jt.jsx)(Qs.default,{style:(0,to.flatten)([{maxWidth:800,maxHeight:600,width:”90%”,height:”90%”,backgroundColor:”#C0DCF0″},to.atoms.rounded_lg,to.atoms.overflow_hidden,to.atoms.zoom_in]),children:(0,jt.jsxs)(_c.ImageBackground,{source:yc,style:[to.atoms.flex_1,to.atoms.justify_center],contentFit:”cover”,children:[(0,jt.jsxs)(Qs.default,{style:[to.atoms.gap_2xl,to.atoms.align_center,to.atoms.p_4xl],children:[(0,jt.jsx)(Qs.default,{style:[to.atoms.flex_row,to.atoms.align_center,to.atoms.justify_center,to.atoms.w_full,to.atoms.p_0],children:(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_xs],children:[(0,jt.jsx)(Bi,{width:26}),(0,jt.jsx)(_o.Text,{style:[to.atoms.text_2xl,to.atoms.font_semi_bold,to.atoms.user_select_none,{color:”#354358″,letterSpacing:-.5}],children:”Bluesky”})]})}),(0,jt.jsx)(Qs.default,{style:[to.atoms.gap_sm,to.atoms.align_center,to.atoms.pt_5xl,to.atoms.pb_3xl,to.atoms.mt_2xl],children:(0,jt.jsxs)(_o.Text,{style:[n?to.atoms.text_4xl:to.atoms.text_3xl,to.atoms.font_semi_bold,to.atoms.text_center,{color:”#354358″},(0,to.web)({backgroundImage:”linear-gradient(180deg, #313F54 0%, #667B99 83.65%, rgba(102, 123, 153, 0.50) 100%)”,backgroundClip:”text”,WebkitBackgroundClip:”text”,WebkitTextFillColor:”transparent”,color:”transparent”,lineHeight:1.2,letterSpacing:-.5})],children:[(0,jt.jsx)(ut.Trans,{id:”/JX/A2″}),”\n”,(0,jt.jsx)(ut.Trans,{id:”H4s+Xp”}),”\n”,(0,jt.jsx)(ut.Trans,{id:”iZyyjK”})]})}),(0,jt.jsxs)(Qs.default,{style:[to.atoms.gap_md,to.atoms.align_center],children:[(0,jt.jsxs)(Qs.default,{children:[(0,jt.jsx)(po.Button,{onPress:()=>{s.metric(“welcomeModal:signupClicked”,{}),e.close(),o({requestedAccount:”new”})},label:t({id:”1hMWR6″}),size:”large”,color:”primary”,style:{width:200,backgroundColor:”#006AFF”},children:(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”1hMWR6″})})}),(0,jt.jsx)(po.Button,{onPress:()=>{s.metric(“welcomeModal:exploreClicked”,{}),c()},label:t({id:”5qvsXU”}),size:”large”,color:”primary”,variant:”ghost”,style:[to.atoms.bg_transparent,{width:200}],hoverStyle:[to.atoms.bg_transparent],children:({hovered:e})=>(0,jt.jsx)(po.ButtonText,{style:[e&&[to.atoms.underline],{color:”#006AFF”}],children:(0,jt.jsx)(ut.Trans,{id:”5qvsXU”})})})]}),(0,jt.jsx)(Qs.default,{style:[to.atoms.align_center,{minWidth:200}],children:(0,jt.jsxs)(_o.Text,{style:[to.atoms.text_md,to.atoms.text_center,{color:”#405168″,lineHeight:24}],children:[(0,jt.jsx)(ut.Trans,{id:”8wYDMp”}),” “,(0,jt.jsx)(gn.default,{onPointerEnter:()=>l(!0),onPointerLeave:()=>l(!1),accessibilityRole:”button”,accessibilityLabel:t({id:”5lWFkC”}),accessibilityHint:””,children:(0,jt.jsx)(_o.Text,{style:[to.atoms.font_medium,{color:”#006AFF”,fontSize:void 0},i&&to.atoms.underline],onPress:()=>{s.metric(“welcomeModal:signinClicked”,{}),e.close(),o({requestedAccount:”existing”})},children:(0,jt.jsx)(ut.Trans,{id:”5lWFkC”})})})]})})]})]}),(0,jt.jsx)(po.Button,{label:t({id:”fyI/WM”}),style:[to.atoms.absolute,{top:8,right:8},to.atoms.bg_transparent],hoverStyle:[to.atoms.bg_transparent],onPress:()=>{s.metric(“welcomeModal:dismissed”,{}),c()},color:”secondary”,size:”small”,variant:”ghost”,shape:”round”,children:({hovered:e,pressed:t,focused:s})=>(0,jt.jsx)(jn.TimesLarge_Stroke2_Corner0_Rounded,{size:”md”,style:{color:”#354358″,opacity:e||t||s?1:.7}})})]})})})})}const jc=”https://blueskyweb.zendesk.com/hc/requests/new”;let vc=function(e){return e.AA_DID=”AA_DID”,e.AA_BIRTHDATE=”AA_BIRTHDATE”,e}({});function Sc(){const e=(0,a.c)(3),{_:t}=(0,ut.useLingui)(),{currentAccount:s}=(0,Yt.useSession)();let o;return e[0]!==t||e[1]!==s?(o=e=>{const{code:o,email:n}=e,a=new URL(jc);return s&&(a.search=new URLSearchParams({tf_anonymous_requester_email:n||s.email||””,tf_description:`[Code: ${o}] \u2014 `+t({id:”OjM9vI”}),tf_17205412673421:s.handle+` (${s.did})`}).toString()),a.toString()},e[0]=t,e[1]=s,e[2]=o):o=e[2],o}var wc=o(15186),Tc=o(4e3);function kc(e){const t=(0,a.c)(13),{control:s}=e,{_:o}=(0,ut.useLingui)();let n,r,i,l,c,d,u;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(n=(0,jt.jsx)(so.Handle,{}),t[0]=n):n=t[0],t[1]!==o?(r=o({id:”A83LVV”}),t[1]=o,t[2]=r):r=t[2],t[3]===Symbol.for(“react.memo_cache_sentinel”)?(i=[(0,to.web)({maxWidth:400})],t[3]=i):i=t[3],t[4]!==s?(l=(0,jt.jsx)(Cc,{control:s}),t[4]=s,t[5]=l):l=t[5],t[6]===Symbol.for(“react.memo_cache_sentinel”)?(c=(0,jt.jsx)(so.Close,{}),t[6]=c):c=t[6],t[7]!==r||t[8]!==l?(d=(0,jt.jsxs)(so.ScrollableInner,{label:r,style:i,children:[l,c]}),t[7]=r,t[8]=l,t[9]=d):d=t[9],t[10]!==s||t[11]!==d?(u=(0,jt.jsxs)(so.Outer,{control:s,children:[n,d]}),t[10]=s,t[11]=d,t[12]=u):u=t[12],u}function Cc(e){const t=(0,a.c)(58),{control:s}=e,{_:o}=(0,ut.useLingui)(),n=(0,rn.useAnalytics)(),{currentAccount:r}=(0,Yt.useSession)(),{gtPhone:i}=(0,to.useBreakpoints)(),l=(0,Yt.useAgent)(),[c,d]=ct.useState(“”),u=c.length>1e3;let m,h,p,f;t[0]!==l||t[1]!==n||t[2]!==r?.did||t[3]!==c?(m=async()=>{n.metric(“ageAssurance:appealDialogSubmit”,{}),await l.createModerationReport({reasonType:On.ToolsOzoneReportDefs.REASONAPPEAL,subject:{$type:”com.atproto.admin.defs#repoRef”,did:r?.did},reason:”AGE_ASSURANCE_INQUIRY: “+c},{encoding:”application/json”,headers:Wt.BLUESKY_MOD_SERVICE_HEADERS})},t[0]=l,t[1]=n,t[2]=r?.did,t[3]=c,t[4]=m):m=t[4],t[5]!==o?(h=e=>{el.logger.error(“AgeAssuranceAppealDialog failed”,{safeMessage:e}),Gs.show(o({id:”4YTvvV”}),”xmark”)},t[5]=o,t[6]=h):h=t[6],t[7]!==o||t[8]!==s?(p=()=>{s.close(),Gs.show(o({id:”z+cAwR”}))},t[7]=o,t[8]=s,t[9]=p):p=t[9],t[10]!==m||t[11]!==h||t[12]!==p?(f={mutationFn:m,onError:h,onSuccess:p},t[10]=m,t[11]=h,t[12]=p,t[13]=f):f=t[13];const{mutate:g,isPending:x}=(0,wo.useMutation)(f);let _,y,b,j,v,S,w,T,k,C,I,A,P,E,L,R,D,B,O,M,F;return t[14]===Symbol.for(“react.memo_cache_sentinel”)?(_=(0,jt.jsx)(Qs.default,{style:[to.atoms.align_start],children:(0,jt.jsx)(Ji.AgeAssuranceBadge,{})}),t[14]=_):_=t[14],t[15]===Symbol.for(“react.memo_cache_sentinel”)?(y=(0,jt.jsx)(_o.Text,{style:[to.atoms.text_2xl,to.atoms.font_bold,to.atoms.pt_md,to.atoms.leading_tight],children:(0,jt.jsx)(ut.Trans,{id:”Bhgd0l”})}),t[15]=y):y=t[15],t[16]===Symbol.for(“react.memo_cache_sentinel”)?(b=(0,jt.jsx)(_o.Text,{style:[to.atoms.text_sm,to.atoms.pt_sm,to.atoms.leading_snug],children:(0,jt.jsx)(ut.Trans,{id:”DUu266″})}),t[16]=b):b=t[16],t[17]===Symbol.for(“react.memo_cache_sentinel”)?(j=[to.atoms.pt_md],t[17]=j):j=t[17],t[18]===Symbol.for(“react.memo_cache_sentinel”)?(v=e=>{d(e)},t[18]=v):v=t[18],t[19]!==o?(S=o({id:”vLJAM+”}),t[19]=o,t[20]=S):S=t[20],t[21]!==g?(w=()=>g(),t[21]=g,t[22]=w):w=t[22],t[23]!==c||t[24]!==u||t[25]!==S||t[26]!==w?(T=(0,jt.jsx)(so.Input,{multiline:!0,isInvalid:u,value:c,onChangeText:v,label:S,numberOfLines:4,onSubmitEditing:w}),t[23]=c,t[24]=u,t[25]=S,t[26]=w,t[27]=T):T=t[27],t[28]!==i?(k=i&&[to.atoms.flex_row_reverse],t[28]=i,t[29]=k):k=t[29],t[30]!==k?(C=[to.atoms.pt_md,to.atoms.gap_sm,k],t[30]=k,t[31]=C):C=t[31],t[32]!==o?(I=o({id:”hQRttt”}),t[32]=o,t[33]=I):I=t[33],t[34]!==g?(A=()=>g(),t[34]=g,t[35]=A):A=t[35],t[36]===Symbol.for(“react.memo_cache_sentinel”)?(P=(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”hQRttt”})}),t[36]=P):P=t[36],t[37]!==x?(E=x&&(0,jt.jsx)(po.ButtonIcon,{icon:xo.Loader,position:”right”}),t[37]=x,t[38]=E):E=t[38],t[39]!==I||t[40]!==A||t[41]!==E?(L=(0,jt.jsxs)(po.Button,{label:I,size:”small”,variant:”solid”,color:”primary”,onPress:A,children:[P,E]}),t[39]=I,t[40]=A,t[41]=E,t[42]=L):L=t[42],t[43]!==o?(R=o({id:”dEgA5A”}),t[43]=o,t[44]=R):R=t[44],t[45]!==s?(D=()=>s.close(),t[45]=s,t[46]=D):D=t[46],t[47]===Symbol.for(“react.memo_cache_sentinel”)?(B=(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”dEgA5A”})}),t[47]=B):B=t[47],t[48]!==R||t[49]!==D?(O=(0,jt.jsx)(po.Button,{label:R,size:”small”,variant:”solid”,color:”secondary”,onPress:D,children:B}),t[48]=R,t[49]=D,t[50]=O):O=t[50],t[51]!==C||t[52]!==L||t[53]!==O?(M=(0,jt.jsxs)(Qs.default,{style:C,children:[L,O]}),t[51]=C,t[52]=L,t[53]=O,t[54]=M):M=t[54],t[55]!==T||t[56]!==M?(F=(0,jt.jsxs)(Qs.default,{children:[_,y,b,(0,jt.jsxs)(Qs.default,{style:j,children:[T,M]})]}),t[55]=T,t[56]=M,t[57]=F):F=t[57],F}var Ic=o(77585);const Ac=/([a-zA-Z0-9._%+-]+)@(gnail\.(co|com)|gmaill\.(co|com)|gmai\.(co|com)|gmail\.co|gmal\.(co|com)|iclod\.(co|com)|icloud\.co|outllok\.(co|com)|outlok\.(co|com)|outlook\.co|yaoo\.(co|com)|yaho\.(co|com)|yahoo\.co|yahooo\.(co|com))$/;function Pc(e,t){return!t.parse(e).isIcann||Ac.test(e)}const Ec={kwsHome:”https://www.kidswebservices.com/en-US”,kwsTermsOfUse:”https://www.kidswebservices.com/en-US/terms-of-use”,kwsPrivacyPolicy:”https://www.kidswebservices.com/en-US/privacy-policy”},Lc=[{value:”en”,label:”English”},{value:”ar”,label:”\u0627\u0644\u0639\u0631\u0628\u064a\u0629″},{value:”zh-Hans”,label:”\u7b80\u4f53\u4e2d\u6587″},{value:”nl”,label:”Nederlands”},{value:”tl”,label:”Filipino”},{value:”fr”,label:”Fran\xe7ais”},{value:”de”,label:”Deutsch”},{value:”id”,label:”Bahasa Indonesia”},{value:”it”,label:”Italiano”},{value:”ja”,label:”\u65e5\u672c\u8a9e”},{value:”ko”,label:”\ud55c\uad6d\uc5b4″},{value:”pt”,label:”Portugu\xeas”},{value:”pt-BR”,label:”Portugu\xeas (Brasil)”},{value:”ru”,label:”\u0420\u0443\u0441\u0441\u043a\u0438\u0439″},{value:”es”,label:”Espa\xf1ol”},{value:”tr”,label:”T\xfcrk\xe7e”},{value:”th”,label:”\u0e20\u0e32\u0e29\u0e32\u0e44\u0e17\u0e22″},{value:”vi”,label:”Ti\u1ebfng Vi\u1ec7t”}];var Rc=o(81826);function Dc({value:e,onChange:t,items:s=Bt.APP_LANGUAGES.map((e=>({label:e.name,value:e.code2}))),label:o}){const{_:n}=(0,ut.useLingui)(),a=ct.useCallback((e=>{e&&t((0,Dt.sanitizeAppLanguageSetting)(e))}),[t]);return(0,jt.jsxs)(Rc.Root,{value:e?(0,Dt.sanitizeAppLanguageSetting)(e):void 0,onValueChange:a,children:[(0,jt.jsxs)(Rc.Trigger,{label:n({id:”k/sb6z”}),children:[(0,jt.jsx)(Rc.ValueText,{placeholder:n({id:”k/sb6z”})}),(0,jt.jsx)(Rc.Icon,{})]}),(0,jt.jsx)(Rc.Content,{label:o,renderItem:({label:e,value:t})=>(0,jt.jsxs)(Rc.Item,{value:t,label:e,children:[(0,jt.jsx)(Rc.ItemIndicator,{}),(0,jt.jsx)(Rc.ItemText,{children:e})]}),items:s})]})}var Bc=o(4359);const Oc=i.BLUESKY_PROXY_DID!==Wt.PUBLIC_APPVIEW_DID?Wt.DEV_ENV_APPVIEW:Wt.PUBLIC_APPVIEW;var Mc=o(94346);function Fc(e){const t=(0,a.c)(11),{control:s}=e,{_:o}=(0,ut.useLingui)();let n,r,i,l,c,d,u;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(n=(0,jt.jsx)(so.Handle,{}),t[0]=n):n=t[0],t[1]!==o?(r=o({id:”HYfLHN”}),t[1]=o,t[2]=r):r=t[2],t[3]===Symbol.for(“react.memo_cache_sentinel”)?(i=[(0,to.web)({maxWidth:400})],l=(0,jt.jsx)(Nc,{}),c=(0,jt.jsx)(so.Close,{}),t[3]=i,t[4]=l,t[5]=c):(i=t[3],l=t[4],c=t[5]),t[6]!==r?(d=(0,jt.jsxs)(so.ScrollableInner,{label:r,style:i,children:[l,c]}),t[6]=r,t[7]=d):d=t[7],t[8]!==s||t[9]!==d?(u=(0,jt.jsxs)(so.Outer,{control:s,children:[n,d]}),t[8]=s,t[9]=d,t[10]=u):u=t[10],u}function Nc(){const e=(0,a.c)(46),{_:t}=(0,ut.useLingui)(),s=(0,rn.useAnalytics)(),{currentAccount:n}=(0,Yt.useSession)(),r=(0,Ot.useLanguagePrefs)(),l=co(),{close:c}=so.useDialogContext(),d=(0,el.useAgeAssurance)().state.lastInitiatedAt,u=(0,wc.useGetTimeAgo)(),m=function(){const[e,t]=(0,ct.useState)();return(0,ct.useEffect)((()=>{o.e(4812).then(o.t.bind(o,64812,19)).then((e=>{t(e)}))}),[]),e}(),h=Sc();let p;e[0]!==d?(p=d&&new Date(d).getTime()>Date.now()-3e5,e[0]=d,e[1]=p):p=e[1];const f=p,[g,x]=(0,ct.useState)(!1),[_,y]=(0,ct.useState)(n?.email||””),[b,j]=(0,ct.useState)(“”),[v,S]=(0,ct.useState)(!1),[w,T]=(0,ct.useState)(!1);let k;e[2]!==r.appLanguage?(k=function(e){switch(e){case”en-GB”:return”en”;case”pt-PT”:return”pt”;case”zh-Hans-CN”:case”zh-Hant-HK”:case”zh-Hant-TW”:return”zh-Hans”;default:return Lc.find((t=>t.value===e))?.value}}(r.appLanguage),e[2]=r.appLanguage,e[3]=k):k=e[3];const[C,I]=(0,ct.useState)(k),[A,P]=(0,ct.useState)(null),{mutateAsync:E,isPending:L}=function(){const e=(0,rn.useAnalytics)(),t=(0,Yt.useAgent)(),s=(0,Fl.useGeolocation)(),o=(0,el.usePatchAgeAssuranceServerState)();return(0,wo.useMutation)({async mutationFn(n){const a=s?.countryCode?.toUpperCase(),r=s?.regionCode?.toUpperCase();if(!a)throw new Error(“Geolocation not available, cannot init age assurance.”);const{data:{token:l}}=await t.com.atproto.server.getServiceAuth({aud:i.BLUESKY_PROXY_DID,lxm:”app.bsky.ageassurance.begin”}),c=new On.AtpAgent({service:Oc});c.sessionManager.session=Object.assign({},t.session),c.sessionManager.session.accessJwt=l,c.sessionManager.session.refreshJwt=””,e.metric(“ageAssurance:api:begin”,{platform:”web”,countryCode:a,regionCode:r});const{data:d}=await(0,lo.wait)(2e3,c.app.bsky.ageassurance.begin(Object.assign({},n,{countryCode:a,regionCode:r})));o(d)},onError(e){mo(e)||Bc.logger.error(“useBeginAgeAssurance failed”,{safeMessage:e})}})}();let R;e[4]!==t||e[5]!==_||e[6]!==m?(R=()=>(0,Bo.validate)(_)?(j(“”),T(!1),m&&Pc(_,m)?(j(t({id:”Htk+Ee”})),{status:”maybe”}):{status:”valid”}):(j(t({id:”Wq6Wcm”})),T(!0),{status:”invalid”}),e[4]=t,e[5]=_,e[6]=m,e[7]=R):R=e[7];const D=R;let B;e[8]!==t||e[9]!==s||e[10]!==E||e[11]!==l||e[12]!==h||e[13]!==_||e[14]!==C||e[15]!==D?(B=async()=>{S(!1),s.metric(“ageAssurance:initDialogSubmit”,{});try{const{status:e}=D();if(“invalid”===e)return;if(!C)return void S(!0);await E({email:_,language:C}),x(!0)}catch(M){const o=M;let n=t({id:”qny5F6″});if(o instanceof Ic.XRPCError)”InvalidEmail”===o.error?(n=t({id:”NG58Yu”}),s.metric(“ageAssurance:initDialogError”,{code:”InvalidEmail”})):”DidTooLong”===o.error?(n=(0,jt.jsx)(jt.Fragment,{children:(0,jt.jsx)(ut.Trans,{id:”rZXWbO”,components:{0:(0,jt.jsx)(go.SimpleInlineLinkText,{to:h({code:vc.AA_DID,email:_}),label:t({id:”mpby9d”})})}})}),s.metric(“ageAssurance:initDialogError”,{code:”DidTooLong”})):s.metric(“ageAssurance:initDialogError”,{code:”other”});else{const{clean:e,raw:t}=l(o);n=e||t||n,s.metric(“ageAssurance:initDialogError”,{code:”other”})}P(n)}},e[8]=t,e[9]=s,e[10]=E,e[11]=l,e[12]=h,e[13]=_,e[14]=C,e[15]=D,e[16]=B):B=e[16];const O=B;let M,F,N,H,V,z,U,G;return e[17]===Symbol.for(“react.memo_cache_sentinel”)?(M=[to.atoms.align_start],F=(0,jt.jsx)(Ji.AgeAssuranceBadge,{}),e[17]=M,e[18]=F):(M=e[17],F=e[18]),e[19]===Symbol.for(“react.memo_cache_sentinel”)?(N=[to.atoms.text_xl,to.atoms.font_bold,to.atoms.pt_xl,to.atoms.pb_md],e[19]=N):N=e[19],e[20]!==g?(H=(0,jt.jsx)(_o.Text,{style:N,children:g?(0,jt.jsx)(ut.Trans,{id:”oMgC5V”}):(0,jt.jsx)(ut.Trans,{id:”UXfhL/”})}),e[20]=g,e[21]=H):H=e[21],e[22]===Symbol.for(“react.memo_cache_sentinel”)?(V=[to.atoms.pb_xl,to.atoms.gap_sm],e[22]=V):V=e[22],e[23]!==t||e[24]!==g?(z=(0,jt.jsx)(Qs.default,{style:V,children:g?(0,jt.jsx)(_o.Text,{style:[to.atoms.text_sm,to.atoms.leading_snug],children:(0,jt.jsx)(ut.Trans,{id:”uJHbA8″})}):(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(_o.Text,{style:[to.atoms.text_sm,to.atoms.leading_snug],children:(0,jt.jsx)(ut.Trans,{id:”R06uT6″,components:{0:(0,jt.jsx)(go.SimpleInlineLinkText,{label:t({id:”YlHZy7″}),to:Ec.kwsHome,style:[to.atoms.text_sm,to.atoms.leading_snug]})}})}),(0,jt.jsx)(_o.Text,{style:[to.atoms.text_sm,to.atoms.leading_snug],children:(0,jt.jsx)(ut.Trans,{id:”a407rr”})})]})}),e[23]=t,e[24]=g,e[25]=z):z=e[25],e[26]!==t||e[27]!==c||e[28]!==w||e[29]!==_||e[30]!==b||e[31]!==A||e[32]!==u||e[33]!==L||e[34]!==C||e[35]!==v||e[36]!==d||e[37]!==O||e[38]!==D||e[39]!==g||e[40]!==f?(U=g?(0,jt.jsx)(Qs.default,{style:[to.atoms.w_full],children:(0,jt.jsx)(po.Button,{label:t({id:”cu6iol”}),size:”large”,variant:”solid”,color:”secondary”,onPress:()=>c(),children:(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”cu6iol”})})})}):(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(Co,{}),(0,jt.jsxs)(Qs.default,{style:[to.atoms.w_full,to.atoms.pt_xl,to.atoms.gap_lg,to.atoms.pb_lg],children:[f&&(0,jt.jsx)(ho.Admonition,{type:”warning”,children:(0,jt.jsx)(ut.Trans,{id:”xcGGGp”,values:{0:u(d,new Date,{format:”long”})}})}),(0,jt.jsxs)(Qs.default,{children:[(0,jt.jsx)(bo.LabelText,{children:(0,jt.jsx)(ut.Trans,{id:”z8F4/3″})}),(0,jt.jsx)(bo.Root,{isInvalid:!!b,children:(0,jt.jsx)(bo.Input,{label:t({id:”z8F4/3″}),placeholder:t({id:”z8F4/3″}),value:_,onChangeText:y,onFocus:()=>j(“”),onBlur:()=>{D()},returnKeyType:”done”,autoCapitalize:”none”,autoComplete:”off”,autoCorrect:!1,onSubmitEditing:O})}),b?(0,jt.jsx)(ho.Admonition,{type:”error”,style:[to.atoms.mt_sm],children:b}):(0,jt.jsx)(ho.Admonition,{type:”tip”,style:[to.atoms.mt_sm],children:(0,jt.jsx)(ut.Trans,{id:”6P/eQF”})})]}),(0,jt.jsxs)(Qs.default,{children:[(0,jt.jsx)(bo.LabelText,{children:(0,jt.jsx)(ut.Trans,{id:”ZVJN/B”})}),(0,jt.jsx)(Dc,{label:t({id:”5v4qYi”}),value:C,onChange:e=>{I(e),S(!1)},items:Lc}),v&&(0,jt.jsx)(ho.Admonition,{type:”error”,style:[to.atoms.mt_sm],children:(0,jt.jsx)(ut.Trans,{id:”p5JUFn”})})]}),A&&(0,jt.jsx)(ho.Admonition,{type:”error”,children:A}),(0,jt.jsxs)(po.Button,{disabled:w,label:t({id:”OqENEG”}),size:”large”,variant:”solid”,color:”primary”,onPress:O,children:[(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”gpCYVr”})}),(0,jt.jsx)(po.ButtonIcon,{icon:L?xo.Loader:jo.ShieldCheck_Stroke2_Corner0_Rounded,position:”right”})]})]})]}),e[26]=t,e[27]=c,e[28]=w,e[29]=_,e[30]=b,e[31]=A,e[32]=u,e[33]=L,e[34]=C,e[35]=v,e[36]=d,e[37]=O,e[38]=D,e[39]=g,e[40]=f,e[41]=U):U=e[41],e[42]!==U||e[43]!==H||e[44]!==z?(G=(0,jt.jsx)(Qs.default,{children:(0,jt.jsxs)(Qs.default,{style:M,children:[F,H,z,U]})}),e[42]=U,e[43]=H,e[44]=z,e[45]=G):G=e[45],G}var Hc=o(78698);function Vc(e){const t=(0,a.c)(16),{control:s}=e,o=(0,to.useTheme)(),{_:n}=(0,ut.useLingui)(),{isLoading:r,error:i,data:l}=(0,Ia.usePreferencesQuery)(),c=(0,Tc.useIsBirthdateUpdateAllowed)(),{currentAccount:d}=(0,Yt.useSession)(),u=d?.accessJwt||””;let m;t[0]!==u?(m=(0,Oi.isAppPassword)(u),t[0]=u,t[1]=m):m=t[1];const h=m;let p,f,g,x;return t[2]===Symbol.for(“react.memo_cache_sentinel”)?(p={preventExpansion:!0},f=(0,jt.jsx)(so.Handle,{}),t[2]=p,t[3]=f):(p=t[2],f=t[3]),t[4]!==n||t[5]!==s||t[6]!==i||t[7]!==c||t[8]!==r||t[9]!==h||t[10]!==l||t[11]!==o.atoms.text_contrast_medium?(g=c?(0,jt.jsxs)(so.ScrollableInner,{label:n({id:”iFKbfH”}),style:(0,to.web)({maxWidth:400}),children:[(0,jt.jsxs)(Qs.default,{style:[to.atoms.gap_md],children:[(0,jt.jsx)(_o.Text,{style:[to.atoms.text_xl,to.atoms.font_semi_bold],children:(0,jt.jsx)(ut.Trans,{id:”iFKbfH”})}),(0,jt.jsx)(_o.Text,{style:[to.atoms.text_md,to.atoms.leading_snug,o.atoms.text_contrast_medium],children:(0,jt.jsx)(ut.Trans,{id:”RInsgZ”})}),r?(0,jt.jsx)(xo.Loader,{size:”xl”}):i||!l?(0,jt.jsx)(ti.ErrorMessage,{message:i?.toString()||n({id:”9q2CPa”}),style:[to.atoms.rounded_sm]}):h?(0,jt.jsx)(ho.Admonition,{type:”info”,children:(0,jt.jsx)(ut.Trans,{id:”qC5v8X”,components:{0:(0,jt.jsx)(_o.Span,{style:[to.atoms.italic]})}})}):(0,jt.jsx)(zc,{control:s,preferences:l})]}),(0,jt.jsx)(so.Close,{})]}):(0,jt.jsxs)(so.ScrollableInner,{label:n({id:”8+Cd2S”}),style:(0,to.web)({maxWidth:400}),children:[(0,jt.jsxs)(Qs.default,{style:[to.atoms.gap_sm],children:[(0,jt.jsx)(_o.Text,{style:[to.atoms.text_xl,to.atoms.font_semi_bold,to.atoms.leading_snug,{paddingRight:32}],children:(0,jt.jsx)(ut.Trans,{id:”8+Cd2S”})}),(0,jt.jsx)(_o.Text,{style:[to.atoms.text_md,to.atoms.leading_snug,o.atoms.text_contrast_medium],children:(0,jt.jsx)(ut.Trans,{id:”L/9ftr”})})]}),(0,jt.jsx)(so.Close,{})]}),t[4]=n,t[5]=s,t[6]=i,t[7]=c,t[8]=r,t[9]=h,t[10]=l,t[11]=o.atoms.text_contrast_medium,t[12]=g):g=t[12],t[13]!==s||t[14]!==g?(x=(0,jt.jsxs)(so.Outer,{control:s,nativeOptions:p,children:[f,g]}),t[13]=s,t[14]=g,t[15]=x):x=t[15],x}function zc({control:t,preferences:s}){const{_:o}=(0,ut.useLingui)(),n=co(),[a,r]=ct.useState(s.birthDate||(0,Ml.getDateAgo)(18)),{isPending:l,error:c,mutateAsync:d}=(0,Tc.useBirthdateMutation)(),u=a!==s.birthDate,m=ct.useMemo((()=>{if(c){const{raw:e,clean:t}=n(c);return t||e||c.toString()}}),[c,n]),h=(0,Ml.getAge)(new Date(a)),p=h<13,f=h>=13&&h<18,g=ct.useCallback((async()=>{try{u&&await d({birthDate:a}),t.close()}catch(e){Ht.logger.error(“setBirthDate failed”,{message:e.message})}}),[a,d,t,u]);return(0,jt.jsxs)(Qs.default,{style:to.atoms.gap_lg,testID:”birthDateSettingsDialog”,children:[(0,jt.jsx)(Qs.default,{style:i.IS_IOS&&[to.atoms.w_full,to.atoms.align_center],children:(0,jt.jsx)(Hc.DateField,{testID:”birthdayInput”,value:a,onChangeDate:e=>r(new Date(e)),label:o({id:”GRGVyN”}),accessibilityHint:o({id:”HLRq4o”})})}),f&&u&&(0,jt.jsx)(ho.Admonition,{type:”info”,children:(0,jt.jsx)(ut.Trans,{id:”7zok6J”})}),p&&(0,jt.jsx)(ho.Admonition,{type:”error”,children:(0,jt.jsx)(ut.Trans,{id:”8Dlt5o”,components:{0:(0,jt.jsx)(go.SimpleInlineLinkText,{to:”https://bsky.social/about/support/tos”,label:o({id:”xowcRf”})})}})}),m?(0,jt.jsx)(ti.ErrorMessage,{message:m,style:[to.atoms.rounded_sm]}):void 0,(0,jt.jsx)(Qs.default,{style:i.IS_WEB&&[to.atoms.flex_row,to.atoms.justify_end],children:(0,jt.jsxs)(po.Button,{label:o(u?{id:”vdwbyF”}:{id:”DPfwMq”}),size:”large”,onPress:g,variant:”solid”,color:”primary”,disabled:p,children:[(0,jt.jsx)(po.ButtonText,{children:u?(0,jt.jsx)(ut.Trans,{id:”tfDRzk”}):(0,jt.jsx)(ut.Trans,{id:”DPfwMq”})}),l&&(0,jt.jsx)(po.ButtonIcon,{icon:xo.Loader})]})})]})}const Uc=(0,na.createSinglePathSVG)({path:”M12 2a8 8 0 0 1 8 8c0 3.305-1.953 6.29-3.745 8.355a25.964 25.964 0 0 1-3.333 3.197c-.101.08-.181.142-.237.184l-.067.05-.018.014-.005.004-.002.002h-.001c-.003-.004-.042-.055-.592-.806l.592.807a1.001 1.001 0 0 1-1.184 0v-.001l-.003-.002-.005-.004-.018-.014-.067-.05a23.449 23.449 0 0 1-1.066-.877 25.973 25.973 0 0 1-2.504-2.503C5.953 16.29 4 13.305 4 10a8 8 0 0 1 8-8Zm0 2a6 6 0 0 0-6 6c0 2.56 1.547 5.076 3.255 7.044A23.978 23.978 0 0 0 12 19.723a23.976 23.976 0 0 0 2.745-2.679C16.453 15.076 18 12.56 18 10a6 6 0 0 0-6-6Zm-.002 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7Zm0 2a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z”});(0,na.createSinglePathSVG)({path:”M12.591 21.806h.002l.001-.002.006-.004.018-.014a10.028 10.028 0 0 0 .304-.235 25.952 25.952 0 0 0 3.333-3.196C18.048 16.29 20 13.305 20 10a8 8 0 1 0-16 0c0 3.305 1.952 6.29 3.745 8.355a25.955 25.955 0 0 0 3.333 3.196 15.733 15.733 0 0 0 .304.235l.018.014.006.004.002.002a1 1 0 0 0 1.183 0Zm-.593-9.306a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z”});function Gc(e){const t=(0,a.c)(13),{control:s,onLocationAcquired:o}=e,{_:n}=(0,ut.useLingui)();let r,i,l,c,d,u,m;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(r=(0,jt.jsx)(so.Handle,{}),t[0]=r):r=t[0],t[1]!==n?(i=n({id:”+TMC6s”}),t[1]=n,t[2]=i):i=t[2],t[3]===Symbol.for(“react.memo_cache_sentinel”)?(l=[(0,to.web)({maxWidth:380})],t[3]=l):l=t[3],t[4]!==o?(c=(0,jt.jsx)(Wc,{onLocationAcquired:o}),t[4]=o,t[5]=c):c=t[5],t[6]===Symbol.for(“react.memo_cache_sentinel”)?(d=(0,jt.jsx)(so.Close,{}),t[6]=d):d=t[6],t[7]!==i||t[8]!==c?(u=(0,jt.jsxs)(so.ScrollableInner,{label:i,style:l,children:[c,d]}),t[7]=i,t[8]=c,t[9]=u):u=t[9],t[10]!==s||t[11]!==u?(m=(0,jt.jsxs)(so.Outer,{control:s,children:[r,u]}),t[10]=s,t[11]=u,t[12]=m):m=t[12],m}function Wc({onLocationAcquired:t}){const s=(0,to.useTheme)(),{_:o}=(0,ut.useLingui)(),{close:n}=so.useDialogContext(),a=(0,Fl.useRequestDeviceGeolocation)(),r=co(),[l,c]=(0,ct.useState)(!1),[d,u]=(0,ct.useState)(“”),[m,h]=(0,ct.useState)(!1);return(0,jt.jsxs)(Qs.default,{style:[to.atoms.gap_md],children:[(0,jt.jsx)(_o.Text,{style:[to.atoms.text_xl,to.atoms.font_bold],children:(0,jt.jsx)(ut.Trans,{id:”+TMC6s”})}),(0,jt.jsx)(Qs.default,{style:[to.atoms.gap_sm,to.atoms.pb_xs],children:(0,jt.jsx)(_o.Text,{style:[to.atoms.text_md,to.atoms.leading_snug,s.atoms.text_contrast_medium],children:(0,jt.jsx)(ut.Trans,{id:”0SmFVL”})})}),d&&(0,jt.jsx)(Qs.default,{style:[to.atoms.pb_xs],children:(0,jt.jsx)(ho.Admonition,{type:”error”,children:d})}),(0,jt.jsxs)(Qs.default,{style:[to.atoms.gap_sm],children:[!m&&(0,jt.jsxs)(po.Button,{disabled:l,label:o({id:”mbP4Fk”}),onPress:async()=>{u(“”),c(!0);try{const e=await(0,lo.wait)(1e3,a());if(e.granted){const s=e.location;s&&s.countryCode?t?.({geolocation:s,setDialogError:u,disableDialogAction:()=>h(!0),closeDialog:n}):u(o({id:”hhIyma”}))}else u(o({id:”zUCFyf”}))}catch(e){const{clean:s,raw:o}=r(e);u(s||o||e.message),mo(e)||Ht.logger.error(“blockedGeoOverlay: unexpected error”,{safeMessage:e.message})}finally{c(!1)}},size:i.IS_WEB?”small”:”large”,color:”primary”,children:[(0,jt.jsx)(po.ButtonIcon,{icon:l?xo.Loader:Uc}),(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”mbP4Fk”})})]}),!i.IS_WEB&&(0,jt.jsx)(po.Button,{label:o({id:”dEgA5A”}),onPress:()=>n(),size:i.IS_WEB?”small”:”large”,color:”secondary”,children:(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”dEgA5A”})})})]})]})}var qc=o(24655);const Qc=[“fill”,”size”,”style”,”gradient”],Kc=(0,na.createSinglePathSVG)({path:”M6.335 4.212c2.293 1.76 4.76 5.327 5.665 7.241.906-1.914 3.372-5.482 5.665-7.241C19.319 2.942 22 1.96 22 5.086c0 .624-.35 5.244-.556 5.994-.713 2.608-3.315 3.273-5.629 2.87 4.045.704 5.074 3.035 2.852 5.366-4.22 4.426-6.066-1.111-6.54-2.53-.086-.26-.126-.382-.127-.278 0-.104-.041.018-.128.278-.473 1.419-2.318 6.956-6.539 2.53-2.222-2.331-1.193-4.662 2.852-5.366-2.314.403-4.916-.262-5.63-2.87C2.35 10.33 2 5.71 2 5.086c0-3.126 2.68-2.144 4.335-.874Z”});function Zc(e){const t=(0,a.c)(20),s=(0,qc.useCommonSVGProps)(e);let o,n,r,i,l;if(t[0]!==s){var c=s;({fill:o,size:i,style:l,gradient:n}=c),r=(0,la.default)(c,Qc),t[0]=s,t[1]=o,t[2]=n,t[3]=r,t[4]=i,t[5]=l}else o=t[1],n=t[2],r=t[3],i=t[4],l=t[5];const d=.22162162162162163*i;let u;t[6]!==l?(u=[l],t[6]=l,t[7]=u):u=t[7];const m=e.markFill??o;let h;t[8]!==m?(h=(0,jt.jsx)(Li.Path,{fill:m,fillRule:”evenodd”,clipRule:”evenodd”,d:”M101.821 7.673C112.575-.367 130-6.589 130 13.21c0 3.953-2.276 33.214-3.611 37.965-4.641 16.516-21.549 20.729-36.591 18.179 26.292 4.457 32.979 19.218 18.535 33.98-27.433 28.035-39.428-7.034-42.502-16.02-.563-1.647-.827-2.418-.831-1.763-.004-.655-.268.116-.831 1.763-3.074 8.986-15.07 44.055-42.502 16.02C7.223 88.571 13.91 73.81 40.202 69.353c-15.041 2.55-31.95-1.663-36.59-18.179C2.275 46.424 0 17.162 0 13.21 0-6.59 17.426-.368 28.18 7.673 43.084 18.817 59.114 41.413 65 53.54c5.886-12.125 21.917-34.722 36.821-45.866Z”}),t[8]=m,t[9]=h):h=t[9];const p=e.textFill??o;let f,g;return t[10]!==p?(f=(0,jt.jsx)(Li.Path,{fill:p,fillRule:”evenodd”,clipRule:”evenodd”,d:”m454.459 63.823 24.128-25.056h32.638l4.825 15.104c3.561 11.357 6.664 22.598 9.422 33.72 2.527-9.6 5.744-20.84 9.536-33.603l4.826-15.221H555l-22.864 65.335c-2.413 6.673-5.4 11.475-9.192 14.168-3.791 2.693-9.192 3.98-16.315 3.98-2.413 0-4.481-.117-6.319-.352v-11.59h5.514c6.549 0 9.767-4.099 9.767-9.719 0-2.81-.92-6.908-2.758-12.177l-17.177-49.478-22.239 22.665L497.2 99.184h-16.545l-17.234-28.101-8.962 9.133v18.968h-14.246V15.817h14.246v48.006Zm-48.373-26.46c16.889 0 25.622 6.79 26.196 20.49h-13.673c-.344-7.377-4.595-9.954-12.523-9.954-6.894 0-10.341 2.342-10.341 7.026 0 4.215 2.987 6.089 9.881 7.377l7.469 1.17c14.361 2.694 20.566 8.08 20.566 18.384 0 12.176-9.652 18.967-26.311 18.967-17.235 0-26.311-6.908-27.116-20.842h14.132c.804 7.494 4.481 10.304 13.213 10.304 7.813 0 11.72-2.459 11.72-7.26 0-4.332-2.758-6.44-11.605-7.962l-6.778-1.17c-12.983-2.224-19.418-8.313-19.418-18.265 0-11.358 8.847-18.266 24.588-18.266ZM270.534 76.351c0 7.61 3.677 11.474 11.145 11.474 7.008 0 13.212-5.268 13.213-15.22v-33.84h14.476v60.418h-14.016v-8.782c-4.481 6.791-10.686 10.187-18.614 10.187-12.523 0-20.68-7.728-20.68-21.778V38.767h14.476v37.585Zm75.432-38.99c8.961 0 16.085 3.045 21.37 9.016s7.928 13.933 7.928 23.651v3.513h-44.35c1.034 10.42 6.664 15.572 15.396 15.572 6.663 0 11.144-2.927 13.557-8.664h13.903c-3.103 12.294-13.443 20.139-27.575 20.139-8.847 0-15.971-2.927-21.371-8.664-5.4-5.737-8.157-13.348-8.157-22.95 0-9.483 2.643-17.094 8.043-22.949 5.4-5.737 12.409-8.664 21.256-8.664ZM195.628 15.817c17.809 0 26.426 9.251 26.426 21.545 0 8.196-3.677 14.168-10.915 17.914 9.306 3.396 14.247 11.24 14.247 20.022 0 14.87-9.767 23.886-28.494 23.886h-38.26V15.817h36.996Zm51.264 83.367h-14.477V15.817h14.477v83.367ZM174.143 86.07h21.944c8.732 0 13.443-4.098 13.443-11.474 0-7.728-4.481-11.592-13.443-11.592h-21.944V86.07Zm171.708-37.233c-7.928 0-13.443 4.683-14.822 14.401h29.758c-1.264-8.781-6.549-14.401-14.936-14.401Zm-171.708 1.756h20.336c7.927 0 12.178-4.215 12.178-11.24 0-6.44-4.366-10.539-12.178-10.539h-20.336v21.779Z”}),t[10]=p,t[11]=f):f=t[11],t[12]!==n||t[13]!==r||t[14]!==i||t[15]!==d||t[16]!==u||t[17]!==h||t[18]!==f?(g=(0,jt.jsxs)(Li.default,Object.assign({fill:”none”},r,{viewBox:”0 0 555 123″,width:i,height:d,style:u,children:[n,h,f]})),t[12]=n,t[13]=r,t[14]=i,t[15]=d,t[16]=u,t[17]=h,t[18]=f,t[19]=g):g=t[19],g}var Yc=o(46985),$c=o(18560),Xc=o(66375),Jc=o(34151),ed=o(6240);function td(){const e=(0,a.c)(3),{config:t,data:s}=(0,Xc.useAgeAssuranceDataContext)();let o;return e[0]!==t||e[1]!==s?(o=e=>{if(!t)return Bc.logger.warn(“useComputeAgeAssuranceRegionAccess: missing config”),Jc.AgeAssuranceAccess.Unknown;const o=(0,ed.getAgeAssuranceRegionConfigWithFallback)(t,e),n=(0,On.computeAgeAssuranceRegionAccess)(o,s);return n?(0,Jc.parseAccessFromString)(n.access):Jc.AgeAssuranceAccess.Full},e[0]=t,e[1]=s,e[2]=o):o=e[2],o}const sd=[to.atoms.text_md,to.atoms.leading_snug];function od(){const e=(0,to.useTheme)(),{_:t}=(0,ut.useLingui)(),s=(0,rn.useAnalytics)(),{gtPhone:o}=(0,to.useBreakpoints)(),n=(0,dt.useSafeAreaInsets)(),a=(0,so.useDialogControl)(),{data:r}=(0,Xc.useAgeAssuranceDataContext)(),l=(0,ed.useAgeAssuranceRegionConfig)(),c=(0,Tc.useIsBirthdateUpdateAllowed)(),{logoutCurrentAccount:d}=(0,Yt.useSessionApi)(),u=Sc(),m=(0,el.useAgeAssurance)(),h=m.state.status===m.Status.Blocked,p=!!l,f=void 0!==r?.declaredAge,g=c||(0,ed.isLegacyBirthdateBug)(r?.birthdate||””);(0,ct.useEffect)((()=>{s.metric(“blockedGeoOverlay:shown”,{}),s.metric(“ageAssurance:noAccessScreen:shown”,{accountCreatedAt:r?.accountCreatedAt||”unknown”,isAARegion:p,hasDeclaredAge:f,canUpdateBirthday:g})}),[]);const x=(0,ct.useCallback)((()=>{i.IS_WEB&&history.pushState(null,””,”/”),d(“AgeAssuranceNoAccessScreen”)}),[d]),_=(0,jt.jsx)(ho.Admonition,{type:”tip”,children:(0,jt.jsx)(ut.Trans,{id:”LxDk1Z”})}),y=g?(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(_o.Text,{style:[sd],children:(0,jt.jsx)(ut.Trans,{id:”tYRgCl”,components:{0:(0,jt.jsx)(go.SimpleInlineLinkText,Object.assign({label:t({id:”/XsVR4″}),style:[sd]},(0,go.createStaticClick)((()=>{s.metric(“ageAssurance:noAccessScreen:openBirthdateDialog”,{}),a.open()}))))}})}),_]}):(0,jt.jsx)(_o.Text,{style:[sd],children:(0,jt.jsx)(ut.Trans,{id:”bzKB39″,components:{0:(0,jt.jsx)(go.SimpleInlineLinkText,{to:u({code:vc.AA_BIRTHDATE}),label:t({id:”xBd9x0″}),style:[sd]})}})});return(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(Qs.default,{style:[to.atoms.util_screen_outer,to.atoms.flex_1],children:(0,jt.jsx)(dc.default,{contentContainerStyle:[to.atoms.px_2xl,{paddingTop:i.IS_WEB?to.atoms.p_5xl.padding:n.top+to.atoms.p_2xl.padding,paddingBottom:100}],children:(0,jt.jsxs)(Qs.default,{style:[to.atoms.mx_auto,to.atoms.w_full,(0,to.web)({maxWidth:380,paddingTop:o?”8vh”:void 0}),{gap:32}],children:[(0,jt.jsx)(Qs.default,{style:[to.atoms.align_start],children:(0,jt.jsx)(Ji.AgeAssuranceBadge,{})}),f?(0,jt.jsx)(jt.Fragment,{children:p?(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsxs)(Qs.default,{style:[to.atoms.gap_lg],children:[(0,jt.jsx)(_o.Text,{style:[sd],children:(0,jt.jsx)(ut.Trans,{id:”OzqVdL”})}),(0,jt.jsx)(_o.Text,{style:[sd],children:(0,jt.jsx)(ut.Trans,{id:”0ssEYu”})}),!m.flags.isOverRegionMinAccessAge&&(0,jt.jsx)(_o.Text,{style:[sd],children:(0,jt.jsx)(ut.Trans,{id:”xZFNnS”})}),!h&&y]}),m.flags.isOverRegionMinAccessAge&&(0,jt.jsx)(nd,{})]}):(0,jt.jsxs)(Qs.default,{style:[to.atoms.gap_lg],children:[(0,jt.jsx)(_o.Text,{style:[sd],children:(0,jt.jsx)(ut.Trans,{id:”QciFed”})}),y]})}):(0,jt.jsxs)(Qs.default,{style:[to.atoms.gap_lg],children:[(0,jt.jsx)(_o.Text,{style:[sd],children:(0,jt.jsx)(ut.Trans,{id:”8jmpqy”})}),(0,jt.jsx)(_o.Text,{style:[sd],children:(0,jt.jsx)(ut.Trans,{id:”NUziZP”})}),(0,jt.jsx)(_o.Text,{style:[sd],children:(0,jt.jsx)(ut.Trans,{id:”Mf9Q1u”})}),(0,jt.jsx)(po.Button,{color:”primary”,size:”large”,label:t({id:”/XsVR4″}),onPress:()=>a.open(),children:(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”XJ5HdA”})})}),_]}),(0,jt.jsxs)(Qs.default,{style:[to.atoms.pt_lg,to.atoms.gap_xl],children:[(0,jt.jsx)(Zc,{width:120,textFill:e.atoms.text.color}),(0,jt.jsx)(_o.Text,{style:[to.atoms.text_sm,to.atoms.italic,e.atoms.text_contrast_medium],children:(0,jt.jsx)(ut.Trans,{id:”lt4I+Q”,components:{0:(0,jt.jsx)(go.SimpleInlineLinkText,Object.assign({label:t({id:”A0MD5P”})},(0,go.createStaticClick)((()=>{x()}))))}})})]})]})})}),(0,jt.jsx)(Vc,{control:a}),(0,jt.jsx)($c.BottomSheetOutlet,{}),(0,jt.jsx)(Jl.Outlet,{})]})}function nd(){const e=(0,a.c)(38),t=(0,to.useTheme)(),{_:s,i18n:o}=(0,ut.useLingui)(),n=(0,rn.useAnalytics)(),r=(0,so.useDialogControl)(),l=so.useDialogControl(),c=so.useDialogControl(),d=(0,wc.useGetTimeAgo)(),{setDeviceGeolocation:u}=(0,Fl.useDeviceGeolocationApi)(),m=td(),h=(0,el.useAgeAssurance)(),{status:p,lastInitiatedAt:f}=h.state,g=p===h.Status.Blocked,x=!!f;let _;e[0]!==d||e[1]!==f?(_=f?d(f,new Date):null,e[0]=d,e[1]=f,e[2]=_):_=e[2];const y=_;let b;e[3]!==f?(b=f?(0,wc.dateDiff)(f,new Date,”down”):null,e[3]=f,e[4]=b):b=e[4];const j=b;let v,S,w,T,k,C,I,A,P;return e[5]!==r?(v=(0,jt.jsx)(Fc,{control:r}),e[5]=r,e[6]=v):v=e[6],e[7]!==l?(S=(0,jt.jsx)(kc,{control:l}),e[7]=l,e[8]=S):S=e[8],e[9]===Symbol.for(“react.memo_cache_sentinel”)?(w=[to.atoms.gap_xl],e[9]=w):w=e[9],e[10]!==s||e[11]!==l||e[12]!==n||e[13]!==r||e[14]!==j||e[15]!==x||e[16]!==o||e[17]!==g||e[18]!==f||e[19]!==t||e[20]!==y?(T=g?(0,jt.jsx)(ho.Admonition,{type:”warning”,children:(0,jt.jsx)(ut.Trans,{id:”rSHUvw”,components:{0:(0,jt.jsx)(go.SimpleInlineLinkText,Object.assign({label:s({id:”A83LVV”})},(0,go.createStaticClick)((()=>{l.open(),n.metric(“ageAssurance:appealDialogOpen”,{})}))))}})}):(0,jt.jsx)(jt.Fragment,{children:(0,jt.jsxs)(Qs.default,{style:[to.atoms.gap_md],children:[(0,jt.jsxs)(po.Button,{label:s({id:”XnHyFh”}),size:”large”,color:x?”secondary”:”primary”,onPress:()=>{r.open(),n.metric(“ageAssurance:initDialogOpen”,{hasInitiatedPreviously:x})},children:[(0,jt.jsx)(po.ButtonIcon,{icon:jo.ShieldCheck_Stroke2_Corner0_Rounded}),(0,jt.jsx)(po.ButtonText,{children:x?(0,jt.jsx)(ut.Trans,{id:”NAGk5g”}):(0,jt.jsx)(ut.Trans,{id:”XnHyFh”})})]}),f&&y&&j?(0,jt.jsx)(_o.Text,{style:[to.atoms.text_sm,to.atoms.italic,t.atoms.text_contrast_medium],title:o.date(f,{dateStyle:”medium”,timeStyle:”medium”}),children:0===j.value?(0,jt.jsx)(ut.Trans,{id:”YKYQVI”}):(0,jt.jsx)(ut.Trans,{id:”Q83iHn”,values:{timeAgo:y}})}):(0,jt.jsx)(_o.Text,{style:[to.atoms.text_sm,to.atoms.italic,t.atoms.text_contrast_medium],children:(0,jt.jsx)(ut.Trans,{id:”+Df1WK”})})]})}),e[10]=s,e[11]=l,e[12]=n,e[13]=r,e[14]=j,e[15]=x,e[16]=o,e[17]=g,e[18]=f,e[19]=t,e[20]=y,e[21]=T):T=e[21],e[22]===Symbol.for(“react.memo_cache_sentinel”)?(k=[to.atoms.gap_xs],e[22]=k):k=e[22],e[23]!==s||e[24]!==h.Access||e[25]!==m||e[26]!==c||e[27]!==u?(C=i.IS_NATIVE&&(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(ho.Admonition,{children:(0,jt.jsx)(ut.Trans,{id:”v9+PSC”,components:{0:(0,jt.jsx)(go.SimpleInlineLinkText,Object.assign({label:s({id:”+TMC6s”})},(0,go.createStaticClick)((()=>{c.open()}))))}})}),(0,jt.jsx)(Gc,{control:c,onLocationAcquired:e=>{m(e.geolocation)!==h.Access.Full?(e.disableDialogAction(),e.setDialogError(s({id:”fTxCDR”}))):e.closeDialog((()=>{u(e.geolocation),Yc.show(s({id:”JveX4q”}),{type:”success”})}))}})]}),e[23]=s,e[24]=h.Access,e[25]=m,e[26]=c,e[27]=u,e[28]=C):C=e[28],e[29]!==C?(I=(0,jt.jsx)(Qs.default,{style:k,children:C}),e[29]=C,e[30]=I):I=e[30],e[31]!==T||e[32]!==I?(A=(0,jt.jsxs)(Qs.default,{style:w,children:[T,I]}),e[31]=T,e[32]=I,e[33]=A):A=e[33],e[34]!==v||e[35]!==S||e[36]!==A?(P=(0,jt.jsxs)(jt.Fragment,{children:[v,S,A]}),e[34]=v,e[35]=S,e[36]=A,e[37]=P):P=e[37],P}var ad=o(2691);function rd(){const e=(0,a.c)(4),t=(0,rn.useAnalytics)();let s;e[0]===Symbol.for(“react.memo_cache_sentinel”)?(s=”active”===(0,cr.getCurrentState)()?performance.now():null,e[0]=s):s=e[0];const o=(0,ct.useRef)(s);let n,r;return e[1]!==t?(n=()=>{const e=(0,cr.onAppStateChange)((e=>{“active”===e?(o.current=performance.now(),t.metric(“state:foreground”,{})):null!==o.current&&t.metric(“state:background”,{secondsActive:Math.round((performance.now()-o.current)/1e3)})}));return()=>e.remove()},r=[t],e[1]=t,e[2]=n,e[3]=r):(n=e[2],r=e[3]),(0,ct.useEffect)(n,r),null}var id=o(52413),ld=o(66894),cd=o(86832);function dd(e,t){return”dark”===(0,Et.useTheme)().colorScheme?t:e}var ud=o(25006),md=(o(54685),o(54545),o(3917),o(47654),o(32548),o(27321)),hd=o(21560),pd=o(1822);let fd;function gd(e){fd=e}function xd(e){if(null==e.request.trigger||”object”!==typeof e.request.trigger||!(“type”in e.request.trigger)||”push”!==e.request.trigger.type)return null;const t=i.IS_IOS?e.request.trigger.payload:e.request.content.data;return t&&t.reason?t:(t&&md.logger.debug(“getNotificationPayload: received unknown payload”,{payload:t,identifier:e.request.identifier}),null)}function _d(e){switch(e?.reason){case”like”:case”repost”:case”like-via-repost”:case”repost-via-repost”:{const t=new On.AtUri(e.subject);return”app.bsky.feed.post”===t.collection?`/profile/${t.host}/post/${t.rkey}`:”/notifications”}case”reply”:case”quote”:case”mention”:case”subscribed-post”:{const t=new On.AtUri(e.uri);return”app.bsky.feed.post”===t.collection?`/profile/${t.host}/post/${t.rkey}`:”/notifications”}case”follow”:case”starterpack-joined”:return`/profile/${new On.AtUri(e.uri).host}`;case”chat-message”:default:return null;case”verified”:case”unverified”:return”/notifications”}}var yd=o(57508);function bd(){return{scrollYs:new Map,focusedKey:null}}”scrollRestoration”in history&&(history.scrollRestoration=”manual”);var jd=o(7150);function vd(e){if(!e)return{name:”Home”};let t=e.routes[e.index||0];for(;t.state?.routes&&”number”===typeof t.state?.index;)t=t.state?.routes[t.state?.index];return t}function Sd(e,t){return e===t||e===`${t}Tab`||e===`${t}Inner`}let wd=function(e){return e[e.InsideAtRoot=0]=”InsideAtRoot”,e[e.Inside=1]=”Inside”,e[e.Outside=2]=”Outside”,e}({});function Td(e,t){if(!e)return wd.Outside;return Sd(vd(e).name,t)?wd.InsideAtRoot:Sd(e.routes[e.index||0].name,t)?wd.Inside:wd.Outside}function kd(e,t,s,o=[]){return”Flat”===e?{routes:[{name:t,params:s}]}:{routes:[{name:e,state:{routes:[…o,{name:t,params:s}]}}]}}function Cd(e,t){return`${t?`(${t}) `:””}${e} \u2014 Bluesky`}var Id=o(51833),Ad=o(44621),Pd=o(45146);const Ed=e=>{1!==e.button||e.target.closest(“a”)||”A”===e.target.tagName||e.target.dispatchEvent(new MouseEvent(“click”,{metaKey:!0,bubbles:!0}))},Ld=e=>{1===e.button&&e.preventDefault()};function Rd(e){const t=(0,a.c)(2),{children:s}=e;let o;return t[0]!==s?(o=(0,jt.jsx)(“div”,{onMouseDown:Ld,onMouseUp:Ed,children:s}),t[0]=s,t[1]=o):o=t[1],o}var Dd=o(1814);const Bd=[“children”,”style”,”hoverStyle”],Od=(0,ct.forwardRef)((function(e,t){const s=(0,a.c)(16);let o,n,r,i;if(s[0]!==e){var l=e;({children:o,style:i,hoverStyle:n}=l),r=(0,la.default)(l,Bd),s[0]=e,s[1]=o,s[2]=n,s[3]=r,s[4]=i}else o=s[1],n=s[2],r=s[3],i=s[4];const{state:c,onIn:d,onOut:u}=(0,Dd.useInteractionState)();let m,h;return s[5]!==n||s[6]!==c||s[7]!==i?(m=”function”!==typeof i&&c?(0,Bn.addStyle)(i,n):i,s[5]=n,s[6]=c,s[7]=i,s[8]=m):m=s[8],s[9]!==o||s[10]!==d||s[11]!==u||s[12]!==r||s[13]!==t||s[14]!==m?(h=(0,jt.jsx)(gn.default,Object.assign({},r,{style:m,onHoverIn:d,onHoverOut:u,ref:t,children:o})),s[9]=o,s[10]=d,s[11]=u,s[12]=r,s[13]=t,s[14]=m,s[15]=h):h=s[15],h})),Md=[“testID”,”style”,”href”,”title”,”children”,”noFeedback”,”asAnchor”,”accessible”,”anchorNoUnderline”,”navigationAction”,”onBeforePress”,”accessibilityActions”,”onAccessibilityAction”,”dataSet”],Fd=[“testID”,”type”,”style”,”href”,”text”,”numberOfLines”,”lineHeight”,”dataSet”,”title”,”onPress”,”onBeforePress”,”disableMismatchWarning”,”navigationAction”,”anchorNoUnderline”],Nd=[“testID”,”type”,”style”,”href”,”text”,”numberOfLines”,”lineHeight”,”navigationAction”,”disableMismatchWarning”,”onBeforePress”],Hd=(0,ct.memo)((function(e){const t=(0,a.c)(72);let s,o,n,r,l,c,d,u,m,h,p,f,g,x,_;if(t[0]!==e){var y=e;({testID:x,style:g,href:d,title:_,children:l,noFeedback:m,asAnchor:r,accessible:o,anchorNoUnderline:n,navigationAction:u,onBeforePress:p,accessibilityActions:s,onAccessibilityAction:h,dataSet:c}=y),f=(0,la.default)(y,Md),t[0]=e,t[1]=s,t[2]=o,t[3]=n,t[4]=r,t[5]=l,t[6]=c,t[7]=d,t[8]=u,t[9]=m,t[10]=h,t[11]=p,t[12]=f,t[13]=g,t[14]=x,t[15]=_}else s=t[1],o=t[2],n=t[3],r=t[4],l=t[5],c=t[6],d=t[7],u=t[8],m=t[9],h=t[10],p=t[11],f=t[12],g=t[13],x=t[14],_=t[15];const b=(0,to.useTheme)(),{closeModal:j}=(0,xs.useModalControls)(),v=(0,Pd.useNavigationDeduped)();let S;t[16]!==r||t[17]!==d?(S=r?(0,Ad.sanitizeUrl)(d):void 0,t[16]=r,t[17]=d,t[18]=S):S=t[18];const w=S,T=(0,al.useOpenLink)();let k;t[19]!==j||t[20]!==d||t[21]!==v||t[22]!==u||t[23]!==p||t[24]!==T?(k=e=>{if(p?.(),”string”===typeof d)return Ud(j,v,(0,Ad.sanitizeUrl)(d),u,T,e)},t[19]=j,t[20]=d,t[21]=v,t[22]=u,t[23]=p,t[24]=T,t[25]=k):k=t[25];const C=k;let I,A,P;t[26]!==s?(I=s||[],t[26]=s,t[27]=I):I=t[27],t[28]!==_?(A={name:”activate”,label:_},t[28]=_,t[29]=A):A=t[29],t[30]!==I||t[31]!==A?(P=[…I,A],t[30]=I,t[31]=A,t[32]=P):P=t[32];const E=P;let L;t[33]!==n||t[34]!==c?(L=n?Object.assign({},c,{noUnderline:1}):c,t[33]=n,t[34]=c,t[35]=L):L=t[35];const R=L;if(m){let e,s,n,a,r;return t[36]!==h||t[37]!==C?(e=e=>{“activate”===e.nativeEvent.actionName?C():h?.(e)},t[36]=h,t[37]=C,t[38]=e):e=t[38],t[39]!==b.atoms.bg_contrast_25.backgroundColor?(s={color:b.atoms.bg_contrast_25.backgroundColor},t[39]=b.atoms.bg_contrast_25.backgroundColor,t[40]=s):s=t[40],t[41]!==l||t[42]!==_?(n=l||(0,jt.jsx)(di.Text,{children:_||”link”}),t[41]=l,t[42]=_,t[43]=n):n=t[43],t[44]!==w||t[45]!==g||t[46]!==n?(a=(0,jt.jsx)(Qs.default,{style:g,href:w,children:n}),t[44]=w,t[45]=g,t[46]=n,t[47]=a):a=t[47],t[48]!==E||t[49]!==o||t[50]!==R||t[51]!==C||t[52]!==f||t[53]!==a||t[54]!==e||t[55]!==s||t[56]!==x?(r=(0,jt.jsx)(Rd,{children:(0,jt.jsx)(gn.default,Object.assign({testID:x,onPress:C,accessible:o,accessibilityRole:”link”,accessibilityActions:E,onAccessibilityAction:e,dataSet:R},f,{android_ripple:s,unstable_pressDelay:i.IS_ANDROID?90:void 0,children:a}))}),t[48]=E,t[49]=o,t[50]=R,t[51]=C,t[52]=f,t[53]=a,t[54]=e,t[55]=s,t[56]=x,t[57]=r):r=t[57],r}const D=f.hoverStyle?Od:gn.default,B=f.accessibilityLabel??_;let O,M;return t[58]!==l||t[59]!==_?(O=l||(0,jt.jsx)(di.Text,{children:_||”link”}),t[58]=l,t[59]=_,t[60]=O):O=t[60],t[61]!==D||t[62]!==o||t[63]!==w||t[64]!==R||t[65]!==C||t[66]!==f||t[67]!==g||t[68]!==B||t[69]!==O||t[70]!==x?(M=(0,jt.jsx)(D,Object.assign({testID:x,style:g,onPress:C,accessible:o,accessibilityRole:”link”,accessibilityLabel:B,accessibilityHint:f.accessibilityHint,href:w,dataSet:R},f,{children:O})),t[61]=D,t[62]=o,t[63]=w,t[64]=R,t[65]=C,t[66]=f,t[67]=g,t[68]=B,t[69]=O,t[70]=x,t[71]=M):M=t[71],M})),Vd=(0,ct.memo)((function(e){const t=(0,a.c)(47);let s,o,n,r,l,c,d,u,m,h,p,f,g,x,_;if(t[0]!==e){var y=e;({testID:g,type:f,style:p,href:r,text:x,numberOfLines:d,lineHeight:l,dataSet:o,title:_,onPress:m,onBeforePress:u,disableMismatchWarning:n,navigationAction:c,anchorNoUnderline:s}=y),h=(0,la.default)(y,Fd),t[0]=e,t[1]=s,t[2]=o,t[3]=n,t[4]=r,t[5]=l,t[6]=c,t[7]=d,t[8]=u,t[9]=m,t[10]=h,t[11]=p,t[12]=f,t[13]=g,t[14]=x,t[15]=_}else s=t[1],o=t[2],n=t[3],r=t[4],l=t[5],c=t[6],d=t[7],u=t[8],m=t[9],h=t[10],p=t[11],f=t[12],g=t[13],x=t[14],_=t[15];const b=void 0===f?”md”:f,j=(0,Pd.useNavigationDeduped)(),{closeModal:v}=(0,xs.useModalControls)(),{linkWarningDialogControl:S}=(0,oo.useGlobalDialogsControlContext)(),w=(0,al.useOpenLink)();let T;t[16]!==s||t[17]!==o?(T=s?Object.assign({},o,{noUnderline:1}):o,t[16]=s,t[17]=o,t[18]=T):T=t[18];const k=T;let C;t[19]!==v||t[20]!==n||t[21]!==r||t[22]!==S||t[23]!==j||t[24]!==c||t[25]!==u||t[26]!==m||t[27]!==w||t[28]!==x?(C=e=>{if(!n&&(0,qt.linkRequiresWarning)(r,”string”===typeof x?x:””)&&(e?.preventDefault?.(),S.open({displayText:”string”===typeof x?x:””,href:r})),!i.IS_WEB||”#”===r||null==e||!function(e){const t=e.currentTarget,s=t.getAttribute(“target”);return s&&”_self”!==s||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e))return u?.(),m?(e?.preventDefault?.(),m()):Ud(v,j,(0,Ad.sanitizeUrl)(r),c,w,e)},t[19]=v,t[20]=n,t[21]=r,t[22]=S,t[23]=j,t[24]=c,t[25]=u,t[26]=m,t[27]=w,t[28]=x,t[29]=C):C=t[29];const I=C;let A;e:{if((0,qt.isExternalUrl)(r)){let e;t[30]===Symbol.for(“react.memo_cache_sentinel”)?(e={target:”_blank”},t[30]=e):e=t[30],A=e;break e}let e;t[31]===Symbol.for(“react.memo_cache_sentinel”)?(e={},t[31]=e):e=t[31],A=e}const P=A;let E,L;return t[32]!==r?(E=(0,qt.convertBskyAppUrlIfNeeded)((0,Ad.sanitizeUrl)(r)),t[32]=r,t[33]=E):E=t[33],t[34]!==k||t[35]!==P||t[36]!==l||t[37]!==d||t[38]!==I||t[39]!==h||t[40]!==p||t[41]!==E||t[42]!==g||t[43]!==x||t[44]!==_||t[45]!==b?(L=(0,jt.jsx)(di.Text,Object.assign({testID:g,type:b,style:p,numberOfLines:d,lineHeight:l,dataSet:k,title:_,hrefAttrs:P,onPress:I,accessibilityRole:”link”,href:E},h,{children:x})),t[34]=k,t[35]=P,t[36]=l,t[37]=d,t[38]=I,t[39]=h,t[40]=p,t[41]=E,t[42]=g,t[43]=x,t[44]=_,t[45]=b,t[46]=L):L=t[46],L})),zd=((0,ct.memo)((function(e){const t=(0,a.c)(32);let s,o,n,r,l,c,d,u,m,h,p;if(t[0]!==e){var f=e;({testID:h,type:m,style:u,href:o,text:p,numberOfLines:l,lineHeight:n,navigationAction:r,disableMismatchWarning:s,onBeforePress:c}=f),d=(0,la.default)(f,Nd),t[0]=e,t[1]=s,t[2]=o,t[3]=n,t[4]=r,t[5]=l,t[6]=c,t[7]=d,t[8]=u,t[9]=m,t[10]=h,t[11]=p}else s=t[1],o=t[2],n=t[3],r=t[4],l=t[5],c=t[6],d=t[7],u=t[8],m=t[9],h=t[10],p=t[11];const g=void 0===m?”md”:m;if(i.IS_WEB){let e;return t[12]!==s||t[13]!==o||t[14]!==n||t[15]!==r||t[16]!==l||t[17]!==c||t[18]!==d||t[19]!==u||t[20]!==h||t[21]!==p||t[22]!==g?(e=(0,jt.jsx)(Vd,Object.assign({testID:h,type:g,style:u,href:o,text:p,numberOfLines:l,lineHeight:n,title:d.title,navigationAction:r,disableMismatchWarning:s,onBeforePress:c},d)),t[12]=s,t[13]=o,t[14]=n,t[15]=r,t[16]=l,t[17]=c,t[18]=d,t[19]=u,t[20]=h,t[21]=p,t[22]=g,t[23]=e):e=t[23],e}let x;return t[24]!==n||t[25]!==l||t[26]!==d||t[27]!==u||t[28]!==h||t[29]!==p||t[30]!==g?(x=(0,jt.jsx)(di.Text,Object.assign({testID:h,type:g,style:u,numberOfLines:l,lineHeight:n,title:d.title},d,{children:p})),t[24]=n,t[25]=l,t[26]=d,t[27]=u,t[28]=h,t[29]=p,t[30]=g,t[31]=x):x=t[31],x})),[“/robots.txt”,”/security.txt”,”/.well-known/”]);function Ud(e=(()=>{}),t,s,o=”push”,n,a){let r=!1;const i=null==a.button||0===a.button,l=1===a.button,c=a.metaKey||a.altKey||a.ctrlKey||a.shiftKey||l;if(a?!a.defaultPrevented&&(i||l)&&[void 0,null,””,”self”].includes(a.currentTarget?.target)&&(a.preventDefault(),r=!0):r=!a||!a.defaultPrevented,r)if(s=(0,qt.convertBskyAppUrlIfNeeded)(s),c||s.startsWith(“http”)||s.startsWith(“mailto”)||zd.some((e=>s.startsWith(e))))n(s);else{e();const[n,a]=Aa.router.matchPath(s);if(“push”===o)t.dispatch(Ks.StackActions.push(n,a));else if(“replace”===o)t.dispatch(Ks.StackActions.replace(n,a));else{if(“navigate”!==o)throw Error(“Unsupported navigator action.”);Td(t.getState(),n)===wd.InsideAtRoot?(0,yt.emitSoftReset)():t.navigate(n,a,{pop:!0})}}}function Gd(e){const t=(0,a.c)(10),{title:s,renderButton:o}=e;let n,r,i,l,c;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(n=(0,jt.jsx)(bi.Header.BackButton,{}),t[0]=n):n=t[0],t[1]!==s?(r=(0,jt.jsx)(bi.Header.Content,{children:(0,jt.jsx)(bi.Header.TitleText,{children:s})}),t[1]=s,t[2]=r):r=t[2],t[3]!==o?(i=o?.()??null,t[3]=o,t[4]=i):i=t[4],t[5]!==i?(l=(0,jt.jsx)(bi.Header.Slot,{children:i}),t[5]=i,t[6]=l):l=t[6],t[7]!==r||t[8]!==l?(c=(0,jt.jsxs)(bi.Header.Outer,{children:[n,r,l]}),t[7]=r,t[8]=l,t[9]=c):c=t[9],c}const Wd=e=>{const t=(0,a.c)(21),s=(0,In.usePalette)(“default”),{_:o}=(0,ut.useLingui)(),n=(0,Ss.useSetMinimalShellMode)();let r,i,l,c,d,u,m,h,p,f;return t[0]!==n?(r=()=>{n(!1)},t[0]=n,t[1]=r):r=t[1],(0,Ks.useFocusEffect)(r),t[2]!==o?(i=o({id:”KHzDTk”}),t[2]=o,t[3]=i):i=t[3],t[4]!==i?(l=(0,jt.jsx)(Gd,{title:i}),t[4]=i,t[5]=l):l=t[5],t[6]!==s.view?(c=[Bn.s.hContentRegion,s.view],t[6]=s.view,t[7]=c):c=t[7],t[8]===Symbol.for(“react.memo_cache_sentinel”)?(d=[Bn.s.p20],t[8]=d):d=t[8],t[9]!==s.link?(u=(0,jt.jsx)(ut.Trans,{id:”o4M2MP”,components:{0:(0,jt.jsx)(Vd,{style:s.link,href:”https://bsky.social/about/support/community-guidelines”,text:”bsky.social/about/support/community-guidelines”})}}),t[9]=s.link,t[10]=u):u=t[10],t[11]!==s.text||t[12]!==u?(m=(0,jt.jsx)(Qs.default,{style:d,children:(0,jt.jsx)(di.Text,{style:s.text,children:u})}),t[11]=s.text,t[12]=u,t[13]=m):m=t[13],t[14]===Symbol.for(“react.memo_cache_sentinel”)?(h=(0,jt.jsx)(Qs.default,{style:Bn.s.footerSpacer}),t[14]=h):h=t[14],t[15]!==c||t[16]!==m?(p=(0,jt.jsxs)(ki,{style:c,children:[m,h]}),t[15]=c,t[16]=m,t[17]=p):p=t[17],t[18]!==l||t[19]!==p?(f=(0,jt.jsxs)(bi.Screen,{children:[l,p]}),t[18]=l,t[19]=p,t[20]=f):f=t[20],f},qd=e=>{const t=(0,a.c)(21),s=(0,In.usePalette)(“default”),{_:o}=(0,ut.useLingui)(),n=(0,Ss.useSetMinimalShellMode)();let r,i,l,c,d,u,m,h,p,f;return t[0]!==n?(r=()=>{n(!1)},t[0]=n,t[1]=r):r=t[1],(0,Ks.useFocusEffect)(r),t[2]!==o?(i=o({id:”u40k/o”}),t[2]=o,t[3]=i):i=t[3],t[4]!==i?(l=(0,jt.jsx)(Gd,{title:i}),t[4]=i,t[5]=l):l=t[5],t[6]!==s.view?(c=[Bn.s.hContentRegion,s.view],t[6]=s.view,t[7]=c):c=t[7],t[8]===Symbol.for(“react.memo_cache_sentinel”)?(d=[Bn.s.p20],t[8]=d):d=t[8],t[9]!==s.link?(u=(0,jt.jsx)(ut.Trans,{id:”U42lKc”,components:{0:(0,jt.jsx)(Vd,{style:s.link,href:”https://bsky.social/about/support/copyright”,text:”bsky.social/about/support/copyright”})}}),t[9]=s.link,t[10]=u):u=t[10],t[11]!==s.text||t[12]!==u?(m=(0,jt.jsx)(Qs.default,{style:d,children:(0,jt.jsx)(di.Text,{style:s.text,children:u})}),t[11]=s.text,t[12]=u,t[13]=m):m=t[13],t[14]===Symbol.for(“react.memo_cache_sentinel”)?(h=(0,jt.jsx)(Qs.default,{style:Bn.s.footerSpacer}),t[14]=h):h=t[14],t[15]!==c||t[16]!==m?(p=(0,jt.jsxs)(ki,{style:c,children:[m,h]}),t[15]=c,t[16]=m,t[17]=p):p=t[17],t[18]!==l||t[19]!==p?(f=(0,jt.jsxs)(bi.Screen,{children:[l,p]}),t[18]=l,t[19]=p,t[20]=f):f=t[20],f};var Qd=o(71286),Kd=o(14551),Zd=o(92696),Yd=o(33387),$d=o(93859);function Xd(){const e=(0,al.useOpenLink)();return(0,ct.useCallback)((async(t,s)=>{const o=(0,Dt.getTranslatorLink)(t,s);if(i.IS_ANDROID)try{if(!await $d.getApplicationIconAsync(“com.google.android.apps.translate”))throw new Error(“Translate app not installed”);await $d.startActivityAsync(“android.intent.action.PROCESS_TEXT”,{type:”text/plain”,extra:{“android.intent.extra.PROCESS_TEXT”:t,”android.intent.extra.PROCESS_TEXT_READONLY”:!0}})}catch(n){0,await e(o)}else await e(o)}),[e])}var Jd=o(35938),eu=o(28965),tu=o(56436),su=o(8364),ou=o.n(su),nu=o(45458),au=o(27963);function ru(e,t,s){return Math.min(s,Math.max(t,e))}function iu(e){const t=void 0===e?0:e,{isTabletOrDesktop:s}=(0,An.useWebMediaQueries)(),{bottom:o}=(0,dt.useSafeAreaInsets)();return(i.IS_WEB&&s?0:ru(60+o,60,75))+t}const lu=100;function cu(e){const{minItemHeight:t,screenHeightOffset:s}=void 0===e?{}:e,o=void 0===t?lu:t,n=void 0===s?0:s,{height:a}=(0,En.default)(),{top:r}=(0,dt.useSafeAreaInsets)(),i=a-n-r-iu(),l=Math.floor(i/o);return l<1?1:l}var du=o(24315),uu=o(30511);const mu=(0,na.createSinglePathSVG)({path:"M5.002 17.036V5h14v12.036h-3.986a1 1 0 0 0-.639.23l-2.375 1.968-2.344-1.965a1 1 0 0 0-.643-.233H5.002ZM20.002 3h-16a1 1 0 0 0-1 1v14.036a1 1 0 0 0 1 1h4.65l2.704 2.266a1 1 0 0 0 1.28.004l2.74-2.27h4.626a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1Zm-7.878 3.663c-1.39 0-2.5 1.135-2.5 2.515a1 1 0 0 0 2 0c0-.294.232-.515.5-.515a.507.507 0 0 1 .489.6.174.174 0 0 1-.027.048 1.1 1.1 0 0 1-.267.226c-.508.345-1.128.923-1.286 1.978a1 1 0 1 0 1.978.297.762.762 0 0 1 .14-.359c.063-.086.155-.169.293-.262.436-.297 1.18-.885 1.18-2.013 0-1.38-1.11-2.515-2.5-2.515ZM12 15.75a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5Z"}),hu=(0,na.createSinglePathSVG)({path:"M2.002 6a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H12.28l-4.762 2.858A1 1 0 0 1 6.002 21v-2h-1a3 3 0 0 1-3-3V6Zm3-1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h2a1 1 0 0 1 1 1v1.234l3.486-2.092a1 1 0 0 1 .514-.142h7a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-14Z"}),pu=((0,na.createSinglePathSVG)({path:"M2.002 7a4 4 0 0 1 4-4h12a4 4 0 0 1 4 4v8a4 4 0 0 1-4 4H12.28l-4.762 2.858A1 1 0 0 1 6.002 21v-2a4 4 0 0 1-4-4V7Zm4-2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h1a1 1 0 0 1 1 1v1.234l3.486-2.092a1 1 0 0 1 .514-.142h6a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-12Z"}),(0,na.createSinglePathSVG)({path:"M6.002 6a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3h-1v1a3 3 0 0 1-3 3h-4.24l-4.274 2.374a1 1 0 0 1-1.486-.874V19a3 3 0 0 1-3-3v-6a3 3 0 0 1 3-3h1V6Zm-1 3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h1a1 1 0 0 1 1 1v.8l3.015-1.674a1 1 0 0 1 .485-.126h4.5a1 1 0 0 0 1-1v-1.933a1 1 0 0 1 0-.134V10a1 1 0 0 0-1-1h-10Zm13 4v-3a3 3 0 0 0-3-3h-7V6a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-1Z"})),fu=(0,na.createSinglePathSVG)({viewBox:"0 0 51 46",strokeLinejoin:"round",strokeWidth:2,path:"M49 17c0 15.333-22 26.667-24 26.667S1 32.333 1 17C1 6.333 7.667 1 14.333 1S25 5 25 5s4-4 10.667-4S49 6.333 49 17Z"}),gu=(0,na.createSinglePathSVG)({path:"M16.734 5.091c-1.238-.276-2.708.047-4.022 1.38a1 1 0 0 1-1.424 0C9.974 5.137 8.504 4.814 7.266 5.09c-1.263.282-2.379 1.206-2.92 2.556C3.33 10.18 4.252 14.84 12 19.348c7.747-4.508 8.67-9.168 7.654-11.7-.541-1.351-1.657-2.275-2.92-2.557Zm4.777 1.812c1.604 4-.494 9.69-9.022 14.47a1 1 0 0 1-.978 0C2.983 16.592.885 10.902 2.49 6.902c.779-1.942 2.414-3.334 4.342-3.764 1.697-.378 3.552.003 5.169 1.286 1.617-1.283 3.472-1.664 5.17-1.286 1.927.43 3.562 1.822 4.34 3.764Z"}),xu=(0,na.createSinglePathSVG)({path:"M12.489 21.372c8.528-4.78 10.626-10.47 9.022-14.47-.779-1.941-2.414-3.333-4.342-3.763-1.697-.378-3.552.003-5.169 1.287-1.617-1.284-3.472-1.665-5.17-1.287-1.927.43-3.562 1.822-4.34 3.764-1.605 4 .493 9.69 9.021 14.47a1 1 0 0 0 .978 0Z"}),_u=(0,na.createSinglePathSVG)({path:"M3.92 19v-4.153a1 1 0 0 1 1-1H9l.103.005a1 1 0 0 1 0 1.99L9 15.847H7.285c.854.737 1.784 1.38 2.631 1.9.702.431 1.329.769 1.78.997q.162.08.291.143a25.561 25.561 0 0 0 3.67-2.326c2.144-1.642 4.073-3.756 4.315-6.023a1 1 0 0 1 1.988.212c-.336 3.154-2.89 5.717-5.086 7.398a27.6 27.6 0 0 1-4.34 2.704l-.078.038-.021.01-.007.003-.002.001-.001.001a1 1 0 0 1-.827.01v0h-.002l-.004-.002-.013-.006q-.016-.006-.045-.02l-.162-.075a27.39 27.39 0 0 1-2.503-1.361 22 22 0 0 1-2.95-2.143V19a1 1 0 0 1-2 0ZM2 10c0-2.214.696-3.971 1.833-5.184A5.7 5.7 0 0 1 8 3a7.1 7.1 0 0 1 4 1.228A7.117 7.117 0 0 1 16 3c1.231 0 2.452.402 3.469 1.185l.031-1.702a1 1 0 0 1 2 .035l-.081 4.5a1 1 0 0 1-1 .983H16.5a1 1 0 1 1 0-2h2.02A3.68 3.68 0 0 0 16 5a5.12 5.12 0 0 0-3.11 1.053 3 3 0 0 0-.155.129l-.029.025v.002l-.003.002-.072.064a1 1 0 0 1-1.338-.068l-.028-.025a3 3 0 0 0-.155-.13A5.119 5.119 0 0 0 8 5c-.982 0-1.965.392-2.708 1.185C4.554 6.97 4 8.214 4 10q0 .507.099 1.002l.075.328.02.1a1 1 0 0 1-1.925.5l-.03-.097-.102-.446A7 7 0 0 1 2 10Z"}),yu=((0,na.createSinglePathSVG)({path:"M16.293 2.293a1 1 0 0 1 1.414 0l3 3a1 1 0 0 1 0 1.414l-3 3a1 1 0 0 1-1.414-1.414L17.586 7H5v4a1 1 0 1 1-2 0V6a1 1 0 0 1 1-1h13.586l-1.293-1.293a1 1 0 0 1 0-1.414ZM21 13v5a1 1 0 0 1-1 1H6.414l1.293 1.293a1 1 0 1 1-1.414 1.414l-3-3a1 1 0 0 1 0-1.414l3-3a1 1 0 0 1 1.414 1.414L6.414 17H19v-4a1 1 0 1 1 2 0Z"}),(0,na.createSinglePathSVG)({path:"M17.957 2.293a1 1 0 1 0-1.414 1.414L17.836 5H6a3 3 0 0 0-3 3v3a1 1 0 1 0 2 0V8a1 1 0 0 1 1-1h11.836l-1.293 1.293a1 1 0 0 0 1.414 1.414l2.47-2.47a1.75 1.75 0 0 0 0-2.474l-2.47-2.47ZM20 12a1 1 0 0 1 1 1v3a3 3 0 0 1-3 3H6.164l1.293 1.293a1 1 0 1 1-1.414 1.414l-2.47-2.47a1.75 1.75 0 0 1 0-2.474l2.47-2.47a1 1 0 0 1 1.414 1.414L6.164 17H18a1 1 0 0 0 1-1v-3a1 1 0 0 1 1-1Z"})),bu=(0,na.createSinglePathSVG)({path:"M16.793 2.293a1 1 0 0 1 1.414 0L20.5 4.586a2 2 0 0 1 0 2.828l-2.293 2.293a1 1 0 0 1-1.414-1.414L18.086 7H7a2 2 0 0 0-2 2v2a1 1 0 1 1-2 0V9a4 4 0 0 1 4-4h11.086l-1.293-1.293a1 1 0 0 1 0-1.414ZM20 12a1 1 0 0 1 1 1v2a4 4 0 0 1-4 4H5.914l1.293 1.293a1 1 0 1 1-1.414 1.414L3.5 19.414a2 2 0 0 1 0-2.828l2.293-2.293a1 1 0 0 1 1.414 1.414L5.914 17H17a2 2 0 0 0 2-2v-2a1 1 0 0 1 1-1Z"}),ju=(0,na.createSinglePathSVG)({path:"M6.043 14.293a1 1 0 1 1 1.414 1.414L5.164 18l2.293 2.293.068.076a1 1 0 0 1-1.406 1.406l-.076-.068-2.47-2.47a1.75 1.75 0 0 1 0-2.474l2.47-2.47Zm6.22 0a1 1 0 0 1 1.414 1.414L12.384 17H18a1 1 0 0 0 1-1v-3a1 1 0 1 1 2 0v3a3 3 0 0 1-3 3h-5.616l1.293 1.293.068.076a1 1 0 0 1-1.406 1.406l-.076-.068-2.47-2.47a1.75 1.75 0 0 1 0-2.474l2.47-2.47ZM3 11V8a3 3 0 0 1 3-3h5.586l-1.293-1.293-.068-.076a1 1 0 0 1 1.406-1.406l.076.068 2.47 2.47.12.133a1.75 1.75 0 0 1 0 2.209l-.12.132-2.47 2.47a1 1 0 1 1-1.414-1.414L11.586 7H6a1 1 0 0 0-1 1v3a1 1 0 1 1-2 0Zm13.543-8.707a1 1 0 0 1 1.338-.068l.076.068 2.47 2.47.12.133a1.75 1.75 0 0 1 0 2.209l-.12.132-2.47 2.47a1 1 0 1 1-1.414-1.414L18.836 6l-2.293-2.293-.068-.076a1 1 0 0 1 .068-1.338Z"});function vu(e){const t=(0,a.c)(7),{width:s,height:o,style:n}=e,r=(0,to.useTheme)();let i,l;return t[0]!==o||t[1]!==r.palette.contrast_50||t[2]!==s?(i={width:s,height:o,backgroundColor:r.palette.contrast_50},t[0]=o,t[1]=r.palette.contrast_50,t[2]=s,t[3]=i):i=t[3],t[4]!==n||t[5]!==i?(l=(0,jt.jsx)(Qs.default,{style:[Ru.loadingPlaceholder,i,n]}),t[4]=n,t[5]=i,t[6]=l):l=t[6],l}function Su(e){const t=(0,a.c)(32),{style:s}=e,o=(0,to.useTheme)();let n,r,i,l,c,d,u,m,h,p,f,g,x,_,y,b,j,v,S,w;return t[0]!==s?(n=[Ru.post,s],t[0]=s,t[1]=n):n=t[1],t[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,jt.jsx)(vu,{width:42,height:42,style:[Ru.avatar,{position:"relative",top:-6}]}),t[2]=r):r=t[2],t[3]===Symbol.for("react.memo_cache_sentinel")?(i=[Bn.s.flex1],t[3]=i):i=t[3],t[4]===Symbol.for("react.memo_cache_sentinel")?(l=(0,jt.jsx)(vu,{width:100,height:6,style:{marginBottom:10}}),t[4]=l):l=t[4],t[5]===Symbol.for("react.memo_cache_sentinel")?(c=(0,jt.jsx)(vu,{width:"95%",height:6,style:{marginBottom:8}}),t[5]=c):c=t[5],t[6]===Symbol.for("react.memo_cache_sentinel")?(d=(0,jt.jsx)(vu,{width:"95%",height:6,style:{marginBottom:8}}),t[6]=d):d=t[6],t[7]===Symbol.for("react.memo_cache_sentinel")?(u=(0,jt.jsx)(vu,{width:"80%",height:6,style:{marginBottom:11}}),t[7]=u):u=t[7],t[8]===Symbol.for("react.memo_cache_sentinel")?(m=[Ru.postCtrl,{marginLeft:-6}],t[8]=m):m=t[8],t[9]!==o.palette.contrast_500?(h={color:o.palette.contrast_500},t[9]=o.palette.contrast_500,t[10]=h):h=t[10],t[11]===Symbol.for("react.memo_cache_sentinel")?(p={pointerEvents:"none"},t[11]=p):p=t[11],t[12]!==h?(f=(0,jt.jsx)(Qs.default,{style:m,children:(0,jt.jsx)(Qs.default,{style:Ru.postBtn,children:(0,jt.jsx)(hu,{style:[h,p],width:18})})}),t[12]=h,t[13]=f):f=t[13],t[14]!==o.palette.contrast_500?(g={color:o.palette.contrast_500},t[14]=o.palette.contrast_500,t[15]=g):g=t[15],t[16]===Symbol.for("react.memo_cache_sentinel")?(x={pointerEvents:"none"},t[16]=x):x=t[16],t[17]!==g?(_=(0,jt.jsx)(Qs.default,{style:Ru.postCtrl,children:(0,jt.jsx)(Qs.default,{style:Ru.postBtn,children:(0,jt.jsx)(yu,{style:[g,x],width:18})})}),t[17]=g,t[18]=_):_=t[18],t[19]!==o.palette.contrast_500?(y={color:o.palette.contrast_500},t[19]=o.palette.contrast_500,t[20]=y):y=t[20],t[21]===Symbol.for("react.memo_cache_sentinel")?(b={pointerEvents:"none"},t[21]=b):b=t[21],t[22]!==y?(j=(0,jt.jsx)(Qs.default,{style:Ru.postCtrl,children:(0,jt.jsx)(Qs.default,{style:Ru.postBtn,children:(0,jt.jsx)(gu,{style:[y,b],width:18})})}),t[22]=y,t[23]=j):j=t[23],t[24]===Symbol.for("react.memo_cache_sentinel")?(v=(0,jt.jsx)(Qs.default,{style:Ru.postCtrl,children:(0,jt.jsx)(Qs.default,{style:[Ru.postBtn,{minHeight:30}]})}),t[24]=v):v=t[24],t[25]!==f||t[26]!==_||t[27]!==j?(S=(0,jt.jsxs)(Qs.default,{style:i,children:[l,c,d,u,(0,jt.jsxs)(Qs.default,{style:Ru.postCtrls,children:[f,_,j,v]})]}),t[25]=f,t[26]=_,t[27]=j,t[28]=S):S=t[28],t[29]!==n||t[30]!==S?(w=(0,jt.jsxs)(Qs.default,{style:n,children:[r,S]}),t[29]=n,t[30]=S,t[31]=w):w=t[31],w}function wu(){const e=(0,a.c)(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,jt.jsxs)(Qs.default,{children:[(0,jt.jsx)(Su,{}),(0,jt.jsx)(Su,{}),(0,jt.jsx)(Su,{}),(0,jt.jsx)(Su,{}),(0,jt.jsx)(Su,{}),(0,jt.jsx)(Su,{}),(0,jt.jsx)(Su,{}),(0,jt.jsx)(Su,{})]}),e[0]=t):t=e[0],t}function Tu(e){const t=(0,a.c)(12),{style:s}=e,o=(0,to.useTheme)();let n,r,i,l,c,d,u,m;return t[0]!==s?(n=[Ru.notification,s],t[0]=s,t[1]=n):n=t[1],t[2]===Symbol.for("react.memo_cache_sentinel")?(r=[{width:60},to.atoms.align_end,to.atoms.pr_sm,to.atoms.pt_2xs],t[2]=r):r=t[2],t[3]!==o.palette.contrast_50?(i=(0,jt.jsx)(Qs.default,{style:r,children:(0,jt.jsx)(xu,{size:"xl",style:{color:o.palette.contrast_50}})}),t[3]=o.palette.contrast_50,t[4]=i):i=t[4],t[5]===Symbol.for("react.memo_cache_sentinel")?(l={flex:1},t[5]=l):l=t[5],t[6]===Symbol.for("react.memo_cache_sentinel")?(c=(0,jt.jsx)(Qs.default,{style:[to.atoms.flex_row,Bn.s.mb10],children:(0,jt.jsx)(vu,{width:35,height:35,style:Ru.smallAvatar})}),t[6]=c):c=t[6],t[7]===Symbol.for("react.memo_cache_sentinel")?(d=(0,jt.jsx)(vu,{width:"90%",height:6,style:[Bn.s.mb5]}),t[7]=d):d=t[7],t[8]===Symbol.for("react.memo_cache_sentinel")?(u=(0,jt.jsxs)(Qs.default,{style:l,children:[c,d,(0,jt.jsx)(vu,{width:"70%",height:6,style:[Bn.s.mb5]})]}),t[8]=u):u=t[8],t[9]!==n||t[10]!==i?(m=(0,jt.jsxs)(Qs.default,{style:n,children:[i,u]}),t[9]=n,t[10]=i,t[11]=m):m=t[11],m}function ku(){const e=(0,a.c)(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(Tu,{}),(0,jt.jsx)(Tu,{}),(0,jt.jsx)(Tu,{}),(0,jt.jsx)(Tu,{}),(0,jt.jsx)(Tu,{}),(0,jt.jsx)(Tu,{}),(0,jt.jsx)(Tu,{}),(0,jt.jsx)(Tu,{}),(0,jt.jsx)(Tu,{}),(0,jt.jsx)(Tu,{}),(0,jt.jsx)(Tu,{})]}),e[0]=t):t=e[0],t}function Cu(e){const t=(0,a.c)(8),{style:s}=e;let o,n,r,i,l,c;return t[0]!==s?(o=[Ru.profileCard,s],t[0]=s,t[1]=o):o=t[1],t[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,jt.jsx)(vu,{width:40,height:40,style:Ru.profileCardAvi}),t[2]=n):n=t[2],t[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,jt.jsx)(vu,{width:140,height:8,style:[Bn.s.mb5]}),t[3]=r):r=t[3],t[4]===Symbol.for("react.memo_cache_sentinel")?(i=(0,jt.jsx)(vu,{width:120,height:8,style:[Bn.s.mb10]}),t[4]=i):i=t[4],t[5]===Symbol.for("react.memo_cache_sentinel")?(l=(0,jt.jsxs)(Qs.default,{children:[r,i,(0,jt.jsx)(vu,{width:220,height:8,style:[Bn.s.mb5]})]}),t[5]=l):l=t[5],t[6]!==o?(c=(0,jt.jsxs)(Qs.default,{style:o,children:[n,l]}),t[6]=o,t[7]=c):c=t[7],c}function Iu(){const e=(0,a.c)(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(Cu,{}),(0,jt.jsx)(Cu,{}),(0,jt.jsx)(Cu,{}),(0,jt.jsx)(Cu,{}),(0,jt.jsx)(Cu,{}),(0,jt.jsx)(Cu,{}),(0,jt.jsx)(Cu,{}),(0,jt.jsx)(Cu,{}),(0,jt.jsx)(Cu,{}),(0,jt.jsx)(Cu,{}),(0,jt.jsx)(Cu,{})]}),e[0]=t):t=e[0],t}function Au(e){const t=(0,a.c)(15),{style:s,showLowerPlaceholder:o,showTopBorder:n}=e,r=void 0===o||o,i=void 0===n||n,l=(0,to.useTheme)(),c=i?Ws.default.hairlineWidth:0;let d,u,m,h,p,f,g,x;return t[0]!==c?(d={padding:16,borderTopWidth:c},t[0]=c,t[1]=d):d=t[1],t[2]!==s||t[3]!==l.atoms.border_contrast_low||t[4]!==d?(u=[d,l.atoms.border_contrast_low,s],t[2]=s,t[3]=l.atoms.border_contrast_low,t[4]=d,t[5]=u):u=t[5],t[6]===Symbol.for("react.memo_cache_sentinel")?(m=[{flexDirection:"row"}],t[6]=m):m=t[6],t[7]===Symbol.for("react.memo_cache_sentinel")?(h=(0,jt.jsx)(vu,{width:36,height:36,style:[Ru.avatar,{borderRadius:8}]}),t[7]=h):h=t[7],t[8]===Symbol.for("react.memo_cache_sentinel")?(p=[Bn.s.flex1],t[8]=p):p=t[8],t[9]===Symbol.for("react.memo_cache_sentinel")?(f=(0,jt.jsxs)(Qs.default,{style:m,children:[h,(0,jt.jsxs)(Qs.default,{style:p,children:[(0,jt.jsx)(vu,{width:100,height:8,style:[Bn.s.mt5,Bn.s.mb10]}),(0,jt.jsx)(vu,{width:120,height:8})]})]}),t[9]=f):f=t[9],t[10]!==r?(g=r&&(0,jt.jsx)(Qs.default,{style:{marginTop:12},children:(0,jt.jsx)(vu,{width:120,height:8})}),t[10]=r,t[11]=g):g=t[11],t[12]!==g||t[13]!==u?(x=(0,jt.jsxs)(Qs.default,{style:u,children:[f,g]}),t[12]=g,t[13]=u,t[14]=x):x=t[14],x}function Pu(){const e=(0,a.c)(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(Au,{}),(0,jt.jsx)(Au,{}),(0,jt.jsx)(Au,{}),(0,jt.jsx)(Au,{}),(0,jt.jsx)(Au,{}),(0,jt.jsx)(Au,{}),(0,jt.jsx)(Au,{}),(0,jt.jsx)(Au,{}),(0,jt.jsx)(Au,{}),(0,jt.jsx)(Au,{}),(0,jt.jsx)(Au,{})]}),e[0]=t):t=e[0],t}function Eu(e){const t=(0,a.c)(7),{style:s}=e,o=(0,to.useTheme)(),n=Math.random();let r,i,l,c;return t[0]!==s||t[1]!==o.atoms.bg?(r=[to.atoms.flex_row,to.atoms.gap_md,to.atoms.px_lg,to.atoms.mt_lg,o.atoms.bg,s],t[0]=s,t[1]=o.atoms.bg,t[2]=r):r=t[2],t[3]===Symbol.for("react.memo_cache_sentinel")?(i=(0,jt.jsx)(vu,{width:52,height:52,style:to.atoms.rounded_full}),t[3]=i):i=t[3],t[4]===Symbol.for("react.memo_cache_sentinel")?(l=(0,jt.jsxs)(Qs.default,{children:[(0,jt.jsx)(vu,{width:140,height:12,style:to.atoms.mt_xs}),(0,jt.jsx)(vu,{width:120,height:8,style:to.atoms.mt_sm}),(0,jt.jsx)(vu,{width:80+100*n,height:8,style:to.atoms.mt_sm})]}),t[4]=l):l=t[4],t[5]!==r?(c=(0,jt.jsxs)(Qs.default,{style:r,children:[i,l]}),t[5]=r,t[6]=c):c=t[6],c}function Lu(){const e=(0,a.c)(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(Eu,{}),(0,jt.jsx)(Eu,{}),(0,jt.jsx)(Eu,{}),(0,jt.jsx)(Eu,{}),(0,jt.jsx)(Eu,{}),(0,jt.jsx)(Eu,{}),(0,jt.jsx)(Eu,{}),(0,jt.jsx)(Eu,{}),(0,jt.jsx)(Eu,{}),(0,jt.jsx)(Eu,{}),(0,jt.jsx)(Eu,{})]}),e[0]=t):t=e[0],t}const Ru=Ws.default.create({loadingPlaceholder:{borderRadius:6},post:{flexDirection:"row",alignItems:"flex-start",paddingHorizontal:10,paddingTop:20,paddingBottom:5,paddingRight:15},postCtrls:{opacity:.5,flexDirection:"row",justifyContent:"space-between"},postCtrl:{flex:1},postBtn:{flex:1,flexDirection:"row",alignItems:"center",padding:5},avatar:{borderRadius:999,marginRight:12},notification:{flexDirection:"row",padding:10},profileCard:{flexDirection:"row",padding:10,margin:1},profileCardAvi:{borderRadius:999,marginRight:10},smallAvatar:{borderRadius:999,marginRight:10}});function Du(e){const t=(0,a.c)(11),{label:s,onPress:o}=e,n=(0,In.usePalette)("default"),r=n.textLight;let i,l,c,d;return t[0]!==r?(i=(0,jt.jsx)(yi.FontAwesomeIcon,{icon:"arrow-rotate-left",style:r,size:18}),t[0]=r,t[1]=i):i=t[1],t[2]!==n.textLight?(l=[n.textLight,Bu.label],t[2]=n.textLight,t[3]=l):l=t[3],t[4]!==s||t[5]!==l?(c=(0,jt.jsx)(di.Text,{style:l,children:s}),t[4]=s,t[5]=l,t[6]=c):c=t[6],t[7]!==o||t[8]!==i||t[9]!==c?(d=(0,jt.jsxs)(ci.Button,{type:"default-light",onPress:o,style:Bu.loadMoreRetry,children:[i,c]}),t[7]=o,t[8]=i,t[9]=c,t[10]=d):d=t[10],d}const Bu=Ws.default.create({loadMoreRetry:{flexDirection:"row",gap:14,alignItems:"center",borderRadius:0,marginTop:1,paddingVertical:12,paddingHorizontal:20},label:{flex:1}});function Ou(){const e=(0,a.c)(11),{_:t}=(0,ut.useLingui)(),s=(0,el.useAgeAssurance)(),o=s.state.status===s.Status.Assured;let n,r,i,l;return e[0]!==t||e[1]!==o?(n=t(o?{id:"oweDNs"}:{id:"nPMed1"}),e[0]=t,e[1]=o,e[2]=n):n=e[2],e[3]!==t?(r=t({id:"0HRNgh"}),e[3]=t,e[4]=r):r=e[4],e[5]!==t?(i=t({id:"YB17O9"}),e[5]=t,e[6]=i):i=e[6],e[7]!==n||e[8]!==r||e[9]!==i?(l={notice:n,banner:r,chatsInfoText:i},e[7]=n,e[8]=r,e[9]=i,e[10]=l):l=e[10],l}function Mu(){const e=(0,a.c)(5),t=(0,el.useAgeAssurance)(),{nux:s}=Ll(Tl.AgeAssuranceDismissibleFeedBanner),{mutate:o,variables:n}=Rl(),r=!!n;let i;i=t.state.access!==t.Access.Full&&(!t.state.lastInitiatedAt&&("config"!==t.state.error&&(!r&&(!s||!s.completed))));const l=i;let c;e[0]!==o?(c=()=>{o({id:Tl.AgeAssuranceDismissibleFeedBanner,completed:!0,data:void 0})},e[0]=o,e[1]=c):c=e[1];const d=c;let u;return e[2]!==d||e[3]!==l?(u={visible:l,close:d},e[2]=d,e[3]=l,e[4]=u):u=e[4],u}function Fu(){const e=(0,a.c)(48),t=(0,to.useTheme)(),s=(0,rn.useAnalytics)(),{_:o}=(0,ut.useLingui)(),{visible:n,close:r}=Mu(),i=Ou();if(!n)return null;let l,c,d,u,m,h,p,f,g,x,_,y,b,j,v,S,w,T,k,C,I;return e[0]!==t.name||e[1]!==t.palette.primary_25?(l=(0,to.select)(t.name,{light:t.palette.primary_25,dark:t.palette.primary_25,dim:t.palette.primary_25}),e[0]=t.name,e[1]=t.palette.primary_25,e[2]=l):l=e[2],e[3]!==l?(c=[to.atoms.px_lg,{paddingVertical:10,backgroundColor:l}],e[3]=l,e[4]=c):c=e[4],e[5]!==o?(d=o({id:”s9OL/5″}),e[5]=o,e[6]=d):d=e[6],e[7]!==s||e[8]!==r?(u=()=>{r(),s.metric(“ageAssurance:navigateToSettings”,{})},e[7]=s,e[8]=r,e[9]=u):u=e[9],e[10]===Symbol.for(“react.memo_cache_sentinel”)?(m=[to.atoms.w_full,to.atoms.justify_between,to.atoms.align_center,to.atoms.gap_md],e[10]=m):m=e[10],e[11]!==t.name||e[12]!==t.palette.primary_100?(h=(0,to.select)(t.name,{light:t.palette.primary_100,dark:t.palette.primary_100,dim:t.palette.primary_100}),e[11]=t.name,e[12]=t.palette.primary_100,e[13]=h):h=e[13],e[14]!==h?(p=[to.atoms.align_center,to.atoms.justify_center,to.atoms.rounded_full,{width:42,height:42,backgroundColor:h}],e[14]=h,e[15]=p):p=e[15],e[16]===Symbol.for(“react.memo_cache_sentinel”)?(f=(0,jt.jsx)(jo.ShieldCheck_Stroke2_Corner0_Rounded,{size:”lg”}),e[16]=f):f=e[16],e[17]!==p?(g=(0,jt.jsx)(Qs.default,{style:p,children:f}),e[17]=p,e[18]=g):g=e[18],e[19]===Symbol.for(“react.memo_cache_sentinel”)?(x=[to.atoms.flex_1,{paddingRight:40}],e[19]=x):x=e[19],e[20]===Symbol.for(“react.memo_cache_sentinel”)?(_={maxWidth:400},e[20]=_):_=e[20],e[21]===Symbol.for(“react.memo_cache_sentinel”)?(y=[to.atoms.leading_snug],e[21]=y):y=e[21],e[22]!==i.banner?(b=(0,jt.jsx)(Qs.default,{style:x,children:(0,jt.jsx)(Qs.default,{style:_,children:(0,jt.jsx)(_o.Text,{style:y,children:i.banner})})}),e[22]=i.banner,e[23]=b):b=e[23],e[24]!==b||e[25]!==d||e[26]!==u||e[27]!==g?(j=(0,jt.jsxs)(go.Link,{label:d,to:”/settings/account”,onPress:u,style:m,children:[g,b]}),e[24]=b,e[25]=d,e[26]=u,e[27]=g,e[28]=j):j=e[28],e[29]!==o?(v=o({id:”VbN7mk”}),e[29]=o,e[30]=v):v=e[30],e[31]!==s||e[32]!==r?(S=()=>{r(),s.metric(“ageAssurance:dismissFeedBanner”,{})},e[31]=s,e[32]=r,e[33]=S):S=e[33],e[34]===Symbol.for(“react.memo_cache_sentinel”)?(w=[to.atoms.absolute,to.atoms.justify_center,to.atoms.align_center,{top:0,bottom:0,right:0,paddingRight:to.atoms.px_md.paddingLeft}],e[34]=w):w=e[34],e[35]!==t.name||e[36]!==t.palette.primary_600?(T=(0,to.select)(t.name,{light:t.palette.primary_600,dark:t.palette.primary_600,dim:t.palette.primary_600}),e[35]=t.name,e[36]=t.palette.primary_600,e[37]=T):T=e[37],e[38]!==T?(k=(0,jt.jsx)(jn.TimesLarge_Stroke2_Corner0_Rounded,{width:20,fill:T}),e[38]=T,e[39]=k):k=e[39],e[40]!==v||e[41]!==S||e[42]!==k?(C=(0,jt.jsx)(po.Button,{label:v,size:”small”,onPress:S,style:w,children:k}),e[40]=v,e[41]=S,e[42]=k,e[43]=C):C=e[43],e[44]!==c||e[45]!==j||e[46]!==C?(I=(0,jt.jsxs)(Qs.default,{style:c,children:[j,C]}),e[44]=c,e[45]=j,e[46]=C,e[47]=I):I=e[47],I}var Nu=o(18251),Hu=o(93626);function Vu({children:e}){return e}var zu=o(84857),Uu=o(42741),Gu=o(8299);const Wu=[“animals”,”art”,”books”,”comedy”,”comics”,”culture”,”dev”,”education”,”finance”,”food”,”gaming”,”journalism”,”movies”,”music”,”nature”,”news”,”pets”,”photography”,”politics”,”science”,”sports”,”tech”,”tv”,”writers”],qu=[“art”,”gaming”,”sports”,”comics”,”music”,”politics”,”photography”,”science”,”news”];function Qu(){const e=(0,a.c)(73),{_:t}=(0,ut.useLingui)();let s,o,n,r,i,l,c,d,u,m,h,p,f,g,x,_,y,b,j,v,S,w,T,k,C;return e[0]!==t?(s=t({id:”rJytxG”}),e[0]=t,e[1]=s):s=e[1],e[2]!==t?(o=t({id:”+QARA4″}),e[2]=t,e[3]=o):o=e[3],e[4]!==t?(n=t({id:”TGqTIz”}),e[4]=t,e[5]=n):n=e[5],e[6]!==t?(r=t({id:”CWk59I”}),e[6]=t,e[7]=r):r=e[7],e[8]!==t?(i=t({id:”Q70RyM”}),e[8]=t,e[9]=i):i=e[9],e[10]!==t?(l=t({id:”wFuUuH”}),e[10]=t,e[11]=l):l=e[11],e[12]!==t?(c=t({id:”cDg3lw”}),e[12]=t,e[13]=c):c=e[13],e[14]!==t?(d=t({id:”aqxYLv”}),e[14]=t,e[15]=d):d=e[15],e[16]!==t?(u=t({id:”8V6XO3″}),e[16]=t,e[17]=u):u=e[17],e[18]!==t?(m=t({id:”uZCzGe”}),e[18]=t,e[19]=m):m=e[19],e[20]!==t?(h=t({id:”59Bkqw”}),e[20]=t,e[21]=h):h=e[21],e[22]!==t?(p=t({id:”VjZoPG”}),e[22]=t,e[23]=p):p=e[23],e[24]!==t?(f=t({id:”i9rcQ/”}),e[24]=t,e[25]=f):f=e[25],e[26]!==t?(g=t({id:”GfaxEk”}),e[26]=t,e[27]=g):g=e[27],e[28]!==t?(x=t({id:”PGt/mb”}),e[28]=t,e[29]=x):x=e[29],e[30]!==t?(_=t({id:”qdyV/M”}),e[30]=t,e[31]=_):_=e[31],e[32]!==t?(y=t({id:”nkqs9W”}),e[32]=t,e[33]=y):y=e[33],e[34]!==t?(b=t({id:”PDaunD”}),e[34]=t,e[35]=b):b=e[35],e[36]!==t?(j=t({id:”wGvJH+”}),e[36]=t,e[37]=j):j=e[37],e[38]!==t?(v=t({id:”5/lolt”}),e[38]=t,e[39]=v):v=e[39],e[40]!==t?(S=t({id:”7JFNej”}),e[40]=t,e[41]=S):S=e[41],e[42]!==t?(w=t({id:”vlf/In”}),e[42]=t,e[43]=w):w=e[43],e[44]!==t?(T=t({id:”JwFbe8″}),e[44]=t,e[45]=T):T=e[45],e[46]!==t?(k=t({id:”IUykiF”}),e[46]=t,e[47]=k):k=e[47],e[48]!==s||e[49]!==o||e[50]!==h||e[51]!==p||e[52]!==f||e[53]!==g||e[54]!==x||e[55]!==_||e[56]!==y||e[57]!==b||e[58]!==j||e[59]!==v||e[60]!==n||e[61]!==S||e[62]!==w||e[63]!==T||e[64]!==k||e[65]!==r||e[66]!==i||e[67]!==l||e[68]!==c||e[69]!==d||e[70]!==u||e[71]!==m?(C={animals:s,art:o,books:n,comedy:r,comics:i,culture:l,dev:c,education:d,finance:u,food:m,gaming:h,journalism:p,movies:f,music:g,nature:x,news:_,pets:y,photography:b,politics:j,science:v,sports:S,tech:w,tv:T,writers:k},e[48]=s,e[49]=o,e[50]=h,e[51]=p,e[52]=f,e[53]=g,e[54]=x,e[55]=_,e[56]=y,e[57]=b,e[58]=j,e[59]=v,e[60]=n,e[61]=S,e[62]=w,e[63]=T,e[64]=k,e[65]=r,e[66]=i,e[67]=l,e[68]=c,e[69]=d,e[70]=u,e[71]=m,e[72]=C):C=e[72],C}var Ku=o(64256),Zu=o(14364),Yu=o(69121),$u=o(52621);const Xu=[“ref”,”style”];function Ju(e){const t=(0,a.c)(13);let s,o,n,r;if(t[0]!==e){var i=e;({ref:o,style:n}=i),s=(0,la.default)(i,Xu),t[0]=e,t[1]=s,t[2]=o,t[3]=n}else s=t[1],o=t[2],n=t[3];t[4]!==o?(r={outerRef:o,cursor:”grab”},t[4]=o,t[5]=r):r=t[5];const{refs:l}=function({outerRef:e,cursor:t=”grab”}={}){const s=(0,ct.useRef)(null);return(0,ct.useEffect)((()=>{if(!s.current)return;const e=s.current;let o=!1,n=!1,a=0,r=0;const i=s=>{n=!0,a=s.pageX-e.offsetLeft,r=e.scrollLeft,e.style.cursor=t},l=()=>{o&&e.addEventListener(“click”,(e=>e.stopPropagation()),{once:!0}),n=!1,o=!1,e.style.cursor=”default”},c=t=>{if(!n)return;const s=t.pageX-e.offsetLeft;if(Math.abs(s-a)<3)return;o=!0,t.preventDefault();const i=s-a;e.scrollLeft=r-i,e.contains(document.activeElement)&&document.activeElement?.blur?.()};return e.addEventListener("mousedown",i),window.addEventListener("mouseup",l),window.addEventListener("mousemove",c),()=>{e.removeEventListener(“mousedown”,i),window.removeEventListener(“mouseup”,l),window.removeEventListener(“mousemove”,c)}}),[t]),{refs:(0,ct.useMemo)((()=>(0,$u.mergeRefs)(e?[s,e]:[s])),[s,e])}}(r);let c,d,u;return t[6]===Symbol.for(“react.memo_cache_sentinel”)?(c=(0,to.web)(to.atoms.user_select_none),t[6]=c):c=t[6],t[7]!==n?(d=[n,c],t[7]=n,t[8]=d):d=t[8],t[9]!==s||t[10]!==l||t[11]!==d?(u=(0,jt.jsx)(dc.default,Object.assign({ref:l,style:d,horizontal:!0},s)),t[9]=s,t[10]=l,t[11]=d,t[12]=u):u=t[12],u}const em=211,tm=uc.utils.alpha;function sm({onSelectTab:e,interests:t,selectedInterest:s,disabled:o,interestsDisplayNames:n,TabComponent:a=om,contentContainerStyle:r,gutterWidth:l=to.tokens.space.lg}){const c=(0,to.useTheme)(),{_:d}=(0,ut.useLingui)(),u=(0,ct.useRef)(null),[m,h]=(0,ct.useState)(0),[p,f]=(0,ct.useState)(0),[g,x]=(0,ct.useState)(0),_=(0,ct.useRef)([]),[y,b]=(0,ct.useState)([]),j=(0,ud.useNonReactiveCallback)((()=>{v(t.indexOf(s))}));function v(e){const t=y[e];t&&u.current?.scrollTo({x:t.x-(m/2-t.width/2),animated:!0})}function S(s){const o=t[s];e(o),v(s)}function w(e,s,o){y.length||(_.current[e]={x:s,width:o},_.current.filter((e=>!!e)).length===t.length&&b(_.current))}(0,ct.useEffect)((()=>{y&&j()}),[y,j]);const T=p>0,k=Math.ceil(p){o=!1,t&&clearTimeout(t),s&&cancelAnimationFrame(s),C.current=null,setTimeout((()=>{I.current=!1}),100)},t=setTimeout((()=>{if(!o)return;I.current=!0;let t=p;const n=()=>{if(!o||!u.current)return;const a=g-m;let r,i=!1;if(“left”===e&&t>0)r=Math.max(0,t-3),i=r>0;else{if(!(“right”===e&&t()=>{C.current&&C.current()}),[]),(0,jt.jsxs)(Qs.default,{style:[to.atoms.relative,to.atoms.flex_row],children:[(0,jt.jsx)(Ju,{ref:u,contentContainerStyle:[to.atoms.gap_sm,{paddingHorizontal:l},r],showsHorizontalScrollIndicator:!1,decelerationRate:”fast”,snapToOffsets:y.filter((e=>!!e)).length===t.length?y.map((e=>e.x-to.tokens.space.xl)):void 0,onLayout:e=>h(e.nativeEvent.layout.width),onContentSizeChange:e=>x(e),onScroll:e=>{const t=e.nativeEvent.contentOffset.x;f(t)},scrollEventThrottle:16,children:t.map(((e,t)=>{const r=e===s&&!o;return(0,jt.jsx)(a,{onSelectTab:S,active:r,index:t,interest:e,interestsDisplayName:n[e],onLayout:w},e)}))}),i.IS_WEB&&T&&(0,jt.jsx)(Qs.default,{style:[to.atoms.absolute,to.atoms.top_0,to.atoms.left_0,to.atoms.bottom_0,to.atoms.justify_center,{paddingLeft:l},to.atoms.pr_md,to.atoms.z_10,(0,to.web)({background:`linear-gradient(to right, ${c.atoms.bg.backgroundColor} 0%, ${c.atoms.bg.backgroundColor} 70%, ${tm(c.atoms.bg.backgroundColor,0)} 100%)`})],children:(0,jt.jsx)(po.Button,{label:d({id:”fZbqlc”}),onPress:function(){if(!I.current&&u.current&&T){const e=Math.max(0,p-200);u.current.scrollTo({x:e,animated:!0})}},onPressIn:()=>A(“left”),onPressOut:P,color:”secondary”,size:”small”,style:[to.atoms.border,c.atoms.border_contrast_low,c.atoms.bg,to.atoms.h_full,to.atoms.aspect_square,to.atoms.rounded_full],children:(0,jt.jsx)(po.ButtonIcon,{icon:zu.ArrowLeft_Stroke2_Corner0_Rounded})})}),i.IS_WEB&&k&&(0,jt.jsx)(Qs.default,{style:[to.atoms.absolute,to.atoms.top_0,to.atoms.right_0,to.atoms.bottom_0,to.atoms.justify_center,{paddingRight:l},to.atoms.pl_md,to.atoms.z_10,(0,to.web)({background:`linear-gradient(to left, ${c.atoms.bg.backgroundColor} 0%, ${c.atoms.bg.backgroundColor} 70%, ${tm(c.atoms.bg.backgroundColor,0)} 100%)`})],children:(0,jt.jsx)(po.Button,{label:d({id:”6vj9Bp”}),onPress:function(){if(!I.current&&u.current&&k){const e=g-m,t=Math.min(e,p+200);u.current.scrollTo({x:t,animated:!0})}},onPressIn:()=>A(“right”),onPressOut:P,color:”secondary”,size:”small”,style:[to.atoms.border,c.atoms.border_contrast_low,c.atoms.bg,to.atoms.h_full,to.atoms.aspect_square,to.atoms.rounded_full],children:(0,jt.jsx)(po.ButtonIcon,{icon:zu.ArrowRight_Stroke2_Corner0_Rounded})})})]})}function om(e){const t=(0,a.c)(29),{onSelectTab:s,interest:o,active:n,index:r,interestsDisplayName:i,onLayout:l}=e,c=(0,to.useTheme)(),{_:d}=(0,ut.useLingui)();let u;t[0]!==d||t[1]!==n||t[2]!==i?(u=d(n?{values:{interestsDisplayName:i},id:”XuvNEx”}:{values:{interestsDisplayName:i},id:”aLPMQi”}),t[0]=d,t[1]=n,t[2]=i,t[3]=u):u=t[3];const m=u;let h,p,f,g,x,_;return t[4]!==r||t[5]!==l?(h=e=>l(r,e.nativeEvent.layout.x,e.nativeEvent.layout.width),t[4]=r,t[5]=l,t[6]=h):h=t[6],t[7]!==r||t[8]!==s?(p=()=>s(r),t[7]=r,t[8]=s,t[9]=p):p=t[9],t[10]===Symbol.for(“react.memo_cache_sentinel”)?(f=(0,to.web)({outline:”none”}),t[10]=f):f=t[10],t[11]!==n||t[12]!==i||t[13]!==c.atoms.bg||t[14]!==c.atoms.bg_contrast_25||t[15]!==c.atoms.border_contrast_low||t[16]!==c.atoms.border_contrast_medium||t[17]!==c.atoms.text||t[18]!==c.atoms.text_contrast_medium||t[19]!==c.palette?(g=e=>{const{hovered:t,pressed:s,focused:o}=e;return(0,jt.jsx)(Qs.default,{style:[to.atoms.rounded_full,to.atoms.px_lg,to.atoms.py_sm,to.atoms.border,n||t||s?[c.atoms.bg_contrast_25,c.atoms.border_contrast_medium]:o?{borderColor:c.palette.primary_300,backgroundColor:c.palette.primary_25}:[c.atoms.bg,c.atoms.border_contrast_low]],children:(0,jt.jsx)(_o.Text,{style:[to.atoms.font_medium,n||t||s?c.atoms.text:c.atoms.text_contrast_medium],children:i})})},t[11]=n,t[12]=i,t[13]=c.atoms.bg,t[14]=c.atoms.bg_contrast_25,t[15]=c.atoms.border_contrast_low,t[16]=c.atoms.border_contrast_medium,t[17]=c.atoms.text,t[18]=c.atoms.text_contrast_medium,t[19]=c.palette,t[20]=g):g=t[20],t[21]!==m||t[22]!==p||t[23]!==g?(x=(0,jt.jsx)(po.Button,{label:m,onPress:p,style:f,children:g}),t[21]=m,t[22]=p,t[23]=g,t[24]=x):x=t[24],t[25]!==o||t[26]!==h||t[27]!==x?(_=(0,jt.jsx)(Qs.default,{onLayout:h,children:x},o),t[25]=o,t[26]=h,t[27]=x,t[28]=_):_=t[28],_}function nm(e){return(t,s)=>{const o=e?.indexOf(t)??-1,n=e?.indexOf(s)??-1;return(-1===o?1/0:o)-(-1===n?1/0:n)}}var am=o(66142),rm=o(23876);function im(e){const t=(0,a.c)(30),{current:s,total:o,title:n,subtitle:r,tabularNumsTitle:i}=e,l=(0,to.useTheme)(),c=!r&&to.atoms.align_center;let d,u,m,h,p,f,g,x,_,y;return t[0]!==c?(d=[to.atoms.flex_row,to.atoms.gap_sm,c],t[0]=c,t[1]=d):d=t[1],t[2]!==s||t[3]!==l.palette.contrast_100||t[4]!==l.palette.primary_400||t[5]!==l.palette.primary_500||t[6]!==o?(u=s===o?(0,jt.jsx)(rm.AnimatedCheck,{playOnMount:!0,fill:l.palette.primary_500,width:20}):(0,jt.jsx)(am.Circle,{progress:s/o,color:l.palette.primary_400,size:20,thickness:3,borderWidth:0,unfilledColor:l.palette.contrast_100}),t[2]=s,t[3]=l.palette.contrast_100,t[4]=l.palette.primary_400,t[5]=l.palette.primary_500,t[6]=o,t[7]=u):u=t[7],t[8]!==r?(m=r&&{marginTop:-2},t[8]=r,t[9]=m):m=t[9],t[10]!==m?(h=[to.atoms.flex_col,to.atoms.gap_xs,m],t[10]=m,t[11]=h):h=t[11],t[12]!==i?(p=i&&{fontVariant:[“tabular-nums”]},t[12]=i,t[13]=p):p=t[13],t[14]!==p?(f=[to.atoms.text_sm,to.atoms.font_semi_bold,to.atoms.leading_tight,p],t[14]=p,t[15]=f):f=t[15],t[16]!==f||t[17]!==n?(g=(0,jt.jsx)(_o.Text,{style:f,children:n}),t[16]=f,t[17]=n,t[18]=g):g=t[18],t[19]!==r||t[20]!==l.atoms?(x=r&&(0,jt.jsx)(_o.Text,{style:[to.atoms.text_sm,l.atoms.text_contrast_medium,to.atoms.leading_tight],children:r}),t[19]=r,t[20]=l.atoms,t[21]=x):x=t[21],t[22]!==h||t[23]!==g||t[24]!==x?(_=(0,jt.jsxs)(Qs.default,{style:h,children:[g,x]}),t[22]=h,t[23]=g,t[24]=x,t[25]=_):_=t[25],t[26]!==_||t[27]!==d||t[28]!==u?(y=(0,jt.jsxs)(Qs.default,{style:d,children:[u,_]}),t[26]=_,t[27]=d,t[28]=u,t[29]=y):y=t[29],y}function lm(e){const t=(0,a.c)(25),{guide:s,showArrow:o}=e,n=(0,rn.useAnalytics)(),{_:r}=(0,ut.useLingui)(),i=so.useDialogControl(),{gtPhone:l}=(0,to.useBreakpoints)(),{height:c}=(0,En.default)();let d,u;t[0]!==r?(d=r({id:”zjruXt”}),t[0]=r,t[1]=d):d=t[1],t[2]!==n||t[3]!==i?(u=()=>{i.open(),n.metric(“progressGuide:followDialog:open”,{})},t[2]=n,t[3]=i,t[4]=u):u=t[4];const m=l?”small”:”large”;let h,p,f,g,x,_,y,b;return t[5]===Symbol.for(“react.memo_cache_sentinel”)?(h=(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”zjruXt”})}),t[5]=h):h=t[5],t[6]!==o?(p=o&&(0,jt.jsx)(po.ButtonIcon,{icon:zu.ArrowRight_Stroke2_Corner0_Rounded}),t[6]=o,t[7]=p):p=t[7],t[8]!==d||t[9]!==u||t[10]!==m||t[11]!==p?(f=(0,jt.jsxs)(po.Button,{label:d,onPress:u,size:m,color:”primary”,children:[h,p]}),t[8]=d,t[9]=u,t[10]=m,t[11]=p,t[12]=f):f=t[12],t[13]!==c?(g={minHeight:c},t[13]=c,t[14]=g):g=t[14],t[15]===Symbol.for(“react.memo_cache_sentinel”)?(x=(0,jt.jsx)(so.Handle,{}),t[15]=x):x=t[15],t[16]!==s?(_=(0,jt.jsx)(mm,{guide:s}),t[16]=s,t[17]=_):_=t[17],t[18]!==i||t[19]!==g||t[20]!==_?(y=(0,jt.jsxs)(so.Outer,{control:i,nativeOptions:g,children:[x,_]}),t[18]=i,t[19]=g,t[20]=_,t[21]=y):y=t[21],t[22]!==y||t[23]!==f?(b=(0,jt.jsxs)(jt.Fragment,{children:[f,y]}),t[22]=y,t[23]=f,t[24]=b):b=t[24],b}function cm(e){const t=(0,a.c)(7),{control:s}=e,{height:o}=(0,En.default)();let n,r,i,l;return t[0]!==o?(n={minHeight:o},t[0]=o,t[1]=n):n=t[1],t[2]===Symbol.for(“react.memo_cache_sentinel”)?(r=(0,jt.jsx)(so.Handle,{}),i=(0,jt.jsx)(mm,{}),t[2]=r,t[3]=i):(r=t[2],i=t[3]),t[4]!==s||t[5]!==n?(l=(0,jt.jsxs)(so.Outer,{control:s,nativeOptions:n,children:[r,i]}),t[4]=s,t[5]=n,t[6]=l):l=t[6],l}let dm=””,um=””;function mm({guide:e}){const{_:t}=(0,ut.useLingui)(),s=(0,rn.useAnalytics)(),o=Qu(),{data:n}=(0,Ia.usePreferencesQuery)(),a=n?.interests?.tags,r=Object.keys(o).sort(nm(qu)).sort(nm(a)),[i,l]=(0,ct.useState)((()=>dm||(a&&r.includes(a[0])?a[0]:r[0]))),[c,d]=(0,ct.useState)(um),u=(0,bs.useModerationOpts)(),m=(0,ct.useRef)(null),h=(0,ct.useRef)(null),[p,f]=(0,ct.useState)(0),{currentAccount:g}=(0,Yt.useSession)();(0,ct.useEffect)((()=>{um=c,dm=i}),[c,i]);const{data:x,isFetching:_,error:y}=(0,Zu.useGetSuggestedUsersQuery)({category:i,limit:50}),{data:b,isFetching:j,error:v,isError:S}=(0,Ku.useActorSearch)({enabled:!!c,query:c}),w=!!c,T=c||i,k=(0,ct.useMemo)((()=>{const e=w?b?.pages.flatMap((e=>e.actors)):x?.actors;let s=[];if(_||j){const e=Array(10).fill(0).map(((e,t)=>({type:”placeholder”,key:t+””})));s.push(…e)}else if(w&&v||!w&&y||!e?.length)s.push({type:”empty”,key:”empty”,message:t({id:”zltW1E”})});else{const t=new Set;for(const o of e)t.has(o.did)||o.did!==g?.did&&(o.viewer?.following||(t.add(o.did),s.push({type:”profile”,key:T+”:”+o.did,profile:o})))}return!w||j||s.length||S||s.push({type:”empty”,key:”empty”,message:t({id:”Ev2r9A”})}),s}),[t,x,y,_,b,v,j,g?.did,w,T,S]),C=(0,ct.useCallback)((({item:e,index:t})=>{switch(e.type){case”profile”:return(0,jt.jsx)(gm,{profile:e.profile,moderationOpts:u,noBorder:0===t});case”placeholder”:return(0,jt.jsx)(bm,{},e.key);case”empty”:return(0,jt.jsx)(jm,{message:e.message},e.key);default:return null}}),[u]),I=(0,ct.useRef)(new Set),A=(0,ct.useRef)(k);A.current=k;const P=(0,ct.useRef)(i);P.current=i;const E=(0,ud.useNonReactiveCallback)((({viewableItems:e})=>{for(const t of e){const e=t.item;if(“profile”===e.type&&!I.current.has(e.profile.did)){I.current.add(e.profile.did);const t=A.current.findIndex((t=>”profile”===t.type&&t.profile.did===e.profile.did));s.metric(“suggestedUser:seen”,{logContext:”ProgressGuide”,recId:w?void 0:x?.recId,position:-1!==t?t:0,suggestedDid:e.profile.did,category:P.current})}}})),L=(0,ct.useMemo)((()=>({itemVisiblePercentThreshold:50})),[]),R=(0,ct.useCallback)((e=>{l(e),h.current?.clear(),d(“”),m.current?.scrollToOffset({offset:0,animated:!1})}),[l,d]),D=(0,jt.jsx)(hm,{guide:e,inputRef:h,listRef:m,searchText:c,onSelectTab:R,setHeaderHeight:f,setSearchText:d,interests:r,selectedInterest:i,interestsDisplayNames:o});return(0,jt.jsx)(so.InnerFlatList,{ref:m,data:k,renderItem:C,ListHeaderComponent:D,stickyHeaderIndices:[0],keyExtractor:e=>e.key,style:[to.atoms.px_0,(0,to.web)([to.atoms.py_0,{height:”100vh”,maxHeight:600}]),(0,to.native)({height:”100%”})],webInnerContentContainerStyle:to.atoms.py_0,webInnerStyle:[to.atoms.py_0,{maxWidth:500,minWidth:200}],keyboardDismissMode:”on-drag”,scrollIndicatorInsets:{top:p},initialNumToRender:8,maxToRenderPerBatch:8,onViewableItemsChanged:E,viewabilityConfig:L})}let hm=e=>{const t=(0,a.c)(32),{guide:s,inputRef:o,listRef:n,searchText:r,onSelectTab:i,setHeaderHeight:l,setSearchText:c,interests:d,selectedInterest:u,interestsDisplayNames:m}=e,h=(0,to.useTheme)(),p=so.useDialogContext();let f,g,x,_,y,b,j,v;t[0]!==l?(f=e=>l(e.nativeEvent.layout.height),t[0]=l,t[1]=f):f=t[1],t[2]===Symbol.for(“react.memo_cache_sentinel”)?(g=(0,to.web)(to.atoms.pt_lg),x=(0,to.native)(to.atoms.pt_4xl),t[2]=g,t[3]=x):(g=t[2],x=t[3]),t[4]!==h.atoms.bg||t[5]!==h.atoms.border_contrast_low?(_=[to.atoms.relative,g,x,to.atoms.pb_xs,to.atoms.border_b,h.atoms.border_contrast_low,h.atoms.bg],t[4]=h.atoms.bg,t[5]=h.atoms.border_contrast_low,t[6]=_):_=t[6],t[7]!==s?(y=(0,jt.jsx)(pm,{guide:s}),t[7]=s,t[8]=y):y=t[8],t[9]===Symbol.for(“react.memo_cache_sentinel”)?(b=[(0,to.web)(to.atoms.pt_xs),to.atoms.pb_xs],t[9]=b):b=t[9],t[10]!==n||t[11]!==c?(j=e=>{c(e),n.current?.scrollToOffset({offset:0,animated:!1})},t[10]=n,t[11]=c,t[12]=j):j=t[12],t[13]!==p.close||t[14]!==o||t[15]!==r||t[16]!==j?(v=(0,jt.jsx)(ym,{inputRef:o,defaultValue:r,onChangeText:j,onEscape:p.close}),t[13]=p.close,t[14]=o,t[15]=r,t[16]=j,t[17]=v):v=t[17];const S=!!r;let w,T,k;return t[18]!==d||t[19]!==m||t[20]!==i||t[21]!==u||t[22]!==S?(w=(0,jt.jsx)(sm,{onSelectTab:i,interests:d,selectedInterest:u,disabled:S,interestsDisplayNames:m,TabComponent:fm}),t[18]=d,t[19]=m,t[20]=i,t[21]=u,t[22]=S,t[23]=w):w=t[23],t[24]!==w||t[25]!==v?(T=(0,jt.jsxs)(Qs.default,{style:b,children:[v,w]}),t[24]=w,t[25]=v,t[26]=T):T=t[26],t[27]!==f||t[28]!==T||t[29]!==_||t[30]!==y?(k=(0,jt.jsxs)(Qs.default,{onLayout:f,style:_,children:[y,T]}),t[27]=f,t[28]=T,t[29]=_,t[30]=y,t[31]=k):k=t[31],k};function pm(e){const t=(0,a.c)(15),{guide:s}=e,{_:o}=(0,ut.useLingui)(),n=(0,to.useTheme)(),r=so.useDialogContext();let l,c,d,u,m,h,p;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(l=[to.atoms.px_lg,to.atoms.relative,to.atoms.flex_row,to.atoms.justify_between,to.atoms.align_center],t[0]=l):l=t[0],t[1]!==n.atoms.text_contrast_high?(c=[to.atoms.z_10,to.atoms.text_lg,to.atoms.font_bold,to.atoms.leading_tight,n.atoms.text_contrast_high],t[1]=n.atoms.text_contrast_high,t[2]=c):c=t[2],t[3]===Symbol.for(“react.memo_cache_sentinel”)?(d=(0,jt.jsx)(ut.Trans,{id:”zjruXt”}),t[3]=d):d=t[3],t[4]!==c?(u=(0,jt.jsx)(_o.Text,{style:c,children:d}),t[4]=c,t[5]=u):u=t[5],t[6]!==s?(m=s&&(0,jt.jsx)(Qs.default,{style:i.IS_WEB&&{paddingRight:36},children:(0,jt.jsx)(im,{current:s.numFollows+1,total:11,title:`${s.numFollows} / 10`,tabularNumsTitle:!0})}),t[6]=s,t[7]=m):m=t[7],t[8]!==o||t[9]!==r?(h=i.IS_WEB?(0,jt.jsx)(po.Button,{label:o({id:”yz7wBu”}),size:”small”,shape:”round”,variant:i.IS_WEB?”ghost”:”solid”,color:”secondary”,style:[to.atoms.absolute,to.atoms.z_20,(0,to.web)({right:8}),(0,to.native)({right:0}),(0,to.native)({height:32,width:32,borderRadius:16})],onPress:()=>r.close(),children:(0,jt.jsx)(po.ButtonIcon,{icon:jn.TimesLarge_Stroke2_Corner0_Rounded,size:”md”})}):null,t[8]=o,t[9]=r,t[10]=h):h=t[10],t[11]!==u||t[12]!==m||t[13]!==h?(p=(0,jt.jsxs)(Qs.default,{style:l,children:[u,m,h]}),t[11]=u,t[12]=m,t[13]=h,t[14]=p):p=t[14],p}hm=(0,ct.memo)(hm);let fm=e=>{const t=(0,a.c)(26),{onSelectTab:s,interest:o,active:n,index:r,interestsDisplayName:i,onLayout:l}=e,c=(0,to.useTheme)(),{_:d}=(0,ut.useLingui)();let u;t[0]!==d||t[1]!==n||t[2]!==i?(u=d(n?{values:{interestsDisplayName:i},id:”Uj7dy6″}:{values:{interestsDisplayName:i},id:”pfhtuo”}),t[0]=d,t[1]=n,t[2]=i,t[3]=u):u=t[3];const m=u;let h,p,f,g,x;return t[4]!==r||t[5]!==l?(h=e=>l(r,e.nativeEvent.layout.x,e.nativeEvent.layout.width),t[4]=r,t[5]=l,t[6]=h):h=t[6],t[7]!==r||t[8]!==s?(p=()=>s(r),t[7]=r,t[8]=s,t[9]=p):p=t[9],t[10]!==n||t[11]!==i||t[12]!==c.atoms.bg||t[13]!==c.atoms.bg_contrast_25||t[14]!==c.atoms.border_contrast_low||t[15]!==c.atoms.text||t[16]!==c.atoms.text_contrast_medium?(f=e=>{const{hovered:t,pressed:s}=e;return(0,jt.jsx)(Qs.default,{style:[to.atoms.rounded_full,to.atoms.px_lg,to.atoms.py_sm,to.atoms.border,n||t||s?[c.atoms.bg_contrast_25,{borderColor:c.atoms.bg_contrast_25.backgroundColor}]:[c.atoms.bg,c.atoms.border_contrast_low]],children:(0,jt.jsx)(_o.Text,{style:[to.atoms.font_medium,n||t||s?c.atoms.text:c.atoms.text_contrast_medium],children:i})})},t[10]=n,t[11]=i,t[12]=c.atoms.bg,t[13]=c.atoms.bg_contrast_25,t[14]=c.atoms.border_contrast_low,t[15]=c.atoms.text,t[16]=c.atoms.text_contrast_medium,t[17]=f):f=t[17],t[18]!==m||t[19]!==p||t[20]!==f?(g=(0,jt.jsx)(po.Button,{label:m,onPress:p,children:f}),t[18]=m,t[19]=p,t[20]=f,t[21]=g):g=t[21],t[22]!==o||t[23]!==h||t[24]!==g?(x=(0,jt.jsx)(Qs.default,{onLayout:h,children:g},o),t[22]=o,t[23]=h,t[24]=g,t[25]=x):x=t[25],x};fm=(0,ct.memo)(fm);let gm=e=>{const t=(0,a.c)(4),{profile:s,moderationOpts:o,noBorder:n}=e;let r;return t[0]!==o||t[1]!==n||t[2]!==s?(r=(0,jt.jsx)(xm,{profile:s,moderationOpts:o,noBorder:n}),t[0]=o,t[1]=n,t[2]=s,t[3]=r):r=t[3],r};function xm(e){const t=(0,a.c)(13),{profile:s,moderationOpts:o,onFollow:n,noBorder:r}=e,l=so.useDialogContext(),c=(0,to.useTheme)();let d,u,m,h;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(d=[to.atoms.flex_1],t[0]=d):d=t[0],t[1]!==l?(u=()=>l.close(),t[1]=l,t[2]=u):u=t[2],t[3]!==o||t[4]!==r||t[5]!==n||t[6]!==s||t[7]!==c?(m=e=>{const{hovered:t,pressed:a}=e;return(0,jt.jsx)(_m,{style:[to.atoms.flex_1,r&&to.atoms.border_t_0,(t||a)&&c.atoms.bg_contrast_25],children:(0,jt.jsxs)(Uu.Outer,{children:[(0,jt.jsxs)(Uu.Header,{children:[(0,jt.jsx)(Uu.Avatar,{disabledPreview:!i.IS_WEB,profile:s,moderationOpts:o}),(0,jt.jsx)(Uu.NameAndHandle,{profile:s,moderationOpts:o}),(0,jt.jsx)(Uu.FollowButton,{profile:s,moderationOpts:o,logContext:”PostOnboardingFindFollows”,shape:”round”,onPress:n,colorInverted:!0})]}),(0,jt.jsx)(Uu.Description,{profile:s,numberOfLines:2})]})})},t[3]=o,t[4]=r,t[5]=n,t[6]=s,t[7]=c,t[8]=m):m=t[8],t[9]!==s||t[10]!==u||t[11]!==m?(h=(0,jt.jsx)(Uu.Link,{profile:s,style:d,onPress:u,children:m}),t[9]=s,t[10]=u,t[11]=m,t[12]=h):h=t[12],h}function _m(e){const t=(0,a.c)(6),{children:s,style:o}=e,n=(0,to.useTheme)();let r,i;return t[0]!==o||t[1]!==n.atoms.border_contrast_low?(r=[to.atoms.w_full,to.atoms.py_md,to.atoms.px_lg,to.atoms.border_t,n.atoms.border_contrast_low,o],t[0]=o,t[1]=n.atoms.border_contrast_low,t[2]=r):r=t[2],t[3]!==s||t[4]!==r?(i=(0,jt.jsx)(Qs.default,{style:r,children:s}),t[3]=s,t[4]=r,t[5]=i):i=t[5],i}function ym(e){const t=(0,a.c)(33),{onChangeText:s,onEscape:o,inputRef:n,defaultValue:r}=e,i=(0,to.useTheme)(),{_:l}=(0,ut.useLingui)(),{state:c,onIn:d,onOut:u}=(0,Dd.useInteractionState)(),{state:m,onIn:h,onOut:p}=(0,Dd.useInteractionState)(),f=c||m;let g,x;t[0]!==d||t[1]!==u?(g=(0,to.web)({onMouseEnter:d,onMouseLeave:u}),t[0]=d,t[1]=u,t[2]=g):g=t[2],t[3]===Symbol.for(“react.memo_cache_sentinel”)?(x=[to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_sm,to.atoms.px_lg,to.atoms.py_xs],t[3]=x):x=t[3];const _=f?i.palette.primary_500:i.palette.contrast_300;let y,b,j;t[4]!==_?(y=(0,jt.jsx)(Yu.MagnifyingGlass_Stroke2_Corner0_Rounded,{size:”md”,fill:_}),t[4]=_,t[5]=y):y=t[5],t[6]!==l?(b=l({id:”OKweoj”}),t[6]=l,t[7]=b):b=t[7],t[8]!==i.atoms.text?(j=[to.atoms.flex_1,to.atoms.py_md,to.atoms.text_md,i.atoms.text],t[8]=i.atoms.text,t[9]=j):j=t[9];const v=i.palette.contrast_500,S=”light”===i.name?”light”:”dark”;let w,T,k,C,I;return t[10]!==o?(w=e=>{const{nativeEvent:t}=e;”Escape”===t.key&&o()},t[10]=o,t[11]=w):w=t[11],t[12]!==l?(T=l({id:”/r0Dm5″}),t[12]=l,t[13]=T):T=t[13],t[14]!==l?(k=l({id:”XRcrP9″}),t[14]=l,t[15]=k):k=t[15],t[16]!==r||t[17]!==n||t[18]!==p||t[19]!==s||t[20]!==h||t[21]!==i.palette.contrast_500||t[22]!==T||t[23]!==k||t[24]!==b||t[25]!==j||t[26]!==S||t[27]!==w?(C=(0,jt.jsx)(Gu.default,{ref:n,placeholder:b,defaultValue:r,onChangeText:s,onFocus:h,onBlur:p,style:j,placeholderTextColor:v,keyboardAppearance:S,returnKeyType:”search”,clearButtonMode:”while-editing”,maxLength:50,onKeyPress:w,autoCorrect:!1,autoComplete:”off”,autoCapitalize:”none”,accessibilityLabel:T,accessibilityHint:k}),t[16]=r,t[17]=n,t[18]=p,t[19]=s,t[20]=h,t[21]=i.palette.contrast_500,t[22]=T,t[23]=k,t[24]=b,t[25]=j,t[26]=S,t[27]=w,t[28]=C):C=t[28],t[29]!==g||t[30]!==C||t[31]!==y?(I=(0,jt.jsxs)(Qs.default,Object.assign({},g,{style:x,children:[y,C]})),t[29]=g,t[30]=C,t[31]=y,t[32]=I):I=t[32],I}function bm(){const e=(0,a.c)(17),t=(0,to.useTheme)();let s,o,n,r,i,l,c,d,u,m;return e[0]===Symbol.for(“react.memo_cache_sentinel”)?(s=[to.atoms.flex_1,to.atoms.py_md,to.atoms.px_lg,to.atoms.gap_md,to.atoms.align_center,to.atoms.flex_row],e[0]=s):s=e[0],e[1]===Symbol.for(“react.memo_cache_sentinel”)?(o={width:42,height:42},e[1]=o):o=e[1],e[2]!==t.atoms.bg_contrast_25?(n=(0,jt.jsx)(Qs.default,{style:[to.atoms.rounded_full,o,t.atoms.bg_contrast_25]}),e[2]=t.atoms.bg_contrast_25,e[3]=n):n=e[3],e[4]===Symbol.for(“react.memo_cache_sentinel”)?(r=[to.atoms.flex_1,to.atoms.gap_sm],e[4]=r):r=e[4],e[5]===Symbol.for(“react.memo_cache_sentinel”)?(i={width:80,height:14},e[5]=i):i=e[5],e[6]!==t.atoms.bg_contrast_25?(l=(0,jt.jsx)(Qs.default,{style:[to.atoms.rounded_xs,i,t.atoms.bg_contrast_25]}),e[6]=t.atoms.bg_contrast_25,e[7]=l):l=e[7],e[8]===Symbol.for(“react.memo_cache_sentinel”)?(c={width:120,height:10},e[8]=c):c=e[8],e[9]!==t.atoms.bg_contrast_25?(d=(0,jt.jsx)(Qs.default,{style:[to.atoms.rounded_xs,c,t.atoms.bg_contrast_25]}),e[9]=t.atoms.bg_contrast_25,e[10]=d):d=e[10],e[11]!==l||e[12]!==d?(u=(0,jt.jsxs)(Qs.default,{style:r,children:[l,d]}),e[11]=l,e[12]=d,e[13]=u):u=e[13],e[14]!==n||e[15]!==u?(m=(0,jt.jsxs)(Qs.default,{style:s,children:[n,u]}),e[14]=n,e[15]=u,e[16]=m):m=e[16],m}function jm(e){const t=(0,a.c)(11),{message:s}=e,o=(0,to.useTheme)();let n,r,i,l,c;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(n=[to.atoms.p_lg,to.atoms.py_xl,to.atoms.align_center,to.atoms.gap_md],t[0]=n):n=t[0],t[1]!==o.atoms.text_contrast_high?(r=[to.atoms.text_sm,to.atoms.italic,o.atoms.text_contrast_high],t[1]=o.atoms.text_contrast_high,t[2]=r):r=t[2],t[3]!==s||t[4]!==r?(i=(0,jt.jsx)(_o.Text,{style:r,children:s}),t[3]=s,t[4]=r,t[5]=i):i=t[5],t[6]!==o.atoms.text_contrast_low?(l=(0,jt.jsx)(_o.Text,{style:[to.atoms.text_xs,o.atoms.text_contrast_low],children:”(\u256f\xb0\u25a1\xb0)\u256f\ufe35 \u253b\u2501\u253b”}),t[6]=o.atoms.text_contrast_low,t[7]=l):l=t[7],t[8]!==i||t[9]!==l?(c=(0,jt.jsxs)(Qs.default,{style:n,children:[i,l]}),t[8]=i,t[9]=l,t[10]=c):c=t[10],c}gm=(0,ct.memo)(gm);var vm=o(64559),Sm=o(56694);const wm=10;function Tm(e){const t=(0,a.c)(34),{style:s}=e,o=(0,to.useTheme)(),{_:n}=(0,ut.useLingui)(),{gtPhone:r}=(0,to.useBreakpoints)(),{rightNavVisible:i}=(0,to.useLayoutBreakpoints)(),{currentAccount:l}=(0,Yt.useSession)(),c=(0,Ms.useProgressGuide)(“follow-10”),d=(0,Ms.useProgressGuide)(“like-10-and-follow-7”),u=c||d,{endProgressGuide:m}=(0,Ms.useProgressGuideControls)();let h;t[0]===Symbol.for(“react.memo_cache_sentinel”)?(h={limit:wm},t[0]=h):h=t[0];const{data:p}=(0,vm.useProfileFollowsQuery)(l?.did,h),f=p?.pages?.[0]?.follows?.length??0;if(“follow-10″===u?.guide&&f>=wm)return null;const g=r&&!i;if(u){let e,a,r,i,l,c,d,h,f,x,_,y,b;return t[1]!==s||t[2]!==o.atoms.bg_contrast_50?(e=[to.atoms.flex_col,to.atoms.gap_md,to.atoms.rounded_md,o.atoms.bg_contrast_50,to.atoms.p_lg,s],t[1]=s,t[2]=o.atoms.bg_contrast_50,t[3]=e):e=t[3],t[4]===Symbol.for(“react.memo_cache_sentinel”)?(a=[to.atoms.flex_row,to.atoms.align_center,to.atoms.justify_between],t[4]=a):a=t[4],t[5]!==o.atoms.text?(r=[o.atoms.text,to.atoms.font_semi_bold,to.atoms.text_md],t[5]=o.atoms.text,t[6]=r):r=t[6],t[7]===Symbol.for(“react.memo_cache_sentinel”)?(i=(0,jt.jsx)(ut.Trans,{id:”5OAfj2″}),t[7]=i):i=t[7],t[8]!==r?(l=(0,jt.jsx)(_o.Text,{style:r,children:i}),t[8]=r,t[9]=l):l=t[9],t[10]!==n?(c=n({id:”uwkE+S”}),t[10]=n,t[11]=c):c=t[11],t[12]===Symbol.for(“react.memo_cache_sentinel”)?(d=[to.atoms.bg_transparent,{marginTop:-6,marginRight:-6}],h=(0,jt.jsx)(po.ButtonIcon,{icon:jn.TimesLarge_Stroke2_Corner0_Rounded,size:”xs”}),t[12]=d,t[13]=h):(d=t[12],h=t[13]),t[14]!==m||t[15]!==c?(f=(0,jt.jsx)(po.Button,{variant:”ghost”,size:”tiny”,color:”secondary”,shape:”round”,label:c,onPress:m,style:d,children:h}),t[14]=m,t[15]=c,t[16]=f):f=t[16],t[17]!==f||t[18]!==l?(x=(0,jt.jsxs)(Qs.default,{style:a,children:[l,f]}),t[17]=f,t[18]=l,t[19]=x):x=t[19],t[20]!==p?.pages?.[0]?.follows||t[21]!==u||t[22]!==g?(_=”follow-10″===u.guide&&(0,jt.jsxs)(Qs.default,{style:[g?[to.atoms.flex_row,to.atoms.flex_wrap,to.atoms.align_center,to.atoms.justify_between,to.atoms.gap_sm]:[to.atoms.flex_col,to.atoms.gap_md]],children:[(0,jt.jsx)(km,{follows:p?.pages?.[0]?.follows}),(0,jt.jsx)(lm,{guide:u,showArrow:g})]}),t[20]=p?.pages?.[0]?.follows,t[21]=u,t[22]=g,t[23]=_):_=t[23],t[24]!==n||t[25]!==u.guide||t[26]!==u.numFollows||t[27]!==u.numLikes?(y=”like-10-and-follow-7″===u.guide&&(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(im,{current:u.numLikes+1,total:11,title:n({id:”U4+xpl”}),subtitle:n({id:”rrAqb8″})}),(0,jt.jsx)(im,{current:u.numFollows+1,total:8,title:n({id:”6UV0sV”}),subtitle:n({id:”Pddc2S”})})]}),t[24]=n,t[25]=u.guide,t[26]=u.numFollows,t[27]=u.numLikes,t[28]=y):y=t[28],t[29]!==x||t[30]!==_||t[31]!==y||t[32]!==e?(b=(0,jt.jsxs)(Qs.default,{style:e,children:[x,_,y]}),t[29]=x,t[30]=_,t[31]=y,t[32]=e,t[33]=b):b=t[33],b}return null}function km(e){const t=(0,a.c)(9),{follows:s}=e,o=(0,to.useTheme)(),[n,r]=(0,ct.useState)(0);let i;t[0]===Symbol.for(“react.memo_cache_sentinel”)?(i=e=>{r(e.nativeEvent.layout.width)},t[0]=i):i=t[0];const l=i,c=n>0?n/(wm-.22*(wm-1)):0,d=.22*c,u=.5*c;let m;if(t[1]!==c||t[2]!==n||t[3]!==s||t[4]!==u||t[5]!==d||t[6]!==o){const e=s?.slice(0,wm)??[],a=wm-e.length;let r;t[8]===Symbol.for(“react.memo_cache_sentinel”)?(r=[to.atoms.flex_row,to.atoms.flex_1],t[8]=r):r=t[8],m=(0,jt.jsx)(Qs.default,{style:r,onLayout:l,children:n>0&&(0,jt.jsxs)(jt.Fragment,{children:[e.map(((e,t)=>(0,jt.jsx)(Qs.default,{style:[to.atoms.rounded_full,to.atoms.border,o.atoms.border_contrast_low,{marginLeft:0===t?0:-d,zIndex:wm-t}],children:(0,jt.jsx)(or.UserAvatar,{type:”user”,size:c-2,avatar:e.avatar,noBorder:!0})},e.did))),Array(a).fill(0).map(((t,s)=>(0,jt.jsx)(Qs.default,{style:[to.atoms.align_center,to.atoms.justify_center,to.atoms.rounded_full,o.atoms.bg_contrast_300,to.atoms.border,o.atoms.border_contrast_low,{width:c,height:c,marginLeft:0===e.length&&0===s?0:-d,zIndex:wm-e.length-s}],children:(0,jt.jsx)(Sm.Person_Filled_Corner2_Rounded,{width:u,height:u,fill:o.atoms.bg_contrast_50.backgroundColor})},`placeholder-${s}`)))]})}),t[1]=c,t[2]=n,t[3]=s,t[4]=u,t[5]=d,t[6]=o,t[7]=m}else m=t[7];return m}const Cm=200,Im=165,Am=120;function Pm(e){const t=(0,a.c)(11),{children:s,style:o}=e,n=(0,to.useTheme)(),{gtMobile:r}=(0,to.useBreakpoints)();let i,l,c;return t[0]!==r?(i=!r&&{width:Im},t[0]=r,t[1]=i):i=t[1],t[2]!==o||t[3]!==n.atoms.bg||t[4]!==n.atoms.border_contrast_low||t[5]!==n.atoms.shadow_sm||t[6]!==i?(l=[to.atoms.flex_1,to.atoms.w_full,to.atoms.p_md,to.atoms.rounded_lg,to.atoms.border,n.atoms.bg,n.atoms.shadow_sm,n.atoms.border_contrast_low,i,o],t[2]=o,t[3]=n.atoms.bg,t[4]=n.atoms.border_contrast_low,t[5]=n.atoms.shadow_sm,t[6]=i,t[7]=l):l=t[7],t[8]!==s||t[9]!==l?(c=(0,jt.jsx)(Qs.default,{testID:”CardOuter”,style:l,children:s}),t[8]=s,t[9]=l,t[10]=c):c=t[10],c}function Em(){const e=(0,a.c)(4);let t,s,o,n;return e[0]===Symbol.for(“react.memo_cache_sentinel”)?(t=[to.atoms.flex_col,to.atoms.align_center,to.atoms.gap_sm,to.atoms.pb_sm,to.atoms.mb_auto],s=(0,jt.jsx)(Uu.AvatarPlaceholder,{size:88}),o=(0,jt.jsx)(Uu.NamePlaceholder,{}),e[0]=t,e[1]=s,e[2]=o):(t=e[0],s=e[1],o=e[2]),e[3]===Symbol.for(“react.memo_cache_sentinel”)?(n=(0,jt.jsx)(Pm,{children:(0,jt.jsxs)(Uu.Outer,{children:[(0,jt.jsxs)(Qs.default,{style:t,children:[s,o,(0,jt.jsx)(Qs.default,{style:[to.atoms.w_full],children:(0,jt.jsx)(Uu.DescriptionPlaceholder,{numberOfLines:2})})]}),(0,jt.jsx)(Uu.FollowButtonPlaceholder,{})]})}),e[3]=n):n=e[3],n}function Lm(e){let t;t=”popfriends”===e.feedContext?”a”:e.feedContext?.startsWith(“cluster”)?”b”:”popcluster”===e.feedContext?”c”:e.feedContext?.startsWith(“ntpc”)?”d”:e.feedContext?.startsWith(“t-“)?”e”:”nettop”===e.feedContext?”f”:”g”;let s=Math.round(Math.log(1+e.likeCount+e.repostCount+e.replyCount));(e.isFollowedBy||Math.random()>.9)&&(s*=2);return`${t}-${100-s}`}function Rm(e,t){const s=Lm(e),o=Lm(t);return s>o?1:s{m((t=>new Set(t).add(e)))}),[]),p=(0,ct.useMemo)((()=>{const t=a?.suggestions??[],s=i?.pages.flatMap((e=>e.actors.map((t=>({actor:t,recId:e.recId})))))??[],o=new Set,n=[];for(const e of t)o.has(e.did)||(o.add(e.did),n.push({actor:e,recId:a?.recId}));for(const a of s)o.has(a.actor.did)||a.actor.did===e||(o.add(a.actor.did),n.push(a));return n}),[a?.suggestions,i?.pages,e,a?.recId]),f=(0,ct.useMemo)((()=>p.filter((e=>!u.has(e.actor.did)))),[p,u]);return(0,ct.useEffect)((()=>{s&&f.length{const{likes:s,follows:o,followSuggestions:n,seen:a}=t,r=s.map((e=>new On.AtUri(e))).map((e=>e.host)).filter((e=>!o.includes(e)));let i=[];n.length>0&&(i=[n[Math.floor(Math.random()*n.length)],n[Math.floor(Math.random()*n.length)],n[Math.floor(Math.random()*n.length)],n[Math.floor(Math.random()*n.length)]]);const l=a.sort(Rm).map((e=>new On.AtUri(e.uri))).map((e=>e.host));return[…new Set([…i,…r,…l])].filter((t=>t!==e?.did))}),[t,e]),{data:o,isLoading:n,error:a}=(0,Qt.useProfilesQuery)({handles:s.slice(0,16)});return{isLoading:n,error:a,profiles:(o?o.profiles.filter((e=>!e.viewer?.following)):[]).slice(0,6)}}(),{data:r,fetchNextPage:i,hasNextPage:l,isFetchingNextPage:c,error:d}=(0,Nu.useSuggestedFollowsQuery)({limit:25}),[u,m]=(0,ct.useState)(new Set),h=(0,ct.useCallback)((e=>{m((t=>new Set(t).add(e)))}),[]),p=(0,ct.useMemo)((()=>{const e=r?.pages.flatMap((e=>e.actors.map((t=>({actor:t,recId:e.recId})))))??[],t=new Set,s=[];for(const o of n)t.has(o.did)||(t.add(o.did),s.push({actor:o,recId:void 0}));for(const o of e)t.has(o.actor.did)||(t.add(o.actor.did),s.push(o));return s}),[n,r?.pages]),f=(0,ct.useMemo)((()=>p.filter((e=>!u.has(e.actor.did)))),[p,u]);return(0,ct.useEffect)((()=>{t&&f.length{if(y||o||!n.length)return;if(C.current)return;C.current=!0;n.slice(0,v).forEach(((e,t)=>{T.current.has(e.actor.did)||(T.current.add(e.actor.did),p.metric(“suggestedUser:seen”,{logContext:I,recId:e.recId,position:t,suggestedDid:e.actor.did,category:null}))}))},t[1]=p,t[2]=o,t[3]=y,t[4]=I,t[5]=v,t[6]=n,t[7]=A):A=t[7];const P=A;let E,L,R,D,B;t[8]!==P||t[9]!==b||t[10]!==m?(E=()=>{if(b){if(!m)return void(C.current=!1);P()}},L=[m,b,P],t[8]=P,t[9]=b,t[10]=m,t[11]=E,t[12]=L):(E=t[11],L=t[12]),(0,ct.useEffect)(E,L),t[13]!==o||t[14]!==P||t[15]!==y||t[16]!==b||t[17]!==n.length?(R=()=>{if(b)return;if(y||o||!n.length)return;const e=k.current;if(e){if(“undefined”!==typeof IntersectionObserver){const t=new IntersectionObserver((e=>{e[0]?.isIntersecting&&(P(),t.disconnect())}),{threshold:.5});return t.observe(e),()=>t.disconnect()}{const e=setTimeout((()=>{P()}),500);return()=>clearTimeout(e)}}},D=[b,y,o,n.length,P],t[13]=o,t[14]=P,t[15]=y,t[16]=b,t[17]=n.length,t[18]=R,t[19]=D):(R=t[18],D=t[19]),(0,ct.useEffect)(R,D),t[20]!==f||t[21]!==p||t[22]!==o||t[23]!==x||t[24]!==j||t[25]!==y||t[26]!==v||t[27]!==g||t[28]!==c||t[29]!==n||t[30]!==h?(B=y?Array(v).fill(0).map(((e,t)=>(0,jt.jsx)(Qs.default,{style:[to.atoms.flex_1,x&&(0,to.web)([to.atoms.flex_0,to.atoms.flex_grow,{width:`calc(30% – ${to.atoms.gap_md.gap/2}px)`}])],children:(0,jt.jsx)(Em,{})},t))):o||!n.length?null:n.slice(0,v).map(((e,t)=>(0,jt.jsx)(Cn.default.View,{layout:(0,to.native)(Cn.LinearTransition.delay(Cm).easing(Cn.Easing.out(Cn.Easing.exp))),exiting:Cn.FadeOut.duration(Cm),entering:(0,to.web)(Cn.FadeIn.delay(2*Cm)),style:[to.atoms.flex_1,x&&(0,to.web)([to.atoms.flex_0,to.atoms.flex_grow,{width:`calc(30% – ${to.atoms.gap_md.gap/2}px)`}])],children:(0,jt.jsx)(Uu.Link,{profile:e.actor,onPress:()=>{p.metric(“suggestedUser:press”,{logContext:j?”InterstitialDiscover”:”InterstitialProfile”,recId:e.recId,position:t,suggestedDid:e.actor.did,category:null})},style:[to.atoms.flex_1],children:s=>{const{hovered:o,pressed:n}=s;return(0,jt.jsx)(Pm,{style:[(o||n)&&h.atoms.border_contrast_high],children:(0,jt.jsxs)(Uu.Outer,{children:[c&&(0,jt.jsx)(po.Button,{label:f({id:”kh25xb”}),onPress:s=>{s.preventDefault(),c(e.actor.did),p.metric(“suggestedUser:dismiss”,{logContext:j?”InterstitialDiscover”:”InterstitialProfile”,position:t,suggestedDid:e.actor.did,recId:e.recId})},style:[to.atoms.absolute,to.atoms.z_10,to.atoms.p_xs,{top:-4,right:-4}],children:e=>{const{hovered:t,pressed:s}=e;return(0,jt.jsx)(jn.TimesLarge_Stroke2_Corner0_Rounded,{size:”xs”,fill:t||s?h.atoms.text.color:h.atoms.text_contrast_medium.color})}}),(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_col,to.atoms.align_center,to.atoms.gap_sm,to.atoms.pb_sm,to.atoms.mb_auto],children:[(0,jt.jsx)(Uu.Avatar,{profile:e.actor,moderationOpts:g,disabledPreview:!0,size:88}),(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_col,to.atoms.align_center,to.atoms.max_w_full],children:[(0,jt.jsx)(Uu.Name,{profile:e.actor,moderationOpts:g}),(0,jt.jsx)(Uu.Description,{profile:e.actor,numberOfLines:2,style:[h.atoms.text_contrast_medium,to.atoms.text_center,to.atoms.text_xs]})]})]}),(0,jt.jsx)(Uu.FollowButton,{profile:e.actor,moderationOpts:g,logContext:”FeedInterstitial”,withIcon:!1,style:[to.atoms.rounded_sm],onFollow:()=>{p.metric(“suggestedUser:follow”,{logContext:j?”InterstitialDiscover”:”InterstitialProfile”,location:”Card”,recId:e.recId,position:t,suggestedDid:e.actor.did,category:null})}})]})})}})},e.actor.did))),t[20]=f,t[21]=p,t[22]=o,t[23]=x,t[24]=j,t[25]=y,t[26]=v,t[27]=g,t[28]=c,t[29]=n,t[30]=h,t[31]=B):B=t[31];const O=B,M=r??n.length;if(o||!y&&M{_.open(),p.metric(“suggestedUser:seeMore”,{logContext:j?”Explore”:”Profile”})},children:e=>{const{hovered:t}=e;return(0,jt.jsx)(_o.Text,{style:[to.atoms.text_sm,{color:h.palette.primary_500},t&&(0,to.web)({textDecorationLine:”underline”,textDecorationColor:h.palette.primary_500})],children:(0,jt.jsx)(ut.Trans,{id:”V1fa9u”})})}}),t[42]=f,t[43]=p,t[44]=_,t[45]=j,t[46]=b,t[47]=h.palette,t[48]=G):G=t[48],t[49]!==U||t[50]!==G?(W=(0,jt.jsxs)(Qs.default,{style:H,pointerEvents:i.IS_IOS?”auto”:”box-none”,children:[U,G]}),t[49]=U,t[50]=G,t[51]=W):W=t[51],t[52]!==_?(q=(0,jt.jsx)(cm,{control:_}),t[52]=_,t[53]=q):q=t[53],t[54]!==p||t[55]!==O||t[56]!==_||t[57]!==x||t[58]!==b?(Q=(0,jt.jsx)(Cn.LayoutAnimationConfig,{skipExiting:!0,skipEntering:!0,children:x?(0,jt.jsx)(Qs.default,{style:[to.atoms.p_lg,to.atoms.pt_md],children:(0,jt.jsx)(Qs.default,{style:[to.atoms.flex_1,to.atoms.flex_row,to.atoms.flex_wrap,to.atoms.gap_md],children:O})}):(0,jt.jsx)(Vu,{children:(0,jt.jsxs)(dc.default,{horizontal:!0,showsHorizontalScrollIndicator:!1,contentContainerStyle:[to.atoms.p_lg,to.atoms.pt_md,to.atoms.flex_row,to.atoms.gap_md],snapToInterval:Im+to.atoms.gap_md.gap,decelerationRate:”fast”,children:[O,!b&&(0,jt.jsx)(Fm,{onPress:()=>{_.open(),p.metric(“suggestedUser:seeMore”,{logContext:”Explore”})}})]})})}),t[54]=p,t[55]=O,t[56]=_,t[57]=x,t[58]=b,t[59]=Q):Q=t[59],t[60]!==N||t[61]!==W||t[62]!==q||t[63]!==Q?(K=(0,jt.jsxs)(Qs.default,{ref:k,style:N,pointerEvents:i.IS_IOS?”auto”:”box-none”,children:[W,q,Q]}),t[60]=N,t[61]=W,t[62]=q,t[63]=Q,t[64]=K):K=t[64],K}function Fm(e){const t=(0,a.c)(8),{onPress:s}=e,{_:o}=(0,ut.useLingui)();let n,r,i,l,c;return t[0]!==o?(n=o({id:”xFpMsp”}),t[0]=o,t[1]=n):n=t[1],t[2]===Symbol.for(“react.memo_cache_sentinel”)?(r=[to.atoms.flex_col,to.atoms.align_center,to.atoms.justify_center,to.atoms.gap_sm,to.atoms.p_md,to.atoms.rounded_lg,{width:Am}],i=(0,jt.jsx)(po.ButtonIcon,{icon:zu.ArrowRight_Stroke2_Corner0_Rounded,size:”lg”}),t[2]=r,t[3]=i):(r=t[2],i=t[3]),t[4]===Symbol.for(“react.memo_cache_sentinel”)?(l=(0,jt.jsx)(po.ButtonText,{style:[to.atoms.text_md,to.atoms.font_medium,to.atoms.leading_snug,to.atoms.text_center],children:(0,jt.jsx)(ut.Trans,{id:”V1fa9u”})}),t[4]=l):l=t[4],t[5]!==s||t[6]!==n?(c=(0,jt.jsxs)(po.Button,{label:n,onPress:s,style:r,children:[i,l]}),t[5]=s,t[6]=n,t[7]=c):c=t[7],c}function Nm(){const e=(0,a.c)(8),t=(0,to.useTheme)(),{gtMobile:s}=(0,to.useBreakpoints)();let o,n,r,i;return e[0]!==s?(o=!s&&{marginTop:4},e[0]=s,e[1]=o):o=e[1],e[2]!==t.atoms.border_contrast_low||e[3]!==o?(n=[t.atoms.border_contrast_low,to.atoms.px_lg,to.atoms.py_lg,o],e[2]=t.atoms.border_contrast_low,e[3]=o,e[4]=n):n=e[4],e[5]===Symbol.for(“react.memo_cache_sentinel”)?(r=(0,jt.jsx)(Tm,{}),e[5]=r):r=e[5],e[6]!==n?(i=(0,jt.jsx)(Qs.default,{style:n,children:r}),e[6]=n,e[7]=i):i=e[7],i}const Hm=(0,ct.createContext)({gap:0});function Vm(e){const t=(0,a.c)(14),{children:s,gap:o,style:n}=e,r=void 0===o?0:o;let i;t[0]!==r?(i={gap:r},t[0]=r,t[1]=i):i=t[1];const l=i,c=-r/2,d=-r/2;let u,m,h,p;return t[2]!==c||t[3]!==d?(u={marginLeft:c,marginRight:d},t[2]=c,t[3]=d,t[4]=u):u=t[4],t[5]!==n||t[6]!==u?(m=[to.atoms.flex_row,to.atoms.flex_1,u,n],t[5]=n,t[6]=u,t[7]=m):m=t[7],t[8]!==s||t[9]!==m?(h=(0,jt.jsx)(Qs.default,{style:m,children:s}),t[8]=s,t[9]=m,t[10]=h):h=t[10],t[11]!==l||t[12]!==h?(p=(0,jt.jsx)(Hm.Provider,{value:l,children:h}),t[11]=l,t[12]=h,t[13]=p):p=t[13],p}function zm(e){const t=(0,a.c)(10),{children:s,width:o,style:n}=e,r=void 0===o?1:o,{gap:i}=(0,ct.useContext)(Hm),l=i/2,c=i/2,d=100*r+”%”;let u,m,h;return t[0]!==l||t[1]!==c||t[2]!==d?(u={paddingLeft:l,paddingRight:c,width:d},t[0]=l,t[1]=c,t[2]=d,t[3]=u):u=t[3],t[4]!==n||t[5]!==u?(m=[to.atoms.flex_col,u,n],t[4]=n,t[5]=u,t[6]=m):m=t[6],t[7]!==s||t[8]!==m?(h=(0,jt.jsx)(Qs.default,{style:m,children:s}),t[7]=s,t[8]=m,t[9]=h):h=t[9],h}Hm.displayName=”GridContext”;var Um=o(66776),Gm=o(89052),Wm=o(34283),qm=o(90010),Qm=o(46804);function Km(e){return(0,Gm.select)(e.name,{light:e.palette.black,dark:e.atoms.bg_contrast_25.backgroundColor,dim:`hsl(${em}, 28%, 6%)`})}function Zm(e){const t=(0,a.c)(123),{post:s,sourceContext:o,moderation:n,onInteract:r}=e,i=(0,to.useTheme)(),{_:l,i18n:c}=(0,ut.useLingui)(),d=s.embed,{state:u,onIn:m,onOut:h}=(0,Dd.useInteractionState)();let p;t[0]!==n?(p=n.ui(“contentList”),t[0]=n,t[1]=p):p=t[1];const f=p;let g;if(t[2]!==n){g=n.ui(“contentList”);const e=n.ui(“contentMedia”);g.alerts=[…g.alerts,…e.alerts],g.blurs=[…g.blurs,…e.blurs],g.filters=[…g.filters,…e.filters],g.informs=[…g.informs,…e.informs],t[2]=n,t[3]=g}else g=t[3];const x=g;if(!On.AppBskyEmbedVideo.isView(d))return null;const _=s.author,y=Qm.dangerousIsType(s.record,On.AppBskyFeedPost.isRecord)?s.record?.text:””,b=s?.likeCount??0,j=s?.repostCount??0,{thumbnail:v}=d;let S;t[4]!==i?(S=Km(i),t[4]=i,t[5]=S):S=t[5];const w=S;let T,k,C,I,A,P,E,L,R,D,B,O;t[6]===Symbol.for(“react.memo_cache_sentinel”)?(T=[to.atoms.pr_xs,{paddingTop:6,gap:4}],t[6]=T):T=t[6],t[7]!==y?(k=y&&(0,jt.jsx)(_o.Text,{style:[to.atoms.text_md,to.atoms.leading_snug],numberOfLines:2,emoji:!0,children:y}),t[7]=y,t[8]=k):k=t[8],t[9]===Symbol.for(“react.memo_cache_sentinel”)?(C=[to.atoms.flex_row,to.atoms.gap_xs,to.atoms.align_center],t[9]=C):C=t[9],t[10]===Symbol.for(“react.memo_cache_sentinel”)?(I=[to.atoms.relative,to.atoms.rounded_full,{width:20,height:20}],t[10]=I):I=t[10],t[11]!==s.author.avatar?(A=(0,jt.jsx)(or.UserAvatar,{type:”user”,size:20,avatar:s.author.avatar}),t[11]=s.author.avatar,t[12]=A):A=t[12],t[13]===Symbol.for(“react.memo_cache_sentinel”)?(P=(0,jt.jsx)(qm.MediaInsetBorder,{}),t[13]=P):P=t[13],t[14]!==A?(E=(0,jt.jsxs)(Qs.default,{style:I,children:[A,P]}),t[14]=A,t[15]=E):E=t[15],t[16]!==i.atoms.text_contrast_medium?(L=[to.atoms.flex_1,to.atoms.text_sm,to.atoms.leading_tight,i.atoms.text_contrast_medium],t[16]=i.atoms.text_contrast_medium,t[17]=L):L=t[17],t[18]!==s.author.handle?(R=(0,Dn.sanitizeHandle)(s.author.handle,”@”),t[18]=s.author.handle,t[19]=R):R=t[19],t[20]!==L||t[21]!==R?(D=(0,jt.jsx)(_o.Text,{style:L,numberOfLines:1,children:R}),t[20]=L,t[21]=R,t[22]=D):D=t[22],t[23]!==D||t[24]!==E?(B=(0,jt.jsxs)(Qs.default,{style:C,children:[E,D]}),t[23]=D,t[24]=E,t[25]=B):B=t[25],t[26]!==B||t[27]!==k?(O=(0,jt.jsxs)(Qs.default,{style:T,children:[k,B]}),t[26]=B,t[27]=k,t[28]=O):O=t[28];const M=O;let F,N,H,V,z,U,G;t[29]!==l?(F=l({id:”vDuwWp”}),t[29]=l,t[30]=F):F=t[30],t[31]!==l||t[32]!==_.handle||t[33]!==y?(N=l({id:”26b5D5″,values:{0:_.handle,text:y}}),t[31]=l,t[32]=_.handle,t[33]=y,t[34]=N):N=t[34],t[35]!==s.uri||t[36]!==o?(H={screen:”VideoFeed”,params:Object.assign({},o,{initialPostUri:s.uri})},t[35]=s.uri,t[36]=o,t[37]=H):H=t[37],t[38]!==r?(V=()=>{r?.()},t[38]=r,t[39]=V):V=t[39],t[40]===Symbol.for(“react.memo_cache_sentinel”)?(z=[to.atoms.flex_col,{alignItems:void 0,justifyContent:void 0}],t[40]=z):z=t[40],t[41]!==w?(U=[to.atoms.justify_center,to.atoms.rounded_md,to.atoms.overflow_hidden,{backgroundColor:w,aspectRatio:.5625}],t[41]=w,t[42]=U):U=t[42],t[43]!==v?(G={uri:v},t[43]=v,t[44]=G):G=t[44];const W=u?.8:1;let q,Q,K,Z,Y,$,X,J,ee,te,se,oe,ne,ae,re;t[45]!==W?(q=[to.atoms.w_full,to.atoms.h_full,{opacity:W}],t[45]=W,t[46]=q):q=t[46],t[47]!==G||t[48]!==q?(Q=(0,jt.jsx)(xn.Image,{source:G,style:q,accessibilityIgnoresInvertColors:!0,blurRadius:100}),t[47]=G,t[48]=q,t[49]=Q):Q=t[49],t[50]===Symbol.for(“react.memo_cache_sentinel”)?(K=(0,jt.jsx)(qm.MediaInsetBorder,{}),t[50]=K):K=t[50],t[51]===Symbol.for(“react.memo_cache_sentinel”)?(Z=[to.atoms.absolute,to.atoms.inset_0,to.atoms.justify_center,to.atoms.align_center],t[51]=Z):Z=t[51],t[52]===Symbol.for(“react.memo_cache_sentinel”)?(Y=(0,jt.jsx)(Qs.default,{style:[to.atoms.absolute,to.atoms.inset_0,to.atoms.justify_center,to.atoms.align_center,{backgroundColor:”black”,opacity:.2}]}),t[52]=Y):Y=t[52],t[53]===Symbol.for(“react.memo_cache_sentinel”)?($=[to.atoms.align_center,to.atoms.gap_xs],X=(0,jt.jsx)(Wm.EyeSlash_Stroke2_Corner0_Rounded,{size:”lg”,fill:”white”}),t[53]=$,t[54]=X):($=t[53],X=t[54]),t[55]===Symbol.for(“react.memo_cache_sentinel”)?(J=[to.atoms.text_sm,{color:”white”}],t[55]=J):J=t[55],t[56]!==l?(ee=l({id:”D+zLDD”}),t[56]=l,t[57]=ee):ee=t[57],t[58]!==ee?(te=(0,jt.jsxs)(Qs.default,{style:Z,children:[Y,(0,jt.jsxs)(Qs.default,{style:$,children:[X,(0,jt.jsx)(_o.Text,{style:J,children:ee})]})]}),t[58]=ee,t[59]=te):te=t[59],t[60]!==U||t[61]!==Q||t[62]!==te?(se=(0,jt.jsxs)(Qs.default,{style:U,children:[Q,K,te]}),t[60]=U,t[61]=Q,t[62]=te,t[63]=se):se=t[63],t[64]!==f.blur||t[65]!==s.author||t[66]!==M?(oe=f.blur?(0,jt.jsx)($m,{author:s.author}):M,t[64]=f.blur,t[65]=s.author,t[66]=M,t[67]=oe):oe=t[67],t[68]!==se||t[69]!==oe?(ne=(0,jt.jsxs)(Kr,{children:[se,oe]}),t[68]=se,t[69]=oe,t[70]=ne):ne=t[70],t[71]!==w?(ae=[to.atoms.justify_center,to.atoms.rounded_md,to.atoms.overflow_hidden,{backgroundColor:w,aspectRatio:.5625}],t[71]=w,t[72]=ae):ae=t[72],t[73]!==v?(re={uri:v},t[73]=v,t[74]=re):re=t[74];const ie=u?.8:1;let le,ce,de,ue,me,he,pe,fe,ge,xe,_e,ye,be,je,ve,Se,we,Te,ke,Ce;return t[75]!==ie?(le=[to.atoms.w_full,to.atoms.h_full,{opacity:ie}],t[75]=ie,t[76]=le):le=t[76],t[77]!==re||t[78]!==le?(ce=(0,jt.jsx)(xn.Image,{source:re,style:le,accessibilityIgnoresInvertColors:!0}),t[77]=re,t[78]=le,t[79]=ce):ce=t[79],t[80]===Symbol.for(“react.memo_cache_sentinel”)?(de=(0,jt.jsx)(qm.MediaInsetBorder,{}),t[80]=de):de=t[80],t[81]===Symbol.for(“react.memo_cache_sentinel”)?(ue=[to.atoms.absolute,to.atoms.inset_0],t[81]=ue):ue=t[81],t[82]===Symbol.for(“react.memo_cache_sentinel”)?(me=[to.atoms.absolute,to.atoms.inset_0,to.atoms.pt_2xl,{top:”auto”}],t[82]=me):me=t[82],t[83]!==w?(he=[w,”rgba(0, 0, 0, 0)”],t[83]=w,t[84]=he):he=t[84],t[85]===Symbol.for(“react.memo_cache_sentinel”)?(pe=[.02,1],fe={x:0,y:1},ge={x:0,y:0},t[85]=pe,t[86]=fe,t[87]=ge):(pe=t[85],fe=t[86],ge=t[87]),t[88]===Symbol.for(“react.memo_cache_sentinel”)?(xe=[to.atoms.absolute,to.atoms.inset_0,{opacity:.9}],t[88]=xe):xe=t[88],t[89]!==he?(_e=(0,jt.jsx)(Ho.LinearGradient,{colors:he,locations:pe,start:fe,end:ge,style:xe}),t[89]=he,t[90]=_e):_e=t[90],t[91]===Symbol.for(“react.memo_cache_sentinel”)?(ye=[to.atoms.relative,to.atoms.z_10,to.atoms.p_md,to.atoms.flex_row,to.atoms.gap_md],t[91]=ye):ye=t[91],t[92]!==c||t[93]!==b?(be=b>0&&(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_xs],children:[(0,jt.jsx)(gu,{size:”sm”,fill:”white”}),(0,jt.jsx)(_o.Text,{style:[to.atoms.text_sm,to.atoms.font_semi_bold,{color:”white”}],children:(0,Um.formatCount)(c,b)})]}),t[92]=c,t[93]=b,t[94]=be):be=t[94],t[95]!==c||t[96]!==j?(je=j>0&&(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_xs],children:[(0,jt.jsx)(yu,{size:”sm”,fill:”white”}),(0,jt.jsx)(_o.Text,{style:[to.atoms.text_sm,to.atoms.font_semi_bold,{color:”white”}],children:(0,Um.formatCount)(c,j)})]}),t[95]=c,t[96]=j,t[97]=je):je=t[97],t[98]!==be||t[99]!==je?(ve=(0,jt.jsxs)(Qs.default,{style:ye,children:[be,je]}),t[98]=be,t[99]=je,t[100]=ve):ve=t[100],t[101]!==_e||t[102]!==ve?(Se=(0,jt.jsx)(Qs.default,{style:ue,children:(0,jt.jsxs)(Qs.default,{style:me,children:[_e,ve]})}),t[101]=_e,t[102]=ve,t[103]=Se):Se=t[103],t[104]!==ae||t[105]!==ce||t[106]!==Se?(we=(0,jt.jsxs)(Qs.default,{style:ae,children:[ce,de,Se]}),t[104]=ae,t[105]=ce,t[106]=Se,t[107]=we):we=t[107],t[108]!==we||t[109]!==M?(Te=(0,jt.jsxs)(Qr,{children:[we,M]}),t[108]=we,t[109]=M,t[110]=Te):Te=t[110],t[111]!==x||t[112]!==ne||t[113]!==Te?(ke=(0,jt.jsxs)(Wr,{modui:x,children:[ne,Te]}),t[111]=x,t[112]=ne,t[113]=Te,t[114]=ke):ke=t[114],t[115]!==m||t[116]!==h||t[117]!==F||t[118]!==N||t[119]!==H||t[120]!==V||t[121]!==ke?(Ce=(0,jt.jsx)(go.Link,{accessibilityHint:F,label:N,to:H,onPress:V,onPressIn:m,onPressOut:h,style:z,children:ke}),t[115]=m,t[116]=h,t[117]=F,t[118]=N,t[119]=H,t[120]=V,t[121]=ke,t[122]=Ce):Ce=t[122],Ce}function Ym(){const e=(0,a.c)(11),t=(0,to.useTheme)();let s;e[0]!==t?(s=Km(t),e[0]=t,e[1]=s):s=e[1];const o=s;let n,r,i,l,c,d;return e[2]===Symbol.for(“react.memo_cache_sentinel”)?(n=[to.atoms.flex_1],e[2]=n):n=e[2],e[3]!==o?(r=[to.atoms.rounded_md,to.atoms.overflow_hidden,{backgroundColor:o,aspectRatio:.5625}],e[3]=o,e[4]=r):r=e[4],e[5]===Symbol.for(“react.memo_cache_sentinel”)?(i=(0,jt.jsx)(qm.MediaInsetBorder,{}),e[5]=i):i=e[5],e[6]!==r?(l=(0,jt.jsx)(Qs.default,{style:r,children:i}),e[6]=r,e[7]=l):l=e[7],e[8]===Symbol.for(“react.memo_cache_sentinel”)?(c=(0,jt.jsx)($m,{}),e[8]=c):c=e[8],e[9]!==l?(d=(0,jt.jsxs)(Qs.default,{style:n,children:[l,c]}),e[9]=l,e[10]=d):d=e[10],d}function $m(e){const t=(0,a.c)(17),{author:s}=e,o=(0,to.useTheme)();let n,r,i,l,c,d,u,m;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(n=[to.atoms.flex_1],t[0]=n):n=t[0],t[1]===Symbol.for(“react.memo_cache_sentinel”)?(r=[to.atoms.pr_xs,{paddingTop:8,gap:6}],t[1]=r):r=t[1],t[2]===Symbol.for(“react.memo_cache_sentinel”)?(i={height:14},t[2]=i):i=t[2],t[3]!==o.atoms.bg_contrast_50?(l=(0,jt.jsx)(Qs.default,{style:[to.atoms.w_full,to.atoms.rounded_xs,o.atoms.bg_contrast_50,i]}),t[3]=o.atoms.bg_contrast_50,t[4]=l):l=t[4],t[5]===Symbol.for(“react.memo_cache_sentinel”)?(c={height:14,width:”70%”},t[5]=c):c=t[5],t[6]!==o.atoms.bg_contrast_50?(d=(0,jt.jsx)(Qs.default,{style:[to.atoms.w_full,to.atoms.rounded_xs,o.atoms.bg_contrast_50,c]}),t[6]=o.atoms.bg_contrast_50,t[7]=d):d=t[7],t[8]!==s||t[9]!==o.atoms.bg_contrast_25||t[10]!==o.atoms.bg_contrast_50||t[11]!==o.atoms.text_contrast_medium?(u=s?(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_row,to.atoms.gap_xs,to.atoms.align_center],children:[(0,jt.jsxs)(Qs.default,{style:[to.atoms.relative,to.atoms.rounded_full,{width:20,height:20}],children:[(0,jt.jsx)(or.UserAvatar,{type:”user”,size:20,avatar:s.avatar}),(0,jt.jsx)(qm.MediaInsetBorder,{})]}),(0,jt.jsx)(_o.Text,{style:[to.atoms.flex_1,to.atoms.text_sm,to.atoms.leading_tight,o.atoms.text_contrast_medium],numberOfLines:1,children:(0,Dn.sanitizeHandle)(s.handle,”@”)})]}):(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_row,to.atoms.gap_xs,to.atoms.align_center],children:[(0,jt.jsx)(Qs.default,{style:[to.atoms.rounded_full,o.atoms.bg_contrast_50,{width:20,height:20}]}),(0,jt.jsx)(Qs.default,{style:[to.atoms.rounded_xs,o.atoms.bg_contrast_25,{height:12,width:”75%”}]})]}),t[8]=s,t[9]=o.atoms.bg_contrast_25,t[10]=o.atoms.bg_contrast_50,t[11]=o.atoms.text_contrast_medium,t[12]=u):u=t[12],t[13]!==l||t[14]!==d||t[15]!==u?(m=(0,jt.jsx)(Qs.default,{style:n,children:(0,jt.jsxs)(Qs.default,{style:r,children:[l,d,u]})}),t[13]=l,t[14]=d,t[15]=u,t[16]=m):m=t[16],m}function Xm(e){const t=(0,a.c)(91),{post:s,sourceContext:o,moderation:n,onInteract:r}=e,i=(0,to.useTheme)(),{_:l,i18n:c}=(0,ut.useLingui)(),d=s.embed,{state:u,onIn:m,onOut:h}=(0,Dd.useInteractionState)();let p;if(t[0]!==n){p=n.ui(“contentList”);const e=n.ui(“contentMedia”);p.alerts=[…p.alerts,…e.alerts],p.blurs=[…p.blurs,…e.blurs],p.filters=[…p.filters,…e.filters],p.informs=[…p.informs,…e.informs],t[0]=n,t[1]=p}else p=t[1];const f=p;if(!On.AppBskyEmbedVideo.isView(d))return null;const g=s?.likeCount??0,{thumbnail:x}=d;let _;t[2]!==i?(_=Km(i),t[2]=i,t[3]=_):_=t[3];const y=_;let b,j,v,S,w,T,k,C;t[4]!==l?(b=l({id:”puSNTr”}),t[4]=l,t[5]=b):b=t[5],t[6]!==s.uri||t[7]!==o?(j={screen:”VideoFeed”,params:Object.assign({},o,{initialPostUri:s.uri})},t[6]=s.uri,t[7]=o,t[8]=j):j=t[8],t[9]!==r?(v=()=>{r?.()},t[9]=r,t[10]=v):v=t[10],t[11]===Symbol.for(“react.memo_cache_sentinel”)?(S={alignItems:void 0,justifyContent:void 0},t[11]=S):S=t[11],t[12]!==i.atoms.shadow_sm?(w=[to.atoms.flex_col,i.atoms.shadow_sm,S],t[12]=i.atoms.shadow_sm,t[13]=w):w=t[13],t[14]!==y?(T={backgroundColor:y,aspectRatio:.5625},t[14]=y,t[15]=T):T=t[15],t[16]!==i.atoms.border_contrast_low||t[17]!==T?(k=[to.atoms.justify_center,to.atoms.rounded_lg,to.atoms.overflow_hidden,to.atoms.border,i.atoms.border_contrast_low,T],t[16]=i.atoms.border_contrast_low,t[17]=T,t[18]=k):k=t[18],t[19]!==x?(C={uri:x},t[19]=x,t[20]=C):C=t[20];const I=u?.8:1;let A,P,E,L,R,D,B,O,M,F,N,H,V,z,U,G;t[21]!==I?(A=[to.atoms.w_full,to.atoms.h_full,{opacity:I}],t[21]=I,t[22]=A):A=t[22],t[23]!==A||t[24]!==C?(P=(0,jt.jsx)(xn.Image,{source:C,style:A,accessibilityIgnoresInvertColors:!0,blurRadius:100}),t[23]=A,t[24]=C,t[25]=P):P=t[25],t[26]===Symbol.for(“react.memo_cache_sentinel”)?(E=(0,jt.jsx)(qm.MediaInsetBorder,{}),t[26]=E):E=t[26],t[27]===Symbol.for(“react.memo_cache_sentinel”)?(L=[to.atoms.absolute,to.atoms.inset_0,to.atoms.justify_center,to.atoms.align_center],t[27]=L):L=t[27],t[28]===Symbol.for(“react.memo_cache_sentinel”)?(R={backgroundColor:”black”,opacity:.2},t[28]=R):R=t[28],t[29]!==i.atoms.border_contrast_low?(D=(0,jt.jsx)(Qs.default,{style:[to.atoms.absolute,to.atoms.inset_0,to.atoms.justify_center,to.atoms.align_center,to.atoms.border,i.atoms.border_contrast_low,R]}),t[29]=i.atoms.border_contrast_low,t[30]=D):D=t[30],t[31]===Symbol.for(“react.memo_cache_sentinel”)?(B=[to.atoms.align_center,to.atoms.gap_xs],O=(0,jt.jsx)(Wm.EyeSlash_Stroke2_Corner0_Rounded,{size:”lg”,fill:”white”}),t[31]=B,t[32]=O):(B=t[31],O=t[32]),t[33]===Symbol.for(“react.memo_cache_sentinel”)?(M=[to.atoms.text_sm,{color:”white”}],t[33]=M):M=t[33],t[34]!==l?(F=l({id:”D+zLDD”}),t[34]=l,t[35]=F):F=t[35],t[36]!==F?(N=(0,jt.jsxs)(Qs.default,{style:B,children:[O,(0,jt.jsx)(_o.Text,{style:M,children:F})]}),t[36]=F,t[37]=N):N=t[37],t[38]!==D||t[39]!==N?(H=(0,jt.jsxs)(Qs.default,{style:L,children:[D,N]}),t[38]=D,t[39]=N,t[40]=H):H=t[40],t[41]!==P||t[42]!==H||t[43]!==k?(V=(0,jt.jsx)(Kr,{children:(0,jt.jsxs)(Qs.default,{style:k,children:[P,E,H]})}),t[41]=P,t[42]=H,t[43]=k,t[44]=V):V=t[44],t[45]!==y?(z={backgroundColor:y,aspectRatio:.5625},t[45]=y,t[46]=z):z=t[46],t[47]!==i.atoms.border_contrast_low||t[48]!==z?(U=[to.atoms.justify_center,to.atoms.rounded_lg,to.atoms.overflow_hidden,to.atoms.border,i.atoms.border_contrast_low,z],t[47]=i.atoms.border_contrast_low,t[48]=z,t[49]=U):U=t[49],t[50]!==x?(G={uri:x},t[50]=x,t[51]=G):G=t[51];const W=u?.8:1;let q,Q,K,Z,Y,$,X,J,ee,te,se,oe,ne,ae;return t[52]!==W?(q=[to.atoms.w_full,to.atoms.h_full,{opacity:W}],t[52]=W,t[53]=q):q=t[53],t[54]!==G||t[55]!==q?(Q=(0,jt.jsx)(xn.Image,{source:G,style:q,accessibilityIgnoresInvertColors:!0}),t[54]=G,t[55]=q,t[56]=Q):Q=t[56],t[57]===Symbol.for(“react.memo_cache_sentinel”)?(K=(0,jt.jsx)(qm.MediaInsetBorder,{}),t[57]=K):K=t[57],t[58]!==i.atoms.shadow_sm?(Z=[to.atoms.absolute,to.atoms.inset_0,i.atoms.shadow_sm],t[58]=i.atoms.shadow_sm,t[59]=Z):Z=t[59],t[60]===Symbol.for(“react.memo_cache_sentinel”)?(Y=[to.atoms.absolute,to.atoms.inset_0,to.atoms.p_sm,{bottom:”auto”}],t[60]=Y):Y=t[60],t[61]===Symbol.for(“react.memo_cache_sentinel”)?($=[to.atoms.relative,to.atoms.rounded_full,{width:24,height:24}],t[61]=$):$=t[61],t[62]!==s.author.avatar?(X=(0,jt.jsx)(or.UserAvatar,{type:”user”,size:24,avatar:s.author.avatar}),t[62]=s.author.avatar,t[63]=X):X=t[63],t[64]===Symbol.for(“react.memo_cache_sentinel”)?(J=(0,jt.jsx)(qm.MediaInsetBorder,{}),t[64]=J):J=t[64],t[65]!==X?(ee=(0,jt.jsx)(Qs.default,{style:Y,children:(0,jt.jsxs)(Qs.default,{style:$,children:[X,J]})}),t[65]=X,t[66]=ee):ee=t[66],t[67]!==y||t[68]!==c||t[69]!==g?(te=!1,t[67]=y,t[68]=c,t[69]=g,t[70]=te):te=t[70],t[71]!==Z||t[72]!==ee||t[73]!==te?(se=(0,jt.jsxs)(Qs.default,{style:Z,children:[ee,te]}),t[71]=Z,t[72]=ee,t[73]=te,t[74]=se):se=t[74],t[75]!==U||t[76]!==Q||t[77]!==se?(oe=(0,jt.jsx)(Qr,{children:(0,jt.jsxs)(Qs.default,{style:U,children:[Q,K,se]})}),t[75]=U,t[76]=Q,t[77]=se,t[78]=oe):oe=t[78],t[79]!==f||t[80]!==V||t[81]!==oe?(ne=(0,jt.jsxs)(Wr,{modui:f,children:[V,oe]}),t[79]=f,t[80]=V,t[81]=oe,t[82]=ne):ne=t[82],t[83]!==m||t[84]!==h||t[85]!==b||t[86]!==j||t[87]!==v||t[88]!==ne||t[89]!==w?(ae=(0,jt.jsx)(go.Link,{label:b,to:j,onPress:v,onPressIn:m,onPressOut:h,style:w,children:ne}),t[83]=m,t[84]=h,t[85]=b,t[86]=j,t[87]=v,t[88]=ne,t[89]=w,t[90]=ae):ae=t[90],ae}function Jm(){const e=(0,a.c)(15),t=(0,to.useTheme)();let s;e[0]!==t?(s=Km(t),e[0]=t,e[1]=s):s=e[1];const o=s;let n,r,i,l,c,d;return e[2]!==t.atoms.shadow_sm?(n=[to.atoms.flex_1,t.atoms.shadow_sm],e[2]=t.atoms.shadow_sm,e[3]=n):n=e[3],e[4]!==o?(r={backgroundColor:o,aspectRatio:.5625},e[4]=o,e[5]=r):r=e[5],e[6]!==t.atoms.border_contrast_low||e[7]!==r?(i=[to.atoms.rounded_lg,to.atoms.overflow_hidden,to.atoms.border,t.atoms.border_contrast_low,r],e[6]=t.atoms.border_contrast_low,e[7]=r,e[8]=i):i=e[8],e[9]===Symbol.for(“react.memo_cache_sentinel”)?(l=(0,jt.jsx)(qm.MediaInsetBorder,{}),e[9]=l):l=e[9],e[10]!==i?(c=(0,jt.jsx)(Qs.default,{style:i,children:l}),e[10]=i,e[11]=c):c=e[11],e[12]!==n||e[13]!==c?(d=(0,jt.jsx)(Qs.default,{style:n,children:c}),e[12]=n,e[13]=c,e[14]=d):d=e[14],d}function eh(e){const t=(0,a.c)(31),{items:s,sourceContext:o}=e,n=(0,rn.useAnalytics)();let r;t[0]===Symbol.for(“react.memo_cache_sentinel”)?(r=[“base”,”base”,0,”base”],t[0]=r):r=t[0];const i=(0,to.useGutters)(r);let l,c,d,u,m,h,p,f,g,x,_;if(t[1]!==n||t[2]!==i||t[3]!==s||t[4]!==o){f=Symbol.for(“react.early_return_sentinel”);e:{const e=s.filter(sh).map(th);if(e.length!==s.length){f=null;break e}let a;d=Qs.default,t[13]!==i?(p=[i],t[13]=i,t[14]=p):p=t[14],c=Qs.default,t[15]===Symbol.for(“react.memo_cache_sentinel”)?(h=[to.atoms.flex_row,to.atoms.gap_sm],t[15]=h):h=t[15],l=Vm,u=to.atoms.gap_sm.gap,t[16]!==n||t[17]!==o?(a=e=>(0,jt.jsx)(zm,{width:.5,children:(0,jt.jsx)(Zm,{post:e.post,sourceContext:o,moderation:e.moderation,onInteract:()=>{n.metric(“videoCard:click”,{context:”feed”})}})},e.post.uri),t[16]=n,t[17]=o,t[18]=a):a=t[18],m=e.map(a)}t[1]=n,t[2]=i,t[3]=s,t[4]=o,t[5]=l,t[6]=c,t[7]=d,t[8]=u,t[9]=m,t[10]=h,t[11]=p,t[12]=f}else l=t[5],c=t[6],d=t[7],u=t[8],m=t[9],h=t[10],p=t[11],f=t[12];return f!==Symbol.for(“react.early_return_sentinel”)?f:(t[19]!==l||t[20]!==u||t[21]!==m?(g=(0,jt.jsx)(l,{gap:u,children:m}),t[19]=l,t[20]=u,t[21]=m,t[22]=g):g=t[22],t[23]!==c||t[24]!==h||t[25]!==g?(x=(0,jt.jsx)(c,{style:h,children:g}),t[23]=c,t[24]=h,t[25]=g,t[26]=x):x=t[26],t[27]!==d||t[28]!==p||t[29]!==x?(_=(0,jt.jsx)(d,{style:p,children:x}),t[27]=d,t[28]=p,t[29]=x,t[30]=_):_=t[30],_)}function th(e){return{post:e.post,moderation:e.moderation}}function sh(e){return On.AppBskyEmbedVideo.isView(e.post.embed)}function oh(){const e=(0,a.c)(6);let t;e[0]===Symbol.for(“react.memo_cache_sentinel”)?(t=[“base”,”base”,0,”base”],e[0]=t):t=e[0];const s=(0,to.useGutters)(t);let o,n,r;return e[1]!==s?(o=[s],e[1]=s,e[2]=o):o=e[2],e[3]===Symbol.for(“react.memo_cache_sentinel”)?(n=(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_row,to.atoms.gap_sm],children:[(0,jt.jsx)(Ym,{}),(0,jt.jsx)(Ym,{})]}),e[3]=n):n=e[3],e[4]!==o?(r=(0,jt.jsx)(Qs.default,{style:o,children:n}),e[4]=o,e[5]=r):r=e[5],r}const nh=14;function ah(e){const t=new Set;return e.filter((e=>!t.has(e.link)&&(t.add(e.link),!0)))}const rh=[“trending-topics”];function ih(){const e=(0,a.c)(7),t=(0,Yt.useAgent)(),{data:s}=(0,Ia.usePreferencesQuery)();let o;s?.moderationPrefs?.mutedWords,e[0]!==s?.moderationPrefs?.mutedWords?(o=s?.moderationPrefs?.mutedWords??[],e[0]=s?.moderationPrefs?.mutedWords,e[1]=o):o=e[1];const n=o;let r;if(e[2]!==t||e[3]!==n){let s;e[5]!==n?(s=e=>({topics:ah(e.topics.filter((e=>!(0,On.hasMutedWord)({mutedWords:n,text:`${e.topic} ${e.displayName??””} ${e.description??””}`})))),suggested:ah(e.suggested.filter((e=>!(0,On.hasMutedWord)({mutedWords:n,text:`${e.topic} ${e.displayName??””} ${e.description??””}`}))))}),e[5]=n,e[6]=s):s=e[6],r={refetchOnWindowFocus:!0,staleTime:bt.STALE.MINUTES.THREE,queryKey:rh,async queryFn(){const{data:e}=await t.app.bsky.unspecced.getTrendingTopics({limit:nh});return{topics:e.topics??[],suggested:e.suggested??[]}},select:s},e[2]=t,e[3]=n,e[4]=r}else r=e[4];return(0,Zt.useQuery)(r)}const lh=(0,na.createSinglePathSVG)({path:”m18.192 5.004 1.864 5.31a1 1 0 0 0 1.887-.662L20.08 4.34c-.665-1.893-3.378-1.741-3.834.207l-3.381 14.449-2.985-9.605C9.3 7.531 6.684 7.506 6.07 9.355l-1.18 3.56-.969-2.312a1 1 0 0 0-1.844.772l.97 2.315c.715 1.71 3.159 1.613 3.741-.144l1.18-3.56 2.985 9.605c.607 1.952 3.392 1.848 3.857-.138l3.381-14.449Z”}),ch=(0,na.createSinglePathSVG)({path:”M15 7a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0V9.414L14.414 15a2 2 0 0 1-2.828 0L9 12.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L7.586 11a2 2 0 0 1 2.828 0L13 13.586 18.586 8H16a1 1 0 0 1-1-1Z”}),dh=[“targetScale”,”children”,”style”,”onPressIn”,”onPressOut”],uh=i.IS_NATIVE||i.IS_WEB_TOUCH_DEVICE?.98:1,mh=Cn.default.createAnimatedComponent(gn.default),hh={code:”function PressableScaleTsx1(){const{scale}=this.__closure;return{transform:[{scale:scale.get()}]};}”};function ph(e){const t=(0,a.c)(23);let s,o,n,r,i,l;if(t[0]!==e){var c=e;({targetScale:l,children:s,style:i,onPressIn:o,onPressOut:n}=c),r=(0,la.default)(c,dh),t[0]=e,t[1]=s,t[2]=o,t[3]=n,t[4]=r,t[5]=i,t[6]=l}else s=t[1],o=t[2],n=t[3],r=t[4],i=t[5],l=t[6];const d=void 0===l?uh:l,u=(0,Cn.useReducedMotion)(),m=(0,Cn.useSharedValue)(1),h=(0,Cn.useAnimatedStyle)(function(){const e=()=>({transform:[{scale:m.get()}]});return e.__closure={scale:m},e.__workletHash=0xe4aa5c8749f,e.__initData=hh,e}());let p,f;t[7]!==o||t[8]!==m||t[9]!==d?(p=e=>{o&&o(e),(0,Cn.cancelAnimation)(m),m.set((()=>(0,Cn.withTiming)(d,{duration:100})))},t[7]=o,t[8]=m,t[9]=d,t[10]=p):p=t[10],t[11]!==n||t[12]!==m?(f=e=>{n&&n(e),(0,Cn.cancelAnimation)(m),m.set(fh)},t[11]=n,t[12]=m,t[13]=f):f=t[13];const g=!u&&h;let x,_;return t[14]!==i||t[15]!==g?(x=[g,i],t[14]=i,t[15]=g,t[16]=x):x=t[16],t[17]!==s||t[18]!==r||t[19]!==p||t[20]!==f||t[21]!==x?(_=(0,jt.jsx)(mh,Object.assign({accessibilityRole:”button”,onPressIn:p,onPressOut:f,style:x},r,{children:s})),t[17]=s,t[18]=r,t[19]=p,t[20]=f,t[21]=x,t[22]=_):_=t[22],_}function fh(){return(0,Cn.withTiming)(1,{duration:100})}var gh=o(68783);const xh=[“topic”,”children”];function _h(e){const t=(0,a.c)(25),{topic:s,size:o,style:n,hovered:r}=e,i=jh(s),l=”small”===o,c=”starter-pack”===i.type&&!l;let d,u,m,h,p,f,g,x,_;return t[0]!==l?(d=l?[{paddingVertical:2,paddingHorizontal:4}]:[to.atoms.py_xs,to.atoms.px_sm],t[0]=l,t[1]=d):d=t[1],t[2]!==c?(u=c&&{gap:6},t[2]=c,t[3]=u):u=t[3],t[4]!==n||t[5]!==d||t[6]!==u?(m=[to.atoms.flex_row,to.atoms.align_center,d,u,n],t[4]=n,t[5]=d,t[6]=u,t[7]=m):m=t[7],t[8]!==c||t[9]!==i.type?(h=c&&”starter-pack”===i.type&&(0,jt.jsx)(gh.StarterPack,{gradient:”sky”,width:20,style:{marginLeft:-3,marginVertical:-1}}),t[8]=c,t[9]=i.type,t[10]=h):h=t[10],t[11]!==l?(p=l?[to.atoms.text_sm]:[to.atoms.text_md,{paddingBottom:1}],t[11]=l,t[12]=p):p=t[12],t[13]!==r?(f=r&&{textDecorationLine:”underline”},t[13]=r,t[14]=f):f=t[14],t[15]!==p||t[16]!==f?(g=[to.atoms.font_semi_bold,to.atoms.leading_tight,p,f],t[15]=p,t[16]=f,t[17]=g):g=t[17],t[18]!==g||t[19]!==i.displayName?(x=(0,jt.jsx)(_o.Text,{style:g,numberOfLines:1,children:i.displayName}),t[18]=g,t[19]=i.displayName,t[20]=x):x=t[20],t[21]!==m||t[22]!==h||t[23]!==x?(_=(0,jt.jsxs)(Qs.default,{style:m,children:[h,x]}),t[21]=m,t[22]=h,t[23]=x,t[24]=_):_=t[24],_}function yh(e){const t=(0,a.c)(7),{size:s,index:o}=e,n=void 0===s?”large”:s,r=void 0===o?0:o,i=(0,to.useTheme)(),l=”small”===n;let c,d;return t[0]!==r||t[1]!==l?(c=l?{width:r%2===0?75:90,height:27}:{width:r%2===0?90:110,height:36},t[0]=r,t[1]=l,t[2]=c):c=t[2],t[3]!==i.atoms.bg_contrast_25||t[4]!==i.atoms.border_contrast_medium||t[5]!==c?(d=(0,jt.jsx)(Qs.default,{style:[to.atoms.rounded_full,to.atoms.border,i.atoms.border_contrast_medium,i.atoms.bg_contrast_25,c]}),t[3]=i.atoms.bg_contrast_25,t[4]=i.atoms.border_contrast_medium,t[5]=c,t[6]=d):d=t[6],d}function bh(e){const t=(0,a.c)(10);let s,o,n;if(t[0]!==e){var r=e;({topic:o,children:s}=r),n=(0,la.default)(r,xh),t[0]=e,t[1]=s,t[2]=o,t[3]=n}else s=t[1],o=t[2],n=t[3];const i=jh(o),l=i.label,c=i.url;let d,u;return t[4]===Symbol.for(“react.memo_cache_sentinel”)?(d=(0,to.native)(ph),t[4]=d):d=t[4],t[5]!==s||t[6]!==n||t[7]!==i.label||t[8]!==i.url?(u=(0,jt.jsx)(go.Link,Object.assign({label:l,to:c,PressableComponent:d},n,{children:s})),t[5]=s,t[6]=n,t[7]=i.label,t[8]=i.url,t[9]=u):u=t[9],u}function jh(e){const{_:t}=(0,ut.useLingui)();return ct.useMemo((()=>{const{topic:s,link:o}=e;return o.startsWith(“/search”)?{type:”topic”,label:t({id:”U7jGCR”,values:{displayName:s}}),displayName:s,uri:void 0,url:o}:o.startsWith(“/hashtag”)?{type:”tag”,label:t({id:”zlmzDf”,values:{displayName:s}}),displayName:s,uri:void 0,url:o}:o.startsWith(“/starter-pack”)?{type:”starter-pack”,label:t({id:”rf+TQ9″,values:{displayName:s}}),displayName:s,uri:void 0,url:o}:{type:”unknown”,label:t({id:”CURAna”,values:{displayName:s}}),displayName:s,uri:void 0,url:o}}),[t,e])}function vh(){const e=(0,a.c)(3),{enabled:t}=ts(),{trendingDisabled:s}=(0,du.useTrendingSettings)();let o;return e[0]!==t||e[1]!==s?(o=t&&!s?(0,jt.jsx)(Sh,{}):null,e[0]=t,e[1]=s,e[2]=o):o=e[2],o}function Sh(){const e=(0,a.c)(15),t=(0,to.useTheme)(),{_:s}=(0,ut.useLingui)(),o=(0,rn.useAnalytics)();let n;e[0]===Symbol.for(“react.memo_cache_sentinel”)?(n=[0,”base”,0,”base”],e[0]=n):n=e[0];const r=(0,to.useGutters)(n),i=ir.usePromptControl(),{setTrendingDisabled:l}=(0,du.useTrendingSettingsApi)(),{data:c,error:d,isLoading:u}=ih(),m=!u&&!d&&!c?.topics?.length;let h;e[1]!==o||e[2]!==l?(h=()=>{o.metric(“trendingTopics:hide”,{context:”interstitial”}),l(!0)},e[1]=o,e[2]=l,e[3]=h):h=e[3];const p=h;let f;return e[4]!==s||e[5]!==o||e[6]!==d||e[7]!==r||e[8]!==u||e[9]!==m||e[10]!==p||e[11]!==t||e[12]!==c||e[13]!==i?(f=d||m?null:(0,jt.jsxs)(Qs.default,{style:[t.atoms.border_contrast_low,to.atoms.border_t,to.atoms.border_b],children:[(0,jt.jsx)(Vu,{children:(0,jt.jsx)(dc.default,{horizontal:!0,showsHorizontalScrollIndicator:!1,decelerationRate:”fast”,children:(0,jt.jsxs)(Qs.default,{style:[r,to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_lg],children:[(0,jt.jsx)(Qs.default,{style:{paddingLeft:4,paddingRight:2},children:(0,jt.jsx)(lh,{size:”sm”})}),u?(0,jt.jsxs)(Qs.default,{style:[to.atoms.py_lg,to.atoms.flex_row,to.atoms.gap_lg,to.atoms.align_center],children:[(0,jt.jsx)(vu,{width:80,height:void 0,style:{alignSelf:”stretch”}}),(0,jt.jsx)(vu,{width:50,height:void 0,style:{alignSelf:”stretch”}}),(0,jt.jsx)(vu,{width:120,height:void 0,style:{alignSelf:”stretch”}}),(0,jt.jsx)(vu,{width:30,height:void 0,style:{alignSelf:”stretch”}}),(0,jt.jsx)(vu,{width:180,height:void 0,style:{alignSelf:”stretch”}}),(0,jt.jsx)(_o.Text,{style:[t.atoms.text_contrast_medium,to.atoms.text_sm,to.atoms.font_semi_bold],children:” “})]}):c?.topics?(0,jt.jsxs)(jt.Fragment,{children:[c.topics.map((e=>(0,jt.jsx)(bh,{topic:e,onPress:()=>{o.metric(“trendingTopic:click”,{context:”interstitial”})},children:(0,jt.jsx)(Qs.default,{style:[to.atoms.py_lg],children:(0,jt.jsx)(_o.Text,{style:[t.atoms.text_contrast_medium,to.atoms.text_sm,to.atoms.font_semi_bold],children:e.topic})})},e.link))),(0,jt.jsx)(po.Button,{label:s({id:”rht3N9″}),size:”tiny”,variant:”ghost”,color:”secondary”,shape:”round”,onPress:()=>i.open(),children:(0,jt.jsx)(po.ButtonIcon,{icon:jn.TimesLarge_Stroke2_Corner0_Rounded})})]}):null]})})}),(0,jt.jsx)(ir.Basic,{control:i,title:s({id:”DRuhGd”}),description:s({id:”wD+g5e”}),confirmButtonCta:s({id:”vLyv1R”}),onConfirm:p})]}),e[4]=s,e[5]=o,e[6]=d,e[7]=r,e[8]=u,e[9]=m,e[10]=p,e[11]=t,e[12]=c,e[13]=i,e[14]=f):f=e[14],f}const wh=108,Th=`feedgen|${Wt.VIDEO_FEED_URI}`,kh={feedCacheKey:”discover”};function Ch(){const e=(0,a.c)(52),t=(0,to.useTheme)(),{_:s}=(0,ut.useLingui)(),o=(0,rn.useAnalytics)();let n;e[0]===Symbol.for(“react.memo_cache_sentinel”)?(n=[0,”base”],e[0]=n):n=e[0];const r=(0,to.useGutters)(n),{data:i,isLoading:l,error:c}=(0,uu.usePostFeedQuery)(Th,kh),d=(0,Mn.useQueryClient)();let u,m;e[1]!==d?(u=()=>()=>{const e=d.getQueryCache().find({queryKey:(0,uu.RQKEY)(Th,kh)});e&&e.getObserversCount()<=1&&e.fetch()},m=[d],e[1]=d,e[2]=u,e[3]=m):(u=e[2],m=e[3]),(0,ct.useEffect)(u,m);const{setTrendingVideoDisabled:h}=(0,du.useTrendingSettingsApi)(),p=ir.usePromptControl();let f;e[4]!==o||e[5]!==h?(f=()=>{h(!0),o.metric(“trendingVideos:hide”,{context:”interstitial:discover”})},e[4]=o,e[5]=h,e[6]=f):f=e[6];const g=f;if(c)return null;let x,_,y,b,j,v,S,w,T,k,C,I,A,P,E,L,R;return e[7]!==t.atoms.bg_contrast_25||e[8]!==t.atoms.border_contrast_low?(x=[to.atoms.pt_sm,to.atoms.pb_lg,to.atoms.border_t,to.atoms.overflow_hidden,t.atoms.border_contrast_low,t.atoms.bg_contrast_25],e[7]=t.atoms.bg_contrast_25,e[8]=t.atoms.border_contrast_low,e[9]=x):x=e[9],e[10]!==r?(_=[r,to.atoms.pb_sm,to.atoms.flex_row,to.atoms.align_center,to.atoms.justify_between],e[10]=r,e[11]=_):_=e[11],e[12]===Symbol.for(“react.memo_cache_sentinel”)?(y=(0,jt.jsx)(_o.Text,{style:[to.atoms.text_sm,to.atoms.font_semi_bold,to.atoms.leading_snug],children:(0,jt.jsx)(ut.Trans,{id:”L/4AeV”})}),e[12]=y):y=e[12],e[13]!==s?(b=s({id:”KVlcll”}),e[13]=s,e[14]=b):b=e[14],e[15]!==p?(j=()=>p.open(),e[15]=p,e[16]=j):j=e[16],e[17]===Symbol.for(“react.memo_cache_sentinel”)?(v=(0,jt.jsx)(po.ButtonIcon,{icon:jn.TimesLarge_Stroke2_Corner0_Rounded,size:”sm”}),e[17]=v):v=e[17],e[18]!==b||e[19]!==j?(S=(0,jt.jsx)(po.Button,{label:b,size:”tiny”,variant:”solid”,color:”secondary”,shape:”square”,onPress:j,children:v}),e[18]=b,e[19]=j,e[20]=S):S=e[20],e[21]!==S||e[22]!==_?(w=(0,jt.jsxs)(Qs.default,{style:_,children:[y,S]}),e[21]=S,e[22]=_,e[23]=w):w=e[23],e[24]===Symbol.for(“react.memo_cache_sentinel”)?(T=[to.atoms.overflow_visible],e[24]=T):T=e[24],e[25]!==r.paddingLeft||e[26]!==r.paddingRight?(k=[to.atoms.flex_row,to.atoms.gap_md,{paddingLeft:r.paddingLeft,paddingRight:r.paddingRight}],e[25]=r.paddingLeft,e[26]=r.paddingRight,e[27]=k):k=e[27],e[28]!==i||e[29]!==c||e[30]!==l?(C=l?Array(10).fill(0).map(Ih):c||!i?(0,jt.jsx)(_o.Text,{children:(0,jt.jsx)(ut.Trans,{id:”SOQezB”})}):(0,jt.jsx)(Ah,{data:i}),e[28]=i,e[29]=c,e[30]=l,e[31]=C):C=e[31],e[32]!==k||e[33]!==C?(I=(0,jt.jsx)(Vu,{children:(0,jt.jsx)(dc.default,{horizontal:!0,showsHorizontalScrollIndicator:!1,decelerationRate:”fast”,snapToInterval:wh+to.atoms.gap_md.gap,style:T,children:(0,jt.jsx)(Qs.default,{style:k,children:C})})}),e[32]=k,e[33]=C,e[34]=I):I=e[34],e[35]!==s?(A=s({id:”o5WCAf”}),e[35]=s,e[36]=A):A=e[36],e[37]!==s?(P=s({id:”wD+g5e”}),e[37]=s,e[38]=P):P=e[38],e[39]!==s?(E=s({id:”vLyv1R”}),e[39]=s,e[40]=E):E=e[40],e[41]!==g||e[42]!==A||e[43]!==P||e[44]!==E||e[45]!==p?(L=(0,jt.jsx)(ir.Basic,{control:p,title:A,description:P,confirmButtonCta:E,onConfirm:g}),e[41]=g,e[42]=A,e[43]=P,e[44]=E,e[45]=p,e[46]=L):L=e[46],e[47]!==w||e[48]!==I||e[49]!==L||e[50]!==x?(R=(0,jt.jsxs)(Qs.default,{style:x,children:[w,I,L]}),e[47]=w,e[48]=I,e[49]=L,e[50]=x,e[51]=R):R=e[51],R}function Ih(e,t){return(0,jt.jsx)(Qs.default,{style:[{width:wh}],children:(0,jt.jsx)(Jm,{})},t)}function Ah({data:e}){const t=(0,rn.useAnalytics)(),s=(0,ct.useMemo)((()=>e.pages.flatMap((e=>e.slices)).map((e=>e.items[0])).filter(Boolean).filter((e=>On.AppBskyEmbedVideo.isView(e.post.embed))).slice(0,8)),[e]);return(0,jt.jsxs)(jt.Fragment,{children:[s.map((e=>(0,jt.jsx)(Qs.default,{style:[{width:wh}],children:(0,jt.jsx)(Xm,{post:e.post,moderation:e.moderation,sourceContext:{type:”feedgen”,uri:Wt.VIDEO_FEED_URI,sourceInterstitial:”discover”},onInteract:()=>{t.metric(“videoCard:click”,{context:”interstitial:discover”})}})},e.post.uri))),(0,jt.jsx)(Ph,{})]})}function Ph(){const e=(0,a.c)(14),t=(0,to.useTheme)(),{_:s}=(0,ut.useLingui)();let o;if(e[0]===Symbol.for(“react.memo_cache_sentinel”)){const t=new On.AtUri(Wt.VIDEO_FEED_URI);o=(0,Jd.makeCustomFeedLink)(t.host,t.rkey,void 0,”discover”),e[0]=o}else o=e[0];const n=o;let r,i,l,c,d;return e[1]===Symbol.for(“react.memo_cache_sentinel”)?(r=[{width:2*wh}],e[1]=r):r=e[1],e[2]!==s?(i=s({id:”4m3nxQ”}),e[2]=s,e[3]=i):i=e[3],e[4]!==t.atoms.bg||e[5]!==t.atoms.border_contrast_low||e[6]!==t.atoms.shadow_sm?(l=[to.atoms.justify_center,to.atoms.align_center,to.atoms.flex_1,to.atoms.rounded_lg,to.atoms.border,t.atoms.border_contrast_low,t.atoms.bg,t.atoms.shadow_sm],e[4]=t.atoms.bg,e[5]=t.atoms.border_contrast_low,e[6]=t.atoms.shadow_sm,e[7]=l):l=e[7],e[8]!==s?(c=e=>{const{pressed:t}=e;return(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_md,{opacity:t?.6:1}],children:[(0,jt.jsx)(_o.Text,{style:[to.atoms.text_md],children:(0,jt.jsx)(ut.Trans,{id:”4m3nxQ”})}),(0,jt.jsx)(po.Button,{color:”primary”,size:”small”,shape:”round”,label:s({id:”Jk4Lt2″}),children:(0,jt.jsx)(po.ButtonIcon,{icon:bn.ChevronRight_Stroke2_Corner0_Rounded})})]})},e[8]=s,e[9]=c):c=e[9],e[10]!==i||e[11]!==l||e[12]!==c?(d=(0,jt.jsx)(Qs.default,{style:r,children:(0,jt.jsx)(go.Link,{to:n,label:i,style:l,children:c})}),e[10]=i,e[11]=l,e[12]=c,e[13]=d):d=e[13],d}const Eh=[to.atoms.rounded_lg,to.atoms.curve_continuous];function Lh(e){const t=(0,a.c)(27),{feed:s,metricContext:o}=e,n=(0,rn.useAnalytics)(),{_:r}=(0,ut.useLingui)(),{gtPhone:i}=(0,to.useBreakpoints)(),l=s.layouts.wide,c=l.overlayColor,d=l.textColor;let u;if((0,qt.isBskyCustomFeedUrl)(s.url)){let e;t[0]!==s.url?(e=new URL(s.url),t[0]=s.url,t[1]=e):e=t[1],u=e.pathname}else u=”/”;const m=u;let h,p,f,g,x,_;return t[2]!==n||t[3]!==s.url||t[4]!==o?(h=()=>{n.metric(“liveEvents:feedBanner:seen”,{feed:s.url,context:o})},t[2]=n,t[3]=s.url,t[4]=o,t[5]=h):h=t[5],(0,jd.useCallOnce)(h)(),t[6]!==r||t[7]!==s.title?(p=r({id:”SNKK6v”,values:{0:s.title}}),t[6]=r,t[7]=s.title,t[8]=p):p=t[8],t[9]===Symbol.for(“react.memo_cache_sentinel”)?(f=[to.atoms.w_full],t[9]=f):f=t[9],t[10]!==n||t[11]!==s.url||t[12]!==o?(g=()=>{n.metric(“liveEvents:feedBanner:click”,{feed:s.url,context:o})},t[10]=n,t[11]=s.url,t[12]=o,t[13]=g):g=t[13],t[14]!==s.preview||t[15]!==i||t[16]!==l.blurhash||t[17]!==l.image||t[18]!==l.title||t[19]!==c||t[20]!==d?(x=e=>{const{hovered:t,pressed:o}=e;return(0,jt.jsx)(Qs.default,{style:[Eh,to.atoms.shadow_md,to.atoms.w_full],children:(0,jt.jsxs)(Qs.default,{style:[to.atoms.align_start,Eh,to.atoms.overflow_hidden,{aspectRatio:i?4:3.69}],children:[(0,jt.jsx)(xn.Image,{accessibilityIgnoresInvertColors:!0,source:{uri:l.image},placeholder:{blurhash:l.blurhash},style:[to.atoms.absolute,to.atoms.inset_0,to.atoms.w_full,to.atoms.h_full],contentFit:”cover”,placeholderContentFit:”cover”}),(0,jt.jsx)(Ho.LinearGradient,{colors:[c,to.utils.alpha(c,0)],locations:[0,1],start:{x:0,y:0},end:{x:1,y:0},style:[to.atoms.absolute,to.atoms.inset_0,to.atoms.transition_opacity,{transitionDuration:”200ms”,opacity:t||o?.6:0}]}),(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_1,to.atoms.justify_end],children:[(0,jt.jsx)(Ho.LinearGradient,{colors:[c,to.utils.alpha(c,0)],locations:[0,1],start:{x:0,y:0},end:{x:1,y:0},style:[to.atoms.absolute,to.atoms.inset_0]}),(0,jt.jsxs)(Qs.default,{style:[to.atoms.z_10,i?[to.atoms.pl_xl,to.atoms.pb_lg]:[to.atoms.pl_lg,to.atoms.pb_md],{paddingRight:64}],children:[(0,jt.jsx)(_o.Text,{style:[to.atoms.leading_snug,i?to.atoms.text_xs:to.atoms.text_2xs,{color:d,opacity:.8}],children:s.preview?(0,jt.jsx)(ut.Trans,{id:”rdUucN”}):(0,jt.jsx)(ut.Trans,{id:”NUsTc4″})}),(0,jt.jsx)(_o.Text,{style:[to.atoms.leading_snug,to.atoms.font_bold,i?to.atoms.text_3xl:to.atoms.text_lg,{color:d}],children:l.title})]})]})]})})},t[14]=s.preview,t[15]=i,t[16]=l.blurhash,t[17]=l.image,t[18]=l.title,t[19]=c,t[20]=d,t[21]=x):x=t[21],t[22]!==p||t[23]!==g||t[24]!==x||t[25]!==m?(_=(0,jt.jsx)(go.Link,{to:m,label:p,style:f,onPress:g,children:x}),t[22]=p,t[23]=g,t[24]=x,t[25]=m,t[26]=_):_=t[26],_}function Rh(){const e=(0,a.c)(3),t=jr(),{rightNavVisible:s}=(0,to.useLayoutBreakpoints)(),{trendingDisabled:o}=(0,du.useTrendingSettings)();if(!t.feeds.length){if(s||o)return null;{let t;return e[0]===Symbol.for(“react.memo_cache_sentinel”)?(t=(0,jt.jsx)(vh,{}),e[0]=t):t=e[0],t}}if(s)return null;let n;return e[1]!==t.feeds?(n=t.feeds.map(Dh),e[1]=t.feeds,e[2]=n):n=e[2],n}function Dh(e){return(0,jt.jsx)(Bh,{feed:e},e.id)}function Bh(e){const t=(0,a.c)(19),{feed:s}=e,{_:o}=(0,ut.useLingui)(),n=s.layouts.wide,{mutate:r,variables:i}=ur({feed:s,metricContext:”discover”,onUpdateSuccess(e){const{undoAction:t}=e;Yc.show((0,jt.jsxs)(Yc.Outer,{children:[(0,jt.jsx)(Yc.Icon,{}),(0,jt.jsx)(Yc.Text,{children:t?(0,jt.jsx)(ut.Trans,{id:”+nG6rk”}):(0,jt.jsx)(ut.Trans,{id:”0yHy4G”})}),t&&(0,jt.jsx)(Yc.Action,{label:o({id:”9uI/rE”}),onPress:()=>{t&&l(t)},children:(0,jt.jsx)(ut.Trans,{id:”9uI/rE”})})]}),{type:”success”})}}),l=r;if(i)return null;let c,d,u,m,h,p,f,g;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(c=[to.atoms.px_lg,to.atoms.pt_md,to.atoms.pb_xs],t[0]=c):c=t[0],t[1]!==s?(d=(0,jt.jsx)(Lh,{feed:s,metricContext:”discover”}),t[1]=s,t[2]=d):d=t[2],t[3]!==o?(u=o({id:”auDey+”}),t[3]=o,t[4]=u):u=t[4],t[5]===Symbol.for(“react.memo_cache_sentinel”)?(m=[to.atoms.absolute,to.atoms.z_10,{top:6,right:6}],t[5]=m):m=t[5],t[6]!==s.id||t[7]!==l?(h=()=>{l({type:”hideFeed”,id:s.id})},t[6]=s.id,t[7]=l,t[8]=h):h=t[8],t[9]!==n.overlayColor||t[10]!==n.textColor?(p=e=>{const{hovered:t,pressed:s}=e;return(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(Qs.default,{style:[to.atoms.absolute,to.atoms.inset_0,to.atoms.rounded_full,{backgroundColor:n.overlayColor,opacity:t||s?.8:.6}]}),(0,jt.jsx)(jn.TimesLarge_Stroke2_Corner0_Rounded,{size:”xs”,fill:n.textColor,style:[to.atoms.z_20]})]})},t[9]=n.overlayColor,t[10]=n.textColor,t[11]=p):p=t[11],t[12]!==u||t[13]!==h||t[14]!==p?(f=(0,jt.jsx)(po.Button,{label:u,size:”tiny”,shape:”round”,style:m,onPress:h,children:p}),t[12]=u,t[13]=h,t[14]=p,t[15]=f):f=t[15],t[16]!==d||t[17]!==f?(g=(0,jt.jsx)(jt.Fragment,{children:(0,jt.jsx)(Qs.default,{style:c,children:(0,jt.jsxs)(Qs.default,{children:[d,f]})})}),t[16]=d,t[17]=f,t[18]=g):g=t[18],g}var Oh=o(77453),Mh=o(90060),Fh=o(76635),Nh=o(62421);function Hh(e,t,s){const o=function(e,t){let s,o=/(^|\s)@([a-z0-9.-]*)/gi;for(;s=o.exec(e);){const e=s[1].length,o=s.index+e;if(t>=o&&t<=o+s[0].length-e)return{value:s[2],index:o}}}(e,t);return o?`${e.slice(0,o.index)}@${s} ${e.slice(o.index+o.value.length+1)}`:e}var Vh=o(94512),zh=o(23826);const Uh="app.bsky.feed.postgate";function Gh(e){return{$type:Uh,createdAt:(new Date).toISOString(),post:e.post,detachedEmbeddingUris:e.detachedEmbeddingUris||[],embeddingRules:e.embeddingRules||[]}}function Wh(e,t){const s=Array.from(new Set([...e.detachedEmbeddingUris||[],...t.detachedEmbeddingUris||[]])),o=[...e.embeddingRules||[],...t.embeddingRules||[]].filter(((e,t,s)=>s.findIndex((t=>t.$type===e.$type))===t));return Gh({post:e.post,detachedEmbeddingUris:s,embeddingRules:o})}function qh({uri:e}){return{$type:”app.bsky.embed.record#view”,record:{$type:”app.bsky.embed.record#viewDetached”,uri:e,detached:!0}}}function Qh({post:e,quote:t,quoteUri:s,detached:o}){return On.AppBskyEmbedRecord.isView(e.embed)?o?qh({uri:s}):function({post:e}){return{$type:”app.bsky.embed.record#view”,record:Kh(e)}}({post:t}):On.AppBskyEmbedRecordWithMedia.isView(e.embed)?o?Object.assign({},e.embed,{record:qh({uri:s})}):function({post:e,quote:t}){if(!On.AppBskyEmbedRecordWithMedia.isView(e.embed))return;return Object.assign({},e.embed||{},{record:{record:Kh(t)}})}({post:e,quote:t}):void 0}function Kh(e){return{$type:”app.bsky.embed.record#viewRecord”,uri:e.uri,cid:e.cid,author:e.author,value:e.record,labels:e.labels,replyCount:e.replyCount,repostCount:e.repostCount,likeCount:e.likeCount,quoteCount:e.quoteCount,indexedAt:e.indexedAt,embeds:e.embed?[e.embed]:[]}}const Zh={disableRule:{$type:”app.bsky.feed.postgate#disableRule”}};var Yh=o(15121);function $h(e,t,s,o){const n=new Set;for(const[r,i]of t){if(!/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(r))continue;if(o.has(r))continue;if(e){n.add(r);continue}const t=s.get(r);if(!t)continue;const a=t.rt.unicodeText.slice(t.facet.index.byteEnd),l=i.rt.unicodeText.slice(i.facet.index.byteEnd);a!==l?(/^\s/m.test(l)||/^[)]?[.,:;!?)](\s|$)/m.test(a)&&/^[)]?[.,:;!?)]\s/m.test(l))&&n.add(r):n.add(r)}for(const r of o)t.has(r)||o.delete(r);let a;return n.size>0&&(a=Array.from(n)[0],o.add(a)),a}class Xh extends Error{constructor(){super(“Aborted”),this.name=”AbortError”}}class Jh extends Error{constructor(){super(“Videos cannot be larger than 100 MB”),this.name=”VideoTooLargeError”}}class ep extends Error{constructor(e){super(e),this.name=”ServerError”}}class tp extends Error{constructor(e){super(e),this.name=”UploadLimitError”}}async function sp(e,t){const{mimeType:s,base64:o}=function(e){const[t,s]=e.slice(5).split(“;base64,”);if(!t||!s)throw new Error(“Invalid data URL”);return{mimeType:t,base64:s}}(e.uri),n=function(e,t){const s=atob(e),o=[];for(let n=0;nWt.VIDEO_MAX_SIZE)throw new Jh;return{size:n.size,uri:a,bytes:await n.arrayBuffer(),mimeType:s}}const op=(e,t)=>{const s=new URL(Wt.VIDEO_SERVICE);if(s.pathname=e,t)for(const o in t)s.searchParams.set(o,t[o]);return s.href};function np(){return new On.AtpAgent({service:Wt.VIDEO_SERVICE})}function ap(e){switch(e){case”video/mp4″:return”mp4″;case”video/webm”:return”webm”;case”video/mpeg”:return”mpeg”;case”video/quicktime”:return”mov”;case”image/gif”:return”gif”;default:throw new Error(`Unsupported mime type: ${e}`)}}async function rp({agent:e,aud:t,lxm:s,exp:o}){const n=(0,qt.getServiceAuthAudFromUrl)(e.dispatchUrl);if(!n)throw new Error(“Agent does not have a PDS URL”);const{data:a}=await e.com.atproto.server.getServiceAuth({aud:t??n,lxm:s,exp:o});return a.token}async function ip({video:e,agent:t,did:s,setProgress:o,signal:n,_:a}){if(n.aborted)throw new Xh;await async function(e,t){const s=await rp({agent:e,lxm:”app.bsky.video.getUploadLimits”,aud:Wt.VIDEO_SERVICE_DID}),o=np(),{data:n}=await o.app.bsky.video.getUploadLimits({},{headers:{Authorization:`Bearer ${s}`}}).catch((e=>{throw e instanceof Error?new tp(e.message):e}));if(!n.canUpload)throw n.message?new tp(n.message):new tp(t({id:”FMu5rS”}))}(t,a);const r=op(“/xrpc/app.bsky.video.uploadVideo”,{did:s,name:`${(0,Nh.nanoid)(12)}.${ap(e.mimeType)}`});let i=e.bytes;if(!i){if(n.aborted)throw new Xh;i=await fetch(e.uri).then((e=>e.arrayBuffer()))}if(n.aborted)throw new Xh;const l=await rp({agent:t,lxm:”com.atproto.repo.uploadBlob”,exp:Date.now()/1e3+1800});if(n.aborted)throw new Xh;const c=new XMLHttpRequest,d=await new Promise(((t,s)=>{c.upload.addEventListener(“progress”,(e=>{const t=e.loaded/e.total;o(t)})),c.onloadend=()=>{if(n.aborted)s(new Xh);else if(4===c.readyState){const e=JSON.parse(c.responseText);t(e)}else s(new ep(a({id:”7pThXn”})))},c.onerror=()=>{s(new ep(a({id:”7pThXn”})))},c.open(“POST”,r),c.setRequestHeader(“Content-Type”,e.mimeType),c.setRequestHeader(“Authorization”,`Bearer ${l}`),c.send(i)}));if(!d.jobId)throw new ep(d.error||a({id:”7pThXn”}));if(n.aborted)throw new Xh;return d}const lp=new AbortController;lp.abort();const cp=Object.freeze({status:”idle”,progress:0,abortController:lp,asset:void 0,video:void 0,jobId:void 0,pendingPublish:void 0,altText:””,captions:[]});function dp(e,t){return{status:”compressing”,progress:0,abortController:t,asset:e,altText:””,captions:[]}}function up(e,t){if(t.signal.aborted||t.signal!==e.abortController.signal)return e;if(“to_error”===t.type)return{status:”error”,progress:100,abortController:e.abortController,error:t.error,asset:e.asset??null,video:e.video??null,jobId:e.jobId??null,altText:e.altText,captions:e.captions};if(“update_progress”===t.type){if(“compressing”===e.status||”uploading”===e.status)return Object.assign({},e,{progress:t.progress})}else{if(“update_alt_text”===t.type)return Object.assign({},e,{altText:t.altText});if(“update_captions”===t.type)return Object.assign({},e,{captions:t.updater(e.captions)});if(“compressing_to_uploading”===t.type)return”compressing”===e.status?{status:”uploading”,progress:0,abortController:e.abortController,asset:e.asset,video:t.video,altText:e.altText,captions:e.captions}:e;if(“uploading_to_processing”===t.type){if(“uploading”===e.status)return{status:”processing”,progress:0,abortController:e.abortController,asset:e.asset,video:e.video,jobId:t.jobId,jobStatus:null,altText:e.altText,captions:e.captions}}else if(“update_job_status”===t.type){if(“processing”===e.status)return Object.assign({},e,{jobStatus:t.jobStatus,progress:void 0!==t.jobStatus.progress?t.jobStatus.progress/100:e.progress})}else if(“to_done”===t.type&&”processing”===e.status)return{status:”done”,progress:100,abortController:e.abortController,asset:e.asset,video:e.video,pendingPublish:{blobRef:t.blobRef},altText:e.altText,captions:e.captions}}return e}async function mp(t,s,o,n,a,r){let i,l;try{i=await sp(t)}catch(e){const o=function(e,t){if(e instanceof Xh)return null;if(e instanceof Jh)return t({id:”TQVwx6″});return Ht.logger.error(“Error compressing video”,{safeMessage:e}),t({id:”GEF5nN”})}(e,r);return void(null!==o&&s({type:”to_error”,error:o,signal:a}))}s({type:”compressing_to_uploading”,video:i,signal:a});try{l=await ip({video:i,agent:o,did:n,signal:a,_:r,setProgress:e=>{s({type:”update_progress”,progress:e,signal:a})}})}catch(e){const o=function(e,t){if(e instanceof Xh)return null;if(e instanceof ep||e instanceof tp)switch(e.message){case”User is not allowed to upload videos”:return t({id:”cY2cFE”});case”Uploading is disabled at the moment”:return t({id:”YGHpik”});case”Failed to get user’s upload stats”:return t({id:”Do+/5x”});case”User has exceeded daily upload bytes limit”:return t({id:”h8qUzj”});case”User has exceeded daily upload videos limit”:return t({id:”YQ65sD”});case”Account is not old enough to upload videos”:return t({id:”K9PUYb”});case”file size (100000001 bytes) is larger than the maximum allowed size (100000000 bytes)”:return t({id:”TQVwx6″});case”Confirm your email address to upload videos”:return t({id:”d2iwA8″})}if((0,Rn.isNetworkError)(e))return t({id:”NUgwAr”});Ht.logger.error(“Error uploading video”,{safeMessage:e});const s=e instanceof Error?e.message:””;return t({id:”X6GrK4″,values:{message:s}})}(e,r);return void(null!==o&&s({type:”to_error”,error:o,signal:a}))}const c=l.jobId;s({type:”uploading_to_processing”,jobId:c,signal:a});let d=0;for(;;){if(a.aborted)return;const t=np();let o,n;try{if(o=(await t.app.bsky.video.getJobStatus({jobId:c})).data.jobStatus,d=0,”JOB_STATE_COMPLETED”===o.state){if(n=o.blob,!n)throw new Error(“Job completed, but did not return a blob”)}else if(“JOB_STATE_FAILED”===o.state)throw new Error(o.error??”Job failed to process”)}catch(e){if(!o&&(d++,d<50)){await new Promise((e=>setTimeout(e,5e3)));continue}return Ht.logger.error(“Error processing video”,{safeMessage:e}),void s({type:”to_error”,error:r({id:”tIqkWN”}),signal:a})}if(s(n?{type:”to_done”,blobRef:n,signal:a}:{type:”update_job_status”,jobStatus:o,signal:a}),”JOB_STATE_COMPLETED”===o.state||”JOB_STATE_FAILED”===o.state)return;await new Promise((e=>setTimeout(e,1500)))}}const hp=4;function pp(e,t){switch(t.type){case”update_postgate”:return Object.assign({},e,{isDirty:!0,thread:Object.assign({},e.thread,{postgate:t.postgate})});case”update_threadgate”:return Object.assign({},e,{isDirty:!0,thread:Object.assign({},e.thread,{threadgate:t.threadgate})});case”update_post”:{let s=e.thread.posts;const o=e.thread.posts.findIndex((e=>e.id===t.postId));return-1!==o&&(s=e.thread.posts.slice(),s[o]=function(e,t){switch(t.type){case”update_richtext”:return Object.assign({},e,{richtext:t.richtext,shortenedGraphemeLength:gp(t.richtext)});case”update_labels”:return Object.assign({},e,{labels:t.labels});case”embed_add_images”:{if(0===t.images.length)return e;const s=e.embed.media;let o=s;return s?”images”===s.type&&(o=Object.assign({},s,{images:[…s.images,…t.images].slice(0,hp)})):o={type:”images”,images:t.images.slice(0,hp)},Object.assign({},e,{embed:Object.assign({},e.embed,{media:o})})}case”embed_update_image”:{const s=e.embed.media;if(“images”===s?.type){const o=t.image,n=Object.assign({},s,{images:s.images.map((e=>e.source.id===o.source.id?o:e))});return Object.assign({},e,{embed:Object.assign({},e.embed,{media:n})})}return e}case”embed_remove_image”:{const s=e.embed.media;let o=e.labels;if(“images”===s?.type){const n=t.image;let a=Object.assign({},s,{images:s.images.filter((e=>e.source.id!==n.source.id))});return 0===a.images.length&&(a=void 0,e.embed.link||(o=[])),Object.assign({},e,{labels:o,embed:Object.assign({},e.embed,{media:a})})}return e}case”embed_add_video”:{const s=e.embed.media;let o=s;return s||(o={type:”video”,video:dp(t.asset,t.abortController)}),Object.assign({},e,{embed:Object.assign({},e.embed,{media:o})})}case”embed_update_video”:{const s=t.videoAction,o=e.embed.media;let n=o;return”video”===o?.type&&(n=Object.assign({},o,{video:up(o.video,s)})),Object.assign({},e,{embed:Object.assign({},e.embed,{media:n})})}case”embed_remove_video”:{const t=e.embed.media;let s=t;”video”===t?.type&&(t.video.abortController.abort(),s=void 0);let o=e.labels;return e.embed.link||(o=[]),Object.assign({},e,{labels:o,embed:Object.assign({},e.embed,{media:s})})}case”embed_add_uri”:{const s=e.embed.quote,o=e.embed.link;let n=s,a=o;return(0,qt.isBskyPostUrl)(t.uri)?s||(n={type:”link”,uri:t.uri}):o||(a={type:”link”,uri:t.uri}),Object.assign({},e,{embed:Object.assign({},e.embed,{quote:n,link:a})})}case”embed_remove_link”:{let t=e.labels;return e.embed.media||(t=[]),Object.assign({},e,{labels:t,embed:Object.assign({},e.embed,{link:void 0})})}case”embed_remove_quote”:return Object.assign({},e,{embed:Object.assign({},e.embed,{quote:void 0})});case”embed_add_gif”:{const s=e.embed.media;let o=s;return s||(o={type:”gif”,gif:t.gif,alt:””}),Object.assign({},e,{embed:Object.assign({},e.embed,{media:o})})}case”embed_update_gif”:{const s=e.embed.media;let o=s;return”gif”===s?.type&&(o=Object.assign({},s,{alt:t.alt})),Object.assign({},e,{embed:Object.assign({},e.embed,{media:o})})}case”embed_remove_gif”:{const t=e.embed.media;let s=t;return”gif”===t?.type&&(s=void 0),Object.assign({},e,{embed:Object.assign({},e.embed,{media:s})})}}}(e.thread.posts[o],t.postAction)),Object.assign({},e,{isDirty:!0,thread:Object.assign({},e.thread,{posts:s})})}case”add_post”:{const t=e.activePostIndex,s=[…e.thread.posts];return s.splice(t+1,0,{id:(0,Nh.nanoid)(),richtext:new On.RichText({text:””}),shortenedGraphemeLength:0,labels:[],embed:{quote:void 0,media:void 0,link:void 0}}),Object.assign({},e,{isDirty:!0,thread:Object.assign({},e.thread,{posts:s})})}case”remove_post”:{if(e.thread.posts.length<2)return e;let s=e.activePostIndex;const o=e.thread.posts.findIndex((e=>e.id===t.postId));let n=[…e.thread.posts];if(-1!==o){const t=e.thread.posts[o];”video”===t.embed.media?.type&&t.embed.media.video.abortController.abort(),n.splice(o,1),s=Math.max(0,o-1)}return Object.assign({},e,{isDirty:!0,activePostIndex:s,mutableNeedsFocusActive:!0,thread:Object.assign({},e.thread,{posts:n})})}case”focus_post”:{const s=e.thread.posts.findIndex((e=>e.id===t.postId));return-1===s?e:Object.assign({},e,{activePostIndex:s})}case”restore_from_draft”:{const{draftId:e,posts:s,threadgateAllow:o,postgateEmbeddingRules:n,loadedMedia:a,originalLocalRefs:r}=t;return{activePostIndex:0,mutableNeedsFocusActive:!0,draftId:e,isDirty:!1,loadedMediaMap:a,originalLocalRefs:r,thread:{posts:s,postgate:Gh({post:””,embeddingRules:n}),threadgate:(0,Yh.threadgateRecordToAllowUISetting)({$type:”app.bsky.feed.threadgate”,post:””,createdAt:(new Date).toString(),allow:o})}}}case”clear”:return fp({initText:void 0,initMention:void 0,initImageUris:[],initQuoteUri:void 0,initInteractionSettings:t.initInteractionSettings});case”mark_saved”:return Object.assign({},e,{isDirty:!1,draftId:t.draftId})}}function fp({initText:e,initMention:t,initImageUris:s,initQuoteUri:o,initInteractionSettings:n}){let a,r;if(s?.length&&(a={type:”images”,images:(0,zh.createInitialImages)(s)}),o){const e=(0,qt.postUriToRelativePath)(o);e&&(r={type:”link”,uri:(0,qt.toBskyAppUrl)(e)})}const i=new On.RichText({text:e||(t?Hh(`@${t}`,t.length+1,`${t}`):””)});let l;if(e){i.detectFacetsWithoutResolution();const e=new Map,t=new Map;if(i.facets)for(const a of i.facets)for(const s of a.features)On.AppBskyRichtextFacet.isLink(s)&&((0,qt.isBskyPostUrl)(s.uri)?t.set(s.uri,{facet:a,rt:i}):e.set(s.uri,{facet:a,rt:i}));const s=new Set,o=$h(!0,e,new Map,s);o&&(l={type:”link”,uri:o});const n=$h(!0,t,new Map,s);n&&(r||(r={type:”link”,uri:n}))}else t&&i.detectFacetsWithoutResolution();return{activePostIndex:0,mutableNeedsFocusActive:!1,isDirty:!1,thread:{posts:[{id:(0,Nh.nanoid)(),richtext:i,shortenedGraphemeLength:gp(i),labels:[],embed:{quote:r,media:a,link:l}}],postgate:Gh({post:””,embeddingRules:n?.postgateEmbeddingRules||[]}),threadgate:(0,Yh.threadgateRecordToAllowUISetting)({$type:”app.bsky.feed.threadgate”,post:””,createdAt:(new Date).toString(),allow:n?.threadgateAllowRules})}}}function gp(e){return(0,Vh.shortenLinks)(e).graphemeLength}var xp=o(87990),_p=o(23173);const yp=(0,na.createSinglePathSVG)({viewBox:”0 0 46 46″,strokeLinecap:”round”,strokeWidth:1.5,path:”m1.417 28.645 7.586-5.676a5.33 5.33 0 0 1 6.867.809c3.98 4.286 8.594 8.182 14.88 8.182 5.794 0 9.633-2.147 13.333-5.847m-38 18.637h33.334a5.333 5.333 0 0 0 5.333-5.333V6.083A5.333 5.333 0 0 0 39.417.75H6.083A5.333 5.333 0 0 0 .75 6.083v33.334a5.333 5.333 0 0 0 5.333 5.333ZM36.75 14.083a5.333 5.333 0 1 1-10.667 0 5.333 5.333 0 0 1 10.667 0Z”}),bp=(0,na.createSinglePathSVG)({path:”M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4Zm2 1v7.213l1.246-.932.044-.03a3 3 0 0 1 3.863.454c1.468 1.58 2.941 2.749 4.847 2.749 1.703 0 2.855-.555 4-1.618V5H5Zm14 10.357c-1.112.697-2.386 1.097-4 1.097-2.81 0-4.796-1.755-6.313-3.388a1 1 0 0 0-1.269-.164L5 14.712V19h14v-3.643ZM15 8a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm-3 1a3 3 0 1 1 6 0 3 3 0 0 1-6 0Z”});function jp(e){const t=(0,a.c)(6),{style:s,hover:o,web:n,native:r}=e,l=void 0===n||n,c=void 0!==r&&r,d=(0,to.useTheme)();let u;e:switch(d.name){case”dark”:u=.4;break e;case”dim”:u=.45;break e;case”light”:u=.5}const m=o?u:0;let h,p;t[0]!==m?(h={opacity:m},t[0]=m,t[1]=h):h=t[1],t[2]!==s||t[3]!==d.atoms.bg_contrast_50||t[4]!==h?(p=(0,jt.jsx)(Qs.default,{style:[to.atoms.absolute,to.atoms.inset_0,to.atoms.pointer_events_none,to.atoms.transition_opacity,d.atoms.bg_contrast_50,s,h]}),t[2]=s,t[3]=d.atoms.bg_contrast_50,t[4]=h,t[5]=p):p=t[5];const f=p;return i.IS_WEB&&l?i.IS_WEB_TOUCH_DEVICE?null:f:i.IS_NATIVE&&c?f:null}function vp(){const e=(0,to.useTheme)(),t=(0,rn.useAnalytics)(),{_:s}=(0,ut.useLingui)(),{openComposer:o}=Xo(),n=(0,Fh.useCurrentAccountProfile)(),[a,r]=(0,ct.useState)(!1),{requestCameraAccessIfNeeded:l}=(0,Oh.useCameraPermission)(),{requestPhotoAccessIfNeeded:c}=(0,Oh.usePhotoLibraryPermission)(),{requestVideoAccessIfNeeded:d}=(0,Oh.useVideoLibraryPermission)(),u=(0,xp.useSheetWrapper)(),m=(0,ct.useCallback)((()=>{t.metric(“composerPrompt:press”,{}),o({logContext:”Fab”})}),[t,o]),h=(0,ct.useCallback)((async()=>{if(t.metric(“composerPrompt:gallery:press”,{}),i.IS_NATIVE)try{const[e,t]=await Promise.all([c(),d()]);if(!e&&!t)return;Js.default.isVisible()&&Js.default.dismiss();const s=hp,{assets:n,canceled:a}=await u((0,Mh.openUnifiedPicker)({selectionCountRemaining:s}));if(a)return;if(n.length>0){const e=n.filter((e=>e.mimeType?.startsWith(“image/”))).slice(0,hp).map((e=>({uri:e.uri,width:e.width,height:e.height})));e.length>0&&o({imageUris:e,logContext:”Fab”})}}catch(e){String(e).toLowerCase().includes(“cancel”)||t.logger.error(“Error opening image picker”,{error:e})}else o({openGallery:!0,logContext:”Fab”})}),[t,o,c,d,u]),p=(0,ct.useCallback)((async()=>{t.metric(“composerPrompt:camera:press”,{});try{if(!await l())return;i.IS_NATIVE&&Js.default.isVisible()&&Js.default.dismiss();const e=await(0,Mh.openCamera)({mediaTypes:”images”}),t=[{uri:e.path,width:e.width,height:e.height}];o({imageUris:i.IS_NATIVE?t:void 0,logContext:”Fab”})}catch(e){String(e).toLowerCase().includes(“cancel”)||t.logger.error(“Error opening camera”,{error:e})}}),[t,o,l]);return n?(0,jt.jsxs)(gn.default,{onPress:m,android_ripple:null,accessibilityRole:”button”,accessibilityLabel:s({id:”AIa/f7″}),accessibilityHint:s({id:”ybdkEK”}),onPointerEnter:()=>r(!0),onPointerLeave:()=>r(!1),style:({pressed:e})=>[to.atoms.relative,to.atoms.flex_row,to.atoms.align_start,{paddingLeft:18,paddingRight:15},to.atoms.py_md,(0,to.native)({paddingTop:10,paddingBottom:10}),(0,to.web)({cursor:”pointer”,outline:”none”}),e&&(0,to.web)({outline:”none”})],children:[(0,jt.jsx)(jp,{hover:a}),(0,jt.jsx)(or.UserAvatar,{avatar:n.avatar,size:42,type:n.associated?.labeler?”labeler”:”user”}),(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_1,to.atoms.ml_md,to.atoms.flex_row,to.atoms.align_center,to.atoms.justify_between,{height:40}],children:[(0,jt.jsx)(_o.Text,{style:[e.atoms.text_contrast_medium,to.atoms.text_md,{includeFontPadding:!1}],children:(0,jt.jsx)(ut.Trans,{id:”tmQ7o0″})}),(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_row,to.atoms.gap_md],children:[i.IS_NATIVE&&(0,jt.jsx)(po.Button,{onPress:e=>{e.stopPropagation(),p()},label:s({id:”K9sUMv”}),accessibilityHint:s({id:”1dluSl”}),variant:”ghost”,shape:”round”,children:({hovered:t,pressed:s,focused:o})=>(0,jt.jsx)(_p.Camera_Stroke2_Corner0_Rounded,{size:”lg”,style:{color:t||s||o?e.palette.primary_500:e.palette.contrast_300}})}),(0,jt.jsx)(po.Button,{onPress:e=>{e.stopPropagation(),h()},label:s({id:”P5MuiB”}),accessibilityHint:s({id:”73xhdw”}),variant:”ghost”,shape:”round”,children:({hovered:t,pressed:s,focused:o})=>(0,jt.jsx)(bp,{size:”lg”,style:{color:t||s||o?e.palette.primary_500:e.palette.contrast_300}})})]})]})]}):null}function Sp(e){const t=(0,a.c)(7),{style:s,size:o,strokeWidth:n,color:r}=e,i=void 0===n?2:n,l=void 0===r?”currentColor”:r,c=o||24,d=o||24;let u,m;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(u=(0,jt.jsx)(Li.Path,{strokeLinecap:”round”,strokeLinejoin:”round”,d:”M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z”}),t[0]=u):u=t[0],t[1]!==l||t[2]!==i||t[3]!==s||t[4]!==c||t[5]!==d?(m=(0,jt.jsx)(Li.default,{fill:”none”,viewBox:”0 0 24 24″,strokeWidth:i,stroke:l,width:c,height:d,style:s,children:u}),t[1]=l,t[2]=i,t[3]=s,t[4]=c,t[5]=d,t[6]=m):m=t[6],m}function wp(e){const t=(0,a.c)(13),{style:s,size:o,strokeWidth:n}=e,r=void 0===n?1.5:n,i=o||24,l=o||24;let c;t[0]!==r?(c=(0,jt.jsx)(Li.Path,{d:”M 20 9 L 20 16 C 20 18.209 18.209 20 16 20 L 8 20 C 5.791 20 4 18.209 4 16 L 4 8 C 4 5.791 5.791 4 8 4 L 15 4″,strokeWidth:r}),t[0]=r,t[1]=c):c=t[1];const d=1.5*r;let u;t[2]!==d?(u=(0,jt.jsx)(Li.Line,{strokeLinecap:”round”,x1:”10″,y1:”14″,x2:”18.5″,y2:”5.5″,strokeWidth:d}),t[2]=d,t[3]=u):u=t[3];const m=1.5*r;let h,p;return t[4]!==m?(h=(0,jt.jsx)(Li.Line,{strokeLinecap:”round”,x1:”20.5″,y1:”3.5″,x2:”21″,y2:”3″,strokeWidth:m}),t[4]=m,t[5]=h):h=t[5],t[6]!==s||t[7]!==i||t[8]!==l||t[9]!==c||t[10]!==u||t[11]!==h?(p=(0,jt.jsxs)(Li.default,{viewBox:”0 0 24 24″,stroke:”currentColor”,fill:”none”,width:i,height:l,style:s,children:[c,u,h]}),t[6]=s,t[7]=i,t[8]=l,t[9]=c,t[10]=u,t[11]=h,t[12]=p):p=t[12],p}function Tp(e){const t=(0,a.c)(5),{style:s,size:o,strokeWidth:n}=e,r=void 0===n?1.5:n;let i,l;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(i=(0,jt.jsx)(Li.Path,{strokeLinecap:”round”,strokeLinejoin:”round”,d:”M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z”}),t[0]=i):i=t[0],t[1]!==o||t[2]!==r||t[3]!==s?(l=(0,jt.jsx)(Li.default,{fill:”none”,viewBox:”0 0 24 24″,strokeWidth:r,stroke:”currentColor”,width:o,height:o,style:s,children:i}),t[1]=o,t[2]=r,t[3]=s,t[4]=l):l=t[4],l}function kp(){const e=(0,a.c)(17),t=(0,In.usePalette)(“default”);let s,o,n,r,i,l,c,d;return e[0]===Symbol.for(“react.memo_cache_sentinel”)?(s={flexDirection:”row”,alignItems:”center”,paddingVertical:12,paddingHorizontal:12,borderTopWidth:1},e[0]=s):s=e[0],e[1]!==t.border||e[2]!==t.viewLight?(o=[s,t.border,t.viewLight],e[1]=t.border,e[2]=t.viewLight,e[3]=o):o=e[3],e[4]===Symbol.for(“react.memo_cache_sentinel”)?(n={width:68,paddingLeft:12},e[4]=n):n=e[4],e[5]!==t.textLight?(r=(0,jt.jsx)(Qs.default,{style:n,children:(0,jt.jsx)(Tp,{size:36,style:t.textLight,strokeWidth:1.5})}),e[5]=t.textLight,e[6]=r):r=e[6],e[7]===Symbol.for(“react.memo_cache_sentinel”)?(i={flex:1},e[7]=i):i=e[7],e[8]!==t.link?(l=(0,jt.jsx)(ut.Trans,{id:”Cq0UNG”,components:{0:(0,jt.jsx)(Vd,{type:”md-medium”,href:”/profile/bsky.app/feed/whats-hot”,text:”Discover”,style:t.link})}}),e[8]=t.link,e[9]=l):l=e[9],e[10]!==t.text||e[11]!==l?(c=(0,jt.jsx)(Qs.default,{style:i,children:(0,jt.jsx)(di.Text,{type:”md”,style:t.text,children:l})}),e[10]=t.text,e[11]=l,e[12]=c):c=e[12],e[13]!==o||e[14]!==r||e[15]!==c?(d=(0,jt.jsxs)(Qs.default,{style:o,children:[r,c]}),e[13]=o,e[14]=r,e[15]=c,e[16]=d):d=e[16],d}function Cp(e){const t=(0,a.c)(45),{feedUri:s}=e,o=(0,to.useTheme)(),{_:n}=(0,ut.useLingui)(),r=zs(),{data:i}=(0,Ia.usePreferencesQuery)(),{mutateAsync:l,isPending:c}=(0,Ia.useRemoveFeedMutation)(),{mutateAsync:d,isPending:u}=(0,Ia.useReplaceForYouWithDiscoverFeedMutation)();let m;t[0]!==s||t[1]!==i?.savedFeeds?(m=i?.savedFeeds?.find((e=>e.value===s&&e.pinned)),t[0]=s,t[1]=i?.savedFeeds,t[2]=m):m=t[2];const h=m;let p;t[3]!==i?.savedFeeds?(p=i?.savedFeeds?.find(Ip),t[3]=i?.savedFeeds,t[4]=p):p=t[4];const f=p,g=Boolean(h),x=Boolean(f?.pinned);let _;t[5]!==n||t[6]!==h||t[7]!==x||t[8]!==l||t[9]!==r?(_=async()=>{try{h&&(await l(h),Gs.show(n({id:”lLrUFY”}))),x&&r(`feedgen|${(0,Wt.PROD_DEFAULT_FEED)(“whats-hot”)}`)}catch(b){const t=b;Gs.show(n({id:”BUQ9V9″}),”exclamation-circle”),Ht.logger.error(“Failed to update feeds”,{message:t})}},t[5]=n,t[6]=h,t[7]=x,t[8]=l,t[9]=r,t[10]=_):_=t[10];const y=_;let b;t[11]!==n||t[12]!==f||t[13]!==h||t[14]!==d||t[15]!==r?(b=async()=>{try{await d({forYouFeedConfig:h,discoverFeedConfig:f}),r(`feedgen|${(0,Wt.PROD_DEFAULT_FEED)(“whats-hot”)}`),Gs.show(n({id:”/X+NF+”}))}catch(S){const t=S;Gs.show(n({id:”BUQ9V9″}),”exclamation-circle”),Ht.logger.error(“Failed to update feeds”,{message:t})}},t[11]=n,t[12]=f,t[13]=h,t[14]=d,t[15]=r,t[16]=b):b=t[16];const j=b,v=u||c;let S,w,T,k,C,I,A,P,E;return t[17]!==o.atoms.border_contrast_low?(S=[to.atoms.py_3xl,to.atoms.px_2xl,to.atoms.gap_xl,o.atoms.border_contrast_low,to.atoms.border_t],t[17]=o.atoms.border_contrast_low,t[18]=S):S=t[18],t[19]!==o.atoms.text?(w=(0,jt.jsx)(_o.Text,{style:[to.atoms.text_5xl,to.atoms.font_semi_bold,o.atoms.text,to.atoms.text_center],children:”:(“}),t[19]=o.atoms.text,t[20]=w):w=t[20],t[21]!==o.atoms.text?(T=[to.atoms.text_md,to.atoms.leading_snug,o.atoms.text,to.atoms.text_center],t[21]=o.atoms.text,t[22]=T):T=t[22],t[23]!==n?(k=n({id:”bgd/oh”}),t[23]=n,t[24]=k):k=t[24],t[25]===Symbol.for(“react.memo_cache_sentinel”)?(C=[to.atoms.text_md],t[25]=C):C=t[25],t[26]!==k?(I=(0,jt.jsx)(ut.Trans,{id:”DCBANM”,components:{0:(0,jt.jsx)(go.InlineLinkText,{label:k,to:”/profile/bsky.app/feed/whats-hot”,style:C})}}),t[26]=k,t[27]=I):I=t[27],t[28]!==I||t[29]!==T?(A=(0,jt.jsx)(_o.Text,{style:T,children:I}),t[28]=I,t[29]=T,t[30]=A):A=t[30],t[31]!==n||t[32]!==x||t[33]!==g||t[34]!==v||t[35]!==c||t[36]!==u||t[37]!==y||t[38]!==j?(P=g?(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_row,to.atoms.justify_center,to.atoms.gap_sm],children:[(0,jt.jsxs)(po.Button,{variant:”outline”,color:”primary”,size:”small”,label:n({id:”W44VX5″}),disabled:v,onPress:y,children:[(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”W44VX5″})}),c&&(0,jt.jsx)(po.ButtonIcon,{icon:xo.Loader})]}),!x&&(0,jt.jsxs)(po.Button,{variant:”solid”,color:”primary”,size:”small”,label:n({id:”1rnHcc”}),disabled:v,onPress:j,children:[(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”1rnHcc”})}),u&&(0,jt.jsx)(po.ButtonIcon,{icon:xo.Loader})]})]}):void 0,t[31]=n,t[32]=x,t[33]=g,t[34]=v,t[35]=c,t[36]=u,t[37]=y,t[38]=j,t[39]=P):P=t[39],t[40]!==A||t[41]!==P||t[42]!==S||t[43]!==w?(E=(0,jt.jsxs)(Qs.default,{style:S,children:[w,A,P]}),t[40]=A,t[41]=P,t[42]=S,t[43]=w,t[44]=E):E=t[44],E}function Ip(e){return e.value===(0,Wt.PROD_DEFAULT_FEED)(“whats-hot”)}var Ap=o(73963),Pp=o(66986);const Ep=Ht.Logger.create(Ht.Logger.Context.PostSource),Lp=new Map,Rp=new Map;function Dp(e,t,s=!1){0}var Bp=o(40228),Op=o(84008),Mp=o(93621);function Fp(e){const t=(0,a.c)(9),{timestamp:s,children:o,timeToString:n}=e,{i18n:r}=(0,ut.useLingui)(),i=(0,wc.useGetTimeAgo)(),l=(0,Ss.useTickEveryMinute)();let c;t[0]!==i||t[1]!==r||t[2]!==l||t[3]!==n||t[4]!==s?(c=()=>n?n(r,s):i(s,l),t[0]=i,t[1]=r,t[2]=l,t[3]=n,t[4]=s,t[5]=c):c=t[5];const[d,u]=(0,ct.useState)(c),[m,h]=(0,ct.useState)(l);let p;return m!==l&&(h(l),u(n?n(r,s):i(s,l))),t[6]!==o||t[7]!==d?(p=o({timeElapsed:d}),t[6]=o,t[7]=d,t[8]=p):p=t[8],p}let Np=e=>{const t=(0,a.c)(79),s=(0,to.useTheme)(),{i18n:o,_:n}=(0,ut.useLingui)(),r=(0,tu.useProfileShadow)(e.author),l=r.displayName||r.handle,c=r.handle;let d;t[0]!==r?(d=(0,Jd.makeProfileLink)(r),t[0]=r,t[1]=d):d=t[1];const u=d,m=(0,Mn.useQueryClient)(),h=e.onOpenAuthor;let p;t[2]!==r||t[3]!==h||t[4]!==m?(p=()=>{(0,Qt.unstableCacheProfileView)(m,r),h?.()},t[2]=r,t[3]=h,t[4]=m,t[5]=p):p=t[5];const f=p;let g;t[6]!==r||t[7]!==m?(g=()=>{(0,Qt.unstableCacheProfileView)(m,r)},t[6]=r,t[7]=m,t[8]=g):g=t[8];const x=g;let _;t[9]!==o||t[10]!==e.timestamp?(_=(0,Ml.niceDate)(o,e.timestamp),t[9]=o,t[10]=e.timestamp,t[11]=_):_=t[11];const y=_;let b;t[12]!==r?(b={profile:r},t[12]=r,t[13]=b):b=t[13];const j=(0,Fi.useSimpleVerificationState)(b),{isActive:v}=(0,Hi.useActorStatus)(r),S=e.linkDisabled?_o.Text:go.WebOnlyInlineLinkText;let w,T,k;t[14]!==e.style?(w=[to.atoms.flex_1,to.atoms.flex_row,to.atoms.align_center,to.atoms.pb_xs,to.atoms.gap_xs,to.atoms.z_20,e.style],t[14]=e.style,t[15]=w):w=t[15],t[16]!==r||t[17]!==v||t[18]!==e.avatarSize||t[19]!==e.linkDisabled||t[20]!==e.moderation||t[21]!==e.showAvatar?(T=e.showAvatar&&(0,jt.jsx)(Qs.default,{style:[to.atoms.self_center,to.atoms.mr_2xs],children:(0,jt.jsx)(or.PreviewableUserAvatar,{size:e.avatarSize||16,profile:r,moderation:e.moderation?.ui(“avatar”),type:r.associated?.labeler?”labeler”:”user”,live:v,hideLiveBadge:!0,disableNavigation:e.linkDisabled})}),t[16]=r,t[17]=v,t[18]=e.avatarSize,t[19]=e.linkDisabled,t[20]=e.moderation,t[21]=e.showAvatar,t[22]=T):T=t[22],t[23]===Symbol.for(“react.memo_cache_sentinel”)?(k=[to.atoms.flex_row,to.atoms.align_end,to.atoms.flex_shrink],t[23]=k):k=t[23];const C=r.did;let I,A;t[24]===Symbol.for(“react.memo_cache_sentinel”)?(I=[to.atoms.flex_row,to.atoms.align_end,to.atoms.flex_shrink],t[24]=I):I=t[24],t[25]!==n?(A=n({id:”73lp8c”}),t[25]=n,t[26]=A):A=t[26];const P=e.linkDisabled?void 0:f;let E,L,R,D,B,O;t[27]===Symbol.for(“react.memo_cache_sentinel”)?(E={maxWidth:”70%”},t[27]=E):E=t[27],t[28]!==s.atoms.text?(L=[to.atoms.text_md,to.atoms.font_semi_bold,s.atoms.text,to.atoms.leading_tight,to.atoms.flex_shrink_0,E],t[28]=s.atoms.text,t[29]=L):L=t[29],t[30]!==l||t[31]!==e.moderation?(R=(0,Bp.forceLTR)((0,Ln.sanitizeDisplayName)(l,e.moderation?.ui(“displayName”))),t[30]=l,t[31]=e.moderation,t[32]=R):R=t[32],t[33]!==S||t[34]!==u||t[35]!==A||t[36]!==P||t[37]!==L||t[38]!==R?(D=(0,jt.jsx)(S,{emoji:!0,numberOfLines:1,to:u,label:A,disableMismatchWarning:!0,onPress:P,style:L,children:R}),t[33]=S,t[34]=u,t[35]=A,t[36]=P,t[37]=L,t[38]=R,t[39]=D):D=t[39],t[40]!==j.role||t[41]!==j.showBadge?(B=j.showBadge&&(0,jt.jsx)(Qs.default,{style:[to.atoms.pl_2xs,to.atoms.self_center,{marginTop:(0,to.platform)({web:0,ios:0,android:-1})}],children:(0,jt.jsx)(Ni.VerificationCheck,{width:(0,to.platform)({android:13,default:12}),verifier:”verifier”===j.role})}),t[40]=j.role,t[41]=j.showBadge,t[42]=B):B=t[42],t[43]!==n?(O=n({id:”73lp8c”}),t[43]=n,t[44]=O):O=t[44];const M=e.linkDisabled?void 0:f;let F,N;t[45]===Symbol.for(“react.memo_cache_sentinel”)?(F={flexShrink:10},t[45]=F):F=t[45],t[46]!==s.atoms.text_contrast_medium?(N=[to.atoms.text_md,s.atoms.text_contrast_medium,to.atoms.leading_tight,F],t[46]=s.atoms.text_contrast_medium,t[47]=N):N=t[47];const H=Op.NON_BREAKING_SPACE+(0,Dn.sanitizeHandle)(c,”@”);let V,z,U,G,W,q,Q;return t[48]!==S||t[49]!==u||t[50]!==O||t[51]!==M||t[52]!==N||t[53]!==H?(V=(0,jt.jsx)(S,{emoji:!0,numberOfLines:1,to:u,label:O,disableMismatchWarning:!0,disableUnderline:!0,onPress:M,style:N,children:H}),t[48]=S,t[49]=u,t[50]=O,t[51]=M,t[52]=N,t[53]=H,t[54]=V):V=t[54],t[55]!==D||t[56]!==B||t[57]!==V?(z=(0,jt.jsxs)(Qs.default,{style:I,children:[D,B,V]}),t[55]=D,t[56]=B,t[57]=V,t[58]=z):z=t[58],t[59]!==r.did||t[60]!==z?(U=(0,jt.jsx)(Mp.ProfileHoverCard,{did:C,children:z}),t[59]=r.did,t[60]=z,t[61]=U):U=t[61],t[62]!==S||t[63]!==x||t[64]!==e.linkDisabled||t[65]!==e.postHref||t[66]!==s.atoms.text_contrast_medium||t[67]!==y?(G=t=>{const{timeElapsed:o}=t;return(0,jt.jsxs)(S,{to:e.postHref,label:y,title:y,disableMismatchWarning:!0,disableUnderline:!0,onPress:e.linkDisabled?void 0:x,style:[to.atoms.pl_xs,to.atoms.text_md,to.atoms.leading_tight,i.IS_ANDROID&&to.atoms.flex_grow,to.atoms.text_right,s.atoms.text_contrast_medium,(0,to.web)({whiteSpace:”nowrap”})],children:[!i.IS_ANDROID&&(0,jt.jsxs)(_o.Text,{style:[to.atoms.text_md,to.atoms.leading_tight,s.atoms.text_contrast_medium],accessible:!1,children:[“\xb7″,” “]}),o]})},t[62]=S,t[63]=x,t[64]=e.linkDisabled,t[65]=e.postHref,t[66]=s.atoms.text_contrast_medium,t[67]=y,t[68]=G):G=t[68],t[69]!==e.timestamp||t[70]!==G?(W=(0,jt.jsx)(Fp,{timestamp:e.timestamp,children:G}),t[69]=e.timestamp,t[70]=G,t[71]=W):W=t[71],t[72]!==U||t[73]!==W?(q=(0,jt.jsxs)(Qs.default,{style:k,children:[U,W]}),t[72]=U,t[73]=W,t[74]=q):q=t[74],t[75]!==q||t[76]!==w||t[77]!==T?(Q=(0,jt.jsxs)(Qs.default,{style:w,children:[T,q]}),t[75]=q,t[76]=w,t[77]=T,t[78]=Q):Q=t[78],Q};Np=(0,ct.memo)(Np);var Hp=o(44959),Vp=o(51158);function zp(e){const t=(0,a.c)(17),{testID:s,modui:o,ignoreMute:n,style:r,activeStyle:i,childContainerStyle:l,children:c}=e,d=o?.blurs[0];if(!d||n&&(0,Hp.isJustAMute)(o)){let e,o;return t[0]!==c?(e=”function”===typeof c?c({active:!1}):c,t[0]=c,t[1]=e):e=t[1],t[2]!==r||t[3]!==e||t[4]!==s?(o=(0,jt.jsx)(Qs.default,{testID:s,style:r,children:e}),t[2]=r,t[3]=e,t[4]=s,t[5]=o):o=t[5],o}let u,m,h;return t[6]!==i||t[7]!==r?(u=[r,i],t[6]=i,t[7]=r,t[8]=u):u=t[8],t[9]!==c?(m=”function”===typeof c?c({active:!0}):c,t[9]=c,t[10]=m):m=t[10],t[11]!==l||t[12]!==o||t[13]!==u||t[14]!==m||t[15]!==s?(h=(0,jt.jsx)(Up,{testID:s,modui:o,style:u,childContainerStyle:l,children:m}),t[11]=l,t[12]=o,t[13]=u,t[14]=m,t[15]=s,t[16]=h):h=t[16],h}function Up({testID:e,modui:t,style:s,childContainerStyle:o,children:n}){const a=(0,to.useTheme)(),{_:r}=(0,ut.useLingui)(),{gtMobile:i}=(0,to.useBreakpoints)(),[l,c]=(0,ct.useState)(!1),d=(0,zr.useModerationDetailsDialogControl)(),{labelDefs:u}=(0,Ot.useLabelDefinitions)(),m=(0,Qd.useGlobalLabelStrings)(),{i18n:h}=(0,ut.useLingui)(),p=t?.blurs[0],f=(0,Vr.useModerationCauseDescription)(p),g=(0,ct.useMemo)((()=>{if(!t?.blurs||!p)return;if(“label”!==p.type||”label”===p.type&&”user”!==p.source.type)return f.isSubjectAccount?r({id:”9EvyLl”,values:{0:f.name}}):f.name;let e=!1;const s=t.blurs.filter((t=>{if(“label”!==t.type)return!1;if(“user”!==t.source.type)return!1;if(Hp.ADULT_CONTENT_LABELS.includes(t.label.val)){if(e)return!1;e=!0}return!0})).slice(0,2).map((e=>{if(“label”!==e.type)return;const t=e.labelDef||(0,Vp.getDefinition)(u,e.label);return”porn”===t.identifier||”sexual”===t.identifier?r({id:”qLa52r”}):(0,Vp.getLabelStrings)(h.locale,m,t).name}));return 0===s.length?f.name:[…new Set(s)].join(“, “)}),[r,t?.blurs,p,f.name,f.isSubjectAccount,u,h.locale,m]);return(0,jt.jsxs)(Qs.default,{testID:e,style:[to.atoms.overflow_hidden,s],children:[(0,jt.jsx)(zr.ModerationDetailsDialog,{control:d,modcause:p}),(0,jt.jsx)(po.Button,{onPress:e=>{e.preventDefault(),e.stopPropagation(),t.noOverride?d.open():(au.default.configureNext(au.default.Presets.easeInEaseOut),c((e=>!e)))},label:f.name,accessibilityHint:t.noOverride?r({id:”dyp7Hm”}):r(l?{id:”IbbZpm”}:{id:”X8XK4K”}),children:e=>(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_row,to.atoms.w_full,to.atoms.justify_start,to.atoms.align_center,to.atoms.py_md,to.atoms.px_lg,to.atoms.gap_xs,to.atoms.rounded_sm,a.atoms.bg_contrast_25,i&&[to.atoms.gap_sm,to.atoms.py_lg,to.atoms.mt_xs,to.atoms.px_xl],(e.hovered||e.pressed)&&a.atoms.bg_contrast_50],children:[(0,jt.jsx)(f.icon,{size:”md”,fill:a.atoms.text_contrast_medium.color,style:{marginLeft:-2}}),(0,jt.jsx)(_o.Text,{style:[to.atoms.flex_1,to.atoms.text_left,to.atoms.font_semi_bold,to.atoms.leading_snug,i&&[to.atoms.font_semi_bold],a.atoms.text_contrast_medium,(0,to.web)({marginBottom:1})],numberOfLines:2,children:g}),!t.noOverride&&(0,jt.jsx)(_o.Text,{style:[to.atoms.font_semi_bold,to.atoms.leading_snug,i&&[to.atoms.font_semi_bold],a.atoms.text_contrast_high,(0,to.web)({marginBottom:1})],children:l?(0,jt.jsx)(ut.Trans,{id:”vLyv1R”}):(0,jt.jsx)(ut.Trans,{id:”8vETh9″})})]})}),f.source&&”label”===p.type&&!l&&(0,jt.jsx)(po.Button,{onPress:e=>{e.preventDefault(),e.stopPropagation(),d.open()},label:r({id:”dyp7Hm”}),style:[to.atoms.pt_sm],children:e=>(0,jt.jsxs)(_o.Text,{style:[to.atoms.flex_1,to.atoms.text_sm,to.atoms.font_normal,to.atoms.leading_snug,a.atoms.text_contrast_medium,to.atoms.text_left],children:[“user”===f.sourceType?(0,jt.jsx)(ut.Trans,{id:”WeiD66″}):(0,jt.jsx)(ut.Trans,{id:”CaKI7F”,values:{0:(0,Ln.sanitizeDisplayName)(f.source)}}),” “,(0,jt.jsx)(_o.Text,{style:[{color:a.palette.primary_500},to.atoms.text_sm,e.hovered&&[(0,to.web)({textDecoration:”underline”})]],children:(0,jt.jsx)(ut.Trans,{id:”F6TdXL”})})]})}),l&&(0,jt.jsx)(Qs.default,{style:o,children:n})]})}function Gp(e){const t=(0,a.c)(7);let s,o,n,r;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(s={preventExpansion:!0},o=(0,jt.jsx)(so.Handle,{}),t[0]=s,t[1]=o):(s=t[0],o=t[1]),t[2]!==e?(n=(0,jt.jsx)(Wp,Object.assign({},e)),t[2]=e,t[3]=n):n=t[3],t[4]!==e.control||t[5]!==n?(r=(0,jt.jsxs)(so.Outer,{control:e.control,nativeOptions:s,children:[o,n]}),t[4]=e.control,t[5]=n,t[6]=r):r=t[6],r}function Wp(e){const t=(0,a.c)(19),{_:s}=(0,ut.useLingui)(),{currentAccount:o}=(0,Yt.useSession)(),[n,r]=ct.useState(void 0),{labels:i}=e,l=”account”===e.type;let c;if(o?.did,t[0]!==o?.did||t[1]!==i){let e;t[3]!==o?.did?(e=e=>e.src===o?.did,t[3]=o?.did,t[4]=e):e=t[4],c=i.some(e),t[0]=o?.did,t[1]=i,t[2]=c}else c=t[2];const d=c;let u,m,h,p;return t[5]!==s||t[6]!==l?(u=s(l?{id:”yTqCUW”}:{id:”ULB0Ox”}),t[5]=s,t[6]=l,t[7]=u):u=t[7],t[8]!==n||t[9]!==d||t[10]!==o?.did||t[11]!==l||t[12]!==i||t[13]!==e.control?(m=n?(0,jt.jsx)(Qp,{label:n,control:e.control,onPressBack:()=>r(void 0)}):(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(_o.Text,{style:[to.atoms.text_2xl,to.atoms.font_bold,to.atoms.pb_xs,to.atoms.leading_tight],children:l?(0,jt.jsx)(ut.Trans,{id:”0xXuqM”}):(0,jt.jsx)(ut.Trans,{id:”gLA+uA”})}),(0,jt.jsx)(_o.Text,{style:[to.atoms.text_md,to.atoms.leading_snug],children:d?(0,jt.jsx)(ut.Trans,{id:”BUhPgv”}):(0,jt.jsx)(ut.Trans,{id:”EaUwqE”})}),(0,jt.jsx)(Qs.default,{style:[to.atoms.py_lg,to.atoms.gap_md],children:i.map((t=>(0,jt.jsx)(qp,{label:t,isSelfLabel:t.src===o?.did,control:e.control,onPressAppeal:r},`${t.val}-${t.src}`)))})]}),t[8]=n,t[9]=d,t[10]=o?.did,t[11]=l,t[12]=i,t[13]=e.control,t[14]=m):m=t[14],t[15]===Symbol.for(“react.memo_cache_sentinel”)?(h=(0,jt.jsx)(so.Close,{}),t[15]=h):h=t[15],t[16]!==u||t[17]!==m?(p=(0,jt.jsxs)(so.ScrollableInner,{label:u,children:[m,h]}),t[16]=u,t[17]=m,t[18]=p):p=t[18],p}function qp(e){const t=(0,a.c)(45),{label:s,isSelfLabel:o,control:n,onPressAppeal:r}=e,i=(0,to.useTheme)(),{_:l}=(0,ut.useLingui)(),{labeler:c,strings:d}=(0,Vp.useLabelInfo)(s);let u;t[0]!==s||t[1]!==c?(u=c?(0,Dn.sanitizeHandle)(c.creator.handle,”@”):s.src,t[0]=s,t[1]=c,t[2]=u):u=t[2];const m=u;let h;t[3]===Symbol.for(“react.memo_cache_sentinel”)?(h={future:!0},t[3]=h):h=t[3];const p=(0,wc.useGetTimeAgo)(h);let f,g,x,_,y,b,j,v,S,w,T,k,C,I,A;return t[4]!==i.atoms.border_contrast_low?(f=[to.atoms.border,i.atoms.border_contrast_low,to.atoms.rounded_sm,to.atoms.overflow_hidden],t[4]=i.atoms.border_contrast_low,t[5]=f):f=t[5],t[6]===Symbol.for(“react.memo_cache_sentinel”)?(g=[to.atoms.p_md,to.atoms.gap_sm,to.atoms.flex_row],t[6]=g):g=t[6],t[7]===Symbol.for(“react.memo_cache_sentinel”)?(x=[to.atoms.flex_1,to.atoms.gap_xs],t[7]=x):x=t[7],t[8]===Symbol.for(“react.memo_cache_sentinel”)?(_=[to.atoms.font_semi_bold,to.atoms.text_md],t[8]=_):_=t[8],t[9]!==d.name?(y=(0,jt.jsx)(_o.Text,{emoji:!0,style:_,children:d.name}),t[9]=d.name,t[10]=y):y=t[10],t[11]!==i.atoms.text_contrast_medium?(b=[i.atoms.text_contrast_medium,to.atoms.leading_snug],t[11]=i.atoms.text_contrast_medium,t[12]=b):b=t[12],t[13]!==d.description||t[14]!==b?(j=(0,jt.jsx)(_o.Text,{emoji:!0,style:b,children:d.description}),t[13]=d.description,t[14]=b,t[15]=j):j=t[15],t[16]!==y||t[17]!==j?(v=(0,jt.jsxs)(Qs.default,{style:x,children:[y,j]}),t[16]=y,t[17]=j,t[18]=v):v=t[18],t[19]!==l||t[20]!==o||t[21]!==s||t[22]!==r?(S=!o&&(0,jt.jsx)(Qs.default,{children:(0,jt.jsx)(po.Button,{variant:”solid”,color:”secondary”,size:”small”,label:l({id:”U0Di/P”}),onPress:()=>r(s),children:(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”U0Di/P”})})})}),t[19]=l,t[20]=o,t[21]=s,t[22]=r,t[23]=S):S=t[23],t[24]!==v||t[25]!==S?(w=(0,jt.jsxs)(Qs.default,{style:g,children:[v,S]}),t[24]=v,t[25]=S,t[26]=w):w=t[26],t[27]===Symbol.for(“react.memo_cache_sentinel”)?(T=(0,jt.jsx)(Co,{}),t[27]=T):T=t[27],t[28]!==i.atoms.bg_contrast_25?(k=[to.atoms.px_md,to.atoms.py_sm,i.atoms.bg_contrast_25],t[28]=i.atoms.bg_contrast_25,t[29]=k):k=t[29],t[30]!==n||t[31]!==o||t[32]!==s||t[33]!==c||t[34]!==m||t[35]!==i.atoms.text_contrast_medium||t[36]!==p?(C=o?(0,jt.jsx)(_o.Text,{style:[i.atoms.text_contrast_medium],children:(0,jt.jsx)(ut.Trans,{id:”cyoHsh”})}):(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_row,to.atoms.justify_between,to.atoms.gap_xl,{paddingBottom:1}],children:[(0,jt.jsx)(_o.Text,{style:[to.atoms.flex_1,to.atoms.leading_snug,i.atoms.text_contrast_medium],numberOfLines:1,children:(0,jt.jsx)(ut.Trans,{id:”hINgTt”,values:{sourceName:m},components:{0:(0,jt.jsx)(go.InlineLinkText,{label:m,to:(0,Jd.makeProfileLink)(c?c.creator:{did:s.src,handle:””}),onPress:()=>n.close()})}})}),s.exp&&(0,jt.jsx)(Qs.default,{children:(0,jt.jsx)(_o.Text,{style:[to.atoms.leading_snug,to.atoms.text_sm,to.atoms.italic,i.atoms.text_contrast_medium],children:(0,jt.jsx)(ut.Trans,{id:”p6Htf2″,values:{0:p(Date.now(),s.exp)}})})})]}),t[30]=n,t[31]=o,t[32]=s,t[33]=c,t[34]=m,t[35]=i.atoms.text_contrast_medium,t[36]=p,t[37]=C):C=t[37],t[38]!==k||t[39]!==C?(I=(0,jt.jsx)(Qs.default,{style:k,children:C}),t[38]=k,t[39]=C,t[40]=I):I=t[40],t[41]!==w||t[42]!==I||t[43]!==f?(A=(0,jt.jsxs)(Qs.default,{style:f,children:[w,T,I]}),t[41]=w,t[42]=I,t[43]=f,t[44]=A):A=t[44],A}function Qp(e){const t=(0,a.c)(94),{label:s,control:o,onPressBack:n}=e,{_:r}=(0,ut.useLingui)(),{labeler:l,strings:c}=(0,Vp.useLabelInfo)(s),{gtMobile:d}=(0,to.useBreakpoints)(),[u,m]=ct.useState(“”);let h;t[0]!==s?(h={label:s},t[0]=s,t[1]=h):h=t[1];const{subject:p}=(0,Hp.useLabelSubject)(h),f=”did”in p,g=(0,Yt.useAgent)();let x;t[2]!==s||t[3]!==l?(x=l?(0,Dn.sanitizeHandle)(l.creator.handle,”@”):s.src,t[2]=s,t[3]=l,t[4]=x):x=t[4];const _=x,[y,b]=(0,ct.useState)(null);let j,v,S,w;t[5]!==g||t[6]!==u||t[7]!==f||t[8]!==s||t[9]!==p?(j=async()=>{const e=f?”com.atproto.admin.defs#repoRef”:”com.atproto.repo.strongRef”;await g.createModerationReport({reasonType:On.ToolsOzoneReportDefs.REASONAPPEAL,subject:Object.assign({$type:e},p),reason:u},{encoding:”application/json”,headers:{“atproto-proxy”:`${s.src}#atproto_labeler`}})},t[5]=g,t[6]=u,t[7]=f,t[8]=s,t[9]=p,t[10]=j):j=t[10],t[11]!==r?(v=e=>{e instanceof Ic.XRPCError&&”AlreadyAppealed”===e.error?b(r({id:”ni3xoj”})):b(r({id:”weFIXk”})),Ht.logger.error(“Failed to submit label appeal”,{message:e})},t[11]=r,t[12]=v):v=t[12],t[13]!==r||t[14]!==o?(S=()=>{o.close(),Gs.show(r({id:”tk78Wd”}))},t[13]=r,t[14]=o,t[15]=S):S=t[15],t[16]!==j||t[17]!==v||t[18]!==S?(w={mutationFn:j,onError:v,onSuccess:S},t[16]=j,t[17]=v,t[18]=S,t[19]=w):w=t[19];const{mutate:T,isPending:k}=(0,wo.useMutation)(w);let C;t[20]!==T?(C=()=>T(),t[20]=T,t[21]=C):C=t[21];const I=C;let A,P,E,L,R,D,B,O,M,F,N,H,V,z,U,G,W,q,Q,K,Z,Y,$,X,J,ee,te,se,oe;return t[22]===Symbol.for(“react.memo_cache_sentinel”)?(A=[to.atoms.text_2xl,to.atoms.font_semi_bold,to.atoms.pb_xs,to.atoms.leading_tight],t[22]=A):A=t[22],t[23]!==c.name?(P=(0,jt.jsx)(_o.Text,{style:A,children:(0,jt.jsx)(ut.Trans,{id:”/AiU3N”,values:{0:c.name}})}),t[23]=c.name,t[24]=P):P=t[24],t[25]===Symbol.for(“react.memo_cache_sentinel”)?(E=[to.atoms.text_md,to.atoms.leading_snug],t[25]=E):E=t[25],t[26]!==_?(L={sourceName:_},t[26]=_,t[27]=L):L=t[27],t[28]!==s||t[29]!==l?(R=l?l.creator:{did:s.src,handle:””},t[28]=s,t[29]=l,t[30]=R):R=t[30],t[31]!==R?(D=(0,Jd.makeProfileLink)(R),t[31]=R,t[32]=D):D=t[32],t[33]!==o?(B=()=>o.close(),t[33]=o,t[34]=B):B=t[34],t[35]===Symbol.for(“react.memo_cache_sentinel”)?(O=[to.atoms.text_md,to.atoms.leading_snug],t[35]=O):O=t[35],t[36]!==_||t[37]!==D||t[38]!==B?(M={0:(0,jt.jsx)(go.InlineLinkText,{label:_,to:D,onPress:B,style:O})},t[36]=_,t[37]=D,t[38]=B,t[39]=M):M=t[39],t[40]!==L||t[41]!==M?(F=(0,jt.jsx)(_o.Text,{style:E,children:(0,jt.jsx)(ut.Trans,{id:”0y4vp3″,values:L,components:M})}),t[40]=L,t[41]=M,t[42]=F):F=t[42],t[43]!==F||t[44]!==P?(N=(0,jt.jsxs)(Qs.default,{children:[P,F]}),t[43]=F,t[44]=P,t[45]=N):N=t[45],t[46]!==y?(H=y&&(0,jt.jsx)(ho.Admonition,{type:”error”,style:[to.atoms.mt_sm],children:y}),t[46]=y,t[47]=H):H=t[47],t[48]===Symbol.for(“react.memo_cache_sentinel”)?(V=[to.atoms.my_md],t[48]=V):V=t[48],t[49]!==r?(z=r({id:”p8Iz39″}),t[49]=r,t[50]=z):z=t[50],t[51]!==r||t[52]!==s||t[53]!==l?(U=r({id:”YROfa6″,values:{0:l?(0,Dn.sanitizeHandle)(l.creator.handle,”@”):s.src}}),t[51]=r,t[52]=s,t[53]=l,t[54]=U):U=t[54],t[55]!==u||t[56]!==z||t[57]!==U?(G=(0,jt.jsx)(Qs.default,{style:V,children:(0,jt.jsx)(so.Input,{label:z,placeholder:U,value:u,onChangeText:m,autoFocus:!0,numberOfLines:3,multiline:!0,maxLength:300})}),t[55]=u,t[56]=z,t[57]=U,t[58]=G):G=t[58],t[59]!==d?(W=d?[to.atoms.flex_row,to.atoms.justify_between]:[{flexDirection:”column-reverse”},to.atoms.gap_sm],t[59]=d,t[60]=W):W=t[60],t[61]!==r?(q=r({id:”iH8pgl”}),t[61]=r,t[62]=q):q=t[62],t[63]!==r?(Q=r({id:”iH8pgl”}),t[63]=r,t[64]=Q):Q=t[64],t[65]!==Q?(K=(0,jt.jsx)(po.ButtonText,{children:Q}),t[65]=Q,t[66]=K):K=t[66],t[67]!==n||t[68]!==q||t[69]!==K?(Z=(0,jt.jsx)(po.Button,{testID:”backBtn”,variant:”solid”,color:”secondary”,size:”large”,onPress:n,label:q,children:K}),t[67]=n,t[68]=q,t[69]=K,t[70]=Z):Z=t[70],t[71]!==r?(Y=r({id:”hQRttt”}),t[71]=r,t[72]=Y):Y=t[72],t[73]!==r?($=r({id:”hQRttt”}),t[73]=r,t[74]=$):$=t[74],t[75]!==$?(X=(0,jt.jsx)(po.ButtonText,{children:$}),t[75]=$,t[76]=X):X=t[76],t[77]!==k?(J=k&&(0,jt.jsx)(po.ButtonIcon,{icon:xo.Loader}),t[77]=k,t[78]=J):J=t[78],t[79]!==I||t[80]!==Y||t[81]!==X||t[82]!==J?(ee=(0,jt.jsxs)(po.Button,{testID:”submitBtn”,variant:”solid”,color:”primary”,size:”large”,onPress:I,label:Y,children:[X,J]}),t[79]=I,t[80]=Y,t[81]=X,t[82]=J,t[83]=ee):ee=t[83],t[84]!==W||t[85]!==Z||t[86]!==ee?(te=(0,jt.jsxs)(Qs.default,{style:W,children:[Z,ee]}),t[84]=W,t[85]=Z,t[86]=ee,t[87]=te):te=t[87],t[88]===Symbol.for(“react.memo_cache_sentinel”)?(se=i.IS_ANDROID&&(0,jt.jsx)(Qs.default,{style:{height:300}}),t[88]=se):se=t[88],t[89]!==N||t[90]!==H||t[91]!==G||t[92]!==te?(oe=(0,jt.jsxs)(jt.Fragment,{children:[N,H,G,te,se]}),t[89]=N,t[90]=H,t[91]=G,t[92]=te,t[93]=oe):oe=t[93],oe}function Kp(e){const t=(0,a.c)(26);let{type:s,labels:o,size:n,style:r}=e;const{_:i}=(0,ut.useLingui)(),{currentAccount:l}=(0,Yt.useSession)(),c=(0,so.useDialogControl)();if(!o||!l)return null;let d,u,m;if(t[0]!==o?(d=o.filter(Zp),t[0]=o,t[1]=d):d=t[1],o=d,!o.length)return null;t[2]!==r?(u=[to.atoms.flex_row,r],t[2]=r,t[3]=u):u=t[3],t[4]!==c||t[5]!==o||t[6]!==s?(m=(0,jt.jsx)(Gp,{control:c,labels:o,type:s}),t[4]=c,t[5]=o,t[6]=s,t[7]=m):m=t[7];const h=n||”small”;let p,f,g,x,_,y,b;return t[8]!==i?(p=i({id:”RTblld”}),t[8]=i,t[9]=p):p=t[9],t[10]!==c?(f=()=>{c.open()},t[10]=c,t[11]=f):f=t[11],t[12]===Symbol.for(“react.memo_cache_sentinel”)?(g=(0,jt.jsx)(po.ButtonIcon,{position:”left”,icon:Gi.CircleInfo_Stroke2_Corner0_Rounded}),t[12]=g):g=t[12],t[13]===Symbol.for(“react.memo_cache_sentinel”)?(x=[to.atoms.leading_snug],t[13]=x):x=t[13],t[14]!==o.length||t[15]!==s?(_=(0,jt.jsx)(po.ButtonText,{style:x,children:”account”===s?(0,jt.jsx)(ut.Trans,{id:”WpOWPz”,values:{0:o.length}}):(0,jt.jsx)(ut.Trans,{id:”lQ9kih”,values:{0:o.length}})}),t[14]=o.length,t[15]=s,t[16]=_):_=t[16],t[17]!==h||t[18]!==p||t[19]!==f||t[20]!==_?(y=(0,jt.jsxs)(po.Button,{variant:”solid”,color:”secondary”,size:h,label:p,onPress:f,children:[g,_]}),t[17]=h,t[18]=p,t[19]=f,t[20]=_,t[21]=y):y=t[21],t[22]!==y||t[23]!==u||t[24]!==m?(b=(0,jt.jsxs)(Qs.default,{style:u,children:[m,y]}),t[22]=y,t[23]=u,t[24]=m,t[25]=b):b=t[25],b}function Zp(e){return!e.val.startsWith(“!”)}function Yp(e){const t=(0,a.c)(3),{post:s,style:o}=e,{currentAccount:n}=(0,Yt.useSession)();if(s.author.did!==n?.did)return null;let r;return t[0]!==s.labels||t[1]!==o?(r=(0,jt.jsx)(Kp,{type:”content”,labels:s.labels,size:”tiny”,style:o}),t[0]=s.labels,t[1]=o,t[2]=r):r=t[2],r}var $p=o(32581);function Xp(e){const t=(0,a.c)(24),{modui:s,size:o,style:n,additionalCauses:r}=e,i=void 0===o?”sm”:o;if(!s.alert&&!s.inform&&!r?.length)return null;let l,c,d,u,m,h;if(t[0]!==i?(l=”sm”===i&&{marginLeft:-3},t[0]=i,t[1]=l):l=t[1],t[2]!==n||t[3]!==l?(c=[l,n],t[2]=n,t[3]=l,t[4]=c):c=t[4],t[5]!==s.alerts||t[6]!==i){let e;t[8]!==i?(e=e=>(0,jt.jsx)($p.Label,{cause:e,size:i,noBg:”sm”===i},(0,Hp.getModerationCauseKey)(e)),t[8]=i,t[9]=e):e=t[9],d=s.alerts.filter(Hp.unique).map(e),t[5]=s.alerts,t[6]=i,t[7]=d}else d=t[7];if(t[10]!==s.informs||t[11]!==i){let e;t[13]!==i?(e=e=>(0,jt.jsx)($p.Label,{cause:e,size:i,noBg:”sm”===i},(0,Hp.getModerationCauseKey)(e)),t[13]=i,t[14]=e):e=t[14],u=s.informs.filter(Hp.unique).map(e),t[10]=s.informs,t[11]=i,t[12]=u}else u=t[12];return t[15]!==r||t[16]!==i?(m=r?.map((e=>(0,jt.jsx)($p.Label,{cause:e,size:i,noBg:”sm”===i},(0,Hp.getModerationCauseKey)(e)))),t[15]=r,t[16]=i,t[17]=m):m=t[17],t[18]!==i||t[19]!==c||t[20]!==d||t[21]!==u||t[22]!==m?(h=(0,jt.jsxs)($p.Row,{size:i,style:c,children:[d,u,m]}),t[18]=i,t[19]=c,t[20]=d,t[21]=u,t[22]=m,t[23]=h):h=t[23],h}var Jp=o(50996),ef=o(35730),tf=o(50441),sf=o(27948),of=o(70930),nf=o(23933);function af(e){const t=(0,a.c)(61),{control:s,source:o,onAccept:n}=e,{_:r}=(0,ut.useLingui)(),i=(0,Ot.useSetExternalEmbedPref)();let l;t[0]!==s||t[1]!==n||t[2]!==i?(l=()=>{for(const e of of.embedPlayerSources)i(e,”show”);n(),s.close()},t[0]=s,t[1]=n,t[2]=i,t[3]=l):l=t[3];const c=l;let d;t[4]!==s||t[5]!==n||t[6]!==i||t[7]!==o?(d=()=>{i(o,”show”),n(),s.close()},t[4]=s,t[5]=n,t[6]=i,t[7]=o,t[8]=d):d=t[8];const u=d;let m;t[9]!==s||t[10]!==i||t[11]!==o?(m=()=>{i(o,”hide”),s.close()},t[9]=s,t[10]=i,t[11]=o,t[12]=m):m=t[12];const h=m;let p,f,g,x,_,y,b;t[13]===Symbol.for(“react.memo_cache_sentinel”)?(p={preventExpansion:!0},f=(0,jt.jsx)(so.Handle,{}),t[13]=p,t[14]=f):(p=t[13],f=t[14]),t[15]!==r?(g=r({id:”aie5G2″}),t[15]=r,t[16]=g):g=t[16],t[17]===Symbol.for(“react.memo_cache_sentinel”)?(x=(0,to.web)({maxWidth:400}),t[17]=x):x=t[17],t[18]===Symbol.for(“react.memo_cache_sentinel”)?(_=(0,jt.jsx)(_o.Text,{style:[to.atoms.text_2xl,to.atoms.font_bold],children:(0,jt.jsx)(ut.Trans,{id:”aie5G2″})}),t[18]=_):_=t[18],t[19]===Symbol.for(“react.memo_cache_sentinel”)?(y=[to.atoms.mt_sm,to.atoms.mb_2xl,to.atoms.gap_lg],t[19]=y):y=t[19],t[20]===Symbol.for(“react.memo_cache_sentinel”)?(b=[to.atoms.text_md,to.atoms.leading_snug],t[20]=b):b=t[20];const j=of.externalEmbedLabels[o];let v,S,w,T,k,C,I;t[21]!==j?(v=(0,jt.jsx)(_o.Text,{style:b,children:(0,jt.jsx)(ut.Trans,{id:”iCR89t”,values:{0:j}})}),t[21]=j,t[22]=v):v=t[22],t[23]===Symbol.for(“react.memo_cache_sentinel”)?(S=(0,jt.jsx)(ho.Admonition,{type:”info”,children:(0,jt.jsx)(ut.Trans,{id:”n+JXGp”})}),t[23]=S):S=t[23],t[24]!==v?(w=(0,jt.jsxs)(Qs.default,{style:to.atoms.gap_sm,children:[_,(0,jt.jsxs)(Qs.default,{style:y,children:[v,S]})]}),t[24]=v,t[25]=w):w=t[25],t[26]!==r?(T=r({id:”Va5mZi”}),t[26]=r,t[27]=T):T=t[27],t[28]===Symbol.for(“react.memo_cache_sentinel”)?(k=(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”Va5mZi”})}),t[28]=k):k=t[28],t[29]!==s.close||t[30]!==c||t[31]!==T?(C=(0,jt.jsx)(po.Button,{label:T,onPress:c,onAccessibilityEscape:s.close,color:”primary”,size:”large”,children:k}),t[29]=s.close,t[30]=c,t[31]=T,t[32]=C):C=t[32],t[33]!==r?(I=r({id:”EdCVUs”}),t[33]=r,t[34]=I):I=t[34];const A=of.externalEmbedLabels[o];let P,E,L,R,D,B,O,M,F;return t[35]!==A?(P=(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”xIKcx6″,values:{0:A}})}),t[35]=A,t[36]=P):P=t[36],t[37]!==s.close||t[38]!==u||t[39]!==I||t[40]!==P?(E=(0,jt.jsx)(po.Button,{label:I,onPress:u,onAccessibilityEscape:s.close,color:”secondary”,size:”large”,children:P}),t[37]=s.close,t[38]=u,t[39]=I,t[40]=P,t[41]=E):E=t[41],t[42]!==r?(L=r({id:”tA4dAO”}),t[42]=r,t[43]=L):L=t[43],t[44]===Symbol.for(“react.memo_cache_sentinel”)?(R=(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”tA4dAO”})}),t[44]=R):R=t[44],t[45]!==s.close||t[46]!==h||t[47]!==L?(D=(0,jt.jsx)(po.Button,{label:L,onAccessibilityEscape:s.close,onPress:h,color:”secondary”,size:”large”,variant:”ghost”,children:R}),t[45]=s.close,t[46]=h,t[47]=L,t[48]=D):D=t[48],t[49]!==C||t[50]!==E||t[51]!==D?(B=(0,jt.jsxs)(Qs.default,{style:to.atoms.gap_md,children:[C,E,D]}),t[49]=C,t[50]=E,t[51]=D,t[52]=B):B=t[52],t[53]===Symbol.for(“react.memo_cache_sentinel”)?(O=(0,jt.jsx)(so.Close,{}),t[53]=O):O=t[53],t[54]!==w||t[55]!==B||t[56]!==g?(M=(0,jt.jsxs)(so.ScrollableInner,{label:g,style:x,children:[w,B,O]}),t[54]=w,t[55]=B,t[56]=g,t[57]=M):M=t[57],t[58]!==s||t[59]!==M?(F=(0,jt.jsxs)(so.Outer,{control:s,nativeOptions:p,children:[f,M]}),t[58]=s,t[59]=M,t[60]=F):F=t[60],F}var rf=o(15127);(0,na.createSinglePathSVG)({path:”M5.507 2.13a1 1 0 0 1 1.008.013l15 9a1 1 0 0 1 0 1.714l-15 9A1 1 0 0 1 5 21V3a1 1 0 0 1 .507-.87ZM7 4.766v14.468L19.056 12 7 4.766Z”});const lf=(0,na.createSinglePathSVG)({path:”M6.514 2.143A1 1 0 0 0 5 3v18a1 1 0 0 0 1.514.858l15-9a1 1 0 0 0 0-1.716l-15-9Z”}),cf=(0,na.createSinglePathSVG)({path:”M5 5.086C5 2.736 7.578 1.3 9.576 2.534L20.77 9.448c1.899 1.172 1.899 3.932 0 5.104L9.576 21.466C7.578 22.701 5 21.263 5 18.914V5.086Zm3.525-.85A1 1 0 0 0 7 5.085v13.828a1 1 0 0 0 1.525.85l11.194-6.913a1 1 0 0 0 0-1.702L8.525 4.235Z”});(0,na.createSinglePathSVG)({path:”M9.576 2.534C7.578 1.299 5 2.737 5 5.086v13.828c0 2.35 2.578 3.787 4.576 2.552l11.194-6.914c1.899-1.172 1.899-3.932 0-5.104L9.576 2.534Z”});function df(e){const t=(0,a.c)(10),{size:s}=e,o=void 0===s?32:s,n=(0,to.useTheme)(),r=”light”===n.name?n.palette.contrast_25:n.palette.contrast_975,i=”light”===n.name?n.palette.contrast_975:n.palette.contrast_25,l=o+o/1.5,c=o+o/1.5;let d,u,m;return t[0]!==r||t[1]!==l||t[2]!==c?(d=(0,jt.jsx)(Qs.default,{style:[to.atoms.rounded_full,{backgroundColor:r,shadowColor:”black”,shadowRadius:32,shadowOpacity:.5,elevation:24,width:l,height:c,opacity:.7}]}),t[0]=r,t[1]=l,t[2]=c,t[3]=d):d=t[3],t[4]!==i||t[5]!==o?(u=(0,jt.jsx)(lf,{width:o,fill:i,style:to.atoms.absolute}),t[4]=i,t[5]=o,t[6]=u):u=t[6],t[7]!==d||t[8]!==u?(m=(0,jt.jsxs)(jt.Fragment,{children:[d,u]}),t[7]=d,t[8]=u,t[9]=m):m=t[9],m}function uf(e){const t=(0,a.c)(40),{link:s,params:o}=e,n=(0,to.useTheme)(),r=(0,Ot.useExternalEmbedsPrefs)(),{_:l}=(0,ut.useLingui)(),c=(0,so.useDialogControl)(),[d,u]=ct.useState(!1),[m,h]=ct.useState(!1),[p,f]=ct.useState(!0),g=ct.useRef(null);let x;t[0]!==o.playerUri?(x=()=>{u(!0),xn.Image.prefetch(o.playerUri).then((()=>{h(!0)}))},t[0]=o.playerUri,t[1]=x):x=t[1];const _=x;let y;t[2]!==c||t[3]!==r||t[4]!==d||t[5]!==_||t[6]!==o.source?(y=e=>{e.preventDefault(),void 0!==r?.[o.source]?d?f((e=>e?(i.IS_NATIVE&&g.current?.stopAnimating(),!1):(i.IS_NATIVE&&g.current?.startAnimating(),!0))):_():c.open()},t[2]=c,t[3]=r,t[4]=d,t[5]=_,t[6]=o.source,t[7]=y):y=t[7];const b=y;let j,v,S,w,T;t[8]!==c||t[9]!==_||t[10]!==o.source?(j=(0,jt.jsx)(af,{control:c,source:o.source,onAccept:_}),t[8]=c,t[9]=_,t[10]=o.source,t[11]=j):j=t[11],t[12]===Symbol.for(“react.memo_cache_sentinel”)?(v={height:300},t[12]=v):v=t[12],t[13]===Symbol.for(“react.memo_cache_sentinel”)?(S=[v,to.atoms.w_full,to.atoms.overflow_hidden,{borderBottomLeftRadius:0,borderBottomRightRadius:0}],t[13]=S):S=t[13],t[14]!==l?(w=l({id:”pmtcOG”}),t[14]=l,t[15]=w):w=t[15],t[16]!==l||t[17]!==s.title?(T=l({id:”HL7kZa”,values:{0:s.title}}),t[16]=l,t[17]=s.title,t[18]=T):T=t[18];const k=!m||i.IS_WEB&&!p?s.thumb:o.playerUri;let C,I,A,P,E,L;return t[19]!==k?(C={uri:k},t[19]=k,t[20]=C):C=t[20],t[21]===Symbol.for(“react.memo_cache_sentinel”)?(I={flex:1},t[21]=I):I=t[21],t[22]!==p||t[23]!==s.title||t[24]!==C?(A=(0,jt.jsx)(xn.Image,{source:C,style:I,ref:g,autoplay:p,contentFit:”contain”,accessibilityIgnoresInvertColors:!0,accessibilityLabel:s.title,accessibilityHint:s.title,cachePolicy:i.IS_IOS?”disk”:”memory-disk”}),t[22]=p,t[23]=s.title,t[24]=C,t[25]=A):A=t[25],t[26]!==p||t[27]!==d||t[28]!==m||t[29]!==n?(P=(!m||!p)&&(0,jt.jsxs)(rf.Fill,{style:[to.atoms.align_center,to.atoms.justify_center],children:[(0,jt.jsx)(rf.Fill,{style:[“light”===n.name?n.atoms.bg_contrast_975:n.atoms.bg,{opacity:.3}]}),p&&d?(0,jt.jsx)(Pn.default,{size:”large”,color:”white”}):(0,jt.jsx)(df,{})]}),t[26]=p,t[27]=d,t[28]=m,t[29]=n,t[30]=P):P=t[30],t[31]!==b||t[32]!==A||t[33]!==P||t[34]!==w||t[35]!==T?(E=(0,jt.jsxs)(gn.default,{style:S,onPress:b,accessibilityRole:”button”,accessibilityHint:w,accessibilityLabel:T,children:[A,P]}),t[31]=b,t[32]=A,t[33]=P,t[34]=w,t[35]=T,t[36]=E):E=t[36],t[37]!==E||t[38]!==j?(L=(0,jt.jsxs)(jt.Fragment,{children:[j,E]}),t[37]=E,t[38]=j,t[39]=L):L=t[39],L}var mf=o(54426);function hf(e){const t=(0,a.c)(4),{children:s,style:o,onKeyDown:n}=e,r=ff,i=void 0===n||n?r:void 0;let l;return t[0]!==s||t[1]!==o||t[2]!==i?(l=(0,jt.jsx)(Qs.default,{onStartShouldSetResponder:pf,onTouchEnd:r,onClick:r,onKeyDown:i,style:o,children:s}),t[0]=s,t[1]=o,t[2]=i,t[3]=l):l=t[3],l}function pf(e){return!0}function ff(e){e.stopPropagation()}function gf(e){const t=(0,a.c)(13),{isLoading:s,isPlayerActive:o,onPress:n}=e,{_:r}=(0,ut.useLingui)();if(o&&!s)return null;let i,l,c,d,u,m;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(i=[to.atoms.absolute,to.atoms.inset_0,bf.overlayLayer],t[0]=i):i=t[0],t[1]!==r?(l=r({id:”Jf3XqA”}),t[1]=r,t[2]=l):l=t[2],t[3]!==r?(c=r({id:”Y+VyL0″}),t[3]=r,t[4]=c):c=t[4],t[5]===Symbol.for(“react.memo_cache_sentinel”)?(d=[bf.overlayContainer],t[5]=d):d=t[5],t[6]!==o?(u=o?(0,jt.jsx)(Pn.default,{size:”large”,color:”white”}):(0,jt.jsx)(df,{}),t[6]=o,t[7]=u):u=t[7],t[8]!==n||t[9]!==l||t[10]!==c||t[11]!==u?(m=(0,jt.jsx)(Qs.default,{style:i,children:(0,jt.jsx)(gn.default,{accessibilityRole:”button”,accessibilityLabel:l,accessibilityHint:c,onPress:n,style:d,children:u})}),t[8]=n,t[9]=l,t[10]=c,t[11]=u,t[12]=m):m=t[12],m}function xf(e){const t=(0,a.c)(10),{params:s,onLoad:o,isPlayerActive:n}=e;let r;t[0]!==s.playerUri||t[1]!==s.source?(r=e=>e.url===s.playerUri||s.source.startsWith(“youtube”)&&e.url.includes(“www.youtube.com”),t[0]=s.playerUri,t[1]=s.source,t[2]=r):r=t[2];const i=r;if(!n)return null;let l,c,d;return t[3]===Symbol.for(“react.memo_cache_sentinel”)?(l=[to.atoms.absolute,to.atoms.inset_0,bf.playerLayer],t[3]=l):l=t[3],t[4]!==s.playerUri?(c={uri:s.playerUri},t[4]=s.playerUri,t[5]=c):c=t[5],t[6]!==o||t[7]!==i||t[8]!==c?(d=(0,jt.jsx)(hf,{style:l,children:(0,jt.jsx)(mf.WebView,{javaScriptEnabled:!0,onShouldStartLoadWithRequest:i,mediaPlaybackRequiresUserAction:!1,allowsInlineMediaPlayback:!0,bounces:!1,allowsFullscreenVideo:!0,nestedScrollEnabled:!0,source:c,onLoad:o,style:bf.webview,setSupportMultipleWindows:!1})}),t[6]=o,t[7]=i,t[8]=c,t[9]=d):d=t[9],d}const _f={code:”function ExternalPlayerTsx1(){const{measure,viewRef,windowDims,IS_NATIVE,insets,runOnJS,setPlayerActive}=this.__closure;const measurement=measure(viewRef);if(!measurement){return;}const{height:winHeight,width:winWidth}=windowDims;const realWinHeight=IS_NATIVE?winHeight>winWidth?winHeight:winWidth:winHeight;const top=measurement.pageY;const bot=measurement.pageY+measurement.height;const isVisible=top<=realWinHeight-insets.bottom&&bot>=insets.top;if(!isVisible){runOnJS(setPlayerActive)(false);}}”};function yf(e){const t=(0,a.c)(43),{link:s,params:o}=e,n=(0,to.useTheme)(),r=(0,Ks.useNavigation)(),l=(0,dt.useSafeAreaInsets)(),c=(0,En.default)(),d=(0,Ot.useExternalEmbedsPrefs)(),u=(0,so.useDialogControl)(),[m,h]=ct.useState(!1),[p,f]=ct.useState(!0),g=!!s.thumb;let x;t[0]!==o.type||t[1]!==g||t[2]!==c.width?(x=(0,of.getPlayerAspect)({type:o.type,width:c.width,hasThumb:g}),t[0]=o.type,t[1]=g,t[2]=c.width,t[3]=x):x=t[3];const _=x,y=(0,Cn.useAnimatedRef)(),b=(0,Cn.useFrameCallback)(function(){const e=function(){const e=(0,Cn.measure)(y);if(!e)return;const{height:t,width:s}=c,o=i.IS_NATIVE?t>s?t:s:t,n=e.pageY,a=e.pageY+e.height;n<=o-l.bottom&&a>=l.top||(0,Cn.runOnJS)(h)(!1)};return e.__closure={measure:Cn.measure,viewRef:y,windowDims:c,IS_NATIVE:i.IS_NATIVE,insets:l,runOnJS:Cn.runOnJS,setPlayerActive:h},e.__workletHash=0xfacfd30f8de,e.__initData=_f,e}(),!1);let j,v,S;t[4]!==b||t[5]!==m||t[6]!==r?(j=()=>{if(!m)return;const e=r.addListener(“blur”,(()=>{h(!1)}));return b.setActive(!0),()=>{e(),b.setActive(!1)}},v=[r,m,b],t[4]=b,t[5]=m,t[6]=r,t[7]=j,t[8]=v):(j=t[7],v=t[8]),ct.useEffect(j,v),t[9]===Symbol.for(“react.memo_cache_sentinel”)?(S=()=>{f(!1)},t[9]=S):S=t[9];const w=S;let T;t[10]!==u||t[11]!==d||t[12]!==o.source?(T=e=>{e.preventDefault(),void 0!==d?.[o.source]?h(!0):u.open()},t[10]=u,t[11]=d,t[12]=o.source,t[13]=T):T=t[13];const k=T;let C;t[14]===Symbol.for(“react.memo_cache_sentinel”)?(C=()=>{h(!0)},t[14]=C):C=t[14];const I=C;let A,P,E,L,R,D,B;return t[15]!==u||t[16]!==o.source?(A=(0,jt.jsx)(af,{control:u,source:o.source,onAccept:I}),t[15]=u,t[16]=o.source,t[17]=A):A=t[17],t[18]!==_?(P=[_,to.atoms.overflow_hidden],t[18]=_,t[19]=P):P=t[19],t[20]!==p||t[21]!==m||t[22]!==s.thumb||t[23]!==n.atoms||t[24]!==n.name||t[25]!==n.palette?(E=!s.thumb||m&&!p?(0,jt.jsx)(rf.Fill,{style:[{backgroundColor:”light”===n.name?n.palette.contrast_975:”black”,opacity:.3}]}):(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(xn.Image,{style:[to.atoms.flex_1],source:{uri:s.thumb},accessibilityIgnoresInvertColors:!0,loading:”lazy”}),(0,jt.jsx)(rf.Fill,{style:[“light”===n.name?n.atoms.bg_contrast_975:n.atoms.bg,{opacity:.3}]})]}),t[20]=p,t[21]=m,t[22]=s.thumb,t[23]=n.atoms,t[24]=n.name,t[25]=n.palette,t[26]=E):E=t[26],t[27]!==p||t[28]!==m||t[29]!==k?(L=(0,jt.jsx)(gf,{isLoading:p,isPlayerActive:m,onPress:k}),t[27]=p,t[28]=m,t[29]=k,t[30]=L):L=t[30],t[31]!==m||t[32]!==o?(R=(0,jt.jsx)(xf,{isPlayerActive:m,params:o,onLoad:w}),t[31]=m,t[32]=o,t[33]=R):R=t[33],t[34]!==E||t[35]!==L||t[36]!==R||t[37]!==P||t[38]!==y?(D=(0,jt.jsxs)(Cn.default.View,{ref:y,collapsable:!1,style:P,children:[E,L,R]}),t[34]=E,t[35]=L,t[36]=R,t[37]=P,t[38]=y,t[39]=D):D=t[39],t[40]!==D||t[41]!==A?(B=(0,jt.jsxs)(jt.Fragment,{children:[A,D]}),t[40]=D,t[41]=A,t[42]=B):B=t[42],B}const bf=Ws.default.create({overlayContainer:{flex:1,justifyContent:”center”,alignItems:”center”},overlayLayer:{zIndex:2},playerLayer:{zIndex:3},webview:{backgroundColor:”transparent”},gifContainer:{width:”100%”,overflow:”hidden”}});class jf extends ct.PureComponent{videoPlayerRef=ct.createRef();isLoaded=!1;constructor(e){super(e)}componentDidUpdate(e){e.autoplay!==this.props.autoplay&&(this.props.autoplay?this.playAsync():this.pauseAsync())}static async prefetchAsync(e){}firePlayerStateChangeEvent=()=>{this.props.onPlayerStateChange?.({nativeEvent:{isPlaying:!this.videoPlayerRef.current?.paused,isLoaded:this.isLoaded}})};onLoad=()=>{this.isLoaded||(this.isLoaded=!0,this.firePlayerStateChangeEvent())};async playAsync(){this.videoPlayerRef.current?.play()}async pauseAsync(){this.videoPlayerRef.current?.pause()}async toggleAsync(){this.videoPlayerRef.current?.paused?await this.playAsync():await this.pauseAsync()}render(){return(0,jt.jsx)(“video”,{src:this.props.source,autoPlay:this.props.autoplay?”autoplay”:void 0,preload:this.props.autoplay?”auto”:void 0,playsInline:!0,loop:”loop”,muted:”muted”,style:Ws.default.flatten(this.props.style),onCanPlay:this.onLoad,onPlay:this.firePlayerStateChangeEvent,onPause:this.firePlayerStateChangeEvent,”aria-label”:this.props.accessibilityLabel,ref:this.videoPlayerRef})}}var vf=o(12062);function Sf(e){const t=(0,a.c)(24),{onPress:s,isPlaying:o,isLoading:n,altText:r}=e,{_:i}=(0,ut.useLingui)(),l=(0,to.useTheme)();let c,d,u,m,h,p,f,g,x;return t[0]!==i||t[1]!==o?(c=i(o?{id:”yXjVig”}:{id:”Xdj7Ao”}),t[0]=i,t[1]=o,t[2]=c):c=t[2],t[3]!==i?(d=i({id:”HBvxx5″}),t[3]=i,t[4]=d):d=t[4],t[5]===Symbol.for(“react.memo_cache_sentinel”)?(u=[to.atoms.absolute,to.atoms.align_center,to.atoms.justify_center,to.atoms.inset_0,{zIndex:2}],t[5]=u):u=t[5],t[6]!==n||t[7]!==o?(m=n?(0,jt.jsx)(Qs.default,{style:[to.atoms.align_center,to.atoms.justify_center],children:(0,jt.jsx)(Pn.default,{size:”large”,color:”white”})}):o?(0,jt.jsx)(jt.Fragment,{}):(0,jt.jsx)(df,{}),t[6]=n,t[7]=o,t[8]=m):m=t[8],t[9]!==s||t[10]!==c||t[11]!==d||t[12]!==m?(h=(0,jt.jsx)(po.Button,{label:c,accessibilityHint:d,style:u,onPress:s,children:m}),t[9]=s,t[10]=c,t[11]=d,t[12]=m,t[13]=h):h=t[13],t[14]!==o||t[15]!==l?(p=!o&&(0,jt.jsx)(rf.Fill,{style:[“light”===l.name?l.atoms.bg_contrast_975:l.atoms.bg,{opacity:.2,zIndex:1}]}),t[14]=o,t[15]=l,t[16]=p):p=t[16],t[17]===Symbol.for(“react.memo_cache_sentinel”)?(f=(0,jt.jsx)(Qs.default,{style:Tf.gifBadgeContainer,children:(0,jt.jsx)(_o.Text,{style:[{color:”white”},to.atoms.font_bold,to.atoms.text_xs],children:(0,jt.jsx)(ut.Trans,{id:”wRkP2d”})})}),t[17]=f):f=t[17],t[18]!==r?(g=r&&(0,jt.jsx)(wf,{text:r}),t[18]=r,t[19]=g):g=t[19],t[20]!==h||t[21]!==p||t[22]!==g?(x=(0,jt.jsxs)(jt.Fragment,{children:[h,p,f,g]}),t[20]=h,t[21]=p,t[22]=g,t[23]=x):x=t[23],x}function wf(e){const t=(0,a.c)(24),{text:s}=e,o=ir.usePromptControl(),{_:n}=(0,ut.useLingui)();let r,i,l,c,d,u,m,h,p,f,g;return t[0]!==n?(r=n({id:”bBlJ5F”}),t[0]=n,t[1]=r):r=t[1],t[2]===Symbol.for(“react.memo_cache_sentinel”)?(i=[{color:”white”},to.atoms.font_bold,to.atoms.text_xs],t[2]=i):i=t[2],t[3]===Symbol.for(“react.memo_cache_sentinel”)?(l=(0,jt.jsx)(_o.Text,{style:i,accessible:!1,children:(0,jt.jsx)(ut.Trans,{id:”u2HO/d”})}),t[3]=l):l=t[3],t[4]!==o.open||t[5]!==r?(c=(0,jt.jsx)(vf.default,{testID:”altTextButton”,accessibilityRole:”button”,accessibilityLabel:r,accessibilityHint:””,hitSlop:Wt.HITSLOP_20,onPress:o.open,style:Tf.altBadgeContainer,children:l}),t[4]=o.open,t[5]=r,t[6]=c):c=t[6],t[7]===Symbol.for(“react.memo_cache_sentinel”)?(d=(0,jt.jsx)(ir.TitleText,{children:(0,jt.jsx)(ut.Trans,{id:”TEAx2g”})}),t[7]=d):d=t[7],t[8]!==s?(u=(0,jt.jsxs)(ir.Content,{children:[d,(0,jt.jsx)(ir.DescriptionText,{selectable:!0,children:s})]}),t[8]=s,t[9]=u):u=t[9],t[10]!==o?(m=()=>o.close(),t[10]=o,t[11]=m):m=t[11],t[12]!==n?(h=n({id:”yz7wBu”}),t[12]=n,t[13]=h):h=t[13],t[14]!==m||t[15]!==h?(p=(0,jt.jsx)(ir.Actions,{children:(0,jt.jsx)(ir.Action,{onPress:m,cta:h,color:”secondary”})}),t[14]=m,t[15]=h,t[16]=p):p=t[16],t[17]!==o||t[18]!==u||t[19]!==p?(f=(0,jt.jsxs)(ir.Outer,{control:o,children:[u,p]}),t[17]=o,t[18]=u,t[19]=p,t[20]=f):f=t[20],t[21]!==f||t[22]!==c?(g=(0,jt.jsxs)(jt.Fragment,{children:[c,f]}),t[21]=f,t[22]=c,t[23]=g):g=t[23],g}const Tf=Ws.default.create({gifBadgeContainer:{backgroundColor:”rgba(0, 0, 0, 0.75)”,borderRadius:6,paddingHorizontal:4,paddingVertical:3,position:”absolute”,left:6,bottom:6,zIndex:2},altBadgeContainer:{backgroundColor:”rgba(0, 0, 0, 0.75)”,borderRadius:6,paddingHorizontal:4,paddingVertical:3,position:”absolute”,right:6,bottom:6,zIndex:2}});function kf(e){const t=(0,a.c)(42),{params:s,thumb:o,altText:n,isPreferredAltText:r,hideAlt:i,style:l}=e;let c;t[0]!==l?(c=void 0===l?{width:”100%”}:l,t[0]=l,t[1]=c):c=t[1];const d=c,u=(0,to.useTheme)(),{_:m}=(0,ut.useLingui)(),h=(0,Ot.useAutoplayDisabled)(),p=(0,ct.useRef)(null),f=!h;let g;t[2]!==f?(g={isPlaying:f,isLoaded:!1},t[2]=f,t[3]=g):g=t[3];const[x,_]=(0,ct.useState)(g);let y;t[4]===Symbol.for(“react.memo_cache_sentinel”)?(y=e=>{_(e.nativeEvent)},t[4]=y):y=t[4];const b=y;let j;t[5]===Symbol.for(“react.memo_cache_sentinel”)?(j=()=>{p.current?.toggleAsync()},t[5]=j):j=t[5];const v=j;let S,w,T,k,C,I=1;if(s.dimensions){const e=s.dimensions.width/s.dimensions.height;let o;t[6]!==e?(o=ru(e,.75,4),t[6]=e,t[7]=o):o=t[7],I=o}t[8]!==u.palette.black?(S={backgroundColor:u.palette.black},t[8]=u.palette.black,t[9]=S):S=t[9],t[10]!==I?(w={aspectRatio:I},t[10]=I,t[11]=w):w=t[11],t[12]!==d||t[13]!==S||t[14]!==w?(T=[to.atoms.rounded_md,to.atoms.overflow_hidden,S,w,d],t[12]=d,t[13]=S,t[14]=w,t[15]=T):T=t[15],t[16]===Symbol.for(“react.memo_cache_sentinel”)?(k=[to.atoms.absolute,{top:-2,bottom:-2,left:-2,right:-2}],C=(0,jt.jsx)(qm.MediaInsetBorder,{}),t[16]=k,t[17]=C):(k=t[16],C=t[17]);const A=!x.isLoaded,P=!i&&r?n:void 0;let E;t[18]!==x.isPlaying||t[19]!==A||t[20]!==P?(E=(0,jt.jsx)(Sf,{onPress:v,isPlaying:x.isPlaying,isLoading:A,altText:P}),t[18]=x.isPlaying,t[19]=A,t[20]=P,t[21]=E):E=t[21];const L=s.playerUri;let R;t[22]===Symbol.for(“react.memo_cache_sentinel”)?(R=[to.atoms.flex_1],t[22]=R):R=t[22];const D=!h;let B,O,M,F,N;return t[23]!==m?(B=m({id:”vJs+vu”}),t[23]=m,t[24]=B):B=t[24],t[25]!==n||t[26]!==s.playerUri||t[27]!==D||t[28]!==B||t[29]!==o?(O=(0,jt.jsx)(jf,{source:L,placeholderSource:o,style:R,autoplay:D,onPlayerStateChange:b,ref:p,accessibilityHint:B,accessibilityLabel:n}),t[25]=n,t[26]=s.playerUri,t[27]=D,t[28]=B,t[29]=o,t[30]=O):O=t[30],t[31]!==x.isPlaying||t[32]!==u.atoms||t[33]!==u.name?(M=!x.isPlaying&&(0,jt.jsx)(rf.Fill,{style:[“light”===u.name?u.atoms.bg_contrast_975:u.atoms.bg,{opacity:.3}]}),t[31]=x.isPlaying,t[32]=u.atoms,t[33]=u.name,t[34]=M):M=t[34],t[35]!==E||t[36]!==O||t[37]!==M?(F=(0,jt.jsxs)(Qs.default,{style:k,children:[C,E,O,M]}),t[35]=E,t[36]=O,t[37]=M,t[38]=F):F=t[38],t[39]!==F||t[40]!==T?(N=(0,jt.jsx)(Qs.default,{style:T,children:F}),t[39]=F,t[40]=T,t[41]=N):N=t[41],N}const Cf=e=>{const t=(0,a.c)(52),{link:s,onOpen:o,style:n,hideAlt:r}=e,{_:l}=(0,ut.useLingui)(),c=(0,to.useTheme)(),d=(0,sf.useHaptics)(),u=(0,Ot.useExternalEmbedsPrefs)(),m=s.uri;let h,p,f,g,x,_,y,b,j,v;if(t[0]!==l||t[1]!==u||t[2]!==r||t[3]!==s||t[4]!==o||t[5]!==d||t[6]!==n){b=Symbol.for(“react.early_return_sentinel”);{const e=(0,qt.toNiceDomain)(m);let a,c,j;g=s.thumb;{let e;t[15]!==s.uri?(e=(0,of.parseEmbedPlayerFromUrl)(s.uri),t[15]=s.uri,t[16]=e):e=t[16];const o=e;o&&”hide”!==u?.[o.source]?a=o:a=void 0}if(p=a,f=Boolean(g||p),t[17]!==o||t[18]!==d?(c=()=>{d(“Light”),o?.()},t[17]=o,t[18]=d,t[19]=c):c=t[19],x=c,t[20]!==s.uri||t[21]!==d?(j=()=>{s.uri&&i.IS_NATIVE&&(d(“Heavy”),(0,rl.shareUrl)(s.uri))},t[20]=s.uri,t[21]=d,t[22]=j):j=t[22],_=j,”tenor”!==p?.source)h=go.Link,y=s.title||l({id:”YBWMQi”,values:{niceUrl:e}});else{let e;t[23]!==s.description?(e=(0,tf.parseAltFromGIFDescription)(s.description),t[23]=s.description,t[24]=e):e=t[24];const o=e;let a,i;t[25]!==p||t[26]!==r||t[27]!==s.thumb||t[28]!==o.alt||t[29]!==o.isPreferred?(a=(0,jt.jsx)(kf,{params:p,thumb:s.thumb,altText:o.alt,isPreferredAltText:o.isPreferred,hideAlt:r}),t[25]=p,t[26]=r,t[27]=s.thumb,t[28]=o.alt,t[29]=o.isPreferred,t[30]=a):a=t[30],t[31]!==n||t[32]!==a?(i=(0,jt.jsx)(Qs.default,{style:n,children:a}),t[31]=n,t[32]=a,t[33]=i):i=t[33],b=i}}t[0]=l,t[1]=u,t[2]=r,t[3]=s,t[4]=o,t[5]=d,t[6]=n,t[7]=h,t[8]=p,t[9]=f,t[10]=g,t[11]=x,t[12]=_,t[13]=y,t[14]=b}else h=t[7],p=t[8],f=t[9],g=t[10],x=t[11],_=t[12],y=t[13],b=t[14];return b!==Symbol.for(“react.early_return_sentinel”)?b:(t[34]!==p||t[35]!==f||t[36]!==g||t[37]!==s||t[38]!==n||t[39]!==c.atoms.border_contrast_high||t[40]!==c.atoms.border_contrast_low||t[41]!==c.atoms.text_contrast_high||t[42]!==c.atoms.text_contrast_low||t[43]!==c.atoms.text_contrast_medium?(j=e=>{const{hovered:t}=e;return(0,jt.jsxs)(Qs.default,{style:[to.atoms.transition_color,to.atoms.flex_col,to.atoms.rounded_md,to.atoms.overflow_hidden,to.atoms.w_full,to.atoms.border,n,t?c.atoms.border_contrast_high:c.atoms.border_contrast_low],children:[g&&!p?(0,jt.jsx)(xn.Image,{style:[to.atoms.aspect_card],source:{uri:g},accessibilityIgnoresInvertColors:!0,loading:”lazy”}):void 0,p?.isGif?(0,jt.jsx)(uf,{link:s,params:p}):p?(0,jt.jsx)(yf,{link:s,params:p}):void 0,(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_1,to.atoms.pt_sm,{gap:3},f&&to.atoms.border_t,t?c.atoms.border_contrast_high:c.atoms.border_contrast_low],children:[(0,jt.jsxs)(Qs.default,{style:[{gap:3},to.atoms.pb_xs,to.atoms.px_md],children:[!p?.isGif&&!p?.dimensions&&(0,jt.jsx)(_o.Text,{emoji:!0,numberOfLines:3,style:[to.atoms.text_md,to.atoms.font_semi_bold,to.atoms.leading_snug],children:s.title||s.uri}),s.description?(0,jt.jsx)(_o.Text,{emoji:!0,numberOfLines:s.thumb?2:4,style:[to.atoms.text_sm,to.atoms.leading_snug],children:s.description}):void 0]}),(0,jt.jsxs)(Qs.default,{style:[to.atoms.px_md],children:[(0,jt.jsx)(Co,{}),(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_2xs,to.atoms.pb_sm,{paddingTop:6}],children:[(0,jt.jsx)(nf.Earth_Stroke2_Corner0_Rounded,{size:”xs”,style:[to.atoms.transition_color,t?c.atoms.text_contrast_medium:c.atoms.text_contrast_low]}),(0,jt.jsx)(_o.Text,{numberOfLines:1,style:[to.atoms.transition_color,to.atoms.text_xs,to.atoms.leading_snug,t?c.atoms.text_contrast_high:c.atoms.text_contrast_medium],children:(0,qt.toNiceDomain)(s.uri)})]})]})]})]})},t[34]=p,t[35]=f,t[36]=g,t[37]=s,t[38]=n,t[39]=c.atoms.border_contrast_high,t[40]=c.atoms.border_contrast_low,t[41]=c.atoms.text_contrast_high,t[42]=c.atoms.text_contrast_low,t[43]=c.atoms.text_contrast_medium,t[44]=j):j=t[44],t[45]!==h||t[46]!==s.uri||t[47]!==x||t[48]!==_||t[49]!==y||t[50]!==j?(v=(0,jt.jsx)(h,{label:y,to:s.uri,shouldProxy:!0,onPress:x,onLongPress:_,children:j}),t[45]=h,t[46]=s.uri,t[47]=x,t[48]=_,t[49]=y,t[50]=j,t[51]=v):v=t[51],v)};function If(e){const t=(0,a.c)(15),{embed:s}=e,o=(0,to.useTheme)();let n,r,i,l,c;return t[0]!==o.atoms.border_contrast_low?(n=[to.atoms.border,o.atoms.border_contrast_low,to.atoms.p_sm,to.atoms.rounded_md],t[0]=o.atoms.border_contrast_low,t[1]=n):n=t[1],t[2]!==s.view.avatar?(r=(0,jt.jsx)(Rr,{src:s.view.avatar,size:48}),t[2]=s.view.avatar,t[3]=r):r=t[3],t[4]!==s.view.creator||t[5]!==s.view.displayName||t[6]!==s.view.uri?(i=(0,jt.jsx)(Br,{title:s.view.displayName,creator:s.view.creator,uri:s.view.uri}),t[4]=s.view.creator,t[5]=s.view.displayName,t[6]=s.view.uri,t[7]=i):i=t[7],t[8]!==r||t[9]!==i?(l=(0,jt.jsx)(Er,{children:(0,jt.jsxs)(Lr,{children:[r,i]})}),t[8]=r,t[9]=i,t[10]=l):l=t[10],t[11]!==s.view||t[12]!==n||t[13]!==l?(c=(0,jt.jsx)(Pr,{view:s.view,style:n,children:l}),t[11]=s.view,t[12]=n,t[13]=l,t[14]=c):c=t[14],c}function Af({embed:e}){const t=(0,bs.useModerationOpts)(),s=(0,ct.useMemo)((()=>t?(0,On.moderateFeedGenerator)(e.view,t):void 0),[e.view,t]);return(0,jt.jsx)(zp,{modui:s?.ui(“contentList”),childContainerStyle:[to.atoms.pt_xs],children:(0,jt.jsx)(If,{embed:e})})}var Pf=o(55125),Ef=o(7209);const Lf=(0,na.createSinglePathSVG)({path:”M14 5a1 1 0 1 1 0-2h6a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0V6.414l-4.293 4.293a1 1 0 0 1-1.414-1.414L17.586 5H14ZM4 13a1 1 0 0 1 1 1v3.586l4.293-4.293a1 1 0 0 1 1.414 1.414L6.414 19H10a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1Z”}),Rf=(0,na.createSinglePathSVG)({path:”M20.957 3.043a1 1 0 0 1 0 1.414L16.414 9H20a1 1 0 1 1 0 2h-6a1 1 0 0 1-1-1V4a1 1 0 1 1 2 0v3.586l4.543-4.543a1 1 0 0 1 1.414 0ZM3 14a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0v-3.586l-4.543 4.543a1 1 0 0 1-1.414-1.414L7.586 15H4a1 1 0 0 1-1-1Z”});(0,na.createSinglePathSVG)({path:”M13 4a1 1 0 0 1 1-1h5a2 2 0 0 1 2 2v5a1 1 0 1 1-2 0V6.414l-4.293 4.293a1 1 0 0 1-1.414-1.414L17.586 5H14a1 1 0 0 1-1-1Zm-9 9a1 1 0 0 1 1 1v3.586l4.293-4.293a1 1 0 0 1 1.414 1.414L6.414 19H10a1 1 0 1 1 0 2H5a2 2 0 0 1-2-2v-5a1 1 0 0 1 1-1Z”}),(0,na.createSinglePathSVG)({path:”M20.957 3.043a1 1 0 0 1 0 1.414L16.414 9H20a1 1 0 1 1 0 2h-5a2 2 0 0 1-2-2V4a1 1 0 1 1 2 0v3.586l4.543-4.543a1 1 0 0 1 1.414 0ZM3 14a1 1 0 0 1 1-1h5a2 2 0 0 1 2 2v5a1 1 0 1 1-2 0v-3.586l-4.543 4.543a1 1 0 0 1-1.414-1.414L7.586 15H4a1 1 0 0 1-1-1Z”});function Df(e){const t=(0,a.c)(16),{aspectRatio:s,fullBleed:o,children:n,minMobileAspectRatio:r}=e,l=(0,to.useTheme)(),c=100*(i.IS_NATIVE?Math.min(1/s,r??1.7777777777777777):Math.min(1/s,1))+”%”;let d,u,m,h,p,f,g;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(d=[to.atoms.w_full],t[0]=d):d=t[0],t[1]!==c?(u=[to.atoms.overflow_hidden,{paddingTop:c}],t[1]=c,t[2]=u):u=t[2],t[3]===Symbol.for(“react.memo_cache_sentinel”)?(m=[to.atoms.absolute,to.atoms.inset_0,to.atoms.flex_row],t[3]=m):m=t[3],t[4]!==s||t[5]!==o?(h=o?to.atoms.w_full:{aspectRatio:s},t[4]=s,t[5]=o,t[6]=h):h=t[6],t[7]!==l.atoms.bg_contrast_25||t[8]!==h?(p=[to.atoms.h_full,to.atoms.rounded_md,to.atoms.overflow_hidden,l.atoms.bg_contrast_25,h],t[7]=l.atoms.bg_contrast_25,t[8]=h,t[9]=p):p=t[9],t[10]!==n||t[11]!==p?(f=(0,jt.jsx)(Qs.default,{style:m,children:(0,jt.jsx)(Qs.default,{style:p,children:n})}),t[10]=n,t[11]=p,t[12]=f):f=t[12],t[13]!==u||t[14]!==f?(g=(0,jt.jsx)(Qs.default,{style:d,children:(0,jt.jsx)(Qs.default,{style:u,children:f})}),t[13]=u,t[14]=f,t[15]=g):g=t[15],g}function Bf(e){const t=(0,a.c)(66),{image:s,crop:o,hideBadge:n,onPress:r,onLongPress:i,onPressIn:l}=e,c=void 0===o?”constrained”:o,d=(0,to.useTheme)(),{_:u}=(0,ut.useLingui)(),m=(0,Ef.useLargeAltBadgeEnabled)(),h=(0,Cn.useAnimatedRef)(),p=(0,ct.useRef)(null);let f;const g=s.aspectRatio;let x,_,y;g&&(f=g.width/g.height,Number.isNaN(f)&&(f=void 0)),void 0!==f&&(x=Math.max(f,.5),_=Math.max(f,.25),y=f{v||(p.current={width:e.source.width,height:e.source.height})},t[2]=v,t[3]=C):C=t[3],t[4]!==s.alt||t[5]!==s.thumb||t[6]!==T||t[7]!==C?(I=(0,jt.jsx)(xn.Image,{contentFit:T,style:k,source:s.thumb,accessible:!0,accessibilityIgnoresInvertColors:!0,accessibilityLabel:s.alt,accessibilityHint:””,onLoad:C,loading:”lazy”}),t[4]=s.alt,t[5]=s.thumb,t[6]=T,t[7]=C,t[8]=I):I=t[8],t[9]===Symbol.for(“react.memo_cache_sentinel”)?(A=(0,jt.jsx)(qm.MediaInsetBorder,{}),t[9]=A):A=t[9],t[10]!==S||t[11]!==n||t[12]!==j||t[13]!==m||t[14]!==d.atoms.bg_contrast_25||t[15]!==d.atoms.text_contrast_high?(P=!S&&!j||n?null:(0,jt.jsxs)(Qs.default,{accessible:!1,style:[to.atoms.absolute,to.atoms.flex_row,{bottom:to.atoms.p_xs.padding,right:to.atoms.p_xs.padding,gap:3},m&&[{gap:4}]],children:[j&&(0,jt.jsx)(Qs.default,{style:[to.atoms.rounded_xs,d.atoms.bg_contrast_25,{padding:3,opacity:.8},m&&[{padding:5}]],children:(0,jt.jsx)(Lf,{fill:d.atoms.text_contrast_high.color,width:m?18:12})}),S&&(0,jt.jsx)(Qs.default,{style:[to.atoms.justify_center,to.atoms.rounded_xs,d.atoms.bg_contrast_25,{padding:3,opacity:.8},m&&[{padding:5}]],children:(0,jt.jsx)(_o.Text,{style:[to.atoms.font_bold,m?to.atoms.text_xs:{fontSize:8}],children:”ALT”})})]}),t[10]=S,t[11]=n,t[12]=j,t[13]=m,t[14]=d.atoms.bg_contrast_25,t[15]=d.atoms.text_contrast_high,t[16]=P):P=t[16],t[17]!==h||t[18]!==I||t[19]!==P?(E=(0,jt.jsxs)(Cn.default.View,{ref:h,collapsable:!1,style:w,children:[I,A,P]}),t[17]=h,t[18]=I,t[19]=P,t[20]=E):E=t[20];const L=E;if(b){let e;t[21]!==h||t[22]!==r?(e=()=>r?.(h,p.current),t[21]=h,t[22]=r,t[23]=e):e=t[23];const o=s.alt;let n,a,c;t[24]!==u?(n=u({id:”p117IV”}),t[24]=u,t[25]=n):n=t[25],t[26]!==d.atoms.bg.backgroundColor?(a=uc.utils.alpha(d.atoms.bg.backgroundColor,.2),t[26]=d.atoms.bg.backgroundColor,t[27]=a):a=t[27],t[28]!==a?(c={color:a,foreground:!0},t[28]=a,t[29]=c):c=t[29];const m=_??1;let f,g,x;return t[30]!==m?(f={aspectRatio:m},t[30]=m,t[31]=f):f=t[31],t[32]!==d.atoms.bg_contrast_25||t[33]!==f?(g=[to.atoms.w_full,to.atoms.rounded_md,to.atoms.overflow_hidden,d.atoms.bg_contrast_25,f],t[32]=d.atoms.bg_contrast_25,t[33]=f,t[34]=g):g=t[34],t[35]!==L||t[36]!==s.alt||t[37]!==i||t[38]!==l||t[39]!==e||t[40]!==n||t[41]!==c||t[42]!==g?(x=(0,jt.jsx)(gn.default,{onPress:e,onLongPress:i,onPressIn:l,accessibilityLabel:o,accessibilityHint:n,accessibilityRole:”button”,android_ripple:c,style:g,children:L}),t[35]=L,t[36]=s.alt,t[37]=i,t[38]=l,t[39]=e,t[40]=n,t[41]=c,t[42]=g,t[43]=x):x=t[43],x}{const e=”square”===c,o=x??1;let n;t[44]!==h||t[45]!==r?(n=()=>r?.(h,p.current),t[44]=h,t[45]=r,t[46]=n):n=t[46];const a=s.alt;let m,f,g,_,y,b;return t[47]!==u?(m=u({id:”p117IV”}),t[47]=u,t[48]=m):m=t[48],t[49]!==d.atoms.bg.backgroundColor?(f=uc.utils.alpha(d.atoms.bg.backgroundColor,.2),t[49]=d.atoms.bg.backgroundColor,t[50]=f):f=t[50],t[51]!==f?(g={color:f,foreground:!0},t[51]=f,t[52]=g):g=t[52],t[53]===Symbol.for(“react.memo_cache_sentinel”)?(_=[to.atoms.h_full],t[53]=_):_=t[53],t[54]!==L||t[55]!==s.alt||t[56]!==i||t[57]!==l||t[58]!==n||t[59]!==m||t[60]!==g?(y=(0,jt.jsx)(gn.default,{onPress:n,onLongPress:i,onPressIn:l,accessibilityLabel:a,accessibilityHint:m,accessibilityRole:”button”,android_ripple:g,style:_,children:L}),t[54]=L,t[55]=s.alt,t[56]=i,t[57]=l,t[58]=n,t[59]=m,t[60]=g,t[61]=y):y=t[61],t[62]!==e||t[63]!==o||t[64]!==y?(b=(0,jt.jsx)(Df,{fullBleed:e,aspectRatio:o,children:y}),t[62]=e,t[63]=o,t[64]=y,t[65]=b):b=t[65],b}}let Of=function(e){return e.ThreadHighlighted=”ThreadHighlighted”,e.Feed=”Feed”,e.FeedEmbedRecordWithMedia=”FeedEmbedRecordWithMedia”,e}({}),Mf=function(e){return e.FeedEmbedRecordWithMedia=”FeedEmbedRecordWithMedia”,e}({});function Ff(e){const t=(0,a.c)(51),{images:s,index:o,imageStyle:n,onPress:r,onPressIn:i,onLongPress:l,viewContext:c,insetBorderStyle:d,containerRefs:u,thumbDimsRef:m}=e,h=(0,to.useTheme)(),{_:p}=(0,ut.useLingui)(),f=(0,Ef.useLargeAltBadgeEnabled)(),g=s[o],x=!!g.alt,_=c===Of.FeedEmbedRecordWithMedia,y=u[o];let b,j,v,S,w,T,k,C,I,A,P,E,L,R,D;return t[0]!==u||t[1]!==o||t[2]!==r||t[3]!==m?(b=r?()=>r(o,u,m.current.slice()):void 0,t[0]=u,t[1]=o,t[2]=r,t[3]=m,t[4]=b):b=t[4],t[5]!==o||t[6]!==i?(j=i?()=>i(o):void 0,t[5]=o,t[6]=i,t[7]=j):j=t[7],t[8]!==o||t[9]!==l?(v=l?()=>l(o):void 0,t[8]=o,t[9]=l,t[10]=v):v=t[10],t[11]!==h.atoms.bg.backgroundColor?(S=uc.utils.alpha(h.atoms.bg.backgroundColor,.2),t[11]=h.atoms.bg.backgroundColor,t[12]=S):S=t[12],t[13]!==S?(w={color:S,foreground:!0},t[13]=S,t[14]=w):w=t[14],t[15]!==n||t[16]!==h.atoms.bg_contrast_25?(T=[to.atoms.flex_1,to.atoms.overflow_hidden,h.atoms.bg_contrast_25,n],t[15]=n,t[16]=h.atoms.bg_contrast_25,t[17]=T):T=t[17],t[18]!==p||t[19]!==g.alt?(k=g.alt||p({id:”hG89Ed”}),t[18]=p,t[19]=g.alt,t[20]=k):k=t[20],t[21]!==g.thumb?(C={uri:g.thumb},t[21]=g.thumb,t[22]=C):C=t[22],t[23]===Symbol.for(“react.memo_cache_sentinel”)?(I=[to.atoms.flex_1],t[23]=I):I=t[23],t[24]!==o||t[25]!==m?(A=e=>{m.current[o]={width:e.source.width,height:e.source.height}},t[24]=o,t[25]=m,t[26]=A):A=t[26],t[27]!==g.alt||t[28]!==A||t[29]!==C?(P=(0,jt.jsx)(xn.Image,{source:C,style:I,accessible:!0,accessibilityLabel:g.alt,accessibilityHint:””,accessibilityIgnoresInvertColors:!0,onLoad:A,loading:”lazy”}),t[27]=g.alt,t[28]=A,t[29]=C,t[30]=P):P=t[30],t[31]!==d?(E=(0,jt.jsx)(qm.MediaInsetBorder,{style:d}),t[31]=d,t[32]=E):E=t[32],t[33]!==P||t[34]!==E||t[35]!==b||t[36]!==j||t[37]!==v||t[38]!==w||t[39]!==T||t[40]!==k?(L=(0,jt.jsxs)(gn.default,{onPress:b,onPressIn:j,onLongPress:v,android_ripple:w,style:T,accessibilityRole:”button”,accessibilityLabel:k,accessibilityHint:””,children:[P,E]}),t[33]=P,t[34]=E,t[35]=b,t[36]=j,t[37]=v,t[38]=w,t[39]=T,t[40]=k,t[41]=L):L=t[41],t[42]!==x||t[43]!==_||t[44]!==f||t[45]!==h.atoms.bg_contrast_25?(R=x&&!_?(0,jt.jsx)(Qs.default,{accessible:!1,style:[to.atoms.absolute,to.atoms.flex_row,to.atoms.align_center,to.atoms.rounded_xs,h.atoms.bg_contrast_25,{gap:3,padding:3,bottom:to.atoms.p_xs.padding,right:to.atoms.p_xs.padding,opacity:.8},f&&[{gap:4,padding:5}]],children:(0,jt.jsx)(_o.Text,{style:[to.atoms.font_bold,f?to.atoms.text_xs:{fontSize:8}],children:”ALT”})}):null,t[42]=x,t[43]=_,t[44]=f,t[45]=h.atoms.bg_contrast_25,t[46]=R):R=t[46],t[47]!==y||t[48]!==L||t[49]!==R?(D=(0,jt.jsxs)(Qs.default,{style:to.atoms.flex_1,ref:y,collapsable:!1,children:[L,R]}),t[47]=y,t[48]=L,t[49]=R,t[50]=D):D=t[50],D}const Nf=[“style”];function Hf(e){const t=(0,a.c)(14);let s,o;if(t[0]!==e){var n=e;({style:o}=n),s=(0,la.default)(n,Nf),t[0]=e,t[1]=s,t[2]=o}else s=t[1],o=t[2];const{gtMobile:r}=(0,to.useBreakpoints)(),i=s.viewContext===Of.FeedEmbedRecordWithMedia?r?to.atoms.gap_xs:to.atoms.gap_2xs:to.atoms.gap_xs;let l,c,d,u;return t[3]!==i?(l=[i,to.atoms.rounded_md,to.atoms.overflow_hidden],t[3]=i,t[4]=l):l=t[4],t[5]!==i||t[6]!==s?(c=(0,jt.jsx)(Vf,Object.assign({},s,{gap:i})),t[5]=i,t[6]=s,t[7]=c):c=t[7],t[8]!==l||t[9]!==c?(d=(0,jt.jsx)(Qs.default,{style:l,children:c}),t[8]=l,t[9]=c,t[10]=d):d=t[10],t[11]!==o||t[12]!==d?(u=(0,jt.jsx)(Qs.default,{style:o,children:d}),t[11]=o,t[12]=d,t[13]=u):u=t[13],u}function Vf(e){const t=(0,a.c)(100),s=e.gap,o=e.images.length,n=(0,Cn.useAnimatedRef)(),r=(0,Cn.useAnimatedRef)(),i=(0,Cn.useAnimatedRef)(),l=(0,Cn.useAnimatedRef)();let c;t[0]===Symbol.for(“react.memo_cache_sentinel”)?(c=[],t[0]=c):c=t[0];const d=(0,ct.useRef)(c);switch(o){case 2:{let o;t[1]!==n||t[2]!==r?(o=[n,r],t[1]=n,t[2]=r,t[3]=o):o=t[3];const a=o;let i,l,c,u,m,h,p,f;return t[4]!==s?(i=[to.atoms.flex_1,to.atoms.flex_row,s],t[4]=s,t[5]=i):i=t[5],t[6]===Symbol.for(“react.memo_cache_sentinel”)?(l=[to.atoms.flex_1,to.atoms.aspect_square],t[6]=l):l=t[6],t[7]===Symbol.for(“react.memo_cache_sentinel”)?(c=zf([“topRight”,”bottomRight”]),t[7]=c):c=t[7],t[8]!==a||t[9]!==e||t[10]!==c?(u=(0,jt.jsx)(Qs.default,{style:l,children:(0,jt.jsx)(Ff,Object.assign({},e,{index:0,insetBorderStyle:c,containerRefs:a,thumbDimsRef:d}))}),t[8]=a,t[9]=e,t[10]=c,t[11]=u):u=t[11],t[12]===Symbol.for(“react.memo_cache_sentinel”)?(m=[to.atoms.flex_1,to.atoms.aspect_square],t[12]=m):m=t[12],t[13]===Symbol.for(“react.memo_cache_sentinel”)?(h=zf([“topLeft”,”bottomLeft”]),t[13]=h):h=t[13],t[14]!==a||t[15]!==e||t[16]!==h?(p=(0,jt.jsx)(Qs.default,{style:m,children:(0,jt.jsx)(Ff,Object.assign({},e,{index:1,insetBorderStyle:h,containerRefs:a,thumbDimsRef:d}))}),t[14]=a,t[15]=e,t[16]=h,t[17]=p):p=t[17],t[18]!==i||t[19]!==u||t[20]!==p?(f=(0,jt.jsxs)(Qs.default,{style:i,children:[u,p]}),t[18]=i,t[19]=u,t[20]=p,t[21]=f):f=t[21],f}case 3:{let o;t[22]!==n||t[23]!==r||t[24]!==i?(o=[n,r,i],t[22]=n,t[23]=r,t[24]=i,t[25]=o):o=t[25];const a=o;let l,c,u,m,h,p,f,g,x,_,y,b,j;return t[26]!==s?(l=[to.atoms.flex_1,to.atoms.flex_row,s],t[26]=s,t[27]=l):l=t[27],t[28]===Symbol.for(“react.memo_cache_sentinel”)?(c=[to.atoms.flex_1,to.atoms.aspect_square],t[28]=c):c=t[28],t[29]===Symbol.for(“react.memo_cache_sentinel”)?(u=zf([“topRight”,”bottomRight”]),t[29]=u):u=t[29],t[30]!==a||t[31]!==e||t[32]!==u?(m=(0,jt.jsx)(Qs.default,{style:c,children:(0,jt.jsx)(Ff,Object.assign({},e,{index:0,insetBorderStyle:u,containerRefs:a,thumbDimsRef:d}))}),t[30]=a,t[31]=e,t[32]=u,t[33]=m):m=t[33],t[34]!==s?(h=[to.atoms.flex_1,to.atoms.aspect_square,s],t[34]=s,t[35]=h):h=t[35],t[36]===Symbol.for(“react.memo_cache_sentinel”)?(p=[to.atoms.flex_1],t[36]=p):p=t[36],t[37]===Symbol.for(“react.memo_cache_sentinel”)?(f=zf([“topLeft”,”bottomLeft”,”bottomRight”]),t[37]=f):f=t[37],t[38]!==a||t[39]!==e||t[40]!==f?(g=(0,jt.jsx)(Qs.default,{style:p,children:(0,jt.jsx)(Ff,Object.assign({},e,{index:1,insetBorderStyle:f,containerRefs:a,thumbDimsRef:d}))}),t[38]=a,t[39]=e,t[40]=f,t[41]=g):g=t[41],t[42]===Symbol.for(“react.memo_cache_sentinel”)?(x=[to.atoms.flex_1],t[42]=x):x=t[42],t[43]===Symbol.for(“react.memo_cache_sentinel”)?(_=zf([“topLeft”,”bottomLeft”,”topRight”]),t[43]=_):_=t[43],t[44]!==a||t[45]!==e||t[46]!==_?(y=(0,jt.jsx)(Qs.default,{style:x,children:(0,jt.jsx)(Ff,Object.assign({},e,{index:2,insetBorderStyle:_,containerRefs:a,thumbDimsRef:d}))}),t[44]=a,t[45]=e,t[46]=_,t[47]=y):y=t[47],t[48]!==y||t[49]!==h||t[50]!==g?(b=(0,jt.jsxs)(Qs.default,{style:h,children:[g,y]}),t[48]=y,t[49]=h,t[50]=g,t[51]=b):b=t[51],t[52]!==b||t[53]!==l||t[54]!==m?(j=(0,jt.jsxs)(Qs.default,{style:l,children:[m,b]}),t[52]=b,t[53]=l,t[54]=m,t[55]=j):j=t[55],j}case 4:{let o;t[56]!==n||t[57]!==r||t[58]!==i||t[59]!==l?(o=[n,r,i,l],t[56]=n,t[57]=r,t[58]=i,t[59]=l,t[60]=o):o=t[60];const a=o;let c,u,m,h,p,f,g,x,_,y,b,j,v,S,w,T,k;return t[61]!==s?(c=[to.atoms.flex_row,s],t[61]=s,t[62]=c):c=t[62],t[63]===Symbol.for(“react.memo_cache_sentinel”)?(u=[to.atoms.flex_1,{aspectRatio:1.5}],t[63]=u):u=t[63],t[64]===Symbol.for(“react.memo_cache_sentinel”)?(m=zf([“bottomLeft”,”topRight”,”bottomRight”]),t[64]=m):m=t[64],t[65]!==a||t[66]!==e||t[67]!==m?(h=(0,jt.jsx)(Qs.default,{style:u,children:(0,jt.jsx)(Ff,Object.assign({},e,{index:0,insetBorderStyle:m,containerRefs:a,thumbDimsRef:d}))}),t[65]=a,t[66]=e,t[67]=m,t[68]=h):h=t[68],t[69]===Symbol.for(“react.memo_cache_sentinel”)?(p=[to.atoms.flex_1,{aspectRatio:1.5}],t[69]=p):p=t[69],t[70]===Symbol.for(“react.memo_cache_sentinel”)?(f=zf([“topLeft”,”bottomLeft”,”bottomRight”]),t[70]=f):f=t[70],t[71]!==a||t[72]!==e||t[73]!==f?(g=(0,jt.jsx)(Qs.default,{style:p,children:(0,jt.jsx)(Ff,Object.assign({},e,{index:1,insetBorderStyle:f,containerRefs:a,thumbDimsRef:d}))}),t[71]=a,t[72]=e,t[73]=f,t[74]=g):g=t[74],t[75]!==c||t[76]!==h||t[77]!==g?(x=(0,jt.jsxs)(Qs.default,{style:c,children:[h,g]}),t[75]=c,t[76]=h,t[77]=g,t[78]=x):x=t[78],t[79]!==s?(_=[to.atoms.flex_row,s],t[79]=s,t[80]=_):_=t[80],t[81]===Symbol.for(“react.memo_cache_sentinel”)?(y=[to.atoms.flex_1,{aspectRatio:1.5}],t[81]=y):y=t[81],t[82]===Symbol.for(“react.memo_cache_sentinel”)?(b=zf([“topLeft”,”topRight”,”bottomRight”]),t[82]=b):b=t[82],t[83]!==a||t[84]!==e||t[85]!==b?(j=(0,jt.jsx)(Qs.default,{style:y,children:(0,jt.jsx)(Ff,Object.assign({},e,{index:2,insetBorderStyle:b,containerRefs:a,thumbDimsRef:d}))}),t[83]=a,t[84]=e,t[85]=b,t[86]=j):j=t[86],t[87]===Symbol.for(“react.memo_cache_sentinel”)?(v=[to.atoms.flex_1,{aspectRatio:1.5}],t[87]=v):v=t[87],t[88]===Symbol.for(“react.memo_cache_sentinel”)?(S=zf([“topLeft”,”bottomLeft”,”topRight”]),t[88]=S):S=t[88],t[89]!==a||t[90]!==e||t[91]!==S?(w=(0,jt.jsx)(Qs.default,{style:v,children:(0,jt.jsx)(Ff,Object.assign({},e,{index:3,insetBorderStyle:S,containerRefs:a,thumbDimsRef:d}))}),t[89]=a,t[90]=e,t[91]=S,t[92]=w):w=t[92],t[93]!==_||t[94]!==j||t[95]!==w?(T=(0,jt.jsxs)(Qs.default,{style:_,children:[j,w]}),t[93]=_,t[94]=j,t[95]=w,t[96]=T):T=t[96],t[97]!==T||t[98]!==x?(k=(0,jt.jsxs)(jt.Fragment,{children:[x,T]}),t[97]=T,t[98]=x,t[99]=k):k=t[99],k}default:return null}}function zf(e){const t=[];return e.includes(“topLeft”)&&t.push({borderTopLeftRadius:0}),e.includes(“topRight”)&&t.push({borderTopRightRadius:0}),e.includes(“bottomLeft”)&&t.push({borderBottomLeftRadius:0}),e.includes(“bottomRight”)&&t.push({borderBottomRightRadius:0}),t}const Uf=[“embed”],Gf={code:”function ImageEmbedTsx1(){const{refs,measure,runOnJS,_openLightbox,index_0,fetchedDims_0}=this.__closure;const rects=[];for(const r of refs){rects.push(measure(r));}runOnJS(_openLightbox)(index_0,rects,fetchedDims_0);}”};function Wf(e){const t=(0,a.c)(35);let s,o;if(t[0]!==e){var n=e;({embed:s}=n),o=(0,la.default)(n,Uf),t[0]=e,t[1]=s,t[2]=o}else s=t[1],o=t[2];const{openLightbox:r}=(0,ls.useLightboxControls)(),{images:i}=s.view;if(i.length>0){let e;t[3]!==i?(e=i.map(Qf),t[3]=i,t[4]=e):e=t[4];const s=e;let n;if(t[5]!==s||t[6]!==r){const e=(e,t,o)=>{r({images:s.map(((e,s)=>Object.assign({},e,{thumbRect:t[s]??null,thumbDimensions:o[s]??null,type:”image”}))),index:e})};n=(t,s,o)=>{(0,Cn.runOnUI)(function(){const n=function(){const n=[];for(const e of s)n.push((0,Cn.measure)(e));(0,Cn.runOnJS)(e)(t,n,o)};return n.__closure={refs:s,measure:Cn.measure,runOnJS:Cn.runOnJS,_openLightbox:e,index_0:t,fetchedDims_0:o},n.__workletHash=0xeeb9b57d86,n.__initData=Gf,n}())()},t[5]=s,t[6]=r,t[7]=n}else n=t[7];const a=n;let l;t[8]!==s?(l=e=>{Pf.default.runAfterInteractions((()=>{xn.Image.prefetch(s.map(qf),”memory”)}))},t[8]=s,t[9]=l):l=t[9];const c=l;if(1===i.length){const e=i[0];let s;t[10]!==o.style?(s=[to.atoms.mt_sm,o.style],t[10]=o.style,t[11]=s):s=t[11];const n=o.viewContext===Of.ThreadHighlighted?”none”:o.viewContext===Of.FeedEmbedRecordWithMedia?”square”:”constrained”;let r,l;t[12]!==a?(r=(e,t)=>a(0,[e],[t]),t[12]=a,t[13]=r):r=t[13],t[14]!==c?(l=()=>c(0),t[14]=c,t[15]=l):l=t[15];const d=o.viewContext===Of.FeedEmbedRecordWithMedia;let u,m;return t[16]!==e||t[17]!==n||t[18]!==r||t[19]!==l||t[20]!==d?(u=(0,jt.jsx)(Bf,{crop:n,image:e,onPress:r,onPressIn:l,hideBadge:d}),t[16]=e,t[17]=n,t[18]=r,t[19]=l,t[20]=d,t[21]=u):u=t[21],t[22]!==s||t[23]!==u?(m=(0,jt.jsx)(Qs.default,{style:s,children:u}),t[22]=s,t[23]=u,t[24]=m):m=t[24],m}let d,u,m;return t[25]!==o.style?(d=[to.atoms.mt_sm,o.style],t[25]=o.style,t[26]=d):d=t[26],t[27]!==i||t[28]!==a||t[29]!==c||t[30]!==o.viewContext?(u=(0,jt.jsx)(Hf,{images:i,onPress:a,onPressIn:c,viewContext:o.viewContext}),t[27]=i,t[28]=a,t[29]=c,t[30]=o.viewContext,t[31]=u):u=t[31],t[32]!==d||t[33]!==u?(m=(0,jt.jsx)(Qs.default,{style:d,children:u}),t[32]=d,t[33]=u,t[34]=m):m=t[34],m}}function qf(e){return e.uri}function Qf(e){return{uri:e.fullsize,thumbUri:e.thumb,alt:e.alt,dimensions:e.aspectRatio??null}}function Kf(e){const t=(0,a.c)(5),{embed:s}=e,o=(0,to.useTheme)();let n,r;return t[0]!==o.atoms.border_contrast_low?(n=[to.atoms.border,o.atoms.border_contrast_low,to.atoms.p_md,to.atoms.rounded_sm],t[0]=o.atoms.border_contrast_low,t[1]=n):n=t[1],t[2]!==s.view||t[3]!==n?(r=(0,jt.jsx)(Xr,{view:s.view,style:n}),t[2]=s.view,t[3]=n,t[4]=r):r=t[4],r}function Zf({embed:e}){const t=(0,bs.useModerationOpts)(),s=(0,ct.useMemo)((()=>t?(0,On.moderateUserList)(e.view,t):void 0),[e.view,t]);return(0,jt.jsx)(zp,{modui:s?.ui(“contentList”),childContainerStyle:[to.atoms.pt_xs],children:(0,jt.jsx)(Kf,{embed:e})})}function Yf(e){const t=(0,a.c)(11),{children:s}=e,o=(0,to.useTheme)(),n=(0,In.usePalette)(“default”);let r,i,l,c;return t[0]!==o.atoms.border_contrast_low?(r=[$f.errorContainer,to.atoms.border,o.atoms.border_contrast_low],t[0]=o.atoms.border_contrast_low,t[1]=r):r=t[1],t[2]!==n.text?(i=(0,jt.jsx)(Tp,{size:18,style:n.text}),t[2]=n.text,t[3]=i):i=t[3],t[4]!==s||t[5]!==n.text?(l=(0,jt.jsx)(di.Text,{type:”lg”,style:n.text,children:s}),t[4]=s,t[5]=n.text,t[6]=l):l=t[6],t[7]!==r||t[8]!==i||t[9]!==l?(c=(0,jt.jsxs)(Qs.default,{style:r,children:[i,l]}),t[7]=r,t[8]=i,t[9]=l,t[10]=c):c=t[10],c}const $f=Ws.default.create({errorContainer:{flexDirection:”row”,alignItems:”center”,gap:4,borderRadius:8,marginTop:8,paddingVertical:14,paddingHorizontal:14,borderWidth:Ws.default.hairlineWidth}}),Xf=ct.createContext(!1);function Jf(e){const t=(0,a.c)(2),{children:s}=e;let o;return t[0]!==s?(o=(0,jt.jsx)(Xf.Provider,{value:!0,children:s}),t[0]=s,t[1]=o):o=t[1],o}function eg(){return ct.useContext(Xf)}function tg(e){return document.addEventListener(“fullscreenchange”,e),()=>document.removeEventListener(“fullscreenchange”,e)}function sg(e){const t=(0,a.c)(10);if(!i.IS_WEB)throw new Error(“‘useFullscreen’ is a web-only hook”);const s=(0,ct.useSyncExternalStore)(tg,og),o=(0,ct.useRef)(null),[n,r]=(0,ct.useState)(s);let l;t[0]!==s||t[1]!==e?(l=()=>{if(s)document.exitFullscreen();else{if(!e)throw new Error(“No ref provided”);if(!e.current)return;o.current=window.scrollY,e.current.requestFullscreen()}},t[0]=s,t[1]=e,t[2]=l):l=t[2];const c=l;let d,u,m;return t[3]!==s||t[4]!==n?(d=()=>{n!==s&&(r(s),!n||i.IS_WEB_FIREFOX||i.IS_WEB_SAFARI||setTimeout((()=>{null!==o.current&&(window.scrollTo(0,o.current),o.current=null)}),100))},u=[s,n],t[3]=s,t[4]=n,t[5]=d,t[6]=u):(d=t[5],u=t[6]),(0,ct.useEffect)(d,u),t[7]!==s||t[8]!==c?(m=[s,c],t[7]=s,t[8]=c,t[9]=m):m=t[9],m}function og(){return Boolean(document.fullscreenElement)}let ng;Xf.displayName=”MessageContext”;const ag=(0,na.createSinglePathSVG)({path:”M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4Zm2 1v14h14V5H5Zm10.957 6.293a1 1 0 1 0 0 1.414 1 1 0 0 1 1.414 1.414 3 3 0 1 1 0-4.242 1 1 0 0 1-1.414 1.414Zm-6.331-.22a1 1 0 1 0 .331 1.634 1 1 0 0 1 1.414 1.414 3 3 0 1 1 0-4.242 1 1 0 0 1-1.414 1.414.994.994 0 0 0-.331-.22Z”}),rg=(0,na.createSinglePathSVG)({path:”M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4Zm11.543 7.293a1 1 0 0 1 1.414 0 1 1 0 0 0 1.414-1.414 3 3 0 1 0 0 4.242 1 1 0 0 0-1.414-1.414 1 1 0 0 1-1.414-1.414Zm-6 0a1 1 0 0 1 1.414 0 1 1 0 0 0 1.414-1.414 3 3 0 1 0 0 4.243 1 1 0 0 0-1.414-1.415 1 1 0 0 1-1.414-1.414Z”}),ig=((0,na.createSinglePathSVG)({path:”M4 4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V4Zm2 1v14h2V5H6Zm8-1a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Zm2 1v14h2V5h-2Z”}),(0,na.createSinglePathSVG)({path:”M4 4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V4ZM14 4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z”}));(0,na.createSinglePathSVG)({path:”M4 6a3 3 0 0 1 6 0v12a3 3 0 1 1-6 0V6Zm3-1a1 1 0 0 0-1 1v12a1 1 0 1 0 2 0V6a1 1 0 0 0-1-1Zm7 1a3 3 0 1 1 6 0v12a3 3 0 1 1-6 0V6Zm3-1a1 1 0 0 0-1 1v12a1 1 0 1 0 2 0V6a1 1 0 0 0-1-1Z”}),(0,na.createSinglePathSVG)({path:”M4 6a3 3 0 0 1 6 0v12a3 3 0 1 1-6 0V6ZM14 6a3 3 0 1 1 6 0v12a3 3 0 1 1-6 0V6Z”});function lg(e){const t=(0,a.c)(19),{time:s,style:o}=e,n=(0,to.useTheme)(),{_:r}=(0,ut.useLingui)();if(isNaN(s))return null;const i=Math.floor(s/60),l=String(s%60).padStart(2,”0″),c=Number(s)||0;let d,u,m,h,p,f,g;t[0]!==r||t[1]!==c?(d=r({id:”Brqi8s”,values:{0:c}}),t[0]=r,t[1]=c,t[2]=d):d=t[2],t[3]===Symbol.for(“react.memo_cache_sentinel”)?(u={backgroundColor:”rgba(0, 0, 0, 0.5)”,borderRadius:6,paddingHorizontal:6,paddingVertical:3,left:6,bottom:6,minHeight:21},t[3]=u):u=t[3],t[4]!==o?(m=[u,to.atoms.absolute,to.atoms.justify_center,o],t[4]=o,t[5]=m):m=t[5],t[6]===Symbol.for(“react.memo_cache_sentinel”)?(h=[“tabular-nums”],t[6]=h):h=t[6],t[7]!==n.palette.white?(p={color:n.palette.white,fontSize:12,fontVariant:h},t[7]=n.palette.white,t[8]=p):p=t[8],t[9]===Symbol.for(“react.memo_cache_sentinel”)?(f={lineHeight:1.25},t[9]=f):f=t[9],t[10]!==p?(g=[p,to.atoms.font_semi_bold,f],t[10]=p,t[11]=g):g=t[11];const x=`${i}:${l}`;let _,y;return t[12]!==g||t[13]!==x?(_=(0,jt.jsx)(_o.Text,{style:g,children:x}),t[12]=g,t[13]=x,t[14]=_):_=t[14],t[15]!==_||t[16]!==d||t[17]!==m?(y=(0,jt.jsx)(Qs.default,{pointerEvents:”none”,accessibilityLabel:d,accessibilityHint:””,style:m,children:_}),t[15]=_,t[16]=d,t[17]=m,t[18]=y):y=t[18],y}function cg(e){const t=(0,a.c)(11),{active:s,activeLabel:o,inactiveLabel:n,activeIcon:r,inactiveIcon:i,onPress:l}=e,c=(0,to.useTheme)(),d=s?o:n;let u,m,h,p;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(u=[to.atoms.p_xs,to.atoms.rounded_full,(0,to.web)({transition:”background-color 0.1s”})],m={backgroundColor:”rgba(255, 255, 255, 0.2)”},t[0]=u,t[1]=m):(u=t[0],m=t[1]),t[2]!==r||t[3]!==i||t[4]!==s||t[5]!==c.palette.white?(h=s?(0,jt.jsx)(r,{fill:c.palette.white,width:20,”aria-hidden”:!0}):(0,jt.jsx)(i,{fill:c.palette.white,width:20,”aria-hidden”:!0}),t[2]=r,t[3]=i,t[4]=s,t[5]=c.palette.white,t[6]=h):h=t[6],t[7]!==l||t[8]!==d||t[9]!==h?(p=(0,jt.jsx)(Od,{accessibilityRole:”button”,accessibilityLabel:d,accessibilityHint:””,onPress:l,style:u,hoverStyle:m,children:h}),t[7]=l,t[8]=d,t[9]=h,t[10]=p):p=t[10],p}const dg=ct.createContext(null);function ug(e){const t=(0,a.c)(6),{children:s}=e,[o,n]=ct.useState(!0),[r,i]=ct.useState(1);let l;t[0]!==o||t[1]!==r?(l={muted:o,setMuted:n,volume:r,setVolume:i},t[0]=o,t[1]=r,t[2]=l):l=t[2];const c=l;let d;return t[3]!==s||t[4]!==c?(d=(0,jt.jsx)(dg.Provider,{value:c,children:s}),t[3]=s,t[4]=c,t[5]=d):d=t[5],d}function mg(){const e=(0,a.c)(3),t=ct.useContext(dg);if(!t)throw new Error(“useVideoVolumeState must be used within a VideoVolumeProvider”);let s;return e[0]!==t.setVolume||e[1]!==t.volume?(s=[t.volume,t.setVolume],e[0]=t.setVolume,e[1]=t.volume,e[2]=s):s=e[2],s}function hg(e){e.message?.includes(“The play() request was interrupted by a call to pause()”)||Ht.logger.error(“Error playing video:”,{message:e})}function pg(e){if(isNaN(e))return”–“;e=Math.round(e);return`${Math.floor(e/60)}:${String(e%60).padStart(2,”0”)}`}function fg(e){const t=(0,a.c)(74),{duration:s,currentTime:o,onSeek:n,onSeekEnd:r,onSeekStart:l,seekLeft:c,seekRight:d,togglePlayPause:u,drawFocus:m}=e,{_:h}=(0,ut.useLingui)(),p=(0,to.useTheme)(),[f,g]=(0,ct.useState)(!1),{state:x,onIn:_,onOut:y}=(0,Dd.useInteractionState)(),{state:b,onIn:j,onOut:v}=(0,Dd.useInteractionState)(),[S,w]=(0,ct.useState)(0),T=(0,ct.useRef)(!1),k=(0,ct.useRef)(null),C=(0,ct.useRef)(null);let I;t[0]!==s||t[1]!==n?(I=e=>{if(!k.current)return;const{left:t,width:o}=k.current.getBoundingClientRect(),a=ru((e.clientX-t)/o,0,1)*s;n(a),w(a)},t[0]=s,t[1]=n,t[2]=I):I=t[2];const A=I;let P;t[3]!==l||t[4]!==A?(P=e=>{const t=e.target;t instanceof Element&&(e.preventDefault(),t.setPointerCapture(e.pointerId),T.current=!0,A(e),g(!0),l())},t[3]=l,t[4]=A,t[5]=P):P=t[5];const E=P;let L;t[6]!==A?(L=e=>{T.current&&(e.preventDefault(),A(e))},t[6]=A,t[7]=L):L=t[7];const R=L;let D;t[8]!==r?(D=e=>{const t=e.target;T.current&&t instanceof Element&&(e.preventDefault(),t.releasePointerCapture(e.pointerId),T.current=!1,r(),g(!1))},t[8]=r,t[9]=D):D=t[9];const B=D;let O,M,F,N;t[10]!==f?(O=()=>{if(i.IS_WEB_FIREFOX&&f)return document.body.classList.add(“force-no-clicks”),gg},t[10]=f,t[11]=O):O=t[11],t[12]!==r||t[13]!==f?(M=[f,r],t[12]=r,t[13]=f,t[14]=M):M=t[14],(0,ct.useEffect)(O,M),t[15]!==m||t[16]!==b||t[17]!==c||t[18]!==d||t[19]!==u?(F=()=>{if(C.current&&b){const e=new AbortController,{signal:t}=e;return C.current.addEventListener(“keydown”,(e=>{” “===e.key?(e.preventDefault(),m(),u()):”ArrowLeft”===e.key?(e.preventDefault(),m(),c()):”ArrowRight”===e.key&&(e.preventDefault(),m(),d())}),{signal:t}),()=>e.abort()}},N=[b,c,d,u,m],t[15]=m,t[16]=b,t[17]=c,t[18]=d,t[19]=u,t[20]=F,t[21]=N):(F=t[20],N=t[21]),(0,ct.useEffect)(F,N);const H=(f?S:o)/s*100;if(s<3)return null;let V;t[22]===Symbol.for("react.memo_cache_sentinel")?(V=[{height:i.IS_WEB_TOUCH_DEVICE?32:18,width:"100%"},to.atoms.flex_shrink_0,to.atoms.px_xs],t[22]=V):V=t[22];const z=f?"grabbing":"grab";let U,G;t[23]!==z?(U={flex:1,display:"flex",alignItems:"center",position:"relative",cursor:z,padding:"4px 0"},t[23]=z,t[24]=U):U=t[24],t[25]===Symbol.for("react.memo_cache_sentinel")?(G={backgroundColor:"rgba(255, 255, 255, 0.4)"},t[25]=G):G=t[25];const W=x||f?6:3;let q,Q,K,Z,Y,$,X;t[26]!==W?(q={height:W},t[26]=W,t[27]=q):q=t[27],t[28]===Symbol.for("react.memo_cache_sentinel")?(Q=(0,to.web)({transition:"height 0.1s ease"}),t[28]=Q):Q=t[28],t[29]!==q||t[30]!==Q?(K=[to.atoms.w_full,to.atoms.rounded_full,to.atoms.overflow_hidden,G,q,Q],t[29]=q,t[30]=Q,t[31]=K):K=t[31],t[32]!==s||t[33]!==H||t[34]!==p.palette.white?(Z=s>0&&(0,jt.jsx)(Qs.default,{style:[to.atoms.h_full,{backgroundColor:p.palette.white},{width:`${H}%`}]}),t[32]=s,t[33]=H,t[34]=p.palette.white,t[35]=Z):Z=t[35],t[36]!==K||t[37]!==Z?(Y=(0,jt.jsx)(Qs.default,{style:K,children:Z}),t[36]=K,t[37]=Z,t[38]=Y):Y=t[38],t[39]!==h?($=h({id:”ufWi5/”}),t[39]=h,t[40]=$):$=t[40],t[41]!==h||t[42]!==o||t[43]!==s?(X=h({id:”FGOUAP”,values:{0:pg(o),1:pg(s)}}),t[41]=h,t[42]=o,t[43]=s,t[44]=X):X=t[44];const J=`calc(${H}% – 8px)`;let ee,te;t[45]!==J?(ee={position:”absolute”,height:16,width:16,left:J,borderRadius:8,pointerEvents:”none”},t[45]=J,t[46]=ee):ee=t[46],t[47]!==p.palette.white?(te={backgroundColor:p.palette.white},t[47]=p.palette.white,t[48]=te):te=t[48];const se=x||f||b?f?1:.6:0;let oe,ne,ae,re,ie;return t[49]!==se?(oe={transform:[{scale:se}]},t[49]=se,t[50]=oe):oe=t[50],t[51]!==te||t[52]!==oe?(ne=(0,jt.jsx)(Qs.default,{style:[to.atoms.w_full,to.atoms.h_full,to.atoms.rounded_full,te,oe]}),t[51]=te,t[52]=oe,t[53]=ne):ne=t[53],t[54]!==o||t[55]!==s||t[56]!==v||t[57]!==j||t[58]!==$||t[59]!==X||t[60]!==ee||t[61]!==ne?(ae=(0,jt.jsx)(“div”,{ref:C,”aria-label”:$,role:”slider”,”aria-valuemax”:s,”aria-valuemin”:0,”aria-valuenow”:o,”aria-valuetext”:X,tabIndex:0,onFocus:j,onBlur:v,style:ee,children:ne}),t[54]=o,t[55]=s,t[56]=v,t[57]=j,t[58]=$,t[59]=X,t[60]=ee,t[61]=ne,t[62]=ae):ae=t[62],t[63]!==E||t[64]!==R||t[65]!==B||t[66]!==U||t[67]!==Y||t[68]!==ae?(re=(0,jt.jsxs)(“div”,{ref:k,style:U,onPointerDown:E,onPointerMove:R,onPointerUp:B,onPointerCancel:B,children:[Y,ae]}),t[63]=E,t[64]=R,t[65]=B,t[66]=U,t[67]=Y,t[68]=ae,t[69]=re):re=t[69],t[70]!==y||t[71]!==_||t[72]!==re?(ie=(0,jt.jsx)(Qs.default,{testID:”scrubber”,style:V,onPointerEnter:_,onPointerLeave:y,children:re}),t[70]=y,t[71]=_,t[72]=re,t[73]=ie):ie=t[73],ie}function gg(){document.body.classList.remove(“force-no-clicks”)}dg.displayName=”VideoVolumeContext”;var xg=o(66087);const _g=(0,na.createSinglePathSVG)({path:”M12.472 3.118A1 1 0 0 1 13 4v16a1 1 0 0 1-1.555.832L5.697 17H2a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h3.697l5.748-3.832a1 1 0 0 1 1.027-.05ZM11 5.868 6.555 8.833A1 1 0 0 1 6 9H3v6h3a1 1 0 0 1 .555.168L11 18.131V5.87Zm7.364-1.645a1 1 0 0 1 1.414 0A10.969 10.969 0 0 1 23 12c0 3.037-1.232 5.788-3.222 7.778a1 1 0 1 1-1.414-1.414A8.969 8.969 0 0 0 21 12a8.969 8.969 0 0 0-2.636-6.364 1 1 0 0 1 0-1.414Zm-3.182 3.181a1 1 0 0 1 1.414 0A6.483 6.483 0 0 1 18.5 12a6.483 6.483 0 0 1-1.904 4.597 1 1 0 0 1-1.414-1.415A4.483 4.483 0 0 0 16.5 12a4.483 4.483 0 0 0-1.318-3.182 1 1 0 0 1 0-1.414Z”});function yg(e){const t=(0,a.c)(32),{muted:s,changeMuted:o,hovered:n,onHover:r,onEndHover:l,drawFocus:c}=e,{_:d}=(0,ut.useLingui)(),[u,m]=mg();let h;t[0]!==o||t[1]!==c||t[2]!==m?(h=e=>{c();const t=(s=Number(e.target.value),Math.pow(s/100,4));var s;m(t),o(0===t)},t[0]=o,t[1]=c,t[2]=m,t[3]=h):h=t[3];const p=h;let f;var g;t[4]!==s||t[5]!==u?(f=s?0:(g=u,Math.round(100*Math.pow(g,1/4))),t[4]=s,t[5]=u,t[6]=f):f=t[6];const x=f,_=0===u;let y;t[7]!==o||t[8]!==c||t[9]!==_||t[10]!==m?(y=()=>{c(),_?(m(1),o(!1)):o(bg)},t[7]=o,t[8]=c,t[9]=_,t[10]=m,t[11]=y):y=t[11];const b=y;let j,v;t[12]===Symbol.for(“react.memo_cache_sentinel”)?(j=[to.atoms.relative],t[12]=j):j=t[12],t[13]!==d||t[14]!==n||t[15]!==p||t[16]!==x?(v=n&&!i.IS_WEB_TOUCH_DEVICE&&(0,jt.jsx)(Cn.default.View,{entering:Cn.FadeIn.duration(100),exiting:Cn.FadeOut.duration(100),style:[to.atoms.absolute,to.atoms.w_full,{height:100,bottom:”100%”}],children:(0,jt.jsx)(Qs.default,{style:[to.atoms.flex_1,to.atoms.mb_xs,to.atoms.px_2xs,to.atoms.py_xs,{backgroundColor:”rgba(0, 0, 0, 0.6)”},to.atoms.rounded_xs,to.atoms.align_center],children:(0,jt.jsx)(“input”,{type:”range”,min:0,max:100,value:x,”aria-label”:d({id:”/cF7Rs”}),style:i.IS_WEB_SAFARI?{height:92,minHeight:”100%”}:{height:”100%”},onChange:p,orient:”vertical”})})}),t[13]=d,t[14]=n,t[15]=p,t[16]=x,t[17]=v):v=t[17];const S=s||0===u;let w,T,k,C;return t[18]!==d?(w=d({id:”bIW6kV”}),t[18]=d,t[19]=w):w=t[19],t[20]!==d?(T=d({id:”2/ig/T”}),t[20]=d,t[21]=T):T=t[21],t[22]!==b||t[23]!==S||t[24]!==w||t[25]!==T?(k=(0,jt.jsx)(cg,{active:S,activeLabel:w,inactiveLabel:T,activeIcon:xg.Mute_Stroke2_Corner0_Rounded,inactiveIcon:_g,onPress:b}),t[22]=b,t[23]=S,t[24]=w,t[25]=T,t[26]=k):k=t[26],t[27]!==l||t[28]!==r||t[29]!==v||t[30]!==k?(C=(0,jt.jsxs)(Qs.default,{onPointerEnter:r,onPointerLeave:l,style:j,children:[v,k]}),t[27]=l,t[28]=r,t[29]=v,t[30]=k,t[31]=C):C=t[31],C}function bg(e){return!e}function jg(e){const t=(0,a.c)(171),{videoRef:s,hlsRef:o,active:n,setActive:r,focused:l,setFocused:c,onScreen:d,fullscreenRef:u,hlsLoading:m,hasSubtitleTrack:h,isGif:p,altText:f}=e,{play:g,pause:x,playing:_,muted:y,changeMuted:b,togglePlayPause:j,currentTime:v,duration:S,buffering:w,error:T,canPlay:k}=function(e){const t=(0,a.c)(30),[s,o]=(0,ct.useState)(!1),[n,r]=(0,ct.useState)(!0),[l,c]=(0,ct.useState)(0),[d,u]=mg(),[m,h]=(0,ct.useState)(0),[p,f]=(0,ct.useState)(!1),[g,x]=(0,ct.useState)(!1),[_,y]=(0,ct.useState)(!1),b=(0,ct.useRef)(!1);let j,v,S,w,T;t[0]!==e||t[1]!==d?(j=()=>{e.current&&(e.current.volume=d)},v=[e,d],t[0]=e,t[1]=d,t[2]=j,t[3]=v):(j=t[2],v=t[3]),(0,ct.useEffect)(j,v),t[4]!==e||t[5]!==u?(S=()=>{if(!e.current)return;let t;const s=function(e){return Math.round(100*e)/100};c(s(e.current.currentTime)||0),h(s(e.current.duration)||0),r(e.current.muted),o(!e.current.paused),u(e.current.volume);const n=new AbortController;return e.current.addEventListener(“timeupdate”,(()=>{e.current&&(c(s(e.current.currentTime)||0),i.IS_WEB_SAFARI&&(t&&clearTimeout(t),f(!1)))}),{signal:n.signal}),e.current.addEventListener(“durationchange”,(()=>{e.current&&h(s(e.current.duration)||0)}),{signal:n.signal}),e.current.addEventListener(“play”,(()=>{o(!0)}),{signal:n.signal}),e.current.addEventListener(“pause”,(()=>{o(!1)}),{signal:n.signal}),e.current.addEventListener(“volumechange”,(()=>{e.current&&r(e.current.muted)}),{signal:n.signal}),e.current.addEventListener(“error”,(()=>{x(!0)}),{signal:n.signal}),e.current.addEventListener(“canplay”,(async()=>{if(t&&clearTimeout(t),f(!1),y(!0),e.current&&b.current){try{await e.current.play()}catch(T){const t=T;if(!t.message?.includes(“The request is not allowed by the user agent”)&&!t.message?.includes(“The play() request was interrupted by a call to pause()”))throw t}b.current=!1}}),{signal:n.signal}),e.current.addEventListener(“canplaythrough”,(()=>{t&&clearTimeout(t),f(!1)}),{signal:n.signal}),e.current.addEventListener(“waiting”,(()=>{t&&clearTimeout(t),t=setTimeout((()=>{f(!0)}),500)}),{signal:n.signal}),e.current.addEventListener(“playing”,(()=>{t&&clearTimeout(t),f(!1),x(!1)}),{signal:n.signal}),e.current.addEventListener(“stalled”,(()=>{t&&clearTimeout(t),t=setTimeout((()=>{f(!0)}),500)}),{signal:n.signal}),e.current.addEventListener(“ended”,(()=>{o(!1),f(!1),x(!1)}),{signal:n.signal}),()=>{n.abort(),clearTimeout(t)}},w=[e,u],t[4]=e,t[5]=u,t[6]=S,t[7]=w):(S=t[6],w=t[7]),(0,ct.useEffect)(S,w),t[8]!==e?(T=()=>{if(e.current)if(e.current.ended&&(e.current.currentTime=0),e.current.readyState{e.current&&(e.current.pause(),b.current=!1)},t[10]=e,t[11]=C):C=t[11];const I=C;let A;t[12]!==I||t[13]!==k||t[14]!==e?(A=()=>{e.current&&(e.current.paused?k():I())},t[12]=I,t[13]=k,t[14]=e,t[15]=A):A=t[15];const P=A;let E;t[16]!==e?(E=t=>{if(!e.current)return;const s=”function”===typeof t?t(e.current.muted):t;e.current.muted=s},t[16]=e,t[17]=E):E=t[17];const L=E;let R;return t[18]!==p||t[19]!==_||t[20]!==L||t[21]!==l||t[22]!==m||t[23]!==g||t[24]!==n||t[25]!==I||t[26]!==k||t[27]!==s||t[28]!==P?(R={play:k,pause:I,togglePlayPause:P,duration:m,currentTime:l,playing:s,muted:n,changeMuted:L,buffering:p,error:g,canPlay:_},t[18]=p,t[19]=_,t[20]=L,t[21]=l,t[22]=m,t[23]=g,t[24]=n,t[25]=I,t[26]=k,t[27]=s,t[28]=P,t[29]=R):R=t[29],R}(s),C=(0,to.useTheme)(),{_:I}=(0,ut.useLingui)(),A=(0,Ot.useSubtitlesEnabled)(),P=(0,Ot.useSetSubtitlesEnabled)(),{state:E,onIn:L,onOut:R}=(0,Dd.useInteractionState)(),[D,B]=sg(u),{state:O,onIn:M,onOut:F}=(0,Dd.useInteractionState)(),[N,H]=(0,ct.useState)(!1),V=m||w,{state:z,onIn:U,onOut:G}=(0,Dd.useInteractionState)();let W;t[0]===Symbol.for(“react.memo_cache_sentinel”)?(W=()=>{H(!0)},t[0]=W):W=t[0];const q=W;let Q,K,Z,Y,$,X;t[1]!==N?(Q=()=>{if(N)return document.addEventListener(“click”,(()=>H(!1))),()=>{document.removeEventListener(“click”,(()=>H(!1)))}},K=[N],t[1]=N,t[2]=Q,t[3]=K):(Q=t[2],K=t[3]),(0,ct.useEffect)(Q,K),t[4]!==D?(Z=()=>{if(D)return document.documentElement.style.scrollbarGutter=”unset”,vg},Y=[D],t[4]=D,t[5]=Z,t[6]=Y):(Z=t[5],Y=t[6]),(0,ct.useEffect)(Z,Y),t[7]!==n||t[8]!==x||t[9]!==c?($=()=>{n||(x(),c(!1))},X=[n,x,c],t[7]=n,t[8]=x,t[9]=c,t[10]=$,t[11]=X):($=t[10],X=t[11]),(0,ct.useEffect)($,X);const J=eg(),ee=(0,Ot.useAutoplayDisabled)()||J;let te,se,oe,ne,ae,re,ie;t[12]!==n||t[13]!==ee||t[14]!==p||t[15]!==d||t[16]!==x||t[17]!==g?(te=()=>{n&&(d||p?ee||g():x())},se=[d,x,n,g,ee,p],t[12]=n,t[13]=ee,t[14]=p,t[15]=d,t[16]=x,t[17]=g,t[18]=te,t[19]=se):(te=t[18],se=t[19]),(0,ct.useEffect)(te,se),t[20]!==l||t[21]!==o?(oe=()=>{o.current&&(o.current.config.maxMaxBufferLength=l?30:10)},ne=[o,l],t[20]=l,t[21]=o,t[22]=oe,t[23]=ne):(oe=t[22],ne=t[23]),(0,ct.useEffect)(oe,ne),t[24]!==k||t[25]!==h||t[26]!==o||t[27]!==A?(ae=()=>{o.current&&(o.current.subtitleTrack=h&&A&&k?0:-1)},re=[h,A,o,k],t[24]=k,t[25]=h,t[26]=o,t[27]=A,t[28]=ae,t[29]=re):(ae=t[28],re=t[29]),(0,ct.useEffect)(ae,re),t[30]!==n||t[31]!==r||t[32]!==c?(ie=()=>{n||r(),c(!0)},t[30]=n,t[31]=r,t[32]=c,t[33]=ie):ie=t[33];const le=ie;let ce;t[34]!==ee||t[35]!==le||t[36]!==l||t[37]!==g||t[38]!==j?(ce=()=>{l?j():(le(),ee&&g())},t[34]=ee,t[35]=le,t[36]=l,t[37]=g,t[38]=j,t[39]=ce):ce=t[39];const de=ce;let ue;t[40]!==le||t[41]!==j?(ue=()=>{le(),j()},t[40]=le,t[41]=j,t[42]=ue):ue=t[42];const me=ue;let he;t[43]!==le||t[44]!==P||t[45]!==A?(he=()=>{le(),P(!A)},t[43]=le,t[44]=P,t[45]=A,t[46]=he):he=t[46];const pe=he;let fe;t[47]!==le||t[48]!==B?(fe=()=>{le(),B()},t[47]=le,t[48]=B,t[49]=fe):fe=t[49];const ge=fe;let xe;t[50]!==s?(xe=e=>{s.current&&(s.current.fastSeek?s.current.fastSeek(e):s.current.currentTime=e)},t[50]=s,t[51]=xe):xe=t[51];const _e=xe,ye=(0,ct.useRef)(!1);let be;t[52]!==le||t[53]!==x||t[54]!==_?(be=()=>{le(),ye.current=_,x()},t[52]=le,t[53]=x,t[54]=_,t[55]=be):be=t[55];const je=be;let ve;t[56]!==g?(ve=()=>{ye.current&&g()},t[56]=g,t[57]=ve):ve=t[57];const Se=ve;let we;t[58]!==_e||t[59]!==s?(we=()=>{if(!s.current)return;const e=s.current.currentTime,t=s.current.duration||0;_e(ru(e-5,0,t))},t[58]=_e,t[59]=s,t[60]=we):we=t[60];const Te=we;let ke;t[61]!==_e||t[62]!==s?(ke=()=>{if(!s.current)return;const e=s.current.currentTime,t=s.current.duration||0;_e(ru(e+5,0,t))},t[61]=_e,t[62]=s,t[63]=ke):ke=t[63];const Ce=ke,[Ie,Ae]=(0,ct.useState)(!0),Pe=(0,ct.useRef)(void 0);let Ee;t[64]!==R?(Ee=()=>{Ae(!0),Pe.current&&clearTimeout(Pe.current),Pe.current=setTimeout((()=>{Ae(!1),R()}),2e3)},t[64]=R,t[65]=Ee):Ee=t[65];const Le=Ee;let Re;t[66]===Symbol.for(“react.memo_cache_sentinel”)?(Re=()=>{Ae(!1),Pe.current&&clearTimeout(Pe.current)},t[66]=Re):Re=t[66];const De=Re;let Be;t[67]!==E?(Be=e=>{“mouse”===e.pointerType||E||e.preventDefault(),clearTimeout(Me.current)},t[67]=E,t[68]=Be):Be=t[68];const Oe=Be,Me=(0,ct.useRef)(void 0);let Fe;t[69]!==L?(Fe=()=>{L(),clearTimeout(Me.current)},t[69]=L,t[70]=Fe):Fe=t[70];const Ne=Fe;let He;t[71]!==R?(He=e=>{“mouse”!==e.pointerType?setTimeout(R,3e3):R()},t[71]=R,t[72]=He):He=t[72];const Ve=He,ze=(l||ee)&&!_||(N?O:E);if(p){let e;return t[73]!==f||t[74]!==me||t[75]!==_||t[76]!==V?(e=(0,jt.jsx)(Sf,{isPlaying:_,isLoading:V,onPress:me,altText:f}),t[73]=f,t[74]=me,t[75]=_,t[76]=V,t[77]=e):e=t[77],e}let Ue,Ge,We;t[78]===Symbol.for(“react.memo_cache_sentinel”)?(Ue={position:”absolute”,inset:0,overflow:”hidden”,display:”flex”,flexDirection:”column”},Ge=e=>{e.stopPropagation(),H(!1)},t[78]=Ue,t[79]=Ge):(Ue=t[78],Ge=t[79]),t[80]!==I||t[81]!==l||t[82]!==_?(We=I(l?_?{id:”cG3912″}:{id:”7TkjAs”}:{id:”Zg5wXO”}),t[80]=I,t[81]=l,t[82]=_,t[83]=We):We=t[83];const qe=Ie||!_?”pointer”:”none”;let Qe,Ke,Ze,Ye,$e;t[84]!==qe?(Qe=(0,to.web)({cursor:qe}),t[84]=qe,t[85]=Qe):Qe=t[85],t[86]!==Qe?(Ke=[to.atoms.flex_1,Qe],t[86]=Qe,t[87]=Ke):Ke=t[87],t[88]!==Le||t[89]!==de||t[90]!==We||t[91]!==Ke?(Ze=(0,jt.jsx)(gn.default,{accessibilityRole:”button”,onPointerEnter:Le,onPointerMove:Le,onPointerLeave:De,accessibilityLabel:We,accessibilityHint:””,style:Ke,onPress:de}),t[88]=Le,t[89]=de,t[90]=We,t[91]=Ke,t[92]=Ze):Ze=t[92],t[93]!==v||t[94]!==S||t[95]!==l||t[96]!==ze?(Ye=!ze&&!l&&S>0&&(0,jt.jsx)(lg,{time:Math.floor(S-v)}),t[93]=v,t[94]=S,t[95]=l,t[96]=ze,t[97]=Ye):Ye=t[97],t[98]===Symbol.for(“react.memo_cache_sentinel”)?($e=(0,to.web)({background:”linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7))”}),t[98]=$e):$e=t[98];const Xe=ze?1:0;let Je,et,tt,st,ot,nt,at,rt,it,lt,dt,mt,ht,pt,ft,gt,xt;return t[99]!==Xe?(Je={opacity:Xe},t[99]=Xe,t[100]=Je):Je=t[100],t[101]===Symbol.for(“react.memo_cache_sentinel”)?(et={transition:”opacity 0.2s ease-in-out”},t[101]=et):et=t[101],t[102]!==$e||t[103]!==Je?(tt=[to.atoms.flex_shrink_0,to.atoms.w_full,to.atoms.px_xs,$e,Je,et],t[102]=$e,t[103]=Je,t[104]=tt):tt=t[104],t[105]!==v||t[106]!==le||t[107]!==S||t[108]!==_e||t[109]!==Se||t[110]!==je||t[111]!==Te||t[112]!==Ce||t[113]!==j||t[114]!==z?(st=(!z||i.IS_WEB_TOUCH_DEVICE)&&(0,jt.jsx)(fg,{duration:S,currentTime:v,onSeek:_e,onSeekStart:je,onSeekEnd:Se,seekLeft:Te,seekRight:Ce,togglePlayPause:j,drawFocus:le}),t[105]=v,t[106]=le,t[107]=S,t[108]=_e,t[109]=Se,t[110]=je,t[111]=Te,t[112]=Ce,t[113]=j,t[114]=z,t[115]=st):st=t[115],t[116]===Symbol.for(“react.memo_cache_sentinel”)?(ot=[to.atoms.flex_1,to.atoms.px_xs,to.atoms.pb_sm,to.atoms.gap_sm,to.atoms.flex_row,to.atoms.align_center],t[116]=ot):ot=t[116],t[117]!==I?(nt=I({id:”IgrLD/”}),t[117]=I,t[118]=nt):nt=t[118],t[119]!==I?(at=I({id:”T91vKp”}),t[119]=I,t[120]=at):at=t[120],t[121]!==me||t[122]!==_||t[123]!==nt||t[124]!==at?(rt=(0,jt.jsx)(cg,{active:_,activeLabel:nt,inactiveLabel:at,activeIcon:ig,inactiveIcon:lf,onPress:me}),t[121]=me,t[122]=_,t[123]=nt,t[124]=at,t[125]=rt):rt=t[125],t[126]===Symbol.for(“react.memo_cache_sentinel”)?(it=(0,jt.jsx)(Qs.default,{style:to.atoms.flex_1}),t[126]=it):it=t[126],t[127]!==v||t[128]!==S||t[129]!==C?(lt=Math.round(S)>0&&(0,jt.jsxs)(_o.Text,{style:[to.atoms.px_xs,{color:C.palette.white,fontVariant:[“tabular-nums”]}],children:[pg(v),” / “,pg(S)]}),t[127]=v,t[128]=S,t[129]=C,t[130]=lt):lt=t[130],t[131]!==I||t[132]!==h||t[133]!==pe||t[134]!==A?(dt=h&&(0,jt.jsx)(cg,{active:A,activeLabel:I({id:”LdKJAe”}),inactiveLabel:I({id:”spRatm”}),activeIcon:rg,inactiveIcon:ag,onPress:pe}),t[131]=I,t[132]=h,t[133]=pe,t[134]=A,t[135]=dt):dt=t[135],t[136]!==b||t[137]!==le||t[138]!==y||t[139]!==G||t[140]!==U||t[141]!==z?(mt=(0,jt.jsx)(yg,{muted:y,changeMuted:b,hovered:z,onHover:U,onEndHover:G,drawFocus:le}),t[136]=b,t[137]=le,t[138]=y,t[139]=G,t[140]=U,t[141]=z,t[142]=mt):mt=t[142],t[143]!==I||t[144]!==D||t[145]!==ge?(ht=!i.IS_WEB_MOBILE_IOS&&(0,jt.jsx)(cg,{active:D,activeLabel:I({id:”sQpDn6″}),inactiveLabel:I({id:”JWj1N3″}),activeIcon:Rf,inactiveIcon:Lf,onPress:ge}),t[143]=I,t[144]=D,t[145]=ge,t[146]=ht):ht=t[146],t[147]!==rt||t[148]!==lt||t[149]!==dt||t[150]!==mt||t[151]!==ht?(pt=(0,jt.jsxs)(Qs.default,{style:ot,children:[rt,it,lt,dt,mt,ht]}),t[147]=rt,t[148]=lt,t[149]=dt,t[150]=mt,t[151]=ht,t[152]=pt):pt=t[152],t[153]!==tt||t[154]!==st||t[155]!==pt?(ft=(0,jt.jsxs)(Qs.default,{style:tt,children:[st,pt]}),t[153]=tt,t[154]=st,t[155]=pt,t[156]=ft):ft=t[156],t[157]!==T||t[158]!==V||t[159]!==C?(gt=(V||T)&&(0,jt.jsxs)(Qs.default,{pointerEvents:”none”,style:[to.atoms.absolute,to.atoms.inset_0,to.atoms.justify_center,to.atoms.align_center],children:[V&&(0,jt.jsx)(xo.Loader,{fill:C.palette.white,size:”lg”}),T&&(0,jt.jsx)(_o.Text,{style:{color:C.palette.white},children:(0,jt.jsx)(ut.Trans,{id:”Vw8l6h”})})]}),t[157]=T,t[158]=V,t[159]=C,t[160]=gt):gt=t[160],t[161]!==F||t[162]!==Ve||t[163]!==M||t[164]!==Ne||t[165]!==Oe||t[166]!==Ze||t[167]!==Ye||t[168]!==ft||t[169]!==gt?(xt=(0,jt.jsxs)(“div”,{style:Ue,onClick:Ge,onPointerEnter:Ne,onPointerMove:Ne,onPointerLeave:Ve,onPointerDown:Oe,onFocus:M,onBlur:F,onKeyDown:q,children:[Ze,Ye,ft,gt]}),t[161]=F,t[162]=Ve,t[163]=M,t[164]=Ne,t[165]=Oe,t[166]=Ze,t[167]=Ye,t[168]=ft,t[169]=gt,t[170]=xt):xt=t[170],xt}function vg(){document.documentElement.style.removeProperty(“scrollbar-gutter”)}function Sg({embed:e,active:t,setActive:s,onScreen:o,lastKnownTime:n}){const a=(0,ct.useRef)(null),r=(0,ct.useRef)(null),[i,l]=(0,ct.useState)(!1),[c,d]=(0,ct.useState)(!1),[u,m]=(0,ct.useState)(!1),h=(0,ct.useId)(),{_:p}=(0,ut.useLingui)(),[f,g]=(0,ct.useState)(null);if(f)throw f;const{hlsRef:x,loop:_}=function({playlist:e,setHasSubtitleTrack:t,setError:s,videoRef:o,setHlsLoading:n}){const[a,r]=(0,ct.useState)((()=>kg.value));(0,ct.useEffect)((()=>{a||(n(!0),kg.then((e=>{r((()=>e)),n(!1)})))}),[a,n]);const i=(0,ct.useRef)(void 0),[l,c]=(0,ct.useState)([]),d=(0,ud.useNonReactiveCallback)(((e,{frag:t})=>{if(!a)return;if(!i.current)return;const s=i.current;if(s.nextAutoLevel>0){const e=[];for(const o of l)Math.abs(t.start-o.start)<.1||(s.trigger(a.Events.BUFFER_FLUSHING,{startOffset:o.start,endOffset:o.end,type:"video"}),e.push(o));c((t=>t.filter((t=>!e.includes(t)))))}}));(0,ct.useEffect)((()=>{if(!o.current)return;if(!a)return;if(!a.isSupported())throw new wg;const n=ng,r=new a({maxMaxBufferLength:10,startLevel:void 0===n?-1:a.DefaultConfig.startLevel});return i.current=r,void 0!==n&&(r.bandwidthEstimate=n),r.attachMedia(o.current),r.loadSource(e),r.on(a.Events.FRAG_LOADED,(()=>{var e;e=r.bandwidthEstimate,isNaN(e)||(ng=e)})),r.on(a.Events.SUBTITLE_TRACKS_UPDATED,((e,s)=>{s.subtitleTracks.length>0&&t(!0)})),r.on(a.Events.FRAG_BUFFERED,((e,{frag:t})=>{0===t.level&&c((e=>[…e,t]))})),r.on(a.Events.ERROR,((e,t)=>{t.fatal&&(“manifestLoadError”===t.details&&404===t.response?.code?s(new Tg):s(t.error))})),r.on(a.Events.FRAG_CHANGED,d),()=>{i.current=void 0,r.detachMedia(),r.destroy()}}),[e,s,t,o,d,a]);const u=(0,ud.useNonReactiveCallback)((()=>{if(!a)return;if(!i.current)return;const e=i.current;if(e.nextAutoLevel>0&&1===l.length&&0===l[0].start){const t=l[0];e.trigger(a.Events.BUFFER_FLUSHING,{startOffset:t.start,endOffset:t.end,type:”video”}),c([])}})),m=l.some((e=>0===e.start));return(0,ct.useEffect)((()=>{if(!o.current)return;if(!m)return;const e=new AbortController,{signal:t}=e,s=o.current;return s.addEventListener(“ended”,(()=>{u(),s.currentTime=0;const e=s.play();e&&e.catch((()=>{}))}),{signal:t}),()=>{e.abort()}}),[o,u,m]),{hlsRef:i,loop:!m}}({playlist:e.playlist,setHasSubtitleTrack:d,setError:g,videoRef:r,setHlsLoading:m});return(0,ct.useEffect)((()=>{n.current&&r.current&&(r.current.currentTime=n.current)}),[n]),(0,jt.jsx)(Qs.default,{style:[to.atoms.flex_1,to.atoms.rounded_md,to.atoms.overflow_hidden],accessibilityLabel:p({id:”JuSZ7J”}),accessibilityHint:””,children:(0,jt.jsxs)(“div”,{ref:a,style:{height:”100%”,width:”100%”},children:[(0,jt.jsxs)(“figure”,{style:{margin:0,position:”absolute”,inset:0},children:[(0,jt.jsx)(“video”,{ref:r,poster:e.thumbnail,style:{width:”100%”,height:”100%”,objectFit:”contain”},playsInline:!0,preload:”none”,muted:”gif”===e.presentation||!i,”aria-labelledby”:e.alt?h:void 0,onTimeUpdate:e=>{n.current=e.currentTarget.currentTime},loop:_}),e.alt&&(0,jt.jsx)(“figcaption”,{id:h,style:to.atoms.sr_only,children:e.alt})]}),(0,jt.jsx)(jg,{videoRef:r,hlsRef:x,active:t,setActive:s,focused:i,setFocused:l,hlsLoading:u,onScreen:o,fullscreenRef:a,hasSubtitleTrack:c,isGif:”gif”===e.presentation,altText:e.alt})]})})}class wg extends Error{constructor(){super(“HLS is not supported”)}}class Tg extends Error{constructor(){super(“Video not found”)}}const kg=o.e(8930).then(o.t.bind(o,48930,23)).then((e=>e.default));kg.value=void 0,kg.then((e=>{kg.value=e}));const Cg=ct.createContext(null);function Ig(e){const t=(0,a.c)(14),{children:s}=e;if(!i.IS_WEB)throw new Error(“ActiveVideoWebContext may only be used on web.”);const[o,n]=(0,ct.useState)(null),r=(0,ct.useRef)(1/0),{height:l}=(0,En.default)(),c=(0,ct.useRef)(!1),d=(0,ct.useRef)(o);let u,m,h;t[0]!==o?(u=()=>{d.current=o},m=[o],t[0]=o,t[1]=u,t[2]=m):(u=t[1],m=t[2]),(0,ct.useEffect)(u,m),t[3]!==l?(h=e=>{n(e),c.current=!0,r.current=l/2},t[3]=l,t[4]=h):h=t[4];const p=h;let f;t[5]!==l?(f=(e,t)=>{var s;if(!i.IS_NATIVE)if(e===d.current)r.current=t;else if(o(t)0&&s{};function Rg(e){const t=(0,a.c)(31),{embed:s}=e,o=(0,to.useTheme)(),n=(0,ct.useRef)(null),{active:r,setActive:l,sendPosition:c,currentActiveView:d}=function(){const e=(0,a.c)(11),t=ct.useContext(Cg);if(!t)throw new Error(“useActiveVideoWeb must be used within a ActiveVideoWebProvider”);const{activeViewId:s,setActiveView:o,sendViewPosition:n}=t,r=(0,ct.useId)(),i=s===r;let l,c,d;return e[0]!==r||e[1]!==o?(l=()=>{o(r)},e[0]=r,e[1]=o,e[2]=l):l=e[2],e[3]!==r||e[4]!==n?(c=e=>n(r,e),e[3]=r,e[4]=n,e[5]=c):c=e[5],e[6]!==s||e[7]!==i||e[8]!==l||e[9]!==c?(d={active:i,setActive:l,currentActiveView:s,sendPosition:c},e[6]=s,e[7]=i,e[8]=l,e[9]=c,e[10]=d):d=e[10],d}(),[u,m]=(0,ct.useState)(!1),[h]=sg(),p=(0,ct.useRef)(void 0),f=”gif”===s.presentation,g=f||r;let x,_;t[0]!==h||t[1]!==f||t[2]!==c?(x=()=>{if(!n.current)return;if(h&&!i.IS_WEB_FIREFOX)return;const e=new IntersectionObserver((e=>{const t=e[0];t&&(m(t.isIntersecting),f||c(t.boundingClientRect.y+t.boundingClientRect.height/2))}),{threshold:.5});return e.observe(n.current),()=>e.disconnect()},_=[c,h,f],t[0]=h,t[1]=f,t[2]=c,t[3]=x,t[4]=_):(x=t[3],_=t[4]),(0,ct.useEffect)(x,_);const[y,b]=(0,ct.useState)(0);let j;t[5]!==y?(j=e=>(0,jt.jsx)(Ng,{error:e,retry:()=>b(y+1)}),t[5]=y,t[6]=j):j=t[6];const v=j;let S;const w=s.aspectRatio;let T;w&&(S=w.width/w.height,Number.isNaN(S)&&(S=void 0)),void 0!==S&&(T=Math.max(S,.5));const k=`url(${s.thumbnail})`;let C,I,A,P;t[7]!==o.palette.black||t[8]!==k?(C={display:”flex”,flex:1,cursor:”default”,backgroundColor:o.palette.black,backgroundImage:k,backgroundSize:”contain”,backgroundPosition:”center”,backgroundRepeat:”no-repeat”},t[7]=o.palette.black,t[8]=k,t[9]=C):C=t[9],t[10]!==g||t[11]!==s||t[12]!==u||t[13]!==l?(I=(0,jt.jsx)(Fg,{children:(0,jt.jsx)(Sg,{embed:s,active:g,setActive:l,onScreen:u,lastKnownTime:p})}),t[10]=g,t[11]=s,t[12]=u,t[13]=l,t[14]=I):I=t[14],t[15]!==y||t[16]!==v||t[17]!==I?(A=(0,jt.jsx)(Ii,{renderError:v,children:I},y),t[15]=y,t[16]=v,t[17]=I,t[18]=A):A=t[18],t[19]!==C||t[20]!==A?(P=(0,jt.jsx)(“div”,{ref:n,style:C,onClick:Dg,children:A}),t[19]=C,t[20]=A,t[21]=P):P=t[21];const E=P;let L;t[22]===Symbol.for(“react.memo_cache_sentinel”)?(L=[to.atoms.pt_xs],t[22]=L):L=t[22];const R=f?Lg:c,D=null!==d,B=T||1;let O,M,F;return t[23]===Symbol.for(“react.memo_cache_sentinel”)?(O=(0,jt.jsx)(qm.MediaInsetBorder,{}),t[23]=O):O=t[23],t[24]!==E||t[25]!==B?(M=(0,jt.jsxs)(Df,{fullBleed:!0,aspectRatio:B,minMobileAspectRatio:1.5555555555555556,children:[E,O]}),t[24]=E,t[25]=B,t[26]=M):M=t[26],t[27]!==R||t[28]!==D||t[29]!==M?(F=(0,jt.jsx)(Qs.default,{style:L,children:(0,jt.jsx)(Og,{sendPosition:R,isAnyViewActive:D,children:M})}),t[27]=R,t[28]=D,t[29]=M,t[30]=F):F=t[30],F}function Dg(e){return e.stopPropagation()}const Bg=(0,ct.createContext)(!1);function Og(e){const t=(0,a.c)(17),{children:s,sendPosition:o,isAnyViewActive:n}=e,r=(0,ct.useRef)(null),[l,c]=(0,ct.useState)(!1),[d]=sg(),u=eg();let m,h,p,f,g,x,_,y;return t[0]!==d||t[1]!==o?(m=()=>{if(!r.current)return;if(d&&!i.IS_WEB_FIREFOX)return;const e=new IntersectionObserver((e=>{const t=e[0];if(!t)return;const s=t.boundingClientRect.y+t.boundingClientRect.height/2;o(s),c(t.isIntersecting)}),{threshold:Array.from({length:101},Mg)});return e.observe(r.current),()=>e.disconnect()},h=[o,d],t[0]=d,t[1]=o,t[2]=m,t[3]=h):(m=t[2],h=t[3]),(0,ct.useEffect)(m,h),t[4]!==n||t[5]!==o?(p=()=>{if(r.current&&!n){const e=r.current.getBoundingClientRect(),t=e.y+e.height/2;o(t)}},f=[n,o],t[4]=n,t[5]=o,t[6]=p,t[7]=f):(p=t[6],f=t[7]),(0,ct.useEffect)(p,f),t[8]===Symbol.for(“react.memo_cache_sentinel”)?(g=[to.atoms.flex_1,to.atoms.flex_row],t[8]=g):g=t[8],t[9]!==s||t[10]!==l?(x=(0,jt.jsx)(Bg.Provider,{value:l,children:s}),t[9]=s,t[10]=l,t[11]=x):x=t[11],t[12]!==u?(_=(0,jt.jsx)(“div”,{ref:r,style:Object.assign({},u?{top:0,height:”100%”}:{top:”calc(50% – 50vh)”,height:”100vh”},{position:”absolute”,left:”50%”,width:1,pointerEvents:”none”})}),t[12]=u,t[13]=_):_=t[13],t[14]!==x||t[15]!==_?(y=(0,jt.jsxs)(Qs.default,{style:g,children:[x,_]}),t[14]=x,t[15]=_,t[16]=y):y=t[16],y}function Mg(e,t){return t/100}Bg.displayName=”VideoNearScreenContext”;const Fg=e=>{const{children:t}=e;return(0,ct.useContext)(Bg)?t:null};function Ng(e){const t=(0,a.c)(14),{error:s,retry:o}=e,{_:n}=(0,ut.useLingui)();let r,i,l,c,d=!0;if(s instanceof Tg){let e;t[0]!==n?(e=n({id:”n/s0oy”}),t[0]=n,t[1]=e):e=t[1],r=e}else if(s instanceof wg){let e;d=!1,t[2]!==n?(e=n({id:”Y8f6Xh”}),t[2]=n,t[3]=e):e=t[3],r=e}else{let e;t[4]!==n?(e=n({id:”xNDFpR”}),t[4]=n,t[5]=e):e=t[5],r=e}return t[6]!==r?(i=(0,jt.jsx)(Pg,{children:r}),t[6]=r,t[7]=i):i=t[7],t[8]!==o||t[9]!==d?(l=d&&(0,jt.jsx)(Eg,{onPress:o}),t[8]=o,t[9]=d,t[10]=l):l=t[10],t[11]!==i||t[12]!==l?(c=(0,jt.jsxs)(Ag,{children:[i,l]}),t[11]=i,t[12]=l,t[13]=c):c=t[13],c}const Hg=[“embed”],Vg=[“embed”],zg=[“embed”];function Ug(e){const t=(0,a.c)(21);let s,o,n;if(t[0]!==e){var r=e;({embed:s}=r),o=(0,la.default)(r,Hg),t[0]=e,t[1]=s,t[2]=o}else s=t[1],o=t[2];t[3]!==s?(n=(0,ef.parseEmbed)(s),t[3]=s,t[4]=n):n=t[4];const i=n;switch(i.type){case”images”:case”link”:case”video”:{let e;return t[5]!==i||t[6]!==o?(e=(0,jt.jsx)(Gg,Object.assign({embed:i},o)),t[5]=i,t[6]=o,t[7]=e):e=t[7],e}case”feed”:case”list”:case”starter_pack”:case”labeler”:case”post”:case”post_not_found”:case”post_blocked”:case”post_detached”:{let e;return t[8]!==i||t[9]!==o?(e=(0,jt.jsx)(Wg,Object.assign({embed:i},o)),t[8]=i,t[9]=o,t[10]=e):e=t[10],e}case”post_with_media”:{let e,s,n;return t[11]!==i.media||t[12]!==o?(e=(0,jt.jsx)(Gg,Object.assign({embed:i.media},o)),t[11]=i.media,t[12]=o,t[13]=e):e=t[13],t[14]!==i.view||t[15]!==o?(s=(0,jt.jsx)(Wg,Object.assign({embed:i.view},o)),t[14]=i.view,t[15]=o,t[16]=s):s=t[16],t[17]!==o.style||t[18]!==e||t[19]!==s?(n=(0,jt.jsxs)(Qs.default,{style:o.style,children:[e,s]}),t[17]=o.style,t[18]=e,t[19]=s,t[20]=n):n=t[20],n}default:return null}}function Gg(e){const t=(0,a.c)(10);let s;if(t[0]!==e){s=Symbol.for(“react.early_return_sentinel”);e:{const{embed:o}=e,n=(0,la.default)(e,Vg);switch(o.type){case”images”:{let e;t[2]===Symbol.for(“react.memo_cache_sentinel”)?(e=[to.atoms.mt_sm],t[2]=e):e=t[2],s=(0,jt.jsx)(zp,{modui:n.moderation?.ui(“contentMedia”),activeStyle:e,children:(0,jt.jsx)(Wf,Object.assign({embed:o},n))});break e}case”link”:{let e;t[3]===Symbol.for(“react.memo_cache_sentinel”)?(e=[to.atoms.mt_sm],t[3]=e):e=t[3],s=(0,jt.jsx)(zp,{modui:n.moderation?.ui(“contentMedia”),activeStyle:e,children:(0,jt.jsx)(Cf,{link:o.view.external,onOpen:n.onOpen,style:[to.atoms.mt_sm,n.style]})});break e}case”video”:{const e=n.moderation?.ui(“contentMedia”);let a,r,i;t[4]===Symbol.for(“react.memo_cache_sentinel”)?(a=[to.atoms.mt_sm],t[4]=a):a=t[4],t[5]!==o.view?(r=(0,jt.jsx)(Rg,{embed:o.view}),t[5]=o.view,t[6]=r):r=t[6],t[7]!==e||t[8]!==r?(i=(0,jt.jsx)(zp,{modui:e,activeStyle:a,children:r}),t[7]=e,t[8]=r,t[9]=i):i=t[9],s=i;break e}default:s=null;break e}}t[0]=e,t[1]=s}else s=t[1];if(s!==Symbol.for(“react.early_return_sentinel”))return s}function Wg(e){const t=(0,a.c)(18);let s,o;if(t[0]!==e){var n=e;({embed:s}=n),o=(0,la.default)(n,zg),t[0]=e,t[1]=s,t[2]=o}else s=t[1],o=t[2];switch(s.type){case”feed”:{let e;return t[3]!==s||t[4]!==o?(e=(0,jt.jsx)(Qs.default,{style:to.atoms.mt_sm,children:(0,jt.jsx)(Af,Object.assign({embed:s},o))}),t[3]=s,t[4]=o,t[5]=e):e=t[5],e}case”list”:{let e;return t[6]!==s?(e=(0,jt.jsx)(Qs.default,{style:to.atoms.mt_sm,children:(0,jt.jsx)(Zf,{embed:s})}),t[6]=s,t[7]=e):e=t[7],e}case”starter_pack”:{let e;return t[8]!==s.view?(e=(0,jt.jsx)(Qs.default,{style:to.atoms.mt_sm,children:(0,jt.jsx)(Jp.Embed,{starterPack:s.view})}),t[8]=s.view,t[9]=e):e=t[9],e}case”labeler”:default:return null;case”post”:{if(o.isWithinQuote&&!o.allowNestedQuotes)return null;const e=o.viewContext===Of.Feed?Mf.FeedEmbedRecordWithMedia:void 0;let n;return t[10]!==s||t[11]!==o||t[12]!==e?(n=(0,jt.jsx)(Qg,Object.assign({},o,{embed:s,viewContext:e,isWithinQuote:o.isWithinQuote,allowNestedQuotes:o.allowNestedQuotes})),t[10]=s,t[11]=o,t[12]=e,t[13]=n):n=t[13],n}case”post_not_found”:{let e;return t[14]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,jt.jsx)(Yf,{children:(0,jt.jsx)(ut.Trans,{id:”vGjmyl”})}),t[14]=e):e=t[14],e}case”post_blocked”:{let e;return t[15]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,jt.jsx)(Yf,{children:(0,jt.jsx)(ut.Trans,{id:”32TndD”})}),t[15]=e):e=t[15],e}case”post_detached”:{let e;return t[16]!==s?(e=(0,jt.jsx)(qg,{embed:s}),t[16]=s,t[17]=e):e=t[17],e}}}function qg(e){const t=(0,a.c)(5),{embed:s}=e,{currentAccount:o}=(0,Yt.useSession)();let n;t[0]!==o||t[1]!==s?(n=!!o?.did&&s.view.uri.includes(o.did),t[0]=o,t[1]=s,t[2]=n):n=t[2];const r=n;let i;return t[3]!==r?(i=(0,jt.jsx)(Yf,{children:r?(0,jt.jsx)(ut.Trans,{id:”e8qFwn”}):(0,jt.jsx)(ut.Trans,{id:”W71sdV”})}),t[3]=r,t[4]=i):i=t[4],i}function Qg({embed:e,onOpen:t,style:s,linkDisabled:o,isWithinQuote:n,allowNestedQuotes:a}){const r=(0,bs.useModerationOpts)(),i=(0,ct.useMemo)((()=>Object.assign({},e.view,{$type:”app.bsky.feed.defs#postView”,record:e.view.value,embed:e.view.embeds?.[0]})),[e]),l=(0,ct.useMemo)((()=>r?(0,On.moderatePost)(i,r):void 0),[i,r]),c=(0,to.useTheme)(),d=(0,Mn.useQueryClient)(),u=new On.AtUri(i.uri),m=(0,Jd.makeProfileLink)(i.author,”post”,u.rkey),h=`Post by ${i.author.handle}`,p=(0,ct.useMemo)((()=>{if(!Qm.dangerousIsType(i.record,On.AppBskyFeedPost.isRecord))return;const{text:e,facets:t}=i.record;return e.trim()?new On.RichText({text:e,facets:t}):void 0}),[i.record]),f=(0,ct.useCallback)((()=>{(0,Qt.unstableCacheProfileView)(d,i.author),t?.()}),[d,i.author,t]),{state:g,onIn:x,onOut:_}=(0,Dd.useInteractionState)(),{state:y,onIn:b,onOut:j}=(0,Dd.useInteractionState)(),v=(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(Np,{author:i.author,moderation:l,showAvatar:!0,postHref:m,timestamp:i.indexedAt,linkDisabled:!0}),l?(0,jt.jsx)(Xp,{modui:l.ui(“contentView”),style:[to.atoms.py_xs]}):null,p?(0,jt.jsx)(lr.RichText,{value:p,style:to.atoms.text_md,numberOfLines:20,disableLinks:!0}):null,i.embed&&(0,jt.jsx)(Ug,{embed:i.embed,moderation:l,isWithinQuote:n??!0,allowNestedQuotes:!n&&a})]});return(0,jt.jsx)(Qs.default,{style:[to.atoms.mt_sm],onPointerEnter:o?void 0:x,onPointerLeave:o?void 0:_,children:(0,jt.jsx)(zp,{modui:l?.ui(“contentList”),style:[to.atoms.rounded_md,to.atoms.border,c.atoms.border_contrast_low,s],activeStyle:[to.atoms.p_md,to.atoms.pt_sm],childContainerStyle:[to.atoms.pt_sm],children:({active:e})=>(0,jt.jsxs)(jt.Fragment,{children:[!e&&!o&&(0,jt.jsx)(jp,{native:!0,hover:g||y,style:[to.atoms.rounded_md]}),o?(0,jt.jsx)(Qs.default,{style:[!e&&to.atoms.p_md],pointerEvents:”none”,children:v}):(0,jt.jsx)(Hd,{style:[!e&&to.atoms.p_md],hoverStyle:c.atoms.border_contrast_high,href:m,title:h,onBeforePress:f,onPressIn:b,onPressOut:j,children:v})]})})})}function Kg(e){const t=(0,a.c)(16);let s,{did:o,attr:n,failed:r,prefix:i,style:l}=e;n=n||”handle”,r=r||”user”,t[0]!==o?(s={did:o,staleTime:bt.STALE.INFINITY},t[0]=o,t[1]=s):s=t[1];const{data:c,isError:d}=(0,Qt.useProfileQuery)(s);if(d){let e;return t[2]!==r||t[3]!==l?(e=(0,jt.jsx)(_o.Text,{style:l,numberOfLines:1,children:r}),t[2]=r,t[3]=l,t[4]=e):e=t[4],e}if(c){const e=`${i||””}${(0,Ln.sanitizeDisplayName)(“string”===typeof c[n]&&c[n]?c[n]:(0,Dn.sanitizeHandle)(c.handle))}`,s=l;let o,a,r;return t[5]!==c?(o=(0,Jd.makeProfileLink)(c),t[5]=c,t[6]=o):o=t[6],t[7]!==l||t[8]!==e?(a=(0,jt.jsx)(_o.Text,{emoji:!0,style:l,children:e}),t[7]=l,t[8]=e,t[9]=a):a=t[9],t[10]!==l||t[11]!==o||t[12]!==a||t[13]!==e?(r=(0,jt.jsx)(go.InlineLinkText,{label:e,style:s,numberOfLines:1,to:o,children:a}),t[10]=l,t[11]=o,t[12]=a,t[13]=e,t[14]=r):r=t[14],r}let u;return t[15]===Symbol.for(“react.memo_cache_sentinel”)?(u=(0,jt.jsx)(vu,{width:80,height:8,style:[to.atoms.relative,{top:1,left:2}]}),t[15]=u):u=t[15],u}const Zg=(0,na.createSinglePathSVG)({path:”M15.793 10.293a1 1 0 0 1 1.338-.068l.076.068 3.293 3.293a2 2 0 0 1 .138 2.677l-.138.151-3.293 3.293a1 1 0 1 1-1.414-1.414L18.086 16H8a5 5 0 0 1-5-5V5a1 1 0 0 1 2 0v6a3 3 0 0 0 3 3h10.086l-2.293-2.293-.068-.076a1 1 0 0 1 .068-1.338Z”});function Yg(e){const t=(0,a.c)(25),{parentAuthor:s,isParentBlocked:o,isParentNotFound:n}=e,r=(0,to.useTheme)(),{currentAccount:i}=(0,Yt.useSession)();let l;t[0]!==r.atoms.text_contrast_medium?(l=[to.atoms.text_sm,r.atoms.text_contrast_medium,to.atoms.leading_snug],t[0]=r.atoms.text_contrast_medium,t[1]=l):l=t[1];const c=l;let d,u,m,h,p,f,g;if(o){let e;t[2]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,jt.jsx)(ut.Trans,{id:”+tnbgX”}),t[2]=e):e=t[2],d=e}else if(n){let e;t[3]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,jt.jsx)(ut.Trans,{id:”0BWo2g”}),t[3]=e):e=t[3],d=e}else if(s){const e=”string”===typeof s?s:s.did;if(i?.did===e){let e;t[4]===Symbol.for(“react.memo_cache_sentinel”)?(e=(0,jt.jsx)(ut.Trans,{id:”wvP61I”}),t[4]=e):e=t[4],d=e}else{let s,o,n;t[5]!==e?(s=(0,jt.jsx)(Mp.ProfileHoverCard,{did:e}),t[5]=e,t[6]=s):s=t[6],t[7]!==e||t[8]!==c?(o=(0,jt.jsx)(Kg,{did:e,attr:”displayName”,style:c}),t[7]=e,t[8]=c,t[9]=o):o=t[9],t[10]!==s||t[11]!==o?(n=(0,jt.jsx)(ut.Trans,{id:”ifYc6D”,components:{0:s,1:o}}),t[10]=s,t[11]=o,t[12]=n):n=t[12],d=n}}return d?(t[13]===Symbol.for(“react.memo_cache_sentinel”)?(u=[to.atoms.flex_row,to.atoms.align_center,to.atoms.pb_xs,to.atoms.gap_xs],t[13]=u):u=t[13],t[14]===Symbol.for(“react.memo_cache_sentinel”)?(m={top:-1},t[14]=m):m=t[14],t[15]!==r.atoms.text_contrast_medium?(h=(0,jt.jsx)(Zg,{size:”xs”,style:[r.atoms.text_contrast_medium,m]}),t[15]=r.atoms.text_contrast_medium,t[16]=h):h=t[16],t[17]!==c?(p=[to.atoms.flex_1,c],t[17]=c,t[18]=p):p=t[18],t[19]!==d||t[20]!==p?(f=(0,jt.jsx)(_o.Text,{style:p,numberOfLines:1,children:d}),t[19]=d,t[20]=p,t[21]=f):f=t[21],t[22]!==h||t[23]!==f?(g=(0,jt.jsxs)(Qs.default,{style:u,children:[h,f]}),t[22]=h,t[23]=f,t[24]=g):g=t[24],g):null}function $g(e){const t=(0,a.c)(16),{onPress:s,style:o}=e,n=(0,to.useTheme)(),{_:r}=(0,ut.useLingui)();let i;t[0]!==s?(i=()=>{au.default.configureNext(au.default.Presets.easeInEaseOut),s()},t[0]=s,t[1]=i):i=t[1];const l=i;let c;t[2]!==o?(c=(0,to.flatten)([to.atoms.leading_snug,to.atoms.text_sm,o]),t[2]=o,t[3]=c):c=t[3];const d=c;let u;t[4]!==r?(u=r({id:”r1B9lp”}),t[4]=r,t[5]=u):u=t[5];const m=d.fontSize/3;let h,p,f;return t[6]!==m?(h=[to.atoms.self_start,{paddingBottom:m}],t[6]=m,t[7]=h):h=t[7],t[8]!==n.palette.primary_500||t[9]!==d?(p=e=>{const{pressed:t,hovered:s}=e;return(0,jt.jsx)(_o.Text,{style:[d,{color:n.palette.primary_500,opacity:t?.6:1,textDecorationLine:s?”underline”:void 0}],children:(0,jt.jsx)(ut.Trans,{id:”YHc0+l”})})},t[8]=n.palette.primary_500,t[9]=d,t[10]=p):p=t[10],t[11]!==l||t[12]!==u||t[13]!==h||t[14]!==p?(f=(0,jt.jsx)(po.Button,{label:u,onPress:l,style:h,hitSlop:Wt.HITSLOP_10,children:p}),t[11]=l,t[12]=u,t[13]=h,t[14]=p,t[15]=f):f=t[15],f}function Xg(){const e=(0,a.c)(2),{i18n:t}=(0,ut.useLingui)();let s;return e[0]!==t?(s=e=>{const s=e>=1e4;return t.number(e,{notation:”compact”,maximumFractionDigits:s?0:1,roundingMode:”trunc”})},e[0]=t,e[1]=s):s=e[1],s}const Jg={duration:400,easing:”cubic-bezier(0.4, 0, 0.2, 1)”,fill:”forwards”},ex=[{opacity:0,transform:”translateY(18px)”},{opacity:1,transform:”translateY(0)”}],tx=[{opacity:0,transform:”translateY(-18px)”},{opacity:1,transform:”translateY(0)”}],sx=[{opacity:1,transform:”translateY(0)”},{opacity:0,transform:”translateY(-18px)”}],ox=[{opacity:1,transform:”translateY(0)”},{opacity:0,transform:”translateY(18px)”}];function nx(e){const t=(0,a.c)(34),{likeCount:s,big:o,isLiked:n,hasBeenToggled:r}=e,i=(0,to.useTheme)(),l=!(0,Cn.useReducedMotion)()&&r;let c;t[0]!==n||t[1]!==s?(c=function(e,t){let s=!1;if(e||1!==t){if(t>1&&t<1e3)s=!0;else if(t>0){const o=t%100;e&&0===o?s=!0:e||99!==o||(s=!0)}}else s=!0;return s}(n,s),t[0]=n,t[1]=s,t[2]=c):c=t[2];const d=c,u=ct.useRef(null),m=ct.useRef(null),[h,p]=ct.useState(s),f=ct.useRef(n),g=Xg();let x;t[3]!==g||t[4]!==s?(x=g(s),t[3]=g,t[4]=s,t[5]=x):x=t[5];const _=x;let y;t[6]!==g||t[7]!==h?(y=g(h),t[6]=g,t[7]=h,t[8]=y):y=t[8];const b=y;let j,v;if(t[9]!==n||t[10]!==s||t[11]!==l||t[12]!==d?(j=()=>{if(n===f.current)return;const e=n?s-1:s+1;l&&d&&(u.current?.animate?.(n?ex:tx,Jg),m.current?.animate?.(n?sx:ox,Jg),p(e)),f.current=n},v=[n,s,l,d],t[9]=n,t[10]=s,t[11]=l,t[12]=d,t[13]=j,t[14]=v):(j=t[13],v=t[14]),ct.useEffect(j,v),s<1)return null;const S=o?to.atoms.text_md:to.atoms.text_sm;let w,T,k,C,I;return t[15]!==n||t[16]!==i?(w=n?[to.atoms.font_semi_bold,Bn.s.likeColor]:{color:i.palette.contrast_500},t[15]=n,t[16]=i,t[17]=w):w=t[17],t[18]!==S||t[19]!==w?(T=[S,to.atoms.user_select_none,w],t[18]=S,t[19]=w,t[20]=T):T=t[20],t[21]!==_||t[22]!==T?(k=(0,jt.jsx)(Qs.default,{ref:u,children:(0,jt.jsx)(di.Text,{testID:"likeCount",style:T,children:_})}),t[21]=_,t[22]=T,t[23]=k):k=t[23],t[24]!==o||t[25]!==b||t[26]!==n||t[27]!==s||t[28]!==l||t[29]!==i?(C=l&&(s>1||!n)?(0,jt.jsx)(Qs.default,{style:{position:”absolute”,opacity:0},”aria-disabled”:!0,ref:m,children:(0,jt.jsx)(di.Text,{style:[o?to.atoms.text_md:to.atoms.text_sm,to.atoms.user_select_none,n?[to.atoms.font_semi_bold,Bn.s.likeColor]:{color:i.palette.contrast_500}],children:b})}):null,t[24]=o,t[25]=b,t[26]=n,t[27]=s,t[28]=l,t[29]=i,t[30]=C):C=t[30],t[31]!==C||t[32]!==k?(I=(0,jt.jsxs)(Qs.default,{children:[k,C]}),t[31]=C,t[32]=k,t[33]=I):I=t[33],I}const ax={duration:600,easing:”cubic-bezier(0.4, 0, 0.2, 1)”,fill:”forwards”},rx=[{transform:”scale(1)”},{transform:”scale(0.7)”},{transform:”scale(1.2)”},{transform:”scale(1)”}],ix=[{opacity:0,transform:”scale(0)”},{opacity:.4},{transform:”scale(1.5)”},{opacity:.4},{opacity:0,transform:”scale(1.5)”}],lx=[{opacity:0,transform:”scale(0)”},{opacity:1},{transform:”scale(0)”},{opacity:1},{opacity:0,transform:”scale(1.5)”}];function cx(e){const t=(0,a.c)(19),{isLiked:s,big:o,hasBeenToggled:n}=e,r=(0,to.useTheme)(),i=o?22:18,l=!(0,Cn.useReducedMotion)()&&n,c=ct.useRef(s),d=ct.useRef(null),u=ct.useRef(null),m=ct.useRef(null);let h,p,f;t[0]!==s||t[1]!==l?(h=()=>{c.current!==s&&(l&&s&&(d.current?.animate?.(rx,ax),u.current?.animate?.(ix,ax),m.current?.animate?.(lx,ax)),c.current=s)},p=[l,s],t[0]=s,t[1]=l,t[2]=h,t[3]=p):(h=t[2],p=t[3]),ct.useEffect(h,p),t[4]!==s||t[5]!==i||t[6]!==r.palette?(f=s?(0,jt.jsx)(Qs.default,{ref:d,children:(0,jt.jsx)(xu,{style:Bn.s.likeColor,width:i})}):(0,jt.jsx)(gu,{style:[{color:r.palette.contrast_500},{pointerEvents:”none”}],width:i}),t[4]=s,t[5]=i,t[6]=r.palette,t[7]=f):f=t[7];const g=i/2;let x;t[8]!==i||t[9]!==g?(x=(0,jt.jsx)(Qs.default,{ref:u,style:{position:”absolute”,backgroundColor:Bn.s.likeColor.color,top:0,left:0,width:i,height:i,zIndex:-1,pointerEvents:”none”,borderRadius:g,opacity:0}}),t[8]=i,t[9]=g,t[10]=x):x=t[10];const _=i/2;let y,b;return t[11]!==i||t[12]!==r.atoms.bg.backgroundColor||t[13]!==_?(y=(0,jt.jsx)(Qs.default,{ref:m,style:{position:”absolute”,backgroundColor:r.atoms.bg.backgroundColor,top:0,left:0,width:i,height:i,zIndex:-1,pointerEvents:”none”,borderRadius:_,opacity:0}}),t[11]=i,t[12]=r.atoms.bg.backgroundColor,t[13]=_,t[14]=y):y=t[14],t[15]!==f||t[16]!==x||t[17]!==y?(b=(0,jt.jsxs)(Qs.default,{children:[f,x,y]}),t[15]=f,t[16]=x,t[17]=y,t[18]=b):b=t[18],b}var dx=o(87272);const ux=(0,na.createSinglePathSVG)({path:”M20.002 7a2 2 0 0 0-2-2h-12a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2a1 1 0 0 1 1 1v1.918l3.375-2.7a1 1 0 0 1 .625-.218h5a2 2 0 0 0 2-2V7Zm2 8a4 4 0 0 1-4 4h-4.648l-4.727 3.781A1.001 1.001 0 0 1 7.002 22v-3h-1a4 4 0 0 1-4-4V7a4 4 0 0 1 4-4h12a4 4 0 0 1 4 4v8Z”});(0,na.createSinglePathSVG)({path:”M22.002 15a4 4 0 0 1-4 4h-4.648l-4.727 3.781A1.001 1.001 0 0 1 7.002 22v-3h-1a4 4 0 0 1-4-4V7a4 4 0 0 1 4-4h12a4 4 0 0 1 4 4v8Z”});var mx=o(24834);const hx=[“width”],px=[“lineHeight”];function fx(e){const t=(0,a.c)(22),{blend:s,style:o}=e,{fonts:n,flags:r,theme:i}=(0,to.useAlf)();let l,c,d,u;if(t[0]!==r||t[1]!==n.family||t[2]!==n.scaleMultiplier||t[3]!==o){const e=(0,to.flatten)(o),{width:s}=e,a=(0,la.default)(e,hx);c=s,l=(0,mx.normalizeTextStyles)([to.atoms.text_sm,to.atoms.leading_snug,a],{fontScale:n.scaleMultiplier,fontFamily:n.family,flags:r}),t[0]=r,t[1]=n.family,t[2]=n.scaleMultiplier,t[3]=o,t[4]=l,t[5]=c}else l=t[4],c=t[5];if(t[6]!==l){var m=l;({lineHeight:u}=m),d=(0,la.default)(m,px),t[6]=l,t[7]=d,t[8]=u}else d=t[7],u=t[8];const h=void 0===u?14:u,p=.15*h;let f;t[9]!==p||t[10]!==c?(f=[to.atoms.flex_1,{maxWidth:c,paddingVertical:p}],t[9]=p,t[10]=c,t[11]=f):f=t[11];const g=.7*h,x=s?.6:1;let _,y,b;return t[12]!==g||t[13]!==x?(_={height:g,opacity:x},t[12]=g,t[13]=x,t[14]=_):_=t[14],t[15]!==d||t[16]!==i.atoms.bg_contrast_50||t[17]!==_?(y=(0,jt.jsx)(Qs.default,{style:[to.atoms.rounded_md,i.atoms.bg_contrast_50,_,d]}),t[15]=d,t[16]=i.atoms.bg_contrast_50,t[17]=_,t[18]=y):y=t[18],t[19]!==f||t[20]!==y?(b=(0,jt.jsx)(Qs.default,{style:f,children:y}),t[19]=f,t[20]=y,t[21]=b):b=t[21],b}function gx(e){const t=(0,a.c)(10),{children:s,size:o,blend:n,style:r}=e,i=(0,to.useTheme)(),l=n?.6:1;let c,d,u;return t[0]!==o||t[1]!==l?(c={width:o,height:o,opacity:l},t[0]=o,t[1]=l,t[2]=c):c=t[2],t[3]!==r||t[4]!==i.atoms.bg_contrast_50||t[5]!==c?(d=[to.atoms.justify_center,to.atoms.align_center,to.atoms.rounded_full,i.atoms.bg_contrast_50,c,r],t[3]=r,t[4]=i.atoms.bg_contrast_50,t[5]=c,t[6]=d):d=t[6],t[7]!==s||t[8]!==d?(u=(0,jt.jsx)(Qs.default,{style:d,children:s}),t[7]=s,t[8]=d,t[9]=u):u=t[9],u}function xx(e){const t=(0,a.c)(8),{size:s,blend:o,style:n}=e,r=(0,to.useTheme)(),i=1.618*s,l=o?.6:1;let c,d;return t[0]!==s||t[1]!==i||t[2]!==l?(c={width:i,height:s,opacity:l},t[0]=s,t[1]=i,t[2]=l,t[3]=c):c=t[3],t[4]!==n||t[5]!==r.atoms.bg_contrast_50||t[6]!==c?(d=(0,jt.jsx)(Qs.default,{style:[to.atoms.rounded_full,r.atoms.bg_contrast_50,c,n]}),t[4]=n,t[5]=r.atoms.bg_contrast_50,t[6]=c,t[7]=d):d=t[7],d}function _x(e){const t=(0,a.c)(5),{children:s,style:o}=e;let n,r;return t[0]!==o?(n=[to.atoms.flex_1,o],t[0]=o,t[1]=n):n=t[1],t[2]!==s||t[3]!==n?(r=(0,jt.jsx)(Qs.default,{style:n,children:s}),t[2]=s,t[3]=n,t[4]=r):r=t[4],r}function yx(e){const t=(0,a.c)(5),{children:s,style:o}=e;let n,r;return t[0]!==o?(n=[to.atoms.flex_row,o],t[0]=o,t[1]=n):n=t[1],t[2]!==s||t[3]!==n?(r=(0,jt.jsx)(Qs.default,{style:n,children:s}),t[2]=s,t[3]=n,t[4]=r):r=t[4],r}var bx=o(37246);function jx(){const e=(0,a.c)(3),t=(0,Mn.useQueryClient)(),s=(0,Yt.useAgent)();let o;return e[0]!==s||e[1]!==t?(o={async mutationFn(e){“create”===e.action?((0,eu.updatePostShadow)(t,e.post.uri,{bookmarked:!0}),await s.app.bsky.bookmark.createBookmark({uri:e.post.uri,cid:e.post.cid})):”delete”===e.action&&((0,eu.updatePostShadow)(t,e.uri,{bookmarked:!1}),await s.app.bsky.bookmark.deleteBookmark({uri:e.uri}))},onSuccess(e,s){“create”===s.action?(0,bx.optimisticallySaveBookmark)(t,s.post):”delete”===s.action&&(0,bx.optimisticallyDeleteBookmark)(t,{uri:s.uri})},onError(e,s){“create”===s.action?(0,eu.updatePostShadow)(t,s.post.uri,{bookmarked:!1}):”delete”===s.action&&(0,eu.updatePostShadow)(t,s.uri,{bookmarked:!0}),(0,Rn.isNetworkError)(e)||Ht.logger.error(“bookmark mutation failed”,{bookmarkAction:s.action,safeMessage:e})}},e[0]=s,e[1]=t,e[2]=o):o=e[2],(0,wo.useMutation)(o)}const vx=(0,na.createSinglePathSVG)({path:”M9.7 16.895a4 4 0 0 1 4.6 0l3.7 2.6V6.5a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v12.995l3.7-2.6Zm10.3 2.6c0 1.62-1.825 2.567-3.15 1.636l-3.7-2.6a2.001 2.001 0 0 0-2.3 0l-3.7 2.6C5.825 22.062 4 21.115 4 19.495V6.5a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v12.995Z”}),Sx=(0,na.createSinglePathSVG)({path:”M16 2.5a4 4 0 0 1 4 4v12.995c0 1.62-1.825 2.567-3.15 1.636l-3.7-2.6a2.001 2.001 0 0 0-2.3 0l-3.7 2.6C5.825 22.062 4 21.115 4 19.495V6.5a4 4 0 0 1 4-4h8Z”}),wx=(0,na.createSinglePathSVG)({path:”M14.2 2.625c.834 0 1.482 0 2.001.042.523.043.949.131 1.331.326.635.324 1.151.84 1.475 1.475.195.382.283.807.326 1.33.042.52.042 1.168.042 2.002v11.09c0 .495 0 .893-.027 1.199-.028.301-.087.585-.26.809-.249.323-.63.518-1.037.533-.282.01-.547-.107-.808-.26-.265-.154-.588-.385-.991-.673l-3.54-2.528c-.36-.258-.461-.322-.559-.347a.626.626 0 0 0-.306 0c-.098.025-.199.09-.559.347l-3.54 2.528c-.403.288-.726.519-.991.674-.261.152-.526.269-.808.259a1.376 1.376 0 0 1-1.038-.534c-.172-.223-.231-.507-.259-.808a7.31 7.31 0 0 1-.024-.528l-.003-.67V7.8c0-.834 0-1.482.042-2.001.043-.523.13-.949.325-1.331a3.376 3.376 0 0 1 1.476-1.475c.382-.195.808-.283 1.33-.326.52-.042 1.168-.042 2.002-.042h4.4Zm-4.4.75c-.846 0-1.458 0-1.94.04-.477.039-.792.114-1.051.246A2.626 2.626 0 0 0 5.66 4.81c-.132.259-.208.574-.247 1.051-.04.482-.039 1.094-.039 1.94v11.09l.003.658c.003.186.01.34.021.473.025.267.07.37.106.418a.626.626 0 0 0 .472.243c.059.002.168-.022.4-.158.23-.133.52-.34.935-.636l3.54-2.529c.308-.22.543-.396.81-.464.222-.056.454-.056.676 0 .267.068.5.244.81.464l3.54 2.529c.414.296.704.503.933.636.233.137.343.16.402.158a.626.626 0 0 0 .472-.243c.036-.048.081-.15.106-.419.024-.263.024-.62.024-1.13V7.8c0-.846 0-1.458-.04-1.94-.039-.477-.114-.792-.246-1.051A2.627 2.627 0 0 0 17.19 3.66c-.259-.132-.575-.207-1.051-.246-.482-.04-1.094-.04-1.94-.04H9.8Zm4.056 4.238a.375.375 0 0 1 .53.53L12.53 10l1.857 1.856a.375.375 0 0 1-.53.53L12 10.53l-1.856 1.857a.375.375 0 0 1-.53-.53L11.47 10 9.613 8.144a.375.375 0 0 1 .53-.53L12 9.47l1.856-1.857Z”}),Tx=[“ref”,”onPress”,”onLongPress”,”children”,”big”,”active”,”activeColor”],kx=[“icon”,”style”],Cx=[“style”],Ix={top:5,bottom:10,left:10,right:10},Ax=(0,ct.createContext)({});function Px(e){const t=(0,a.c)(37);let s,o,n,r,i,l,c,d;if(t[0]!==e){var u=e;({ref:d,onPress:l,onLongPress:i,children:r,big:n,active:s,activeColor:o}=u),c=(0,la.default)(u,Tx),t[0]=e,t[1]=s,t[2]=o,t[3]=n,t[4]=r,t[5]=i,t[6]=l,t[7]=c,t[8]=d}else s=t[1],o=t[2],n=t[3],r=t[4],i=t[5],l=t[6],c=t[7],d=t[8];const m=(0,to.useTheme)(),h=(0,sf.useHaptics)(),p=o&&s?o:m.palette.contrast_500;let f,g;t[9]!==p?(f={color:p},t[9]=p,t[10]=f):f=t[10],t[11]!==s||t[12]!==n||t[13]!==f?(g={big:n,active:s,color:f},t[11]=s,t[12]=n,t[13]=f,t[14]=g):g=t[14];const x=g;let _;t[15]===Symbol.for(“react.memo_cache_sentinel”)?(_=[to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_xs,to.atoms.bg_transparent,{padding:5}],t[15]=_):_=t[15];const y=_;let b;e:{if(!l){b=void 0;break e}let e;t[16]!==l||t[17]!==h?(e=e=>{h(“Light”),l(e)},t[16]=l,t[17]=h,t[18]=e):e=t[18],b=e}const j=b;let v;e:{if(!i){v=void 0;break e}let e;t[19]!==i||t[20]!==h?(e=e=>{h(“Heavy”),i(e)},t[19]=i,t[20]=h,t[21]=e):e=t[21],v=e}const S=v;let w,T,k,C;return t[22]!==c.hitSlop?(w=c.hitSlop||{},t[22]=c.hitSlop,t[23]=w):w=t[23],t[24]!==w?(T=Object.assign({},Ix,w),t[24]=w,t[25]=T):T=t[25],t[26]!==r||t[27]!==x?(k=”function”===typeof r?e=>(0,jt.jsx)(Ax.Provider,{value:x,children:r(e)}):(0,jt.jsx)(Ax.Provider,{value:x,children:r}),t[26]=r,t[27]=x,t[28]=k):k=t[28],t[29]!==S||t[30]!==j||t[31]!==c||t[32]!==d||t[33]!==m.atoms.bg_contrast_25||t[34]!==T||t[35]!==k?(C=(0,jt.jsx)(po.Button,Object.assign({ref:d,onPress:j,onLongPress:S,style:y,hoverStyle:m.atoms.bg_contrast_25,shape:”round”,variant:”ghost”,color:”secondary”},c,{hitSlop:T,children:k})),t[29]=S,t[30]=j,t[31]=c,t[32]=d,t[33]=m.atoms.bg_contrast_25,t[34]=T,t[35]=k,t[36]=C):C=t[36],C}function Ex(e){const t=(0,a.c)(12);let s,o,n;if(t[0]!==e){var r=e;({icon:s,style:n}=r),o=(0,la.default)(r,kx),t[0]=e,t[1]=s,t[2]=o,t[3]=n}else s=t[1],o=t[2],n=t[3];const{big:i,color:l}=(0,ct.useContext)(Ax);let c;t[4]!==l||t[5]!==n?(c=[l,to.atoms.pointer_events_none,n],t[4]=l,t[5]=n,t[6]=c):c=t[6];const d=i?22:18;let u;return t[7]!==s||t[8]!==o||t[9]!==c||t[10]!==d?(u=(0,jt.jsx)(s,Object.assign({style:c},o,{width:d})),t[7]=s,t[8]=o,t[9]=c,t[10]=d,t[11]=u):u=t[11],u}function Lx(e){const t=(0,a.c)(11);let s,o;if(t[0]!==e){var n=e;({style:o}=n),s=(0,la.default)(n,Cx),t[0]=e,t[1]=s,t[2]=o}else s=t[1],o=t[2];const{big:r,active:i,color:l}=(0,ct.useContext)(Ax),c=r?to.atoms.text_md:to.atoms.text_sm,d=i&&to.atoms.font_semi_bold;let u,m;return t[3]!==l||t[4]!==o||t[5]!==c||t[6]!==d?(u=[l,c,d,o],t[3]=l,t[4]=o,t[5]=c,t[6]=d,t[7]=u):u=t[7],t[8]!==s||t[9]!==u?(m=(0,jt.jsx)(_o.Text,Object.assign({style:u},s)),t[8]=s,t[9]=u,t[10]=m):m=t[10],m}Ax.displayName=”PostControlContext”;const Rx=(0,ct.memo)((function({post:t,big:s,logContext:o,hitSlop:n}){const a=(0,to.useTheme)(),r=(0,rn.useAnalytics)(),{_:i}=(0,ut.useLingui)(),{mutateAsync:l}=jx(),c=co(),d=(0,Yt.useRequireAuth)(),{feedDescriptor:u}=by(),{viewer:m}=t,h=!!m?.bookmarked,p=i({id:”IQEa/P”}),f=async({disableUndo:s}={})=>{try{await l({action:”create”,post:t}),r.metric(“post:bookmark”,{uri:t.uri,authorDid:t.author.did,logContext:o,feedDescriptor:u}),Yc.show((0,jt.jsxs)(Yc.Outer,{children:[(0,jt.jsx)(Yc.Icon,{}),(0,jt.jsx)(Yc.Text,{children:(0,jt.jsx)(ut.Trans,{id:”3yJ36z”})}),!s&&(0,jt.jsx)(Yc.Action,{label:p,onPress:()=>g({disableUndo:!0}),children:p})]}),{type:”success”})}catch(e){const{raw:s,clean:o}=c(e);Yc.show(o||s||e,{type:”error”})}},g=async({disableUndo:e}={})=>{try{await l({action:”delete”,uri:t.uri}),r.metric(“post:unbookmark”,{uri:t.uri,authorDid:t.author.did,logContext:o,feedDescriptor:u}),Yc.show((0,jt.jsxs)(Yc.Outer,{children:[(0,jt.jsx)(Yc.Icon,{icon:wr.Trash_Stroke2_Corner0_Rounded}),(0,jt.jsx)(Yc.Text,{children:(0,jt.jsx)(ut.Trans,{id:”ronh4s”})}),!e&&(0,jt.jsx)(Yc.Action,{label:p,onPress:()=>f({disableUndo:!0}),children:p})]}))}catch(s){const{raw:e,clean:t}=c(s);Yc.show(t||e||s,{type:”error”})}};return(0,jt.jsx)(Px,{testID:”postBookmarkBtn”,big:s,label:i(h?{id:”mmSJsq”}:{id:”yTJ26B”}),onPress:()=>d((async()=>{h?await g():await f()})),hitSlop:n,children:(0,jt.jsx)(Ex,{fill:h?a.palette.primary_500:void 0,icon:h?Sx:vx})})})),Dx=(0,na.createSinglePathSVG)({path:”M2 12a2 2 0 1 1 4 0 2 2 0 0 1-4 0Zm16 0a2 2 0 1 1 4 0 2 2 0 0 1-4 0Zm-6-2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z”});var Bx=o(44278);function Ox(e,t){const{text:s,facets:o}=e;if(!o?.length)return s;let n=””;for(const a of e.segments()){const e=a.link;if(e&&On.AppBskyRichtextFacet.validateLink(e).success){const s=e.uri,o=a.text;n+=(0,qt.linkRequiresWarning)(s,o)?t?`[${o}](${s})`:o:s}else n+=a.text}return n}async function Mx({agent:t,postUri:s}){const o=new On.AtUri(s);if(!o.host.startsWith(“did:”)){const e=await t.resolveHandle({handle:o.host});o.host=e.data.did}try{const{data:e}=await(0,Xi.retry)(2,(e=>!e.message.includes(“Could not locate record:”)),(()=>t.api.com.atproto.repo.getRecord({repo:o.host,collection:Uh,rkey:o.rkey})));return e.value&&Qm.validate(e.value,On.AppBskyFeedPostgate.validateRecord)?e.value:void 0}catch(e){if(e.message.includes(“Could not locate record:”))return;throw e}}async function Fx({agent:e,postUri:t,postgate:s}){const o=new On.AtUri(t);await(0,Xi.networkRetry)(2,(()=>e.api.com.atproto.repo.putRecord({repo:e.session.did,collection:Uh,rkey:o.rkey,record:s})))}async function Nx({agent:e,postUri:t},s){const o=await Mx({agent:e,postUri:t}),n=await s(o);n&&await Fx({agent:e,postUri:t,postgate:n})}const Hx=e=>[“postgate-record”,e];function Vx(e){return e??null}function zx(){const e=(0,a.c)(5),t=(0,Yt.useAgent)(),s=(0,Mn.useQueryClient)();let o,n;return e[0]!==t?(o=async e=>{const{postUri:s,postgate:o}=e;return Fx({agent:t,postUri:s,postgate:o})},e[0]=t,e[1]=o):o=e[1],e[2]!==s||e[3]!==o?(n={mutationFn:o,onSuccess(e,t){const{postUri:o}=t;s.invalidateQueries({queryKey:Hx(o)})}},e[2]=s,e[3]=o,e[4]=n):n=e[4],(0,wo.useMutation)(n)}var Ux=o(24221);(0,na.createSinglePathSVG)({path:”M7.574 4.178a1 1 0 0 1 .43.822v5h2a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1v-8c0-2.585 1.162-4.335 2.316-5.417a8.163 8.163 0 0 1 1.569-1.15 7.029 7.029 0 0 1 .738-.36l.016-.005.005-.003h.003v-.001c.001 0 .002 0 .353.936l-.351-.936a1 1 0 0 1 .92.114Zm-1.57 2.588a5.99 5.99 0 0 0-.316.276C4.842 7.835 4.004 9.085 4.004 11v7h5v-6h-2a1 1 0 0 1-1-1V6.766Zm12.57-2.588a1 1 0 0 1 .43.822v5h2a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1v-8c0-2.585 1.162-4.335 2.316-5.417a8.166 8.166 0 0 1 1.569-1.15 7.038 7.038 0 0 1 .738-.36l.016-.005.005-.003h.003v-.001c.001 0 .002 0 .353.936l-.351-.936a1 1 0 0 1 .92.114Zm-1.57 2.588c-.105.085-.21.177-.316.276-.846.793-1.684 2.043-1.684 3.958v7h5v-6h-2a1 1 0 0 1-1-1V6.766Z”}),(0,na.createSinglePathSVG)({path:”M8.004 5a1 1 0 0 0-.43-.822c-.57-.395-1.176-.031-1.685.255-.428.24-.998.614-1.569 1.15C3.166 6.665 2.004 8.415 2.004 11v8a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1h-2V5ZM19.004 5a1 1 0 0 0-.43-.822c-.57-.395-1.176-.031-1.685.255-.428.24-.998.614-1.569 1.15-1.154 1.082-2.316 2.832-2.316 5.417v8a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1h-2V5Z”});const Gx=(0,na.createSinglePathSVG)({path:”M2.004 5a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v8c0 2.585-1.162 4.335-2.316 5.417-.571.536-1.14.91-1.569 1.15a7.01 7.01 0 0 1-.738.36l-.016.006-.006.002h-.002l-.001.001L6.004 19l.351.936A1 1 0 0 1 5.004 19v-5h-2a1 1 0 0 1-1-1V5Zm5 12.234c.104-.085.21-.177.316-.276.846-.793 1.684-2.043 1.684-3.958V6h-5v6h2a1 1 0 0 1 1 1v4.234Zm6-12.234a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v8c0 2.585-1.162 4.335-2.316 5.417-.571.536-1.14.91-1.569 1.15a7.018 7.018 0 0 1-.738.36l-.016.006-.006.002h-.002l-.001.001-.352-.936.351.936A1 1 0 0 1 16.004 19v-5h-2a1 1 0 0 1-1-1V5Zm5 12.234V13a1 1 0 0 0-1-1h-2V6h5v7c0 1.915-.838 3.165-1.684 3.958-.106.1-.212.191-.316.276Z”}),Wx=(0,na.createSinglePathSVG)({path:”M2.003 5.999a2 2 0 0 1 2-1.999h5c1.104 0 2 .893 2 1.999V13c0 2.585-1.16 4.335-2.315 5.417-.571.536-1.14.91-1.569 1.15a7.01 7.01 0 0 1-.738.36l-.016.006-.006.002h-.002l-.001.001L6.004 19l.351.936a1 1 0 0 1-1.351-.935L5 14H4a2 2 0 0 1-2-2.001l.002-6Zm5 11.236L7 12.999A1 1 0 0 0 6 12H4l.003-6h5v7c0 1.915-.837 3.165-1.683 3.958-.106.1-.213.192-.317.277Zm6-11.235a2 2 0 0 1 2-2h5c1.104 0 2 .893 2 1.999V13c0 2.585-1.16 4.335-2.315 5.417-.571.536-1.14.91-1.569 1.15a7.018 7.018 0 0 1-.738.36l-.016.006-.006.002h-.002l-.001.001-.352-.936.351.936A1 1 0 0 1 16.004 19v-5h-1a2 2 0 0 1-2-2V6Zm7 0h-5v6h2a1 1 0 0 1 1 1v4.234c.105-.085.211-.177.317-.276.846-.793 1.684-2.043 1.684-3.958V6Z”}),qx=((0,na.createSinglePathSVG)({path:”M3.004 4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2v5a1 1 0 0 0 .43.822c.57.395 1.176.031 1.685-.255.428-.24.998-.614 1.569-1.15 1.154-1.082 2.316-2.832 2.316-5.417V5a1 1 0 0 0-1-1h-7ZM14.004 4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2v5a1 1 0 0 0 .43.822c.57.395 1.176.031 1.685-.255.428-.24.998-.614 1.569-1.15 1.154-1.082 2.316-2.832 2.316-5.417V5a1 1 0 0 0-1-1h-7Z”}),[“control”]);function Qx(e){const t=(0,a.c)(19);let s,o;if(t[0]!==e){var n=e;({control:s}=n),o=(0,la.default)(n,qx),t[0]=e,t[1]=s,t[2]=o}else s=t[1],o=t[2];const r=(0,rn.useAnalytics)();let i;t[3]!==r||t[4]!==o.isDirty||t[5]!==o.persist||t[6]!==o.postgate?.embeddingRules||t[7]!==o.threadgateAllowUISettings?(i=()=>{r.metric(“composer:threadgate:save”,{hasChanged:!!o.isDirty,persist:!!o.persist,replyOptions:o.threadgateAllowUISettings?.map(Zx)?.join(“,”)??””,quotesEnabled:!o.postgate?.embeddingRules?.find(Kx)})},t[3]=r,t[4]=o.isDirty,t[5]=o.persist,t[6]=o.postgate?.embeddingRules,t[7]=o.threadgateAllowUISettings,t[8]=i):i=t[8];const l=(0,ud.useNonReactiveCallback)(i),c=o.isDirty&&o.persist;let d,u,m,h;return t[9]!==c?(d={preventExpansion:!0,preventDismiss:c},t[9]=c,t[10]=d):d=t[10],t[11]===Symbol.for(“react.memo_cache_sentinel”)?(u=(0,jt.jsx)(so.Handle,{}),t[11]=u):u=t[11],t[12]!==o?(m=(0,jt.jsx)(Yx,Object.assign({},o)),t[12]=o,t[13]=m):m=t[13],t[14]!==s||t[15]!==l||t[16]!==d||t[17]!==m?(h=(0,jt.jsxs)(so.Outer,{control:s,nativeOptions:d,onClose:l,children:[u,m]}),t[14]=s,t[15]=l,t[16]=d,t[17]=m,t[18]=h):h=t[18],h}function Kx(e){return e.$type===Zh.disableRule.$type}function Zx(e){return e.type}function Yx(e){const t=(0,a.c)(10),{_:s}=(0,ut.useLingui)();let o,n,r,i,l,c;return t[0]!==s?(o=s({id:”TlT3VC”}),t[0]=s,t[1]=o):o=t[1],t[2]===Symbol.for(“react.memo_cache_sentinel”)?(n=[(0,to.web)({maxWidth:400}),to.atoms.w_full],r=(0,jt.jsx)(e_,{}),t[2]=n,t[3]=r):(n=t[2],r=t[3]),t[4]!==e?(i=(0,jt.jsx)(Jx,Object.assign({},e)),t[4]=e,t[5]=i):i=t[5],t[6]===Symbol.for(“react.memo_cache_sentinel”)?(l=(0,jt.jsx)(so.Close,{}),t[6]=l):l=t[6],t[7]!==o||t[8]!==i?(c=(0,jt.jsxs)(so.ScrollableInner,{label:o,style:n,children:[r,i,l]}),t[7]=o,t[8]=i,t[9]=c):c=t[9],c}function $x(e){const t=(0,a.c)(10),s=(0,Ux.usePostThreadContext)();let o,n,r,i,l;return t[0]===Symbol.for(“react.memo_cache_sentinel”)?(o={preventExpansion:!0},n=(0,jt.jsx)(so.Handle,{}),t[0]=o,t[1]=n):(o=t[0],n=t[1]),t[2]!==e?(r=(0,jt.jsx)(Xx,Object.assign({},e)),t[2]=e,t[3]=r):r=t[3],t[4]!==s||t[5]!==r?(i=(0,jt.jsx)(Ux.PostThreadContextProvider,{context:s,children:r}),t[4]=s,t[5]=r,t[6]=i):i=t[6],t[7]!==e.control||t[8]!==i?(l=(0,jt.jsxs)(so.Outer,{control:e.control,nativeOptions:o,children:[n,i]}),t[7]=e.control,t[8]=i,t[9]=l):l=t[9],l}function Xx(t){const s=(0,rn.useAnalytics)(),{_:o}=(0,ut.useLingui)(),{currentAccount:n}=(0,Yt.useSession)(),[r,i]=(0,ct.useState)(!1),{data:l,isLoading:c}=(0,Yh.useThreadgateViewQuery)({postUri:t.rootPostUri}),{data:d,isLoading:u}=function(e){const t=(0,a.c)(6),{postUri:s}=e,o=(0,Yt.useAgent)();let n,r;return t[0]!==s?(n=Hx(s),t[0]=s,t[1]=n):n=t[1],t[2]!==o||t[3]!==s||t[4]!==n?(r={staleTime:bt.STALE.SECONDS.THIRTY,queryKey:n,queryFn:async()=>await Mx({agent:o,postUri:s}).then(Vx)},t[2]=o,t[3]=s,t[4]=n,t[5]=r):r=t[5],(0,Zt.useQuery)(r)}({postUri:t.postUri}),{mutateAsync:m}=zx(),{mutateAsync:h}=(0,Yh.useSetThreadgateAllowMutation)(),[p,f]=(0,ct.useState)(),[g,x]=(0,ct.useState)(),_=c||u,y=l||t.initialThreadgateView,b=(0,ct.useMemo)((()=>n?.did===new On.AtUri(t.rootPostUri).host),[t.rootPostUri,n?.did]),j=(0,ct.useMemo)((()=>p||d||Gh({post:t.postUri})),[d,p,t.postUri]),v=(0,ct.useMemo)((()=>g||(0,Yh.threadgateViewToAllowUISetting)(y)),[y,g]),S=(0,ct.useCallback)((async()=>{if(p||g){i(!0);try{const e=[];p&&e.push(m({postUri:t.postUri,postgate:p})),g&&b&&e.push(h({postUri:t.rootPostUri,allow:g})),await Promise.all(e),t.control.close()}catch(e){s.logger.error(“Failed to save post interaction settings”,{source:”PostInteractionSettingsDialogControlledInner”,safeMessage:e.message}),Gs.show(o({id:”zghcp1″}),”xmark”)}finally{i(!1)}}else t.control.close()}),[o,s,t.postUri,t.rootPostUri,t.control,p,g,i,m,h,b]);return(0,jt.jsxs)(so.ScrollableInner,{label:o({id:”TlT3VC”}),style:[(0,to.web)({maxWidth:400}),to.atoms.w_full],children:[_?(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_1,to.atoms.py_5xl,to.atoms.gap_md,to.atoms.align_center,to.atoms.justify_center],children:[(0,jt.jsx)(xo.Loader,{size:”xl”}),(0,jt.jsx)(_o.Text,{style:[to.atoms.italic,to.atoms.text_center],children:(0,jt.jsx)(ut.Trans,{id:”Asos8L”})})]}):(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(e_,{}),(0,jt.jsx)(Jx,{replySettingsDisabled:!b,isSaving:r,onSave:S,postgate:j,onChangePostgate:f,threadgateAllowUISettings:v,onChangeThreadgateAllowUISettings:x})]}),(0,jt.jsx)(so.Close,{})]})}function Jx({canSave:e=!0,onSave:t,isSaving:s,postgate:o,onChangePostgate:n,threadgateAllowUISettings:a,onChangeThreadgateAllowUISettings:r,replySettingsDisabled:l,isDirty:c,persist:d,onChangePersist:u}){const m=(0,to.useTheme)(),{_:h}=(0,ut.useLingui)(),p=(0,sf.useHaptics)(),[f,g]=(0,ct.useState)(!1),{data:x,isPending:_,isError:y}=Jn(“curate”),[b,j]=(0,ct.useState)(!(o.embeddingRules&&o.embeddingRules.find((e=>e.$type===Zh.disableRule.$type)))),v=(0,ct.useCallback)((e=>{j(e),n(Gh(Object.assign({},o,{embeddingRules:e?[]:[Zh.disableRule]})))}),[j,o,n]),S=!!a.find((e=>”nobody”===e.type)),w=!!a.find((e=>”everybody”===e.type)),T=a.filter((e=>”list”===e.type)).length,k=(0,ct.useMemo)((()=>{const e=[];for(const t of a)switch(t.type){case”everybody”:case”nobody”:return[];case”followers”:e.push(“followers”);break;case”following”:e.push(“following”);break;case”mention”:e.push(“mention”);break;case”list”:e.push(`list:${t.list}`)}return e}),[a]);return(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_1,to.atoms.gap_lg],children:[(0,jt.jsxs)(Qs.default,{style:[to.atoms.gap_lg],children:[l&&(0,jt.jsxs)(Qs.default,{style:[to.atoms.px_md,to.atoms.py_sm,to.atoms.rounded_sm,to.atoms.flex_row,to.atoms.align_center,to.atoms.gap_sm,m.atoms.bg_contrast_25],children:[(0,jt.jsx)(Gi.CircleInfo_Stroke2_Corner0_Rounded,{fill:m.atoms.text_contrast_low.color}),(0,jt.jsx)(_o.Text,{style:[to.atoms.flex_1,to.atoms.leading_snug,m.atoms.text_contrast_medium],children:(0,jt.jsx)(ut.Trans,{id:”rCcmIR”})})]}),(0,jt.jsxs)(Qs.default,{style:[to.atoms.gap_sm,{opacity:l?.3:1}],children:[(0,jt.jsx)(_o.Text,{style:[to.atoms.text_md,to.atoms.font_medium],children:(0,jt.jsx)(ut.Trans,{id:”yvDWMs”})}),(0,jt.jsx)(ul.Group,{label:h({id:”8MdIOQ”}),type:”radio”,maxSelections:1,disabled:l,values:w?[“everyone”]:S?[“nobody”]:[],onChange:e=>{e.includes(“everyone”)?r([{type:”everybody”}]):e.includes(“nobody”)?r([{type:”nobody”}]):r([{type:”mention”}])},children:(0,jt.jsxs)(Qs.default,{style:[to.atoms.flex_row,to.atoms.gap_sm],children:[(0,jt.jsx)(ul.Item,{name:”everyone”,type:”checkbox”,label:h({id:”d0kCIx”}),style:[to.atoms.flex_1],children:({selected:e})=>(0,jt.jsxs)(ul.Panel,{active:e,children:[(0,jt.jsx)(ul.Radio,{}),(0,jt.jsx)(ul.PanelText,{children:(0,jt.jsx)(ut.Trans,{id:”z64CLa”})})]})}),(0,jt.jsx)(ul.Item,{name:”nobody”,type:”checkbox”,label:h({id:”VLlpbA”}),style:[to.atoms.flex_1],children:({selected:e})=>(0,jt.jsxs)(ul.Panel,{active:e,children:[(0,jt.jsx)(ul.Radio,{}),(0,jt.jsx)(ul.PanelText,{children:(0,jt.jsx)(ut.Trans,{id:”xpF9po”})})]})})]})}),(0,jt.jsx)(ul.Group,{label:h({id:”Z0c5Vk”}),values:k,onChange:e=>{const t=[];if(0===e.length)t.push({type:”everybody”});else for(const s of e)if(s.startsWith(“list:”)){const e=s.slice(5);t.push({type:”list”,list:e})}else t.push({type:s});r(t)},disabled:l,children:(0,jt.jsxs)(ul.PanelGroup,{children:[(0,jt.jsx)(ul.Item,{name:”followers”,type:”checkbox”,label:h({id:”TJdzwX”}),hitSlop:0,children:({selected:e})=>(0,jt.jsxs)(ul.Panel,{active:e,adjacent:”trailing”,children:[(0,jt.jsx)(ul.Checkbox,{}),(0,jt.jsx)(ul.PanelText,{children:(0,jt.jsx)(ut.Trans,{id:”pnEY+u”})})]})}),(0,jt.jsx)(ul.Item,{name:”following”,type:”checkbox”,label:h({id:”a3XcBm”}),hitSlop:0,children:({selected:e})=>(0,jt.jsxs)(ul.Panel,{active:e,adjacent:”both”,children:[(0,jt.jsx)(ul.Checkbox,{}),(0,jt.jsx)(ul.PanelText,{children:(0,jt.jsx)(ut.Trans,{id:”RKtTtU”})})]})}),(0,jt.jsx)(ul.Item,{name:”mention”,type:”checkbox”,label:h({id:”Gpbwcp”}),hitSlop:0,children:({selected:e})=>(0,jt.jsxs)(ul.Panel,{active:e,adjacent:”both”,children:[(0,jt.jsx)(ul.Checkbox,{}),(0,jt.jsx)(ul.PanelText,{children:(0,jt.jsx)(ut.Trans,{id:”vW6/4C”})})]})}),(0,jt.jsx)(po.Button,{label:h(f?{id:”DKqw5l”}:{id:”+3Xo+b”}),accessibilityRole:”togglebutton”,hitSlop:0,onPress:()=>{p(“Light”),i.IS_IOS&&!f&&au.default.configureNext(Object.assign({},au.default.Presets.linear,{duration:175})),g((e=>!e))},children:(0,jt.jsxs)(ul.Panel,{active:T>0,adjacent:f?”both”:”leading”,children:[(0,jt.jsx)(ul.PanelText,{children:0===T?(0,jt.jsx)(ut.Trans,{id:”0mcAnU”}):(0,jt.jsx)(ut.Trans,{id:”Mg+hW0″,values:{numberOfListsSelected:T},components:{0:(0,jt.jsx)(Yd.default,{style:[to.atoms.font_normal,to.atoms.italic]})}})}),(0,jt.jsx)(ul.PanelIcon,{icon:f?bn.ChevronTop_Stroke2_Corner0_Rounded:bn.ChevronBottom_Stroke2_Corner0_Rounded})]})}),f&&(_?(0,jt.jsx)(ul.Panel,{children:(0,jt.jsx)(ul.PanelText,{children:(0,jt.jsx)(ut.Trans,{id:”lao9x9″})})}):y?(0,jt.jsx)(ul.Panel,{children:(0,jt.jsx)(ul.PanelText,{children:(0,jt.jsx)(ut.Trans,{id:”fZ2cjE”})})}):0===x.length?(0,jt.jsx)(ul.Panel,{children:(0,jt.jsx)(ul.PanelText,{children:(0,jt.jsx)(ut.Trans,{id:”LXP4VB”})})}):x.map(((e,t)=>(0,jt.jsx)(ul.Item,{name:`list:${e.uri}`,type:”checkbox”,label:h({id:”gfCAw3″,values:{0:e.name}}),hitSlop:0,children:({selected:s})=>(0,jt.jsxs)(ul.Panel,{active:s,adjacent:t===x.length-1?”leading”:”both”,children:[(0,jt.jsx)(ul.Checkbox,{}),(0,jt.jsx)(or.UserAvatar,{size:24,type:”list”,avatar:e.avatar}),(0,jt.jsx)(ul.PanelText,{children:e.name})]})},e.uri))))]})})]})]}),(0,jt.jsx)(ul.Item,{name:”quoteposts”,type:”checkbox”,label:h(b?{id:”RPl1Kg”}:{id:”KJQLjm”}),value:b,onChange:v,children:({selected:e})=>(0,jt.jsxs)(ul.Panel,{active:e,children:[(0,jt.jsx)(ul.PanelText,{icon:Wx,children:(0,jt.jsx)(ut.Trans,{id:”U4vCK0″})}),(0,jt.jsx)(ul.Switch,{})]})}),”undefined”!==typeof d&&(0,jt.jsx)(Qs.default,{style:[{minHeight:24},to.atoms.justify_center],children:c?(0,jt.jsxs)(ul.Item,{name:”persist”,type:”checkbox”,label:h({id:”J9OoMH”}),value:d,onChange:()=>u?.(!d),children:[(0,jt.jsx)(ul.Checkbox,{}),(0,jt.jsx)(ul.LabelText,{style:[to.atoms.text_md,to.atoms.font_normal,m.atoms.text],children:(0,jt.jsx)(ut.Trans,{id:”J9OoMH”})})]}):(0,jt.jsx)(_o.Text,{style:[to.atoms.text_md,m.atoms.text_contrast_medium],children:(0,jt.jsx)(ut.Trans,{id:”L+gxxP”})})}),(0,jt.jsxs)(po.Button,{disabled:!e||s,label:h({id:”tfDRzk”}),onPress:t,color:”primary”,size:”large”,children:[(0,jt.jsx)(po.ButtonText,{children:(0,jt.jsx)(ut.Trans,{id:”tfDRzk”})}),s&&(0,jt.jsx)(po.ButtonIcon,{icon:xo.Loader})]})]})}function e_(){const e=(0,a.c)(2);let t,s;return e[0]===Symbol.for(“react.memo_cache_sentinel”)?(t=[to.atoms.pb_lg],e[0]=t):t=e[0],e[1]===Symbol.for(“react.memo_cache_sentinel”)?(s=(0,jt.jsx)(Qs.default,{style:t,children:(0,jt.jsx)(_o.Text,{style:[to.atoms.text_2xl,to.atoms.font_bold],children:(0,jt.jsx)(ut.Trans,{id:”Q0ToY3″})})}),e[1]=s):s=e[1],s}function t_(e){const t=(0,a.c)(7),{postUri:s,rootPostUri:o}=e,n=(0,rn.useAnalytics)(),r=(0,Mn.useQueryClient)(),i=(0,Yt.useAgent)(),l=(0,dx.useGetPost)();let c;return t[0]!==i||t[1]!==n||t[2]!==l||t[3]!==s||t[4]!==r||t[5]!==o?(c=async()=>{try{await Promise.all([r.prefetchQuery({queryKey:Hx(s),queryFn:()=>Mx({agent:i,postUri:s}).then(s_),staleTime:bt.STALE.SECONDS.THIRTY}),r.prefetchQuery({queryKey:(0,Yh.createThreadgateViewQueryKey)(o),queryFn:async()=>(await l({uri:o})).threadgate??null,staleTime:bt.STALE.SECONDS.THIRTY})])}catch(e){const t=e;n.logger.error(“Failed to prefetch post interaction settings”,{safeMessage:t.message})}},t[0]=i,t[1]=n,t[2]=l,t[3]=s,t[4]=r,t[5]=o,t[6]=c):c=t[6],c}function s_(e){return e??null}const o_=(0,na.createSinglePathSVG)({path:”M6.17 5.004c-.553-.029-.814.107-.937.23-.122.122-.258.383-.23.936.03.552.222 1.28.611 2.15.282.628.655 1.304 1.112 2.005a28.26 28.26 0 0 1 1.72-1.88 28.258 28.258 0 0 1 1.88-1.719 14.886 14.886 0 0 0-2.007-1.112c-.868-.39-1.597-.581-2.15-.61Zm5.83.44c-.985-.688-1.953-1.247-2.863-1.655-.998-.447-1.978-.736-2.863-.782-.885-.047-1.791.148-2.455.812-.664.664-.859 1.57-.812 2.455.046.885.335 1.865.782 2.863.408.91.967 1.878 1.655 2.863-.688.985-1.247 1.953-1.655 2.863-.447.998-.736 1.978-.782 2.863-.047.885.148 1.791.812 2.455.664.663 1.57.859 2.455.812.885-.046 1.865-.335 2.863-.782.91-.408 1.878-.967 2.863-1.655.985.688 1.952 1.247 2.863 1.655.998.447 1.978.736 2.863.782.885.047 1.791-.148 2.455-.812.663-.664.859-1.57.812-2.455-.046-.885-.335-1.865-.782-2.863-.408-.91-.967-1.878-1.655-2.863.688-.985 1.247-1.952 1.655-2.863.447-.998.736-1.978.782-2.863.047-.885-.148-1.791-.812-2.455-.664-.664-1.57-.859-2.455-.812-.885.046-1.865.335-2.863.782-.91.408-1.878.967-2.863 1.655Zm0 2.497A25.9 25.9 0 0 0 9.86 9.86 25.899 25.899 0 0 0 7.94 12c.569.711 1.211 1.431 1.92 2.14.709.709 1.429 1.351 2.14 1.92a25.925 25.925 0 0 0 2.14-1.92A25.925 25.925 0 0 0 16.06 12a25.921 25.921 0 0 0-1.92-2.14A25.904 25.904 0 0 0 12 7.94Zm5.274 2.384a28.232 28.232 0 0 0-1.72-1.88 28.27 28.27 0 0 0-1.88-1.719 14.89 14.89 0 0 1 2.007-1.112c.868-.39 1.597-.581 2.15-.61.552-.029.813.107.936.23.123.122.258.383.23.936-.03.552-.222 1.28-.611 2.15a14.883 14.883 0 0 1-1.112 2.005Zm0 3.35a28.24 28.24 0 0 1-1.72 1.88 28.24 28.24 0 0 1-1.88 1.719c.702.457 1.378.83 2.007 1.112.868.39 1.597.581 2.15.61.552.03.813-.106.936-.23.123-.122.258-.383.23-.935-.03-.553-.222-1.282-.611-2.15a14.888 14.888 0 0 0-1.112-2.006Zm-6.949 3.599a28.23 28.23 0 0 1-1.88-1.72 28.27 28.27 0 0 1-1.719-1.88 14.89 14.89 0 0 0-1.112 2.007c-.39.868-.581 1.597-.61 2.15-.029.552.107.813.23.936.122.123.383.258.936.23.552-.03 1.28-.222 2.15-.611a14.884 14.884 0 0 0 2.005-1.112Z”}),n_=(0,na.createSinglePathSVG)({path:”M8.17 4A3.001 3.001 0 0 1 11 2h2c1.306 0 2.418.835 2.83 2H17a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h1.17ZM8 6H7a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-1v1a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V6Zm6 0V5a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v1h4Z”});var a_=o(73335);const r_=(0,na.createSinglePathSVG)({path:”M3.135 12C5.413 16.088 8.77 18 12 18s6.587-1.912 8.865-6C18.587 7.912 15.23 6 12 6c-3.228 0-6.587 1.912-8.865 6ZM12 4c4.24 0 8.339 2.611 10.888 7.54a1 1 0 0 1 0 .92C20.338 17.388 16.24 20 12 20c-4.24 0-8.339-2.611-10.888-7.54a1 1 0 0 1 0-.92C3.662 6.612 7.76 4 12 4Zm0 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-4 2a4 4 0 1 1 8 0 4 4 0 0 1-8 0Z”}),i_=((0,na.createSinglePathSVG)({path:”M12 6c-3.127 0-6.367 1.79-8.638 5.606a.77.77 0 0 0 0 .788C5.633 16.209 8.873 18 12 18s6.367-1.79 8.638-5.606a.77.77 0 0 0 0-.788C18.367 7.791 15.127 6 12 6Zm0-2c3.952 0 7.79 2.272 10.357 6.583a2.77 2.77 0 0 1 0 2.834C19.79 17.727 15.952 20 12 20s-7.79-2.272-10.357-6.583a2.77 2.77 0 0 1 0-2.834C4.21 6.273 8.048 4 12 4Zm0 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-4 2a4 4 0 1 1 8 0 4 4 0 0 1-8 0Z”}),(0,na.createSinglePathSVG)({path:”M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v4a1 1 0 0 1-.293.707L15 14.414V20a1 1 0 0 1-.758.97l-4 1A1 1 0 0 1 9 21v-6.586L3.293 8.707A1 1 0 0 1 3 8V4Zm2 1v2.586l5.707 5.707A1 1 0 0 1 11 14v5.72l2-.5V14a1 1 0 0 1 .293-.707L19 7.586V5H5Z”})),l_=(0,na.createSinglePathSVG)({path:”M11.1 2a1 1 0 0 0-.832.445L8.851 4.57 6.6 4.05a1 1 0 0 0-.932.268l-1.35 1.35a1 1 0 0 0-.267.932l.52 2.251-2.126 1.417A1 1 0 0 0 2 11.1v1.8a1 1 0 0 0 .445.832l2.125 1.417-.52 2.251a1 1 0 0 0 .268.932l1.35 1.35a1 1 0 0 0 .932.267l2.251-.52 1.417 2.126A1 1 0 0 0 11.1 22h1.8a1 1 0 0 0 .832-.445l1.417-2.125 2.251.52a1 1 0 0 0 .932-.268l1.35-1.35a1 1 0 0 0 .267-.932l-.52-2.251 2.126-1.417A1 1 0 0 0 22 12.9v-1.8a1 1 0 0 0-.445-.832L19.43 8.851l.52-2.251a1 1 0 0 0-.268-.932l-1.35-1.35a1 1 0 0 0-.932-.267l-2.251.52-1.417-2.126A1 1 0 0 0 12.9 2h-1.8Zm-.968 4.255L11.635 4h.73l1.503 2.255a1 1 0 0 0 1.057.42l2.385-.551.566.566-.55 2.385a1 1 0 0 0 .42 1.057L20 11.635v.73l-2.255 1.503a1 1 0 0 0-.42 1.057l.551 2.385-.566.566-2.385-.55a1 1 0 0 0-1.057.42L12.365 20h-.73l-1.503-2.255a1 1 0 0 0-1.057-.42l-2.385.551-.566-.566.55-2.385a1 1 0 0 0-.42-1.057L4 12.365v-.73l2.255-1.503a1 1 0 0 0 .42-1.057L6.123 6.69l.566-.566 2.385.55a1 1 0 0 0 1.057-.42ZM8 12a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm4-2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z”}),c_=(0,na.createSinglePathSVG)({path:”M9.996 2.869A1.951 1.951 0 0 1 11.62 2h.76c.653 0 1.262.326 1.624.869l1.141 1.712 1.749-.404a1.951 1.951 0 0 1 1.819.522l.588.589c.476.475.673 1.162.522 1.818l-.404 1.749 1.712 1.141c.543.362.869.971.869 1.624v.76c0 .653-.326 1.262-.869 1.624l-1.712 1.141.404 1.749a1.951 1.951 0 0 1-.522 1.819l-.588.588a1.951 1.951 0 0 1-1.819.522l-1.749-.404-1.141 1.712A1.951 1.951 0 0 1 12.38 22h-.76a1.951 1.951 0 0 1-1.624-.869L8.855 19.42l-1.749.404a1.951 1.951 0 0 1-1.818-.522l-.59-.588a1.951 1.951 0 0 1-.52-1.819l.403-1.749-1.712-1.141A1.951 1.951 0 0 1 2 12.38v-.76c0-.653.326-1.262.869-1.624L4.58 8.855l-.404-1.749A1.951 1.951 0 0 1 4.7 5.288l.589-.59a1.951 1.951 0 0 1 1.818-.52l1.749.403 1.141-1.712ZM8.5 12a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0Z”});var d_=o(29596);let u_=({post:t,postFeedContext:s,postReqId:o,record:n,richText:r,threadgateRecord:l,onShowLess:c,logContext:d})=>{const{hasSession:u,currentAccount:m}=(0,Yt.useSession)(),{_:h}=(0,ut.useLingui)(),p=(0,rn.useAnalytics)(),f=(0,Ot.useLanguagePrefs)(),{mutateAsync:g}=(0,dx.usePostDeleteMutation)(),{mutateAsync:x,isPending:_}=function(){const{_:t}=(0,ut.useLingui)(),{currentAccount:s}=(0,Yt.useSession)(),o=(0,Yt.useAgent)(),n=(0,Mn.useQueryClient)(),{mutateAsync:a}=(0,Qt.useProfileUpdateMutation)();return(0,wo.useMutation)({mutationFn:async({postUri:r,postCid:i,action:l})=>{const c=”pin”===l;let d;try{if((0,eu.updatePostShadow)(n,r,{pinned:c}),!s)throw new Error(“Not signed in”);const{data:e}=await o.getProfile({actor:s.did});d=e.pinnedPost?.uri,d&&d!==r&&(0,eu.updatePostShadow)(n,d,{pinned:!1}),await a({profile:e,updates:e=>(e.pinnedPost=c?{uri:r,cid:i}:void 0,e),checkCommitted:e=>c?e.data.pinnedPost?.uri===r:!e.data.pinnedPost}),c?Gs.show(t({id:”mMWAgA”})):Gs.show(t({id:”LQ0OnR”})),n.invalidateQueries({queryKey:(0,uu.RQKEY)(`author|${s.did}|posts_and_author_threads`)}),n.invalidateQueries({queryKey:(0,uu.RQKEY)(`author|${s.did}|posts_with_replies`)})}catch(e){Gs.show(t({id:”0nCj3X”})),Ht.logger.error(“Failed to pin post”,{message:String(e)}),(0,eu.updatePostShadow)(n,r,{pinned:!c}),d&&d!==r&&(0,eu.updatePostShadow)(n,d,{pinned:!0})}}})}(),y=(0,Yt.useRequireAuth)(),b=(0,Ot.useHiddenPosts)(),{hidePost:j}=(0,Ot.useHiddenPostsApi)(),v=by(),S=(0,al.useOpenLink)(),w=Xd(),T=(0,Ks.useNavigation)(),{mutedWordsDialogControl:k}=(0,oo.useGlobalDialogsControlContext)(),C=(0,so.useDialogControl)(),I=(0,Kl.useReportDialogControl)(),A=(0,so.useDialogControl)(),P=(0,so.useDialogControl)(),E=(0,so.useDialogControl)(),L=(0,so.useDialogControl)(),R=(0,so.useDialogControl)(),{mutateAsync:D}=(0,Yh.useToggleReplyVisibilityMutation)(),B=t.uri,O=t.cid,M=(0,tu.useProfileShadow)(t.author),F=(0,ct.useMemo)((()=>{if(m&&t.embed)return function({viewerDid:e,post:t}){if(On.AppBskyEmbedRecord.isView(t.embed)){if(On.AppBskyEmbedRecord.isViewDetached(t.embed.record)){const s=new On.AtUri(t.embed.record.uri);return{embed:t.embed,uri:s.toString(),isOwnedByViewer:s.host===e,isDetached:!0}}if(On.AppBskyEmbedRecord.isViewRecord(t.embed.record)){const s=new On.AtUri(t.embed.record.uri);return{embed:t.embed,uri:s.toString(),isOwnedByViewer:s.host===e,isDetached:!1}}}else if(On.AppBskyEmbedRecordWithMedia.isView(t.embed)){if(On.AppBskyEmbedRecord.isViewDetached(t.embed.record.record)){const s=new On.AtUri(t.embed.record.record.uri);return{embed:t.embed,uri:s.toString(),isOwnedByViewer:s.host===e,isDetached:!0}}if(On.AppBskyEmbedRecord.isViewRecord(t.embed.record.record)){const s=new On.AtUri(t.embed.record.record.uri);return{embed:t.embed,uri:s.toString(),isOwnedByViewer:s.host===e,isDetached:!1}}}}({viewerDid:m.did,post:t})}),[t,m]),N=n.reply?.root?.uri||B,H=Boolean(n.reply),[V,z,U]=(0,dx.useThreadMuteMutationQueue)(t,N),G=b&&b.includes(B),W=M.did===m?.did,q=new On.AtUri(N).host===m?.did,Q=(0,Us.useMergedThreadgateHiddenReplies)({threadgateRecord:l}).has(B),K=t.viewer?.pinned,{mutateAsync:Z,isPending:Y}=function(){const e=(0,a.c)(7),t=(0,Yt.useAgent)(),s=(0,Mn.useQueryClient)(),o=(0,dx.useGetPosts)(),n=ct.useRef(void 0);let r,i;return e[0]!==t||e[1]!==s?(r=async e=>{const{post:o,quoteUri:a,action:r}=e;n.current=o.embed,”detach”===r&&(0,eu.updatePostShadow)(s,o.uri,{embed:Qh({post:o,quote:void 0,quoteUri:a,detached:!0})}),await Nx({agent:t,postUri:a},(async e=>{if(e){if(“detach”===r)return Wh(e,{detachedEmbeddingUris:[o.uri]});if(“reattach”===r)return Object.assign({},e,{detachedEmbeddingUris:e.detachedEmbeddingUris?.filter((e=>e!==o.uri))||[]})}else if(“detach”===r)return Gh({post:a,detachedEmbeddingUris:[o.uri]})}))},e[0]=t,e[1]=s,e[2]=r):r=e[2],e[3]!==o||e[4]!==s||e[5]!==r?(i={mutationFn:r,async onSuccess(e,t){const{post:n,quoteUri:a,action:r}=t;if(“reattach”===r)try{const[e]=await o({uris:[a]});(0,eu.updatePostShadow)(s,n.uri,{embed:Qh({post:n,quote:e,quoteUri:void 0,detached:!1})})}catch(i){const e=i;Ht.logger.error(“Postgate: failed to get quote post for re-attachment”,{safeMessage:e.message})}},onError(e,t){const{post:o,action:a}=t;”detach”===a&&n.current&&(On.AppBskyEmbedRecord.isView(n.current)||On.AppBskyEmbedRecordWithMedia.isView(n.current))&&(0,eu.updatePostShadow)(s,o.uri,{embed:n.current})},onSettled(){n.current=void 0}},e[3]=o,e[4]=s,e[5]=r,e[6]=i):i=e[6],(0,wo.useMutation)(i)}(),[$]=(0,Qt.useProfileBlockMutationQueue)(M),[X,J]=(0,Qt.useProfileMuteMutationQueue)(M),ee=t_({postUri:t.uri,rootPostUri:N}),te=(0,ct.useMemo)((()=>{const e=new On.AtUri(B);return(0,Jd.makeProfileLink)(M,”post”,e.rkey)}),[B,M]),se=!!M.labels?.find((e=>”!no-unauthenticated”===e.val)),oe=async()=>{if(!F)return;const e=F.isDetached?”reattach”:”detach”,s=”detach”===e;try{await Z({post:t,quoteUri:F.uri,action:F.isDetached?”reattach”:”detach”}),Gs.show(h(s?{id:”fj6x97″}:{id:”6ZPdY1″}))}catch(o){Gs.show(h({id:”JNBh/n”})),Ht.logger.error(`Failed to ${e} quote`,{safeMessage:o.message})}},ne=!W&&!G,ae=!W&&q&&!G&&H,re=F&&F.isOwnedByViewer,ie=async()=>{if(!ae)return;const e=Q?”show”:”hide”,t=”hide”===e;try{await D({postUri:N,replyUri:B,action:e}),t&&p.metric(“thread:click:hideReplyForEveryone”,{}),Gs.show(h(t?{id:”MTaaPI”}:{id:”AF0xm8″}))}catch(s){s instanceof Yh.MaxHiddenRepliesError?Gs.show(h(Lt.i18n._({id:”CCqBlv”,values:{MAX_HIDDEN_REPLIES:Yh.MAX_HIDDEN_REPLIES}}))):s instanceof Yh.InvalidInteractionSettingsError?Gs.show(h({id:”5ciUVU”})):(Gs.show(h({id:”Ron617″})),Ht.logger.error(`Failed to ${e} reply`,{safeMessage:s.message}))}},le=i.IS_INTERNAL||Wt.DISCOVER_DEBUG_DIDS[m?.did||””]||p.features.enabled(p.features.DebugFeedContext);return(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsxs)(_l.Outer,{children:[W&&(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(_l.Group,{children:(0,jt.jsxs)(_l.Item,{testID:”pinPostBtn”,label:h(K?{id:”XQMQZw”}:{id:”QFR1aH”}),disabled:_,onPress:()=>{p.metric(K?”post:unpin”:”post:pin”,{}),x({postUri:B,postCid:O,action:K?”unpin”:”pin”})},children:[(0,jt.jsx)(_l.ItemText,{children:h(K?{id:”XQMQZw”}:{id:”QFR1aH”})}),(0,jt.jsx)(_l.ItemIcon,{icon:_?xo.Loader:ar,position:”right”})]})}),(0,jt.jsx)(_l.Divider,{})]}),(0,jt.jsx)(_l.Group,{children:!se||u?(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsxs)(_l.Item,{testID:”postDropdownTranslateBtn”,label:h({id:”pi8x/S”}),onPress:()=>{w(n.text,f.primaryLanguage),Qm.dangerousIsType(t.record,On.AppBskyFeedPost.isRecord)&&p.metric(“translate”,{sourceLanguages:t.record.langs??[],targetLanguage:f.primaryLanguage,textLength:t.record.text.length})},children:[(0,jt.jsx)(_l.ItemText,{children:h({id:”pi8x/S”})}),(0,jt.jsx)(_l.ItemIcon,{icon:mu,position:”right”})]}),(0,jt.jsxs)(_l.Item,{testID:”postDropdownCopyTextBtn”,label:h({id:”iQgJaz”}),onPress:()=>{const e=Ox(r,!0);Bx.setStringAsync(e),Gs.show(h({id:”FxVG/l”}),”clipboard-check”)},children:[(0,jt.jsx)(_l.ItemText,{children:h({id:”iQgJaz”})}),(0,jt.jsx)(_l.ItemIcon,{icon:n_,position:”right”})]})]}):(0,jt.jsxs)(_l.Item,{testID:”postDropdownSignInBtn”,label:h({id:”mz9TJF”}),onPress:()=>y((()=>{})),children:[(0,jt.jsx)(_l.ItemText,{children:h({id:”mz9TJF”})}),(0,jt.jsx)(_l.ItemIcon,{icon:r_,position:”right”})]})}),u&&v.enabled&&(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(_l.Divider,{}),(0,jt.jsxs)(_l.Group,{children:[(0,jt.jsxs)(_l.Item,{testID:”postDropdownShowMoreBtn”,label:h({id:”jW1hzq”}),onPress:()=>{v.sendInteraction({event:”app.bsky.feed.defs#requestMore”,item:B,feedContext:s,reqId:o}),p.metric(“post:showMore”,{uri:B,authorDid:M.did,logContext:d,feedDescriptor:v.feedDescriptor}),Gs.show(h({id:”f9Bcg5″}))},children:[(0,jt.jsx)(_l.ItemText,{children:h({id:”jW1hzq”})}),(0,jt.jsx)(_l.ItemIcon,{icon:a_.EmojiSmile_Stroke2_Corner0_Rounded,position:”right”})]}),(0,jt.jsxs)(_l.Item,{testID:”postDropdownShowLessBtn”,label:h({id:”CQ/J8K”}),onPress:()=>{v.sendInteraction({event:”app.bsky.feed.defs#requestLess”,item:B,feedContext:s,reqId:o}),p.metric(“post:showLess”,{uri:B,authorDid:M.did,logContext:d,feedDescriptor:v.feedDescriptor}),c?c({item:B,feedContext:s}):Gs.show(h({id:”f9Bcg5″}))},children:[(0,jt.jsx)(_l.ItemText,{children:h({id:”CQ/J8K”})}),(0,jt.jsx)(_l.ItemIcon,{icon:a_.EmojiSad_Stroke2_Corner0_Rounded,position:”right”})]})]})]}),le&&(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(_l.Divider,{}),(0,jt.jsxs)(_l.Item,{testID:”postDropdownReportMisclassificationBtn”,label:h({id:”SjjKyj”}),onPress:()=>{const e=`https://docs.google.com/forms/d/e/1FAIpQLSd0QPqhNFksDQf1YyOos7r1ofCLvmrKAH1lU042TaS3GAZaWQ/viewform?entry.1756031717=${(0,qt.toShareUrl)(te)}`;S(e)},children:[(0,jt.jsx)(_l.ItemText,{children:h({id:”SjjKyj”})}),(0,jt.jsx)(_l.ItemIcon,{icon:o_,position:”right”})]})]}),u&&(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(_l.Divider,{}),(0,jt.jsxs)(_l.Group,{children:[(0,jt.jsxs)(_l.Item,{testID:”postDropdownMuteThreadBtn”,label:h(V?{id:”s12/Py”}:{id:”jq7SjD”}),onPress:()=>{try{V?(U(),p.metric(“post:unmute”,{uri:B,authorDid:M.did,logContext:d,feedDescriptor:v.feedDescriptor}),Gs.show(h({id:”pVj+Jp”}))):(z(),p.metric(“post:mute”,{uri:B,authorDid:M.did,logContext:d,feedDescriptor:v.feedDescriptor}),Gs.show(h({id:”L1+K6L”})))}catch(e){“AbortError”!==e?.name&&(Ht.logger.error(“Failed to toggle thread mute”,{message:e}),Gs.show(h({id:”ZfARMq”}),”xmark”))}},children:[(0,jt.jsx)(_l.ItemText,{children:h(V?{id:”s12/Py”}:{id:”jq7SjD”})}),(0,jt.jsx)(_l.ItemIcon,{icon:V?_g:xg.Mute_Stroke2_Corner0_Rounded,position:”right”})]}),(0,jt.jsxs)(_l.Item,{testID:”postDropdownMuteWordsBtn”,label:h({id:”SLpzWX”}),onPress:()=>k.open(),children:[(0,jt.jsx)(_l.ItemText,{children:h({id:”SLpzWX”})}),(0,jt.jsx)(_l.ItemIcon,{icon:i_,position:”right”})]})]})]}),u&&(ae||re||ne)&&(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(_l.Divider,{}),(0,jt.jsxs)(_l.Group,{children:[ne&&(0,jt.jsxs)(_l.Item,{testID:”postDropdownHideBtn”,label:h(H?{id:”Q8z5/C”}:{id:”vcb5vM”}),onPress:()=>P.open(),children:[(0,jt.jsx)(_l.ItemText,{children:h(H?{id:”Q8z5/C”}:{id:”vcb5vM”})}),(0,jt.jsx)(_l.ItemIcon,{icon:Wm.EyeSlash_Stroke2_Corner0_Rounded,position:”right”})]}),ae&&(0,jt.jsxs)(_l.Item,{testID:”postDropdownHideBtn”,label:h(Q?{id:”TPZXdh”}:{id:”pJwDYA”}),onPress:Q?ie:()=>R.open(),children:[(0,jt.jsx)(_l.ItemText,{children:h(Q?{id:”TPZXdh”}:{id:”pJwDYA”})}),(0,jt.jsx)(_l.ItemIcon,{icon:Q?r_:Wm.EyeSlash_Stroke2_Corner0_Rounded,position:”right”})]}),re&&(0,jt.jsxs)(_l.Item,{disabled:Y,testID:”postDropdownHideBtn”,label:F.isDetached?h({id:”CA5w+T”}):h({id:”MGP2kL”}),onPress:F.isDetached?oe:()=>L.open(),children:[(0,jt.jsx)(_l.ItemText,{children:F.isDetached?h({id:”CA5w+T”}):h({id:”MGP2kL”})}),(0,jt.jsx)(_l.ItemIcon,{icon:Y?xo.Loader:F.isDetached?r_:Wm.EyeSlash_Stroke2_Corner0_Rounded,position:”right”})]})]})]}),u&&(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)(_l.Divider,{}),(0,jt.jsxs)(_l.Group,{children:[!W&&(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsxs)(_l.Item,{testID:”postDropdownMuteBtn”,label:M.viewer?.muted?h({id:”tGvT9+”}):h({id:”BT9ocQ”}),onPress:async()=>{if(M.viewer?.muted)try{await J(),Gs.show(h({id:”QU/XdG”}))}catch(e){“AbortError”!==e?.name&&(Ht.logger.error(“Failed to unmute account”,{message:e}),Gs.show(h({id:”HTQWov”,values:{0:e.toString()}}),”xmark”))}else try{await X(),Gs.show(h({id:”qWVN11″}))}catch(t){“AbortError”!==t?.name&&(Ht.logger.error(“Failed to mute account”,{message:t}),Gs.show(h({id:”HTQWov”,values:{0:t.toString()}}),”xmark”))}},children:[(0,jt.jsx)(_l.ItemText,{children:M.viewer?.muted?h({id:”tGvT9+”}):h({id:”BT9ocQ”})}),(0,jt.jsx)(_l.ItemIcon,{icon:M.viewer?.muted?_g:xg.Mute_Stroke2_Corner0_Rounded,position:”right”})]}),!M.viewer?.blocking&&(0,jt.jsxs)(_l.Item,{testID:”postDropdownBlockBtn”,label:h({id:”ERffXY”}),onPress:()=>C.open(),children:[(0,jt.jsx)(_l.ItemText,{children:h({id:”ERffXY”})}),(0,jt.jsx)(_l.ItemIcon,{icon:Sm.PersonX_Stroke2_Corner0_Rounded,position:”right”})]}),(0,jt.jsxs)(_l.Item,{testID:”postDropdownReportBtn”,label:h({id:”6IcSvC”}),onPress:()=>I.open(),children:[(0,jt.jsx)(_l.ItemText,{children:h({id:”6IcSvC”})}),(0,jt.jsx)(_l.ItemIcon,{icon:d_.Warning_Stroke2_Corner0_Rounded,position:”right”})]})]}),W&&(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsxs)(_l.Item,Object.assign({testID:”postDropdownEditPostInteractions”,label:h({id:”8I6lte”}),onPress:()=>E.open()},W?{onHoverIn:ee}:{},{children:[(0,jt.jsx)(_l.ItemText,{children:h({id:”8I6lte”})}),(0,jt.jsx)(_l.ItemIcon,{icon:l_,position:”right”})]})),(0,jt.jsxs)(_l.Item,{testID:”postDropdownDeleteBtn”,label:h({id:”04G5Az”}),onPress:()=>A.open(),children:[(0,jt.jsx)(_l.ItemText,{children:h({id:”04G5Az”})}),(0,jt.jsx)(_l.ItemIcon,{icon:wr.Trash_Stroke2_Corner0_Rounded,position:”right”})]})]})]})]})]}),(0,jt.jsx)(ir.Basic,{control:A,title:h({id:”FbPNuJ”}),description:h({id:”2QY2bw”}),onConfirm:()=>{g({uri:B}).then((()=>{Gs.show(h({id:”vD6zF/”}));const e=vd(T.getState());if(“PostThread”===e.name){const t=e.params;if(m&&W&&(t.name===m.handle||t.name===m.did)){(0,Jd.makeProfileLink)(M,”post”,t.rkey)===te&&T.canGoBack()&&T.goBack()}}}),(e=>{Ht.logger.error(“Failed to delete post”,{message:e}),Gs.show(h({id:”ytX9qK”}),”xmark”)}))},confirmButtonCta:h({id:”cnGeoo”}),confirmButtonColor:”negative”}),(0,jt.jsx)(ir.Basic,{control:P,title:h(H?{id:”OzKITz”}:{id:”e0QoQq”}),description:h({id:”V+UxdB”}),onConfirm:()=>{j({uri:B}),p.metric(“thread:click:hideReplyForMe”,{})},confirmButtonCta:h({id:”vLyv1R”})}),(0,jt.jsx)(Kl.ReportDialog,{control:I,subject:Object.assign({},t,{$type:”app.bsky.feed.defs#postView”})}),(0,jt.jsx)($x,{control:E,postUri:t.uri,rootPostUri:N,initialThreadgateView:t.threadgate}),(0,jt.jsx)(ir.Basic,{control:L,title:h({id:”78rGCh”}),description:h({id:”M71yBf”}),onConfirm:oe,confirmButtonCta:h({id:”/2cecn”})}),(0,jt.jsx)(ir.Basic,{control:R,title:h({id:”OzKITz”}),description:h({id:”qOLU3K”}),onConfirm:ie,confirmButtonCta:h({id:”4as9PU”})}),(0,jt.jsx)(ir.Basic,{control:C,title:h({id:”9CjDMy”}),description:h({id:”HG4qt4″}),onConfirm:async()=>{try{await $(),Gs.show(h({id:”ZJdD7R”}))}catch(e){“AbortError”!==e?.name&&(Ht.logger.error(“Failed to block account”,{message:e}),Gs.show(h({id:”HTQWov”,values:{0:e.toString()}}),”xmark”))}},confirmButtonCta:h({id:”CJkEfx”}),confirmButtonColor:”negative”})]})};u_=(0,ct.memo)(u_);let m_=e=>{const t=(0,a.c)(26),{testID:s,post:o,postFeedContext:n,postReqId:r,big:i,record:l,richText:c,timestamp:d,threadgateRecord:u,onShowLess:m,hitSlop:h,logContext:p}=e,{_:f}=(0,ut.useLingui)(),g=(0,_l.useMenuControl)(),[x,_]=(0,ct.useState)(!1);let y;t[0]!==g?(y=Object.assign({},g,{open(){_(!0),setTimeout(g.open)}}),t[0]=g,t[1]=y):y=t[1];const b=y;let j,v,S,w,T;return t[2]!==f?(j=f({id:”BJ5/tY”}),t[2]=f,t[3]=j):j=t[3],t[4]!==i||t[5]!==h?(v=e=>{const{props:t}=e;return(0,jt.jsx)(Px,Object.assign({testID:”postDropdownBtn”,big:i,label:t.accessibilityLabel},t,{hitSlop:h,children:(0,jt.jsx)(Ex,{icon:Dx})}))},t[4]=i,t[5]=h,t[6]=v):v=t[6],t[7]!==j||t[8]!==v?(S=(0,jt.jsx)(_l.Trigger,{label:j,children:v}),t[7]=j,t[8]=v,t[9]=S):S=t[9],t[10]!==x||t[11]!==p||t[12]!==m||t[13]!==o||t[14]!==n||t[15]!==r||t[16]!==l||t[17]!==c||t[18]!==s||t[19]!==u||t[20]!==d?(w=x&&(0,jt.jsx)(u_,{testID:s,post:o,postFeedContext:n,postReqId:r,record:l,richText:c,timestamp:d,threadgateRecord:u,onShowLess:m,logContext:p}),t[10]=x,t[11]=p,t[12]=m,t[13]=o,t[14]=n,t[15]=r,t[16]=l,t[17]=c,t[18]=s,t[19]=u,t[20]=d,t[21]=w):w=t[21],t[22]!==b||t[23]!==S||t[24]!==w?(T=(0,jt.jsx)(hf,{onKeyDown:!1,children:(0,jt.jsxs)(_l.Root,{control:b,children:[S,w]})}),t[22]=b,t[23]=S,t[24]=w,t[25]=T):T=t[25],T};m_=(0,ct.memo)(m_);const h_=e=>{const t=(0,a.c)(12),{isReposted:s,repostCount:o,onRepost:n,onQuote:r,big:i,embeddingDisabled:l}=e,c=(0,to.useTheme)(),{_:d}=(0,ut.useLingui)(),{hasSession:u}=(0,Yt.useSession)(),m=(0,Yt.useRequireAuth)(),h=Xg();let p;return t[0]!==d||t[1]!==i||t[2]!==l||t[3]!==h||t[4]!==u||t[5]!==s||t[6]!==r||t[7]!==n||t[8]!==o||t[9]!==m||t[10]!==c.palette.positive_500?(p=u?(0,jt.jsx)(hf,{onKeyDown:!1,children:(0,jt.jsxs)(_l.Root,{children:[(0,jt.jsx)(_l.Trigger,{label:d({id:”JOV5dR”}),children:e=>{const{props:t}=e;return(0,jt.jsxs)(Px,Object.assign({testID:”repostBtn”,active:s,activeColor:c.palette.positive_500,label:t.accessibilityLabel,big:i},t,{children:[(0,jt.jsx)(Ex,{icon:yu}),”undefined”!==typeof o&&o>0&&(0,jt.jsx)(Lx,{testID:”repostCount”,children:h(o)})]}))}}),(0,jt.jsxs)(_l.Outer,{style:{minWidth:170},children:[(0,jt.jsxs)(_l.Item,{label:d(s?{id:”6pYY4t”}:{id:”4yzs8i”}),testID:”repostDropdownRepostBtn”,onPress:n,children:[(0,jt.jsx)(_l.ItemText,{children:d(s?{id:”6pYY4t”}:{id:”4yzs8i”})}),(0,jt.jsx)(_l.ItemIcon,{icon:yu,position:”right”})]}),(0,jt.jsxs)(_l.Item,{disabled:l,label:d(l?{id:”ttKDoG”}:{id:”8HFFRQ”}),testID:”repostDropdownQuoteBtn”,onPress:r,children:[(0,jt.jsx)(_l.ItemText,{children:d(l?{id:”ttKDoG”}:{id:”8HFFRQ”})}),(0,jt.jsx)(_l.ItemIcon,{icon:Wx,position:”right”})]})]})]})}):(0,jt.jsxs)(Px,{onPress:()=>m(p_),active:s,activeColor:c.palette.positive_500,label:d({id:”JOV5dR”}),big:i,children:[(0,jt.jsx)(Ex,{icon:yu}),”undefined”!==typeof o&&o>0&&(0,jt.jsx)(Lx,{testID:”repostCount”,children:h(o)})]}),t[0]=d,t[1]=i,t[2]=l,t[3]=h,t[4]=u,t[5]=s,t[6]=r,t[7]=n,t[8]=o,t[9]=m,t[10]=c.palette.positive_500,t[11]=p):p=t[11],p};function p_(){}const f_=(0,na.createSinglePathSVG)({path:”M11.839 4.744c0-1.488 1.724-2.277 2.846-1.364l.107.094 7.66 7.256.128.134c.558.652.558 1.62 0 2.272l-.128.135-7.66 7.255c-1.115 1.057-2.953.267-2.953-1.27v-2.748c-3.503.055-5.417.41-6.592.97-.997.474-1.525 1.122-2.084 2.14l-.243.46c-.558 1.088-2.09.583-2.08-.515l.015-.748c.111-3.68.777-6.5 2.546-8.415 1.83-1.98 4.63-2.771 8.438-2.884V4.744Zm2 3.256c0 .79-.604 1.41-1.341 1.494l-.149.01c-3.9.057-6.147.813-7.48 2.254-.963 1.043-1.562 2.566-1.842 4.79.38-.327.826-.622 1.361-.877 1.656-.788 4.08-1.14 7.938-1.169l.153.007c.754.071 1.36.704 1.36 1.491v2.675L20.884 12l-7.045-6.676V8Z”});var g_=o(99363);const x_=(0,na.createSinglePathSVG)({path:”M14.242 3.03a1 1 0 0 1 .728 1.213l-4 16a1 1 0 1 1-1.94-.485l4-16a1 1 0 0 1 1.213-.728ZM6.707 7.293a1 1 0 0 1 0 1.414L3.414 12l3.293 3.293a1 1 0 1 1-1.414 1.414l-4-4a1 1 0 0 1 0-1.414l4-4a1 1 0 0 1 1.414 0Zm10.586 0a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1 0 1.414l-4 4a1 1 0 1 1-1.414-1.414L20.586 12l-3.293-3.293a1 1 0 0 1 0-1.414Z”}),__=(0,na.createSinglePathSVG)({path:”M14.243 3.03a1 1 0 0 1 .727 1.213l-4 16a1 1 0 1 1-1.94-.485l4-16a1 1 0 0 1 1.213-.728ZM6.707 7.293a1 1 0 0 1 0 1.414l-2.586 2.586a1 1 0 0 0 0 1.414l2.586 2.586a1 1 0 1 1-1.414 1.414l-2.586-2.586a3 3 0 0 1 0-4.242l2.586-2.586a1 1 0 0 1 1.414 0Zm10.586 0a1 1 0 0 1 1.414 0l2.586 2.586a3 3 0 0 1 0 4.242l-2.586 2.586a1 1 0 1 1-1.414-1.414l2.586-2.586a1 1 0 0 0 0-1.414l-2.586-2.586a1 1 0 0 1 0-1.414Z”}),y_=[“control”];let b_=e=>{const t=(0,a.c)(9);let s,o,n,r,i;if(t[0]!==e){var l=e;({control:s}=l),o=(0,la.default)(l,y_),t[0]=e,t[1]=s,t[2]=o}else s=t[1],o=t[2];return t[3]===Symbol.for(“react.memo_cache_sentinel”)?(n=(0,jt.jsx)(so.Handle,{}),t[3]=n):n=t[3],t[4]!==o?(r=(0,jt.jsx)(j_,Object.assign({},o)),t[4]=o,t[5]=r):r=t[5],t[6]!==s||t[7]!==r?(i=(0,jt.jsxs)(so.Outer,{control:s,children:[n,r]}),t[6]=s,t[7]=r,t[8]=i):i=t[8],i};function j_(e){const t=(0,a.c)(70),{postAuthor:s,postCid:o,postUri:n,record:r,timestamp:i}=e,l=(0,to.useTheme)(),{_:c,i18n:d}=(0,ut.useLingui)(),[u,m]=(0,ct.useState)(!1),[h,p]=(0,ct.useState)(!1),[f,g]=(0,ct.useState)(“system”);let x,_;t[0]!==u?(x=()=>{if(u){const e=setTimeout((()=>{m(!1)}),2e3);return()=>clearTimeout(e)}},_=[u],t[0]=u,t[1]=x,t[2]=_):(x=t[1],_=t[2]),(0,ct.useEffect)(x,_);const y=function(e){return(0,qt.toShareUrl)(e)+”?ref_src=embed”},b=r.langs&&r.langs.length>0?r.langs[0]:””,j=y([“/profile”,s.did].join(“/”)),v=new On.AtUri(n),S=y([“/profile”,s.did,”post”,v.rkey].join(“/”)),w=`
${w_(r.text)}${r.embed?`
— ${w_(s.displayName||s.handle)} (@${w_(s.handle)}) ${w_((0,Ml.niceDate)(d,i))}
[image or embed]`:””}