PageSourceSearch

https://casinosanalyzer.ca/build/midori/assets/js/auth/amplitude/authAmplitude.min.js?v=5801963

js casinosanalyzer.ca collected 2026-09-25 23:52:03 UTC 13,526 bytes, 1 lines download raw bytes

1import{buildExternalId,utmParams,eventID as authEventID}from"globals";const getEventRouteInfo=()=>{const e=document.body.dataset.routeBonus,t=authEventID.findIndex(t=>t===e),a=t>-1?t+1:authEventID.length,n=t>-1?authEventID[t]:authEventID[authEventID.length-1];return{ROUTE:e,ROUTE__EXIST:t,EVENT__ID:a,EVENT__CAT:n}},{EVENT__CAT:EVENT__CAT}=getEventRouteInfo(),setAnalyticsUserId=e=>{"undefined"!=typeof amplitude&&amplitude.setUserId?amplitude.setUserId(e?.toString()??null):window.location.hostname.includes("casinosanalyzer.co.uk")&&"undefined"!=typeof zaraz&&"function"==typeof zaraz.track&&null!==e&&zaraz.set("user_id",e.toString().length<=4?`000${e}`:e)},registrationNewUserAmplitude=(e,t)=>{"undefined"!=typeof dataLayer&&dataLayer&&(setAnalyticsUserId(e),dataLayer.push(Object.assign({event_id:`${JSON.stringify(e)}_${(new Date).getDate()}_registration`,event:"addEvents_registration",event_cat:"w_website",event_name:"new_user",page_current_path:JSON.stringify(document.location.pathname),page_url:JSON.stringify(document.location.href),page_url_full:JSON.stringify(document.location.href),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(document.body.dataset.routeId),registration_via:JSON.stringify(t),reg_placement:JSON.stringify(storage.getRegPlacement()),user_id:JSON.stringify(e),website_domain:JSON.stringify(document.location.hostname)},utmParams())))},loginExistingUserAmplitude=e=>{"undefined"!=typeof dataLayer&&dataLayer&&(setAnalyticsUserId(e),dataLayer.push(Object.assign({event_id:`${JSON.stringify(e)}_${(new Date).getDate()}_login`,event:"addEvents_login",event_cat:"w_website",event_name:"existing_user",page_current_path:JSON.stringify(document.location.pathname),page_url:JSON.stringify(document.location.href),page_url_full:JSON.stringify(document.location.href),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(document.body.dataset.routeId),user_id:JSON.stringify(e)},utmParams())))},showBlockSignUpPopupAmplitude=()=>{"undefined"!=typeof dataLayer&&dataLayer&&dataLayer.push(Object.assign({event:"addEvents_showBlock",event_cat:"w_website_regtypes",event_name:"signup_popup",page_current_path:JSON.stringify(document.location.pathname),page_url:JSON.stringify(document.location.href),page_url_full:JSON.stringify(document.location.href),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(document.body.dataset.routeId),registration_via:JSON.stringify(storage.getRegistrationViaAmplitude()??"reg"),website_domain:JSON.stringify(document.location.hostname),reg_placement:JSON.stringify(storage.getRegPlacement()??"")},utmParams()))},showBlockSignUpPopupMailAmplitude=()=>{"undefined"!=typeof dataLayer&&dataLayer&&dataLayer.push(Object.assign({event:"addEvents_showBlock",event_cat:"w_website_email",event_name:"signup_popup",page_url:JSON.stringify(document.location.href),page_current_path:JSON.stringify(document.location.pathname),page_url_full:JSON.stringify(document.location.href),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(document.body.dataset.routeId),website_domain:JSON.stringify(document.location.hostname)},utmParams()))},showBlockLoginPopupPasswordAmplitude=()=>{"undefined"!=typeof dataLayer&&dataLayer&&dataLayer.push(Object.assign({event:"addEvents_showBlock",event_cat:"w_website_password",event_name:"login_popup",page_url:JSON.stringify(document.location.href),page_current_path:JSON.stringify(document.location.pathname),page_url_full:JSON.stringify(document.location.href),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(document.body.dataset.routeId),website_domain:JSON.stringify(document.location.hostname)},utmParams()))},showBlockSignUpPopupPasswordAmplitude=()=>{"undefined"!=typeof dataLayer&&dataLayer&&dataLayer.push(Object.assign({event:"addEvents_showBlock",event_cat:"w_website_password",event_name:"signup_popup",page_url:JSON.stringify(document.location.href),page_current_path:JSON.stringify(document.location.pathname),page_url_full:JSON.stringify(document.location.href),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(document.body.dataset.routeId),website_domain:JSON.stringify(document.location.hostname)}
1,utmParams()))},showBlockWheelBannerFeedOpenAmplitude=()=>{"undefined"!=typeof dataLayer&&dataLayer&&dataLayer.push(Object.assign({event:"addEvents_showBlock",event_cat:"w_website_wheel_banner_feed",event_name:"open",page_current_path:JSON.stringify(document.location.pathname),page_url:JSON.stringify(document.location.href),page_url_full:JSON.stringify(document.location.href),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(document.body.dataset.routeId),website_domain:JSON.stringify(document.location.hostname),reg_placement:JSON.stringify(storage.getRegPlacement()??"")},utmParams()))},clickWheelBannerSpinAmplitude=()=>{"undefined"!=typeof dataLayer&&dataLayer&&dataLayer.push(Object.assign({event:"addEvents_click",event_cat:"w_website_wheel_banner_feed",event_name:"spin",page_current_path:JSON.stringify(document.location.pathname),page_url:JSON.stringify(document.location.href),page_url_full:JSON.stringify(document.location.href),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(document.body.dataset.routeId),website_domain:JSON.stringify(document.location.hostname)},utmParams()))},clickWheelBannerGoogleSignUpAmplitude=()=>{"undefined"!=typeof dataLayer&&dataLayer&&dataLayer.push(Object.assign({event:"addEvents_click",event_cat:"w_website_wheel_banner_feed",event_name:"signupGoogle",page_current_path:JSON.stringify(document.location.pathname),page_url:JSON.stringify(document.location.href),page_url_full:JSON.stringify(document.location.href),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(document.body.dataset.routeId),website_domain:JSON.stringify(document.location.hostname)},utmParams()))},clickWheelBannerEmailSignUpAmplitude=()=>{"undefined"!=typeof dataLayer&&dataLayer&&dataLayer.push(Object.assign({event:"addEvents_click",event_cat:"w_website_wheel_banner_feed",event_name:"signupEmail",page_current_path:JSON.stringify(document.location.pathname),page_url:JSON.stringify(document.location.href),page_url_full:JSON.stringify(document.location.href),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(document.body.dataset.routeId),website_domain:JSON.stringify(document.location.hostname)},utmParams()))},clickAffLinkWheelBannerCasinoVisitAmplitude=async(e=null)=>{const t=await buildExternalId(e);"undefined"!=typeof dataLayer&&dataLayer&&dataLayer.push(Object.assign({event:"addEvents_clickAffLink",event_cat:"w_website_wheel_popup",event_name:"casino_visit",...t?{external_id:JSON.stringify(t)}:{},page_current_path:JSON.stringify(document.location.pathname),page_url:JSON.stringify(document.location.href),page_url_full:JSON.stringify(document.location.href),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(document.body.dataset.routeId),website_domain:JSON.stringify(document.location.hostname)},utmParams()))},clickGoUpSignUpPopupAmplitude=()=>{"undefined"!=typeof dataLayer&&dataLayer&&dataLayer.push(Object.assign({event:"addEvents_click",event_cat:"w_website_signup",event_name:"scrollup",page_current_path:JSON.stringify(document.location.pathname),page_url_full:JSON.stringify(document.location.href),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(document.body.dataset.routeId),website_domain:JSON.stringify(document.location.hostname)},utmParams()))},clickResetPasswordAmplitude=()=>{"undefined"!=typeof dataLayer&&dataLayer&&dataLayer.push(Object.assign({event:"addEvents_click",event_cat:"w_website_check_email",event_name:"reset_password",page_current_path:JSON.stringify(document.location.pathname),page_url_full:JSON.stringify(document.location.href),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(document.body.dataset.routeId),website_domain:JSON.stringify(document.location.hostname)},utmParams()))},showBlockEmailConfirmPopupAmplitude=()=>{"undefined"!=typeof dataLayer&&dataLayer&&dataLayer.push(Object.assign({event:"addEvents_showBlock",event_cat:"w_website_email_confirm",event_name:"signup_popup",page_current_path:JSON.stringify(document.location.pathname),page_url_full:JSON.stringify(document.location.href),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(document.body.dataset.routeId),website_domain:JSON.stringify(document.location.hostname)}
1,utmParams()))},clickSendEmailConfirmPopupAmplitude=()=>{"undefined"!=typeof dataLayer&&dataLayer&&dataLayer.push(Object.assign({event:"addEvents_click",event_cat:"w_website_check_email",event_name:"resend_confirm",page_current_path:JSON.stringify(document.location.pathname),page_url_full:JSON.stringify(document.location.href),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(document.body.dataset.routeId),website_domain:JSON.stringify(document.location.hostname)},utmParams()))},clickGoogleLoginAmplitude=()=>{"undefined"!=typeof dataLayer&&dataLayer&&dataLayer.push(Object.assign({event:"addEvents_click",event_cat:"w_website_google",event_name:"login",page_current_path:JSON.stringify(document.location.pathname),page_url_full:JSON.stringify(document.location.href),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(document.body.dataset.routeId),website_domain:JSON.stringify(document.location.hostname)},utmParams()))},clickGoogleSignupAmplitude=()=>{"undefined"!=typeof dataLayer&&dataLayer&&dataLayer.push(Object.assign({event:"addEvents_click",event_cat:"w_website_google",event_name:"signup",page_current_path:JSON.stringify(document.location.pathname),page_url_full:JSON.stringify(document.location.href),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(document.body.dataset.routeId),website_domain:JSON.stringify(document.location.hostname)},utmParams()))},clickEmailLoginAmplitude=()=>{"undefined"!=typeof dataLayer&&dataLayer&&dataLayer.push(Object.assign({event:"addEvents_click",event_cat:"w_website_email",event_name:"login",page_current_path:JSON.stringify(document.location.pathname),page_url_full:JSON.stringify(document.location.href),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(document.body.dataset.routeId),website_domain:JSON.stringify(document.location.hostname)},utmParams()))},clickEmailSignupAmplitude=()=>{"undefined"!=typeof dataLayer&&dataLayer&&dataLayer.push(Object.assign({event:"addEvents_click",event_cat:"w_website_email",event_name:"signup",page_current_path:JSON.stringify(document.location.pathname),page_url_full:JSON.stringify(document.location.href),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(document.body.dataset.routeId),website_domain:JSON.stringify(document.location.hostname)},utmParams()))},showBlockGoogleOneTapSignInAmplitude=()=>{"undefined"!=typeof dataLayer&&dataLayer&&dataLayer.push(Object.assign({event:"addEvents_showBlock",event_cat:"w_website_google_oneTap",event_name:"signIn",page_current_path:JSON.stringify(document.location.pathname),page_url:JSON.stringify(document.location.href),page_url_full:JSON.stringify(document.location.href),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(document.body.dataset.routeId),website_domain:JSON.stringify(document.location.hostname)},utmParams()))},loginGoogleOneTapExistingUserAmplitude=()=>{if("undefined"!=typeof dataLayer&&dataLayer){let e=document.body.dataset.userId??null;setAnalyticsUserId(e),dataLayer.push(Object.assign({event_id:`${JSON.stringify(e)}_${(new Date).getDate()}_login`,event:"addEvents_login",event_cat:"w_website_google_oneTap",event_name:"existing_user",page_current_path:JSON.stringify(document.location.pathname),page_url:JSON.stringify(document.location.href),page_url_full:JSON.stringify(document.location.href),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(document.body.dataset.routeId),user_id:JSON.stringify(e),website_domain:JSON.stringify(document.location.hostname)},utmParams()))}},registrationGoogleOneTapNewUserAmplitude=()=>{if("undefined"!=typeof dataLayer&&dataLayer){let e=(document.body.dataset.userId||storage.getAuthId())??null;setAnalyticsUserId(e),dataLayer.push(Object.assign({event:"addEvents_registration",event_id:`d-v1-e31-${(new Date).getDate()}`,event_cat:"w_website_google_oneTap",event_name:"new_user",page_current_path:JSON.stringify(document.location.pathname),page_url:JSON.stringify(document.location.href),page_url_full:JSON.stringify(document.location.href),page_group:JSON.stringify(EVENT__CAT),page_route_id:JSON.stringify(document.body.dataset.routeId),user_id:JSON.stringify(e),registration_via:JSON.stringify("one_tap"),website_domain:JSON.stringify(document.location.hostname)}
1,utmParams()))}};export{setAnalyticsUserId,registrationNewUserAmplitude,loginExistingUserAmplitude,clickEmailSignupAmplitude,clickGoUpSignUpPopupAmplitude,clickResetPasswordAmplitude,clickSendEmailConfirmPopupAmplitude,clickGoogleLoginAmplitude,clickGoogleSignupAmplitude,clickEmailLoginAmplitude,showBlockSignUpPopupAmplitude,showBlockLoginPopupPasswordAmplitude,showBlockEmailConfirmPopupAmplitude,showBlockSignUpPopupPasswordAmplitude,showBlockSignUpPopupMailAmplitude,showBlockGoogleOneTapSignInAmplitude,loginGoogleOneTapExistingUserAmplitude,showBlockWheelBannerFeedOpenAmplitude,clickWheelBannerSpinAmplitude,clickWheelBannerGoogleSignUpAmplitude,clickWheelBannerEmailSignUpAmplitude,clickAffLinkWheelBannerCasinoVisitAmplitude,registrationGoogleOneTapNewUserAmplitude};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.