import{j as t,_ as e}from"./main.2.9.0.js";import{b as n}from"./react-router.DMwpH23k.js";import{B as h}from"./BackIcn._8Wofmn2.js";import{y as u}from"./Note.NSUdvR3c.js";import{T as x}from"./TutorialLink.CFG7bS5c.js";import{s as g,h as f}from"./WishlistMemberCommonFunc.DbNMGuvC.js";import"./react-vendor.P7K3d6op.js";import"./CopyIcn.CEA_lFLo.js";function L({wishlistMemberConf:r,setWishlistMemberConf:o,step:i,nextPage:l,setSnackbar:m,isInfo:c}){const[s,d]=n.useState(!1),[a,b]=n.useState(!1);return t.jsxs("div",{className:"btcd-stp-page",style:{width:i===1&&900,height:i===1&&"auto"},children:[t.jsx(x,{linkKey:"wishlistMember"}),t.jsx("div",{className:"mt-3",children:t.jsx("b",{children:e("Integration Name:","bit-integrations")})}),t.jsx("input",{className:"btcd-paper-inp w-7 mt-1",onChange:p=>g(p,o),name:"name",value:r.name,type:"text",placeholder:e("Integration Name...","bit-integrations"),disabled:c}),t.jsxs("button",{onClick:()=>f(d,b,m),className:"btn btcd-btn-lg purple sh-sm flx",type:"button",disabled:s||a,children:[s?e("Authorized ✔","bit-integrations"):e("Authorize","bit-integrations"),a&&t.jsx(u,{size:20,clr:"#022217",className:"ml-2"})]}),t.jsx("br",{}),t.jsxs("button",{onClick:()=>l(2),className:"btn f-right btcd-btn-lg purple sh-sm flx",type:"button",disabled:!s,children:[e("Next","bit-integrations"),t.jsx(h,{className:"ml-1 rev-icn"})]})]})}export{L as default};
