@rpg-engine/long-bow 0.8.121 → 0.8.123

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.
@@ -30803,6 +30803,78 @@ var EquipmentColumn = /*#__PURE__*/styled.div.withConfig({
30803
30803
  componentId: "sc-1wuddg2-1"
30804
30804
  })(["display:flex;justify-content:center;flex-wrap:wrap;flex-direction:column;touch-action:none;"]);
30805
30805
 
30806
+ var UI_BREAKPOINT_MOBILE = '950px';
30807
+ var UI_BREAKPOINT_SMALL_LAPTOP = '1400px';
30808
+
30809
+ var InternalTabs = function InternalTabs(_ref) {
30810
+ var _tabs$, _tabs$find;
30811
+ var tabs = _ref.tabs,
30812
+ _ref$activeColor = _ref.activeColor,
30813
+ activeColor = _ref$activeColor === void 0 ? '#fef08a' : _ref$activeColor,
30814
+ _ref$activeTextColor = _ref.activeTextColor,
30815
+ activeTextColor = _ref$activeTextColor === void 0 ? '#000000' : _ref$activeTextColor,
30816
+ _ref$inactiveColor = _ref.inactiveColor,
30817
+ inactiveColor = _ref$inactiveColor === void 0 ? '#6b7280' : _ref$inactiveColor,
30818
+ _ref$borderColor = _ref.borderColor,
30819
+ borderColor = _ref$borderColor === void 0 ? '#f59e0b' : _ref$borderColor,
30820
+ _ref$hoverColor = _ref.hoverColor,
30821
+ hoverColor = _ref$hoverColor === void 0 ? '#fef3c7' : _ref$hoverColor,
30822
+ onTabChange = _ref.onTabChange,
30823
+ externalActiveTab = _ref.activeTab;
30824
+ var _useState = useState((_tabs$ = tabs[0]) == null ? void 0 : _tabs$.id),
30825
+ internalActiveTab = _useState[0],
30826
+ setInternalActiveTab = _useState[1];
30827
+ var activeTabId = externalActiveTab != null ? externalActiveTab : internalActiveTab;
30828
+ var handleTabClick = function handleTabClick(tabId) {
30829
+ setInternalActiveTab(tabId);
30830
+ onTabChange == null ? void 0 : onTabChange(tabId);
30831
+ };
30832
+ return React.createElement(TableWrapper, null, React.createElement(TabHeader, {
30833
+ borderColor: borderColor
30834
+ }, tabs.map(function (tab) {
30835
+ return React.createElement(TabButton, {
30836
+ key: tab.id,
30837
+ active: activeTabId === tab.id,
30838
+ activeColor: activeColor,
30839
+ activeTextColor: activeTextColor,
30840
+ inactiveColor: inactiveColor,
30841
+ borderColor: borderColor,
30842
+ hoverColor: hoverColor,
30843
+ onClick: function onClick() {
30844
+ return handleTabClick(tab.id);
30845
+ }
30846
+ }, tab.title);
30847
+ })), React.createElement(ContentWrapper, null, (_tabs$find = tabs.find(function (tab) {
30848
+ return tab.id === activeTabId;
30849
+ })) == null ? void 0 : _tabs$find.content));
30850
+ };
30851
+ var TableWrapper = /*#__PURE__*/styled.div.withConfig({
30852
+ displayName: "InternalTabs__TableWrapper",
30853
+ componentId: "sc-ldufv0-0"
30854
+ })(["width:100%;"]);
30855
+ var TabHeader = /*#__PURE__*/styled.div.withConfig({
30856
+ displayName: "InternalTabs__TabHeader",
30857
+ componentId: "sc-ldufv0-1"
30858
+ })(["display:flex;border-bottom:1px solid ", ";"], function (props) {
30859
+ return props.borderColor;
30860
+ });
30861
+ var TabButton = /*#__PURE__*/styled.button.withConfig({
30862
+ displayName: "InternalTabs__TabButton",
30863
+ componentId: "sc-ldufv0-2"
30864
+ })(["flex:1;padding:0.25rem 0.5rem;font-size:0.75rem;font-weight:500;border-right:1px solid ", ";background-color:", ";color:", ";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;@media (min-width:480px){padding:0.375rem 0.75rem;font-size:0.8125rem;}@media (min-width:", "){padding:0.5rem 1rem;font-size:0.875rem;}&:last-child{border-right:none;}&:hover{background-color:", ";}"], function (props) {
30865
+ return props.borderColor;
30866
+ }, function (props) {
30867
+ return props.active ? props.activeColor : 'transparent';
30868
+ }, function (props) {
30869
+ return props.active ? props.activeTextColor : props.inactiveColor;
30870
+ }, UI_BREAKPOINT_MOBILE, function (props) {
30871
+ return props.active ? props.activeColor : props.hoverColor;
30872
+ });
30873
+ var ContentWrapper = /*#__PURE__*/styled.div.withConfig({
30874
+ displayName: "InternalTabs__ContentWrapper",
30875
+ componentId: "sc-ldufv0-3"
30876
+ })(["width:100%;"]);
30877
+
30806
30878
  var Table = /*#__PURE__*/styled.table.withConfig({
30807
30879
  displayName: "Table",
30808
30880
  componentId: "sc-1c24pcj-0"
@@ -30831,18 +30903,33 @@ var UserActionLink = /*#__PURE__*/styled.span.withConfig({
30831
30903
  return color;
30832
30904
  });
30833
30905
 
30834
- var SearchFriend = function SearchFriend(_ref) {
30835
- var searchedCharacters = _ref.searchedCharacters,
30906
+ var FriendList = function FriendList(_ref) {
30907
+ var friends = _ref.friends,
30836
30908
  friendRequests = _ref.friendRequests,
30837
- onBlur = _ref.onBlur,
30909
+ searchedCharacters = _ref.searchedCharacters,
30838
30910
  onFocus = _ref.onFocus,
30911
+ onBlur = _ref.onBlur,
30839
30912
  onSearch = _ref.onSearch,
30840
- onSendFriendRequest = _ref.onSendFriendRequest,
30841
30913
  onAcceptRequest = _ref.onAcceptRequest,
30842
- onRejectRequest = _ref.onRejectRequest;
30914
+ onSendFriendRequest = _ref.onSendFriendRequest,
30915
+ onRemoveFriend = _ref.onRemoveFriend,
30916
+ onOpenPrivateMessage = _ref.onOpenPrivateMessage,
30917
+ onRejectRequest = _ref.onRejectRequest,
30918
+ onAddFriend = _ref.onAddFriend,
30919
+ onBackFriendList = _ref.onBackFriendList;
30843
30920
  var _useState = useState(''),
30844
30921
  characterName = _useState[0],
30845
30922
  setCharacterName = _useState[1];
30923
+ var _useState2 = useState('friends'),
30924
+ activeTab = _useState2[0],
30925
+ setActiveTab = _useState2[1];
30926
+ useEffect(function () {
30927
+ if (activeTab === 'search') {
30928
+ onAddFriend == null ? void 0 : onAddFriend();
30929
+ } else {
30930
+ onBackFriendList == null ? void 0 : onBackFriendList();
30931
+ }
30932
+ }, [activeTab]);
30846
30933
  var debouncedSearch = useCallback(debounce(function (name) {
30847
30934
  onSearch(name);
30848
30935
  }, 300), []);
@@ -30857,6 +30944,23 @@ var SearchFriend = function SearchFriend(_ref) {
30857
30944
  onSearch(characterName);
30858
30945
  }
30859
30946
  };
30947
+ var friendsTabContent = React.createElement(ScrollableArea, null, React.createElement(Table, null, React.createElement("thead", null, React.createElement(TableRow, null, React.createElement(TableHeader, null, "Online"), React.createElement(TableHeader, null, "Name"), React.createElement(TableHeader, null, "Actions"))), React.createElement("tbody", null, friends.map(function (friend) {
30948
+ return React.createElement(TableRow, {
30949
+ key: friend._id
30950
+ }, React.createElement(TableCell, null, React.createElement(IsOnlineBadge, {
30951
+ "$isOnline": friend.isOnline
30952
+ })), React.createElement(TableCell, null, friend.name), React.createElement(TableCell, null, React.createElement(ActionButtons, null, React.createElement(UserActionLink, {
30953
+ color: uiColors.white,
30954
+ onClick: function onClick() {
30955
+ return onOpenPrivateMessage(friend);
30956
+ }
30957
+ }, "Chat"), React.createElement(UserActionLink, {
30958
+ color: uiColors.red,
30959
+ onClick: function onClick() {
30960
+ return onRemoveFriend(friend);
30961
+ }
30962
+ }, "Remove"))));
30963
+ }))));
30860
30964
  var searchTabContent = React.createElement(ListContainer$1, null, React.createElement(SearchForm, {
30861
30965
  onSubmit: handleSubmit
30862
30966
  }, React.createElement(SearchInput, {
@@ -30869,7 +30973,6 @@ var SearchFriend = function SearchFriend(_ref) {
30869
30973
  onFocus: onFocus,
30870
30974
  onBlur: onBlur,
30871
30975
  onPointerDown: onFocus,
30872
- autoFocus: true,
30873
30976
  placeholder: "Search for a character..."
30874
30977
  })), React.createElement(CharacterList, {
30875
30978
  characters: searchedCharacters,
@@ -30882,6 +30985,10 @@ var SearchFriend = function SearchFriend(_ref) {
30882
30985
  onReject: onRejectRequest
30883
30986
  }));
30884
30987
  var tabs = [{
30988
+ id: 'friends',
30989
+ title: "Friends (" + friends.length + ")",
30990
+ content: friendsTabContent
30991
+ }, {
30885
30992
  id: 'search',
30886
30993
  title: 'Search',
30887
30994
  content: searchTabContent
@@ -30890,8 +30997,10 @@ var SearchFriend = function SearchFriend(_ref) {
30890
30997
  title: "Requests (" + friendRequests.length + ")",
30891
30998
  content: requestsTabContent
30892
30999
  }];
30893
- return React.createElement(Container$l, null, React.createElement(InternalTabs, {
31000
+ return React.createElement(ListWrapper, null, React.createElement(InternalTabs, {
30894
31001
  tabs: tabs,
31002
+ activeTab: activeTab,
31003
+ onTabChange: setActiveTab,
30895
31004
  activeTextColor: "#000",
30896
31005
  inactiveColor: "#777",
30897
31006
  borderColor: "#f59e0b"
@@ -30916,7 +31025,7 @@ var FriendRequestSection = function FriendRequestSection(_ref3) {
30916
31025
  var friendRequests = _ref3.friendRequests,
30917
31026
  onAccept = _ref3.onAccept,
30918
31027
  onReject = _ref3.onReject;
30919
- return React.createElement(React.Fragment, null, friendRequests.length > 0 && React.createElement(ListContainer$1, null, friendRequests.map(function (character) {
31028
+ return React.createElement(React.Fragment, null, friendRequests.length > 0 ? React.createElement(ListContainer$1, null, friendRequests.map(function (character) {
30920
31029
  return React.createElement(ListItem, {
30921
31030
  key: character._id
30922
31031
  }, React.createElement(CharacterName, null, character.name), React.createElement(AcceptRejectActions, null, React.createElement(UserActionLink, {
@@ -30930,94 +31039,7 @@ var FriendRequestSection = function FriendRequestSection(_ref3) {
30930
31039
  return onReject(character);
30931
31040
  }
30932
31041
  }, "Reject")));
30933
- })));
30934
- };
30935
- var Container$l = /*#__PURE__*/styled.div.withConfig({
30936
- displayName: "SearchFriend__Container",
30937
- componentId: "sc-1lt1ols-0"
30938
- })(["display:flex;flex-direction:column;gap:1rem;"]);
30939
- var SearchForm = /*#__PURE__*/styled.form.withConfig({
30940
- displayName: "SearchFriend__SearchForm",
30941
- componentId: "sc-1lt1ols-1"
30942
- })(["display:flex;align-items:center;width:100%;margin-top:1rem;"]);
30943
- var SearchInput = /*#__PURE__*/styled.input.withConfig({
30944
- displayName: "SearchFriend__SearchInput",
30945
- componentId: "sc-1lt1ols-2"
30946
- })(["width:100%;background-color:rgba(0,0,0,0.25);border:none;padding:0.5rem;font-size:", ";"], uiFonts.size.small);
30947
- var ListContainer$1 = /*#__PURE__*/styled.ul.withConfig({
30948
- displayName: "SearchFriend__ListContainer",
30949
- componentId: "sc-1lt1ols-3"
30950
- })(["list-style:none;padding:0;margin:0;width:100%;max-height:50vh;overflow-y:auto;@media (max-width:768px){max-height:90vh;}"]);
30951
- var ListItem = /*#__PURE__*/styled.li.withConfig({
30952
- displayName: "SearchFriend__ListItem",
30953
- componentId: "sc-1lt1ols-4"
30954
- })(["display:flex;align-items:center;justify-content:space-between;padding:0.5rem;border-bottom:1px solid rgba(255,255,255,0.1);"]);
30955
- var CharacterName = /*#__PURE__*/styled.p.withConfig({
30956
- displayName: "SearchFriend__CharacterName",
30957
- componentId: "sc-1lt1ols-5"
30958
- })(["font-size:", ";margin:0;"], uiFonts.size.small);
30959
- var AcceptRejectActions = /*#__PURE__*/styled.div.withConfig({
30960
- displayName: "SearchFriend__AcceptRejectActions",
30961
- componentId: "sc-1lt1ols-6"
30962
- })(["display:flex;gap:0.5rem;"]);
30963
-
30964
- var FriendList = function FriendList(_ref) {
30965
- var friends = _ref.friends,
30966
- friendRequests = _ref.friendRequests,
30967
- searchedCharacters = _ref.searchedCharacters,
30968
- onFocus = _ref.onFocus,
30969
- onBlur = _ref.onBlur,
30970
- onSearch = _ref.onSearch,
30971
- onAcceptRequest = _ref.onAcceptRequest,
30972
- onSendFriendRequest = _ref.onSendFriendRequest,
30973
- onRemoveFriend = _ref.onRemoveFriend,
30974
- onOpenPrivateMessage = _ref.onOpenPrivateMessage,
30975
- onRejectRequest = _ref.onRejectRequest,
30976
- onAddFriend = _ref.onAddFriend,
30977
- onBackFriendList = _ref.onBackFriendList;
30978
- var _useState = useState(false),
30979
- isAddFriendUI = _useState[0],
30980
- setIsAddFriendUI = _useState[1];
30981
- useEffect(function () {
30982
- if (isAddFriendUI) {
30983
- onAddFriend == null ? void 0 : onAddFriend();
30984
- } else {
30985
- onBackFriendList == null ? void 0 : onBackFriendList();
30986
- }
30987
- }, [isAddFriendUI]);
30988
- return React.createElement(ListWrapper, null, isAddFriendUI ? React.createElement(SearchFriend, {
30989
- searchedCharacters: searchedCharacters,
30990
- onSendFriendRequest: onSendFriendRequest,
30991
- onAcceptRequest: onAcceptRequest,
30992
- onRejectRequest: onRejectRequest,
30993
- friendRequests: friendRequests,
30994
- onSearch: onSearch,
30995
- onBlur: onBlur,
30996
- onFocus: onFocus
30997
- }) : React.createElement(React.Fragment, null, React.createElement(ScrollableArea, null, React.createElement(Table, null, React.createElement("thead", null, React.createElement(TableRow, null, React.createElement(TableHeader, null, "Online"), React.createElement(TableHeader, null, "Name"), React.createElement(TableHeader, null, "Actions"))), React.createElement("tbody", null, friends.map(function (friend) {
30998
- return React.createElement(TableRow, {
30999
- key: friend._id
31000
- }, React.createElement(TableCell, null, React.createElement(IsOnlineBadge, {
31001
- "$isOnline": friend.isOnline
31002
- })), React.createElement(TableCell, null, friend.name), React.createElement(TableCell, null, React.createElement(ActionButtons, null, React.createElement(UserActionLink, {
31003
- color: uiColors.white,
31004
- onClick: function onClick() {
31005
- return onOpenPrivateMessage(friend);
31006
- }
31007
- }, "Chat"), React.createElement(UserActionLink, {
31008
- color: uiColors.red,
31009
- onClick: function onClick() {
31010
- return onRemoveFriend(friend);
31011
- }
31012
- }, "Remove"))));
31013
- }))))), React.createElement(ButtonContainer$1, null, React.createElement(Button, {
31014
- buttonType: ButtonTypes.RPGUIButton,
31015
- onClick: function onClick() {
31016
- return setIsAddFriendUI(function (prev) {
31017
- return !prev;
31018
- });
31019
- }
31020
- }, isAddFriendUI ? 'Back' : 'Add New Friend')));
31042
+ })) : React.createElement(EmptyMessage, null, "No pending friend requests"));
31021
31043
  };
31022
31044
  // Styled components for FriendList UI
31023
31045
  var ListWrapper = /*#__PURE__*/styled.div.withConfig({
@@ -31031,14 +31053,38 @@ var ScrollableArea = /*#__PURE__*/styled.div.withConfig({
31031
31053
  var IsOnlineBadge = /*#__PURE__*/styled.div.withConfig({
31032
31054
  displayName: "FriendList__IsOnlineBadge",
31033
31055
  componentId: "sc-3jf9vt-2"
31034
- })(["width:10px;height:10px;border-radius:50%;background-color:", ";margin-right:1rem;"], function (_ref2) {
31035
- var $isOnline = _ref2.$isOnline;
31056
+ })(["width:10px;height:10px;border-radius:50%;background-color:", ";margin-right:1rem;"], function (_ref4) {
31057
+ var $isOnline = _ref4.$isOnline;
31036
31058
  return $isOnline ? uiColors.lightGreen : uiColors.red;
31037
31059
  });
31038
- var ButtonContainer$1 = /*#__PURE__*/styled.div.withConfig({
31039
- displayName: "FriendList__ButtonContainer",
31060
+ var SearchForm = /*#__PURE__*/styled.form.withConfig({
31061
+ displayName: "FriendList__SearchForm",
31040
31062
  componentId: "sc-3jf9vt-3"
31041
- })(["display:flex;justify-content:center;align-items:center;width:100%;margin-top:1rem;"]);
31063
+ })(["display:flex;align-items:center;width:100%;margin-top:1rem;"]);
31064
+ var SearchInput = /*#__PURE__*/styled.input.withConfig({
31065
+ displayName: "FriendList__SearchInput",
31066
+ componentId: "sc-3jf9vt-4"
31067
+ })(["width:100%;background-color:rgba(0,0,0,0.25);border:none;padding:0.5rem;font-size:", ";"], uiFonts.size.small);
31068
+ var ListContainer$1 = /*#__PURE__*/styled.ul.withConfig({
31069
+ displayName: "FriendList__ListContainer",
31070
+ componentId: "sc-3jf9vt-5"
31071
+ })(["list-style:none;padding:0;margin:0;width:100%;max-height:50vh;overflow-y:auto;@media (max-width:768px){max-height:90vh;}"]);
31072
+ var ListItem = /*#__PURE__*/styled.li.withConfig({
31073
+ displayName: "FriendList__ListItem",
31074
+ componentId: "sc-3jf9vt-6"
31075
+ })(["display:flex;align-items:center;justify-content:space-between;padding:0.5rem;border-bottom:1px solid rgba(255,255,255,0.1);"]);
31076
+ var CharacterName = /*#__PURE__*/styled.p.withConfig({
31077
+ displayName: "FriendList__CharacterName",
31078
+ componentId: "sc-3jf9vt-7"
31079
+ })(["font-size:", ";margin:0;"], uiFonts.size.small);
31080
+ var AcceptRejectActions = /*#__PURE__*/styled.div.withConfig({
31081
+ displayName: "FriendList__AcceptRejectActions",
31082
+ componentId: "sc-3jf9vt-8"
31083
+ })(["display:flex;gap:0.5rem;"]);
31084
+ var EmptyMessage = /*#__PURE__*/styled.p.withConfig({
31085
+ displayName: "FriendList__EmptyMessage",
31086
+ componentId: "sc-3jf9vt-9"
31087
+ })(["text-align:center;color:#888;padding:1rem;font-size:", ";"], uiFonts.size.small);
31042
31088
 
31043
31089
  var IS_MOBILE_OR_TABLET = /*#__PURE__*/isMobileOrTablet();
31044
31090
 
@@ -31135,7 +31181,7 @@ var NPCDialogText = function NPCDialogText(_ref) {
31135
31181
  var _useState2 = useState(false),
31136
31182
  showGoNextIndicator = _useState2[0],
31137
31183
  setShowGoNextIndicator = _useState2[1];
31138
- return React.createElement(Container$m, null, React.createElement(DynamicText, {
31184
+ return React.createElement(Container$l, null, React.createElement(DynamicText, {
31139
31185
  text: (textChunks == null ? void 0 : textChunks[chunkIndex]) || '',
31140
31186
  onFinish: function onFinish() {
31141
31187
  setShowGoNextIndicator(true);
@@ -31153,7 +31199,7 @@ var NPCDialogText = function NPCDialogText(_ref) {
31153
31199
  }
31154
31200
  }));
31155
31201
  };
31156
- var Container$m = /*#__PURE__*/styled.div.withConfig({
31202
+ var Container$l = /*#__PURE__*/styled.div.withConfig({
31157
31203
  displayName: "NPCDialogText__Container",
31158
31204
  componentId: "sc-1cxkdh9-0"
31159
31205
  })([""]);
@@ -31305,7 +31351,7 @@ var QuestionDialog = function QuestionDialog(_ref) {
31305
31351
  return null;
31306
31352
  });
31307
31353
  };
31308
- return React.createElement(Container$n, null, React.createElement(QuestionContainer, null, React.createElement(DynamicText, {
31354
+ return React.createElement(Container$m, null, React.createElement(QuestionContainer, null, React.createElement(DynamicText, {
31309
31355
  text: currentQuestion.text,
31310
31356
  onStart: function onStart() {
31311
31357
  return setCanShowAnswers(false);
@@ -31315,7 +31361,7 @@ var QuestionDialog = function QuestionDialog(_ref) {
31315
31361
  }
31316
31362
  })), canShowAnswers && React.createElement(AnswersContainer, null, onRenderCurrentAnswers()));
31317
31363
  };
31318
- var Container$n = /*#__PURE__*/styled.div.withConfig({
31364
+ var Container$m = /*#__PURE__*/styled.div.withConfig({
31319
31365
  displayName: "QuestionDialog__Container",
31320
31366
  componentId: "sc-bxc5u0-0"
31321
31367
  })(["display:flex;word-break:break-all;box-sizing:border-box;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap;"]);
@@ -31376,7 +31422,7 @@ var NPCDialog = function NPCDialog(_ref) {
31376
31422
  }
31377
31423
  })), type === NPCDialogType.TextAndThumbnail && React.createElement(ThumbnailContainer, null, React.createElement(NPCThumbnail, {
31378
31424
  src: imagePath || img$7
31379
- }))) : React.createElement(React.Fragment, null, React.createElement(Container$o, null, React.createElement(CloseIcon, {
31425
+ }))) : React.createElement(React.Fragment, null, React.createElement(Container$n, null, React.createElement(CloseIcon, {
31380
31426
  onPointerDown: _onClose
31381
31427
  }, "X"), React.createElement(TextContainer$1, {
31382
31428
  flex: type === NPCDialogType.TextAndThumbnail ? '70%' : '100%'
@@ -31392,7 +31438,7 @@ var NPCDialog = function NPCDialog(_ref) {
31392
31438
  src: imagePath || img$7
31393
31439
  })))));
31394
31440
  };
31395
- var Container$o = /*#__PURE__*/styled.div.withConfig({
31441
+ var Container$n = /*#__PURE__*/styled.div.withConfig({
31396
31442
  displayName: "NPCDialog__Container",
31397
31443
  componentId: "sc-1b4aw74-0"
31398
31444
  })(["display:flex;width:100%;height:100%;box-sizing:border-box;justify-content:center;align-items:flex-start;position:relative;"]);
@@ -31453,7 +31499,7 @@ var NPCMultiDialog = function NPCMultiDialog(_ref) {
31453
31499
  type: RPGUIContainerTypes.FramedGold,
31454
31500
  width: '50%',
31455
31501
  height: '180px'
31456
- }, React.createElement(React.Fragment, null, React.createElement(Container$p, null, ((_textAndTypeArray$sli = textAndTypeArray[slide]) == null ? void 0 : _textAndTypeArray$sli.imageSide) === 'right' && React.createElement(React.Fragment, null, React.createElement(TextContainer$2, {
31502
+ }, React.createElement(React.Fragment, null, React.createElement(Container$o, null, ((_textAndTypeArray$sli = textAndTypeArray[slide]) == null ? void 0 : _textAndTypeArray$sli.imageSide) === 'right' && React.createElement(React.Fragment, null, React.createElement(TextContainer$2, {
31457
31503
  flex: '70%'
31458
31504
  }, React.createElement(NPCDialogText, {
31459
31505
  onStartStep: function onStartStep() {
@@ -31495,7 +31541,7 @@ var NPCMultiDialog = function NPCMultiDialog(_ref) {
31495
31541
  src: img$6
31496
31542
  }))), ")"));
31497
31543
  };
31498
- var Container$p = /*#__PURE__*/styled.div.withConfig({
31544
+ var Container$o = /*#__PURE__*/styled.div.withConfig({
31499
31545
  displayName: "NPCMultiDialog__Container",
31500
31546
  componentId: "sc-rvu5wg-0"
31501
31547
  })(["display:flex;width:100%;height:100%;box-sizing:border-box;justify-content:center;align-items:flex-start;position:relative;"]);
@@ -31766,71 +31812,6 @@ var FadeInCarouselImg = /*#__PURE__*/styled(CarouselImg).withConfig({
31766
31812
  componentId: "sc-gdvbly-5"
31767
31813
  })(["animation:", " 0.5s;"], fadeIn);
31768
31814
 
31769
- var UI_BREAKPOINT_MOBILE = '950px';
31770
- var UI_BREAKPOINT_SMALL_LAPTOP = '1400px';
31771
-
31772
- var InternalTabs = function InternalTabs(_ref) {
31773
- var _tabs$find;
31774
- var tabs = _ref.tabs,
31775
- _ref$activeColor = _ref.activeColor,
31776
- activeColor = _ref$activeColor === void 0 ? '#fef08a' : _ref$activeColor,
31777
- _ref$activeTextColor = _ref.activeTextColor,
31778
- activeTextColor = _ref$activeTextColor === void 0 ? '#000000' : _ref$activeTextColor,
31779
- _ref$inactiveColor = _ref.inactiveColor,
31780
- inactiveColor = _ref$inactiveColor === void 0 ? '#6b7280' : _ref$inactiveColor,
31781
- _ref$borderColor = _ref.borderColor,
31782
- borderColor = _ref$borderColor === void 0 ? '#f59e0b' : _ref$borderColor,
31783
- _ref$hoverColor = _ref.hoverColor,
31784
- hoverColor = _ref$hoverColor === void 0 ? '#fef3c7' : _ref$hoverColor,
31785
- onTabChange = _ref.onTabChange,
31786
- externalActiveTab = _ref.activeTab;
31787
- var activeTabId = externalActiveTab != null ? externalActiveTab : tabs[0].id;
31788
- return React.createElement(TableWrapper, null, React.createElement(TabHeader, {
31789
- borderColor: borderColor
31790
- }, tabs.map(function (tab) {
31791
- return React.createElement(TabButton, {
31792
- key: tab.id,
31793
- active: activeTabId === tab.id,
31794
- activeColor: activeColor,
31795
- activeTextColor: activeTextColor,
31796
- inactiveColor: inactiveColor,
31797
- borderColor: borderColor,
31798
- hoverColor: hoverColor,
31799
- onClick: function onClick() {
31800
- return onTabChange == null ? void 0 : onTabChange(tab.id);
31801
- }
31802
- }, tab.title);
31803
- })), React.createElement(ContentWrapper, null, (_tabs$find = tabs.find(function (tab) {
31804
- return tab.id === activeTabId;
31805
- })) == null ? void 0 : _tabs$find.content));
31806
- };
31807
- var TableWrapper = /*#__PURE__*/styled.div.withConfig({
31808
- displayName: "InternalTabs__TableWrapper",
31809
- componentId: "sc-ldufv0-0"
31810
- })(["width:100%;"]);
31811
- var TabHeader = /*#__PURE__*/styled.div.withConfig({
31812
- displayName: "InternalTabs__TabHeader",
31813
- componentId: "sc-ldufv0-1"
31814
- })(["display:flex;border-bottom:1px solid ", ";"], function (props) {
31815
- return props.borderColor;
31816
- });
31817
- var TabButton = /*#__PURE__*/styled.button.withConfig({
31818
- displayName: "InternalTabs__TabButton",
31819
- componentId: "sc-ldufv0-2"
31820
- })(["flex:1;padding:0.25rem 0.5rem;font-size:0.75rem;font-weight:500;border-right:1px solid ", ";background-color:", ";color:", ";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;@media (min-width:480px){padding:0.375rem 0.75rem;font-size:0.8125rem;}@media (min-width:", "){padding:0.5rem 1rem;font-size:0.875rem;}&:last-child{border-right:none;}&:hover{background-color:", ";}"], function (props) {
31821
- return props.borderColor;
31822
- }, function (props) {
31823
- return props.active ? props.activeColor : 'transparent';
31824
- }, function (props) {
31825
- return props.active ? props.activeTextColor : props.inactiveColor;
31826
- }, UI_BREAKPOINT_MOBILE, function (props) {
31827
- return props.active ? props.activeColor : props.hoverColor;
31828
- });
31829
- var ContentWrapper = /*#__PURE__*/styled.div.withConfig({
31830
- displayName: "InternalTabs__ContentWrapper",
31831
- componentId: "sc-ldufv0-3"
31832
- })(["width:100%;"]);
31833
-
31834
31815
  var TOOLTIP_OFFSET = 10;
31835
31816
  var MIN_VISIBLE_HEIGHT = 100;
31836
31817
  var useTooltipPosition = function useTooltipPosition() {
@@ -31927,7 +31908,7 @@ var Pagination = function Pagination(_ref) {
31927
31908
  totalPages = _ref.totalPages,
31928
31909
  onPageChange = _ref.onPageChange,
31929
31910
  className = _ref.className;
31930
- return React.createElement(Container$q, {
31911
+ return React.createElement(Container$p, {
31931
31912
  className: className
31932
31913
  }, React.createElement(PaginationButton$1, {
31933
31914
  onClick: function onClick() {
@@ -31945,7 +31926,7 @@ var Pagination = function Pagination(_ref) {
31945
31926
  size: 12
31946
31927
  })));
31947
31928
  };
31948
- var Container$q = /*#__PURE__*/styled.div.withConfig({
31929
+ var Container$p = /*#__PURE__*/styled.div.withConfig({
31949
31930
  displayName: "Pagination__Container",
31950
31931
  componentId: "sc-3k4m4u-0"
31951
31932
  })(["display:flex;align-items:center;justify-content:center;gap:16px;padding:8px;"]);
@@ -32053,12 +32034,12 @@ var PaginatedContent = function PaginatedContent(_ref) {
32053
32034
  setCurrentPage = _usePagination.setCurrentPage,
32054
32035
  paginatedItems = _usePagination.paginatedItems,
32055
32036
  totalPages = _usePagination.totalPages;
32056
- return React.createElement(Container$r, {
32037
+ return React.createElement(Container$q, {
32057
32038
  className: className
32058
32039
  }, (searchOptions || filterOptions) && React.createElement(SearchHeader$1, {
32059
32040
  searchOptions: searchOptions,
32060
32041
  filterOptions: filterOptions
32061
- }), items.length === 0 ? React.createElement(EmptyMessage, null, emptyMessage) : React.createElement(React.Fragment, null, React.createElement(Content, {
32042
+ }), items.length === 0 ? React.createElement(EmptyMessage$1, null, emptyMessage) : React.createElement(React.Fragment, null, React.createElement(Content, {
32062
32043
  className: "PaginatedContent-content " + layout,
32063
32044
  "$gridColumns": gridColumns,
32064
32045
  "$itemHeight": itemHeight
@@ -32075,7 +32056,7 @@ var PaginatedContent = function PaginatedContent(_ref) {
32075
32056
  onPageChange: setCurrentPage
32076
32057
  }))));
32077
32058
  };
32078
- var Container$r = /*#__PURE__*/styled.div.withConfig({
32059
+ var Container$q = /*#__PURE__*/styled.div.withConfig({
32079
32060
  displayName: "PaginatedContent__Container",
32080
32061
  componentId: "sc-lzp9hn-0"
32081
32062
  })(["display:flex;flex-direction:column;gap:0.5rem;min-height:400px;width:100%;"]);
@@ -32094,7 +32075,7 @@ var PaginationContainer$1 = /*#__PURE__*/styled.div.withConfig({
32094
32075
  displayName: "PaginatedContent__PaginationContainer",
32095
32076
  componentId: "sc-lzp9hn-2"
32096
32077
  })(["display:flex;justify-content:center;padding:0.5rem;@media (min-width:480px){padding:1rem;}"]);
32097
- var EmptyMessage = /*#__PURE__*/styled.div.withConfig({
32078
+ var EmptyMessage$1 = /*#__PURE__*/styled.div.withConfig({
32098
32079
  displayName: "PaginatedContent__EmptyMessage",
32099
32080
  componentId: "sc-lzp9hn-3"
32100
32081
  })(["text-align:center;color:#9ca3af;padding:2rem;flex:1;display:flex;align-items:center;justify-content:center;"]);
@@ -32197,7 +32178,7 @@ var BaseInformationDetails = function BaseInformationDetails(_ref) {
32197
32178
  atlasIMG = _ref.atlasIMG,
32198
32179
  onBack = _ref.onBack,
32199
32180
  children = _ref.children;
32200
- return React.createElement(Container$s, null, React.createElement(Overlay, {
32181
+ return React.createElement(Container$r, null, React.createElement(Overlay, {
32201
32182
  onClick: onBack
32202
32183
  }), React.createElement(Modal, null, React.createElement(CloseButton$5, {
32203
32184
  onClick: onBack
@@ -32210,7 +32191,7 @@ var BaseInformationDetails = function BaseInformationDetails(_ref) {
32210
32191
  imgScale: 1
32211
32192
  })), React.createElement(Title$3, null, name)), React.createElement(Content$1, null, children)));
32212
32193
  };
32213
- var Container$s = /*#__PURE__*/styled.div.withConfig({
32194
+ var Container$r = /*#__PURE__*/styled.div.withConfig({
32214
32195
  displayName: "BaseInformationDetails__Container",
32215
32196
  componentId: "sc-1vguuz8-0"
32216
32197
  })(["position:fixed;inset:0;display:flex;justify-content:center;align-items:center;z-index:9999;"]);
@@ -32252,7 +32233,7 @@ var Collapsible = function Collapsible(_ref) {
32252
32233
  var _useState = useState(defaultOpen),
32253
32234
  isOpen = _useState[0],
32254
32235
  setIsOpen = _useState[1];
32255
- return React.createElement(Container$t, {
32236
+ return React.createElement(Container$s, {
32256
32237
  className: className
32257
32238
  }, React.createElement(Header$3, {
32258
32239
  onClick: function onClick() {
@@ -32260,7 +32241,7 @@ var Collapsible = function Collapsible(_ref) {
32260
32241
  }
32261
32242
  }, React.createElement(Title$4, null, title), React.createElement(Icon$1, null, isOpen ? React.createElement(FaChevronUp, null) : React.createElement(FaChevronDown, null))), isOpen && React.createElement(Content$2, null, children));
32262
32243
  };
32263
- var Container$t = /*#__PURE__*/styled.div.withConfig({
32244
+ var Container$s = /*#__PURE__*/styled.div.withConfig({
32264
32245
  displayName: "Collapsible__Container",
32265
32246
  componentId: "sc-s4h8ey-0"
32266
32247
  })(["background:rgba(0,0,0,0.3);border-radius:4px;overflow:hidden;border:1px solid ", ";"], uiColors.darkGray);
@@ -32590,7 +32571,7 @@ var AdvancedFilters = function AdvancedFilters(_ref) {
32590
32571
  onClose();
32591
32572
  }
32592
32573
  };
32593
- return React.createElement(Container$u, null, React.createElement(FilterButton, {
32574
+ return React.createElement(Container$t, null, React.createElement(FilterButton, {
32594
32575
  onClick: onToggle,
32595
32576
  "$hasActiveFilters": hasActiveFilters,
32596
32577
  ref: buttonRef
@@ -32621,7 +32602,7 @@ var AdvancedFilters = function AdvancedFilters(_ref) {
32621
32602
  onClick: onClearAll
32622
32603
  }, "Clear All Filters"))));
32623
32604
  };
32624
- var Container$u = /*#__PURE__*/styled.div.withConfig({
32605
+ var Container$t = /*#__PURE__*/styled.div.withConfig({
32625
32606
  displayName: "AdvancedFilters__Container",
32626
32607
  componentId: "sc-1xj6ldr-0"
32627
32608
  })(["position:relative;margin-left:0.5rem;"]);
@@ -33715,7 +33696,7 @@ var InformationCenter = function InformationCenter(_ref) {
33715
33696
  minWidth: "300px",
33716
33697
  cancelDrag: ".PaginatedContent-content",
33717
33698
  onCloseButton: onClose
33718
- }, React.createElement(Container$v, null, React.createElement(InternalTabs, {
33699
+ }, React.createElement(Container$u, null, React.createElement(InternalTabs, {
33719
33700
  tabs: tabs,
33720
33701
  activeTextColor: "#000000",
33721
33702
  activeTab: activeTab,
@@ -33726,7 +33707,7 @@ var InformationCenter = function InformationCenter(_ref) {
33726
33707
  hoverColor: "#fef3c7"
33727
33708
  })));
33728
33709
  };
33729
- var Container$v = /*#__PURE__*/styled.div.withConfig({
33710
+ var Container$u = /*#__PURE__*/styled.div.withConfig({
33730
33711
  displayName: "InformationCenter__Container",
33731
33712
  componentId: "sc-1ttl62e-0"
33732
33713
  })(["width:100%;max-width:100%;margin:0 auto;padding:0.125rem;overflow:hidden;box-sizing:border-box;@media (min-width:320px){padding:0.25rem;}@media (min-width:360px){padding:0.5rem;}@media (min-width:480px){padding:0.75rem;}"]);
@@ -33897,7 +33878,7 @@ var ShortcutsSetter = function ShortcutsSetter(_ref) {
33897
33878
  }
33898
33879
  return null;
33899
33880
  };
33900
- return React.createElement(Container$w, null, React.createElement("p", null, "Shortcuts:"), React.createElement(List, {
33881
+ return React.createElement(Container$v, null, React.createElement("p", null, "Shortcuts:"), React.createElement(List, {
33901
33882
  id: "shortcuts_list"
33902
33883
  }, Array.from({
33903
33884
  length: 12
@@ -33915,7 +33896,7 @@ var ShortcutsSetter = function ShortcutsSetter(_ref) {
33915
33896
  }, getContent(i));
33916
33897
  })));
33917
33898
  };
33918
- var Container$w = /*#__PURE__*/styled.div.withConfig({
33899
+ var Container$v = /*#__PURE__*/styled.div.withConfig({
33919
33900
  displayName: "ShortcutsSetter__Container",
33920
33901
  componentId: "sc-xuouuf-0"
33921
33902
  })(["p{margin:0;margin-left:0.5rem;font-size:10px;}width:100%;"]);
@@ -34459,13 +34440,13 @@ var ColorSelector = function ColorSelector(_ref) {
34459
34440
  cancelDrag: ".react-colorful",
34460
34441
  width: "25rem",
34461
34442
  onCloseButton: onClose
34462
- }, React.createElement(Container$x, null, React.createElement(Header$4, null, "Select Color"), React.createElement(ColorPickerWrapper, null, React.createElement(HexColorPicker, {
34443
+ }, React.createElement(Container$w, null, React.createElement(Header$4, null, "Select Color"), React.createElement(ColorPickerWrapper, null, React.createElement(HexColorPicker, {
34463
34444
  color: currentColor,
34464
34445
  onChange: function onChange(color) {
34465
34446
  setCurrentColor(color);
34466
34447
  _onChange(color);
34467
34448
  }
34468
- })), React.createElement(ButtonContainer$2, null, React.createElement(Button, {
34449
+ })), React.createElement(ButtonContainer$1, null, React.createElement(Button, {
34469
34450
  buttonType: ButtonTypes.RPGUIButton,
34470
34451
  type: "button",
34471
34452
  onClick: handleConfirm
@@ -34475,7 +34456,7 @@ var ColorSelector = function ColorSelector(_ref) {
34475
34456
  onClose: handleClose
34476
34457
  }));
34477
34458
  };
34478
- var Container$x = /*#__PURE__*/styled.div.withConfig({
34459
+ var Container$w = /*#__PURE__*/styled.div.withConfig({
34479
34460
  displayName: "ItemPropertyColorSelector__Container",
34480
34461
  componentId: "sc-me1r4z-0"
34481
34462
  })(["text-align:center;background:inherit;display:flex;flex-direction:column;gap:1.5rem;align-items:center;width:100%;max-width:24rem;margin:0 auto;"]);
@@ -34487,7 +34468,7 @@ var ColorPickerWrapper = /*#__PURE__*/styled.div.withConfig({
34487
34468
  displayName: "ItemPropertyColorSelector__ColorPickerWrapper",
34488
34469
  componentId: "sc-me1r4z-2"
34489
34470
  })(["display:flex;justify-content:center;width:100%;.react-colorful{width:100%;max-width:200px;}"]);
34490
- var ButtonContainer$2 = /*#__PURE__*/styled.div.withConfig({
34471
+ var ButtonContainer$1 = /*#__PURE__*/styled.div.withConfig({
34491
34472
  displayName: "ItemPropertyColorSelector__ButtonContainer",
34492
34473
  componentId: "sc-me1r4z-3"
34493
34474
  })(["display:flex;justify-content:center;width:100%;"]);
@@ -34831,7 +34812,7 @@ var ListMenu = function ListMenu(_ref) {
34831
34812
  onSelected = _ref.onSelected,
34832
34813
  x = _ref.x,
34833
34814
  y = _ref.y;
34834
- return React.createElement(Container$y, {
34815
+ return React.createElement(Container$x, {
34835
34816
  x: x,
34836
34817
  y: y
34837
34818
  }, React.createElement("ul", {
@@ -34848,7 +34829,7 @@ var ListMenu = function ListMenu(_ref) {
34848
34829
  }, (params == null ? void 0 : params.text) || 'No text');
34849
34830
  })));
34850
34831
  };
34851
- var Container$y = /*#__PURE__*/styled.div.withConfig({
34832
+ var Container$x = /*#__PURE__*/styled.div.withConfig({
34852
34833
  displayName: "ListMenu__Container",
34853
34834
  componentId: "sc-i9097t-0"
34854
34835
  })(["display:flex;flex-direction:column;width:100%;justify-content:start;align-items:flex-start;position:absolute;top:", "px;left:", "px;li{font-size:", ";}"], function (props) {
@@ -34867,7 +34848,7 @@ var Pager = function Pager(_ref) {
34867
34848
  itemsPerPage = _ref.itemsPerPage,
34868
34849
  onPageChange = _ref.onPageChange;
34869
34850
  var totalPages = Math.ceil(totalItems / itemsPerPage);
34870
- return React.createElement(Container$z, null, React.createElement("p", null, "Total items: ", totalItems), React.createElement(PagerContainer, null, React.createElement("button", {
34851
+ return React.createElement(Container$y, null, React.createElement("p", null, "Total items: ", totalItems), React.createElement(PagerContainer, null, React.createElement("button", {
34871
34852
  disabled: currentPage === 1,
34872
34853
  onPointerDown: function onPointerDown() {
34873
34854
  return onPageChange(Math.max(currentPage - 1, 1));
@@ -34881,7 +34862,7 @@ var Pager = function Pager(_ref) {
34881
34862
  }
34882
34863
  }, '>')));
34883
34864
  };
34884
- var Container$z = /*#__PURE__*/styled.div.withConfig({
34865
+ var Container$y = /*#__PURE__*/styled.div.withConfig({
34885
34866
  displayName: "Pager__Container",
34886
34867
  componentId: "sc-1ekmf50-0"
34887
34868
  })(["display:flex;flex-direction:column;align-items:center;p{margin:0;font-size:", ";}"], uiFonts.size.xsmall);
@@ -34935,7 +34916,7 @@ var MarketplaceRows = function MarketplaceRows(_ref) {
34935
34916
  maxLines: 1,
34936
34917
  maxWidth: "200px",
34937
34918
  fontSize: "10px"
34938
- }, "$", itemPrice)))), React.createElement(ButtonContainer$3, null, React.createElement(Button, {
34919
+ }, "$", itemPrice)))), React.createElement(ButtonContainer$2, null, React.createElement(Button, {
34939
34920
  buttonType: ButtonTypes.RPGUIButton,
34940
34921
  disabled: disabled,
34941
34922
  onPointerDown: function onPointerDown() {
@@ -34977,7 +34958,7 @@ var PriceValue = /*#__PURE__*/styled.div.withConfig({
34977
34958
  displayName: "MarketplaceRows__PriceValue",
34978
34959
  componentId: "sc-wmpr1o-7"
34979
34960
  })(["margin-left:40px;"]);
34980
- var ButtonContainer$3 = /*#__PURE__*/styled.div.withConfig({
34961
+ var ButtonContainer$2 = /*#__PURE__*/styled.div.withConfig({
34981
34962
  displayName: "MarketplaceRows__ButtonContainer",
34982
34963
  componentId: "sc-wmpr1o-8"
34983
34964
  })(["margin:auto;"]);
@@ -35402,13 +35383,13 @@ var TabBody = function TabBody(_ref) {
35402
35383
  children = _ref.children,
35403
35384
  styles = _ref.styles,
35404
35385
  centerContent = _ref.centerContent;
35405
- return React.createElement(Container$A, {
35386
+ return React.createElement(Container$z, {
35406
35387
  styles: styles,
35407
35388
  "data-tab-id": id,
35408
35389
  centerContent: centerContent
35409
35390
  }, children);
35410
35391
  };
35411
- var Container$A = /*#__PURE__*/styled.div.withConfig({
35392
+ var Container$z = /*#__PURE__*/styled.div.withConfig({
35412
35393
  displayName: "TabBody__Container",
35413
35394
  componentId: "sc-196oof2-0"
35414
35395
  })(["width:", ";height:", ";overflow-y:auto;display:", ";justify-content:", ";align-items:", ";"], function (props) {
@@ -35746,7 +35727,7 @@ var PartyManagerRow = function PartyManagerRow(_ref) {
35746
35727
  }, charName, " ", isCurrentUser ? '(You)' : '', " ", isLeader ? '(Leader)' : '')), React.createElement(TextContainer$5, null, React.createElement(Ellipsis, {
35747
35728
  maxLines: 1,
35748
35729
  maxWidth: "300px"
35749
- }, charClass)), React.createElement(ButtonContainer$4, null, canRemove && React.createElement(HighlightedText, {
35730
+ }, charClass)), React.createElement(ButtonContainer$3, null, canRemove && React.createElement(HighlightedText, {
35750
35731
  onPointerDown: function onPointerDown() {
35751
35732
  return onRemovePlayer(id);
35752
35733
  }
@@ -35764,7 +35745,7 @@ var TextContainer$5 = /*#__PURE__*/styled.div.withConfig({
35764
35745
  displayName: "PartyManagerRows__TextContainer",
35765
35746
  componentId: "sc-uqajew-1"
35766
35747
  })(["color:", ";overflow:hidden;white-space:nowrap;text-overflow:ellipsis;"], uiColors.white);
35767
- var ButtonContainer$4 = /*#__PURE__*/styled.div.withConfig({
35748
+ var ButtonContainer$3 = /*#__PURE__*/styled.div.withConfig({
35768
35749
  displayName: "PartyManagerRows__ButtonContainer",
35769
35750
  componentId: "sc-uqajew-2"
35770
35751
  })(["display:flex;align-items:center;gap:1rem;justify-content:flex-start;"]);
@@ -36063,7 +36044,7 @@ var ProgressBar$1 = function ProgressBar(_ref) {
36063
36044
  // Round only for display, not for calculation
36064
36045
  var displayValue = Math.round(value);
36065
36046
  var displayMax = Math.round(max);
36066
- return React.createElement(Container$B, {
36047
+ return React.createElement(Container$A, {
36067
36048
  className: "rpgui-progress",
36068
36049
  "data-value": calculatePercentageValue(max, value) / 100,
36069
36050
  "data-rpguitype": "progress",
@@ -36095,7 +36076,7 @@ var TextOverlay$1 = /*#__PURE__*/styled.div.withConfig({
36095
36076
  displayName: "ProgressBar__TextOverlay",
36096
36077
  componentId: "sc-qa6fzh-1"
36097
36078
  })(["width:100%;position:relative;"]);
36098
- var Container$B = /*#__PURE__*/styled.div.withConfig({
36079
+ var Container$A = /*#__PURE__*/styled.div.withConfig({
36099
36080
  displayName: "ProgressBar__Container",
36100
36081
  componentId: "sc-qa6fzh-2"
36101
36082
  })(["display:flex;flex-direction:column;min-width:", "px;width:", "%;justify-content:start;align-items:flex-start;", " @media (max-width:950px){transform:scale(", ");}"], function (props) {
@@ -36336,9 +36317,9 @@ var InputRadio = function InputRadio(_ref) {
36336
36317
 
36337
36318
  var RPGUIScrollbar = function RPGUIScrollbar(_ref) {
36338
36319
  var children = _ref.children;
36339
- return React.createElement(Container$C, null, children);
36320
+ return React.createElement(Container$B, null, children);
36340
36321
  };
36341
- var Container$C = /*#__PURE__*/styled.div.withConfig({
36322
+ var Container$B = /*#__PURE__*/styled.div.withConfig({
36342
36323
  displayName: "RPGUIScrollbar__Container",
36343
36324
  componentId: "sc-p3msmb-0"
36344
36325
  })([".rpgui-content ::-webkit-scrollbar,.rpgui-content::-webkit-scrollbar{width:25px !important;}.rpgui-content ::-webkit-scrollbar-track,.rpgui-content::-webkit-scrollbar-track{background-size:25px 60px !important;}"]);
@@ -36495,7 +36476,7 @@ var SimpleProgressBar = function SimpleProgressBar(_ref) {
36495
36476
  margin = _ref$margin === void 0 ? 20 : _ref$margin;
36496
36477
  // Ensure the width is at least 1% if value is greater than 0, capped at 99.99%
36497
36478
  var width = value > 0 ? Math.max(1, Math.min(99.99, value)) : 0;
36498
- return React.createElement(Container$D, {
36479
+ return React.createElement(Container$C, {
36499
36480
  className: "simple-progress-bar"
36500
36481
  }, React.createElement(ProgressBarContainer, {
36501
36482
  margin: margin
@@ -36504,7 +36485,7 @@ var SimpleProgressBar = function SimpleProgressBar(_ref) {
36504
36485
  bgColor: bgColor
36505
36486
  }))));
36506
36487
  };
36507
- var Container$D = /*#__PURE__*/styled.div.withConfig({
36488
+ var Container$C = /*#__PURE__*/styled.div.withConfig({
36508
36489
  displayName: "SimpleProgressBar__Container",
36509
36490
  componentId: "sc-mbeil3-0"
36510
36491
  })(["display:flex;justify-content:center;align-items:center;width:100%;"]);
@@ -36892,7 +36873,7 @@ var SocialModal = function SocialModal(_ref) {
36892
36873
  title: "Social Channels",
36893
36874
  width: "500px",
36894
36875
  onCloseButton: onClose
36895
- }, React.createElement(Container$E, null, React.createElement(HeaderImage, {
36876
+ }, React.createElement(Container$D, null, React.createElement(HeaderImage, {
36896
36877
  src: img$9,
36897
36878
  alt: ""
36898
36879
  }), React.createElement(ButtonsContainer$3, null, React.createElement(MainButtons, null, React.createElement(SocialButton$1, {
@@ -36910,7 +36891,7 @@ var SocialModal = function SocialModal(_ref) {
36910
36891
  onClick: handleWhatsAppClick
36911
36892
  }, React.createElement(FaWhatsapp, null), " Join WhatsApp")))));
36912
36893
  };
36913
- var Container$E = /*#__PURE__*/styled.div.withConfig({
36894
+ var Container$D = /*#__PURE__*/styled.div.withConfig({
36914
36895
  displayName: "SocialModal__Container",
36915
36896
  componentId: "sc-tbjhp9-0"
36916
36897
  })(["width:100%;display:flex;flex-direction:column;gap:16px;background-color:#5c4132;position:relative;border-radius:8px;overflow:hidden;&:before,&:after{content:'';position:absolute;left:0;right:0;height:3px;}&:before{bottom:0;background:linear-gradient( to right,#5c4132 0%,#2b1810 2%,#2b1810 98%,#5c4132 100% );}"]);
@@ -36956,7 +36937,7 @@ var SpellInfo$1 = function SpellInfo(_ref) {
36956
36937
  castingType = spell.castingType,
36957
36938
  cooldown = spell.cooldown,
36958
36939
  maxDistanceGrid = spell.maxDistanceGrid;
36959
- return React.createElement(Container$F, null, React.createElement(Header$6, null, React.createElement("div", null, React.createElement(Title$b, null, name), React.createElement(Type$1, null, magicWords))), React.createElement(Statistic$1, null, React.createElement("div", {
36940
+ return React.createElement(Container$E, null, React.createElement(Header$6, null, React.createElement("div", null, React.createElement(Title$b, null, name), React.createElement(Type$1, null, magicWords))), React.createElement(Statistic$1, null, React.createElement("div", {
36960
36941
  className: "label"
36961
36942
  }, "Casting Type:"), React.createElement("div", {
36962
36943
  className: "value"
@@ -36982,7 +36963,7 @@ var SpellInfo$1 = function SpellInfo(_ref) {
36982
36963
  className: "value"
36983
36964
  }, requiredItem))), React.createElement(Description$4, null, description));
36984
36965
  };
36985
- var Container$F = /*#__PURE__*/styled.div.withConfig({
36966
+ var Container$E = /*#__PURE__*/styled.div.withConfig({
36986
36967
  displayName: "SpellInfo__Container",
36987
36968
  componentId: "sc-4hbw3q-0"
36988
36969
  })(["color:white;background-color:#222;border-radius:5px;padding:0.5rem;font-size:", ";border:3px solid ", ";height:max-content;width:30rem;@media (max-width:580px){width:80vw;}"], uiFonts.size.small, uiColors.lightGray);
@@ -37036,7 +37017,7 @@ var MobileSpellTooltip = function MobileSpellTooltip(_ref) {
37036
37017
  var _ref$current;
37037
37018
  (_ref$current = ref.current) == null ? void 0 : _ref$current.classList.add('fadeOut');
37038
37019
  };
37039
- return React.createElement(ModalPortal, null, React.createElement(Container$G, {
37020
+ return React.createElement(ModalPortal, null, React.createElement(Container$F, {
37040
37021
  ref: ref,
37041
37022
  onTouchEnd: function onTouchEnd() {
37042
37023
  handleFadeOut();
@@ -37061,7 +37042,7 @@ var MobileSpellTooltip = function MobileSpellTooltip(_ref) {
37061
37042
  }, option.text);
37062
37043
  }))));
37063
37044
  };
37064
- var Container$G = /*#__PURE__*/styled.div.withConfig({
37045
+ var Container$F = /*#__PURE__*/styled.div.withConfig({
37065
37046
  displayName: "MobileSpellTooltip__Container",
37066
37047
  componentId: "sc-6p7uvr-0"
37067
37048
  })(["position:absolute;z-index:100;left:0;top:0;width:100vw;height:100vh;background-color:rgba(0 0 0 / 0.5);display:flex;justify-content:center;align-items:center;gap:0.5rem;transition:opacity 0.08s;animation:fadeIn 0.1s forwards;@keyframes fadeIn{0%{opacity:0;}100%{opacity:0.92;}}@keyframes fadeOut{0%{opacity:0.92;}100%{opacity:0;}}&.fadeOut{animation:fadeOut 0.1s forwards;}@media (max-width:580px){flex-direction:column;}"]);
@@ -37102,13 +37083,13 @@ var MagicTooltip = function MagicTooltip(_ref) {
37102
37083
  }
37103
37084
  return;
37104
37085
  }, []);
37105
- return React.createElement(ModalPortal, null, React.createElement(Container$H, {
37086
+ return React.createElement(ModalPortal, null, React.createElement(Container$G, {
37106
37087
  ref: ref
37107
37088
  }, React.createElement(SpellInfoDisplay, {
37108
37089
  spell: spell
37109
37090
  })));
37110
37091
  };
37111
- var Container$H = /*#__PURE__*/styled.div.withConfig({
37092
+ var Container$G = /*#__PURE__*/styled.div.withConfig({
37112
37093
  displayName: "SpellTooltip__Container",
37113
37094
  componentId: "sc-1go0gwg-0"
37114
37095
  })(["position:absolute;z-index:100;pointer-events:none;left:0;top:0;opacity:0;transition:opacity 0.08s;"]);
@@ -37210,7 +37191,7 @@ var Spell = function Spell(_ref) {
37210
37191
  var IMAGE_SCALE = 2;
37211
37192
  return React.createElement(SpellInfoWrapper, {
37212
37193
  spell: spell
37213
- }, React.createElement(Container$I, {
37194
+ }, React.createElement(Container$H, {
37214
37195
  onPointerUp: onPointerUp == null ? void 0 : onPointerUp.bind(null, spellKey),
37215
37196
  isSettingShortcut: isSettingShortcut && !disabled,
37216
37197
  className: "spell"
@@ -37229,7 +37210,7 @@ var Spell = function Spell(_ref) {
37229
37210
  className: "mana"
37230
37211
  }, manaCost))));
37231
37212
  };
37232
- var Container$I = /*#__PURE__*/styled.button.withConfig({
37213
+ var Container$H = /*#__PURE__*/styled.button.withConfig({
37233
37214
  displayName: "Spell__Container",
37234
37215
  componentId: "sc-j96fa2-0"
37235
37216
  })(["display:block;background:none;border:2px solid transparent;border-radius:1rem;width:100%;display:flex;gap:1rem;align-items:center;padding:0 1rem;text-align:left;position:relative;animation:", ";@keyframes border-color-change{0%{border-color:", ";}50%{border-color:transparent;}100%{border-color:", ";}}&:hover,&:focus{background-color:", ";}&:active{background:none;}"], function (_ref2) {
@@ -37309,7 +37290,7 @@ var Spellbook = function Spellbook(_ref) {
37309
37290
  height: "inherit",
37310
37291
  cancelDrag: "#spellbook-search, #shortcuts_list, .spell",
37311
37292
  scale: scale
37312
- }, React.createElement(Container$J, null, React.createElement(Title$d, null, "Learned Spells"), React.createElement(ShortcutsSetter, {
37293
+ }, React.createElement(Container$I, null, React.createElement(Title$d, null, "Learned Spells"), React.createElement(ShortcutsSetter, {
37313
37294
  setSettingShortcutIndex: setSettingShortcutIndex,
37314
37295
  settingShortcutIndex: settingShortcutIndex,
37315
37296
  shortcuts: shortcuts,
@@ -37346,7 +37327,7 @@ var Title$d = /*#__PURE__*/styled.h1.withConfig({
37346
37327
  displayName: "Spellbook__Title",
37347
37328
  componentId: "sc-r02nfq-0"
37348
37329
  })(["font-size:", " !important;margin-bottom:0 !important;"], uiFonts.size.large);
37349
- var Container$J = /*#__PURE__*/styled.div.withConfig({
37330
+ var Container$I = /*#__PURE__*/styled.div.withConfig({
37350
37331
  displayName: "Spellbook__Container",
37351
37332
  componentId: "sc-r02nfq-1"
37352
37333
  })(["width:100%;height:100%;color:white;display:flex;flex-direction:column;"]);
@@ -57731,7 +57712,7 @@ var CTAButton = function CTAButton(_ref) {
57731
57712
  iconColor = _ref$iconColor === void 0 ? '#f59e0b' : _ref$iconColor,
57732
57713
  _ref$disabled = _ref.disabled,
57733
57714
  disabled = _ref$disabled === void 0 ? false : _ref$disabled;
57734
- return React.createElement(ButtonContainer$5, {
57715
+ return React.createElement(ButtonContainer$4, {
57735
57716
  className: className,
57736
57717
  onPointerDown: disabled ? undefined : onClick,
57737
57718
  "$fullWidth": fullWidth,
@@ -57745,7 +57726,7 @@ var CTAButton = function CTAButton(_ref) {
57745
57726
  "$disabled": disabled
57746
57727
  }, label)));
57747
57728
  };
57748
- var ButtonContainer$5 = /*#__PURE__*/styled.div.withConfig({
57729
+ var ButtonContainer$4 = /*#__PURE__*/styled.div.withConfig({
57749
57730
  displayName: "CTAButton__ButtonContainer",
57750
57731
  componentId: "sc-1azvwn5-0"
57751
57732
  })(["display:inline-flex;align-items:center;padding:0.75rem 1.25rem;background:rgba(0,0,0,0.3);border:2px solid #f59e0b;box-shadow:0 0 10px rgba(245,158,11,0.3);border-radius:4px;cursor:", ";transition:all 0.2s;position:relative;opacity:", ";color:", ";", " &:hover{background:", ";box-shadow:", ";transform:", ";}&:active{transform:", ";box-shadow:", ";}&:before{content:'';position:absolute;inset:-1px;border-radius:5px;padding:1px;background:linear-gradient(45deg,#f59e0b,#fbbf24,#f59e0b);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask-composite:destination-out;}"], function (props) {
@@ -57854,7 +57835,7 @@ var CartView = function CartView(_ref2) {
57854
57835
  return _ref3.apply(this, arguments);
57855
57836
  };
57856
57837
  }();
57857
- return React.createElement(Container$K, null, React.createElement(Header$7, null, React.createElement(Title$e, null, "Shopping Cart"), React.createElement(CloseButton$9, {
57838
+ return React.createElement(Container$J, null, React.createElement(Header$7, null, React.createElement(Title$e, null, "Shopping Cart"), React.createElement(CloseButton$9, {
57858
57839
  onPointerDown: onClose
57859
57840
  }, React.createElement(FaTimes, null))), React.createElement(CartItems, null, cartItems.length === 0 ? React.createElement(EmptyCart, null, "Your cart is empty") : cartItems.map(function (cartItem) {
57860
57841
  var _cartItem$metadata, _cartItem$metadata2;
@@ -57890,7 +57871,7 @@ var CartView = function CartView(_ref2) {
57890
57871
  disabled: cartItems.length === 0 || isLoading
57891
57872
  })));
57892
57873
  };
57893
- var Container$K = /*#__PURE__*/styled.div.withConfig({
57874
+ var Container$J = /*#__PURE__*/styled.div.withConfig({
57894
57875
  displayName: "CartView__Container",
57895
57876
  componentId: "sc-ydtyl1-0"
57896
57877
  })(["display:flex;flex-direction:column;width:100%;height:100%;gap:1.5rem;padding:1.5rem;"]);
@@ -58244,9 +58225,9 @@ var ScrollableContent = function ScrollableContent(_ref) {
58244
58225
  _ref$maxHeight = _ref.maxHeight,
58245
58226
  maxHeight = _ref$maxHeight === void 0 ? '500px' : _ref$maxHeight;
58246
58227
  if (items.length === 0) {
58247
- return React.createElement(EmptyMessage$1, null, emptyMessage);
58228
+ return React.createElement(EmptyMessage$2, null, emptyMessage);
58248
58229
  }
58249
- return React.createElement(Container$L, {
58230
+ return React.createElement(Container$K, {
58250
58231
  className: className
58251
58232
  }, (searchOptions || filterOptions) && React.createElement(HeaderContainer$3, null, React.createElement(HeaderContent$1, null, searchOptions && React.createElement(SearchContainer$3, null, React.createElement(StyledSearchBar$2, {
58252
58233
  value: searchOptions.value,
@@ -58267,7 +58248,7 @@ var ScrollableContent = function ScrollableContent(_ref) {
58267
58248
  }, renderItem(item));
58268
58249
  })));
58269
58250
  };
58270
- var Container$L = /*#__PURE__*/styled.div.withConfig({
58251
+ var Container$K = /*#__PURE__*/styled.div.withConfig({
58271
58252
  displayName: "ScrollableContent__Container",
58272
58253
  componentId: "sc-xhh2um-0"
58273
58254
  })(["display:flex;flex-direction:column;gap:1rem;width:100%;"]);
@@ -58303,7 +58284,7 @@ var Content$4 = /*#__PURE__*/styled.div.withConfig({
58303
58284
  }, function (props) {
58304
58285
  return props.$gridColumns;
58305
58286
  });
58306
- var EmptyMessage$1 = /*#__PURE__*/styled.div.withConfig({
58287
+ var EmptyMessage$2 = /*#__PURE__*/styled.div.withConfig({
58307
58288
  displayName: "ScrollableContent__EmptyMessage",
58308
58289
  componentId: "sc-xhh2um-8"
58309
58290
  })(["text-align:center;color:#9ca3af;padding:2rem;flex:1;display:flex;align-items:center;justify-content:center;"]);
@@ -58883,7 +58864,7 @@ var StoreItemDetails = function StoreItemDetails(_ref) {
58883
58864
  if (typeof imageUrl === 'string') return imageUrl;
58884
58865
  return imageUrl["default"] || imageUrl.src;
58885
58866
  };
58886
- return React.createElement(Container$M, null, React.createElement(Header$9, null, React.createElement(BackButton, {
58867
+ return React.createElement(Container$L, null, React.createElement(Header$9, null, React.createElement(BackButton, {
58887
58868
  onClick: onBack
58888
58869
  }, React.createElement(FaArrowLeft, null), React.createElement("span", null, "Back"))), React.createElement(Content$5, null, React.createElement(DetailsGrid, null, React.createElement(ItemIcon, null, React.createElement("img", {
58889
58870
  src: getImageSrc(),
@@ -58897,7 +58878,7 @@ var StoreItemDetails = function StoreItemDetails(_ref) {
58897
58878
  fullWidth: true
58898
58879
  }))));
58899
58880
  };
58900
- var Container$M = /*#__PURE__*/styled.div.withConfig({
58881
+ var Container$L = /*#__PURE__*/styled.div.withConfig({
58901
58882
  displayName: "StoreItemDetails__Container",
58902
58883
  componentId: "sc-k3ho5z-0"
58903
58884
  })(["display:flex;flex-direction:column;gap:1.5rem;padding:1.5rem;height:100%;"]);
@@ -59160,7 +59141,7 @@ var Store = function Store(_ref) {
59160
59141
  onAddToCart: function onAddToCart() {
59161
59142
  return handleAddPackToCart(selectedPack);
59162
59143
  }
59163
- }) : React.createElement(Container$N, null, React.createElement(TopBar$1, null, React.createElement(HistoryButton, null, onShowHistory && React.createElement(CTAButton, {
59144
+ }) : React.createElement(Container$M, null, React.createElement(TopBar$1, null, React.createElement(HistoryButton, null, onShowHistory && React.createElement(CTAButton, {
59164
59145
  icon: React.createElement(FaHistory, null),
59165
59146
  label: "History",
59166
59147
  onClick: onShowHistory
@@ -59186,7 +59167,7 @@ var Store = function Store(_ref) {
59186
59167
  fullWidth: true
59187
59168
  }))));
59188
59169
  };
59189
- var Container$N = /*#__PURE__*/styled.div.withConfig({
59170
+ var Container$M = /*#__PURE__*/styled.div.withConfig({
59190
59171
  displayName: "Store__Container",
59191
59172
  componentId: "sc-64dj00-0"
59192
59173
  })(["display:flex;flex-direction:column;width:100%;height:100%;gap:1rem;position:relative;"]);
@@ -59557,7 +59538,7 @@ var TradingMenu = function TradingMenu(_ref) {
59557
59538
  width: "500px",
59558
59539
  cancelDrag: "#TraderContainer",
59559
59540
  scale: scale
59560
- }, React.createElement(Container$O, null, React.createElement(Title$f, null, type.charAt(0).toUpperCase() + type.slice(1), " Menu"), React.createElement("hr", {
59541
+ }, React.createElement(Container$N, null, React.createElement(Title$f, null, type.charAt(0).toUpperCase() + type.slice(1), " Menu"), React.createElement("hr", {
59561
59542
  className: "golden"
59562
59543
  }), React.createElement(ScrollWrapper, {
59563
59544
  id: "TraderContainer"
@@ -59585,7 +59566,7 @@ var TradingMenu = function TradingMenu(_ref) {
59585
59566
  onPointerDown: onClose
59586
59567
  }, "Cancel"))));
59587
59568
  };
59588
- var Container$O = /*#__PURE__*/styled.div.withConfig({
59569
+ var Container$N = /*#__PURE__*/styled.div.withConfig({
59589
59570
  displayName: "TradingMenu__Container",
59590
59571
  componentId: "sc-1wjsz1l-0"
59591
59572
  })(["width:100%;"]);
@@ -59619,11 +59600,11 @@ var Truncate = function Truncate(_ref) {
59619
59600
  var _ref$maxLines = _ref.maxLines,
59620
59601
  maxLines = _ref$maxLines === void 0 ? 1 : _ref$maxLines,
59621
59602
  children = _ref.children;
59622
- return React.createElement(Container$P, {
59603
+ return React.createElement(Container$O, {
59623
59604
  maxLines: maxLines
59624
59605
  }, children);
59625
59606
  };
59626
- var Container$P = /*#__PURE__*/styled.div.withConfig({
59607
+ var Container$O = /*#__PURE__*/styled.div.withConfig({
59627
59608
  displayName: "Truncate__Container",
59628
59609
  componentId: "sc-6x00qb-0"
59629
59610
  })(["display:-webkit-box;max-width:100%;max-height:100%;-webkit-line-clamp:", ";-webkit-box-orient:vertical;overflow:hidden;"], function (props) {
@@ -59731,7 +59712,7 @@ var TutorialStepper = /*#__PURE__*/React.memo(function (_ref) {
59731
59712
  };
59732
59713
  });
59733
59714
  }, [lessons, imageStyle]);
59734
- return React.createElement(Container$Q, null, React.createElement(Stepper, {
59715
+ return React.createElement(Container$P, null, React.createElement(Stepper, {
59735
59716
  steps: generateLessons,
59736
59717
  finalCTAButton: {
59737
59718
  label: 'Close',
@@ -59748,7 +59729,7 @@ var LessonBody = /*#__PURE__*/styled.div.withConfig({
59748
59729
  displayName: "TutorialStepper__LessonBody",
59749
59730
  componentId: "sc-7tgzv2-1"
59750
59731
  })([""]);
59751
- var Container$Q = /*#__PURE__*/styled.div.withConfig({
59732
+ var Container$P = /*#__PURE__*/styled.div.withConfig({
59752
59733
  displayName: "TutorialStepper__Container",
59753
59734
  componentId: "sc-7tgzv2-2"
59754
59735
  })(["width:80%;max-width:600px;@media (max-width:600px){width:95%;}"]);