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teChecker.js"],"sourcesContent":["import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport NewHomeNav from '../elements/NewHomeNav';\nimport ToolContainer from './ToolContainer';\nimport server from '../../api/server';\nimport { LoaderV2 } from './Loader';\n\n\n\n\nconst FAQS = [\n    {\n        \"question\": \"How do I invite someone to a Discord server?\",\n        \"answer\": \"To invite someone to a Discord server, go to the server, click on the dropdown arrow next to the server name, select 'Invite People,' and share the invite link.\"\n    },\n    {\n        \"question\": \"How do I make a Discord server invite-only?\",\n        \"answer\": \"To make a Discord server invite-only, go to server settings, select 'Roles,' create a role with invite permissions, and restrict invite generation to users with that role.\"\n    },\n    {\n        \"question\": \"How do I invite people to a Discord server?\",\n        \"answer\": \"To invite people to a Discord server, go to the server, click on the dropdown arrow next to the server name, select 'Invite People,' and share the invite link.\"\n    },\n    {\n        \"question\": \"How do I invite a bot to a Discord server?\",\n        \"answer\": \"To invite a bot to a Discord server, get the bot's invite link from a bot list website or the developer's site, and paste it into your server's invite section.\"\n    },\n    {\n        \"question\": \"How do I invite someone to a Discord server on mobile?\",\n        \"answer\": \"On mobile, open Discord, go to the server, tap on the three dots next to the server name, choose 'Invite People,' and share the invite link.\"\n    },\n    {\n        \"question\": \"How do I join a Discord server without an invite?\",\n        \"answer\": \"To join a Discord server without an invite, you need an invite link from someone already in the server, or you can find public servers through Discord communities.\"\n    },\n    {\n        \"question\": \"How do I invite Midjourney Bot to a Discord server?\",\n        \"answer\": \"To invite Midjourney Bot to a Discord server, use the bot's invite link from Midjourney's website or a bot list, and paste it into your server's invite section.\"\n    },\n    {\n        \"question\": \"How do I invite friends to a Discord server?\",\n        \"answer\": \"To invite friends to a Discord server, go to the server, click on the dropdown arrow next to the server name, select 'Invite People,' and share the invite link with your friends.\"\n    }\n];\n\nconst accessLevels = {\n    0: 'NONE',\n    1: 'LOW',\n    2: 'MEDIUM',\n    3: 'HIGH',\n    4: 'VERY_HIGH'\n};\n\n\nexport class InviteChecker extends Component {\n\n    constructor(props) {\n        super(props);\n\n        this.state = {\n            id: \"\",\n            loaded: false,\n            loading: false,\n            error: null,\n            result: {\n                type: 0,\n                code: 'botghost',\n                expires_at: null,\n                flags: 2,\n                guild: {\n                    id: '822426820447567872',\n                    name: 'BotGhost 👻',\n                    splash: '0af8ee8fa4f35acdf58847aeda983d37',\n                    banner: 'a_c3a6af1d68a4c959fe4331d975e9cef5',\n                    description: 'Official BotGhost Discord server • Create your own FREE Discord bot in less than 5 minutes with no coding required! 👻',\n                    icon: 'a_903016b57b2cd8fa336dc95f3b60a2be',\n                    features: [],\n                    verification_level: 3,\n                    vanity_url_code: 'botghost',\n                    nsfw_level: 0,\n                    nsfw: false,\n                    premium_subscription_count: 70\n                },\n                guild_id: '822426820447567872',\n                channel: { id: '1021852614725480448', type: 0, name: '📕┃server-rules' }\n            }\n        };\n    }\n\n    lookup = async () => {\n        this.setState({\n            loading: true,\n            loaded: false,\n            error: null\n        });\n        var invite = this.state.invite;\n        // If the invite is a link get the Invite part for example.\n        if (invite.includes(\"discord.gg\")) {\n            invite = this.state.invite.split(\"discord.gg/\")[1];\n        } else if (invite.includes(\"discord.com/invite\")) {\n            invite = invite.split(\"discord.com/invite/\")[1];\n        }\n\n        var response = await server.get(\"/public/tools/server_invite/\" + invite).catch(e => {\n            this.setState({ error: \"Could not find an invite\", loading: false });\n        });\n\n        if (response && response.data) {\n            this.setState({ result: response.data, loaded: true, loading: false });\n        }\n        // if (response && response.data) {\n        //     this.setState({ result: response.data, loaded: true, loading: false });\n        // } else {\n        //     this.setState({ loaded: false, loading: false, error: \"Could not find a user with that id\" });\n        // }\n\n\n    };\n\n    convertIDtoTimeStamp = () => {\n        const milliseconds = BigInt(this.state.result.id) >> 22n;\n        var date = new Date(Number(milliseconds) + 1420070400000);\n        return date.toLocaleDateString(\"en-US\", { year: 'numeric', month: 'short', day: 'numeric' });\n        // return new Date(Number(milliseconds) + 1420070400000);\n\n    };\n\n\n    renderBadges = () => {\n        var return_badges = [];\n\n        badges.forEach(badge => {\n            if ((this.state.result.public_flags & badge.Flag) == badge.Flag && badge.Flag != \"Unknown\" && badge.Flag != 0) {\n                return_badges.push(<img title={badge.Title} className='h-[35px] inline-block' src={process.env.PUBLIC_URL + \"/img\" + badge.img_src}></img>);\n            }\n        });\n\n\n        return return_badges;\n    };\n    render() {\n        return (\n            <ToolContainer faqs={FAQS} title=\"Discord Invite Checker\" description=\"Lookup information about a discord server using their invite URL\">\n                <div className='lg:px-[25%]'>\n                    <div className=\"text-center text-white flex justify-center flex-col mb-3\">\n                        <img className='h-[60px]' src={process.env.PUBLIC_URL + '/img/logo-red.png'}></img>\n                        <h1 className='text-5xl font-bold'>Discord Server Invite Checker</h1>\n                        <p className='muted-text'>Lookup information about a Discord Server invite using an invite link.</p>\n                    </div>\n\n\n                    <div className='mt-5'>\n                        <div>\n                            <div>\n                                <label htmlFor=\"email\" className=\"block text-md font-bold leading-6 text-white\">\n                                    Discord Server Invite\n                                </label>\n                                <div className=\"mt-2\">\n                                    <input\n                                        type=\"text\"\n                                        name=\"text\"\n                                        id=\"text\"\n                                        value={this.state.invite}\n                                        onChange={(e) => this.setState({ invite: e.target.value })}\n                                        className=\"block w-full rounded-md border-0 py-2 px-2 text-lg text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6\"\n                                        placeholder=\"botghost\"\n                                    />\n                                </div>\n                            </div>\n\n                            <div>\n                                <button className='btn btn-red mt-2' onClick={() => {\n                                    this.lookup();\n                                }}>Lookup</button>\n                            </div>\n                        </div>\n                    </div>\n\n                    <div className='text-red mt-5 font-bold text-xl'>\n                        {this.state.error}\n                    </div>\n\n\n                    {this.state.loaded ? <div className='mt-5'>\n                        <h2 className='text-4xl font-bold text-white'>Result</h2>\n\n                        <div>\n                            <div className='relative w-full'>\n                                {\n                                    this.state.result.guild.banner ? <img onClick={() => {\n                                        window.open(`https://cdn.discordapp.com/banners/${this.state.result.guild.id}/${this.state.result.guild.banner}.png?size=1024`);\n                                    }} className='hover:cursor-pointer hover:opacity-60 w-full' src={`https://cdn.discordapp.com/banners/${this.state.result.guild.id}/${this.state.result.guild.banner}.gif?size=1024`} /> : <div className={`h-[250px] bg-[${this.state.result.banner_color ? this.state.result.banner_color : \"red\"}]`}></div>\n                                }\n                                <img onClick={() => {\n                                    window.open(`https://cdn.discordapp.com/avatars/${this.state.result.guild.id}/${this.state.result.guild.icon}.png?size=1024`);\n                                }} className='h-[150px] rounded-full absolute bottom-[-75px] left-[25px] hover:cursor-pointer hover:border-red' src={`https://cdn.discordapp.com/icons/${this.state.result.guild.id}/${this.state.result.guild.icon}.png?size=1024`} ></img>\n                            </div>\n\n                            <div className='bg-lightGray px-5 py-[100px]'>\n\n                                <div className='flex items-center'>\n                                    <div>\n                                        <p className='text-white font-bold text-2xl'>{this.state.result.global_name}</p>\n                                        <p className='muted-text align-left'>{this.state.result.username}</p>\n                                    </div>\n                                    <div className='ml-auto'>\n                                        {/* {this.renderBadges()} */}\n                                    </div>\n                                    {/* {this.state.result.bot ? <span className=\" ml-2 inline-flex items-center rounded-md bg-[#5865F2] px-2 py-1 text-sm text-white font-bold ring-1 ring-inset ring-gray-500/10\">\n        BOT\n    </span> : null} */}\n                                </div>\n\n                                <div className='mt-3 flex gap-x-6'>\n                                    <div>\n                                        <p className='text-white opacity-75 text-sm font-bold'>Server Name</p>\n                                        <div>\n                                            <p className='text-white font-bold text-xl'>{this.state.result.guild.name}</p>\n                                        </div>\n                                    </div>\n\n                                    <div>\n                                        <p className='text-white opacity-75 text-sm font-bold'>Server ID</p>\n                                        <div>\n                                            <p className='text-white font-bold text-xl'>{this.state.result.guild.id}</p>\n                                        </div>\n                                    </div>\n\n                                    <div>\n                                        <p className='text-white opacity-75 text-sm font-bold'>NSFW</p>\n                                        <div>\n                                            <p className='text-white font-bold text-xl'>{this.state.result.guild.nsfw ? \"Yes\" : \"No\"}</p>\n                                        </div>\n                                    </div>\n\n                                    <div>\n                                        <p className='text-white opacity-75 text-sm font-bold'>Verification Level</p>\n                                        <div>\n                                            <p className='text-white font-bold text-xl'>{accessLevels[this.state.result.guild.verification_level]}</p>\n                                        </div>\n                                    </div>\n\n                                </div>\n\n\n                                <div className='mt-15'>\n                                    <p className='text-white opacity-75 text-sm font-bold'>Description</p>\n                                    <div>\n                                        <p className='text-white font-bold text-xl'>{this.state.result.guild.description}</p>\n                                    </div>\n                                </div>\n                            </div>\n\n\n\n                        </div>\n                    </div> : null}\n\n                    {\n                        this.state.loading ? <LoaderV2 text=\"Loading Server Info\" /> : null\n                    }\n\n\n                </div>\n\n                <div>\n                    <div class=\"max-w-2xl mx-auto p-6 text-white  rounded-lg\">\n                        <h1 class=\"text-3xl font-bold mb-6\">How to Generate a Discord Server Invite</h1>\n                        <ol class=\"list-decimal pl-6 space-y-4\">\n                            <li class=\"mb-2\"><strong>Open Discord:</strong> Launch Discord and log in to your account.</li>\n                            <li class=\"mb-2\"><strong>Select Your Server:</strong> Click on the server where you want to create the invite.</li>\n                            <li class=\"mb-2\"><strong>Navigate to Server Settings:</strong> Click on the server name and select \"Server Settings\" from the dropdown.</li>\n                            <li class=\"mb-2\"><strong>Access Server Settings:</strong> Go to the \"Invites\" tab in the server settings.</li>\n                            <li class=\"mb-2\"><strong>Create Invite:</strong> Click \"Create Invite\" to generate a new invite link.</li>\n                            <li class=\"mb-2\"><strong>Customize Invite Settings (Optional):</strong> Adjust expiration time, maximum uses, and permissions if needed.</li>\n                            <li class=\"mb-2\"><strong>Generate the Invite Link:</strong> Click \"Generate a New Link\" to create the invite link.</li>\n                            <li class=\"mb-2\"><strong>Copy the Invite Link:</strong> Copy the generated invite link.</li>\n                            <li class=\"mb-2\"><strong>Share the Invite Link:</strong> Paste the invite link to share it with others.</li>\n                        </ol>\n                    </div>\n                </div>\n\n            </ToolContainer >\n        );\n    }\n}\n\nconst mapStateToProps = (state) => ({});\n\nconst mapDispatchToProps = {};\n\nexport default InviteChecker;"],"names":["FAQS","accessLevels","InviteChecker","_Component","_inherits","_super","_createSuper","props","_this","_classCallCheck","call","lookup","_asyncToGenerator","_regeneratorRuntime","mark","_callee","invite","response","wrap","_context","prev","next","setState","loading","loaded","error","state","includes","split","server","get","catch","e","sent","data","result","stop","convertIDtoTimeStamp","milliseconds","BigInt","id","Date","Number","toLocaleDateString","year","month","day","renderBadges","return_badges","badges","forEach","badge","public_flags","Flag","push","_jsx","title","Title","className","src","img_src","type","code","expires_at","flags","guild","name","splash","banner","description","icon","features","verification_level","vanity_url_code","nsfw_level","nsfw","premium_subscription_count","guild_id","channel","_createClass","key","value","_this2","_jsxs","ToolContainer","faqs","children","htmlFor","this","onChange","target","placeholder","onClick","window","open","concat","banner_color","global_name","username","LoaderV2","text","class","Component"],"sourceRoot":""}