1import{K as e,Y as t,o as n,t as r}from"./jsx-runtime-vrPXwdFF.js";import{t as i}from"./lib-DtPpSK95.js";import{a,c as o,i as s,l as c,n as l,o as u,r as d,s as f,t as p,u as m}from"./factory-industrial-robot-arm-1-BNNPVFbZ.js";import{t as h}from"./info-DEoOI2qH.js";import{t as g}from"./dist-DuLxksy6.js";import{a as _,i as v,n as y,o as b,r as x}from"./jsonld-jP1ryWsw.js";var S=t(e()),C=r(),w=(0,S.forwardRef)(({title:e,titleId:t,...n},r)=>(0,C.jsxs)(`svg`,{viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`,ref:r,"aria-labelledby":t,...n,children:[e?(0,C.jsx)(`title`,{id:t,children:e}):null,(0,C.jsx)(`path`,{fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M5 12h14m-7-7l7 7l-7 7`})]})),T=(0,S.forwardRef)(({title:e,titleId:t,...n},r)=>(0,C.jsxs)(`svg`,{viewBox:`0 0 24 24`,width:`1.2em`,height:`1.2em`,ref:r,"aria-labelledby":t,...n,children:[e?(0,C.jsx)(`title`,{id:t,children:e}):null,(0,C.jsx)(`path`,{fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M7 7h10v10M7 17L17 7`})]})),E=`ReCalc â FRC & FTC Robotics Design Calculator & Simulator`,D=`Free FRC and FTC robotics calculators and simulators. Design belt, chain, gear, arm, flywheel, and linear mechanisms for FIRST Robotics Competition and FIRST Tech Challenge teams.`;function O(e){return[..._({path:`/`,title:E,description:D}),{"script:ld+json":y(v(),x({url:b(`/`),name:`ReCalc`,description:D}))}]}function k(){return(0,C.jsxs)(`div`,{className:`relative overflow-hidden px-4 pt-12 pb-12 text-center md:pt-12 md:pb-12`,children:[(0,C.jsx)(`div`,{className:`absolute inset-0 opacity-[0.045] dark:opacity-[0.07]`,style:{backgroundImage:`radial-gradient(circle, currentColor 1px, transparent 1px)`,backgroundSize:`22px 22px`}}),(0,C.jsx)(`div`,{className:`pointer-events-none absolute inset-x-0 -top-16 h-96`,style:{background:`radial-gradient(ellipse 75% 55% at 50% 0%, rgb(0 110 182 / 0.1), transparent)`}}),(0,C.jsxs)(`div`,{className:`relative`,children:[(0,C.jsx)(`h1`,{className:`mb-5 text-6xl font-bold tracking-tight text-foreground md:text-8xl`,children:`ReCalc`}),(0,C.jsx)(`p`,{className:`mx-auto max-w-lg text-base text-muted-foreground md:text-lg`,children:`A collaboration-focused mechanical design calculator for FIRST Robotics.`})]})]})}function A({label:e,className:t}){return(0,C.jsxs)(`div`,{className:g(`mb-6 flex items-center gap-3`,t),children:[(0,C.jsx)(`span`,{className:`text-xs font-semibold tracking-widest text-primary uppercase`,children:e}),(0,C.jsx)(`div`,{className:`h-px flex-1 bg-border`})]})}function j({to:e,title:t,icon:n,className:r}){return(0,C.jsx)(i,{to:e,className:`group block`,children:(0,C.jsxs)(`div`,{className:g(`relative flex h-full items-center gap-3 rounded-xl border bg-card p-5 shadow-sm`,`transition-all duration-200 hover:-translate-y-0.5 hover:border-primary/40 hover:shadow-md`,r),children:[(0,C.jsx)(`div`,{className:`flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-primary/10 transition-colors duration-200 group-hover:bg-primary/15`,children:(0,C.jsx)(n,{className:`h-4.5 w-4.5 text-primary`})}),(0,C.jsx)(`h3`,{className:`flex-1 font-semibold text-foreground transition-colors duration-200 group-hover:text-primary`,children:t}),(0,C.jsx)(w,{className:`h-4 w-4 shrink-0 text-muted-foreground/40 transition-all duration-200 group-hover:translate-x-0.5 group-hover:text-primary`})]})})}function M({to:e,title:t,icon:n}){return(0,C.jsx)(i,{to:e,className:`group block`,children:(0,C.jsxs)(`div`,{className:`flex items-center gap-3 rounded-xl border bg-card p-5 shadow-sm transition-all duration-200 hover:-translate-y-0.5 hover:border-primary/40 hover:shadow-md`,children:[(0,C.jsx)(`div`,{className:`flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-muted transition-colors duration-200 group-hover:bg-primary/10`,children:(0,C.jsx)(n,{className:`h-4 w-4 text-muted-foreground transition-colors duration-200 group-hover:text-primary`})}),(0,C.jsx)(`p`,{className:`flex-1 font-medium text-foreground transition-colors duration-200 group-hover:text-primary`,children:t}),(0,C.jsx)(w,{className:`h-4 w-4 shrink-0 text-muted-foreground
1/40 transition-all duration-200 group-hover:translate-x-0.5 group-hover:text-primary`})]})})}function N({name:e,url:t}){return(0,C.jsxs)(`a`,{href:t,target:`_blank`,rel:`noopener noreferrer`,className:`group flex items-center justify-between rounded-lg border bg-card px-4 py-3 text-sm shadow-sm transition-all duration-150 hover:border-primary/40 hover:bg-accent`,children:[(0,C.jsx)(`span`,{className:`text-foreground transition-colors duration-150 group-hover:text-primary`,children:e}),(0,C.jsx)(T,{className:`h-3.5 w-3.5 shrink-0 text-muted-foreground/50 transition-all duration-150 group-hover:text-primary`})]})}function P({label:e,children:t}){return(0,C.jsxs)(`div`,{children:[(0,C.jsx)(`p`,{className:`mb-2.5 text-xs font-medium text-muted-foreground`,children:e}),(0,C.jsx)(`div`,{className:`grid gap-2 sm:grid-cols-3`,children:t})]})}var F=n(function(){let e=new Date().getFullYear();return(0,C.jsxs)(`div`,{className:`pb-16`,children:[(0,C.jsx)(k,{}),(0,C.jsxs)(`div`,{className:`space-y-14 px-2 md:px-0`,children:[(0,C.jsxs)(`section`,{children:[(0,C.jsx)(A,{label:`Calculators`}),(0,C.jsxs)(`div`,{className:`grid gap-3 sm:grid-cols-2 lg:grid-cols-3`,children:[(0,C.jsx)(j,{to:`/belts`,title:`Belt Calculator`,icon:m}),(0,C.jsx)(j,{to:`/chains`,title:`Chain Calculator`,icon:c}),(0,C.jsx)(j,{to:`/gears`,title:`Gears Calculator`,icon:o}),(0,C.jsx)(j,{to:`/linear`,title:`Linear Mechanism`,icon:u}),(0,C.jsx)(j,{to:`/flywheel`,title:`Flywheel Calculator`,icon:f}),(0,C.jsx)(j,{to:`/arm`,title:`Arm Calculator`,icon:p}),(0,C.jsx)(j,{to:`/intake`,title:`Intake Calculator`,icon:s}),(0,C.jsx)(j,{to:`/ratio-finder`,title:`Ratio Finder`,icon:d}),(0,C.jsx)(j,{to:`/ratio`,title:`Ratio Calculator`,icon:a})]})]}),(0,C.jsxs)(`section`,{children:[(0,C.jsx)(A,{label:`Information`}),(0,C.jsxs)(`div`,{className:`grid gap-3 sm:grid-cols-2`,children:[(0,C.jsx)(M,{to:`/motors`,title:`Motors`,icon:l}),(0,C.jsx)(M,{to:`/about`,title:`About`,icon:h})]})]}),(0,C.jsxs)(`section`,{children:[(0,C.jsx)(A,{label:`Shortcuts`}),(0,C.jsxs)(`div`,{className:`space-y-6`,children:[(0,C.jsxs)(P,{label:`${e} Rules & Manuals`,children:[(0,C.jsx)(N,{name:`${e} Official PDF Manual`,url:`https://firstfrc.blob.core.windows.net/frc${e}/Manual/${e}GameManual.pdf`}),(0,C.jsx)(N,{name:`${e} Unofficial Web Manual`,url:`https://www.frcmanual.com/${e}/introduction`}),(0,C.jsx)(N,{name:`${e} Q&A`,url:`https://frc-qa.firstinspires.org/`})]}),(0,C.jsxs)(P,{label:`${e} Events & Teams`,children:[(0,C.jsx)(N,{name:`Team / Event Search`,url:`https://www.firstinspires.org/team-event-search#type=teams&sort=name&programs=FRC&year=${e}`}),(0,C.jsx)(N,{name:`FRC-Events`,url:`https://frc-events.firstinspires.org/${e}/Events/EventList`}),(0,C.jsx)(N,{name:`TheBlueAlliance`,url:`https://www.thebluealliance.com/events/${e}`})]}),(0,C.jsxs)(P,{label:`Community & Resources`,children:[(0,C.jsx)(N,{name:`frc.sh`,url:`https://frc.sh`}),(0,C.jsx)(N,{name:`FRC Technical Resources`,url:`https://www.firstinspires.org/resource-library/frc/technical-resources`}),(0,C.jsx)(N,{name:`Open Alliance`,url:`https://www.chiefdelphi.com/c/first/open-alliance/89`})]})]})]})]})]})});export{F as default,O as meta};
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.