schematic-symbols 0.0.105 → 0.0.107

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -238,6 +238,75 @@ var rotateRightFacingAnchor = (anchor, newOrientation = "right") => {
238
238
  }
239
239
  return anchor;
240
240
  };
241
+ var flipSymbolOverXAxis = (symbol, overrides) => {
242
+ const { primitives, center, ports, size } = symbol;
243
+ const transformMatrix = transform({
244
+ a: 1,
245
+ b: 0,
246
+ c: 0,
247
+ d: -1,
248
+ e: 0,
249
+ f: 2 * center.y
250
+ });
251
+ const flippedPrimitives = primitives.map((primitive) => {
252
+ primitive = { ...primitive };
253
+ switch (primitive.type) {
254
+ case "path":
255
+ return {
256
+ ...primitive,
257
+ points: primitive.points.map(
258
+ (point) => applyToPoint(transformMatrix, point)
259
+ )
260
+ };
261
+ case "text":
262
+ const flippedPoint = applyToPoint(transformMatrix, {
263
+ x: primitive.x,
264
+ y: primitive.y
265
+ });
266
+ const anchorMap = {
267
+ top_left: "bottom_left",
268
+ top_right: "bottom_right",
269
+ bottom_left: "top_left",
270
+ bottom_right: "top_right",
271
+ center: "center",
272
+ middle_top: "middle_bottom",
273
+ middle_bottom: "middle_top",
274
+ middle_left: "middle_left",
275
+ middle_right: "middle_right"
276
+ };
277
+ return {
278
+ ...primitive,
279
+ x: flippedPoint.x,
280
+ y: flippedPoint.y,
281
+ anchor: anchorMap[primitive.anchor]
282
+ };
283
+ case "circle":
284
+ case "box":
285
+ const flippedCenter = applyToPoint(transformMatrix, {
286
+ x: primitive.x,
287
+ y: primitive.y
288
+ });
289
+ return {
290
+ ...primitive,
291
+ x: flippedCenter.x,
292
+ y: flippedCenter.y
293
+ };
294
+ }
295
+ });
296
+ const flippedPorts = ports.map(
297
+ (port) => ({
298
+ ...port,
299
+ ...applyToPoint(transformMatrix, port)
300
+ })
301
+ );
302
+ return {
303
+ primitives: flippedPrimitives,
304
+ center,
305
+ ports: flippedPorts,
306
+ size,
307
+ ...overrides
308
+ };
309
+ };
241
310
  var flipSymbolOverYAxis = (symbol, overrides) => {
242
311
  const { primitives, center, ports, size } = symbol;
243
312
  const transformMatrix = transform({
@@ -810,25 +879,184 @@ var boxresistor_default = {
810
879
  circles: {}
811
880
  };
812
881
 
813
- // symbols/boxresistor_horz.ts
814
- var { paths: paths4, texts: texts3, bounds: bounds4, refblocks: refblocks4 } = boxresistor_default;
815
- var boxresistor_horz_default = defineSymbol({
882
+ // drawing/modify-symbol/modify-symbol.ts
883
+ var SymbolModifier = class {
884
+ symbol;
885
+ constructor(symbol) {
886
+ this.symbol = JSON.parse(JSON.stringify(symbol));
887
+ }
888
+ changeTextAnchor(text, newAnchor) {
889
+ this.symbol = {
890
+ ...this.symbol,
891
+ primitives: this.symbol.primitives.map((primitive) => {
892
+ if (primitive.type === "text" && primitive.text === text) {
893
+ return {
894
+ ...primitive,
895
+ anchor: newAnchor
896
+ };
897
+ }
898
+ return primitive;
899
+ })
900
+ };
901
+ return this;
902
+ }
903
+ labelPort(currentLabel, newLabels) {
904
+ this.symbol = {
905
+ ...this.symbol,
906
+ ports: this.symbol.ports.map((port) => {
907
+ return port.labels.includes(currentLabel) ? { ...port, labels: newLabels } : port;
908
+ })
909
+ };
910
+ return this;
911
+ }
912
+ rotateRightFacingSymbol(newOrientation) {
913
+ this.symbol = rotateRightFacingSymbol(this.symbol, {
914
+ newOrientation
915
+ });
916
+ return this;
917
+ }
918
+ build() {
919
+ return this.symbol;
920
+ }
921
+ };
922
+ var modifySymbol = (symbol) => {
923
+ return new SymbolModifier({
924
+ ...symbol,
925
+ primitives: symbol.primitives ?? [
926
+ ...Object.values(symbol.paths ?? {}),
927
+ ...Object.values(symbol.texts ?? {}),
928
+ ...Object.values(symbol.circles ?? {}),
929
+ ...Object.values(symbol.rects ?? {})
930
+ ],
931
+ ports: symbol.ports ?? Object.entries(symbol.refblocks).flatMap(([key, refblock]) => {
932
+ return [{ ...refblock, labels: [key] }];
933
+ }),
934
+ center: symbol.center ?? {
935
+ x: symbol.bounds.centerX,
936
+ y: symbol.bounds.centerY
937
+ },
938
+ size: symbol.size ?? {
939
+ width: symbol.bounds.width,
940
+ height: symbol.bounds.height
941
+ }
942
+ });
943
+ };
944
+
945
+ // symbols/boxresistor_down.ts
946
+ var { paths: paths4, texts: texts3, bounds: bounds4, refblocks: refblocks4, circles: circles4 } = boxresistor_default;
947
+ var boxresistor_down_default = modifySymbol({
816
948
  primitives: [
817
949
  ...Object.values(paths4),
818
- { ...texts3.top1, anchor: "middle_bottom" },
819
- { ...texts3.bottom1, anchor: "middle_top" }
950
+ ...Object.values(circles4),
951
+ {
952
+ type: "text",
953
+ text: "{REF}",
954
+ x: -0.16,
955
+ y: 0.2294553499999995
956
+ },
957
+ {
958
+ type: "text",
959
+ text: "{VAL}",
960
+ x: 0.16,
961
+ y: 0.2294553499999995
962
+ }
820
963
  ],
821
964
  ports: [
822
965
  { ...refblocks4.left1, labels: ["1"] },
966
+ // TODO add more "standard" labels
823
967
  { ...refblocks4.right1, labels: ["2"] }
968
+ // TODO add more "standard" labels
824
969
  ],
825
970
  size: { width: bounds4.width, height: bounds4.height },
826
- //{ width: 1, height: 0.24 },
827
971
  center: { x: bounds4.centerX, y: bounds4.centerY }
828
- });
972
+ }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").build();
829
973
 
830
- // symbols/boxresistor_vert.ts
831
- var boxresistor_vert_default = rotateSymbol(boxresistor_horz_default);
974
+ // symbols/boxresistor_left.ts
975
+ var { paths: paths5, texts: texts4, bounds: bounds5, refblocks: refblocks5, circles: circles5 } = boxresistor_default;
976
+ var boxresistor_left_default = modifySymbol({
977
+ primitives: [
978
+ ...Object.values(paths5),
979
+ ...Object.values(circles5),
980
+ {
981
+ type: "text",
982
+ text: "{REF}",
983
+ x: 0,
984
+ y: 0.2294553499999995
985
+ },
986
+ {
987
+ type: "text",
988
+ text: "{VAL}",
989
+ x: 0,
990
+ y: -0.1594553499999995
991
+ }
992
+ ],
993
+ ports: [
994
+ { ...refblocks5.left1, labels: ["1"] },
995
+ // TODO add more "standard" labels
996
+ { ...refblocks5.right1, labels: ["2"] }
997
+ // TODO add more "standard" labels
998
+ ],
999
+ size: { width: bounds5.width, height: bounds5.height },
1000
+ center: { x: bounds5.centerX, y: bounds5.centerY }
1001
+ }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
1002
+
1003
+ // symbols/boxresistor_right.ts
1004
+ var { paths: paths6, texts: texts5, bounds: bounds6, refblocks: refblocks6, circles: circles6 } = boxresistor_default;
1005
+ var boxresistor_right_default = modifySymbol({
1006
+ primitives: [
1007
+ ...Object.values(paths6),
1008
+ ...Object.values(circles6),
1009
+ {
1010
+ type: "text",
1011
+ text: "{REF}",
1012
+ x: 0,
1013
+ y: 0.2294553499999995
1014
+ },
1015
+ {
1016
+ type: "text",
1017
+ text: "{VAL}",
1018
+ x: 0,
1019
+ y: -0.1594553499999995
1020
+ }
1021
+ ],
1022
+ ports: [
1023
+ { ...refblocks6.left1, labels: ["1"] },
1024
+ // TODO add more "standard" labels
1025
+ { ...refblocks6.right1, labels: ["2"] }
1026
+ // TODO add more "standard" labels
1027
+ ],
1028
+ size: { width: bounds6.width, height: bounds6.height },
1029
+ center: { x: bounds6.centerX, y: bounds6.centerY }
1030
+ }).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
1031
+
1032
+ // symbols/boxresistor_up.ts
1033
+ var { paths: paths7, texts: texts6, bounds: bounds7, refblocks: refblocks7, circles: circles7 } = boxresistor_default;
1034
+ var boxresistor_up_default = modifySymbol({
1035
+ primitives: [
1036
+ ...Object.values(paths7),
1037
+ ...Object.values(circles7),
1038
+ {
1039
+ type: "text",
1040
+ text: "{REF}",
1041
+ x: -0.16,
1042
+ y: 0.2294553499999995
1043
+ },
1044
+ {
1045
+ type: "text",
1046
+ text: "{VAL}",
1047
+ x: 0.16,
1048
+ y: 0.2294553499999995
1049
+ }
1050
+ ],
1051
+ ports: [
1052
+ { ...refblocks7.left1, labels: ["1"] },
1053
+ // TODO add more "standard" labels
1054
+ { ...refblocks7.right1, labels: ["2"] }
1055
+ // TODO add more "standard" labels
1056
+ ],
1057
+ size: { width: bounds7.width, height: bounds7.height },
1058
+ center: { x: bounds7.centerX, y: bounds7.centerY }
1059
+ }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").build();
832
1060
 
833
1061
  // assets/generated/capacitor.json
834
1062
  var capacitor_default = {
@@ -931,75 +1159,12 @@ var capacitor_default = {
931
1159
  circles: {}
932
1160
  };
933
1161
 
934
- // drawing/modify-symbol/modify-symbol.ts
935
- var SymbolModifier = class {
936
- symbol;
937
- constructor(symbol) {
938
- this.symbol = JSON.parse(JSON.stringify(symbol));
939
- }
940
- changeTextAnchor(text, newAnchor) {
941
- this.symbol = {
942
- ...this.symbol,
943
- primitives: this.symbol.primitives.map((primitive) => {
944
- if (primitive.type === "text" && primitive.text === text) {
945
- return {
946
- ...primitive,
947
- anchor: newAnchor
948
- };
949
- }
950
- return primitive;
951
- })
952
- };
953
- return this;
954
- }
955
- labelPort(currentLabel, newLabels) {
956
- this.symbol = {
957
- ...this.symbol,
958
- ports: this.symbol.ports.map((port) => {
959
- return port.labels.includes(currentLabel) ? { ...port, labels: newLabels } : port;
960
- })
961
- };
962
- return this;
963
- }
964
- rotateRightFacingSymbol(newOrientation) {
965
- this.symbol = rotateRightFacingSymbol(this.symbol, {
966
- newOrientation
967
- });
968
- return this;
969
- }
970
- build() {
971
- return this.symbol;
972
- }
973
- };
974
- var modifySymbol = (symbol) => {
975
- return new SymbolModifier({
976
- ...symbol,
977
- primitives: symbol.primitives ?? [
978
- ...Object.values(symbol.paths ?? {}),
979
- ...Object.values(symbol.texts ?? {}),
980
- ...Object.values(symbol.circles ?? {}),
981
- ...Object.values(symbol.rects ?? {})
982
- ],
983
- ports: symbol.ports ?? Object.entries(symbol.refblocks).flatMap(([key, refblock]) => {
984
- return [{ ...refblock, labels: [key] }];
985
- }),
986
- center: symbol.center ?? {
987
- x: symbol.bounds.centerX,
988
- y: symbol.bounds.centerY
989
- },
990
- size: symbol.size ?? {
991
- width: symbol.bounds.width,
992
- height: symbol.bounds.height
993
- }
994
- });
995
- };
996
-
997
1162
  // symbols/capacitor_down.ts
998
- var { paths: paths5, texts: texts4, bounds: bounds5, refblocks: refblocks5, circles: circles4 } = capacitor_default;
1163
+ var { paths: paths8, texts: texts7, bounds: bounds8, refblocks: refblocks8, circles: circles8 } = capacitor_default;
999
1164
  var capacitor_down_default = modifySymbol({
1000
1165
  primitives: [
1001
- ...Object.values(paths5),
1002
- ...Object.values(circles4),
1166
+ ...Object.values(paths8),
1167
+ ...Object.values(circles8),
1003
1168
  {
1004
1169
  type: "text",
1005
1170
  text: "{REF}",
@@ -1014,13 +1179,13 @@ var capacitor_down_default = modifySymbol({
1014
1179
  }
1015
1180
  ],
1016
1181
  ports: [
1017
- { ...refblocks5.left1, labels: ["1"] },
1182
+ { ...refblocks8.left1, labels: ["1"] },
1018
1183
  // TODO add more "standard" labels
1019
- { ...refblocks5.right1, labels: ["2"] }
1184
+ { ...refblocks8.right1, labels: ["2"] }
1020
1185
  // TODO add more "standard" labels
1021
1186
  ],
1022
- size: { width: bounds5.width, height: bounds5.height },
1023
- center: { x: bounds5.centerX, y: bounds5.centerY }
1187
+ size: { width: bounds8.width, height: bounds8.height },
1188
+ center: { x: bounds8.centerX, y: bounds8.centerY }
1024
1189
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
1025
1190
 
1026
1191
  // symbols/capacitor_right.ts
@@ -2789,11 +2954,11 @@ var capacitor_polarized_default = {
2789
2954
  };
2790
2955
 
2791
2956
  // symbols/capacitor_polarized_down.ts
2792
- var { paths: paths6, texts: texts5, bounds: bounds6, refblocks: refblocks6, circles: circles5 } = capacitor_polarized_default;
2957
+ var { paths: paths9, texts: texts8, bounds: bounds9, refblocks: refblocks9, circles: circles9 } = capacitor_polarized_default;
2793
2958
  var capacitor_polarized_down_default = modifySymbol({
2794
2959
  primitives: [
2795
- ...Object.values(paths6),
2796
- ...Object.values(circles5),
2960
+ ...Object.values(paths9),
2961
+ ...Object.values(circles9),
2797
2962
  {
2798
2963
  type: "text",
2799
2964
  text: "{REF}",
@@ -2808,13 +2973,13 @@ var capacitor_polarized_down_default = modifySymbol({
2808
2973
  }
2809
2974
  ],
2810
2975
  ports: [
2811
- { ...refblocks6.left1, labels: ["1"] },
2976
+ { ...refblocks9.left1, labels: ["1"] },
2812
2977
  // TODO add more "standard" labels
2813
- { ...refblocks6.right1, labels: ["2"] }
2978
+ { ...refblocks9.right1, labels: ["2"] }
2814
2979
  // TODO add more "standard" labels
2815
2980
  ],
2816
- size: { width: bounds6.width, height: bounds6.height },
2817
- center: { x: bounds6.centerX, y: bounds6.centerY }
2981
+ size: { width: bounds9.width, height: bounds9.height },
2982
+ center: { x: bounds9.centerX, y: bounds9.centerY }
2818
2983
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
2819
2984
 
2820
2985
  // symbols/capacitor_polarized_right.ts
@@ -2824,11 +2989,11 @@ var capacitor_polarized_right_default = modifySymbol(capacitor_polarized_default
2824
2989
  var capacitor_polarized_left_default = modifySymbol(capacitor_polarized_right_default).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("left").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_top").build();
2825
2990
 
2826
2991
  // symbols/capacitor_polarized_up.ts
2827
- var { paths: paths7, texts: texts6, bounds: bounds7, refblocks: refblocks7, circles: circles6 } = capacitor_polarized_default;
2992
+ var { paths: paths10, texts: texts9, bounds: bounds10, refblocks: refblocks10, circles: circles10 } = capacitor_polarized_default;
2828
2993
  var capacitor_polarized_up_default = modifySymbol({
2829
2994
  primitives: [
2830
- ...Object.values(paths7),
2831
- ...Object.values(circles6),
2995
+ ...Object.values(paths10),
2996
+ ...Object.values(circles10),
2832
2997
  {
2833
2998
  type: "text",
2834
2999
  text: "{REF}",
@@ -2843,21 +3008,21 @@ var capacitor_polarized_up_default = modifySymbol({
2843
3008
  }
2844
3009
  ],
2845
3010
  ports: [
2846
- { ...refblocks7.left1, labels: ["1"] },
3011
+ { ...refblocks10.left1, labels: ["1"] },
2847
3012
  // TODO add more "standard" labels
2848
- { ...refblocks7.right1, labels: ["2"] }
3013
+ { ...refblocks10.right1, labels: ["2"] }
2849
3014
  // TODO add more "standard" labels
2850
3015
  ],
2851
- size: { width: bounds7.width, height: bounds7.height },
2852
- center: { x: bounds7.centerX, y: bounds7.centerY }
3016
+ size: { width: bounds10.width, height: bounds10.height },
3017
+ center: { x: bounds10.centerX, y: bounds10.centerY }
2853
3018
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
2854
3019
 
2855
3020
  // symbols/capacitor_up.ts
2856
- var { paths: paths8, texts: texts7, bounds: bounds8, refblocks: refblocks8, circles: circles7 } = capacitor_default;
3021
+ var { paths: paths11, texts: texts10, bounds: bounds11, refblocks: refblocks11, circles: circles11 } = capacitor_default;
2857
3022
  var capacitor_up_default = modifySymbol({
2858
3023
  primitives: [
2859
- ...Object.values(paths8),
2860
- ...Object.values(circles7),
3024
+ ...Object.values(paths11),
3025
+ ...Object.values(circles11),
2861
3026
  {
2862
3027
  type: "text",
2863
3028
  text: "{REF}",
@@ -2872,13 +3037,13 @@ var capacitor_up_default = modifySymbol({
2872
3037
  }
2873
3038
  ],
2874
3039
  ports: [
2875
- { ...refblocks8.left1, labels: ["1"] },
3040
+ { ...refblocks11.left1, labels: ["1"] },
2876
3041
  // TODO add more "standard" labels
2877
- { ...refblocks8.right1, labels: ["2"] }
3042
+ { ...refblocks11.right1, labels: ["2"] }
2878
3043
  // TODO add more "standard" labels
2879
3044
  ],
2880
- size: { width: bounds8.width, height: bounds8.height },
2881
- center: { x: bounds8.centerX, y: bounds8.centerY }
3045
+ size: { width: bounds11.width, height: bounds11.height },
3046
+ center: { x: bounds11.centerX, y: bounds11.centerY }
2882
3047
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
2883
3048
 
2884
3049
  // assets/generated/constant_current_diode.json
@@ -3515,11 +3680,11 @@ var dc_ammeter_default = {
3515
3680
  };
3516
3681
 
3517
3682
  // symbols/dc_ammeter_horz.ts
3518
- var { paths: paths9, texts: texts8, bounds: bounds9, refblocks: refblocks9, circles: circles8 } = dc_ammeter_default;
3683
+ var { paths: paths12, texts: texts11, bounds: bounds12, refblocks: refblocks12, circles: circles12 } = dc_ammeter_default;
3519
3684
  var dc_ammeter_horz_default = defineSymbol({
3520
3685
  primitives: [
3521
- ...Object.values(paths9),
3522
- ...Object.values(circles8),
3686
+ ...Object.values(paths12),
3687
+ ...Object.values(circles12),
3523
3688
  {
3524
3689
  type: "text",
3525
3690
  text: "{REF}",
@@ -3534,16 +3699,16 @@ var dc_ammeter_horz_default = defineSymbol({
3534
3699
  y: 0.35,
3535
3700
  anchor: "middle_bottom"
3536
3701
  },
3537
- { ...texts8.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.3 }
3702
+ { ...texts11.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.3 }
3538
3703
  ],
3539
3704
  ports: [
3540
- { ...refblocks9.left1, labels: ["1"] },
3705
+ { ...refblocks12.left1, labels: ["1"] },
3541
3706
  // TODO add more "standard" labels
3542
- { ...refblocks9.right1, labels: ["2"] }
3707
+ { ...refblocks12.right1, labels: ["2"] }
3543
3708
  // TODO add more "standard" labels
3544
3709
  ],
3545
- size: { width: bounds9.width, height: bounds9.height },
3546
- center: { x: bounds9.centerX, y: bounds9.centerY }
3710
+ size: { width: bounds12.width, height: bounds12.height },
3711
+ center: { x: bounds12.centerX, y: bounds12.centerY }
3547
3712
  });
3548
3713
 
3549
3714
  // symbols/dc_ammeter_vert.ts
@@ -3689,11 +3854,11 @@ var dc_voltmeter_default = {
3689
3854
  };
3690
3855
 
3691
3856
  // symbols/dc_voltmeter_horz.ts
3692
- var { paths: paths10, texts: texts9, bounds: bounds10, refblocks: refblocks10, circles: circles9 } = dc_voltmeter_default;
3857
+ var { paths: paths13, texts: texts12, bounds: bounds13, refblocks: refblocks13, circles: circles13 } = dc_voltmeter_default;
3693
3858
  var dc_voltmeter_horz_default = defineSymbol({
3694
3859
  primitives: [
3695
- ...Object.values(paths10),
3696
- ...Object.values(circles9),
3860
+ ...Object.values(paths13),
3861
+ ...Object.values(circles13),
3697
3862
  {
3698
3863
  type: "text",
3699
3864
  text: "{REF}",
@@ -3710,13 +3875,13 @@ var dc_voltmeter_horz_default = defineSymbol({
3710
3875
  }
3711
3876
  ],
3712
3877
  ports: [
3713
- { ...refblocks10.left1, labels: ["1"] },
3878
+ { ...refblocks13.left1, labels: ["1"] },
3714
3879
  // TODO add more "standard" labels
3715
- { ...refblocks10.right1, labels: ["2"] }
3880
+ { ...refblocks13.right1, labels: ["2"] }
3716
3881
  // TODO add more "standard" labels
3717
3882
  ],
3718
- size: { width: bounds10.width, height: bounds10.height },
3719
- center: { x: bounds10.centerX, y: bounds10.centerY }
3883
+ size: { width: bounds13.width, height: bounds13.height },
3884
+ center: { x: bounds13.centerX, y: bounds13.centerY }
3720
3885
  });
3721
3886
 
3722
3887
  // symbols/dc_voltmeter_vert.ts
@@ -3894,11 +4059,11 @@ var diac_horz_default = modifySymbol(diac_default).changeTextAnchor("{VAL}", "mi
3894
4059
 
3895
4060
  // symbols/diac_vert.ts
3896
4061
  var rotatedSymbol4 = rotateSymbol(diac_horz_default);
3897
- var texts10 = rotatedSymbol4.primitives.filter(
4062
+ var texts13 = rotatedSymbol4.primitives.filter(
3898
4063
  (primitive) => primitive.type === "text"
3899
4064
  );
3900
- var ref = texts10.find((text) => text.text === "{REF}");
3901
- var val = texts10.find((text) => text.text === "{VAL}");
4065
+ var ref = texts13.find((text) => text.text === "{REF}");
4066
+ var val = texts13.find((text) => text.text === "{VAL}");
3902
4067
  ref.y = 0;
3903
4068
  val.y = 0;
3904
4069
  var diac_vert_default = rotatedSymbol4;
@@ -4203,36 +4368,36 @@ var dpst_switch_default = {
4203
4368
 
4204
4369
  // symbols/dpst_switch_horz.ts
4205
4370
  dpst_switch_default.bounds.width += 0.2;
4206
- var { paths: paths11, texts: texts11, bounds: bounds11, refblocks: refblocks11, circles: circles10 } = dpst_switch_default;
4371
+ var { paths: paths14, texts: texts14, bounds: bounds14, refblocks: refblocks14, circles: circles14 } = dpst_switch_default;
4207
4372
  var dpst_switch_horz_default = defineSymbol({
4208
4373
  primitives: [
4209
- ...Object.values(paths11),
4210
- ...Object.values(circles10),
4211
- { ...texts11.top1, anchor: "middle_bottom", x: 0 },
4212
- { ...texts11.bottom1, anchor: "middle_top", x: 0 }
4374
+ ...Object.values(paths14),
4375
+ ...Object.values(circles14),
4376
+ { ...texts14.top1, anchor: "middle_bottom", x: 0 },
4377
+ { ...texts14.bottom1, anchor: "middle_top", x: 0 }
4213
4378
  ],
4214
4379
  ports: [
4215
- { ...refblocks11.left1, labels: ["1", "left1"] },
4380
+ { ...refblocks14.left1, labels: ["1", "left1"] },
4216
4381
  // TODO add more "standard" labels
4217
- { ...refblocks11.left3, labels: ["3", "left3"] },
4382
+ { ...refblocks14.left3, labels: ["3", "left3"] },
4218
4383
  // TODO add more "standard" labels
4219
- { ...refblocks11.right1, labels: ["2", "right1"] },
4384
+ { ...refblocks14.right1, labels: ["2", "right1"] },
4220
4385
  // TODO add more "standard" labels
4221
- { ...refblocks11.right3, labels: ["4", "right3"] }
4386
+ { ...refblocks14.right3, labels: ["4", "right3"] }
4222
4387
  // TODO add more "standard" labels
4223
4388
  ],
4224
- size: { width: bounds11.width, height: bounds11.height },
4225
- center: { x: bounds11.centerX, y: bounds11.centerY }
4389
+ size: { width: bounds14.width, height: bounds14.height },
4390
+ center: { x: bounds14.centerX, y: bounds14.centerY }
4226
4391
  });
4227
4392
 
4228
4393
  // symbols/dpst_switch_vert.ts
4229
4394
  var rotatedSymbol5 = rotateSymbol(dpst_switch_horz_default);
4230
- var texts12 = rotatedSymbol5.primitives.filter((p) => p.type === "text");
4231
- var val2 = texts12.find((t) => t.text === "{VAL}");
4395
+ var texts15 = rotatedSymbol5.primitives.filter((p) => p.type === "text");
4396
+ var val2 = texts15.find((t) => t.text === "{VAL}");
4232
4397
  val2.anchor = "middle_right";
4233
4398
  val2.x = -0.35;
4234
4399
  val2.y = 0;
4235
- var ref2 = texts12.find((t) => t.text === "{REF}");
4400
+ var ref2 = texts15.find((t) => t.text === "{REF}");
4236
4401
  ref2.anchor = "middle_left";
4237
4402
  ref2.x = 0.3;
4238
4403
  ref2.y = 0;
@@ -4446,11 +4611,11 @@ var frequency_meter_default = {
4446
4611
  };
4447
4612
 
4448
4613
  // symbols/frequency_meter_horz.ts
4449
- var { paths: paths12, texts: texts13, bounds: bounds12, refblocks: refblocks12, circles: circles11 } = frequency_meter_default;
4614
+ var { paths: paths15, texts: texts16, bounds: bounds15, refblocks: refblocks15, circles: circles15 } = frequency_meter_default;
4450
4615
  var frequency_meter_horz_default = defineSymbol({
4451
4616
  primitives: [
4452
- ...Object.values(paths12),
4453
- ...Object.values(circles11),
4617
+ ...Object.values(paths15),
4618
+ ...Object.values(circles15),
4454
4619
  {
4455
4620
  type: "text",
4456
4621
  text: "{REF}",
@@ -4465,16 +4630,16 @@ var frequency_meter_horz_default = defineSymbol({
4465
4630
  y: 0.35,
4466
4631
  anchor: "middle_bottom"
4467
4632
  },
4468
- { ...texts13.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.2 }
4633
+ { ...texts16.left1, x: 0, y: 0.01, anchor: "center", fontSize: 0.2 }
4469
4634
  ],
4470
4635
  ports: [
4471
- { ...refblocks12.left1, labels: ["1"] },
4636
+ { ...refblocks15.left1, labels: ["1"] },
4472
4637
  // TODO add more "standard" labels
4473
- { ...refblocks12.right1, labels: ["2"] }
4638
+ { ...refblocks15.right1, labels: ["2"] }
4474
4639
  // TODO add more "standard" labels
4475
4640
  ],
4476
- size: { width: bounds12.width, height: bounds12.height },
4477
- center: { x: bounds12.centerX, y: bounds12.centerY }
4641
+ size: { width: bounds15.width, height: bounds15.height },
4642
+ center: { x: bounds15.centerX, y: bounds15.centerY }
4478
4643
  });
4479
4644
 
4480
4645
  // symbols/frequency_meter_vert.ts
@@ -4579,11 +4744,11 @@ var fuse_default = {
4579
4744
  };
4580
4745
 
4581
4746
  // symbols/fuse_horz.ts
4582
- var { paths: paths13, texts: texts14, bounds: bounds13, refblocks: refblocks13 } = fuse_default;
4747
+ var { paths: paths16, texts: texts17, bounds: bounds16, refblocks: refblocks16 } = fuse_default;
4583
4748
  var fuse_horz_default = defineSymbol({
4584
4749
  primitives: [
4585
- ...Object.values(paths13),
4586
- { ...texts14.top1, anchor: "middle_bottom" },
4750
+ ...Object.values(paths16),
4751
+ { ...texts17.top1, anchor: "middle_bottom" },
4587
4752
  {
4588
4753
  type: "text",
4589
4754
  text: "{VAL}",
@@ -4593,13 +4758,13 @@ var fuse_horz_default = defineSymbol({
4593
4758
  }
4594
4759
  ],
4595
4760
  ports: [
4596
- { ...refblocks13.left1, labels: ["1"] },
4761
+ { ...refblocks16.left1, labels: ["1"] },
4597
4762
  // TODO add more "standard" labels
4598
- { ...refblocks13.right1, labels: ["2"] }
4763
+ { ...refblocks16.right1, labels: ["2"] }
4599
4764
  // TODO add more "standard" labels
4600
4765
  ],
4601
- size: { width: bounds13.width, height: bounds13.height },
4602
- center: { x: bounds13.centerX, y: bounds13.centerY }
4766
+ size: { width: bounds16.width, height: bounds16.height },
4767
+ center: { x: bounds16.centerX, y: bounds16.centerY }
4603
4768
  });
4604
4769
 
4605
4770
  // symbols/fuse_vert.ts
@@ -4707,11 +4872,11 @@ var ground_default = {
4707
4872
  };
4708
4873
 
4709
4874
  // symbols/ground_horz.ts
4710
- var { paths: paths14, circles: circles12, bounds: bounds14, refblocks: refblocks14 } = ground_default;
4875
+ var { paths: paths17, circles: circles16, bounds: bounds17, refblocks: refblocks17 } = ground_default;
4711
4876
  var horizontalSymbol = defineSymbol({
4712
4877
  primitives: [
4713
- ...Object.values(paths14),
4714
- ...Object.values(circles12),
4878
+ ...Object.values(paths17),
4879
+ ...Object.values(circles16),
4715
4880
  {
4716
4881
  type: "text",
4717
4882
  text: "{REF}",
@@ -4735,7 +4900,7 @@ var horizontalSymbol = defineSymbol({
4735
4900
  // Horizontal anchor for VAL
4736
4901
  }
4737
4902
  ],
4738
- ports: [{ ...refblocks14.top1, labels: ["1"] }],
4903
+ ports: [{ ...refblocks17.top1, labels: ["1"] }],
4739
4904
  size: { width: 1, height: 1 },
4740
4905
  center: { x: 0, y: 0.4 }
4741
4906
  });
@@ -4862,7 +5027,7 @@ var gunn_diode_default = {
4862
5027
  };
4863
5028
 
4864
5029
  // symbols/gunn_diode_horz.ts
4865
- var { paths: paths15, texts: texts15, bounds: bounds15, refblocks: refblocks15, circles: circles13 } = gunn_diode_default;
5030
+ var { paths: paths18, texts: texts18, bounds: bounds18, refblocks: refblocks18, circles: circles17 } = gunn_diode_default;
4866
5031
  var gunn_diode_horz_default = modifySymbol(gunn_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
4867
5032
 
4868
5033
  // symbols/gunn_diode_vert.ts
@@ -5300,12 +5465,12 @@ var illuminated_push_button_normally_open_horz_default = modifySymbol(illuminate
5300
5465
 
5301
5466
  // symbols/illuminated_push_button_normally_open_vert.ts
5302
5467
  var rotatedSymbol7 = rotateSymbol(illuminated_push_button_normally_open_horz_default);
5303
- var texts16 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
5304
- var val4 = texts16.find((t) => t.text === "{VAL}");
5468
+ var texts19 = rotatedSymbol7.primitives.filter((p) => p.type === "text");
5469
+ var val4 = texts19.find((t) => t.text === "{VAL}");
5305
5470
  val4.x = -0.35;
5306
5471
  val4.y = 0;
5307
5472
  val4.anchor = "middle_right";
5308
- var ref4 = texts16.find((t) => t.text === "{REF}");
5473
+ var ref4 = texts19.find((t) => t.text === "{REF}");
5309
5474
  ref4.y = 0;
5310
5475
  ref4.x = 0.35;
5311
5476
  ref4.anchor = "middle_left";
@@ -5322,240 +5487,320 @@ var inductor_default = {
5322
5487
  y: -0.023826854587889912
5323
5488
  },
5324
5489
  {
5325
- x: -0.2033544366666661,
5326
- y: -0.01738473965074867
5490
+ x: -0.20252458999999945,
5491
+ y: -0.018993393814014044
5492
+ },
5493
+ {
5494
+ x: -0.20501412999999943,
5495
+ y: -0.014174384106555204
5327
5496
  },
5328
5497
  {
5329
- x: -0.20667382333333278,
5330
- y: -0.010976838014532348
5498
+ x: -0.2075036699999995,
5499
+ y: -0.009384187436300498
5331
5500
  },
5332
5501
  {
5333
5502
  x: -0.20999320999999949,
5334
5503
  y: -0.004636988132081332
5335
5504
  },
5336
5505
  {
5337
- x: -0.21331259666666616,
5338
- y: 0.0016017171330189733
5506
+ x: -0.2124827499999995,
5507
+ y: 5329457033053167e-20
5339
5508
  },
5340
5509
  {
5341
- x: -0.21663198333333286,
5342
- y: 0.0077072930787767495
5510
+ x: -0.2149722899999995,
5511
+ y: 0.004673092344940186
5512
+ },
5513
+ {
5514
+ x: -0.2174618299999995,
5515
+ y: 0.009209271428771242
5343
5516
  },
5344
5517
  {
5345
5518
  x: -0.21995136999999956,
5346
5519
  y: 0.013649213595881985
5347
5520
  },
5348
5521
  {
5349
- x: -0.2232707566666662,
5350
- y: 0.01939874561814809
5522
+ x: -0.22244090999999955,
5523
+ y: 0.01798089395292432
5524
+ },
5525
+ {
5526
+ x: -0.22493044999999956,
5527
+ y: 0.022192955076609913
5351
5528
  },
5352
5529
  {
5353
- x: -0.2265901433333329,
5354
- y: 0.024929263927997793
5530
+ x: -0.22741998999999957,
5531
+ y: 0.02627477703600152
5355
5532
  },
5356
5533
  {
5357
5534
  x: -0.22990952999999958,
5358
5535
  y: 0.030216542867918667
5359
5536
  },
5360
5537
  {
5361
- x: -0.23322891666666629,
5362
- y: 0.035239021761836284
5538
+ x: -0.2323990699999996,
5539
+ y: 0.03400929910178016
5363
5540
  },
5364
5541
  {
5365
- x: -0.23654830333333293,
5366
- y: 0.03997804113839323
5542
+ x: -0.2348886099999996,
5543
+ y: 0.03764501096072756
5544
+ },
5545
+ {
5546
+ x: -0.23737814999999962,
5547
+ y: 0.04111661189869628
5367
5548
  },
5368
5549
  {
5369
5550
  x: -0.23986768999999963,
5370
5551
  y: 0.04441804716802203
5371
5552
  },
5372
5553
  {
5373
- x: -0.24318707666666634,
5374
- y: 0.04854676207395667
5554
+ x: -0.24235722999999965,
5555
+ y: 0.04754431114897349
5556
+ },
5557
+ {
5558
+ x: -0.24484676999999966,
5559
+ y: 0.05049147821106258
5375
5560
  },
5376
5561
  {
5377
- x: -0.246506463333333,
5378
- y: 0.05235531865012421
5562
+ x: -0.24733630999999967,
5563
+ y: 0.053256726915861724
5379
5564
  },
5380
5565
  {
5381
5566
  x: -0.24982584999999968,
5382
5567
  y: 0.05583835741211009
5383
5568
  },
5384
5569
  {
5385
- x: -0.25314523666666633,
5386
- y: 0.05899408531679087
5570
+ x: -0.2523153899999997,
5571
+ y: 0.05823580191586174
5572
+ },
5573
+ {
5574
+ x: -0.2548049299999997,
5575
+ y: 0.060449628211062575
5387
5576
  },
5388
5577
  {
5389
- x: -0.25646462333333303,
5390
- y: 0.061824295407289995
5578
+ x: -0.2572944699999997,
5579
+ y: 0.0624815361489735
5391
5580
  },
5392
5581
  {
5393
5582
  x: -0.25978400999999973,
5394
5583
  y: 0.06433434716802203
5395
5584
  },
5396
5585
  {
5397
- x: -0.26310339666666643,
5398
- y: 0.0665331078050599
5586
+ x: -0.26227354999999974,
5587
+ y: 0.06601198689869628
5399
5588
  },
5400
5589
  {
5401
- x: -0.2664227833333331,
5402
- y: 0.06843285509516961
5590
+ x: -0.26476308999999976,
5591
+ y: 0.06751946096072757
5592
+ },
5593
+ {
5594
+ x: -0.26725262999999977,
5595
+ y: 0.06886282410178016
5403
5596
  },
5404
5597
  {
5405
5598
  x: -0.2697421699999998,
5406
5599
  y: 0.07004914286791866
5407
5600
  },
5408
5601
  {
5409
- x: -0.2730615566666664,
5410
- y: 0.07140063059466446
5602
+ x: -0.2722317099999998,
5603
+ y: 0.0710864520360015
5604
+ },
5605
+ {
5606
+ x: -0.2747212499999998,
5607
+ y: 0.07198370507660991
5411
5608
  },
5412
5609
  {
5413
- x: -0.2763809433333332,
5414
- y: 0.07250887895148142
5610
+ x: -0.2772107899999998,
5611
+ y: 0.07275071895292433
5415
5612
  },
5416
5613
  {
5417
5614
  x: -0.27970032999999983,
5418
5615
  y: 0.07339811359588198
5419
5616
  },
5420
5617
  {
5421
- x: -0.28301971666666653,
5422
- y: 0.07409495974544342
5618
+ x: -0.28218986999999984,
5619
+ y: 0.07393724642877124
5423
5620
  },
5424
5621
  {
5425
- x: -0.28633910333333323,
5426
- y: 0.0746281504663523
5622
+ x: -0.28467940999999986,
5623
+ y: 0.07438014234494018
5624
+ },
5625
+ {
5626
+ x: -0.28716894999999987,
5627
+ y: 0.07473941957033053
5427
5628
  },
5428
5629
  {
5429
5630
  x: -0.2896584899999999,
5430
5631
  y: 0.07502821186791866
5431
5632
  },
5432
5633
  {
5433
- x: -0.2929778766666666,
5434
- y: 0.07532712865213433
5634
+ x: -0.2921480299999999,
5635
+ y: 0.07526008756369952
5636
+ },
5637
+ {
5638
+ x: -0.2946375699999999,
5639
+ y: 0.07544896589344477
5435
5640
  },
5436
5641
  {
5437
- x: -0.2962972633333332,
5438
- y: 0.07555799368258467
5642
+ x: -0.2971271099999999,
5643
+ y: 0.07560903118598594
5439
5644
  },
5440
5645
  {
5441
5646
  x: -0.29961664999999993,
5442
5647
  y: 0.07575464541211008
5443
5648
  },
5444
5649
  {
5445
- x: -0.30293603333333324,
5446
- y: 0.07555799368258466
5650
+ x: -0.3021061874999999,
5651
+ y: 0.07560903118598594
5447
5652
  },
5448
5653
  {
5449
- x: -0.30625541666666656,
5450
- y: 0.07532712865213433
5654
+ x: -0.30459572499999993,
5655
+ y: 0.07544896589344477
5656
+ },
5657
+ {
5658
+ x: -0.3070852624999999,
5659
+ y: 0.07526008756369951
5451
5660
  },
5452
5661
  {
5453
5662
  x: -0.30957479999999993,
5454
5663
  y: 0.07502821186791866
5455
5664
  },
5456
5665
  {
5457
- x: -0.31289418333333324,
5458
- y: 0.07462815046635231
5666
+ x: -0.31206433749999984,
5667
+ y: 0.07473941957033052
5668
+ },
5669
+ {
5670
+ x: -0.3145538749999998,
5671
+ y: 0.07438014234494018
5459
5672
  },
5460
5673
  {
5461
- x: -0.31621356666666656,
5462
- y: 0.07409495974544342
5674
+ x: -0.31704341249999984,
5675
+ y: 0.07393724642877124
5463
5676
  },
5464
5677
  {
5465
5678
  x: -0.31953294999999987,
5466
5679
  y: 0.07339811359588198
5467
5680
  },
5468
5681
  {
5469
- x: -0.32285233333333313,
5470
- y: 0.07250887895148142
5682
+ x: -0.32202248749999984,
5683
+ y: 0.07275071895292431
5471
5684
  },
5472
5685
  {
5473
- x: -0.3261717166666665,
5474
- y: 0.07140063059466446
5686
+ x: -0.3245120249999998,
5687
+ y: 0.07198370507660991
5688
+ },
5689
+ {
5690
+ x: -0.3270015624999998,
5691
+ y: 0.0710864520360015
5475
5692
  },
5476
5693
  {
5477
5694
  x: -0.32949109999999976,
5478
5695
  y: 0.07004914286791866
5479
5696
  },
5480
5697
  {
5481
- x: -0.33281048333333313,
5482
- y: 0.06843285509516962
5698
+ x: -0.33198063749999984,
5699
+ y: 0.06886282410178016
5700
+ },
5701
+ {
5702
+ x: -0.33447017499999976,
5703
+ y: 0.06751946096072757
5483
5704
  },
5484
5705
  {
5485
- x: -0.33612986666666644,
5486
- y: 0.0665331078050599
5706
+ x: -0.3369597124999998,
5707
+ y: 0.06601198689869628
5487
5708
  },
5488
5709
  {
5489
5710
  x: -0.33944924999999976,
5490
5711
  y: 0.06433434716802203
5491
5712
  },
5492
5713
  {
5493
- x: -0.3427686333333331,
5494
- y: 0.061824295407289995
5714
+ x: -0.34193878749999973,
5715
+ y: 0.06248153614897349
5495
5716
  },
5496
5717
  {
5497
- x: -0.3460880166666664,
5498
- y: 0.058994085316790866
5718
+ x: -0.34442832499999976,
5719
+ y: 0.06044962821106258
5720
+ },
5721
+ {
5722
+ x: -0.3469178624999997,
5723
+ y: 0.05823580191586174
5499
5724
  },
5500
5725
  {
5501
5726
  x: -0.3494073999999997,
5502
5727
  y: 0.05583835741211009
5503
5728
  },
5504
5729
  {
5505
- x: -0.352726783333333,
5506
- y: 0.052355318650124216
5730
+ x: -0.35189693749999973,
5731
+ y: 0.053256726915861724
5507
5732
  },
5508
5733
  {
5509
- x: -0.35604616666666633,
5510
- y: 0.04854676207395667
5734
+ x: -0.35438647499999965,
5735
+ y: 0.050491478211062576
5736
+ },
5737
+ {
5738
+ x: -0.3568760124999997,
5739
+ y: 0.0475443111489735
5511
5740
  },
5512
5741
  {
5513
5742
  x: -0.35936554999999964,
5514
5743
  y: 0.04441804716802203
5515
5744
  },
5516
5745
  {
5517
- x: -0.362684933333333,
5518
- y: 0.03997804113839325
5746
+ x: -0.3618550874999996,
5747
+ y: 0.04111661189869628
5748
+ },
5749
+ {
5750
+ x: -0.36434462499999964,
5751
+ y: 0.03764501096072756
5519
5752
  },
5520
5753
  {
5521
- x: -0.36600431666666633,
5522
- y: 0.03523902176183629
5754
+ x: -0.36683416249999967,
5755
+ y: 0.03400929910178016
5523
5756
  },
5524
5757
  {
5525
5758
  x: -0.3693236999999996,
5526
5759
  y: 0.030216542867918673
5527
5760
  },
5528
5761
  {
5529
- x: -0.3726430833333329,
5530
- y: 0.024929263927997807
5762
+ x: -0.3718132374999996,
5763
+ y: 0.02627477703600152
5531
5764
  },
5532
5765
  {
5533
- x: -0.3759624666666663,
5534
- y: 0.019398745618148076
5766
+ x: -0.3743027749999996,
5767
+ y: 0.022192955076609917
5768
+ },
5769
+ {
5770
+ x: -0.37679231249999956,
5771
+ y: 0.017980893952924324
5535
5772
  },
5536
5773
  {
5537
5774
  x: -0.3792818499999996,
5538
5775
  y: 0.013649213595881985
5539
5776
  },
5540
5777
  {
5541
- x: -0.38260123333333285,
5542
- y: 0.007707293078776748
5778
+ x: -0.3817713874999995,
5779
+ y: 0.00920927142877125
5780
+ },
5781
+ {
5782
+ x: -0.38426092499999953,
5783
+ y: 0.004673092344940191
5543
5784
  },
5544
5785
  {
5545
- x: -0.38592061666666616,
5546
- y: 0.0016017171330189681
5786
+ x: -0.38675046249999956,
5787
+ y: 5329457033053514e-20
5547
5788
  },
5548
5789
  {
5549
5790
  x: -0.38923999999999953,
5550
5791
  y: -0.004636988132081328
5551
5792
  },
5552
5793
  {
5553
- x: -0.39255938333333285,
5554
- y: -0.010976838014532348
5794
+ x: -0.39172953749999956,
5795
+ y: -0.009384187436300498
5555
5796
  },
5556
5797
  {
5557
- x: -0.39587876666666616,
5558
- y: -0.017384739650748663
5798
+ x: -0.3942190749999995,
5799
+ y: -0.014174384106555197
5800
+ },
5801
+ {
5802
+ x: -0.3967086124999995,
5803
+ y: -0.01899339381401404
5559
5804
  },
5560
5805
  {
5561
5806
  x: -0.3991981499999995,
@@ -5573,240 +5818,320 @@ var inductor_default = {
5573
5818
  y: -0.02382615458789039
5574
5819
  },
5575
5820
  {
5576
- x: -0.004191433333332769,
5577
- y: -0.01738403631741582
5821
+ x: -0.0033615874999994412,
5822
+ y: -0.01899269131401453
5823
+ },
5824
+ {
5825
+ x: -0.0058511249999994245,
5826
+ y: -0.014173679106555696
5578
5827
  },
5579
5828
  {
5580
- x: -0.00751081666666608,
5581
- y: -0.010976131347866168
5829
+ x: -0.008340662499999407,
5830
+ y: -0.009383479936300985
5582
5831
  },
5583
5832
  {
5584
5833
  x: -0.010830199999999391,
5585
5834
  y: -0.004636278132081827
5586
5835
  },
5587
5836
  {
5588
- x: -0.014149583333332702,
5589
- y: 0.0016024304663518046
5837
+ x: -0.013319737499999373,
5838
+ y: 5400707033003174e-20
5590
5839
  },
5591
5840
  {
5592
- x: -0.01746896666666601,
5593
- y: 0.007708009745442909
5841
+ x: -0.015809274999999356,
5842
+ y: 0.004673807344939683
5843
+ },
5844
+ {
5845
+ x: -0.018298812499999338,
5846
+ y: 0.009209988928770731
5594
5847
  },
5595
5848
  {
5596
5849
  x: -0.020788349999999324,
5597
5850
  y: 0.013649933595881476
5598
5851
  },
5599
5852
  {
5600
- x: -0.02410773333333263,
5601
- y: 0.019399468951480908
5853
+ x: -0.023277887499999306,
5854
+ y: 0.017981616452923805
5602
5855
  },
5603
5856
  {
5604
- x: -0.027427116666665946,
5605
- y: 0.024929990594663935
5857
+ x: -0.02576742499999929,
5858
+ y: 0.022193680076609393
5859
+ },
5860
+ {
5861
+ x: -0.02825696249999927,
5862
+ y: 0.026275504536001
5606
5863
  },
5607
5864
  {
5608
5865
  x: -0.030746499999999254,
5609
5866
  y: 0.030217272867918137
5610
5867
  },
5611
5868
  {
5612
- x: -0.03406588333333256,
5613
- y: 0.03523975509516908
5869
+ x: -0.03323603749999924,
5870
+ y: 0.034010031601779636
5871
+ },
5872
+ {
5873
+ x: -0.03572557499999922,
5874
+ y: 0.03764574596072702
5614
5875
  },
5615
5876
  {
5616
- x: -0.037385266666665876,
5617
- y: 0.039978777805059366
5877
+ x: -0.038215112499999204,
5878
+ y: 0.04111734939869574
5618
5879
  },
5619
5880
  {
5620
5881
  x: -0.04070464999999919,
5621
5882
  y: 0.04441878716802149
5622
5883
  },
5623
5884
  {
5624
- x: -0.0440240333333325,
5625
- y: 0.04854750540728946
5885
+ x: -0.04319418749999917,
5886
+ y: 0.04754505364897295
5887
+ },
5888
+ {
5889
+ x: -0.045683724999999155,
5890
+ y: 0.05049222321106203
5626
5891
  },
5627
5892
  {
5628
- x: -0.047343416666665805,
5629
- y: 0.052356065316790316
5893
+ x: -0.048173262499999134,
5894
+ y: 0.05325747441586117
5630
5895
  },
5631
5896
  {
5632
5897
  x: -0.05066279999999912,
5633
5898
  y: 0.055839107412109526
5634
5899
  },
5635
5900
  {
5636
- x: -0.053982183333332434,
5637
- y: 0.05899483865012364
5901
+ x: -0.053152337499999106,
5902
+ y: 0.05823655441586117
5903
+ },
5904
+ {
5905
+ x: -0.055641874999999084,
5906
+ y: 0.06045038321106201
5638
5907
  },
5639
5908
  {
5640
- x: -0.05730156666666574,
5641
- y: 0.0618250520739561
5909
+ x: -0.05813141249999907,
5910
+ y: 0.06248229364897292
5642
5911
  },
5643
5912
  {
5644
5913
  x: -0.06062094999999905,
5645
5914
  y: 0.06433510716802145
5646
5915
  },
5647
5916
  {
5648
- x: -0.06394033333333236,
5649
- y: 0.06653387113839265
5917
+ x: -0.06311048749999904,
5918
+ y: 0.0660127493986957
5650
5919
  },
5651
5920
  {
5652
- x: -0.06725971666666566,
5653
- y: 0.06843362176183569
5921
+ x: -0.06560002499999902,
5922
+ y: 0.06752022596072697
5923
+ },
5924
+ {
5925
+ x: -0.068089562499999,
5926
+ y: 0.06886359160177957
5654
5927
  },
5655
5928
  {
5656
5929
  x: -0.07057909999999898,
5657
5930
  y: 0.07004991286791806
5658
5931
  },
5659
5932
  {
5660
- x: -0.0738984833333323,
5661
- y: 0.0714014039279972
5933
+ x: -0.07306863749999896,
5934
+ y: 0.07108722453600091
5935
+ },
5936
+ {
5937
+ x: -0.07555817499999895,
5938
+ y: 0.0719844800766093
5662
5939
  },
5663
5940
  {
5664
- x: -0.07721786666666561,
5665
- y: 0.07250965561814748
5941
+ x: -0.07804771249999894,
5942
+ y: 0.07275149645292371
5666
5943
  },
5667
5944
  {
5668
5945
  x: -0.08053724999999892,
5669
5946
  y: 0.07339889359588138
5670
5947
  },
5671
5948
  {
5672
- x: -0.08385663333333224,
5673
- y: 0.07409574307877614
5949
+ x: -0.0830267874999989,
5950
+ y: 0.07393802892877062
5674
5951
  },
5675
5952
  {
5676
- x: -0.08717601666666554,
5677
- y: 0.07462893713301834
5953
+ x: -0.08551632499999888,
5954
+ y: 0.07438092734493956
5955
+ },
5956
+ {
5957
+ x: -0.08800586249999887,
5958
+ y: 0.07474020707032991
5678
5959
  },
5679
5960
  {
5680
5961
  x: -0.09049539999999885,
5681
5962
  y: 0.07502900186791804
5682
5963
  },
5683
5964
  {
5684
- x: -0.09381478333333215,
5685
- y: 0.07532792198546702
5965
+ x: -0.09298493749999884,
5966
+ y: 0.07526088006369888
5967
+ },
5968
+ {
5969
+ x: -0.09547447499999881,
5970
+ y: 0.07544976089344414
5686
5971
  },
5687
5972
  {
5688
- x: -0.09713416666666547,
5689
- y: 0.0755587903492507
5973
+ x: -0.0979640124999988,
5974
+ y: 0.0756098286859853
5690
5975
  },
5691
5976
  {
5692
5977
  x: -0.10045354999999878,
5693
5978
  y: 0.07575544541210943
5694
5979
  },
5695
5980
  {
5696
- x: -0.10377293666666547,
5697
- y: 0.07555879034925068
5981
+ x: -0.1029430899999988,
5982
+ y: 0.0756098286859853
5698
5983
  },
5699
5984
  {
5700
- x: -0.10709232333333214,
5701
- y: 0.07532792198546702
5985
+ x: -0.1054326299999988,
5986
+ y: 0.07544976089344414
5987
+ },
5988
+ {
5989
+ x: -0.10792216999999882,
5990
+ y: 0.07526088006369887
5702
5991
  },
5703
5992
  {
5704
5993
  x: -0.11041170999999883,
5705
5994
  y: 0.07502900186791804
5706
5995
  },
5707
5996
  {
5708
- x: -0.1137310966666655,
5709
- y: 0.07462893713301834
5997
+ x: -0.11290124999999884,
5998
+ y: 0.0747402070703299
5999
+ },
6000
+ {
6001
+ x: -0.11539078999999886,
6002
+ y: 0.07438092734493956
5710
6003
  },
5711
6004
  {
5712
- x: -0.1170504833333322,
5713
- y: 0.07409574307877614
6005
+ x: -0.11788032999999885,
6006
+ y: 0.07393802892877062
5714
6007
  },
5715
6008
  {
5716
6009
  x: -0.1203698699999989,
5717
6010
  y: 0.07339889359588138
5718
6011
  },
5719
6012
  {
5720
- x: -0.12368925666666555,
5721
- y: 0.07250965561814747
6013
+ x: -0.12285940999999889,
6014
+ y: 0.07275149645292371
5722
6015
  },
5723
6016
  {
5724
- x: -0.12700864333333226,
5725
- y: 0.0714014039279972
6017
+ x: -0.1253489499999989,
6018
+ y: 0.0719844800766093
6019
+ },
6020
+ {
6021
+ x: -0.12783848999999892,
6022
+ y: 0.07108722453600091
5726
6023
  },
5727
6024
  {
5728
6025
  x: -0.13032802999999893,
5729
6026
  y: 0.07004991286791806
5730
6027
  },
5731
6028
  {
5732
- x: -0.13364741666666563,
5733
- y: 0.0684336217618357
6029
+ x: -0.13281756999999894,
6030
+ y: 0.06886359160177957
6031
+ },
6032
+ {
6033
+ x: -0.13530710999999895,
6034
+ y: 0.06752022596072697
5734
6035
  },
5735
6036
  {
5736
- x: -0.13696680333333228,
5737
- y: 0.06653387113839265
6037
+ x: -0.13779664999999897,
6038
+ y: 0.0660127493986957
5738
6039
  },
5739
6040
  {
5740
6041
  x: -0.14028618999999898,
5741
6042
  y: 0.06433510716802145
5742
6043
  },
5743
6044
  {
5744
- x: -0.14360557666666568,
5745
- y: 0.0618250520739561
6045
+ x: -0.142775729999999,
6046
+ y: 0.06248229364897291
6047
+ },
6048
+ {
6049
+ x: -0.145265269999999,
6050
+ y: 0.06045038321106202
5746
6051
  },
5747
6052
  {
5748
- x: -0.14692496333333235,
5749
- y: 0.058994838650123636
6053
+ x: -0.14775480999999901,
6054
+ y: 0.05823655441586117
5750
6055
  },
5751
6056
  {
5752
6057
  x: -0.15024434999999903,
5753
6058
  y: 0.055839107412109526
5754
6059
  },
5755
6060
  {
5756
- x: -0.1535637366666657,
5757
- y: 0.05235606531679032
6061
+ x: -0.15273388999999904,
6062
+ y: 0.05325747441586117
5758
6063
  },
5759
6064
  {
5760
- x: -0.15688312333333237,
5761
- y: 0.04854750540728946
6065
+ x: -0.15522342999999905,
6066
+ y: 0.05049222321106202
6067
+ },
6068
+ {
6069
+ x: -0.15771296999999906,
6070
+ y: 0.047545053648972956
5762
6071
  },
5763
6072
  {
5764
6073
  x: -0.16020250999999908,
5765
6074
  y: 0.04441878716802149
5766
6075
  },
5767
6076
  {
5768
- x: -0.16352189666666575,
5769
- y: 0.03997877780505937
6077
+ x: -0.1626920499999991,
6078
+ y: 0.04111734939869574
6079
+ },
6080
+ {
6081
+ x: -0.1651815899999991,
6082
+ y: 0.03764574596072702
5770
6083
  },
5771
6084
  {
5772
- x: -0.16684128333333245,
5773
- y: 0.03523975509516909
6085
+ x: -0.16767112999999914,
6086
+ y: 0.034010031601779636
5774
6087
  },
5775
6088
  {
5776
6089
  x: -0.1701606699999991,
5777
6090
  y: 0.03021727286791814
5778
6091
  },
5779
6092
  {
5780
- x: -0.1734800566666658,
5781
- y: 0.024929990594663953
6093
+ x: -0.17265020999999914,
6094
+ y: 0.026275504536001
5782
6095
  },
5783
6096
  {
5784
- x: -0.1767994433333325,
5785
- y: 0.01939946895148089
6097
+ x: -0.17513974999999915,
6098
+ y: 0.022193680076609396
6099
+ },
6100
+ {
6101
+ x: -0.17762928999999916,
6102
+ y: 0.017981616452923805
5786
6103
  },
5787
6104
  {
5788
6105
  x: -0.1801188299999992,
5789
6106
  y: 0.013649933595881474
5790
6107
  },
5791
6108
  {
5792
- x: -0.18343821666666585,
5793
- y: 0.007708009745442907
6109
+ x: -0.18260836999999916,
6110
+ y: 0.00920998892877074
6111
+ },
6112
+ {
6113
+ x: -0.1850979099999992,
6114
+ y: 0.0046738073449396865
5794
6115
  },
5795
6116
  {
5796
- x: -0.18675760333333255,
5797
- y: 0.0016024304663517994
6117
+ x: -0.1875874499999992,
6118
+ y: 5400707033003521e-20
5798
6119
  },
5799
6120
  {
5800
6121
  x: -0.19007698999999922,
5801
6122
  y: -0.004636278132081827
5802
6123
  },
5803
6124
  {
5804
- x: -0.19339637666666593,
5805
- y: -0.010976131347866172
6125
+ x: -0.19256652999999926,
6126
+ y: -0.009383479936300985
5806
6127
  },
5807
6128
  {
5808
- x: -0.19671576333333257,
5809
- y: -0.017384036317415814
6129
+ x: -0.19505606999999922,
6130
+ y: -0.01417367910655569
6131
+ },
6132
+ {
6133
+ x: -0.19754560999999926,
6134
+ y: -0.018992691314014522
5810
6135
  },
5811
6136
  {
5812
6137
  x: -0.20003514999999927,
@@ -5824,240 +6149,320 @@ var inductor_default = {
5824
6149
  y: -0.02382615458789039
5825
6150
  },
5826
6151
  {
5827
- x: 0.19497166333333366,
5828
- y: -0.01738403631741582
6152
+ x: 0.19580151000000035,
6153
+ y: -0.01899269131401453
6154
+ },
6155
+ {
6156
+ x: 0.1933119700000003,
6157
+ y: -0.014173679106555696
5829
6158
  },
5830
6159
  {
5831
- x: 0.191652276666667,
5832
- y: -0.010976131347866168
6160
+ x: 0.19082243000000035,
6161
+ y: -0.009383479936300985
5833
6162
  },
5834
6163
  {
5835
6164
  x: 0.1883328900000003,
5836
6165
  y: -0.004636278132081827
5837
6166
  },
5838
6167
  {
5839
- x: 0.18501350333333363,
5840
- y: 0.0016024304663518046
6168
+ x: 0.1858433500000003,
6169
+ y: 5400707033003174e-20
6170
+ },
6171
+ {
6172
+ x: 0.18335381000000028,
6173
+ y: 0.004673807344939683
5841
6174
  },
5842
6175
  {
5843
- x: 0.18169411666666693,
5844
- y: 0.007708009745442909
6176
+ x: 0.18086427000000024,
6177
+ y: 0.009209988928770731
5845
6178
  },
5846
6179
  {
5847
6180
  x: 0.1783747300000003,
5848
6181
  y: 0.013649933595881476
5849
6182
  },
5850
6183
  {
5851
- x: 0.17505534333333356,
5852
- y: 0.019399468951480908
6184
+ x: 0.17588519000000025,
6185
+ y: 0.017981616452923805
5853
6186
  },
5854
6187
  {
5855
- x: 0.1717359566666669,
5856
- y: 0.024929990594663935
6188
+ x: 0.17339565000000023,
6189
+ y: 0.022193680076609393
6190
+ },
6191
+ {
6192
+ x: 0.17090611000000022,
6193
+ y: 0.026275504536001
5857
6194
  },
5858
6195
  {
5859
6196
  x: 0.16841657000000018,
5860
6197
  y: 0.030217272867918137
5861
6198
  },
5862
6199
  {
5863
- x: 0.16509718333333356,
5864
- y: 0.03523975509516908
6200
+ x: 0.16592703000000023,
6201
+ y: 0.034010031601779636
6202
+ },
6203
+ {
6204
+ x: 0.16343749000000019,
6205
+ y: 0.03764574596072702
5865
6206
  },
5866
6207
  {
5867
- x: 0.16177779666666683,
5868
- y: 0.039978777805059366
6208
+ x: 0.16094795000000017,
6209
+ y: 0.04111734939869574
5869
6210
  },
5870
6211
  {
5871
6212
  x: 0.15845841000000016,
5872
6213
  y: 0.04441878716802149
5873
6214
  },
5874
6215
  {
5875
- x: 0.15513902333333346,
5876
- y: 0.04854750540728946
6216
+ x: 0.15596887000000015,
6217
+ y: 0.04754505364897295
5877
6218
  },
5878
6219
  {
5879
- x: 0.15181963666666679,
5880
- y: 0.052356065316790316
6220
+ x: 0.15347933000000014,
6221
+ y: 0.05049222321106203
6222
+ },
6223
+ {
6224
+ x: 0.15098979000000012,
6225
+ y: 0.05325747441586117
5881
6226
  },
5882
6227
  {
5883
6228
  x: 0.1485002500000001,
5884
6229
  y: 0.055839107412109526
5885
6230
  },
5886
6231
  {
5887
- x: 0.14518086333333344,
5888
- y: 0.05899483865012364
6232
+ x: 0.1460107100000001,
6233
+ y: 0.05823655441586117
6234
+ },
6235
+ {
6236
+ x: 0.1435211700000001,
6237
+ y: 0.06045038321106201
5889
6238
  },
5890
6239
  {
5891
- x: 0.14186147666666676,
5892
- y: 0.0618250520739561
6240
+ x: 0.14103163000000007,
6241
+ y: 0.06248229364897292
5893
6242
  },
5894
6243
  {
5895
6244
  x: 0.13854209000000006,
5896
6245
  y: 0.06433510716802145
5897
6246
  },
5898
6247
  {
5899
- x: 0.1352227033333334,
5900
- y: 0.06653387113839265
6248
+ x: 0.13605255000000005,
6249
+ y: 0.0660127493986957
5901
6250
  },
5902
6251
  {
5903
- x: 0.13190331666666671,
5904
- y: 0.06843362176183569
6252
+ x: 0.13356301000000004,
6253
+ y: 0.06752022596072697
6254
+ },
6255
+ {
6256
+ x: 0.13107347000000003,
6257
+ y: 0.06886359160177957
5905
6258
  },
5906
6259
  {
5907
6260
  x: 0.12858393,
5908
6261
  y: 0.07004991286791806
5909
6262
  },
5910
6263
  {
5911
- x: 0.12526454333333334,
5912
- y: 0.0714014039279972
6264
+ x: 0.12609439,
6265
+ y: 0.07108722453600091
6266
+ },
6267
+ {
6268
+ x: 0.12360484999999999,
6269
+ y: 0.0719844800766093
5913
6270
  },
5914
6271
  {
5915
- x: 0.12194515666666664,
5916
- y: 0.07250965561814748
6272
+ x: 0.12111530999999998,
6273
+ y: 0.07275149645292371
5917
6274
  },
5918
6275
  {
5919
6276
  x: 0.11862576999999996,
5920
6277
  y: 0.07339889359588138
5921
6278
  },
5922
6279
  {
5923
- x: 0.11530638333333329,
5924
- y: 0.07409574307877614
6280
+ x: 0.11613622999999995,
6281
+ y: 0.07393802892877062
6282
+ },
6283
+ {
6284
+ x: 0.11364668999999994,
6285
+ y: 0.07438092734493956
5925
6286
  },
5926
6287
  {
5927
- x: 0.11198699666666659,
5928
- y: 0.07462893713301834
6288
+ x: 0.11115714999999993,
6289
+ y: 0.07474020707032991
5929
6290
  },
5930
6291
  {
5931
6292
  x: 0.10866760999999991,
5932
6293
  y: 0.07502900186791804
5933
6294
  },
5934
6295
  {
5935
- x: 0.10534822333333323,
5936
- y: 0.07532792198546702
6296
+ x: 0.1061780699999999,
6297
+ y: 0.07526088006369888
5937
6298
  },
5938
6299
  {
5939
- x: 0.10202883666666655,
5940
- y: 0.0755587903492507
6300
+ x: 0.10368852999999989,
6301
+ y: 0.07544976089344414
6302
+ },
6303
+ {
6304
+ x: 0.10119898999999988,
6305
+ y: 0.0756098286859853
5941
6306
  },
5942
6307
  {
5943
6308
  x: 0.09870944999999987,
5944
6309
  y: 0.07575544541210943
5945
6310
  },
5946
6311
  {
5947
- x: 0.09539006666666656,
5948
- y: 0.07555879034925068
6312
+ x: 0.09621991249999988,
6313
+ y: 0.0756098286859853
6314
+ },
6315
+ {
6316
+ x: 0.0937303749999999,
6317
+ y: 0.07544976089344414
5949
6318
  },
5950
6319
  {
5951
- x: 0.09207068333333325,
5952
- y: 0.07532792198546702
6320
+ x: 0.09124083749999992,
6321
+ y: 0.07526088006369887
5953
6322
  },
5954
6323
  {
5955
6324
  x: 0.08875129999999994,
5956
6325
  y: 0.07502900186791804
5957
6326
  },
5958
6327
  {
5959
- x: 0.08543191666666662,
5960
- y: 0.07462893713301834
6328
+ x: 0.08626176249999995,
6329
+ y: 0.0747402070703299
5961
6330
  },
5962
6331
  {
5963
- x: 0.08211253333333332,
5964
- y: 0.07409574307877614
6332
+ x: 0.08377222499999996,
6333
+ y: 0.07438092734493956
6334
+ },
6335
+ {
6336
+ x: 0.08128268749999998,
6337
+ y: 0.07393802892877062
5965
6338
  },
5966
6339
  {
5967
6340
  x: 0.07879315,
5968
6341
  y: 0.07339889359588138
5969
6342
  },
5970
6343
  {
5971
- x: 0.07547376666666669,
5972
- y: 0.07250965561814747
6344
+ x: 0.07630361250000002,
6345
+ y: 0.07275149645292371
6346
+ },
6347
+ {
6348
+ x: 0.07381407500000003,
6349
+ y: 0.0719844800766093
5973
6350
  },
5974
6351
  {
5975
- x: 0.07215438333333338,
5976
- y: 0.0714014039279972
6352
+ x: 0.07132453750000005,
6353
+ y: 0.07108722453600091
5977
6354
  },
5978
6355
  {
5979
6356
  x: 0.06883500000000006,
5980
6357
  y: 0.07004991286791806
5981
6358
  },
5982
6359
  {
5983
- x: 0.06551561666666676,
5984
- y: 0.0684336217618357
6360
+ x: 0.06634546250000009,
6361
+ y: 0.06886359160177957
5985
6362
  },
5986
6363
  {
5987
- x: 0.06219623333333345,
5988
- y: 0.06653387113839265
6364
+ x: 0.0638559250000001,
6365
+ y: 0.06752022596072697
6366
+ },
6367
+ {
6368
+ x: 0.06136638750000012,
6369
+ y: 0.0660127493986957
5989
6370
  },
5990
6371
  {
5991
6372
  x: 0.05887685000000013,
5992
6373
  y: 0.06433510716802145
5993
6374
  },
5994
6375
  {
5995
- x: 0.055557466666666826,
5996
- y: 0.0618250520739561
6376
+ x: 0.05638731250000015,
6377
+ y: 0.06248229364897291
6378
+ },
6379
+ {
6380
+ x: 0.053897775000000175,
6381
+ y: 0.06045038321106202
5997
6382
  },
5998
6383
  {
5999
- x: 0.05223808333333351,
6000
- y: 0.058994838650123636
6384
+ x: 0.05140823750000019,
6385
+ y: 0.05823655441586117
6001
6386
  },
6002
6387
  {
6003
6388
  x: 0.048918700000000204,
6004
6389
  y: 0.055839107412109526
6005
6390
  },
6006
6391
  {
6007
- x: 0.045599316666666896,
6008
- y: 0.05235606531679032
6392
+ x: 0.04642916250000022,
6393
+ y: 0.05325747441586117
6009
6394
  },
6010
6395
  {
6011
- x: 0.04227993333333358,
6012
- y: 0.04854750540728946
6396
+ x: 0.04393962500000023,
6397
+ y: 0.05049222321106202
6398
+ },
6399
+ {
6400
+ x: 0.04145008750000026,
6401
+ y: 0.047545053648972956
6013
6402
  },
6014
6403
  {
6015
6404
  x: 0.038960550000000274,
6016
6405
  y: 0.04441878716802149
6017
6406
  },
6018
6407
  {
6019
- x: 0.03564116666666696,
6020
- y: 0.03997877780505937
6408
+ x: 0.03647101250000029,
6409
+ y: 0.04111734939869574
6410
+ },
6411
+ {
6412
+ x: 0.0339814750000003,
6413
+ y: 0.03764574596072702
6021
6414
  },
6022
6415
  {
6023
- x: 0.03232178333333365,
6024
- y: 0.03523975509516909
6416
+ x: 0.03149193750000032,
6417
+ y: 0.034010031601779636
6025
6418
  },
6026
6419
  {
6027
6420
  x: 0.02900240000000034,
6028
6421
  y: 0.03021727286791814
6029
6422
  },
6030
6423
  {
6031
- x: 0.025683016666667034,
6032
- y: 0.024929990594663953
6424
+ x: 0.02651286250000036,
6425
+ y: 0.026275504536001
6033
6426
  },
6034
6427
  {
6035
- x: 0.022363633333333712,
6036
- y: 0.01939946895148089
6428
+ x: 0.024023325000000373,
6429
+ y: 0.022193680076609396
6430
+ },
6431
+ {
6432
+ x: 0.021533787500000387,
6433
+ y: 0.017981616452923805
6037
6434
  },
6038
6435
  {
6039
6436
  x: 0.019044250000000405,
6040
6437
  y: 0.013649933595881474
6041
6438
  },
6042
6439
  {
6043
- x: 0.015724866666667094,
6044
- y: 0.007708009745442907
6440
+ x: 0.016554712500000426,
6441
+ y: 0.00920998892877074
6442
+ },
6443
+ {
6444
+ x: 0.014065175000000442,
6445
+ y: 0.0046738073449396865
6045
6446
  },
6046
6447
  {
6047
- x: 0.01240548333333378,
6048
- y: 0.0016024304663517994
6448
+ x: 0.011575637500000457,
6449
+ y: 5400707033003521e-20
6049
6450
  },
6050
6451
  {
6051
6452
  x: 0.009086100000000473,
6052
6453
  y: -0.004636278132081827
6053
6454
  },
6054
6455
  {
6055
- x: 0.0057667166666671614,
6056
- y: -0.010976131347866172
6456
+ x: 0.006596562500000487,
6457
+ y: -0.009383479936300985
6057
6458
  },
6058
6459
  {
6059
- x: 0.002447333333333852,
6060
- y: -0.017384036317415814
6460
+ x: 0.004107025000000513,
6461
+ y: -0.01417367910655569
6462
+ },
6463
+ {
6464
+ x: 0.0016174875000005274,
6465
+ y: -0.018992691314014522
6061
6466
  },
6062
6467
  {
6063
6468
  x: -872049999999458e-18,
@@ -6075,240 +6480,320 @@ var inductor_default = {
6075
6480
  y: -0.02382615458789039
6076
6481
  },
6077
6482
  {
6078
- x: 0.3941346666666671,
6079
- y: -0.01738403631741582
6483
+ x: 0.3949645125000003,
6484
+ y: -0.01899269131401453
6485
+ },
6486
+ {
6487
+ x: 0.39247497500000034,
6488
+ y: -0.014173679106555696
6080
6489
  },
6081
6490
  {
6082
- x: 0.3908152833333337,
6083
- y: -0.010976131347866168
6491
+ x: 0.3899854375000004,
6492
+ y: -0.009383479936300985
6084
6493
  },
6085
6494
  {
6086
6495
  x: 0.38749590000000045,
6087
6496
  y: -0.004636278132081827
6088
6497
  },
6089
6498
  {
6090
- x: 0.3841765166666671,
6091
- y: 0.0016024304663518046
6499
+ x: 0.3850063625000004,
6500
+ y: 5400707033003174e-20
6092
6501
  },
6093
6502
  {
6094
- x: 0.3808571333333338,
6095
- y: 0.007708009745442909
6503
+ x: 0.3825168250000004,
6504
+ y: 0.004673807344939683
6505
+ },
6506
+ {
6507
+ x: 0.3800272875000004,
6508
+ y: 0.009209988928770731
6096
6509
  },
6097
6510
  {
6098
6511
  x: 0.3775377500000005,
6099
6512
  y: 0.013649933595881476
6100
6513
  },
6101
6514
  {
6102
- x: 0.37421836666666713,
6103
- y: 0.019399468951480908
6515
+ x: 0.37504821250000053,
6516
+ y: 0.017981616452923805
6517
+ },
6518
+ {
6519
+ x: 0.3725586750000005,
6520
+ y: 0.022193680076609393
6104
6521
  },
6105
6522
  {
6106
- x: 0.3708989833333339,
6107
- y: 0.024929990594663935
6523
+ x: 0.3700691375000005,
6524
+ y: 0.026275504536001
6108
6525
  },
6109
6526
  {
6110
6527
  x: 0.3675796000000005,
6111
6528
  y: 0.030217272867918137
6112
6529
  },
6113
6530
  {
6114
- x: 0.36426021666666725,
6115
- y: 0.03523975509516908
6531
+ x: 0.3650900625000006,
6532
+ y: 0.034010031601779636
6116
6533
  },
6117
6534
  {
6118
- x: 0.36094083333333393,
6119
- y: 0.039978777805059366
6535
+ x: 0.3626005250000006,
6536
+ y: 0.03764574596072702
6537
+ },
6538
+ {
6539
+ x: 0.3601109875000006,
6540
+ y: 0.04111734939869574
6120
6541
  },
6121
6542
  {
6122
6543
  x: 0.35762145000000056,
6123
6544
  y: 0.04441878716802149
6124
6545
  },
6125
6546
  {
6126
- x: 0.3543020666666673,
6127
- y: 0.04854750540728946
6547
+ x: 0.3551319125000006,
6548
+ y: 0.04754505364897295
6549
+ },
6550
+ {
6551
+ x: 0.3526423750000007,
6552
+ y: 0.05049222321106203
6128
6553
  },
6129
6554
  {
6130
- x: 0.350982683333334,
6131
- y: 0.052356065316790316
6555
+ x: 0.3501528375000007,
6556
+ y: 0.05325747441586117
6132
6557
  },
6133
6558
  {
6134
6559
  x: 0.3476633000000007,
6135
6560
  y: 0.055839107412109526
6136
6561
  },
6137
6562
  {
6138
- x: 0.34434391666666736,
6139
- y: 0.05899483865012364
6563
+ x: 0.34517376250000065,
6564
+ y: 0.05823655441586117
6140
6565
  },
6141
6566
  {
6142
- x: 0.34102453333333405,
6143
- y: 0.0618250520739561
6567
+ x: 0.34268422500000073,
6568
+ y: 0.06045038321106201
6569
+ },
6570
+ {
6571
+ x: 0.3401946875000007,
6572
+ y: 0.06248229364897292
6144
6573
  },
6145
6574
  {
6146
6575
  x: 0.3377051500000008,
6147
6576
  y: 0.06433510716802145
6148
6577
  },
6149
6578
  {
6150
- x: 0.3343857666666674,
6151
- y: 0.06653387113839265
6579
+ x: 0.33521561250000076,
6580
+ y: 0.0660127493986957
6581
+ },
6582
+ {
6583
+ x: 0.33272607500000073,
6584
+ y: 0.06752022596072697
6152
6585
  },
6153
6586
  {
6154
- x: 0.33106638333333416,
6155
- y: 0.06843362176183569
6587
+ x: 0.3302365375000008,
6588
+ y: 0.06886359160177957
6156
6589
  },
6157
6590
  {
6158
6591
  x: 0.3277470000000008,
6159
6592
  y: 0.07004991286791806
6160
6593
  },
6161
6594
  {
6162
- x: 0.32442761666666753,
6163
- y: 0.0714014039279972
6595
+ x: 0.3252574625000008,
6596
+ y: 0.07108722453600091
6164
6597
  },
6165
6598
  {
6166
- x: 0.32110823333333416,
6167
- y: 0.07250965561814748
6599
+ x: 0.32276792500000084,
6600
+ y: 0.0719844800766093
6601
+ },
6602
+ {
6603
+ x: 0.32027838750000087,
6604
+ y: 0.07275149645292371
6168
6605
  },
6169
6606
  {
6170
6607
  x: 0.3177888500000009,
6171
6608
  y: 0.07339889359588138
6172
6609
  },
6173
6610
  {
6174
- x: 0.31446946666666753,
6175
- y: 0.07409574307877614
6611
+ x: 0.3152993125000009,
6612
+ y: 0.07393802892877062
6613
+ },
6614
+ {
6615
+ x: 0.3128097750000009,
6616
+ y: 0.07438092734493956
6176
6617
  },
6177
6618
  {
6178
- x: 0.31115008333333427,
6179
- y: 0.07462893713301834
6619
+ x: 0.31032023750000093,
6620
+ y: 0.07474020707032991
6180
6621
  },
6181
6622
  {
6182
6623
  x: 0.30783070000000096,
6183
6624
  y: 0.07502900186791804
6184
6625
  },
6185
6626
  {
6186
- x: 0.30451131666666764,
6187
- y: 0.07532792198546702
6627
+ x: 0.305341162500001,
6628
+ y: 0.07526088006369888
6188
6629
  },
6189
6630
  {
6190
- x: 0.3011919333333343,
6191
- y: 0.0755587903492507
6631
+ x: 0.30285162500000096,
6632
+ y: 0.07544976089344414
6633
+ },
6634
+ {
6635
+ x: 0.300362087500001,
6636
+ y: 0.0756098286859853
6192
6637
  },
6193
6638
  {
6194
6639
  x: 0.297872550000001,
6195
6640
  y: 0.07575544541210943
6196
6641
  },
6197
6642
  {
6198
- x: 0.29455316333333437,
6199
- y: 0.07555879034925068
6643
+ x: 0.29538301000000095,
6644
+ y: 0.0756098286859853
6645
+ },
6646
+ {
6647
+ x: 0.292893470000001,
6648
+ y: 0.07544976089344414
6200
6649
  },
6201
6650
  {
6202
- x: 0.29123377666666767,
6203
- y: 0.07532792198546702
6651
+ x: 0.290403930000001,
6652
+ y: 0.07526088006369887
6204
6653
  },
6205
6654
  {
6206
6655
  x: 0.287914390000001,
6207
6656
  y: 0.07502900186791804
6208
6657
  },
6209
6658
  {
6210
- x: 0.28459500333333426,
6211
- y: 0.07462893713301834
6659
+ x: 0.28542485000000095,
6660
+ y: 0.0747402070703299
6212
6661
  },
6213
6662
  {
6214
- x: 0.2812756166666676,
6215
- y: 0.07409574307877614
6663
+ x: 0.2829353100000009,
6664
+ y: 0.07438092734493956
6665
+ },
6666
+ {
6667
+ x: 0.2804457700000009,
6668
+ y: 0.07393802892877062
6216
6669
  },
6217
6670
  {
6218
6671
  x: 0.2779562300000009,
6219
6672
  y: 0.07339889359588138
6220
6673
  },
6221
6674
  {
6222
- x: 0.2746368433333342,
6223
- y: 0.07250965561814747
6675
+ x: 0.2754666900000009,
6676
+ y: 0.07275149645292371
6677
+ },
6678
+ {
6679
+ x: 0.2729771500000009,
6680
+ y: 0.0719844800766093
6224
6681
  },
6225
6682
  {
6226
- x: 0.27131745666666757,
6227
- y: 0.0714014039279972
6683
+ x: 0.2704876100000009,
6684
+ y: 0.07108722453600091
6228
6685
  },
6229
6686
  {
6230
6687
  x: 0.26799807000000087,
6231
6688
  y: 0.07004991286791806
6232
6689
  },
6233
6690
  {
6234
- x: 0.2646786833333342,
6235
- y: 0.0684336217618357
6691
+ x: 0.26550853000000085,
6692
+ y: 0.06886359160177957
6236
6693
  },
6237
6694
  {
6238
- x: 0.26135929666666746,
6239
- y: 0.06653387113839265
6695
+ x: 0.26301899000000084,
6696
+ y: 0.06752022596072697
6697
+ },
6698
+ {
6699
+ x: 0.26052945000000083,
6700
+ y: 0.0660127493986957
6240
6701
  },
6241
6702
  {
6242
6703
  x: 0.2580399100000008,
6243
6704
  y: 0.06433510716802145
6244
6705
  },
6245
6706
  {
6246
- x: 0.2547205233333341,
6247
- y: 0.0618250520739561
6707
+ x: 0.2555503700000008,
6708
+ y: 0.06248229364897291
6709
+ },
6710
+ {
6711
+ x: 0.2530608300000008,
6712
+ y: 0.06045038321106202
6248
6713
  },
6249
6714
  {
6250
- x: 0.25140113666666747,
6251
- y: 0.058994838650123636
6715
+ x: 0.2505712900000008,
6716
+ y: 0.05823655441586117
6252
6717
  },
6253
6718
  {
6254
6719
  x: 0.24808175000000077,
6255
6720
  y: 0.055839107412109526
6256
6721
  },
6257
6722
  {
6258
- x: 0.24476236333333407,
6259
- y: 0.05235606531679032
6723
+ x: 0.24559221000000075,
6724
+ y: 0.05325747441586117
6260
6725
  },
6261
6726
  {
6262
- x: 0.24144297666666742,
6263
- y: 0.04854750540728946
6727
+ x: 0.24310267000000074,
6728
+ y: 0.05049222321106202
6729
+ },
6730
+ {
6731
+ x: 0.24061313000000073,
6732
+ y: 0.047545053648972956
6264
6733
  },
6265
6734
  {
6266
6735
  x: 0.23812359000000072,
6267
6736
  y: 0.04441878716802149
6268
6737
  },
6269
6738
  {
6270
- x: 0.23480420333333404,
6271
- y: 0.03997877780505937
6739
+ x: 0.2356340500000007,
6740
+ y: 0.04111734939869574
6741
+ },
6742
+ {
6743
+ x: 0.2331445100000007,
6744
+ y: 0.03764574596072702
6272
6745
  },
6273
6746
  {
6274
- x: 0.23148481666666734,
6275
- y: 0.03523975509516909
6747
+ x: 0.23065497000000068,
6748
+ y: 0.034010031601779636
6276
6749
  },
6277
6750
  {
6278
6751
  x: 0.22816543000000067,
6279
6752
  y: 0.03021727286791814
6280
6753
  },
6281
6754
  {
6282
- x: 0.224846043333334,
6283
- y: 0.024929990594663953
6755
+ x: 0.22567589000000066,
6756
+ y: 0.026275504536001
6284
6757
  },
6285
6758
  {
6286
- x: 0.2215266566666673,
6287
- y: 0.01939946895148089
6759
+ x: 0.22318635000000064,
6760
+ y: 0.022193680076609396
6761
+ },
6762
+ {
6763
+ x: 0.22069681000000063,
6764
+ y: 0.017981616452923805
6288
6765
  },
6289
6766
  {
6290
6767
  x: 0.21820727000000062,
6291
6768
  y: 0.013649933595881474
6292
6769
  },
6293
6770
  {
6294
- x: 0.21488788333333395,
6295
- y: 0.007708009745442907
6771
+ x: 0.2157177300000006,
6772
+ y: 0.00920998892877074
6773
+ },
6774
+ {
6775
+ x: 0.2132281900000006,
6776
+ y: 0.0046738073449396865
6296
6777
  },
6297
6778
  {
6298
- x: 0.21156849666666724,
6299
- y: 0.0016024304663517994
6779
+ x: 0.21073865000000058,
6780
+ y: 5400707033003521e-20
6300
6781
  },
6301
6782
  {
6302
6783
  x: 0.20824911000000057,
6303
6784
  y: -0.004636278132081827
6304
6785
  },
6305
6786
  {
6306
- x: 0.2049297233333339,
6307
- y: -0.010976131347866172
6787
+ x: 0.20575957000000056,
6788
+ y: -0.009383479936300985
6308
6789
  },
6309
6790
  {
6310
- x: 0.2016103366666672,
6311
- y: -0.017384036317415814
6791
+ x: 0.20327003000000055,
6792
+ y: -0.01417367910655569
6793
+ },
6794
+ {
6795
+ x: 0.20078049000000053,
6796
+ y: -0.018992691314014522
6312
6797
  },
6313
6798
  {
6314
6799
  x: 0.19829095000000052,
@@ -6386,27 +6871,33 @@ var inductor_default = {
6386
6871
  circles: {}
6387
6872
  };
6388
6873
 
6389
- // symbols/inductor_horz.ts
6390
- var { paths: paths16, texts: texts17, bounds: bounds16, refblocks: refblocks16, circles: circles14 } = inductor_default;
6391
- var inductor_horz_default = defineSymbol({
6874
+ // symbols/inductor_right.ts
6875
+ var { paths: paths19, texts: texts20, bounds: bounds19, refblocks: refblocks19, circles: circles18 } = inductor_default;
6876
+ var inductor_right_default = defineSymbol({
6392
6877
  primitives: [
6393
- ...Object.values(paths16),
6394
- ...Object.values(circles14),
6395
- { ...texts17.top1, anchor: "middle_bottom" },
6396
- { ...texts17.bottom1, anchor: "middle_top" }
6878
+ ...Object.values(paths19),
6879
+ ...Object.values(circles18),
6880
+ { ...texts20.top1, anchor: "middle_bottom" },
6881
+ { ...texts20.bottom1, anchor: "middle_top" }
6397
6882
  ],
6398
6883
  ports: [
6399
- { ...refblocks16.left1, labels: ["1"] },
6884
+ { ...refblocks19.left1, labels: ["1"] },
6400
6885
  // TODO add more "standard" labels
6401
- { ...refblocks16.right1, labels: ["2"] }
6886
+ { ...refblocks19.right1, labels: ["2"] }
6402
6887
  // TODO add more "standard" labels
6403
6888
  ],
6404
- size: { width: bounds16.width, height: bounds16.height },
6405
- center: { x: bounds16.centerX, y: bounds16.centerY }
6889
+ size: { width: bounds19.width, height: bounds19.height },
6890
+ center: { x: bounds19.centerX, y: bounds19.centerY }
6406
6891
  });
6407
6892
 
6408
- // symbols/inductor_vert.ts
6409
- var inductor_vert_default = rotateSymbol(inductor_horz_default);
6893
+ // symbols/inductor_up.ts
6894
+ var inductor_up_default = rotateSymbol(inductor_right_default, "up");
6895
+
6896
+ // symbols/inductor_down.ts
6897
+ var inductor_down_default = flipSymbolOverXAxis(inductor_up_default);
6898
+
6899
+ // symbols/inductor_left.ts
6900
+ var inductor_left_default = flipSymbolOverYAxis(inductor_right_default);
6410
6901
 
6411
6902
  // assets/generated/laser_diode.json
6412
6903
  var laser_diode_default = {
@@ -6653,8 +7144,8 @@ var laser_diode_horz_default = modifySymbol(laser_diode_default).changeTextAncho
6653
7144
 
6654
7145
  // symbols/laser_diode_vert.ts
6655
7146
  var rotatedSymbol8 = rotateSymbol(laser_diode_horz_default);
6656
- var texts18 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
6657
- var ref5 = texts18.find((t) => t.text === "{VAL}");
7147
+ var texts21 = rotatedSymbol8.primitives.filter((p) => p.type === "text");
7148
+ var ref5 = texts21.find((t) => t.text === "{VAL}");
6658
7149
  ref5.x = -0.52;
6659
7150
  ref5.anchor = "middle_right";
6660
7151
  var laser_diode_vert_default = rotatedSymbol8;
@@ -6875,22 +7366,22 @@ var led_default = {
6875
7366
  };
6876
7367
 
6877
7368
  // symbols/led_right.ts
6878
- var { paths: paths17, texts: texts19, bounds: bounds17, refblocks: refblocks17, circles: circles15 } = led_default;
7369
+ var { paths: paths20, texts: texts22, bounds: bounds20, refblocks: refblocks20, circles: circles19 } = led_default;
6879
7370
  var led_right_default = defineSymbol({
6880
7371
  primitives: [
6881
- ...Object.values(paths17),
6882
- ...Object.values(circles15),
6883
- { ...texts19.bottom1, anchor: "middle_top" },
6884
- { ...texts19.right1, anchor: "middle_bottom" }
7372
+ ...Object.values(paths20),
7373
+ ...Object.values(circles19),
7374
+ { ...texts22.bottom1, anchor: "middle_top" },
7375
+ { ...texts22.right1, anchor: "middle_bottom" }
6885
7376
  ],
6886
7377
  ports: [
6887
- { ...refblocks17.left1, labels: ["1"] },
7378
+ { ...refblocks20.left1, labels: ["1"] },
6888
7379
  // TODO add more "standard" labels
6889
- { ...refblocks17.right1, labels: ["2"] }
7380
+ { ...refblocks20.right1, labels: ["2"] }
6890
7381
  // TODO add more "standard" labels
6891
7382
  ],
6892
- size: { width: bounds17.width, height: bounds17.height },
6893
- center: { x: bounds17.centerX, y: bounds17.centerY }
7383
+ size: { width: bounds20.width, height: bounds20.height },
7384
+ center: { x: bounds20.centerX, y: bounds20.centerY }
6894
7385
  });
6895
7386
 
6896
7387
  // symbols/led_down.ts
@@ -7143,32 +7634,32 @@ var light_dependent_resistor_default = {
7143
7634
  };
7144
7635
 
7145
7636
  // symbols/light_dependent_resistor_horz.ts
7146
- var { paths: paths18, texts: texts20, bounds: bounds18, refblocks: refblocks18, circles: circles16 } = light_dependent_resistor_default;
7637
+ var { paths: paths21, texts: texts23, bounds: bounds21, refblocks: refblocks21, circles: circles20 } = light_dependent_resistor_default;
7147
7638
  var light_dependent_resistor_horz_default = defineSymbol({
7148
7639
  primitives: [
7149
- ...Object.values(paths18),
7150
- ...Object.values(circles16),
7151
- { ...texts20.top1, anchor: "middle_left", x: 0 },
7152
- { ...texts20.bottom1, anchor: "middle_left", x: 0 }
7640
+ ...Object.values(paths21),
7641
+ ...Object.values(circles20),
7642
+ { ...texts23.top1, anchor: "middle_left", x: 0 },
7643
+ { ...texts23.bottom1, anchor: "middle_left", x: 0 }
7153
7644
  ],
7154
7645
  ports: [
7155
- { ...refblocks18.left1, labels: ["1"] },
7646
+ { ...refblocks21.left1, labels: ["1"] },
7156
7647
  // TODO add more "standard" labels
7157
- { ...refblocks18.right1, labels: ["2"] }
7648
+ { ...refblocks21.right1, labels: ["2"] }
7158
7649
  // TODO add more "standard" labels
7159
7650
  ],
7160
- size: { width: bounds18.width, height: bounds18.height },
7161
- center: { x: bounds18.centerX, y: bounds18.centerY }
7651
+ size: { width: bounds21.width, height: bounds21.height },
7652
+ center: { x: bounds21.centerX, y: bounds21.centerY }
7162
7653
  });
7163
7654
 
7164
7655
  // symbols/light_dependent_resistor_vert.ts
7165
7656
  var rotatedSymbol9 = rotateSymbol(light_dependent_resistor_horz_default);
7166
- var texts21 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
7167
- var val5 = texts21.find((t) => t.text === "{VAL}");
7657
+ var texts24 = rotatedSymbol9.primitives.filter((p) => p.type === "text");
7658
+ var val5 = texts24.find((t) => t.text === "{VAL}");
7168
7659
  val5.x = -0.35;
7169
7660
  val5.y = 0;
7170
7661
  val5.anchor = "middle_right";
7171
- var ref6 = texts21.find((t) => t.text === "{REF}");
7662
+ var ref6 = texts24.find((t) => t.text === "{REF}");
7172
7663
  ref6.y = 0;
7173
7664
  ref6.x = 0.35;
7174
7665
  ref6.anchor = "middle_left";
@@ -7445,23 +7936,23 @@ var mosfet_depletion_normally_on_default = {
7445
7936
  };
7446
7937
 
7447
7938
  // symbols/mosfet_depletion_normally_on_horz.ts
7448
- var { paths: paths19, texts: texts22, bounds: bounds19, refblocks: refblocks19 } = mosfet_depletion_normally_on_default;
7939
+ var { paths: paths22, texts: texts25, bounds: bounds22, refblocks: refblocks22 } = mosfet_depletion_normally_on_default;
7449
7940
  var mosfet_depletion_normally_on_horz_default = defineSymbol({
7450
7941
  primitives: [
7451
- ...Object.values(paths19),
7452
- { ...texts22.right1, anchor: "middle_left" },
7453
- { ...texts22.right2, anchor: "middle_left" }
7942
+ ...Object.values(paths22),
7943
+ { ...texts25.right1, anchor: "middle_left" },
7944
+ { ...texts25.right2, anchor: "middle_left" }
7454
7945
  ],
7455
7946
  ports: [
7456
- { ...refblocks19.top1, labels: ["1"] },
7947
+ { ...refblocks22.top1, labels: ["1"] },
7457
7948
  // TODO add more "standard" labels
7458
- { ...refblocks19.bottom1, labels: ["2"] },
7949
+ { ...refblocks22.bottom1, labels: ["2"] },
7459
7950
  // TODO add more "standard" labels
7460
- { ...refblocks19.left1, labels: ["3"] }
7951
+ { ...refblocks22.left1, labels: ["3"] }
7461
7952
  // TODO add more "standard" labels
7462
7953
  ],
7463
- size: { width: bounds19.width + 0.4, height: bounds19.height },
7464
- center: { x: bounds19.centerX + 0.2, y: bounds19.centerY }
7954
+ size: { width: bounds22.width + 0.4, height: bounds22.height },
7955
+ center: { x: bounds22.centerX + 0.2, y: bounds22.centerY }
7465
7956
  });
7466
7957
 
7467
7958
  // symbols/mosfet_depletion_normally_on_vert.ts
@@ -8087,20 +8578,20 @@ var mushroom_head_normally_open_momentary_default = {
8087
8578
  };
8088
8579
 
8089
8580
  // symbols/mushroom_head_normally_open_momentary_horz.ts
8090
- var { paths: paths20, texts: texts23, bounds: bounds20, refblocks: refblocks20, circles: circles17 } = mushroom_head_normally_open_momentary_default;
8581
+ var { paths: paths23, texts: texts26, bounds: bounds23, refblocks: refblocks23, circles: circles21 } = mushroom_head_normally_open_momentary_default;
8091
8582
  var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
8092
8583
  primitives: [
8093
- ...Object.values(paths20),
8094
- ...Object.values(circles17),
8095
- { ...texts23.top1, anchor: "middle_bottom", x: 0 },
8096
- { ...texts23.bottom1, anchor: "middle_top", x: 0 }
8584
+ ...Object.values(paths23),
8585
+ ...Object.values(circles21),
8586
+ { ...texts26.top1, anchor: "middle_bottom", x: 0 },
8587
+ { ...texts26.bottom1, anchor: "middle_top", x: 0 }
8097
8588
  ],
8098
8589
  ports: [
8099
- { ...refblocks20.left1, labels: ["1"] },
8100
- { ...refblocks20.right1, labels: ["2"] }
8590
+ { ...refblocks23.left1, labels: ["1"] },
8591
+ { ...refblocks23.right1, labels: ["2"] }
8101
8592
  ],
8102
- size: { width: bounds20.width, height: bounds20.height },
8103
- center: { x: bounds20.centerX + 6e-3, y: bounds20.centerY + 0.06 }
8593
+ size: { width: bounds23.width, height: bounds23.height },
8594
+ center: { x: bounds23.centerX + 6e-3, y: bounds23.centerY + 0.06 }
8104
8595
  });
8105
8596
 
8106
8597
  // symbols/mushroom_head_normally_open_momentary_vert.ts
@@ -8313,34 +8804,34 @@ var n_channel_d_mosfet_transistor_default = {
8313
8804
  };
8314
8805
 
8315
8806
  // symbols/n_channel_d_mosfet_transistor_horz.ts
8316
- var { paths: paths21, texts: texts24, bounds: bounds21, refblocks: refblocks21, circles: circles18 } = n_channel_d_mosfet_transistor_default;
8807
+ var { paths: paths24, texts: texts27, bounds: bounds24, refblocks: refblocks24, circles: circles22 } = n_channel_d_mosfet_transistor_default;
8317
8808
  var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
8318
8809
  primitives: [
8319
- ...Object.values(paths21),
8320
- ...Object.values(circles18),
8321
- { ...texts24.top1, anchor: "middle_right", x: 0 },
8322
- { ...texts24.bottom1, anchor: "middle_right", x: 0 }
8810
+ ...Object.values(paths24),
8811
+ ...Object.values(circles22),
8812
+ { ...texts27.top1, anchor: "middle_right", x: 0 },
8813
+ { ...texts27.bottom1, anchor: "middle_right", x: 0 }
8323
8814
  ],
8324
8815
  ports: [
8325
- { ...refblocks21.top1, labels: ["1", "drain"] },
8816
+ { ...refblocks24.top1, labels: ["1", "drain"] },
8326
8817
  // TODO add more "standard" labels
8327
- { ...refblocks21.bottom1, labels: ["2", "source"] },
8818
+ { ...refblocks24.bottom1, labels: ["2", "source"] },
8328
8819
  // TODO add more "standard" labels
8329
- { ...refblocks21.left1, labels: ["3", "gate"] }
8820
+ { ...refblocks24.left1, labels: ["3", "gate"] }
8330
8821
  // TODO add more "standard" labels
8331
8822
  ],
8332
- size: { width: bounds21.width, height: bounds21.height },
8333
- center: { x: bounds21.centerX, y: bounds21.centerY }
8823
+ size: { width: bounds24.width, height: bounds24.height },
8824
+ center: { x: bounds24.centerX, y: bounds24.centerY }
8334
8825
  });
8335
8826
 
8336
8827
  // symbols/n_channel_d_mosfet_transistor_vert.ts
8337
8828
  var rotatedSymbol10 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
8338
- var texts25 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
8339
- var val8 = texts25.find((t) => t.text === "{VAL}");
8829
+ var texts28 = rotatedSymbol10.primitives.filter((p) => p.type === "text");
8830
+ var val8 = texts28.find((t) => t.text === "{VAL}");
8340
8831
  val8.x = -0.35;
8341
8832
  val8.y = 0;
8342
8833
  val8.anchor = "middle_right";
8343
- var ref9 = texts25.find((t) => t.text === "{REF}");
8834
+ var ref9 = texts28.find((t) => t.text === "{REF}");
8344
8835
  ref9.y = 0;
8345
8836
  ref9.x = 0.35;
8346
8837
  ref9.anchor = "middle_left";
@@ -8570,34 +9061,34 @@ var n_channel_e_mosfet_transistor_default = {
8570
9061
  };
8571
9062
 
8572
9063
  // symbols/n_channel_e_mosfet_transistor_horz.ts
8573
- var { paths: paths22, texts: texts26, bounds: bounds22, refblocks: refblocks22, circles: circles19 } = n_channel_e_mosfet_transistor_default;
9064
+ var { paths: paths25, texts: texts29, bounds: bounds25, refblocks: refblocks25, circles: circles23 } = n_channel_e_mosfet_transistor_default;
8574
9065
  var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
8575
9066
  primitives: [
8576
- ...Object.values(paths22),
8577
- ...Object.values(circles19),
8578
- { ...texts26.top1, anchor: "middle_right", x: 0 },
8579
- { ...texts26.bottom1, anchor: "middle_right", x: 0 }
9067
+ ...Object.values(paths25),
9068
+ ...Object.values(circles23),
9069
+ { ...texts29.top1, anchor: "middle_right", x: 0 },
9070
+ { ...texts29.bottom1, anchor: "middle_right", x: 0 }
8580
9071
  ],
8581
9072
  ports: [
8582
- { ...refblocks22.top1, labels: ["1", "drain"] },
9073
+ { ...refblocks25.top1, labels: ["1", "drain"] },
8583
9074
  // TODO add more "standard" labels
8584
- { ...refblocks22.bottom1, labels: ["2", "source"] },
9075
+ { ...refblocks25.bottom1, labels: ["2", "source"] },
8585
9076
  // TODO add more "standard" labels
8586
- { ...refblocks22.left1, labels: ["3", "gate"] }
9077
+ { ...refblocks25.left1, labels: ["3", "gate"] }
8587
9078
  // TODO add more "standard" labels
8588
9079
  ],
8589
- size: { width: bounds22.width, height: bounds22.height },
8590
- center: { x: bounds22.centerX, y: bounds22.centerY }
9080
+ size: { width: bounds25.width, height: bounds25.height },
9081
+ center: { x: bounds25.centerX, y: bounds25.centerY }
8591
9082
  });
8592
9083
 
8593
9084
  // symbols/n_channel_e_mosfet_transistor_vert.ts
8594
9085
  var rotatedSymbol11 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
8595
- var texts27 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
8596
- var val9 = texts27.find((t) => t.text === "{VAL}");
9086
+ var texts30 = rotatedSymbol11.primitives.filter((p) => p.type === "text");
9087
+ var val9 = texts30.find((t) => t.text === "{VAL}");
8597
9088
  val9.x = -0.35;
8598
9089
  val9.y = 0;
8599
9090
  val9.anchor = "middle_right";
8600
- var ref10 = texts27.find((t) => t.text === "{REF}");
9091
+ var ref10 = texts30.find((t) => t.text === "{REF}");
8601
9092
  ref10.y = 0;
8602
9093
  ref10.x = 0.35;
8603
9094
  ref10.anchor = "middle_left";
@@ -8767,34 +9258,34 @@ var njfet_transistor_default = {
8767
9258
  };
8768
9259
 
8769
9260
  // symbols/njfet_transistor_horz.ts
8770
- var { paths: paths23, texts: texts28, bounds: bounds23, refblocks: refblocks23, circles: circles20 } = njfet_transistor_default;
9261
+ var { paths: paths26, texts: texts31, bounds: bounds26, refblocks: refblocks26, circles: circles24 } = njfet_transistor_default;
8771
9262
  var njfet_transistor_horz_default = defineSymbol({
8772
9263
  primitives: [
8773
- ...Object.values(paths23),
8774
- ...Object.values(circles20),
8775
- { ...texts28.top1, anchor: "middle_right", x: 0 },
8776
- { ...texts28.bottom1, anchor: "middle_right", x: 0 }
9264
+ ...Object.values(paths26),
9265
+ ...Object.values(circles24),
9266
+ { ...texts31.top1, anchor: "middle_right", x: 0 },
9267
+ { ...texts31.bottom1, anchor: "middle_right", x: 0 }
8777
9268
  ],
8778
9269
  ports: [
8779
- { ...refblocks23.top1, labels: ["1", "drain"] },
9270
+ { ...refblocks26.top1, labels: ["1", "drain"] },
8780
9271
  // TODO add more "standard" labels
8781
- { ...refblocks23.bottom1, labels: ["2", "source"] },
9272
+ { ...refblocks26.bottom1, labels: ["2", "source"] },
8782
9273
  // TODO add more "standard" labels
8783
- { ...refblocks23.left1, labels: ["3", "gate"] }
9274
+ { ...refblocks26.left1, labels: ["3", "gate"] }
8784
9275
  // TODO add more "standard" labels
8785
9276
  ],
8786
- size: { width: bounds23.width, height: bounds23.height },
8787
- center: { x: bounds23.centerX, y: bounds23.centerY }
9277
+ size: { width: bounds26.width, height: bounds26.height },
9278
+ center: { x: bounds26.centerX, y: bounds26.centerY }
8788
9279
  });
8789
9280
 
8790
9281
  // symbols/njfet_transistor_vert.ts
8791
9282
  var rotatedSymbol12 = rotateSymbol(njfet_transistor_horz_default);
8792
- var texts29 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
8793
- var val10 = texts29.find((t) => t.text === "{VAL}");
9283
+ var texts32 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
9284
+ var val10 = texts32.find((t) => t.text === "{VAL}");
8794
9285
  val10.x = -0.35;
8795
9286
  val10.y = 0;
8796
9287
  val10.anchor = "middle_right";
8797
- var ref11 = texts29.find((t) => t.text === "{REF}");
9288
+ var ref11 = texts32.find((t) => t.text === "{REF}");
8798
9289
  ref11.y = 0;
8799
9290
  ref11.x = 0.35;
8800
9291
  ref11.anchor = "middle_left";
@@ -8964,13 +9455,13 @@ var npn_bipolar_transistor_default = {
8964
9455
  };
8965
9456
 
8966
9457
  // symbols/npn_bipolar_transistor_horz.ts
8967
- var { paths: paths24, texts: texts30, bounds: bounds24, refblocks: refblocks24, circles: circles21 } = npn_bipolar_transistor_default;
9458
+ var { paths: paths27, texts: texts33, bounds: bounds27, refblocks: refblocks27, circles: circles25 } = npn_bipolar_transistor_default;
8968
9459
  var npn_bipolar_transistor_horz_default = modifySymbol(npn_bipolar_transistor_default).changeTextAnchor("{VAL}", "middle_right").labelPort("left1", ["3"]).labelPort("top1", ["2"]).labelPort("bottom1", ["1"]).changeTextAnchor("{REF}", "middle_right").build();
8969
9460
 
8970
9461
  // symbols/npn_bipolar_transistor_vert.ts
8971
9462
  var rotatedSymbol13 = rotateSymbol(npn_bipolar_transistor_horz_default);
8972
- var texts31 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
8973
- var ref12 = texts31.find((t) => t.text === "{REF}");
9463
+ var texts34 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
9464
+ var ref12 = texts34.find((t) => t.text === "{REF}");
8974
9465
  ref12.anchor = "middle_left";
8975
9466
  var npn_bipolar_transistor_vert_default = modifySymbol(npn_bipolar_transistor_default).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}", "middle_right").labelPort("left1", ["3"]).labelPort("top1", ["2"]).labelPort("bottom1", ["1"]).changeTextAnchor("{REF}", "middle_left").build();
8976
9467
 
@@ -9168,34 +9659,34 @@ var p_channel_d_mosfet_transistor_default = {
9168
9659
  };
9169
9660
 
9170
9661
  // symbols/p_channel_d_mosfet_transistor_horz.ts
9171
- var { paths: paths25, texts: texts32, bounds: bounds25, refblocks: refblocks25, circles: circles22 } = p_channel_d_mosfet_transistor_default;
9662
+ var { paths: paths28, texts: texts35, bounds: bounds28, refblocks: refblocks28, circles: circles26 } = p_channel_d_mosfet_transistor_default;
9172
9663
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
9173
9664
  primitives: [
9174
- ...Object.values(paths25),
9175
- ...Object.values(circles22),
9176
- { ...texts32.top1, anchor: "middle_right", x: 0 },
9177
- { ...texts32.bottom1, anchor: "middle_right", x: 0 }
9665
+ ...Object.values(paths28),
9666
+ ...Object.values(circles26),
9667
+ { ...texts35.top1, anchor: "middle_right", x: 0 },
9668
+ { ...texts35.bottom1, anchor: "middle_right", x: 0 }
9178
9669
  ],
9179
9670
  ports: [
9180
- { ...refblocks25.top1, labels: ["1", "drain"] },
9671
+ { ...refblocks28.top1, labels: ["1", "drain"] },
9181
9672
  // TODO add more "standard" labels
9182
- { ...refblocks25.bottom1, labels: ["2", "source"] },
9673
+ { ...refblocks28.bottom1, labels: ["2", "source"] },
9183
9674
  // TODO add more "standard" labels
9184
- { ...refblocks25.left1, labels: ["3", "gate"] }
9675
+ { ...refblocks28.left1, labels: ["3", "gate"] }
9185
9676
  // TODO add more "standard" labels
9186
9677
  ],
9187
- size: { width: bounds25.width, height: bounds25.height },
9188
- center: { x: bounds25.centerX, y: bounds25.centerY }
9678
+ size: { width: bounds28.width, height: bounds28.height },
9679
+ center: { x: bounds28.centerX, y: bounds28.centerY }
9189
9680
  });
9190
9681
 
9191
9682
  // symbols/p_channel_d_mosfet_transistor_vert.ts
9192
9683
  var rotatedSymbol14 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
9193
- var texts33 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
9194
- var val11 = texts33.find((t) => t.text === "{VAL}");
9684
+ var texts36 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
9685
+ var val11 = texts36.find((t) => t.text === "{VAL}");
9195
9686
  val11.x = -0.35;
9196
9687
  val11.y = 0;
9197
9688
  val11.anchor = "middle_right";
9198
- var ref13 = texts33.find((t) => t.text === "{REF}");
9689
+ var ref13 = texts36.find((t) => t.text === "{REF}");
9199
9690
  ref13.y = 0;
9200
9691
  ref13.x = 0.35;
9201
9692
  ref13.anchor = "middle_left";
@@ -9425,34 +9916,34 @@ var p_channel_e_mosfet_transistor_default = {
9425
9916
  };
9426
9917
 
9427
9918
  // symbols/p_channel_e_mosfet_transistor_horz.ts
9428
- var { paths: paths26, texts: texts34, bounds: bounds26, refblocks: refblocks26, circles: circles23 } = p_channel_e_mosfet_transistor_default;
9919
+ var { paths: paths29, texts: texts37, bounds: bounds29, refblocks: refblocks29, circles: circles27 } = p_channel_e_mosfet_transistor_default;
9429
9920
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
9430
9921
  primitives: [
9431
- ...Object.values(paths26),
9432
- ...Object.values(circles23),
9433
- { ...texts34.top1, anchor: "middle_right", x: 0 },
9434
- { ...texts34.bottom1, anchor: "middle_right", x: 0 }
9922
+ ...Object.values(paths29),
9923
+ ...Object.values(circles27),
9924
+ { ...texts37.top1, anchor: "middle_right", x: 0 },
9925
+ { ...texts37.bottom1, anchor: "middle_right", x: 0 }
9435
9926
  ],
9436
9927
  ports: [
9437
- { ...refblocks26.top1, labels: ["1", "drain"] },
9928
+ { ...refblocks29.top1, labels: ["1", "drain"] },
9438
9929
  // TODO add more "standard" labels
9439
- { ...refblocks26.bottom1, labels: ["2", "source"] },
9930
+ { ...refblocks29.bottom1, labels: ["2", "source"] },
9440
9931
  // TODO add more "standard" labels
9441
- { ...refblocks26.left1, labels: ["3", "gate"] }
9932
+ { ...refblocks29.left1, labels: ["3", "gate"] }
9442
9933
  // TODO add more "standard" labels
9443
9934
  ],
9444
- size: { width: bounds26.width, height: bounds26.height },
9445
- center: { x: bounds26.centerX, y: bounds26.centerY }
9935
+ size: { width: bounds29.width, height: bounds29.height },
9936
+ center: { x: bounds29.centerX, y: bounds29.centerY }
9446
9937
  });
9447
9938
 
9448
9939
  // symbols/p_channel_e_mosfet_transistor_vert.ts
9449
9940
  var rotatedSymbol15 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
9450
- var texts35 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
9451
- var val12 = texts35.find((t) => t.text === "{VAL}");
9941
+ var texts38 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
9942
+ var val12 = texts38.find((t) => t.text === "{VAL}");
9452
9943
  val12.x = -0.35;
9453
9944
  val12.y = 0;
9454
9945
  val12.anchor = "middle_right";
9455
- var ref14 = texts35.find((t) => t.text === "{REF}");
9946
+ var ref14 = texts38.find((t) => t.text === "{REF}");
9456
9947
  ref14.y = 0;
9457
9948
  ref14.x = 0.35;
9458
9949
  ref14.anchor = "middle_left";
@@ -9687,8 +10178,8 @@ var photodiode_horz_default = modifySymbol(photodiode_default).changeTextAnchor(
9687
10178
 
9688
10179
  // symbols/photodiode_vert.ts
9689
10180
  var rotatedSymbol16 = rotateSymbol(photodiode_horz_default);
9690
- var texts36 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
9691
- var ref15 = texts36.find((t) => t.text === "{REF}");
10181
+ var texts39 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
10182
+ var ref15 = texts39.find((t) => t.text === "{REF}");
9692
10183
  ref15.y = 0;
9693
10184
  ref15.anchor = "middle_left";
9694
10185
  var photodiode_vert_default = rotatedSymbol16;
@@ -9857,34 +10348,34 @@ var pjfet_transistor_default = {
9857
10348
  };
9858
10349
 
9859
10350
  // symbols/pjfet_transistor_horz.ts
9860
- var { paths: paths27, texts: texts37, bounds: bounds27, refblocks: refblocks27, circles: circles24 } = pjfet_transistor_default;
10351
+ var { paths: paths30, texts: texts40, bounds: bounds30, refblocks: refblocks30, circles: circles28 } = pjfet_transistor_default;
9861
10352
  var pjfet_transistor_horz_default = defineSymbol({
9862
10353
  primitives: [
9863
- ...Object.values(paths27),
9864
- ...Object.values(circles24),
9865
- { ...texts37.top1, anchor: "middle_right", x: 0 },
9866
- { ...texts37.bottom1, anchor: "middle_right" }
10354
+ ...Object.values(paths30),
10355
+ ...Object.values(circles28),
10356
+ { ...texts40.top1, anchor: "middle_right", x: 0 },
10357
+ { ...texts40.bottom1, anchor: "middle_right" }
9867
10358
  ],
9868
10359
  ports: [
9869
- { ...refblocks27.top1, labels: ["1", "drain"] },
10360
+ { ...refblocks30.top1, labels: ["1", "drain"] },
9870
10361
  // TODO add more "standard" labels
9871
- { ...refblocks27.bottom1, labels: ["2", "source"] },
10362
+ { ...refblocks30.bottom1, labels: ["2", "source"] },
9872
10363
  // TODO add more "standard" labels
9873
- { ...refblocks27.left1, labels: ["3", "gate"] }
10364
+ { ...refblocks30.left1, labels: ["3", "gate"] }
9874
10365
  // TODO add more "standard" labels
9875
10366
  ],
9876
- size: { width: bounds27.width, height: bounds27.height },
9877
- center: { x: bounds27.centerX, y: bounds27.centerY }
10367
+ size: { width: bounds30.width, height: bounds30.height },
10368
+ center: { x: bounds30.centerX, y: bounds30.centerY }
9878
10369
  });
9879
10370
 
9880
10371
  // symbols/pjfet_transistor_vert.ts
9881
10372
  var rotatedSymbol17 = rotateSymbol(pjfet_transistor_horz_default);
9882
- var texts38 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
9883
- var val13 = texts38.find((t) => t.text === "{VAL}");
10373
+ var texts41 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
10374
+ var val13 = texts41.find((t) => t.text === "{VAL}");
9884
10375
  val13.x = -0.35;
9885
10376
  val13.y = 0;
9886
10377
  val13.anchor = "middle_right";
9887
- var ref16 = texts38.find((t) => t.text === "{REF}");
10378
+ var ref16 = texts41.find((t) => t.text === "{REF}");
9888
10379
  ref16.y = 0;
9889
10380
  ref16.x = 0.35;
9890
10381
  ref16.anchor = "middle_left";
@@ -10058,8 +10549,8 @@ var pnp_bipolar_transistor_horz_default = modifySymbol(pnp_bipolar_transistor_de
10058
10549
 
10059
10550
  // symbols/pnp_bipolar_transistor_vert.ts
10060
10551
  var rotatedSymbol18 = rotateSymbol(pnp_bipolar_transistor_horz_default);
10061
- var texts39 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
10062
- var ref17 = texts39.find((t) => t.text === "{REF}");
10552
+ var texts42 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
10553
+ var ref17 = texts42.find((t) => t.text === "{REF}");
10063
10554
  ref17.anchor = "middle_left";
10064
10555
  var pnp_bipolar_transistor_vert_default = modifySymbol(pnp_bipolar_transistor_default).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}", "middle_right").labelPort("left1", ["3"]).labelPort("bottom1", ["2"]).labelPort("top1", ["1"]).changeTextAnchor("{REF}", "middle_left").build();
10065
10556
 
@@ -10473,21 +10964,21 @@ var potentiometer_default = {
10473
10964
  };
10474
10965
 
10475
10966
  // symbols/potentiometer_horz.ts
10476
- var { paths: paths28, texts: texts40, bounds: bounds28, refblocks: refblocks28 } = potentiometer_default;
10967
+ var { paths: paths31, texts: texts43, bounds: bounds31, refblocks: refblocks31 } = potentiometer_default;
10477
10968
  var potentiometer_horz_default = defineSymbol({
10478
10969
  primitives: [
10479
- ...Object.values(paths28),
10480
- { ...texts40.bottom1, y: 0.35, anchor: "middle_top" },
10481
- { ...texts40.top1, anchor: "middle_left" }
10970
+ ...Object.values(paths31),
10971
+ { ...texts43.bottom1, y: 0.35, anchor: "middle_top" },
10972
+ { ...texts43.top1, anchor: "middle_left" }
10482
10973
  ],
10483
10974
  ports: [
10484
- { ...refblocks28.left1, labels: ["1"] },
10975
+ { ...refblocks31.left1, labels: ["1"] },
10485
10976
  // TODO add more "standard" labels
10486
- { ...refblocks28.right1, labels: ["2"] }
10977
+ { ...refblocks31.right1, labels: ["2"] }
10487
10978
  // TODO add more "standard" labels
10488
10979
  ],
10489
- size: { width: bounds28.width + 0.05, height: bounds28.height },
10490
- center: { x: bounds28.centerX, y: bounds28.centerY }
10980
+ size: { width: bounds31.width + 0.05, height: bounds31.height },
10981
+ center: { x: bounds31.centerX, y: bounds31.centerY }
10491
10982
  });
10492
10983
 
10493
10984
  // symbols/potentiometer_vert.ts
@@ -10650,29 +11141,29 @@ var potentiometer2_default = {
10650
11141
  };
10651
11142
 
10652
11143
  // symbols/potentiometer2_horz.ts
10653
- var { paths: paths29, texts: texts41, bounds: bounds29, refblocks: refblocks29 } = potentiometer2_default;
11144
+ var { paths: paths32, texts: texts44, bounds: bounds32, refblocks: refblocks32 } = potentiometer2_default;
10654
11145
  var potentiometer2_horz_default = defineSymbol({
10655
11146
  primitives: [
10656
- ...Object.values(paths29),
10657
- { ...texts41.bottom1, anchor: "middle_top" },
10658
- { ...texts41.top1, anchor: "middle_bottom" }
11147
+ ...Object.values(paths32),
11148
+ { ...texts44.bottom1, anchor: "middle_top" },
11149
+ { ...texts44.top1, anchor: "middle_bottom" }
10659
11150
  ],
10660
11151
  ports: [
10661
- { ...refblocks29.left1, labels: ["1"] },
11152
+ { ...refblocks32.left1, labels: ["1"] },
10662
11153
  // TODO add more "standard" labels
10663
- { ...refblocks29.right1, labels: ["2"] }
11154
+ { ...refblocks32.right1, labels: ["2"] }
10664
11155
  // TODO add more "standard" labels
10665
11156
  ],
10666
- size: { width: bounds29.width, height: bounds29.height },
10667
- center: { x: bounds29.centerX, y: bounds29.centerY }
11157
+ size: { width: bounds32.width, height: bounds32.height },
11158
+ center: { x: bounds32.centerX, y: bounds32.centerY }
10668
11159
  });
10669
11160
 
10670
11161
  // symbols/potentiometer2_vert.ts
10671
11162
  var rotated6 = rotateSymbol(potentiometer2_horz_default);
10672
- var texts42 = rotated6.primitives.filter((p) => p.type === "text");
10673
- var val14 = texts42.find((t) => t.text === "{VAL}");
11163
+ var texts45 = rotated6.primitives.filter((p) => p.type === "text");
11164
+ var val14 = texts45.find((t) => t.text === "{VAL}");
10674
11165
  val14.anchor = "middle_right";
10675
- var ref18 = texts42.find((t) => t.text === "{REF}");
11166
+ var ref18 = texts45.find((t) => t.text === "{REF}");
10676
11167
  ref18.anchor = "middle_left";
10677
11168
  var potentiometer2_vert_default = rotated6;
10678
11169
 
@@ -10763,11 +11254,11 @@ var power_factor_meter_default = {
10763
11254
  };
10764
11255
 
10765
11256
  // symbols/power_factor_meter_horz.ts
10766
- var { paths: paths30, texts: texts43, bounds: bounds30, refblocks: refblocks30, circles: circles25 } = power_factor_meter_default;
11257
+ var { paths: paths33, texts: texts46, bounds: bounds33, refblocks: refblocks33, circles: circles29 } = power_factor_meter_default;
10767
11258
  var power_factor_meter_horz_default = defineSymbol({
10768
11259
  primitives: [
10769
- ...Object.values(paths30),
10770
- ...Object.values(circles25),
11260
+ ...Object.values(paths33),
11261
+ ...Object.values(circles29),
10771
11262
  // { ...texts.top1, anchor: "middle_left" },
10772
11263
  {
10773
11264
  type: "text",
@@ -10794,21 +11285,21 @@ var power_factor_meter_horz_default = defineSymbol({
10794
11285
  }
10795
11286
  ],
10796
11287
  ports: [
10797
- { ...refblocks30.left1, labels: ["1"] },
11288
+ { ...refblocks33.left1, labels: ["1"] },
10798
11289
  // TODO add more "standard" labels
10799
- { ...refblocks30.right1, labels: ["2"] }
11290
+ { ...refblocks33.right1, labels: ["2"] }
10800
11291
  // TODO add more "standard" labels
10801
11292
  ],
10802
- size: { width: bounds30.width, height: bounds30.height },
10803
- center: { x: bounds30.centerX, y: bounds30.centerY }
11293
+ size: { width: bounds33.width, height: bounds33.height },
11294
+ center: { x: bounds33.centerX, y: bounds33.centerY }
10804
11295
  });
10805
11296
 
10806
11297
  // symbols/power_factor_meter_vert.ts
10807
11298
  var rotatedSymbol19 = rotateSymbol(power_factor_meter_horz_default);
10808
- var texts44 = rotatedSymbol19.primitives.filter((p) => p.type === "text");
10809
- var ref19 = texts44.find((t) => t.text === "{REF}");
10810
- var val15 = texts44.find((t) => t.text === "{VAL}");
10811
- var text_cos = texts44.find((t) => t.text === "COS \u03C6");
11299
+ var texts47 = rotatedSymbol19.primitives.filter((p) => p.type === "text");
11300
+ var ref19 = texts47.find((t) => t.text === "{REF}");
11301
+ var val15 = texts47.find((t) => t.text === "{VAL}");
11302
+ var text_cos = texts47.find((t) => t.text === "COS \u03C6");
10812
11303
  ref19.x = 0.35;
10813
11304
  ref19.y = 0;
10814
11305
  ref19.anchor = "middle_left";
@@ -10939,22 +11430,22 @@ var push_button_normally_closed_momentary_default = {
10939
11430
  };
10940
11431
 
10941
11432
  // symbols/push_button_normally_closed_momentary_horz.ts
10942
- var { paths: paths31, texts: texts45, bounds: bounds31, refblocks: refblocks31, circles: circles26 } = push_button_normally_closed_momentary_default;
11433
+ var { paths: paths34, texts: texts48, bounds: bounds34, refblocks: refblocks34, circles: circles30 } = push_button_normally_closed_momentary_default;
10943
11434
  var push_button_normally_closed_momentary_horz_default = defineSymbol({
10944
11435
  primitives: [
10945
- ...Object.values(paths31),
10946
- ...Object.values(circles26),
10947
- { ...texts45.top1, anchor: "middle_left" },
10948
- { ...texts45.bottom1, anchor: "middle_left" }
11436
+ ...Object.values(paths34),
11437
+ ...Object.values(circles30),
11438
+ { ...texts48.top1, anchor: "middle_left" },
11439
+ { ...texts48.bottom1, anchor: "middle_left" }
10949
11440
  ],
10950
11441
  ports: [
10951
- { ...refblocks31.left1, labels: ["1"] },
11442
+ { ...refblocks34.left1, labels: ["1"] },
10952
11443
  // TODO add more "standard" labels
10953
- { ...refblocks31.right1, labels: ["2"] }
11444
+ { ...refblocks34.right1, labels: ["2"] }
10954
11445
  // TODO add more "standard" labels
10955
11446
  ],
10956
- size: { width: bounds31.width, height: bounds31.height },
10957
- center: { x: bounds31.centerX, y: bounds31.centerY }
11447
+ size: { width: bounds34.width, height: bounds34.height },
11448
+ center: { x: bounds34.centerX, y: bounds34.centerY }
10958
11449
  });
10959
11450
 
10960
11451
  // symbols/push_button_normally_closed_momentary_vert.ts
@@ -11079,22 +11570,22 @@ var push_button_normally_open_momentary_default = {
11079
11570
  };
11080
11571
 
11081
11572
  // symbols/push_button_normally_open_momentary_horz.ts
11082
- var { paths: paths32, texts: texts46, bounds: bounds32, refblocks: refblocks32, circles: circles27 } = push_button_normally_open_momentary_default;
11573
+ var { paths: paths35, texts: texts49, bounds: bounds35, refblocks: refblocks35, circles: circles31 } = push_button_normally_open_momentary_default;
11083
11574
  var push_button_normally_open_momentary_horz_default = defineSymbol({
11084
11575
  primitives: [
11085
- ...Object.values(paths32),
11086
- ...Object.values(circles27),
11087
- { ...texts46.top1, anchor: "middle_left" },
11088
- { ...texts46.bottom1, anchor: "middle_left" }
11576
+ ...Object.values(paths35),
11577
+ ...Object.values(circles31),
11578
+ { ...texts49.top1, anchor: "middle_left" },
11579
+ { ...texts49.bottom1, anchor: "middle_left" }
11089
11580
  ],
11090
11581
  ports: [
11091
- { ...refblocks32.left1, labels: ["1"] },
11582
+ { ...refblocks35.left1, labels: ["1"] },
11092
11583
  // TODO add more "standard" labels
11093
- { ...refblocks32.right1, labels: ["2"] }
11584
+ { ...refblocks35.right1, labels: ["2"] }
11094
11585
  // TODO add more "standard" labels
11095
11586
  ],
11096
- size: { width: bounds32.width, height: bounds32.height },
11097
- center: { x: bounds32.centerX, y: bounds32.centerY }
11587
+ size: { width: bounds35.width, height: bounds35.height },
11588
+ center: { x: bounds35.centerX, y: bounds35.centerY }
11098
11589
  });
11099
11590
 
11100
11591
  // symbols/push_button_normally_open_momentary_vert.ts
@@ -11510,26 +12001,26 @@ var rectifier_diode_default = {
11510
12001
  };
11511
12002
 
11512
12003
  // symbols/rectifier_diode_horz.ts
11513
- var { paths: paths33, texts: texts47, bounds: bounds33, refblocks: refblocks33, circles: circles28 } = rectifier_diode_default;
12004
+ var { paths: paths36, texts: texts50, bounds: bounds36, refblocks: refblocks36, circles: circles32 } = rectifier_diode_default;
11514
12005
  var rectifier_diode_horz_default = defineSymbol({
11515
12006
  primitives: [
11516
- ...Object.values(paths33),
11517
- ...Object.values(circles28),
11518
- { ...texts47.top1, anchor: "middle_right" },
11519
- { ...texts47.bottom1, anchor: "middle_right" }
12007
+ ...Object.values(paths36),
12008
+ ...Object.values(circles32),
12009
+ { ...texts50.top1, anchor: "middle_right" },
12010
+ { ...texts50.bottom1, anchor: "middle_right" }
11520
12011
  ],
11521
12012
  ports: [
11522
- { ...refblocks33.top1, labels: ["1"] },
12013
+ { ...refblocks36.top1, labels: ["1"] },
11523
12014
  // TODO add more "standard" labels
11524
- { ...refblocks33.bottom1, labels: ["2"] },
12015
+ { ...refblocks36.bottom1, labels: ["2"] },
11525
12016
  // TODO add more "standard" labels
11526
- { ...refblocks33.left1, labels: ["3"] },
12017
+ { ...refblocks36.left1, labels: ["3"] },
11527
12018
  // TODO add more "standard" labels
11528
- { ...refblocks33.right1, labels: ["4"] }
12019
+ { ...refblocks36.right1, labels: ["4"] }
11529
12020
  // TODO add more "standard" labels
11530
12021
  ],
11531
- size: { width: bounds33.width, height: bounds33.height },
11532
- center: { x: bounds33.centerX, y: bounds33.centerY }
12022
+ size: { width: bounds36.width, height: bounds36.height },
12023
+ center: { x: bounds36.centerX, y: bounds36.centerY }
11533
12024
  });
11534
12025
 
11535
12026
  // symbols/rectifier_diode_vert.ts
@@ -11890,11 +12381,11 @@ var resonator_default = {
11890
12381
  };
11891
12382
 
11892
12383
  // symbols/resonator_horz.ts
11893
- var { paths: paths34, texts: texts48, bounds: bounds34, refblocks: refblocks34, circles: circles29 } = resonator_default;
12384
+ var { paths: paths37, texts: texts51, bounds: bounds37, refblocks: refblocks37, circles: circles33 } = resonator_default;
11894
12385
  var resonator_horz_default = defineSymbol({
11895
12386
  primitives: [
11896
- ...Object.values(paths34),
11897
- ...Object.values(circles29),
12387
+ ...Object.values(paths37),
12388
+ ...Object.values(circles33),
11898
12389
  // { ...texts.top1, anchor: "middle_left" },
11899
12390
  // { ...texts.bottom1, anchor: "middle_left" },
11900
12391
  {
@@ -11913,15 +12404,15 @@ var resonator_horz_default = defineSymbol({
11913
12404
  }
11914
12405
  ],
11915
12406
  ports: [
11916
- { ...refblocks34.left1, labels: ["1"] },
12407
+ { ...refblocks37.left1, labels: ["1"] },
11917
12408
  // TODO add more "standard" labels
11918
- { ...refblocks34.right1, labels: ["2"] },
12409
+ { ...refblocks37.right1, labels: ["2"] },
11919
12410
  // TODO add more "standard" labels
11920
- { ...refblocks34.right2, labels: ["3"] }
12411
+ { ...refblocks37.right2, labels: ["3"] }
11921
12412
  // TODO add more "standard" labels
11922
12413
  ],
11923
- size: { width: bounds34.width, height: bounds34.height },
11924
- center: { x: bounds34.centerX, y: bounds34.centerY }
12414
+ size: { width: bounds37.width, height: bounds37.height },
12415
+ center: { x: bounds37.centerX, y: bounds37.centerY }
11925
12416
  });
11926
12417
 
11927
12418
  // symbols/resonator_vert.ts
@@ -12277,15 +12768,15 @@ var silicon_controlled_rectifier_default = {
12277
12768
  };
12278
12769
 
12279
12770
  // symbols/silicon_controlled_rectifier_horz.ts
12280
- var { paths: paths35, texts: texts49, bounds: bounds35, refblocks: refblocks35, circles: circles30 } = silicon_controlled_rectifier_default;
12771
+ var { paths: paths38, texts: texts52, bounds: bounds38, refblocks: refblocks38, circles: circles34 } = silicon_controlled_rectifier_default;
12281
12772
  var silicon_controlled_rectifier_horz_default = modifySymbol(silicon_controlled_rectifier_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).labelPort("bottom1", ["3"]).changeTextAnchor("{REF}", "middle_bottom").build();
12282
12773
 
12283
12774
  // symbols/silicon_controlled_rectifier_vert.ts
12284
12775
  var rotatedSymbol20 = rotateSymbol(silicon_controlled_rectifier_horz_default);
12285
- var texts50 = rotatedSymbol20.primitives.filter(
12776
+ var texts53 = rotatedSymbol20.primitives.filter(
12286
12777
  (primitive) => primitive.type === "text"
12287
12778
  );
12288
- var ref22 = texts50.find((text) => text.text === "{REF}");
12779
+ var ref22 = texts53.find((text) => text.text === "{REF}");
12289
12780
  ref22.y = 0;
12290
12781
  ref22.anchor = "middle_left";
12291
12782
  var silicon_controlled_rectifier_vert_default = rotatedSymbol20;
@@ -12409,34 +12900,34 @@ var SPDT_switch_default = {
12409
12900
 
12410
12901
  // symbols/SPDT_switch_horz.ts
12411
12902
  SPDT_switch_default.bounds.width += 0.2;
12412
- var { paths: paths36, texts: texts51, bounds: bounds36, refblocks: refblocks36, circles: circles31 } = SPDT_switch_default;
12903
+ var { paths: paths39, texts: texts54, bounds: bounds39, refblocks: refblocks39, circles: circles35 } = SPDT_switch_default;
12413
12904
  var SPDT_switch_horz_default = defineSymbol({
12414
12905
  primitives: [
12415
- ...Object.values(paths36),
12416
- ...Object.values(circles31),
12417
- { ...texts51.top1, anchor: "middle_bottom", x: -0.01 },
12418
- { ...texts51.bottom1, anchor: "middle_top", x: -0.01 }
12906
+ ...Object.values(paths39),
12907
+ ...Object.values(circles35),
12908
+ { ...texts54.top1, anchor: "middle_bottom", x: -0.01 },
12909
+ { ...texts54.bottom1, anchor: "middle_top", x: -0.01 }
12419
12910
  ],
12420
12911
  ports: [
12421
- { ...refblocks36.left1, labels: ["1"] },
12912
+ { ...refblocks39.left1, labels: ["1"] },
12422
12913
  // TODO add more "standard" labels
12423
- { ...refblocks36.right1, labels: ["3"] },
12914
+ { ...refblocks39.right1, labels: ["3"] },
12424
12915
  // TODO add more "standard" labels
12425
- { ...refblocks36.right2, labels: ["2"] }
12916
+ { ...refblocks39.right2, labels: ["2"] }
12426
12917
  // TODO add more "standard" labels
12427
12918
  ],
12428
- size: { width: bounds36.width, height: bounds36.height },
12429
- center: { x: bounds36.centerX, y: bounds36.centerY }
12919
+ size: { width: bounds39.width, height: bounds39.height },
12920
+ center: { x: bounds39.centerX, y: bounds39.centerY }
12430
12921
  });
12431
12922
 
12432
12923
  // symbols/SPDT_switch_vert.ts
12433
12924
  var rotatedSymbol21 = rotateSymbol(SPDT_switch_horz_default);
12434
- var texts52 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
12435
- var val18 = texts52.find((t) => t.text === "{VAL}");
12925
+ var texts55 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
12926
+ var val18 = texts55.find((t) => t.text === "{VAL}");
12436
12927
  val18.anchor = "middle_right";
12437
12928
  val18.x = -0.3;
12438
12929
  val18.y = 0;
12439
- var ref23 = texts52.find((t) => t.text === "{REF}");
12930
+ var ref23 = texts55.find((t) => t.text === "{REF}");
12440
12931
  ref23.anchor = "middle_left";
12441
12932
  ref23.x = 0.3;
12442
12933
  ref23.y = 0;
@@ -12544,12 +13035,12 @@ var SPST_switch_horz_default = modifySymbol(SPST_switch_default).changeTextAncho
12544
13035
 
12545
13036
  // symbols/SPST_switch_vert.ts
12546
13037
  var rotatedSymbol22 = rotateSymbol(SPST_switch_horz_default);
12547
- var texts53 = rotatedSymbol22.primitives.filter((p) => p.type === "text");
12548
- var val19 = texts53.find((t) => t.text === "{VAL}");
13038
+ var texts56 = rotatedSymbol22.primitives.filter((p) => p.type === "text");
13039
+ var val19 = texts56.find((t) => t.text === "{VAL}");
12549
13040
  val19.anchor = "middle_right";
12550
13041
  val19.x = -0.3;
12551
13042
  val19.y = 0;
12552
- var ref24 = texts53.find((t) => t.text === "{REF}");
13043
+ var ref24 = texts56.find((t) => t.text === "{REF}");
12553
13044
  ref24.anchor = "middle_left";
12554
13045
  ref24.x = 0.3;
12555
13046
  ref24.y = 0;
@@ -12717,7 +13208,7 @@ var step_recovery_diode_default = {
12717
13208
  };
12718
13209
 
12719
13210
  // symbols/step_recovery_diode_horz.ts
12720
- var { paths: paths37, texts: texts54, bounds: bounds37, refblocks: refblocks37, circles: circles32 } = step_recovery_diode_default;
13211
+ var { paths: paths40, texts: texts57, bounds: bounds40, refblocks: refblocks40, circles: circles36 } = step_recovery_diode_default;
12721
13212
  var step_recovery_diode_horz_default = modifySymbol(step_recovery_diode_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
12722
13213
 
12723
13214
  // symbols/step_recovery_diode_vert.ts
@@ -12810,11 +13301,11 @@ var tachometer_default = {
12810
13301
  };
12811
13302
 
12812
13303
  // symbols/tachometer_horz.ts
12813
- var { paths: paths38, texts: texts55, bounds: bounds38, refblocks: refblocks38, circles: circles33 } = tachometer_default;
13304
+ var { paths: paths41, texts: texts58, bounds: bounds41, refblocks: refblocks41, circles: circles37 } = tachometer_default;
12814
13305
  var tachometer_horz_default = defineSymbol({
12815
13306
  primitives: [
12816
- ...Object.values(paths38),
12817
- ...Object.values(circles33),
13307
+ ...Object.values(paths41),
13308
+ ...Object.values(circles37),
12818
13309
  {
12819
13310
  type: "text",
12820
13311
  text: "{REF}",
@@ -12829,16 +13320,16 @@ var tachometer_horz_default = defineSymbol({
12829
13320
  y: 0.35,
12830
13321
  anchor: "middle_bottom"
12831
13322
  },
12832
- { ...texts55.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
13323
+ { ...texts58.left1, y: 0.01, anchor: "center", fontSize: 0.2 }
12833
13324
  ],
12834
13325
  ports: [
12835
- { ...refblocks38.left1, labels: ["1"] },
13326
+ { ...refblocks41.left1, labels: ["1"] },
12836
13327
  // TODO add more "standard" labels
12837
- { ...refblocks38.right1, labels: ["2"] }
13328
+ { ...refblocks41.right1, labels: ["2"] }
12838
13329
  // TODO add more "standard" labels
12839
13330
  ],
12840
- size: { width: bounds38.width, height: bounds38.height },
12841
- center: { x: bounds38.centerX, y: bounds38.centerY }
13331
+ size: { width: bounds41.width, height: bounds41.height },
13332
+ center: { x: bounds41.centerX, y: bounds41.centerY }
12842
13333
  });
12843
13334
 
12844
13335
  // symbols/tachometer_vert.ts
@@ -13046,16 +13537,16 @@ var triac_default = {
13046
13537
  };
13047
13538
 
13048
13539
  // symbols/triac_horz.ts
13049
- var { paths: paths39, texts: texts56, bounds: bounds39, refblocks: refblocks39, circles: circles34 } = triac_default;
13540
+ var { paths: paths42, texts: texts59, bounds: bounds42, refblocks: refblocks42, circles: circles38 } = triac_default;
13050
13541
  var triac_horz_default = modifySymbol(triac_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).labelPort("bottom1", ["3"]).changeTextAnchor("{REF}", "middle_bottom").build();
13051
13542
 
13052
13543
  // symbols/triac_vert.ts
13053
13544
  var rotatedSymbol24 = rotateSymbol(triac_horz_default);
13054
- var texts57 = rotatedSymbol24.primitives.filter(
13545
+ var texts60 = rotatedSymbol24.primitives.filter(
13055
13546
  (primitive) => primitive.type === "text"
13056
13547
  );
13057
- var ref25 = texts57.find((text) => text.text === "{REF}");
13058
- var val20 = texts57.find((text) => text.text === "{VAL}");
13548
+ var ref25 = texts60.find((text) => text.text === "{REF}");
13549
+ var val20 = texts60.find((text) => text.text === "{VAL}");
13059
13550
  ref25.y = 0;
13060
13551
  val20.y = 0;
13061
13552
  var triac_vert_default = rotatedSymbol24;
@@ -13222,22 +13713,22 @@ var tunnel_diode_default = {
13222
13713
  };
13223
13714
 
13224
13715
  // symbols/tunnel_diode_horz.ts
13225
- var { paths: paths40, texts: texts58, bounds: bounds40, refblocks: refblocks40, circles: circles35 } = tunnel_diode_default;
13716
+ var { paths: paths43, texts: texts61, bounds: bounds43, refblocks: refblocks43, circles: circles39 } = tunnel_diode_default;
13226
13717
  var tunnel_diode_horz_default = defineSymbol({
13227
13718
  primitives: [
13228
- ...Object.values(paths40),
13229
- ...Object.values(circles35),
13230
- { ...texts58.top1, anchor: "middle_bottom" },
13231
- { ...texts58.bottom1, anchor: "middle_top" }
13719
+ ...Object.values(paths43),
13720
+ ...Object.values(circles39),
13721
+ { ...texts61.top1, anchor: "middle_bottom" },
13722
+ { ...texts61.bottom1, anchor: "middle_top" }
13232
13723
  ],
13233
13724
  ports: [
13234
- { ...refblocks40.left1, labels: ["1"] },
13725
+ { ...refblocks43.left1, labels: ["1"] },
13235
13726
  // TODO add more "standard" labels
13236
- { ...refblocks40.right1, labels: ["2"] }
13727
+ { ...refblocks43.right1, labels: ["2"] }
13237
13728
  // TODO add more "standard" labels
13238
13729
  ],
13239
- size: { width: bounds40.width, height: bounds40.height },
13240
- center: { x: bounds40.centerX, y: bounds40.centerY }
13730
+ size: { width: bounds43.width, height: bounds43.height },
13731
+ center: { x: bounds43.centerX, y: bounds43.centerY }
13241
13732
  });
13242
13733
 
13243
13734
  // symbols/tunnel_diode_vert.ts
@@ -13420,34 +13911,34 @@ var unijunction_transistor_default = {
13420
13911
  };
13421
13912
 
13422
13913
  // symbols/unijunction_transistor_horz.ts
13423
- var { paths: paths41, texts: texts59, bounds: bounds41, refblocks: refblocks41, circles: circles36 } = unijunction_transistor_default;
13914
+ var { paths: paths44, texts: texts62, bounds: bounds44, refblocks: refblocks44, circles: circles40 } = unijunction_transistor_default;
13424
13915
  var unijunction_transistor_horz_default = defineSymbol({
13425
13916
  primitives: [
13426
- ...Object.values(paths41),
13427
- ...Object.values(circles36),
13428
- { ...texts59.top1, anchor: "middle_left" },
13429
- { ...texts59.bottom1, anchor: "middle_right" }
13917
+ ...Object.values(paths44),
13918
+ ...Object.values(circles40),
13919
+ { ...texts62.top1, anchor: "middle_left" },
13920
+ { ...texts62.bottom1, anchor: "middle_right" }
13430
13921
  ],
13431
13922
  ports: [
13432
- { ...refblocks41.top1, labels: ["1"] },
13923
+ { ...refblocks44.top1, labels: ["1"] },
13433
13924
  // TODO add more "standard" labels
13434
- { ...refblocks41.bottom1, labels: ["2"] },
13925
+ { ...refblocks44.bottom1, labels: ["2"] },
13435
13926
  // TODO add more "standard" labels
13436
- { ...refblocks41.left1, labels: ["3"] }
13927
+ { ...refblocks44.left1, labels: ["3"] }
13437
13928
  // TODO add more "standard" labels
13438
13929
  ],
13439
- size: { width: bounds41.width, height: bounds41.height },
13440
- center: { x: bounds41.centerX, y: bounds41.centerY }
13930
+ size: { width: bounds44.width, height: bounds44.height },
13931
+ center: { x: bounds44.centerX, y: bounds44.centerY }
13441
13932
  });
13442
13933
 
13443
13934
  // symbols/unijunction_transistor_vert.ts
13444
13935
  var rotatedSymbol25 = rotateSymbol(unijunction_transistor_horz_default);
13445
- var texts60 = rotatedSymbol25.primitives.filter(
13936
+ var texts63 = rotatedSymbol25.primitives.filter(
13446
13937
  (primitive) => primitive.type === "text"
13447
13938
  );
13448
- var ref27 = texts60.find((text) => text.text === "{REF}");
13939
+ var ref27 = texts63.find((text) => text.text === "{REF}");
13449
13940
  ref27.y = 0.1;
13450
- var val22 = texts60.find((text) => text.text === "{VAL}");
13941
+ var val22 = texts63.find((text) => text.text === "{VAL}");
13451
13942
  val22.y = 0.1;
13452
13943
  val22.x = -0.4;
13453
13944
  var unijunction_transistor_vert_default = rotatedSymbol25;
@@ -13539,33 +14030,33 @@ var var_meter_default = {
13539
14030
  };
13540
14031
 
13541
14032
  // symbols/var_meter_horz.ts
13542
- var { paths: paths42, texts: texts61, bounds: bounds42, refblocks: refblocks42, circles: circles37 } = var_meter_default;
14033
+ var { paths: paths45, texts: texts64, bounds: bounds45, refblocks: refblocks45, circles: circles41 } = var_meter_default;
13543
14034
  var var_meter_horz_default = defineSymbol({
13544
14035
  primitives: [
13545
- ...Object.values(paths42),
13546
- ...Object.values(circles37),
14036
+ ...Object.values(paths45),
14037
+ ...Object.values(circles41),
13547
14038
  {
13548
- ...texts61.top1,
14039
+ ...texts64.top1,
13549
14040
  x: 0,
13550
14041
  y: -0.3594553499999995,
13551
14042
  anchor: "middle_top"
13552
14043
  },
13553
14044
  {
13554
- ...texts61.bottom1,
14045
+ ...texts64.bottom1,
13555
14046
  x: 0,
13556
14047
  y: 0.35,
13557
14048
  anchor: "middle_bottom"
13558
14049
  },
13559
- { ...texts61.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
14050
+ { ...texts64.left1, x: -0.02, y: 0.01, fontSize: 0.2, anchor: "center" }
13560
14051
  ],
13561
14052
  ports: [
13562
- { ...refblocks42.left1, labels: ["1"] },
14053
+ { ...refblocks45.left1, labels: ["1"] },
13563
14054
  // TODO add more "standard" labels
13564
- { ...refblocks42.right1, labels: ["2"] }
14055
+ { ...refblocks45.right1, labels: ["2"] }
13565
14056
  // TODO add more "standard" labels
13566
14057
  ],
13567
- size: { width: bounds42.width, height: bounds42.height },
13568
- center: { x: bounds42.centerX, y: bounds42.centerY }
14058
+ size: { width: bounds45.width, height: bounds45.height },
14059
+ center: { x: bounds45.centerX, y: bounds45.centerY }
13569
14060
  });
13570
14061
 
13571
14062
  // symbols/var_meter_vert.ts
@@ -13718,22 +14209,22 @@ var varactor_diode_default = {
13718
14209
  };
13719
14210
 
13720
14211
  // symbols/varactor_diode_horz.ts
13721
- var { paths: paths43, texts: texts62, bounds: bounds43, refblocks: refblocks43, circles: circles38 } = varactor_diode_default;
14212
+ var { paths: paths46, texts: texts65, bounds: bounds46, refblocks: refblocks46, circles: circles42 } = varactor_diode_default;
13722
14213
  var varactor_diode_horz_default = defineSymbol({
13723
14214
  primitives: [
13724
- ...Object.values(paths43),
13725
- ...Object.values(circles38),
13726
- { ...texts62.top1, anchor: "middle_bottom" },
13727
- { ...texts62.bottom1, anchor: "middle_top" }
14215
+ ...Object.values(paths46),
14216
+ ...Object.values(circles42),
14217
+ { ...texts65.top1, anchor: "middle_bottom" },
14218
+ { ...texts65.bottom1, anchor: "middle_top" }
13728
14219
  ],
13729
14220
  ports: [
13730
- { ...refblocks43.left1, labels: ["1"] },
14221
+ { ...refblocks46.left1, labels: ["1"] },
13731
14222
  // TODO add more "standard" labels
13732
- { ...refblocks43.right1, labels: ["2"] }
14223
+ { ...refblocks46.right1, labels: ["2"] }
13733
14224
  // TODO add more "standard" labels
13734
14225
  ],
13735
- size: { width: bounds43.width, height: bounds43.height },
13736
- center: { x: bounds43.centerX, y: bounds43.centerY }
14226
+ size: { width: bounds46.width, height: bounds46.height },
14227
+ center: { x: bounds46.centerX, y: bounds46.centerY }
13737
14228
  });
13738
14229
 
13739
14230
  // symbols/varactor_diode_vert.ts
@@ -13881,26 +14372,26 @@ var varistor_default = {
13881
14372
  };
13882
14373
 
13883
14374
  // symbols/varistor_horz.ts
13884
- var { paths: paths44, texts: texts63, bounds: bounds44, refblocks: refblocks44 } = varistor_default;
14375
+ var { paths: paths47, texts: texts66, bounds: bounds47, refblocks: refblocks47 } = varistor_default;
13885
14376
  var varistor_horz_default = defineSymbol({
13886
14377
  primitives: [
13887
- ...Object.values(paths44),
13888
- { ...texts63.top1, anchor: "middle_left" },
13889
- { ...texts63.bottom1, anchor: "middle_right" }
14378
+ ...Object.values(paths47),
14379
+ { ...texts66.top1, anchor: "middle_left" },
14380
+ { ...texts66.bottom1, anchor: "middle_right" }
13890
14381
  ],
13891
14382
  ports: [
13892
14383
  {
13893
- ...refblocks44.left1,
14384
+ ...refblocks47.left1,
13894
14385
  labels: ["1", "-"]
13895
14386
  },
13896
14387
  {
13897
- ...refblocks44.right1,
14388
+ ...refblocks47.right1,
13898
14389
  labels: ["2", "+"]
13899
14390
  }
13900
14391
  ],
13901
- size: { width: bounds44.width, height: bounds44.height },
14392
+ size: { width: bounds47.width, height: bounds47.height },
13902
14393
  //{ width: 1, height: 0.24 },
13903
- center: { x: bounds44.centerX, y: bounds44.centerY }
14394
+ center: { x: bounds47.centerX, y: bounds47.centerY }
13904
14395
  });
13905
14396
 
13906
14397
  // symbols/varistor_vert.ts
@@ -13993,11 +14484,11 @@ var varmeter_default = {
13993
14484
  };
13994
14485
 
13995
14486
  // symbols/varmeter_horz.ts
13996
- var { paths: paths45, texts: texts64, bounds: bounds45, refblocks: refblocks45, circles: circles39 } = varmeter_default;
14487
+ var { paths: paths48, texts: texts67, bounds: bounds48, refblocks: refblocks48, circles: circles43 } = varmeter_default;
13997
14488
  var varmeter_horz_default = defineSymbol({
13998
14489
  primitives: [
13999
- ...Object.values(paths45),
14000
- ...Object.values(circles39),
14490
+ ...Object.values(paths48),
14491
+ ...Object.values(circles43),
14001
14492
  {
14002
14493
  type: "text",
14003
14494
  text: "{REF}",
@@ -14012,16 +14503,16 @@ var varmeter_horz_default = defineSymbol({
14012
14503
  y: 0.35,
14013
14504
  anchor: "middle_bottom"
14014
14505
  },
14015
- { ...texts64.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
14506
+ { ...texts67.left1, anchor: "center", y: 0.02, fontSize: 0.2 }
14016
14507
  ],
14017
14508
  ports: [
14018
- { ...refblocks45.left1, labels: ["1"] },
14509
+ { ...refblocks48.left1, labels: ["1"] },
14019
14510
  // TODO add more "standard" labels
14020
- { ...refblocks45.right1, labels: ["2"] }
14511
+ { ...refblocks48.right1, labels: ["2"] }
14021
14512
  // TODO add more "standard" labels
14022
14513
  ],
14023
- size: { width: bounds45.width, height: bounds45.height },
14024
- center: { x: bounds45.centerX, y: bounds45.centerY }
14514
+ size: { width: bounds48.width, height: bounds48.height },
14515
+ center: { x: bounds48.centerX, y: bounds48.centerY }
14025
14516
  });
14026
14517
 
14027
14518
  // symbols/varmeter_vert.ts
@@ -14138,7 +14629,7 @@ var volt_meter_default = {
14138
14629
  };
14139
14630
 
14140
14631
  // symbols/volt_meter_horz.ts
14141
- var { paths: paths46, texts: texts65, bounds: bounds46, circles: circles40, refblocks: refblocks46 } = volt_meter_default;
14632
+ var { paths: paths49, texts: texts68, bounds: bounds49, circles: circles44, refblocks: refblocks49 } = volt_meter_default;
14142
14633
  var volt_meter_horz_default = modifySymbol(volt_meter_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
14143
14634
 
14144
14635
  // symbols/volt_meter_vert.ts
@@ -14231,11 +14722,11 @@ var watt_hour_meter_default = {
14231
14722
  };
14232
14723
 
14233
14724
  // symbols/watt_hour_meter_horz.ts
14234
- var { paths: paths47, texts: texts66, bounds: bounds47, refblocks: refblocks47, circles: circles41 } = watt_hour_meter_default;
14725
+ var { paths: paths50, texts: texts69, bounds: bounds50, refblocks: refblocks50, circles: circles45 } = watt_hour_meter_default;
14235
14726
  var watt_hour_meter_horz_default = defineSymbol({
14236
14727
  primitives: [
14237
- ...Object.values(paths47),
14238
- ...Object.values(circles41),
14728
+ ...Object.values(paths50),
14729
+ ...Object.values(circles45),
14239
14730
  {
14240
14731
  type: "text",
14241
14732
  text: "{REF}",
@@ -14250,16 +14741,16 @@ var watt_hour_meter_horz_default = defineSymbol({
14250
14741
  y: 0.35,
14251
14742
  anchor: "middle_bottom"
14252
14743
  },
14253
- { ...texts66.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
14744
+ { ...texts69.left1, anchor: "center", y: 0.01, fontSize: 0.2 }
14254
14745
  ],
14255
14746
  ports: [
14256
- { ...refblocks47.left1, labels: ["1"] },
14747
+ { ...refblocks50.left1, labels: ["1"] },
14257
14748
  // TODO add more "standard" labels
14258
- { ...refblocks47.right1, labels: ["2"] }
14749
+ { ...refblocks50.right1, labels: ["2"] }
14259
14750
  // TODO add more "standard" labels
14260
14751
  ],
14261
- size: { width: bounds47.width, height: bounds47.height },
14262
- center: { x: bounds47.centerX, y: bounds47.centerY }
14752
+ size: { width: bounds50.width, height: bounds50.height },
14753
+ center: { x: bounds50.centerX, y: bounds50.centerY }
14263
14754
  });
14264
14755
 
14265
14756
  // symbols/watt_hour_meter_vert.ts
@@ -14363,11 +14854,11 @@ var wattmeter_default = {
14363
14854
  };
14364
14855
 
14365
14856
  // symbols/wattmeter_horz.ts
14366
- var { paths: paths48, texts: texts67, bounds: bounds48, refblocks: refblocks48, circles: circles42 } = wattmeter_default;
14857
+ var { paths: paths51, texts: texts70, bounds: bounds51, refblocks: refblocks51, circles: circles46 } = wattmeter_default;
14367
14858
  var wattmeter_horz_default = defineSymbol({
14368
14859
  primitives: [
14369
- ...Object.values(paths48),
14370
- ...Object.values(circles42),
14860
+ ...Object.values(paths51),
14861
+ ...Object.values(circles46),
14371
14862
  {
14372
14863
  type: "text",
14373
14864
  text: "{REF}",
@@ -14382,16 +14873,16 @@ var wattmeter_horz_default = defineSymbol({
14382
14873
  y: 0.35,
14383
14874
  anchor: "middle_bottom"
14384
14875
  },
14385
- { ...texts67.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
14876
+ { ...texts70.left1, anchor: "center", y: 0.01, fontSize: 0.3 }
14386
14877
  ],
14387
14878
  ports: [
14388
- { ...refblocks48.left1, labels: ["1"] },
14879
+ { ...refblocks51.left1, labels: ["1"] },
14389
14880
  // TODO add more "standard" labels
14390
- { ...refblocks48.right1, labels: ["2"] }
14881
+ { ...refblocks51.right1, labels: ["2"] }
14391
14882
  // TODO add more "standard" labels
14392
14883
  ],
14393
- size: { width: bounds48.width, height: bounds48.height },
14394
- center: { x: bounds48.centerX, y: bounds48.centerY }
14884
+ size: { width: bounds51.width, height: bounds51.height },
14885
+ center: { x: bounds51.centerX, y: bounds51.centerY }
14395
14886
  });
14396
14887
 
14397
14888
  // symbols/wattmeter_vert.ts
@@ -14555,22 +15046,22 @@ var zener_diode_default = {
14555
15046
  };
14556
15047
 
14557
15048
  // symbols/zener_diode_horz.ts
14558
- var { paths: paths49, texts: texts68, bounds: bounds49, refblocks: refblocks49, circles: circles43 } = zener_diode_default;
15049
+ var { paths: paths52, texts: texts71, bounds: bounds52, refblocks: refblocks52, circles: circles47 } = zener_diode_default;
14559
15050
  var zener_diode_horz_default = defineSymbol({
14560
15051
  primitives: [
14561
- ...Object.values(paths49),
14562
- ...Object.values(circles43),
14563
- { ...texts68.top1, anchor: "middle_bottom" },
14564
- { ...texts68.bottom1, anchor: "middle_top" }
15052
+ ...Object.values(paths52),
15053
+ ...Object.values(circles47),
15054
+ { ...texts71.top1, anchor: "middle_bottom" },
15055
+ { ...texts71.bottom1, anchor: "middle_top" }
14565
15056
  ],
14566
15057
  ports: [
14567
- { ...refblocks49.left1, labels: ["1"] },
15058
+ { ...refblocks52.left1, labels: ["1"] },
14568
15059
  // TODO add more "standard" labels
14569
- { ...refblocks49.right1, labels: ["2"] }
15060
+ { ...refblocks52.right1, labels: ["2"] }
14570
15061
  // TODO add more "standard" labels
14571
15062
  ],
14572
- size: { width: bounds49.width, height: bounds49.height },
14573
- center: { x: bounds49.centerX, y: bounds49.centerY }
15063
+ size: { width: bounds52.width, height: bounds52.height },
15064
+ center: { x: bounds52.centerX, y: bounds52.centerY }
14574
15065
  });
14575
15066
 
14576
15067
  // symbols/zener_diode_vert.ts
@@ -14593,8 +15084,10 @@ var symbols_index_default = {
14593
15084
  "avalanche_diode_vert": avalanche_diode_vert_default,
14594
15085
  "battery_horz": battery_horz_default,
14595
15086
  "battery_vert": battery_vert_default,
14596
- "boxresistor_horz": boxresistor_horz_default,
14597
- "boxresistor_vert": boxresistor_vert_default,
15087
+ "boxresistor_down": boxresistor_down_default,
15088
+ "boxresistor_left": boxresistor_left_default,
15089
+ "boxresistor_right": boxresistor_right_default,
15090
+ "boxresistor_up": boxresistor_up_default,
14598
15091
  "capacitor_down": capacitor_down_default,
14599
15092
  "capacitor_left": capacitor_left_default,
14600
15093
  "capacitor_polarized_down": capacitor_polarized_down_default,
@@ -14635,8 +15128,10 @@ var symbols_index_default = {
14635
15128
  "igbt_transistor_vert": igbt_transistor_vert_default,
14636
15129
  "illuminated_push_button_normally_open_horz": illuminated_push_button_normally_open_horz_default,
14637
15130
  "illuminated_push_button_normally_open_vert": illuminated_push_button_normally_open_vert_default,
14638
- "inductor_horz": inductor_horz_default,
14639
- "inductor_vert": inductor_vert_default,
15131
+ "inductor_down": inductor_down_default,
15132
+ "inductor_left": inductor_left_default,
15133
+ "inductor_right": inductor_right_default,
15134
+ "inductor_up": inductor_up_default,
14640
15135
  "laser_diode_horz": laser_diode_horz_default,
14641
15136
  "laser_diode_vert": laser_diode_vert_default,
14642
15137
  "led_down": led_down_default,