git-truck 0.0.0-df24d8f → 0.0.0-e01892a
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/README.md +27 -69
- package/build/client/assets/GitTruckInfo-un_3Kok4.js +1 -0
- package/build/client/assets/LoadingIndicator-SOpPzvbS.js +1 -0
- package/build/client/assets/RevisionSelect-SrpO6JPf.js +1 -0
- package/build/client/assets/Tooltip-D_S4TjsA.js +6 -0
- package/build/client/assets/_index-CUlJmeRb.js +1 -0
- package/build/client/assets/_repo._-1fXsj0hR.js +18 -0
- package/build/client/assets/_repository-CZYQSN1t.js +0 -0
- package/build/client/assets/authordist-BooTyDMX.js +0 -0
- package/build/client/assets/clear-cache-Ckh4wcip.js +1 -0
- package/build/client/assets/clear-cache-D0olKoRl.js +1 -0
- package/build/client/assets/commitcount-B_3CeIvr.js +0 -0
- package/build/client/assets/commits-DNZ_hn-X.js +0 -0
- package/build/client/assets/entry.client-D1dRnGqd.js +9 -0
- package/build/client/assets/jsx-runtime-DFd4lFBE.js +26 -0
- package/build/client/assets/manifest-4723abac.js +1 -0
- package/build/client/assets/progress-DMGX1aEW.js +0 -0
- package/build/client/assets/root-DKtEsrVf.js +1 -0
- package/build/client/assets/root-igHuhpOR.css +1 -0
- package/build/client/assets/ui-C5C1Jexe.js +1 -0
- package/build/client/favicon.ico +0 -0
- package/build/server/assets/server-build-DEjTAloe.js +12749 -0
- package/build/server/assets/util.server-DIX86N1-.js +1822 -0
- package/build/server/index.js +193 -0
- package/cli.js +35964 -1142
- package/package.json +126 -82
- package/build/index.js +0 -62732
- package/public/build/_assets/index-J6PD77UO.css +0 -1
- package/public/build/_assets/tailwind-ADOVUPNC.css +0 -1
- package/public/build/_assets/truck-JLDVJULS.png +0 -0
- package/public/build/_assets/vars-4NGWF3MU.css +0 -1
- package/public/build/_shared/chunk-JIS2776Y.js +0 -1
- package/public/build/_shared/chunk-KK33YZN3.js +0 -249
- package/public/build/_shared/chunk-LTCVSSEB.js +0 -32
- package/public/build/_shared/chunk-MHOL6WIH.js +0 -1
- package/public/build/entry.client-BYKBDGS4.js +0 -1
- package/public/build/manifest-8F05227B.js +0 -1
- package/public/build/root-MJSVBACO.js +0 -1
- package/public/build/routes/$repo.$-JAKTGFDF.js +0 -82
- package/public/build/routes/_index-AYW3UJ6K.js +0 -1
- /package/{public/build/_assets/truck-7F5JWBYT.gif → build/client/assets/truck-BgAoc4Gr.gif} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
*{box-sizing:border-box;margin:0;padding:0}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100vh;background-color:var(--global-bg-color)}#root{height:100%}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}input,button,textarea,select{font:inherit}button:focus,input:focus,select:focus{outline-color:var(--focused-outline-color)}@keyframes dash{to{stroke-dashoffset:0}}@keyframes hide_initially{to{opacity:1}}@keyframes blink{0%{opacity:100%}50%{opacity:50%}to{opacity:100%}}@keyframes stroke_pulse{0%{stroke-width:1px;stroke-opacity:0%}50%{stroke-opacity:50%}99%{stroke-width:5px;stroke-opacity:0%}to{stroke-width:1px;stroke-opacity:0%}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:Roboto Mono,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.card{position:relative;display:flex;width:auto;flex-direction:column;gap:.5rem;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:.5rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.card-p{font-size:.875rem;line-height:1.25rem;opacity:.8}.card__title{-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:.875rem;line-height:1.25rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;opacity:.8;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;display:flex;align-items:center;justify-content:space-between}.card__subtitle{font-size:1rem;line-height:1.5rem;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;display:flex;align-items:center;justify-content:space-between}.btn{display:grid;height:2rem;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;grid-auto-flow:column;align-items:center;justify-content:center;gap:.5rem;border-radius:.375rem;border-width:1px;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity));padding-left:.5rem;padding-right:.5rem;font-size:.875rem;line-height:1.25rem;font-weight:700;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity));transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.btn:hover{opacity:.7}.btn:disabled{cursor:not-allowed;opacity:.5}.btn>svg,h2 svg{display:inline-block;height:1rem;width:1rem}.btn:disabled{cursor:not-allowed}.btn--outlined{border-color:currentColor;background-color:transparent;color:#000000e6}.btn--outlined:hover{background-color:transparent;color:#00000080}.btn--outlined--light{border-color:currentColor;background-color:transparent;color:#ffffffe6}.btn--outlined--light:hover{background-color:transparent;color:#ffffff80}.btn.btn--primary{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn.btn--primary:hover:enabled{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.btn--icon.btn--primary{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.btn--success{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn--danger{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn--icon{display:inline-grid;cursor:pointer;place-items:center}.btn--icon>*:hover{opacity:.7}.btn--hover-swap .hover-swap{display:none}.btn--hover-swap>.hover-swap{display:none}.btn--hover-swap>:not(.hover-swap){opacity:.5}.btn--hover-swap:hover>.hover-swap{display:block}.btn--hover-swap:hover>:not(.hover-swap){display:none}.input{height:2rem;width:100%;flex-grow:1;overflow:scroll;text-overflow:ellipsis;border-radius:.25rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity));padding-left:.25rem;padding-right:.25rem;font-size:.875rem;line-height:1.25rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.input:enabled{cursor:pointer}.input:hover:enabled{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.input:disabled{cursor:not-allowed}.input:not(select){padding-left:.5rem;padding-right:.5rem}.label{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-weight:700}.label:hover{opacity:.7}.app-container{display:grid;height:auto;width:100%;grid-template-columns:repeat(1,minmax(0,1fr));grid-template-rows:50vh auto auto;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}@media (min-width: 768px){.app-container{height:100vh;grid-template-columns:var(--side-panel-width) 1fr var(--side-panel-width);grid-template-rows:1fr;overflow:hidden}}.app-container{grid-template-areas:"left main right"}@media (max-width: 768px){.app-container{grid-template-areas:"main" "left" "right"}}.app-container>main{grid-area:main}@media (min-width: 768px){.app-container>aside{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}}.app-container>aside:first-of-type{grid-area:left}.app-container>aside:last-of-type{grid-area:right}.app-container.fullscreen{grid-template-rows:100vh auto auto}.app-container.fullscreen>main{grid-column:1 / -1}@media (min-width: 768px){.app-container.fullscreen>aside:first-of-type{--tw-translate-x: calc(var(--side-panel-width) * -1);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.app-container.fullscreen>aside:last-of-type{--tw-translate-x: var(--side-panel-width);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}.pointer-events-none{pointer-events:none}.\!visible{visibility:visible!important}.visible{visibility:visible}.\!collapse{visibility:collapse!important}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.bottom-0{bottom:0}.bottom-2{bottom:.5rem}.left-0{left:0}.right-0{right:0}.right-2{right:.5rem}.top-0{top:0}.top-2{top:.5rem}.z-10{z-index:10}.col-span-2{grid-column:span 2 / span 2}.m-0{margin:0}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.ml-0{margin-left:0}.ml-0\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-1\.5{margin-left:.375rem}.mr-2{margin-right:.5rem}.mr-6{margin-right:1.5rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.inline-grid{display:inline-grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.h-12{height:3rem}.h-4{height:1rem}.h-6{height:1.5rem}.h-auto{height:auto}.h-full{height:100%}.h-max{height:-moz-max-content;height:max-content}.h-screen{height:100vh}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.min-h-0{min-height:0px}.min-h-screen{min-height:100vh}.w-4{width:1rem}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-min{width:-moz-min-content;width:min-content}.min-w-0{min-width:0px}.min-w-\[100px\]{min-width:100px}.min-w-max{min-width:-moz-max-content;min-width:max-content}.max-w-7xl{max-width:80rem}.max-w-screen-lg{max-width:1024px}.max-w-sm{max-width:24rem}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1\/2{--tw-translate-y: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-blink{animation:1s linear infinite blink}.animate-hide-initially{animation:0s 1s linear forwards hide_initially}.animate-stroke-pulse{animation:1s ease-in-out infinite stroke_pulse}.cursor-pointer{cursor:pointer}.cursor-zoom-in{cursor:zoom-in}.cursor-zoom-out{cursor:zoom-out}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.auto-cols-max{grid-auto-columns:max-content}.grid-flow-col{grid-auto-flow:column}.auto-rows-fr{grid-auto-rows:minmax(0,1fr)}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\[1fr\,auto\]{grid-template-columns:1fr auto}.grid-cols-\[1fr_1fr\]{grid-template-columns:1fr 1fr}.grid-cols-\[auto\,1fr\,auto\]{grid-template-columns:auto 1fr auto}.grid-cols-\[auto\,1fr\],.grid-cols-\[auto_1fr\]{grid-template-columns:auto 1fr}.grid-cols-\[repeat\(auto-fit\,minmax\(225px\,1fr\)\)\]{grid-template-columns:repeat(auto-fit,minmax(225px,1fr))}.grid-rows-\[auto\,1fr\]{grid-template-rows:auto 1fr}.grid-rows-\[max-content_max-content_max-content_max-content_1fr_max-content\]{grid-template-rows:max-content max-content max-content max-content 1fr max-content}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.place-items-stretch{place-items:stretch}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-y-1{row-gap:.25rem}.gap-y-1\.5{row-gap:.375rem}.place-self-end{place-self:end}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-y-hidden{overflow-y:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overflow-ellipsis{text-overflow:ellipsis}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.break-all{word-break:break-all}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-black\/50{background-color:#00000080}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-slate-50{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.bg-white\/20{background-color:#fff3}.bg-white\/70{background-color:#ffffffb3}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-blue-500{--tw-gradient-from: #3b82f6 var(--tw-gradient-from-position);--tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-gray-500{--tw-gradient-from: #6b7280 var(--tw-gradient-from-position);--tw-gradient-to: rgb(107 114 128 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-500{--tw-gradient-from: #22c55e var(--tw-gradient-from-position);--tw-gradient-to: rgb(34 197 94 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-blue-600{--tw-gradient-to: #2563eb var(--tw-gradient-to-position)}.to-gray-600{--tw-gradient-to: #4b5563 var(--tw-gradient-to-position)}.to-green-600{--tw-gradient-to: #16a34a var(--tw-gradient-to-position)}.fill-none{fill:none}.stroke-black\/20{stroke:#0003}.stroke-none{stroke:none}.stroke-white{stroke:#fff}.stroke-\[7px\]{stroke-width:7px}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pl-0{padding-left:0}.pl-1{padding-left:.25rem}.pr-0{padding-right:0}.pr-2{padding-right:.5rem}.pt-0{padding-top:0}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:Roboto Mono,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-xs\/none{font-size:.75rem;line-height:1}.font-bold{font-weight:700}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-none{line-height:1}.tracking-\[0\.5em\]{letter-spacing:.5em}.tracking-widest{letter-spacing:.1em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-white\/90{color:#ffffffe6}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-black{--tw-shadow-color: #000;--tw-shadow: var(--tw-shadow-colored)}.shadow-black\/50{--tw-shadow-color: rgb(0 0 0 / .5);--tw-shadow: var(--tw-shadow-colored)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.will-change-transform{will-change:transform}.hover\:text-blue-500:hover{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.hover\:opacity-100:hover{opacity:1}.hover\:opacity-60:hover{opacity:.6}.hover\:opacity-70:hover{opacity:.7}.hover\:opacity-80:hover{opacity:.8}.\[\&\:hover\>svg\]\:opacity-50:hover>svg{opacity:.5}.\[\&\>svg\]\:opacity-0>svg{opacity:0}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{--unit: 4px;--global-bg-color: hsl(210, 38%, 95%);--side-panel-width-units: 94;--side-panel-width: calc(var(--side-panel-width-units) * var(--unit));--title-color: hsl(200, 5%, 30%);--text-color: hsl(200, 5%, 25%);--border-color: hsl(0, 0%, 70%);--border-width: 1px;--surface-color: hsl(0, 0%, 90%);--border-color-alpha: hsla(0, 0%, 0%, 30%);--focused-outline-color: hsl(216, 83%, 62%);--shadow: .9px .9px 2.7px hsla(0, 0%, 0%, .07), 2.2px 2.2px 6.9px hsla(0, 0%, 0%, .048), 4.4px 4.4px 14.2px hsla(0, 0%, 0%, .039), 9.1px 9.1px 29.2px hsla(0, 0%, 0%, .031), 25px 25px 80px hsla(0, 0%, 0%, .022);--small-shadow: .9px .9px 1.7px hsla(0, 0%, 0%, .5);--hover-transition-duration: .2s;--button-text-color: hsl(216, 0%, 30%)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as z,b as X,c as Z1,t as C1}from"/build/_shared/chunk-KK33YZN3.js";var V1=z((c1,H1)=>{"use strict";var n1="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";H1.exports=n1});var e1=z((s1,r1)=>{"use strict";var S1=V1();function L1(){}function M1(){}M1.resetWarningCache=L1;r1.exports=function(){function V(C,H,a,n,s,O){if(O!==S1){var Q=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw Q.name="Invariant Violation",Q}}V.isRequired=V;function M(){return V}var r={array:V,bigint:V,bool:V,func:V,number:V,object:V,string:V,symbol:V,any:V,arrayOf:M,element:V,elementType:V,instanceOf:M,node:V,objectOf:M,oneOf:M,oneOfType:M,shape:M,exact:M,checkPropTypes:M1,resetWarningCache:L1};return r.PropTypes=r,r}});var t1=z((g1,A1)=>{A1.exports=e1()();var O1,h1});var o1=z((f1,i1)=>{i1.exports=function(V){var M={};function r(C){if(M[C])return M[C].exports;var H=M[C]={i:C,l:!1,exports:{}};return V[C].call(H.exports,H,H.exports,r),H.l=!0,H.exports}return r.m=V,r.c=M,r.d=function(C,H,a){r.o(C,H)||Object.defineProperty(C,H,{enumerable:!0,get:a})},r.r=function(C){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})},r.t=function(C,H){if(1&H&&(C=r(C)),8&H||4&H&&typeof C=="object"&&C&&C.__esModule)return C;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:C}),2&H&&typeof C!="string")for(var n in C)r.d(a,n,function(s){return C[s]}.bind(null,n));return a},r.n=function(C){var H=C&&C.__esModule?function(){return C.default}:function(){return C};return r.d(H,"a",H),H},r.o=function(C,H){return Object.prototype.hasOwnProperty.call(C,H)},r.p="",r(r.s=2)}([function(V,M){V.exports=t1()},function(V,M){V.exports=Z1()},function(V,M,r){"use strict";r.r(M);var C=r(1),H=r(0),a=function(){return(a=Object.assign||function(L){for(var i,t=1,e=arguments.length;t<e;t++)for(var A in i=arguments[t])Object.prototype.hasOwnProperty.call(i,A)&&(L[A]=i[A]);return L}).apply(this,arguments)},n=function(L,i){var t={};for(var e in L)Object.prototype.hasOwnProperty.call(L,e)&&i.indexOf(e)<0&&(t[e]=L[e]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function"){var A=0;for(e=Object.getOwnPropertySymbols(L);A<e.length;A++)i.indexOf(e[A])<0&&Object.prototype.propertyIsEnumerable.call(L,e[A])&&(t[e[A]]=L[e[A]])}return t},s=0,O=C.forwardRef(function(L,i){var t=L.title,e=t===void 0?null:t,A=L.description,S=A===void 0?null:A,h=L.size,m=h===void 0?null:h,u=L.color,w=u===void 0?"currentColor":u,l=L.horizontal,F=l===void 0?null:l,b=L.vertical,y=b===void 0?null:b,g=L.rotate,R=g===void 0?null:g,f=L.spin,x=f===void 0?null:f,k=L.style,D=k===void 0?{}:k,c=L.children,G=n(L,["title","description","size","color","horizontal","vertical","rotate","spin","style","children"]);s++;var p,B=x!==null&&x,Z=C.Children.map(c,function(I){var o=I;B!==!0&&(B=(x===null?o.props.spin:x)===!0);var W=o.props.size;typeof m=="number"&&typeof o.props.size=="number"&&(W=o.props.size/m);var N={size:W,color:w===null?o.props.color:w,horizontal:F===null?o.props.horizontal:F,vertical:y===null?o.props.vertical:y,rotate:R===null?o.props.rotate:R,spin:x===null?o.props.spin:x,inStack:!0};return C.cloneElement(o,N)});m!==null&&(D.width=typeof m=="string"?m:1.5*m+"rem");var E,P="stack_labelledby_"+s,v="stack_describedby_"+s;if(e)p=S?P+" "+v:P;else if(E="presentation",S)throw new Error("title attribute required when description is set");return C.createElement("svg",a({ref:i,viewBox:"0 0 24 24",style:D,role:E,"aria-labelledby":p},G),e&&C.createElement("title",{id:P},e),S&&C.createElement("desc",{id:v},S),B&&C.createElement("style",null,"@keyframes spin { from { transform: rotate(0deg) } to { transform: rotate(360deg) } }","@keyframes spin-inverse { from { transform: rotate(0deg) } to { transform: rotate(-360deg) } }"),Z)});O.displayName="Stack",O.propTypes={size:H.oneOfType([H.number,H.string]),color:H.string,horizontal:H.bool,vertical:H.bool,rotate:H.number,spin:H.oneOfType([H.bool,H.number]),children:H.oneOfType([H.arrayOf(H.node),H.node]).isRequired,className:H.string,style:H.object},O.defaultProps={size:null,color:null,horizontal:null,vertical:null,rotate:null,spin:null};var Q=O;r.d(M,"Icon",function(){return T}),r.d(M,"Stack",function(){return Q});var q=function(){return(q=Object.assign||function(L){for(var i,t=1,e=arguments.length;t<e;t++)for(var A in i=arguments[t])Object.prototype.hasOwnProperty.call(i,A)&&(L[A]=i[A]);return L}).apply(this,arguments)},v1=function(L,i){var t={};for(var e in L)Object.prototype.hasOwnProperty.call(L,e)&&i.indexOf(e)<0&&(t[e]=L[e]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function"){var A=0;for(e=Object.getOwnPropertySymbols(L);A<e.length;A++)i.indexOf(e[A])<0&&Object.prototype.propertyIsEnumerable.call(L,e[A])&&(t[e[A]]=L[e[A]])}return t},l1=0,T=C.forwardRef(function(L,i){var t=L.path,e=L.id,A=e===void 0?++l1:e,S=L.title,h=S===void 0?null:S,m=L.description,u=m===void 0?null:m,w=L.size,l=w===void 0?null:w,F=L.color,b=F===void 0?"currentColor":F,y=L.horizontal,g=y!==void 0&&y,R=L.vertical,f=R!==void 0&&R,x=L.rotate,k=x===void 0?0:x,D=L.spin,c=D!==void 0&&D,G=L.style,p=G===void 0?{}:G,B=L.inStack,Z=B!==void 0&&B,E=v1(L,["path","id","title","description","size","color","horizontal","vertical","rotate","spin","style","inStack"]),P={},v=[];l!==null&&(Z?v.push("scale("+l+")"):(p.width=typeof l=="string"?l:1.5*l+"rem",p.height=p.width)),g&&v.push("scaleX(-1)"),f&&v.push("scaleY(-1)"),k!==0&&v.push("rotate("+k+"deg)"),b!==null&&(P.fill=b);var I=C.createElement("path",q({d:t,style:P},Z?E:{})),o=I;v.length>0&&(p.transform=v.join(" "),p.transformOrigin="center",Z&&(o=C.createElement("g",{style:p},I,C.createElement("rect",{width:"24",height:"24",fill:"transparent"}))));var W,N=o,Y=c===!0||typeof c!="number"?2:c,U=!Z&&(g||f);if(Y<0&&(U=!U),c&&(N=C.createElement("g",{style:{animation:"spin"+(U?"-inverse":"")+" linear "+Math.abs(Y)+"s infinite",transformOrigin:"center"}},o,!(g||f||k!==0)&&C.createElement("rect",{width:"24",height:"24",fill:"transparent"}))),Z)return N;var J,j="icon_labelledby_"+A,$="icon_describedby_"+A;if(h)W=u?j+" "+$:j;else if(J="presentation",u)throw new Error("title attribute required when description is set");return C.createElement("svg",q({ref:i,viewBox:"0 0 24 24",style:p,role:J,"aria-labelledby":W},E),h&&C.createElement("title",{id:j},h),u&&C.createElement("desc",{id:$},u),!Z&&c&&(U?C.createElement("style",null,"@keyframes spin-inverse { from { transform: rotate(0deg) } to { transform: rotate(-360deg) } }"):C.createElement("style",null,"@keyframes spin { from { transform: rotate(0deg) } to { transform: rotate(360deg) } }")),N)});T.displayName="Icon",T.propTypes={path:H.string.isRequired,size:H.oneOfType([H.number,H.string]),color:H.string,horizontal:H.bool,vertical:H.bool,rotate:H.number,spin:H.oneOfType([H.bool,H.number]),style:H.object,inStack:H.bool,className:H.string},T.defaultProps={size:null,color:"currentColor",horizontal:!1,vertical:!1,rotate:0,spin:!1},M.default=T}])});var k1="M20 12V7H22V13H20M20 17H22V15H20M10 13C12.67 13 18 14.34 18 17V20H2V17C2 14.34 7.33 13 10 13M10 4A4 4 0 0 1 14 8A4 4 0 0 1 10 12A4 4 0 0 1 6 8A4 4 0 0 1 10 4M10 14.9C7.03 14.9 3.9 16.36 3.9 17V18.1H16.1V17C16.1 16.36 12.97 14.9 10 14.9M10 5.9A2.1 2.1 0 0 0 7.9 8A2.1 2.1 0 0 0 10 10.1A2.1 2.1 0 0 0 12.1 8A2.1 2.1 0 0 0 10 5.9Z";var B1="M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z";var P1="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z";var T1="M19,17.59L17.59,19L7,8.41V15H5V5H15V7H8.41L19,17.59Z";var w1="M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z";var F1="M7.2,11.2C8.97,11.2 10.4,12.63 10.4,14.4C10.4,16.17 8.97,17.6 7.2,17.6C5.43,17.6 4,16.17 4,14.4C4,12.63 5.43,11.2 7.2,11.2M14.8,16A2,2 0 0,1 16.8,18A2,2 0 0,1 14.8,20A2,2 0 0,1 12.8,18A2,2 0 0,1 14.8,16M15.2,4A4.8,4.8 0 0,1 20,8.8C20,11.45 17.85,13.6 15.2,13.6A4.8,4.8 0 0,1 10.4,8.8C10.4,6.15 12.55,4 15.2,4Z";var b1="M14,6H22V22H14V6M2,4H22V2H2V4M2,8H12V6H2V8M9,22H12V10H9V22M2,22H7V10H2V22Z";var a1="M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z";var d1="M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M19,5V19H5V5H19M10,17L6,13L7.41,11.58L10,14.17L16.59,7.58L18,9";var y1="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z";var R1="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z";var p1="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z";var D1="M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z";var E1="M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z";var W1="M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z",N1="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z";var Q1="M13,9V3.5L18.5,9M6,2C4.89,2 4,2.89 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6Z";var G1="M14 2H6C4.89 2 4 2.9 4 4V20C4 21.11 4.89 22 6 22H18C19.11 22 20 21.11 20 20V8L14 2M18 20H6V4H13V9H18V20M9.54 15.65L11.63 17.74L10.35 19L7 15.65L10.35 12.3L11.63 13.56L9.54 15.65M17 15.65L13.65 19L12.38 17.74L14.47 15.65L12.38 13.56L13.65 12.3L17 15.65Z";var I1="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z";var U1="M10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6H12L10,4Z";var z1="M17,12V3A1,1 0 0,0 16,2H3A1,1 0 0,0 2,3V17L6,13H16A1,1 0 0,0 17,12M21,6H19V15H6V17A1,1 0 0,0 7,18H18L22,22V7A1,1 0 0,0 21,6Z";var K1="M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z",q1="M14,14H19V16H16V19H14V14M5,14H10V19H8V16H5V14M8,5H10V10H5V8H8V5M19,8V10H14V5H16V8H19Z";var j1="M10,20V14H14V20H19V12H22L12,3L2,12H5V20H10Z";var X1="M23,15H21V17H23V15M23,11H21V13H23V11M23,19H21V21C22,21 23,20 23,19M15,3H13V5H15V3M23,7H21V9H23V7M21,3V5H23C23,4 22,3 21,3M3,21H11V15H1V19A2,2 0 0,0 3,21M3,7H1V9H3V7M15,19H13V21H15V19M19,3H17V5H19V3M19,19H17V21H19V19M3,3C2,3 1,4 1,5H3V3M3,11H1V13H3V11M11,3H9V5H11V3M7,3H5V5H7V3Z";var _1="M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z";var Y1="M17.63,5.84C17.27,5.33 16.67,5 16,5H5A2,2 0 0,0 3,7V17A2,2 0 0,0 5,19H16C16.67,19 17.27,18.66 17.63,18.15L22,12L17.63,5.84Z";var J1="M3.9,12C3.9,10.29 5.29,8.9 7,8.9H11V7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H11V15.1H7C5.29,15.1 3.9,13.71 3.9,12M8,13H16V11H8V13M17,7H13V8.9H17C18.71,8.9 20.1,10.29 20.1,12C20.1,13.71 18.71,15.1 17,15.1H13V17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7Z";var $1="M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z";var C2="M10,17L15,12L10,7V17Z";var m1="M7,15L12,10L17,15H7Z";var H2="M18,14H10.5L12.5,12H18M6,14V11.5L12.88,4.64C13.07,4.45 13.39,4.45 13.59,4.64L15.35,6.41C15.55,6.61 15.55,6.92 15.35,7.12L8.47,14M20,2H4A2,2 0 0,0 2,4V22L6,18H20A2,2 0 0,0 22,16V4C22,2.89 21.1,2 20,2Z";var V2="M14,17H12V9H10V7H14M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z";var L2="M15,11C15,12.11 14.1,13 13,13H11V15H15V17H9V13C9,11.89 9.9,11 11,11H13V9H9V7H13A2,2 0 0,1 15,9M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z";var M2="M15,10.5A1.5,1.5 0 0,1 13.5,12C14.34,12 15,12.67 15,13.5V15C15,16.11 14.11,17 13,17H9V15H13V13H11V11H13V9H9V7H13C14.11,7 15,7.89 15,9M19,3H5C3.91,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19C20.11,21 21,20.1 21,19V5A2,2 0 0,0 19,3Z";var r2="M15,17H13V13H9V7H11V11H13V7H15M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z";var e2="M15,9H11V11H13A2,2 0 0,1 15,13V15C15,16.11 14.1,17 13,17H9V15H13V13H9V7H15M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z";var A2="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z";var t2="M17.5,12A1.5,1.5 0 0,1 16,10.5A1.5,1.5 0 0,1 17.5,9A1.5,1.5 0 0,1 19,10.5A1.5,1.5 0 0,1 17.5,12M14.5,8A1.5,1.5 0 0,1 13,6.5A1.5,1.5 0 0,1 14.5,5A1.5,1.5 0 0,1 16,6.5A1.5,1.5 0 0,1 14.5,8M9.5,8A1.5,1.5 0 0,1 8,6.5A1.5,1.5 0 0,1 9.5,5A1.5,1.5 0 0,1 11,6.5A1.5,1.5 0 0,1 9.5,8M6.5,12A1.5,1.5 0 0,1 5,10.5A1.5,1.5 0 0,1 6.5,9A1.5,1.5 0 0,1 8,10.5A1.5,1.5 0 0,1 6.5,12M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A1.5,1.5 0 0,0 13.5,19.5C13.5,19.11 13.35,18.76 13.11,18.5C12.88,18.23 12.73,17.88 12.73,17.5A1.5,1.5 0 0,1 14.23,16H16A5,5 0 0,0 21,11C21,6.58 16.97,3 12,3Z";var i2="M12,7.09L14.45,8.58L13.8,5.77L16,3.89L13.11,3.64L12,1L10.87,3.64L8,3.89L10.18,5.77L9.5,8.58L12,7.09M15,23H9V10H15V23M1,17V23H7V17H1M5,21H3V19H5V21M17,13V23H23V13H17M21,21H19V15H21V21Z";var o2="M20.5,11H19V7C19,5.89 18.1,5 17,5H13V3.5A2.5,2.5 0 0,0 10.5,1A2.5,2.5 0 0,0 8,3.5V5H4A2,2 0 0,0 2,7V10.8H3.5C5,10.8 6.2,12 6.2,13.5C6.2,15 5,16.2 3.5,16.2H2V20A2,2 0 0,0 4,22H7.8V20.5C7.8,19 9,17.8 10.5,17.8C12,17.8 13.2,19 13.2,20.5V22H17A2,2 0 0,0 19,20V16H20.5A2.5,2.5 0 0,0 23,13.5A2.5,2.5 0 0,0 20.5,11Z";var a2="M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z";var d2="M10.59,12L14.59,8H11V6H18V13H16V9.41L12,13.41V16H20V4H8V12H10.59M22,2V18H12V22H2V12H6V2H22M10,14H4V20H10V14Z";var p2="M12,3C10.73,3 9.6,3.8 9.18,5H3V7H4.95L2,14C1.53,16 3,17 5.5,17C8,17 9.56,16 9,14L6.05,7H9.17C9.5,7.85 10.15,8.5 11,8.83V20H2V22H22V20H13V8.82C13.85,8.5 14.5,7.85 14.82,7H17.95L15,14C14.53,16 16,17 18.5,17C21,17 22.56,16 22,14L19.05,7H21V5H14.83C14.4,3.8 13.27,3 12,3M12,5A1,1 0 0,1 13,6A1,1 0 0,1 12,7A1,1 0 0,1 11,6A1,1 0 0,1 12,5M5.5,10.25L7,14H4L5.5,10.25M18.5,10.25L20,14H17L18.5,10.25Z";var m2="M13,14C9.64,14 8.54,15.35 8.18,16.24C9.25,16.7 10,17.76 10,19A3,3 0 0,1 7,22A3,3 0 0,1 4,19C4,17.69 4.83,16.58 6,16.17V7.83C4.83,7.42 4,6.31 4,5A3,3 0 0,1 7,2A3,3 0 0,1 10,5C10,6.31 9.17,7.42 8,7.83V13.12C8.88,12.47 10.16,12 12,12C14.67,12 15.56,10.66 15.85,9.77C14.77,9.32 14,8.25 14,7A3,3 0 0,1 17,4A3,3 0 0,1 20,7C20,8.34 19.12,9.5 17.91,9.86C17.65,11.29 16.68,14 13,14M7,18A1,1 0 0,0 6,19A1,1 0 0,0 7,20A1,1 0 0,0 8,19A1,1 0 0,0 7,18M7,4A1,1 0 0,0 6,5A1,1 0 0,0 7,6A1,1 0 0,0 8,5A1,1 0 0,0 7,4M17,6A1,1 0 0,0 16,7A1,1 0 0,0 17,8A1,1 0 0,0 18,7A1,1 0 0,0 17,6Z";var x2="M17,12C17,14.42 15.28,16.44 13,16.9V21H11V16.9C8.72,16.44 7,14.42 7,12C7,9.58 8.72,7.56 11,7.1V3H13V7.1C15.28,7.56 17,9.58 17,12M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9Z";var v2="M5.13,10.71H8.87L6.22,8.06C5.21,8.06 4.39,7.24 4.39,6.22A1.83,1.83 0 0,1 6.22,4.39C7.24,4.39 8.06,5.21 8.06,6.22L10.71,8.87V5.13C10,4.41 10,3.25 10.71,2.54C11.42,1.82 12.58,1.82 13.29,2.54C14,3.25 14,4.41 13.29,5.13V8.87L15.95,6.22C15.95,5.21 16.76,4.39 17.78,4.39C18.79,4.39 19.61,5.21 19.61,6.22C19.61,7.24 18.79,8.06 17.78,8.06L15.13,10.71H18.87C19.59,10 20.75,10 21.46,10.71C22.18,11.42 22.18,12.58 21.46,13.29C20.75,14 19.59,14 18.87,13.29H15.13L17.78,15.95C18.79,15.95 19.61,16.76 19.61,17.78A1.83,1.83 0 0,1 17.78,19.61C16.76,19.61 15.95,18.79 15.95,17.78L13.29,15.13V18.87C14,19.59 14,20.75 13.29,21.46C12.58,22.18 11.42,22.18 10.71,21.46C10,20.75 10,19.59 10.71,18.87V15.13L8.06,17.78C8.06,18.79 7.24,19.61 6.22,19.61C5.21,19.61 4.39,18.79 4.39,17.78C4.39,16.76 5.21,15.95 6.22,15.95L8.87,13.29H5.13C4.41,14 3.25,14 2.54,13.29C1.82,12.58 1.82,11.42 2.54,10.71C3.25,10 4.41,10 5.13,10.71Z";var l2="M15,2A7,7 0 0,1 22,9C22,11.71 20.46,14.05 18.22,15.22C17.55,16.5 16.5,17.55 15.22,18.22C14.05,20.46 11.71,22 9,22A7,7 0 0,1 2,15C2,12.29 3.54,9.95 5.78,8.78C6.45,7.5 7.5,6.45 8.78,5.78C9.95,3.54 12.29,2 15,2M12,19A7,7 0 0,1 5,12C4.37,12.84 4,13.87 4,15A5,5 0 0,0 9,20C10.13,20 11.16,19.63 12,19M15,16A7,7 0 0,1 8,9H8C7.37,9.84 7,10.87 7,12A5,5 0 0,0 12,17C13.13,17 14.16,16.63 15,16V16M15,4C13.87,4 12.84,4.37 12,5V5A7,7 0 0,1 19,12H19C19.63,11.16 20,10.13 20,9A5,5 0 0,0 15,4M10,9A5,5 0 0,0 15,14C15.6,14 16.17,13.9 16.7,13.7C16.9,13.17 17,12.6 17,12A5,5 0 0,0 12,7C11.4,7 10.83,7.1 10.3,7.3C10.1,7.83 10,8.4 10,9Z";var Z2="M.75 7.5H10.5L11.25 9H1.5L.75 7.5M1.75 10.5H11.5L12.25 12H2.5L1.75 10.5M18 18.5C18.83 18.5 19.5 17.83 19.5 17C19.5 16.17 18.83 15.5 18 15.5C17.17 15.5 16.5 16.17 16.5 17C16.5 17.83 17.17 18.5 18 18.5M19.5 9.5H17V12H21.46L19.5 9.5M8 18.5C8.83 18.5 9.5 17.83 9.5 17C9.5 16.17 8.83 15.5 8 15.5C7.17 15.5 6.5 16.17 6.5 17C6.5 17.83 7.17 18.5 8 18.5M20 8L23 12V17H21C21 18.66 19.66 20 18 20C16.34 20 15 18.66 15 17H11C11 18.66 9.65 20 8 20C6.34 20 5 18.66 5 17H3V13.5 13.5H5V15H5.76C6.31 14.39 7.11 14 8 14C8.89 14 9.69 14.39 10.24 15H15V6H3V6C3 4.89 3.89 4 5 4H17V8H20Z";var n2="M21,10.12H14.22L16.96,7.3C14.23,4.6 9.81,4.5 7.08,7.2C4.35,9.91 4.35,14.28 7.08,17C9.81,19.7 14.23,19.7 16.96,17C18.32,15.65 19,14.08 19,12.1H21C21,14.08 20.12,16.65 18.36,18.39C14.85,21.87 9.15,21.87 5.64,18.39C2.14,14.92 2.11,9.28 5.62,5.81C9.13,2.34 14.76,2.34 18.27,5.81L21,3V10.12M12.5,8V12.25L16,14.33L15.28,15.54L11,13V8H12.5Z";var S2="M16,5V11H21V5M10,11H15V5H10M16,18H21V12H16M10,18H15V12H10M4,18H9V12H4M4,11H9V5H4V11Z";function x1(V){var M,r,C="";if(typeof V=="string"||typeof V=="number")C+=V;else if(typeof V=="object")if(Array.isArray(V))for(M=0;M<V.length;M++)V[M]&&(r=x1(V[M]))&&(C&&(C+=" "),C+=r);else for(M in V)V[M]&&(C&&(C+=" "),C+=M);return C}function u1(){for(var V,M,r=0,C="";r<arguments.length;)(V=arguments[r++])&&(M=x1(V))&&(C&&(C+=" "),C+=M);return C}var _=u1;var K=X(o1());var d=X(C1()),h2=({className:V="",absolute:M=!0,...r})=>(0,d.jsx)("button",{className:_(V,"inline-grid text-lg leading-none hover:opacity-80",{"absolute right-2 top-2 z-10":M}),title:"Close",...r,children:(0,d.jsx)(K.Icon,{path:p1,size:1})}),g2=({className:V="",style:M={},dotColor:r})=>(0,d.jsx)("div",{className:`aspect-square h-4 w-4 rounded-full shadow-sm shadow-black ${V}`,style:{...M,backgroundColor:r}}),f2=({inline:V=!1,...M})=>(0,d.jsx)("code",{className:`rounded-md bg-gray-100 p-1 font-mono text-sm text-gray-900 ${V?"inline-block":"block"} whitespace-pre-wrap`,...M});function k2({children:V,checked:M,onChange:r,className:C="",checkedIcon:H=d1,uncheckedIcon:a=a1,...n}){return(0,d.jsxs)("label",{className:`label flex w-full items-center justify-start gap-2 ${C}`,...n,children:[(0,d.jsx)("span",{className:"flex grow items-center gap-2",children:V}),(0,d.jsx)(K.Icon,{className:"place-self-end",path:M?H:a,size:1}),(0,d.jsx)("input",{type:"checkbox",checked:M,onChange:r,className:"hidden"})]})}var B2=({visible:V,offset:M})=>(0,d.jsx)("div",{className:_("absolute bottom-0 w-min -translate-x-1/2 translate-y-1/2 transition-all",{"opacity-0":!V}),style:{left:`${M<=100?M:-20}%`},children:(0,d.jsx)(K.Icon,{path:m1,size:2,className:"stroke-white"})});export{t1 as a,o1 as b,k1 as c,B1 as d,P1 as e,T1 as f,w1 as g,F1 as h,b1 as i,y1 as j,R1 as k,D1 as l,E1 as m,W1 as n,N1 as o,Q1 as p,G1 as q,I1 as r,U1 as s,z1 as t,K1 as u,q1 as v,j1 as w,X1 as x,_1 as y,Y1 as z,J1 as A,$1 as B,C2 as C,H2 as D,V2 as E,L2 as F,M2 as G,r2 as H,e2 as I,A2 as J,t2 as K,i2 as L,o2 as M,a2 as N,d2 as O,p2 as P,m2 as Q,x2 as R,v2 as S,l2 as T,Z2 as U,n2 as V,S2 as W,_ as X,h2 as Y,g2 as Z,f2 as _,k2 as $,B2 as aa};
|
|
@@ -1,249 +0,0 @@
|
|
|
1
|
-
var Va=Object.create;var tn=Object.defineProperty;var za=Object.getOwnPropertyDescriptor;var Wa=Object.getOwnPropertyNames;var Ja=Object.getPrototypeOf,Ka=Object.prototype.hasOwnProperty;var or=(e,t)=>()=>(e&&(t=e(e=0)),t);var Et=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ya=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Wa(t))!Ka.call(e,a)&&a!==r&&tn(e,a,{get:()=>t[a],enumerable:!(n=za(t,a))||n.enumerable});return e};var Ue=(e,t,r)=>(r=e!=null?Va(Ja(e)):{},Ya(t||!e||!e.__esModule?tn(r,"default",{value:e,enumerable:!0}):r,e));var hn=Et(A=>{"use strict";var rt=Symbol.for("react.element"),Xa=Symbol.for("react.portal"),Ga=Symbol.for("react.fragment"),qa=Symbol.for("react.strict_mode"),Qa=Symbol.for("react.profiler"),Za=Symbol.for("react.provider"),eo=Symbol.for("react.context"),to=Symbol.for("react.forward_ref"),ro=Symbol.for("react.suspense"),no=Symbol.for("react.memo"),ao=Symbol.for("react.lazy"),rn=Symbol.iterator;function oo(e){return e===null||typeof e!="object"?null:(e=rn&&e[rn]||e["@@iterator"],typeof e=="function"?e:null)}var on={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ln=Object.assign,sn={};function $e(e,t,r){this.props=e,this.context=t,this.refs=sn,this.updater=r||on}$e.prototype.isReactComponent={};$e.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")};$e.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function un(){}un.prototype=$e.prototype;function lr(e,t,r){this.props=e,this.context=t,this.refs=sn,this.updater=r||on}var sr=lr.prototype=new un;sr.constructor=lr;ln(sr,$e.prototype);sr.isPureReactComponent=!0;var nn=Array.isArray,cn=Object.prototype.hasOwnProperty,ur={current:null},dn={key:!0,ref:!0,__self:!0,__source:!0};function fn(e,t,r){var n,a={},i=null,o=null;if(t!=null)for(n in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)cn.call(t,n)&&!dn.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:rt,type:e,key:i,ref:o,props:a,_owner:ur.current}}function io(e,t){return{$$typeof:rt,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function cr(e){return typeof e=="object"&&e!==null&&e.$$typeof===rt}function lo(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var an=/\/+/g;function ir(e,t){return typeof e=="object"&&e!==null&&e.key!=null?lo(""+e.key):t.toString(36)}function bt(e,t,r,n,a){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case rt:case Xa:o=!0}}if(o)return o=e,a=a(o),e=n===""?"."+ir(o,0):n,nn(a)?(r="",e!=null&&(r=e.replace(an,"$&/")+"/"),bt(a,t,r,"",function(u){return u})):a!=null&&(cr(a)&&(a=io(a,r+(!a.key||o&&o.key===a.key?"":(""+a.key).replace(an,"$&/")+"/")+e)),t.push(a)),1;if(o=0,n=n===""?".":n+":",nn(e))for(var l=0;l<e.length;l++){i=e[l];var s=n+ir(i,l);o+=bt(i,t,r,s,a)}else if(s=oo(e),typeof s=="function")for(e=s.call(e),l=0;!(i=e.next()).done;)i=i.value,s=n+ir(i,l++),o+=bt(i,t,r,s,a);else if(i==="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 o}function wt(e,t,r){if(e==null)return e;var n=[],a=0;return bt(e,n,"","",function(i){return t.call(r,i,a++)}),n}function so(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 q={current:null},St={transition:null},uo={ReactCurrentDispatcher:q,ReactCurrentBatchConfig:St,ReactCurrentOwner:ur};A.Children={map:wt,forEach:function(e,t,r){wt(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return wt(e,function(){t++}),t},toArray:function(e){return wt(e,function(t){return t})||[]},only:function(e){if(!cr(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};A.Component=$e;A.Fragment=Ga;A.Profiler=Qa;A.PureComponent=lr;A.StrictMode=qa;A.Suspense=ro;A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=uo;A.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=ln({},e.props),a=e.key,i=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,o=ur.current),t.key!==void 0&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)cn.call(t,s)&&!dn.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:rt,type:e.type,key:a,ref:i,props:n,_owner:o}};A.createContext=function(e){return e={$$typeof:eo,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Za,_context:e},e.Consumer=e};A.createElement=fn;A.createFactory=function(e){var t=fn.bind(null,e);return t.type=e,t};A.createRef=function(){return{current:null}};A.forwardRef=function(e){return{$$typeof:to,render:e}};A.isValidElement=cr;A.lazy=function(e){return{$$typeof:ao,_payload:{_status:-1,_result:e},_init:so}};A.memo=function(e,t){return{$$typeof:no,type:e,compare:t===void 0?null:t}};A.startTransition=function(e){var t=St.transition;St.transition={};try{e()}finally{St.transition=t}};A.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};A.useCallback=function(e,t){return q.current.useCallback(e,t)};A.useContext=function(e){return q.current.useContext(e)};A.useDebugValue=function(){};A.useDeferredValue=function(e){return q.current.useDeferredValue(e)};A.useEffect=function(e,t){return q.current.useEffect(e,t)};A.useId=function(){return q.current.useId()};A.useImperativeHandle=function(e,t,r){return q.current.useImperativeHandle(e,t,r)};A.useInsertionEffect=function(e,t){return q.current.useInsertionEffect(e,t)};A.useLayoutEffect=function(e,t){return q.current.useLayoutEffect(e,t)};A.useMemo=function(e,t){return q.current.useMemo(e,t)};A.useReducer=function(e,t,r){return q.current.useReducer(e,t,r)};A.useRef=function(e){return q.current.useRef(e)};A.useState=function(e){return q.current.useState(e)};A.useSyncExternalStore=function(e,t,r){return q.current.useSyncExternalStore(e,t,r)};A.useTransition=function(){return q.current.useTransition()};A.version="18.2.0"});var we=Et((Dl,mn)=>{"use strict";mn.exports=hn()});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 Pn(e){e===void 0&&(e={});function t(n,a){let{pathname:i,search:o,hash:l}=n.location;return lt("",{pathname:i,search:o,hash:l},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function r(n,a){return typeof a=="string"?a:ce(a)}return fo(t,r,null,e)}function P(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Je(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function co(){return Math.random().toString(36).substr(2,8)}function yn(e,t){return{usr:e.state,key:e.key,idx:t}}function lt(e,t,r,n){return r===void 0&&(r=null),H({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Z(t):t,{state:r,key:t&&t.key||n||co()})}function ce(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 Z(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 fo(e,t,r,n){n===void 0&&(n={});let{window:a=document.defaultView,v5Compat:i=!1}=n,o=a.history,l=V.Pop,s=null,u=c();u==null&&(u=0,o.replaceState(H({},o.state,{idx:u}),""));function c(){return(o.state||{idx:null}).idx}function f(){l=V.Pop;let b=c(),_=b==null?null:b-u;u=b,s&&s({action:l,location:E.location,delta:_})}function p(b,_){l=V.Push;let O=lt(E.location,b,_);r&&r(O,b),u=c()+1;let U=yn(O,u),m=E.createHref(O);try{o.pushState(U,"",m)}catch(M){if(M instanceof DOMException&&M.name==="DataCloneError")throw M;a.location.assign(m)}i&&s&&s({action:l,location:E.location,delta:1})}function w(b,_){l=V.Replace;let O=lt(E.location,b,_);r&&r(O,b),u=c();let U=yn(O,u),m=E.createHref(O);o.replaceState(U,"",m),i&&s&&s({action:l,location:E.location,delta:0})}function v(b){let _=a.location.origin!=="null"?a.location.origin:a.location.href,O=typeof b=="string"?b:ce(b);return P(_,"No window.location.(origin|href) available to create URL for href: "+O),new URL(O,_)}let E={get action(){return l},get location(){return e(a,o)},listen(b){if(s)throw new Error("A history only accepts one active listener");return a.addEventListener(pn,f),s=b,()=>{a.removeEventListener(pn,f),s=null}},createHref(b){return t(a,b)},createURL:v,encodeLocation(b){let _=v(b);return{pathname:_.pathname,search:_.search,hash:_.hash}},push:p,replace:w,go(b){return o.go(b)}};return E}function mo(e){return e.index===!0}function hr(e,t,r,n){return r===void 0&&(r=[]),n===void 0&&(n={}),e.map((a,i)=>{let o=[...r,i],l=typeof a.id=="string"?a.id:o.join("-");if(P(a.index!==!0||!a.children,"Cannot specify children on an index route"),P(!n[l],'Found a route id collision on id "'+l+`". Route id's must be globally unique within Data Router usages`),mo(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=hr(a.children,t,o,n)),s}})}function oe(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?Z(t):t,a=de(n.pathname||"/",r);if(a==null)return null;let i=Ln(e);po(i);let o=null;for(let l=0;o==null&&l<i.length;++l)o=xo(i[l],No(a));return o}function Ln(e,t,r,n){t===void 0&&(t=[]),r===void 0&&(r=[]),n===void 0&&(n="");let a=(i,o,l)=>{let s={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};s.relativePath.startsWith("/")&&(P(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=ie([n,s.relativePath]),c=r.concat(s);i.children&&i.children.length>0&&(P(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Ln(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:bo(u,i.index),routesMeta:c})};return e.forEach((i,o)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))a(i,o);else for(let s of On(i.path))a(i,o,s)}),t}function On(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,a=r.endsWith("?"),i=r.replace(/\?$/,"");if(n.length===0)return a?[i,""]:[i];let o=On(n.join("/")),l=[];return l.push(...o.map(s=>s===""?i:[i,s].join("/"))),a&&l.push(...o),l.map(s=>e.startsWith("/")&&s===""?"/":s)}function po(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:So(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}function bo(e,t){let r=e.split("/"),n=r.length;return r.some(vn)&&(n+=wo),t&&(n+=go),r.filter(a=>!vn(a)).reduce((a,i)=>a+(yo.test(i)?vo:i===""?Ro:Eo),n)}function So(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 xo(e,t){let{routesMeta:r}=e,n={},a="/",i=[];for(let o=0;o<r.length;++o){let l=r[o],s=o===r.length-1,u=a==="/"?t:t.slice(a.length)||"/",c=Ct({path:l.relativePath,caseSensitive:l.caseSensitive,end:s},u);if(!c)return null;Object.assign(n,c.params);let f=l.route;i.push({params:n,pathname:ie([a,c.pathname]),pathnameBase:Po(ie([a,c.pathnameBase])),route:f}),c.pathnameBase!=="/"&&(a=ie([a,c.pathnameBase]))}return i}function Ct(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=_o(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let i=a[0],o=i.replace(/(.)\/+$/,"$1"),l=a.slice(1);return{params:n.reduce((u,c,f)=>{if(c==="*"){let p=l[f]||"";o=i.slice(0,i.length-p.length).replace(/(.)\/+$/,"$1")}return u[c]=Co(l[f]||"",c),u},{}),pathname:i,pathnameBase:o,pattern:e}}function _o(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),Je(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,(o,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 No(e){try{return decodeURI(e)}catch(t){return Je(!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 Co(e,t){try{return decodeURIComponent(e)}catch(r){return Je(!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 de(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 vr(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:a=""}=typeof e=="string"?Z(e):e;return{pathname:r?r.startsWith("/")?r:Do(r,t):t,search:Lo(n),hash:Oo(a)}}function Do(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 dr(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 st(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Dt(e,t,r,n){n===void 0&&(n=!1);let a;typeof e=="string"?a=Z(e):(a=H({},e),P(!a.pathname||!a.pathname.includes("?"),dr("?","pathname","search",a)),P(!a.pathname||!a.pathname.includes("#"),dr("#","pathname","hash",a)),P(!a.search||!a.search.includes("#"),dr("#","search","hash",a)));let i=e===""||a.pathname==="",o=i?"/":a.pathname,l;if(n||o==null)l=r;else{let f=t.length-1;if(o.startsWith("..")){let p=o.split("/");for(;p[0]==="..";)p.shift(),f-=1;a.pathname=p.join("/")}l=f>=0?t[f]:"/"}let s=vr(a,l),u=o&&o!=="/"&&o.endsWith("/"),c=(i||o===".")&&r.endsWith("/");return!s.pathname.endsWith("/")&&(u||c)&&(s.pathname+="/"),s}function Ao(e){return e instanceof Promise&&e._tracked===!0}function Fo(e){if(!Ao(e))return e;if(e._error)throw e._error;return e._data}function ye(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function gr(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;P(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 d=e.detectErrorBoundary;a=h=>({hasErrorBoundary:d(h)})}else a=Bo;let i={},o=hr(e.routes,a,void 0,i),l,s=e.basename||"/",u=H({v7_normalizeFormMethod:!1,v7_prependBasename:!1},e.future),c=null,f=new Set,p=null,w=null,v=null,E=e.hydrationData!=null,b=oe(o,e.history.location,s),_=null;if(b==null){let d=ae(404,{pathname:e.history.location.pathname}),{matches:h,route:y}=_n(o);b=h,_={[y.id]:d}}let O=!b.some(d=>d.route.lazy)&&(!b.some(d=>d.route.loader)||e.hydrationData!=null),U,m={historyAction:e.history.action,location:e.history.location,matches:b,initialized:O,navigation:fr,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||_,fetchers:new Map,blockers:new Map},M=V.Pop,j=!1,I,ee=!1,se=!1,Le=[],qe=[],z=new Map,Vr=0,Gt=-1,Ie=new Map,Oe=new Set,Be=new Map,Ae=new Map,Fe=new Map,qt=!1;function Pa(){return c=e.history.listen(d=>{let{action:h,location:y,delta:S}=d;if(qt){qt=!1;return}Je(Fe.size===0||S!=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 L=qr({currentLocation:m.location,nextLocation:y,historyAction:h});if(L&&S!=null){qt=!0,e.history.go(S*-1),yt(L,{state:"blocked",location:y,proceed(){yt(L,{state:"proceeding",proceed:void 0,reset:void 0,location:y}),e.history.go(S)},reset(){let C=new Map(m.blockers);C.set(L,Ve),X({blockers:C})}});return}return xe(h,y)}),m.initialized||xe(V.Pop,m.location),U}function La(){c&&c(),f.clear(),I&&I.abort(),m.fetchers.forEach((d,h)=>Zt(h)),m.blockers.forEach((d,h)=>Gr(h))}function Oa(d){return f.add(d),()=>f.delete(d)}function X(d){m=H({},m,d),f.forEach(h=>h(m))}function Qe(d,h){var y,S;let L=m.actionData!=null&&m.navigation.formMethod!=null&&ue(m.navigation.formMethod)&&m.navigation.state==="loading"&&((y=d.state)==null?void 0:y._isRedirect)!==!0,C;h.actionData?Object.keys(h.actionData).length>0?C=h.actionData:C=null:L?C=m.actionData:C=null;let D=h.loaderData?xn(m.loaderData,h.loaderData,h.matches||[],h.errors):m.loaderData,N=m.blockers;N.size>0&&(N=new Map(N),N.forEach((B,T)=>N.set(T,Ve)));let x=j===!0||m.navigation.formMethod!=null&&ue(m.navigation.formMethod)&&((S=d.state)==null?void 0:S._isRedirect)!==!0;l&&(o=l,l=void 0),ee||M===V.Pop||(M===V.Push?e.history.push(d,d.state):M===V.Replace&&e.history.replace(d,d.state)),X(H({},h,{actionData:C,loaderData:D,historyAction:M,location:d,initialized:!0,navigation:fr,revalidation:"idle",restoreScrollPosition:Zr(d,h.matches||m.matches),preventScrollReset:x,blockers:N})),M=V.Pop,j=!1,ee=!1,se=!1,Le=[],qe=[]}async function zr(d,h){if(typeof d=="number"){e.history.go(d);return}let y=mr(m.location,m.matches,s,u.v7_prependBasename,d,h?.fromRouteId,h?.relative),{path:S,submission:L,error:C}=gn(u.v7_normalizeFormMethod,!1,y,h),D=m.location,N=lt(m.location,S,h&&h.state);N=H({},N,e.history.encodeLocation(N));let x=h&&h.replace!=null?h.replace:void 0,B=V.Push;x===!0?B=V.Replace:x===!1||L!=null&&ue(L.formMethod)&&L.formAction===m.location.pathname+m.location.search&&(B=V.Replace);let T=h&&"preventScrollReset"in h?h.preventScrollReset===!0:void 0,te=qr({currentLocation:D,nextLocation:N,historyAction:B});if(te){yt(te,{state:"blocked",location:N,proceed(){yt(te,{state:"proceeding",proceed:void 0,reset:void 0,location:N}),zr(d,h)},reset(){let K=new Map(m.blockers);K.set(te,Ve),X({blockers:K})}});return}return await xe(B,N,{submission:L,pendingError:C,preventScrollReset:T,replace:h&&h.replace})}function Aa(){if(Qt(),X({revalidation:"loading"}),m.navigation.state!=="submitting"){if(m.navigation.state==="idle"){xe(m.historyAction,m.location,{startUninterruptedRevalidation:!0});return}xe(M||m.historyAction,m.navigation.location,{overrideNavigation:m.navigation})}}async function xe(d,h,y){I&&I.abort(),I=null,M=d,ee=(y&&y.startUninterruptedRevalidation)===!0,Ba(m.location,m.matches),j=(y&&y.preventScrollReset)===!0;let S=l||o,L=y&&y.overrideNavigation,C=oe(S,h,s);if(!C){let K=ae(404,{pathname:h.pathname}),{matches:Q,route:me}=_n(S);er(),Qe(h,{matches:Q,loaderData:{},errors:{[me.id]:K}});return}if(m.initialized&&!se&&Wo(m.location,h)&&!(y&&y.submission&&ue(y.submission.formMethod))){Qe(h,{matches:C});return}I=new AbortController;let D=at(e.history,h,I.signal,y&&y.submission),N,x;if(y&&y.pendingError)x={[ze(C).route.id]:y.pendingError};else if(y&&y.submission&&ue(y.submission.formMethod)){let K=await Fa(D,h,y.submission,C,{replace:y.replace});if(K.shortCircuited)return;N=K.pendingActionData,x=K.pendingActionError,L=xt(h,y.submission),D=new Request(D.url,{signal:D.signal})}let{shortCircuited:B,loaderData:T,errors:te}=await Ua(D,h,C,L,y&&y.submission,y&&y.fetcherSubmission,y&&y.replace,N,x);B||(I=null,Qe(h,H({matches:C},N?{actionData:N}:{},{loaderData:T,errors:te})))}async function Fa(d,h,y,S,L){L===void 0&&(L={}),Qt();let C=Go(h,y);X({navigation:C});let D,N=yr(S,h);if(!N.route.action&&!N.route.lazy)D={type:J.error,error:ae(405,{method:d.method,pathname:h.pathname,routeId:N.route.id})};else if(D=await nt("action",d,N,S,i,a,s),d.signal.aborted)return{shortCircuited:!0};if(We(D)){let x;return L&&L.replace!=null?x=L.replace:x=D.location===m.location.pathname+m.location.search,await Ze(m,D,{submission:y,replace:x}),{shortCircuited:!0}}if(it(D)){let x=ze(S,N.route.id);return(L&&L.replace)!==!0&&(M=V.Push),{pendingActionData:{},pendingActionError:{[x.route.id]:D.error}}}if(Me(D))throw ae(400,{type:"defer-action"});return{pendingActionData:{[N.route.id]:D.data}}}async function Ua(d,h,y,S,L,C,D,N,x){let B=S||xt(h,L),T=L||C||Dn(B),te=l||o,[K,Q]=Rn(e.history,m,y,T,h,se,Le,qe,Be,Oe,te,s,N,x);if(er($=>!(y&&y.some(ne=>ne.route.id===$))||K&&K.some(ne=>ne.route.id===$)),K.length===0&&Q.length===0){let $=Yr();return Qe(h,H({matches:y,loaderData:{},errors:x||null},N?{actionData:N}:{},$?{fetchers:new Map(m.fetchers)}:{})),{shortCircuited:!0}}if(!ee){Q.forEach(ne=>{let He=m.fetchers.get(ne.key),Y=ot(void 0,He?He.data:void 0);m.fetchers.set(ne.key,Y)});let $=N||m.actionData;X(H({navigation:B},$?Object.keys($).length===0?{actionData:null}:{actionData:$}:{},Q.length>0?{fetchers:new Map(m.fetchers)}:{}))}Gt=++Vr,Q.forEach($=>{z.has($.key)&&_e($.key),$.controller&&z.set($.key,$.controller)});let me=()=>Q.forEach($=>_e($.key));I&&I.signal.addEventListener("abort",me);let{results:et,loaderResults:tr,fetcherResults:vt}=await Jr(m.matches,y,K,Q,d);if(d.signal.aborted)return{shortCircuited:!0};I&&I.signal.removeEventListener("abort",me),Q.forEach($=>z.delete($.key));let Ee=Nn(et);if(Ee)return await Ze(m,Ee,{replace:D}),{shortCircuited:!0};let{loaderData:gt,errors:rr}=Sn(m,y,K,tr,x,Q,vt,Ae);Ae.forEach(($,ne)=>{$.subscribe(He=>{(He||$.done)&&Ae.delete(ne)})});let nr=Yr(),ar=Xr(Gt),Rt=nr||ar||Q.length>0;return H({loaderData:gt,errors:rr},Rt?{fetchers:new Map(m.fetchers)}:{})}function Wr(d){return m.fetchers.get(d)||Io}function Ma(d,h,y,S){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.");z.has(d)&&_e(d);let L=l||o,C=mr(m.location,m.matches,s,u.v7_prependBasename,y,h,S?.relative),D=oe(L,C,s);if(!D){pt(d,h,ae(404,{pathname:C}));return}let{path:N,submission:x,error:B}=gn(u.v7_normalizeFormMethod,!0,C,S);if(B){pt(d,h,B);return}let T=yr(D,N);if(j=(S&&S.preventScrollReset)===!0,x&&ue(x.formMethod)){ka(d,h,N,T,D,x);return}Be.set(d,{routeId:h,path:N}),Ta(d,h,N,T,D,x)}async function ka(d,h,y,S,L,C){if(Qt(),Be.delete(d),!S.route.action&&!S.route.lazy){let Y=ae(405,{method:C.formMethod,pathname:y,routeId:h});pt(d,h,Y);return}let D=m.fetchers.get(d),N=qo(C,D);m.fetchers.set(d,N),X({fetchers:new Map(m.fetchers)});let x=new AbortController,B=at(e.history,y,x.signal,C);z.set(d,x);let T=await nt("action",B,S,L,i,a,s);if(B.signal.aborted){z.get(d)===x&&z.delete(d);return}if(We(T)){z.delete(d),Oe.add(d);let Y=ot(C);return m.fetchers.set(d,Y),X({fetchers:new Map(m.fetchers)}),Ze(m,T,{submission:C,isFetchActionRedirect:!0})}if(it(T)){pt(d,h,T.error);return}if(Me(T))throw ae(400,{type:"defer-action"});let te=m.navigation.location||m.location,K=at(e.history,te,x.signal),Q=l||o,me=m.navigation.state!=="idle"?oe(Q,m.navigation.location,s):m.matches;P(me,"Didn't find any matches after fetcher action");let et=++Vr;Ie.set(d,et);let tr=ot(C,T.data);m.fetchers.set(d,tr);let[vt,Ee]=Rn(e.history,m,me,C,te,se,Le,qe,Be,Oe,Q,s,{[S.route.id]:T.data},void 0);Ee.filter(Y=>Y.key!==d).forEach(Y=>{let tt=Y.key,en=m.fetchers.get(tt),$a=ot(void 0,en?en.data:void 0);m.fetchers.set(tt,$a),z.has(tt)&&_e(tt),Y.controller&&z.set(tt,Y.controller)}),X({fetchers:new Map(m.fetchers)});let gt=()=>Ee.forEach(Y=>_e(Y.key));x.signal.addEventListener("abort",gt);let{results:rr,loaderResults:nr,fetcherResults:ar}=await Jr(m.matches,me,vt,Ee,K);if(x.signal.aborted)return;x.signal.removeEventListener("abort",gt),Ie.delete(d),z.delete(d),Ee.forEach(Y=>z.delete(Y.key));let Rt=Nn(rr);if(Rt)return Ze(m,Rt);let{loaderData:$,errors:ne}=Sn(m,m.matches,vt,nr,void 0,Ee,ar,Ae);if(m.fetchers.has(d)){let Y=_t(T.data);m.fetchers.set(d,Y)}let He=Xr(et);m.navigation.state==="loading"&&et>Gt?(P(M,"Expected pending action"),I&&I.abort(),Qe(m.navigation.location,{matches:me,loaderData:$,errors:ne,fetchers:new Map(m.fetchers)})):(X(H({errors:ne,loaderData:xn(m.loaderData,$,me,ne)},He||Ee.length>0?{fetchers:new Map(m.fetchers)}:{})),se=!1)}async function Ta(d,h,y,S,L,C){let D=m.fetchers.get(d),N=ot(C,D?D.data:void 0);m.fetchers.set(d,N),X({fetchers:new Map(m.fetchers)});let x=new AbortController,B=at(e.history,y,x.signal);z.set(d,x);let T=await nt("loader",B,S,L,i,a,s);if(Me(T)&&(T=await kn(T,B.signal,!0)||T),z.get(d)===x&&z.delete(d),B.signal.aborted)return;if(We(T)){Oe.add(d),await Ze(m,T);return}if(it(T)){let K=ze(m.matches,h);m.fetchers.delete(d),X({fetchers:new Map(m.fetchers),errors:{[K.route.id]:T.error}});return}P(!Me(T),"Unhandled fetcher deferred data");let te=_t(T.data);m.fetchers.set(d,te),X({fetchers:new Map(m.fetchers)})}async function Ze(d,h,y){let{submission:S,replace:L,isFetchActionRedirect:C}=y===void 0?{}:y;h.revalidate&&(se=!0);let D=lt(d.location,h.location,H({_isRedirect:!0},C?{_isFetchActionRedirect:!0}:{}));if(P(D,"Expected a location on the redirect navigation"),Fn.test(h.location)&&r){let B=e.history.createURL(h.location),T=de(B.pathname,s)==null;if(t.location.origin!==B.origin||T){L?t.location.replace(h.location):t.location.assign(h.location);return}}I=null;let N=L===!0?V.Replace:V.Push,x=S||Dn(d.navigation);if(jo.has(h.status)&&x&&ue(x.formMethod))await xe(N,D,{submission:H({},x,{formAction:h.location}),preventScrollReset:j});else if(C)await xe(N,D,{overrideNavigation:xt(D),fetcherSubmission:x,preventScrollReset:j});else{let B=xt(D,x);await xe(N,D,{overrideNavigation:B,preventScrollReset:j})}}async function Jr(d,h,y,S,L){let C=await Promise.all([...y.map(x=>nt("loader",L,x,h,i,a,s)),...S.map(x=>x.matches&&x.match&&x.controller?nt("loader",at(e.history,x.path,x.controller.signal),x.match,x.matches,i,a,s):{type:J.error,error:ae(404,{pathname:x.path})})]),D=C.slice(0,y.length),N=C.slice(y.length);return await Promise.all([Cn(d,y,D,D.map(()=>L.signal),!1,m.loaderData),Cn(d,S.map(x=>x.match),N,S.map(x=>x.controller?x.controller.signal:null),!0)]),{results:C,loaderResults:D,fetcherResults:N}}function Qt(){se=!0,Le.push(...er()),Be.forEach((d,h)=>{z.has(h)&&(qe.push(h),_e(h))})}function pt(d,h,y){let S=ze(m.matches,h);Zt(d),X({errors:{[S.route.id]:y},fetchers:new Map(m.fetchers)})}function Zt(d){let h=m.fetchers.get(d);z.has(d)&&!(h&&h.state==="loading"&&Ie.has(d))&&_e(d),Be.delete(d),Ie.delete(d),Oe.delete(d),m.fetchers.delete(d)}function _e(d){let h=z.get(d);P(h,"Expected fetch controller: "+d),h.abort(),z.delete(d)}function Kr(d){for(let h of d){let y=Wr(h),S=_t(y.data);m.fetchers.set(h,S)}}function Yr(){let d=[],h=!1;for(let y of Oe){let S=m.fetchers.get(y);P(S,"Expected fetcher: "+y),S.state==="loading"&&(Oe.delete(y),d.push(y),h=!0)}return Kr(d),h}function Xr(d){let h=[];for(let[y,S]of Ie)if(S<d){let L=m.fetchers.get(y);P(L,"Expected fetcher: "+y),L.state==="loading"&&(_e(y),Ie.delete(y),h.push(y))}return Kr(h),h.length>0}function ja(d,h){let y=m.blockers.get(d)||Ve;return Fe.get(d)!==h&&Fe.set(d,h),y}function Gr(d){m.blockers.delete(d),Fe.delete(d)}function yt(d,h){let y=m.blockers.get(d)||Ve;P(y.state==="unblocked"&&h.state==="blocked"||y.state==="blocked"&&h.state==="blocked"||y.state==="blocked"&&h.state==="proceeding"||y.state==="blocked"&&h.state==="unblocked"||y.state==="proceeding"&&h.state==="unblocked","Invalid blocker state transition: "+y.state+" -> "+h.state);let S=new Map(m.blockers);S.set(d,h),X({blockers:S})}function qr(d){let{currentLocation:h,nextLocation:y,historyAction:S}=d;if(Fe.size===0)return;Fe.size>1&&Je(!1,"A router only supports one blocker at a time");let L=Array.from(Fe.entries()),[C,D]=L[L.length-1],N=m.blockers.get(C);if(!(N&&N.state==="proceeding")&&D({currentLocation:h,nextLocation:y,historyAction:S}))return C}function er(d){let h=[];return Ae.forEach((y,S)=>{(!d||d(S))&&(y.cancel(),h.push(S),Ae.delete(S))}),h}function Ia(d,h,y){if(p=d,v=h,w=y||null,!E&&m.navigation===fr){E=!0;let S=Zr(m.location,m.matches);S!=null&&X({restoreScrollPosition:S})}return()=>{p=null,v=null,w=null}}function Qr(d,h){return w&&w(d,h.map(S=>Xo(S,m.loaderData)))||d.key}function Ba(d,h){if(p&&v){let y=Qr(d,h);p[y]=v()}}function Zr(d,h){if(p){let y=Qr(d,h),S=p[y];if(typeof S=="number")return S}return null}function Ha(d){i={},l=hr(d,a,void 0,i)}return U={get basename(){return s},get state(){return m},get routes(){return o},initialize:Pa,subscribe:Oa,enableScrollRestoration:Ia,navigate:zr,fetch:Ma,revalidate:Aa,createHref:d=>e.history.createHref(d),encodeLocation:d=>e.history.encodeLocation(d),getFetcher:Wr,deleteFetcher:Zt,dispose:La,getBlocker:ja,deleteBlocker:Gr,_internalFetchControllers:z,_internalActiveDeferreds:Ae,_internalSetRoutes:Ha},U}function Ho(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function mr(e,t,r,n,a,i,o){let l,s;if(i!=null&&o!=="path"){l=[];for(let c of t)if(l.push(c),c.route.id===i){s=c;break}}else l=t,s=t[t.length-1];let u=Dt(a||".",st(l).map(c=>c.pathnameBase),de(e.pathname,r)||e.pathname,o==="path");return a==null&&(u.search=e.search,u.hash=e.hash),(a==null||a===""||a===".")&&s&&s.route.index&&!Rr(u.search)&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),n&&r!=="/"&&(u.pathname=u.pathname==="/"?r:ie([r,u.pathname])),ce(u)}function gn(e,t,r,n){if(!n||!Ho(n))return{path:r};if(n.formMethod&&!Yo(n.formMethod))return{path:r,error:ae(405,{method:n.formMethod})};let a=()=>({path:r,error:ae(400,{type:"invalid-body"})}),i=n.formMethod||"get",o=e?i.toUpperCase():i.toLowerCase(),l=Mn(r);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!ue(o))return a();let p=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((w,v)=>{let[E,b]=v;return""+w+E+"="+b+`
|
|
2
|
-
`},""):String(n.body);return{path:r,submission:{formMethod:o,formAction:l,formEncType:n.formEncType,formData:void 0,json:void 0,text:p}}}else if(n.formEncType==="application/json"){if(!ue(o))return a();try{let p=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:o,formAction:l,formEncType:n.formEncType,formData:void 0,json:p,text:void 0}}}catch{return a()}}}P(typeof FormData=="function","FormData is not available in this environment");let s,u;if(n.formData)s=pr(n.formData),u=n.formData;else if(n.body instanceof FormData)s=pr(n.body),u=n.body;else if(n.body instanceof URLSearchParams)s=n.body,u=bn(s);else if(n.body==null)s=new URLSearchParams,u=new FormData;else try{s=new URLSearchParams(n.body),u=bn(s)}catch{return a()}let c={formMethod:o,formAction:l,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(ue(c.formMethod))return{path:r,submission:c};let f=Z(r);return t&&f.search&&Rr(f.search)&&s.append("index",""),f.search="?"+s,{path:ce(f),submission:c}}function $o(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 Rn(e,t,r,n,a,i,o,l,s,u,c,f,p,w){let v=w?Object.values(w)[0]:p?Object.values(p)[0]:void 0,E=e.createURL(t.location),b=e.createURL(a),_=w?Object.keys(w)[0]:void 0,U=$o(r,_).filter((M,j)=>{if(M.route.lazy)return!0;if(M.route.loader==null)return!1;if(Vo(t.loaderData,t.matches[j],M)||o.some(se=>se===M.route.id))return!0;let I=t.matches[j],ee=M;return En(M,H({currentUrl:E,currentParams:I.params,nextUrl:b,nextParams:ee.params},n,{actionResult:v,defaultShouldRevalidate:i||E.pathname+E.search===b.pathname+b.search||E.search!==b.search||Un(I,ee)}))}),m=[];return s.forEach((M,j)=>{if(!r.some(z=>z.route.id===M.routeId))return;let I=oe(c,M.path,f);if(!I){m.push({key:j,routeId:M.routeId,path:M.path,matches:null,match:null,controller:null});return}let ee=t.fetchers.get(j),se=ee&&ee.state!=="idle"&&ee.data===void 0&&!u.has(j),Le=yr(I,M.path);(l.includes(j)||se||En(Le,H({currentUrl:E,currentParams:t.matches[t.matches.length-1].params,nextUrl:b,nextParams:r[r.length-1].params},n,{actionResult:v,defaultShouldRevalidate:i})))&&m.push({key:j,routeId:M.routeId,path:M.path,matches:I,match:Le,controller:new AbortController})}),[U,m]}function Vo(e,t,r){let n=!t||r.route.id!==t.route.id,a=e[r.route.id]===void 0;return n||a}function Un(e,t){let r=e.route.path;return e.pathname!==t.pathname||r!=null&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function En(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(typeof r=="boolean")return r}return t.defaultShouldRevalidate}async function wn(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let a=r[e.id];P(a,"No route found in manifest");let i={};for(let o in n){let s=a[o]!==void 0&&o!=="hasErrorBoundary";Je(!s,'Route "'+a.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!s&&!ho.has(o)&&(i[o]=n[o])}Object.assign(a,i),Object.assign(a,H({},t(a),{lazy:void 0}))}async function nt(e,t,r,n,a,i,o,l){l===void 0&&(l={});let s,u,c,f=v=>{let E,b=new Promise((_,O)=>E=O);return c=()=>E(),t.signal.addEventListener("abort",c),Promise.race([v({request:t,params:r.params,context:l.requestContext}),b])};try{let v=r.route[e];if(r.route.lazy)if(v)u=(await Promise.all([f(v),wn(r.route,i,a)]))[0];else if(await wn(r.route,i,a),v=r.route[e],v)u=await f(v);else if(e==="action"){let E=new URL(t.url),b=E.pathname+E.search;throw ae(405,{method:t.method,pathname:b,routeId:r.route.id})}else return{type:J.data,data:void 0};else if(v)u=await f(v);else{let E=new URL(t.url),b=E.pathname+E.search;throw ae(404,{pathname:b})}P(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(v){s=J.error,u=v}finally{c&&t.signal.removeEventListener("abort",c)}if(Ko(u)){let v=u.status;if(To.has(v)){let _=u.headers.get("Location");if(P(_,"Redirects returned/thrown from loaders/actions must have a Location header"),!Fn.test(_))_=mr(new URL(t.url),n.slice(0,n.indexOf(r)+1),o,!0,_);else if(!l.isStaticRequest){let O=new URL(t.url),U=_.startsWith("//")?new URL(O.protocol+_):new URL(_),m=de(U.pathname,o)!=null;U.origin===O.origin&&m&&(_=U.pathname+U.search+U.hash)}if(l.isStaticRequest)throw u.headers.set("Location",_),u;return{type:J.redirect,status:v,location:_,revalidate:u.headers.get("X-Remix-Revalidate")!==null}}if(l.isRouteRequest)throw{type:s||J.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===J.error?{type:s,error:new Ne(v,u.statusText,E),headers:u.headers}:{type:J.data,data:E,statusCode:u.status,headers:u.headers}}if(s===J.error)return{type:s,error:u};if(Jo(u)){var p,w;return{type:J.deferred,deferredData:u,statusCode:(p=u.init)==null?void 0:p.status,headers:((w=u.init)==null?void 0:w.headers)&&new Headers(u.init.headers)}}return{type:J.data,data:u}}function at(e,t,r,n){let a=e.createURL(Mn(t)).toString(),i={signal:r};if(n&&ue(n.formMethod)){let{formMethod:o,formEncType:l}=n;i.method=o.toUpperCase(),l==="application/json"?(i.headers=new Headers({"Content-Type":l}),i.body=JSON.stringify(n.json)):l==="text/plain"?i.body=n.text:l==="application/x-www-form-urlencoded"&&n.formData?i.body=pr(n.formData):i.body=n.formData}return new Request(a,i)}function pr(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,typeof n=="string"?n:n.name);return t}function bn(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function zo(e,t,r,n,a){let i={},o=null,l,s=!1,u={};return r.forEach((c,f)=>{let p=t[f].route.id;if(P(!We(c),"Cannot handle redirect results in processLoaderData"),it(c)){let w=ze(e,p),v=c.error;n&&(v=Object.values(n)[0],n=void 0),o=o||{},o[w.route.id]==null&&(o[w.route.id]=v),i[p]=void 0,s||(s=!0,l=ye(c.error)?c.error.status:500),c.headers&&(u[p]=c.headers)}else Me(c)?(a.set(p,c.deferredData),i[p]=c.deferredData.data):i[p]=c.data,c.statusCode!=null&&c.statusCode!==200&&!s&&(l=c.statusCode),c.headers&&(u[p]=c.headers)}),n&&(o=n,i[Object.keys(n)[0]]=void 0),{loaderData:i,errors:o,statusCode:l||200,loaderHeaders:u}}function Sn(e,t,r,n,a,i,o,l){let{loaderData:s,errors:u}=zo(t,r,n,a,l);for(let c=0;c<i.length;c++){let{key:f,match:p,controller:w}=i[c];P(o!==void 0&&o[c]!==void 0,"Did not find corresponding fetcher result");let v=o[c];if(!(w&&w.signal.aborted))if(it(v)){let E=ze(e.matches,p?.route.id);u&&u[E.route.id]||(u=H({},u,{[E.route.id]:v.error})),e.fetchers.delete(f)}else if(We(v))P(!1,"Unhandled fetcher revalidation redirect");else if(Me(v))P(!1,"Unhandled fetcher deferred data");else{let E=_t(v.data);e.fetchers.set(f,E)}}return{loaderData:s,errors:u}}function xn(e,t,r,n){let a=H({},t);for(let i of r){let o=i.route.id;if(t.hasOwnProperty(o)?t[o]!==void 0&&(a[o]=t[o]):e[o]!==void 0&&i.route.loader&&(a[o]=e[o]),n&&n.hasOwnProperty(o))break}return a}function ze(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 _n(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 ae(e,t){let{pathname:r,routeId:n,method:a,type:i}=t===void 0?{}:t,o="Unknown Server Error",l="Unknown @remix-run/router error";return e===400?(o="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.":i==="defer-action"?l="defer() is not supported in actions":i==="invalid-body"&&(l="Unable to encode submission body")):e===403?(o="Forbidden",l='Route "'+n+'" does not match URL "'+r+'"'):e===404?(o="Not Found",l='No route matches URL "'+r+'"'):e===405&&(o="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 Ne(e||500,o,new Error(l),!0)}function Nn(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(We(r))return r}}function Mn(e){let t=typeof e=="string"?Z(e):e;return ce(H({},t,{hash:""}))}function Wo(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function Me(e){return e.type===J.deferred}function it(e){return e.type===J.error}function We(e){return(e&&e.type)===J.redirect}function Jo(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 Ko(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function Yo(e){return ko.has(e.toLowerCase())}function ue(e){return Uo.has(e.toLowerCase())}async function Cn(e,t,r,n,a,i){for(let o=0;o<r.length;o++){let l=r[o],s=t[o];if(!s)continue;let u=e.find(f=>f.route.id===s.route.id),c=u!=null&&!Un(u,s)&&(i&&i[s.route.id])!==void 0;if(Me(l)&&(a||c)){let f=n[o];P(f,"Expected an AbortSignal for revalidating fetcher deferred result"),await kn(l,f,a).then(p=>{p&&(r[o]=p||r[o])})}}}async function kn(e,t,r){if(r===void 0&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:J.data,data:e.deferredData.unwrappedData}}catch(a){return{type:J.error,error:a}}return{type:J.data,data:e.deferredData.data}}}function Rr(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Xo(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 yr(e,t){let r=typeof t=="string"?Z(t).search:t.search;if(e[e.length-1].route.index&&Rr(r||""))return e[e.length-1];let n=st(e);return n[n.length-1]}function Dn(e){let{formMethod:t,formAction:r,formEncType:n,text:a,formData:i,json:o}=e;if(!(!t||!r||!n)){if(a!=null)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:a};if(i!=null)return{formMethod:t,formAction:r,formEncType:n,formData:i,json:void 0,text:void 0};if(o!==void 0)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:o,text:void 0}}}function xt(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 Go(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 ot(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 qo(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 _t(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 V,pn,J,ho,yo,vo,go,Ro,Eo,wo,vn,ie,Po,Lo,Oo,pe,Nt,Pt,Ne,An,Uo,Mo,ko,To,jo,fr,Io,Ve,Fn,Bo,Pl,Ke=or(()=>{(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(V||(V={}));pn="popstate";(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(J||(J={}));ho=new Set(["lazy","caseSensitive","path","id","index","children"]);yo=/^:\w+$/,vo=3,go=2,Ro=1,Eo=10,wo=-2,vn=e=>e==="*";ie=e=>e.join("/").replace(/\/\/+/g,"/"),Po=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Lo=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Oo=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,pe=class extends Error{},Nt=class{constructor(t,r){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],P(t&&typeof t=="object"&&!Array.isArray(t),"defer() only accepts plain objects");let n;this.abortPromise=new Promise((i,o)=>n=o),this.controller=new AbortController;let a=()=>n(new pe("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",a),this.controller.signal.addEventListener("abort",a),this.data=Object.entries(t).reduce((i,o)=>{let[l,s]=o;return Object.assign(i,{[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,null,a),a=>this.onSettle(n,t,a));return n.catch(()=>{}),Object.defineProperty(n,"_tracked",{get:()=>!0}),n}onSettle(t,r,n,a){return this.controller.signal.aborted&&n instanceof pe?(this.unlistenAbortSignal(),Object.defineProperty(t,"_error",{get:()=>n}),Promise.reject(n)):(this.pendingKeysSet.delete(r),this.done&&this.unlistenAbortSignal(),n?(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(i=>{t.removeEventListener("abort",n),(i||this.done)&&a(i)})})}return r}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return P(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]:Fo(a)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}};Pt=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}))},Ne=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}};An=["post","put","patch","delete"],Uo=new Set(An),Mo=["get",...An],ko=new Set(Mo),To=new Set([301,302,303,307,308]),jo=new Set([307,308]),fr={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Io={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ve={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Fn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Bo=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)});Pl=Symbol("deferred")});function Lt(){return Lt=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},Lt.apply(this,arguments)}function ke(e,t){let{relative:r}=t===void 0?{}:t;Ye()||P(!1);let{basename:n,navigator:a}=R.useContext(le),{hash:i,pathname:o,search:l}=Te(e,{relative:r}),s=o;return n!=="/"&&(s=o==="/"?n:ie([n,o])),a.createHref({pathname:s,search:l,hash:i})}function Ye(){return R.useContext(ut)!=null}function G(){return Ye()||P(!1),R.useContext(ut).location}function In(e){R.useContext(le).static||R.useLayoutEffect(e)}function At(){let{isDataRoute:e}=R.useContext(fe);return e?ci():ti()}function ti(){Ye()||P(!1);let e=R.useContext(be),{basename:t,navigator:r}=R.useContext(le),{matches:n}=R.useContext(fe),{pathname:a}=G(),i=JSON.stringify(st(n).map(s=>s.pathnameBase)),o=R.useRef(!1);return In(()=>{o.current=!0}),R.useCallback(function(s,u){if(u===void 0&&(u={}),!o.current)return;if(typeof s=="number"){r.go(s);return}let c=Dt(s,JSON.parse(i),a,u.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:ie([t,c.pathname])),(u.replace?r.replace:r.push)(c,u.state,u)},[t,r,i,a,e])}function Sr(e){let t=R.useContext(fe).outlet;return t&&R.createElement(ri.Provider,{value:e},t)}function Te(e,t){let{relative:r}=t===void 0?{}:t,{matches:n}=R.useContext(fe),{pathname:a}=G(),i=JSON.stringify(st(n).map(o=>o.pathnameBase));return R.useMemo(()=>Dt(e,JSON.parse(i),a,r==="path"),[e,i,a,r])}function ni(e,t,r){Ye()||P(!1);let{navigator:n}=R.useContext(le),{matches:a}=R.useContext(fe),i=a[a.length-1],o=i?i.params:{},l=i?i.pathname:"/",s=i?i.pathnameBase:"/",u=i&&i.route,c=G(),f;if(t){var p;let _=typeof t=="string"?Z(t):t;s==="/"||(p=_.pathname)!=null&&p.startsWith(s)||P(!1),f=_}else f=c;let w=f.pathname||"/",v=s==="/"?w:w.slice(s.length)||"/",E=oe(e,{pathname:v}),b=li(E&&E.map(_=>Object.assign({},_,{params:Object.assign({},o,_.params),pathname:ie([s,n.encodeLocation?n.encodeLocation(_.pathname).pathname:_.pathname]),pathnameBase:_.pathnameBase==="/"?s:ie([s,n.encodeLocation?n.encodeLocation(_.pathnameBase).pathname:_.pathnameBase])})),a,r);return t&&b?R.createElement(ut.Provider,{value:{location:Lt({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:V.Pop}},b):b}function ai(){let e=je(),t=ye(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},i={padding:"2px 4px",backgroundColor:n};return R.createElement(R.Fragment,null,R.createElement("h2",null,"Unexpected Application Error!"),R.createElement("h3",{style:{fontStyle:"italic"}},t),r?R.createElement("pre",{style:a},r):null,null)}function ii(e){let{routeContext:t,match:r,children:n}=e,a=R.useContext(be);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),R.createElement(fe.Provider,{value:t},n)}function li(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 i=e,o=(n=r)==null?void 0:n.errors;if(o!=null){let l=i.findIndex(s=>s.route.id&&o?.[s.route.id]);l>=0||P(!1),i=i.slice(0,Math.min(i.length,l+1))}return i.reduceRight((l,s,u)=>{let c=s.route.id?o?.[s.route.id]:null,f=null;r&&(f=s.route.errorElement||oi);let p=t.concat(i.slice(0,u+1)),w=()=>{let v;return c?v=f:s.route.Component?v=R.createElement(s.route.Component,null):s.route.element?v=s.route.element:v=l,R.createElement(ii,{match:s,routeContext:{outlet:l,matches:p,isDataRoute:r!=null},children:v})};return r&&(s.route.ErrorBoundary||s.route.errorElement||u===0)?R.createElement(Er,{location:r.location,revalidation:r.revalidation,component:f,error:c,children:w(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):w()},null)}function si(e){let t=R.useContext(be);return t||P(!1),t}function Ft(e){let t=R.useContext(Ce);return t||P(!1),t}function ui(e){let t=R.useContext(fe);return t||P(!1),t}function Ut(e){let t=ui(e),r=t.matches[t.matches.length-1];return r.route.id||P(!1),r.route.id}function xr(){return Ut(ve.UseRouteId)}function Xe(){return Ft(ve.UseNavigation).navigation}function ct(){let{matches:e,loaderData:t}=Ft(ve.UseMatches);return R.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 _r(){let e=Ft(ve.UseLoaderData),t=Ut(ve.UseLoaderData);if(e.errors&&e.errors[t]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")");return}return e.loaderData[t]}function je(){var e;let t=R.useContext(jn),r=Ft(ve.UseRouteError),n=Ut(ve.UseRouteError);return t||((e=r.errors)==null?void 0:e[n])}function Nr(){let e=R.useContext(Ot);return e?._data}function Mt(){let e=R.useContext(Ot);return e?._error}function ci(){let{router:e}=si(wr.UseNavigateStable),t=Ut(ve.UseNavigateStable),r=R.useRef(!1);return In(()=>{r.current=!0}),R.useCallback(function(a,i){i===void 0&&(i={}),r.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,Lt({fromRouteId:t},i)))},[e,t])}function Cr(e){let{fallbackElement:t,router:r,future:n}=e,[a,i]=R.useState(r.state),{v7_startTransition:o}=n||{},l=R.useCallback(f=>{o&&Tn?Tn(()=>i(f)):i(f)},[i,o]);R.useLayoutEffect(()=>r.subscribe(l),[r,l]);let s=R.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:f=>r.navigate(f),push:(f,p,w)=>r.navigate(f,{state:p,preventScrollReset:w?.preventScrollReset}),replace:(f,p,w)=>r.navigate(f,{replace:!0,state:p,preventScrollReset:w?.preventScrollReset})}),[r]),u=r.basename||"/",c=R.useMemo(()=>({router:r,navigator:s,static:!1,basename:u}),[r,s,u]);return R.createElement(R.Fragment,null,R.createElement(be.Provider,{value:c},R.createElement(Ce.Provider,{value:a},R.createElement(Dr,{basename:u,location:a.location,navigationType:a.historyAction,navigator:s},a.initialized?R.createElement(fi,{routes:r.routes,state:a}):t))),null)}function fi(e){let{routes:t,state:r}=e;return ni(t,void 0,r)}function kt(e){return Sr(e.context)}function Dr(e){let{basename:t="/",children:r=null,location:n,navigationType:a=V.Pop,navigator:i,static:o=!1}=e;Ye()&&P(!1);let l=t.replace(/^\/*/,"/"),s=R.useMemo(()=>({basename:l,navigator:i,static:o}),[l,i,o]);typeof n=="string"&&(n=Z(n));let{pathname:u="/",search:c="",hash:f="",state:p=null,key:w="default"}=n,v=R.useMemo(()=>{let E=de(u,l);return E==null?null:{location:{pathname:E,search:c,hash:f,state:p,key:w},navigationType:a}},[l,u,c,f,p,w,a]);return v==null?null:R.createElement(le.Provider,{value:s},R.createElement(ut.Provider,{children:r,value:v}))}function Pr(e){let{children:t,errorElement:r,resolve:n}=e;return R.createElement(br,{resolve:n,errorElement:r},R.createElement(mi,null,t))}function mi(e){let{children:t}=e,r=Nr(),n=typeof t=="function"?t(r):t;return R.createElement(R.Fragment,null,n)}function Bn(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:R.createElement(e.Component),Component:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:R.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}var R,be,Ce,Ot,le,ut,fe,jn,ri,oi,Er,wr,ve,di,Tn,re,hi,br,Lr=or(()=>{R=Ue(we());Ke();Ke();be=R.createContext(null),Ce=R.createContext(null),Ot=R.createContext(null),le=R.createContext(null),ut=R.createContext(null),fe=R.createContext({outlet:null,matches:[],isDataRoute:!1}),jn=R.createContext(null);ri=R.createContext(null);oi=R.createElement(ai,null),Er=class extends R.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?R.createElement(fe.Provider,{value:this.props.routeContext},R.createElement(jn.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"})(wr||(wr={}));(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"})(ve||(ve={}));di="startTransition",Tn=R[di];(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(re||(re={}));hi=new Promise(()=>{}),br=class extends R.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,i=re.pending;if(!(n instanceof Promise))i=re.success,a=Promise.resolve(),Object.defineProperty(a,"_tracked",{get:()=>!0}),Object.defineProperty(a,"_data",{get:()=>n});else if(this.state.error){i=re.error;let o=this.state.error;a=Promise.reject().catch(()=>{}),Object.defineProperty(a,"_tracked",{get:()=>!0}),Object.defineProperty(a,"_error",{get:()=>o})}else n._tracked?(a=n,i=a._error!==void 0?re.error:a._data!==void 0?re.success:re.pending):(i=re.pending,Object.defineProperty(n,"_tracked",{get:()=>!0}),a=n.then(o=>Object.defineProperty(n,"_data",{get:()=>o}),o=>Object.defineProperty(n,"_error",{get:()=>o})));if(i===re.error&&a._error instanceof pe)throw hi;if(i===re.error&&!r)throw a._error;if(i===re.error)return R.createElement(Ot.Provider,{value:a,children:r});if(i===re.success)return R.createElement(Ot.Provider,{value:a,children:t});throw a}}});function ge(){return ge=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},ge.apply(this,arguments)}function Ur(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,i;for(i=0;i<n.length;i++)a=n[i],!(t.indexOf(a)>=0)&&(r[a]=e[a]);return r}function Ht(e){return e!=null&&typeof e.tagName=="string"}function Si(e){return Ht(e)&&e.tagName.toLowerCase()==="button"}function xi(e){return Ht(e)&&e.tagName.toLowerCase()==="form"}function _i(e){return Ht(e)&&e.tagName.toLowerCase()==="input"}function Ni(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Ci(e,t){return e.button===0&&(!t||t==="_self")&&!Ni(e)}function Di(){if(Tt===null)try{new FormData(document.createElement("form"),0),Tt=!1}catch{Tt=!0}return Tt}function Ar(e){return e!=null&&!Pi.has(e)?null:e}function Li(e,t){let r,n,a,i,o;if(xi(e)){let l=e.getAttribute("action");n=l?de(l,t):null,r=e.getAttribute("method")||It,a=Ar(e.getAttribute("enctype"))||Or,i=new FormData(e)}else if(Si(e)||_i(e)&&(e.type==="submit"||e.type==="image")){let l=e.form;if(l==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let s=e.getAttribute("formaction")||l.getAttribute("action");if(n=s?de(s,t):null,r=e.getAttribute("formmethod")||l.getAttribute("method")||It,a=Ar(e.getAttribute("formenctype"))||Ar(l.getAttribute("enctype"))||Or,i=new FormData(l,e),!Di()){let{name:u,type:c,value:f}=e;if(c==="image"){let p=u?u+".":"";i.append(p+"x","0"),i.append(p+"y","0")}else u&&i.append(u,f)}}else{if(Ht(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=It,n=null,a=Or,o=e}return i&&a==="text/plain"&&(o=i,i=void 0),{action:n,method:r.toLowerCase(),encType:a,formData:i,body:o}}function Vn(e,t){return gr({basename:t?.basename,future:ge({},t?.future,{v7_prependBasename:!0}),history:Pn({window:t?.window}),hydrationData:t?.hydrationData||Ui(),routes:e,mapRouteProperties:Bn}).initialize()}function Ui(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=ge({},t,{errors:Mi(t.errors)})),t}function Mi(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 Ne(a.status,a.statusText,a.data,a.internal===!0);else if(a&&a.__type==="Error"){let i=new Error(a.message);i.stack="",r[n]=i}else r[n]=a;return r}function Wn(e){let t=F.useContext(be);return t||P(!1),t}function Hi(e){let t=F.useContext(Ce);return t||P(!1),t}function $i(e,t){let{target:r,replace:n,state:a,preventScrollReset:i,relative:o}=t===void 0?{}:t,l=At(),s=G(),u=Te(e,{relative:o});return F.useCallback(c=>{if(Ci(c,r)){c.preventDefault();let f=n!==void 0?n:ce(s)===ce(u);l(e,{replace:f,state:a,preventScrollReset:i,relative:o})}},[s,l,u,n,a,r,e,i,o])}function Vi(){if(typeof document>"u")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}function Jn(){let{router:e}=Wn(Bt.UseSubmit),{basename:t}=F.useContext(le),r=xr();return F.useCallback(function(n,a){a===void 0&&(a={}),Vi();let{action:i,method:o,encType:l,formData:s,body:u}=Li(n,t);e.navigate(a.action||i,{preventScrollReset:a.preventScrollReset,formData:s,body:u,formMethod:a.method||o,formEncType:a.encType||l,replace:a.replace,fromRouteId:r})},[e,t,r])}function Kn(e,t){let{relative:r}=t===void 0?{}:t,{basename:n}=F.useContext(le),a=F.useContext(fe);a||P(!1);let[i]=a.matches.slice(-1),o=ge({},Te(e||".",{relative:r})),l=G();if(e==null&&(o.search=l.search,o.hash=l.hash,i.route.index)){let s=new URLSearchParams(o.search);s.delete("index"),o.search=s.toString()?"?"+s.toString():""}return(!e||e===".")&&i.route.index&&(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(o.pathname=o.pathname==="/"?n:ie([n,o.pathname])),ce(o)}function Yn(e){let{getKey:t,storageKey:r}=e===void 0?{}:e,{router:n}=Wn(Bt.UseScrollRestoration),{restoreScrollPosition:a,preventScrollReset:i}=Hi(Fr.UseScrollRestoration),{basename:o}=F.useContext(le),l=G(),s=ct(),u=Xe();F.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),zi(F.useCallback(()=>{if(u.state==="idle"){let c=(t?t(l,s):null)||l.key;jt[c]=window.scrollY}sessionStorage.setItem(r||Hn,JSON.stringify(jt)),window.history.scrollRestoration="auto"},[r,t,u.state,l,s])),typeof document<"u"&&(F.useLayoutEffect(()=>{try{let c=sessionStorage.getItem(r||Hn);c&&(jt=JSON.parse(c))}catch{}},[r]),F.useLayoutEffect(()=>{let c=t&&o!=="/"?(p,w)=>t(ge({},p,{pathname:de(p.pathname,o)||p.pathname}),w):t,f=n?.enableScrollRestoration(jt,()=>window.scrollY,c);return()=>f&&f()},[n,o,t]),F.useLayoutEffect(()=>{if(a!==!1){if(typeof a=="number"){window.scrollTo(0,a);return}if(l.hash){let c=document.getElementById(l.hash.slice(1));if(c){c.scrollIntoView();return}}i!==!0&&window.scrollTo(0,0)}},[l,a,i]))}function zi(e,t){let{capture:r}=t||{};F.useEffect(()=>{let n=r!=null?{capture:r}:void 0;return window.addEventListener("pagehide",e,n),()=>{window.removeEventListener("pagehide",e,n)}},[e,r])}var F,It,Or,Tt,Pi,Oi,Ai,Fi,ki,Kl,Ti,ji,Mr,zn,Ii,Bi,Bt,Fr,Hn,jt,De=or(()=>{F=Ue(we());Lr();Lr();Ke();It="get",Or="application/x-www-form-urlencoded";Tt=null;Pi=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);Oi=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],Ai=["aria-current","caseSensitive","className","end","style","to","children"],Fi=["reloadDocument","replace","method","action","onSubmit","submit","relative","preventScrollReset"];ki="startTransition",Kl=F[ki],Ti=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ji=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Mr=F.forwardRef(function(t,r){let{onClick:n,relative:a,reloadDocument:i,replace:o,state:l,target:s,to:u,preventScrollReset:c}=t,f=Ur(t,Oi),{basename:p}=F.useContext(le),w,v=!1;if(typeof u=="string"&&ji.test(u)&&(w=u,Ti))try{let O=new URL(window.location.href),U=u.startsWith("//")?new URL(O.protocol+u):new URL(u),m=de(U.pathname,p);U.origin===O.origin&&m!=null?u=m+U.search+U.hash:v=!0}catch{}let E=ke(u,{relative:a}),b=$i(u,{replace:o,state:l,target:s,preventScrollReset:c,relative:a});function _(O){n&&n(O),O.defaultPrevented||b(O)}return F.createElement("a",ge({},f,{href:w||E,onClick:v||i?n:_,ref:r,target:s}))}),zn=F.forwardRef(function(t,r){let{"aria-current":n="page",caseSensitive:a=!1,className:i="",end:o=!1,style:l,to:s,children:u}=t,c=Ur(t,Ai),f=Te(s,{relative:c.relative}),p=G(),w=F.useContext(Ce),{navigator:v}=F.useContext(le),E=v.encodeLocation?v.encodeLocation(f).pathname:f.pathname,b=p.pathname,_=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;a||(b=b.toLowerCase(),_=_?_.toLowerCase():null,E=E.toLowerCase());let O=b===E||!o&&b.startsWith(E)&&b.charAt(E.length)==="/",U=_!=null&&(_===E||!o&&_.startsWith(E)&&_.charAt(E.length)==="/"),m=O?n:void 0,M;typeof i=="function"?M=i({isActive:O,isPending:U}):M=[i,O?"active":null,U?"pending":null].filter(Boolean).join(" ");let j=typeof l=="function"?l({isActive:O,isPending:U}):l;return F.createElement(Mr,ge({},c,{"aria-current":m,className:M,ref:r,style:j,to:s}),typeof u=="function"?u({isActive:O,isPending:U}):u)}),Ii=F.forwardRef((e,t)=>{let r=Jn();return F.createElement(Bi,ge({},e,{submit:r,ref:t}))}),Bi=F.forwardRef((e,t)=>{let{reloadDocument:r,replace:n,method:a=It,action:i,onSubmit:o,submit:l,relative:s,preventScrollReset:u}=e,c=Ur(e,Fi),f=a.toLowerCase()==="get"?"get":"post",p=Kn(i,{relative:s});return F.createElement("form",ge({ref:t,method:f,action:p,onSubmit:r?o:v=>{if(o&&o(v),v.defaultPrevented)return;v.preventDefault();let E=v.nativeEvent.submitter,b=E?.getAttribute("formmethod")||a;l(E||v.currentTarget,{method:b,replace:n,relative:s,preventScrollReset:u})}},c))});(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(Bt||(Bt={}));(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Fr||(Fr={}));Hn="react-router-scroll-positions",jt={}});var Ca=Et(Xt=>{"use strict";var Rl=we(),El=Symbol.for("react.element"),wl=Symbol.for("react.fragment"),bl=Object.prototype.hasOwnProperty,Sl=Rl.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,xl={key:!0,ref:!0,__self:!0,__source:!0};function Na(e,t,r){var n,a={},i=null,o=null;r!==void 0&&(i=""+r),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(o=t.ref);for(n in t)bl.call(t,n)&&!xl.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:El,type:e,key:i,ref:o,props:a,_owner:Sl.current}}Xt.Fragment=wl;Xt.jsx=Na;Xt.jsxs=Na});var _l=Et((Ys,Da)=>{"use strict";Da.exports=Ca()});var Pe=Ue(we());De();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 g=Ue(we());De();var k=Ue(we());De();var $t=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}};function Ge({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 Xn(){let e=je();if(ye(e))return k.default.createElement(Zn,{caught:e});if(e instanceof Error)return k.default.createElement(Ge,{error:e});{let t=e==null?"Unknown Error":typeof e=="object"&&"toString"in e?e.toString():JSON.stringify(e);return k.default.createElement(Ge,{error:new Error(t)})}}var Gn=k.default.createContext(void 0);function Wi(){return(0,k.useContext)(Gn)}function qn({catch:e,component:t,children:r}){return e?k.default.createElement(Gn.Provider,{value:e},k.default.createElement(t,null)):k.default.createElement(k.default.Fragment,null,r)}function Qn(){let e=Wi();return k.default.createElement(Zn,{caught:e})}function Zn({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
|
-
`}})))}function he(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}De();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(()=>{})}}function ea(e,t,r){let n=e.map(i=>{var o;let l=t[i.route.id];return((o=l.links)===null||o===void 0?void 0:o.call(l))||[]}).flat(1),a=Yi(e,r);return Xi(n,a)}async function ta(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);await Promise.all(n.map(Ji))}async function Ji(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 Ki(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 ra(e,t,r){return(await Promise.all(e.map(async a=>{let i=await Vt(t.routes[a.route.id],r);return i.links?i.links():[]}))).flat(1).filter(Ki).filter(a=>a.rel==="stylesheet"||a.rel==="preload").map(a=>a.rel==="preload"?{...a,rel:"prefetch"}:{...a,rel:"prefetch",as:"style"})}function kr(e,t,r,n,a,i){let o=oa(e),l=(c,f)=>r[f]?c.route.id!==r[f].route.id:!0,s=(c,f)=>{var p;return r[f].pathname!==c.pathname||((p=r[f].route.path)===null||p===void 0?void 0:p.endsWith("*"))&&r[f].params["*"]!==c.params["*"]};return i==="data"&&a.search!==o.search?t.filter((c,f)=>{if(!n.routes[c.route.id].hasLoader)return!1;if(l(c,f)||s(c,f))return!0;if(c.route.shouldRevalidate){var w;let v=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 v=="boolean")return v}return!0}):t.filter((c,f)=>{let p=n.routes[c.route.id];return(i==="assets"||p.hasLoader)&&(l(c,f)||s(c,f))})}function na(e,t,r){let n=oa(e);return Tr(t.filter(a=>r.routes[a.route.id].hasLoader).map(a=>{let{pathname:i,search:o}=n,l=new URLSearchParams(o);return l.set("_data",a.route.id),`${i}?${l}`}))}function aa(e,t){return Tr(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 Yi(e,t){return Tr(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 Tr(e){return[...new Set(e)]}function Xi(e,t){let r=new Set,n=new Set(t);return e.reduce((a,i)=>{if(!zt(i)&&i.as==="script"&&i.href&&n.has(i.href))return a;let l=JSON.stringify(i);return r.has(l)||(r.add(l),a.push(i)),a},[])}function oa(e){let t=Z(e);return t.search===void 0&&(t.search=""),t}var Gi={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},qi=/[&><\u2028\u2029]/g;function dt(e){return e.replace(qi,t=>Gi[t])}function jr(e){return{__html:e}}function la(){let e=g.useContext(be);return he(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function ht(){let e=g.useContext(Ce);return he(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var mt=g.createContext(void 0);mt.displayName="Remix";function Re(){let e=g.useContext(mt);return he(e,"You must render this element inside a <Remix> element"),e}function sa({id:e}){let{routeModules:t,future:r}=Re();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:i}=t[e];return!n&&(a||!r.v2_errorBoundary&&i)&&(n=kt),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>\`.`),g.createElement(n,null)}function ua({id:e}){let{future:t,routeModules:r}=Re();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=je(),{CatchBoundary:a,ErrorBoundary:i}=r[e];if(t.v2_errorBoundary){if(e==="root"&&(i||(i=Xn)),i)return g.createElement(i,null);throw n}if(e==="root"&&(a||(a=Qn),i||(i=Ge)),ye(n)){let o=n;if(o!=null&&o.error&&o.status!==404&&i)return g.createElement(i,{error:o.error});if(a)return g.createElement(qn,{catch:n,component:a})}if(n instanceof Error&&i)return g.createElement(i,{error:n});throw n}function ca(e,t){let[r,n]=g.useState(!1),[a,i]=g.useState(!1),{onFocus:o,onBlur:l,onMouseEnter:s,onMouseLeave:u,onTouchStart:c}=t,f=g.useRef(null);g.useEffect(()=>{if(e==="render"&&i(!0),e==="viewport"){let v=b=>{b.forEach(_=>{i(_.isIntersecting)})},E=new IntersectionObserver(v,{threshold:.5});return f.current&&E.observe(f.current),()=>{E.disconnect()}}},[e]);let p=()=>{e==="intent"&&n(!0)},w=()=>{e==="intent"&&(n(!1),i(!1))};return g.useEffect(()=>{if(r){let v=setTimeout(()=>{i(!0)},100);return()=>{clearTimeout(v)}}},[r]),[a,f,{onFocus:ft(o,p),onBlur:ft(l,w),onMouseEnter:ft(s,p),onMouseLeave:ft(u,w),onTouchStart:ft(c,p)}]}var da=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,fa=g.forwardRef(({to:e,prefetch:t="none",...r},n)=>{let a=typeof e=="string"&&da.test(e),i=ke(e),[o,l,s]=ca(t,r);return g.createElement(g.Fragment,null,g.createElement(zn,W({},r,s,{ref:pa(n,l),to:e})),o&&!a?g.createElement(Wt,{page:i}):null)});fa.displayName="NavLink";var ha=g.forwardRef(({to:e,prefetch:t="none",...r},n)=>{let a=typeof e=="string"&&da.test(e),i=ke(e),[o,l,s]=ca(t,r);return g.createElement(g.Fragment,null,g.createElement(Mr,W({},r,s,{ref:pa(n,l),to:e})),o&&!a?g.createElement(Wt,{page:i}):null)});ha.displayName="Link";function ft(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}var Qi="\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";function Zi(){let{manifest:e,routeModules:t}=Re(),{errors:r,matches:n}=ht(),a=r?n.slice(0,n.findIndex(o=>r[o.route.id])+1):n,i=g.useMemo(()=>ea(a,t,e),[a,t,e]);return g.useEffect(()=>{i.some(o=>"imagesizes"in o||"imagesrcset"in o)&&void 0},[i]),g.createElement(g.Fragment,null,i.map(o=>{if(zt(o))return g.createElement(Wt,W({key:o.page},o));let l=null;return"useId"in g?(o.imagesrcset&&(o.imageSrcSet=l=o.imagesrcset,delete o.imagesrcset),o.imagesizes&&(o.imageSizes=o.imagesizes,delete o.imagesizes)):(o.imageSrcSet&&(o.imagesrcset=l=o.imageSrcSet,delete o.imageSrcSet),o.imageSizes&&(o.imagesizes=o.imageSizes,delete o.imageSizes)),g.createElement("link",W({key:o.rel+(o.href||"")+(l||"")},o))}))}function Wt({page:e,...t}){let{router:r}=la(),n=g.useMemo(()=>oe(r.routes,e),[r.routes,e]);return n?g.createElement(tl,W({page:e,matches:n},t)):(console.warn(`Tried to prefetch ${e} but no routes matched.`),null)}function el(e){let{manifest:t,routeModules:r}=Re(),[n,a]=g.useState([]);return g.useEffect(()=>{let i=!1;return ra(e,t,r).then(o=>{i||a(o)}),()=>{i=!0}},[e,t,r]),n}function tl({page:e,matches:t,...r}){let n=G(),{manifest:a}=Re(),{matches:i}=ht(),o=g.useMemo(()=>kr(e,t,i,a,n,"data"),[e,t,i,a,n]),l=g.useMemo(()=>kr(e,t,i,a,n,"assets"),[e,t,i,a,n]),s=g.useMemo(()=>na(e,o,a),[o,e,a]),u=g.useMemo(()=>aa(l,a),[l,a]),c=el(l);return g.createElement(g.Fragment,null,s.map(f=>g.createElement("link",W({key:f,rel:"prefetch",as:"fetch",href:f},r))),u.map(f=>g.createElement("link",W({key:f,rel:"modulepreload",href:f},r))),c.map(f=>g.createElement("link",W({key:f.href},f))))}function rl(){let{routeModules:e}=Re(),{errors:t,matches:r,loaderData:n}=ht(),a=G(),i=t?r.slice(0,r.findIndex(s=>t[s.route.id])+1):r,o={},l={};for(let s of i){let u=s.route.id,c=n[u],f=s.params,p=e[u];if(p.meta){let w=typeof p.meta=="function"?p.meta({data:c,parentsData:l,params:f,location:a}):p.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(o,w)}l[u]=c}return g.createElement(g.Fragment,null,Object.entries(o).map(([s,u])=>{if(!u)return null;if(["charset","charSet"].includes(s))return g.createElement("meta",{key:"charSet",charSet:u});if(s==="title")return g.createElement("title",{key:"title"},String(u));let c=/^(og|music|video|article|book|profile|fb):.+$/.test(s);return[u].flat().map(f=>c?g.createElement("meta",{property:s,content:f,key:s+f}):typeof f=="string"?g.createElement("meta",{name:s,content:f,key:s+f}):g.createElement("meta",W({key:s+JSON.stringify(f)},f)))}))}function nl(){let{routeModules:e}=Re(),{errors:t,matches:r,loaderData:n}=ht(),a=G(),i=t?r.slice(0,r.findIndex(u=>t[u.route.id])+1):r,o=[],l=null,s=[];for(let u=0;u<i.length;u++){let c=i[u],f=c.route.id,p=n[f],w=c.params,v=e[f],E=[],b={id:f,data:p,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,v!=null&&v.meta?E=typeof v.meta=="function"?v.meta({data:p,params:w,location:a,matches:s}):Array.isArray(v.meta)?[...v.meta]:v.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,o=[...E],l=o}return g.createElement(g.Fragment,null,o.flat().map(u=>{if(!u)return null;if("tagName"in u){let c=u.tagName;return delete u.tagName,al(c)?g.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 g.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"?g.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&&g.createElement("script",{key:"script:ld+json",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(u["script:ld+json"])}})}return g.createElement("meta",W({key:JSON.stringify(u)},u))}))}function al(e){return typeof e=="string"&&/^(meta|link)$/.test(e)}function ol(){let{future:e}=Re();return e!=null&&e.v2_meta?g.createElement(nl,null):g.createElement(rl,null)}function ma(e){return g.createElement(Pr,e)}var Ir=!1;function il(e){let{manifest:t,serverHandoffString:r,abortDelay:n}=Re(),{router:a,static:i,staticContext:o}=la(),{matches:l}=ht(),s=Xe();g.useEffect(()=>{Ir=!0},[]);let u=[],c=g.useMemo(()=>{var v;let E=o?`window.__remixContext = ${r};`:" ",b=o?.activeDeferreds;E+=b?["__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(b).map(([O,U])=>{let m=new Set(U.pendingKeys),M=U.deferredKeys.map(j=>{if(m.has(j))return u.push(g.createElement(ia,{key:`${O} | ${j}`,deferredData:U,routeId:O,dataKey:j,scriptProps:e})),`${JSON.stringify(j)}:__remixContext.n(${JSON.stringify(O)}, ${JSON.stringify(j)})`;{let I=U.data[j];if(typeof I._error<"u"){let ee={message:"Unexpected Server Error",stack:void 0};return`${JSON.stringify(j)}:__remixContext.p(!1, ${dt(JSON.stringify(ee))})`}else{if(typeof I._data>"u")throw new Error(`The deferred data for ${j} was not resolved, did you forget to return data from a deferred promise?`);return`${JSON.stringify(j)}:__remixContext.p(${dt(JSON.stringify(I._data))})`}}}).join(`,
|
|
21
|
-
`);return`Object.assign(__remixContext.state.loaderData[${JSON.stringify(O)}], {${M}});`}).join(`
|
|
22
|
-
`)+(u.length>0?`__remixContext.a=${u.length};`:""):"";let _=i?`${(v=t.hmr)!==null&&v!==void 0&&v.runtime?`import ${JSON.stringify(t.hmr.runtime)};`:""}import ${JSON.stringify(t.url)};
|
|
23
|
-
${l.map((O,U)=>`import * as route${U} from ${JSON.stringify(t.routes[O.route.id].module)};`).join(`
|
|
24
|
-
`)}
|
|
25
|
-
window.__remixRouteModules = {${l.map((O,U)=>`${JSON.stringify(O.route.id)}:route${U}`).join(",")}};
|
|
26
|
-
|
|
27
|
-
import(${JSON.stringify(t.entry.module)});`:" ";return g.createElement(g.Fragment,null,g.createElement("script",W({},e,{suppressHydrationWarning:!0,dangerouslySetInnerHTML:jr(E),type:void 0})),g.createElement("script",W({},e,{suppressHydrationWarning:!0,dangerouslySetInnerHTML:jr(_),type:"module",async:!0})))},[]);if(!i&&typeof __remixContext=="object"&&__remixContext.a)for(let v=0;v<__remixContext.a;v++)u.push(g.createElement(ia,{key:v,scriptProps:e}));let f=g.useMemo(()=>{if(s.location){let v=oe(a.routes,s.location);return he(v,`No routes match path "${s.location.pathname}"`),v}return[]},[s.location,a.routes]),p=l.concat(f).map(v=>{let E=t.routes[v.route.id];return(E.imports||[]).concat([E.module])}).flat(1),w=Ir?[]:t.entry.imports.concat(p);return Ir?null:g.createElement(g.Fragment,null,g.createElement("link",{rel:"modulepreload",href:t.entry.module,crossOrigin:e.crossOrigin}),sl(w).map(v=>g.createElement("link",{key:v,rel:"modulepreload",href:v,crossOrigin:e.crossOrigin})),c,u)}function ia({dataKey:e,deferredData:t,routeId:r,scriptProps:n}){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.`),g.createElement(g.Suspense,{fallback:typeof document>"u"&&t&&e&&r?null:g.createElement("script",W({},n,{async:!0,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:" "}}))},typeof document>"u"&&t&&e&&r?g.createElement(ma,{resolve:t.data[e],errorElement:g.createElement(ll,{dataKey:e,routeId:r,scriptProps:n}),children:a=>g.createElement("script",W({},n,{async:!0,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`__remixContext.r(${JSON.stringify(r)}, ${JSON.stringify(e)}, ${dt(JSON.stringify(a))});`}}))}):g.createElement("script",W({},n,{async:!0,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:" "}})))}function ll({dataKey:e,routeId:t,scriptProps:r}){let n=Mt(),a={message:"Unexpected Server Error",stack:void 0};return g.createElement("script",W({},r,{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`__remixContext.r(${JSON.stringify(t)}, ${JSON.stringify(e)}, !1, ${dt(JSON.stringify(a))});`}}))}function sl(e){return[...new Set(e)]}function Br(){let{routeModules:e}=Re(),t=ct();return g.useMemo(()=>t.map(r=>({id:r.id,pathname:r.pathname,params:r.params,data:r.data,handle:e[r.id].handle})),[t,e])}function ul(){return _r()}var cl=()=>null;function pa(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}Ke();function ya(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 Ne(a.status,a.statusText,a.data,a.internal===!0);else if(a&&a.__type==="Error"){let i=new Error(a.message);i.stack=a.stack,r[n]=i}else r[n]=a;return r}var $r=Ue(we());De();Ke();function ga(e){return e.headers.get("X-Remix-Catch")!=null}function dl(e){return e.headers.get("X-Remix-Error")!=null}function Ra(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/))}async function Hr(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 i=window.__remixRevalidation,o=await fetch(n.href,a).catch(l=>{if(typeof i=="number"&&i===window.__remixRevalidation&&l?.name==="TypeError"&&r<3)return Hr(e,t,r+1);throw l});if(dl(o)){let l=await o.json(),s=new Error(l.message);return s.stack=l.stack,s}return o}var fl="__deferred_promise:";async function wa(e){if(!e)throw new Error("parseDeferredReadableStream requires stream argument");let t,r={};try{let n=hl(e),i=(await n.next()).value;if(!i)throw new Error("no critical data");let o=JSON.parse(i);if(typeof o=="object"&&o!==null)for(let[l,s]of Object.entries(o))typeof s!="string"||!s.startsWith(fl)||(t=t||{},t[l]=new Promise((u,c)=>{r[l]={resolve:f=>{u(f),delete r[l]},reject:f=>{c(f),delete r[l]}}}));return(async()=>{try{for await(let l of n){let[s,...u]=l.split(":"),c=u.join(":"),f=JSON.parse(c);if(s==="data")for(let[p,w]of Object.entries(f))r[p]&&r[p].resolve(w);else if(s==="error")for(let[p,w]of Object.entries(f)){let v=new Error(w.message);v.stack=w.stack,r[p]&&r[p].reject(v)}}for(let[l,s]of Object.entries(r))s.reject(new pe(`Deferred ${l} will never be resolved`))}catch(l){for(let s of Object.values(r))s.reject(l)}})(),new Nt({...o,...t})}catch(n){for(let a of Object.values(r))a.reject(n);throw n}}async function*hl(e){let t=e.getReader(),r=[],n=[],a=!1,i=new TextEncoder,o=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 f=o.decode(va(...r)).split(`
|
|
28
|
-
|
|
29
|
-
`);if(f.length>=2&&(n.push(...f.slice(0,-1)),r=[i.encode(f.slice(-1).join(`
|
|
30
|
-
|
|
31
|
-
`))]),n.length>0)break}catch{continue}}return n.length>0||r.length>0&&(n=o.decode(va(...r)).split(`
|
|
32
|
-
|
|
33
|
-
`).filter(c=>c),r=[]),n.shift()},s=await l();for(;s;)yield s,s=await l()}function va(...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}function Sa(e){let t={};return Object.values(e).forEach(r=>{let n=r.parentId||"";t[n]||(t[n]=[]),t[n].push(r)}),t}function xa(e,t,r,n){return Jt(t,r,n,"",Sa(t),e)}function Jt(e,t,r,n="",a=Sa(e),i){return(a[n]||[]).map(o=>{let l=r.v2_errorBoundary===!0?o.id==="root"||o.hasErrorBoundary:o.id==="root"||o.hasCatchBoundary||o.hasErrorBoundary,s={caseSensitive:o.caseSensitive,element:$r.createElement(sa,{id:o.id}),errorElement:l?$r.createElement(ua,{id:o.id}):void 0,id:o.id,index:o.index,path:o.path,handle:void 0,loader:ba(o,t,!1),action:ba(o,t,!0),shouldRevalidate:ml(o,t,i)},u=Jt(e,t,r,o.id,a,i);return u.length>0&&(s.children=u),s})}function ml(e,t,r){let n=!1;return function(a){let i=t[e.id];return he(i,`Expected route module to be loaded for ${e.id}`),r!==void 0&&!n?(n=!0,r.has(e.id)):i.shouldRevalidate?i.shouldRevalidate(a):a.defaultShouldRevalidate}}async function pl(e,t){let r=await Vt(e,t);return await ta(r),r}function ba(e,t,r){return async({request:n})=>{let a=pl(e,t);try{if(r&&!e.hasAction){let o=`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(o),new Error(o)}else if(!r&&!e.hasLoader)return null;let i=await Hr(n,e.id);if(i instanceof Error)throw i;if(Ra(i))throw yl(i);if(ga(i))throw i;return Ea(i)&&i.body?await wa(i.body):i}finally{await a}}}function yl(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),Pt(r,{status:t,headers:n})}var Se,Kt;import.meta&&import.meta.hot&&import.meta.hot.accept("remix:manifest",async({assetsManifest:e,needsRevalidation:t})=>{let r=[...new Set(Se.state.matches.map(l=>l.route.id).concat(Object.keys(window.__remixRouteModules)))];Kt&&Kt.abort(),Kt=new AbortController;let n=Kt.signal,a=Object.assign({},window.__remixRouteModules,Object.fromEntries((await Promise.all(r.map(async l=>{var s,u,c,f;if(!e.routes[l])return null;let p=await import(e.routes[l].module+`?t=${(s=e.hmr)===null||s===void 0?void 0:s.timestamp}`);return[l,{...p,default:p.default?((u=window.__remixRouteModules[l])===null||u===void 0?void 0:u.default)??p.default:p.default,CatchBoundary:p.CatchBoundary?((c=window.__remixRouteModules[l])===null||c===void 0?void 0:c.CatchBoundary)??p.CatchBoundary:p.CatchBoundary,ErrorBoundary:p.ErrorBoundary?((f=window.__remixRouteModules[l])===null||f===void 0?void 0:f.ErrorBoundary)??p.ErrorBoundary:p.ErrorBoundary}]}))).filter(Boolean)));Object.assign(window.__remixRouteModules,a);let i=xa(t,e.routes,window.__remixRouteModules,window.__remixContext.future);Se._internalSetRoutes(i);let o=Se.subscribe(l=>{if(l.revalidation==="idle"){if(o(),n.aborted)return;setTimeout(()=>{Object.assign(window.__remixManifest,e),window.$RefreshRuntime$.performReactRefresh()},1)}});window.__remixRevalidation=(window.__remixRevalidation||0)+1,Se.revalidate()});function vl(e){if(!Se){let n=Jt(window.__remixManifest.routes,window.__remixRouteModules,window.__remixContext.future),a=window.__remixContext.state;a&&a.errors&&(a={...a,errors:ya(a.errors)}),Se=Vn(n,{hydrationData:a,future:{v7_normalizeFormMethod:window.__remixContext.future.v2_normalizeFormMethod}});let i=window.__remixContext.url,o=window.location.pathname;if(i!==o){let l=`Initial URL (${i}) does not match URL at time of hydration (${o}), reloading page...`;console.error(l),window.location.reload()}}let[t,r]=Pe.useState(Se.state.location);return Pe.useLayoutEffect(()=>Se.subscribe(n=>{n.location!==t&&r(n.location)}),[t]),Pe.createElement(mt.Provider,{value:{manifest:window.__remixManifest,routeModules:window.__remixRouteModules,future:window.__remixContext.future}},Pe.createElement($t,{location:t,component:Ge},Pe.createElement(Cr,{router:Se,fallbackElement:null,future:{v7_startTransition:!0}})))}De();var Yt=Ue(we());De();var _a="positions";function gl({getKey:e,...t}){let r=G(),n=Br();Yn({getKey:e,storageKey:_a});let a=Yt.useMemo(()=>{if(!e)return null;let o=e(r,n);return o!==r.key?o:null},[]),i=((o,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(o)||"{}")[l||window.history.state.key];typeof u=="number"&&window.scrollTo(0,u)}catch(s){console.error(s),sessionStorage.removeItem(o)}}).toString();return Yt.createElement("script",W({},t,{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${i})(${JSON.stringify(_a)}, ${JSON.stringify(a)})`}}))}export{Et as a,Ue as b,we as c,ye as d,G as e,At as f,Xe as g,je as h,kt as i,Ii as j,Jn as k,ha as l,Zi as m,ol as n,il as o,ul as p,cl as q,vl as r,gl as s,_l as t};
|
|
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.1
|
|
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.1
|
|
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.1
|
|
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
|
-
react/cjs/react-jsx-runtime.production.min.js:
|
|
84
|
-
(**
|
|
85
|
-
* @license React
|
|
86
|
-
* react-jsx-runtime.production.min.js
|
|
87
|
-
*
|
|
88
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
89
|
-
*
|
|
90
|
-
* This source code is licensed under the MIT license found in the
|
|
91
|
-
* LICENSE file in the root directory of this source tree.
|
|
92
|
-
*)
|
|
93
|
-
|
|
94
|
-
@remix-run/react/dist/esm/_virtual/_rollupPluginBabelHelpers.js:
|
|
95
|
-
(**
|
|
96
|
-
* @remix-run/react v1.18.1
|
|
97
|
-
*
|
|
98
|
-
* Copyright (c) Remix Software Inc.
|
|
99
|
-
*
|
|
100
|
-
* This source code is licensed under the MIT license found in the
|
|
101
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
102
|
-
*
|
|
103
|
-
* @license MIT
|
|
104
|
-
*)
|
|
105
|
-
|
|
106
|
-
@remix-run/react/dist/esm/errorBoundaries.js:
|
|
107
|
-
(**
|
|
108
|
-
* @remix-run/react v1.18.1
|
|
109
|
-
*
|
|
110
|
-
* Copyright (c) Remix Software Inc.
|
|
111
|
-
*
|
|
112
|
-
* This source code is licensed under the MIT license found in the
|
|
113
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
114
|
-
*
|
|
115
|
-
* @license MIT
|
|
116
|
-
*)
|
|
117
|
-
|
|
118
|
-
@remix-run/react/dist/esm/invariant.js:
|
|
119
|
-
(**
|
|
120
|
-
* @remix-run/react v1.18.1
|
|
121
|
-
*
|
|
122
|
-
* Copyright (c) Remix Software Inc.
|
|
123
|
-
*
|
|
124
|
-
* This source code is licensed under the MIT license found in the
|
|
125
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
126
|
-
*
|
|
127
|
-
* @license MIT
|
|
128
|
-
*)
|
|
129
|
-
|
|
130
|
-
@remix-run/react/dist/esm/routeModules.js:
|
|
131
|
-
(**
|
|
132
|
-
* @remix-run/react v1.18.1
|
|
133
|
-
*
|
|
134
|
-
* Copyright (c) Remix Software Inc.
|
|
135
|
-
*
|
|
136
|
-
* This source code is licensed under the MIT license found in the
|
|
137
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
138
|
-
*
|
|
139
|
-
* @license MIT
|
|
140
|
-
*)
|
|
141
|
-
|
|
142
|
-
@remix-run/react/dist/esm/links.js:
|
|
143
|
-
(**
|
|
144
|
-
* @remix-run/react v1.18.1
|
|
145
|
-
*
|
|
146
|
-
* Copyright (c) Remix Software Inc.
|
|
147
|
-
*
|
|
148
|
-
* This source code is licensed under the MIT license found in the
|
|
149
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
150
|
-
*
|
|
151
|
-
* @license MIT
|
|
152
|
-
*)
|
|
153
|
-
|
|
154
|
-
@remix-run/react/dist/esm/markup.js:
|
|
155
|
-
(**
|
|
156
|
-
* @remix-run/react v1.18.1
|
|
157
|
-
*
|
|
158
|
-
* Copyright (c) Remix Software Inc.
|
|
159
|
-
*
|
|
160
|
-
* This source code is licensed under the MIT license found in the
|
|
161
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
162
|
-
*
|
|
163
|
-
* @license MIT
|
|
164
|
-
*)
|
|
165
|
-
|
|
166
|
-
@remix-run/react/dist/esm/components.js:
|
|
167
|
-
(**
|
|
168
|
-
* @remix-run/react v1.18.1
|
|
169
|
-
*
|
|
170
|
-
* Copyright (c) Remix Software Inc.
|
|
171
|
-
*
|
|
172
|
-
* This source code is licensed under the MIT license found in the
|
|
173
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
174
|
-
*
|
|
175
|
-
* @license MIT
|
|
176
|
-
*)
|
|
177
|
-
|
|
178
|
-
@remix-run/react/dist/esm/errors.js:
|
|
179
|
-
(**
|
|
180
|
-
* @remix-run/react v1.18.1
|
|
181
|
-
*
|
|
182
|
-
* Copyright (c) Remix Software Inc.
|
|
183
|
-
*
|
|
184
|
-
* This source code is licensed under the MIT license found in the
|
|
185
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
186
|
-
*
|
|
187
|
-
* @license MIT
|
|
188
|
-
*)
|
|
189
|
-
|
|
190
|
-
@remix-run/react/dist/esm/data.js:
|
|
191
|
-
(**
|
|
192
|
-
* @remix-run/react v1.18.1
|
|
193
|
-
*
|
|
194
|
-
* Copyright (c) Remix Software Inc.
|
|
195
|
-
*
|
|
196
|
-
* This source code is licensed under the MIT license found in the
|
|
197
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
198
|
-
*
|
|
199
|
-
* @license MIT
|
|
200
|
-
*)
|
|
201
|
-
|
|
202
|
-
@remix-run/react/dist/esm/routes.js:
|
|
203
|
-
(**
|
|
204
|
-
* @remix-run/react v1.18.1
|
|
205
|
-
*
|
|
206
|
-
* Copyright (c) Remix Software Inc.
|
|
207
|
-
*
|
|
208
|
-
* This source code is licensed under the MIT license found in the
|
|
209
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
210
|
-
*
|
|
211
|
-
* @license MIT
|
|
212
|
-
*)
|
|
213
|
-
|
|
214
|
-
@remix-run/react/dist/esm/browser.js:
|
|
215
|
-
(**
|
|
216
|
-
* @remix-run/react v1.18.1
|
|
217
|
-
*
|
|
218
|
-
* Copyright (c) Remix Software Inc.
|
|
219
|
-
*
|
|
220
|
-
* This source code is licensed under the MIT license found in the
|
|
221
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
222
|
-
*
|
|
223
|
-
* @license MIT
|
|
224
|
-
*)
|
|
225
|
-
|
|
226
|
-
@remix-run/react/dist/esm/scroll-restoration.js:
|
|
227
|
-
(**
|
|
228
|
-
* @remix-run/react v1.18.1
|
|
229
|
-
*
|
|
230
|
-
* Copyright (c) Remix Software Inc.
|
|
231
|
-
*
|
|
232
|
-
* This source code is licensed under the MIT license found in the
|
|
233
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
234
|
-
*
|
|
235
|
-
* @license MIT
|
|
236
|
-
*)
|
|
237
|
-
|
|
238
|
-
@remix-run/react/dist/esm/index.js:
|
|
239
|
-
(**
|
|
240
|
-
* @remix-run/react v1.18.1
|
|
241
|
-
*
|
|
242
|
-
* Copyright (c) Remix Software Inc.
|
|
243
|
-
*
|
|
244
|
-
* This source code is licensed under the MIT license found in the
|
|
245
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
246
|
-
*
|
|
247
|
-
* @license MIT
|
|
248
|
-
*)
|
|
249
|
-
*/
|