UNPKG

@tamilvananmurugan/xlibs

Version:

Comprehensive UI component library with Aceternity, MagicUI, and ShadCN components

30 lines (28 loc) 1.53 MB
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react");require("react-dom");function R6(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,i.get?i:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const Ht=R6(H);function GE(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Sy={exports:{}},Fm={};/** * @license React * react-jsx-runtime.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 ZR;function P6(){if(ZR)return Fm;ZR=1;var n=H,e=Symbol.for("react.element"),t=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,r=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function a(l,u,d){var p,m={},v=null,x=null;d!==void 0&&(v=""+d),u.key!==void 0&&(v=""+u.key),u.ref!==void 0&&(x=u.ref);for(p in u)i.call(u,p)&&!s.hasOwnProperty(p)&&(m[p]=u[p]);if(l&&l.defaultProps)for(p in u=l.defaultProps,u)m[p]===void 0&&(m[p]=u[p]);return{$$typeof:e,type:l,key:v,ref:x,props:m,_owner:r.current}}return Fm.Fragment=t,Fm.jsx=a,Fm.jsxs=a,Fm}var zm={};/** * @license React * react-jsx-runtime.development.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 JR;function D6(){return JR||(JR=1,process.env.NODE_ENV!=="production"&&(function(){var n=H,e=Symbol.for("react.element"),t=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen"),S=Symbol.iterator,C="@@iterator";function E(ne){if(ne===null||typeof ne!="object")return null;var Je=S&&ne[S]||ne[C];return typeof Je=="function"?Je:null}var w=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function R(ne){{for(var Je=arguments.length,bt=new Array(Je>1?Je-1:0),jt=1;jt<Je;jt++)bt[jt-1]=arguments[jt];A("error",ne,bt)}}function A(ne,Je,bt){{var jt=w.ReactDebugCurrentFrame,En=jt.getStackAddendum();En!==""&&(Je+="%s",bt=bt.concat([En]));var vn=bt.map(function(W){return String(W)});vn.unshift("Warning: "+Je),Function.prototype.apply.call(console[ne],console,vn)}}var L=!1,N=!1,k=!1,B=!1,j=!1,I;I=Symbol.for("react.module.reference");function F(ne){return!!(typeof ne=="string"||typeof ne=="function"||ne===i||ne===s||j||ne===r||ne===d||ne===p||B||ne===x||L||N||k||typeof ne=="object"&&ne!==null&&(ne.$$typeof===v||ne.$$typeof===m||ne.$$typeof===a||ne.$$typeof===l||ne.$$typeof===u||ne.$$typeof===I||ne.getModuleId!==void 0))}function q(ne,Je,bt){var jt=ne.displayName;if(jt)return jt;var En=Je.displayName||Je.name||"";return En!==""?bt+"("+En+")":bt}function ie(ne){return ne.displayName||"Context"}function he(ne){if(ne==null)return null;if(typeof ne.tag=="number"&&R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof ne=="function")return ne.displayName||ne.name||null;if(typeof ne=="string")return ne;switch(ne){case i:return"Fragment";case t:return"Portal";case s:return"Profiler";case r:return"StrictMode";case d:return"Suspense";case p:return"SuspenseList"}if(typeof ne=="object")switch(ne.$$typeof){case l:var Je=ne;return ie(Je)+".Consumer";case a:var bt=ne;return ie(bt._context)+".Provider";case u:return q(ne,ne.render,"ForwardRef");case m:var jt=ne.displayName||null;return jt!==null?jt:he(ne.type)||"Memo";case v:{var En=ne,vn=En._payload,W=En._init;try{return he(W(vn))}catch{return null}}}return null}var J=Object.assign,de=0,pe,le,te,re,Y,X,ae;function Se(){}Se.__reactDisabledLog=!0;function Te(){{if(de===0){pe=console.log,le=console.info,te=console.warn,re=console.error,Y=console.group,X=console.groupCollapsed,ae=console.groupEnd;var ne={configurable:!0,enumerable:!0,value:Se,writable:!0};Object.defineProperties(console,{info:ne,log:ne,warn:ne,error:ne,group:ne,groupCollapsed:ne,groupEnd:ne})}de++}}function Ne(){{if(de--,de===0){var ne={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:J({},ne,{value:pe}),info:J({},ne,{value:le}),warn:J({},ne,{value:te}),error:J({},ne,{value:re}),group:J({},ne,{value:Y}),groupCollapsed:J({},ne,{value:X}),groupEnd:J({},ne,{value:ae})})}de<0&&R("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Pe=w.ReactCurrentDispatcher,We;function Ze(ne,Je,bt){{if(We===void 0)try{throw Error()}catch(En){var jt=En.stack.trim().match(/\n( *(at )?)/);We=jt&&jt[1]||""}return` `+We+ne}}var tt=!1,dt;{var rt=typeof WeakMap=="function"?WeakMap:Map;dt=new rt}function $(ne,Je){if(!ne||tt)return"";{var bt=dt.get(ne);if(bt!==void 0)return bt}var jt;tt=!0;var En=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var vn;vn=Pe.current,Pe.current=null,Te();try{if(Je){var W=function(){throw Error()};if(Object.defineProperty(W.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(W,[])}catch(Lt){jt=Lt}Reflect.construct(ne,[],W)}else{try{W.call()}catch(Lt){jt=Lt}ne.call(W.prototype)}}else{try{throw Error()}catch(Lt){jt=Lt}ne()}}catch(Lt){if(Lt&&jt&&typeof Lt.stack=="string"){for(var oe=Lt.stack.split(` `),xe=jt.stack.split(` `),ye=oe.length-1,be=xe.length-1;ye>=1&&be>=0&&oe[ye]!==xe[be];)be--;for(;ye>=1&&be>=0;ye--,be--)if(oe[ye]!==xe[be]){if(ye!==1||be!==1)do if(ye--,be--,be<0||oe[ye]!==xe[be]){var st=` `+oe[ye].replace(" at new "," at ");return ne.displayName&&st.includes("<anonymous>")&&(st=st.replace("<anonymous>",ne.displayName)),typeof ne=="function"&&dt.set(ne,st),st}while(ye>=1&&be>=0);break}}}finally{tt=!1,Pe.current=vn,Ne(),Error.prepareStackTrace=En}var Nt=ne?ne.displayName||ne.name:"",It=Nt?Ze(Nt):"";return typeof ne=="function"&&dt.set(ne,It),It}function He(ne,Je,bt){return $(ne,!1)}function Re(ne){var Je=ne.prototype;return!!(Je&&Je.isReactComponent)}function Xe(ne,Je,bt){if(ne==null)return"";if(typeof ne=="function")return $(ne,Re(ne));if(typeof ne=="string")return Ze(ne);switch(ne){case d:return Ze("Suspense");case p:return Ze("SuspenseList")}if(typeof ne=="object")switch(ne.$$typeof){case u:return He(ne.render);case m:return Xe(ne.type,Je,bt);case v:{var jt=ne,En=jt._payload,vn=jt._init;try{return Xe(vn(En),Je,bt)}catch{}}}return""}var Ue=Object.prototype.hasOwnProperty,Mt={},ft=w.ReactDebugCurrentFrame;function gt(ne){if(ne){var Je=ne._owner,bt=Xe(ne.type,ne._source,Je?Je.type:null);ft.setExtraStackFrame(bt)}else ft.setExtraStackFrame(null)}function kt(ne,Je,bt,jt,En){{var vn=Function.call.bind(Ue);for(var W in ne)if(vn(ne,W)){var oe=void 0;try{if(typeof ne[W]!="function"){var xe=Error((jt||"React class")+": "+bt+" type `"+W+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof ne[W]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw xe.name="Invariant Violation",xe}oe=ne[W](Je,W,jt,bt,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ye){oe=ye}oe&&!(oe instanceof Error)&&(gt(En),R("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",jt||"React class",bt,W,typeof oe),gt(null)),oe instanceof Error&&!(oe.message in Mt)&&(Mt[oe.message]=!0,gt(En),R("Failed %s type: %s",bt,oe.message),gt(null))}}}var Ut=Array.isArray;function Mn(ne){return Ut(ne)}function Q(ne){{var Je=typeof Symbol=="function"&&Symbol.toStringTag,bt=Je&&ne[Symbol.toStringTag]||ne.constructor.name||"Object";return bt}}function z(ne){try{return ce(ne),!1}catch{return!0}}function ce(ne){return""+ne}function Be(ne){if(z(ne))return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Q(ne)),ce(ne)}var Oe=w.ReactCurrentOwner,$e={key:!0,ref:!0,__self:!0,__source:!0},Ct,ge;function Le(ne){if(Ue.call(ne,"ref")){var Je=Object.getOwnPropertyDescriptor(ne,"ref").get;if(Je&&Je.isReactWarning)return!1}return ne.ref!==void 0}function at(ne){if(Ue.call(ne,"key")){var Je=Object.getOwnPropertyDescriptor(ne,"key").get;if(Je&&Je.isReactWarning)return!1}return ne.key!==void 0}function ot(ne,Je){typeof ne.ref=="string"&&Oe.current}function Ge(ne,Je){{var bt=function(){Ct||(Ct=!0,R("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Je))};bt.isReactWarning=!0,Object.defineProperty(ne,"key",{get:bt,configurable:!0})}}function $t(ne,Je){{var bt=function(){ge||(ge=!0,R("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Je))};bt.isReactWarning=!0,Object.defineProperty(ne,"ref",{get:bt,configurable:!0})}}var qe=function(ne,Je,bt,jt,En,vn,W){var oe={$$typeof:e,type:ne,key:Je,ref:bt,props:W,_owner:vn};return oe._store={},Object.defineProperty(oe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(oe,"_self",{configurable:!1,enumerable:!1,writable:!1,value:jt}),Object.defineProperty(oe,"_source",{configurable:!1,enumerable:!1,writable:!1,value:En}),Object.freeze&&(Object.freeze(oe.props),Object.freeze(oe)),oe};function je(ne,Je,bt,jt,En){{var vn,W={},oe=null,xe=null;bt!==void 0&&(Be(bt),oe=""+bt),at(Je)&&(Be(Je.key),oe=""+Je.key),Le(Je)&&(xe=Je.ref,ot(Je,En));for(vn in Je)Ue.call(Je,vn)&&!$e.hasOwnProperty(vn)&&(W[vn]=Je[vn]);if(ne&&ne.defaultProps){var ye=ne.defaultProps;for(vn in ye)W[vn]===void 0&&(W[vn]=ye[vn])}if(oe||xe){var be=typeof ne=="function"?ne.displayName||ne.name||"Unknown":ne;oe&&Ge(W,be),xe&&$t(W,be)}return qe(ne,oe,xe,En,jt,Oe.current,W)}}var pt=w.ReactCurrentOwner,Ke=w.ReactDebugCurrentFrame;function Et(ne){if(ne){var Je=ne._owner,bt=Xe(ne.type,ne._source,Je?Je.type:null);Ke.setExtraStackFrame(bt)}else Ke.setExtraStackFrame(null)}var fe;fe=!1;function ht(ne){return typeof ne=="object"&&ne!==null&&ne.$$typeof===e}function nt(){{if(pt.current){var ne=he(pt.current.type);if(ne)return` Check the render method of \``+ne+"`."}return""}}function ke(ne){return""}var Fe={};function Ft(ne){{var Je=nt();if(!Je){var bt=typeof ne=="string"?ne:ne.displayName||ne.name;bt&&(Je=` Check the top-level render call using <`+bt+">.")}return Je}}function an(ne,Je){{if(!ne._store||ne._store.validated||ne.key!=null)return;ne._store.validated=!0;var bt=Ft(Je);if(Fe[bt])return;Fe[bt]=!0;var jt="";ne&&ne._owner&&ne._owner!==pt.current&&(jt=" It was passed a child from "+he(ne._owner.type)+"."),Et(ne),R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',bt,jt),Et(null)}}function Dn(ne,Je){{if(typeof ne!="object")return;if(Mn(ne))for(var bt=0;bt<ne.length;bt++){var jt=ne[bt];ht(jt)&&an(jt,Je)}else if(ht(ne))ne._store&&(ne._store.validated=!0);else if(ne){var En=E(ne);if(typeof En=="function"&&En!==ne.entries)for(var vn=En.call(ne),W;!(W=vn.next()).done;)ht(W.value)&&an(W.value,Je)}}}function ti(ne){{var Je=ne.type;if(Je==null||typeof Je=="string")return;var bt;if(typeof Je=="function")bt=Je.propTypes;else if(typeof Je=="object"&&(Je.$$typeof===u||Je.$$typeof===m))bt=Je.propTypes;else return;if(bt){var jt=he(Je);kt(bt,ne.props,"prop",jt,ne)}else if(Je.PropTypes!==void 0&&!fe){fe=!0;var En=he(Je);R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",En||"Unknown")}typeof Je.getDefaultProps=="function"&&!Je.getDefaultProps.isReactClassApproved&&R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ln(ne){{for(var Je=Object.keys(ne.props),bt=0;bt<Je.length;bt++){var jt=Je[bt];if(jt!=="children"&&jt!=="key"){Et(ne),R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",jt),Et(null);break}}ne.ref!==null&&(Et(ne),R("Invalid attribute `ref` supplied to `React.Fragment`."),Et(null))}}var Ti={};function Ci(ne,Je,bt,jt,En,vn){{var W=F(ne);if(!W){var oe="";(ne===void 0||typeof ne=="object"&&ne!==null&&Object.keys(ne).length===0)&&(oe+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var xe=ke();xe?oe+=xe:oe+=nt();var ye;ne===null?ye="null":Mn(ne)?ye="array":ne!==void 0&&ne.$$typeof===e?(ye="<"+(he(ne.type)||"Unknown")+" />",oe=" Did you accidentally export a JSX literal instead of a component?"):ye=typeof ne,R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ye,oe)}var be=je(ne,Je,bt,En,vn);if(be==null)return be;if(W){var st=Je.children;if(st!==void 0)if(jt)if(Mn(st)){for(var Nt=0;Nt<st.length;Nt++)Dn(st[Nt],ne);Object.freeze&&Object.freeze(st)}else R("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Dn(st,ne)}if(Ue.call(Je,"key")){var It=he(ne),Lt=Object.keys(Je).filter(function(Zt){return Zt!=="key"}),Yt=Lt.length>0?"{key: someKey, "+Lt.join(": ..., ")+": ...}":"{key: someKey}";if(!Ti[It+Yt]){var qt=Lt.length>0?"{"+Lt.join(": ..., ")+": ...}":"{}";R(`A props object containing a "key" prop is being spread into JSX: let props = %s; <%s {...props} /> React keys must be passed directly to JSX without using spread: let props = %s; <%s key={someKey} {...props} />`,Yt,It,qt,It),Ti[It+Yt]=!0}}return ne===i?ln(be):ti(be),be}}function Ua(ne,Je,bt){return Ci(ne,Je,bt,!0)}function il(ne,Je,bt){return Ci(ne,Je,bt,!1)}var Gs=il,ri=Ua;zm.Fragment=i,zm.jsx=Gs,zm.jsxs=ri})()),zm}var QR;function N6(){return QR||(QR=1,process.env.NODE_ENV==="production"?Sy.exports=P6():Sy.exports=D6()),Sy.exports}var _=N6();function N5(n){var e,t,i="";if(typeof n=="string"||typeof n=="number")i+=n;else if(typeof n=="object")if(Array.isArray(n)){var r=n.length;for(e=0;e<r;e++)n[e]&&(t=N5(n[e]))&&(i&&(i+=" "),i+=t)}else for(t in n)n[t]&&(i&&(i+=" "),i+=t);return i}function L5(){for(var n,e,t=0,i="",r=arguments.length;t<r;t++)(n=arguments[t])&&(e=N5(n))&&(i&&(i+=" "),i+=e);return i}const WE="-",L6=n=>{const e=I6(n),{conflictingClassGroups:t,conflictingClassGroupModifiers:i}=n;return{getClassGroupId:a=>{const l=a.split(WE);return l[0]===""&&l.length!==1&&l.shift(),k5(l,e)||k6(a)},getConflictingClassGroupIds:(a,l)=>{const u=t[a]||[];return l&&i[a]?[...u,...i[a]]:u}}},k5=(n,e)=>{if(n.length===0)return e.classGroupId;const t=n[0],i=e.nextPart.get(t),r=i?k5(n.slice(1),i):void 0;if(r)return r;if(e.validators.length===0)return;const s=n.join(WE);return e.validators.find(({validator:a})=>a(s))?.classGroupId},e3=/^\[(.+)\]$/,k6=n=>{if(e3.test(n)){const e=e3.exec(n)[1],t=e?.substring(0,e.indexOf(":"));if(t)return"arbitrary.."+t}},I6=n=>{const{theme:e,prefix:t}=n,i={nextPart:new Map,validators:[]};return U6(Object.entries(n.classGroups),t).forEach(([s,a])=>{sM(a,i,s,e)}),i},sM=(n,e,t,i)=>{n.forEach(r=>{if(typeof r=="string"){const s=r===""?e:t3(e,r);s.classGroupId=t;return}if(typeof r=="function"){if(O6(r)){sM(r(i),e,t,i);return}e.validators.push({validator:r,classGroupId:t});return}Object.entries(r).forEach(([s,a])=>{sM(a,t3(e,s),t,i)})})},t3=(n,e)=>{let t=n;return e.split(WE).forEach(i=>{t.nextPart.has(i)||t.nextPart.set(i,{nextPart:new Map,validators:[]}),t=t.nextPart.get(i)}),t},O6=n=>n.isThemeGetter,U6=(n,e)=>e?n.map(([t,i])=>{const r=i.map(s=>typeof s=="string"?e+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,l])=>[e+a,l])):s);return[t,r]}):n,F6=n=>{if(n<1)return{get:()=>{},set:()=>{}};let e=0,t=new Map,i=new Map;const r=(s,a)=>{t.set(s,a),e++,e>n&&(e=0,i=t,t=new Map)};return{get(s){let a=t.get(s);if(a!==void 0)return a;if((a=i.get(s))!==void 0)return r(s,a),a},set(s,a){t.has(s)?t.set(s,a):r(s,a)}}},I5="!",z6=n=>{const{separator:e,experimentalParseClassName:t}=n,i=e.length===1,r=e[0],s=e.length,a=l=>{const u=[];let d=0,p=0,m;for(let E=0;E<l.length;E++){let w=l[E];if(d===0){if(w===r&&(i||l.slice(E,E+s)===e)){u.push(l.slice(p,E)),p=E+s;continue}if(w==="/"){m=E;continue}}w==="["?d++:w==="]"&&d--}const v=u.length===0?l:l.substring(p),x=v.startsWith(I5),S=x?v.substring(1):v,C=m&&m>p?m-p:void 0;return{modifiers:u,hasImportantModifier:x,baseClassName:S,maybePostfixModifierPosition:C}};return t?l=>t({className:l,parseClassName:a}):a},B6=n=>{if(n.length<=1)return n;const e=[];let t=[];return n.forEach(i=>{i[0]==="["?(e.push(...t.sort(),i),t=[]):t.push(i)}),e.push(...t.sort()),e},V6=n=>({cache:F6(n.cacheSize),parseClassName:z6(n),...L6(n)}),j6=/\s+/,H6=(n,e)=>{const{parseClassName:t,getClassGroupId:i,getConflictingClassGroupIds:r}=e,s=[],a=n.trim().split(j6);let l="";for(let u=a.length-1;u>=0;u-=1){const d=a[u],{modifiers:p,hasImportantModifier:m,baseClassName:v,maybePostfixModifierPosition:x}=t(d);let S=!!x,C=i(S?v.substring(0,x):v);if(!C){if(!S){l=d+(l.length>0?" "+l:l);continue}if(C=i(v),!C){l=d+(l.length>0?" "+l:l);continue}S=!1}const E=B6(p).join(":"),w=m?E+I5:E,R=w+C;if(s.includes(R))continue;s.push(R);const A=r(C,S);for(let L=0;L<A.length;++L){const N=A[L];s.push(w+N)}l=d+(l.length>0?" "+l:l)}return l};function G6(){let n=0,e,t,i="";for(;n<arguments.length;)(e=arguments[n++])&&(t=O5(e))&&(i&&(i+=" "),i+=t);return i}const O5=n=>{if(typeof n=="string")return n;let e,t="";for(let i=0;i<n.length;i++)n[i]&&(e=O5(n[i]))&&(t&&(t+=" "),t+=e);return t};function W6(n,...e){let t,i,r,s=a;function a(u){const d=e.reduce((p,m)=>m(p),n());return t=V6(d),i=t.cache.get,r=t.cache.set,s=l,l(u)}function l(u){const d=i(u);if(d)return d;const p=H6(u,t);return r(u,p),p}return function(){return s(G6.apply(null,arguments))}}const li=n=>{const e=t=>t[n]||[];return e.isThemeGetter=!0,e},U5=/^\[(?:([a-z-]+):)?(.+)\]$/i,X6=/^\d+\/\d+$/,$6=new Set(["px","full","screen"]),Y6=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,q6=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,K6=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Z6=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,J6=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Tl=n=>Yh(n)||$6.has(n)||X6.test(n),Lc=n=>cp(n,"length",a8),Yh=n=>!!n&&!Number.isNaN(Number(n)),CS=n=>cp(n,"number",Yh),Bm=n=>!!n&&Number.isInteger(Number(n)),Q6=n=>n.endsWith("%")&&Yh(n.slice(0,-1)),pn=n=>U5.test(n),kc=n=>Y6.test(n),e8=new Set(["length","size","percentage"]),t8=n=>cp(n,e8,F5),n8=n=>cp(n,"position",F5),i8=new Set(["image","url"]),r8=n=>cp(n,i8,l8),s8=n=>cp(n,"",o8),Vm=()=>!0,cp=(n,e,t)=>{const i=U5.exec(n);return i?i[1]?typeof e=="string"?i[1]===e:e.has(i[1]):t(i[2]):!1},a8=n=>q6.test(n)&&!K6.test(n),F5=()=>!1,o8=n=>Z6.test(n),l8=n=>J6.test(n),c8=()=>{const n=li("colors"),e=li("spacing"),t=li("blur"),i=li("brightness"),r=li("borderColor"),s=li("borderRadius"),a=li("borderSpacing"),l=li("borderWidth"),u=li("contrast"),d=li("grayscale"),p=li("hueRotate"),m=li("invert"),v=li("gap"),x=li("gradientColorStops"),S=li("gradientColorStopPositions"),C=li("inset"),E=li("margin"),w=li("opacity"),R=li("padding"),A=li("saturate"),L=li("scale"),N=li("sepia"),k=li("skew"),B=li("space"),j=li("translate"),I=()=>["auto","contain","none"],F=()=>["auto","hidden","clip","visible","scroll"],q=()=>["auto",pn,e],ie=()=>[pn,e],he=()=>["",Tl,Lc],J=()=>["auto",Yh,pn],de=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],pe=()=>["solid","dashed","dotted","double","none"],le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],te=()=>["start","end","center","between","around","evenly","stretch"],re=()=>["","0",pn],Y=()=>["auto","avoid","all","avoid-page","page","left","right","column"],X=()=>[Yh,pn];return{cacheSize:500,separator:":",theme:{colors:[Vm],spacing:[Tl,Lc],blur:["none","",kc,pn],brightness:X(),borderColor:[n],borderRadius:["none","","full",kc,pn],borderSpacing:ie(),borderWidth:he(),contrast:X(),grayscale:re(),hueRotate:X(),invert:re(),gap:ie(),gradientColorStops:[n],gradientColorStopPositions:[Q6,Lc],inset:q(),margin:q(),opacity:X(),padding:ie(),saturate:X(),scale:X(),sepia:re(),skew:X(),space:ie(),translate:ie()},classGroups:{aspect:[{aspect:["auto","square","video",pn]}],container:["container"],columns:[{columns:[kc]}],"break-after":[{"break-after":Y()}],"break-before":[{"break-before":Y()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...de(),pn]}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:I()}],"overscroll-x":[{"overscroll-x":I()}],"overscroll-y":[{"overscroll-y":I()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[C]}],"inset-x":[{"inset-x":[C]}],"inset-y":[{"inset-y":[C]}],start:[{start:[C]}],end:[{end:[C]}],top:[{top:[C]}],right:[{right:[C]}],bottom:[{bottom:[C]}],left:[{left:[C]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Bm,pn]}],basis:[{basis:q()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",pn]}],grow:[{grow:re()}],shrink:[{shrink:re()}],order:[{order:["first","last","none",Bm,pn]}],"grid-cols":[{"grid-cols":[Vm]}],"col-start-end":[{col:["auto",{span:["full",Bm,pn]},pn]}],"col-start":[{"col-start":J()}],"col-end":[{"col-end":J()}],"grid-rows":[{"grid-rows":[Vm]}],"row-start-end":[{row:["auto",{span:[Bm,pn]},pn]}],"row-start":[{"row-start":J()}],"row-end":[{"row-end":J()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",pn]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",pn]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...te()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...te(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...te(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[R]}],px:[{px:[R]}],py:[{py:[R]}],ps:[{ps:[R]}],pe:[{pe:[R]}],pt:[{pt:[R]}],pr:[{pr:[R]}],pb:[{pb:[R]}],pl:[{pl:[R]}],m:[{m:[E]}],mx:[{mx:[E]}],my:[{my:[E]}],ms:[{ms:[E]}],me:[{me:[E]}],mt:[{mt:[E]}],mr:[{mr:[E]}],mb:[{mb:[E]}],ml:[{ml:[E]}],"space-x":[{"space-x":[B]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[B]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",pn,e]}],"min-w":[{"min-w":[pn,e,"min","max","fit"]}],"max-w":[{"max-w":[pn,e,"none","full","min","max","fit","prose",{screen:[kc]},kc]}],h:[{h:[pn,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[pn,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[pn,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[pn,e,"auto","min","max","fit"]}],"font-size":[{text:["base",kc,Lc]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",CS]}],"font-family":[{font:[Vm]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",pn]}],"line-clamp":[{"line-clamp":["none",Yh,CS]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Tl,pn]}],"list-image":[{"list-image":["none",pn]}],"list-style-type":[{list:["none","disc","decimal",pn]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...pe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Tl,Lc]}],"underline-offset":[{"underline-offset":["auto",Tl,pn]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ie()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",pn]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",pn]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...de(),n8]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",t8]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},r8]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...pe(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:pe()}],"border-color":[{border:[r]}],"border-color-x":[{"border-x":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...pe()]}],"outline-offset":[{"outline-offset":[Tl,pn]}],"outline-w":[{outline:[Tl,Lc]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[Tl,Lc]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",kc,s8]}],"shadow-color":[{shadow:[Vm]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...le(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":le()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[i]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",kc,pn]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[m]}],saturate:[{saturate:[A]}],sepia:[{sepia:[N]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[i]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[A]}],"backdrop-sepia":[{"backdrop-sepia":[N]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",pn]}],duration:[{duration:X()}],ease:[{ease:["linear","in","out","in-out",pn]}],delay:[{delay:X()}],animate:[{animate:["none","spin","ping","pulse","bounce",pn]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[Bm,pn]}],"translate-x":[{"translate-x":[j]}],"translate-y":[{"translate-y":[j]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",pn]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",pn]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ie()}],"scroll-mx":[{"scroll-mx":ie()}],"scroll-my":[{"scroll-my":ie()}],"scroll-ms":[{"scroll-ms":ie()}],"scroll-me":[{"scroll-me":ie()}],"scroll-mt":[{"scroll-mt":ie()}],"scroll-mr":[{"scroll-mr":ie()}],"scroll-mb":[{"scroll-mb":ie()}],"scroll-ml":[{"scroll-ml":ie()}],"scroll-p":[{"scroll-p":ie()}],"scroll-px":[{"scroll-px":ie()}],"scroll-py":[{"scroll-py":ie()}],"scroll-ps":[{"scroll-ps":ie()}],"scroll-pe":[{"scroll-pe":ie()}],"scroll-pt":[{"scroll-pt":ie()}],"scroll-pr":[{"scroll-pr":ie()}],"scroll-pb":[{"scroll-pb":ie()}],"scroll-pl":[{"scroll-pl":ie()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",pn]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[Tl,Lc,CS]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},XE=W6(c8);function ve(...n){return XE(L5(n))}const u8=n=>{const[e,t]=H.useState(0);return H.useEffect(()=>{const i=()=>{if(n.target.current){const r=n.target.current.getBoundingClientRect(),s=window.pageYOffset||document.documentElement.scrollTop,a=r.top+s,l=r.height,u=window.innerHeight,d=Math.max(0,Math.min(1,(s-a+u)/(l+u)));t(d)}};return window.addEventListener("scroll",i),i(),()=>window.removeEventListener("scroll",i)},[n.target]),{scrollYProgress:e}},rh=(n,e,t)=>{const[i,r]=H.useState(t[0]);return H.useEffect(()=>{const[s,a]=e,[l,u]=t;if(n<=s)r(l);else if(n>=a)r(u);else{const d=(n-s)/(a-s);r(l+d*(u-l))}},[n,e,t]),i},d8=({className:n})=>_.jsx("svg",{className:ve("h-4 w-4",n),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:_.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"})}),f8=({className:n})=>_.jsx("svg",{className:ve("h-4 w-4",n),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:_.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"})}),h8=({className:n})=>_.jsx("svg",{className:ve("h-4 w-4",n),fill:"currentColor",viewBox:"0 0 16 16",children:_.jsx("path",{d:"m12.14 8.753-5.482 4.796c-.646.566-1.658.106-1.658-.753V3.204a1 1 0 0 1 1.659-.753l5.48 4.796a1 1 0 0 1 0 1.506z"})}),p8=({className:n})=>_.jsx("svg",{className:ve("h-4 w-4",n),fill:"currentColor",viewBox:"0 0 16 16",children:_.jsx("path",{d:"m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z"})}),m8=({className:n})=>_.jsx("svg",{className:ve("h-4 w-4",n),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:_.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 15l7-7 7 7"})}),g8=({className:n})=>_.jsx("svg",{className:ve("h-4 w-4",n),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:_.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 11a7 7 0 01-7 7m0 0a7 7 0 01-7-7m7 7v4m0 0H8m4 0h4m-4-8a3 3 0 01-3-3V5a3 3 0 116 0v6a3 3 0 01-3 3z"})}),v8=({className:n})=>_.jsx("svg",{className:ve("h-4 w-4",n),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:_.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"})}),y8=({className:n})=>_.jsx("svg",{className:ve("h-4 w-4",n),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:_.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})}),x8=({className:n})=>_.jsx("svg",{className:ve("h-4 w-4",n),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:_.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 19V6l12-3v13M9 19c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2zm12-3c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2zM9 10l12-3"})}),b8=({className:n})=>_.jsx("svg",{className:ve("h-4 w-4",n),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:_.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})}),_8=({className:n})=>_.jsx("svg",{className:ve("h-4 w-4",n),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:_.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 10h18M3 14h18m-9-4v8m-7 0h14a2 2 0 002-2V8a2 2 0 00-2-2H6a2 2 0 00-2 2v8a2 2 0 002 2z"})}),S8=({className:n})=>_.jsx("svg",{className:ve("h-4 w-4",n),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:_.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15.536 8.464a5 5 0 010 7.072m2.828-9.9a9 9 0 010 12.728M5.586 15H4a1 1 0 01-1-1v-4a1 1 0 011-1h1.586l4.707-4.707C10.923 3.663 12 4.109 12 5v14c0 .891-1.077 1.337-1.707.707L5.586 15z"})}),w8=({className:n})=>_.jsx("svg",{className:ve("h-4 w-4",n),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:_.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15.536 8.464a5 5 0 010 7.072m2.828-9.9a9 9 0 010 12.728M5.586 15H4a1 1 0 01-1-1v-4a1 1 0 011-1h1.586l4.707-4.707C10.923 3.663 12 4.109 12 5v14c0 .891-1.077 1.337-1.707.707L5.586 15z"})}),M8=({className:n})=>_.jsx("svg",{className:ve("h-4 w-4",n),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:_.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15.536 8.464a5 5 0 010 7.072m2.828-9.9a9 9 0 010 12.728M5.586 15H4a1 1 0 01-1-1v-4a1 1 0 011-1h1.586l4.707-4.707C10.923 3.663 12 4.109 12 5v14c0 .891-1.077 1.337-1.707.707L5.586 15z"})}),E8=({className:n})=>_.jsx("svg",{className:ve("h-4 w-4",n),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:_.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),T8=({className:n})=>_.jsx("svg",{className:ve("h-4 w-4",n),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:_.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2 2 2 0 012 2v2.945M8 3.935V5.5A2.5 2.5 0 0010.5 8h.5a2 2 0 012 2 2 2 0 104 0 2 2 0 012-2h1.064M15 20.488V18a2 2 0 012-2h3.064M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),n3=({className:n})=>_.jsx("svg",{className:ve("h-4 w-4",n),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:_.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})}),C8=({className:n})=>_.jsx("svg",{className:ve("h-4 w-4",n),fill:"currentColor",viewBox:"0 0 16 16",children:_.jsx("path",{d:"m3.86 8.753 5.482 4.796c.646.566 1.658.106 1.658-.753V3.204a1 1 0 0 0-1.659-.753l-5.48 4.796a1 1 0 0 0 0 1.506z"})}),A8=({className:n})=>_.jsx("svg",{className:ve("h-4 w-4",n),fill:"currentColor",viewBox:"0 0 16 16",children:_.jsx("path",{d:"M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"})}),R8=({src:n,showGradient:e,title:t,badge:i})=>{const r=H.useRef(null),{scrollYProgress:s}=u8({target:r}),[a,l]=H.useState(!1);H.useEffect(()=>{typeof window<"u"&&window.innerWidth<768&&l(!0)},[]);const u=rh(s,[0,.3],[1.2,a?1:1.5]),d=rh(s,[0,.3],[.6,a?1:1.5]),p=rh(s,[0,1],[0,1500]),m=rh(s,[.1,.3],[-28,0]),v=rh(s,[0,.3],[0,100]),x=rh(s,[0,.2],[1,0]);return _.jsxs("div",{ref:r,className:"flex min-h-[200vh] shrink-0 scale-[0.35] transform flex-col items-center justify-start py-0 [perspective:800px] sm:scale-50 md:scale-100 md:py-80",children:[_.jsx("div",{style:{transform:`translateY(${v}px)`,opacity:x},className:"mb-20 text-center text-3xl font-bold text-neutral-800 dark:text-white",children:t||_.jsxs("span",{children:["This Macbook is built with Tailwindcss. ",_.jsx("br",{})," No kidding."]})}),_.jsx(P8,{src:n,scaleX:u,scaleY:d,rotate:m,translate:p}),_.jsxs("div",{className:"relative -z-10 h-[22rem] w-[32rem] overflow-hidden rounded-2xl bg-gray-200 dark:bg-[#272729]",children:[_.jsx("div",{className:"relative h-10 w-full",children:_.jsx("div",{className:"absolute inset-x-0 mx-auto h-4 w-[80%] bg-[#050505]"})}),_.jsxs("div",{className:"relative flex",children:[_.jsx("div",{className:"mx-auto h-full w-[10%] overflow-hidden",children:_.jsx(i3,{})}),_.jsx("div",{className:"mx-auto h-full w-[80%]",children:_.jsx(N8,{})}),_.jsx("div",{className:"mx-auto h-full w-[10%] overflow-hidden",children:_.jsx(i3,{})})]}),_.jsx(D8,{}),_.jsx("div",{className:"absolute inset-x-0 bottom-0 mx-auto h-2 w-20 rounded-tl-3xl rounded-tr-3xl bg-gradient-to-t from-[#272729] to-[#050505]"}),e&&_.jsx("div",{className:"absolute inset-x-0 bottom-0 z-50 h-40 w-full bg-gradient-to-t from-white via-white to-transparent dark:from-black dark:via-black"}),i&&_.jsx("div",{className:"absolute bottom-4 left-4",children:i})]})]})},P8=({scaleX:n,scaleY:e,rotate:t,translate:i,src:r})=>_.jsxs("div",{className:"relative [perspective:800px]",children:[_.jsx("div",{style:{transform:"perspective(800px) rotateX(-25deg) translateZ(0px)",transformOrigin:"bottom",transformStyle:"preserve-3d"},className:"relative h-[12rem] w-[32rem] rounded-2xl bg-[#010101] p-2",children:_.jsx("div",{style:{boxShadow:"0px 2px 0px 2px #171717 inset"},className:"absolute inset-0 flex items-center justify-center rounded-lg bg-[#010101]",children:_.jsx("span",{className:"text-white",children:_.jsx(L8,{})})})}),_.jsxs("div",{style:{transform:`scaleX(${n}) scaleY(${e}) rotateX(${t}deg) translateY(${i}px)`,transformStyle:"preserve-3d",transformOrigin:"top"},className:"absolute inset-0 h-96 w-[32rem] rounded-2xl bg-[#010101] p-2",children:[_.jsx("div",{className:"absolute inset-0 rounded-lg bg-[#272729]"}),r&&_.jsx("img",{src:r,alt:"macbook screen",className:"absolute inset-0 h-full w-full rounded-lg object-cover object-left-top"})]})]}),D8=()=>_.jsx("div",{className:"mx-auto my-1 h-32 w-[40%] rounded-xl",style:{boxShadow:"0px 0px 1px 1px #00000020 inset"}}),N8=()=>_.jsxs("div",{className:"mx-1 h-full [transform:translateZ(0)] rounded-md bg-[#050505] p-1 [will-change:transform]",children:[_.jsxs("div",{className:"mb-[2px] flex w-full shrink-0 gap-[2px]",children:[_.jsx(yt,{className:"w-10 items-end justify-start pb-[2px] pl-[4px]",childrenClassName:"items-start",children:"esc"}),_.jsxs(yt,{children:[_.jsx(d8,{className:"h-[6px] w-[6px]"}),_.jsx("span",{className:"mt-1 inline-block",children:"F1"})]}),_.jsxs(yt,{children:[_.jsx(f8,{className:"h-[6px] w-[6px]"}),_.jsx("span",{className:"mt-1 inline-block",children:"F2"})]}),_.jsxs(yt,{children:[_.jsx(_8,{className:"h-[6px] w-[6px]"}),_.jsx("span",{className:"mt-1 inline-block",children:"F3"})]}),_.jsxs(yt,{children:[_.jsx(E8,{className:"h-[6px] w-[6px]"}),_.jsx("span",{className:"mt-1 inline-block",children:"F4"})]}),_.jsxs(yt,{children:[_.jsx(g8,{className:"h-[6px] w-[6px]"}),_.jsx("span",{className:"mt-1 inline-block",children:"F5"})]}),_.jsxs(yt,{children:[_.jsx(v8,{className:"h-[6px] w-[6px]"}),_.jsx("span",{className:"mt-1 inline-block",children:"F6"})]}),_.jsxs(yt,{children:[_.jsx(b8,{className:"h-[6px] w-[6px]"}),_.jsx("span",{className:"mt-1 inline-block",children:"F7"})]}),_.jsxs(yt,{children:[_.jsx(y8,{className:"h-[6px] w-[6px]"}),_.jsx("span",{className:"mt-1 inline-block",children:"F8"})]}),_.jsxs(yt,{children:[_.jsx(x8,{className:"h-[6px] w-[6px]"}),_.jsx("span",{className:"mt-1 inline-block",children:"F9"})]}),_.jsxs(yt,{children:[_.jsx(M8,{className:"h-[6px] w-[6px]"}),_.jsx("span",{className:"mt-1 inline-block",children:"F10"})]}),_.jsxs(yt,{children:[_.jsx(w8,{className:"h-[6px] w-[6px]"}),_.jsx("span",{className:"mt-1 inline-block",children:"F11"})]}),_.jsxs(yt,{children:[_.jsx(S8,{className:"h-[6px] w-[6px]"}),_.jsx("span",{className:"mt-1 inline-block",children:"F12"})]}),_.jsx(yt,{children:_.jsx("div",{className:"h-4 w-4 rounded-full bg-gradient-to-b from-neutral-900 from-20% via-black via-50% to-neutral-900 to-95% p-px",children:_.jsx("div",{className:"h-full w-full rounded-full bg-black"})})})]}),_.jsxs("div",{className:"mb-[2px] flex w-full shrink-0 gap-[2px]",children:[_.jsxs(yt,{children:[_.jsx("span",{className:"block",children:"~"}),_.jsx("span",{className:"mt-1 block",children:"`"})]}),_.jsxs(yt,{children:[_.jsx("span",{className:"block",children:"!"}),_.jsx("span",{className:"block",children:"1"})]}),_.jsxs(yt,{children:[_.jsx("span",{className:"block",children:"@"}),_.jsx("span",{className:"block",children:"2"})]}),_.jsxs(yt,{children:[_.jsx("span",{className:"block",children:"#"}),_.jsx("span",{className:"block",children:"3"})]}),_.jsxs(yt,{children:[_.jsx("span",{className:"block",children:"$"}),_.jsx("span",{className:"block",children:"4"})]}),_.jsxs(yt,{children:[_.jsx("span",{className:"block",children:"%"}),_.jsx("span",{className:"block",children:"5"})]}),_.jsxs(yt,{children:[_.jsx("span",{className:"block",children:"^"}),_.jsx("span",{className:"block",children:"6"})]}),_.jsxs(yt,{children:[_.jsx("span",{className:"block",children:"&"}),_.jsx("span",{className:"block",children:"7"})]}),_.jsxs(yt,{children:[_.jsx("span",{className:"block",children:"*"}),_.jsx("span",{className:"block",children:"8"})]}),_.jsxs(yt,{children:[_.jsx("span",{className:"block",children:"("}),_.jsx("span",{className:"block",children:"9"})]}),_.jsxs(yt,{children:[_.jsx("span",{className:"block",children:")"}),_.jsx("span",{className:"block",children:"0"})]}),_.jsxs(yt,{children:[_.jsx("span",{className:"block",children:"—"}),_.jsx("span",{className:"block",children:"_"})]}),_.jsxs(yt,{children:[_.jsx("span",{className:"block",children:"+"}),_.jsx("span",{className:"block",children:" = "})]}),_.jsx(yt,{className:"w-10 items-end justify-end pr-[4px] pb-[2px]",childrenClassName:"items-end",children:"delete"})]}),_.jsxs("div",{className:"mb-[2px] flex w-full shrink-0 gap-[2px]",children:[_.jsx(yt,{className:"w-10 items-end justify-start pb-[2px] pl-[4px]",childrenClassName:"items-start",children:"tab"}),_.jsx(yt,{children:_.jsx("span",{className:"block",children:"Q"})}),_.jsx(yt,{children:_.jsx("span",{className:"block",children:"W"})}),_.jsx(yt,{children:_.jsx("span",{className:"block",children:"E"})}),_.jsx(yt,{children:_.jsx("span",{className:"block",children:"R"})}),_.jsx(yt,{children:_.jsx("span",{className:"block",children:"T"})}),_.jsx(yt,{children:_.jsx("span",{className:"block",children:"Y"})}),_.jsx(yt,{children:_.jsx("span",{className:"block",children:"U"})}),_.jsx(yt,{children:_.jsx("span",{className:"block",children:"I"})}),_.jsx(yt,{children:_.jsx("span",{className:"block",children:"O"})}),_.jsx(yt,{children:_.jsx("span",{className:"block",children:"P"})}),_.jsxs(yt,{children:[_.jsx("span",{className:"block",children:"{"}),_.jsx("span",{className:"block",children:"["})]}),_.jsxs(yt,{children:[_.jsx("span",{className:"block",children:"}"}),_.jsx("span",{className:"block",children:"]"})]}),_.jsxs(yt,{children:[_.jsx("span",{className:"block",children:"|"}),_.jsx("span",{className:"block",children:"\\"})]})]}),_.jsxs("div",{className:"mb-[2px] flex w-full shrink-0 gap-[2px]",children:[_.jsx(yt,{className:"w-[2.8rem] items-end justify-start pb-[2px] pl-[4px]",childrenClassName:"items-start",children:"caps lock"}),_.jsx(yt,{children:_.jsx("span",{className:"block",children:"A"})}),_.jsx(yt,{children:_.jsx("span",{className:"block",children:"S"})}),_.jsx(yt,{children:_.jsx("span",{className:"block",children:"D"})}),_.jsx(yt,{children:_.jsx("span",{className:"block",children:"F"})}),_.jsx(yt,{children:_.jsx("span",{className:"block",children:"G"})}),_.jsx(yt,{children:_.jsx("span",{className:"block",children:"H"})}),_.jsx(yt,{children:_.jsx("span",{className:"block",children:"J"})}),_.jsx(yt,{children:_.