AnasSarkiz/usb-c-pd-brushed-motor

USB-C PD-powered motor controller with protected input, selectable 5/9/12 V buck supply, MCU qualification, PWM H-bridge drive, overvoltage sensing, regenerative energy-dump resistors, and safety interlocks.

Version
0.0.1-a48-cloud-pipeline9-unrouted-c41d79a-305b1e7a
License
unset
Stars
0

dist/index.js

import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
import { Fragment as Fragment$1 } from 'react';

// Native board source, in world mm (+X right, +Y up). These are routing
// reservations, not supplier components or edits to generated artifacts.
const logicPadEscapePaths = [
    {
        connection: "D3.cathode",
        route: [
            { route_type: "wire", x: -17, y: 7.692402, width: 0.2, layer: "top" },
            { route_type: "wire", x: -18.3, y: 7.692402, width: 0.2, layer: "top" },
            {
                route_type: "via",
                x: -18.3,
                y: 7.692402,
                from_layer: "top",
                to_layer: "bottom",
                via_diameter: 0.6,
                via_hole_diameter: 0.3,
            },
        ],
    },
    {
        connection: "TP1.pin1",
        route: [
            { route_type: "wire", x: -28.1, y: -3, width: 0.2, layer: "top" },
            { route_type: "wire", x: -28.1, y: -4.6, width: 0.2, layer: "top" },
            {
                route_type: "via",
                x: -28.1,
                y: -4.6,
                from_layer: "top",
                to_layer: "bottom",
                via_diameter: 0.6,
                via_hole_diameter: 0.3,
            },
        ],
    },
    {
        connection: "R57.pin2",
        route: [
            { route_type: "wire", x: -8, y: -1.246636, width: 0.2, layer: "top" },
            { route_type: "wire", x: -8, y: -0.3, width: 0.2, layer: "top" },
            {
                route_type: "via",
                x: -8,
                y: -0.3,
                from_layer: "top",
                to_layer: "inner1",
                via_diameter: 0.6,
                via_hole_diameter: 0.3,
            },
        ],
    },
];
function LogicPadEscapes() {
    return (jsx("autoroutingphase", { name: "logic-pad-clearance-escapes", phaseIndex: 2, autorouter: {
            preset: "fanout",
            allowViaInPad: false,
            traceClearance: 0.25,
        }, connections: ["net.VBUS_SENSE", "net.SWDIO", "net.HOST_INHIBIT_B"], pcbTracePaths: logicPadEscapePaths }));
}

// Reserve reset/sensing paths, then supply, interfaces and functional analog groups.
// Ground uses one native plane-fanout phase after the signal and power networks.
// Names match the existing schematic; no electrical components are defined here.
const signalNetNames = [
    "CC1",
    "CC2",
    "PD_RESET",
    "SCL",
    "SDA",
    "PD_ENABLE_N",
    "VBUS_SENSE",
    "PD_ALERT_N",
    "VREG_1V2",
    "VREG_2V7",
    "MCU_NRST",
    "ADC_VBUS",
    "ADC_VM",
    "VOLTAGE_BIT_9",
    "VOLTAGE_BIT_12",
    "VOLTAGE_DRIVE_9",
    "VOLTAGE_DRIVE_12",
    "HOST_ALLOW",
    "HOST_INHIBIT_B",
    "MOTOR_FAULT_N",
    "SWDIO",
    "SWCLK",
    "MOTOR_READY",
    "SELECT_9",
    "SELECT_12",
    "INPUT_UV",
    "INPUT_OV",
    "SLEW",
    "INPUT_ILIM",
    "POWER_ENABLE",
    "INPUT_PG",
    "PD_INHIBIT",
    "INPUT_OV_TOP",
    "BOOT",
    "BUCK_EN",
    "RT",
    "MOTOR_FB",
    "COMP",
    "FB_TOP_MID",
    "COMP_ZERO",
    "TIMING",
    "PWM",
    "TIMER_CONT",
    "WIPER",
    "POT_CHARGE",
    "POT_DISCHARGE",
    "DISCHARGE_END",
    "IN1",
    "IN2",
    "R29_LED",
    "R30_LED",
    "VREF2V5",
    "UV_REF",
    "OV_REF",
    "OV_ACTIVE_N",
    "IPROPI",
    "VCP",
    "CPH",
    "CPL",
    "POWER_LED",
    "DUMP_BASE",
    "DUMP_DRIVE",
    "DUMP_GATE",
    "DUMP_LOAD",
    "DUMP_MID_A",
    "DUMP_MID_B",
    "DUMP_MID_C",
    "DUMP_MID_D",
    "OV_INHIBIT",
];
const quietNetNames = [
    "VBUS_SENSE",
    "VREG_1V2",
    "VREG_2V7",
    "ADC_VBUS",
    "ADC_VM",
];
const interfaceNetNames = [
    "CC1",
    "CC2",
    "PD_RESET",
    "SCL",
    "SDA",
    "PD_ENABLE_N",
    "PD_ALERT_N",
    "VOLTAGE_BIT_9",
    "VOLTAGE_BIT_12",
    "VOLTAGE_DRIVE_9",
    "VOLTAGE_DRIVE_12",
    "HOST_ALLOW",
    "HOST_INHIBIT_B",
    "MOTOR_FAULT_N",
    "SWDIO",
    "SWCLK",
    "MOTOR_READY",
    "SELECT_9",
    "SELECT_12",
];
const analogRoutingGroups = [
    ["BOOT", "BUCK_EN", "RT", "MOTOR_FB", "COMP", "FB_TOP_MID", "COMP_ZERO"],
    [
        "INPUT_UV",
        "INPUT_OV",
        "SLEW",
        "INPUT_ILIM",
        "POWER_ENABLE",
        "INPUT_PG",
        "PD_INHIBIT",
        "INPUT_OV_TOP",
    ],
    [
        "VREF2V5",
        "UV_REF",
        "OV_REF",
        "OV_ACTIVE_N",
        "IPROPI",
        "VCP",
        "CPH",
        "CPL",
        "POWER_LED",
    ],
    [
        "TIMING",
        "PWM",
        "TIMER_CONT",
        "WIPER",
        "POT_CHARGE",
        "POT_DISCHARGE",
        "DISCHARGE_END",
        "IN1",
        "IN2",
        "R29_LED",
        "R30_LED",
    ],
    [
        "DUMP_BASE",
        "DUMP_DRIVE",
        "DUMP_GATE",
        "DUMP_LOAD",
        "DUMP_MID_A",
        "DUMP_MID_B",
        "DUMP_MID_C",
        "DUMP_MID_D",
        "OV_INHIBIT",
    ],
];
function signalRoutingPhase(name) {
    if (name === "ADC_VBUS")
        return 0;
    if (name === "MCU_NRST")
        return 0;
    if (["VBUS_SENSE", "SWDIO", "HOST_INHIBIT_B"].includes(name))
        return 2;
    if (quietNetNames.includes(name))
        return 3;
    if (interfaceNetNames.includes(name))
        return 4;
    const groupIndex = analogRoutingGroups.findIndex((group) => group.includes(name));
    if (groupIndex === -1)
        throw new Error(`Missing routing group for ${name}`);
    return 5 + groupIndex;
}
function RoutingNets() {
    return (jsxs(Fragment, { children: [jsx("net", { name: "GND", isGroundNet: true, routingPhaseIndex: 11 }), jsx("net", { name: "VBUS", isPowerNet: true, nominalTraceWidth: "2mm", routingPhaseIndex: 10 }), jsx("net", { name: "VDD5", isPowerNet: true, routingPhaseIndex: 10 }), jsx("net", { name: "VCC3V3", isPowerNet: true, routingPhaseIndex: 1 }), jsx("net", { name: "EFUSE_IN", isPowerNet: true, nominalTraceWidth: "2mm", routingPhaseIndex: 10 }), jsx("net", { name: "VIN_BUCK", isPowerNet: true, nominalTraceWidth: "2mm", routingPhaseIndex: 10 }), jsx("net", { name: "SWITCH_NODE", isPowerNet: true, nominalTraceWidth: "2mm", routingPhaseIndex: 0 }), jsx("net", { name: "VM", isPowerNet: true, nominalTraceWidth: "2mm", routingPhaseIndex: 10 }), jsx("net", { name: "MOTOR_P", nominalTraceWidth: "2mm", routingPhaseIndex: 0 }), jsx("net", { name: "MOTOR_N", nominalTraceWidth: "2mm", routingPhaseIndex: 0 }), signalNetNames.map((name) => (jsx(Fragment$1, { children: jsx("net", { name: name, routingPhaseIndex: name === "DUMP_LOAD" ? 10 : signalRoutingPhase(name), nominalTraceWidth: name === "DUMP_LOAD"
                        ? "2mm"
                        : name.startsWith("DUMP_MID_")
                            ? "0.5mm"
                            : undefined, isPowerNet: name === "DUMP_LOAD" || name.startsWith("DUMP_MID_")
                        ? true
                        : undefined }) }, name)))] }));
}

// A22: board-level numeric millimetre placements; supplier imports unchanged.
const productPlacement = {
    TP1: {
        x: -28.1,
        y: -3,
        ccwRotationDegrees: 0,
    },
    TP2: {
        x: -28.1,
        y: -7,
        ccwRotationDegrees: 0,
    },
    TP3: {
        x: -19.75,
        y: 3.25,
        ccwRotationDegrees: 90,
    },
    TP4: {
        x: -23,
        y: -12.5,
        ccwRotationDegrees: 0,
    },
    TP5: {
        x: -20,
        y: 18,
        ccwRotationDegrees: 90,
    },
    TP6: {
        x: -20,
        y: 12.5,
        ccwRotationDegrees: 90,
    },
    TP7: {
        x: 20,
        y: 12,
        ccwRotationDegrees: 90,
    },
    C29: {
        x: 25,
        y: 11,
        ccwRotationDegrees: 0,
    },
    C28: {
        x: 28.3,
        y: 5.9,
        ccwRotationDegrees: 270,
    },
    C27: {
        x: 26.0,
        y: 5.9,
        ccwRotationDegrees: 90,
    },
    C26: {
        x: 23.1,
        y: 5.5,
        ccwRotationDegrees: 0,
    },
    C22: {
        x: 7.9,
        y: 13.25,
        ccwRotationDegrees: 0,
    },
    C23: {
        x: -1.15,
        y: 13.5,
        ccwRotationDegrees: 90,
    },
    C34: {
        x: -8.4,
        y: 2,
        ccwRotationDegrees: 0,
    },
    R67: {
        x: -12,
        y: 2,
        ccwRotationDegrees: 0,
    },
    R66: {
        x: -12,
        y: 0,
        ccwRotationDegrees: 180,
    },
    C33: {
        x: -10,
        y: -7.2,
        ccwRotationDegrees: 0,
    },
    R61: {
        x: -10.5,
        y: -4.8,
        ccwRotationDegrees: 0,
    },
    R60: {
        x: -11.5,
        y: -2,
        ccwRotationDegrees: 0,
    },
    C32: {
        x: -12.9,
        y: -4.35,
        ccwRotationDegrees: 90,
    },
    C31: {
        x: -14.2,
        y: -10.7,
        ccwRotationDegrees: 90,
    },
    C30: {
        x: -13.8,
        y: -7,
        ccwRotationDegrees: 0,
    },
    C15: {
        x: -7.2,
        y: -13.75,
        ccwRotationDegrees: 0,
    },
    C12: {
        x: -3.2,
        y: -16,
        ccwRotationDegrees: 270,
    },
    J1: {
        // GCT recommended PCB edge: 7.35 mm in front of the SMT pad row.
        x: -34.7650644,
        y: 4,
        ccwRotationDegrees: -90,
    },
    J2: {
        x: 34,
        y: 8,
        ccwRotationDegrees: 90,
    },
    RV1: {
        x: -9,
        y: 17,
        ccwRotationDegrees: 0,
    },
    SW1: {
        x: 10,
        y: 21,
        ccwRotationDegrees: 0,
    },
    SW2: {
        x: -23,
        y: 24,
        ccwRotationDegrees: 90,
    },
    U1: {
        x: -24.4,
        y: 4.0,
        ccwRotationDegrees: 0,
    },
    U2: {
        x: -32,
        y: 15,
        ccwRotationDegrees: 90,
    },
    U3: {
        x: -25,
        y: 15,
        ccwRotationDegrees: 90,
    },
    U11: {
        x: -20,
        y: -6,
        ccwRotationDegrees: 90,
    },
    U4: {
        x: -22,
        y: -19,
        ccwRotationDegrees: 0,
    },
    U5: {
        x: -8.7,
        y: -19,
        ccwRotationDegrees: 180,
    },
    U6: {
        x: 3,
        y: 9,
        ccwRotationDegrees: 0,
    },
    U8: {
        x: 13,
        y: -3,
        ccwRotationDegrees: 0,
    },
    U9: {
        x: 13,
        y: 5,
        ccwRotationDegrees: 0,
    },
    U10: {
        x: 25,
        y: 0,
        ccwRotationDegrees: 0,
    },
    L1: {
        x: 5.3,
        y: -18.5,
        ccwRotationDegrees: 0,
    },
    C18: {
        x: 25.5,
        y: -14,
        ccwRotationDegrees: 0,
    },
    D1: {
        x: -33,
        y: -7,
        ccwRotationDegrees: 90,
    },
    D4: {
        x: -32,
        y: -17,
        ccwRotationDegrees: 90,
    },
    D5: {
        x: -3.7,
        y: -22.5,
        ccwRotationDegrees: 90,
    },
    D10: {
        x: 31,
        y: 18,
        ccwRotationDegrees: 90,
    },
    D11: {
        x: 33,
        y: -3,
        ccwRotationDegrees: 90,
    },
    C13: {
        x: -9.2,
        y: -10.6,
        ccwRotationDegrees: 180,
    },
    C14: {
        x: -13.5,
        y: -19,
        ccwRotationDegrees: 90,
    },
    Q3: {
        x: 35.5,
        y: -15,
        ccwRotationDegrees: 180,
    },
    R45: {
        x: 17,
        y: -29,
        ccwRotationDegrees: 0,
    },
    R46: {
        x: 26.5,
        y: -29,
        ccwRotationDegrees: 0,
    },
    R47: {
        x: 17,
        y: -24,
        ccwRotationDegrees: 0,
    },
    R48: {
        x: 26.5,
        y: -24,
        ccwRotationDegrees: 0,
    },
    R69: {
        x: -22,
        y: -29.5,
        ccwRotationDegrees: 0,
    },
    R70: {
        x: -12.5,
        y: -29.5,
        ccwRotationDegrees: 0,
    },
    R71: {
        x: -2,
        y: -29.5,
        ccwRotationDegrees: 0,
    },
    R72: {
        x: 7.5,
        y: -29.5,
        ccwRotationDegrees: 0,
    },
    LED1: {
        x: 25,
        y: 24,
        ccwRotationDegrees: 0,
    },
    LED2: {
        x: 20,
        y: 24,
        ccwRotationDegrees: 0,
    },
    LED3: {
        x: 20,
        y: 19,
        ccwRotationDegrees: 0,
    },
    C16: {
        x: 15.2,
        y: -16,
        ccwRotationDegrees: 0,
    },
    C17: {
        x: 15.2,
        y: -19.5,
        ccwRotationDegrees: 0,
    },
    D2: {
        x: -23.25,
        y: 8.75,
        ccwRotationDegrees: 0,
    },
    Q6: {
        x: 1,
        y: 2,
        ccwRotationDegrees: 0,
    },
    Q7: {
        x: -3.5,
        y: -11.25,
        ccwRotationDegrees: 0,
    },
    Q8: {
        x: -16,
        y: 1,
        ccwRotationDegrees: 0,
    },
    Q1: {
        x: -29,
        y: -24,
        ccwRotationDegrees: 0,
    },
    Q2: {
        x: 35.5,
        y: -11,
        ccwRotationDegrees: 0,
    },
    Q4: {
        x: 8,
        y: 2,
        ccwRotationDegrees: 0,
    },
    Q5: {
        x: 5,
        y: -10,
        ccwRotationDegrees: 180,
    },
    R68: {
        x: -4,
        y: -8,
        ccwRotationDegrees: 0,
    },
    D3: {
        x: -17,
        y: 6.0,
        ccwRotationDegrees: 270,
    },
    D9: {
        x: 35.0,
        y: -20,
        ccwRotationDegrees: 90,
    },
    C1: {
        x: -30,
        y: 19,
        ccwRotationDegrees: 0,
    },
    C6: {
        x: -29.2,
        y: 6.5,
        ccwRotationDegrees: 90,
    },
    C7: {
        x: -29.2,
        y: 1.6,
        ccwRotationDegrees: 270,
    },
    C11: {
        x: -18,
        y: -13.8,
        ccwRotationDegrees: 0,
    },
    D6: {
        x: -2,
        y: 9,
        ccwRotationDegrees: 90,
    },
    D7: {
        x: -5,
        y: 9,
        ccwRotationDegrees: 270,
    },
    D8: {
        x: 8,
        y: 7,
        ccwRotationDegrees: 90,
    },
    R1: {
        x: -11,
        y: 6,
        ccwRotationDegrees: 90,
    },
    R2: {
        x: -14,
        y: 6.0,
        ccwRotationDegrees: 180,
    },
    R3: {
        x: -13,
        y: 8.5,
        ccwRotationDegrees: 90,
    },
    R4: {
        x: -21,
        y: 0.0,
        ccwRotationDegrees: 0,
    },
    R56: {
        x: -17.25,
        y: -10.7,
        ccwRotationDegrees: 0,
    },
    R57: {
        x: -8,
        y: -2,
        ccwRotationDegrees: 90,
    },
    R58: {
        x: -24,
        y: 19,
        ccwRotationDegrees: 0,
    },
    R59: {
        x: -8,
        y: 6,
        ccwRotationDegrees: 90,
    },
    R62: {
        x: -28,
        y: -14,
        ccwRotationDegrees: 0,
    },
    R63: {
        x: -5,
        y: -3,
        ccwRotationDegrees: 90,
    },
    R64: {
        x: -5,
        y: 1,
        ccwRotationDegrees: 90,
    },
    R5: {
        x: -32,
        y: -12,
        ccwRotationDegrees: 180,
    },
    R6: {
        x: -25,
        y: -24,
        ccwRotationDegrees: 180,
    },
    R7: {
        x: -28.3,
        y: -18.65,
        ccwRotationDegrees: 180,
    },
    R8: {
        x: -32,
        y: -22.75,
        ccwRotationDegrees: 270,
    },
    R9: {
        x: -30.25,
        y: -27.75,
        ccwRotationDegrees: 90,
    },
    R10: {
        x: -28,
        y: -28,
        ccwRotationDegrees: 270,
    },
    R11: {
        x: -36,
        y: -22,
        ccwRotationDegrees: 180,
    },
    R12: {
        x: -36,
        y: -19,
        ccwRotationDegrees: 0,
    },
    R13: {
        x: -35,
        y: -16,
        ccwRotationDegrees: 270,
    },
    R16: {
        x: -2,
        y: -4,
        ccwRotationDegrees: 270,
    },
    R17: {
        x: -13.45,
        y: -14.3,
        ccwRotationDegrees: 180,
    },
    R18: {
        x: -16.7,
        y: -17,
        ccwRotationDegrees: 270,
    },
    R55: {
        x: -16.7,
        y: -20.6,
        ccwRotationDegrees: 270,
    },
    R19: {
        x: -17.05,
        y: -24,
        ccwRotationDegrees: 180,
    },
    R20: {
        x: -20.05,
        y: -25.4,
        ccwRotationDegrees: 270,
    },
    R21: {
        x: -16.1,
        y: -26.1,
        ccwRotationDegrees: 180,
    },
    R22: {
        x: -9.5,
        y: -24.95,
        ccwRotationDegrees: 270,
    },
    R23: {
        x: 9,
        y: -2,
        ccwRotationDegrees: 270,
    },
    R24: {
        x: 11,
        y: -7,
        ccwRotationDegrees: 270,
    },
    R25: {
        x: -8,
        y: 10,
        ccwRotationDegrees: 90,
    },
    R26: {
        x: -4,
        y: 5,
        ccwRotationDegrees: 0,
    },
    R29: {
        x: 12,
        y: 13,
        ccwRotationDegrees: 0,
    },
    R30: {
        x: 16,
        y: 13,
        ccwRotationDegrees: 0,
    },
    R31: {
        x: 13,
        y: 0,
        ccwRotationDegrees: 0,
    },
    R32: {
        x: 17,
        y: -1,
        ccwRotationDegrees: 90,
    },
    R33: {
        x: 18,
        y: 2,
        ccwRotationDegrees: 180,
    },
    R34: {
        x: 8,
        y: 11,
        ccwRotationDegrees: 0,
    },
    R39: {
        x: 18,
        y: 5,
        ccwRotationDegrees: 180,
    },
    R65: {
        x: 18,
        y: 8,
        ccwRotationDegrees: 0,
    },
    R40: {
        x: 22,
        y: 8,
        ccwRotationDegrees: 0,
    },
    R51: {
        x: 20,
        y: -1,
        ccwRotationDegrees: 270,
    },
    R41: {
        x: 28,
        y: -7,
        ccwRotationDegrees: 180,
    },
    R42: {
        x: 24,
        y: -7,
        ccwRotationDegrees: 180,
    },
    R43: {
        x: 20,
        y: -7,
        ccwRotationDegrees: 180,
    },
    R44: {
        x: 16,
        y: -7,
        ccwRotationDegrees: 0,
    },
    R49: {
        x: 14,
        y: -10,
        ccwRotationDegrees: 270,
    },
    C2: {
        x: -36.25,
        y: 14.0,
        ccwRotationDegrees: 90,
    },
    C3: {
        x: -26.25,
        y: 8.5,
        ccwRotationDegrees: 270,
    },
    C4: {
        x: -28.6,
        y: 11.5,
        ccwRotationDegrees: 0,
    },
    C5: {
        x: -23.25,
        y: 11.75,
        ccwRotationDegrees: 180,
    },
    C8: {
        x: -25.2,
        y: -0.2,
        ccwRotationDegrees: 0,
    },
    C9: {
        x: -28.05,
        y: -21,
        ccwRotationDegrees: 180,
    },
    C10: {
        x: -28,
        y: -16.2,
        ccwRotationDegrees: 180,
    },
    C19: {
        x: -12.35,
        y: -25.05,
        ccwRotationDegrees: 180,
    },
    C20: {
        x: -13.3,
        y: -22.8,
        ccwRotationDegrees: 180,
    },
    C21: {
        x: 4.9,
        y: 14.65,
        ccwRotationDegrees: 90,
    },
    C25: {
        x: 11.5,
        y: 9.95,
        ccwRotationDegrees: 180,
    },
    R50: {
        x: 29,
        y: 0,
        ccwRotationDegrees: 270,
    },
    R54: {
        x: 25,
        y: 29,
        ccwRotationDegrees: 270,
    },
};
const pcbPlacements = Object.entries(productPlacement).map(([selector, placement]) => ({
    selector,
    center: { x: placement.x, y: placement.y },
}));

// Board artwork only: 0.2mm ink/pad/hole gaps, unchanged supplier definitions.
const undersideLabelOffsets = {
    TP1: {
        x: 0,
        y: 0,
    },
    TP2: {
        x: 0,
        y: 0,
    },
    TP3: {
        x: 0,
        y: 0,
    },
    TP4: {
        x: 0,
        y: 0,
    },
    TP5: {
        x: 0,
        y: 0,
    },
    TP6: {
        x: 0,
        y: 0,
    },
    TP7: {
        x: 0,
        y: 0,
    },
    C29: {
        x: 0,
        y: 0,
    },
    C28: {
        x: 0,
        y: 0,
    },
    C27: {
        x: -0.5,
        y: 0,
    },
    C26: {
        x: -0.5,
        y: 0,
    },
    C22: {
        x: 0,
        y: 0,
    },
    C23: {
        x: 0,
        y: 0,
    },
    C34: {
        x: 0,
        y: 0,
    },
    R67: {
        x: 0,
        y: 0,
    },
    R66: {
        x: 0,
        y: 0,
    },
    C33: {
        x: 0,
        y: 0,
    },
    R61: {
        x: 0,
        y: 0,
    },
    R60: {
        x: 0,
        y: 0,
    },
    C32: {
        x: 0,
        y: 0,
    },
    C31: {
        x: 0,
        y: 0,
    },
    C30: {
        x: 0,
        y: 0,
    },
    C15: {
        x: 0,
        y: 0,
    },
    C12: {
        x: 0,
        y: 0,
    },
    J1: {
        x: 0,
        y: 0,
    },
    J2: {
        x: 0,
        y: 0,
    },
    RV1: {
        x: 0,
        y: 0,
    },
    SW1: {
        x: 7,
        y: 0,
    },
    SW2: {
        x: 0,
        y: 0,
    },
    U1: {
        x: 0,
        y: 0,
    },
    U2: {
        x: 0,
        y: 0,
    },
    U3: {
        x: 0,
        y: 0,
    },
    U11: {
        x: 0,
        y: 0,
    },
    U4: {
        x: 0,
        y: -6.5,
    },
    U5: {
        x: 0,
        y: -4.9,
    },
    U6: {
        x: 0,
        y: 0,
    },
    U8: {
        x: 0,
        y: 0,
    },
    U9: {
        x: 0,
        y: 0,
    },
    U10: {
        x: 0,
        y: -4.8,
    },
    L1: {
        x: 0,
        y: 0,
    },
    C18: {
        x: 0,
        y: 0,
    },
    D1: {
        x: 0,
        y: 0,
    },
    D4: {
        x: 0,
        y: 0,
    },
    D5: {
        x: 0,
        y: 0,
    },
    D10: {
        x: 0,
        y: 0,
    },
    D11: {
        x: 0,
        y: 0,
    },
    C13: {
        x: 0,
        y: 0,
    },
    C14: {
        x: 0,
        y: 0,
    },
    Q3: {
        x: 0,
        y: 0,
    },
    R45: {
        x: 0,
        y: 0,
    },
    R46: {
        x: 0,
        y: 0,
    },
    R47: {
        x: 0,
        y: 0,
    },
    R48: {
        x: 0,
        y: 0,
    },
    R69: {
        x: 0,
        y: 0,
    },
    R70: {
        x: 0,
        y: 0,
    },
    R71: {
        x: 0,
        y: 0,
    },
    R72: {
        x: 0,
        y: 0,
    },
    LED1: {
        x: 0,
        y: 0,
    },
    LED2: {
        x: 0,
        y: 0,
    },
    LED3: {
        x: 0,
        y: 0,
    },
    C16: {
        x: 0,
        y: 0,
    },
    C17: {
        x: 0,
        y: 0,
    },
    D2: {
        x: 0,
        y: 0,
    },
    Q6: {
        x: 0,
        y: 0,
    },
    Q7: {
        x: 0,
        y: 0,
    },
    Q8: {
        x: 0,
        y: 0,
    },
    Q1: {
        x: 0,
        y: 0,
    },
    Q2: {
        x: 0,
        y: 0,
    },
    Q4: {
        x: 0,
        y: 0,
    },
    Q5: {
        x: 0,
        y: 0,
    },
    R68: {
        x: 0,
        y: 0,
    },
    D3: {
        x: 0,
        y: 0,
    },
    D9: {
        x: 0,
        y: 0,
    },
    C1: {
        x: 0,
        y: 0,
    },
    C6: {
        x: 0,
        y: 0,
    },
    C7: {
        x: 0,
        y: 0,
    },
    C11: {
        x: 0,
        y: 0,
    },
    D6: {
        x: 0,
        y: 0,
    },
    D7: {
        x: 0,
        y: 0,
    },
    D8: {
        x: 0,
        y: 0,
    },
    R1: {
        x: 0,
        y: 0,
    },
    R2: {
        x: 0,
        y: 0,
    },
    R3: {
        x: 0,
        y: 0,
    },
    R4: {
        x: 0,
        y: 0,
    },
    R56: {
        x: 0,
        y: 0,
    },
    R57: {
        x: 0,
        y: 0,
    },
    R58: {
        x: 0,
        y: 0,
    },
    R59: {
        x: 0,
        y: 0,
    },
    R62: {
        x: 0,
        y: 0,
    },
    R63: {
        x: 0,
        y: 0,
    },
    R64: {
        x: 0,
        y: 0,
    },
    R5: {
        x: 0,
        y: 0,
    },
    R6: {
        x: 0,
        y: 0,
    },
    R7: {
        x: 0,
        y: 0,
    },
    R8: {
        x: 0,
        y: 0,
    },
    R9: {
        x: 0,
        y: 0,
    },
    R10: {
        x: 0,
        y: 0,
    },
    R11: {
        x: 0,
        y: 0,
    },
    R12: {
        x: 0,
        y: 0,
    },
    R13: {
        x: 0,
        y: 0,
    },
    R16: {
        x: 0,
        y: 0,
    },
    R17: {
        x: 0,
        y: 0,
    },
    R18: {
        x: 0,
        y: 0,
    },
    R55: {
        x: 0,
        y: 0,
    },
    R19: {
        x: 0,
        y: 0,
    },
    R20: {
        x: 0.5,
        y: 0,
    },
    R21: {
        x: 0,
        y: 0,
    },
    R22: {
        x: 0,
        y: -0.5,
    },
    R23: {
        x: 0,
        y: 0,
    },
    R24: {
        x: 0,
        y: 0,
    },
    R25: {
        x: 0,
        y: 0,
    },
    R26: {
        x: 0,
        y: 0,
    },
    R29: {
        x: 0,
        y: 0,
    },
    R30: {
        x: 0,
        y: 0,
    },
    R31: {
        x: 0,
        y: 0,
    },
    R32: {
        x: 0,
        y: 0,
    },
    R33: {
        x: 0,
        y: 0,
    },
    R34: {
        x: 0,
        y: 0,
    },
    R39: {
        x: 0,
        y: 0,
    },
    R65: {
        x: 0,
        y: 0,
    },
    R40: {
        x: 0,
        y: 0,
    },
    R51: {
        x: 0,
        y: 0,
    },
    R41: {
        x: 0,
        y: 0,
    },
    R42: {
        x: 0,
        y: 0,
    },
    R43: {
        x: 0,
        y: 0,
    },
    R44: {
        x: 0,
        y: 0,
    },
    R49: {
        x: 0,
        y: 0,
    },
    C2: {
        x: 0,
        y: 0,
    },
    C3: {
        x: 0,
        y: 0,
    },
    C4: {
        x: 0,
        y: 0,
    },
    C5: {
        x: 0,
        y: 0,
    },
    C8: {
        x: 0,
        y: 0,
    },
    C9: {
        x: 0,
        y: 0,
    },
    C10: {
        x: 0,
        y: 0,
    },
    C19: {
        x: 0,
        y: 0,
    },
    C20: {
        x: 0,
        y: 0,
    },
    C21: {
        x: 0,
        y: 0,
    },
    C25: {
        x: 0,
        y: 0,
    },
    R50: {
        x: 0,
        y: 0,
    },
    R54: {
        x: 0,
        y: 0,
    },
};

function MechanicalFeatures() {
    return (jsxs(Fragment, { children: [jsx("silkscreentext", { text: "USB-C PD", pcbX: -33.8, pcbY: 22.3, fontSize: 1.2 }), jsx("silkscreentext", { text: "INPUT", pcbX: -33, pcbY: 21, fontSize: 1.2 }), jsx("silkscreentext", { text: "MOTOR", pcbX: 36, pcbY: 14.8, fontSize: 1.2 }), jsx("silkscreentext", { text: "SPEED", pcbX: -9, pcbY: 30.1, fontSize: 1.2 }), jsx("silkscreentext", { text: "FWD / OFF / REV", pcbX: 10, pcbY: 28.6, fontSize: 1.2 }), jsx("silkscreentext", { text: "5V BOTH OFF / 9V 9 ON / 12V 12 ON", pcbX: -3, pcbY: 31.3, fontSize: 1.2 }), jsx("silkscreentext", { text: "BOTH ON: STOP", pcbX: 26, pcbY: 31.3, fontSize: 1.2 }), jsx("silkscreentext", { text: "SELECT: ON LEFT", pcbX: -23, pcbY: 29.8, fontSize: 1.2 }), jsx("silkscreentext", { text: "9", pcbX: -29.5, pcbY: 25, fontSize: 1.2 }), jsx("silkscreentext", { text: "12", pcbX: -29.5, pcbY: 23, fontSize: 1.2 }), jsx("silkscreentext", { text: "+", pcbX: 38.5, pcbY: 5.5, fontSize: 1.2 }), jsx("silkscreentext", { text: "-", pcbX: 38.5, pcbY: 10.5, fontSize: 1.2 }), jsx("silkscreentext", { text: "TP1 SWDIO", pcbX: -34, pcbY: -1.6, fontSize: 1.2 }), jsx("silkscreentext", { text: "TP2 CLK", pcbX: -27.5, pcbY: -5.25, fontSize: 1.2 }), jsx("silkscreentext", { text: "NRST", pcbX: -20.2, pcbY: 6.5, fontSize: 1.2 }), jsx("silkscreentext", { text: "TP4 GND", pcbX: -23, pcbY: -10.75, fontSize: 1.2 }), jsx("silkscreentext", { text: "TP5 3V3", pcbX: -22.5, pcbY: 21, fontSize: 1.2 }), jsx("silkscreentext", { text: "TP6 VBUS", pcbX: -17.3, pcbY: 10.1, fontSize: 1.2 }), jsx("silkscreentext", { text: "TP7 VM", pcbX: 20, pcbY: 15, fontSize: 1.2 }), jsx("silkscreentext", { text: "POWER", pcbX: 25, pcbY: 26.4, fontSize: 1.2 }), jsx("silkscreentext", { text: "FWD", pcbX: 20, pcbY: 26.4, fontSize: 1.2 }), jsx("silkscreentext", { text: "REV", pcbX: 20, pcbY: 17, fontSize: 1.2 }), jsx("silkscreentext", { text: "A22 PROTOTYPE", pcbX: 0, pcbY: 31.5, fontSize: 1.2, layers: ["bottom"] }), Object.entries(productPlacement).map(([reference, placement]) => (jsx(Fragment$1, { children: jsx("silkscreentext", { text: reference, layers: ["bottom"], pcbX: placement.x + (undersideLabelOffsets[reference]?.x ?? 0), pcbY: placement.y + (undersideLabelOffsets[reference]?.y ?? 0), fontSize: 1.2 }) }, reference))), [-35, 35].flatMap((x) => [-27.5, 27.5].map((y) => (jsxs(Fragment$1, { children: [jsx("hole", { diameter: "3.2mm", pcbX: x, pcbY: y }), jsx("keepout", { shape: "circle", radius: "3.5mm", pcbX: x, pcbY: y, layer: "top" }), jsx("keepout", { shape: "circle", radius: "3.5mm", pcbX: x, pcbY: y, layer: "bottom" })] }, `${x}/${y}`))))] }));
}

const CL10C220JB8NNNC = (props) => {
    const { name = "C1", ...restProps } = props;
    return (jsx("capacitor", { name: name, capacitance: "22pF", supplierPartNumbers: {
            "jlcpcb": [
                "C1653"
            ]
        }, manufacturerPartNumber: "CL10C220JB8NNNC", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.700024mm", pcbY: "0mm", width: "0.7999984mm", height: "0.8999982mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.700024mm", pcbY: "0mm", width: "0.7999984mm", height: "0.8999982mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -0.2801873999999316, "y": -0.7095743999998376 }, { "x": -1.080160400000068, "y": -0.7095743999998376 }] }), jsx("silkscreenpath", { route: [{ "x": 0.28026359999989836, "y": -0.7100315999998656 }, { "x": 1.080236599999921, "y": -0.7100315999998656 }] }), jsx("silkscreenpath", { route: [{ "x": -0.2801873999999316, "y": 0.7101078000000598 }, { "x": -1.080160400000068, "y": 0.7101078000000598 }] }), jsx("silkscreenpath", { route: [{ "x": 0.28026359999989836, "y": 0.7096252000001186 }, { "x": 1.080236599999921, "y": 0.7096252000001186 }] }), jsx("silkscreenpath", { route: [{ "x": -1.3899134000000686, "y": -0.3997452000000976 }, { "x": -1.3899134000000686, "y": 0.40030400000000554 }] }), jsx("silkscreenpath", { route: [{ "x": 1.3900149999998348, "y": 0.39977060000001075 }, { "x": 1.3900149999998348, "y": -0.4002531999999519 }] }), jsx("silkscreenpath", { route: [{ "x": 1.080185799999981, "y": 0.7096252000001186 }, { "x": 1.299277109074751, "y": 0.6188693482574763 }, { "x": 1.3900149999998348, "y": 0.39977060000001075 }] }), jsx("silkscreenpath", { route: [{ "x": 1.3900149999998348, "y": -0.40020240000012564 }, { "x": 1.2992681283295724, "y": -0.6192847283296032 }, { "x": 1.080185799999981, "y": -0.7100315999998656 }] }), jsx("silkscreenpath", { route: [{ "x": -1.0801096000000143, "y": -0.7095743999998376 }, { "x": -1.2991755087698493, "y": -0.6188185485625581 }, { "x": -1.3899134000000686, "y": -0.3997452000000976 }] }), jsx("silkscreenpath", { route: [{ "x": -1.3899134000000686, "y": 0.40022780000003877 }, { "x": -1.2991934705021322, "y": 0.6193339880503572 }, { "x": -1.0801096000000143, "y": 0.7101078000000598 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.7112mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.647000000000162, "y": 0.9612000000000762 }, { "x": 1.6216000000000577, "y": 0.9612000000000762 }, { "x": 1.6216000000000577, "y": -0.9611999999999625 }, { "x": -1.647000000000162, "y": -0.9611999999999625 }, { "x": -1.647000000000162, "y": 0.9612000000000762 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1653.obj?uuid=ac9b32e974bc448eab36b1293f859dcb",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1653.step?uuid=ac9b32e974bc448eab36b1293f859dcb",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0, z: -0.4 },
        }, ...restProps }));
};

const pinLabels$q = {
    pin1: ["pin1"]
};
const A_5015 = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$q, supplierPartNumbers: {
            "jlcpcb": [
                "C2906768"
            ]
        }, manufacturerPartNumber: "5015", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "0mm", pcbY: "0mm", width: "3.4299906mm", height: "1.7800066mm", shape: "rect" }), jsx("silkscreenrect", { pcbX: "0mm", pcbY: "0mm", width: "3.937mm", height: "2.286mm", strokeWidth: "0.254mm" }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0127mm", pcbY: "2.143mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.9649952999999414, "y": 1.1400032999999894 }, { "x": 1.9649953000001688, "y": 1.1400032999999894 }, { "x": 1.9649953000001688, "y": -1.1400032999999894 }, { "x": -1.9649952999999414, "y": -1.1400032999999894 }, { "x": -1.9649952999999414, "y": 1.1400032999999894 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2906768.obj?uuid=81281eb29232457a940d4ddaa05136d7",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2906768.step?uuid=81281eb29232457a940d4ddaa05136d7",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: -7610000001135875e-19, y: 0.7620127000000703, z: -0.762 },
        }, ...props }));
};

// Native board routing source in world millimetres. Straight pad exits keep
// adjacent wires above the MCU lead rows; the staggered barrel landings
// preserve 0.65mm row spacing and the existing breakout targets.
// Supplier lands and pin mappings are unchanged. Final copper/drill checks
// validate the emitted geometry independently.
const mcuPadEscapePaths = [
    {
        connection: "U11.pin1",
        route: [
            {
                route_type: "wire",
                x: -17.129038000000037,
                y: -8.925064000000134,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "wire",
                x: -15.65,
                y: -8.925,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "via",
                x: -15.65,
                y: -8.925,
                from_layer: "top",
                to_layer: "bottom",
                via_diameter: 0.6,
                via_hole_diameter: 0.3,
            },
        ],
    },
    {
        connection: "U11.pin2",
        route: [
            {
                route_type: "wire",
                x: -17.129038000000037,
                y: -8.275078000000008,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "wire",
                x: -14.8,
                y: -8.275,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "via",
                x: -14.8,
                y: -8.275,
                from_layer: "top",
                to_layer: "bottom",
                via_diameter: 0.6,
                via_hole_diameter: 0.3,
            },
        ],
    },
    {
        connection: "U11.pin3",
        route: [
            {
                route_type: "wire",
                x: -17.129038000000037,
                y: -7.625092000000109,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "wire",
                x: -15.65,
                y: -7.625,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "via",
                x: -15.65,
                y: -7.625,
                from_layer: "top",
                to_layer: "bottom",
                via_diameter: 0.6,
                via_hole_diameter: 0.3,
            },
        ],
    },
    {
        connection: "U11.pin4",
        route: [
            {
                route_type: "wire",
                x: -17.129038000000037,
                y: -6.9751059999999825,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "wire",
                x: -15.65,
                y: -6.975,
                width: 0.2,
                layer: "top",
            },
        ],
    },
    {
        connection: "U11.pin6",
        route: [
            {
                route_type: "wire",
                x: -17.129038000000037,
                y: -5.674879999999916,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "wire",
                x: -14.8,
                y: -5.675,
                width: 0.2,
                layer: "top",
            },
        ],
    },
    {
        connection: "U11.pin7",
        route: [
            {
                route_type: "wire",
                x: -17.129038000000037,
                y: -5.0248940000000175,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "wire",
                x: -15.65,
                y: -5.025,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "via",
                x: -15.65,
                y: -5.025,
                from_layer: "top",
                to_layer: "bottom",
                via_diameter: 0.6,
                via_hole_diameter: 0.3,
            },
        ],
    },
    {
        connection: "U11.pin8",
        route: [
            {
                route_type: "wire",
                x: -17.129038000000037,
                y: -4.374908000000005,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "wire",
                x: -14.8,
                y: -4.375,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "via",
                x: -14.8,
                y: -4.375,
                from_layer: "top",
                to_layer: "bottom",
                via_diameter: 0.6,
                via_hole_diameter: 0.3,
            },
        ],
    },
    {
        connection: "U11.pin9",
        route: [
            {
                route_type: "wire",
                x: -17.129038000000037,
                y: -3.7249219999999923,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "wire",
                x: -15.65,
                y: -3.725,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "via",
                x: -15.65,
                y: -3.725,
                from_layer: "top",
                to_layer: "bottom",
                via_diameter: 0.6,
                via_hole_diameter: 0.3,
            },
        ],
    },
    {
        connection: "U11.pin10",
        route: [
            {
                route_type: "wire",
                x: -17.129038000000037,
                y: -3.0749359999999797,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "wire",
                x: -14.8,
                y: -3.075,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "via",
                x: -14.8,
                y: -3.075,
                from_layer: "top",
                to_layer: "bottom",
                via_diameter: 0.6,
                via_hole_diameter: 0.3,
            },
        ],
    },
    {
        connection: "U11.pin11",
        route: [
            {
                route_type: "wire",
                x: -22.870961999999963,
                y: -3.0749359999999797,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "wire",
                x: -24.35,
                y: -3.075,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "via",
                x: -24.35,
                y: -3.075,
                from_layer: "top",
                to_layer: "bottom",
                via_diameter: 0.6,
                via_hole_diameter: 0.3,
            },
        ],
    },
    {
        connection: "U11.pin12",
        route: [
            {
                route_type: "wire",
                x: -22.870961999999963,
                y: -3.7249219999999923,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "wire",
                x: -25.2,
                y: -3.725,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "via",
                x: -25.2,
                y: -3.725,
                from_layer: "top",
                to_layer: "bottom",
                via_diameter: 0.6,
                via_hole_diameter: 0.3,
            },
        ],
    },
    {
        connection: "U11.pin13",
        route: [
            {
                route_type: "wire",
                x: -22.870961999999963,
                y: -4.374908000000005,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "wire",
                x: -24.35,
                y: -4.375,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "via",
                x: -24.35,
                y: -4.375,
                from_layer: "top",
                to_layer: "bottom",
                via_diameter: 0.6,
                via_hole_diameter: 0.3,
            },
        ],
    },
    {
        connection: "U11.pin14",
        route: [
            {
                route_type: "wire",
                x: -22.870961999999963,
                y: -5.0248940000000175,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "wire",
                x: -25.2,
                y: -5.025,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "via",
                x: -25.2,
                y: -5.025,
                from_layer: "top",
                to_layer: "bottom",
                via_diameter: 0.6,
                via_hole_diameter: 0.3,
            },
        ],
    },
    {
        connection: "U11.pin15",
        route: [
            {
                route_type: "wire",
                x: -22.870961999999963,
                y: -5.674879999999916,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "wire",
                x: -24.35,
                y: -5.675,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "via",
                x: -24.35,
                y: -5.675,
                from_layer: "top",
                to_layer: "bottom",
                via_diameter: 0.6,
                via_hole_diameter: 0.3,
            },
        ],
    },
    {
        connection: "U11.pin16",
        route: [
            {
                route_type: "wire",
                x: -22.870961999999963,
                y: -6.324866000000043,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "wire",
                x: -25.2,
                y: -6.325,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "via",
                x: -25.2,
                y: -6.325,
                from_layer: "top",
                to_layer: "bottom",
                via_diameter: 0.6,
                via_hole_diameter: 0.3,
            },
        ],
    },
    {
        connection: "U11.pin17",
        route: [
            {
                route_type: "wire",
                x: -22.870961999999963,
                y: -6.9751059999999825,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "wire",
                x: -24.35,
                y: -6.975,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "via",
                x: -24.35,
                y: -6.975,
                from_layer: "top",
                to_layer: "bottom",
                via_diameter: 0.6,
                via_hole_diameter: 0.3,
            },
        ],
    },
    {
        connection: "U11.pin18",
        route: [
            {
                route_type: "wire",
                x: -22.870961999999963,
                y: -7.625092000000109,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "wire",
                x: -25.2,
                y: -7.625,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "via",
                x: -25.2,
                y: -7.625,
                from_layer: "top",
                to_layer: "bottom",
                via_diameter: 0.6,
                via_hole_diameter: 0.3,
            },
        ],
    },
    {
        connection: "U11.pin19",
        route: [
            {
                route_type: "wire",
                x: -22.870961999999963,
                y: -8.275078000000008,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "wire",
                x: -24.35,
                y: -8.275,
                width: 0.2,
                layer: "top",
            },
            {
                route_type: "via",
                x: -24.35,
                y: -8.275,
                from_layer: "top",
                to_layer: "bottom",
                via_diameter: 0.6,
                via_hole_diameter: 0.3,
            },
        ],
    },
];

const AT0603BRD07100KL = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsx("resistor", { name: name, resistance: "100kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C855559"
            ]
        }, manufacturerPartNumber: "AT0603BRD07100KL", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.42621199999996406, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": 0.6606031999999686 }, { "x": 0.42621199999996406, "y": 0.6606031999999686 }] }), jsx("silkscreenpath", { route: [{ "x": -0.42621200000007775, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": 0.6606031999999686 }, { "x": -0.42621200000007775, "y": 0.6606031999999686 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.4066016999998965, "y": 0.6820032000000538 }, { "x": 1.4066016999997828, "y": 0.6820032000000538 }, { "x": 1.4066016999997828, "y": -0.6820032000000538 }, { "x": -1.4066016999998965, "y": -0.6820032000000538 }, { "x": -1.4066016999998965, "y": 0.6820032000000538 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C855559.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C855559.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

const RT0603BRD0710KL = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsx("resistor", { name: name, resistance: "10kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C95204"
            ]
        }, manufacturerPartNumber: "RT0603BRD0710KL", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.42621199999996406, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": 0.6606031999999686 }, { "x": 0.42621199999996406, "y": 0.6606031999999686 }] }), jsx("silkscreenpath", { route: [{ "x": -0.42621200000007775, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": 0.6606031999999686 }, { "x": -0.42621200000007775, "y": 0.6606031999999686 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.4066016999998965, "y": 0.6820032000000538 }, { "x": 1.4066016999997828, "y": 0.6820032000000538 }, { "x": 1.4066016999997828, "y": -0.6820032000000538 }, { "x": -1.4066016999998965, "y": -0.6820032000000538 }, { "x": -1.4066016999998965, "y": 0.6820032000000538 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C95204.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C95204.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

const pinLabels$p = {
    "pin1": [
        "PB7",
        "PB8"
    ],
    "pin2": [
        "PB9",
        "PC14_OSC32_IN"
    ],
    "pin3": [
        "PC15_OSC32_OUT"
    ],
    "pin4": [
        "VDDA",
        "DDA"
    ],
    "pin5": [
        "VSSA",
        "SSA"
    ],
    "pin6": [
        "NRST"
    ],
    "pin7": [
        "PA0"
    ],
    "pin8": [
        "PA1"
    ],
    "pin9": [
        "PA2"
    ],
    "pin10": [
        "PA3"
    ],
    "pin20": [
        "PB3",
        "PB4",
        "PB5",
        "PB6"
    ],
    "pin19": [
        "PA15",
        "PA14_BOOT0"
    ],
    "pin18": [
        "PA13"
    ],
    "pin17": [
        "PA12_PA10_"
    ],
    "pin16": [
        "PA11_PA9_"
    ],
    "pin15": [
        "PB0",
        "PB1",
        "PB2",
        "PA8"
    ],
    "pin14": [
        "PA7"
    ],
    "pin13": [
        "PA6"
    ],
    "pin12": [
        "PA5"
    ],
    "pin11": [
        "PA4"
    ]
};
const STM32G030F6P6TR = (props) => (jsx("chip", { footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-2.925064000000134mm", pcbY: "-2.870961999999963mm", layer: "top", width: "0.3640074mm", height: "1.7420082mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "-2.2750780000000077mm", pcbY: "-2.870961999999963mm", layer: "top", width: "0.3640074mm", height: "1.7420082mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "-1.6250920000001088mm", pcbY: "-2.870961999999963mm", layer: "top", width: "0.3640074mm", height: "1.7420082mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "-0.9751059999999825mm", pcbY: "-2.870961999999963mm", layer: "top", width: "0.3640074mm", height: "1.7420082mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "-0.32486600000004273mm", pcbY: "-2.870961999999963mm", layer: "top", width: "0.3640074mm", height: "1.7420082mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "0.32512000000008356mm", pcbY: "-2.870961999999963mm", layer: "top", width: "0.3640074mm", height: "1.7420082mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin7"], pcbX: "0.9751059999999825mm", pcbY: "-2.870961999999963mm", layer: "top", width: "0.3640074mm", height: "1.7420082mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin8"], pcbX: "1.625091999999995mm", pcbY: "-2.870961999999963mm", layer: "top", width: "0.3640074mm", height: "1.7420082mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin9"], pcbX: "2.2750780000000077mm", pcbY: "-2.870961999999963mm", layer: "top", width: "0.3640074mm", height: "1.7420082mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin10"], pcbX: "2.9250640000000203mm", pcbY: "-2.870961999999963mm", layer: "top", width: "0.3640074mm", height: "1.7420082mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin20"], pcbX: "-2.925064000000134mm", pcbY: "2.870961999999963mm", layer: "top", width: "0.3640074mm", height: "1.7420082mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin19"], pcbX: "-2.2750780000000077mm", pcbY: "2.870961999999963mm", layer: "top", width: "0.3640074mm", height: "1.7420082mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin18"], pcbX: "-1.6250920000001088mm", pcbY: "2.870961999999963mm", layer: "top", width: "0.3640074mm", height: "1.7420082mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin17"], pcbX: "-0.9751059999999825mm", pcbY: "2.870961999999963mm", layer: "top", width: "0.3640074mm", height: "1.7420082mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin16"], pcbX: "-0.32486600000004273mm", pcbY: "2.870961999999963mm", layer: "top", width: "0.3640074mm", height: "1.7420082mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin15"], pcbX: "0.32512000000008356mm", pcbY: "2.870961999999963mm", layer: "top", width: "0.3640074mm", height: "1.7420082mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin14"], pcbX: "0.9751059999999825mm", pcbY: "2.870961999999963mm", layer: "top", width: "0.3640074mm", height: "1.7420082mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin13"], pcbX: "1.625091999999995mm", pcbY: "2.870961999999963mm", layer: "top", width: "0.3640074mm", height: "1.7420082mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin12"], pcbX: "2.2750780000000077mm", pcbY: "2.870961999999963mm", layer: "top", width: "0.3640074mm", height: "1.7420082mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin11"], pcbX: "2.9250640000000203mm", pcbY: "2.870961999999963mm", layer: "top", width: "0.3640074mm", height: "1.7420082mm", radius: "0.1820037mm", shape: "pill" }), jsx("silkscreenpath", { route: [{ "x": -3.326206200000115, "y": -1.7713960000000952 }, { "x": -3.326206200000115, "y": 1.7713959999999815 }, { "x": 3.3262061999998878, "y": 1.7713959999999815 }, { "x": 3.3262061999998878, "y": -1.7713960000000952 }, { "x": -3.326206200000115, "y": -1.7713960000000952 }], strokeWidth: 0.15239999999999998 }), jsx("silkscreencircle", { pcbX: -2.9250640000000203, pcbY: -1.019047999999998, radius: 0.150114, layer: "top", strokeWidth: 0.29999939999999997 }), jsx("silkscreencircle", { pcbX: -3.559302000000116, pcbY: -2.870961999999963, radius: 0.150114, layer: "top", strokeWidth: 0.29999939999999997 }), jsx("courtyardoutline", { outline: [{ "x": -3.499980800000003, "y": 3.9919661000000133 }, { "x": 3.50000620000003, "y": 3.9919661000000133 }, { "x": 3.50000620000003, "y": -3.9919661000000133 }, { "x": -3.499980800000003, "y": -3.9919661000000133 }, { "x": -3.499980800000003, "y": 3.9919661000000133 }], layer: "top" })] }), pinLabels: pinLabels$p, pinAttributes: {
        "pin1": {
            "isInput": true,
            "isOutput": true,
            "isBidirectional": true,
            "canUseTriState": true,
            "isGpio": true,
            "canUseInternalPullup": true,
            "canUseInternalPulldown": true,
            "canUseOpenDrain": true,
            "canUsePushPull": true,
            "capabilities": [
                "i2c_sda",
                "i2c_scl",
                "spi_mosi",
                "spi_sck",
                "uart_rx"
            ]
        },
        "pin2": {
            "isInput": true,
            "isOutput": true,
            "isBidirectional": true,
            "canUseTriState": true,
            "isGpio": true,
            "canUseInternalPullup": true,
            "canUseInternalPulldown": true,
            "canUseOpenDrain": true,
            "canUsePushPull": true,
            "capabilities": [
                "i2c_sda",
                "spi_cs"
            ]
        },
        "pin3": {
            "isInput": true,
            "isOutput": true,
            "isBidirectional": true,
            "canUseTriState": true,
            "isGpio": true,
            "canUseInternalPullup": true,
            "canUseInternalPulldown": true,
            "canUseOpenDrain": true,
            "canUsePushPull": true
        },
        "pin4": {
            "isInput": true,
            "mustBeConnected": true,
            "requiresPower": true,
            "includeInBoardPinout": false,
            "shouldHaveDecouplingCapacitor": true
        },
        "pin5": {
            "mustBeConnected": true,
            "requiresGround": true,
            "requiresVoltage": 0,
            "includeInBoardPinout": false
        },
        "pin6": {
            "isInput": true,
            "isOutput": true,
            "isBidirectional": true,
            "canUseInternalPullup": true,
            "canUseOpenDrain": true
        },
        "pin7": {
            "isInput": true,
            "isOutput": true,
            "isBidirectional": true,
            "canUseTriState": true,
            "isGpio": true,
            "canUseInternalPullup": true,
            "canUseInternalPulldown": true,
            "canUseOpenDrain": true,
            "canUsePushPull": true,
            "capabilities": [
                "spi_sck"
            ]
        },
        "pin8": {
            "isInput": true,
            "isOutput": true,
            "isBidirectional": true,
            "canUseTriState": true,
            "isGpio": true,
            "canUseInternalPullup": true,
            "canUseInternalPulldown": true,
            "canUseOpenDrain": true,
            "canUsePushPull": true,
            "capabilities": [
                "spi_sck"
            ]
        },
        "pin9": {
            "isInput": true,
            "isOutput": true,
            "isBidirectional": true,
            "canUseTriState": true,
            "isGpio": true,
            "canUseInternalPullup": true,
            "canUseInternalPulldown": true,
            "canUseOpenDrain": true,
            "canUsePushPull": true,
            "capabilities": [
                "spi_mosi",
                "uart_tx"
            ]
        },
        "pin10": {
            "isInput": true,
            "isOutput": true,
            "isBidirectional": true,
            "canUseTriState": true,
            "isGpio": true,
            "canUseInternalPullup": true,
            "canUseInternalPulldown": true,
            "canUseOpenDrain": true,
            "canUsePushPull": true,
            "capabilities": [
                "spi_miso",
                "uart_rx"
            ]
        },
        "pin20": {
            "isInput": true,
            "isOutput": true,
            "isBidirectional": true,
            "canUseTriState": true,
            "isGpio": true,
            "canUseInternalPullup": true,
            "canUseInternalPulldown": true,
            "canUseOpenDrain": true,
            "canUsePushPull": true,
            "capabilities": [
                "i2c_scl",
                "spi_mosi",
                "spi_miso",
                "spi_sck",
                "uart_tx"
            ]
        },
        "pin19": {
            "isInput": true,
            "isOutput": true,
            "isBidirectional": true,
            "canUseTriState": true,
            "isGpio": true,
            "canUseInternalPullup": true,
            "canUseInternalPulldown": true,
            "canUseOpenDrain": true,
            "canUsePushPull": true,
            "capabilities": [
                "spi_cs",
                "uart_tx",
                "uart_rx"
            ]
        },
        "pin18": {
            "isInput": true,
            "isOutput": true,
            "isBidirectional": true,
            "canUseTriState": true,
            "isGpio": true,
            "canUseInternalPullup": true,
            "canUseInternalPulldown": true,
            "canUseOpenDrain": true,
            "canUsePushPull": true
        },
        "pin17": {
            "isInput": true,
            "isOutput": true,
            "isBidirectional": true,
            "canUseTriState": true,
            "isGpio": true,
            "canUseInternalPullup": true,
            "canUseInternalPulldown": true,
            "canUseOpenDrain": true,
            "canUsePushPull": true,
            "capabilities": [
                "i2c_sda",
                "spi_mosi",
                "uart_rx"
            ]
        },
        "pin16": {
            "isInput": true,
            "isOutput": true,
            "isBidirectional": true,
            "canUseTriState": true,
            "isGpio": true,
            "canUseInternalPullup": true,
            "canUseInternalPulldown": true,
            "canUseOpenDrain": true,
            "canUsePushPull": true,
            "capabilities": [
                "i2c_scl",
                "spi_miso",
                "uart_tx"
            ]
        },
        "pin15": {
            "isInput": true,
            "isOutput": true,
            "isBidirectional": true,
            "canUseTriState": true,
            "isGpio": true,
            "canUseInternalPullup": true,
            "canUseInternalPulldown": true,
            "canUseOpenDrain": true,
            "canUsePushPull": true,
            "capabilities": [
                "spi_miso",
                "spi_cs"
            ]
        },
        "pin14": {
            "isInput": true,
            "isOutput": true,
            "isBidirectional": true,
            "canUseTriState": true,
            "isGpio": true,
            "canUseInternalPullup": true,
            "canUseInternalPulldown": true,
            "canUseOpenDrain": true,
            "canUsePushPull": true,
            "capabilities": [
                "spi_mosi"
            ]
        },
        "pin13": {
            "isInput": true,
            "isOutput": true,
            "isBidirectional": true,
            "canUseTriState": true,
            "isGpio": true,
            "canUseInternalPullup": true,
            "canUseInternalPulldown": true,
            "canUseOpenDrain": true,
            "canUsePushPull": true,
            "capabilities": [
                "spi_miso"
            ]
        },
        "pin12": {
            "isInput": true,
            "isOutput": true,
            "isBidirectional": true,
            "canUseTriState": true,
            "isGpio": true,
            "canUseInternalPullup": true,
            "canUseInternalPulldown": true,
            "canUseOpenDrain": true,
            "canUsePushPull": true,
            "capabilities": [
                "spi_sck"
            ]
        },
        "pin11": {
            "isInput": true,
            "isOutput": true,
            "isBidirectional": true,
            "canUseTriState": true,
            "isGpio": true,
            "canUseInternalPullup": true,
            "canUseInternalPulldown": true,
            "canUseOpenDrain": true,
            "canUsePushPull": true,
            "capabilities": [
                "spi_mosi",
                "spi_cs"
            ]
        }
    }, supplierPartNumbers: {
        "jlcpcb": [
            "C529330"
        ]
    }, manufacturerPartNumber: "STM32G030F6P6TR", cadModel: {
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C529330.obj?uuid=f8ba5b4174b9490d8c445fbe2ed40b80",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C529330.step?uuid=f8ba5b4174b9490d8c445fbe2ed40b80",
        pcbRotationOffset: 90,
        modelOriginPosition: { "x": 0, "y": 0.000012700000070253736, "z": -0.019205 },
    }, ...props }));

const pinLabels$o = {
    pin1: ["pin1"],
    pin2: ["pin2"],
    pin3: ["pin3"],
    pin4: ["pin4"]
};
const DSHP02TSGER = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$o, supplierPartNumbers: {
            "jlcpcb": [
                "C3293142"
            ]
        }, manufacturerPartNumber: "DSHP02TSGER", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin3"], pcbX: "0.635mm", pcbY: "3.81mm", width: "0.762mm", height: "1.524mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "0.635mm", pcbY: "-3.81mm", width: "0.762mm", height: "1.524mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.635mm", pcbY: "-3.81mm", width: "0.762mm", height: "1.524mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "-0.635mm", pcbY: "3.81mm", width: "0.762mm", height: "1.524mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -11368683772161603e-29, "y": 2.3999952000001485 }, { "x": -11368683772161603e-29, "y": 2.699994600000082 }] }), jsx("silkscreenpath", { route: [{ "x": -11368683772161603e-29, "y": 2.3999952000001485 }, { "x": -11368683772161603e-29, "y": -2.6999945999998545 }] }), jsx("silkscreenpath", { route: [{ "x": 2.099995799999988, "y": 2.699994600000082 }, { "x": 2.099995799999988, "y": -2.6999945999998545 }, { "x": -2.099995799999988, "y": -2.6999945999998545 }, { "x": -2.099995799999988, "y": 2.699994600000082 }, { "x": 2.099995799999988, "y": 2.699994600000082 }] }), jsx("silkscreenpath", { route: [{ "x": -1.2699999999999818, "y": -0.6349999999998772 }, { "x": -1.9050000000000864, "y": -0.6349999999998772 }] }), jsx("silkscreenpath", { route: [{ "x": 1.2699999999999818, "y": -1.9049999999999727 }, { "x": 1.9049999999999727, "y": -1.9049999999999727 }] }), jsx("silkscreenpath", { route: [{ "x": 2.032000000000039, "y": -0.6349999999998772 }, { "x": -11368683772161603e-29, "y": -0.6349999999998772 }, { "x": -1.2699999999999818, "y": -0.6349999999998772 }, { "x": -11368683772161603e-29, "y": -1.9049999999999727 }, { "x": -1.77800000000002, "y": -1.9049999999999727 }] }), jsx("silkscreenpath", { route: [{ "x": -1.9050000000000864, "y": -0.6349999999998772 }, { "x": -0.6349999999999909, "y": -1.9049999999999727 }] }), jsx("silkscreenpath", { route: [{ "x": -11368683772161603e-29, "y": -1.9049999999999727 }, { "x": 1.2699999999999818, "y": -1.9049999999999727 }, { "x": -11368683772161603e-29, "y": -0.6349999999998772 }] }), jsx("silkscreenpath", { route: [{ "x": 0.6349999999999909, "y": -0.6349999999998772 }, { "x": 1.9049999999999727, "y": -1.9049999999999727 }] }), jsx("silkscreenpath", { route: [{ "x": -0.6349999999999909, "y": -0.6349999999998772 }, { "x": -11368683772161603e-29, "y": -1.2699999999999818 }, { "x": 0.6349999999999909, "y": -1.9049999999999727 }] }), jsx("silkscreentext", { text: "ON", pcbX: "0.40005mm", pcbY: "1.400048mm", anchorAlignment: "bottom_left", fontSize: "1.519936mm" }), jsx("silkscreentext", { text: "ON", pcbX: "-1.700022mm", pcbY: "1.400048mm", anchorAlignment: "bottom_left", fontSize: "1.519936mm" }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "5.572mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("fabricationnotepath", { route: [{ "x": -0.9524999999999864, "y": -1.2064999999998918 }, { "x": -0.9524999999999864, "y": -2.0954999999999018 }, { "x": -0.8255000000000337, "y": -2.0954999999999018 }, { "x": -0.8255000000000337, "y": -1.2064999999998918 }, { "x": -0.9524999999999864, "y": -1.2064999999998918 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": 0.7619999999999436, "y": -1.2064999999998918 }, { "x": 1.2699999999999818, "y": -1.2064999999998918 }, { "x": 1.2699999999999818, "y": -1.5874999999998636 }, { "x": 1.2699999999999818, "y": -1.71449999999993 }, { "x": 0.88900000000001, "y": -1.71449999999993 }, { "x": 0.88900000000001, "y": -1.968499999999949 }, { "x": 1.2699999999999818, "y": -1.968499999999949 }, { "x": 1.2699999999999818, "y": -2.0954999999999018 }, { "x": 0.7619999999999436, "y": -2.0954999999999018 }, { "x": 0.7619999999999436, "y": -1.5874999999998636 }, { "x": 1.143000000000029, "y": -1.5874999999998636 }, { "x": 1.143000000000029, "y": -1.3334999999999582 }, { "x": 0.7619999999999436, "y": -1.3334999999999582 }, { "x": 0.7619999999999436, "y": -1.2064999999998918 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": -1.4499843999999484, "y": 2.149983000000134 }, { "x": -1.27319907800063, "y": 2.0767561219994377 }, { "x": -1.1999722000000475, "y": 1.8999708000001192 }, { "x": -1.1999722000000475, "y": 1.7999964000001683 }, { "x": -1.099972399999956, "y": 1.7999964000001683 }, { "x": -1.099972399999956, "y": 1.8999962000000323 }, { "x": -1.1468651163703498, "y": 2.0750022000000854 }, { "x": -1.2749784000001227, "y": 2.2031154836295173 }, { "x": -1.4499843999999484, "y": 2.2500082000000248 }, { "x": -1.4499843999999484, "y": 2.149983000000134 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": -1.400022599999943, "y": 1.496669600000132 }, { "x": -1.57682434197136, "y": 1.5698874971385521 }, { "x": -1.6500602000000981, "y": 1.746681800000033 }, { "x": -1.6500601999998707, "y": 1.8466562000000977 }, { "x": -1.7500346000001628, "y": 1.8466562000000977 }, { "x": -1.7500600000000759, "y": 1.746681800000033 }, { "x": -1.7031672856264777, "y": 1.5716503981757342 }, { "x": -1.5750320039478538, "y": 1.4435244137891914 }, { "x": -1.3999972000000298, "y": 1.3966444000000138 }, { "x": -1.400022599999943, "y": 1.496669600000132 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": -1.4499843999999484, "y": 1.4999970000001213 }, { "x": -1.273164694179627, "y": 1.573232855825836 }, { "x": -1.1999468000000206, "y": 1.7500600000000759 }, { "x": -1.1999468000000206, "y": 1.8500598000000537 }, { "x": -1.0999470000000429, "y": 1.8500598000000537 }, { "x": -1.0999470000000429, "y": 1.7500600000000759 }, { "x": -1.146835482050733, "y": 1.5750359317440825 }, { "x": -1.2749603317440688, "y": 1.4469110820507467 }, { "x": -1.4499843999999484, "y": 1.4000226000000566 }, { "x": -1.4499843999999484, "y": 1.4999970000001213 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": -1.3999972000000298, "y": 2.149983000000134 }, { "x": -1.5768153623995431, "y": 2.0767740849358916 }, { "x": -1.6500601999998707, "y": 1.8999708000001192 }, { "x": -1.6500601999998707, "y": 1.799920199999974 }, { "x": -1.7500600000000759, "y": 1.799920199999974 }, { "x": -1.7500600000000759, "y": 1.8999708000001192 }, { "x": -1.7031503508740116, "y": 2.0749807303986927 }, { "x": -1.5750173384315076, "y": 2.2030858514582405 }, { "x": -1.3999972000000298, "y": 2.249957399999971 }, { "x": -1.3999972000000298, "y": 2.149983000000134 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": -0.9499853999999459, "y": 1.4499844000000621 }, { "x": -0.9499853999999459, "y": 2.200021000000106 }, { "x": -0.9353444880925963, "y": 2.235367288092675 }, { "x": -0.8999981999999136, "y": 2.2500082000000248 }, { "x": -0.8499855999999681, "y": 2.2500082000000248 }, { "x": -0.39999920000002476, "y": 1.599996800000099 }, { "x": -0.39999920000002476, "y": 2.2500082000000248 }, { "x": -0.299999400000047, "y": 2.2500082000000248 }, { "x": -0.299999400000047, "y": 1.4499844000000621 }, { "x": -0.4499864000000571, "y": 1.4499844000000621 }, { "x": -0.7999984000000495, "y": 1.9499834000000646 }, { "x": -0.8499855999999681, "y": 1.99999600000001 }, { "x": -0.8499855999999681, "y": 1.4499844000000621 }, { "x": -0.9499853999999459, "y": 1.4499844000000621 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": 1.1501881999998886, "y": 1.4499844000000621 }, { "x": 1.1501881999998886, "y": 2.199970200000166 }, { "x": 1.1647842019143582, "y": 2.235322404943304 }, { "x": 1.2000991999999542, "y": 2.250008199999911 }, { "x": 1.2500863999999865, "y": 2.2500082000000248 }, { "x": 1.7001235999999835, "y": 1.599996800000099 }, { "x": 1.7001235999999835, "y": 2.2500082000000248 }, { "x": 1.800174200000015, "y": 2.2500082000000248 }, { "x": 1.800174200000015, "y": 1.4499844000000621 }, { "x": 1.6501363999999512, "y": 1.4499844000000621 }, { "x": 1.3002005999999255, "y": 1.9499834000000646 }, { "x": 1.2500863999999865, "y": 1.99999600000001 }, { "x": 1.2500863999999865, "y": 1.4499844000000621 }, { "x": 1.1501881999998886, "y": 1.4499844000000621 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": 0.6501383999999462, "y": 2.149957600000107 }, { "x": 0.826923721999151, "y": 2.076730721999411 }, { "x": 0.9001505999999608, "y": 1.899945400000206 }, { "x": 0.9001505999999608, "y": 1.7999710000000277 }, { "x": 1.0001757999999654, "y": 1.7999710000000277 }, { "x": 1.0001757999999654, "y": 1.8999962000000323 }, { "x": 0.9532788505144936, "y": 2.0750095326867495 }, { "x": 0.8251551353642981, "y": 2.203123950709255 }, { "x": 0.6501383999999462, "y": 2.2500082000000248 }, { "x": 0.6501383999999462, "y": 2.149957600000107 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": 0.6501383999999462, "y": 1.4999970000001213 }, { "x": 0.8269416849357185, "y": 1.573241837600449 }, { "x": 0.9001505999999608, "y": 1.7500600000000759 }, { "x": 0.9001505999999608, "y": 1.8500344000001405 }, { "x": 1.0001757999999654, "y": 1.8500344000001405 }, { "x": 1.0001757999999654, "y": 1.7500600000000759 }, { "x": 0.9532957862107878, "y": 1.5750251960523656 }, { "x": 0.825169801824245, "y": 1.4468899143735143 }, { "x": 0.6501383999999462, "y": 1.3999972000001435 }, { "x": 0.6501383999999462, "y": 1.4999970000001213 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": 0.7001510000000053, "y": 1.496669600000132 }, { "x": 0.523349258028702, "y": 1.5698874971385521 }, { "x": 0.4501133999999638, "y": 1.746681800000033 }, { "x": 0.4501134000000775, "y": 1.8466308000000708 }, { "x": 0.3500627999999324, "y": 1.8466308000000708 }, { "x": 0.3500627999999324, "y": 1.746681800000033 }, { "x": 0.39695974625919916, "y": 1.571643063930651 }, { "x": 0.5251054602380236, "y": 1.443515944701062 }, { "x": 0.7001510000000053, "y": 1.3966444000000138 }, { "x": 0.7001510000000053, "y": 1.496669600000132 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": 0.7001510000000053, "y": 2.149957600000107 }, { "x": 0.523349258028702, "y": 2.0767397028614596 }, { "x": 0.4501133999999638, "y": 1.899945400000206 }, { "x": 0.4501134000000775, "y": 1.799920199999974 }, { "x": 0.3500627999999324, "y": 1.799920199999974 }, { "x": 0.3500627999999324, "y": 1.899945400000206 }, { "x": 0.3969682144035005, "y": 2.0749734000906983 }, { "x": 0.5251127935392788, "y": 2.203090087349551 }, { "x": 0.7001510000000053, "y": 2.249957400000085 }, { "x": 0.7001510000000053, "y": 2.149957600000107 }], strokeWidth: "0.254mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.3149945999999773, "y": 4.822000000000003 }, { "x": 2.3250021999999717, "y": 4.822000000000003 }, { "x": 2.3250021999999717, "y": -4.821999999999889 }, { "x": -2.3149945999999773, "y": -4.821999999999889 }, { "x": -2.3149945999999773, "y": 4.822000000000003 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C3293142.obj?uuid=921bef200170404098bbdbc133690c4f",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C3293142.step?uuid=921bef200170404098bbdbc133690c4f",
            pcbRotationOffset: 180,
            modelOriginPosition: { x: -0.6299962000000596, y: 0, z: 0 },
        }, ...props }));
};

const CC0603KRX7R9BB104 = (props) => {
    const { name = "C1", ...restProps } = props;
    return (jsx("capacitor", { name: name, capacitance: "100nF", supplierPartNumbers: {
            "jlcpcb": [
                "C14663"
            ]
        }, manufacturerPartNumber: "CC0603KRX7R9BB104", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.700024mm", pcbY: "0mm", width: "0.7999984mm", height: "0.8999982mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.700024mm", pcbY: "0mm", width: "0.7999984mm", height: "0.8999982mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -0.2801873999999316, "y": -0.7095743999998376 }, { "x": -1.080160400000068, "y": -0.7095743999998376 }] }), jsx("silkscreenpath", { route: [{ "x": 0.28026359999989836, "y": -0.7100315999998656 }, { "x": 1.080236599999921, "y": -0.7100315999998656 }] }), jsx("silkscreenpath", { route: [{ "x": -0.2801873999999316, "y": 0.7101078000000598 }, { "x": -1.080160400000068, "y": 0.7101078000000598 }] }), jsx("silkscreenpath", { route: [{ "x": 0.28026359999989836, "y": 0.7096252000001186 }, { "x": 1.080236599999921, "y": 0.7096252000001186 }] }), jsx("silkscreenpath", { route: [{ "x": -1.3899134000000686, "y": -0.3997452000000976 }, { "x": -1.3899134000000686, "y": 0.40030400000000554 }] }), jsx("silkscreenpath", { route: [{ "x": 1.3900149999998348, "y": 0.39977060000001075 }, { "x": 1.3900149999998348, "y": -0.4002531999999519 }] }), jsx("silkscreenpath", { route: [{ "x": 1.080185799999981, "y": 0.7096252000001186 }, { "x": 1.299277109074751, "y": 0.6188693482574763 }, { "x": 1.3900149999998348, "y": 0.39977060000001075 }] }), jsx("silkscreenpath", { route: [{ "x": 1.3900149999998348, "y": -0.40020240000012564 }, { "x": 1.2992681283295724, "y": -0.6192847283296032 }, { "x": 1.080185799999981, "y": -0.7100315999998656 }] }), jsx("silkscreenpath", { route: [{ "x": -1.0801096000000143, "y": -0.7095743999998376 }, { "x": -1.2991755087698493, "y": -0.6188185485625581 }, { "x": -1.3899134000000686, "y": -0.3997452000000976 }] }), jsx("silkscreenpath", { route: [{ "x": -1.3899134000000686, "y": 0.40022780000003877 }, { "x": -1.2991934705021322, "y": 0.6193339880503572 }, { "x": -1.0801096000000143, "y": 0.7101078000000598 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.7112mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.647000000000162, "y": 0.9612000000000762 }, { "x": 1.6216000000000577, "y": 0.9612000000000762 }, { "x": 1.6216000000000577, "y": -0.9611999999999625 }, { "x": -1.647000000000162, "y": -0.9611999999999625 }, { "x": -1.647000000000162, "y": 0.9612000000000762 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C14663.obj?uuid=ac9b32e974bc448eab36b1293f859dcb",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C14663.step?uuid=ac9b32e974bc448eab36b1293f859dcb",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0, z: -0.4 },
        }, ...restProps }));
};

const GRM21BR71H105KA12L = (props) => {
    const { name = "C1", ...restProps } = props;
    return (jsx("capacitor", { name: name, capacitance: "1uF", supplierPartNumbers: {
            "jlcpcb": [
                "C77083"
            ]
        }, manufacturerPartNumber: "GRM21BR71H105KA12L", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.999998mm", pcbY: "0mm", width: "1.4100048mm", height: "1.35001mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.999998mm", pcbY: "0mm", width: "1.4100048mm", height: "1.35001mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 1.8111977999999453, "y": 0.9036049999999705 }, { "x": 0.4011929999999211, "y": 0.9036049999999705 }] }), jsx("silkscreenpath", { route: [{ "x": 0.4011929999999211, "y": -0.9036049999999705 }, { "x": 1.8111977999999453, "y": -0.9036049999999705 }] }), jsx("silkscreenpath", { route: [{ "x": 1.9635978000000023, "y": -0.7512050000000272 }, { "x": 1.9635978000000023, "y": 0.7512050000000272 }] }), jsx("silkscreenpath", { route: [{ "x": -1.811197800000059, "y": 0.9036049999999705 }, { "x": -0.40119300000003477, "y": 0.9036049999999705 }] }), jsx("silkscreenpath", { route: [{ "x": -0.40119300000003477, "y": -0.9036049999999705 }, { "x": -1.811197800000059, "y": -0.9036049999999705 }] }), jsx("silkscreenpath", { route: [{ "x": -1.9635978000000023, "y": -0.7512050000000272 }, { "x": -1.9635978000000023, "y": 0.7512050000000272 }] }), jsx("silkscreenpath", { route: [{ "x": 1.8111977999999453, "y": -0.9036049999997431 }, { "x": 1.918960873452761, "y": -0.8589680734526155 }, { "x": 1.9635977999998886, "y": -0.7512050000000272 }] }), jsx("silkscreenpath", { route: [{ "x": 1.9635977999998886, "y": 0.7512050000000272 }, { "x": 1.918960873452761, "y": 0.8589680734527292 }, { "x": 1.8111977999999453, "y": 0.9036049999998568 }] }), jsx("silkscreenpath", { route: [{ "x": -1.811197800000059, "y": -0.9036049999997431 }, { "x": -1.9189608734528747, "y": -0.8589680734526155 }, { "x": -1.9635978000000023, "y": -0.7512050000000272 }] }), jsx("silkscreenpath", { route: [{ "x": -1.9635978000000023, "y": 0.7512050000000272 }, { "x": -1.9189608734528747, "y": 0.8589680734527292 }, { "x": -1.811197800000059, "y": 0.9036049999998568 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0127mm", pcbY: "1.9144mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.205799999999954, "y": 1.1644000000000005 }, { "x": 2.2311999999999443, "y": 1.1644000000000005 }, { "x": 2.2311999999999443, "y": -1.13900000000001 }, { "x": -2.205799999999954, "y": -1.13900000000001 }, { "x": -2.205799999999954, "y": 1.1644000000000005 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C77083.obj?uuid=b87ab0c5465a48b3a1c9a6dac8d30bc5",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C77083.step?uuid=b87ab0c5465a48b3a1c9a6dac8d30bc5",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: -12700000070253736e-21, z: -0.65 },
        }, ...restProps }));
};

const A_0603WAF1003T5E = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsx("resistor", { name: name, resistance: "100kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C25803"
            ]
        }, manufacturerPartNumber: "0603WAF1003T5E", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.42621199999996406, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": 0.6606031999999686 }, { "x": 0.42621199999996406, "y": 0.6606031999999686 }] }), jsx("silkscreenpath", { route: [{ "x": -0.42621200000007775, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": 0.6606031999999686 }, { "x": -0.42621200000007775, "y": 0.6606031999999686 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.647000000000162, "y": 0.9103999999999814 }, { "x": 1.6216000000000577, "y": 0.9103999999999814 }, { "x": 1.6216000000000577, "y": -0.9103999999998678 }, { "x": -1.647000000000162, "y": -0.9103999999998678 }, { "x": -1.647000000000162, "y": 0.9103999999999814 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C25803.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C25803.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

const CRCW060310K0FKEA = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsx("resistor", { name: name, resistance: "10kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C844918"
            ]
        }, manufacturerPartNumber: "CRCW060310K0FKEA", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.42621199999996406, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": 0.6606031999999686 }, { "x": 0.42621199999996406, "y": 0.6606031999999686 }] }), jsx("silkscreenpath", { route: [{ "x": -0.42621200000007775, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": 0.6606031999999686 }, { "x": -0.42621200000007775, "y": 0.6606031999999686 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.647000000000162, "y": 0.9103999999999814 }, { "x": 1.6216000000000577, "y": 0.9103999999999814 }, { "x": 1.6216000000000577, "y": -0.9103999999998678 }, { "x": -1.647000000000162, "y": -0.9103999999998678 }, { "x": -1.647000000000162, "y": 0.9103999999999814 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C844918.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C844918.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

const pinLabels$n = {
    pin1: ["B"],
    pin2: ["E"],
    pin3: ["C"]
};
const MMBT3904 = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$n, symbol: jsxs("symbol", { children: [jsx("schematicpath", { points: [{ "x": 0.2, "y": -0.2 }, { "x": 0.14, "y": -0.1 }, { "x": 0.08, "y": -0.18 }, { "x": 0.2, "y": -0.2 }], strokeColor: "#880000", isFilled: true, fillColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 0, "y": 0.18 }, { "x": 0, "y": -0.18 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 0, "y": -0.06 }, { "x": 0.2, "y": -0.2 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 0.2, "y": 0.2 }, { "x": 0, "y": 0.06 }], strokeColor: "#880000" }), jsx("port", { name: "pin2", pinNumber: 2, aliases: ["E"], direction: "down", schX: 0.2, schY: -0.4, schStemLength: 0.2 }), jsx("port", { name: "pin1", pinNumber: 1, aliases: ["B"], direction: "left", schX: -0.2, schY: 0, schStemLength: 0.2 }), jsx("port", { name: "pin3", pinNumber: 3, aliases: ["C"], direction: "up", schX: 0.2, schY: 0.4, schStemLength: 0.2 })] }), supplierPartNumbers: {
            "jlcpcb": [
                "C7420353"
            ]
        }, manufacturerPartNumber: "MMBT3904", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "0.999998mm", pcbY: "-0.94996mm", width: "0.999998mm", height: "0.6500114mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "0.999998mm", pcbY: "0.94996mm", width: "0.999998mm", height: "0.6500114mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "-0.999998mm", pcbY: "0mm", width: "0.999998mm", height: "0.6500114mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.726211400000011, "y": 1.5262098000000606 }, { "x": -0.726211400000011, "y": 1.5262098000000606 }, { "x": -0.726211400000011, "y": 0.49458879999997407 }] }), jsx("silkscreenpath", { route: [{ "x": 0.726211400000011, "y": -1.5262097999999469 }, { "x": -0.726211400000011, "y": -1.5262097999999469 }, { "x": -0.726211400000011, "y": -0.49458879999997407 }] }), jsx("silkscreenpath", { route: [{ "x": 0.726211400000011, "y": 0.45539659999997184 }, { "x": 0.726211400000011, "y": -0.45539659999985815 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0254mm", pcbY: "2.524mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.748600000000124, "y": 1.774000000000001 }, { "x": 1.7993999999998778, "y": 1.774000000000001 }, { "x": 1.7993999999998778, "y": -1.774000000000001 }, { "x": -1.748600000000124, "y": -1.774000000000001 }, { "x": -1.748600000000124, "y": 1.774000000000001 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C7420353.obj?uuid=d777607a152f4f3aac9bb0d0c14ed6fd",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C7420353.step?uuid=d777607a152f4f3aac9bb0d0c14ed6fd",
            pcbRotationOffset: 180,
            modelOriginPosition: { x: 0.000012700000070253736, y: -12699999956566899e-21, z: 0.050795 },
        }, ...props }));
};

const pinLabels$m = {
    pin1: ["G"],
    pin2: ["S"],
    pin3: ["D"]
};
const AO3400A = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$m, symbol: jsxs("symbol", { children: [jsx("schematicpath", { points: [{ "x": 0, "y": 0 }, { "x": 0.12, "y": -0.04 }, { "x": 0.12, "y": 0.04 }, { "x": 0, "y": 0 }], strokeColor: "#880000", isFilled: true, fillColor: "#FEFEFE" }), jsx("schematicpath", { points: [{ "x": 0.4, "y": 0.04 }, { "x": 0.34, "y": -0.06 }, { "x": 0.46, "y": -0.06 }, { "x": 0.4, "y": 0.04 }], strokeColor: "#880000", isFilled: true, fillColor: "#FEFEFE" }), jsx("schematicpath", { points: [{ "x": 0, "y": 0.14 }, { "x": 0.2, "y": 0.14 }, { "x": 0.2, "y": 0.2 }, { "x": 0.4, "y": 0.2 }, { "x": 0.4, "y": 0.04 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 0, "y": 0 }, { "x": 0.2, "y": 0 }, { "x": 0.2, "y": -0.2 }, { "x": 0.4, "y": -0.2 }, { "x": 0.4, "y": -0.06 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 0.2, "y": -0.14 }, { "x": 0, "y": -0.14 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": -0.04, "y": 0.18 }, { "x": -0.04, "y": -0.18 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 0, "y": 0.18 }, { "x": 0, "y": 0.1 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 0, "y": -0.04 }, { "x": 0, "y": 0.04 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 0, "y": -0.18 }, { "x": 0, "y": -0.1 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": -0.2, "y": 0 }, { "x": -0.04, "y": 0 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 0.48, "y": 0.04 }, { "x": 0.44, "y": 0.04 }, { "x": 0.36, "y": 0.04 }, { "x": 0.32, "y": 0.04 }], strokeColor: "#880000" }), jsx("port", { name: "pin3", pinNumber: 3, aliases: ["D"], direction: "up", schX: 0.2, schY: 0.4, schStemLength: 0.2 }), jsx("port", { name: "pin1", pinNumber: 1, aliases: ["G"], direction: "left", schX: -0.4, schY: 0, schStemLength: 0.2 }), jsx("port", { name: "pin2", pinNumber: 2, aliases: ["S"], direction: "down", schX: 0.2, schY: -0.4, schStemLength: 0.2 })] }), supplierPartNumbers: {
            "jlcpcb": [
                "C20917"
            ]
        }, manufacturerPartNumber: "AO3400A", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "0.999998mm", pcbY: "-0.94996mm", width: "0.999998mm", height: "0.6500114mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "0.999998mm", pcbY: "0.94996mm", width: "0.999998mm", height: "0.6500114mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "-0.999998mm", pcbY: "0mm", width: "0.999998mm", height: "0.6500114mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.726211400000011, "y": 1.5262098000000606 }, { "x": -0.726211400000011, "y": 1.5262098000000606 }, { "x": -0.726211400000011, "y": 0.49458879999997407 }] }), jsx("silkscreenpath", { route: [{ "x": 0.726211400000011, "y": -1.5262097999999469 }, { "x": -0.726211400000011, "y": -1.5262097999999469 }, { "x": -0.726211400000011, "y": -0.49458879999997407 }] }), jsx("silkscreenpath", { route: [{ "x": 0.726211400000011, "y": 0.45539659999997184 }, { "x": 0.726211400000011, "y": -0.45539659999985815 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0254mm", pcbY: "2.524mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.748600000000124, "y": 1.774000000000001 }, { "x": 1.7993999999998778, "y": 1.774000000000001 }, { "x": 1.7993999999998778, "y": -1.774000000000001 }, { "x": -1.748600000000124, "y": -1.774000000000001 }, { "x": -1.748600000000124, "y": 1.774000000000001 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C20917.obj?uuid=d777607a152f4f3aac9bb0d0c14ed6fd",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C20917.step?uuid=d777607a152f4f3aac9bb0d0c14ed6fd",
            pcbRotationOffset: 180,
            modelOriginPosition: { x: 0.000012700000070253736, y: -12699999956566899e-21, z: 0.050795 },
        }, ...props }));
};

function PdQualification() {
    return (jsxs(Fragment, { children: [jsx("breakout", { name: "mcu_pin_escape", pcbTracePaths: mcuPadEscapePaths, children: jsx(STM32G030F6P6TR, { name: "U11", pcbRotation: productPlacement.U11.ccwRotationDegrees, schSheetName: "pdhost", schX: -6.5, schY: 8, noConnect: ["pin20"], connections: {
                        pin1: "net.SCL",
                        pin2: "net.SDA",
                        pin3: "net.PD_ALERT_N",
                        pin4: "net.VCC3V3",
                        pin5: "net.GND",
                        pin6: "net.MCU_NRST",
                        pin7: "net.ADC_VBUS",
                        pin8: "net.ADC_VM",
                        pin9: "net.VOLTAGE_BIT_9",
                        pin10: "net.VOLTAGE_BIT_12",
                        pin11: "net.VOLTAGE_DRIVE_9",
                        pin12: "net.VOLTAGE_DRIVE_12",
                        pin13: "net.HOST_ALLOW",
                        pin14: "net.HOST_INHIBIT_B",
                        pin15: "net.PD_ENABLE_N",
                        pin16: "net.PD_RESET",
                        pin17: "net.MOTOR_FAULT_N",
                        pin18: "net.SWDIO",
                        pin19: "net.SWCLK",
                    } }) }), jsx(DSHP02TSGER, { name: "SW2", pcbRotation: productPlacement.SW2.ccwRotationDegrees, schSheetName: "pdhost", schX: -1.5, schY: 8, connections: {
                    pin1: "net.VCC3V3",
                    pin2: "net.VOLTAGE_BIT_9",
                    pin3: "net.VCC3V3",
                    pin4: "net.VOLTAGE_BIT_12",
                } }), jsx(CC0603KRX7R9BB104, { name: "C30", pcbRotation: productPlacement.C30.ccwRotationDegrees, schSheetName: "pdhost", schX: 3, schY: 8, schRotation: -90, connections: { pin1: "net.VCC3V3", pin2: "net.GND" } }), jsx(GRM21BR71H105KA12L, { name: "C31", pcbRotation: productPlacement.C31.ccwRotationDegrees, schSheetName: "pdhost", schX: 7, schY: 8, schRotation: -90, connections: { pin1: "net.VCC3V3", pin2: "net.GND" } }), jsx(CC0603KRX7R9BB104, { name: "C32", pcbRotation: productPlacement.C32.ccwRotationDegrees, schSheetName: "pdhost", schX: 11.0, schY: 8, schRotation: -90, connections: { pin1: "net.MCU_NRST", pin2: "net.GND" } }), jsx(A_0603WAF1003T5E, { name: "R56", pcbRotation: productPlacement.R56.ccwRotationDegrees, schSheetName: "pdhost", schX: -11, schY: 4, schRotation: -90, connections: { pin1: "net.HOST_ALLOW", pin2: "net.GND" } }), jsx(CRCW060310K0FKEA, { name: "R57", pcbRotation: productPlacement.R57.ccwRotationDegrees, schSheetName: "pdhost", schX: -5.5, schY: 4, schRotation: -90, connections: { pin1: "net.VCC3V3", pin2: "net.HOST_INHIBIT_B" } }), jsx(MMBT3904, { name: "Q6", pcbRotation: productPlacement.Q6.ccwRotationDegrees, schSheetName: "pdhost", schX: 0.0, schY: 4, connections: {
                    B: "net.HOST_INHIBIT_B",
                    E: "net.GND",
                    C: "net.MOTOR_READY",
                } }), jsx("schematictext", { text: "Q6 \u00B7 MMBT3904", schX: 0.8, schY: 3.35, fontSize: 0.15, anchor: "bottom_left" }), jsx(A_0603WAF1003T5E, { name: "R58", pcbRotation: productPlacement.R58.ccwRotationDegrees, schSheetName: "pdhost", schX: 5.5, schY: 4, schRotation: -90, connections: { pin1: "net.VOLTAGE_BIT_9", pin2: "net.GND" } }), jsx(A_0603WAF1003T5E, { name: "R59", pcbRotation: productPlacement.R59.ccwRotationDegrees, schSheetName: "pdhost", schX: 11.0, schY: 4, schRotation: -90, connections: { pin1: "net.VOLTAGE_BIT_12", pin2: "net.GND" } }), jsx(AT0603BRD07100KL, { name: "R60", pcbRotation: productPlacement.R60.ccwRotationDegrees, schSheetName: "pdhost", schX: -11, schY: 0, schRotation: -90, connections: { pin1: "net.VBUS", pin2: "net.ADC_VBUS" } }), jsx(RT0603BRD0710KL, { name: "R61", pcbRotation: productPlacement.R61.ccwRotationDegrees, schSheetName: "pdhost", schX: -5.5, schY: 0, schRotation: -90, connections: { pin1: "net.ADC_VBUS", pin2: "net.GND" } }), jsx(CL10C220JB8NNNC, { name: "C33", pcbRotation: productPlacement.C33.ccwRotationDegrees, schSheetName: "pdhost", schX: 0.0, schY: 0, schRotation: -90, connections: { pin1: "net.ADC_VBUS", pin2: "net.GND" } }), jsx(CRCW060310K0FKEA, { name: "R62", pcbRotation: productPlacement.R62.ccwRotationDegrees, schSheetName: "pdhost", schX: 5.5, schY: 0, schRotation: -90, connections: { pin1: "net.VCC3V3", pin2: "net.PD_ALERT_N" } }), jsx(AO3400A, { name: "Q7", pcbRotation: productPlacement.Q7.ccwRotationDegrees, schSheetName: "pdhost", schX: 11.0, schY: 0, connections: {
                    G: "net.VOLTAGE_DRIVE_9",
                    S: "net.GND",
                    D: "net.SELECT_9",
                } }), jsx("schematictext", { text: "Q7 \u00B7 AO3400A", schX: 11.8, schY: -0.65, fontSize: 0.15, anchor: "bottom_left" }), jsx(AO3400A, { name: "Q8", pcbRotation: productPlacement.Q8.ccwRotationDegrees, schSheetName: "pdhost", schX: -11, schY: -4, connections: {
                    G: "net.VOLTAGE_DRIVE_12",
                    S: "net.GND",
                    D: "net.SELECT_12",
                } }), jsx("schematictext", { text: "Q8 \u00B7 AO3400A", schX: -10.2, schY: -4.65, fontSize: 0.15, anchor: "bottom_left" }), jsx(A_0603WAF1003T5E, { name: "R63", pcbRotation: productPlacement.R63.ccwRotationDegrees, schSheetName: "pdhost", schX: -5.5, schY: -4, schRotation: -90, connections: { pin1: "net.VOLTAGE_DRIVE_9", pin2: "net.GND" } }), jsx(A_0603WAF1003T5E, { name: "R64", pcbRotation: productPlacement.R64.ccwRotationDegrees, schSheetName: "pdhost", schX: 0.0, schY: -4, schRotation: -90, connections: { pin1: "net.VOLTAGE_DRIVE_12", pin2: "net.GND" } }), jsx(AT0603BRD07100KL, { name: "R66", pcbRotation: productPlacement.R66.ccwRotationDegrees, schSheetName: "pdhost", schX: 5.5, schY: -4, schRotation: -90, connections: { pin1: "net.VM", pin2: "net.ADC_VM" } }), jsx(RT0603BRD0710KL, { name: "R67", pcbRotation: productPlacement.R67.ccwRotationDegrees, schSheetName: "pdhost", schX: 11.0, schY: -4, schRotation: -90, connections: { pin1: "net.ADC_VM", pin2: "net.GND" } }), jsx(CL10C220JB8NNNC, { name: "C34", pcbRotation: productPlacement.C34.ccwRotationDegrees, schSheetName: "pdhost", schX: -11, schY: -8, schRotation: -90, connections: { pin1: "net.ADC_VM", pin2: "net.GND" } }), jsx(A_5015, { name: "TP1", pinAttributes: {
                    pin1: { isPassive: true, includeInBoardPinout: true },
                }, pcbRotation: productPlacement.TP1.ccwRotationDegrees, schSheetName: "pdhost", schX: -5.5, schY: -8, connections: { pin1: "net.SWDIO" } }), jsx(A_5015, { name: "TP2", pinAttributes: {
                    pin1: { isPassive: true, includeInBoardPinout: true },
                }, pcbRotation: productPlacement.TP2.ccwRotationDegrees, schSheetName: "pdhost", schX: 0, schY: -8, connections: { pin1: "net.SWCLK" } }), jsx(A_5015, { name: "TP3", pinAttributes: {
                    pin1: { isPassive: true, includeInBoardPinout: true },
                }, pcbRotation: productPlacement.TP3.ccwRotationDegrees, schSheetName: "pdhost", schX: 5.5, schY: -8, connections: { pin1: "net.MCU_NRST" } }), jsx(A_5015, { name: "TP4", pinAttributes: {
                    pin1: { isPassive: true, includeInBoardPinout: true },
                }, pcbRotation: productPlacement.TP4.ccwRotationDegrees, schSheetName: "pdhost", schX: 11, schY: -8, connections: { pin1: "net.GND" } })] }));
}

// Native routing targets in board-world millimetres (+X right, +Y up).
// These are PCB features; supplier symbols, pin maps and lands are untouched.
// PD pad exits are solved natively; MCU exits use native saved FanoutTracePaths.
// Every emitted path and via must pass the same independent copper/drill checks.
// Ground pins remain at their real component pads for native plane fanout.
// FanoutSolver requires component endpoints and cannot start at an escaped point.
// U1 EP pin25 has no imported thermal vias and requires a real ground escape.
// The twelve accepted imported vias belong to U4, U5 and U10 only.
// The native solver must clear peripheral pads and prohibit new via-in-pad.
const pdEscapePositions = [
    { pinNumber: 1, xMm: -26.25, yMm: 1.2 },
    { pinNumber: 2, xMm: -25.4, yMm: 1.2 },
    { pinNumber: 4, xMm: -24.1, yMm: 1.1 },
    { pinNumber: 5, xMm: -23.25, yMm: 1.1 },
    { pinNumber: 6, xMm: -22.4, yMm: 1.2 },
    { pinNumber: 7, xMm: -21.5, yMm: 2.3 },
    { pinNumber: 8, xMm: -21.5, yMm: 3.15 },
    { pinNumber: 16, xMm: -24.65, yMm: 7.5 },
    { pinNumber: 18, xMm: -25.65, yMm: 6.9 },
    { pinNumber: 19, xMm: -27.3, yMm: 5.8 },
    { pinNumber: 21, xMm: -27.3, yMm: 4.6 },
    { pinNumber: 23, xMm: -27.3, yMm: 2.9 },
    { pinNumber: 24, xMm: -27.3, yMm: 2.05 },
];
const mcuEscapePositions = [
    { pinNumber: 1, xMm: -15.65, yMm: -8.925 },
    { pinNumber: 2, xMm: -14.8, yMm: -8.275 },
    { pinNumber: 3, xMm: -15.65, yMm: -7.625 },
    { pinNumber: 4, xMm: -15.65, yMm: -6.975 },
    { pinNumber: 6, xMm: -14.8, yMm: -5.675 },
    { pinNumber: 7, xMm: -15.65, yMm: -5.025 },
    { pinNumber: 8, xMm: -14.8, yMm: -4.375 },
    { pinNumber: 9, xMm: -15.65, yMm: -3.725 },
    { pinNumber: 10, xMm: -14.8, yMm: -3.075 },
    { pinNumber: 11, xMm: -24.35, yMm: -3.075 },
    { pinNumber: 12, xMm: -25.2, yMm: -3.725 },
    { pinNumber: 13, xMm: -24.35, yMm: -4.375 },
    { pinNumber: 14, xMm: -25.2, yMm: -5.025 },
    { pinNumber: 15, xMm: -24.35, yMm: -5.675 },
    { pinNumber: 16, xMm: -25.2, yMm: -6.325 },
    { pinNumber: 17, xMm: -24.35, yMm: -6.975 },
    { pinNumber: 18, xMm: -25.2, yMm: -7.625 },
    { pinNumber: 19, xMm: -24.35, yMm: -8.275 },
];
function PinBreakoutPoints({ reference }) {
    const positions = reference === "U1" ? pdEscapePositions : mcuEscapePositions;
    return (jsx(Fragment, { children: positions.map(({ pinNumber, xMm, yMm }) => (jsx(Fragment$1, { children: jsx("breakoutpoint", { connection: `${reference}.pin${pinNumber}`, pcbX: xMm, pcbY: yMm, 
                // MCU controls cross beneath its body rather than wrapping side corridors.
                // Power and reset stay top; all bottom
                // landings preserve row order and reserve at least0.85mm pitch.
                layer: (reference === "U1" && [16, 18].includes(pinNumber)) ||
                    (reference === "U11" && ![4, 6].includes(pinNumber))
                    ? "bottom"
                    : "top" }) }, pinNumber))) }));
}

const pinLabels$l = {
    pin1: ["K"],
    pin2: ["A"]
};
const SMBJ22A = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$l, symbol: jsxs("symbol", { children: [jsx("port", { name: "pin2", pinNumber: 2, aliases: ["A"], direction: "right", schX: 0.4, schY: 0, schStemLength: 0.3 }), jsx("port", { name: "pin1", pinNumber: 1, aliases: ["K"], direction: "left", schX: -0.4, schY: 0, schStemLength: 0.3 }), jsx("schematicpath", { svgPath: "M 0.1 0.12 L -0.1 0 L 0.1 -0.14 Z", strokeColor: "#880000", isFilled: true, fillColor: "#880000" }), jsx("schematicpath", { points: [{ "x": -0.14, "y": -0.16 }, { "x": -0.1, "y": -0.16 }, { "x": -0.1, "y": 0.14 }, { "x": -0.04, "y": 0.14 }], strokeColor: "#880000" })] }), supplierPartNumbers: {
            "jlcpcb": [
                "C10214"
            ]
        }, manufacturerPartNumber: "SMBJ22A", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "2.360676mm", pcbY: "0mm", width: "2.047494mm", height: "2.192401mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-2.360676mm", pcbY: "0mm", width: "2.047494mm", height: "2.192401mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -1.0160000000000764, "y": 1.8862040000000206 }, { "x": -1.0160000000000764, "y": -1.886203999999907 }] }), jsx("silkscreenpath", { route: [{ "x": -2.7437080000000833, "y": 1.8862040000000206 }, { "x": 2.7437079999999696, "y": 1.8862040000000206 }] }), jsx("silkscreenpath", { route: [{ "x": -2.7437080000000833, "y": -1.886203999999907 }, { "x": 2.7437079999999696, "y": -1.886203999999907 }] }), jsx("silkscreenpath", { route: [{ "x": 2.7437079999999696, "y": 1.8862040000000206 }, { "x": 2.7437079999999696, "y": 1.2993877999999768 }] }), jsx("silkscreenpath", { route: [{ "x": 2.7437079999999696, "y": -1.886203999999907 }, { "x": 2.7437079999999696, "y": -1.2993877999999768 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0mm", pcbY: "2.9558mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("fabricationnotepath", { route: [{ "x": -2.396007400000144, "y": -0.13573759999997037 }, { "x": -2.396007400000144, "y": 0.13573760000008406 }, { "x": -1.3100049999999328, "y": 0.13573760000008406 }, { "x": -1.3100049999999328, "y": -0.13573759999997037 }, { "x": -2.396007400000144, "y": -0.13573759999997037 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": 2.396007400000144, "y": -0.13573759999997037 }, { "x": 2.396007400000144, "y": 0.13573760000008406 }, { "x": 1.3100049999999328, "y": 0.13573760000008406 }, { "x": 1.3100049999999328, "y": -0.13573759999997037 }, { "x": 2.396007400000144, "y": -0.13573759999997037 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": 1.988743799999952, "y": -0.9050019999999677 }, { "x": 1.988743799999952, "y": 0.9050020000000814 }, { "x": 1.7172431999999844, "y": 0.9050020000000814 }, { "x": 1.7172431999999844, "y": -0.9050019999999677 }, { "x": 1.988743799999952, "y": -0.9050019999999677 }], strokeWidth: "0.254mm" }), jsx("courtyardoutline", { outline: [{ "x": -3.6282000000001062, "y": 2.2058000000000675 }, { "x": 3.628199999999879, "y": 2.2058000000000675 }, { "x": 3.628199999999879, "y": -2.231200000000058 }, { "x": -3.6282000000001062, "y": -2.231200000000058 }, { "x": -3.6282000000001062, "y": 2.2058000000000675 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C10214.obj?uuid=892cc756ed79448ab4afad0e5bfcdfa6",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C10214.step?uuid=892cc756ed79448ab4afad0e5bfcdfa6",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0, z: -0.1 },
        }, ...props }));
};

const pinLabels$k = {
    pin1: ["EH4"],
    pin2: ["EH2"],
    pin3: ["EH1"],
    pin4: ["EH3"],
    pin5: ["GND1", "B1_A12"],
    pin6: ["VBUS1", "B4_A9"],
    pin7: ["GND2", "A1_B12"],
    pin8: ["VBUS2", "A4_B9"],
    pin9: ["CC2", "B5"],
    pin10: ["SBU1", "A8"],
    pin11: ["Dp2", "B6"],
    pin12: ["Dn1", "A7"],
    pin13: ["Dp1", "A6"],
    pin14: ["Dn2", "B7"],
    pin15: ["CC1", "A5"],
    pin16: ["SBU2", "B8"]
};
const USB4105_GF_A_120 = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$k, supplierPartNumbers: {
            "jlcpcb": [
                "C5184243"
            ]
        }, manufacturerPartNumber: "USB4105-GF-A-120", footprint: jsxs("footprint", { children: [jsx("hole", { pcbX: "2.890012mm", pcbY: "1.0398824mm", diameter: "0.649986mm" }), jsx("hole", { pcbX: "-2.890012mm", pcbY: "1.0398824mm", diameter: "0.649986mm" }), jsx("platedhole", { portHints: ["pin3"], pcbX: "4.320032mm", pcbY: "-2.6400696mm", holeWidth: "0.5999988mm", holeHeight: "1.3999972mm", outerWidth: "0.999998mm", outerHeight: "1.7999964mm", shape: "pill" }), jsx("platedhole", { portHints: ["pin2"], pcbX: "-4.320032mm", pcbY: "-2.6400696mm", holeWidth: "0.5999988mm", holeHeight: "1.3999972mm", outerWidth: "0.999998mm", outerHeight: "1.7999964mm", shape: "pill" }), jsx("platedhole", { portHints: ["pin4"], pcbX: "4.320032mm", pcbY: "1.5400084mm", holeWidth: "0.5999988mm", holeHeight: "1.6999966mm", outerWidth: "0.999998mm", outerHeight: "2.0999958mm", shape: "pill" }), jsx("platedhole", { portHints: ["pin1"], pcbX: "-4.320032mm", pcbY: "1.5400084mm", holeWidth: "0.5999988mm", holeHeight: "1.700022mm", outerWidth: "0.999998mm", outerHeight: "2.0999958mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "3.2002729mm", pcbY: "2.1150644mm", width: "0.5999988mm", height: "1.1500104mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "2.4002241mm", pcbY: "2.1150644mm", width: "0.5999988mm", height: "1.1500104mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin7"], pcbX: "-3.2002729mm", pcbY: "2.1150644mm", width: "0.5999988mm", height: "1.1500104mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin8"], pcbX: "-2.4002241mm", pcbY: "2.1150644mm", width: "0.5999988mm", height: "1.1500104mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin9"], pcbX: "1.750175mm", pcbY: "2.1150644mm", width: "0.2999994mm", height: "1.1500104mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin10"], pcbX: "1.250125mm", pcbY: "2.1150644mm", width: "0.2999994mm", height: "1.1500104mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin11"], pcbX: "0.750075mm", pcbY: "2.1150644mm", width: "0.2999994mm", height: "1.1500104mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin12"], pcbX: "0.250025mm", pcbY: "2.1150644mm", width: "0.2999994mm", height: "1.1500104mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin13"], pcbX: "-0.250025mm", pcbY: "2.1150644mm", width: "0.2999994mm", height: "1.1500104mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin14"], pcbX: "-0.750075mm", pcbY: "2.1150644mm", width: "0.2999994mm", height: "1.1500104mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin15"], pcbX: "-1.250125mm", pcbY: "2.1150644mm", width: "0.2999994mm", height: "1.1500104mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin16"], pcbX: "-1.750175mm", pcbY: "2.1150644mm", width: "0.2999994mm", height: "1.1500104mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -4.571923799999922, "y": -3.8135242000000744 }, { "x": -4.571923799999922, "y": -5.337524199999962 }, { "x": 4.572076200000083, "y": -5.337524199999962 }, { "x": 4.572076200000083, "y": -3.8135242000000744 }] }), jsx("silkscreenpath", { route: [{ "x": -4.571872999999982, "y": 0.1869249999999738 }, { "x": -4.571872999999982, "y": -1.4640750000000935 }] }), jsx("silkscreenpath", { route: [{ "x": 4.572127000000023, "y": 0.1869249999999738 }, { "x": 4.572127000000023, "y": -1.4640750000000935 }] }), jsx("silkscreenrect", { pcbX: "-2.44094mm", pcbY: "-0.8061896mm", width: "1.778mm", height: "0.762mm", strokeWidth: "0.254mm" }), jsx("silkscreenrect", { pcbX: "2.38506mm", pcbY: "-0.8061896mm", width: "1.778mm", height: "0.762mm", strokeWidth: "0.254mm" }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.002032mm", pcbY: "3.6888504mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -5.070030999999972, "y": 2.9400695999999016 }, { "x": 5.070031000000085, "y": 2.9400695999999016 }, { "x": 5.070031000000085, "y": -5.5855684000000565 }, { "x": -5.070030999999972, "y": -5.5855684000000565 }, { "x": -5.070030999999972, "y": 2.9400695999999016 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5184243.obj?uuid=c50ce21ae3b941ce8eeb9bccc6cdef41",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5184243.step?uuid=c50ce21ae3b941ce8eeb9bccc6cdef41",
            pcbRotationOffset: 180,
            modelOriginPosition: { x: 0.000063500000123895, y: -2.7355763000001385, z: 0.14999799999999996 },
        }, ...props }));
};

const pinLabels$j = {
    pin1: ["OUT"],
    pin2: ["pin2"],
    pin3: ["PG"],
    pin4: ["GND"],
    pin5: ["EN"],
    pin6: ["NC"],
    pin7: ["DELAY"],
    pin8: ["IN"],
    pin9: ["EP"]
};
const pinAttributes$7 = {
    pin4: { requiresGround: true },
    pin6: { doNotConnect: true }
};
const TPS7A1633DGNR = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$j, pinAttributes: pinAttributes$7, supplierPartNumbers: {
            "jlcpcb": [
                "C181239"
            ]
        }, manufacturerPartNumber: "TPS7A1633DGNR", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.975106mm", pcbY: "-2.13106mm", width: "0.3640074mm", height: "1.6619982mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "-0.324866mm", pcbY: "-2.13106mm", width: "0.3640074mm", height: "1.6619982mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "0.32512mm", pcbY: "-2.13106mm", width: "0.3640074mm", height: "1.6619982mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "0.975106mm", pcbY: "-2.13106mm", width: "0.3640074mm", height: "1.6619982mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin8"], pcbX: "-0.975106mm", pcbY: "2.13106mm", width: "0.3640074mm", height: "1.6619982mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin7"], pcbX: "-0.324866mm", pcbY: "2.13106mm", width: "0.3640074mm", height: "1.6619982mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "0.32512mm", pcbY: "2.13106mm", width: "0.3640074mm", height: "1.6619982mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "0.975106mm", pcbY: "2.13106mm", width: "0.3640074mm", height: "1.6619982mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin9"], pcbX: "0mm", pcbY: "0mm", width: "1.7999964mm", height: "1.499997mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -1.5761970000000929, "y": -1.0713974000000235 }, { "x": -1.5761970000000929, "y": 1.0713974000000235 }, { "x": 1.5761969999998655, "y": 1.0713974000000235 }, { "x": 1.5761969999998655, "y": -1.0713974000000235 }, { "x": -1.5761970000000929, "y": -1.0713974000000235 }] }), jsx("silkscreencircle", { pcbX: "-1.609344mm", pcbY: "-2.13106mm", radius: "0.150114mm" }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0889mm", pcbY: "3.7686mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.0026000000000295, "y": 3.018600000000106 }, { "x": 1.8247999999998683, "y": 3.018600000000106 }, { "x": 1.8247999999998683, "y": -3.2725999999998976 }, { "x": -2.0026000000000295, "y": -3.2725999999998976 }, { "x": -2.0026000000000295, "y": 3.018600000000106 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C181239.obj?uuid=579554954b0946ca87bf676d9e26a8a1",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C181239.step?uuid=579554954b0946ca87bf676d9e26a8a1",
            pcbRotationOffset: 270,
            modelOriginPosition: { x: 0.000012700000070253736, y: 0, z: 0 },
        }, ...props }));
};

const CL10A475KO8NNNC = (props) => {
    const { name = "C1", ...restProps } = props;
    return (jsx("capacitor", { name: name, capacitance: "4.7uF", supplierPartNumbers: {
            "jlcpcb": [
                "C19666"
            ]
        }, manufacturerPartNumber: "CL10A475KO8NNNC", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.700024mm", pcbY: "0mm", width: "0.7999984mm", height: "0.8999982mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.700024mm", pcbY: "0mm", width: "0.7999984mm", height: "0.8999982mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -0.2801873999999316, "y": -0.7095743999998376 }, { "x": -1.080160400000068, "y": -0.7095743999998376 }] }), jsx("silkscreenpath", { route: [{ "x": 0.28026359999989836, "y": -0.7100315999998656 }, { "x": 1.080236599999921, "y": -0.7100315999998656 }] }), jsx("silkscreenpath", { route: [{ "x": -0.2801873999999316, "y": 0.7101078000000598 }, { "x": -1.080160400000068, "y": 0.7101078000000598 }] }), jsx("silkscreenpath", { route: [{ "x": 0.28026359999989836, "y": 0.7096252000001186 }, { "x": 1.080236599999921, "y": 0.7096252000001186 }] }), jsx("silkscreenpath", { route: [{ "x": -1.3899134000000686, "y": -0.3997452000000976 }, { "x": -1.3899134000000686, "y": 0.40030400000000554 }] }), jsx("silkscreenpath", { route: [{ "x": 1.3900149999998348, "y": 0.39977060000001075 }, { "x": 1.3900149999998348, "y": -0.4002531999999519 }] }), jsx("silkscreenpath", { route: [{ "x": 1.080185799999981, "y": 0.7096252000001186 }, { "x": 1.299277109074751, "y": 0.6188693482574763 }, { "x": 1.3900149999998348, "y": 0.39977060000001075 }] }), jsx("silkscreenpath", { route: [{ "x": 1.3900149999998348, "y": -0.40020240000012564 }, { "x": 1.2992681283295724, "y": -0.6192847283296032 }, { "x": 1.080185799999981, "y": -0.7100315999998656 }] }), jsx("silkscreenpath", { route: [{ "x": -1.0801096000000143, "y": -0.7095743999998376 }, { "x": -1.2991755087698493, "y": -0.6188185485625581 }, { "x": -1.3899134000000686, "y": -0.3997452000000976 }] }), jsx("silkscreenpath", { route: [{ "x": -1.3899134000000686, "y": 0.40022780000003877 }, { "x": -1.2991934705021322, "y": 0.6193339880503572 }, { "x": -1.0801096000000143, "y": 0.7101078000000598 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.7112mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.647000000000162, "y": 0.9612000000000762 }, { "x": 1.6216000000000577, "y": 0.9612000000000762 }, { "x": 1.6216000000000577, "y": -0.9611999999999625 }, { "x": -1.647000000000162, "y": -0.9611999999999625 }, { "x": -1.647000000000162, "y": 0.9612000000000762 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C19666.obj?uuid=ac9b32e974bc448eab36b1293f859dcb",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C19666.step?uuid=ac9b32e974bc448eab36b1293f859dcb",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0, z: -0.4 },
        }, ...restProps }));
};

const pinLabels$i = {
    pin1: ["cathode", "neg"],
    pin2: ["anode", "pos"]
};
const BZT52C24 = (props) => {
    const { name = "D1", ...restProps } = props;
    return (jsx("diode", { name: name, pinLabels: pinLabels$i, supplierPartNumbers: {
            "jlcpcb": [
                "C2109"
            ]
        }, manufacturerPartNumber: "BZT52C24", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2", "anode", "pos"], pcbX: "1.692402mm", pcbY: "0mm", width: "0.9500108mm", height: "1.1500104mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1", "cathode", "neg"], pcbX: "-1.692402mm", pcbY: "0mm", width: "0.9500108mm", height: "1.1500104mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -1.5800070000000233, "y": -0.7551419999998643 }, { "x": -1.4061693999999534, "y": -0.7551419999998643 }] }), jsx("silkscreenpath", { route: [{ "x": -1.5800070000000233, "y": 0.755141999999978 }, { "x": -1.4061693999999534, "y": 0.755141999999978 }] }), jsx("silkscreenpath", { route: [{ "x": -1.5800070000000233, "y": 0.755141999999978 }, { "x": -1.5800070000000233, "y": 0.8661908000000267 }, { "x": -1.4061693999999534, "y": 0.8661908000000267 }] }), jsx("silkscreenpath", { route: [{ "x": -1.4061693999999534, "y": -0.866190799999913 }, { "x": -1.5800070000000233, "y": -0.866190799999913 }, { "x": -1.5800070000000233, "y": -0.7551419999998643 }] }), jsx("silkscreenpath", { route: [{ "x": -1.4061693999999534, "y": -0.7551419999998643 }, { "x": -1.4061693999999534, "y": -0.866190799999913 }] }), jsx("silkscreenpath", { route: [{ "x": -1.4061693999999534, "y": 0.8661908000000267 }, { "x": -1.4061693999999534, "y": 0.755141999999978 }] }), jsx("silkscreenpath", { route: [{ "x": -0.8271256000000449, "y": 0.8661908000000267 }, { "x": -0.8271256000000449, "y": -0.866190799999913 }] }), jsx("silkscreenpath", { route: [{ "x": -0.9700006000000485, "y": 0.8661908000000267 }, { "x": -0.9700006000000485, "y": -0.866190799999913 }] }), jsx("silkscreenpath", { route: [{ "x": -1.4061693999999534, "y": 0.8661908000000267 }, { "x": 1.4061693999999534, "y": 0.8661908000000267 }] }), jsx("silkscreenpath", { route: [{ "x": 1.4061693999999534, "y": 0.8661908000000267 }, { "x": 1.4061693999999534, "y": 0.6981951999998728 }] }), jsx("silkscreenpath", { route: [{ "x": -1.4061693999999534, "y": -0.866190799999913 }, { "x": 1.4061693999999534, "y": -0.866190799999913 }] }), jsx("silkscreenpath", { route: [{ "x": 1.4061693999999534, "y": -0.866190799999913 }, { "x": 1.4061693999999534, "y": -0.6981951999999865 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0127mm", pcbY: "1.889mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("fabricationnotepath", { route: [{ "x": -2.030196600000181, "y": 0.09479280000005019 }, { "x": -2.030196600000181, "y": -0.0947927999999365 }, { "x": -1.2717780000000403, "y": -0.0947927999999365 }, { "x": -1.2717780000000403, "y": 0.09479280000005019 }, { "x": -2.030196600000181, "y": 0.09479280000005019 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": 1.9354038000000173, "y": 0.0977900000000318 }, { "x": 1.9354038000000173, "y": -0.0917955999999549 }, { "x": 1.17698519999999, "y": -0.0917955999999549 }, { "x": 1.17698519999999, "y": 0.0977900000000318 }, { "x": 1.9354038000000173, "y": 0.0977900000000318 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": 1.6509999999999536, "y": 0.6349999999999909 }, { "x": 1.6509999999999536, "y": -0.629005599999914 }, { "x": 1.4613889999998264, "y": -0.629005599999914 }, { "x": 1.4613889999998264, "y": 0.6349999999999909 }, { "x": 1.6509999999999536, "y": 0.6349999999999909 }], strokeWidth: "0.254mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.4090000000001055, "y": 1.1390000000001237 }, { "x": 2.4343999999999824, "y": 1.1390000000001237 }, { "x": 2.4343999999999824, "y": -1.1897999999998774 }, { "x": -2.4090000000001055, "y": -1.1897999999998774 }, { "x": -2.4090000000001055, "y": 1.1390000000001237 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2109.obj?uuid=ffe28a36cfa04cde86eca0e275be7a76",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2109.step?uuid=ffe28a36cfa04cde86eca0e275be7a76",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0, z: -0.55 },
        }, ...restProps }));
};

const A_0603WAF1001T5E = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsx("resistor", { name: name, resistance: "1kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C21190"
            ]
        }, manufacturerPartNumber: "0603WAF1001T5E", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.42621199999996406, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": 0.6606031999999686 }, { "x": 0.42621199999996406, "y": 0.6606031999999686 }] }), jsx("silkscreenpath", { route: [{ "x": -0.42621200000007775, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": 0.6606031999999686 }, { "x": -0.42621200000007775, "y": 0.6606031999999686 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.647000000000162, "y": 0.9103999999999814 }, { "x": 1.6216000000000577, "y": 0.9103999999999814 }, { "x": 1.6216000000000577, "y": -0.9103999999998678 }, { "x": -1.647000000000162, "y": -0.9103999999998678 }, { "x": -1.647000000000162, "y": 0.9103999999999814 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C21190.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C21190.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

const pinLabels$h = {
    pin1: ["CC1DB"],
    pin2: ["CC1"],
    pin3: ["NC"],
    pin4: ["CC2"],
    pin5: ["CC2DB"],
    pin6: ["RESET"],
    pin7: ["SCL"],
    pin8: ["SDA"],
    pin9: ["DISCH"],
    pin10: ["GND"],
    pin11: ["ATTACH"],
    pin12: ["ADDR0"],
    pin13: ["ADDR1"],
    pin14: ["POWER_OK3"],
    pin15: ["GPIO"],
    pin16: ["VBUS_EN_SNK"],
    pin17: ["A_B_SIDE"],
    pin18: ["VBUS_VS_DISCH"],
    pin19: ["ALERT"],
    pin20: ["POWER_OK2"],
    pin21: ["VREG_1V2"],
    pin22: ["VSYS"],
    pin23: ["VREG_2V7"],
    pin24: ["VDD"],
    pin25: ["EP"]
};
const pinAttributes$6 = {
    pin3: { doNotConnect: true },
    pin10: { requiresGround: true },
    pin24: { requiresPower: true }
};
const STUSB4500QTR = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$h, pinAttributes: pinAttributes$6, supplierPartNumbers: {
            "jlcpcb": [
                "C2678061"
            ]
        }, manufacturerPartNumber: "STUSB4500QTR", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.249934mm", pcbY: "-1.999996mm", width: "0.2800096mm", height: "0.6999986mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "-0.750062mm", pcbY: "-1.999996mm", width: "0.2800096mm", height: "0.6999986mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "-0.249936mm", pcbY: "-1.999996mm", width: "0.2800096mm", height: "0.6999986mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "0.249936mm", pcbY: "-1.999996mm", width: "0.2800096mm", height: "0.6999986mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "0.750062mm", pcbY: "-1.999996mm", width: "0.2800096mm", height: "0.6999986mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "1.249934mm", pcbY: "-1.999996mm", width: "0.2800096mm", height: "0.6999986mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin7"], pcbX: "1.999996mm", pcbY: "-1.249934mm", width: "0.6999986mm", height: "0.2800096mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin8"], pcbX: "1.999996mm", pcbY: "-0.750062mm", width: "0.6999986mm", height: "0.2800096mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin9"], pcbX: "1.999996mm", pcbY: "-0.249936mm", width: "0.6999986mm", height: "0.2800096mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin10"], pcbX: "1.999996mm", pcbY: "0.249936mm", width: "0.6999986mm", height: "0.2800096mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin11"], pcbX: "1.999996mm", pcbY: "0.750062mm", width: "0.6999986mm", height: "0.2800096mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin12"], pcbX: "1.999996mm", pcbY: "1.249934mm", width: "0.6999986mm", height: "0.2800096mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin13"], pcbX: "1.249934mm", pcbY: "1.999996mm", width: "0.2800096mm", height: "0.6999986mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin14"], pcbX: "0.750062mm", pcbY: "1.999996mm", width: "0.2800096mm", height: "0.6999986mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin15"], pcbX: "0.249936mm", pcbY: "1.999996mm", width: "0.2800096mm", height: "0.6999986mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin16"], pcbX: "-0.249936mm", pcbY: "1.999996mm", width: "0.2800096mm", height: "0.6999986mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin17"], pcbX: "-0.750062mm", pcbY: "1.999996mm", width: "0.2800096mm", height: "0.6999986mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin18"], pcbX: "-1.249934mm", pcbY: "1.999996mm", width: "0.2800096mm", height: "0.6999986mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin19"], pcbX: "-1.999996mm", pcbY: "1.249934mm", width: "0.6999986mm", height: "0.2800096mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin20"], pcbX: "-1.999996mm", pcbY: "0.750062mm", width: "0.6999986mm", height: "0.2800096mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin21"], pcbX: "-1.999996mm", pcbY: "0.249936mm", width: "0.6999986mm", height: "0.2800096mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin22"], pcbX: "-1.999996mm", pcbY: "-0.249936mm", width: "0.6999986mm", height: "0.2800096mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin23"], pcbX: "-1.999996mm", pcbY: "-0.750062mm", width: "0.6999986mm", height: "0.2800096mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin24"], pcbX: "-1.999996mm", pcbY: "-1.249934mm", width: "0.6999986mm", height: "0.2800096mm", radius: "0.1400048mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin25"], pcbX: "0.0127mm", pcbY: "0mm", width: "2.7999944mm", height: "2.7999944mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 2.1628099999998085, "y": 1.7500345999999354 }, { "x": 2.1628099999998085, "y": 2.1501353999999537 }, { "x": 1.7627599999999575, "y": 2.1501353999999537 }] }), jsx("silkscreenpath", { route: [{ "x": -2.137384599999905, "y": 1.7500345999999354 }, { "x": -2.137384599999905, "y": 2.1501353999999537 }, { "x": -1.737359999999967, "y": 2.1501353999999537 }] }), jsx("silkscreenpath", { route: [{ "x": -1.737359999999967, "y": -2.1501353999999537 }, { "x": -2.137384599999905, "y": -2.1501353999999537 }, { "x": -2.137384599999905, "y": -1.750085399999989 }] }), jsx("silkscreenpath", { route: [{ "x": 2.1628099999998085, "y": -1.750085399999989 }, { "x": 2.1628099999998085, "y": -2.1501353999999537 }, { "x": 1.7627599999999575, "y": -2.1501353999999537 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0mm", pcbY: "3.343404mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.5995000000000346, "y": 2.5934040000000778 }, { "x": 2.599499999999921, "y": 2.5934040000000778 }, { "x": 2.599499999999921, "y": -2.6055959999999914 }, { "x": -2.5995000000000346, "y": -2.6055959999999914 }, { "x": -2.5995000000000346, "y": 2.5934040000000778 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2678061.obj?uuid=f4a3249710724deb990f62f343cd4553",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2678061.step?uuid=f4a3249710724deb990f62f343cd4553",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: -12699999842880061e-21, y: -12700000070253736e-21, z: 0 },
        }, ...props }));
};

const pinLabels$g = {
    pin1: ["OUT"],
    pin2: ["pin2"],
    pin3: ["PG"],
    pin4: ["GND"],
    pin5: ["EN"],
    pin6: ["NC"],
    pin7: ["DELAY"],
    pin8: ["IN"],
    pin9: ["EP"]
};
const pinAttributes$5 = {
    pin4: { requiresGround: true },
    pin6: { doNotConnect: true }
};
const TPS7A1650DGNR = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$g, pinAttributes: pinAttributes$5, supplierPartNumbers: {
            "jlcpcb": [
                "C468238"
            ]
        }, manufacturerPartNumber: "TPS7A1650DGNR", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.975106mm", pcbY: "-2.13106mm", width: "0.3640074mm", height: "1.6619982mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "-0.324866mm", pcbY: "-2.13106mm", width: "0.3640074mm", height: "1.6619982mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "0.32512mm", pcbY: "-2.13106mm", width: "0.3640074mm", height: "1.6619982mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "0.975106mm", pcbY: "-2.13106mm", width: "0.3640074mm", height: "1.6619982mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin8"], pcbX: "-0.975106mm", pcbY: "2.13106mm", width: "0.3640074mm", height: "1.6619982mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin7"], pcbX: "-0.324866mm", pcbY: "2.13106mm", width: "0.3640074mm", height: "1.6619982mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "0.32512mm", pcbY: "2.13106mm", width: "0.3640074mm", height: "1.6619982mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "0.975106mm", pcbY: "2.13106mm", width: "0.3640074mm", height: "1.6619982mm", radius: "0.1820037mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin9"], pcbX: "0mm", pcbY: "0mm", width: "1.7999964mm", height: "1.499997mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -1.5761970000000929, "y": -1.0713974000000235 }, { "x": -1.5761970000000929, "y": 1.0713974000000235 }, { "x": 1.5761969999998655, "y": 1.0713974000000235 }, { "x": 1.5761969999998655, "y": -1.0713974000000235 }, { "x": -1.5761970000000929, "y": -1.0713974000000235 }] }), jsx("silkscreencircle", { pcbX: "-1.609344mm", pcbY: "-2.13106mm", radius: "0.150114mm" }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0889mm", pcbY: "3.7686mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.0026000000000295, "y": 3.018600000000106 }, { "x": 1.8247999999998683, "y": 3.018600000000106 }, { "x": 1.8247999999998683, "y": -3.2725999999998976 }, { "x": -2.0026000000000295, "y": -3.2725999999998976 }, { "x": -2.0026000000000295, "y": 3.018600000000106 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C468238.obj?uuid=579554954b0946ca87bf676d9e26a8a1",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C468238.step?uuid=579554954b0946ca87bf676d9e26a8a1",
            pcbRotationOffset: 270,
            modelOriginPosition: { x: 0.000012700000070253736, y: 0, z: 0 },
        }, ...props }));
};

const pinLabels$f = {
    pin1: ["C1"],
    pin2: ["C2"],
    pin3: ["A"]
};
const PESD24VS2UT_215 = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$f, symbol: jsxs("symbol", { children: [jsx("schematicpath", { points: [{ "x": -0.2, "y": 0.1 }, { "x": -0.2, "y": 0.3 }, { "x": 0.2, "y": 0.3 }, { "x": 0.2, "y": 0.1 }], strokeColor: "#880000" }), jsx("schematicpath", { svgPath: "M 0.08 0.1 L 0.2 -0.1 L 0.34 0.1 Z", strokeColor: "#880000", isFilled: true, fillColor: "#880000" }), jsx("port", { name: "pin2", pinNumber: 2, aliases: ["C2"], direction: "down", schX: 0.2, schY: -0.4, schStemLength: 0.3 }), jsx("schematicpath", { svgPath: "M -0.32 0.1 L -0.2 -0.1 L -0.06 0.1 Z", strokeColor: "#880000", isFilled: true, fillColor: "#880000" }), jsx("schematicpath", { points: [{ "x": -0.04, "y": -0.06 }, { "x": -0.04, "y": -0.06 }, { "x": -0.04, "y": -0.1 }, { "x": -0.34, "y": -0.1 }, { "x": -0.34, "y": -0.1 }, { "x": -0.34, "y": -0.1 }], strokeColor: "#880000" }), jsx("port", { name: "pin1", pinNumber: 1, aliases: ["C1"], direction: "down", schX: -0.2, schY: -0.4, schStemLength: 0.3 }), jsx("port", { name: "pin3", pinNumber: 3, aliases: ["A"], direction: "up", schX: 0, schY: 0.6, schStemLength: 0.3 }), jsx("schematicpath", { points: [{ "x": 0.36, "y": -0.06 }, { "x": 0.36, "y": -0.06 }, { "x": 0.36, "y": -0.1 }, { "x": 0.06, "y": -0.1 }, { "x": 0.06, "y": -0.1 }, { "x": 0.06, "y": -0.1 }], strokeColor: "#880000" })] }), supplierPartNumbers: {
            "jlcpcb": [
                "C477999"
            ]
        }, manufacturerPartNumber: "PESD24VS2UT,215", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "0.999998mm", pcbY: "-0.94996mm", width: "0.999998mm", height: "0.6500114mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "0.999998mm", pcbY: "0.94996mm", width: "0.999998mm", height: "0.6500114mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "-0.999998mm", pcbY: "0mm", width: "0.999998mm", height: "0.6500114mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.726211400000011, "y": 1.5262098000000606 }, { "x": -0.726211400000011, "y": 1.5262098000000606 }, { "x": -0.726211400000011, "y": 0.49458879999997407 }] }), jsx("silkscreenpath", { route: [{ "x": 0.726211400000011, "y": -1.5262097999999469 }, { "x": -0.726211400000011, "y": -1.5262097999999469 }, { "x": -0.726211400000011, "y": -0.49458879999997407 }] }), jsx("silkscreenpath", { route: [{ "x": 0.726211400000011, "y": 0.45539659999997184 }, { "x": 0.726211400000011, "y": -0.45539659999985815 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0254mm", pcbY: "2.524mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.7499969999998939, "y": 1.6999844000000621 }, { "x": 1.7499969999998939, "y": 1.6999844000000621 }, { "x": 1.7499969999998939, "y": -1.7000097999999753 }, { "x": -1.7499969999998939, "y": -1.7000097999999753 }, { "x": -1.7499969999998939, "y": 1.6999844000000621 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C477999.obj?uuid=d777607a152f4f3aac9bb0d0c14ed6fd",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C477999.step?uuid=d777607a152f4f3aac9bb0d0c14ed6fd",
            pcbRotationOffset: 180,
            modelOriginPosition: { x: 0.000012700000070253736, y: -12699999956566899e-21, z: 0.050795 },
        }, ...props }));
};

const A_0603WAF4701T5E = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsx("resistor", { name: name, resistance: "4.7kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C23162"
            ]
        }, manufacturerPartNumber: "0603WAF4701T5E", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.42621199999996406, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": 0.6606031999999686 }, { "x": 0.42621199999996406, "y": 0.6606031999999686 }] }), jsx("silkscreenpath", { route: [{ "x": -0.42621200000007775, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": 0.6606031999999686 }, { "x": -0.42621200000007775, "y": 0.6606031999999686 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.4066016999998965, "y": 0.6820032000000538 }, { "x": 1.4066016999997828, "y": 0.6820032000000538 }, { "x": 1.4066016999997828, "y": -0.6820032000000538 }, { "x": -1.4066016999998965, "y": -0.6820032000000538 }, { "x": -1.4066016999998965, "y": 0.6820032000000538 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C23162.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C23162.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

function UsbInput() {
    return (jsxs(Fragment, { children: [jsx(USB4105_GF_A_120, { name: "J1", pcbRotation: productPlacement.J1.ccwRotationDegrees, schSheetName: "usb", schX: -11, schY: 8, noConnect: ["pin10", "pin11", "pin12", "pin13", "pin14", "pin16"], connections: {
                    pin1: "net.GND",
                    pin2: "net.GND",
                    pin3: "net.GND",
                    pin4: "net.GND",
                    pin5: "net.GND",
                    pin6: "net.VBUS",
                    pin7: "net.GND",
                    pin8: "net.VBUS",
                    pin9: "net.CC2",
                    pin15: "net.CC1",
                } }), jsxs("breakout", { name: "pd_pin_escape", fanoutBoundaryPadding: "2mm", autorouterVersion: "beta_pipeline9", children: [jsx(STUSB4500QTR, { name: "U1", pcbRotation: productPlacement.U1.ccwRotationDegrees, schSheetName: "usb", schX: -5.5, schY: 8, noConnect: [
                            "pin3",
                            "pin9",
                            "pin11",
                            "pin14",
                            "pin15",
                            "pin17",
                            "pin20",
                        ], connections: {
                            pin1: "net.CC1",
                            pin2: "net.CC1",
                            pin4: "net.CC2",
                            pin5: "net.CC2",
                            pin6: "net.PD_RESET",
                            pin7: "net.SCL",
                            pin8: "net.SDA",
                            pin10: "net.GND",
                            pin12: "net.GND",
                            pin13: "net.GND",
                            pin16: "net.PD_ENABLE_N",
                            pin18: "net.VBUS_SENSE",
                            pin19: "net.PD_ALERT_N",
                            pin21: "net.VREG_1V2",
                            pin22: "net.GND",
                            pin23: "net.VREG_2V7",
                            pin24: "net.VDD5",
                            pin25: "net.GND",
                        } }), jsx(PinBreakoutPoints, { reference: "U1" })] }), jsx(TPS7A1650DGNR, { name: "U2", pcbRotation: productPlacement.U2.ccwRotationDegrees, schSheetName: "usb", schX: 0.0, schY: 8, noConnect: ["pin2", "pin3", "pin6", "pin7"], connections: {
                    pin1: "net.VDD5",
                    pin4: "net.GND",
                    pin5: "net.VBUS",
                    pin8: "net.VBUS",
                    pin9: "net.GND",
                } }), jsx(TPS7A1633DGNR, { name: "U3", pcbRotation: productPlacement.U3.ccwRotationDegrees, schSheetName: "usb", schX: 5.5, schY: 8, noConnect: ["pin2", "pin3", "pin6", "pin7"], connections: {
                    pin1: "net.VCC3V3",
                    pin4: "net.GND",
                    pin5: "net.VBUS",
                    pin8: "net.VBUS",
                    pin9: "net.GND",
                } }), jsx(SMBJ22A, { name: "D1", pcbRotation: productPlacement.D1.ccwRotationDegrees, schSheetName: "usb", schX: 11.0, schY: 8, schRotation: -90, connections: {
                    K: "net.VBUS",
                    A: "net.GND",
                } }), jsx("schematictext", { text: "D1 \u00B7 SMBJ22A", schX: 11.8, schY: 7.35, fontSize: 0.15, anchor: "bottom_left" }), jsx(PESD24VS2UT_215, { name: "D2", pcbRotation: productPlacement.D2.ccwRotationDegrees, schSheetName: "usb", schX: -11, schY: 4, connections: {
                    pin1: "net.CC1",
                    pin2: "net.CC2",
                    pin3: "net.GND",
                } }), jsx("schematictext", { text: "D2 \u00B7 PESD24VS2UT", schX: -10.2, schY: 3.35, fontSize: 0.15, anchor: "bottom_left" }), jsx(A_0603WAF1001T5E, { name: "R1", pcbRotation: productPlacement.R1.ccwRotationDegrees, schSheetName: "usb", schX: -5.5, schY: 4, schRotation: -90, connections: {
                    pin1: "net.VBUS",
                    pin2: "net.VBUS_SENSE",
                } }), jsx(BZT52C24, { name: "D3", pcbRotation: productPlacement.D3.ccwRotationDegrees, schSheetName: "usb", schX: 0.0, schY: 4, schRotation: 90.0, connections: {
                    cathode: "net.VBUS_SENSE",
                    anode: "net.GND",
                } }), jsx(GRM21BR71H105KA12L, { name: "C1", pcbRotation: productPlacement.C1.ccwRotationDegrees, schSheetName: "usb", schX: -9, schY: 0, schRotation: -90, connections: {
                    pin1: "net.VBUS",
                    pin2: "net.GND",
                } }), jsx(CC0603KRX7R9BB104, { name: "C2", pcbRotation: productPlacement.C2.ccwRotationDegrees, schSheetName: "usb", schX: -7, schY: 0, schRotation: -90, connections: {
                    pin1: "net.VBUS",
                    pin2: "net.GND",
                } }), jsx(CC0603KRX7R9BB104, { name: "C3", pcbRotation: productPlacement.C3.ccwRotationDegrees, schSheetName: "usb", schX: -5, schY: 0, schRotation: -90, connections: {
                    pin1: "net.VBUS",
                    pin2: "net.GND",
                } }), jsx(CL10A475KO8NNNC, { name: "C4", pcbRotation: productPlacement.C4.ccwRotationDegrees, schSheetName: "usb", schX: -2, schY: 0, schRotation: -90, connections: {
                    pin1: "net.VDD5",
                    pin2: "net.GND",
                } }), jsx(CL10A475KO8NNNC, { name: "C5", pcbRotation: productPlacement.C5.ccwRotationDegrees, schSheetName: "usb", schX: 3, schY: 0, schRotation: -90, connections: {
                    pin1: "net.VCC3V3",
                    pin2: "net.GND",
                } }), jsx(GRM21BR71H105KA12L, { name: "C6", pcbRotation: productPlacement.C6.ccwRotationDegrees, schSheetName: "usb", schX: 5.5, schY: 0, schRotation: -90, connections: {
                    pin1: "net.VREG_1V2",
                    pin2: "net.GND",
                } }), jsx(GRM21BR71H105KA12L, { name: "C7", pcbRotation: productPlacement.C7.ccwRotationDegrees, schSheetName: "usb", schX: 11.0, schY: 0, schRotation: -90, connections: {
                    pin1: "net.VREG_2V7",
                    pin2: "net.GND",
                } }), jsx(CC0603KRX7R9BB104, { name: "C8", pcbRotation: productPlacement.C8.ccwRotationDegrees, schSheetName: "usb", schX: 0, schY: 0, schRotation: -90, connections: {
                    pin1: "net.VDD5",
                    pin2: "net.GND",
                } }), jsx(A_0603WAF4701T5E, { name: "R2", pcbRotation: productPlacement.R2.ccwRotationDegrees, schSheetName: "usb", schX: -5.5, schY: -4, schRotation: -90, connections: {
                    pin1: "net.VCC3V3",
                    pin2: "net.SCL",
                } }), jsx(A_0603WAF4701T5E, { name: "R3", pcbRotation: productPlacement.R3.ccwRotationDegrees, schSheetName: "usb", schX: 0.0, schY: -4, schRotation: -90, connections: {
                    pin1: "net.VCC3V3",
                    pin2: "net.SDA",
                } }), jsx(A_0603WAF1003T5E, { name: "R4", pcbRotation: productPlacement.R4.ccwRotationDegrees, schSheetName: "usb", schX: 5.5, schY: -4, schRotation: -90, connections: {
                    pin1: "net.PD_RESET",
                    pin2: "net.GND",
                } }), jsx(A_5015, { name: "TP5", pinAttributes: {
                    pin1: { isPassive: true, includeInBoardPinout: true },
                }, pcbRotation: productPlacement.TP5.ccwRotationDegrees, schSheetName: "usb", schX: -11, schY: -8, connections: { pin1: "net.VCC3V3" } }), jsx(A_5015, { name: "TP6", pinAttributes: {
                    pin1: { isPassive: true, includeInBoardPinout: true },
                }, pcbRotation: productPlacement.TP6.ccwRotationDegrees, schSheetName: "usb", schX: -5.5, schY: -8, connections: { pin1: "net.VBUS" } })] }));
}

const pinLabels$e = {
    pin1: ["IN1"],
    pin2: ["IN2"],
    pin3: ["IN3"],
    pin4: ["N_C1"],
    pin5: ["N_C2"],
    pin6: ["P_IN"],
    pin7: ["UVLO"],
    pin8: ["OVP"],
    pin9: ["GND"],
    pin10: ["dVdT"],
    pin11: ["ILIM"],
    pin12: ["MODE"],
    pin13: ["N_SHDN"],
    pin14: ["IMON"],
    pin15: ["N_FLT"],
    pin16: ["PGOOD"],
    pin17: ["N_C3"],
    pin18: ["OUT3"],
    pin19: ["OUT2"],
    pin20: ["OUT1"],
    pin21: ["EP"]
};
const pinAttributes$4 = {
    pin9: { requiresGround: true }
};
const TPS16630PWPR = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$e, pinAttributes: pinAttributes$4, supplierPartNumbers: {
            "jlcpcb": [
                "C1849461"
            ]
        }, manufacturerPartNumber: "TPS16630PWPR", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-2.873248mm", pcbY: "2.925064mm", width: "1.747012mm", height: "0.3430016mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "-2.873248mm", pcbY: "2.275078mm", width: "1.747012mm", height: "0.3430016mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "-2.873248mm", pcbY: "1.625092mm", width: "1.747012mm", height: "0.3430016mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "-2.873248mm", pcbY: "0.975106mm", width: "1.747012mm", height: "0.3430016mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "-2.873248mm", pcbY: "0.324866mm", width: "1.747012mm", height: "0.3430016mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "-2.873248mm", pcbY: "-0.32512mm", width: "1.747012mm", height: "0.3430016mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin7"], pcbX: "-2.873248mm", pcbY: "-0.975106mm", width: "1.747012mm", height: "0.3430016mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin8"], pcbX: "-2.873248mm", pcbY: "-1.625092mm", width: "1.747012mm", height: "0.3430016mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin9"], pcbX: "-2.873248mm", pcbY: "-2.275078mm", width: "1.747012mm", height: "0.3430016mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin10"], pcbX: "-2.873248mm", pcbY: "-2.925064mm", width: "1.747012mm", height: "0.3430016mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin20"], pcbX: "2.873248mm", pcbY: "2.925064mm", width: "1.747012mm", height: "0.3430016mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin19"], pcbX: "2.873248mm", pcbY: "2.275078mm", width: "1.747012mm", height: "0.3430016mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin18"], pcbX: "2.873248mm", pcbY: "1.625092mm", width: "1.747012mm", height: "0.3430016mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin17"], pcbX: "2.873248mm", pcbY: "0.975106mm", width: "1.747012mm", height: "0.3430016mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin16"], pcbX: "2.873248mm", pcbY: "0.324866mm", width: "1.747012mm", height: "0.3430016mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin15"], pcbX: "2.873248mm", pcbY: "-0.32512mm", width: "1.747012mm", height: "0.3430016mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin14"], pcbX: "2.873248mm", pcbY: "-0.975106mm", width: "1.747012mm", height: "0.3430016mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin13"], pcbX: "2.873248mm", pcbY: "-1.625092mm", width: "1.747012mm", height: "0.3430016mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin12"], pcbX: "2.873248mm", pcbY: "-2.275078mm", width: "1.747012mm", height: "0.3430016mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin11"], pcbX: "2.873248mm", pcbY: "-2.925064mm", width: "1.747012mm", height: "0.3430016mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin21"], pcbX: "0mm", pcbY: "0mm", width: "2.5850088mm", height: "2.5850088mm", shape: "rect" }), jsx("via", { pcbX: "0.599948mm", pcbY: "-0.599948mm", outerDiameter: "0.6096mm", holeDiameter: "0.3048mm", layers: ["top", "bottom"] }), jsx("via", { pcbX: "0.599948mm", pcbY: "0.599948mm", outerDiameter: "0.6096mm", holeDiameter: "0.3048mm", layers: ["top", "bottom"] }), jsx("via", { pcbX: "-0.599948mm", pcbY: "0.599948mm", outerDiameter: "0.6096mm", holeDiameter: "0.3048mm", layers: ["top", "bottom"] }), jsx("via", { pcbX: "-0.599948mm", pcbY: "-0.599948mm", outerDiameter: "0.6096mm", holeDiameter: "0.3048mm", layers: ["top", "bottom"] }), jsx("silkscreenpath", { route: [{ "x": -1.7714214000000084, "y": 3.3261808000000883 }, { "x": 1.7714214000000084, "y": 3.3261808000000883 }, { "x": 1.7714214000000084, "y": -3.3261808000000883 }, { "x": -1.7714214000000084, "y": -3.3261808000000883 }, { "x": -1.7714214000000084, "y": 3.3261808000000883 }] }), jsx("silkscreencircle", { pcbX: "-2.873248mm", pcbY: "3.548888mm", radius: "0.150114mm" }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0979678mm", pcbY: "4.6966398mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -3.99675400000001, "y": 3.499980800000003 }, { "x": 3.99675400000001, "y": 3.499980800000003 }, { "x": 3.99675400000001, "y": -3.50000620000003 }, { "x": -3.99675400000001, "y": -3.50000620000003 }, { "x": -3.99675400000001, "y": 3.499980800000003 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1849461.obj?uuid=8e6015adf3634b5f88b85fbae678277b",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1849461.step?uuid=8e6015adf3634b5f88b85fbae678277b",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: -12700000070253736e-21, y: 0.000012699999956566899, z: -0.099083 },
        }, ...props }));
};

const CL10B223KB8NNNC = (props) => {
    const { name = "C1", ...restProps } = props;
    return (jsx("capacitor", { name: name, capacitance: "22nF", supplierPartNumbers: {
            "jlcpcb": [
                "C21122"
            ]
        }, manufacturerPartNumber: "CL10B223KB8NNNC", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.700024mm", pcbY: "0mm", width: "0.7999984mm", height: "0.8999982mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.700024mm", pcbY: "0mm", width: "0.7999984mm", height: "0.8999982mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -0.2801873999999316, "y": -0.7095743999998376 }, { "x": -1.080160400000068, "y": -0.7095743999998376 }] }), jsx("silkscreenpath", { route: [{ "x": 0.28026359999989836, "y": -0.7100315999998656 }, { "x": 1.080236599999921, "y": -0.7100315999998656 }] }), jsx("silkscreenpath", { route: [{ "x": -0.2801873999999316, "y": 0.7101078000000598 }, { "x": -1.080160400000068, "y": 0.7101078000000598 }] }), jsx("silkscreenpath", { route: [{ "x": 0.28026359999989836, "y": 0.7096252000001186 }, { "x": 1.080236599999921, "y": 0.7096252000001186 }] }), jsx("silkscreenpath", { route: [{ "x": -1.3899134000000686, "y": -0.3997452000000976 }, { "x": -1.3899134000000686, "y": 0.40030400000000554 }] }), jsx("silkscreenpath", { route: [{ "x": 1.3900149999998348, "y": 0.39977060000001075 }, { "x": 1.3900149999998348, "y": -0.4002531999999519 }] }), jsx("silkscreenpath", { route: [{ "x": 1.080185799999981, "y": 0.7096252000001186 }, { "x": 1.299277109074751, "y": 0.6188693482574763 }, { "x": 1.3900149999998348, "y": 0.39977060000001075 }] }), jsx("silkscreenpath", { route: [{ "x": 1.3900149999998348, "y": -0.40020240000012564 }, { "x": 1.2992681283295724, "y": -0.6192847283296032 }, { "x": 1.080185799999981, "y": -0.7100315999998656 }] }), jsx("silkscreenpath", { route: [{ "x": -1.0801096000000143, "y": -0.7095743999998376 }, { "x": -1.2991755087698493, "y": -0.6188185485625581 }, { "x": -1.3899134000000686, "y": -0.3997452000000976 }] }), jsx("silkscreenpath", { route: [{ "x": -1.3899134000000686, "y": 0.40022780000003877 }, { "x": -1.2991934705021322, "y": 0.6193339880503572 }, { "x": -1.0801096000000143, "y": 0.7101078000000598 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.7112mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.647000000000162, "y": 0.9612000000000762 }, { "x": 1.6216000000000577, "y": 0.9612000000000762 }, { "x": 1.6216000000000577, "y": -0.9611999999999625 }, { "x": -1.647000000000162, "y": -0.9611999999999625 }, { "x": -1.647000000000162, "y": 0.9612000000000762 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C21122.obj?uuid=ac9b32e974bc448eab36b1293f859dcb",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C21122.step?uuid=ac9b32e974bc448eab36b1293f859dcb",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0, z: -0.4 },
        }, ...restProps }));
};

const pinLabels$d = {
    pin1: ["anode", "pos"],
    pin2: ["cathode", "neg"]
};
const SS54 = (props) => {
    const { name = "D1", ...restProps } = props;
    return (jsx("diode", { name: name, pinLabels: pinLabels$d, supplierPartNumbers: {
            "jlcpcb": [
                "C22452"
            ]
        }, manufacturerPartNumber: "SS54", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1", "anode", "pos"], pcbX: "2.503678mm", pcbY: "0mm", width: "2.0625054mm", height: "1.5390114mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2", "cathode", "neg"], pcbX: "-2.503678mm", pcbY: "0mm", width: "2.0625054mm", height: "1.5390114mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -2.646197400000119, "y": 1.3562076000000616 }, { "x": 2.646197399999892, "y": 1.3562076000000616 }] }), jsx("silkscreenpath", { route: [{ "x": -2.646197400000119, "y": -1.3562075999999479 }, { "x": 2.646197399999892, "y": -1.3562075999999479 }] }), jsx("silkscreenpath", { route: [{ "x": -1.2692888000000266, "y": 1.3562076000000616 }, { "x": -1.2692888000000266, "y": -1.3562075999999479 }] }), jsx("silkscreenpath", { route: [{ "x": 2.646197399999892, "y": 1.3562076000000616 }, { "x": 2.646197399999892, "y": 0.9726930000000493 }] }), jsx("silkscreenpath", { route: [{ "x": 2.646197399999892, "y": -1.3562075999999479 }, { "x": 2.646197399999892, "y": -0.9726929999999356 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0mm", pcbY: "2.4224mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("fabricationnotepath", { route: [{ "x": -2.377998800000114, "y": -0.09601200000008703 }, { "x": -2.377998800000114, "y": 0.09601200000008703 }, { "x": -1.6100043999999798, "y": 0.09601200000008703 }, { "x": -1.6100043999999798, "y": -0.09601200000008703 }, { "x": -2.377998800000114, "y": -0.09601200000008703 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": 2.3779988000000003, "y": -0.09601200000008703 }, { "x": 2.3779988000000003, "y": 0.09601200000008703 }, { "x": 1.6100043999999798, "y": 0.09601200000008703 }, { "x": 1.6100043999999798, "y": -0.09601200000008703 }, { "x": 2.3779988000000003, "y": -0.09601200000008703 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": 2.0899881999999934, "y": -0.6400037999999313 }, { "x": 2.0899881999999934, "y": 0.640003800000045 }, { "x": 1.8979895999999599, "y": 0.640003800000045 }, { "x": 1.8979895999999599, "y": -0.6400037999999313 }, { "x": 2.0899881999999934, "y": -0.6400037999999313 }], strokeWidth: "0.254mm" }), jsx("courtyardoutline", { outline: [{ "x": -3.7806000000000495, "y": 1.672399999999925 }, { "x": 3.780599999999936, "y": 1.672399999999925 }, { "x": 3.780599999999936, "y": -1.6978000000000293 }, { "x": -3.7806000000000495, "y": -1.6978000000000293 }, { "x": -3.7806000000000495, "y": 1.672399999999925 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22452.obj?uuid=16f5f0e72b3e4f43a77ecac0b819c7f8",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22452.step?uuid=16f5f0e72b3e4f43a77ecac0b819c7f8",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0, z: -0.1 },
        }, ...restProps }));
};

const A_0603WAF1623T5E = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsx("resistor", { name: name, resistance: "162kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C22815"
            ]
        }, manufacturerPartNumber: "0603WAF1623T5E", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.42621199999996406, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": 0.6606031999999686 }, { "x": 0.42621199999996406, "y": 0.6606031999999686 }] }), jsx("silkscreenpath", { route: [{ "x": -0.42621200000007775, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": 0.6606031999999686 }, { "x": -0.42621200000007775, "y": 0.6606031999999686 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.647000000000162, "y": 0.9103999999999814 }, { "x": 1.6216000000000577, "y": 0.9103999999999814 }, { "x": 1.6216000000000577, "y": -0.9103999999998678 }, { "x": -1.647000000000162, "y": -0.9103999999998678 }, { "x": -1.647000000000162, "y": 0.9103999999999814 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22815.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22815.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

const A_0603WAF6981T5E = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsx("resistor", { name: name, resistance: "6.98kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C23215"
            ]
        }, manufacturerPartNumber: "0603WAF6981T5E", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.42621199999996406, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": 0.6606031999999686 }, { "x": 0.42621199999996406, "y": 0.6606031999999686 }] }), jsx("silkscreenpath", { route: [{ "x": -0.42621200000007775, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": 0.6606031999999686 }, { "x": -0.42621200000007775, "y": 0.6606031999999686 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.4066016999998965, "y": 0.6820032000000538 }, { "x": 1.4066016999997828, "y": 0.6820032000000538 }, { "x": 1.4066016999997828, "y": -0.6820032000000538 }, { "x": -1.4066016999998965, "y": -0.6820032000000538 }, { "x": -1.4066016999998965, "y": 0.6820032000000538 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C23215.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C23215.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

const A_0603WAF2002T5E = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsx("resistor", { name: name, resistance: "20kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C4184"
            ]
        }, manufacturerPartNumber: "0603WAF2002T5E", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.42621199999996406, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": 0.6606031999999686 }, { "x": 0.42621199999996406, "y": 0.6606031999999686 }] }), jsx("silkscreenpath", { route: [{ "x": -0.42621200000007775, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": 0.6606031999999686 }, { "x": -0.42621200000007775, "y": 0.6606031999999686 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.647000000000162, "y": 0.9103999999999814 }, { "x": 1.6216000000000577, "y": 0.9103999999999814 }, { "x": 1.6216000000000577, "y": -0.9103999999998678 }, { "x": -1.647000000000162, "y": -0.9103999999998678 }, { "x": -1.647000000000162, "y": 0.9103999999999814 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C4184.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C4184.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

function InputProtection() {
    return (jsxs(Fragment, { children: [jsx(SS54, { name: "D4", pcbRotation: productPlacement.D4.ccwRotationDegrees, schSheetName: "input", schX: -11, schY: 8, connections: {
                    anode: "net.VBUS",
                    cathode: "net.EFUSE_IN",
                } }), jsx(TPS16630PWPR, { name: "U4", pcbRotation: productPlacement.U4.ccwRotationDegrees, schSheetName: "input", schX: -5.5, schY: 8, noConnect: ["pin4", "pin5", "pin12", "pin14", "pin15", "pin17"], connections: {
                    pin1: "net.EFUSE_IN",
                    pin2: "net.EFUSE_IN",
                    pin3: "net.EFUSE_IN",
                    pin6: "net.EFUSE_IN",
                    pin7: "net.INPUT_UV",
                    pin8: "net.INPUT_OV",
                    pin9: "net.GND",
                    pin10: "net.SLEW",
                    pin11: "net.INPUT_ILIM",
                    pin13: "net.POWER_ENABLE",
                    pin16: "net.INPUT_PG",
                    pin18: "net.VIN_BUCK",
                    pin19: "net.VIN_BUCK",
                    pin20: "net.VIN_BUCK",
                    pin21: "net.GND",
                } }), jsx(MMBT3904, { name: "Q1", pcbRotation: productPlacement.Q1.ccwRotationDegrees, schSheetName: "input", schX: 0.0, schY: 8, connections: {
                    B: "net.PD_INHIBIT",
                    E: "net.GND",
                    C: "net.POWER_ENABLE",
                } }), jsx("schematictext", { text: "Q1 \u00B7 MMBT3904", schX: 0.8, schY: 7.35, fontSize: 0.15, anchor: "bottom_left" }), jsx(A_0603WAF4701T5E, { name: "R5", pcbRotation: productPlacement.R5.ccwRotationDegrees, schSheetName: "input", schX: 5.5, schY: 8, schRotation: -90, connections: {
                    pin1: "net.VCC3V3",
                    pin2: "net.PD_ENABLE_N",
                } }), jsx(A_0603WAF2002T5E, { name: "R6", pcbRotation: productPlacement.R6.ccwRotationDegrees, schSheetName: "input", schX: 11.0, schY: 8, connections: {
                    pin1: "net.PD_ENABLE_N",
                    pin2: "net.PD_INHIBIT",
                } }), jsx(CRCW060310K0FKEA, { name: "R7", pcbRotation: productPlacement.R7.ccwRotationDegrees, schSheetName: "input", schX: -11, schY: 4, schRotation: -90, connections: {
                    pin1: "net.HOST_ALLOW",
                    pin2: "net.POWER_ENABLE",
                } }), jsx(A_0603WAF1003T5E, { name: "R8", pcbRotation: productPlacement.R8.ccwRotationDegrees, schSheetName: "input", schX: -5.5, schY: 4, schRotation: -90, connections: {
                    pin1: "net.EFUSE_IN",
                    pin2: "net.INPUT_UV",
                } }), jsx(CRCW060310K0FKEA, { name: "R9", pcbRotation: productPlacement.R9.ccwRotationDegrees, schSheetName: "input", schX: 0.0, schY: 4, schRotation: -90, connections: {
                    pin1: "net.INPUT_UV",
                    pin2: "net.GND",
                } }), jsx(A_0603WAF1623T5E, { name: "R10", pcbRotation: productPlacement.R10.ccwRotationDegrees, schSheetName: "input", schX: 5.5, schY: 4, schRotation: -90, connections: {
                    pin1: "net.EFUSE_IN",
                    pin2: "net.INPUT_OV_TOP",
                } }), jsx(A_0603WAF2002T5E, { name: "R11", pcbRotation: productPlacement.R11.ccwRotationDegrees, schSheetName: "input", schX: 11.0, schY: 4, connections: {
                    pin1: "net.INPUT_OV_TOP",
                    pin2: "net.INPUT_OV",
                } }), jsx(CRCW060310K0FKEA, { name: "R12", pcbRotation: productPlacement.R12.ccwRotationDegrees, schSheetName: "input", schX: -11, schY: 0, schRotation: -90, connections: {
                    pin1: "net.INPUT_OV",
                    pin2: "net.GND",
                } }), jsx(A_0603WAF6981T5E, { name: "R13", pcbRotation: productPlacement.R13.ccwRotationDegrees, schSheetName: "input", schX: -5.5, schY: 0, schRotation: -90, connections: {
                    pin1: "net.INPUT_ILIM",
                    pin2: "net.GND",
                } }), jsx(CRCW060310K0FKEA, { name: "R16", pcbRotation: productPlacement.R16.ccwRotationDegrees, schSheetName: "input", schX: 0.0, schY: 0, schRotation: -90, connections: {
                    pin1: "net.VCC3V3",
                    pin2: "net.INPUT_PG",
                } }), jsx(CL10B223KB8NNNC, { name: "C9", pcbRotation: productPlacement.C9.ccwRotationDegrees, schSheetName: "input", schX: 5.5, schY: 0, schRotation: -90, connections: {
                    pin1: "net.SLEW",
                    pin2: "net.GND",
                } }), jsx(CC0603KRX7R9BB104, { name: "C10", pcbRotation: productPlacement.C10.ccwRotationDegrees, schSheetName: "input", schX: 11.0, schY: 0, schRotation: -90, connections: {
                    pin1: "net.EFUSE_IN",
                    pin2: "net.GND",
                } }), jsx(GRM21BR71H105KA12L, { name: "C11", pcbRotation: productPlacement.C11.ccwRotationDegrees, schSheetName: "input", schX: -11, schY: -4, schRotation: -90, connections: {
                    pin1: "net.VIN_BUCK",
                    pin2: "net.GND",
                } })] }));
}

const ESR18EZPF1001 = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsx("resistor", { name: name, resistance: "1kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C2074262"
            ]
        }, manufacturerPartNumber: "ESR18EZPF1001", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "1.478788mm", pcbY: "0mm", width: "1.207516mm", height: "1.7010126mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.478788mm", pcbY: "0mm", width: "1.207516mm", height: "1.7010126mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.9512045999999827, "y": -1.0790935999999647 }, { "x": 2.311120599999981, "y": -1.0790935999999647 }, { "x": 2.311120599999981, "y": 1.0790936000000784 }, { "x": 0.9512045999999827, "y": 1.0790936000000784 }] }), jsx("silkscreenpath", { route: [{ "x": -0.9512046000000964, "y": -1.0790935999999647 }, { "x": -2.311120600000095, "y": -1.0790935999999647 }, { "x": -2.311120600000095, "y": 1.0790936000000784 }, { "x": -0.9512046000000964, "y": 1.0790936000000784 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0mm", pcbY: "2.0668mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.332546000000093, "y": 1.1005063000000064 }, { "x": 2.3325459999999794, "y": 1.1005063000000064 }, { "x": 2.3325459999999794, "y": -1.1005063000000064 }, { "x": -2.332546000000093, "y": -1.1005063000000064 }, { "x": -2.332546000000093, "y": 1.1005063000000064 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2074262.obj?uuid=da5f078ee43c429f91838a456f48f0a8",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2074262.step?uuid=da5f078ee43c429f91838a456f48f0a8",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0, z: 0 },
        }, ...restProps }));
};

const A_0603WAF1202T5E = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsx("resistor", { name: name, resistance: "12kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C22790"
            ]
        }, manufacturerPartNumber: "0603WAF1202T5E", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.42621199999996406, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": 0.6606031999999686 }, { "x": 0.42621199999996406, "y": 0.6606031999999686 }] }), jsx("silkscreenpath", { route: [{ "x": -0.42621200000007775, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": 0.6606031999999686 }, { "x": -0.42621200000007775, "y": 0.6606031999999686 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.647000000000162, "y": 0.9103999999999814 }, { "x": 1.6216000000000577, "y": 0.9103999999999814 }, { "x": 1.6216000000000577, "y": -0.9103999999998678 }, { "x": -1.647000000000162, "y": -0.9103999999998678 }, { "x": -1.647000000000162, "y": 0.9103999999999814 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22790.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22790.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

const A_0603WAF2102T5E = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsx("resistor", { name: name, resistance: "21kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C22956"
            ]
        }, manufacturerPartNumber: "0603WAF2102T5E", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.42621199999996406, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": 0.6606031999999686 }, { "x": 0.42621199999996406, "y": 0.6606031999999686 }] }), jsx("silkscreenpath", { route: [{ "x": -0.42621200000007775, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": 0.6606031999999686 }, { "x": -0.42621200000007775, "y": 0.6606031999999686 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.647000000000162, "y": 0.9103999999999814 }, { "x": 1.6216000000000577, "y": 0.9103999999999814 }, { "x": 1.6216000000000577, "y": -0.9103999999998678 }, { "x": -1.647000000000162, "y": -0.9103999999998678 }, { "x": -1.647000000000162, "y": 0.9103999999999814 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22956.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22956.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

const A_0603WAF2702T5E = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsx("resistor", { name: name, resistance: "27kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C22967"
            ]
        }, manufacturerPartNumber: "0603WAF2702T5E", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.42621199999996406, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": 0.6606031999999686 }, { "x": 0.42621199999996406, "y": 0.6606031999999686 }] }), jsx("silkscreenpath", { route: [{ "x": -0.42621200000007775, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": 0.6606031999999686 }, { "x": -0.42621200000007775, "y": 0.6606031999999686 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.647000000000162, "y": 0.9103999999999814 }, { "x": 1.6216000000000577, "y": 0.9103999999999814 }, { "x": 1.6216000000000577, "y": -0.9103999999998678 }, { "x": -1.647000000000162, "y": -0.9103999999998678 }, { "x": -1.647000000000162, "y": 0.9103999999999814 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22967.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22967.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

const A_0603WAF5101T5E = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsx("resistor", { name: name, resistance: "5.1kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C23186"
            ]
        }, manufacturerPartNumber: "0603WAF5101T5E", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.42621199999996406, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": 0.6606031999999686 }, { "x": 0.42621199999996406, "y": 0.6606031999999686 }] }), jsx("silkscreenpath", { route: [{ "x": -0.42621200000007775, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": 0.6606031999999686 }, { "x": -0.42621200000007775, "y": 0.6606031999999686 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.647000000000162, "y": 0.9103999999999814 }, { "x": 1.6216000000000577, "y": 0.9103999999999814 }, { "x": 1.6216000000000577, "y": -0.9103999999998678 }, { "x": -1.647000000000162, "y": -0.9103999999998678 }, { "x": -1.647000000000162, "y": 0.9103999999999814 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C23186.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C23186.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

const MHCC10040_8R2M_R7 = (props) => {
    return (jsx("inductor", { inductance: "8.2uH", supplierPartNumbers: {
            "jlcpcb": [
                "C285788"
            ]
        }, manufacturerPartNumber: "MHCC10040-8R2M-R7", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-4.799965mm", pcbY: "0mm", width: "3.499993mm", height: "3.999992mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "4.799965mm", pcbY: "0mm", width: "3.499993mm", height: "3.999992mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 5.800013799999874, "y": -5.049977199999944 }, { "x": -5.799962999999934, "y": -5.050002599999971 }] }), jsx("silkscreenpath", { route: [{ "x": -5.800217000000089, "y": 5.049977200000058 }, { "x": 5.799962999999934, "y": 5.050002599999971 }] }), jsx("silkscreenpath", { route: [{ "x": -5.799962999999934, "y": -5.050002599999971 }, { "x": -5.799962999999934, "y": -2.2311359999998785 }] }), jsx("silkscreenpath", { route: [{ "x": -5.799962999999934, "y": 2.2311359999999922 }, { "x": -5.799962999999934, "y": 5.049977200000058 }] }), jsx("silkscreenpath", { route: [{ "x": 5.799962999999934, "y": 5.050002599999971 }, { "x": 5.799962999999934, "y": 2.2311359999999922 }] }), jsx("silkscreenpath", { route: [{ "x": 5.799962999999934, "y": -2.2311359999998785 }, { "x": 5.799962999999934, "y": -5.049977199999944 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.000127mm", pcbY: "6.0546mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -6.803327000000081, "y": 5.304600000000164 }, { "x": 6.803072999999813, "y": 5.304600000000164 }, { "x": 6.803072999999813, "y": -5.329999999999927 }, { "x": -6.803327000000081, "y": -5.329999999999927 }, { "x": -6.803327000000081, "y": 5.304600000000164 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C285788.obj?uuid=09b06ecf0e944d06b4c387b4a681df1b",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C285788.step?uuid=09b06ecf0e944d06b4c387b4a681df1b",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0.00048729999992991324, z: 0 },
        }, ...props }));
};

const A_35SVPK330M = (props) => {
    const { name = "C1", ...restProps } = props;
    return (jsx("capacitor", { name: name, capacitance: "330uF", polarized: true, supplierPartNumbers: {
            "jlcpcb": [
                "C178373"
            ]
        }, manufacturerPartNumber: "35SVPK330M", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-4.499864mm", pcbY: "0mm", width: "4.499991mm", height: "1.6500094mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "4.499864mm", pcbY: "0mm", width: "4.499991mm", height: "1.6500094mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 5.226227799999833, "y": 0.8524240000001555 }, { "x": 5.226227799999833, "y": 5.226227800000061 }, { "x": -3.0899861999999985, "y": 5.226227800000061 }, { "x": -5.226227799999947, "y": 3.089986200000112 }, { "x": -5.226227799999947, "y": 0.8524240000001555 }] }), jsx("silkscreenpath", { route: [{ "x": 5.226227799999833, "y": -0.8524240000000418 }, { "x": 5.226227799999833, "y": -5.226227799999947 }, { "x": -3.0899861999999985, "y": -5.226227799999947 }, { "x": -5.226227799999947, "y": -3.0899861999999985 }, { "x": -5.226227799999947, "y": -0.8524240000000418 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "6.2324mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("fabricationnotepath", { route: [{ "x": 4.841011399999957, "y": 0.1545082000000093 }, { "x": 4.841011399999957, "y": -0.15450819999989562 }, { "x": 3.6049966000000495, "y": -0.15450819999989562 }, { "x": 3.6049966000000495, "y": 0.1545082000000093 }, { "x": 4.841011399999957, "y": 0.1545082000000093 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": -4.84101140000007, "y": 0.1545082000000093 }, { "x": -4.84101140000007, "y": -0.15450819999989562 }, { "x": -3.604996600000163, "y": -0.15450819999989562 }, { "x": -3.604996600000163, "y": 0.1545082000000093 }, { "x": -4.84101140000007, "y": 0.1545082000000093 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": -4.377512200000069, "y": 1.0299953999999616 }, { "x": -4.377512200000069, "y": -1.0299953999999616 }, { "x": -4.068495799999937, "y": -1.0299953999999616 }, { "x": -4.068495799999937, "y": 1.0299953999999616 }, { "x": -4.377512200000069, "y": 1.0299953999999616 }], strokeWidth: "0.254mm" }), jsx("courtyardoutline", { outline: [{ "x": -6.999859499999843, "y": 5.400002400000062 }, { "x": 6.999859499999843, "y": 5.400002400000062 }, { "x": 6.999859499999843, "y": -5.399977000000035 }, { "x": -6.999859499999843, "y": -5.399977000000035 }, { "x": -6.999859499999843, "y": 5.400002400000062 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C178373.obj?uuid=f9399d38f4bf4dafaa6a7aeba7f82438",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C178373.step?uuid=f9399d38f4bf4dafaa6a7aeba7f82438",
            pcbRotationOffset: 180,
            modelOriginPosition: { x: 0, y: 0.000012700000070253736, z: -0.05 },
        }, ...restProps }));
};

const GRM31CR61E476ME44L = (props) => {
    const { name = "C1", ...restProps } = props;
    return (jsx("capacitor", { name: name, capacitance: "47uF", supplierPartNumbers: {
            "jlcpcb": [
                "C403725"
            ]
        }, manufacturerPartNumber: "GRM31CR61E476ME44L", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "1.59258mm", pcbY: "0mm", width: "1.485011mm", height: "1.7279874mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.59258mm", pcbY: "0mm", width: "1.485011mm", height: "1.7279874mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 2.4111966000000393, "y": 1.0926064000000224 }, { "x": 0.9262109999999666, "y": 1.0926064000000224 }] }), jsx("silkscreenpath", { route: [{ "x": 0.9262109999999666, "y": -1.0926063999999087 }, { "x": 2.4111966000000393, "y": -1.0926063999999087 }] }), jsx("silkscreenpath", { route: [{ "x": 2.5635965999999826, "y": -0.9402063999999655 }, { "x": 2.5635965999999826, "y": 0.9402063999999655 }] }), jsx("silkscreenpath", { route: [{ "x": -2.411196600000153, "y": 1.0926064000000224 }, { "x": -0.9262109999999666, "y": 1.0926064000000224 }] }), jsx("silkscreenpath", { route: [{ "x": -0.9262109999999666, "y": -1.0926063999999087 }, { "x": -2.411196600000153, "y": -1.0926063999999087 }] }), jsx("silkscreenpath", { route: [{ "x": -2.5635966000000963, "y": -0.9402063999999655 }, { "x": -2.5635966000000963, "y": 0.9402063999999655 }] }), jsx("silkscreenpath", { route: [{ "x": 2.4111966000000393, "y": -1.092606399999795 }, { "x": 2.5189596734527413, "y": -1.0479694734526674 }, { "x": 2.5635965999999826, "y": -0.9402063999999655 }] }), jsx("silkscreenpath", { route: [{ "x": 2.5635965999999826, "y": 0.9402063999999655 }, { "x": 2.5189596734527413, "y": 1.0479694734527811 }, { "x": 2.4111966000000393, "y": 1.092606399999795 }] }), jsx("silkscreenpath", { route: [{ "x": -2.411196600000153, "y": -1.092606399999795 }, { "x": -2.518959673452855, "y": -1.0479694734526674 }, { "x": -2.5635966000000963, "y": -0.9402063999999655 }] }), jsx("silkscreenpath", { route: [{ "x": -2.5635966000000963, "y": 0.9402063999999655 }, { "x": -2.518959673452855, "y": 1.0479694734527811 }, { "x": -2.411196600000153, "y": 1.092606399999795 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0mm", pcbY: "2.0922mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.815400000000068, "y": 1.342200000000048 }, { "x": 2.815399999999954, "y": 1.342200000000048 }, { "x": 2.815399999999954, "y": -1.3421999999999343 }, { "x": -2.815400000000068, "y": -1.3421999999999343 }, { "x": -2.815400000000068, "y": 1.342200000000048 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C403725.obj?uuid=c6790e9475e1483991d2c64340b24e96",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C403725.step?uuid=c6790e9475e1483991d2c64340b24e96",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0, z: -0.65 },
        }, ...restProps }));
};

const pinLabels$c = {
    pin1: ["BOOT"],
    pin2: ["VIN"],
    pin3: ["EN"],
    pin4: ["RT", "CLK"],
    pin5: ["FB"],
    pin6: ["COMP"],
    pin7: ["GND"],
    pin8: ["SW"],
    pin9: ["EP"]
};
const pinAttributes$3 = {
    pin2: { requiresPower: true },
    pin7: { requiresGround: true }
};
const TPS54360DDAR = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$c, pinAttributes: pinAttributes$3, supplierPartNumbers: {
            "jlcpcb": [
                "C44377"
            ]
        }, manufacturerPartNumber: "TPS54360DDAR", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.905mm", pcbY: "-2.769108mm", width: "0.5739892mm", height: "2.0379944mm", radius: "0.2869946mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "-0.635mm", pcbY: "-2.769108mm", width: "0.5739892mm", height: "2.0379944mm", radius: "0.2869946mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "0.635mm", pcbY: "-2.769108mm", width: "0.5739892mm", height: "2.0379944mm", radius: "0.2869946mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "1.905mm", pcbY: "-2.769108mm", width: "0.5739892mm", height: "2.0379944mm", radius: "0.2869946mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin8"], pcbX: "-1.905mm", pcbY: "2.769108mm", width: "0.5739892mm", height: "2.0379944mm", radius: "0.2869946mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin7"], pcbX: "-0.635mm", pcbY: "2.769108mm", width: "0.5739892mm", height: "2.0379944mm", radius: "0.2869946mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "0.635mm", pcbY: "2.769108mm", width: "0.5739892mm", height: "2.0379944mm", radius: "0.2869946mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "1.905mm", pcbY: "2.769108mm", width: "0.5739892mm", height: "2.0379944mm", radius: "0.2869946mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin9"], pcbX: "0mm", pcbY: "0mm", width: "1.999996mm", height: "1.999996mm", shape: "rect" }), jsx("via", { pcbX: "0.500126mm", pcbY: "0.499872mm", outerDiameter: "0.6096mm", holeDiameter: "0.3048mm", layers: ["top", "bottom"] }), jsx("via", { pcbX: "-0.499872mm", pcbY: "0.499872mm", outerDiameter: "0.6096mm", holeDiameter: "0.3048mm", layers: ["top", "bottom"] }), jsx("via", { pcbX: "-0.499872mm", pcbY: "-0.500126mm", outerDiameter: "0.6096mm", holeDiameter: "0.3048mm", layers: ["top", "bottom"] }), jsx("via", { pcbX: "0.500126mm", pcbY: "-0.500126mm", outerDiameter: "0.6096mm", holeDiameter: "0.3048mm", layers: ["top", "bottom"] }), jsx("silkscreenpath", { route: [{ "x": -2.5262078000000656, "y": -1.5214091999999937 }, { "x": -2.5262078000000656, "y": 1.5214092000001074 }, { "x": 2.526207799999952, "y": 1.5214092000001074 }, { "x": 2.526207799999952, "y": -1.5214091999999937 }, { "x": -2.5262078000000656, "y": -1.5214091999999937 }] }), jsx("silkscreencircle", { pcbX: "-1.905mm", pcbY: "-0.769112mm", radius: "0.150114mm" }), jsx("silkscreencircle", { pcbX: "-2.644394mm", pcbY: "-2.769108mm", radius: "0.150114mm" }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.1397mm", pcbY: "4.5052mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.700007800000094, "y": 4.038105200000018 }, { "x": 2.6999823999999535, "y": 4.038105200000018 }, { "x": 2.6999823999999535, "y": -4.0381051999999045 }, { "x": -2.700007800000094, "y": -4.0381051999999045 }, { "x": -2.700007800000094, "y": 4.038105200000018 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C44377.obj?uuid=d3dfb165ce8644e793b750cd6f375e75",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C44377.step?uuid=d3dfb165ce8644e793b750cd6f375e75",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0.000012700000070253736, y: 0, z: 0 },
        }, ...props }));
};

const CL32B106KBJNNNE = (props) => {
    const { name = "C1", ...restProps } = props;
    return (jsx("capacitor", { name: name, capacitance: "10uF", supplierPartNumbers: {
            "jlcpcb": [
                "C138687"
            ]
        }, manufacturerPartNumber: "CL32B106KBJNNNE", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "1.517396mm", pcbY: "0mm", width: "1.634998mm", height: "2.6999946mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.517396mm", pcbY: "0mm", width: "1.634998mm", height: "2.6999946mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 2.5635965999999826, "y": -1.4262099999999691 }, { "x": 2.5635965999999826, "y": 1.4262100000000828 }] }), jsx("silkscreenpath", { route: [{ "x": 2.4111966000000393, "y": 1.578610000000026 }, { "x": 0.7761985999999297, "y": 1.578610000000026 }] }), jsx("silkscreenpath", { route: [{ "x": 0.7761985999999297, "y": -1.578610000000026 }, { "x": 2.4111966000000393, "y": -1.578610000000026 }] }), jsx("silkscreenpath", { route: [{ "x": -2.411196600000153, "y": 1.578610000000026 }, { "x": -0.7761986000000434, "y": 1.578610000000026 }] }), jsx("silkscreenpath", { route: [{ "x": -0.7761986000000434, "y": -1.578610000000026 }, { "x": -2.411196600000153, "y": -1.578610000000026 }] }), jsx("silkscreenpath", { route: [{ "x": -2.5635966000000963, "y": -1.4262099999999691 }, { "x": -2.5635966000000963, "y": 1.4262100000000828 }] }), jsx("silkscreenpath", { route: [{ "x": 2.4111966000000393, "y": -1.578610000000026 }, { "x": 2.518959673452855, "y": -1.5339730734527848 }, { "x": 2.5635965999999826, "y": -1.4262099999999691 }] }), jsx("silkscreenpath", { route: [{ "x": 2.5635965999999826, "y": 1.4262100000000828 }, { "x": 2.518959673452855, "y": 1.5339730734528985 }, { "x": 2.4111966000000393, "y": 1.578610000000026 }] }), jsx("silkscreenpath", { route: [{ "x": -2.411196600000153, "y": -1.578610000000026 }, { "x": -2.5189596734529687, "y": -1.5339730734527848 }, { "x": -2.5635966000000963, "y": -1.4262099999999691 }] }), jsx("silkscreenpath", { route: [{ "x": -2.5635966000000963, "y": 1.4262100000000828 }, { "x": -2.5189596734529687, "y": 1.5339730734528985 }, { "x": -2.411196600000153, "y": 1.578610000000026 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0mm", pcbY: "2.5748mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.584895000000188, "y": 1.599997300000041 }, { "x": 2.584895000000074, "y": 1.599997300000041 }, { "x": 2.584895000000074, "y": -1.599997300000041 }, { "x": -2.584895000000188, "y": -1.599997300000041 }, { "x": -2.584895000000188, "y": 1.599997300000041 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C138687.obj?uuid=0f62590f50b54fa48364a4157b2b6286",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C138687.step?uuid=0f62590f50b54fa48364a4157b2b6286",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: -12700000070253736e-21, z: -1.25 },
        }, ...restProps }));
};

function MotorSupply() {
    return (jsxs(Fragment, { children: [jsx(TPS54360DDAR, { name: "U5", pcbRotation: productPlacement.U5.ccwRotationDegrees, schSheetName: "buck", schX: -11, schY: 8, connections: {
                    BOOT: "net.BOOT",
                    VIN: "net.VIN_BUCK",
                    EN: "net.BUCK_EN",
                    pin4: "net.RT",
                    FB: "net.MOTOR_FB",
                    COMP: "net.COMP",
                    GND: "net.GND",
                    SW: "net.SWITCH_NODE",
                    EP: "net.GND",
                } }), jsx(SS54, { name: "D5", pcbRotation: productPlacement.D5.ccwRotationDegrees, schSheetName: "buck", schX: -5.5, schY: 8, schRotation: 90.0, connections: {
                    anode: "net.GND",
                    cathode: "net.SWITCH_NODE",
                } }), jsx(MHCC10040_8R2M_R7, { name: "L1", pcbRotation: productPlacement.L1.ccwRotationDegrees, schSheetName: "buck", schX: 0.0, schY: 8, connections: {
                    pin1: "net.SWITCH_NODE",
                    pin2: "net.VM",
                } }), jsx(CC0603KRX7R9BB104, { name: "C12", schRotation: 90, pcbRotation: productPlacement.C12.ccwRotationDegrees, schSheetName: "buck", schX: 5.5, schY: 8, connections: {
                    pin1: "net.BOOT",
                    pin2: "net.SWITCH_NODE",
                } }), jsx(CL32B106KBJNNNE, { name: "C13", pcbRotation: productPlacement.C13.ccwRotationDegrees, schSheetName: "buck", schX: -8, schY: 4, schRotation: -90, connections: {
                    pin1: "net.VIN_BUCK",
                    pin2: "net.GND",
                } }), jsx(CL32B106KBJNNNE, { name: "C14", pcbRotation: productPlacement.C14.ccwRotationDegrees, schSheetName: "buck", schX: -6, schY: 4, schRotation: -90, connections: {
                    pin1: "net.VIN_BUCK",
                    pin2: "net.GND",
                } }), jsx(CC0603KRX7R9BB104, { name: "C15", pcbRotation: productPlacement.C15.ccwRotationDegrees, schSheetName: "buck", schX: -4, schY: 4, schRotation: -90, connections: {
                    pin1: "net.VIN_BUCK",
                    pin2: "net.GND",
                } }), jsx(GRM31CR61E476ME44L, { name: "C16", pcbRotation: productPlacement.C16.ccwRotationDegrees, schSheetName: "buck", schX: 1, schY: 4, schRotation: -90, connections: {
                    pin1: "net.VM",
                    pin2: "net.GND",
                } }), jsx(GRM31CR61E476ME44L, { name: "C17", pcbRotation: productPlacement.C17.ccwRotationDegrees, schSheetName: "buck", schX: 3, schY: 4, schRotation: -90, connections: {
                    pin1: "net.VM",
                    pin2: "net.GND",
                } }), jsx(A_35SVPK330M, { name: "C18", pcbRotation: productPlacement.C18.ccwRotationDegrees, schSheetName: "buck", schX: 5, schY: 4, schRotation: -90, connections: {
                    pin1: "net.VM",
                    pin2: "net.GND",
                } }), jsx(A_0603WAF1623T5E, { name: "R17", pcbRotation: productPlacement.R17.ccwRotationDegrees, schSheetName: "buck", schX: -11, schY: 0, schRotation: -90, connections: {
                    pin1: "net.RT",
                    pin2: "net.GND",
                } }), jsx(A_0603WAF1003T5E, { name: "R18", pcbRotation: productPlacement.R18.ccwRotationDegrees, schSheetName: "buck", schX: -5.5, schY: 0, schRotation: -90, connections: {
                    pin1: "net.VM",
                    pin2: "net.FB_TOP_MID",
                } }), jsx(A_0603WAF5101T5E, { name: "R55", pcbRotation: productPlacement.R55.ccwRotationDegrees, schSheetName: "buck", schX: 0.0, schY: 0, connections: {
                    pin1: "net.FB_TOP_MID",
                    pin2: "net.MOTOR_FB",
                } }), jsx(A_0603WAF2002T5E, { name: "R19", pcbRotation: productPlacement.R19.ccwRotationDegrees, schSheetName: "buck", schX: 5.5, schY: 0, schRotation: -90, connections: {
                    pin1: "net.MOTOR_FB",
                    pin2: "net.GND",
                } }), jsx(A_0603WAF2102T5E, { name: "R20", pcbRotation: productPlacement.R20.ccwRotationDegrees, schSheetName: "buck", schX: 11.0, schY: 0, connections: {
                    pin1: "net.MOTOR_FB",
                    pin2: "net.SELECT_9",
                } }), jsx(A_0603WAF1202T5E, { name: "R21", pcbRotation: productPlacement.R21.ccwRotationDegrees, schSheetName: "buck", schX: -11, schY: -4, connections: {
                    pin1: "net.MOTOR_FB",
                    pin2: "net.SELECT_12",
                } }), jsx(A_0603WAF2702T5E, { name: "R22", pcbRotation: productPlacement.R22.ccwRotationDegrees, schSheetName: "buck", schX: -5.5, schY: -4, connections: {
                    pin1: "net.COMP",
                    pin2: "net.COMP_ZERO",
                } }), jsx(CL10B223KB8NNNC, { name: "C19", pcbRotation: productPlacement.C19.ccwRotationDegrees, schSheetName: "buck", schX: 0.0, schY: -4, schRotation: -90, connections: {
                    pin1: "net.COMP_ZERO",
                    pin2: "net.GND",
                } }), jsx(CL10C220JB8NNNC, { name: "C20", pcbRotation: productPlacement.C20.ccwRotationDegrees, schSheetName: "buck", schX: 5.5, schY: -4, schRotation: -90, connections: {
                    pin1: "net.COMP",
                    pin2: "net.GND",
                } }), jsx(CRCW060310K0FKEA, { name: "R23", pcbRotation: productPlacement.R23.ccwRotationDegrees, schSheetName: "buck", schX: 11.0, schY: -4, connections: {
                    pin1: "net.INPUT_PG",
                    pin2: "net.BUCK_EN",
                } }), jsx(ESR18EZPF1001, { name: "R68", pcbRotation: productPlacement.R68.ccwRotationDegrees, schSheetName: "buck", schX: -5.5, schY: -8, schRotation: -90, connections: { pin1: "net.VM", pin2: "net.GND" } }), jsx(A_0603WAF1003T5E, { name: "R24", pcbRotation: productPlacement.R24.ccwRotationDegrees, schSheetName: "buck", schX: -11, schY: -8, schRotation: -90, connections: {
                    pin1: "net.BUCK_EN",
                    pin2: "net.GND",
                } })] }));
}

const A_0603WAF3300T5E = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsx("resistor", { name: name, resistance: "330ohm", supplierPartNumbers: {
            "jlcpcb": [
                "C23138"
            ]
        }, manufacturerPartNumber: "0603WAF3300T5E", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.42621199999996406, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": 0.6606031999999686 }, { "x": 0.42621199999996406, "y": 0.6606031999999686 }] }), jsx("silkscreenpath", { route: [{ "x": -0.42621200000007775, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": 0.6606031999999686 }, { "x": -0.42621200000007775, "y": 0.6606031999999686 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.647000000000162, "y": 0.9103999999999814 }, { "x": 1.6216000000000577, "y": 0.9103999999999814 }, { "x": 1.6216000000000577, "y": -0.9103999999998678 }, { "x": -1.647000000000162, "y": -0.9103999999998678 }, { "x": -1.647000000000162, "y": 0.9103999999999814 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C23138.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C23138.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

const pinLabels$b = {
    pin1: ["pin1"],
    pin2: ["pin2"],
    pin3: ["pin3"]
};
const A_1MS3T1B1M2QES_5 = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$b, supplierPartNumbers: {
            "jlcpcb": [
                "C908270"
            ]
        }, manufacturerPartNumber: "1MS3T1B1M2QES-5", footprint: jsxs("footprint", { children: [jsx("platedhole", { portHints: ["pin1"], pcbX: "0mm", pcbY: "-4.700016mm", holeWidth: "2.54mm", holeHeight: "1.1000232mm", outerWidth: "3.3999932mm", outerHeight: "1.7999964mm", shape: "pill" }), jsx("platedhole", { portHints: ["pin2"], pcbX: "0mm", pcbY: "0mm", holeWidth: "2.54mm", holeHeight: "1.1000232mm", outerWidth: "3.3999932mm", outerHeight: "1.7999964mm", shape: "pill" }), jsx("platedhole", { portHints: ["pin3"], pcbX: "0mm", pcbY: "4.700016mm", holeWidth: "2.54mm", holeHeight: "1.1000232mm", outerWidth: "3.3999932mm", outerHeight: "1.7999964mm", shape: "pill" }), jsx("silkscreenpath", { route: [{ "x": 3.42999060000011, "y": 6.350000000000023 }, { "x": 3.42999060000011, "y": -6.349999999999909 }] }), jsx("silkscreenpath", { route: [{ "x": -3.4299905999999964, "y": 6.350000000000023 }, { "x": -3.4299905999999964, "y": -6.349999999999909 }] }), jsx("silkscreenpath", { route: [{ "x": -3.4299905999999964, "y": -6.349999999999909 }, { "x": 3.42999060000011, "y": -6.349999999999909 }] }), jsx("silkscreenpath", { route: [{ "x": -3.4299905999999964, "y": 6.350000000000023 }, { "x": 3.42999060000011, "y": 6.350000000000023 }] }), jsx("silkscreencircle", { pcbX: "0mm", pcbY: "0mm", radius: "3.144266mm" }), jsx("silkscreencircle", { pcbX: "0mm", pcbY: "0mm", radius: "2.785364mm" }), jsx("silkscreencircle", { pcbX: "0mm", pcbY: "0mm", radius: "5.999988mm" }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0mm", pcbY: "7.35mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -3.6799905999999964, "y": 6.349987800000008 }, { "x": 3.67999060000011, "y": 6.349987800000008 }, { "x": 3.67999060000011, "y": -6.349987800000008 }, { "x": -3.6799905999999964, "y": -6.349987800000008 }, { "x": -3.6799905999999964, "y": 6.349987800000008 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C908270.obj?uuid=efe9926226eb4e16aaffad72dde97a93",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C908270.step?uuid=efe9926226eb4e16aaffad72dde97a93",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0, z: -0.45765699999999976 },
        }, ...props }));
};

const pinLabels$a = {
    pin1: ["anode", "pos"],
    pin2: ["cathode", "neg"]
};
const A_19_217_G7C_AN1P2_6T = (props) => {
    const { name = "LED1", ...restProps } = props;
    return (jsx("led", { name: name, pinLabels: pinLabels$a, supplierPartNumbers: {
            "jlcpcb": [
                "C2986030"
            ]
        }, manufacturerPartNumber: "19-217/G7C-AN1P2/6T", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1", "anode", "pos"], pcbX: "-0.850011mm", pcbY: "0mm", width: "0.899922mm", height: "0.999998mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2", "cathode", "neg"], pcbX: "0.850011mm", pcbY: "0mm", width: "0.899922mm", height: "0.999998mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 1.7500599999999622, "y": 0.35001199999999244 }, { "x": 1.7500599999999622, "y": 0.45003719999988334 }, { "x": 1.4501114000000825, "y": 0.7500619999999572 }] }), jsx("silkscreenpath", { route: [{ "x": 1.7500599999999622, "y": -0.34991039999999884 }, { "x": 1.7500599999999622, "y": -0.45006260000013754 }, { "x": 1.4501114000000825, "y": -0.7500112000000172 }] }), jsx("silkscreenpath", { route: [{ "x": 1.7500599999999622, "y": -0.34991039999999884 }, { "x": 1.7500599999999622, "y": 0.35001199999999244 }] }), jsx("silkscreenpath", { route: [{ "x": -1.549958800000013, "y": -0.7498841999999968 }, { "x": -1.549958800000013, "y": 0.7300213999999414 }] }), jsx("silkscreenpath", { route: [{ "x": 0.3001009999999269, "y": 0.7500619999999572 }, { "x": 1.4501114000000825, "y": 0.7500619999999572 }] }), jsx("silkscreenpath", { route: [{ "x": 0.3001009999999269, "y": -0.7500112000000172 }, { "x": 1.4501114000000825, "y": -0.7500112000000172 }] }), jsx("silkscreenpath", { route: [{ "x": -0.29992319999985284, "y": 0.7500619999999572 }, { "x": -1.549958800000013, "y": 0.7500619999999572 }] }), jsx("silkscreenpath", { route: [{ "x": -0.29992319999985284, "y": -0.7500112000000172 }, { "x": -1.549958800000013, "y": -0.7500112000000172 }] }), jsx("silkscreenpath", { route: [{ "x": -0.1269999999999527, "y": 0.3809999999999718 }, { "x": -0.1269999999999527, "y": -0.3810000000000855 }] }), jsx("silkscreenpath", { route: [{ "x": -0.1269999999999527, "y": -0.006400800000051277 }, { "x": 0.1270000000000664, "y": -0.006400800000051277 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.089789mm", pcbY: "1.762mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("fabricationnotepath", { route: [{ "x": -1.0999977999998691, "y": 0.09999979999997777 }, { "x": -0.4999990000000025, "y": 0.09999979999997777 }, { "x": -0.4999990000000025, "y": -0.04998720000003232 }, { "x": -1.0999977999998691, "y": -0.04998720000003232 }, { "x": -1.0999977999998691, "y": 0.09999979999997777 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": 0.6000749999999471, "y": 0.09999979999997777 }, { "x": 1.200073800000041, "y": 0.09999979999997777 }, { "x": 1.200073800000041, "y": -0.04998720000003232 }, { "x": 0.6000749999999471, "y": -0.04998720000003232 }, { "x": 0.6000749999999471, "y": 0.09999979999997777 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": -0.8648446000000831, "y": -0.27289759999996477 }, { "x": -0.8648446000000831, "y": 0.3271012000000155 }, { "x": -0.714857600000073, "y": 0.3271012000000155 }, { "x": -0.714857600000073, "y": -0.27289759999996477 }, { "x": -0.8648446000000831, "y": -0.27289759999996477 }], strokeWidth: "0.254mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.8112110000000712, "y": 1.0119999999999436 }, { "x": 1.9907889999999497, "y": 1.0119999999999436 }, { "x": 1.9907889999999497, "y": -0.9866000000000668 }, { "x": -1.8112110000000712, "y": -0.9866000000000668 }, { "x": -1.8112110000000712, "y": 1.0119999999999436 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2986030.obj?uuid=360da66ef6f244ab93e657a2a335fe09",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2986030.step?uuid=360da66ef6f244ab93e657a2a335fe09",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0, z: -1e-3 },
        }, ...restProps }));
};

const GRM1885C1H562JA01D = (props) => {
    const { name = "C1", ...restProps } = props;
    return (jsx("capacitor", { name: name, capacitance: "5.6nF", supplierPartNumbers: {
            "jlcpcb": [
                "C440183"
            ]
        }, manufacturerPartNumber: "GRM1885C1H562JA01D", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.700024mm", pcbY: "0mm", width: "0.7999984mm", height: "0.8999982mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.700024mm", pcbY: "0mm", width: "0.7999984mm", height: "0.8999982mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -0.2801873999999316, "y": -0.7095743999998376 }, { "x": -1.080160400000068, "y": -0.7095743999998376 }] }), jsx("silkscreenpath", { route: [{ "x": 0.28026359999989836, "y": -0.7100315999998656 }, { "x": 1.080236599999921, "y": -0.7100315999998656 }] }), jsx("silkscreenpath", { route: [{ "x": -0.2801873999999316, "y": 0.7101078000000598 }, { "x": -1.080160400000068, "y": 0.7101078000000598 }] }), jsx("silkscreenpath", { route: [{ "x": 0.28026359999989836, "y": 0.7096252000001186 }, { "x": 1.080236599999921, "y": 0.7096252000001186 }] }), jsx("silkscreenpath", { route: [{ "x": -1.3899134000000686, "y": -0.3997452000000976 }, { "x": -1.3899134000000686, "y": 0.40030400000000554 }] }), jsx("silkscreenpath", { route: [{ "x": 1.3900149999998348, "y": 0.39977060000001075 }, { "x": 1.3900149999998348, "y": -0.4002531999999519 }] }), jsx("silkscreenpath", { route: [{ "x": 1.080185799999981, "y": 0.7096252000001186 }, { "x": 1.299277109074751, "y": 0.6188693482574763 }, { "x": 1.3900149999998348, "y": 0.39977060000001075 }] }), jsx("silkscreenpath", { route: [{ "x": 1.3900149999998348, "y": -0.40020240000012564 }, { "x": 1.2992681283295724, "y": -0.6192847283296032 }, { "x": 1.080185799999981, "y": -0.7100315999998656 }] }), jsx("silkscreenpath", { route: [{ "x": -1.0801096000000143, "y": -0.7095743999998376 }, { "x": -1.2991755087698493, "y": -0.6188185485625581 }, { "x": -1.3899134000000686, "y": -0.3997452000000976 }] }), jsx("silkscreenpath", { route: [{ "x": -1.3899134000000686, "y": 0.40022780000003877 }, { "x": -1.2991934705021322, "y": 0.6193339880503572 }, { "x": -1.0801096000000143, "y": 0.7101078000000598 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.7112mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.647000000000162, "y": 0.9612000000000762 }, { "x": 1.6216000000000577, "y": 0.9612000000000762 }, { "x": 1.6216000000000577, "y": -0.9611999999999625 }, { "x": -1.647000000000162, "y": -0.9611999999999625 }, { "x": -1.647000000000162, "y": 0.9612000000000762 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C440183.obj?uuid=ac9b32e974bc448eab36b1293f859dcb",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C440183.step?uuid=ac9b32e974bc448eab36b1293f859dcb",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0, z: -0.4 },
        }, ...restProps }));
};

const pinLabels$9 = {
    pin1: ["pin1"],
    pin2: ["pin2"],
    pin3: ["pin3"],
    pin4: ["pin4"],
    pin5: ["pin5"]
};
const PTV09A_4015F_B103 = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$9, symbol: jsxs("symbol", { children: [jsx("port", { name: "pin2", pinNumber: 2, aliases: ["2"], direction: "up", schX: -0.04, schY: 0.2, schStemLength: 0.2 }), jsx("schematiccircle", { center: { x: 0.18, y: -0.14 }, radius: 0.02, strokeWidth: 0.02, color: "#A00000" }), jsx("schematicpath", { points: [{ "x": -0.08, "y": 0 }, { "x": -0.04, "y": -0.08 }, { "x": 0, "y": 0 }, { "x": -0.08, "y": 0 }], strokeColor: "#880000" }), jsx("port", { name: "pin3", pinNumber: 3, aliases: ["3"], direction: "right", schX: 0.36, schY: -0.2, schStemLength: 0.2 }), jsx("port", { name: "pin1", pinNumber: 1, aliases: ["1"], direction: "left", schX: -0.44, schY: -0.2, schStemLength: 0.2 }), jsx("schematicpath", { points: [{ "x": -0.04, "y": 0 }, { "x": -0.04, "y": -0.08 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 0.14, "y": -0.28 }, { "x": 0.16, "y": -0.2 }], strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": 0.08, "y": -0.12 }, { "x": 0.14, "y": -0.28 }], strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": 0.04, "y": -0.28 }, { "x": 0.08, "y": -0.12 }], strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": -0.02, "y": -0.12 }, { "x": 0.04, "y": -0.28 }], strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": -0.06, "y": -0.28 }, { "x": -0.02, "y": -0.12 }], strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": -0.1, "y": -0.12 }, { "x": -0.06, "y": -0.28 }], strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": -0.16, "y": -0.28 }, { "x": -0.1, "y": -0.12 }], strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": -0.2, "y": -0.12 }, { "x": -0.16, "y": -0.28 }], strokeColor: "#8D2323" }), jsx("schematicpath", { points: [{ "x": -0.24, "y": -0.2 }, { "x": -0.2, "y": -0.12 }], strokeColor: "#8D2323" }), jsx("port", { name: "pin4", pinNumber: 4, aliases: ["4"], direction: "left", schX: -0.44, schY: 0, schStemLength: 0.2 }), jsx("port", { name: "pin5", pinNumber: 5, aliases: ["5"], direction: "right", schX: 0.36, schY: 0, schStemLength: 0.2 })] }), supplierPartNumbers: {
            "jlcpcb": [
                "C5710902"
            ]
        }, manufacturerPartNumber: "PTV09A-4015F-B103", footprint: jsxs("footprint", { children: [jsx("platedhole", { portHints: ["pin1"], pcbX: "-2.499995mm", pcbY: "-3.04999395mm", outerDiameter: "1.8999962mm", holeDiameter: "1.3000228mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin2"], pcbX: "0.000127mm", pcbY: "-3.04999395mm", outerDiameter: "1.8999962mm", holeDiameter: "1.3000228mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin3"], pcbX: "2.499995mm", pcbY: "-3.04999395mm", outerDiameter: "1.8999962mm", holeDiameter: "1.3000228mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin4"], pcbX: "-4.300093mm", pcbY: "3.94999205mm", holeWidth: "1.999996mm", holeHeight: "2.1999956mm", outerWidth: "2.7999944mm", outerHeight: "2.999994mm", shape: "pill" }), jsx("platedhole", { portHints: ["pin5"], pcbX: "4.300093mm", pcbY: "3.94999205mm", holeWidth: "1.999996mm", holeHeight: "2.1999956mm", outerWidth: "2.7999944mm", outerHeight: "2.999994mm", shape: "pill" }), jsx("silkscreenpath", { route: [{ "x": -5.029987399999982, "y": 2.1300058500000887 }, { "x": -4.999990000000139, "y": -2.539987349999933 }, { "x": -3.5650678000000653, "y": -2.539987349999933 }] }), jsx("silkscreenpath", { route: [{ "x": 3.5650677999999516, "y": -2.539987349999933 }, { "x": 5.009997599999906, "y": -2.539987349999933 }, { "x": 4.980000200000063, "y": 2.1000084500000185 }] }), jsx("silkscreenpath", { route: [{ "x": -4.999990000000139, "y": 5.7999756500000785 }, { "x": -4.999990000000139, "y": 9.459988650000128 }, { "x": 4.999989999999912, "y": 9.459988650000128 }, { "x": 4.999989999999912, "y": 5.749988450000046 }] }), jsx("silkscreenpath", { route: [{ "x": 1.0651997999999594, "y": -2.539987349999933 }, { "x": 1.43492219999996, "y": -2.539987349999933 }] }), jsx("silkscreenpath", { route: [{ "x": -1.43492219999996, "y": -2.539987349999933 }, { "x": -1.0649457999999186, "y": -2.539987349999933 }] }), jsx("silkscreencircle", { pcbX: "0.040005mm", pcbY: "3.94008605mm", radius: "2.37998mm" }), jsx("silkscreencircle", { pcbX: "0.040005mm", pcbY: "3.94008605mm", radius: "1.925066mm" }), jsx("silkscreencircle", { pcbX: "-3.479927mm", pcbY: "8.24005205mm", radius: "0.384302mm" }), jsx("silkscreencircle", { pcbX: "3.630041mm", pcbY: "-0.48992795mm", radius: "0.384302mm" }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.014605mm", pcbY: "10.47220605mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -5.950090200000091, "y": 9.706966050000005 }, { "x": 5.950090200000091, "y": 9.706966050000005 }, { "x": 5.950090200000091, "y": -4.24999205000006 }, { "x": -5.950090200000091, "y": -4.24999205000006 }, { "x": -5.950090200000091, "y": 9.706966050000005 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5710902.obj?uuid=03bf1a40fea8419db0ff1a7ac8acc150",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5710902.step?uuid=03bf1a40fea8419db0ff1a7ac8acc150",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: -3.9569350499999123, z: 0.013156999999999641 },
        }, ...props }));
};

const A_0603B103K500NT = (props) => {
    const { name = "C1", ...restProps } = props;
    return (jsx("capacitor", { name: name, capacitance: "10nF", supplierPartNumbers: {
            "jlcpcb": [
                "C57112"
            ]
        }, manufacturerPartNumber: "0603B103K500NT", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.700024mm", pcbY: "0mm", width: "0.7999984mm", height: "0.8999982mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.700024mm", pcbY: "0mm", width: "0.7999984mm", height: "0.8999982mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -0.2801873999999316, "y": -0.7095743999998376 }, { "x": -1.080160400000068, "y": -0.7095743999998376 }] }), jsx("silkscreenpath", { route: [{ "x": 0.28026359999989836, "y": -0.7100315999998656 }, { "x": 1.080236599999921, "y": -0.7100315999998656 }] }), jsx("silkscreenpath", { route: [{ "x": -0.2801873999999316, "y": 0.7101078000000598 }, { "x": -1.080160400000068, "y": 0.7101078000000598 }] }), jsx("silkscreenpath", { route: [{ "x": 0.28026359999989836, "y": 0.7096252000001186 }, { "x": 1.080236599999921, "y": 0.7096252000001186 }] }), jsx("silkscreenpath", { route: [{ "x": -1.3899134000000686, "y": -0.3997452000000976 }, { "x": -1.3899134000000686, "y": 0.40030400000000554 }] }), jsx("silkscreenpath", { route: [{ "x": 1.3900149999998348, "y": 0.39977060000001075 }, { "x": 1.3900149999998348, "y": -0.4002531999999519 }] }), jsx("silkscreenpath", { route: [{ "x": 1.080185799999981, "y": 0.7096252000001186 }, { "x": 1.299277109074751, "y": 0.6188693482574763 }, { "x": 1.3900149999998348, "y": 0.39977060000001075 }] }), jsx("silkscreenpath", { route: [{ "x": 1.3900149999998348, "y": -0.40020240000012564 }, { "x": 1.2992681283295724, "y": -0.6192847283296032 }, { "x": 1.080185799999981, "y": -0.7100315999998656 }] }), jsx("silkscreenpath", { route: [{ "x": -1.0801096000000143, "y": -0.7095743999998376 }, { "x": -1.2991755087698493, "y": -0.6188185485625581 }, { "x": -1.3899134000000686, "y": -0.3997452000000976 }] }), jsx("silkscreenpath", { route: [{ "x": -1.3899134000000686, "y": 0.40022780000003877 }, { "x": -1.2991934705021322, "y": 0.6193339880503572 }, { "x": -1.0801096000000143, "y": 0.7101078000000598 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.7112mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.647000000000162, "y": 0.9612000000000762 }, { "x": 1.6216000000000577, "y": 0.9612000000000762 }, { "x": 1.6216000000000577, "y": -0.9611999999999625 }, { "x": -1.647000000000162, "y": -0.9611999999999625 }, { "x": -1.647000000000162, "y": 0.9612000000000762 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C57112.obj?uuid=ac9b32e974bc448eab36b1293f859dcb",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C57112.step?uuid=ac9b32e974bc448eab36b1293f859dcb",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0, z: -0.4 },
        }, ...restProps }));
};

const pinLabels$8 = {
    pin1: ["GND"],
    pin2: ["TRIG"],
    pin3: ["OUT"],
    pin4: ["RESET"],
    pin5: ["CONT"],
    pin6: ["THRES"],
    pin7: ["DISCH"],
    pin8: ["VDD"]
};
const pinAttributes$2 = {
    pin1: { requiresGround: true },
    pin8: { requiresPower: true }
};
const TLC555CDR = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$8, pinAttributes: pinAttributes$2, supplierPartNumbers: {
            "jlcpcb": [
                "C6986"
            ]
        }, manufacturerPartNumber: "TLC555CDR", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.905mm", pcbY: "-2.7051mm", width: "0.5684012mm", height: "1.950212mm", radius: "0.2842006mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "-0.635mm", pcbY: "-2.7051mm", width: "0.5684012mm", height: "1.950212mm", radius: "0.2842006mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "0.635mm", pcbY: "-2.7051mm", width: "0.5684012mm", height: "1.950212mm", radius: "0.2842006mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "1.905mm", pcbY: "-2.7051mm", width: "0.5684012mm", height: "1.950212mm", radius: "0.2842006mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin8"], pcbX: "-1.905mm", pcbY: "2.7051mm", width: "0.5684012mm", height: "1.950212mm", radius: "0.2842006mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin7"], pcbX: "-0.635mm", pcbY: "2.7051mm", width: "0.5684012mm", height: "1.950212mm", radius: "0.2842006mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "0.635mm", pcbY: "2.7051mm", width: "0.5684012mm", height: "1.950212mm", radius: "0.2842006mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "1.905mm", pcbY: "2.7051mm", width: "0.5684012mm", height: "1.950212mm", radius: "0.2842006mm", shape: "pill" }), jsx("silkscreenpath", { route: [{ "x": -2.4999950000001263, "y": -1.4999970000000076 }, { "x": 2.499994999999899, "y": -1.4999970000000076 }] }), jsx("silkscreenpath", { route: [{ "x": -2.4999950000001263, "y": 1.4999969999998939 }, { "x": 2.499994999999899, "y": 1.4999969999998939 }] }), jsx("silkscreenpath", { route: [{ "x": -2.4999950000001263, "y": -1.4999970000000076 }, { "x": -2.4999950000001263, "y": -0.7265669999998181 }] }), jsx("silkscreenpath", { route: [{ "x": -2.4999950000001263, "y": 1.4999969999998939 }, { "x": -2.4999950000001263, "y": 0.7262875999999778 }] }), jsx("silkscreenpath", { route: [{ "x": 2.499994999999899, "y": 1.4999969999998939 }, { "x": 2.499994999999899, "y": -1.4999970000000076 }] }), jsx("silkscreenpath", { route: [{ "x": -2.4999950000001263, "y": -0.7265669999998181 }, { "x": -2.2625565730616017, "y": -0.6727720384950544 }, { "x": -2.056152369867391, "y": -0.5436666188794561 }, { "x": -1.9038872877111999, "y": -0.3537028085727343 }, { "x": -1.822805887847835, "y": -0.12414516642888884 }, { "x": -1.8219844264158382, "y": 0.11930961309167287 }, { "x": -1.9015148578508843, "y": 0.34940918924542075 }, { "x": -2.0524945415012326, "y": 0.5403962034508822 }, { "x": -2.25802280368805, "y": 0.6708915593560505 }, { "x": -2.495092800000066, "y": 0.7262876000000915 }] }), jsx("silkscreencircle", { pcbX: "-1.778mm", pcbY: "-1.016mm", radius: "0.150114mm" }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0127mm", pcbY: "4.4036mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.7391999999999825, "y": 3.653599999999983 }, { "x": 2.7645999999998594, "y": 3.653599999999983 }, { "x": 2.7645999999998594, "y": -3.7806000000000495 }, { "x": -2.7391999999999825, "y": -3.7806000000000495 }, { "x": -2.7391999999999825, "y": 3.653599999999983 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C6986.obj?uuid=7abc64c95a1a4a04a4ef38f9097c870b",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C6986.step?uuid=7abc64c95a1a4a04a4ef38f9097c870b",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0.000012700000070253736, y: 0, z: 0 },
        }, ...props }));
};

const pinLabels$7 = {
    pin1: ["cathode", "neg"],
    pin2: ["anode", "pos"]
};
const B5819W_SL = (props) => {
    const { name = "D1", ...restProps } = props;
    return (jsx("diode", { name: name, pinLabels: pinLabels$7, supplierPartNumbers: {
            "jlcpcb": [
                "C8598"
            ]
        }, manufacturerPartNumber: "B5819W SL", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2", "anode", "pos"], pcbX: "1.700022mm", pcbY: "0mm", width: "1.1999976mm", height: "0.9500108mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1", "cathode", "neg"], pcbX: "-1.700022mm", pcbY: "0mm", width: "1.1999976mm", height: "0.9500108mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 1.3462000000000103, "y": -0.7061453999999969 }, { "x": 1.3462000000000103, "y": -0.850010999999995 }] }), jsx("silkscreenpath", { route: [{ "x": 1.3462000000000103, "y": 0.8500110000000092 }, { "x": 1.3462000000000103, "y": 0.7061454000000111 }] }), jsx("silkscreenpath", { route: [{ "x": -1.346199999999996, "y": -0.850010999999995 }, { "x": -1.6379698000000076, "y": -0.850010999999995 }, { "x": -1.6389857999999862, "y": -0.848994999999988 }] }), jsx("silkscreenpath", { route: [{ "x": -1.346199999999996, "y": 0.8500110000000092 }, { "x": -1.6429735999999764, "y": 0.8500110000000092 }, { "x": -1.6439895999999976, "y": 0.8489950000000022 }] }), jsx("silkscreenpath", { route: [{ "x": -1.346199999999996, "y": 0.8500110000000092 }, { "x": 1.3462000000000103, "y": 0.8500110000000092 }] }), jsx("silkscreenpath", { route: [{ "x": 0.406400000000005, "y": 0.406400000000005 }, { "x": 0.406400000000005, "y": -0.40639999999999077 }] }), jsx("silkscreenpath", { route: [{ "x": 0.406400000000005, "y": 0.0002539999999982001 }, { "x": 0.720089999999999, "y": 0.0002539999999982001 }] }), jsx("silkscreenpath", { route: [{ "x": -0.28000959999999964, "y": 0 }, { "x": -0.610006399999989, "y": 0 }] }), jsx("silkscreenpath", { route: [{ "x": -0.2540000000000049, "y": 0.5080000000000098 }, { "x": -0.2540000000000049, "y": -0.5079999999999956 }] }), jsx("silkscreenpath", { route: [{ "x": -0.17779999999999063, "y": 0 }, { "x": 0.406400000000005, "y": 0.406400000000005 }] }), jsx("silkscreenpath", { route: [{ "x": 0.406400000000005, "y": -0.40639999999999077 }, { "x": -0.17779999999999063, "y": 0 }] }), jsx("silkscreenpath", { route: [{ "x": 1.3462000000000103, "y": -0.850010999999995 }, { "x": -1.346199999999996, "y": -0.850010999999995 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.9652mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("fabricationnotepath", { route: [{ "x": 1.1899391999999978, "y": 0.21201379999999403 }, { "x": 2.031898400000003, "y": 0.21201379999999403 }, { "x": 2.031898400000003, "y": 0.005054600000008236 }, { "x": 1.1893295999999935, "y": 0.005054600000008236 }, { "x": 1.1899391999999978, "y": 0.21201379999999403 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": 1.5246096000000051, "y": -0.33840419999998517 }, { "x": 1.5246096000000051, "y": 0.5035550000000057 }, { "x": 1.7315688000000051, "y": 0.5035550000000057 }, { "x": 1.7315688000000051, "y": -0.3390137999999894 }, { "x": 1.5246096000000051, "y": -0.33840419999998517 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": -2.041524999999993, "y": 0.12377420000001393 }, { "x": -1.1995657999999878, "y": 0.12377420000001393 }, { "x": -1.1995657999999878, "y": -0.08318499999998608 }, { "x": -2.042134599999997, "y": -0.08318499999998608 }, { "x": -2.041524999999993, "y": 0.12377420000001393 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": -0.3999991999999821, "y": 0 }, { "x": -0.3999991999999821, "y": 0 }, { "x": 0.19999959999999817, "y": -0.5999987999999945 }, { "x": 0.19999959999999817, "y": 0.5999988000000087 }, { "x": -0.3999991999999821, "y": 0 }], strokeWidth: "0.254mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.561400000000006, "y": 1.21520000000001 }, { "x": 2.5360000000000014, "y": 1.21520000000001 }, { "x": 2.5360000000000014, "y": -1.2405999999999864 }, { "x": -2.561400000000006, "y": -1.2405999999999864 }, { "x": -2.561400000000006, "y": 1.21520000000001 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C8598.obj?uuid=e9d505c99b6c436aaf827a29c5ba4f84",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C8598.step?uuid=e9d505c99b6c436aaf827a29c5ba4f84",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0.000012699999999199463, z: -0.6 },
        }, ...restProps }));
};

function PwmControls() {
    return (jsxs(Fragment, { children: [jsx(TLC555CDR, { name: "U6", pcbRotation: productPlacement.U6.ccwRotationDegrees, schSheetName: "controls", schX: -11, schY: 8, connections: {
                    GND: "net.GND",
                    TRIG: "net.TIMING",
                    OUT: "net.PWM",
                    RESET: "net.MOTOR_READY",
                    CONT: "net.TIMER_CONT",
                    THRES: "net.TIMING",
                    DISCH: "net.WIPER",
                    VDD: "net.VCC3V3",
                } }), jsx(PTV09A_4015F_B103, { name: "RV1", pcbRotation: productPlacement.RV1.ccwRotationDegrees, schSheetName: "controls", schX: -5.5, schY: 8, connections: {
                    pin1: "net.POT_CHARGE",
                    pin2: "net.WIPER",
                    pin3: "net.POT_DISCHARGE",
                    pin4: "net.GND",
                    pin5: "net.GND",
                } }), jsx("schematictext", { text: "RV1 \u00B7 10 kOhm speed", schX: -4.7, schY: 7.35, fontSize: 0.15, anchor: "bottom_left" }), jsx(A_0603WAF3300T5E, { name: "R25", pcbRotation: productPlacement.R25.ccwRotationDegrees, schSheetName: "controls", schX: 0.0, schY: 8, schRotation: -90, connections: {
                    pin1: "net.VCC3V3",
                    pin2: "net.WIPER",
                } }), jsx(B5819W_SL, { name: "D6", pcbRotation: productPlacement.D6.ccwRotationDegrees, schSheetName: "controls", schX: 5.5, schY: 8, connections: {
                    anode: "net.POT_CHARGE",
                    cathode: "net.TIMING",
                } }), jsx(B5819W_SL, { name: "D7", pcbRotation: productPlacement.D7.ccwRotationDegrees, schSheetName: "controls", schX: 11.0, schY: 8, connections: {
                    anode: "net.TIMING",
                    cathode: "net.DISCHARGE_END",
                } }), jsx(A_0603WAF3300T5E, { name: "R26", pcbRotation: productPlacement.R26.ccwRotationDegrees, schSheetName: "controls", schX: -11, schY: 4, connections: {
                    pin1: "net.DISCHARGE_END",
                    pin2: "net.POT_DISCHARGE",
                } }), jsx(GRM1885C1H562JA01D, { name: "C21", pcbRotation: productPlacement.C21.ccwRotationDegrees, schSheetName: "controls", schX: -5.5, schY: 4, schRotation: -90, connections: {
                    pin1: "net.TIMING",
                    pin2: "net.GND",
                } }), jsx(A_0603B103K500NT, { name: "C22", pcbRotation: productPlacement.C22.ccwRotationDegrees, schSheetName: "controls", schX: 0.0, schY: 4, schRotation: -90, connections: {
                    pin1: "net.TIMER_CONT",
                    pin2: "net.GND",
                } }), jsx(CC0603KRX7R9BB104, { name: "C23", pcbRotation: productPlacement.C23.ccwRotationDegrees, schSheetName: "controls", schX: 5.5, schY: 4, schRotation: -90, connections: {
                    pin1: "net.VCC3V3",
                    pin2: "net.GND",
                } }), jsx(A_1MS3T1B1M2QES_5, { name: "SW1", pcbRotation: productPlacement.SW1.ccwRotationDegrees, schSheetName: "controls", schX: 11, schY: 4, connections: {
                    pin1: "net.IN1",
                    pin2: "net.PWM",
                    pin3: "net.IN2",
                } }), jsx(A_0603WAF1001T5E, { name: "R29", pcbRotation: productPlacement.R29.ccwRotationDegrees, schSheetName: "controls", schX: 11.0, schY: 0, connections: {
                    pin1: "net.IN1",
                    pin2: "net.R29_LED",
                } }), jsx(A_0603WAF1001T5E, { name: "R30", pcbRotation: productPlacement.R30.ccwRotationDegrees, schSheetName: "controls", schX: -11, schY: -4, connections: {
                    pin1: "net.IN2",
                    pin2: "net.R30_LED",
                } }), jsx(A_19_217_G7C_AN1P2_6T, { name: "LED2", pcbRotation: productPlacement.LED2.ccwRotationDegrees, schSheetName: "controls", schX: -5.5, schY: -4, schRotation: -90, connections: {
                    anode: "net.R29_LED",
                    cathode: "net.GND",
                } }), jsx(A_19_217_G7C_AN1P2_6T, { name: "LED3", pcbRotation: productPlacement.LED3.ccwRotationDegrees, schSheetName: "controls", schX: 0.0, schY: -4, schRotation: -90, connections: {
                    anode: "net.R30_LED",
                    cathode: "net.GND",
                } })] }));
}

const A_0603WAF2001T5E = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsx("resistor", { name: name, resistance: "2kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C22975"
            ]
        }, manufacturerPartNumber: "0603WAF2001T5E", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.42621199999996406, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": 0.6606031999999686 }, { "x": 0.42621199999996406, "y": 0.6606031999999686 }] }), jsx("silkscreenpath", { route: [{ "x": -0.42621200000007775, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": 0.6606031999999686 }, { "x": -0.42621200000007775, "y": 0.6606031999999686 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.4066016999998965, "y": 0.6820032000000538 }, { "x": 1.4066016999997828, "y": 0.6820032000000538 }, { "x": 1.4066016999997828, "y": -0.6820032000000538 }, { "x": -1.4066016999998965, "y": -0.6820032000000538 }, { "x": -1.4066016999998965, "y": 0.6820032000000538 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22975.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22975.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

const A_0603WAF1004T5E = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsx("resistor", { name: name, resistance: "1Mohm", supplierPartNumbers: {
            "jlcpcb": [
                "C22935"
            ]
        }, manufacturerPartNumber: "0603WAF1004T5E", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.42621199999996406, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": -0.6606031999999686 }, { "x": 1.3850873999999749, "y": 0.6606031999999686 }, { "x": 0.42621199999996406, "y": 0.6606031999999686 }] }), jsx("silkscreenpath", { route: [{ "x": -0.42621200000007775, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": -0.6606031999999686 }, { "x": -1.3850874000000886, "y": 0.6606031999999686 }, { "x": -0.42621200000007775, "y": 0.6606031999999686 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.647000000000162, "y": 0.9103999999999814 }, { "x": 1.6216000000000577, "y": 0.9103999999999814 }, { "x": 1.6216000000000577, "y": -0.9103999999998678 }, { "x": -1.647000000000162, "y": -0.9103999999998678 }, { "x": -1.647000000000162, "y": 0.9103999999999814 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22935.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22935.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

const A_0603WAF1102T5E = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsx("resistor", { name: name, resistance: "11kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C25950"
            ]
        }, manufacturerPartNumber: "0603WAF1102T5E", footprint: "smdpads2_p1.5067mm_pw0.8065mm_ph0.864mm_cyw2.8132mm_cyh1.364mm", cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C25950.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C25950.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

const pinLabels$6 = {
    pin1: ["CATHODE"],
    pin2: ["REF"],
    pin3: ["ANODE"]
};
const TL431AIDBZR = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$6, symbol: jsxs("symbol", { children: [jsx("schematicpath", { points: [{ "x": -0.2, "y": -0.4 }, { "x": 0.1, "y": -0.2 }, { "x": -0.2, "y": 0 }, { "x": -0.2, "y": -0.4 }], strokeColor: "#880000" }), jsx("port", { name: "pin3", pinNumber: 3, aliases: ["ANODE"], direction: "left", schX: -0.7, schY: -0.2, schStemLength: 0.4 }), jsx("port", { name: "pin2", pinNumber: 2, aliases: ["REF"], direction: "up", schX: 0, schY: 0.3, schStemLength: 0.3 }), jsx("port", { name: "pin1", pinNumber: 1, aliases: ["CATHODE"], direction: "right", schX: 0.6, schY: -0.2, schStemLength: 0.4 }), jsx("schematicpath", { points: [{ "x": 0.2, "y": 0 }, { "x": 0.1, "y": 0 }, { "x": 0.1, "y": -0.4 }, { "x": 0, "y": -0.4 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 0, "y": 0 }, { "x": 0, "y": -0.12 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": -0.3, "y": -0.2 }, { "x": -0.2, "y": -0.2 }], strokeColor: "#000000" }), jsx("schematicpath", { points: [{ "x": 0.1, "y": -0.2 }, { "x": 0.2, "y": -0.2 }], strokeColor: "#000000" })] }), supplierPartNumbers: {
            "jlcpcb": [
                "C23892"
            ]
        }, manufacturerPartNumber: "TL431AIDBZR", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "1.235075mm", pcbY: "-0.94996mm", width: "1.0700004mm", height: "0.5999988mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "1.235075mm", pcbY: "0.94996mm", width: "1.0700004mm", height: "0.5999988mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "-1.235075mm", pcbY: "0mm", width: "1.0700004mm", height: "0.5999988mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.8760714000002281, "y": 1.5361919999999145 }, { "x": -0.8763253999998142, "y": 1.5361919999999145 }, { "x": -0.8763253999998142, "y": 0.49458879999997407 }] }), jsx("silkscreenpath", { route: [{ "x": 0.8760714000002281, "y": -1.5361920000000282 }, { "x": -0.8763253999998142, "y": -1.5361920000000282 }, { "x": -0.8763253999998142, "y": -0.49458879999997407 }] }), jsx("silkscreenpath", { route: [{ "x": 0.8760714000002281, "y": 0.45539659999997184 }, { "x": 0.8760714000002281, "y": -0.45539659999985815 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.012827mm", pcbY: "2.524mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.0281269999999267, "y": 1.774000000000001 }, { "x": 2.0024730000002364, "y": 1.774000000000001 }, { "x": 2.0024730000002364, "y": -1.7993999999999915 }, { "x": -2.0281269999999267, "y": -1.7993999999999915 }, { "x": -2.0281269999999267, "y": 1.774000000000001 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C23892.obj?uuid=cefd4596db214da394d9632b2b88f8f2",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C23892.step?uuid=cefd4596db214da394d9632b2b88f8f2",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: 0.000012699999956566899, y: 0, z: 0 },
        }, ...props }));
};

const pinLabels$5 = {
    pin1: ["1OUT"],
    pin2: ["1IN_NEG"],
    pin3: ["1IN_POS"],
    pin4: ["GND"],
    pin5: ["2IN_POS"],
    pin6: ["2IN_NEG"],
    pin7: ["2OUT"],
    pin8: ["VCC"]
};
const pinAttributes$1 = {
    pin4: { requiresGround: true },
    pin8: { requiresPower: true }
};
const LM393DR = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$5, pinAttributes: pinAttributes$1, supplierPartNumbers: {
            "jlcpcb": [
                "C67470"
            ]
        }, manufacturerPartNumber: "LM393DR", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.905mm", pcbY: "-2.7051mm", width: "0.5684012mm", height: "1.950212mm", radius: "0.2842006mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "-0.635mm", pcbY: "-2.7051mm", width: "0.5684012mm", height: "1.950212mm", radius: "0.2842006mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "0.635mm", pcbY: "-2.7051mm", width: "0.5684012mm", height: "1.950212mm", radius: "0.2842006mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "1.905mm", pcbY: "-2.7051mm", width: "0.5684012mm", height: "1.950212mm", radius: "0.2842006mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin8"], pcbX: "-1.905mm", pcbY: "2.7051mm", width: "0.5684012mm", height: "1.950212mm", radius: "0.2842006mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin7"], pcbX: "-0.635mm", pcbY: "2.7051mm", width: "0.5684012mm", height: "1.950212mm", radius: "0.2842006mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "0.635mm", pcbY: "2.7051mm", width: "0.5684012mm", height: "1.950212mm", radius: "0.2842006mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "1.905mm", pcbY: "2.7051mm", width: "0.5684012mm", height: "1.950212mm", radius: "0.2842006mm", shape: "pill" }), jsx("silkscreenpath", { route: [{ "x": -2.4999950000001263, "y": -1.4999970000000076 }, { "x": 2.499994999999899, "y": -1.4999970000000076 }] }), jsx("silkscreenpath", { route: [{ "x": -2.4999950000001263, "y": 1.4999969999998939 }, { "x": 2.499994999999899, "y": 1.4999969999998939 }] }), jsx("silkscreenpath", { route: [{ "x": -2.4999950000001263, "y": -1.4999970000000076 }, { "x": -2.4999950000001263, "y": -0.7265669999998181 }] }), jsx("silkscreenpath", { route: [{ "x": -2.4999950000001263, "y": 1.4999969999998939 }, { "x": -2.4999950000001263, "y": 0.7262875999999778 }] }), jsx("silkscreenpath", { route: [{ "x": 2.499994999999899, "y": 1.4999969999998939 }, { "x": 2.499994999999899, "y": -1.4999970000000076 }] }), jsx("silkscreenpath", { route: [{ "x": -2.4999950000001263, "y": -0.7265669999998181 }, { "x": -2.2625565730616017, "y": -0.6727720384950544 }, { "x": -2.056152369867391, "y": -0.5436666188794561 }, { "x": -1.9038872877111999, "y": -0.3537028085727343 }, { "x": -1.822805887847835, "y": -0.12414516642888884 }, { "x": -1.8219844264158382, "y": 0.11930961309167287 }, { "x": -1.9015148578508843, "y": 0.34940918924542075 }, { "x": -2.0524945415012326, "y": 0.5403962034508822 }, { "x": -2.25802280368805, "y": 0.6708915593560505 }, { "x": -2.495092800000066, "y": 0.7262876000000915 }] }), jsx("silkscreencircle", { pcbX: "-1.778mm", pcbY: "-1.016mm", radius: "0.150114mm" }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0127mm", pcbY: "4.4036mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.7391999999999825, "y": 3.653599999999983 }, { "x": 2.7645999999998594, "y": 3.653599999999983 }, { "x": 2.7645999999998594, "y": -3.7806000000000495 }, { "x": -2.7391999999999825, "y": -3.7806000000000495 }, { "x": -2.7391999999999825, "y": 3.653599999999983 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C67470.obj?uuid=7abc64c95a1a4a04a4ef38f9097c870b",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C67470.step?uuid=7abc64c95a1a4a04a4ef38f9097c870b",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0.000012700000070253736, y: 0, z: 0 },
        }, ...props }));
};

function RailProtection() {
    return (jsxs(Fragment, { children: [jsx(TL431AIDBZR, { name: "U8", pcbRotation: productPlacement.U8.ccwRotationDegrees, schSheetName: "protection", schX: -11, schY: 8, connections: {
                    CATHODE: "net.VREF2V5",
                    REF: "net.VREF2V5",
                    ANODE: "net.GND",
                } }), jsx("schematictext", { text: "U8 \u00B7 TL431", schX: -10.2, schY: 7.35, fontSize: 0.15, anchor: "bottom_left" }), jsx(A_0603WAF2001T5E, { name: "R31", pcbRotation: productPlacement.R31.ccwRotationDegrees, schSheetName: "protection", schX: -5.5, schY: 8, schRotation: -90, connections: {
                    pin1: "net.VM",
                    pin2: "net.VREF2V5",
                } }), jsx(LM393DR, { name: "U9", pcbRotation: productPlacement.U9.ccwRotationDegrees, schSheetName: "protection", schX: 0.0, schY: 8, connections: {
                    "1OUT": "net.MOTOR_READY",
                    "1IN_NEG": "net.UV_REF",
                    "1IN_POS": "net.MOTOR_FB",
                    GND: "net.GND",
                    "2IN_POS": "net.OV_REF",
                    "2IN_NEG": "net.MOTOR_FB",
                    "2OUT": "net.OV_ACTIVE_N",
                    VCC: "net.VM",
                } }), jsx(A_0603WAF2702T5E, { name: "R32", pcbRotation: productPlacement.R32.ccwRotationDegrees, schSheetName: "protection", schX: 5.5, schY: 8, schRotation: -90, connections: {
                    pin1: "net.VREF2V5",
                    pin2: "net.UV_REF",
                } }), jsx(CRCW060310K0FKEA, { name: "R33", pcbRotation: productPlacement.R33.ccwRotationDegrees, schSheetName: "protection", schX: 11.0, schY: 8, schRotation: -90, connections: {
                    pin1: "net.UV_REF",
                    pin2: "net.GND",
                } }), jsx(A_0603WAF1001T5E, { name: "R34", pcbRotation: productPlacement.R34.ccwRotationDegrees, schSheetName: "protection", schX: -11, schY: 4, schRotation: -90, connections: {
                    pin1: "net.VCC3V3",
                    pin2: "net.MOTOR_READY",
                } }), jsx(B5819W_SL, { name: "D8", pcbRotation: productPlacement.D8.ccwRotationDegrees, schSheetName: "protection", schX: -5.5, schY: 4, connections: {
                    anode: "net.MOTOR_READY",
                    cathode: "net.INPUT_PG",
                } }), jsx(A_0603WAF2002T5E, { name: "R39", pcbRotation: productPlacement.R39.ccwRotationDegrees, schSheetName: "protection", schX: -5.5, schY: 0, schRotation: -90, connections: {
                    pin1: "net.VREF2V5",
                    pin2: "net.OV_REF",
                } }), jsx(A_0603WAF1102T5E, { name: "R65", pcbStyle: { silkscreenTextVisibility: "hidden" }, pcbRotation: productPlacement.R65.ccwRotationDegrees, schSheetName: "protection", schX: 5.5, schY: 4, schRotation: -90, connections: { pin1: "net.OV_REF", pin2: "net.GND" } }), jsx(A_0603WAF1004T5E, { name: "R40", pcbRotation: productPlacement.R40.ccwRotationDegrees, schSheetName: "protection", schX: 0.0, schY: 0, connections: {
                    pin1: "net.OV_ACTIVE_N",
                    pin2: "net.OV_REF",
                } }), jsx(CC0603KRX7R9BB104, { name: "C25", pcbRotation: productPlacement.C25.ccwRotationDegrees, schSheetName: "protection", schX: 5.5, schY: 0, schRotation: -90, connections: {
                    pin1: "net.VM",
                    pin2: "net.GND",
                } })] }));
}

const pinLabels$4 = {
    pin1: ["cathode", "neg"],
    pin2: ["anode", "pos"]
};
const BZT52C10 = (props) => {
    const { name = "D1", ...restProps } = props;
    return (jsx("diode", { name: name, pinLabels: pinLabels$4, supplierPartNumbers: {
            "jlcpcb": [
                "C2103"
            ]
        }, manufacturerPartNumber: "BZT52C10", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2", "anode", "pos"], pcbX: "1.692402mm", pcbY: "0mm", width: "0.9500108mm", height: "1.1500104mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1", "cathode", "neg"], pcbX: "-1.692402mm", pcbY: "0mm", width: "0.9500108mm", height: "1.1500104mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -1.5800070000000233, "y": -0.7551419999998643 }, { "x": -1.4061693999999534, "y": -0.7551419999998643 }] }), jsx("silkscreenpath", { route: [{ "x": -1.5800070000000233, "y": 0.755141999999978 }, { "x": -1.4061693999999534, "y": 0.755141999999978 }] }), jsx("silkscreenpath", { route: [{ "x": -1.5800070000000233, "y": 0.755141999999978 }, { "x": -1.5800070000000233, "y": 0.8661908000000267 }, { "x": -1.4061693999999534, "y": 0.8661908000000267 }] }), jsx("silkscreenpath", { route: [{ "x": -1.4061693999999534, "y": -0.866190799999913 }, { "x": -1.5800070000000233, "y": -0.866190799999913 }, { "x": -1.5800070000000233, "y": -0.7551419999998643 }] }), jsx("silkscreenpath", { route: [{ "x": -1.4061693999999534, "y": -0.7551419999998643 }, { "x": -1.4061693999999534, "y": -0.866190799999913 }] }), jsx("silkscreenpath", { route: [{ "x": -1.4061693999999534, "y": 0.8661908000000267 }, { "x": -1.4061693999999534, "y": 0.755141999999978 }] }), jsx("silkscreenpath", { route: [{ "x": -0.8271256000000449, "y": 0.8661908000000267 }, { "x": -0.8271256000000449, "y": -0.866190799999913 }] }), jsx("silkscreenpath", { route: [{ "x": -0.9700006000000485, "y": 0.8661908000000267 }, { "x": -0.9700006000000485, "y": -0.866190799999913 }] }), jsx("silkscreenpath", { route: [{ "x": -1.4061693999999534, "y": 0.8661908000000267 }, { "x": 1.4061693999999534, "y": 0.8661908000000267 }] }), jsx("silkscreenpath", { route: [{ "x": 1.4061693999999534, "y": 0.8661908000000267 }, { "x": 1.4061693999999534, "y": 0.6981951999998728 }] }), jsx("silkscreenpath", { route: [{ "x": -1.4061693999999534, "y": -0.866190799999913 }, { "x": 1.4061693999999534, "y": -0.866190799999913 }] }), jsx("silkscreenpath", { route: [{ "x": 1.4061693999999534, "y": -0.866190799999913 }, { "x": 1.4061693999999534, "y": -0.6981951999999865 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0127mm", pcbY: "1.889mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("fabricationnotepath", { route: [{ "x": -2.030196600000181, "y": 0.09479280000005019 }, { "x": -2.030196600000181, "y": -0.0947927999999365 }, { "x": -1.2717780000000403, "y": -0.0947927999999365 }, { "x": -1.2717780000000403, "y": 0.09479280000005019 }, { "x": -2.030196600000181, "y": 0.09479280000005019 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": 1.9354038000000173, "y": 0.0977900000000318 }, { "x": 1.9354038000000173, "y": -0.0917955999999549 }, { "x": 1.17698519999999, "y": -0.0917955999999549 }, { "x": 1.17698519999999, "y": 0.0977900000000318 }, { "x": 1.9354038000000173, "y": 0.0977900000000318 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": 1.6509999999999536, "y": 0.6349999999999909 }, { "x": 1.6509999999999536, "y": -0.629005599999914 }, { "x": 1.4613889999998264, "y": -0.629005599999914 }, { "x": 1.4613889999998264, "y": 0.6349999999999909 }, { "x": 1.6509999999999536, "y": 0.6349999999999909 }], strokeWidth: "0.254mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.4090000000001055, "y": 1.1390000000001237 }, { "x": 2.4343999999999824, "y": 1.1390000000001237 }, { "x": 2.4343999999999824, "y": -1.1897999999998774 }, { "x": -2.4090000000001055, "y": -1.1897999999998774 }, { "x": -2.4090000000001055, "y": 1.1390000000001237 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2103.obj?uuid=ffe28a36cfa04cde86eca0e275be7a76",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2103.step?uuid=ffe28a36cfa04cde86eca0e275be7a76",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0, z: -0.55 },
        }, ...restProps }));
};

const RPL_12K10R0FT = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsx("resistor", { name: name, resistance: "10ohm", supplierPartNumbers: {
            "jlcpcb": [
                "C2991665"
            ]
        }, manufacturerPartNumber: "RPL-12K10R0FT", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "3.066288mm", pcbY: "0mm", width: "1.2825222mm", height: "3.4560002mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-3.066288mm", pcbY: "0mm", width: "1.2825222mm", height: "3.4560002mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 2.501188799999909, "y": -1.9565873999999894 }, { "x": 3.9361363999998957, "y": -1.9565873999999894 }, { "x": 3.9361363999998957, "y": 1.9565874000001031 }, { "x": 2.501188799999909, "y": 1.9565874000001031 }] }), jsx("silkscreenpath", { route: [{ "x": -2.5011888000001363, "y": -1.9565873999999894 }, { "x": -3.9361364000000094, "y": -1.9565873999999894 }, { "x": -3.9361364000000094, "y": 1.9565874000001031 }, { "x": -2.5011888000001363, "y": 1.9565874000001031 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0mm", pcbY: "2.9558mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -4.187000000000012, "y": 2.2058000000000675 }, { "x": 4.186999999999898, "y": 2.2058000000000675 }, { "x": 4.186999999999898, "y": -2.2058000000000675 }, { "x": -4.187000000000012, "y": -2.2058000000000675 }, { "x": -4.187000000000012, "y": 2.2058000000000675 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2991665.obj?uuid=311a5ea298274ff3b9740151e78a7465",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2991665.step?uuid=311a5ea298274ff3b9740151e78a7465",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0.000012700000070253736, y: 0, z: 0 },
        }, ...restProps }));
};

const pinLabels$3 = {
    pin1: ["B"],
    pin2: ["E"],
    pin3: ["C"]
};
const MMBT3906LT1G = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$3, symbol: jsxs("symbol", { children: [jsx("schematicpath", { points: [{ "x": 0, "y": -0.06 }, { "x": 0.12, "y": -0.08 }, { "x": 0.06, "y": -0.16 }, { "x": 0, "y": -0.06 }], strokeColor: "#880000", isFilled: true, fillColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 0, "y": 0.18 }, { "x": 0, "y": -0.18 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 0.2, "y": 0.2 }, { "x": 0, "y": 0.06 }], strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": 0.06, "y": -0.1 }, { "x": 0.2, "y": -0.2 }], strokeColor: "#880000" }), jsx("port", { name: "pin1", pinNumber: 1, aliases: ["B"], direction: "left", schX: -0.2, schY: 0, schStemLength: 0.2 }), jsx("port", { name: "pin2", pinNumber: 2, aliases: ["E"], direction: "down", schX: 0.2, schY: -0.4, schStemLength: 0.2 }), jsx("port", { name: "pin3", pinNumber: 3, aliases: ["C"], direction: "up", schX: 0.2, schY: 0.4, schStemLength: 0.2 })] }), supplierPartNumbers: {
            "jlcpcb": [
                "C53444"
            ]
        }, manufacturerPartNumber: "MMBT3906LT1G", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "0.999998mm", pcbY: "-0.94996mm", width: "0.999998mm", height: "0.6500114mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "0.999998mm", pcbY: "0.94996mm", width: "0.999998mm", height: "0.6500114mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "-0.999998mm", pcbY: "0mm", width: "0.999998mm", height: "0.6500114mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 0.726211400000011, "y": 1.5262098000000606 }, { "x": -0.726211400000011, "y": 1.5262098000000606 }, { "x": -0.726211400000011, "y": 0.49458879999997407 }] }), jsx("silkscreenpath", { route: [{ "x": 0.726211400000011, "y": -1.5262097999999469 }, { "x": -0.726211400000011, "y": -1.5262097999999469 }, { "x": -0.726211400000011, "y": -0.49458879999997407 }] }), jsx("silkscreenpath", { route: [{ "x": 0.726211400000011, "y": 0.45539659999997184 }, { "x": 0.726211400000011, "y": -0.45539659999985815 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0254mm", pcbY: "2.524mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.748600000000124, "y": 1.774000000000001 }, { "x": 1.7993999999998778, "y": 1.774000000000001 }, { "x": 1.7993999999998778, "y": -1.774000000000001 }, { "x": -1.748600000000124, "y": -1.774000000000001 }, { "x": -1.748600000000124, "y": 1.774000000000001 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C53444.obj?uuid=d777607a152f4f3aac9bb0d0c14ed6fd",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C53444.step?uuid=d777607a152f4f3aac9bb0d0c14ed6fd",
            pcbRotationOffset: 180,
            modelOriginPosition: { x: 0.000012700000070253736, y: -12699999956566899e-21, z: 0.050795 },
        }, ...props }));
};

function EnergyDump() {
    return (jsxs(Fragment, { children: [jsx(MMBT3906LT1G, { name: "Q2", pcbRotation: productPlacement.Q2.ccwRotationDegrees, schSheetName: "dump", schX: -11, schY: 8, connections: {
                    B: "net.DUMP_BASE",
                    E: "net.VM",
                    C: "net.DUMP_DRIVE",
                } }), jsx("schematictext", { text: "Q2 \u00B7 MMBT3906", schX: -10.2, schY: 7.35, fontSize: 0.15, anchor: "bottom_left" }), jsx(CRCW060310K0FKEA, { name: "R41", pcbRotation: productPlacement.R41.ccwRotationDegrees, schSheetName: "dump", schX: -5.5, schY: 8, schRotation: -90, connections: {
                    pin1: "net.VM",
                    pin2: "net.DUMP_BASE",
                } }), jsx(CRCW060310K0FKEA, { name: "R42", pcbRotation: productPlacement.R42.ccwRotationDegrees, schSheetName: "dump", schX: 0.0, schY: 8, connections: {
                    pin1: "net.DUMP_BASE",
                    pin2: "net.OV_ACTIVE_N",
                } }), jsx(A_0603WAF1001T5E, { name: "R43", pcbRotation: productPlacement.R43.ccwRotationDegrees, schSheetName: "dump", schX: 5.5, schY: 8, connections: {
                    pin1: "net.DUMP_DRIVE",
                    pin2: "net.DUMP_GATE",
                } }), jsx(CRCW060310K0FKEA, { name: "R44", pcbRotation: productPlacement.R44.ccwRotationDegrees, schSheetName: "dump", schX: 11.0, schY: 8, schRotation: -90, connections: {
                    pin1: "net.DUMP_GATE",
                    pin2: "net.GND",
                } }), jsx(BZT52C10, { name: "D9", pcbRotation: productPlacement.D9.ccwRotationDegrees, schSheetName: "dump", schX: -11, schY: 4, schRotation: 90.0, connections: {
                    cathode: "net.DUMP_GATE",
                    anode: "net.GND",
                } }), jsx(AO3400A, { name: "Q3", pcbRotation: productPlacement.Q3.ccwRotationDegrees, schSheetName: "dump", schX: -5.5, schY: 4, connections: {
                    G: "net.DUMP_GATE",
                    S: "net.GND",
                    D: "net.DUMP_LOAD",
                } }), jsx("schematictext", { text: "Q3 \u00B7 AO3400A", schX: -4.6, schY: 3.35, fontSize: 0.15, anchor: "bottom_left" }), jsx(RPL_12K10R0FT, { name: "R45", pcbRotation: productPlacement.R45.ccwRotationDegrees, schSheetName: "dump", schX: 0.0, schY: 4, schRotation: -90, connections: {
                    pin1: "net.VM",
                    pin2: "net.DUMP_MID_A",
                } }), jsx(RPL_12K10R0FT, { name: "R46", pcbRotation: productPlacement.R46.ccwRotationDegrees, schSheetName: "dump", schX: 5.5, schY: 4, schRotation: -90, connections: {
                    pin1: "net.DUMP_MID_A",
                    pin2: "net.DUMP_LOAD",
                } }), jsx(RPL_12K10R0FT, { name: "R47", pcbRotation: productPlacement.R47.ccwRotationDegrees, schSheetName: "dump", schX: 11.0, schY: 4, schRotation: -90, connections: {
                    pin1: "net.VM",
                    pin2: "net.DUMP_MID_B",
                } }), jsx(RPL_12K10R0FT, { name: "R48", pcbRotation: productPlacement.R48.ccwRotationDegrees, schSheetName: "dump", schX: -11, schY: 0, schRotation: -90, connections: {
                    pin1: "net.DUMP_MID_B",
                    pin2: "net.DUMP_LOAD",
                } }), jsx(RPL_12K10R0FT, { name: "R69", pcbRotation: productPlacement.R69.ccwRotationDegrees, schSheetName: "dump", schX: -11, schY: -4, schRotation: -90, connections: { pin1: "net.VM", pin2: "net.DUMP_MID_C" } }), jsx(RPL_12K10R0FT, { name: "R70", pcbRotation: productPlacement.R70.ccwRotationDegrees, schSheetName: "dump", schX: -5.5, schY: -4, schRotation: -90, connections: { pin1: "net.DUMP_MID_C", pin2: "net.DUMP_LOAD" } }), jsx(RPL_12K10R0FT, { name: "R71", pcbRotation: productPlacement.R71.ccwRotationDegrees, schSheetName: "dump", schX: 0, schY: -4, schRotation: -90, connections: { pin1: "net.VM", pin2: "net.DUMP_MID_D" } }), jsx(RPL_12K10R0FT, { name: "R72", pcbRotation: productPlacement.R72.ccwRotationDegrees, schSheetName: "dump", schX: 5.5, schY: -4, schRotation: -90, connections: { pin1: "net.DUMP_MID_D", pin2: "net.DUMP_LOAD" } }), jsx(MMBT3904, { name: "Q4", pcbRotation: productPlacement.Q4.ccwRotationDegrees, schSheetName: "dump", schX: -5.5, schY: 0, connections: {
                    B: "net.OV_INHIBIT",
                    E: "net.GND",
                    C: "net.MOTOR_READY",
                } }), jsx("schematictext", { text: "Q4 \u00B7 MMBT3904", schX: -4.6, schY: -0.65, fontSize: 0.15, anchor: "bottom_left" }), jsx(CRCW060310K0FKEA, { name: "R49", pcbRotation: productPlacement.R49.ccwRotationDegrees, schSheetName: "dump", schX: 0.0, schY: 0, connections: {
                    pin1: "net.DUMP_GATE",
                    pin2: "net.OV_INHIBIT",
                } }), jsx(MMBT3904, { name: "Q5", pcbRotation: productPlacement.Q5.ccwRotationDegrees, schSheetName: "dump", schX: 5.5, schY: 0, connections: {
                    B: "net.OV_INHIBIT",
                    E: "net.GND",
                    C: "net.BUCK_EN",
                } }), jsx("schematictext", { text: "Q5 \u00B7 MMBT3904", schX: 6.3, schY: -0.65, fontSize: 0.15, anchor: "bottom_left" })] }));
}

const pinLabels$2 = {
    pin1: ["EN", "IN1"],
    pin2: ["PH", "IN2"],
    pin3: ["nSLEEP"],
    pin4: ["nFAULT"],
    pin5: ["VREF"],
    pin6: ["IPROPI"],
    pin7: ["IMODE"],
    pin8: ["OUT1"],
    pin9: ["PGND"],
    pin10: ["OUT2"],
    pin11: ["VM"],
    pin12: ["VCP"],
    pin13: ["CPH"],
    pin14: ["CPL"],
    pin15: ["GND"],
    pin16: ["PMODE"],
    pin17: ["EP"]
};
const pinAttributes = {
    pin9: { requiresGround: true },
    pin15: { requiresGround: true }
};
const DRV8874PWPR = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$2, pinAttributes: pinAttributes, supplierPartNumbers: {
            "jlcpcb": [
                "C1855818"
            ]
        }, manufacturerPartNumber: "DRV8874PWPR", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin1"], pcbX: "-2.275078mm", pcbY: "-2.873248mm", width: "0.3430016mm", height: "1.746504mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin2"], pcbX: "-1.625092mm", pcbY: "-2.873248mm", width: "0.3430016mm", height: "1.746504mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin3"], pcbX: "-0.975106mm", pcbY: "-2.873248mm", width: "0.3430016mm", height: "1.746504mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin4"], pcbX: "-0.324866mm", pcbY: "-2.873248mm", width: "0.3430016mm", height: "1.746504mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin5"], pcbX: "0.32512mm", pcbY: "-2.873248mm", width: "0.3430016mm", height: "1.746504mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin6"], pcbX: "0.975106mm", pcbY: "-2.873248mm", width: "0.3430016mm", height: "1.746504mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin7"], pcbX: "1.625092mm", pcbY: "-2.873248mm", width: "0.3430016mm", height: "1.746504mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin8"], pcbX: "2.275078mm", pcbY: "-2.873248mm", width: "0.3430016mm", height: "1.746504mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin16"], pcbX: "-2.275078mm", pcbY: "2.873248mm", width: "0.3430016mm", height: "1.746504mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin15"], pcbX: "-1.625092mm", pcbY: "2.873248mm", width: "0.3430016mm", height: "1.746504mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin14"], pcbX: "-0.975106mm", pcbY: "2.873248mm", width: "0.3430016mm", height: "1.746504mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin13"], pcbX: "-0.324866mm", pcbY: "2.873248mm", width: "0.3430016mm", height: "1.746504mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin12"], pcbX: "0.32512mm", pcbY: "2.873248mm", width: "0.3430016mm", height: "1.746504mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin11"], pcbX: "0.975106mm", pcbY: "2.873248mm", width: "0.3430016mm", height: "1.746504mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin10"], pcbX: "1.625092mm", pcbY: "2.873248mm", width: "0.3430016mm", height: "1.746504mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin9"], pcbX: "2.275078mm", pcbY: "2.873248mm", width: "0.3430016mm", height: "1.746504mm", radius: "0.1715008mm", shape: "pill" }), jsx("smtpad", { portHints: ["pin17"], pcbX: "0mm", pcbY: "0mm", width: "3.5500056mm", height: "2.45999mm", shape: "rect" }), jsx("via", { pcbX: "-0.499872mm", pcbY: "0.499872mm", outerDiameter: "0.6096mm", holeDiameter: "0.3048mm", layers: ["top", "bottom"] }), jsx("via", { pcbX: "0.500126mm", pcbY: "0.499872mm", outerDiameter: "0.6096mm", holeDiameter: "0.3048mm", layers: ["top", "bottom"] }), jsx("via", { pcbX: "-0.499872mm", pcbY: "-0.500126mm", outerDiameter: "0.6096mm", holeDiameter: "0.3048mm", layers: ["top", "bottom"] }), jsx("via", { pcbX: "0.500126mm", pcbY: "-0.500126mm", outerDiameter: "0.6096mm", holeDiameter: "0.3048mm", layers: ["top", "bottom"] }), jsx("silkscreenpath", { route: [{ "x": -2.5761949999999842, "y": -1.7713960000000952 }, { "x": -2.5761949999999842, "y": 1.7713959999999815 }, { "x": 2.5761949999999842, "y": 1.7713959999999815 }, { "x": 2.5761949999999842, "y": -1.7713960000000952 }, { "x": -2.5761949999999842, "y": -1.7713960000000952 }] }), jsx("silkscreencircle", { pcbX: "-2.275078mm", pcbY: "-1.019048mm", radius: "0.150114mm" }), jsx("silkscreencircle", { pcbX: "-2.898902mm", pcbY: "-2.873248mm", radius: "0.150114mm" }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.2413mm", pcbY: "4.5814mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -2.7499950000001263, "y": 3.996499999999969 }, { "x": 2.749994999999899, "y": 3.996499999999969 }, { "x": 2.749994999999899, "y": -3.996499999999969 }, { "x": -2.7499950000001263, "y": -3.996499999999969 }, { "x": -2.7499950000001263, "y": 3.996499999999969 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1855818.obj?uuid=89f85af05c9045c798a6d7a53851085c",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C1855818.step?uuid=89f85af05c9045c798a6d7a53851085c",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0, z: 0 },
        }, ...props }));
};

const pinLabels$1 = {
    pin1: ["pin1"],
    pin2: ["pin2"]
};
const SMBJ15CA = (props) => {
    return (jsx("chip", { pinLabels: pinLabels$1, symbol: jsxs("symbol", { children: [jsx("schematicpath", { svgPath: "M -0.2 -0.14 L 0 0 L -0.2 0.14 Z", strokeColor: "#880000" }), jsx("schematicpath", { svgPath: "M 0.2 0.14 L 0 0 L 0.2 -0.14 Z", strokeColor: "#880000" }), jsx("schematicpath", { points: [{ "x": -0.04, "y": 0.16 }, { "x": 0, "y": 0.12 }, { "x": 0, "y": -0.12 }, { "x": 0.04, "y": -0.16 }], strokeColor: "#880000" }), jsx("port", { name: "pin2", pinNumber: 2, aliases: ["2"], direction: "left", schX: -0.4, schY: 0, schStemLength: 0.2 }), jsx("port", { name: "pin1", pinNumber: 1, aliases: ["1"], direction: "right", schX: 0.4, schY: 0, schStemLength: 0.2 })] }), supplierPartNumbers: {
            "jlcpcb": [
                "C211759"
            ]
        }, manufacturerPartNumber: "SMBJ15CA", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "2.390902mm", pcbY: "0mm", width: "2.047494mm", height: "2.3999952mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-2.390902mm", pcbY: "0mm", width: "2.047494mm", height: "2.3999952mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": 2.666974600000003, "y": -1.9049999999999727 }, { "x": -2.599309000000062, "y": -1.8903695999999854 }] }), jsx("silkscreenpath", { route: [{ "x": 2.6627581999999848, "y": 1.9049999999999727 }, { "x": -2.5907999999999447, "y": 1.8871945999999298 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0.013208mm", pcbY: "2.905mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("fabricationnotepath", { route: [{ "x": 0.7619999999999436, "y": -0.7619999999999436 }, { "x": -11368683772161603e-29, "y": 0 }, { "x": 0.7619999999999436, "y": 0.7620000000000573 }, { "x": 0.7619999999999436, "y": -0.7619999999999436 }], strokeWidth: "0.254mm" }), jsx("fabricationnotepath", { route: [{ "x": -0.7620000000000573, "y": -0.7619999999999436 }, { "x": -0.7620000000000573, "y": 0.7620000000000573 }, { "x": -11368683772161603e-29, "y": 0 }, { "x": -0.7620000000000573, "y": -0.7619999999999436 }], strokeWidth: "0.254mm" }), jsx("courtyardoutline", { outline: [{ "x": -3.653092000000015, "y": 2.1549999999999727 }, { "x": 3.6795080000000553, "y": 2.1549999999999727 }, { "x": 3.6795080000000553, "y": -2.1549999999999727 }, { "x": -3.653092000000015, "y": -2.1549999999999727 }, { "x": -3.653092000000015, "y": 2.1549999999999727 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C211759.obj?uuid=dfcbf83754944015b911a9e368f2919e",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C211759.step?uuid=dfcbf83754944015b911a9e368f2919e",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0, z: -0.1 },
        }, ...props }));
};

const A_0402WGF3301TCE = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsx("resistor", { name: name, resistance: "3.3kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C25890"
            ]
        }, manufacturerPartNumber: "0402WGF3301TCE", footprint: jsxs("footprint", { children: [jsx("smtpad", { portHints: ["pin2"], pcbX: "0.432816mm", pcbY: "0mm", width: "0.565658mm", height: "0.540004mm", shape: "rect" }), jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.432816mm", pcbY: "0mm", width: "0.565658mm", height: "0.540004mm", shape: "rect" }), jsx("silkscreenpath", { route: [{ "x": -0.22621240000012222, "y": -0.4986020000000053 }, { "x": -0.9442450000001372, "y": -0.4986020000000053 }, { "x": -0.9442450000001372, "y": 0.498602000000119 }, { "x": -0.22621240000012222, "y": 0.498602000000119 }] }), jsx("silkscreenpath", { route: [{ "x": 0.22621240000000853, "y": -0.4986020000000053 }, { "x": 0.9442449999999099, "y": -0.4986020000000053 }, { "x": 0.9442449999999099, "y": 0.498602000000119 }, { "x": 0.22621240000000853, "y": 0.498602000000119 }] }), jsx("silkscreentext", { text: "{NAME}", pcbX: "0mm", pcbY: "1.508mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -1.1897999999998774, "y": 0.7580000000000382 }, { "x": 1.189799999999991, "y": 0.7580000000000382 }, { "x": 1.189799999999991, "y": -0.7326000000000477 }, { "x": -1.1897999999998774, "y": -0.7326000000000477 }, { "x": -1.1897999999998774, "y": 0.7580000000000382 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C25890.obj?uuid=026a4a15ab5c4a92ac0e421d6d013717",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C25890.step?uuid=026a4a15ab5c4a92ac0e421d6d013717",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: -12700000070253736e-21, z: 0 },
        }, ...restProps }));
};

const pinLabels = {
    pin1: ["pin1"],
    pin2: ["pin2"]
};
const DB126V_5_0_2P_GN_P = (props) => {
    return (jsx("chip", { pinLabels: pinLabels, supplierPartNumbers: {
            "jlcpcb": [
                "C395849"
            ]
        }, manufacturerPartNumber: "DB126V-5.0-2P-GN-P", footprint: jsxs("footprint", { children: [jsx("platedhole", { portHints: ["pin1"], pcbX: "-2.499868mm", pcbY: "-0.099949mm", outerDiameter: "2.499995mm", holeDiameter: "1.5999968mm", shape: "circle" }), jsx("platedhole", { portHints: ["pin2"], pcbX: "2.500122mm", pcbY: "-0.099949mm", outerDiameter: "2.499995mm", holeDiameter: "1.5999968mm", shape: "circle" }), jsx("silkscreenpath", { route: [{ "x": -3.810000000000059, "y": -3.7829490000000305 }, { "x": -3.810000000000059, "y": -2.0049490000000105 }, { "x": -1.143000000000029, "y": -2.0049490000000105 }, { "x": -1.143000000000029, "y": -3.7829490000000305 }] }), jsx("silkscreenpath", { route: [{ "x": 1.1429999999999154, "y": -3.7829490000000305 }, { "x": 1.1429999999999154, "y": -2.0049490000000105 }, { "x": 3.8099999999999454, "y": -2.0049490000000105 }, { "x": 3.8099999999999454, "y": -3.7829490000000305 }] }), jsx("silkscreenrect", { pcbX: "0mm", pcbY: "0mm", width: "9.99998mm", height: "7.800086mm", strokeWidth: "0.254mm" }), jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.1397mm", pcbY: "5.014851mm", anchorAlignment: "center", fontSize: "1mm" }), jsx("courtyardoutline", { outline: [{ "x": -5.660200000000032, "y": 4.264850999999908 }, { "x": 5.380799999999908, "y": 4.264850999999908 }, { "x": 5.380799999999908, "y": -4.312349000000154 }, { "x": -5.660200000000032, "y": -4.312349000000154 }, { "x": -5.660200000000032, "y": 4.264850999999908 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C395849.obj?uuid=6da7a3e4055f4f749492a0377ad92fa1",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C395849.step?uuid=6da7a3e4055f4f749492a0377ad92fa1",
            pcbRotationOffset: 180,
            modelOriginPosition: { x: -2.490965599999935, y: -0.11496059999999497, z: -6999999999646178e-21 },
        }, ...props }));
};

function MotorBridge() {
    return (jsxs(Fragment, { children: [jsx(DRV8874PWPR, { name: "U10", pcbRotation: productPlacement.U10.ccwRotationDegrees, schSheetName: "motor", schX: -11, schY: 8, connections: {
                    pin1: "net.IN1",
                    pin2: "net.IN2",
                    pin3: "net.MOTOR_READY",
                    pin4: "net.MOTOR_FAULT_N",
                    pin5: "net.VCC3V3",
                    pin6: "net.IPROPI",
                    pin7: "net.GND",
                    pin8: "net.MOTOR_P",
                    pin9: "net.GND",
                    pin10: "net.MOTOR_N",
                    pin11: "net.VM",
                    pin12: "net.VCP",
                    pin13: "net.CPH",
                    pin14: "net.CPL",
                    pin15: "net.GND",
                    pin16: "net.VCC3V3",
                    pin17: "net.GND",
                } }), jsx(A_0402WGF3301TCE, { name: "R50", pcbRotation: productPlacement.R50.ccwRotationDegrees, schSheetName: "motor", schX: -5.5, schY: 8, schRotation: -90, connections: {
                    pin1: "net.IPROPI",
                    pin2: "net.GND",
                } }), jsx(CRCW060310K0FKEA, { name: "R51", pcbRotation: productPlacement.R51.ccwRotationDegrees, schSheetName: "motor", schX: 0.0, schY: 8, schRotation: -90, connections: {
                    pin1: "net.VCC3V3",
                    pin2: "net.MOTOR_FAULT_N",
                } }), jsx(CL10B223KB8NNNC, { name: "C26", pcbRotation: productPlacement.C26.ccwRotationDegrees, schSheetName: "motor", schX: -11, schY: 4, connections: {
                    pin1: "net.CPH",
                    pin2: "net.CPL",
                } }), jsx(CC0603KRX7R9BB104, { name: "C27", pcbRotation: productPlacement.C27.ccwRotationDegrees, schSheetName: "motor", schX: -5.5, schY: 4, schRotation: -90, connections: {
                    pin1: "net.VCP",
                    pin2: "net.VM",
                } }), jsx(CC0603KRX7R9BB104, { name: "C28", pcbRotation: productPlacement.C28.ccwRotationDegrees, schSheetName: "motor", schX: 0.0, schY: 4, schRotation: -90, connections: {
                    pin1: "net.VM",
                    pin2: "net.GND",
                } }), jsx(GRM31CR61E476ME44L, { name: "C29", pcbRotation: productPlacement.C29.ccwRotationDegrees, schSheetName: "motor", schX: 2, schY: 4, schRotation: -90, connections: {
                    pin1: "net.VM",
                    pin2: "net.GND",
                } }), jsx(SMBJ15CA, { name: "D10", pcbRotation: productPlacement.D10.ccwRotationDegrees, schSheetName: "motor", schX: 11.0, schY: 4, connections: {
                    pin1: "net.MOTOR_P",
                    pin2: "net.MOTOR_N",
                } }), jsx("schematictext", { text: "D10 \u00B7 SMBJ15CA", schX: 11.8, schY: 3.35, fontSize: 0.15, anchor: "bottom_left" }), jsx(SMBJ15CA, { name: "D11", pcbRotation: productPlacement.D11.ccwRotationDegrees, schSheetName: "motor", schX: -11, schY: 0, schRotation: 90, connections: {
                    pin1: "net.VM",
                    pin2: "net.GND",
                } }), jsx("schematictext", { text: "D11 \u00B7 SMBJ15CA", schX: -10.2, schY: -0.65, fontSize: 0.15, anchor: "bottom_left" }), jsx(DB126V_5_0_2P_GN_P, { name: "J2", pcbRotation: productPlacement.J2.ccwRotationDegrees, schSheetName: "motor", schX: -5.5, schY: 0, connections: {
                    pin1: "net.MOTOR_P",
                    pin2: "net.MOTOR_N",
                } }), jsx(A_0402WGF3301TCE, { name: "R54", pcbRotation: productPlacement.R54.ccwRotationDegrees, schSheetName: "motor", schX: 0.0, schY: 0, schRotation: -90, connections: {
                    pin1: "net.VM",
                    pin2: "net.POWER_LED",
                } }), jsx(A_19_217_G7C_AN1P2_6T, { name: "LED1", pcbRotation: productPlacement.LED1.ccwRotationDegrees, schSheetName: "motor", schX: 5.5, schY: 0, schRotation: -90, connections: {
                    anode: "net.POWER_LED",
                    cathode: "net.GND",
                } }), jsx(A_5015, { name: "TP7", pinAttributes: {
                    pin1: { isPassive: true, includeInBoardPinout: true },
                }, pcbRotation: productPlacement.TP7.ccwRotationDegrees, schSheetName: "motor", schX: -11, schY: -4, connections: { pin1: "net.VM" } })] }));
}

// Native saved routing paths, in board-world mm (+X right, +Y up).
// Intentional short IC pad escapes widen outside neighbouring pad rows.
// These paths are not fabrication evidence until the emitted copper passes DRC.
const powerPaths = [
    {
        connection: "U5.SW",
        route: [
            {
                route_type: "wire",
                x: -6.795,
                y: -21.769108,
                width: 0.5,
                layer: "top",
            },
            {
                route_type: "wire",
                x: -6.795,
                y: -23.35,
                width: 0.5,
                layer: "top",
                width_interpolation_mode: "linear",
            },
            { route_type: "wire", x: -5.4, y: -24.5, width: 1.3, layer: "top" },
            { route_type: "wire", x: -3.7, y: -25.003678, width: 1.3, layer: "top" },
        ],
    },
    {
        connection: "C12.pin2",
        route: [
            { route_type: "wire", x: -3.2, y: -16.7, width: 0.2, layer: "top" },
            { route_type: "wire", x: -1.5, y: -16.7, width: 0.2, layer: "top" },
            { route_type: "wire", x: 0.500035, y: -18.5, width: 0.2, layer: "top" },
        ],
    },
    {
        connection: "D5.cathode",
        route: [
            {
                route_type: "wire",
                x: -3.7,
                y: -25.003678,
                width: 1.3,
                layer: "top",
                width_interpolation_mode: "linear",
            },
            { route_type: "wire", x: -1.5, y: -25.003678, width: 2, layer: "top" },
            { route_type: "wire", x: 0.500035, y: -23.5, width: 2, layer: "top" },
            { route_type: "wire", x: 0.500035, y: -18.5, width: 2, layer: "top" },
        ],
    },
    {
        connection: "U10.pin8",
        route: [
            {
                route_type: "wire",
                x: 27.275078,
                y: -2.873248,
                width: 0.3,
                layer: "top",
            },
            {
                route_type: "wire",
                x: 27.275078,
                y: -4.1,
                width: 0.3,
                layer: "top",
                width_interpolation_mode: "linear",
            },
            { route_type: "wire", x: 30.5, y: -5.2, width: 2, layer: "top" },
            { route_type: "wire", x: 30.5, y: -7.9, width: 2, layer: "top" },
            { route_type: "wire", x: 38, y: -7.9, width: 2, layer: "top" },
            { route_type: "wire", x: 38, y: 5.50006, width: 2, layer: "top" },
            { route_type: "wire", x: 34.09995, y: 5.50006, width: 2, layer: "top" },
        ],
    },
    {
        connection: "D10.pin1",
        route: [
            { route_type: "wire", x: 31, y: 15.609098, width: 1.3, layer: "top" },
            { route_type: "wire", x: 38, y: 15.609098, width: 1.3, layer: "top" },
            { route_type: "wire", x: 38, y: 5.50006, width: 1.3, layer: "top" },
            { route_type: "wire", x: 34.09995, y: 5.50006, width: 1.3, layer: "top" },
        ],
    },
    {
        connection: "U10.pin10",
        route: [
            {
                route_type: "wire",
                x: 26.625092,
                y: 2.873248,
                width: 0.3,
                layer: "top",
            },
            {
                route_type: "wire",
                x: 26.625092,
                y: 4.2,
                width: 0.3,
                layer: "top",
                width_interpolation_mode: "linear",
            },
            {
                route_type: "wire",
                x: 29.6,
                y: 4.2,
                width: 0.6,
                layer: "top",
                width_interpolation_mode: "linear",
            },
            { route_type: "wire", x: 30.2, y: 6.5, width: 2, layer: "top" },
            { route_type: "wire", x: 30.2, y: 10.50005, width: 2, layer: "top" },
            { route_type: "wire", x: 34.09995, y: 10.50005, width: 2, layer: "top" },
        ],
    },
    {
        connection: "D10.pin2",
        route: [
            { route_type: "wire", x: 31, y: 20.390902, width: 1.3, layer: "top" },
            { route_type: "wire", x: 28.5, y: 20.390902, width: 1.3, layer: "top" },
            { route_type: "wire", x: 28.5, y: 10.50005, width: 1.3, layer: "top" },
            {
                route_type: "wire",
                x: 34.09995,
                y: 10.50005,
                width: 1.3,
                layer: "top",
            },
        ],
    },
];
// Native quiet divider/filter tree. Anchors match the validated supplier pads;
// the last endpoint is the already-routed U11 pin7 bottom breakout target.
const adcVbusPaths = [
    {
        connection: "R60.pin2",
        route: [
            { route_type: "wire", x: -10.746636, y: -2, width: 0.2, layer: "top" },
            { route_type: "wire", x: -11.4, y: -2, width: 0.2, layer: "top" },
            { route_type: "wire", x: -11.4, y: -4.8, width: 0.2, layer: "top" },
            { route_type: "wire", x: -11.253364, y: -4.8, width: 0.2, layer: "top" },
        ],
    },
    {
        connection: "C33.pin1",
        route: [
            { route_type: "wire", x: -10.700024, y: -7.2, width: 0.2, layer: "top" },
            { route_type: "wire", x: -12, y: -7.2, width: 0.2, layer: "top" },
            { route_type: "wire", x: -12, y: -4.8, width: 0.2, layer: "top" },
            { route_type: "wire", x: -11.253364, y: -4.8, width: 0.2, layer: "top" },
        ],
    },
    {
        connection: "R61.pin1",
        route: [
            { route_type: "wire", x: -11.253364, y: -4.8, width: 0.2, layer: "top" },
            { route_type: "wire", x: -12, y: -4.8, width: 0.2, layer: "top" },
            { route_type: "wire", x: -12, y: -6, width: 0.2, layer: "top" },
            {
                route_type: "via",
                x: -12,
                y: -6,
                from_layer: "top",
                to_layer: "bottom",
                via_diameter: 0.6,
                via_hole_diameter: 0.3,
            },
            { route_type: "wire", x: -12, y: -6, width: 0.2, layer: "bottom" },
            { route_type: "wire", x: -14.35, y: -6, width: 0.2, layer: "bottom" },
            { route_type: "wire", x: -15.65, y: -5.025, width: 0.2, layer: "bottom" },
        ],
    },
];
// Reserve the reset capacitor and accessible reset contact before supply routing.
// Board-world mm; these paths use the unchanged validated electrical endpoints.
const resetPaths = [
    {
        connection: "C32.pin1",
        route: [
            { route_type: "wire", x: -12.9, y: -5.050024, width: 0.2, layer: "top" },
            { route_type: "wire", x: -13.8, y: -5.675, width: 0.2, layer: "top" },
            { route_type: "wire", x: -14.8, y: -5.675, width: 0.2, layer: "top" },
        ],
    },
    {
        connection: "TP3.pin1",
        route: [
            { route_type: "wire", x: -19.75, y: 3.25, width: 0.2, layer: "top" },
            { route_type: "wire", x: -19.75, y: 2.1, width: 0.2, layer: "top" },
            { route_type: "wire", x: -16.9, y: -0.5, width: 0.2, layer: "top" },
            { route_type: "wire", x: -14.4, y: -2.8, width: 0.2, layer: "top" },
            { route_type: "wire", x: -14.4, y: -5.2, width: 0.2, layer: "top" },
            { route_type: "wire", x: -14.8, y: -5.675, width: 0.2, layer: "top" },
        ],
    },
];
function PowerRouting() {
    return (jsxs(Fragment, { children: [jsx("autoroutingphase", { phaseIndex: 0, 
                // Fixed high-current paths precede the ground and signal routing stages.
                fanoutPourNetMap: {}, connections: [
                    "net.SWITCH_NODE",
                    "net.MOTOR_P",
                    "net.MOTOR_N",
                    "net.ADC_VBUS",
                    "net.MCU_NRST",
                ], pcbTracePaths: [...powerPaths, ...adcVbusPaths, ...resetPaths] }), jsx("autoroutingphase", { name: "ground-plane-connections", phaseIndex: 11, autorouter: {
                    preset: "fanout",
                    allowViaInPad: false,
                    traceClearance: 0.25,
                }, connections: ["net.GND"], fanoutPourNetMap: { bottom: "GND" } })] }));
}

function UsbCPdBrushedMotorController({ routingEnabled = false, } = {}) {
    return (jsxs("board", { width: "80mm", height: "65mm", thickness: "1.6mm", layers: 4, routingDisabled: !routingEnabled, allowBlindAndBuriedVias: false, minTraceWidth: 0.2, minTraceToPadEdgeClearance: 0.2, minPadEdgeToPadEdgeClearance: 0.2, minTraceToHoleEdgeClearance: 0.28, minBoardEdgeClearance: 0.5, minViaHoleDiameter: 0.3, minViaPadDiameter: 0.6, minViaHoleEdgeToViaHoleEdgeClearance: 0.25, minPlatedHoleDrillEdgeToDrillEdgeClearance: 0.45, minViaEdgeToPadEdgeClearance: 0.2, manualEdits: { pcb_placements: pcbPlacements }, isViaInPadAllowed: true, pcbPlatedHoleSolderPaste: "none", autorouter: {
            preset: "auto_local",
            allowViaInPad: false,
            traceClearance: 0.25,
        }, autorouterVersion: "beta_pipeline9", autorouterEffortLevel: "2x", pcbSx: {
            "& footprint silkscreentext[text='ON']": { visibility: "hidden" },
            "& footprint silkscreentext[text='{NAME}']": { visibility: "hidden" },
        }, defaultTraceWidth: 0.2, schLayout: { layoutMode: "relative" }, children: [jsx(MechanicalFeatures, {}), jsx(PowerRouting, {}), jsx("copperpour", { name: "ground_top", layer: "top", connectsTo: "net.GND", clearance: 0.23, boardEdgeMargin: 0.5, useThermalReliefs: false }), jsx("copperpour", { name: "ground_bottom", layer: "bottom", connectsTo: "net.GND", clearance: 0.23, boardEdgeMargin: 0.5, useThermalReliefs: false }), jsx("copperpour", { name: "ground_inner1", layer: "inner1", connectsTo: "net.GND", clearance: 0.23, boardEdgeMargin: 0.5, useThermalReliefs: false }), jsx("copperpour", { name: "ground_inner2", layer: "inner2", connectsTo: "net.GND", clearance: 0.23, boardEdgeMargin: 0.5, useThermalReliefs: false }), jsx(RoutingNets, {}), jsx(LogicPadEscapes, {}), jsxs("schematicsheet", { name: "usb", displayName: "USB-C PD and quiet supplies \u00B7 A22", sheetSize: "A4", sheetIndex: 1, children: [jsx("schematictext", { text: "A22 PROTOTYPE | USB-C PD and quiet supplies \u00B7 A22 | 1/8", schX: 0, schY: 10.2, fontSize: 0.3 }), jsx("schematictext", { text: "PROTOTYPE \u2014 motor qualification and physical testing pending", schX: 0, schY: -9.5, fontSize: 0.2 }), jsx(UsbInput, {})] }), jsxs("schematicsheet", { name: "pdhost", displayName: "PD power qualification and voltage selection \u00B7 A22", sheetSize: "A4", sheetIndex: 8, children: [jsx("schematictext", { text: "A22 PROTOTYPE | PD qualification / voltage selection | 8/8", schY: 10.2, fontSize: 0.3 }), jsx("schematictext", { text: "SW2: both OFF = 5 V; 9 ON = 9 V; 12 ON = 12 V; both ON = INHIBIT", schY: -10, fontSize: 0.2 }), jsx(PdQualification, {})] }), jsxs("schematicsheet", { name: "input", displayName: "Contract-controlled input protection \u00B7 A22", sheetSize: "A4", sheetIndex: 2, children: [jsx("schematictext", { text: "A22 PROTOTYPE | Contract-controlled input protection \u00B7 A22 | 2/8", schX: 0, schY: 10.2, fontSize: 0.3 }), jsx("schematictext", { text: "PROTOTYPE \u2014 motor qualification and physical testing pending", schX: 0, schY: -9.5, fontSize: 0.2 }), jsx(InputProtection, {})] }), jsxs("schematicsheet", { name: "buck", displayName: "Regulated 5 / 9 / 12 V motor supply \u00B7 A22", sheetSize: "A4", sheetIndex: 3, children: [jsx("schematictext", { text: "A22 PROTOTYPE | Regulated 5 / 9 / 12 V motor supply \u00B7 A22 | 3/8", schX: 0, schY: 10.2, fontSize: 0.3 }), jsx("schematictext", { text: "PROTOTYPE \u2014 motor qualification and physical testing pending", schX: 0, schY: -9.5, fontSize: 0.2 }), jsx(MotorSupply, {})] }), jsxs("schematicsheet", { name: "controls", displayName: "Hardware PWM and REV / OFF / FWD \u00B7 A22", sheetSize: "A4", sheetIndex: 4, children: [jsx("schematictext", { text: "A22 PROTOTYPE | Hardware PWM and REV / OFF / FWD \u00B7 A22 | 4/8", schX: 0, schY: 10.2, fontSize: 0.3 }), jsx("schematictext", { text: "PROTOTYPE \u2014 motor qualification and physical testing pending", schX: 0, schY: -9.5, fontSize: 0.2 }), jsx(PwmControls, {}), jsx("schematictext", { text: "SW1 physical pin 2 = PWM common; 2-1 FWD / OPEN OFF / 2-3 REV", schX: 0, schY: -7, fontSize: 0.2 })] }), jsxs("schematicsheet", { name: "protection", displayName: "Motor rail UV / OV monitoring \u00B7 A22", sheetSize: "A4", sheetIndex: 5, children: [jsx("schematictext", { text: "A22 PROTOTYPE | Motor rail UV / OV monitoring \u00B7 A22 | 5/8", schX: 0, schY: 10.2, fontSize: 0.3 }), jsx("schematictext", { text: "PROTOTYPE \u2014 motor qualification and physical testing pending", schX: 0, schY: -9.5, fontSize: 0.2 }), jsx(RailProtection, {})] }), jsxs("schematicsheet", { name: "motor", displayName: "Integrated H-bridge and motor output \u00B7 A22", sheetSize: "A4", sheetIndex: 7, children: [jsx("schematictext", { text: "A22 PROTOTYPE | Integrated H-bridge and motor output \u00B7 A22 | 7/8", schX: 0, schY: 10.2, fontSize: 0.3 }), jsx("schematictext", { text: "PROTOTYPE \u2014 motor qualification and physical testing pending", schX: 0, schY: -9.5, fontSize: 0.2 }), jsx(MotorBridge, {})] }), jsxs("schematicsheet", { name: "dump", displayName: "Regenerative energy dump \u00B7 A22", sheetSize: "A4", sheetIndex: 6, children: [jsx("schematictext", { text: "A22 PROTOTYPE | Regenerative energy dump \u00B7 A22 | 6/8", schX: 0, schY: 10.2, fontSize: 0.3 }), jsx("schematictext", { text: "PROTOTYPE \u2014 motor qualification and physical testing pending", schX: 0, schY: -9.5, fontSize: 0.2 }), jsx(EnergyDump, {})] })] }));
}

export { UsbCPdBrushedMotorController as default };