@cuemath/web-utils 1.2.37 → 2.0.0-beta.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/README.md +334 -1
- package/dist/browser.d.mts +15 -0
- package/dist/browser.d.ts +15 -0
- package/dist/browser.js +2 -0
- package/dist/browser.js.map +1 -0
- package/dist/browser.mjs +2 -0
- package/dist/browser.mjs.map +1 -0
- package/dist/chunk-5X4UT2UI.js +3 -0
- package/dist/chunk-5X4UT2UI.js.map +1 -0
- package/dist/chunk-CVZIO6BX.mjs +4 -0
- package/dist/chunk-CVZIO6BX.mjs.map +1 -0
- package/dist/chunk-LUUB665J.mjs +3 -0
- package/dist/chunk-LUUB665J.mjs.map +1 -0
- package/dist/chunk-OBXSX4MO.js +3 -0
- package/dist/chunk-OBXSX4MO.js.map +1 -0
- package/dist/chunk-SMWXEBQ2.js +4 -0
- package/dist/chunk-SMWXEBQ2.js.map +1 -0
- package/dist/chunk-TG7DRTM7.mjs +3 -0
- package/dist/chunk-TG7DRTM7.mjs.map +1 -0
- package/dist/cloudfront-DRTOCXPV.d.mts +758 -0
- package/dist/cloudfront-DRTOCXPV.d.ts +758 -0
- package/dist/cloudfront.d.mts +2 -0
- package/dist/cloudfront.d.ts +2 -0
- package/dist/cloudfront.js +2 -0
- package/dist/cloudfront.js.map +1 -0
- package/dist/cloudfront.mjs +2 -0
- package/dist/cloudfront.mjs.map +1 -0
- package/dist/data-props-RvZdA60G.d.mts +157 -0
- package/dist/data-props-RvZdA60G.d.ts +157 -0
- package/dist/date-time-helper/timezone.d.mts +61 -0
- package/dist/date-time-helper/timezone.d.ts +61 -0
- package/dist/date-time-helper/timezone.js +2 -0
- package/dist/date-time-helper/timezone.js.map +1 -0
- package/dist/date-time-helper/timezone.mjs +2 -0
- package/dist/date-time-helper/timezone.mjs.map +1 -0
- package/dist/{cjs/constants/teacher/index.d.ts → index.d.mts} +63 -1
- package/dist/{esm/constants/teacher/index.d.ts → index.d.ts} +63 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -0
- package/dist/metafile-cjs.json +1 -0
- package/dist/metafile-esm.json +1 -0
- package/package.json +41 -10
- package/dist/cjs/ab-experiment/constants/index.d.ts +0 -64
- package/dist/cjs/ab-experiment/constants/index.js +0 -68
- package/dist/cjs/ab-experiment/constants/index.js.map +0 -1
- package/dist/cjs/ab-experiment/index.d.ts +0 -2
- package/dist/cjs/ab-experiment/index.js +0 -15
- package/dist/cjs/ab-experiment/index.js.map +0 -1
- package/dist/cjs/ab-experiment/utils/ab-variant.d.ts +0 -13
- package/dist/cjs/ab-experiment/utils/ab-variant.js +0 -125
- package/dist/cjs/ab-experiment/utils/ab-variant.js.map +0 -1
- package/dist/cjs/ab-experiment/utils/experiments.d.ts +0 -21
- package/dist/cjs/ab-experiment/utils/experiments.js +0 -95
- package/dist/cjs/ab-experiment/utils/experiments.js.map +0 -1
- package/dist/cjs/analytics/attributes.d.ts +0 -10
- package/dist/cjs/analytics/attributes.js +0 -33
- package/dist/cjs/analytics/attributes.js.map +0 -1
- package/dist/cjs/analytics/data-props.d.ts +0 -3
- package/dist/cjs/analytics/data-props.js +0 -20
- package/dist/cjs/analytics/data-props.js.map +0 -1
- package/dist/cjs/analytics/index.d.ts +0 -2
- package/dist/cjs/analytics/index.js +0 -19
- package/dist/cjs/analytics/index.js.map +0 -1
- package/dist/cjs/constants/analytics/index.d.ts +0 -8
- package/dist/cjs/constants/analytics/index.js +0 -12
- package/dist/cjs/constants/analytics/index.js.map +0 -1
- package/dist/cjs/constants/country/country-code-map.d.ts +0 -9
- package/dist/cjs/constants/country/country-code-map.js +0 -997
- package/dist/cjs/constants/country/country-code-map.js.map +0 -1
- package/dist/cjs/constants/country/country-region-map.d.ts +0 -12
- package/dist/cjs/constants/country/country-region-map.js +0 -202
- package/dist/cjs/constants/country/country-region-map.js.map +0 -1
- package/dist/cjs/constants/country/index.d.ts +0 -5
- package/dist/cjs/constants/country/index.js +0 -24
- package/dist/cjs/constants/country/index.js.map +0 -1
- package/dist/cjs/constants/country/iso-country-code.d.ts +0 -248
- package/dist/cjs/constants/country/iso-country-code.js +0 -252
- package/dist/cjs/constants/country/iso-country-code.js.map +0 -1
- package/dist/cjs/constants/country/region.d.ts +0 -10
- package/dist/cjs/constants/country/region.js +0 -14
- package/dist/cjs/constants/country/region.js.map +0 -1
- package/dist/cjs/constants/country/states.d.ts +0 -8
- package/dist/cjs/constants/country/states.js +0 -103
- package/dist/cjs/constants/country/states.js.map +0 -1
- package/dist/cjs/constants/currency-symbols/index.d.ts +0 -175
- package/dist/cjs/constants/currency-symbols/index.js +0 -179
- package/dist/cjs/constants/currency-symbols/index.js.map +0 -1
- package/dist/cjs/constants/date-time/index.d.ts +0 -18
- package/dist/cjs/constants/date-time/index.js +0 -44
- package/dist/cjs/constants/date-time/index.js.map +0 -1
- package/dist/cjs/constants/date-time/international-timezones.d.ts +0 -7
- package/dist/cjs/constants/date-time/international-timezones.js +0 -160
- package/dist/cjs/constants/date-time/international-timezones.js.map +0 -1
- package/dist/cjs/constants/index.d.ts +0 -5
- package/dist/cjs/constants/index.js +0 -22
- package/dist/cjs/constants/index.js.map +0 -1
- package/dist/cjs/constants/instrumentation/index.d.ts +0 -5
- package/dist/cjs/constants/instrumentation/index.js +0 -9
- package/dist/cjs/constants/instrumentation/index.js.map +0 -1
- package/dist/cjs/constants/teacher/index.js +0 -277
- package/dist/cjs/constants/teacher/index.js.map +0 -1
- package/dist/cjs/cookie/index.d.ts +0 -4
- package/dist/cjs/cookie/index.js +0 -46
- package/dist/cjs/cookie/index.js.map +0 -1
- package/dist/cjs/country-code/index.d.ts +0 -8
- package/dist/cjs/country-code/index.js +0 -23
- package/dist/cjs/country-code/index.js.map +0 -1
- package/dist/cjs/data/utm-source.json +0 -54
- package/dist/cjs/date-time-helper/index.d.ts +0 -30
- package/dist/cjs/date-time-helper/index.js +0 -107
- package/dist/cjs/date-time-helper/index.js.map +0 -1
- package/dist/cjs/e-cna/index.d.ts +0 -4
- package/dist/cjs/e-cna/index.js +0 -22
- package/dist/cjs/e-cna/index.js.map +0 -1
- package/dist/cjs/growth-source/index.d.ts +0 -21
- package/dist/cjs/growth-source/index.js +0 -235
- package/dist/cjs/growth-source/index.js.map +0 -1
- package/dist/cjs/growth-source/scripts/source-channel.d.ts +0 -1
- package/dist/cjs/growth-source/scripts/source-channel.js +0 -44
- package/dist/cjs/growth-source/scripts/source-channel.js.map +0 -1
- package/dist/cjs/growth-source/types.d.ts +0 -75
- package/dist/cjs/growth-source/types.js +0 -3
- package/dist/cjs/growth-source/types.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -17
- package/dist/cjs/index.js +0 -35
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/last-landing-page/index.d.ts +0 -5
- package/dist/cjs/last-landing-page/index.js +0 -34
- package/dist/cjs/last-landing-page/index.js.map +0 -1
- package/dist/cjs/local-storage/index.d.ts +0 -13
- package/dist/cjs/local-storage/index.js +0 -173
- package/dist/cjs/local-storage/index.js.map +0 -1
- package/dist/cjs/object/index.d.ts +0 -2
- package/dist/cjs/object/index.js +0 -24
- package/dist/cjs/object/index.js.map +0 -1
- package/dist/cjs/script/index.d.ts +0 -1
- package/dist/cjs/script/index.js +0 -14
- package/dist/cjs/script/index.js.map +0 -1
- package/dist/cjs/url/index.d.ts +0 -3
- package/dist/cjs/url/index.js +0 -10
- package/dist/cjs/url/index.js.map +0 -1
- package/dist/cjs/url-parser/index.d.ts +0 -3
- package/dist/cjs/url-parser/index.js +0 -13
- package/dist/cjs/url-parser/index.js.map +0 -1
- package/dist/cjs/utils/env-mode.d.ts +0 -5
- package/dist/cjs/utils/env-mode.js +0 -9
- package/dist/cjs/utils/env-mode.js.map +0 -1
- package/dist/cjs/utils/index.d.ts +0 -2
- package/dist/cjs/utils/index.js +0 -19
- package/dist/cjs/utils/index.js.map +0 -1
- package/dist/cjs/utils/server.d.ts +0 -1
- package/dist/cjs/utils/server.js +0 -5
- package/dist/cjs/utils/server.js.map +0 -1
- package/dist/cjs/validations/form-validations.d.ts +0 -12
- package/dist/cjs/validations/form-validations.js +0 -47
- package/dist/cjs/validations/form-validations.js.map +0 -1
- package/dist/cjs/validations/index.d.ts +0 -1
- package/dist/cjs/validations/index.js +0 -18
- package/dist/cjs/validations/index.js.map +0 -1
- package/dist/cjs/website-category/constants/index.d.ts +0 -116
- package/dist/cjs/website-category/constants/index.js +0 -230
- package/dist/cjs/website-category/constants/index.js.map +0 -1
- package/dist/cjs/website-category/constants/instrumentation.d.ts +0 -178
- package/dist/cjs/website-category/constants/instrumentation.js +0 -182
- package/dist/cjs/website-category/constants/instrumentation.js.map +0 -1
- package/dist/cjs/website-category/index.d.ts +0 -3
- package/dist/cjs/website-category/index.js +0 -14
- package/dist/cjs/website-category/index.js.map +0 -1
- package/dist/cjs/website-category/utils/index.d.ts +0 -1
- package/dist/cjs/website-category/utils/index.js +0 -10
- package/dist/cjs/website-category/utils/index.js.map +0 -1
- package/dist/cjs/website-category/utils/instrumentation.d.ts +0 -8
- package/dist/cjs/website-category/utils/instrumentation.js +0 -70
- package/dist/cjs/website-category/utils/instrumentation.js.map +0 -1
- package/dist/esm/ab-experiment/constants/index.d.ts +0 -64
- package/dist/esm/ab-experiment/constants/index.js +0 -65
- package/dist/esm/ab-experiment/constants/index.js.map +0 -1
- package/dist/esm/ab-experiment/index.d.ts +0 -2
- package/dist/esm/ab-experiment/index.js +0 -3
- package/dist/esm/ab-experiment/index.js.map +0 -1
- package/dist/esm/ab-experiment/utils/ab-variant.d.ts +0 -13
- package/dist/esm/ab-experiment/utils/ab-variant.js +0 -117
- package/dist/esm/ab-experiment/utils/ab-variant.js.map +0 -1
- package/dist/esm/ab-experiment/utils/experiments.d.ts +0 -21
- package/dist/esm/ab-experiment/utils/experiments.js +0 -92
- package/dist/esm/ab-experiment/utils/experiments.js.map +0 -1
- package/dist/esm/analytics/attributes.d.ts +0 -10
- package/dist/esm/analytics/attributes.js +0 -29
- package/dist/esm/analytics/attributes.js.map +0 -1
- package/dist/esm/analytics/data-props.d.ts +0 -3
- package/dist/esm/analytics/data-props.js +0 -17
- package/dist/esm/analytics/data-props.js.map +0 -1
- package/dist/esm/analytics/index.d.ts +0 -2
- package/dist/esm/analytics/index.js +0 -3
- package/dist/esm/analytics/index.js.map +0 -1
- package/dist/esm/constants/analytics/index.d.ts +0 -8
- package/dist/esm/constants/analytics/index.js +0 -9
- package/dist/esm/constants/analytics/index.js.map +0 -1
- package/dist/esm/constants/country/country-code-map.d.ts +0 -9
- package/dist/esm/constants/country/country-code-map.js +0 -994
- package/dist/esm/constants/country/country-code-map.js.map +0 -1
- package/dist/esm/constants/country/country-region-map.d.ts +0 -12
- package/dist/esm/constants/country/country-region-map.js +0 -199
- package/dist/esm/constants/country/country-region-map.js.map +0 -1
- package/dist/esm/constants/country/index.d.ts +0 -5
- package/dist/esm/constants/country/index.js +0 -6
- package/dist/esm/constants/country/index.js.map +0 -1
- package/dist/esm/constants/country/iso-country-code.d.ts +0 -248
- package/dist/esm/constants/country/iso-country-code.js +0 -249
- package/dist/esm/constants/country/iso-country-code.js.map +0 -1
- package/dist/esm/constants/country/region.d.ts +0 -10
- package/dist/esm/constants/country/region.js +0 -11
- package/dist/esm/constants/country/region.js.map +0 -1
- package/dist/esm/constants/country/states.d.ts +0 -8
- package/dist/esm/constants/country/states.js +0 -100
- package/dist/esm/constants/country/states.js.map +0 -1
- package/dist/esm/constants/currency-symbols/index.d.ts +0 -175
- package/dist/esm/constants/currency-symbols/index.js +0 -176
- package/dist/esm/constants/currency-symbols/index.js.map +0 -1
- package/dist/esm/constants/date-time/index.d.ts +0 -18
- package/dist/esm/constants/date-time/index.js +0 -40
- package/dist/esm/constants/date-time/index.js.map +0 -1
- package/dist/esm/constants/date-time/international-timezones.d.ts +0 -7
- package/dist/esm/constants/date-time/international-timezones.js +0 -153
- package/dist/esm/constants/date-time/international-timezones.js.map +0 -1
- package/dist/esm/constants/index.d.ts +0 -5
- package/dist/esm/constants/index.js +0 -6
- package/dist/esm/constants/index.js.map +0 -1
- package/dist/esm/constants/instrumentation/index.d.ts +0 -5
- package/dist/esm/constants/instrumentation/index.js +0 -6
- package/dist/esm/constants/instrumentation/index.js.map +0 -1
- package/dist/esm/constants/teacher/index.js +0 -273
- package/dist/esm/constants/teacher/index.js.map +0 -1
- package/dist/esm/cookie/index.d.ts +0 -4
- package/dist/esm/cookie/index.js +0 -39
- package/dist/esm/cookie/index.js.map +0 -1
- package/dist/esm/country-code/index.d.ts +0 -8
- package/dist/esm/country-code/index.js +0 -19
- package/dist/esm/country-code/index.js.map +0 -1
- package/dist/esm/data/utm-source.json +0 -54
- package/dist/esm/date-time-helper/index.d.ts +0 -30
- package/dist/esm/date-time-helper/index.js +0 -87
- package/dist/esm/date-time-helper/index.js.map +0 -1
- package/dist/esm/e-cna/index.d.ts +0 -4
- package/dist/esm/e-cna/index.js +0 -18
- package/dist/esm/e-cna/index.js.map +0 -1
- package/dist/esm/growth-source/index.d.ts +0 -21
- package/dist/esm/growth-source/index.js +0 -194
- package/dist/esm/growth-source/index.js.map +0 -1
- package/dist/esm/growth-source/scripts/source-channel.d.ts +0 -1
- package/dist/esm/growth-source/scripts/source-channel.js +0 -44
- package/dist/esm/growth-source/scripts/source-channel.js.map +0 -1
- package/dist/esm/growth-source/types.d.ts +0 -75
- package/dist/esm/growth-source/types.js +0 -2
- package/dist/esm/growth-source/types.js.map +0 -1
- package/dist/esm/index.d.ts +0 -17
- package/dist/esm/index.js +0 -19
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/last-landing-page/index.d.ts +0 -5
- package/dist/esm/last-landing-page/index.js +0 -31
- package/dist/esm/last-landing-page/index.js.map +0 -1
- package/dist/esm/local-storage/index.d.ts +0 -13
- package/dist/esm/local-storage/index.js +0 -162
- package/dist/esm/local-storage/index.js.map +0 -1
- package/dist/esm/object/index.d.ts +0 -2
- package/dist/esm/object/index.js +0 -19
- package/dist/esm/object/index.js.map +0 -1
- package/dist/esm/script/index.d.ts +0 -1
- package/dist/esm/script/index.js +0 -10
- package/dist/esm/script/index.js.map +0 -1
- package/dist/esm/url/index.d.ts +0 -3
- package/dist/esm/url/index.js +0 -6
- package/dist/esm/url/index.js.map +0 -1
- package/dist/esm/url-parser/index.d.ts +0 -3
- package/dist/esm/url-parser/index.js +0 -7
- package/dist/esm/url-parser/index.js.map +0 -1
- package/dist/esm/utils/env-mode.d.ts +0 -5
- package/dist/esm/utils/env-mode.js +0 -6
- package/dist/esm/utils/env-mode.js.map +0 -1
- package/dist/esm/utils/index.d.ts +0 -2
- package/dist/esm/utils/index.js +0 -3
- package/dist/esm/utils/index.js.map +0 -1
- package/dist/esm/utils/server.d.ts +0 -1
- package/dist/esm/utils/server.js +0 -2
- package/dist/esm/utils/server.js.map +0 -1
- package/dist/esm/validations/form-validations.d.ts +0 -12
- package/dist/esm/validations/form-validations.js +0 -43
- package/dist/esm/validations/form-validations.js.map +0 -1
- package/dist/esm/validations/index.d.ts +0 -1
- package/dist/esm/validations/index.js +0 -2
- package/dist/esm/validations/index.js.map +0 -1
- package/dist/esm/website-category/constants/index.d.ts +0 -116
- package/dist/esm/website-category/constants/index.js +0 -227
- package/dist/esm/website-category/constants/index.js.map +0 -1
- package/dist/esm/website-category/constants/instrumentation.d.ts +0 -178
- package/dist/esm/website-category/constants/instrumentation.js +0 -179
- package/dist/esm/website-category/constants/instrumentation.js.map +0 -1
- package/dist/esm/website-category/index.d.ts +0 -3
- package/dist/esm/website-category/index.js +0 -4
- package/dist/esm/website-category/index.js.map +0 -1
- package/dist/esm/website-category/utils/index.d.ts +0 -1
- package/dist/esm/website-category/utils/index.js +0 -6
- package/dist/esm/website-category/utils/index.js.map +0 -1
- package/dist/esm/website-category/utils/instrumentation.d.ts +0 -8
- package/dist/esm/website-category/utils/instrumentation.js +0 -63
- package/dist/esm/website-category/utils/instrumentation.js.map +0 -1
package/dist/index.js
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
'use strict';var chunkOBXSX4MO_js=require('./chunk-OBXSX4MO.js'),chunkSMWXEBQ2_js=require('./chunk-SMWXEBQ2.js'),chunk5X4UT2UI_js=require('./chunk-5X4UT2UI.js');/** @license MIT */
|
|
2
|
+
var e={signup:"sign-up",verifyOtp:"verify-otp",selectDegree:"select-degree",selectStream:"select-stream",selectGrade:"select-grade",selectExperience:"select-experience",watchVideo:"watch-video",mathTestAndSop:"cet-and-sop-video",recordLesson:"record-lesson",uploadDocuments:"upload-documents",success:"success",rejected:"rejected",login:"login",dashboard:"dashboard"},t=[{id:"full_name",label:"Name",type:"text"},{id:"email",label:"Email ID",type:"email",executeOnBlurFunction:true},{id:"intl_mobile",type:"mobile",label:"Mobile number",executeOnBlurFunction:true,restrictSearch:true,isRAinput:true}],o=[{id:"intl_mobile",type:"mobile",label:"Mobile number",executeOnBlurFunction:true,restrictSearch:true,isRAinput:true}],r=[{id:"otp",label:"4 -digit code",type:"otp",maxLength:4,autoFocus:true,alignResend:true}],a=[{id:1,key:"bachelors",label:"Bachelors",value:"bachelors"},{id:2,key:"masters_or_above",label:"Masters or above",value:"masters_or_above"},{id:3,key:"not_a_graduate",label:"Not a graduate",value:"not_a_graduate"}],i=[{id:"highest_degree",options:a,type:"tab",optional:false,variant:"btnGroup",flexWrap:"wrap",mobileWidth:"auto",height:"48px",justifyContent:"flex-start",mobileJustifyContent:"flex-start",minWidth:"100%"}],s=[{id:1,key:"biology/chemistry",label:"Biology/Chemistry",value:"biology/chemistry"},{id:2,key:"physics/computer-science",label:"Physics/Computer science",value:"physics/computer-science"},{id:3,key:"math",label:"Math",value:"math"},{id:4,key:"accountancy/commerce",label:"Accountancy/Commerce",value:"accountancy/commerce"},{id:5,key:"others",label:"Others",value:"others"}],n=[{id:"stream",options:s,type:"tab",height:"48px",mobileWidth:"auto",flexWrap:"wrap",variant:"btnGroup",justifyContent:"flex-start",mobileJustifyContent:"flex-start",optional:false,minWidth:"100%"}],c=[{id:1,key:"yes",label:"Yes",value:"yes"},{id:2,key:"no",label:"No",value:"no"}],l=[{id:"maths_experience",options:c,type:"tab",optional:false,variant:"btnGroup",flexWrap:"wrap",mobileWidth:"auto",height:"48px",justifyContent:"flex-start",mobileJustifyContent:"flex-start",minWidth:"100%"}],u=[{id:1,text:"You must take the test within 72 hours of generating the link."},{id:2,text:"The test will happen only on a desktop browser."},{id:3,text:"We\u2019ve shared a link for the Cuemath Entrance test on your mail id."},{id:4,text:"The test will be taken as per your selected grade group."}],st={[e.signup]:{route:`/teacher/v2/application/?step=${e.signup}`,form:t,heading:"Create an account",showProgressBar:true,linkText:"Don\u2019t have an account ?",linkSubmitLabel:"Sign up",stepIndex:1},[e.login]:{route:`/teacher/v2/application/?step=${e.login}`,heading:"Login to your teacher account",subHeading:"You will get a verification code via SMS on your registered phone number.",form:o,linkText:"Already have an account ?",linkSubmitLabel:"Sign in",stepIndex:1},[e.verifyOtp]:{form:r},[e.selectDegree]:{route:`/teacher/v2/application/?step=${e.selectDegree}`,heading:"What is your highest educational degree?",form:i,isPrivateRoute:true,showProgressBar:true},[e.selectStream]:{route:`/teacher/v2/application/?step=${e.selectStream}`,heading:"Select the stream of your education?",form:n,isPrivateRoute:true,showProgressBar:true},[e.selectGrade]:{route:`/teacher/v2/application/?step=${e.selectGrade}`,heading:"Pick your grade",title:"Select grade",desc:"Pick a grade group as per your expertise",subHeading:"Your Cuemath Eligibility Test (CET) will be based on your selected grade group.",isPrivateRoute:true},[e.selectExperience]:{route:`/teacher/v2/application/?step=${e.selectExperience}`,heading:"Do you have any prior math teaching experience?",form:l,isPrivateRoute:true,showProgressBar:true},[e.watchVideo]:{route:`/teacher/v2/application/?step=${e.watchVideo}`,title:"Watch Info video",desc:"A quick video on what are the steps required to be completed to be a Cuemath teacher.",heading:"Cuemath follows a fast, disciplined 3 step application process.",subHeading:"Watch this quick video to know your next steps.",isPrivateRoute:true,showGreeting:true},[e.mathTestAndSop]:{route:`/teacher/v2/application/?step=${e.mathTestAndSop}`,title:"Take eligibility test",desc:"Complete a math test and upload a SOP video both within 70 minutes.",descLink:"https://drive.google.com/file/d/1NsOen5p2P6cpakbeaBPvtIJi7cwEYV16/view",isPrivateRoute:true,info:u},[e.recordLesson]:{route:`/teacher/v2/application/?step=${e.recordLesson}`,title:"Record a lesson",desc:"Use your mobile to record a live teaching lesson demonstrating your teaching style and skills",isPrivateRoute:true},[e.uploadDocuments]:{route:`/teacher/v2/application/?step=${e.uploadDocuments}`,heading:"Complete the steps to finish your assessment",title:"Upload documents",desc:"Keep your Aadhar and latest degree marksheet ready with you. We will use this information for your background verification",isPrivateRoute:true},[e.success]:{route:`/teacher/v2/application/?status=${e.success}`,hideHeader:true,isPrivateRoute:true},[e.rejected]:{route:`/teacher/v2/application/?status=${e.rejected}`,hideHeader:true,isPrivateRoute:true},[e.dashboard]:{route:`/teacher/v2/application/?step=${e.dashboard}`,isPrivateRoute:true,showGreeting:true}};
|
|
3
|
+
Object.defineProperty(exports,"APP_ENV",{enumerable:true,get:function(){return chunkOBXSX4MO_js.s}});Object.defineProperty(exports,"DAY",{enumerable:true,get:function(){return chunkOBXSX4MO_js.a}});Object.defineProperty(exports,"HOUR_FORMAT",{enumerable:true,get:function(){return chunkOBXSX4MO_js.f}});Object.defineProperty(exports,"LOCAL_STORAGE_PRIMARY_KEY",{enumerable:true,get:function(){return chunkOBXSX4MO_js.i}});Object.defineProperty(exports,"MONTH_ARRAY",{enumerable:true,get:function(){return chunkOBXSX4MO_js.c}});Object.defineProperty(exports,"REFERRAL_PAGE_PATH",{enumerable:true,get:function(){return chunkOBXSX4MO_js.g}});Object.defineProperty(exports,"REVENUE_CHANNEL",{enumerable:true,get:function(){return chunkOBXSX4MO_js.h}});Object.defineProperty(exports,"TWENTY_FOUR_HOURS_IN_SECONDS",{enumerable:true,get:function(){return chunkOBXSX4MO_js.e}});Object.defineProperty(exports,"checkLocalStorageSupport",{enumerable:true,get:function(){return chunkOBXSX4MO_js.j}});Object.defineProperty(exports,"clearSalesProcess",{enumerable:true,get:function(){return chunkOBXSX4MO_js.E}});Object.defineProperty(exports,"clearSignupForm",{enumerable:true,get:function(){return chunkOBXSX4MO_js.O}});Object.defineProperty(exports,"filterCountryCode",{enumerable:true,get:function(){return chunkOBXSX4MO_js.w}});Object.defineProperty(exports,"getAttributes",{enumerable:true,get:function(){return chunkOBXSX4MO_js.S}});Object.defineProperty(exports,"getDataProps",{enumerable:true,get:function(){return chunkOBXSX4MO_js.T}});Object.defineProperty(exports,"getDates",{enumerable:true,get:function(){return chunkOBXSX4MO_js.r}});Object.defineProperty(exports,"getSourceChannel",{enumerable:true,get:function(){return chunkOBXSX4MO_js.Q}});Object.defineProperty(exports,"initSourceDetails",{enumerable:true,get:function(){return chunkOBXSX4MO_js.z}});Object.defineProperty(exports,"isServer",{enumerable:true,get:function(){return chunkOBXSX4MO_js.t}});Object.defineProperty(exports,"isSourcePresent",{enumerable:true,get:function(){return chunkOBXSX4MO_js.y}});Object.defineProperty(exports,"loadScript",{enumerable:true,get:function(){return chunkOBXSX4MO_js.u}});Object.defineProperty(exports,"localStorageGet",{enumerable:true,get:function(){return chunkOBXSX4MO_js.m}});Object.defineProperty(exports,"localStorageGetAll",{enumerable:true,get:function(){return chunkOBXSX4MO_js.n}});Object.defineProperty(exports,"localStorageRemove",{enumerable:true,get:function(){return chunkOBXSX4MO_js.o}});Object.defineProperty(exports,"localStorageRemoveAll",{enumerable:true,get:function(){return chunkOBXSX4MO_js.p}});Object.defineProperty(exports,"localStorageSet",{enumerable:true,get:function(){return chunkOBXSX4MO_js.l}});Object.defineProperty(exports,"parseURLParams",{enumerable:true,get:function(){return chunkOBXSX4MO_js.v}});Object.defineProperty(exports,"readSourceCookie",{enumerable:true,get:function(){return chunkOBXSX4MO_js.x}});Object.defineProperty(exports,"removeExpiredKeysOnMount",{enumerable:true,get:function(){return chunkOBXSX4MO_js.q}});Object.defineProperty(exports,"removeKeyFromObject",{enumerable:true,get:function(){return chunkOBXSX4MO_js.k}});Object.defineProperty(exports,"setFirstPage",{enumerable:true,get:function(){return chunkOBXSX4MO_js.G}});Object.defineProperty(exports,"setFlow",{enumerable:true,get:function(){return chunkOBXSX4MO_js.B}});Object.defineProperty(exports,"setFlowEntryPoint",{enumerable:true,get:function(){return chunkOBXSX4MO_js.A}});Object.defineProperty(exports,"setLandingPage",{enumerable:true,get:function(){return chunkOBXSX4MO_js.I}});Object.defineProperty(exports,"setLastLandingPage",{enumerable:true,get:function(){return chunkOBXSX4MO_js.K}});Object.defineProperty(exports,"setPlatformChannel",{enumerable:true,get:function(){return chunkOBXSX4MO_js.H}});Object.defineProperty(exports,"setProduct",{enumerable:true,get:function(){return chunkOBXSX4MO_js.P}});Object.defineProperty(exports,"setReferrer",{enumerable:true,get:function(){return chunkOBXSX4MO_js.L}});Object.defineProperty(exports,"setRevenueChannel",{enumerable:true,get:function(){return chunkOBXSX4MO_js.C}});Object.defineProperty(exports,"setSalesProcess",{enumerable:true,get:function(){return chunkOBXSX4MO_js.D}});Object.defineProperty(exports,"setSignupForm",{enumerable:true,get:function(){return chunkOBXSX4MO_js.N}});Object.defineProperty(exports,"setSignupPage",{enumerable:true,get:function(){return chunkOBXSX4MO_js.J}});Object.defineProperty(exports,"setSourceChannel",{enumerable:true,get:function(){return chunkOBXSX4MO_js.M}});Object.defineProperty(exports,"shorthandWeekDayArray",{enumerable:true,get:function(){return chunkOBXSX4MO_js.b}});Object.defineProperty(exports,"updateGuestId",{enumerable:true,get:function(){return chunkOBXSX4MO_js.F}});Object.defineProperty(exports,"weekDayArray",{enumerable:true,get:function(){return chunkOBXSX4MO_js.d}});Object.defineProperty(exports,"AB_IDENTIFIER_KEY",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.X}});Object.defineProperty(exports,"ALLOWED_COUNTRIES_FOR_LAAM_TEACHERS",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.s}});Object.defineProperty(exports,"ALLOWED_COUNTRIES_FOR_TEACHERS",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.r}});Object.defineProperty(exports,"AUSTRALIAN_COUNTRIES",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.j}});Object.defineProperty(exports,"BEST_PERFORMING_COHORT_ROW_COUNTRIES",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.o}});Object.defineProperty(exports,"BRAND_PAGES",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.O}});Object.defineProperty(exports,"COUNTRY_CODE_MAP",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.u}});Object.defineProperty(exports,"CURRENCY_SYMBOL_MAP",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.x}});Object.defineProperty(exports,"EUROPEAN_COUNTRIES",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.h}});Object.defineProperty(exports,"EXPERIMENT_KEYS",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.V}});Object.defineProperty(exports,"FOCUSED_COUNTRIES",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.p}});Object.defineProperty(exports,"INDIAN_COUNTRIES",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.m}});Object.defineProperty(exports,"INTENT_PAGES",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.P}});Object.defineProperty(exports,"ISO_COUNTRY_CODE",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.g}});Object.defineProperty(exports,"LAST_LANDING_PAGE_COOKIE",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.Y}});Object.defineProperty(exports,"MIDDLE_EAST_COUNTRIES",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.i}});Object.defineProperty(exports,"NEW_ZEALAND_COUNTRIES",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.n}});Object.defineProperty(exports,"NON_FOCUSED_ROW_COUNTRIES",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.q}});Object.defineProperty(exports,"REFERRAL_PAGES",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.R}});Object.defineProperty(exports,"REGION",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.t}});Object.defineProperty(exports,"SINGAPORE_COUNTRIES",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.k}});Object.defineProperty(exports,"SUPPLY_PAGES",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.Q}});Object.defineProperty(exports,"US_COUNTRIES",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.l}});Object.defineProperty(exports,"VARIANTS",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.W}});Object.defineProperty(exports,"checkContentPage",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.U}});Object.defineProperty(exports,"checkValidation",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.N}});Object.defineProperty(exports,"convertSecondsToMiliseconds",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.H}});Object.defineProperty(exports,"convertTimeStampToSeconds",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.B}});Object.defineProperty(exports,"createCookie",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.e}});Object.defineProperty(exports,"createCookieWithMidnightExp",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.f}});Object.defineProperty(exports,"dateByTimestamp",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.A}});Object.defineProperty(exports,"formatDateTime",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.y}});Object.defineProperty(exports,"formatTimestamp",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.C}});Object.defineProperty(exports,"getABExperimentCacheKey",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.ca}});Object.defineProperty(exports,"getABVariant",{enumerable:true,get:function(){return chunkSMWXEBQ2_js._}});Object.defineProperty(exports,"getCookie",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.c}});Object.defineProperty(exports,"getCurrentTimestamp",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.z}});Object.defineProperty(exports,"getDateAfterDays",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.G}});Object.defineProperty(exports,"getISOTimeString",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.F}});Object.defineProperty(exports,"getLastLandingPage",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.da}});Object.defineProperty(exports,"getSubRevenueChannel",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.T}});Object.defineProperty(exports,"getTimeDiff",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.E}});Object.defineProperty(exports,"indianStates",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.v}});Object.defineProperty(exports,"isEmpty",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.I}});Object.defineProperty(exports,"isSEO",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.S}});Object.defineProperty(exports,"nestedMapsAreEqual",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.J}});Object.defineProperty(exports,"parseCloudFrontCookies",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.b}});Object.defineProperty(exports,"parseCookieString",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.a}});Object.defineProperty(exports,"removeCookie",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.d}});Object.defineProperty(exports,"removeHrefLangFromPath",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.L}});Object.defineProperty(exports,"removeQueryStringFromPath",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.K}});Object.defineProperty(exports,"removeTrailingSlashFromPath",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.M}});Object.defineProperty(exports,"resetABExperiment",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.aa}});Object.defineProperty(exports,"resetAllABExperiments",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.ba}});Object.defineProperty(exports,"setABExperiment",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.$}});Object.defineProperty(exports,"timeToX",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.D}});Object.defineProperty(exports,"usStates",{enumerable:true,get:function(){return chunkSMWXEBQ2_js.w}});Object.defineProperty(exports,"timezones",{enumerable:true,get:function(){return chunk5X4UT2UI_js.a}});exports.teacherSignupSteps=e;exports.teacherSignupStepsConfig=st;//# sourceMappingURL=index.js.map
|
|
4
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/constants/teacher/index.ts"],"names":["teacherSignupSteps","teacherSignupForm","teacherLoginForm","teacherVerifyOtpForm","teacherEdQualificationOptions","teacherSelectDegreeForm","teacherStreamOfEducationOptions","teacherSelectStreamForm","teacherExperienceOptions","teacherSelectExperienceForm","cetGuideLines","teacherSignupStepsConfig"],"mappings":";AAAA,IAAMA,CAAAA,CAAqB,CACzB,MAAA,CAAQ,SAAA,CACR,UAAW,YAAA,CACX,YAAA,CAAc,eAAA,CACd,YAAA,CAAc,eAAA,CACd,WAAA,CAAa,cAAA,CACb,gBAAA,CAAkB,oBAClB,UAAA,CAAY,aAAA,CACZ,cAAA,CAAgB,mBAAA,CAChB,YAAA,CAAc,eAAA,CACd,eAAA,CAAiB,kBAAA,CACjB,QAAS,SAAA,CACT,QAAA,CAAU,UAAA,CACV,KAAA,CAAO,OAAA,CACP,SAAA,CAAW,WACb,CAAA,CAEMC,EAAoB,CACxB,CACE,EAAA,CAAI,WAAA,CACJ,KAAA,CAAO,MAAA,CACP,IAAA,CAAM,MACR,EACA,CACE,EAAA,CAAI,OAAA,CACJ,KAAA,CAAO,UAAA,CACP,IAAA,CAAM,OAAA,CACN,qBAAA,CAAuB,IACzB,CAAA,CACA,CACE,EAAA,CAAI,aAAA,CACJ,IAAA,CAAM,QAAA,CACN,KAAA,CAAO,eAAA,CACP,sBAAuB,IAAA,CACvB,cAAA,CAAgB,IAAA,CAChB,SAAA,CAAW,IACb,CACF,CAAA,CAEMC,CAAAA,CAAmB,CACvB,CACE,EAAA,CAAI,aAAA,CACJ,IAAA,CAAM,QAAA,CACN,KAAA,CAAO,eAAA,CACP,qBAAA,CAAuB,KACvB,cAAA,CAAgB,IAAA,CAChB,SAAA,CAAW,IACb,CACF,CA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gB,IAClB,CAAA,CACA,CAACA,CAAAA,CAAmB,SAAS,EAAG,CAC9B,KAAA,CAAO,CAAA,8BAAA,EAAiCA,CAAAA,CAAmB,SAAS,CAAA,CAAA,CACpE,cAAA,CAAgB,IAAA,CAChB,YAAA,CAAc,IAChB,CACF","file":"index.js","sourcesContent":["const teacherSignupSteps = {\n signup: 'sign-up',\n verifyOtp: 'verify-otp',\n selectDegree: 'select-degree',\n selectStream: 'select-stream',\n selectGrade: 'select-grade',\n selectExperience: 'select-experience',\n watchVideo: 'watch-video',\n mathTestAndSop: 'cet-and-sop-video',\n recordLesson: 'record-lesson',\n uploadDocuments: 'upload-documents',\n success: 'success',\n rejected: 'rejected',\n login: 'login',\n dashboard: 'dashboard',\n};\n\nconst teacherSignupForm = [\n {\n id: 'full_name',\n label: 'Name',\n type: 'text',\n },\n {\n id: 'email',\n label: 'Email ID',\n type: 'email',\n executeOnBlurFunction: true,\n },\n {\n id: 'intl_mobile',\n type: 'mobile',\n label: 'Mobile number',\n executeOnBlurFunction: true,\n restrictSearch: true,\n isRAinput: true,\n },\n];\n\nconst teacherLoginForm = [\n {\n id: 'intl_mobile',\n type: 'mobile',\n label: 'Mobile number',\n executeOnBlurFunction: true,\n restrictSearch: true,\n isRAinput: true,\n },\n];\n\nconst teacherVerifyOtpForm = [\n {\n id: 'otp',\n label: '4 -digit code',\n type: 'otp',\n maxLength: 4,\n autoFocus: true,\n alignResend: true,\n },\n];\n\nconst teacherEdQualificationOptions = [\n {\n id: 1,\n key: 'bachelors',\n label: 'Bachelors',\n value: 'bachelors',\n },\n {\n id: 2,\n key: 'masters_or_above',\n label: 'Masters or above',\n value: 'masters_or_above',\n },\n {\n id: 3,\n key: 'not_a_graduate',\n label: 'Not a graduate',\n value: 'not_a_graduate',\n },\n];\n\nconst teacherSelectDegreeForm = [\n {\n id: 'highest_degree',\n options: teacherEdQualificationOptions,\n type: 'tab',\n optional: false,\n variant: 'btnGroup',\n flexWrap: 'wrap',\n mobileWidth: 'auto',\n height: '48px',\n justifyContent: 'flex-start',\n mobileJustifyContent: 'flex-start',\n minWidth: '100%',\n },\n];\n\nconst teacherStreamOfEducationOptions = [\n {\n id: 1,\n key: 'biology/chemistry',\n label: 'Biology/Chemistry',\n value: 'biology/chemistry',\n },\n {\n id: 2,\n key: 'physics/computer-science',\n label: 'Physics/Computer science',\n value: 'physics/computer-science',\n },\n {\n id: 3,\n key: 'math',\n label: 'Math',\n value: 'math',\n },\n {\n id: 4,\n key: 'accountancy/commerce',\n label: 'Accountancy/Commerce',\n value: 'accountancy/commerce',\n },\n {\n id: 5,\n key: 'others',\n label: 'Others',\n value: 'others',\n },\n];\n\nconst teacherSelectStreamForm = [\n {\n id: 'stream',\n options: teacherStreamOfEducationOptions,\n type: 'tab',\n height: '48px',\n mobileWidth: 'auto',\n flexWrap: 'wrap',\n variant: 'btnGroup',\n justifyContent: 'flex-start',\n mobileJustifyContent: 'flex-start',\n optional: false,\n minWidth: '100%',\n },\n];\n\nconst teacherExperienceOptions = [\n {\n id: 1,\n key: 'yes',\n label: 'Yes',\n value: 'yes',\n },\n {\n id: 2,\n key: 'no',\n label: 'No',\n value: 'no',\n },\n];\n\nconst teacherSelectExperienceForm = [\n {\n id: 'maths_experience',\n options: teacherExperienceOptions,\n type: 'tab',\n optional: false,\n variant: 'btnGroup',\n flexWrap: 'wrap',\n mobileWidth: 'auto',\n height: '48px',\n justifyContent: 'flex-start',\n mobileJustifyContent: 'flex-start',\n minWidth: '100%',\n },\n];\n\nconst cetGuideLines = [\n { id: 1, text: 'You must take the test within 72 hours of generating the link.' },\n { id: 2, text: 'The test will happen only on a desktop browser.' },\n { id: 3, text: 'We’ve shared a link for the Cuemath Entrance test on your mail id.' },\n { id: 4, text: 'The test will be taken as per your selected grade group.' },\n];\n\nconst teacherSignupStepsConfig = {\n [teacherSignupSteps.signup]: {\n route: `/teacher/v2/application/?step=${teacherSignupSteps.signup}`,\n form: teacherSignupForm,\n heading: 'Create an account',\n showProgressBar: true,\n linkText: `Don’t have an account ?`,\n linkSubmitLabel: 'Sign up',\n stepIndex: 1,\n },\n [teacherSignupSteps.login]: {\n route: `/teacher/v2/application/?step=${teacherSignupSteps.login}`,\n heading: 'Login to your teacher account',\n subHeading:\n 'You will get a verification code via SMS on your registered phone number.',\n form: teacherLoginForm,\n linkText: `Already have an account ?`,\n linkSubmitLabel: 'Sign in',\n stepIndex: 1,\n },\n [teacherSignupSteps.verifyOtp]: {\n form: teacherVerifyOtpForm,\n },\n [teacherSignupSteps.selectDegree]: {\n route: `/teacher/v2/application/?step=${teacherSignupSteps.selectDegree}`,\n heading: 'What is your highest educational degree?',\n form: teacherSelectDegreeForm,\n isPrivateRoute: true,\n showProgressBar: true,\n },\n [teacherSignupSteps.selectStream]: {\n route: `/teacher/v2/application/?step=${teacherSignupSteps.selectStream}`,\n heading: 'Select the stream of your education?',\n form: teacherSelectStreamForm,\n isPrivateRoute: true,\n showProgressBar: true,\n },\n [teacherSignupSteps.selectGrade]: {\n route: `/teacher/v2/application/?step=${teacherSignupSteps.selectGrade}`,\n heading: 'Pick your grade',\n title: 'Select grade',\n desc: 'Pick a grade group as per your expertise',\n subHeading:\n 'Your Cuemath Eligibility Test (CET) will be based on your selected grade group.',\n isPrivateRoute: true,\n },\n [teacherSignupSteps.selectExperience]: {\n route: `/teacher/v2/application/?step=${teacherSignupSteps.selectExperience}`,\n heading: 'Do you have any prior math teaching experience?',\n form: teacherSelectExperienceForm,\n isPrivateRoute: true,\n showProgressBar: true,\n },\n [teacherSignupSteps.watchVideo]: {\n route: `/teacher/v2/application/?step=${teacherSignupSteps.watchVideo}`,\n title: 'Watch Info video',\n desc: 'A quick video on what are the steps required to be completed to be a Cuemath teacher.',\n heading: 'Cuemath follows a fast, disciplined 3 step application process.',\n subHeading: 'Watch this quick video to know your next steps.',\n isPrivateRoute: true,\n showGreeting: true,\n },\n [teacherSignupSteps.mathTestAndSop]: {\n route: `/teacher/v2/application/?step=${teacherSignupSteps.mathTestAndSop}`,\n title: 'Take eligibility test',\n desc: 'Complete a math test and upload a SOP video both within 70 minutes.',\n descLink: 'https://drive.google.com/file/d/1NsOen5p2P6cpakbeaBPvtIJi7cwEYV16/view',\n isPrivateRoute: true,\n info: cetGuideLines,\n },\n [teacherSignupSteps.recordLesson]: {\n route: `/teacher/v2/application/?step=${teacherSignupSteps.recordLesson}`,\n title: 'Record a lesson',\n desc: 'Use your mobile to record a live teaching lesson demonstrating your teaching style and skills',\n isPrivateRoute: true,\n },\n [teacherSignupSteps.uploadDocuments]: {\n route: `/teacher/v2/application/?step=${teacherSignupSteps.uploadDocuments}`,\n heading: 'Complete the steps to finish your assessment',\n title: 'Upload documents',\n desc: 'Keep your Aadhar and latest degree marksheet ready with you. We will use this information for your background verification',\n isPrivateRoute: true,\n },\n [teacherSignupSteps.success]: {\n route: `/teacher/v2/application/?status=${teacherSignupSteps.success}`,\n hideHeader: true,\n isPrivateRoute: true,\n },\n [teacherSignupSteps.rejected]: {\n route: `/teacher/v2/application/?status=${teacherSignupSteps.rejected}`,\n hideHeader: true,\n isPrivateRoute: true,\n },\n [teacherSignupSteps.dashboard]: {\n route: `/teacher/v2/application/?step=${teacherSignupSteps.dashboard}`,\n isPrivateRoute: true,\n showGreeting: true,\n },\n};\n\nexport { teacherSignupSteps, teacherSignupStepsConfig };\n"]}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export{s as APP_ENV,a as DAY,f as HOUR_FORMAT,i as LOCAL_STORAGE_PRIMARY_KEY,c as MONTH_ARRAY,g as REFERRAL_PAGE_PATH,h as REVENUE_CHANNEL,e as TWENTY_FOUR_HOURS_IN_SECONDS,j as checkLocalStorageSupport,E as clearSalesProcess,O as clearSignupForm,w as filterCountryCode,S as getAttributes,T as getDataProps,r as getDates,Q as getSourceChannel,z as initSourceDetails,t as isServer,y as isSourcePresent,u as loadScript,m as localStorageGet,n as localStorageGetAll,o as localStorageRemove,p as localStorageRemoveAll,l as localStorageSet,v as parseURLParams,x as readSourceCookie,q as removeExpiredKeysOnMount,k as removeKeyFromObject,G as setFirstPage,B as setFlow,A as setFlowEntryPoint,I as setLandingPage,K as setLastLandingPage,H as setPlatformChannel,P as setProduct,L as setReferrer,C as setRevenueChannel,D as setSalesProcess,N as setSignupForm,J as setSignupPage,M as setSourceChannel,b as shorthandWeekDayArray,F as updateGuestId,d as weekDayArray}from'./chunk-LUUB665J.mjs';export{X as AB_IDENTIFIER_KEY,s as ALLOWED_COUNTRIES_FOR_LAAM_TEACHERS,r as ALLOWED_COUNTRIES_FOR_TEACHERS,j as AUSTRALIAN_COUNTRIES,o as BEST_PERFORMING_COHORT_ROW_COUNTRIES,O as BRAND_PAGES,u as COUNTRY_CODE_MAP,x as CURRENCY_SYMBOL_MAP,h as EUROPEAN_COUNTRIES,V as EXPERIMENT_KEYS,p as FOCUSED_COUNTRIES,m as INDIAN_COUNTRIES,P as INTENT_PAGES,g as ISO_COUNTRY_CODE,Y as LAST_LANDING_PAGE_COOKIE,i as MIDDLE_EAST_COUNTRIES,n as NEW_ZEALAND_COUNTRIES,q as NON_FOCUSED_ROW_COUNTRIES,R as REFERRAL_PAGES,t as REGION,k as SINGAPORE_COUNTRIES,Q as SUPPLY_PAGES,l as US_COUNTRIES,W as VARIANTS,U as checkContentPage,N as checkValidation,H as convertSecondsToMiliseconds,B as convertTimeStampToSeconds,e as createCookie,f as createCookieWithMidnightExp,A as dateByTimestamp,y as formatDateTime,C as formatTimestamp,ca as getABExperimentCacheKey,_ as getABVariant,c as getCookie,z as getCurrentTimestamp,G as getDateAfterDays,F as getISOTimeString,da as getLastLandingPage,T as getSubRevenueChannel,E as getTimeDiff,v as indianStates,I as isEmpty,S as isSEO,J as nestedMapsAreEqual,b as parseCloudFrontCookies,a as parseCookieString,d as removeCookie,L as removeHrefLangFromPath,K as removeQueryStringFromPath,M as removeTrailingSlashFromPath,aa as resetABExperiment,ba as resetAllABExperiments,$ as setABExperiment,D as timeToX,w as usStates}from'./chunk-CVZIO6BX.mjs';export{a as timezones}from'./chunk-TG7DRTM7.mjs';/** @license MIT */
|
|
2
|
+
var e={signup:"sign-up",verifyOtp:"verify-otp",selectDegree:"select-degree",selectStream:"select-stream",selectGrade:"select-grade",selectExperience:"select-experience",watchVideo:"watch-video",mathTestAndSop:"cet-and-sop-video",recordLesson:"record-lesson",uploadDocuments:"upload-documents",success:"success",rejected:"rejected",login:"login",dashboard:"dashboard"},t=[{id:"full_name",label:"Name",type:"text"},{id:"email",label:"Email ID",type:"email",executeOnBlurFunction:true},{id:"intl_mobile",type:"mobile",label:"Mobile number",executeOnBlurFunction:true,restrictSearch:true,isRAinput:true}],o=[{id:"intl_mobile",type:"mobile",label:"Mobile number",executeOnBlurFunction:true,restrictSearch:true,isRAinput:true}],r=[{id:"otp",label:"4 -digit code",type:"otp",maxLength:4,autoFocus:true,alignResend:true}],a=[{id:1,key:"bachelors",label:"Bachelors",value:"bachelors"},{id:2,key:"masters_or_above",label:"Masters or above",value:"masters_or_above"},{id:3,key:"not_a_graduate",label:"Not a graduate",value:"not_a_graduate"}],i=[{id:"highest_degree",options:a,type:"tab",optional:false,variant:"btnGroup",flexWrap:"wrap",mobileWidth:"auto",height:"48px",justifyContent:"flex-start",mobileJustifyContent:"flex-start",minWidth:"100%"}],s=[{id:1,key:"biology/chemistry",label:"Biology/Chemistry",value:"biology/chemistry"},{id:2,key:"physics/computer-science",label:"Physics/Computer science",value:"physics/computer-science"},{id:3,key:"math",label:"Math",value:"math"},{id:4,key:"accountancy/commerce",label:"Accountancy/Commerce",value:"accountancy/commerce"},{id:5,key:"others",label:"Others",value:"others"}],n=[{id:"stream",options:s,type:"tab",height:"48px",mobileWidth:"auto",flexWrap:"wrap",variant:"btnGroup",justifyContent:"flex-start",mobileJustifyContent:"flex-start",optional:false,minWidth:"100%"}],c=[{id:1,key:"yes",label:"Yes",value:"yes"},{id:2,key:"no",label:"No",value:"no"}],l=[{id:"maths_experience",options:c,type:"tab",optional:false,variant:"btnGroup",flexWrap:"wrap",mobileWidth:"auto",height:"48px",justifyContent:"flex-start",mobileJustifyContent:"flex-start",minWidth:"100%"}],u=[{id:1,text:"You must take the test within 72 hours of generating the link."},{id:2,text:"The test will happen only on a desktop browser."},{id:3,text:"We\u2019ve shared a link for the Cuemath Entrance test on your mail id."},{id:4,text:"The test will be taken as per your selected grade group."}],st={[e.signup]:{route:`/teacher/v2/application/?step=${e.signup}`,form:t,heading:"Create an account",showProgressBar:true,linkText:"Don\u2019t have an account ?",linkSubmitLabel:"Sign up",stepIndex:1},[e.login]:{route:`/teacher/v2/application/?step=${e.login}`,heading:"Login to your teacher account",subHeading:"You will get a verification code via SMS on your registered phone number.",form:o,linkText:"Already have an account ?",linkSubmitLabel:"Sign in",stepIndex:1},[e.verifyOtp]:{form:r},[e.selectDegree]:{route:`/teacher/v2/application/?step=${e.selectDegree}`,heading:"What is your highest educational degree?",form:i,isPrivateRoute:true,showProgressBar:true},[e.selectStream]:{route:`/teacher/v2/application/?step=${e.selectStream}`,heading:"Select the stream of your education?",form:n,isPrivateRoute:true,showProgressBar:true},[e.selectGrade]:{route:`/teacher/v2/application/?step=${e.selectGrade}`,heading:"Pick your grade",title:"Select grade",desc:"Pick a grade group as per your expertise",subHeading:"Your Cuemath Eligibility Test (CET) will be based on your selected grade group.",isPrivateRoute:true},[e.selectExperience]:{route:`/teacher/v2/application/?step=${e.selectExperience}`,heading:"Do you have any prior math teaching experience?",form:l,isPrivateRoute:true,showProgressBar:true},[e.watchVideo]:{route:`/teacher/v2/application/?step=${e.watchVideo}`,title:"Watch Info video",desc:"A quick video on what are the steps required to be completed to be a Cuemath teacher.",heading:"Cuemath follows a fast, disciplined 3 step application process.",subHeading:"Watch this quick video to know your next steps.",isPrivateRoute:true,showGreeting:true},[e.mathTestAndSop]:{route:`/teacher/v2/application/?step=${e.mathTestAndSop}`,title:"Take eligibility test",desc:"Complete a math test and upload a SOP video both within 70 minutes.",descLink:"https://drive.google.com/file/d/1NsOen5p2P6cpakbeaBPvtIJi7cwEYV16/view",isPrivateRoute:true,info:u},[e.recordLesson]:{route:`/teacher/v2/application/?step=${e.recordLesson}`,title:"Record a lesson",desc:"Use your mobile to record a live teaching lesson demonstrating your teaching style and skills",isPrivateRoute:true},[e.uploadDocuments]:{route:`/teacher/v2/application/?step=${e.uploadDocuments}`,heading:"Complete the steps to finish your assessment",title:"Upload documents",desc:"Keep your Aadhar and latest degree marksheet ready with you. We will use this information for your background verification",isPrivateRoute:true},[e.success]:{route:`/teacher/v2/application/?status=${e.success}`,hideHeader:true,isPrivateRoute:true},[e.rejected]:{route:`/teacher/v2/application/?status=${e.rejected}`,hideHeader:true,isPrivateRoute:true},[e.dashboard]:{route:`/teacher/v2/application/?step=${e.dashboard}`,isPrivateRoute:true,showGreeting:true}};
|
|
3
|
+
export{e as teacherSignupSteps,st as teacherSignupStepsConfig};//# sourceMappingURL=index.mjs.map
|
|
4
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/constants/teacher/index.ts"],"names":["teacherSignupSteps","teacherSignupForm","teacherLoginForm","teacherVerifyOtpForm","teacherEdQualificationOptions","teacherSelectDegreeForm","teacherStreamOfEducationOptions","teacherSelectStreamForm","teacherExperienceOptions","teacherSelectExperienceForm","cetGuideLines","teacherSignupStepsConfig"],"mappings":";AAAA,IAAMA,CAAAA,CAAqB,CACzB,MAAA,CAAQ,SAAA,CACR,UAAW,YAAA,CACX,YAAA,CAAc,eAAA,CACd,YAAA,CAAc,eAAA,CACd,WAAA,CAAa,cAAA,CACb,gBAAA,CAAkB,oBAClB,UAAA,CAAY,aAAA,CACZ,cAAA,CAAgB,mBAAA,CAChB,YAAA,CAAc,eAAA,CACd,eAAA,CAAiB,kBAAA,CACjB,QAAS,SAAA,CACT,QAAA,CAAU,UAAA,CACV,KAAA,CAAO,OAAA,CACP,SAAA,CAAW,WACb,CAAA,CAEMC,EAAoB,CACxB,CACE,EAAA,CAAI,WAAA,CACJ,KAAA,C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AAG,CACpC,KAAA,CAAO,CAAA,8BAAA,EAAiCA,EAAmB,eAAe,CAAA,CAAA,CAC1E,OAAA,CAAS,8CAAA,CACT,KAAA,CAAO,kBAAA,CACP,IAAA,CAAM,4HAAA,CACN,eAAgB,IAClB,CAAA,CACA,CAACA,CAAAA,CAAmB,OAAO,EAAG,CAC5B,KAAA,CAAO,mCAAmCA,CAAAA,CAAmB,OAAO,CAAA,CAAA,CACpE,UAAA,CAAY,IAAA,CACZ,cAAA,CAAgB,IAClB,CAAA,CACA,CAACA,CAAAA,CAAmB,QAAQ,EAAG,CAC7B,KAAA,CAAO,CAAA,gCAAA,EAAmCA,CAAAA,CAAmB,QAAQ,GACrE,UAAA,CAAY,IAAA,CACZ,cAAA,CAAgB,IAClB,CAAA,CACA,CAACA,CAAAA,CAAmB,SAAS,EAAG,CAC9B,KAAA,CAAO,CAAA,8BAAA,EAAiCA,CAAAA,CAAmB,SAAS,CAAA,CAAA,CACpE,cAAA,CAAgB,IAAA,CAChB,YAAA,CAAc,IAChB,CACF","file":"index.mjs","sourcesContent":["const teacherSignupSteps = {\n signup: 'sign-up',\n verifyOtp: 'verify-otp',\n selectDegree: 'select-degree',\n selectStream: 'select-stream',\n selectGrade: 'select-grade',\n selectExperience: 'select-experience',\n watchVideo: 'watch-video',\n mathTestAndSop: 'cet-and-sop-video',\n recordLesson: 'record-lesson',\n uploadDocuments: 'upload-documents',\n success: 'success',\n rejected: 'rejected',\n login: 'login',\n dashboard: 'dashboard',\n};\n\nconst teacherSignupForm = [\n {\n id: 'full_name',\n label: 'Name',\n type: 'text',\n },\n {\n id: 'email',\n label: 'Email ID',\n type: 'email',\n executeOnBlurFunction: true,\n },\n {\n id: 'intl_mobile',\n type: 'mobile',\n label: 'Mobile number',\n executeOnBlurFunction: true,\n restrictSearch: true,\n isRAinput: true,\n },\n];\n\nconst teacherLoginForm = [\n {\n id: 'intl_mobile',\n type: 'mobile',\n label: 'Mobile number',\n executeOnBlurFunction: true,\n restrictSearch: true,\n isRAinput: true,\n },\n];\n\nconst teacherVerifyOtpForm = [\n {\n id: 'otp',\n label: '4 -digit code',\n type: 'otp',\n maxLength: 4,\n autoFocus: true,\n alignResend: true,\n },\n];\n\nconst teacherEdQualificationOptions = [\n {\n id: 1,\n key: 'bachelors',\n label: 'Bachelors',\n value: 'bachelors',\n },\n {\n id: 2,\n key: 'masters_or_above',\n label: 'Masters or above',\n value: 'masters_or_above',\n },\n {\n id: 3,\n key: 'not_a_graduate',\n label: 'Not a graduate',\n value: 'not_a_graduate',\n },\n];\n\nconst teacherSelectDegreeForm = [\n {\n id: 'highest_degree',\n options: teacherEdQualificationOptions,\n type: 'tab',\n optional: false,\n variant: 'btnGroup',\n flexWrap: 'wrap',\n mobileWidth: 'auto',\n height: '48px',\n justifyContent: 'flex-start',\n mobileJustifyContent: 'flex-start',\n minWidth: '100%',\n },\n];\n\nconst teacherStreamOfEducationOptions = [\n {\n id: 1,\n key: 'biology/chemistry',\n label: 'Biology/Chemistry',\n value: 'biology/chemistry',\n },\n {\n id: 2,\n key: 'physics/computer-science',\n label: 'Physics/Computer science',\n value: 'physics/computer-science',\n },\n {\n id: 3,\n key: 'math',\n label: 'Math',\n value: 'math',\n },\n {\n id: 4,\n key: 'accountancy/commerce',\n label: 'Accountancy/Commerce',\n value: 'accountancy/commerce',\n },\n {\n id: 5,\n key: 'others',\n label: 'Others',\n value: 'others',\n },\n];\n\nconst teacherSelectStreamForm = [\n {\n id: 'stream',\n options: teacherStreamOfEducationOptions,\n type: 'tab',\n height: '48px',\n mobileWidth: 'auto',\n flexWrap: 'wrap',\n variant: 'btnGroup',\n justifyContent: 'flex-start',\n mobileJustifyContent: 'flex-start',\n optional: false,\n minWidth: '100%',\n },\n];\n\nconst teacherExperienceOptions = [\n {\n id: 1,\n key: 'yes',\n label: 'Yes',\n value: 'yes',\n },\n {\n id: 2,\n key: 'no',\n label: 'No',\n value: 'no',\n },\n];\n\nconst teacherSelectExperienceForm = [\n {\n id: 'maths_experience',\n options: teacherExperienceOptions,\n type: 'tab',\n optional: false,\n variant: 'btnGroup',\n flexWrap: 'wrap',\n mobileWidth: 'auto',\n height: '48px',\n justifyContent: 'flex-start',\n mobileJustifyContent: 'flex-start',\n minWidth: '100%',\n },\n];\n\nconst cetGuideLines = [\n { id: 1, text: 'You must take the test within 72 hours of generating the link.' },\n { id: 2, text: 'The test will happen only on a desktop browser.' },\n { id: 3, text: 'We’ve shared a link for the Cuemath Entrance test on your mail id.' },\n { id: 4, text: 'The test will be taken as per your selected grade group.' },\n];\n\nconst teacherSignupStepsConfig = {\n [teacherSignupSteps.signup]: {\n route: `/teacher/v2/application/?step=${teacherSignupSteps.signup}`,\n form: teacherSignupForm,\n heading: 'Create an account',\n showProgressBar: true,\n linkText: `Don’t have an account ?`,\n linkSubmitLabel: 'Sign up',\n stepIndex: 1,\n },\n [teacherSignupSteps.login]: {\n route: `/teacher/v2/application/?step=${teacherSignupSteps.login}`,\n heading: 'Login to your teacher account',\n subHeading:\n 'You will get a verification code via SMS on your registered phone number.',\n form: teacherLoginForm,\n linkText: `Already have an account ?`,\n linkSubmitLabel: 'Sign in',\n stepIndex: 1,\n },\n [teacherSignupSteps.verifyOtp]: {\n form: teacherVerifyOtpForm,\n },\n [teacherSignupSteps.selectDegree]: {\n route: `/teacher/v2/application/?step=${teacherSignupSteps.selectDegree}`,\n heading: 'What is your highest educational degree?',\n form: teacherSelectDegreeForm,\n isPrivateRoute: true,\n showProgressBar: true,\n },\n [teacherSignupSteps.selectStream]: {\n route: `/teacher/v2/application/?step=${teacherSignupSteps.selectStream}`,\n heading: 'Select the stream of your education?',\n form: teacherSelectStreamForm,\n isPrivateRoute: true,\n showProgressBar: true,\n },\n [teacherSignupSteps.selectGrade]: {\n route: `/teacher/v2/application/?step=${teacherSignupSteps.selectGrade}`,\n heading: 'Pick your grade',\n title: 'Select grade',\n desc: 'Pick a grade group as per your expertise',\n subHeading:\n 'Your Cuemath Eligibility Test (CET) will be based on your selected grade group.',\n isPrivateRoute: true,\n },\n [teacherSignupSteps.selectExperience]: {\n route: `/teacher/v2/application/?step=${teacherSignupSteps.selectExperience}`,\n heading: 'Do you have any prior math teaching experience?',\n form: teacherSelectExperienceForm,\n isPrivateRoute: true,\n showProgressBar: true,\n },\n [teacherSignupSteps.watchVideo]: {\n route: `/teacher/v2/application/?step=${teacherSignupSteps.watchVideo}`,\n title: 'Watch Info video',\n desc: 'A quick video on what are the steps required to be completed to be a Cuemath teacher.',\n heading: 'Cuemath follows a fast, disciplined 3 step application process.',\n subHeading: 'Watch this quick video to know your next steps.',\n isPrivateRoute: true,\n showGreeting: true,\n },\n [teacherSignupSteps.mathTestAndSop]: {\n route: `/teacher/v2/application/?step=${teacherSignupSteps.mathTestAndSop}`,\n title: 'Take eligibility test',\n desc: 'Complete a math test and upload a SOP video both within 70 minutes.',\n descLink: 'https://drive.google.com/file/d/1NsOen5p2P6cpakbeaBPvtIJi7cwEYV16/view',\n isPrivateRoute: true,\n info: cetGuideLines,\n },\n [teacherSignupSteps.recordLesson]: {\n route: `/teacher/v2/application/?step=${teacherSignupSteps.recordLesson}`,\n title: 'Record a lesson',\n desc: 'Use your mobile to record a live teaching lesson demonstrating your teaching style and skills',\n isPrivateRoute: true,\n },\n [teacherSignupSteps.uploadDocuments]: {\n route: `/teacher/v2/application/?step=${teacherSignupSteps.uploadDocuments}`,\n heading: 'Complete the steps to finish your assessment',\n title: 'Upload documents',\n desc: 'Keep your Aadhar and latest degree marksheet ready with you. We will use this information for your background verification',\n isPrivateRoute: true,\n },\n [teacherSignupSteps.success]: {\n route: `/teacher/v2/application/?status=${teacherSignupSteps.success}`,\n hideHeader: true,\n isPrivateRoute: true,\n },\n [teacherSignupSteps.rejected]: {\n route: `/teacher/v2/application/?status=${teacherSignupSteps.rejected}`,\n hideHeader: true,\n isPrivateRoute: true,\n },\n [teacherSignupSteps.dashboard]: {\n route: `/teacher/v2/application/?step=${teacherSignupSteps.dashboard}`,\n isPrivateRoute: true,\n showGreeting: true,\n },\n};\n\nexport { teacherSignupSteps, teacherSignupStepsConfig };\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"inputs":{"src/cookie/index.ts":{"bytes":3624,"imports":[],"format":"esm"},"src/constants/country/iso-country-code.ts":{"bytes":5547,"imports":[],"format":"esm"},"src/constants/country/country-region-map.ts":{"bytes":2556,"imports":[{"path":"src/constants/country/iso-country-code.ts","kind":"import-statement","original":"./iso-country-code"}],"format":"esm"},"src/constants/country/region.ts":{"bytes":172,"imports":[],"format":"esm"},"src/constants/country/country-code-map.ts":{"bytes":22287,"imports":[],"format":"esm"},"src/constants/country/states.ts":{"bytes":4302,"imports":[],"format":"esm"},"src/constants/country/index.ts":{"bytes":214,"imports":[{"path":"src/constants/country/iso-country-code.ts","kind":"import-statement","original":"./iso-country-code"},{"path":"src/constants/country/country-region-map.ts","kind":"import-statement","original":"./country-region-map"},{"path":"src/constants/country/region.ts","kind":"import-statement","original":"./region"},{"path":"src/constants/country/country-code-map.ts","kind":"import-statement","original":"./country-code-map"},{"path":"src/constants/country/states.ts","kind":"import-statement","original":"./states"}],"format":"esm"},"src/constants/date-time/international-timezones.ts":{"bytes":2822,"imports":[],"format":"esm"},"src/constants/date-time/index.ts":{"bytes":733,"imports":[{"path":"src/constants/date-time/international-timezones.ts","kind":"import-statement","original":"./international-timezones"}],"format":"esm"},"src/constants/currency-symbols/index.ts":{"bytes":2390,"imports":[],"format":"esm"},"src/constants/instrumentation/index.ts":{"bytes":153,"imports":[],"format":"esm"},"src/constants/teacher/index.ts":{"bytes":7662,"imports":[],"format":"esm"},"src/constants/index.ts":{"bytes":154,"imports":[{"path":"src/constants/country/index.ts","kind":"import-statement","original":"./country"},{"path":"src/constants/date-time/index.ts","kind":"import-statement","original":"./date-time"},{"path":"src/constants/currency-symbols/index.ts","kind":"import-statement","original":"./currency-symbols"},{"path":"src/constants/instrumentation/index.ts","kind":"import-statement","original":"./instrumentation"},{"path":"src/constants/teacher/index.ts","kind":"import-statement","original":"./teacher"}],"format":"esm"},"src/local-storage/index.ts":{"bytes":4726,"imports":[{"path":"src/constants/date-time/index.ts","kind":"import-statement","original":"../constants/date-time"}],"format":"esm"},"src/date-time-helper/index.ts":{"bytes":5210,"imports":[{"path":"dayjs","kind":"import-statement","external":true},{"path":"dayjs/plugin/relativeTime","kind":"import-statement","external":true}],"format":"esm"},"src/object/index.ts":{"bytes":701,"imports":[],"format":"esm"},"src/date-time-helper/timezone.ts":{"bytes":2518,"imports":[{"path":"dayjs","kind":"import-statement","external":true},{"path":"src/constants/date-time/international-timezones.ts","kind":"import-statement","original":"../constants/date-time/international-timezones"}],"format":"esm"},"src/e-cna/index.ts":{"bytes":754,"imports":[{"path":"src/constants/date-time/index.ts","kind":"import-statement","original":"../constants/date-time"},{"path":"src/date-time-helper/timezone.ts","kind":"import-statement","original":"../date-time-helper/timezone"}],"format":"esm"},"src/utils/env-mode.ts":{"bytes":108,"imports":[],"format":"esm"},"src/utils/server.ts":{"bytes":55,"imports":[],"format":"esm"},"src/utils/index.ts":{"bytes":54,"imports":[{"path":"src/utils/env-mode.ts","kind":"import-statement","original":"./env-mode"},{"path":"src/utils/server.ts","kind":"import-statement","original":"./server"}],"format":"esm"},"src/script/index.ts":{"bytes":350,"imports":[],"format":"esm"},"src/url/index.js":{"bytes":164,"imports":[],"format":"esm"},"src/url-parser/index.ts":{"bytes":424,"imports":[],"format":"esm"},"src/validations/form-validations.ts":{"bytes":1862,"imports":[],"format":"esm"},"src/validations/index.js":{"bytes":36,"imports":[{"path":"src/validations/form-validations.ts","kind":"import-statement","original":"./form-validations"}],"format":"esm"},"src/country-code/index.ts":{"bytes":774,"imports":[],"format":"esm"},"src/data/utm-source.json":{"bytes":1769,"imports":[]},"src/website-category/constants/index.ts":{"bytes":6314,"imports":[],"format":"esm"},"src/website-category/constants/instrumentation.ts":{"bytes":3177,"imports":[],"format":"esm"},"src/website-category/utils/instrumentation.ts":{"bytes":2205,"imports":[{"path":"src/url-parser/index.ts","kind":"import-statement","original":"../../url-parser"},{"path":"src/website-category/constants/index.ts","kind":"import-statement","original":"../constants"},{"path":"src/website-category/constants/instrumentation.ts","kind":"import-statement","original":"../constants/instrumentation"}],"format":"esm"},"src/website-category/utils/index.ts":{"bytes":218,"imports":[{"path":"src/website-category/utils/instrumentation.ts","kind":"import-statement","original":"./instrumentation"}],"format":"esm"},"src/website-category/index.ts":{"bytes":202,"imports":[{"path":"src/website-category/utils/index.ts","kind":"import-statement","original":"./utils"},{"path":"src/website-category/constants/index.ts","kind":"import-statement","original":"./constants"},{"path":"src/website-category/utils/instrumentation.ts","kind":"import-statement","original":"./utils/instrumentation"}],"format":"esm"},"src/growth-source/index.ts":{"bytes":7671,"imports":[{"path":"src/cookie/index.ts","kind":"import-statement","original":"../cookie"},{"path":"src/data/utm-source.json","kind":"import-statement","original":"../data/utm-source.json"},{"path":"src/url-parser/index.ts","kind":"import-statement","original":"../url-parser"},{"path":"src/website-category/index.ts","kind":"import-statement","original":"../website-category"}],"format":"esm"},"src/constants/analytics/index.ts":{"bytes":233,"imports":[],"format":"esm"},"src/analytics/attributes.ts":{"bytes":1189,"imports":[{"path":"src/constants/analytics/index.ts","kind":"import-statement","original":"../constants/analytics"}],"format":"esm"},"src/analytics/data-props.ts":{"bytes":565,"imports":[{"path":"src/constants/analytics/index.ts","kind":"import-statement","original":"../constants/analytics"}],"format":"esm"},"src/analytics/index.ts":{"bytes":60,"imports":[{"path":"src/analytics/attributes.ts","kind":"import-statement","original":"./attributes"},{"path":"src/analytics/data-props.ts","kind":"import-statement","original":"./data-props"}],"format":"esm"},"src/ab-experiment/constants/index.ts":{"bytes":1712,"imports":[],"format":"esm"},"src/ab-experiment/utils/experiments.ts":{"bytes":3540,"imports":[{"path":"src/constants/country/index.ts","kind":"import-statement","original":"../../constants/country"},{"path":"src/website-category/index.ts","kind":"import-statement","original":"../../website-category"},{"path":"src/website-category/utils/instrumentation.ts","kind":"import-statement","original":"../../website-category/utils/instrumentation"},{"path":"src/ab-experiment/constants/index.ts","kind":"import-statement","original":"../constants/index"}],"format":"esm"},"src/ab-experiment/utils/ab-variant.ts":{"bytes":7660,"imports":[{"path":"src/cookie/index.ts","kind":"import-statement","original":"../../cookie"},{"path":"src/url-parser/index.ts","kind":"import-statement","original":"../../url-parser"},{"path":"src/ab-experiment/constants/index.ts","kind":"import-statement","original":"../constants"},{"path":"src/ab-experiment/utils/experiments.ts","kind":"import-statement","original":"./experiments"}],"format":"esm"},"src/ab-experiment/index.ts":{"bytes":257,"imports":[{"path":"src/ab-experiment/utils/ab-variant.ts","kind":"import-statement","original":"./utils/ab-variant"},{"path":"src/ab-experiment/constants/index.ts","kind":"import-statement","original":"./constants"}],"format":"esm"},"src/last-landing-page/index.ts":{"bytes":1282,"imports":[{"path":"src/url-parser/index.ts","kind":"import-statement","original":"../url-parser"}],"format":"esm"},"src/index.ts":{"bytes":606,"imports":[{"path":"src/cookie/index.ts","kind":"import-statement","original":"./cookie"},{"path":"src/constants/index.ts","kind":"import-statement","original":"./constants"},{"path":"src/local-storage/index.ts","kind":"import-statement","original":"./local-storage"},{"path":"src/date-time-helper/index.ts","kind":"import-statement","original":"./date-time-helper"},{"path":"src/object/index.ts","kind":"import-statement","original":"./object"},{"path":"src/e-cna/index.ts","kind":"import-statement","original":"./e-cna"},{"path":"src/utils/index.ts","kind":"import-statement","original":"./utils"},{"path":"src/script/index.ts","kind":"import-statement","original":"./script"},{"path":"src/url/index.js","kind":"import-statement","original":"./url"},{"path":"src/url-parser/index.ts","kind":"import-statement","original":"./url-parser"},{"path":"src/validations/index.js","kind":"import-statement","original":"./validations"},{"path":"src/country-code/index.ts","kind":"import-statement","original":"./country-code"},{"path":"src/growth-source/index.ts","kind":"import-statement","original":"./growth-source"},{"path":"src/analytics/index.ts","kind":"import-statement","original":"./analytics"},{"path":"src/ab-experiment/index.ts","kind":"import-statement","original":"./ab-experiment"},{"path":"src/website-category/index.ts","kind":"import-statement","original":"./website-category"},{"path":"src/last-landing-page/index.ts","kind":"import-statement","original":"./last-landing-page"}],"format":"esm"},"src/cloudfront.ts":{"bytes":1926,"imports":[{"path":"src/cookie/index.ts","kind":"import-statement","original":"./cookie"},{"path":"src/ab-experiment/utils/ab-variant.ts","kind":"import-statement","original":"./ab-experiment/utils/ab-variant"},{"path":"src/ab-experiment/constants/index.ts","kind":"import-statement","original":"./ab-experiment/constants"},{"path":"src/date-time-helper/index.ts","kind":"import-statement","original":"./date-time-helper"},{"path":"src/url-parser/index.ts","kind":"import-statement","original":"./url-parser"},{"path":"src/website-category/index.ts","kind":"import-statement","original":"./website-category"},{"path":"src/validations/index.js","kind":"import-statement","original":"./validations"},{"path":"src/object/index.ts","kind":"import-statement","original":"./object"},{"path":"src/constants/country/index.ts","kind":"import-statement","original":"./constants/country"},{"path":"src/constants/currency-symbols/index.ts","kind":"import-statement","original":"./constants/currency-symbols"},{"path":"src/last-landing-page/index.ts","kind":"import-statement","original":"./last-landing-page"}],"format":"esm"},"src/browser.ts":{"bytes":2946,"imports":[{"path":"src/cookie/index.ts","kind":"import-statement","original":"./cookie"},{"path":"src/local-storage/index.ts","kind":"import-statement","original":"./local-storage"},{"path":"src/script/index.ts","kind":"import-statement","original":"./script"},{"path":"src/analytics/index.ts","kind":"import-statement","original":"./analytics"},{"path":"src/ab-experiment/index.ts","kind":"import-statement","original":"./ab-experiment"},{"path":"src/ab-experiment/constants/index.ts","kind":"import-statement","original":"./ab-experiment/constants"},{"path":"src/growth-source/index.ts","kind":"import-statement","original":"./growth-source"},{"path":"src/date-time-helper/index.ts","kind":"import-statement","original":"./date-time-helper"},{"path":"src/date-time-helper/timezone.ts","kind":"import-statement","original":"./date-time-helper/timezone"},{"path":"src/url/index.js","kind":"import-statement","original":"./url"},{"path":"src/url-parser/index.ts","kind":"import-statement","original":"./url-parser"},{"path":"src/website-category/index.ts","kind":"import-statement","original":"./website-category"},{"path":"src/validations/index.js","kind":"import-statement","original":"./validations"},{"path":"src/object/index.ts","kind":"import-statement","original":"./object"},{"path":"src/e-cna/index.ts","kind":"import-statement","original":"./e-cna"},{"path":"src/constants/country/index.ts","kind":"import-statement","original":"./constants/country"},{"path":"src/constants/currency-symbols/index.ts","kind":"import-statement","original":"./constants/currency-symbols"},{"path":"src/constants/analytics/index.ts","kind":"import-statement","original":"./constants/analytics"},{"path":"src/constants/instrumentation/index.ts","kind":"import-statement","original":"./constants/instrumentation"},{"path":"src/last-landing-page/index.ts","kind":"import-statement","original":"./last-landing-page"},{"path":"src/country-code/index.ts","kind":"import-statement","original":"./country-code"},{"path":"src/utils/server.ts","kind":"import-statement","original":"./utils/server"},{"path":"src/utils/env-mode.ts","kind":"import-statement","original":"./utils/env-mode"}],"format":"esm"}},"outputs":{"dist/index.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":11583},"dist/index.js":{"imports":[{"path":"dist/chunk-OBXSX4MO.js","kind":"import-statement"},{"path":"dist/chunk-SMWXEBQ2.js","kind":"import-statement"},{"path":"dist/chunk-5X4UT2UI.js","kind":"import-statement"}],"exports":["AB_IDENTIFIER_KEY","ALLOWED_COUNTRIES_FOR_LAAM_TEACHERS","ALLOWED_COUNTRIES_FOR_TEACHERS","APP_ENV","AUSTRALIAN_COUNTRIES","BEST_PERFORMING_COHORT_ROW_COUNTRIES","BRAND_PAGES","COUNTRY_CODE_MAP","CURRENCY_SYMBOL_MAP","DAY","EUROPEAN_COUNTRIES","EXPERIMENT_KEYS","FOCUSED_COUNTRIES","HOUR_FORMAT","INDIAN_COUNTRIES","INTENT_PAGES","ISO_COUNTRY_CODE","LAST_LANDING_PAGE_COOKIE","LOCAL_STORAGE_PRIMARY_KEY","MIDDLE_EAST_COUNTRIES","MONTH_ARRAY","NEW_ZEALAND_COUNTRIES","NON_FOCUSED_ROW_COUNTRIES","REFERRAL_PAGES","REFERRAL_PAGE_PATH","REGION","REVENUE_CHANNEL","SINGAPORE_COUNTRIES","SUPPLY_PAGES","TWENTY_FOUR_HOURS_IN_SECONDS","US_COUNTRIES","VARIANTS","checkContentPage","checkLocalStorageSupport","checkValidation","clearSalesProcess","clearSignupForm","convertSecondsToMiliseconds","convertTimeStampToSeconds","createCookie","createCookieWithMidnightExp","dateByTimestamp","filterCountryCode","formatDateTime","formatTimestamp","getABExperimentCacheKey","getABVariant","getAttributes","getCookie","getCurrentTimestamp","getDataProps","getDateAfterDays","getDates","getISOTimeString","getLastLandingPage","getSourceChannel","getSubRevenueChannel","getTimeDiff","indianStates","initSourceDetails","isEmpty","isSEO","isServer","isSourcePresent","loadScript","localStorageGet","localStorageGetAll","localStorageRemove","localStorageRemoveAll","localStorageSet","nestedMapsAreEqual","parseCloudFrontCookies","parseCookieString","parseURLParams","readSourceCookie","removeCookie","removeExpiredKeysOnMount","removeHrefLangFromPath","removeKeyFromObject","removeQueryStringFromPath","removeTrailingSlashFromPath","resetABExperiment","resetAllABExperiments","setABExperiment","setFirstPage","setFlow","setFlowEntryPoint","setLandingPage","setLastLandingPage","setPlatformChannel","setProduct","setReferrer","setRevenueChannel","setSalesProcess","setSignupForm","setSignupPage","setSourceChannel","shorthandWeekDayArray","teacherSignupSteps","teacherSignupStepsConfig","timeToX","timezones","updateGuestId","usStates","weekDayArray"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/constants/teacher/index.ts":{"bytesInOutput":5154}},"bytes":8466},"dist/cloudfront.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/cloudfront.js":{"imports":[{"path":"dist/chunk-SMWXEBQ2.js","kind":"import-statement"}],"exports":["AB_IDENTIFIER_KEY","BRAND_PAGES","CURRENCY_SYMBOL_MAP","EXPERIMENT_KEYS","INTENT_PAGES","ISO_COUNTRY_CODE","REFERRAL_PAGES","REGION","SUPPLY_PAGES","VARIANTS","checkContentPage","checkValidation","convertSecondsToMiliseconds","convertTimeStampToSeconds","dateByTimestamp","formatDateTime","formatTimestamp","getABExperimentCacheKey","getABVariantFromCookies","getCurrentTimestamp","getDateAfterDays","getISOTimeString","getLastLandingPage","getSubRevenueChannel","getTimeDiff","isEmpty","isSEO","nestedMapsAreEqual","parseCloudFrontCookies","parseCookieString","removeHrefLangFromPath","removeQueryStringFromPath","removeTrailingSlashFromPath","timeToX"],"entryPoint":"src/cloudfront.ts","inputs":{"src/cloudfront.ts":{"bytesInOutput":0}},"bytes":1054},"dist/browser.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/browser.js":{"imports":[{"path":"dist/chunk-OBXSX4MO.js","kind":"import-statement"},{"path":"dist/chunk-SMWXEBQ2.js","kind":"import-statement"},{"path":"dist/chunk-5X4UT2UI.js","kind":"import-statement"}],"exports":["AB_IDENTIFIER_KEY","APP_ENV","BRAND_PAGES","CURRENCY_SYMBOL_MAP","DATA_VARIABLES","EXPERIMENT_KEYS","INTENT_PAGES","ISO_COUNTRY_CODE","REFERRAL_PAGES","REFERRAL_PAGE_PATH","REGION","REVENUE_CHANNEL","SUPPLY_PAGES","VARIANTS","checkContentPage","checkLocalStorageSupport","checkValidation","clearSalesProcess","clearSignupForm","convertSecondsToMiliseconds","convertTimeStampToSeconds","convertedTimezone","createCookie","createCookieWithMidnightExp","dateByTimestamp","dateByTimezone","dateTimeByTimezone","filterCountryCode","formatDateTime","formatTimestamp","getABExperimentCacheKey","getABVariant","getAttributes","getCookie","getCurrentDatebyTimezone","getCurrentTimestamp","getDataProps","getDateAfterDays","getDates","getISOTimeString","getLastLandingPage","getSourceChannel","getSubRevenueChannel","getTimeDiff","getTimezone","initSourceDetails","isEmpty","isSEO","isServer","isSourcePresent","loadScript","localStorageGet","localStorageGetAll","localStorageRemove","localStorageRemoveAll","localStorageSet","nestedMapsAreEqual","parseCookieString","parseURLParams","readSourceCookie","removeCookie","removeExpiredKeysOnMount","removeHrefLangFromPath","removeQueryStringFromPath","removeTrailingSlashFromPath","resetABExperiment","resetAllABExperiments","setABExperiment","setFirstPage","setFlow","setFlowEntryPoint","setLandingPage","setLastLandingPage","setPlatformChannel","setProduct","setReferrer","setRevenueChannel","setSalesProcess","setSignupForm","setSignupPage","setSourceChannel","timeToX","updateGuestId"],"entryPoint":"src/browser.ts","inputs":{"src/browser.ts":{"bytesInOutput":0}},"bytes":2542},"dist/chunk-OBXSX4MO.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":31284},"dist/chunk-OBXSX4MO.js":{"imports":[{"path":"dist/chunk-SMWXEBQ2.js","kind":"import-statement"},{"path":"dist/chunk-5X4UT2UI.js","kind":"import-statement"}],"exports":["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],"inputs":{"src/constants/date-time/index.ts":{"bytesInOutput":361},"src/constants/instrumentation/index.ts":{"bytesInOutput":82},"src/local-storage/index.ts":{"bytesInOutput":1360},"src/e-cna/index.ts":{"bytesInOutput":126},"src/utils/env-mode.ts":{"bytesInOutput":77},"src/utils/server.ts":{"bytesInOutput":25},"src/script/index.ts":{"bytesInOutput":137},"src/url/index.js":{"bytesInOutput":90},"src/country-code/index.ts":{"bytesInOutput":268},"src/data/utm-source.json":{"bytesInOutput":1484},"src/growth-source/index.ts":{"bytesInOutput":2106},"src/constants/analytics/index.ts":{"bytesInOutput":182},"src/analytics/attributes.ts":{"bytesInOutput":494},"src/analytics/data-props.ts":{"bytesInOutput":183},"src/ab-experiment/index.ts":{"bytesInOutput":0}},"bytes":7462},"dist/chunk-SMWXEBQ2.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":117710},"dist/chunk-SMWXEBQ2.js":{"imports":[{"path":"dayjs","kind":"import-statement","external":true},{"path":"dayjs/plugin/relativeTime","kind":"import-statement","external":true}],"exports":["$","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","_","a","aa","b","ba","c","ca","d","da","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],"inputs":{"src/cookie/index.ts":{"bytesInOutput":1008},"src/constants/country/iso-country-code.ts":{"bytesInOutput":4177},"src/constants/country/country-region-map.ts":{"bytesInOutput":1146},"src/constants/country/region.ts":{"bytesInOutput":122},"src/constants/country/country-code-map.ts":{"bytesInOutput":14869},"src/constants/country/states.ts":{"bytesInOutput":3493},"src/constants/country/index.ts":{"bytesInOutput":0},"src/constants/currency-symbols/index.ts":{"bytesInOutput":1958},"src/date-time-helper/index.ts":{"bytesInOutput":839},"src/object/index.ts":{"bytesInOutput":155},"src/url-parser/index.ts":{"bytesInOutput":134},"src/validations/form-validations.ts":{"bytesInOutput":652},"src/website-category/constants/index.ts":{"bytesInOutput":4674},"src/website-category/constants/instrumentation.ts":{"bytesInOutput":2210},"src/website-category/utils/instrumentation.ts":{"bytesInOutput":595},"src/website-category/utils/index.ts":{"bytesInOutput":26},"src/website-category/index.ts":{"bytesInOutput":0},"src/ab-experiment/constants/index.ts":{"bytesInOutput":1148},"src/ab-experiment/utils/experiments.ts":{"bytesInOutput":1139},"src/ab-experiment/utils/ab-variant.ts":{"bytesInOutput":1127},"src/last-landing-page/index.ts":{"bytesInOutput":308}},"bytes":40255},"dist/date-time-helper/timezone.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/date-time-helper/timezone.js":{"imports":[{"path":"dist/chunk-5X4UT2UI.js","kind":"import-statement"}],"exports":["convertedTimezone","dateByTimezone","dateTimeByTimezone","getCurrentDatebyTimezone","getTimezone"],"entryPoint":"src/date-time-helper/timezone.ts","inputs":{},"bytes":212},"dist/chunk-5X4UT2UI.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":8057},"dist/chunk-5X4UT2UI.js":{"imports":[{"path":"dayjs","kind":"import-statement","external":true}],"exports":["a","b","c","d","e","f"],"inputs":{"src/date-time-helper/timezone.ts":{"bytesInOutput":500},"src/constants/date-time/international-timezones.ts":{"bytesInOutput":1924}},"bytes":2495}}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"inputs":{"src/cookie/index.ts":{"bytes":3624,"imports":[],"format":"esm"},"src/constants/country/iso-country-code.ts":{"bytes":5547,"imports":[],"format":"esm"},"src/constants/country/country-region-map.ts":{"bytes":2556,"imports":[{"path":"src/constants/country/iso-country-code.ts","kind":"import-statement","original":"./iso-country-code"}],"format":"esm"},"src/constants/country/region.ts":{"bytes":172,"imports":[],"format":"esm"},"src/constants/country/country-code-map.ts":{"bytes":22287,"imports":[],"format":"esm"},"src/constants/country/states.ts":{"bytes":4302,"imports":[],"format":"esm"},"src/constants/country/index.ts":{"bytes":214,"imports":[{"path":"src/constants/country/iso-country-code.ts","kind":"import-statement","original":"./iso-country-code"},{"path":"src/constants/country/country-region-map.ts","kind":"import-statement","original":"./country-region-map"},{"path":"src/constants/country/region.ts","kind":"import-statement","original":"./region"},{"path":"src/constants/country/country-code-map.ts","kind":"import-statement","original":"./country-code-map"},{"path":"src/constants/country/states.ts","kind":"import-statement","original":"./states"}],"format":"esm"},"src/constants/date-time/international-timezones.ts":{"bytes":2822,"imports":[],"format":"esm"},"src/constants/date-time/index.ts":{"bytes":733,"imports":[{"path":"src/constants/date-time/international-timezones.ts","kind":"import-statement","original":"./international-timezones"}],"format":"esm"},"src/constants/currency-symbols/index.ts":{"bytes":2390,"imports":[],"format":"esm"},"src/constants/instrumentation/index.ts":{"bytes":153,"imports":[],"format":"esm"},"src/constants/teacher/index.ts":{"bytes":7662,"imports":[],"format":"esm"},"src/constants/index.ts":{"bytes":154,"imports":[{"path":"src/constants/country/index.ts","kind":"import-statement","original":"./country"},{"path":"src/constants/date-time/index.ts","kind":"import-statement","original":"./date-time"},{"path":"src/constants/currency-symbols/index.ts","kind":"import-statement","original":"./currency-symbols"},{"path":"src/constants/instrumentation/index.ts","kind":"import-statement","original":"./instrumentation"},{"path":"src/constants/teacher/index.ts","kind":"import-statement","original":"./teacher"}],"format":"esm"},"src/local-storage/index.ts":{"bytes":4726,"imports":[{"path":"src/constants/date-time/index.ts","kind":"import-statement","original":"../constants/date-time"}],"format":"esm"},"src/date-time-helper/index.ts":{"bytes":5210,"imports":[{"path":"dayjs","kind":"import-statement","external":true},{"path":"dayjs/plugin/relativeTime","kind":"import-statement","external":true}],"format":"esm"},"src/object/index.ts":{"bytes":701,"imports":[],"format":"esm"},"src/date-time-helper/timezone.ts":{"bytes":2518,"imports":[{"path":"dayjs","kind":"import-statement","external":true},{"path":"src/constants/date-time/international-timezones.ts","kind":"import-statement","original":"../constants/date-time/international-timezones"}],"format":"esm"},"src/e-cna/index.ts":{"bytes":754,"imports":[{"path":"src/constants/date-time/index.ts","kind":"import-statement","original":"../constants/date-time"},{"path":"src/date-time-helper/timezone.ts","kind":"import-statement","original":"../date-time-helper/timezone"}],"format":"esm"},"src/utils/env-mode.ts":{"bytes":108,"imports":[],"format":"esm"},"src/utils/server.ts":{"bytes":55,"imports":[],"format":"esm"},"src/utils/index.ts":{"bytes":54,"imports":[{"path":"src/utils/env-mode.ts","kind":"import-statement","original":"./env-mode"},{"path":"src/utils/server.ts","kind":"import-statement","original":"./server"}],"format":"esm"},"src/script/index.ts":{"bytes":350,"imports":[],"format":"esm"},"src/url/index.js":{"bytes":164,"imports":[],"format":"esm"},"src/url-parser/index.ts":{"bytes":424,"imports":[],"format":"esm"},"src/validations/form-validations.ts":{"bytes":1862,"imports":[],"format":"esm"},"src/validations/index.js":{"bytes":36,"imports":[{"path":"src/validations/form-validations.ts","kind":"import-statement","original":"./form-validations"}],"format":"esm"},"src/country-code/index.ts":{"bytes":774,"imports":[],"format":"esm"},"src/data/utm-source.json":{"bytes":1769,"imports":[]},"src/website-category/constants/index.ts":{"bytes":6314,"imports":[],"format":"esm"},"src/website-category/constants/instrumentation.ts":{"bytes":3177,"imports":[],"format":"esm"},"src/website-category/utils/instrumentation.ts":{"bytes":2205,"imports":[{"path":"src/url-parser/index.ts","kind":"import-statement","original":"../../url-parser"},{"path":"src/website-category/constants/index.ts","kind":"import-statement","original":"../constants"},{"path":"src/website-category/constants/instrumentation.ts","kind":"import-statement","original":"../constants/instrumentation"}],"format":"esm"},"src/website-category/utils/index.ts":{"bytes":218,"imports":[{"path":"src/website-category/utils/instrumentation.ts","kind":"import-statement","original":"./instrumentation"}],"format":"esm"},"src/website-category/index.ts":{"bytes":202,"imports":[{"path":"src/website-category/utils/index.ts","kind":"import-statement","original":"./utils"},{"path":"src/website-category/constants/index.ts","kind":"import-statement","original":"./constants"},{"path":"src/website-category/utils/instrumentation.ts","kind":"import-statement","original":"./utils/instrumentation"}],"format":"esm"},"src/growth-source/index.ts":{"bytes":7671,"imports":[{"path":"src/cookie/index.ts","kind":"import-statement","original":"../cookie"},{"path":"src/data/utm-source.json","kind":"import-statement","original":"../data/utm-source.json"},{"path":"src/url-parser/index.ts","kind":"import-statement","original":"../url-parser"},{"path":"src/website-category/index.ts","kind":"import-statement","original":"../website-category"}],"format":"esm"},"src/constants/analytics/index.ts":{"bytes":233,"imports":[],"format":"esm"},"src/analytics/attributes.ts":{"bytes":1189,"imports":[{"path":"src/constants/analytics/index.ts","kind":"import-statement","original":"../constants/analytics"}],"format":"esm"},"src/analytics/data-props.ts":{"bytes":565,"imports":[{"path":"src/constants/analytics/index.ts","kind":"import-statement","original":"../constants/analytics"}],"format":"esm"},"src/analytics/index.ts":{"bytes":60,"imports":[{"path":"src/analytics/attributes.ts","kind":"import-statement","original":"./attributes"},{"path":"src/analytics/data-props.ts","kind":"import-statement","original":"./data-props"}],"format":"esm"},"src/ab-experiment/constants/index.ts":{"bytes":1712,"imports":[],"format":"esm"},"src/ab-experiment/utils/experiments.ts":{"bytes":3540,"imports":[{"path":"src/constants/country/index.ts","kind":"import-statement","original":"../../constants/country"},{"path":"src/website-category/index.ts","kind":"import-statement","original":"../../website-category"},{"path":"src/website-category/utils/instrumentation.ts","kind":"import-statement","original":"../../website-category/utils/instrumentation"},{"path":"src/ab-experiment/constants/index.ts","kind":"import-statement","original":"../constants/index"}],"format":"esm"},"src/ab-experiment/utils/ab-variant.ts":{"bytes":7660,"imports":[{"path":"src/cookie/index.ts","kind":"import-statement","original":"../../cookie"},{"path":"src/url-parser/index.ts","kind":"import-statement","original":"../../url-parser"},{"path":"src/ab-experiment/constants/index.ts","kind":"import-statement","original":"../constants"},{"path":"src/ab-experiment/utils/experiments.ts","kind":"import-statement","original":"./experiments"}],"format":"esm"},"src/ab-experiment/index.ts":{"bytes":257,"imports":[{"path":"src/ab-experiment/utils/ab-variant.ts","kind":"import-statement","original":"./utils/ab-variant"},{"path":"src/ab-experiment/constants/index.ts","kind":"import-statement","original":"./constants"}],"format":"esm"},"src/last-landing-page/index.ts":{"bytes":1282,"imports":[{"path":"src/url-parser/index.ts","kind":"import-statement","original":"../url-parser"}],"format":"esm"},"src/index.ts":{"bytes":606,"imports":[{"path":"src/cookie/index.ts","kind":"import-statement","original":"./cookie"},{"path":"src/constants/index.ts","kind":"import-statement","original":"./constants"},{"path":"src/local-storage/index.ts","kind":"import-statement","original":"./local-storage"},{"path":"src/date-time-helper/index.ts","kind":"import-statement","original":"./date-time-helper"},{"path":"src/object/index.ts","kind":"import-statement","original":"./object"},{"path":"src/e-cna/index.ts","kind":"import-statement","original":"./e-cna"},{"path":"src/utils/index.ts","kind":"import-statement","original":"./utils"},{"path":"src/script/index.ts","kind":"import-statement","original":"./script"},{"path":"src/url/index.js","kind":"import-statement","original":"./url"},{"path":"src/url-parser/index.ts","kind":"import-statement","original":"./url-parser"},{"path":"src/validations/index.js","kind":"import-statement","original":"./validations"},{"path":"src/country-code/index.ts","kind":"import-statement","original":"./country-code"},{"path":"src/growth-source/index.ts","kind":"import-statement","original":"./growth-source"},{"path":"src/analytics/index.ts","kind":"import-statement","original":"./analytics"},{"path":"src/ab-experiment/index.ts","kind":"import-statement","original":"./ab-experiment"},{"path":"src/website-category/index.ts","kind":"import-statement","original":"./website-category"},{"path":"src/last-landing-page/index.ts","kind":"import-statement","original":"./last-landing-page"}],"format":"esm"},"src/cloudfront.ts":{"bytes":1926,"imports":[{"path":"src/cookie/index.ts","kind":"import-statement","original":"./cookie"},{"path":"src/ab-experiment/utils/ab-variant.ts","kind":"import-statement","original":"./ab-experiment/utils/ab-variant"},{"path":"src/ab-experiment/constants/index.ts","kind":"import-statement","original":"./ab-experiment/constants"},{"path":"src/date-time-helper/index.ts","kind":"import-statement","original":"./date-time-helper"},{"path":"src/url-parser/index.ts","kind":"import-statement","original":"./url-parser"},{"path":"src/website-category/index.ts","kind":"import-statement","original":"./website-category"},{"path":"src/validations/index.js","kind":"import-statement","original":"./validations"},{"path":"src/object/index.ts","kind":"import-statement","original":"./object"},{"path":"src/constants/country/index.ts","kind":"import-statement","original":"./constants/country"},{"path":"src/constants/currency-symbols/index.ts","kind":"import-statement","original":"./constants/currency-symbols"},{"path":"src/last-landing-page/index.ts","kind":"import-statement","original":"./last-landing-page"}],"format":"esm"},"src/browser.ts":{"bytes":2946,"imports":[{"path":"src/cookie/index.ts","kind":"import-statement","original":"./cookie"},{"path":"src/local-storage/index.ts","kind":"import-statement","original":"./local-storage"},{"path":"src/script/index.ts","kind":"import-statement","original":"./script"},{"path":"src/analytics/index.ts","kind":"import-statement","original":"./analytics"},{"path":"src/ab-experiment/index.ts","kind":"import-statement","original":"./ab-experiment"},{"path":"src/ab-experiment/constants/index.ts","kind":"import-statement","original":"./ab-experiment/constants"},{"path":"src/growth-source/index.ts","kind":"import-statement","original":"./growth-source"},{"path":"src/date-time-helper/index.ts","kind":"import-statement","original":"./date-time-helper"},{"path":"src/date-time-helper/timezone.ts","kind":"import-statement","original":"./date-time-helper/timezone"},{"path":"src/url/index.js","kind":"import-statement","original":"./url"},{"path":"src/url-parser/index.ts","kind":"import-statement","original":"./url-parser"},{"path":"src/website-category/index.ts","kind":"import-statement","original":"./website-category"},{"path":"src/validations/index.js","kind":"import-statement","original":"./validations"},{"path":"src/object/index.ts","kind":"import-statement","original":"./object"},{"path":"src/e-cna/index.ts","kind":"import-statement","original":"./e-cna"},{"path":"src/constants/country/index.ts","kind":"import-statement","original":"./constants/country"},{"path":"src/constants/currency-symbols/index.ts","kind":"import-statement","original":"./constants/currency-symbols"},{"path":"src/constants/analytics/index.ts","kind":"import-statement","original":"./constants/analytics"},{"path":"src/constants/instrumentation/index.ts","kind":"import-statement","original":"./constants/instrumentation"},{"path":"src/last-landing-page/index.ts","kind":"import-statement","original":"./last-landing-page"},{"path":"src/country-code/index.ts","kind":"import-statement","original":"./country-code"},{"path":"src/utils/server.ts","kind":"import-statement","original":"./utils/server"},{"path":"src/utils/env-mode.ts","kind":"import-statement","original":"./utils/env-mode"}],"format":"esm"}},"outputs":{"dist/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":11583},"dist/index.mjs":{"imports":[{"path":"dist/chunk-LUUB665J.mjs","kind":"import-statement"},{"path":"dist/chunk-CVZIO6BX.mjs","kind":"import-statement"},{"path":"dist/chunk-TG7DRTM7.mjs","kind":"import-statement"}],"exports":["AB_IDENTIFIER_KEY","ALLOWED_COUNTRIES_FOR_LAAM_TEACHERS","ALLOWED_COUNTRIES_FOR_TEACHERS","APP_ENV","AUSTRALIAN_COUNTRIES","BEST_PERFORMING_COHORT_ROW_COUNTRIES","BRAND_PAGES","COUNTRY_CODE_MAP","CURRENCY_SYMBOL_MAP","DAY","EUROPEAN_COUNTRIES","EXPERIMENT_KEYS","FOCUSED_COUNTRIES","HOUR_FORMAT","INDIAN_COUNTRIES","INTENT_PAGES","ISO_COUNTRY_CODE","LAST_LANDING_PAGE_COOKIE","LOCAL_STORAGE_PRIMARY_KEY","MIDDLE_EAST_COUNTRIES","MONTH_ARRAY","NEW_ZEALAND_COUNTRIES","NON_FOCUSED_ROW_COUNTRIES","REFERRAL_PAGES","REFERRAL_PAGE_PATH","REGION","REVENUE_CHANNEL","SINGAPORE_COUNTRIES","SUPPLY_PAGES","TWENTY_FOUR_HOURS_IN_SECONDS","US_COUNTRIES","VARIANTS","checkContentPage","checkLocalStorageSupport","checkValidation","clearSalesProcess","clearSignupForm","convertSecondsToMiliseconds","convertTimeStampToSeconds","createCookie","createCookieWithMidnightExp","dateByTimestamp","filterCountryCode","formatDateTime","formatTimestamp","getABExperimentCacheKey","getABVariant","getAttributes","getCookie","getCurrentTimestamp","getDataProps","getDateAfterDays","getDates","getISOTimeString","getLastLandingPage","getSourceChannel","getSubRevenueChannel","getTimeDiff","indianStates","initSourceDetails","isEmpty","isSEO","isServer","isSourcePresent","loadScript","localStorageGet","localStorageGetAll","localStorageRemove","localStorageRemoveAll","localStorageSet","nestedMapsAreEqual","parseCloudFrontCookies","parseCookieString","parseURLParams","readSourceCookie","removeCookie","removeExpiredKeysOnMount","removeHrefLangFromPath","removeKeyFromObject","removeQueryStringFromPath","removeTrailingSlashFromPath","resetABExperiment","resetAllABExperiments","setABExperiment","setFirstPage","setFlow","setFlowEntryPoint","setLandingPage","setLastLandingPage","setPlatformChannel","setProduct","setReferrer","setRevenueChannel","setSalesProcess","setSignupForm","setSignupPage","setSourceChannel","shorthandWeekDayArray","teacherSignupSteps","teacherSignupStepsConfig","timeToX","timezones","updateGuestId","usStates","weekDayArray"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/constants/teacher/index.ts":{"bytesInOutput":5154}},"bytes":8469},"dist/cloudfront.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/cloudfront.mjs":{"imports":[{"path":"dist/chunk-CVZIO6BX.mjs","kind":"import-statement"}],"exports":["AB_IDENTIFIER_KEY","BRAND_PAGES","CURRENCY_SYMBOL_MAP","EXPERIMENT_KEYS","INTENT_PAGES","ISO_COUNTRY_CODE","REFERRAL_PAGES","REGION","SUPPLY_PAGES","VARIANTS","checkContentPage","checkValidation","convertSecondsToMiliseconds","convertTimeStampToSeconds","dateByTimestamp","formatDateTime","formatTimestamp","getABExperimentCacheKey","getABVariantFromCookies","getCurrentTimestamp","getDateAfterDays","getISOTimeString","getLastLandingPage","getSubRevenueChannel","getTimeDiff","isEmpty","isSEO","nestedMapsAreEqual","parseCloudFrontCookies","parseCookieString","removeHrefLangFromPath","removeQueryStringFromPath","removeTrailingSlashFromPath","timeToX"],"entryPoint":"src/cloudfront.ts","inputs":{"src/cloudfront.ts":{"bytesInOutput":0}},"bytes":1055},"dist/browser.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/browser.mjs":{"imports":[{"path":"dist/chunk-LUUB665J.mjs","kind":"import-statement"},{"path":"dist/chunk-CVZIO6BX.mjs","kind":"import-statement"},{"path":"dist/chunk-TG7DRTM7.mjs","kind":"import-statement"}],"exports":["AB_IDENTIFIER_KEY","APP_ENV","BRAND_PAGES","CURRENCY_SYMBOL_MAP","DATA_VARIABLES","EXPERIMENT_KEYS","INTENT_PAGES","ISO_COUNTRY_CODE","REFERRAL_PAGES","REFERRAL_PAGE_PATH","REGION","REVENUE_CHANNEL","SUPPLY_PAGES","VARIANTS","checkContentPage","checkLocalStorageSupport","checkValidation","clearSalesProcess","clearSignupForm","convertSecondsToMiliseconds","convertTimeStampToSeconds","convertedTimezone","createCookie","createCookieWithMidnightExp","dateByTimestamp","dateByTimezone","dateTimeByTimezone","filterCountryCode","formatDateTime","formatTimestamp","getABExperimentCacheKey","getABVariant","getAttributes","getCookie","getCurrentDatebyTimezone","getCurrentTimestamp","getDataProps","getDateAfterDays","getDates","getISOTimeString","getLastLandingPage","getSourceChannel","getSubRevenueChannel","getTimeDiff","getTimezone","initSourceDetails","isEmpty","isSEO","isServer","isSourcePresent","loadScript","localStorageGet","localStorageGetAll","localStorageRemove","localStorageRemoveAll","localStorageSet","nestedMapsAreEqual","parseCookieString","parseURLParams","readSourceCookie","removeCookie","removeExpiredKeysOnMount","removeHrefLangFromPath","removeQueryStringFromPath","removeTrailingSlashFromPath","resetABExperiment","resetAllABExperiments","setABExperiment","setFirstPage","setFlow","setFlowEntryPoint","setLandingPage","setLastLandingPage","setPlatformChannel","setProduct","setReferrer","setRevenueChannel","setSalesProcess","setSignupForm","setSignupPage","setSourceChannel","timeToX","updateGuestId"],"entryPoint":"src/browser.ts","inputs":{"src/browser.ts":{"bytesInOutput":0}},"bytes":2545},"dist/chunk-LUUB665J.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":31284},"dist/chunk-LUUB665J.mjs":{"imports":[{"path":"dist/chunk-CVZIO6BX.mjs","kind":"import-statement"},{"path":"dist/chunk-TG7DRTM7.mjs","kind":"import-statement"}],"exports":["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],"inputs":{"src/constants/date-time/index.ts":{"bytesInOutput":361},"src/constants/instrumentation/index.ts":{"bytesInOutput":82},"src/local-storage/index.ts":{"bytesInOutput":1360},"src/e-cna/index.ts":{"bytesInOutput":126},"src/utils/env-mode.ts":{"bytesInOutput":77},"src/utils/server.ts":{"bytesInOutput":25},"src/script/index.ts":{"bytesInOutput":137},"src/url/index.js":{"bytesInOutput":90},"src/country-code/index.ts":{"bytesInOutput":268},"src/data/utm-source.json":{"bytesInOutput":1484},"src/growth-source/index.ts":{"bytesInOutput":2106},"src/constants/analytics/index.ts":{"bytesInOutput":182},"src/analytics/attributes.ts":{"bytesInOutput":494},"src/analytics/data-props.ts":{"bytesInOutput":183},"src/ab-experiment/index.ts":{"bytesInOutput":0}},"bytes":7464},"dist/chunk-CVZIO6BX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":117710},"dist/chunk-CVZIO6BX.mjs":{"imports":[{"path":"dayjs","kind":"import-statement","external":true},{"path":"dayjs/plugin/relativeTime","kind":"import-statement","external":true}],"exports":["$","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","_","a","aa","b","ba","c","ca","d","da","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],"inputs":{"src/cookie/index.ts":{"bytesInOutput":1008},"src/constants/country/iso-country-code.ts":{"bytesInOutput":4177},"src/constants/country/country-region-map.ts":{"bytesInOutput":1146},"src/constants/country/region.ts":{"bytesInOutput":122},"src/constants/country/country-code-map.ts":{"bytesInOutput":14869},"src/constants/country/states.ts":{"bytesInOutput":3493},"src/constants/country/index.ts":{"bytesInOutput":0},"src/constants/currency-symbols/index.ts":{"bytesInOutput":1958},"src/date-time-helper/index.ts":{"bytesInOutput":839},"src/object/index.ts":{"bytesInOutput":155},"src/url-parser/index.ts":{"bytesInOutput":134},"src/validations/form-validations.ts":{"bytesInOutput":652},"src/website-category/constants/index.ts":{"bytesInOutput":4674},"src/website-category/constants/instrumentation.ts":{"bytesInOutput":2210},"src/website-category/utils/instrumentation.ts":{"bytesInOutput":595},"src/website-category/utils/index.ts":{"bytesInOutput":26},"src/website-category/index.ts":{"bytesInOutput":0},"src/ab-experiment/constants/index.ts":{"bytesInOutput":1148},"src/ab-experiment/utils/experiments.ts":{"bytesInOutput":1139},"src/ab-experiment/utils/ab-variant.ts":{"bytesInOutput":1127},"src/last-landing-page/index.ts":{"bytesInOutput":308}},"bytes":40255},"dist/date-time-helper/timezone.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/date-time-helper/timezone.mjs":{"imports":[{"path":"dist/chunk-TG7DRTM7.mjs","kind":"import-statement"}],"exports":["convertedTimezone","dateByTimezone","dateTimeByTimezone","getCurrentDatebyTimezone","getTimezone"],"entryPoint":"src/date-time-helper/timezone.ts","inputs":{},"bytes":213},"dist/chunk-TG7DRTM7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8057},"dist/chunk-TG7DRTM7.mjs":{"imports":[{"path":"dayjs","kind":"import-statement","external":true}],"exports":["a","b","c","d","e","f"],"inputs":{"src/date-time-helper/timezone.ts":{"bytesInOutput":500},"src/constants/date-time/international-timezones.ts":{"bytesInOutput":1924}},"bytes":2495}}}
|
package/package.json
CHANGED
|
@@ -1,22 +1,49 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cuemath/web-utils",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Shared web utils package",
|
|
5
|
-
"main": "dist/
|
|
6
|
-
"module": "dist/
|
|
7
|
-
"types": "dist/
|
|
3
|
+
"version": "2.0.0-beta.0",
|
|
4
|
+
"description": "Shared web utils package optimized for Lambda@Edge and CloudFront",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.js",
|
|
13
|
+
"types": "./dist/index.d.ts"
|
|
14
|
+
},
|
|
15
|
+
"./cloudfront": {
|
|
16
|
+
"import": "./dist/cloudfront.mjs",
|
|
17
|
+
"require": "./dist/cloudfront.js",
|
|
18
|
+
"types": "./dist/cloudfront.d.ts"
|
|
19
|
+
},
|
|
20
|
+
"./browser": {
|
|
21
|
+
"import": "./dist/browser.mjs",
|
|
22
|
+
"require": "./dist/browser.js",
|
|
23
|
+
"types": "./dist/browser.d.ts"
|
|
24
|
+
},
|
|
25
|
+
"./date-time-helper/timezone": {
|
|
26
|
+
"import": "./dist/date-time-helper/timezone.mjs",
|
|
27
|
+
"require": "./dist/date-time-helper/timezone.js",
|
|
28
|
+
"types": "./dist/date-time-helper/timezone.d.ts"
|
|
29
|
+
},
|
|
30
|
+
"./package.json": "./package.json"
|
|
31
|
+
},
|
|
8
32
|
"files": [
|
|
9
33
|
"dist"
|
|
10
34
|
],
|
|
35
|
+
"engines": {
|
|
36
|
+
"node": ">=16.0.0"
|
|
37
|
+
},
|
|
11
38
|
"scripts": {
|
|
12
39
|
"lint": "tsc --noEmit && eslint 'src/**/*.{js,jsx,ts,tsx,json}'",
|
|
13
|
-
"build
|
|
14
|
-
"build:
|
|
15
|
-
"build": "yarn build:esm && yarn run build:cjs --downlevelIteration",
|
|
16
|
-
"build-watch": "yarn build:esm -w && yarn run build:cjs -w",
|
|
40
|
+
"build": "tsup",
|
|
41
|
+
"build:watch": "tsup --watch",
|
|
17
42
|
"prepublishOnly": "./project-version.sh && rm -rf dist && yarn build",
|
|
18
43
|
"prepare": "husky install",
|
|
19
|
-
"precommit": "lint-staged"
|
|
44
|
+
"precommit": "lint-staged",
|
|
45
|
+
"size": "size-limit",
|
|
46
|
+
"size:why": "size-limit --why"
|
|
20
47
|
},
|
|
21
48
|
"repository": {
|
|
22
49
|
"type": "git",
|
|
@@ -33,9 +60,11 @@
|
|
|
33
60
|
"@cuemath/prettier-config": "1.0.3",
|
|
34
61
|
"@cuemath/ts-config": "0.0.5",
|
|
35
62
|
"@react-native-community/eslint-config": "3.2.0",
|
|
63
|
+
"@size-limit/preset-small-lib": "^11",
|
|
36
64
|
"@types/uuid": "9.0.0",
|
|
37
65
|
"@typescript-eslint/eslint-plugin": "5.47.0",
|
|
38
66
|
"@typescript-eslint/parser": "5.47.0",
|
|
67
|
+
"esbuild": "^0.27.2",
|
|
39
68
|
"eslint": "8.1.0",
|
|
40
69
|
"eslint-config-prettier": "8.5.0",
|
|
41
70
|
"eslint-plugin-import": "2.26.0",
|
|
@@ -47,6 +76,8 @@
|
|
|
47
76
|
"papaparse": "^5.4.1",
|
|
48
77
|
"path": "^0.12.7",
|
|
49
78
|
"prettier": "^2.8.1",
|
|
79
|
+
"size-limit": "^11",
|
|
80
|
+
"tsup": "^8.5.1",
|
|
50
81
|
"typescript": "4.9.4"
|
|
51
82
|
},
|
|
52
83
|
"dependencies": {
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
export declare const EXPERIMENT_KEYS: {
|
|
2
|
-
ECNA: string;
|
|
3
|
-
DOWNLOAD_JOURNEY: string;
|
|
4
|
-
ECNA_EXPERIMENTS_WITH_NO_INTRO: string;
|
|
5
|
-
ECNA_ADVANCED_COURSE: string;
|
|
6
|
-
SHOW_CHAT_BOT: string;
|
|
7
|
-
WEBSITE_REVAMP: string;
|
|
8
|
-
SUBJECT_FOLD: string;
|
|
9
|
-
PRODUCT_LED_ADMISSIONS: string;
|
|
10
|
-
PRICING_PAGE: string;
|
|
11
|
-
NAVBAR_MENU_REVAMP: string;
|
|
12
|
-
SIGNUP_FLOW_EXPERIMENT: string;
|
|
13
|
-
OUR_REVIEWS_PAGE: string;
|
|
14
|
-
MATH_TUITION_INDIA_REVAMP: string;
|
|
15
|
-
TUTOR_HIRING_EXPERIMENT: string;
|
|
16
|
-
};
|
|
17
|
-
export declare const VARIANTS: {
|
|
18
|
-
CONTROL_VARIANT: string;
|
|
19
|
-
VARIANT_B: string;
|
|
20
|
-
VARIANT_C: string;
|
|
21
|
-
VARIANT_D: string;
|
|
22
|
-
VARIANT_E: string;
|
|
23
|
-
VARIANT_F: string;
|
|
24
|
-
VARIANT_G: string;
|
|
25
|
-
VARIANT_H: string;
|
|
26
|
-
VARIANT_I: string;
|
|
27
|
-
VARIANT_J: string;
|
|
28
|
-
VARIANT_K: string;
|
|
29
|
-
VARIANT_L: string;
|
|
30
|
-
VARIANT_M: string;
|
|
31
|
-
VARIANT_N: string;
|
|
32
|
-
VARIANT_P: string;
|
|
33
|
-
VARIANT_Q: string;
|
|
34
|
-
VARIANT_R: string;
|
|
35
|
-
VARIANT_S: string;
|
|
36
|
-
VARIANT_T: string;
|
|
37
|
-
VARIANT_W: string;
|
|
38
|
-
VARIANT_X: string;
|
|
39
|
-
VARIANT_V: string;
|
|
40
|
-
VARIANT_U: string;
|
|
41
|
-
VARIANT_Y: string;
|
|
42
|
-
VARIANT_Z: string;
|
|
43
|
-
VARIANT_AA: string;
|
|
44
|
-
VARIANT_AB: string;
|
|
45
|
-
VARIANT_AC: string;
|
|
46
|
-
VARIANT_AD: string;
|
|
47
|
-
VARIANT_AE: string;
|
|
48
|
-
VARIANT_AF: string;
|
|
49
|
-
VARIANT_AG: string;
|
|
50
|
-
VARIANT_AH: string;
|
|
51
|
-
VARIANT_AI: string;
|
|
52
|
-
VARIANT_AJ: string;
|
|
53
|
-
VARIANT_AK: string;
|
|
54
|
-
VARIANT_AL: string;
|
|
55
|
-
VARIANT_AM: string;
|
|
56
|
-
VARIANT_AN: string;
|
|
57
|
-
VARIANT_AO: string;
|
|
58
|
-
VARIANT_AP: string;
|
|
59
|
-
VARIANT_AQ: string;
|
|
60
|
-
VARIANT_AR: string;
|
|
61
|
-
};
|
|
62
|
-
export declare const REMOVED_EXPERIMENTS: string[];
|
|
63
|
-
export declare const AB_IDENTIFIER_KEY = "__ab_experiment__";
|
|
64
|
-
export declare const LAST_LANDING_PAGE_COOKIE = "last_landing_page";
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LAST_LANDING_PAGE_COOKIE = exports.AB_IDENTIFIER_KEY = exports.REMOVED_EXPERIMENTS = exports.VARIANTS = exports.EXPERIMENT_KEYS = void 0;
|
|
4
|
-
exports.EXPERIMENT_KEYS = {
|
|
5
|
-
ECNA: 'ecnaV4',
|
|
6
|
-
DOWNLOAD_JOURNEY: 'downloadJourney',
|
|
7
|
-
ECNA_EXPERIMENTS_WITH_NO_INTRO: 'ecnaNoIntro',
|
|
8
|
-
ECNA_ADVANCED_COURSE: 'ecnaAdvancedCourse',
|
|
9
|
-
SHOW_CHAT_BOT: 'showChatBot',
|
|
10
|
-
WEBSITE_REVAMP: 'websiteRevamp',
|
|
11
|
-
SUBJECT_FOLD: 'subjectFold',
|
|
12
|
-
PRODUCT_LED_ADMISSIONS: 'productLedAdmissions',
|
|
13
|
-
PRICING_PAGE: 'pricingPage',
|
|
14
|
-
NAVBAR_MENU_REVAMP: 'navbarMenuRevamp',
|
|
15
|
-
SIGNUP_FLOW_EXPERIMENT: 'signUpFlowExperiment',
|
|
16
|
-
OUR_REVIEWS_PAGE: 'ourReviewsPage',
|
|
17
|
-
MATH_TUITION_INDIA_REVAMP: 'mathTuitionIndiaRevamp',
|
|
18
|
-
TUTOR_HIRING_EXPERIMENT: 'tutorHiringExperiment',
|
|
19
|
-
};
|
|
20
|
-
exports.VARIANTS = {
|
|
21
|
-
CONTROL_VARIANT: 'a',
|
|
22
|
-
VARIANT_B: 'b',
|
|
23
|
-
VARIANT_C: 'c',
|
|
24
|
-
VARIANT_D: 'd',
|
|
25
|
-
VARIANT_E: 'e',
|
|
26
|
-
VARIANT_F: 'f',
|
|
27
|
-
VARIANT_G: 'g',
|
|
28
|
-
VARIANT_H: 'h',
|
|
29
|
-
VARIANT_I: 'i',
|
|
30
|
-
VARIANT_J: 'j',
|
|
31
|
-
VARIANT_K: 'k',
|
|
32
|
-
VARIANT_L: 'l',
|
|
33
|
-
VARIANT_M: 'm',
|
|
34
|
-
VARIANT_N: 'n',
|
|
35
|
-
VARIANT_P: 'p',
|
|
36
|
-
VARIANT_Q: 'q',
|
|
37
|
-
VARIANT_R: 'r',
|
|
38
|
-
VARIANT_S: 's',
|
|
39
|
-
VARIANT_T: 't',
|
|
40
|
-
VARIANT_W: 'w',
|
|
41
|
-
VARIANT_X: 'x',
|
|
42
|
-
VARIANT_V: 'v',
|
|
43
|
-
VARIANT_U: 'u',
|
|
44
|
-
VARIANT_Y: 'y',
|
|
45
|
-
VARIANT_Z: 'z',
|
|
46
|
-
VARIANT_AA: 'aa',
|
|
47
|
-
VARIANT_AB: 'ab',
|
|
48
|
-
VARIANT_AC: 'ac',
|
|
49
|
-
VARIANT_AD: 'ad',
|
|
50
|
-
VARIANT_AE: 'ae',
|
|
51
|
-
VARIANT_AF: 'af',
|
|
52
|
-
VARIANT_AG: 'ag',
|
|
53
|
-
VARIANT_AH: 'ah',
|
|
54
|
-
VARIANT_AI: 'ai',
|
|
55
|
-
VARIANT_AJ: 'aj',
|
|
56
|
-
VARIANT_AK: 'ak',
|
|
57
|
-
VARIANT_AL: 'al',
|
|
58
|
-
VARIANT_AM: 'am',
|
|
59
|
-
VARIANT_AN: 'an',
|
|
60
|
-
VARIANT_AO: 'ao',
|
|
61
|
-
VARIANT_AP: 'ap',
|
|
62
|
-
VARIANT_AQ: 'aq',
|
|
63
|
-
VARIANT_AR: 'ar', // Middle East Direct Admissions
|
|
64
|
-
};
|
|
65
|
-
exports.REMOVED_EXPERIMENTS = ['cuemathPlusV2'];
|
|
66
|
-
exports.AB_IDENTIFIER_KEY = '__ab_experiment__';
|
|
67
|
-
exports.LAST_LANDING_PAGE_COOKIE = 'last_landing_page';
|
|
68
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ab-experiment/constants/index.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,QAAQ;IACd,gBAAgB,EAAE,iBAAiB;IACnC,8BAA8B,EAAE,aAAa;IAC7C,oBAAoB,EAAE,oBAAoB;IAC1C,aAAa,EAAE,aAAa;IAC5B,cAAc,EAAE,eAAe;IAC/B,YAAY,EAAE,aAAa;IAC3B,sBAAsB,EAAE,sBAAsB;IAC9C,YAAY,EAAE,aAAa;IAC3B,kBAAkB,EAAE,kBAAkB;IACtC,sBAAsB,EAAE,sBAAsB;IAC9C,gBAAgB,EAAE,gBAAgB;IAClC,yBAAyB,EAAE,wBAAwB;IACnD,uBAAuB,EAAE,uBAAuB;CACjD,CAAC;AAEW,QAAA,QAAQ,GAAG;IACtB,eAAe,EAAE,GAAG;IACpB,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,SAAS,EAAE,GAAG;IACd,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI,EAAE,gCAAgC;CACnD,CAAC;AAEW,QAAA,mBAAmB,GAAG,CAAC,eAAe,CAAC,CAAC;AAExC,QAAA,iBAAiB,GAAG,mBAAmB,CAAC;AACxC,QAAA,wBAAwB,GAAG,mBAAmB,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LAST_LANDING_PAGE_COOKIE = exports.AB_IDENTIFIER_KEY = exports.VARIANTS = exports.EXPERIMENT_KEYS = exports.resetAllABExperiments = exports.resetABExperiment = exports.setABExperiment = exports.getABExperimentCacheKey = exports.getABVariant = void 0;
|
|
4
|
-
var ab_variant_1 = require("./utils/ab-variant");
|
|
5
|
-
Object.defineProperty(exports, "getABVariant", { enumerable: true, get: function () { return ab_variant_1.getABVariant; } });
|
|
6
|
-
Object.defineProperty(exports, "getABExperimentCacheKey", { enumerable: true, get: function () { return ab_variant_1.getABExperimentCacheKey; } });
|
|
7
|
-
Object.defineProperty(exports, "setABExperiment", { enumerable: true, get: function () { return ab_variant_1.setABExperiment; } });
|
|
8
|
-
Object.defineProperty(exports, "resetABExperiment", { enumerable: true, get: function () { return ab_variant_1.resetABExperiment; } });
|
|
9
|
-
Object.defineProperty(exports, "resetAllABExperiments", { enumerable: true, get: function () { return ab_variant_1.resetAllABExperiments; } });
|
|
10
|
-
var constants_1 = require("./constants");
|
|
11
|
-
Object.defineProperty(exports, "EXPERIMENT_KEYS", { enumerable: true, get: function () { return constants_1.EXPERIMENT_KEYS; } });
|
|
12
|
-
Object.defineProperty(exports, "VARIANTS", { enumerable: true, get: function () { return constants_1.VARIANTS; } });
|
|
13
|
-
Object.defineProperty(exports, "AB_IDENTIFIER_KEY", { enumerable: true, get: function () { return constants_1.AB_IDENTIFIER_KEY; } });
|
|
14
|
-
Object.defineProperty(exports, "LAST_LANDING_PAGE_COOKIE", { enumerable: true, get: function () { return constants_1.LAST_LANDING_PAGE_COOKIE; } });
|
|
15
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ab-experiment/index.ts"],"names":[],"mappings":";;;AAAA,iDAM4B;AAL1B,0GAAA,YAAY,OAAA;AACZ,qHAAA,uBAAuB,OAAA;AACvB,6GAAA,eAAe,OAAA;AACf,+GAAA,iBAAiB,OAAA;AACjB,mHAAA,qBAAqB,OAAA;AAEvB,yCAKqB;AAJnB,4GAAA,eAAe,OAAA;AACf,qGAAA,QAAQ,OAAA;AACR,8GAAA,iBAAiB,OAAA;AACjB,qHAAA,wBAAwB,OAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
type LastLandingPageProps = {
|
|
2
|
-
value: string;
|
|
3
|
-
createdAt: string;
|
|
4
|
-
};
|
|
5
|
-
export declare const getABVariant: (url: string, countryCode: string, currentABVariant: Record<string, string>, lastLandingPageCookies: LastLandingPageProps, debugABCookieName: string, sourceCookies?: string) => {
|
|
6
|
-
isABExperimentsUpdated: boolean;
|
|
7
|
-
abExperiment: Record<string, string>;
|
|
8
|
-
};
|
|
9
|
-
export declare const setABExperiment: (debugABCookieName: string, experimentName: string, variant: string, timeInDays?: number) => void;
|
|
10
|
-
export declare const resetABExperiment: (debugABCookieName: string, experimentName: string) => void;
|
|
11
|
-
export declare const resetAllABExperiments: (debugABCookieName: string) => void;
|
|
12
|
-
export declare const getABExperimentCacheKey: (abExperimentObj: Record<string, string>) => string;
|
|
13
|
-
export {};
|