@rpg-engine/long-bow 0.7.83 → 0.7.84

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.
@@ -33589,6 +33589,52 @@ var DayNightContainer = /*#__PURE__*/styled.div.withConfig({
33589
33589
  componentId: "sc-1ja236h-3"
33590
33590
  })(["margin-top:-0.3rem;margin-left:-0.3rem;"]);
33591
33591
 
33592
+ var PremiumLabel = function PremiumLabel(_ref) {
33593
+ var accountType = _ref.accountType;
33594
+ if (accountType === UserAccountTypes.Free) return null;
33595
+ var getBackgroundColor = function getBackgroundColor() {
33596
+ switch (accountType) {
33597
+ case UserAccountTypes.PremiumBronze:
33598
+ return '#CD7F32';
33599
+ case UserAccountTypes.PremiumSilver:
33600
+ return '#C0C0C0';
33601
+ case UserAccountTypes.PremiumGold:
33602
+ return '#FFD700';
33603
+ case UserAccountTypes.PremiumUltimate:
33604
+ return '#002E99';
33605
+ default:
33606
+ return 'transparent';
33607
+ }
33608
+ };
33609
+ var getShortLabel = function getShortLabel() {
33610
+ switch (accountType) {
33611
+ case UserAccountTypes.PremiumBronze:
33612
+ return 'Bronze PA';
33613
+ case UserAccountTypes.PremiumSilver:
33614
+ return 'Silver PA';
33615
+ case UserAccountTypes.PremiumGold:
33616
+ return 'Gold PA';
33617
+ case UserAccountTypes.PremiumUltimate:
33618
+ return 'Ultimate PA';
33619
+ default:
33620
+ return '';
33621
+ }
33622
+ };
33623
+ return React.createElement(StyledLabel, {
33624
+ backgroundColor: getBackgroundColor()
33625
+ }, getShortLabel());
33626
+ };
33627
+ var StyledLabel = /*#__PURE__*/styled.span.withConfig({
33628
+ displayName: "PremiumLabel__StyledLabel",
33629
+ componentId: "sc-5bsloi-0"
33630
+ })(["background-color:", ";color:", ";font-weight:bold;padding:0 0.4rem;border-radius:3px;margin-right:3px;margin-bottom:2px;display:inline-block;font-size:0.5rem !important;"], function (_ref2) {
33631
+ var backgroundColor = _ref2.backgroundColor;
33632
+ return backgroundColor;
33633
+ }, function (_ref3) {
33634
+ var backgroundColor = _ref3.backgroundColor;
33635
+ return backgroundColor === '#002E99' ? 'white' : 'black';
33636
+ });
33637
+
33592
33638
  var outerQty = 10;
33593
33639
  var TradingItemRow = function TradingItemRow(_ref) {
33594
33640
  var atlasIMG = _ref.atlasIMG,
@@ -33635,32 +33681,10 @@ var TradingItemRow = function TradingItemRow(_ref) {
33635
33681
  var renderAccountTypeIndicator = function renderAccountTypeIndicator() {
33636
33682
  if (isBuy && traderItem.canBePurchasedOnlyByPremiumPlans) {
33637
33683
  return traderItem.canBePurchasedOnlyByPremiumPlans.map(function (accountType) {
33638
- if (accountType !== UserAccountTypes.Free) {
33639
- var backgroundColor;
33640
- var textColor = 'black';
33641
- switch (accountType) {
33642
- case UserAccountTypes.PremiumBronze:
33643
- backgroundColor = '#CD7F32';
33644
- break;
33645
- case UserAccountTypes.PremiumSilver:
33646
- backgroundColor = '#C0C0C0';
33647
- break;
33648
- case UserAccountTypes.PremiumGold:
33649
- backgroundColor = '#FFD700';
33650
- break;
33651
- case UserAccountTypes.PremiumUltimate:
33652
- backgroundColor = '#002E99';
33653
- break;
33654
- default:
33655
- return null;
33656
- }
33657
- return React.createElement(PremiumLabel, {
33658
- backgroundColor: backgroundColor,
33659
- textColor: textColor,
33660
- key: accountType
33661
- }, capitalize(accountType) + ' PA');
33662
- }
33663
- return null;
33684
+ return React.createElement(PremiumLabel, {
33685
+ key: accountType,
33686
+ accountType: accountType
33687
+ });
33664
33688
  });
33665
33689
  }
33666
33690
  return null;
@@ -33680,220 +33704,228 @@ var TradingItemRow = function TradingItemRow(_ref) {
33680
33704
  texturePath: traderItem.texturePath,
33681
33705
  isStackable: traderItem.isStackable
33682
33706
  }, atlasJSON),
33683
- imgScale: 2.5
33707
+ imgScale: 2
33684
33708
  })))), React.createElement(ItemNameContainer, null, React.createElement(NameValue, null, React.createElement("p", null, React.createElement(Ellipsis, {
33685
33709
  maxLines: 1,
33686
- maxWidth: "250px"
33710
+ maxWidth: "180px"
33687
33711
  }, capitalize(traderItem.name))), React.createElement("p", null, "$", traderItem.price), React.createElement("p", null, renderAccountTypeIndicator()))), React.createElement(QuantityContainer$1, null, React.createElement(SelectArrow, {
33688
- size: 32,
33712
+ size: 24,
33689
33713
  className: "arrow-selector",
33690
33714
  direction: "left",
33691
- onPointerDown: onLeftClick.bind(null, outerQty),
33692
- scale: 0.8
33715
+ onPointerDown: function onPointerDown() {
33716
+ return onLeftClick(outerQty);
33717
+ },
33718
+ scale: 0.7
33693
33719
  }), React.createElement(StyledArrow, {
33694
- size: 32,
33720
+ size: 24,
33695
33721
  className: "arrow-selector",
33696
33722
  direction: "left",
33697
- onPointerDown: onLeftClick
33723
+ onPointerDown: function onPointerDown() {
33724
+ return onLeftClick();
33725
+ }
33698
33726
  }), React.createElement(QuantityInput, {
33699
33727
  type: "text",
33700
33728
  value: inputQty,
33701
33729
  onChange: handleQuantityChange,
33702
33730
  onBlur: handleBlur
33703
33731
  }), React.createElement(StyledArrow, {
33704
- size: 32,
33732
+ size: 24,
33705
33733
  className: "arrow-selector",
33706
33734
  direction: "right",
33707
- onPointerDown: onRightClick
33735
+ onPointerDown: function onPointerDown() {
33736
+ return onRightClick();
33737
+ }
33708
33738
  }), React.createElement(SelectArrow, {
33709
- size: 32,
33739
+ size: 24,
33710
33740
  className: "arrow-selector",
33711
33741
  direction: "right",
33712
- onPointerDown: onRightClick.bind(null, outerQty),
33713
- scale: 0.8
33742
+ onPointerDown: function onPointerDown() {
33743
+ return onRightClick(outerQty);
33744
+ },
33745
+ scale: 0.7
33714
33746
  })));
33715
33747
  };
33716
- var PremiumLabel = /*#__PURE__*/styled.span.withConfig({
33717
- displayName: "TradingItemRow__PremiumLabel",
33718
- componentId: "sc-mja0b5-0"
33719
- })(["background-color:", ";color:", ";font-weight:bold;padding:2px 5px;border-radius:5px;margin-right:5px;margin-bottom:5px;display:inline-block;"], function (_ref2) {
33720
- var backgroundColor = _ref2.backgroundColor;
33721
- return backgroundColor;
33722
- }, function (_ref3) {
33723
- var textColor = _ref3.textColor;
33724
- return textColor;
33725
- });
33726
33748
  var StyledArrow = /*#__PURE__*/styled(SelectArrow).withConfig({
33727
33749
  displayName: "TradingItemRow__StyledArrow",
33728
- componentId: "sc-mja0b5-1"
33729
- })(["margin:40px;"]);
33750
+ componentId: "sc-mja0b5-0"
33751
+ })(["margin:0 1.5rem;"]);
33730
33752
  var ItemWrapper = /*#__PURE__*/styled.div.withConfig({
33731
33753
  displayName: "TradingItemRow__ItemWrapper",
33732
- componentId: "sc-mja0b5-2"
33733
- })(["width:100%;margin:auto;display:flex;justify-content:space-between;margin-bottom:1rem;&:hover{background-color:", ";}padding:0.5rem;"], uiColors.darkGray);
33754
+ componentId: "sc-mja0b5-1"
33755
+ })(["width:100%;display:flex;justify-content:space-between;margin-bottom:0.5rem;padding:0.25rem;&:hover{background-color:", ";}"], uiColors.darkGray);
33734
33756
  var ItemNameContainer = /*#__PURE__*/styled.div.withConfig({
33735
33757
  displayName: "TradingItemRow__ItemNameContainer",
33736
- componentId: "sc-mja0b5-3"
33737
- })(["flex:60%;"]);
33758
+ componentId: "sc-mja0b5-2"
33759
+ })(["flex:60%;display:flex;align-items:center;"]);
33738
33760
  var ItemIconContainer$1 = /*#__PURE__*/styled.div.withConfig({
33739
33761
  displayName: "TradingItemRow__ItemIconContainer",
33740
- componentId: "sc-mja0b5-4"
33741
- })(["display:flex;justify-content:flex-start;align-items:center;flex:0 0 58px;"]);
33762
+ componentId: "sc-mja0b5-3"
33763
+ })(["display:flex;justify-content:flex-start;align-items:center;flex:0 0 40px;"]);
33742
33764
  var SpriteContainer$3 = /*#__PURE__*/styled.div.withConfig({
33743
33765
  displayName: "TradingItemRow__SpriteContainer",
33744
- componentId: "sc-mja0b5-5"
33745
- })(["position:relative;top:-0.5rem;left:0.5rem;"]);
33766
+ componentId: "sc-mja0b5-4"
33767
+ })(["position:relative;top:-0.5rem;left:0;"]);
33746
33768
  var NameValue = /*#__PURE__*/styled.div.withConfig({
33747
33769
  displayName: "TradingItemRow__NameValue",
33748
- componentId: "sc-mja0b5-6"
33749
- })(["p{font-size:0.75rem;margin:0;}"]);
33770
+ componentId: "sc-mja0b5-5"
33771
+ })(["p{font-size:0.6rem;margin:0;line-height:1.2;}"]);
33750
33772
  var QuantityContainer$1 = /*#__PURE__*/styled.div.withConfig({
33751
33773
  displayName: "TradingItemRow__QuantityContainer",
33752
- componentId: "sc-mja0b5-7"
33753
- })(["position:relative;display:flex;min-width:100px;width:40%;justify-content:center;align-items:center;flex:40%;"]);
33774
+ componentId: "sc-mja0b5-6"
33775
+ })(["display:flex;min-width:90px;width:40%;justify-content:flex-end;align-items:center;flex:30%;gap:2px;position:relative;"]);
33754
33776
  var QuantityInput = /*#__PURE__*/styled.input.withConfig({
33755
33777
  displayName: "TradingItemRow__QuantityInput",
33756
- componentId: "sc-mja0b5-8"
33757
- })(["width:40px;text-align:center;background-color:", ";color:white;border:1px solid ", ";padding:2px;font-size:", ";border:none;position:relative;left:-3px;"], uiColors.darkGray, uiColors.lightGray, uiFonts.size.small);
33778
+ componentId: "sc-mja0b5-7"
33779
+ })(["width:30px;text-align:center;background-color:", ";color:white;border:none;padding:1px;font-size:", ";position:relative;right:4px;"], uiColors.darkGray, uiFonts.size.small);
33758
33780
 
33759
- var TradingMenu = function TradingMenu(_ref) {
33760
- var traderItems = _ref.traderItems,
33761
- onClose = _ref.onClose,
33781
+ var useTradingGold = function useTradingGold(_ref) {
33782
+ var characterAvailableGold = _ref.characterAvailableGold,
33762
33783
  type = _ref.type,
33763
- atlasJSON = _ref.atlasJSON,
33764
- atlasIMG = _ref.atlasIMG,
33765
- characterAvailableGold = _ref.characterAvailableGold,
33766
- onConfirm = _ref.onConfirm,
33767
- equipmentSet = _ref.equipmentSet,
33768
- scale = _ref.scale;
33784
+ traderItems = _ref.traderItems;
33769
33785
  var _useState = useState(0),
33770
33786
  sum = _useState[0],
33771
33787
  setSum = _useState[1];
33772
33788
  var _useState2 = useState(new Map()),
33773
33789
  qtyMap = _useState2[0],
33774
33790
  setQtyMap = _useState2[1];
33775
- var onQuantityChange = function onQuantityChange(item, selectedQty) {
33776
- setQtyMap(new Map(qtyMap.set(item.key, selectedQty)));
33777
- var newSum = 0;
33778
- traderItems.forEach(function (item) {
33779
- var qty = qtyMap.get(item.key);
33780
- if (qty) newSum += qty * item.price;
33781
- setSum(newSum);
33782
- });
33783
- };
33784
33791
  var isBuy = function isBuy() {
33785
- return type == 'buy';
33792
+ return type === 'buy';
33786
33793
  };
33787
33794
  var hasGoldForSale = function hasGoldForSale() {
33788
- if (isBuy()) {
33789
- return !(sum > characterAvailableGold);
33790
- }
33791
- return true;
33795
+ return isBuy() ? !(sum > characterAvailableGold) : true;
33792
33796
  };
33793
33797
  var getFinalGold = function getFinalGold() {
33794
- if (isBuy()) {
33795
- return characterAvailableGold - sum;
33796
- } else {
33797
- return characterAvailableGold + sum;
33798
- }
33799
- };
33800
- var Capitalize = function Capitalize(word) {
33801
- return word[0].toUpperCase() + word.substring(1);
33798
+ return isBuy() ? characterAvailableGold - sum : characterAvailableGold + sum;
33802
33799
  };
33803
- var onConfirmClick = function onConfirmClick() {
33800
+ var getTradeItems = function getTradeItems() {
33804
33801
  var items = [];
33805
33802
  traderItems.forEach(function (item) {
33806
33803
  var qty = qtyMap.get(item.key);
33807
33804
  if (qty) {
33808
- items.push(Object.assign({}, item, {
33805
+ items.push(_extends({}, item, {
33809
33806
  qty: qty
33810
33807
  }));
33811
33808
  }
33812
33809
  });
33813
- onConfirm(items);
33810
+ return items;
33814
33811
  };
33812
+ var updateQuantity = function updateQuantity(item, selectedQty) {
33813
+ setQtyMap(new Map(qtyMap.set(item.key, selectedQty)));
33814
+ var newSum = 0;
33815
+ qtyMap.forEach(function (qty, key) {
33816
+ var item = traderItems.find(function (i) {
33817
+ return i.key === key;
33818
+ });
33819
+ if (item) newSum += qty * item.price;
33820
+ });
33821
+ setSum(newSum);
33822
+ };
33823
+ return {
33824
+ sum: sum,
33825
+ qtyMap: qtyMap,
33826
+ isBuy: isBuy,
33827
+ hasGoldForSale: hasGoldForSale,
33828
+ getFinalGold: getFinalGold,
33829
+ getTradeItems: getTradeItems,
33830
+ updateQuantity: updateQuantity
33831
+ };
33832
+ };
33833
+
33834
+ var TradingMenu = function TradingMenu(_ref) {
33835
+ var traderItems = _ref.traderItems,
33836
+ onClose = _ref.onClose,
33837
+ type = _ref.type,
33838
+ atlasJSON = _ref.atlasJSON,
33839
+ atlasIMG = _ref.atlasIMG,
33840
+ characterAvailableGold = _ref.characterAvailableGold,
33841
+ onConfirm = _ref.onConfirm,
33842
+ equipmentSet = _ref.equipmentSet,
33843
+ scale = _ref.scale;
33844
+ var _useTradingGold = useTradingGold({
33845
+ characterAvailableGold: characterAvailableGold,
33846
+ type: type,
33847
+ traderItems: traderItems
33848
+ }),
33849
+ sum = _useTradingGold.sum,
33850
+ qtyMap = _useTradingGold.qtyMap,
33851
+ isBuy = _useTradingGold.isBuy,
33852
+ hasGoldForSale = _useTradingGold.hasGoldForSale,
33853
+ getFinalGold = _useTradingGold.getFinalGold,
33854
+ getTradeItems = _useTradingGold.getTradeItems,
33855
+ updateQuantity = _useTradingGold.updateQuantity;
33815
33856
  return React.createElement(DraggableContainer, {
33816
33857
  type: RPGUIContainerTypes.Framed,
33817
- onCloseButton: function onCloseButton() {
33818
- if (onClose) onClose();
33819
- },
33820
- width: "600px",
33858
+ onCloseButton: onClose,
33859
+ width: "500px",
33821
33860
  cancelDrag: "#TraderContainer",
33822
33861
  scale: scale
33823
- }, React.createElement(React.Fragment, null, React.createElement("div", {
33824
- style: {
33825
- width: '100%'
33826
- }
33827
- }, React.createElement(Title$b, null, Capitalize(type), " Menu"), React.createElement("hr", {
33862
+ }, React.createElement(Container$y, null, React.createElement(Title$b, null, type.charAt(0).toUpperCase() + type.slice(1), " Menu"), React.createElement("hr", {
33828
33863
  className: "golden"
33829
- })), React.createElement(TradingComponentScrollWrapper, {
33864
+ }), React.createElement(ScrollWrapper, {
33830
33865
  id: "TraderContainer"
33831
33866
  }, traderItems.map(function (tradeItem, index) {
33832
33867
  var _qtyMap$get;
33833
- return React.createElement(ItemWrapper$1, {
33834
- key: tradeItem.key + "_" + index
33835
- }, React.createElement(TradingItemRow, {
33868
+ return React.createElement(TradingItemRow, {
33869
+ key: tradeItem.key + "_" + index,
33836
33870
  atlasIMG: atlasIMG,
33837
33871
  atlasJSON: atlasJSON,
33838
- onQuantityChange: onQuantityChange,
33872
+ onQuantityChange: updateQuantity,
33839
33873
  traderItem: tradeItem,
33840
33874
  selectedQty: (_qtyMap$get = qtyMap.get(tradeItem.key)) != null ? _qtyMap$get : 0,
33841
33875
  equipmentSet: equipmentSet,
33842
33876
  scale: scale,
33843
33877
  isBuy: isBuy()
33844
- }));
33845
- })), React.createElement(GoldWrapper, null, React.createElement("p", null, "Available Gold:"), React.createElement("p", null, "$", characterAvailableGold.toFixed(2))), React.createElement(TotalWrapper, null, React.createElement("p", null, "Total:"), React.createElement("p", null, "$", sum)), !hasGoldForSale() ? React.createElement(AlertWrapper, null, React.createElement("p", null, " Sorry, not enough money.")) : React.createElement(GoldWrapper, null, React.createElement("p", null, "Final Gold:"), React.createElement("p", null, "$", getFinalGold().toFixed(2))), React.createElement(ButtonWrapper$3, null, React.createElement(Button, {
33878
+ });
33879
+ })), React.createElement(InfoSection, null, React.createElement(GoldInfo, null, React.createElement("p", null, "Available Gold:"), React.createElement("p", null, "$", characterAvailableGold.toFixed(2))), React.createElement(GoldInfo, null, React.createElement("p", null, "Total:"), React.createElement("p", null, "$", sum)), !hasGoldForSale() ? React.createElement(AlertText, null, "Sorry, not enough money.") : React.createElement(GoldInfo, null, React.createElement("p", null, "Final Gold:"), React.createElement("p", null, "$", getFinalGold().toFixed(2)))), React.createElement(ButtonWrapper$3, null, React.createElement(Button, {
33846
33880
  buttonType: ButtonTypes.RPGUIButton,
33847
33881
  disabled: !hasGoldForSale(),
33848
33882
  onPointerDown: function onPointerDown() {
33849
- return onConfirmClick();
33883
+ return onConfirm(getTradeItems());
33850
33884
  }
33851
33885
  }, "Confirm"), React.createElement(Button, {
33852
33886
  buttonType: ButtonTypes.RPGUIButton,
33853
- onPointerDown: function onPointerDown() {
33854
- return onClose();
33855
- }
33887
+ onPointerDown: onClose
33856
33888
  }, "Cancel"))));
33857
33889
  };
33890
+ var Container$y = /*#__PURE__*/styled.div.withConfig({
33891
+ displayName: "TradingMenu__Container",
33892
+ componentId: "sc-1wjsz1l-0"
33893
+ })(["width:100%;"]);
33858
33894
  var Title$b = /*#__PURE__*/styled.h1.withConfig({
33859
33895
  displayName: "TradingMenu__Title",
33860
- componentId: "sc-1wjsz1l-0"
33861
- })(["z-index:22;font-size:0.6rem;color:yellow !important;"]);
33862
- var TradingComponentScrollWrapper = /*#__PURE__*/styled.div.withConfig({
33863
- displayName: "TradingMenu__TradingComponentScrollWrapper",
33864
33896
  componentId: "sc-1wjsz1l-1"
33865
- })(["overflow-y:scroll;height:390px;width:100%;margin-top:1rem;"]);
33866
- var ItemWrapper$1 = /*#__PURE__*/styled.div.withConfig({
33867
- displayName: "TradingMenu__ItemWrapper",
33897
+ })(["font-size:0.7rem !important;color:yellow !important;text-align:center;"]);
33898
+ var ScrollWrapper = /*#__PURE__*/styled.div.withConfig({
33899
+ displayName: "TradingMenu__ScrollWrapper",
33868
33900
  componentId: "sc-1wjsz1l-2"
33869
- })(["margin:auto;display:flex;justify-content:space-between;"]);
33870
- var TotalWrapper = /*#__PURE__*/styled.div.withConfig({
33871
- displayName: "TradingMenu__TotalWrapper",
33901
+ })(["overflow-y:scroll;height:250px;width:100%;margin-top:0.3rem;overflow-x:hidden;padding:0 0.3rem;"]);
33902
+ var InfoSection = /*#__PURE__*/styled.div.withConfig({
33903
+ displayName: "TradingMenu__InfoSection",
33872
33904
  componentId: "sc-1wjsz1l-3"
33873
- })(["margin-top:1rem;display:flex;justify-content:space-between;height:20px;p{color:white !important;}width:100%;margin-left:0.8rem;"]);
33874
- var GoldWrapper = /*#__PURE__*/styled.div.withConfig({
33875
- displayName: "TradingMenu__GoldWrapper",
33905
+ })(["margin-top:0.3rem;padding:0 0.5rem;"]);
33906
+ var GoldInfo = /*#__PURE__*/styled.div.withConfig({
33907
+ displayName: "TradingMenu__GoldInfo",
33876
33908
  componentId: "sc-1wjsz1l-4"
33877
- })(["margin-top:1rem;display:flex;justify-content:space-between;height:20px;p{color:yellow !important;}width:100%;margin-left:0.8rem;"]);
33878
- var AlertWrapper = /*#__PURE__*/styled.div.withConfig({
33879
- displayName: "TradingMenu__AlertWrapper",
33909
+ })(["display:flex;justify-content:space-between;height:16px;width:100%;margin:0.5rem 0;p{color:yellow !important;margin:0;font-size:0.6rem;}"]);
33910
+ var AlertText = /*#__PURE__*/styled.p.withConfig({
33911
+ displayName: "TradingMenu__AlertText",
33880
33912
  componentId: "sc-1wjsz1l-5"
33881
- })(["margin-top:1rem;display:flex;width:100%;justify-content:center;height:20px;p{color:red !important;}"]);
33913
+ })(["color:red !important;text-align:center;margin:0.3rem 0;font-size:0.5rem;"]);
33882
33914
  var ButtonWrapper$3 = /*#__PURE__*/styled.div.withConfig({
33883
33915
  displayName: "TradingMenu__ButtonWrapper",
33884
33916
  componentId: "sc-1wjsz1l-6"
33885
- })(["display:flex;justify-content:space-around;padding-top:20px;width:100%;margin-top:1rem;button{padding:0px 50px;}"]);
33917
+ })(["display:flex;justify-content:space-around;width:100%;margin-top:0.5rem;"]);
33886
33918
 
33887
33919
  /* eslint-disable react/require-default-props */
33888
33920
  var Truncate = function Truncate(_ref) {
33889
33921
  var _ref$maxLines = _ref.maxLines,
33890
33922
  maxLines = _ref$maxLines === void 0 ? 1 : _ref$maxLines,
33891
33923
  children = _ref.children;
33892
- return React.createElement(Container$y, {
33924
+ return React.createElement(Container$z, {
33893
33925
  maxLines: maxLines
33894
33926
  }, children);
33895
33927
  };
33896
- var Container$y = /*#__PURE__*/styled.div.withConfig({
33928
+ var Container$z = /*#__PURE__*/styled.div.withConfig({
33897
33929
  displayName: "Truncate__Container",
33898
33930
  componentId: "sc-6x00qb-0"
33899
33931
  })(["display:-webkit-box;max-width:100%;max-height:100%;-webkit-line-clamp:", ";-webkit-box-orient:vertical;overflow:hidden;"], function (props) {
@@ -34001,7 +34033,7 @@ var TutorialStepper = /*#__PURE__*/React.memo(function (_ref) {
34001
34033
  };
34002
34034
  });
34003
34035
  }, [lessons, imageStyle]);
34004
- return React.createElement(Container$z, null, React.createElement(Stepper, {
34036
+ return React.createElement(Container$A, null, React.createElement(Stepper, {
34005
34037
  steps: generateLessons,
34006
34038
  finalCTAButton: {
34007
34039
  label: 'Close',
@@ -34018,7 +34050,7 @@ var LessonBody = /*#__PURE__*/styled.div.withConfig({
34018
34050
  displayName: "TutorialStepper__LessonBody",
34019
34051
  componentId: "sc-7tgzv2-1"
34020
34052
  })([""]);
34021
- var Container$z = /*#__PURE__*/styled.div.withConfig({
34053
+ var Container$A = /*#__PURE__*/styled.div.withConfig({
34022
34054
  displayName: "TutorialStepper__Container",
34023
34055
  componentId: "sc-7tgzv2-2"
34024
34056
  })(["width:80%;max-width:600px;@media (max-width:600px){width:95%;}"]);