PageSourceSearch

https://musiceleven.ai/_next/static/immutable/chunks/0w262ktjxratz.js

js musiceleven.ai collected 2026-10-05 12:49:23 UTC 25,664 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,981140,e=>{"use strict";var t=Object.defineProperty,r=(e,r)=>t(e,"name",{value:r,configurable:!0}),n=!!("u">typeof window&&window.document&&window.document.createElement);function i(e,t,{checkForDefaultPrevented:n=!0}={}){return r(function(r){if(e?.(r),!1===n||!r||!r.defaultPrevented)return t?.(r)},"handleEvent")}function o(e){if(!n)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function s(e){return"IFRAME"===e.tagName}r(i,"composeEventHandlers"),r(function(e){if(!n)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),r(o,"getOwnerDocument"),r(function e(t,r=!1){let{activeElement:n}=o(t);if(!n?.nodeName)return null;if(s(n)&&n.contentDocument)return e(n.contentDocument.body,r);if(r){let e=n.getAttribute("aria-activedescendant");if(e){let t=o(n).getElementById(e);if(t)return t}}return n},"getActiveElement"),r(s,"isFrame"),e.s(["composeEventHandlers",0,i])},75830,e=>{"use strict";var t=e.i(271645),r=e.i(30030),n=e.i(820783),i=e.i(991918),o=e.i(843476),s=Object.defineProperty,u=(e,t)=>s(e,"name",{value:t,configurable:!0});function l(e){let s=e+"CollectionProvider",[l,a]=(0,r.createContextScope)(s),[c,f]=l(s,{collectionRef:{current:null},itemMap:new Map}),d=u(e=>{let{scope:r,children:n}=e,i=t.useRef(null),s=t.useRef(new Map).current;return(0,o.jsx)(c,{scope:r,itemMap:s,collectionRef:i,children:n})},"CollectionProvider");d.displayName=s;let p=e+"CollectionSlot",m=(0,i.createSlot)(p),h=t.forwardRef((e,t)=>{let{scope:r,children:i}=e,s=f(p,r),u=(0,n.useComposedRefs)(t,s.collectionRef);return(0,o.jsx)(m,{ref:u,children:i})});h.displayName=p;let v=e+"CollectionItemSlot",y="data-radix-collection-item",b=(0,i.createSlot)(v),g=t.forwardRef((e,r)=>{let{scope:i,children:s,...u}=e,l=t.useRef(null),a=(0,n.useComposedRefs)(r,l),c=f(v,i);return t.useEffect(()=>(c.itemMap.set(l,{ref:l,...u}),()=>void c.itemMap.delete(l))),(0,o.jsx)(b,{...{[y]:""},ref:a,children:s})});function w(r){let n=f(e+"CollectionConsumer",r);return t.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${y}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])}return g.displayName=v,u(w,"useCollection"),[{Provider:d,Slot:h,ItemSlot:g},w,a]}u(l,"createCollection");var a=new WeakMap,c=class e extends Map{static{u(this,"OrderedDict")}#e;constructor(e){super(e),this.#e=[...super.keys()],a.set(this,!0)}set(e,t){return a.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,i=this.has(t),o=this.#e.length,s=p(e),u=s>=0?s:o+s,l=u<0||u>=o?-1:u;if(l===this.size||i&&l===this.size-1||-1===l)return this.set(t,r),this;let a=this.size+ +!i;s<0&&u++;let c=[...this.#e],f=!1;for(let e=u;e<a;e++)if(u===e){let o=c[e];c[e]===t&&(o=c[e+1]),i&&this.delete(t),n=this.get(o),this.set(t,r)}else{f||c[e-1]!==t||(f=!0);let r=c[f?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=f(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=f(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return f(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(...e){let[t,r]=e,n=0,i=r??this.at(0);for(let r of this)i=0===n&&1===e.length?r:Reflect.apply(t,this,[i,r,n,this]),n++;return i}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);
1n=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[n,i,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}};function f(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=d(e,t);return -1===r?void 0:e[r]}function d(e,t){let r=e.length,n=p(t),i=n>=0?n:r+n;return i<0||i>=r?-1:i}function p(e){return e!=e||0===e?0:Math.trunc(e)}function m(e,t){if(e===t)return!0;if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let n of r)if(!Object.prototype.hasOwnProperty.call(t,n)||e[n]!==t[n])return!1;return!0}function h(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function v(e,t){return e[1].element&&t[1].element?h(e[1].element,t[1].element)?-1:1:0}function y(e){return new MutationObserver(t=>{for(let r of t)if("childList"===r.type)return void e()})}u(f,"at"),u(d,"toSafeIndex"),u(p,"toSafeInteger"),u(function(e){let s=e+"CollectionProvider",[l,a]=(0,r.createContextScope)(s),[f,d]=l(s,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new c,setItemMap:u(()=>void 0,"setItemMap")}),p=u(({state:e,...t})=>e?(0,o.jsx)(b,{...t,state:e}):(0,o.jsx)(h,{...t}),"CollectionProvider");p.displayName=s;let h=u(e=>{let t=S();return(0,o.jsx)(b,{...e,state:t})},"CollectionInit");h.displayName=s+"Init";let b=u(e=>{let{scope:r,children:i,state:s}=e,u=t.useRef(null),[l,a]=t.useState(null),c=(0,n.useComposedRefs)(u,a),[d,p]=s;return t.useEffect(()=>{if(!l)return;let e=y(()=>{});return e.observe(l,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[l]),(0,o.jsx)(f,{scope:r,itemMap:d,setItemMap:p,collectionRef:c,collectionRefObject:u,collectionElement:l,children:i})},"CollectionProviderImpl");b.displayName=s+"Impl";let g=e+"CollectionSlot",w=(0,i.createSlot)(g),C=t.forwardRef((e,t)=>{let{scope:r,children:i}=e,s=d(g,r),u=(0,n.useComposedRefs)(t,s.collectionRef);return(0,o.jsx)(w,{ref:u,children:i})});C.displayName=g;let x=e+"CollectionItemSlot",R=(0,i.createSlot)(x),E=t.forwardRef((e,r)=>{let{scope:i,children:s,...u}=e,l=t.useRef(null),[a,f]=t.useState(null),p=(0,n.useComposedRefs)(r,l,f),{setItemMap:h}=d(x,i),y=t.useRef(u);m(y.current,u)||(y.current=u);let b=y.current;return t.useEffect(()=>(h(e=>a?e.has(a)?e.set(a,{...b,element:a}).toSorted(v):(e.set(a,{...b,element:a}),e.toSorted(v)):e),()=>{h(e=>a&&e.has(a)?(e.delete(a),new c(e)):e)}),[a,b,h]),(0,o.jsx)(R,{"data-radix-collection-item":"",ref:p,children:s})});function S(){return t.useState(new c)}function I(t){let{itemMap:r}=d(e+"CollectionConsumer",t);return r}return E.displayName=x,u(S,"useInitCollection"),u(I,"useCollection"),[{Provider:p,Slot:C,ItemSlot:E},{createCollectionScope:a,useCollection:I,useInitCollection:S}]},"createCollection"),u(m,"shallowEqual"),u(h,"isElementPreceding"),u(v,"sortByDocumentPosition"),u(y,"getChildListObserver"),e.s(["createCollection",0,l])},30030,e=>{"use strict";var t=e.i(271645),r=e.i(843476),n=Object.defineProperty,i=(e,t)=>n(e,"name",{value:t,configurable:!0});function o(e,n=[]){let u=[];function l(n,o){let s=t.createContext(o);s.displayName=n+"Context";let l=u.length;u=[...u,o];let a=i(n=>{let{scope:i,children:o,...u}=n,a=i?.[e]?.[l]||s,c=t.useMemo(()=>u,Object.values(u));return(0,r.jsx)(a.Provider,{value:c,children:o})},"Provider");function c(r,i,u={}){let{optional:a=!1}=u,f=i?.[e]?.[l]||s,d=t.useContext(f);if(d)return d;if(void 0!==o)return o;if(!a)throw Error(`\`${r}\` must be used within \`${n}\``)}return a.displayName=n+"Provider",i(c,"useContext"),[a,c]}i(l,"createContext");let a=i(()=>{let r=u.map(e=>t.createContext(e));return i(function(n){let i=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])},"useScope")},"createScope");return a.scopeName=e,[l,s(a,...n)]}function s(...e){let r=e[0];if(1===e.length)return r;let n=i(()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return i(function(e){let i=n.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:i}),[i])},"useComposedScopes")},"createScope");return n.scopeName=r.scopeName,n}i(function(e,n){let o=t.createContext(n);o.displayName=e+"Context";let s=i(e=>{let{children:n,...i}=e,s=t.useMemo(()=>i,Object.values(i));return(0,r.jsx)(o.Provider,{value:s,children:n})},"Provider");function u(r,i={}){let{optional:s=!1}=i,l=t.useContext(o);if(l)return l;if(void 0!==n)return n;if(!s)throw Error(`\`${r}\` must be used within \`${e}\``)}return s.displayName=e+"Provider",i(u,"useContext"),[s,u]},"createContext"),i(o,"createContextScope"),i(s,"composeContextScopes"),e.s(["createContextScope",0,o])},586318,e=>{"use strict";var t=e.i(271645),r=(e.i(843476),Object.defineProperty),n=t.createContext(void 0);function i(e){let r=t.useContext(n);return e||r||"ltr"}r(i,"name",{value:"useDirection",configurable:!0}),e.s(["useDirection",0,i])},610772,e=>{"use strict";var t=e.i(271645),r=e.i(934620),n=Object.defineProperty,i=t[" useId ".trim().toString()]||(()=>void 0),o=0;function s(e){let[n,s]=t.useState(i());return(0,r.useLayoutEffect)(()=>{e||s(e=>e??String(o++))},[e]),e||(n?`radix-${n}`:"")}n(s,"name",{value:"useId",configurable:!0}),e.s(["useId",0,s])},296626,e=>{"use strict";var t=e.i(271645),r=e.i(934620),n=Object.defineProperty,i=(e,t)=>n(e,"name",{value:t,configurable:!0});function o(e,r){return t.useReducer((e,t)=>
1r[e][t]??e,e)}i(o,"useStateMachine");var s=i(e=>{let{present:r,children:n}=e,i=u(r),o="function"==typeof n?n({present:i.isPresent}):t.Children.only(n),s=a(i.ref,f(o));return"function"==typeof n||i.isPresent?t.cloneElement(o,{ref:s}):null},"Presence");function u(e){let[n,s]=t.useState(),u=t.useRef(null),l=t.useRef(e),a=t.useRef("none"),f=t.useRef(void 0),[d,p]=o(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{"mounted"===d?(a.current=f.current??c(u.current),f.current=void 0):a.current="none"},[d]),(0,r.useLayoutEffect)(()=>{let t=u.current,r=l.current;if(r!==e){let n=a.current,i=c(t);e?(f.current=i,p("MOUNT")):"none"===i||t?.display==="none"?p("UNMOUNT"):r&&n!==i?p("ANIMATION_OUT"):p("UNMOUNT"),l.current=e}},[e,p]),(0,r.useLayoutEffect)(()=>{if(n){let e,t=n.ownerDocument.defaultView??window,r=i(r=>{let i=c(u.current).includes(CSS.escape(r.animationName));if(r.target===n&&i&&(p("ANIMATION_END"),!l.current)){let r=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=r)})}},"handleAnimationEnd"),o=i(e=>{e.target===n&&(a.current=c(u.current))},"handleAnimationStart");return n.addEventListener("animationstart",o),n.addEventListener("animationcancel",r),n.addEventListener("animationend",r),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",o),n.removeEventListener("animationcancel",r),n.removeEventListener("animationend",r)}}p("ANIMATION_END")},[n,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{if(e){let t=getComputedStyle(e);u.current=t,f.current=c(t)}else u.current=null;s(e)},[])}}function l(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(...e){let r=t.useRef(e);return r.current=e,t.useCallback(e=>{let t=r.current,n=!1,i=t.map(t=>{let r=l(t,e);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let e=0;e<i.length;e++){let r=i[e];"function"==typeof r?r():l(t[e],null)}}},[])}function c(e){return e?.animationName||"none"}function f(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}i(u,"usePresence"),i(l,"setRef"),i(a,"useStableComposedRefs"),i(c,"getAnimationName"),i(f,"getElementRef"),e.s(["Presence",0,s])},248425,e=>{"use strict";var t=e.i(271645),r=e.i(174080),n=e.i(991918),i=e.i(843476),o=Object.defineProperty,s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let o=(0,n.createSlot)(`Primitive.${r}`),s=t.forwardRef((e,t)=>{let{asChild:n,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(n?o:r,{...s,ref:t})});return s.displayName=`Primitive.${r}`,{...e,[r]:s}},{});function u(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}o(u,"name",{value:"dispatchDiscreteCustomEvent",configurable:!0}),e.s(["Primitive",0,s,"dispatchDiscreteCustomEvent",0,u])},30207,e=>{"use strict";var t=e.i(271645);function r(e){let r=t.useRef(e);return t.useEffect(()=>{r.current=e}),t.useMemo(()=>(...e)=>r.current?.(...e),[])}(0,Object.defineProperty)(r,"name",{value:"useCallbackRef",configurable:!0}),e.s(["useCallbackRef",0,r])},369340,e=>{"use strict";var t=e.i(271645),r=e.i(934620),n=Object.defineProperty,i=t[" useEffectEvent ".trim().toString()],o=t[" useInsertionEffect ".trim().toString()];function s(e){if("function"==typeof i)return i(e);let n=t.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof o?o(()=>{n.current=e}):(0,r.useLayoutEffect)(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}n(s,"name",{value:"useEffectEvent",configurable:!0});var u=Object.defineProperty,l=(e,t)=>u(e,"name",{value:t,configurable:!0}),a=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;function c({prop:e,defaultProp:r,onChange:n=l(()=>{},"onChange"),caller:i}){let[o,s,u]=f({defaultProp:r,onChange:n}),a=void 0!==e,p=a?e:o;return[p,t.useCallback(t=>{if(a){let r=d(t)?t(e):t;r!==e&&u.current?.(r)}else s(t)},[a,e,s,u])]}function f({defaultProp:e,onChange:r}){let[n,i]=t.useState(e),o=t.useRef(n),s=t.useRef(r);return a(()=>{s.current=r},[r]),t.useEffect(()=>{o.current!==n&&(s.current?.(n),o.current=n)},[n,o]),[n,i,s]}function d(e){return"function"==typeof e}l(c,"useControllableState"),l(f,"useUncontrolledState"),l(d,"isFunction");var p=Symbol("RADIX:SYNC_STATE");l(function(e,r,n,i){let{prop:o,defaultProp:u,onChange:l,caller:a}=r,c=void 0!==o,f=s(l),d=[{...n,state:u}];i&&d.push(i);let[m,h]=t.useReducer((t,r)=>{if(r.type===p)return{...t,state:r.state};let n=e(t,r);return c&&!Object.is(n.state,t.state)&&f(n.state),n},...d),v=m.state,y=t.useRef(v);t.useEffect(()=>{y.current!==v&&(y.current=v,c||f(v))},[v,y,c]);let b=t.useMemo(()=>void 0!==o?{...m,state:o}:m,[m,o]);return t.useEffect(()=>{c&&!Object.is(o,m.state)&&h({type:p,state:o})},[o,m.state,c]),[b,h]},"useControllableStateReducer"),e.s(["useControllableState",0,c],369340)},934620,e=>{"use strict";var t=e.i(271645),r=globalThis?.document?t.useLayoutEffect:()=>{};
1e.s(["useLayoutEffect",0,r])},373375,e=>{"use strict";var t=e.i(412012);e.s(["ChevronLeft",()=>t.default])},463059,e=>{"use strict";var t=e.i(246349);e.s(["ChevronRight",()=>t.default])},338714,e=>{"use strict";let t=(0,e.i(475254).default)("Film",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]]);e.s(["default",0,t])},741415,e=>{"use strict";var t=e.i(338714);e.s(["FilmIcon",()=>t.default])},952571,e=>{"use strict";let t=(0,e.i(475254).default)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);e.s(["Info",0,t],952571)},707180,e=>{"use strict";let t=(0,e.i(475254).default)("Mic",[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]]);e.s(["default",0,t])},636665,e=>{"use strict";let t=(0,e.i(475254).default)("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);e.s(["PlayIcon",0,t],636665)},677572,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(981140),i=e.i(30030),o=e.i(75830),s=e.i(820783),u=e.i(610772),l=e.i(248425),a=e.i(30207),c=e.i(369340),f=e.i(586318),d=e.i(934620),p=Object.defineProperty,m=(e,t)=>p(e,"name",{value:t,configurable:!0}),h=!1;function v(){let[e,t]=r.useState(h);return r.useEffect(()=>{h||(h=!0,t(!0))},[]),e}m(v,"useIsHydrated");var y=r[" useSyncExternalStore ".trim().toString()];function b(){return()=>{}}function g(){return y(b,()=>!0,()=>!1)}m(b,"subscribe"),m(g,"useIsHydratedModern");var w="function"==typeof y?g:v,C=Object.defineProperty,x=(e,t)=>C(e,"name",{value:t,configurable:!0}),R="rovingFocusGroup.onEntryFocus",E={bubbles:!1,cancelable:!0},S="RovingFocusGroup",[I,O,k]=(0,o.createCollection)(S),[M,N]=(0,i.createContextScope)(S,[k]),[P,j]=M(S),A=r.forwardRef(x(function(e,r){return(0,t.jsx)(I.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,t.jsx)(I.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,t.jsx)(T,{...e,ref:r})})})},"RovingFocusGroup")),T=r.forwardRef(x(function(e,i){let{__scopeRovingFocusGroup:o,orientation:u,loop:d=!1,dir:p,currentTabStopId:m,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:v,onEntryFocus:y,preventScrollOnEntryFocus:b=!1,...g}=e,w=r.useRef(null),C=(0,s.useComposedRefs)(i,w),x=(0,f.useDirection)(p),[I,k]=(0,c.useControllableState)({prop:m,defaultProp:h??null,onChange:v,caller:S}),[M,N]=r.useState(!1),j=(0,a.useCallbackRef)(y),A=O(o),T=r.useRef(!1),[D,F]=r.useState(0);return r.useEffect(()=>{let e=w.current;if(e)return e.addEventListener(R,j),()=>e.removeEventListener(R,j)},[j]),(0,t.jsx)(P,{scope:o,orientation:u,dir:x,loop:d,currentTabStopId:I,onItemFocus:r.useCallback(e=>k(e),[k]),onItemShiftTab:r.useCallback(()=>N(!0),[]),onFocusableItemAdd:r.useCallback(()=>F(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>F(e=>e-1),[]),children:(0,t.jsx)(l.Primitive.div,{tabIndex:M||0===D?-1:0,"data-orientation":u,...g,ref:C,style:{outline:"none",...e.style},onMouseDown:(0,n.composeEventHandlers)(e.onMouseDown,()=>{T.current=!0}),onFocus:(0,n.composeEventHandlers)(e.onFocus,e=>{let t=!T.current;if(e.target===e.currentTarget&&t&&!M){let t=new CustomEvent(R,E);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=A().filter(e=>e.focusable);U([e.find(e=>e.active),e.find(e=>e.id===I),...e].filter(Boolean).map(e=>e.ref.current),b)}}T.current=!1}),onBlur:(0,n.composeEventHandlers)(e.onBlur,()=>N(!1))})})},"RovingFocusGroupImpl")),D=r.forwardRef(x(function(e,i){let{__scopeRovingFocusGroup:o,focusable:s=!0,active:a=!1,tabStopId:c,children:f,...p}=e,m=(0,u.useId)(),h=c||m,v=j("RovingFocusGroupItem",o),y=v.currentTabStopId===h,b=O(o),{onFocusableItemAdd:g,onFocusableItemRemove:C,currentTabStopId:x}=v,R=w();return(0,d.useLayoutEffect)(()=>{if(R&&s)return g(),()=>C()},[R,s,g,C]),r.useEffect(()=>{if(!R&&s)return g(),()=>C()},[R,s,g,C]),(0,t.jsx)(I.ItemSlot,{scope:o,id:h,focusable:s,active:a,children:(0,t.jsx)(l.Primitive.span,{tabIndex:y?0:-1,"data-orientation":v.orientation,...p,ref:i,onMouseDown:(0,n.composeEventHandlers)(e.onMouseDown,e=>{s?v.onItemFocus(h):e.preventDefault()}),onFocus:(0,n.composeEventHandlers)(e.onFocus,()=>v.onItemFocus(h)),onKeyDown:(0,n.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void v.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=z(e,v.orientation,v.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();
1let r=b().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=v.loop?_(r,n+1):r.slice(n+1)}setTimeout(()=>U(r))}}),children:"function"==typeof f?f({isCurrentTabStop:y,hasTabStop:null!=x}):f})})},"RovingFocusGroupItem")),F={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function L(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}function z(e,t,r){let n=L(e.key,r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(n))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(n)))return F[n]}function U(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function _(e,t){return e.map((r,n)=>e[(t+n)%e.length])}x(L,"getDirectionAwareKey"),x(z,"getFocusIntent"),x(U,"focusFirst"),x(_,"wrapArray");var $=e.i(296626),H=Object.defineProperty,K=(e,t)=>H(e,"name",{value:t,configurable:!0}),G="Tabs",[B,V]=(0,i.createContextScope)(G,[N]),W=N(),[q,X]=B(G),Y=r.forwardRef(K(function(e,r){let{__scopeTabs:n,value:i,onValueChange:o,defaultValue:s,orientation:a="horizontal",dir:d,activationMode:p="automatic",...m}=e,h=(0,f.useDirection)(d),[v,y]=(0,c.useControllableState)({prop:i,onChange:o,defaultProp:s??"",caller:G});return(0,t.jsx)(q,{scope:n,baseId:(0,u.useId)(),value:v,onValueChange:y,orientation:a,dir:h,activationMode:p,children:(0,t.jsx)(l.Primitive.div,{dir:h,"data-orientation":a,...m,ref:r})})},"Tabs")),Z=r.forwardRef(K(function(e,r){let{__scopeTabs:n,loop:i=!0,...o}=e,s=X("TabsList",n),u=W(n);return(0,t.jsx)(A,{asChild:!0,...u,orientation:s.orientation,dir:s.dir,loop:i,children:(0,t.jsx)(l.Primitive.div,{role:"tablist","aria-orientation":s.orientation,...o,ref:r})})},"TabsList")),J=r.forwardRef(K(function(e,r){let{__scopeTabs:i,value:o,disabled:s=!1,...u}=e,a=X("TabsTrigger",i),c=W(i),f=ee(a.baseId,o),d=et(a.baseId,o),p=o===a.value;return(0,t.jsx)(D,{asChild:!0,...c,focusable:!s,active:p,children:(0,t.jsx)(l.Primitive.button,{type:"button",role:"tab","aria-selected":p,"aria-controls":d,"data-state":p?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:f,...u,ref:r,onMouseDown:(0,n.composeEventHandlers)(e.onMouseDown,e=>{s||0!==e.button||!1!==e.ctrlKey?e.preventDefault():a.onValueChange(o)}),onKeyDown:(0,n.composeEventHandlers)(e.onKeyDown,e=>{!s&&e.target===e.currentTarget&&[" ","Enter"].includes(e.key)&&a.onValueChange(o)}),onFocus:(0,n.composeEventHandlers)(e.onFocus,()=>{let e="manual"!==a.activationMode;p||s||!e||a.onValueChange(o)})})})},"TabsTrigger")),Q=r.forwardRef(K(function(e,n){let{__scopeTabs:i,value:o,forceMount:s,children:u,...a}=e,c=X("TabsContent",i),f=ee(c.baseId,o),d=et(c.baseId,o),p=o===c.value,m=r.useRef(p);return r.useEffect(()=>{let e=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,t.jsx)($.Presence,{present:s||p,children:({present:r})=>(0,t.jsx)(l.Primitive.div,{"data-state":p?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":f,hidden:!r,id:d,tabIndex:0,...a,ref:n,style:{...e.style,animationDuration:m.current?"0s":void 0},children:r&&u})})},"TabsContent"));function ee(e,t){return`${e}-trigger-${t}`}function et(e,t){return`${e}-content-${t}`}K(ee,"makeTriggerId"),K(et,"makeContentId");var er=e.i(975157);let en=r.forwardRef(({className:e,...r},n)=>(0,t.jsx)(Z,{ref:n,className:(0,er.cn)("inline-flex w-full items-center justify-center bg-background text-muted-foreground rounded-lg p-1 gap-1",e),...r}));en.displayName=Z.displayName;let ei=r.forwardRef(({className:e,...r},n)=>(0,t.jsx)(J,{ref:n,className:(0,er.cn)("relative inline-flex flex-1 items-center justify-center px-6 py-3 text-sm font-medium transition-all rounded-md","hover:text-foreground","focus-visible:outline-none","disabled:pointer-events-none disabled:opacity-50","before:absolute before:inset-0 before:rounded-md before:p-[2px]","before:bg-transparent","data-[state=active]:before:bg-gradient-to-r","data-[state=active]:before:from-[hsl(var(--gradient-start))]","data-[state=active]:before:to-[hsl(var(--gradient-end))]","after:absolute after:inset-[2px] after:rounded-[4px]","after:bg-background","[&>span]:relative [&>span]:z-10","data-[state=active]:text-foreground",e),...r,children:(0,t.jsx)("span",{className:"z-10",children:r.children})}));ei.displayName=J.displayName;let eo=r.forwardRef(({className:e,...r},n)=>(0,t.jsx)(Q,{ref:n,className:(0,er.cn)("mt-2 focus-visible:outline-none",e),...r}));eo.displayName=Q.displayName,e.s(["Tabs",0,Y,"TabsContent",0,eo,"TabsList",0,en,"TabsTrigger",0,ei],677572)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.