@rpg-engine/long-bow 0.8.48 → 0.8.50

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.
@@ -26111,6 +26111,103 @@ var Container$4 = /*#__PURE__*/styled.div.withConfig({
26111
26111
  componentId: "sc-b34498-0"
26112
26112
  })(["display:flex;flex-direction:column;align-items:center;image-rendering:pixelated;"]);
26113
26113
 
26114
+ var CharacterSkinSelectionModal = function CharacterSkinSelectionModal(_ref) {
26115
+ var isOpen = _ref.isOpen,
26116
+ onClose = _ref.onClose,
26117
+ onConfirm = _ref.onConfirm,
26118
+ availableCharacters = _ref.availableCharacters,
26119
+ atlasJSON = _ref.atlasJSON,
26120
+ atlasIMG = _ref.atlasIMG,
26121
+ _ref$initialSelectedS = _ref.initialSelectedSkin,
26122
+ initialSelectedSkin = _ref$initialSelectedS === void 0 ? '' : _ref$initialSelectedS;
26123
+ // Convert availableCharacters to the format used by PropertySelect
26124
+ var propertySelectValues = availableCharacters.map(function (item) {
26125
+ return {
26126
+ id: item.textureKey,
26127
+ name: item.name
26128
+ };
26129
+ });
26130
+ // State to store the selected skin and the sprite key
26131
+ var _useState = useState(),
26132
+ selectedValue = _useState[0],
26133
+ setSelectedValue = _useState[1];
26134
+ var _useState2 = useState(''),
26135
+ selectedSpriteKey = _useState2[0],
26136
+ setSelectedSpriteKey = _useState2[1];
26137
+ // Update sprite when the selected value changes
26138
+ var updateSelectedSpriteKey = function updateSelectedSpriteKey() {
26139
+ var textureKey = selectedValue ? selectedValue.id : '';
26140
+ var spriteKey = textureKey ? textureKey + '/down/standing/0.png' : '';
26141
+ if (spriteKey === selectedSpriteKey) {
26142
+ return;
26143
+ }
26144
+ setSelectedSpriteKey(spriteKey);
26145
+ };
26146
+ // Update sprite when selectedValue changes
26147
+ useEffect(function () {
26148
+ updateSelectedSpriteKey();
26149
+ }, [selectedValue]);
26150
+ // Initialize selectedValue
26151
+ useEffect(function () {
26152
+ if (initialSelectedSkin) {
26153
+ var initialProperty = propertySelectValues.find(function (prop) {
26154
+ return prop.id === initialSelectedSkin;
26155
+ });
26156
+ setSelectedValue(initialProperty || propertySelectValues[0]);
26157
+ } else if (propertySelectValues.length > 0) {
26158
+ setSelectedValue(propertySelectValues[0]);
26159
+ }
26160
+ }, [initialSelectedSkin, availableCharacters]);
26161
+ // Functions to handle confirmation and cancellation
26162
+ var handleConfirm = function handleConfirm() {
26163
+ if (selectedValue) {
26164
+ onConfirm(selectedValue.id);
26165
+ onClose();
26166
+ }
26167
+ };
26168
+ var handleCancel = function handleCancel() {
26169
+ onClose();
26170
+ };
26171
+ if (!isOpen) return null;
26172
+ return React.createElement(Container$5, null, selectedSpriteKey && atlasIMG && atlasJSON && React.createElement(ErrorBoundary, null, React.createElement(SpriteFromAtlas, {
26173
+ spriteKey: selectedSpriteKey,
26174
+ atlasIMG: atlasIMG,
26175
+ atlasJSON: atlasJSON,
26176
+ imgScale: 4,
26177
+ height: 80,
26178
+ width: 64,
26179
+ containerStyle: {
26180
+ display: 'flex',
26181
+ alignItems: 'center',
26182
+ paddingBottom: '15px'
26183
+ },
26184
+ imgStyle: {
26185
+ left: '22px'
26186
+ }
26187
+ })), React.createElement(PropertySelect, {
26188
+ availableProperties: propertySelectValues,
26189
+ onChange: function onChange(value) {
26190
+ setSelectedValue(value);
26191
+ }
26192
+ }), React.createElement(ButtonsContainer, null, React.createElement(Button, {
26193
+ buttonType: ButtonTypes.RPGUIButton,
26194
+ onClick: handleCancel
26195
+ }, "Cancel"), React.createElement(Button, {
26196
+ buttonType: ButtonTypes.RPGUIButton,
26197
+ onClick: handleConfirm,
26198
+ disabled: !selectedValue
26199
+ }, "Confirm")));
26200
+ };
26201
+ // Styled components
26202
+ var Container$5 = /*#__PURE__*/styled.div.withConfig({
26203
+ displayName: "CharacterSkinSelectionModal__Container",
26204
+ componentId: "sc-qsroao-0"
26205
+ })(["display:flex;flex-direction:column;align-items:center;image-rendering:pixelated;"]);
26206
+ var ButtonsContainer = /*#__PURE__*/styled.div.withConfig({
26207
+ displayName: "CharacterSkinSelectionModal__ButtonsContainer",
26208
+ componentId: "sc-qsroao-1"
26209
+ })(["display:flex;justify-content:center;gap:0.8rem;width:100%;margin:3rem 0 0.75rem;button{min-width:95px;font-size:0.9rem;}"]);
26210
+
26114
26211
  var Chat = function Chat(_ref) {
26115
26212
  var chatMessages = _ref.chatMessages,
26116
26213
  onSendChatMessage = _ref.onSendChatMessage,
@@ -26256,13 +26353,13 @@ var RPGUIContainer = function RPGUIContainer(_ref) {
26256
26353
  width = _ref$width === void 0 ? '50%' : _ref$width,
26257
26354
  height = _ref.height,
26258
26355
  className = _ref.className;
26259
- return React.createElement(Container$5, {
26356
+ return React.createElement(Container$6, {
26260
26357
  width: width,
26261
26358
  height: height || 'auto',
26262
26359
  className: "rpgui-container " + type + " " + className
26263
26360
  }, children);
26264
26361
  };
26265
- var Container$5 = /*#__PURE__*/styled.div.withConfig({
26362
+ var Container$6 = /*#__PURE__*/styled.div.withConfig({
26266
26363
  displayName: "RPGUIContainer__Container",
26267
26364
  componentId: "sc-a7heha-0"
26268
26365
  })(["height:", ";width:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;"], function (props) {
@@ -26334,7 +26431,7 @@ var ChatDeprecated = function ChatDeprecated(_ref) {
26334
26431
  }, onRenderMessageLines(emitter, createdAt, message));
26335
26432
  }) : React.createElement(MessageText, null, "No messages available.");
26336
26433
  };
26337
- return React.createElement(Container$6, null, React.createElement(CustomContainer, {
26434
+ return React.createElement(Container$7, null, React.createElement(CustomContainer, {
26338
26435
  type: RPGUIContainerTypes.FramedGrey,
26339
26436
  width: width,
26340
26437
  height: height,
@@ -26372,7 +26469,7 @@ var ChatDeprecated = function ChatDeprecated(_ref) {
26372
26469
  id: "chat-send-button"
26373
26470
  }, "Send"))))));
26374
26471
  };
26375
- var Container$6 = /*#__PURE__*/styled.div.withConfig({
26472
+ var Container$7 = /*#__PURE__*/styled.div.withConfig({
26376
26473
  displayName: "ChatDeprecated__Container",
26377
26474
  componentId: "sc-fuuod3-0"
26378
26475
  })(["position:relative;"]);
@@ -27161,7 +27258,7 @@ var CircularController = function CircularController(_ref) {
27161
27258
  return word[0];
27162
27259
  })));
27163
27260
  };
27164
- return React.createElement(ButtonsContainer, null, React.createElement(ShortcutsContainer, null, Array.from({
27261
+ return React.createElement(ButtonsContainer$1, null, React.createElement(ShortcutsContainer, null, Array.from({
27165
27262
  length: 12
27166
27263
  }).map(function (_, i) {
27167
27264
  return renderShortcut(i);
@@ -27183,7 +27280,7 @@ var CancelButton = /*#__PURE__*/styled(Button$1).withConfig({
27183
27280
  displayName: "CircularController__CancelButton",
27184
27281
  componentId: "sc-1fewf3h-1"
27185
27282
  })(["width:3rem;height:3rem;font-size:0.8rem;position:relative;left:2.6rem;span{margin-top:4px;margin-left:2px;pointer-events:none;}"]);
27186
- var ButtonsContainer = /*#__PURE__*/styled.div.withConfig({
27283
+ var ButtonsContainer$1 = /*#__PURE__*/styled.div.withConfig({
27187
27284
  displayName: "CircularController__ButtonsContainer",
27188
27285
  componentId: "sc-1fewf3h-2"
27189
27286
  })(["display:flex;align-items:center;justify-content:center;gap:0.5rem;scale:0.9;"]);
@@ -27339,7 +27436,7 @@ var DraggableContainer = function DraggableContainer(_ref) {
27339
27436
  },
27340
27437
  defaultPosition: initialPosition,
27341
27438
  scale: scale
27342
- }, React.createElement(Container$7, {
27439
+ }, React.createElement(Container$8, {
27343
27440
  ref: draggableRef,
27344
27441
  width: width,
27345
27442
  height: height || 'auto',
@@ -27358,7 +27455,7 @@ var DraggableContainer = function DraggableContainer(_ref) {
27358
27455
  onPointerDown: onCloseButton
27359
27456
  }, "X"), children));
27360
27457
  };
27361
- var Container$7 = /*#__PURE__*/styled.div.withConfig({
27458
+ var Container$8 = /*#__PURE__*/styled.div.withConfig({
27362
27459
  displayName: "DraggableContainer__Container",
27363
27460
  componentId: "sc-184mpyl-0"
27364
27461
  })(["height:", ";width:", ";min-width:", ";min-height:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;overflow-y:hidden;", " ", " &.rpgui-container{padding-top:1.5rem;}"], function (props) {
@@ -27438,7 +27535,7 @@ var Dropdown = function Dropdown(_ref) {
27438
27535
  onChange(selectedValue);
27439
27536
  }
27440
27537
  }, [selectedValue]);
27441
- return React.createElement(Container$8, {
27538
+ return React.createElement(Container$9, {
27442
27539
  onMouseLeave: function onMouseLeave() {
27443
27540
  return setOpened(false);
27444
27541
  },
@@ -27467,7 +27564,7 @@ var Dropdown = function Dropdown(_ref) {
27467
27564
  }, option.option);
27468
27565
  })));
27469
27566
  };
27470
- var Container$8 = /*#__PURE__*/styled.div.withConfig({
27567
+ var Container$9 = /*#__PURE__*/styled.div.withConfig({
27471
27568
  displayName: "Dropdown__Container",
27472
27569
  componentId: "sc-8arn65-0"
27473
27570
  })(["position:relative;width:", ";max-height:", "px;"], function (props) {
@@ -27493,11 +27590,11 @@ var DropdownOptions$1 = /*#__PURE__*/styled.ul.withConfig({
27493
27590
  var modalRoot = /*#__PURE__*/document.getElementById('modal-root');
27494
27591
  var ModalPortal = function ModalPortal(_ref) {
27495
27592
  var children = _ref.children;
27496
- return ReactDOM.createPortal(React.createElement(Container$9, {
27593
+ return ReactDOM.createPortal(React.createElement(Container$a, {
27497
27594
  className: "rpgui-content"
27498
27595
  }, children), modalRoot);
27499
27596
  };
27500
- var Container$9 = /*#__PURE__*/styled.div.withConfig({
27597
+ var Container$a = /*#__PURE__*/styled.div.withConfig({
27501
27598
  displayName: "ModalPortal__Container",
27502
27599
  componentId: "sc-dgmp04-0"
27503
27600
  })(["position:static !important;"]);
@@ -28217,7 +28314,7 @@ var ItemSlot = /*#__PURE__*/observer(function (_ref) {
28217
28314
  });
28218
28315
  }
28219
28316
  };
28220
- return React.createElement(Container$a, {
28317
+ return React.createElement(Container$b, {
28221
28318
  isDraggingItem: !!draggingState.item,
28222
28319
  item: item,
28223
28320
  className: "rpgui-icon empty-slot",
@@ -28281,7 +28378,7 @@ var ItemSlot = /*#__PURE__*/observer(function (_ref) {
28281
28378
  containerType: containerType
28282
28379
  }))));
28283
28380
  });
28284
- var Container$a = /*#__PURE__*/styled.div.withConfig({
28381
+ var Container$b = /*#__PURE__*/styled.div.withConfig({
28285
28382
  displayName: "ItemSlot__Container",
28286
28383
  componentId: "sc-l2j5ef-0"
28287
28384
  })(["margin:0.1rem;.react-draggable-dragging{opacity:", ";}position:relative;.sprite-from-atlas-img--item{position:relative;top:1.5rem;left:1.5rem;border-color:", ";box-shadow:", " inset,", ";}.quality-star{position:absolute;top:0.5rem;left:0.5rem;font-size:1.2rem;z-index:2;text-shadow:0 0 3px black;pointer-events:none;color:", ";}&::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;border-radius:12px;pointer-events:none;animation:", ";@keyframes bg-color-change{0%{background-color:rgba(255 255 255 / 0.5);}50%{background-color:transparent;}100%{background-color:rgba(255 255 255 / 0.5);}}}"], function (_ref2) {
@@ -28400,7 +28497,7 @@ var ItemInfo = function ItemInfo(_ref) {
28400
28497
  });
28401
28498
  };
28402
28499
  var skillName = (_item$minRequirements = item.minRequirements) == null ? void 0 : (_item$minRequirements2 = _item$minRequirements.skill) == null ? void 0 : _item$minRequirements2.name;
28403
- return React.createElement(Container$b, {
28500
+ return React.createElement(Container$c, {
28404
28501
  item: item
28405
28502
  }, React.createElement(Header, null, React.createElement("div", null, React.createElement(Title$1, null, item.name), item.rarity !== 'Common' && React.createElement(Rarity, {
28406
28503
  item: item
@@ -28414,7 +28511,7 @@ var ItemInfo = function ItemInfo(_ref) {
28414
28511
  "$isSpecial": true
28415
28512
  }, "Two handed"), React.createElement(Description, null, item.description), item.maxStackSize && item.maxStackSize !== 1 && React.createElement(StackInfo, null, "x", Math.round(((_item$stackQty = item.stackQty) != null ? _item$stackQty : 1) * 100) / 100, "(", item.maxStackSize, ")"), renderMissingStatistic().length > 0 && React.createElement(MissingStatistics, null, React.createElement(Statistic, null, "Equipped Diff"), itemToCompare && renderMissingStatistic()));
28416
28513
  };
28417
- var Container$b = /*#__PURE__*/styled.div.withConfig({
28514
+ var Container$c = /*#__PURE__*/styled.div.withConfig({
28418
28515
  displayName: "ItemInfo__Container",
28419
28516
  componentId: "sc-1xm4q8k-0"
28420
28517
  })(["color:white;background-color:#222;border-radius:5px;padding:0.5rem;font-size:", ";border:3px solid ", ";box-shadow:", ";height:max-content;width:18rem;position:relative;@media (max-width:640px){width:80vw;}"], uiFonts.size.small, function (_ref2) {
@@ -28563,7 +28660,7 @@ var ItemTooltip = function ItemTooltip(_ref) {
28563
28660
  }
28564
28661
  return;
28565
28662
  }, []);
28566
- return React.createElement(ModalPortal, null, React.createElement(Container$c, {
28663
+ return React.createElement(ModalPortal, null, React.createElement(Container$d, {
28567
28664
  ref: ref
28568
28665
  }, React.createElement(ItemInfoDisplay, {
28569
28666
  item: item,
@@ -28572,7 +28669,7 @@ var ItemTooltip = function ItemTooltip(_ref) {
28572
28669
  equipmentSet: equipmentSet
28573
28670
  })));
28574
28671
  };
28575
- var Container$c = /*#__PURE__*/styled.div.withConfig({
28672
+ var Container$d = /*#__PURE__*/styled.div.withConfig({
28576
28673
  displayName: "ItemTooltip__Container",
28577
28674
  componentId: "sc-11d9r7x-0"
28578
28675
  })(["position:absolute;z-index:100;pointer-events:none;left:0;top:0;opacity:0;transition:opacity 0.08s;"]);
@@ -28592,7 +28689,7 @@ var MobileItemTooltip = function MobileItemTooltip(_ref) {
28592
28689
  var _ref$current;
28593
28690
  (_ref$current = ref.current) == null ? void 0 : _ref$current.classList.add('fadeOut');
28594
28691
  };
28595
- return React.createElement(ModalPortal, null, React.createElement(Container$d, {
28692
+ return React.createElement(ModalPortal, null, React.createElement(Container$e, {
28596
28693
  ref: ref,
28597
28694
  onTouchEnd: function onTouchEnd() {
28598
28695
  handleFadeOut();
@@ -28620,7 +28717,7 @@ var MobileItemTooltip = function MobileItemTooltip(_ref) {
28620
28717
  }, option.text);
28621
28718
  }))));
28622
28719
  };
28623
- var Container$d = /*#__PURE__*/styled.div.withConfig({
28720
+ var Container$e = /*#__PURE__*/styled.div.withConfig({
28624
28721
  displayName: "MobileItemTooltip__Container",
28625
28722
  componentId: "sc-ku4p1j-0"
28626
28723
  })(["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:640px){flex-direction:column;}"]);
@@ -29324,7 +29421,7 @@ var DailyRewardsTooltip = function DailyRewardsTooltip(_ref) {
29324
29421
  }), React.createElement(ItemContent, null, React.createElement(RewardLabel, null, React.createElement(Ellipsis, {
29325
29422
  maxWidth: "100%",
29326
29423
  maxLines: 2
29327
- }, formatTaskKey((_reward$key = reward.key) != null ? _reward$key : ''), ":"))), React.createElement(RewardValue, null, "x", reward.quantity));
29424
+ }, formatTaskKey((_reward$key = reward.key) != null ? _reward$key : reward.type), ":"))), React.createElement(RewardValue, null, "x", reward.quantity));
29328
29425
  }))));
29329
29426
  };
29330
29427
  var TooltipContainer$1 = /*#__PURE__*/styled.div.withConfig({
@@ -29372,7 +29469,7 @@ var ReadOnlyCheckItem = function ReadOnlyCheckItem(_ref) {
29372
29469
  var labelLeft = _ref.labelLeft,
29373
29470
  labelRight = _ref.labelRight,
29374
29471
  checked = _ref.checked;
29375
- return React.createElement(Container$e, null, labelLeft && React.createElement(Label, null, labelLeft), React.createElement("div", {
29472
+ return React.createElement(Container$f, null, labelLeft && React.createElement(Label, null, labelLeft), React.createElement("div", {
29376
29473
  className: "rpgui-checkbox-container"
29377
29474
  }, React.createElement(CheckBox, {
29378
29475
  className: "rpgui-checkbox",
@@ -29383,7 +29480,7 @@ var ReadOnlyCheckItem = function ReadOnlyCheckItem(_ref) {
29383
29480
  isRight: true
29384
29481
  }, labelRight));
29385
29482
  };
29386
- var Container$e = /*#__PURE__*/styled.div.withConfig({
29483
+ var Container$f = /*#__PURE__*/styled.div.withConfig({
29387
29484
  displayName: "ReadOnlyCheckItem__Container",
29388
29485
  componentId: "sc-1peplf9-0"
29389
29486
  })(["display:flex;align-items:center;width:100%;height:20px;"]);
@@ -29424,7 +29521,7 @@ var TaskProgressDetails = function TaskProgressDetails(_ref) {
29424
29521
  value = _ref3[1];
29425
29522
  return React.createElement(ProgressItem, {
29426
29523
  key: index
29427
- }, React.createElement("span", null, key, ":"), React.createElement(ProgressCount, null, value, "/", ((_task$requirements$ta2 = task.requirements.targets.find(function (t) {
29524
+ }, React.createElement("span", null, formatTaskKey(key), ":"), React.createElement(ProgressCount, null, value, "/", ((_task$requirements$ta2 = task.requirements.targets.find(function (t) {
29428
29525
  return t.key === key;
29429
29526
  })) == null ? void 0 : _task$requirements$ta2.quantity) || 0));
29430
29527
  });
@@ -29654,6 +29751,7 @@ var CollectWrapper$1 = /*#__PURE__*/styled.div.withConfig({
29654
29751
  var DailyTasks = function DailyTasks(_ref) {
29655
29752
  var tasks = _ref.tasks,
29656
29753
  onClaimReward = _ref.onClaimReward,
29754
+ onClaimGlobalReward = _ref.onClaimGlobalReward,
29657
29755
  onClose = _ref.onClose,
29658
29756
  _ref$scale = _ref.scale,
29659
29757
  scale = _ref$scale === void 0 ? 1 : _ref$scale,
@@ -29679,15 +29777,16 @@ var DailyTasks = function DailyTasks(_ref) {
29679
29777
  });
29680
29778
  };
29681
29779
  var handleClaimAllRewards = function handleClaimAllRewards() {
29682
- localTasks.forEach(function (task) {
29683
- if (task.status === TaskStatus.Completed && !task.claimed) {
29684
- var type = task.type,
29685
- key = task.key;
29686
- onClaimReward({
29687
- type: type,
29688
- taskKey: key
29689
- });
29690
- }
29780
+ var tasksToReward = localTasks.filter(function (task) {
29781
+ return task.status === TaskStatus.Completed && !task.claimed;
29782
+ }).map(function (task) {
29783
+ return {
29784
+ type: task.type,
29785
+ taskKey: task.key
29786
+ };
29787
+ });
29788
+ onClaimGlobalReward({
29789
+ tasks: tasksToReward
29691
29790
  });
29692
29791
  };
29693
29792
  if (!size) return null;
@@ -29698,7 +29797,7 @@ var DailyTasks = function DailyTasks(_ref) {
29698
29797
  scale: scale,
29699
29798
  width: size.width,
29700
29799
  height: size.height
29701
- }, React.createElement(TaskTitle$1, null, "Daily Tasks"), React.createElement(Container$f, null, React.createElement(TasksList, {
29800
+ }, React.createElement(TaskTitle$1, null, "Daily Tasks"), React.createElement(Container$g, null, React.createElement(TasksList, {
29702
29801
  className: "tasks-container"
29703
29802
  }, React.createElement(GlobalDailyProgress, {
29704
29803
  tasks: localTasks,
@@ -29720,7 +29819,7 @@ var TasksContainer = /*#__PURE__*/styled(DraggableContainer).withConfig({
29720
29819
  displayName: "DailyTasks__TasksContainer",
29721
29820
  componentId: "sc-ittn77-0"
29722
29821
  })(["min-width:450px;max-width:550px;margin:0 auto;.rpgui-container-title{width:100%;display:flex;justify-content:center;align-items:center;text-align:center;}.rpgui-container{padding:0 !important;overflow:hidden !important;background-color:rgba(30,30,30,0.9) !important;}"]);
29723
- var Container$f = /*#__PURE__*/styled.div.withConfig({
29822
+ var Container$g = /*#__PURE__*/styled.div.withConfig({
29724
29823
  displayName: "DailyTasks__Container",
29725
29824
  componentId: "sc-ittn77-1"
29726
29825
  })(["width:100%;max-width:100%;margin:0 auto;padding:0.125rem;overflow-y:auto;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;}"]);
@@ -30092,7 +30191,7 @@ var DraggedItem = function DraggedItem(_ref) {
30092
30191
  var centeredX = x - OFFSET$1;
30093
30192
  var centeredY = y - OFFSET$1;
30094
30193
  var stackInfo = onRenderStackInfo((_item$_id = item == null ? void 0 : item._id) != null ? _item$_id : '', (_item$stackQty = item == null ? void 0 : item.stackQty) != null ? _item$stackQty : 0);
30095
- return React.createElement(Container$g, null, React.createElement(SpriteContainer, {
30194
+ return React.createElement(Container$h, null, React.createElement(SpriteContainer, {
30096
30195
  x: centeredX,
30097
30196
  y: centeredY
30098
30197
  }, React.createElement(SpriteFromAtlas, {
@@ -30110,7 +30209,7 @@ var DraggedItem = function DraggedItem(_ref) {
30110
30209
  }), stackInfo));
30111
30210
  };
30112
30211
  var pulse = "\n @keyframes pulse {\n 0%, 100% {\n transform: scale(1) rotate(-3deg);\n }\n 50% {\n transform: scale(0.95) rotate(-3deg);\n }\n }\n";
30113
- var Container$g = /*#__PURE__*/styled.div.withConfig({
30212
+ var Container$h = /*#__PURE__*/styled.div.withConfig({
30114
30213
  displayName: "DraggedItem__Container",
30115
30214
  componentId: "sc-mlzzcp-0"
30116
30215
  })(["position:relative;"]);
@@ -30148,7 +30247,7 @@ var RelativeListMenu = function RelativeListMenu(_ref) {
30148
30247
  document.removeEventListener('clickOutside', function (_e) {});
30149
30248
  };
30150
30249
  }, []);
30151
- return React.createElement(ModalPortal, null, React.createElement(Container$h, Object.assign({
30250
+ return React.createElement(ModalPortal, null, React.createElement(Container$i, Object.assign({
30152
30251
  fontSize: fontSize,
30153
30252
  ref: ref
30154
30253
  }, pos), React.createElement("ul", {
@@ -30165,7 +30264,7 @@ var RelativeListMenu = function RelativeListMenu(_ref) {
30165
30264
  }, (params == null ? void 0 : params.text) || 'No text');
30166
30265
  }))));
30167
30266
  };
30168
- var Container$h = /*#__PURE__*/styled.div.withConfig({
30267
+ var Container$i = /*#__PURE__*/styled.div.withConfig({
30169
30268
  displayName: "RelativeListMenu__Container",
30170
30269
  componentId: "sc-7hohf-0"
30171
30270
  })(["position:absolute;top:", "px;left:", "px;display:flex;flex-direction:column;width:max-content;justify-content:start;align-items:flex-start;li{font-size:", "em;}"], function (props) {
@@ -30439,7 +30538,7 @@ var SearchFriend = function SearchFriend(_ref) {
30439
30538
  title: "Requests (" + friendRequests.length + ")",
30440
30539
  content: requestsTabContent
30441
30540
  }];
30442
- return React.createElement(Container$i, null, React.createElement(InternalTabs, {
30541
+ return React.createElement(Container$j, null, React.createElement(InternalTabs, {
30443
30542
  tabs: tabs,
30444
30543
  activeTextColor: "#000",
30445
30544
  inactiveColor: "#777",
@@ -30481,7 +30580,7 @@ var FriendRequestSection = function FriendRequestSection(_ref3) {
30481
30580
  }, "Reject")));
30482
30581
  })));
30483
30582
  };
30484
- var Container$i = /*#__PURE__*/styled.div.withConfig({
30583
+ var Container$j = /*#__PURE__*/styled.div.withConfig({
30485
30584
  displayName: "SearchFriend__Container",
30486
30585
  componentId: "sc-1lt1ols-0"
30487
30586
  })(["display:flex;flex-direction:column;gap:1rem;"]);
@@ -30684,7 +30783,7 @@ var NPCDialogText = function NPCDialogText(_ref) {
30684
30783
  var _useState2 = useState(false),
30685
30784
  showGoNextIndicator = _useState2[0],
30686
30785
  setShowGoNextIndicator = _useState2[1];
30687
- return React.createElement(Container$j, null, React.createElement(DynamicText, {
30786
+ return React.createElement(Container$k, null, React.createElement(DynamicText, {
30688
30787
  text: (textChunks == null ? void 0 : textChunks[chunkIndex]) || '',
30689
30788
  onFinish: function onFinish() {
30690
30789
  setShowGoNextIndicator(true);
@@ -30702,7 +30801,7 @@ var NPCDialogText = function NPCDialogText(_ref) {
30702
30801
  }
30703
30802
  }));
30704
30803
  };
30705
- var Container$j = /*#__PURE__*/styled.div.withConfig({
30804
+ var Container$k = /*#__PURE__*/styled.div.withConfig({
30706
30805
  displayName: "NPCDialogText__Container",
30707
30806
  componentId: "sc-1cxkdh9-0"
30708
30807
  })([""]);
@@ -30854,7 +30953,7 @@ var QuestionDialog = function QuestionDialog(_ref) {
30854
30953
  return null;
30855
30954
  });
30856
30955
  };
30857
- return React.createElement(Container$k, null, React.createElement(QuestionContainer, null, React.createElement(DynamicText, {
30956
+ return React.createElement(Container$l, null, React.createElement(QuestionContainer, null, React.createElement(DynamicText, {
30858
30957
  text: currentQuestion.text,
30859
30958
  onStart: function onStart() {
30860
30959
  return setCanShowAnswers(false);
@@ -30864,7 +30963,7 @@ var QuestionDialog = function QuestionDialog(_ref) {
30864
30963
  }
30865
30964
  })), canShowAnswers && React.createElement(AnswersContainer, null, onRenderCurrentAnswers()));
30866
30965
  };
30867
- var Container$k = /*#__PURE__*/styled.div.withConfig({
30966
+ var Container$l = /*#__PURE__*/styled.div.withConfig({
30868
30967
  displayName: "QuestionDialog__Container",
30869
30968
  componentId: "sc-bxc5u0-0"
30870
30969
  })(["display:flex;word-break:break-all;box-sizing:border-box;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap;"]);
@@ -30925,7 +31024,7 @@ var NPCDialog = function NPCDialog(_ref) {
30925
31024
  }
30926
31025
  })), type === NPCDialogType.TextAndThumbnail && React.createElement(ThumbnailContainer, null, React.createElement(NPCThumbnail, {
30927
31026
  src: imagePath || img$7
30928
- }))) : React.createElement(React.Fragment, null, React.createElement(Container$l, null, React.createElement(CloseIcon, {
31027
+ }))) : React.createElement(React.Fragment, null, React.createElement(Container$m, null, React.createElement(CloseIcon, {
30929
31028
  onPointerDown: _onClose
30930
31029
  }, "X"), React.createElement(TextContainer$1, {
30931
31030
  flex: type === NPCDialogType.TextAndThumbnail ? '70%' : '100%'
@@ -30941,7 +31040,7 @@ var NPCDialog = function NPCDialog(_ref) {
30941
31040
  src: imagePath || img$7
30942
31041
  })))));
30943
31042
  };
30944
- var Container$l = /*#__PURE__*/styled.div.withConfig({
31043
+ var Container$m = /*#__PURE__*/styled.div.withConfig({
30945
31044
  displayName: "NPCDialog__Container",
30946
31045
  componentId: "sc-1b4aw74-0"
30947
31046
  })(["display:flex;width:100%;height:100%;box-sizing:border-box;justify-content:center;align-items:flex-start;position:relative;"]);
@@ -31002,7 +31101,7 @@ var NPCMultiDialog = function NPCMultiDialog(_ref) {
31002
31101
  type: RPGUIContainerTypes.FramedGold,
31003
31102
  width: '50%',
31004
31103
  height: '180px'
31005
- }, React.createElement(React.Fragment, null, React.createElement(Container$m, null, ((_textAndTypeArray$sli = textAndTypeArray[slide]) == null ? void 0 : _textAndTypeArray$sli.imageSide) === 'right' && React.createElement(React.Fragment, null, React.createElement(TextContainer$2, {
31104
+ }, React.createElement(React.Fragment, null, React.createElement(Container$n, null, ((_textAndTypeArray$sli = textAndTypeArray[slide]) == null ? void 0 : _textAndTypeArray$sli.imageSide) === 'right' && React.createElement(React.Fragment, null, React.createElement(TextContainer$2, {
31006
31105
  flex: '70%'
31007
31106
  }, React.createElement(NPCDialogText, {
31008
31107
  onStartStep: function onStartStep() {
@@ -31044,7 +31143,7 @@ var NPCMultiDialog = function NPCMultiDialog(_ref) {
31044
31143
  src: img$6
31045
31144
  }))), ")"));
31046
31145
  };
31047
- var Container$m = /*#__PURE__*/styled.div.withConfig({
31146
+ var Container$n = /*#__PURE__*/styled.div.withConfig({
31048
31147
  displayName: "NPCMultiDialog__Container",
31049
31148
  componentId: "sc-rvu5wg-0"
31050
31149
  })(["display:flex;width:100%;height:100%;box-sizing:border-box;justify-content:center;align-items:flex-start;position:relative;"]);
@@ -31476,7 +31575,7 @@ var Pagination = function Pagination(_ref) {
31476
31575
  totalPages = _ref.totalPages,
31477
31576
  onPageChange = _ref.onPageChange,
31478
31577
  className = _ref.className;
31479
- return React.createElement(Container$n, {
31578
+ return React.createElement(Container$o, {
31480
31579
  className: className
31481
31580
  }, React.createElement(PaginationButton$1, {
31482
31581
  onClick: function onClick() {
@@ -31494,7 +31593,7 @@ var Pagination = function Pagination(_ref) {
31494
31593
  size: 12
31495
31594
  })));
31496
31595
  };
31497
- var Container$n = /*#__PURE__*/styled.div.withConfig({
31596
+ var Container$o = /*#__PURE__*/styled.div.withConfig({
31498
31597
  displayName: "Pagination__Container",
31499
31598
  componentId: "sc-3k4m4u-0"
31500
31599
  })(["display:flex;align-items:center;justify-content:center;gap:16px;padding:8px;"]);
@@ -31520,7 +31619,7 @@ var SearchBar = function SearchBar(_ref) {
31520
31619
  className = _ref.className,
31521
31620
  rightElement = _ref.rightElement;
31522
31621
  var hasRightElement = Boolean(rightElement);
31523
- return React.createElement(Container$o, {
31622
+ return React.createElement(Container$p, {
31524
31623
  className: className
31525
31624
  }, React.createElement(Input$1, {
31526
31625
  type: "text",
@@ -31533,7 +31632,7 @@ var SearchBar = function SearchBar(_ref) {
31533
31632
  "$hasRightElement": hasRightElement
31534
31633
  }), React.createElement(IconContainer, null, React.createElement(SearchIcon, null), rightElement));
31535
31634
  };
31536
- var Container$o = /*#__PURE__*/styled.div.withConfig({
31635
+ var Container$p = /*#__PURE__*/styled.div.withConfig({
31537
31636
  displayName: "SearchBar__Container",
31538
31637
  componentId: "sc-13n8z02-0"
31539
31638
  })(["position:relative;width:100%;"]);
@@ -31641,7 +31740,7 @@ var PaginatedContent = function PaginatedContent(_ref) {
31641
31740
  setCurrentPage = _usePagination.setCurrentPage,
31642
31741
  paginatedItems = _usePagination.paginatedItems,
31643
31742
  totalPages = _usePagination.totalPages;
31644
- return React.createElement(Container$p, {
31743
+ return React.createElement(Container$q, {
31645
31744
  className: className
31646
31745
  }, (searchOptions || filterOptions) && React.createElement(SearchHeader, {
31647
31746
  searchOptions: searchOptions,
@@ -31663,7 +31762,7 @@ var PaginatedContent = function PaginatedContent(_ref) {
31663
31762
  onPageChange: setCurrentPage
31664
31763
  }))));
31665
31764
  };
31666
- var Container$p = /*#__PURE__*/styled.div.withConfig({
31765
+ var Container$q = /*#__PURE__*/styled.div.withConfig({
31667
31766
  displayName: "PaginatedContent__Container",
31668
31767
  componentId: "sc-lzp9hn-0"
31669
31768
  })(["display:flex;flex-direction:column;gap:0.5rem;min-height:400px;width:100%;"]);
@@ -31785,7 +31884,7 @@ var BaseInformationDetails = function BaseInformationDetails(_ref) {
31785
31884
  atlasIMG = _ref.atlasIMG,
31786
31885
  onBack = _ref.onBack,
31787
31886
  children = _ref.children;
31788
- return React.createElement(Container$q, null, React.createElement(Overlay, {
31887
+ return React.createElement(Container$r, null, React.createElement(Overlay, {
31789
31888
  onClick: onBack
31790
31889
  }), React.createElement(Modal, null, React.createElement(CloseButton$5, {
31791
31890
  onClick: onBack
@@ -31798,7 +31897,7 @@ var BaseInformationDetails = function BaseInformationDetails(_ref) {
31798
31897
  imgScale: 1
31799
31898
  })), React.createElement(Title$3, null, name)), React.createElement(Content$1, null, children)));
31800
31899
  };
31801
- var Container$q = /*#__PURE__*/styled.div.withConfig({
31900
+ var Container$r = /*#__PURE__*/styled.div.withConfig({
31802
31901
  displayName: "BaseInformationDetails__Container",
31803
31902
  componentId: "sc-1vguuz8-0"
31804
31903
  })(["position:fixed;inset:0;display:flex;justify-content:center;align-items:center;z-index:9999;"]);
@@ -31840,7 +31939,7 @@ var Collapsible = function Collapsible(_ref) {
31840
31939
  var _useState = useState(defaultOpen),
31841
31940
  isOpen = _useState[0],
31842
31941
  setIsOpen = _useState[1];
31843
- return React.createElement(Container$r, {
31942
+ return React.createElement(Container$s, {
31844
31943
  className: className
31845
31944
  }, React.createElement(Header$2, {
31846
31945
  onClick: function onClick() {
@@ -31848,7 +31947,7 @@ var Collapsible = function Collapsible(_ref) {
31848
31947
  }
31849
31948
  }, 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));
31850
31949
  };
31851
- var Container$r = /*#__PURE__*/styled.div.withConfig({
31950
+ var Container$s = /*#__PURE__*/styled.div.withConfig({
31852
31951
  displayName: "Collapsible__Container",
31853
31952
  componentId: "sc-s4h8ey-0"
31854
31953
  })(["background:rgba(0,0,0,0.3);border-radius:4px;overflow:hidden;border:1px solid ", ";"], uiColors.darkGray);
@@ -32178,7 +32277,7 @@ var AdvancedFilters = function AdvancedFilters(_ref) {
32178
32277
  onClose();
32179
32278
  }
32180
32279
  };
32181
- return React.createElement(Container$s, null, React.createElement(FilterButton, {
32280
+ return React.createElement(Container$t, null, React.createElement(FilterButton, {
32182
32281
  onClick: onToggle,
32183
32282
  "$hasActiveFilters": hasActiveFilters,
32184
32283
  ref: buttonRef
@@ -32209,7 +32308,7 @@ var AdvancedFilters = function AdvancedFilters(_ref) {
32209
32308
  onClick: onClearAll
32210
32309
  }, "Clear All Filters"))));
32211
32310
  };
32212
- var Container$s = /*#__PURE__*/styled.div.withConfig({
32311
+ var Container$t = /*#__PURE__*/styled.div.withConfig({
32213
32312
  displayName: "AdvancedFilters__Container",
32214
32313
  componentId: "sc-1xj6ldr-0"
32215
32314
  })(["position:relative;margin-left:0.5rem;"]);
@@ -33303,7 +33402,7 @@ var InformationCenter = function InformationCenter(_ref) {
33303
33402
  minWidth: "300px",
33304
33403
  cancelDrag: ".PaginatedContent-content",
33305
33404
  onCloseButton: onClose
33306
- }, React.createElement(Container$t, null, React.createElement(InternalTabs, {
33405
+ }, React.createElement(Container$u, null, React.createElement(InternalTabs, {
33307
33406
  tabs: tabs,
33308
33407
  activeTextColor: "#000000",
33309
33408
  activeTab: activeTab,
@@ -33314,7 +33413,7 @@ var InformationCenter = function InformationCenter(_ref) {
33314
33413
  hoverColor: "#fef3c7"
33315
33414
  })));
33316
33415
  };
33317
- var Container$t = /*#__PURE__*/styled.div.withConfig({
33416
+ var Container$u = /*#__PURE__*/styled.div.withConfig({
33318
33417
  displayName: "InformationCenter__Container",
33319
33418
  componentId: "sc-1ttl62e-0"
33320
33419
  })(["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;}"]);
@@ -33485,7 +33584,7 @@ var ShortcutsSetter = function ShortcutsSetter(_ref) {
33485
33584
  }
33486
33585
  return null;
33487
33586
  };
33488
- return React.createElement(Container$u, null, React.createElement("p", null, "Shortcuts:"), React.createElement(List, {
33587
+ return React.createElement(Container$v, null, React.createElement("p", null, "Shortcuts:"), React.createElement(List, {
33489
33588
  id: "shortcuts_list"
33490
33589
  }, Array.from({
33491
33590
  length: 12
@@ -33503,7 +33602,7 @@ var ShortcutsSetter = function ShortcutsSetter(_ref) {
33503
33602
  }, getContent(i));
33504
33603
  })));
33505
33604
  };
33506
- var Container$u = /*#__PURE__*/styled.div.withConfig({
33605
+ var Container$v = /*#__PURE__*/styled.div.withConfig({
33507
33606
  displayName: "ShortcutsSetter__Container",
33508
33607
  componentId: "sc-xuouuf-0"
33509
33608
  })(["p{margin:0;margin-left:0.5rem;font-size:10px;}width:100%;"]);
@@ -33948,7 +34047,7 @@ var ConfirmModal = function ConfirmModal(_ref) {
33948
34047
  e.stopPropagation();
33949
34048
  onClose();
33950
34049
  };
33951
- return React.createElement(ModalPortal, null, React.createElement(Background, null), React.createElement(Container$v, {
34050
+ return React.createElement(ModalPortal, null, React.createElement(Background, null), React.createElement(Container$w, {
33952
34051
  onClick: handleClose
33953
34052
  }, React.createElement(DraggableContainer, {
33954
34053
  width: "auto",
@@ -33971,7 +34070,7 @@ var Background = /*#__PURE__*/styled.div.withConfig({
33971
34070
  displayName: "ConfirmModal__Background",
33972
34071
  componentId: "sc-11qkyu1-0"
33973
34072
  })(["position:absolute;width:100%;height:100%;background-color:#000000;opacity:0.5;left:0;top:0;z-index:1000;"]);
33974
- var Container$v = /*#__PURE__*/styled.div.withConfig({
34073
+ var Container$w = /*#__PURE__*/styled.div.withConfig({
33975
34074
  displayName: "ConfirmModal__Container",
33976
34075
  componentId: "sc-11qkyu1-1"
33977
34076
  })(["position:absolute;width:100%;height:100%;left:0;top:0;display:flex;justify-content:center;align-items:center;z-index:1001;"]);
@@ -34026,7 +34125,7 @@ var ColorSelector = function ColorSelector(_ref) {
34026
34125
  cancelDrag: ".react-colorful",
34027
34126
  width: "25rem",
34028
34127
  onCloseButton: onClose
34029
- }, React.createElement(Container$w, null, React.createElement(Header$3, null, "Select Color"), React.createElement(ColorPickerWrapper, null, React.createElement(HexColorPicker, {
34128
+ }, React.createElement(Container$x, null, React.createElement(Header$3, null, "Select Color"), React.createElement(ColorPickerWrapper, null, React.createElement(HexColorPicker, {
34030
34129
  color: currentColor,
34031
34130
  onChange: function onChange(color) {
34032
34131
  setCurrentColor(color);
@@ -34042,7 +34141,7 @@ var ColorSelector = function ColorSelector(_ref) {
34042
34141
  onClose: handleClose
34043
34142
  }));
34044
34143
  };
34045
- var Container$w = /*#__PURE__*/styled.div.withConfig({
34144
+ var Container$x = /*#__PURE__*/styled.div.withConfig({
34046
34145
  displayName: "ItemPropertyColorSelector__Container",
34047
34146
  componentId: "sc-me1r4z-0"
34048
34147
  })(["text-align:center;background:inherit;display:flex;flex-direction:column;gap:1.5rem;align-items:center;width:100%;max-width:24rem;margin:0 auto;"]);
@@ -34398,7 +34497,7 @@ var ListMenu = function ListMenu(_ref) {
34398
34497
  onSelected = _ref.onSelected,
34399
34498
  x = _ref.x,
34400
34499
  y = _ref.y;
34401
- return React.createElement(Container$x, {
34500
+ return React.createElement(Container$y, {
34402
34501
  x: x,
34403
34502
  y: y
34404
34503
  }, React.createElement("ul", {
@@ -34415,7 +34514,7 @@ var ListMenu = function ListMenu(_ref) {
34415
34514
  }, (params == null ? void 0 : params.text) || 'No text');
34416
34515
  })));
34417
34516
  };
34418
- var Container$x = /*#__PURE__*/styled.div.withConfig({
34517
+ var Container$y = /*#__PURE__*/styled.div.withConfig({
34419
34518
  displayName: "ListMenu__Container",
34420
34519
  componentId: "sc-i9097t-0"
34421
34520
  })(["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) {
@@ -34434,7 +34533,7 @@ var Pager = function Pager(_ref) {
34434
34533
  itemsPerPage = _ref.itemsPerPage,
34435
34534
  onPageChange = _ref.onPageChange;
34436
34535
  var totalPages = Math.ceil(totalItems / itemsPerPage);
34437
- return React.createElement(Container$y, null, React.createElement("p", null, "Total items: ", totalItems), React.createElement(PagerContainer, null, React.createElement("button", {
34536
+ return React.createElement(Container$z, null, React.createElement("p", null, "Total items: ", totalItems), React.createElement(PagerContainer, null, React.createElement("button", {
34438
34537
  disabled: currentPage === 1,
34439
34538
  onPointerDown: function onPointerDown() {
34440
34539
  return onPageChange(Math.max(currentPage - 1, 1));
@@ -34448,7 +34547,7 @@ var Pager = function Pager(_ref) {
34448
34547
  }
34449
34548
  }, '>')));
34450
34549
  };
34451
- var Container$y = /*#__PURE__*/styled.div.withConfig({
34550
+ var Container$z = /*#__PURE__*/styled.div.withConfig({
34452
34551
  displayName: "Pager__Container",
34453
34552
  componentId: "sc-1ekmf50-0"
34454
34553
  })(["display:flex;flex-direction:column;align-items:center;p{margin:0;font-size:", ";}"], uiFonts.size.xsmall);
@@ -34969,13 +35068,13 @@ var TabBody = function TabBody(_ref) {
34969
35068
  children = _ref.children,
34970
35069
  styles = _ref.styles,
34971
35070
  centerContent = _ref.centerContent;
34972
- return React.createElement(Container$z, {
35071
+ return React.createElement(Container$A, {
34973
35072
  styles: styles,
34974
35073
  "data-tab-id": id,
34975
35074
  centerContent: centerContent
34976
35075
  }, children);
34977
35076
  };
34978
- var Container$z = /*#__PURE__*/styled.div.withConfig({
35077
+ var Container$A = /*#__PURE__*/styled.div.withConfig({
34979
35078
  displayName: "TabBody__Container",
34980
35079
  componentId: "sc-196oof2-0"
34981
35080
  })(["width:", ";height:", ";overflow-y:auto;display:", ";justify-content:", ";align-items:", ";"], function (props) {
@@ -35628,7 +35727,7 @@ var ProgressBar$1 = function ProgressBar(_ref) {
35628
35727
  }
35629
35728
  return value * 100 / max;
35630
35729
  };
35631
- return React.createElement(Container$A, {
35730
+ return React.createElement(Container$B, {
35632
35731
  className: "rpgui-progress",
35633
35732
  "data-value": calculatePercentageValue(max, value) / 100,
35634
35733
  "data-rpguitype": "progress",
@@ -35658,7 +35757,7 @@ var TextOverlay$1 = /*#__PURE__*/styled.div.withConfig({
35658
35757
  displayName: "ProgressBar__TextOverlay",
35659
35758
  componentId: "sc-qa6fzh-1"
35660
35759
  })(["width:100%;position:relative;"]);
35661
- var Container$A = /*#__PURE__*/styled.div.withConfig({
35760
+ var Container$B = /*#__PURE__*/styled.div.withConfig({
35662
35761
  displayName: "ProgressBar__Container",
35663
35762
  componentId: "sc-qa6fzh-2"
35664
35763
  })(["display:flex;flex-direction:column;min-width:", "px;width:", "%;justify-content:start;align-items:flex-start;", " @media (max-width:950px){transform:scale(", ");}"], function (props) {
@@ -35899,9 +35998,9 @@ var InputRadio = function InputRadio(_ref) {
35899
35998
 
35900
35999
  var RPGUIScrollbar = function RPGUIScrollbar(_ref) {
35901
36000
  var children = _ref.children;
35902
- return React.createElement(Container$B, null, children);
36001
+ return React.createElement(Container$C, null, children);
35903
36002
  };
35904
- var Container$B = /*#__PURE__*/styled.div.withConfig({
36003
+ var Container$C = /*#__PURE__*/styled.div.withConfig({
35905
36004
  displayName: "RPGUIScrollbar__Container",
35906
36005
  componentId: "sc-p3msmb-0"
35907
36006
  })([".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;}"]);
@@ -36057,7 +36156,7 @@ var SimpleProgressBar = function SimpleProgressBar(_ref) {
36057
36156
  margin = _ref$margin === void 0 ? 20 : _ref$margin;
36058
36157
  // Ensure the width is at least 1% if value is greater than 0
36059
36158
  var width = value > 0 ? Math.max(1, Math.min(100, value)) : 0;
36060
- return React.createElement(Container$C, {
36159
+ return React.createElement(Container$D, {
36061
36160
  className: "simple-progress-bar"
36062
36161
  }, React.createElement(ProgressBarContainer, {
36063
36162
  margin: margin
@@ -36066,7 +36165,7 @@ var SimpleProgressBar = function SimpleProgressBar(_ref) {
36066
36165
  bgColor: bgColor
36067
36166
  }))));
36068
36167
  };
36069
- var Container$C = /*#__PURE__*/styled.div.withConfig({
36168
+ var Container$D = /*#__PURE__*/styled.div.withConfig({
36070
36169
  displayName: "SimpleProgressBar__Container",
36071
36170
  componentId: "sc-mbeil3-0"
36072
36171
  })(["display:flex;justify-content:center;align-items:center;width:100%;"]);
@@ -36399,10 +36498,10 @@ var SocialModal = function SocialModal(_ref) {
36399
36498
  title: "Social Channels",
36400
36499
  width: "500px",
36401
36500
  onCloseButton: onClose
36402
- }, React.createElement(Container$D, null, React.createElement(HeaderImage, {
36501
+ }, React.createElement(Container$E, null, React.createElement(HeaderImage, {
36403
36502
  src: img$9,
36404
36503
  alt: ""
36405
- }), React.createElement(ButtonsContainer$1, null, React.createElement(MainButtons, null, React.createElement(SocialButton$1, {
36504
+ }), React.createElement(ButtonsContainer$2, null, React.createElement(MainButtons, null, React.createElement(SocialButton$1, {
36406
36505
  onClick: handleDiscordClick
36407
36506
  }, React.createElement(FaDiscord, null), " Discord"), React.createElement(SocialButton$1, {
36408
36507
  onClick: handleRedditClick
@@ -36417,7 +36516,7 @@ var SocialModal = function SocialModal(_ref) {
36417
36516
  onClick: handleWhatsAppClick
36418
36517
  }, React.createElement(FaWhatsapp, null), " Join WhatsApp")))));
36419
36518
  };
36420
- var Container$D = /*#__PURE__*/styled.div.withConfig({
36519
+ var Container$E = /*#__PURE__*/styled.div.withConfig({
36421
36520
  displayName: "SocialModal__Container",
36422
36521
  componentId: "sc-tbjhp9-0"
36423
36522
  })(["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% );}"]);
@@ -36425,7 +36524,7 @@ var HeaderImage = /*#__PURE__*/styled.img.withConfig({
36425
36524
  displayName: "SocialModal__HeaderImage",
36426
36525
  componentId: "sc-tbjhp9-1"
36427
36526
  })(["width:100%;height:160px;object-fit:cover;border-bottom:2px solid rgba(0,0,0,0.3);display:block;border-top-left-radius:8px;border-top-right-radius:8px;"]);
36428
- var ButtonsContainer$1 = /*#__PURE__*/styled.div.withConfig({
36527
+ var ButtonsContainer$2 = /*#__PURE__*/styled.div.withConfig({
36429
36528
  displayName: "SocialModal__ButtonsContainer",
36430
36529
  componentId: "sc-tbjhp9-2"
36431
36530
  })(["padding:16px 24px 24px;display:flex;flex-direction:column;gap:16px;"]);
@@ -36463,7 +36562,7 @@ var SpellInfo$1 = function SpellInfo(_ref) {
36463
36562
  castingType = spell.castingType,
36464
36563
  cooldown = spell.cooldown,
36465
36564
  maxDistanceGrid = spell.maxDistanceGrid;
36466
- return React.createElement(Container$E, null, React.createElement(Header$5, 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", {
36565
+ return React.createElement(Container$F, null, React.createElement(Header$5, 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", {
36467
36566
  className: "label"
36468
36567
  }, "Casting Type:"), React.createElement("div", {
36469
36568
  className: "value"
@@ -36489,7 +36588,7 @@ var SpellInfo$1 = function SpellInfo(_ref) {
36489
36588
  className: "value"
36490
36589
  }, requiredItem))), React.createElement(Description$4, null, description));
36491
36590
  };
36492
- var Container$E = /*#__PURE__*/styled.div.withConfig({
36591
+ var Container$F = /*#__PURE__*/styled.div.withConfig({
36493
36592
  displayName: "SpellInfo__Container",
36494
36593
  componentId: "sc-4hbw3q-0"
36495
36594
  })(["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);
@@ -36543,7 +36642,7 @@ var MobileSpellTooltip = function MobileSpellTooltip(_ref) {
36543
36642
  var _ref$current;
36544
36643
  (_ref$current = ref.current) == null ? void 0 : _ref$current.classList.add('fadeOut');
36545
36644
  };
36546
- return React.createElement(ModalPortal, null, React.createElement(Container$F, {
36645
+ return React.createElement(ModalPortal, null, React.createElement(Container$G, {
36547
36646
  ref: ref,
36548
36647
  onTouchEnd: function onTouchEnd() {
36549
36648
  handleFadeOut();
@@ -36568,7 +36667,7 @@ var MobileSpellTooltip = function MobileSpellTooltip(_ref) {
36568
36667
  }, option.text);
36569
36668
  }))));
36570
36669
  };
36571
- var Container$F = /*#__PURE__*/styled.div.withConfig({
36670
+ var Container$G = /*#__PURE__*/styled.div.withConfig({
36572
36671
  displayName: "MobileSpellTooltip__Container",
36573
36672
  componentId: "sc-6p7uvr-0"
36574
36673
  })(["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;}"]);
@@ -36609,13 +36708,13 @@ var MagicTooltip = function MagicTooltip(_ref) {
36609
36708
  }
36610
36709
  return;
36611
36710
  }, []);
36612
- return React.createElement(ModalPortal, null, React.createElement(Container$G, {
36711
+ return React.createElement(ModalPortal, null, React.createElement(Container$H, {
36613
36712
  ref: ref
36614
36713
  }, React.createElement(SpellInfoDisplay, {
36615
36714
  spell: spell
36616
36715
  })));
36617
36716
  };
36618
- var Container$G = /*#__PURE__*/styled.div.withConfig({
36717
+ var Container$H = /*#__PURE__*/styled.div.withConfig({
36619
36718
  displayName: "SpellTooltip__Container",
36620
36719
  componentId: "sc-1go0gwg-0"
36621
36720
  })(["position:absolute;z-index:100;pointer-events:none;left:0;top:0;opacity:0;transition:opacity 0.08s;"]);
@@ -36688,7 +36787,7 @@ var Spell = function Spell(_ref) {
36688
36787
  var IMAGE_SCALE = 2;
36689
36788
  return React.createElement(SpellInfoWrapper, {
36690
36789
  spell: spell
36691
- }, React.createElement(Container$H, {
36790
+ }, React.createElement(Container$I, {
36692
36791
  onPointerUp: onPointerUp == null ? void 0 : onPointerUp.bind(null, spellKey),
36693
36792
  isSettingShortcut: isSettingShortcut && !disabled,
36694
36793
  className: "spell"
@@ -36707,7 +36806,7 @@ var Spell = function Spell(_ref) {
36707
36806
  className: "mana"
36708
36807
  }, manaCost))));
36709
36808
  };
36710
- var Container$H = /*#__PURE__*/styled.button.withConfig({
36809
+ var Container$I = /*#__PURE__*/styled.button.withConfig({
36711
36810
  displayName: "Spell__Container",
36712
36811
  componentId: "sc-j96fa2-0"
36713
36812
  })(["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) {
@@ -36786,7 +36885,7 @@ var Spellbook = function Spellbook(_ref) {
36786
36885
  height: "inherit",
36787
36886
  cancelDrag: "#spellbook-search, #shortcuts_list, .spell",
36788
36887
  scale: scale
36789
- }, React.createElement(Container$I, null, React.createElement(Title$d, null, "Learned Spells"), React.createElement(ShortcutsSetter, {
36888
+ }, React.createElement(Container$J, null, React.createElement(Title$d, null, "Learned Spells"), React.createElement(ShortcutsSetter, {
36790
36889
  setSettingShortcutIndex: setSettingShortcutIndex,
36791
36890
  settingShortcutIndex: settingShortcutIndex,
36792
36891
  shortcuts: shortcuts,
@@ -36822,7 +36921,7 @@ var Title$d = /*#__PURE__*/styled.h1.withConfig({
36822
36921
  displayName: "Spellbook__Title",
36823
36922
  componentId: "sc-r02nfq-0"
36824
36923
  })(["font-size:", " !important;margin-bottom:0 !important;"], uiFonts.size.large);
36825
- var Container$I = /*#__PURE__*/styled.div.withConfig({
36924
+ var Container$J = /*#__PURE__*/styled.div.withConfig({
36826
36925
  displayName: "Spellbook__Container",
36827
36926
  componentId: "sc-r02nfq-1"
36828
36927
  })(["width:100%;height:100%;color:white;display:flex;flex-direction:column;"]);
@@ -37304,7 +37403,7 @@ var TradingMenu = function TradingMenu(_ref) {
37304
37403
  width: "500px",
37305
37404
  cancelDrag: "#TraderContainer",
37306
37405
  scale: scale
37307
- }, React.createElement(Container$J, null, React.createElement(Title$e, null, type.charAt(0).toUpperCase() + type.slice(1), " Menu"), React.createElement("hr", {
37406
+ }, React.createElement(Container$K, null, React.createElement(Title$e, null, type.charAt(0).toUpperCase() + type.slice(1), " Menu"), React.createElement("hr", {
37308
37407
  className: "golden"
37309
37408
  }), React.createElement(ScrollWrapper, {
37310
37409
  id: "TraderContainer"
@@ -37332,7 +37431,7 @@ var TradingMenu = function TradingMenu(_ref) {
37332
37431
  onPointerDown: onClose
37333
37432
  }, "Cancel"))));
37334
37433
  };
37335
- var Container$J = /*#__PURE__*/styled.div.withConfig({
37434
+ var Container$K = /*#__PURE__*/styled.div.withConfig({
37336
37435
  displayName: "TradingMenu__Container",
37337
37436
  componentId: "sc-1wjsz1l-0"
37338
37437
  })(["width:100%;"]);
@@ -37366,11 +37465,11 @@ var Truncate = function Truncate(_ref) {
37366
37465
  var _ref$maxLines = _ref.maxLines,
37367
37466
  maxLines = _ref$maxLines === void 0 ? 1 : _ref$maxLines,
37368
37467
  children = _ref.children;
37369
- return React.createElement(Container$K, {
37468
+ return React.createElement(Container$L, {
37370
37469
  maxLines: maxLines
37371
37470
  }, children);
37372
37471
  };
37373
- var Container$K = /*#__PURE__*/styled.div.withConfig({
37472
+ var Container$L = /*#__PURE__*/styled.div.withConfig({
37374
37473
  displayName: "Truncate__Container",
37375
37474
  componentId: "sc-6x00qb-0"
37376
37475
  })(["display:-webkit-box;max-width:100%;max-height:100%;-webkit-line-clamp:", ";-webkit-box-orient:vertical;overflow:hidden;"], function (props) {
@@ -37478,7 +37577,7 @@ var TutorialStepper = /*#__PURE__*/React.memo(function (_ref) {
37478
37577
  };
37479
37578
  });
37480
37579
  }, [lessons, imageStyle]);
37481
- return React.createElement(Container$L, null, React.createElement(Stepper, {
37580
+ return React.createElement(Container$M, null, React.createElement(Stepper, {
37482
37581
  steps: generateLessons,
37483
37582
  finalCTAButton: {
37484
37583
  label: 'Close',
@@ -37495,7 +37594,7 @@ var LessonBody = /*#__PURE__*/styled.div.withConfig({
37495
37594
  displayName: "TutorialStepper__LessonBody",
37496
37595
  componentId: "sc-7tgzv2-1"
37497
37596
  })([""]);
37498
- var Container$L = /*#__PURE__*/styled.div.withConfig({
37597
+ var Container$M = /*#__PURE__*/styled.div.withConfig({
37499
37598
  displayName: "TutorialStepper__Container",
37500
37599
  componentId: "sc-7tgzv2-2"
37501
37600
  })(["width:80%;max-width:600px;@media (max-width:600px){width:95%;}"]);
@@ -37516,5 +37615,5 @@ var LessonContainer = /*#__PURE__*/styled.div.withConfig({
37516
37615
  componentId: "sc-7tgzv2-6"
37517
37616
  })(["display:flex;flex-direction:column;justify-content:space-between;min-height:200px;p{font-size:0.7rem !important;}"]);
37518
37617
 
37519
- export { ActionButtons, AsyncDropdown, Button, ButtonTypes, CharacterSelection, Chat, ChatDeprecated, ChatRevamp, CheckButton, CheckItem, CircularController, CraftBook, DailyTasks, DraggableContainer, Dropdown, DropdownSelectorContainer, DynamicText, EquipmentSet, EquipmentSlotSpriteByType, ErrorBoundary, FriendList, GemSelector, HistoryDialog, ImageCarousel, ImgSide, InformationCenter, Input, InputRadio, InternalTabs, ItemContainer$1 as ItemContainer, ItemPropertySimpleHandler, ItemQuantitySelectorModal, ItemSelector, ItemSlot, JoystickDPad, Leaderboard, ListMenu, Marketplace, MarketplaceRows, MultitabType, NPCDialog, NPCDialogType, NPCMultiDialog, PartyCreate, PartyDashboard, PartyInvite, PartyManager, PartyManagerRow, PartyRow, PlayersRow, ProgressBar$1 as ProgressBar, PropertySelect, QuantitySelectorModal, QuestInfo, QuestList, QuestionDialog, RPGUIContainer, RPGUIContainerTypes, RPGUIRoot, RangeSlider, RangeSliderType, SelectArrow, Shortcuts, SimpleImageCarousel, SkillProgressBar, SkillsContainer, SocialModal, Spellbook, SpriteFromAtlas, Stepper, TabBody, Table, TableCell, TableHeader, TableRow, TabsContainer, TextArea, TimeWidget, Tooltip, TradingMenu, Truncate, TutorialStepper, UserActionLink, _RPGUI, formatQuestStatus, formatQuestText, getMockedPlayersRowsLeader, getMockedPlayersRowsNotLeader, getQuestStatusColor, mockedPartyManager, mockedPartyRows, mockedPlayersRows, mockedPlayersRows2, useEventListener };
37618
+ export { ActionButtons, AsyncDropdown, Button, ButtonTypes, CharacterSelection, CharacterSkinSelectionModal, Chat, ChatDeprecated, ChatRevamp, CheckButton, CheckItem, CircularController, CraftBook, DailyTasks, DraggableContainer, Dropdown, DropdownSelectorContainer, DynamicText, EquipmentSet, EquipmentSlotSpriteByType, ErrorBoundary, FriendList, GemSelector, HistoryDialog, ImageCarousel, ImgSide, InformationCenter, Input, InputRadio, InternalTabs, ItemContainer$1 as ItemContainer, ItemPropertySimpleHandler, ItemQuantitySelectorModal, ItemSelector, ItemSlot, JoystickDPad, Leaderboard, ListMenu, Marketplace, MarketplaceRows, MultitabType, NPCDialog, NPCDialogType, NPCMultiDialog, PartyCreate, PartyDashboard, PartyInvite, PartyManager, PartyManagerRow, PartyRow, PlayersRow, ProgressBar$1 as ProgressBar, PropertySelect, QuantitySelectorModal, QuestInfo, QuestList, QuestionDialog, RPGUIContainer, RPGUIContainerTypes, RPGUIRoot, RangeSlider, RangeSliderType, SelectArrow, Shortcuts, SimpleImageCarousel, SkillProgressBar, SkillsContainer, SocialModal, Spellbook, SpriteFromAtlas, Stepper, TabBody, Table, TableCell, TableHeader, TableRow, TabsContainer, TextArea, TimeWidget, Tooltip, TradingMenu, Truncate, TutorialStepper, UserActionLink, _RPGUI, formatQuestStatus, formatQuestText, getMockedPlayersRowsLeader, getMockedPlayersRowsNotLeader, getQuestStatusColor, mockedPartyManager, mockedPartyRows, mockedPlayersRows, mockedPlayersRows2, useEventListener };
37520
37619
  //# sourceMappingURL=long-bow.esm.js.map