1import{m as a}from"./utils.acd6c42c.js";const m=()=>{const n=()=>/ColleizeFlutterApp/i.test(navigator.userAgent);return{sendConversionEvent:(e,t,s)=>{if(!n())return;const r=`cv_sent_${e}_${s||"default"}`;if(sessionStorage.getItem(r))return;const o={type:"CONVERSION_EVENT",event_name:e,data:t};window.parent.postMessage(o,"*"),sessionStorage.setItem(r,"true")},sendUserProperties:e=>{if(!n())return;const t=e.totalOrderCount??0;let s;t===0?s="F0":t===1?s="F1":t===2?s="F2":s="F3_plus";const r=e.memberType===a.PREMIUMMONTH||e.memberType===a.PREMIUMYEAR,o={command:"update_user_properties",data:{user_layer:s,total_order_count:t,member_type:r?"PREMIUM":"NORMAL",user_rank:e.userRank??"",user_id:String(e.id??"")}};window.parent.postMessage(o,"*")},sendClearUserProperties:()=>{if(!n())return;const e={command:"clear_user_properties",data:null};window.parent.postMessage(e,"*")}}};export{m as u};
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.