PageSourceSearch

https://www.streaminity.com/_next/static/chunks/db647ea1d9a195ea.js

js streaminity.com collected 2026-10-09 22:53:19 UTC 33,169 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="d94941ce-e804-5e0c-4d5f-1c4ab5035464")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,492161,e=>{"use strict";let t=(0,e.i(475254).default)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);e.s(["Menu",()=>t],492161)},54408,903626,310777,213185,e=>{"use strict";var t=e.i(843476),n=e.i(500932),a=e.i(475254);let r=(0,a.default)("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),o=(0,a.default)("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);var i=e.i(951445),s=e.i(664659),l=e.i(816401),c=e.i(519455),u=e.i(755146),d=e.i(948148);e.s(["ThemeDropdown",0,()=>{let e,a,m,f,p,h,v,g,x,w,y,b,j,C,N,M,R,k,E,D,T,_,S,P,I=(0,n.c)(52),{theme:L,updateThemePreference:A}=(0,l.useConfiguration)(),F=(0,d.useTranslations)("component.layout");I[0]!==L.preference?(e=()=>{switch(L.preference){case"DARK":return(0,t.jsx)(o,{className:"h-4 w-4"});case"LIGHT":return(0,t.jsx)(r,{className:"h-4 w-4"});default:return(0,t.jsx)(i.Monitor,{className:"h-4 w-4"})}},I[0]=L.preference,I[1]=e):e=I[1];let O=e;I[2]!==F||I[3]!==L.preference?(a=()=>{switch(L.preference){case"DARK":return F("theme.dark");case"LIGHT":return F("theme.light");default:return F("theme.system")}},I[2]=F,I[3]=L.preference,I[4]=a):a=I[4];let H=a;return I[5]!==O?(m=O(),I[5]=O,I[6]=m):m=I[6],I[7]!==H?(f=H(),I[7]=H,I[8]=f):f=I[8],I[9]!==f?(p=(0,t.jsx)("span",{className:"hidden sm:inline",children:f}),I[9]=f,I[10]=p):p=I[10],I[11]===Symbol.for("react.memo_cache_sentinel")?(h=(0,t.jsx)(s.ChevronDown,{className:"h-3 w-3"}),I[11]=h):h=I[11],I[12]!==m||I[13]!==p?(v=(0,t.jsx)(u.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsxs)(c.Button,{variant:"ghost",size:"sm",className:"text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white gap-2",children:[m,p,h]})}),I[12]=m,I[13]=p,I[14]=v):v=I[14],I[15]!==A?(g=()=>A("LIGHT"),I[15]=A,I[16]=g):g=I[16],I[17]===Symbol.for("react.memo_cache_sentinel")?(x=(0,t.jsx)(r,{className:"h-4 w-4"}),I[17]=x):x=I[17],I[18]!==F?(w=F("theme.light"),I[18]=F,I[19]=w):w=I[19],I[20]!==w?(y=(0,t.jsx)("span",{children:w}),I[20]=w,I[21]=y):y=I[21],I[22]!==y||I[23]!==g?(b=(0,t.jsxs)(u.DropdownMenuItem,{onClick:g,className:"flex items-center gap-2",children:[x,y]}),I[22]=y,I[23]=g,I[24]=b):b=I[24],I[25]!==A?(j=()=>A("DARK"),I[25]=A,I[26]=j):j=I[26],I[27]===Symbol.for("react.memo_cache_sentinel")?(C=(0,t.jsx)(o,{className:"h-4 w-4"}),I[27]=C):C=I[27],I[28]!==F?(N=F("theme.dark"),I[28]=F,I[29]=N):N=I[29],I[30]!==N?(M=(0,t.jsx)("span",{children:N}),I[30]=N,I[31]=M):M=I[31],I[32]!==j||I[33]!==M?(R=(0,t.jsxs)(u.DropdownMenuItem,{onClick:j,className:"flex items-center gap-2",children:[C,M]}),I[32]=j,I[33]=M,I[34]=R):R=I[34],I[35]!==A?(k=()=>A("SYSTEM"),I[35]=A,I[36]=k):k=I[36],I[37]===Symbol.for("react.memo_cache_sentinel")?(E=(0,t.jsx)(i.Monitor,{className:"h-4 w-4"}),I[37]=E):E=I[37],I[38]!==F?(D=F("theme.system"),I[38]=F,I[39]=D):D=I[39],I[40]!==D?(T=(0,t.jsx)("span",{children:D}),I[40]=D,I[41]=T):T=I[41],I[42]!==k||I[43]!==T?(_=(0,t.jsxs)(u.DropdownMenuItem,{onClick:k,className:"flex items-center gap-2",children:[E,T]}),I[42]=k,I[43]=T,I[44]=_):_=I[44],I[45]!==b||I[46]!==R||I[47]!==_?(S=(0,t.jsxs)(u.DropdownMenuContent,{align:"end",className:"w-32",children:[b,R,_]}),I[45]=b,I[46]=R,I[47]=_,I[48]=S):S=I[48],I[49]!==S||I[50]!==v?(P=(0,t.jsxs)(u.DropdownMenu,{children:[v,S]}),I[49]=S,I[50]=v,I[51]=P):P=I[51],P}],54408),e.i(247167);var m=e.i(284614);let f=(0,a.default)("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);var p=e.i(531278),h=e.i(95740),v=e.i(194983);let g=(0,a.default)("Receipt",[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 17.5v-11",key:"1jc1ny"}]]);var x=e.i(561659),w=e.i(954616),y=e.i(638310),b=e.i(3903),j=e.i(983387),C=e.i(975157),N=e.i(95187),M=(0,N.createServerReference)("7fc9ff22e714b9eb0ac1ea019ce038c23281fe340b",N.c
2allServer,void 0,N.findSourceMapURL,"aAuthenticationTokenDestroy");e.s(["UserDropdown",0,()=>{let e,a,r,o,i,l,N,R,k,E,D,T,_,S,P,I,L,A,F,O,H,K,z,V,U,G,B,q,W,J,Y,$,Z,X=(0,n.c)(69),{authentication:Q,setUser:ee}=(0,y.useAuthentication)(),et=(0,j.useRouter)(),en=(0,d.useTranslations)("component.layout");X[0]!==et||X[1]!==ee?(e={mutationFn:async()=>{await M(),(0,b.deleteCookie)("streaminity-authentication",{domain:(0,C.getCookieDomain)(),path:"/"}),ee(void 0),et.push("/")}},X[0]=et,X[1]=ee,X[2]=e):e=X[2];let ea=(0,w.useMutation)(e);if(!Q)return null;X[3]!==en?(a=en("userDropdown.userMenu"),X[3]=en,X[4]=a):a=X[4],X[5]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)(m.User,{className:"h-4 w-4"}),X[5]=r):r=X[5],X[6]!==Q.user.name?(o=(0,t.jsx)("span",{className:"hidden md:inline",children:Q.user.name}),X[6]=Q.user.name,X[7]=o):o=X[7],X[8]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)(s.ChevronDown,{className:"h-3 w-3"}),X[8]=i):i=X[8],X[9]!==a||X[10]!==o?(l=(0,t.jsx)(u.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsxs)(c.Button,{variant:"ghost",size:"sm","aria-label":a,className:"flex items-center gap-2 text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white",children:[r,o,i]})}),X[9]=a,X[10]=o,X[11]=l):l=X[11],X[12]!==en?(N=en("userDropdown.signedInAs"),X[12]=en,X[13]=N):N=X[13],X[14]!==Q.user.name?(R=(0,t.jsx)("div",{className:"mt-1 text-gray-900 dark:text-white text-sm font-medium truncate",children:Q.user.name}),X[14]=Q.user.name,X[15]=R):R=X[15],X[16]!==N||X[17]!==R?(k=(0,t.jsxs)(u.DropdownMenuLabel,{className:"text-xs text-gray-500 dark:text-gray-400",children:[N,R]}),X[16]=N,X[17]=R,X[18]=k):k=X[18],X[19]===Symbol.for("react.memo_cache_sentinel")?(E=(0,t.jsx)(u.DropdownMenuSeparator,{}),X[19]=E):E=X[19],X[20]===Symbol.for("react.memo_cache_sentinel")?(D=(0,t.jsx)(h.UserCircle,{className:"h-4 w-4 mr-2"}),X[20]=D):D=X[20],X[21]!==en?(T=en("userDropdown.myAccount"),X[21]=en,X[22]=T):T=X[22],X[23]!==T?(_=(0,t.jsx)(u.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)(j.Link,{href:"/my-account/setting",className:"flex items-center",children:[D,T]})}),X[23]=T,X[24]=_):_=X[24],X[25]===Symbol.for("react.memo_cache_sentinel")?(S=(0,t.jsx)(g,{className:"h-4 w-4 mr-2"}),X[25]=S):S=X[25],X[26]!==en?(P=en("userDropdown.myInvoice"),X[26]=en,X[27]=P):P=X[27],X[28]!==P?(I=(0,t.jsx)(u.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)(j.Link,{href:"/my-account/invoice",className:"flex items-center",children:[S,P]})}),X[28]=P,X[29]=I):I=X[29],X[30]===Symbol.for("react.memo_cache_sentinel")?(L=(0,t.jsx)(x.CreditCard,{className:"h-4 w-4 mr-2"}),X[30]=L):L=X[30],X[31]!==en?(A=en("userDropdown.mySubscription"),X[31]=en,X[32]=A):A=X[32],X[33]!==A?(F=(0,t.jsx)(u.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)(j.Link,{href:"/my-account/subscription",className:"flex items-center",children:[L,A]})}),X[33]=A,X[34]=F):F=X[34],X[35]===Symbol.for("react.memo_cache_sentinel")?(O=(0,t.jsx)(u.DropdownMenuSeparator,{}),X[35]=O):O=X[35],X[36]===Symbol.for("react.memo_cache_sentinel")?(H=(0,t.jsx)(v.MessageCircle,{className:"h-4 w-4 mr-2"}),X[36]=H):H=X[36],X[37]!==en?(K=en("userDropdown.whatsappChannel"),X[37]=en,X[38]=K):K=X[38],X[39]!==K?(z=(0,t.jsx)(u.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)("a",{href:"https://whatsapp.com/channel/0029VbBm2poEVccE7OTVDo3x",target:"_blank",rel:"noopener noreferrer",className:"flex items-center",children:[H,K]})}),X[39]=K,X[40]=z):z=X[40],X[41]===Symbol.for("react.memo_cache_sentinel")?(V=(0,t.jsx)(v.MessageCircle,{className:"h-4 w-4 mr-2"}),X[41]=V):V=X[41],X[42]!==en?(U=en("userDropdown.whatsappGroup"),X[42]=en,X[43]=U):U=X[43],X[44]!==U?(G=(0,t.jsx)(u.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)("a",{href:"https://chat.whatsapp.com/JJJHxFbYY2eKXwhyxZnsGJ",target:"_blank",rel:"noopener noreferrer",className:"flex items-center",children:[V,U]})}),X[44]=U,X[45]=G):G=X[45],X[46]===Symbol.for("react.memo_cache_sentinel")?(B=(0,t.jsx)(u.DropdownMenuSeparator,{}),X[46]=B):B=X[46],X[47]!==ea?(q=()=>ea.mutate(),X[47]=ea,X[48]=q):q=X[48];let er=ea.isPending;return X[49]!==ea.isPending?(W=ea.isPending?(0,t.jsx)(p.Loader2,{className:"h-4 w-4 mr-2 animate-spin"}):(0,t.jsx)(f,{className:"h-4 w-4 mr-2"}),X[49]=ea.isPending,X[50]=W):W=X[50],X[51]!==en?(J=en("userDropdown.logOut"),X[51]=en,X[52]=J):J=X[52],X[53]!==ea.isPending||X[54]!==q||X[55]!==W||X[56]!==J?(Y=(0,t.jsxs)(u.DropdownMenuItem,{onClick:q,disabled:er,className:"text-red-600 focus:text-red-700",children:[W,J]}),X[53]=ea.isPending,X[54]=q,X[55]=W,X[56]=J,X[57]=Y):Y=X[57],X[58]!==_||X[59]!==I||X[60]!==F||X[61]!==z||X[62]!==G||X[63]!==Y||X[64]!==k?($=(0,t.jsxs)(u.DropdownMenuContent,{align:"end",className:"w-48",children:[k,E,_,I,F,O,z,G,B,Y]}),X[58]=_,X[59]=I,X[60]=F,X[61]=z,X[62]=G,X[63]=Y,X[64]=k,X[65]=$):$=X[65],X[66]!==$||X[67]!==l?(Z=(0,t.jsxs)(u.DropdownMenu,{children:[l,$]}),X[66]=$,X[67]=l,X[68]=Z):Z=X[68],Z}],903626);let R=(0,a.default)("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);var k=e.i(98919),E=e.i(337822);e.s(["AppSwitcher",0,()=>{let e,a,r,o,i,s,l,u,m=(0,n.c)(17),{authentication:f}=(0,y.useAuthentication)(),p=(0,j.usePathname)(),h=(0,d.useTranslations)("component.layout");if(m[0]!==f||m[1]!==p||m[2]!==h){r=Symbol.for("react.early_return_sentinel");e:{if((e=[{name:h("appSwitcher.admin"),href:"/admin",icon:k.Shield,description:h("appSwitcher.adminDescription"),requireAuth:!0,allowedRoles:["ADMINISTRATOR","ADMINISTRATOR_MINIMAL","SUPER_ADMINISTRATOR"]}].filter(e=>(!e.requireAuth||!!f)&&(!e.allowedRoles||!f||e.allowedRoles.includes(f.user.type)))).length<=0){r=null;break e}a=e.find(e=>"/app"===e.href?"/app"===p||p?.startsWith("/app/"):p?.startsWith(e.href))||e[0]}m[0]=f,m[1]=p,m[2]=h,m[3]=e,m[4]=a,m[5]=r}else e=m[3],a=m[4],r=m[5];if(r!==Symbol.for("react.early_return_sentinel"))return r;let v=a;return m[6]!==h?(o=h("appSwitcher.switchApp"),m[6]=h,m[7]=o):o=m[7],m[8]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)(R,{className:"h-4 w-4"}),m[8]=i):i=m[8],m[9]!==o?(s=(0,t.jsx)(E.PopoverTrigger,{asChild:!0,children:(0,t.jsx)(c.Button,{variant:"ghost",size:"icon",className:"h-8 w-8 text-muted-foreground hover:text-foreground","aria-label":o,children:i})}),m[9]=o,m[10]=s):s=m[10],m[11]!==e||m[12]!==v?(l=(0,t.jsx)(E.PopoverContent,{className:"w-64 p-2",align:"center",side:"bottom",children:(0,t.jsx)("div",{className:"space-y-1",children:e.map(e=>{let n=e.icon,a=e.name===v.name;return(0,t.jsxs)(j.Link,{href:e.href,className:(0,C.cn)("flex items-start gap-3 rounded-md px-3 py-2.5 transition-colors","hover:bg-accent hover:text-accent-foreground",a&&"bg-accent text-accent-foreground"),children:[(0,t.jsx)(n,{className:"h-5 w-5 mt-0.5 shrink-0"}),(0,t.jsxs)("div",{className:"flex-1 space-y-0.5",children:[(0,t.jsx)("div",{className:"text-sm font-medium leading-none",children:e.name}),(0,t.jsx)("div",{className:"text-xs text-muted-foreground leading-snug",children:e.description})]})]},e.href)})})}),m[11]=e,m[12]=v,m[13]=l):l=m[13],m[14]!==s||m[15]!==l?(u=(0,t.jsxs)(E.Popover,{children:[s,l]}),m[14]=s,m[15]=l,m[16]=u):u=m[16],u}],310777);var D=e.i(643531),T=e.i(861745),_=e.i(618566),S=e.i(227652);let P={en:{name:"English",flag:"🇺🇸"},id:{name:"Bahasa Indonesia",flag:"🇮🇩"}};e.s(["LanguageSwitcher",0,()=>{let e,a,r,o,i,l,d,m,f=(0,n.c)(28),p=(0,T.useLocale)(),h=(0,j.usePathname)(),v=(0,_.useSearchParams)();if(f[0]!==p||f[1]!==h||f[2]!==v){let n,d,m,g,x=v?Object.fromEntries(v.entries()):{};f[9]!==p?(n=P[p]??{name:p.toUpperCase(),flag:"\uD83C\uDF10"},f[9]=p,f[10]=n):n=f[10];let w=n;a=u.DropdownMenu,f[11]!==w.flag?(d=(0,t.jsx)("span",{className:"text-base",children:w.flag}),f[11]=w.flag,f[12]=d):d=f[12],f[13]!==w.name?(m=(0,t.jsx)("span",{className:"hidden sm:inline",children:w.name}),f[13]=w.name,f[14]=m):m=f[14],f[15]===Symbol.for("react.memo_cache_sentinel")?(g=(0,t.jsx)(s.ChevronDown,{className:"h-3 w-3"}),f[15]=g):g=f[15],f[16]!==d||f[17]!==m?(l=(0,t.jsx)(u.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsxs)(c.Button,{variant:"ghost",size:"sm",className:"text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white gap-2",children:[d,m,g]})}),f[16]=d,f[17]=m,f[18]=l):l=f[18],e=u.DropdownMenuContent,r="end",o="w-48",i=S.locales.map(e=>{let n=P[e]??{name:e.toUpperCase(),flag:"\uD83C\uDF10"};return(0,t.jsx)(u.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)(j.Link,{href:{pathname:h,query:x},locale:e,className:"flex items-center justify-between gap-2 w-full",children:[(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-base",children:n.flag}),(0,t.jsx)("span",{children:n.name})]}),p===e&&(0,t.jsx)(D.Check,{className:"h-4 w-4"})]})},e)}),f[0]=p,f[1]=h,f[2]=v,f[3]=e,f[4]=a,f[5]=r,f[6]=o,f[7]=i,f[8]=l}else e=f[3],a=f[4],r=f[5],o=f[6],i=f[7],l=f[8];return f[19]!==e||f[20]!==r||f[21]!==o||f[22]!==i?(d=(0,t.jsx)(e,{align:r,className:o,children:i}),f[19]=e,f[20]=r,f[21]=o,f[22]=i,f[23]=d):d=f[23],f[24]!==a||f[25]!==l||f[26]!==d?(m=(0,t.jsxs)(a,{children:[l,d]}),f[24]=a,f[25]=l,f[26]=d,f[27]=m):m=f[27],m}],213185)},947755,e=>{"use strict";var t=e.i(843476),n=e.i(500932),a=e.i(271645);e.i(174080);var r=e.i(30030),o=e.i(981140),i=e.i(248425),s=e.i(369340),l=e.i(820783),c=e.i(586318),u=e.i(296626),d=e.i(991918),m=e.i(610772),f=e.i(75830),p=e.i(726330),h=e.i(999682),v=e.i(934620),g=e.i(30207),x=e.i(959411),w=Object.defineProperty,y=(e,t)=>w(e,"name",{value:t,configurable:!0}),b="automatic",j="NavigationMenu",[C,N,M]=(0,f.createCollection)(j),[R,k,E]=(0,f.createCollection)(j),[D,T]=(0,r.createContextScope)(j,[M,E]),[_,S]=D(j),[P,I]=D(j),L=a.forwardRef(y(function(e,n){let{__scopeNavigationMenu:r,value:o,onValueChange:u,defaultValue:d,delayDuration:m=200,skipDelayDuration:f=300,orientation:p="horizontal",dir:h,activationMode:v=b,...g}=e,[x,w]=a.useState(null),C=(0,l.useComposedRefs)(n,w),N=(0,c.useDirection)(h),M=a.useRef(0),R=a.useRef(0),k=a.useRef(0),[E,D]=a.use
2State(!0),[T,_]=(0,s.useControllableState)({prop:o,onChange:y(e=>{let t=f>0;""!==e?(window.clearTimeout(k.current),t&&D(!1)):(window.clearTimeout(k.current),k.current=window.setTimeout(()=>D(!0),f)),u?.(e)},"onChange"),defaultProp:d??"",caller:j}),S=a.useCallback(()=>{window.clearTimeout(R.current),R.current=window.setTimeout(()=>_(""),150)},[_]),P=a.useCallback(e=>{window.clearTimeout(R.current),_(e)},[_]),I=a.useCallback(e=>{T===e?window.clearTimeout(R.current):M.current=window.setTimeout(()=>{window.clearTimeout(R.current),_(e)},m)},[T,_,m]);return a.useEffect(()=>()=>{window.clearTimeout(M.current),window.clearTimeout(R.current),window.clearTimeout(k.current)},[]),(0,t.jsx)(A,{scope:r,isRootMenu:!0,value:T,dir:N,orientation:p,activationMode:v,rootNavigationMenu:x,onTriggerEnter:e=>{v===b&&(window.clearTimeout(M.current),E?I(e):P(e))},onTriggerLeave:()=>{v===b&&(window.clearTimeout(M.current),S())},onContentEnter:()=>{v===b&&window.clearTimeout(R.current)},onContentLeave:()=>{v===b&&S()},onItemSelect:e=>{_(t=>t===e?"":e)},onItemDismiss:()=>_(""),children:(0,t.jsx)(i.Primitive.nav,{"aria-label":"Main","data-orientation":p,dir:N,...g,ref:C})})},"NavigationMenu")),A=y(e=>{let{scope:n,isRootMenu:r,rootNavigationMenu:o,dir:i,orientation:s,activationMode:l,children:c,value:u,onItemSelect:d,onItemDismiss:f,onTriggerEnter:p,onTriggerLeave:v,onContentEnter:x,onContentLeave:w}=e,[y,b]=a.useState(null),[j,N]=a.useState(new Map),[M,R]=a.useState(null);return(0,t.jsx)(_,{scope:n,isRootMenu:r,rootNavigationMenu:o,value:u,previousValue:(0,h.usePrevious)(u),baseId:(0,m.useId)(),dir:i,orientation:s,activationMode:l,viewport:y,onViewportChange:b,indicatorTrack:M,onIndicatorTrackChange:R,onTriggerEnter:(0,g.useCallbackRef)(p),onTriggerLeave:(0,g.useCallbackRef)(v),onContentEnter:(0,g.useCallbackRef)(x),onContentLeave:(0,g.useCallbackRef)(w),onItemSelect:(0,g.useCallbackRef)(d),onItemDismiss:(0,g.useCallbackRef)(f),onViewportContentChange:a.useCallback((e,t)=>{N(n=>(n.set(e,t),new Map(n)))},[]),onViewportContentRemove:a.useCallback(e=>{N(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,t.jsx)(C.Provider,{scope:n,children:(0,t.jsx)(P,{scope:n,items:j,children:c})})})},"NavigationMenuProvider"),F=a.forwardRef(y(function(e,n){let{__scopeNavigationMenu:a,...r}=e,o=S("NavigationMenuList",a),s=(0,t.jsx)(i.Primitive.ul,{"data-orientation":o.orientation,...r,ref:n});return(0,t.jsx)(i.Primitive.div,{style:{position:"relative"},ref:o.onIndicatorTrackChange,children:(0,t.jsx)(C.Slot,{scope:a,children:o.isRootMenu?(0,t.jsx)(et,{asChild:!0,children:s}):s})})},"NavigationMenuList")),[O,H]=D("NavigationMenuItem"),K=a.forwardRef(y(function(e,n){let{__scopeNavigationMenu:r,value:o,...s}=e,l=(0,m.useId)(),c=a.useRef(null),u=a.useRef(null),d=a.useRef(null),f=a.useRef(()=>{}),p=a.useRef(!1),h=a.useCallback((e="start")=>{if(c.current){f.current();let t=er(c.current);t.length&&eo("start"===e?t:t.reverse())}},[]),v=a.useCallback(()=>{if(c.current){let e=er(c.current);e.length&&(f.current=ei(e))}},[]);return(0,t.jsx)(O,{scope:r,value:o||l||"LEGACY_REACT_AUTO_VALUE",triggerRef:u,contentRef:c,focusProxyRef:d,wasEscapeCloseRef:p,onEntryKeyDown:h,onFocusProxyEnter:h,onRootContentClose:v,onContentFocusOutside:v,children:(0,t.jsx)(i.Primitive.li,{...s,ref:n})})},"NavigationMenuItem")),z="NavigationMenuTrigger",V=a.forwardRef(y(function(e,n){let{__scopeNavigationMenu:r,disabled:s,...c}=e,u=S(z,e.__scopeNavigationMenu),d=H(z,e.__scopeNavigationMenu),m=a.useRef(null),f=(0,l.useComposedRefs)(m,d.triggerRef,n),p=ec(u.baseId,d.value),h=eu(u.baseId,d.value),v=a.useRef(!1),g=a.useRef(!1),w=d.value===u.value;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(C.ItemSlot,{scope:r,value:d.value,children:(0,t.jsx)(ea,{asChild:!0,children:(0,t.jsx)(i.Primitive.button,{id:p,disabled:s,"data-disabled":s?"":void 0,"data-state":el(w),"aria-expanded":w,"aria-controls":w?h:void 0,...c,ref:f,onPointerEnter:(0,o.composeEventHandlers)(e.onPointerEnter,()=>{g.current=!1,d.wasEscapeCloseRef.current=!1}),onPointerMove:(0,o.composeEventHandlers)(e.onPointerMove,ed(()=>{s||g.current||d.wasEscapeCloseRef.current||v.current||(u.onTriggerEnter(d.value),v.current=!0)})),onPointerLeave:(0,o.composeEventHandlers)(e.onPointerLeave,ed(()=>{s||(u.onTriggerLeave(),v.current=!1)})),onClick:(0,o.composeEventHandlers)(e.onClick,()=>{u.onItemSelect(d.value),g.current=w}),onKeyDown:(0,o.composeEventHandlers)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===u.dir?"ArrowLeft":"ArrowRight"}[u.orientation];w&&e.key===t&&(d.onEntryKeyDown(),e.preventDefault())})})})}),w&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(x.Root,{"aria-hidden":!0,tabIndex:0,ref:d.focusProxyRef,onFocus:e=>{let t=d.contentRef.current,n=e.relatedTarget,a=n===m.current,r=t?.contains(n);(a||!r)&&d.onFocusProxyEnter(a?"start":"end")}}),u.viewport&&(0,t.jsx)("span",{"aria-owns":h})]})]})},"NavigationMenuTrigger")),U="navigationMenu.linkSelect",G=a.forwardRef(y(function(e,n){let{__scopeNavigationMenu:a,active:r,onSelect:s,...l}=e;return(0,t.jsx)(ea,{asChild:!0,children:(0,t.jsx)(i.Primitive.a,{"data-active":r?"":void 0,"aria-current":r?"page":void 0,...l,ref:n,onClick:(0,o.composeEventHandlers)(e.onClick,e=>{let t=e.target,n=new CustomEvent(U,{bubbles:!0,cancelable:!0});if(t.addEventListener(U,e=>s?.(e),{once:!0}),(0,i.dispatchDiscreteCustomEvent)(t,n),!n.defaultPrevented&&!e.metaKey){let e=new CustomEvent(J,{bubbles:!0,cancelable:!0});(0,i.dispatchDiscreteCustomEvent)(t,e)}},{checkForDefaultPrevented:!1})})})},"NavigationMenuLink")),B="NavigationMenuContent",q=a.forwardRef(y(function(e,n){let{forceMount:a,...r}=e,i=S(B,e.__scopeNavigationMenu),s=H(B,e.__scopeNavigationMenu),c=(0,l.useComposedRefs)(s.contentRef,n),d=s.value===i.value,m={value:s.value,triggerRef:s.triggerRef,focu
2sProxyRef:s.focusProxyRef,wasEscapeCloseRef:s.wasEscapeCloseRef,onContentFocusOutside:s.onContentFocusOutside,onRootContentClose:s.onRootContentClose,...r};return i.viewport?(0,t.jsx)(W,{forceMount:a,...m,ref:c}):(0,t.jsx)(u.Presence,{present:a||d,children:(0,t.jsx)(Y,{"data-state":el(d),...m,ref:c,onPointerEnter:(0,o.composeEventHandlers)(e.onPointerEnter,i.onContentEnter),onPointerLeave:(0,o.composeEventHandlers)(e.onPointerLeave,ed(i.onContentLeave)),style:{pointerEvents:!d&&i.isRootMenu?"none":void 0,...m.style}})})},"NavigationMenuContent")),W=a.forwardRef(y(function(e,t){let{onViewportContentChange:n,onViewportContentRemove:a}=S(B,e.__scopeNavigationMenu);return(0,v.useLayoutEffect)(()=>{n(e.value,{ref:t,...e})},[e,t,n]),(0,v.useLayoutEffect)(()=>()=>a(e.value),[e.value,a]),null},"ViewportContentMounter")),J="navigationMenu.rootContentDismiss",Y=a.forwardRef(y(function(e,n){let{__scopeNavigationMenu:r,value:i,triggerRef:s,focusProxyRef:c,wasEscapeCloseRef:u,onRootContentClose:d,onContentFocusOutside:m,...f}=e,h=S(B,r),v=a.useRef(null),g=(0,l.useComposedRefs)(v,n),x=ec(h.baseId,i),w=eu(h.baseId,i),b=N(r),j=a.useRef(null),{onItemDismiss:C}=h;a.useEffect(()=>{let e=v.current;if(h.isRootMenu&&e){let t=y(()=>{C(),d(),e.contains(document.activeElement)&&s.current?.focus()},"handleClose");return e.addEventListener(J,t),()=>e.removeEventListener(J,t)}},[h.isRootMenu,e.value,s,C,d]);let M=a.useMemo(()=>{let e=b().map(e=>e.value);"rtl"===h.dir&&e.reverse();let t=e.indexOf(h.value),n=e.indexOf(h.previousValue),a=i===h.value,r=n===e.indexOf(i);if(!a&&!r)return j.current;let o=(()=>{if(t!==n){if(a&&-1!==n)return t>n?"from-end":"from-start";if(r&&-1!==t)return t>n?"to-start":"to-end"}return null})();return j.current=o,o},[h.previousValue,h.value,h.dir,b,i]);return(0,t.jsx)(et,{asChild:!0,children:(0,t.jsx)(p.DismissableLayer,{id:w,"aria-labelledby":x,"data-motion":M,"data-orientation":h.orientation,...f,ref:g,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(J,{bubbles:!0,cancelable:!0});v.current?.dispatchEvent(e)},onFocusOutside:(0,o.composeEventHandlers)(e.onFocusOutside,e=>{m();let t=e.target,n=e.detail.originalEvent.relatedTarget,a=h.rootNavigationMenu?.contains(t),r=h.rootNavigationMenu?.contains(n);(a||!r)&&e.preventDefault()}),onPointerDownOutside:(0,o.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.target,n=b().some(e=>e.ref.current?.contains(t)),a=h.isRootMenu&&h.viewport?.contains(t);(n||a||!h.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,o.composeEventHandlers)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=er(e.currentTarget),n=document.activeElement,a=t.findIndex(e=>e===n);eo(e.shiftKey?t.slice(0,a).reverse():t.slice(a+1,t.length))?e.preventDefault():c.current?.focus()}}),onEscapeKeyDown:(0,o.composeEventHandlers)(e.onEscapeKeyDown,e=>{u.current=!0})})})},"NavigationMenuContentImpl")),$="NavigationMenuViewport",Z=(0,d.createSlottable)($),X=a.forwardRef(y(function(e,n){let{forceMount:a,...r}=e,o=!!S($,e.__scopeNavigationMenu).value;return(0,t.jsx)(u.Presence,{present:a||o,children:(0,t.jsx)(Q,{...r,ref:n})})},"NavigationMenuViewport")),Q=a.forwardRef(y(function(e,n){let{__scopeNavigationMenu:r,children:s,...c}=e,d=S($,r),m=(0,l.useComposedRefs)(n,d.onViewportChange),f=I(B,e.__scopeNavigationMenu),[p,h]=a.useState(null),[v,g]=a.useState(null),x=p?p?.width+"px":void 0,w=p?p?.height+"px":void 0,b=!!d.value,j=b?d.value:d.previousValue,C=y(()=>{v&&h({width:v.offsetWidth,height:v.offsetHeight})},"handleSizeChange");return es(v,C),(0,t.jsxs)(i.Primitive.div,{"data-state":el(b),"data-orientation":d.orientation,...c,ref:m,style:{pointerEvents:!b&&d.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":x,"--radix-navigation-menu-viewport-height":w,...c.style},onPointerEnter:(0,o.composeEventHandlers)(e.onPointerEnter,d.onContentEnter),onPointerLeave:(0,o.composeEventHandlers)(e.onPointerLeave,ed(d.onContentLeave)),children:[(0,t.jsx)(Z,{children:s}),Array.from(f.items).map(([e,{ref:n,forceMount:a,...r}])=>{let o=j===e;return(0,t.jsx)(u.Presence,{present:a||o,children:(0,t.jsx)(ee,{...r,contentRef:n,isActive:o,onActiveContentChange:g})},e)})]})},"NavigationMenuViewportImpl")),ee=y(({contentRef:e,isActive:n,onActiveContentChange:r,...o})=>{let i=a.useCallback(e=>{n&&e&&r(e)},[n,r]),s=(0,l.useComposedRefs)(e,i);return(0,t.jsx)(Y,{...o,ref:s})}
2,"NavigationMenuViewportItem"),et=a.forwardRef(y(function(e,n){let{__scopeNavigationMenu:a,...r}=e,o=S("FocusGroup",a);return(0,t.jsx)(R.Provider,{scope:a,children:(0,t.jsx)(R.Slot,{scope:a,children:(0,t.jsx)(i.Primitive.div,{dir:o.dir,...r,ref:n})})})},"FocusGroup")),en=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],ea=a.forwardRef(y(function(e,n){let{__scopeNavigationMenu:a,...r}=e,s=k(a),l=S("FocusGroupItem",a);return(0,t.jsx)(R.ItemSlot,{scope:a,children:(0,t.jsx)(i.Primitive.button,{...r,ref:n,onKeyDown:(0,o.composeEventHandlers)(e.onKeyDown,e=>{if(["Home","End",...en].includes(e.key)){let t=s().map(e=>e.ref.current);if(["rtl"===l.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),en.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout(()=>eo(t)),e.preventDefault()}})})})},"FocusGroupItem"));function er(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:y(e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}function eo(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function ei(e){return e.forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})}}function es(e,t){let n=(0,g.useCallbackRef)(t);(0,v.useLayoutEffect)(()=>{let t=0;if(e){let a=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return a.observe(e),()=>{window.cancelAnimationFrame(t),a.unobserve(e)}}},[e,n])}function el(e){return e?"open":"closed"}function ec(e,t){return`${e}-trigger-${t}`}function eu(e,t){return`${e}-content-${t}`}function ed(e){return t=>"mouse"===t.pointerType?e(t):void 0}y(er,"getTabbableCandidates"),y(eo,"focusFirst"),y(ei,"removeFromTabOrder"),y(es,"useResizeObserver"),y(el,"getOpenState"),y(ec,"makeTriggerId"),y(eu,"makeContentId"),y(ed,"whenMouse");var em=e.i(225913),ef=e.i(409797),ep=e.i(975157);function eh(e){let a,r,o,i,s,l,c,u=(0,n.c)(15);u[0]!==e?({className:r,children:a,viewport:i,...o}=e,u[0]=e,u[1]=a,u[2]=r,u[3]=o,u[4]=i):(a=u[1],r=u[2],o=u[3],i=u[4]);let d=void 0===i||i;return u[5]!==r?(s=(0,ep.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",r),u[5]=r,u[6]=s):s=u[6],u[7]!==d?(l=d&&(0,t.jsx)(eb,{}),u[7]=d,u[8]=l):l=u[8],u[9]!==a||u[10]!==o||u[11]!==s||u[12]!==l||u[13]!==d?(c=(0,t.jsxs)(L,{"data-slot":"navigation-menu","data-viewport":d,className:s,...o,children:[a,l]}),u[9]=a,u[10]=o,u[11]=s,u[12]=l,u[13]=d,u[14]=c):c=u[14],c}function ev(e){let a,r,o,i,s=(0,n.c)(8);return s[0]!==e?({className:a,...r}=e,s[0]=e,s[1]=a,s[2]=r):(a=s[1],r=s[2]),s[3]!==a?(o=(0,ep.cn)("group flex flex-1 list-none items-center justify-center gap-1",a),s[3]=a,s[4]=o):o=s[4],s[5]!==r||s[6]!==o?(i=(0,t.jsx)(F,{"data-slot":"navigation-menu-list",className:o,...r}),s[5]=r,s[6]=o,s[7]=i):i=s[7],i}function eg(e){let a,r,o,i,s=(0,n.c)(8);return s[0]!==e?({className:a,...r}=e,s[0]=e,s[1]=a,s[2]=r):(a=s[1],r=s[2]),s[3]!==a?(o=(0,ep.cn)("relative",a),s[3]=a,s[4]=o):o=s[4],s[5]!==r||s[6]!==o?(i=(0,t.jsx)(K,{"data-slot":"navigation-menu-item",className:o,...r}),s[5]=r,s[6]=o,s[7]=i):i=s[7],i}let ex=(0,em.cva)("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1");function ew(e){let a,r,o,i,s,l,c=(0,n.c)(11);return c[0]!==e?({className:r,children:a,...o}=e,c[0]=e,c[1]=a,c[2]=r,c[3]=o):(a=c[1],r=c[2],o=c[3]),c[4]!==r?(i=(0,ep.cn)(ex(),"group",r),c[4]=r,c[5]=i):i=c[5],c[6]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(ef.ChevronDownIcon,{className:"relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"}),c[6]=s):s=c[6],c[7]!==a||c[8]!==o||c[9]!==i?(l=(0,t.jsxs)(V,{"data-slot":"navigation-menu-trigger",className:i,...o,children:[a," ",s]}),c[7]=a,c[8]=o,c[9]=i,c[10]=l):l=c[10],l}function ey(e){let a,r,o,i,s=(0,n.c)(8);return s[0]!==e?({className:a,...r}=e,s[0]=e,s[1]=a,s[2]=r):(a=s[1],r=s[2]),s[3]!==a?(o=(0,ep.cn)("data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto","group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none",a),s[3]=a,s[4]=o):o=s[4],s[5]!==r||s[6]!==o?(i=(0,t.jsx)(q,{"data-slot":"navigation-menu-content",className:o,...r}),s[5]=r,s[6]=o,s[7]=i):i=s[7],i}function eb(e){let a,r,o,i,s,l=(0,n.c)(9);return l[0]!==e?({className:a,...r}=e,l[0]=e,l[1]=a,l[2]=r):(a=l[1],r=l[2]),l[3]===Symbol.for("react.memo_cache_sentinel")?(o=(0,ep.cn)("absolute top-full left-0 isolate z-50 flex justify-center"),l[3]=o):o=l[3],l[4]!==a?(i=(0,ep.cn)("origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]",a),l[4]=a,l[5]=i):i=l[5],l[6]!==r||l[7]!==i?(s=(0,t.jsx)("div",{className:o,children:(0,t.jsx)(X,{"data-slot":"navigation-menu-viewport",className:i,...r})}),l[6]=r,l[7]=i,l[8]=s):s=l[8],s}function ej(e){let a,r,o,i,s=(0,n.c)(8);return s[0]!==e?({className:a,...r}=e,s[0]=e,s[1]=a,s[2]=r):(a=s[1],r=s[2]),s[3]!==a?(o=(0,ep.cn)("data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",a),s[3]=a,s[4]=o):o=s[4],s[5]!==r||s[6]!==o?(i=(0,t.jsx)(G,{"data-slot":"navigation-menu-link",className:o,...r}),s[5]=r,s[6]=o,s[7]=i):i=s[7],i}e.s(["NavigationMenu",()=>eh,"NavigationMenuContent",()=>ey,"NavigationMenuItem",()=>eg,"NavigationMenuLink",()=>ej,"NavigationMenuList",()=>ev,"NavigationMenuTrigger",()=>ew,"navigationMenuTriggerStyle",()=>ex],947755)}]);
3
4//# debugId=d94941ce-e804-5e0c-4d5f-1c4ab5035464

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.