"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[96157],{93964:(e,s,a)=>{a.d(s,{Z:()=>i});var t=a(85893),r=a(94777);let i=e=>{let{children:s,className:a}=e;return(0,t.jsx)("div",{className:(0,r.cn)("mx-auto max-w-5xl px-5 sm:px-3",a),children:s})}},96157:(e,s,a)=>{a.d(s,{Z:()=>L});var t=a(85893),r=a(25675),i=a.n(r),n=a(41664),d=a.n(n),l=a(67294),o=a(96606),c=a(64318),m=a(93964);let x=()=>(0,t.jsx)("section",{className:"bg-secondary pt-10 pb-5 sm:pt-20",children:(0,t.jsxs)(m.Z,{children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-5 border-b-2 border-primary pb-5 sm:grid-cols-4",children:[(0,t.jsxs)("div",{className:"sm:col-span-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(i(),{src:"/images/Logo.png",width:30,height:30,alt:"logo"}),(0,t.jsx)("span",{className:"text-2xl font-bold",children:"Custom Commands"})]}),(0,t.jsx)("p",{className:"mt-3 text-secondary-foreground",children:"#1 Custom commands discord bot available on the internet"}),(0,t.jsx)("div",{className:"mt-5",children:(0,t.jsx)(i(),{src:"/images/stripe.png",width:150,height:50,alt:"stripe"})})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"mb-3 text-xl font-semibold text-primary",children:"Links"}),(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)(d(),{href:"/",children:"Home"}),(0,t.jsx)(d(),{href:"/blog",children:"Blog"}),(0,t.jsx)(d(),{href:"/privacy",children:"Privacy"}),(0,t.jsx)(d(),{href:"/support",children:"Support"})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"mb-3 text-xl font-semibold text-primary",children:"Contact"}),(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"flex h-6 w-6 items-center justify-center",children:(0,t.jsx)(o.DBs,{className:"text-xl"})}),(0,t.jsx)("a",{className:"col-span-9 truncate underline",href:"mailto:contact@shahriyar.dev",children:"contact@shahriyar.dev"})]}),(0,t.jsxs)("p",{className:"flex items-start gap-2",children:[(0,t.jsx)(c.Sw5,{className:"text-xl"}),(0,t.jsxs)("span",{className:"flex flex-col",children:[(0,t.jsx)("span",{children:"20-22 Wenlock Road"}),(0,t.jsx)("span",{children:"England"}),(0,t.jsx)("span",{children:"N1 7GU"})]})]})]})]})]}),(0,t.jsx)("p",{className:"mt-2 text-center text-sm text-secondary-foreground sm:text-right",children:"\xa9 WEiRDSOFT LTD. All rights reserved."})]})});var f=a(33299),h=a(55346),u=a(49027),p=a(28116),j=a(45139),g=a(42171),v=a(94777);let N=l.forwardRef((e,s)=>{let{className:a,children:r,...i}=e;return(0,t.jsxs)(p.fC,{ref:s,className:(0,v.cn)("relative z-10 flex max-w-max flex-1 items-center justify-center",a),...i,children:[r,(0,t.jsx)(k,{})]})});N.displayName=p.fC.displayName;let b=l.forwardRef((e,s)=>{let{className:a,...r}=e;return(0,t.jsx)(p.aV,{ref:s,className:(0,v.cn)("group flex flex-1 list-none items-center justify-center space-x-1",a),...r})});b.displayName=p.aV.displayName;let y=p.ck,w=(0,j.j)("group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50");l.forwardRef((e,s)=>{let{className:a,children:r,...i}=e;return(0,t.jsxs)(p.xz,{ref:s,className:(0,v.cn)(w(),"group",a),...i,children:[r," ",(0,t.jsx)(g.default,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180","aria-hidden":"true"})]})}).displayName=p.xz.displayName,l.forwardRef((e,s)=>{let{className:a,...r}=e;return(0,t.jsx)(p.VY,{ref:s,className:(0,v.cn)("left-0 top-0 w-full 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 md:absolute md:w-auto ",a),...r})}).displayName=p.VY.displayName,p.rU;let k=l.forwardRef((e,s)=>{let{className:a,...r}=e;return(0,t.jsx)("div",{className:(0,v.cn)("absolute left-0 top-full flex justify-center"),children:(0,t.jsx)(p.l_,{className:(0,v.cn)("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",a),ref:s,...r})})});k.displayName=p.l_.displayName,l.forwardRef((e,s)=>{let{className:a,...r}=e;return(0,t.jsx)(p.z$,{ref:s,className:(0,v.cn)("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",a),...r,children:(0,t.jsx)("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})})}).displayName=p.z$.displayName;var z=a(19258),C=a.n(z),R=a(78497),_=a(8007),X=a(74882),S=a(3745),V=a(1571),D=a(98778);let F=()=>{var e;let[s,a]=(0,l.useState)(!1),{data:r,status:n}=(0,f.useSession)(),{theme:c,setTheme:x}=(0,V.F)();return(0,l.useEffect)(()=>{r&&C().identify(r.user.id,{name:r.user.name,email:r.user.email||"unknown"})},[r]),(0,t.jsxs)(m.Z,{className:"flex items-center justify-between py-3 sm:grid-cols-[50px_auto_50px]",children:[(0,t.jsx)(d(),{href:"/",children:(0,t.jsx)("span",{children:(0,t.jsx)(i(),{src:"/images/Logo.png",width:50,height:50,alt:"logo"})})}),(0,t.jsx)("div",{className:"hidden items-center justify-center sm:block",children:(0,t.jsx)(N,{children:(0,t.jsxs)(b,{className:"gap-5",children:[(0,t.jsx)(y,{asChild:!0,children:(0,t.jsx)(d(),{href:"/blog",children:"Blog"})}),(0,t.jsx)(y,{asChild:!0,children:(0,t.jsx)(d(),{href:"/privacy",children:"Privacy"})}),(0,t.jsx)(y,{asChild:!0,children:(0,t.jsx)(d(),{href:"/premium",children:"Premium"})}),(0,t.jsx)(y,{asChild:!0,children:(0,t.jsx)(d(),{href:"/support",children:"Support"})})]})})}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-end gap-2",children:["authenticated"!==n?(0,t.jsxs)(D.z,{disabled:s,onClick:()=>{a(!0),(0,f.signIn)("discord",{callbackUrl:"/dashboard"})},children:[s?(0,t.jsx)(o.sOR,{className:"animate-spin mr-2"}):(0,t.jsx)(h.j2d,{className:"mr-2"}),"Login"]}):(0,t.jsxs)(u.h_,{children:[(0,t.jsx)(u.$F,{children:(0,t.jsx)(i(),{src:null==r?void 0:null===(e=r.user)||void 0===e?void 0:e.image,width:40,height:40,alt:"Profile",className:"rounded-full focus:ring-2 focus:ring-blue-600"})}),(0,t.jsxs)(u.AW,{children:[(0,t.jsx)(u.Xi,{children:(0,t.jsx)(d(),{href:"/dashboard",children:"Dashboard"})}),(0,t.jsx)(u.Xi,{children:(0,t.jsx)(d(),{href:"/dashboard/billing",children:"Billing"})}),(0,t.jsx)(u.Xi,{onClick:()=>(0,f.signOut)(),children:"Logout"})]})]}),(0,t.jsx)("div",{className:"sm:hidden",children:(0,t.jsxs)(u.h_,{children:[(0,t.jsx)(u.$F,{asChild:!0,children:(0,t.jsx)(D.z,{variant:"outline",size:"icon",className:"rounded-full",children:(0,t.jsx)(R.default,{size:18})})}),(0,t.jsxs)(u.AW,{children:[(0,t.jsx)(u.Xi,{asChild:!0,children:(0,t.jsx)(d(),{href:"/blog",children:"Blog"})}),(0,t.jsx)(u.Xi,{asChild:!0,children:(0,t.jsx)(d(),{href:"/privacy",children:"Privacy"})}),(0,t.jsx)(u.Xi,{asChild:!0,children:(0,t.jsx)(d(),{href:"/premium",children:"Premium"})}),(0,t.jsx)(u.Xi,{asChild:!0,children:(0,t.jsx)(d(),{href:"/support",children:"Support"})}),(0,t.jsx)(u.VD,{}),(0,t.jsxs)(u.Ph,{children:[(0,t.jsx)(u.kt,{children:(0,t.jsx)("span",{children:"Theme"})}),(0,t.jsxs)(u.TG,{children:[(0,t.jsxs)(u.Xi,{onSelect:()=>x("light"),children:[(0,t.jsx)(_.default,{className:"mr-2"}),(0,t.jsx)("span",{children:"Light"})]}),(0,t.jsxs)(u.Xi,{onSelect:()=>x("dark"),children:[(0,t.jsx)(X.default,{className:"mr-2"}),(0,t.jsx)("span",{children:"Dark"})]}),(0,t.jsxs)(u.Xi,{onSelect:()=>x("system"),children:[(0,t.jsx)(S.default,{className:"mr-2"}),(0,t.jsx)("span",{children:"System"})]})]})]})]})]})})]}),(0,t.jsxs)(u.h_,{children:[(0,t.jsx)(u.$F,{asChild:!0,children:(0,t.jsxs)(D.z,{variant:"outline",size:"icon",className:"rounded-full hidden sm:flex",children:["light"===c&&(0,t.jsx)(_.default,{size:18}),"dark"===c&&(0,t.jsx)(X.default,{size:18}),"system"===c&&(0,t.jsx)(S.default,{size:18})]})}),(0,t.jsxs)(u.AW,{children:[(0,t.jsxs)(u.Xi,{onClick:()=>x("light"),children:[(0,t.jsx)(_.default,{className:"mr-2 h-4 w-4"}),(0,t.jsx)("span",{children:"Light"})]}),(0,t.jsxs)(u.Xi,{onClick:()=>x("dark"),children:[(0,t.jsx)(X.default,{className:"mr-2 h-4 w-4"}),(0,t.jsx)("span",{children:"Dark"})]}),(0,t.jsxs)(u.Xi,{onClick:()=>x("system"),children:[(0,t.jsx)(S.default,{className:"mr-2 h-4 w-4"}),(0,t.jsx)("span",{children:"System"})]})]})]})]})]})},L=e=>{let{children:s}=e;return(0,t.jsxs)("div",{children:[(0,t.jsx)(F,{}),(0,t.jsx)("div",{className:"min-h-[80vh]",children:s}),(0,t.jsx)(x,{})]})}},98778:(e,s,a)=>{a.d(s,{d:()=>l,z:()=>o});var t=a(85893),r=a(88426),i=a(45139),n=a(67294),d=a(94777);let l=(0,i.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",success:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),o=n.forwardRef((e,s)=>{let{className:a,variant:i,size:n,asChild:o=!1,...c}=e,m=o?r.g7:"button";return(0,t.jsx)(m,{className:(0,d.cn)(l({variant:i,size:n,className:a})),ref:s,...c})});o.displayName="Button"},49027:(e,s,a)=>{a.d(s,{$F:()=>m,AW:()=>p,Ju:()=>v,Ph:()=>f,Qk:()=>x,TG:()=>u,VD:()=>N,Xi:()=>j,bO:()=>g,h_:()=>c,kt:()=>h});var t=a(85893),r=a(49064),i=a(4307),n=a(78865),d=a(70162),l=a(67294),o=a(94777);let c=r.fC,m=r.xz,x=r.ZA;r.Uv;let f=r.Tr;r.Ee;let h=l.forwardRef((e,s)=>{let{className:a,inset:n,children:d,...l}=e;return(0,t.jsxs)(r.fF,{ref:s,className:(0,o.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",n&&"pl-8",a),...l,children:[d,(0,t.jsx)(i.default,{className:"ml-auto h-4 w-4"})]})});h.displayName=r.fF.displayName;let u=l.forwardRef((e,s)=>{let{className:a,...i}=e;return(0,t.jsx)(r.tu,{ref:s,className:(0,o.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...i})});u.displayName=r.tu.displayName;let p=l.forwardRef((e,s)=>{let{className:a,sideOffset:i=4,...n}=e;return(0,t.jsx)(r.Uv,{children:(0,t.jsx)(r.VY,{ref:s,sideOffset:i,className:(0,o.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...n})})});p.displayName=r.VY.displayName;let j=l.forwardRef((e,s)=>{let{className:a,inset:i,...n}=e;return(0,t.jsx)(r.ck,{ref:s,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",i&&"pl-8",a),...n})});j.displayName=r.ck.displayName;let g=l.forwardRef((e,s)=>{let{className:a,children:i,checked:d,...l}=e;return(0,t.jsxs)(r.oC,{ref:s,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:d,...l,children:[(0,t.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,t.jsx)(r.wU,{children:(0,t.jsx)(n.default,{className:"h-4 w-4"})})}),i]})});g.displayName=r.oC.displayName,l.forwardRef((e,s)=>{let{className:a,children:i,...n}=e;return(0,t.jsxs)(r.Rk,{ref:s,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...n,children:[(0,t.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,t.jsx)(r.wU,{children:(0,t.jsx)(d.default,{className:"h-2 w-2 fill-current"})})}),i]})}).displayName=r.Rk.displayName;let v=l.forwardRef((e,s)=>{let{className:a,inset:i,...n}=e;return(0,t.jsx)(r.__,{ref:s,className:(0,o.cn)("px-2 py-1.5 text-sm font-semibold",i&&"pl-8",a),...n})});v.displayName=r.__.displayName;let N=l.forwardRef((e,s)=>{let{className:a,...i}=e;return(0,t.jsx)(r.Z0,{ref:s,className:(0,o.cn)("-mx-1 my-1 h-px bg-muted",a),...i})});N.displayName=r.Z0.displayName},94777:(e,s,a)=>{a.d(s,{cn:()=>i});var t=a(90512),r=a(98388);function i(){for(var e=arguments.length,s=Array(e),a=0;a<e;a++)s[a]=arguments[a];return(0,r.m6)((0,t.W)(s))}}}]);