PageSourceSearch

https://zop.dev/_astro/ClientRouter.astro_astro_type_script_index_0_lang.BfWw3Bhu.js

js zop.dev collected 2026-10-03 19:46:49 UTC 1,665 bytes, 1 lines download raw bytes

1import{s as p,n as m}from"./router.BbErJDeQ.js";import{i as b}from"./index.eKuBSwpZ.js";let i=null;function E(){const t=document.querySelector('[name="astro-view-transitions-fallback"]');return t?t.getAttribute("content"):"animate"}function u(t){return t.dataset.astroReload!==void 0}const A=t=>t.button&&t.button!==0||t.metaKey||t.ctrlKey||t.altKey||t.shiftKey;(p||E()!=="none")&&(document.addEventListener("click",t=>{let e=t.target;if(i=A(t)?e:null,t.composed&&(e=t.composedPath()[0]),e instanceof Element&&(e=e.closest("a, area")),!(e instanceof HTMLAnchorElement)&&!(e instanceof SVGAElement)&&!(e instanceof HTMLAreaElement))return;const o=e instanceof HTMLElement?e.target:e.target.baseVal,a=e instanceof HTMLElement?e.href:e.href.baseVal,n=new URL(a,location.href).origin;u(e)||e.hasAttribute("download")||!e.href||o&&o!=="_self"||n!==location.origin||i||t.defaultPrevented||(t.preventDefault(),m(a,{history:e.dataset.astroHistory==="replace"?"replace":"auto",sourceElement:e}))}),document.addEventListener("submit",t=>{let e=t.target;const o=t.submitter,a=o&&o===i;if(i=null,e.tagName!=="FORM"||t.defaultPrevented||u(e)||a)return;const n=e,s=new FormData(n,o),d=typeof n.action=="string"?n.action:n.getAttribute("action"),g=typeof n.method=="string"?n.method:n.getAttribute("method");let r=o?.getAttribute("formaction")??d??location.pathname;const l=o?.getAttribute("formmethod")??g??"get";if(l==="dialog"||location.origin!==new URL(r,location.href).origin)return;const c={sourceElement:o??n};if(l==="get"){const h=new URLSearchParams(s),f=new URL(r);f.search=h.toString(),r=f.toString()}else c.formData=s;t.preventDefault(),m(r,c)}),b({prefetchAll:!0}));

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.