wafields 0.47.2 → 0.48.0
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/attributes/AttributeDisplay.stories.d.ts +7 -0
- package/dist/attributes/AttributeSelectionUpdater.stories.d.ts +8 -0
- package/dist/attributes/AttributeSelectionUpdater.test.d.ts +0 -0
- package/dist/attributes/AttributeUnspecified.stories.d.ts +6 -0
- package/dist/attributes/AttributeUpdater.stories.d.ts +8 -0
- package/dist/attributes/AttributeUpdater.test.d.ts +0 -0
- package/dist/attributes/collection/pets/breed/AttributeCollectionPetBreedDisplay.stories.d.ts +7 -0
- package/dist/attributes/collection/pets/breed/AttributeCollectionPetBreedEditing.stories.d.ts +8 -0
- package/dist/attributes/collection/pets/breed/AttributeCollectionPetBreedNonEdit.stories.d.ts +7 -0
- package/dist/attributes/collection/pets/height/AttributeCollectionPetHeightDisplay.stories.d.ts +7 -0
- package/dist/attributes/collection/pets/height/AttributeCollectionPetHeightNonEdit.stories.d.ts +7 -0
- package/dist/attributes/collection/pets/weight/AttributeCollectionPetWeightDisplay.stories.d.ts +7 -0
- package/dist/attributes/collection/pets/weight/AttributeCollectionPetWeightNonEdit.stories.d.ts +7 -0
- package/dist/attributes/common/dob/AttributeCommonDobDisplay.stories.d.ts +7 -0
- package/dist/attributes/common/dob/AttributeCommonDobEditing.stories.d.ts +7 -0
- package/dist/attributes/common/dob/AttributeCommonDobNonEdit.stories.d.ts +7 -0
- package/dist/attributes/common/gender/AttributeCommonGenderDisplay.stories.d.ts +8 -0
- package/dist/attributes/common/gender/AttributeCommonGenderEditing.stories.d.ts +8 -0
- package/dist/attributes/common/gender/AttributeCommonGenderNonEdit.stories.d.ts +7 -0
- package/dist/attributes/common/handedness/AttributeCommonHandednessDisplay.stories.d.ts +8 -0
- package/dist/attributes/common/handedness/AttributeCommonHandednessEditing.stories.d.ts +8 -0
- package/dist/attributes/common/handedness/AttributeCommonHandednessNonEdit.stories.d.ts +7 -0
- package/dist/attributes/profile/uoi/sports/basketball/positions/AttributeUoiSportsBasketballPositionsDisplay.stories.d.ts +8 -0
- package/dist/attributes/profile/uoi/sports/basketball/positions/AttributeUoiSportsBasketballPositionsEditing.stories.d.ts +7 -0
- package/dist/attributes/profile/uoi/sports/basketball/positions/AttributeUoiSportsBasketballPositionsEditing.test.d.ts +0 -0
- package/dist/attributes/profile/uoi/sports/basketball/positions/AttributeUoiSportsBasketballPositionsNonEdit.stories.d.ts +7 -0
- package/dist/attributes/profile/uoi/sports/basketball/positions/AttributeUoiSportsBasketballPositionsNonEdit.test.d.ts +0 -0
- package/dist/attributes/profile/uoi/sports/basketball/positions/BasketballPositionIcon.stories.d.ts +7 -0
- package/dist/attributes/profile/uoi/sports/basketball/positions/BasketballPositionIcon.test.d.ts +0 -0
- package/dist/attributes/profile/uoi/sports/tennis/backhand/AttributeUoiSportsTennisBackhandDisplay.stories.d.ts +8 -0
- package/dist/attributes/profile/uoi/sports/tennis/backhand/AttributeUoiSportsTennisBackhandEditing.stories.d.ts +7 -0
- package/dist/attributes/profile/uoi/sports/tennis/backhand/AttributeUoiSportsTennisBackhandNonEdit.stories.d.ts +7 -0
- package/dist/attributes/profile/uoi/sports/tennis/level/AttributeUoiSportsTennisLevelDisplay.stories.d.ts +8 -0
- package/dist/attributes/profile/uoi/sports/tennis/level/AttributeUoiSportsTennisLevelEditing.stories.d.ts +7 -0
- package/dist/attributes/profile/uoi/sports/tennis/level/AttributeUoiSportsTennisLevelNonEdit.stories.d.ts +7 -0
- package/dist/common/EditedLabel.d.ts +5 -0
- package/dist/common/PasswordRequirement.stories.d.ts +7 -0
- package/dist/common/PlayerTag.stories.d.ts +9 -0
- package/dist/common/PlayerTag.test.d.ts +0 -0
- package/dist/common/index.d.ts +1 -0
- package/dist/common/logo/BuddiesNearbyLogo.stories.d.ts +6 -0
- package/dist/interests/interestIcon/InterestIcon.stories.d.ts +7 -0
- package/dist/interests/interestIconTooltip/InterestIconTooltip.stories.d.ts +7 -0
- package/dist/main/NotificationContent.stories.d.ts +6 -0
- package/dist/main/PageList.stories.d.ts +7 -0
- package/dist/main/PageList.test.d.ts +0 -0
- package/dist/main/collection/CollectionTypePicker.stories.d.ts +7 -0
- package/dist/main/content/contentViolation/ContentViolationForm.stories.d.ts +6 -0
- package/dist/main/content/contentViolation/ContentViolationForm.test.d.ts +0 -0
- package/dist/main/post/privacy/PostPrivacyDisplay.stories.d.ts +8 -0
- package/dist/main/post/privacy/PostPrivacyPicker.stories.d.ts +7 -0
- package/dist/main/profile/game/GameCreationFields.stories.d.ts +8 -0
- package/dist/main/profile/game/GameCreationFields.test.d.ts +0 -0
- package/dist/main/profile/game/GameScore.stories.d.ts +7 -0
- package/dist/main/profile/game/GameTypePicker.stories.d.ts +7 -0
- package/dist/main/profile/game/StaticGameScore.stories.d.ts +7 -0
- package/dist/main/profile/leaderboard/LeaderboardOrder.stories.d.ts +8 -0
- package/dist/main/profile/leaderboard/LeaderboardTypePicker.stories.d.ts +7 -0
- package/dist/main/profile/market/MarketTypePicker.stories.d.ts +7 -0
- package/dist/main/profile/player/PlayerTypePicker.stories.d.ts +7 -0
- package/dist/main/profile/privacy/ProfilePrivacyDisplay.stories.d.ts +8 -0
- package/dist/main/profile/privacy/ProfilePrivacyPicker.stories.d.ts +7 -0
- package/dist/main/profile/user/pronoun/UserPronounDisplay.stories.d.ts +8 -0
- package/dist/main/profile/user/pronoun/UserPronounDisplay.test.d.ts +0 -0
- package/dist/main/profile/user/pronoun/UserPronounPicker.stories.d.ts +7 -0
- package/dist/wafields.cjs.js +4 -4
- package/dist/wafields.es.js +624 -611
- package/package.json +1 -1
package/dist/wafields.es.js
CHANGED
|
@@ -35564,43 +35564,37 @@ FT.propTypes = {
|
|
|
35564
35564
|
yearsOrder: $.default.oneOf(["asc", "desc"]),
|
|
35565
35565
|
yearsPerRow: $.default.oneOf([3, 4])
|
|
35566
35566
|
};
|
|
35567
|
-
|
|
35568
|
-
|
|
35569
|
-
className: "text-gray-600 text-sm",
|
|
35570
|
-
children: Xr.formatDateTime(e)
|
|
35571
|
-
});
|
|
35572
|
-
}
|
|
35573
|
-
var LT = n.createContext(null);
|
|
35574
|
-
function RT(e, t) {
|
|
35567
|
+
var IT = n.createContext(null);
|
|
35568
|
+
function LT(e, t) {
|
|
35575
35569
|
let n = Array.isArray(e) ? e[0] : e ? e.x : 0, r = Array.isArray(e) ? e[1] : e ? e.y : 0, i = Array.isArray(t) ? t[0] : t ? t.x : 0, a = Array.isArray(t) ? t[1] : t ? t.y : 0;
|
|
35576
35570
|
return n === i && r === a;
|
|
35577
35571
|
}
|
|
35578
|
-
function
|
|
35572
|
+
function RT(e, t) {
|
|
35579
35573
|
if (e === t) return !0;
|
|
35580
35574
|
if (!e || !t) return !1;
|
|
35581
35575
|
if (Array.isArray(e)) {
|
|
35582
35576
|
if (!Array.isArray(t) || e.length !== t.length) return !1;
|
|
35583
|
-
for (let n = 0; n < e.length; n++) if (!
|
|
35577
|
+
for (let n = 0; n < e.length; n++) if (!RT(e[n], t[n])) return !1;
|
|
35584
35578
|
return !0;
|
|
35585
35579
|
} else if (Array.isArray(t)) return !1;
|
|
35586
35580
|
if (typeof e == "object" && typeof t == "object") {
|
|
35587
35581
|
let n = Object.keys(e), r = Object.keys(t);
|
|
35588
35582
|
if (n.length !== r.length) return !1;
|
|
35589
|
-
for (let r of n) if (!t.hasOwnProperty(r) || !
|
|
35583
|
+
for (let r of n) if (!t.hasOwnProperty(r) || !RT(e[r], t[r])) return !1;
|
|
35590
35584
|
return !0;
|
|
35591
35585
|
}
|
|
35592
35586
|
return !1;
|
|
35593
35587
|
}
|
|
35594
|
-
function
|
|
35588
|
+
function zT(e) {
|
|
35595
35589
|
let t = e.clone();
|
|
35596
35590
|
return t.pixelsToGLUnits = e.pixelsToGLUnits, t;
|
|
35597
35591
|
}
|
|
35598
|
-
function
|
|
35592
|
+
function BT(e, t) {
|
|
35599
35593
|
if (!e.getProjection) return;
|
|
35600
35594
|
let n = e.getProjection();
|
|
35601
|
-
|
|
35595
|
+
RT(n, t.getProjection()) || t.setProjection(n);
|
|
35602
35596
|
}
|
|
35603
|
-
function
|
|
35597
|
+
function VT(e) {
|
|
35604
35598
|
return {
|
|
35605
35599
|
longitude: e.center.lng,
|
|
35606
35600
|
latitude: e.center.lat,
|
|
@@ -35610,7 +35604,7 @@ function HT(e) {
|
|
|
35610
35604
|
padding: e.padding
|
|
35611
35605
|
};
|
|
35612
35606
|
}
|
|
35613
|
-
function
|
|
35607
|
+
function HT(e, t) {
|
|
35614
35608
|
let n = t.viewState || t, r = !1;
|
|
35615
35609
|
if ("zoom" in n) {
|
|
35616
35610
|
let t = e.zoom;
|
|
@@ -35630,7 +35624,7 @@ function UT(e, t) {
|
|
|
35630
35624
|
}
|
|
35631
35625
|
return r;
|
|
35632
35626
|
}
|
|
35633
|
-
var
|
|
35627
|
+
var UT = [
|
|
35634
35628
|
"type",
|
|
35635
35629
|
"source",
|
|
35636
35630
|
"source-layer",
|
|
@@ -35639,7 +35633,7 @@ var WT = [
|
|
|
35639
35633
|
"filter",
|
|
35640
35634
|
"layout"
|
|
35641
35635
|
];
|
|
35642
|
-
function
|
|
35636
|
+
function WT(e) {
|
|
35643
35637
|
if (!e) return null;
|
|
35644
35638
|
if (typeof e == "string" || ("toJS" in e && (e = e.toJS()), !e.layers)) return e;
|
|
35645
35639
|
let t = {};
|
|
@@ -35650,7 +35644,7 @@ function GT(e) {
|
|
|
35650
35644
|
let r = t[e.ref];
|
|
35651
35645
|
if (r) {
|
|
35652
35646
|
n ||= Object.assign({}, e), delete n.ref;
|
|
35653
|
-
for (let e of
|
|
35647
|
+
for (let e of UT) e in r && (n[e] = r[e]);
|
|
35654
35648
|
}
|
|
35655
35649
|
return n || e;
|
|
35656
35650
|
});
|
|
@@ -35659,11 +35653,11 @@ function GT(e) {
|
|
|
35659
35653
|
layers: n
|
|
35660
35654
|
};
|
|
35661
35655
|
}
|
|
35662
|
-
var
|
|
35656
|
+
var GT = {
|
|
35663
35657
|
version: 8,
|
|
35664
35658
|
sources: {},
|
|
35665
35659
|
layers: []
|
|
35666
|
-
},
|
|
35660
|
+
}, KT = {
|
|
35667
35661
|
mousedown: "onMouseDown",
|
|
35668
35662
|
mouseup: "onMouseUp",
|
|
35669
35663
|
mouseover: "onMouseOver",
|
|
@@ -35678,7 +35672,7 @@ var KT = {
|
|
|
35678
35672
|
touchend: "onTouchEnd",
|
|
35679
35673
|
touchmove: "onTouchMove",
|
|
35680
35674
|
touchcancel: "onTouchCancel"
|
|
35681
|
-
},
|
|
35675
|
+
}, qT = {
|
|
35682
35676
|
movestart: "onMoveStart",
|
|
35683
35677
|
move: "onMove",
|
|
35684
35678
|
moveend: "onMoveEnd",
|
|
@@ -35694,7 +35688,7 @@ var KT = {
|
|
|
35694
35688
|
pitchstart: "onPitchStart",
|
|
35695
35689
|
pitch: "onPitch",
|
|
35696
35690
|
pitchend: "onPitchEnd"
|
|
35697
|
-
},
|
|
35691
|
+
}, JT = {
|
|
35698
35692
|
wheel: "onWheel",
|
|
35699
35693
|
boxzoomstart: "onBoxZoomStart",
|
|
35700
35694
|
boxzoomend: "onBoxZoomEnd",
|
|
@@ -35708,7 +35702,7 @@ var KT = {
|
|
|
35708
35702
|
styledata: "onStyleData",
|
|
35709
35703
|
sourcedata: "onSourceData",
|
|
35710
35704
|
error: "onError"
|
|
35711
|
-
},
|
|
35705
|
+
}, YT = [
|
|
35712
35706
|
"minZoom",
|
|
35713
35707
|
"maxZoom",
|
|
35714
35708
|
"minPitch",
|
|
@@ -35716,7 +35710,7 @@ var KT = {
|
|
|
35716
35710
|
"maxBounds",
|
|
35717
35711
|
"projection",
|
|
35718
35712
|
"renderWorldCopies"
|
|
35719
|
-
],
|
|
35713
|
+
], XT = [
|
|
35720
35714
|
"scrollZoom",
|
|
35721
35715
|
"boxZoom",
|
|
35722
35716
|
"dragRotate",
|
|
@@ -35725,7 +35719,7 @@ var KT = {
|
|
|
35725
35719
|
"doubleClickZoom",
|
|
35726
35720
|
"touchZoomRotate",
|
|
35727
35721
|
"touchPitch"
|
|
35728
|
-
],
|
|
35722
|
+
], ZT = class e {
|
|
35729
35723
|
constructor(e, t, n) {
|
|
35730
35724
|
this._map = null, this._internalUpdate = !1, this._inRender = !1, this._hoveredFeatures = null, this._deferredEvents = {
|
|
35731
35725
|
move: !1,
|
|
@@ -35733,15 +35727,15 @@ var KT = {
|
|
|
35733
35727
|
pitch: !1,
|
|
35734
35728
|
rotate: !1
|
|
35735
35729
|
}, this._onEvent = (e) => {
|
|
35736
|
-
let t = this.props[
|
|
35730
|
+
let t = this.props[JT[e.type]];
|
|
35737
35731
|
t ? t(e) : e.type === "error" && console.error(e.error);
|
|
35738
35732
|
}, this._onPointerEvent = (e) => {
|
|
35739
35733
|
(e.type === "mousemove" || e.type === "mouseout") && this._updateHover(e);
|
|
35740
|
-
let t = this.props[
|
|
35734
|
+
let t = this.props[KT[e.type]];
|
|
35741
35735
|
t && (this.props.interactiveLayerIds && e.type !== "mouseover" && e.type !== "mouseout" && (e.features = this._hoveredFeatures || this._queryRenderedFeatures(e.point)), t(e), delete e.features);
|
|
35742
35736
|
}, this._onCameraEvent = (e) => {
|
|
35743
35737
|
if (!this._internalUpdate) {
|
|
35744
|
-
let t = this.props[
|
|
35738
|
+
let t = this.props[qT[e.type]];
|
|
35745
35739
|
t && t(e);
|
|
35746
35740
|
}
|
|
35747
35741
|
e.type in this._deferredEvents && (this._deferredEvents[e.type] = !1);
|
|
@@ -35779,12 +35773,12 @@ var KT = {
|
|
|
35779
35773
|
}) : r._updateViewState(s, !1)), i.isStyleLoaded() ? i.fire("load") : i.once("styledata", () => i.fire("load")), i._update(), r;
|
|
35780
35774
|
}
|
|
35781
35775
|
_initialize(e) {
|
|
35782
|
-
let { props: t } = this, { mapStyle: n =
|
|
35776
|
+
let { props: t } = this, { mapStyle: n = GT } = t, r = {
|
|
35783
35777
|
...t,
|
|
35784
35778
|
...t.initialViewState,
|
|
35785
|
-
accessToken: t.mapboxAccessToken ||
|
|
35779
|
+
accessToken: t.mapboxAccessToken || QT() || null,
|
|
35786
35780
|
container: e,
|
|
35787
|
-
style:
|
|
35781
|
+
style: WT(n)
|
|
35788
35782
|
}, i = r.initialViewState || r.viewState || r;
|
|
35789
35783
|
if (Object.assign(r, {
|
|
35790
35784
|
center: [i.longitude || 0, i.latitude || 0],
|
|
@@ -35809,11 +35803,11 @@ var KT = {
|
|
|
35809
35803
|
a.fire = this._fireEvent.bind(this, c), a.on("resize", () => {
|
|
35810
35804
|
this._renderTransform.resize(a.transform.width, a.transform.height);
|
|
35811
35805
|
}), a.on("styledata", () => {
|
|
35812
|
-
this._updateStyleComponents(this.props, {}),
|
|
35806
|
+
this._updateStyleComponents(this.props, {}), BT(a.transform, this._renderTransform);
|
|
35813
35807
|
}), a.on("sourcedata", () => this._updateStyleComponents(this.props, {}));
|
|
35814
|
-
for (let e in
|
|
35815
|
-
for (let e in
|
|
35816
|
-
for (let e in
|
|
35808
|
+
for (let e in KT) a.on(e, this._onPointerEvent);
|
|
35809
|
+
for (let e in qT) a.on(e, this._onCameraEvent);
|
|
35810
|
+
for (let e in JT) a.on(e, this._onEvent);
|
|
35817
35811
|
this._map = a;
|
|
35818
35812
|
}
|
|
35819
35813
|
recycle() {
|
|
@@ -35827,7 +35821,7 @@ var KT = {
|
|
|
35827
35821
|
!this._inRender && e.style && (e._frame &&= (e._frame.cancel(), null), e._render());
|
|
35828
35822
|
}
|
|
35829
35823
|
_createShadowTransform(e) {
|
|
35830
|
-
let t =
|
|
35824
|
+
let t = zT(e.transform);
|
|
35831
35825
|
e.painter.transform = t, this._renderTransform = t;
|
|
35832
35826
|
}
|
|
35833
35827
|
_updateSize(e) {
|
|
@@ -35842,37 +35836,37 @@ var KT = {
|
|
|
35842
35836
|
if (this._internalUpdate) return !1;
|
|
35843
35837
|
let n = this._map, r = this._renderTransform, { zoom: i, pitch: a, bearing: o } = r, s = n.isMoving();
|
|
35844
35838
|
s && (r.cameraElevationReference = "sea");
|
|
35845
|
-
let c =
|
|
35846
|
-
...
|
|
35839
|
+
let c = HT(r, {
|
|
35840
|
+
...VT(n.transform),
|
|
35847
35841
|
...e
|
|
35848
35842
|
});
|
|
35849
35843
|
if (s && (r.cameraElevationReference = "ground"), c && t) {
|
|
35850
35844
|
let e = this._deferredEvents;
|
|
35851
35845
|
e.move = !0, e.zoom ||= i !== r.zoom, e.rotate ||= o !== r.bearing, e.pitch ||= a !== r.pitch;
|
|
35852
35846
|
}
|
|
35853
|
-
return s ||
|
|
35847
|
+
return s || HT(n.transform, e), c;
|
|
35854
35848
|
}
|
|
35855
35849
|
_updateSettings(e, t) {
|
|
35856
35850
|
let n = this._map, r = !1;
|
|
35857
|
-
for (let i of
|
|
35851
|
+
for (let i of YT) i in e && !RT(e[i], t[i]) && (r = !0, n[`set${i[0].toUpperCase()}${i.slice(1)}`]?.call(n, e[i]));
|
|
35858
35852
|
return r;
|
|
35859
35853
|
}
|
|
35860
35854
|
_updateStyle(e, t) {
|
|
35861
35855
|
if (e.cursor !== t.cursor && (this._map.getCanvas().style.cursor = e.cursor || ""), e.mapStyle !== t.mapStyle) {
|
|
35862
|
-
let { mapStyle: t =
|
|
35863
|
-
return "localIdeographFontFamily" in e && (r.localIdeographFontFamily = e.localIdeographFontFamily), this._map.setStyle(
|
|
35856
|
+
let { mapStyle: t = GT, styleDiffing: n = !0 } = e, r = { diff: n };
|
|
35857
|
+
return "localIdeographFontFamily" in e && (r.localIdeographFontFamily = e.localIdeographFontFamily), this._map.setStyle(WT(t), r), !0;
|
|
35864
35858
|
}
|
|
35865
35859
|
return !1;
|
|
35866
35860
|
}
|
|
35867
35861
|
_updateStyleComponents(e, t) {
|
|
35868
35862
|
let n = this._map, r = !1;
|
|
35869
|
-
return n.isStyleLoaded() && ("light" in e && n.setLight && !
|
|
35863
|
+
return n.isStyleLoaded() && ("light" in e && n.setLight && !RT(e.light, t.light) && (r = !0, n.setLight(e.light)), "fog" in e && n.setFog && !RT(e.fog, t.fog) && (r = !0, n.setFog(e.fog)), "terrain" in e && n.setTerrain && !RT(e.terrain, t.terrain) && (!e.terrain || n.getSource(e.terrain.source)) && (r = !0, n.setTerrain(e.terrain))), r;
|
|
35870
35864
|
}
|
|
35871
35865
|
_updateHandlers(e, t) {
|
|
35872
35866
|
let n = this._map, r = !1;
|
|
35873
|
-
for (let i of
|
|
35867
|
+
for (let i of XT) {
|
|
35874
35868
|
let a = e[i] ?? !0;
|
|
35875
|
-
|
|
35869
|
+
RT(a, t[i] ?? !0) || (r = !0, a ? n[i].enable(a) : n[i].disable());
|
|
35876
35870
|
}
|
|
35877
35871
|
return r;
|
|
35878
35872
|
}
|
|
@@ -35895,7 +35889,7 @@ var KT = {
|
|
|
35895
35889
|
}
|
|
35896
35890
|
_fireEvent(e, t, n) {
|
|
35897
35891
|
let r = this._map, i = r.transform, a = typeof t == "string" ? t : t.type;
|
|
35898
|
-
return a === "move" && this._updateViewState(this.props, !1), a in
|
|
35892
|
+
return a === "move" && this._updateViewState(this.props, !1), a in qT && (typeof t == "object" && (t.viewState = VT(i)), this._map.isMoving()) ? (r.transform = this._renderTransform, e.call(r, t, n), r.transform = i, r) : (e.call(r, t, n), r);
|
|
35899
35893
|
}
|
|
35900
35894
|
_onBeforeRepaint() {
|
|
35901
35895
|
let e = this._map;
|
|
@@ -35904,12 +35898,12 @@ var KT = {
|
|
|
35904
35898
|
this._internalUpdate = !1;
|
|
35905
35899
|
let t = this._map.transform;
|
|
35906
35900
|
e.transform = this._renderTransform, this._onAfterRepaint = () => {
|
|
35907
|
-
|
|
35901
|
+
BT(this._renderTransform, t), e.transform = t;
|
|
35908
35902
|
};
|
|
35909
35903
|
}
|
|
35910
35904
|
};
|
|
35911
|
-
|
|
35912
|
-
function
|
|
35905
|
+
ZT.savedMaps = [];
|
|
35906
|
+
function QT() {
|
|
35913
35907
|
let e = null;
|
|
35914
35908
|
if (typeof location < "u") {
|
|
35915
35909
|
let t = /access_token=([^&\/]*)/.exec(location.search);
|
|
@@ -35923,7 +35917,7 @@ function $T() {
|
|
|
35923
35917
|
} catch {}
|
|
35924
35918
|
return e;
|
|
35925
35919
|
}
|
|
35926
|
-
var
|
|
35920
|
+
var $T = [
|
|
35927
35921
|
"setMaxBounds",
|
|
35928
35922
|
"setMinZoom",
|
|
35929
35923
|
"setMaxZoom",
|
|
@@ -35945,7 +35939,7 @@ var eE = [
|
|
|
35945
35939
|
"setFog",
|
|
35946
35940
|
"remove"
|
|
35947
35941
|
];
|
|
35948
|
-
function
|
|
35942
|
+
function eE(e) {
|
|
35949
35943
|
if (!e) return null;
|
|
35950
35944
|
let t = e.map, n = {
|
|
35951
35945
|
getMap: () => t,
|
|
@@ -35980,10 +35974,10 @@ function tE(e) {
|
|
|
35980
35974
|
return t.transform = i, a;
|
|
35981
35975
|
}
|
|
35982
35976
|
};
|
|
35983
|
-
for (let e of
|
|
35977
|
+
for (let e of tE(t)) !(e in n) && !$T.includes(e) && (n[e] = t[e].bind(t));
|
|
35984
35978
|
return n;
|
|
35985
35979
|
}
|
|
35986
|
-
function
|
|
35980
|
+
function tE(e) {
|
|
35987
35981
|
let t = /* @__PURE__ */ new Set(), n = e;
|
|
35988
35982
|
for (; n;) {
|
|
35989
35983
|
for (let r of Object.getOwnPropertyNames(n)) r[0] !== "_" && typeof e[r] == "function" && r !== "fire" && r !== "setEventedParent" && t.add(r);
|
|
@@ -35991,23 +35985,23 @@ function nE(e) {
|
|
|
35991
35985
|
}
|
|
35992
35986
|
return Array.from(t);
|
|
35993
35987
|
}
|
|
35994
|
-
var
|
|
35988
|
+
var nE = typeof document < "u" ? g : m, rE = [
|
|
35995
35989
|
"baseApiUrl",
|
|
35996
35990
|
"maxParallelImageRequests",
|
|
35997
35991
|
"workerClass",
|
|
35998
35992
|
"workerCount",
|
|
35999
35993
|
"workerUrl"
|
|
36000
35994
|
];
|
|
36001
|
-
function
|
|
36002
|
-
for (let n of
|
|
35995
|
+
function iE(e, t) {
|
|
35996
|
+
for (let n of rE) n in t && (e[n] = t[n]);
|
|
36003
35997
|
let { RTLTextPlugin: n = "https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.2.3/mapbox-gl-rtl-text.js" } = t;
|
|
36004
35998
|
n && e.getRTLTextPluginStatus && e.getRTLTextPluginStatus() === "unavailable" && e.setRTLTextPlugin(n, (e) => {
|
|
36005
35999
|
e && console.error(e);
|
|
36006
36000
|
}, !0);
|
|
36007
36001
|
}
|
|
36008
|
-
var
|
|
36009
|
-
function
|
|
36010
|
-
let i = p(
|
|
36002
|
+
var aE = n.createContext(null);
|
|
36003
|
+
function oE(e, t, r) {
|
|
36004
|
+
let i = p(IT), [a, o] = y(null), s = v(), { current: c } = v({
|
|
36011
36005
|
mapLib: null,
|
|
36012
36006
|
map: null
|
|
36013
36007
|
});
|
|
@@ -36018,7 +36012,7 @@ function sE(e, t, r) {
|
|
|
36018
36012
|
if (!t) throw Error("Invalid mapLib");
|
|
36019
36013
|
let r = "Map" in t ? t : t.default;
|
|
36020
36014
|
if (!r.Map) throw Error("Invalid mapLib");
|
|
36021
|
-
if (
|
|
36015
|
+
if (iE(r, e), !r.supported || r.supported(e)) e.reuseMaps && (a = ZT.reuse(e, s.current)), a ||= new ZT(r.Map, e, s.current), c.map = eE(a), c.mapLib = r, o(a), i?.onMapMount(c.map, e.id);
|
|
36022
36016
|
else throw Error("Map is not supported by this browser");
|
|
36023
36017
|
}).catch((t) => {
|
|
36024
36018
|
let { onError: n } = e;
|
|
@@ -36031,7 +36025,7 @@ function sE(e, t, r) {
|
|
|
36031
36025
|
}), () => {
|
|
36032
36026
|
n = !1, a && (i?.onMapUnmount(e.id), e.reuseMaps ? a.recycle() : a.destroy());
|
|
36033
36027
|
};
|
|
36034
|
-
}, []),
|
|
36028
|
+
}, []), nE(() => {
|
|
36035
36029
|
a && a.setProps(e);
|
|
36036
36030
|
}), h(t, () => c.map, [a]);
|
|
36037
36031
|
let l = _(() => ({
|
|
@@ -36044,22 +36038,22 @@ function sE(e, t, r) {
|
|
|
36044
36038
|
id: e.id,
|
|
36045
36039
|
ref: s,
|
|
36046
36040
|
style: l
|
|
36047
|
-
}, a && n.createElement(
|
|
36041
|
+
}, a && n.createElement(aE.Provider, { value: c }, n.createElement("div", {
|
|
36048
36042
|
"mapboxgl-children": "",
|
|
36049
36043
|
style: { height: "100%" }
|
|
36050
36044
|
}, e.children)));
|
|
36051
36045
|
}
|
|
36052
|
-
var
|
|
36053
|
-
function
|
|
36046
|
+
var sE = /box|flex|grid|column|lineHeight|fontWeight|opacity|order|tabSize|zIndex/;
|
|
36047
|
+
function cE(e, t) {
|
|
36054
36048
|
if (!e || !t) return;
|
|
36055
36049
|
let n = e.style;
|
|
36056
36050
|
for (let e in t) {
|
|
36057
36051
|
let r = t[e];
|
|
36058
|
-
Number.isFinite(r) && !
|
|
36052
|
+
Number.isFinite(r) && !sE.test(e) ? n[e] = `${r}px` : n[e] = r;
|
|
36059
36053
|
}
|
|
36060
36054
|
}
|
|
36061
|
-
function
|
|
36062
|
-
let { map: r, mapLib: i } = p(
|
|
36055
|
+
function lE(e, t) {
|
|
36056
|
+
let { map: r, mapLib: i } = p(aE), a = v({ props: e });
|
|
36063
36057
|
a.current.props = e;
|
|
36064
36058
|
let o = _(() => {
|
|
36065
36059
|
let t = !1;
|
|
@@ -36096,15 +36090,15 @@ function uE(e, t) {
|
|
|
36096
36090
|
}), []);
|
|
36097
36091
|
let { longitude: s, latitude: c, offset: l, style: u, draggable: d = !1, popup: f = null, rotation: g = 0, rotationAlignment: y = "auto", pitchAlignment: b = "auto" } = e;
|
|
36098
36092
|
return m(() => {
|
|
36099
|
-
|
|
36100
|
-
}, [u]), h(t, () => o, []), (o.getLngLat().lng !== s || o.getLngLat().lat !== c) && o.setLngLat([s, c]), l && !
|
|
36093
|
+
cE(o.getElement(), u);
|
|
36094
|
+
}, [u]), h(t, () => o, []), (o.getLngLat().lng !== s || o.getLngLat().lat !== c) && o.setLngLat([s, c]), l && !LT(o.getOffset(), l) && o.setOffset(l), o.isDraggable() !== d && o.setDraggable(d), o.getRotation() !== g && o.setRotation(g), o.getRotationAlignment() !== y && o.setRotationAlignment(y), o.getPitchAlignment() !== b && o.setPitchAlignment(b), o.getPopup() !== f && o.setPopup(f), T(e.children, o.getElement());
|
|
36101
36095
|
}
|
|
36102
|
-
d(l(
|
|
36103
|
-
function
|
|
36096
|
+
d(l(lE));
|
|
36097
|
+
function uE(e) {
|
|
36104
36098
|
return new Set(e ? e.trim().split(/\s+/) : []);
|
|
36105
36099
|
}
|
|
36106
|
-
function
|
|
36107
|
-
let { map: n, mapLib: r } = p(
|
|
36100
|
+
function dE(e, t) {
|
|
36101
|
+
let { map: n, mapLib: r } = p(aE), i = _(() => document.createElement("div"), []), a = v({ props: e });
|
|
36108
36102
|
a.current.props = e;
|
|
36109
36103
|
let o = _(() => {
|
|
36110
36104
|
let t = { ...e }, n = new r.Popup(t);
|
|
@@ -36122,18 +36116,18 @@ function fE(e, t) {
|
|
|
36122
36116
|
o.off("close", e), o.isOpen() && o.remove();
|
|
36123
36117
|
};
|
|
36124
36118
|
}, []), m(() => {
|
|
36125
|
-
|
|
36126
|
-
}, [e.style]), h(t, () => o, []), o.isOpen() && ((o.getLngLat().lng !== e.longitude || o.getLngLat().lat !== e.latitude) && o.setLngLat([e.longitude, e.latitude]), e.offset && !
|
|
36127
|
-
let t =
|
|
36119
|
+
cE(o.getElement(), e.style);
|
|
36120
|
+
}, [e.style]), h(t, () => o, []), o.isOpen() && ((o.getLngLat().lng !== e.longitude || o.getLngLat().lat !== e.latitude) && o.setLngLat([e.longitude, e.latitude]), e.offset && !RT(o.options.offset, e.offset) && o.setOffset(e.offset), (o.options.anchor !== e.anchor || o.options.maxWidth !== e.maxWidth) && (o.options.anchor = e.anchor, o.setMaxWidth(e.maxWidth)), o.options.className !== e.className)) {
|
|
36121
|
+
let t = uE(o.options.className), n = uE(e.className);
|
|
36128
36122
|
for (let e of t) n.has(e) || o.removeClassName(e);
|
|
36129
36123
|
for (let e of n) t.has(e) || o.addClassName(e);
|
|
36130
36124
|
o.options.className = e.className;
|
|
36131
36125
|
}
|
|
36132
36126
|
return T(e.children, i);
|
|
36133
36127
|
}
|
|
36134
|
-
d(l(
|
|
36135
|
-
function
|
|
36136
|
-
let i = p(
|
|
36128
|
+
d(l(dE));
|
|
36129
|
+
function fE(e, t, n, r) {
|
|
36130
|
+
let i = p(aE), a = _(() => e(i), []);
|
|
36137
36131
|
return m(() => {
|
|
36138
36132
|
let e = r || n || t, o = typeof t == "function" && typeof n == "function" ? t : null, s = typeof n == "function" ? n : typeof t == "function" ? t : null, { map: c } = i;
|
|
36139
36133
|
return c.hasControl(a) || (c.addControl(a, e?.position), o && o(i)), () => {
|
|
@@ -36141,22 +36135,22 @@ function pE(e, t, n, r) {
|
|
|
36141
36135
|
};
|
|
36142
36136
|
}, []), a;
|
|
36143
36137
|
}
|
|
36144
|
-
function
|
|
36145
|
-
let t =
|
|
36138
|
+
function pE(e) {
|
|
36139
|
+
let t = fE(({ mapLib: t }) => new t.AttributionControl(e), { position: e.position });
|
|
36146
36140
|
return m(() => {
|
|
36147
|
-
|
|
36141
|
+
cE(t._container, e.style);
|
|
36148
36142
|
}, [e.style]), null;
|
|
36149
36143
|
}
|
|
36150
|
-
d(
|
|
36151
|
-
function
|
|
36152
|
-
let t =
|
|
36144
|
+
d(pE);
|
|
36145
|
+
function mE(e) {
|
|
36146
|
+
let t = fE(({ mapLib: t }) => new t.FullscreenControl({ container: e.containerId && document.getElementById(e.containerId) }), { position: e.position });
|
|
36153
36147
|
return m(() => {
|
|
36154
|
-
|
|
36148
|
+
cE(t._controlContainer, e.style);
|
|
36155
36149
|
}, [e.style]), null;
|
|
36156
36150
|
}
|
|
36157
|
-
d(
|
|
36158
|
-
function
|
|
36159
|
-
let n = v({ props: e }), r =
|
|
36151
|
+
d(mE);
|
|
36152
|
+
function hE(e, t) {
|
|
36153
|
+
let n = v({ props: e }), r = fE(({ mapLib: t }) => {
|
|
36160
36154
|
let r = new t.GeolocateControl(e), i = r._setupUI;
|
|
36161
36155
|
return r._setupUI = (e) => {
|
|
36162
36156
|
r._container.hasChildNodes() || i(e);
|
|
@@ -36178,35 +36172,35 @@ function gE(e, t) {
|
|
|
36178
36172
|
}), r;
|
|
36179
36173
|
}, { position: e.position });
|
|
36180
36174
|
return n.current.props = e, h(t, () => r, []), m(() => {
|
|
36181
|
-
|
|
36175
|
+
cE(r._container, e.style);
|
|
36182
36176
|
}, [e.style]), null;
|
|
36183
36177
|
}
|
|
36184
|
-
d(l(
|
|
36185
|
-
function
|
|
36186
|
-
let t =
|
|
36178
|
+
d(l(hE));
|
|
36179
|
+
function gE(e) {
|
|
36180
|
+
let t = fE(({ mapLib: t }) => new t.NavigationControl(e), { position: e.position });
|
|
36187
36181
|
return m(() => {
|
|
36188
|
-
|
|
36182
|
+
cE(t._container, e.style);
|
|
36189
36183
|
}, [e.style]), null;
|
|
36190
36184
|
}
|
|
36191
|
-
d(
|
|
36192
|
-
function
|
|
36193
|
-
let t =
|
|
36185
|
+
d(gE);
|
|
36186
|
+
function _E(e) {
|
|
36187
|
+
let t = fE(({ mapLib: t }) => new t.ScaleControl(e), { position: e.position }), n = v(e), r = n.current;
|
|
36194
36188
|
n.current = e;
|
|
36195
36189
|
let { style: i } = e;
|
|
36196
36190
|
return e.maxWidth !== void 0 && e.maxWidth !== r.maxWidth && (t.options.maxWidth = e.maxWidth), e.unit !== void 0 && e.unit !== r.unit && t.setUnit(e.unit), m(() => {
|
|
36197
|
-
|
|
36191
|
+
cE(t._container, i);
|
|
36198
36192
|
}, [i]), null;
|
|
36199
36193
|
}
|
|
36200
|
-
d(
|
|
36201
|
-
var
|
|
36194
|
+
d(_E);
|
|
36195
|
+
var vE = import("./maplibre-gl-BihX-JHK-CwiGKaY7.mjs").then((e) => /* @__PURE__ */ t(e.default));
|
|
36202
36196
|
n.forwardRef(function(e, t) {
|
|
36203
|
-
return
|
|
36197
|
+
return oE(e, t, vE);
|
|
36204
36198
|
});
|
|
36205
|
-
var
|
|
36199
|
+
var yE = import("./mapbox-gl-DFCUTsWF-btHtdr3J.mjs").then((e) => /* @__PURE__ */ t(e.default));
|
|
36206
36200
|
n.forwardRef(function(e, t) {
|
|
36207
|
-
return
|
|
36201
|
+
return oE(e, t, yE);
|
|
36208
36202
|
});
|
|
36209
|
-
function
|
|
36203
|
+
function bE(e, t, n) {
|
|
36210
36204
|
let { reference: r, floating: i } = e, a = tu(t), o = nu(t), s = eu(o), c = Zl(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
|
|
36211
36205
|
switch (c) {
|
|
36212
36206
|
case "top":
|
|
@@ -36241,7 +36235,7 @@ function xE(e, t, n) {
|
|
|
36241
36235
|
let m = Ql(t);
|
|
36242
36236
|
return m && (p[o] += f * (m === "end" ? 1 : -1) * (n && l ? -1 : 1)), p;
|
|
36243
36237
|
}
|
|
36244
|
-
async function
|
|
36238
|
+
async function xE(e, t) {
|
|
36245
36239
|
t === void 0 && (t = {});
|
|
36246
36240
|
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = Xl(t, e), p = mu(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = hu(await i.getClippingRect({
|
|
36247
36241
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
@@ -36269,15 +36263,15 @@ async function SE(e, t) {
|
|
|
36269
36263
|
right: (y.right - h.right + p.right) / v.x
|
|
36270
36264
|
};
|
|
36271
36265
|
}
|
|
36272
|
-
var
|
|
36266
|
+
var SE = 50, CE = async (e, t, n) => {
|
|
36273
36267
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
36274
36268
|
...o,
|
|
36275
|
-
detectOverflow:
|
|
36269
|
+
detectOverflow: xE
|
|
36276
36270
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
36277
36271
|
reference: e,
|
|
36278
36272
|
floating: t,
|
|
36279
36273
|
strategy: i
|
|
36280
|
-
}), { x: u, y: d } =
|
|
36274
|
+
}), { x: u, y: d } = bE(l, r, c), f = r, p = 0, m = {};
|
|
36281
36275
|
for (let n = 0; n < a.length; n++) {
|
|
36282
36276
|
let h = a[n];
|
|
36283
36277
|
if (!h) continue;
|
|
@@ -36298,11 +36292,11 @@ var CE = 50, wE = async (e, t, n) => {
|
|
|
36298
36292
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
36299
36293
|
...m[g],
|
|
36300
36294
|
...b
|
|
36301
|
-
}, x && p <
|
|
36295
|
+
}, x && p < SE && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
36302
36296
|
reference: e,
|
|
36303
36297
|
floating: t,
|
|
36304
36298
|
strategy: i
|
|
36305
|
-
}) : x.rects), {x: u, y: d} =
|
|
36299
|
+
}) : x.rects), {x: u, y: d} = bE(l, f, c)), n = -1);
|
|
36306
36300
|
}
|
|
36307
36301
|
return {
|
|
36308
36302
|
x: u,
|
|
@@ -36311,7 +36305,7 @@ var CE = 50, wE = async (e, t, n) => {
|
|
|
36311
36305
|
strategy: i,
|
|
36312
36306
|
middlewareData: m
|
|
36313
36307
|
};
|
|
36314
|
-
},
|
|
36308
|
+
}, wE = (e) => ({
|
|
36315
36309
|
name: "arrow",
|
|
36316
36310
|
options: e,
|
|
36317
36311
|
async fn(t) {
|
|
@@ -36333,7 +36327,7 @@ var CE = 50, wE = async (e, t, n) => {
|
|
|
36333
36327
|
reset: j
|
|
36334
36328
|
};
|
|
36335
36329
|
}
|
|
36336
|
-
}),
|
|
36330
|
+
}), TE = function(e) {
|
|
36337
36331
|
return e === void 0 && (e = {}), {
|
|
36338
36332
|
name: "flip",
|
|
36339
36333
|
options: e,
|
|
@@ -36382,9 +36376,9 @@ var CE = 50, wE = async (e, t, n) => {
|
|
|
36382
36376
|
return {};
|
|
36383
36377
|
}
|
|
36384
36378
|
};
|
|
36385
|
-
},
|
|
36386
|
-
async function
|
|
36387
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = Zl(n), s = Ql(n), c = tu(n) === "y", l =
|
|
36379
|
+
}, EE = /*#__PURE__*/ new Set(["left", "top"]);
|
|
36380
|
+
async function DE(e, t) {
|
|
36381
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = Zl(n), s = Ql(n), c = tu(n) === "y", l = EE.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = Xl(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
36388
36382
|
mainAxis: d,
|
|
36389
36383
|
crossAxis: 0,
|
|
36390
36384
|
alignmentAxis: null
|
|
@@ -36401,13 +36395,13 @@ async function OE(e, t) {
|
|
|
36401
36395
|
y: p * u
|
|
36402
36396
|
};
|
|
36403
36397
|
}
|
|
36404
|
-
var
|
|
36398
|
+
var OE = function(e) {
|
|
36405
36399
|
return e === void 0 && (e = 0), {
|
|
36406
36400
|
name: "offset",
|
|
36407
36401
|
options: e,
|
|
36408
36402
|
async fn(t) {
|
|
36409
36403
|
var n;
|
|
36410
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
36404
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await DE(t, e);
|
|
36411
36405
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
36412
36406
|
x: r + s.x,
|
|
36413
36407
|
y: i + s.y,
|
|
@@ -36418,7 +36412,7 @@ var kE = function(e) {
|
|
|
36418
36412
|
};
|
|
36419
36413
|
}
|
|
36420
36414
|
};
|
|
36421
|
-
},
|
|
36415
|
+
}, kE = function(e) {
|
|
36422
36416
|
return e === void 0 && (e = {}), {
|
|
36423
36417
|
name: "shift",
|
|
36424
36418
|
options: e,
|
|
@@ -36453,7 +36447,7 @@ var kE = function(e) {
|
|
|
36453
36447
|
}
|
|
36454
36448
|
};
|
|
36455
36449
|
};
|
|
36456
|
-
function
|
|
36450
|
+
function AE(e) {
|
|
36457
36451
|
let t = Fu(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = Su(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = Gl(n) !== a || Gl(r) !== o;
|
|
36458
36452
|
return s && (n = a, r = o), {
|
|
36459
36453
|
width: n,
|
|
@@ -36461,38 +36455,38 @@ function jE(e) {
|
|
|
36461
36455
|
$: s
|
|
36462
36456
|
};
|
|
36463
36457
|
}
|
|
36464
|
-
function
|
|
36458
|
+
function jE(e) {
|
|
36465
36459
|
return xu(e) ? e : e.contextElement;
|
|
36466
36460
|
}
|
|
36467
|
-
function
|
|
36468
|
-
let t =
|
|
36461
|
+
function ME(e) {
|
|
36462
|
+
let t = jE(e);
|
|
36469
36463
|
if (!Su(t)) return ql(1);
|
|
36470
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
36464
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = AE(t), o = (a ? Gl(n.width) : n.width) / r, s = (a ? Gl(n.height) : n.height) / i;
|
|
36471
36465
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
36472
36466
|
x: o,
|
|
36473
36467
|
y: s
|
|
36474
36468
|
};
|
|
36475
36469
|
}
|
|
36476
|
-
var
|
|
36477
|
-
function
|
|
36470
|
+
var NE = /*#__PURE__*/ ql(0);
|
|
36471
|
+
function PE(e) {
|
|
36478
36472
|
let t = vu(e);
|
|
36479
|
-
return !Nu() || !t.visualViewport ?
|
|
36473
|
+
return !Nu() || !t.visualViewport ? NE : {
|
|
36480
36474
|
x: t.visualViewport.offsetLeft,
|
|
36481
36475
|
y: t.visualViewport.offsetTop
|
|
36482
36476
|
};
|
|
36483
36477
|
}
|
|
36484
|
-
function
|
|
36478
|
+
function FE(e, t, n) {
|
|
36485
36479
|
return t === void 0 && (t = !1), !!n && t && n === vu(e);
|
|
36486
36480
|
}
|
|
36487
|
-
function
|
|
36481
|
+
function IE(e, t, n, r) {
|
|
36488
36482
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
36489
|
-
let i = e.getBoundingClientRect(), a =
|
|
36490
|
-
t && (r ? xu(r) && (o =
|
|
36491
|
-
let s =
|
|
36483
|
+
let i = e.getBoundingClientRect(), a = jE(e), o = ql(1);
|
|
36484
|
+
t && (r ? xu(r) && (o = ME(r)) : o = ME(e));
|
|
36485
|
+
let s = FE(a, n, r) ? PE(a) : ql(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
|
|
36492
36486
|
if (a && r) {
|
|
36493
36487
|
let e = vu(a), t = xu(r) ? vu(r) : r, n = e, i = Bu(n);
|
|
36494
36488
|
for (; i && t !== n;) {
|
|
36495
|
-
let e =
|
|
36489
|
+
let e = ME(i), t = i.getBoundingClientRect(), r = Fu(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
36496
36490
|
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = vu(i), i = Bu(n);
|
|
36497
36491
|
}
|
|
36498
36492
|
}
|
|
@@ -36503,18 +36497,18 @@ function LE(e, t, n, r) {
|
|
|
36503
36497
|
y: l
|
|
36504
36498
|
});
|
|
36505
36499
|
}
|
|
36506
|
-
function
|
|
36500
|
+
function LE(e, t) {
|
|
36507
36501
|
let n = Iu(e).scrollLeft;
|
|
36508
|
-
return t ? t.left + n :
|
|
36502
|
+
return t ? t.left + n : IE(yu(e)).left + n;
|
|
36509
36503
|
}
|
|
36510
|
-
function
|
|
36504
|
+
function RE(e, t) {
|
|
36511
36505
|
let n = e.getBoundingClientRect();
|
|
36512
36506
|
return {
|
|
36513
|
-
x: n.left + t.scrollLeft -
|
|
36507
|
+
x: n.left + t.scrollLeft - LE(e, n),
|
|
36514
36508
|
y: n.top + t.scrollTop
|
|
36515
36509
|
};
|
|
36516
36510
|
}
|
|
36517
|
-
function
|
|
36511
|
+
function zE(e) {
|
|
36518
36512
|
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = yu(r), s = t ? Eu(t.floating) : !1;
|
|
36519
36513
|
if (r === o || s && a) return n;
|
|
36520
36514
|
let c = {
|
|
@@ -36522,10 +36516,10 @@ function BE(e) {
|
|
|
36522
36516
|
scrollTop: 0
|
|
36523
36517
|
}, l = ql(1), u = ql(0), d = Su(r);
|
|
36524
36518
|
if ((d || !a) && ((_u(r) !== "body" || wu(o)) && (c = Iu(r)), d)) {
|
|
36525
|
-
let e =
|
|
36526
|
-
l =
|
|
36519
|
+
let e = IE(r);
|
|
36520
|
+
l = ME(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
36527
36521
|
}
|
|
36528
|
-
let f = o && !d && !a ?
|
|
36522
|
+
let f = o && !d && !a ? RE(o, c) : ql(0);
|
|
36529
36523
|
return {
|
|
36530
36524
|
width: n.width * l.x,
|
|
36531
36525
|
height: n.height * l.y,
|
|
@@ -36533,11 +36527,11 @@ function BE(e) {
|
|
|
36533
36527
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
36534
36528
|
};
|
|
36535
36529
|
}
|
|
36536
|
-
function
|
|
36530
|
+
function BE(e) {
|
|
36537
36531
|
return e.getClientRects ? Array.from(e.getClientRects()) : [];
|
|
36538
36532
|
}
|
|
36539
|
-
function
|
|
36540
|
-
let t = Iu(e), n = e.ownerDocument.body, r = Wl(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), i = Wl(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight), a = -t.scrollLeft +
|
|
36533
|
+
function VE(e) {
|
|
36534
|
+
let t = Iu(e), n = e.ownerDocument.body, r = Wl(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), i = Wl(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight), a = -t.scrollLeft + LE(e), o = -t.scrollTop;
|
|
36541
36535
|
return Fu(n).direction === "rtl" && (a += Wl(e.clientWidth, n.clientWidth) - r), {
|
|
36542
36536
|
width: r,
|
|
36543
36537
|
height: i,
|
|
@@ -36545,17 +36539,17 @@ function HE(e) {
|
|
|
36545
36539
|
y: o
|
|
36546
36540
|
};
|
|
36547
36541
|
}
|
|
36548
|
-
var
|
|
36549
|
-
function
|
|
36542
|
+
var HE = 25;
|
|
36543
|
+
function UE(e, t, n) {
|
|
36550
36544
|
n === void 0 && (n = "viewport");
|
|
36551
36545
|
let r = n === "layoutViewport", i = vu(e), a = yu(e), o = i.visualViewport, s = a.clientWidth, c = a.clientHeight, l = 0, u = 0;
|
|
36552
36546
|
if (o) {
|
|
36553
36547
|
let e = !Nu() || t === "fixed";
|
|
36554
36548
|
r ? e || (l = -o.offsetLeft, u = -o.offsetTop) : (s = o.width, c = o.height, e && (l = o.offsetLeft, u = o.offsetTop));
|
|
36555
36549
|
}
|
|
36556
|
-
if (
|
|
36550
|
+
if (LE(a) <= 0) {
|
|
36557
36551
|
let e = a.ownerDocument, t = e.body, n = getComputedStyle(t), r = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, i = Math.abs(a.clientWidth - t.clientWidth - r), o = getComputedStyle(a).scrollbarGutter === "stable both-edges" ? i / 2 : i;
|
|
36558
|
-
o <=
|
|
36552
|
+
o <= HE && (s -= o);
|
|
36559
36553
|
}
|
|
36560
36554
|
return {
|
|
36561
36555
|
width: s,
|
|
@@ -36564,8 +36558,8 @@ function WE(e, t, n) {
|
|
|
36564
36558
|
y: u
|
|
36565
36559
|
};
|
|
36566
36560
|
}
|
|
36567
|
-
function
|
|
36568
|
-
let n =
|
|
36561
|
+
function WE(e, t) {
|
|
36562
|
+
let n = IE(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = ME(e);
|
|
36569
36563
|
return {
|
|
36570
36564
|
width: e.clientWidth * a.x,
|
|
36571
36565
|
height: e.clientHeight * a.y,
|
|
@@ -36573,13 +36567,13 @@ function GE(e, t) {
|
|
|
36573
36567
|
y: r * a.y
|
|
36574
36568
|
};
|
|
36575
36569
|
}
|
|
36576
|
-
function
|
|
36570
|
+
function GE(e, t, n) {
|
|
36577
36571
|
let r;
|
|
36578
|
-
if (t === "viewport" || t === "layoutViewport") r =
|
|
36579
|
-
else if (t === "document") r =
|
|
36580
|
-
else if (xu(t)) r =
|
|
36572
|
+
if (t === "viewport" || t === "layoutViewport") r = UE(e, n, t);
|
|
36573
|
+
else if (t === "document") r = VE(yu(e));
|
|
36574
|
+
else if (xu(t)) r = WE(t, n);
|
|
36581
36575
|
else {
|
|
36582
|
-
let n =
|
|
36576
|
+
let n = PE(e);
|
|
36583
36577
|
r = {
|
|
36584
36578
|
x: t.x - n.x,
|
|
36585
36579
|
y: t.y - n.y,
|
|
@@ -36589,7 +36583,7 @@ function KE(e, t, n) {
|
|
|
36589
36583
|
}
|
|
36590
36584
|
return hu(r);
|
|
36591
36585
|
}
|
|
36592
|
-
function
|
|
36586
|
+
function KE(e, t) {
|
|
36593
36587
|
let n = t.get(e);
|
|
36594
36588
|
if (n) return n;
|
|
36595
36589
|
let r = zu(e, [], !1).filter((e) => xu(e) && _u(e) !== "body"), i = null, a = Fu(e).position === "fixed", o = a ? Lu(e) : e;
|
|
@@ -36599,10 +36593,10 @@ function qE(e, t) {
|
|
|
36599
36593
|
}
|
|
36600
36594
|
return t.set(e, r), r;
|
|
36601
36595
|
}
|
|
36602
|
-
function
|
|
36603
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? Eu(t) ? [] :
|
|
36596
|
+
function qE(e) {
|
|
36597
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? Eu(t) ? [] : KE(t, this._c) : [].concat(n), r], o = GE(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
36604
36598
|
for (let e = 1; e < a.length; e++) {
|
|
36605
|
-
let n =
|
|
36599
|
+
let n = GE(t, a[e], i);
|
|
36606
36600
|
s = Wl(n.top, s), c = Ul(n.right, c), l = Ul(n.bottom, l), u = Wl(n.left, u);
|
|
36607
36601
|
}
|
|
36608
36602
|
return {
|
|
@@ -36612,24 +36606,24 @@ function JE(e) {
|
|
|
36612
36606
|
y: s
|
|
36613
36607
|
};
|
|
36614
36608
|
}
|
|
36615
|
-
function
|
|
36616
|
-
let { width: t, height: n } =
|
|
36609
|
+
function JE(e) {
|
|
36610
|
+
let { width: t, height: n } = AE(e);
|
|
36617
36611
|
return {
|
|
36618
36612
|
width: t,
|
|
36619
36613
|
height: n
|
|
36620
36614
|
};
|
|
36621
36615
|
}
|
|
36622
|
-
function
|
|
36623
|
-
let r = Su(t), i = yu(t), a = n === "fixed", o =
|
|
36616
|
+
function YE(e, t, n) {
|
|
36617
|
+
let r = Su(t), i = yu(t), a = n === "fixed", o = IE(e, !0, a, t), s = {
|
|
36624
36618
|
scrollLeft: 0,
|
|
36625
36619
|
scrollTop: 0
|
|
36626
36620
|
}, c = ql(0);
|
|
36627
36621
|
if ((r || !a) && ((_u(t) !== "body" || wu(i)) && (s = Iu(t)), r)) {
|
|
36628
|
-
let e =
|
|
36622
|
+
let e = IE(t, !0, a, t);
|
|
36629
36623
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
36630
36624
|
}
|
|
36631
|
-
!r && i && (c.x =
|
|
36632
|
-
let l = i && !r && !a ?
|
|
36625
|
+
!r && i && (c.x = LE(i));
|
|
36626
|
+
let l = i && !r && !a ? RE(i, s) : ql(0);
|
|
36633
36627
|
return {
|
|
36634
36628
|
x: o.left + s.scrollLeft - c.x - l.x,
|
|
36635
36629
|
y: o.top + s.scrollTop - c.y - l.y,
|
|
@@ -36637,34 +36631,34 @@ function XE(e, t, n) {
|
|
|
36637
36631
|
height: o.height
|
|
36638
36632
|
};
|
|
36639
36633
|
}
|
|
36640
|
-
function
|
|
36634
|
+
function XE(e) {
|
|
36641
36635
|
return Fu(e).position === "static";
|
|
36642
36636
|
}
|
|
36643
|
-
function
|
|
36637
|
+
function ZE(e, t) {
|
|
36644
36638
|
if (!Su(e) || Fu(e).position === "fixed") return null;
|
|
36645
36639
|
if (t) return t(e);
|
|
36646
36640
|
let n = e.offsetParent;
|
|
36647
36641
|
return yu(e) === n && (n = n.ownerDocument.body), n;
|
|
36648
36642
|
}
|
|
36649
|
-
function
|
|
36643
|
+
function QE(e, t) {
|
|
36650
36644
|
let n = vu(e);
|
|
36651
36645
|
if (Eu(e)) return n;
|
|
36652
36646
|
if (!Su(e)) {
|
|
36653
36647
|
let t = Lu(e);
|
|
36654
36648
|
for (; t && !Pu(t);) {
|
|
36655
|
-
if (xu(t) && !
|
|
36649
|
+
if (xu(t) && !XE(t)) return t;
|
|
36656
36650
|
t = Lu(t);
|
|
36657
36651
|
}
|
|
36658
36652
|
return n;
|
|
36659
36653
|
}
|
|
36660
|
-
let r =
|
|
36661
|
-
for (; r && Tu(r) &&
|
|
36662
|
-
return r && Pu(r) &&
|
|
36654
|
+
let r = ZE(e, t);
|
|
36655
|
+
for (; r && Tu(r) && XE(r);) r = ZE(r, t);
|
|
36656
|
+
return r && Pu(r) && XE(r) && !ju(r) ? n : r || Mu(e) || n;
|
|
36663
36657
|
}
|
|
36664
|
-
var
|
|
36665
|
-
let t = this.getOffsetParent ||
|
|
36658
|
+
var $E = async function(e) {
|
|
36659
|
+
let t = this.getOffsetParent || QE, n = this.getDimensions, r = await n(e.floating);
|
|
36666
36660
|
return {
|
|
36667
|
-
reference:
|
|
36661
|
+
reference: YE(e.reference, await t(e.floating), e.strategy),
|
|
36668
36662
|
floating: {
|
|
36669
36663
|
x: 0,
|
|
36670
36664
|
y: 0,
|
|
@@ -36673,25 +36667,25 @@ var eD = async function(e) {
|
|
|
36673
36667
|
}
|
|
36674
36668
|
};
|
|
36675
36669
|
};
|
|
36676
|
-
function
|
|
36670
|
+
function eD(e) {
|
|
36677
36671
|
return Fu(e).direction === "rtl";
|
|
36678
36672
|
}
|
|
36679
|
-
var
|
|
36680
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
36673
|
+
var tD = {
|
|
36674
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: zE,
|
|
36681
36675
|
getDocumentElement: yu,
|
|
36682
|
-
getClippingRect:
|
|
36683
|
-
getOffsetParent:
|
|
36684
|
-
getElementRects:
|
|
36685
|
-
getClientRects:
|
|
36686
|
-
getDimensions:
|
|
36687
|
-
getScale:
|
|
36676
|
+
getClippingRect: qE,
|
|
36677
|
+
getOffsetParent: QE,
|
|
36678
|
+
getElementRects: $E,
|
|
36679
|
+
getClientRects: BE,
|
|
36680
|
+
getDimensions: JE,
|
|
36681
|
+
getScale: ME,
|
|
36688
36682
|
isElement: xu,
|
|
36689
|
-
isRTL:
|
|
36683
|
+
isRTL: eD
|
|
36690
36684
|
};
|
|
36691
|
-
function
|
|
36685
|
+
function nD(e, t) {
|
|
36692
36686
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
36693
36687
|
}
|
|
36694
|
-
function
|
|
36688
|
+
function rD(e, t, n) {
|
|
36695
36689
|
let r = null, i, a = yu(e);
|
|
36696
36690
|
function o() {
|
|
36697
36691
|
var e;
|
|
@@ -36707,7 +36701,7 @@ function iD(e, t, n) {
|
|
|
36707
36701
|
}, y = !0;
|
|
36708
36702
|
function b(t) {
|
|
36709
36703
|
let n = t[0].intersectionRatio;
|
|
36710
|
-
if (!
|
|
36704
|
+
if (!nD(l, e.getBoundingClientRect())) return s();
|
|
36711
36705
|
if (n !== c) {
|
|
36712
36706
|
if (!y) return s();
|
|
36713
36707
|
n ? s(!1, n) : i = setTimeout(() => {
|
|
@@ -36731,13 +36725,13 @@ function iD(e, t, n) {
|
|
|
36731
36725
|
c.removeEventListener("resize", l), o();
|
|
36732
36726
|
};
|
|
36733
36727
|
}
|
|
36734
|
-
function
|
|
36728
|
+
function iD(e, t, n, r) {
|
|
36735
36729
|
r === void 0 && (r = {});
|
|
36736
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
36730
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = jE(e), u = i || a ? [...l ? zu(l) : [], ...t ? zu(t) : []] : [];
|
|
36737
36731
|
u.forEach((e) => {
|
|
36738
36732
|
i && e.addEventListener("scroll", n), a && e.addEventListener("resize", n);
|
|
36739
36733
|
});
|
|
36740
|
-
let d = l && s ?
|
|
36734
|
+
let d = l && s ? rD(l, n, a) : null, f = -1, p = null;
|
|
36741
36735
|
o && (p = new ResizeObserver((e) => {
|
|
36742
36736
|
let [r] = e;
|
|
36743
36737
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -36745,11 +36739,11 @@ function aD(e, t, n, r) {
|
|
|
36745
36739
|
(e = p) == null || e.observe(t);
|
|
36746
36740
|
})), n();
|
|
36747
36741
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
36748
|
-
let m, h = c ?
|
|
36742
|
+
let m, h = c ? IE(e) : null;
|
|
36749
36743
|
c && g();
|
|
36750
36744
|
function g() {
|
|
36751
|
-
let t =
|
|
36752
|
-
h && !
|
|
36745
|
+
let t = IE(e);
|
|
36746
|
+
h && !nD(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
36753
36747
|
}
|
|
36754
36748
|
return n(), () => {
|
|
36755
36749
|
var e;
|
|
@@ -36758,17 +36752,17 @@ function aD(e, t, n, r) {
|
|
|
36758
36752
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
36759
36753
|
};
|
|
36760
36754
|
}
|
|
36761
|
-
var oD = kE, sD =
|
|
36755
|
+
var aD = OE, oD = kE, sD = TE, cD = wE, lD = (e, t, n) => {
|
|
36762
36756
|
let r = /* @__PURE__ */ new Map(), i = n ?? {}, a = {
|
|
36763
|
-
...
|
|
36757
|
+
...tD,
|
|
36764
36758
|
...i.platform,
|
|
36765
36759
|
_c: r
|
|
36766
36760
|
};
|
|
36767
|
-
return
|
|
36761
|
+
return CE(e, t, {
|
|
36768
36762
|
...i,
|
|
36769
36763
|
platform: a
|
|
36770
36764
|
});
|
|
36771
|
-
},
|
|
36765
|
+
}, uD = /* @__PURE__ */ t((/* @__PURE__ */ e(((e, t) => {
|
|
36772
36766
|
(function() {
|
|
36773
36767
|
var e = {}.hasOwnProperty;
|
|
36774
36768
|
function n() {
|
|
@@ -36794,22 +36788,22 @@ var oD = kE, sD = AE, cD = EE, lD = TE, uD = (e, t, n) => {
|
|
|
36794
36788
|
return n;
|
|
36795
36789
|
}) : window.classNames = n;
|
|
36796
36790
|
})();
|
|
36797
|
-
})))(), 1),
|
|
36791
|
+
})))(), 1), dD = "react-tooltip-core-styles", fD = "react-tooltip-base-styles", pD = {
|
|
36798
36792
|
core: !1,
|
|
36799
36793
|
base: !1
|
|
36800
36794
|
};
|
|
36801
|
-
function
|
|
36802
|
-
if (!e || typeof document > "u" ||
|
|
36803
|
-
n === "core" && (t =
|
|
36795
|
+
function mD({ css: e, id: t = fD, type: n = "base", ref: r }) {
|
|
36796
|
+
if (!e || typeof document > "u" || pD[n] || n === "core" && typeof process < "u" && (process == null ? void 0 : process.env)?.REACT_TOOLTIP_DISABLE_CORE_STYLES || n !== "base" && typeof process < "u" && (process == null ? void 0 : process.env)?.REACT_TOOLTIP_DISABLE_BASE_STYLES) return;
|
|
36797
|
+
n === "core" && (t = dD), r ||= {};
|
|
36804
36798
|
let { insertAt: i } = r;
|
|
36805
36799
|
if (document.getElementById(t)) return;
|
|
36806
36800
|
let a = document.head || document.getElementsByTagName("head")[0], o = document.createElement("style");
|
|
36807
|
-
o.id = t, o.type = "text/css", i === "top" && a.firstChild ? a.insertBefore(o, a.firstChild) : a.appendChild(o), o.styleSheet ? o.styleSheet.cssText = e : o.appendChild(document.createTextNode(e)),
|
|
36801
|
+
o.id = t, o.type = "text/css", i === "top" && a.firstChild ? a.insertBefore(o, a.firstChild) : a.appendChild(o), o.styleSheet ? o.styleSheet.cssText = e : o.appendChild(document.createTextNode(e)), pD[n] = !0;
|
|
36808
36802
|
}
|
|
36809
|
-
var
|
|
36810
|
-
|
|
36811
|
-
|
|
36812
|
-
|
|
36803
|
+
var hD = async ({ elementReference: e = null, tooltipReference: t = null, tooltipArrowReference: n = null, place: r = "top", offset: i = 10, strategy: a = "absolute", middlewares: o = [
|
|
36804
|
+
aD(Number(i)),
|
|
36805
|
+
sD({ fallbackAxisSideDirection: "start" }),
|
|
36806
|
+
oD({ padding: 5 })
|
|
36813
36807
|
], border: s, arrowSize: c = 8 }) => {
|
|
36814
36808
|
if (!e || t === null) return {
|
|
36815
36809
|
tooltipStyles: {},
|
|
@@ -36817,10 +36811,10 @@ var gD = async ({ elementReference: e = null, tooltipReference: t = null, toolti
|
|
|
36817
36811
|
place: r
|
|
36818
36812
|
};
|
|
36819
36813
|
let l = o;
|
|
36820
|
-
return n ? (l.push(
|
|
36814
|
+
return n ? (l.push(cD({
|
|
36821
36815
|
element: n,
|
|
36822
36816
|
padding: 5
|
|
36823
|
-
})),
|
|
36817
|
+
})), lD(e, t, {
|
|
36824
36818
|
placement: r,
|
|
36825
36819
|
strategy: a,
|
|
36826
36820
|
middleware: l
|
|
@@ -36857,7 +36851,7 @@ var gD = async ({ elementReference: e = null, tooltipReference: t = null, toolti
|
|
|
36857
36851
|
},
|
|
36858
36852
|
place: n
|
|
36859
36853
|
};
|
|
36860
|
-
}))) :
|
|
36854
|
+
}))) : lD(e, t, {
|
|
36861
36855
|
placement: "bottom",
|
|
36862
36856
|
strategy: a,
|
|
36863
36857
|
middleware: l
|
|
@@ -36869,7 +36863,7 @@ var gD = async ({ elementReference: e = null, tooltipReference: t = null, toolti
|
|
|
36869
36863
|
tooltipArrowStyles: {},
|
|
36870
36864
|
place: n
|
|
36871
36865
|
})));
|
|
36872
|
-
},
|
|
36866
|
+
}, gD = (e, t) => !("CSS" in window && "supports" in window.CSS) || window.CSS.supports(e, t), _D = (e, t, n) => {
|
|
36873
36867
|
let r = null, i = function(...i) {
|
|
36874
36868
|
let a = () => {
|
|
36875
36869
|
r = null, n || e.apply(this, i);
|
|
@@ -36879,14 +36873,14 @@ var gD = async ({ elementReference: e = null, tooltipReference: t = null, toolti
|
|
|
36879
36873
|
return i.cancel = () => {
|
|
36880
36874
|
r &&= (clearTimeout(r), null);
|
|
36881
36875
|
}, i;
|
|
36882
|
-
},
|
|
36876
|
+
}, vD = (e) => e !== null && !Array.isArray(e) && typeof e == "object", yD = (e, t) => {
|
|
36883
36877
|
if (e === t) return !0;
|
|
36884
|
-
if (Array.isArray(e) && Array.isArray(t)) return e.length === t.length && e.every(((e, n) =>
|
|
36878
|
+
if (Array.isArray(e) && Array.isArray(t)) return e.length === t.length && e.every(((e, n) => yD(e, t[n])));
|
|
36885
36879
|
if (Array.isArray(e) !== Array.isArray(t)) return !1;
|
|
36886
|
-
if (!
|
|
36880
|
+
if (!vD(e) || !vD(t)) return e === t;
|
|
36887
36881
|
let n = Object.keys(e), r = Object.keys(t);
|
|
36888
|
-
return n.length === r.length && n.every(((n) =>
|
|
36889
|
-
},
|
|
36882
|
+
return n.length === r.length && n.every(((n) => yD(e[n], t[n])));
|
|
36883
|
+
}, bD = (e) => {
|
|
36890
36884
|
if (!(e instanceof HTMLElement || e instanceof SVGElement)) return !1;
|
|
36891
36885
|
let t = getComputedStyle(e);
|
|
36892
36886
|
return [
|
|
@@ -36897,27 +36891,27 @@ var gD = async ({ elementReference: e = null, tooltipReference: t = null, toolti
|
|
|
36897
36891
|
let n = t.getPropertyValue(e);
|
|
36898
36892
|
return n === "auto" || n === "scroll";
|
|
36899
36893
|
}));
|
|
36900
|
-
},
|
|
36894
|
+
}, xD = (e) => {
|
|
36901
36895
|
if (!e) return null;
|
|
36902
36896
|
let t = e.parentElement;
|
|
36903
36897
|
for (; t;) {
|
|
36904
|
-
if (
|
|
36898
|
+
if (bD(t)) return t;
|
|
36905
36899
|
t = t.parentElement;
|
|
36906
36900
|
}
|
|
36907
36901
|
return document.scrollingElement || document.documentElement;
|
|
36908
|
-
},
|
|
36902
|
+
}, SD = typeof window < "u" ? g : m, CD = (e) => {
|
|
36909
36903
|
e.current &&= (clearTimeout(e.current), null);
|
|
36910
|
-
},
|
|
36904
|
+
}, wD = "DEFAULT_TOOLTIP_ID", TD = {
|
|
36911
36905
|
anchorRefs: /* @__PURE__ */ new Set(),
|
|
36912
36906
|
activeAnchor: { current: null },
|
|
36913
36907
|
attach: () => {},
|
|
36914
36908
|
detach: () => {},
|
|
36915
36909
|
setActiveAnchor: () => {}
|
|
36916
|
-
},
|
|
36917
|
-
function
|
|
36918
|
-
return p(
|
|
36910
|
+
}, ED = c({ getTooltipData: () => TD });
|
|
36911
|
+
function DD(e = wD) {
|
|
36912
|
+
return p(ED).getTooltipData(e);
|
|
36919
36913
|
}
|
|
36920
|
-
var
|
|
36914
|
+
var OD = {
|
|
36921
36915
|
tooltip: "core-styles-module_tooltip__3vRRp",
|
|
36922
36916
|
fixed: "core-styles-module_fixed__pcSol",
|
|
36923
36917
|
arrow: "core-styles-module_arrow__cvMwQ",
|
|
@@ -36926,7 +36920,7 @@ var kD = {
|
|
|
36926
36920
|
clickable: "core-styles-module_clickable__ZuTTB",
|
|
36927
36921
|
show: "core-styles-module_show__Nt9eE",
|
|
36928
36922
|
closing: "core-styles-module_closing__sGnxF"
|
|
36929
|
-
},
|
|
36923
|
+
}, kD = {
|
|
36930
36924
|
tooltip: "styles-module_tooltip__mnnfp",
|
|
36931
36925
|
content: "styles-module_content__ydYdI",
|
|
36932
36926
|
arrow: "styles-module_arrow__K0L3T",
|
|
@@ -36936,12 +36930,12 @@ var kD = {
|
|
|
36936
36930
|
warning: "styles-module_warning__SCK0X",
|
|
36937
36931
|
error: "styles-module_error__JvumD",
|
|
36938
36932
|
info: "styles-module_info__BWdHW"
|
|
36939
|
-
},
|
|
36933
|
+
}, AD = ({ forwardRef: e, id: t, className: n, classNameArrow: i, variant: a = "dark", anchorId: o, anchorSelect: s, place: c = "top", offset: l = 10, events: u = ["hover"], openOnClick: d = !1, positionStrategy: p = "absolute", middlewares: g, wrapper: _, delayShow: b = 0, delayHide: x = 0, float: S = !1, hidden: C = !1, noArrow: w = !1, clickable: T = !1, closeOnEsc: E = !1, closeOnScroll: D = !1, closeOnResize: O = !1, openEvents: k, closeEvents: A, globalCloseEvents: j, imperativeModeOnly: M, style: N, position: P, afterShow: F, afterHide: I, disableTooltip: L, content: R, contentWrapperRef: z, isOpen: B, defaultIsOpen: ee = !1, setIsOpen: V, previousActiveAnchor: H, activeAnchor: te, setActiveAnchor: ne, border: re, opacity: ie, arrowColor: ae, arrowSize: oe = 8, role: se = "tooltip" }) => {
|
|
36940
36934
|
let ce = v(null), le = v(null), U = v(null), ue = v(null), de = v(null), [fe, pe] = y({
|
|
36941
36935
|
tooltipStyles: {},
|
|
36942
36936
|
tooltipArrowStyles: {},
|
|
36943
36937
|
place: c
|
|
36944
|
-
}), [me, he] = y(!1), [ge, _e] = y(!1), [ve, ye] = y(null), be = v(!1), xe = v(null), { anchorRefs: Se, setActiveAnchor: Ce } =
|
|
36938
|
+
}), [me, he] = y(!1), [ge, _e] = y(!1), [ve, ye] = y(null), be = v(!1), xe = v(null), { anchorRefs: Se, setActiveAnchor: Ce } = DD(t), we = v(!1), [Te, Ee] = y([]), De = v(!1), Oe = d || u.includes("click"), ke = Oe || k?.click || k?.dblclick || k?.mousedown, Ae = k ? { ...k } : {
|
|
36945
36939
|
mouseover: !0,
|
|
36946
36940
|
focus: !0,
|
|
36947
36941
|
mouseenter: !1,
|
|
@@ -36993,7 +36987,7 @@ var kD = {
|
|
|
36993
36987
|
scroll: !1,
|
|
36994
36988
|
resize: !1,
|
|
36995
36989
|
clickOutsideAnchor: !1
|
|
36996
|
-
})),
|
|
36990
|
+
})), SD((() => (De.current = !0, () => {
|
|
36997
36991
|
De.current = !1;
|
|
36998
36992
|
})), []);
|
|
36999
36993
|
let Ne = (e) => {
|
|
@@ -37034,7 +37028,7 @@ var kD = {
|
|
|
37034
37028
|
clearTimeout(e);
|
|
37035
37029
|
};
|
|
37036
37030
|
}), [B]), m((() => {
|
|
37037
|
-
if (me !== be.current) if (
|
|
37031
|
+
if (me !== be.current) if (CD(de), be.current = me, me) F?.();
|
|
37038
37032
|
else {
|
|
37039
37033
|
let e = ((e) => {
|
|
37040
37034
|
let t = e.match(/^([\d.]+)(ms|s)$/);
|
|
@@ -37048,24 +37042,24 @@ var kD = {
|
|
|
37048
37042
|
}
|
|
37049
37043
|
}), [me]);
|
|
37050
37044
|
let Pe = (e) => {
|
|
37051
|
-
pe(((t) =>
|
|
37045
|
+
pe(((t) => yD(t, e) ? t : e));
|
|
37052
37046
|
}, W = (e = b) => {
|
|
37053
|
-
|
|
37047
|
+
CD(U), ge ? Ne(!0) : U.current = setTimeout((() => {
|
|
37054
37048
|
Ne(!0);
|
|
37055
37049
|
}), e);
|
|
37056
37050
|
}, Fe = (e = x) => {
|
|
37057
|
-
|
|
37051
|
+
CD(ue), ue.current = setTimeout((() => {
|
|
37058
37052
|
we.current || Ne(!1);
|
|
37059
37053
|
}), e);
|
|
37060
37054
|
}, Ie = (e) => {
|
|
37061
37055
|
if (!e) return;
|
|
37062
37056
|
let t = e.currentTarget ?? e.target;
|
|
37063
37057
|
if (!t?.isConnected) return ne(null), void Ce({ current: null });
|
|
37064
|
-
b ? W() : Ne(!0), ne(t), Ce({ current: t }),
|
|
37058
|
+
b ? W() : Ne(!0), ne(t), Ce({ current: t }), CD(ue);
|
|
37065
37059
|
}, Le = () => {
|
|
37066
|
-
T ? Fe(x || 100) : x ? Fe() : Ne(!1),
|
|
37060
|
+
T ? Fe(x || 100) : x ? Fe() : Ne(!1), CD(U);
|
|
37067
37061
|
}, Re = ({ x: e, y: t }) => {
|
|
37068
|
-
|
|
37062
|
+
hD({
|
|
37069
37063
|
place: ve?.place ?? c,
|
|
37070
37064
|
offset: l,
|
|
37071
37065
|
elementReference: { getBoundingClientRect: () => ({
|
|
@@ -37097,14 +37091,14 @@ var kD = {
|
|
|
37097
37091
|
}, Be = (e) => {
|
|
37098
37092
|
if (!me) return;
|
|
37099
37093
|
let t = e.target;
|
|
37100
|
-
t.isConnected && (ce.current?.contains(t) || [document.querySelector(`[id='${o}']`), ...Te].some(((e) => e?.contains(t))) || (Ne(!1),
|
|
37101
|
-
}, Ve =
|
|
37094
|
+
t.isConnected && (ce.current?.contains(t) || [document.querySelector(`[id='${o}']`), ...Te].some(((e) => e?.contains(t))) || (Ne(!1), CD(U)));
|
|
37095
|
+
}, Ve = _D(Ie, 50, !0), He = _D(Le, 50, !0), Ue = (e) => {
|
|
37102
37096
|
He.cancel(), Ve(e);
|
|
37103
37097
|
}, We = () => {
|
|
37104
37098
|
Ve.cancel(), He();
|
|
37105
37099
|
}, Ge = f((() => {
|
|
37106
37100
|
let e = ve?.position ?? P;
|
|
37107
|
-
e ? Re(e) : S ? xe.current && Re(xe.current) : te?.isConnected &&
|
|
37101
|
+
e ? Re(e) : S ? xe.current && Re(xe.current) : te?.isConnected && hD({
|
|
37108
37102
|
place: ve?.place ?? c,
|
|
37109
37103
|
offset: l,
|
|
37110
37104
|
elementReference: te,
|
|
@@ -37141,10 +37135,10 @@ var kD = {
|
|
|
37141
37135
|
r && !L?.(r) && n.add({ current: r });
|
|
37142
37136
|
let i = () => {
|
|
37143
37137
|
Ne(!1);
|
|
37144
|
-
}, a =
|
|
37138
|
+
}, a = xD(te), s = xD(ce.current);
|
|
37145
37139
|
Me.scroll && (window.addEventListener("scroll", i), a?.addEventListener("scroll", i), s?.addEventListener("scroll", i));
|
|
37146
37140
|
let c = null;
|
|
37147
|
-
Me.resize ? window.addEventListener("resize", i) : te && ce.current && (c =
|
|
37141
|
+
Me.resize ? window.addEventListener("resize", i) : te && ce.current && (c = iD(te, ce.current, Ge, {
|
|
37148
37142
|
ancestorResize: !0,
|
|
37149
37143
|
elementResize: !0,
|
|
37150
37144
|
layoutShift: !0
|
|
@@ -37233,7 +37227,7 @@ var kD = {
|
|
|
37233
37227
|
if (e) try {
|
|
37234
37228
|
i.push(...t.filter(((t) => t.matches(e)))), i.push(...t.flatMap(((t) => [...t.querySelectorAll(e)])));
|
|
37235
37229
|
} catch {}
|
|
37236
|
-
t.some(((e) => !!(e?.contains)?.call(e, te) && (_e(!1), Ne(!1), ne(null),
|
|
37230
|
+
t.some(((e) => !!(e?.contains)?.call(e, te) && (_e(!1), Ne(!1), ne(null), CD(U), CD(ue), !0)));
|
|
37237
37231
|
}
|
|
37238
37232
|
if (e) try {
|
|
37239
37233
|
let t = [...n.addedNodes].filter(((e) => e.nodeType === 1));
|
|
@@ -37274,7 +37268,7 @@ var kD = {
|
|
|
37274
37268
|
Te,
|
|
37275
37269
|
te
|
|
37276
37270
|
]), m((() => (ee && Ne(!0), () => {
|
|
37277
|
-
|
|
37271
|
+
CD(U), CD(ue);
|
|
37278
37272
|
})), []), m((() => {
|
|
37279
37273
|
let e = ve?.anchorSelect ?? s;
|
|
37280
37274
|
if (!e && t && (e = `[data-tooltip-id='${t.replace(/'/g, "\\'")}']`), e) try {
|
|
@@ -37288,7 +37282,7 @@ var kD = {
|
|
|
37288
37282
|
s,
|
|
37289
37283
|
ve?.anchorSelect
|
|
37290
37284
|
]), m((() => {
|
|
37291
|
-
U.current && (
|
|
37285
|
+
U.current && (CD(U), W(b));
|
|
37292
37286
|
}), [b]);
|
|
37293
37287
|
let Ke = ve?.content ?? R, qe = me && Object.keys(fe.tooltipStyles).length > 0;
|
|
37294
37288
|
return h(e, (() => ({
|
|
@@ -37310,9 +37304,9 @@ var kD = {
|
|
|
37310
37304
|
}))), ge && !C && Ke ? r.createElement(_, {
|
|
37311
37305
|
id: t,
|
|
37312
37306
|
role: se,
|
|
37313
|
-
className: (0,
|
|
37307
|
+
className: (0, uD.default)("react-tooltip", OD.tooltip, kD.tooltip, kD[a], n, `react-tooltip__place-${fe.place}`, OD[qe ? "show" : "closing"], qe ? "react-tooltip__show" : "react-tooltip__closing", p === "fixed" && OD.fixed, T && OD.clickable),
|
|
37314
37308
|
onTransitionEnd: (e) => {
|
|
37315
|
-
|
|
37309
|
+
CD(de), me || e.propertyName !== "opacity" || (_e(!1), ye(null), I?.());
|
|
37316
37310
|
},
|
|
37317
37311
|
style: {
|
|
37318
37312
|
...N,
|
|
@@ -37320,8 +37314,8 @@ var kD = {
|
|
|
37320
37314
|
opacity: ie !== void 0 && qe ? ie : void 0
|
|
37321
37315
|
},
|
|
37322
37316
|
ref: ce
|
|
37323
|
-
}, r.createElement(_, { className: (0,
|
|
37324
|
-
className: (0,
|
|
37317
|
+
}, r.createElement(_, { className: (0, uD.default)("react-tooltip-content-wrapper", OD.content, kD.content) }, Ke), r.createElement(_, {
|
|
37318
|
+
className: (0, uD.default)("react-tooltip-arrow", OD.arrow, kD.arrow, i, w && OD.noArrow),
|
|
37325
37319
|
style: {
|
|
37326
37320
|
...fe.tooltipArrowStyles,
|
|
37327
37321
|
background: ae ? `linear-gradient(to right bottom, transparent 50%, ${ae} 50%)` : void 0,
|
|
@@ -37329,8 +37323,8 @@ var kD = {
|
|
|
37329
37323
|
},
|
|
37330
37324
|
ref: le
|
|
37331
37325
|
})) : null;
|
|
37332
|
-
},
|
|
37333
|
-
let [oe, se] = y(i), [ce, le] = y(a), [U, ue] = y(u), [de, fe] = y(l), [pe, me] = y(d), [he, ge] = y(x), [_e, ve] = y(S), [ye, be] = y(C), [xe, Se] = y(w), [Ce, we] = y(f), [Te, Ee] = y(h), [De, Oe] = y(_), [ke, Ae] = y(null), [je, Me] = y(null), Ne = v(null), Pe = v(R), { anchorRefs: W, activeAnchor: Fe } =
|
|
37326
|
+
}, jD = ({ content: e }) => r.createElement("span", { dangerouslySetInnerHTML: { __html: e } }), MD = r.forwardRef((({ id: e, anchorId: t, anchorSelect: n, content: i, html: a, render: o, className: s, classNameArrow: c, variant: l = "dark", place: u = "top", offset: d = 10, wrapper: f = "div", children: p = null, events: h = ["hover"], openOnClick: g = !1, positionStrategy: _ = "absolute", middlewares: b, delayShow: x = 0, delayHide: S = 0, float: C = !1, hidden: w = !1, noArrow: T = !1, clickable: E = !1, closeOnEsc: D = !1, closeOnScroll: O = !1, closeOnResize: k = !1, openEvents: A, closeEvents: j, globalCloseEvents: M, imperativeModeOnly: N = !1, style: P, position: F, isOpen: I, defaultIsOpen: L = !1, disableStyleInjection: R = !1, border: z, opacity: B, arrowColor: ee, arrowSize: V, setIsOpen: H, afterShow: te, afterHide: ne, disableTooltip: re, role: ie = "tooltip" }, ae) => {
|
|
37327
|
+
let [oe, se] = y(i), [ce, le] = y(a), [U, ue] = y(u), [de, fe] = y(l), [pe, me] = y(d), [he, ge] = y(x), [_e, ve] = y(S), [ye, be] = y(C), [xe, Se] = y(w), [Ce, we] = y(f), [Te, Ee] = y(h), [De, Oe] = y(_), [ke, Ae] = y(null), [je, Me] = y(null), Ne = v(null), Pe = v(R), { anchorRefs: W, activeAnchor: Fe } = DD(e), Ie = (e) => e?.getAttributeNames().reduce(((t, n) => (n.startsWith("data-tooltip-") && (t[n.replace(/^data-tooltip-/, "")] = e?.getAttribute(n) ?? null), t)), {}), Le = (e) => {
|
|
37334
37328
|
let t = {
|
|
37335
37329
|
place: (e) => {
|
|
37336
37330
|
ue(e ?? u);
|
|
@@ -37441,7 +37435,7 @@ var kD = {
|
|
|
37441
37435
|
t,
|
|
37442
37436
|
n
|
|
37443
37437
|
]), m((() => {
|
|
37444
|
-
P?.border && console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."), z && !
|
|
37438
|
+
P?.border && console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."), z && !gD("border", `${z}`) && console.warn(`[react-tooltip] "${z}" is not a valid \`border\`.`), P?.opacity && console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."), B && !gD("opacity", `${B}`) && console.warn(`[react-tooltip] "${B}" is not a valid \`opacity\`.`);
|
|
37445
37439
|
}), []);
|
|
37446
37440
|
let Re = p, ze = v(null);
|
|
37447
37441
|
if (o) {
|
|
@@ -37454,13 +37448,13 @@ var kD = {
|
|
|
37454
37448
|
className: "react-tooltip-content-wrapper"
|
|
37455
37449
|
}, e) : null;
|
|
37456
37450
|
} else oe && (Re = oe);
|
|
37457
|
-
ce && (Re = r.createElement(
|
|
37451
|
+
ce && (Re = r.createElement(jD, { content: ce }));
|
|
37458
37452
|
let Be = {
|
|
37459
37453
|
forwardRef: ae,
|
|
37460
37454
|
id: e,
|
|
37461
37455
|
anchorId: t,
|
|
37462
37456
|
anchorSelect: n,
|
|
37463
|
-
className: (0,
|
|
37457
|
+
className: (0, uD.default)(s, ke),
|
|
37464
37458
|
classNameArrow: c,
|
|
37465
37459
|
content: Re,
|
|
37466
37460
|
contentWrapperRef: ze,
|
|
@@ -37504,18 +37498,18 @@ var kD = {
|
|
|
37504
37498
|
},
|
|
37505
37499
|
role: ie
|
|
37506
37500
|
};
|
|
37507
|
-
return r.createElement(
|
|
37501
|
+
return r.createElement(AD, { ...Be });
|
|
37508
37502
|
}));
|
|
37509
37503
|
typeof window < "u" && window.addEventListener("react-tooltip-inject-styles", ((e) => {
|
|
37510
|
-
e.detail.disableCore ||
|
|
37504
|
+
e.detail.disableCore || mD({
|
|
37511
37505
|
css: ":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s;--rt-arrow-size:8px}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit;z-index:-1;-webkit-backface-visibility:hidden;backface-visibility:hidden}.core-styles-module_content__BRKdB{position:relative;z-index:1}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",
|
|
37512
37506
|
type: "core"
|
|
37513
|
-
}), e.detail.disableBase ||
|
|
37507
|
+
}), e.detail.disableBase || mD({
|
|
37514
37508
|
css: "\n.styles-module_tooltip__mnnfp{border-radius:3px;font-size:90%;width:max-content}.styles-module_content__ydYdI{background:inherit;border-radius:inherit;padding:8px 16px}.styles-module_arrow__K0L3T{width:var(--rt-arrow-size);height:var(--rt-arrow-size)}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}",
|
|
37515
37509
|
type: "base"
|
|
37516
37510
|
});
|
|
37517
37511
|
}));
|
|
37518
|
-
function
|
|
37512
|
+
function ND({ children: e, name: t, label: n, position: r = "top", onClick: i = Wr, className: a = "", tooltipStyle: o = {
|
|
37519
37513
|
color: "white",
|
|
37520
37514
|
backgroundColor: "#2563EB",
|
|
37521
37515
|
zIndex: 100
|
|
@@ -37526,15 +37520,15 @@ function PD({ children: e, name: t, label: n, position: r = "top", onClick: i =
|
|
|
37526
37520
|
"data-tooltip-content": n,
|
|
37527
37521
|
onClick: i,
|
|
37528
37522
|
className: Ur("flex flex-row items-center justify-center", a),
|
|
37529
|
-
children: [e, /* @__PURE__ */ x(
|
|
37523
|
+
children: [e, /* @__PURE__ */ x(MD, {
|
|
37530
37524
|
id: s,
|
|
37531
37525
|
style: o,
|
|
37532
37526
|
place: r
|
|
37533
37527
|
})]
|
|
37534
37528
|
});
|
|
37535
37529
|
}
|
|
37536
|
-
function
|
|
37537
|
-
return /* @__PURE__ */ x(
|
|
37530
|
+
function PD({ className: e = "", onClick: t = Wr, icon: n, label: r }) {
|
|
37531
|
+
return /* @__PURE__ */ x(ND, {
|
|
37538
37532
|
onClick: t,
|
|
37539
37533
|
className: e,
|
|
37540
37534
|
label: r,
|
|
@@ -37542,7 +37536,7 @@ function FD({ className: e = "", onClick: t = Wr, icon: n, label: r }) {
|
|
|
37542
37536
|
children: n
|
|
37543
37537
|
});
|
|
37544
37538
|
}
|
|
37545
|
-
function
|
|
37539
|
+
function FD({ label: e = "Message", isHighlighted: t = !1, onClick: n = Wr, className: r = "" }) {
|
|
37546
37540
|
return /* @__PURE__ */ x(Ho, {
|
|
37547
37541
|
label: e,
|
|
37548
37542
|
icon: {
|
|
@@ -37556,14 +37550,14 @@ function ID({ label: e = "Message", isHighlighted: t = !1, onClick: n = Wr, clas
|
|
|
37556
37550
|
isHighlighted: t
|
|
37557
37551
|
});
|
|
37558
37552
|
}
|
|
37559
|
-
var
|
|
37560
|
-
function
|
|
37553
|
+
var ID = "#4b5563", LD = "#f87171";
|
|
37554
|
+
function RD({ label: e = "Report", isHighlighted: t = !1, onClick: n = Wr, className: r = "" }) {
|
|
37561
37555
|
return /* @__PURE__ */ x(Qa, {
|
|
37562
37556
|
className: Ur("ReportTag w-fit", r),
|
|
37563
37557
|
onClick: n,
|
|
37564
37558
|
children: /* @__PURE__ */ S("span", {
|
|
37565
37559
|
className: "flex flex-row items-center py-0.5 px-2 gap-2",
|
|
37566
|
-
style: { color: t ?
|
|
37560
|
+
style: { color: t ? LD : ID },
|
|
37567
37561
|
children: [/* @__PURE__ */ x(ja, { size: Mi.sm }), /* @__PURE__ */ x("div", {
|
|
37568
37562
|
className: "text-sm",
|
|
37569
37563
|
children: e
|
|
@@ -37571,14 +37565,14 @@ function zD({ label: e = "Report", isHighlighted: t = !1, onClick: n = Wr, class
|
|
|
37571
37565
|
})
|
|
37572
37566
|
});
|
|
37573
37567
|
}
|
|
37574
|
-
var
|
|
37575
|
-
function
|
|
37568
|
+
var zD = "#4b5563", BD = "#f87171";
|
|
37569
|
+
function VD({ label: e = "Block", isHighlighted: t = !1, onClick: n = Wr, className: r = "" }) {
|
|
37576
37570
|
return /* @__PURE__ */ x(Qa, {
|
|
37577
37571
|
className: Ur("BlockTag w-fit", r),
|
|
37578
37572
|
onClick: n,
|
|
37579
37573
|
children: /* @__PURE__ */ S("span", {
|
|
37580
37574
|
className: "flex flex-row items-center py-0.5 px-2 gap-2",
|
|
37581
|
-
style: { color: t ?
|
|
37575
|
+
style: { color: t ? BD : zD },
|
|
37582
37576
|
children: [/* @__PURE__ */ x(Aa, { size: Mi.sm }), /* @__PURE__ */ x("div", {
|
|
37583
37577
|
className: "text-sm",
|
|
37584
37578
|
children: e
|
|
@@ -37586,7 +37580,7 @@ function HD({ label: e = "Block", isHighlighted: t = !1, onClick: n = Wr, classN
|
|
|
37586
37580
|
})
|
|
37587
37581
|
});
|
|
37588
37582
|
}
|
|
37589
|
-
function
|
|
37583
|
+
function HD({ label: e = "Delete", onClick: t = Wr, className: n = "" }) {
|
|
37590
37584
|
return /* @__PURE__ */ x(Ho, {
|
|
37591
37585
|
label: e,
|
|
37592
37586
|
icon: {
|
|
@@ -37598,7 +37592,7 @@ function UD({ label: e = "Delete", onClick: t = Wr, className: n = "" }) {
|
|
|
37598
37592
|
className: n
|
|
37599
37593
|
});
|
|
37600
37594
|
}
|
|
37601
|
-
function
|
|
37595
|
+
function UD({ label: e = "Restart", onClick: t = Wr, className: n = "" }) {
|
|
37602
37596
|
return /* @__PURE__ */ x(Ho, {
|
|
37603
37597
|
label: e,
|
|
37604
37598
|
icon: {
|
|
@@ -37610,7 +37604,7 @@ function WD({ label: e = "Restart", onClick: t = Wr, className: n = "" }) {
|
|
|
37610
37604
|
className: n
|
|
37611
37605
|
});
|
|
37612
37606
|
}
|
|
37613
|
-
function
|
|
37607
|
+
function WD({ label: e, onClick: t = Wr, isVertical: n = !1, svgSize: r = Mi.xs }) {
|
|
37614
37608
|
return /* @__PURE__ */ x(Ho, {
|
|
37615
37609
|
label: e,
|
|
37616
37610
|
icon: {
|
|
@@ -37623,7 +37617,7 @@ function GD({ label: e, onClick: t = Wr, isVertical: n = !1, svgSize: r = Mi.xs
|
|
|
37623
37617
|
labelClassName: "text-sm"
|
|
37624
37618
|
});
|
|
37625
37619
|
}
|
|
37626
|
-
function
|
|
37620
|
+
function GD({ label: e, onClick: t = Wr, isVertical: n = !1, svgSize: r = Mi.xs }) {
|
|
37627
37621
|
return /* @__PURE__ */ x(Ho, {
|
|
37628
37622
|
label: e,
|
|
37629
37623
|
icon: {
|
|
@@ -37636,7 +37630,7 @@ function KD({ label: e, onClick: t = Wr, isVertical: n = !1, svgSize: r = Mi.xs
|
|
|
37636
37630
|
labelClassName: "text-sm"
|
|
37637
37631
|
});
|
|
37638
37632
|
}
|
|
37639
|
-
function
|
|
37633
|
+
function KD({ label: e, onClick: t = Wr, isVertical: n = !1, svgSize: r = Mi.xs }) {
|
|
37640
37634
|
return /* @__PURE__ */ x(Ho, {
|
|
37641
37635
|
label: e,
|
|
37642
37636
|
icon: {
|
|
@@ -37649,7 +37643,7 @@ function qD({ label: e, onClick: t = Wr, isVertical: n = !1, svgSize: r = Mi.xs
|
|
|
37649
37643
|
labelClassName: "text-sm"
|
|
37650
37644
|
});
|
|
37651
37645
|
}
|
|
37652
|
-
var
|
|
37646
|
+
var qD = [
|
|
37653
37647
|
"text-[#532e9e] border border-[#532e9e] bg-white",
|
|
37654
37648
|
"text-[#9e2e8b] border border-[#9e2e8b] bg-white",
|
|
37655
37649
|
"text-[#9e2e2e] border border-[#9e2e2e] bg-white",
|
|
@@ -37662,7 +37656,7 @@ var JD = [
|
|
|
37662
37656
|
"text-[#675b1e] border border-[#675b1e] bg-white",
|
|
37663
37657
|
"text-[#36671e] border border-[#36671e] bg-white",
|
|
37664
37658
|
"text-[#1e6742] border border-[#1e6742] bg-white"
|
|
37665
|
-
],
|
|
37659
|
+
], JD = [
|
|
37666
37660
|
"bg-[#532e9e] text-white",
|
|
37667
37661
|
"bg-[#9e2e8b] text-white",
|
|
37668
37662
|
"bg-[#9e2e2e] text-white",
|
|
@@ -37675,22 +37669,22 @@ var JD = [
|
|
|
37675
37669
|
"bg-[#675b1e] text-white",
|
|
37676
37670
|
"bg-[#36671e] text-white",
|
|
37677
37671
|
"bg-[#1e6742] text-white"
|
|
37678
|
-
],
|
|
37672
|
+
], YD = 12, XD = (e) => {
|
|
37679
37673
|
let t = e.slice(0, 2), n = 0;
|
|
37680
37674
|
for (let e = 0; e < t.length; e += 1) n = n * 256 + t.charCodeAt(e);
|
|
37681
37675
|
return n;
|
|
37682
|
-
},
|
|
37683
|
-
let n =
|
|
37684
|
-
return t ?
|
|
37676
|
+
}, ZD = (e) => (typeof e == "string" && (e = XD(e)), Math.abs(Math.floor(e)) % YD), QD = (e, t) => {
|
|
37677
|
+
let n = ZD(e);
|
|
37678
|
+
return t ? JD[n] : qD[n];
|
|
37685
37679
|
};
|
|
37686
|
-
function
|
|
37680
|
+
function $D({ label: e, onClick: t = Wr, className: n = "", labelSize: r = "base", isHighlighted: i = !1, color: a = 0 }) {
|
|
37687
37681
|
return /* @__PURE__ */ x(Qa, {
|
|
37688
37682
|
onClick: t,
|
|
37689
|
-
className: Ur("Tag w-fit h-fit px-1 rounded-full", n, `text-${r}`,
|
|
37683
|
+
className: Ur("Tag w-fit h-fit px-1 rounded-full", n, `text-${r}`, QD(a, i)),
|
|
37690
37684
|
children: e
|
|
37691
37685
|
});
|
|
37692
37686
|
}
|
|
37693
|
-
function
|
|
37687
|
+
function eO({ letter: e, className: t = "", onClick: n }) {
|
|
37694
37688
|
return /* @__PURE__ */ x(Qa, {
|
|
37695
37689
|
onClick: n,
|
|
37696
37690
|
className: Ur("LetterAvatar flex items-center justify-center rounded-full w-full h-full bg-blue-300 text-white font-bold", t),
|
|
@@ -37716,23 +37710,23 @@ function tO({ letter: e, className: t = "", onClick: n }) {
|
|
|
37716
37710
|
})
|
|
37717
37711
|
});
|
|
37718
37712
|
}
|
|
37719
|
-
function
|
|
37713
|
+
function tO({ label: e = "N", className: t = "w-full h-full", imgSrc: n = "", fallbackImgSrc: r = "", onClick: i = Wr }) {
|
|
37720
37714
|
return n || r ? /* @__PURE__ */ x(Io, {
|
|
37721
37715
|
className: Ur("Avatar rounded-full w-full h-full", t),
|
|
37722
37716
|
src: n,
|
|
37723
37717
|
fallbackSrc: r,
|
|
37724
37718
|
alt: e,
|
|
37725
37719
|
onClick: i
|
|
37726
|
-
}) : /* @__PURE__ */ x(
|
|
37720
|
+
}) : /* @__PURE__ */ x(eO, {
|
|
37727
37721
|
className: `LetterAvatar ${t}`,
|
|
37728
37722
|
onClick: i,
|
|
37729
37723
|
letter: e
|
|
37730
37724
|
});
|
|
37731
37725
|
}
|
|
37732
|
-
function
|
|
37726
|
+
function nO({ label: e = "N", onClick: t = Wr, className: n = "", imgSrc: r = "", fallbackImgSrc: i = "", avatarClassName: a = "w-8 h-8" }) {
|
|
37733
37727
|
return /* @__PURE__ */ S(ao, {
|
|
37734
37728
|
className: Ur("AvatarTag shrink-0 bg-white rounded-lg py-1", n),
|
|
37735
|
-
children: [/* @__PURE__ */ x(
|
|
37729
|
+
children: [/* @__PURE__ */ x(tO, {
|
|
37736
37730
|
className: a,
|
|
37737
37731
|
onClick: t,
|
|
37738
37732
|
label: e?.charAt(0).toUpperCase(),
|
|
@@ -37744,37 +37738,37 @@ function rO({ label: e = "N", onClick: t = Wr, className: n = "", imgSrc: r = ""
|
|
|
37744
37738
|
})]
|
|
37745
37739
|
});
|
|
37746
37740
|
}
|
|
37747
|
-
var
|
|
37748
|
-
return
|
|
37741
|
+
var rO = function(e, t) {
|
|
37742
|
+
return rO = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
37749
37743
|
e.__proto__ = t;
|
|
37750
37744
|
} || function(e, t) {
|
|
37751
37745
|
for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
|
|
37752
|
-
},
|
|
37746
|
+
}, rO(e, t);
|
|
37753
37747
|
};
|
|
37754
|
-
function
|
|
37748
|
+
function iO(e, t) {
|
|
37755
37749
|
if (typeof t != "function" && t !== null) throw TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
37756
|
-
|
|
37750
|
+
rO(e, t);
|
|
37757
37751
|
function n() {
|
|
37758
37752
|
this.constructor = e;
|
|
37759
37753
|
}
|
|
37760
37754
|
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
37761
37755
|
}
|
|
37762
|
-
var
|
|
37763
|
-
return
|
|
37756
|
+
var aO = function() {
|
|
37757
|
+
return aO = Object.assign || function(e) {
|
|
37764
37758
|
for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
37765
37759
|
return e;
|
|
37766
|
-
},
|
|
37760
|
+
}, aO.apply(this, arguments);
|
|
37767
37761
|
};
|
|
37768
|
-
function
|
|
37769
|
-
return this instanceof
|
|
37762
|
+
function oO(e) {
|
|
37763
|
+
return this instanceof oO ? (this.v = e, this) : new oO(e);
|
|
37770
37764
|
}
|
|
37771
|
-
var
|
|
37772
|
-
return
|
|
37765
|
+
var sO = function(e) {
|
|
37766
|
+
return sO = Object.getOwnPropertyNames || function(e) {
|
|
37773
37767
|
var t = [];
|
|
37774
37768
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[t.length] = n);
|
|
37775
37769
|
return t;
|
|
37776
|
-
},
|
|
37777
|
-
},
|
|
37770
|
+
}, sO(e);
|
|
37771
|
+
}, cO = /* @__PURE__ */ e(((e, t) => {
|
|
37778
37772
|
var n = !1, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _;
|
|
37779
37773
|
function v() {
|
|
37780
37774
|
if (!n) {
|
|
@@ -37845,7 +37839,7 @@ var cO = function(e) {
|
|
|
37845
37839
|
}
|
|
37846
37840
|
};
|
|
37847
37841
|
t.exports = y;
|
|
37848
|
-
})),
|
|
37842
|
+
})), lO = /* @__PURE__ */ e(((e, t) => {
|
|
37849
37843
|
var n = !!(typeof window < "u" && window.document && window.document.createElement);
|
|
37850
37844
|
t.exports = {
|
|
37851
37845
|
canUseDOM: n,
|
|
@@ -37854,8 +37848,8 @@ var cO = function(e) {
|
|
|
37854
37848
|
canUseViewport: n && !!window.screen,
|
|
37855
37849
|
isInWorker: !n
|
|
37856
37850
|
};
|
|
37857
|
-
})),
|
|
37858
|
-
var n =
|
|
37851
|
+
})), uO = /* @__PURE__ */ e(((e, t) => {
|
|
37852
|
+
var n = lO(), r;
|
|
37859
37853
|
n.canUseDOM && (r = document.implementation && document.implementation.hasFeature && document.implementation.hasFeature("", "") !== !0);
|
|
37860
37854
|
function i(e, t) {
|
|
37861
37855
|
if (!n.canUseDOM || t && !("addEventListener" in document)) return !1;
|
|
@@ -37867,8 +37861,8 @@ var cO = function(e) {
|
|
|
37867
37861
|
return !a && r && e === "wheel" && (a = document.implementation.hasFeature("Events.wheel", "3.0")), a;
|
|
37868
37862
|
}
|
|
37869
37863
|
t.exports = i;
|
|
37870
|
-
})),
|
|
37871
|
-
var n =
|
|
37864
|
+
})), dO = /* @__PURE__ */ e(((e, t) => {
|
|
37865
|
+
var n = cO(), r = uO(), i = 10, a = 40, o = 800;
|
|
37872
37866
|
function s(e) {
|
|
37873
37867
|
var t = 0, n = 0, r = 0, s = 0;
|
|
37874
37868
|
return "detail" in e && (n = e.detail), "wheelDelta" in e && (n = -e.wheelDelta / 120), "wheelDeltaY" in e && (n = -e.wheelDeltaY / 120), "wheelDeltaX" in e && (t = -e.wheelDeltaX / 120), "axis" in e && e.axis === e.HORIZONTAL_AXIS && (t = n, n = 0), r = t * i, s = n * i, "deltaY" in e && (s = e.deltaY), "deltaX" in e && (r = e.deltaX), (r || s) && e.deltaMode && (e.deltaMode == 1 ? (r *= a, s *= a) : (r *= o, s *= o)), r && !t && (t = r < 1 ? -1 : 1), s && !n && (n = s < 1 ? -1 : 1), {
|
|
@@ -37881,12 +37875,12 @@ var cO = function(e) {
|
|
|
37881
37875
|
s.getEventType = function() {
|
|
37882
37876
|
return n.firefox() ? "DOMMouseScroll" : r("wheel") ? "wheel" : "mousewheel";
|
|
37883
37877
|
}, t.exports = s;
|
|
37884
|
-
})),
|
|
37885
|
-
t.exports =
|
|
37878
|
+
})), fO = /* @__PURE__ */ t((/* @__PURE__ */ e(((e, t) => {
|
|
37879
|
+
t.exports = dO();
|
|
37886
37880
|
})))(), 1);
|
|
37887
|
-
function
|
|
37881
|
+
function pO(e, t, n, r, i, a) {
|
|
37888
37882
|
a === void 0 && (a = 0);
|
|
37889
|
-
var o =
|
|
37883
|
+
var o = DO(e, t, a), s = o.width, c = o.height, l = Math.min(s, n), u = Math.min(c, r);
|
|
37890
37884
|
return l > u * i ? {
|
|
37891
37885
|
width: u * i,
|
|
37892
37886
|
height: u
|
|
@@ -37895,30 +37889,30 @@ function mO(e, t, n, r, i, a) {
|
|
|
37895
37889
|
height: l / i
|
|
37896
37890
|
};
|
|
37897
37891
|
}
|
|
37898
|
-
function
|
|
37892
|
+
function mO(e) {
|
|
37899
37893
|
return e.width > e.height ? e.width / e.naturalWidth : e.height / e.naturalHeight;
|
|
37900
37894
|
}
|
|
37901
|
-
function
|
|
37895
|
+
function hO(e, t, n, r, i) {
|
|
37902
37896
|
i === void 0 && (i = 0);
|
|
37903
|
-
var a =
|
|
37897
|
+
var a = DO(t.width, t.height, i), o = a.width, s = a.height;
|
|
37904
37898
|
return {
|
|
37905
|
-
x:
|
|
37906
|
-
y:
|
|
37899
|
+
x: gO(e.x, o, n.width, r),
|
|
37900
|
+
y: gO(e.y, s, n.height, r)
|
|
37907
37901
|
};
|
|
37908
37902
|
}
|
|
37909
|
-
function
|
|
37903
|
+
function gO(e, t, n, r) {
|
|
37910
37904
|
var i = Math.abs(t * r / 2 - n / 2);
|
|
37911
|
-
return
|
|
37905
|
+
return OO(e, -i, i);
|
|
37912
37906
|
}
|
|
37913
|
-
function
|
|
37907
|
+
function _O(e, t) {
|
|
37914
37908
|
return Math.sqrt((e.y - t.y) ** 2 + (e.x - t.x) ** 2);
|
|
37915
37909
|
}
|
|
37916
|
-
function
|
|
37910
|
+
function vO(e, t) {
|
|
37917
37911
|
return Math.atan2(t.y - e.y, t.x - e.x) * 180 / Math.PI;
|
|
37918
37912
|
}
|
|
37919
|
-
function
|
|
37913
|
+
function yO(e, t, n, r, i, a, o) {
|
|
37920
37914
|
a === void 0 && (a = 0), o === void 0 && (o = !0);
|
|
37921
|
-
var s = o ?
|
|
37915
|
+
var s = o ? bO : xO, c = DO(t.width, t.height, a), l = DO(t.naturalWidth, t.naturalHeight, a), u = {
|
|
37922
37916
|
x: s(100, ((c.width - n.width / i) / 2 - e.x / i) / c.width * 100),
|
|
37923
37917
|
y: s(100, ((c.height - n.height / i) / 2 - e.y / i) / c.height * 100),
|
|
37924
37918
|
width: s(100, n.width / c.width * 100 / i),
|
|
@@ -37932,20 +37926,20 @@ function bO(e, t, n, r, i, a, o) {
|
|
|
37932
37926
|
};
|
|
37933
37927
|
return {
|
|
37934
37928
|
croppedAreaPercentages: u,
|
|
37935
|
-
croppedAreaPixels:
|
|
37929
|
+
croppedAreaPixels: aO(aO({}, p), {
|
|
37936
37930
|
x: Math.round(s(l.width - p.width, u.x * l.width / 100)),
|
|
37937
37931
|
y: Math.round(s(l.height - p.height, u.y * l.height / 100))
|
|
37938
37932
|
})
|
|
37939
37933
|
};
|
|
37940
37934
|
}
|
|
37941
|
-
function
|
|
37935
|
+
function bO(e, t) {
|
|
37942
37936
|
return Math.min(e, Math.max(0, t));
|
|
37943
37937
|
}
|
|
37944
|
-
function
|
|
37938
|
+
function xO(e, t) {
|
|
37945
37939
|
return t;
|
|
37946
37940
|
}
|
|
37947
|
-
function
|
|
37948
|
-
var o =
|
|
37941
|
+
function SO(e, t, n, r, i, a) {
|
|
37942
|
+
var o = DO(t.width, t.height, n), s = OO(r.width / o.width * (100 / e.width), i, a);
|
|
37949
37943
|
return {
|
|
37950
37944
|
crop: {
|
|
37951
37945
|
x: s * o.width / 2 - r.width / 2 - o.width * s * (e.x / 100),
|
|
@@ -37954,13 +37948,13 @@ function CO(e, t, n, r, i, a) {
|
|
|
37954
37948
|
zoom: s
|
|
37955
37949
|
};
|
|
37956
37950
|
}
|
|
37957
|
-
function
|
|
37958
|
-
var r =
|
|
37951
|
+
function CO(e, t, n) {
|
|
37952
|
+
var r = mO(t);
|
|
37959
37953
|
return n.height > n.width ? n.height / (e.height * r) : n.width / (e.width * r);
|
|
37960
37954
|
}
|
|
37961
|
-
function
|
|
37955
|
+
function wO(e, t, n, r, i, a) {
|
|
37962
37956
|
n === void 0 && (n = 0);
|
|
37963
|
-
var o =
|
|
37957
|
+
var o = DO(t.naturalWidth, t.naturalHeight, n), s = OO(CO(e, t, r), i, a), c = r.height > r.width ? r.height / e.height : r.width / e.width;
|
|
37964
37958
|
return {
|
|
37965
37959
|
crop: {
|
|
37966
37960
|
x: ((o.width - e.width) / 2 - e.x) * c,
|
|
@@ -37969,33 +37963,33 @@ function TO(e, t, n, r, i, a) {
|
|
|
37969
37963
|
zoom: s
|
|
37970
37964
|
};
|
|
37971
37965
|
}
|
|
37972
|
-
function
|
|
37966
|
+
function TO(e, t) {
|
|
37973
37967
|
return {
|
|
37974
37968
|
x: (t.x + e.x) / 2,
|
|
37975
37969
|
y: (t.y + e.y) / 2
|
|
37976
37970
|
};
|
|
37977
37971
|
}
|
|
37978
|
-
function
|
|
37972
|
+
function EO(e) {
|
|
37979
37973
|
return e * Math.PI / 180;
|
|
37980
37974
|
}
|
|
37981
|
-
function
|
|
37982
|
-
var r =
|
|
37975
|
+
function DO(e, t, n) {
|
|
37976
|
+
var r = EO(n);
|
|
37983
37977
|
return {
|
|
37984
37978
|
width: Math.abs(Math.cos(r) * e) + Math.abs(Math.sin(r) * t),
|
|
37985
37979
|
height: Math.abs(Math.sin(r) * e) + Math.abs(Math.cos(r) * t)
|
|
37986
37980
|
};
|
|
37987
37981
|
}
|
|
37988
|
-
function
|
|
37982
|
+
function OO(e, t, n) {
|
|
37989
37983
|
return Math.min(Math.max(e, t), n);
|
|
37990
37984
|
}
|
|
37991
|
-
function
|
|
37985
|
+
function kO() {
|
|
37992
37986
|
return [...arguments].filter(function(e) {
|
|
37993
37987
|
return typeof e == "string" && e.length > 0;
|
|
37994
37988
|
}).join(" ").trim();
|
|
37995
37989
|
}
|
|
37996
|
-
var
|
|
37990
|
+
var AO = ".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n overflow: hidden;\n user-select: none;\n touch-action: none;\n cursor: move;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.reactEasyCrop_Image,\n.reactEasyCrop_Video {\n will-change: transform; /* this improves performances and prevent painting issues on iOS Chrome */\n}\n\n.reactEasyCrop_Contain {\n max-width: 100%;\n max-height: 100%;\n margin: auto;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n}\n.reactEasyCrop_Cover_Horizontal {\n width: 100%;\n height: auto;\n}\n.reactEasyCrop_Cover_Vertical {\n width: auto;\n height: 100%;\n}\n\n.reactEasyCrop_CropArea {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n border: 1px solid rgba(255, 255, 255, 0.5);\n box-sizing: border-box;\n box-shadow: 0 0 0 9999em;\n color: rgba(0, 0, 0, 0.5);\n overflow: hidden;\n}\n\n.reactEasyCrop_CropAreaRound {\n border-radius: 50%;\n}\n\n.reactEasyCrop_CropAreaGrid::before {\n content: ' ';\n box-sizing: border-box;\n position: absolute;\n border: 1px solid rgba(255, 255, 255, 0.5);\n top: 0;\n bottom: 0;\n left: 33.33%;\n right: 33.33%;\n border-top: 0;\n border-bottom: 0;\n}\n\n.reactEasyCrop_CropAreaGrid::after {\n content: ' ';\n box-sizing: border-box;\n position: absolute;\n border: 1px solid rgba(255, 255, 255, 0.5);\n top: 33.33%;\n bottom: 33.33%;\n left: 0;\n right: 0;\n border-left: 0;\n border-right: 0;\n}\n", jO = 1, MO = 3, NO = 1;
|
|
37997
37991
|
(function(e) {
|
|
37998
|
-
|
|
37992
|
+
iO(t, e);
|
|
37999
37993
|
function t() {
|
|
38000
37994
|
var r = e !== null && e.apply(this, arguments) || this;
|
|
38001
37995
|
return r.cropperRef = n.createRef(), r.imageRef = n.createRef(), r.videoRef = n.createRef(), r.containerPosition = {
|
|
@@ -38038,10 +38032,10 @@ var jO = ".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left:
|
|
|
38038
38032
|
e && (r.previousCropSize = e, r.emitCropData(), r.setInitialCrop(e), r.isInitialized = !0), r.props.onMediaLoaded && r.props.onMediaLoaded(r.mediaSize);
|
|
38039
38033
|
}, r.setInitialCrop = function(e) {
|
|
38040
38034
|
if (r.props.initialCroppedAreaPercentages) {
|
|
38041
|
-
var t =
|
|
38035
|
+
var t = SO(r.props.initialCroppedAreaPercentages, r.mediaSize, r.props.rotation, e, r.props.minZoom, r.props.maxZoom), n = t.crop, i = t.zoom;
|
|
38042
38036
|
r.props.onCropChange(n), r.props.onZoomChange && r.props.onZoomChange(i);
|
|
38043
38037
|
} else if (r.props.initialCroppedAreaPixels) {
|
|
38044
|
-
var a =
|
|
38038
|
+
var a = wO(r.props.initialCroppedAreaPixels, r.mediaSize, r.props.rotation, e, r.props.minZoom, r.props.maxZoom), n = a.crop, i = a.zoom;
|
|
38045
38039
|
r.props.onCropChange(n), r.props.onZoomChange && r.props.onZoomChange(i);
|
|
38046
38040
|
}
|
|
38047
38041
|
}, r.computeSizes = function() {
|
|
@@ -38077,11 +38071,11 @@ var jO = ".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left:
|
|
|
38077
38071
|
width: e.offsetWidth,
|
|
38078
38072
|
height: e.offsetHeight
|
|
38079
38073
|
};
|
|
38080
|
-
r.mediaSize =
|
|
38074
|
+
r.mediaSize = aO(aO({}, s), {
|
|
38081
38075
|
naturalWidth: n,
|
|
38082
38076
|
naturalHeight: i
|
|
38083
38077
|
}), r.props.setMediaSize && r.props.setMediaSize(r.mediaSize);
|
|
38084
|
-
var c = r.props.cropSize ? r.props.cropSize :
|
|
38078
|
+
var c = r.props.cropSize ? r.props.cropSize : pO(r.mediaSize.width, r.mediaSize.height, r.containerRect.width, r.containerRect.height, r.props.aspect, r.props.rotation);
|
|
38085
38079
|
return (r.state.cropSize?.height !== c.height || r.state.cropSize?.width !== c.width) && r.props.onCropSizeChange && r.props.onCropSizeChange(c), r.setState({ cropSize: c }, r.recomputeCropPosition), r.props.setCropSize && r.props.setCropSize(c), c;
|
|
38086
38080
|
}
|
|
38087
38081
|
}, r.saveContainerPosition = function() {
|
|
@@ -38119,7 +38113,7 @@ var jO = ".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left:
|
|
|
38119
38113
|
r.dragStartPosition = {
|
|
38120
38114
|
x: e.x,
|
|
38121
38115
|
y: e.y
|
|
38122
|
-
}, r.dragStartCrop =
|
|
38116
|
+
}, r.dragStartCrop = aO({}, r.props.crop), (t = r.props).onInteractionStart?.call(t);
|
|
38123
38117
|
}, r.onDrag = function(e) {
|
|
38124
38118
|
var t = e.x, n = e.y;
|
|
38125
38119
|
r.currentWindow && (r.rafDragTimeout && r.currentWindow.cancelAnimationFrame(r.rafDragTimeout), r.rafDragTimeout = r.currentWindow.requestAnimationFrame(function() {
|
|
@@ -38127,7 +38121,7 @@ var jO = ".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left:
|
|
|
38127
38121
|
var e = t - r.dragStartPosition.x, i = n - r.dragStartPosition.y, a = {
|
|
38128
38122
|
x: r.dragStartCrop.x + e,
|
|
38129
38123
|
y: r.dragStartCrop.y + i
|
|
38130
|
-
}, o = r.props.restrictPosition ?
|
|
38124
|
+
}, o = r.props.restrictPosition ? hO(a, r.mediaSize, r.state.cropSize, r.props.zoom, r.props.rotation) : a;
|
|
38131
38125
|
r.props.onCropChange(o);
|
|
38132
38126
|
}
|
|
38133
38127
|
}));
|
|
@@ -38137,7 +38131,7 @@ var jO = ".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left:
|
|
|
38137
38131
|
}, r.onWheel = function(e) {
|
|
38138
38132
|
if (r.currentWindow && !(r.props.onWheelRequest && !r.props.onWheelRequest(e))) {
|
|
38139
38133
|
e.preventDefault();
|
|
38140
|
-
var n = t.getMousePoint(e), i = (0,
|
|
38134
|
+
var n = t.getMousePoint(e), i = (0, fO.default)(e).pixelY, a = r.props.zoom - i * r.props.zoomSpeed / 200;
|
|
38141
38135
|
r.setNewZoom(a, n, { shouldUpdatePosition: !0 }), r.state.hasWheelJustStarted || r.setState({ hasWheelJustStarted: !0 }, function() {
|
|
38142
38136
|
var e;
|
|
38143
38137
|
return (e = r.props).onInteractionStart?.call(e);
|
|
@@ -38164,18 +38158,18 @@ var jO = ".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left:
|
|
|
38164
38158
|
}, r.setNewZoom = function(e, t, n) {
|
|
38165
38159
|
var i = (n === void 0 ? {} : n).shouldUpdatePosition, a = i === void 0 || i;
|
|
38166
38160
|
if (!(!r.state.cropSize || !r.props.onZoomChange)) {
|
|
38167
|
-
var o =
|
|
38161
|
+
var o = OO(e, r.props.minZoom, r.props.maxZoom);
|
|
38168
38162
|
if (a) {
|
|
38169
38163
|
var s = r.getPointOnContainer(t, r.containerPosition), c = r.getPointOnMedia(s), l = {
|
|
38170
38164
|
x: c.x * o - s.x,
|
|
38171
38165
|
y: c.y * o - s.y
|
|
38172
|
-
}, u = r.props.restrictPosition ?
|
|
38166
|
+
}, u = r.props.restrictPosition ? hO(l, r.mediaSize, r.state.cropSize, o, r.props.rotation) : l;
|
|
38173
38167
|
r.props.onCropChange(u);
|
|
38174
38168
|
}
|
|
38175
38169
|
r.props.onZoomChange(o);
|
|
38176
38170
|
}
|
|
38177
38171
|
}, r.getCropData = function() {
|
|
38178
|
-
return r.state.cropSize ?
|
|
38172
|
+
return r.state.cropSize ? yO(r.props.restrictPosition ? hO(r.props.crop, r.mediaSize, r.state.cropSize, r.props.zoom, r.props.rotation) : r.props.crop, r.mediaSize, r.state.cropSize, r.getAspect(), r.props.zoom, r.props.rotation, r.props.restrictPosition) : null;
|
|
38179
38173
|
}, r.emitCropData = function() {
|
|
38180
38174
|
var e = r.getCropData();
|
|
38181
38175
|
if (e) {
|
|
@@ -38198,14 +38192,14 @@ var jO = ".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left:
|
|
|
38198
38192
|
y: r.props.crop.y * n
|
|
38199
38193
|
};
|
|
38200
38194
|
}
|
|
38201
|
-
var i = r.props.restrictPosition ?
|
|
38195
|
+
var i = r.props.restrictPosition ? hO(e, r.mediaSize, r.state.cropSize, r.props.zoom, r.props.rotation) : e;
|
|
38202
38196
|
r.previousCropSize = r.state.cropSize, r.props.onCropChange(i), r.emitCropData();
|
|
38203
38197
|
}
|
|
38204
38198
|
}, r.onKeyDown = function(e) {
|
|
38205
38199
|
var t, n = r.props, i = n.crop, a = n.onCropChange, o = n.keyboardStep, s = n.zoom, c = n.rotation, l = o;
|
|
38206
38200
|
if (r.state.cropSize) {
|
|
38207
38201
|
e.shiftKey && (l *= .2);
|
|
38208
|
-
var u =
|
|
38202
|
+
var u = aO({}, i);
|
|
38209
38203
|
switch (e.key) {
|
|
38210
38204
|
case "ArrowUp":
|
|
38211
38205
|
u.y -= l, e.preventDefault();
|
|
@@ -38221,7 +38215,7 @@ var jO = ".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left:
|
|
|
38221
38215
|
break;
|
|
38222
38216
|
default: return;
|
|
38223
38217
|
}
|
|
38224
|
-
r.props.restrictPosition && (u =
|
|
38218
|
+
r.props.restrictPosition && (u = hO(u, r.mediaSize, r.state.cropSize, s, c)), e.repeat || (t = r.props).onInteractionStart?.call(t), a(u);
|
|
38225
38219
|
}
|
|
38226
38220
|
}, r.onKeyUp = function(e) {
|
|
38227
38221
|
var t;
|
|
@@ -38238,7 +38232,7 @@ var jO = ".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left:
|
|
|
38238
38232
|
}, r;
|
|
38239
38233
|
}
|
|
38240
38234
|
return t.prototype.componentDidMount = function() {
|
|
38241
|
-
!this.currentDoc || !this.currentWindow || (this.containerRef && (this.containerRef.ownerDocument && (this.currentDoc = this.containerRef.ownerDocument), this.currentDoc.defaultView && (this.currentWindow = this.currentDoc.defaultView), this.initResizeObserver(), window.ResizeObserver === void 0 && this.currentWindow.addEventListener("resize", this.computeSizes), this.props.zoomWithScroll && this.containerRef.addEventListener("wheel", this.onWheel, { passive: !1 }), this.containerRef.addEventListener("gesturestart", this.onGestureStart)), this.currentDoc.addEventListener("scroll", this.onScroll), this.props.disableAutomaticStylesInjection || (this.styleRef = this.currentDoc.createElement("style"), this.styleRef.setAttribute("type", "text/css"), this.props.nonce && this.styleRef.setAttribute("nonce", this.props.nonce), this.styleRef.innerHTML =
|
|
38235
|
+
!this.currentDoc || !this.currentWindow || (this.containerRef && (this.containerRef.ownerDocument && (this.currentDoc = this.containerRef.ownerDocument), this.currentDoc.defaultView && (this.currentWindow = this.currentDoc.defaultView), this.initResizeObserver(), window.ResizeObserver === void 0 && this.currentWindow.addEventListener("resize", this.computeSizes), this.props.zoomWithScroll && this.containerRef.addEventListener("wheel", this.onWheel, { passive: !1 }), this.containerRef.addEventListener("gesturestart", this.onGestureStart)), this.currentDoc.addEventListener("scroll", this.onScroll), this.props.disableAutomaticStylesInjection || (this.styleRef = this.currentDoc.createElement("style"), this.styleRef.setAttribute("type", "text/css"), this.props.nonce && this.styleRef.setAttribute("nonce", this.props.nonce), this.styleRef.innerHTML = AO, this.currentDoc.head.appendChild(this.styleRef)), this.imageRef.current && this.imageRef.current.complete && this.onMediaLoad(), this.props.setImageRef && this.props.setImageRef(this.imageRef), this.props.setVideoRef && this.props.setVideoRef(this.videoRef), this.props.setCropperRef && this.props.setCropperRef(this.cropperRef));
|
|
38242
38236
|
}, t.prototype.componentWillUnmount = function() {
|
|
38243
38237
|
!this.currentDoc || !this.currentWindow || (window.ResizeObserver === void 0 && this.currentWindow.removeEventListener("resize", this.computeSizes), this.resizeObserver?.disconnect(), this.containerRef && this.containerRef.removeEventListener("gesturestart", this.preventZoomSafari), this.styleRef && this.styleRef.parentNode?.removeChild(this.styleRef), this.cleanEvents(), this.props.zoomWithScroll && this.clearScrollEvent());
|
|
38244
38238
|
}, t.prototype.componentDidUpdate = function(e) {
|
|
@@ -38260,15 +38254,15 @@ var jO = ".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left:
|
|
|
38260
38254
|
return this.props.objectFit;
|
|
38261
38255
|
}, t.prototype.onPinchStart = function(e) {
|
|
38262
38256
|
var n = t.getTouchPoint(e.touches[0]), r = t.getTouchPoint(e.touches[1]);
|
|
38263
|
-
this.lastPinchDistance =
|
|
38257
|
+
this.lastPinchDistance = _O(n, r), this.lastPinchRotation = vO(n, r), this.onDragStart(TO(n, r));
|
|
38264
38258
|
}, t.prototype.onPinchMove = function(e) {
|
|
38265
38259
|
var n = this;
|
|
38266
38260
|
if (!(!this.currentDoc || !this.currentWindow)) {
|
|
38267
|
-
var r = t.getTouchPoint(e.touches[0]), i = t.getTouchPoint(e.touches[1]), a =
|
|
38261
|
+
var r = t.getTouchPoint(e.touches[0]), i = t.getTouchPoint(e.touches[1]), a = TO(r, i);
|
|
38268
38262
|
this.onDrag(a), this.rafPinchTimeout && this.currentWindow.cancelAnimationFrame(this.rafPinchTimeout), this.rafPinchTimeout = this.currentWindow.requestAnimationFrame(function() {
|
|
38269
|
-
var e =
|
|
38263
|
+
var e = _O(r, i), t = n.props.zoom * (e / n.lastPinchDistance);
|
|
38270
38264
|
n.setNewZoom(t, a, { shouldUpdatePosition: !1 }), n.lastPinchDistance = e;
|
|
38271
|
-
var o =
|
|
38265
|
+
var o = vO(r, i), s = n.props.rotation + (o - n.lastPinchRotation);
|
|
38272
38266
|
n.props.onRotationChange && n.props.onRotationChange(s), n.lastPinchRotation = o;
|
|
38273
38267
|
});
|
|
38274
38268
|
}
|
|
@@ -38282,31 +38276,31 @@ var jO = ".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left:
|
|
|
38282
38276
|
},
|
|
38283
38277
|
"data-testid": "container",
|
|
38284
38278
|
style: _,
|
|
38285
|
-
className:
|
|
38286
|
-
}, r ? n.createElement("img",
|
|
38279
|
+
className: kO("reactEasyCrop_Container", x)
|
|
38280
|
+
}, r ? n.createElement("img", aO({
|
|
38287
38281
|
alt: "",
|
|
38288
|
-
className:
|
|
38282
|
+
className: kO("reactEasyCrop_Image", w === "contain" && "reactEasyCrop_Contain", w === "horizontal-cover" && "reactEasyCrop_Cover_Horizontal", w === "vertical-cover" && "reactEasyCrop_Cover_Vertical", C)
|
|
38289
38283
|
}, a, {
|
|
38290
38284
|
src: r,
|
|
38291
38285
|
ref: this.imageRef,
|
|
38292
|
-
style:
|
|
38286
|
+
style: aO(aO({}, y), { transform: s || `translate(${l}px, ${u}px) rotate(${d}deg) scale(${f})` }),
|
|
38293
38287
|
onLoad: this.onMediaLoad
|
|
38294
|
-
})) : i && n.createElement("video",
|
|
38288
|
+
})) : i && n.createElement("video", aO({
|
|
38295
38289
|
autoPlay: !0,
|
|
38296
38290
|
playsInline: !0,
|
|
38297
38291
|
loop: !0,
|
|
38298
38292
|
muted: !0,
|
|
38299
|
-
className:
|
|
38293
|
+
className: kO("reactEasyCrop_Video", w === "contain" && "reactEasyCrop_Contain", w === "horizontal-cover" && "reactEasyCrop_Cover_Horizontal", w === "vertical-cover" && "reactEasyCrop_Cover_Vertical", C)
|
|
38300
38294
|
}, a, {
|
|
38301
38295
|
ref: this.videoRef,
|
|
38302
38296
|
onLoadedMetadata: this.onMediaLoad,
|
|
38303
|
-
style:
|
|
38297
|
+
style: aO(aO({}, y), { transform: s || `translate(${l}px, ${u}px) rotate(${d}deg) scale(${f})` }),
|
|
38304
38298
|
controls: !1
|
|
38305
38299
|
}), (Array.isArray(i) ? i : [{ src: i }]).map(function(e) {
|
|
38306
|
-
return n.createElement("source",
|
|
38307
|
-
})), this.state.cropSize && n.createElement("div",
|
|
38300
|
+
return n.createElement("source", aO({ key: e.src }, e));
|
|
38301
|
+
})), this.state.cropSize && n.createElement("div", aO({
|
|
38308
38302
|
ref: this.cropperRef,
|
|
38309
|
-
style:
|
|
38303
|
+
style: aO(aO({}, v), {
|
|
38310
38304
|
width: h ? Math.round(this.state.cropSize.width) : this.state.cropSize.width,
|
|
38311
38305
|
height: h ? Math.round(this.state.cropSize.height) : this.state.cropSize.height
|
|
38312
38306
|
}),
|
|
@@ -38314,14 +38308,14 @@ var jO = ".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left:
|
|
|
38314
38308
|
onKeyDown: this.onKeyDown,
|
|
38315
38309
|
onKeyUp: this.onKeyUp,
|
|
38316
38310
|
"data-testid": "cropper",
|
|
38317
|
-
className:
|
|
38311
|
+
className: kO("reactEasyCrop_CropArea", p === "round" && "reactEasyCrop_CropAreaRound", m && "reactEasyCrop_CropAreaGrid", S)
|
|
38318
38312
|
}, o)));
|
|
38319
38313
|
}, t.defaultProps = {
|
|
38320
38314
|
zoom: 1,
|
|
38321
38315
|
rotation: 0,
|
|
38322
38316
|
aspect: 4 / 3,
|
|
38323
|
-
maxZoom:
|
|
38324
|
-
minZoom:
|
|
38317
|
+
maxZoom: MO,
|
|
38318
|
+
minZoom: jO,
|
|
38325
38319
|
cropShape: "rect",
|
|
38326
38320
|
objectFit: "contain",
|
|
38327
38321
|
showGrid: !0,
|
|
@@ -38332,7 +38326,7 @@ var jO = ".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left:
|
|
|
38332
38326
|
zoomSpeed: 1,
|
|
38333
38327
|
restrictPosition: !0,
|
|
38334
38328
|
zoomWithScroll: !0,
|
|
38335
|
-
keyboardStep:
|
|
38329
|
+
keyboardStep: NO
|
|
38336
38330
|
}, t.getMousePoint = function(e) {
|
|
38337
38331
|
return {
|
|
38338
38332
|
x: Number(e.clientX),
|
|
@@ -38347,7 +38341,7 @@ var jO = ".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left:
|
|
|
38347
38341
|
})(n.Component);
|
|
38348
38342
|
//#endregion
|
|
38349
38343
|
//#region src/attributes/AttributeUnspecified.tsx
|
|
38350
|
-
function
|
|
38344
|
+
function PO() {
|
|
38351
38345
|
return /* @__PURE__ */ x(Ja, {
|
|
38352
38346
|
className: "text-gray-600 w-fit",
|
|
38353
38347
|
text: "Unspecified"
|
|
@@ -38355,7 +38349,7 @@ function FO() {
|
|
|
38355
38349
|
}
|
|
38356
38350
|
//#endregion
|
|
38357
38351
|
//#region src/attributes/AttributeUpdater.tsx
|
|
38358
|
-
function
|
|
38352
|
+
function FO({ label: e, value: t, onSave: n, AttributeEditing: r, AttributeNonEdit: i, disabled: a = !1 }) {
|
|
38359
38353
|
let o = zt(), [s, c] = y(!1), [l, u] = y(t);
|
|
38360
38354
|
return m(() => {
|
|
38361
38355
|
u(t);
|
|
@@ -38390,7 +38384,7 @@ function IO({ label: e, value: t, onSave: n, AttributeEditing: r, AttributeNonEd
|
|
|
38390
38384
|
}) : t ? /* @__PURE__ */ x("div", {
|
|
38391
38385
|
className: o ? "flex-1 flex justify-end" : "",
|
|
38392
38386
|
children: /* @__PURE__ */ x(i, { value: t })
|
|
38393
|
-
}) : /* @__PURE__ */ x(
|
|
38387
|
+
}) : /* @__PURE__ */ x(PO, {}), /* @__PURE__ */ x(Lo, {
|
|
38394
38388
|
onClick: () => c(!0),
|
|
38395
38389
|
hidden: s,
|
|
38396
38390
|
isHighlighted: !0
|
|
@@ -38400,7 +38394,7 @@ function IO({ label: e, value: t, onSave: n, AttributeEditing: r, AttributeNonEd
|
|
|
38400
38394
|
}
|
|
38401
38395
|
//#endregion
|
|
38402
38396
|
//#region src/attributes/AttributeSelectionUpdater.tsx
|
|
38403
|
-
function
|
|
38397
|
+
function IO({ label: e, value: t, onSave: n, AttributeEditing: r, AttributeNonEdit: i, disabled: a = !1 }) {
|
|
38404
38398
|
let o = zt(), [s, c] = y(!1);
|
|
38405
38399
|
return Rt(() => {
|
|
38406
38400
|
c(!1);
|
|
@@ -38432,7 +38426,7 @@ function LO({ label: e, value: t, onSave: n, AttributeEditing: r, AttributeNonEd
|
|
|
38432
38426
|
}) : t ? /* @__PURE__ */ x("div", {
|
|
38433
38427
|
className: o ? "flex-1 flex justify-end" : "",
|
|
38434
38428
|
children: /* @__PURE__ */ x(i, { value: t })
|
|
38435
|
-
}) : /* @__PURE__ */ x(
|
|
38429
|
+
}) : /* @__PURE__ */ x(PO, {}), /* @__PURE__ */ x(Lo, {
|
|
38436
38430
|
onClick: () => c(!0),
|
|
38437
38431
|
hidden: s,
|
|
38438
38432
|
isHighlighted: !0
|
|
@@ -38442,43 +38436,43 @@ function LO({ label: e, value: t, onSave: n, AttributeEditing: r, AttributeNonEd
|
|
|
38442
38436
|
}
|
|
38443
38437
|
//#endregion
|
|
38444
38438
|
//#region src/attributes/AttributeDisplay.tsx
|
|
38445
|
-
function
|
|
38439
|
+
function LO({ label: e, value: t, className: n = "" }) {
|
|
38446
38440
|
return /* @__PURE__ */ S(ao, {
|
|
38447
38441
|
className: Pt("AttributeDisplay justify-between w-full", n),
|
|
38448
|
-
children: [/* @__PURE__ */ x(Ya, { text: e }), t || /* @__PURE__ */ x(
|
|
38442
|
+
children: [/* @__PURE__ */ x(Ya, { text: e }), t || /* @__PURE__ */ x(PO, {})]
|
|
38449
38443
|
});
|
|
38450
38444
|
}
|
|
38451
38445
|
//#endregion
|
|
38452
38446
|
//#region src/attributes/profile/uoi/sports/tennis/backhand/util.ts
|
|
38453
|
-
var
|
|
38447
|
+
var RO = {
|
|
38454
38448
|
single: "Single-handed",
|
|
38455
38449
|
double: "Double-handed",
|
|
38456
38450
|
both: "Both",
|
|
38457
38451
|
none: "Unspecified"
|
|
38458
|
-
},
|
|
38452
|
+
}, zO = [
|
|
38459
38453
|
{
|
|
38460
38454
|
value: "none",
|
|
38461
|
-
label:
|
|
38455
|
+
label: RO.none
|
|
38462
38456
|
},
|
|
38463
38457
|
{
|
|
38464
38458
|
value: "single",
|
|
38465
|
-
label:
|
|
38459
|
+
label: RO.single
|
|
38466
38460
|
},
|
|
38467
38461
|
{
|
|
38468
38462
|
value: "double",
|
|
38469
|
-
label:
|
|
38463
|
+
label: RO.double
|
|
38470
38464
|
},
|
|
38471
38465
|
{
|
|
38472
38466
|
value: "both",
|
|
38473
|
-
label:
|
|
38467
|
+
label: RO.both
|
|
38474
38468
|
}
|
|
38475
38469
|
];
|
|
38476
38470
|
//#endregion
|
|
38477
38471
|
//#region src/attributes/profile/uoi/sports/tennis/backhand/AttributeUoiSportsTennisBackhandEditing.tsx
|
|
38478
|
-
function
|
|
38472
|
+
function BO({ onChange: e, className: t = "", value: n = "none", disabled: r = !1 }) {
|
|
38479
38473
|
return /* @__PURE__ */ x(sm, {
|
|
38480
|
-
options:
|
|
38481
|
-
defaultOption:
|
|
38474
|
+
options: zO,
|
|
38475
|
+
defaultOption: zO.find((e) => e.value === n) || zO[0],
|
|
38482
38476
|
onChange: (t) => {
|
|
38483
38477
|
e(t.value);
|
|
38484
38478
|
},
|
|
@@ -38488,16 +38482,16 @@ function VO({ onChange: e, className: t = "", value: n = "none", disabled: r = !
|
|
|
38488
38482
|
}
|
|
38489
38483
|
//#endregion
|
|
38490
38484
|
//#region src/attributes/profile/uoi/sports/tennis/backhand/AttributeUoiSportsTennisBackhandNonEdit.tsx
|
|
38491
|
-
function
|
|
38492
|
-
return /* @__PURE__ */ x(Ja, { text:
|
|
38485
|
+
function VO({ value: e }) {
|
|
38486
|
+
return /* @__PURE__ */ x(Ja, { text: RO[e] });
|
|
38493
38487
|
}
|
|
38494
|
-
var
|
|
38488
|
+
var HO = /* @__PURE__ */ function(e) {
|
|
38495
38489
|
return e[e.None = 0] = "None", e[e.SG = 1] = "SG", e[e.PG = 2] = "PG", e[e.C = 4] = "C", e[e.SF = 8] = "SF", e[e.PF = 16] = "PF", e;
|
|
38496
|
-
}({}),
|
|
38490
|
+
}({}), UO = [
|
|
38497
38491
|
"texasholdem",
|
|
38498
38492
|
"omaha",
|
|
38499
38493
|
"blackjack"
|
|
38500
|
-
],
|
|
38494
|
+
], WO = [
|
|
38501
38495
|
"singing",
|
|
38502
38496
|
"guitar",
|
|
38503
38497
|
"piano",
|
|
@@ -38512,7 +38506,7 @@ var UO = /* @__PURE__ */ function(e) {
|
|
|
38512
38506
|
"trombone",
|
|
38513
38507
|
"tuba",
|
|
38514
38508
|
"clarinet"
|
|
38515
|
-
],
|
|
38509
|
+
], GO = ["dog", "cat"], KO = [
|
|
38516
38510
|
"tennis",
|
|
38517
38511
|
"pickleball",
|
|
38518
38512
|
"basketball",
|
|
@@ -38533,7 +38527,7 @@ var UO = /* @__PURE__ */ function(e) {
|
|
|
38533
38527
|
"hockey",
|
|
38534
38528
|
"boating",
|
|
38535
38529
|
"jetskiing"
|
|
38536
|
-
],
|
|
38530
|
+
], qO = [
|
|
38537
38531
|
"landmark",
|
|
38538
38532
|
"nationalpark",
|
|
38539
38533
|
"beach",
|
|
@@ -38557,7 +38551,7 @@ var UO = /* @__PURE__ */ function(e) {
|
|
|
38557
38551
|
"wellness",
|
|
38558
38552
|
"wildlife",
|
|
38559
38553
|
"technology"
|
|
38560
|
-
],
|
|
38554
|
+
], JO = [
|
|
38561
38555
|
"walking",
|
|
38562
38556
|
"movie",
|
|
38563
38557
|
"concert",
|
|
@@ -38566,7 +38560,7 @@ var UO = /* @__PURE__ */ function(e) {
|
|
|
38566
38560
|
"shopping",
|
|
38567
38561
|
"picnic",
|
|
38568
38562
|
"show"
|
|
38569
|
-
],
|
|
38563
|
+
], YO = [
|
|
38570
38564
|
"arabic",
|
|
38571
38565
|
"chinese",
|
|
38572
38566
|
"dutch",
|
|
@@ -38587,21 +38581,21 @@ var UO = /* @__PURE__ */ function(e) {
|
|
|
38587
38581
|
"thai",
|
|
38588
38582
|
"turkish",
|
|
38589
38583
|
"vietnamese"
|
|
38590
|
-
],
|
|
38584
|
+
], XO = {
|
|
38591
38585
|
handedness: "Handedness",
|
|
38592
38586
|
gender: "Gender",
|
|
38593
38587
|
dob: "Date of Birth"
|
|
38594
|
-
},
|
|
38588
|
+
}, ZO = ({ attributeType: e }) => XO[e] || "", QO = { "1_sports": {
|
|
38595
38589
|
tennis: {
|
|
38596
38590
|
level: "Level",
|
|
38597
38591
|
backhand: "Backhand",
|
|
38598
38592
|
handedness: "Handedness"
|
|
38599
38593
|
},
|
|
38600
38594
|
basketball: { positions: "Positions" }
|
|
38601
|
-
} },
|
|
38602
|
-
let r =
|
|
38595
|
+
} }, $O = ({ categoryType: e, interestType: t, attributeType: n }) => {
|
|
38596
|
+
let r = QO;
|
|
38603
38597
|
return e && (r = r?.[e] || {}), t && (r = r?.[t] || {}), r?.[n] || "";
|
|
38604
|
-
},
|
|
38598
|
+
}, ek = { "2_pets": {
|
|
38605
38599
|
breed: "Breed",
|
|
38606
38600
|
father: "Father",
|
|
38607
38601
|
mother: "Mother",
|
|
@@ -38610,14 +38604,14 @@ var UO = /* @__PURE__ */ function(e) {
|
|
|
38610
38604
|
weight: "Weight",
|
|
38611
38605
|
children: "Children",
|
|
38612
38606
|
dob: "Date of Birth"
|
|
38613
|
-
} },
|
|
38614
|
-
let r =
|
|
38607
|
+
} }, tk = ({ categoryType: e, interestType: t, attributeType: n }) => {
|
|
38608
|
+
let r = ek;
|
|
38615
38609
|
return e && (r = r?.[e] || {}), t && (r = r?.[t] || {}), r?.[n] || "";
|
|
38616
38610
|
};
|
|
38617
|
-
function
|
|
38611
|
+
function nk(e, t, n, r) {
|
|
38618
38612
|
return n ? `https://avatar.buddiesnearby.com/${e}/${t}/${n}/${r}.webp` : "";
|
|
38619
38613
|
}
|
|
38620
|
-
var
|
|
38614
|
+
var rk = [
|
|
38621
38615
|
{
|
|
38622
38616
|
key: "spam",
|
|
38623
38617
|
label: "Spam"
|
|
@@ -38649,19 +38643,19 @@ var ik = [
|
|
|
38649
38643
|
];
|
|
38650
38644
|
//#endregion
|
|
38651
38645
|
//#region src/attributes/profile/uoi/sports/tennis/backhand/AttributeUoiSportsTennisBackhandDisplay.tsx
|
|
38652
|
-
function
|
|
38653
|
-
return /* @__PURE__ */ x(
|
|
38654
|
-
label:
|
|
38646
|
+
function ik({ value: e }) {
|
|
38647
|
+
return /* @__PURE__ */ x(LO, {
|
|
38648
|
+
label: $O({
|
|
38655
38649
|
categoryType: "1_sports",
|
|
38656
38650
|
interestType: "tennis",
|
|
38657
38651
|
attributeType: "backhand"
|
|
38658
38652
|
}),
|
|
38659
|
-
value: /* @__PURE__ */ x(
|
|
38653
|
+
value: /* @__PURE__ */ x(VO, { value: e })
|
|
38660
38654
|
});
|
|
38661
38655
|
}
|
|
38662
38656
|
//#endregion
|
|
38663
38657
|
//#region src/attributes/profile/uoi/sports/tennis/level/util.ts
|
|
38664
|
-
var
|
|
38658
|
+
var ak = {
|
|
38665
38659
|
none: "Unspecified",
|
|
38666
38660
|
twoBelow: "2.0 and below",
|
|
38667
38661
|
twoFive: "2.5",
|
|
@@ -38672,54 +38666,54 @@ var ok = {
|
|
|
38672
38666
|
five: "5.0",
|
|
38673
38667
|
fiveFive: "5.5",
|
|
38674
38668
|
sixAbove: "6.0 and above"
|
|
38675
|
-
},
|
|
38669
|
+
}, ok = [
|
|
38676
38670
|
{
|
|
38677
38671
|
value: "none",
|
|
38678
|
-
label:
|
|
38672
|
+
label: ak.none
|
|
38679
38673
|
},
|
|
38680
38674
|
{
|
|
38681
38675
|
value: "twoBelow",
|
|
38682
|
-
label:
|
|
38676
|
+
label: ak.twoBelow
|
|
38683
38677
|
},
|
|
38684
38678
|
{
|
|
38685
38679
|
value: "twoFive",
|
|
38686
|
-
label:
|
|
38680
|
+
label: ak.twoFive
|
|
38687
38681
|
},
|
|
38688
38682
|
{
|
|
38689
38683
|
value: "three",
|
|
38690
|
-
label:
|
|
38684
|
+
label: ak.three
|
|
38691
38685
|
},
|
|
38692
38686
|
{
|
|
38693
38687
|
value: "threeFive",
|
|
38694
|
-
label:
|
|
38688
|
+
label: ak.threeFive
|
|
38695
38689
|
},
|
|
38696
38690
|
{
|
|
38697
38691
|
value: "four",
|
|
38698
|
-
label:
|
|
38692
|
+
label: ak.four
|
|
38699
38693
|
},
|
|
38700
38694
|
{
|
|
38701
38695
|
value: "fourFive",
|
|
38702
|
-
label:
|
|
38696
|
+
label: ak.fourFive
|
|
38703
38697
|
},
|
|
38704
38698
|
{
|
|
38705
38699
|
value: "five",
|
|
38706
|
-
label:
|
|
38700
|
+
label: ak.five
|
|
38707
38701
|
},
|
|
38708
38702
|
{
|
|
38709
38703
|
value: "fiveFive",
|
|
38710
|
-
label:
|
|
38704
|
+
label: ak.fiveFive
|
|
38711
38705
|
},
|
|
38712
38706
|
{
|
|
38713
38707
|
value: "sixAbove",
|
|
38714
|
-
label:
|
|
38708
|
+
label: ak.sixAbove
|
|
38715
38709
|
}
|
|
38716
38710
|
];
|
|
38717
38711
|
//#endregion
|
|
38718
38712
|
//#region src/attributes/profile/uoi/sports/tennis/level/AttributeUoiSportsTennisLevelEditing.tsx
|
|
38719
|
-
function
|
|
38713
|
+
function sk({ onChange: e, className: t = "", value: n = "none", disabled: r = !1 }) {
|
|
38720
38714
|
return /* @__PURE__ */ x(sm, {
|
|
38721
|
-
options:
|
|
38722
|
-
defaultOption:
|
|
38715
|
+
options: ok,
|
|
38716
|
+
defaultOption: ok.find((e) => e.value === n) || ok[0],
|
|
38723
38717
|
onChange: (t) => {
|
|
38724
38718
|
e(t.value);
|
|
38725
38719
|
},
|
|
@@ -38729,57 +38723,57 @@ function ck({ onChange: e, className: t = "", value: n = "none", disabled: r = !
|
|
|
38729
38723
|
}
|
|
38730
38724
|
//#endregion
|
|
38731
38725
|
//#region src/attributes/profile/uoi/sports/tennis/level/AttributeUoiSportsTennisLevelNonEdit.tsx
|
|
38732
|
-
function
|
|
38733
|
-
return /* @__PURE__ */ x(Ja, { text:
|
|
38726
|
+
function ck({ value: e }) {
|
|
38727
|
+
return /* @__PURE__ */ x(Ja, { text: ak[e] });
|
|
38734
38728
|
}
|
|
38735
38729
|
//#endregion
|
|
38736
38730
|
//#region src/attributes/profile/uoi/sports/tennis/level/AttributeUoiSportsTennisLevelDisplay.tsx
|
|
38737
|
-
function
|
|
38738
|
-
return /* @__PURE__ */ x(
|
|
38739
|
-
label:
|
|
38731
|
+
function lk({ value: e }) {
|
|
38732
|
+
return /* @__PURE__ */ x(LO, {
|
|
38733
|
+
label: $O({
|
|
38740
38734
|
categoryType: "1_sports",
|
|
38741
38735
|
interestType: "tennis",
|
|
38742
38736
|
attributeType: "level"
|
|
38743
38737
|
}),
|
|
38744
|
-
value: /* @__PURE__ */ x(
|
|
38738
|
+
value: /* @__PURE__ */ x(ck, { value: e })
|
|
38745
38739
|
});
|
|
38746
38740
|
}
|
|
38747
38741
|
//#endregion
|
|
38748
38742
|
//#region src/attributes/profile/uoi/sports/basketball/positions/util.ts
|
|
38749
|
-
var
|
|
38743
|
+
var uk = [
|
|
38750
38744
|
{
|
|
38751
|
-
value:
|
|
38745
|
+
value: HO.SG,
|
|
38752
38746
|
label: "SG"
|
|
38753
38747
|
},
|
|
38754
38748
|
{
|
|
38755
|
-
value:
|
|
38749
|
+
value: HO.PG,
|
|
38756
38750
|
label: "PG"
|
|
38757
38751
|
},
|
|
38758
38752
|
{
|
|
38759
|
-
value:
|
|
38753
|
+
value: HO.C,
|
|
38760
38754
|
label: "C"
|
|
38761
38755
|
},
|
|
38762
38756
|
{
|
|
38763
|
-
value:
|
|
38757
|
+
value: HO.SF,
|
|
38764
38758
|
label: "SF"
|
|
38765
38759
|
},
|
|
38766
38760
|
{
|
|
38767
|
-
value:
|
|
38761
|
+
value: HO.PF,
|
|
38768
38762
|
label: "PF"
|
|
38769
38763
|
}
|
|
38770
38764
|
];
|
|
38771
38765
|
//#endregion
|
|
38772
38766
|
//#region src/attributes/profile/uoi/sports/basketball/positions/AttributeUoiSportsBasketballPositionsNonEdit.tsx
|
|
38773
|
-
function
|
|
38774
|
-
return e ===
|
|
38767
|
+
function dk({ value: e }) {
|
|
38768
|
+
return e === HO.None ? /* @__PURE__ */ x(PO, {}) : /* @__PURE__ */ x(Xa, {
|
|
38775
38769
|
className: "flex flex-row gap-1",
|
|
38776
|
-
items:
|
|
38777
|
-
itemRenderer: ({ value: e, label: t }) => /* @__PURE__ */ x("li", { children: /* @__PURE__ */ x(
|
|
38770
|
+
items: uk.filter((t) => t.value & e),
|
|
38771
|
+
itemRenderer: ({ value: e, label: t }) => /* @__PURE__ */ x("li", { children: /* @__PURE__ */ x($D, { label: t }) }, e)
|
|
38778
38772
|
});
|
|
38779
38773
|
}
|
|
38780
38774
|
//#endregion
|
|
38781
38775
|
//#region src/attributes/profile/uoi/sports/basketball/positions/BasketballPositionIcon.tsx
|
|
38782
|
-
function
|
|
38776
|
+
function fk({ label: e, value: t, onClick: n, positions: r }) {
|
|
38783
38777
|
return /* @__PURE__ */ x(To, {
|
|
38784
38778
|
isHighlighted: !!(r & t),
|
|
38785
38779
|
onClick: () => n(r ^ t),
|
|
@@ -38788,11 +38782,11 @@ function pk({ label: e, value: t, onClick: n, positions: r }) {
|
|
|
38788
38782
|
}
|
|
38789
38783
|
//#endregion
|
|
38790
38784
|
//#region src/attributes/profile/uoi/sports/basketball/positions/AttributeUoiSportsBasketballPositionsEditing.tsx
|
|
38791
|
-
function
|
|
38785
|
+
function pk({ onChange: e, value: t = HO.None }) {
|
|
38792
38786
|
return /* @__PURE__ */ x(Xa, {
|
|
38793
38787
|
className: "flex flex-row gap-1",
|
|
38794
|
-
items:
|
|
38795
|
-
itemRenderer: ({ value: n, label: r }) => /* @__PURE__ */ x("li", { children: /* @__PURE__ */ x(
|
|
38788
|
+
items: uk,
|
|
38789
|
+
itemRenderer: ({ value: n, label: r }) => /* @__PURE__ */ x("li", { children: /* @__PURE__ */ x(fk, {
|
|
38796
38790
|
value: n,
|
|
38797
38791
|
label: r,
|
|
38798
38792
|
positions: t,
|
|
@@ -38802,42 +38796,42 @@ function mk({ onChange: e, value: t = UO.None }) {
|
|
|
38802
38796
|
}
|
|
38803
38797
|
//#endregion
|
|
38804
38798
|
//#region src/attributes/profile/uoi/sports/basketball/positions/AttributeUoiSportsBasketballPositionsDisplay.tsx
|
|
38805
|
-
function
|
|
38806
|
-
return /* @__PURE__ */ x(
|
|
38807
|
-
label:
|
|
38799
|
+
function mk({ value: e }) {
|
|
38800
|
+
return /* @__PURE__ */ x(LO, {
|
|
38801
|
+
label: $O({
|
|
38808
38802
|
categoryType: "1_sports",
|
|
38809
38803
|
interestType: "basketball",
|
|
38810
38804
|
attributeType: "positions"
|
|
38811
38805
|
}),
|
|
38812
|
-
value: /* @__PURE__ */ x(
|
|
38806
|
+
value: /* @__PURE__ */ x(dk, { value: e })
|
|
38813
38807
|
});
|
|
38814
38808
|
}
|
|
38815
38809
|
//#endregion
|
|
38816
38810
|
//#region src/attributes/common/gender/util.ts
|
|
38817
|
-
var
|
|
38811
|
+
var hk = {
|
|
38818
38812
|
none: "Unspecified",
|
|
38819
38813
|
male: "Male",
|
|
38820
38814
|
female: "Female"
|
|
38821
|
-
},
|
|
38815
|
+
}, gk = [
|
|
38822
38816
|
{
|
|
38823
38817
|
value: "none",
|
|
38824
|
-
label:
|
|
38818
|
+
label: hk.none
|
|
38825
38819
|
},
|
|
38826
38820
|
{
|
|
38827
38821
|
value: "male",
|
|
38828
|
-
label:
|
|
38822
|
+
label: hk.male
|
|
38829
38823
|
},
|
|
38830
38824
|
{
|
|
38831
38825
|
value: "female",
|
|
38832
|
-
label:
|
|
38826
|
+
label: hk.female
|
|
38833
38827
|
}
|
|
38834
38828
|
];
|
|
38835
38829
|
//#endregion
|
|
38836
38830
|
//#region src/attributes/common/gender/AttributeCommonGenderEditing.tsx
|
|
38837
|
-
function
|
|
38831
|
+
function _k({ onChange: e, className: t = "", value: n = "none", disabled: r = !1 }) {
|
|
38838
38832
|
return /* @__PURE__ */ x(sm, {
|
|
38839
|
-
options:
|
|
38840
|
-
defaultOption:
|
|
38833
|
+
options: gk,
|
|
38834
|
+
defaultOption: gk.find((e) => e.value === n) || gk[0],
|
|
38841
38835
|
onChange: (t) => {
|
|
38842
38836
|
e(t.value);
|
|
38843
38837
|
},
|
|
@@ -38847,46 +38841,46 @@ function vk({ onChange: e, className: t = "", value: n = "none", disabled: r = !
|
|
|
38847
38841
|
}
|
|
38848
38842
|
//#endregion
|
|
38849
38843
|
//#region src/attributes/common/gender/AttributeCommonGenderNonEdit.tsx
|
|
38850
|
-
function
|
|
38844
|
+
function vk({ value: e }) {
|
|
38851
38845
|
return e ? /* @__PURE__ */ x(Ja, {
|
|
38852
38846
|
className: "text-gray-600 text-sm",
|
|
38853
|
-
text:
|
|
38854
|
-
}) : /* @__PURE__ */ x(
|
|
38847
|
+
text: hk[e]
|
|
38848
|
+
}) : /* @__PURE__ */ x(PO, {});
|
|
38855
38849
|
}
|
|
38856
38850
|
//#endregion
|
|
38857
38851
|
//#region src/attributes/common/gender/AttributeCommonGenderDisplay.tsx
|
|
38858
|
-
function
|
|
38859
|
-
return /* @__PURE__ */ x(
|
|
38860
|
-
label:
|
|
38861
|
-
value: /* @__PURE__ */ x(
|
|
38852
|
+
function yk({ value: e }) {
|
|
38853
|
+
return /* @__PURE__ */ x(LO, {
|
|
38854
|
+
label: ZO({ attributeType: "gender" }),
|
|
38855
|
+
value: /* @__PURE__ */ x(vk, { value: e })
|
|
38862
38856
|
});
|
|
38863
38857
|
}
|
|
38864
38858
|
//#endregion
|
|
38865
38859
|
//#region src/attributes/common/handedness/util.ts
|
|
38866
|
-
var
|
|
38860
|
+
var bk = {
|
|
38867
38861
|
none: "Unspecified",
|
|
38868
38862
|
left: "Left",
|
|
38869
38863
|
right: "Right"
|
|
38870
|
-
},
|
|
38864
|
+
}, xk = [
|
|
38871
38865
|
{
|
|
38872
38866
|
value: "none",
|
|
38873
|
-
label:
|
|
38867
|
+
label: bk.none
|
|
38874
38868
|
},
|
|
38875
38869
|
{
|
|
38876
38870
|
value: "left",
|
|
38877
|
-
label:
|
|
38871
|
+
label: bk.left
|
|
38878
38872
|
},
|
|
38879
38873
|
{
|
|
38880
38874
|
value: "right",
|
|
38881
|
-
label:
|
|
38875
|
+
label: bk.right
|
|
38882
38876
|
}
|
|
38883
38877
|
];
|
|
38884
38878
|
//#endregion
|
|
38885
38879
|
//#region src/attributes/common/handedness/AttributeCommonHandednessEditing.tsx
|
|
38886
|
-
function
|
|
38880
|
+
function Sk({ onChange: e, className: t = "", value: n = "none", disabled: r = !1 }) {
|
|
38887
38881
|
return /* @__PURE__ */ x(sm, {
|
|
38888
|
-
options:
|
|
38889
|
-
defaultOption:
|
|
38882
|
+
options: xk,
|
|
38883
|
+
defaultOption: xk.find((e) => e.value === n),
|
|
38890
38884
|
onChange: (t) => {
|
|
38891
38885
|
e(t.value);
|
|
38892
38886
|
},
|
|
@@ -38896,27 +38890,38 @@ function Ck({ onChange: e, className: t = "", value: n = "none", disabled: r = !
|
|
|
38896
38890
|
}
|
|
38897
38891
|
//#endregion
|
|
38898
38892
|
//#region src/attributes/common/handedness/AttributeCommonHandednessNonEdit.tsx
|
|
38899
|
-
function
|
|
38900
|
-
return /* @__PURE__ */ x(Ja, { text:
|
|
38893
|
+
function Ck({ value: e }) {
|
|
38894
|
+
return /* @__PURE__ */ x(Ja, { text: bk[e] });
|
|
38901
38895
|
}
|
|
38902
38896
|
//#endregion
|
|
38903
38897
|
//#region src/attributes/common/handedness/AttributeCommonHandednessDisplay.tsx
|
|
38904
|
-
function
|
|
38905
|
-
return /* @__PURE__ */ x(
|
|
38906
|
-
label:
|
|
38907
|
-
value: /* @__PURE__ */ x(
|
|
38898
|
+
function wk({ value: e }) {
|
|
38899
|
+
return /* @__PURE__ */ x(LO, {
|
|
38900
|
+
label: ZO({ attributeType: "handedness" }),
|
|
38901
|
+
value: /* @__PURE__ */ x(Ck, { value: e })
|
|
38908
38902
|
});
|
|
38909
38903
|
}
|
|
38910
38904
|
//#endregion
|
|
38911
38905
|
//#region src/attributes/common/dob/AttributeCommonDobNonEdit.tsx
|
|
38906
|
+
function Tk(e) {
|
|
38907
|
+
let [t, n, r] = e.split("-").map(Number);
|
|
38908
|
+
return new Date(t, n - 1, r).toLocaleDateString("en-US", {
|
|
38909
|
+
month: "short",
|
|
38910
|
+
day: "numeric",
|
|
38911
|
+
year: "numeric"
|
|
38912
|
+
});
|
|
38913
|
+
}
|
|
38912
38914
|
function Ek({ value: e }) {
|
|
38913
|
-
return e ? /* @__PURE__ */ x(
|
|
38915
|
+
return e ? /* @__PURE__ */ x("div", {
|
|
38916
|
+
className: "text-gray-600 text-sm",
|
|
38917
|
+
children: Tk(e)
|
|
38918
|
+
}) : /* @__PURE__ */ x(PO, {});
|
|
38914
38919
|
}
|
|
38915
38920
|
//#endregion
|
|
38916
38921
|
//#region src/attributes/common/dob/AttributeCommonDobDisplay.tsx
|
|
38917
38922
|
function Dk({ value: e }) {
|
|
38918
|
-
return /* @__PURE__ */ x(
|
|
38919
|
-
label:
|
|
38923
|
+
return /* @__PURE__ */ x(LO, {
|
|
38924
|
+
label: ZO({ attributeType: "dob" }),
|
|
38920
38925
|
value: /* @__PURE__ */ x(Ek, { value: e })
|
|
38921
38926
|
});
|
|
38922
38927
|
}
|
|
@@ -38935,13 +38940,13 @@ function kk({ value: e }) {
|
|
|
38935
38940
|
return e ? /* @__PURE__ */ x(Ja, {
|
|
38936
38941
|
text: `${e} cm`,
|
|
38937
38942
|
className: "AttributeCollectionPetHeightNonEdit"
|
|
38938
|
-
}) : /* @__PURE__ */ x(
|
|
38943
|
+
}) : /* @__PURE__ */ x(PO, {});
|
|
38939
38944
|
}
|
|
38940
38945
|
//#endregion
|
|
38941
38946
|
//#region src/attributes/collection/pets/height/AttributeCollectionPetHeightDisplay.tsx
|
|
38942
38947
|
function Ak({ value: e }) {
|
|
38943
|
-
return /* @__PURE__ */ x(
|
|
38944
|
-
label:
|
|
38948
|
+
return /* @__PURE__ */ x(LO, {
|
|
38949
|
+
label: tk({
|
|
38945
38950
|
categoryType: "2_pets",
|
|
38946
38951
|
attributeType: "height"
|
|
38947
38952
|
}),
|
|
@@ -38954,13 +38959,13 @@ function jk({ value: e }) {
|
|
|
38954
38959
|
return e ? /* @__PURE__ */ x(Ja, {
|
|
38955
38960
|
text: `${e} kg`,
|
|
38956
38961
|
className: "AttributeCollectionPetWeightNonEdit"
|
|
38957
|
-
}) : /* @__PURE__ */ x(
|
|
38962
|
+
}) : /* @__PURE__ */ x(PO, {});
|
|
38958
38963
|
}
|
|
38959
38964
|
//#endregion
|
|
38960
38965
|
//#region src/attributes/collection/pets/weight/AttributeCollectionPetWeightDisplay.tsx
|
|
38961
38966
|
function Mk({ value: e }) {
|
|
38962
|
-
return /* @__PURE__ */ x(
|
|
38963
|
-
label:
|
|
38967
|
+
return /* @__PURE__ */ x(LO, {
|
|
38968
|
+
label: tk({
|
|
38964
38969
|
categoryType: "2_pets",
|
|
38965
38970
|
attributeType: "weight"
|
|
38966
38971
|
}),
|
|
@@ -38973,13 +38978,13 @@ function Nk({ value: e }) {
|
|
|
38973
38978
|
return e ? /* @__PURE__ */ x(Ja, {
|
|
38974
38979
|
text: e,
|
|
38975
38980
|
placeholder: "Enter breed..."
|
|
38976
|
-
}) : /* @__PURE__ */ x(
|
|
38981
|
+
}) : /* @__PURE__ */ x(PO, {});
|
|
38977
38982
|
}
|
|
38978
38983
|
//#endregion
|
|
38979
38984
|
//#region src/attributes/collection/pets/breed/AttributeCollectionPetBreedDisplay.tsx
|
|
38980
38985
|
function Pk({ value: e }) {
|
|
38981
|
-
return /* @__PURE__ */ x(
|
|
38982
|
-
label:
|
|
38986
|
+
return /* @__PURE__ */ x(LO, {
|
|
38987
|
+
label: tk({
|
|
38983
38988
|
categoryType: "2_pets",
|
|
38984
38989
|
attributeType: "breed"
|
|
38985
38990
|
}),
|
|
@@ -39143,7 +39148,7 @@ function Kk({ onChange: e, pickedType: t, disabled: n = !1, className: r = "" })
|
|
|
39143
39148
|
//#endregion
|
|
39144
39149
|
//#region src/main/profile/leaderboard/LeaderboardTypeTag.tsx
|
|
39145
39150
|
function qk({ leaderboardType: e, label: t, isHighlighted: n, onClick: r, className: i }) {
|
|
39146
|
-
return /* @__PURE__ */ x(
|
|
39151
|
+
return /* @__PURE__ */ x($D, {
|
|
39147
39152
|
label: t,
|
|
39148
39153
|
color: e,
|
|
39149
39154
|
isHighlighted: n,
|
|
@@ -39198,7 +39203,7 @@ function Zk({ options: e, onChange: t, pickedType: n, disabled: r = !1, classNam
|
|
|
39198
39203
|
//#endregion
|
|
39199
39204
|
//#region src/main/profile/game/GameTypeTag.tsx
|
|
39200
39205
|
function Qk({ gameType: e, label: t, isHighlighted: n, onClick: r, className: i }) {
|
|
39201
|
-
return /* @__PURE__ */ x(
|
|
39206
|
+
return /* @__PURE__ */ x($D, {
|
|
39202
39207
|
label: t,
|
|
39203
39208
|
color: e,
|
|
39204
39209
|
isHighlighted: n,
|
|
@@ -39316,7 +39321,7 @@ function aA({ options: e, pickedType: t, onChange: n, disabled: r = !1, classNam
|
|
|
39316
39321
|
//#endregion
|
|
39317
39322
|
//#region src/main/profile/market/MarketTypeTag.tsx
|
|
39318
39323
|
function oA({ marketType: e, label: t, isHighlighted: n, onClick: r, className: i }) {
|
|
39319
|
-
return /* @__PURE__ */ x(
|
|
39324
|
+
return /* @__PURE__ */ x($D, {
|
|
39320
39325
|
label: t,
|
|
39321
39326
|
color: e,
|
|
39322
39327
|
isHighlighted: n,
|
|
@@ -39344,11 +39349,11 @@ function sA({ className: e = "", tagClassName: t = "", marketMetas: n, pickedMar
|
|
|
39344
39349
|
function cA({ id: e, name: t, marketTypeLabel: n, marketType: r, avatarImageID: i = "", className: a = "", onClick: o = Ft }) {
|
|
39345
39350
|
return /* @__PURE__ */ S(ao, {
|
|
39346
39351
|
className: Pt("items-center", a),
|
|
39347
|
-
children: [/* @__PURE__ */ x(
|
|
39352
|
+
children: [/* @__PURE__ */ x(nO, {
|
|
39348
39353
|
label: t,
|
|
39349
39354
|
onClick: o,
|
|
39350
|
-
imgSrc:
|
|
39351
|
-
fallbackImgSrc:
|
|
39355
|
+
imgSrc: nk("market", e, i, "sm"),
|
|
39356
|
+
fallbackImgSrc: nk("market", e, i, "lg")
|
|
39352
39357
|
}), /* @__PURE__ */ x(oA, {
|
|
39353
39358
|
marketType: r,
|
|
39354
39359
|
label: n
|
|
@@ -48406,11 +48411,11 @@ function lP({ profileType: e, label: t = "", isHighlighted: n = !1, onClick: r =
|
|
|
48406
48411
|
//#endregion
|
|
48407
48412
|
//#region src/main/profile/ProfileStatusControl.tsx
|
|
48408
48413
|
function uP({ status: e, onClick: t = Ft, className: n = "" }) {
|
|
48409
|
-
return e === "active" ? /* @__PURE__ */ x(
|
|
48414
|
+
return e === "active" ? /* @__PURE__ */ x(HD, {
|
|
48410
48415
|
onClick: t,
|
|
48411
48416
|
className: n,
|
|
48412
48417
|
label: "Deactivate"
|
|
48413
|
-
}) : e === "deletedByUser" ? /* @__PURE__ */ x(
|
|
48418
|
+
}) : e === "deletedByUser" ? /* @__PURE__ */ x(UD, {
|
|
48414
48419
|
onClick: t,
|
|
48415
48420
|
className: n,
|
|
48416
48421
|
label: "Reactivate"
|
|
@@ -48497,7 +48502,7 @@ function _P({ options: e, pickedType: t, onChange: n, disabled: r = !1, classNam
|
|
|
48497
48502
|
//#endregion
|
|
48498
48503
|
//#region src/main/collection/CollectionTypeTag.tsx
|
|
48499
48504
|
function vP({ collectionType: e, label: t, isHighlighted: n, onClick: r, className: i }) {
|
|
48500
|
-
return /* @__PURE__ */ x(
|
|
48505
|
+
return /* @__PURE__ */ x($D, {
|
|
48501
48506
|
label: t,
|
|
48502
48507
|
color: e,
|
|
48503
48508
|
isHighlighted: n,
|
|
@@ -48525,11 +48530,11 @@ function yP({ className: e = "", tagClassName: t = "", collectionMetas: n, picke
|
|
|
48525
48530
|
function bP({ id: e, name: t, collectionTypeLabel: n, collectionType: r, avatarImageID: i = "", className: a = "", onClick: o = Ft }) {
|
|
48526
48531
|
return /* @__PURE__ */ S(ao, {
|
|
48527
48532
|
className: Pt("items-center", a),
|
|
48528
|
-
children: [/* @__PURE__ */ x(
|
|
48533
|
+
children: [/* @__PURE__ */ x(nO, {
|
|
48529
48534
|
label: t,
|
|
48530
48535
|
onClick: o,
|
|
48531
|
-
imgSrc:
|
|
48532
|
-
fallbackImgSrc:
|
|
48536
|
+
imgSrc: nk("collection", e, i, "sm"),
|
|
48537
|
+
fallbackImgSrc: nk("collection", e, i, "lg")
|
|
48533
48538
|
}), /* @__PURE__ */ x(vP, {
|
|
48534
48539
|
collectionType: r,
|
|
48535
48540
|
label: n
|
|
@@ -48543,19 +48548,19 @@ function xP({ address: e, locationType: t = "none", onClick: n = Ft, isVertical:
|
|
|
48543
48548
|
className: "text-gray-600 bg-white rounded-lg w-fit",
|
|
48544
48549
|
children: (() => {
|
|
48545
48550
|
switch (t) {
|
|
48546
|
-
case "street": return /* @__PURE__ */ x(
|
|
48551
|
+
case "street": return /* @__PURE__ */ x(GD, {
|
|
48547
48552
|
label: e,
|
|
48548
48553
|
onClick: n,
|
|
48549
48554
|
isVertical: r,
|
|
48550
48555
|
svgSize: i
|
|
48551
48556
|
});
|
|
48552
|
-
case "city": return /* @__PURE__ */ x(
|
|
48557
|
+
case "city": return /* @__PURE__ */ x(WD, {
|
|
48553
48558
|
label: e,
|
|
48554
48559
|
onClick: n,
|
|
48555
48560
|
isVertical: r,
|
|
48556
48561
|
svgSize: i
|
|
48557
48562
|
});
|
|
48558
|
-
default: return /* @__PURE__ */ x(
|
|
48563
|
+
default: return /* @__PURE__ */ x(KD, {
|
|
48559
48564
|
label: e,
|
|
48560
48565
|
onClick: n,
|
|
48561
48566
|
isVertical: r,
|
|
@@ -48574,7 +48579,7 @@ function SP({ onSubmit: e, onCancel: t = Ft, notePlaceholder: n = "Add a note (o
|
|
|
48574
48579
|
children: [
|
|
48575
48580
|
/* @__PURE__ */ x(Wo, {
|
|
48576
48581
|
name: "content-violation-reason",
|
|
48577
|
-
items:
|
|
48582
|
+
items: rk.map((e) => ({
|
|
48578
48583
|
label: e.label,
|
|
48579
48584
|
value: e.key
|
|
48580
48585
|
})),
|
|
@@ -48590,7 +48595,7 @@ function SP({ onSubmit: e, onCancel: t = Ft, notePlaceholder: n = "Add a note (o
|
|
|
48590
48595
|
/* @__PURE__ */ x(Mo, {
|
|
48591
48596
|
saveLabel: "Submit",
|
|
48592
48597
|
onSave: () => {
|
|
48593
|
-
let t =
|
|
48598
|
+
let t = rk.find((e) => e.key === i);
|
|
48594
48599
|
t && e(t, o.trim() || void 0);
|
|
48595
48600
|
},
|
|
48596
48601
|
onCancel: t,
|
|
@@ -48653,10 +48658,10 @@ function TP({ onReport: e, onBlock: t, username: n, notePlaceholder: r = "Add a
|
|
|
48653
48658
|
e(t, n), l();
|
|
48654
48659
|
}, d = () => {
|
|
48655
48660
|
t(), l();
|
|
48656
|
-
}, f = /* @__PURE__ */ S(ao, { children: [/* @__PURE__ */ x(
|
|
48661
|
+
}, f = /* @__PURE__ */ S(ao, { children: [/* @__PURE__ */ x(RD, {
|
|
48657
48662
|
isHighlighted: s === "report",
|
|
48658
48663
|
onClick: () => c("report")
|
|
48659
|
-
}), /* @__PURE__ */ x(
|
|
48664
|
+
}), /* @__PURE__ */ x(VD, {
|
|
48660
48665
|
isHighlighted: s === "block",
|
|
48661
48666
|
onClick: () => c("block")
|
|
48662
48667
|
})] }), p = s === "report" ? /* @__PURE__ */ x(SP, {
|
|
@@ -48771,7 +48776,7 @@ function jP({ onClick: e, className: t = "" }) {
|
|
|
48771
48776
|
//#region src/common/PlayerTag.tsx
|
|
48772
48777
|
function MP({ playerType: e, playerLabel: t }) {
|
|
48773
48778
|
let n = "";
|
|
48774
|
-
return e === "uoi" ? n = "Individual" : e === "team" ? n = "Team" : e === "collection" && (n = "Collection"), t && (n = t), /* @__PURE__ */ x(
|
|
48779
|
+
return e === "uoi" ? n = "Individual" : e === "team" ? n = "Team" : e === "collection" && (n = "Collection"), t && (n = t), /* @__PURE__ */ x($D, {
|
|
48775
48780
|
label: n,
|
|
48776
48781
|
color: e
|
|
48777
48782
|
});
|
|
@@ -48785,8 +48790,16 @@ function NP({ className: e = "", isHighlighted: t = !1 }) {
|
|
|
48785
48790
|
});
|
|
48786
48791
|
}
|
|
48787
48792
|
//#endregion
|
|
48793
|
+
//#region src/common/EditedLabel.tsx
|
|
48794
|
+
function PP({ isEdited: e = !1 }) {
|
|
48795
|
+
return e ? /* @__PURE__ */ x("span", {
|
|
48796
|
+
className: "text-xs text-gray-400",
|
|
48797
|
+
children: "(edited)"
|
|
48798
|
+
}) : null;
|
|
48799
|
+
}
|
|
48800
|
+
//#endregion
|
|
48788
48801
|
//#region src/common/inviteByEmails/EmailAddForm.tsx
|
|
48789
|
-
function
|
|
48802
|
+
function FP({ input: e, noteInput: t, error: n, addedNote: r, onInputChange: i, onNoteChange: a, onAdd: o, onClear: s }) {
|
|
48790
48803
|
return /* @__PURE__ */ S(b, { children: [
|
|
48791
48804
|
/* @__PURE__ */ S(Po, {
|
|
48792
48805
|
submitLabel: "Add",
|
|
@@ -48817,7 +48830,7 @@ function PP({ input: e, noteInput: t, error: n, addedNote: r, onInputChange: i,
|
|
|
48817
48830
|
}
|
|
48818
48831
|
//#endregion
|
|
48819
48832
|
//#region src/common/inviteByEmails/EmailEntryItem.tsx
|
|
48820
|
-
function
|
|
48833
|
+
function IP({ index: e, email: t, note: n, onRemove: r }) {
|
|
48821
48834
|
return /* @__PURE__ */ S(ao, {
|
|
48822
48835
|
className: "gap-1 w-full items-start",
|
|
48823
48836
|
children: [
|
|
@@ -48847,10 +48860,10 @@ function FP({ index: e, email: t, note: n, onRemove: r }) {
|
|
|
48847
48860
|
}
|
|
48848
48861
|
//#endregion
|
|
48849
48862
|
//#region src/common/inviteByEmails/EmailEntryList.tsx
|
|
48850
|
-
function
|
|
48863
|
+
function LP({ entries: e, onRemove: t }) {
|
|
48851
48864
|
return e.length === 0 ? null : /* @__PURE__ */ x(oo, {
|
|
48852
48865
|
className: "gap-2 w-full",
|
|
48853
|
-
children: e.map(({ email: e, note: n }, r) => /* @__PURE__ */ x(
|
|
48866
|
+
children: e.map(({ email: e, note: n }, r) => /* @__PURE__ */ x(IP, {
|
|
48854
48867
|
index: r + 1,
|
|
48855
48868
|
email: e,
|
|
48856
48869
|
note: n,
|
|
@@ -48860,7 +48873,7 @@ function IP({ entries: e, onRemove: t }) {
|
|
|
48860
48873
|
}
|
|
48861
48874
|
//#endregion
|
|
48862
48875
|
//#region src/common/inviteByEmails/InviteByEmails.tsx
|
|
48863
|
-
function
|
|
48876
|
+
function RP({ onInvite: e, disabled: t, unsentEmails: n, errorMessage: r, className: i = "" }) {
|
|
48864
48877
|
let [a, o] = y(!1), [s, c] = y(""), [l, u] = y(""), [d, f] = y([]), [p, h] = y(""), [g, _] = y(""), [v, C] = y(!1), w = () => {
|
|
48865
48878
|
let e = s.trim();
|
|
48866
48879
|
if (!Sn(e)) {
|
|
@@ -48903,7 +48916,7 @@ function LP({ onInvite: e, disabled: t, unsentEmails: n, errorMessage: r, classN
|
|
|
48903
48916
|
content: /* @__PURE__ */ S(oo, {
|
|
48904
48917
|
className: "gap-3 w-full",
|
|
48905
48918
|
children: [
|
|
48906
|
-
/* @__PURE__ */ x(
|
|
48919
|
+
/* @__PURE__ */ x(FP, {
|
|
48907
48920
|
input: s,
|
|
48908
48921
|
noteInput: l,
|
|
48909
48922
|
error: p,
|
|
@@ -48915,7 +48928,7 @@ function LP({ onInvite: e, disabled: t, unsentEmails: n, errorMessage: r, classN
|
|
|
48915
48928
|
onAdd: w,
|
|
48916
48929
|
onClear: T
|
|
48917
48930
|
}),
|
|
48918
|
-
/* @__PURE__ */ x(
|
|
48931
|
+
/* @__PURE__ */ x(LP, {
|
|
48919
48932
|
entries: d,
|
|
48920
48933
|
onRemove: (e) => {
|
|
48921
48934
|
f(d.filter((t) => t.email !== e));
|
|
@@ -48938,7 +48951,7 @@ function LP({ onInvite: e, disabled: t, unsentEmails: n, errorMessage: r, classN
|
|
|
48938
48951
|
}
|
|
48939
48952
|
//#endregion
|
|
48940
48953
|
//#region src/common/message/MessageInput.tsx
|
|
48941
|
-
function
|
|
48954
|
+
function zP({ onSend: e, disabled: t = !1, autoFocus: n = !1, initialContent: r = "" }) {
|
|
48942
48955
|
let [i, a] = y(r);
|
|
48943
48956
|
return /* @__PURE__ */ S(oo, {
|
|
48944
48957
|
className: "w-full bg-white mt-5 border border-gray-300 rounded-2xl px-3 pt-2 pb-1 gap-1",
|
|
@@ -48965,7 +48978,7 @@ function RP({ onSend: e, disabled: t = !1, autoFocus: n = !1, initialContent: r
|
|
|
48965
48978
|
}
|
|
48966
48979
|
//#endregion
|
|
48967
48980
|
//#region src/common/message/MessageSender.tsx
|
|
48968
|
-
function
|
|
48981
|
+
function BP({ onSend: e, errorMessage: t, disabled: n, label: r = "Message", defaultContent: i = "" }) {
|
|
48969
48982
|
let [a, o] = y(!1), [s, c] = y(!1), l = () => {
|
|
48970
48983
|
o(!1), c(!1);
|
|
48971
48984
|
};
|
|
@@ -48975,7 +48988,7 @@ function zP({ onSend: e, errorMessage: t, disabled: n, label: r = "Message", def
|
|
|
48975
48988
|
s,
|
|
48976
48989
|
t,
|
|
48977
48990
|
n
|
|
48978
|
-
]), /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x(
|
|
48991
|
+
]), /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x(FD, {
|
|
48979
48992
|
label: r,
|
|
48980
48993
|
onClick: () => o(!0)
|
|
48981
48994
|
}), /* @__PURE__ */ x(ko, {
|
|
@@ -48985,7 +48998,7 @@ function zP({ onSend: e, errorMessage: t, disabled: n, label: r = "Message", def
|
|
|
48985
48998
|
isHeaderHidden: !0,
|
|
48986
48999
|
content: /* @__PURE__ */ S(oo, {
|
|
48987
49000
|
className: "gap-2 w-full",
|
|
48988
|
-
children: [/* @__PURE__ */ x(
|
|
49001
|
+
children: [/* @__PURE__ */ x(zP, {
|
|
48989
49002
|
onSend: (t) => {
|
|
48990
49003
|
e(t), c(!0);
|
|
48991
49004
|
},
|
|
@@ -48998,7 +49011,7 @@ function zP({ onSend: e, errorMessage: t, disabled: n, label: r = "Message", def
|
|
|
48998
49011
|
}
|
|
48999
49012
|
//#endregion
|
|
49000
49013
|
//#region src/interests/svgs/CategorySvg.tsx
|
|
49001
|
-
var
|
|
49014
|
+
var VP = {
|
|
49002
49015
|
"1_sports": uA,
|
|
49003
49016
|
"2_pets": dA,
|
|
49004
49017
|
"3_cardgames": uM,
|
|
@@ -49007,8 +49020,8 @@ var BP = {
|
|
|
49007
49020
|
"6_leisure": pM,
|
|
49008
49021
|
"7_languages": mM
|
|
49009
49022
|
};
|
|
49010
|
-
function
|
|
49011
|
-
let r =
|
|
49023
|
+
function HP({ categoryType: e, size: t = lA.md, className: n = "" }) {
|
|
49024
|
+
let r = VP[e];
|
|
49012
49025
|
return r ? /* @__PURE__ */ x(r, {
|
|
49013
49026
|
size: t,
|
|
49014
49027
|
className: n
|
|
@@ -49016,7 +49029,7 @@ function VP({ categoryType: e, size: t = lA.md, className: n = "" }) {
|
|
|
49016
49029
|
}
|
|
49017
49030
|
//#endregion
|
|
49018
49031
|
//#region src/interests/svgs/interestsByCategoryType/createInterestSvg.tsx
|
|
49019
|
-
function
|
|
49032
|
+
function UP(e) {
|
|
49020
49033
|
return ({ interestType: t, className: n, size: r }) => {
|
|
49021
49034
|
let i = e[t];
|
|
49022
49035
|
return i && /* @__PURE__ */ x(i, {
|
|
@@ -49027,8 +49040,8 @@ function HP(e) {
|
|
|
49027
49040
|
}
|
|
49028
49041
|
//#endregion
|
|
49029
49042
|
//#region src/interests/svgs/InterestSvg.tsx
|
|
49030
|
-
var
|
|
49031
|
-
"1_sports":
|
|
49043
|
+
var WP = {
|
|
49044
|
+
"1_sports": UP({
|
|
49032
49045
|
tennis: _M,
|
|
49033
49046
|
pickleball: TM,
|
|
49034
49047
|
basketball: yM,
|
|
@@ -49050,16 +49063,16 @@ var UP = {
|
|
|
49050
49063
|
boating: NM,
|
|
49051
49064
|
jetskiing: PM
|
|
49052
49065
|
}),
|
|
49053
|
-
"2_pets":
|
|
49066
|
+
"2_pets": UP({
|
|
49054
49067
|
cat: IM,
|
|
49055
49068
|
dog: FM
|
|
49056
49069
|
}),
|
|
49057
|
-
"3_cardgames":
|
|
49070
|
+
"3_cardgames": UP({
|
|
49058
49071
|
texasholdem: QM,
|
|
49059
49072
|
omaha: $M,
|
|
49060
49073
|
blackjack: eN
|
|
49061
49074
|
}),
|
|
49062
|
-
"4_music":
|
|
49075
|
+
"4_music": UP({
|
|
49063
49076
|
guitar: LM,
|
|
49064
49077
|
singing: RM,
|
|
49065
49078
|
bass: zM,
|
|
@@ -49075,7 +49088,7 @@ var UP = {
|
|
|
49075
49088
|
tuba: XM,
|
|
49076
49089
|
violin: ZM
|
|
49077
49090
|
}),
|
|
49078
|
-
"5_travel":
|
|
49091
|
+
"5_travel": UP({
|
|
49079
49092
|
beach: tN,
|
|
49080
49093
|
cave: nN,
|
|
49081
49094
|
cruise: rN,
|
|
@@ -49100,7 +49113,7 @@ var UP = {
|
|
|
49100
49113
|
wildlife: SN,
|
|
49101
49114
|
zoo: CN
|
|
49102
49115
|
}),
|
|
49103
|
-
"6_leisure":
|
|
49116
|
+
"6_leisure": UP({
|
|
49104
49117
|
camping: wN,
|
|
49105
49118
|
concert: TN,
|
|
49106
49119
|
dining: EN,
|
|
@@ -49110,7 +49123,7 @@ var UP = {
|
|
|
49110
49123
|
show: AN,
|
|
49111
49124
|
walking: jN
|
|
49112
49125
|
}),
|
|
49113
|
-
"7_languages":
|
|
49126
|
+
"7_languages": UP({
|
|
49114
49127
|
arabic: zN,
|
|
49115
49128
|
chinese: FN,
|
|
49116
49129
|
dutch: KN,
|
|
@@ -49133,8 +49146,8 @@ var UP = {
|
|
|
49133
49146
|
vietnamese: QN
|
|
49134
49147
|
})
|
|
49135
49148
|
};
|
|
49136
|
-
function
|
|
49137
|
-
let i =
|
|
49149
|
+
function GP({ interestType: e, categoryType: t, size: n = lA.sm, className: r = "" }) {
|
|
49150
|
+
let i = WP[t];
|
|
49138
49151
|
return i && /* @__PURE__ */ x(i, {
|
|
49139
49152
|
interestType: e,
|
|
49140
49153
|
size: n,
|
|
@@ -49143,12 +49156,12 @@ function WP({ interestType: e, categoryType: t, size: n = lA.sm, className: r =
|
|
|
49143
49156
|
}
|
|
49144
49157
|
//#endregion
|
|
49145
49158
|
//#region src/interests/CategoryTag.tsx
|
|
49146
|
-
function
|
|
49159
|
+
function KP({ isHighlighted: e, onClick: t = Ft, className: n = "", categoryType: r, label: i }) {
|
|
49147
49160
|
let a = r === "2_pets" || r === "6_leisure";
|
|
49148
49161
|
return /* @__PURE__ */ S(ro, {
|
|
49149
49162
|
className: Pt(`${e ? "border-purple-300" : "border-gray-300"} gap-0 rounded-full border px-1 py-0`, n),
|
|
49150
49163
|
onClick: t,
|
|
49151
|
-
children: [/* @__PURE__ */ x(
|
|
49164
|
+
children: [/* @__PURE__ */ x(HP, {
|
|
49152
49165
|
categoryType: r,
|
|
49153
49166
|
size: lA.xs,
|
|
49154
49167
|
className: Pt(e ? "text-purple-300 stroke-purple-300" : "text-gray-600 stroke-gray-600", a ? e ? "fill-purple-300" : "fill-gray-600" : "")
|
|
@@ -49160,8 +49173,8 @@ function GP({ isHighlighted: e, onClick: t = Ft, className: n = "", categoryType
|
|
|
49160
49173
|
}
|
|
49161
49174
|
//#endregion
|
|
49162
49175
|
//#region src/interests/interestIcon/InterestIcon.tsx
|
|
49163
|
-
function
|
|
49164
|
-
return /* @__PURE__ */ x(
|
|
49176
|
+
function qP({ isHighlighted: e, className: t = "", categoryType: n, interestType: r }) {
|
|
49177
|
+
return /* @__PURE__ */ x(GP, {
|
|
49165
49178
|
interestType: r,
|
|
49166
49179
|
categoryType: n,
|
|
49167
49180
|
size: lA.xs,
|
|
@@ -49170,10 +49183,10 @@ function KP({ isHighlighted: e, className: t = "", categoryType: n, interestType
|
|
|
49170
49183
|
}
|
|
49171
49184
|
//#endregion
|
|
49172
49185
|
//#region src/interests/interestIcon/SportsInterestIcons.tsx
|
|
49173
|
-
function
|
|
49186
|
+
function JP({ isHighlighted: e = !1, className: t = "" }) {
|
|
49174
49187
|
return /* @__PURE__ */ x(ao, {
|
|
49175
49188
|
className: Pt("flex-wrap", t),
|
|
49176
|
-
children:
|
|
49189
|
+
children: KO.map((t) => /* @__PURE__ */ x(qP, {
|
|
49177
49190
|
categoryType: "1_sports",
|
|
49178
49191
|
interestType: t,
|
|
49179
49192
|
isHighlighted: e
|
|
@@ -49182,10 +49195,10 @@ function qP({ isHighlighted: e = !1, className: t = "" }) {
|
|
|
49182
49195
|
}
|
|
49183
49196
|
//#endregion
|
|
49184
49197
|
//#region src/interests/interestIcon/PetsInterestIcons.tsx
|
|
49185
|
-
function
|
|
49198
|
+
function YP({ isHighlighted: e = !1, className: t = "" }) {
|
|
49186
49199
|
return /* @__PURE__ */ x(ao, {
|
|
49187
49200
|
className: Pt("flex-wrap", t),
|
|
49188
|
-
children:
|
|
49201
|
+
children: GO.map((t) => /* @__PURE__ */ x(qP, {
|
|
49189
49202
|
categoryType: "2_pets",
|
|
49190
49203
|
interestType: t,
|
|
49191
49204
|
isHighlighted: e
|
|
@@ -49194,10 +49207,10 @@ function JP({ isHighlighted: e = !1, className: t = "" }) {
|
|
|
49194
49207
|
}
|
|
49195
49208
|
//#endregion
|
|
49196
49209
|
//#region src/interests/interestIcon/CardGamesInterestIcons.tsx
|
|
49197
|
-
function
|
|
49210
|
+
function XP({ isHighlighted: e = !1, className: t = "" }) {
|
|
49198
49211
|
return /* @__PURE__ */ x(ao, {
|
|
49199
49212
|
className: Pt("flex-wrap", t),
|
|
49200
|
-
children:
|
|
49213
|
+
children: UO.map((t) => /* @__PURE__ */ x(qP, {
|
|
49201
49214
|
categoryType: "3_cardgames",
|
|
49202
49215
|
interestType: t,
|
|
49203
49216
|
isHighlighted: e
|
|
@@ -49206,10 +49219,10 @@ function YP({ isHighlighted: e = !1, className: t = "" }) {
|
|
|
49206
49219
|
}
|
|
49207
49220
|
//#endregion
|
|
49208
49221
|
//#region src/interests/interestIcon/MusicInterestIcons.tsx
|
|
49209
|
-
function
|
|
49222
|
+
function ZP({ isHighlighted: e = !1, className: t = "" }) {
|
|
49210
49223
|
return /* @__PURE__ */ x(ao, {
|
|
49211
49224
|
className: Pt("flex-wrap", t),
|
|
49212
|
-
children:
|
|
49225
|
+
children: WO.map((t) => /* @__PURE__ */ x(qP, {
|
|
49213
49226
|
categoryType: "4_music",
|
|
49214
49227
|
interestType: t,
|
|
49215
49228
|
isHighlighted: e
|
|
@@ -49218,10 +49231,10 @@ function XP({ isHighlighted: e = !1, className: t = "" }) {
|
|
|
49218
49231
|
}
|
|
49219
49232
|
//#endregion
|
|
49220
49233
|
//#region src/interests/interestIcon/TravelInterestIcons.tsx
|
|
49221
|
-
function
|
|
49234
|
+
function QP({ isHighlighted: e = !1, className: t = "" }) {
|
|
49222
49235
|
return /* @__PURE__ */ x(ao, {
|
|
49223
49236
|
className: Pt("flex-wrap", t),
|
|
49224
|
-
children:
|
|
49237
|
+
children: qO.map((t) => /* @__PURE__ */ x(qP, {
|
|
49225
49238
|
categoryType: "5_travel",
|
|
49226
49239
|
interestType: t,
|
|
49227
49240
|
isHighlighted: e
|
|
@@ -49230,10 +49243,10 @@ function ZP({ isHighlighted: e = !1, className: t = "" }) {
|
|
|
49230
49243
|
}
|
|
49231
49244
|
//#endregion
|
|
49232
49245
|
//#region src/interests/interestIcon/LeisureInterestIcons.tsx
|
|
49233
|
-
function
|
|
49246
|
+
function $P({ isHighlighted: e = !1, className: t = "" }) {
|
|
49234
49247
|
return /* @__PURE__ */ x(ao, {
|
|
49235
49248
|
className: Pt("flex-wrap", t),
|
|
49236
|
-
children:
|
|
49249
|
+
children: JO.map((t) => /* @__PURE__ */ x(qP, {
|
|
49237
49250
|
categoryType: "6_leisure",
|
|
49238
49251
|
interestType: t,
|
|
49239
49252
|
isHighlighted: e
|
|
@@ -49242,10 +49255,10 @@ function QP({ isHighlighted: e = !1, className: t = "" }) {
|
|
|
49242
49255
|
}
|
|
49243
49256
|
//#endregion
|
|
49244
49257
|
//#region src/interests/interestIcon/LanguagesInterestIcons.tsx
|
|
49245
|
-
function
|
|
49258
|
+
function eF({ isHighlighted: e = !1, className: t = "" }) {
|
|
49246
49259
|
return /* @__PURE__ */ x(ao, {
|
|
49247
49260
|
className: Pt("flex-wrap", t),
|
|
49248
|
-
children:
|
|
49261
|
+
children: YO.map((t) => /* @__PURE__ */ x(qP, {
|
|
49249
49262
|
categoryType: "7_languages",
|
|
49250
49263
|
interestType: t,
|
|
49251
49264
|
isHighlighted: e
|
|
@@ -49254,11 +49267,11 @@ function $P({ isHighlighted: e = !1, className: t = "" }) {
|
|
|
49254
49267
|
}
|
|
49255
49268
|
//#endregion
|
|
49256
49269
|
//#region src/interests/interestTag/InterestTag.tsx
|
|
49257
|
-
function
|
|
49270
|
+
function tF({ isHighlighted: e, onClick: t, className: n = "", categoryType: r, interestType: i, label: a }) {
|
|
49258
49271
|
return /* @__PURE__ */ S(ro, {
|
|
49259
49272
|
className: Pt(`${e ? "bg-blue-100 border-blue-500" : "border-gray-300"} gap-0 rounded-full border px-1 py-0`, n),
|
|
49260
49273
|
onClick: t,
|
|
49261
|
-
children: [/* @__PURE__ */ x(
|
|
49274
|
+
children: [/* @__PURE__ */ x(GP, {
|
|
49262
49275
|
interestType: i,
|
|
49263
49276
|
categoryType: r,
|
|
49264
49277
|
size: lA.xs,
|
|
@@ -49271,7 +49284,7 @@ function eF({ isHighlighted: e, onClick: t, className: n = "", categoryType: r,
|
|
|
49271
49284
|
}
|
|
49272
49285
|
//#endregion
|
|
49273
49286
|
//#region src/interests/interestTag/SportsInterestTags.tsx
|
|
49274
|
-
var
|
|
49287
|
+
var nF = {
|
|
49275
49288
|
tennis: "Tennis",
|
|
49276
49289
|
pickleball: "Pickleball",
|
|
49277
49290
|
basketball: "Basketball",
|
|
@@ -49293,55 +49306,55 @@ var tF = {
|
|
|
49293
49306
|
boating: "Boating",
|
|
49294
49307
|
jetskiing: "Jet Skiing"
|
|
49295
49308
|
};
|
|
49296
|
-
function
|
|
49309
|
+
function rF({ isHighlighted: e = !1, className: t = "" }) {
|
|
49297
49310
|
return /* @__PURE__ */ x(ao, {
|
|
49298
49311
|
className: Pt("flex-wrap", t),
|
|
49299
|
-
children:
|
|
49312
|
+
children: KO.map((t) => /* @__PURE__ */ x(tF, {
|
|
49300
49313
|
categoryType: "1_sports",
|
|
49301
49314
|
interestType: t,
|
|
49302
|
-
label:
|
|
49315
|
+
label: nF[t],
|
|
49303
49316
|
isHighlighted: e
|
|
49304
49317
|
}, t))
|
|
49305
49318
|
});
|
|
49306
49319
|
}
|
|
49307
49320
|
//#endregion
|
|
49308
49321
|
//#region src/interests/interestTag/PetsInterestTags.tsx
|
|
49309
|
-
var
|
|
49322
|
+
var iF = {
|
|
49310
49323
|
dog: "Dog",
|
|
49311
49324
|
cat: "Cat"
|
|
49312
49325
|
};
|
|
49313
|
-
function
|
|
49326
|
+
function aF({ isHighlighted: e = !1, className: t = "" }) {
|
|
49314
49327
|
return /* @__PURE__ */ x(ao, {
|
|
49315
49328
|
className: Pt("flex-wrap", t),
|
|
49316
|
-
children:
|
|
49329
|
+
children: GO.map((t) => /* @__PURE__ */ x(tF, {
|
|
49317
49330
|
categoryType: "2_pets",
|
|
49318
49331
|
interestType: t,
|
|
49319
|
-
label:
|
|
49332
|
+
label: iF[t],
|
|
49320
49333
|
isHighlighted: e
|
|
49321
49334
|
}, t))
|
|
49322
49335
|
});
|
|
49323
49336
|
}
|
|
49324
49337
|
//#endregion
|
|
49325
49338
|
//#region src/interests/interestTag/CardGamesInterestTags.tsx
|
|
49326
|
-
var
|
|
49339
|
+
var oF = {
|
|
49327
49340
|
texasholdem: "Texas Holdem",
|
|
49328
49341
|
omaha: "Omaha",
|
|
49329
49342
|
blackjack: "Blackjack"
|
|
49330
49343
|
};
|
|
49331
|
-
function
|
|
49344
|
+
function sF({ isHighlighted: e = !1, className: t = "" }) {
|
|
49332
49345
|
return /* @__PURE__ */ x(ao, {
|
|
49333
49346
|
className: Pt("flex-wrap", t),
|
|
49334
|
-
children:
|
|
49347
|
+
children: UO.map((t) => /* @__PURE__ */ x(tF, {
|
|
49335
49348
|
categoryType: "3_cardgames",
|
|
49336
49349
|
interestType: t,
|
|
49337
|
-
label:
|
|
49350
|
+
label: oF[t],
|
|
49338
49351
|
isHighlighted: e
|
|
49339
49352
|
}, t))
|
|
49340
49353
|
});
|
|
49341
49354
|
}
|
|
49342
49355
|
//#endregion
|
|
49343
49356
|
//#region src/interests/interestTag/MusicInterestTags.tsx
|
|
49344
|
-
var
|
|
49357
|
+
var cF = {
|
|
49345
49358
|
singing: "Singing",
|
|
49346
49359
|
guitar: "Guitar",
|
|
49347
49360
|
piano: "Piano",
|
|
@@ -49357,20 +49370,20 @@ var sF = {
|
|
|
49357
49370
|
tuba: "Tuba",
|
|
49358
49371
|
clarinet: "Clarinet"
|
|
49359
49372
|
};
|
|
49360
|
-
function
|
|
49373
|
+
function lF({ isHighlighted: e = !1, className: t = "" }) {
|
|
49361
49374
|
return /* @__PURE__ */ x(ao, {
|
|
49362
49375
|
className: Pt("flex-wrap", t),
|
|
49363
|
-
children:
|
|
49376
|
+
children: WO.map((t) => /* @__PURE__ */ x(tF, {
|
|
49364
49377
|
categoryType: "4_music",
|
|
49365
49378
|
interestType: t,
|
|
49366
|
-
label:
|
|
49379
|
+
label: cF[t],
|
|
49367
49380
|
isHighlighted: e
|
|
49368
49381
|
}, t))
|
|
49369
49382
|
});
|
|
49370
49383
|
}
|
|
49371
49384
|
//#endregion
|
|
49372
49385
|
//#region src/interests/interestTag/TravelInterestTags.tsx
|
|
49373
|
-
var
|
|
49386
|
+
var uF = {
|
|
49374
49387
|
landmark: "Landmark",
|
|
49375
49388
|
nationalpark: "National Park",
|
|
49376
49389
|
beach: "Beach",
|
|
@@ -49395,20 +49408,20 @@ var lF = {
|
|
|
49395
49408
|
wildlife: "Wildlife",
|
|
49396
49409
|
technology: "Technology"
|
|
49397
49410
|
};
|
|
49398
|
-
function
|
|
49411
|
+
function dF({ isHighlighted: e = !1, className: t = "" }) {
|
|
49399
49412
|
return /* @__PURE__ */ x(ao, {
|
|
49400
49413
|
className: Pt("flex-wrap", t),
|
|
49401
|
-
children:
|
|
49414
|
+
children: qO.map((t) => /* @__PURE__ */ x(tF, {
|
|
49402
49415
|
categoryType: "5_travel",
|
|
49403
49416
|
interestType: t,
|
|
49404
|
-
label:
|
|
49417
|
+
label: uF[t],
|
|
49405
49418
|
isHighlighted: e
|
|
49406
49419
|
}, t))
|
|
49407
49420
|
});
|
|
49408
49421
|
}
|
|
49409
49422
|
//#endregion
|
|
49410
49423
|
//#region src/interests/interestTag/LeisureInterestTags.tsx
|
|
49411
|
-
var
|
|
49424
|
+
var fF = {
|
|
49412
49425
|
walking: "Walking",
|
|
49413
49426
|
movie: "Movie",
|
|
49414
49427
|
concert: "Concert",
|
|
@@ -49418,20 +49431,20 @@ var dF = {
|
|
|
49418
49431
|
picnic: "Picnic",
|
|
49419
49432
|
show: "Show"
|
|
49420
49433
|
};
|
|
49421
|
-
function
|
|
49434
|
+
function pF({ isHighlighted: e = !1, className: t = "" }) {
|
|
49422
49435
|
return /* @__PURE__ */ x(ao, {
|
|
49423
49436
|
className: Pt("flex-wrap", t),
|
|
49424
|
-
children:
|
|
49437
|
+
children: JO.map((t) => /* @__PURE__ */ x(tF, {
|
|
49425
49438
|
categoryType: "6_leisure",
|
|
49426
49439
|
interestType: t,
|
|
49427
|
-
label:
|
|
49440
|
+
label: fF[t],
|
|
49428
49441
|
isHighlighted: e
|
|
49429
49442
|
}, t))
|
|
49430
49443
|
});
|
|
49431
49444
|
}
|
|
49432
49445
|
//#endregion
|
|
49433
49446
|
//#region src/interests/interestTag/LanguagesInterestTags.tsx
|
|
49434
|
-
var
|
|
49447
|
+
var mF = {
|
|
49435
49448
|
arabic: "Arabic",
|
|
49436
49449
|
dutch: "Dutch",
|
|
49437
49450
|
english: "English",
|
|
@@ -49453,22 +49466,22 @@ var pF = {
|
|
|
49453
49466
|
turkish: "Turkish",
|
|
49454
49467
|
vietnamese: "Vietnamese"
|
|
49455
49468
|
};
|
|
49456
|
-
function
|
|
49469
|
+
function hF({ isHighlighted: e = !1, className: t = "" }) {
|
|
49457
49470
|
return /* @__PURE__ */ x(ao, {
|
|
49458
49471
|
className: Pt("flex-wrap", t),
|
|
49459
|
-
children:
|
|
49472
|
+
children: YO.map((t) => /* @__PURE__ */ x(tF, {
|
|
49460
49473
|
categoryType: "7_languages",
|
|
49461
49474
|
interestType: t,
|
|
49462
|
-
label:
|
|
49475
|
+
label: mF[t],
|
|
49463
49476
|
isHighlighted: e
|
|
49464
49477
|
}, t))
|
|
49465
49478
|
});
|
|
49466
49479
|
}
|
|
49467
49480
|
//#endregion
|
|
49468
49481
|
//#region src/interests/interestIconTooltip/InterestIconTooltip.tsx
|
|
49469
|
-
function
|
|
49470
|
-
return /* @__PURE__ */ x(
|
|
49471
|
-
icon: /* @__PURE__ */ x(
|
|
49482
|
+
function gF({ isHighlighted: e = !1, onClick: t, label: n, categoryType: r, interestType: i, className: a = "" }) {
|
|
49483
|
+
return /* @__PURE__ */ x(PD, {
|
|
49484
|
+
icon: /* @__PURE__ */ x(GP, {
|
|
49472
49485
|
categoryType: r,
|
|
49473
49486
|
interestType: i,
|
|
49474
49487
|
size: lA.lg,
|
|
@@ -49481,7 +49494,7 @@ function hF({ isHighlighted: e = !1, onClick: t, label: n, categoryType: r, inte
|
|
|
49481
49494
|
}
|
|
49482
49495
|
//#endregion
|
|
49483
49496
|
//#region src/interests/interestIconTooltip/SportsInterestIconTooltips.tsx
|
|
49484
|
-
var
|
|
49497
|
+
var _F = {
|
|
49485
49498
|
tennis: "Tennis",
|
|
49486
49499
|
pickleball: "Pickleball",
|
|
49487
49500
|
basketball: "Basketball",
|
|
@@ -49503,13 +49516,13 @@ var gF = {
|
|
|
49503
49516
|
boating: "Boating",
|
|
49504
49517
|
jetskiing: "Jet Skiing"
|
|
49505
49518
|
};
|
|
49506
|
-
function
|
|
49519
|
+
function vF({ isHighlighted: e = !1, onClick: t = Ft, className: n = "" }) {
|
|
49507
49520
|
return /* @__PURE__ */ x(ao, {
|
|
49508
49521
|
className: Pt("flex-wrap", n),
|
|
49509
|
-
children:
|
|
49522
|
+
children: KO.map((n) => /* @__PURE__ */ x(gF, {
|
|
49510
49523
|
categoryType: "1_sports",
|
|
49511
49524
|
interestType: n,
|
|
49512
|
-
label:
|
|
49525
|
+
label: _F[n],
|
|
49513
49526
|
isHighlighted: e,
|
|
49514
49527
|
onClick: t
|
|
49515
49528
|
}, n))
|
|
@@ -49517,17 +49530,17 @@ function _F({ isHighlighted: e = !1, onClick: t = Ft, className: n = "" }) {
|
|
|
49517
49530
|
}
|
|
49518
49531
|
//#endregion
|
|
49519
49532
|
//#region src/interests/interestIconTooltip/PetsInterestIconTooltips.tsx
|
|
49520
|
-
var
|
|
49533
|
+
var yF = {
|
|
49521
49534
|
dog: "Dog",
|
|
49522
49535
|
cat: "Cat"
|
|
49523
49536
|
};
|
|
49524
|
-
function
|
|
49537
|
+
function bF({ isHighlighted: e = !1, onClick: t = Ft, className: n = "" }) {
|
|
49525
49538
|
return /* @__PURE__ */ x(ao, {
|
|
49526
49539
|
className: Pt("flex-wrap", n),
|
|
49527
|
-
children:
|
|
49540
|
+
children: GO.map((n) => /* @__PURE__ */ x(gF, {
|
|
49528
49541
|
categoryType: "2_pets",
|
|
49529
49542
|
interestType: n,
|
|
49530
|
-
label:
|
|
49543
|
+
label: yF[n],
|
|
49531
49544
|
isHighlighted: e,
|
|
49532
49545
|
onClick: t
|
|
49533
49546
|
}, n))
|
|
@@ -49535,18 +49548,18 @@ function yF({ isHighlighted: e = !1, onClick: t = Ft, className: n = "" }) {
|
|
|
49535
49548
|
}
|
|
49536
49549
|
//#endregion
|
|
49537
49550
|
//#region src/interests/interestIconTooltip/CardGamesInterestIconTooltips.tsx
|
|
49538
|
-
var
|
|
49551
|
+
var xF = {
|
|
49539
49552
|
texasholdem: "Texas Holdem",
|
|
49540
49553
|
omaha: "Omaha",
|
|
49541
49554
|
blackjack: "Blackjack"
|
|
49542
49555
|
};
|
|
49543
|
-
function
|
|
49556
|
+
function SF({ isHighlighted: e = !1, onClick: t = Ft, className: n = "" }) {
|
|
49544
49557
|
return /* @__PURE__ */ x(ao, {
|
|
49545
49558
|
className: Pt("flex-wrap", n),
|
|
49546
|
-
children:
|
|
49559
|
+
children: UO.map((n) => /* @__PURE__ */ x(gF, {
|
|
49547
49560
|
categoryType: "3_cardgames",
|
|
49548
49561
|
interestType: n,
|
|
49549
|
-
label:
|
|
49562
|
+
label: xF[n],
|
|
49550
49563
|
isHighlighted: e,
|
|
49551
49564
|
onClick: t
|
|
49552
49565
|
}, n))
|
|
@@ -49554,7 +49567,7 @@ function xF({ isHighlighted: e = !1, onClick: t = Ft, className: n = "" }) {
|
|
|
49554
49567
|
}
|
|
49555
49568
|
//#endregion
|
|
49556
49569
|
//#region src/interests/interestIconTooltip/MusicInterestIconTooltips.tsx
|
|
49557
|
-
var
|
|
49570
|
+
var CF = {
|
|
49558
49571
|
singing: "Singing",
|
|
49559
49572
|
guitar: "Guitar",
|
|
49560
49573
|
piano: "Piano",
|
|
@@ -49570,13 +49583,13 @@ var SF = {
|
|
|
49570
49583
|
tuba: "Tuba",
|
|
49571
49584
|
clarinet: "Clarinet"
|
|
49572
49585
|
};
|
|
49573
|
-
function
|
|
49586
|
+
function wF({ isHighlighted: e = !1, onClick: t = Ft, className: n = "" }) {
|
|
49574
49587
|
return /* @__PURE__ */ x(ao, {
|
|
49575
49588
|
className: Pt("flex-wrap", n),
|
|
49576
|
-
children:
|
|
49589
|
+
children: WO.map((n) => /* @__PURE__ */ x(gF, {
|
|
49577
49590
|
categoryType: "4_music",
|
|
49578
49591
|
interestType: n,
|
|
49579
|
-
label:
|
|
49592
|
+
label: CF[n],
|
|
49580
49593
|
isHighlighted: e,
|
|
49581
49594
|
onClick: t
|
|
49582
49595
|
}, n))
|
|
@@ -49584,7 +49597,7 @@ function CF({ isHighlighted: e = !1, onClick: t = Ft, className: n = "" }) {
|
|
|
49584
49597
|
}
|
|
49585
49598
|
//#endregion
|
|
49586
49599
|
//#region src/interests/interestIconTooltip/TravelInterestIconTooltips.tsx
|
|
49587
|
-
var
|
|
49600
|
+
var TF = {
|
|
49588
49601
|
landmark: "Landmark",
|
|
49589
49602
|
nationalpark: "National Park",
|
|
49590
49603
|
beach: "Beach",
|
|
@@ -49609,13 +49622,13 @@ var wF = {
|
|
|
49609
49622
|
wildlife: "Wildlife",
|
|
49610
49623
|
technology: "Technology"
|
|
49611
49624
|
};
|
|
49612
|
-
function
|
|
49625
|
+
function EF({ isHighlighted: e = !1, onClick: t = Ft, className: n = "" }) {
|
|
49613
49626
|
return /* @__PURE__ */ x(ao, {
|
|
49614
49627
|
className: Pt("flex-wrap", n),
|
|
49615
|
-
children:
|
|
49628
|
+
children: qO.map((n) => /* @__PURE__ */ x(gF, {
|
|
49616
49629
|
categoryType: "5_travel",
|
|
49617
49630
|
interestType: n,
|
|
49618
|
-
label:
|
|
49631
|
+
label: TF[n],
|
|
49619
49632
|
isHighlighted: e,
|
|
49620
49633
|
onClick: t
|
|
49621
49634
|
}, n))
|
|
@@ -49623,7 +49636,7 @@ function TF({ isHighlighted: e = !1, onClick: t = Ft, className: n = "" }) {
|
|
|
49623
49636
|
}
|
|
49624
49637
|
//#endregion
|
|
49625
49638
|
//#region src/interests/interestIconTooltip/LeisureInterestIconTooltips.tsx
|
|
49626
|
-
var
|
|
49639
|
+
var DF = {
|
|
49627
49640
|
walking: "Walking",
|
|
49628
49641
|
movie: "Movie",
|
|
49629
49642
|
concert: "Concert",
|
|
@@ -49633,13 +49646,13 @@ var EF = {
|
|
|
49633
49646
|
picnic: "Picnic",
|
|
49634
49647
|
show: "Show"
|
|
49635
49648
|
};
|
|
49636
|
-
function
|
|
49649
|
+
function OF({ isHighlighted: e = !1, onClick: t = Ft, className: n = "" }) {
|
|
49637
49650
|
return /* @__PURE__ */ x(ao, {
|
|
49638
49651
|
className: Pt("flex-wrap", n),
|
|
49639
|
-
children:
|
|
49652
|
+
children: JO.map((n) => /* @__PURE__ */ x(gF, {
|
|
49640
49653
|
categoryType: "6_leisure",
|
|
49641
49654
|
interestType: n,
|
|
49642
|
-
label:
|
|
49655
|
+
label: DF[n],
|
|
49643
49656
|
isHighlighted: e,
|
|
49644
49657
|
onClick: t
|
|
49645
49658
|
}, n))
|
|
@@ -49647,7 +49660,7 @@ function DF({ isHighlighted: e = !1, onClick: t = Ft, className: n = "" }) {
|
|
|
49647
49660
|
}
|
|
49648
49661
|
//#endregion
|
|
49649
49662
|
//#region src/interests/interestIconTooltip/LanguagesInterestIconTooltips.tsx
|
|
49650
|
-
var
|
|
49663
|
+
var kF = {
|
|
49651
49664
|
arabic: "Arabic",
|
|
49652
49665
|
dutch: "Dutch",
|
|
49653
49666
|
english: "English",
|
|
@@ -49669,17 +49682,17 @@ var OF = {
|
|
|
49669
49682
|
turkish: "Turkish",
|
|
49670
49683
|
vietnamese: "Vietnamese"
|
|
49671
49684
|
};
|
|
49672
|
-
function
|
|
49685
|
+
function AF({ isHighlighted: e = !1, onClick: t = Ft, className: n = "" }) {
|
|
49673
49686
|
return /* @__PURE__ */ x(ao, {
|
|
49674
49687
|
className: Pt("flex-wrap", n),
|
|
49675
|
-
children:
|
|
49688
|
+
children: YO.map((n) => /* @__PURE__ */ x(gF, {
|
|
49676
49689
|
categoryType: "7_languages",
|
|
49677
49690
|
interestType: n,
|
|
49678
|
-
label:
|
|
49691
|
+
label: kF[n],
|
|
49679
49692
|
isHighlighted: e,
|
|
49680
49693
|
onClick: t
|
|
49681
49694
|
}, n))
|
|
49682
49695
|
});
|
|
49683
49696
|
}
|
|
49684
49697
|
//#endregion
|
|
49685
|
-
export { Pk as AttributeCollectionPetBreedDisplay, Fk as AttributeCollectionPetBreedEditing, Nk as AttributeCollectionPetBreedNonEdit, Ak as AttributeCollectionPetHeightDisplay, kk as AttributeCollectionPetHeightNonEdit, Mk as AttributeCollectionPetWeightDisplay, jk as AttributeCollectionPetWeightNonEdit, Dk as AttributeCommonDobDisplay, Ok as AttributeCommonDobEditing, Ek as AttributeCommonDobNonEdit,
|
|
49698
|
+
export { Pk as AttributeCollectionPetBreedDisplay, Fk as AttributeCollectionPetBreedEditing, Nk as AttributeCollectionPetBreedNonEdit, Ak as AttributeCollectionPetHeightDisplay, kk as AttributeCollectionPetHeightNonEdit, Mk as AttributeCollectionPetWeightDisplay, jk as AttributeCollectionPetWeightNonEdit, Dk as AttributeCommonDobDisplay, Ok as AttributeCommonDobEditing, Ek as AttributeCommonDobNonEdit, yk as AttributeCommonGenderDisplay, _k as AttributeCommonGenderEditing, vk as AttributeCommonGenderNonEdit, wk as AttributeCommonHandednessDisplay, Sk as AttributeCommonHandednessEditing, Ck as AttributeCommonHandednessNonEdit, LO as AttributeDisplay, IO as AttributeSelectionUpdater, PO as AttributeUnspecified, mk as AttributeUoiSportsBasketballPositionsDisplay, pk as AttributeUoiSportsBasketballPositionsEditing, dk as AttributeUoiSportsBasketballPositionsNonEdit, ik as AttributeUoiSportsTennisBackhandDisplay, BO as AttributeUoiSportsTennisBackhandEditing, VO as AttributeUoiSportsTennisBackhandNonEdit, lk as AttributeUoiSportsTennisLevelDisplay, sk as AttributeUoiSportsTennisLevelEditing, ck as AttributeUoiSportsTennisLevelNonEdit, FO as AttributeUpdater, wP as BlockUser, gP as BroadcastTypePicker, jP as BuddiesNearbyLogo, SF as CardGamesInterestIconTooltips, XP as CardGamesInterestIcons, sF as CardGamesInterestTags, KP as CategoryTag, bP as CollectionAvatar, _P as CollectionTypePicker, vP as CollectionTypeTag, yP as CollectionTypeTags, SP as ContentViolationForm, CP as ContentViolationReporter, PP as EditedLabel, iA as GameCreationFields, eA as GameScore, Zk as GameTypePicker, Qk as GameTypeTag, $k as GameTypeTags, qP as InterestIcon, gF as InterestIconTooltip, tF as InterestTag, RP as InviteByEmails, AF as LanguagesInterestIconTooltips, eF as LanguagesInterestIcons, hF as LanguagesInterestTags, Xk as LeaderboardOrder, Kk as LeaderboardTypePicker, qk as LeaderboardTypeTag, Jk as LeaderboardTypeTags, OF as LeisureInterestIconTooltips, $P as LeisureInterestIcons, pF as LeisureInterestTags, xP as LocationTag, cA as MarketAvatar, aA as MarketTypePicker, oA as MarketTypeTag, sA as MarketTypeTags, zP as MessageInput, BP as MessageSender, TP as MoreActions, wF as MusicInterestIconTooltips, ZP as MusicInterestIcons, lF as MusicInterestTags, kP as NotificationContent, OP as PageList, Ik as PagePID, NP as PasswordRequirement, bF as PetsInterestIconTooltips, YP as PetsInterestIcons, aF as PetsInterestTags, MP as PlayerTag, rA as PlayerTypePicker, mP as PostPrivacyDisplay, pP as PostPrivacyPicker, Bk as ProfilePrivacyDisplay, zk as ProfilePrivacyPicker, uP as ProfileStatusControl, lP as ProfileTag, EP as RssItem, DP as RssList, vF as SportsInterestIconTooltips, JP as SportsInterestIcons, rF as SportsInterestTags, tA as StaticGameScore, EF as TravelInterestIconTooltips, QP as TravelInterestIcons, dF as TravelInterestTags, Wk as UserPronounDisplay, Uk as UserPronounPicker };
|