monoverse 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +29455 -29468
- package/build/metafile.js.json +1 -0
- package/build/metafile.server.json +1 -0
- package/package.json +15 -14
- package/public/build/_assets/app-L3FVAWG5.css +1 -0
- package/public/build/_shared/chunk-AAAT3QVG.js +249 -0
- package/public/build/_shared/{chunk-TXYGHBXU.js → chunk-AWT7OMQ4.js} +1 -1
- package/public/build/{entry.client-AWWPRTQT.js → entry.client-AVK6LRG2.js} +1 -1
- package/public/build/manifest-07544E2F.js +1 -0
- package/public/build/{root-CBY3PZO2.js → root-3OUPV7FS.js} +1 -1
- package/public/build/routes/_index-HNE6Q5ZO.js +128 -0
- package/public/build/_assets/app-4ALT7XP6.css +0 -1
- package/public/build/_shared/chunk-V6X5C2NK.js +0 -249
- package/public/build/manifest-48F23B01.js +0 -1
- package/public/build/routes/_index-QQDI6BSE.js +0 -128
- /package/public/build/_shared/{chunk-HPSR2AHZ.js → chunk-GWUFOIPA.js} +0 -0
- /package/public/build/routes/{api._index-EY2TJEVA.js → api-H3ZMS4LW.js} +0 -0
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import{a as Z,b as Nt,d as Te}from"/build/_shared/chunk-G5WX4PPA.js";var fn=Nt(F=>{"use strict";var lt=Symbol.for("react.element"),Wa=Symbol.for("react.portal"),Ja=Symbol.for("react.fragment"),Ka=Symbol.for("react.strict_mode"),Xa=Symbol.for("react.profiler"),Ya=Symbol.for("react.provider"),Ga=Symbol.for("react.context"),qa=Symbol.for("react.forward_ref"),Qa=Symbol.for("react.suspense"),Za=Symbol.for("react.memo"),eo=Symbol.for("react.lazy"),tn=Symbol.iterator;function to(e){return e===null||typeof e!="object"?null:(e=tn&&e[tn]||e["@@iterator"],typeof e=="function"?e:null)}var an={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},on=Object.assign,ln={};function ze(e,t,r){this.props=e,this.context=t,this.refs=ln,this.updater=r||an}ze.prototype.isReactComponent={};ze.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ze.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function sn(){}sn.prototype=ze.prototype;function ar(e,t,r){this.props=e,this.context=t,this.refs=ln,this.updater=r||an}var or=ar.prototype=new sn;or.constructor=ar;on(or,ze.prototype);or.isPureReactComponent=!0;var rn=Array.isArray,un=Object.prototype.hasOwnProperty,ir={current:null},cn={key:!0,ref:!0,__self:!0,__source:!0};function dn(e,t,r){var n,a={},o=null,i=null;if(t!=null)for(n in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)un.call(t,n)&&!cn.hasOwnProperty(n)&&(a[n]=t[n]);var l=arguments.length-2;if(l===1)a.children=r;else if(1<l){for(var s=Array(l),u=0;u<l;u++)s[u]=arguments[u+2];a.children=s}if(e&&e.defaultProps)for(n in l=e.defaultProps,l)a[n]===void 0&&(a[n]=l[n]);return{$$typeof:lt,type:e,key:o,ref:i,props:a,_owner:ir.current}}function ro(e,t){return{$$typeof:lt,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function lr(e){return typeof e=="object"&&e!==null&&e.$$typeof===lt}function no(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var nn=/\/+/g;function nr(e,t){return typeof e=="object"&&e!==null&&e.key!=null?no(""+e.key):t.toString(36)}function Ct(e,t,r,n,a){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case lt:case Wa:i=!0}}if(i)return i=e,a=a(i),e=n===""?"."+nr(i,0):n,rn(a)?(r="",e!=null&&(r=e.replace(nn,"$&/")+"/"),Ct(a,t,r,"",function(u){return u})):a!=null&&(lr(a)&&(a=ro(a,r+(!a.key||i&&i.key===a.key?"":(""+a.key).replace(nn,"$&/")+"/")+e)),t.push(a)),1;if(i=0,n=n===""?".":n+":",rn(e))for(var l=0;l<e.length;l++){o=e[l];var s=n+nr(o,l);i+=Ct(o,t,r,s,a)}else if(s=to(e),typeof s=="function")for(e=s.call(e),l=0;!(o=e.next()).done;)o=o.value,s=n+nr(o,l++),i+=Ct(o,t,r,s,a);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function Dt(e,t,r){if(e==null)return e;var n=[],a=0;return Ct(e,n,"","",function(o){return t.call(r,o,a++)}),n}function ao(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var te={current:null},Pt={transition:null},oo={ReactCurrentDispatcher:te,ReactCurrentBatchConfig:Pt,ReactCurrentOwner:ir};F.Children={map:Dt,forEach:function(e,t,r){Dt(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return Dt(e,function(){t++}),t},toArray:function(e){return Dt(e,function(t){return t})||[]},only:function(e){if(!lr(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};F.Component=ze;F.Fragment=Ja;F.Profiler=Xa;F.PureComponent=ar;F.StrictMode=Ka;F.Suspense=Qa;F.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oo;F.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=on({},e.props),a=e.key,o=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,i=ir.current),t.key!==void 0&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)un.call(t,s)&&!cn.hasOwnProperty(s)&&(n[s]=t[s]===void 0&&l!==void 0?l[s]:t[s])}var s=arguments.length-2;if(s===1)n.children=r;else if(1<s){l=Array(s);for(var u=0;u<s;u++)l[u]=arguments[u+2];n.children=l}return{$$typeof:lt,type:e.type,key:a,ref:o,props:n,_owner:i}};F.createContext=function(e){return e={$$typeof:Ga,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Ya,_context:e},e.Consumer=e};F.createElement=dn;F.createFactory=function(e){var t=dn.bind(null,e);return t.type=e,t};F.createRef=function(){return{current:null}};F.forwardRef=function(e){return{$$typeof:qa,render:e}};F.isValidElement=lr;F.lazy=function(e){return{$$typeof:eo,_payload:{_status:-1,_result:e},_init:ao}};F.memo=function(e,t){return{$$typeof:Za,type:e,compare:t===void 0?null:t}};F.startTransition=function(e){var t=Pt.transition;Pt.transition={};try{e()}finally{Pt.transition=t}};F.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};F.useCallback=function(e,t){return te.current.useCallback(e,t)};F.useContext=function(e){return te.current.useContext(e)};F.useDebugValue=function(){};F.useDeferredValue=function(e){return te.current.useDeferredValue(e)};F.useEffect=function(e,t){return te.current.useEffect(e,t)};F.useId=function(){return te.current.useId()};F.useImperativeHandle=function(e,t,r){return te.current.useImperativeHandle(e,t,r)};F.useInsertionEffect=function(e,t){return te.current.useInsertionEffect(e,t)};F.useLayoutEffect=function(e,t){return te.current.useLayoutEffect(e,t)};F.useMemo=function(e,t){return te.current.useMemo(e,t)};F.useReducer=function(e,t,r){return te.current.useReducer(e,t,r)};F.useRef=function(e){return te.current.useRef(e)};F.useState=function(e){return te.current.useState(e)};F.useSyncExternalStore=function(e,t,r){return te.current.useSyncExternalStore(e,t,r)};F.useTransition=function(){return te.current.useTransition()};F.version="18.2.0"});var be=Nt((vl,hn)=>{"use strict";hn.exports=fn()});function H(){return H=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},H.apply(this,arguments)}function Cn(e){e===void 0&&(e={});function t(n,a){let{pathname:o,search:i,hash:l}=n.location;return ft("",{pathname:o,search:i,hash:l},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function r(n,a){return typeof a=="string"?a:fe(a)}return lo(t,r,null,e)}function O(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Ye(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function io(){return Math.random().toString(36).substr(2,8)}function pn(e,t){return{usr:e.state,key:e.key,idx:t}}function ft(e,t,r,n){return r===void 0&&(r=null),H({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?re(t):t,{state:r,key:t&&t.key||n||io()})}function fe(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function re(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function lo(e,t,r,n){n===void 0&&(n={});let{window:a=document.defaultView,v5Compat:o=!1}=n,i=a.history,l=z.Pop,s=null,u=c();u==null&&(u=0,i.replaceState(H({},i.state,{idx:u}),""));function c(){return(i.state||{idx:null}).idx}function m(){l=z.Pop;let b=c(),x=b==null?null:b-u;u=b,s&&s({action:l,location:E.location,delta:x})}function R(b,x){l=z.Push;let U=ft(E.location,b,x);r&&r(U,b),u=c()+1;let D=pn(U,u),d=E.createHref(U);try{i.pushState(D,"",d)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;a.location.assign(d)}o&&s&&s({action:l,location:E.location,delta:1})}function w(b,x){l=z.Replace;let U=ft(E.location,b,x);r&&r(U,b),u=c();let D=pn(U,u),d=E.createHref(U);i.replaceState(D,"",d),o&&s&&s({action:l,location:E.location,delta:0})}function g(b){let x=a.location.origin!=="null"?a.location.origin:a.location.href,U=typeof b=="string"?b:fe(b);return O(x,"No window.location.(origin|href) available to create URL for href: "+U),new URL(U,x)}let E={get action(){return l},get location(){return e(a,i)},listen(b){if(s)throw new Error("A history only accepts one active listener");return a.addEventListener(mn,m),s=b,()=>{a.removeEventListener(mn,m),s=null}},createHref(b){return t(a,b)},createURL:g,encodeLocation(b){let x=g(b);return{pathname:x.pathname,search:x.search,hash:x.hash}},push:R,replace:w,go(b){return i.go(b)}};return E}function uo(e){return e.index===!0}function cr(e,t,r,n){return r===void 0&&(r=[]),n===void 0&&(n={}),e.map((a,o)=>{let i=[...r,o],l=typeof a.id=="string"?a.id:i.join("-");if(O(a.index!==!0||!a.children,"Cannot specify children on an index route"),O(!n[l],'Found a route id collision on id "'+l+`". Route id's must be globally unique within Data Router usages`),uo(a)){let s=H({},a,t(a),{id:l});return n[l]=s,s}else{let s=H({},a,t(a),{id:l,children:void 0});return n[l]=s,a.children&&(s.children=cr(a.children,t,i,n)),s}})}function oe(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?re(t):t,a=_e(n.pathname||"/",r);if(a==null)return null;let o=Pn(e);co(o);let i=null;for(let l=0;i==null&&l<o.length;++l)i=Eo(o[l],bo(a));return i}function Pn(e,t,r,n){t===void 0&&(t=[]),r===void 0&&(r=[]),n===void 0&&(n="");let a=(o,i,l)=>{let s={relativePath:l===void 0?o.path||"":l,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};s.relativePath.startsWith("/")&&(O(s.relativePath.startsWith(n),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(n.length));let u=de([n,s.relativePath]),c=r.concat(s);o.children&&o.children.length>0&&(O(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Pn(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:vo(u,o.index),routesMeta:c})};return e.forEach((o,i)=>{var l;if(o.path===""||!((l=o.path)!=null&&l.includes("?")))a(o,i);else for(let s of Ln(o.path))a(o,i,s)}),t}function Ln(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,a=r.endsWith("?"),o=r.replace(/\?$/,"");if(n.length===0)return a?[o,""]:[o];let i=Ln(n.join("/")),l=[];return l.push(...i.map(s=>s===""?o:[o,s].join("/"))),a&&l.push(...i),l.map(s=>e.startsWith("/")&&s===""?"/":s)}function co(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:go(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}function vo(e,t){let r=e.split("/"),n=r.length;return r.some(yn)&&(n+=Ro),t&&(n+=mo),r.filter(a=>!yn(a)).reduce((a,o)=>a+(fo.test(o)?ho:o===""?po:yo),n)}function go(e,t){return e.length===t.length&&e.slice(0,-1).every((n,a)=>n===t[a])?e[e.length-1]-t[t.length-1]:0}function Eo(e,t){let{routesMeta:r}=e,n={},a="/",o=[];for(let i=0;i<r.length;++i){let l=r[i],s=i===r.length-1,u=a==="/"?t:t.slice(a.length)||"/",c=ht({path:l.relativePath,caseSensitive:l.caseSensitive,end:s},u);if(!c)return null;Object.assign(n,c.params);let m=l.route;o.push({params:n,pathname:de([a,c.pathname]),pathnameBase:xo(de([a,c.pathnameBase])),route:m}),c.pathnameBase!=="/"&&(a=de([a,c.pathnameBase]))}return o}function ht(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=wo(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let o=a[0],i=o.replace(/(.)\/+$/,"$1"),l=a.slice(1);return{params:n.reduce((u,c,m)=>{if(c==="*"){let R=l[m]||"";i=o.slice(0,o.length-R.length).replace(/(.)\/+$/,"$1")}return u[c]=_o(l[m]||"",c),u},{}),pathname:o,pathnameBase:i,pattern:e}}function wo(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),Ye(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(i,l)=>(n.push(l),"/([^\\/]+)"));return e.endsWith("*")?(n.push("*"),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),n]}function bo(e){try{return decodeURI(e)}catch(t){return Ye(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function _o(e,t){try{return decodeURIComponent(e)}catch(r){return Ye(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+r+").")),e}}function _e(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function Ot(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:a=""}=typeof e=="string"?re(e):e;return{pathname:r?r.startsWith("/")?r:So(r,t):t,search:No(n),hash:Do(a)}}function So(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?r.length>1&&r.pop():a!=="."&&r.push(a)}),r.length>1?r.join("/"):"/"}function sr(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function mt(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function At(e,t,r,n){n===void 0&&(n=!1);let a;typeof e=="string"?a=re(e):(a=H({},e),O(!a.pathname||!a.pathname.includes("?"),sr("?","pathname","search",a)),O(!a.pathname||!a.pathname.includes("#"),sr("#","pathname","hash",a)),O(!a.search||!a.search.includes("#"),sr("#","search","hash",a)));let o=e===""||a.pathname==="",i=o?"/":a.pathname,l;if(n||i==null)l=r;else{let m=t.length-1;if(i.startsWith("..")){let R=i.split("/");for(;R[0]==="..";)R.shift(),m-=1;a.pathname=R.join("/")}l=m>=0?t[m]:"/"}let s=Ot(a,l),u=i&&i!=="/"&&i.endsWith("/"),c=(o||i===".")&&r.endsWith("/");return!s.pathname.endsWith("/")&&(u||c)&&(s.pathname+="/"),s}function Co(e){return e instanceof Promise&&e._tracked===!0}function Po(e){if(!Co(e))return e;if(e._error)throw e._error;return e._data}function pe(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function mr(e){let t=e.window?e.window:typeof window<"u"?window:void 0,r=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",n=!r;O(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let a;if(e.mapRouteProperties)a=e.mapRouteProperties;else if(e.detectErrorBoundary){let f=e.detectErrorBoundary;a=h=>({hasErrorBoundary:f(h)})}else a=ko;let o={},i=cr(e.routes,a,void 0,o),l,s=e.basename||"/",u=H({v7_normalizeFormMethod:!1,v7_prependBasename:!1},e.future),c=null,m=new Set,R=null,w=null,g=null,E=e.hydrationData!=null,b=oe(i,e.history.location,s),x=null;if(b==null){let f=se(404,{pathname:e.history.location.pathname}),{matches:h,route:p}=Sn(i);b=h,x={[p.id]:f}}let U=!b.some(f=>f.route.lazy)&&(!b.some(f=>f.route.loader)||e.hydrationData!=null),D,d={historyAction:e.history.action,location:e.history.location,matches:b,initialized:U,navigation:ur,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||x,fetchers:new Map,blockers:new Map},C=z.Pop,T=!1,A,K=!1,ae=!1,le=[],ee=[],V=new Map,bt=0,rt=-1,He=new Map,ge=new Set,Ve=new Map,Ae=new Map,Fe=new Map,Xt=!1;function Ma(){return c=e.history.listen(f=>{let{action:h,location:p,delta:_}=f;if(Xt){Xt=!1;return}Ye(Fe.size===0||_!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let M=qr({currentLocation:d.location,nextLocation:p,historyAction:h});if(M&&_!=null){Xt=!0,e.history.go(_*-1),St(M,{state:"blocked",location:p,proceed(){St(M,{state:"proceeding",proceed:void 0,reset:void 0,location:p}),e.history.go(_)},reset(){let P=new Map(d.blockers);P.set(M,We),G({blockers:P})}});return}return Ne(h,p)}),d.initialized||Ne(z.Pop,d.location),D}function Oa(){c&&c(),m.clear(),A&&A.abort(),d.fetchers.forEach((f,h)=>Gt(h)),d.blockers.forEach((f,h)=>Gr(h))}function Aa(f){return m.add(f),()=>m.delete(f)}function G(f){d=H({},d,f),m.forEach(h=>h(d))}function nt(f,h){var p,_;let M=d.actionData!=null&&d.navigation.formMethod!=null&&ce(d.navigation.formMethod)&&d.navigation.state==="loading"&&((p=f.state)==null?void 0:p._isRedirect)!==!0,P;h.actionData?Object.keys(h.actionData).length>0?P=h.actionData:P=null:M?P=d.actionData:P=null;let L=h.loaderData?_n(d.loaderData,h.loaderData,h.matches||[],h.errors):d.loaderData,N=d.blockers;N.size>0&&(N=new Map(N),N.forEach(($,Q)=>N.set(Q,We)));let S=T===!0||d.navigation.formMethod!=null&&ce(d.navigation.formMethod)&&((_=f.state)==null?void 0:_._isRedirect)!==!0;l&&(i=l,l=void 0),K||C===z.Pop||(C===z.Push?e.history.push(f,f.state):C===z.Replace&&e.history.replace(f,f.state)),G(H({},h,{actionData:P,loaderData:L,historyAction:C,location:f,initialized:!0,navigation:ur,revalidation:"idle",restoreScrollPosition:Zr(f,h.matches||d.matches),preventScrollReset:S,blockers:N})),C=z.Pop,T=!1,K=!1,ae=!1,le=[],ee=[]}async function zr(f,h){if(typeof f=="number"){e.history.go(f);return}let p=dr(d.location,d.matches,s,u.v7_prependBasename,f,h?.fromRouteId,h?.relative),{path:_,submission:M,error:P}=Rn(u.v7_normalizeFormMethod,!1,p,h),L=d.location,N=ft(d.location,_,h&&h.state);N=H({},N,e.history.encodeLocation(N));let S=h&&h.replace!=null?h.replace:void 0,$=z.Push;S===!0?$=z.Replace:S===!1||M!=null&&ce(M.formMethod)&&M.formAction===d.location.pathname+d.location.search&&($=z.Replace);let Q=h&&"preventScrollReset"in h?h.preventScrollReset===!0:void 0,I=qr({currentLocation:L,nextLocation:N,historyAction:$});if(I){St(I,{state:"blocked",location:N,proceed(){St(I,{state:"proceeding",proceed:void 0,reset:void 0,location:N}),zr(f,h)},reset(){let J=new Map(d.blockers);J.set(I,We),G({blockers:J})}});return}return await Ne($,N,{submission:M,pendingError:P,preventScrollReset:Q,replace:h&&h.replace})}function Fa(){if(Yt(),G({revalidation:"loading"}),d.navigation.state!=="submitting"){if(d.navigation.state==="idle"){Ne(d.historyAction,d.location,{startUninterruptedRevalidation:!0});return}Ne(C||d.historyAction,d.navigation.location,{overrideNavigation:d.navigation})}}async function Ne(f,h,p){A&&A.abort(),A=null,C=f,K=(p&&p.startUninterruptedRevalidation)===!0,Ha(d.location,d.matches),T=(p&&p.preventScrollReset)===!0;let _=l||i,M=p&&p.overrideNavigation,P=oe(_,h,s);if(!P){let J=se(404,{pathname:h.pathname}),{matches:q,route:Ue}=Sn(_);qt(),nt(h,{matches:q,loaderData:{},errors:{[Ue.id]:J}});return}if(d.initialized&&!ae&&$o(d.location,h)&&!(p&&p.submission&&ce(p.submission.formMethod))){nt(h,{matches:P});return}A=new AbortController;let L=ut(e.history,h,A.signal,p&&p.submission),N,S;if(p&&p.pendingError)S={[Ke(P).route.id]:p.pendingError};else if(p&&p.submission&&ce(p.submission.formMethod)){let J=await Ua(L,h,p.submission,P,{replace:p.replace});if(J.shortCircuited)return;N=J.pendingActionData,S=J.pendingActionError,M=Lt(h,p.submission),L=new Request(L.url,{signal:L.signal})}let{shortCircuited:$,loaderData:Q,errors:I}=await ka(L,h,P,M,p&&p.submission,p&&p.fetcherSubmission,p&&p.replace,N,S);$||(A=null,nt(h,H({matches:P},N?{actionData:N}:{},{loaderData:Q,errors:I})))}async function Ua(f,h,p,_,M){M===void 0&&(M={}),Yt();let P=Jo(h,p);G({navigation:P});let L,N=hr(_,h);if(!N.route.action&&!N.route.lazy)L={type:Y.error,error:se(405,{method:f.method,pathname:h.pathname,routeId:N.route.id})};else if(L=await st("action",f,N,_,o,a,s),f.signal.aborted)return{shortCircuited:!0};if(Xe(L)){let S;return M&&M.replace!=null?S=M.replace:S=L.location===d.location.pathname+d.location.search,await at(d,L,{submission:p,replace:S}),{shortCircuited:!0}}if(dt(L)){let S=Ke(_,N.route.id);return(M&&M.replace)!==!0&&(C=z.Push),{pendingActionData:{},pendingActionError:{[S.route.id]:L.error}}}if(Ie(L))throw se(400,{type:"defer-action"});return{pendingActionData:{[N.route.id]:L.data}}}async function ka(f,h,p,_,M,P,L,N,S){let $=_||Lt(h,M),Q=M||P||Dn($),I=l||i,[J,q]=vn(e.history,d,p,Q,h,ae,le,ee,Ve,ge,I,s,N,S);if(qt(j=>!(p&&p.some(ue=>ue.route.id===j))||J&&J.some(ue=>ue.route.id===j)),rt=++bt,J.length===0&&q.length===0){let j=Xr();return nt(h,H({matches:p,loaderData:{},errors:S||null},N?{actionData:N}:{},j?{fetchers:new Map(d.fetchers)}:{})),{shortCircuited:!0}}if(!K){q.forEach(ue=>{let Ce=d.fetchers.get(ue.key),rr=ct(void 0,Ce?Ce.data:void 0);d.fetchers.set(ue.key,rr)});let j=N||d.actionData;G(H({navigation:$},j?Object.keys(j).length===0?{actionData:null}:{actionData:j}:{},q.length>0?{fetchers:new Map(d.fetchers)}:{}))}q.forEach(j=>{V.has(j.key)&&De(j.key),j.controller&&V.set(j.key,j.controller)});let Ue=()=>q.forEach(j=>De(j.key));A&&A.signal.addEventListener("abort",Ue);let{results:ke,loaderResults:ot,fetcherResults:Qt}=await Jr(d.matches,p,J,q,f);if(f.signal.aborted)return{shortCircuited:!0};A&&A.signal.removeEventListener("abort",Ue),q.forEach(j=>V.delete(j.key));let Ee=xn(ke);if(Ee){if(Ee.idx>=J.length){let j=q[Ee.idx-J.length].key;ge.add(j)}return await at(d,Ee.result,{replace:L}),{shortCircuited:!0}}let{loaderData:we,errors:xt}=bn(d,p,J,ot,S,q,Qt,Ae);Ae.forEach((j,ue)=>{j.subscribe(Ce=>{(Ce||j.done)&&Ae.delete(ue)})});let Zt=Xr(),er=Yr(rt),tr=Zt||er||q.length>0;return H({loaderData:we,errors:xt},tr?{fetchers:new Map(d.fetchers)}:{})}function Wr(f){return d.fetchers.get(f)||Uo}function Ta(f,h,p,_){if(n)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");V.has(f)&&De(f);let M=l||i,P=dr(d.location,d.matches,s,u.v7_prependBasename,p,h,_?.relative),L=oe(M,P,s);if(!L){_t(f,h,se(404,{pathname:P}));return}let{path:N,submission:S,error:$}=Rn(u.v7_normalizeFormMethod,!0,P,_);if($){_t(f,h,$);return}let Q=hr(L,N);if(T=(_&&_.preventScrollReset)===!0,S&&ce(S.formMethod)){Ia(f,h,N,Q,L,S);return}Ve.set(f,{routeId:h,path:N}),ja(f,h,N,Q,L,S)}async function Ia(f,h,p,_,M,P){if(Yt(),Ve.delete(f),!_.route.action&&!_.route.lazy){let X=se(405,{method:P.formMethod,pathname:p,routeId:h});_t(f,h,X);return}let L=d.fetchers.get(f),N=Ko(P,L);d.fetchers.set(f,N),G({fetchers:new Map(d.fetchers)});let S=new AbortController,$=ut(e.history,p,S.signal,P);V.set(f,S);let Q=bt,I=await st("action",$,_,M,o,a,s);if($.signal.aborted){V.get(f)===S&&V.delete(f);return}if(Xe(I))if(V.delete(f),rt>Q){let X=Je(void 0);d.fetchers.set(f,X),G({fetchers:new Map(d.fetchers)});return}else{ge.add(f);let X=ct(P);return d.fetchers.set(f,X),G({fetchers:new Map(d.fetchers)}),at(d,I,{submission:P,isFetchActionRedirect:!0})}if(dt(I)){_t(f,h,I.error);return}if(Ie(I))throw se(400,{type:"defer-action"});let J=d.navigation.location||d.location,q=ut(e.history,J,S.signal),Ue=l||i,ke=d.navigation.state!=="idle"?oe(Ue,d.navigation.location,s):d.matches;O(ke,"Didn't find any matches after fetcher action");let ot=++bt;He.set(f,ot);let Qt=ct(P,I.data);d.fetchers.set(f,Qt);let[Ee,we]=vn(e.history,d,ke,P,J,ae,le,ee,Ve,ge,Ue,s,{[_.route.id]:I.data},void 0);we.filter(X=>X.key!==f).forEach(X=>{let it=X.key,en=d.fetchers.get(it),za=ct(void 0,en?en.data:void 0);d.fetchers.set(it,za),V.has(it)&&De(it),X.controller&&V.set(it,X.controller)}),G({fetchers:new Map(d.fetchers)});let xt=()=>we.forEach(X=>De(X.key));S.signal.addEventListener("abort",xt);let{results:Zt,loaderResults:er,fetcherResults:tr}=await Jr(d.matches,ke,Ee,we,q);if(S.signal.aborted)return;S.signal.removeEventListener("abort",xt),He.delete(f),V.delete(f),we.forEach(X=>V.delete(X.key));let j=xn(Zt);if(j){if(j.idx>=Ee.length){let X=we[j.idx-Ee.length].key;ge.add(X)}return at(d,j.result)}let{loaderData:ue,errors:Ce}=bn(d,d.matches,Ee,er,void 0,we,tr,Ae);if(d.fetchers.has(f)){let X=Je(I.data);d.fetchers.set(f,X)}let rr=Yr(ot);d.navigation.state==="loading"&&ot>rt?(O(C,"Expected pending action"),A&&A.abort(),nt(d.navigation.location,{matches:ke,loaderData:ue,errors:Ce,fetchers:new Map(d.fetchers)})):(G(H({errors:Ce,loaderData:_n(d.loaderData,ue,ke,Ce)},rr||we.length>0?{fetchers:new Map(d.fetchers)}:{})),ae=!1)}async function ja(f,h,p,_,M,P){let L=d.fetchers.get(f),N=ct(P,L?L.data:void 0);d.fetchers.set(f,N),G({fetchers:new Map(d.fetchers)});let S=new AbortController,$=ut(e.history,p,S.signal);V.set(f,S);let Q=bt,I=await st("loader",$,_,M,o,a,s);if(Ie(I)&&(I=await Un(I,$.signal,!0)||I),V.get(f)===S&&V.delete(f),$.signal.aborted)return;if(Xe(I))if(rt>Q){let q=Je(void 0);d.fetchers.set(f,q),G({fetchers:new Map(d.fetchers)});return}else{ge.add(f),await at(d,I);return}if(dt(I)){let q=Ke(d.matches,h);d.fetchers.delete(f),G({fetchers:new Map(d.fetchers),errors:{[q.route.id]:I.error}});return}O(!Ie(I),"Unhandled fetcher deferred data");let J=Je(I.data);d.fetchers.set(f,J),G({fetchers:new Map(d.fetchers)})}async function at(f,h,p){let{submission:_,replace:M,isFetchActionRedirect:P}=p===void 0?{}:p;h.revalidate&&(ae=!0);let L=ft(f.location,h.location,H({_isRedirect:!0},P?{_isFetchActionRedirect:!0}:{}));if(O(L,"Expected a location on the redirect navigation"),On.test(h.location)&&r){let $=e.history.createURL(h.location),Q=_e($.pathname,s)==null;if(t.location.origin!==$.origin||Q){M?t.location.replace(h.location):t.location.assign(h.location);return}}A=null;let N=M===!0?z.Replace:z.Push,S=_||Dn(f.navigation);if(Fo.has(h.status)&&S&&ce(S.formMethod))await Ne(N,L,{submission:H({},S,{formAction:h.location}),preventScrollReset:T});else if(P)await Ne(N,L,{overrideNavigation:Lt(L),fetcherSubmission:S,preventScrollReset:T});else{let $=Lt(L,S);await Ne(N,L,{overrideNavigation:$,preventScrollReset:T})}}async function Jr(f,h,p,_,M){let P=await Promise.all([...p.map(S=>st("loader",M,S,h,o,a,s)),..._.map(S=>S.matches&&S.match&&S.controller?st("loader",ut(e.history,S.path,S.controller.signal),S.match,S.matches,o,a,s):{type:Y.error,error:se(404,{pathname:S.path})})]),L=P.slice(0,p.length),N=P.slice(p.length);return await Promise.all([Nn(f,p,L,L.map(()=>M.signal),!1,d.loaderData),Nn(f,_.map(S=>S.match),N,_.map(S=>S.controller?S.controller.signal:null),!0)]),{results:P,loaderResults:L,fetcherResults:N}}function Yt(){ae=!0,le.push(...qt()),Ve.forEach((f,h)=>{V.has(h)&&(ee.push(h),De(h))})}function _t(f,h,p){let _=Ke(d.matches,h);Gt(f),G({errors:{[_.route.id]:p},fetchers:new Map(d.fetchers)})}function Gt(f){let h=d.fetchers.get(f);V.has(f)&&!(h&&h.state==="loading"&&He.has(f))&&De(f),Ve.delete(f),He.delete(f),ge.delete(f),d.fetchers.delete(f)}function De(f){let h=V.get(f);O(h,"Expected fetch controller: "+f),h.abort(),V.delete(f)}function Kr(f){for(let h of f){let p=Wr(h),_=Je(p.data);d.fetchers.set(h,_)}}function Xr(){let f=[],h=!1;for(let p of ge){let _=d.fetchers.get(p);O(_,"Expected fetcher: "+p),_.state==="loading"&&(ge.delete(p),f.push(p),h=!0)}return Kr(f),h}function Yr(f){let h=[];for(let[p,_]of He)if(_<f){let M=d.fetchers.get(p);O(M,"Expected fetcher: "+p),M.state==="loading"&&(De(p),He.delete(p),h.push(p))}return Kr(h),h.length>0}function Ba(f,h){let p=d.blockers.get(f)||We;return Fe.get(f)!==h&&Fe.set(f,h),p}function Gr(f){d.blockers.delete(f),Fe.delete(f)}function St(f,h){let p=d.blockers.get(f)||We;O(p.state==="unblocked"&&h.state==="blocked"||p.state==="blocked"&&h.state==="blocked"||p.state==="blocked"&&h.state==="proceeding"||p.state==="blocked"&&h.state==="unblocked"||p.state==="proceeding"&&h.state==="unblocked","Invalid blocker state transition: "+p.state+" -> "+h.state);let _=new Map(d.blockers);_.set(f,h),G({blockers:_})}function qr(f){let{currentLocation:h,nextLocation:p,historyAction:_}=f;if(Fe.size===0)return;Fe.size>1&&Ye(!1,"A router only supports one blocker at a time");let M=Array.from(Fe.entries()),[P,L]=M[M.length-1],N=d.blockers.get(P);if(!(N&&N.state==="proceeding")&&L({currentLocation:h,nextLocation:p,historyAction:_}))return P}function qt(f){let h=[];return Ae.forEach((p,_)=>{(!f||f(_))&&(p.cancel(),h.push(_),Ae.delete(_))}),h}function $a(f,h,p){if(R=f,g=h,w=p||null,!E&&d.navigation===ur){E=!0;let _=Zr(d.location,d.matches);_!=null&&G({restoreScrollPosition:_})}return()=>{R=null,g=null,w=null}}function Qr(f,h){return w&&w(f,h.map(_=>Wo(_,d.loaderData)))||f.key}function Ha(f,h){if(R&&g){let p=Qr(f,h);R[p]=g()}}function Zr(f,h){if(R){let p=Qr(f,h),_=R[p];if(typeof _=="number")return _}return null}function Va(f){o={},l=cr(f,a,void 0,o)}return D={get basename(){return s},get state(){return d},get routes(){return i},initialize:Ma,subscribe:Aa,enableScrollRestoration:$a,navigate:zr,fetch:Ta,revalidate:Fa,createHref:f=>e.history.createHref(f),encodeLocation:f=>e.history.encodeLocation(f),getFetcher:Wr,deleteFetcher:Gt,dispose:Oa,getBlocker:Ba,deleteBlocker:Gr,_internalFetchControllers:V,_internalActiveDeferreds:Ae,_internalSetRoutes:Va},D}function To(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function dr(e,t,r,n,a,o,i){let l,s;if(o!=null&&i!=="path"){l=[];for(let c of t)if(l.push(c),c.route.id===o){s=c;break}}else l=t,s=t[t.length-1];let u=At(a||".",mt(l).map(c=>c.pathnameBase),_e(e.pathname,r)||e.pathname,i==="path");return a==null&&(u.search=e.search,u.hash=e.hash),(a==null||a===""||a===".")&&s&&s.route.index&&!pr(u.search)&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),n&&r!=="/"&&(u.pathname=u.pathname==="/"?r:de([r,u.pathname])),fe(u)}function Rn(e,t,r,n){if(!n||!To(n))return{path:r};if(n.formMethod&&!zo(n.formMethod))return{path:r,error:se(405,{method:n.formMethod})};let a=()=>({path:r,error:se(400,{type:"invalid-body"})}),o=n.formMethod||"get",i=e?o.toUpperCase():o.toLowerCase(),l=Fn(r);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!ce(i))return a();let R=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((w,g)=>{let[E,b]=g;return""+w+E+"="+b+`
|
|
2
|
+
`},""):String(n.body);return{path:r,submission:{formMethod:i,formAction:l,formEncType:n.formEncType,formData:void 0,json:void 0,text:R}}}else if(n.formEncType==="application/json"){if(!ce(i))return a();try{let R=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:i,formAction:l,formEncType:n.formEncType,formData:void 0,json:R,text:void 0}}}catch{return a()}}}O(typeof FormData=="function","FormData is not available in this environment");let s,u;if(n.formData)s=fr(n.formData),u=n.formData;else if(n.body instanceof FormData)s=fr(n.body),u=n.body;else if(n.body instanceof URLSearchParams)s=n.body,u=wn(s);else if(n.body==null)s=new URLSearchParams,u=new FormData;else try{s=new URLSearchParams(n.body),u=wn(s)}catch{return a()}let c={formMethod:i,formAction:l,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(ce(c.formMethod))return{path:r,submission:c};let m=re(r);return t&&m.search&&pr(m.search)&&s.append("index",""),m.search="?"+s,{path:fe(m),submission:c}}function Io(e,t){let r=e;if(t){let n=e.findIndex(a=>a.route.id===t);n>=0&&(r=e.slice(0,n))}return r}function vn(e,t,r,n,a,o,i,l,s,u,c,m,R,w){let g=w?Object.values(w)[0]:R?Object.values(R)[0]:void 0,E=e.createURL(t.location),b=e.createURL(a),x=w?Object.keys(w)[0]:void 0,D=Io(r,x).filter((C,T)=>{if(C.route.lazy)return!0;if(C.route.loader==null)return!1;if(jo(t.loaderData,t.matches[T],C)||i.some(ae=>ae===C.route.id))return!0;let A=t.matches[T],K=C;return gn(C,H({currentUrl:E,currentParams:A.params,nextUrl:b,nextParams:K.params},n,{actionResult:g,defaultShouldRevalidate:o||E.pathname+E.search===b.pathname+b.search||E.search!==b.search||An(A,K)}))}),d=[];return s.forEach((C,T)=>{if(!r.some(ee=>ee.route.id===C.routeId))return;let A=oe(c,C.path,m);if(!A){d.push({key:T,routeId:C.routeId,path:C.path,matches:null,match:null,controller:null});return}let K=t.fetchers.get(T),ae=hr(A,C.path),le=!1;u.has(T)?le=!1:l.includes(T)?le=!0:K&&K.state!=="idle"&&K.data===void 0?le=o:le=gn(ae,H({currentUrl:E,currentParams:t.matches[t.matches.length-1].params,nextUrl:b,nextParams:r[r.length-1].params},n,{actionResult:g,defaultShouldRevalidate:o})),le&&d.push({key:T,routeId:C.routeId,path:C.path,matches:A,match:ae,controller:new AbortController})}),[D,d]}function jo(e,t,r){let n=!t||r.route.id!==t.route.id,a=e[r.route.id]===void 0;return n||a}function An(e,t){let r=e.route.path;return e.pathname!==t.pathname||r!=null&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function gn(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(typeof r=="boolean")return r}return t.defaultShouldRevalidate}async function En(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let a=r[e.id];O(a,"No route found in manifest");let o={};for(let i in n){let s=a[i]!==void 0&&i!=="hasErrorBoundary";Ye(!s,'Route "'+a.id+'" has a static property "'+i+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+i+'" will be ignored.')),!s&&!so.has(i)&&(o[i]=n[i])}Object.assign(a,o),Object.assign(a,H({},t(a),{lazy:void 0}))}async function st(e,t,r,n,a,o,i,l){l===void 0&&(l={});let s,u,c,m=g=>{let E,b=new Promise((x,U)=>E=U);return c=()=>E(),t.signal.addEventListener("abort",c),Promise.race([g({request:t,params:r.params,context:l.requestContext}),b])};try{let g=r.route[e];if(r.route.lazy)if(g)u=(await Promise.all([m(g),En(r.route,o,a)]))[0];else if(await En(r.route,o,a),g=r.route[e],g)u=await m(g);else if(e==="action"){let E=new URL(t.url),b=E.pathname+E.search;throw se(405,{method:t.method,pathname:b,routeId:r.route.id})}else return{type:Y.data,data:void 0};else if(g)u=await m(g);else{let E=new URL(t.url),b=E.pathname+E.search;throw se(404,{pathname:b})}O(u!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(g){s=Y.error,u=g}finally{c&&t.signal.removeEventListener("abort",c)}if(Vo(u)){let g=u.status;if(Ao.has(g)){let x=u.headers.get("Location");if(O(x,"Redirects returned/thrown from loaders/actions must have a Location header"),!On.test(x))x=dr(new URL(t.url),n.slice(0,n.indexOf(r)+1),i,!0,x);else if(!l.isStaticRequest){let U=new URL(t.url),D=x.startsWith("//")?new URL(U.protocol+x):new URL(x),d=_e(D.pathname,i)!=null;D.origin===U.origin&&d&&(x=D.pathname+D.search+D.hash)}if(l.isStaticRequest)throw u.headers.set("Location",x),u;return{type:Y.redirect,status:g,location:x,revalidate:u.headers.get("X-Remix-Revalidate")!==null}}if(l.isRouteRequest)throw{type:s||Y.data,response:u};let E,b=u.headers.get("Content-Type");return b&&/\bapplication\/json\b/.test(b)?E=await u.json():E=await u.text(),s===Y.error?{type:s,error:new Pe(g,u.statusText,E),headers:u.headers}:{type:Y.data,data:E,statusCode:u.status,headers:u.headers}}if(s===Y.error)return{type:s,error:u};if(Ho(u)){var R,w;return{type:Y.deferred,deferredData:u,statusCode:(R=u.init)==null?void 0:R.status,headers:((w=u.init)==null?void 0:w.headers)&&new Headers(u.init.headers)}}return{type:Y.data,data:u}}function ut(e,t,r,n){let a=e.createURL(Fn(t)).toString(),o={signal:r};if(n&&ce(n.formMethod)){let{formMethod:i,formEncType:l}=n;o.method=i.toUpperCase(),l==="application/json"?(o.headers=new Headers({"Content-Type":l}),o.body=JSON.stringify(n.json)):l==="text/plain"?o.body=n.text:l==="application/x-www-form-urlencoded"&&n.formData?o.body=fr(n.formData):o.body=n.formData}return new Request(a,o)}function fr(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,typeof n=="string"?n:n.name);return t}function wn(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function Bo(e,t,r,n,a){let o={},i=null,l,s=!1,u={};return r.forEach((c,m)=>{let R=t[m].route.id;if(O(!Xe(c),"Cannot handle redirect results in processLoaderData"),dt(c)){let w=Ke(e,R),g=c.error;n&&(g=Object.values(n)[0],n=void 0),i=i||{},i[w.route.id]==null&&(i[w.route.id]=g),o[R]=void 0,s||(s=!0,l=pe(c.error)?c.error.status:500),c.headers&&(u[R]=c.headers)}else Ie(c)?(a.set(R,c.deferredData),o[R]=c.deferredData.data):o[R]=c.data,c.statusCode!=null&&c.statusCode!==200&&!s&&(l=c.statusCode),c.headers&&(u[R]=c.headers)}),n&&(i=n,o[Object.keys(n)[0]]=void 0),{loaderData:o,errors:i,statusCode:l||200,loaderHeaders:u}}function bn(e,t,r,n,a,o,i,l){let{loaderData:s,errors:u}=Bo(t,r,n,a,l);for(let c=0;c<o.length;c++){let{key:m,match:R,controller:w}=o[c];O(i!==void 0&&i[c]!==void 0,"Did not find corresponding fetcher result");let g=i[c];if(!(w&&w.signal.aborted))if(dt(g)){let E=Ke(e.matches,R?.route.id);u&&u[E.route.id]||(u=H({},u,{[E.route.id]:g.error})),e.fetchers.delete(m)}else if(Xe(g))O(!1,"Unhandled fetcher revalidation redirect");else if(Ie(g))O(!1,"Unhandled fetcher deferred data");else{let E=Je(g.data);e.fetchers.set(m,E)}}return{loaderData:s,errors:u}}function _n(e,t,r,n){let a=H({},t);for(let o of r){let i=o.route.id;if(t.hasOwnProperty(i)?t[i]!==void 0&&(a[i]=t[i]):e[i]!==void 0&&o.route.loader&&(a[i]=e[i]),n&&n.hasOwnProperty(i))break}return a}function Ke(e,t){return(t?e.slice(0,e.findIndex(n=>n.route.id===t)+1):[...e]).reverse().find(n=>n.route.hasErrorBoundary===!0)||e[0]}function Sn(e){let t=e.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function se(e,t){let{pathname:r,routeId:n,method:a,type:o}=t===void 0?{}:t,i="Unknown Server Error",l="Unknown @remix-run/router error";return e===400?(i="Bad Request",a&&r&&n?l="You made a "+a+' request to "'+r+'" but '+('did not provide a `loader` for route "'+n+'", ')+"so there is no way to handle the request.":o==="defer-action"?l="defer() is not supported in actions":o==="invalid-body"&&(l="Unable to encode submission body")):e===403?(i="Forbidden",l='Route "'+n+'" does not match URL "'+r+'"'):e===404?(i="Not Found",l='No route matches URL "'+r+'"'):e===405&&(i="Method Not Allowed",a&&r&&n?l="You made a "+a.toUpperCase()+' request to "'+r+'" but '+('did not provide an `action` for route "'+n+'", ')+"so there is no way to handle the request.":a&&(l='Invalid request method "'+a.toUpperCase()+'"')),new Pe(e||500,i,new Error(l),!0)}function xn(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(Xe(r))return{result:r,idx:t}}}function Fn(e){let t=typeof e=="string"?re(e):e;return fe(H({},t,{hash:""}))}function $o(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function Ie(e){return e.type===Y.deferred}function dt(e){return e.type===Y.error}function Xe(e){return(e&&e.type)===Y.redirect}function Ho(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function Vo(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function zo(e){return Oo.has(e.toLowerCase())}function ce(e){return Lo.has(e.toLowerCase())}async function Nn(e,t,r,n,a,o){for(let i=0;i<r.length;i++){let l=r[i],s=t[i];if(!s)continue;let u=e.find(m=>m.route.id===s.route.id),c=u!=null&&!An(u,s)&&(o&&o[s.route.id])!==void 0;if(Ie(l)&&(a||c)){let m=n[i];O(m,"Expected an AbortSignal for revalidating fetcher deferred result"),await Un(l,m,a).then(R=>{R&&(r[i]=R||r[i])})}}}async function Un(e,t,r){if(r===void 0&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:Y.data,data:e.deferredData.unwrappedData}}catch(a){return{type:Y.error,error:a}}return{type:Y.data,data:e.deferredData.data}}}function pr(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Wo(e,t){let{route:r,pathname:n,params:a}=e;return{id:r.id,pathname:n,params:a,data:t[r.id],handle:r.handle}}function hr(e,t){let r=typeof t=="string"?re(t).search:t.search;if(e[e.length-1].route.index&&pr(r||""))return e[e.length-1];let n=mt(e);return n[n.length-1]}function Dn(e){let{formMethod:t,formAction:r,formEncType:n,text:a,formData:o,json:i}=e;if(!(!t||!r||!n)){if(a!=null)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:a};if(o!=null)return{formMethod:t,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0};if(i!==void 0)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:i,text:void 0}}}function Lt(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Jo(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function ct(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t," _hasFetcherDoneAnything ":!0}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t," _hasFetcherDoneAnything ":!0}}function Ko(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0," _hasFetcherDoneAnything ":!0}}function Je(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e," _hasFetcherDoneAnything ":!0}}var z,mn,Y,so,fo,ho,mo,po,yo,Ro,yn,de,xo,No,Do,me,Mt,Ft,Pe,Mn,Lo,Mo,Oo,Ao,Fo,ur,Uo,We,On,ko,gl,Ge=Z(()=>{(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(z||(z={}));mn="popstate";(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Y||(Y={}));so=new Set(["lazy","caseSensitive","path","id","index","children"]);fo=/^:\w+$/,ho=3,mo=2,po=1,yo=10,Ro=-2,yn=e=>e==="*";de=e=>e.join("/").replace(/\/\/+/g,"/"),xo=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),No=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Do=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,me=class extends Error{},Mt=class{constructor(t,r){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],O(t&&typeof t=="object"&&!Array.isArray(t),"defer() only accepts plain objects");let n;this.abortPromise=new Promise((o,i)=>n=i),this.controller=new AbortController;let a=()=>n(new me("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",a),this.controller.signal.addEventListener("abort",a),this.data=Object.entries(t).reduce((o,i)=>{let[l,s]=i;return Object.assign(o,{[l]:this.trackPromise(l,s)})},{}),this.done&&this.unlistenAbortSignal(),this.init=r}trackPromise(t,r){if(!(r instanceof Promise))return r;this.deferredKeys.push(t),this.pendingKeysSet.add(t);let n=Promise.race([r,this.abortPromise]).then(a=>this.onSettle(n,t,void 0,a),a=>this.onSettle(n,t,a));return n.catch(()=>{}),Object.defineProperty(n,"_tracked",{get:()=>!0}),n}onSettle(t,r,n,a){if(this.controller.signal.aborted&&n instanceof me)return this.unlistenAbortSignal(),Object.defineProperty(t,"_error",{get:()=>n}),Promise.reject(n);if(this.pendingKeysSet.delete(r),this.done&&this.unlistenAbortSignal(),n===void 0&&a===void 0){let o=new Error('Deferred data for key "'+r+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(t,"_error",{get:()=>o}),this.emit(!1,r),Promise.reject(o)}return a===void 0?(Object.defineProperty(t,"_error",{get:()=>n}),this.emit(!1,r),Promise.reject(n)):(Object.defineProperty(t,"_data",{get:()=>a}),this.emit(!1,r),a)}emit(t,r){this.subscribers.forEach(n=>n(t,r))}subscribe(t){return this.subscribers.add(t),()=>this.subscribers.delete(t)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((t,r)=>this.pendingKeysSet.delete(r)),this.emit(!0)}async resolveData(t){let r=!1;if(!this.done){let n=()=>this.cancel();t.addEventListener("abort",n),r=await new Promise(a=>{this.subscribe(o=>{t.removeEventListener("abort",n),(o||this.done)&&a(o)})})}return r}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return O(this.data!==null&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((t,r)=>{let[n,a]=r;return Object.assign(t,{[n]:Po(a)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}};Ft=function(t,r){r===void 0&&(r=302);let n=r;typeof n=="number"?n={status:n}:typeof n.status>"u"&&(n.status=302);let a=new Headers(n.headers);return a.set("Location",t),new Response(null,H({},n,{headers:a}))},Pe=class{constructor(t,r,n,a){a===void 0&&(a=!1),this.status=t,this.statusText=r||"",this.internal=a,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};Mn=["post","put","patch","delete"],Lo=new Set(Mn),Mo=["get",...Mn],Oo=new Set(Mo),Ao=new Set([301,302,303,307,308]),Fo=new Set([307,308]),ur={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Uo={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},We={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},On=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ko=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)});gl=Symbol("deferred")});function Ut(){return Ut=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ut.apply(this,arguments)}function je(e,t){let{relative:r}=t===void 0?{}:t;qe()||O(!1);let{basename:n,navigator:a}=v.useContext(ye),{hash:o,pathname:i,search:l}=Qe(e,{relative:r}),s=i;return n!=="/"&&(s=i==="/"?n:de([n,i])),a.createHref({pathname:s,search:l,hash:o})}function qe(){return v.useContext(pt)!=null}function ne(){return qe()||O(!1),v.useContext(pt).location}function jn(e){v.useContext(ye).static||v.useLayoutEffect(e)}function Tt(){let{isDataRoute:e}=v.useContext(Re);return e?oi():Go()}function Go(){qe()||O(!1);let e=v.useContext(xe),{basename:t,navigator:r}=v.useContext(ye),{matches:n}=v.useContext(Re),{pathname:a}=ne(),o=JSON.stringify(mt(n).map(s=>s.pathnameBase)),i=v.useRef(!1);return jn(()=>{i.current=!0}),v.useCallback(function(s,u){if(u===void 0&&(u={}),!i.current)return;if(typeof s=="number"){r.go(s);return}let c=At(s,JSON.parse(o),a,u.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:de([t,c.pathname])),(u.replace?r.replace:r.push)(c,u.state,u)},[t,r,o,a,e])}function gr(e){let t=v.useContext(Re).outlet;return t&&v.createElement(qo.Provider,{value:e},t)}function Qe(e,t){let{relative:r}=t===void 0?{}:t,{matches:n}=v.useContext(Re),{pathname:a}=ne(),o=JSON.stringify(mt(n).map(i=>i.pathnameBase));return v.useMemo(()=>At(e,JSON.parse(o),a,r==="path"),[e,o,a,r])}function Qo(e,t,r){qe()||O(!1);let{navigator:n}=v.useContext(ye),{matches:a}=v.useContext(Re),o=a[a.length-1],i=o?o.params:{},l=o?o.pathname:"/",s=o?o.pathnameBase:"/",u=o&&o.route,c=ne(),m;if(t){var R;let x=typeof t=="string"?re(t):t;s==="/"||(R=x.pathname)!=null&&R.startsWith(s)||O(!1),m=x}else m=c;let w=m.pathname||"/",g=s==="/"?w:w.slice(s.length)||"/",E=oe(e,{pathname:g}),b=ri(E&&E.map(x=>Object.assign({},x,{params:Object.assign({},i,x.params),pathname:de([s,n.encodeLocation?n.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?s:de([s,n.encodeLocation?n.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),a,r);return t&&b?v.createElement(pt.Provider,{value:{location:Ut({pathname:"/",search:"",hash:"",state:null,key:"default"},m),navigationType:z.Pop}},b):b}function Zo(){let e=Be(),t=pe(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:n},o={padding:"2px 4px",backgroundColor:n};return v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},t),r?v.createElement("pre",{style:a},r):null,null)}function ti(e){let{routeContext:t,match:r,children:n}=e,a=v.useContext(xe);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),v.createElement(Re.Provider,{value:t},n)}function ri(e,t,r){var n;if(t===void 0&&(t=[]),r===void 0&&(r=null),e==null){var a;if((a=r)!=null&&a.errors)e=r.matches;else return null}let o=e,i=(n=r)==null?void 0:n.errors;if(i!=null){let l=o.findIndex(s=>s.route.id&&i?.[s.route.id]);l>=0||O(!1),o=o.slice(0,Math.min(o.length,l+1))}return o.reduceRight((l,s,u)=>{let c=s.route.id?i?.[s.route.id]:null,m=null;r&&(m=s.route.errorElement||ei);let R=t.concat(o.slice(0,u+1)),w=()=>{let g;return c?g=m:s.route.Component?g=v.createElement(s.route.Component,null):s.route.element?g=s.route.element:g=l,v.createElement(ti,{match:s,routeContext:{outlet:l,matches:R,isDataRoute:r!=null},children:g})};return r&&(s.route.ErrorBoundary||s.route.errorElement||u===0)?v.createElement(yr,{location:r.location,revalidation:r.revalidation,component:m,error:c,children:w(),routeContext:{outlet:null,matches:R,isDataRoute:!0}}):w()},null)}function ni(e){let t=v.useContext(xe);return t||O(!1),t}function It(e){let t=v.useContext(Le);return t||O(!1),t}function ai(e){let t=v.useContext(Re);return t||O(!1),t}function Er(e){let t=ai(e),r=t.matches[t.matches.length-1];return r.route.id||O(!1),r.route.id}function Ze(){return It(Se.UseNavigation).navigation}function yt(){let{matches:e,loaderData:t}=It(Se.UseMatches);return v.useMemo(()=>e.map(r=>{let{pathname:n,params:a}=r;return{id:r.route.id,pathname:n,params:a,data:t[r.route.id],handle:r.route.handle}}),[e,t])}function wr(){let e=It(Se.UseLoaderData),t=Er(Se.UseLoaderData);if(e.errors&&e.errors[t]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")");return}return e.loaderData[t]}function Be(){var e;let t=v.useContext(In),r=It(Se.UseRouteError),n=Er(Se.UseRouteError);return t||((e=r.errors)==null?void 0:e[n])}function br(){let e=v.useContext(kt);return e?._data}function jt(){let e=v.useContext(kt);return e?._error}function oi(){let{router:e}=ni(Rr.UseNavigateStable),t=Er(Se.UseNavigateStable),r=v.useRef(!1);return jn(()=>{r.current=!0}),v.useCallback(function(a,o){o===void 0&&(o={}),r.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,Ut({fromRouteId:t},o)))},[e,t])}function _r(e){let{fallbackElement:t,router:r,future:n}=e,[a,o]=v.useState(r.state),{v7_startTransition:i}=n||{},l=v.useCallback(m=>{i&&kn?kn(()=>o(m)):o(m)},[o,i]);v.useLayoutEffect(()=>r.subscribe(l),[r,l]);let s=v.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:m=>r.navigate(m),push:(m,R,w)=>r.navigate(m,{state:R,preventScrollReset:w?.preventScrollReset}),replace:(m,R,w)=>r.navigate(m,{replace:!0,state:R,preventScrollReset:w?.preventScrollReset})}),[r]),u=r.basename||"/",c=v.useMemo(()=>({router:r,navigator:s,static:!1,basename:u}),[r,s,u]);return v.createElement(v.Fragment,null,v.createElement(xe.Provider,{value:c},v.createElement(Le.Provider,{value:a},v.createElement(Sr,{basename:u,location:a.location,navigationType:a.historyAction,navigator:s},a.initialized?v.createElement(li,{routes:r.routes,state:a}):t))),null)}function li(e){let{routes:t,state:r}=e;return Qo(t,void 0,r)}function Bt(e){return gr(e.context)}function Sr(e){let{basename:t="/",children:r=null,location:n,navigationType:a=z.Pop,navigator:o,static:i=!1}=e;qe()&&O(!1);let l=t.replace(/^\/*/,"/"),s=v.useMemo(()=>({basename:l,navigator:o,static:i}),[l,o,i]);typeof n=="string"&&(n=re(n));let{pathname:u="/",search:c="",hash:m="",state:R=null,key:w="default"}=n,g=v.useMemo(()=>{let E=_e(u,l);return E==null?null:{location:{pathname:E,search:c,hash:m,state:R,key:w},navigationType:a}},[l,u,c,m,R,w,a]);return g==null?null:v.createElement(ye.Provider,{value:s},v.createElement(pt.Provider,{children:r,value:g}))}function xr(e){let{children:t,errorElement:r,resolve:n}=e;return v.createElement(vr,{resolve:n,errorElement:r},v.createElement(ui,null,t))}function ui(e){let{children:t}=e,r=br(),n=typeof t=="function"?t(r):t;return v.createElement(v.Fragment,null,n)}function Bn(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:v.createElement(e.Component),Component:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:v.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}var v,xe,Le,kt,ye,pt,Re,In,qo,ei,yr,Rr,Se,ii,kn,ie,si,vr,Nr=Z(()=>{v=Te(be());Ge();Ge();xe=v.createContext(null),Le=v.createContext(null),kt=v.createContext(null),ye=v.createContext(null),pt=v.createContext(null),Re=v.createContext({outlet:null,matches:[],isDataRoute:!1}),In=v.createContext(null);qo=v.createContext(null);ei=v.createElement(Zo,null),yr=class extends v.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error?v.createElement(Re.Provider,{value:this.props.routeContext},v.createElement(In.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"})(Rr||(Rr={}));(function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"})(Se||(Se={}));ii="startTransition",kn=v[ii];(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(ie||(ie={}));si=new Promise(()=>{}),vr=class extends v.Component{constructor(t){super(t),this.state={error:null}}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t,r){console.error("<Await> caught the following error during render",t,r)}render(){let{children:t,errorElement:r,resolve:n}=this.props,a=null,o=ie.pending;if(!(n instanceof Promise))o=ie.success,a=Promise.resolve(),Object.defineProperty(a,"_tracked",{get:()=>!0}),Object.defineProperty(a,"_data",{get:()=>n});else if(this.state.error){o=ie.error;let i=this.state.error;a=Promise.reject().catch(()=>{}),Object.defineProperty(a,"_tracked",{get:()=>!0}),Object.defineProperty(a,"_error",{get:()=>i})}else n._tracked?(a=n,o=a._error!==void 0?ie.error:a._data!==void 0?ie.success:ie.pending):(o=ie.pending,Object.defineProperty(n,"_tracked",{get:()=>!0}),a=n.then(i=>Object.defineProperty(n,"_data",{get:()=>i}),i=>Object.defineProperty(n,"_error",{get:()=>i})));if(o===ie.error&&a._error instanceof me)throw si;if(o===ie.error&&!r)throw a._error;if(o===ie.error)return v.createElement(kt.Provider,{value:a,children:r});if(o===ie.success)return v.createElement(kt.Provider,{value:a,children:t});throw a}}});function $e(){return $e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$e.apply(this,arguments)}function Vn(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o<n.length;o++)a=n[o],!(t.indexOf(a)>=0)&&(r[a]=e[a]);return r}function gi(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Ei(e,t){return e.button===0&&(!t||t==="_self")&&!gi(e)}function zn(e,t){return mr({basename:t?.basename,future:$e({},t?.future,{v7_prependBasename:!0}),history:Cn({window:t?.window}),hydrationData:t?.hydrationData||_i(),routes:e,mapRouteProperties:Bn}).initialize()}function _i(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=$e({},t,{errors:Si(t.errors)})),t}function Si(e){if(!e)return null;let t=Object.entries(e),r={};for(let[n,a]of t)if(a&&a.__type==="RouteErrorResponse")r[n]=new Pe(a.status,a.statusText,a.data,a.internal===!0);else if(a&&a.__type==="Error"){if(a.__subType){let o=window[a.__subType];if(typeof o=="function")try{let i=new o(a.message);i.stack="",r[n]=i}catch{}}if(r[n]==null){let o=new Error(a.message);o.stack="",r[n]=o}}else r[n]=a;return r}function Ci(e){let t=B.useContext(xe);return t||O(!1),t}function Pi(e){let t=B.useContext(Le);return t||O(!1),t}function Li(e,t){let{target:r,replace:n,state:a,preventScrollReset:o,relative:i}=t===void 0?{}:t,l=Tt(),s=ne(),u=Qe(e,{relative:i});return B.useCallback(c=>{if(Ei(c,r)){c.preventDefault();let m=n!==void 0?n:fe(s)===fe(u);l(e,{replace:m,state:a,preventScrollReset:o,relative:i})}},[s,l,u,n,a,r,e,o,i])}function Jn(e){let{getKey:t,storageKey:r}=e===void 0?{}:e,{router:n}=Ci(Dr.UseScrollRestoration),{restoreScrollPosition:a,preventScrollReset:o}=Pi(Cr.UseScrollRestoration),{basename:i}=B.useContext(ye),l=ne(),s=yt(),u=Ze();B.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),Mi(B.useCallback(()=>{if(u.state==="idle"){let c=(t?t(l,s):null)||l.key;$t[c]=window.scrollY}sessionStorage.setItem(r||$n,JSON.stringify($t)),window.history.scrollRestoration="auto"},[r,t,u.state,l,s])),typeof document<"u"&&(B.useLayoutEffect(()=>{try{let c=sessionStorage.getItem(r||$n);c&&($t=JSON.parse(c))}catch{}},[r]),B.useLayoutEffect(()=>{let c=t&&i!=="/"?(R,w)=>t($e({},R,{pathname:_e(R.pathname,i)||R.pathname}),w):t,m=n?.enableScrollRestoration($t,()=>window.scrollY,c);return()=>m&&m()},[n,i,t]),B.useLayoutEffect(()=>{if(a!==!1){if(typeof a=="number"){window.scrollTo(0,a);return}if(l.hash){let c=document.getElementById(decodeURIComponent(l.hash.slice(1)));if(c){c.scrollIntoView();return}}o!==!0&&window.scrollTo(0,0)}},[l,a,o]))}function Mi(e,t){let{capture:r}=t||{};B.useEffect(()=>{let n=r!=null?{capture:r}:void 0;return window.addEventListener("pagehide",e,n),()=>{window.removeEventListener("pagehide",e,n)}},[e,r])}var B,wi,bi,xi,Tl,Ni,Di,Pr,Wn,Dr,Cr,$n,$t,Me=Z(()=>{B=Te(be());Nr();Nr();Ge();wi=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],bi=["aria-current","caseSensitive","className","end","style","to","children"];xi="startTransition",Tl=B[xi],Ni=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Di=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Pr=B.forwardRef(function(t,r){let{onClick:n,relative:a,reloadDocument:o,replace:i,state:l,target:s,to:u,preventScrollReset:c}=t,m=Vn(t,wi),{basename:R}=B.useContext(ye),w,g=!1;if(typeof u=="string"&&Di.test(u)&&(w=u,Ni))try{let U=new URL(window.location.href),D=u.startsWith("//")?new URL(U.protocol+u):new URL(u),d=_e(D.pathname,R);D.origin===U.origin&&d!=null?u=d+D.search+D.hash:g=!0}catch{}let E=je(u,{relative:a}),b=Li(u,{replace:i,state:l,target:s,preventScrollReset:c,relative:a});function x(U){n&&n(U),U.defaultPrevented||b(U)}return B.createElement("a",$e({},m,{href:w||E,onClick:g||o?n:x,ref:r,target:s}))}),Wn=B.forwardRef(function(t,r){let{"aria-current":n="page",caseSensitive:a=!1,className:o="",end:i=!1,style:l,to:s,children:u}=t,c=Vn(t,bi),m=Qe(s,{relative:c.relative}),R=ne(),w=B.useContext(Le),{navigator:g}=B.useContext(ye),E=g.encodeLocation?g.encodeLocation(m).pathname:m.pathname,b=R.pathname,x=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;a||(b=b.toLowerCase(),x=x?x.toLowerCase():null,E=E.toLowerCase());let U=b===E||!i&&b.startsWith(E)&&b.charAt(E.length)==="/",D=x!=null&&(x===E||!i&&x.startsWith(E)&&x.charAt(E.length)==="/"),d=U?n:void 0,C;typeof o=="function"?C=o({isActive:U,isPending:D}):C=[o,U?"active":null,D?"pending":null].filter(Boolean).join(" ");let T=typeof l=="function"?l({isActive:U,isPending:D}):l;return B.createElement(Pr,$e({},c,{"aria-current":d,className:C,ref:r,style:T,to:s}),typeof u=="function"?u({isActive:U,isPending:D}):u)});(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(Dr||(Dr={}));(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Cr||(Cr={}));$n="react-router-scroll-positions",$t={}});function W(){return W=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},W.apply(this,arguments)}var Lr=Z(()=>{});function et({error:e}){return k.default.useEffect(()=>{console.error(e)},[e]),k.default.createElement("html",{lang:"en"},k.default.createElement("head",null,k.default.createElement("meta",{charSet:"utf-8"}),k.default.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1, viewport-fit=cover"}),k.default.createElement("title",null,"Application Error!")),k.default.createElement("body",null,k.default.createElement("main",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem"}},k.default.createElement("h1",{style:{fontSize:"24px"}},"Application Error"),e.stack?k.default.createElement("pre",{style:{padding:"2rem",background:"hsla(10, 50%, 50%, 0.1)",color:"red",overflow:"auto"}},e.stack):null),k.default.createElement("script",{dangerouslySetInnerHTML:{__html:`
|
|
3
|
+
console.log(
|
|
4
|
+
"\u{1F4BF} Hey developer\u{1F44B}. You can provide a way better UX than this when your app throws errors. Check out https://remix.run/guides/errors for more information."
|
|
5
|
+
);
|
|
6
|
+
`}})))}function Kn(){let e=Be();if(pe(e))return k.default.createElement(qn,{caught:e});if(e instanceof Error)return k.default.createElement(et,{error:e});{let t=e==null?"Unknown Error":typeof e=="object"&&"toString"in e?e.toString():JSON.stringify(e);return k.default.createElement(et,{error:new Error(t)})}}function Oi(){return(0,k.useContext)(Xn)}function Yn({catch:e,component:t,children:r}){return e?k.default.createElement(Xn.Provider,{value:e},k.default.createElement(t,null)):k.default.createElement(k.default.Fragment,null,r)}function Gn(){let e=Oi();return k.default.createElement(qn,{caught:e})}function qn({caught:e}){return k.default.createElement("html",{lang:"en"},k.default.createElement("head",null,k.default.createElement("meta",{charSet:"utf-8"}),k.default.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1, viewport-fit=cover"}),k.default.createElement("title",null,"Unhandled Thrown Response!")),k.default.createElement("body",null,k.default.createElement("h1",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem"}},e.status," ",e.statusText),k.default.createElement("script",{dangerouslySetInnerHTML:{__html:`
|
|
7
|
+
console.log(
|
|
8
|
+
"\u{1F4BF} Hey developer\u{1F44B}. You can provide a way better UX than this when your app throws 404s (and other responses). Check out https://remix.run/guides/not-found for more information."
|
|
9
|
+
);
|
|
10
|
+
`}})))}var k,Ht,Xn,Mr=Z(()=>{k=Te(be());Me();Ht=class extends k.default.Component{constructor(t){super(t),this.state={error:t.error||null,location:t.location}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location?{error:t.error||null,location:t.location}:{error:t.error||r.error,location:r.location}}render(){return this.state.error?k.default.createElement(this.props.component,{error:this.state.error}):this.props.children}};Xn=k.default.createContext(void 0)});function he(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}var Or=Z(()=>{});async function Vt(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch{return window.location.reload(),new Promise(()=>{})}}var Ar=Z(()=>{});function Qn(e,t,r){let n=e.map(o=>{var i;let l=t[o.route.id];return((i=l.links)===null||i===void 0?void 0:i.call(l))||[]}).flat(1),a=Ui(e,r);return ki(n,a)}async function Zn(e){if(!e.links)return;let t=e.links();if(!t)return;let r=[];for(let a of t)!zt(a)&&a.rel==="stylesheet"&&r.push({...a,rel:"preload",as:"style"});let n=r.filter(a=>(!a.media||window.matchMedia(a.media).matches)&&!document.querySelector(`link[rel="stylesheet"][href="${a.href}"]`));await Promise.all(n.map(Ai))}async function Ai(e){return new Promise(t=>{let r=document.createElement("link");Object.assign(r,e);function n(){document.head.contains(r)&&document.head.removeChild(r)}r.onload=()=>{n(),t()},r.onerror=()=>{n(),t()},document.head.appendChild(r)})}function zt(e){return e!=null&&typeof e.page=="string"}function Fi(e){return e==null?!1:e.href==null?e.rel==="preload"&&(typeof e.imageSrcSet=="string"||typeof e.imagesrcset=="string")&&(typeof e.imageSizes=="string"||typeof e.imagesizes=="string"):typeof e.rel=="string"&&typeof e.href=="string"}async function ea(e,t,r){return(await Promise.all(e.map(async a=>{let o=await Vt(t.routes[a.route.id],r);return o.links?o.links():[]}))).flat(1).filter(Fi).filter(a=>a.rel==="stylesheet"||a.rel==="preload").map(a=>a.rel==="preload"?{...a,rel:"prefetch"}:{...a,rel:"prefetch",as:"style"})}function Fr(e,t,r,n,a,o){let i=na(e),l=(c,m)=>r[m]?c.route.id!==r[m].route.id:!0,s=(c,m)=>{var R;return r[m].pathname!==c.pathname||((R=r[m].route.path)===null||R===void 0?void 0:R.endsWith("*"))&&r[m].params["*"]!==c.params["*"]};return o==="data"&&a.search!==i.search?t.filter((c,m)=>{if(!n.routes[c.route.id].hasLoader)return!1;if(l(c,m)||s(c,m))return!0;if(c.route.shouldRevalidate){var w;let g=c.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:((w=r[0])===null||w===void 0?void 0:w.params)||{},nextUrl:new URL(e,window.origin),nextParams:c.params,defaultShouldRevalidate:!0});if(typeof g=="boolean")return g}return!0}):t.filter((c,m)=>{let R=n.routes[c.route.id];return(o==="assets"||R.hasLoader)&&(l(c,m)||s(c,m))})}function ta(e,t,r){let n=na(e);return Ur(t.filter(a=>r.routes[a.route.id].hasLoader).map(a=>{let{pathname:o,search:i}=n,l=new URLSearchParams(i);return l.set("_data",a.route.id),`${o}?${l}`}))}function ra(e,t){return Ur(e.map(r=>{let n=t.routes[r.route.id],a=[n.module];return n.imports&&(a=a.concat(n.imports)),a}).flat(1))}function Ui(e,t){return Ur(e.map(r=>{let n=t.routes[r.route.id],a=[n.module];return n.imports&&(a=a.concat(n.imports)),a}).flat(1))}function Ur(e){return[...new Set(e)]}function ki(e,t){let r=new Set,n=new Set(t);return e.reduce((a,o)=>{if(!zt(o)&&o.as==="script"&&o.href&&n.has(o.href))return a;let l=JSON.stringify(o);return r.has(l)||(r.add(l),a.push(o)),a},[])}function na(e){let t=re(e);return t.search===void 0&&(t.search=""),t}var kr=Z(()=>{Me();Ar();});function Rt(e){return e.replace(Ii,t=>Ti[t])}function Tr(e){return{__html:e}}var Ti,Ii,aa=Z(()=>{Ti={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},Ii=/[&><\u2028\u2029]/g});function ia(){let e=y.useContext(xe);return he(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function gt(){let e=y.useContext(Le);return he(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}function ve(){let e=y.useContext(Et);return he(e,"You must render this element inside a <Remix> element"),e}function la({id:e}){let{routeModules:t,future:r}=ve();he(t,`Cannot initialize 'routeModules'. This normally occurs when you have server code in your client modules.
|
|
11
|
+
Check this link for more details:
|
|
12
|
+
https://remix.run/pages/gotchas#server-code-in-client-bundles`);let{default:n,ErrorBoundary:a,CatchBoundary:o}=t[e];return!n&&(a||!r.v2_errorBoundary&&o)&&(n=Bt),he(n,`Route "${e}" has no component! Please go add a \`default\` export in the route module file.
|
|
13
|
+
If you were trying to navigate or submit to a resource route, use \`<a>\` instead of \`<Link>\` or \`<Form reloadDocument>\`.`),y.createElement(n,null)}function sa({id:e}){let{future:t,routeModules:r}=ve();he(r,`Cannot initialize 'routeModules'. This normally occurs when you have server code in your client modules.
|
|
14
|
+
Check this link for more details:
|
|
15
|
+
https://remix.run/pages/gotchas#server-code-in-client-bundles`);let n=Be(),{CatchBoundary:a,ErrorBoundary:o}=r[e];if(t.v2_errorBoundary){if(e==="root"&&(o||(o=Kn)),o)return y.createElement(o,null);throw n}if(e==="root"&&(a||(a=Gn),o||(o=et)),pe(n)){let i=n;if(i!=null&&i.error&&i.status!==404&&o)return y.createElement(o,{error:i.error});if(a)return y.createElement(Yn,{catch:n,component:a})}if(n instanceof Error&&o)return y.createElement(o,{error:n});throw n}function ua(e,t){let[r,n]=y.useState(!1),[a,o]=y.useState(!1),{onFocus:i,onBlur:l,onMouseEnter:s,onMouseLeave:u,onTouchStart:c}=t,m=y.useRef(null);y.useEffect(()=>{if(e==="render"&&o(!0),e==="viewport"){let g=b=>{b.forEach(x=>{o(x.isIntersecting)})},E=new IntersectionObserver(g,{threshold:.5});return m.current&&E.observe(m.current),()=>{E.disconnect()}}},[e]);let R=()=>{e==="intent"&&n(!0)},w=()=>{e==="intent"&&(n(!1),o(!1))};return y.useEffect(()=>{if(r){let g=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(g)}}},[r]),[a,m,{onFocus:vt(i,R),onBlur:vt(l,w),onMouseEnter:vt(s,R),onMouseLeave:vt(u,w),onTouchStart:vt(c,R)}]}function vt(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function Bi(){let{manifest:e,routeModules:t}=ve(),{errors:r,matches:n}=gt(),a=r?n.slice(0,n.findIndex(i=>r[i.route.id])+1):n,o=y.useMemo(()=>Qn(a,t,e),[a,t,e]);return y.useEffect(()=>{o.some(i=>"imagesizes"in i||"imagesrcset"in i)&&void 0},[o]),y.createElement(y.Fragment,null,o.map(i=>{if(zt(i))return y.createElement(Wt,W({key:i.page},i));let l=null;return"useId"in y?(i.imagesrcset&&(i.imageSrcSet=l=i.imagesrcset,delete i.imagesrcset),i.imagesizes&&(i.imageSizes=i.imagesizes,delete i.imagesizes)):(i.imageSrcSet&&(i.imagesrcset=l=i.imageSrcSet,delete i.imageSrcSet),i.imageSizes&&(i.imagesizes=i.imageSizes,delete i.imageSizes)),y.createElement("link",W({key:i.rel+(i.href||"")+(l||"")},i))}))}function Wt({page:e,...t}){let{router:r}=ia(),n=y.useMemo(()=>oe(r.routes,e),[r.routes,e]);return n?y.createElement(Hi,W({page:e,matches:n},t)):(console.warn(`Tried to prefetch ${e} but no routes matched.`),null)}function $i(e){let{manifest:t,routeModules:r}=ve(),[n,a]=y.useState([]);return y.useEffect(()=>{let o=!1;return ea(e,t,r).then(i=>{o||a(i)}),()=>{o=!0}},[e,t,r]),n}function Hi({page:e,matches:t,...r}){let n=ne(),{manifest:a}=ve(),{matches:o}=gt(),i=y.useMemo(()=>Fr(e,t,o,a,n,"data"),[e,t,o,a,n]),l=y.useMemo(()=>Fr(e,t,o,a,n,"assets"),[e,t,o,a,n]),s=y.useMemo(()=>ta(e,i,a),[i,e,a]),u=y.useMemo(()=>ra(l,a),[l,a]),c=$i(l);return y.createElement(y.Fragment,null,s.map(m=>y.createElement("link",W({key:m,rel:"prefetch",as:"fetch",href:m},r))),u.map(m=>y.createElement("link",W({key:m,rel:"modulepreload",href:m},r))),c.map(m=>y.createElement("link",W({key:m.href},m))))}function Vi(){let{routeModules:e}=ve(),{errors:t,matches:r,loaderData:n}=gt(),a=ne(),o=t?r.slice(0,r.findIndex(s=>t[s.route.id])+1):r,i={},l={};for(let s of o){let u=s.route.id,c=n[u],m=s.params,R=e[u];if(R.meta){let w=typeof R.meta=="function"?R.meta({data:c,parentsData:l,params:m,location:a}):R.meta;if(w&&Array.isArray(w))throw new Error("The route at "+s.route.path+" returns an array. This is only supported with the `v2_meta` future flag in the Remix config. Either set the flag to `true` or update the route's meta function to return an object.\n\nTo reference the v1 meta function API, see https://remix.run/route/meta");Object.assign(i,w)}l[u]=c}return y.createElement(y.Fragment,null,Object.entries(i).map(([s,u])=>{if(!u)return null;if(["charset","charSet"].includes(s))return y.createElement("meta",{key:"charSet",charSet:u});if(s==="title")return y.createElement("title",{key:"title"},String(u));let c=/^(og|music|video|article|book|profile|fb):.+$/.test(s);return[u].flat().map(m=>c?y.createElement("meta",{property:s,content:m,key:s+m}):typeof m=="string"?y.createElement("meta",{name:s,content:m,key:s+m}):y.createElement("meta",W({key:s+JSON.stringify(m)},m)))}))}function zi(){let{routeModules:e}=ve(),{errors:t,matches:r,loaderData:n}=gt(),a=ne(),o=t?r.slice(0,r.findIndex(u=>t[u.route.id])+1):r,i=[],l=null,s=[];for(let u=0;u<o.length;u++){let c=o[u],m=c.route.id,R=n[m],w=c.params,g=e[m],E=[],b={id:m,data:R,meta:[],params:c.params,pathname:c.pathname,handle:c.route.handle,get route(){return console.warn("The meta function in "+c.route.path+" accesses the `route` property on `matches`. This is deprecated and will be removed in Remix version 2. See"),c.route}};if(s[u]=b,g!=null&&g.meta?E=typeof g.meta=="function"?g.meta({data:R,params:w,location:a,matches:s}):Array.isArray(g.meta)?[...g.meta]:g.meta:l&&(E=[...l]),E=E||[],!Array.isArray(E))throw new Error("The `v2_meta` API is enabled in the Remix config, but the route at "+c.route.path+` returns an invalid value. In v2, all route meta functions must return an array of meta objects.
|
|
16
|
+
|
|
17
|
+
To reference the v1 meta function API, see https://remix.run/route/meta`);b.meta=E,s[u]=b,i=[...E],l=i}return y.createElement(y.Fragment,null,i.flat().map(u=>{if(!u)return null;if("tagName"in u){let c=u.tagName;return delete u.tagName,Wi(c)?y.createElement(c,W({key:JSON.stringify(u)},u)):(console.warn(`A meta object uses an invalid tagName: ${c}. Expected either 'link' or 'meta'`),null)}if("title"in u)return y.createElement("title",{key:"title"},String(u.title));if("charset"in u&&(u.charSet??(u.charSet=u.charset),delete u.charset),"charSet"in u&&u.charSet!=null)return typeof u.charSet=="string"?y.createElement("meta",{key:"charSet",charSet:u.charSet}):null;if("script:ld+json"in u){let c=null;try{c=JSON.stringify(u["script:ld+json"])}catch{}return c!=null&&y.createElement("script",{key:"script:ld+json",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(u["script:ld+json"])}})}return y.createElement("meta",W({key:JSON.stringify(u)},u))}))}function Wi(e){return typeof e=="string"&&/^(meta|link)$/.test(e)}function Ji(){let{future:e}=ve();return e!=null&&e.v2_meta?y.createElement(zi,null):y.createElement(Vi,null)}function ha(e){return y.createElement(xr,e)}function Ki(e){let{manifest:t,serverHandoffString:r,abortDelay:n,serializeError:a}=ve(),{router:o,static:i,staticContext:l}=ia(),{matches:s}=gt(),u=Ze();y.useEffect(()=>{Ir=!0},[]);let c=(D,d)=>{let C;return a&&d instanceof Error?C=a(d):C=d,`${JSON.stringify(D)}:__remixContext.p(!1, ${Rt(JSON.stringify(C))})`},m=(D,d,C)=>{let T;try{T=JSON.stringify(C)}catch(A){return c(d,A)}return`${JSON.stringify(d)}:__remixContext.p(${Rt(T)})`},R=(D,d,C)=>{let T;return a&&C instanceof Error?T=a(C):T=C,`__remixContext.r(${JSON.stringify(D)}, ${JSON.stringify(d)}, !1, ${Rt(JSON.stringify(T))})`},w=(D,d,C)=>{let T;try{T=JSON.stringify(C)}catch(A){return R(D,d,A)}return`__remixContext.r(${JSON.stringify(D)}, ${JSON.stringify(d)}, ${Rt(T)})`},g=[],E=y.useMemo(()=>{var D;let d=l?`window.__remixContext = ${r};`:" ",C=l?.activeDeferreds;d+=C?["__remixContext.p = function(v,e,p,x) {"," if (typeof e !== 'undefined') {",` x=new Error("Unexpected Server Error");
|
|
18
|
+
x.stack=undefined;`," p=Promise.reject(x);"," } else {"," p=Promise.resolve(v);"," }"," return p;","};","__remixContext.n = function(i,k) {"," __remixContext.t = __remixContext.t || {};"," __remixContext.t[i] = __remixContext.t[i] || {};"," let p = new Promise((r, e) => {__remixContext.t[i][k] = {r:(v)=>{r(v);},e:(v)=>{e(v);}};});",typeof n=="number"?`setTimeout(() => {if(typeof p._error !== "undefined" || typeof p._data !== "undefined"){return;} __remixContext.t[i][k].e(new Error("Server timeout."))}, ${n});`:""," return p;","};","__remixContext.r = function(i,k,v,e,p,x) {"," p = __remixContext.t[i][k];"," if (typeof e !== 'undefined') {",` x=new Error("Unexpected Server Error");
|
|
19
|
+
x.stack=undefined;`," p.e(x);"," } else {"," p.r(v);"," }","};"].join(`
|
|
20
|
+
`)+Object.entries(C).map(([A,K])=>{let ae=new Set(K.pendingKeys),le=K.deferredKeys.map(ee=>{if(ae.has(ee))return g.push(y.createElement(oa,{key:`${A} | ${ee}`,deferredData:K,routeId:A,dataKey:ee,scriptProps:e,serializeData:w,serializeError:R})),`${JSON.stringify(ee)}:__remixContext.n(${JSON.stringify(A)}, ${JSON.stringify(ee)})`;{let V=K.data[ee];return typeof V._error<"u"?c(ee,V._error):m(A,ee,V._data)}}).join(`,
|
|
21
|
+
`);return`Object.assign(__remixContext.state.loaderData[${JSON.stringify(A)}], {${le}});`}).join(`
|
|
22
|
+
`)+(g.length>0?`__remixContext.a=${g.length};`:""):"";let T=i?`${(D=t.hmr)!==null&&D!==void 0&&D.runtime?`import ${JSON.stringify(t.hmr.runtime)};`:""}import ${JSON.stringify(t.url)};
|
|
23
|
+
${s.map((A,K)=>`import * as route${K} from ${JSON.stringify(t.routes[A.route.id].module)};`).join(`
|
|
24
|
+
`)}
|
|
25
|
+
window.__remixRouteModules = {${s.map((A,K)=>`${JSON.stringify(A.route.id)}:route${K}`).join(",")}};
|
|
26
|
+
|
|
27
|
+
import(${JSON.stringify(t.entry.module)});`:" ";return y.createElement(y.Fragment,null,y.createElement("script",W({},e,{suppressHydrationWarning:!0,dangerouslySetInnerHTML:Tr(d),type:void 0})),y.createElement("script",W({},e,{suppressHydrationWarning:!0,dangerouslySetInnerHTML:Tr(T),type:"module",async:!0})))},[]);if(!i&&typeof __remixContext=="object"&&__remixContext.a)for(let D=0;D<__remixContext.a;D++)g.push(y.createElement(oa,{key:D,scriptProps:e,serializeData:w,serializeError:R}));let b=y.useMemo(()=>{if(u.location){let D=oe(o.routes,u.location);return he(D,`No routes match path "${u.location.pathname}"`),D}return[]},[u.location,o.routes]),x=s.concat(b).map(D=>{let d=t.routes[D.route.id];return(d.imports||[]).concat([d.module])}).flat(1),U=Ir?[]:t.entry.imports.concat(x);return Ir?null:y.createElement(y.Fragment,null,y.createElement("link",{rel:"modulepreload",href:t.entry.module,crossOrigin:e.crossOrigin}),Yi(U).map(D=>y.createElement("link",{key:D,rel:"modulepreload",href:D,crossOrigin:e.crossOrigin})),E,g)}function oa({dataKey:e,deferredData:t,routeId:r,scriptProps:n,serializeData:a,serializeError:o}){return typeof document>"u"&&t&&e&&r&&he(t.pendingKeys.includes(e),`Deferred data for route ${r} with key ${e} was not pending but tried to render a script for it.`),y.createElement(y.Suspense,{fallback:typeof document>"u"&&t&&e&&r?null:y.createElement("script",W({},n,{async:!0,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:" "}}))},typeof document>"u"&&t&&e&&r?y.createElement(ha,{resolve:t.data[e],errorElement:y.createElement(Xi,{dataKey:e,routeId:r,scriptProps:n,serializeError:o}),children:i=>y.createElement("script",W({},n,{async:!0,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:a(r,e,i)}}))}):y.createElement("script",W({},n,{async:!0,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:" "}})))}function Xi({dataKey:e,routeId:t,scriptProps:r,serializeError:n}){let a=jt();return y.createElement("script",W({},r,{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:n(t,e,a)}}))}function Yi(e){return[...new Set(e)]}function jr(){let{routeModules:e}=ve(),t=yt();return y.useMemo(()=>t.map(r=>({id:r.id,pathname:r.pathname,params:r.params,data:r.data,handle:e[r.id].handle})),[t,e])}function Gi(){return wr()}function ma(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var y,Et,ca,da,fa,ji,Ir,qi,wt=Z(()=>{Lr();y=Te(be());Me();Mr();Or();kr();aa();Et=y.createContext(void 0);Et.displayName="Remix";ca=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,da=y.forwardRef(({to:e,prefetch:t="none",...r},n)=>{let a=typeof e=="string"&&ca.test(e),o=je(e),[i,l,s]=ua(t,r);return y.createElement(y.Fragment,null,y.createElement(Wn,W({},r,s,{ref:ma(n,l),to:e})),i&&!a?y.createElement(Wt,{page:o}):null)});da.displayName="NavLink";fa=y.forwardRef(({to:e,prefetch:t="none",...r},n)=>{let a=typeof e=="string"&&ca.test(e),o=je(e),[i,l,s]=ua(t,r);return y.createElement(y.Fragment,null,y.createElement(Pr,W({},r,s,{ref:ma(n,l),to:e})),i&&!a?y.createElement(Wt,{page:o}):null)});fa.displayName="Link";ji="\u26A0\uFE0F REMIX FUTURE CHANGE: The behavior of links `imagesizes` and `imagesrcset` will be changing in v2. Only the React camel case versions will be valid. Please change to `imageSizes` and `imageSrcSet`. For instructions on making this change see https://remix.run/docs/en/v1.15.0/pages/v2#links-imagesizes-and-imagesrcset";Ir=!1;qi=()=>null});function pa(e){if(!e)return null;let t=Object.entries(e),r={};for(let[n,a]of t)if(a&&a.__type==="RouteErrorResponse")r[n]=new Pe(a.status,a.statusText,a.data,a.internal===!0);else if(a&&a.__type==="Error"){if(a.__subType){let o=window[a.__subType];if(typeof o=="function")try{let i=new o(a.message);i.stack=a.stack,r[n]=i}catch{}}if(r[n]==null){let o=new Error(a.message);o.stack=a.stack,r[n]=o}}else r[n]=a;return r}var ya=Z(()=>{Ge();});function va(e){return e.headers.get("X-Remix-Catch")!=null}function Qi(e){return e.headers.get("X-Remix-Error")!=null}function Zi(e){return el(e)&&e.status>=400&&e.headers.get("X-Remix-Error")==null&&e.headers.get("X-Remix-Catch")==null&&e.headers.get("X-Remix-Response")==null}function ga(e){return e.headers.get("X-Remix-Redirect")!=null}function Ea(e){var t;return!!((t=e.headers.get("Content-Type"))!==null&&t!==void 0&&t.match(/text\/remix-deferred/))}function el(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}async function Br(e,t,r=0){let n=new URL(e.url);n.searchParams.set("_data",t);let a={signal:e.signal};if(e.method!=="GET"){a.method=e.method;let l=e.headers.get("Content-Type");l&&/\bapplication\/json\b/.test(l)?(a.headers={"Content-Type":l},a.body=JSON.stringify(await e.json())):l&&/\btext\/plain\b/.test(l)?(a.headers={"Content-Type":l},a.body=await e.text()):l&&/\bapplication\/x-www-form-urlencoded\b/.test(l)?a.body=new URLSearchParams(await e.text()):a.body=await e.formData()}r>0&&await new Promise(l=>setTimeout(l,5**r*10));let o=window.__remixRevalidation,i=await fetch(n.href,a).catch(l=>{if(typeof o=="number"&&o===window.__remixRevalidation&&l?.name==="TypeError"&&r<3)return Br(e,t,r+1);throw l});if(Qi(i)){let l=await i.json(),s=new Error(l.message);return s.stack=l.stack,s}if(Zi(i)){let l=await i.text(),s=new Error(l);return s.stack=void 0,s}return i}async function wa(e){if(!e)throw new Error("parseDeferredReadableStream requires stream argument");let t,r={};try{let n=rl(e),o=(await n.next()).value;if(!o)throw new Error("no critical data");let i=JSON.parse(o);if(typeof i=="object"&&i!==null)for(let[l,s]of Object.entries(i))typeof s!="string"||!s.startsWith(tl)||(t=t||{},t[l]=new Promise((u,c)=>{r[l]={resolve:m=>{u(m),delete r[l]},reject:m=>{c(m),delete r[l]}}}));return(async()=>{try{for await(let l of n){let[s,...u]=l.split(":"),c=u.join(":"),m=JSON.parse(c);if(s==="data")for(let[R,w]of Object.entries(m))r[R]&&r[R].resolve(w);else if(s==="error")for(let[R,w]of Object.entries(m)){let g=new Error(w.message);g.stack=w.stack,r[R]&&r[R].reject(g)}}for(let[l,s]of Object.entries(r))s.reject(new me(`Deferred ${l} will never be resolved`))}catch(l){for(let s of Object.values(r))s.reject(l)}})(),new Mt({...i,...t})}catch(n){for(let a of Object.values(r))a.reject(n);throw n}}async function*rl(e){let t=e.getReader(),r=[],n=[],a=!1,o=new TextEncoder,i=new TextDecoder,l=async()=>{if(n.length>0)return n.shift();for(;!a&&n.length===0;){let u=await t.read();if(u.done){a=!0;break}r.push(u.value);try{let m=i.decode(Ra(...r)).split(`
|
|
28
|
+
|
|
29
|
+
`);if(m.length>=2&&(n.push(...m.slice(0,-1)),r=[o.encode(m.slice(-1).join(`
|
|
30
|
+
|
|
31
|
+
`))]),n.length>0)break}catch{continue}}return n.length>0||r.length>0&&(n=i.decode(Ra(...r)).split(`
|
|
32
|
+
|
|
33
|
+
`).filter(c=>c),r=[]),n.shift()},s=await l();for(;s;)yield s,s=await l()}function Ra(...e){let t=new Uint8Array(e.reduce((n,a)=>n+a.length,0)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t}var tl,ba=Z(()=>{Ge();tl="__deferred_promise:"});function nl(e){let t={};return Object.values(e).forEach(r=>{let n=r.parentId||"";t[n]||(t[n]=[]),t[n].push(r)}),t}function Hr(e,t,r,n="",a=nl(e),o){return(a[n]||[]).map(i=>{let l=r.v2_errorBoundary===!0?i.id==="root"||i.hasErrorBoundary:i.id==="root"||i.hasCatchBoundary||i.hasErrorBoundary,s={caseSensitive:i.caseSensitive,element:$r.createElement(la,{id:i.id}),errorElement:l?$r.createElement(sa,{id:i.id}):void 0,id:i.id,index:i.index,path:i.path,handle:void 0,loader:_a(i,t,!1),action:_a(i,t,!0),shouldRevalidate:al(i,t,o)},u=Hr(e,t,r,i.id,a,o);return u.length>0&&(s.children=u),s})}function al(e,t,r){let n=!1;return function(a){let o=t[e.id];return he(o,`Expected route module to be loaded for ${e.id}`),r!==void 0&&!n?(n=!0,r.has(e.id)):o.shouldRevalidate?o.shouldRevalidate(a):a.defaultShouldRevalidate}}async function ol(e,t){let r=await Vt(e,t);return await Zn(r),r}function _a(e,t,r){return async({request:n})=>{let a=ol(e,t);try{if(r&&!e.hasAction){let i=`Route "${e.id}" does not have an action, but you are trying to submit to it. To fix this, please add an \`action\` function to the route`;throw console.error(i),new Error(i)}else if(!r&&!e.hasLoader)return null;let o=await Br(n,e.id);if(o instanceof Error)throw o;if(ga(o))throw il(o);if(va(o))throw o;return Ea(o)&&o.body?await wa(o.body):o}finally{await a}}}function il(e){let t=parseInt(e.headers.get("X-Remix-Status"),10)||302,r=e.headers.get("X-Remix-Redirect"),n={},a=e.headers.get("X-Remix-Revalidate");return a&&(n["X-Remix-Revalidate"]=a),Ft(r,{status:t,headers:n})}var $r,Sa=Z(()=>{$r=Te(be());Me();Ar();ba();kr();Or();wt();});function ll(e){if(!tt){let n=Hr(window.__remixManifest.routes,window.__remixRouteModules,window.__remixContext.future),a=window.__remixContext.state;a&&a.errors&&(a={...a,errors:pa(a.errors)}),tt=zn(n,{hydrationData:a,future:{v7_normalizeFormMethod:window.__remixContext.future.v2_normalizeFormMethod}});let o=window.__remixContext.url,i=window.location.pathname;if(o!==i){let l=`Initial URL (${o}) does not match URL at time of hydration (${i}), reloading page...`;console.error(l),window.location.reload()}Vr&&Vr(tt)}let[t,r]=Oe.useState(tt.state.location);return Oe.useLayoutEffect(()=>tt.subscribe(n=>{n.location!==t&&r(n.location)}),[t]),Oe.createElement(Et.Provider,{value:{manifest:window.__remixManifest,routeModules:window.__remixRouteModules,future:window.__remixContext.future}},Oe.createElement(Ht,{location:t,component:et},Oe.createElement(_r,{router:tt,fallbackElement:null,future:{v7_startTransition:!0}})))}var Oe,tt,Vr,ws,xa=Z(()=>{Oe=Te(be());Me();wt();Mr();ya();Sa();ws=new Promise(e=>{Vr=e}).catch(()=>{})});function sl({getKey:e,...t}){let r=ne(),n=jr();Jn({getKey:e,storageKey:Na});let a=Jt.useMemo(()=>{if(!e)return null;let i=e(r,n);return i!==r.key?i:null},[]),o=((i,l)=>{if(!window.history.state||!window.history.state.key){let s=Math.random().toString(32).slice(2);window.history.replaceState({key:s},"")}try{let u=JSON.parse(sessionStorage.getItem(i)||"{}")[l||window.history.state.key];typeof u=="number"&&window.scrollTo(0,u)}catch(s){console.error(s),sessionStorage.removeItem(i)}}).toString();return Jt.createElement("script",W({},t,{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${o})(${JSON.stringify(Na)}, ${JSON.stringify(a)})`}}))}var Jt,Na,Da=Z(()=>{Lr();Jt=Te(be());Me();wt();Na="positions"});var ul=Z(()=>{xa();Me();wt();Da();});var Pa=Nt(Kt=>{"use strict";var cl=be(),dl=Symbol.for("react.element"),fl=Symbol.for("react.fragment"),hl=Object.prototype.hasOwnProperty,ml=cl.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,pl={key:!0,ref:!0,__self:!0,__source:!0};function Ca(e,t,r){var n,a={},o=null,i=null;r!==void 0&&(o=""+r),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(i=t.ref);for(n in t)hl.call(t,n)&&!pl.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)a[n]===void 0&&(a[n]=t[n]);return{$$typeof:dl,type:e,key:o,ref:i,props:a,_owner:ml.current}}Kt.Fragment=fl;Kt.jsx=Ca;Kt.jsxs=Ca});var yl=Nt((zs,La)=>{"use strict";La.exports=Pa()});export{be as a,ne as b,Tt as c,Bt as d,da as e,fa as f,Bi as g,Ji as h,Ki as i,Gi as j,qi as k,ll as l,sl as m,ul as n,yl as o};
|
|
34
|
+
/*! Bundled license information:
|
|
35
|
+
|
|
36
|
+
react/cjs/react.production.min.js:
|
|
37
|
+
(**
|
|
38
|
+
* @license React
|
|
39
|
+
* react.production.min.js
|
|
40
|
+
*
|
|
41
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
42
|
+
*
|
|
43
|
+
* This source code is licensed under the MIT license found in the
|
|
44
|
+
* LICENSE file in the root directory of this source tree.
|
|
45
|
+
*)
|
|
46
|
+
|
|
47
|
+
@remix-run/router/dist/router.js:
|
|
48
|
+
(**
|
|
49
|
+
* @remix-run/router v1.7.2
|
|
50
|
+
*
|
|
51
|
+
* Copyright (c) Remix Software Inc.
|
|
52
|
+
*
|
|
53
|
+
* This source code is licensed under the MIT license found in the
|
|
54
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
55
|
+
*
|
|
56
|
+
* @license MIT
|
|
57
|
+
*)
|
|
58
|
+
|
|
59
|
+
react-router/dist/index.js:
|
|
60
|
+
(**
|
|
61
|
+
* React Router v6.14.2
|
|
62
|
+
*
|
|
63
|
+
* Copyright (c) Remix Software Inc.
|
|
64
|
+
*
|
|
65
|
+
* This source code is licensed under the MIT license found in the
|
|
66
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
67
|
+
*
|
|
68
|
+
* @license MIT
|
|
69
|
+
*)
|
|
70
|
+
|
|
71
|
+
react-router-dom/dist/index.js:
|
|
72
|
+
(**
|
|
73
|
+
* React Router DOM v6.14.2
|
|
74
|
+
*
|
|
75
|
+
* Copyright (c) Remix Software Inc.
|
|
76
|
+
*
|
|
77
|
+
* This source code is licensed under the MIT license found in the
|
|
78
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
79
|
+
*
|
|
80
|
+
* @license MIT
|
|
81
|
+
*)
|
|
82
|
+
|
|
83
|
+
@remix-run/react/dist/esm/_virtual/_rollupPluginBabelHelpers.js:
|
|
84
|
+
(**
|
|
85
|
+
* @remix-run/react v1.19.1
|
|
86
|
+
*
|
|
87
|
+
* Copyright (c) Remix Software Inc.
|
|
88
|
+
*
|
|
89
|
+
* This source code is licensed under the MIT license found in the
|
|
90
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
91
|
+
*
|
|
92
|
+
* @license MIT
|
|
93
|
+
*)
|
|
94
|
+
|
|
95
|
+
@remix-run/react/dist/esm/errorBoundaries.js:
|
|
96
|
+
(**
|
|
97
|
+
* @remix-run/react v1.19.1
|
|
98
|
+
*
|
|
99
|
+
* Copyright (c) Remix Software Inc.
|
|
100
|
+
*
|
|
101
|
+
* This source code is licensed under the MIT license found in the
|
|
102
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
103
|
+
*
|
|
104
|
+
* @license MIT
|
|
105
|
+
*)
|
|
106
|
+
|
|
107
|
+
@remix-run/react/dist/esm/invariant.js:
|
|
108
|
+
(**
|
|
109
|
+
* @remix-run/react v1.19.1
|
|
110
|
+
*
|
|
111
|
+
* Copyright (c) Remix Software Inc.
|
|
112
|
+
*
|
|
113
|
+
* This source code is licensed under the MIT license found in the
|
|
114
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
115
|
+
*
|
|
116
|
+
* @license MIT
|
|
117
|
+
*)
|
|
118
|
+
|
|
119
|
+
@remix-run/react/dist/esm/routeModules.js:
|
|
120
|
+
(**
|
|
121
|
+
* @remix-run/react v1.19.1
|
|
122
|
+
*
|
|
123
|
+
* Copyright (c) Remix Software Inc.
|
|
124
|
+
*
|
|
125
|
+
* This source code is licensed under the MIT license found in the
|
|
126
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
127
|
+
*
|
|
128
|
+
* @license MIT
|
|
129
|
+
*)
|
|
130
|
+
|
|
131
|
+
@remix-run/react/dist/esm/links.js:
|
|
132
|
+
(**
|
|
133
|
+
* @remix-run/react v1.19.1
|
|
134
|
+
*
|
|
135
|
+
* Copyright (c) Remix Software Inc.
|
|
136
|
+
*
|
|
137
|
+
* This source code is licensed under the MIT license found in the
|
|
138
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
139
|
+
*
|
|
140
|
+
* @license MIT
|
|
141
|
+
*)
|
|
142
|
+
|
|
143
|
+
@remix-run/react/dist/esm/markup.js:
|
|
144
|
+
(**
|
|
145
|
+
* @remix-run/react v1.19.1
|
|
146
|
+
*
|
|
147
|
+
* Copyright (c) Remix Software Inc.
|
|
148
|
+
*
|
|
149
|
+
* This source code is licensed under the MIT license found in the
|
|
150
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
151
|
+
*
|
|
152
|
+
* @license MIT
|
|
153
|
+
*)
|
|
154
|
+
|
|
155
|
+
@remix-run/react/dist/esm/components.js:
|
|
156
|
+
(**
|
|
157
|
+
* @remix-run/react v1.19.1
|
|
158
|
+
*
|
|
159
|
+
* Copyright (c) Remix Software Inc.
|
|
160
|
+
*
|
|
161
|
+
* This source code is licensed under the MIT license found in the
|
|
162
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
163
|
+
*
|
|
164
|
+
* @license MIT
|
|
165
|
+
*)
|
|
166
|
+
|
|
167
|
+
@remix-run/react/dist/esm/errors.js:
|
|
168
|
+
(**
|
|
169
|
+
* @remix-run/react v1.19.1
|
|
170
|
+
*
|
|
171
|
+
* Copyright (c) Remix Software Inc.
|
|
172
|
+
*
|
|
173
|
+
* This source code is licensed under the MIT license found in the
|
|
174
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
175
|
+
*
|
|
176
|
+
* @license MIT
|
|
177
|
+
*)
|
|
178
|
+
|
|
179
|
+
@remix-run/react/dist/esm/data.js:
|
|
180
|
+
(**
|
|
181
|
+
* @remix-run/react v1.19.1
|
|
182
|
+
*
|
|
183
|
+
* Copyright (c) Remix Software Inc.
|
|
184
|
+
*
|
|
185
|
+
* This source code is licensed under the MIT license found in the
|
|
186
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
187
|
+
*
|
|
188
|
+
* @license MIT
|
|
189
|
+
*)
|
|
190
|
+
|
|
191
|
+
@remix-run/react/dist/esm/routes.js:
|
|
192
|
+
(**
|
|
193
|
+
* @remix-run/react v1.19.1
|
|
194
|
+
*
|
|
195
|
+
* Copyright (c) Remix Software Inc.
|
|
196
|
+
*
|
|
197
|
+
* This source code is licensed under the MIT license found in the
|
|
198
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
199
|
+
*
|
|
200
|
+
* @license MIT
|
|
201
|
+
*)
|
|
202
|
+
|
|
203
|
+
@remix-run/react/dist/esm/browser.js:
|
|
204
|
+
(**
|
|
205
|
+
* @remix-run/react v1.19.1
|
|
206
|
+
*
|
|
207
|
+
* Copyright (c) Remix Software Inc.
|
|
208
|
+
*
|
|
209
|
+
* This source code is licensed under the MIT license found in the
|
|
210
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
211
|
+
*
|
|
212
|
+
* @license MIT
|
|
213
|
+
*)
|
|
214
|
+
|
|
215
|
+
@remix-run/react/dist/esm/scroll-restoration.js:
|
|
216
|
+
(**
|
|
217
|
+
* @remix-run/react v1.19.1
|
|
218
|
+
*
|
|
219
|
+
* Copyright (c) Remix Software Inc.
|
|
220
|
+
*
|
|
221
|
+
* This source code is licensed under the MIT license found in the
|
|
222
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
223
|
+
*
|
|
224
|
+
* @license MIT
|
|
225
|
+
*)
|
|
226
|
+
|
|
227
|
+
@remix-run/react/dist/esm/index.js:
|
|
228
|
+
(**
|
|
229
|
+
* @remix-run/react v1.19.1
|
|
230
|
+
*
|
|
231
|
+
* Copyright (c) Remix Software Inc.
|
|
232
|
+
*
|
|
233
|
+
* This source code is licensed under the MIT license found in the
|
|
234
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
235
|
+
*
|
|
236
|
+
* @license MIT
|
|
237
|
+
*)
|
|
238
|
+
|
|
239
|
+
react/cjs/react-jsx-runtime.production.min.js:
|
|
240
|
+
(**
|
|
241
|
+
* @license React
|
|
242
|
+
* react-jsx-runtime.production.min.js
|
|
243
|
+
*
|
|
244
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
245
|
+
*
|
|
246
|
+
* This source code is licensed under the MIT license found in the
|
|
247
|
+
* LICENSE file in the root directory of this source tree.
|
|
248
|
+
*)
|
|
249
|
+
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Za}from"/build/_shared/chunk-V6X5C2NK.js";import{b as Gt}from"/build/_shared/chunk-G5WX4PPA.js";var ju=Gt(L=>{"use strict";function gl(e,n){var t=e.length;e.push(n);e:for(;0<t;){var r=t-1>>>1,l=e[r];if(0<Zt(l,n))e[r]=n,e[t]=l,t=r;else break e}}function Se(e){return e.length===0?null:e[0]}function qt(e){if(e.length===0)return null;var n=e[0],t=e.pop();if(t!==n){e[0]=t;e:for(var r=0,l=e.length,i=l>>>1;r<i;){var u=2*(r+1)-1,o=e[u],s=u+1,d=e[s];if(0>Zt(o,t))s<l&&0>Zt(d,o)?(e[r]=d,e[s]=t,r=s):(e[r]=o,e[u]=t,r=u);else if(s<l&&0>Zt(d,t))e[r]=d,e[s]=t,r=s;else break e}}return n}function Zt(e,n){var t=e.sortIndex-n.sortIndex;return t!==0?t:e.id-n.id}typeof performance=="object"&&typeof performance.now=="function"?(zu=performance,L.unstable_now=function(){return zu.now()}):(vl=Date,Lu=vl.now(),L.unstable_now=function(){return vl.now()-Lu});var zu,vl,Lu,Le=[],Ke=[],Ja=1,me=null,G=3,bt=!1,mn=!1,it=!1,Du=typeof setTimeout=="function"?setTimeout:null,Ou=typeof clearTimeout=="function"?clearTimeout:null,Tu=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function wl(e){for(var n=Se(Ke);n!==null;){if(n.callback===null)qt(Ke);else if(n.startTime<=e)qt(Ke),n.sortIndex=n.expirationTime,gl(Le,n);else break;n=Se(Ke)}}function kl(e){if(it=!1,wl(e),!mn)if(Se(Le)!==null)mn=!0,El(Sl);else{var n=Se(Ke);n!==null&&Cl(kl,n.startTime-e)}}function Sl(e,n){mn=!1,it&&(it=!1,Ou(ut),ut=-1),bt=!0;var t=G;try{for(wl(n),me=Se(Le);me!==null&&(!(me.expirationTime>n)||e&&!Iu());){var r=me.callback;if(typeof r=="function"){me.callback=null,G=me.priorityLevel;var l=r(me.expirationTime<=n);n=L.unstable_now(),typeof l=="function"?me.callback=l:me===Se(Le)&&qt(Le),wl(n)}else qt(Le);me=Se(Le)}if(me!==null)var i=!0;else{var u=Se(Ke);u!==null&&Cl(kl,u.startTime-n),i=!1}return i}finally{me=null,G=t,bt=!1}}var er=!1,Jt=null,ut=-1,Ru=5,Fu=-1;function Iu(){return!(L.unstable_now()-Fu<Ru)}function hl(){if(Jt!==null){var e=L.unstable_now();Fu=e;var n=!0;try{n=Jt(!0,e)}finally{n?lt():(er=!1,Jt=null)}}else er=!1}var lt;typeof Tu=="function"?lt=function(){Tu(hl)}:typeof MessageChannel<"u"?(yl=new MessageChannel,Mu=yl.port2,yl.port1.onmessage=hl,lt=function(){Mu.postMessage(null)}):lt=function(){Du(hl,0)};var yl,Mu;function El(e){Jt=e,er||(er=!0,lt())}function Cl(e,n){ut=Du(function(){e(L.unstable_now())},n)}L.unstable_IdlePriority=5;L.unstable_ImmediatePriority=1;L.unstable_LowPriority=4;L.unstable_NormalPriority=3;L.unstable_Profiling=null;L.unstable_UserBlockingPriority=2;L.unstable_cancelCallback=function(e){e.callback=null};L.unstable_continueExecution=function(){mn||bt||(mn=!0,El(Sl))};L.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ru=0<e?Math.floor(1e3/e):5};L.unstable_getCurrentPriorityLevel=function(){return G};L.unstable_getFirstCallbackNode=function(){return Se(Le)};L.unstable_next=function(e){switch(G){case 1:case 2:case 3:var n=3;break;default:n=G}var t=G;G=n;try{return e()}finally{G=t}};L.unstable_pauseExecution=function(){};L.unstable_requestPaint=function(){};L.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=G;G=e;try{return n()}finally{G=t}};L.unstable_scheduleCallback=function(e,n,t){var r=L.unstable_now();switch(typeof t=="object"&&t!==null?(t=t.delay,t=typeof t=="number"&&0<t?r+t:r):t=r,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return l=t+l,e={id:Ja++,callback:n,priorityLevel:e,startTime:t,expirationTime:l,sortIndex:-1},t>r?(e.sortIndex=t,gl(Ke,e),Se(Le)===null&&e===Se(Ke)&&(it?(Ou(ut),ut=-1):it=!0,Cl(kl,t-r))):(e.sortIndex=l,gl(Le,e),mn||bt||(mn=!0,El(Sl))),e};L.unstable_shouldYield=Iu;L.unstable_wrapCallback=function(e){var n=G;return function(){var t=G;G=n;try{return e.apply(this,arguments)}finally{G=t}}}});var Vu=Gt((nd,Uu)=>{"use strict";Uu.exports=ju()});var Ka=Gt(pe=>{"use strict";var Yo=Za(),fe=Vu();function h(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Xo=new Set,zt={};function Pn(e,n){Gn(e,n),Gn(e+"Capture",n)}function Gn(e,n){for(zt[e]=n,e=0;e<n.length;e++)Xo.add(n[e])}var Ae=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Kl=Object.prototype.hasOwnProperty,qa=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Au={},Bu={};function ba(e){return Kl.call(Bu,e)?!0:Kl.call(Au,e)?!1:qa.test(e)?Bu[e]=!0:(Au[e]=!0,!1)}function ec(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function nc(e,n,t,r){if(n===null||typeof n>"u"||ec(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function te(e,n,t,r,l,i,u){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=i,this.removeEmptyString=u}var X={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){X[e]=new te(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];X[n]=new te(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){X[e]=new te(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){X[e]=new te(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){X[e]=new te(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){X[e]=new te(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){X[e]=new te(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){X[e]=new te(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){X[e]=new te(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ui=/[\-:]([a-z])/g;function Vi(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(Ui,Vi);X[n]=new te(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Ui,Vi);X[n]=new te(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Ui,Vi);X[n]=new te(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){X[e]=new te(e,1,!1,e.toLowerCase(),null,!1,!1)});X.xlinkHref=new te("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){X[e]=new te(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ai(e,n,t,r){var l=X.hasOwnProperty(n)?X[n]:null;(l!==null?l.type!==0:r||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(nc(n,t,l,r)&&(t=null),r||l===null?ba(n)&&(t===null?e.removeAttribute(n):e.setAttribute(n,""+t)):l.mustUseProperty?e[l.propertyName]=t===null?l.type===3?!1:"":t:(n=l.attributeName,r=l.attributeNamespace,t===null?e.removeAttribute(n):(l=l.type,t=l===3||l===4&&t===!0?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t))))}var We=Yo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,nr=Symbol.for("react.element"),Mn=Symbol.for("react.portal"),Dn=Symbol.for("react.fragment"),Bi=Symbol.for("react.strict_mode"),Yl=Symbol.for("react.profiler"),Go=Symbol.for("react.provider"),Zo=Symbol.for("react.context"),Hi=Symbol.for("react.forward_ref"),Xl=Symbol.for("react.suspense"),Gl=Symbol.for("react.suspense_list"),Qi=Symbol.for("react.memo"),Xe=Symbol.for("react.lazy");Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var Jo=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden");Symbol.for("react.cache");Symbol.for("react.tracing_marker");var Hu=Symbol.iterator;function ot(e){return e===null||typeof e!="object"?null:(e=Hu&&e[Hu]||e["@@iterator"],typeof e=="function"?e:null)}var I=Object.assign,xl;function vt(e){if(xl===void 0)try{throw Error()}catch(t){var n=t.stack.trim().match(/\n( *(at )?)/);xl=n&&n[1]||""}return`
|
|
1
|
+
import{a as Za}from"/build/_shared/chunk-AAAT3QVG.js";import{b as Gt}from"/build/_shared/chunk-G5WX4PPA.js";var ju=Gt(L=>{"use strict";function gl(e,n){var t=e.length;e.push(n);e:for(;0<t;){var r=t-1>>>1,l=e[r];if(0<Zt(l,n))e[r]=n,e[t]=l,t=r;else break e}}function Se(e){return e.length===0?null:e[0]}function qt(e){if(e.length===0)return null;var n=e[0],t=e.pop();if(t!==n){e[0]=t;e:for(var r=0,l=e.length,i=l>>>1;r<i;){var u=2*(r+1)-1,o=e[u],s=u+1,d=e[s];if(0>Zt(o,t))s<l&&0>Zt(d,o)?(e[r]=d,e[s]=t,r=s):(e[r]=o,e[u]=t,r=u);else if(s<l&&0>Zt(d,t))e[r]=d,e[s]=t,r=s;else break e}}return n}function Zt(e,n){var t=e.sortIndex-n.sortIndex;return t!==0?t:e.id-n.id}typeof performance=="object"&&typeof performance.now=="function"?(zu=performance,L.unstable_now=function(){return zu.now()}):(vl=Date,Lu=vl.now(),L.unstable_now=function(){return vl.now()-Lu});var zu,vl,Lu,Le=[],Ke=[],Ja=1,me=null,G=3,bt=!1,mn=!1,it=!1,Du=typeof setTimeout=="function"?setTimeout:null,Ou=typeof clearTimeout=="function"?clearTimeout:null,Tu=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function wl(e){for(var n=Se(Ke);n!==null;){if(n.callback===null)qt(Ke);else if(n.startTime<=e)qt(Ke),n.sortIndex=n.expirationTime,gl(Le,n);else break;n=Se(Ke)}}function kl(e){if(it=!1,wl(e),!mn)if(Se(Le)!==null)mn=!0,El(Sl);else{var n=Se(Ke);n!==null&&Cl(kl,n.startTime-e)}}function Sl(e,n){mn=!1,it&&(it=!1,Ou(ut),ut=-1),bt=!0;var t=G;try{for(wl(n),me=Se(Le);me!==null&&(!(me.expirationTime>n)||e&&!Iu());){var r=me.callback;if(typeof r=="function"){me.callback=null,G=me.priorityLevel;var l=r(me.expirationTime<=n);n=L.unstable_now(),typeof l=="function"?me.callback=l:me===Se(Le)&&qt(Le),wl(n)}else qt(Le);me=Se(Le)}if(me!==null)var i=!0;else{var u=Se(Ke);u!==null&&Cl(kl,u.startTime-n),i=!1}return i}finally{me=null,G=t,bt=!1}}var er=!1,Jt=null,ut=-1,Ru=5,Fu=-1;function Iu(){return!(L.unstable_now()-Fu<Ru)}function hl(){if(Jt!==null){var e=L.unstable_now();Fu=e;var n=!0;try{n=Jt(!0,e)}finally{n?lt():(er=!1,Jt=null)}}else er=!1}var lt;typeof Tu=="function"?lt=function(){Tu(hl)}:typeof MessageChannel<"u"?(yl=new MessageChannel,Mu=yl.port2,yl.port1.onmessage=hl,lt=function(){Mu.postMessage(null)}):lt=function(){Du(hl,0)};var yl,Mu;function El(e){Jt=e,er||(er=!0,lt())}function Cl(e,n){ut=Du(function(){e(L.unstable_now())},n)}L.unstable_IdlePriority=5;L.unstable_ImmediatePriority=1;L.unstable_LowPriority=4;L.unstable_NormalPriority=3;L.unstable_Profiling=null;L.unstable_UserBlockingPriority=2;L.unstable_cancelCallback=function(e){e.callback=null};L.unstable_continueExecution=function(){mn||bt||(mn=!0,El(Sl))};L.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ru=0<e?Math.floor(1e3/e):5};L.unstable_getCurrentPriorityLevel=function(){return G};L.unstable_getFirstCallbackNode=function(){return Se(Le)};L.unstable_next=function(e){switch(G){case 1:case 2:case 3:var n=3;break;default:n=G}var t=G;G=n;try{return e()}finally{G=t}};L.unstable_pauseExecution=function(){};L.unstable_requestPaint=function(){};L.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=G;G=e;try{return n()}finally{G=t}};L.unstable_scheduleCallback=function(e,n,t){var r=L.unstable_now();switch(typeof t=="object"&&t!==null?(t=t.delay,t=typeof t=="number"&&0<t?r+t:r):t=r,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return l=t+l,e={id:Ja++,callback:n,priorityLevel:e,startTime:t,expirationTime:l,sortIndex:-1},t>r?(e.sortIndex=t,gl(Ke,e),Se(Le)===null&&e===Se(Ke)&&(it?(Ou(ut),ut=-1):it=!0,Cl(kl,t-r))):(e.sortIndex=l,gl(Le,e),mn||bt||(mn=!0,El(Sl))),e};L.unstable_shouldYield=Iu;L.unstable_wrapCallback=function(e){var n=G;return function(){var t=G;G=n;try{return e.apply(this,arguments)}finally{G=t}}}});var Vu=Gt((nd,Uu)=>{"use strict";Uu.exports=ju()});var Ka=Gt(pe=>{"use strict";var Yo=Za(),fe=Vu();function h(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Xo=new Set,zt={};function Pn(e,n){Gn(e,n),Gn(e+"Capture",n)}function Gn(e,n){for(zt[e]=n,e=0;e<n.length;e++)Xo.add(n[e])}var Ae=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Kl=Object.prototype.hasOwnProperty,qa=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Au={},Bu={};function ba(e){return Kl.call(Bu,e)?!0:Kl.call(Au,e)?!1:qa.test(e)?Bu[e]=!0:(Au[e]=!0,!1)}function ec(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function nc(e,n,t,r){if(n===null||typeof n>"u"||ec(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function te(e,n,t,r,l,i,u){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=i,this.removeEmptyString=u}var X={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){X[e]=new te(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];X[n]=new te(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){X[e]=new te(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){X[e]=new te(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){X[e]=new te(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){X[e]=new te(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){X[e]=new te(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){X[e]=new te(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){X[e]=new te(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ui=/[\-:]([a-z])/g;function Vi(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(Ui,Vi);X[n]=new te(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Ui,Vi);X[n]=new te(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Ui,Vi);X[n]=new te(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){X[e]=new te(e,1,!1,e.toLowerCase(),null,!1,!1)});X.xlinkHref=new te("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){X[e]=new te(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ai(e,n,t,r){var l=X.hasOwnProperty(n)?X[n]:null;(l!==null?l.type!==0:r||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(nc(n,t,l,r)&&(t=null),r||l===null?ba(n)&&(t===null?e.removeAttribute(n):e.setAttribute(n,""+t)):l.mustUseProperty?e[l.propertyName]=t===null?l.type===3?!1:"":t:(n=l.attributeName,r=l.attributeNamespace,t===null?e.removeAttribute(n):(l=l.type,t=l===3||l===4&&t===!0?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t))))}var We=Yo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,nr=Symbol.for("react.element"),Mn=Symbol.for("react.portal"),Dn=Symbol.for("react.fragment"),Bi=Symbol.for("react.strict_mode"),Yl=Symbol.for("react.profiler"),Go=Symbol.for("react.provider"),Zo=Symbol.for("react.context"),Hi=Symbol.for("react.forward_ref"),Xl=Symbol.for("react.suspense"),Gl=Symbol.for("react.suspense_list"),Qi=Symbol.for("react.memo"),Xe=Symbol.for("react.lazy");Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var Jo=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden");Symbol.for("react.cache");Symbol.for("react.tracing_marker");var Hu=Symbol.iterator;function ot(e){return e===null||typeof e!="object"?null:(e=Hu&&e[Hu]||e["@@iterator"],typeof e=="function"?e:null)}var I=Object.assign,xl;function vt(e){if(xl===void 0)try{throw Error()}catch(t){var n=t.stack.trim().match(/\n( *(at )?)/);xl=n&&n[1]||""}return`
|
|
2
2
|
`+xl+e}var _l=!1;function Nl(e,n){if(!e||_l)return"";_l=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(d){var r=d}Reflect.construct(e,[],n)}else{try{n.call()}catch(d){r=d}e.call(n.prototype)}else{try{throw Error()}catch(d){r=d}e()}}catch(d){if(d&&r&&typeof d.stack=="string"){for(var l=d.stack.split(`
|
|
3
3
|
`),i=r.stack.split(`
|
|
4
4
|
`),u=l.length-1,o=i.length-1;1<=u&&0<=o&&l[u]!==i[o];)o--;for(;1<=u&&0<=o;u--,o--)if(l[u]!==i[o]){if(u!==1||o!==1)do if(u--,o--,0>o||l[u]!==i[o]){var s=`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as E}from"/build/_shared/chunk-
|
|
1
|
+
import{a as E}from"/build/_shared/chunk-AWT7OMQ4.js";import{l as e,n as y,o as i}from"/build/_shared/chunk-AAAT3QVG.js";import{b as r,d as t}from"/build/_shared/chunk-G5WX4PPA.js";var a=r(o=>{"use strict";var n=E();o.createRoot=n.createRoot,o.hydrateRoot=n.hydrateRoot;var f});var _=r(()=>{y();var R=t(a()),c=t(i());(0,R.hydrateRoot)(document,(0,c.jsx)(e,{}))});export default _();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
window.__remixManifest={"entry":{"module":"/build/entry.client-AVK6LRG2.js","imports":["/build/_shared/chunk-AWT7OMQ4.js","/build/_shared/chunk-AAAT3QVG.js","/build/_shared/chunk-G5WX4PPA.js"]},"routes":{"root":{"id":"root","path":"","module":"/build/root-3OUPV7FS.js","imports":["/build/_shared/chunk-GWUFOIPA.js"],"hasAction":false,"hasLoader":false,"hasCatchBoundary":false,"hasErrorBoundary":false},"routes/_index":{"id":"routes/_index","parentId":"root","index":true,"module":"/build/routes/_index-HNE6Q5ZO.js","hasAction":false,"hasLoader":true,"hasCatchBoundary":false,"hasErrorBoundary":false},"routes/api":{"id":"routes/api","parentId":"root","path":"api","module":"/build/routes/api-H3ZMS4LW.js","hasAction":true,"hasLoader":false,"hasCatchBoundary":false,"hasErrorBoundary":false}},"version":"07544e2f","url":"/build/manifest-07544E2F.js"};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as d}from"/build/_shared/chunk-
|
|
1
|
+
import{b as d}from"/build/_shared/chunk-GWUFOIPA.js";import{d as o,g as a,h as s,i,k as n,m as p,n as w,o as l}from"/build/_shared/chunk-AAAT3QVG.js";import{d as t}from"/build/_shared/chunk-G5WX4PPA.js";w();var r="/build/_assets/app-L3FVAWG5.css";var e=t(l()),m=()=>[{rel:"preconnect",href:r},{rel:"stylesheet",href:r}];function c(){return(0,e.jsxs)("html",{lang:"en",className:"text-[14px] tablet:text-[16px]",children:[(0,e.jsxs)("head",{children:[(0,e.jsx)("meta",{charSet:"utf-8"}),(0,e.jsx)("meta",{name:"viewport",content:"height=device-height, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"}),(0,e.jsx)(s,{}),(0,e.jsx)(a,{})]}),(0,e.jsxs)("body",{className:d("font-roboto bg-background text-foreground"),"data-theme":"light",children:[(0,e.jsx)(o,{}),(0,e.jsx)(p,{}),(0,e.jsx)(i,{}),(0,e.jsx)(n,{})]})]})}export{c as default,m as links};
|