PageSourceSearch

https://tilopay.com/assets/preload-helper-BDnq8Q-o.js

js tilopay.com collected 2026-09-24 08:39:58 UTC 5,028 bytes, 1 lines download raw bytes

1import{i as e,t}from"./jsx-runtime-DUAcabCT.js";import{A as n,S as r,V as i,l as a,m as o,q as s,t as c,v as l,x as u}from"./link-B2knkdfk.js";import{n as d,t as f}from"./useParams-D4FRVpyG.js";import{g as p}from"./tilopay-tpc9_OZ6.js";var m=`__root__`,h=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=e=>{this.originalIndex=e.originalIndex;let t=this.options,i=!t?.path&&!t?.id;this.parentRoute=this.options.getParentRoute?.(),i?this._path=m:this.parentRoute||n();let a=i?m:t?.path;a&&a!==`/`&&(a=u(a));let o=t?.id||a,s=i?m:l([this.parentRoute.id===`__root__`?``:this.parentRoute.id,o]);a===`__root__`&&(a=`/`),s!==`__root__`&&(s=l([`/`,s]));let c=s===`__root__`?`/`:l([this.parentRoute.fullPath,a]);this._path=a,this._id=s,this._fullPath=c,this._to=r(c)},this.addChildren=e=>this._addFileChildren(e),this._addFileChildren=e=>(Array.isArray(e)&&(this.children=e),typeof e==`object`&&e&&(this.children=Object.values(e)),this),this._addFileTypes=()=>this,this.updateLoader=e=>(Object.assign(this.options,e),this),this.update=e=>(Object.assign(this.options,e),this),this.lazy=e=>(this.lazyFn=e,this),this.redirect=e=>o({from:this.fullPath,...e}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw Error(`Route cannot have both an 'id' and a 'path' option.`)}},g=class extends h{constructor(e){super(e)}};function _(e){return d({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function v(e){let{select:t,...n}=e;return d({...n,select:e=>t?t(e.loaderDeps):e.loaderDeps})}function y(e){return d({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function b(e){return d({...e,select:t=>e.select?e.select(t.context):t.context})}var x=e(s(),1),S=t(),C=class extends h{constructor(e){super(e),this.useMatch=e=>d({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>b({...e,from:this.id}),this.useSearch=e=>y({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>f({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>v({...e,from:this.id}),this.useLoaderData=e=>_({...e,from:this.id}),this.useNavigate=()=>p({from:this.fullPath}),this.Link=x.forwardRef((e,t)=>(0,S.jsx)(c,{ref:t,from:this.fullPath,...e}))}};function w(e){return new C(e)}function T(){return e=>D(e)}var E=class extends g{constructor(e){super(e),this.useMatch=e=>d({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>b({...e,from:this.id}),this.useSearch=e=>y({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>f({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>v({...e,from:this.id}),this.useLoaderData=e=>_({...e,from:this.id}),this.useNavigate=()=>p({from:this.fullPath}),this.Link=x.forwardRef((e,t)=>(0,S.jsx)(c,{ref:t,from:this.fullPath,...e}))}};function D(e){return new E(e)}function O(e){return new k(e,{silent:!0}).createRoute}var k=class{constructor(e,t){this.path=e,this.createRoute=e=>{let t=w(e);return t.isRoot=!1,t},this.silent=t?.silent}};function A(e,t){let n,r,o,s,c=()=>(n||=e().then(e=>{n=void 0,r=e[t??`default`]}).catch(e=>{if(o=e,i(o)&&o instanceof Error&&typeof window<`u`&&typeof sessionStorage<`u`){let e=`tanstack_router_reload:${o.message}`;sessionStorage.getItem(e)||(sessionStorage.setItem(e,`1`),s=!0)}}),n),l=function(e){if(s)throw window.location.reload(),new Promise(()=>{});if(o)throw o;if(!r)if(a)a(c());else throw c();return x.createElement(r,e)};return l.preload=c,l}var j=`modulepreload`,M=function(e){return`/`+e},N={},P=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=M(t,n),t=s(t),t in N)return;N[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:j,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n
vendor: 385 bytes, line 1
1)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};export{m as a,T as i,A as n,O as r,P as t};

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.