(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,45544,e=>{"use strict";var t=e.i(43476);async function s(e){let t=await fetch(e),s=await t.json().catch(()=>({}));if(!t.ok)throw Error("string"==typeof s.erro?s.erro:`HTTP ${t.status}`);return s}var a=e.i(71645);e.s(["InstallButton",0,function(){let[e,n]=(0,a.useState)(null);return(0,a.useEffect)(()=>{s("/api/github/app-info").then(n).catch(()=>{})},[]),(0,t.jsx)("div",{className:"flex items-center gap-3",children:e?(0,t.jsxs)("a",{href:e.installUrl,target:"_blank",rel:"noopener noreferrer",className:"btn btn-sm btn-success",children:[(0,t.jsx)("i",{className:"fa-brands fa-github"}),"Instalar App"]}):(0,t.jsxs)("button",{disabled:!0,className:"btn btn-sm btn-success opacity-50 cursor-not-allowed",children:[(0,t.jsx)("i",{className:"fa-brands fa-github"}),"Instalar App"]})})},"InstallHeroButton",0,function(){let[e,n]=(0,a.useState)(null);return(0,a.useEffect)(()=>{s("/api/github/app-info").then(n).catch(()=>{})},[]),(0,t.jsx)(t.Fragment,{children:e?(0,t.jsxs)("a",{href:e.installUrl,target:"_blank",rel:"noopener noreferrer",className:"btn btn-success",children:[(0,t.jsx)("i",{className:"fa-brands fa-github"}),"Instalar GitHub App"]}):(0,t.jsxs)("button",{disabled:!0,className:"btn btn-success opacity-50 cursor-not-allowed",children:[(0,t.jsx)("i",{className:"fa-brands fa-github"}),"Instalar GitHub App"]})})}],45544)},33545,e=>{"use strict";var t=e.i(43476),s=e.i(71645);e.s(["TiltCard",0,function({children:e,maxAngle:a=6,perspective:n=600,scale:r=1.02,className:l,style:i,...c}){let o=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=o.current;if(!e)return;let t=0,s=s=>{cancelAnimationFrame(t),t=requestAnimationFrame(()=>{let t=e.getBoundingClientRect(),l=(s.clientX-t.left)/t.width,i=(s.clientY-t.top)/t.height,c=(l-.5)*2*a,o=-((i-.5)*2)*a;e.style.transform=`
          perspective(${n}px)
          rotateX(${o}deg)
          rotateY(${c}deg)
          scale3d(${r}, ${r}, ${r})
        `})},l=()=>{cancelAnimationFrame(t),e.style.transform=`
        perspective(${n}px)
        rotateX(0deg)
        rotateY(0deg)
        scale3d(1, 1, 1)
      `};return e.addEventListener("mousemove",s),e.addEventListener("mouseleave",l),()=>{cancelAnimationFrame(t),e.removeEventListener("mousemove",s),e.removeEventListener("mouseleave",l)}},[a,n,r]),(0,t.jsx)("div",{ref:o,className:l,style:{transition:"transform 0.15s ease-out",transformStyle:"preserve-3d",willChange:"transform",...i},...c,children:e})}])}]);