1import{a as ne,b as le,u as ae}from"./link.efad8efd.js";import{u as ce,U as ue,V as de,K as fe,q as E,W as te,v as me,X as he,l as pe,Y as ye,Z as _e,L as re,j as S,M as I,_ as ve,z as ge,A as be,B as Ce,o as u,c as d,a as i,t as y,d as _,n as g,C as v,D as L,H as V,f as k,E as O,F as T,r as P,G as Se,I as A,J as Le,P as Ne,b as H,m as we,p as ke,h as xe}from"./entry.8603fe85.js";import{a as Ie}from"./Icon.e43bc9a9.js";const R="__nuxt_component";async function Oe(e,t){const r=E(),n=ce(),s=te(),{fetchKey:l,_fetchKeyBase:f}=s.proxy.$options,a=(typeof l=="function"?l(()=>""):l)||[f,n.fullPath,n.matched.findIndex(m=>Object.values(m.components||{}).includes(s.type))].join(":"),{data:o,error:p}=await le(`options:asyncdata:${a}`,()=>r.runWithContext(()=>t(r)));if(p.value)throw ue(p.value);o.value&&typeof o.value=="object"&&Object.assign(await e,de(fe(o.value)))}const jt=function(...t){const[r,n]=t,{setup:s}=r;return!s&&!r.asyncData&&!r.head?{[R]:!0,...r}:{[R]:!0,_fetchKeyBase:n,...r,setup(l,f){const a=E(),o=s?Promise.resolve(a.runWithContext(()=>s(l,f))).then(m=>m||{}):{},p=[];if(r.asyncData&&p.push(Oe(o,r.asyncData)),r.head){const m=E();ne(typeof r.head=="function"?()=>r.head(m):r.head)}return Promise.resolve(o).then(()=>Promise.all(p)).then(()=>o).finally(()=>{p.length=0})}}};var j;const z=typeof window<"u",se=e=>typeof e=="string",B=()=>{},F=z&&((j=window==null?void 0:window.navigator)==null?void 0:j.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function N(e){return typeof e=="function"?e():pe(e)}const Z={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function Te(e){return e}function U(e){return ye()?(_e(e),!0):!1}function Pe(e){return typeof e=="function"?re(e):S(e)}function Ae(e,t=!0){te()?me(e):t?e():he(e)}function Ee(e){var t;const r=N(e);return(t=r==null?void 0:r.$el)!=null?t:r}const D=z?window:void 0;function M(...e){let t,r,n,s;if(se(e[0])||Array.isArray(e[0])?([r,n,s]=e,t=D):[t,r,n,s]=e,!t)return B;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const l=[],f=()=>{l.forEach(m=>m()),l.length=0},a=(m,b,c,h)=>(m.addEventListener(b,c,h),()=>m.removeEventListener(b,c,h)),o=I(()=>[Ee(t),N(s)],([m,b])=>{f(),m&&l.push(...r.flatMap(c=>n.map(h=>a(m,c,h,b))))},{immediate:!0,flush:"post"}),p=()=>{o(),f()};return U(p),p}const K=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Q="__vueuse_ssr_handlers__";K[Q]=K[Q]||{};var G;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(G||(G={}));var Fe=Object.defineProperty,Y=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,X=(e,t,r)=>t in e?Fe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Be=(e,t)=>{for(var r in t||(t={}))Me.call(t,r)&&X(e,r,t[r]);if(Y)for(var r of Y(t))ze.call(t,r)&&X(e,r,t[r]);return e};const Ue={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};Be({linear:Te},Ue);function Zt({window:e=D}={}){if(!e)return{x:S(0),y:S(0)};const t=S(e.scrollX),r=S(e.scrollY);return M(e,"scroll",()=>{t.value=e.scrollX,r.value=e.scrollY},{capture:!1,passive:!0}),{x:t,y:r}}function Kt(e={}){const{window:t=D,initialWidth:r=1/0,initialHeight:n=1/0,listenOrientation:s=!0,includeScrollbar:l=!0}=e,f=S(r),a=S(n),o=()=>{t&&(l?(f.value=t.innerWidth,a.value=t.innerHeight):(f.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};return o(),Ae(o),M("resize",o,{passive:!0}),s&&M("orientationchange",o,{passive:!0}),{width:f,height:a}}function w(e){var t;const r=N(e);return(t=r==null?void 0:r.$el)!=null?t:r}const oe=z?window:void 0;function x(...e){let t,r,n,s;if(se(e[0])||Array.isArray(e[0])?([r,n,s]=e,t=oe):[t,r,n,s]=e,!t)return B;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const l=[],f=()=>{l.forEach(m=>m()),l.length=0},a=(m,b,c,h)=>(m.addEventListener(b,c,h),()=>m.removeEventListener(b,c,h)),o=I(()=>[w(t),N(s)],([m,b])=>{f(),m&&l.push(...r.flatMap(c=>n.map(h=>a(m,c,h,b))))},{immediate:!0,flush:"post"}),p=()=>{o(),f()};return U(p),p}let q=!1;function J(e,t,r={}){const{window:n=oe,ignore:s=[],capture:l=!0,detectIframe:f=!1}=r;if(!n)return;
1F&&!q&&(q=!0,Array.from(n.document.body.children).forEach(c=>c.addEventListener("click",B)));let a=!0;const o=c=>s.some(h=>{if(typeof h=="string")return Array.from(n.document.querySelectorAll(h)).some(C=>C===c.target||c.composedPath().includes(C));{const C=w(h);return C&&(c.target===C||c.composedPath().includes(C))}}),m=[x(n,"click",c=>{const h=w(e);if(!(!h||h===c.target||c.composedPath().includes(h))){if(c.detail===0&&(a=!o(c)),!a){a=!0;return}t(c)}},{passive:!0,capture:l}),x(n,"pointerdown",c=>{const h=w(e);h&&(a=!c.composedPath().includes(h)&&!o(c))},{passive:!0}),f&&x(n,"blur",c=>{var h;const C=w(e);((h=n.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!(C!=null&&C.contains(n.document.activeElement))&&t(c)})].filter(Boolean);return()=>m.forEach(c=>c())}const De={[Z.mounted](e,t){const r=!t.modifiers.bubble;if(typeof t.value=="function")e.__onClickOutside_stop=J(e,t.value,{capture:r});else{const[n,s]=t.value;e.__onClickOutside_stop=J(e,n,Object.assign({capture:r},s))}},[Z.unmounted](e){e.__onClickOutside_stop()}},$=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ee="__vueuse_ssr_handlers__";$[ee]=$[ee]||{};function ie(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientHeight<e.scrollHeight||t.overflowY==="auto"&&e.clientWidth<e.scrollWidth)return!0;{const r=e.parentNode;return!r||r.tagName==="BODY"?!1:ie(r)}}function We(e){const t=e||window.event,r=t.target;return ie(r)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}function Ve(e,t=!1){const r=S(t);let n=null,s;I(Pe(e),a=>{if(a){const o=a;s=o.style.overflow,r.value&&(o.style.overflow="hidden")}},{immediate:!0});const l=()=>{const a=N(e);!a||r.value||(F&&(n=x(a,"touchmove",o=>{We(o)},{passive:!1})),a.style.overflow="hidden",r.value=!0)},f=()=>{const a=N(e);!a||!r.value||(F&&(n==null||n()),a.style.overflow=s,r.value=!1)};return U(f),re({get(){return r.value},set(a){a?l():f()}})}const He=()=>{let e=!1;const t=S(!1);return(r,n)=>{if(t.value=n.value,e)return;e=!0;const s=Ve(r,n.value);I(t,l=>s.value=l)}};He();const Re={directives:{onClickOutside:De},props:{form:{type:Object,required:!0},noFormId:{type:Boolean,required:!1,default:!1}},data(){return{countrySelect:this.form.showCities?0:-1,citySelect:-1,transportSelect:-1,licenseSelect:-1,selectCityOpen:!1,citySearch:"",name:null,lastName:null,phone:null,sms:"sms",email:null,zipCode:null,policy:!1,error:null,success:null,funnelId:null,stageId:null,errorName:!1,errorLastName:!1,errorMail:!1,errorPhone:!1,errorCountry:!1,errorCity:!1,errorZipCode:!1,errorTransport:!1,errorLicense:!1,errorPolicy:!1,sending:!1,alreadyApplied:!1,portalLink:"",transportTypeNotification:!1,googleInfos:null}},mounted(){this.$nextTick(()=>{this.form.enableGoogleButton&&this.initGoogleButton()})},computed:{store(){return ge(ae)},cookiesAreConsented(){return this.store.state.cookiesAreConsented},transportType(){return this.countrySelect===-1||this.citySelect===-1||this.transportSelect===-1?"":this.form.formCountries[this.countrySelect].country.cities[this.citySelect].city.transportTypes[this.transportSelect].value},getCountryParamName(){return this.form.formCountries[this.countrySelect].country.countryParameterName},currentPhoneRule(){const e={uk_city:{prefix:"+44",digitCount:10,re:/^\+44\d{10}$/},fr_city:{prefix:"+33",digitCount:9,re:/^\+33\d{9}$/},pl_city:{prefix:"+48",digitCount:9,re:/^\+48\d{9}$/}};if(this.countrySelect===-1)return null;const t=this.form.formCountries[this.countrySelect].country.countryParameterName;return e[t]||null},phoneErrorMessage(){const e=this.currentPhoneRule;return e?`Phone number must start with ${e.prefix} followed by ${e.digitCount} digits`:this.form.phoneNumberError},utms(){return this.$getUtms()},utmCampaign(){return this.utms.utm_campaign},utmContent(){return this.utms.utm_content},utmSource(){return this.utms.utm_source},utmMedium(){return this.utms.utm_medium},utmTerm(){return this.utms.utm_term},gclid(){return this.utms.gclid},citiesFromCountry(){return this.countrySelect===-1?[]:this.form.formCountries[this.countrySelect].country.cities.map((e,t)=>(e.id=t,e))},filteredCitiesFromCountry(){const e=this.citySearch.toLowerCase().normalize("NFD").replace(/\p{Diacritic}/gu,"").replace(/-/g," ");return this.countrySelect!==-1&&e!==""?this.citiesFromCountry.filter(t=>t.city.name.toLowerCase().normalize("NFD").replace(/\p{Diacritic}/gu,"").replace(/-/g," ").startsWith(e)):this.countrySelect!==-1?this.citiesFromCountry:[]},cityLabelText(){return this.citySearch?"":this.citySelect===-1?this.selectCityOpen?"Start t
1yping...":this.form.cityLabel:this.currentCityName},currentCityName(){return this.countrySelect!==-1?this.form.formCountries[this.countrySelect].country.cities[this.citySelect].city.name:"Start typing..."},transportsFromCity(){return this.citySelect!==-1&&this.countrySelect!==-1?this.form.formCountries[this.countrySelect].country.cities[this.citySelect].city.transportTypes:[]},fullName(){return this.name+" "+this.lastName},showLicenseSelect(){const e=["bike","cargobike","cargobikexl"];return this.form.enableLicenseCheck&&this.transportSelect!==-1&&!e.includes(this.transportsFromCity[this.transportSelect].value)},hasNoLicense(){return this.showLicenseSelect&&parseInt(this.licenseSelect)===0}},watch:{transportSelect(e){this.licenseSelect=-1,this.errorTransport&&e!==-1&&(this.errorTransport=!1),e!==-1?(this.funnelId=this.transportsFromCity[e].funnelId,this.stageId=this.transportsFromCity[e].stageId):(this.funnelId=null,this.stageId=null),this.transportsFromCity[e].name=="Coursier motorisé"||this.transportsFromCity[e].name=="Voiture"?this.transportTypeNotification=!0:this.transportTypeNotification=!1},countrySelect(e){this.citySelect=-1,this.errorCountry&&e!==-1&&(this.errorCountry=!1)},licenseSelect(e){this.errorLicense&&e!==-1&&(this.errorLicense=!1)},citySelect(e){this.transportSelect=-1,this.errorCity&&e!==-1&&(this.errorCity=!1)},lastName(e){this.errorLastName&&e&&(this.errorLastName=!1)},name(e){this.errorName&&e&&(this.errorName=!1)},phone(e){this.errorPhone&&e&&(this.errorPhone=!1)},policy(e){this.errorPolicy&&e&&(this.errorPolicy=!1)},email(e){this.errorMail&&e&&(this.errorMail=!1)},zipCode(e){this.errorZipCode&&e&&(this.errorZipCode=!1)}},methods:{initGoogleButton(){const e=we();google.accounts.id.initialize({client_id:e.public.googleClientId,callback:this.handleCredentialResponse,context:"use"}),google.accounts.id.renderButton(this.$refs.googleButton,{type:"standard",size:"large",text:"continue_with",shape:"pill",logo_alignment:"left",width:220})},decodeJwtResponse(e){const r=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),n=decodeURIComponent(atob(r).split("").map(function(s){return"%"+("00"+s.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(n)},handleCredentialResponse(e){this.googleInfos=this.decodeJwtResponse(e.credential),this.name=this.googleInfos.given_name,this.lastName=this.googleInfos.family_name,this.email=this.googleInfos.email},checkForm(e){if(e.preventDefault(),this.errorName=!1,this.errorLastName=!1,this.errorMail=!1,this.errorPhone=!1,this.errorCountry=!1,this.errorCity=!1,this.errorTransport=!1,this.errorLicense=!1,this.errorZipCode=!1,this.errorPolicy=!1,this.error=null,this.countrySelect===-1&&(this.errorCountry=!0,this.error="Some fields are empty or incorrect"),this.citySelect===-1&&(this.errorCity=!0,this.error="Some fields are empty or incorrect"),this.transportSelect===-1&&(this.errorTransport=!0,this.error="Some fields are empty or incorrect"),this.name||(this.errorName=!0,this.error="Some fields are empty or incorrect"),this.policy||(this.errorPolicy=!0,this.error="Some fields are empty or incorrect"),this.lastName||(this.errorLastName=!0,this.error="Some fields are empty or incorrect"),(!this.phone||!this.validPhone(this.phone))&&(this.errorPhone=!0,this.error="Some fields are empty or incorrect"),(!this.email||!this.validEmail(this.email))&&(this.errorMail=!0,this.error="Some fields are empty or incorrect"),this.licenseSelect===-1&&this.form.enableLicenseCheck&&this.showLicenseSelect&&(this.errorLicense=!0,this.error="Some fields are empty or incorrect"),!this.zipCode&&this.form.enableZipcode&&(this.errorZipCode=!0,this.error="Some fields are empty or incorrect"),this.error){const t={first_name:this.name,surname:this.lastName,transport_type:this.transportType};t[this.getCountryParamName]=this.form.formCountries[this.countrySelect].country.cities[this.citySelect].city.name,this.$sentry.captureException(new Error("Courier form not validated"),{tags:{type:"manual","origin.primary":"Courier form","origin.detail":"Form validation"},contexts:{fields:{...t}}})}else return this.createApplicant(),!0},async createApplicant(){if(this.sending=!0,window.dataLayer.push({event:"Submitted Courier Application Form"}
1),this.$isPiwikInjected()){const{consents:{analytics:s={},conversion_tracking:l={},remarketing:f={}}}=await this.$getComplianceSettings();s.status===1&&l.status===1&&f.status}const e=be.get("ipCity"),t=e?JSON.parse(e):{ip:"UNKNOWN",city:"UNKNOWN"},r=this.form.formCountries[this.countrySelect].country.cities[this.citySelect].city;this.email=this.email.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^\x00-\x7F]/g,""),this.name=this.name.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^\x00-\x7F]/g,""),this.lastName=this.lastName.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^\x00-\x7F]/g,"");const n={name:this.fullName,email:this.email,phone_number:this.phone,phone_platform:this.sms,funnel_id:this.funnelId,stage_id:this.stageId,api_token:"cafdd039-b10d-414e-a130-9be8b9bec58b",data:{first_name:this.name,surname:this.lastName,transport_type:this.transportType,detected_ip_address:t.ip,detected_city_based_ip:t.city,zone:r.zone,home_zipcode:this.zipCode,utm_source:this.utmSource,utm_term:this.utmTerm,utm_medium:this.utmMedium,utm_content:this.utmContent,utm_campaign:this.utmCampaign,gclid:this.gclid,referral_code:this.utmMedium==="referral"?this.utmCampaign:void 0}};n.data[this.getCountryParamName]=r.name,this.hasNoLicense&&(n.data.transport_type="bike",n.data.transport_license_confirmation="No transport license selected"),$fetch("/.netlify/functions/createFountainApplicant",{method:"POST",body:n}).then(s=>{this.sending=!1,this.success=s.message?this.form.alreadyAppliedText:this.form.successText,this.alreadyApplied=!!s.message,this.portalLink=s.portal_url,this.alreadyApplied||(window.location=this.portalLink)}).catch(s=>{this.sending=!1})},cancelCitySelect(){this.selectCityOpen=!1,this.citySearch="",this.$refs.selectSearchInput.blur()},selectCountry(e){this.citySelect=e,this.selectCityOpen=!1,this.citySearch=""},validEmail(e){return e?/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e):!1},validPhone(e){const t=this.currentPhoneRule;return t?t.re.test(e):/^(?:\+44\d{10}|\+33\d{9}|\+48\d{9})$/.test(e)}}},W=e=>(ke("data-v-fac622a5"),e=e(),xe(),e),je=["id"],Ze={class:"head"},Ke=["innerHTML"],Qe=W(()=>i("label",{for:"amex",style:{display:"none"}},"AMEX",-1)),Ge=W(()=>i("input",{id:"amex",type:"hidden",name:"amex",required:"",value:"amex"},null,-1)),Ye={class:"field double"},Xe=["placeholder"],qe=["placeholder"],Je={class:"field"},$e=["placeholder"],et={class:"field with-error-hint"},tt=["placeholder"],rt={class:"field field-radio field-sms-type"},st={key:0},ot={key:1},it={key:2},nt={value:"-1",disabled:"",selected:""},lt=["value"],at={class:"wrapper-label"},ct=["disabled"],ut={class:"label-text"},dt={class:"label-text-inner"},ft={class:"cities-wrapper"},mt={class:"cities"},ht=["onClick"],pt={key:0,class:"field"},yt=["placeholder"],_t={class:"field"},vt=["disabled"],gt={value:"-1",disabled:"",selected:""},bt=["value"],Ct={key:1,class:"field"},St={value:"-1",disabled:"",selected:""},Lt={value:"1"},Nt={value:"0"},wt={key:2},kt={class:"notification-msg"},xt={key:3,class:"field check"},It=["innerHTML"],Ot={key:4,class:"google-sign-in"},Tt={ref:"googleButton"},Pt={key:5,class:"error-text"},At={class:"btn-text"},Et=W(()=>i("span",{class:"loading"},null,-1)),Ft={key:0,class:"more-infos"},Mt=["innerHTML"],zt={class:"success-msg"},Bt=["innerHTML"],Ut=["href"],Dt={class:"btn-text"};function Wt(e,t,r,n,s,l){const f=Ie,a=Ce("on-click-outside");return u(),d("div",{id:r.noFormId?"":"courierForm",class:"courier-form"},[i("div",Ze,[i("h1",null,y(r.form.title),1),r.form.description?(u(),d("div",{key:0,innerHTML:r.form.description},null,8,Ke)):_("",!0)]),i("div",{class:g([{send:!!s.success},"body small-input"])},[i("form",{action:"",novalidate:"true",onSubmit:t[16]||(t[16]=(...o)=>l.checkForm&&l.checkForm(...o))},[Qe,Ge,i("div",Ye,[i("label",{class:g({error:s.errorName})},[v(i("input",{"onUpdate:modelValue":t[0]||(t[0]=o=>s.name=o),placeholder:r.form.firstNameLabel,type:"text"},null,8,Xe),[[L,s.name]])],2),i("label",{class:g({error:s.errorLastName})},[v(i("input",{"onUpdate:modelValue":t[1]||(t[1]=o=>s.lastName=o),placeholder:r.form.lastNameLabel,type:"text"},null,8,qe),[[L,s.lastName]])],2)]),i("div",Je,[i("label",{class:g({error:s.errorMail})},[v(i("input",{"onUpdate:modelValue":t[2]||(t[2]=o=>s.email=o),placeholder:r.form.emailLabel,type:"email"},null,8,$e),[[L,s.email]])],2)]),i("div",et,[i("label",{class:g({error:s.errorPhone})},[v(i("input",{"onUpdate:modelValue":t[3]||(t[3]=o=>s.phone=o),placeholder:r.form.phoneLabel,type:"tel"},null,8,tt),[[L,s.phone]])],2),s.errorPhone?(u(),d("p",{key:0,class:g(["error-text",{error:s.errorPhone}])}
1,y(l.phoneErrorMessage),3)):_("",!0)]),i("div",rt,[r.form.smsLabel?(u(),d("legend",st,y(r.form.smsLabel),1)):_("",!0),r.form.sms?(u(),d("label",ot,[v(i("input",{"onUpdate:modelValue":t[4]||(t[4]=o=>s.sms=o),name:"sms",value:"sms",type:"radio"},null,512),[[V,s.sms]]),k(" "+y(r.form.sms),1)])):_("",!0),r.form.whatsapp?(u(),d("label",it,[v(i("input",{"onUpdate:modelValue":t[5]||(t[5]=o=>s.sms=o),name:"whats_app",value:"whats_app",type:"radio"},null,512),[[V,s.sms]]),k(" "+y(r.form.whatsapp),1)])):_("",!0)]),i("div",{class:g(["field",{double:!r.form.showCities}])},[r.form.showCities?_("",!0):(u(),d("div",{key:0,class:g([{fade:s.countrySelect===-1,error:s.errorCountry},"select"])},[v(i("select",{"onUpdate:modelValue":t[6]||(t[6]=o=>s.countrySelect=o)},[i("option",nt,y(r.form.countryLabel),1),(u(!0),d(T,null,P(r.form.formCountries,(o,p)=>(u(),d("option",{key:o.country.name,value:p},y(o.country.name),9,lt))),128))],512),[[O,s.countrySelect]])],2)),v((u(),d("div",{class:g([{disabled:s.countrySelect===-1,fade:s.citySelect===-1,error:s.errorCity,open:s.selectCityOpen},"select select-search"]),onBlur:t[11]||(t[11]=(...o)=>l.cancelCitySelect&&l.cancelCitySelect(...o))},[i("label",at,[v(i("input",{ref:"selectSearchInput","onUpdate:modelValue":t[7]||(t[7]=o=>s.citySearch=o),type:"text",class:"label-search",disabled:s.countrySelect===-1,onInput:t[8]||(t[8]=o=>o.target.composing=!1),onFocus:t[9]||(t[9]=o=>s.selectCityOpen=!0),onKeydown:t[10]||(t[10]=Se((...o)=>l.cancelCitySelect&&l.cancelCitySelect(...o),["esc"]))},null,40,ct),[[L,s.citySearch]]),i("span",ut,[i("span",dt,y(l.cityLabelText),1)])]),i("div",ft,[i("div",mt,[(u(!0),d(T,null,P(l.filteredCitiesFromCountry,o=>(u(),d("button",{key:o.city.name,class:"city",type:"button",onClick:p=>l.selectCountry(o.id)},y(o.city.name),9,ht))),128))])])],34)),[[a,l.cancelCitySelect]])],2),r.form.enableZipcode?(u(),d("div",pt,[i("label",{class:g({error:s.errorZipCode})},[v(i("input",{"onUpdate:modelValue":t[12]||(t[12]=o=>s.zipCode=o),placeholder:r.form.zipcodeLabel,type:"text"},null,8,yt),[[L,s.zipCode]])],2)])):_("",!0),i("div",_t,[i("div",{class:g([{disabled:s.citySelect===-1,fade:s.transportSelect===-1,error:s.errorTransport},"select"])},[v(i("select",{"onUpdate:modelValue":t[13]||(t[13]=o=>s.transportSelect=o),disabled:s.citySelect===-1},[i("option",gt,y(r.form.transportTypeLabel),1),(u(!0),d(T,null,P(l.transportsFromCity,(o,p)=>(u(),d("option",{key:o.name,value:p},y(o.name),9,bt))),128))],8,vt),[[O,s.transportSelect]])],2)]),r.form.enableLicenseCheck?v((u(),d("div",Ct,[i("div",{class:g(["select",{error:s.errorLicense}])},[v(i("select",{"onUpdate:modelValue":t[14]||(t[14]=o=>s.licenseSelect=o)},[i("option",St,y(r.form.licenseLabel),1),i("option",Lt,y(r.form.licenseYesLabel),1),i("option",Nt,y(r.form.licenseNoLabel),1)],512),[[O,s.licenseSelect]])],2)],512)),[[A,l.showLicenseSelect]]):_("",!0),r.form.licenseInfoText?v((u(),d("div",wt,[i("p",kt,y(r.form.licenseInfoText),1)],512)),[[A,l.hasNoLicense]]):_("",!0),i("div",null,[r.form.notification?v((u(),d("p",{key:0,class:"notification-msg"},y(r.form.notification),513)),[[A,s.transportTypeNotification]]):_("",!0)]),r.form.policyText?(u(),d("div",xt,[i("label",{class:g({error:s.errorPolicy})},[v(i("input",{"onUpdate:modelValue":t[15]||(t[15]=o=>s.policy=o),type:"checkbox",name:"policy"},null,512),[[Le,s.policy]]),i("div",{innerHTML:r.form.policyText},null,8,It)],2)])):_("",!0),r.form.enableGoogleButton?(u(),d("div",Ot,[i("div",Tt,null,512)])):_("",!0),s.error?(u(),d("span",Pt,y(s.error),1)):_("",!0),i("button",{class:g([{sending:s.sending,"btn-sustainable":(e._.provides[Ne]||e.$route).fullPath=="/courier-sustainability"},"btn-submit btn btn-arrow big"]),type:"submit"},[i("span",At,[k(y(r.form.buttonLabel)+" ",1),H(f,{name:"arrow-right"})]),Et],2)],32),r.form.moreInfos?(u(),d("div",Ft,[r.form.moreInfos?(u(),d("div",{key:0,innerHTML:r.form.moreInfos},null,8,Mt)):_("",!0)])):_("",!0),i("div",zt,[i("span",{class:"align-center",innerHTML:s.success},null,8,Bt),s.alreadyApplied?_("",!0):(u(),d("a",{key:0,href:s.portalLink,target:"_blank",class:"btn btn-arrow big"},[i("span",Dt,[k("Continue "),H(f,{name:"arrow-right"})])],8,Ut))])],2)],8,je)}const Qt=ve(Re,[["render",Wt],["__scopeId","data-v-fac622a5"]]),Gt=`form { 2 multistep 3 stepLabel 4 of 5 backButtonLabel 6 continueButtonLabel 7 title 8 description 9 moreInfos 10 policyText 11 buttonLabel 12 successText 13 alreadyAppliedText 14 ubbleCompletedText 15 ubbleCompletedIcon { 16 url 17 } 18 firstNameLabel 19 lastNameLabel 20 emailLabel 21 phoneLabel 22 smsLabel 23 sms 24 whatsapp 25 countryLabel 26 cityLabel 27 zipcodeLabel 28 enableZipcode 29 transportTypeLabel 30 showCities 31 notification 32 enableLicenseCheck 33 licenseLabel 34 licenseYesLabel 35 licenseNoLabel 36 licenseInfoText 37 formCountries { 38 country { 39 name 40 countryParameterName 41 cities { 42 city { 43 name 44 zone 45 transportTypes { 46 name 47 value 48 funnelId 49 stageId 50 } 51 } 52 } 53 } 54 } 55 enableGoogleButton 56 fixedButtonText 57 phoneNumberError 58}`;export{Qt as _,Kt as a,Gt as c,jt as d,Zt as u,De as v};
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.