import{j as t,_ as e}from"./main.2.8.10.js";import{b as n}from"./react-router.DMwpH23k.js";import{B as h}from"./BackIcn.BFDZx8No.js";import{y as u}from"./Note.DalStCGz.js";import{T as x}from"./TutorialLink.D6K_DiHL.js";import{s as g,h as f}from"./WishlistMemberCommonFunc.D1BdzkaF.js";import"./react-vendor.P7K3d6op.js";import"./CopyIcn.BnhKHfEP.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};
