From 3b1ce20fb879659a97e23799528b67e091ff7be3 Mon Sep 17 00:00:00 2001 From: Serhii Safonov <137483700+KaratSergio@users.noreply.github.com> Date: Fri, 25 Oct 2024 22:34:30 +0300 Subject: [PATCH] Updates --- assets/index-B06hEjXA.css | 1 + assets/index-BfS6M4Jv.js | 51 +++++++++++++++++++++++++++++++++++++++ assets/index-BrUIhgmR.js | 51 --------------------------------------- assets/index-EvRnQtNb.css | 1 - index.html | 4 +-- 5 files changed, 54 insertions(+), 54 deletions(-) create mode 100644 assets/index-B06hEjXA.css create mode 100644 assets/index-BfS6M4Jv.js delete mode 100644 assets/index-BrUIhgmR.js delete mode 100644 assets/index-EvRnQtNb.css diff --git a/assets/index-B06hEjXA.css b/assets/index-B06hEjXA.css new file mode 100644 index 0000000..123ca97 --- /dev/null +++ b/assets/index-B06hEjXA.css @@ -0,0 +1 @@ +*,: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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{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,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}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:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;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-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([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}dialog{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]:where(:not([hidden=until-found])){display:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.left-0{left:0}.left-1\/2{left:50%}.right-0{right:0}.top-0{top:0}.top-1\/2{top:50%}.m-4{margin:1rem}.mx-auto{margin-left:auto;margin-right:auto}.ml-2{margin-left:.5rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.flex{display:flex}.grid{display:grid}.size-4{width:1rem;height:1rem}.size-6{width:1.5rem;height:1.5rem}.h-10{height:2.5rem}.h-8{height:2rem}.h-80{height:20rem}.h-full{height:100%}.w-10{width:2.5rem}.w-8{width:2rem}.w-full{width:100%}.max-w-4xl{max-width:56rem}.max-w-\[500px\]{max-width:500px}.max-w-screen-lg{max-width:1024px}.max-w-screen-xl{max-width:1280px}.-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-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))}.cursor-pointer{cursor:pointer}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-10{gap:2.5rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.overflow-hidden{overflow:hidden}.break-words{overflow-wrap:break-word}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-none{border-style:none}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-2{padding:.5rem}.p-4{padding:1rem}.py-4{padding-top:1rem;padding-bottom:1rem}.text-left{text-align:left}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-teal-500{--tw-text-opacity: 1;color:rgb(20 184 166 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.opacity-50{opacity:.5}.shadow-md{--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)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.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-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-\[600ms\]{transition-duration:.6s}.duration-\[900ms\]{transition-duration:.9s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;justify-content:center;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#131313}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.hover\:border-black:hover{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.hover\:border-transparent:hover{border-color:transparent}.hover\:bg-black\/85:hover{background-color:#000000d9}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.data-\[state\=checked\]\:border-black[data-state=checked]{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}@media (min-width: 640px){.sm\:mt-1{margin-top:.25rem}.sm\:h-10{height:2.5rem}.sm\:h-96{height:24rem}.sm\:w-10{width:2.5rem}.sm\:gap-2{gap:.5rem}.sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}.sm\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 768px){.md\:size-5{width:1.25rem;height:1.25rem}.md\:h-12{height:3rem}.md\:h-\[500px\]{height:500px}.md\:w-12{width:3rem}.md\:text-5xl{font-size:3rem;line-height:1}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 1024px){.lg\:h-14{height:3.5rem}.lg\:h-\[600px\]{height:600px}.lg\:w-1\/2{width:50%}.lg\:w-14{width:3.5rem}.lg\:flex-row{flex-direction:row}}@media (min-width: 1280px){.xl\:h-20{height:5rem}.xl\:h-\[750px\]{height:750px}.xl\:w-20{width:5rem}} diff --git a/assets/index-BfS6M4Jv.js b/assets/index-BfS6M4Jv.js new file mode 100644 index 0000000..1297987 --- /dev/null +++ b/assets/index-BfS6M4Jv.js @@ -0,0 +1,51 @@ +function qd(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const i of l.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(o){if(o.ep)return;o.ep=!0;const l=n(o);fetch(o.href,l)}})();function $s(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Us={exports:{}},wo={},Vs={exports:{}},A={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var sr=Symbol.for("react.element"),bd=Symbol.for("react.portal"),ef=Symbol.for("react.fragment"),tf=Symbol.for("react.strict_mode"),nf=Symbol.for("react.profiler"),rf=Symbol.for("react.provider"),of=Symbol.for("react.context"),lf=Symbol.for("react.forward_ref"),uf=Symbol.for("react.suspense"),sf=Symbol.for("react.memo"),af=Symbol.for("react.lazy"),Pu=Symbol.iterator;function cf(e){return e===null||typeof e!="object"?null:(e=Pu&&e[Pu]||e["@@iterator"],typeof e=="function"?e:null)}var Hs={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Bs=Object.assign,Ws={};function Cn(e,t,n){this.props=e,this.context=t,this.refs=Ws,this.updater=n||Hs}Cn.prototype.isReactComponent={};Cn.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")};Cn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ks(){}Ks.prototype=Cn.prototype;function gi(e,t,n){this.props=e,this.context=t,this.refs=Ws,this.updater=n||Hs}var yi=gi.prototype=new Ks;yi.constructor=gi;Bs(yi,Cn.prototype);yi.isPureReactComponent=!0;var Nu=Array.isArray,Qs=Object.prototype.hasOwnProperty,wi={current:null},Zs={key:!0,ref:!0,__self:!0,__source:!0};function Gs(e,t,n){var r,o={},l=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(l=""+t.key),t)Qs.call(t,r)&&!Zs.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1>>1,G=R[B];if(0>>1;Bo(Ho,j))Ito(mr,Ho)?(R[B]=mr,R[It]=j,B=It):(R[B]=Ho,R[Ke]=j,B=Ke);else if(Ito(mr,j))R[B]=mr,R[It]=j,B=It;else break e}}return I}function o(R,I){var j=R.sortIndex-I.sortIndex;return j!==0?j:R.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var s=[],a=[],h=1,v=null,m=3,w=!1,y=!1,C=!1,S=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(R){for(var I=n(a);I!==null;){if(I.callback===null)r(a);else if(I.startTime<=R)r(a),I.sortIndex=I.expirationTime,t(s,I);else break;I=n(a)}}function x(R){if(C=!1,p(R),!y)if(n(s)!==null)y=!0,J(k);else{var I=n(a);I!==null&&qe(x,I.startTime-R)}}function k(R,I){y=!1,C&&(C=!1,d(P),P=-1),w=!0;var j=m;try{for(p(I),v=n(s);v!==null&&(!(v.expirationTime>I)||R&&!Z());){var B=v.callback;if(typeof B=="function"){v.callback=null,m=v.priorityLevel;var G=B(v.expirationTime<=I);I=e.unstable_now(),typeof G=="function"?v.callback=G:v===n(s)&&r(s),p(I)}else r(s);v=n(s)}if(v!==null)var be=!0;else{var Ke=n(a);Ke!==null&&qe(x,Ke.startTime-I),be=!1}return be}finally{v=null,m=j,w=!1}}var N=!1,_=null,P=-1,M=5,L=-1;function Z(){return!(e.unstable_now()-LR||125B?(R.sortIndex=j,t(a,R),n(s)===null&&R===n(a)&&(C?(d(P),P=-1):C=!0,qe(x,j-B))):(R.sortIndex=G,t(s,R),y||w||(y=!0,J(k))),R},e.unstable_shouldYield=Z,e.unstable_wrapCallback=function(R){var I=m;return function(){var j=m;m=I;try{return R.apply(this,arguments)}finally{m=j}}}})(bs);qs.exports=bs;var Sf=qs.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Ef=f,Ne=Sf;function E(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),yl=Object.prototype.hasOwnProperty,kf=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Tu={},Lu={};function _f(e){return yl.call(Lu,e)?!0:yl.call(Tu,e)?!1:kf.test(e)?Lu[e]=!0:(Tu[e]=!0,!1)}function Pf(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Nf(e,t,n,r){if(t===null||typeof t>"u"||Pf(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ye(e,t,n,r,o,l,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=i}var ue={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ue[e]=new ye(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ue[t]=new ye(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ue[e]=new ye(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ue[e]=new ye(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ue[e]=new ye(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ue[e]=new ye(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ue[e]=new ye(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ue[e]=new ye(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ue[e]=new ye(e,5,!1,e.toLowerCase(),null,!1,!1)});var xi=/[\-:]([a-z])/g;function Si(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(xi,Si);ue[t]=new ye(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(xi,Si);ue[t]=new ye(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(xi,Si);ue[t]=new ye(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ue[e]=new ye(e,1,!1,e.toLowerCase(),null,!1,!1)});ue.xlinkHref=new ye("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ue[e]=new ye(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ei(e,t,n,r){var o=ue.hasOwnProperty(t)?ue[t]:null;(o!==null?o.type!==0:r||!(2u||o[i]!==l[u]){var s=` +`+o[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{Ko=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?jn(e):""}function Rf(e){switch(e.tag){case 5:return jn(e.type);case 16:return jn("Lazy");case 13:return jn("Suspense");case 19:return jn("SuspenseList");case 0:case 2:case 15:return e=Qo(e.type,!1),e;case 11:return e=Qo(e.type.render,!1),e;case 1:return e=Qo(e.type,!0),e;default:return""}}function Sl(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Yt:return"Fragment";case Gt:return"Portal";case wl:return"Profiler";case ki:return"StrictMode";case Cl:return"Suspense";case xl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case na:return(e.displayName||"Context")+".Consumer";case ta:return(e._context.displayName||"Context")+".Provider";case _i:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Pi:return t=e.displayName||null,t!==null?t:Sl(e.type)||"Memo";case ft:t=e._payload,e=e._init;try{return Sl(e(t))}catch{}}return null}function Tf(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Sl(t);case 8:return t===ki?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Pt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function oa(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Lf(e){var t=oa(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,l.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function gr(e){e._valueTracker||(e._valueTracker=Lf(e))}function la(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=oa(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Qr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function El(e,t){var n=t.checked;return Q({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ju(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Pt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ia(e,t){t=t.checked,t!=null&&Ei(e,"checked",t,!1)}function kl(e,t){ia(e,t);var n=Pt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?_l(e,t.type,n):t.hasOwnProperty("defaultValue")&&_l(e,t.type,Pt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ou(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function _l(e,t,n){(t!=="number"||Qr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var On=Array.isArray;function un(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=yr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Qn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Dn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},If=["Webkit","ms","Moz","O"];Object.keys(Dn).forEach(function(e){If.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Dn[t]=Dn[e]})});function ca(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Dn.hasOwnProperty(e)&&Dn[e]?(""+t).trim():t+"px"}function da(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=ca(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var jf=Q({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Rl(e,t){if(t){if(jf[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(E(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(E(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(E(61))}if(t.style!=null&&typeof t.style!="object")throw Error(E(62))}}function Tl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ll=null;function Ni(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Il=null,sn=null,an=null;function Du(e){if(e=dr(e)){if(typeof Il!="function")throw Error(E(280));var t=e.stateNode;t&&(t=ko(t),Il(e.stateNode,e.type,t))}}function fa(e){sn?an?an.push(e):an=[e]:sn=e}function pa(){if(sn){var e=sn,t=an;if(an=sn=null,Du(e),t)for(e=0;e>>=0,e===0?32:31-(Bf(e)/Wf|0)|0}var wr=64,Cr=4194304;function Mn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Xr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,l=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~o;u!==0?r=Mn(u):(l&=i,l!==0&&(r=Mn(l)))}else i=n&~o,i!==0?r=Mn(i):l!==0&&(r=Mn(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,l=t&-t,o>=l||o===16&&(l&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ar(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-He(t),e[t]=n}function Gf(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Fn),Ku=" ",Qu=!1;function Oa(e,t){switch(e){case"keyup":return Sp.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ma(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xt=!1;function kp(e,t){switch(e){case"compositionend":return Ma(t);case"keypress":return t.which!==32?null:(Qu=!0,Ku);case"textInput":return e=t.data,e===Ku&&Qu?null:e;default:return null}}function _p(e,t){if(Xt)return e==="compositionend"||!Ai&&Oa(e,t)?(e=Ia(),zr=ji=ht=null,Xt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Xu(n)}}function Fa(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Fa(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function $a(){for(var e=window,t=Qr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Qr(e.document)}return t}function Di(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Mp(e){var t=$a(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Fa(n.ownerDocument.documentElement,n)){if(r!==null&&Di(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,l=Math.min(r.start,o);r=r.end===void 0?l:Math.min(r.end,o),!e.extend&&l>r&&(o=r,r=l,l=o),o=Ju(n,l);var i=Ju(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Jt=null,zl=null,Un=null,Fl=!1;function qu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Fl||Jt==null||Jt!==Qr(r)||(r=Jt,"selectionStart"in r&&Di(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Un&&qn(Un,r)||(Un=r,r=br(zl,"onSelect"),0en||(e.current=Wl[en],Wl[en]=null,en--)}function F(e,t){en++,Wl[en]=e.current,e.current=t}var Nt={},fe=Tt(Nt),xe=Tt(!1),$t=Nt;function mn(e,t){var n=e.type.contextTypes;if(!n)return Nt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},l;for(l in n)o[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Se(e){return e=e.childContextTypes,e!=null}function to(){U(xe),U(fe)}function ls(e,t,n){if(fe.current!==Nt)throw Error(E(168));F(fe,t),F(xe,n)}function Ga(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(E(108,Tf(e)||"Unknown",o));return Q({},n,r)}function no(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Nt,$t=fe.current,F(fe,e),F(xe,xe.current),!0}function is(e,t,n){var r=e.stateNode;if(!r)throw Error(E(169));n?(e=Ga(e,t,$t),r.__reactInternalMemoizedMergedChildContext=e,U(xe),U(fe),F(fe,e)):U(xe),F(xe,n)}var tt=null,_o=!1,il=!1;function Ya(e){tt===null?tt=[e]:tt.push(e)}function Qp(e){_o=!0,Ya(e)}function Lt(){if(!il&&tt!==null){il=!0;var e=0,t=z;try{var n=tt;for(z=1;e>=i,o-=i,nt=1<<32-He(t)+o|n<P?(M=_,_=null):M=_.sibling;var L=m(d,_,p[P],x);if(L===null){_===null&&(_=M);break}e&&_&&L.alternate===null&&t(d,_),c=l(L,c,P),N===null?k=L:N.sibling=L,N=L,_=M}if(P===p.length)return n(d,_),V&&jt(d,P),k;if(_===null){for(;PP?(M=_,_=null):M=_.sibling;var Z=m(d,_,L.value,x);if(Z===null){_===null&&(_=M);break}e&&_&&Z.alternate===null&&t(d,_),c=l(Z,c,P),N===null?k=Z:N.sibling=Z,N=Z,_=M}if(L.done)return n(d,_),V&&jt(d,P),k;if(_===null){for(;!L.done;P++,L=p.next())L=v(d,L.value,x),L!==null&&(c=l(L,c,P),N===null?k=L:N.sibling=L,N=L);return V&&jt(d,P),k}for(_=r(d,_);!L.done;P++,L=p.next())L=w(_,d,P,L.value,x),L!==null&&(e&&L.alternate!==null&&_.delete(L.key===null?P:L.key),c=l(L,c,P),N===null?k=L:N.sibling=L,N=L);return e&&_.forEach(function(me){return t(d,me)}),V&&jt(d,P),k}function S(d,c,p,x){if(typeof p=="object"&&p!==null&&p.type===Yt&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case hr:e:{for(var k=p.key,N=c;N!==null;){if(N.key===k){if(k=p.type,k===Yt){if(N.tag===7){n(d,N.sibling),c=o(N,p.props.children),c.return=d,d=c;break e}}else if(N.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===ft&&as(k)===N.type){n(d,N.sibling),c=o(N,p.props),c.ref=Tn(d,N,p),c.return=d,d=c;break e}n(d,N);break}else t(d,N);N=N.sibling}p.type===Yt?(c=Ft(p.props.children,d.mode,x,p.key),c.return=d,d=c):(x=Kr(p.type,p.key,p.props,null,d.mode,x),x.ref=Tn(d,c,p),x.return=d,d=x)}return i(d);case Gt:e:{for(N=p.key;c!==null;){if(c.key===N)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(d,c.sibling),c=o(c,p.children||[]),c.return=d,d=c;break e}else{n(d,c);break}else t(d,c);c=c.sibling}c=ml(p,d.mode,x),c.return=d,d=c}return i(d);case ft:return N=p._init,S(d,c,N(p._payload),x)}if(On(p))return y(d,c,p,x);if(kn(p))return C(d,c,p,x);Nr(d,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(d,c.sibling),c=o(c,p),c.return=d,d=c):(n(d,c),c=pl(p,d.mode,x),c.return=d,d=c),i(d)):n(d,c)}return S}var hn=ba(!0),ec=ba(!1),lo=Tt(null),io=null,rn=null,Ui=null;function Vi(){Ui=rn=io=null}function Hi(e){var t=lo.current;U(lo),e._currentValue=t}function Zl(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function dn(e,t){io=e,Ui=rn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ce=!0),e.firstContext=null)}function Ae(e){var t=e._currentValue;if(Ui!==e)if(e={context:e,memoizedValue:t,next:null},rn===null){if(io===null)throw Error(E(308));rn=e,io.dependencies={lanes:0,firstContext:e}}else rn=rn.next=e;return t}var At=null;function Bi(e){At===null?At=[e]:At.push(e)}function tc(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Bi(t)):(n.next=o.next,o.next=n),t.interleaved=n,ut(e,r)}function ut(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var pt=!1;function Wi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function nc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ot(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function St(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,D&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,ut(e,n)}return o=r.interleaved,o===null?(t.next=t,Bi(r)):(t.next=o.next,o.next=t),r.interleaved=t,ut(e,n)}function $r(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ti(e,n)}}function cs(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,l=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};l===null?o=l=i:l=l.next=i,n=n.next}while(n!==null);l===null?o=l=t:l=l.next=t}else o=l=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:l,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function uo(e,t,n,r){var o=e.updateQueue;pt=!1;var l=o.firstBaseUpdate,i=o.lastBaseUpdate,u=o.shared.pending;if(u!==null){o.shared.pending=null;var s=u,a=s.next;s.next=null,i===null?l=a:i.next=a,i=s;var h=e.alternate;h!==null&&(h=h.updateQueue,u=h.lastBaseUpdate,u!==i&&(u===null?h.firstBaseUpdate=a:u.next=a,h.lastBaseUpdate=s))}if(l!==null){var v=o.baseState;i=0,h=a=s=null,u=l;do{var m=u.lane,w=u.eventTime;if((r&m)===m){h!==null&&(h=h.next={eventTime:w,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var y=e,C=u;switch(m=t,w=n,C.tag){case 1:if(y=C.payload,typeof y=="function"){v=y.call(w,v,m);break e}v=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=C.payload,m=typeof y=="function"?y.call(w,v,m):y,m==null)break e;v=Q({},v,m);break e;case 2:pt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,m=o.effects,m===null?o.effects=[u]:m.push(u))}else w={eventTime:w,lane:m,tag:u.tag,payload:u.payload,callback:u.callback,next:null},h===null?(a=h=w,s=v):h=h.next=w,i|=m;if(u=u.next,u===null){if(u=o.shared.pending,u===null)break;m=u,u=m.next,m.next=null,o.lastBaseUpdate=m,o.shared.pending=null}}while(!0);if(h===null&&(s=v),o.baseState=s,o.firstBaseUpdate=a,o.lastBaseUpdate=h,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else l===null&&(o.shared.lanes=0);Ht|=i,e.lanes=i,e.memoizedState=v}}function ds(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=sl.transition;sl.transition={};try{e(!1),t()}finally{z=n,sl.transition=r}}function wc(){return De().memoizedState}function Xp(e,t,n){var r=kt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Cc(e))xc(t,n);else if(n=tc(e,t,n,r),n!==null){var o=he();Be(n,e,r,o),Sc(n,t,r)}}function Jp(e,t,n){var r=kt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Cc(e))xc(t,o);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var i=t.lastRenderedState,u=l(i,n);if(o.hasEagerState=!0,o.eagerState=u,We(u,i)){var s=t.interleaved;s===null?(o.next=o,Bi(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=tc(e,t,o,r),n!==null&&(o=he(),Be(n,e,r,o),Sc(n,t,r))}}function Cc(e){var t=e.alternate;return e===K||t!==null&&t===K}function xc(e,t){Vn=ao=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Sc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ti(e,n)}}var co={readContext:Ae,useCallback:ae,useContext:ae,useEffect:ae,useImperativeHandle:ae,useInsertionEffect:ae,useLayoutEffect:ae,useMemo:ae,useReducer:ae,useRef:ae,useState:ae,useDebugValue:ae,useDeferredValue:ae,useTransition:ae,useMutableSource:ae,useSyncExternalStore:ae,useId:ae,unstable_isNewReconciler:!1},qp={readContext:Ae,useCallback:function(e,t){return Ze().memoizedState=[e,t===void 0?null:t],e},useContext:Ae,useEffect:ps,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Vr(4194308,4,mc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Vr(4,2,e,t)},useMemo:function(e,t){var n=Ze();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ze();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Xp.bind(null,K,e),[r.memoizedState,e]},useRef:function(e){var t=Ze();return e={current:e},t.memoizedState=e},useState:fs,useDebugValue:qi,useDeferredValue:function(e){return Ze().memoizedState=e},useTransition:function(){var e=fs(!1),t=e[0];return e=Yp.bind(null,e[1]),Ze().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=K,o=Ze();if(V){if(n===void 0)throw Error(E(407));n=n()}else{if(n=t(),oe===null)throw Error(E(349));Vt&30||ic(r,t,n)}o.memoizedState=n;var l={value:n,getSnapshot:t};return o.queue=l,ps(sc.bind(null,r,l,e),[e]),r.flags|=2048,ir(9,uc.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=Ze(),t=oe.identifierPrefix;if(V){var n=rt,r=nt;n=(r&~(1<<32-He(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=or++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Ge]=t,e[tr]=r,jc(e,t,!1,!1),t.stateNode=e;e:{switch(i=Tl(n,r),n){case"dialog":$("cancel",e),$("close",e),o=r;break;case"iframe":case"object":case"embed":$("load",e),o=r;break;case"video":case"audio":for(o=0;own&&(t.flags|=128,r=!0,Ln(l,!1),t.lanes=4194304)}else{if(!r)if(e=so(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ln(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!V)return ce(t),null}else 2*X()-l.renderingStartTime>wn&&n!==1073741824&&(t.flags|=128,r=!0,Ln(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(n=l.last,n!==null?n.sibling=i:t.child=i,l.last=i)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=X(),t.sibling=null,n=W.current,F(W,r?n&1|2:n&1),t):(ce(t),null);case 22:case 23:return ou(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ke&1073741824&&(ce(t),t.subtreeFlags&6&&(t.flags|=8192)):ce(t),null;case 24:return null;case 25:return null}throw Error(E(156,t.tag))}function i1(e,t){switch(Fi(t),t.tag){case 1:return Se(t.type)&&to(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return gn(),U(xe),U(fe),Zi(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Qi(t),null;case 13:if(U(W),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(E(340));vn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(W),null;case 4:return gn(),null;case 10:return Hi(t.type._context),null;case 22:case 23:return ou(),null;case 24:return null;default:return null}}var Tr=!1,de=!1,u1=typeof WeakSet=="function"?WeakSet:Set,T=null;function on(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Y(e,t,r)}else n.current=null}function ni(e,t,n){try{n()}catch(r){Y(e,t,r)}}var ks=!1;function s1(e,t){if($l=Jr,e=$a(),Di(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var i=0,u=-1,s=-1,a=0,h=0,v=e,m=null;t:for(;;){for(var w;v!==n||o!==0&&v.nodeType!==3||(u=i+o),v!==l||r!==0&&v.nodeType!==3||(s=i+r),v.nodeType===3&&(i+=v.nodeValue.length),(w=v.firstChild)!==null;)m=v,v=w;for(;;){if(v===e)break t;if(m===n&&++a===o&&(u=i),m===l&&++h===r&&(s=i),(w=v.nextSibling)!==null)break;v=m,m=v.parentNode}v=w}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ul={focusedElem:e,selectionRange:n},Jr=!1,T=t;T!==null;)if(t=T,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,T=e;else for(;T!==null;){t=T;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var C=y.memoizedProps,S=y.memoizedState,d=t.stateNode,c=d.getSnapshotBeforeUpdate(t.elementType===t.type?C:$e(t.type,C),S);d.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(E(163))}}catch(x){Y(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,T=e;break}T=t.return}return y=ks,ks=!1,y}function Hn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var l=o.destroy;o.destroy=void 0,l!==void 0&&ni(t,n,l)}o=o.next}while(o!==r)}}function Ro(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ri(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Ac(e){var t=e.alternate;t!==null&&(e.alternate=null,Ac(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ge],delete t[tr],delete t[Bl],delete t[Wp],delete t[Kp])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Dc(e){return e.tag===5||e.tag===3||e.tag===4}function _s(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Dc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function oi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=eo));else if(r!==4&&(e=e.child,e!==null))for(oi(e,t,n),e=e.sibling;e!==null;)oi(e,t,n),e=e.sibling}function li(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(li(e,t,n),e=e.sibling;e!==null;)li(e,t,n),e=e.sibling}var le=null,Ue=!1;function dt(e,t,n){for(n=n.child;n!==null;)zc(e,t,n),n=n.sibling}function zc(e,t,n){if(Ye&&typeof Ye.onCommitFiberUnmount=="function")try{Ye.onCommitFiberUnmount(Co,n)}catch{}switch(n.tag){case 5:de||on(n,t);case 6:var r=le,o=Ue;le=null,dt(e,t,n),le=r,Ue=o,le!==null&&(Ue?(e=le,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):le.removeChild(n.stateNode));break;case 18:le!==null&&(Ue?(e=le,n=n.stateNode,e.nodeType===8?ll(e.parentNode,n):e.nodeType===1&&ll(e,n),Xn(e)):ll(le,n.stateNode));break;case 4:r=le,o=Ue,le=n.stateNode.containerInfo,Ue=!0,dt(e,t,n),le=r,Ue=o;break;case 0:case 11:case 14:case 15:if(!de&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var l=o,i=l.destroy;l=l.tag,i!==void 0&&(l&2||l&4)&&ni(n,t,i),o=o.next}while(o!==r)}dt(e,t,n);break;case 1:if(!de&&(on(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){Y(n,t,u)}dt(e,t,n);break;case 21:dt(e,t,n);break;case 22:n.mode&1?(de=(r=de)||n.memoizedState!==null,dt(e,t,n),de=r):dt(e,t,n);break;default:dt(e,t,n)}}function Ps(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new u1),t.forEach(function(r){var o=g1.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Fe(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=i),r&=~l}if(r=o,r=X()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*c1(r/1960))-r,10e?16:e,gt===null)var r=!1;else{if(e=gt,gt=null,mo=0,D&6)throw Error(E(331));var o=D;for(D|=4,T=e.current;T!==null;){var l=T,i=l.child;if(T.flags&16){var u=l.deletions;if(u!==null){for(var s=0;sX()-nu?zt(e,0):tu|=n),Ee(e,t)}function Kc(e,t){t===0&&(e.mode&1?(t=Cr,Cr<<=1,!(Cr&130023424)&&(Cr=4194304)):t=1);var n=he();e=ut(e,t),e!==null&&(ar(e,t,n),Ee(e,n))}function h1(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Kc(e,n)}function g1(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(E(314))}r!==null&&r.delete(t),Kc(e,n)}var Qc;Qc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||xe.current)Ce=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ce=!1,o1(e,t,n);Ce=!!(e.flags&131072)}else Ce=!1,V&&t.flags&1048576&&Xa(t,oo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hr(e,t),e=t.pendingProps;var o=mn(t,fe.current);dn(t,n),o=Yi(null,t,r,e,o,n);var l=Xi();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Se(r)?(l=!0,no(t)):l=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Wi(t),o.updater=No,t.stateNode=o,o._reactInternals=t,Yl(t,r,e,n),t=ql(null,t,r,!0,l,n)):(t.tag=0,V&&l&&zi(t),ve(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hr(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=w1(r),e=$e(r,e),o){case 0:t=Jl(null,t,r,e,n);break e;case 1:t=xs(null,t,r,e,n);break e;case 11:t=ws(null,t,r,e,n);break e;case 14:t=Cs(null,t,r,$e(r.type,e),n);break e}throw Error(E(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:$e(r,o),Jl(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:$e(r,o),xs(e,t,r,o,n);case 3:e:{if(Tc(t),e===null)throw Error(E(387));r=t.pendingProps,l=t.memoizedState,o=l.element,nc(e,t),uo(t,r,null,n);var i=t.memoizedState;if(r=i.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){o=yn(Error(E(423)),t),t=Ss(e,t,r,n,o);break e}else if(r!==o){o=yn(Error(E(424)),t),t=Ss(e,t,r,n,o);break e}else for(_e=xt(t.stateNode.containerInfo.firstChild),Pe=t,V=!0,Ve=null,n=ec(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(vn(),r===o){t=st(e,t,n);break e}ve(e,t,r,n)}t=t.child}return t;case 5:return rc(t),e===null&&Ql(t),r=t.type,o=t.pendingProps,l=e!==null?e.memoizedProps:null,i=o.children,Vl(r,o)?i=null:l!==null&&Vl(r,l)&&(t.flags|=32),Rc(e,t),ve(e,t,i,n),t.child;case 6:return e===null&&Ql(t),null;case 13:return Lc(e,t,n);case 4:return Ki(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=hn(t,null,r,n):ve(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:$e(r,o),ws(e,t,r,o,n);case 7:return ve(e,t,t.pendingProps,n),t.child;case 8:return ve(e,t,t.pendingProps.children,n),t.child;case 12:return ve(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,l=t.memoizedProps,i=o.value,F(lo,r._currentValue),r._currentValue=i,l!==null)if(We(l.value,i)){if(l.children===o.children&&!xe.current){t=st(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var u=l.dependencies;if(u!==null){i=l.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(l.tag===1){s=ot(-1,n&-n),s.tag=2;var a=l.updateQueue;if(a!==null){a=a.shared;var h=a.pending;h===null?s.next=s:(s.next=h.next,h.next=s),a.pending=s}}l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),Zl(l.return,n,t),u.lanes|=n;break}s=s.next}}else if(l.tag===10)i=l.type===t.type?null:l.child;else if(l.tag===18){if(i=l.return,i===null)throw Error(E(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Zl(i,n,t),i=l.sibling}else i=l.child;if(i!==null)i.return=l;else for(i=l;i!==null;){if(i===t){i=null;break}if(l=i.sibling,l!==null){l.return=i.return,i=l;break}i=i.return}l=i}ve(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,dn(t,n),o=Ae(o),r=r(o),t.flags|=1,ve(e,t,r,n),t.child;case 14:return r=t.type,o=$e(r,t.pendingProps),o=$e(r.type,o),Cs(e,t,r,o,n);case 15:return Pc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:$e(r,o),Hr(e,t),t.tag=1,Se(r)?(e=!0,no(t)):e=!1,dn(t,n),Ec(t,r,o),Yl(t,r,o,n),ql(null,t,r,!0,e,n);case 19:return Ic(e,t,n);case 22:return Nc(e,t,n)}throw Error(E(156,t.tag))};function Zc(e,t){return Ca(e,t)}function y1(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Oe(e,t,n,r){return new y1(e,t,n,r)}function iu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function w1(e){if(typeof e=="function")return iu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===_i)return 11;if(e===Pi)return 14}return 2}function _t(e,t){var n=e.alternate;return n===null?(n=Oe(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Kr(e,t,n,r,o,l){var i=2;if(r=e,typeof e=="function")iu(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Yt:return Ft(n.children,o,l,t);case ki:i=8,o|=8;break;case wl:return e=Oe(12,n,t,o|2),e.elementType=wl,e.lanes=l,e;case Cl:return e=Oe(13,n,t,o),e.elementType=Cl,e.lanes=l,e;case xl:return e=Oe(19,n,t,o),e.elementType=xl,e.lanes=l,e;case ra:return Lo(n,o,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ta:i=10;break e;case na:i=9;break e;case _i:i=11;break e;case Pi:i=14;break e;case ft:i=16,r=null;break e}throw Error(E(130,e==null?e:typeof e,""))}return t=Oe(i,n,t,o),t.elementType=e,t.type=r,t.lanes=l,t}function Ft(e,t,n,r){return e=Oe(7,e,r,t),e.lanes=n,e}function Lo(e,t,n,r){return e=Oe(22,e,r,t),e.elementType=ra,e.lanes=n,e.stateNode={isHidden:!1},e}function pl(e,t,n){return e=Oe(6,e,null,t),e.lanes=n,e}function ml(e,t,n){return t=Oe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function C1(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Go(0),this.expirationTimes=Go(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Go(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function uu(e,t,n,r,o,l,i,u,s){return e=new C1(e,t,n,u,s),t===1?(t=1,l===!0&&(t|=8)):t=0,l=Oe(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Wi(l),e}function x1(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Jc)}catch(e){console.error(e)}}Jc(),Js.exports=Re;var Ao=Js.exports;const P1=$s(Ao);var qc,Ms=Ao;qc=Ms.createRoot,Ms.hydrateRoot;const bc=f.forwardRef(({onClick:e,className:t,children:n="Add to basket",...r},o)=>g.jsx("button",{ref:o,onClick:e,className:`w-full bg-black text-white py-4 border-none rounded-full transition-colors duration-300 hover:bg-black/85 ${t}`,...r,children:n}));bc.displayName="AddToBasketButton";function H(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function N1(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function ed(...e){return t=>e.forEach(n=>N1(n,t))}function ze(...e){return f.useCallback(ed(...e),e)}function pr(e,t=[]){let n=[];function r(l,i){const u=f.createContext(i),s=n.length;n=[...n,i];const a=v=>{var d;const{scope:m,children:w,...y}=v,C=((d=m==null?void 0:m[e])==null?void 0:d[s])||u,S=f.useMemo(()=>y,Object.values(y));return g.jsx(C.Provider,{value:S,children:w})};a.displayName=l+"Provider";function h(v,m){var C;const w=((C=m==null?void 0:m[e])==null?void 0:C[s])||u,y=f.useContext(w);if(y)return y;if(i!==void 0)return i;throw new Error(`\`${v}\` must be used within \`${l}\``)}return[a,h]}const o=()=>{const l=n.map(i=>f.createContext(i));return function(u){const s=(u==null?void 0:u[e])||l;return f.useMemo(()=>({[`__scope${e}`]:{...u,[e]:s}}),[u,s])}};return o.scopeName=e,[r,R1(o,...t)]}function R1(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(l){const i=r.reduce((u,{useScope:s,scopeName:a})=>{const v=s(l)[`__scope${a}`];return{...u,...v}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}var go=f.forwardRef((e,t)=>{const{children:n,...r}=e,o=f.Children.toArray(n),l=o.find(L1);if(l){const i=l.props.children,u=o.map(s=>s===l?f.Children.count(i)>1?f.Children.only(null):f.isValidElement(i)?i.props.children:null:s);return g.jsx(ci,{...r,ref:t,children:f.isValidElement(i)?f.cloneElement(i,void 0,u):null})}return g.jsx(ci,{...r,ref:t,children:n})});go.displayName="Slot";var ci=f.forwardRef((e,t)=>{const{children:n,...r}=e;if(f.isValidElement(n)){const o=j1(n);return f.cloneElement(n,{...I1(r,n.props),ref:t?ed(t,o):o})}return f.Children.count(n)>1?f.Children.only(null):null});ci.displayName="SlotClone";var T1=({children:e})=>g.jsx(g.Fragment,{children:e});function L1(e){return f.isValidElement(e)&&e.type===T1}function I1(e,t){const n={...t};for(const r in t){const o=e[r],l=t[r];/^on[A-Z]/.test(r)?o&&l?n[r]=(...u)=>{l(...u),o(...u)}:o&&(n[r]=o):r==="style"?n[r]={...o,...l}:r==="className"&&(n[r]=[o,l].filter(Boolean).join(" "))}return{...e,...n}}function j1(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var O1=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ee=O1.reduce((e,t)=>{const n=f.forwardRef((r,o)=>{const{asChild:l,...i}=r,u=l?go:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),g.jsx(u,{...i,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function td(e,t){e&&Ao.flushSync(()=>e.dispatchEvent(t))}function M1(e,t=[]){let n=[];function r(l,i){const u=f.createContext(i),s=n.length;n=[...n,i];function a(v){const{scope:m,children:w,...y}=v,C=(m==null?void 0:m[e][s])||u,S=f.useMemo(()=>y,Object.values(y));return g.jsx(C.Provider,{value:S,children:w})}function h(v,m){const w=(m==null?void 0:m[e][s])||u,y=f.useContext(w);if(y)return y;if(i!==void 0)return i;throw new Error(`\`${v}\` must be used within \`${l}\``)}return a.displayName=l+"Provider",[a,h]}const o=()=>{const l=n.map(i=>f.createContext(i));return function(u){const s=(u==null?void 0:u[e])||l;return f.useMemo(()=>({[`__scope${e}`]:{...u,[e]:s}}),[u,s])}};return o.scopeName=e,[r,A1(o,...t)]}function A1(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(l){const i=r.reduce((u,{useScope:s,scopeName:a})=>{const v=s(l)[`__scope${a}`];return{...u,...v}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function du(e){const t=e+"CollectionProvider",[n,r]=M1(t),[o,l]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=w=>{const{scope:y,children:C}=w,S=q.useRef(null),d=q.useRef(new Map).current;return g.jsx(o,{scope:y,itemMap:d,collectionRef:S,children:C})};i.displayName=t;const u=e+"CollectionSlot",s=q.forwardRef((w,y)=>{const{scope:C,children:S}=w,d=l(u,C),c=ze(y,d.collectionRef);return g.jsx(go,{ref:c,children:S})});s.displayName=u;const a=e+"CollectionItemSlot",h="data-radix-collection-item",v=q.forwardRef((w,y)=>{const{scope:C,children:S,...d}=w,c=q.useRef(null),p=ze(y,c),x=l(a,C);return q.useEffect(()=>(x.itemMap.set(c,{ref:c,...d}),()=>void x.itemMap.delete(c))),g.jsx(go,{[h]:"",ref:p,children:S})});v.displayName=a;function m(w){const y=l(e+"CollectionConsumer",w);return q.useCallback(()=>{const S=y.collectionRef.current;if(!S)return[];const d=Array.from(S.querySelectorAll(`[${h}]`));return Array.from(y.itemMap.values()).sort((x,k)=>d.indexOf(x.ref.current)-d.indexOf(k.ref.current))},[y.collectionRef,y.itemMap])}return[{Provider:i,Slot:s,ItemSlot:v},m,r]}function D1(e,t=[]){let n=[];function r(l,i){const u=f.createContext(i),s=n.length;n=[...n,i];function a(v){const{scope:m,children:w,...y}=v,C=(m==null?void 0:m[e][s])||u,S=f.useMemo(()=>y,Object.values(y));return g.jsx(C.Provider,{value:S,children:w})}function h(v,m){const w=(m==null?void 0:m[e][s])||u,y=f.useContext(w);if(y)return y;if(i!==void 0)return i;throw new Error(`\`${v}\` must be used within \`${l}\``)}return a.displayName=l+"Provider",[a,h]}const o=()=>{const l=n.map(i=>f.createContext(i));return function(u){const s=(u==null?void 0:u[e])||l;return f.useMemo(()=>({[`__scope${e}`]:{...u,[e]:s}}),[u,s])}};return o.scopeName=e,[r,z1(o,...t)]}function z1(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(l){const i=r.reduce((u,{useScope:s,scopeName:a})=>{const v=s(l)[`__scope${a}`];return{...u,...v}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}var Wt=globalThis!=null&&globalThis.document?f.useLayoutEffect:()=>{},F1=vf.useId||(()=>{}),$1=0;function fu(e){const[t,n]=f.useState(F1());return Wt(()=>{n(r=>r??String($1++))},[e]),t?`radix-${t}`:""}function Je(e){const t=f.useRef(e);return f.useEffect(()=>{t.current=e}),f.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function En({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=U1({defaultProp:t,onChange:n}),l=e!==void 0,i=l?e:r,u=Je(n),s=f.useCallback(a=>{if(l){const v=typeof a=="function"?a(e):a;v!==e&&u(v)}else o(a)},[l,e,o,u]);return[i,s]}function U1({defaultProp:e,onChange:t}){const n=f.useState(e),[r]=n,o=f.useRef(r),l=Je(t);return f.useEffect(()=>{o.current!==r&&(l(r),o.current=r)},[r,o,l]),n}var V1=f.createContext(void 0);function pu(e){const t=f.useContext(V1);return e||t||"ltr"}var vl="rovingFocusGroup.onEntryFocus",H1={bubbles:!1,cancelable:!0},Do="RovingFocusGroup",[di,nd,B1]=du(Do),[W1,rd]=D1(Do,[B1]),[K1,Q1]=W1(Do),od=f.forwardRef((e,t)=>g.jsx(di.Provider,{scope:e.__scopeRovingFocusGroup,children:g.jsx(di.Slot,{scope:e.__scopeRovingFocusGroup,children:g.jsx(Z1,{...e,ref:t})})}));od.displayName=Do;var Z1=f.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:l,currentTabStopId:i,defaultCurrentTabStopId:u,onCurrentTabStopIdChange:s,onEntryFocus:a,preventScrollOnEntryFocus:h=!1,...v}=e,m=f.useRef(null),w=ze(t,m),y=pu(l),[C=null,S]=En({prop:i,defaultProp:u,onChange:s}),[d,c]=f.useState(!1),p=Je(a),x=nd(n),k=f.useRef(!1),[N,_]=f.useState(0);return f.useEffect(()=>{const P=m.current;if(P)return P.addEventListener(vl,p),()=>P.removeEventListener(vl,p)},[p]),g.jsx(K1,{scope:n,orientation:r,dir:y,loop:o,currentTabStopId:C,onItemFocus:f.useCallback(P=>S(P),[S]),onItemShiftTab:f.useCallback(()=>c(!0),[]),onFocusableItemAdd:f.useCallback(()=>_(P=>P+1),[]),onFocusableItemRemove:f.useCallback(()=>_(P=>P-1),[]),children:g.jsx(ee.div,{tabIndex:d||N===0?-1:0,"data-orientation":r,...v,ref:w,style:{outline:"none",...e.style},onMouseDown:H(e.onMouseDown,()=>{k.current=!0}),onFocus:H(e.onFocus,P=>{const M=!k.current;if(P.target===P.currentTarget&&M&&!d){const L=new CustomEvent(vl,H1);if(P.currentTarget.dispatchEvent(L),!L.defaultPrevented){const Z=x().filter(J=>J.focusable),me=Z.find(J=>J.active),Le=Z.find(J=>J.id===C),se=[me,Le,...Z].filter(Boolean).map(J=>J.ref.current);ud(se,h)}}k.current=!1}),onBlur:H(e.onBlur,()=>c(!1))})})}),ld="RovingFocusGroupItem",id=f.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:l,...i}=e,u=fu(),s=l||u,a=Q1(ld,n),h=a.currentTabStopId===s,v=nd(n),{onFocusableItemAdd:m,onFocusableItemRemove:w}=a;return f.useEffect(()=>{if(r)return m(),()=>w()},[r,m,w]),g.jsx(di.ItemSlot,{scope:n,id:s,focusable:r,active:o,children:g.jsx(ee.span,{tabIndex:h?0:-1,"data-orientation":a.orientation,...i,ref:t,onMouseDown:H(e.onMouseDown,y=>{r?a.onItemFocus(s):y.preventDefault()}),onFocus:H(e.onFocus,()=>a.onItemFocus(s)),onKeyDown:H(e.onKeyDown,y=>{if(y.key==="Tab"&&y.shiftKey){a.onItemShiftTab();return}if(y.target!==y.currentTarget)return;const C=X1(y,a.orientation,a.dir);if(C!==void 0){if(y.metaKey||y.ctrlKey||y.altKey||y.shiftKey)return;y.preventDefault();let d=v().filter(c=>c.focusable).map(c=>c.ref.current);if(C==="last")d.reverse();else if(C==="prev"||C==="next"){C==="prev"&&d.reverse();const c=d.indexOf(y.currentTarget);d=a.loop?J1(d,c+1):d.slice(c+1)}setTimeout(()=>ud(d))}})})})});id.displayName=ld;var G1={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Y1(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function X1(e,t,n){const r=Y1(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return G1[r]}function ud(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function J1(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var q1=od,b1=id;function e0(e){const[t,n]=f.useState(void 0);return Wt(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const l=o[0];let i,u;if("borderBoxSize"in l){const s=l.borderBoxSize,a=Array.isArray(s)?s[0]:s;i=a.inlineSize,u=a.blockSize}else i=e.offsetWidth,u=e.offsetHeight;n({width:i,height:u})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}function t0(e){const t=f.useRef({value:e,previous:e});return f.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function n0(e,t){return f.useReducer((n,r)=>t[n][r]??n,e)}var zo=e=>{const{present:t,children:n}=e,r=r0(t),o=typeof n=="function"?n({present:r.isPresent}):f.Children.only(n),l=ze(r.ref,o0(o));return typeof n=="function"||r.isPresent?f.cloneElement(o,{ref:l}):null};zo.displayName="Presence";function r0(e){const[t,n]=f.useState(),r=f.useRef({}),o=f.useRef(e),l=f.useRef("none"),i=e?"mounted":"unmounted",[u,s]=n0(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.useEffect(()=>{const a=jr(r.current);l.current=u==="mounted"?a:"none"},[u]),Wt(()=>{const a=r.current,h=o.current;if(h!==e){const m=l.current,w=jr(a);e?s("MOUNT"):w==="none"||(a==null?void 0:a.display)==="none"?s("UNMOUNT"):s(h&&m!==w?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,s]),Wt(()=>{if(t){let a;const h=t.ownerDocument.defaultView??window,v=w=>{const C=jr(r.current).includes(w.animationName);if(w.target===t&&C&&(s("ANIMATION_END"),!o.current)){const S=t.style.animationFillMode;t.style.animationFillMode="forwards",a=h.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=S)})}},m=w=>{w.target===t&&(l.current=jr(r.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",v),t.addEventListener("animationend",v),()=>{h.clearTimeout(a),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",v),t.removeEventListener("animationend",v)}}else s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:f.useCallback(a=>{a&&(r.current=getComputedStyle(a)),n(a)},[])}}function jr(e){return(e==null?void 0:e.animationName)||"none"}function o0(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var mu="Radio",[l0,sd]=pr(mu),[i0,u0]=l0(mu),ad=f.forwardRef((e,t)=>{const{__scopeRadio:n,name:r,checked:o=!1,required:l,disabled:i,value:u="on",onCheck:s,form:a,...h}=e,[v,m]=f.useState(null),w=ze(t,S=>m(S)),y=f.useRef(!1),C=v?a||!!v.closest("form"):!0;return g.jsxs(i0,{scope:n,checked:o,disabled:i,children:[g.jsx(ee.button,{type:"button",role:"radio","aria-checked":o,"data-state":fd(o),"data-disabled":i?"":void 0,disabled:i,value:u,...h,ref:w,onClick:H(e.onClick,S=>{o||s==null||s(),C&&(y.current=S.isPropagationStopped(),y.current||S.stopPropagation())})}),C&&g.jsx(s0,{control:v,bubbles:!y.current,name:r,value:u,checked:o,required:l,disabled:i,form:a,style:{transform:"translateX(-100%)"}})]})});ad.displayName=mu;var cd="RadioIndicator",dd=f.forwardRef((e,t)=>{const{__scopeRadio:n,forceMount:r,...o}=e,l=u0(cd,n);return g.jsx(zo,{present:r||l.checked,children:g.jsx(ee.span,{"data-state":fd(l.checked),"data-disabled":l.disabled?"":void 0,...o,ref:t})})});dd.displayName=cd;var s0=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,l=f.useRef(null),i=t0(n),u=e0(t);return f.useEffect(()=>{const s=l.current,a=window.HTMLInputElement.prototype,v=Object.getOwnPropertyDescriptor(a,"checked").set;if(i!==n&&v){const m=new Event("click",{bubbles:r});v.call(s,n),s.dispatchEvent(m)}},[i,n,r]),g.jsx("input",{type:"radio","aria-hidden":!0,defaultChecked:n,...o,tabIndex:-1,ref:l,style:{...e.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function fd(e){return e?"checked":"unchecked"}var a0=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],vu="RadioGroup",[c0,mv]=pr(vu,[rd,sd]),pd=rd(),md=sd(),[d0,f0]=c0(vu),vd=f.forwardRef((e,t)=>{const{__scopeRadioGroup:n,name:r,defaultValue:o,value:l,required:i=!1,disabled:u=!1,orientation:s,dir:a,loop:h=!0,onValueChange:v,...m}=e,w=pd(n),y=pu(a),[C,S]=En({prop:l,defaultProp:o,onChange:v});return g.jsx(d0,{scope:n,name:r,required:i,disabled:u,value:C,onValueChange:S,children:g.jsx(q1,{asChild:!0,...w,orientation:s,dir:y,loop:h,children:g.jsx(ee.div,{role:"radiogroup","aria-required":i,"aria-orientation":s,"data-disabled":u?"":void 0,dir:y,...m,ref:t})})})});vd.displayName=vu;var hd="RadioGroupItem",gd=f.forwardRef((e,t)=>{const{__scopeRadioGroup:n,disabled:r,...o}=e,l=f0(hd,n),i=l.disabled||r,u=pd(n),s=md(n),a=f.useRef(null),h=ze(t,a),v=l.value===o.value,m=f.useRef(!1);return f.useEffect(()=>{const w=C=>{a0.includes(C.key)&&(m.current=!0)},y=()=>m.current=!1;return document.addEventListener("keydown",w),document.addEventListener("keyup",y),()=>{document.removeEventListener("keydown",w),document.removeEventListener("keyup",y)}},[]),g.jsx(b1,{asChild:!0,...u,focusable:!i,active:v,children:g.jsx(ad,{disabled:i,required:l.required,checked:v,...s,...o,name:l.name,ref:h,onCheck:()=>l.onValueChange(o.value),onKeyDown:H(w=>{w.key==="Enter"&&w.preventDefault()}),onFocus:H(o.onFocus,()=>{var w;m.current&&((w=a.current)==null||w.click())})})})});gd.displayName=hd;var p0="RadioGroupIndicator",m0=f.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...r}=e,o=md(n);return g.jsx(dd,{...o,...r,ref:t})});m0.displayName=p0;var v0=vd,h0=gd;const g0=({colors:e,selectedColor:t,onChange:n})=>{var o;const r=((o=e.find(l=>l.value===t))==null?void 0:o.name)||"";return g.jsxs("div",{className:"flex p-4 items-center justify-between border-gray-200 border-t border-b",children:[g.jsx("span",{className:"text-lg",children:r}),g.jsx(v0,{className:"flex gap-2","aria-label":"Select color",onValueChange:n,children:e.map(l=>g.jsxs(h0,{value:l.value,className:`relative w-10 h-10 rounded-full border border-transparent transition-all duration-300 ease-in-out + focus:outline-none cursor-pointer + hover:border-black + data-[state=checked]:border-black`,children:[g.jsx("span",{className:`absolute inset-0 rounded-full border transition-all duration-300 ease-in-out + ${l.value===t?"border-black":"border-transparent"}`}),g.jsx("span",{style:{backgroundColor:l.hex,width:"65%",height:"65%"},className:"rounded-full absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2"})]},l.value))})]})};function pe(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,l;for(l=0;l=0)&&(n[o]=e[o]);return n}var y0=["color"],w0=f.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=pe(e,y0);return f.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),f.createElement("path",{d:"M0.877197 7.49984C0.877197 3.84216 3.84234 0.877014 7.50003 0.877014C11.1577 0.877014 14.1229 3.84216 14.1229 7.49984C14.1229 11.1575 11.1577 14.1227 7.50003 14.1227C3.84234 14.1227 0.877197 11.1575 0.877197 7.49984ZM7.50003 1.82701C4.36702 1.82701 1.8272 4.36683 1.8272 7.49984C1.8272 10.6328 4.36702 13.1727 7.50003 13.1727C10.633 13.1727 13.1729 10.6328 13.1729 7.49984C13.1729 4.36683 10.633 1.82701 7.50003 1.82701ZM7.12457 9.00001C7.06994 9.12735 6.33165 11.9592 6.33165 11.9592C6.26018 12.226 5.98601 12.3843 5.71928 12.3128C5.45255 12.2413 5.29425 11.9672 5.36573 11.7004C5.36573 11.7004 6.24661 8.87268 6.24661 8.27007V6.80099L4.28763 6.27608C4.0209 6.20461 3.86261 5.93045 3.93408 5.66371C4.00555 5.39698 4.27972 5.23869 4.54645 5.31016C4.54645 5.31016 6.20042 5.87268 6.84579 5.87268H8.15505C8.80042 5.87268 10.4534 5.31042 10.4534 5.31042C10.7202 5.23895 10.9943 5.39724 11.0658 5.66397C11.1373 5.93071 10.979 6.20487 10.7122 6.27635L8.74661 6.80303V8.27007C8.74661 8.87268 9.62663 11.6971 9.62663 11.6971C9.6981 11.9639 9.5398 12.238 9.27307 12.3095C9.00634 12.381 8.73217 12.2227 8.6607 11.956C8.6607 11.956 7.91994 9.12735 7.86866 9.00001C7.81994 8.87268 7.65006 8.87268 7.65006 8.87268H7.34317C7.34317 8.87268 7.16994 8.87268 7.12457 9.00001ZM7.50043 5.12007C8.12175 5.12007 8.62543 4.61639 8.62543 3.99507C8.62543 3.37375 8.12175 2.87007 7.50043 2.87007C6.87911 2.87007 6.37543 3.37375 6.37543 3.99507C6.37543 4.61639 6.87911 5.12007 7.50043 5.12007Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),C0=["color"],x0=f.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=pe(e,C0);return f.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),f.createElement("path",{d:"M0.877014 7.49988C0.877014 3.84219 3.84216 0.877045 7.49985 0.877045C11.1575 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1575 14.1227 7.49985 14.1227C3.84216 14.1227 0.877014 11.1575 0.877014 7.49988ZM7.49985 1.82704C4.36683 1.82704 1.82701 4.36686 1.82701 7.49988C1.82701 8.97196 2.38774 10.3131 3.30727 11.3213C4.19074 9.94119 5.73818 9.02499 7.50023 9.02499C9.26206 9.02499 10.8093 9.94097 11.6929 11.3208C12.6121 10.3127 13.1727 8.97172 13.1727 7.49988C13.1727 4.36686 10.6328 1.82704 7.49985 1.82704ZM10.9818 11.9787C10.2839 10.7795 8.9857 9.97499 7.50023 9.97499C6.01458 9.97499 4.71624 10.7797 4.01845 11.9791C4.97952 12.7272 6.18765 13.1727 7.49985 13.1727C8.81227 13.1727 10.0206 12.727 10.9818 11.9787ZM5.14999 6.50487C5.14999 5.207 6.20212 4.15487 7.49999 4.15487C8.79786 4.15487 9.84999 5.207 9.84999 6.50487C9.84999 7.80274 8.79786 8.85487 7.49999 8.85487C6.20212 8.85487 5.14999 7.80274 5.14999 6.50487ZM7.49999 5.10487C6.72679 5.10487 6.09999 5.73167 6.09999 6.50487C6.09999 7.27807 6.72679 7.90487 7.49999 7.90487C8.27319 7.90487 8.89999 7.27807 8.89999 6.50487C8.89999 5.73167 8.27319 5.10487 7.49999 5.10487Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),S0=["color"],E0=f.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=pe(e,S0);return f.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),f.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),k0=["color"],_0=f.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=pe(e,k0);return f.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),f.createElement("path",{d:"M8.84182 3.13514C9.04327 3.32401 9.05348 3.64042 8.86462 3.84188L5.43521 7.49991L8.86462 11.1579C9.05348 11.3594 9.04327 11.6758 8.84182 11.8647C8.64036 12.0535 8.32394 12.0433 8.13508 11.8419L4.38508 7.84188C4.20477 7.64955 4.20477 7.35027 4.38508 7.15794L8.13508 3.15794C8.32394 2.95648 8.64036 2.94628 8.84182 3.13514Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),P0=["color"],N0=f.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=pe(e,P0);return f.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),f.createElement("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),R0=["color"],T0=f.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=pe(e,R0);return f.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),f.createElement("path",{d:"M5.10505 12C4.70805 12 4.4236 11.912 4.25171 11.736C4.0839 11.5559 4 11.2715 4 10.8827V4.11733C4 3.72033 4.08595 3.43588 4.25784 3.26398C4.43383 3.08799 4.71623 3 5.10505 3C6.42741 3 8.25591 3 9.02852 3C10.1373 3 11.0539 3.98153 11.0539 5.1846C11.0539 6.08501 10.6037 6.81855 9.70327 7.23602C10.8657 7.44851 11.5176 8.62787 11.5176 9.48128C11.5176 10.5125 10.9902 12 9.27734 12C8.77742 12 6.42626 12 5.10505 12ZM8.37891 8.00341H5.8V10.631H8.37891C8.9 10.631 9.6296 10.1211 9.6296 9.29877C9.6296 8.47643 8.9 8.00341 8.37891 8.00341ZM5.8 4.36903V6.69577H8.17969C8.53906 6.69577 9.27734 6.35939 9.27734 5.50002C9.27734 4.64064 8.48047 4.36903 8.17969 4.36903H5.8Z",fill:r}))}),L0=["color"],I0=f.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=pe(e,L0);return f.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),f.createElement("path",{d:"M5.49998 0.5C5.49998 0.223858 5.72383 0 5.99998 0H7.49998H8.99998C9.27612 0 9.49998 0.223858 9.49998 0.5C9.49998 0.776142 9.27612 1 8.99998 1H7.99998V2.11922C9.09832 2.20409 10.119 2.56622 10.992 3.13572C11.0116 3.10851 11.0336 3.08252 11.058 3.05806L12.058 2.05806C12.3021 1.81398 12.6978 1.81398 12.9419 2.05806C13.186 2.30214 13.186 2.69786 12.9419 2.94194L11.967 3.91682C13.1595 5.07925 13.9 6.70314 13.9 8.49998C13.9 12.0346 11.0346 14.9 7.49998 14.9C3.96535 14.9 1.09998 12.0346 1.09998 8.49998C1.09998 5.13361 3.69904 2.3743 6.99998 2.11922V1H5.99998C5.72383 1 5.49998 0.776142 5.49998 0.5ZM2.09998 8.49998C2.09998 5.51764 4.51764 3.09998 7.49998 3.09998C10.4823 3.09998 12.9 5.51764 12.9 8.49998C12.9 11.4823 10.4823 13.9 7.49998 13.9C4.51764 13.9 2.09998 11.4823 2.09998 8.49998ZM7.49998 8.49998V4.09998C5.06992 4.09998 3.09998 6.06992 3.09998 8.49998C3.09998 10.93 5.06992 12.9 7.49998 12.9C8.715 12.9 9.815 12.4075 10.6112 11.6112L7.49998 8.49998Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),j0=["color"],O0=f.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=pe(e,j0);return f.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),f.createElement("path",{d:"M8.69667 0.0403541C8.90859 0.131038 9.03106 0.354857 8.99316 0.582235L8.0902 6.00001H12.5C12.6893 6.00001 12.8625 6.10701 12.9472 6.27641C13.0319 6.4458 13.0136 6.6485 12.8999 6.80001L6.89997 14.8C6.76167 14.9844 6.51521 15.0503 6.30328 14.9597C6.09135 14.869 5.96888 14.6452 6.00678 14.4178L6.90974 9H2.49999C2.31061 9 2.13748 8.893 2.05278 8.72361C1.96809 8.55422 1.98636 8.35151 2.09999 8.2L8.09997 0.200038C8.23828 0.0156255 8.48474 -0.0503301 8.69667 0.0403541ZM3.49999 8.00001H7.49997C7.64695 8.00001 7.78648 8.06467 7.88148 8.17682C7.97648 8.28896 8.01733 8.43723 7.99317 8.5822L7.33027 12.5596L11.5 7.00001H7.49997C7.353 7.00001 7.21347 6.93534 7.11846 6.8232C7.02346 6.71105 6.98261 6.56279 7.00678 6.41781L7.66968 2.44042L3.49999 8.00001Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),M0=["color"],A0=f.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=pe(e,M0);return f.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),f.createElement("path",{d:"M4 2.5C4 2.22386 4.22386 2 4.5 2H10.5C10.7761 2 11 2.22386 11 2.5V12.5C11 12.7761 10.7761 13 10.5 13H4.5C4.22386 13 4 12.7761 4 12.5V2.5ZM4.5 1C3.67157 1 3 1.67157 3 2.5V12.5C3 13.3284 3.67157 14 4.5 14H10.5C11.3284 14 12 13.3284 12 12.5V2.5C12 1.67157 11.3284 1 10.5 1H4.5ZM6 11.65C5.8067 11.65 5.65 11.8067 5.65 12C5.65 12.1933 5.8067 12.35 6 12.35H9C9.1933 12.35 9.35 12.1933 9.35 12C9.35 11.8067 9.1933 11.65 9 11.65H6Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),D0=["color"],z0=f.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=pe(e,D0);return f.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),f.createElement("path",{d:"M7.5 0.875C5.49797 0.875 3.875 2.49797 3.875 4.5C3.875 6.15288 4.98124 7.54738 6.49373 7.98351C5.2997 8.12901 4.27557 8.55134 3.50407 9.31167C2.52216 10.2794 2.02502 11.72 2.02502 13.5999C2.02502 13.8623 2.23769 14.0749 2.50002 14.0749C2.76236 14.0749 2.97502 13.8623 2.97502 13.5999C2.97502 11.8799 3.42786 10.7206 4.17091 9.9883C4.91536 9.25463 6.02674 8.87499 7.49995 8.87499C8.97317 8.87499 10.0846 9.25463 10.8291 9.98831C11.5721 10.7206 12.025 11.8799 12.025 13.5999C12.025 13.8623 12.2376 14.0749 12.5 14.0749C12.7623 14.075 12.975 13.8623 12.975 13.6C12.975 11.72 12.4778 10.2794 11.4959 9.31166C10.7244 8.55135 9.70025 8.12903 8.50625 7.98352C10.0187 7.5474 11.125 6.15289 11.125 4.5C11.125 2.49797 9.50203 0.875 7.5 0.875ZM4.825 4.5C4.825 3.02264 6.02264 1.825 7.5 1.825C8.97736 1.825 10.175 3.02264 10.175 4.5C10.175 5.97736 8.97736 7.175 7.5 7.175C6.02264 7.175 4.825 5.97736 4.825 4.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),F0=["color"],$0=f.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=pe(e,F0);return f.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),f.createElement("path",{d:"M3.24182 2.32181C3.3919 2.23132 3.5784 2.22601 3.73338 2.30781L12.7334 7.05781C12.8974 7.14436 13 7.31457 13 7.5C13 7.68543 12.8974 7.85564 12.7334 7.94219L3.73338 12.6922C3.5784 12.774 3.3919 12.7687 3.24182 12.6782C3.09175 12.5877 3 12.4252 3 12.25V2.75C3 2.57476 3.09175 2.4123 3.24182 2.32181ZM4 3.57925V11.4207L11.4288 7.5L4 3.57925Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),U0=["color"],V0=f.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=pe(e,U0);return f.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),f.createElement("path",{d:"M10.3004 7.49991C10.3004 8.4943 9.49426 9.30041 8.49988 9.30041C7.50549 9.30041 6.69938 8.4943 6.69938 7.49991C6.69938 6.50553 7.50549 5.69942 8.49988 5.69942C9.49426 5.69942 10.3004 6.50553 10.3004 7.49991ZM11.205 8C10.9699 9.28029 9.84816 10.2504 8.49988 10.2504C7.1516 10.2504 6.0299 9.28029 5.79473 8H0.5C0.223858 8 0 7.77614 0 7.5C0 7.22386 0.223858 7 0.5 7H5.7947C6.0298 5.71962 7.15154 4.74942 8.49988 4.74942C9.84822 4.74942 10.97 5.71962 11.2051 7H14.5C14.7761 7 15 7.22386 15 7.5C15 7.77614 14.7761 8 14.5 8H11.205Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),H0=["color"],B0=f.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=pe(e,H0);return f.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),f.createElement("path",{d:"M7.46968 1.05085C7.64122 1.13475 7.75 1.30904 7.75 1.5V13.5C7.75 13.691 7.64122 13.8653 7.46968 13.9492C7.29813 14.0331 7.09377 14.0119 6.94303 13.8947L3.2213 11H1.5C0.671571 11 0 10.3284 0 9.5V5.5C0 4.67158 0.671573 4 1.5 4H3.2213L6.94303 1.10533C7.09377 0.988085 7.29813 0.966945 7.46968 1.05085ZM6.75 2.52232L3.69983 4.89468C3.61206 4.96294 3.50405 5 3.39286 5H1.5C1.22386 5 1 5.22386 1 5.5V9.5C1 9.77615 1.22386 10 1.5 10H3.39286C3.50405 10 3.61206 10.0371 3.69983 10.1053L6.75 12.4777V2.52232ZM10.2784 3.84804C10.4623 3.72567 10.7106 3.77557 10.833 3.95949C12.2558 6.09798 12.2558 8.90199 10.833 11.0405C10.7106 11.2244 10.4623 11.2743 10.2784 11.1519C10.0944 11.0296 10.0445 10.7813 10.1669 10.5973C11.4111 8.72728 11.4111 6.27269 10.1669 4.40264C10.0445 4.21871 10.0944 3.97041 10.2784 3.84804ZM12.6785 1.43044C12.5356 1.2619 12.2832 1.24104 12.1147 1.38386C11.9462 1.52667 11.9253 1.77908 12.0681 1.94762C14.7773 5.14488 14.7773 9.85513 12.0681 13.0524C11.9253 13.2209 11.9462 13.4733 12.1147 13.6161C12.2832 13.759 12.5356 13.7381 12.6785 13.5696C15.6406 10.0739 15.6406 4.92612 12.6785 1.43044Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),W0=["color"],hl=f.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=pe(e,W0);return f.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),f.createElement("path",{d:"M6.97942 1.25171L6.9585 1.30199L5.58662 4.60039C5.54342 4.70426 5.44573 4.77523 5.3336 4.78422L1.7727 5.0697L1.71841 5.07405L1.38687 5.10063L1.08608 5.12475C0.820085 5.14607 0.712228 5.47802 0.914889 5.65162L1.14406 5.84793L1.39666 6.06431L1.43802 6.09974L4.15105 8.42374C4.23648 8.49692 4.2738 8.61176 4.24769 8.72118L3.41882 12.196L3.40618 12.249L3.32901 12.5725L3.25899 12.866C3.19708 13.1256 3.47945 13.3308 3.70718 13.1917L3.9647 13.0344L4.24854 12.861L4.29502 12.8326L7.34365 10.9705C7.43965 10.9119 7.5604 10.9119 7.6564 10.9705L10.705 12.8326L10.7515 12.861L11.0354 13.0344L11.2929 13.1917C11.5206 13.3308 11.803 13.1256 11.7411 12.866L11.671 12.5725L11.5939 12.249L11.5812 12.196L10.7524 8.72118C10.7263 8.61176 10.7636 8.49692 10.849 8.42374L13.562 6.09974L13.6034 6.06431L13.856 5.84793L14.0852 5.65162C14.2878 5.47802 14.18 5.14607 13.914 5.12475L13.6132 5.10063L13.2816 5.07405L13.2274 5.0697L9.66645 4.78422C9.55432 4.77523 9.45663 4.70426 9.41343 4.60039L8.04155 1.30199L8.02064 1.25171L7.89291 0.944609L7.77702 0.665992C7.67454 0.419604 7.32551 0.419604 7.22303 0.665992L7.10715 0.944609L6.97942 1.25171ZM7.50003 2.60397L6.50994 4.98442C6.32273 5.43453 5.89944 5.74207 5.41351 5.78103L2.84361 5.98705L4.8016 7.66428C5.17183 7.98142 5.33351 8.47903 5.2204 8.95321L4.62221 11.461L6.8224 10.1171C7.23842 9.86302 7.76164 9.86302 8.17766 10.1171L10.3778 11.461L9.77965 8.95321C9.66654 8.47903 9.82822 7.98142 10.1984 7.66428L12.1564 5.98705L9.58654 5.78103C9.10061 5.74207 8.67732 5.43453 8.49011 4.98442L7.50003 2.60397Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),K0=["color"],Q0=f.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=pe(e,K0);return f.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),f.createElement("path",{d:"M7.22303 0.665992C7.32551 0.419604 7.67454 0.419604 7.77702 0.665992L9.41343 4.60039C9.45663 4.70426 9.55432 4.77523 9.66645 4.78422L13.914 5.12475C14.18 5.14607 14.2878 5.47802 14.0852 5.65162L10.849 8.42374C10.7636 8.49692 10.7263 8.61176 10.7524 8.72118L11.7411 12.866C11.803 13.1256 11.5206 13.3308 11.2929 13.1917L7.6564 10.9705C7.5604 10.9119 7.43965 10.9119 7.34365 10.9705L3.70718 13.1917C3.47945 13.3308 3.19708 13.1256 3.25899 12.866L4.24769 8.72118C4.2738 8.61176 4.23648 8.49692 4.15105 8.42374L0.914889 5.65162C0.712228 5.47802 0.820086 5.14607 1.08608 5.12475L5.3336 4.78422C5.44573 4.77523 5.54342 4.70426 5.58662 4.60039L7.22303 0.665992Z",fill:r}))}),Z0=["color"],G0=f.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=pe(e,Z0);return f.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),f.createElement("path",{d:"M0.900024 7.50002C0.900024 3.85495 3.85495 0.900024 7.50002 0.900024C11.1451 0.900024 14.1 3.85495 14.1 7.50002C14.1 11.1451 11.1451 14.1 7.50002 14.1C3.85495 14.1 0.900024 11.1451 0.900024 7.50002ZM7.50002 1.80002C4.35201 1.80002 1.80002 4.35201 1.80002 7.50002C1.80002 10.648 4.35201 13.2 7.50002 13.2C10.648 13.2 13.2 10.648 13.2 7.50002C13.2 4.35201 10.648 1.80002 7.50002 1.80002ZM3.07504 7.50002C3.07504 5.05617 5.05618 3.07502 7.50004 3.07502C9.94388 3.07502 11.925 5.05617 11.925 7.50002C11.925 9.94386 9.94388 11.925 7.50004 11.925C5.05618 11.925 3.07504 9.94386 3.07504 7.50002ZM7.50004 3.92502C5.52562 3.92502 3.92504 5.52561 3.92504 7.50002C3.92504 9.47442 5.52563 11.075 7.50004 11.075C9.47444 11.075 11.075 9.47442 11.075 7.50002C11.075 5.52561 9.47444 3.92502 7.50004 3.92502ZM7.50004 5.25002C6.2574 5.25002 5.25004 6.25739 5.25004 7.50002C5.25004 8.74266 6.2574 9.75002 7.50004 9.75002C8.74267 9.75002 9.75004 8.74266 9.75004 7.50002C9.75004 6.25738 8.74267 5.25002 7.50004 5.25002ZM6.05004 7.50002C6.05004 6.69921 6.69923 6.05002 7.50004 6.05002C8.30084 6.05002 8.95004 6.69921 8.95004 7.50002C8.95004 8.30083 8.30084 8.95002 7.50004 8.95002C6.69923 8.95002 6.05004 8.30083 6.05004 7.50002Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))});const Y0=({images:e})=>{const[t,n]=f.useState(0),r=()=>n(l=>(l+1)%e.length),o=()=>n(l=>(l-1+e.length)%e.length);return g.jsxs("div",{className:"flex flex-col w-full max-w-screen-lg relative",children:[g.jsxs("div",{className:`relative w-full overflow-hidden \r + h-80 sm:h-96 md:h-[500px] lg:h-[600px] xl:h-[750px]`,children:[g.jsx("img",{src:e[t],alt:"Product",className:"w-full h-full object-contain transition-transform duration-300 ease-in-out"}),g.jsx("button",{className:"absolute left-0 top-1/2 -translate-y-1/2 p-2 bg-gray-800 text-white rounded-full hover:bg-gray-700",onClick:o,"aria-label":"Previous Image",children:g.jsx(_0,{})}),g.jsx("button",{className:"absolute right-0 top-1/2 -translate-y-1/2 p-2 bg-gray-800 text-white rounded-full hover:bg-gray-700",onClick:r,"aria-label":"Next Image",children:g.jsx(N0,{})})]}),g.jsx("div",{className:"flex justify-center mt-4 space-x-2",children:e.map((l,i)=>g.jsx("button",{className:`rounded-sm overflow-hidden hover:border-transparent border-2 transition-colors duration-300 ${i===t?"border-black":"border-transparent"}`,onClick:()=>n(i),"aria-label":`Go to image ${i+1}`,children:g.jsx("img",{src:l,alt:`Thumbnail ${i+1}`,className:"object-cover w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 lg:w-14 lg:h-14 xl:h-20 xl:w-20"})},i))})]})};var hu="Collapsible",[X0,yd]=pr(hu),[J0,gu]=X0(hu),wd=f.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:l,onOpenChange:i,...u}=e,[s=!1,a]=En({prop:r,defaultProp:o,onChange:i});return g.jsx(J0,{scope:n,disabled:l,contentId:fu(),open:s,onOpenToggle:f.useCallback(()=>a(h=>!h),[a]),children:g.jsx(ee.div,{"data-state":wu(s),"data-disabled":l?"":void 0,...u,ref:t})})});wd.displayName=hu;var Cd="CollapsibleTrigger",xd=f.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=gu(Cd,n);return g.jsx(ee.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":wu(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:H(e.onClick,o.onOpenToggle)})});xd.displayName=Cd;var yu="CollapsibleContent",Sd=f.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=gu(yu,e.__scopeCollapsible);return g.jsx(zo,{present:n||o.open,children:({present:l})=>g.jsx(q0,{...r,ref:t,present:l})})});Sd.displayName=yu;var q0=f.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...l}=e,i=gu(yu,n),[u,s]=f.useState(r),a=f.useRef(null),h=ze(t,a),v=f.useRef(0),m=v.current,w=f.useRef(0),y=w.current,C=i.open||u,S=f.useRef(C),d=f.useRef();return f.useEffect(()=>{const c=requestAnimationFrame(()=>S.current=!1);return()=>cancelAnimationFrame(c)},[]),Wt(()=>{const c=a.current;if(c){d.current=d.current||{transitionDuration:c.style.transitionDuration,animationName:c.style.animationName},c.style.transitionDuration="0s",c.style.animationName="none";const p=c.getBoundingClientRect();v.current=p.height,w.current=p.width,S.current||(c.style.transitionDuration=d.current.transitionDuration,c.style.animationName=d.current.animationName),s(r)}},[i.open,r]),g.jsx(ee.div,{"data-state":wu(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!C,...l,ref:h,style:{"--radix-collapsible-content-height":m?`${m}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style},children:C&&o})});function wu(e){return e?"open":"closed"}var b0=wd,em=xd,tm=Sd,ct="Accordion",nm=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Cu,rm,om]=du(ct),[Fo,vv]=pr(ct,[om,yd]),xu=yd(),Ed=q.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,l=r;return g.jsx(Cu.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?g.jsx(sm,{...l,ref:t}):g.jsx(um,{...o,ref:t})})});Ed.displayName=ct;var[kd,lm]=Fo(ct),[_d,im]=Fo(ct,{collapsible:!1}),um=q.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:l=!1,...i}=e,[u,s]=En({prop:n,defaultProp:r,onChange:o});return g.jsx(kd,{scope:e.__scopeAccordion,value:u?[u]:[],onItemOpen:s,onItemClose:q.useCallback(()=>l&&s(""),[l,s]),children:g.jsx(_d,{scope:e.__scopeAccordion,collapsible:l,children:g.jsx(Pd,{...i,ref:t})})})}),sm=q.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...l}=e,[i=[],u]=En({prop:n,defaultProp:r,onChange:o}),s=q.useCallback(h=>u((v=[])=>[...v,h]),[u]),a=q.useCallback(h=>u((v=[])=>v.filter(m=>m!==h)),[u]);return g.jsx(kd,{scope:e.__scopeAccordion,value:i,onItemOpen:s,onItemClose:a,children:g.jsx(_d,{scope:e.__scopeAccordion,collapsible:!0,children:g.jsx(Pd,{...l,ref:t})})})}),[am,$o]=Fo(ct),Pd=q.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:l="vertical",...i}=e,u=q.useRef(null),s=ze(u,t),a=rm(n),v=pu(o)==="ltr",m=H(e.onKeyDown,w=>{var P;if(!nm.includes(w.key))return;const y=w.target,C=a().filter(M=>{var L;return!((L=M.ref.current)!=null&&L.disabled)}),S=C.findIndex(M=>M.ref.current===y),d=C.length;if(S===-1)return;w.preventDefault();let c=S;const p=0,x=d-1,k=()=>{c=S+1,c>x&&(c=p)},N=()=>{c=S-1,c{const{__scopeAccordion:n,value:r,...o}=e,l=$o(yo,n),i=lm(yo,n),u=xu(n),s=fu(),a=r&&i.value.includes(r)||!1,h=l.disabled||e.disabled;return g.jsx(cm,{scope:n,open:a,disabled:h,triggerId:s,children:g.jsx(b0,{"data-orientation":l.orientation,"data-state":jd(a),...u,...o,ref:t,disabled:h,open:a,onOpenChange:v=>{v?i.onItemOpen(r):i.onItemClose(r)}})})});Nd.displayName=yo;var Rd="AccordionHeader",dm=q.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=$o(ct,n),l=Su(Rd,n);return g.jsx(ee.h3,{"data-orientation":o.orientation,"data-state":jd(l.open),"data-disabled":l.disabled?"":void 0,...r,ref:t})});dm.displayName=Rd;var fi="AccordionTrigger",Td=q.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=$o(ct,n),l=Su(fi,n),i=im(fi,n),u=xu(n);return g.jsx(Cu.ItemSlot,{scope:n,children:g.jsx(em,{"aria-disabled":l.open&&!i.collapsible||void 0,"data-orientation":o.orientation,id:l.triggerId,...u,...r,ref:t})})});Td.displayName=fi;var Ld="AccordionContent",Id=q.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=$o(ct,n),l=Su(Ld,n),i=xu(n);return g.jsx(tm,{role:"region","aria-labelledby":l.triggerId,"data-orientation":o.orientation,...i,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});Id.displayName=Ld;function jd(e){return e?"open":"closed"}var fm=Ed,pm=Nd,mm=Td,vm=Id;const hm=({content:e})=>{const[t,n]=f.useState(!1);return g.jsx(fm,{type:"single",collapsible:!0,className:"w-full",onValueChange:r=>n(r==="more-info"),children:g.jsxs(pm,{value:"more-info",children:[g.jsxs(mm,{className:"group flex p-0 bg-transparent gap-2 w-full items-center text-left text-gray-500 hover:text-gray-900 transition-colors duration-200 focus:outline-none hover:border-transparent",children:[g.jsx("span",{children:"More Info"}),g.jsx(E0,{className:`transition-transform duration-[600ms] transform ${t?"rotate-180":""}`,"aria-hidden":!0})]}),g.jsx(vm,{className:"text-gray-700 overflow-hidden transition-all duration-[900ms] ease-in-out",style:{maxHeight:t?"500px":"0",opacity:t?1:0,transition:"max-height 900ms ease-in-out, opacity 900ms ease-in-out"},children:g.jsx("div",{className:"mt-2",children:g.jsx("p",{className:"text-sm sm:text-base md:text-lg",children:e})})})]})})},gm=({rating:e})=>{const t=Math.floor(e),n=e%1!==0?1:0;return g.jsxs("div",{className:"flex items-center",children:[[...Array(t)].map((o,l)=>g.jsx("span",{className:"p-0","aria-label":`${l+1} star`,children:g.jsx(hl,{className:"size-4 md:size-5 text-teal-500"})},l)),n>0&&g.jsx("span",{className:"p-0","aria-label":"half star",children:g.jsx(hl,{className:"size-4 md:size-5 text-teal-500 opacity-50"})}),[...Array(5-t-n)].map((o,l)=>g.jsx("span",{className:"p-0","aria-label":`${t+n+l+1} star`,children:g.jsx(hl,{className:"size-4 md:size-5 text-gray-300"})},l)),g.jsxs("span",{className:"ml-2 text-gray-900 border-b border-gray-700",children:[e,"/5"]})]})},ym=()=>g.jsxs("div",{className:"max-w-4xl mx-auto p-4",children:[g.jsx("h1",{className:"text-3xl sm:text-4xl md:text-5xl font-bold",children:"Sonos Ace"}),g.jsx("p",{className:"text-sm sm:text-base md:text-xl sm:mt-1",children:"Headphones"}),g.jsxs("div",{className:"flex items-center justify-between mt-4",children:[g.jsx("p",{className:"text-3xl font-bold",children:"$680"}),g.jsx(gm,{rating:3.5})]}),g.jsx("p",{className:"text-gray-900 font-medium mt-4 text-sm sm:text-base md:text-lg",children:"Obsessively crafted and masterfully tuned, these headphones make you feel at one with the sounds that matter most to you."}),g.jsx(hm,{content:` + Feel every frequency with superior precision and clarity. Maximise your immersion with lossless streaming, + spatial audio with dynamic head tracking and world-class Active Noise Cancellation. Hear what’s going around + you with Aware mode. Enjoy up to 30 hours of battery life, exceptional comfort and flawlessly clear calls. + Connect to your devices wirelessly via Bluetooth, or use the included USB-C and 3.5 mm cables. Plus, bring + home theatre content to life like never before. + `})]}),wm="/Product-card/assets/Headphones1-BkMZAoV5.webp",Cm="/Product-card/assets/Headphones2-BBvW9jYn.webp",xm="/Product-card/assets/Headphones3-BnHxu76P.webp",Sm="/Product-card/assets/Headphones4-t7mSkMqE.webp",Em="/Product-card/assets/Headphones1-C6chIZWG.webp",km="/Product-card/assets/Headphones2-DqRwBcJB.webp",_m="/Product-card/assets/Headphones3-DnqnrL1s.webp",Pm="/Product-card/assets/Headphones4-ByjhWkOD.webp",Nm={black:[wm,Cm,xm,Sm],white:[Em,km,_m,Pm]},As=[{name:"Black",value:"black",hex:"#000000"},{name:"White",value:"white",hex:"#eeeeee"}],Rm=[{name:"Spatial audio",icon:g.jsx(w0,{className:"text-black size-6"})},{name:"Active Noise Cancellation",icon:g.jsx(x0,{className:"text-black size-6"})},{name:"Lossless audio",icon:g.jsx(Q0,{className:"text-black size-6"})},{name:"Aware mode",icon:g.jsx(z0,{className:"text-black size-6"})},{name:"Dolby Atmos",icon:g.jsx(B0,{className:"text-black size-6"})},{name:"30-hour battery life",icon:g.jsx(I0,{className:"text-black size-6"})},{name:"Dynamic head tracking",icon:g.jsx(G0,{className:"text-black size-6"})},{name:"Rapid charging",icon:g.jsx(O0,{className:"text-black size-6"})},{name:"USB-C and 3.5 mm",icon:g.jsx(V0,{className:"text-black size-6"})},{name:"Bluetooth®",icon:g.jsx(T0,{className:"text-black size-6"})},{name:"Wear detection",icon:g.jsx($0,{className:"text-black size-6"})},{name:"Works with Apple and Android",icon:g.jsx(A0,{className:"text-black size-6"})}].map(e=>({...e,name:g.jsx("span",{className:"text-sm sm:text-base break-words",children:e.name})})),Tm=({features:e})=>g.jsx("div",{className:"grid grid-cols-2 gap-0 sm:gap-2 p-4",children:e.map(({name:t,icon:n},r)=>g.jsxs("li",{className:"flex items-center py-4 gap-4",children:[n,t]},r))}),Lm=()=>g.jsx(Tm,{features:Rm});function Im(e,t=globalThis==null?void 0:globalThis.document){const n=Je(e);f.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var jm="DismissableLayer",pi="dismissableLayer.update",Om="dismissableLayer.pointerDownOutside",Mm="dismissableLayer.focusOutside",Ds,Od=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Md=f.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:l,onInteractOutside:i,onDismiss:u,...s}=e,a=f.useContext(Od),[h,v]=f.useState(null),m=(h==null?void 0:h.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,w]=f.useState({}),y=ze(t,_=>v(_)),C=Array.from(a.layers),[S]=[...a.layersWithOutsidePointerEventsDisabled].slice(-1),d=C.indexOf(S),c=h?C.indexOf(h):-1,p=a.layersWithOutsidePointerEventsDisabled.size>0,x=c>=d,k=Dm(_=>{const P=_.target,M=[...a.branches].some(L=>L.contains(P));!x||M||(o==null||o(_),i==null||i(_),_.defaultPrevented||u==null||u())},m),N=zm(_=>{const P=_.target;[...a.branches].some(L=>L.contains(P))||(l==null||l(_),i==null||i(_),_.defaultPrevented||u==null||u())},m);return Im(_=>{c===a.layers.size-1&&(r==null||r(_),!_.defaultPrevented&&u&&(_.preventDefault(),u()))},m),f.useEffect(()=>{if(h)return n&&(a.layersWithOutsidePointerEventsDisabled.size===0&&(Ds=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),a.layersWithOutsidePointerEventsDisabled.add(h)),a.layers.add(h),zs(),()=>{n&&a.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Ds)}},[h,m,n,a]),f.useEffect(()=>()=>{h&&(a.layers.delete(h),a.layersWithOutsidePointerEventsDisabled.delete(h),zs())},[h,a]),f.useEffect(()=>{const _=()=>w({});return document.addEventListener(pi,_),()=>document.removeEventListener(pi,_)},[]),g.jsx(ee.div,{...s,ref:y,style:{pointerEvents:p?x?"auto":"none":void 0,...e.style},onFocusCapture:H(e.onFocusCapture,N.onFocusCapture),onBlurCapture:H(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:H(e.onPointerDownCapture,k.onPointerDownCapture)})});Md.displayName=jm;var Am="DismissableLayerBranch",Ad=f.forwardRef((e,t)=>{const n=f.useContext(Od),r=f.useRef(null),o=ze(t,r);return f.useEffect(()=>{const l=r.current;if(l)return n.branches.add(l),()=>{n.branches.delete(l)}},[n.branches]),g.jsx(ee.div,{...e,ref:o})});Ad.displayName=Am;function Dm(e,t=globalThis==null?void 0:globalThis.document){const n=Je(e),r=f.useRef(!1),o=f.useRef(()=>{});return f.useEffect(()=>{const l=u=>{if(u.target&&!r.current){let s=function(){Dd(Om,n,a,{discrete:!0})};const a={originalEvent:u};u.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=s,t.addEventListener("click",o.current,{once:!0})):s()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",l)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",l),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function zm(e,t=globalThis==null?void 0:globalThis.document){const n=Je(e),r=f.useRef(!1);return f.useEffect(()=>{const o=l=>{l.target&&!r.current&&Dd(Mm,n,{originalEvent:l},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function zs(){const e=new CustomEvent(pi);document.dispatchEvent(e)}function Dd(e,t,n,{discrete:r}){const o=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?td(o,l):o.dispatchEvent(l)}var Fm=Md,$m=Ad,Um="Portal",zd=f.forwardRef((e,t)=>{var u;const{container:n,...r}=e,[o,l]=f.useState(!1);Wt(()=>l(!0),[]);const i=n||o&&((u=globalThis==null?void 0:globalThis.document)==null?void 0:u.body);return i?P1.createPortal(g.jsx(ee.div,{...r,ref:t}),i):null});zd.displayName=Um;var Vm="VisuallyHidden",Eu=f.forwardRef((e,t)=>g.jsx(ee.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));Eu.displayName=Vm;var ku="ToastProvider",[_u,Hm,Bm]=du("Toast"),[Fd,hv]=pr("Toast",[Bm]),[Wm,Uo]=Fd(ku),$d=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:l=50,children:i}=e,[u,s]=f.useState(null),[a,h]=f.useState(0),v=f.useRef(!1),m=f.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${ku}\`. Expected non-empty \`string\`.`),g.jsx(_u.Provider,{scope:t,children:g.jsx(Wm,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:l,toastCount:a,viewport:u,onViewportChange:s,onToastAdd:f.useCallback(()=>h(w=>w+1),[]),onToastRemove:f.useCallback(()=>h(w=>w-1),[]),isFocusedToastEscapeKeyDownRef:v,isClosePausedRef:m,children:i})})};$d.displayName=ku;var Ud="ToastViewport",Km=["F8"],mi="toast.viewportPause",vi="toast.viewportResume",Vd=f.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=Km,label:o="Notifications ({hotkey})",...l}=e,i=Uo(Ud,n),u=Hm(n),s=f.useRef(null),a=f.useRef(null),h=f.useRef(null),v=f.useRef(null),m=ze(t,v,i.onViewportChange),w=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),y=i.toastCount>0;f.useEffect(()=>{const S=d=>{var p;r.length!==0&&r.every(x=>d[x]||d.code===x)&&((p=v.current)==null||p.focus())};return document.addEventListener("keydown",S),()=>document.removeEventListener("keydown",S)},[r]),f.useEffect(()=>{const S=s.current,d=v.current;if(y&&S&&d){const c=()=>{if(!i.isClosePausedRef.current){const N=new CustomEvent(mi);d.dispatchEvent(N),i.isClosePausedRef.current=!0}},p=()=>{if(i.isClosePausedRef.current){const N=new CustomEvent(vi);d.dispatchEvent(N),i.isClosePausedRef.current=!1}},x=N=>{!S.contains(N.relatedTarget)&&p()},k=()=>{S.contains(document.activeElement)||p()};return S.addEventListener("focusin",c),S.addEventListener("focusout",x),S.addEventListener("pointermove",c),S.addEventListener("pointerleave",k),window.addEventListener("blur",c),window.addEventListener("focus",p),()=>{S.removeEventListener("focusin",c),S.removeEventListener("focusout",x),S.removeEventListener("pointermove",c),S.removeEventListener("pointerleave",k),window.removeEventListener("blur",c),window.removeEventListener("focus",p)}}},[y,i.isClosePausedRef]);const C=f.useCallback(({tabbingDirection:S})=>{const c=u().map(p=>{const x=p.ref.current,k=[x,...ov(x)];return S==="forwards"?k:k.reverse()});return(S==="forwards"?c.reverse():c).flat()},[u]);return f.useEffect(()=>{const S=v.current;if(S){const d=c=>{var k,N,_;const p=c.altKey||c.ctrlKey||c.metaKey;if(c.key==="Tab"&&!p){const P=document.activeElement,M=c.shiftKey;if(c.target===S&&M){(k=a.current)==null||k.focus();return}const me=C({tabbingDirection:M?"backwards":"forwards"}),Le=me.findIndex(O=>O===P);gl(me.slice(Le+1))?c.preventDefault():M?(N=a.current)==null||N.focus():(_=h.current)==null||_.focus()}};return S.addEventListener("keydown",d),()=>S.removeEventListener("keydown",d)}},[u,C]),g.jsxs($m,{ref:s,role:"region","aria-label":o.replace("{hotkey}",w),tabIndex:-1,style:{pointerEvents:y?void 0:"none"},children:[y&&g.jsx(hi,{ref:a,onFocusFromOutsideViewport:()=>{const S=C({tabbingDirection:"forwards"});gl(S)}}),g.jsx(_u.Slot,{scope:n,children:g.jsx(ee.ol,{tabIndex:-1,...l,ref:m})}),y&&g.jsx(hi,{ref:h,onFocusFromOutsideViewport:()=>{const S=C({tabbingDirection:"backwards"});gl(S)}})]})});Vd.displayName=Ud;var Hd="ToastFocusProxy",hi=f.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,l=Uo(Hd,n);return g.jsx(Eu,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:i=>{var a;const u=i.relatedTarget;!((a=l.viewport)!=null&&a.contains(u))&&r()}})});hi.displayName=Hd;var Vo="Toast",Qm="toast.swipeStart",Zm="toast.swipeMove",Gm="toast.swipeCancel",Ym="toast.swipeEnd",Bd=f.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:l,...i}=e,[u=!0,s]=En({prop:r,defaultProp:o,onChange:l});return g.jsx(zo,{present:n||u,children:g.jsx(qm,{open:u,...i,ref:t,onClose:()=>s(!1),onPause:Je(e.onPause),onResume:Je(e.onResume),onSwipeStart:H(e.onSwipeStart,a=>{a.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:H(e.onSwipeMove,a=>{const{x:h,y:v}=a.detail.delta;a.currentTarget.setAttribute("data-swipe","move"),a.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${h}px`),a.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${v}px`)}),onSwipeCancel:H(e.onSwipeCancel,a=>{a.currentTarget.setAttribute("data-swipe","cancel"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),a.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:H(e.onSwipeEnd,a=>{const{x:h,y:v}=a.detail.delta;a.currentTarget.setAttribute("data-swipe","end"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),a.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${h}px`),a.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${v}px`),s(!1)})})})});Bd.displayName=Vo;var[Xm,Jm]=Fd(Vo,{onClose(){}}),qm=f.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:l,onClose:i,onEscapeKeyDown:u,onPause:s,onResume:a,onSwipeStart:h,onSwipeMove:v,onSwipeCancel:m,onSwipeEnd:w,...y}=e,C=Uo(Vo,n),[S,d]=f.useState(null),c=ze(t,O=>d(O)),p=f.useRef(null),x=f.useRef(null),k=o||C.duration,N=f.useRef(0),_=f.useRef(k),P=f.useRef(0),{onToastAdd:M,onToastRemove:L}=C,Z=Je(()=>{var se;(S==null?void 0:S.contains(document.activeElement))&&((se=C.viewport)==null||se.focus()),i()}),me=f.useCallback(O=>{!O||O===1/0||(window.clearTimeout(P.current),N.current=new Date().getTime(),P.current=window.setTimeout(Z,O))},[Z]);f.useEffect(()=>{const O=C.viewport;if(O){const se=()=>{me(_.current),a==null||a()},J=()=>{const qe=new Date().getTime()-N.current;_.current=_.current-qe,window.clearTimeout(P.current),s==null||s()};return O.addEventListener(mi,J),O.addEventListener(vi,se),()=>{O.removeEventListener(mi,J),O.removeEventListener(vi,se)}}},[C.viewport,k,s,a,me]),f.useEffect(()=>{l&&!C.isClosePausedRef.current&&me(k)},[l,k,C.isClosePausedRef,me]),f.useEffect(()=>(M(),()=>L()),[M,L]);const Le=f.useMemo(()=>S?Jd(S):null,[S]);return C.viewport?g.jsxs(g.Fragment,{children:[Le&&g.jsx(bm,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:Le}),g.jsx(Xm,{scope:n,onClose:Z,children:Ao.createPortal(g.jsx(_u.ItemSlot,{scope:n,children:g.jsx(Fm,{asChild:!0,onEscapeKeyDown:H(u,()=>{C.isFocusedToastEscapeKeyDownRef.current||Z(),C.isFocusedToastEscapeKeyDownRef.current=!1}),children:g.jsx(ee.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":l?"open":"closed","data-swipe-direction":C.swipeDirection,...y,ref:c,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:H(e.onKeyDown,O=>{O.key==="Escape"&&(u==null||u(O.nativeEvent),O.nativeEvent.defaultPrevented||(C.isFocusedToastEscapeKeyDownRef.current=!0,Z()))}),onPointerDown:H(e.onPointerDown,O=>{O.button===0&&(p.current={x:O.clientX,y:O.clientY})}),onPointerMove:H(e.onPointerMove,O=>{if(!p.current)return;const se=O.clientX-p.current.x,J=O.clientY-p.current.y,qe=!!x.current,R=["left","right"].includes(C.swipeDirection),I=["left","up"].includes(C.swipeDirection)?Math.min:Math.max,j=R?I(0,se):0,B=R?0:I(0,J),G=O.pointerType==="touch"?10:2,be={x:j,y:B},Ke={originalEvent:O,delta:be};qe?(x.current=be,Or(Zm,v,Ke,{discrete:!1})):Fs(be,C.swipeDirection,G)?(x.current=be,Or(Qm,h,Ke,{discrete:!1}),O.target.setPointerCapture(O.pointerId)):(Math.abs(se)>G||Math.abs(J)>G)&&(p.current=null)}),onPointerUp:H(e.onPointerUp,O=>{const se=x.current,J=O.target;if(J.hasPointerCapture(O.pointerId)&&J.releasePointerCapture(O.pointerId),x.current=null,p.current=null,se){const qe=O.currentTarget,R={originalEvent:O,delta:se};Fs(se,C.swipeDirection,C.swipeThreshold)?Or(Ym,w,R,{discrete:!0}):Or(Gm,m,R,{discrete:!0}),qe.addEventListener("click",I=>I.preventDefault(),{once:!0})}})})})}),C.viewport)})]}):null}),bm=e=>{const{__scopeToast:t,children:n,...r}=e,o=Uo(Vo,t),[l,i]=f.useState(!1),[u,s]=f.useState(!1);return nv(()=>i(!0)),f.useEffect(()=>{const a=window.setTimeout(()=>s(!0),1e3);return()=>window.clearTimeout(a)},[]),u?null:g.jsx(zd,{asChild:!0,children:g.jsx(Eu,{...r,children:l&&g.jsxs(g.Fragment,{children:[o.label," ",n]})})})},ev="ToastTitle",Wd=f.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return g.jsx(ee.div,{...r,ref:t})});Wd.displayName=ev;var tv="ToastDescription",Kd=f.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return g.jsx(ee.div,{...r,ref:t})});Kd.displayName=tv;var Qd="ToastAction",Zd=f.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?g.jsx(Xd,{altText:n,asChild:!0,children:g.jsx(Yd,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Qd}\`. Expected non-empty \`string\`.`),null)});Zd.displayName=Qd;var Gd="ToastClose",Yd=f.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=Jm(Gd,n);return g.jsx(Xd,{asChild:!0,children:g.jsx(ee.button,{type:"button",...r,ref:t,onClick:H(e.onClick,o.onClose)})})});Yd.displayName=Gd;var Xd=f.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return g.jsx(ee.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function Jd(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),rv(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",l=r.dataset.radixToastAnnounceExclude==="";if(!o)if(l){const i=r.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...Jd(r))}}),t}function Or(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,l=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?td(o,l):o.dispatchEvent(l)}var Fs=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),l=r>o;return t==="left"||t==="right"?l&&r>n:!l&&o>n};function nv(e=()=>{}){const t=Je(e);Wt(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function rv(e){return e.nodeType===e.ELEMENT_NODE}function ov(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function gl(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var lv=$d,iv=Vd,uv=Bd,sv=Wd,av=Kd,cv=Zd;const dv=({title:e,description:t,open:n,onOpenChange:r})=>g.jsxs(lv,{swipeDirection:"right",children:[g.jsxs(uv,{open:n,onOpenChange:r,className:"bg-white border rounded-md p-4 shadow-md flex items-center gap-2",children:[g.jsx(sv,{className:"font-bold text-lg",children:e}),g.jsx(av,{children:t}),g.jsx(cv,{asChild:!0,altText:"Close notifications"})]}),g.jsx(iv,{className:"fixed top-0 right-0 m-4 flex flex-col gap-2"})]}),fv=()=>{const[e,t]=f.useState(As[0].value),[n,r]=f.useState(!1),o=()=>{r(!0),console.log("Product added to cart!")};return g.jsxs("div",{className:"max-w-screen-xl mx-auto p-4 flex",children:[g.jsxs("div",{className:"flex flex-col lg:flex-row gap-10",children:[g.jsx("div",{className:"",children:g.jsx(Y0,{images:Nm[e]})}),g.jsxs("div",{className:"w-full lg:w-1/2 flex flex-col max-w-[500px]",children:[g.jsx(ym,{}),g.jsx("div",{className:"mt-4",children:g.jsx(g0,{colors:As,selectedColor:e,onChange:t})}),g.jsx("div",{className:"border-b border-gray-200 p-4",children:g.jsx(bc,{onClick:o})}),g.jsx(Lm,{})]})]}),g.jsx(dv,{title:"Product added to cart!",open:n,onOpenChange:r})]})};function pv(){return g.jsx("div",{children:g.jsx(fv,{})})}qc(document.getElementById("root")).render(g.jsx(f.StrictMode,{children:g.jsx(pv,{})})); diff --git a/assets/index-BrUIhgmR.js b/assets/index-BrUIhgmR.js deleted file mode 100644 index 3ee14ff..0000000 --- a/assets/index-BrUIhgmR.js +++ /dev/null @@ -1,51 +0,0 @@ -function yf(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const i of l.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(o){if(o.ep)return;o.ep=!0;const l=n(o);fetch(o.href,l)}})();function gf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Cs={exports:{}},fo={},Es={exports:{}},z={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var tr=Symbol.for("react.element"),wf=Symbol.for("react.portal"),Sf=Symbol.for("react.fragment"),xf=Symbol.for("react.strict_mode"),kf=Symbol.for("react.profiler"),Cf=Symbol.for("react.provider"),Ef=Symbol.for("react.context"),_f=Symbol.for("react.forward_ref"),Nf=Symbol.for("react.suspense"),Pf=Symbol.for("react.memo"),Rf=Symbol.for("react.lazy"),pu=Symbol.iterator;function Lf(e){return e===null||typeof e!="object"?null:(e=pu&&e[pu]||e["@@iterator"],typeof e=="function"?e:null)}var _s={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ns=Object.assign,Ps={};function pn(e,t,n){this.props=e,this.context=t,this.refs=Ps,this.updater=n||_s}pn.prototype.isReactComponent={};pn.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")};pn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Rs(){}Rs.prototype=pn.prototype;function ii(e,t,n){this.props=e,this.context=t,this.refs=Ps,this.updater=n||_s}var ui=ii.prototype=new Rs;ui.constructor=ii;Ns(ui,pn.prototype);ui.isPureReactComponent=!0;var mu=Array.isArray,Ls=Object.prototype.hasOwnProperty,si={current:null},Is={key:!0,ref:!0,__self:!0,__source:!0};function Ts(e,t,n){var r,o={},l=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(l=""+t.key),t)Ls.call(t,r)&&!Is.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1>>1,J=N[Q];if(0>>1;Qo(Ao,j))_to(sr,Ao)?(N[Q]=sr,N[_t]=j,Q=_t):(N[Q]=Ao,N[Et]=j,Q=Et);else if(_to(sr,j))N[Q]=sr,N[_t]=j,Q=_t;else break e}}return T}function o(N,T){var j=N.sortIndex-T.sortIndex;return j!==0?j:N.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var s=[],a=[],v=1,m=null,d=3,y=!1,h=!1,w=!1,L=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(N){for(var T=n(a);T!==null;){if(T.callback===null)r(a);else if(T.startTime<=N)r(a),T.sortIndex=T.expirationTime,t(s,T);else break;T=n(a)}}function x(N){if(w=!1,p(N),!h)if(n(s)!==null)h=!0,Le(C);else{var T=n(a);T!==null&&Mo(x,T.startTime-N)}}function C(N,T){h=!1,w&&(w=!1,f(E),E=-1),y=!0;var j=d;try{for(p(T),m=n(s);m!==null&&(!(m.expirationTime>T)||N&&!ue());){var Q=m.callback;if(typeof Q=="function"){m.callback=null,d=m.priorityLevel;var J=Q(m.expirationTime<=T);T=e.unstable_now(),typeof J=="function"?m.callback=J:m===n(s)&&r(s),p(T)}else r(s);m=n(s)}if(m!==null)var ur=!0;else{var Et=n(a);Et!==null&&Mo(x,Et.startTime-T),ur=!1}return ur}finally{m=null,d=j,y=!1}}var P=!1,R=null,E=-1,A=5,I=-1;function ue(){return!(e.unstable_now()-IN||125Q?(N.sortIndex=j,t(a,N),n(s)===null&&N===n(a)&&(w?(f(E),E=-1):w=!0,Mo(x,j-Q))):(N.sortIndex=J,t(s,N),h||y||(h=!0,Le(C))),N},e.unstable_shouldYield=ue,e.unstable_wrapCallback=function(N){var T=d;return function(){var j=d;d=T;try{return N.apply(this,arguments)}finally{d=j}}}})(As);Ms.exports=As;var Bf=Ms.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Vf=g,Se=Bf;function k(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),fl=Object.prototype.hasOwnProperty,Hf=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,hu={},yu={};function Wf(e){return fl.call(yu,e)?!0:fl.call(hu,e)?!1:Hf.test(e)?yu[e]=!0:(hu[e]=!0,!1)}function Qf(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Kf(e,t,n,r){if(t===null||typeof t>"u"||Qf(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function fe(e,t,n,r,o,l,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=i}var ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ne[e]=new fe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ne[t]=new fe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ne[e]=new fe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ne[e]=new fe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ne[e]=new fe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ne[e]=new fe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ne[e]=new fe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ne[e]=new fe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ne[e]=new fe(e,5,!1,e.toLowerCase(),null,!1,!1)});var ci=/[\-:]([a-z])/g;function fi(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ci,fi);ne[t]=new fe(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ci,fi);ne[t]=new fe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ci,fi);ne[t]=new fe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ne[e]=new fe(e,1,!1,e.toLowerCase(),null,!1,!1)});ne.xlinkHref=new fe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ne[e]=new fe(e,1,!1,e.toLowerCase(),null,!0,!0)});function di(e,t,n,r){var o=ne.hasOwnProperty(t)?ne[t]:null;(o!==null?o.type!==0:r||!(2u||o[i]!==l[u]){var s=` -`+o[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{$o=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?En(e):""}function Gf(e){switch(e.tag){case 5:return En(e.type);case 16:return En("Lazy");case 13:return En("Suspense");case 19:return En("SuspenseList");case 0:case 2:case 15:return e=Uo(e.type,!1),e;case 11:return e=Uo(e.type.render,!1),e;case 1:return e=Uo(e.type,!0),e;default:return""}}function vl(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Vt:return"Fragment";case Bt:return"Portal";case dl:return"Profiler";case pi:return"StrictMode";case pl:return"Suspense";case ml:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case $s:return(e.displayName||"Context")+".Consumer";case Fs:return(e._context.displayName||"Context")+".Provider";case mi:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case vi:return t=e.displayName||null,t!==null?t:vl(e.type)||"Memo";case nt:t=e._payload,e=e._init;try{return vl(e(t))}catch{}}return null}function Yf(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return vl(t);case 8:return t===pi?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ht(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Bs(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Xf(e){var t=Bs(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,l.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function fr(e){e._valueTracker||(e._valueTracker=Xf(e))}function Vs(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Bs(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function $r(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function hl(e,t){var n=t.checked;return H({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function wu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ht(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Hs(e,t){t=t.checked,t!=null&&di(e,"checked",t,!1)}function yl(e,t){Hs(e,t);var n=ht(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?gl(e,t.type,n):t.hasOwnProperty("defaultValue")&&gl(e,t.type,ht(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Su(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function gl(e,t,n){(t!=="number"||$r(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var _n=Array.isArray;function bt(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=dr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Rn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Zf=["Webkit","ms","Moz","O"];Object.keys(Rn).forEach(function(e){Zf.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Rn[t]=Rn[e]})});function Gs(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Rn.hasOwnProperty(e)&&Rn[e]?(""+t).trim():t+"px"}function Ys(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Gs(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Jf=H({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function xl(e,t){if(t){if(Jf[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(k(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(k(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(k(61))}if(t.style!=null&&typeof t.style!="object")throw Error(k(62))}}function kl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Cl=null;function hi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var El=null,en=null,tn=null;function Cu(e){if(e=or(e)){if(typeof El!="function")throw Error(k(280));var t=e.stateNode;t&&(t=yo(t),El(e.stateNode,e.type,t))}}function Xs(e){en?tn?tn.push(e):tn=[e]:en=e}function Zs(){if(en){var e=en,t=tn;if(tn=en=null,Cu(e),t)for(e=0;e>>=0,e===0?32:31-(sd(e)/ad|0)|0}var pr=64,mr=4194304;function Nn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Hr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,l=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~o;u!==0?r=Nn(u):(l&=i,l!==0&&(r=Nn(l)))}else i=n&~o,i!==0?r=Nn(i):l!==0&&(r=Nn(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,l=t&-t,o>=l||o===16&&(l&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function nr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Oe(t),e[t]=n}function pd(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=In),ju=" ",zu=!1;function ha(e,t){switch(e){case"keyup":return Bd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ya(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ht=!1;function Hd(e,t){switch(e){case"compositionend":return ya(t);case"keypress":return t.which!==32?null:(zu=!0,ju);case"textInput":return e=t.data,e===ju&&zu?null:e;default:return null}}function Wd(e,t){if(Ht)return e==="compositionend"||!Ei&&ha(e,t)?(e=ma(),Ir=xi=it=null,Ht=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Du(n)}}function xa(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?xa(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ka(){for(var e=window,t=$r();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=$r(e.document)}return t}function _i(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function bd(e){var t=ka(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&xa(n.ownerDocument.documentElement,n)){if(r!==null&&_i(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,l=Math.min(r.start,o);r=r.end===void 0?l:Math.min(r.end,o),!e.extend&&l>r&&(o=r,r=l,l=o),o=Fu(n,l);var i=Fu(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Wt=null,Il=null,jn=null,Tl=!1;function $u(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Tl||Wt==null||Wt!==$r(r)||(r=Wt,"selectionStart"in r&&_i(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),jn&&Wn(jn,r)||(jn=r,r=Kr(Il,"onSelect"),0Gt||(e.current=Dl[Gt],Dl[Gt]=null,Gt--)}function D(e,t){Gt++,Dl[Gt]=e.current,e.current=t}var yt={},ie=St(yt),me=St(!1),zt=yt;function un(e,t){var n=e.type.contextTypes;if(!n)return yt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},l;for(l in n)o[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ve(e){return e=e.childContextTypes,e!=null}function Yr(){$(me),$(ie)}function Ku(e,t,n){if(ie.current!==yt)throw Error(k(168));D(ie,t),D(me,n)}function Ta(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(k(108,Yf(e)||"Unknown",o));return H({},n,r)}function Xr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||yt,zt=ie.current,D(ie,e),D(me,me.current),!0}function Gu(e,t,n){var r=e.stateNode;if(!r)throw Error(k(169));n?(e=Ta(e,t,zt),r.__reactInternalMemoizedMergedChildContext=e,$(me),$(ie),D(ie,e)):$(me),D(me,n)}var Qe=null,go=!1,el=!1;function ja(e){Qe===null?Qe=[e]:Qe.push(e)}function fp(e){go=!0,ja(e)}function xt(){if(!el&&Qe!==null){el=!0;var e=0,t=M;try{var n=Qe;for(M=1;e>=i,o-=i,Ke=1<<32-Oe(t)+o|n<E?(A=R,R=null):A=R.sibling;var I=d(f,R,p[E],x);if(I===null){R===null&&(R=A);break}e&&R&&I.alternate===null&&t(f,R),c=l(I,c,E),P===null?C=I:P.sibling=I,P=I,R=A}if(E===p.length)return n(f,R),U&&Nt(f,E),C;if(R===null){for(;EE?(A=R,R=null):A=R.sibling;var ue=d(f,R,I.value,x);if(ue===null){R===null&&(R=A);break}e&&R&&ue.alternate===null&&t(f,R),c=l(ue,c,E),P===null?C=ue:P.sibling=ue,P=ue,R=A}if(I.done)return n(f,R),U&&Nt(f,E),C;if(R===null){for(;!I.done;E++,I=p.next())I=m(f,I.value,x),I!==null&&(c=l(I,c,E),P===null?C=I:P.sibling=I,P=I);return U&&Nt(f,E),C}for(R=r(f,R);!I.done;E++,I=p.next())I=y(R,f,E,I.value,x),I!==null&&(e&&I.alternate!==null&&R.delete(I.key===null?E:I.key),c=l(I,c,E),P===null?C=I:P.sibling=I,P=I);return e&&R.forEach(function(kt){return t(f,kt)}),U&&Nt(f,E),C}function L(f,c,p,x){if(typeof p=="object"&&p!==null&&p.type===Vt&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case cr:e:{for(var C=p.key,P=c;P!==null;){if(P.key===C){if(C=p.type,C===Vt){if(P.tag===7){n(f,P.sibling),c=o(P,p.props.children),c.return=f,f=c;break e}}else if(P.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===nt&&Zu(C)===P.type){n(f,P.sibling),c=o(P,p.props),c.ref=xn(f,P,p),c.return=f,f=c;break e}n(f,P);break}else t(f,P);P=P.sibling}p.type===Vt?(c=jt(p.props.children,f.mode,x,p.key),c.return=f,f=c):(x=Fr(p.type,p.key,p.props,null,f.mode,x),x.ref=xn(f,c,p),x.return=f,f=x)}return i(f);case Bt:e:{for(P=p.key;c!==null;){if(c.key===P)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(f,c.sibling),c=o(c,p.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=sl(p,f.mode,x),c.return=f,f=c}return i(f);case nt:return P=p._init,L(f,c,P(p._payload),x)}if(_n(p))return h(f,c,p,x);if(hn(p))return w(f,c,p,x);xr(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(f,c.sibling),c=o(c,p),c.return=f,f=c):(n(f,c),c=ul(p,f.mode,x),c.return=f,f=c),i(f)):n(f,c)}return L}var an=Aa(!0),Da=Aa(!1),qr=St(null),br=null,Zt=null,Li=null;function Ii(){Li=Zt=br=null}function Ti(e){var t=qr.current;$(qr),e._currentValue=t}function Ul(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function rn(e,t){br=e,Li=Zt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(pe=!0),e.firstContext=null)}function Pe(e){var t=e._currentValue;if(Li!==e)if(e={context:e,memoizedValue:t,next:null},Zt===null){if(br===null)throw Error(k(308));Zt=e,br.dependencies={lanes:0,firstContext:e}}else Zt=Zt.next=e;return t}var Lt=null;function ji(e){Lt===null?Lt=[e]:Lt.push(e)}function Fa(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,ji(t)):(n.next=o.next,o.next=n),t.interleaved=n,Je(e,r)}function Je(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var rt=!1;function zi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function $a(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ye(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function dt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,O&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Je(e,n)}return o=r.interleaved,o===null?(t.next=t,ji(r)):(t.next=o.next,o.next=t),r.interleaved=t,Je(e,n)}function jr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,gi(e,n)}}function Ju(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,l=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};l===null?o=l=i:l=l.next=i,n=n.next}while(n!==null);l===null?o=l=t:l=l.next=t}else o=l=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:l,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function eo(e,t,n,r){var o=e.updateQueue;rt=!1;var l=o.firstBaseUpdate,i=o.lastBaseUpdate,u=o.shared.pending;if(u!==null){o.shared.pending=null;var s=u,a=s.next;s.next=null,i===null?l=a:i.next=a,i=s;var v=e.alternate;v!==null&&(v=v.updateQueue,u=v.lastBaseUpdate,u!==i&&(u===null?v.firstBaseUpdate=a:u.next=a,v.lastBaseUpdate=s))}if(l!==null){var m=o.baseState;i=0,v=a=s=null,u=l;do{var d=u.lane,y=u.eventTime;if((r&d)===d){v!==null&&(v=v.next={eventTime:y,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var h=e,w=u;switch(d=t,y=n,w.tag){case 1:if(h=w.payload,typeof h=="function"){m=h.call(y,m,d);break e}m=h;break e;case 3:h.flags=h.flags&-65537|128;case 0:if(h=w.payload,d=typeof h=="function"?h.call(y,m,d):h,d==null)break e;m=H({},m,d);break e;case 2:rt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,d=o.effects,d===null?o.effects=[u]:d.push(u))}else y={eventTime:y,lane:d,tag:u.tag,payload:u.payload,callback:u.callback,next:null},v===null?(a=v=y,s=m):v=v.next=y,i|=d;if(u=u.next,u===null){if(u=o.shared.pending,u===null)break;d=u,u=d.next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}while(!0);if(v===null&&(s=m),o.baseState=s,o.firstBaseUpdate=a,o.lastBaseUpdate=v,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else l===null&&(o.shared.lanes=0);At|=i,e.lanes=i,e.memoizedState=m}}function qu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=nl.transition;nl.transition={};try{e(!1),t()}finally{M=n,nl.transition=r}}function nc(){return Re().memoizedState}function vp(e,t,n){var r=mt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rc(e))oc(t,n);else if(n=Fa(e,t,n,r),n!==null){var o=ae();Me(n,e,r,o),lc(n,t,r)}}function hp(e,t,n){var r=mt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rc(e))oc(t,o);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var i=t.lastRenderedState,u=l(i,n);if(o.hasEagerState=!0,o.eagerState=u,De(u,i)){var s=t.interleaved;s===null?(o.next=o,ji(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=Fa(e,t,o,r),n!==null&&(o=ae(),Me(n,e,r,o),lc(n,t,r))}}function rc(e){var t=e.alternate;return e===V||t!==null&&t===V}function oc(e,t){zn=no=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function lc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,gi(e,n)}}var ro={readContext:Pe,useCallback:re,useContext:re,useEffect:re,useImperativeHandle:re,useInsertionEffect:re,useLayoutEffect:re,useMemo:re,useReducer:re,useRef:re,useState:re,useDebugValue:re,useDeferredValue:re,useTransition:re,useMutableSource:re,useSyncExternalStore:re,useId:re,unstable_isNewReconciler:!1},yp={readContext:Pe,useCallback:function(e,t){return $e().memoizedState=[e,t===void 0?null:t],e},useContext:Pe,useEffect:es,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Or(4194308,4,Ja.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Or(4194308,4,e,t)},useInsertionEffect:function(e,t){return Or(4,2,e,t)},useMemo:function(e,t){var n=$e();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=$e();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=vp.bind(null,V,e),[r.memoizedState,e]},useRef:function(e){var t=$e();return e={current:e},t.memoizedState=e},useState:bu,useDebugValue:Bi,useDeferredValue:function(e){return $e().memoizedState=e},useTransition:function(){var e=bu(!1),t=e[0];return e=mp.bind(null,e[1]),$e().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=V,o=$e();if(U){if(n===void 0)throw Error(k(407));n=n()}else{if(n=t(),b===null)throw Error(k(349));Mt&30||Ha(r,t,n)}o.memoizedState=n;var l={value:n,getSnapshot:t};return o.queue=l,es(Qa.bind(null,r,l,e),[e]),r.flags|=2048,qn(9,Wa.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=$e(),t=b.identifierPrefix;if(U){var n=Ge,r=Ke;n=(r&~(1<<32-Oe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Zn++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Ue]=t,e[Gn]=r,vc(e,t,!1,!1),t.stateNode=e;e:{switch(i=kl(n,r),n){case"dialog":F("cancel",e),F("close",e),o=r;break;case"iframe":case"object":case"embed":F("load",e),o=r;break;case"video":case"audio":for(o=0;odn&&(t.flags|=128,r=!0,kn(l,!1),t.lanes=4194304)}else{if(!r)if(e=to(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),kn(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!U)return oe(t),null}else 2*K()-l.renderingStartTime>dn&&n!==1073741824&&(t.flags|=128,r=!0,kn(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(n=l.last,n!==null?n.sibling=i:t.child=i,l.last=i)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=K(),t.sibling=null,n=B.current,D(B,r?n&1|2:n&1),t):(oe(t),null);case 22:case 23:return Gi(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ye&1073741824&&(oe(t),t.subtreeFlags&6&&(t.flags|=8192)):oe(t),null;case 24:return null;case 25:return null}throw Error(k(156,t.tag))}function _p(e,t){switch(Pi(t),t.tag){case 1:return ve(t.type)&&Yr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return cn(),$(me),$(ie),Ai(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Mi(t),null;case 13:if($(B),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(k(340));sn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return $(B),null;case 4:return cn(),null;case 10:return Ti(t.type._context),null;case 22:case 23:return Gi(),null;case 24:return null;default:return null}}var Cr=!1,le=!1,Np=typeof WeakSet=="function"?WeakSet:Set,_=null;function Jt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){W(e,t,r)}else n.current=null}function Xl(e,t,n){try{n()}catch(r){W(e,t,r)}}var fs=!1;function Pp(e,t){if(jl=Wr,e=ka(),_i(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var i=0,u=-1,s=-1,a=0,v=0,m=e,d=null;t:for(;;){for(var y;m!==n||o!==0&&m.nodeType!==3||(u=i+o),m!==l||r!==0&&m.nodeType!==3||(s=i+r),m.nodeType===3&&(i+=m.nodeValue.length),(y=m.firstChild)!==null;)d=m,m=y;for(;;){if(m===e)break t;if(d===n&&++a===o&&(u=i),d===l&&++v===r&&(s=i),(y=m.nextSibling)!==null)break;m=d,d=m.parentNode}m=y}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(zl={focusedElem:e,selectionRange:n},Wr=!1,_=t;_!==null;)if(t=_,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_=e;else for(;_!==null;){t=_;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var w=h.memoizedProps,L=h.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?w:Te(t.type,w),L);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(k(163))}}catch(x){W(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,_=e;break}_=t.return}return h=fs,fs=!1,h}function On(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var l=o.destroy;o.destroy=void 0,l!==void 0&&Xl(t,n,l)}o=o.next}while(o!==r)}}function xo(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Zl(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function gc(e){var t=e.alternate;t!==null&&(e.alternate=null,gc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ue],delete t[Gn],delete t[Al],delete t[ap],delete t[cp])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function wc(e){return e.tag===5||e.tag===3||e.tag===4}function ds(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||wc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Jl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Gr));else if(r!==4&&(e=e.child,e!==null))for(Jl(e,t,n),e=e.sibling;e!==null;)Jl(e,t,n),e=e.sibling}function ql(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ql(e,t,n),e=e.sibling;e!==null;)ql(e,t,n),e=e.sibling}var ee=null,je=!1;function tt(e,t,n){for(n=n.child;n!==null;)Sc(e,t,n),n=n.sibling}function Sc(e,t,n){if(Be&&typeof Be.onCommitFiberUnmount=="function")try{Be.onCommitFiberUnmount(po,n)}catch{}switch(n.tag){case 5:le||Jt(n,t);case 6:var r=ee,o=je;ee=null,tt(e,t,n),ee=r,je=o,ee!==null&&(je?(e=ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ee.removeChild(n.stateNode));break;case 18:ee!==null&&(je?(e=ee,n=n.stateNode,e.nodeType===8?bo(e.parentNode,n):e.nodeType===1&&bo(e,n),Vn(e)):bo(ee,n.stateNode));break;case 4:r=ee,o=je,ee=n.stateNode.containerInfo,je=!0,tt(e,t,n),ee=r,je=o;break;case 0:case 11:case 14:case 15:if(!le&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var l=o,i=l.destroy;l=l.tag,i!==void 0&&(l&2||l&4)&&Xl(n,t,i),o=o.next}while(o!==r)}tt(e,t,n);break;case 1:if(!le&&(Jt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){W(n,t,u)}tt(e,t,n);break;case 21:tt(e,t,n);break;case 22:n.mode&1?(le=(r=le)||n.memoizedState!==null,tt(e,t,n),le=r):tt(e,t,n);break;default:tt(e,t,n)}}function ps(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Np),t.forEach(function(r){var o=Ap.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Ie(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=i),r&=~l}if(r=o,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Lp(r/1960))-r,10e?16:e,ut===null)var r=!1;else{if(e=ut,ut=null,io=0,O&6)throw Error(k(331));var o=O;for(O|=4,_=e.current;_!==null;){var l=_,i=l.child;if(_.flags&16){var u=l.deletions;if(u!==null){for(var s=0;sK()-Qi?Tt(e,0):Wi|=n),he(e,t)}function Rc(e,t){t===0&&(e.mode&1?(t=mr,mr<<=1,!(mr&130023424)&&(mr=4194304)):t=1);var n=ae();e=Je(e,t),e!==null&&(nr(e,t,n),he(e,n))}function Mp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Rc(e,n)}function Ap(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(k(314))}r!==null&&r.delete(t),Rc(e,n)}var Lc;Lc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||me.current)pe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return pe=!1,Cp(e,t,n);pe=!!(e.flags&131072)}else pe=!1,U&&t.flags&1048576&&za(t,Jr,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Mr(e,t),e=t.pendingProps;var o=un(t,ie.current);rn(t,n),o=Fi(null,t,r,e,o,n);var l=$i();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ve(r)?(l=!0,Xr(t)):l=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,zi(t),o.updater=So,t.stateNode=o,o._reactInternals=t,Vl(t,r,e,n),t=Ql(null,t,r,!0,l,n)):(t.tag=0,U&&l&&Ni(t),se(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Mr(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Fp(r),e=Te(r,e),o){case 0:t=Wl(null,t,r,e,n);break e;case 1:t=ss(null,t,r,e,n);break e;case 11:t=is(null,t,r,e,n);break e;case 14:t=us(null,t,r,Te(r.type,e),n);break e}throw Error(k(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Te(r,o),Wl(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Te(r,o),ss(e,t,r,o,n);case 3:e:{if(dc(t),e===null)throw Error(k(387));r=t.pendingProps,l=t.memoizedState,o=l.element,$a(e,t),eo(t,r,null,n);var i=t.memoizedState;if(r=i.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){o=fn(Error(k(423)),t),t=as(e,t,r,n,o);break e}else if(r!==o){o=fn(Error(k(424)),t),t=as(e,t,r,n,o);break e}else for(ge=ft(t.stateNode.containerInfo.firstChild),we=t,U=!0,ze=null,n=Da(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(sn(),r===o){t=qe(e,t,n);break e}se(e,t,r,n)}t=t.child}return t;case 5:return Ua(t),e===null&&$l(t),r=t.type,o=t.pendingProps,l=e!==null?e.memoizedProps:null,i=o.children,Ol(r,o)?i=null:l!==null&&Ol(r,l)&&(t.flags|=32),fc(e,t),se(e,t,i,n),t.child;case 6:return e===null&&$l(t),null;case 13:return pc(e,t,n);case 4:return Oi(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=an(t,null,r,n):se(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Te(r,o),is(e,t,r,o,n);case 7:return se(e,t,t.pendingProps,n),t.child;case 8:return se(e,t,t.pendingProps.children,n),t.child;case 12:return se(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,l=t.memoizedProps,i=o.value,D(qr,r._currentValue),r._currentValue=i,l!==null)if(De(l.value,i)){if(l.children===o.children&&!me.current){t=qe(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var u=l.dependencies;if(u!==null){i=l.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(l.tag===1){s=Ye(-1,n&-n),s.tag=2;var a=l.updateQueue;if(a!==null){a=a.shared;var v=a.pending;v===null?s.next=s:(s.next=v.next,v.next=s),a.pending=s}}l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),Ul(l.return,n,t),u.lanes|=n;break}s=s.next}}else if(l.tag===10)i=l.type===t.type?null:l.child;else if(l.tag===18){if(i=l.return,i===null)throw Error(k(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Ul(i,n,t),i=l.sibling}else i=l.child;if(i!==null)i.return=l;else for(i=l;i!==null;){if(i===t){i=null;break}if(l=i.sibling,l!==null){l.return=i.return,i=l;break}i=i.return}l=i}se(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,rn(t,n),o=Pe(o),r=r(o),t.flags|=1,se(e,t,r,n),t.child;case 14:return r=t.type,o=Te(r,t.pendingProps),o=Te(r.type,o),us(e,t,r,o,n);case 15:return ac(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Te(r,o),Mr(e,t),t.tag=1,ve(r)?(e=!0,Xr(t)):e=!1,rn(t,n),ic(t,r,o),Vl(t,r,o,n),Ql(null,t,r,!0,e,n);case 19:return mc(e,t,n);case 22:return cc(e,t,n)}throw Error(k(156,t.tag))};function Ic(e,t){return ra(e,t)}function Dp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function _e(e,t,n,r){return new Dp(e,t,n,r)}function Xi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Fp(e){if(typeof e=="function")return Xi(e)?1:0;if(e!=null){if(e=e.$$typeof,e===mi)return 11;if(e===vi)return 14}return 2}function vt(e,t){var n=e.alternate;return n===null?(n=_e(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Fr(e,t,n,r,o,l){var i=2;if(r=e,typeof e=="function")Xi(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Vt:return jt(n.children,o,l,t);case pi:i=8,o|=8;break;case dl:return e=_e(12,n,t,o|2),e.elementType=dl,e.lanes=l,e;case pl:return e=_e(13,n,t,o),e.elementType=pl,e.lanes=l,e;case ml:return e=_e(19,n,t,o),e.elementType=ml,e.lanes=l,e;case Us:return Co(n,o,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Fs:i=10;break e;case $s:i=9;break e;case mi:i=11;break e;case vi:i=14;break e;case nt:i=16,r=null;break e}throw Error(k(130,e==null?e:typeof e,""))}return t=_e(i,n,t,o),t.elementType=e,t.type=r,t.lanes=l,t}function jt(e,t,n,r){return e=_e(7,e,r,t),e.lanes=n,e}function Co(e,t,n,r){return e=_e(22,e,r,t),e.elementType=Us,e.lanes=n,e.stateNode={isHidden:!1},e}function ul(e,t,n){return e=_e(6,e,null,t),e.lanes=n,e}function sl(e,t,n){return t=_e(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function $p(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Vo(0),this.expirationTimes=Vo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vo(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Zi(e,t,n,r,o,l,i,u,s){return e=new $p(e,t,n,u,s),t===1?(t=1,l===!0&&(t|=8)):t=0,l=_e(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},zi(l),e}function Up(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Oc)}catch(e){console.error(e)}}Oc(),Os.exports=xe;var Qp=Os.exports,Mc,xs=Qp;Mc=xs.createRoot,xs.hydrateRoot;const Ac=g.forwardRef(({onClick:e,className:t,children:n="Add to basket",...r},o)=>S.jsx("button",{ref:o,onClick:e,className:`w-full bg-black text-white py-4 border-none rounded-full transition-colors duration-300 hover:bg-black/85 ${t}`,...r,children:n}));Ac.displayName="AddToBasketButton";function Ae(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function Kp(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Dc(...e){return t=>e.forEach(n=>Kp(n,t))}function gt(...e){return g.useCallback(Dc(...e),e)}function Ro(e,t=[]){let n=[];function r(l,i){const u=g.createContext(i),s=n.length;n=[...n,i];const a=m=>{var f;const{scope:d,children:y,...h}=m,w=((f=d==null?void 0:d[e])==null?void 0:f[s])||u,L=g.useMemo(()=>h,Object.values(h));return S.jsx(w.Provider,{value:L,children:y})};a.displayName=l+"Provider";function v(m,d){var w;const y=((w=d==null?void 0:d[e])==null?void 0:w[s])||u,h=g.useContext(y);if(h)return h;if(i!==void 0)return i;throw new Error(`\`${m}\` must be used within \`${l}\``)}return[a,v]}const o=()=>{const l=n.map(i=>g.createContext(i));return function(u){const s=(u==null?void 0:u[e])||l;return g.useMemo(()=>({[`__scope${e}`]:{...u,[e]:s}}),[u,s])}};return o.scopeName=e,[r,Gp(o,...t)]}function Gp(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(l){const i=r.reduce((u,{useScope:s,scopeName:a})=>{const m=s(l)[`__scope${a}`];return{...u,...m}},{});return g.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}var ao=g.forwardRef((e,t)=>{const{children:n,...r}=e,o=g.Children.toArray(n),l=o.find(Xp);if(l){const i=l.props.children,u=o.map(s=>s===l?g.Children.count(i)>1?g.Children.only(null):g.isValidElement(i)?i.props.children:null:s);return S.jsx(ri,{...r,ref:t,children:g.isValidElement(i)?g.cloneElement(i,void 0,u):null})}return S.jsx(ri,{...r,ref:t,children:n})});ao.displayName="Slot";var ri=g.forwardRef((e,t)=>{const{children:n,...r}=e;if(g.isValidElement(n)){const o=Jp(n);return g.cloneElement(n,{...Zp(r,n.props),ref:t?Dc(t,o):o})}return g.Children.count(n)>1?g.Children.only(null):null});ri.displayName="SlotClone";var Yp=({children:e})=>S.jsx(S.Fragment,{children:e});function Xp(e){return g.isValidElement(e)&&e.type===Yp}function Zp(e,t){const n={...t};for(const r in t){const o=e[r],l=t[r];/^on[A-Z]/.test(r)?o&&l?n[r]=(...u)=>{l(...u),o(...u)}:o&&(n[r]=o):r==="style"?n[r]={...o,...l}:r==="className"&&(n[r]=[o,l].filter(Boolean).join(" "))}return{...e,...n}}function Jp(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var qp=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],He=qp.reduce((e,t)=>{const n=g.forwardRef((r,o)=>{const{asChild:l,...i}=r,u=l?ao:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),S.jsx(u,{...i,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function bp(e,t=[]){let n=[];function r(l,i){const u=g.createContext(i),s=n.length;n=[...n,i];function a(m){const{scope:d,children:y,...h}=m,w=(d==null?void 0:d[e][s])||u,L=g.useMemo(()=>h,Object.values(h));return S.jsx(w.Provider,{value:L,children:y})}function v(m,d){const y=(d==null?void 0:d[e][s])||u,h=g.useContext(y);if(h)return h;if(i!==void 0)return i;throw new Error(`\`${m}\` must be used within \`${l}\``)}return a.displayName=l+"Provider",[a,v]}const o=()=>{const l=n.map(i=>g.createContext(i));return function(u){const s=(u==null?void 0:u[e])||l;return g.useMemo(()=>({[`__scope${e}`]:{...u,[e]:s}}),[u,s])}};return o.scopeName=e,[r,em(o,...t)]}function em(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(l){const i=r.reduce((u,{useScope:s,scopeName:a})=>{const m=s(l)[`__scope${a}`];return{...u,...m}},{});return g.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function Fc(e){const t=e+"CollectionProvider",[n,r]=bp(t),[o,l]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=y=>{const{scope:h,children:w}=y,L=G.useRef(null),f=G.useRef(new Map).current;return S.jsx(o,{scope:h,itemMap:f,collectionRef:L,children:w})};i.displayName=t;const u=e+"CollectionSlot",s=G.forwardRef((y,h)=>{const{scope:w,children:L}=y,f=l(u,w),c=gt(h,f.collectionRef);return S.jsx(ao,{ref:c,children:L})});s.displayName=u;const a=e+"CollectionItemSlot",v="data-radix-collection-item",m=G.forwardRef((y,h)=>{const{scope:w,children:L,...f}=y,c=G.useRef(null),p=gt(h,c),x=l(a,w);return G.useEffect(()=>(x.itemMap.set(c,{ref:c,...f}),()=>void x.itemMap.delete(c))),S.jsx(ao,{[v]:"",ref:p,children:L})});m.displayName=a;function d(y){const h=l(e+"CollectionConsumer",y);return G.useCallback(()=>{const L=h.collectionRef.current;if(!L)return[];const f=Array.from(L.querySelectorAll(`[${v}]`));return Array.from(h.itemMap.values()).sort((x,C)=>f.indexOf(x.ref.current)-f.indexOf(C.ref.current))},[h.collectionRef,h.itemMap])}return[{Provider:i,Slot:s,ItemSlot:m},d,r]}function tm(e,t=[]){let n=[];function r(l,i){const u=g.createContext(i),s=n.length;n=[...n,i];function a(m){const{scope:d,children:y,...h}=m,w=(d==null?void 0:d[e][s])||u,L=g.useMemo(()=>h,Object.values(h));return S.jsx(w.Provider,{value:L,children:y})}function v(m,d){const y=(d==null?void 0:d[e][s])||u,h=g.useContext(y);if(h)return h;if(i!==void 0)return i;throw new Error(`\`${m}\` must be used within \`${l}\``)}return a.displayName=l+"Provider",[a,v]}const o=()=>{const l=n.map(i=>g.createContext(i));return function(u){const s=(u==null?void 0:u[e])||l;return g.useMemo(()=>({[`__scope${e}`]:{...u,[e]:s}}),[u,s])}};return o.scopeName=e,[r,nm(o,...t)]}function nm(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(l){const i=r.reduce((u,{useScope:s,scopeName:a})=>{const m=s(l)[`__scope${a}`];return{...u,...m}},{});return g.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}var er=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},rm=Of.useId||(()=>{}),om=0;function eu(e){const[t,n]=g.useState(rm());return er(()=>{n(r=>r??String(om++))},[e]),t?`radix-${t}`:""}function tu(e){const t=g.useRef(e);return g.useEffect(()=>{t.current=e}),g.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function ir({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=lm({defaultProp:t,onChange:n}),l=e!==void 0,i=l?e:r,u=tu(n),s=g.useCallback(a=>{if(l){const m=typeof a=="function"?a(e):a;m!==e&&u(m)}else o(a)},[l,e,o,u]);return[i,s]}function lm({defaultProp:e,onChange:t}){const n=g.useState(e),[r]=n,o=g.useRef(r),l=tu(t);return g.useEffect(()=>{o.current!==r&&(l(r),o.current=r)},[r,o,l]),n}var im=g.createContext(void 0);function nu(e){const t=g.useContext(im);return e||t||"ltr"}var al="rovingFocusGroup.onEntryFocus",um={bubbles:!1,cancelable:!0},Lo="RovingFocusGroup",[oi,$c,sm]=Fc(Lo),[am,Uc]=tm(Lo,[sm]),[cm,fm]=am(Lo),Bc=g.forwardRef((e,t)=>S.jsx(oi.Provider,{scope:e.__scopeRovingFocusGroup,children:S.jsx(oi.Slot,{scope:e.__scopeRovingFocusGroup,children:S.jsx(dm,{...e,ref:t})})}));Bc.displayName=Lo;var dm=g.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:l,currentTabStopId:i,defaultCurrentTabStopId:u,onCurrentTabStopIdChange:s,onEntryFocus:a,preventScrollOnEntryFocus:v=!1,...m}=e,d=g.useRef(null),y=gt(t,d),h=nu(l),[w=null,L]=ir({prop:i,defaultProp:u,onChange:s}),[f,c]=g.useState(!1),p=tu(a),x=$c(n),C=g.useRef(!1),[P,R]=g.useState(0);return g.useEffect(()=>{const E=d.current;if(E)return E.addEventListener(al,p),()=>E.removeEventListener(al,p)},[p]),S.jsx(cm,{scope:n,orientation:r,dir:h,loop:o,currentTabStopId:w,onItemFocus:g.useCallback(E=>L(E),[L]),onItemShiftTab:g.useCallback(()=>c(!0),[]),onFocusableItemAdd:g.useCallback(()=>R(E=>E+1),[]),onFocusableItemRemove:g.useCallback(()=>R(E=>E-1),[]),children:S.jsx(He.div,{tabIndex:f||P===0?-1:0,"data-orientation":r,...m,ref:y,style:{outline:"none",...e.style},onMouseDown:Ae(e.onMouseDown,()=>{C.current=!0}),onFocus:Ae(e.onFocus,E=>{const A=!C.current;if(E.target===E.currentTarget&&A&&!f){const I=new CustomEvent(al,um);if(E.currentTarget.dispatchEvent(I),!I.defaultPrevented){const ue=x().filter(Le=>Le.focusable),kt=ue.find(Le=>Le.active),Ct=ue.find(Le=>Le.id===w),Oo=[kt,Ct,...ue].filter(Boolean).map(Le=>Le.ref.current);Wc(Oo,v)}}C.current=!1}),onBlur:Ae(e.onBlur,()=>c(!1))})})}),Vc="RovingFocusGroupItem",Hc=g.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:l,...i}=e,u=eu(),s=l||u,a=fm(Vc,n),v=a.currentTabStopId===s,m=$c(n),{onFocusableItemAdd:d,onFocusableItemRemove:y}=a;return g.useEffect(()=>{if(r)return d(),()=>y()},[r,d,y]),S.jsx(oi.ItemSlot,{scope:n,id:s,focusable:r,active:o,children:S.jsx(He.span,{tabIndex:v?0:-1,"data-orientation":a.orientation,...i,ref:t,onMouseDown:Ae(e.onMouseDown,h=>{r?a.onItemFocus(s):h.preventDefault()}),onFocus:Ae(e.onFocus,()=>a.onItemFocus(s)),onKeyDown:Ae(e.onKeyDown,h=>{if(h.key==="Tab"&&h.shiftKey){a.onItemShiftTab();return}if(h.target!==h.currentTarget)return;const w=vm(h,a.orientation,a.dir);if(w!==void 0){if(h.metaKey||h.ctrlKey||h.altKey||h.shiftKey)return;h.preventDefault();let f=m().filter(c=>c.focusable).map(c=>c.ref.current);if(w==="last")f.reverse();else if(w==="prev"||w==="next"){w==="prev"&&f.reverse();const c=f.indexOf(h.currentTarget);f=a.loop?hm(f,c+1):f.slice(c+1)}setTimeout(()=>Wc(f))}})})})});Hc.displayName=Vc;var pm={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function mm(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function vm(e,t,n){const r=mm(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return pm[r]}function Wc(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function hm(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var ym=Bc,gm=Hc;function wm(e){const[t,n]=g.useState(void 0);return er(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const l=o[0];let i,u;if("borderBoxSize"in l){const s=l.borderBoxSize,a=Array.isArray(s)?s[0]:s;i=a.inlineSize,u=a.blockSize}else i=e.offsetWidth,u=e.offsetHeight;n({width:i,height:u})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}function Sm(e){const t=g.useRef({value:e,previous:e});return g.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function xm(e,t){return g.useReducer((n,r)=>t[n][r]??n,e)}var ru=e=>{const{present:t,children:n}=e,r=km(t),o=typeof n=="function"?n({present:r.isPresent}):g.Children.only(n),l=gt(r.ref,Cm(o));return typeof n=="function"||r.isPresent?g.cloneElement(o,{ref:l}):null};ru.displayName="Presence";function km(e){const[t,n]=g.useState(),r=g.useRef({}),o=g.useRef(e),l=g.useRef("none"),i=e?"mounted":"unmounted",[u,s]=xm(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const a=Nr(r.current);l.current=u==="mounted"?a:"none"},[u]),er(()=>{const a=r.current,v=o.current;if(v!==e){const d=l.current,y=Nr(a);e?s("MOUNT"):y==="none"||(a==null?void 0:a.display)==="none"?s("UNMOUNT"):s(v&&d!==y?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,s]),er(()=>{if(t){let a;const v=t.ownerDocument.defaultView??window,m=y=>{const w=Nr(r.current).includes(y.animationName);if(y.target===t&&w&&(s("ANIMATION_END"),!o.current)){const L=t.style.animationFillMode;t.style.animationFillMode="forwards",a=v.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=L)})}},d=y=>{y.target===t&&(l.current=Nr(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{v.clearTimeout(a),t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:g.useCallback(a=>{a&&(r.current=getComputedStyle(a)),n(a)},[])}}function Nr(e){return(e==null?void 0:e.animationName)||"none"}function Cm(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var ou="Radio",[Em,Qc]=Ro(ou),[_m,Nm]=Em(ou),Kc=g.forwardRef((e,t)=>{const{__scopeRadio:n,name:r,checked:o=!1,required:l,disabled:i,value:u="on",onCheck:s,form:a,...v}=e,[m,d]=g.useState(null),y=gt(t,L=>d(L)),h=g.useRef(!1),w=m?a||!!m.closest("form"):!0;return S.jsxs(_m,{scope:n,checked:o,disabled:i,children:[S.jsx(He.button,{type:"button",role:"radio","aria-checked":o,"data-state":Xc(o),"data-disabled":i?"":void 0,disabled:i,value:u,...v,ref:y,onClick:Ae(e.onClick,L=>{o||s==null||s(),w&&(h.current=L.isPropagationStopped(),h.current||L.stopPropagation())})}),w&&S.jsx(Pm,{control:m,bubbles:!h.current,name:r,value:u,checked:o,required:l,disabled:i,form:a,style:{transform:"translateX(-100%)"}})]})});Kc.displayName=ou;var Gc="RadioIndicator",Yc=g.forwardRef((e,t)=>{const{__scopeRadio:n,forceMount:r,...o}=e,l=Nm(Gc,n);return S.jsx(ru,{present:r||l.checked,children:S.jsx(He.span,{"data-state":Xc(l.checked),"data-disabled":l.disabled?"":void 0,...o,ref:t})})});Yc.displayName=Gc;var Pm=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,l=g.useRef(null),i=Sm(n),u=wm(t);return g.useEffect(()=>{const s=l.current,a=window.HTMLInputElement.prototype,m=Object.getOwnPropertyDescriptor(a,"checked").set;if(i!==n&&m){const d=new Event("click",{bubbles:r});m.call(s,n),s.dispatchEvent(d)}},[i,n,r]),S.jsx("input",{type:"radio","aria-hidden":!0,defaultChecked:n,...o,tabIndex:-1,ref:l,style:{...e.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function Xc(e){return e?"checked":"unchecked"}var Rm=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],lu="RadioGroup",[Lm,_0]=Ro(lu,[Uc,Qc]),Zc=Uc(),Jc=Qc(),[Im,Tm]=Lm(lu),qc=g.forwardRef((e,t)=>{const{__scopeRadioGroup:n,name:r,defaultValue:o,value:l,required:i=!1,disabled:u=!1,orientation:s,dir:a,loop:v=!0,onValueChange:m,...d}=e,y=Zc(n),h=nu(a),[w,L]=ir({prop:l,defaultProp:o,onChange:m});return S.jsx(Im,{scope:n,name:r,required:i,disabled:u,value:w,onValueChange:L,children:S.jsx(ym,{asChild:!0,...y,orientation:s,dir:h,loop:v,children:S.jsx(He.div,{role:"radiogroup","aria-required":i,"aria-orientation":s,"data-disabled":u?"":void 0,dir:h,...d,ref:t})})})});qc.displayName=lu;var bc="RadioGroupItem",ef=g.forwardRef((e,t)=>{const{__scopeRadioGroup:n,disabled:r,...o}=e,l=Tm(bc,n),i=l.disabled||r,u=Zc(n),s=Jc(n),a=g.useRef(null),v=gt(t,a),m=l.value===o.value,d=g.useRef(!1);return g.useEffect(()=>{const y=w=>{Rm.includes(w.key)&&(d.current=!0)},h=()=>d.current=!1;return document.addEventListener("keydown",y),document.addEventListener("keyup",h),()=>{document.removeEventListener("keydown",y),document.removeEventListener("keyup",h)}},[]),S.jsx(gm,{asChild:!0,...u,focusable:!i,active:m,children:S.jsx(Kc,{disabled:i,required:l.required,checked:m,...s,...o,name:l.name,ref:v,onCheck:()=>l.onValueChange(o.value),onKeyDown:Ae(y=>{y.key==="Enter"&&y.preventDefault()}),onFocus:Ae(o.onFocus,()=>{var y;d.current&&((y=a.current)==null||y.click())})})})});ef.displayName=bc;var jm="RadioGroupIndicator",zm=g.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...r}=e,o=Jc(n);return S.jsx(Yc,{...o,...r,ref:t})});zm.displayName=jm;var Om=qc,Mm=ef;const Am=({colors:e,selectedColor:t,onChange:n})=>{var o;const r=((o=e.find(l=>l.value===t))==null?void 0:o.name)||"";return S.jsxs("div",{className:"flex p-4 items-center justify-between border-gray-200 border-t border-b",children:[S.jsx("span",{className:"text-lg font-medium",children:r}),S.jsx(Om,{className:"flex gap-2","aria-label":"Select color",onValueChange:n,children:e.map(l=>S.jsxs(Mm,{value:l.value,className:`relative w-10 h-10 rounded-full border border-transparent transition-all duration-300 ease-in-out - focus:outline-none cursor-pointer - hover:border-black - data-[state=checked]:border-black`,children:[S.jsx("span",{className:`absolute inset-0 rounded-full border transition-all duration-300 ease-in-out - ${l.value===t?"border-black":"border-transparent"}`}),S.jsx("span",{style:{backgroundColor:l.hex,width:"65%",height:"65%"},className:"rounded-full absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2"})]},l.value))})]})};function Io(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,l;for(l=0;l=0)&&(n[o]=e[o]);return n}var Dm=["color"],Fm=g.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Io(e,Dm);return g.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),g.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),$m=["color"],Um=g.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Io(e,$m);return g.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),g.createElement("path",{d:"M8.84182 3.13514C9.04327 3.32401 9.05348 3.64042 8.86462 3.84188L5.43521 7.49991L8.86462 11.1579C9.05348 11.3594 9.04327 11.6758 8.84182 11.8647C8.64036 12.0535 8.32394 12.0433 8.13508 11.8419L4.38508 7.84188C4.20477 7.64955 4.20477 7.35027 4.38508 7.15794L8.13508 3.15794C8.32394 2.95648 8.64036 2.94628 8.84182 3.13514Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),Bm=["color"],Vm=g.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Io(e,Bm);return g.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),g.createElement("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),Hm=["color"],cl=g.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Io(e,Hm);return g.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),g.createElement("path",{d:"M6.97942 1.25171L6.9585 1.30199L5.58662 4.60039C5.54342 4.70426 5.44573 4.77523 5.3336 4.78422L1.7727 5.0697L1.71841 5.07405L1.38687 5.10063L1.08608 5.12475C0.820085 5.14607 0.712228 5.47802 0.914889 5.65162L1.14406 5.84793L1.39666 6.06431L1.43802 6.09974L4.15105 8.42374C4.23648 8.49692 4.2738 8.61176 4.24769 8.72118L3.41882 12.196L3.40618 12.249L3.32901 12.5725L3.25899 12.866C3.19708 13.1256 3.47945 13.3308 3.70718 13.1917L3.9647 13.0344L4.24854 12.861L4.29502 12.8326L7.34365 10.9705C7.43965 10.9119 7.5604 10.9119 7.6564 10.9705L10.705 12.8326L10.7515 12.861L11.0354 13.0344L11.2929 13.1917C11.5206 13.3308 11.803 13.1256 11.7411 12.866L11.671 12.5725L11.5939 12.249L11.5812 12.196L10.7524 8.72118C10.7263 8.61176 10.7636 8.49692 10.849 8.42374L13.562 6.09974L13.6034 6.06431L13.856 5.84793L14.0852 5.65162C14.2878 5.47802 14.18 5.14607 13.914 5.12475L13.6132 5.10063L13.2816 5.07405L13.2274 5.0697L9.66645 4.78422C9.55432 4.77523 9.45663 4.70426 9.41343 4.60039L8.04155 1.30199L8.02064 1.25171L7.89291 0.944609L7.77702 0.665992C7.67454 0.419604 7.32551 0.419604 7.22303 0.665992L7.10715 0.944609L6.97942 1.25171ZM7.50003 2.60397L6.50994 4.98442C6.32273 5.43453 5.89944 5.74207 5.41351 5.78103L2.84361 5.98705L4.8016 7.66428C5.17183 7.98142 5.33351 8.47903 5.2204 8.95321L4.62221 11.461L6.8224 10.1171C7.23842 9.86302 7.76164 9.86302 8.17766 10.1171L10.3778 11.461L9.77965 8.95321C9.66654 8.47903 9.82822 7.98142 10.1984 7.66428L12.1564 5.98705L9.58654 5.78103C9.10061 5.74207 8.67732 5.43453 8.49011 4.98442L7.50003 2.60397Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))});const Wm=({images:e})=>{const[t,n]=g.useState(0),r=()=>n(l=>(l+1)%e.length),o=()=>n(l=>(l-1+e.length)%e.length);return S.jsxs("div",{className:"flex flex-col w-full max-w-screen-lg relative",children:[S.jsxs("div",{className:`relative w-full overflow-hidden \r - h-80 sm:h-96 md:h-[500px] lg:h-[600px] xl:h-[750px]`,children:[S.jsx("img",{src:e[t],alt:"Product",className:"w-full h-full object-contain transition-transform duration-300 ease-in-out"}),S.jsx("button",{className:"absolute left-0 top-1/2 -translate-y-1/2 p-2 bg-gray-800 text-white rounded-full hover:bg-gray-700",onClick:o,"aria-label":"Previous Image",children:S.jsx(Um,{})}),S.jsx("button",{className:"absolute right-0 top-1/2 -translate-y-1/2 p-2 bg-gray-800 text-white rounded-full hover:bg-gray-700",onClick:r,"aria-label":"Next Image",children:S.jsx(Vm,{})})]}),S.jsx("div",{className:"flex justify-center mt-4 space-x-2",children:e.map((l,i)=>S.jsx("button",{className:`rounded-sm overflow-hidden hover:border-transparent border-2 transition-colors duration-300 ${i===t?"border-black":"border-transparent"}`,onClick:()=>n(i),"aria-label":`Go to image ${i+1}`,children:S.jsx("img",{src:l,alt:`Thumbnail ${i+1}`,className:"object-cover w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 lg:w-14 lg:h-14 xl:h-20 xl:w-20"})},i))})]})};var iu="Collapsible",[Qm,tf]=Ro(iu),[Km,uu]=Qm(iu),nf=g.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:l,onOpenChange:i,...u}=e,[s=!1,a]=ir({prop:r,defaultProp:o,onChange:i});return S.jsx(Km,{scope:n,disabled:l,contentId:eu(),open:s,onOpenToggle:g.useCallback(()=>a(v=>!v),[a]),children:S.jsx(He.div,{"data-state":au(s),"data-disabled":l?"":void 0,...u,ref:t})})});nf.displayName=iu;var rf="CollapsibleTrigger",of=g.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=uu(rf,n);return S.jsx(He.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":au(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:Ae(e.onClick,o.onOpenToggle)})});of.displayName=rf;var su="CollapsibleContent",lf=g.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=uu(su,e.__scopeCollapsible);return S.jsx(ru,{present:n||o.open,children:({present:l})=>S.jsx(Gm,{...r,ref:t,present:l})})});lf.displayName=su;var Gm=g.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...l}=e,i=uu(su,n),[u,s]=g.useState(r),a=g.useRef(null),v=gt(t,a),m=g.useRef(0),d=m.current,y=g.useRef(0),h=y.current,w=i.open||u,L=g.useRef(w),f=g.useRef();return g.useEffect(()=>{const c=requestAnimationFrame(()=>L.current=!1);return()=>cancelAnimationFrame(c)},[]),er(()=>{const c=a.current;if(c){f.current=f.current||{transitionDuration:c.style.transitionDuration,animationName:c.style.animationName},c.style.transitionDuration="0s",c.style.animationName="none";const p=c.getBoundingClientRect();m.current=p.height,y.current=p.width,L.current||(c.style.transitionDuration=f.current.transitionDuration,c.style.animationName=f.current.animationName),s(r)}},[i.open,r]),S.jsx(He.div,{"data-state":au(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!w,...l,ref:v,style:{"--radix-collapsible-content-height":d?`${d}px`:void 0,"--radix-collapsible-content-width":h?`${h}px`:void 0,...e.style},children:w&&o})});function au(e){return e?"open":"closed"}var Ym=nf,Xm=of,Zm=lf,et="Accordion",Jm=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[cu,qm,bm]=Fc(et),[To,N0]=Ro(et,[bm,tf]),fu=tf(),uf=G.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,l=r;return S.jsx(cu.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?S.jsx(r0,{...l,ref:t}):S.jsx(n0,{...o,ref:t})})});uf.displayName=et;var[sf,e0]=To(et),[af,t0]=To(et,{collapsible:!1}),n0=G.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:l=!1,...i}=e,[u,s]=ir({prop:n,defaultProp:r,onChange:o});return S.jsx(sf,{scope:e.__scopeAccordion,value:u?[u]:[],onItemOpen:s,onItemClose:G.useCallback(()=>l&&s(""),[l,s]),children:S.jsx(af,{scope:e.__scopeAccordion,collapsible:l,children:S.jsx(cf,{...i,ref:t})})})}),r0=G.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...l}=e,[i=[],u]=ir({prop:n,defaultProp:r,onChange:o}),s=G.useCallback(v=>u((m=[])=>[...m,v]),[u]),a=G.useCallback(v=>u((m=[])=>m.filter(d=>d!==v)),[u]);return S.jsx(sf,{scope:e.__scopeAccordion,value:i,onItemOpen:s,onItemClose:a,children:S.jsx(af,{scope:e.__scopeAccordion,collapsible:!0,children:S.jsx(cf,{...l,ref:t})})})}),[o0,jo]=To(et),cf=G.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:l="vertical",...i}=e,u=G.useRef(null),s=gt(u,t),a=qm(n),m=nu(o)==="ltr",d=Ae(e.onKeyDown,y=>{var E;if(!Jm.includes(y.key))return;const h=y.target,w=a().filter(A=>{var I;return!((I=A.ref.current)!=null&&I.disabled)}),L=w.findIndex(A=>A.ref.current===h),f=w.length;if(L===-1)return;y.preventDefault();let c=L;const p=0,x=f-1,C=()=>{c=L+1,c>x&&(c=p)},P=()=>{c=L-1,c{const{__scopeAccordion:n,value:r,...o}=e,l=jo(co,n),i=e0(co,n),u=fu(n),s=eu(),a=r&&i.value.includes(r)||!1,v=l.disabled||e.disabled;return S.jsx(l0,{scope:n,open:a,disabled:v,triggerId:s,children:S.jsx(Ym,{"data-orientation":l.orientation,"data-state":hf(a),...u,...o,ref:t,disabled:v,open:a,onOpenChange:m=>{m?i.onItemOpen(r):i.onItemClose(r)}})})});ff.displayName=co;var df="AccordionHeader",i0=G.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=jo(et,n),l=du(df,n);return S.jsx(He.h3,{"data-orientation":o.orientation,"data-state":hf(l.open),"data-disabled":l.disabled?"":void 0,...r,ref:t})});i0.displayName=df;var li="AccordionTrigger",pf=G.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=jo(et,n),l=du(li,n),i=t0(li,n),u=fu(n);return S.jsx(cu.ItemSlot,{scope:n,children:S.jsx(Xm,{"aria-disabled":l.open&&!i.collapsible||void 0,"data-orientation":o.orientation,id:l.triggerId,...u,...r,ref:t})})});pf.displayName=li;var mf="AccordionContent",vf=G.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=jo(et,n),l=du(mf,n),i=fu(n);return S.jsx(Zm,{role:"region","aria-labelledby":l.triggerId,"data-orientation":o.orientation,...i,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});vf.displayName=mf;function hf(e){return e?"open":"closed"}var u0=uf,s0=ff,a0=pf,c0=vf;const f0=({content:e})=>S.jsx(u0,{type:"single",collapsible:!0,className:"w-full",children:S.jsxs(s0,{value:"more-info",children:[S.jsxs(a0,{className:"group flex p-0 bg-transparent gap-2 w-full items-center text-left text-gray-500 hover:text-gray-900 transition-colors duration-200 focus:outline-none hover:border-transparent",children:[S.jsx("span",{children:"More Info"}),S.jsx(Fm,{className:"transition-transform duration-[600ms] transform group-data-[state=open]:rotate-180","aria-hidden":!0})]}),S.jsx(c0,{className:"text-gray-700 overflow-hidden transition-all duration-[9000ms] ease-in-out max-h-0 data-[state=open]:max-h-[500px] mt-2",children:S.jsx("p",{className:"text-sm sm:text-base md:text-lg",children:e})})]})}),d0=({rating:e})=>{const t=Math.floor(e),n=e%1!==0?1:0;return S.jsxs("div",{className:"flex items-center",children:[[...Array(t)].map((o,l)=>S.jsx("span",{className:"p-0","aria-label":`${l+1} star`,children:S.jsx(cl,{className:"size-4 md:size-5 text-teal-500"})},l)),n>0&&S.jsx("span",{className:"p-0","aria-label":"half star",children:S.jsx(cl,{className:"size-4 md:size-5 text-teal-500 opacity-50"})}),[...Array(5-t-n)].map((o,l)=>S.jsx("span",{className:"p-0","aria-label":`${t+n+l+1} star`,children:S.jsx(cl,{className:"size-4 md:size-5 text-gray-300"})},l)),S.jsxs("span",{className:"ml-2 text-gray-900 border-b border-gray-700",children:[e,"/5"]})]})},p0=()=>S.jsxs("div",{className:"max-w-4xl mx-auto p-4",children:[S.jsx("h1",{className:"text-3xl sm:text-4xl md:text-5xl font-bold",children:"Sonos Ace"}),S.jsx("p",{className:"text-sm sm:text-base md:text-xl sm:mt-1",children:"Headphones"}),S.jsxs("div",{className:"flex items-center justify-between mt-4",children:[S.jsx("p",{className:"text-3xl font-bold",children:"$680"}),S.jsx(d0,{rating:3.5})]}),S.jsx("p",{className:"text-gray-900 font-medium mt-4 text-sm sm:text-base md:text-lg",children:"Obsessively crafted and masterfully tuned, these headphones make you feel at one with the sounds that matter most to you."}),S.jsx(f0,{content:` - Feel every frequency with superior precision and clarity. Maximise your immersion with lossless streaming, - spatial audio with dynamic head tracking and world-class Active Noise Cancellation. Hear what’s going around - you with Aware mode. Enjoy up to 30 hours of battery life, exceptional comfort and flawlessly clear calls. - Connect to your devices wirelessly via Bluetooth, or use the included USB-C and 3.5 mm cables. Plus, bring - home theatre content to life like never before. - `})]}),m0="/Product-card/assets/Headphones1-BkMZAoV5.webp",v0="/Product-card/assets/Headphones2-BBvW9jYn.webp",h0="/Product-card/assets/Headphones3-BnHxu76P.webp",y0="/Product-card/assets/Headphones4-t7mSkMqE.webp",g0="/Product-card/assets/Headphones1-C6chIZWG.webp",w0="/Product-card/assets/Headphones2-DqRwBcJB.webp",S0="/Product-card/assets/Headphones3-DnqnrL1s.webp",x0="/Product-card/assets/Headphones4-ByjhWkOD.webp",k0={black:[m0,v0,h0,y0],white:[g0,w0,S0,x0]},ks=[{name:"Black",value:"black",hex:"#000000"},{name:"White",value:"white",hex:"#eeeeee"}],C0=()=>{const[e,t]=g.useState(ks[0].value),n=()=>{console.log("Product added to cart!")};return S.jsx("div",{className:"max-w-screen-xl mx-auto p-4 flex",children:S.jsxs("div",{className:"flex flex-col lg:flex-row gap-10",children:[S.jsx("div",{className:"",children:S.jsx(Wm,{images:k0[e]})}),S.jsxs("div",{className:"w-full lg:w-1/2 flex flex-col max-w-[500px]",children:[S.jsx(p0,{}),S.jsx("div",{className:"mt-4",children:S.jsx(Am,{colors:ks,selectedColor:e,onChange:t})}),S.jsx("div",{className:"border-b border-gray-200 py-4",children:S.jsx(Ac,{onClick:n})})]})]})})};function E0(){return S.jsx("div",{children:S.jsx(C0,{})})}Mc(document.getElementById("root")).render(S.jsx(g.StrictMode,{children:S.jsx(E0,{})})); diff --git a/assets/index-EvRnQtNb.css b/assets/index-EvRnQtNb.css deleted file mode 100644 index 237beeb..0000000 --- a/assets/index-EvRnQtNb.css +++ /dev/null @@ -1 +0,0 @@ -*,: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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{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,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}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:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;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-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([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}dialog{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]:where(:not([hidden=until-found])){display:none}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.left-0{left:0}.left-1\/2{left:50%}.right-0{right:0}.top-1\/2{top:50%}.mx-auto{margin-left:auto;margin-right:auto}.ml-2{margin-left:.5rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.flex{display:flex}.size-4{width:1rem;height:1rem}.h-10{height:2.5rem}.h-8{height:2rem}.h-80{height:20rem}.h-full{height:100%}.max-h-0{max-height:0px}.w-10{width:2.5rem}.w-8{width:2rem}.w-full{width:100%}.max-w-4xl{max-width:56rem}.max-w-\[500px\]{max-width:500px}.max-w-screen-lg{max-width:1024px}.max-w-screen-xl{max-width:1280px}.-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-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))}.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))}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-10{gap:2.5rem}.gap-2{gap:.5rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.overflow-hidden{overflow:hidden}.rounded-full{border-radius:9999px}.rounded-sm{border-radius:.125rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-none{border-style:none}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-2{padding:.5rem}.p-4{padding:1rem}.py-4{padding-top:1rem;padding-bottom:1rem}.text-left{text-align:left}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-teal-500{--tw-text-opacity: 1;color:rgb(20 184 166 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.opacity-50{opacity:.5}.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-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-\[600ms\]{transition-duration:.6s}.duration-\[9000ms\]{transition-duration:9s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;justify-content:center;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#131313}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.hover\:border-black:hover{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.hover\:border-transparent:hover{border-color:transparent}.hover\:bg-black\/85:hover{background-color:#000000d9}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.data-\[state\=open\]\:max-h-\[500px\][data-state=open]{max-height:500px}.data-\[state\=checked\]\:border-black[data-state=checked]{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.group[data-state=open] .group-data-\[state\=open\]\: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))}@media (min-width: 640px){.sm\:mt-1{margin-top:.25rem}.sm\:h-10{height:2.5rem}.sm\:h-96{height:24rem}.sm\:w-10{width:2.5rem}.sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}.sm\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 768px){.md\:size-5{width:1.25rem;height:1.25rem}.md\:h-12{height:3rem}.md\:h-\[500px\]{height:500px}.md\:w-12{width:3rem}.md\:text-5xl{font-size:3rem;line-height:1}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 1024px){.lg\:h-14{height:3.5rem}.lg\:h-\[600px\]{height:600px}.lg\:w-1\/2{width:50%}.lg\:w-14{width:3.5rem}.lg\:flex-row{flex-direction:row}}@media (min-width: 1280px){.xl\:h-20{height:5rem}.xl\:h-\[750px\]{height:750px}.xl\:w-20{width:5rem}} diff --git a/index.html b/index.html index c918a27..3178df9 100644 --- a/index.html +++ b/index.html @@ -5,8 +5,8 @@ Product card - - + +