@cuemath/web-utils 1.0.30 → 1.0.31-naeem.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/cjs/ab-experiment/utils/experiments.js +3 -1
- package/dist/cjs/ab-experiment/utils/experiments.js.map +1 -1
- package/dist/cjs/website-category/utils/index.js +7 -2
- package/dist/cjs/website-category/utils/index.js.map +1 -1
- package/dist/esm/ab-experiment/utils/experiments.js +4 -2
- package/dist/esm/ab-experiment/utils/experiments.js.map +1 -1
- package/dist/esm/website-category/utils/index.js +7 -2
- package/dist/esm/website-category/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/website-category/constants/test.d.ts +0 -118
- package/dist/cjs/website-category/constants/test.js +0 -122
- package/dist/cjs/website-category/constants/test.js.map +0 -1
- package/dist/esm/website-category/constants/test.d.ts +0 -118
- package/dist/esm/website-category/constants/test.js +0 -119
- package/dist/esm/website-category/constants/test.js.map +0 -1
|
@@ -122,8 +122,10 @@ exports.EXPERIMENTS = [
|
|
|
122
122
|
];
|
|
123
123
|
},
|
|
124
124
|
customFilter(path, countryCode) {
|
|
125
|
+
// eslint-disable-next-line no-console
|
|
126
|
+
console.log((0, website_category_1.isBrandOrIntentPage)(path), 'isBrandOrIntentPage');
|
|
125
127
|
if (countryCode === country_1.ISO_COUNTRY_CODE.INDIA) {
|
|
126
|
-
return (0, website_category_1.
|
|
128
|
+
return (0, website_category_1.isBrandOrIntentPage)(path) || false;
|
|
127
129
|
}
|
|
128
130
|
return true;
|
|
129
131
|
},
|
|
@@ -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,6DAA6D;AAC7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IAAA,sCAAmB,EAAC,IAAI,CAAC,EAAE,qBAAqB,CAAC,CAAC;YAC9D,IAAI,WAAW,KAAK,0BAAgB,CAAC,KAAK,EAAE;gBAC1C,OAAO,IAAA,sCAAmB,EAAC,IAAI,CAAC,IAAI,KAAK,CAAC;aAC3C;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"}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.checkContentPage = exports.isBrandOrIntentPage = void 0;
|
|
4
|
+
/* eslint-disable no-console */
|
|
4
5
|
const url_parser_1 = require("../../url-parser");
|
|
5
6
|
const constants_1 = require("../constants");
|
|
6
7
|
const isBrandOrIntentPage = (path) => {
|
|
8
|
+
console.log(path, 'in isBrandOrIntentPage');
|
|
7
9
|
if (path === '/') {
|
|
8
10
|
return true;
|
|
9
11
|
}
|
|
10
12
|
const urlWithoutTrailingSlash = (0, url_parser_1.removeTrailingSlashFromPath)(path);
|
|
13
|
+
console.log(urlWithoutTrailingSlash, 'urlWithoutTrailingSlash');
|
|
11
14
|
const isBrandPage = constants_1.BRAND_PAGES.some(pagePath => pagePath === '/' ? false : urlWithoutTrailingSlash.includes(pagePath));
|
|
12
15
|
const isIntentPage = constants_1.INTENT_PAGES.some(pagePath => pagePath === '/' ? false : urlWithoutTrailingSlash.includes(pagePath));
|
|
16
|
+
console.log(isBrandPage, 'isBrandPage');
|
|
17
|
+
console.log(isIntentPage, 'isIntentPage');
|
|
13
18
|
if (isBrandPage || isIntentPage) {
|
|
14
19
|
return true;
|
|
15
20
|
}
|
|
@@ -18,10 +23,10 @@ const isBrandOrIntentPage = (path) => {
|
|
|
18
23
|
exports.isBrandOrIntentPage = isBrandOrIntentPage;
|
|
19
24
|
const checkContentPage = (path) => {
|
|
20
25
|
if (path === '/') {
|
|
21
|
-
return
|
|
26
|
+
return true;
|
|
22
27
|
}
|
|
23
28
|
const urlWithoutTrailingSlash = (0, url_parser_1.removeTrailingSlashFromPath)(path);
|
|
24
|
-
const isContentPage = constants_1.CONTENT_PAGES.some(pagePath =>
|
|
29
|
+
const isContentPage = constants_1.CONTENT_PAGES.some(pagePath => urlWithoutTrailingSlash.includes(pagePath));
|
|
25
30
|
if (isContentPage) {
|
|
26
31
|
return false;
|
|
27
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/website-category/utils/index.ts"],"names":[],"mappings":";;;AAAA,iDAA+D;AAC/D,4CAAwE;AAEjE,MAAM,mBAAmB,GAAG,CAAC,IAAY,EAAE,EAAE;IAClD,IAAI,IAAI,KAAK,GAAG,EAAE;QAChB,OAAO,IAAI,CAAC;KACb;IAED,MAAM,uBAAuB,GAAG,IAAA,wCAA2B,EAAC,IAAI,CAAC,CAAC;IAElE,MAAM,WAAW,GAAG,uBAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAC9C,QAAQ,KAAK,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,uBAAuB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CACtE,CAAC;IACF,MA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IAAI,WAAW,IAAI,YAAY,EAAE;QAC/B,OAAO,IAAI,CAAC;KACb;IAED,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AA1BW,QAAA,mBAAmB,uBA0B9B;AAEK,MAAM,gBAAgB,GAAG,CAAC,IAAY,EAAE,EAAE;IAC/C,IAAI,IAAI,KAAK,GAAG,EAAE;QAChB,OAAO,IAAI,CAAC;KACb;IAED,MAAM,uBAAuB,GAAG,IAAA,wCAA2B,EAAC,IAAI,CAAC,CAAC;IAElE,MAAM,aAAa,GAAG,yBAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAClD,uBAAuB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAC3C,CAAC;IAEF,IAAI,aAAa,EAAE;QACjB,OAAO,KAAK,CAAC;KACd;IAED,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAhBW,QAAA,gBAAgB,oBAgB3B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ISO_COUNTRY_CODE, MIDDLE_EAST_COUNTRIES, BEST_PERFORMING_COHORT_ROW_COUNTRIES, NON_FOCUSED_ROW_COUNTRIES, EUROPEAN_COUNTRIES, } from '../../constants/country';
|
|
2
|
-
import {
|
|
2
|
+
import { isBrandOrIntentPage } from '../../website-category';
|
|
3
3
|
import { EXPERIMENT_KEYS, VARIANTS } from '../constants/index';
|
|
4
4
|
export const EXPERIMENTS = [
|
|
5
5
|
{
|
|
@@ -119,8 +119,10 @@ export const EXPERIMENTS = [
|
|
|
119
119
|
];
|
|
120
120
|
},
|
|
121
121
|
customFilter(path, countryCode) {
|
|
122
|
+
// eslint-disable-next-line no-console
|
|
123
|
+
console.log(isBrandOrIntentPage(path), 'isBrandOrIntentPage');
|
|
122
124
|
if (countryCode === ISO_COUNTRY_CODE.INDIA) {
|
|
123
|
-
return
|
|
125
|
+
return isBrandOrIntentPage(path) || false;
|
|
124
126
|
}
|
|
125
127
|
return true;
|
|
126
128
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experiments.js","sourceRoot":"","sources":["../../../../src/ab-experiment/utils/experiments.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,oCAAoC,EACpC,yBAAyB,EACzB,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"experiments.js","sourceRoot":"","sources":["../../../../src/ab-experiment/utils/experiments.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EACrB,oCAAoC,EACpC,yBAAyB,EACzB,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAI/D,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB;QACE,IAAI,EAAE,eAAe,CAAC,IAAI;QAC1B,QAAQ;YACN,OAAO;gBACL;oBACE,EAAE,EAAE,QAAQ,CAAC,SAAS;oBACtB,MAAM,EAAE,GAAG;iBACZ;aACF,CAAC;QACJ,CAAC;KACF;IACD;QACE,IAAI,EAAE,eAAe,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,QAAQ,CAAC,eAAe;wBAC5B,MAAM,EAAE,EAAE;qBACX;oBACD;wBACE,EAAE,EAAE,QAAQ,CAAC,SAAS;wBACtB,MAAM,EAAE,EAAE;qBACX;iBACF,CAAC;aACH;YAED,OAAO;gBACL;oBACE,EAAE,EAAE,QAAQ,CAAC,eAAe;oBAC5B,MAAM,EAAE,GAAG;iBACZ;aACF,CAAC;QACJ,CAAC;KACF;IACD;QACE,IAAI,EAAE,eAAe,CAAC,oBAAoB;Q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,12 +1,17 @@
|
|
|
1
|
+
/* eslint-disable no-console */
|
|
1
2
|
import { removeTrailingSlashFromPath } from '../../url-parser';
|
|
2
3
|
import { BRAND_PAGES, CONTENT_PAGES, INTENT_PAGES } from '../constants';
|
|
3
4
|
export const isBrandOrIntentPage = (path) => {
|
|
5
|
+
console.log(path, 'in isBrandOrIntentPage');
|
|
4
6
|
if (path === '/') {
|
|
5
7
|
return true;
|
|
6
8
|
}
|
|
7
9
|
const urlWithoutTrailingSlash = removeTrailingSlashFromPath(path);
|
|
10
|
+
console.log(urlWithoutTrailingSlash, 'urlWithoutTrailingSlash');
|
|
8
11
|
const isBrandPage = BRAND_PAGES.some(pagePath => pagePath === '/' ? false : urlWithoutTrailingSlash.includes(pagePath));
|
|
9
12
|
const isIntentPage = INTENT_PAGES.some(pagePath => pagePath === '/' ? false : urlWithoutTrailingSlash.includes(pagePath));
|
|
13
|
+
console.log(isBrandPage, 'isBrandPage');
|
|
14
|
+
console.log(isIntentPage, 'isIntentPage');
|
|
10
15
|
if (isBrandPage || isIntentPage) {
|
|
11
16
|
return true;
|
|
12
17
|
}
|
|
@@ -14,10 +19,10 @@ export const isBrandOrIntentPage = (path) => {
|
|
|
14
19
|
};
|
|
15
20
|
export const checkContentPage = (path) => {
|
|
16
21
|
if (path === '/') {
|
|
17
|
-
return
|
|
22
|
+
return true;
|
|
18
23
|
}
|
|
19
24
|
const urlWithoutTrailingSlash = removeTrailingSlashFromPath(path);
|
|
20
|
-
const isContentPage = CONTENT_PAGES.some(pagePath =>
|
|
25
|
+
const isContentPage = CONTENT_PAGES.some(pagePath => urlWithoutTrailingSlash.includes(pagePath));
|
|
21
26
|
if (isContentPage) {
|
|
22
27
|
return false;
|
|
23
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/website-category/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAC/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|
|
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
|
-
};
|
|
@@ -1,122 +0,0 @@
|
|
|
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
|
-
};
|
|
122
|
-
//# sourceMappingURL=test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"test.js","sourceRoot":"","sources":["../../../../src/website-category/constants/test.js"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;IAC1B,SAAS,EAAE;QACT,KAAK,EAAE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AgB;QACvB,KAAK,EAAE,WAAW;KACnB;IACD,cAAc,EAAE;QACd,KAAK,EAAE,cAAc;QACrB,KAAK,EAAE,gBAAgB;KACxB;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,YAAY;QACnB,KAAK,EAAE,cAAc;KACtB;IACD,SAAS,EAAE;QACT,KAAK,EAAE,cAAc;QACrB,KAAK,EAAE,UAAU;KAClB;IACD,gBAAgB,EAAE;QAChB,KAAK,EAAE,gBAAgB;QACvB,KAAK,EAAE,kBAAkB;KAC1B;IACD,OAAO,EAAE;QACP,KAAK,EAAE,OAAO;QACd,KAAK,EAAE,SAAS;KACjB;IACD,OAAO,EAAE;QACP,KAAK,EAAE,OAAO;QACd,KAAK,EAAE,QAAQ;KAChB;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,OAAO;QACd,KAAK,EAAE,QAAQ;KAChB;IACD,kBAAkB,EAAE;QAClB,KAAK,EAAE,kBAAkB;QACzB,KAAK,EAAE,mBAAmB;KAC3B;IACD,KAAK,EAAE;QACL,KAAK,EAAE,KAAK;QACZ,KAAK,EAAE,KAAK;KACb;IACD,UAAU,EAAE;QACV,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE,UAAU;KAClB;IACD,kBAAkB,EAAE;QAClB,KAAK,EAAE,kBAAkB;QACzB,KAAK,EAAE,kBAAkB;KAC1B;CACF,CAAC"}
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
export 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
|
-
};
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
export const seoPageNames = {
|
|
2
|
-
'numbers': {
|
|
3
|
-
title: 'Numbers',
|
|
4
|
-
route: '/numbers/',
|
|
5
|
-
},
|
|
6
|
-
'algebra': {
|
|
7
|
-
title: 'Algebra',
|
|
8
|
-
route: '/algebra/',
|
|
9
|
-
},
|
|
10
|
-
'geometry': {
|
|
11
|
-
title: 'Geometry',
|
|
12
|
-
route: '/geometry/',
|
|
13
|
-
},
|
|
14
|
-
'data': {
|
|
15
|
-
title: 'Data',
|
|
16
|
-
route: '/data/',
|
|
17
|
-
},
|
|
18
|
-
'measurement': {
|
|
19
|
-
title: 'Measurement',
|
|
20
|
-
route: '/measurement/',
|
|
21
|
-
},
|
|
22
|
-
'commercial-math': {
|
|
23
|
-
title: 'Commercial Math',
|
|
24
|
-
route: '/commercial-math/',
|
|
25
|
-
},
|
|
26
|
-
'trigonometry': {
|
|
27
|
-
title: 'Trigonometry',
|
|
28
|
-
route: '/trigonometry/',
|
|
29
|
-
},
|
|
30
|
-
'calculus': {
|
|
31
|
-
title: 'Calculus',
|
|
32
|
-
route: '/calculus/',
|
|
33
|
-
},
|
|
34
|
-
'learn': {
|
|
35
|
-
title: 'Blog',
|
|
36
|
-
route: '/learn/',
|
|
37
|
-
},
|
|
38
|
-
'learning': {
|
|
39
|
-
title: 'Learning',
|
|
40
|
-
route: '/learning/',
|
|
41
|
-
},
|
|
42
|
-
'multiplication-tables': {
|
|
43
|
-
title: 'Multiplication Tables',
|
|
44
|
-
route: '/multiplication-tables/',
|
|
45
|
-
},
|
|
46
|
-
'calculators': {
|
|
47
|
-
title: 'Calculators',
|
|
48
|
-
route: '/calculators/',
|
|
49
|
-
},
|
|
50
|
-
'math-formulas': {
|
|
51
|
-
title: 'Math Formulas',
|
|
52
|
-
route: '/math-formulas/',
|
|
53
|
-
},
|
|
54
|
-
'ncert-solutions': {
|
|
55
|
-
title: 'NCERT Solutions',
|
|
56
|
-
route: '/ncert-solutions/',
|
|
57
|
-
},
|
|
58
|
-
'math-olympiad': {
|
|
59
|
-
title: 'Math Olympiad',
|
|
60
|
-
route: '/math-olympiad/',
|
|
61
|
-
},
|
|
62
|
-
'questions': {
|
|
63
|
-
title: 'Math Questions',
|
|
64
|
-
route: '/questions/',
|
|
65
|
-
},
|
|
66
|
-
'worksheets': {
|
|
67
|
-
title: 'Math Worksheets',
|
|
68
|
-
route: '/worksheets/',
|
|
69
|
-
},
|
|
70
|
-
'worksheet': {
|
|
71
|
-
title: 'Math Worksheet',
|
|
72
|
-
route: 'worksheet',
|
|
73
|
-
},
|
|
74
|
-
'math-puzzles': {
|
|
75
|
-
title: 'Math Puzzles',
|
|
76
|
-
route: '/math-puzzles/',
|
|
77
|
-
},
|
|
78
|
-
'math-games': {
|
|
79
|
-
title: 'Math Games',
|
|
80
|
-
route: '/math-games/',
|
|
81
|
-
},
|
|
82
|
-
'formula': {
|
|
83
|
-
title: 'Math formula',
|
|
84
|
-
route: '-formula',
|
|
85
|
-
},
|
|
86
|
-
'multiplication': {
|
|
87
|
-
title: 'Multiplication',
|
|
88
|
-
route: '/multiplication/',
|
|
89
|
-
},
|
|
90
|
-
'teach': {
|
|
91
|
-
title: 'Teach',
|
|
92
|
-
route: '/teach/',
|
|
93
|
-
},
|
|
94
|
-
'ncert': {
|
|
95
|
-
title: 'NCERT',
|
|
96
|
-
route: '/ncert',
|
|
97
|
-
},
|
|
98
|
-
'ncert2': {
|
|
99
|
-
title: 'NCERT',
|
|
100
|
-
route: '/NCERT',
|
|
101
|
-
},
|
|
102
|
-
'stories-for-kids': {
|
|
103
|
-
title: 'Stories for Kids',
|
|
104
|
-
route: '/stories-for-kids',
|
|
105
|
-
},
|
|
106
|
-
'pdf': {
|
|
107
|
-
title: 'Pdf',
|
|
108
|
-
route: 'pdf',
|
|
109
|
-
},
|
|
110
|
-
'download': {
|
|
111
|
-
title: 'Download',
|
|
112
|
-
route: 'download',
|
|
113
|
-
},
|
|
114
|
-
'cuemath-olympiad': {
|
|
115
|
-
title: 'Cuemath Olympiad',
|
|
116
|
-
route: 'cuemath-olympiad',
|
|
117
|
-
},
|
|
118
|
-
};
|
|
119
|
-
//# sourceMappingURL=test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"test.js","sourceRoot":"","sources":["../../../../src/website-category/constants/test.js"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,SAAS,EAAE;QACT,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,WAAW;KACnB;IACD,SAAS,EAAE;QACT,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,WAAW;KACnB;IACD,UAAU,EAAE;QACV,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE,YAAY;KACpB;IACD,MAAM,EAAE;QACN,KAAK,EAAE,MAAM;QACb,KAAK,EAAE,QAAQ;KAChB;IACD,aAAa,EAAE;QACb,KAAK,EAAE,aAAa;QACpB,KAAK,EAAE,eAAe;KACvB;IACD,iBAAiB,EAAE;QACjB,KAAK,EAAE,iBAAiB;QACxB,KAAK,EAAE,mBAAmB;KAC3B;IACD,cAAc,EAAE;QAC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