1import{l as I,R as F,n as L,m as _,q as n,A as a,bu as T,S as D,L as p}from"./index.d5ed491e.1790691266856.js";import{r as g}from"./agentation.5cf31a33.1790691266856.js";import{S as A}from"./scrollAnimation.min.8fa11940.1790691266856.js";import{l as r}from"./index.8da71876.1790691266856.js";import{m as U}from"./selector.4b536653.1790691266856.js";import V from"./transaction-button.selector.3b2e0755.1790691266856.js";import x from"./text.f8a510f1.1790691266856.js";import k from"./announcement-bar-1.ae1c566f.1790691266856.js";import E from"./image-helper.d8b3f01e.1790691266856.js";import{c as i}from"./contactUs.controller.ca1017f9.1790691266856.js";import{w as G}from"./withTranslation.e96527d2.1790691266856.js";import{T as M}from"./Translation.3585ed1a.1790691266856.js";import"./index.5f8b7514.1790691266856.js";import"./miniLazyComponent.f7c47818.1790691266856.js";import"./emotion-react.browser.esm.8b9f0e3e.1790691266856.js";import"./emotion-memoize.esm.f5713a00.1790691266856.js";import"./ceremony-util.67c6bdb8.1790691266856.js";import"./dynamic-comp-service.18daa656.1790691266856.js";import"./ceremory.selector.f8015267.1790691266856.js";import"./ceremony.c8bb9ec3.1790691266856.js";import"./index.8d75a2fd.1790691266856.js";import"./staticContentModules.2872032d.1790691266856.js";import"./modal.action.efc35125.1790691266856.js";import"./store.cfe7bd7b.1790691266856.js";import"./floatingNotification.constant.27687fe7.1790691266856.js";import"./dayjs.min.36a48f9e.1790691266856.js";import"./matchPredictionModules.50e4da1f.1790691266856.js";import"./oddsFeedModules.7945eab5.1790691266856.js";import"./promotionModules.47569441.1790691266856.js";import"./index.622de522.1790691266856.js";import"./game-hook.c9da3562.1790691266856.js";import"./general-hook.cf4205cd.1790691266856.js";import"./index.05e25ec2.1790691266856.js";import"./warning.883c7a3c.1790691266856.js";class R extends F.Component{constructor(){super(),i.init(this)}async componentDidMount(){this.props.location.pathname==="/contact"&&this.props.history.push("/contact-us"),i.getContactUsContent(),await i.initCompSettings(),i.getContactUsList(),L.loadCustomTranslation("affContact",this)}render(){const{contactUsContent:m,contactUsList:l,customTranslationObj:s,contactUsSpecialList:j,fields:o,isIgnoreFormValid:b,compSettings:f}
1=this.state,{affContactForm:u,affContactFormBackground:N,affContactFormCustomContent:h}=f,{language:v,portal:c}=this.props,C=v.countryLanguageKey.toLowerCase().replace("_","-"),y=_(c,"settings.features.affiliateContactUsSettings.isShowMoreInfo"),S={submitProps:{className:"standard-submit-button get-in-touch-submit-btn",buttonText:n(s,"submit")?this.props.t(s.submit):this.props.t("password:password.form.submit","Submit"),disabled:b?this.state.isLoading:!this.state.isFormValid||this.state.isLoading,onClickFunction:i.handleSubmit,hideButtonImg:!0}};function w(e,t){switch(e.name){case"QRCode":return a.jsx(a.Fragment,{children:a.jsx(p,{src:e.imgSrc,alt:""})});default:return a.jsxs(a.Fragment,{children:[a.jsxs("div",{children:[t(e.name),": "]}),a.jsx("a",{href:`/${C}/${e.desc}`,children:e.desc})]})}}return a.jsx(M,{children:e=>a.jsx(A,{animateIn:"fadeIn",duration:2,children:a.jsxs("div",{className:"aff-contact-us-wrapper",children:[c?.settings?.affFeatures?.landingAnnouncement?.showAnnouncementBar&&a.jsx("div",{className:"landing-page-announcement",children:a.jsx(k,{tempAnnouncementProps:c?.settings?.affFeatures?.landingAnnouncement?.announcementProps})}),a.jsxs("section",{className:"contact-us-container",children:[a.jsx("header",{children:a.jsx("p",{children:T(e("global:footer.contact-us"))})}),m&&m!==""?a.jsx("article",{dangerouslySetInnerHTML:{__html:this.state.contactUsContent}}):!u&&a.jsxs("article",{children:[a.jsx(x,{textKey:"affiliate:affiliate.contactus.desc1",children:e("affiliate:affiliate.contactus.desc1","Thank you for reaching out to Affiliate. Have you tried our")}),a.jsx(g.Link,{to:"/faq",children:e("affiliate:affiliate.contactus.faq","FAQ")}),e("affiliate:affiliate.contactus.desc2","to see if there's an answer you might be looking for? We've provided some of our top areas of inquiries.")+e("affiliate:affiliate.contactus.desc3","If you haven't found what you're looking for, listed below is a variety of convenient ways for you to contact us.")]}),a.jsx("div",{className:"image-qr-code d-flex justify-content-center",children:j.map((t,d)=>a.jsx("div",{className:"contact-list-warpper",children:a.jsx("div",{className:"contact-content-container standard-normal-font-size",children:w(t,e)})},d))}),l&&l.length>0&&a.jsx("div",{className:"contact-us-list",children:l.map((t,d)=>a.jsxs("div",{className:"contact-list-warpper",onClick:()=>{i.handleContactClicked(t)},children:[!t.hideIcon&&a.jsx("div",{className:"contact-svg-container",children:t.displayImg?a.jsx(E,{displayImg:t.displayImg,isSVG:t.isSVG,srcSVG:t.srcSVG}):a.jsx(D,{category:"SVGContact",className:"box-svg",name:t.svgName||"96b-"+t.name.toLowerCase()})}),a.jsxs("div",{className:"contact-content-container",children:[a.jsx("p",{className:"info-title",children:s&&s[t.name.toLowerCase()]?s[t.name.toLowerCase()]:t.name}),t.isHtml?a.jsx("div",{dangerouslySetInnerHTML:{__html:t.desc}}):a.jsx("div",{children:t.desc}),t.name==="Phone"&&!f?.hideInternationalCharge&&a.jsx("div",{children:e("contactus:contactus.mobile.internationalCharge")})]})]},d))}),u&&a.jsxs("div",{className:"field-column standard-m-form-col-full",children:[a.jsxs("div",{className:"standard-form-col-30 get-in-touch-left-container",children:[a.jsx("div",{children:a.jsx("h3",{children:e("affiliate:affiliate.contactus.get-in-touch","Get In Touch")})}),a.jsx(p,{src:N||"/public/html/default_whitelabel/default-images/contact/contact-bg.png",className:"contact-bg-img"}),h?a.jsx("div",{dangerouslySetInnerHTML:{__html:h}}):a.jsxs(a.Fragment,{children:[a.jsxs("p",{children:[a.jsx(x,{textKey:"affiliate:affiliate.contactus.formDesc1-1",children:e("affiliate:affiliate.contactus.formDesc1-1")}),a.jsx("span",{children:a.jsx("a",{href:"/faq",children:"FAQ "})}),e("affiliate:affiliate.contactus.formDesc1-2")]}),a.jsx("p",{children:e("affiliate:affiliate.contactus.formDesc2")})]})]}),a.jsxs("div",{className:"form-contanier standard-form-col-70",children:[a.jsxs("div",{className:"form-group-fname-lname",children:[a.jsxs("div",{className:"standard-form-field",children:[a.jsx("label",{className:"standard-label standard-mandatory",children:n(s,"firstname")?this.props.t(s.firstname):e("affiliate:affiliate.contactus.firstname","First Name")}
1),a.jsx(r.DebounceInput,{type:"text",className:"form-control standard-input",value:o.firstName,onChange:t=>i.handleFieldChanged(t,"firstName"),placeholder:e("affiliate:affiliate.contactus.yourfirstname","First Name")})]}),a.jsxs("div",{className:"field-box standard-form-field",children:[a.jsx("label",{className:"standard-label standard-form-col-40 ",children:n(s,"lastname")?this.props.t(s.lastname):e("affiliate:affiliate.contactus.lastname","Last Name")}),a.jsx(r.DebounceInput,{type:"text",className:"form-control standard-input",value:o.lastName,onChange:t=>i.handleFieldChanged(t,"lastName"),placeholder:e("affiliate:affiliate.contactus.yourlastname","Last Name")})]}),a.jsxs("div",{className:"field-box standard-form-field",children:[a.jsx("label",{className:"standard-label standard-form-col-80 standard-mandatory",children:e("global:global.form.email","Email Address")}),a.jsx(r.DebounceInput,{type:"text",className:"form-control standard-input",value:o.senderEmail,onChange:t=>i.handleFieldChanged(t,"senderEmail"),placeholder:e("affiliate:affiliate.contactus.email","Email")})]})]}),a.jsxs("div",{className:"field-box standard-form-field",children:[a.jsx("label",{className:"standard-label standard-form-col-40 standard-mandatory",children:n(s,"subject_title")?e(s.subject_title):e("affiliate:affiliate.contactus.subject_title","Subject")}),a.jsx(r.DebounceInput,{type:"text",className:"form-control standard-input",value:o.subject,onChange:t=>i.handleFieldChanged(t,"subject"),placeholder:n(s,"subject_title")?e(s.subject_title):e("affiliate:affiliate.contactus.subject_title","Subject")})]}),a.jsx("div",{className:"field-box standard-form-field",children:a.jsx(r.DebounceInput,{element:"textarea",className:"form-control standard-input",cols:"30",rows:"10",value:o.message,onChange:t=>i.handleFieldChanged(t,"message"),placeholder:n(s,"message")?e(s.message):e("affiliate:affiliate.contactus.message","Message")})}),a.jsx("div",{className:"error-validation",children:e(this.state.errors.senderEmail)}),a.jsx("div",{children:a.jsx(V,{...S})})]})]}),y&&a.jsx("article",{children:e("affiliate:affiliate.contactus.more-info")})]})]})})})}}const va=I.connect(U)(G(["affiliate","global","contactus"])(g.withRouter(R)));export{va as default};
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.