1import{am as c}from"./CT94Y2Xm.js";const _=()=>({sendLoginEvent:(e,n)=>{c("login",{user:{SigninStatus:e,memberID:n,language:"Japanese"}})},sendViewItemListEvent:e=>{!e||e.length===0||(c("clear_ecommerce",{ecommerce:null}),c("view_item_list",{ecommerce:{items:e}}))},sendViewItemEvent:e=>{c("clear_ecommerce",{ecommerce:null}),c("view_item",{ecommerce:{items:e}})},sendSelectItemEvent:e=>{c("clear_ecommerce",{ecommerce:null}),c("select_item",{ecommerce:{items:e}})},sendAddToCartEvent:e=>{const n=e.reduce((t,r)=>t+parseFloat(r.price)*r.quantity,0);c("clear_ecommerce",{ecommerce:null}),c("add_to_cart",{ecommerce:{currency:"JPY",value:n,items:e}})},sendPurchaseEvent:(e,n,t)=>{const r=t.reduce((o,a)=>o+parseFloat(a.price)*a.quantity,0);c("clear_ecommerce",{ecommerce:null}),c("purchase",{ecommerce:{transaction_id:e,affiliation:"MOVIE WALKER STORE",currency:"JPY",value:r,shipping:n,items:t}})},sendBeginCheckoutEvent:(e,n)=>{const t=e.reduce((r,o)=>r+parseFloat(o.price)*o.quantity,0);c("clear_ecommerce",{ecommerce:null}),c("begin_checkout",{ecommerce:{currency:"JPY",value:t,...n&&{coupon:n},items:e}})}});export{_ 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.