Add sample website
This commit is contained in:
1 parent
b1a0edb474
commit
bd4dceace6
4 files changed
+77
No files matched your search
@@ -0,0 +1 @@
|
||||
*{margin:0;padding:0;width:100%;box-sizing:border-box;overflow-x:hidden}:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.content{padding:1.5rem;z-index:1}a{font-weight:500;color:#646cff;text-decoration:inherit}body{margin:0;display:flex;place-items:center;width:100%;min-width:320px;min-height:100vh}.glassCard{width:100%;padding:10px 20px;height:fit-content;background:#ffffffa6;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);border-radius:20px;border:1px solid rgba(255,255,255,.3);box-shadow:0 8px 32px #0000001a,inset 0 1px #ffffff80,inset 0 -1px #ffffff1a,inset 0 0 8px 4px #fff6;position:relative;overflow:hidden}h1{font-size:3.2em;line-height:1.1}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}._footer_ilvdx_1{width:100%;display:flex;align-items:center;height:fit-content;padding:2rem}._footerContent_ilvdx_9{display:flex;width:100%;justify-content:center;gap:2rem}._link_ilvdx_16{color:#000;width:fit-content;text-align:center}@media screen and (max-width: 480px){._footer_ilvdx_1{padding:1rem}._footerContent_ilvdx_9{flex-direction:column;align-items:center;gap:.5rem}}._headerContainer_1bnos_1{position:relative;height:fit-content;overflow:visible}._header_1bnos_1{display:flex;align-items:center;padding:.8rem;height:fit-content;z-index:2;position:relative;justify-content:space-between}._activeHeaderContent_1bnos_20{display:flex;justify-content:space-between;width:100%;opacity:1;transition:opacity .3s ease;pointer-events:auto}._inactiveHeaderContent_1bnos_28{opacity:0;pointer-events:none;transition:opacity .3s ease;position:absolute;top:.8rem;left:.8rem}._inactiveMobileMenu_1bnos_38{max-height:0;position:absolute;top:100%;left:0}._activeMobileMenu_1bnos_45{transition:max-height 3s ease;max-height:500px;display:flex;flex-direction:column;align-items:start;gap:.5rem}._headerLeftContent_1bnos_57{display:flex;width:fit-content;align-items:center;gap:1.5rem;font-size:1.2rem}._headerRightContent_1bnos_65{width:fit-content;display:flex;align-items:center}._logo_1bnos_71{height:4rem;width:auto;flex-shrink:0}._logoLink_1bnos_77{display:inline-flex;align-items:center;justify-content:center;width:fit-content;height:fit-content;flex-shrink:0}._link_1bnos_87{color:#000;width:fit-content;text-align:center;font-weight:700;border-bottom:2px solid transparent}._link_1bnos_87:hover{border-bottom:2px solid #019AFF}._activeLink_1bnos_100{width:fit-content;text-align:center;font-weight:700;color:#019aff;border-bottom:2px solid #019AFF}svg{width:fit-content}._bellBtn_1bnos_112,._profileLink_1bnos_112{display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;transition:transform .5s ease;background:none;padding:7px;border-radius:50%;width:55px;height:55px;position:relative}._bellBtn_1bnos_112 svg{stroke:#000;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}._bellBtn_1bnos_112:focus{outline:none}._bellBtn_1bnos_112:focus-visible{outline:2px solid black}._activeBellBtn_1bnos_141{transform:translateY(-4px);background:#bfbfbf80}._activeBellBtn_1bnos_141 svg{stroke:#019aff}._bellBtn_1bnos_112:hover{transform:translateY(-4px);background:#bfbfbf80}._bellBtn_1bnos_112:hover svg{stroke:#019aff}._profileLink_1bnos_112:hover{transform:translateY(-4px);background:#bfbfbf80}._profileLink_1bnos_112:hover svg{fill:#019aff}._bellBtn_1bnos_112 svg{height:28px}._profileLink_1bnos_112 svg{height:40px}._notificationDiv_1bnos_174{position:absolute;width:250px;top:105%;right:2rem;opacity:0;transform:translateY(-10px);transition:opacity .3s ease,transform .3s ease;z-index:1}._activeNotificationDiv_1bnos_185{opacity:1;transform:translateY(0);z-index:3}._notification_1bnos_174{margin-bottom:7%;display:flex;justify-content:space-between;align-items:center}._notificationBadge_1bnos_199{position:absolute;top:6px;right:9px;width:15px;height:15px;background-color:red;border-radius:50%}._closeBtn_1bnos_209{display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;background:none;margin:0;width:fit-content}._closeBtn_1bnos_209:focus{outline:none}._closeBtn_1bnos_209:focus-visible{outline:2px solid black}._burgerBtn_1bnos_227{flex-direction:column;justify-content:space-between;width:30px;height:22px;border:none;cursor:pointer;display:none;z-index:10}._burgerBar_1bnos_238{width:100%;height:3px;background-color:#000;border-radius:2px;transition:all .3s ease}._activeBurgerBtn_1bnos_246 ._burgerBar_1bnos_238:nth-child(1){transform:translateY(10px) rotate(45deg)}._activeBurgerBtn_1bnos_246 ._burgerBar_1bnos_238:nth-child(2){opacity:0}._activeBurgerBtn_1bnos_246 ._burgerBar_1bnos_238:nth-child(3){transform:translateY(-9px) rotate(-45deg)}._navLinks_1bnos_257{display:flex;align-items:center;justify-content:center;gap:1rem}@media screen and (max-width: 768px){._navLinks_1bnos_25Line truncated
|
||||
@@ -0,0 +1,61 @@
|
||||
(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))f(s);new MutationObserver(s=>{for(const m of s)if(m.type==="childList")for(const v of m.addedNodes)v.tagName==="LINK"&&v.rel==="modulepreload"&&f(v)}).observe(document,{childList:!0,subtree:!0});function o(s){const m={};return s.integrity&&(m.integrity=s.integrity),s.referrerPolicy&&(m.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?m.credentials="include":s.crossOrigin==="anonymous"?m.credentials="omit":m.credentials="same-origin",m}function f(s){if(s.ep)return;s.ep=!0;const m=o(s);fetch(s.href,m)}})();var Of={exports:{}},Nu={};/**
|
||||
* @license React
|
||||
* react-jsx-runtime.production.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Qh;function Wy(){if(Qh)return Nu;Qh=1;var i=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function o(f,s,m){var v=null;if(m!==void 0&&(v=""+m),s.key!==void 0&&(v=""+s.key),"key"in s){m={};for(var S in s)S!=="key"&&(m[S]=s[S])}else m=s;return s=m.ref,{$$typeof:i,type:f,key:v,ref:s!==void 0?s:null,props:m}}return Nu.Fragment=c,Nu.jsx=o,Nu.jsxs=o,Nu}var Zh;function Py(){return Zh||(Zh=1,Of.exports=Wy()),Of.exports}var ee=Py(),xf={exports:{}},me={};/**
|
||||
* @license React
|
||||
* react.production.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Vh;function Iy(){if(Vh)return me;Vh=1;var i=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),v=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),T=Symbol.for("react.activity"),H=Symbol.iterator;function L(b){return b===null||typeof b!="object"?null:(b=H&&b[H]||b["@@iterator"],typeof b=="function"?b:null)}var G={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},$=Object.assign,K={};function Z(b,j,Q){this.props=b,this.context=j,this.refs=K,this.updater=Q||G}Z.prototype.isReactComponent={},Z.prototype.setState=function(b,j){if(typeof b!="object"&&typeof b!="function"&&b!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,b,j,"setState")},Z.prototype.forceUpdate=function(b){this.updater.enqueueForceUpdate(this,b,"forceUpdate")};function P(){}P.prototype=Z.prototype;function ne(b,j,Q){this.props=b,this.context=j,this.refs=K,this.updater=Q||G}var De=ne.prototype=new P;De.constructor=ne,$(De,Z.prototype),De.isPureReactComponent=!0;var se=Array.isArray;function O(){}var k={H:null,A:null,T:null,S:null},pe=Object.prototype.hasOwnProperty;function he(b,j,Q){var W=Q.ref;return{$$typeof:i,type:b,key:j,ref:W!==void 0?W:null,props:Q}}function Be(b,j){return he(b.type,j,b.props)}function Fe(b){return typeof b=="object"&&b!==null&&b.$$typeof===i}function et(b){var j={"=":"=0",":":"=2"};return"$"+b.replace(/[=:]/g,function(Q){return j[Q]})}var xe=/\/+/g;function Ue(b,j){return typeof b=="object"&&b!==null&&b.key!=null?et(""+b.key):j.toString(36)}function ke(b){switch(b.status){case"fulfilled":return b.value;case"rejected":throw b.reason;default:switch(typeof b.status=="string"?b.then(O,O):(b.status="pending",b.then(function(j){b.status==="pending"&&(b.status="fulfilled",b.value=j)},function(j){b.status==="pending"&&(b.status="rejected",b.reason=j)})),b.status){case"fulfilled":return b.value;case"rejected":throw b.reason}}throw b}function A(b,j,Q,W,de){var ve=typeof b;(ve==="undefined"||ve==="boolean")&&(b=null);var Ne=!1;if(b===null)Ne=!0;else switch(ve){case"bigint":case"string":case"number":Ne=!0;break;case"object":switch(b.$$typeof){case i:case c:Ne=!0;break;case z:return Ne=b._init,A(Ne(b._payload),j,Q,W,de)}}if(Ne)return de=de(b),Ne=W===""?"."+Ue(b,0):W,se(de)?(Q="",Ne!=null&&(Q=Ne.replace(xe,"$&/")+"/"),A(de,j,Q,"",function(tt){return tt})):de!=null&&(Fe(de)&&(de=Be(de,Q+(de.key==null||b&&b.key===de.key?"":(""+de.key).replace(xe,"$&/")+"/")+Ne)),j.push(de)),1;Ne=0;var yt=W===""?".":W+":";if(se(b))for(var Ie=0;Ie<b.length;Ie++)W=b[Ie],ve=yt+Ue(W,Ie),Ne+=A(W,j,Q,ve,de);else if(Ie=L(b),typeof Ie=="function")for(b=Ie.call(b),Ie=0;!(W=b.next()).done;)W=W.value,ve=yt+Ue(W,Ie++),Ne+=A(W,j,Q,ve,de);else if(ve==="object"){if(typeof b.then=="function")return A(ke(b),j,Q,W,de);throw j=String(b),Error("Objects are not valid as a React child (found: "+(j==="[object Object]"?"object with keys {"+Object.keys(b).join(", ")+"}":j)+"). If you meant to render a collection of children, use an array instead.")}return Ne}function X(b,j,Q){if(b==null)return b;var W=[],de=0;return A(b,W,"","",function(ve){return j.call(Q,ve,de++)}),W}function te(b){if(b._status===-1){var j=b._result;j=j(),j.then(function(Q){(b._status===0||b._status===-1)&&(b._status=1,b._result=Q)},function(Q){(b._status===0||b._status===-1)&&(b._status=2,b._result=Q)}),b._status===-1&&(b._status=0,b._result=j)}if(b._status===1)return b._result.default;throw b._result}var be=typeof reportError=="function"?reportError:function(b){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var j=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof b=="object"&&b!==null&&typeof b.message=="string"?String(b.message):String(b),error:b});if(!window.dispatchEvent(j))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",b);return}console.error(b)},ye={map:X,forEach:function(b,j,Q){X(b,function(){j.apply(this,arguments)},Q)},count:function(b){var j=0;return X(b,function(){j++}),j},toArray:function(b){return X(b,function(j){return j})||[]},only:function(b){if(!Fe(b))throw Error("React.Children.only expected to receive a single React element child.");return b}};return me.Activity=T,me.Children=ye,me.Component=Z,me.Fragment=o,me.Profiler=s,me.PureComponent=ne,me.StrictMode=f,me.Suspense=y,me.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=k,me.__COMPILER_RUNTIME={__proto__:null,c:function(b){return k.H.useMemoCache(b)}},me.cache=function(b){return function(){return b.apply(null,arguments)}},me.cacheSignal=function(){return null},me.cloneElement=function(b,j,Q){if(b==nuLine truncated
|
||||
* @license React
|
||||
* scheduler.production.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Jh;function e0(){return Jh||(Jh=1,(function(i){function c(A,X){var te=A.length;A.push(X);e:for(;0<te;){var be=te-1>>>1,ye=A[be];if(0<s(ye,X))A[be]=X,A[te]=ye,te=be;else break e}}function o(A){return A.length===0?null:A[0]}function f(A){if(A.length===0)return null;var X=A[0],te=A.pop();if(te!==X){A[0]=te;e:for(var be=0,ye=A.length,b=ye>>>1;be<b;){var j=2*(be+1)-1,Q=A[j],W=j+1,de=A[W];if(0>s(Q,te))W<ye&&0>s(de,Q)?(A[be]=de,A[W]=te,be=W):(A[be]=Q,A[j]=te,be=j);else if(W<ye&&0>s(de,te))A[be]=de,A[W]=te,be=W;else break e}}return X}function s(A,X){var te=A.sortIndex-X.sortIndex;return te!==0?te:A.id-X.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var m=performance;i.unstable_now=function(){return m.now()}}else{var v=Date,S=v.now();i.unstable_now=function(){return v.now()-S}}var y=[],h=[],z=1,T=null,H=3,L=!1,G=!1,$=!1,K=!1,Z=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,ne=typeof setImmediate<"u"?setImmediate:null;function De(A){for(var X=o(h);X!==null;){if(X.callback===null)f(h);else if(X.startTime<=A)f(h),X.sortIndex=X.expirationTime,c(y,X);else break;X=o(h)}}function se(A){if($=!1,De(A),!G)if(o(y)!==null)G=!0,O||(O=!0,et());else{var X=o(h);X!==null&&ke(se,X.startTime-A)}}var O=!1,k=-1,pe=5,he=-1;function Be(){return K?!0:!(i.unstable_now()-he<pe)}function Fe(){if(K=!1,O){var A=i.unstable_now();he=A;var X=!0;try{e:{G=!1,$&&($=!1,P(k),k=-1),L=!0;var te=H;try{t:{for(De(A),T=o(y);T!==null&&!(T.expirationTime>A&&Be());){var be=T.callback;if(typeof be=="function"){T.callback=null,H=T.priorityLevel;var ye=be(T.expirationTime<=A);if(A=i.unstable_now(),typeof ye=="function"){T.callback=ye,De(A),X=!0;break t}T===o(y)&&f(y),De(A)}else f(y);T=o(y)}if(T!==null)X=!0;else{var b=o(h);b!==null&&ke(se,b.startTime-A),X=!1}}break e}finally{T=null,H=te,L=!1}X=void 0}}finally{X?et():O=!1}}}var et;if(typeof ne=="function")et=function(){ne(Fe)};else if(typeof MessageChannel<"u"){var xe=new MessageChannel,Ue=xe.port2;xe.port1.onmessage=Fe,et=function(){Ue.postMessage(null)}}else et=function(){Z(Fe,0)};function ke(A,X){k=Z(function(){A(i.unstable_now())},X)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(A){A.callback=null},i.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):pe=0<A?Math.floor(1e3/A):5},i.unstable_getCurrentPriorityLevel=function(){return H},i.unstable_next=function(A){switch(H){case 1:case 2:case 3:var X=3;break;default:X=H}var te=H;H=X;try{return A()}finally{H=te}},i.unstable_requestPaint=function(){K=!0},i.unstable_runWithPriority=function(A,X){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var te=H;H=A;try{return X()}finally{H=te}},i.unstable_scheduleCallback=function(A,X,te){var be=i.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?be+te:be):te=be,A){case 1:var ye=-1;break;case 2:ye=250;break;case 5:ye=1073741823;break;case 4:ye=1e4;break;default:ye=5e3}return ye=te+ye,A={id:z++,callback:X,priorityLevel:A,startTime:te,expirationTime:ye,sortIndex:-1},te>be?(A.sortIndex=te,c(h,A),o(y)===null&&A===o(h)&&($?(P(k),k=-1):$=!0,ke(se,te-be))):(A.sortIndex=ye,c(y,A),G||L||(G=!0,O||(O=!0,et()))),A},i.unstable_shouldYield=Be,i.unstable_wrapCallback=function(A){var X=H;return function(){var te=H;H=X;try{return A.apply(this,arguments)}finally{H=te}}}})(Hf)),Hf}var $h;function t0(){return $h||($h=1,Nf.exports=e0()),Nf.exports}var Lf={exports:{}},Mt={};/**
|
||||
* @license React
|
||||
* react-dom.production.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Fh;function l0(){if(Fh)return Mt;Fh=1;var i=Vf();function c(y){var h="https://react.dev/errors/"+y;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var z=2;z<arguments.length;z++)h+="&args[]="+encodeURIComponent(arguments[z])}return"Minified React error #"+y+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var f={d:{f:o,r:function(){throw Error(c(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},s=Symbol.for("react.portal");function m(y,h,z){var T=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:T==null?null:""+T,children:y,containerInfo:h,implementation:z}}var v=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function S(y,h){if(y==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return Mt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f,Mt.createPortal=function(y,h){var z=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(c(299));return m(y,h,null,z)},Mt.flushSync=function(y){var h=v.T,z=f.p;try{if(v.T=null,f.p=2,y)return y()}finally{v.T=h,f.p=z,f.d.f()}},Mt.preconnect=function(y,h){typeof y=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,f.d.C(y,h))},Mt.prefetchDNS=function(y){typeof y=="string"&&f.d.D(y)},Mt.preinit=function(y,h){if(typeof y=="string"&&h&&typeof h.as=="string"){var z=h.as,T=S(z,h.crossOrigin),H=typeof h.integrity=="string"?h.integrity:void 0,L=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;z==="style"?f.d.S(y,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:T,integrity:H,fetchPriority:L}):z==="script"&&f.d.X(y,{crossOrigin:T,integrity:H,fetchPriority:L,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},Mt.preinitModule=function(y,h){if(typeof y=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var z=S(h.as,h.crossOrigin);f.d.M(y,{crossOrigin:z,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&f.d.M(y)},Mt.preload=function(y,h){if(typeof y=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var z=h.as,T=S(z,h.crossOrigin);f.d.L(y,z,{crossOrigin:T,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},Mt.preloadModule=function(y,h){if(typeof y=="string")if(h){var z=S(h.as,h.crossOrigin);f.d.m(y,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:z,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else f.d.m(y)},Mt.requestFormReset=function(y){f.d.r(y)},Mt.unstable_batchedUpdates=function(y,h){return y(h)},Mt.useFormState=function(y,h,z){return v.H.useFormState(y,h,z)},Mt.useFormStatus=function(){return v.H.useHostTransitionStatus()},Mt.version="19.2.0",Mt}var kh;function a0(){if(kh)return Lf.exports;kh=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(c){console.error(c)}}return i(),Lf.exports=l0(),Lf.exports}/**
|
||||
* @license React
|
||||
* react-dom-client.production.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Wh;function n0(){if(Wh)return Hu;Wh=1;var i=t0(),c=Vf(),o=a0();function f(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function m(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function v(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function S(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function y(e){if(m(e)!==e)throw Error(f(188))}function h(e){var t=e.alternate;if(!t){if(t=m(e),t===null)throw Error(f(188));return t!==e?null:e}for(var l=e,a=t;;){var n=l.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){l=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===l)return y(n),e;if(u===a)return y(n),t;u=u.sibling}throw Error(f(188))}if(l.return!==a.return)l=n,a=u;else{for(var r=!1,d=n.child;d;){if(d===l){r=!0,l=n,a=u;break}if(d===a){r=!0,a=n,l=u;break}d=d.sibling}if(!r){for(d=u.child;d;){if(d===l){r=!0,l=u,a=n;break}if(d===a){r=!0,a=u,l=n;break}d=d.sibling}if(!r)throw Error(f(189))}}if(l.alternate!==a)throw Error(f(190))}if(l.tag!==3)throw Error(f(188));return l.stateNode.current===l?e:t}function z(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=z(e),t!==null)return t;e=e.sibling}return null}var T=Object.assign,H=Symbol.for("react.element"),L=Symbol.for("react.transitional.element"),G=Symbol.for("react.portal"),$=Symbol.for("react.fragment"),K=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),P=Symbol.for("react.consumer"),ne=Symbol.for("react.context"),De=Symbol.for("react.forward_ref"),se=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),pe=Symbol.for("react.lazy"),he=Symbol.for("react.activity"),Be=Symbol.for("react.memo_cache_sentinel"),Fe=Symbol.iterator;function et(e){return e===null||typeof e!="object"?null:(e=Fe&&e[Fe]||e["@@iterator"],typeof e=="function"?e:null)}var xe=Symbol.for("react.client.reference");function Ue(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===xe?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case $:return"Fragment";case Z:return"Profiler";case K:return"StrictMode";case se:return"Suspense";case O:return"SuspenseList";case he:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case G:return"Portal";case ne:return e.displayName||"Context";case P:return(e._context.displayName||"Context")+".Consumer";case De:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case k:return t=e.displayName||null,t!==null?t:Ue(e.type)||"Memo";case pe:t=e._payload,e=e._init;try{return Ue(e(t))}catch{}}return null}var ke=Array.isArray,A=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},be=[],ye=-1;function b(e){return{current:e}}function j(e){0>ye||(e.current=be[ye],be[ye]=null,ye--)}function Q(e,t){ye++,be[ye]=e.current,e.current=t}var W=b(null),de=b(null),ve=b(null),Ne=b(null);function yt(e,t){switch(Q(ve,t),Q(de,e),Q(W,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?dh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=dh(t),e=hh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}j(W),Q(W,e)}function Ie(){j(W),j(de),j(ve)}function tt(e){e.memoizedState!==null&&Q(Ne,e);var t=W.current,l=hh(t,e.type);t!==l&&(Q(de,e),Q(W,l))}function cl(e){de.current===e&&(j(W),j(de)),Ne.current===e&&(j(Ne),Cu._currentValue=te)}var ka,Ku;function Rt(e){if(ka===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);ka=t&&t[1]||"",Ku=-1<l.stack.indexOf(`
|
||||
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
||||
`+ka+e+Ku}var Yn=!1;function qn(e,t){if(!e||Yn)return"";Yn=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(N){var C=N}Reflect.construct(e,[],Y)}else{try{Y.call()}catch(N){C=N}e.call(Y.prototype)}}else{try{throw Error()}catch(N){C=N}(Y=e())&&typeof Y.catch=="function"&&Y.catch(function(){})}}catch(N){if(N&&C&&typeof N.stack=="string")return[N.stack,C.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),r=u[0],d=u[1];if(r&&d){var g=r.split(`
|
||||
`),D=d.split(`
|
||||
`);for(n=a=0;a<g.length&&!g[a].includes("DetermineComponentFrameRoot");)a++;for(;n<D.length&&!D[n].includes("DetermineComponentFrameRoot");)n++;if(a===g.length||n===D.length)for(a=g.length-1,n=D.length-1;1<=a&&0<=n&&g[a]!==D[n];)n--;for(;1<=a&&0<=n;a--,n--)if(g[a]!==D[n]){if(a!==1||n!==1)do if(a--,n--,0>n||g[a]!==D[n]){var B=`
|
||||
`+g[a].replace(" at new "," at ");return e.displayName&&B.includes("<anonymous>")&&(B=B.replace("<anonymous>",e.displayName)),B}while(1<=a&&0<=n);break}}}finally{Yn=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?Rt(l):""}function Ju(e,t){switch(e.tag){case 26:case 27:case 5:return Rt(e.type);case 16:return Rt("Lazy");case 13:return e.child!==t&&t!==null?Rt("Suspense Fallback"):Rt("Suspense");case 19:return Rt("SuspenseList");case 0:case 15:return qn(e.type,!1);case 11:return qn(e.type.render,!1);case 1:return qn(e.type,!0);case 31:return Rt("Activity");default:return""}}function $u(e){try{var t="",l=null;do t+=Ju(e,l),l=e,e=e.return;while(e);return t}catch(a){return`
|
||||
Error generating stack: `+a.message+`
|
||||
`+a.stack}}var Gn=Object.prototype.hasOwnProperty,Xn=i.unstable_scheduleCallback,Qn=i.unstable_cancelCallback,Dl=i.unstable_shouldYield,Ma=i.unstable_requestPaint,Tt=i.unstable_now,Zn=i.unstable_getCurrentPriorityLevel,Vt=i.unstable_ImmediatePriority,Kt=i.unstable_UserBlockingPriority,Ra=i.unstable_NormalPriority,bc=i.unstable_LowPriority,Wa=i.unstable_IdlePriority,Ec=i.log,rl=i.unstable_setDisableYieldValue,Fl=null,zt=null;function fl(e){if(typeof Ec=="function"&&rl(e),zt&&typeof zt.setStrictMode=="function")try{zt.setStrictMode(Fl,e)}catch{}}var Dt=Math.clz32?Math.clz32:ku,Fu=Math.log,Pa=Math.LN2;function ku(e){return e>>>=0,e===0?32:31-(Fu(e)/Pa|0)|0}var kl=256,Ia=262144,Da=4194304;function Al(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Aa(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var n=0,u=e.suspendedLanes,r=e.pingedLanes;e=e.warmLanes;var d=a&134217727;return d!==0?(a=d&~u,a!==0?n=Al(a):(r&=d,r!==0?n=Al(r):l||(l=d&~e,l!==0&&(n=Al(l))))):(d=a&~u,d!==0?n=Al(d):r!==0?n=Al(r):l||(l=a&~e,l!==0&&(n=Al(l)))),n===0?0:t!==0&&t!==n&&(t&u)===0&&(u=n&-n,l=t&-t,u>=l||u===32&&(l&4194048)!==0)?t:n}function yl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function en(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Wu(){var e=Da;return Da<<=1,(Da&62914560)===0&&(Da=4194304),e}function Vn(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function p(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function M(e,t,l,a,n,u){var r=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var d=e.entanglements,g=e.expirationTimes,D=e.hiddenUpdates;for(l=r&~l;0<l;){var B=31-Dt(l),Y=1<<B;d[B]=0,g[B]=-1;var C=D[B];if(C!==null)for(D[B]=null,B=0;B<C.length;B++){var N=C[B];N!==null&&(N.lane&=-536870913)}l&=~Y}a!==0&&U(e,a,0),u!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=u&~(r&~t))}function U(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-Dt(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|l&261930}function q(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var a=31-Dt(l),n=1<<a;n&t|e[a]&t&&(e[a]|=t),l&=~n}}function V(e,t){var l=t&-t;return l=(l&42)!==0?1:ue(l),(l&(e.suspendedLanes|t))!==0?0:l}function ue(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ie(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function le(){var e=X.p;return e!==0?e:(e=window.event,e===void 0?32:Bh(e.type))}function ce(e,t){var l=X.p;try{return X.p=e,t()}finally{X.p=l}}var re=Math.random().toString(36).slice(2),J="__reactFiber$"+re,F="__reactProps$"+re,Ee="__reactContainer$"+re,Ge="__reactEvents$"+re,ct="__reactListeners$"+re,gt="__reactHandles$"+re,Ke="__reactResources$"+re,je="__reactMarker$"+re;function ol(e){delete e[J],delete e[F],delete e[Ge],delete e[ct],delete e[gt]}function Jt(e){var t=e[J];if(t)return t;for(var l=e.parentNode;l;){if(t=l[Ee]||l[J]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=bh(e);e!==null;){if(l=e[J])return l;e=bh(e)}return t}e=l,l=e.parentNode}return null}function At(e){if(e=e[J]||e[Ee]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function _t(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(f(33))}function gl(e){var t=e[Ke];return t||(t=e[Ke]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function We(e){e[je]=!0}var pl=new Set,Ca={};function $t(e,t){Te(e,t),Te(e+"Capture",t)}function Te(e,t){for(Ca[e]=t,e=0;e<t.length;e++)pl.add(t[e])}var mt=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2
Line truncated
|
||||
`).replace(Sy,"")}function oh(e,t){return t=fh(t),fh(e)===t}function Qe(e,t,l,a,n,u){switch(l){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||ln(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&ln(e,""+a);break;case"className":Oa(e,"class",a);break;case"tabIndex":Oa(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Oa(e,l,a);break;case"style":fo(e,a,u);break;case"data":if(t!=="object"){Oa(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=Iu(""+a),e.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(l==="formAction"?(t!=="input"&&Qe(e,t,"name",n.name,n,null),Qe(e,t,"formEncType",n.formEncType,n,null),Qe(e,t,"formMethod",n.formMethod,n,null),Qe(e,t,"formTarget",n.formTarget,n,null)):(Qe(e,t,"encType",n.encType,n,null),Qe(e,t,"method",n.method,n,null),Qe(e,t,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=Iu(""+a),e.setAttribute(l,a);break;case"onClick":a!=null&&(e.onclick=xl);break;case"onScroll":a!=null&&_e("scroll",e);break;case"onScrollEnd":a!=null&&_e("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(f(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(f(60));e.innerHTML=l}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}l=Iu(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,""+a):e.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":a===!0?e.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,a):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(l,a):e.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(l):e.setAttribute(l,a);break;case"popover":_e("beforetoggle",e),_e("toggle",e),Ol(e,"popover",a);break;case"xlinkActuate":sl(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":sl(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":sl(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":sl(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":sl(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":sl(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":sl(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":sl(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":sl(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Ol(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Jm.get(l)||l,Ol(e,l,a))}}function df(e,t,l,a,n,u){switch(l){case"style":fo(e,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(f(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(f(60));e.innerHTML=l}}break;case"children":typeof a=="string"?ln(e,a):(typeof a=="number"||typeof a=="bigint")&&ln(e,""+a);break;case"onScroll":a!=null&&_e("scroll",e);break;case"onScrollEnd":a!=null&&_e("scrollend",e);break;case"onClick":a!=null&&(e.onclick=xl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"inne
Line truncated
|
||||
* react-router v7.9.4
|
||||
*
|
||||
* Copyright (c) Remix Software Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE.md file in the root directory of this source tree.
|
||||
*
|
||||
* @license MIT
|
||||
*/var bm=i=>{throw TypeError(i)},c0=(i,c,o)=>c.has(i)||bm("Cannot "+o),Bf=(i,c,o)=>(c0(i,c,"read from private field"),o?o.call(i):c.get(i)),r0=(i,c,o)=>c.has(i)?bm("Cannot add the same private member more than once"):c instanceof WeakSet?c.add(i):c.set(i,o),Ih="popstate";function f0(i={}){function c(f,s){let{pathname:m,search:v,hash:S}=f.location;return qu("",{pathname:m,search:v,hash:S},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function o(f,s){return typeof s=="string"?s:za(s)}return s0(c,o,null,i)}function Re(i,c){if(i===!1||i===null||typeof i>"u")throw new Error(c)}function dt(i,c){if(!i){typeof console<"u"&&console.warn(c);try{throw new Error(c)}catch{}}}function o0(){return Math.random().toString(36).substring(2,10)}function em(i,c){return{usr:i.state,key:i.key,idx:c}}function qu(i,c,o=null,f){return{pathname:typeof i=="string"?i:i.pathname,search:"",hash:"",...typeof c=="string"?_a(c):c,state:o,key:c&&c.key||f||o0()}}function za({pathname:i="/",search:c="",hash:o=""}){return c&&c!=="?"&&(i+=c.charAt(0)==="?"?c:"?"+c),o&&o!=="#"&&(i+=o.charAt(0)==="#"?o:"#"+o),i}function _a(i){let c={};if(i){let o=i.indexOf("#");o>=0&&(c.hash=i.substring(o),i=i.substring(0,o));let f=i.indexOf("?");f>=0&&(c.search=i.substring(f),i=i.substring(0,f)),i&&(c.pathname=i)}return c}function s0(i,c,o,f={}){let{window:s=document.defaultView,v5Compat:m=!1}=f,v=s.history,S="POP",y=null,h=z();h==null&&(h=0,v.replaceState({...v.state,idx:h},""));function z(){return(v.state||{idx:null}).idx}function T(){S="POP";let K=z(),Z=K==null?null:K-h;h=K,y&&y({action:S,location:$.location,delta:Z})}function H(K,Z){S="PUSH";let P=qu($.location,K,Z);h=z()+1;let ne=em(P,h),De=$.createHref(P);try{v.pushState(ne,"",De)}catch(se){if(se instanceof DOMException&&se.name==="DataCloneError")throw se;s.location.assign(De)}m&&y&&y({action:S,location:$.location,delta:1})}function L(K,Z){S="REPLACE";let P=qu($.location,K,Z);h=z();let ne=em(P,h),De=$.createHref(P);v.replaceState(ne,"",De),m&&y&&y({action:S,location:$.location,delta:0})}function G(K){return Em(K)}let $={get action(){return S},get location(){return i(s,v)},listen(K){if(y)throw new Error("A history only accepts one active listener");return s.addEventListener(Ih,T),y=K,()=>{s.removeEventListener(Ih,T),y=null}},createHref(K){return c(s,K)},createURL:G,encodeLocation(K){let Z=G(K);return{pathname:Z.pathname,search:Z.search,hash:Z.hash}},push:H,replace:L,go(K){return v.go(K)}};return $}function Em(i,c=!1){let o="http://localhost";typeof window<"u"&&(o=window.location.origin!=="null"?window.location.origin:window.location.href),Re(o,"No window.location.(origin|href) available to create URL");let f=typeof i=="string"?i:za(i);return f=f.replace(/ $/,"%20"),!c&&f.startsWith("//")&&(f=o+f),new URL(f,o)}var Yu,tm=class{constructor(i){if(r0(this,Yu,new Map),i)for(let[c,o]of i)this.set(c,o)}get(i){if(Bf(this,Yu).has(i))return Bf(this,Yu).get(i);if(i.defaultValue!==void 0)return i.defaultValue;throw new Error("No value found for context")}set(i,c){Bf(this,Yu).set(i,c)}};Yu=new WeakMap;var d0=new Set(["lazy","caseSensitive","path","id","index","children"]);function h0(i){return d0.has(i)}var m0=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function v0(i){return m0.has(i)}function y0(i){return i.index===!0}function Gu(i,c,o=[],f={},s=!1){return i.map((m,v)=>{let S=[...o,String(v)],y=typeof m.id=="string"?m.id:S.join("-");if(Re(m.index!==!0||!m.children,"Cannot specify children on an index route"),Re(s||!f[y],`Found a route id collision on id "${y}". Route id's must be globally unique within Data Router usages`),y0(m)){let h={...m,...c(m),id:y};return f[y]=h,h}else{let h={...m,...c(m),id:y,children:void 0};return f[y]=h,m.children&&(h.children=Gu(m.children,c,S,f,s)),h}})}function Ea(i,c,o="/"){return sc(i,c,o,!1)}function sc(i,c,o,f){let s=typeof c=="string"?_a(c):c,m=il(s.pathname||"/",o);if(m==null)return null;let v=Tm(i);p0(v);let S=null;for(let y=0;S==null&&y<v.length;++y){let h=C0(m);S=D0(v[y],h,f)}return S}function g0(i,c){let{route:o,pathname:f,params:s}=i;return{id:o.id,pathname:f,params:s,data:c[o.id],loaderData:c[o.id],handle:o.handle}}function Tm(i,c=[],o=[],f="",s=!1){let m=(v,S,y=s,h)=>{let z={relativePath:h===void 0?v.path||"":h,caseSensitive:v.caseSensitive===!0,childrenIndex:S,route:v};if(z.relativePath.startsWith("/")){if(!z.relativePath.startsWith(f)&&y)return;Re(z.relativePath.startsWith(f),`Absolute route path "${z.relativePath}" nested under path "${f}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),z.relativePath=z.relativePath.slice(f.length)}let T=_l([f,z.relativePath]),H=o.concat(z);v.children&&v.children.length>0&&(Re(v.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${T}".`),Tm(v.children,c,H,T,y)),!(v.path==null&&!v.index)&&c.push({path:T,score:M0(T,v.index),routesMeta:H})};return i.forEach((v,S)=>{if(v.path===""||!v.path
Line truncated
|
||||
`,""):String(o.body);return{path:c,submission:{formMethod:m,formAction:v,formEncType:o.formEncType,formData:void 0,json:void 0,text:T}}}else if(o.formEncType==="application/json"){if(!Bt(m))return f();try{let T=typeof o.body=="string"?JSON.parse(o.body):o.body;return{path:c,submission:{formMethod:m,formAction:v,formEncType:o.formEncType,formData:void 0,json:T,text:void 0}}}catch{return f()}}}Re(typeof FormData=="function","FormData is not available in this environment");let S,y;if(o.formData)S=Zf(o.formData),y=o.formData;else if(o.body instanceof FormData)S=Zf(o.body),y=o.body;else if(o.body instanceof URLSearchParams)S=o.body,y=om(S);else if(o.body==null)S=new URLSearchParams,y=new FormData;else try{S=new URLSearchParams(o.body),y=om(S)}catch{return f()}let h={formMethod:m,formAction:v,formEncType:o&&o.formEncType||"application/x-www-form-urlencoded",formData:y,json:void 0,text:void 0};if(Bt(h.formMethod))return{path:c,submission:h};let z=_a(c);return i&&z.search&&kf(z.search)&&S.append("index",""),z.search=`?${S}`,{path:za(z),submission:h}}function nm(i,c,o,f,s,m,v,S,y,h,z,T,H,L,G,$,K,Z,P,ne){let De=ne?Zt(ne[1])?ne[1].error:ne[1].data:void 0,se=s.createURL(m.location),O=s.createURL(y),k;if(z&&m.errors){let xe=Object.keys(m.errors)[0];k=v.findIndex(Ue=>Ue.route.id===xe)}else if(ne&&Zt(ne[1])){let xe=ne[0];k=v.findIndex(Ue=>Ue.route.id===xe)-1}let pe=ne?ne[1].statusCode:void 0,he=pe&&pe>=400,Be={currentUrl:se,currentParams:m.matches[0]?.params||{},nextUrl:O,nextParams:v[0].params,...S,actionResult:De,actionStatus:pe},Fe=v.map((xe,Ue)=>{let{route:ke}=xe,A=null;if(k!=null&&Ue>k?A=!1:ke.lazy?A=!0:Ff(ke)?z?A=Xf(ke,m.loaderData,m.errors):K0(m.loaderData,m.matches[Ue],xe)&&(A=!0):A=!1,A!==null)return Qf(o,f,i,xe,h,c,A);let X=he?!1:T||se.pathname+se.search===O.pathname+O.search||se.search!==O.search||J0(m.matches[Ue],xe),te={...Be,defaultShouldRevalidate:X},be=gc(xe,te);return Qf(o,f,i,xe,h,c,be,te)}),et=[];return G.forEach((xe,Ue)=>{if(z||!v.some(j=>j.route.id===xe.routeId)||L.has(Ue))return;let ke=m.fetchers.get(Ue),A=ke&&ke.state!=="idle"&&ke.data===void 0,X=Ea(K,xe.path,Z);if(!X){if(P&&A)return;et.push({key:Ue,routeId:xe.routeId,path:xe.path,matches:null,match:null,request:null,controller:null});return}if($.has(Ue))return;let te=dc(X,xe.path),be=new AbortController,ye=Bn(s,xe.path,be.signal),b=null;if(H.has(Ue))H.delete(Ue),b=jn(o,f,ye,X,te,h,c);else if(A)T&&(b=jn(o,f,ye,X,te,h,c));else{let j={...Be,defaultShouldRevalidate:he?!1:T};gc(te,j)&&(b=jn(o,f,ye,X,te,h,c,j))}b&&et.push({key:Ue,routeId:xe.routeId,path:xe.path,matches:b,match:te,request:ye,controller:be})}),{dsMatches:Fe,revalidatingFetchers:et}}function Ff(i){return i.loader!=null||i.middleware!=null&&i.middleware.length>0}function Xf(i,c,o){if(i.lazy)return!0;if(!Ff(i))return!1;let f=c!=null&&i.id in c,s=o!=null&&o[i.id]!==void 0;return!f&&s?!1:typeof i.loader=="function"&&i.loader.hydrate===!0?!0:!f&&!s}function K0(i,c,o){let f=!c||o.route.id!==c.route.id,s=!i.hasOwnProperty(o.route.id);return f||s}function J0(i,c){let o=i.route.path;return i.pathname!==c.pathname||o!=null&&o.endsWith("*")&&i.params["*"]!==c.params["*"]}function gc(i,c){if(i.route.shouldRevalidate){let o=i.route.shouldRevalidate(c);if(typeof o=="boolean")return o}return c.defaultShouldRevalidate}function um(i,c,o,f,s,m){let v;if(i){let h=f[i];Re(h,`No route found to patch children into: routeId = ${i}`),h.children||(h.children=[]),v=h.children}else v=o;let S=[],y=[];if(c.forEach(h=>{let z=v.find(T=>Am(h,T));z?y.push({existingRoute:z,newRoute:h}):S.push(h)}),S.length>0){let h=Gu(S,s,[i||"_","patch",String(v?.length||"0")],f);v.push(...h)}if(m&&y.length>0)for(let h=0;h<y.length;h++){let{existingRoute:z,newRoute:T}=y[h],H=z,[L]=Gu([T],s,[],{},!0);Object.assign(H,{element:L.element?L.element:H.element,errorElement:L.errorElement?L.errorElement:H.errorElement,hydrateFallbackElement:L.hydrateFallbackElement?L.hydrateFallbackElement:H.hydrateFallbackElement})}}function Am(i,c){return"id"in i&&"id"in c&&i.id===c.id?!0:i.index===c.index&&i.path===c.path&&i.caseSensitive===c.caseSensitive?(!i.children||i.children.length===0)&&(!c.children||c.children.length===0)?!0:i.children.every((o,f)=>c.children?.some(s=>Am(o,s))):!1}var im=new WeakMap,Cm=({key:i,route:c,manifest:o,mapRouteProperties:f})=>{let s=o[c.id];if(Re(s,"No route found in manifest"),!s.lazy||typeof s.lazy!="object")return;let m=s.lazy[i];if(!m)return;let v=im.get(s);v||(v={},im.set(s,v));let S=v[i];if(S)return S;let y=(async()=>{let h=h0(i),T=s[i]!==void 0&&i!=="hasErrorBoundary";if(h)dt(!h,"Route property "+i+" is not a supported lazy route property. This property will be ignored."),v[i]=Promise.resolve();else if(T)dt(!1,`Route "${s.id}" has a static property "${i}" defined. The lazy property will be ignored.`);else{let H=await m();H!=null&&(Object.assign(s,{[i]:H}),Object.assign(s,f(s)))}typeof s.lazy=="object"&&(s.lazy[i]=void 0,Object.values(s.lazy).every(H=>H===void 0)&&(s.lazy=void 0))})();return v[i]=y,y},cm=new WeakMap;fun
Line truncated
|
||||
|
||||
Please change the parent <Route path="${P}"> to <Route path="${P==="/"?"*":`${P}/*`}">.`)}let H=Fa(),L;L=H;let G=L.pathname||"/",$=G;if(z!=="/"){let P=z.replace(/^\//,"").split("/");$="/"+G.replace(/^\//,"").split("/").slice(P.length).join("/")}let K=Ea(i,{pathname:$});return dt(T||K!=null,`No routes matched location "${L.pathname}${L.search}${L.hash}" `),dt(K==null||K[K.length-1].route.element!==void 0||K[K.length-1].route.Component!==void 0||K[K.length-1].route.lazy!==void 0,`Matched leaf route at location "${L.pathname}${L.search}${L.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),_g(K&&K.map(P=>Object.assign({},P,{params:Object.assign({},y,P.params),pathname:_l([z,m.encodeLocation?m.encodeLocation(P.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:P.pathname]),pathnameBase:P.pathnameBase==="/"?z:_l([z,m.encodeLocation?m.encodeLocation(P.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:P.pathnameBase])})),v,o,f,s)}function bg(){let i=Cg(),c=Xu(i)?`${i.status} ${i.statusText}`:i instanceof Error?i.message:JSON.stringify(i),o=i instanceof Error?i.stack:null,f="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:f},m={padding:"2px 4px",backgroundColor:f},v=null;return console.error("Error handled by React Router default ErrorBoundary:",i),v=x.createElement(x.Fragment,null,x.createElement("p",null,"💿 Hey developer 👋"),x.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",x.createElement("code",{style:m},"ErrorBoundary")," or"," ",x.createElement("code",{style:m},"errorElement")," prop on your route.")),x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},c),o?x.createElement("pre",{style:s},o):null,v)}var Eg=x.createElement(bg,null),Tg=class extends x.Component{constructor(i){super(i),this.state={location:i.location,revalidation:i.revalidation,error:i.error}}static getDerivedStateFromError(i){return{error:i}}static getDerivedStateFromProps(i,c){return c.location!==i.location||c.revalidation!=="idle"&&i.revalidation==="idle"?{error:i.error,location:i.location,revalidation:i.revalidation}:{error:i.error!==void 0?i.error:c.error,location:c.location,revalidation:i.revalidation||c.revalidation}}componentDidCatch(i,c){this.props.unstable_onError?this.props.unstable_onError(i,c):console.error("React Router caught the following error during render",i)}render(){return this.state.error!==void 0?x.createElement(Rl.Provider,{value:this.props.routeContext},x.createElement(Pf.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function zg({routeContext:i,match:c,children:o}){let f=x.useContext($a);return f&&f.static&&f.staticContext&&(c.route.errorElement||c.route.ErrorBoundary)&&(f.staticContext._deepestRenderedBoundaryId=c.route.id),x.createElement(Rl.Provider,{value:i},o)}function _g(i,c=[],o=null,f=null,s=null){if(i==null){if(!o)return null;if(o.errors)i=o.matches;else if(c.length===0&&!o.initialized&&o.matches.length>0)i=o.matches;else return null}let m=i,v=o?.errors;if(v!=null){let h=m.findIndex(z=>z.route.id&&v?.[z.route.id]!==void 0);Re(h>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(v).join(",")}`),m=m.slice(0,Math.min(m.length,h+1))}let S=!1,y=-1;if(o)for(let h=0;h<m.length;h++){let z=m[h];if((z.route.HydrateFallback||z.route.hydrateFallbackElement)&&(y=h),z.route.id){let{loaderData:T,errors:H}=o,L=z.route.loader&&!T.hasOwnProperty(z.route.id)&&(!H||H[z.route.id]===void 0);if(z.route.lazy||L){S=!0,y>=0?m=m.slice(0,y+1):m=[m[0]];break}}}return m.reduceRight((h,z,T)=>{let H,L=!1,G=null,$=null;o&&(H=v&&z.route.id?v[z.route.id]:void 0,G=z.route.errorElement||Eg,S&&(y<0&&T===0?(wm("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),L=!0,$=null):y===T&&(L=!0,$=z.route.hydrateFallbackElement||null)));let K=c.concat(m.slice(0,T+1)),Z=()=>{let P;return H?P=G:L?P=$:z.route.Component?P=x.createElement(z.route.Component,null):z.route.element?P=z.route.element:P=h,x.createElement(zg,{match:z,routeContext:{outlet:h,matches:K,isDataRoute:o!=null},children:P})};return o&&(z.route.ErrorBoundary||z.route.errorElement||T===0)?x.createElement(Tg,{location:o.location,revalidation:o.revalidation,component:G,error:H,children:Z(),routeContext:{outlet:null,matches:K,isDataRoute:!0},unstable_onError:f}):Z()},null)}function If(i){return`${i} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Mg(i){let c=x.useContext($a);return Re(c,If(i)),c}function Rg(i){let c=x.useContext(Qu);return Re(c,If(i)),c}function Dg(i){let c=x.useContext(Rl);return Re(c,If(i)),c}function eo(i){let c=Dg(i),o=c.matches[c.matches.length-1];return Re(o.route.id,`${i} can only be used on routes that contain a uniqu
Line truncated
|
||||
Reference in new issue
Block a user