var a=Object.defineProperty,e=Object.defineProperties,t=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,i=(e,t,s)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;import{H as l,_ as n}from"./index-D4lLxThK.js";import{d as c,r as d,o as p,H as u,ap as f,a0 as m,a3 as b,v,A as g,f as h,F as y,a1 as w}from"./vendor-DezibNX8.js";import{h as j,S as x}from"./antd-CKo75OZH.js";import"./utils-D7vwahzQ.js";const O=c({components:{},props:["msg","sketchCatecoryList"],setup(){f();const a=d({loadingShow:!1,textarea:""});return p(()=>{}),n=((a,e)=>{for(var t in e||(e={}))r.call(e,t)&&i(a,t,e[t]);if(s)for(var t of s(e))o.call(e,t)&&i(a,t,e[t]);return a})({},u(a)),e(n,t({submit:()=>{a.loadingShow=!0;let e={promotionMethod:a.textarea};l.axiosGet(l.httpUrls.affiliateRegistration,{params:e}).then(()=>{a.loadingShow=!1,j.success("success")}).catch(e=>{a.loadingShow=!1})}}));var n}}),S={class:"affiliateRegister"},P={class:"textarea_box"},_=["value"],A={class:"mark_loading"};const R=n(O,[["render",function(a,e,t,s,r,o){const i=x;return w(),m(y,null,[b("div",S,[e[2]||(e[2]=b("div",{class:"title"},"AiDA Affiliate Request Page",-1)),e[3]||(e[3]=b("div",{class:"info"},"Why do you want to become an affiliate user?",-1)),b("div",P,[e[1]||(e[1]=b("div",{class:"text"},null,-1)),b("textarea",{value:a.textarea},null,8,_)]),b("div",{class:"gallery_btn",style:{width:"100%"},onClick:e[0]||(e[0]=(...e)=>a.submit&&a.submit(...e))},"Register")]),v(b("div",A,[h(i,{size:"large"})],512),[[g,a.loadingShow]])],64)}],["__scopeId","data-v-67b7a80a"]]);export{R as default};
