PageSourceSearch

https://medspablueprint.ai/assets/route-BMn__Yk4.js

js medspablueprint.ai collected 2026-10-05 14:31:20 UTC 3,785 bytes, 1 lines download raw bytes

1import{o as e}from"./chunk-CMxvf4Kt.js";import{t}from"./react-cS1o3OVs.js";import{n}from"./not-found-i5RsCZif.js";import{r}from"./redirect-DmtLUW0N.js";import{c as i,n as a,s as o,t as s}from"./link-B8zX2HDQ.js";import{t as c}from"./invariant-DEEwAagU.js";import{t as l}from"./root-DLTE-HSj.js";import{n as u}from"./useNavigate-CcbeBUZw.js";import{t as d}from"./jsx-runtime-sLPvdpSW.js";import{t as f}from"./useRouter-BiHDD-zA.js";import{t as p}from"./useMatch-CY6m9Len.js";import{t as m}from"./useParams-BkbFcPFb.js";import{t as h}from"./useSearch-NkSVrmFt.js";var g=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=l:this.parentRoute||c();let r=n?l:t?.path;r&&r!==`/`&&(r=o(r));let s=t?.id||r,u=n?l:a((this.parentRoute.id===`__root__`?``:this.parentRoute.id)+`/`+(s??``));r===`__root__`&&(r=`/`);let d=u===`__root__`?`/`:r===void 0?this.parentRoute.fullPath:a(this.parentRoute.fullPath+`/`+r);this._path=r,this._id=u,this._fullPath=d,this._to=i(d)},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=>r({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.`)}},_=class{constructor({id:e}){this.notFound=e=>n({routeId:this.id,...e}),this.redirect=e=>r({from:this.id,...e}),this.id=e}},v=class extends g{constructor(e){super(e)}};function y(e){return p({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function b(e){let{select:t,...n}=e;return p({...n,select:e=>t?t(e.loaderDeps):e.loaderDeps})}function x(e){return p({...e,select:t=>e.select?e.select(t.context):t.context})}var S=e(t(),1),C=d();function w(e){return new T({id:e})}var T=class extends _{constructor({id:e}){super({id:e}),this.useMatch=e=>p({...e,from:this.id}),this.useRouteContext=e=>x({...e,from:this.id}),this.useSearch=e=>h({...e,from:this.id}),this.useParams=e=>m({...e,from:this.id}),this.useLoaderDeps=e=>b({...e,from:this.id,strict:!1}),this.useLoaderData=e=>y({...e,from:this.id,strict:!1}),this.useNavigate=()=>u({from:f().routesById[this.id].fullPath}),this.notFound=e=>n({routeId:this.id,...e}),this.Link=S.forwardRef((e,t)=>{let n=f().routesById[this.id].fullPath;return(0,C.jsx)(s,{ref:t,from:n,...e})})}},E=class extends g{constructor(e){super(e),this.useMatch=e=>p({...e,from:this.id}),this.useRouteContext=e=>x({...e,from:this.id}),this.useSearch=e=>h({...e,from:this.id}),this.useParams=e=>m({...e,from:this.id}),this.useLoaderDeps=e=>b({...e,from:this.id}),this.useLoaderData=e=>y({...e,from:this.id}),this.useNavigate=()=>u({from:this.fullPath}),this.Link=S.forwardRef((e,t)=>(0,C.jsx)(s,{ref:t,from:this.fullPath,...e}))}};function D(e){return new E(e)}function O(){return e=>A(e)}var k=class extends v{constructor(e){super(e),this.useMatch=e=>p({...e,from:this.id}),this.useRouteContext=e=>x({...e,from:this.id}),this.useSearch=e=>h({...e,from:this.id}),this.useParams=e=>m({...e,from:this.id}),this.useLoaderDeps=e=>b({...e,from:this.id}),this.useLoaderData=e=>y({...e,from:this.id}),this.useNavigate=()=>u({from:this.fullPath}),this.Link=S.forwardRef((e,t)=>(0,C.jsx)(s,{ref:t,from:this.fullPath,...e}))}};function A(e){return new k(e)}export{D as n,w as r,O 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.