@oicl/openbridge-webcomponents 2.0.0-next.161 → 2.0.0-next.162

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.
Files changed (31) hide show
  1. package/bundle/openbridge-webcomponents.bundle.js +437 -324
  2. package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
  3. package/custom-elements.json +96 -29
  4. package/dist/navigation-instruments/compass-sector/compass-sector.css.js +20 -11
  5. package/dist/navigation-instruments/compass-sector/compass-sector.css.js.map +1 -1
  6. package/dist/navigation-instruments/compass-sector/compass-sector.d.ts +18 -17
  7. package/dist/navigation-instruments/compass-sector/compass-sector.d.ts.map +1 -1
  8. package/dist/navigation-instruments/compass-sector/compass-sector.js +85 -52
  9. package/dist/navigation-instruments/compass-sector/compass-sector.js.map +1 -1
  10. package/dist/navigation-instruments/gauge-radial/gauge-radial.css.js +2 -6
  11. package/dist/navigation-instruments/gauge-radial/gauge-radial.css.js.map +1 -1
  12. package/dist/navigation-instruments/rudder/rudder.css.js +40 -0
  13. package/dist/navigation-instruments/rudder/rudder.css.js.map +1 -0
  14. package/dist/navigation-instruments/rudder/rudder.d.ts +9 -0
  15. package/dist/navigation-instruments/rudder/rudder.d.ts.map +1 -1
  16. package/dist/navigation-instruments/rudder/rudder.js +40 -23
  17. package/dist/navigation-instruments/rudder/rudder.js.map +1 -1
  18. package/dist/navigation-instruments/watch/watch.css.js +6 -0
  19. package/dist/navigation-instruments/watch/watch.css.js.map +1 -1
  20. package/dist/navigation-instruments/watch/watch.d.ts.map +1 -1
  21. package/dist/navigation-instruments/watch/watch.js +11 -1
  22. package/dist/navigation-instruments/watch/watch.js.map +1 -1
  23. package/dist/svghelpers/arc-frame.d.ts +8 -0
  24. package/dist/svghelpers/arc-frame.d.ts.map +1 -1
  25. package/dist/svghelpers/arc-frame.js +16 -6
  26. package/dist/svghelpers/arc-frame.js.map +1 -1
  27. package/dist/svghelpers/radial-frame.d.ts +14 -1
  28. package/dist/svghelpers/radial-frame.d.ts.map +1 -1
  29. package/dist/svghelpers/radial-frame.js +3 -1
  30. package/dist/svghelpers/radial-frame.js.map +1 -1
  31. package/package.json +1 -1
@@ -714,7 +714,7 @@ function adjustRectHeightForStroke(rectY, rectHeight, viewBoxMinY, viewBoxMaxY,
714
714
  }
715
715
  return { y: adjustedY, height: shrinkedHeight };
716
716
  }
717
- const componentStyle$1Q = i$7`* {
717
+ const componentStyle$1R = i$7`* {
718
718
  -webkit-tap-highlight-color: transparent;
719
719
  }
720
720
 
@@ -992,7 +992,7 @@ let ObcPoiGraphicLine = class extends i$4 {
992
992
  }
993
993
  };
994
994
  ObcPoiGraphicLine._idCounter = 0;
995
- ObcPoiGraphicLine.styles = r$7(componentStyle$1Q);
995
+ ObcPoiGraphicLine.styles = r$7(componentStyle$1R);
996
996
  __decorateClass$Bu([
997
997
  n$3({ type: Number })
998
998
  ], ObcPoiGraphicLine.prototype, "lineHeight", 2);
@@ -1196,7 +1196,7 @@ const e$1 = e$2(class extends i$3 {
1196
1196
  return E;
1197
1197
  }
1198
1198
  });
1199
- const componentStyle$1P = i$7`* {
1199
+ const componentStyle$1Q = i$7`* {
1200
1200
  -webkit-tap-highlight-color: transparent;
1201
1201
  }
1202
1202
 
@@ -1607,7 +1607,7 @@ let ObcPoiHeader = class extends i$4 {
1607
1607
  `;
1608
1608
  }
1609
1609
  };
1610
- ObcPoiHeader.styles = r$7(componentStyle$1P);
1610
+ ObcPoiHeader.styles = r$7(componentStyle$1Q);
1611
1611
  __decorateClass$Bt([
1612
1612
  n$3({ type: String })
1613
1613
  ], ObcPoiHeader.prototype, "content", 2);
@@ -1629,7 +1629,7 @@ __decorateClass$Bt([
1629
1629
  ObcPoiHeader = __decorateClass$Bt([
1630
1630
  customElement("obc-poi-header")
1631
1631
  ], ObcPoiHeader);
1632
- const componentStyle$1O = i$7`* {
1632
+ const componentStyle$1P = i$7`* {
1633
1633
  -webkit-tap-highlight-color: transparent;
1634
1634
  }
1635
1635
 
@@ -1856,7 +1856,7 @@ let ObcPoiLine = class extends i$4 {
1856
1856
  `;
1857
1857
  }
1858
1858
  };
1859
- ObcPoiLine.styles = r$7(componentStyle$1O);
1859
+ ObcPoiLine.styles = r$7(componentStyle$1P);
1860
1860
  __decorateClass$Bs([
1861
1861
  n$3({ type: Number })
1862
1862
  ], ObcPoiLine.prototype, "height", 2);
@@ -1878,7 +1878,7 @@ __decorateClass$Bs([
1878
1878
  ObcPoiLine = __decorateClass$Bs([
1879
1879
  customElement("obc-poi-line")
1880
1880
  ], ObcPoiLine);
1881
- const componentStyle$1N = i$7`* {
1881
+ const componentStyle$1O = i$7`* {
1882
1882
  -webkit-tap-highlight-color: transparent;
1883
1883
  }
1884
1884
 
@@ -2048,7 +2048,7 @@ const componentStyle$1N = i$7`* {
2048
2048
  filter: drop-shadow(0 1px 3px #000);
2049
2049
  }
2050
2050
  `;
2051
- const componentStyle$1M = i$7`* {
2051
+ const componentStyle$1N = i$7`* {
2052
2052
  -webkit-tap-highlight-color: transparent;
2053
2053
  }
2054
2054
 
@@ -2368,7 +2368,7 @@ let ObcPoiSelectionFrame = class extends i$4 {
2368
2368
  >`;
2369
2369
  }
2370
2370
  };
2371
- ObcPoiSelectionFrame.styles = r$7(componentStyle$1M);
2371
+ ObcPoiSelectionFrame.styles = r$7(componentStyle$1N);
2372
2372
  __decorateClass$Br([
2373
2373
  n$3({ type: String })
2374
2374
  ], ObcPoiSelectionFrame.prototype, "type", 2);
@@ -2705,7 +2705,7 @@ let ObcPoiPointer = class extends i$4 {
2705
2705
  this.syncBoxFilterTargets();
2706
2706
  }
2707
2707
  };
2708
- ObcPoiPointer.styles = r$7(componentStyle$1N);
2708
+ ObcPoiPointer.styles = r$7(componentStyle$1O);
2709
2709
  __decorateClass$Bq([
2710
2710
  n$3({ type: String })
2711
2711
  ], ObcPoiPointer.prototype, "type", 2);
@@ -2721,7 +2721,7 @@ __decorateClass$Bq([
2721
2721
  ObcPoiPointer = __decorateClass$Bq([
2722
2722
  customElement("obc-poi-pointer")
2723
2723
  ], ObcPoiPointer);
2724
- const componentStyle$1L = i$7`* {
2724
+ const componentStyle$1M = i$7`* {
2725
2725
  -webkit-tap-highlight-color: transparent;
2726
2726
  }
2727
2727
 
@@ -2822,7 +2822,7 @@ let ObcRulerPointer = class extends i$4 {
2822
2822
  `;
2823
2823
  }
2824
2824
  };
2825
- ObcRulerPointer.styles = r$7(componentStyle$1L);
2825
+ ObcRulerPointer.styles = r$7(componentStyle$1M);
2826
2826
  __decorateClass$Bp([
2827
2827
  n$3({ type: String })
2828
2828
  ], ObcRulerPointer.prototype, "type", 2);
@@ -5164,7 +5164,7 @@ const compentStyle$1j = i$7`* {
5164
5164
  opacity: var(--obc-poi-data-content-opacity, 1);
5165
5165
  }
5166
5166
  `;
5167
- const componentStyle$1K = i$7`* {
5167
+ const componentStyle$1L = i$7`* {
5168
5168
  -webkit-tap-highlight-color: transparent;
5169
5169
  }
5170
5170
 
@@ -5753,7 +5753,7 @@ let ObcPoiObject = class extends i$4 {
5753
5753
  `;
5754
5754
  }
5755
5755
  };
5756
- ObcPoiObject.styles = r$7(componentStyle$1K);
5756
+ ObcPoiObject.styles = r$7(componentStyle$1L);
5757
5757
  __decorateClass$Bn([
5758
5758
  n$3({ type: String })
5759
5759
  ], ObcPoiObject.prototype, "type", 2);
@@ -6177,7 +6177,7 @@ __decorateClass$Bl([
6177
6177
  __decorateClass$Bl([
6178
6178
  n$3({ type: Boolean })
6179
6179
  ], AbstractPoiObject.prototype, "interactive");
6180
- const componentStyle$1J = i$7`* {
6180
+ const componentStyle$1K = i$7`* {
6181
6181
  -webkit-tap-highlight-color: transparent;
6182
6182
  }
6183
6183
 
@@ -6679,7 +6679,7 @@ let ObcPoiObjectAton = class extends AbstractPoiObject {
6679
6679
  };
6680
6680
  ObcPoiObjectAton.styles = [
6681
6681
  ...AbstractPoiObject.styles,
6682
- r$7(componentStyle$1J)
6682
+ r$7(componentStyle$1K)
6683
6683
  ];
6684
6684
  __decorateClass$Bk([
6685
6685
  n$3({ type: String })
@@ -6847,7 +6847,7 @@ __decorateClass$Bh([
6847
6847
  ObcPoiButtonData = __decorateClass$Bh([
6848
6848
  customElement("obc-poi-button-data")
6849
6849
  ], ObcPoiButtonData);
6850
- const componentStyle$1I = i$7`* {
6850
+ const componentStyle$1J = i$7`* {
6851
6851
  -webkit-tap-highlight-color: transparent;
6852
6852
  }
6853
6853
 
@@ -6962,7 +6962,7 @@ let ObcPoiObjectVessel = class extends AbstractPoiObject {
6962
6962
  };
6963
6963
  ObcPoiObjectVessel.styles = [
6964
6964
  ...AbstractPoiObject.styles,
6965
- r$7(componentStyle$1I)
6965
+ r$7(componentStyle$1J)
6966
6966
  ];
6967
6967
  __decorateClass$Bg([
6968
6968
  n$3({ type: String })
@@ -7041,7 +7041,7 @@ __decorateClass$Bf([
7041
7041
  ObcPoiButtonVessel = __decorateClass$Bf([
7042
7042
  customElement("obc-poi-button-vessel")
7043
7043
  ], ObcPoiButtonVessel);
7044
- const componentStyle$1H = i$7`* {
7044
+ const componentStyle$1I = i$7`* {
7045
7045
  -webkit-tap-highlight-color: transparent;
7046
7046
  }
7047
7047
 
@@ -8059,7 +8059,7 @@ let ObcPoiCardHeader = class extends i$4 {
8059
8059
  `;
8060
8060
  }
8061
8061
  };
8062
- ObcPoiCardHeader.styles = r$7(componentStyle$1H);
8062
+ ObcPoiCardHeader.styles = r$7(componentStyle$1I);
8063
8063
  __decorateClass$Bc([
8064
8064
  n$3({ type: String })
8065
8065
  ], ObcPoiCardHeader.prototype, "variant", 2);
@@ -8087,7 +8087,7 @@ __decorateClass$Bc([
8087
8087
  ObcPoiCardHeader = __decorateClass$Bc([
8088
8088
  customElement("obc-poi-card-header")
8089
8089
  ], ObcPoiCardHeader);
8090
- const componentStyle$1G = i$7`* {
8090
+ const componentStyle$1H = i$7`* {
8091
8091
  -webkit-tap-highlight-color: transparent;
8092
8092
  }
8093
8093
 
@@ -8408,7 +8408,7 @@ let ObcPoiCard = class extends i$4 {
8408
8408
  `;
8409
8409
  }
8410
8410
  };
8411
- ObcPoiCard.styles = r$7(componentStyle$1G);
8411
+ ObcPoiCard.styles = r$7(componentStyle$1H);
8412
8412
  __decorateClass$Bb([
8413
8413
  n$3({ type: String })
8414
8414
  ], ObcPoiCard.prototype, "pointerDirection", 2);
@@ -8451,7 +8451,7 @@ __decorateClass$Bb([
8451
8451
  ObcPoiCard = __decorateClass$Bb([
8452
8452
  customElement("obc-poi-card")
8453
8453
  ], ObcPoiCard);
8454
- const componentStyle$1F = i$7`* {
8454
+ const componentStyle$1G = i$7`* {
8455
8455
  -webkit-tap-highlight-color: transparent;
8456
8456
  }
8457
8457
 
@@ -8500,7 +8500,7 @@ const componentStyle$1F = i$7`* {
8500
8500
  gap: var(--obc-poi-controller-stack-gap, 8px);
8501
8501
  }
8502
8502
  `;
8503
- const componentStyle$1E = i$7`* {
8503
+ const componentStyle$1F = i$7`* {
8504
8504
  -webkit-tap-highlight-color: transparent;
8505
8505
  }
8506
8506
 
@@ -8518,7 +8518,7 @@ const componentStyle$1E = i$7`* {
8518
8518
  display: contents;
8519
8519
  }
8520
8520
  `;
8521
- const componentStyle$1D = i$7`* {
8521
+ const componentStyle$1E = i$7`* {
8522
8522
  -webkit-tap-highlight-color: transparent;
8523
8523
  }
8524
8524
 
@@ -8644,7 +8644,7 @@ const componentStyle$1D = i$7`* {
8644
8644
  --obc-poi-label-opacity: var(--obc-poi-layer-inactive-opacity, 0.7);
8645
8645
  }
8646
8646
  `;
8647
- const componentStyle$1C = i$7`* {
8647
+ const componentStyle$1D = i$7`* {
8648
8648
  -webkit-tap-highlight-color: transparent;
8649
8649
  }
8650
8650
 
@@ -8862,7 +8862,7 @@ const componentStyle$1C = i$7`* {
8862
8862
  transition: opacity 0.1s ease-out;
8863
8863
  }
8864
8864
  `;
8865
- const componentStyle$1B = i$7`* {
8865
+ const componentStyle$1C = i$7`* {
8866
8866
  -webkit-tap-highlight-color: transparent;
8867
8867
  }
8868
8868
 
@@ -8908,7 +8908,7 @@ const n$1 = "important", i$1 = " !" + n$1, o$2 = e$2(class extends i$3 {
8908
8908
  return E;
8909
8909
  }
8910
8910
  });
8911
- const componentStyle$1A = i$7`* {
8911
+ const componentStyle$1B = i$7`* {
8912
8912
  -webkit-tap-highlight-color: transparent;
8913
8913
  }
8914
8914
 
@@ -9559,7 +9559,7 @@ let ObcPoi = class extends i$4 {
9559
9559
  this.syncAttachedHeaderState();
9560
9560
  }
9561
9561
  };
9562
- ObcPoi.styles = r$7(componentStyle$1A);
9562
+ ObcPoi.styles = r$7(componentStyle$1B);
9563
9563
  __decorateClass$Ba([
9564
9564
  n$3({ type: String })
9565
9565
  ], ObcPoi.prototype, "type", 2);
@@ -10101,7 +10101,7 @@ const _PoiBase = class _PoiBase extends i$4 {
10101
10101
  `;
10102
10102
  }
10103
10103
  };
10104
- _PoiBase.styles = [r$7(componentStyle$1B)];
10104
+ _PoiBase.styles = [r$7(componentStyle$1C)];
10105
10105
  let PoiBase = _PoiBase;
10106
10106
  __decorateClass$B9([
10107
10107
  n$3({ type: String })
@@ -11096,7 +11096,7 @@ let ObcPoiGroup = class extends i$4 {
11096
11096
  return true;
11097
11097
  }
11098
11098
  };
11099
- ObcPoiGroup.styles = r$7(componentStyle$1C);
11099
+ ObcPoiGroup.styles = r$7(componentStyle$1D);
11100
11100
  __decorateClass$B6([
11101
11101
  n$3({ type: Boolean })
11102
11102
  ], ObcPoiGroup.prototype, "expand", 2);
@@ -12254,7 +12254,7 @@ let ObcPoiLayer = class extends i$4 {
12254
12254
  }
12255
12255
  };
12256
12256
  ObcPoiLayer.GROUP_LAYER_HOOK_ATTR = "data-in-poi-layer";
12257
- ObcPoiLayer.styles = r$7(componentStyle$1D);
12257
+ ObcPoiLayer.styles = r$7(componentStyle$1E);
12258
12258
  __decorateClass$B5([
12259
12259
  n$3({ type: String })
12260
12260
  ], ObcPoiLayer.prototype, "label", 2);
@@ -12989,7 +12989,7 @@ let ObcPoiLayerStack = class extends i$4 {
12989
12989
  };
12990
12990
  ObcPoiLayerStack.STACK_JUMP_DURATION_MS = 100;
12991
12991
  ObcPoiLayerStack.STACK_RETURNING_ATTR = "data-stack-returning";
12992
- ObcPoiLayerStack.styles = r$7(componentStyle$1E);
12992
+ ObcPoiLayerStack.styles = r$7(componentStyle$1F);
12993
12993
  __decorateClass$B4([
12994
12994
  n$3({ type: String, attribute: "selection-mode" })
12995
12995
  ], ObcPoiLayerStack.prototype, "selectionMode", 2);
@@ -13311,7 +13311,7 @@ let ObcPoiController = class extends i$4 {
13311
13311
  `;
13312
13312
  }
13313
13313
  };
13314
- ObcPoiController.styles = r$7(componentStyle$1F);
13314
+ ObcPoiController.styles = r$7(componentStyle$1G);
13315
13315
  __decorateClass$B3([
13316
13316
  n$3({ type: String })
13317
13317
  ], ObcPoiController.prototype, "fit", 2);
@@ -16860,7 +16860,7 @@ __decorateClass$AB([
16860
16860
  ObcButton = __decorateClass$AB([
16861
16861
  customElement("obc-button")
16862
16862
  ], ObcButton);
16863
- const componentStyle$1z = i$7`* {
16863
+ const componentStyle$1A = i$7`* {
16864
16864
  -webkit-tap-highlight-color: transparent;
16865
16865
  }
16866
16866
 
@@ -17124,7 +17124,7 @@ const componentStyle$1z = i$7`* {
17124
17124
  block-size: var(--obc-readout-block-icon-size, var(--_block-icon-size));
17125
17125
  }
17126
17126
  `;
17127
- const componentStyle$1y = i$7`* {
17127
+ const componentStyle$1z = i$7`* {
17128
17128
  -webkit-tap-highlight-color: transparent;
17129
17129
  }
17130
17130
 
@@ -17317,7 +17317,7 @@ let ObcTextbox = class extends i$4 {
17317
17317
  `;
17318
17318
  }
17319
17319
  };
17320
- ObcTextbox.styles = r$7(componentStyle$1y);
17320
+ ObcTextbox.styles = r$7(componentStyle$1z);
17321
17321
  __decorateClass$AA([
17322
17322
  n$3({ type: String })
17323
17323
  ], ObcTextbox.prototype, "alignment", 2);
@@ -18256,7 +18256,7 @@ let ObcReadoutBlock = class extends i$4 {
18256
18256
  return wrapWithAlertFrame(this.alert ?? false, block);
18257
18257
  }
18258
18258
  };
18259
- ObcReadoutBlock.styles = r$7(componentStyle$1z);
18259
+ ObcReadoutBlock.styles = r$7(componentStyle$1A);
18260
18260
  __decorateClass$Ao([
18261
18261
  n$3({ type: String })
18262
18262
  ], ObcReadoutBlock.prototype, "variant", 2);
@@ -18835,7 +18835,7 @@ __decorateClass$An([
18835
18835
  ObcAutomationButtonReadoutStack = __decorateClass$An([
18836
18836
  customElement("obc-automation-button-readout-stack")
18837
18837
  ], ObcAutomationButtonReadoutStack);
18838
- const componentStyle$1x = i$7`* {
18838
+ const componentStyle$1y = i$7`* {
18839
18839
  -webkit-tap-highlight-color: transparent;
18840
18840
  }
18841
18841
 
@@ -18997,7 +18997,7 @@ let ObcCircularProgress = class extends i$4 {
18997
18997
  `;
18998
18998
  }
18999
18999
  };
19000
- ObcCircularProgress.styles = r$7(componentStyle$1x);
19000
+ ObcCircularProgress.styles = r$7(componentStyle$1y);
19001
19001
  __decorateClass$Am([
19002
19002
  n$3({ type: String })
19003
19003
  ], ObcCircularProgress.prototype, "mode", 2);
@@ -22459,7 +22459,7 @@ __decorateClass$A2([
22459
22459
  ObiEnergyBattery = __decorateClass$A2([
22460
22460
  customElement("obi-energy-battery")
22461
22461
  ], ObiEnergyBattery);
22462
- const componentStyle$1w = i$7`* {
22462
+ const componentStyle$1x = i$7`* {
22463
22463
  -webkit-tap-highlight-color: transparent;
22464
22464
  }
22465
22465
 
@@ -39397,7 +39397,7 @@ const _ObcChartLineBase = class _ObcChartLineBase extends i$4 {
39397
39397
  }
39398
39398
  };
39399
39399
  _ObcChartLineBase.styles = [
39400
- r$7(componentStyle$1w),
39400
+ r$7(componentStyle$1x),
39401
39401
  r$7(chartCommonStyle),
39402
39402
  r$7(chartLegendStyle),
39403
39403
  r$7(chartDebugStyle)
@@ -41793,7 +41793,7 @@ __decorateClass$zO([
41793
41793
  ObcBipolarTransistor = __decorateClass$zO([
41794
41794
  customElement("obc-bipolar-transistor")
41795
41795
  ], ObcBipolarTransistor);
41796
- const componentStyle$1v = i$7`* {
41796
+ const componentStyle$1w = i$7`* {
41797
41797
  -webkit-tap-highlight-color: transparent;
41798
41798
  }
41799
41799
 
@@ -41940,7 +41940,7 @@ let ObcBus = class extends i$4 {
41940
41940
  `;
41941
41941
  }
41942
41942
  };
41943
- ObcBus.styles = r$7(componentStyle$1v);
41943
+ ObcBus.styles = r$7(componentStyle$1w);
41944
41944
  __decorateClass$zN([
41945
41945
  n$3({ type: String })
41946
41946
  ], ObcBus.prototype, "label", 2);
@@ -45135,7 +45135,7 @@ __decorateClass$yY([
45135
45135
  ObiDieselGeneratorDc = __decorateClass$yY([
45136
45136
  customElement("obi-diesel-generator-dc")
45137
45137
  ], ObiDieselGeneratorDc);
45138
- const componentStyle$1u = i$7`* {
45138
+ const componentStyle$1v = i$7`* {
45139
45139
  -webkit-tap-highlight-color: transparent;
45140
45140
  }
45141
45141
 
@@ -45496,6 +45496,12 @@ svg {
45496
45496
  display: block;
45497
45497
  }
45498
45498
 
45499
+ svg.cropped {
45500
+ /* A cropped frame paints its arc outside the viewBox before \`rotation\`
45501
+ swings it into view; the host's overflow rule is what clips. */
45502
+ overflow: visible;
45503
+ }
45504
+
45499
45505
  .label {
45500
45506
  font-family: var(--global-typography-font-family);
45501
45507
  font-weight: var(--global-typography-ui-body-font-weight);
@@ -47889,6 +47895,11 @@ const environmentSvgs = {
47889
47895
  <path fill-rule="evenodd" clip-rule="evenodd" d="M7 16.5858L12.2071 11.3787L17.4142 16.5858L16 18L12.2071 14.2071L8.41421 18L7 16.5858Z" fill="var(--instrument-regular-secondary-color)"/>
47890
47896
  <path fill-rule="evenodd" clip-rule="evenodd" d="M7 22.5858L12.2071 17.3787L17.4142 22.5858L16 24L12.2071 20.2071L8.41421 24L7 22.5858Z" fill="var(--instrument-regular-secondary-color)"/>`
47891
47897
  };
47898
+ var ArcFrameFit = /* @__PURE__ */ ((ArcFrameFit2) => {
47899
+ ArcFrameFit2["square"] = "square";
47900
+ ArcFrameFit2["bbox"] = "bbox";
47901
+ return ArcFrameFit2;
47902
+ })(ArcFrameFit || {});
47892
47903
  function normalizeArcAngle(value, fallback) {
47893
47904
  const v2 = Number.isFinite(value) ? value : fallback;
47894
47905
  return Math.min(180, Math.max(2, v2));
@@ -47901,7 +47912,9 @@ function computeZoomToFitArcFrame(options) {
47901
47912
  extension,
47902
47913
  targetSize,
47903
47914
  margin: margin2 = 0.06,
47904
- includeBox
47915
+ includeBox,
47916
+ fit = "square"
47917
+ /* square */
47905
47918
  } = options;
47906
47919
  if (areas.length === 0) {
47907
47920
  const side2 = targetSize;
@@ -47951,13 +47964,15 @@ function computeZoomToFitArcFrame(options) {
47951
47964
  const rawW = bbox.xMax - bbox.xMin;
47952
47965
  const rawH = bbox.yMax - bbox.yMin;
47953
47966
  const side = Math.max(rawW, rawH);
47954
- const padded = side * (1 + margin2 * 2);
47967
+ const pad = side * margin2;
47955
47968
  const cx = (bbox.xMin + bbox.xMax) / 2;
47956
47969
  const cy = (bbox.yMin + bbox.yMax) / 2;
47957
- const x2 = round4(cx - padded / 2);
47958
- const y3 = round4(cy - padded / 2);
47959
- const w2 = round4(padded);
47960
- const h3 = round4(padded);
47970
+ const boxW = fit === "bbox" ? rawW + pad * 2 : side + pad * 2;
47971
+ const boxH = fit === "bbox" ? rawH + pad * 2 : side + pad * 2;
47972
+ const x2 = round4(cx - boxW / 2);
47973
+ const y3 = round4(cy - boxH / 2);
47974
+ const w2 = round4(boxW);
47975
+ const h3 = round4(boxH);
47961
47976
  return {
47962
47977
  radiusOffset,
47963
47978
  x: x2,
@@ -48275,7 +48290,9 @@ function zoomFrameAt(opts, extension) {
48275
48290
  outerRadius: OUTER_RING_RADIUS$1,
48276
48291
  innerRadius: opts.innerRadius ?? OUTER_RING_RADIUS$1,
48277
48292
  extension,
48278
- targetSize: (RADIAL_VIEWBOX_BASE + extension) * 2
48293
+ targetSize: (RADIAL_VIEWBOX_BASE + extension) * 2,
48294
+ fit: opts.zoomFit,
48295
+ includeBox: opts.zoomIncludeBox
48279
48296
  });
48280
48297
  }
48281
48298
  function pinnedZoomedScale(opts, frame) {
@@ -48889,6 +48906,8 @@ let ObcWatch = class extends i$4 {
48889
48906
  render() {
48890
48907
  let width;
48891
48908
  let height;
48909
+ let frameX;
48910
+ let frameY;
48892
48911
  let viewBox;
48893
48912
  if (this.arcFrame) {
48894
48913
  this._rOff = this.arcFrame.radiusOffset;
@@ -48896,6 +48915,8 @@ let ObcWatch = class extends i$4 {
48896
48915
  this._ownFrame = void 0;
48897
48916
  width = this.arcFrame.width;
48898
48917
  height = this.arcFrame.height;
48918
+ frameX = this.arcFrame.x;
48919
+ frameY = this.arcFrame.y;
48899
48920
  viewBox = this.arcFrame.viewBox;
48900
48921
  } else {
48901
48922
  const frame = computeRadialFrame({
@@ -48918,10 +48939,15 @@ let ObcWatch = class extends i$4 {
48918
48939
  this._ownFrame = frame;
48919
48940
  width = frame.width;
48920
48941
  height = frame.height;
48942
+ frameX = frame.x;
48943
+ frameY = frame.y;
48921
48944
  viewBox = frame.viewBox;
48922
48945
  }
48923
48946
  const rOff = this._rOff;
48924
48947
  const scale = this.getScale({ width, height });
48948
+ const pivotX = width > 0 ? -frameX / width * 100 : 50;
48949
+ const pivotY = height > 0 ? -frameY / height * 100 : 50;
48950
+ const cropped = pivotX !== 50 || pivotY !== 50;
48925
48951
  const angleSetpoint = this.renderSetpoint();
48926
48952
  const textRadius = this.tickmarksInside ? this._bandRadius(this.innerRingRadius) : this._bandRadius(OUTER_RING_RADIUS);
48927
48953
  const maxDigits = Math.max(
@@ -48986,10 +49012,11 @@ let ObcWatch = class extends i$4 {
48986
49012
  }) : A;
48987
49013
  return b`
48988
49014
  <svg
49015
+ class=${cropped ? "cropped" : A}
48989
49016
  width="100%"
48990
49017
  height="100%"
48991
49018
  viewBox=${viewBox}
48992
- style="--scale: ${scale}"
49019
+ style="--scale: ${scale}; transform-origin: ${pivotX}% ${pivotY}%"
48993
49020
  transform="rotate(${this.rotation ?? 0})"
48994
49021
  >
48995
49022
  ${this.watchCircle()} ${this.renderBars()}
@@ -49431,7 +49458,7 @@ function renderSecondaryLine(options) {
49431
49458
  ${tip}
49432
49459
  `;
49433
49460
  }
49434
- const componentStyle$1t = i$7`* {
49461
+ const componentStyle$1u = i$7`* {
49435
49462
  -webkit-tap-highlight-color: transparent;
49436
49463
  }
49437
49464
 
@@ -50217,7 +50244,7 @@ obc-readout-block {
50217
50244
  outline-offset: -1px;
50218
50245
  }
50219
50246
  `;
50220
- const componentStyle$1s = i$7`* {
50247
+ const componentStyle$1t = i$7`* {
50221
50248
  -webkit-tap-highlight-color: transparent;
50222
50249
  }
50223
50250
 
@@ -51671,7 +51698,7 @@ let ObcReadoutListItem = class extends i$4 {
51671
51698
  return wrapWithAlertFrame(alert, root, true);
51672
51699
  }
51673
51700
  };
51674
- ObcReadoutListItem.styles = r$7(componentStyle$1s);
51701
+ ObcReadoutListItem.styles = r$7(componentStyle$1t);
51675
51702
  __decorateClass$yj([
51676
51703
  n$3({ type: String })
51677
51704
  ], ObcReadoutListItem.prototype, "label", 2);
@@ -52004,7 +52031,7 @@ __decorateClass$yi([
52004
52031
  ObiArrowFlyoutGoogle = __decorateClass$yi([
52005
52032
  customElement("obi-arrow-flyout-google")
52006
52033
  ], ObiArrowFlyoutGoogle);
52007
- const componentStyle$1r = i$7`* {
52034
+ const componentStyle$1s = i$7`* {
52008
52035
  -webkit-tap-highlight-color: transparent;
52009
52036
  }
52010
52037
 
@@ -52415,7 +52442,7 @@ __decorateClass$yg([
52415
52442
  ObiCheckGoogle = __decorateClass$yg([
52416
52443
  customElement("obi-check-google")
52417
52444
  ], ObiCheckGoogle);
52418
- const componentStyle$1q = i$7`* {
52445
+ const componentStyle$1r = i$7`* {
52419
52446
  -webkit-tap-highlight-color: transparent;
52420
52447
  }
52421
52448
 
@@ -52940,7 +52967,7 @@ let ObcCheckbox = class extends i$4 {
52940
52967
  `;
52941
52968
  }
52942
52969
  };
52943
- ObcCheckbox.styles = [r$7(componentStyle$1q)];
52970
+ ObcCheckbox.styles = [r$7(componentStyle$1r)];
52944
52971
  __decorateClass$yf([
52945
52972
  n$3({ type: String })
52946
52973
  ], ObcCheckbox.prototype, "status", 2);
@@ -53145,7 +53172,7 @@ let ObcCheckboxItem = class extends i$4 {
53145
53172
  `;
53146
53173
  }
53147
53174
  };
53148
- ObcCheckboxItem.styles = r$7(componentStyle$1r);
53175
+ ObcCheckboxItem.styles = r$7(componentStyle$1s);
53149
53176
  __decorateClass$yd([
53150
53177
  n$3({ type: String })
53151
53178
  ], ObcCheckboxItem.prototype, "status", 2);
@@ -53655,7 +53682,7 @@ ol {
53655
53682
  padding: 0;
53656
53683
  }
53657
53684
  `;
53658
- const componentStyle$1p = i$7`* {
53685
+ const componentStyle$1q = i$7`* {
53659
53686
  -webkit-tap-highlight-color: transparent;
53660
53687
  }
53661
53688
 
@@ -54823,7 +54850,7 @@ let ObcTreeNavigationItem = class extends i$4 {
54823
54850
  `;
54824
54851
  }
54825
54852
  };
54826
- ObcTreeNavigationItem.styles = r$7(componentStyle$1p);
54853
+ ObcTreeNavigationItem.styles = r$7(componentStyle$1q);
54827
54854
  __decorateClass$y9([
54828
54855
  n$3({ type: String })
54829
54856
  ], ObcTreeNavigationItem.prototype, "label", 2);
@@ -57286,7 +57313,7 @@ let ObcReadout = class extends i$4 {
57286
57313
  return wrapWithAlertFrame(alert, root);
57287
57314
  }
57288
57315
  };
57289
- ObcReadout.styles = r$7(componentStyle$1t);
57316
+ ObcReadout.styles = r$7(componentStyle$1u);
57290
57317
  __decorateClass$y3([
57291
57318
  n$3({ type: String })
57292
57319
  ], ObcReadout.prototype, "label", 2);
@@ -58170,7 +58197,7 @@ let ObcGaugeProportional = class extends SetpointMixin(i$4) {
58170
58197
  `;
58171
58198
  }
58172
58199
  };
58173
- ObcGaugeProportional.styles = [r$7(componentStyle$1u), centerReadoutStyles];
58200
+ ObcGaugeProportional.styles = [r$7(componentStyle$1v), centerReadoutStyles];
58174
58201
  __decorateClass$y2([
58175
58202
  n$3({ type: Number })
58176
58203
  ], ObcGaugeProportional.prototype, "value", 2);
@@ -58629,7 +58656,7 @@ const READOUT_ANCHOR = {
58629
58656
  twoWay: 144,
58630
58657
  threeWay: 136
58631
58658
  };
58632
- const BASE_PADDING = {
58659
+ const BASE_PADDING$1 = {
58633
58660
  large: 80,
58634
58661
  compact: 9
58635
58662
  };
@@ -58787,7 +58814,7 @@ let ObcGaugeValve = class extends SetpointMixin(i$4) {
58787
58814
  }
58788
58815
  render() {
58789
58816
  const frame = computeRadialFrame({
58790
- basePadding: this.large ? BASE_PADDING.large : BASE_PADDING.compact,
58817
+ basePadding: this.large ? BASE_PADDING$1.large : BASE_PADDING$1.compact,
58791
58818
  labelWidthPx: this.large ? estimateLabelWidthPx(SCALE_LABEL_VALUES.map(String)) : 0,
58792
58819
  clips: { top: 0, bottom: 0, left: 0, right: 0 },
58793
58820
  containerPx: measureContainerPx(this),
@@ -59319,7 +59346,7 @@ __decorateClass$xS([
59319
59346
  ObiHeatexhanger = __decorateClass$xS([
59320
59347
  customElement("obi-heatexhanger")
59321
59348
  ], ObiHeatexhanger);
59322
- const componentStyle$1o = i$7`* {
59349
+ const componentStyle$1p = i$7`* {
59323
59350
  -webkit-tap-highlight-color: transparent;
59324
59351
  }
59325
59352
 
@@ -60014,7 +60041,7 @@ const _ObcAbstractSpecialtyTank = class _ObcAbstractSpecialtyTank extends i$4 {
60014
60041
  </button>`;
60015
60042
  }
60016
60043
  };
60017
- _ObcAbstractSpecialtyTank.styles = r$7(componentStyle$1o);
60044
+ _ObcAbstractSpecialtyTank.styles = r$7(componentStyle$1p);
60018
60045
  let ObcAbstractSpecialtyTank = _ObcAbstractSpecialtyTank;
60019
60046
  __decorateClass$xR([
60020
60047
  n$3({ type: String })
@@ -60304,7 +60331,7 @@ __decorateClass$xN([
60304
60331
  ObcHorizontalLine = __decorateClass$xN([
60305
60332
  customElement("obc-horizontal-line")
60306
60333
  ], ObcHorizontalLine);
60307
- const componentStyle$1n = i$7`* {
60334
+ const componentStyle$1o = i$7`* {
60308
60335
  -webkit-tap-highlight-color: transparent;
60309
60336
  }
60310
60337
 
@@ -60518,7 +60545,7 @@ button.thumb.disabled {
60518
60545
  height: 100%;
60519
60546
  }
60520
60547
  `;
60521
- const componentStyle$1m = i$7`* {
60548
+ const componentStyle$1n = i$7`* {
60522
60549
  -webkit-tap-highlight-color: transparent
60523
60550
  }
60524
60551
  .thumb {
@@ -60608,7 +60635,7 @@ let ObcHydraulicCheckValve = class extends i$4 {
60608
60635
  `;
60609
60636
  }
60610
60637
  };
60611
- ObcHydraulicCheckValve.styles = [r$7(componentStyle$1n), r$7(componentStyle$1m)];
60638
+ ObcHydraulicCheckValve.styles = [r$7(componentStyle$1o), r$7(componentStyle$1n)];
60612
60639
  __decorateClass$xL([
60613
60640
  n$3({ type: String })
60614
60641
  ], ObcHydraulicCheckValve.prototype, "ariaLabel", 2);
@@ -60830,7 +60857,7 @@ const _ObcShuffleButtonBase = class _ObcShuffleButtonBase extends i$4 {
60830
60857
  }
60831
60858
  }
60832
60859
  };
60833
- _ObcShuffleButtonBase.styles = r$7(componentStyle$1n);
60860
+ _ObcShuffleButtonBase.styles = r$7(componentStyle$1o);
60834
60861
  let ObcShuffleButtonBase = _ObcShuffleButtonBase;
60835
60862
  __decorateClass$xI([
60836
60863
  n$3({ type: Number })
@@ -61368,7 +61395,7 @@ __decorateClass$xx([
61368
61395
  ObcHydraulicValveX2 = __decorateClass$xx([
61369
61396
  customElement("obc-hydraulic-valve-x-2")
61370
61397
  ], ObcHydraulicValveX2);
61371
- const componentStyle$1l = i$7`* {
61398
+ const componentStyle$1m = i$7`* {
61372
61399
  -webkit-tap-highlight-color: transparent;
61373
61400
  }
61374
61401
 
@@ -61644,7 +61671,7 @@ let ObcIndicatorBattery = class extends i$4 {
61644
61671
  `;
61645
61672
  }
61646
61673
  };
61647
- ObcIndicatorBattery.styles = r$7(componentStyle$1l);
61674
+ ObcIndicatorBattery.styles = r$7(componentStyle$1m);
61648
61675
  __decorateClass$xw([
61649
61676
  n$3({ type: String, reflect: true })
61650
61677
  ], ObcIndicatorBattery.prototype, "direction", 2);
@@ -61666,7 +61693,7 @@ __decorateClass$xw([
61666
61693
  ObcIndicatorBattery = __decorateClass$xw([
61667
61694
  customElement("obc-indicator-battery")
61668
61695
  ], ObcIndicatorBattery);
61669
- const componentStyle$1k = i$7`* {
61696
+ const componentStyle$1l = i$7`* {
61670
61697
  -webkit-tap-highlight-color: transparent;
61671
61698
  }
61672
61699
 
@@ -61753,7 +61780,7 @@ let ObcIndicatorEngine = class extends i$4 {
61753
61780
  `;
61754
61781
  }
61755
61782
  };
61756
- ObcIndicatorEngine.styles = r$7(componentStyle$1k);
61783
+ ObcIndicatorEngine.styles = r$7(componentStyle$1l);
61757
61784
  __decorateClass$xv([
61758
61785
  n$3({ type: String, reflect: true })
61759
61786
  ], ObcIndicatorEngine.prototype, "value", 2);
@@ -61763,7 +61790,7 @@ __decorateClass$xv([
61763
61790
  ObcIndicatorEngine = __decorateClass$xv([
61764
61791
  customElement("obc-indicator-engine")
61765
61792
  ], ObcIndicatorEngine);
61766
- const componentStyle$1j = i$7`* {
61793
+ const componentStyle$1k = i$7`* {
61767
61794
  -webkit-tap-highlight-color: transparent;
61768
61795
  }
61769
61796
 
@@ -62010,7 +62037,7 @@ let ObcIndicatorGenerator = class extends i$4 {
62010
62037
  `;
62011
62038
  }
62012
62039
  };
62013
- ObcIndicatorGenerator.styles = r$7(componentStyle$1j);
62040
+ ObcIndicatorGenerator.styles = r$7(componentStyle$1k);
62014
62041
  __decorateClass$xu([
62015
62042
  n$3({ type: String, reflect: true })
62016
62043
  ], ObcIndicatorGenerator.prototype, "variant", 2);
@@ -62026,7 +62053,7 @@ __decorateClass$xu([
62026
62053
  ObcIndicatorGenerator = __decorateClass$xu([
62027
62054
  customElement("obc-indicator-generator")
62028
62055
  ], ObcIndicatorGenerator);
62029
- const componentStyle$1i = i$7`* {
62056
+ const componentStyle$1j = i$7`* {
62030
62057
  -webkit-tap-highlight-color: transparent;
62031
62058
  }
62032
62059
 
@@ -62129,7 +62156,7 @@ let ObcIndicatorTankAtmospheric = class extends i$4 {
62129
62156
  `;
62130
62157
  }
62131
62158
  };
62132
- ObcIndicatorTankAtmospheric.styles = r$7(componentStyle$1i);
62159
+ ObcIndicatorTankAtmospheric.styles = r$7(componentStyle$1j);
62133
62160
  __decorateClass$xt([
62134
62161
  n$3({ type: String, reflect: true })
62135
62162
  ], ObcIndicatorTankAtmospheric.prototype, "direction", 2);
@@ -67545,7 +67572,7 @@ __decorateClass$w3([
67545
67572
  ObcTransformer = __decorateClass$w3([
67546
67573
  customElement("obc-transformer")
67547
67574
  ], ObcTransformer);
67548
- const componentStyle$1h = i$7`* {
67575
+ const componentStyle$1i = i$7`* {
67549
67576
  -webkit-tap-highlight-color: transparent;
67550
67577
  }
67551
67578
 
@@ -67784,7 +67811,7 @@ let ObcTransmitterButton = class extends i$4 {
67784
67811
  `;
67785
67812
  }
67786
67813
  };
67787
- ObcTransmitterButton.styles = r$7(componentStyle$1h);
67814
+ ObcTransmitterButton.styles = r$7(componentStyle$1i);
67788
67815
  __decorateClass$w2([
67789
67816
  n$3({ type: String })
67790
67817
  ], ObcTransmitterButton.prototype, "variant", 2);
@@ -67836,7 +67863,7 @@ __decorateClass$w2([
67836
67863
  ObcTransmitterButton = __decorateClass$w2([
67837
67864
  customElement("obc-transmitter-button")
67838
67865
  ], ObcTransmitterButton);
67839
- const componentStyle$1g = i$7`* {
67866
+ const componentStyle$1h = i$7`* {
67840
67867
  -webkit-tap-highlight-color: transparent;
67841
67868
  }
67842
67869
 
@@ -68058,7 +68085,7 @@ let ObcTransmitterStack = class extends i$4 {
68058
68085
  `;
68059
68086
  }
68060
68087
  };
68061
- ObcTransmitterStack.styles = r$7(componentStyle$1g);
68088
+ ObcTransmitterStack.styles = r$7(componentStyle$1h);
68062
68089
  __decorateClass$w1([
68063
68090
  n$3({ type: String })
68064
68091
  ], ObcTransmitterStack.prototype, "orientation", 2);
@@ -68071,7 +68098,7 @@ __decorateClass$w1([
68071
68098
  ObcTransmitterStack = __decorateClass$w1([
68072
68099
  customElement("obc-transmitter-stack")
68073
68100
  ], ObcTransmitterStack);
68074
- const componentStyle$1f = i$7`* {
68101
+ const componentStyle$1g = i$7`* {
68075
68102
  -webkit-tap-highlight-color: transparent;
68076
68103
  }
68077
68104
 
@@ -72929,7 +72956,7 @@ let ObcTransmitter = class extends i$4 {
72929
72956
  `;
72930
72957
  }
72931
72958
  };
72932
- ObcTransmitter.styles = r$7(componentStyle$1f);
72959
+ ObcTransmitter.styles = r$7(componentStyle$1g);
72933
72960
  __decorateClass$v$([
72934
72961
  n$3({ type: String })
72935
72962
  ], ObcTransmitter.prototype, "orientation", 2);
@@ -73309,7 +73336,7 @@ __decorateClass$vY([
73309
73336
  ObcAreaGraph = __decorateClass$vY([
73310
73337
  customElement("obc-area-graph")
73311
73338
  ], ObcAreaGraph);
73312
- const componentStyle$1e = i$7`* {
73339
+ const componentStyle$1f = i$7`* {
73313
73340
  -webkit-tap-highlight-color: transparent
73314
73341
  }
73315
73342
  /* NOTE: no custom CSS for this component yet */
@@ -73844,7 +73871,7 @@ let ObcDonutChart = class extends i$4 {
73844
73871
  }
73845
73872
  };
73846
73873
  ObcDonutChart.styles = [
73847
- r$7(componentStyle$1e),
73874
+ r$7(componentStyle$1f),
73848
73875
  r$7(chartCommonStyle),
73849
73876
  r$7(chartLegendStyle),
73850
73877
  r$7(chartDebugStyle)
@@ -73940,7 +73967,7 @@ let ObcLineGraph = class extends ObcChartLineBase {
73940
73967
  ObcLineGraph = __decorateClass$vW([
73941
73968
  customElement("obc-line-graph")
73942
73969
  ], ObcLineGraph);
73943
- const componentStyle$1d = i$7`* {
73970
+ const componentStyle$1e = i$7`* {
73944
73971
  -webkit-tap-highlight-color: transparent
73945
73972
  }
73946
73973
  /* NOTE: no custom CSS for this component yet */
@@ -74474,7 +74501,7 @@ let ObcPieChart = class extends i$4 {
74474
74501
  }
74475
74502
  };
74476
74503
  ObcPieChart.styles = [
74477
- r$7(componentStyle$1d),
74504
+ r$7(componentStyle$1e),
74478
74505
  r$7(chartCommonStyle),
74479
74506
  r$7(chartLegendStyle),
74480
74507
  r$7(chartDebugStyle)
@@ -74537,7 +74564,7 @@ __decorateClass$vV([
74537
74564
  ObcPieChart = __decorateClass$vV([
74538
74565
  customElement("obc-pie-chart")
74539
74566
  ], ObcPieChart);
74540
- const componentStyle$1c = i$7`* {
74567
+ const componentStyle$1d = i$7`* {
74541
74568
  -webkit-tap-highlight-color: transparent
74542
74569
  }
74543
74570
  /* NOTE: no custom CSS for this component yet */
@@ -74992,7 +75019,7 @@ let ObcPolarChart = class extends i$4 {
74992
75019
  }
74993
75020
  };
74994
75021
  ObcPolarChart.styles = [
74995
- r$7(componentStyle$1c),
75022
+ r$7(componentStyle$1d),
74996
75023
  r$7(chartCommonStyle),
74997
75024
  r$7(chartLegendStyle),
74998
75025
  r$7(chartDebugStyle)
@@ -75051,7 +75078,7 @@ __decorateClass$vU([
75051
75078
  ObcPolarChart = __decorateClass$vU([
75052
75079
  customElement("obc-polar-chart")
75053
75080
  ], ObcPolarChart);
75054
- const componentStyle$1b = i$7`* {
75081
+ const componentStyle$1c = i$7`* {
75055
75082
  -webkit-tap-highlight-color: transparent
75056
75083
  }
75057
75084
  /* NOTE: no custom CSS for this component yet */
@@ -75410,7 +75437,7 @@ let ObcRadialBarChart = class extends i$4 {
75410
75437
  }
75411
75438
  };
75412
75439
  ObcRadialBarChart.styles = [
75413
- r$7(componentStyle$1b),
75440
+ r$7(componentStyle$1c),
75414
75441
  r$7(chartCommonStyle),
75415
75442
  r$7(chartLegendStyle),
75416
75443
  r$7(chartDebugStyle)
@@ -77840,7 +77867,7 @@ __decorateClass$vN([
77840
77867
  ObcAccordionCard = __decorateClass$vN([
77841
77868
  customElement("obc-accordion-card")
77842
77869
  ], ObcAccordionCard);
77843
- const componentStyle$1a = i$7`* {
77870
+ const componentStyle$1b = i$7`* {
77844
77871
  -webkit-tap-highlight-color: transparent;
77845
77872
  }
77846
77873
 
@@ -78130,7 +78157,7 @@ let ObcAccordionItem = class extends i$4 {
78130
78157
  `;
78131
78158
  }
78132
78159
  };
78133
- ObcAccordionItem.styles = r$7(componentStyle$1a);
78160
+ ObcAccordionItem.styles = r$7(componentStyle$1b);
78134
78161
  __decorateClass$vM([
78135
78162
  n$3({ type: String })
78136
78163
  ], ObcAccordionItem.prototype, "title", 2);
@@ -78146,7 +78173,7 @@ __decorateClass$vM([
78146
78173
  ObcAccordionItem = __decorateClass$vM([
78147
78174
  customElement("obc-accordion-item")
78148
78175
  ], ObcAccordionItem);
78149
- const componentStyle$19 = i$7`* {
78176
+ const componentStyle$1a = i$7`* {
78150
78177
  -webkit-tap-highlight-color: transparent;
78151
78178
  }
78152
78179
 
@@ -78492,7 +78519,7 @@ let ObcAdviceButton = class extends i$4 {
78492
78519
  this.dispatchEvent(event);
78493
78520
  }
78494
78521
  };
78495
- ObcAdviceButton.styles = r$7(componentStyle$19);
78522
+ ObcAdviceButton.styles = r$7(componentStyle$1a);
78496
78523
  __decorateClass$vL([
78497
78524
  n$3({ type: String })
78498
78525
  ], ObcAdviceButton.prototype, "buttonStyle", 2);
@@ -78511,14 +78538,14 @@ __decorateClass$vL([
78511
78538
  ObcAdviceButton = __decorateClass$vL([
78512
78539
  customElement("obc-advice-button")
78513
78540
  ], ObcAdviceButton);
78514
- const componentStyle$18 = i$7`* {
78541
+ const componentStyle$19 = i$7`* {
78515
78542
  -webkit-tap-highlight-color: transparent;
78516
78543
  }
78517
78544
  :host {
78518
78545
  display: block;
78519
78546
  }
78520
78547
  `;
78521
- const componentStyle$17 = i$7`* {
78548
+ const componentStyle$18 = i$7`* {
78522
78549
  -webkit-tap-highlight-color: transparent;
78523
78550
  }
78524
78551
 
@@ -78950,7 +78977,7 @@ let ObcFloatingItem = class extends i$4 {
78950
78977
  `;
78951
78978
  }
78952
78979
  };
78953
- ObcFloatingItem.styles = r$7(componentStyle$17);
78980
+ ObcFloatingItem.styles = r$7(componentStyle$18);
78954
78981
  __decorateClass$vK([
78955
78982
  n$3({ type: String })
78956
78983
  ], ObcFloatingItem.prototype, "type", 2);
@@ -79039,7 +79066,7 @@ let ObcAdviceFloatingItem = class extends i$4 {
79039
79066
  `;
79040
79067
  }
79041
79068
  };
79042
- ObcAdviceFloatingItem.styles = r$7(componentStyle$18);
79069
+ ObcAdviceFloatingItem.styles = r$7(componentStyle$19);
79043
79070
  __decorateClass$vJ([
79044
79071
  n$3({ type: String })
79045
79072
  ], ObcAdviceFloatingItem.prototype, "type", 2);
@@ -79782,7 +79809,7 @@ __decorateClass$vG([
79782
79809
  ObcAdviceMenuItem = __decorateClass$vG([
79783
79810
  customElement("obc-advice-menu-item")
79784
79811
  ], ObcAdviceMenuItem);
79785
- const componentStyle$16 = i$7`* {
79812
+ const componentStyle$17 = i$7`* {
79786
79813
  -webkit-tap-highlight-color: transparent;
79787
79814
  }
79788
79815
  obi-notification-advice-active {
@@ -80471,7 +80498,7 @@ let ObcAdviceMessageItem = class extends i$4 {
80471
80498
  `;
80472
80499
  }
80473
80500
  };
80474
- ObcAdviceMessageItem.styles = r$7(componentStyle$16);
80501
+ ObcAdviceMessageItem.styles = r$7(componentStyle$17);
80475
80502
  __decorateClass$vE([
80476
80503
  n$3({ type: String })
80477
80504
  ], ObcAdviceMessageItem.prototype, "title", 2);
@@ -80514,7 +80541,7 @@ __decorateClass$vE([
80514
80541
  ObcAdviceMessageItem = __decorateClass$vE([
80515
80542
  customElement("obc-advice-message-item")
80516
80543
  ], ObcAdviceMessageItem);
80517
- const componentStyle$15 = i$7`* {
80544
+ const componentStyle$16 = i$7`* {
80518
80545
  -webkit-tap-highlight-color: transparent;
80519
80546
  }
80520
80547
 
@@ -82461,7 +82488,7 @@ const u = (e2, s2, t2) => {
82461
82488
  return this.ut = a2, p(s2, v$12), E;
82462
82489
  }
82463
82490
  });
82464
- const componentStyle$14 = i$7`* {
82491
+ const componentStyle$15 = i$7`* {
82465
82492
  -webkit-tap-highlight-color: transparent;
82466
82493
  }
82467
82494
 
@@ -82542,7 +82569,7 @@ let ObcAlertCounterItem = class extends i$4 {
82542
82569
  `;
82543
82570
  }
82544
82571
  };
82545
- ObcAlertCounterItem.styles = r$7(componentStyle$14);
82572
+ ObcAlertCounterItem.styles = r$7(componentStyle$15);
82546
82573
  __decorateClass$vw([
82547
82574
  n$3({ type: String })
82548
82575
  ], ObcAlertCounterItem.prototype, "type", 2);
@@ -82706,7 +82733,7 @@ let ObcAlertButtonItem = class extends i$4 {
82706
82733
  `;
82707
82734
  }
82708
82735
  };
82709
- ObcAlertButtonItem.styles = r$7(componentStyle$15);
82736
+ ObcAlertButtonItem.styles = r$7(componentStyle$16);
82710
82737
  __decorateClass$vv([
82711
82738
  n$3({ type: String })
82712
82739
  ], ObcAlertButtonItem.prototype, "type", 2);
@@ -83118,7 +83145,7 @@ ObcAlertButton = __decorateClass$vs([
83118
83145
  customElement("obc-alert-button"),
83119
83146
  localized()
83120
83147
  ], ObcAlertButton);
83121
- const componentStyle$13 = i$7`* {
83148
+ const componentStyle$14 = i$7`* {
83122
83149
  -webkit-tap-highlight-color: transparent;
83123
83150
  }
83124
83151
  :host {
@@ -83189,7 +83216,7 @@ let ObcAlertFloatingItem = class extends i$4 {
83189
83216
  `;
83190
83217
  }
83191
83218
  };
83192
- ObcAlertFloatingItem.styles = r$7(componentStyle$13);
83219
+ ObcAlertFloatingItem.styles = r$7(componentStyle$14);
83193
83220
  __decorateClass$vr([
83194
83221
  n$3({ type: String })
83195
83222
  ], ObcAlertFloatingItem.prototype, "type", 2);
@@ -85562,7 +85589,7 @@ __decorateClass$v8([
85562
85589
  ObcTableHeaderItem = __decorateClass$v8([
85563
85590
  customElement("obc-table-header-item")
85564
85591
  ], ObcTableHeaderItem);
85565
- const componentStyle$12 = i$7`* {
85592
+ const componentStyle$13 = i$7`* {
85566
85593
  -webkit-tap-highlight-color: transparent;
85567
85594
  }
85568
85595
 
@@ -85809,7 +85836,7 @@ let ObcTag = class extends i$4 {
85809
85836
  `;
85810
85837
  }
85811
85838
  };
85812
- ObcTag.styles = r$7(componentStyle$12);
85839
+ ObcTag.styles = r$7(componentStyle$13);
85813
85840
  __decorateClass$v7([
85814
85841
  n$3({ type: String })
85815
85842
  ], ObcTag.prototype, "label", 2);
@@ -88414,7 +88441,7 @@ ObcAlertMenu = __decorateClass$v0([
88414
88441
  localized(),
88415
88442
  customElement("obc-alert-menu")
88416
88443
  ], ObcAlertMenu);
88417
- const componentStyle$11 = i$7`* {
88444
+ const componentStyle$12 = i$7`* {
88418
88445
  -webkit-tap-highlight-color: transparent;
88419
88446
  }
88420
88447
 
@@ -88567,7 +88594,7 @@ let ObcAlertSubsystemCounter = class extends i$4 {
88567
88594
  `;
88568
88595
  }
88569
88596
  };
88570
- ObcAlertSubsystemCounter.styles = r$7(componentStyle$11);
88597
+ ObcAlertSubsystemCounter.styles = r$7(componentStyle$12);
88571
88598
  __decorateClass$u$([
88572
88599
  n$3({ type: String })
88573
88600
  ], ObcAlertSubsystemCounter.prototype, "label", 2);
@@ -89084,7 +89111,7 @@ const compentStyle$O = i$7`* {
89084
89111
  justify-items: center;
89085
89112
  }
89086
89113
  `;
89087
- const componentStyle$10 = i$7`* {
89114
+ const componentStyle$11 = i$7`* {
89088
89115
  -webkit-tap-highlight-color: transparent;
89089
89116
  }
89090
89117
 
@@ -89911,7 +89938,7 @@ let ObcTextInputField = class extends i$4 {
89911
89938
  `;
89912
89939
  }
89913
89940
  };
89914
- ObcTextInputField.styles = r$7(componentStyle$10);
89941
+ ObcTextInputField.styles = r$7(componentStyle$11);
89915
89942
  __decorateClass$uX([
89916
89943
  n$3({ type: String })
89917
89944
  ], ObcTextInputField.prototype, "value", 2);
@@ -90043,7 +90070,7 @@ ObcAppMenu.styles = r$7(compentStyle$O);
90043
90070
  ObcAppMenu = __decorateClass$uW([
90044
90071
  customElement("obc-app-menu")
90045
90072
  ], ObcAppMenu);
90046
- const componentStyle$$ = i$7`* {
90073
+ const componentStyle$10 = i$7`* {
90047
90074
  -webkit-tap-highlight-color: transparent;
90048
90075
  }
90049
90076
 
@@ -90398,7 +90425,7 @@ let ObcAttachmentListItem = class extends i$4 {
90398
90425
  `;
90399
90426
  }
90400
90427
  };
90401
- ObcAttachmentListItem.styles = r$7(componentStyle$$);
90428
+ ObcAttachmentListItem.styles = r$7(componentStyle$10);
90402
90429
  __decorateClass$uV([
90403
90430
  n$3({ type: String })
90404
90431
  ], ObcAttachmentListItem.prototype, "label", 2);
@@ -90513,7 +90540,7 @@ __decorateClass$uU([
90513
90540
  ObcAudioOutput = __decorateClass$uU([
90514
90541
  customElement("obc-audio-output")
90515
90542
  ], ObcAudioOutput);
90516
- const componentStyle$_ = i$7`* {
90543
+ const componentStyle$$ = i$7`* {
90517
90544
  -webkit-tap-highlight-color: transparent;
90518
90545
  }
90519
90546
 
@@ -90627,7 +90654,7 @@ const componentStyle$_ = i$7`* {
90627
90654
  min-width: 0;
90628
90655
  }
90629
90656
  `;
90630
- const componentStyle$Z = i$7`* {
90657
+ const componentStyle$_ = i$7`* {
90631
90658
  -webkit-tap-highlight-color: transparent;
90632
90659
  }
90633
90660
 
@@ -91248,7 +91275,7 @@ let ObcSlider = class extends i$4 {
91248
91275
  `;
91249
91276
  }
91250
91277
  };
91251
- ObcSlider.styles = r$7(componentStyle$Z);
91278
+ ObcSlider.styles = r$7(componentStyle$_);
91252
91279
  __decorateClass$uT([
91253
91280
  n$3({ type: Number })
91254
91281
  ], ObcSlider.prototype, "value", 2);
@@ -91549,7 +91576,7 @@ let ObcAudioRecordingItem = class extends i$4 {
91549
91576
  `;
91550
91577
  }
91551
91578
  };
91552
- ObcAudioRecordingItem.styles = r$7(componentStyle$_);
91579
+ ObcAudioRecordingItem.styles = r$7(componentStyle$$);
91553
91580
  __decorateClass$uQ([
91554
91581
  n$3({ type: Array })
91555
91582
  ], ObcAudioRecordingItem.prototype, "audioLevels", 2);
@@ -91948,7 +91975,7 @@ __decorateClass$uO([
91948
91975
  ObcBreadcrumb = __decorateClass$uO([
91949
91976
  customElement("obc-breadcrumb")
91950
91977
  ], ObcBreadcrumb);
91951
- const componentStyle$Y = i$7`* {
91978
+ const componentStyle$Z = i$7`* {
91952
91979
  -webkit-tap-highlight-color: transparent;
91953
91980
  }
91954
91981
 
@@ -92122,7 +92149,7 @@ const componentStyle$Y = i$7`* {
92122
92149
  width: auto;
92123
92150
  }
92124
92151
  `;
92125
- const componentStyle$X = i$7`* {
92152
+ const componentStyle$Y = i$7`* {
92126
92153
  -webkit-tap-highlight-color: transparent;
92127
92154
  }
92128
92155
 
@@ -92550,7 +92577,7 @@ let ObcToggleSwitch = class extends i$4 {
92550
92577
  `;
92551
92578
  }
92552
92579
  };
92553
- ObcToggleSwitch.styles = r$7(componentStyle$X);
92580
+ ObcToggleSwitch.styles = r$7(componentStyle$Y);
92554
92581
  __decorateClass$uN([
92555
92582
  n$3({ type: String })
92556
92583
  ], ObcToggleSwitch.prototype, "label", 2);
@@ -92578,7 +92605,7 @@ __decorateClass$uN([
92578
92605
  ObcToggleSwitch = __decorateClass$uN([
92579
92606
  customElement("obc-toggle-switch")
92580
92607
  ], ObcToggleSwitch);
92581
- const componentStyle$W = i$7`* {
92608
+ const componentStyle$X = i$7`* {
92582
92609
  -webkit-tap-highlight-color: transparent;
92583
92610
  }
92584
92611
 
@@ -93167,7 +93194,7 @@ let ObcToggleButtonOption = class extends i$4 {
93167
93194
  `;
93168
93195
  }
93169
93196
  };
93170
- ObcToggleButtonOption.styles = r$7(componentStyle$W);
93197
+ ObcToggleButtonOption.styles = r$7(componentStyle$X);
93171
93198
  __decorateClass$uM([
93172
93199
  n$3({ type: String })
93173
93200
  ], ObcToggleButtonOption.prototype, "value", 2);
@@ -93198,7 +93225,7 @@ __decorateClass$uM([
93198
93225
  ObcToggleButtonOption = __decorateClass$uM([
93199
93226
  customElement("obc-toggle-button-option")
93200
93227
  ], ObcToggleButtonOption);
93201
- const componentStyle$V = i$7`* {
93228
+ const componentStyle$W = i$7`* {
93202
93229
  -webkit-tap-highlight-color: transparent;
93203
93230
  }
93204
93231
 
@@ -93535,7 +93562,7 @@ let ObcToggleButtonGroup = class extends i$4 {
93535
93562
  `;
93536
93563
  }
93537
93564
  };
93538
- ObcToggleButtonGroup.styles = r$7(componentStyle$V);
93565
+ ObcToggleButtonGroup.styles = r$7(componentStyle$W);
93539
93566
  __decorateClass$uL([
93540
93567
  n$3({ type: String })
93541
93568
  ], ObcToggleButtonGroup.prototype, "value", 2);
@@ -95192,7 +95219,7 @@ let ObcBrillianceMenu = class extends i$4 {
95192
95219
  this.dispatchEvent(new CustomEvent("screen-control-link-clicked"));
95193
95220
  }
95194
95221
  };
95195
- ObcBrillianceMenu.styles = r$7(componentStyle$Y);
95222
+ ObcBrillianceMenu.styles = r$7(componentStyle$Z);
95196
95223
  __decorateClass$uz([
95197
95224
  n$3({ type: String })
95198
95225
  ], ObcBrillianceMenu.prototype, "palette", 2);
@@ -95248,7 +95275,7 @@ ObcBrillianceMenu = __decorateClass$uz([
95248
95275
  localized(),
95249
95276
  customElement("obc-brilliance-menu")
95250
95277
  ], ObcBrillianceMenu);
95251
- const componentStyle$U = i$7`* {
95278
+ const componentStyle$V = i$7`* {
95252
95279
  -webkit-tap-highlight-color: transparent;
95253
95280
  }
95254
95281
 
@@ -95470,7 +95497,7 @@ const componentStyle$U = i$7`* {
95470
95497
  flex-shrink: 0;
95471
95498
  }
95472
95499
  `;
95473
- const componentStyle$T = i$7`* {
95500
+ const componentStyle$U = i$7`* {
95474
95501
  -webkit-tap-highlight-color: transparent;
95475
95502
  }
95476
95503
 
@@ -95822,7 +95849,7 @@ let ObcEventItem = class extends i$4 {
95822
95849
  `;
95823
95850
  }
95824
95851
  };
95825
- ObcEventItem.styles = r$7(componentStyle$T);
95852
+ ObcEventItem.styles = r$7(componentStyle$U);
95826
95853
  __decorateClass$uy([
95827
95854
  n$3({ type: String })
95828
95855
  ], ObcEventItem.prototype, "title", 2);
@@ -95946,7 +95973,7 @@ function getMonthGrid(year, month, firstDayOfWeek = 1, events, today) {
95946
95973
  }
95947
95974
  return grid2;
95948
95975
  }
95949
- const componentStyle$S = i$7`* {
95976
+ const componentStyle$T = i$7`* {
95950
95977
  -webkit-tap-highlight-color: transparent;
95951
95978
  }
95952
95979
 
@@ -96761,7 +96788,7 @@ let ObcDateItem = class extends i$4 {
96761
96788
  };
96762
96789
  ObcDateItem._HEADER_HEIGHT = 48;
96763
96790
  ObcDateItem._EVENT_HEIGHT = 48;
96764
- ObcDateItem.styles = r$7(componentStyle$S);
96791
+ ObcDateItem.styles = r$7(componentStyle$T);
96765
96792
  __decorateClass$ux([
96766
96793
  n$3({ type: String })
96767
96794
  ], ObcDateItem.prototype, "size", 2);
@@ -96795,7 +96822,7 @@ __decorateClass$ux([
96795
96822
  ObcDateItem = __decorateClass$ux([
96796
96823
  customElement("obc-date-item")
96797
96824
  ], ObcDateItem);
96798
- const componentStyle$R = i$7`* {
96825
+ const componentStyle$S = i$7`* {
96799
96826
  -webkit-tap-highlight-color: transparent;
96800
96827
  }
96801
96828
 
@@ -96988,7 +97015,7 @@ let ObcEventList = class extends i$4 {
96988
97015
  `;
96989
97016
  }
96990
97017
  };
96991
- ObcEventList.styles = r$7(componentStyle$R);
97018
+ ObcEventList.styles = r$7(componentStyle$S);
96992
97019
  __decorateClass$uw([
96993
97020
  n$3({ type: Boolean, attribute: false })
96994
97021
  ], ObcEventList.prototype, "showHeader", 2);
@@ -98213,7 +98240,7 @@ let ObcCalendar = class extends i$4 {
98213
98240
  `;
98214
98241
  }
98215
98242
  };
98216
- ObcCalendar.styles = r$7(componentStyle$U);
98243
+ ObcCalendar.styles = r$7(componentStyle$V);
98217
98244
  __decorateClass$up([
98218
98245
  n$3({ type: String })
98219
98246
  ], ObcCalendar.prototype, "type", 2);
@@ -99621,7 +99648,7 @@ __decorateClass$uk([
99621
99648
  ObcCheckButton = __decorateClass$uk([
99622
99649
  customElement("obc-check-button")
99623
99650
  ], ObcCheckButton);
99624
- const componentStyle$Q = i$7`* {
99651
+ const componentStyle$R = i$7`* {
99625
99652
  -webkit-tap-highlight-color: transparent;
99626
99653
  }
99627
99654
 
@@ -99711,7 +99738,7 @@ let ObcCheckboxList = class extends i$4 {
99711
99738
  </div>`;
99712
99739
  }
99713
99740
  };
99714
- ObcCheckboxList.styles = r$7(componentStyle$Q);
99741
+ ObcCheckboxList.styles = r$7(componentStyle$R);
99715
99742
  __decorateClass$uj([
99716
99743
  n$3({ type: String })
99717
99744
  ], ObcCheckboxList.prototype, "hoverStyle", 2);
@@ -100651,7 +100678,7 @@ const compentStyle$D = i$7`* {
100651
100678
  "ss04" on;
100652
100679
  }
100653
100680
  `;
100654
- const componentStyle$P = i$7`* {
100681
+ const componentStyle$Q = i$7`* {
100655
100682
  -webkit-tap-highlight-color: transparent;
100656
100683
  }
100657
100684
 
@@ -101378,7 +101405,7 @@ let ObcStartStopSwitch = class extends i$4 {
101378
101405
  `;
101379
101406
  }
101380
101407
  };
101381
- ObcStartStopSwitch.styles = r$7(componentStyle$P);
101408
+ ObcStartStopSwitch.styles = r$7(componentStyle$Q);
101382
101409
  __decorateClass$ue([
101383
101410
  n$3({ type: Boolean, reflect: true })
101384
101411
  ], ObcStartStopSwitch.prototype, "checked", 2);
@@ -103505,7 +103532,7 @@ __decorateClass$u7([
103505
103532
  ObcFilterChip = __decorateClass$u7([
103506
103533
  customElement("obc-filter-chip")
103507
103534
  ], ObcFilterChip);
103508
- const componentStyle$O = i$7`* {
103535
+ const componentStyle$P = i$7`* {
103509
103536
  -webkit-tap-highlight-color: transparent;
103510
103537
  }
103511
103538
 
@@ -103705,7 +103732,7 @@ let ObcFormContainer = class extends i$4 {
103705
103732
  `;
103706
103733
  }
103707
103734
  };
103708
- ObcFormContainer.styles = r$7(componentStyle$O);
103735
+ ObcFormContainer.styles = r$7(componentStyle$P);
103709
103736
  __decorateClass$u6([
103710
103737
  n$3({ type: String })
103711
103738
  ], ObcFormContainer.prototype, "type", 2);
@@ -103715,7 +103742,7 @@ __decorateClass$u6([
103715
103742
  ObcFormContainer = __decorateClass$u6([
103716
103743
  customElement("obc-form-container")
103717
103744
  ], ObcFormContainer);
103718
- const componentStyle$N = i$7`* {
103745
+ const componentStyle$O = i$7`* {
103719
103746
  -webkit-tap-highlight-color: transparent;
103720
103747
  }
103721
103748
 
@@ -103819,14 +103846,14 @@ let ObcFormFooterContainer = class extends i$4 {
103819
103846
  `;
103820
103847
  }
103821
103848
  };
103822
- ObcFormFooterContainer.styles = r$7(componentStyle$N);
103849
+ ObcFormFooterContainer.styles = r$7(componentStyle$O);
103823
103850
  __decorateClass$u5([
103824
103851
  n$3({ type: Boolean, attribute: "has-actions" })
103825
103852
  ], ObcFormFooterContainer.prototype, "hasActions", 2);
103826
103853
  ObcFormFooterContainer = __decorateClass$u5([
103827
103854
  customElement("obc-form-footer-container")
103828
103855
  ], ObcFormFooterContainer);
103829
- const componentStyle$M = i$7`* {
103856
+ const componentStyle$N = i$7`* {
103830
103857
  -webkit-tap-highlight-color: transparent;
103831
103858
  }
103832
103859
 
@@ -104046,14 +104073,14 @@ let ObcFormGroup = class extends i$4 {
104046
104073
  `;
104047
104074
  }
104048
104075
  };
104049
- ObcFormGroup.styles = r$7(componentStyle$M);
104076
+ ObcFormGroup.styles = r$7(componentStyle$N);
104050
104077
  __decorateClass$u4([
104051
104078
  n$3({ type: String })
104052
104079
  ], ObcFormGroup.prototype, "type", 2);
104053
104080
  ObcFormGroup = __decorateClass$u4([
104054
104081
  customElement("obc-form-group")
104055
104082
  ], ObcFormGroup);
104056
- const componentStyle$L = i$7`* {
104083
+ const componentStyle$M = i$7`* {
104057
104084
  -webkit-tap-highlight-color: transparent;
104058
104085
  }
104059
104086
 
@@ -104449,7 +104476,7 @@ let ObcFormItem = class extends i$4 {
104449
104476
  `;
104450
104477
  }
104451
104478
  };
104452
- ObcFormItem.styles = r$7(componentStyle$L);
104479
+ ObcFormItem.styles = r$7(componentStyle$M);
104453
104480
  __decorateClass$u3([
104454
104481
  n$3({ type: String })
104455
104482
  ], ObcFormItem.prototype, "type", 2);
@@ -105064,7 +105091,7 @@ __decorateClass$u1([
105064
105091
  ObcInputChip = __decorateClass$u1([
105065
105092
  customElement("obc-input-chip")
105066
105093
  ], ObcInputChip);
105067
- const componentStyle$K = i$7`* {
105094
+ const componentStyle$L = i$7`* {
105068
105095
  -webkit-tap-highlight-color: transparent;
105069
105096
  }
105070
105097
 
@@ -105904,7 +105931,7 @@ let ObcKeyboardFull = class extends i$4 {
105904
105931
  `;
105905
105932
  }
105906
105933
  };
105907
- ObcKeyboardFull.styles = r$7(componentStyle$K);
105934
+ ObcKeyboardFull.styles = r$7(componentStyle$L);
105908
105935
  __decorateClass$t_([
105909
105936
  n$3({ type: String })
105910
105937
  ], ObcKeyboardFull.prototype, "type", 2);
@@ -105941,7 +105968,7 @@ __decorateClass$t_([
105941
105968
  ObcKeyboardFull = __decorateClass$t_([
105942
105969
  customElement("obc-keyboard-full")
105943
105970
  ], ObcKeyboardFull);
105944
- const componentStyle$J = i$7`* {
105971
+ const componentStyle$K = i$7`* {
105945
105972
  -webkit-tap-highlight-color: transparent;
105946
105973
  }
105947
105974
 
@@ -106318,7 +106345,7 @@ __decorateClass$tW([
106318
106345
  ObiEqual = __decorateClass$tW([
106319
106346
  customElement("obi-equal")
106320
106347
  ], ObiEqual);
106321
- const componentStyle$I = i$7`* {
106348
+ const componentStyle$J = i$7`* {
106322
106349
  -webkit-tap-highlight-color: transparent;
106323
106350
  }
106324
106351
 
@@ -107234,7 +107261,7 @@ let ObcNumberInputField = class extends i$4 {
107234
107261
  `;
107235
107262
  }
107236
107263
  };
107237
- ObcNumberInputField.styles = r$7(componentStyle$I);
107264
+ ObcNumberInputField.styles = r$7(componentStyle$J);
107238
107265
  __decorateClass$tV([
107239
107266
  n$3({ type: Number })
107240
107267
  ], ObcNumberInputField.prototype, "value", 2);
@@ -107679,7 +107706,7 @@ let ObcKeyboardNumeric = class extends i$4 {
107679
107706
  `;
107680
107707
  }
107681
107708
  };
107682
- ObcKeyboardNumeric.styles = r$7(componentStyle$J);
107709
+ ObcKeyboardNumeric.styles = r$7(componentStyle$K);
107683
107710
  __decorateClass$tU([
107684
107711
  n$3({ type: String })
107685
107712
  ], ObcKeyboardNumeric.prototype, "type", 2);
@@ -108172,7 +108199,7 @@ __decorateClass$tT([
108172
108199
  ObcMenuButton = __decorateClass$tT([
108173
108200
  customElement("obc-menu-button")
108174
108201
  ], ObcMenuButton);
108175
- const componentStyle$H = i$7`* {
108202
+ const componentStyle$I = i$7`* {
108176
108203
  -webkit-tap-highlight-color: transparent;
108177
108204
  }
108178
108205
 
@@ -108439,7 +108466,7 @@ let ObcModalWindow = class extends i$4 {
108439
108466
  `;
108440
108467
  }
108441
108468
  };
108442
- ObcModalWindow.styles = r$7(componentStyle$H);
108469
+ ObcModalWindow.styles = r$7(componentStyle$I);
108443
108470
  __decorateClass$tS([
108444
108471
  n$3({ type: String })
108445
108472
  ], ObcModalWindow.prototype, "size", 2);
@@ -108458,7 +108485,7 @@ __decorateClass$tS([
108458
108485
  ObcModalWindow = __decorateClass$tS([
108459
108486
  customElement("obc-modal-window")
108460
108487
  ], ObcModalWindow);
108461
- const componentStyle$G = i$7`* {
108488
+ const componentStyle$H = i$7`* {
108462
108489
  -webkit-tap-highlight-color: transparent;
108463
108490
  }
108464
108491
 
@@ -108647,7 +108674,7 @@ let ObcNotificationBadgeButton = class extends i$4 {
108647
108674
  `;
108648
108675
  }
108649
108676
  };
108650
- ObcNotificationBadgeButton.styles = r$7(componentStyle$G);
108677
+ ObcNotificationBadgeButton.styles = r$7(componentStyle$H);
108651
108678
  __decorateClass$tR([
108652
108679
  n$3({ type: Boolean })
108653
108680
  ], ObcNotificationBadgeButton.prototype, "openRight", 2);
@@ -108672,7 +108699,7 @@ __decorateClass$tR([
108672
108699
  ObcNotificationBadgeButton = __decorateClass$tR([
108673
108700
  customElement("obc-notification-badge-button")
108674
108701
  ], ObcNotificationBadgeButton);
108675
- const componentStyle$F = i$7`* {
108702
+ const componentStyle$G = i$7`* {
108676
108703
  -webkit-tap-highlight-color: transparent;
108677
108704
  }
108678
108705
 
@@ -109155,7 +109182,7 @@ let ObcNotificationButton = class extends i$4 {
109155
109182
  this.dispatchEvent(event);
109156
109183
  }
109157
109184
  };
109158
- ObcNotificationButton.styles = r$7(componentStyle$F);
109185
+ ObcNotificationButton.styles = r$7(componentStyle$G);
109159
109186
  __decorateClass$tP([
109160
109187
  n$3({ type: String })
109161
109188
  ], ObcNotificationButton.prototype, "buttonStyle", 2);
@@ -109174,7 +109201,7 @@ __decorateClass$tP([
109174
109201
  ObcNotificationButton = __decorateClass$tP([
109175
109202
  customElement("obc-notification-button")
109176
109203
  ], ObcNotificationButton);
109177
- const componentStyle$E = i$7`* {
109204
+ const componentStyle$F = i$7`* {
109178
109205
  -webkit-tap-highlight-color: transparent
109179
109206
  }`;
109180
109207
  var __defProp$tM = Object.defineProperty;
@@ -109241,7 +109268,7 @@ let ObcNotificationFloatingItem = class extends i$4 {
109241
109268
  `;
109242
109269
  }
109243
109270
  };
109244
- ObcNotificationFloatingItem.styles = r$7(componentStyle$E);
109271
+ ObcNotificationFloatingItem.styles = r$7(componentStyle$F);
109245
109272
  __decorateClass$tO([
109246
109273
  n$3({ type: String })
109247
109274
  ], ObcNotificationFloatingItem.prototype, "type", 2);
@@ -109361,7 +109388,7 @@ __decorateClass$tN([
109361
109388
  ObcNotificationMenuItem = __decorateClass$tN([
109362
109389
  customElement("obc-notification-menu-item")
109363
109390
  ], ObcNotificationMenuItem);
109364
- const componentStyle$D = i$7`* {
109391
+ const componentStyle$E = i$7`* {
109365
109392
  -webkit-tap-highlight-color: transparent;
109366
109393
  }
109367
109394
  obi-notification-filled {
@@ -109459,7 +109486,7 @@ let ObcNotificationMessageItem = class extends i$4 {
109459
109486
  `;
109460
109487
  }
109461
109488
  };
109462
- ObcNotificationMessageItem.styles = r$7(componentStyle$D);
109489
+ ObcNotificationMessageItem.styles = r$7(componentStyle$E);
109463
109490
  __decorateClass$tM([
109464
109491
  n$3({ type: String })
109465
109492
  ], ObcNotificationMessageItem.prototype, "title", 2);
@@ -109853,7 +109880,7 @@ __decorateClass$tJ([
109853
109880
  ObcPagination = __decorateClass$tJ([
109854
109881
  customElement("obc-pagination")
109855
109882
  ], ObcPagination);
109856
- const componentStyle$C = i$7`* {
109883
+ const componentStyle$D = i$7`* {
109857
109884
  -webkit-tap-highlight-color: transparent;
109858
109885
  }
109859
109886
 
@@ -110328,7 +110355,7 @@ let ObcPivotItemGroup = class extends i$4 {
110328
110355
  `;
110329
110356
  }
110330
110357
  };
110331
- ObcPivotItemGroup.styles = r$7(componentStyle$C);
110358
+ ObcPivotItemGroup.styles = r$7(componentStyle$D);
110332
110359
  __decorateClass$tH([
110333
110360
  n$3({ type: String })
110334
110361
  ], ObcPivotItemGroup.prototype, "direction", 2);
@@ -110341,7 +110368,7 @@ __decorateClass$tH([
110341
110368
  ObcPivotItemGroup = __decorateClass$tH([
110342
110369
  customElement("obc-pivot-item-group")
110343
110370
  ], ObcPivotItemGroup);
110344
- const componentStyle$B = i$7`* {
110371
+ const componentStyle$C = i$7`* {
110345
110372
  -webkit-tap-highlight-color: transparent;
110346
110373
  }
110347
110374
 
@@ -110721,7 +110748,7 @@ let ObcProgressBar = class extends i$4 {
110721
110748
  }
110722
110749
  }
110723
110750
  };
110724
- ObcProgressBar.styles = r$7(componentStyle$B);
110751
+ ObcProgressBar.styles = r$7(componentStyle$C);
110725
110752
  __decorateClass$tG([
110726
110753
  n$3({ type: String })
110727
110754
  ], ObcProgressBar.prototype, "type", 2);
@@ -110761,7 +110788,7 @@ __decorateClass$tG([
110761
110788
  ObcProgressBar = __decorateClass$tG([
110762
110789
  customElement("obc-progress-bar")
110763
110790
  ], ObcProgressBar);
110764
- const componentStyle$A = i$7`* {
110791
+ const componentStyle$B = i$7`* {
110765
110792
  -webkit-tap-highlight-color: transparent;
110766
110793
  }
110767
110794
 
@@ -111486,7 +111513,7 @@ let ObcProgressButton = class extends i$4 {
111486
111513
  this.dispatchEvent(event);
111487
111514
  }
111488
111515
  };
111489
- ObcProgressButton.styles = r$7(componentStyle$A);
111516
+ ObcProgressButton.styles = r$7(componentStyle$B);
111490
111517
  __decorateClass$tF([
111491
111518
  n$3({ type: String })
111492
111519
  ], ObcProgressButton.prototype, "type", 2);
@@ -111832,7 +111859,7 @@ __decorateClass$tE([
111832
111859
  ObcRichButton = __decorateClass$tE([
111833
111860
  customElement("obc-rich-button")
111834
111861
  ], ObcRichButton);
111835
- const componentStyle$z = i$7`* {
111862
+ const componentStyle$A = i$7`* {
111836
111863
  -webkit-tap-highlight-color: transparent;
111837
111864
  }
111838
111865
  .sequence-card {
@@ -112939,7 +112966,7 @@ button {
112939
112966
  border-color: var(--normal-hover-border-color, currentColor);
112940
112967
  }
112941
112968
  `;
112942
- const componentStyle$y = i$7`* {
112969
+ const componentStyle$z = i$7`* {
112943
112970
  -webkit-tap-highlight-color: transparent;
112944
112971
  }
112945
112972
 
@@ -113302,7 +113329,7 @@ let ObcSequenceLoadingSpinner = class extends i$4 {
113302
113329
  `;
113303
113330
  }
113304
113331
  };
113305
- ObcSequenceLoadingSpinner.styles = r$7(componentStyle$y);
113332
+ ObcSequenceLoadingSpinner.styles = r$7(componentStyle$z);
113306
113333
  __decorateClass$tD([
113307
113334
  n$3({ type: String })
113308
113335
  ], ObcSequenceLoadingSpinner.prototype, "type", 2);
@@ -113945,7 +113972,7 @@ let ObcSequenceCard = class extends i$4 {
113945
113972
  `;
113946
113973
  }
113947
113974
  };
113948
- ObcSequenceCard.styles = r$7(componentStyle$z);
113975
+ ObcSequenceCard.styles = r$7(componentStyle$A);
113949
113976
  __decorateClass$tB([
113950
113977
  n$3({ type: String })
113951
113978
  ], ObcSequenceCard.prototype, "size", 2);
@@ -114012,7 +114039,7 @@ __decorateClass$tB([
114012
114039
  ObcSequenceCard = __decorateClass$tB([
114013
114040
  customElement("obc-sequence-card")
114014
114041
  ], ObcSequenceCard);
114015
- const componentStyle$x = i$7`* {
114042
+ const componentStyle$y = i$7`* {
114016
114043
  -webkit-tap-highlight-color: transparent;
114017
114044
  }
114018
114045
  .sequence-connector .line {
@@ -114164,7 +114191,7 @@ let ObcSequenceConnector = class extends i$4 {
114164
114191
  `;
114165
114192
  }
114166
114193
  };
114167
- ObcSequenceConnector.styles = r$7(componentStyle$x);
114194
+ ObcSequenceConnector.styles = r$7(componentStyle$y);
114168
114195
  __decorateClass$tA([
114169
114196
  n$3({ type: String })
114170
114197
  ], ObcSequenceConnector.prototype, "type", 2);
@@ -114685,7 +114712,7 @@ __decorateClass$tz([
114685
114712
  ObcSequenceItem = __decorateClass$tz([
114686
114713
  customElement("obc-sequence-item")
114687
114714
  ], ObcSequenceItem);
114688
- const componentStyle$w = i$7`* {
114715
+ const componentStyle$x = i$7`* {
114689
114716
  -webkit-tap-highlight-color: transparent;
114690
114717
  }
114691
114718
 
@@ -114813,7 +114840,7 @@ let ObcSequenceModal = class extends i$4 {
114813
114840
  `;
114814
114841
  }
114815
114842
  };
114816
- ObcSequenceModal.styles = r$7(componentStyle$w);
114843
+ ObcSequenceModal.styles = r$7(componentStyle$x);
114817
114844
  __decorateClass$ty([
114818
114845
  n$3({ type: String })
114819
114846
  ], ObcSequenceModal.prototype, "type", 2);
@@ -115097,7 +115124,7 @@ __decorateClass$tx([
115097
115124
  ObcSequenceToolbar = __decorateClass$tx([
115098
115125
  customElement("obc-sequence-toolbar")
115099
115126
  ], ObcSequenceToolbar);
115100
- const componentStyle$v = i$7`* {
115127
+ const componentStyle$w = i$7`* {
115101
115128
  -webkit-tap-highlight-color: transparent;
115102
115129
  }
115103
115130
 
@@ -115545,7 +115572,7 @@ let ObcSlideButton = class extends i$4 {
115545
115572
  `;
115546
115573
  }
115547
115574
  };
115548
- ObcSlideButton.styles = r$7(componentStyle$v);
115575
+ ObcSlideButton.styles = r$7(componentStyle$w);
115549
115576
  __decorateClass$tw([
115550
115577
  n$3({ type: Boolean })
115551
115578
  ], ObcSlideButton.prototype, "disabled", 2);
@@ -115573,7 +115600,7 @@ __decorateClass$tw([
115573
115600
  ObcSlideButton = __decorateClass$tw([
115574
115601
  customElement("obc-slide-button")
115575
115602
  ], ObcSlideButton);
115576
- const componentStyle$u = i$7`* {
115603
+ const componentStyle$v = i$7`* {
115577
115604
  -webkit-tap-highlight-color: transparent;
115578
115605
  }
115579
115606
 
@@ -116264,7 +116291,7 @@ let ObcSliderDouble = class extends i$4 {
116264
116291
  `;
116265
116292
  }
116266
116293
  };
116267
- ObcSliderDouble.styles = r$7(componentStyle$u);
116294
+ ObcSliderDouble.styles = r$7(componentStyle$v);
116268
116295
  __decorateClass$tv([
116269
116296
  n$3({ type: Number })
116270
116297
  ], ObcSliderDouble.prototype, "low", 2);
@@ -120443,7 +120470,7 @@ __decorateClass$ta([
120443
120470
  ObcTabRow = __decorateClass$ta([
120444
120471
  customElement("obc-tab-row")
120445
120472
  ], ObcTabRow);
120446
- const componentStyle$t = i$7`* {
120473
+ const componentStyle$u = i$7`* {
120447
120474
  -webkit-tap-highlight-color: transparent;
120448
120475
  }
120449
120476
 
@@ -121537,7 +121564,7 @@ let ObcTextareaField = class extends i$4 {
121537
121564
  `;
121538
121565
  }
121539
121566
  };
121540
- ObcTextareaField.styles = r$7(componentStyle$t);
121567
+ ObcTextareaField.styles = r$7(componentStyle$u);
121541
121568
  __decorateClass$t5([
121542
121569
  n$3({ type: String })
121543
121570
  ], ObcTextareaField.prototype, "type", 2);
@@ -121629,7 +121656,7 @@ ObcTextareaField = __decorateClass$t5([
121629
121656
  customElement("obc-textarea-field"),
121630
121657
  localized()
121631
121658
  ], ObcTextareaField);
121632
- const componentStyle$s = i$7`* {
121659
+ const componentStyle$t = i$7`* {
121633
121660
  -webkit-tap-highlight-color: transparent;
121634
121661
  }
121635
121662
 
@@ -121835,7 +121862,7 @@ let ObcTitleContainer = class extends i$4 {
121835
121862
  `;
121836
121863
  }
121837
121864
  };
121838
- ObcTitleContainer.styles = r$7(componentStyle$s);
121865
+ ObcTitleContainer.styles = r$7(componentStyle$t);
121839
121866
  __decorateClass$t4([
121840
121867
  n$3({ type: String })
121841
121868
  ], ObcTitleContainer.prototype, "state", 2);
@@ -121848,7 +121875,7 @@ __decorateClass$t4([
121848
121875
  ObcTitleContainer = __decorateClass$t4([
121849
121876
  customElement("obc-title-container")
121850
121877
  ], ObcTitleContainer);
121851
- const componentStyle$r = i$7`* {
121878
+ const componentStyle$s = i$7`* {
121852
121879
  -webkit-tap-highlight-color: transparent;
121853
121880
  }
121854
121881
 
@@ -121989,7 +122016,7 @@ let ObcToggleButtonThreeState = class extends i$4 {
121989
122016
  `;
121990
122017
  }
121991
122018
  };
121992
- ObcToggleButtonThreeState.styles = r$7(componentStyle$r);
122019
+ ObcToggleButtonThreeState.styles = r$7(componentStyle$s);
121993
122020
  __decorateClass$t3([
121994
122021
  n$3({ type: String })
121995
122022
  ], ObcToggleButtonThreeState.prototype, "state", 2);
@@ -123378,7 +123405,7 @@ __decorateClass$t0([
123378
123405
  ObcToggletip = __decorateClass$t0([
123379
123406
  customElement("obc-toggletip")
123380
123407
  ], ObcToggletip);
123381
- const componentStyle$q = i$7`* {
123408
+ const componentStyle$r = i$7`* {
123382
123409
  -webkit-tap-highlight-color: transparent;
123383
123410
  }
123384
123411
 
@@ -123609,7 +123636,7 @@ let ObcTooltip = class extends i$4 {
123609
123636
  `;
123610
123637
  }
123611
123638
  };
123612
- ObcTooltip.styles = r$7(componentStyle$q);
123639
+ ObcTooltip.styles = r$7(componentStyle$r);
123613
123640
  __decorateClass$s$([
123614
123641
  n$3({ type: String })
123615
123642
  ], ObcTooltip.prototype, "type", 2);
@@ -124297,7 +124324,7 @@ __decorateClass$sW([
124297
124324
  ObcTopBar = __decorateClass$sW([
124298
124325
  customElement("obc-top-bar")
124299
124326
  ], ObcTopBar);
124300
- const componentStyle$p = i$7`* {
124327
+ const componentStyle$q = i$7`* {
124301
124328
  -webkit-tap-highlight-color: transparent;
124302
124329
  }
124303
124330
 
@@ -124374,7 +124401,7 @@ let ObcTreeNavigationGroup = class extends i$4 {
124374
124401
  `;
124375
124402
  }
124376
124403
  };
124377
- ObcTreeNavigationGroup.styles = r$7(componentStyle$p);
124404
+ ObcTreeNavigationGroup.styles = r$7(componentStyle$q);
124378
124405
  __decorateClass$sV([
124379
124406
  n$3({ type: String })
124380
124407
  ], ObcTreeNavigationGroup.prototype, "label", 2);
@@ -124408,7 +124435,7 @@ __decorateClass$sV([
124408
124435
  ObcTreeNavigationGroup = __decorateClass$sV([
124409
124436
  customElement("obc-tree-navigation-group")
124410
124437
  ], ObcTreeNavigationGroup);
124411
- const componentStyle$o = i$7`* {
124438
+ const componentStyle$p = i$7`* {
124412
124439
  -webkit-tap-highlight-color: transparent;
124413
124440
  }
124414
124441
 
@@ -124526,11 +124553,11 @@ let ObcTreeNavigation = class extends i$4 {
124526
124553
  </div>`;
124527
124554
  }
124528
124555
  };
124529
- ObcTreeNavigation.styles = r$7(componentStyle$o);
124556
+ ObcTreeNavigation.styles = r$7(componentStyle$p);
124530
124557
  ObcTreeNavigation = __decorateClass$sU([
124531
124558
  customElement("obc-tree-navigation")
124532
124559
  ], ObcTreeNavigation);
124533
- const componentStyle$n = i$7`* {
124560
+ const componentStyle$o = i$7`* {
124534
124561
  -webkit-tap-highlight-color: transparent;
124535
124562
  }
124536
124563
 
@@ -125284,7 +125311,7 @@ let ObcUserMenu = class extends i$4 {
125284
125311
  `;
125285
125312
  }
125286
125313
  };
125287
- ObcUserMenu.styles = r$7(componentStyle$n);
125314
+ ObcUserMenu.styles = r$7(componentStyle$o);
125288
125315
  __decorateClass$sS([
125289
125316
  n$3({ type: String })
125290
125317
  ], ObcUserMenu.prototype, "type", 2);
@@ -222517,7 +222544,7 @@ __decorateClass$Z([
222517
222544
  ObcIntegrationFleetButton = __decorateClass$Z([
222518
222545
  customElement("obc-integration-fleet-button")
222519
222546
  ], ObcIntegrationFleetButton);
222520
- const componentStyle$m = i$7`* {
222547
+ const componentStyle$n = i$7`* {
222521
222548
  -webkit-tap-highlight-color: transparent;
222522
222549
  }
222523
222550
 
@@ -222685,7 +222712,7 @@ let ObcIntegrationVesselMenu = class extends i$4 {
222685
222712
  `;
222686
222713
  }
222687
222714
  };
222688
- ObcIntegrationVesselMenu.styles = r$7(componentStyle$m);
222715
+ ObcIntegrationVesselMenu.styles = r$7(componentStyle$n);
222689
222716
  __decorateClass$Y([
222690
222717
  n$3({ type: Boolean, attribute: false })
222691
222718
  ], ObcIntegrationVesselMenu.prototype, "hasActions", 2);
@@ -224027,7 +224054,7 @@ function thrusterColors(options, state, priority) {
224027
224054
  arrowColor: arrowColor2
224028
224055
  };
224029
224056
  }
224030
- const componentStyle$l = i$7`* {
224057
+ const componentStyle$m = i$7`* {
224031
224058
  -webkit-tap-highlight-color: transparent;
224032
224059
  }
224033
224060
 
@@ -224289,7 +224316,7 @@ let ObcAzimuthThruster = class extends i$4 {
224289
224316
  this._thrustSp.dispose();
224290
224317
  }
224291
224318
  };
224292
- ObcAzimuthThruster.styles = r$7(componentStyle$l);
224319
+ ObcAzimuthThruster.styles = r$7(componentStyle$m);
224293
224320
  __decorateClass$U([
224294
224321
  n$3({ type: Number })
224295
224322
  ], ObcAzimuthThruster.prototype, "angle", 2);
@@ -224722,7 +224749,7 @@ __decorateClass$S([
224722
224749
  ObcBearingIndicator = __decorateClass$S([
224723
224750
  customElement("obc-bearing-indicator")
224724
224751
  ], ObcBearingIndicator);
224725
- const componentStyle$k = i$7`* {
224752
+ const componentStyle$l = i$7`* {
224726
224753
  -webkit-tap-highlight-color: transparent;
224727
224754
  }
224728
224755
 
@@ -225568,7 +225595,7 @@ ObcCompassFlat.READOUT_RESERVE_PX = 56;
225568
225595
  ObcCompassFlat.styles = [
225569
225596
  r$7(instrumentReadoutStyle),
225570
225597
  centerReadoutStyles,
225571
- r$7(componentStyle$k)
225598
+ r$7(componentStyle$l)
225572
225599
  ];
225573
225600
  __decorateClass$Q([
225574
225601
  n$3({ type: Boolean })
@@ -225642,7 +225669,7 @@ __decorateClass$Q([
225642
225669
  ObcCompassFlat = __decorateClass$Q([
225643
225670
  customElement("obc-compass-flat")
225644
225671
  ], ObcCompassFlat);
225645
- const componentStyle$j = i$7`* {
225672
+ const componentStyle$k = i$7`* {
225646
225673
  -webkit-tap-highlight-color: transparent;
225647
225674
  }
225648
225675
  svg {
@@ -225959,7 +225986,7 @@ let ObcCompassIndicator = class extends i$4 {
225959
225986
  );
225960
225987
  }
225961
225988
  };
225962
- ObcCompassIndicator.styles = r$7(componentStyle$j);
225989
+ ObcCompassIndicator.styles = r$7(componentStyle$k);
225963
225990
  __decorateClass$P([
225964
225991
  n$3({ type: Number })
225965
225992
  ], ObcCompassIndicator.prototype, "angle", 2);
@@ -225975,7 +226002,7 @@ __decorateClass$P([
225975
226002
  ObcCompassIndicator = __decorateClass$P([
225976
226003
  customElement("obc-compass-indicator")
225977
226004
  ], ObcCompassIndicator);
225978
- const componentStyle$i = i$7`* {
226005
+ const componentStyle$j = i$7`* {
225979
226006
  -webkit-tap-highlight-color: transparent;
225980
226007
  }
225981
226008
 
@@ -225997,6 +226024,13 @@ const componentStyle$i = i$7`* {
225997
226024
  height: 100%;
225998
226025
  }
225999
226026
 
226027
+ .container > svg {
226028
+ /* The arc is drawn where it points and rotated into the window, so it paints
226029
+ outside the cropped viewBox; \`transform-origin\` (set inline) keeps that
226030
+ rotation on the compass centre. */
226031
+ overflow: visible;
226032
+ }
226033
+
226000
226034
  .container > .readout {
226001
226035
  left: 50%;
226002
226036
  width: auto;
@@ -226006,17 +226040,19 @@ const componentStyle$i = i$7`* {
226006
226040
 
226007
226041
  :host {
226008
226042
  display: block;
226009
- width: 100%;
226010
- height: 100%;
226011
- /* Clips the rotated overlay <svg transform="rotate(...)">, whose corners
226012
- swing outside the host and leak arc pixels in wide layouts (same
226013
- protection obc-watch has had since #994). Known trade-off: the HDG/COG
226014
- arrow apexes previously painted 1-2px past the host's top edge and are
226015
- now shaved flat at the box edge — imperceptible at normal viewing.
226016
- TODO(designer): if the shave is unwanted, the frame needs headroom so
226017
- the arrow tips fit inside the box — see "Host clipping & the arrow-apex
226018
- shave" in docs/agents/watch-radial-instruments.md before changing
226019
- (interacts with the #1021/#1049 label-reserve geometry). */
226043
+ /* The element is the cropped canvas, not a square holding one, so the
226044
+ aspect comes from the frame each render — the crop and the label reserve
226045
+ both move it. 448 / 217 is the default crop's box (448 wide × 448·(1 −
226046
+ 51.5%) tall); keep in sync with \`SECTOR_CLIP_BOTTOM\` in
226047
+ compass-sector.ts. */
226048
+ width: auto;
226049
+ height: auto;
226050
+ max-width: 100%;
226051
+ max-height: 100%;
226052
+ aspect-ratio: var(--obc-compass-sector-aspect, 448 / 217);
226053
+
226054
+ /* Both layers paint past their viewBox so the rotation can carry the arc in;
226055
+ this is the edge that bounds the component. */
226020
226056
  overflow: hidden;
226021
226057
  }
226022
226058
  `;
@@ -226195,7 +226231,12 @@ var __decorateClass$O = (decorators, target, key, kind) => {
226195
226231
  if (kind && result) __defProp$O(target, key, result);
226196
226232
  return result;
226197
226233
  };
226198
- const PADDING = 72;
226234
+ const BASE_PADDING = 48;
226235
+ const SECTOR_CLIP_BOTTOM = 51.5;
226236
+ const SECTOR_CLIP_BOTTOM_ROT = 50.4;
226237
+ const SECTOR_CLIP_BOTTOM_INSIDE_LABELS = 47.3;
226238
+ const SECTOR_CLIP_BOTTOM_READOUT = 44;
226239
+ const SECTOR_SIDE_MARGIN = 0;
226199
226240
  const WATCH_TYPE = WatchCircleType.triple;
226200
226241
  const INNER_RADIUS = innerRingRadiusFor(WATCH_TYPE);
226201
226242
  const ARC_HALF_EXTENT = 60;
@@ -226251,11 +226292,16 @@ let ObcCompassSector = class extends i$4 {
226251
226292
  this._halfFOV = 30;
226252
226293
  this._arcHalfExtent = ARC_HALF_EXTENT;
226253
226294
  this._scale = 1;
226254
- this._radiusOffset = 0;
226255
- this._cachedViewBox = "";
226256
226295
  this._cachedAreas = [];
226257
226296
  this._cachedTickmarks = [];
226258
226297
  this._cachedAdvices = [];
226298
+ this._resizeController = new h(this, {});
226299
+ this._aspectWidth = 448;
226300
+ this._aspectHeight = 217.28;
226301
+ }
226302
+ firstUpdated(changed) {
226303
+ super.firstUpdated(changed);
226304
+ observeInnerBox(this._resizeController, this.renderRoot);
226259
226305
  }
226260
226306
  willUpdate(changed) {
226261
226307
  super.willUpdate(changed);
@@ -226301,13 +226347,19 @@ let ObcCompassSector = class extends i$4 {
226301
226347
  roundOutsideCut: true
226302
226348
  }
226303
226349
  ];
226304
- this._computeViewBox();
226305
226350
  this._cachedTickmarks = this._buildTickmarks();
226306
226351
  }
226307
226352
  if (arcInputsChanged || changed.has("headingAdvices")) {
226308
226353
  this._cachedAdvices = this._buildAdvices();
226309
226354
  }
226310
226355
  }
226356
+ updated(changed) {
226357
+ super.updated(changed);
226358
+ this.style.setProperty(
226359
+ "--obc-compass-sector-aspect",
226360
+ `${this._aspectWidth} / ${this._aspectHeight}`
226361
+ );
226362
+ }
226311
226363
  disconnectedCallback() {
226312
226364
  super.disconnectedCallback();
226313
226365
  this._headingSp.dispose();
@@ -226361,25 +226413,45 @@ let ObcCompassSector = class extends i$4 {
226361
226413
  // ---------------------------------------------------------------------------
226362
226414
  // ViewBox
226363
226415
  // ---------------------------------------------------------------------------
226364
- _computeViewBox() {
226365
- if (this.zoomToFitArc) {
226366
- const targetSize = (176 + PADDING) * 2;
226367
- const frame = computeZoomToFitArcFrame({
226368
- areas: this._cachedAreas,
226369
- outerRadius: OUTER_RING_RADIUS,
226370
- innerRadius: INNER_RADIUS,
226371
- extension: PADDING,
226372
- targetSize
226373
- });
226374
- this._radiusOffset = frame.radiusOffset;
226375
- this._cachedViewBox = frame.viewBox;
226376
- this._cachedArcFrame = frame;
226377
- } else {
226378
- this._radiusOffset = 0;
226379
- const width = (176 + PADDING) * 2;
226380
- this._cachedViewBox = `-${width / 2} -${width / 2} ${width} ${width}`;
226381
- this._cachedArcFrame = void 0;
226416
+ /** Deepest crop the active features need, so none of them is shaved. */
226417
+ _clipBottom() {
226418
+ const clips = [SECTOR_CLIP_BOTTOM];
226419
+ if (this.rotType !== void 0 && this.rotPosition === RotPosition.innerCircle) {
226420
+ clips.push(SECTOR_CLIP_BOTTOM_ROT);
226382
226421
  }
226422
+ if (this.tickmarksInside) {
226423
+ clips.push(SECTOR_CLIP_BOTTOM_INSIDE_LABELS);
226424
+ }
226425
+ if (this.hasReadout) {
226426
+ clips.push(SECTOR_CLIP_BOTTOM_READOUT);
226427
+ }
226428
+ return Math.min(...clips);
226429
+ }
226430
+ /**
226431
+ * One frame per render, feeding both layers: the shared sector box cropped
226432
+ * to the arc. Zoom enlarges the arc rather than the window, so the window
226433
+ * only slides outward by the radius offset and the canvas holds still.
226434
+ */
226435
+ _buildFrame() {
226436
+ const frame = computeRadialFrame({
226437
+ basePadding: BASE_PADDING,
226438
+ labelWidthPx: this.tickmarksInside ? 0 : estimateLabelWidthPx(this._cachedTickmarks.map((t2) => t2.text)),
226439
+ clips: { top: 0, bottom: this._clipBottom(), left: 0, right: 0 },
226440
+ containerPx: measureContainerPx(this)
226441
+ });
226442
+ if (!this.zoomToFitArc) {
226443
+ return frame;
226444
+ }
226445
+ const halfWidth = frame.width / 2 - SECTOR_SIDE_MARGIN;
226446
+ const sin = Math.sin(degToRad(this._arcHalfExtent));
226447
+ const radiusOffset = Math.max(0, halfWidth / sin - OUTER_RING_RADIUS);
226448
+ const y3 = frame.y - radiusOffset;
226449
+ return {
226450
+ ...frame,
226451
+ y: y3,
226452
+ radiusOffset,
226453
+ viewBox: `${frame.x} ${y3} ${frame.width} ${frame.height}`
226454
+ };
226383
226455
  }
226384
226456
  // ---------------------------------------------------------------------------
226385
226457
  // North arrow — rendered in overlay at mapped 0° position
@@ -226432,38 +226504,32 @@ let ObcCompassSector = class extends i$4 {
226432
226504
  return selected.includes(element) ? this.priority : Priority.regular;
226433
226505
  }
226434
226506
  /**
226435
- * Vertical placement of the readout as a percentage of the host height.
226436
- *
226437
- * With `zoomToFitArc` the arc is reframed by `computeZoomToFitArcFrame`, whose
226438
- * `radiusOffset`/`viewBox` depend on the arc's *absolute* orientation (which
226439
- * cardinal axes its bounding box crosses), not just its bend. The arc itself
226440
- * is always rotated back to the top, so it stays put on screen — but a
226441
- * frame-derived offset would swing wildly as `heading` rotates the bbox around
226442
- * the circle. So in zoom we use a fixed offset, which keeps the readout steady
226443
- * under the (stationary) arc regardless of heading.
226507
+ * Vertical placement of the readout as a percentage of the frame height.
226444
226508
  *
226445
- * Without zoom the viewBox is the fixed, origin-symmetric 120° framing, so the
226446
- * geometry is orientation-independent: place the readout halfway down the inner
226447
- * radius from the watch center toward the arc's inner edge.
226509
+ * The anchor sits halfway down the inner radius, below the arc's inner edge.
226510
+ * Zoom pushes that edge out by the radius offset, so the anchor follows it
226511
+ * and the gap under the arc reads the same in both modes.
226448
226512
  */
226449
- get _readoutTopPercent() {
226450
- if (this.zoomToFitArc) {
226451
- return 70;
226452
- }
226453
- const [, vy, , vh] = this._cachedViewBox.split(" ").map(Number);
226454
- if (!vh || Number.isNaN(vy)) {
226513
+ _readoutTopPercent(frame) {
226514
+ if (!frame.height) {
226455
226515
  return 50;
226456
226516
  }
226457
- const anchorY = -INNER_RADIUS * 0.5;
226458
- return Math.round((anchorY - vy) / vh * 1e3) / 10;
226517
+ const anchorY = -INNER_RADIUS * 0.5 - frame.radiusOffset;
226518
+ return Math.round((anchorY - frame.y) / frame.height * 1e3) / 10;
226459
226519
  }
226460
226520
  // ---------------------------------------------------------------------------
226461
226521
  // Render
226462
226522
  // ---------------------------------------------------------------------------
226463
226523
  render() {
226464
226524
  const rotation = -this.heading;
226465
- const viewBox = this._cachedViewBox;
226466
- const rOff = this._radiusOffset;
226525
+ const frame = this._buildFrame();
226526
+ const viewBox = frame.viewBox;
226527
+ const rOff = frame.radiusOffset;
226528
+ const pivotX = -frame.x / frame.width * 100;
226529
+ const pivotY = -frame.y / frame.height * 100;
226530
+ this._aspectWidth = frame.width;
226531
+ this._aspectHeight = frame.height;
226532
+ const tickmarks = frame.labelsHidden ? this._cachedTickmarks.map((t2) => ({ ...t2, text: void 0 })) : this._cachedTickmarks;
226467
226533
  const mappedCOG = this._mapAngle(this.courseOverGround);
226468
226534
  const mappedSetpoint = this.headingSetpoint != null ? this._mapAngle(this.headingSetpoint) : void 0;
226469
226535
  const mappedNewSetpoint = this.newHeadingSetpoint != null ? this._mapAngle(this.newHeadingSetpoint) : void 0;
@@ -226471,17 +226537,15 @@ let ObcCompassSector = class extends i$4 {
226471
226537
  <div class="container">
226472
226538
  <obc-watch
226473
226539
  .touching=${this.touching}
226474
- .padding=${PADDING}
226475
226540
  .advices=${this._cachedAdvices}
226476
- .tickmarks=${this._cachedTickmarks}
226541
+ .tickmarks=${tickmarks}
226477
226542
  .tickmarkStyle=${TickmarkStyle$1.regular}
226478
226543
  .tickmarksInside=${this.tickmarksInside}
226479
226544
  .state=${this.state}
226480
226545
  .watchCircleType=${WATCH_TYPE}
226481
226546
  .northArrow=${false}
226482
226547
  .areas=${this._cachedAreas}
226483
- .arcFrame=${this._cachedArcFrame}
226484
- .zoomToFitArc=${this.zoomToFitArc}
226548
+ .arcFrame=${frame}
226485
226549
  .tickFadeAngle=${this._arcHalfExtent * 0.2}
226486
226550
  .rotation=${rotation}
226487
226551
  .angleSetpoint=${mappedSetpoint}
@@ -226506,7 +226570,11 @@ let ObcCompassSector = class extends i$4 {
226506
226570
  .rotationsPerMinute=${this.rotationsPerMinute}
226507
226571
  >
226508
226572
  </obc-watch>
226509
- <svg viewBox="${viewBox}" transform="rotate(${rotation})">
226573
+ <svg
226574
+ viewBox="${viewBox}"
226575
+ transform="rotate(${rotation})"
226576
+ style="transform-origin: ${pivotX}% ${pivotY}%"
226577
+ >
226510
226578
  <g transform="rotate(${this.heading})">
226511
226579
  <line
226512
226580
  x1="0"
@@ -226540,7 +226608,7 @@ let ObcCompassSector = class extends i$4 {
226540
226608
  </svg>
226541
226609
  ${this.hasReadout ? b`<div
226542
226610
  class="readout"
226543
- style="top: ${this._readoutTopPercent}%"
226611
+ style="top: ${this._readoutTopPercent(frame)}%"
226544
226612
  >
226545
226613
  ${renderCenterReadouts([
226546
226614
  {
@@ -226565,7 +226633,7 @@ let ObcCompassSector = class extends i$4 {
226565
226633
  ObcCompassSector.styles = [
226566
226634
  r$7(instrumentReadoutStyle),
226567
226635
  centerReadoutStyles,
226568
- r$7(componentStyle$i)
226636
+ r$7(componentStyle$j)
226569
226637
  ];
226570
226638
  __decorateClass$O([
226571
226639
  n$3({ type: Number })
@@ -227662,7 +227730,7 @@ __decorateClass$L([
227662
227730
  ObcDepthActual = __decorateClass$L([
227663
227731
  customElement("obc-depth-actual")
227664
227732
  ], ObcDepthActual);
227665
- const componentStyle$h = i$7`* {
227733
+ const componentStyle$i = i$7`* {
227666
227734
  -webkit-tap-highlight-color: transparent;
227667
227735
  }
227668
227736
 
@@ -227829,7 +227897,7 @@ let ObcDepthIndicator = class extends i$4 {
227829
227897
  `;
227830
227898
  }
227831
227899
  };
227832
- ObcDepthIndicator.styles = r$7(componentStyle$h);
227900
+ ObcDepthIndicator.styles = r$7(componentStyle$i);
227833
227901
  __decorateClass$K([
227834
227902
  n$3({ type: String })
227835
227903
  ], ObcDepthIndicator.prototype, "variant", 2);
@@ -227839,7 +227907,7 @@ __decorateClass$K([
227839
227907
  ObcDepthIndicator = __decorateClass$K([
227840
227908
  customElement("obc-depth-indicator")
227841
227909
  ], ObcDepthIndicator);
227842
- const componentStyle$g = i$7`* {
227910
+ const componentStyle$h = i$7`* {
227843
227911
  -webkit-tap-highlight-color: transparent;
227844
227912
  }
227845
227913
 
@@ -227867,7 +227935,7 @@ const componentStyle$g = i$7`* {
227867
227935
  height: 100%;
227868
227936
  }
227869
227937
  `;
227870
- const componentStyle$f = i$7`* {
227938
+ const componentStyle$g = i$7`* {
227871
227939
  -webkit-tap-highlight-color: transparent;
227872
227940
  }
227873
227941
 
@@ -228027,7 +228095,7 @@ let ObcDepthTopBand = class extends i$4 {
228027
228095
  `;
228028
228096
  }
228029
228097
  };
228030
- ObcDepthTopBand.styles = r$7(componentStyle$f);
228098
+ ObcDepthTopBand.styles = r$7(componentStyle$g);
228031
228099
  __decorateClass$J([
228032
228100
  n$3({ type: String })
228033
228101
  ], ObcDepthTopBand.prototype, "type", 2);
@@ -228353,7 +228421,7 @@ let ObcDepth = class extends i$4 {
228353
228421
  `;
228354
228422
  }
228355
228423
  };
228356
- ObcDepth.styles = r$7(componentStyle$g);
228424
+ ObcDepth.styles = r$7(componentStyle$h);
228357
228425
  __decorateClass$I([
228358
228426
  n$3({ type: String })
228359
228427
  ], ObcDepth.prototype, "type", 2);
@@ -228576,7 +228644,7 @@ __decorateClass$H([
228576
228644
  ObcDraftTrim = __decorateClass$H([
228577
228645
  customElement("obc-draft-trim")
228578
228646
  ], ObcDraftTrim);
228579
- const componentStyle$e = i$7`* {
228647
+ const componentStyle$f = i$7`* {
228580
228648
  -webkit-tap-highlight-color: transparent;
228581
228649
  }
228582
228650
 
@@ -228799,7 +228867,7 @@ let ObcGaugeBarIndicator = class extends i$4 {
228799
228867
  `;
228800
228868
  }
228801
228869
  };
228802
- ObcGaugeBarIndicator.styles = r$7(componentStyle$e);
228870
+ ObcGaugeBarIndicator.styles = r$7(componentStyle$f);
228803
228871
  __decorateClass$G([
228804
228872
  n$3({ type: Number })
228805
228873
  ], ObcGaugeBarIndicator.prototype, "value", 2);
@@ -229070,7 +229138,7 @@ __decorateClass$F([
229070
229138
  ObcGaugeHorizontal = __decorateClass$F([
229071
229139
  customElement("obc-gauge-horizontal")
229072
229140
  ], ObcGaugeHorizontal);
229073
- const componentStyle$d = i$7`* {
229141
+ const componentStyle$e = i$7`* {
229074
229142
  -webkit-tap-highlight-color: transparent;
229075
229143
  }
229076
229144
 
@@ -229746,7 +229814,7 @@ let ObcGaugeRadialIndicator = class extends i$4 {
229746
229814
  `;
229747
229815
  }
229748
229816
  };
229749
- ObcGaugeRadialIndicator.styles = r$7(componentStyle$d);
229817
+ ObcGaugeRadialIndicator.styles = r$7(componentStyle$e);
229750
229818
  __decorateClass$E([
229751
229819
  n$3({ type: Number })
229752
229820
  ], ObcGaugeRadialIndicator.prototype, "value", 2);
@@ -229771,7 +229839,7 @@ __decorateClass$E([
229771
229839
  ObcGaugeRadialIndicator = __decorateClass$E([
229772
229840
  customElement("obc-gauge-radial-indicator")
229773
229841
  ], ObcGaugeRadialIndicator);
229774
- const componentStyle$c = i$7`* {
229842
+ const componentStyle$d = i$7`* {
229775
229843
  -webkit-tap-highlight-color: transparent;
229776
229844
  }
229777
229845
 
@@ -229799,12 +229867,8 @@ const componentStyle$c = i$7`* {
229799
229867
 
229800
229868
  position: relative;
229801
229869
 
229802
- /* The dial is the largest box of its sector's aspect ratio that fits inside
229803
- *both* the available width and height of the (full-size) host. \`width: auto\`
229804
- stretches the block to the host width, then \`aspect-ratio\` + \`max-height\`
229805
- transfer the constraint back, shrinking it to fit a short host too — see
229806
- issue #992. The host always fills its container, so the gauge can be
229807
- positioned within the leftover space via the alignment classes below. */
229870
+ /* The host always fills its container, so the gauge can be positioned within
229871
+ the leftover space via the alignment classes below. */
229808
229872
  width: auto;
229809
229873
  height: auto;
229810
229874
  max-width: 100%;
@@ -230144,7 +230208,7 @@ let ObcGaugeRadial = class extends SetpointMixin(i$4) {
230144
230208
  `;
230145
230209
  }
230146
230210
  };
230147
- ObcGaugeRadial.styles = r$7(componentStyle$c);
230211
+ ObcGaugeRadial.styles = r$7(componentStyle$d);
230148
230212
  __decorateClass$D([
230149
230213
  n$3({ type: Number })
230150
230214
  ], ObcGaugeRadial.prototype, "value", 2);
@@ -230214,7 +230278,7 @@ __decorateClass$D([
230214
230278
  ObcGaugeRadial = __decorateClass$D([
230215
230279
  customElement("obc-gauge-radial")
230216
230280
  ], ObcGaugeRadial);
230217
- const componentStyle$b = i$7`* {
230281
+ const componentStyle$c = i$7`* {
230218
230282
  -webkit-tap-highlight-color: transparent;
230219
230283
  }
230220
230284
 
@@ -230566,7 +230630,7 @@ let ObcGaugeTrendIndicator = class extends i$4 {
230566
230630
  `;
230567
230631
  }
230568
230632
  };
230569
- ObcGaugeTrendIndicator.styles = r$7(componentStyle$b);
230633
+ ObcGaugeTrendIndicator.styles = r$7(componentStyle$c);
230570
230634
  __decorateClass$C([
230571
230635
  n$3({ type: String })
230572
230636
  ], ObcGaugeTrendIndicator.prototype, "type", 2);
@@ -230997,7 +231061,7 @@ __decorateClass$A([
230997
231061
  ObcGraphMini = __decorateClass$A([
230998
231062
  customElement("obc-graph-mini")
230999
231063
  ], ObcGraphMini);
231000
- const componentStyle$a = i$7`* {
231064
+ const componentStyle$b = i$7`* {
231001
231065
  -webkit-tap-highlight-color: transparent;
231002
231066
  }
231003
231067
 
@@ -231228,7 +231292,7 @@ let ObcHeadingIndicator = class extends i$4 {
231228
231292
  return this.type === "XTD" ? this.renderXtd() : this.renderHdg();
231229
231293
  }
231230
231294
  };
231231
- ObcHeadingIndicator.styles = r$7(componentStyle$a);
231295
+ ObcHeadingIndicator.styles = r$7(componentStyle$b);
231232
231296
  __decorateClass$z([
231233
231297
  n$3({ type: String })
231234
231298
  ], ObcHeadingIndicator.prototype, "type", 2);
@@ -232375,7 +232439,7 @@ var __decorateClass$u = (decorators, target, key, kind) => {
232375
232439
  if (kind && result) __defProp$u(target, key, result);
232376
232440
  return result;
232377
232441
  };
232378
- const componentStyle$9 = `:host {
232442
+ const componentStyle$a = `:host {
232379
232443
  display: block;
232380
232444
  box-sizing: border-box;
232381
232445
  width: 100%;
@@ -232780,7 +232844,7 @@ let ObcMainEngineIndicator = class extends i$4 {
232780
232844
  `;
232781
232845
  }
232782
232846
  };
232783
- ObcMainEngineIndicator.styles = r$7(componentStyle$9);
232847
+ ObcMainEngineIndicator.styles = r$7(componentStyle$a);
232784
232848
  __decorateClass$u([
232785
232849
  n$3({ type: Number })
232786
232850
  ], ObcMainEngineIndicator.prototype, "pitchValue", 1);
@@ -235950,7 +236014,7 @@ var __decorateClass$l = (decorators, target, key, kind) => {
235950
236014
  if (kind && result) __defProp$l(target, key, result);
235951
236015
  return result;
235952
236016
  };
235953
- const componentStyle$8 = `:host {
236017
+ const componentStyle$9 = `:host {
235954
236018
  display: inline-block;
235955
236019
  width: var(--global-size-spacing-touch-target-min);
235956
236020
  height: var(--global-size-spacing-touch-target-min);
@@ -236175,7 +236239,7 @@ let ObcTunnelThruster = class extends i$4 {
236175
236239
  `;
236176
236240
  }
236177
236241
  };
236178
- ObcTunnelThruster.styles = r$7(componentStyle$8);
236242
+ ObcTunnelThruster.styles = r$7(componentStyle$9);
236179
236243
  __decorateClass$l([
236180
236244
  n$3({ type: Number })
236181
236245
  ], ObcTunnelThruster.prototype, "value", 1);
@@ -236395,7 +236459,7 @@ __decorateClass$k([
236395
236459
  ObcRateOfTurn = __decorateClass$k([
236396
236460
  customElement("obc-rate-of-turn")
236397
236461
  ], ObcRateOfTurn);
236398
- const componentStyle$7 = i$7`* {
236462
+ const componentStyle$8 = i$7`* {
236399
236463
  -webkit-tap-highlight-color: transparent;
236400
236464
  }
236401
236465
 
@@ -236578,7 +236642,7 @@ let ObcReadoutList = class extends i$4 {
236578
236642
  `;
236579
236643
  }
236580
236644
  };
236581
- ObcReadoutList.styles = r$7(componentStyle$7);
236645
+ ObcReadoutList.styles = r$7(componentStyle$8);
236582
236646
  __decorateClass$j([
236583
236647
  n$3({ type: Boolean, reflect: true })
236584
236648
  ], ObcReadoutList.prototype, "showDebugOverlay", 2);
@@ -237004,7 +237068,7 @@ __decorateClass$h([
237004
237068
  ObcRoll = __decorateClass$h([
237005
237069
  customElement("obc-roll")
237006
237070
  ], ObcRoll);
237007
- const componentStyle$6 = i$7`* {
237071
+ const componentStyle$7 = i$7`* {
237008
237072
  -webkit-tap-highlight-color: transparent;
237009
237073
  }
237010
237074
 
@@ -237214,7 +237278,7 @@ let ObcRotIndicator = class extends i$4 {
237214
237278
  `;
237215
237279
  }
237216
237280
  };
237217
- ObcRotIndicator.styles = r$7(componentStyle$6);
237281
+ ObcRotIndicator.styles = r$7(componentStyle$7);
237218
237282
  __decorateClass$g([
237219
237283
  n$3({ type: String })
237220
237284
  ], ObcRotIndicator.prototype, "type", 2);
@@ -237233,7 +237297,7 @@ __decorateClass$g([
237233
237297
  ObcRotIndicator = __decorateClass$g([
237234
237298
  customElement("obc-rot-indicator")
237235
237299
  ], ObcRotIndicator);
237236
- const componentStyle$5 = i$7`* {
237300
+ const componentStyle$6 = i$7`* {
237237
237301
  -webkit-tap-highlight-color: transparent;
237238
237302
  }
237239
237303
 
@@ -237418,7 +237482,7 @@ let ObcRotLinear = class extends i$4 {
237418
237482
  ObcRotLinear.styles = [
237419
237483
  r$7(instrumentReadoutStyle),
237420
237484
  centerReadoutStyles,
237421
- r$7(componentStyle$5)
237485
+ r$7(componentStyle$6)
237422
237486
  ];
237423
237487
  __decorateClass$f([
237424
237488
  n$3({ type: Number })
@@ -237664,7 +237728,7 @@ __decorateClass$e([
237664
237728
  ObcRotSector = __decorateClass$e([
237665
237729
  customElement("obc-rot-sector")
237666
237730
  ], ObcRotSector);
237667
- const componentStyle$4 = i$7`* {
237731
+ const componentStyle$5 = i$7`* {
237668
237732
  -webkit-tap-highlight-color: transparent;
237669
237733
  }
237670
237734
 
@@ -238057,7 +238121,7 @@ let ObcRudderIndicator = class extends i$4 {
238057
238121
  `;
238058
238122
  }
238059
238123
  };
238060
- ObcRudderIndicator.styles = r$7(componentStyle$4);
238124
+ ObcRudderIndicator.styles = r$7(componentStyle$5);
238061
238125
  __decorateClass$d([
238062
238126
  n$3({ type: Number })
238063
238127
  ], ObcRudderIndicator.prototype, "angle", 2);
@@ -238073,6 +238137,41 @@ __decorateClass$d([
238073
238137
  ObcRudderIndicator = __decorateClass$d([
238074
238138
  customElement("obc-rudder-indicator")
238075
238139
  ], ObcRudderIndicator);
238140
+ const componentStyle$4 = i$7`* {
238141
+ -webkit-tap-highlight-color: transparent;
238142
+ }
238143
+
238144
+ * {
238145
+ box-sizing: border-box;
238146
+ }
238147
+
238148
+ .container {
238149
+ position: relative;
238150
+ width: 100%;
238151
+ height: 100%;
238152
+ }
238153
+
238154
+ .container > * {
238155
+ position: absolute;
238156
+ top: 0;
238157
+ left: 0;
238158
+ width: 100%;
238159
+ height: 100%;
238160
+ }
238161
+
238162
+ :host {
238163
+ display: block;
238164
+ /* The element is the cropped canvas, not a square holding one, so the
238165
+ aspect comes from the frame each render — the top crop and zoom both move
238166
+ it. 448 / 269 is the un-zoomed box (448 wide × 448·(1 − 40%) tall); keep
238167
+ in sync with the \`clips\` top in rudder.ts. */
238168
+ width: auto;
238169
+ height: auto;
238170
+ max-width: 100%;
238171
+ max-height: 100%;
238172
+ aspect-ratio: var(--obc-rudder-aspect, 448 / 269);
238173
+ }
238174
+ `;
238076
238175
  var __defProp$c = Object.defineProperty;
238077
238176
  var __getOwnPropDesc$c = Object.getOwnPropertyDescriptor;
238078
238177
  var __decorateClass$c = (decorators, target, key, kind) => {
@@ -238106,12 +238205,36 @@ let ObcRudder = class extends SetpointMixin(i$4) {
238106
238205
  }
238107
238206
  updated(changed) {
238108
238207
  super.updated(changed);
238208
+ const frame = this._frame;
238209
+ if (frame) {
238210
+ this.style.setProperty(
238211
+ "--obc-rudder-aspect",
238212
+ `${frame.width} / ${frame.height}`
238213
+ );
238214
+ }
238109
238215
  this._hostSizePinned = applyPinnedHostSize(
238110
238216
  this,
238111
238217
  this._frame,
238112
238218
  this._hostSizePinned
238113
238219
  );
238114
238220
  }
238221
+ /** Box the zoomed frame must keep visible, in SVG units. */
238222
+ _needleIncludeBox(radiusOffset) {
238223
+ if (this.variant !== "needle") {
238224
+ return void 0;
238225
+ }
238226
+ const rad = degToRad(this.getAngle(this.angle));
238227
+ const u2 = { x: Math.sin(rad), y: -Math.cos(rad) };
238228
+ const inner = ObcRudder.NEEDLE_INNER_RADIUS + radiusOffset;
238229
+ const outer = ObcRudder.NEEDLE_OUTER_RADIUS + radiusOffset;
238230
+ const w2 = ObcRudder.NEEDLE_HALF_WIDTH;
238231
+ return {
238232
+ xMin: Math.min(inner * u2.x, outer * u2.x) - w2,
238233
+ xMax: Math.max(inner * u2.x, outer * u2.x) + w2,
238234
+ yMin: Math.min(inner * u2.y, outer * u2.y) - w2,
238235
+ yMax: Math.max(inner * u2.y, outer * u2.y) + w2
238236
+ };
238237
+ }
238115
238238
  get _needleTransform() {
238116
238239
  const rOff = this._radiusOffset;
238117
238240
  if (rOff > 0) {
@@ -238225,16 +238348,21 @@ let ObcRudder = class extends SetpointMixin(i$4) {
238225
238348
  state
238226
238349
  };
238227
238350
  });
238228
- const frame = computeRadialFrame({
238351
+ const frameOptions = {
238229
238352
  basePadding: 48,
238230
238353
  labelWidthPx: this.tickmarksInside ? 0 : estimateLabelWidthPx(tickmarks.map((t2) => t2.text)),
238231
238354
  clips: this.zoomToFitArc ? void 0 : { top: 40, bottom: 0, left: 0, right: 0 },
238232
238355
  containerPx: measureContainerPx(this),
238233
238356
  faceDiameter: this.faceDiameter,
238234
238357
  zoomToFitArc: this.zoomToFitArc,
238358
+ // The zoomed arc is flat; a square box would be mostly empty height.
238359
+ zoomFit: ArcFrameFit.bbox,
238235
238360
  areas,
238236
238361
  innerRadius: innerRingRadiusFor(WatchCircleType.double)
238237
- });
238362
+ };
238363
+ const probe = computeRadialFrame(frameOptions);
238364
+ const zoomIncludeBox = this.zoomToFitArc ? this._needleIncludeBox(probe.radiusOffset) : void 0;
238365
+ const frame = zoomIncludeBox ? computeRadialFrame({ ...frameOptions, zoomIncludeBox }) : probe;
238238
238366
  this._radiusOffset = frame.radiusOffset;
238239
238367
  this._frame = frame;
238240
238368
  const shownTickmarks = frame.labelsHidden ? tickmarks.map((t2) => ({ ...t2, text: void 0 })) : tickmarks;
@@ -238265,25 +238393,10 @@ let ObcRudder = class extends SetpointMixin(i$4) {
238265
238393
  `;
238266
238394
  }
238267
238395
  };
238268
- ObcRudder.styles = i$7`
238269
- * {
238270
- box-sizing: border-box;
238271
- }
238272
-
238273
- .container {
238274
- position: relative;
238275
- width: 100%;
238276
- height: 100%;
238277
- }
238278
-
238279
- .container > * {
238280
- position: absolute;
238281
- top: 0;
238282
- left: 0;
238283
- width: 100%;
238284
- height: 100%;
238285
- }
238286
- `;
238396
+ ObcRudder.NEEDLE_INNER_RADIUS = -16.5;
238397
+ ObcRudder.NEEDLE_OUTER_RADIUS = 160.65;
238398
+ ObcRudder.NEEDLE_HALF_WIDTH = 16.5;
238399
+ ObcRudder.styles = r$7(componentStyle$4);
238287
238400
  __decorateClass$c([
238288
238401
  n$3({ type: Number })
238289
238402
  ], ObcRudder.prototype, "angle", 2);