1import{_ as d}from"./PPVm8Dsz.js";const s=250;function c(t){if(t instanceof Error)return t.message||t.name;if(typeof t=="object"&&t!==null){const e=t;for(const n of["message","description","reason","name","code"]){const r=e[n];if(typeof r=="string"&&r)return r}if(typeof e.type=="string"&&e.type)return`Non-error thrown: ${e.constructor?.name||"Object"} (${e.type})`;let o;try{o=JSON.stringify(t)??Object.prototype.toString.call(t)}catch{o=Object.prototype.toString.call(t)}return`Non-error thrown: ${o.slice(0,s)}`}return`Non-error thrown: ${String(t).slice(0,s)}`}function u(t){if(t instanceof Error)return t.stack;const e=t?.stack;return typeof e=="string"?e:new Error(c(t)).stack}function w(t={}){const{err:e,...o}=t,n={};e!=null&&(n.err=c(e),n.stack=u(e)),Object.assign(n,o);const r=e?.response;if(r){const a={code:r.code,statusCode:r.statusCode||t.statusCode};!n.rawError&&r.rawError&&(a.rawError=r.rawError),Object.assign(n,a)}return n}let i=!1;function p({userId:t="",jwToken:e="",profileId:o="",isKidsProfile:n}){if(!(typeof window>"u")&&!(typeof window.sa>"u")){if(!i){i=!0;const a={trackingId:"Stan-Web",trackingUrl:`${new URL("https://api.stan.com.au").origin}/features/v1`,method:"POST",extra:{appMaj:"990c89a"}};window.sa("create",a)}window.sa("set","userIdCallback",()=>t),window.sa("set","userTokenCallback",()=>e),window.sa("set","userProfileIdCallback",()=>o),n&&window.sa("set","extra",{isKids:n});try{d(()=>import("./CeFVHxH2.js"),[],import.meta.url).then(r=>new r.default().subscribe())}catch{}}}function l(t,e={}){if(typeof window.sa>"u")return!0;try{window.sa("send",t,e)}catch{}}function g(t){typeof window.dataLayer>"u"&&(window.dataLayer=[],console.error("GTM is not defined")),window.dataLayer.push(t)}function y(){return{url:document.location.href}}export{g as a,y as b,w as g,p as i,l as s};
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.