PageSourceSearch

https://setverso.com/assets/Install-ClBk9kqx.js

js setverso.com collected 2026-10-06 04:45:17 UTC 5,027 bytes, 6 lines download raw bytes

1var p=(t,i,o)=>new Promise((d,a)=>{var u=s=>{try{r(o.next(s))}catch(l){a(l)}},m=s=>{try{r(o.throw(s))}catch(l){a(l)}},r=s=>s.done?d(s.value):Promise.resolve(s.value).then(u,m);r((o=o.apply(t,i)).next())});import{j as e,m as j}from"./motion-DQrxb1aq.js";import{r as c}from"./vendor-BTbeRSw2.js";import{c as b,s as v}from"./index-DFRwvZ6i.js";import{C as y,S as N}from"./smartphone-CPdOlcMA.js";import{G as w}from"./globe-BIkISNZL.js";/**
2 * @license lucide-react v0.462.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const S=b("Apple",[["path",{d:"M12 20.94c1.5 0 2.75 1.06 4 1.06 3 0 6-8 6-12.22A4.91 4.91 0 0 0 17 5c-2.22 0-4 1.44-5 2-1-.56-2.78-2-5-2a4.9 4.9 0 0 0-5 4.78C2 14 5 22 8 22c1.25 0 2.5-1.06 4-1.06Z",key:"3s7exb"}],["path",{d:"M10 2c1 .5 2 2 2 5",key:"fcco2y"}]]),A=({className:t})=>e.jsx("svg",{viewBox:"0 0 24 24",className:t,fill:"currentColor","aria-hidden":"true",children:e.jsx("path",{d:"M3.609 1.814L13.792 12 3.61 22.186a.996.996 0 0 1-.61-.92V2.734a1 1 0 0 1 .609-.92zm10.89 10.893l2.302 2.302-10.937 6.333 8.635-8.635zm3.199-3.198l2.807 1.626a1 1 0 0 1 0 1.73l-2.808 1.626L15.206 12l2.492-2.491zM5.864 2.658L16.8 8.99l-2.302 2.302-8.634-8.634z"})});function x({store:t,href:i}){const o=t==="apple";return e.jsxs("a",{href:i,target:"_blank",rel:"noopener noreferrer","data-external":"true",className:"flex items-center gap-3 w-full p-3 rounded-lg bg-foreground text-background hover:bg-foreground
6/90 transition-all group",children:[e.jsx("div",{className:"flex items-center justify-center w-9 h-9 rounded-md bg-background/10 flex-shrink-0",children:o?e.jsx(S,{className:"w-5 h-5","aria-hidden":"true"}):e.jsx(A,{className:"w-5 h-5"})}),e.jsxs("div",{className:"flex-1 text-left",children:[e.jsx("p",{className:"text-[10px] text-background/70 leading-none mb-0.5",children:o?"Baixar na":"Disponível no"}),e.jsx("p",{className:"text-base font-semibold leading-tight",children:o?"App Store":"Google Play"})]}),e.jsx(y,{className:"w-5 h-5 text-background/50 group-hover:text-background/80 transition-colors"})]})}const f="/assets/setverso-logo-6Eo5uNtY.png",g="https://apps.apple.com/br/app/setverso/id6760897186",h="https://play.google.com/store/apps/details?id=app.setverso.apk";function k(){if(typeof navigator=="undefined")return"unknown";const t=(navigator.userAgent||"").toLowerCase(),i=/macintosh/.test(t)&&typeof document!="undefined"&&"ontouchend"in document;return/iphone|ipad|ipod/.test(t)||i?"ios":/android/.test(t)?"android":"unknown"}function G(){const[t,i]=c.useState(g),[o,d]=c.useState(h),[a]=c.useState(()=>k()),[u,m]=c.useState(a!=="unknown");return c.useEffect(()=>{document.title="Baixar o app Setverso | iOS e Android";const r=document.querySelector('meta[name="description"]');r&&r.setAttribute("content","Baixe o aplicativo Setverso para iPhone ou Android e acesse a comunidade direto do seu celular.")},[]),c.useEffect(()=>{let r=!0;return p(this,null,function*(){let s=g,l=h;try{const{data:n}=yield v.from("app_settings").select("ios_store_url, android_store_url").maybeSingle();n!=null&&n.ios_store_url&&(s=n.ios_store_url),n!=null&&n.android_store_url&&(l=n.android_store_url)}catch(n){}r&&(i(s),d(l),(a==="ios"||a==="android")&&(window.location.replace(a==="ios"?s:l),setTimeout(()=>r&&m(!1),2500)))}),()=>{r=!1}},[a]),u?e.jsxs("div",{className:"min-h-screen bg-background flex flex-col items-center justify-center gap-4 px-6 text-center",children:[e.jsx("img",{src:f,alt:"Setverso",className:"h-8 w-auto opacity-90"}),e.jsx("div",{className:"w-6 h-6 rounded-full border-2 border-foreground
6/20 border-t-foreground/80 animate-spin"}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:["Abrindo a ",a==="ios"?"App Store":"Google Play","..."]})]}):e.jsx("main",{className:"min-h-screen bg-background flex items-center justify-center px-5 py-12",children:e.jsxs(j.div,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.35},className:"w-full max-w-sm",children:[e.jsxs("div",{className:"flex flex-col items-center text-center gap-4 mb-8",children:[e.jsx("img",{src:f,alt:"Setverso",className:"h-9 w-auto"}),e.jsx("div",{className:"flex items-center justify-center w-14 h-14 rounded-2xl bg-muted",children:e.jsx(N,{className:"w-7 h-7 text-foreground","aria-hidden":"true"})}),e.jsx("h1",{className:"text-2xl font-semibold tracking-tight text-foreground",children:"Baixe o app Setverso"}),e.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:"Escolha a loja do seu celular para instalar o aplicativo e acessar a comunidade com sua conta."})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(x,{store:"apple",href:t}),e.jsx(x,{store:"google",href:o})]}),e.jsxs("a",{href:"/membros/feed",className:"mt-6 flex items-center justify-center gap-2 text-sm text-muted-foreground hover:text-foreground transition-colors",children:[e.jsx(w,{className:"w-4 h-4","aria-hidden":"true"}),"Continuar pelo navegador"]})]})})}export{G as default};

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