PageSourceSearch

https://localazy.com/_nuxt/Bk4nIg-D.js

js localazy.com collected 2026-10-02 05:10:35 UTC 10,920 bytes, 3 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0f0eb-c358-7ab2-bb04-3cc1db28df54")}catch(e){}}();const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./D93aKTYH.js","./HclGiUj8.js"])))=>i.map(i=>d[i]);
2import{a as e,t}from"./B0Z9INg1.js";import{a as n,r}from"./BKkkh1t4.js";import{t as i}from"./Unf3NlgK.js";import{t as a}from"./HclGiUj8.js";import{t as o}from"./XZAA3qoG.js";function s(e){return{...e,enabled:e.enabled??!0}}var c=[`functional`,`product`,`marketing`,`advertising`],l=`rudderstack.userConsent`,u=()=>{if(typeof window>`u`)return{};let e={consentManagement:{enabled:!0,provider:`custom`}};try{let t=localStorage.getItem(l);if(!t)return{...e,preConsent:{enabled:!0,storage:{strategy:`session`},events:{delivery:`buffer`}}};let{allowed:n=[],denied:r=[]}=JSON.parse(t);return{consentManagement:{...e.consentManagement,allowedConsentIds:n,deniedConsentIds:r}}}catch(e){return console.error(`Invalid consent data in localStorage`,e),{}}},d=class{config;sdks=null;loadingPromise=null;pending=[];disabled=!1;constructor(e){this.config=s(e)}load(){return typeof window>`u`?Promise.resolve():this.loadingPromise?this.loadingPromise:this.config.enabled?(this.loadingPromise=this.doLoad(),this.loadingPromise):(this.disabled=!0,this.pending=[],Promise.resolve())}async doLoad(){let[e,t]=await Promise.all([a(()=>import(`./D93aKTYH.js`),__vite__mapDeps([0,1]),import.meta.url),a(()=>import(`./Bvw8jl4s.js`),[],import.meta.url)]),n=new e.RudderAnalytics,r={analytics:n,posthog:t.posthog},i={...u(),...this.config.rudderstack.loadOptions??{}};n.load(this.config.rudderstack.writeKey,this.config.rudderstack.dataPlaneUrl,i),n.ready(()=>{this.sdks=r,this.initIntegrations(r),this.drainPending()})}drainPending(){if(!this.sdks)return;let e=this.pending;this.pending=[];for(let t of e)t(this.sdks)}withSdks(e){this.disabled||(this.sdks?e(this.sdks):this.pending.push(e))}ready(e){this.withSdks(()=>e())}withPosthog(e){this.withSdks(({posthog:t})=>e(t))}get posthog(){return this.sdks?.posthog??null}get analytics(){return this.sdks?.analytics??null}identify(e,t,n){this.withSdks(({analytics:r,posthog:i})=>{let a=e=>i.get_property(e)??void 0,o=Object.fromEntries(Object.entries({$initial_utm_source:a(`$initial_utm_source`),$initial_utm_medium:a(`$initial_utm_medium`),$initial_utm_campaign:a(`$initial_utm_campaign`),$initial_utm_term:a(`$initial_utm_term`),$initial_utm_content:a(`$initial_utm_content`),$initial_gclid:a(`$initial_gclid`),$initial_referring_domain:a(`$initial_referring_domain`),$initial_referrer:a(`$initial_referrer`),$initial_landing_page:a(`$initial_landing_page`)}).filter(([,e])=>e!==void 0)),s={...o,...t},c=localStorage.getItem(`_pending_attribution`);if(c){try{s={...o,...JSON.parse(c),...t}}catch{}localStorage.removeItem(`_pending_attribution`)}localStorage.removeItem(`_pending_utm_raw`),r.identify(e,s,n)})}group(e,t){this.withSdks(({analytics:n})=>{n.group(e,{groupType:`segment_group`,...t})})}trackEvent(e,t){this.withSdks(({analytics:n})=>{n.track(e,this.addDefaultsToEvent(t,n))})}reset(){this.withSdks(({analytics:e})=>e.reset())}page(e,t){this.withSdks(({analytics:n})=>n.page(e,t))}consent(e,t){let n=[...c],r=new Set([...e,...t]),i=[...t,...n.filter(e=>!r.has(e))];this.storeConsent(e,i),this.withSdks(({analytics:t})=>{t.consent({consentManagement:{allowedConsentIds:e,deniedConsentIds:i},trackConsent:!0})})}storeConsent(e,t){let n={allowed:e,denied:t};typeof window<`u`&&localStorage.setItem(l,JSON.stringify(n))}getStoredConsent(){let e=localStorage.getItem(l);if(!e)return null;try{return JSON.parse(e)}catch(e){return console.error(`Failed to parse stored consent data:`,e),null}}addDefaultsToEvent(e,t){return{...e,userId:e.userId??t.getUserId()??null,$groups:{segment_group:e.orgId??t.getGroupId()??null}}}captureFirstTouchAttribution(e){if(typeof window>`u`)return;let t=`ph_first_touch_captured`;if(localStorage.getItem(t))return;let n=new URLSearchParams(window.location.search),r=this.extractUtmParameters(n);this.fillMissingUtmsFromCookies(r);let i=this.buildInitialAttribution(r);if(Object.keys(i).length>0){e.posthog.setPersonProperties(i);let n=e.analytics.getUserId();
2if(n)e.analytics.identify(n,i);else{localStorage.setItem(`_pending_attribution`,JSON.stringify(i));let e={};for(let[t,n]of Object.entries(r))n&&(e[t]=n);Object.keys(e).length>0&&localStorage.setItem(`_pending_utm_raw`,JSON.stringify(e))}localStorage.setItem(t,`true`)}}extractUtmParameters(e){return{utm_source:e.get(`utm_source`),utm_medium:e.get(`utm_medium`),utm_campaign:e.get(`utm_campaign`),utm_content:e.get(`utm_content`),utm_term:e.get(`utm_term`),gclid:e.get(`gclid`)}}fillMissingUtmsFromCookies(e){for(let[t,n]of Object.entries({utm_source:`.lInUtmSource`,utm_medium:`.lInUtmMedium`,utm_campaign:`.lInUtmCampaign`,utm_content:`.lInUtmContent`,utm_term:`.lInUtmTerm`,gclid:`.lInGclid`}))e[t]??=this.readCookie(n);let t=Object.keys(e).filter(t=>!e[t]);if(t.length===0)return;let n=this.readCookie(`.lUtm`);if(!n)return;let r=new URLSearchParams(n);for(let n of t)e[n]??=r.get(n)}readCookie(e){if(typeof document>`u`)return null;let t=e.replaceAll(/[.*+?^${}()|[\]\\]/g,String.raw`\$&`),n=RegExp(`(?:^|; )${t}=([^;]*)`).exec(document.cookie)?.[1];return n===void 0?null:decodeURIComponent(n)}buildInitialAttribution(e){let t={};if(e.utm_source&&(t.$initial_utm_source=e.utm_source),e.utm_medium&&(t.$initial_utm_medium=e.utm_medium),e.utm_campaign&&(t.$initial_utm_campaign=e.utm_campaign),e.utm_content&&(t.$initial_utm_content=e.utm_content),e.utm_term&&(t.$initial_utm_term=e.utm_term),e.gclid&&(t.$initial_gclid=e.gclid,t.$initial_gclid_captured_at=new Date().toISOString()),typeof document<`u`){t.$initial_referrer=document.referrer||`$direct`;try{let e=document.referrer;t.$initial_referring_domain=e?new URL(e).hostname:`$direct`}catch{t.$initial_referring_domain=`$direct`}}return t.$initial_landing_page=window.location.pathname,t.first_seen_at=new Date().toISOString(),t}initIntegrations(e){let{enabledIntegrations:t}=this.config;if(t?.posthog&&t.posthog!==`disabled`&&this.config.posthogConfig){let n=this.config.posthogConfig;n.key&&n.url&&(e.posthog.init(n.key,{api_host:n.url,ui_host:n.ui_host,capture_pageview:n.capture_pageview??!1,capture_pageleave:n.capture_pageleave??!1,autocapture:n.autocapture??!1,disable_session_recording:n.disable_session_recording??!0,capture_exceptions:n.capture_exceptions??!0,error_tracking:n.error_tracking??{captureExtensionExceptions:!1},...n,loaded:t=>{this.captureFirstTouchAttribution(e),n.loaded&&n.loaded(t)}}),this.config.appVersion&&e.posthog.register({$app_version:this.config.appVersion}),t.posthog===`debug`&&e.posthog.debug())}t?.stackadapt&&t.stackadapt!==`disabled`&&this.config.stackadaptConfig?.pixelId&&this.initStackAdapt(this.config.stackadaptConfig.pixelId)}initStackAdapt(e){if(typeof window>`u`||window.saq)return;let t=(...e)=>{t.callMethod?t.callMethod(...e):t.queue.push(e)};t.callMethod=null,t.push=t,t.loaded=!0,t.version=`1.0`,t.queue=[],window.saq=t,window._saq=t,o(`https://tags.srv.stackadapt.com/events.js`,{async:!0,appendTo:`beforeFirst`}).catch(e=>{console.error(`Failed to load StackAdapt script`,e)}),t(`ts`,e)}trackStackAdaptConversion(e){if(window?.saq){let t=this.config.stackadaptConfig?.pixelId;t&&window.saq(`conv`,t,e??1)}}},f=t((e=>{e.defaults={},e.set=function(t,n,r){var i=r||{},a=e.defaults,o=i.expires||a.expires,s=i.domain||a.domain,c=i.path===void 0?a.path===void 0?`/`:a.path:i.path,l=i.secure===void 0?a.secure:i.secure,u=i.httponly===void 0?a.httponly:i.httponly,d=i.samesite===void 0?a.samesite:i.samesite,f=o?new Date(typeof o==`number`?new Date().getTime()+o*864e5:o):0;document.cookie=t.replace(/[^+#$&^`|]/g,encodeURIComponent).replace(`(`,`%28`).replace(`)`,`%29`)+`=`+n.replace(/[^+#$&/:<-\[\]-}]/g,encodeURIComponent)+(f&&f.getTime()>=0?`;expires=`+f.toUTCString():``)+(s?`;domain=`+s:``)+(c?`;path=`+c:``)+(l?`;secure`:``)+(u?`;httponly`:``)+(d?`;samesite=`+d:``)},e.get=function(e){for(var t=document.cookie.split(`;`);t.length;){var n=t.pop(),r=n.indexOf(`=`);if(r=r<0?n.length:r,decodeURIComponent(n.slice(0,r).replace(/^\s+/,``))===e)return decodeURIComponent(n.slice(r+1))}return null},e.erase=function(t,n){e.set(t,``,{expires:-1,domain:n&&n.domain,path:n&&n.path,secure:0,httponly:0})},e.all=function(){for(var e={},t=document.cookie.split(`;`);t.length;){var n=t.pop(),r=n.indexOf(`=`);r=r<0?n.length:r;var i=decodeURIComponent(n.slice(0,r).replace(/^\s+/,``));e[i]=decodeURIComponent(n.slice(r+1))}return e}}));function p(e,t){if(!(typeof window>`u`)){if(typeof window.requestIdleCallback==`function`){window.requestIdleCallback(e,t);return}if(typeof window.requestAnimationFrame==`function`){window.requestAnimationFrame(()=>{setTimeout(e,1)});return}setTimeout(e,1)}}var m=e(f(),1);function h(){let e=i(`feature-flags`,()=>({}));function t(t){return e.value[t]??!1}function n(t,n){e.value[t]=n}return{variants:e,getFeatureVariant:t,setVariant:n}}function g(){return!!m.get(`.lAuth`)}var _=`disable-analytics-ref`,v=[`sticker-maker`],y;window.dataLayer||=[];function b(e){return{posthogUrl:e.public.posthogProxyUrl||e.public.posthogUrl||``,posthogUiHost:e.public.posthogProxyUrl?e.public.posthogUrl:void 0}}function x(){let e=n(),{posthogUrl:t,posthogUiHost:r}=b(e);return{appVersion:e.public.appVersion,rudderstack:{writeKey:e.public.rudderstackWriteKey,dataPlaneUrl:e.public.rudderstackDataplaneUrl,loadOptions:{configUrl:e.public.rudderstackConfigUrl,pluginsSDKBaseURL:e.public.rudderstackPluginsSdkBaseUrl}},requiresUserConsent:!0,enabledIntegrations:{posthog:e.public.posthogEnabled===`true`?`enabled`:`disabled`,stackadapt:e.public.stackadaptEnabled===`true`?`enabled`:`disabled`},posthogConfig:{key:e.public.posthogId,url:t,ui_host:r,autocapture:!0,capture_pageview:!0,capture_pageleave:!0,person_profiles:`identified_only`,disable_session_recording:!g(),capture_exceptions:e.public.enableAnalytics===`true`,error_tracking:{captureExtensionExceptions:!0}},stackadaptConfig:{pixelId:e.public.stackadaptPixelId||``}}}function S(e){return new d({...x(),enabled:e})}function C(){let e=n(),t=new URL(window.location.href),r=v.some(e=>t.pathname.split(`/`).includes(e)),i=m.get(_),a=e.public.enableAnalytics===`true`;return!i&&!r&&a}function w(e){e.withPosthog(e=>{e.onFeatureFlags(()=>{let{setVariant:t}=h(),n=e.getFeatureFlag(`pricing-card-experiment`);n!==void 0&&t(`pricing-card-experiment`,n)})})}function T(e){let t=S(e);return w(t),t}function E(e){p(()=>{e.load().catch(e=>
2{console.error(`Failed to load analytics SDK`,e)})},{timeout:4e3})}function D(){if(!(typeof window>`u`))return y||(y=T(C()),E(y),y)}function O(){return y??D()}var k=r(()=>{D()});export{c as a,f as i,O as n,g as r,k as t};
3//# chunkId=01a0f0eb-c358-7ab2-bb04-3cc1db28df54

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.