PageSourceSearch

https://a4cp.com/assets/preload-helper-DMd7BiyM.js

js a4cp.com collected 2026-10-04 16:34:40 UTC 5,237 bytes, 1 lines download raw bytes

1import{l as e,n as t,o as n,s as r,t as i}from"./useSelector-BnRwIYQX.js";import{F as a,J as o,O as s,P as c,Q as l,k as u}from"./QualificationFields-DS_PE4Qq.js";import{L as d,N as f,z as p}from"./LendingAreasMap-FGa5ipKN.js";import{n as m,r as h,t as g}from"./matchContext-D_rpjOYL.js";var _=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,this._branch=void 0;let t=this.options,n=!t?.path&&!t?.id;this.parentRoute=this.options.getParentRoute?.(),n?this._path=h:this.parentRoute||d();let r=n?h:t?.path;r&&r!==`/`&&(r=c(r));let i=t?.id||r,o=n?h:u((this.parentRoute.id===`__root__`?``:this.parentRoute.id)+`/`+(i??``));r===`__root__`&&(r=`/`);let s=o===`__root__`?`/`:r===void 0?this.parentRoute.fullPath:u(this.parentRoute.fullPath+`/`+r);this._path=r,this._id=o,this._fullPath=s,this._to=a(s)},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=>p({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.`)}},v=class extends _{constructor(e){super(e)}},y=e(r(),1),b=y.use,x=y.useLayoutEffect,S={};function C(e,t){let n=y.useRef();return r=>{let i=e?.select?e.select(r):r;return e?.structuralSharing??t.options.defaultStructuralSharing?n.current=l(n.current,i):i}}function w(e){let n=t(),r=y.useContext(e.from?g:m),a=e.from??r,o=n.stores.getMatchStore(a),s=C(e,n),c=i(o,e=>e?s(e):S);if(c!==S)return c;(e.shouldThrow??!0)&&d()}function T(e){return w({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function E(e){let{select:t,...n}=e;return w({...n,select:e=>t?t(e.loaderDeps):e.loaderDeps})}function D(e){return w({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{let n=e.strict===!1?t.params:t._strictParams;return e.select?e.select(n):n}})}function O(e){return w({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function k(e){return w({...e,select:t=>e.select?e.select(t.context):t.context})}var A=n(),j=class extends _{constructor(e){super(e),this.useMatch=e=>w({...e,from:this.id}),this.useRouteContext=e=>k({...e,from:this.id}),this.useSearch=e=>O({...e,from:this.id}),this.useParams=e=>D({...e,from:this.id}),this.useLoaderDeps=e=>E({...e,from:this.id}),this.useLoaderData=e=>T({...e,from:this.id}),this.useNavigate=()=>f({from:this.fullPath}),this.Link=y.forwardRef((e,t)=>(0,A.jsx)(s,{ref:t,from:this.fullPath,...e}))}};function M(e){return new j(e)}function N(){return e=>F(e)}var P=class extends v{constructor(e){super(e),this.useMatch=e=>w({...e,from:this.id}),this.useRouteContext=e=>k({...e,from:this.id}),this.useSearch=e=>O({...e,from:this.id}),this.useParams=e=>D({...e,from:this.id}),this.useLoaderDeps=e=>E({...e,from:this.id}),this.useLoaderData=e=>T({...e,from:this.id}),this.useNavigate=()=>f({from:this.fullPath}),this.Link=y.forwardRef((e,t)=>(0,A.jsx)(s,{ref:t,from:this.fullPath,...e}))}};function F(e){return new P(e)}function I(e){return e=>{let t=M(e);return t.isRoot=!1,t}}function L(e,t){let n,r,i,a=()=>(n||=(i=void 0,e().then(e=>{n=void 0,s.preload=void 0,r=e[t??`default`]}).catch(e=>{n=void 0,i=e})),n),s=function(e){if(i){if(o(i)&&typeof sessionStorage<`u`){let e=`tanstack_router_reload:${i.message}`;if(!sessionStorage.getItem(e))throw sessionStorage.setItem(e,`1`),window.location.reload(),new Promise(()=>{})}throw i}if(!r)if(b)b(a());else throw a();return y.createElement(r,e)};return s.preload=a,s}var R=`modulepreload`,z=function(e){return`/`+e},B={},V=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=z(t,n),t=s(t),t in B)return;B[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`:R,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: 399 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{C as a,N as i,L as n,b as o,I as r,x as s,V 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.