PageSourceSearch

https://static.binance.us/static/chunks/page-8cd6.beb45da8.js

js binance.us collected 2026-10-02 02:24:43 UTC 15,425 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkus_accounts_ui=self.webpackChunkus_accounts_ui||[]).push([[635],{"3TIw":(n,e,t)=>{t.d(e,{Z:()=>p});var r=t("V+06"),i=t("DTvD"),o=t("Mpic"),s=t("CIqp");const a=t.p+"static/media/logo.b7522fed.svg";var c=t("v3PM"),l=t("/YF6");function u(){var n=(0,c.Z)(["\n  position: relative;\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  padding: 0px 32px;\n\n  .logo {\n    display: flex;\n    align-items: center;\n    justify-content: flex-start;\n    cursor: pointer;\n\n    span {\n      margin-left: 14px;\n      font-weight: 200;\n    }\n  }\n"]);return u=function(){return n},n}var x=t.n(l)().div(u()),f=function(n){var e=n.configEle;return(0,r.jsxs)(x,{children:[(0,r.jsx)(o.Z,{className:"logo",subApp:"institutions",to:"/",children:(0,r.jsx)(s.Image,{src:a})}),(0,r.jsx)("div",{className:"right_conf",children:e})]})};const p=(0,i.memo)(f)},tybi:(n,e,t)=>{t.d(e,{default:()=>rn});var r=t("V+06"),i=t("DTvD"),o=t("KyVx"),s=t("CIqp"),a=t("3TIw"),c=t("lX+K"),l=t("ttNT"),u=t("ys0/"),x=t("L2LL"),f=t("gzvg"),p=t.n(f),m=t("/2sL"),d=t("bE42"),g=t("ZneI"),h=t("fytf");const v=t.p+"static/media/profile-icon.a3fb71a2.svg";var b=t("ilNN"),j=t("ob5M"),w=t("v3PM"),k=t("/YF6"),N=t.n(k);function y(){var n=(0,w.Z)(["\n          padding: 24px 24px 30px;\n        "]);return y=function(){return n},n}function Z(){var n=(0,w.Z)(["\n          margin-top: 25px;\n        "]);return Z=function(){return n},n}function I(){var n=(0,w.Z)(["\n  position: relative;\n  flex-direction: column;\n\n  .form-description {\n    font-size: 16px;\n    font-weight: 400;\n    line-height: 24px;\n\n    text-align: center;\n    margin-bottom: 24px;\n    color: #2b2f36;\n  }\n\n  .profile-container {\n    flex-direction: column;\n    justify-content: center;
1\n    align-items: center;\n    background-color: #f5f5f5;\n    padding: 24px 45px 30px;\n    border-radius: 4px;\n    margin-bottom: 24px;\n\n    ","\n\n    .profile-image {\n      margin-bottom: 16px;\n    }\n\n    .profile-name {\n      font-size: 20px;\n      font-weight: 500;\n      line-height: 20px;\n      margin-bottom: 8px;\n    }\n\n    .profile-email {\n      font-size: 14px;\n      font-weight: 400;\n      line-height: 20px;\n      margin-bottom: 14px;\n      color: #76808f;\n    }\n\n    .profile-alert {\n      padding: 8px;\n      margin: 8px 0px 14px;\n    }\n\n    .log-out-text {\n      color: #f0b90b;\n      font-size: 14px;\n      font-weight: 500;\n      line-height: 20px;\n      cursor: pointer;\n    }\n  }\n\n  .form-container {\n    width: 100%;\n    max-width: 630px;\n    max-height: 790px;\n    margin: 0 auto;\n  }\n\n  button {\n    ","\n  }\n\n  .policy-text {\n    font-size: 14px;\n    font-weight: 400;\n    line-height: 24px;\n    letter-spacing: 0em;\n    margin-top: -5px;\n    .policy-link-text {\n      color: #000000;\n      text-decoration: underline;\n    }\n  }\n"]);return I=function(){return n},n}var P=N()(s.Flex)(I(),(function(n){return n.theme.setBreakCss([(0,k.css)(y())])}),(function(n){return n.theme.setBreakCss([(0,k.css)(Z())])}));const F=function(n){var e=n.setShowForm,t=n.handleFormResult,o=n.userInfo,a=(0,i.useState)(!1),c=a[0],f=a[1],w=(0,i.useRef)(null),k=o.firstName,N=o.lastName,y=o.email,Z=function(){var n=(0,l.Z)(p().mark((function n(){var r,i,o,s;return p().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return f(!0),n.prev=1,i=null===(r=w.current)||void 0===r?void 0:r.getValues(),o={organizationName:null===i||void 0===i?void 0:i.brokerOrgName,telegramId:null===i||void 0===i?void 0:i.telegramId,signAgreement:null===i||void 0===i?void 0:i.agreement},n.next=7,(0,j.bW)(o);case 7:(s=n.sent).success?t("success"):"1014501005017"==s.code?t("applied"):t("failed"),n.next=15;break;case 11:n.prev=11,n.t0=n.catch(1),t("failed"),d.kg.error("error in submitting inst account info",n.t0);case 15:return e(!1),f(!1),n.abrupt("return");case 18:case"end":return n.stop()}}),n,null,[[1,11]])})));return function(){return n.apply(this,arguments)}}(),I=function(){var n=(0,l.Z)(p().mark((function n(){var e,t,r;return p().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,j.pK)();case 2:e=n.sent,t=e.success,void 0!==t&&t&&(r=(0,g.tM)(window.location.href),m.ZP.forwardMain("/login?return_to=".concat(r)));case 6:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}();return(0,r.jsxs)(P,{children:[(0,r.jsx)("div",{className:"form-description",children:"The Binance.US API Partner Program offers rebates of up to 40% to its API partners. To become a part of the Program, please submit your application below."}),(0,r.jsxs)(s.Flex,{className:"profile-container",children:[(0,r.jsx)("img",{className:"profile-image",src:v}),(0,r.jsxs)("div",{className:"profile-name",children:[k," ",N]}),(0,r.jsx)("div",{className:"profile-email",children:y}),1===o.certificateType&&(0,r.jsx)(h.AlertV2,{variant:"info",className:"profile-alert",children:"This Program is for institutional accounts only. If you have an institutional account, please log in."}),(0,r.jsx)("div",{className:"log-out-text",onClick:I,children:"Log Out"})]}),2===o.certificateType&&(0,r.jsx)("div",{className:"form-container",children:(0,r.jsxs)(h.Form,{fieldsList:[b.C1,b.fW,b.kQ],onSubmit:Z,ref:w,children:[(0,r.jsx)(h.FormItem,(0,x.Z)((0,u.Z)({},b.C1),{children:(0,r.jsx)(h.FieldText,{})})),(0,r.jsx)(h.FormItem,(0,x.Z)((0,u.Z)({},b.fW),{children:(0,r.jsx)(h.FieldText,{})})),(0,r.jsx)(h.FormItem,(0,x.Z)((0,u.Z)({},b.kQ),{children:(0,r.jsx)(h.FieldCheckbox,{checkBoxStyle:{display:"flex",alignItems:"flex-start",fontSize:"12px",marginTop:"10px"},children:(0,r.jsxs)("div",{className:"policy-text",children:["I have read, understand and agree to the\xa0",(0,r.jsxs)(s.Link,{className:"policy-link-text",href:m.ZP.getMainUrl("/api-partner-terms-of-use"),target:"_blank",children:["API Partner Terms of Use,"," "]}),(0,r.jsx)(s.Link,{className:"policy-link-text",href:m.ZP.getMainUrl("/terms-of-use"),target:"_blank",children:"Binance.US Terms of Use"}),"\xa0 and \xa0",(0,r.jsx)(s.Link,{className:"policy-link-text",href:m.ZP.getMainUrl("/privacy-policy"),target:"_blank",children:"Privacy Policy."})]})})})),(0,r.jsx)(h.FieldButton,{eleProps:{height:"48px",fontSize:"16px"}
1,marginTop:"12px",sz:"x-large",disabled:c,children:"Submit Application"})]})})]})};function C(){var n=(0,w.Z)(["\n          padding: 56px 24px;\n        "]);return C=function(){return n},n}function S(){var n=(0,w.Z)(["\n  position: relative;\n  flex-direction: column;\n  align-items: center;\n\n  .login-description {\n    font-size: 16px;\n    font-weight: 400;\n    line-height: 24px;\n    text-align: center;\n    color: #2b2f36;\n    margin-bottom: 24px;\n    max-width: 470px;\n  }\n\n  .login-container {\n    flex-direction: column;\n    justify-content: center;\n    align-items: center;\n    background-color: #f5f5f5;\n    padding: 56px 92.5px;\n    border-radius: 4px;\n\n    ","\n\n    .login-image {\n      margin-bottom: 16px;\n      height: 64px;\n      width: 64px;\n      background-color: #d9d9d9;\n      border-radius: 50%;\n    }\n\n    .login-title {\n      font-size: 20px;\n      font-weight: 500;\n      line-height: 20px;\n      margin-bottom: 16px;\n      text-align: center;\n    }\n\n    .button-container {\n      flex-direction: row;\n\n      button {\n        margin: 0px 4px;\n        width: 82px;\n        height: 40px;\n      }\n    }\n  }\n"]);return S=function(){return n},n}var B=N()(s.Flex)(S(),(function(n){return n.theme.setBreakCss([(0,k.css)(C())])}));const z=function(){return(0,r.jsxs)(B,{children:[(0,r.jsx)("div",{className:"login-description",children:"The Binance.US API Partner Program offers rebates of up to 40% to its API partners. To become a part of the Program, please submit your application below."}),(0,r.jsxs)(s.Flex,{className:"login-container",children:[(0,r.jsx)("img",{className:"login-image"}),(0,r.jsx)("div",{className:"login-title",children:"Sign in or create a new account"}),(0,r.jsxs)(s.Flex,{className:"button-container",children:[(0,r.jsx)(s.Button,{variant:"outline",onClick:function(){m.ZP.forwardInstitutions("/login",{return_to:(0,g.tM)(window.location.href)})},children:"Sign In"}),(0,r.jsx)(s.Button,{onClick:function(){m.ZP.forwardInstitutions("/")},children:"Sign Up"})]})]})]})};var T=t("uPPg"),A=t.n(T);function M(){var n=(0,w.Z)(["\n          margin-top: 0px;\n        "]);return M=function(){return n},n}function U(){var n=(0,w.Z)(["\n          line-height: 43px;\n          margin-bottom: 16px;\n          margin-top: -35px;\n        "]);return U=function(){return n},n}function L(){var n=(0,w.Z)(["\n          margin-bottom: 0px;\n        "]);return L=function(){return n},n}function _(){var n=(0,w.Z)(["\n          margin-bottom: 24px;\n        "]);return _=function(){return n},n}function D(){var n=(0,w.Z)(["\n  align-items: center;\n  flex-direction: column;\n  position: relative;\n\n  .form-results-icon-failed {\n    margin: 52.5px 0px 20px;\n  }\n\n  .form-results-icon-success {\n    margin-top: 10px;\n\n    ","\n  }\n\n  .form-results-title {\n    font-size: 36px;\n    font-weight: 400;\n    line-height: 43px;\n    text-align: center;\n    margin-bottom: 24px;\n    color: #1e2026;\n    width: 380px;\n\n    ","\n  }\n\n  .form-results-description {\n    font-size: 16px;\n    font-weight: 400;\n    line-height: 24px;\n    text-align: center;\n    color: #76808f;\n    margin-bottom: 24px;\n    max-width: 339px;\n  }\n\n  .results-button {\n    width: 100%;\n    height: 48px;\n  }\n\n  .success-button {\n    ","\n  }\n\n  .cancel-button {\n    width: 100%;\n    margin-top: 24px;\n\n    ","\n  }\n"]);return D=function(){return n},n}var W=N()(s.Flex)(D(),(function(n){return n.theme.setBreakCss([(0,k.css)(M())])}),(function(n){return n.theme.setBreakCss([(0,k.css)(U())])}),(function(n){return n.theme.setBreakCss([(0,k.css)(L())])}),(function(n){return n.theme.setBreakCss([(0,k.css)(_())])}));const R=function(){return(0,r.jsxs)(W,{children:[(0,r.jsx)(A(),{name:"IlluGeneralFail",className:"form-results-icon-failed",size:87}),(0,r.jsx)("div",{className:"form-results-title",children:"Already Applied"}),(0,r.jsx)("div",{className:"form-results-description",children:"We will contact you once we have reviewed your application"}),(0,r.jsx)(s.Button,{className:"results-button success-button",onClick:function(){m.ZP.forwardInstitutions("/")},children:"Got it"})]})};const V=function(n){var e=n.setShowForm;return(0,r.jsxs)(W,{children:[(0,r.jsx)(A(),{name:"IlluGeneralFail",className:"form-results-icon-failed",
1size:87}),(0,r.jsx)("div",{className:"form-results-title",children:"Something Went Wrong"}),(0,r.jsx)("div",{className:"form-results-description",children:"Please try again or contact Support if this continues"}),(0,r.jsx)(s.Button,{className:"results-button success-button",onClick:function(){e(!0)},children:"Try Again"}),(0,r.jsx)(s.Button,{className:"cancel-button",variant:"text",onClick:function(){m.ZP.forward("https://support.binance.us/hc/en-us")},children:"Contact Support"})]})},q=t.p+"static/media/form-success-green.80b8e591.svg";const G=function(){return(0,r.jsxs)(W,{children:[(0,r.jsx)("img",{src:q,className:"form-results-icon-success"}),(0,r.jsx)("div",{className:"form-results-title",children:"Application Submitted"}),(0,r.jsx)("div",{className:"form-results-description",children:"We will contact you once we have reviewed your application"}),(0,r.jsx)(s.Button,{className:"results-button success-button",onClick:function(){m.ZP.forwardInstitutions("/")},children:"Got it"})]})};const E=function(n){var e=n.setShowForm,t=n.formResult,i="failed"===t,o="success"===t,s="applied"===t;return(0,r.jsxs)(r.Fragment,{children:[i&&(0,r.jsx)(V,{setShowForm:e}),s&&(0,r.jsx)(R,{}),o&&(0,r.jsx)(G,{})]})};var K=t("qCCd");function O(){var n=(0,w.Z)(["\n        flex-direction: column;\n        position: unset;\n      "]);return O=function(){return n},n}function Q(){var n=(0,w.Z)(["\n          background-image: none;\n        "]);return Q=function(){return n},n}function X(){var n=(0,w.Z)(["\n          justify-content: unset;\n          margin-top: 0px;\n        "]);return X=function(){return n},n}function Y(){var n=(0,w.Z)(["\n            box-shadow: 0px 0px 0px;\n            background-color: #ffffff;\n            margin-bottom: 34px;\n            padding: 45px 24px 0px;\n            max-height: unset;\n            width: 100%;\n          "]);return Y=function(){return n},n}function H(){var n=(0,w.Z)(["\n            width: 60%;\n          "]);return H=function(){return n},n}function J(){var n=(0,w.Z)(["\n              line-height: 32px;\n            "]);return J=function(){return n},n}function $(){var n=(0,w.Z)(["\n            margin: 24px 24px 12px;\n            text-align: center;\n          "]);return $=function(){return n},n}function nn(){var n=(0,w.Z)(["\n  position: relative;\n  flex: 1;\n  flex-direction: row;\n  ","\n  .bg-box {\n    background-image: url(",");\n    background-size: cover;\n    position: absolute;\n    z-index: -1;\n    ","\n  }\n  .container {\n    margin-top: 64px;\n    width: 100%;\n    flex: 1;\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n\n    ","\n\n    .form-outer-container {\n      position: relative;\n      flex-direction: column;\n      max-height: 790px;\n      width: 630px;\n      padding: 40px 80px;\n      background-color: white;\n      box-shadow: 0px 4px 10px rgba(50, 49, 59, 0.1);\n      border-radius: 20px;\n      margin-bottom: 64px;\n\n      ","\n\n      .form-title {\n        font-size: 24px;\n        font-weight: 600;\n        line-height: 30px;\n        text-align: center;\n        margin-bottom: 24px;\n        ","\n      }\n    }\n\n    .footer-text {\n      font-size: 14px;\n      font-weight: 400;\n      line-height: 24px;\n      text-align: center;\n      margin-top: 12px;\n      margin-bottom: 32px;\n\n      ","\n    }\n  }\n"]);return nn=function(){return n},n}var en="".concat(K.Xs,"/static/images/institution/home/bg-login.webp"),tn=N()(s.Flex)(nn(),(function(n){return n.theme.setBreakCss([(0,k.css)(O())])}),en,(function(n){return n.theme.setBreakCss([(0,k.css)(Q())])}),(function(n){return n.theme.setBreakCss([(0,k.css)(X())])}),(function(n){return n.theme.setBreakCss([(0,k.css)(Y()),(0,k.css)(H())])}),(function(n){return n.theme.setBreakCss([(0,k.css)(J())])}),(function(n){return n.theme.setBreakCss([(0,k.css)($())])}));const rn=function(){var n=(0,o.useUserModel)(),e=n.loginStatus,t=n.userInfo,l=n.queryUserDetails,u=(0,i.useState)(!0),x=u[0],f=u[1],p=(0,i.useState)("success"),m=p[0],d=p[1],g=e.isLoggedIn;(0,i.useEffect)((function(){l()}),[]);return(0,r.jsx)(c.A,{children:(0,r.jsxs)(s.Flex,{flexDirection:"column",style:{height:"100vh"},children:[(0,r.jsx)(a.Z,{}),(0,r.jsxs)(tn,{formSuccess:m,showForm:x,children:[(0,r.jsx)(s.Box,{width:.42,height:"100%",className:"bg-box"}),(0,r.jsxs)(s.Box,{className:"container",children:[(0,r.jsxs)(s.Flex,{className:"form-outer-container",children:[(0,r.jsx)("div",{className:"form-title",children:"Apply to our API Partner Program"}),g?(0,r.jsx)(r.Fragment,{children:x?(0,r.jsx)(F,{handleFormResult:function(n){d(n)},setShowForm:f,userInfo:t}):(0,r.jsx)(E,{formResult:m,setShowForm:f})}):(0,r.jsx)(z,{})]}),(0,r.jsx)("div",{className:"footer-text",children:"\xa9 2023 BAM Trading Services Inc. d.b.a.Binance.US - All rights reserved.NMLS ID: 1906829"})]})]})]})})}}}]);

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.