PageSourceSearch

https://wayfare.ai/_astro/page.BD0oYJl4.js

js wayfare.ai collected 2026-10-05 13:19:32 UTC 5,955 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_astro/lottie.aXDALlIb.js","_astro/_commonjsHelpers.Cpj98o6Y.js","_astro/lottie_light.B_UoZgEC.js"])))=>i.map(i=>d[i]);
2const M="modulepreload",N=function(t){return"/"+t},E={},b=function(e,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),a=s?.nonce||s?.getAttribute("nonce");o=Promise.allSettled(n.map(c=>{if(c=N(c),c in E)return;E[c]=!0;const f=c.endsWith(".css"),P=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${P}`))return;const u=document.createElement("link");if(u.rel=f?"stylesheet":M,f||(u.as="script"),u.crossOrigin="",u.href=c,a&&u.setAttribute("nonce",a),document.head.appendChild(u),f)return new Promise((_,I)=>{u.addEventListener("load",_),u.addEventListener("error",()=>I(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return e().catch(i)})},T=new Set,h=new WeakSet;let g=!0,A="viewport",L=!1;function U(t){L||(L=!0,g??=!1,A??="hover",D(),B(),R(),V())}function D(){for(const t of["touchstart","mousedown"])document.body.addEventListener(t,e=>{m(e.target,"tap")&&p(e.target.href,{ignoreSlowConnection:!0})},{passive:!0})}function B(){let t;document.body.addEventListener("focusin",r=>{m(r.target,"hover")&&e(r)},{passive:!0}),document.body.addEventListener("focusout",n,{passive:!0}),y(()=>{for(const r of document.getElementsByTagName("a"))h.has(r)||m(r,"hover")&&(h.add(r),r.addEventListener("mouseenter",e,{passive:!0}),r.addEventListener("mouseleave",n,{passive:!0}))});function e(r){const o=r.target.href;t&&clearTimeout(t),t=setTimeout(()=>{p(o)},80)}function n(){t&&(clearTimeout(t),t=0)}}function R(){let t;y(()=>{for(const e of document.getElementsByTagName("a"))h.has(e)||m(e,"viewport")&&(h.add(e),t??=j(),t.observe(e))})}function j(){const t=new WeakMap;return new IntersectionObserver((e,n)=>{for(const r of e){const o=r.target,i=t.get(o);r.isIntersecting?(i&&clearTimeout(i),t.set(o,setTimeout(()=>{n.unobserve(o),t.delete(o),p(o.href)},300))):i&&(clearTimeout(i),t.delete(o))}})}function V(){y(()=>{for(const t of document.getElementsByTagName("a"))m(t,"load")&&p(t.href)})}function p(t,e){t=t.replace(/#.*/,"");const n=e?.ignoreSlowConnection??!1;if(k(t,n))if(T.add(t),document.createElement("link").relList?.supports?.("prefetch")&&e?.with!=="fetch"){const r=document.createElement("link");r.rel="prefetch",r.setAttribute("href",t),document.head.append(r)}else fetch(t,{priority:"low"})}function k(t,e){if(!navigator.onLine||!e&&C())return!1;try{const n=new URL(t,location.href);return location.origin===n.origin&&(location.pathname!==n.pathname||location.search!==n.search)&&!T.has(t)}catch{}return!1}function m(t,e){if(t?.tagName!=="A")return!1;const n=t.dataset.astroPrefetch;return n==="false"?!1:e==="tap"&&(n!=null||g)&&C()?!0:n==null&&g||n===""?e===A:n===e}function C(){if("connection"in navigator){const t=navigator.connection;return t.saveData||/2g/.test(t.effectiveType)}return!1}function y(t){t();let e=!1;document.addEventListener("astro:page-load",()=>{if(!e){e=!0;return}t()})}const F={player:"light",loop:!0,autoplay:"visible",visibleThreshold:0};let d,v;const w=new Map,l=[];async function O(){const t=q();if(W({keepContainers:t.map(o=>o[0])}),t.length===0)return;const e=t.some(([,o])=>o.player==="full"),n=await $(e?"full":"light");if(!n)return;await H(t.map(([,o])=>o.src));for(const[o,i]of t){if(l.some(f=>f.container===o))continue;const s=i.id||`A${Math.random().toFixed(6).substring(2)}`,a=w.get(i.src);if(!a){console.debug("Skipped animation(%s) due to missing data",i.src);continue}const c=n.loadAnimation({container:o,loop:i.loop,autoplay:i.autoplay==="visible"?!1:i.autoplay,animationData:a,rendererSettings:{viewBoxOnly:!0}});l.push(Object.freeze({id:s,config:i,container:o,isLoaded:!!c,player:c}))}const r=l.filter(o=>o.isLoaded&&o.config.autoplay==="visible");if(r.length>0){const o=r.reduce((i,s)=>Math.max(0,Math.min(s.config.visibleThreshold||0,i)),1);v=new IntersectionObserver(i=>
2{i.forEach(s=>{const a=l.find(c=>c.container===s.target);a&&a.isLoaded&&(s.isIntersecting&&s.intersectionRatio>=o?a.player.play():a.player.pause())})},{threshold:o}),r.forEach(i=>{v.observe(i.container)})}document.dispatchEvent(new CustomEvent("astro-lottie-loaded",{detail:window.astroLottie}))}async function $(t){return d||await b(t==="full"?()=>import("./lottie.aXDALlIb.js").then(e=>e.l):()=>import("./lottie_light.B_UoZgEC.js").then(e=>e.l),__vite__mapDeps([2,1])).then(e=>(d=e.default,z(d),d)).catch(e=>{console.warn("Cannot load lottie-web script",e)})}function q(){return[...document.querySelectorAll("[data-lottie]")].map(t=>{try{const e={...F,...JSON.parse(t.getAttribute("data-lottie-data")||"")};return[t,e]}catch(e){console.warn("Cannot parse lottie animation data",t,e)}}).filter(Boolean)}function H(t){return Promise.all([...new Set(t)].filter(e=>!w.has(e)).map(async e=>{const n=await fetch(e).catch(()=>{});if(!n||n.status>=400){console.warn("Cannot load animation(%s)",e);return}const r=await n.json().catch(()=>{});if(!r){console.warn("Cannot load animation(%s)",e);return}w.set(e,r)}))}function W({keepContainers:t}){v?.disconnect();for(let e=0;e<l.length;e++){const n=l[e];t.includes(n.container)||(d.destroy(n.id),l.splice(e,1),e--)}}function z(t){window.lottie=t,window.astroLottie={getAllAnimations(){return l.slice()},getAnimation(e){if(typeof e=="string")return l.find(n=>n.id===e);if(typeof e=="object"){if("container"in e)return l.find(n=>n.container===e.container);if("elementId"in e)return l.find(n=>n.container.id===e.elementId)}throw new Error("Invalid LottieAnimation source: "+e)}}}setTimeout(O,0);let S=!0;document.addEventListener("astro:page-load",()=>{if(S){S=!1;return}O()});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.