@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.
- package/dist/components/Character/CharacterSkinSelectionModal.d.ts +12 -0
- package/dist/components/DailyTasks/DailyTasks.d.ts +2 -1
- package/dist/index.d.ts +1 -0
- package/dist/long-bow.cjs.development.js +201 -101
- package/dist/long-bow.cjs.development.js.map +1 -1
- package/dist/long-bow.cjs.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/dist/long-bow.esm.js +201 -102
- package/dist/long-bow.esm.js.map +1 -1
- package/dist/stories/Character/character/CharacterSkinSelectionModal.stories.d.ts +5 -0
- package/package.json +1 -1
- package/src/components/Character/CharacterSkinSelectionModal.tsx +151 -0
- package/src/components/DailyTasks/DailyRewardsTooltip.tsx +1 -1
- package/src/components/DailyTasks/DailyTasks.tsx +11 -6
- package/src/components/DailyTasks/TaskProgressDetails.tsx +1 -1
- package/src/index.tsx +1 -0
- package/src/mocks/dailyTasks.mocks.ts +1 -7
- package/src/stories/Character/character/CharacterSkinSelectionModal.stories.tsx +52 -0
|
@@ -26119,6 +26119,103 @@ var Container$4 = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
26119
26119
|
componentId: "sc-b34498-0"
|
|
26120
26120
|
})(["display:flex;flex-direction:column;align-items:center;image-rendering:pixelated;"]);
|
|
26121
26121
|
|
|
26122
|
+
var CharacterSkinSelectionModal = function CharacterSkinSelectionModal(_ref) {
|
|
26123
|
+
var isOpen = _ref.isOpen,
|
|
26124
|
+
onClose = _ref.onClose,
|
|
26125
|
+
onConfirm = _ref.onConfirm,
|
|
26126
|
+
availableCharacters = _ref.availableCharacters,
|
|
26127
|
+
atlasJSON = _ref.atlasJSON,
|
|
26128
|
+
atlasIMG = _ref.atlasIMG,
|
|
26129
|
+
_ref$initialSelectedS = _ref.initialSelectedSkin,
|
|
26130
|
+
initialSelectedSkin = _ref$initialSelectedS === void 0 ? '' : _ref$initialSelectedS;
|
|
26131
|
+
// Convert availableCharacters to the format used by PropertySelect
|
|
26132
|
+
var propertySelectValues = availableCharacters.map(function (item) {
|
|
26133
|
+
return {
|
|
26134
|
+
id: item.textureKey,
|
|
26135
|
+
name: item.name
|
|
26136
|
+
};
|
|
26137
|
+
});
|
|
26138
|
+
// State to store the selected skin and the sprite key
|
|
26139
|
+
var _useState = React.useState(),
|
|
26140
|
+
selectedValue = _useState[0],
|
|
26141
|
+
setSelectedValue = _useState[1];
|
|
26142
|
+
var _useState2 = React.useState(''),
|
|
26143
|
+
selectedSpriteKey = _useState2[0],
|
|
26144
|
+
setSelectedSpriteKey = _useState2[1];
|
|
26145
|
+
// Update sprite when the selected value changes
|
|
26146
|
+
var updateSelectedSpriteKey = function updateSelectedSpriteKey() {
|
|
26147
|
+
var textureKey = selectedValue ? selectedValue.id : '';
|
|
26148
|
+
var spriteKey = textureKey ? textureKey + '/down/standing/0.png' : '';
|
|
26149
|
+
if (spriteKey === selectedSpriteKey) {
|
|
26150
|
+
return;
|
|
26151
|
+
}
|
|
26152
|
+
setSelectedSpriteKey(spriteKey);
|
|
26153
|
+
};
|
|
26154
|
+
// Update sprite when selectedValue changes
|
|
26155
|
+
React.useEffect(function () {
|
|
26156
|
+
updateSelectedSpriteKey();
|
|
26157
|
+
}, [selectedValue]);
|
|
26158
|
+
// Initialize selectedValue
|
|
26159
|
+
React.useEffect(function () {
|
|
26160
|
+
if (initialSelectedSkin) {
|
|
26161
|
+
var initialProperty = propertySelectValues.find(function (prop) {
|
|
26162
|
+
return prop.id === initialSelectedSkin;
|
|
26163
|
+
});
|
|
26164
|
+
setSelectedValue(initialProperty || propertySelectValues[0]);
|
|
26165
|
+
} else if (propertySelectValues.length > 0) {
|
|
26166
|
+
setSelectedValue(propertySelectValues[0]);
|
|
26167
|
+
}
|
|
26168
|
+
}, [initialSelectedSkin, availableCharacters]);
|
|
26169
|
+
// Functions to handle confirmation and cancellation
|
|
26170
|
+
var handleConfirm = function handleConfirm() {
|
|
26171
|
+
if (selectedValue) {
|
|
26172
|
+
onConfirm(selectedValue.id);
|
|
26173
|
+
onClose();
|
|
26174
|
+
}
|
|
26175
|
+
};
|
|
26176
|
+
var handleCancel = function handleCancel() {
|
|
26177
|
+
onClose();
|
|
26178
|
+
};
|
|
26179
|
+
if (!isOpen) return null;
|
|
26180
|
+
return React__default.createElement(Container$5, null, selectedSpriteKey && atlasIMG && atlasJSON && React__default.createElement(ErrorBoundary, null, React__default.createElement(SpriteFromAtlas, {
|
|
26181
|
+
spriteKey: selectedSpriteKey,
|
|
26182
|
+
atlasIMG: atlasIMG,
|
|
26183
|
+
atlasJSON: atlasJSON,
|
|
26184
|
+
imgScale: 4,
|
|
26185
|
+
height: 80,
|
|
26186
|
+
width: 64,
|
|
26187
|
+
containerStyle: {
|
|
26188
|
+
display: 'flex',
|
|
26189
|
+
alignItems: 'center',
|
|
26190
|
+
paddingBottom: '15px'
|
|
26191
|
+
},
|
|
26192
|
+
imgStyle: {
|
|
26193
|
+
left: '22px'
|
|
26194
|
+
}
|
|
26195
|
+
})), React__default.createElement(PropertySelect, {
|
|
26196
|
+
availableProperties: propertySelectValues,
|
|
26197
|
+
onChange: function onChange(value) {
|
|
26198
|
+
setSelectedValue(value);
|
|
26199
|
+
}
|
|
26200
|
+
}), React__default.createElement(ButtonsContainer, null, React__default.createElement(Button, {
|
|
26201
|
+
buttonType: exports.ButtonTypes.RPGUIButton,
|
|
26202
|
+
onClick: handleCancel
|
|
26203
|
+
}, "Cancel"), React__default.createElement(Button, {
|
|
26204
|
+
buttonType: exports.ButtonTypes.RPGUIButton,
|
|
26205
|
+
onClick: handleConfirm,
|
|
26206
|
+
disabled: !selectedValue
|
|
26207
|
+
}, "Confirm")));
|
|
26208
|
+
};
|
|
26209
|
+
// Styled components
|
|
26210
|
+
var Container$5 = /*#__PURE__*/styled__default.div.withConfig({
|
|
26211
|
+
displayName: "CharacterSkinSelectionModal__Container",
|
|
26212
|
+
componentId: "sc-qsroao-0"
|
|
26213
|
+
})(["display:flex;flex-direction:column;align-items:center;image-rendering:pixelated;"]);
|
|
26214
|
+
var ButtonsContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
26215
|
+
displayName: "CharacterSkinSelectionModal__ButtonsContainer",
|
|
26216
|
+
componentId: "sc-qsroao-1"
|
|
26217
|
+
})(["display:flex;justify-content:center;gap:0.8rem;width:100%;margin:3rem 0 0.75rem;button{min-width:95px;font-size:0.9rem;}"]);
|
|
26218
|
+
|
|
26122
26219
|
var Chat = function Chat(_ref) {
|
|
26123
26220
|
var chatMessages = _ref.chatMessages,
|
|
26124
26221
|
onSendChatMessage = _ref.onSendChatMessage,
|
|
@@ -26263,13 +26360,13 @@ var RPGUIContainer = function RPGUIContainer(_ref) {
|
|
|
26263
26360
|
width = _ref$width === void 0 ? '50%' : _ref$width,
|
|
26264
26361
|
height = _ref.height,
|
|
26265
26362
|
className = _ref.className;
|
|
26266
|
-
return React__default.createElement(Container$
|
|
26363
|
+
return React__default.createElement(Container$6, {
|
|
26267
26364
|
width: width,
|
|
26268
26365
|
height: height || 'auto',
|
|
26269
26366
|
className: "rpgui-container " + type + " " + className
|
|
26270
26367
|
}, children);
|
|
26271
26368
|
};
|
|
26272
|
-
var Container$
|
|
26369
|
+
var Container$6 = /*#__PURE__*/styled__default.div.withConfig({
|
|
26273
26370
|
displayName: "RPGUIContainer__Container",
|
|
26274
26371
|
componentId: "sc-a7heha-0"
|
|
26275
26372
|
})(["height:", ";width:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;"], function (props) {
|
|
@@ -26341,7 +26438,7 @@ var ChatDeprecated = function ChatDeprecated(_ref) {
|
|
|
26341
26438
|
}, onRenderMessageLines(emitter, createdAt, message));
|
|
26342
26439
|
}) : React__default.createElement(MessageText, null, "No messages available.");
|
|
26343
26440
|
};
|
|
26344
|
-
return React__default.createElement(Container$
|
|
26441
|
+
return React__default.createElement(Container$7, null, React__default.createElement(CustomContainer, {
|
|
26345
26442
|
type: exports.RPGUIContainerTypes.FramedGrey,
|
|
26346
26443
|
width: width,
|
|
26347
26444
|
height: height,
|
|
@@ -26379,7 +26476,7 @@ var ChatDeprecated = function ChatDeprecated(_ref) {
|
|
|
26379
26476
|
id: "chat-send-button"
|
|
26380
26477
|
}, "Send"))))));
|
|
26381
26478
|
};
|
|
26382
|
-
var Container$
|
|
26479
|
+
var Container$7 = /*#__PURE__*/styled__default.div.withConfig({
|
|
26383
26480
|
displayName: "ChatDeprecated__Container",
|
|
26384
26481
|
componentId: "sc-fuuod3-0"
|
|
26385
26482
|
})(["position:relative;"]);
|
|
@@ -27168,7 +27265,7 @@ var CircularController = function CircularController(_ref) {
|
|
|
27168
27265
|
return word[0];
|
|
27169
27266
|
})));
|
|
27170
27267
|
};
|
|
27171
|
-
return React__default.createElement(ButtonsContainer, null, React__default.createElement(ShortcutsContainer, null, Array.from({
|
|
27268
|
+
return React__default.createElement(ButtonsContainer$1, null, React__default.createElement(ShortcutsContainer, null, Array.from({
|
|
27172
27269
|
length: 12
|
|
27173
27270
|
}).map(function (_, i) {
|
|
27174
27271
|
return renderShortcut(i);
|
|
@@ -27190,7 +27287,7 @@ var CancelButton = /*#__PURE__*/styled__default(Button$1).withConfig({
|
|
|
27190
27287
|
displayName: "CircularController__CancelButton",
|
|
27191
27288
|
componentId: "sc-1fewf3h-1"
|
|
27192
27289
|
})(["width:3rem;height:3rem;font-size:0.8rem;position:relative;left:2.6rem;span{margin-top:4px;margin-left:2px;pointer-events:none;}"]);
|
|
27193
|
-
var ButtonsContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
27290
|
+
var ButtonsContainer$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
27194
27291
|
displayName: "CircularController__ButtonsContainer",
|
|
27195
27292
|
componentId: "sc-1fewf3h-2"
|
|
27196
27293
|
})(["display:flex;align-items:center;justify-content:center;gap:0.5rem;scale:0.9;"]);
|
|
@@ -27346,7 +27443,7 @@ var DraggableContainer = function DraggableContainer(_ref) {
|
|
|
27346
27443
|
},
|
|
27347
27444
|
defaultPosition: initialPosition,
|
|
27348
27445
|
scale: scale
|
|
27349
|
-
}, React__default.createElement(Container$
|
|
27446
|
+
}, React__default.createElement(Container$8, {
|
|
27350
27447
|
ref: draggableRef,
|
|
27351
27448
|
width: width,
|
|
27352
27449
|
height: height || 'auto',
|
|
@@ -27365,7 +27462,7 @@ var DraggableContainer = function DraggableContainer(_ref) {
|
|
|
27365
27462
|
onPointerDown: onCloseButton
|
|
27366
27463
|
}, "X"), children));
|
|
27367
27464
|
};
|
|
27368
|
-
var Container$
|
|
27465
|
+
var Container$8 = /*#__PURE__*/styled__default.div.withConfig({
|
|
27369
27466
|
displayName: "DraggableContainer__Container",
|
|
27370
27467
|
componentId: "sc-184mpyl-0"
|
|
27371
27468
|
})(["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) {
|
|
@@ -27445,7 +27542,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
27445
27542
|
onChange(selectedValue);
|
|
27446
27543
|
}
|
|
27447
27544
|
}, [selectedValue]);
|
|
27448
|
-
return React__default.createElement(Container$
|
|
27545
|
+
return React__default.createElement(Container$9, {
|
|
27449
27546
|
onMouseLeave: function onMouseLeave() {
|
|
27450
27547
|
return setOpened(false);
|
|
27451
27548
|
},
|
|
@@ -27474,7 +27571,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
27474
27571
|
}, option.option);
|
|
27475
27572
|
})));
|
|
27476
27573
|
};
|
|
27477
|
-
var Container$
|
|
27574
|
+
var Container$9 = /*#__PURE__*/styled__default.div.withConfig({
|
|
27478
27575
|
displayName: "Dropdown__Container",
|
|
27479
27576
|
componentId: "sc-8arn65-0"
|
|
27480
27577
|
})(["position:relative;width:", ";max-height:", "px;"], function (props) {
|
|
@@ -27500,11 +27597,11 @@ var DropdownOptions$1 = /*#__PURE__*/styled__default.ul.withConfig({
|
|
|
27500
27597
|
var modalRoot = /*#__PURE__*/document.getElementById('modal-root');
|
|
27501
27598
|
var ModalPortal = function ModalPortal(_ref) {
|
|
27502
27599
|
var children = _ref.children;
|
|
27503
|
-
return ReactDOM__default.createPortal(React__default.createElement(Container$
|
|
27600
|
+
return ReactDOM__default.createPortal(React__default.createElement(Container$a, {
|
|
27504
27601
|
className: "rpgui-content"
|
|
27505
27602
|
}, children), modalRoot);
|
|
27506
27603
|
};
|
|
27507
|
-
var Container$
|
|
27604
|
+
var Container$a = /*#__PURE__*/styled__default.div.withConfig({
|
|
27508
27605
|
displayName: "ModalPortal__Container",
|
|
27509
27606
|
componentId: "sc-dgmp04-0"
|
|
27510
27607
|
})(["position:static !important;"]);
|
|
@@ -28224,7 +28321,7 @@ var ItemSlot = /*#__PURE__*/mobxReactLite.observer(function (_ref) {
|
|
|
28224
28321
|
});
|
|
28225
28322
|
}
|
|
28226
28323
|
};
|
|
28227
|
-
return React__default.createElement(Container$
|
|
28324
|
+
return React__default.createElement(Container$b, {
|
|
28228
28325
|
isDraggingItem: !!draggingState.item,
|
|
28229
28326
|
item: item,
|
|
28230
28327
|
className: "rpgui-icon empty-slot",
|
|
@@ -28288,7 +28385,7 @@ var ItemSlot = /*#__PURE__*/mobxReactLite.observer(function (_ref) {
|
|
|
28288
28385
|
containerType: containerType
|
|
28289
28386
|
}))));
|
|
28290
28387
|
});
|
|
28291
|
-
var Container$
|
|
28388
|
+
var Container$b = /*#__PURE__*/styled__default.div.withConfig({
|
|
28292
28389
|
displayName: "ItemSlot__Container",
|
|
28293
28390
|
componentId: "sc-l2j5ef-0"
|
|
28294
28391
|
})(["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) {
|
|
@@ -28407,7 +28504,7 @@ var ItemInfo = function ItemInfo(_ref) {
|
|
|
28407
28504
|
});
|
|
28408
28505
|
};
|
|
28409
28506
|
var skillName = (_item$minRequirements = item.minRequirements) == null ? void 0 : (_item$minRequirements2 = _item$minRequirements.skill) == null ? void 0 : _item$minRequirements2.name;
|
|
28410
|
-
return React__default.createElement(Container$
|
|
28507
|
+
return React__default.createElement(Container$c, {
|
|
28411
28508
|
item: item
|
|
28412
28509
|
}, React__default.createElement(Header, null, React__default.createElement("div", null, React__default.createElement(Title$1, null, item.name), item.rarity !== 'Common' && React__default.createElement(Rarity, {
|
|
28413
28510
|
item: item
|
|
@@ -28421,7 +28518,7 @@ var ItemInfo = function ItemInfo(_ref) {
|
|
|
28421
28518
|
"$isSpecial": true
|
|
28422
28519
|
}, "Two handed"), React__default.createElement(Description, null, item.description), item.maxStackSize && item.maxStackSize !== 1 && React__default.createElement(StackInfo, null, "x", Math.round(((_item$stackQty = item.stackQty) != null ? _item$stackQty : 1) * 100) / 100, "(", item.maxStackSize, ")"), renderMissingStatistic().length > 0 && React__default.createElement(MissingStatistics, null, React__default.createElement(Statistic, null, "Equipped Diff"), itemToCompare && renderMissingStatistic()));
|
|
28423
28520
|
};
|
|
28424
|
-
var Container$
|
|
28521
|
+
var Container$c = /*#__PURE__*/styled__default.div.withConfig({
|
|
28425
28522
|
displayName: "ItemInfo__Container",
|
|
28426
28523
|
componentId: "sc-1xm4q8k-0"
|
|
28427
28524
|
})(["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) {
|
|
@@ -28570,7 +28667,7 @@ var ItemTooltip = function ItemTooltip(_ref) {
|
|
|
28570
28667
|
}
|
|
28571
28668
|
return;
|
|
28572
28669
|
}, []);
|
|
28573
|
-
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$
|
|
28670
|
+
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$d, {
|
|
28574
28671
|
ref: ref
|
|
28575
28672
|
}, React__default.createElement(ItemInfoDisplay, {
|
|
28576
28673
|
item: item,
|
|
@@ -28579,7 +28676,7 @@ var ItemTooltip = function ItemTooltip(_ref) {
|
|
|
28579
28676
|
equipmentSet: equipmentSet
|
|
28580
28677
|
})));
|
|
28581
28678
|
};
|
|
28582
|
-
var Container$
|
|
28679
|
+
var Container$d = /*#__PURE__*/styled__default.div.withConfig({
|
|
28583
28680
|
displayName: "ItemTooltip__Container",
|
|
28584
28681
|
componentId: "sc-11d9r7x-0"
|
|
28585
28682
|
})(["position:absolute;z-index:100;pointer-events:none;left:0;top:0;opacity:0;transition:opacity 0.08s;"]);
|
|
@@ -28599,7 +28696,7 @@ var MobileItemTooltip = function MobileItemTooltip(_ref) {
|
|
|
28599
28696
|
var _ref$current;
|
|
28600
28697
|
(_ref$current = ref.current) == null ? void 0 : _ref$current.classList.add('fadeOut');
|
|
28601
28698
|
};
|
|
28602
|
-
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$
|
|
28699
|
+
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$e, {
|
|
28603
28700
|
ref: ref,
|
|
28604
28701
|
onTouchEnd: function onTouchEnd() {
|
|
28605
28702
|
handleFadeOut();
|
|
@@ -28627,7 +28724,7 @@ var MobileItemTooltip = function MobileItemTooltip(_ref) {
|
|
|
28627
28724
|
}, option.text);
|
|
28628
28725
|
}))));
|
|
28629
28726
|
};
|
|
28630
|
-
var Container$
|
|
28727
|
+
var Container$e = /*#__PURE__*/styled__default.div.withConfig({
|
|
28631
28728
|
displayName: "MobileItemTooltip__Container",
|
|
28632
28729
|
componentId: "sc-ku4p1j-0"
|
|
28633
28730
|
})(["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;}"]);
|
|
@@ -29331,7 +29428,7 @@ var DailyRewardsTooltip = function DailyRewardsTooltip(_ref) {
|
|
|
29331
29428
|
}), React__default.createElement(ItemContent, null, React__default.createElement(RewardLabel, null, React__default.createElement(Ellipsis, {
|
|
29332
29429
|
maxWidth: "100%",
|
|
29333
29430
|
maxLines: 2
|
|
29334
|
-
}, formatTaskKey((_reward$key = reward.key) != null ? _reward$key :
|
|
29431
|
+
}, formatTaskKey((_reward$key = reward.key) != null ? _reward$key : reward.type), ":"))), React__default.createElement(RewardValue, null, "x", reward.quantity));
|
|
29335
29432
|
}))));
|
|
29336
29433
|
};
|
|
29337
29434
|
var TooltipContainer$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
@@ -29379,7 +29476,7 @@ var ReadOnlyCheckItem = function ReadOnlyCheckItem(_ref) {
|
|
|
29379
29476
|
var labelLeft = _ref.labelLeft,
|
|
29380
29477
|
labelRight = _ref.labelRight,
|
|
29381
29478
|
checked = _ref.checked;
|
|
29382
|
-
return React__default.createElement(Container$
|
|
29479
|
+
return React__default.createElement(Container$f, null, labelLeft && React__default.createElement(Label, null, labelLeft), React__default.createElement("div", {
|
|
29383
29480
|
className: "rpgui-checkbox-container"
|
|
29384
29481
|
}, React__default.createElement(CheckBox, {
|
|
29385
29482
|
className: "rpgui-checkbox",
|
|
@@ -29390,7 +29487,7 @@ var ReadOnlyCheckItem = function ReadOnlyCheckItem(_ref) {
|
|
|
29390
29487
|
isRight: true
|
|
29391
29488
|
}, labelRight));
|
|
29392
29489
|
};
|
|
29393
|
-
var Container$
|
|
29490
|
+
var Container$f = /*#__PURE__*/styled__default.div.withConfig({
|
|
29394
29491
|
displayName: "ReadOnlyCheckItem__Container",
|
|
29395
29492
|
componentId: "sc-1peplf9-0"
|
|
29396
29493
|
})(["display:flex;align-items:center;width:100%;height:20px;"]);
|
|
@@ -29431,7 +29528,7 @@ var TaskProgressDetails = function TaskProgressDetails(_ref) {
|
|
|
29431
29528
|
value = _ref3[1];
|
|
29432
29529
|
return React__default.createElement(ProgressItem, {
|
|
29433
29530
|
key: index
|
|
29434
|
-
}, React__default.createElement("span", null, key, ":"), React__default.createElement(ProgressCount, null, value, "/", ((_task$requirements$ta2 = task.requirements.targets.find(function (t) {
|
|
29531
|
+
}, React__default.createElement("span", null, formatTaskKey(key), ":"), React__default.createElement(ProgressCount, null, value, "/", ((_task$requirements$ta2 = task.requirements.targets.find(function (t) {
|
|
29435
29532
|
return t.key === key;
|
|
29436
29533
|
})) == null ? void 0 : _task$requirements$ta2.quantity) || 0));
|
|
29437
29534
|
});
|
|
@@ -29661,6 +29758,7 @@ var CollectWrapper$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
29661
29758
|
var DailyTasks = function DailyTasks(_ref) {
|
|
29662
29759
|
var tasks = _ref.tasks,
|
|
29663
29760
|
onClaimReward = _ref.onClaimReward,
|
|
29761
|
+
onClaimGlobalReward = _ref.onClaimGlobalReward,
|
|
29664
29762
|
onClose = _ref.onClose,
|
|
29665
29763
|
_ref$scale = _ref.scale,
|
|
29666
29764
|
scale = _ref$scale === void 0 ? 1 : _ref$scale,
|
|
@@ -29686,15 +29784,16 @@ var DailyTasks = function DailyTasks(_ref) {
|
|
|
29686
29784
|
});
|
|
29687
29785
|
};
|
|
29688
29786
|
var handleClaimAllRewards = function handleClaimAllRewards() {
|
|
29689
|
-
localTasks.
|
|
29690
|
-
|
|
29691
|
-
|
|
29692
|
-
|
|
29693
|
-
|
|
29694
|
-
|
|
29695
|
-
|
|
29696
|
-
|
|
29697
|
-
|
|
29787
|
+
var tasksToReward = localTasks.filter(function (task) {
|
|
29788
|
+
return task.status === shared.TaskStatus.Completed && !task.claimed;
|
|
29789
|
+
}).map(function (task) {
|
|
29790
|
+
return {
|
|
29791
|
+
type: task.type,
|
|
29792
|
+
taskKey: task.key
|
|
29793
|
+
};
|
|
29794
|
+
});
|
|
29795
|
+
onClaimGlobalReward({
|
|
29796
|
+
tasks: tasksToReward
|
|
29698
29797
|
});
|
|
29699
29798
|
};
|
|
29700
29799
|
if (!size) return null;
|
|
@@ -29705,7 +29804,7 @@ var DailyTasks = function DailyTasks(_ref) {
|
|
|
29705
29804
|
scale: scale,
|
|
29706
29805
|
width: size.width,
|
|
29707
29806
|
height: size.height
|
|
29708
|
-
}, React__default.createElement(TaskTitle$1, null, "Daily Tasks"), React__default.createElement(Container$
|
|
29807
|
+
}, React__default.createElement(TaskTitle$1, null, "Daily Tasks"), React__default.createElement(Container$g, null, React__default.createElement(TasksList, {
|
|
29709
29808
|
className: "tasks-container"
|
|
29710
29809
|
}, React__default.createElement(GlobalDailyProgress, {
|
|
29711
29810
|
tasks: localTasks,
|
|
@@ -29727,7 +29826,7 @@ var TasksContainer = /*#__PURE__*/styled__default(DraggableContainer).withConfig
|
|
|
29727
29826
|
displayName: "DailyTasks__TasksContainer",
|
|
29728
29827
|
componentId: "sc-ittn77-0"
|
|
29729
29828
|
})(["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;}"]);
|
|
29730
|
-
var Container$
|
|
29829
|
+
var Container$g = /*#__PURE__*/styled__default.div.withConfig({
|
|
29731
29830
|
displayName: "DailyTasks__Container",
|
|
29732
29831
|
componentId: "sc-ittn77-1"
|
|
29733
29832
|
})(["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;}"]);
|
|
@@ -30099,7 +30198,7 @@ var DraggedItem = function DraggedItem(_ref) {
|
|
|
30099
30198
|
var centeredX = x - OFFSET$1;
|
|
30100
30199
|
var centeredY = y - OFFSET$1;
|
|
30101
30200
|
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);
|
|
30102
|
-
return React__default.createElement(Container$
|
|
30201
|
+
return React__default.createElement(Container$h, null, React__default.createElement(SpriteContainer, {
|
|
30103
30202
|
x: centeredX,
|
|
30104
30203
|
y: centeredY
|
|
30105
30204
|
}, React__default.createElement(SpriteFromAtlas, {
|
|
@@ -30117,7 +30216,7 @@ var DraggedItem = function DraggedItem(_ref) {
|
|
|
30117
30216
|
}), stackInfo));
|
|
30118
30217
|
};
|
|
30119
30218
|
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";
|
|
30120
|
-
var Container$
|
|
30219
|
+
var Container$h = /*#__PURE__*/styled__default.div.withConfig({
|
|
30121
30220
|
displayName: "DraggedItem__Container",
|
|
30122
30221
|
componentId: "sc-mlzzcp-0"
|
|
30123
30222
|
})(["position:relative;"]);
|
|
@@ -30155,7 +30254,7 @@ var RelativeListMenu = function RelativeListMenu(_ref) {
|
|
|
30155
30254
|
document.removeEventListener('clickOutside', function (_e) {});
|
|
30156
30255
|
};
|
|
30157
30256
|
}, []);
|
|
30158
|
-
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$
|
|
30257
|
+
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$i, Object.assign({
|
|
30159
30258
|
fontSize: fontSize,
|
|
30160
30259
|
ref: ref
|
|
30161
30260
|
}, pos), React__default.createElement("ul", {
|
|
@@ -30172,7 +30271,7 @@ var RelativeListMenu = function RelativeListMenu(_ref) {
|
|
|
30172
30271
|
}, (params == null ? void 0 : params.text) || 'No text');
|
|
30173
30272
|
}))));
|
|
30174
30273
|
};
|
|
30175
|
-
var Container$
|
|
30274
|
+
var Container$i = /*#__PURE__*/styled__default.div.withConfig({
|
|
30176
30275
|
displayName: "RelativeListMenu__Container",
|
|
30177
30276
|
componentId: "sc-7hohf-0"
|
|
30178
30277
|
})(["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) {
|
|
@@ -30446,7 +30545,7 @@ var SearchFriend = function SearchFriend(_ref) {
|
|
|
30446
30545
|
title: "Requests (" + friendRequests.length + ")",
|
|
30447
30546
|
content: requestsTabContent
|
|
30448
30547
|
}];
|
|
30449
|
-
return React__default.createElement(Container$
|
|
30548
|
+
return React__default.createElement(Container$j, null, React__default.createElement(InternalTabs, {
|
|
30450
30549
|
tabs: tabs,
|
|
30451
30550
|
activeTextColor: "#000",
|
|
30452
30551
|
inactiveColor: "#777",
|
|
@@ -30488,7 +30587,7 @@ var FriendRequestSection = function FriendRequestSection(_ref3) {
|
|
|
30488
30587
|
}, "Reject")));
|
|
30489
30588
|
})));
|
|
30490
30589
|
};
|
|
30491
|
-
var Container$
|
|
30590
|
+
var Container$j = /*#__PURE__*/styled__default.div.withConfig({
|
|
30492
30591
|
displayName: "SearchFriend__Container",
|
|
30493
30592
|
componentId: "sc-1lt1ols-0"
|
|
30494
30593
|
})(["display:flex;flex-direction:column;gap:1rem;"]);
|
|
@@ -30691,7 +30790,7 @@ var NPCDialogText = function NPCDialogText(_ref) {
|
|
|
30691
30790
|
var _useState2 = React.useState(false),
|
|
30692
30791
|
showGoNextIndicator = _useState2[0],
|
|
30693
30792
|
setShowGoNextIndicator = _useState2[1];
|
|
30694
|
-
return React__default.createElement(Container$
|
|
30793
|
+
return React__default.createElement(Container$k, null, React__default.createElement(DynamicText, {
|
|
30695
30794
|
text: (textChunks == null ? void 0 : textChunks[chunkIndex]) || '',
|
|
30696
30795
|
onFinish: function onFinish() {
|
|
30697
30796
|
setShowGoNextIndicator(true);
|
|
@@ -30709,7 +30808,7 @@ var NPCDialogText = function NPCDialogText(_ref) {
|
|
|
30709
30808
|
}
|
|
30710
30809
|
}));
|
|
30711
30810
|
};
|
|
30712
|
-
var Container$
|
|
30811
|
+
var Container$k = /*#__PURE__*/styled__default.div.withConfig({
|
|
30713
30812
|
displayName: "NPCDialogText__Container",
|
|
30714
30813
|
componentId: "sc-1cxkdh9-0"
|
|
30715
30814
|
})([""]);
|
|
@@ -30861,7 +30960,7 @@ var QuestionDialog = function QuestionDialog(_ref) {
|
|
|
30861
30960
|
return null;
|
|
30862
30961
|
});
|
|
30863
30962
|
};
|
|
30864
|
-
return React__default.createElement(Container$
|
|
30963
|
+
return React__default.createElement(Container$l, null, React__default.createElement(QuestionContainer, null, React__default.createElement(DynamicText, {
|
|
30865
30964
|
text: currentQuestion.text,
|
|
30866
30965
|
onStart: function onStart() {
|
|
30867
30966
|
return setCanShowAnswers(false);
|
|
@@ -30871,7 +30970,7 @@ var QuestionDialog = function QuestionDialog(_ref) {
|
|
|
30871
30970
|
}
|
|
30872
30971
|
})), canShowAnswers && React__default.createElement(AnswersContainer, null, onRenderCurrentAnswers()));
|
|
30873
30972
|
};
|
|
30874
|
-
var Container$
|
|
30973
|
+
var Container$l = /*#__PURE__*/styled__default.div.withConfig({
|
|
30875
30974
|
displayName: "QuestionDialog__Container",
|
|
30876
30975
|
componentId: "sc-bxc5u0-0"
|
|
30877
30976
|
})(["display:flex;word-break:break-all;box-sizing:border-box;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap;"]);
|
|
@@ -30931,7 +31030,7 @@ var NPCDialog = function NPCDialog(_ref) {
|
|
|
30931
31030
|
}
|
|
30932
31031
|
})), type === exports.NPCDialogType.TextAndThumbnail && React__default.createElement(ThumbnailContainer, null, React__default.createElement(NPCThumbnail, {
|
|
30933
31032
|
src: imagePath || img$7
|
|
30934
|
-
}))) : React__default.createElement(React__default.Fragment, null, React__default.createElement(Container$
|
|
31033
|
+
}))) : React__default.createElement(React__default.Fragment, null, React__default.createElement(Container$m, null, React__default.createElement(CloseIcon, {
|
|
30935
31034
|
onPointerDown: _onClose
|
|
30936
31035
|
}, "X"), React__default.createElement(TextContainer$1, {
|
|
30937
31036
|
flex: type === exports.NPCDialogType.TextAndThumbnail ? '70%' : '100%'
|
|
@@ -30947,7 +31046,7 @@ var NPCDialog = function NPCDialog(_ref) {
|
|
|
30947
31046
|
src: imagePath || img$7
|
|
30948
31047
|
})))));
|
|
30949
31048
|
};
|
|
30950
|
-
var Container$
|
|
31049
|
+
var Container$m = /*#__PURE__*/styled__default.div.withConfig({
|
|
30951
31050
|
displayName: "NPCDialog__Container",
|
|
30952
31051
|
componentId: "sc-1b4aw74-0"
|
|
30953
31052
|
})(["display:flex;width:100%;height:100%;box-sizing:border-box;justify-content:center;align-items:flex-start;position:relative;"]);
|
|
@@ -31007,7 +31106,7 @@ var NPCMultiDialog = function NPCMultiDialog(_ref) {
|
|
|
31007
31106
|
type: exports.RPGUIContainerTypes.FramedGold,
|
|
31008
31107
|
width: '50%',
|
|
31009
31108
|
height: '180px'
|
|
31010
|
-
}, React__default.createElement(React__default.Fragment, null, React__default.createElement(Container$
|
|
31109
|
+
}, React__default.createElement(React__default.Fragment, null, React__default.createElement(Container$n, null, ((_textAndTypeArray$sli = textAndTypeArray[slide]) == null ? void 0 : _textAndTypeArray$sli.imageSide) === 'right' && React__default.createElement(React__default.Fragment, null, React__default.createElement(TextContainer$2, {
|
|
31011
31110
|
flex: '70%'
|
|
31012
31111
|
}, React__default.createElement(NPCDialogText, {
|
|
31013
31112
|
onStartStep: function onStartStep() {
|
|
@@ -31049,7 +31148,7 @@ var NPCMultiDialog = function NPCMultiDialog(_ref) {
|
|
|
31049
31148
|
src: img$6
|
|
31050
31149
|
}))), ")"));
|
|
31051
31150
|
};
|
|
31052
|
-
var Container$
|
|
31151
|
+
var Container$n = /*#__PURE__*/styled__default.div.withConfig({
|
|
31053
31152
|
displayName: "NPCMultiDialog__Container",
|
|
31054
31153
|
componentId: "sc-rvu5wg-0"
|
|
31055
31154
|
})(["display:flex;width:100%;height:100%;box-sizing:border-box;justify-content:center;align-items:flex-start;position:relative;"]);
|
|
@@ -31481,7 +31580,7 @@ var Pagination = function Pagination(_ref) {
|
|
|
31481
31580
|
totalPages = _ref.totalPages,
|
|
31482
31581
|
onPageChange = _ref.onPageChange,
|
|
31483
31582
|
className = _ref.className;
|
|
31484
|
-
return React__default.createElement(Container$
|
|
31583
|
+
return React__default.createElement(Container$o, {
|
|
31485
31584
|
className: className
|
|
31486
31585
|
}, React__default.createElement(PaginationButton$1, {
|
|
31487
31586
|
onClick: function onClick() {
|
|
@@ -31499,7 +31598,7 @@ var Pagination = function Pagination(_ref) {
|
|
|
31499
31598
|
size: 12
|
|
31500
31599
|
})));
|
|
31501
31600
|
};
|
|
31502
|
-
var Container$
|
|
31601
|
+
var Container$o = /*#__PURE__*/styled__default.div.withConfig({
|
|
31503
31602
|
displayName: "Pagination__Container",
|
|
31504
31603
|
componentId: "sc-3k4m4u-0"
|
|
31505
31604
|
})(["display:flex;align-items:center;justify-content:center;gap:16px;padding:8px;"]);
|
|
@@ -31525,7 +31624,7 @@ var SearchBar = function SearchBar(_ref) {
|
|
|
31525
31624
|
className = _ref.className,
|
|
31526
31625
|
rightElement = _ref.rightElement;
|
|
31527
31626
|
var hasRightElement = Boolean(rightElement);
|
|
31528
|
-
return React__default.createElement(Container$
|
|
31627
|
+
return React__default.createElement(Container$p, {
|
|
31529
31628
|
className: className
|
|
31530
31629
|
}, React__default.createElement(Input$1, {
|
|
31531
31630
|
type: "text",
|
|
@@ -31538,7 +31637,7 @@ var SearchBar = function SearchBar(_ref) {
|
|
|
31538
31637
|
"$hasRightElement": hasRightElement
|
|
31539
31638
|
}), React__default.createElement(IconContainer, null, React__default.createElement(SearchIcon, null), rightElement));
|
|
31540
31639
|
};
|
|
31541
|
-
var Container$
|
|
31640
|
+
var Container$p = /*#__PURE__*/styled__default.div.withConfig({
|
|
31542
31641
|
displayName: "SearchBar__Container",
|
|
31543
31642
|
componentId: "sc-13n8z02-0"
|
|
31544
31643
|
})(["position:relative;width:100%;"]);
|
|
@@ -31646,7 +31745,7 @@ var PaginatedContent = function PaginatedContent(_ref) {
|
|
|
31646
31745
|
setCurrentPage = _usePagination.setCurrentPage,
|
|
31647
31746
|
paginatedItems = _usePagination.paginatedItems,
|
|
31648
31747
|
totalPages = _usePagination.totalPages;
|
|
31649
|
-
return React__default.createElement(Container$
|
|
31748
|
+
return React__default.createElement(Container$q, {
|
|
31650
31749
|
className: className
|
|
31651
31750
|
}, (searchOptions || filterOptions) && React__default.createElement(SearchHeader, {
|
|
31652
31751
|
searchOptions: searchOptions,
|
|
@@ -31668,7 +31767,7 @@ var PaginatedContent = function PaginatedContent(_ref) {
|
|
|
31668
31767
|
onPageChange: setCurrentPage
|
|
31669
31768
|
}))));
|
|
31670
31769
|
};
|
|
31671
|
-
var Container$
|
|
31770
|
+
var Container$q = /*#__PURE__*/styled__default.div.withConfig({
|
|
31672
31771
|
displayName: "PaginatedContent__Container",
|
|
31673
31772
|
componentId: "sc-lzp9hn-0"
|
|
31674
31773
|
})(["display:flex;flex-direction:column;gap:0.5rem;min-height:400px;width:100%;"]);
|
|
@@ -31790,7 +31889,7 @@ var BaseInformationDetails = function BaseInformationDetails(_ref) {
|
|
|
31790
31889
|
atlasIMG = _ref.atlasIMG,
|
|
31791
31890
|
onBack = _ref.onBack,
|
|
31792
31891
|
children = _ref.children;
|
|
31793
|
-
return React__default.createElement(Container$
|
|
31892
|
+
return React__default.createElement(Container$r, null, React__default.createElement(Overlay, {
|
|
31794
31893
|
onClick: onBack
|
|
31795
31894
|
}), React__default.createElement(Modal, null, React__default.createElement(CloseButton$5, {
|
|
31796
31895
|
onClick: onBack
|
|
@@ -31803,7 +31902,7 @@ var BaseInformationDetails = function BaseInformationDetails(_ref) {
|
|
|
31803
31902
|
imgScale: 1
|
|
31804
31903
|
})), React__default.createElement(Title$3, null, name)), React__default.createElement(Content$1, null, children)));
|
|
31805
31904
|
};
|
|
31806
|
-
var Container$
|
|
31905
|
+
var Container$r = /*#__PURE__*/styled__default.div.withConfig({
|
|
31807
31906
|
displayName: "BaseInformationDetails__Container",
|
|
31808
31907
|
componentId: "sc-1vguuz8-0"
|
|
31809
31908
|
})(["position:fixed;inset:0;display:flex;justify-content:center;align-items:center;z-index:9999;"]);
|
|
@@ -31845,7 +31944,7 @@ var Collapsible = function Collapsible(_ref) {
|
|
|
31845
31944
|
var _useState = React.useState(defaultOpen),
|
|
31846
31945
|
isOpen = _useState[0],
|
|
31847
31946
|
setIsOpen = _useState[1];
|
|
31848
|
-
return React__default.createElement(Container$
|
|
31947
|
+
return React__default.createElement(Container$s, {
|
|
31849
31948
|
className: className
|
|
31850
31949
|
}, React__default.createElement(Header$2, {
|
|
31851
31950
|
onClick: function onClick() {
|
|
@@ -31853,7 +31952,7 @@ var Collapsible = function Collapsible(_ref) {
|
|
|
31853
31952
|
}
|
|
31854
31953
|
}, React__default.createElement(Title$4, null, title), React__default.createElement(Icon$1, null, isOpen ? React__default.createElement(fa.FaChevronUp, null) : React__default.createElement(fa.FaChevronDown, null))), isOpen && React__default.createElement(Content$2, null, children));
|
|
31855
31954
|
};
|
|
31856
|
-
var Container$
|
|
31955
|
+
var Container$s = /*#__PURE__*/styled__default.div.withConfig({
|
|
31857
31956
|
displayName: "Collapsible__Container",
|
|
31858
31957
|
componentId: "sc-s4h8ey-0"
|
|
31859
31958
|
})(["background:rgba(0,0,0,0.3);border-radius:4px;overflow:hidden;border:1px solid ", ";"], uiColors.darkGray);
|
|
@@ -32183,7 +32282,7 @@ var AdvancedFilters = function AdvancedFilters(_ref) {
|
|
|
32183
32282
|
onClose();
|
|
32184
32283
|
}
|
|
32185
32284
|
};
|
|
32186
|
-
return React__default.createElement(Container$
|
|
32285
|
+
return React__default.createElement(Container$t, null, React__default.createElement(FilterButton, {
|
|
32187
32286
|
onClick: onToggle,
|
|
32188
32287
|
"$hasActiveFilters": hasActiveFilters,
|
|
32189
32288
|
ref: buttonRef
|
|
@@ -32214,7 +32313,7 @@ var AdvancedFilters = function AdvancedFilters(_ref) {
|
|
|
32214
32313
|
onClick: onClearAll
|
|
32215
32314
|
}, "Clear All Filters"))));
|
|
32216
32315
|
};
|
|
32217
|
-
var Container$
|
|
32316
|
+
var Container$t = /*#__PURE__*/styled__default.div.withConfig({
|
|
32218
32317
|
displayName: "AdvancedFilters__Container",
|
|
32219
32318
|
componentId: "sc-1xj6ldr-0"
|
|
32220
32319
|
})(["position:relative;margin-left:0.5rem;"]);
|
|
@@ -33308,7 +33407,7 @@ var InformationCenter = function InformationCenter(_ref) {
|
|
|
33308
33407
|
minWidth: "300px",
|
|
33309
33408
|
cancelDrag: ".PaginatedContent-content",
|
|
33310
33409
|
onCloseButton: onClose
|
|
33311
|
-
}, React__default.createElement(Container$
|
|
33410
|
+
}, React__default.createElement(Container$u, null, React__default.createElement(InternalTabs, {
|
|
33312
33411
|
tabs: tabs,
|
|
33313
33412
|
activeTextColor: "#000000",
|
|
33314
33413
|
activeTab: activeTab,
|
|
@@ -33319,7 +33418,7 @@ var InformationCenter = function InformationCenter(_ref) {
|
|
|
33319
33418
|
hoverColor: "#fef3c7"
|
|
33320
33419
|
})));
|
|
33321
33420
|
};
|
|
33322
|
-
var Container$
|
|
33421
|
+
var Container$u = /*#__PURE__*/styled__default.div.withConfig({
|
|
33323
33422
|
displayName: "InformationCenter__Container",
|
|
33324
33423
|
componentId: "sc-1ttl62e-0"
|
|
33325
33424
|
})(["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;}"]);
|
|
@@ -33490,7 +33589,7 @@ var ShortcutsSetter = function ShortcutsSetter(_ref) {
|
|
|
33490
33589
|
}
|
|
33491
33590
|
return null;
|
|
33492
33591
|
};
|
|
33493
|
-
return React__default.createElement(Container$
|
|
33592
|
+
return React__default.createElement(Container$v, null, React__default.createElement("p", null, "Shortcuts:"), React__default.createElement(List, {
|
|
33494
33593
|
id: "shortcuts_list"
|
|
33495
33594
|
}, Array.from({
|
|
33496
33595
|
length: 12
|
|
@@ -33508,7 +33607,7 @@ var ShortcutsSetter = function ShortcutsSetter(_ref) {
|
|
|
33508
33607
|
}, getContent(i));
|
|
33509
33608
|
})));
|
|
33510
33609
|
};
|
|
33511
|
-
var Container$
|
|
33610
|
+
var Container$v = /*#__PURE__*/styled__default.div.withConfig({
|
|
33512
33611
|
displayName: "ShortcutsSetter__Container",
|
|
33513
33612
|
componentId: "sc-xuouuf-0"
|
|
33514
33613
|
})(["p{margin:0;margin-left:0.5rem;font-size:10px;}width:100%;"]);
|
|
@@ -33952,7 +34051,7 @@ var ConfirmModal = function ConfirmModal(_ref) {
|
|
|
33952
34051
|
e.stopPropagation();
|
|
33953
34052
|
onClose();
|
|
33954
34053
|
};
|
|
33955
|
-
return React__default.createElement(ModalPortal, null, React__default.createElement(Background, null), React__default.createElement(Container$
|
|
34054
|
+
return React__default.createElement(ModalPortal, null, React__default.createElement(Background, null), React__default.createElement(Container$w, {
|
|
33956
34055
|
onClick: handleClose
|
|
33957
34056
|
}, React__default.createElement(DraggableContainer, {
|
|
33958
34057
|
width: "auto",
|
|
@@ -33975,7 +34074,7 @@ var Background = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
33975
34074
|
displayName: "ConfirmModal__Background",
|
|
33976
34075
|
componentId: "sc-11qkyu1-0"
|
|
33977
34076
|
})(["position:absolute;width:100%;height:100%;background-color:#000000;opacity:0.5;left:0;top:0;z-index:1000;"]);
|
|
33978
|
-
var Container$
|
|
34077
|
+
var Container$w = /*#__PURE__*/styled__default.div.withConfig({
|
|
33979
34078
|
displayName: "ConfirmModal__Container",
|
|
33980
34079
|
componentId: "sc-11qkyu1-1"
|
|
33981
34080
|
})(["position:absolute;width:100%;height:100%;left:0;top:0;display:flex;justify-content:center;align-items:center;z-index:1001;"]);
|
|
@@ -34030,7 +34129,7 @@ var ColorSelector = function ColorSelector(_ref) {
|
|
|
34030
34129
|
cancelDrag: ".react-colorful",
|
|
34031
34130
|
width: "25rem",
|
|
34032
34131
|
onCloseButton: onClose
|
|
34033
|
-
}, React__default.createElement(Container$
|
|
34132
|
+
}, React__default.createElement(Container$x, null, React__default.createElement(Header$3, null, "Select Color"), React__default.createElement(ColorPickerWrapper, null, React__default.createElement(reactColorful.HexColorPicker, {
|
|
34034
34133
|
color: currentColor,
|
|
34035
34134
|
onChange: function onChange(color) {
|
|
34036
34135
|
setCurrentColor(color);
|
|
@@ -34046,7 +34145,7 @@ var ColorSelector = function ColorSelector(_ref) {
|
|
|
34046
34145
|
onClose: handleClose
|
|
34047
34146
|
}));
|
|
34048
34147
|
};
|
|
34049
|
-
var Container$
|
|
34148
|
+
var Container$x = /*#__PURE__*/styled__default.div.withConfig({
|
|
34050
34149
|
displayName: "ItemPropertyColorSelector__Container",
|
|
34051
34150
|
componentId: "sc-me1r4z-0"
|
|
34052
34151
|
})(["text-align:center;background:inherit;display:flex;flex-direction:column;gap:1.5rem;align-items:center;width:100%;max-width:24rem;margin:0 auto;"]);
|
|
@@ -34402,7 +34501,7 @@ var ListMenu = function ListMenu(_ref) {
|
|
|
34402
34501
|
onSelected = _ref.onSelected,
|
|
34403
34502
|
x = _ref.x,
|
|
34404
34503
|
y = _ref.y;
|
|
34405
|
-
return React__default.createElement(Container$
|
|
34504
|
+
return React__default.createElement(Container$y, {
|
|
34406
34505
|
x: x,
|
|
34407
34506
|
y: y
|
|
34408
34507
|
}, React__default.createElement("ul", {
|
|
@@ -34419,7 +34518,7 @@ var ListMenu = function ListMenu(_ref) {
|
|
|
34419
34518
|
}, (params == null ? void 0 : params.text) || 'No text');
|
|
34420
34519
|
})));
|
|
34421
34520
|
};
|
|
34422
|
-
var Container$
|
|
34521
|
+
var Container$y = /*#__PURE__*/styled__default.div.withConfig({
|
|
34423
34522
|
displayName: "ListMenu__Container",
|
|
34424
34523
|
componentId: "sc-i9097t-0"
|
|
34425
34524
|
})(["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) {
|
|
@@ -34438,7 +34537,7 @@ var Pager = function Pager(_ref) {
|
|
|
34438
34537
|
itemsPerPage = _ref.itemsPerPage,
|
|
34439
34538
|
onPageChange = _ref.onPageChange;
|
|
34440
34539
|
var totalPages = Math.ceil(totalItems / itemsPerPage);
|
|
34441
|
-
return React__default.createElement(Container$
|
|
34540
|
+
return React__default.createElement(Container$z, null, React__default.createElement("p", null, "Total items: ", totalItems), React__default.createElement(PagerContainer, null, React__default.createElement("button", {
|
|
34442
34541
|
disabled: currentPage === 1,
|
|
34443
34542
|
onPointerDown: function onPointerDown() {
|
|
34444
34543
|
return onPageChange(Math.max(currentPage - 1, 1));
|
|
@@ -34452,7 +34551,7 @@ var Pager = function Pager(_ref) {
|
|
|
34452
34551
|
}
|
|
34453
34552
|
}, '>')));
|
|
34454
34553
|
};
|
|
34455
|
-
var Container$
|
|
34554
|
+
var Container$z = /*#__PURE__*/styled__default.div.withConfig({
|
|
34456
34555
|
displayName: "Pager__Container",
|
|
34457
34556
|
componentId: "sc-1ekmf50-0"
|
|
34458
34557
|
})(["display:flex;flex-direction:column;align-items:center;p{margin:0;font-size:", ";}"], uiFonts.size.xsmall);
|
|
@@ -34973,13 +35072,13 @@ var TabBody = function TabBody(_ref) {
|
|
|
34973
35072
|
children = _ref.children,
|
|
34974
35073
|
styles = _ref.styles,
|
|
34975
35074
|
centerContent = _ref.centerContent;
|
|
34976
|
-
return React__default.createElement(Container$
|
|
35075
|
+
return React__default.createElement(Container$A, {
|
|
34977
35076
|
styles: styles,
|
|
34978
35077
|
"data-tab-id": id,
|
|
34979
35078
|
centerContent: centerContent
|
|
34980
35079
|
}, children);
|
|
34981
35080
|
};
|
|
34982
|
-
var Container$
|
|
35081
|
+
var Container$A = /*#__PURE__*/styled__default.div.withConfig({
|
|
34983
35082
|
displayName: "TabBody__Container",
|
|
34984
35083
|
componentId: "sc-196oof2-0"
|
|
34985
35084
|
})(["width:", ";height:", ";overflow-y:auto;display:", ";justify-content:", ";align-items:", ";"], function (props) {
|
|
@@ -35631,7 +35730,7 @@ var ProgressBar$1 = function ProgressBar(_ref) {
|
|
|
35631
35730
|
}
|
|
35632
35731
|
return value * 100 / max;
|
|
35633
35732
|
};
|
|
35634
|
-
return React__default.createElement(Container$
|
|
35733
|
+
return React__default.createElement(Container$B, {
|
|
35635
35734
|
className: "rpgui-progress",
|
|
35636
35735
|
"data-value": calculatePercentageValue(max, value) / 100,
|
|
35637
35736
|
"data-rpguitype": "progress",
|
|
@@ -35661,7 +35760,7 @@ var TextOverlay$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
35661
35760
|
displayName: "ProgressBar__TextOverlay",
|
|
35662
35761
|
componentId: "sc-qa6fzh-1"
|
|
35663
35762
|
})(["width:100%;position:relative;"]);
|
|
35664
|
-
var Container$
|
|
35763
|
+
var Container$B = /*#__PURE__*/styled__default.div.withConfig({
|
|
35665
35764
|
displayName: "ProgressBar__Container",
|
|
35666
35765
|
componentId: "sc-qa6fzh-2"
|
|
35667
35766
|
})(["display:flex;flex-direction:column;min-width:", "px;width:", "%;justify-content:start;align-items:flex-start;", " @media (max-width:950px){transform:scale(", ");}"], function (props) {
|
|
@@ -35902,9 +36001,9 @@ var InputRadio = function InputRadio(_ref) {
|
|
|
35902
36001
|
|
|
35903
36002
|
var RPGUIScrollbar = function RPGUIScrollbar(_ref) {
|
|
35904
36003
|
var children = _ref.children;
|
|
35905
|
-
return React__default.createElement(Container$
|
|
36004
|
+
return React__default.createElement(Container$C, null, children);
|
|
35906
36005
|
};
|
|
35907
|
-
var Container$
|
|
36006
|
+
var Container$C = /*#__PURE__*/styled__default.div.withConfig({
|
|
35908
36007
|
displayName: "RPGUIScrollbar__Container",
|
|
35909
36008
|
componentId: "sc-p3msmb-0"
|
|
35910
36009
|
})([".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;}"]);
|
|
@@ -36060,7 +36159,7 @@ var SimpleProgressBar = function SimpleProgressBar(_ref) {
|
|
|
36060
36159
|
margin = _ref$margin === void 0 ? 20 : _ref$margin;
|
|
36061
36160
|
// Ensure the width is at least 1% if value is greater than 0
|
|
36062
36161
|
var width = value > 0 ? Math.max(1, Math.min(100, value)) : 0;
|
|
36063
|
-
return React__default.createElement(Container$
|
|
36162
|
+
return React__default.createElement(Container$D, {
|
|
36064
36163
|
className: "simple-progress-bar"
|
|
36065
36164
|
}, React__default.createElement(ProgressBarContainer, {
|
|
36066
36165
|
margin: margin
|
|
@@ -36069,7 +36168,7 @@ var SimpleProgressBar = function SimpleProgressBar(_ref) {
|
|
|
36069
36168
|
bgColor: bgColor
|
|
36070
36169
|
}))));
|
|
36071
36170
|
};
|
|
36072
|
-
var Container$
|
|
36171
|
+
var Container$D = /*#__PURE__*/styled__default.div.withConfig({
|
|
36073
36172
|
displayName: "SimpleProgressBar__Container",
|
|
36074
36173
|
componentId: "sc-mbeil3-0"
|
|
36075
36174
|
})(["display:flex;justify-content:center;align-items:center;width:100%;"]);
|
|
@@ -36402,10 +36501,10 @@ var SocialModal = function SocialModal(_ref) {
|
|
|
36402
36501
|
title: "Social Channels",
|
|
36403
36502
|
width: "500px",
|
|
36404
36503
|
onCloseButton: onClose
|
|
36405
|
-
}, React__default.createElement(Container$
|
|
36504
|
+
}, React__default.createElement(Container$E, null, React__default.createElement(HeaderImage, {
|
|
36406
36505
|
src: img$9,
|
|
36407
36506
|
alt: ""
|
|
36408
|
-
}), React__default.createElement(ButtonsContainer$
|
|
36507
|
+
}), React__default.createElement(ButtonsContainer$2, null, React__default.createElement(MainButtons, null, React__default.createElement(SocialButton$1, {
|
|
36409
36508
|
onClick: handleDiscordClick
|
|
36410
36509
|
}, React__default.createElement(fa.FaDiscord, null), " Discord"), React__default.createElement(SocialButton$1, {
|
|
36411
36510
|
onClick: handleRedditClick
|
|
@@ -36420,7 +36519,7 @@ var SocialModal = function SocialModal(_ref) {
|
|
|
36420
36519
|
onClick: handleWhatsAppClick
|
|
36421
36520
|
}, React__default.createElement(fa.FaWhatsapp, null), " Join WhatsApp")))));
|
|
36422
36521
|
};
|
|
36423
|
-
var Container$
|
|
36522
|
+
var Container$E = /*#__PURE__*/styled__default.div.withConfig({
|
|
36424
36523
|
displayName: "SocialModal__Container",
|
|
36425
36524
|
componentId: "sc-tbjhp9-0"
|
|
36426
36525
|
})(["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% );}"]);
|
|
@@ -36428,7 +36527,7 @@ var HeaderImage = /*#__PURE__*/styled__default.img.withConfig({
|
|
|
36428
36527
|
displayName: "SocialModal__HeaderImage",
|
|
36429
36528
|
componentId: "sc-tbjhp9-1"
|
|
36430
36529
|
})(["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;"]);
|
|
36431
|
-
var ButtonsContainer$
|
|
36530
|
+
var ButtonsContainer$2 = /*#__PURE__*/styled__default.div.withConfig({
|
|
36432
36531
|
displayName: "SocialModal__ButtonsContainer",
|
|
36433
36532
|
componentId: "sc-tbjhp9-2"
|
|
36434
36533
|
})(["padding:16px 24px 24px;display:flex;flex-direction:column;gap:16px;"]);
|
|
@@ -36466,7 +36565,7 @@ var SpellInfo$1 = function SpellInfo(_ref) {
|
|
|
36466
36565
|
castingType = spell.castingType,
|
|
36467
36566
|
cooldown = spell.cooldown,
|
|
36468
36567
|
maxDistanceGrid = spell.maxDistanceGrid;
|
|
36469
|
-
return React__default.createElement(Container$
|
|
36568
|
+
return React__default.createElement(Container$F, null, React__default.createElement(Header$5, null, React__default.createElement("div", null, React__default.createElement(Title$b, null, name), React__default.createElement(Type$1, null, magicWords))), React__default.createElement(Statistic$1, null, React__default.createElement("div", {
|
|
36470
36569
|
className: "label"
|
|
36471
36570
|
}, "Casting Type:"), React__default.createElement("div", {
|
|
36472
36571
|
className: "value"
|
|
@@ -36492,7 +36591,7 @@ var SpellInfo$1 = function SpellInfo(_ref) {
|
|
|
36492
36591
|
className: "value"
|
|
36493
36592
|
}, requiredItem))), React__default.createElement(Description$4, null, description));
|
|
36494
36593
|
};
|
|
36495
|
-
var Container$
|
|
36594
|
+
var Container$F = /*#__PURE__*/styled__default.div.withConfig({
|
|
36496
36595
|
displayName: "SpellInfo__Container",
|
|
36497
36596
|
componentId: "sc-4hbw3q-0"
|
|
36498
36597
|
})(["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);
|
|
@@ -36546,7 +36645,7 @@ var MobileSpellTooltip = function MobileSpellTooltip(_ref) {
|
|
|
36546
36645
|
var _ref$current;
|
|
36547
36646
|
(_ref$current = ref.current) == null ? void 0 : _ref$current.classList.add('fadeOut');
|
|
36548
36647
|
};
|
|
36549
|
-
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$
|
|
36648
|
+
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$G, {
|
|
36550
36649
|
ref: ref,
|
|
36551
36650
|
onTouchEnd: function onTouchEnd() {
|
|
36552
36651
|
handleFadeOut();
|
|
@@ -36571,7 +36670,7 @@ var MobileSpellTooltip = function MobileSpellTooltip(_ref) {
|
|
|
36571
36670
|
}, option.text);
|
|
36572
36671
|
}))));
|
|
36573
36672
|
};
|
|
36574
|
-
var Container$
|
|
36673
|
+
var Container$G = /*#__PURE__*/styled__default.div.withConfig({
|
|
36575
36674
|
displayName: "MobileSpellTooltip__Container",
|
|
36576
36675
|
componentId: "sc-6p7uvr-0"
|
|
36577
36676
|
})(["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;}"]);
|
|
@@ -36612,13 +36711,13 @@ var MagicTooltip = function MagicTooltip(_ref) {
|
|
|
36612
36711
|
}
|
|
36613
36712
|
return;
|
|
36614
36713
|
}, []);
|
|
36615
|
-
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$
|
|
36714
|
+
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$H, {
|
|
36616
36715
|
ref: ref
|
|
36617
36716
|
}, React__default.createElement(SpellInfoDisplay, {
|
|
36618
36717
|
spell: spell
|
|
36619
36718
|
})));
|
|
36620
36719
|
};
|
|
36621
|
-
var Container$
|
|
36720
|
+
var Container$H = /*#__PURE__*/styled__default.div.withConfig({
|
|
36622
36721
|
displayName: "SpellTooltip__Container",
|
|
36623
36722
|
componentId: "sc-1go0gwg-0"
|
|
36624
36723
|
})(["position:absolute;z-index:100;pointer-events:none;left:0;top:0;opacity:0;transition:opacity 0.08s;"]);
|
|
@@ -36691,7 +36790,7 @@ var Spell = function Spell(_ref) {
|
|
|
36691
36790
|
var IMAGE_SCALE = 2;
|
|
36692
36791
|
return React__default.createElement(SpellInfoWrapper, {
|
|
36693
36792
|
spell: spell
|
|
36694
|
-
}, React__default.createElement(Container$
|
|
36793
|
+
}, React__default.createElement(Container$I, {
|
|
36695
36794
|
onPointerUp: onPointerUp == null ? void 0 : onPointerUp.bind(null, spellKey),
|
|
36696
36795
|
isSettingShortcut: isSettingShortcut && !disabled,
|
|
36697
36796
|
className: "spell"
|
|
@@ -36710,7 +36809,7 @@ var Spell = function Spell(_ref) {
|
|
|
36710
36809
|
className: "mana"
|
|
36711
36810
|
}, manaCost))));
|
|
36712
36811
|
};
|
|
36713
|
-
var Container$
|
|
36812
|
+
var Container$I = /*#__PURE__*/styled__default.button.withConfig({
|
|
36714
36813
|
displayName: "Spell__Container",
|
|
36715
36814
|
componentId: "sc-j96fa2-0"
|
|
36716
36815
|
})(["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) {
|
|
@@ -36789,7 +36888,7 @@ var Spellbook = function Spellbook(_ref) {
|
|
|
36789
36888
|
height: "inherit",
|
|
36790
36889
|
cancelDrag: "#spellbook-search, #shortcuts_list, .spell",
|
|
36791
36890
|
scale: scale
|
|
36792
|
-
}, React__default.createElement(Container$
|
|
36891
|
+
}, React__default.createElement(Container$J, null, React__default.createElement(Title$d, null, "Learned Spells"), React__default.createElement(ShortcutsSetter, {
|
|
36793
36892
|
setSettingShortcutIndex: setSettingShortcutIndex,
|
|
36794
36893
|
settingShortcutIndex: settingShortcutIndex,
|
|
36795
36894
|
shortcuts: shortcuts,
|
|
@@ -36825,7 +36924,7 @@ var Title$d = /*#__PURE__*/styled__default.h1.withConfig({
|
|
|
36825
36924
|
displayName: "Spellbook__Title",
|
|
36826
36925
|
componentId: "sc-r02nfq-0"
|
|
36827
36926
|
})(["font-size:", " !important;margin-bottom:0 !important;"], uiFonts.size.large);
|
|
36828
|
-
var Container$
|
|
36927
|
+
var Container$J = /*#__PURE__*/styled__default.div.withConfig({
|
|
36829
36928
|
displayName: "Spellbook__Container",
|
|
36830
36929
|
componentId: "sc-r02nfq-1"
|
|
36831
36930
|
})(["width:100%;height:100%;color:white;display:flex;flex-direction:column;"]);
|
|
@@ -37307,7 +37406,7 @@ var TradingMenu = function TradingMenu(_ref) {
|
|
|
37307
37406
|
width: "500px",
|
|
37308
37407
|
cancelDrag: "#TraderContainer",
|
|
37309
37408
|
scale: scale
|
|
37310
|
-
}, React__default.createElement(Container$
|
|
37409
|
+
}, React__default.createElement(Container$K, null, React__default.createElement(Title$e, null, type.charAt(0).toUpperCase() + type.slice(1), " Menu"), React__default.createElement("hr", {
|
|
37311
37410
|
className: "golden"
|
|
37312
37411
|
}), React__default.createElement(ScrollWrapper, {
|
|
37313
37412
|
id: "TraderContainer"
|
|
@@ -37335,7 +37434,7 @@ var TradingMenu = function TradingMenu(_ref) {
|
|
|
37335
37434
|
onPointerDown: onClose
|
|
37336
37435
|
}, "Cancel"))));
|
|
37337
37436
|
};
|
|
37338
|
-
var Container$
|
|
37437
|
+
var Container$K = /*#__PURE__*/styled__default.div.withConfig({
|
|
37339
37438
|
displayName: "TradingMenu__Container",
|
|
37340
37439
|
componentId: "sc-1wjsz1l-0"
|
|
37341
37440
|
})(["width:100%;"]);
|
|
@@ -37369,11 +37468,11 @@ var Truncate = function Truncate(_ref) {
|
|
|
37369
37468
|
var _ref$maxLines = _ref.maxLines,
|
|
37370
37469
|
maxLines = _ref$maxLines === void 0 ? 1 : _ref$maxLines,
|
|
37371
37470
|
children = _ref.children;
|
|
37372
|
-
return React__default.createElement(Container$
|
|
37471
|
+
return React__default.createElement(Container$L, {
|
|
37373
37472
|
maxLines: maxLines
|
|
37374
37473
|
}, children);
|
|
37375
37474
|
};
|
|
37376
|
-
var Container$
|
|
37475
|
+
var Container$L = /*#__PURE__*/styled__default.div.withConfig({
|
|
37377
37476
|
displayName: "Truncate__Container",
|
|
37378
37477
|
componentId: "sc-6x00qb-0"
|
|
37379
37478
|
})(["display:-webkit-box;max-width:100%;max-height:100%;-webkit-line-clamp:", ";-webkit-box-orient:vertical;overflow:hidden;"], function (props) {
|
|
@@ -37481,7 +37580,7 @@ var TutorialStepper = /*#__PURE__*/React__default.memo(function (_ref) {
|
|
|
37481
37580
|
};
|
|
37482
37581
|
});
|
|
37483
37582
|
}, [lessons, imageStyle]);
|
|
37484
|
-
return React__default.createElement(Container$
|
|
37583
|
+
return React__default.createElement(Container$M, null, React__default.createElement(Stepper, {
|
|
37485
37584
|
steps: generateLessons,
|
|
37486
37585
|
finalCTAButton: {
|
|
37487
37586
|
label: 'Close',
|
|
@@ -37498,7 +37597,7 @@ var LessonBody = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
37498
37597
|
displayName: "TutorialStepper__LessonBody",
|
|
37499
37598
|
componentId: "sc-7tgzv2-1"
|
|
37500
37599
|
})([""]);
|
|
37501
|
-
var Container$
|
|
37600
|
+
var Container$M = /*#__PURE__*/styled__default.div.withConfig({
|
|
37502
37601
|
displayName: "TutorialStepper__Container",
|
|
37503
37602
|
componentId: "sc-7tgzv2-2"
|
|
37504
37603
|
})(["width:80%;max-width:600px;@media (max-width:600px){width:95%;}"]);
|
|
@@ -37523,6 +37622,7 @@ exports.ActionButtons = ActionButtons;
|
|
|
37523
37622
|
exports.AsyncDropdown = AsyncDropdown;
|
|
37524
37623
|
exports.Button = Button;
|
|
37525
37624
|
exports.CharacterSelection = CharacterSelection;
|
|
37625
|
+
exports.CharacterSkinSelectionModal = CharacterSkinSelectionModal;
|
|
37526
37626
|
exports.Chat = Chat;
|
|
37527
37627
|
exports.ChatDeprecated = ChatDeprecated;
|
|
37528
37628
|
exports.ChatRevamp = ChatRevamp;
|