html/multibox/index_files/scevent.min.js.download

1 line
25 KiB
Plaintext
Raw Normal View History

2023-01-22 20:32:16 +00:00
!function(){"use strict";var e,n="snaptr",t="PAD_SERVER_URL",i="https://tr.snapchat.com",r="".concat(i,"/p"),o="".concat(i,"/cm/si"),a="".concat(i,"/cm/s"),c="".concat(i,"/log/error"),s="".concat(i,"/init"),d="__scpt__",u="".concat(i,"/cm/i"),l="1d53c387",f="_sctr",p="cmdone",m=34186698e3,h="_scid",g="u_sclid",_="u_scsid";!function(e){e[e.UNSET=0]="UNSET",e[e.JS_BRIDGE=1]="JS_BRIDGE",e[e.CLICK_ID=2]="CLICK_ID"}(e||(e={}));var v={age:"u_age",gender:"u_gd",firstname:"u_fn",lastname:"u_ln",device_brand:"d_br",device_model:"d_md",device_type:"d_type",os_type:"d_ot",os_version:"d_os",locale_country:"d_lc",locale_language:"d_ll",user_agent:"d_ua",limited_ad_tracking:"d_lat",connection_type:"c_type",isp:"c_isp",integration:"intg",mobile_carrier:"c_mc",ip_address:"c_ip",lat:"l_lat",long:"l_lng",geo_country:"l_gc",geo_region:"l_gr",geo_metro:"l_gm",geo_city:"l_city",geo_postal_code:"l_gpc",geo_location_source:"l_ls",geo_address:"l_addr",price:"e_pr",item_category:"e_ic",item_ids:"e_iids",currency:"e_cur",number_items:"e_ni",transaction_id:"e_tid",description:"e_desc",level:"e_lv",search_string:"e_ss",payment_info_available:"e_pia",sign_up_method:"e_sm",success:"e_su",event_tag:"et",brand_id:"br_id",data_use:"du",client_dedup_id:"cdid",client_deduplication_id:"cdid"},w=function(){var e=4022871197,n=function(n){n=n.toString();for(var t=0;t<n.length;t++){var i=.02519603282416938*(e+=n.charCodeAt(t));i-=e=i>>>0,e=(i*=e)>>>0,e+=4294967296*(i-=e)}return 2.3283064365386963e-10*(e>>>0)};return n.version="Mash 0.9",n},S=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return function(e){var n=0,t=0,i=0,r=1;0===e.length&&(e=[+new Date]);var o=w();n=o(" "),t=o(" "),i=o(" ");for(var a=0;a<e.length;a++)(n-=o(e[a]))<0&&(n+=1),(t-=o(e[a]))<0&&(t+=1),(i-=o(e[a]))<0&&(i+=1);o=null;var c=function(){var e=2091639*n+2.3283064365386963e-10*r;return n=t,t=i,i=e-(r=0|e)};return c.uint32=function(){return 4294967296*c()},c.fract53=function(){return c()+11102230246251565e-32*(2097152*c()|0)},c.version="Alea 0.9",c.args=e,c}(e)}(""+function e(n,t){var i=[];if(t&&"object"==typeof n&&(3===t||!n.location))for(var r in n)try{i.push(r,e(n[r],t-1))}catch(e){}return i.length?i:""+n}([(new Date).getTime(),navigator.userAgent,navigator.plugins,navigator.language,Math.random()],3));function y(e){var n,t=e?36:32,i="0123456789abcdef".split(""),r=[];e&&(r[8]=r[13]=r[18]=r[23]="-",r[14]="4");for(var o=0;o<t;o++)r[o]||(n=0|16*S.fract53(),r[o]=i[19===o?3&n|8:n]);return r.join("")}function b(){return function(){try{localStorage.getItem(g)||localStorage.setItem(g,y(1))}catch(e){}}(),function(){try{return localStorage.getItem(g)||""}catch(e){return""}}()}function I(){return function(){try{sessionStorage.getItem(_)||sessionStorage.setItem(_,y(1))}catch(e){}}(),function(){try{return sessionStorage.getItem(_)||""}catch(e){return""}}()}function k(e){return!!e&&/^[A-Fa-f0-9]{64}$/.test(e)}function E(e){return e&&36===e.length&&/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(e)}function L(){try{return window.self!==window.top}catch(e){return!0}}var A=!("addEventListener"in document);function N(e,n,t){t&&(A?e.attachEvent(n,t):e.addEventListener(n,t,!1))}function x(){if(L())try{return window.top.location.href}catch(e){try{return window.document.referrer}catch(e){return window.location.href}}return window.location.href}function C(){var e=document.createElement("iframe"),n=function(){var e=O();for(;null!=document.getElementById(e);)e=O();return e}();return e.id=n,e.name=n,e}function O(){return"snap"+Math.random().toString().replace(".","")}var T=function(){var e=x().match(/[&|\?]ScCid=([0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[1-5][0-9A-Fa-f]{3}-[89ab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12})(&|$)/);if(e)return e[1].toLowerCase()}();function D(n){if("object"==typeof n&&n){var t=I();!n.u_scsid&&t&&(n.u_scsid=t);var i=b();!n.u_sclid&&i&&(n.u_sclid=b()),n.s_r_id?n.s_r_ids=e.JS_BRIDGE:T?(n.s_r_id=T,n.s_r_ids=e.CLICK_ID):n.s_r_ids=e.UNSET}}var P,B=new(function(){function e(){}return e.prototype.sendForm=function(e,n,t,i,r){var o=C(),a=document.createEleme