1import{a as e,n as t,r,t as n}from"./jsx-runtime-lktM_FA4.js";import{A as o,B as i,F as s,G as a,R as c,d as l,h as f,i as u,l as h,n as d,r as p,s as y,t as g,u as m,v,z as S}from"./useStore-CuovG1-w.js";var _=r(e=>{var r=t();function n(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var i={d:{f:o,r:function(){throw Error(n(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},s=Symbol.for("react.portal"),a=Symbol.for("react.recoverable"),c=Symbol.for("react.optimistic_key");var l=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.browser=function(e){return{$$typeof:a,_reason:e}},e.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(n(299));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:s,key:null==n?null:n===c?c:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,r)},e.flushSync=function(e){var t=l.T,r=i.p;try{if(l.T=null,i.p=2,e)return e()}finally{l.T=t,i.p=r,i.d.f()}},e.preconnect=function(e,t){"string"==typeof e&&(t?t="string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:t=null,i.d.C(e,t))},e.prefetchDNS=function(e){"string"==typeof e&&i.d.D(e)},e.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var r=t.as,n=f(r,t.crossOrigin),o="string"==typeof t.integrity?t.integrity:void 0,s="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===r?i.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:n,integrity:o,fetchPriority:s}):"script"===r&&i.d.X(e,{crossOrigin:n,integrity:o,fetchPriority:s,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},e.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var r=f(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0})}}else t??i.d.M(e)},e.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var r=t.as,n=f(r,t.crossOrigin);i.d.L(e,r,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},e.preloadModule=function(e,t){if("string"==typeof e)if(t){var r=f(t.as,t.crossOrigin);i.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0})}else i.d.m(e)},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,r){return l.H.useFormState(e,t,r)},e.useFormStatus=function(){return l.H.useHostTransitionStatus()},e.version="19.3.0"}),O=r((e,t)=>{!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){}}(),t.exports=_()}),b=e(t(),1),T={get(){},subscribe:()=>({unsubscribe(){}})};function R(e,t){const r=b.useRef();return n=>{const o=e?.select?e.select(n):n;return e?.structuralSharing??t.options.defaultStructuralSharing?r.current=a(r.current,o):o}}function E(e){const t=u(),r=b.useContext(e.from?d:p),n=e.from?t.stores.getRouteMatchStore(e.from):t.stores.matchStores.get(r);const i=R(e,t),s=g(n??T,e=>e?i(e):T);if(s!==T)return s;(e.shouldThrow??!0)&&o()}function L(e){return E({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{const r=!1===e.strict?t.params:t._strictParams;return e.select?e.select(r):r}})}function P(e){const t=u();return b.useCallback(r=>t.navigate({...r,from:r.from??e?.from}),[e?.from,t])}function C(e){const t=u(),r=P(),n=b.useRef(null);return l(()=>{n.current!==e&&(r(e),n.current=e)},[t,e,r]),null}var M=n(),k=e(O(),1);var A={},N={className:"active"},w={role:"link","aria-disabled":!0},x={"data-status":"active","aria-current":"page"},D={"data-transitioning":"transitioning"},U=new WeakMap,H={rootMargin:"100px"},j=e=>t=>{for(const r of e)if(r){if(t.defaultPrevented)return;r(t)}};function B(e,t,r,n){if(!n)return t?{href:e,external:!0}:{href:r.createHref(e)||"/",external:!1}}function I(e){if("string"!=typeof e)return!1;const t=e.charCodeAt(0);return 47===t?47!==e.charCodeAt(1):46===t}var F=b.forwardRef((e,t)=>
1{const{_asChild:r,...n}=e,{type:o,...a}=function(e,t){const r=u(),n=h(t),{activeProps:o,inactiveProps:a,activeOptions:l,to:d,preload:p,preloadDelay:S,preloadIntentProximity:_,hashScrollIntoView:O,replace:T,startTransition:R,resetScroll:E,viewTransition:L,children:P,target:C,disabled:M,style:F,className:K,onClick:G,onBlur:V,onFocus:$,onMouseEnter:z,onMouseLeave:W,onTouchStart:X,ignoreBlocker:Y,params:q,search:J,hash:Q,state:Z,mask:ee,reloadDocument:te,unsafeRelative:re,from:ne,_fromLocation:oe,...ie}=e,se=y(),ae=b.useMemo(()=>e,[r,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),ce=g(r.stores.location,e=>e,(e,t)=>e.href===t.href),le=b.useMemo(()=>{const e={_fromLocation:ce,...ae};return r.buildLocation(e)},[r,ce,ae]),fe=le.maskedLocation?le.maskedLocation.publicHref:le.publicHref,ue=le.maskedLocation?le.maskedLocation.external:le.external,he=b.useMemo(()=>B(fe,ue,r.history,M),[M,ue,fe,r.history]),de=b.useMemo(()=>{if(he?.external){if(i(he.href,r.protocolAllowlist))return;return he.href}if(!I(d)&&"string"==typeof d&&-1!==d.indexOf(":"))try{if(new URL(d),i(d,r.protocolAllowlist))return;return d}catch{}},[d,he,r.protocolAllowlist]),pe=b.useMemo(()=>{if(de)return!1;if(l?.exact){if(!f(ce.pathname,le.pathname,r.basepath))return!1}else{const e=v(ce.pathname,r.basepath),t=v(le.pathname,r.basepath);if(!e.startsWith(t)||e.length!==t.length&&"/"!==e[t.length])return!1}return!((l?.includeSearch??!0)&&!s(ce.search,le.search,{partial:!l?.exact,ignoreUndefined:!l?.explicitUndefined}))&&(!l?.includeHash||se&&ce.hash===le.hash)},[l?.exact,l?.explicitUndefined,l?.includeHash,l?.includeSearch,ce,de,se,le.hash,le.pathname,le.search,r.basepath]),ye=pe?c(o,{})??N:A,ge=pe?A:c(a,{})??A,me=[K,ye.className,ge.className].filter(Boolean).join(" "),ve=(F||ye.style||ge.style)&&{...F,...ye.style,...ge.style},[Se,_e]=b.useState(!1),Oe=b.useRef(!1),be=!e.reloadDocument&&!de&&(p??r.options.defaultPreload),Te=S??r.options.defaultPreloadDelay??0,Re=b.useCallback(()=>{r.preloadRoute({...ae,_builtLocation:le}).catch(e=>{})},[r,ae,le]);if(m(n,b.useCallback(e=>{e?.isIntersecting&&Re()},[Re]),H,{disabled:!(!M&&"viewport"===be)}),b.useEffect(()=>{Oe.current||M||"render"!==be||(Re(),Oe.current=!0)},[M,Re,be]),de)return{...ie,ref:n,href:de,...P&&{children:P},...C&&{target:C},...M&&{disabled:M},...F&&{style:F},...K&&{className:K},...G&&{onClick:G},...V&&{onBlur:V},...$&&{onFocus:$},...z&&{onMouseEnter:z},...W&&{onMouseLeave:W},...X&&{onTouchStart:X}};const Ee=e=>{if(M||"intent"!==be)return;if(!Te)return void Re();const t=e.currentTarget;if(U.has(t))return;const r=setTimeout(()=>{U.delete(t),Re()},Te);U.set(t,r)},Le=e=>{if(M||!be||!Te)return;const t=e.currentTarget,r=U.get(t);r&&(clearTimeout(r),U.delete(t))};return{...ie,...ye,...ge,href:he?.href,ref:n,onClick:j([G,e=>{const t=e.currentTarget.getAttribute("target"),n=void 0!==C?C:t;if(!(M||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||e.defaultPrevented||n&&"_self"!==n||0!==e.button)){e.preventDefault(),(0,k.flushSync)(()=>{_e(!0)});const t=r.subscribe("onResolved",()=>{t(),_e(!1)});r.navigate({...ae,replace:T,resetScroll:E,hashScrollIntoView:O,startTransition:R,viewTransition:L,ignoreBlocker:Y})}}]),onBlur:j([V,Le]),onFocus:j([$,Ee]),onMouseEnter:j([z,Ee]),onMouseLeave:j([W,Le]),onTouchStart:j([X,e=>{M||"intent"!==be||Re()}]),disabled:!!M,target:C,...ve&&{style:ve},...me&&{className:me},...M&&w,...pe&&x,...se&&Se&&D}}(n,t),l="function"==typeof n.children?n.children({isActive:"active"===a["data-status"]}):n.children;if(!r){const{disabled:e,...t}=a;return b.createElement("a",t,l)}return b.createElement(r,a,l)});function K(e){const[t="",r=""]=(e??"").split("#"),[n="",o=""]=t.split("?");return{pathname:n||".",search:o?Object.fromEntries(new URLSearchParams(o)):void 0,hash:r||void 0}}function G(){const e=P(),t=u();return(0,b.useCallback)((r,n)=>{if("number"==typeof r)return void t.history.go(r);const{pathname:o,search:i,hash:s}=K(r),a={to:o,search:i};s&&(a.hash=s),void 0!==n?.state&&(a.state=n.state),void 0!==n?.replace&&(a.replace=n.replace),e(a)},[e,t])}function V(){const e=function(e){const t=u();return g(t.stores.location,R(e,t))}();return(0,b.useMemo)(()=>({pathname:e.pathname,search:e.searchStr?`?${e.searchStr}`:"",hash:e.hash??"",state:e.state??null,key:e.pathname+(e.searchStr??"")}),[e.pathname,e.searchStr,e.hash,e.state])}function $(){return L({strict:!1})}var z=(0,b.forwardRef)(function({to:e,replace:t,state:r,children:n,...o}
1,i){if((e=>/^(https?:|mailto:|tel:)/i.test(e??""))(e))return(0,M.jsx)("a",{ref:i,href:e,...o,children:n});const{pathname:s,search:a,hash:c}=K(e),l=c?{hash:c}:{},f=void 0!==r?{state:r}:{},u=void 0!==t?{replace:t}:{};return(0,M.jsx)(F,{ref:i,to:s,search:a,...l,...f,...u,...o??{},children:n})});function W({to:e,replace:t,state:r}){const{pathname:n,search:o,hash:i}=K(e),s=i?{hash:i}:{},a=void 0!==r?{state:r}:{},c=void 0!==t?{replace:t}:{};return(0,M.jsx)(C,{to:n,search:o,...s,...a,...c})}export{$ as a,L as c,G as i,E as l,W as n,F as o,V as r,P as s,z as t,O as 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.