catchup-library-web 1.20.18 → 1.20.20
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/index.js +100 -149
- package/dist/index.mjs +100 -149
- package/package.json +1 -1
- package/src/components/activities/material-contents/GroupingActivityMaterialContent.tsx +1 -1
- package/src/components/activities/material-contents/MatchingActivityMaterialContent.tsx +1 -1
- package/src/utilization/GamificationUtilization.ts +122 -164
package/dist/index.js
CHANGED
|
@@ -5379,7 +5379,7 @@ var GroupingActivityMaterialContent = ({
|
|
|
5379
5379
|
"div",
|
|
5380
5380
|
{
|
|
5381
5381
|
className: `border-catchup-blue ${contentMap.type === "TEXT" ? "h-catchup-activity-text-outer-box-item" : "h-catchup-activity-media-outer-box-item"} flex flex-col items-center justify-center border-2 rounded-catchup-xlarge transition-all duration-300 my-3`,
|
|
5382
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "flex flex-col items-center justify-center transition-all duration-300 px-4", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("p", { className: "text-lg whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(answerMapKey).map(
|
|
5382
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "flex flex-col items-center justify-center transition-all duration-300 px-4 text-center", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("p", { className: "text-lg whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(answerMapKey).map(
|
|
5383
5383
|
(inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
5384
5384
|
"span",
|
|
5385
5385
|
{
|
|
@@ -5677,7 +5677,7 @@ var MatchingActivityMaterialContent = ({
|
|
|
5677
5677
|
"div",
|
|
5678
5678
|
{
|
|
5679
5679
|
className: `${contentMap.type === "TEXT" ? "h-catchup-activity-text-box-item" : "h-catchup-activity-media-box-item"} flex flex-col items-center justify-center border-2 rounded-catchup-xlarge transition-all duration-300 my-3 ${learnerAnswerState === "EMPTY" ? "border-catchup-blue" : learnerAnswerState === "CORRECT" ? "border-catchup-green" : learnerAnswerState === "INCORRECT" ? "border-catchup-red" : "border-catchup-blue"}`,
|
|
5680
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "flex flex-col items-center justify-center transition-all duration-300 px-4", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("p", { className: "text-lg whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
|
|
5680
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "flex flex-col items-center justify-center transition-all duration-300 px-4 text-center", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("p", { className: "text-lg whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
|
|
5681
5681
|
answerMapKey
|
|
5682
5682
|
).map((inputPart, index2) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
5683
5683
|
"span",
|
|
@@ -9549,9 +9549,9 @@ var retrieveAllEarnedBadgeDTOListByCoterieType = (coterieType) => {
|
|
|
9549
9549
|
});
|
|
9550
9550
|
};
|
|
9551
9551
|
var retrieveBadgeRuleListByParams = (coterieType, sourceType, trackingType) => {
|
|
9552
|
-
if (
|
|
9553
|
-
if (
|
|
9554
|
-
if (
|
|
9552
|
+
if (trackingType === "COUNT") {
|
|
9553
|
+
if (coterieType === "MANAGEMENT") {
|
|
9554
|
+
if (sourceType === "ACTIVITY") {
|
|
9555
9555
|
return [
|
|
9556
9556
|
{
|
|
9557
9557
|
level: 1,
|
|
@@ -9574,128 +9574,101 @@ var retrieveBadgeRuleListByParams = (coterieType, sourceType, trackingType) => {
|
|
|
9574
9574
|
value: 5e3
|
|
9575
9575
|
}
|
|
9576
9576
|
];
|
|
9577
|
-
} else if (
|
|
9577
|
+
} else if (sourceType === "ACTIVITY_CORRECT" || sourceType === "ACTIVITY_REVIEW") {
|
|
9578
9578
|
return [
|
|
9579
9579
|
{
|
|
9580
9580
|
level: 1,
|
|
9581
|
-
value:
|
|
9581
|
+
value: 25
|
|
9582
9582
|
},
|
|
9583
9583
|
{
|
|
9584
9584
|
level: 2,
|
|
9585
|
-
value:
|
|
9585
|
+
value: 50
|
|
9586
9586
|
},
|
|
9587
9587
|
{
|
|
9588
9588
|
level: 3,
|
|
9589
|
-
value:
|
|
9589
|
+
value: 250
|
|
9590
9590
|
},
|
|
9591
9591
|
{
|
|
9592
9592
|
level: 4,
|
|
9593
|
-
value:
|
|
9593
|
+
value: 500
|
|
9594
9594
|
},
|
|
9595
9595
|
{
|
|
9596
9596
|
level: 5,
|
|
9597
|
-
value:
|
|
9597
|
+
value: 1e3
|
|
9598
9598
|
}
|
|
9599
9599
|
];
|
|
9600
|
-
} else {
|
|
9600
|
+
} else if (sourceType === "ACTIVITY_TIME_SPENT") {
|
|
9601
9601
|
return [
|
|
9602
9602
|
{
|
|
9603
9603
|
level: 1,
|
|
9604
|
-
value:
|
|
9604
|
+
value: 2
|
|
9605
9605
|
},
|
|
9606
9606
|
{
|
|
9607
9607
|
level: 2,
|
|
9608
|
-
value:
|
|
9608
|
+
value: 10
|
|
9609
9609
|
},
|
|
9610
9610
|
{
|
|
9611
9611
|
level: 3,
|
|
9612
|
-
value:
|
|
9612
|
+
value: 20
|
|
9613
9613
|
},
|
|
9614
9614
|
{
|
|
9615
9615
|
level: 4,
|
|
9616
|
-
value:
|
|
9616
|
+
value: 100
|
|
9617
9617
|
},
|
|
9618
9618
|
{
|
|
9619
9619
|
level: 5,
|
|
9620
|
-
value:
|
|
9620
|
+
value: 200
|
|
9621
9621
|
}
|
|
9622
9622
|
];
|
|
9623
|
-
}
|
|
9624
|
-
} else if (sourceType === "LOGIN") {
|
|
9625
|
-
return [
|
|
9626
|
-
{
|
|
9627
|
-
level: 1,
|
|
9628
|
-
value: 3
|
|
9629
|
-
},
|
|
9630
|
-
{
|
|
9631
|
-
level: 2,
|
|
9632
|
-
value: 7
|
|
9633
|
-
},
|
|
9634
|
-
{
|
|
9635
|
-
level: 3,
|
|
9636
|
-
value: 15
|
|
9637
|
-
},
|
|
9638
|
-
{
|
|
9639
|
-
level: 4,
|
|
9640
|
-
value: 30
|
|
9641
|
-
},
|
|
9642
|
-
{
|
|
9643
|
-
level: 5,
|
|
9644
|
-
value: 90
|
|
9645
|
-
}
|
|
9646
|
-
];
|
|
9647
|
-
} else {
|
|
9648
|
-
if (trackingType === "COUNT") {
|
|
9623
|
+
} else if (sourceType === "LOGIN") {
|
|
9649
9624
|
return [
|
|
9650
9625
|
{
|
|
9651
9626
|
level: 1,
|
|
9652
|
-
value:
|
|
9627
|
+
value: 3
|
|
9653
9628
|
},
|
|
9654
9629
|
{
|
|
9655
9630
|
level: 2,
|
|
9656
|
-
value:
|
|
9631
|
+
value: 7
|
|
9657
9632
|
},
|
|
9658
9633
|
{
|
|
9659
9634
|
level: 3,
|
|
9660
|
-
value:
|
|
9635
|
+
value: 15
|
|
9661
9636
|
},
|
|
9662
9637
|
{
|
|
9663
9638
|
level: 4,
|
|
9664
|
-
value:
|
|
9639
|
+
value: 30
|
|
9665
9640
|
},
|
|
9666
9641
|
{
|
|
9667
9642
|
level: 5,
|
|
9668
|
-
value:
|
|
9643
|
+
value: 90
|
|
9669
9644
|
}
|
|
9670
9645
|
];
|
|
9671
9646
|
} else {
|
|
9672
9647
|
return [
|
|
9673
9648
|
{
|
|
9674
9649
|
level: 1,
|
|
9675
|
-
value:
|
|
9650
|
+
value: 5
|
|
9676
9651
|
},
|
|
9677
9652
|
{
|
|
9678
9653
|
level: 2,
|
|
9679
|
-
value:
|
|
9654
|
+
value: 10
|
|
9680
9655
|
},
|
|
9681
9656
|
{
|
|
9682
9657
|
level: 3,
|
|
9683
|
-
value:
|
|
9658
|
+
value: 50
|
|
9684
9659
|
},
|
|
9685
9660
|
{
|
|
9686
9661
|
level: 4,
|
|
9687
|
-
value:
|
|
9662
|
+
value: 100
|
|
9688
9663
|
},
|
|
9689
9664
|
{
|
|
9690
9665
|
level: 5,
|
|
9691
|
-
value:
|
|
9666
|
+
value: 500
|
|
9692
9667
|
}
|
|
9693
9668
|
];
|
|
9694
9669
|
}
|
|
9695
|
-
}
|
|
9696
|
-
|
|
9697
|
-
if (sourceType === "ACTIVITY") {
|
|
9698
|
-
if (trackingType === "COUNT") {
|
|
9670
|
+
} else {
|
|
9671
|
+
if (sourceType === "ACTIVITY") {
|
|
9699
9672
|
return [
|
|
9700
9673
|
{
|
|
9701
9674
|
level: 1,
|
|
@@ -9718,57 +9691,55 @@ var retrieveBadgeRuleListByParams = (coterieType, sourceType, trackingType) => {
|
|
|
9718
9691
|
value: 1e3
|
|
9719
9692
|
}
|
|
9720
9693
|
];
|
|
9721
|
-
} else if (
|
|
9694
|
+
} else if (sourceType === "ACTIVITY_CORRECT" || sourceType === "ACTIVITY_REVIEW") {
|
|
9722
9695
|
return [
|
|
9723
9696
|
{
|
|
9724
9697
|
level: 1,
|
|
9725
|
-
value:
|
|
9698
|
+
value: 5
|
|
9726
9699
|
},
|
|
9727
9700
|
{
|
|
9728
9701
|
level: 2,
|
|
9729
|
-
value:
|
|
9702
|
+
value: 25
|
|
9730
9703
|
},
|
|
9731
9704
|
{
|
|
9732
9705
|
level: 3,
|
|
9733
|
-
value:
|
|
9706
|
+
value: 50
|
|
9734
9707
|
},
|
|
9735
9708
|
{
|
|
9736
9709
|
level: 4,
|
|
9737
|
-
value:
|
|
9710
|
+
value: 250
|
|
9738
9711
|
},
|
|
9739
9712
|
{
|
|
9740
9713
|
level: 5,
|
|
9741
|
-
value:
|
|
9714
|
+
value: 500
|
|
9742
9715
|
}
|
|
9743
9716
|
];
|
|
9744
|
-
} else {
|
|
9717
|
+
} else if (sourceType === "ACTIVITY_TIME_SPENT") {
|
|
9745
9718
|
return [
|
|
9746
9719
|
{
|
|
9747
9720
|
level: 1,
|
|
9748
|
-
value:
|
|
9721
|
+
value: 1
|
|
9749
9722
|
},
|
|
9750
9723
|
{
|
|
9751
9724
|
level: 2,
|
|
9752
|
-
value:
|
|
9725
|
+
value: 2
|
|
9753
9726
|
},
|
|
9754
9727
|
{
|
|
9755
9728
|
level: 3,
|
|
9756
|
-
value:
|
|
9729
|
+
value: 10
|
|
9757
9730
|
},
|
|
9758
9731
|
{
|
|
9759
9732
|
level: 4,
|
|
9760
|
-
value:
|
|
9733
|
+
value: 20
|
|
9761
9734
|
},
|
|
9762
9735
|
{
|
|
9763
9736
|
level: 5,
|
|
9764
|
-
value:
|
|
9737
|
+
value: 100
|
|
9765
9738
|
}
|
|
9766
9739
|
];
|
|
9767
|
-
}
|
|
9768
|
-
|
|
9769
|
-
|
|
9770
|
-
} else {
|
|
9771
|
-
if (trackingType === "COUNT") {
|
|
9740
|
+
} else if (sourceType === "LOGIN") {
|
|
9741
|
+
return [];
|
|
9742
|
+
} else {
|
|
9772
9743
|
return [
|
|
9773
9744
|
{
|
|
9774
9745
|
level: 1,
|
|
@@ -9803,134 +9774,114 @@ var retrieveBadgeRuleTextByParams = (coterieType, sourceType, trackingType, leve
|
|
|
9803
9774
|
trackingType
|
|
9804
9775
|
);
|
|
9805
9776
|
const foundBadgeRule = badgeRuleList[level - 1];
|
|
9806
|
-
if (
|
|
9807
|
-
if (
|
|
9808
|
-
if (
|
|
9777
|
+
if (trackingType === "COUNT") {
|
|
9778
|
+
if (coterieType === "MANAGEMENT") {
|
|
9779
|
+
if (sourceType === "ACTIVITY") {
|
|
9809
9780
|
if (foundBadgeRule) {
|
|
9810
|
-
return `${i18n_default.t("
|
|
9781
|
+
return `${i18n_default.t("total_count_activity_text_1")}${foundBadgeRule.value}${i18n_default.t("total_count_activity_text_2")}`;
|
|
9811
9782
|
} else {
|
|
9812
|
-
return i18n_default.t("
|
|
9783
|
+
return i18n_default.t("none_count_activity_text");
|
|
9813
9784
|
}
|
|
9814
|
-
} else if (
|
|
9785
|
+
} else if (sourceType === "ACTIVITY_CORRECT") {
|
|
9815
9786
|
if (foundBadgeRule) {
|
|
9816
|
-
return `${i18n_default.t("
|
|
9787
|
+
return `${i18n_default.t("total_count_activity_correct_text_1")}${foundBadgeRule.value}${i18n_default.t("total_count_activity_correct_text_2")}`;
|
|
9817
9788
|
} else {
|
|
9818
|
-
return i18n_default.t("
|
|
9789
|
+
return i18n_default.t("none_count_activity_correct_text");
|
|
9819
9790
|
}
|
|
9820
|
-
} else if (
|
|
9791
|
+
} else if (sourceType === "ACTIVITY_REVIEW") {
|
|
9821
9792
|
if (foundBadgeRule) {
|
|
9822
|
-
return `${i18n_default.t("
|
|
9793
|
+
return `${i18n_default.t("total_count_activity_review_text_1")}${foundBadgeRule.value}${i18n_default.t("total_count_activity_review_text_2")}`;
|
|
9823
9794
|
} else {
|
|
9824
|
-
return i18n_default.t("
|
|
9795
|
+
return i18n_default.t("none_count_activity_review_text");
|
|
9825
9796
|
}
|
|
9826
|
-
} else if (
|
|
9797
|
+
} else if (sourceType === "ACTIVITY_TIME_SPENT") {
|
|
9827
9798
|
if (foundBadgeRule) {
|
|
9828
|
-
return `${i18n_default.t("
|
|
9799
|
+
return `${i18n_default.t("coterie_count_activity_time_spent_text_1")}${foundBadgeRule.value}${i18n_default.t("coterie_count_activity_time_spent_text_2")}`;
|
|
9829
9800
|
} else {
|
|
9830
|
-
return i18n_default.t("
|
|
9801
|
+
return i18n_default.t("none_count_activity_time_spent_text");
|
|
9831
9802
|
}
|
|
9832
|
-
}
|
|
9833
|
-
} else if (sourceType === "CATCHTIVITY") {
|
|
9834
|
-
if (trackingType === "COUNT") {
|
|
9803
|
+
} else if (sourceType === "CATCHTIVITY") {
|
|
9835
9804
|
if (foundBadgeRule) {
|
|
9836
|
-
return `${i18n_default.t("
|
|
9805
|
+
return `${i18n_default.t("total_count_catchtivity_text_1")}${foundBadgeRule.value}${i18n_default.t("total_count_catchtivity_text_2")}`;
|
|
9837
9806
|
} else {
|
|
9838
|
-
return i18n_default.t("
|
|
9807
|
+
return i18n_default.t("none_count_catchtivity_text");
|
|
9839
9808
|
}
|
|
9840
|
-
}
|
|
9841
|
-
} else if (sourceType === "CATCHXAM") {
|
|
9842
|
-
if (trackingType === "COUNT") {
|
|
9809
|
+
} else if (sourceType === "CATCHXAM") {
|
|
9843
9810
|
if (foundBadgeRule) {
|
|
9844
|
-
return `${i18n_default.t("
|
|
9811
|
+
return `${i18n_default.t("total_count_catchxam_text_1")}${foundBadgeRule.value}${i18n_default.t("total_count_catchxam_text_2")}`;
|
|
9845
9812
|
} else {
|
|
9846
|
-
return i18n_default.t("
|
|
9813
|
+
return i18n_default.t("none_count_catchxam_text");
|
|
9847
9814
|
}
|
|
9848
|
-
}
|
|
9849
|
-
} else if (sourceType === "ETUDE") {
|
|
9850
|
-
if (trackingType === "COUNT") {
|
|
9815
|
+
} else if (sourceType === "ETUDE") {
|
|
9851
9816
|
if (foundBadgeRule) {
|
|
9852
|
-
return `${i18n_default.t("
|
|
9817
|
+
return `${i18n_default.t("total_count_etude_text_1")}${foundBadgeRule.value}${i18n_default.t("total_count_etude_text_2")}`;
|
|
9853
9818
|
} else {
|
|
9854
|
-
return i18n_default.t("
|
|
9819
|
+
return i18n_default.t("none_count_etude_text");
|
|
9855
9820
|
}
|
|
9856
|
-
}
|
|
9857
|
-
} else if (sourceType === "CONTEST") {
|
|
9858
|
-
if (trackingType === "COUNT") {
|
|
9821
|
+
} else if (sourceType === "CONTEST") {
|
|
9859
9822
|
if (foundBadgeRule) {
|
|
9860
|
-
return `${i18n_default.t("
|
|
9823
|
+
return `${i18n_default.t("total_count_contest_text_1")}${foundBadgeRule.value}${i18n_default.t("total_count_contest_text_2")}`;
|
|
9861
9824
|
} else {
|
|
9862
|
-
return i18n_default.t("
|
|
9825
|
+
return i18n_default.t("none_count_contest_text");
|
|
9863
9826
|
}
|
|
9864
|
-
}
|
|
9865
|
-
} else if (sourceType === "LOGIN") {
|
|
9866
|
-
if (trackingType === "COUNT") {
|
|
9827
|
+
} else if (sourceType === "LOGIN") {
|
|
9867
9828
|
if (foundBadgeRule) {
|
|
9868
|
-
return `${i18n_default.t("
|
|
9829
|
+
return `${i18n_default.t("total_count_login_text_1")}${foundBadgeRule.value}${i18n_default.t("total_count_login_text_2")}`;
|
|
9869
9830
|
} else {
|
|
9870
|
-
return i18n_default.t("
|
|
9831
|
+
return i18n_default.t("none_count_login_text");
|
|
9871
9832
|
}
|
|
9872
9833
|
}
|
|
9873
|
-
}
|
|
9874
|
-
|
|
9875
|
-
if (sourceType === "ACTIVITY") {
|
|
9876
|
-
if (trackingType === "COUNT") {
|
|
9834
|
+
} else {
|
|
9835
|
+
if (sourceType === "ACTIVITY") {
|
|
9877
9836
|
if (foundBadgeRule) {
|
|
9878
|
-
return `${i18n_default.t("
|
|
9837
|
+
return `${i18n_default.t("coterie_count_activity_text_1")}${foundBadgeRule.value}${i18n_default.t("coterie_count_activity_text_2")}`;
|
|
9879
9838
|
} else {
|
|
9880
|
-
return i18n_default.t("
|
|
9839
|
+
return i18n_default.t("none_count_activity_text");
|
|
9881
9840
|
}
|
|
9882
|
-
} else if (
|
|
9841
|
+
} else if (sourceType === "ACTIVITY_CORRECT") {
|
|
9883
9842
|
if (foundBadgeRule) {
|
|
9884
|
-
return `${i18n_default.t("
|
|
9843
|
+
return `${i18n_default.t("coterie_count_activity_correct_text_1")}${foundBadgeRule.value}${i18n_default.t("coterie_count_activity_correct_text_2")}`;
|
|
9885
9844
|
} else {
|
|
9886
|
-
return i18n_default.t("
|
|
9845
|
+
return i18n_default.t("none_count_activity_correct_text");
|
|
9887
9846
|
}
|
|
9888
|
-
} else if (
|
|
9847
|
+
} else if (sourceType === "ACTIVITY_REVIEW") {
|
|
9889
9848
|
if (foundBadgeRule) {
|
|
9890
|
-
return `${i18n_default.t("
|
|
9849
|
+
return `${i18n_default.t("coterie_count_activity_review_text_1")}${foundBadgeRule.value}${i18n_default.t("coterie_count_activity_review_text_2")}`;
|
|
9891
9850
|
} else {
|
|
9892
|
-
return i18n_default.t("
|
|
9851
|
+
return i18n_default.t("none_count_activity_review_text");
|
|
9893
9852
|
}
|
|
9894
|
-
} else if (
|
|
9853
|
+
} else if (sourceType === "ACTIVITY_TIME_SPENT") {
|
|
9895
9854
|
if (foundBadgeRule) {
|
|
9896
|
-
return `${i18n_default.t("
|
|
9855
|
+
return `${i18n_default.t("total_count_activity_time_spent_text_1")}${foundBadgeRule.value}${i18n_default.t("total_count_activity_time_spent_text_2")}`;
|
|
9897
9856
|
} else {
|
|
9898
|
-
return i18n_default.t("
|
|
9857
|
+
return i18n_default.t("none_count_activity_time_spent_text");
|
|
9899
9858
|
}
|
|
9900
|
-
}
|
|
9901
|
-
} else if (sourceType === "CATCHTIVITY") {
|
|
9902
|
-
if (trackingType === "COUNT") {
|
|
9859
|
+
} else if (sourceType === "CATCHTIVITY") {
|
|
9903
9860
|
if (foundBadgeRule) {
|
|
9904
|
-
return `${i18n_default.t("
|
|
9861
|
+
return `${i18n_default.t("coterie_count_catchtivity_text_1")}${foundBadgeRule.value}${i18n_default.t("coterie_count_catchtivity_text_2")}`;
|
|
9905
9862
|
} else {
|
|
9906
|
-
return i18n_default.t("
|
|
9863
|
+
return i18n_default.t("none_count_catchtivity_text");
|
|
9907
9864
|
}
|
|
9908
|
-
}
|
|
9909
|
-
} else if (sourceType === "CATCHXAM") {
|
|
9910
|
-
if (trackingType === "COUNT") {
|
|
9865
|
+
} else if (sourceType === "CATCHXAM") {
|
|
9911
9866
|
if (foundBadgeRule) {
|
|
9912
|
-
return `${i18n_default.t("
|
|
9867
|
+
return `${i18n_default.t("coterie_count_catchxam_text_1")}${foundBadgeRule.value}${i18n_default.t("coterie_count_catchxam_text_2")}`;
|
|
9913
9868
|
} else {
|
|
9914
|
-
return i18n_default.t("
|
|
9869
|
+
return i18n_default.t("none_count_catchxam_text");
|
|
9915
9870
|
}
|
|
9916
|
-
}
|
|
9917
|
-
} else if (sourceType === "ETUDE") {
|
|
9918
|
-
if (trackingType === "COUNT") {
|
|
9871
|
+
} else if (sourceType === "ETUDE") {
|
|
9919
9872
|
if (foundBadgeRule) {
|
|
9920
|
-
return `${i18n_default.t("
|
|
9873
|
+
return `${i18n_default.t("coterie_count_etude_text_1")}${foundBadgeRule.value}${i18n_default.t("coterie_count_etude_text_2")}`;
|
|
9921
9874
|
} else {
|
|
9922
|
-
return i18n_default.t("
|
|
9875
|
+
return i18n_default.t("none_count_etude_text");
|
|
9923
9876
|
}
|
|
9924
|
-
}
|
|
9925
|
-
} else if (sourceType === "CONTEST") {
|
|
9926
|
-
if (trackingType === "COUNT") {
|
|
9877
|
+
} else if (sourceType === "CONTEST") {
|
|
9927
9878
|
if (foundBadgeRule) {
|
|
9928
|
-
return `${i18n_default.t("
|
|
9879
|
+
return `${i18n_default.t("coterie_count_contest_text_1")}${foundBadgeRule.value}${i18n_default.t("coterie_count_contest_text_2")}`;
|
|
9929
9880
|
} else {
|
|
9930
|
-
return i18n_default.t("
|
|
9881
|
+
return i18n_default.t("none_count_contest_text");
|
|
9931
9882
|
}
|
|
9883
|
+
} else if (sourceType === "LOGIN") {
|
|
9932
9884
|
}
|
|
9933
|
-
} else if (sourceType === "LOGIN") {
|
|
9934
9885
|
}
|
|
9935
9886
|
}
|
|
9936
9887
|
return null;
|