rushabhcodes/desk-fidget-counter

A desk knob assembly combining a circuit board with PETG-printed mechanical parts and vendor CAD-modeled hardware.

Version
5.6.1
License
MIT
Stars
0

dist/index.cjs

PCBPCB preview for dist/index.cjs
SchematicSchematic preview for dist/index.cjs
'use strict';

var jsxRuntime = require('react/jsx-runtime');
var tscircuit = require('tscircuit');
var react = require('react');

var usb_center = [
	0,
	37
];
var display_connector = [
	-21.5,
	-4.5
];
var pcb_outline = {
	usb_tab: {
		replace_above_y: 33,
		points: [
			[
				14.5,
				33
			],
			[
				14.5,
				35.5
			],
			[
				7,
				41.1
			],
			[
				-7,
				41.1
			],
			[
				-14.5,
				35.5
			],
			[
				-14.5,
				33
			]
		]
	},
	button_tab: {
		replace_below_y: -33,
		points: [
			[
				-14,
				-33
			],
			[
				-14,
				-35.5
			],
			[
				-5,
				-41.2
			],
			[
				-3.5,
				-42.1
			],
			[
				3.5,
				-42.1
			],
			[
				5,
				-41.2
			],
			[
				14,
				-35.5
			],
			[
				14,
				-33
			]
		]
	}
};
var front_button = {
	pcb_center: [
		0,
		-40.9
	]};
var dimensions = {
	usb_center: usb_center,
	display_connector: display_connector,
	pcb_outline: pcb_outline,
	front_button: front_button};

var minimum_track_width = 0.1;
var minimum_track_and_via_copper_clearance = 0.1;
var minimum_nonplated_hole_to_copper = 0.2;
var minimum_via_drill_to_drill = 0.2;
var minimum_component_plated_drill_to_drill = 0.45;
var minimum_copper_to_board_edge = 0.3;
var via_drill_diameter = 0.3;
var via_pad_diameter = 0.6;
var fabrication = {
	minimum_track_width: minimum_track_width,
	minimum_track_and_via_copper_clearance: minimum_track_and_via_copper_clearance,
	minimum_nonplated_hole_to_copper: minimum_nonplated_hole_to_copper,
	minimum_via_drill_to_drill: minimum_via_drill_to_drill,
	minimum_component_plated_drill_to_drill: minimum_component_plated_drill_to_drill,
	minimum_copper_to_board_edge: minimum_copper_to_board_edge,
	via_drill_diameter: via_drill_diameter,
	via_pad_diameter: via_pad_diameter};

var lqfp48 = {
	step: "mechanical/vendor/step/LQFP-48_7x7mm_P0.5mm.step",
	obj: "mechanical/vendor/obj/lqfp48.obj",
	source: "https://gitlab.com/kicad/libraries/kicad-packages3D/-/blob/master/Package_QFP.3dshapes/LQFP-48_7x7mm_P0.5mm.step",
	bounds: [
		[
			-4.5,
			-4.5,
			-2220446049250313e-31
		],
		[
			4.5,
			4.5,
			1.5
		]
	],
	size: {
		x: 9,
		y: 9,
		z: 1.5000000000000002
	},
	pin_tail_trim_mm: null
};
var soic8 = {
	step: "mechanical/vendor/step/SOIC-8_3.9x4.9mm_P1.27mm.step",
	obj: "mechanical/vendor/obj/soic8.obj",
	source: "https://gitlab.com/kicad/libraries/kicad-packages3D/-/blob/master/Package_SO.3dshapes/SOIC-8_3.9x4.9mm_P1.27mm.step",
	bounds: [
		[
			-3,
			-2.450000047683716,
			-16653345369377348e-32
		],
		[
			3,
			2.450000047683716,
			1.75
		]
	],
	size: {
		x: 6,
		y: 4.900000095367432,
		z: 1.7500000000000002
	},
	pin_tail_trim_mm: null
};
var c0603 = {
	step: "mechanical/vendor/step/C_0603_1608Metric.step",
	obj: "mechanical/vendor/obj/c0603.obj",
	source: "https://gitlab.com/kicad/libraries/kicad-packages3D/-/blob/master/Capacitor_SMD.3dshapes/C_0603_1608Metric.step",
	bounds: [
		[
			-0.800000011920929,
			-0.4000000059604645,
			0
		],
		[
			0.800000011920929,
			0.4000000059604645,
			0.800000011920929
		]
	],
	size: {
		x: 1.600000023841858,
		y: 0.800000011920929,
		z: 0.800000011920929
	},
	pin_tail_trim_mm: null
};
var c0805 = {
	step: "mechanical/vendor/step/C_0805_2012Metric.step",
	obj: "mechanical/vendor/obj/c0805.obj",
	source: "https://gitlab.com/kicad/libraries/kicad-packages3D/-/blob/master/Capacitor_SMD.3dshapes/C_0805_2012Metric.step",
	bounds: [
		[
			-1,
			-0.625,
			0
		],
		[
			1,
			0.625,
			1.25
		]
	],
	size: {
		x: 2,
		y: 1.25,
		z: 1.25
	},
	pin_tail_trim_mm: null
};
var r0603 = {
	step: "mechanical/vendor/step/R_0603_1608Metric.step",
	obj: "mechanical/vendor/obj/r0603.obj",
	source: "https://gitlab.com/kicad/libraries/kicad-packages3D/-/blob/master/Resistor_SMD.3dshapes/R_0603_1608Metric.step",
	bounds: [
		[
			-0.800000011920929,
			-0.4000000059604645,
			-27755575615628914e-33
		],
		[
			0.800000011920929,
			0.4000000059604645,
			0.44999998807907104
		]
	],
	size: {
		x: 1.600000023841858,
		y: 0.800000011920929,
		z: 0.44999998807907104
	},
	pin_tail_trim_mm: null
};
var sod323 = {
	step: "mechanical/vendor/step/D_SOD-323.step",
	obj: "mechanical/vendor/obj/sod323.obj",
	source: "https://gitlab.com/kicad/libraries/kicad-packages3D/-/blob/master/Diode_SMD.3dshapes/D_SOD-323.step",
	bounds: [
		[
			-1.25,
			-0.625,
			-5551115123125783e-32
		],
		[
			1.25,
			0.625,
			1.1100000143051147
		]
	],
	size: {
		x: 2.5,
		y: 1.25,
		z: 1.1100000143051147
	},
	pin_tail_trim_mm: null
};
var led0603 = {
	step: "mechanical/vendor/step/LED_0603_1608Metric.step",
	obj: "mechanical/vendor/obj/led0603.obj",
	source: "https://gitlab.com/kicad/libraries/kicad-packages3D/-/blob/master/LED_SMD.3dshapes/LED_0603_1608Metric.step",
	bounds: [
		[
			-0.800000011920929,
			-0.4000000059604645,
			-3469446951953614e-33
		],
		[
			0.800000011920929,
			0.4000000059604645,
			1.100000023841858
		]
	],
	size: {
		x: 1.600000023841858,
		y: 0.800000011920929,
		z: 1.100000023841858
	},
	pin_tail_trim_mm: null
};
var tcut1600 = {
	obj: "mechanical/vendor/obj/tcut1600.obj",
	source: "https://www.vishay.com/docs/84174/tcut1600x01.pdf",
	bounds: [
		[
			-3.4000000000000004,
			-2,
			0
		],
		[
			2.75,
			2,
			5.7
		]
	],
	size: {
		x: 6.15,
		y: 4,
		z: 5.7
	}
};
var g12ah = {
	obj: "mechanical/vendor/obj/g12ah.obj",
	source: "https://www.nkkswitches.com/pdf/Gtoggles.pdf",
	bounds: [
		[
			-3.5,
			-1.0499999999999998,
			-2.4
		],
		[
			3.5,
			11.304251681231928,
			5.134497392516472
		]
	],
	size: {
		x: 7,
		y: 12.35425168123193,
		z: 7.534497392516473
	}
};
var b3u3000 = {
	step: "mechanical/vendor/step/SW_SPST_B3U-3000P.step",
	obj: "mechanical/vendor/obj/b3u3000.obj",
	source: "https://gitlab.com/kicad/libraries/kicad-packages3D/-/blob/master/Button_Switch_SMD.3dshapes/SW_SPST_B3U-3000P.step",
	bounds: [
		[
			-2,
			-1.25,
			0
		],
		[
			2,
			1.9500000476837158,
			1.2000000476837158
		]
	],
	size: {
		x: 4,
		y: 3.200000047683716,
		z: 1.2000000476837158
	},
	pin_tail_trim_mm: null,
	collision_mesh: "mechanical/vendor/solid/b3u3000.ply"
};
var c0402 = {
	step: "mechanical/vendor/step/C_0402_1005Metric.step",
	obj: "mechanical/vendor/obj/c0402.obj",
	source: "https://gitlab.com/kicad/libraries/kicad-packages3D/-/blob/master/Capacitor_SMD.3dshapes/C_0402_1005Metric.step",
	bounds: [
		[
			-0.5,
			-0.25,
			0
		],
		[
			0.5,
			0.25,
			0.5
		]
	],
	size: {
		x: 1,
		y: 0.5,
		z: 0.5
	},
	pin_tail_trim_mm: null
};
var models = {
	lqfp48: lqfp48,
	soic8: soic8,
	"sot23-5": {
	step: "mechanical/vendor/step/SOT-23-5.step",
	obj: "mechanical/vendor/obj/sot23-5.obj",
	source: "https://gitlab.com/kicad/libraries/kicad-packages3D/-/blob/master/Package_TO_SOT_SMD.3dshapes/SOT-23-5.step",
	bounds: [
		[
			-1.399999976158142,
			-1.4500000476837158,
			0
		],
		[
			1.399999976158142,
			1.4500000476837158,
			1.5499999523162842
		]
	],
	size: {
		x: 2.799999952316284,
		y: 2.9000000953674316,
		z: 1.5499999523162842
	},
	pin_tail_trim_mm: null
},
	"sot23-6": {
	step: "mechanical/vendor/step/SOT-23-6.step",
	obj: "mechanical/vendor/obj/sot23-6.obj",
	source: "https://gitlab.com/kicad/libraries/kicad-packages3D/-/blob/master/Package_TO_SOT_SMD.3dshapes/SOT-23-6.step",
	bounds: [
		[
			-1.399999976158142,
			-1.4500000476837158,
			0
		],
		[
			1.399999976158142,
			1.4500000476837158,
			1.5499999523162842
		]
	],
	size: {
		x: 2.799999952316284,
		y: 2.9000000953674316,
		z: 1.5499999523162842
	},
	pin_tail_trim_mm: null
},
	"sc70-6": {
	step: "mechanical/vendor/step/SOT-363_SC-70-6.step",
	obj: "mechanical/vendor/obj/sc70-6.obj",
	source: "https://gitlab.com/kicad/libraries/kicad-packages3D/-/blob/master/Package_TO_SOT_SMD.3dshapes/SOT-363_SC-70-6.step",
	bounds: [
		[
			-1.0499999523162842,
			-1,
			5.551115123125783e-17
		],
		[
			1.0499999523162842,
			1,
			1.100000023841858
		]
	],
	size: {
		x: 2.0999999046325684,
		y: 2,
		z: 1.100000023841858
	},
	pin_tail_trim_mm: null
},
	c0603: c0603,
	c0805: c0805,
	r0603: r0603,
	sod323: sod323,
	led0603: led0603,
	"jst-ph6": {
	step: "mechanical/vendor/step/JST_PH_B6B-PH-K_1x06_P2.00mm_Vertical.step",
	obj: "mechanical/vendor/obj/jst-ph6.obj",
	source: "https://gitlab.com/kicad/libraries/kicad-packages3D/-/blob/master/Connector_JST.3dshapes/JST_PH_B6B-PH-K_1x06_P2.00mm_Vertical.step",
	bounds: [
		[
			-6.950000047683716,
			-2.799999952316284,
			-2.4
		],
		[
			6.949999809265137,
			1.75,
			6
		]
	],
	size: {
		x: 13.899999856948853,
		y: 4.549999952316284,
		z: 8.4
	},
	pin_tail_trim_mm: 0.8
},
	"jst-ph8": {
	step: "mechanical/vendor/step/JST_PH_S8B-PH-K_1x08_P2.00mm_Horizontal.step",
	obj: "mechanical/vendor/obj/jst-ph8.obj",
	source: "https://gitlab.com/kicad/libraries/kicad-packages3D/-/blob/master/Connector_JST.3dshapes/JST_PH_S8B-PH-K_1x08_P2.00mm_Horizontal.step",
	bounds: [
		[
			-8.950000047683716,
			-6.25,
			-2.4
		],
		[
			8.949999809265137,
			1.350000023841858,
			4.849999904632568
		]
	],
	size: {
		x: 17.899999856948853,
		y: 7.600000023841858,
		z: 7.249999904632569
	},
	pin_tail_trim_mm: 0.8
},
	tcut1600: tcut1600,
	g12ah: g12ah,
	b3u3000: b3u3000,
	c0402: c0402,
	"header8-ra": {
	step: "mechanical/vendor/step/PinHeader_1x08_P2.54mm_Horizontal.step",
	obj: "mechanical/vendor/obj/header8-ra.obj",
	source: "https://gitlab.com/kicad/libraries/kicad-packages3D/-/blob/master/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x08_P2.54mm_Horizontal.step",
	bounds: [
		[
			-10.159999237060546,
			-10.03999996185303,
			-2.4
		],
		[
			10.159999980926514,
			0.3199999928474426,
			2.5399999618530273
		]
	],
	size: {
		x: 20.31999921798706,
		y: 10.359999954700472,
		z: 4.939999961853028
	},
	pin_tail_trim_mm: null
}
};

// SPDX-License-Identifier: MIT
// Resolve included assets through the local server or the publishing platform.
const base = "./";
function packageCad(name) {
    const m = models[name];
    return { objUrl: base + m.obj, modelOriginPosition: { x: 0, y: 0, z: 0 },
        modelUnitToMmScale: 1, size: m.size,
        modelBounds: { min: { x: m.bounds[0][0], y: m.bounds[0][1], z: m.bounds[0][2] },
            max: { x: m.bounds[1][0], y: m.bounds[1][1], z: m.bounds[1][2] } } };
}

const pinLabels$a = {
    pin1: ["A0"],
    pin2: ["A1"],
    pin3: ["A2"],
    pin4: ["VSS"],
    pin5: ["SDA"],
    pin6: ["SCL"],
    pin7: ["WP"],
    pin8: ["VDD"]
};
const pinAttributes$5 = {
    pin4: { requiresGround: true },
    pin8: { requiresPower: true }
};
const MB85RC256VPNF_G_AMERE2 = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$a, pinAttributes: pinAttributes$5, supplierPartNumbers: {
            "jlcpcb": [
                "C45273903"
            ]
        }, manufacturerPartNumber: "MB85RC256VPNF-G-AMERE2", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.905mm", pcbY: "-2.682494mm", width: "0.6299962mm", height: "1.864995mm", radius: "0.3149981mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-0.635mm", pcbY: "-2.682494mm", width: "0.6299962mm", height: "1.864995mm", radius: "0.3149981mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "0.635mm", pcbY: "-2.682494mm", width: "0.6299962mm", height: "1.864995mm", radius: "0.3149981mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "1.905mm", pcbY: "-2.682494mm", width: "0.6299962mm", height: "1.864995mm", radius: "0.3149981mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "-1.905mm", pcbY: "2.682494mm", width: "0.6299962mm", height: "1.864995mm", radius: "0.3149981mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "-0.635mm", pcbY: "2.682494mm", width: "0.6299962mm", height: "1.864995mm", radius: "0.3149981mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "0.635mm", pcbY: "2.682494mm", width: "0.6299962mm", height: "1.864995mm", radius: "0.3149981mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "1.905mm", pcbY: "2.682494mm", width: "0.6299962mm", height: "1.864995mm", radius: "0.3149981mm", shape: "pill" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.576245799999924, "y": -1.5213076 }, { "x": -2.576245799999924, "y": 1.5215361999999004 }, { "x": 2.5761188000000175, "y": 1.5215361999999004 }, { "x": 2.5761188000000175, "y": -1.5213076 }, { "x": -2.576245799999924, "y": -1.5213076 }] }), jsxRuntime.jsx("silkscreencircle", { pcbX: "-1.9050254mm", pcbY: "-0.769112mm", radius: "0.150114mm" }), jsxRuntime.jsx("silkscreencircle", { pcbX: "-2.6723594mm", pcbY: "-2.682494mm", radius: "0.150114mm" }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.1242822mm", pcbY: "4.2956246mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -2.709989999999948, "y": 3.86499149999986 }, { "x": 2.6900002000000995, "y": 3.86499149999986 }, { "x": 2.6900002000000995, "y": -3.8649914999999737 }, { "x": -2.709989999999948, "y": -3.8649914999999737 }, { "x": -2.709989999999948, "y": 3.86499149999986 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C45273903.obj?uuid=a8bf75347d3a44d9bc6814f39c22bf07",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C45273903.step?uuid=a8bf75347d3a44d9bc6814f39c22bf07",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0.0099948999999242, y: -0.06982459999994717, z: -0.8 },
        }, ...props }));
};

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

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

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

const GRM155R71C104KA88D = (props) => {
    const { name = "C1", ...restProps } = props;
    return (jsxRuntime.jsx("capacitor", { name: name, capacitance: "100nF", supplierPartNumbers: {
            "jlcpcb": [
                "C71629"
            ]
        }, manufacturerPartNumber: "GRM155R71C104KA88D", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0.420116mm", pcbY: "0mm", width: "0.499999mm", height: "0.540004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.420116mm", pcbY: "0mm", width: "0.499999mm", height: "0.540004mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.721385400000031, "y": 0.49753519999990203 }, { "x": -0.22138640000002852, "y": 0.49753519999990203 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.8738108000000011, "y": -0.34724340000002485 }, { "x": -0.8738108000000011, "y": 0.3451606000000993 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.22138640000002852, "y": -0.4996433999999681 }, { "x": -0.721385400000031, "y": -0.4996433999999681 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.7213853999999174, "y": -0.4975097999999889 }, { "x": 0.22138639999991483, "y": -0.4975097999999889 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.22138639999991483, "y": 0.49961800000005496 }, { "x": 0.7213853999999174, "y": 0.49961800000005496 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.8738108000000011, "y": 0.34726880000005167 }, { "x": 0.8738108000000011, "y": -0.3451606000000993 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.7213853999999174, "y": 0.4996433999998544 }, { "x": 0.829148473452733, "y": 0.4550064734527268 }, { "x": 0.8737853999998606, "y": 0.34724340000002485 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.8737853999998606, "y": -0.3451606000000993 }, { "x": 0.829148473452733, "y": -0.4529236734526876 }, { "x": 0.7213853999999174, "y": -0.49756059999992885 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.721385400000031, "y": -0.4996433999997407 }, { "x": -0.829148473452733, "y": -0.45500647345261314 }, { "x": -0.8737853999999743, "y": -0.34724340000002485 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.8737853999999743, "y": 0.3451606000000993 }, { "x": -0.829148473452733, "y": 0.45292367345280127 }, { "x": -0.721385400000031, "y": 0.49756060000004254 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0127mm", pcbY: "1.508mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -0.9201154999999517, "y": 0.5200019999999768 }, { "x": 0.9201154999999517, "y": 0.5200019999999768 }, { "x": 0.9201154999999517, "y": -0.5200019999999768 }, { "x": -0.9201154999999517, "y": -0.5200019999999768 }, { "x": -0.9201154999999517, "y": 0.5200019999999768 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C71629.obj?uuid=32fe2cf9314f444ca2785a33c2db7189",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C71629.step?uuid=32fe2cf9314f444ca2785a33c2db7189",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: -12700000070253736e-21, z: -0.25 },
        }, ...restProps }));
};

const GRM155R71H103KA88D = (props) => {
    const { name = "C1", ...restProps } = props;
    return (jsxRuntime.jsx("capacitor", { name: name, capacitance: "10nF", supplierPartNumbers: {
            "jlcpcb": [
                "C77019"
            ]
        }, manufacturerPartNumber: "GRM155R71H103KA88D", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0.420116mm", pcbY: "0mm", width: "0.499999mm", height: "0.540004mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.420116mm", pcbY: "0mm", width: "0.499999mm", height: "0.540004mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.721385400000031, "y": 0.49753519999990203 }, { "x": -0.22138640000002852, "y": 0.49753519999990203 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.8738108000000011, "y": -0.34724340000002485 }, { "x": -0.8738108000000011, "y": 0.3451606000000993 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.22138640000002852, "y": -0.4996433999999681 }, { "x": -0.721385400000031, "y": -0.4996433999999681 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.7213853999999174, "y": -0.4975097999999889 }, { "x": 0.22138639999991483, "y": -0.4975097999999889 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.22138639999991483, "y": 0.49961800000005496 }, { "x": 0.7213853999999174, "y": 0.49961800000005496 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.8738108000000011, "y": 0.34726880000005167 }, { "x": 0.8738108000000011, "y": -0.3451606000000993 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.7213853999999174, "y": 0.4996433999998544 }, { "x": 0.829148473452733, "y": 0.4550064734527268 }, { "x": 0.8737853999998606, "y": 0.34724340000002485 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.8737853999998606, "y": -0.3451606000000993 }, { "x": 0.829148473452733, "y": -0.4529236734526876 }, { "x": 0.7213853999999174, "y": -0.49756059999992885 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.721385400000031, "y": -0.4996433999997407 }, { "x": -0.829148473452733, "y": -0.45500647345261314 }, { "x": -0.8737853999999743, "y": -0.34724340000002485 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.8737853999999743, "y": 0.3451606000000993 }, { "x": -0.829148473452733, "y": 0.45292367345280127 }, { "x": -0.721385400000031, "y": 0.49756060000004254 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0127mm", pcbY: "1.508mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -0.9201154999999517, "y": 0.5200019999999768 }, { "x": 0.9201154999999517, "y": 0.5200019999999768 }, { "x": 0.9201154999999517, "y": -0.5200019999999768 }, { "x": -0.9201154999999517, "y": -0.5200019999999768 }, { "x": -0.9201154999999517, "y": 0.5200019999999768 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C77019.obj?uuid=32fe2cf9314f444ca2785a33c2db7189",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C77019.step?uuid=32fe2cf9314f444ca2785a33c2db7189",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: -12700000070253736e-21, z: -0.25 },
        }, ...restProps }));
};

const pinLabels$9 = {
    pin1: ["EH2"],
    pin2: ["EH1"],
    pin3: ["EH4"],
    pin4: ["EH3"],
    pin5: ["SBU2", "B8"],
    pin6: ["CC1", "A5"],
    pin7: ["DN2", "B7"],
    pin8: ["DP1", "A6"],
    pin9: ["DN1", "A7"],
    pin10: ["DP2", "B6"],
    pin11: ["SBU1", "A8"],
    pin12: ["CC2", "B5"],
    pin13: ["GND1", "A1B12"],
    pin14: ["GND2", "B1A12"],
    pin15: ["VBUS1", "B4A9"],
    pin16: ["VBUS2", "A4B9"]
};
const TYPE_C_31_M_12 = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$9, supplierPartNumbers: {
            "jlcpcb": [
                "C165948"
            ]
        }, manufacturerPartNumber: "TYPE-C-31-M-12", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("hole", { pcbX: "-2.899918mm", pcbY: "0.9055672mm", diameter: "0.5999988mm" }), jsxRuntime.jsx("hole", { pcbX: "2.899918mm", pcbY: "0.9055672mm", diameter: "0.5999988mm" }), jsxRuntime.jsx("platedhole", { portHints: ["pin2"], pcbX: "4.325112mm", pcbY: "-2.7741308mm", holeWidth: "0.7999984mm", holeHeight: "1.1999976mm", outerWidth: "1.1999976mm", outerHeight: "1.7999964mm", shape: "pill" }), jsxRuntime.jsx("platedhole", { portHints: ["pin1"], pcbX: "4.325112mm", pcbY: "1.4056932mm", holeWidth: "0.7999984mm", holeHeight: "1.499997mm", outerWidth: "1.1999976mm", outerHeight: "1.999996mm", shape: "pill" }), jsxRuntime.jsx("platedhole", { portHints: ["pin4"], pcbX: "-4.325112mm", pcbY: "1.4056932mm", holeWidth: "0.7999984mm", holeHeight: "1.499997mm", outerWidth: "1.1999976mm", outerHeight: "1.999996mm", shape: "pill" }), jsxRuntime.jsx("platedhole", { portHints: ["pin3"], pcbX: "-4.325112mm", pcbY: "-2.7741308mm", holeWidth: "0.7999984mm", holeHeight: "1.1999976mm", outerWidth: "1.1999976mm", outerHeight: "1.7999964mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "-1.75006mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "-1.249934mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "-0.750062mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "-0.249936mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin9"], pcbX: "0.249936mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin10"], pcbX: "0.750062mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin11"], pcbX: "1.24968mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin12"], pcbX: "1.75006mm", pcbY: "2.1740432mm", width: "0.2999994mm", height: "1.2999974mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin13"], points: [{ x: "-2.8999688mm", y: "1.524108mm" }, { x: "-2.8999688mm", y: "2.8241308mm" }, { x: "-2.8999688mm", y: "2.8241308mm" }, { x: "-3.1999682mm", y: "2.8241308mm" }, { x: "-3.1999682mm", y: "2.8241308mm" }, { x: "-3.1999682mm", y: "2.8239784mm" }, { x: "-3.1999682mm", y: "2.8239784mm" }, { x: "-3.4999422mm", y: "2.8239784mm" }, { x: "-3.4999422mm", y: "2.8239784mm" }, { x: "-3.4999422mm", y: "1.5239556mm" }, { x: "-3.4999422mm", y: "1.5239556mm" }, { x: "-3.1999428mm", y: "1.5239556mm" }, { x: "-3.1999428mm", y: "1.5239556mm" }, { x: "-3.1999428mm", y: "1.524108mm" }, { x: "-3.1999428mm", y: "1.524108mm" }, { x: "-2.8999688mm", y: "1.524108mm" }], shape: "polygon" }), jsxRuntime.jsx("smtpad", { portHints: ["pin14"], points: [{ x: "2.8999942mm", y: "2.8241308mm" }, { x: "2.8999942mm", y: "1.5241588mm" }, { x: "2.8999942mm", y: "1.5241588mm" }, { x: "3.1999936mm", y: "1.5241588mm" }, { x: "3.1999936mm", y: "1.5241588mm" }, { x: "3.200019mm", y: "1.5241588mm" }, { x: "3.200019mm", y: "1.5241588mm" }, { x: "3.5000184mm", y: "1.5241588mm" }, { x: "3.5000184mm", y: "1.5241588mm" }, { x: "3.5000184mm", y: "2.8241308mm" }, { x: "3.5000184mm", y: "2.8241308mm" }, { x: "3.200019mm", y: "2.8241308mm" }, { x: "3.200019mm", y: "2.8241308mm" }, { x: "3.1999936mm", y: "2.8241308mm" }, { x: "3.1999936mm", y: "2.8241308mm" }, { x: "2.8999942mm", y: "2.8241308mm" }], shape: "polygon" }), jsxRuntime.jsx("smtpad", { portHints: ["pin15"], points: [{ x: "2.7001724mm", y: "1.5241588mm" }, { x: "2.7001724mm", y: "2.8241308mm" }, { x: "2.7001724mm", y: "2.8241308mm" }, { x: "2.400173mm", y: "2.8241308mm" }, { x: "2.400173mm", y: "2.8241308mm" }, { x: "2.4001476mm", y: "2.8241308mm" }, { x: "2.4001476mm", y: "2.8241308mm" }, { x: "2.1001482mm", y: "2.8241308mm" }, { x: "2.1001482mm", y: "2.8241308mm" }, { x: "2.1001482mm", y: "1.5241588mm" }, { x: "2.1001482mm", y: "1.5241588mm" }, { x: "2.4001476mm", y: "1.5241588mm" }, { x: "2.4001476mm", y: "1.5241588mm" }, { x: "2.400173mm", y: "1.5241588mm" }, { x: "2.400173mm", y: "1.5241588mm" }, { x: "2.7001724mm", y: "1.5241588mm" }], shape: "polygon" }), jsxRuntime.jsx("smtpad", { portHints: ["pin16"], points: [{ x: "-2.0999704mm", y: "1.5240064mm" }, { x: "-2.0999704mm", y: "2.8239784mm" }, { x: "-2.0999704mm", y: "2.8239784mm" }, { x: "-2.3999952mm", y: "2.8239784mm" }, { x: "-2.3999952mm", y: "2.8239784mm" }, { x: "-2.3999952mm", y: "2.823953mm" }, { x: "-2.3999952mm", y: "2.823953mm" }, { x: "-2.6999438mm", y: "2.823953mm" }, { x: "-2.6999438mm", y: "2.823953mm" }, { x: "-2.6999438mm", y: "1.523981mm" }, { x: "-2.6999438mm", y: "1.523981mm" }, { x: "-2.399919mm", y: "1.523981mm" }, { x: "-2.399919mm", y: "1.523981mm" }, { x: "-2.399919mm", y: "1.5240064mm" }, { x: "-2.399919mm", y: "1.5240064mm" }, { x: "-2.0999704mm", y: "1.5240064mm" }], shape: "polygon" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -4.4689776000000165, "y": -1.6757585999999947 }, { "x": -4.4689776000000165, "y": 0.18715359999987413 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 4.471009600000116, "y": -5.394140800000059 }, { "x": -4.4689776000000165, "y": -5.394140800000059 }, { "x": -4.4689776000000165, "y": -3.91283820000001 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 4.471009600000116, "y": -1.676114200000029 }, { "x": 4.471009600000116, "y": 0.18750920000002225 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 4.471009600000116, "y": -5.394140800000059 }, { "x": 4.471009600000116, "y": -3.912482600000203 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.002794mm", pcbY: "3.8286012mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -5.17511079999997, "y": 3.074130799999921 }, { "x": 5.17511079999997, "y": 3.074130799999921 }, { "x": 5.17511079999997, "y": -5.60002099999997 }, { "x": -5.17511079999997, "y": -5.60002099999997 }, { "x": -5.17511079999997, "y": 3.074130799999921 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C165948.obj?uuid=617b05f9bba7410b96c001093d8189e4",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C165948.step?uuid=617b05f9bba7410b96c001093d8189e4",
            pcbRotationOffset: 180,
            modelOriginPosition: { x: 0, y: -2.7500289000000517, z: 0.000010999999999872223 },
        }, ...props }));
};

const pinLabels$8 = {
    pin1: ["pin1"],
    pin2: ["pin2"],
    pin3: ["pin3"],
    pin4: ["pin4"],
    pin5: ["pin5"],
    pin6: ["pin6"]
};
const B6B_PH_K_S_LF__SN_ = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$8, supplierPartNumbers: {
            "jlcpcb": [
                "C131342"
            ]
        }, manufacturerPartNumber: "B6B-PH-K-S(LF)(SN)", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("platedhole", { portHints: ["pin6"], pcbX: "-4.99999mm", pcbY: "0mm", outerDiameter: "1.499997mm", holeDiameter: "0.9000236mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin5"], pcbX: "-2.999994mm", pcbY: "0mm", outerDiameter: "1.499997mm", holeDiameter: "0.9000236mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin4"], pcbX: "-0.999998mm", pcbY: "0mm", outerDiameter: "1.499997mm", holeDiameter: "0.9000236mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin3"], pcbX: "0.999998mm", pcbY: "0mm", outerDiameter: "1.499997mm", holeDiameter: "0.9000236mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin2"], pcbX: "2.999994mm", pcbY: "0mm", outerDiameter: "1.499997mm", holeDiameter: "0.9000236mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin1"], pcbX: "4.99999mm", pcbY: "0mm", outerDiameter: "1.499997mm", holeDiameter: "0.9000236mm", shape: "circle" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -7.0000113999999485, "y": -1.69997120000005 }, { "x": 7.0000113999999485, "y": -1.69997120000005 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 6.99795400000005, "y": -1.69997120000005 }, { "x": 6.99795400000005, "y": 2.800096000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 7.0000113999999485, "y": 2.800096000000053 }, { "x": -7.0000113999999485, "y": 2.800096000000053 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -7.0000113999999485, "y": 2.800096000000053 }, { "x": -7.0000113999999485, "y": -1.6999203999999963 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -6.599961399999984, "y": 0.6985762000000477 }, { "x": -6.598919999999907, "y": 0.7005573999999797 }, { "x": -6.598919999999907, "y": 2.300706600000126 }, { "x": 6.598920000000021, "y": 2.300706600000126 }, { "x": 6.598920000000021, "y": 0.7005573999999797 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 6.99795400000005, "y": 0.7000748000000385 }, { "x": 6.397929799999929, "y": 0.7000748000000385 }, { "x": 6.397929799999929, "y": -0.29992319999985284 }, { "x": 6.99795400000005, "y": -0.29992319999985284 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 6.595618000000059, "y": -0.29725619999987885 }, { "x": 6.595618000000059, "y": -1.0972799999998415 }, { "x": 2.195652199999927, "y": -1.0972799999998415 }, { "x": 2.195652199999927, "y": -1.697304200000076 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -7.002297399999975, "y": 0.6996429999999236 }, { "x": -6.4022732000000815, "y": 0.6996429999999236 }, { "x": -6.4022732000000815, "y": -0.30038039999988086 }, { "x": -7.002297399999975, "y": -0.30038039999988086 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -6.602069599999936, "y": -0.30111699999986286 }, { "x": -6.602069599999936, "y": -1.1011153999999124 }, { "x": -2.202103799999918, "y": -1.1011153999999124 }, { "x": -2.202103799999918, "y": -1.7011396000001469 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 5.404866000000084, "y": 2.301951200000076 }, { "x": 5.38623077346017, "y": 2.0613607173489754 }, { "x": 5.235492698842791, "y": 1.8729221733327677 }, { "x": 5.004866800000173, "y": 1.801909873036152 }, { "x": 4.774240901157327, "y": 1.8729221733327677 }, { "x": 4.623502826539834, "y": 2.0613607173489754 }, { "x": 4.604867600000148, "y": 2.301951200000076 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 3.40486999999996, "y": 2.301951200000076 }, { "x": 3.3862347734603873, "y": 2.0613607173489754 }, { "x": 3.2354966988427805, "y": 1.8729221733325403 }, { "x": 3.004870799999935, "y": 1.8019098730360383 }, { "x": 2.7742449011572035, "y": 1.8729221733325403 }, { "x": 2.623506826539824, "y": 2.0613607173489754 }, { "x": 2.604871600000024, "y": 2.301951200000076 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.406906000000049, "y": 2.301951200000076 }, { "x": 1.388270773460249, "y": 2.0613607173489754 }, { "x": 1.237532698842756, "y": 1.8729221733325403 }, { "x": 1.0069068000000243, "y": 1.8019098730360383 }, { "x": 0.7762809011572926, "y": 1.8729221733325403 }, { "x": 0.6255428265397995, "y": 2.0613607173489754 }, { "x": 0.6069075999999995, "y": 2.301951200000076 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.5930900000000747, "y": 2.301951200000076 }, { "x": -0.6117252265398747, "y": 2.0613607173489754 }, { "x": -0.7624633011573678, "y": 1.8729221733327677 }, { "x": -0.9930892000000995, "y": 1.801909873036152 }, { "x": -1.2237150988427175, "y": 1.8729221733327677 }, { "x": -1.3744531734602106, "y": 2.0613607173489754 }, { "x": -1.3930883999998969, "y": 2.301951200000076 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.593594000000053, "y": 2.301951200000076 }, { "x": -2.612229226539739, "y": 2.0613607173489754 }, { "x": -2.7629673011571185, "y": 1.8729221733325403 }, { "x": -2.9935932000000776, "y": 1.8019098730360383 }, { "x": -3.224219098842809, "y": 1.8729221733325403 }, { "x": -3.3749571734603023, "y": 2.0613607173489754 }, { "x": -3.393592399999875, "y": 2.301951200000076 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -4.593590000000063, "y": 2.301951200000076 }, { "x": -4.612225226539977, "y": 2.0613607173489754 }, { "x": -4.76296330115747, "y": 1.8729221733327677 }, { "x": -4.993589200000088, "y": 1.801909873036152 }, { "x": -5.224215098842706, "y": 1.8729221733327677 }, { "x": -5.374953173460199, "y": 2.0613607173489754 }, { "x": -5.393588399999999, "y": 2.301951200000076 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.0005334mm", pcbY: "3.9520896mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -7.249986000000035, "y": 3.063989799999945 }, { "x": 7.249986000000035, "y": 3.063989799999945 }, { "x": 7.249986000000035, "y": -1.936001200000078 }, { "x": -7.249986000000035, "y": -1.936001200000078 }, { "x": -7.249986000000035, "y": 3.063989799999945 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C131342.obj?uuid=70263c758ebc4cfe99105d0efb90d4a3",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C131342.step?uuid=70263c758ebc4cfe99105d0efb90d4a3",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0.0005000000001138538, y: -0.5639942999999903, z: -6799999999973494e-21 },
        }, ...props }));
};

const RC0603FR_0710KL = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsxRuntime.jsx("resistor", { name: name, resistance: "10kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C98220"
            ]
        }, manufacturerPartNumber: "RC0603FR-0710KL", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsxRuntime.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 }] }), jsxRuntime.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 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.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/C98220.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C98220.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

const RC0603FR_075K1L = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsxRuntime.jsx("resistor", { name: name, resistance: "5.1kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C105580"
            ]
        }, manufacturerPartNumber: "RC0603FR-075K1L", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsxRuntime.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 }] }), jsxRuntime.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 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.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/C105580.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C105580.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

const RC0603FR_074K7L = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsxRuntime.jsx("resistor", { name: name, resistance: "4.7kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C99782"
            ]
        }, manufacturerPartNumber: "RC0603FR-074K7L", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsxRuntime.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 }] }), jsxRuntime.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 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.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/C99782.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C99782.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

const RC0603FR_07100KL = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsxRuntime.jsx("resistor", { name: name, resistance: "100kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C14675"
            ]
        }, manufacturerPartNumber: "RC0603FR-07100KL", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsxRuntime.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 }] }), jsxRuntime.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 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.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/C14675.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C14675.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

const RC0603FR_07150RL = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsxRuntime.jsx("resistor", { name: name, resistance: "150ohm", supplierPartNumbers: {
            "jlcpcb": [
                "C114608"
            ]
        }, manufacturerPartNumber: "RC0603FR-07150RL", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsxRuntime.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 }] }), jsxRuntime.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 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.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/C114608.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C114608.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

const RC0603FR_0722KL = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsxRuntime.jsx("resistor", { name: name, resistance: "22kohm", supplierPartNumbers: {
            "jlcpcb": [
                "C114065"
            ]
        }, manufacturerPartNumber: "RC0603FR-0722KL", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsxRuntime.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 }] }), jsxRuntime.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 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.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/C114065.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C114065.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

const RC0603FR_0722RL = (props) => {
    const { name = "R1", ...restProps } = props;
    return (jsxRuntime.jsx("resistor", { name: name, resistance: "22ohm", supplierPartNumbers: {
            "jlcpcb": [
                "C107701"
            ]
        }, manufacturerPartNumber: "RC0603FR-0722RL", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.753364mm", pcbY: "0mm", width: "0.8064754mm", height: "0.8640064mm", shape: "rect" }), jsxRuntime.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 }] }), jsxRuntime.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 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "1.6604mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.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/C107701.obj?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C107701.step?uuid=6bd5cd867e9542ebae21caaf5d2d4c4d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -0.004999999999999977, y: 0, z: -0.01 },
        }, ...restProps }));
};

const pinLabels$7 = {
    pin1: ["pin1"],
    pin2: ["pin2"]
};
const B3U_3000P = (props) => {
    const { name = "SW1", ...restProps } = props;
    return (jsxRuntime.jsx("pushbutton", { name: name, pinLabels: pinLabels$7, supplierPartNumbers: {
            "jlcpcb": [
                "C963349"
            ]
        }, manufacturerPartNumber: "B3U-3000P", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-1.700022mm", pcbY: "0mm", width: "0.7999984mm", height: "1.6999966mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "1.700022mm", pcbY: "0mm", width: "0.7999984mm", height: "1.6999966mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.4500117999998565, "y": 1.949983399999951 }, { "x": -0.4499864000000571, "y": 1.949983399999951 }, { "x": -0.8499855999999681, "y": 1.5459963999999218 }, { "x": -0.8499855999999681, "y": 1.3800074000000677 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.449579999999969, "y": 1.950719999999933 }, { "x": 0.8510015999999041, "y": 1.5459963999999218 }, { "x": 0.8508999999999105, "y": 1.379220000000032 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.4999970000000076, "y": -1.2500356000001602 }, { "x": 1.4999970000000076, "y": -1.2500102000000197 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.4999970000000076, "y": 1.2499594000000798 }, { "x": 1.4999970000000076, "y": 1.2499594000000798 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.4999970000000076, "y": 1.081125600000064 }, { "x": 1.4999970000000076, "y": 1.2499594000000798 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.4999970000000076, "y": 1.2499594000000798 }, { "x": -1.4999970000000076, "y": 1.081125600000064 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.4999970000000076, "y": -1.081150999999977 }, { "x": -1.4999970000000076, "y": -1.2500102000000197 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.4999970000000076, "y": -1.2500102000000197 }, { "x": 1.4999970000000076, "y": -1.081150999999977 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "2.9558mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -0.8499856000000818, "y": 1.4999970000000076 }, { "x": 0, "y": 1.949983399999951 }, { "x": 0.8500110000001087, "y": 1.4999970000000076 }, { "x": -0.8499856000000818, "y": 1.4999970000000076 }], strokeWidth: "0mm", isFilled: true, hasStroke: false }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -2.3500212000000147, "y": 2.1959955999999465 }, { "x": 2.3500212000000147, "y": 2.1959955999999465 }, { "x": 2.3500212000000147, "y": -1.5039980000000241 }, { "x": -2.3500212000000147, "y": -1.5039980000000241 }, { "x": -2.3500212000000147, "y": 2.1959955999999465 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C963349.obj?uuid=d1ba1a65d84b4871ac1456490a2ad18b",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C963349.step?uuid=d1ba1a65d84b4871ac1456490a2ad18b",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: -0.3459987999999612, z: -0.01 },
        }, ...restProps }));
};

const pinLabels$6 = {
    pin1: ["IN"],
    pin2: ["GND"],
    pin3: ["ON"],
    pin4: ["NC"],
    pin5: ["QOD"],
    pin6: ["VOUT"]
};
const pinAttributes$4 = {
    pin2: { requiresGround: true },
    pin4: { doNotConnect: true }
};
const TPS22919DCKR = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$6, pinAttributes: pinAttributes$4, supplierPartNumbers: {
            "jlcpcb": [
                "C2149796"
            ]
        }, manufacturerPartNumber: "TPS22919DCKR", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "-0.94996mm", pcbY: "-0.649986mm", width: "0.5999988mm", height: "0.419989mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "-0.94996mm", pcbY: "0mm", width: "0.5999988mm", height: "0.419989mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "-0.94996mm", pcbY: "0.649986mm", width: "0.5999988mm", height: "0.419989mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "0.94996mm", pcbY: "0.649986mm", width: "0.5999988mm", height: "0.419989mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0.94996mm", pcbY: "0mm", width: "0.5999988mm", height: "0.419989mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "0.94996mm", pcbY: "-0.649986mm", width: "0.5999988mm", height: "0.419989mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.6999986000000007, "y": -1.099997799999997 }, { "x": 0.6999986000000149, "y": -1.099997799999997 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.6999986000000007, "y": 1.099997799999997 }, { "x": 0.6999986000000149, "y": 1.099997799999997 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.0909300000000144, "y": -1.0942066000000068 }, { "x": 0.9672082130372104, "y": -1.2198285560875775 }, { "x": 1.0922000000000054, "y": -1.3441869478927941 }, { "x": 1.2171917869628146, "y": -1.2198285560875775 }, { "x": 1.0934700000000106, "y": -1.0942066000000068 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.101346mm", pcbY: "2.1049mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -1.4999594000000087, "y": 1.2499979999999908 }, { "x": 1.4999594000000087, "y": 1.2499979999999908 }, { "x": 1.4999594000000087, "y": -1.2499980000000193 }, { "x": -1.4999594000000087, "y": -1.2499980000000193 }, { "x": -1.4999594000000087, "y": 1.2499979999999908 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2149796.obj?uuid=a5d40c04f23243b2af27dc3bf34f18d3",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2149796.step?uuid=a5d40c04f23243b2af27dc3bf34f18d3",
            pcbRotationOffset: 180,
            modelOriginPosition: { x: 0.000012700000013410317, y: 0, z: -0.1 },
        }, ...props }));
};

const pinLabels$5 = {
    pin1: ["IN"],
    pin2: ["GND"],
    pin3: ["EN"],
    pin4: ["NC"],
    pin5: ["OUT"]
};
const pinAttributes$3 = {
    pin2: { requiresGround: true },
    pin4: { doNotConnect: true }
};
const TLV75533PDBVR = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$5, pinAttributes: pinAttributes$3, supplierPartNumbers: {
            "jlcpcb": [
                "C404027"
            ]
        }, manufacturerPartNumber: "TLV75533PDBVR", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "-1.300099mm", pcbY: "-0.94996mm", width: "1.0999978mm", height: "0.5999988mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "-1.300099mm", pcbY: "0.94996mm", width: "1.0999978mm", height: "0.5999988mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "1.300099mm", pcbY: "0.94996mm", width: "1.0999978mm", height: "0.5999988mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "1.300099mm", pcbY: "-0mm", width: "1.0999978mm", height: "0.5999988mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "1.300099mm", pcbY: "-0.94996mm", width: "1.0999978mm", height: "0.5999988mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.8999728000000005, "y": -1.404111999999941 }, { "x": 0.8999728000000005, "y": -1.5500604000000067 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.8999728000000005, "y": -0.45412660000010874 }, { "x": 0.8999728000000005, "y": -0.4958079999998972 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.8999728000000005, "y": 0.4958079999998972 }, { "x": 0.8999728000000005, "y": 0.45415200000002187 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 0.8999728000000005, "y": 1.5499587999998994 }, { "x": 0.8999728000000005, "y": 1.404111999999941 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.9000489999999672, "y": -1.404111999999941 }, { "x": -0.9000489999999672, "y": -1.5500604000000067 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.9000489999999672, "y": 0.4958079999998972 }, { "x": -0.9000489999999672, "y": -0.4958334000000377 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.9000489999999672, "y": 1.5499587999998994 }, { "x": -0.9000489999999672, "y": 1.4040866000000278 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.9000489999999672, "y": 1.5499587999998994 }, { "x": 0.8999728000000005, "y": 1.5499587999998994 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -0.9000489999999672, "y": -1.5500604000000067 }, { "x": 0.8999728000000005, "y": -1.5500604000000067 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.012319mm", pcbY: "2.562354mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -2.1000978999999234, "y": 1.6999843999999484 }, { "x": 2.1000978999999234, "y": 1.6999843999999484 }, { "x": 2.1000978999999234, "y": -1.7000097999999753 }, { "x": -2.1000978999999234, "y": -1.7000097999999753 }, { "x": -2.1000978999999234, "y": 1.6999843999999484 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C404027.obj?uuid=460193f9bf2d42e58cf3c2f675b07dc6",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C404027.step?uuid=460193f9bf2d42e58cf3c2f675b07dc6",
            pcbRotationOffset: 180,
            modelOriginPosition: { x: 0, y: -12700000070253736e-21, z: -0.049083 },
        }, ...props }));
};

const pinLabels$4 = {
    pin1: ["VBAT"],
    pin2: ["PC13"],
    pin3: ["PC14", "OSC32_IN"],
    pin4: ["PC15", "OSC32_OUT"],
    pin5: ["PF0", "OSC_IN"],
    pin6: ["PF1", "OSC_OUT"],
    pin7: ["NRST"],
    pin8: ["VSSA"],
    pin9: ["VDDA"],
    pin10: ["PA0"],
    pin11: ["PA1"],
    pin12: ["PA2"],
    pin13: ["PA3"],
    pin14: ["PA4"],
    pin15: ["PA5"],
    pin16: ["PA6"],
    pin17: ["PA7"],
    pin18: ["PB0"],
    pin19: ["PB1"],
    pin20: ["PB2"],
    pin21: ["PB10"],
    pin22: ["PB11"],
    pin23: ["VSS1"],
    pin24: ["VDD1"],
    pin25: ["PB12"],
    pin26: ["PB13"],
    pin27: ["PB14"],
    pin28: ["PB15"],
    pin29: ["PA8"],
    pin30: ["PA9"],
    pin31: ["PA10"],
    pin32: ["PA11"],
    pin33: ["PA12"],
    pin34: ["PA13"],
    pin35: ["VSS2"],
    pin36: ["VDDIO"],
    pin37: ["PA14"],
    pin38: ["PA15"],
    pin39: ["PB3"],
    pin40: ["PB4"],
    pin41: ["PB5"],
    pin42: ["PB6"],
    pin43: ["PB7"],
    pin44: ["BOOT0"],
    pin45: ["PB8"],
    pin46: ["PB9"],
    pin47: ["VSS3"],
    pin48: ["VDD2"]
};
const pinAttributes$2 = {
    pin9: { requiresPower: true },
    pin23: { requiresGround: true },
    pin35: { requiresGround: true },
    pin47: { requiresGround: true }
};
const STM32F072CBT6 = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$4, pinAttributes: pinAttributes$2, supplierPartNumbers: {
            "jlcpcb": [
                "C81720"
            ]
        }, manufacturerPartNumber: "STM32F072CBT6", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-2.750058mm", pcbY: "-4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-2.249932mm", pcbY: "-4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "-1.75006mm", pcbY: "-4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "-1.249934mm", pcbY: "-4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "-0.750062mm", pcbY: "-4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "-0.249936mm", pcbY: "-4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin7"], pcbX: "0.249936mm", pcbY: "-4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin8"], pcbX: "0.750062mm", pcbY: "-4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin9"], pcbX: "1.249934mm", pcbY: "-4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin10"], pcbX: "1.75006mm", pcbY: "-4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin11"], pcbX: "2.249932mm", pcbY: "-4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin12"], pcbX: "2.750058mm", pcbY: "-4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin13"], pcbX: "4.249928mm", pcbY: "-2.750058mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin14"], pcbX: "4.249928mm", pcbY: "-2.249932mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin15"], pcbX: "4.249928mm", pcbY: "-1.75006mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin16"], pcbX: "4.249928mm", pcbY: "-1.249934mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin17"], pcbX: "4.249928mm", pcbY: "-0.750062mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin18"], pcbX: "4.249928mm", pcbY: "-0.249936mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin19"], pcbX: "4.249928mm", pcbY: "0.249936mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin20"], pcbX: "4.249928mm", pcbY: "0.750062mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin21"], pcbX: "4.249928mm", pcbY: "1.249934mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin22"], pcbX: "4.249928mm", pcbY: "1.75006mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin23"], pcbX: "4.249928mm", pcbY: "2.249932mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin24"], pcbX: "4.249928mm", pcbY: "2.750058mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin25"], pcbX: "2.750058mm", pcbY: "4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin26"], pcbX: "2.249932mm", pcbY: "4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin27"], pcbX: "1.75006mm", pcbY: "4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin28"], pcbX: "1.249934mm", pcbY: "4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin29"], pcbX: "0.750062mm", pcbY: "4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin30"], pcbX: "0.249936mm", pcbY: "4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin31"], pcbX: "-0.249936mm", pcbY: "4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin32"], pcbX: "-0.750062mm", pcbY: "4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin33"], pcbX: "-1.249934mm", pcbY: "4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin34"], pcbX: "-1.75006mm", pcbY: "4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin35"], pcbX: "-2.249932mm", pcbY: "4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin36"], pcbX: "-2.750058mm", pcbY: "4.249928mm", width: "0.270002mm", height: "1.499997mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin37"], pcbX: "-4.249928mm", pcbY: "2.750058mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin38"], pcbX: "-4.249928mm", pcbY: "2.249932mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin39"], pcbX: "-4.249928mm", pcbY: "1.75006mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin40"], pcbX: "-4.249928mm", pcbY: "1.249934mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin41"], pcbX: "-4.249928mm", pcbY: "0.750062mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin42"], pcbX: "-4.249928mm", pcbY: "0.249936mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin43"], pcbX: "-4.249928mm", pcbY: "-0.249936mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin44"], pcbX: "-4.249928mm", pcbY: "-0.750062mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin45"], pcbX: "-4.249928mm", pcbY: "-1.249934mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin46"], pcbX: "-4.249928mm", pcbY: "-1.75006mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin47"], pcbX: "-4.249928mm", pcbY: "-2.249932mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("smtpad", { portHints: ["pin48"], pcbX: "-4.249928mm", pcbY: "-2.750058mm", width: "1.499997mm", height: "0.270002mm", radius: "0.135001mm", shape: "pill" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.8955999999999733, "y": 3.3400999999999925 }, { "x": 3.302000000000021, "y": 3.3400999999999925 }, { "x": 3.302000000000021, "y": -3.314700000000002 }, { "x": -3.327399999999983, "y": -3.314700000000002 }, { "x": -3.327399999999983, "y": 3.3400999999999925 }, { "x": -2.5653999999999826, "y": 3.3400999999999925 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -3.3899855999999886, "y": -4.059986800000004 }, { "x": -3.5791606142161356, "y": -4.198904249194129 }, { "x": -3.506066828896735, "y": -4.421934610898454 }, { "x": -3.2713643711032603, "y": -4.421934610898454 }, { "x": -3.1982705857838596, "y": -4.198904249194129 }, { "x": -3.3874456000000066, "y": -4.059986800000004 }] }), jsxRuntime.jsx("silkscreencircle", { pcbX: "-2.62001mm", pcbY: "-2.830068mm", radius: "0.170434mm" }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.0127mm", pcbY: "5.8641mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -5.249926499999987, "y": 5.249926499999994 }, { "x": 5.249926500000015, "y": 5.249926499999994 }, { "x": 5.249926500000015, "y": -5.249926499999994 }, { "x": -5.249926499999987, "y": -5.249926499999994 }, { "x": -5.249926499999987, "y": 5.249926499999994 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C81720.obj?uuid=a4b96ad857dc48c08dab3d0efdf20aec",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C81720.step?uuid=a4b96ad857dc48c08dab3d0efdf20aec",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 0, y: 0, z: 0.000795 },
        }, ...props }));
};

const pinLabels$3 = {
    pin1: ["pin1"],
    pin2: ["pin2"],
    pin3: ["pin3"],
    pin4: ["pin4"],
    pin5: ["pin5"],
    pin6: ["pin6"]
};
const USBLC6_2SC6 = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$3, symbol: jsxRuntime.jsxs("symbol", { children: [jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.9, "y": 1 }, { "x": 0.9, "y": 1 }, { "x": 0.9, "y": -1 }, { "x": -0.9, "y": -1 }, { "x": -0.9, "y": 1 }], strokeWidth: 0.02, strokeColor: "#880000", isFilled: true, fillColor: "#FFFFFF" }), jsxRuntime.jsx("port", { name: "pin1", pinNumber: 1, aliases: ["1"], direction: "left", schX: -1.3, schY: 0.6, schStemLength: 0.4 }), jsxRuntime.jsx("port", { name: "pin2", pinNumber: 2, aliases: ["2"], direction: "left", schX: -1.3, schY: 0, schStemLength: 0.4 }), jsxRuntime.jsx("port", { name: "pin3", pinNumber: 3, aliases: ["3"], direction: "left", schX: -1.3, schY: -0.6, schStemLength: 0.4 }), jsxRuntime.jsx("port", { name: "pin4", pinNumber: 4, aliases: ["4"], direction: "right", schX: 1.3, schY: -0.6, schStemLength: 0.4 }), jsxRuntime.jsx("port", { name: "pin5", pinNumber: 5, aliases: ["5"], direction: "right", schX: 1.3, schY: 0, schStemLength: 0.4 }), jsxRuntime.jsx("port", { name: "pin6", pinNumber: 6, aliases: ["6"], direction: "right", schX: 1.3, schY: 0.6, schStemLength: 0.4 }), jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.9, "y": 0.6 }, { "x": 0.9, "y": 0.6 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.9, "y": -0.6 }, { "x": 0.9, "y": -0.6 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.9, "y": 0 }, { "x": 0.9, "y": 0 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { svgPath: "M -0.14 -0.12 L 0.06 0 L -0.14 0.14 Z", strokeColor: "#880000", isFilled: true, fillColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0.1, "y": 0.16 }, { "x": 0.06, "y": 0.16 }, { "x": 0.06, "y": -0.14 }, { "x": 0, "y": -0.14 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.68, "y": 0 }, { "x": -0.68, "y": 0.4 }, { "x": 0.66, "y": 0.4 }, { "x": 0.66, "y": -0.4 }, { "x": -0.68, "y": -0.4 }, { "x": -0.68, "y": 0 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0, "y": 0.6 }, { "x": 0, "y": 0.4 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0, "y": -0.6 }, { "x": 0, "y": -0.4 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { svgPath: "M -0.46 0.28 L -0.26 0.4 L -0.46 0.54 Z", strokeColor: "#880000", isFilled: true, fillColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.26, "y": 0.56 }, { "x": -0.26, "y": 0.56 }, { "x": -0.26, "y": 0.26 }, { "x": -0.26, "y": 0.26 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { svgPath: "M 0.22 0.28 L 0.42 0.4 L 0.22 0.54 Z", strokeColor: "#880000", isFilled: true, fillColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0.42, "y": 0.56 }, { "x": 0.42, "y": 0.56 }, { "x": 0.42, "y": 0.26 }, { "x": 0.42, "y": 0.26 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { svgPath: "M -0.48 -0.52 L -0.28 -0.4 L -0.48 -0.26 Z", strokeColor: "#880000", isFilled: true, fillColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.28, "y": -0.24 }, { "x": -0.28, "y": -0.24 }, { "x": -0.28, "y": -0.54 }, { "x": -0.28, "y": -0.54 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { svgPath: "M 0.22 -0.52 L 0.42 -0.4 L 0.22 -0.26 Z", strokeColor: "#880000", isFilled: true, fillColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0.42, "y": -0.24 }, { "x": 0.42, "y": -0.24 }, { "x": 0.42, "y": -0.54 }, { "x": 0.42, "y": -0.54 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematiccircle", { center: { x: 0, y: 0.6 }, radius: 0.02, strokeWidth: 0.02, color: "#880000" }), jsxRuntime.jsx("schematiccircle", { center: { x: 0, y: 0.4 }, radius: 0.02, strokeWidth: 0.02, color: "#880000" }), jsxRuntime.jsx("schematiccircle", { center: { x: -0.68, y: 0 }, radius: 0.02, strokeWidth: 0.02, color: "#880000" }), jsxRuntime.jsx("schematiccircle", { center: { x: 0.66, y: 0 }, radius: 0.02, strokeWidth: 0.02, color: "#880000" }), jsxRuntime.jsx("schematiccircle", { center: { x: 0, y: -0.4 }, radius: 0.02, strokeWidth: 0.02, color: "#880000" }), jsxRuntime.jsx("schematiccircle", { center: { x: 0, y: -0.6 }, radius: 0.02, strokeWidth: 0.02, color: "#880000" }), jsxRuntime.jsx("schematictext", { schX: 0, schY: 1.2, text: "{NAME}", fontSize: 0.2, anchor: "bottom_center" })] }), supplierPartNumbers: {
            "jlcpcb": [
                "C7519"
            ]
        }, manufacturerPartNumber: "USBLC6-2SC6", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.94996mm", pcbY: "-1.149096mm", width: "0.532003mm", height: "1.072007mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0mm", pcbY: "-1.149096mm", width: "0.532003mm", height: "1.072007mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "0.94996mm", pcbY: "-1.149096mm", width: "0.532003mm", height: "1.072007mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "0.94996mm", pcbY: "1.149096mm", width: "0.532003mm", height: "1.072007mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "0mm", pcbY: "1.149096mm", width: "0.532003mm", height: "1.072007mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "-0.94996mm", pcbY: "1.149096mm", width: "0.532003mm", height: "1.072007mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.5391891999998961, "y": -0.8892031999998835 }, { "x": 1.5391891999998961, "y": 0.8892031999999972 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.5391892000000098, "y": -0.8892031999998835 }, { "x": -1.5391892000000098, "y": 0.8892031999999972 }] }), jsxRuntime.jsx("silkscreencircle", { pcbX: "-1.668272mm", pcbY: "-1.301496mm", radius: "0.150114mm" }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.1524mm", pcbY: "2.6764mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -1.6999843999999484, "y": 1.9350994999999784 }, { "x": 1.7000097999999753, "y": 1.9350994999999784 }, { "x": 1.7000097999999753, "y": -1.9350994999998647 }, { "x": -1.6999843999999484, "y": -1.9350994999998647 }, { "x": -1.6999843999999484, "y": 1.9350994999999784 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C7519.obj?uuid=229b69761e2c45dba6a83d8866dec72d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C7519.step?uuid=229b69761e2c45dba6a83d8866dec72d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -12700000070253736e-21, y: 0.000012700000070253736, z: -0.048939 },
        }, ...props }));
};

const pinLabels$2 = {
    pin1: ["1A"],
    pin2: ["GND"],
    pin3: ["2A"],
    pin4: ["2Y"],
    pin5: ["VCC"],
    pin6: ["1Y"]
};
const pinAttributes$1 = {
    pin2: { requiresGround: true },
    pin5: { requiresPower: true }
};
const SN74LVC2G17DBVR = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$2, pinAttributes: pinAttributes$1, supplierPartNumbers: {
            "jlcpcb": [
                "C10429"
            ]
        }, manufacturerPartNumber: "SN74LVC2G17DBVR", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-0.94996mm", pcbY: "-1.149096mm", width: "0.532003mm", height: "1.072007mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "0mm", pcbY: "-1.149096mm", width: "0.532003mm", height: "1.072007mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "0.94996mm", pcbY: "-1.149096mm", width: "0.532003mm", height: "1.072007mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "0.94996mm", pcbY: "1.149096mm", width: "0.532003mm", height: "1.072007mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "0mm", pcbY: "1.149096mm", width: "0.532003mm", height: "1.072007mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "-0.94996mm", pcbY: "1.149096mm", width: "0.532003mm", height: "1.072007mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 1.5391891999998961, "y": -0.8892031999998835 }, { "x": 1.5391891999998961, "y": 0.8892031999999972 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.5391892000000098, "y": -0.8892031999998835 }, { "x": -1.5391892000000098, "y": 0.8892031999999972 }] }), jsxRuntime.jsx("silkscreencircle", { pcbX: "-1.668272mm", pcbY: "-1.301496mm", radius: "0.150114mm" }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0.1524mm", pcbY: "2.6764mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -1.6999843999999484, "y": 1.9350994999999784 }, { "x": 1.7000097999999753, "y": 1.9350994999999784 }, { "x": 1.7000097999999753, "y": -1.9350994999998647 }, { "x": -1.6999843999999484, "y": -1.9350994999998647 }, { "x": -1.6999843999999484, "y": 1.9350994999999784 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C10429.obj?uuid=229b69761e2c45dba6a83d8866dec72d",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C10429.step?uuid=229b69761e2c45dba6a83d8866dec72d",
            pcbRotationOffset: 90,
            modelOriginPosition: { x: -12700000070253736e-21, y: 0.000012700000070253736, z: -0.048939 },
        }, ...props }));
};

const pinLabels$1 = {
    pin1: ["A"],
    pin2: ["NC"],
    pin3: ["C2"],
    pin4: ["E1"],
    pin5: ["E2"],
    pin6: ["C1"]
};
const pinAttributes = {
    pin2: { doNotConnect: true }
};
const TCUT1600X01 = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: pinLabels$1, pinAttributes: pinAttributes, symbol: jsxRuntime.jsxs("symbol", { children: [jsxRuntime.jsx("port", { name: "pin4", pinNumber: 4, aliases: ["E1"], direction: "right", schX: 0.6, schY: -0.4, schStemLength: 0.2 }), jsxRuntime.jsx("port", { name: "pin5", pinNumber: 5, aliases: ["E2"], direction: "right", schX: 0.6, schY: 0, schStemLength: 0.2 }), jsxRuntime.jsx("port", { name: "pin6", pinNumber: 6, aliases: ["C1"], direction: "right", schX: 0.6, schY: 0.4, schStemLength: 0.2 }), jsxRuntime.jsx("port", { name: "pin3", pinNumber: 3, aliases: ["C2"], direction: "left", schX: -0.8, schY: -0.4, schStemLength: 0.2 }), jsxRuntime.jsx("port", { name: "pin1", pinNumber: 1, aliases: ["A"], direction: "left", schX: -0.8, schY: 0.4, schStemLength: 0.2 }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0.2, "y": -0.4 }, { "x": 0.4, "y": -0.4 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0.2, "y": 0.4 }, { "x": 0.4, "y": 0.4 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0, "y": -0.28 }, { "x": 0.2, "y": -0.4 }, { "x": 0.12, "y": -0.38 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0.2, "y": -0.4 }, { "x": 0.14, "y": -0.34 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0.2, "y": 0.06 }, { "x": 0.14, "y": 0.12 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0, "y": 0.18 }, { "x": 0.2, "y": 0.06 }, { "x": 0.12, "y": 0.08 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0, "y": -0.16 }, { "x": 0.2, "y": -0.1 }, { "x": 0.32, "y": -0.1 }, { "x": 0.32, "y": 0.4 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0, "y": 0.28 }, { "x": 0.2, "y": 0.4 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0, "y": -0.1 }, { "x": 0, "y": -0.34 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0, "y": 0.12 }, { "x": 0, "y": 0.36 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": 0.4, "y": 0 }, { "x": 0.2, "y": 0 }, { "x": 0.2, "y": 0.06 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.36, "y": -0.08 }, { "x": -0.16, "y": -0.08 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.36, "y": 0.08 }, { "x": -0.16, "y": 0.08 }, { "x": -0.26, "y": -0.08 }, { "x": -0.36, "y": 0.08 }], strokeColor: "#880000" }), jsxRuntime.jsx("schematicpath", { points: [{ "x": -0.6, "y": 0.4 }, { "x": -0.26, "y": 0.4 }, { "x": -0.26, "y": -0.4 }, { "x": -0.6, "y": -0.4 }], strokeColor: "#880000" }), jsxRuntime.jsx("port", { name: "pin2", pinNumber: 2, aliases: ["NC"], direction: "left", schX: -0.8, schY: 0, schStemLength: 0.2 }), jsxRuntime.jsx("schematicrect", { schX: -0.1, schY: 0, width: 1, height: 1.2, strokeWidth: 0.02, color: "#880000" }), jsxRuntime.jsx("schematictext", { schX: -0.1, schY: 0.808, text: "{NAME}", fontSize: 0.2, anchor: "bottom_center" })] }), supplierPartNumbers: {
            "jlcpcb": [
                "C511085"
            ]
        }, manufacturerPartNumber: "TCUT1600X01", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("smtpad", { portHints: ["pin6"], pcbX: "2.449957mm", pcbY: "1.400048mm", width: "1.8999962mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin2"], pcbX: "-2.449957mm", pcbY: "-0mm", width: "1.8999962mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin4"], pcbX: "2.449957mm", pcbY: "-1.400048mm", width: "1.8999962mm", height: "0.999998mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin3"], pcbX: "-2.449957mm", pcbY: "-1.400048mm", width: "1.8999962mm", height: "1.1999976mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin5"], pcbX: "2.449957mm", pcbY: "-0mm", width: "1.8999962mm", height: "0.6999986mm", shape: "rect" }), jsxRuntime.jsx("smtpad", { portHints: ["pin1"], pcbX: "-2.449957mm", pcbY: "1.400048mm", width: "1.8999962mm", height: "1.1999976mm", shape: "rect" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -1.143000000000029, "y": -1.5240000000001146 }, { "x": -0.6360922000000073, "y": -1.5240000000001146 }, { "x": -0.6360922000000073, "y": 1.3969999999998208 }, { "x": -1.1440922000000455, "y": 1.3969999999998208 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 2.5400508000000173, "y": -2.031949200000099 }, { "x": 2.5400508000000173, "y": -2.2859492000001183 }, { "x": -2.5399492000000237, "y": -2.2859492000001183 }, { "x": -2.5399492000000237, "y": -2.2310852000000523 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -2.5399492000000237, "y": 2.231186799999932 }, { "x": -2.5399492000000237, "y": 2.2860507999998845 }, { "x": 2.5400508000000173, "y": 2.2860507999998845 }, { "x": 2.5400508000000173, "y": 2.0320507999998654 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "0.013843mm", pcbY: "3.289048mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -1.1393931999999722, "y": -1.615719399999989 }, { "x": -0.6324853999999505, "y": -1.615719399999989 }, { "x": -0.5617748633028441, "y": -1.586430136697345 }, { "x": -0.5324855999999727, "y": -1.515719600000125 }, { "x": -0.5324855999999727, "y": 1.4052803999999242 }, { "x": -0.5617838420440648, "y": 1.475974517523582 }, { "x": -0.6324853999999505, "y": 1.5052547999999888 }, { "x": -1.140485399999875, "y": 1.5052547999999888 }, { "x": -1.2388915144503017, "y": 1.4052677000000813 }, { "x": -1.140485399999875, "y": 1.3052805999999464 }, { "x": -0.7324852000000419, "y": 1.3052805999999464 }, { "x": -0.7324852000000419, "y": -1.4157452000000603 }, { "x": -1.1393931999999722, "y": -1.4157452000000603 }, { "x": -1.237799314450399, "y": -1.5157322999999678 }, { "x": -1.1393931999999722, "y": -1.615719399999989 }], strokeWidth: "0mm", isFilled: true, hasStroke: false }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -1.1405108000000155, "y": 0.08305799999993724 }, { "x": -0.12451080000005277, "y": 0.08305799999993724 }, { "x": -0.6325107999999773, "y": -0.4249419999999873 }, { "x": -1.1405108000000155, "y": 0.08305799999993724 }], strokeWidth: "0mm", isFilled: true, hasStroke: false }), jsxRuntime.jsx("fabricationnotepath", { route: [{ "x": -1.130503200000021, "y": -0.32796480000001793 }, { "x": -0.1605026000000862, "y": -0.32796480000001793 }, { "x": -0.1605026000000862, "y": -0.5079746000000114 }, { "x": -1.130503200000021, "y": -0.5079746000000114 }, { "x": -1.130503200000021, "y": -0.32796480000001793 }], strokeWidth: "0mm", isFilled: true, hasStroke: false }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -3.6499551000000565, "y": 2.269985800000086 }, { "x": 3.6499551000000565, "y": 2.269985800000086 }, { "x": 3.6499551000000565, "y": -2.269985799999972 }, { "x": -3.6499551000000565, "y": -2.269985799999972 }, { "x": -3.6499551000000565, "y": 2.269985800000086 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C511085.obj?uuid=bf879952782a41309bb0937e7ded1595",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C511085.step?uuid=bf879952782a41309bb0937e7ded1595",
            pcbRotationOffset: 180,
            modelOriginPosition: { x: 0.004999999999886429, y: 0, z: -5e-5 },
        }, ...props }));
};

const pinLabels = {
    pin1: ["pin1"],
    pin2: ["pin2"],
    pin3: ["pin3"],
    pin4: ["pin4"],
    pin5: ["pin5"],
    pin6: ["pin6"],
    pin7: ["pin7"],
    pin8: ["pin8"]
};
const A_2_54_1_8 = (props) => {
    return (jsxRuntime.jsx("chip", { pinLabels: pinLabels, supplierPartNumbers: {
            "jlcpcb": [
                "C5156616"
            ]
        }, manufacturerPartNumber: "2.54-1*8", footprint: jsxRuntime.jsxs("footprint", { children: [jsxRuntime.jsx("platedhole", { portHints: ["pin1"], pcbX: "-8.89mm", pcbY: "0mm", holeWidth: "0.999998mm", holeHeight: "0.999998mm", outerWidth: "1.499997mm", outerHeight: "1.499997mm", rectPad: true, pcbRotation: "0deg", shape: "pill" }), jsxRuntime.jsx("platedhole", { portHints: ["pin2"], pcbX: "-6.35mm", pcbY: "0mm", outerDiameter: "1.499997mm", holeDiameter: "0.999998mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin3"], pcbX: "-3.81mm", pcbY: "0mm", outerDiameter: "1.499997mm", holeDiameter: "0.999998mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin4"], pcbX: "-1.27mm", pcbY: "0mm", outerDiameter: "1.499997mm", holeDiameter: "0.999998mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin5"], pcbX: "1.27mm", pcbY: "0mm", outerDiameter: "1.499997mm", holeDiameter: "0.999998mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin6"], pcbX: "3.81mm", pcbY: "0mm", outerDiameter: "1.499997mm", holeDiameter: "0.999998mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin7"], pcbX: "6.35mm", pcbY: "0mm", outerDiameter: "1.499997mm", holeDiameter: "0.999998mm", shape: "circle" }), jsxRuntime.jsx("platedhole", { portHints: ["pin8"], pcbX: "8.89mm", pcbY: "0mm", outerDiameter: "1.499997mm", holeDiameter: "0.999998mm", shape: "circle" }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": 10.159974599999941, "y": 1.2700000000000955 }, { "x": 10.159974599999941, "y": -1.2699999999999818 }, { "x": -10.159974600000055, "y": -1.2699999999999818 }, { "x": -10.159974600000055, "y": 1.2700000000000955 }, { "x": 10.159974599999941, "y": 1.2700000000000955 }] }), jsxRuntime.jsx("silkscreenpath", { route: [{ "x": -7.596479600000066, "y": 1.2700000000000955 }, { "x": -7.596479600000066, "y": -1.2699999999999818 }] }), jsxRuntime.jsx("silkscreentext", { text: "{NAME}", pcbX: "-0mm", pcbY: "2.27mm", anchorAlignment: "center", fontSize: "1mm" }), jsxRuntime.jsx("courtyardoutline", { outline: [{ "x": -10.50999980000006, "y": 1.500010199999906 }, { "x": 10.50997439999992, "y": 1.500010199999906 }, { "x": 10.50997439999992, "y": -1.499984799999993 }, { "x": -10.50999980000006, "y": -1.499984799999993 }, { "x": -10.50999980000006, "y": 1.500010199999906 }] })] }), cadModel: {
            objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5156616.obj?uuid=493a931f43604ecb9f8cc04c531d15ee",
            stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5156616.step?uuid=493a931f43604ecb9f8cc04c531d15ee",
            pcbRotationOffset: 0,
            modelOriginPosition: { x: 7.62001320000007, y: -12700000070253736e-21, z: -5999999999950489e-21 },
        }, ...props }));
};

// Exact JLCPCB/EasyEDA imports; generated files remain unchanged.
const jlcParts = {
    "MB85RC256VPNF-G-AMERE2": MB85RC256VPNF_G_AMERE2,
    "GRM188R61A105KA61D": GRM188R61A105KA61D,
    "CL21A475KOFNNNE": CL21A475KOFNNNE,
    "GRM188R71C104KA01D": GRM188R71C104KA01D,
    "GRM155R71C104KA88D": GRM155R71C104KA88D,
    "GRM155R71H103KA88D": GRM155R71H103KA88D,
    "TYPE-C-31-M-12": TYPE_C_31_M_12,
    "B6B-PH-K-S(LF)(SN)": B6B_PH_K_S_LF__SN_,
    "RC0603FR-0710KL": RC0603FR_0710KL,
    "RC0603FR-075K1L": RC0603FR_075K1L,
    "RC0603FR-074K7L": RC0603FR_074K7L,
    "RC0603FR-07100KL": RC0603FR_07100KL,
    "RC0603FR-07150RL": RC0603FR_07150RL,
    "RC0603FR-0722KL": RC0603FR_0722KL,
    "RC0603FR-0722RL": RC0603FR_0722RL,
    "B3U-3000P": B3U_3000P,
    "TPS22919DCKR": TPS22919DCKR,
    "TLV75533PDBVR": TLV75533PDBVR,
    "STM32F072CBT6": STM32F072CBT6,
    "USBLC6-2SC6": USBLC6_2SC6,
    "SN74LVC2G17DBVR": SN74LVC2G17DBVR,
    "TCUT1600X01": TCUT1600X01,
    "2.54-1*8": A_2_54_1_8,
};
function jlcFootprintPart(mpn, props) {
    if ("footprint" in props)
        throw new Error(`Do not override the imported footprint for ${mpn}`);
    const Component = jlcParts[mpn];
    if (!Component)
        throw new Error(`Missing exact JLCPCB footprint for ${mpn}`);
    let imported = Component(props);
    // These housings overhang the board/window, or are DNP. Keep the supplier
    // copper, drills and courtyards; omit body ink that cannot be printed.
    // Two tightly spaced resistor pairs also need one outline omitted.
    if (["TYPE-C-31-M-12", "B6B-PH-K-S(LF)(SN)", "2.54-1*8", "B3U-3000P"].includes(mpn) || ["R13", "R27"].includes(props.name)) {
        const footprint = imported.props.footprint;
        const children = react.Children.toArray(footprint.props.children).filter(child => !react.isValidElement(child) || !["silkscreenpath", "silkscreenrect", "silkscreencircle"].includes(String(child.type)));
        imported = react.cloneElement(imported, { footprint: react.cloneElement(footprint, {}, children) });
    }
    if (["B6B-PH-K-S(LF)(SN)", "2.54-1*8"].includes(mpn)) {
        // Access metadata only; supplier copper and drills are unchanged.
        return react.createElement("connector", { ...imported.props,
            pinAttributes: Object.fromEntries(Array.from({ length: mpn === "2.54-1*8" ? 8 : 6 }, (_, i) => [`pin${i + 1}`, { isPassive: true }])),
            footprint: react.cloneElement(imported.props.footprint, { insertionDirection: "from_above" }) });
    }
    return imported;
}

// Physical package numbers viewed from above; see reference/DATASHEETS.md.
const mcuPins = ["VBAT", "PC13", "PC14", "PC15", "PF0", "PF1", "NRST", "VSSA", "VDDA", "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PB0", "PB1", "PB2", "PB10", "PB11", "VSS1", "VDD1", "PB12", "PB13", "PB14", "PB15", "PA8", "PA9", "PA10", "PA11", "PA12", "PA13", "VSS2", "VDDIO2", "PA14", "PA15", "PB3", "PB4", "PB5", "PB6", "PB7", "BOOT0", "PB8", "PB9", "VSS3", "VDD2"];
const attributes = (pins, power, ground) => Object.fromEntries(pins.map(p => [p, power.includes(p) ? { requiresPower: true, mustBeConnected: true } : ground.includes(p) ? { requiresGround: true, mustBeConnected: true } : { isBidirectional: true }]));
const labels = (pins) => Object.fromEntries(pins.map((p, i) => [`pin${i + 1}`, p]));
// Exact imports use different zero angles. Adapt placement, not pad geometry.
// CAD supplied by this project retains the previous verified package axes.
const libraryAngle = {
    "STM32F072CBT6": -90, "MB85RC256VPNF-G-AMERE2": -90,
    "USBLC6-2SC6": -90, "SN74LVC2G17DBVR": -90,
    "TPS22919DCKR": 180, "TLV75533PDBVR": 180,
    "B6B-PH-K-S(LF)(SN)": 180, "2.54-1*8": 180,
};
function JlcChip(props) {
    const { manufacturerPartNumber: mpn, pcbRotation = 0, cadModel, ...rest } = props;
    const delta = libraryAngle[mpn] ?? 0;
    return jlcFootprintPart(mpn, { ...rest, symbol: undefined, pcbRotation: pcbRotation + delta,
        ...(cadModel ? { cadModel: { ...cadModel, pcbRotationOffset: (cadModel.pcbRotationOffset ?? 0) - delta } } : {}) });
}
const JlcConnector = JlcChip;
const JlcButton = (props) => jlcFootprintPart("B3U-3000P", props);
const JlcResistor = (props) => jlcFootprintPart(props.manufacturerPartNumber, props);
const JlcCapacitor = (props) => jlcFootprintPart(props.manufacturerPartNumber, props);
const MCU = (props) => jsxRuntime.jsx(JlcChip, { ...props, cadModel: packageCad("lqfp48"), manufacturerPartNumber: "STM32F072CBT6", pinLabels: labels(mcuPins), pinAttributes: attributes(mcuPins, ["VBAT", "VDDA", "VDD1", "VDD2", "VDDIO2"], ["VSSA", "VSS1", "VSS2", "VSS3"]) });
// Genuine stocked pre-PCN sensor; _A has unchanged fit/form/function per Vishay PCN.
// JLC's pin3 alias C2 means cathode here; use the manufacturer's A/K/C/E functions.
const OpticalSensor = (props) => jsxRuntime.jsx(JlcChip, { ...props, manufacturerPartNumber: "TCUT1600X01", cadModel: packageCad("tcut1600"), pinLabels: labels(["A", "NC", "K", "EB", "EA", "COL"]), pinAttributes: { A: { isPassive: true }, K: { requiresGround: true }, COL: { requiresPower: true }, EA: { isOutput: true }, EB: { isOutput: true }, NC: { doNotConnect: true } } });
const FRAM = (props) => jsxRuntime.jsx(JlcChip, { ...props, cadModel: packageCad("soic8"), manufacturerPartNumber: "MB85RC256VPNF-G-AMERE2", pinAttributes: { VDD: { requiresPower: true }, VSS: { requiresGround: true }, A0: { isInput: true }, A1: { isInput: true }, A2: { isInput: true }, SDA: { isBidirectional: true }, SCL: { isInput: true }, WP: { isInput: true } }, pinLabels: labels(["A0", "A1", "A2", "VSS", "SDA", "SCL", "WP", "VDD"]) });
// Keep USB schematic semantics while reusing every primitive of the exact import.
const USB = (props) => {
    const imported = jlcFootprintPart("TYPE-C-31-M-12", {});
    return jsxRuntime.jsx("connector", { standard: "usb_c", ...imported.props, ...props, pinAttributes: Object.fromEntries([5, 6, 7, 8, 9, 10, 11, 12].map(n => [`pin${n}`, { isPassive: true }])) });
};

const refStyle = { "& silkscreentext": { visibility: "hidden" } };
const fixedParts = { findPart: ({ sourceComponent }) => sourceComponent.type === "source_component" ? sourceComponent.supplier_part_numbers ?? {} : {} };
const resistorMpns = { "5.1k": "RC0603FR-075K1L", "4.42k": "RC0603FR-074K42L", "3.09k": "RC0603FR-073K09L", "30k": "RC0603FR-0730KL", "100k": "RC0603FR-07100KL", "10k": "RC0603FR-0710KL", "4.7k": "RC0603FR-074K7L", "1k": "RC0603FR-071KL", "1M": "RC0603FR-071ML", "470k": "RC0603FR-07470KL", "150": "RC0603FR-07150RL", "22k": "RC0603FR-0722KL", "22": "RC0603FR-0722RL" };
const capacitorMpns = { "100nF": "GRM188R71C104KA01D", "1uF": "GRM188R61A105KA61D", "4.7uF": "CL21A475KOFNNNE", "10nF": "GRM155R71H103KA88D", "2.2uF": "GRM188R61C225KE11D", "10uF": "GRM21BR61C106KE15L" };
const R = (p) => jsxRuntime.jsx(JlcResistor, { cadModel: packageCad("r0603"), manufacturerPartNumber: resistorMpns[p.resistance], pcbSx: refStyle, schRotation: p.connections?.pin2 === "net.V3V3" ? 90 : -90, ...p });
const C = ({ packageSize = "0603", ...p }) => jsxRuntime.jsx(JlcCapacitor, { cadModel: packageCad(packageSize === "0805" ? "c0805" : packageSize === "0402" ? "c0402" : "c0603"), manufacturerPartNumber: packageSize === "0402" && p.capacitance === "100nF" ? "GRM155R71C104KA88D" : capacitorMpns[p.capacitance], pcbSx: refStyle, schRotation: -90, ...p });
const N = (name) => `net.${name}`;
const pos = [[-30, 15], [30, 15], [-30, -15], [30, -15]];
const usbPosition = { x: dimensions.usb_center[0], y: dimensions.usb_center[1] };
// A short integral USB tab brings the receptacle to the shell wall. The
// asymmetric outline's own centre is offset; component coordinates stay fixed.
const boardFrontY = Math.max(...dimensions.pcb_outline.usb_tab.points.map(([, y]) => y));
const boardBackY = Math.min(...dimensions.pcb_outline.button_tab.points.map(([, y]) => y));
const boardCenterY = (boardFrontY + boardBackY) / 2;
const pcbOutline = (() => {
    let usbInserted = false, buttonInserted = false;
    return Array.from({ length: 144 }, (_, i) => ({ x: Math.max(-34, Math.min(34, 36 * Math.cos(i * Math.PI / 72))), y: Math.max(-34, Math.min(34, 36 * Math.sin(i * Math.PI / 72))) })).flatMap(p => {
        if (p.y >= dimensions.pcb_outline.usb_tab.replace_above_y) {
            if (usbInserted)
                return [];
            usbInserted = true;
            return dimensions.pcb_outline.usb_tab.points.map(([x, y]) => ({ x, y }));
        }
        if (p.y <= dimensions.pcb_outline.button_tab.replace_below_y) {
            if (buttonInserted)
                return [];
            buttonInserted = true;
            return dimensions.pcb_outline.button_tab.points.map(([x, y]) => ({ x, y }));
        }
        return [p];
    }).map(p => ({ x: p.x, y: p.y - boardCenterY }));
})();
const used = ["VBAT", "NRST", "VSSA", "VDDA", "PA0", "PB2", "VSS1", "VDD1", "PA11", "PA12", "PA13", "VSS2", "VDDIO2", "PA14", "PB6", "PB7", "PB4", "PB5", "PB10", "PB11", "PA8", "PB13", "PB14", "PB15", "BOOT0", "VSS3", "VDD2"];
var Board = () => jsxRuntime.jsxs("board", { name: "DESK_KNOB_REVE3", title: "USB laptop dashboard and scroll ring \u2014 Rev E3", width: 68, height: boardFrontY - boardBackY, outlineOffsetY: boardCenterY, outline: pcbOutline, layers: 2, thickness: 1.6, minTraceWidth: fabrication.minimum_track_width, minBoardEdgeClearance: fabrication.minimum_copper_to_board_edge, minTraceToHoleEdgeClearance: fabrication.minimum_nonplated_hole_to_copper, minViaHoleDiameter: fabrication.via_drill_diameter, minViaPadDiameter: fabrication.via_pad_diameter, pcbStyle: { viaHoleDiameter: fabrication.via_drill_diameter, viaPadDiameter: fabrication.via_pad_diameter }, minTraceToPadEdgeClearance: fabrication.minimum_track_and_via_copper_clearance, minPadEdgeToPadEdgeClearance: fabrication.minimum_track_and_via_copper_clearance, minViaEdgeToPadEdgeClearance: fabrication.minimum_track_and_via_copper_clearance, minViaHoleEdgeToViaHoleEdgeClearance: fabrication.minimum_via_drill_to_drill, minPlatedHoleDrillEdgeToDrillEdgeClearance: fabrication.minimum_component_plated_drill_to_drill, partsEngine: fixedParts, schLayout: { layoutMode: "relative" }, autorouter: { preset: "auto_local", traceClearance: .2, allowViaInPad: false }, autorouterVersion: "beta_pipeline7", autorouterEffortLevel: "2x", children: [jsxRuntime.jsx("autoroutingphase", { name: "MCU local decoupling", phaseIndex: 0, minTraceWidth: .15, connections: ["MCU_VBAT_DECAP", "MCU_VBAT_GROUND", "MCU_VDDA_DECAP", "MCU_VSSA_DECAP", "MCU_VDD1_DECAP", "MCU_VSS1_DECAP", "MCU_VDDIO_DECAP", "MCU_VSS2_DECAP", "MCU_VDD2_DECAP", "MCU_VSS3_DECAP", "MCU_VDDA_LOCAL_BULK", "MCU_VDDA_LOCAL_RETURN", "MCU_VDDIO_LOCAL_BULK", "MCU_VDDIO_LOCAL_RETURN"], minTraceToPadEdgeClearance: .2, minTraceToHoleEdgeClearance: .25, minPadEdgeToPadEdgeClearance: .15, minPlatedHoleDrillEdgeToDrillEdgeClearance: .25, minViaEdgeToPadEdgeClearance: .3, minViaHoleEdgeToViaHoleEdgeClearance: 1 }), jsxRuntime.jsx("autoroutingphase", { name: "Remaining two-layer board", minTraceWidth: .15, minTraceToPadEdgeClearance: .2, minTraceToHoleEdgeClearance: .25, minPadEdgeToPadEdgeClearance: .15, minPlatedHoleDrillEdgeToDrillEdgeClearance: .25, minViaEdgeToPadEdgeClearance: .3, minViaHoleEdgeToViaHoleEdgeClearance: 1 }), jsxRuntime.jsx("net", { name: "GND", isGroundNet: true, nominalTraceWidth: .15 }), jsxRuntime.jsx("net", { name: "V3V3", isPowerNet: true, nominalTraceWidth: .15 }), jsxRuntime.jsx("net", { name: "VBUS", isPowerNet: true, nominalTraceWidth: .15 }), jsxRuntime.jsx("net", { name: "PERIPH_3V3", isPowerNet: true, nominalTraceWidth: .15 }), jsxRuntime.jsx("net", { name: "PERIPH_EN" }), jsxRuntime.jsx("net", { name: "NRST" }), jsxRuntime.jsx("net", { name: "BOOT0" }), jsxRuntime.jsx("net", { name: "MODE_BTN" }), jsxRuntime.jsx("net", { name: "USB_DM" }), jsxRuntime.jsx("net", { name: "USB_DP" }), jsxRuntime.jsx("net", { name: "SWDIO" }), jsxRuntime.jsx("net", { name: "SWCLK" }), jsxRuntime.jsx("net", { name: "SCL" }), jsxRuntime.jsx("net", { name: "SDA" }), jsxRuntime.jsx("net", { name: "CC1" }), jsxRuntime.jsx("net", { name: "CC2" }), jsxRuntime.jsx("net", { name: "IR_A" }), jsxRuntime.jsx("net", { name: "OPT_A" }), jsxRuntime.jsx("net", { name: "OPT_B" }), jsxRuntime.jsx("net", { name: "ENC_A" }), jsxRuntime.jsx("net", { name: "ENC_B" }), jsxRuntime.jsx("net", { name: "LCD_RST" }), jsxRuntime.jsx("net", { name: "LCD_BL" }), jsxRuntime.jsx("net", { name: "LCD_CS" }), jsxRuntime.jsx("net", { name: "SPI_SCK" }), jsxRuntime.jsx("net", { name: "LCD_DC" }), jsxRuntime.jsx("net", { name: "SPI_MOSI" }), jsxRuntime.jsx("net", { name: "LCD_SCK" }), jsxRuntime.jsx("net", { name: "LCD_MOSI" }), jsxRuntime.jsx("cutout", { name: "LCD_AND_CABLE_POCKET", shape: "polygon", points: Array.from({ length: 4 }, (_, corner) => Array.from({ length: 9 }, (_, i) => { const a = (corner * 90 + i * 90 / 8) * Math.PI / 180; const cx = corner === 0 || corner === 3 ? 14.8 : -15.8; const cy = corner < 2 ? 16.8 : -19.8; return { x: cx + 2 * Math.cos(a), y: cy + 2 * Math.sin(a) }; })).flat() }), jsxRuntime.jsx("keepout", { shape: "rect", pcbX: -0.5, pcbY: -1.5, width: 35.4, height: 41.4, layers: ["top", "bottom"], allowPlacements: true }), [-2.899918, 2.899918].map(x => jsxRuntime.jsx(react.Fragment, { children: jsxRuntime.jsx("keepout", { shape: "circle", pcbX: usbPosition.x + x, pcbY: usbPosition.y - .9055672, radius: .6, layers: ["top", "bottom"], allowPlacements: true }) }, x)), pos.map(([x, y], i) => jsxRuntime.jsx(react.Fragment, { children: jsxRuntime.jsx("hole", { name: `H${i + 1}`, diameter: 2.7, pcbX: x, pcbY: y }) }, i)), jsxRuntime.jsx(MCU, { pcbSx: refStyle, name: "U1", pcbX: 25.2, pcbY: 0, pcbRotation: 90, noSchematicRepresentation: true, noConnect: mcuPins.filter(p => !used.includes(p)), connections: { VBAT: N("V3V3"), VDD1: N("V3V3"), VDD2: N("V3V3"), VDDIO2: N("V3V3"), VDDA: N("V3V3"), VSS1: N("GND"), VSS2: N("GND"), VSS3: N("GND"), VSSA: N("GND"), NRST: N("NRST"), BOOT0: N("BOOT0"), PA0: N("MODE_BTN"), PB2: N("PERIPH_EN"), PA11: N("USB_DM"), PA12: N("USB_DP"), PA13: N("SWDIO"), PA14: N("SWCLK"), PB6: N("SCL"), PB7: N("SDA"), PB4: N("ENC_A"), PB5: N("ENC_B"), PB10: N("LCD_RST"), PB11: N("LCD_BL"), PA8: N("LCD_CS"), PB13: N("SPI_SCK"), PB14: N("LCD_DC"), PB15: N("SPI_MOSI") } }), jsxRuntime.jsxs("schematicsheet", { name: "sheet-1", displayName: "USB-C interface and ESD protection", sheetIndex: 0, children: [jsxRuntime.jsx("schematictext", { text: "DESK KNOB E3 \u2014 USB-C interface and ESD protection", schX: 0, schY: 8, fontSize: .4 }), jsxRuntime.jsx("schematicsection", { name: "usb", displayName: "USB-C / ESD / CC sink resistors" }), jsxRuntime.jsx(USB, { allowOffBoard: true, pcbSx: refStyle, name: "J1", schWidth: 1.5, pcbX: usbPosition.x, pcbY: usbPosition.y, pcbRotation: 180, schX: -7, schY: -2, schSectionName: "usb", noConnect: ["SBU1", "SBU2"], connections: { EH1: N("GND"), EH2: N("GND"), EH3: N("GND"), EH4: N("GND"), GND1: N("GND"), GND2: N("GND"), VBUS1: N("VBUS"), VBUS2: N("VBUS"), DP1: N("USB_DP"), DP2: N("USB_DP"), DN1: N("USB_DM"), DN2: N("USB_DM") } }), jsxRuntime.jsx(R, { name: "R1", resistance: "5.1k", pcbX: 8, pcbY: 36.5, schX: -2, schY: 1, schSectionName: "usb", connections: { pin1: N("CC1"), pin2: N("GND") } }), jsxRuntime.jsx(R, { name: "R2", resistance: "5.1k", pcbX: -8, pcbRotation: 180, pcbY: 36, schX: -2, schY: -2, schSectionName: "usb", connections: { pin1: N("CC2"), pin2: N("GND") } }), jsxRuntime.jsx("trace", { name: "USB_CC1_RD", from: ".R1 > .pin1", to: ".J1 > .CC1", width: .1 }), jsxRuntime.jsx("trace", { name: "USB_CC2_RD", from: ".J1 > .CC2", to: ".R2 > .pin1", width: .1 }), jsxRuntime.jsx(JlcChip, { pcbSx: refStyle, name: "U6", cadModel: packageCad("sot23-6"), pinAttributes: { VBUS: { requiresPower: true }, GND: { requiresGround: true }, DM_IN: { isPassive: true }, DM_OUT: { isPassive: true }, DP_IN: { isPassive: true }, DP_OUT: { isPassive: true } }, manufacturerPartNumber: "USBLC6-2SC6", pcbX: 7.6, pcbY: 33.8, pcbRotation: 0, schX: 3, schY: -1, schSectionName: "usb", pinLabels: { pin1: "DM_IN", pin2: "GND", pin3: "DP_IN", pin4: "DP_OUT", pin5: "VBUS", pin6: "DM_OUT" }, connections: { DM_IN: N("USB_DM"), GND: N("GND"), DP_IN: N("USB_DP"), DP_OUT: N("USB_DP"), VBUS: N("VBUS"), DM_OUT: N("USB_DM") } }), jsxRuntime.jsx(C, { name: "C1", capacitance: "100nF", pcbX: 10.8, pcbY: 33.4, pcbRotation: 90, schX: 7, schY: -1, schSectionName: "usb", connections: { pin1: N("VBUS"), pin2: N("GND") } }), jsxRuntime.jsx("schematictext", { text: "USBLC6-2SC6: USB 2.0 data ESD clamp; VBUS reference = 5V", schX: 3, schY: -4, fontSize: .22 })] }), jsxRuntime.jsxs("schematicsheet", { name: "sheet-2", displayName: "USB power and switched peripherals", sheetIndex: 1, children: [jsxRuntime.jsx("schematictext", { text: "DESK KNOB E3 \u2014 USB power and switched peripherals", schX: 0, schY: 8, fontSize: .4 }), jsxRuntime.jsx("schematicsection", { name: "power", displayName: "5V USB / 3.3V logic / suspend-controlled display and encoder" }), jsxRuntime.jsx(JlcChip, { pcbSx: refStyle, name: "U4", cadModel: packageCad("sc70-6"), manufacturerPartNumber: "TPS22919DCKR", pcbX: 5, pcbY: -29, schX: 3, schY: 1, schSectionName: "power", pinLabels: { pin1: "IN", pin2: "GND", pin3: "ON", pin4: "NC", pin5: "QOD", pin6: "VOUT" }, noConnect: ["NC"], pinAttributes: { IN: { requiresPower: true }, GND: { requiresGround: true }, ON: { isInput: true }, VOUT: { providesPower: true }, QOD: { isPassive: true }, NC: { doNotConnect: true } }, connections: { IN: N("V3V3"), GND: N("GND"), ON: N("PERIPH_EN"), QOD: N("PERIPH_3V3"), VOUT: N("PERIPH_3V3") } }), jsxRuntime.jsx(C, { name: "C2", capacitance: "1uF", pcbX: 9, pcbY: -29, schX: -2, schY: -0.5, schSectionName: "power", connections: { pin1: N("V3V3"), pin2: N("GND") } }), jsxRuntime.jsx(C, { name: "C3", capacitance: "1uF", pcbX: 9, pcbY: -32, schX: 6, schY: 1, schSectionName: "power", connections: { pin1: N("PERIPH_3V3"), pin2: N("GND") } }), jsxRuntime.jsx(R, { name: "R21", resistance: "100k", pcbX: 1.5, pcbY: -25, pcbRotation: 270, schX: 3, schY: -2, schSectionName: "power", connections: { pin1: N("PERIPH_EN"), pin2: N("GND") } }), jsxRuntime.jsx(JlcChip, { pcbSx: refStyle, name: "U5", cadModel: packageCad("sot23-5"), pinAttributes: { IN: { requiresPower: true }, GND: { requiresGround: true }, OUT: { providesPower: true }, EN: { isInput: true }, NC: { doNotConnect: true } }, manufacturerPartNumber: "TLV75533PDBVR", pcbX: -18, pcbY: -27.5, schX: -5, schY: 1, schSectionName: "power", noConnect: ["NC"], pinLabels: { pin1: "IN", pin2: "GND", pin3: "EN", pin4: "NC", pin5: "OUT" }, connections: { IN: N("VBUS"), GND: N("GND"), EN: N("VBUS"), OUT: N("V3V3") } }), jsxRuntime.jsx(C, { name: "C5", capacitance: "1uF", pcbX: -14, pcbY: -28, schX: -9, schY: 0, schSectionName: "power", connections: { pin1: N("VBUS"), pin2: N("GND") } }), jsxRuntime.jsx(C, { name: "C6", capacitance: "4.7uF", packageSize: "0805", pcbX: -22.6, pcbY: -25, schX: -2, schY: -1.7, schSectionName: "power", connections: { pin1: N("V3V3"), pin2: N("GND") } }), jsxRuntime.jsx("schematictext", { text: "TLV75533: 5V USB to 3.3V; 500mA rated; C5/C6 ceramic", schX: 0, schY: 5.2, fontSize: .22 }), jsxRuntime.jsx("schematictext", { text: "TPS22919: 1.5A load switch; PB2 low disables LCD and IR", schX: 0, schY: 4.2, fontSize: .22 })] }), jsxRuntime.jsxs("schematicsheet", { name: "sheet-3", displayName: "STM32 controller and JST programming", sheetIndex: 2, children: [jsxRuntime.jsx("schematictext", { text: "DESK KNOB E3 \u2014 STM32 controller and JST programming", schX: 0, schY: 9.2, fontSize: .4 }), jsxRuntime.jsx("schematicsection", { name: "mcu", displayName: "STM32F072CB / HSI48 crystal-less USB / SWD" }), jsxRuntime.jsx("schematicbox", { name: "U1 power", chipRef: ".U1", schX: -5.5, schY: 0.5, width: 2.15, height: 1.2, schSectionName: "mcu", pinLabels: { pin1: "VDD1", pin2: "VDD2", pin3: "VDDA", pin4: "VDDIO2", pin5: "VBAT", pin6: "VSS1", pin7: "VSS2", pin8: "VSS3", pin9: "VSSA" }, schPinArrangement: { leftSide: ["pin1", "pin2", "pin3", "pin4", "pin5"], rightSide: ["pin6", "pin7", "pin8", "pin9"] } }), jsxRuntime.jsx("schematicbox", { name: "U1 IO", chipRef: ".U1", schX: 2.5, schY: -1.5, width: 1.96, height: 1.4, schSectionName: "mcu", pinLabels: { pin1: "PA0", pin4: "PB6", pin5: "PB7", pin6: "PA11", pin7: "PA12", pin8: "PA13", pin9: "PA14", pin10: "NRST", pin11: "BOOT0", pin12: "PB2" }, schPinArrangement: { leftSide: ["pin1", "pin4", "pin5", "pin12"], rightSide: ["pin6", "pin7", "pin8", "pin9", "pin10", "pin11"] } }), [
                    ["C7", 23.275, -5.95, -10.5, 1.9], ["C8", 26.46, -5.85, -9.1, 1.9], ["C9", 31.25, 3.075, -10.5, 0.5], ["C10", 22.7, 5.85, -9.1, 0.5], ["C11", 19.15, -2.5, -10.5, -0.9]
                ].map(([n, x, y, sx, sy]) => jsxRuntime.jsx(C, { name: n, packageSize: n === "C8" || n === "C10" ? "0402" : "0603", capacitance: n === "C8" ? "10nF" : "100nF", maxDecouplingTraceLength: 4, pcbX: x, pcbY: y, pcbRotation: n === "C7" ? 0 : n === "C8" ? 180 : n === "C9" ? -90 : n === "C11" ? 90 : 0, schX: sx, schY: sy, schSectionName: "mcu", connections: undefined }, n)), jsxRuntime.jsx("schematictext", { text: "VBAT tied to VDD; NRST uses internal pull-up and C13", schX: -9.5, schY: 6.5, fontSize: .22 }), jsxRuntime.jsx("trace", { name: "MCU_VBAT_DECAP", from: ".U1 > .VBAT", to: ".C7 > .pin1", width: .1 }), jsxRuntime.jsx("trace", { name: "MCU_VBAT_GROUND", from: ".C7 > .pin2", to: ".C8 > .pin2", width: .1 }), jsxRuntime.jsx("trace", { name: "MCU_VDDA_DECAP", from: ".U1 > .VDDA", to: ".C8 > .pin1", width: .1 }), jsxRuntime.jsx("trace", { name: "MCU_VSSA_DECAP", from: ".U1 > .VSSA", to: ".C8 > .pin2", width: .15 }), jsxRuntime.jsx("trace", { name: "MCU_VDD1_DECAP", from: ".U1 > .VDD1", to: ".C9 > .pin1", width: .1 }), jsxRuntime.jsx("trace", { name: "MCU_VSS1_DECAP", from: ".U1 > .VSS1", to: ".C9 > .pin2", width: .15 }), jsxRuntime.jsx("trace", { name: "MCU_VDDIO_DECAP", from: ".U1 > .VDDIO2", to: ".C10 > .pin1", width: .1 }), jsxRuntime.jsx("trace", { name: "MCU_VSS2_DECAP", from: ".U1 > .VSS2", to: ".C10 > .pin2", width: .15 }), jsxRuntime.jsx("trace", { name: "MCU_VDD2_DECAP", from: ".U1 > .VDD2", to: ".C11 > .pin1", width: .15 }), jsxRuntime.jsx("trace", { name: "MCU_VSS3_DECAP", from: ".U1 > .VSS3", to: ".C11 > .pin2", width: .1 }), jsxRuntime.jsx(C, { name: "C17", capacitance: "1uF", pcbX: 26.775, pcbY: -7.4, pcbRotation: 180, schX: -10.5, schY: -2.3, schSectionName: "mcu" }), jsxRuntime.jsx("trace", { name: "MCU_VDDA_LOCAL_BULK", from: ".C8 > .pin1", to: ".C17 > .pin1", width: .1 }), jsxRuntime.jsx("trace", { name: "MCU_VDDA_LOCAL_RETURN", from: ".C8 > .pin2", to: ".C17 > .pin2", width: .1 }), jsxRuntime.jsx(C, { name: "C18", capacitance: "4.7uF", packageSize: "0805", pcbX: 22.2975, pcbY: 7.8, schX: -9.1, schY: -2.3, schSectionName: "mcu" }), jsxRuntime.jsx("trace", { name: "MCU_VDDIO_LOCAL_BULK", from: ".C10 > .pin1", to: ".C18 > .pin1", width: .1 }), jsxRuntime.jsx("trace", { name: "MCU_VDDIO_LOCAL_RETURN", from: ".C10 > .pin2", to: ".C18 > .pin2", width: .1 }), jsxRuntime.jsx(C, { name: "C12", capacitance: "4.7uF", packageSize: "0805", pcbX: 24.2, pcbY: -9.8, schX: -9.1, schY: -0.9, schSectionName: "mcu", connections: { pin1: N("V3V3"), pin2: N("GND") } }), jsxRuntime.jsx(C, { name: "C13", capacitance: "100nF", pcbX: 27.5, pcbY: -12, schX: 6.5, schY: -3.5, schSectionName: "mcu", connections: { pin1: N("NRST"), pin2: N("GND") } }), jsxRuntime.jsx(R, { name: "R10", resistance: "10k", pcbX: 21, pcbY: -16, schX: 7.5, schY: 0.5, schSectionName: "mcu", connections: { pin1: N("BOOT0"), pin2: N("GND") } }), jsxRuntime.jsx(JlcConnector, { pcbSx: refStyle, name: "J4", cadModel: packageCad("jst-ph6"), schWidth: 1.575, manufacturerPartNumber: "B6B-PH-K-S(LF)(SN)", pcbX: 0, pcbY: 20.5, pcbRotation: 0, schX: 10.5, schY: -1.5, schSectionName: "mcu", pinLabels: { pin1: "VREF", pin2: "SWDIO", pin3: "SWCLK", pin4: "NRST", pin5: "GND", pin6: "BOOT0" }, connections: { pin1: N("V3V3"), pin2: N("SWDIO"), pin3: N("SWCLK"), pin4: N("NRST"), pin5: N("GND"), pin6: N("BOOT0") } }), jsxRuntime.jsx("schematicbox", { name: "U1 display encoder", chipRef: ".U1", schX: 2.5, schY: 6.5, width: 1.96, height: 1.0, schSectionName: "mcu", pinLabels: { pin1: "PB4", pin2: "PB5", pin3: "PB10", pin4: "PB11", pin5: "PA8", pin6: "PB13", pin7: "PB14", pin8: "PB15" }, schPinArrangement: { leftSide: ["pin1", "pin2", "pin3", "pin4"], rightSide: ["pin5", "pin6", "pin7", "pin8"] } }), jsxRuntime.jsx("schematictext", { text: "STM32F072CBT6: 48MHz USB HID + CDC; 3.3V; LQFP48", schX: 0, schY: 4.5, fontSize: .22 })] }), jsxRuntime.jsxs("schematicsheet", { name: "sheet-4", displayName: "Optical rotation encoder", sheetIndex: 3, children: [jsxRuntime.jsx("schematictext", { text: "DESK KNOB E3 \u2014 Optical rotation encoder", schX: 0, schY: 8, fontSize: .4 }), jsxRuntime.jsx("schematicsection", { name: "encoder", displayName: "48-slot optical ring / common-collector dual sensor / TIM3 quadrature" }), jsxRuntime.jsx(OpticalSensor, { pcbSx: refStyle, name: "U2", schPinArrangement: { leftSide: ["pin1", "pin2"], rightSide: ["pin4", "pin5"], topSide: ["pin6"], bottomSide: ["pin3"] }, pcbX: -23, pcbY: 10, pcbRotation: 156.501434, schX: -3, schY: 0, schSectionName: "encoder", noConnect: ["NC"], connections: { A: N("IR_A"), K: N("GND"), COL: N("PERIPH_3V3"), EA: N("OPT_A"), EB: N("OPT_B") } }), jsxRuntime.jsx(JlcChip, { pcbSx: refStyle, name: "U7", cadModel: packageCad("sot23-6"), manufacturerPartNumber: "SN74LVC2G17DBVR", pcbX: -21, pcbY: 19.5, schX: 1, schY: 0, schSectionName: "encoder", pinLabels: { pin1: "A1", pin2: "GND", pin3: "A2", pin4: "Y2", pin5: "VCC", pin6: "Y1" }, pinAttributes: { VCC: { requiresPower: true }, GND: { requiresGround: true }, A1: { isInput: true }, A2: { isInput: true }, Y1: { isOutput: true }, Y2: { isOutput: true } }, connections: { A1: N("OPT_A"), A2: N("OPT_B"), Y1: N("ENC_A"), Y2: N("ENC_B"), VCC: N("V3V3"), GND: N("GND") } }), jsxRuntime.jsx(R, { name: "R24", resistance: "150", pcbX: -28, pcbY: 5.5, schX: -9, schY: 2.5, schSectionName: "encoder", connections: { pin1: N("PERIPH_3V3"), pin2: N("IR_A") } }), jsxRuntime.jsx(R, { name: "R25", resistance: "22k", pcbX: -25.5, pcbY: 18.5, schX: -1, schY: 3, schSectionName: "encoder", connections: { pin1: N("OPT_A"), pin2: N("GND") } }), jsxRuntime.jsx(R, { name: "R26", resistance: "22k", pcbX: -25.5, pcbY: 21.5, schX: 2, schY: 3, schSectionName: "encoder", connections: { pin1: N("OPT_B"), pin2: N("GND") } }), jsxRuntime.jsx(C, { name: "C14", capacitance: "100nF", pcbX: -20, pcbY: 22, pcbRotation: 180, schX: 5, schY: 0, schSectionName: "encoder", connections: { pin1: N("V3V3"), pin2: N("GND") } }), jsxRuntime.jsx(R, { name: "R12", resistance: "4.7k", pcbX: -20, pcbY: 24, pcbRotation: 180, schX: -9, schY: -3, schSectionName: "encoder", connections: { pin1: N("V3V3"), pin2: N("SDA") } }), jsxRuntime.jsx(R, { name: "R13", resistance: "4.7k", pcbX: -23, pcbY: 24, pcbRotation: 180, schX: -5, schY: -3, schSectionName: "encoder", connections: { pin1: N("V3V3"), pin2: N("SCL") } }), jsxRuntime.jsx("schematictext", { text: "TCUT1600: dual optical channels; 150R IR drive, nominal 14mA", schX: -3, schY: 6, fontSize: .22 }), jsxRuntime.jsx("schematictext", { text: "SN74LVC2G17: 3.3V Schmitt buffers to TIM3 quadrature", schX: 1, schY: -6, fontSize: .22 })] }), jsxRuntime.jsxs("schematicsheet", { name: "sheet-5", displayName: "Persistent turn storage", sheetIndex: 4, children: [jsxRuntime.jsx("schematictext", { text: "DESK KNOB E3 \u2014 Persistent turn storage", schX: 0, schY: 8, fontSize: .4 }), jsxRuntime.jsx("schematicsection", { name: "memory", displayName: "32KB FRAM 0x50 / power-fail journal" }), jsxRuntime.jsx(FRAM, { pcbSx: refStyle, name: "U3", pcbX: -15, pcbY: 27.5, schX: -2.5, schY: 0, schSectionName: "memory", connections: { A0: N("GND"), A1: N("GND"), A2: N("GND"), VSS: N("GND"), WP: N("GND"), SDA: N("SDA"), SCL: N("SCL"), VDD: N("V3V3") } }), jsxRuntime.jsx(C, { name: "C16", capacitance: "100nF", pcbX: -9.5, pcbY: 31, schX: 2.5, schY: 0, schSectionName: "memory", connections: { pin1: N("V3V3"), pin2: N("GND") } }), jsxRuntime.jsx("schematictext", { text: "MB85RC256V: 32KB I2C FRAM at 0x50; 2.7-5.5V", schX: 0, schY: 4, fontSize: .22 })] }), jsxRuntime.jsxs("schematicsheet", { name: "sheet-6", displayName: "User controls and status", sheetIndex: 5, children: [jsxRuntime.jsx("schematictext", { text: "DESK KNOB E3 \u2014 User controls and status", schX: 0, schY: 8, fontSize: .4 }), jsxRuntime.jsx("schematicsection", { name: "controls", displayName: "Front side button / Scroll or Count mode / hold 3s to clear turns" }), jsxRuntime.jsx(JlcButton, { pcbSx: refStyle, allowOffBoard: true, name: "SW1", cadModel: packageCad("b3u3000"), manufacturerPartNumber: "B3U-3000P", pcbX: 0, pcbY: dimensions.front_button.pcb_center[1], pcbRotation: 180, schX: -5, schY: 3, schRotation: 90, schSectionName: "controls", connections: { pin1: N("MODE_BTN"), pin2: N("GND") } }), jsxRuntime.jsx("schematictext", { text: "PA0 internal pull-up; short press selects mode; hold 3s clears turns", schX: 0, schY: 6, fontSize: .22 })] }), jsxRuntime.jsxs("schematicsheet", { name: "sheet-7", displayName: "Round display and laptop dashboard", sheetIndex: 6, children: [jsxRuntime.jsx("schematictext", { text: "DESK KNOB E3 \u2014 Round display and laptop dashboard", schX: 0, schY: 8, fontSize: .4 }), jsxRuntime.jsx("schematicsection", { name: "display", displayName: "Waveshare 19192 / GC9A01 240x240 / fixed 1.28-inch screen" }), jsxRuntime.jsx(JlcConnector, { pcbSx: refStyle, doNotPlace: true, name: "J6", schWidth: 1.385, schPinArrangement: { leftSide: ["pin1", "pin2", "pin3", "pin4", "pin5", "pin6", "pin7", "pin8"] }, manufacturerPartNumber: "2.54-1*8", pcbX: dimensions.display_connector[0], pcbY: dimensions.display_connector[1], pcbRotation: 90, schX: 2, schY: 0, schSectionName: "display", pinLabels: { pin1: "VCC", pin2: "GND", pin3: "DIN", pin4: "CLK", pin5: "CS", pin6: "DC", pin7: "RST", pin8: "BL" }, connections: { pin1: N("PERIPH_3V3"), pin2: N("GND"), pin3: N("LCD_MOSI"), pin4: N("LCD_SCK"), pin5: N("LCD_CS"), pin6: N("LCD_DC"), pin7: N("LCD_RST"), pin8: N("LCD_BL") } }), jsxRuntime.jsx(R, { name: "R27", resistance: "22", pcbX: 19, pcbY: 17, pcbRotation: 180, schX: -3, schY: -0.1, schRotation: 0, schSectionName: "display", connections: { pin1: N("SPI_SCK"), pin2: N("LCD_SCK") } }), jsxRuntime.jsx(R, { name: "R28", resistance: "22", pcbX: 22, pcbY: 17, pcbRotation: 180, schX: -6, schY: -0.3, schRotation: 0, schSectionName: "display", connections: { pin1: N("SPI_MOSI"), pin2: N("LCD_MOSI") } }), jsxRuntime.jsx(C, { name: "C15", capacitance: "1uF", pcbX: -28, pcbY: 3, schX: 6, schY: 0, schSectionName: "display", connections: { pin1: N("PERIPH_3V3"), pin2: N("GND") } }), jsxRuntime.jsx("schematictext", { text: "Waveshare 19192: 240x240; 3.3V supply and logic; SPI 12MHz", schX: 0, schY: 5, fontSize: .22 }), jsxRuntime.jsx("schematictext", { text: "J6: solder shortened included cable; optional header DNP", schX: 0, schY: -5, fontSize: .22 })] }), jsxRuntime.jsx("copperpour", { name: "GROUND_TOP", layer: "top", connectsTo: "net.GND", clearance: .25, boardEdgeMargin: .4, cutoutMargin: .31, useThermalReliefs: true }), jsxRuntime.jsx("copperpour", { name: "GROUND_BOTTOM", layer: "bottom", connectsTo: "net.GND", clearance: .25, boardEdgeMargin: .4, cutoutMargin: .31, useThermalReliefs: true }), jsxRuntime.jsx("silkscreentext", { text: "DESK KNOB E3", pcbX: -33, pcbY: 0, pcbRotation: 90, fontSize: 1 }), jsxRuntime.jsx("silkscreentext", { text: "1", pcbX: -5, pcbY: 23.5, fontSize: 1 }), jsxRuntime.jsx("silkscreentext", { text: "USB-C", pcbX: 0, pcbY: 32.5, fontSize: 1 }), jsxRuntime.jsx("silkscreentext", { text: "USB POWER", pcbX: 8, pcbY: -24, fontSize: 1 }), jsxRuntime.jsx("silkscreentext", { text: "MODE / CLEAR 3s", pcbX: -4, pcbY: -28.5, fontSize: 1 }), ["VCC", "GND", "DIN", "CLK", "CS", "DC", "RST", "BL"].map((label, i) => jsxRuntime.jsx(react.Fragment, { children: jsxRuntime.jsx("silkscreentext", { text: label, pcbX: -24.5, pcbY: 4.39 - 2.54 * i, fontSize: 1 }) }, label))] });

var parts = [
	{
		name: "base",
		printed: true,
		color: "#344752",
		asset: "base.obj",
		bounds_pcb_mm: [
			[
				-42.400002,
				-44.799999,
				-3.4
			],
			[
				42.400002,
				42.400002,
				12.7
			]
		],
		explode_z_mm: -18,
		description: "Exact printable mesh restored to assembly pose; see print-poses.json"
	},
	{
		name: "lid",
		printed: true,
		color: "#6b8797",
		asset: "lid.obj",
		bounds_pcb_mm: [
			[
				-42.049999,
				-44.799999,
				1.9
			],
			[
				42.049999,
				42.049999,
				15.6
			]
		],
		explode_z_mm: 27,
		description: "Exact printable mesh restored to assembly pose; see print-poses.json"
	},
	{
		name: "knob",
		printed: true,
		color: "#e9bd65",
		asset: "knob.obj",
		bounds_pcb_mm: [
			[
				-42.39352,
				-42.39352,
				4.5
			],
			[
				42.39352,
				42.39352,
				18.7
			]
		],
		explode_z_mm: 130,
		description: "Exact printable mesh restored to assembly pose; see print-poses.json"
	},
	{
		name: "screen-carrier",
		printed: true,
		color: "#95a5ad",
		asset: "screen-carrier.obj",
		bounds_pcb_mm: [
			[
				-24,
				-24,
				12.7
			],
			[
				24,
				24,
				17.5
			]
		],
		explode_z_mm: 62,
		description: "Exact printable mesh restored to assembly pose; see print-poses.json"
	},
	{
		name: "screen-bezel",
		printed: true,
		color: "#95a5ad",
		asset: "screen-bezel.obj",
		bounds_pcb_mm: [
			[
				-24,
				-24,
				17.5
			],
			[
				24,
				24,
				18.9
			]
		],
		explode_z_mm: 94,
		description: "Exact printable mesh restored to assembly pose; see print-poses.json"
	},
	{
		name: "button-cap",
		printed: true,
		color: "#26343d",
		asset: "button-cap.obj",
		bounds_pcb_mm: [
			[
				-5,
				-45.599998,
				-0.6
			],
			[
				5,
				-43.049999,
				3.4
			]
		],
		explode_z_mm: -4,
		description: "Exact printable mesh restored to assembly pose; see print-poses.json"
	},
	{
		name: "bearing",
		printed: false,
		color: "#b7bec5",
		asset: "bearing.obj",
		bounds_pcb_mm: [
			[
				-37.5,
				-37.5,
				8.6
			],
			[
				37.5,
				37.5,
				15.6
			]
		],
		explode_z_mm: 48,
		description: "Complete 6712ZZ bearing, including both races, both shields, balls and cage; verified 60x75x7 envelope, accepted approximate internals"
	},
	{
		name: "pcb-capture-pads",
		printed: false,
		color: "#24292d",
		asset: "pcb-capture-pads.obj",
		bounds_pcb_mm: [
			[
				-32,
				-38.299999,
				0.8
			],
			[
				32,
				17,
				1.85
			]
		],
		explode_z_mm: 27,
		description: "PORON 4701-30-20062-04 pads, 1.57mm free thickness; drawn compressed under lid, with 0.05mm 467MP adhesive"
	},
	{
		name: "pcb-pad-adhesive",
		printed: false,
		color: "#bbc4c9",
		asset: "pcb-pad-adhesive.obj",
		bounds_pcb_mm: [
			[
				-32,
				-38.299999,
				1.85
			],
			[
				32,
				17,
				1.9
			]
		],
		explode_z_mm: 27,
		description: "PORON 4701-30-20062-04 pads, 1.57mm free thickness; drawn compressed under lid, with 0.05mm 467MP adhesive"
	},
	{
		name: "screen-module",
		printed: false,
		color: "#2e5846",
		asset: "screen-module.obj",
		bounds_pcb_mm: [
			[
				-21.703106,
				-18.74556,
				8.3
			],
			[
				18.737143,
				18.74556,
				17.5
			]
		],
		explode_z_mm: 81,
		description: "Waveshare 19192 official STEP 0508, rigid 180deg Y rotation, tab -X; 40.4531 x 37.5 x 9.2mm"
	},
	{
		name: "lcd-cable-screen-plug",
		printed: false,
		color: "#b9b9ac",
		asset: "lcd-cable-screen-plug.obj",
		bounds_pcb_mm: [
			[
				5.95,
				-8.9,
				5.9
			],
			[
				10.45,
				8.9,
				12.75
			]
		],
		explode_z_mm: 40,
		description: "Included Waveshare display lead, shortened at PCB end; nominal plug/wire envelopes, see harness.json"
	},
	{
		name: "lcd-wire-bl",
		printed: false,
		color: "#ffffff",
		asset: "lcd-wire-bl.obj",
		bounds_pcb_mm: [
			[
				-22.099849,
				-13.989993,
				-0.899992
			],
			[
				8.799961,
				-6.4,
				5.906829
			]
		],
		explode_z_mm: 40,
		description: "Included Waveshare display lead, shortened at PCB end; nominal plug/wire envelopes, see harness.json"
	},
	{
		name: "lcd-wire-rst",
		printed: false,
		color: "#ffffff",
		asset: "lcd-wire-rst.obj",
		bounds_pcb_mm: [
			[
				-22.099849,
				-11.449993,
				-0.899992
			],
			[
				8.799961,
				-4.4,
				5.906829
			]
		],
		explode_z_mm: 40,
		description: "Included Waveshare display lead, shortened at PCB end; nominal plug/wire envelopes, see harness.json"
	},
	{
		name: "lcd-wire-dc",
		printed: false,
		color: "#ffffff",
		asset: "lcd-wire-dc.obj",
		bounds_pcb_mm: [
			[
				-22.099849,
				-8.909993,
				-0.899992
			],
			[
				8.799961,
				-2.4,
				5.906829
			]
		],
		explode_z_mm: 40,
		description: "Included Waveshare display lead, shortened at PCB end; nominal plug/wire envelopes, see harness.json"
	},
	{
		name: "lcd-wire-cs",
		printed: false,
		color: "#ffffff",
		asset: "lcd-wire-cs.obj",
		bounds_pcb_mm: [
			[
				-22.099849,
				-6.369993,
				-0.899992
			],
			[
				8.799961,
				-0.4,
				5.906829
			]
		],
		explode_z_mm: 40,
		description: "Included Waveshare display lead, shortened at PCB end; nominal plug/wire envelopes, see harness.json"
	},
	{
		name: "lcd-wire-clk",
		printed: false,
		color: "#ffffff",
		asset: "lcd-wire-clk.obj",
		bounds_pcb_mm: [
			[
				-22.099849,
				-3.829993,
				-0.899992
			],
			[
				8.799961,
				1.6,
				5.906829
			]
		],
		explode_z_mm: 40,
		description: "Included Waveshare display lead, shortened at PCB end; nominal plug/wire envelopes, see harness.json"
	},
	{
		name: "lcd-wire-din",
		printed: false,
		color: "#ffffff",
		asset: "lcd-wire-din.obj",
		bounds_pcb_mm: [
			[
				-22.099849,
				-1.289993,
				-0.899992
			],
			[
				8.799961,
				3.6,
				5.906829
			]
		],
		explode_z_mm: 40,
		description: "Included Waveshare display lead, shortened at PCB end; nominal plug/wire envelopes, see harness.json"
	},
	{
		name: "lcd-wire-gnd",
		printed: false,
		color: "#ffffff",
		asset: "lcd-wire-gnd.obj",
		bounds_pcb_mm: [
			[
				-22.099849,
				1.250007,
				-0.899992
			],
			[
				8.799961,
				5.6,
				5.906829
			]
		],
		explode_z_mm: 40,
		description: "Included Waveshare display lead, shortened at PCB end; nominal plug/wire envelopes, see harness.json"
	},
	{
		name: "lcd-wire-vcc",
		printed: false,
		color: "#ffffff",
		asset: "lcd-wire-vcc.obj",
		bounds_pcb_mm: [
			[
				-22.099849,
				3.790007,
				-0.899992
			],
			[
				8.799961,
				7.989998,
				5.906829
			]
		],
		explode_z_mm: 40,
		description: "Included Waveshare display lead, shortened at PCB end; nominal plug/wire envelopes, see harness.json"
	},
	{
		name: "lcd-cable-contacts",
		printed: false,
		color: "#adb6bf",
		asset: "lcd-cable-contacts.obj",
		bounds_pcb_mm: [
			[
				-21.66,
				-13.55,
				-1.6
			],
			[
				8.45,
				7.25,
				11.6
			]
		],
		explode_z_mm: 40,
		description: "Included Waveshare display lead, shortened at PCB end; nominal plug/wire envelopes, see harness.json"
	},
	{
		name: "screen-ui",
		printed: false,
		color: "#ffffff",
		asset: "screen-ui.obj",
		bounds_pcb_mm: [
			[
				-9.18,
				-13.095,
				17.51
			],
			[
				9.45,
				12.96,
				17.51
			]
		],
		explode_z_mm: 81,
		description: "Illustrative laptop clock, CPU, RAM, laptop battery and turns from the tested firmware renderer"
	},
	{
		name: "fasteners",
		printed: false,
		color: "#69747e",
		asset: "fasteners.obj",
		bounds_pcb_mm: [
			[
				-29.5,
				-29.5,
				1
			],
			[
				29.5,
				29.5,
				18.899999
			]
		],
		explode_z_mm: 106,
		description: "Four screws: two DIN965 M2x6 chassis screws and two M2x10 shared bezel/carrier screws; nominal dimensions, fine threads omitted"
	}
];

// The platform resolves these included assets relative to the project.
const assetBase = "./mechanical/cad/";
var assembly_circuit = () => (jsxRuntime.jsxs(tscircuit.assembly.device, { name: "DESK_KNOB_ASSEMBLY", children: [jsxRuntime.jsx(Board, {}), parts.map(part => {
            const cadModel = {
                objUrl: `${assetBase}${part.asset}`,
                modelOriginPosition: { x: 0, y: 0, z: 0 },
                modelUnitToMmScale: 1,
            };
            return part.printed ? (jsxRuntime.jsx(tscircuit.assembly.printedpart, { name: part.name, color: part.color, material: "petg", cadModel: cadModel }, part.name)) : (jsxRuntime.jsx(tscircuit.assembly.part, { name: part.name, displayName: part.description, cadModel: cadModel }, part.name));
        })] }));

module.exports = assembly_circuit;