PageSourceSearch

https://app.getout.com/assets/affiliate-registration-vptv4wRq.js

js getout.com collected 2026-10-01 15:58:17 UTC 19,632 bytes, 2 lines download raw bytes

1import{r as c,j as e,v as q,B as S}from"./vendor-react-Cy4_K9SJ.js";import{a as k,T as o,M as H,Y as l,B as R,D as M,X as A,L as p,I as g,S as W,E as U,P as Y,C as V}from"./index-zu35vGQz.js";import{c as G}from"./vendor-auth-11xr_7yX.js";import{a as K}from"./vendor-utils-CzZbtGlo.js";import{M as $,a as J,b as X,c as Z}from"./Modal-BDPLc4Jj.js";import{A as Q}from"./AddressAutocompleteInput-CI0l2f-f.js";import"./vendor-router-DAoJLnNk.js";import"./vendor-forms-sj3VMw1u.js";import"./useGoogleMaps-DRIpjGb0.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"[email protected]"};var u=new t.Error().stack;u&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[u]="61e39ea4-df1c-4f12-86f3-f223151481cb",t._sentryDebugIdIdentifier="sentry-dbid-61e39ea4-df1c-4f12-86f3-f223151481cb")}catch{}})();let N=null;const ee=()=>{if(window.AwsWafCaptcha)return Promise.resolve();if(N)return N;const t=k.services.awsCaptcha.scriptUrl;return N=new Promise((u,_)=>{const i=document.createElement("script");i.src=t,i.async=!0,i.onload=()=>u(),i.onerror=()=>{N=null,_(new Error("Failed to load CAPTCHA script"))},document.head.appendChild(i)}),N},ae=(t={})=>{const u=c.useRef(null),_=c.useRef(null),[i,w]=c.useState(null),[v,x]=c.useState(!0),[z,j]=c.useState(null),C=c.useCallback(()=>{var y;if(!(!u.current||!window.AwsWafCaptcha)){_.current&&(_.current.remove(),_.current=null),u.current.innerHTML="",w(null),j(null),x(!0);try{_.current=window.AwsWafCaptcha.renderCaptcha(u.current,{apiKey:k.services.awsCaptcha.apiKey,onSuccess:d=>{var m;w(d),x(!1),(m=t.onSuccess)==null||m.call(t,d)},onError:d=>{var m;j(d),x(!1),(m=t.onError)==null||m.call(t,d)},onLoad:()=>{x(!1)},dynamicWidth:!0,skipTitle:!0})}catch(d){G(d);const m=d instanceof Error?d:new Error("Failed to render CAPTCHA");j(m),x(!1),(y=t.onError)==null||y.call(t,m)}}},[t.onSuccess,t.onError]),P=c.useCallback(()=>{C()},[C]);return c.useEffect(()=>{let y=!0;return(async()=>{try{await ee(),y&&C()}catch(m){if(G(m),y){const E=m instanceof Error?m:new Error("CAPTCHA script failed to load");j(E),x(!1)}}})(),()=>{y=!1,_.current&&_.current.remove()}},[C]),{containerRef:u,token:i,isLoading:v,error:z,resetCaptcha:P}},se="AffiliateTermsConditions-module__modal___ooIWc",te="AffiliateTermsConditions-module__header___IwQcQ",ie="AffiliateTermsConditions-module__closeButton___6yXdS",re="AffiliateTermsConditions-module__body___jguRS",ne="AffiliateTermsConditions-module__content___keyx-",le="AffiliateTermsConditions-module__rulesList___pkie3",oe="AffiliateTermsConditions-module__ruleItem___CFoQd",de="AffiliateTermsConditions-module__footer___YNy0Z",f={modal:se,header:te,closeButton:ie,body:re,content:ne,rulesList:le,ruleItem:oe,footer:de},ce=({isOpen:t,onClose:u})=>e.jsxs($,{isOpen:t,onClose:u,size:"large",showCloseButton:!1,closeOnOverlayClick:!0,closeOnEscape:!0,className:f.modal,children:[e.jsxs(J,{className:f.header,noBorder:!0,children:[e.jsx(o,{size:"lg",isBold:!0,children:"Affiliate Terms & Conditions"}),e.jsx("button",{type:"button",onClick:u,className:f.closeButton,"aria-label":"Close modal",children:e.jsx(H,{size:32,color:"currentColor"})})]}),e.jsx(X,{className:f.body,children:e.jsxs(l,{gap:"md",className:f.content,children:[e.jsx(o,{size:"base",children:"We would love to have you join our Affiliate Team! We allow our affiliates to share the pass at a lower discount than the sale price at getout.com. Affiliates earn $5.50 on every pass sold, with an opportunity to earn $6.50/pass once you hit 50 sales within the month. Affiliates are paid out on the 1st week of each month for all prior month's sales via ACH direct deposit. Payments are made on NEW PASS sales only. Affiliates are contracted 1099 employees and will need to file their own taxes each year. Non-profit organizations are not considered 1099 employees and will be tax exempt."}),e.jsxs(l,{gap:"sm",className:f.rulesList,children:[e.jsx(o,{size:"base",isBold:!0,children:"Rules & Guidelines:"}),e.jsx("div",{className:f.ruleItem,children:e.jsxs(o,{size:"base",children:["Our affiliate portal and program contains proprietary information and ",e.jsx("strong",{children:"MAY NOT"})," be shared with others."]})}),e.jsx("div",{className:f.ruleItem,children:e.jsxs(o,{size:"base",children:["Affiliates ",e.jsx("strong",{children:"MAY NOT"})," promote or advertise GetOut on any of our attraction partner's social media sites. This includes direct posts to their pages and in their comment sections."]})}),e.jsx("div",{className:f.ruleItem,children:e.jsxs(o,{size:"base",children:["Flyers ",e.jsx("strong",{children:"MAY NOT"})," be distributed at any of our current GetOut attraction partner's physical locations, including parking lots (unless during an approved event)."]})}),e.jsx("div",{className:f.ruleItem,children:e.jsxs(o,{size:"base",children:["Affiliates ",e.jsx("strong",{children:"MAY NOT"}),' use the name "GetOut" as any part of a social media account name. The GetOut logo may not be used as a profile image/cover photo on any social media accounts. Feel free to create a "deal site" with a generic name, where you can freely advertise the deals you can receive with GetOut.']})}),e.jsx("div",{className:f.ruleItem,children:e.jsxs(o,{size:"base",children:["Any materials that are not sent to you directly from a GetOut employee or downloaded from the Affiliate Portal, including graphics, video and flyers, must be first"," ",e.jsx("strong",{children:"APPROVED"})," by your GetOut point of contact."]})}),e.jsx("div",{className:f.ruleItem,children:e.jsxs(o,{size:"base",children:["Always promote ",e.jsx("strong",{children:"CURRENT"})," GetOut attractions in all advertising. Check getout.com for a current list of participating attractions."]})}),e.jsx("div",{className:f.ruleItem,children:e.jsx(o,{size:"base",children:'When creating a discounted promo code to share with your audience, you may 
1not use the words "GetOut" in any part of your code.'})})]})]})}),e.jsx(Z,{align:"centered",noBorder:!0,className:f.footer,children:e.jsx(R,{variant:"primary",size:"medium",onClick:u,children:"I Understand"})})]}),ue="AffiliateRegistrationPage-module__container___pbkx8",me="AffiliateRegistrationPage-module__content___ojSHO",fe="AffiliateRegistrationPage-module__formContent___PsIeo",he="AffiliateRegistrationPage-module__labelInputGroup___GUJhd",pe="AffiliateRegistrationPage-module__successContainer___sHAk5",_e="AffiliateRegistrationPage-module__successIcon___aWhfR",be="AffiliateRegistrationPage-module__successMessage___iZif-",ge="AffiliateRegistrationPage-module__captchaContainer___afsEP",n={container:ue,content:me,formContent:fe,labelInputGroup:he,successContainer:pe,successIcon:_e,successMessage:be,captchaContainer:ge},xe=["AK","AL","AR","AS","AZ","CA","CO","CT","DC","DE","FL","GA","GU","HI","IA","ID","IL","IN","KS","KY","LA","MA","MD","ME","MI","MN","MO","MP","MS","MT","NC","ND","NE","NH","NJ","NM","NV","NY","OH","OK","OR","PA","PR","RI","SC","SD","TN","TX","UT","VA","VI","VT","WA","WI","WV","WY"],ye=[{id:"f66ed449-8941-4873-9a49-233e6a09a8fc",name:"Arizona"},{id:"40dadd30-ff4f-4d29-9165-714c1c1cf659",name:"Arkansas"},{id:"0818d7b9-5ce5-47f5-97bc-aa144b9c120c",name:"California Central Valley"},{id:"9bba6a1f-de38-4e2b-8717-3e8b4a7d0fb4",name:"California Northern"},{id:"269c6c71-a492-4e92-81f3-5214a6ccc52a",name:"California Southern"},{id:"4718715d-880a-4039-912c-347008422131",name:"Colorado"},{id:"2e1e6fe6-4c51-40eb-930a-5ab7977b2ee5",name:"Florida Central"},{id:"3af9f6c4-2c75-444e-bbd0-814cffc3ca80",name:"Florida Emerald Coast"},{id:"ed11121c-78de-42ec-a7a8-1976c6b3cd0c",name:"Florida South"},{id:"8bb125e8-3b6b-464b-b739-cc07c242f39f",name:"Georgia"},{id:"cd00f42a-8d7c-4ec0-9990-968b791bfd08",name:"Idaho"},{id:"188d67ba-b5a6-4095-8e15-13d3499d47a0",name:"Indiana"},{id:"f5312446-4e65-4835-b062-2dedd8ecbd5e",name:"Kansas City"},{id:"b35af88d-4930-47d5-b81b-72fa847ba810",name:"Kentucky"},{id:"3e947c9c-5775-40a7-bcd2-aef11d897f78",name:"Las Vegas"},{id:"5fc74538-8f3a-4cb9-a2c3-9751f2e32cd9",name:"Maryland / Washington D.C."},{id:"9d111935-f9f7-477e-8275-c8b46d1491de",name:"Nebraska"},{id:"62a1b510-4211-435f-8ff0-b1eeb9e2e99f",name:"New England"},{id:"6b14e574-56df-41cf-a599-2d588f49cb75",name:"New Jersey / Philadelphia"},{id:"25e9bf5c-6c73-4145-af4b-c6bd4940e1a4",name:"New Mexico / West Texas"},{id:"64987b14-b4f3-4824-9584-71bed2b1647e",name:"North Carolina"},{id:"9d72839f-cdcf-422a-b48a-75f13516173b",name:"Ohio"},{id:"2bffd0d0-c03e-46ec-aa41-1fc5bd607c48",name:"Oklahoma"},{id:"bcc70b72-f78f-4660-934e-6fb985a12936",name:"Oregon"},{id:"40167245-8a5e-4fac-8af4-e5c4669fd0bf",name:"Pennsylvania Pittsburgh"},{id:"669e885d-aefa-453b-8d87-2616f0914008",name:"St. Louis"},{id:"24ef3d22-dd91-4526-a42e-13ad93ce0a1a",name:"Tennessee"},{id:"75303129-47bc-4c7a-a108-219fc1b51577",name:"Texas Austin"},{id:"b3f5e2a0-2f86-49e3-9428-5507f57e8e5a",name:"Texas DFW"},{id:"115293e7-6ac2-4195-b0c3-8aa76407d952",name:"Texas Houston"},{id:"cf0c2252-4537-42b1-9177-e3dbb25bce29",name:"Texas San Antonio"},{id:"9842a5be-48d3-40b9-8d99-93092213b0e5",name:"Utah"},{id:"20ca8125-c658-4967-9a2c-aae5d3b02bb8",name:"Washington"}],je=k.env==="production",Ce=()=>{const{ref:t}=q({from:"/affiliate-registration"}),[u,_]=c.useState(!1),[i,w]=c.useState(!1),[v,x]=c.useState(!1),[z,j]=c.useState(!1),[C,P]=c.useState(null);c.useRef(null);const{containerRef:y,token:d,isLoading:m,error:E,resetCaptcha:F}=ae(),[s,I]=c.useState({affiliate_referral_code:t||"",first_name:"",last_name:"",address_line_1:"",address_line_2:"",city:"",state:"",zip_code:"",is_national:!1,market_id:"",email:"",phone:"",social_media_handle:"",blog_website:"",business_or_school_name:"",w9_form:null,terms_accepted:!1});c.useEffect(()=>{t&&I(a=>({...a,affiliate_referral_code:t}))},[t]);const h=(a,b)=>{I(T=>({...T,[a]:b}))},L=a=>{I(b=>({...b,address_line_1:a.address_line_1,address_line_2:a.address_line_2||"",city:a.city||b.city,state:a.state||b.state,zip_code:a.zip_code?a.zip_code.replace(/\D/g,"").slice(0,5):b.zip_code}))},D=async()=>{var b,T;if(!d){S.error("Please complete the CAPTCHA verification");return}if(!s.first_name||!s.last_name||!s.market_id||s.market_id===""||!s.email||!s.phone||!s.address_line_1||!s.city||!s.state||!s.zip_code||!v){S.error("Please fill in all required fields and accept the terms and conditions");return}if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(s.email)){S.error("Please enter a valid email address");return}w(!0);try{const r=new FormData;r.append("first_name",s.first_name),r.append("last_name",s.last_name),s.business_or_school_name&&r.append("business_or_school_name",s.business_or_school_name),r.append("phone",s.phone),r.append("address_line_1",s.address_line_1),s.address_line_2&&r.append("address_line_2",s.address_line_2),r.append("city",s.city),r.append("state",s.state),r.append("zip_code",s.zip_code),r.append("email",s.email),t&&r.append("affiliate_referral_code",t),s.market_id==="national"?r.append("is_national","1"):r.append("market_id",s.market_id),s.social_media_handle&&r.append("social_media_handle",s.social_media_handle),s.blog_website&&r.append("blog_website",s.blog_website),s.w9_form&&s.w9_form instanceof File&&r.append("w9_form",s.w9_form),C&&r.append("plaid_data",JSON.stringify(C)),r.append("terms_accepted",v?"1":"0");const O=await K.post(`${k.getApiUrl}/affiliates/registrations`,r,{headers:{...je&&d?{"x-aws-waf-token":d}:{}}}),we={data:O.data.value,message:O.data.message,status:O.data.status};_(!0)}catch(r){G(r),F(),S.error(((T=(b=r==null?void 0:r.response)==null?void 0:b.data)==null?void 0:T.message)||"Failed to submit registration. Please try again.")}finally{w(!1)}},B=()=>{_(!1),I({affiliate_referral_code:"",first_name:"",last_name:"",address_line_1:"",address_line_2:"",city:"",state:"",zip_code:"",is_national:!1,market_id:"",email:"",ph
1one:"",social_media_handle:"",blog_website:"",business_or_school_name:"",w9_form:null,terms_accepted:!1}),P(null)};return u?e.jsx("div",{className:n.container,children:e.jsxs("div",{className:n.successContainer,children:[e.jsx("div",{className:n.successIcon,children:e.jsxs("svg",{width:"64",height:"64",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:"#10B981",strokeWidth:"2"}),e.jsx("path",{d:"M8 12L11 15L16 9",stroke:"#10B981",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}),e.jsx(o,{size:"h2",isBold:!0,children:"Registration Submitted!"}),e.jsx(o,{size:"base",className:n.successMessage,children:"Thanks for your interest in becoming a GetOut affiliate. Our team will review your registration and get back to you soon with next steps."}),e.jsx(R,{variant:"primary",size:"medium",onClick:B,style:{marginTop:"24px"},children:"Close"})]})}):e.jsx("div",{className:n.container,children:e.jsx("div",{className:n.content,children:e.jsxs(l,{gap:"lg",style:{width:"100%"},children:[e.jsxs(l,{gap:"xs",align:"center",children:[e.jsx(o,{size:"2xl",isBold:!0,children:"Affiliate Registration"}),e.jsx(M,{variant:"primary",dashed:!0})]}),e.jsxs(l,{gap:"md",className:n.formContent,children:[e.jsxs(A,{gap:"md",style:{width:"100%"},children:[e.jsxs(l,{gap:"xs",className:n.labelInputGroup,style:{flex:1},children:[e.jsx(p,{htmlFor:"first_name",size:"medium",required:!0,children:"First Name"}),e.jsx(g,{id:"first_name",type:"text",value:s.first_name,onChange:a=>h("first_name",a.target.value),disabled:i,fullWidth:!0,required:!0})]}),e.jsxs(l,{gap:"xs",className:n.labelInputGroup,style:{flex:1},children:[e.jsx(p,{htmlFor:"last_name",size:"medium",required:!0,children:"Last Name"}),e.jsx(g,{id:"last_name",type:"text",value:s.last_name,onChange:a=>h("last_name",a.target.value),disabled:i,fullWidth:!0,required:!0})]})]}),e.jsxs(l,{gap:"xs",className:n.labelInputGroup,style:{width:"100%"},children:[e.jsx(p,{htmlFor:"business_or_school_name",size:"medium",children:"Organization Name"}),e.jsx(g,{id:"business_or_school_name",type:"text",value:s.business_or_school_name,onChange:a=>h("business_or_school_name",a.target.value),disabled:i,fullWidth:!0})]}),e.jsxs(A,{gap:"md",style:{width:"100%"},children:[e.jsxs(l,{gap:"xs",className:n.labelInputGroup,style:{width:"100%"},children:[e.jsx(p,{htmlFor:"mailing_address",size:"medium",required:!0,children:"Address Line 1"}),e.jsx(Q,{value:s.address_line_1,onChange:a=>h("address_line_1",a),onAddressSelected:L,placeholder:"Start typing an address...",disabled:i})]}),e.jsxs(l,{gap:"xs",className:n.labelInputGroup,style:{width:"100%"},children:[e.jsx(p,{htmlFor:"address_line_2",size:"medium",children:"Address Line 2"}),e.jsx(g,{id:"address_line_2",type:"text",value:s.address_line_2,onChange:a=>h("address_line_2",a.target.value),disabled:i,fullWidth:!0,placeholder:"Suite, Apt, etc. (optional)"})]})]}),e.jsxs(A,{gap:"md",style:{width:"100%"},children:[e.jsxs(l,{gap:"xs",className:n.labelInputGroup,style:{flex:1},children:[e.jsx(p,{htmlFor:"city",size:"medium",required:!0,children:"City"}),e.jsx(g,{id:"city",type:"text",value:s.city,onChange:a=>h("city",a.target.value),disabled:i,fullWidth:!0,required:!0})]}),e.jsxs(l,{gap:"xs",className:n.labelInputGroup,style:{flex:1},children:[e.jsx(p,{htmlFor:"state",size:"medium",required:!0,children:"State"}),e.jsxs(W,{id:"state",value:s.state,onChange:a=>h("state",a.target.value),disabled:i,fullWidth:!0,required:!0,children:[e.jsx("option",{value:"",children:"Select state"}),xe.map(a=>e.jsx("option",{value:a,children:a},a))]})]}),e.jsxs(l,{gap:"xs",className:n.labelInputGroup,style:{flex:1},children:[e.jsx(p,{htmlFor:"zip_code",size:"medium",required:!0,children:"ZIP Code"}),e.jsx(g,{id:"zip_code",type:"text",value:s.zip_code,onChange:a=>{const b=a.target.value.replace(/\D/g,"").slice(0,5);h("zip_code",b)},disabled:i,fullWidth:!0,required:!0,maxLength:5})]})]}),e.jsxs(A,{gap:"md",style:{width:"100%"},children:[e.jsxs(l,{gap:"xs",className:n.labelInputGroup,style:{flex:1},children:[e.jsx(p,{htmlFor:"email",size:"medium",required:!0,children:"Email"}),e.jsx(g,{id:"email",type:"email",iconLeft:e.jsx(U,{}),value:s.email,onChange:a=>h("email",a.target.value),disabled:i,fullWidth:!0,required:!0})]}),e.jsxs(l,{gap:"xs",className:n.labelInputGroup,style:{flex:1},children:[e.jsx(p,{htmlFor:"phone",size:"medium",required:!0,children:"Phone no"}),e.jsx(g,{id:"phone",type:"tel",iconLeft:e.jsx(Y,{}),value:s.phone,onChange:a=>h("phone",a.target.value),disabled:i,fullWidth:!0,required:!0})]})]}),e.jsxs(A,{gap:"md",style:{width:"100%"},children:[e.jsxs(l,{gap:"xs",className:n.labelInputGroup,style:{width:"100%"},children:[e.jsx(p,{htmlFor:"getout_market",size:"medium",required:!0,children:"GetOut Market"}),e.jsxs(W,{id:"getout_market",value:s.market_id,onChange:a=>h("market_id",a.target.value),disabled:i,fullWidth:!0,required:!0,children:[e.jsx("option",{value:"",children:"Select market"}),e.jsx("option",{value:"national",children:"National"}),ye.map(a=>e.jsx("option",{value:a.id,children:a.name},a.id))]})]}),e.jsxs(l,{gap:"xs",className:n.labelInputGroup,style:{width:"100%"},children:[e.jsx(p,{htmlFor:"social_media_platform",size:"medium",children:"Social Media Platform"}),e.jsx(g,{id:"social_media_platform",type:"text",value:s.social_media_handle,onChange:a=>h("social_media_handle",a.target.value),disabled:i,fullWidth:!0,placeholder:"e.g., @username or website URL"})]})]}),e.jsxs(l,{gap:"xs",className:n.labelInputGroup,style:{width:"100%"},children:[e.jsx(p,{htmlFor:"blog_website",size:"medium",children:"Blog/Website"}),e.jsx(g,{id:"blog_website",type:"url",value:s.blog_website,onChange:a=>h("blog_website",a.target.value),disabled:i,fullWidth:!0,placeholder:"e.g., https://myblog.com"})]}),e.jsx(M,{variant:"primary",dashed:!0}),e.jsxs(l,{gap:"xs",style:{marginTop:"8px"},children:[e.jsxs("div",{style:{display:"flex",alignItems:"flex-start",ga
1p:"8px"},children:[e.jsx(V,{id:"terms_accepted",checked:v,onChange:a=>x(a.target.checked),disabled:i,required:!0}),e.jsx("label",{htmlFor:"terms_accepted",style:{flex:1,cursor:"pointer"},children:e.jsxs(o,{size:"sm",children:["I agree to the"," ",e.jsx("button",{type:"button",onClick:a=>{a.preventDefault(),j(!0)},style:{background:"none",border:"none",padding:0,color:"var(--color-brand-rocket-pop)",textDecoration:"underline",cursor:"pointer"},children:"Affiliate Terms & Conditions"}),e.jsx("span",{style:{color:"var(--color-error)"},children:" *"})]})})]}),e.jsxs(o,{size:"sm",children:["Failure to follow the listed Terms & Conditions will result in termination as a GetOut affiliate. Please contact your GetOut team rep directly with any concerns you have in regards to the affiliate portal. Please do NOT email or chat into customer service with questions regarding our Affiliate program. Thank you and we look forward to partnering with you!"," "]})]})]}),e.jsx(M,{variant:"primary",dashed:!0}),e.jsxs(l,{gap:"sm",style:{width:"100%"},children:[e.jsx(o,{size:"base",isBold:!0,children:"Security Verification"}),e.jsx(o,{size:"sm",color:"primary",children:"Please complete the CAPTCHA to verify you are human."}),e.jsx("div",{ref:y,className:n.captchaContainer,style:{minHeight:"200px"}}),E&&e.jsx(o,{size:"sm",style:{color:"var(--color-error)"},children:"CAPTCHA failed to load. Please refresh the page and try again."}),d&&e.jsx(o,{size:"sm",style:{color:"var(--color-success)"},children:"✓ Verification complete"})]}),e.jsx(ce,{isOpen:z,onClose:()=>j(!1)}),e.jsx(R,{variant:"primary",size:"medium",onClick:D,disabled:i||!d||m,children:i?"Submitting...":"Submit Registration"})]})})})},Ee=Ce;export{Ee as component};
2//# sourceMappingURL=affiliate-registration-vptv4wRq.js.map

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.