PageSourceSearch

https://cdn4.schoolism.com/build/assets/Success-CjpQNY5S.js

js schoolism.com collected 2026-09-25 21:31:12 UTC 2,797 bytes, 1 lines download raw bytes

1import{Q as r,l as p,m as u,c as m,o as _,w as d,a as t,t as n,N as l}from"./app-DDSQZi8b.js";import{A as v}from"./AppLayout-DshIP2pm.js";import"./ApplicationMark-yyuu9Yf4.js";/* empty css                                                                        */import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./SaleBanner-B6JFvOJG.js";import"./Banner-C8OtZYy7.js";import"./Footer-CX0OMs6l.js";/* empty css                                                                         *//* empty css                                                                  */const y={class:"flex flex-col items-center text-center mt-10"},k={__name:"Success",props:{successMessage:{type:String,required:!0},invoiceId:{type:String,required:!1}},setup(s){const e=r(),c=()=>{l.visit("/dashboard")},a=()=>{fbq("track","Purchase",{content_ids:[e.props.invoice.plan_id],transaction_id:e.props.invoiceId,value:e.props.invoice.total,tax:e.props.invoice.taxValue??0,currency:"USD",contents:[{id:e.props.invoice.product_id,content_name:e.props.invoice.product_name,content_type:e.props.invoice.plan_slug,quantity:e.props.invoice.quantity,item_price:e.props.invoice.invoiceLevelDiscount?(e.props.invoice.unit_price-e.props.invoice.invoiceLevelDiscount).toFixed(2):e.props.invoice.unit_price}],wallet_amount_used:e.props.walletAmountUsed/100,course_id:0,course_code:"",instructor_name:""}),window.dataLayer=window.dataLayer||[],window.dataLayer.push({ecommerce:null});const i={event:"purchase",ecommerce:{transaction_id:e.props.invoiceId,value:e.props.invoice.total,tax:e.props.invoice.taxValue??0,shipping:0,currency:"USD",coupon:e.props.coupon,items:[{item_id:e.props.invoice.product_id,item_name:e.props.invoice.product_name,index:0,item_brand:"Schoolism",item_category:"",item_category2:"",item_variant:e.props.invoice.plan_slug,item_list_name:"",price:e.props.invoice.invoiceLevelDiscount?(e.props.invoice.unit_price-e.props.invoice.invoiceLevelDiscount).toFixed(2):e.props.invoice.unit_price,quantity:e.props.invoice.quantity,coupon:e.props.coupon,course_id:0,course_code:"",instructor_name:"",wallet_amount_used:e.props.walletAmountUsed},{item_id:"Schoolism Wallet - "+gaContents.map(o=>o.item_id).join(", "),item_name:"Schoolism Wallet - "+gaContents.map(o=>o.item_name).join(", "),index:1,item_brand:"Schoolism",item_category:"",item_category2:"",item_variant:"",item_list_name:"",price:0,quantity:1,coupon:"",course_id:0,course_code:"",instructor_name:"",wallet_amount_used:e.props.walletAmountUsed}]}};window.dataLayer.push(i)};return p(()=>{u(()=>{setTimeout(()=>{a()},500)})}),(i,o)=>(_(),m(v,{title:"Success"},{default:d(()=>[t("div",y,[t("h1",null,n(s.successMessage),1),t("button",{type:"submit",onClick:c,class:"btn btn-primary mt-4"},n(i.$t("Go to Dashboard")),1)])]),_:1}))}};export{k as default};

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.