PageSourceSearch

https://kaiguys.com/assets/vue-gtag.e0e51c53.js

js kaiguys.com collected 2026-10-07 06:22:03 UTC 4,500 bytes, 1 lines download raw bytes

1import{n as e,b as n}from"./index.cfb008d7.js";const a=e=>"function"==typeof e,t=e=>e&&"object"==typeof e&&!Array.isArray(e),r=(e,...n)=>{if(!n.length)return e;const a=n.shift();if(t(e)&&t(a)){for(const n in a)t(a[n])?(e[n]||Object.assign(e,{[n]:{}}),r(e[n],a[n])):Object.assign(e,{[n]:a[n]});return r(e,...n)}},o=()=>!(typeof window>"u"||typeof document>"u"),c=(e,n=!0)=>{o()};function i(e="",n=""){const a=e.split("/"),t=n.split("/");return""===a[0]&&"/"===n[n.length-1]&&a.shift(),t.join("/")+a.join("/")}let l={};const s=()=>l,p=(...e)=>{const{globalObjectName:n}=s();!o()||typeof window[n]>"u"||window[n](...e)},d=(...e)=>{const{config:n,includes:a}=s();if(p("config",n.id,...e),Array.isArray(a))for(const t of a)p("config",t.id,...e)},u=(e,n)=>{o()&&(window[`ga-disable-${e}`]=n)},g=(e=!0)=>{const{config:n,includes:a}=s();if(u(n.id,e),Array.isArray(a))for(const t of a)u(t.id,e)},f=()=>{g(!0)},m=(e,n={})=>{const{includes:a,defaultGroupName:t}=s();null==n.send_to&&Array.isArray(a)&&a.length&&(n.send_to=a.map((e=>e.id)).concat(t)),p("event",e,n)};let w;const h=()=>w,b=e=>{if(!o())return;let n;if("string"==typeof e)n={page_path:e};else if(e.path||e.fullPath){const{pageTrackerUseFullPath:a,pageTrackerPrependBase:t}=s(),r=h(),o=null==r?void 0:r.options.base,c=a?e.fullPath:e.path;n={...e.name&&{page_title:e.name},page_path:t?i(c,o):c}}else n=e;null==n.page_location&&(n.page_location=window.location.href),null==n.send_page_view&&(n.send_page_view=!0),m("page_view",n)},y=e=>{const{appName:n}=s();if(!e)return;let a;a="string"==typeof e?{screen_name:e}:e,a.app_name=a.app_name||n,m("screen_view",a)},_=Object.freeze(Object.defineProperty({__proto__:null,config:d,customMap:e=>{d({custom_map:e})},event:m,exception:(...e)=>{m("exception",...e)},linker:e=>{d("linker",e)},optIn:()=>{g(!1)},optOut:f,pageview:b,purchase:e=>{m("purchase",e)},query:p,refund:(...e)=>{m("refund",...e)},screenview:y,set:(...e)=>{p("set",...e)},time:e=>{m("timing_complete",e)}},Symbol.toStringTag,{value:"Module"})),k=e=>({send_page_view:!1,...e}),T=()=>{const{config:e,includes:n}=s();if(p("config",e.id,k(e.params)),Array.isArray(n))for(const a of n)p("config",a.id,k(a.params))},v=(e={},n={})=>{const{appName:t,pageTrackerTemplate:r,pageTrackerScreenviewEnabled:o,pageTrackerSkipSamePath:i}=s();if(i&&e.path===n.path)return;let l=e;a(r)?l=r(e,n):o&&(l=((e={})=>(c(0,null==e.app_name),c(0,null==e.screen_name),e))({app_name:t,screen_name:e.name})),o?y(l):b(l)},j=e=>{const{pageTrackerExcludedRoutes:n}=s();return n.includes(e.path)||n.includes(e.name)},O=()=>{const{onReady:n,onError:t,globalObjectName:r,globalDataLayerName:c,config:i,customResourceURL:l,customPreconnectOrigin:p,deferScriptLoad:d,pageTrackerEnabled:u,disableScriptLoad:g}=s(),m=!(!u||!h());if((()=>{if(!o())return;const{enabled:e,globalObjectName:n,globalDataLayerName:a}=s();null==window[n]&&(window[a]=window[a]||[],window[n]=function(){window[a].push(arguments)}),window[n]("js",new Date),e||f(),window[n]})(),m?(()=>{const{onBeforeTrack:n,onAfterTrack:t}=s(),r=h();r.isReady().then((()=>{e().then((()=>{const{currentRoute:e}=r;T(),!j(e.value)&&v(e.value)})),r.afterEach(((r,o)=>{e().then((()=>{j(r)||(a(n)&&n(r,o),v(r,o),a(t)&&t(r,o))}))}))}))})():T(),!g)return((e,n={})=>new Promise(((a,t)=>{if(typeof document>"u")return;const r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("script");if(o.async=!0,o.src=e,o.defer=n.defer,n.preconnectOrigin){const e=document.createElement("link");e.href=n.preconnectOrigin,e.rel="preconnect",r.appendChild(e)}r.appendChild(o),o.onload=a,o.onerror=t})))(`${l}?id=${i.id}&l=${c}`,{preconnectOrigin:p,defer:d}).then((()=>{n&&n(window[r])})).catch((e=>(t&&t(e),e)))},A=(e,n,a)=>{(e=>{e.config.globalProperties.$gtag=_})(e),((e={})=>{l=r({bootstrap:!0,onReady:null,onError:null,onBeforeTrack:null,onAfterTrack:null,pageTrackerTemplate:null,customResourceURL:"https://www.googletagmanager.com/gtag/js",customPreconnectOrigin:"https://www.googletagmanager.com",deferScriptLoad:!1,pageTrackerExcludedRoutes:[],pageTrackerEnabled:!0,enabled:!0,disableScriptLoad:!1,pageTrackerScreenviewEnabled:!1,appName:null,pageTrackerUseFullPath:!1,pageTrackerPrependBase:!0,pageTrackerSkipSamePath:!0,globalDataLayerName:"dataLayer",globalObjectName:"gtag",defaultGroupName:"default",includes:null,config:{id:null,params:{send_page_view:!1}}},e)})(n),(e=>{w=e})(a),s().bootstrap&&O()};var N=n((async({app:e,router:n})=>{e.use(A,{config:{id:"AW-16854104273"}},n)}));export{N 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.