1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[662],{38076:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/settings",function(){return r(21671)}])},44667:function(e,t,r){"use strict";var a=r(85893),o=r(9008),s=r.n(o);let n=(0,r(67294).memo)(e=>{let{title:t,description:r,keywords:o,canonicalUrl:n}=e;return(0,a.jsxs)(s(),{children:[(0,a.jsx)("title",{children:t}),(0,a.jsx)("meta",{name:"description",content:r}),(0,a.jsx)("meta",{name:"keywords",content:o.join(", ")}),(0,a.jsx)("link",{rel:"canonical",href:n}),(0,a.jsx)("meta",{property:"og:title",content:t}),(0,a.jsx)("meta",{property:"og:description",content:r}),(0,a.jsx)("meta",{property:"og:url",content:n}),(0,a.jsx)("meta",{property:"og:site_name",content:t}),(0,a.jsx)("meta",{property:"og:title",content:t}),(0,a.jsx)("meta",{property:"og:description",content:r}),(0,a.jsx)("meta",{property:"og:url",content:n}),(0,a.jsx)("meta",{property:"og:type",content:"saas"}),(0,a.jsx)("meta",{property:"og:image",content:"https://cypherscribe-tenant-images.s3.ap-south-1.amazonaws.com/Screenshot+2024-11-15+at+00.55.06.png"}),(0,a.jsx)("meta",{property:"og:image:alt",content:"CypherScribe documentation"}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{name:"twitter:site",content:"@cypherscribe"}),(0,a.jsx)("meta",{name:"twitter:creator",content:"@govind755"}),(0,a.jsx)("meta",{name:"twitter:title",content:t}),(0,a.jsx)("meta",{name:"twitter:description",content:r}),(0,a.jsx)("link",{rel:"icon",href:"https://cypherscribe-tenant-images.s3.ap-south-1.amazonaws.com/cs-large2.png",type:"image/png"}),(0,a.jsx)("meta",{property:"og:image",content:"https://cypherscribe-tenant-images.s3.ap-south-1.amazonaws.com/Screenshot+2024-11-15+at+00.55.06.png"}),(0,a.jsx)("meta",{property:"og:image:alt",content:"Cypher Scribe Logo"}),(0,a.jsx)("meta",{name:"twitter:image",content:"https://cypherscribe-tenant-images.s3.ap-south-1.amazonaws.com/Screenshot+2024-11-15+at+00.55.06.png"}),(0,a.jsx)("meta",{name:"twitter:image:alt",content:"Cypher Scribe Logo"})]})});n.displayName="seo",t.Z=n},96782:function(e,t,r){"use strict";r.d(t,{Df:function(){return c},LM:function(){return i},Vq:function(){return h},Ws:function(){return p},X2:function(){return s},ZC:function(){return m},_S:function(){return a},dY:function(){return u},j0:function(){return n},tj:function(){return y},xF:function(){return d},y6:function(){return o},yW:function(){return l}});let a={title:"Affordable Pricing Plans for CypherScribe Docs Platform",description:"Unlock the full potential of CypherScribeâs no-code documentation platform at flexible and budget-friendly pricing. Choose the perfect plan for your team and streamline your documentation workflow.",keywords:["CypherScribe pricing plans","affordable documentation pricing","best no-code docs platform","developer documentation pricing","interactive docs pricing"],canonicalUrl:"https://cypherscribe.com/pricing"},o={title:"Get in Touch with CypherScribe - Weâre Here to Help",description:"Need assistance or have questions? Contact CypherScribeâs support team for expert guidance on using our interactive documentation platform.",keywords:["contact CypherScribe support","CypherScribe help desk","documentation support","no-code docs assistance","CypherScribe customer service"],canonicalUrl:"https://cypherscribe.com/contact"},s={title:"CypherScribe Terms of Service - Understand Our Policies",description:"Review CypherScribeâs Terms of Service for clear guidance on using our no-code documentation solution. Know your rights and responsibilities.",keywords:["CypherScribe Terms of Service","documentation platform policies","no-code documentation terms","user agreement for docs platform"],canonicalUrl:"https://cypherscribe.com/tos"},n={title:"CypherScribe Privacy Policy - Your Data, Our Commitment",description:"Learn how CypherScribe prioritizes your privacy and protects your data. Review our comprehensive privacy policy to stay informed.",keywords:["CypherScribe privacy policy","data protection policy","documentation data security","user privacy assurance","no-code platform privacy"],canonicalUrl:"https://cypherscribe.com/privacy-policy"},i={title:"CypherScribe Account Settings - Personalize Your Experience",description:"Access and customize your CypherScribe account settings for a seamless and tailored documentation experience. Manage preferences and updates easily.",keywords:["CypherScribe account settings","customize documentation settings","user preferences for docs","personalized no-code platform","manage CypherScribe account"],canonicalUrl:"https://cypherscribe.com/settings"}
1,c={title:"Your CypherScribe Workspace - Centralized Documentation Hub",description:"Explore your CypherScribe workspace where you can build, manage, and customize your documentation projects efficiently with our no-code tools.",keywords:["CypherScribe workspace","documentation project dashboard","manage docs projects","no-code workspace for docs","interactive docs management"],canonicalUrl:"https://cypherscribe.com/workspace"},l={title:"Live Docs Preview - CypherScribeâs Real-Time Review Tool",description:"Preview your documentation in real-time before going live. Ensure accuracy and seamless functionality with CypherScribeâs advanced preview features.",keywords:["real-time docs preview","CypherScribe documentation review","live document preview","check documentation before publishing","interactive preview for docs"],canonicalUrl:"https://cypherscribe.com/preview"},d={title:"Effortless Editing for Your Docs - CypherScribeâs No-Code Tools",description:"Make changes and updates to your documentation seamlessly with CypherScribeâs user-friendly editing tools. Keep content relevant and precise.",keywords:["edit documentation","no-code document editing","CypherScribe editor","update docs easily","edit docs platform"],canonicalUrl:"https://cypherscribe.com/edit"},m={title:"Seamless Notion Integration - Convert and Import Effortlessly",description:"Transform your Notion pages into comprehensive, interactive documentation with CypherScribeâs seamless integration tools.",keywords:["Notion to documentation","CypherScribe Notion import","convert Notion pages to docs","Notion integration for docs","Notion to interactive documentation"],canonicalUrl:"https://cypherscribe.com/notion-integration"},u={title:"Get Started with CypherScribe - Smooth Onboarding Experience",description:"Join CypherScribe and experience a hassle-free onboarding process. Set up your interactive documentation in minutes.",keywords:["CypherScribe onboarding","start with documentation platform","onboarding for docs creation","quick start guide for CypherScribe","setup interactive docs"],canonicalUrl:"https://cypherscribe.com/onboarding"},p={title:"Payment Confirmation - CypherScribe Docs Platform",description:"Check your payment status and enjoy uninterrupted access to CypherScribeâs powerful documentation tools.",keywords:["CypherScribe payment status","confirm payment for docs platform","billing status for CypherScribe","subscription payment confirmation","verify docs platform payment"],canonicalUrl:"https://cypherscribe.com/payment-status"},h={title:"Your Documentation Index - Explore and Navigate",description:"Access and manage your documentation index with CypherScribe. Organize and view your interactive documents effortlessly.",keywords:["CypherScribe docs index","documentation management","view interactive documents","navigate docs platform","index page for documentation"]},y={title:"CypherScribe - Transform Data into Developer Docs Instantly",description:"Create, customize, and launch interactive, SEO-optimized Developer documentation in 18 seconds with CypherScribe. Experience the ultimate no-code documentation solution for teams and businesses.",keywords:["no-code documentation platform","developer-friendly docs","interactive docs builder","CypherScribe platform","fast documentation creation","customizable documentation","SEO-friendly docs","best docs tool","developer documentation solution","instant documentation builder"],canonicalUrl:"https://cypherscribe.com"}},74098:function(e,t,r){"use strict";r.d(t,{Ol:function(){return i},SZ:function(){return l},Zb:function(){return n},aY:function(){return d},eW:function(){return m},ll:function(){return c}});var a=r(85893),o=r(67294),s=r(59923);let n=o.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("rounded-lg border border-slate-200 bg-white text-slate-950 shadow-sm dark:border-slate-800 dark:bg-slate-950 dark:text-slate-50",r),...o})});n.displayName="Card";let i=o.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",r),...o})});
1i.displayName="CardHeader";let c=o.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,a.jsx)("h3",{ref:t,className:(0,s.cn)("text-2xl font-semibold leading-none tracking-tight",r),...o})});c.displayName="CardTitle";let l=o.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,a.jsx)("p",{ref:t,className:(0,s.cn)("text-sm text-slate-500 dark:text-slate-400",r),...o})});l.displayName="CardDescription";let d=o.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("p-6 pt-0",r),...o})});d.displayName="CardContent";let m=o.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("flex items-center p-6 pt-0",r),...o})});m.displayName="CardFooter"},69999:function(e,t,r){"use strict";r.d(t,{I:function(){return n}});var a=r(85893),o=r(67294),s=r(59923);let n=o.forwardRef((e,t)=>{let{className:r,type:o,...n}=e;return(0,a.jsx)("input",{type:o,autoComplete:"off",className:(0,s.cn)("flex h-10 w-full rounded-md border border-slate-200 bg-white px-3 py-2 text-sm ring-offset-white file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-slate-500 disabled:cursor-not-allowed disabled:opacity-50 dark:border-slate-600 dark:bg-slate-950 dark:ring-offset-slate-950 dark:placeholder:text-slate-400 dark:focus-visible:ring-slate-300",r),ref:t,...n})});n.displayName="Input"},27269:function(e,t,r){"use strict";function a(e){return!!e&&null!==e.match(/(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g)}r.d(t,{pM:function(){return a}})},34798:function(e,t,r){"use strict";r.d(t,{D:function(){return a}});let a=()=>"https://api.cypherscribe.com"},21671:function(e,t,r){"use strict";r.r(t);var a=r(85893),o=r(67294),s=r(11163),n=r(87066),i=r(86551),c=r(2759),l=r(69999),d=r(53748),m=r(74304),u=r(16431),p=r(74098),h=r(33299),y=r(34798),x=r(80908),f=r(41664),g=r.n(f),b=r(44667),v=r(96782),w=r(27269);t.default=()=>{let e=(0,s.useRouter)(),[t,r]=(0,o.useState)(""),[f,E]=(0,o.useState)(""),[T,P]=(0,o.useState)(!1),[_,M]=(0,o.useState)(!1),[U,Z]=(0,o.useState)(!1),[O,I]=(0,o.useState)(!1),[L,Y]=(0,o.useState)(""),[R,V]=(0,o.useState)(""),[W,F]=(0,o.useState)({cypherDomain:"",customDomain:""}),[B,H]=(0,o.useState)(!1),[q,G]=(0,o.useState)(""),[$,K]=(0,o.useState)(""),{data:X}=(0,h.useSession)();(0,o.useEffect)(()=>{r((0,x.DB)("pt")),F({cypherDomain:(0,x.DB)("cypherDomain")||"",customDomain:(0,x.DB)("customDomain")||""})},[]);let J=async e=>{I(!0);try{var t;let r=await n.Z.post("".concat((0,y.D)(),"/check-subdomain-availability"),{cypherDomain:e,userId:null==X?void 0:null===(t=X.user)||void 0===t?void 0:t.id});if(r.data.available)return(0,m.Am)({title:"Domain Available",description:r.data.message}),Y(""),!0;return(0,m.Am)({title:"Domain Unavailable, ".concat(r.data.message)}),Y(r.data.suggestion),!1}catch(e){return(0,m.Am)({title:"Error",description:"Failed to check domain availability",variant:"destructive"}),!1}finally{I(!1)}},Q=async()=>{var e,r,o;if(!q){(0,m.Am)({title:"Error",description:"Please enter a subdomain",variant:"destructive"});return}let s="".concat(null==q?void 0:null===(e=q.toLowerCase())||void 0===e?void 0:e.trim(),".cypherscribe.com");if((null===(o=W.cypherDomain)||void 0===o?void 0:null===(r=o.toLowerCase())||void 0===r?void 0:r.trim())===s)return(0,m.Am)({title:"This domain is already active with your workspace"});"free"!==t.trim().toLowerCase()||t.trim().toLowerCase().includes("free")||(0,m.Am)({tite:'You cant remve the word "free" since you are on the free plan',action:(0,a.jsx)(g(),{href:"/pricing",children:(0,a.jsx)(c.z,{children:"Upgrade Plan"})})});let i=q.includes("cypherscribe.com")?q.split("cypherscribe.com")[0]:q;if(await J(i)){P(!0);try{let e=await n.Z.post("".concat((0,y.D)(),"/assign-domain"),{userId:X.user.id,workspaceId:(0,x.DB)("workspaceId"),currentCypherDomain:W.cypherDomain,newCypherDomain:i});e.data.success&&(F({...W,cypherDomain:e.data.cypherDomain}),H(!1),(0,m.Am)({title:"Success",description:"Your subdomain has been successfully updated."}),(0,x.dg)("cypherDomain",e.data.cypherDomain))}catch(e){(0,m.Am)({title:"Error",description:"Failed to update subdomain. Please try again.",variant:"destructive"})}finally{P(!1)}}},ee=async()=>{let e=new FormData;e.append("name",X.user.email.split("@")[0]),e.append("email",X.user.email),e.append("message",R),e.append("date",new Date),X.user&&e.append("user_id",X.user.id);try{(await n.Z.post("".concat((0,y.D)(),"/contact-form"),e,{headers:{"Content-Type":"application/json"}})).data.success&&((0,m.Am)({title:"We will get back to you within 5 hours"}),V(""))}catch(e){(0,m.Am)({title:"An error occurred, Please try again later"})}},[et,er]=(0,o.useState)(!1),ea=e=>new Promise(t=>setTimeout(t,e)),eo=async()=>{var e,t;if(!$||!(null==X?void 0:null===(e=X.user)||void 0===e?void 0:e.id))return(0,m.Am)({title:"Invalid subdomain or user session",variant:"destructive"}),!1;try{return(await n.Z.post("/api/dns",{subdomain:$,userID:X.user.id})).data.success}catch(e){return console.error("Verification attempt failed:",(null===(t=e.response)||void 0===t?void 0:t.data)||e.message),!1}},es=async()=>
1{if(!et){er(!0);try{for(let e=1;e<=8;e++){if(console.log("Verification attempt ".concat(e,"/").concat(8)),await eo())return(0,m.Am)({title:"Domain verified and activated successfully! \uD83C\uDF89"}),!0;e<8&&await ea(8e3)}throw Error("Verification failed after all attempts")}catch(e){return console.error("Verification error:",e),(0,m.Am)({title:"Failed to verify domain. Please check your DNS settings or contact support.",action:(0,a.jsx)(g(),{href:"/contact",children:(0,a.jsx)(c.z,{variant:"outline",children:"Contact Support"})})}),!1}finally{er(!1)}}};return(0,a.jsxs)("div",{className:"bg-black min-h-screen text-gray-200",children:[(0,a.jsx)(u.Z,{}),(0,a.jsx)(b.Z,{title:v.LM.title,description:v.LM.description,keywords:v.LM.keywords,canonicalUrl:"https://cypherscribe.com/setings"}),(0,a.jsxs)("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-16 sm:pb-24 pt-32",children:[(0,a.jsxs)("h1",{className:"text-4xl font-bold mb-16 flex items-center gap-4",children:["Settings ",(0,a.jsx)(z,{})]}),(0,a.jsxs)(p.Zb,{className:"mb-12 bg-gray-900 border-gray-800",children:[(0,a.jsx)(p.Ol,{children:(0,a.jsx)(p.ll,{className:"text-2xl border-b border-gray-400 w-fit font-bold",children:"Subscription"})}),(0,a.jsxs)(p.aY,{children:[(0,a.jsxs)("div",{className:"text-lg mb-6",children:["Current Plan:"," ",(0,a.jsx)("span",{className:"font-semibold text-blue-400",children:t})]}),(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4",children:[(0,a.jsxs)(i.aR,{children:[(0,a.jsx)(i.vW,{asChild:!0,children:(0,a.jsx)(c.z,{variant:"destructive",className:"w-full sm:w-auto",children:"Cancel Plan"})}),(0,a.jsxs)(i._T,{className:"bg-gray-800 text-gray-200 border border-gray-700",children:[(0,a.jsxs)(i.fY,{children:[(0,a.jsx)(i.f$,{className:"text-xl font-bold",children:"Cancel your plan?"}),(0,a.jsx)(i.yT,{className:"text-gray-400",children:"This action cannot be undone. You will lose access to all premium features."})]}),(0,a.jsxs)(i.xo,{children:[(0,a.jsx)(i.le,{className:"bg-gray-700 text-gray-200 hover:bg-gray-600",children:"Keep Plan"}),(0,a.jsx)(i.OL,{onClick:async()=>{try{var e;let t=await n.Z.post("".concat((0,y.D)(),"/cancel-subscription"),{userId:null==X?void 0:null===(e=X.user)||void 0===e?void 0:e.id},{headers:{"Content-Type":"application/json"}});console.log(t.data),"cancelled"===t.data.status?M(!0):(0,m.Am)({title:"Failed to cancel subscription, No worries got you covered, please contact us and your issue will be resolved at priority",action:(0,a.jsx)(g(),{href:"/contact",children:(0,a.jsx)(c.z,{children:"Contact"})})})}catch(e){console.log(e,"log for cancel sub"),(0,m.Am)({title:"Failed to cancel subscription, No worries got you covered, please contact us and your issue will be resolved at priority",action:(0,a.jsx)(g(),{href:"/contact",children:(0,a.jsx)(c.z,{children:"Contact"})})})}},children:"Cancel Plan"})]})]})]}),(0,a.jsx)(c.z,{onClick:()=>{e.push("/pricing")},className:"w-full sm:w-auto bg-blue-600 hover:bg-blue-700",children:"Upgrade Plan"})]})]})]}),(0,a.jsx)(C,{isOopen:_,setIsOpen:M}),(0,a.jsxs)(p.Zb,{className:"mb-12 bg-gray-900 border-gray-800",children:[(0,a.jsx)(p.Ol,{children:(0,a.jsx)(p.ll,{className:"text-2xl border-b border-gray-400 w-fit font-bold",children:"Contact"})}),(0,a.jsxs)(p.aY,{children:[(0,a.jsx)(d.g,{placeholder:"Drop us a note...",className:"w-full bg-gray-800 border-gray-700 focus:border-blue-500 resize-none h-32 mb-4",value:R,onChange:e=>V(e.target.value)}),(0,a.jsx)(c.z,{onClick:ee,children:"Submit Query"}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-4 mt-8",children:[(0,a.jsx)(g(),{href:"https://x.com/govind755",target:"_blank",children:(0,a.jsxs)(c.z,{variant:"outline",className:"flex-1 sm:flex-none bg-gray-800 hover:bg-gray-700",children:[(0,a.jsx)(k,{className:"mr-2 h-4 w-4"})," Twitter"]})}),(0,a.jsx)(g(),{href:"https://www.linkedin.com/in/govind-ganeriwal-49869a213/",target:"_blank",children:(0,a.jsxs)(c.z,{variant:"outline",className:"flex-1 sm:flex-none bg-gray-800 hover:bg-gray-700",children:[(0,a.jsx)(S,{className:"mr-2 h-4 w-4"})," LinkedIn"]})}),(0,a.jsx)(g(),{href:"https://discord.com/users/loner_yet_strong01",target:"_blank",children:(0,a.jsxs)(c.z,{variant:"outline",className:"flex-1 sm:flex-none bg-gray-800 hover:bg-gray-700",children:[(0,a.jsx)(N,{className:"mr-2 h-4 w-4"})," Discord"]})})]})]})]}),(0,a.jsxs)(p.Zb,{className:"mb-12 bg-gray-900 border-gray-800",children:[(0,a.jsx)(p.Ol,{children:(0,a.jsx)(p.ll,{className:"text-2xl font-bold border-b border-gray-400 w-fit",children:"Domains"})}),(0,a.jsxs)(p.aY,{className:"space-y-8",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-xl font-semibold mb-4",children:"Current Subdomain"}),B?(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,a.jsx)(l.I,{value:q,onChange:e=>G(e.target.value),className:"w-[50%] bg-gray-800 border-gray-700 focus:border-blue-500",placeholder:"Enter new subdomain",disabled:O||T}),(0,a.jsx)("span",{className:"text-gray-400",children:".cypherscribe.com"})]}),L&&(0,a.jsxs)("div",{className:"flex items-center space-x-2 text-sm",children:[(0,a.jsx)("span",{className:"text-gray-400",children:"Suggested:"}),(0,a.jsx)("button",{onClick:()=>{L&&(G(L),Y(""))},className:"text-blue-400 hover:underline",children:L})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(c.z,{onClick:Q,disabled:O||T,className:"w-28",children:T?"Saving...":"Save"}),(0,a.jsx)(c.z,{variant:"outline",onClick:()=>{H(!1),G(""),Y("")},disabled:O||T,className:"w-28",children:"Cancel"})]})]}):(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("a",{href:"https://".concat(W.cypherDomain),target:"_blank",rel:"noopener noreferrer",className:"text-blue-400 hover:underline",children:W.cypherDomain}),(0,a.jsx)(c.z,{onClick:()=>{var e;if("free"===t.trim().toLowerCase()){Z(!0);return}H(!0),G((null===(e=W.cypherDomain)||void 0===e?void 0:e.split(".")[0])||"")},className:"w-36",children:"Edit Subdomain"})]})]}),(0,a.jsx)(j,{isoopen:U,setIsOpen:Z}),(0,a.jsx)("p",{className:"bg-gray-700 w-full h-[2px]"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-xl font-semibold mb-4",children:"Custom Domain"}),(0,a.jsx)("p",{className:"text-gray-400 mb-6",children:"Elevate your docs's professional appearance by using your own custom domain. Follow these steps to seamlessly integrate your domain with our platform."}),(0,a.jsx)("div",{className:"space-y-8",children:[{title:"Set up your custom domain",description:"Choose a subdomain for your docs (e.g., docs.yourdomain.com or docs.openai.com or docs.meta.com) and add it to your domain registrar's DNS settings. Eg, Route 53, or Name cheap or Go daddy"},{title:"Add CNAME record",description:(0,a.jsxs)(a.Fragment,{children:["Create a CNAME record pointing your chosen subdomain to"," ","->"," "]}),code:(0,a.jsx)("div",{className:"bg-gray-900/60 border border-gray-600 p-4 rounded-lg mb-4",children:(0,a.jsxs)("div",{className:"text-sm font-mono flex flex-col gap-4",children:[(0,a.jsx)("p",{children:"Type: CNAME"}),(0,a.jsx)("p",{children:"Host: `docs` or whatever you want"}),(0,a.jsx)("p",{children:"Value: cname.cypherscribe.com."})," ",(0,a.jsx)("p",{children:"TTL: Automatic"})]})})},{title:"Verify and activate",description:"Once you've added the CNAME record, enter your custom domain below. We'll verify the setup and activate your custom domain.",action:(0,a.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,a.jsx)(l.I,{placeholder:"docs.yourdomain.com",value:$,onChange:e=>K(e.target.value),className:"flex-grow bg-gray-800 border-gray-700 focus:border-blue-500"}),(0,a.jsxs)(c.z,{disabled:et,onClick:async()=>
1{if(!(0,w.pM)($))return(0,m.Am)({title:"Please enter a valid sub domain and URL"});if(!/^(https?:\/\/)?([a-zA-Z0-9-]+)\.[a-zA-Z0-9-]+\.[a-zA-Z]{2,}$/.test($))return(0,m.Am)({title:"We only suppport sub domains for now ex - docs.xyz.com but looks like you have entered a main domain like xyz.com instead of docs.xyz.com"});try{let e=await es();console.log(e)}catch(e){er(!1),(0,m.Am)({title:"Failed to verify domain. If you think you have added the C-NAME and are still seeing this message then please feel free to react out",action:(0,a.jsx)(g(),{href:"/contact",children:(0,a.jsx)(c.z,{children:"Contact"})})})}},className:"bg-blue-600 hover:bg-blue-700",children:[(0,a.jsx)(D,{className:"mr-2 h-4 w-4"})," Verify & Activate"," ",et&&(0,a.jsx)(A,{})]})]})}].map((e,t)=>(0,a.jsxs)("div",{className:"flex items-start space-x-4",children:[(0,a.jsx)("div",{className:"flex-shrink-0 w-8 h-8 rounded-full bg-white text-black flex items-center justify-center",children:t+1}),(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)("h4",{className:"text-lg font-semibold mb-2",children:e.title}),(0,a.jsx)("p",{className:"text-gray-400 mb-4",children:e.description}),e.code,e.action]})]},t))}),(0,a.jsxs)("div",{className:"mt-8 p-4 bg-blue-900/30 border border-blue-700 rounded-lg",children:[(0,a.jsx)("h4",{className:"text-lg font-semibold mb-2 flex items-center",children:"What happens next?"}),(0,a.jsxs)("p",{className:"text-gray-400",children:["After activation, your custom domain (e.g., docs.yourdomain.com) will seamlessly redirect to your CypherScribe docs. Your existing subdomain (",W.cypherDomain," ","","will continue to work alongside your new custom domain."]})]}),et&&(0,a.jsxs)("div",{className:"mt-12 p-4 bg-red-900/30 border border-red-700 rounded-lg",children:[(0,a.jsx)("h4",{className:"text-lg font-semibold mb-2 flex items-center",children:"CAUTION â ï¸"}),(0,a.jsx)("p",{className:"text-gray-400",children:"Please do not close the page while the DNS propgation is happening as it may lead to unintended DNS records shuffling. if you think something has gone wrong please free free to contact us :) sensitive issues like these will be solved at the earliest"}),(0,a.jsx)(g(),{className:"",href:"/contact",children:(0,a.jsx)(c.z,{className:"mt-7 w-28",children:"Contact"})})]})]})]})]})]})]})};let j=(0,o.memo)(e=>{let{isoopen:t,setIsOpen:r}=e;return(0,a.jsxs)(i.aR,{open:t,onOpenChange:r,children:[(0,a.jsx)(i.vW,{}),(0,a.jsxs)(i._T,{children:[(0,a.jsxs)(i.fY,{children:[(0,a.jsx)(i.f$,{children:"Upgrade Plan"}),(0,a.jsx)(i.yT,{children:"To Edit the sub domain or connect your own custom domain like docs.yourCompanyName.com you have to upgare your plan"})]}),(0,a.jsxs)(i.xo,{children:[(0,a.jsxs)(i.le,{onClick:()=>r(!1),children:[" ","Close"]}),(0,a.jsx)(g(),{href:"/pricing",children:(0,a.jsx)(i.OL,{children:"Upgrade"})})]})]})]})});j.displayName="PlanTypeWarningModal";let C=(0,o.memo)(e=>{let{isOpen:t,setIsOpen:r}=e;return(0,a.jsxs)(i.aR,{open:t,onOpenChange:r,children:[(0,a.jsx)(i.vW,{}),(0,a.jsx)(i._T,{children:(0,a.jsxs)(i.fY,{children:[(0,a.jsx)(i.f$,{children:"Cancellation Successful"}),(0,a.jsxs)(i.yT,{className:"!text-sm",children:[(0,a.jsx)("div",{className:"mb-2",children:"Your plan has been cancelled successfully and a refund isssue has ben put in queqe, hope you had a great time at cypher scribe, Good luck and cheers :)"}),(0,a.jsx)("div",{className:"mt-2 mb-7",children:"Note - incase if you do not recieve your amount back please feel free to contact us, your issue will be solved at priority"}),(0,a.jsx)(g(),{className:"w-full",href:"/contact",children:(0,a.jsx)(c.z,{className:"w-full",children:"Contact"})})]})]})})]})});C.displayName="CancelSubscriptionModal";let N=()=>(0,a.jsx)("svg",{stroke:"currentColor",className:"mr-2",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 640 512",height:"24",width:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109
1-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"})}),k=()=>(0,a.jsx)("svg",{stroke:"currentColor",className:"mr-2",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 512 512",height:"24",width:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"})}),S=()=>(0,a.jsx)("svg",{stroke:"currentColor",className:"mr-2",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 448 512",height:"24",width:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"})}),D=()=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",className:"mr-1",children:[(0,a.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,a.jsx)("path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"}),(0,a.jsx)("path",{d:"M2 12h20"})]}),z=()=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",className:"mr-2",children:[(0,a.jsx)("path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"}),(0,a.jsx)("circle",{cx:"12",cy:"12",r:"3"})]}),A=()=>(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2","stroke-linecap":"round","stroke-linejoin":"round",className:"animate-spin ml-1",children:(0,a.jsx)("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})})},11163:function(e,t,r){e.exports=r(73035)}},function(e){e.O(0,[9483,1664,1446,7699,7222,7066,1930,3541,6431,2888,9774,179],function(){return e(e.s=38076)}),_N_E=e.O()}]);
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.