@cuemath/web-utils 1.0.29-beta.8 → 1.0.29-beta.9
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/cjs/ab-experiment/utils/experiments.js +3 -11
- package/dist/cjs/ab-experiment/utils/experiments.js.map +1 -1
- package/dist/cjs/analytics/data-props.d.ts +3 -0
- package/dist/cjs/analytics/data-props.js +20 -0
- package/dist/cjs/analytics/data-props.js.map +1 -0
- package/dist/cjs/analytics/index.d.ts +1 -0
- package/dist/cjs/analytics/index.js +1 -0
- package/dist/cjs/analytics/index.js.map +1 -1
- package/dist/cjs/website-category/constants/index.d.ts +1 -1
- package/dist/cjs/website-category/constants/index.js +40 -28
- package/dist/cjs/website-category/constants/index.js.map +1 -1
- package/dist/cjs/website-category/constants/instrumentation.d.ts +138 -0
- package/dist/cjs/website-category/constants/instrumentation.js +142 -0
- package/dist/cjs/website-category/constants/instrumentation.js.map +1 -0
- package/dist/cjs/website-category/index.d.ts +2 -1
- package/dist/cjs/website-category/index.js +4 -2
- package/dist/cjs/website-category/index.js.map +1 -1
- package/dist/cjs/website-category/utils/index.d.ts +1 -1
- package/dist/cjs/website-category/utils/index.js +6 -15
- package/dist/cjs/website-category/utils/index.js.map +1 -1
- package/dist/cjs/website-category/utils/instrumentation.d.ts +2 -0
- package/dist/cjs/website-category/utils/instrumentation.js +61 -0
- package/dist/cjs/website-category/utils/instrumentation.js.map +1 -0
- package/dist/esm/ab-experiment/utils/experiments.js +4 -12
- package/dist/esm/ab-experiment/utils/experiments.js.map +1 -1
- package/dist/esm/analytics/data-props.d.ts +3 -0
- package/dist/esm/analytics/data-props.js +17 -0
- package/dist/esm/analytics/data-props.js.map +1 -0
- package/dist/esm/analytics/index.d.ts +1 -0
- package/dist/esm/analytics/index.js +1 -0
- package/dist/esm/analytics/index.js.map +1 -1
- package/dist/esm/website-category/constants/index.d.ts +1 -1
- package/dist/esm/website-category/constants/index.js +40 -28
- package/dist/esm/website-category/constants/index.js.map +1 -1
- package/dist/esm/website-category/constants/instrumentation.d.ts +138 -0
- package/dist/esm/website-category/constants/instrumentation.js +139 -0
- package/dist/esm/website-category/constants/instrumentation.js.map +1 -0
- package/dist/esm/website-category/index.d.ts +2 -1
- package/dist/esm/website-category/index.js +2 -1
- package/dist/esm/website-category/index.js.map +1 -1
- package/dist/esm/website-category/utils/index.d.ts +1 -1
- package/dist/esm/website-category/utils/index.js +4 -13
- package/dist/esm/website-category/utils/index.js.map +1 -1
- package/dist/esm/website-category/utils/instrumentation.d.ts +2 -0
- package/dist/esm/website-category/utils/instrumentation.js +56 -0
- package/dist/esm/website-category/utils/instrumentation.js.map +1 -0
- package/package.json +1 -1
|
@@ -68,20 +68,12 @@ exports.EXPERIMENTS = [
|
|
|
68
68
|
if ([country_1.ISO_COUNTRY_CODE.INDIA].includes(countryCode)) {
|
|
69
69
|
return [
|
|
70
70
|
{
|
|
71
|
-
id: index_1.VARIANTS.
|
|
71
|
+
id: index_1.VARIANTS.VARIANT_AD,
|
|
72
72
|
weight: 0,
|
|
73
73
|
},
|
|
74
|
-
{
|
|
75
|
-
id: index_1.VARIANTS.VARIANT_AF,
|
|
76
|
-
weight: 20,
|
|
77
|
-
},
|
|
78
74
|
{
|
|
79
75
|
id: index_1.VARIANTS.VARIANT_W,
|
|
80
|
-
weight:
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
id: index_1.VARIANTS.VARIANT_AD,
|
|
84
|
-
weight: 0,
|
|
76
|
+
weight: 100,
|
|
85
77
|
},
|
|
86
78
|
];
|
|
87
79
|
}
|
|
@@ -127,7 +119,7 @@ exports.EXPERIMENTS = [
|
|
|
127
119
|
},
|
|
128
120
|
customFilter(path, countryCode) {
|
|
129
121
|
if (countryCode === country_1.ISO_COUNTRY_CODE.INDIA) {
|
|
130
|
-
return (0, website_category_1.
|
|
122
|
+
return (0, website_category_1.checkContentPage)(path) || false;
|
|
131
123
|
}
|
|
132
124
|
return true;
|
|
133
125
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experiments.js","sourceRoot":"","sources":["../../../../src/ab-experiment/utils/experiments.ts"],"names":[],"mappings":";;;AAAA,qDAMiC;AACjC,
|
|
1
|
+
{"version":3,"file":"experiments.js","sourceRoot":"","sources":["../../../../src/ab-experiment/utils/experiments.ts"],"names":[],"mappings":";;;AAAA,qDAMiC;AACjC,6DAA0D;AAC1D,8CAA+D;AAIlD,QAAA,WAAW,GAAG;IACzB;QACE,IAAI,EAAE,uBAAe,CAAC,IAAI;QAC1B,QAAQ;YACN,OAAO;gBACL;oBACE,EAAE,EAAE,gBAAQ,CAAC,SAAS;oBACtB,MAAM,EAAE,GAAG;iBACZ;aACF,CAAC;QACJ,CAAC;KACF;IACD;QACE,IAAI,EAAE,uBAAe,CAAC,gBAAgB;QACtC,QAAQ,CACN,GAAW,EACX,WAAmB;YAEnB,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE;gBAChC,OAAO;oBACL;wBACE,EAAE,EAAE,gBAAQ,CAAC,eAAe;wBAC5B,MAAM,EAAE,EAAE;qBACX;oBACD;wBACE,EAAE,EAAE,gBAAQ,CAAC,SAAS;wBACtB,MAAM,EAAE,EAAE;qBACX;iBACF,CAAC;aACH;YAED,OAAO;gBACL;oBACE,EAAE,EAAE,gBAAQ,CAAC,eAAe;oBAC5B,MAAM,EAAE,GAAG;iBACZ;aACF,CAAC;QACJ,CAAC;KACF;IACD;QACE,IAAI,EAAE,uBAAe,CAAC,oBAAoB;QAC1C,QAAQ,CACN,GAAW,EACX,WAAmB;YAEnB,IAAI,CAAC,0BAAgB,CAAC,eAAe,CAAC,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE;gBAC7D,OAAO;oBACL;wBACE,EAAE,EAAE,gBAAQ,CAAC,eAAe;wBAC5B,MAAM,EAAE,EAAE;qBACX;oBACD;wBACE,EAAE,EAAE,gBAAQ,CAAC,SAAS;wBACtB,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,OAAO;gBACL;oBACE,EAAE,EAAE,gBAAQ,CAAC,SAAS;oBACtB,MAAM,EAAE,GAAG;iBACZ;aACF,CAAC;QACJ,CAAC;QACD,YAAY,CAAC,IAAY,EAAE,WAAmB;YAC5C,IAAI,WAAW,KAAK,0BAAgB,CAAC,KAAK,EAAE;gBAC1C,OAAO,IAAA,mCAAgB,EAAC,IAAI,CAAC,IAAI,KAAK,CAAC;aACxC;YAED,OAAO,IAAI,CAAC;QACd,CAAC;KACF;IACD;QACE,IAAI,EAAE,uBAAe,CAAC,aAAa;QACnC,QAAQ,CAAC,IAAY,EAAE,WAAmB;YACxC,IACE,CAAC,GAAG,4BAAkB,EAAE,0BAAgB,CAAC,gBAAgB,CAAC,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC,EACjF;gBACA,OAAO;oBACL;wBACE,EAAE,EAAE,gBAAQ,CAAC,eAAe;wBAC5B,MAAM,EAAE,EAAE;qBACX;oBACD;wBACE,EAAE,EAAE,gBAAQ,CAAC,SAAS;wBACtB,MAAM,EAAE,EAAE;qBACX;iBACF,CAAC;aACH;YAED,OAAO;gBACL;oBACE,EAAE,EAAE,gBAAQ,CAAC,eAAe;oBAC5B,MAAM,EAAE,GAAG;iBACZ;aACF,CAAC;QACJ,CAAC;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getDataProps = void 0;
|
|
4
|
+
const analytics_1 = require("../constants/analytics");
|
|
5
|
+
const getDataProps = (entryPoint = '', entrySection = '', topic = '', isCustomTracking) => {
|
|
6
|
+
const dataProps = {
|
|
7
|
+
[analytics_1.DATA_VARIABLES.ENTRY_POINT]: entryPoint,
|
|
8
|
+
[analytics_1.DATA_VARIABLES.ENTRY_SECTION]: entrySection,
|
|
9
|
+
[analytics_1.DATA_VARIABLES.TOPIC]: topic,
|
|
10
|
+
[analytics_1.DATA_VARIABLES.CUSTOM_TRACKING]: isCustomTracking,
|
|
11
|
+
};
|
|
12
|
+
Object.keys(dataProps)?.forEach(key => {
|
|
13
|
+
if (!dataProps[key]) {
|
|
14
|
+
delete dataProps[key];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
return dataProps;
|
|
18
|
+
};
|
|
19
|
+
exports.getDataProps = getDataProps;
|
|
20
|
+
//# sourceMappingURL=data-props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-props.js","sourceRoot":"","sources":["../../../src/analytics/data-props.ts"],"names":[],"mappings":";;;AAAA,sDAAwD;AAEjD,MAAM,YAAY,GAAG,CAC1B,UAAU,GAAG,EAAE,EACf,YAAY,GAAG,EAAE,EACjB,KAAK,GAAG,EAAE,EACV,gBAAyB,EACY,EAAE;IACvC,MAAM,SAAS,GAAG;QAChB,CAAC,0BAAc,CAAC,WAAW,CAAC,EAAE,UAAU;QACxC,CAAC,0BAAc,CAAC,aAAa,CAAC,EAAE,YAAY;QAC5C,CAAC,0BAAc,CAAC,KAAK,CAAC,EAAE,KAAK;QAC7B,CAAC,0BAAc,CAAC,eAAe,CAAC,EAAE,gBAAgB;KACnD,CAAC;IAEF,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,EAAE;QACpC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE;YACnB,OAAO,SAAS,CAAC,GAAG,CAAC,CAAC;SACvB;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AApBW,QAAA,YAAY,gBAoBvB"}
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./attributes"), exports);
|
|
18
|
+
__exportStar(require("./data-props"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/analytics/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/analytics/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B"}
|
|
@@ -11,14 +11,14 @@ const URL_PATH_MAP = {
|
|
|
11
11
|
HOME_TUTORS: '/home-tutors/',
|
|
12
12
|
HOME_TUTORING: '/home-tutoring',
|
|
13
13
|
HYBRID_TEACHER_PROFILE: '/hybrid-teacher-profile/',
|
|
14
|
-
MATH_TUITION: '/math-tuition',
|
|
14
|
+
MATH_TUITION: '/math-tuition-',
|
|
15
15
|
CENTRES: '/centres/',
|
|
16
|
-
|
|
17
|
-
ONLINE_TUITIONS: '/online-tuitions',
|
|
16
|
+
MATHS_TUITION: '/maths-tuition/',
|
|
17
|
+
ONLINE_TUITIONS: '/online-tuitions/',
|
|
18
18
|
GRADE_MATH: 'grade-math/',
|
|
19
19
|
ONLINE_MATH_COURSES: '/online-math-courses/',
|
|
20
20
|
TUITION_TUTORS: '/tuition-tutors',
|
|
21
|
-
TEACH: '/teach',
|
|
21
|
+
TEACH: '/teach/',
|
|
22
22
|
TEACHER_PROFILE: '/teacher-profile/',
|
|
23
23
|
NEAR_ME: 'near-me/',
|
|
24
24
|
CONTACT: '/contact/',
|
|
@@ -39,31 +39,31 @@ const URL_PATH_MAP = {
|
|
|
39
39
|
MATHS_TEACHER: '/maths-teacher/',
|
|
40
40
|
LIVE_ONLINE_CLASSES: '/live-online-classes',
|
|
41
41
|
PARENT_STUDENT_SEO: '/parent-signup-seo',
|
|
42
|
-
WORKSHEETS: '/worksheets',
|
|
43
|
-
WORKSHEET: '/worksheet',
|
|
44
|
-
QUESTIONS: '/questions',
|
|
45
|
-
MATH_PUZZLES: '/math-puzzles',
|
|
46
|
-
MATH_GAMES: '/math-games',
|
|
42
|
+
WORKSHEETS: '/worksheets/',
|
|
43
|
+
WORKSHEET: '/worksheet/',
|
|
44
|
+
QUESTIONS: '/questions/',
|
|
45
|
+
MATH_PUZZLES: '/math-puzzles/',
|
|
46
|
+
MATH_GAMES: '/math-games/',
|
|
47
47
|
FORMULA: '-formula',
|
|
48
48
|
FORMULAS: '-formulas/',
|
|
49
|
-
CALCULATORS: '/calculators',
|
|
50
|
-
MULTIPLICATION_TABLE: '/multiplication-tables',
|
|
51
|
-
MULTIPLICATION: '/multiplication',
|
|
52
|
-
LEARNING: '/learning',
|
|
53
|
-
LEARN: '/learn',
|
|
54
|
-
MATH_OLYMPIAD: '/math-olympiad',
|
|
55
|
-
GEOMETRY: '/geometry',
|
|
56
|
-
DATA: '/data',
|
|
57
|
-
NUMBERS: '/numbers',
|
|
58
|
-
ALGEBRA: '/algebra',
|
|
59
|
-
CALCULUS: '/calculus',
|
|
60
|
-
MEASURMENT: '/measurement',
|
|
61
|
-
TRIGONOMETRY: '/trigonometry',
|
|
62
|
-
COMMERCIAL_MATH: '/commercial-math',
|
|
49
|
+
CALCULATORS: '/calculators/',
|
|
50
|
+
MULTIPLICATION_TABLE: '/multiplication-tables/',
|
|
51
|
+
MULTIPLICATION: '/multiplication/',
|
|
52
|
+
LEARNING: '/learning/',
|
|
53
|
+
LEARN: '/learn/',
|
|
54
|
+
MATH_OLYMPIAD: '/math-olympiad/',
|
|
55
|
+
GEOMETRY: '/geometry/',
|
|
56
|
+
DATA: '/data/',
|
|
57
|
+
NUMBERS: '/numbers/',
|
|
58
|
+
ALGEBRA: '/algebra/',
|
|
59
|
+
CALCULUS: '/calculus/',
|
|
60
|
+
MEASURMENT: '/measurement/',
|
|
61
|
+
TRIGONOMETRY: '/trigonometry/',
|
|
62
|
+
COMMERCIAL_MATH: '/commercial-math/',
|
|
63
63
|
NCERT: '/ncert',
|
|
64
64
|
NCERT2: '/NCERT',
|
|
65
|
-
NCERT_SOLUTIONS: '/ncert-solutions',
|
|
66
|
-
STORIES_FOR_KIDS: 'stories-for-kids',
|
|
65
|
+
NCERT_SOLUTIONS: '/ncert-solutions/',
|
|
66
|
+
STORIES_FOR_KIDS: '/stories-for-kids',
|
|
67
67
|
EN_HOMEPAGE: '/en-',
|
|
68
68
|
ABOUT: '/about/',
|
|
69
69
|
LOGIN: '/login',
|
|
@@ -72,7 +72,8 @@ const URL_PATH_MAP = {
|
|
|
72
72
|
HYBRID_TEACHER: '/hybrid-teacher',
|
|
73
73
|
TUITION_TEACHER: 'tuition-teacher',
|
|
74
74
|
CLASS: '/class-',
|
|
75
|
-
GRADE:
|
|
75
|
+
GRADE: /^\/grade-\d+\/$/,
|
|
76
|
+
GRADES: /^\/grades\/$/,
|
|
76
77
|
LEAP_PAYMENT: '/leap-payment/',
|
|
77
78
|
LEARN_MATH_ONLINE: 'learn-math-online-',
|
|
78
79
|
UPGRADE: '/upgrade/',
|
|
@@ -87,7 +88,12 @@ const URL_PATH_MAP = {
|
|
|
87
88
|
PDF: 'pdf',
|
|
88
89
|
DOWNLOAD: 'download',
|
|
89
90
|
CUEMATH_OLYMPIAD: 'cuemath-olympiad',
|
|
90
|
-
GIFT: 'gift',
|
|
91
|
+
GIFT: '/gift/',
|
|
92
|
+
MATH_FORMULA: '/math-formulas',
|
|
93
|
+
COURSE_OLYMPIAD: '/course/olympiad/',
|
|
94
|
+
PHILOSOPHY: '/philosophy',
|
|
95
|
+
PRICING: '/pricing',
|
|
96
|
+
MATHS_YEAR: '/maths/year-',
|
|
91
97
|
};
|
|
92
98
|
exports.BRAND_PAGES = [
|
|
93
99
|
URL_PATH_MAP.HOMEPAGE,
|
|
@@ -111,7 +117,7 @@ exports.INTENT_PAGES = [
|
|
|
111
117
|
URL_PATH_MAP.HYBRID_TEACHER,
|
|
112
118
|
URL_PATH_MAP.MATH_TUITION,
|
|
113
119
|
URL_PATH_MAP.CENTRES,
|
|
114
|
-
URL_PATH_MAP.
|
|
120
|
+
URL_PATH_MAP.MATHS_TUITION,
|
|
115
121
|
URL_PATH_MAP.ONLINE_TUITIONS,
|
|
116
122
|
URL_PATH_MAP.ONLINE_MATH_COURSES,
|
|
117
123
|
URL_PATH_MAP.TUITION_TUTORS,
|
|
@@ -135,9 +141,15 @@ exports.INTENT_PAGES = [
|
|
|
135
141
|
URL_PATH_MAP.TUITION_TEACHER,
|
|
136
142
|
URL_PATH_MAP.LEAP_PAYMENT,
|
|
137
143
|
URL_PATH_MAP.GRADE,
|
|
144
|
+
URL_PATH_MAP.GRADES,
|
|
138
145
|
URL_PATH_MAP.LEARN_MATH_ONLINE,
|
|
139
146
|
URL_PATH_MAP.UPGRADE,
|
|
140
147
|
URL_PATH_MAP.HCL,
|
|
148
|
+
URL_PATH_MAP.ONLINE_MATH,
|
|
149
|
+
URL_PATH_MAP.COURSE_OLYMPIAD,
|
|
150
|
+
URL_PATH_MAP.PHILOSOPHY,
|
|
151
|
+
URL_PATH_MAP.PRICING,
|
|
152
|
+
URL_PATH_MAP.MATHS_YEAR,
|
|
141
153
|
];
|
|
142
154
|
exports.SUPPLY_PAGES = [
|
|
143
155
|
URL_PATH_MAP.WORK_FROM_HOME,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/website-category/constants/index.ts"],"names":[],"mappings":";;;AAAA,MAAM,YAAY,GAAG;IACnB,QAAQ,EAAE,GAAG;IACb,aAAa,EAAE,sBAAsB;IACrC,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,oBAAoB;IACvC,WAAW,EAAE,eAAe;IAC5B,UAAU,EAAE,aAAa;IACzB,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,gBAAgB;IAC/B,sBAAsB,EAAE,0BAA0B;IAClD,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/website-category/constants/index.ts"],"names":[],"mappings":";;;AAAA,MAAM,YAAY,GAAG;IACnB,QAAQ,EAAE,GAAG;IACb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ACvB,YAAY,CAAC,OAAO;IACpB,YAAY,CAAC,UAAU;CACxB,CAAC;AAEW,QAAA,YAAY,GAAG;IAC1B,YAAY,CAAC,cAAc;IAC3B,YAAY,CAAC,aAAa;IAC1B,YAAY,CAAC,aAAa;IAC1B,YAAY,CAAC,YAAY;IACzB,YAAY,CAAC,cAAc;IAC3B,YAAY,CAAC,oBAAoB;IACjC,YAAY,CAAC,cAAc;IAC3B,YAAY,CAAC,OAAO;CACrB,CAAC;AAEW,QAAA,cAAc,GAAG,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC"}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
export declare const seoPageNames: {
|
|
2
|
+
numbers: {
|
|
3
|
+
title: string;
|
|
4
|
+
route: string;
|
|
5
|
+
};
|
|
6
|
+
algebra: {
|
|
7
|
+
title: string;
|
|
8
|
+
route: string;
|
|
9
|
+
};
|
|
10
|
+
geometry: {
|
|
11
|
+
title: string;
|
|
12
|
+
route: string;
|
|
13
|
+
};
|
|
14
|
+
data: {
|
|
15
|
+
title: string;
|
|
16
|
+
route: string;
|
|
17
|
+
};
|
|
18
|
+
measurement: {
|
|
19
|
+
title: string;
|
|
20
|
+
route: string;
|
|
21
|
+
};
|
|
22
|
+
'commercial-math': {
|
|
23
|
+
title: string;
|
|
24
|
+
route: string;
|
|
25
|
+
};
|
|
26
|
+
trigonometry: {
|
|
27
|
+
title: string;
|
|
28
|
+
route: string;
|
|
29
|
+
};
|
|
30
|
+
calculus: {
|
|
31
|
+
title: string;
|
|
32
|
+
route: string;
|
|
33
|
+
};
|
|
34
|
+
learn: {
|
|
35
|
+
title: string;
|
|
36
|
+
route: string;
|
|
37
|
+
};
|
|
38
|
+
learning: {
|
|
39
|
+
title: string;
|
|
40
|
+
route: string;
|
|
41
|
+
};
|
|
42
|
+
'multiplication-tables': {
|
|
43
|
+
title: string;
|
|
44
|
+
route: string;
|
|
45
|
+
};
|
|
46
|
+
calculators: {
|
|
47
|
+
title: string;
|
|
48
|
+
route: string;
|
|
49
|
+
};
|
|
50
|
+
'math-formulas': {
|
|
51
|
+
title: string;
|
|
52
|
+
route: string;
|
|
53
|
+
};
|
|
54
|
+
'ncert-solutions': {
|
|
55
|
+
title: string;
|
|
56
|
+
route: string;
|
|
57
|
+
};
|
|
58
|
+
'math-olympiad': {
|
|
59
|
+
title: string;
|
|
60
|
+
route: string;
|
|
61
|
+
};
|
|
62
|
+
questions: {
|
|
63
|
+
title: string;
|
|
64
|
+
route: string;
|
|
65
|
+
};
|
|
66
|
+
worksheets: {
|
|
67
|
+
title: string;
|
|
68
|
+
route: string;
|
|
69
|
+
};
|
|
70
|
+
worksheet: {
|
|
71
|
+
title: string;
|
|
72
|
+
route: string;
|
|
73
|
+
};
|
|
74
|
+
'math-puzzles': {
|
|
75
|
+
title: string;
|
|
76
|
+
route: string;
|
|
77
|
+
};
|
|
78
|
+
'math-games': {
|
|
79
|
+
title: string;
|
|
80
|
+
route: string;
|
|
81
|
+
};
|
|
82
|
+
formula: {
|
|
83
|
+
title: string;
|
|
84
|
+
route: string;
|
|
85
|
+
};
|
|
86
|
+
multiplication: {
|
|
87
|
+
title: string;
|
|
88
|
+
route: string;
|
|
89
|
+
};
|
|
90
|
+
teach: {
|
|
91
|
+
title: string;
|
|
92
|
+
route: string;
|
|
93
|
+
};
|
|
94
|
+
ncert: {
|
|
95
|
+
title: string;
|
|
96
|
+
route: string;
|
|
97
|
+
};
|
|
98
|
+
ncert2: {
|
|
99
|
+
title: string;
|
|
100
|
+
route: string;
|
|
101
|
+
};
|
|
102
|
+
'stories-for-kids': {
|
|
103
|
+
title: string;
|
|
104
|
+
route: string;
|
|
105
|
+
};
|
|
106
|
+
pdf: {
|
|
107
|
+
title: string;
|
|
108
|
+
route: string;
|
|
109
|
+
};
|
|
110
|
+
download: {
|
|
111
|
+
title: string;
|
|
112
|
+
route: string;
|
|
113
|
+
};
|
|
114
|
+
'cuemath-olympiad': {
|
|
115
|
+
title: string;
|
|
116
|
+
route: string;
|
|
117
|
+
};
|
|
118
|
+
Maths: {
|
|
119
|
+
title: string;
|
|
120
|
+
route: string;
|
|
121
|
+
};
|
|
122
|
+
Grades: {
|
|
123
|
+
title: string;
|
|
124
|
+
route: string;
|
|
125
|
+
};
|
|
126
|
+
Concept: {
|
|
127
|
+
title: string;
|
|
128
|
+
route: string;
|
|
129
|
+
};
|
|
130
|
+
Properties: {
|
|
131
|
+
title: string;
|
|
132
|
+
route: string;
|
|
133
|
+
};
|
|
134
|
+
'Complex-numbers': {
|
|
135
|
+
title: string;
|
|
136
|
+
route: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.seoPageNames = void 0;
|
|
4
|
+
exports.seoPageNames = {
|
|
5
|
+
'numbers': {
|
|
6
|
+
title: 'Numbers',
|
|
7
|
+
route: '/numbers/',
|
|
8
|
+
},
|
|
9
|
+
'algebra': {
|
|
10
|
+
title: 'Algebra',
|
|
11
|
+
route: '/algebra',
|
|
12
|
+
},
|
|
13
|
+
'geometry': {
|
|
14
|
+
title: 'Geometry',
|
|
15
|
+
route: '/geometry/',
|
|
16
|
+
},
|
|
17
|
+
'data': {
|
|
18
|
+
title: 'Data',
|
|
19
|
+
route: '/data/',
|
|
20
|
+
},
|
|
21
|
+
'measurement': {
|
|
22
|
+
title: 'Measurement',
|
|
23
|
+
route: '/measurement/',
|
|
24
|
+
},
|
|
25
|
+
'commercial-math': {
|
|
26
|
+
title: 'Commercial Math',
|
|
27
|
+
route: '/commercial-math/',
|
|
28
|
+
},
|
|
29
|
+
'trigonometry': {
|
|
30
|
+
title: 'Trigonometry',
|
|
31
|
+
route: '/trigonometry/',
|
|
32
|
+
},
|
|
33
|
+
'calculus': {
|
|
34
|
+
title: 'Calculus',
|
|
35
|
+
route: '/calculus/',
|
|
36
|
+
},
|
|
37
|
+
'learn': {
|
|
38
|
+
title: 'Blog',
|
|
39
|
+
route: '/learn/',
|
|
40
|
+
},
|
|
41
|
+
'learning': {
|
|
42
|
+
title: 'Learning',
|
|
43
|
+
route: '/learning/',
|
|
44
|
+
},
|
|
45
|
+
'multiplication-tables': {
|
|
46
|
+
title: 'Multiplication Tables',
|
|
47
|
+
route: '/multiplication-tables/',
|
|
48
|
+
},
|
|
49
|
+
'calculators': {
|
|
50
|
+
title: 'Calculators',
|
|
51
|
+
route: '/calculators/',
|
|
52
|
+
},
|
|
53
|
+
'math-formulas': {
|
|
54
|
+
title: 'Math Formulas',
|
|
55
|
+
route: '/math-formulas/',
|
|
56
|
+
},
|
|
57
|
+
'ncert-solutions': {
|
|
58
|
+
title: 'NCERT Solutions',
|
|
59
|
+
route: '/ncert-solutions/',
|
|
60
|
+
},
|
|
61
|
+
'math-olympiad': {
|
|
62
|
+
title: 'Math Olympiad',
|
|
63
|
+
route: '/math-olympiad/',
|
|
64
|
+
},
|
|
65
|
+
'questions': {
|
|
66
|
+
title: 'Math Questions',
|
|
67
|
+
route: '/questions/',
|
|
68
|
+
},
|
|
69
|
+
'worksheets': {
|
|
70
|
+
title: 'Math Worksheets',
|
|
71
|
+
route: '/worksheets/',
|
|
72
|
+
},
|
|
73
|
+
'worksheet': {
|
|
74
|
+
title: 'Math Worksheet',
|
|
75
|
+
route: 'worksheet',
|
|
76
|
+
},
|
|
77
|
+
'math-puzzles': {
|
|
78
|
+
title: 'Math Puzzles',
|
|
79
|
+
route: '/math-puzzles/',
|
|
80
|
+
},
|
|
81
|
+
'math-games': {
|
|
82
|
+
title: 'Math Games',
|
|
83
|
+
route: '/math-games/',
|
|
84
|
+
},
|
|
85
|
+
'formula': {
|
|
86
|
+
title: 'Math formula',
|
|
87
|
+
route: '-formula',
|
|
88
|
+
},
|
|
89
|
+
'multiplication': {
|
|
90
|
+
title: 'Multiplication',
|
|
91
|
+
route: '/multiplication/',
|
|
92
|
+
},
|
|
93
|
+
'teach': {
|
|
94
|
+
title: 'Teach',
|
|
95
|
+
route: '/teach/',
|
|
96
|
+
},
|
|
97
|
+
'ncert': {
|
|
98
|
+
title: 'NCERT',
|
|
99
|
+
route: '/ncert',
|
|
100
|
+
},
|
|
101
|
+
'ncert2': {
|
|
102
|
+
title: 'NCERT',
|
|
103
|
+
route: '/NCERT',
|
|
104
|
+
},
|
|
105
|
+
'stories-for-kids': {
|
|
106
|
+
title: 'Stories for Kids',
|
|
107
|
+
route: '/stories-for-kids',
|
|
108
|
+
},
|
|
109
|
+
'pdf': {
|
|
110
|
+
title: 'Pdf',
|
|
111
|
+
route: 'pdf',
|
|
112
|
+
},
|
|
113
|
+
'download': {
|
|
114
|
+
title: 'Download',
|
|
115
|
+
route: 'download',
|
|
116
|
+
},
|
|
117
|
+
'cuemath-olympiad': {
|
|
118
|
+
title: 'Cuemath Olympiad',
|
|
119
|
+
route: 'cuemath-olympiad',
|
|
120
|
+
},
|
|
121
|
+
'Maths': {
|
|
122
|
+
title: 'Maths',
|
|
123
|
+
route: '/maths/',
|
|
124
|
+
},
|
|
125
|
+
'Grades': {
|
|
126
|
+
title: 'Grades',
|
|
127
|
+
route: '/grades/',
|
|
128
|
+
},
|
|
129
|
+
'Concept': {
|
|
130
|
+
title: 'Concept',
|
|
131
|
+
route: 'concept',
|
|
132
|
+
},
|
|
133
|
+
'Properties': {
|
|
134
|
+
title: 'Properties',
|
|
135
|
+
route: 'properties',
|
|
136
|
+
},
|
|
137
|
+
'Complex-numbers': {
|
|
138
|
+
title: 'Complex numbers',
|
|
139
|
+
route: 'complex-numbers',
|
|
140
|
+
},
|
|
141
|
+
};
|
|
142
|
+
//# sourceMappingURL=instrumentation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instrumentation.js","sourceRoot":"","sources":["../../../../src/website-category/constants/instrumentation.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;IAC1B,SAAS,EAAE;QACT,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,WAAW;KACnB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ineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.REFERRAL_PAGES = exports.SUPPLY_PAGES = exports.INTENT_PAGES = exports.BRAND_PAGES = exports.
|
|
3
|
+
exports.getSubRevenueChannel = exports.REFERRAL_PAGES = exports.SUPPLY_PAGES = exports.INTENT_PAGES = exports.BRAND_PAGES = exports.checkContentPage = void 0;
|
|
4
4
|
var utils_1 = require("./utils");
|
|
5
|
-
Object.defineProperty(exports, "
|
|
5
|
+
Object.defineProperty(exports, "checkContentPage", { enumerable: true, get: function () { return utils_1.checkContentPage; } });
|
|
6
6
|
var constants_1 = require("./constants");
|
|
7
7
|
Object.defineProperty(exports, "BRAND_PAGES", { enumerable: true, get: function () { return constants_1.BRAND_PAGES; } });
|
|
8
8
|
Object.defineProperty(exports, "INTENT_PAGES", { enumerable: true, get: function () { return constants_1.INTENT_PAGES; } });
|
|
9
9
|
Object.defineProperty(exports, "SUPPLY_PAGES", { enumerable: true, get: function () { return constants_1.SUPPLY_PAGES; } });
|
|
10
10
|
Object.defineProperty(exports, "REFERRAL_PAGES", { enumerable: true, get: function () { return constants_1.REFERRAL_PAGES; } });
|
|
11
|
+
var instrumentation_1 = require("./utils/instrumentation");
|
|
12
|
+
Object.defineProperty(exports, "getSubRevenueChannel", { enumerable: true, get: function () { return instrumentation_1.getSubRevenueChannel; } });
|
|
11
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/website-category/index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/website-category/index.ts"],"names":[],"mappings":";;;AAAA,iCAA2C;AAAlC,yGAAA,gBAAgB,OAAA;AACzB,yCAAsF;AAA7E,wGAAA,WAAW,OAAA;AAAE,yGAAA,YAAY,OAAA;AAAE,yGAAA,YAAY,OAAA;AAAE,2GAAA,cAAc,OAAA;AAChE,2DAA+D;AAAtD,uHAAA,oBAAoB,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const checkContentPage: (path: string) => boolean;
|
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
return true;
|
|
9
|
-
}
|
|
10
|
-
const urlWithoutTrailingSlash = (0, url_parser_1.removeTrailingSlashFromPath)(path);
|
|
11
|
-
const isBrandPage = constants_1.BRAND_PAGES.some(pagePath => pagePath === '/' ? false : urlWithoutTrailingSlash.includes(pagePath));
|
|
12
|
-
const isIntentPage = constants_1.INTENT_PAGES.some(pagePath => pagePath === '/' ? false : urlWithoutTrailingSlash.includes(pagePath));
|
|
13
|
-
if (isBrandPage || isIntentPage) {
|
|
14
|
-
return true;
|
|
15
|
-
}
|
|
16
|
-
return false;
|
|
3
|
+
exports.checkContentPage = void 0;
|
|
4
|
+
const instrumentation_1 = require("./instrumentation");
|
|
5
|
+
const checkContentPage = (path) => {
|
|
6
|
+
const pageCategory = (0, instrumentation_1.getSubRevenueChannel)(path);
|
|
7
|
+
return pageCategory === 'Content' ? false : true;
|
|
17
8
|
};
|
|
18
|
-
exports.
|
|
9
|
+
exports.checkContentPage = checkContentPage;
|
|
19
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/website-category/utils/index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/website-category/utils/index.ts"],"names":[],"mappings":";;;AAAA,uDAAyD;AAElD,MAAM,gBAAgB,GAAG,CAAC,IAAY,EAAE,EAAE;IAC/C,MAAM,YAAY,GAAG,IAAA,sCAAoB,EAAC,IAAI,CAAC,CAAC;IAEhD,OAAO,YAAY,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC;AACnD,CAAC,CAAC;AAJW,QAAA,gBAAgB,oBAI3B"}
|