1import W from"./o-eDD6yj.js";import J from"./CyECGguN.js";import X from"./B4-kL2dn.js";import K from"./GgbWZuL3.js";import{_ as Q}from"./BaAQJCRR.js";import{_ as Z}from"./DCtRGqDD.js";import{G as _,g as x,m as ee,a as ae,ad as ne,x as oe,V as U,r as re,k as E,a1 as ie,o as P,d as te,i as V,e as i,h as o,j as me,n as f,f as se,t as g,J as le,a8 as de}from"./DGjczhxI.js";import{u as ue}from"./DGQUBQc0.js";import{u as pe}from"./1edbXC-L.js";import"./CJVGfykD.js";import{u as fe,a as ge}from"./C0oRkmyk.js";import{u as ve}from"./BG5zZtH6.js";import{u as be}from"./BLb2ADNI.js";import"./DS15Vyh1.js";/* empty css */import"./C70LlSPW.js";function $e(){return{focusProductsCategories:["Processors","Motherboards","Memory","HDD / SSD","Software","Graphics","Peripherals / Accessories","A-brand computers","Smartphones / tablets","Servers","Network equipment","Cybersecurity","Audio-video conferencing","Storage systems","Digital signage"],cooperationTypes:[{id:"1",name:"Solution project implementation for core business growth"},{id:"2",name:"Hardware/Software request for quotation for further integration project"},{id:"3",name:"Distribution/resell of components/devices/software"},{id:"4",name:"Goods to be sold via Retail/e-tail store"},{id:"5",name:"Authorized Service Center"}],brands:[{id:"173245",name:"Accelstor"},{id:"173025",name:"AFOX"},{id:"170132",name:"AMD"},{id:"170313",name:"AOC"},{id:"170161",name:"Apple"},{id:"170158",name:"ASUS"},{id:"170105",name:"Canyon"},{id:"170383",name:"Crucial"},{id:"170192",name:"GIGABYTE"},{id:"173241",name:"Infinidat"},{id:"171538",name:"Infortrend"},{id:"14",name:"Intel"},{id:"173471",name:"IntelliFlash"},{id:"161101",name:"Kingston"},{id:"170177",name:"Lexmark"},{id:"170175",name:"Logitech"},{id:"172092",name:"Mellanox"},{id:"171945",name:"MikroTik"},{id:"173244",name:"Perenio"},{id:"170544",name:"PNY"},{id:"170168",name:"Prestigio"},{id:"170168",name:"Prestigio"},{id:"170950",name:"SanDisk"},{id:"170213",name:"Sapphire"},{id:"17",name:"Seagate"},{id:"170325",name:"Supermicro"},{id:"171077",name:"Synology"},{id:"42",name:"Toshiba"},{id:"42",name:"Toshiba"},{id:"170121",name:"Transcend"},{id:"170406",name:"Tyan"},{id:"171959",name:"Ubiquiti"},{id:"170130",name:"Western Digital"}],industries:[{id:"9",name:"AGRICULTURE",segments:[{id:"901",name:"Agronomy"},{id:"902",name:"Livestock farm"},{id:"903",name:"Other"}]},{id:"15",name:"AUTOMOTIVE",segments:[{id:"1502",name:"Car Dealer"},{id:"1501",name:"Car Rental"},{id:"1503",name:"other"}]},{id:"16",name:"BETTING",segments:[{id:"1602",name:"Betting Service Retailer"},{id:"1601",name:"Casino"},{id:"1603",name:"Online Betting"}]},{id:"14",name:"COMMUNICATION",segments:[{id:"1827",name:"Media"},{id:"1812",name:"Print"},{id:"1402",name:"Radio Broadcasting"},{id:"1401",name:"TV Broadcasting"},{id:"1823",name:"Telco provider"}]},{id:"10",name:"CONSTRUCTION",segments:[{id:"1001",name:"Construction Developer"}]},{id:"19",name:"DATA CENTERS",segments:[{id:"301",name:"Data Center"},{id:"1804",name:"Internet Hosters"},{id:"1806",name:"Public Data Center"},{id:"1805",name:"Social Network Providers"}]},{id:"4",name:"EDUCATION",segments:[{id:"1828",name:"High School"},{id:"404",name:"Pre-Primary Education"},{id:"403",name:"Private Schools"},{id:"402",name:"Public Schools"},{id:"405",name:"Sport school"},{id:"406",name:"Technical Secondary Education"},{id:"401",name:"University"},{id:"407",name:"other education"}]},{id:"2",name:"FINANCIAL",segments:[{id:"201",name:"Commercial Banking"},{id:"204",name:"FX. Forex trader"},{id:"203",name:"Insurance"},{id:"202",name:"Investment Banking"},{id:"205",name:"Lawyers"},{id:"206",name:"Other"}]},{id:"1",name:"GOVERNMENT",segments:[{id:"106",name:"Customs"},{id:"101",name:"Defence"},{id:"104",name:"Finance"},{id:"103",name:"International Affairs"},{id:"1808",name:"Judicial Institution"},{id:"107",name:"Labour Office"},{id:"102",name:"Police"},{id:"105",name:"Tax office"},{id:"108",name:"other Government"},{id:"1813",name:""}]},{id:"6",name:"HEALTHCARE",segments:[{id:"1809",name:"Dental Clinic"},{id:"603",name:"Hospitals"},{id:"1850",name:"Hygienic preparations"},{id:"602",name:"Medical Centers"},{id:"1851",name:"Optical"},{id:"601",name:"Pharmacutical"}]},{id:"13",name:"HOSPITALITY",segments:[{id:"1847",name:"Exhibition hall"},{id:"1301",name:"Hotels"},{id:"1844",name:"Mall/Shoping center"},{id:"1302",name:"Restaturants, Caffee"},{id:"1303",name:"Spa Salon"},{id:"1814",name:"Tourism"},{id:"1826",name:"other"}]},{id:"3",name:"IT SERVICES",segments:[{id:"302",name:"CSP. Cloud Service Provider"},{id:"306",name:"Call Service"},{id:"304",name:"ISP. Internet Service Provider"},{id:"303",name:"ISV. Software Vendor"},{id:"305",name:"IT Administration and Support"},{id:"307",name:"RMA Service"},{id:"308",name:"Technical Support"},{id:"309",name:"other"}]},{id:"11",name:"MANUFACTURING",segments:[{id:"1830",name:"Automotive"},{id:"1840",name:"Chemicals"},{id:"1848",name:"Electro-mechanical"},{id:"1810",name:"Foodstuffs Production"},{id:"1837",name:"Medical"},{id:"1101",name:"Metalurgy"},{id:"1102",name:"Microelectronics"},{id:"1839",name:"Plastic Moulding"},{id:"1838",name:"Precission metal"},{id:"1841",name:"Textile"},{id:"1849",name:"Tobacco"},{id:"1103",name:"other"}]},{id:"18",name:"PROFESSIONAL SERVICES",segments:[{id:"1002",name:"Architects"}
1,{id:"1834",name:"Auditors and Tax Advisors"},{id:"1835",name:"Consulting Services"},{id:"1836",name:"Creative and Marketing Agencies"},{id:"1803",name:"Engineering Services"},{id:"1802",name:"Events Management"},{id:"1801",name:"Legal Services"}]},{id:"5",name:"RETAIL TRADE",segments:[{id:"1818",name:"AAR. Apple Authorized Reseller"},{id:"1815",name:"APR. Apple Premium Reseller"},{id:"1825",name:"AV Integrator"},{id:"1846",name:"B2B"},{id:"1819",name:"B2C e-marketpalce"},{id:"502",name:"CE. Consumer Electornic"},{id:"1816",name:"Carrier. Telco Retail"},{id:"504",name:"DIY. Do It Yourself"},{id:"501",name:"FMCG"},{id:"1831",name:"Fashion"},{id:"1821",name:"Hi-Fi Specialist"},{id:"1845",name:"Luxury watches"},{id:"1817",name:"Mobile Retail"},{id:"1820",name:"Monobrand"},{id:"1842",name:"Pet Shops"},{id:"503",name:"e-Tailer"}]},{id:"17",name:"SPORTING",segments:[{id:"1832",name:"Fitness Club"},{id:"1701",name:"Football Club"},{id:"1702",name:"Hockey Club"},{id:"1833",name:"Multi-purpose Arena"},{id:"1703",name:"Other"}]},{id:"7",name:"TRANSPORTATION",segments:[{id:"704",name:"Airline"},{id:"707",name:"Airport"},{id:"705",name:"Ground fleet manageent"},{id:"1811",name:"Logistics"},{id:"701",name:"Public Transport"},{id:"703",name:"Sea Fleet Management"},{id:"706",name:"Sea port"},{id:"702",name:"Taxi company"},{id:"1843",name:"Trains"},{id:"708",name:"Warehousing"}]},{id:"8",name:"UTILITIES",segments:[{id:"803",name:"Electicity"},{id:"1829",name:"Facilities Management and Cleaning"},{id:"802",name:"Gas"},{id:"801",name:"Oil"},{id:"804",name:"Sewerage"},{id:"805",name:"Telecom"}]},{id:"20",name:"VIDEO SURVEILLANCE",segments:[{id:"1822",name:"Other"}]},{id:"12",name:"WHOLESALE TRADE",segments:[{id:"1807",name:"Electronics"}]}]}}const ye=_({props:{withGeneralTerm:{type:Boolean,default:!1}},emits:["success"],setup(e,{emit:a}){const v=x(),{currentLanguage:$}=ve(),{domain:T}=pe(),b=T.value??"",{formSuccess:m,submit:s,recaptcha:y,confirm:d,isSubmitDisabled:S}=fe(),{required:t,email:D,phone:n,alphaSpaces:C,errorMessage:w}=ge(),{$api:{cityService:R,countryService:N}}=ee(),{partnershipFormUuid:O}=ae().public,q=be(),{focusProductsCategories:L,cooperationTypes:F,brands:B,industries:M}=$e(),I=re([]),l=ne({lead_source:`${b}${v.path}`,source_description:b,lead_source_description:`${b}${v.path}`,lang:$.value?.code??"",first_name:"",last_name:"",email:"",mobile_phone:"",phone:"",company_name:"",company_vertical_market:"",vertical_market_segment:"",country:"",city:"",website_url:"",core_reason_of_request:"",areas_of_interest:[],brands_of_interest:[],business_needs_pain_points_comments:"",marketing_yes:!1,generalTerms:!1}),A=ue({first_name:{alphaSpaces:C,required:t},last_name:{alphaSpaces:C,required:t},email:{required:t,email:D},phone:{required:t,phone:n},mobile_phone:{required:t,phone:n},company_name:{required:t},company_vertical_market:{required:t},vertical_market_segment:{required:t},country:{required:t},city:{required:t},website_url:{required:t},core_reason_of_request:{required:t},areas_of_interest:{required:t},brands_of_interest:{required:t}},l),h=E(()=>{const r=S(A.value.$invalid);return e.withGeneralTerm?r||!l.generalTerms:r}),G=r=>y?.setToken(r),c=async()=>{const{data:r}=await N.getAllCountries({limit:9999,it4:1});return r},{data:k}=oe("form-countries",()=>c(),{default:()=>[],getCachedData:(r,p,u)=>u.cause==="refresh:manual"||u.cause==="refresh:hook"?void 0:p.payload.data[r]}),H=async r=>{const p=k.value.find(z=>z.iso2===r)?.id,{data:u}=await R.getAllCities({country_id:p,limit:9999,it4:1});I.value=u};U(()=>l.country,r=>{H(r)});const j=E(()=>M.find(r=>r.id===l.company_vertical_market)?.segments),Y=async()=>{q.push({event:"form-section-partnership"});try{const{generalTerms:r,...p}=l,u={...p,country:l.country,...e.withGeneralTerm&&{gdpr_yes:r}};await s(u,O),d.value=!1}catch(r){console.error(r)}};return U(m,r=>{r&&a("success")},{immediate:!0}),{formData:l,confirmPersonalData:d,handleSubmitForm:Y,focusProductsCategories:L,cooperationTypes:F,brands:B,countries:k,cities:I,industries:M,industrySegments:j,isSubmitButtonDisabled:h,setCaptchaToken:G,errorMessage:w,v$:A}}}),Se={class:"mb-12 grid gap-4"},De=["innerHTML"],Ve={class:"mx-auto w-full max-w-[438px] justify-center"};function Te(e,a,v,$,T,b){const m=W,s=J,y=X,d=K,S=Q,t=Z,D=le;return P(),te("form",{class:"mx-auto md:max-w-[600px]",autocomplete:"off",onSubmit:a[37]||(a[37]=de((...n)=>e.handleSubmitForm&&e.handleSubmitForm(...n),["prevent"]))},[V("div",Se,[i(m,{modelValue:e.formData.first_name,"onUpdate:modelValue":a[0]||(a[0]=n=>e.formData.first_name=n),modelModifiers:{trim:!0},label:e.$t("name"),error:e.errorMessage(e.v$.first_name),required:"",onInput:a[1]||(a[1]=n=>e.v$.first_name.$touch())},null,8,["modelValue","label","error"]),a[38]||(a[38]=o()),i(m,{modelValue:e.formData.last_name,"onUpdate:modelValue":a[2]||(a[2]=n=>e.formData.last_name=n),modelModifiers:{trim:!0},label:e.$t("surname"),error:e.errorMessage(e.v$.last_name),required:"",onInput:a[3]||(a[3]=n=>e.v$.last_name.$touch())},null,8,["modelValue","label","error"]),a[39]||(a[39]=o()),i(m,{modelValue:e.formData.email,"onUpdate:modelValue":a[4]||(a[4]=n=>
1e.formData.email=n),modelModifiers:{trim:!0},label:e.$t("corporate_email"),error:e.errorMessage(e.v$.email),required:"",type:"email",onInput:a[5]||(a[5]=n=>e.v$.email.$touch())},null,8,["modelValue","label","error"]),a[40]||(a[40]=o()),i(m,{modelValue:e.formData.phone,"onUpdate:modelValue":a[6]||(a[6]=n=>e.formData.phone=n),modelModifiers:{trim:!0},label:e.$t("phone"),error:e.errorMessage(e.v$.phone),required:"",type:"tel",onInput:a[7]||(a[7]=n=>e.v$.phone.$touch())},null,8,["modelValue","label","error"]),a[41]||(a[41]=o()),i(m,{modelValue:e.formData.mobile_phone,"onUpdate:modelValue":a[8]||(a[8]=n=>e.formData.mobile_phone=n),modelModifiers:{trim:!0},label:e.$t("mobile_phone"),error:e.errorMessage(e.v$.mobile_phone),required:"",type:"tel",onInput:a[9]||(a[9]=n=>e.v$.mobile_phone.$touch())},null,8,["modelValue","label","error"]),a[42]||(a[42]=o()),i(m,{modelValue:e.formData.company_name,"onUpdate:modelValue":a[10]||(a[10]=n=>e.formData.company_name=n),modelModifiers:{trim:!0},label:e.$t("company"),error:e.errorMessage(e.v$.company_name),required:"",onInput:a[11]||(a[11]=n=>e.v$.company_name.$touch())},null,8,["modelValue","label","error"]),a[43]||(a[43]=o()),i(s,{modelValue:e.formData.company_vertical_market,"onUpdate:modelValue":a[12]||(a[12]=n=>e.formData.company_vertical_market=n),modelModifiers:{trim:!0},placeholder:e.$t("company_primary_industry"),error:e.errorMessage(e.v$.company_vertical_market),required:"",options:e.industries,searchable:"",onInput:a[13]||(a[13]=n=>e.v$.company_vertical_market.$touch()),onChange:a[14]||(a[14]=n=>e.formData.vertical_market_segment=null)},null,8,["modelValue","placeholder","error","options"]),a[44]||(a[44]=o()),i(s,{modelValue:e.formData.vertical_market_segment,"onUpdate:modelValue":a[15]||(a[15]=n=>e.formData.vertical_market_segment=n),modelModifiers:{trim:!0},placeholder:e.$t("industry_segment"),error:e.errorMessage(e.v$.vertical_market_segment),required:"",options:e.industrySegments,searchable:"",disabled:!e.formData.company_vertical_market,onInput:a[16]||(a[16]=n=>e.v$.vertical_market_segment.$touch())},null,8,["modelValue","placeholder","error","options","disabled"]),a[45]||(a[45]=o()),i(s,{modelValue:e.formData.country,"onUpdate:modelValue":a[17]||(a[17]=n=>e.formData.country=n),modelModifiers:{trim:!0},placeholder:e.$t("country"),error:e.errorMessage(e.v$.country),required:"",options:e.countries,"value-prop":"iso2",label:"name",searchable:"",onInput:a[18]||(a[18]=n=>e.v$.country.$touch()),onChange:a[19]||(a[19]=n=>e.formData.city=null)},null,8,["modelValue","placeholder","error","options"]),a[46]||(a[46]=o()),i(s,{modelValue:e.formData.city,"onUpdate:modelValue":a[20]||(a[20]=n=>e.formData.city=n),modelModifiers:{trim:!0},placeholder:e.$t("city"),error:e.errorMessage(e.v$.city),options:e.cities,"value-prop":"it4_id",label:"name",required:"",disabled:!e.cities.length,searchable:"",onInput:a[21]||(a[21]=n=>e.v$.city.$touch())},null,8,["modelValue","placeholder","error","options","disabled"]),a[47]||(a[47]=o()),i(m,{modelValue:e.formData.website_url,"onUpdate:modelValue":a[22]||(a[22]=n=>e.formData.website_url=n),modelModifiers:{trim:!0},label:e.$t("company_website"),error:e.errorMessage(e.v$.website_url),required:"",onInput:a[23]||(a[23]=n=>e.v$.website_url.$touch())},null,8,["modelValue","label","error"]),a[48]||(a[48]=o()),i(s,{modelValue:e.formData.core_reason_of_request,"onUpdate:modelValue":a[24]||(a[24]=n=>e.formData.core_reason_of_request=n),modelModifiers:{trim:!0},placeholder:e.$t("cooperation_type"),error:e.errorMessage(e.v$.core_reason_of_request),options:e.cooperationTypes,searchable:"",onInput:a[25]||(a[25]=n=>e.v$.core_reason_of_request.$touch())},null,8,["modelValue","placeholder","error","options"]),a[49]||(a[49]=o()),i(s,{modelValue:e.formData.areas_of_interest,"onUpdate:modelValue":a[26]||(a[26]=n=>e.formData.areas_of_interest=n),modelModifiers:{trim:!0},placeholder:e.$t("focus_product_categories"),error:e.errorMessage(e.v$.areas_of_interest),required:"",options:e.focusProductsCategories,mode:"tags",searchable:"",onInput:a[27]||(a[27]=n=>e.v$.areas_of_interest.$touch())},null,8,["modelValue","placeholder","error","options"]),a[50]||(a[50]=o()),i(s,{modelValue:e.formData.brands_of_interest,"onUpdate:modelValue":a[28]||(a[28]=n=>e.formData.brands_of_interest=n),modelModifiers:{trim:!0},placeholder:e.$t("brands_of_interests"),error:e.errorMessage(e.v$.brands_of_interest),required:"",options:e.brands,"value-prop":"id",label:"name",mode:"tags",searchable:"",onInput:a[29]||(a[29]=n=>e.v$.brands_of_interest.$touch())},null,8,["modelValue","placeholder","error","options"]),a[51]||(a[51]=o()),i(y,{modelValue:e.formData.business_needs_pain_points_comments,"onUpdate:modelValue":a[30]||(a[30]=n=>e.formData.business_needs_pain_points_comments=n),modelModifiers:{trim:!0},label:e.$t("write_your_business_needs"),required:"",maxlength:1e3},null,8,["modelValue","label"])]),a[52]||(a[52]=o()),e.withGeneralTerm?(P(),me(d,{key:0,modelValue:e.formData.generalTerms,"onUpdate:modelValue":a[31]||(a[31]=n=>e.formData.generalTerms=n),class:"mb-6"},{default:f(()=>[V("span",{class:"checkbox-text",innerHTML:e.$t("general_terms")},null,8,De)]),_:1},8,["modelValue"])):se("",!0),a[53]||(a[53]=o()),i(d,{modelValue:e.confirmPersonalData,"onUpdate:modelValue":a[32]||(a[32]=n=>e.confirmPersonalData=n),class:"mb-6"},{default:f(()=>[o(g(e.$t("i_consent_to_the_processing"))+`. 2 `+g(e.$t("for_more_info_follow_link"))+`:Â 3 `,1),i(S,{to:"/privacy-policy",class:"text-blue-800 underline"},{default:f(()=>[o(g(e.$t("privacy_policy")),1)]),_:1})]),_:1},8,["modelValue"]),a[54]||(a[54]=o()),i(d,{modelValue:e.formData.marketing_yes,"onUpdate:modelValue":a[33]||(a[33]=n=>e.formData.marketing_yes=n),class:"mb-12"},{default:f(()=>[o(g(e.$t("i_agree_to_receive_advertising")),1)]),_:1},8,["modelValue"]),a[55]||(a[55]=o()),i(t,{class:"mb-6 flex justify-center md:mb-12",onError:a[34]||(a[34]=n=>e.setCaptchaToken("")),onSuccess:a[35]||(a[35]=n=>e.setCaptchaToken(n)),onExpired:a[36]||(a[36]=n=>e.setCaptchaToken(""))}
3),a[56]||(a[56]=o()),V("div",Ve,[i(D,{type:"submit",size:"md",block:"",disabled:e.isSubmitButtonDisabled},{default:f(()=>[o(g(e.$t("submit")),1)]),_:1},8,["disabled"])])],32)}const he=ie(ye,[["render",Te]]);export{he 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.