1import{A as o}from"./AeCitySelect.vue_vue_type_style_index_0_scoped_16d63ab8_lang-TDr_fr2R.js";import{n as l}from"./_plugin-vue2_normalizer-DftzqmJM.js";import{L as F}from"./Layout-Da2Kek7T.js";import{i as $}from"./i18n-BgLvubeq.js";import{P as k,C as S}from"./common-BU2IokTE.js";import{a as z,C as M,B}from"./community-bold-BQndpmHS.js";import{P as E,S as D,I as L}from"./shield-done-bold-DC3G3wsI.js";import{A as p}from"./AeButton-DB7a0D6u.js";import{E as P}from"./email-bold-DNwpA2B9.js";import{A,F as N,G as I}from"./apple-BdYVUGTr.js";import{A as g}from"./AeInput-nCaN6zT5.js";import{C as R}from"./clock-C__G1vQj.js";import{d as V}from"./debounce-D4JqnRuY.js";import{c as u}from"./createRequestConfig-C6l8KGhZ.js";import{d as h}from"./deburr-CK0a5HEA.js";import{A as j}from"./AePasswordInput-DsqJAi7R.js";import{C as q,S as T}from"./search-bold-D-kumo2w.js";import{U as O}from"./user-DoSXTXtZ.js";import{C as U}from"./check-circle-bold-CH7Kk3c0.js";import"./vue-vendor-BaCpWTON.js";import"./isObject-BKuwTLu1.js";const H=`<svg width="64" height="64" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> 2<path d="M19 7.1875L9.375 16.8125L5 12.4375" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"></path> 3</svg>`,G=`<svg width="64" height="64" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> 4<path d="M12.0659 21.001C8.74308 21.001 6.04199 18.3038 6.04199 14.9771C6.04199 11.6503 8.74308 8.95312 12.0659 8.95312C15.3888 8.95312 18.0899 11.6503 18.0899 14.9771C18.0899 18.3038 15.3888 21.001 12.0659 21.001Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path> 5<path d="M9.20752 9.66812L5.91484 3.84267C5.70467 3.47196 5.97322 3.01172 6.3994 3.01172H8.97497C9.17736 3.01172 9.36418 3.12167 9.46245 3.29876L12.6209 8.98993" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path> 6<path d="M12.2109 8.23969L14.6863 3.30747C14.7816 3.11871 14.9753 3 15.1864 3L17.6044 3.00778C18.0179 3.00876 18.2864 3.4437 18.1006 3.81441L15.1339 9.72938" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path> 7<path fill-rule="evenodd" clip-rule="evenodd" d="M12.3447 12.2751L12.9139 13.4116C12.9694 13.5235 13.0774 13.6013 13.2019 13.6179L14.4746 13.8018C14.6809 13.829 14.8259 14.0178 14.7986 14.2241C14.7879 14.3087 14.748 14.3866 14.6867 14.4459L13.7663 15.3304C13.6758 15.417 13.6349 15.5425 13.6563 15.6651L13.8743 16.9135C13.9074 17.1217 13.7653 17.3182 13.5571 17.3513C13.4753 17.365 13.3907 17.3513 13.3177 17.3124L12.1802 16.7228C12.0684 16.6654 11.936 16.6654 11.8241 16.7228L10.6857 17.3124C10.4999 17.4117 10.2683 17.3406 10.17 17.1538C10.1311 17.0799 10.1165 16.9962 10.1301 16.9144L10.3481 15.6651C10.3695 15.5425 10.3276 15.417 10.2381 15.3313L9.31666 14.4459C9.16682 14.3019 9.16195 14.0635 9.30693 13.9137C9.36531 13.8524 9.44413 13.8134 9.52878 13.8018L10.8015 13.6188C10.926 13.6013 11.0331 13.5245 11.0895 13.4116L11.6597 12.2751C11.758 12.0863 11.9905 12.0114 12.1793 12.1097C12.2503 12.1467 12.3077 12.2041 12.3447 12.2751Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path> 8</svg>`,Z=`<svg id="Car" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> 9 <path fill-rule="evenodd" clip-rule="evenodd" d="M17.81 17.6977C17.16 17.6977 16.62 17.1677 16.62 16.5177C16.62 15.8677 17.16 15.3377 17.81 15.3377C18.46 15.3377 18.99 15.8677 18.99 16.5177C18.99 17.1677 18.46 17.6977 17.81 17.6977ZM6.75 17.6977C6.09 17.6977 5.56 17.1677 5.56 16.5177C5.56 15.8677 6.09 15.3377 6.75 15.3377C7.4 15.3377 7.93 15.8677 7.93 16.5177C7.93 17.1677 7.4 17.6977 6.75 17.6977ZM6.493 6.86773C6.545 6.70573 6.65 6.56073 6.789 6.45873C6.927 6.35873 7.097 6.30273 7.267 6.30273H10.007C10.1175 6.30273 10.207 6.39228 10.207 6.50273V9.51773C10.207 9.62819 10.1175 9.71773 10.007 9.71773H5.93138C5.79813 9.71773 5.70214 9.58989 5.73932 9.46194L6.493 6.86773ZM14.554 6.30273C14.647 6.31273 14.722 6.32373 14.792 6.36473C14.866 6.40773 14.925 6.47073 14.967 6.54973L16.5204 9.42261C16.5925 9.55586 16.496 9.71773 16.3445 9.71773H11.907C11.7965 9.71773 11.707 9.62819 11.707 9.51773V6.50273C11.707 6.39228 11.7965 6.30273 11.907 6.30273H14.554ZM10.65 12.7377C10.65 12.3277 10.99 11.9877 11.4 11.9877H12.5C12.91 11.9877 13.25 12.3277 13.25 12.7377C13.25 13.1577 12.91 13.4877 12.5 13.4877H11.4C10.99 13.4877 10.65 13.1577 10.65 12.7377ZM22.14 10.5777C21.6 10.0377 20.85 9.71773 20.08 9.71773H18.385L16.29 5.84173C16.122 5.52473 15.869 5.25973 15.555 5.07273C15.244 4.88973 14.884 4.80573 14.541 4.80273H7.267C6.781 4.80273 6.296 4.96073 5.903 5.24773C5.505 5.53973 5.215 5.94073 5.059 6.42873L4.096 9.73873C3.448 9.80873 2.829 10.1087 2.36 10.5777C1.81 11.1177 1.5 11.8777 1.5 12.6377V14.3477C1.5 15.1277 1.8 15.8577 2.36 16.4177C2.84 16.8977 3.48 17.1977 4.16 17.2577C4.49 18.3777 5.53 19.1977 6.75 19.1977C7.96 19.1977 9 18.3777 9.32 17.2677H15.23C15.55 18.3777 16.59 19.1977 17.81 19.1977C19.03 19.1977 20.07 18.3777 20.39 17.2577C21.05 17.1777 21.67 16.8877 22.15 16.4077C22.7 15.8577 23 15.1277 23 14.3477V12.6377C23 11.8777 22.69 11.1177 22.14 10.5777Z" fill="currentColor"></path> 10</svg>`,_=`<svg id="Location" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> 11 <path fill-rule="evenodd" clip-rule="evenodd" d="M12.25 13.495C10.741 13.495 9.51302 12.268 9.51302 10.759C9.51302 9.25 10.741 8.022 12.25 8.022C13.7
1159 8.022 14.986 9.25 14.986 10.759C14.986 12.268 13.759 13.495 12.25 13.495ZM17.864 4.652C16.333 3.073 14.339 2.203 12.25 2.203C10.159 2.203 8.16502 3.073 6.63302 4.653C5.07802 6.257 4.22402 8.412 4.29102 10.566C4.48002 16.67 11.67 21.423 11.977 21.622L12.246 21.797L12.518 21.625C12.824 21.431 20.019 16.793 20.209 10.565C20.275 8.412 19.42 6.256 17.864 4.652Z" fill="currentColor"></path> 12</svg>`,K=`<svg width="64" height="64" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> 13<path fill-rule="evenodd" clip-rule="evenodd" d="M10.0531 4.88672C9.5131 4.88672 9.01704 5.17974 8.75577 5.65247C8.61941 5.89892 8.47267 6.15601 8.33439 6.3802C8.20464 6.59056 8.0545 6.81833 7.91229 6.97498L7.89976 6.98846C7.42544 7.48587 6.77718 7.7779 6.09163 7.80505C6.08174 7.80544 6.07184 7.80564 6.06195 7.80564C4.78578 7.80564 3.75168 8.83829 3.75 10.1142V15.756C3.75 17.61 5.25239 19.1129 7.10595 19.1129H16.8941C18.7468 19.1129 20.25 17.6099 20.25 15.756V10.1117C20.25 8.83493 19.2149 7.7998 17.9381 7.7998C17.9291 7.7998 17.9202 7.79964 17.9113 7.79932C17.2233 7.7748 16.5733 7.48074 16.1002 6.98453L16.0884 6.97191C15.946 6.81547 15.8001 6.5915 15.6755 6.38592C15.5427 6.16664 15.4031 5.91561 15.2733 5.67244C15.0137 5.18803 14.5119 4.88672 13.9654 4.88672H10.0531ZM7.44311 4.92658C7.96806 3.97702 8.96638 3.38672 10.0531 3.38672H13.9654C15.0689 3.38672 16.077 3.99591 16.5959 4.96484C16.719 5.1954 16.8449 5.42133 16.9584 5.60865C17.0752 5.80142 17.1551 5.91339 17.1929 5.95681C17.3938 6.16377 17.6665 6.28678 17.9538 6.29983C20.0518 6.30832 21.75 8.01176 21.75 10.1117V15.756C21.75 18.4381 19.5754 20.6129 16.8941 20.6129H7.10595C4.4235 20.6129 2.25 18.4379 2.25 15.756V10.1137C2.25242 8.01547 3.9487 6.31508 6.04447 6.30568C6.33352 6.29116 6.60549 6.1682 6.80679 5.96099C6.84863 5.91291 6.93396 5.79336 7.05772 5.59273C7.17825 5.39732 7.31191 5.1637 7.44311 4.92658Z" fill="currentColor"></path> 14<path fill-rule="evenodd" clip-rule="evenodd" d="M8.1582 13.1056C8.1582 10.984 9.87838 9.26257 12.0013 9.26257C14.1242 9.26257 15.8444 10.984 15.8444 13.1056C15.8444 15.2284 14.124 16.9487 12.0013 16.9487C9.87853 16.9487 8.1582 15.2284 8.1582 13.1056ZM12.0013 10.7626C10.7071 10.7626 9.6582 11.8121 9.6582 13.1056C9.6582 14.4 10.707 15.4487 12.0013 15.4487C13.2956 15.4487 14.3444 14.4 14.3444 13.1056C14.3444 11.8121 13.2955 10.7626 12.0013 10.7626Z" fill="currentColor"></path> 15</svg>`,Y={name:"AeAutocomplete",components:{AeInput:g},props:{value:{type:String,default:""},items:{type:Array,default:()=>[]},label:{type:String,default:""},placeholder:{type:String,default:""},error:{type:[String,Boolean],default:!1},required:{type:Boolean,default:!1},name:{type:String,default:""},debounce:{type:Number,default:300},loading:{type:Boolean,default:!1},noResultsText:{type:String,default:""},autocomplete:{type:String,default:"on"},valid:{type:Boolean,default:!0}},data(){return{open:!1}},computed:{showNoResults(){return!!this.noResultsText&&!this.loading&&!this.items.length&&!!(this.value||"").trim()}},created(){this.emitSearchDebounced=V(s=>this.$emit("search",s),this.debounce)},methods:{isTopSuggestion(s,t){return t===0&&!s.group&&!!(this.value||"").trim()},onInput(s){this.$emit("input",s),this.open=!0,this.emitSearchDebounced(s)},onFocus(){this.open=!0,this.$emit("focus")},onBlur(){setTimeout(()=>{this.valid&&(this.open=!1)},120),this.$emit("blur")},select(s){this.open=!1,this.$emit("select",s)}}};var W=function(){var t=this,e=t._self._c;return e("div",{staticClass:"ae-autocomplete"},[e("ae-input",{attrs:{value:t.value,float:!1,label:t.label,placeholder:t.placeholder,error:t.error,required:t.required,name:t.name,autocomplete:t.autocomplete},on:{input:t.onInput,focus:t.onFocus,blur:t.onBlur},scopedSlots:t._u([t.$scopedSlots.icon?{key:"icon",fn:function(){return[t._t("icon")]},proxy:!0}:null],null,!0)}),t.open&&(t.items.length||t.loading||t.showNoResults)?e("ul",{staticClass:"ae-autocomplete__list"},[t.loading&&!t.items.length?e("li",{staticClass:"ae-autocomplete__loading",attrs:{"aria-hidden":"true"}},[e("span",{staticClass:"ae-autocomplete__spinner"})]):t.showNoResults?e("li",{staticClass:"ae-autocomplete__empty"},[t._v(t._s(t.noResultsText))]):t._e(),t._l(t.items,function(i,n){return[e("li",{key:i.id},[i.group&&n>0&&t.items[n-1].group!==i.group?e("div",{staticClass:"ae-autocomplete__divider",attrs:{role:"separator"}}):t._e(),e("div",{staticClass:"ae-autocomplete__item",class:{"ae-autocomplete__item--top":t.isTopSuggestion(i,n)},on:{mousedown:function(r){return r.preventDefault(),t.select(i)}}},[t.$scopedSlots["item-icon"]?e("span",{staticClass:"ae-autocomplete__item-icon"},[t._t("item-icon",null,{item:i})],2):t._e(),t.isTopSuggestion(i,n)?e("span",{staticClass:"ae-autocomplete__item-text"},[e("strong",[t._v(t._s(i.label))]),i.sublabel?e("small",[t._v(t._s(i.sublabel))]):t._e()]):e("span",{staticClass:"ae-autocomplete__item-text ae-autocomplete__item-text--compact"},[e("strong",[t._v(t._s(i.label))]),i.sublabel?[t._v(" · "),e("span",{staticClass:"ae-autocomplete__item-sub"},[t._v(t._s(i.sublabel))])]:t._e()],2)])]),t.loading&&n===0?e("li",{key:`${i.id}-loading`,staticClass:"ae-autocomplete__loading",attrs:{"aria-hidden":"true"}},[e("span",{staticClass:"ae-autocomplete__spinner"})]):t._e()]})],2):t._e()],1)},J=[],Q=l(Y,W,J,!1,null,"05f50b80");const X=Q.exports,tt={name:"AeStepper",components:{AeIcon:o},props:{steps:{type:[Number,Array],default:4},current:{type:Number,default:1}},data(){return{Check:Object.freeze(H)}},computed:{normalizedSteps(){return Array.isArray(this.steps)?this.steps.map(s=>typeof s=="string"?{label:s}:s):Array.from({length:this.steps},()=>({label:""}))}},methods:{stepState(s){const t=s+1;return t<this.current?"done":t===this.current?"active":"todo"},bulletClass(s){const t=this.stepState(s);return t==="done"?"bg-primary border-primary text-white":t==="active"?"bg-primary border-primary text-white ring-4 ring-primary-100":"bg-gray-100 border-gray-200 text-gray-500"},lineClass(s,t){const e=this.stepState(s);return e==="done"||e==="active"?"bg-primary":e==="todo"&&t==="left"&&s===this.current?"ae-stepper__line--ongoing":"bg-gray-200"}}};var et=function(){var t=this,e=t._self._c;return e("div",{staticClass:"ae-stepper flex items-start w-full"},t._l(t.normalizedSteps,function(i,n){return e("div",{key:n,staticClass:"flex-1 min-w-0 flex flex-col items-center"},[e("div",{staticClass:"flex items-center w-full"},[e("span",{staticClass:"h-0.5 flex-1",class:[n===0?"invisible":t.lineClass(n,"left")]}),e("span",{staticClass:"ae-stepper__bullet",class:t.bulletClass(n)},[t.stepState(n)==="done"?e("ae-icon",{attrs:{icon:t.Check,size:20}}
15):e("span",[t._v(t._s(n+1))])],1),e("span",{staticClass:"h-0.5 flex-1",class:[n===t.normalizedSteps.length-1?"invisible":t.lineClass(n,"right")]})]),i.label?e("span",{staticClass:"mt-1.5 text-xs text-gray-500 text-center leading-none"},[t._v(" "+t._s(i.label)+" ")]):t._e()])}),0)},st=[],it=l(tt,et,st,!1,null,"66ee5419");const nt=it.exports,rt={name:"AePhoneNumberInput",components:{AeIcon:o},props:{value:{type:String,default:""},countryId:{type:Number,default:1},countries:{type:Array,required:!0},label:{type:String,default:""},error:{type:[String,Boolean],default:!1},required:{type:Boolean,default:!1}},data(){return{open:!1,ChevronDownOutline:Object.freeze(q)}},computed:{selected(){return this.countries.find(s=>s.id===this.countryId)||this.countries[0]},numberPlaceholder(){const s=this.selected;return s.groups?s.groups.map(t=>"0".repeat(t)).join(s.sep):""},showDefaultTrunkZero(){return!!this.selected.trunkZero&&!this.value},hasError(){return!!this.error},errorMessage(){return typeof this.error=="string"?this.error:""}},mounted(){document.addEventListener("click",this.onDocClick)},beforeDestroy(){document.removeEventListener("click",this.onDocClick)},methods:{format(s,t){let e=String(s).replace(/\D/g,"");t.trunkZero&&(e=e.replace(/^0+/,"")),e=e.slice(0,t.max);const i=t.trunkZero&&e?"0":"";if(!t.groups)return i+e;const n=[];let r=0;for(const a of t.groups){if(r>=e.length)break;n.push(e.slice(r,r+a)),r+=a}return i+n.join(t.sep)},onInput(s){const t=this.format(s.target.value,this.selected);s.target.value!==t&&(s.target.value=t),this.$emit("input",t)},blockNonDigit(s){s.key&&s.key.length===1&&!/\d/.test(s.key)&&s.preventDefault()},select(s){this.open=!1,s.id!==this.countryId&&(this.$emit("update:countryId",s.id),this.$emit("input",this.format(this.value,s))),this.$nextTick(()=>this.$refs.input&&this.$refs.input.focus())},onDocClick(s){this.open&&!this.$el.contains(s.target)&&(this.open=!1)}}};var lt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"phone-field"},[t.label?e("label",{staticClass:"ae-label",class:{"ae-label--required":t.required}},[t._v(t._s(t.label))]):t._e(),e("div",{staticClass:"phone-field__control",class:{"phone-field__control--error":t.hasError}},[e("button",{staticClass:"phone-field__country",attrs:{type:"button"},on:{click:function(i){i.stopPropagation(),t.open=!t.open}}},[e("ae-icon",{staticClass:"phone-field__flag",attrs:{icon:t.selected.flag,size:18}}),e("span",{staticClass:"phone-field__dial"},[t._v("+"+t._s(t.selected.dial))]),e("ae-icon",{staticClass:"text-zinc-400",attrs:{icon:t.ChevronDownOutline,size:14}})],1),t.showDefaultTrunkZero?e("span",{staticClass:"phone-field__trunk-zero",attrs:{"aria-hidden":"true"},on:{click:function(i){t.$refs.input&&t.$refs.input.focus()}}},[t._v(" 0 ")]):t._e(),e("input",{ref:"input",staticClass:"phone-field__input",class:{"phone-field__input--trunk-zero":t.showDefaultTrunkZero},attrs:{type:"tel",inputmode:"numeric",placeholder:t.numberPlaceholder},domProps:{value:t.value},on:{input:t.onInput,keypress:t.blockNonDigit}}),t.open?e("ul",{staticClass:"phone-field__menu"},t._l(t.countries,function(i){return e("li",{key:i.id,staticClass:"phone-field__option",class:{"phone-field__option--active":i.id===t.countryId},on:{mousedown:function(n){return n.preventDefault(),t.select(i)}}},[e("ae-icon",{staticClass:"phone-field__flag",attrs:{icon:i.flag,size:18}}),e("span",{staticClass:"flex-1 truncate"},[t._v(t._s(i.name))]),e("span",{staticClass:"text-gray-500"},[t._v(t._s(i.dial?`+${i.dial}`:"+"))])],1)}),0):t._e()]),t.errorMessage?e("p",{staticClass:"ae-field-hint ae-field-hint--error"},[t._v(t._s(t.errorMessage))]):t._e()])},at=[],ot=l(rt,lt,at,!1,null,"fba40b44");const ct=ot.exports;function ut(s,t=""){try{return localStorage.getItem(s)??t}catch{return t}}function v(s,t){try{localStorage.setItem(s,t)}catch{}}const m="city-select:last-picked",pt={name:"AeCitySelect",components:{AeAutocomplete:X,AeIcon:o},props:{label:{type:String,default:""},placeholder:{type:String,default:""},error:{type:[String,Boolean],default:!1},required:{type:Boolean,default:!1},recentLabel:{type:String,default:""},noResultsLabel:{type:String,default:""},preloadedPlaces:{type:Array,default:()=>[]}},data(){return{LocationBold:Object.freeze(_),Clock:Object.freeze(R),query:"",fetched:[],searching:!1,lastPicked:ut(m),picked:!1}},computed:{isConfirmed(){return!this.query||this.picked}
15,fullList(){return this.preloadedPlaces.concat(this.fetched)},places(){const s=this.fullList.filter(n=>n&&typeof n.cityName<"u"&&n.displayName),t=(this.query||"").trim(),e=t?s.filter(n=>this.matchesQuery(n.displayName,t)):s,i=new Set;return e.filter(n=>i.has(n.displayName)?!1:(i.add(n.displayName),!0)).slice(0,8)},items(){const s=this.places.filter(t=>t.displayName!==this.lastPicked).map(t=>({id:t.displayName,label:this.cityPart(t.displayName),sublabel:this.regionPart(t.displayName),displayName:t.displayName}));return!this.query.trim()&&this.lastPicked&&this.recentLabel&&s.push({id:`recent:${this.lastPicked}`,label:this.lastPicked,sublabel:this.recentLabel,displayName:this.lastPicked,group:"recent"}),s}},methods:{matchesQuery(s,t){const e=[/^st-/,/^ste-/],i=["saint-","sainte-"];let n=h(t).toLowerCase(),r=h(s).toLowerCase();return e.forEach((a,d)=>{n=n.replace(a,i[d]),r=r.replace(a,i[d])}),r.startsWith(n)},onInput(s){this.query=s,this.picked=!1,this.$emit("pick",""),this.searching=s.length>=2&&this.places.length<3},onSearch(s){s&&s.length>=2&&this.places.length<3&&this.fetchPlaces(s)},onSelect(s){this.query=s.displayName,this.picked=!0,this.lastPicked=s.displayName,v(m,s.displayName),this.$emit("pick",s.displayName)},onBlur(){const s=h((this.query||"").toLowerCase()).trim();if(!s)return;const t=this.fullList.find(e=>e&&typeof e.cityName<"u"&&e.displayName&&h(e.displayName.toLowerCase())===s);t&&(this.query=t.displayName,this.picked=!0,this.lastPicked=t.displayName,v(m,t.displayName),this.$emit("pick",t.displayName))},cityPart(s){return String(s).split(", ")[0]},regionPart(s){return String(s).split(", ").slice(1).join(", ")},fetchPlaces(s){const t=document.documentElement.lang,e=`${route("api.search-places")}?locale=${t}&maxResults=20&cityOnly=1&q=${encodeURIComponent(s)}`;axios.request(u(e)).then(i=>{this.fetched=(i.data.data||[]).map(n=>{const r={displayName:n.displayName};return r[`${n.type.toLowerCase()}Name`]=n.name,r[`${n.type.toLowerCase()}Id`]=n.id,r})}).catch(()=>{}).finally(()=>{this.searching=!1})}}};var dt=function(){var t=this,e=t._self._c;return e("ae-autocomplete",{staticClass:"city-select",attrs:{value:t.query,items:t.items,label:t.label,placeholder:t.placeholder,error:t.error,required:t.required,loading:t.searching,valid:t.isConfirmed,"no-results-text":t.noResultsLabel,name:"city",autocomplete:"address-level2"},on:{input:t.onInput,search:t.onSearch,select:t.onSelect,blur:t.onBlur},scopedSlots:t._u([{key:"icon",fn:function(){return[e("ae-icon",{staticClass:"city-select__field-icon",attrs:{icon:t.LocationBold,size:20}})]},proxy:!0},{key:"item-icon",fn:function({item:i}){return[e("ae-icon",{attrs:{icon:i.group==="recent"?t.Clock:t.LocationBold,size:16}})]}}])})},ht=[],mt=l(pt,dt,ht,!1,null,"16d63ab8");const ft=mt.exports;function c(s,t=""){var r,a,d;const e=(r=s==null?void 0:s.response)==null?void 0:r.data,i=e==null?void 0:e.content;if(i&&typeof i=="object"){const y=Object.values(i).filter(w=>typeof w=="string");if(y.length)return y.join(` 16`)}const n=(d=(a=e==null?void 0:e.errors)==null?void 0:a[0])==null?void 0:d.detail;return typeof n=="string"&&n?n:t}const gt={fr:{"signup.back":"Retour","signup.optional":"facultatif","signup.continue":"Continuer","signup.verify":"Vérifier","signup.later":"Plus tard","signup.hero badge":"Plus de 30 000 trajets partagés chaque mois","signup.hero title line1":"Voyagez ensemble,","signup.hero title line2":"en toute confiance.","signup.hero subtitle":"Trouvez un trajet en quelques minutes et rejoignez une communauté de voyageurs vérifiés. Jusqu'à 6 mois d'essai gratuit à l'inscription.","signup.feature1 title":"Des départs partout, à toute heure","signup.feature1 text":"Trouvez un trajet quand vous en avez besoin.","signup.feature2 title":"Une communauté vérifiée","signup.feature2 text":"Chaque membre passe un contrôle d'identité.","signup.feature3 title":"Partagez les frais","signup.feature3 text":"Divisez carburant et péage tout en réduisant votre empreinte carbone.","signup.choice title":"Créer un compte","signup.choice subtitle":"Rejoignez AmigoExpress gratuitement !","signup.continue google":"Continuer avec Google","signup.continue facebook":"Continuer avec Facebook","signup.continue apple":"Continuer avec Apple","signup.coming soon":"Bientôt disponible","signup.or":"ou","signup.signup with email":"S'inscrire avec un courriel","signup.already account":"Déjà un compte ?","signup.login link":"Se connecter","signup.legal prefix":"En continuant, vous acceptez les","signup.legal suffix":"d'AmigoExpress.","signup.terms":"Conditions d'utilisation","signup.account title":"Créer votre compte","signup.account subtitle":"Gratuit · moins de 2 minutes · 6 mois d'essai offerts","signup.firstname":"Prénom","signup.firstname placeholder":"Votre prénom","signup.lastname":"Nom","signup.lastname placeholder":"Votre nom","signup.email":"Adresse courriel","signup.email placeholder":"Votre courriel","signup.city":"Ville","signup.city placeholder":"Votre ville","signup.city recent":"Récemment recherché","signup.city no results":"Aucune ville trouvée","signup.field required":"Ce champ est requis","signup.password":"Mot de passe","signup.password placeholder":"Votre mot de passe","signup.password confirm":"Confirmer le mot de passe","signup.password title":"Créez votre mot de passe","signup.password subtitle":"Choisissez un mot de passe sécuritaire pour protéger votre compte","signup.account legal prefix":"En cliquant sur « Créer mon compte », vous acceptez les","signup.account submit":"Créer mon compte","signup.email title":"Validation du courriel","signup.email subtitle":"Afin de valider votre identité, un code a été envoyé à ","signup.email code label":"Entrez le code ici","signup.email not received":"Pas reçu de code ?","signup.email resend":"Envoyer à nouveau","signup.email resend in":"Renvoyer dans","signup.email edit":"Modifier mon courriel","signup.email send error":"Impossible d'envoyer le code. Réessayez.","signup.email wrong code":"Code invalide ou expiré.","signup.email edit hint":"Pour modifier votre courriel, contactez le support.","signup.profile title":"Complétez votre profil","signup.profile subtitle":"Un profil complet inspire confiance et attire plus d'usager
16s","signup.profile info":"Vérifiez votre numéro à la prochaine étape et votre essai gratuit de 6 mois s'active immédiatement.","signup.phone":"Numéro de téléphone","signup.phone required":"Veuillez entrer un numéro de téléphone.","signup.country can":"Canada","signup.country usa":"Ãtats-Unis","signup.country mex":"Mexique","signup.country fra":"France","signup.country uk":"Royaume-Uni","signup.country ger":"Allemagne","signup.country other":"Autre","signup.phone save error":"Impossible d'enregistrer le numéro.","signup.birthdate save error":"Impossible d'enregistrer la date de naissance.","signup.avatar save error":"Impossible d'enregistrer votre photo. Vous pourrez réessayer plus tard.","signup.birthdate":"Date de naissance","signup.birthdate hint":"Il faut être âgé d'au moins 14 ans pour utiliser le service.","signup.birthdate required":"Veuillez entrer votre date de naissance.","signup.explore first":"Explorer d'abord","signup.phone title":"Activez vos 6 mois gratuits","signup.phone subtitle":"Il ne reste qu'une chose : confirmer votre numéro. Vous débloquerez aussi l'accès complet à AmigoExpress.","signup.phone send sms":"Recevoir un code par texto","signup.phone will send to":"Nous enverrons un texto au","signup.phone change number":"Changer le numéro","signup.phone code label":"Entrez le code reçu par texto","signup.phone resend":"Recevoir un nouveau code","signup.phone send error":"Impossible d'envoyer le texto. Réessayez.","signup.phone wrong code":"Code invalide ou expiré.","signup.success title":"Profil complété","signup.success subtitle":"Merci d'avoir complété votre profil et de faire partie de l'aventure AmigoExpress. Nous avons ajouté ces récompenses à votre compte.","signup.success rewards head":"Pour vous","signup.success driver tag":"Conducteur","signup.success driver title":"6 mois d'abonnement gratuit (ou 3 départs)","signup.success driver text":"Profitez de 6 mois d'abonnement pour annoncer des départs et essayer le service. (Limite de 3 départs gratuits.)","signup.success pax tag":"Passager","signup.success pax title":"6 mois d'abonnement gratuit","signup.success pax text":"Profitez de 6 mois d'abonnement pour réserver des départs et essayer AmigoExpress. (L'achat de crédit reste nécessaire pour réserver.)"},en:{"signup.back":"Back","signup.optional":"optional","signup.continue":"Continue","signup.verify":"Verify","signup.later":"Later","signup.hero badge":"Over 30,000 rides shared every month","signup.hero title line1":"Travel together,","signup.hero title line2":"with confidence.","signup.hero subtitle":"Find a ride in minutes and join a community of verified travellers. Up to 6 months free trial when you sign up.","signup.feature1 title":"Departures everywhere, anytime","signup.feature1 text":"Find a ride whenever you need one.","signup.feature2 title":"A verified community","signup.feature2 text":"Every member goes through an identity check.","signup.feature3 title":"Share the costs","signup.feature3 text":"Split fuel and toll costs while reducing your carbon footprint.","signup.choice title":"Create an account","signup.choice subtitle":"Join Kangaride for free!","signup.continue google":"Continue with Google","signup.continue facebook":"Continue with Facebook","signup.continue apple":"Continue with Apple","signup.coming soon":"Coming soon","signup.or":"or","signup.signup with email":"Sign up with email","signup.already account":"Already have an account?","signup.login link":"Log in","signup.legal prefix":"By continuing, you accept the","signup.legal suffix":"of Kangaride.","signup.terms":"Terms of use","signup.account title":"Create your account","signup.account subtitle":"Free · under 2 minutes · 6 months trial included","signup.firstname":"First name","signup.firstname placeholder":"Your first name","signup.lastname":"Last name","signup.lastname placeholder":"Your last name","signup.email":"Email address","signup.email placeholder":"Your email","signup.city":"City","signup.city placeholder":"Your city","signup.city recent":"Recently searched","signup.city no results":"No matching city found","signup.field required":"This field is required","signup.password":"Password","signup.password placeholder":"Your password","signup.password confirm":"Confirm password","signup.password title":"Create your password","signup.password subtitle":"Choose a secure password to protect your account","signup.account legal prefix":"By clicking âCreate my accountâ, you accept the","signup.account submit":"Create my account","signup.email title":"Email verification","signup.email subtitle":"To verify your identity, a code was sent to","signup.email code label":"Enter the code here","signup.email not received":"Didn't get a code?","signup.email resend":"Resend","signup.email resend in":"Resend in","signup.email edit":"Change my email","signup.email send error":"Couldn't send the code. Please try again.","signup.email wrong code":"Invalid or expired code.","signup.email edit hint":"To change your email, please contact support.","signup.profile title":"Complete your profile","signup.profile subtitle":"A complete profile builds trust and attracts more users","signup.profile info":"Verify your number in the next step and your 6-month free trial activates immediately.","signup.phone":"Phone number","signup.phone required":"Please enter a phone number.","signup.country can":"Canada","signup.country usa":"United States","signup.country mex":"Mexico","signup.country fra":"France","signup.country uk":"United Kingdom","signup.country ger":"Germany","signup.country other":"Other","signup.phone save error":"Couldn't save the number.","signup.birthdate save error":"Couldn't save the birth date.","signup.avatar save error":"Couldn't save your photo. You'll be able to try again later.","signup.birthdate":"Date of birth","signup.birthdate hint":"You must be at least 14 years old to use the service.","signup.birthdate required":"Please enter your date of birth.","signup.explore first":"Explore first","signup.phone title":"Activate your 6 free months","signup.phone subtitle":"Just one thing left: confirm your number. Youâll also unlock full access to Kangaride.","signup.phone send sms":"Receive a code by text","signup.phone will send to":"Weâll send a text to","signup.phone change number":"Change number","signup.phone code label":"Enter the code received by text","signup.phone resend":"Send a new code","signup.phone send error":"Couldn't send the text. Please try again.","signup.phone wrong code":"Invalid or expired code.","signup.success title":"Profile completed","signup.success subtitle":"Thank y
16ou for completing your profile and being part of the Kangaride adventure. Weâve added these rewards to your account.","signup.success rewards head":"For you","signup.success driver tag":"Driver","signup.success driver title":"6 months free subscription (or 3 departures)","signup.success driver text":"Enjoy 6 months of subscription to post departures and try the service. (Limit of 3 free departures.)","signup.success pax tag":"Passenger","signup.success pax title":"6 months free subscription","signup.success pax text":"Enjoy 6 months of subscription to book departures and try Kangaride. (Buying credits is still required to book.)"}},yt={name:"SignupHero",components:{AeIcon:o},data(){return{CommunityBold:Object.freeze(z),LocationBold:Object.freeze(_),ShieldDoneBold:Object.freeze(D),PiggyBold:Object.freeze(E)}},computed:{features(){return[{wrap:"bg-primary-100",icon:this.LocationBold,iconClass:"text-primary",title:this.$t("signup.feature1 title"),text:this.$t("signup.feature1 text")},{wrap:"bg-success-100",icon:this.ShieldDoneBold,iconClass:"text-success",title:this.$t("signup.feature2 title"),text:this.$t("signup.feature2 text")},{wrap:"bg-purple-100",icon:this.PiggyBold,iconClass:"text-purple-500",title:this.$t("signup.feature3 title"),text:this.$t("signup.feature3 text")}]}}};var vt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"max-w-lg mx-auto md:mx-0"},[e("span",{staticClass:"inline-flex items-center gap-1.5 bg-primary-50 text-primary text-xs font-semibold px-3 py-1.5 rounded-full mb-6"},[e("ae-icon",{attrs:{icon:t.CommunityBold,size:16}}),t._v(" "+t._s(t.$t("signup.hero badge"))+" ")],1),e("h1",{staticClass:"text-4xl lg:text-5xl leading-tight font-extrabold text-gray-900 mb-4"},[t._v(" "+t._s(t.$t("signup.hero title line1"))),e("br"),e("span",{staticClass:"text-primary"},[t._v(t._s(t.$t("signup.hero title line2")))])]),e("div",{staticClass:"hidden md:block text-base text-gray-600 leading-relaxed mb-8"},[t._v(t._s(t.$t("signup.hero subtitle")))]),e("ul",{staticClass:"hidden md:flex flex-col gap-4"},t._l(t.features,function(i,n){return e("li",{key:n,staticClass:"flex items-start gap-3"},[e("span",{staticClass:"flex-none w-10 h-10 rounded-md flex items-center justify-center mt-0.5",class:i.wrap},[e("ae-icon",{class:i.iconClass,attrs:{icon:i.icon,size:22}})],1),e("span",[e("strong",{staticClass:"block text-base font-bold text-gray-900"},[t._v(t._s(i.title))]),e("span",{staticClass:"block text-sm text-gray-600 leading-snug"},[t._v(t._s(i.text))])])])}),0)])},_t=[],Ct=l(yt,vt,_t,!1,null,null);const bt=Ct.exports,xt={name:"SignupChoice",components:{AeButton:p,AeIcon:o},props:{loginUrl:{type:String,default:"#"},termsUrl:{type:String,default:"#"},googleUrl:{type:String,default:"#"},facebookUrl:{type:String,default:"#"}},data(){return{EmailBold:Object.freeze(P),Google:Object.freeze(I),Facebook:Object.freeze(N),Apple:Object.freeze(A)}}};var wt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"w-full max-w-sm mx-auto bg-white rounded-2xl shadow-xl p-8"},[e("h2",{staticClass:"text-xl font-bold text-gray-900 text-center mb-1"},[t._v(t._s(t.$t("signup.choice title")))]),e("p",{staticClass:"text-sm text-gray-600 text-center mb-6"},[t._v(t._s(t.$t("signup.choice subtitle")))]),e("ae-button",{staticClass:"w-full mb-2.5",attrs:{outline:"",gray:"",href:t.googleUrl}},[e("ae-icon",{attrs:{icon:t.Google,size:20}}),t._v(" "+t._s(t.$t("signup.continue google"))+" ")],1),e("ae-button",{staticClass:"w-full mb-2.5",attrs:{outline:"",gray:"",href:t.facebookUrl}},[e("ae-icon",{attrs:{icon:t.Facebook,size:20}}),t._v(" "+t._s(t.$t("signup.continue facebook"))+" ")],1),e("ae-button",{staticClass:"w-full mb-2.5 opacity-50 cursor-not-allowed hidden",attrs:{outline:"",gray:"",disabled:"",title:t.$t("signup.coming soon")}},[e("ae-icon",{attrs:{icon:t.Apple,size:20}}),t._v(" "+t._s(t.$t("signup.continue apple"))+" ")],1),e("div",{staticClass:"flex items-center gap-3 my-5"},[e("span",{staticClass:"flex-1 h-px bg-gray-200"}),e("span",{staticClass:"text-xs text-gray-500"},[t._v(t._s(t.$t("signup.or")))]),e("span",{staticClass:"flex-1 h-px bg-gray-200"})]),e("ae-button",{staticClass:"w-full",attrs:{type:"button"},on:{click:function(i){return t.$emit("email")}}},[e("ae-icon",{attrs:{icon:t.EmailBold,size:18}}),t._v(" "+t._s(t.$t("signup.signup with email"))+" ")],1),e("p",{staticClass:"text-center text-sm text-gray-600 mt-4"},[t._v(" "+t._s(t.$t("signup.already account"))+" "),e("inertia-link",{staticClass:"ae-link",attrs:{href:t.loginUrl}}
16,[t._v(t._s(t.$t("signup.login link")))])],1)],1)},Ft=[],$t=l(xt,wt,Ft,!1,null,null);const kt=$t.exports;function C(s){return axios.request(u(route("api.verification-code.send"),"POST",{type:"Registration",value:s}))}function St(s,t){return axios.request(u(route("api.verification-code.verify"),"POST",{type:"Registration",value:s,code:t}))}function zt(s){return axios.request(u(route("birthdate.self.put"),"PUT",{birthDate:s}))}function Mt(s){return axios.request(u(route("profile.picture.put"),"PUT",{picture:s}))}function Bt({phoneNumber:s,countryId:t}){return axios.request(u(route("phonenumber.post"),"POST",{phoneNumber:s,ext:"",countryId:t,phoneType:"cell"})).then(e=>{var n,r,a;const i=(r=(n=e==null?void 0:e.data)==null?void 0:n.data)==null?void 0:r[0];return(i==null?void 0:i.id)??((a=i==null?void 0:i.attributes)==null?void 0:a.id)??null})}function Et(s){return axios.request(u(route("twilio.send.code"),"POST",{phoneId:s}))}function Dt(s,t){return axios.request(u(route("twilio.validate.code"),"POST",{phoneId:s,code:t}))}const Lt={name:"SignupAccountStep",components:{AeInput:g,AeButton:p,AeCitySelect:ft},props:{prefill:{type:Object,default:()=>({firstName:null,lastName:null})},loginUrl:{type:String,default:"#"}},data(){return{firstname:this.prefill.firstName||"",lastname:this.prefill.lastName||"",email:"",city:"",sendError:"",submitting:!1,attempted:!1,codeSentForEmail:null}},computed:{errors(){return this.$page.props.errors||{}},preloadedPlaces(){return typeof placeAutocomplete<"u"?placeAutocomplete.places:[]},serverErrorMessages(){return["firstname","lastname","email","city"].map(s=>Array.isArray(this.errors[s])?this.errors[s][0]:this.errors[s]).filter(Boolean)},formValid(){return!!(this.firstname.trim()&&this.lastname.trim()&&this.email.trim()&&this.city.trim())},clientErrors(){if(!this.attempted)return{};const s=this.$t("signup.field required"),t={};return this.firstname.trim()||(t.firstname=s),this.lastname.trim()||(t.lastname=s),this.email.trim()||(t.email=s),this.city.trim()||(t.city=s),t}},methods:{fieldError(s){return this.errors[s]?!0:this.clientErrors[s]||!1},onCityPick(s){this.city=s},submit(){if(this.attempted=!0,!this.formValid)return;const s={firstname:this.firstname,lastname:this.lastname,email:this.email,city:this.city};if(this.codeSentForEmail===this.email){this.$emit("next",s);return}this.sendError="",this.submitting=!0,C(this.email).then(()=>{this.codeSentForEmail=this.email,this.$emit("next",s)}).catch(t=>{this.sendError=c(t,this.$t("signup.email send error"))}).finally(()=>{this.submitting=!1})}}};var Pt=function(){var t=this,e=t._self._c;return e("form",{on:{submit:function(i){return i.preventDefault(),t.submit.apply(null,arguments)}}},[e("h2",{staticClass:"signup-step__title"},[t._v(t._s(t.$t("signup.account title")))]),e("p",{staticClass:"signup-step__subtitle"},[t._v(t._s(t.$t("signup.account subtitle")))]),e("div",{staticClass:"space-y-5"},[e("div",{staticClass:"flex gap-3"},[e("ae-input",{staticClass:"flex-1 min-w-0",attrs:{float:!1,label:t.$t("signup.firstname"),placeholder:t.$t("signup.firstname placeholder"),error:t.fieldError("firstname"),required:"",name:"firstname",autocomplete:"given-name"},model:{value:t.firstname,callback:function(i){t.firstname=i},expression:"firstname"}}),e("ae-input",{staticClass:"flex-1 min-w-0",attrs:{float:!1,label:t.$t("signup.lastname"),placeholder:t.$t("signup.lastname placeholder"),error:t.fieldError("lastname"),required:"",name:"lastname",autocomplete:"family-name"},model:{value:t.lastname,callback:function(i){t.lastname=i},expression:"lastname"}})],1),e("ae-input",{attrs:{type:"email",float:!1,label:t.$t("signup.email"),placeholder:t.$t("signup.email placeholder"),error:t.fieldError("email"),required:"",name:"email",autocomplete:"email"},model:{value:t.email,callback:function(i){t.email=i},expression:"email"}}),e("ae-city-select",{attrs:{label:t.$t("signup.city"),placeholder:t.$t("signup.city placeholder"),error:t.fieldError("city"),"recent-label":t.$t("signup.city recent"),"no-results-label":t.$t("signup.city no results"),"preloaded-places":t.preloadedPlaces,required:""},on:{pick:t.onCityPick}})],1),e("ae-button",{staticClass:"w-full mt-6",attrs:{type:"submit",loading:t.submitting}},[t._v(" "+t._s(t.$t("signup.continue"))+" ")]),t._l(t.serverErrorMessages,function(i){return e("p",{key:i,staticClass:"ae-field-hint ae-field-hint--error mt-4"},[t._v(" "+t._s(i)+" ")])}),t.sendError?e("p",{staticClass:"ae-field-hint ae-field-hint--error mt-4"},[t._v(t._s(t.sendError))]):t._e(),e("p",{staticClass:"text-center text-sm text-gray-600 mt-4"},[t._v(" "+t._s(t.$t("signup.already account"))+" "),e("inertia-link",{staticClass:"ae-link",attrs:{href:t.loginUrl}}
16,[t._v(t._s(t.$t("signup.login link")))])],1)],2)},At=[],Nt=l(Lt,Pt,At,!1,null,"d189b625");const It=Nt.exports,Rt={name:"OtpInput",props:{value:{type:String,default:""},length:{type:Number,default:6},disabled:Boolean},data(){return{digits:Array.from({length:this.length},()=>"")}},watch:{value(s){(s||"")!==this.digits.join("")&&this.setFromString(s||"")}},methods:{setFromString(s){const t=s.replace(/\D/g,"").slice(0,this.length).split("");this.digits=Array.from({length:this.length},(e,i)=>t[i]||"")},emit(){this.$emit("input",this.digits.join("")),this.digits.every(s=>s!=="")&&this.$emit("complete",this.digits.join(""))},onInput(s,t){const e=t.target.value.replace(/\D/g,"");this.$set(this.digits,s,e.slice(-1)||""),this.digits[s]&&s<this.length-1&&this.focusBox(s+1),this.emit()},onDelete(s,t){!this.digits[s]&&s>0&&(t.preventDefault(),this.$set(this.digits,s-1,""),this.focusBox(s-1),this.emit())},onPaste(s){s.preventDefault();const t=(s.clipboardData||window.clipboardData).getData("text");this.setFromString(t),this.$nextTick(()=>{const e=Math.min(this.digits.filter(i=>i!=="").length,this.length-1);this.focusBox(e),this.emit()})},focusBox(s){const t=this.$refs.boxes&&this.$refs.boxes[s];t&&t.focus()}}};var Vt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"flex justify-center gap-2 sm:gap-2.5",on:{paste:t.onPaste}},t._l(t.digits,function(i,n){return e("input",{directives:[{name:"model",rawName:"v-model",value:t.digits[n],expression:"digits[i]"}],key:n,ref:"boxes",refInFor:!0,staticClass:"otp-box w-10 h-12 sm:w-12 sm:h-14 text-center text-xl sm:text-2xl font-semibold text-gray-800 bg-white rounded-lg transition focus:outline-none focus:ring-2 focus:ring-primary-100 disabled:opacity-50",class:{"otp-box--filled":t.digits[n]!==""},attrs:{type:"text",inputmode:"numeric",maxlength:"1",disabled:t.disabled,"aria-label":`${n+1}`},domProps:{value:t.digits[n]},on:{input:[function(r){r.target.composing||t.$set(t.digits,n,r.target.value)},function(r){return t.onInput(n,r)}],keydown:function(r){return!r.type.indexOf("key")&&t._k(r.keyCode,"delete",[8,46],r.key,["Backspace","Delete","Del"])?null:t.onDelete(n,r)},focus:function(r){return r.target.select()}}})}),0)},jt=[],qt=l(Rt,Vt,jt,!1,null,"43f40090");const b=qt.exports,Tt=30,Ot={name:"SignupEmailStep",components:{OtpInput:b},props:{email:{type:String,default:""}},data(){return{code:"",error:"",submitting:!1,cooldown:0,timer:null}},watch:{email(){this.code="",this.error="",this.startCooldown()}},mounted(){this.startCooldown()},beforeDestroy(){this.timer&&clearInterval(this.timer)},deactivated(){this.code="",this.error=""},methods:{startCooldown(){this.cooldown=Tt,this.timer&&clearInterval(this.timer),this.timer=setInterval(()=>{this.cooldown-=1,this.cooldown<=0&&clearInterval(this.timer)},1e3)},verify(){this.code.length<6||this.submitting||(this.error="",this.submitting=!0,St(this.email,this.code).then(()=>{this.$emit("verified")}).catch(s=>{this.error=c(s,this.$t("signup.email wrong code")),this.code=""}).finally(()=>{this.submitting=!1}))},resend(){this.cooldown>0||(this.code="",this.error="",this.startCooldown(),C(this.email).catch(s=>{this.error=c(s,this.$t("signup.email send error"))}))}}};var Ut=function(){var t=this,e=t._self._c;return e("form",{staticClass:"text-center",on:{submit:function(i){return i.preventDefault(),t.verify.apply(null,arguments)}}},[e("h2",{staticClass:"signup-step__title"},[t._v(t._s(t.$t("signup.email title")))]),e("p",{staticClass:"signup-step__subtitle"},[t._v(" "+t._s(t.$t("signup.email subtitle"))+" "),e("strong",[t._v(t._s(t.email))])]),e("label",{staticClass:"block text-sm font-semibold text-gray-700 mb-3"},[t._v(t._s(t.$t("signup.email code label")))]),e("otp-input",{staticClass:"mb-4",attrs:{length:6,disabled:t.submitting},on:{complete:t.verify},model:{value:t.code,callback:function(i){t.code=i},expression:"code"}}),t.error?e("p",{staticClass:"ae-field-hint ae-field-hint--error text-center mt-1"},[t._v(t._s(t.error))]):t._e(),e("p",{staticClass:"text-center text-sm mt-4"},[t.cooldown>0?e("span",{staticClass:"text-gray-500"},[t._v(t._s(t.$t("signup.email resend in"))+" "+t._s(t.cooldown)+"s")]):e("a",{staticClass:"ae-link",on:{click:function(i){return i.preventDefault(),t.resend.apply(null,arguments)}}}
16,[t._v(t._s(t.$t("signup.email resend")))])])],1)},Ht=[],Gt=l(Ot,Ut,Ht,!1,null,"9b6fec4d");const Zt=Gt.exports,Kt={name:"SignupPasswordStep",components:{AeButton:p,AePasswordInput:j},props:{termsUrl:{type:String,default:"#"},account:{type:Object,default:()=>({firstname:"",lastname:"",email:"",city:""})}},data(){return{password:"",passwordConfirmation:"",passwordValid:!1,confirmValid:!1,submitting:!1,attempted:!1}},computed:{errors(){return this.$page.props.errors||{}},passwordRules(){return k.map(s=>({key:s.key,test:s.test,label:this.$t(s.labelKey)}))},confirmRules(){return[{key:"match",label:this.$t("common.pw match"),test:s=>!!this.password&&s===this.password}]},formValid(){return!!(this.passwordValid&&this.confirmValid)},clientErrors(){if(!this.attempted)return{};const s={};return this.passwordValid||(s.password=!0),this.passwordConfirmation.trim()?this.confirmValid||(s.password_confirmation=!0):s.password_confirmation=this.$t("signup.field required"),s}},watch:{errors(){this.submitting=!1}},methods:{fieldError(s){return(Array.isArray(this.errors[s])?this.errors[s][0]:this.errors[s])||this.clientErrors[s]||!1},submit(){this.attempted=!0,this.formValid&&(this.submitting=!0,this.$inertia.post(route("auth.subscribe"),{firstname:this.account.firstname,lastname:this.account.lastname,email:this.account.email,city:this.account.city,password:this.password,password_confirmation:this.passwordConfirmation,tos:1},{preserveScroll:!0}))}}};var Yt=function(){var t=this,e=t._self._c;return e("form",{on:{submit:function(i){return i.preventDefault(),t.submit.apply(null,arguments)}}},[e("h2",{staticClass:"signup-step__title"},[t._v(t._s(t.$t("signup.password title")))]),e("p",{staticClass:"signup-step__subtitle"},[t._v(t._s(t.$t("signup.password subtitle")))]),e("div",{staticClass:"space-y-5"},[e("ae-password-input",{attrs:{rules:t.passwordRules,float:!1,label:t.$t("signup.password"),placeholder:t.$t("signup.password placeholder"),error:t.fieldError("password"),required:"",name:"password"},on:{valid:function(i){t.passwordValid=i}},model:{value:t.password,callback:function(i){t.password=i},expression:"password"}}),e("ae-password-input",{attrs:{rules:t.confirmRules,float:!1,label:t.$t("signup.password confirm"),placeholder:t.$t("signup.password placeholder"),error:t.clientErrors.password_confirmation||!1,required:"",name:"password_confirmation"},on:{valid:function(i){t.confirmValid=i}},model:{value:t.passwordConfirmation,callback:function(i){t.passwordConfirmation=i},expression:"passwordConfirmation"}})],1),e("p",{staticClass:"text-xs text-gray-500 text-center leading-relaxed my-4 hyphens-none"},[t._v(" "+t._s(t.$t("signup.account legal prefix"))+" "),e("a",{staticClass:"text-gray-600 underline",attrs:{href:t.termsUrl}},[t._v(t._s(t.$t("signup.terms")))]),t._v(" "+t._s(t.$t("signup.legal suffix"))+" ")]),e("ae-button",{staticClass:"w-full",attrs:{type:"submit",loading:t.submitting}},[t._v(" "+t._s(t.$t("signup.account submit"))+" ")])],1)}
16,Wt=[],Jt=l(Kt,Yt,Wt,!1,null,"0a9657f8");const Qt=Jt.exports,Xt={name:"AvatarUpload",components:{AeIcon:o},data(){return{User:Object.freeze(O),Camera:Object.freeze(K),preview:""}},methods:{pick(){this.$refs.file.click()},onChange(s){const t=s.target.files&&s.target.files[0];if(!t)return;const e=new FileReader;e.onload=()=>{this.preview=e.result;const i=String(e.result).split(",")[1]||"";this.$emit("input",i)},e.readAsDataURL(t)}}};var te=function(){var t=this,e=t._self._c;return e("div",{staticClass:"flex justify-center"},[e("button",{staticClass:"relative w-20 h-20 rounded-full border-2 border-dashed border-primary-200 bg-primary-50 flex items-center justify-center p-0",attrs:{type:"button"},on:{click:t.pick}},[t.preview?e("img",{staticClass:"w-full h-full rounded-full object-cover",attrs:{src:t.preview,alt:""}}):e("ae-icon",{staticClass:"text-primary-300",attrs:{icon:t.User,size:40}}),e("span",{staticClass:"absolute -right-1 -bottom-1 w-7 h-7 rounded-full bg-primary text-white flex items-center justify-center border-2 border-white"},[e("ae-icon",{attrs:{icon:t.Camera,size:16}})],1)],1),e("input",{ref:"file",staticClass:"hidden",attrs:{type:"file",accept:"image/*"},on:{change:t.onChange}})])},ee=[],se=l(Xt,te,ee,!1,null,null);const ie=se.exports,ne=`<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools --> 17<svg fill="currentColor" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 18 viewBox="0 0 512 512" xml:space="preserve"> 19<rect x="114.76" y="88.277" style="fill:#F5F5F5;" width="282.48" height="335.45"/> 20<g> 21 <path style="fill:#FF4B55;" d="M38.345,88.273C17.167,88.273,0,105.44,0,126.618v258.759c0,21.177,17.167,38.345,38.345,38.345 22 h76.414V88.273H38.345z"/> 23 <path style="fill:#FF4B55;" d="M473.655,88.273h-76.414v335.448h76.414c21.177,0,38.345-17.167,38.345-38.345V126.618 24 C512,105.44,494.833,88.273,473.655,88.273z"/> 25 <path style="fill:#FF4B55;" d="M309.569,294.757l52.383-29.932l-12.02-6.01c-3.371-1.686-5.301-5.326-4.802-9.063l3.911-29.322 26 l-22.177,6.452c-4.899,1.426-9.983-1.588-11.085-6.569l-2.124-9.6l-20.823,24.37c-2.886,3.378-8.386,0.798-7.633-3.581 27 l8.893-51.708l-13.615,3.723c-3.977,1.088-8.177-0.722-10.116-4.36l-14.337-26.871v-0.04l-0.01,0.02l-0.011-0.02v0.04 28 l-14.337,26.871c-1.941,3.637-6.141,5.447-10.118,4.36l-13.615-3.723l8.893,51.708c0.753,4.378-4.747,6.959-7.634,3.582 29 l-20.823-24.37l-2.124,9.6c-1.102,4.982-6.186,7.994-11.085,6.569l-22.177-6.452l3.911,29.322c0.499,3.736-1.431,7.377-4.802,9.063 30 l-12.02,6.009l52.383,29.933c5.426,3.101,7.804,9.677,5.615,15.53l-4.478,11.977l44.885-3.832c2.484-0.212,4.598,1.788,4.525,4.279 31 l-1.414,48.044h8.828L259,322.71c-0.073-2.492,2.041-4.491,4.525-4.279l44.906,3.834l-4.478-11.977 32 C301.766,304.434,304.143,297.857,309.569,294.757z"/> 33</g> 34</svg>`,re=`<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools --> 35<svg fill="currentColor" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 36 viewBox="0 0 512 512" xml:space="preserve"> 37<path style="fill:#F5F5F5;" d="M473.655,88.276H38.345C17.167,88.276,0,105.443,0,126.621V385.38 38 c0,21.177,17.167,38.345,38.345,38.345h435.31c21.177,0,38.345-17.167,38.345-38.345V126.621 39 C512,105.443,494.833,88.276,473.655,88.276z"/> 40<g> 41 <path style="fill:#FF4B55;" d="M2.109,114.08H509.89c-5.196-15.017-19.452-25.804-36.235-25.804H38.345 42 C21.561,88.276,7.306,99.063,2.109,114.08z"/> 43 <rect y="191.49" style="fill:#FF4B55;" width="512" height="25.803"/> 44 <rect y="139.88" style="fill:#FF4B55;" width="512" height="25.803"/> 45 <path style="fill:#FF4B55;" d="M0,260.074c0,4.875,3.953,8.828,8.828,8.828H512v-25.804H0V260.074z"/> 46 <rect y="346.32" style="fill:#FF4B55;" width="512" height="25.804"/> 47 <path style="fill:#FF4B55;" d="M509.891,397.92H2.109c5.197,15.017,19.453,25.804,36.236,25.804h435.31 48 C490.439,423.724,504.694,412.937,509.891,397.92z"/> 49 <rect y="294.71" style="fill:#FF4B55;" width="512" height="25.803"/> 50</g> 51<path style="fill:#41479B;" d="M8.828,268.902h220.69c4.875,0,8.828-3.953,8.828-8.828V97.103c0-4.876-3.953-8.828-8.828-8.828
52 H38.345C17.167,88.276,0,105.443,0,126.621v133.453C0,264.95,3.953,268.902,8.828,268.902z"/> 53<g> 54 <path style="fill:#F5F5F5;" d="M24.789,108.537l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.027,0.488,1.502l-4.969,3.669 55 l1.864,5.889c0.242,0.762-0.627,1.394-1.278,0.928L24,122.841l-5.025,3.592c-0.651,0.466-1.518-0.166-1.278-0.928l1.864-5.889 56 l-4.969-3.669c-0.643-0.476-0.312-1.496,0.488-1.502l6.177-0.047l1.954-5.86C23.463,107.778,24.535,107.778,24.789,108.537z"/> 57 <path style="fill:#F5F5F5;" d="M24.789,139.191l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67l1.864,5.889 58 c0.242,0.762-0.627,1.394-1.278,0.928L24,153.496l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889l-4.969-3.67 59 c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C23.463,138.433,24.535,138.433,24.789,139.191z"/> 60 <path style="fill:#F5F5F5;" d="M24.789,169.846l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67l1.864,5.889 61 c0.242,0.762-0.627,1.394-1.278,0.928L24,184.151l-5.025,3.592c-0.651,0.465-1.518-0.165-1.278-0.928l1.864-5.889l-4.969-3.67 62 c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C23.463,169.087,24.535,169.087,24.789,169.846z"/> 63 <path style="fill:#F5F5F5;" d="M24.789,200.5l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.027,0.488,1.502l-4.969,3.67l1.864,5.889 64 c0.242,0.762-0.627,1.394-1.278,0.928L24,214.805l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889l-4.969-3.67 65 c-0.643-0.474-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C23.463,199.741,24.535,199.741,24.789,200.5z"/> 66 <path style="fill:#F5F5F5;" d="M24.789,231.154l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67l1.864,5.889 67 c0.242,0.762-0.627,1.394-1.278,0.928L24,245.459l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889l-4.969-3.67 68 c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C23.463,230.396,24.535,230.396,24.789,231.154z"/> 69 <path style="fill:#F5F5F5;" d="M48.582,123.566l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.027,0.488,1.502l-4.969,3.67l1.864,5.889 70 c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889l-4.969-3.67 71 c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C47.256,122.808,48.329,122.808,48.582,123.566z"/> 72 <path style="fill:#F5F5F5;" d="M48.582,154.221l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.027,0.488,1.502l-4.969,3.67l1.864,5.889 73 c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.165-1.278-0.928l1.864-5.889l-4.969-3.67 74 c-0.643-0.474-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C47.256,153.462,48.329,153.462,48.582,154.221z"/> 75 <path style="fill:#F5F5F5;" d="M48.582,184.875l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67l1.864,5.889 76 c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889l-4.969-3.67 77 c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C47.256,184.116,48.329,184.116,48.582,184.875z"/> 78 <path style="fill:#F5F5F5;" d="M48.582,215.529l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67l1.864,5.889 79 c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.466-1.518-0.166-1.278-0.928l1.864-5.889l-4.969-3.67 80 c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C47.256,214.771,48.329,214.771,48.582,215.529z"/> 81 <path style="fill:#F5F5F5;" d="M72.375,108.537l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.027,0.488,1.502l-4.969,3.669 82 l1.864,5.889c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.466-1.518-0.166-1.278-0.928l1.864-5.889 83 l-4.969-3.669c-0.643-0.476-0.312-1.496,0.488-1.502l6.177-0.047l1.954-5.86C71.049,107.778,72.122,107.778,72.375,108.537z"/> 84 <path style="fill:#F5F5F5;" d="M72.375,139.191l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67l1.864,5.889 85 c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889l-4.969-3.67 86 c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C71.049,138.433,72.122,138.433,72.375,139.191z"/> 87 <path style="fill:#F5F5F5;" d="M72.375,169.846l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67l1.864,5.889 88 c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.165-1.278-0.928l1.864-5.889l-4.969-3.67 89 c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C71.049,169.087,72.122,169.087,72.375,169.846z"/> 90 <path style="fill:#F5F5F5;" d="M72.375,200.5l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.027,0.488,1.502l-4.969,3.67l1.864,5.889 91 c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889l-4.969-3.67 92 c-0.643-0.474-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C71.049,199.741,72.122,199.741,72.375,200.5z"/> 93 <path style="fill:#F5F5F5;" d="M72.375,231.154l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67l1.864,5.889 94 c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889l-4.969-3.67 95 c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C71.049,230.396,72.122,230.396,72.375,231.154z"/> 96 <path style="fill:#F5F5F5;" d="M96.169,123.566l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.027,0.488,1.502l-4.969,3.67l1.864,5.889 97 c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889l-4.969-3.67 98 c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C94.842,122.808,95.916,122.808,96.169,123.566z"/> 99 <path style="fill:#F5F5F5;" d="M96.169,154.221l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.027,0.488,1.502l-4.969,3.67l1.864,5.889 100 c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.165-1.278-0.928l1.864-5.889l-4.969-3.67 101 c-0.643-0.474-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C94.842,153.462,95.916,153.462,96.169,154.221z"/> 102 <path style="fill:#F5F5F5;" d="M96.169,184.875l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67l1.864,5.889 103 c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889l-4.969-3.67 104 c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C94.842,184.116,95.916,184.116,96.169,184.875z"/> 105 <path style="fill:#F5F5F5;" d="M96.169,215.529l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67l1.864,5.889 106 c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.466-1.518-0.166-1.278-0.928l1.864-5.889l-4.969-3.67 107 c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C94.842,214.771,95.916,214.771,96.169,215.529z"/> 108 <path style="fill:#F5F5F5;" d="M119.962,108.537l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.027,0.488,1.502l-4.969,3.669 109 l1.864,5.889c0.242,0.762-0.627,1.394-1.278,0.928l-5.026-3.591l-5.025,3.592c-0.651,0.466-1.518-0.166-1.278-0.928l1.864-5.889 110 l-4.969-3.669c-0.643-0.476-0.312-1.496,0.488-1.502l6.177-0.047l1.954-5.86C118.636,107.778,119.709,107.778,119.962,108.537z"/> 111 <path style="fill:#F5F5F5;" d="M119.962,139.191l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67 112 l1.864,5.889c0.242,0.762-0.627,1.394-1.278,0.928l-5.026-3.592l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889
113 l-4.969-3.67c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C118.636,138.433,119.709,138.433,119.962,139.191z"/> 114 <path style="fill:#F5F5F5;" d="M119.962,169.846l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67 115 l1.864,5.889c0.242,0.762-0.627,1.394-1.278,0.928l-5.026-3.593l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889 116 l-4.969-3.67c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C118.636,169.087,119.709,169.087,119.962,169.846z"/> 117 <path style="fill:#F5F5F5;" d="M119.962,200.5l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.027,0.488,1.502l-4.969,3.67l1.864,5.889 118 c0.242,0.762-0.627,1.394-1.278,0.928l-5.026-3.592l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889l-4.969-3.67 119 c-0.643-0.474-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C118.636,199.741,119.709,199.741,119.962,200.5z"/> 120 <path style="fill:#F5F5F5;" d="M119.962,231.154l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67 121 l1.864,5.889c0.242,0.762-0.627,1.394-1.278,0.928l-5.026-3.592l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889 122 l-4.969-3.67c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C118.636,230.396,119.709,230.396,119.962,231.154z"/> 123 <path style="fill:#F5F5F5;" d="M143.755,123.566l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.027,0.488,1.502l-4.969,3.67 124 l1.864,5.889c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889 125 l-4.969-3.67c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C142.43,122.808,143.502,122.808,143.755,123.566z"/> 126 <path style="fill:#F5F5F5;" d="M143.755,154.221l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.027,0.488,1.502l-4.969,3.67 127 l1.864,5.889c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.165-1.278-0.928l1.864-5.889 128 l-4.969-3.67c-0.643-0.474-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C142.43,153.462,143.502,153.462,143.755,154.221z"/> 129 <path style="fill:#F5F5F5;" d="M143.755,184.875l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67 130 l1.864,5.889c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889 131 l-4.969-3.67c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C142.43,184.116,143.502,184.116,143.755,184.875z"/> 132 <path style="fill:#F5F5F5;" d="M143.755,215.529l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67 133 l1.864,5.889c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.466-1.518-0.166-1.278-0.928l1.864-5.889 134 l-4.969-3.67c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C142.43,214.771,143.502,214.771,143.755,215.529z"/> 135 <path style="fill:#F5F5F5;" d="M167.549,108.537l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.027,0.488,1.502l-4.969,3.669 136 l1.864,5.889c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.466-1.518-0.166-1.278-0.928l1.864-5.889 137 l-4.969-3.669c-0.643-0.476-0.312-1.496,0.488-1.502l6.177-0.047l1.954-5.86C166.222,107.778,167.296,107.778,167.549,108.537z"/> 138 <path style="fill:#F5F5F5;" d="M167.549,139.191l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67 139 l1.864,5.889c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889 140 l-4.969-3.67c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C166.222,138.433,167.296,138.433,167.549,139.191z"/> 141 <path style="fill:#F5F5F5;" d="M167.549,169.846l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67 142 l1.864,5.889c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.165-1.278-0.928l1.864-5.889 143 l-4.969-3.67c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C166.222,169.087,167.296,169.087,167.549,169.846z"/> 144 <path style="fill:#F5F5F5;" d="M167.549,200.5l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.027,0.488,1.502l-4.969,3.67l1.864,5.889 145 c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889l-4.969-3.67 146 c-0.643-0.474-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C166.222,199.741,167.296,199.741,167.549,200.5z"/> 147 <path style="fill:#F5F5F5;" d="M167.549,231.154l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67 148 l1.864,5.889c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889
149 l-4.969-3.67c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C166.222,230.396,167.296,230.396,167.549,231.154z"/> 150 <path style="fill:#F5F5F5;" d="M191.342,123.566l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.027,0.488,1.502l-4.969,3.67 151 l1.864,5.889c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889 152 l-4.969-3.67c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C190.016,122.808,191.089,122.808,191.342,123.566z"/> 153 <path style="fill:#F5F5F5;" d="M191.342,154.221l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.027,0.488,1.502l-4.969,3.67 154 l1.864,5.889c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.165-1.278-0.928l1.864-5.889 155 l-4.969-3.67c-0.643-0.474-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C190.016,153.462,191.089,153.462,191.342,154.221z"/> 156 <path style="fill:#F5F5F5;" d="M191.342,184.875l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67 157 l1.864,5.889c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889 158 l-4.969-3.67c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C190.016,184.116,191.089,184.116,191.342,184.875z"/> 159 <path style="fill:#F5F5F5;" d="M191.342,215.529l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67 160 l1.864,5.889c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.466-1.518-0.166-1.278-0.928l1.864-5.889 161 l-4.969-3.67c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C190.016,214.771,191.089,214.771,191.342,215.529z"/> 162 <path style="fill:#F5F5F5;" d="M215.136,108.537l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.027,0.488,1.502l-4.969,3.669 163 l1.864,5.889c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.466-1.518-0.166-1.278-0.928l1.864-5.889 164 l-4.969-3.669c-0.643-0.476-0.312-1.496,0.488-1.502l6.177-0.047l1.954-5.86C213.81,107.778,214.882,107.778,215.136,108.537z"/> 165 <path style="fill:#F5F5F5;" d="M215.136,139.191l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67 166 l1.864,5.889c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889 167 l-4.969-3.67c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C213.81,138.433,214.882,138.433,215.136,139.191z"/> 168 <path style="fill:#F5F5F5;" d="M215.136,169.846l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67 169 l1.864,5.889c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.165-1.278-0.928l1.864-5.889 170 l-4.969-3.67c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C213.81,169.087,214.882,169.087,215.136,169.846z"/> 171 <path style="fill:#F5F5F5;" d="M215.136,200.5l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.027,0.488,1.502l-4.969,3.67l1.864,5.889 172 c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889l-4.969-3.67 173 c-0.643-0.474-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C213.81,199.741,214.882,199.741,215.136,200.5z"/> 174 <path style="fill:#F5F5F5;" d="M215.136,231.154l1.954,5.86l6.177,0.047c0.8,0.007,1.131,1.026,0.488,1.502l-4.969,3.67 175 l1.864,5.889c0.242,0.762-0.627,1.394-1.278,0.928l-5.025-3.592l-5.025,3.592c-0.651,0.465-1.518-0.166-1.278-0.928l1.864-5.889 176 l-4.969-3.67c-0.643-0.476-0.312-1.495,0.488-1.502l6.177-0.047l1.954-5.86C213.81,230.396,214.882,230.396,215.136,231.154z"/> 177</g> 178</svg>`,le=`<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools --> 179<svg fill="currentColor" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 180 viewBox="0 0 512 512" xml:space="preserve"> 181<path style="fill:#73AF00;" d="M38.345,88.273C17.167,88.273,0,105.44,0,126.618v258.759c0,21.177,17.167,38.345,38.345,38.345 182 h132.322V88.273H38.345z"/> 183<rect x="170.67" y="88.277" style="fill:#F5F5F5;" width="170.67" height="335.45"/> 184<path style="fill:#FF4B55;" d="M473.655,88.273H341.333v335.448h132.322c21.177,0,38.345-17.167,38.345-38.345V126.618 185 C512,105.44,494.833,88.273,473.655,88.273z"/> 186<polygon style="fill:#FFD250;" points="271.225,263.893 256,271.506 256,279.119 263.613,279.119 "/> 187<g> 188 <path style="fill:#00C3A0;" d="M256,298.151c-2.104,0-3.807-1.703-3.807-3.806V279.12c0-2.104,1.703-3.807,3.807-3.807 189 s3.806,1.703,3.806,3.807v15.225C259.806,296.448,258.104,298.151,256,298.151z"/> 190 <path style="fill:#00C3A0;" d="M256,282.926c-14.951,0-29.388-5.769-40.654-16.244c-1.539-1.431-1.628-3.84-0.196-5.378 191 c1.442-1.535,3.848-1.617,5.379-0.198c9.854,9.163,22.452,14.207,35.473,14.207c13.021,0,25.619-5.044,35.473-14.207 192 c1.535-1.423,3.94-1.345,5.378,0.198c1.431,1.539,1.342,3.947-0.196,5.378C285.388,277.157,270.951,282.926,256,282.926z"/> 193</g> 194<path style="fill:#00AADC;" d="M256,298.151c-9.758,0-19.21-2.851-27.336-8.248l4.215-6.342c13.739,9.129,32.503,9.129,46.241,0 195 l4.215,6.342C275.21,295.3,265.758,298.151,256,298.151z"/> 196<polygon style="fill:#732D37;" points="249.973,246.764 241.568,259.77 240.14,264.052 262.027,258.977 "/> 197<path style="fill:#AAD264;" d="M232.705,268.235c-10.062,0-22.14-8.468-25.344-27.336l7.509-1.271 198 c2.662,15.69,12.316,21.005,18.11,20.991c1.777-0.049,3.631-0.662,3.777-1.918c0.171-1.502,0.212-1.858-3.769-3.204 199 c-2.164-0.733-4.617-1.561-6.338-3.531c-6.963-7.951,2.464-16.366,
1996.993-20.41c0.799-0.714,1.13-1.32,1.045-1.55 200 c-0.249-0.651-1.743-1.635-3.427-1.635c-4.836,0-8.505-2.732-9.571-7.126c-1.108-4.55,0.985-9.345,4.97-11.404l3.495,6.765 201 c-0.934,0.483-1.304,1.858-1.067,2.84c0.093,0.394,0.32,1.312,2.175,1.312c4.661,0,9.096,2.751,10.538,6.535 202 c0.617,1.613,1.546,5.806-3.085,9.943c-5,4.465-7.992,7.825-6.334,9.717c0.375,0.427,1.985,0.974,3.048,1.331 203 c3.427,1.16,9.806,3.316,8.892,11.289c-0.573,5.014-5.048,8.493-11.129,8.658C233.028,268.231,232.864,268.235,232.705,268.235z"/> 204<path style="fill:#874150;" d="M263.613,225.83c0,0,7.613-15.225-7.613-22.838c0,0,53.289-7.613,45.676,60.903l-0.003-0.003 205 c-4.996-3.997-12.414-11.302-15.063-17.126l-22.997-13.323V225.83L263.613,225.83z"/> 206<path style="fill:#732D37;" d="M256,241.055l38.063,22.838c0,0,0,0-15.225,7.613L256,248.668V241.055z"/> 207<path style="fill:#783C46;" d="M240.775,218.217L240.775,218.217c4.204,0,7.613,3.409,7.613,7.613l-0.008,0.009 208 c-4.542,4.542-5.667,11.479-2.795,17.224l1.72,3.441c0.717,1.434,1.661,2.744,2.795,3.878l21.126,21.127v-10.521 209 c0-13.107-3.052-26.034-8.913-37.757l0,0c-3.869-7.737-11.777-12.625-20.427-12.625h-1.111L240.775,218.217L240.775,218.217z"/> 210<path style="fill:#FFD250;" d="M240.775,210.604l-7.613,7.613v7.613c0,0,9.056-4.591,12.108-6.054 211 c2.133-1.022,1.745-3.439,0.521-4.604C244.838,214.266,240.775,210.604,240.775,210.604z"/> 212<path style="fill:#AAD264;" d="M256,313.376c-35.681,0-64.708-29.027-64.708-64.708h7.613c0,31.485,25.611,57.096,57.096,57.096 213 s57.096-25.611,57.096-57.096h7.613C320.708,284.349,291.681,313.376,256,313.376z"/> 214<g> 215 <circle style="fill:#FFE15A;" cx="199.32" cy="271.257" r="5.166"/> 216 <circle style="fill:#FFE15A;" cx="210.74" cy="289.497" r="5.166"/> 217 <circle style="fill:#FFE15A;" cx="229.29" cy="303.287" r="5.166"/> 218 <circle style="fill:#FFE15A;" cx="313.23" cy="271.257" r="5.166"/> 219 <circle style="fill:#FFE15A;" cx="301.8" cy="289.497" r="5.166"/> 220 <circle style="fill:#FFE15A;" cx="283.25" cy="303.287" r="5.166"/> 221</g> 222<path style="fill:#FFB478;" d="M259.806,301.957h-7.613c-4.204,0-7.613-3.409-7.613-7.613l0,0c0-4.204,3.409-7.613,7.613-7.613 223 h7.613c4.204,0,7.613,3.409,7.613,7.613l0,0C267.42,298.549,264.011,301.957,259.806,301.957z"/> 224<path style="fill:#9B4B5A;" d="M286.61,246.764c2.538,7.454,7.929,14.274,15.063,17.126l0.003,0.003 225 C309.289,195.379,256,202.992,256,202.992C294.063,202.992,286.61,246.764,286.61,246.764z"/> 226</svg>`,ae=`<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools --> 227<svg fill="currentColor" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 228 viewBox="0 0 512 512" xml:space="preserve"> 229<path style="fill:#41479B;" d="M38.345,88.273C17.167,88.273,0,105.44,0,126.618v258.759c0,21.177,17.167,38.345,38.345,38.345 230 h132.322V88.273H38.345z"/> 231<rect x="170.67" y="88.277" style="fill:#F5F5F5;" width="170.67" height="335.45"/> 232<path style="fill:#FF4B55;" d="M473.655,88.273H341.333v335.448h132.322c21.177,0,38.345-17.167,38.345-38.345V126.618 233 C512,105.44,494.833,88.273,473.655,88.273z"/> 234</svg>`,oe=`<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools --> 235<svg fill="currentColor" height="800px" width="800px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 236 viewBox="0 0 512 512" xml:space="preserve"> 237<path style="fill:#41479B;" d="M473.655,88.276H38.345C17.167,88.276,0,105.443,0,126.621V385.38 238 c0,21.177,17.167,38.345,38.345,38.345h435.31c21.177,0,38.345-17.167,38.345-38.345V126.621 239 C512,105.443,494.833,88.276,473.655,88.276z"/> 240<path style="fill:#F5F5F5;" d="M511.469,120.282c-3.022-18.159-18.797-32.007-37.814-32.007h-9.977l-163.54,107.147V88.276h-88.276 241 v107.147L48.322,88.276h-9.977c-19.017,0-34.792,13.847-37.814,32.007l139.778,91.58H0v88.276h140.309L0.531,391.717 242 c3.022,18.159,18.797,32.007,37.814,32.007h9.977l163.54-107.147v107.147h88.276V316.577l163.54,107.147h9.977 243 c19.017,0,34.792-13.847,37.814-32.007l-139.778-91.58H512v-88.276H371.691L511.469,120.282z"/> 244<g> 245 <polygon style="fill:#FF4B55;" points="282.483,88.276 229.517,88.276 229.517,229.517 0,229.517 0,282.483 229.517,282.483 246 229.517,423.724 282.483,423.724 282.483,282.483 512,282.483 512,229.517 282.483,229.517 "/> 247 <path style="fill:#FF4B55;" d="M24.793,421.252l186.583-121.114h-32.428L9.224,410.31 248 C13.377,415.157,18.714,418.955,24.793,421.252z"/> 249 <path style="fill:#FF4B55;" d="M346.388,300.138H313.96l180.716,117.305c5.057-3.321,9.277-7.807,12.287-13.075L346.388,300.138z" 250 /> 251 <path style="fill:#FF4B55;" d="M4.049,109.475l157.73,102.387h32.428L15.475,95.842C10.676,99.414,6.749,104.084,4.049,109.475z"/> 252 <path style="fill:#FF4B55;" d="M332.566,211.862l170.035-110.375c-4.199-4.831-9.578-8.607-15.699-10.86L300.138,211.862H332.566z" 253 /> 254</g> 255</svg>`,ce=`<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools --> 256<svg fill="currentColor" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 257 viewBox="0 0 512 512" xml:space="preserve"> 258<path style="fill:#464655;
258" d="M473.655,88.276H38.345C17.167,88.276,0,105.443,0,126.621v73.471h512v-73.471 259 C512,105.443,494.833,88.276,473.655,88.276z"/> 260<path style="fill:#FFE15A;" d="M0,385.379c0,21.177,17.167,38.345,38.345,38.345h435.31c21.177,0,38.345-17.167,38.345-38.345 261 v-73.471H0V385.379z"/> 262<rect y="200.09" style="fill:#FF4B55;" width="512" height="111.81"/> 263</svg>`,ue=`<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools --> 264<svg fill="currentColor" width="800px" height="800px" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--twemoji" preserveAspectRatio="xMidYMid meet"><path fill="#CCD6DD" d="M12 7.607L3 5.196c-1.657-.444-3 .539-3 2.197v20c0 1.656 1.343 3.359 3 3.804l9 2.411V7.607zm12 22.786l9 2.411c1.656.443 3-.54 3-2.196v-20c0-1.657-1.344-3.36-3-3.804l-9-2.411v26z"></path><path fill="#E1E8ED" d="M24 30.392l-12 3.215v-26l12-3.215z"></path><path fill="#55ACEE" d="M12 9.607L4 7.463c-1.104-.296-2 .36-2 1.464v18c0 1.104.896 2.24 2 2.535l8 2.145v-22zm20-1.072l-8-2.144v22l8 2.144c1.104.296 2-.359 2-1.465v-18c0-1.103-.896-2.239-2-2.535z"></path><path fill="#88C9F9" d="M24 28.392l-12 3.215v-22l12-3.215z"></path><path fill="#5C913B" d="M12 21.506c-.268.006-.595.104-.845.145c-.436.073-.329.517-.463.443a2.844 2.844 0 0 1-.812-.658c-.337-.394.25-.477.418-.622c.168-.145-.316-.172-.485-.332c-.169-.159-.471.104-.739-.276c-.27-.376-.101-.79-.133-1.18c-.034-.39.436-.341.739-.334c.303.003.538.144.538.602c0 .456.37.708.269.146c-.101-.561.101-.657.235-.89c.134-.23.37-.55.672-1.04c.221-.358.389-.283.606-.164v-3.345c-.055-.044-.11-.09-.165-.113c-.303-.132.096.753-.139 1.109c-.237.356-.598.193-.97.094c-.369-.099-.713-.545-.443-1.007c.268-.462.782-.268 1.051-.653c.269-.385-.957-.672-1.394-.941c-.438-.271-.963-.409-1.4-.146c-.437.264-1.373.133-1.743.186c-.37.054-.436-.369-.503-.693c-.067-.322-.653-.329-1.257-.338c-.606-.01-1.741.281-1.547 1.759c.068.514.605.124.707.036c.101-.088.605.2.671.637c.068.439.035.887-.099 1.232c-.137.345.336 1.006.604 1.612c.269.605.573.686.707.723c.135.036.908.587.875.996c-.033.411.706.991 1.009 1.34c.303.35.494.662.887.846c.393.183.852 1.035 1.054 1.165c.155.1.418.451.576.58c-.208.242-.612.748-.612 1.029c0 .383.44 1.103.608 1.3c.167.196.65.442.751.85c.101.407-.07 1.646-.372 1.907c-.304.262-.414 1.043-.414 1.043s.107.293.465.124c.309-.144.776-.566 1.094-.801v-6.371z"></path><path fill="#77B255" d="M12.268 17.413c-.1.016-.187.012-.268.011v-3.345c.254.065.512.317.707.736c.234.509.604.066.739.374c.134.308.875.758.505.742c-.371-.015-.741.008-.841.454c-.102.448.168.794-.102.828c-.27.033-.37.142-.74.2zm2.59 5.558c-.436-.074-.359-.023-.628-.599c-.268-.577-.431-.743-1.036-.656c-.605.087-.583.136-.751-.163c-.072-.128-.241-.082-.443.031v6.37c.09-.114.17-.211.228-.267a13.37 13.37 0 0 0 1.466-1.646c.47-.621.3-.924.535-1.481c.236-.558.541-.617.944-1.145c.405-.53.122-.368-.315-.444zM24 15.731V9.417c-.04.004-.068.012-.11.015c-.209.011-.482.135-.779.32c-.024-.005-.046-.016-.07-.021c-.896-.175-1.312 1.205-2.039 1.152c-.729-.053-1.7-.344-2.332.514c-.631.857-.777 1.53 0 1.294s1.312-1.425 1.7-1.089c.388.336.29.721-.632 1.105c-.922.385-1.918.817-2.452.96c-.534.143-.655.534-.292.822c.364.288-.219.471-.826 1.02c-.607.547.146.512.656.705c.51.193.898-.323 1.117-.932c.217-.608 1.158-1.521 1.55-1.544c.392-.023.392.197.318.602c-.013.071.001.103.011.138c-.17.54-.31 1.03-.365 1.306a3.332 3.332 0 0 0-.027.595c-.086.004-.183.021-.248.001c-.438-.129-1.434-.22-1.701.043c-.267.265-.412.502-.728.723c-.317.219-1.603 1.224-1.627 2.084c-.025.859-.049 1.83.461 1.721c.51-.109 1.749-.826 2.137-1.288c.387-.463.921-.522 1.092-.156c.17.369.048.649-.12 1.354c-.171.708.11.963.381 1.468c.273.504.491.775.491 1.189c0 .412.389.723.97-.123a7.14 7.14 0 0 0 .536-.957c.409-.469.768-.923.758-1.096a13.53 13.53 0 0 1-.024-.624l.091-.22c.127-.293.241-.746.362-1.155a.17.17 0 0 1 .02-.024c.237-.337.185-.353.58-.756c.264-.27.254-.512.214-.678c.105-.175.134-.28-.033-.235l-.016.004c-.002 0-.005.019-.006.014c-.023-.149-.206.003-.501.148c-.284.008-.566-.066-.668-.368c-.133-.396-.
264602-.996-.639-1.336c.003-.041.005-.077.01-.124a.165.165 0 0 1 .069-.088a.29.29 0 0 1 .112-.035c.041.111.075.279.086.464c.026.477.394.196.394.498c0 .303.53.492.661.548c.037.016.094-.027.159-.098c.031.011.06.033.093.037c.292.031.922-.984 1.117-1.164c.102-.095.104-.269.033-.394l.056-.025z"></path><path fill="#5C913B" d="M27.634 20.221c-.053.44.184.201.606.705c.423.508-.104.394-.289.316c-.185-.08-.37-.131-.579-.518c-.213-.391 0-.695 0-1.027c0 0 .316.084.262.524zm.362-.901c.389.166.114-.482.244-.841c.132-.356.316-.368.555-.363c.236.002.422-.191.581-.389c.157-.199.448-.454.422-.733c-.026-.279-.104-.482-.212-.843c-.105-.36.316-.368.502-.711c.184-.343 0 0 .421-.008c.422-.008.238-.058.316-.218c.08-.159.133-.327.054-.68c-.078-.353-.37-.1-.66-.177c-.289-.077.106-.425.132-.78c.026-.356.397-.165.661-.125c.263.039.342.484.421.597c.081.112.895-.365 1.108-.641c.211-.275-.186-.291-.079-.403c.106-.111-.632-.337-.925-.469c-.289-.133-1.028-.367-1.318-.649c-.289-.283-1.396-.426-1.688-.337c-.291.086-.476-.143-.606-.406c-.131-.262-.686-.297-.844-.467c-.158-.17-.316.127-.529.16c-.21.035-.289.043-.554-.209c-.263-.252.08-.371-.288-.621c-.355-.238-.813-.182-1.71-.591v6.314c.157.014.309.036.364.051c.131.035.448.573.448.784c0 .211.158.828.291 1.195c.131.366.42.506.686.818c.264.312.394.137.394.137s-.105-.544-.105-.965c0-.424.316-.701.316-.701s.5.558.528.685c.026.128.421.656.449.876c.026.219.237.546.625.71zm2.092-2.068c.184.08.976.171.554-.334c-.423-.506-.106-.299-.053-.738c.053-.44-.264-.524-.264-.524c0 .332-.211.638 0 1.026c.21.39-.423.49-.237.57zm2.004 5.371c-.131-.217-.421-.385-.738-.461c-.315-.076-.29-.48-.606-.533c-.316-.055-.544-.389-.686-.512c-.312-.266-.106.209 0 .699c.106.488.501.246.869.586c.369.34.397.016.74.229c.342.211.475.52.804.578c.329.059-.25-.369-.383-.586zm-3.088-1.432c.262.402.159.043.504-.016c.343-.059-.291-.561-.502-.799c-.211-.238-.42-.301-.605.049c-.21.399.342.364.603.766zm2.403 2.579c-.133-.338-.518-.713-.675-.91c-.159-.193-.407-.312-.618-.279c-.212.031-.343-.092-.448-.361c-.106-.266-.29-.233-.449-.244c-.157-.012-.791.119-1.161.23c-.368.113-.537.252-.778.457c-.382.32-.17.105 0 .424c.168.318-.187 1.066-.213 1.543c-.027.477.676.031.939.039c.264.012.186-.189.396-.314c.212-.125.349-.129.579.172c.233.305.537.611.537.883c0 .27.834.947 1.151.852c.316-.098.501-.408.791-.635c.291-.225.186-.824.264-1.168c.081-.344-.185-.354-.315-.689z"></path></svg>`,x=[{id:1,flag:ne,dial:"1",nameKey:"signup.country can",groups:[3,3,4],sep:"-",max:10},{id:2,flag:re,dial:"1",nameKey:"signup.country usa",groups:[3,3,4],sep:"-",max:10},{id:155,flag:le,dial:"52",nameKey:"signup.country mex",groups:[2,4,4],sep:" ",max:10},{id:83,flag:ae,dial:"33",nameKey:"signup.country fra",groups:[1,2,2,2,2],sep:" ",max:9,trunkZero:!0},{id:244,flag:oe,dial:"44",nameKey:"signup.country uk",groups:[4,6],sep:" ",max:10,trunkZero:!0},{id:91,flag:ce,dial:"49",nameKey:"signup.country ger",groups:[3,4,4],sep:" ",max:11},{id:0,flag:ue,dial:"",nameKey:"signup.country other",groups:null,sep:" ",max:15}],pe={name:"SignupProfileStep",components:{AeInput:g,AeButton:p,AeIcon:o,AvatarUpload:ie,AePhoneNumberInput:ct},data(){return{InfoCircleBold:Object.freeze(L),CalendarBold:Object.freeze(M),avatar:"",phoneNumber:"",countryId:1,birthDate:"",phoneError:"",birthError:"",avatarError:"",avatarFailed:!1,submitting:!1}},computed:{maxBirthDate(){const s=new Date;return s.setFullYear(s.getFullYear()-14),s.toISOString().split("T")[0]},countries(){return x.map(s=>({...s,name:this.$t(s.nameKey)}))}},watch:{phoneNumber(s){s.trim()&&(this.phoneError="")},birthDate(s){s&&(this.birthError="")},avatar(s){s&&(this.avatarError="",this.avatarFailed=!1)}},methods:{openDatePicker(s){const t=s.target;if(t&&typeof t.showPicker=="function")try{t.showPicker()}catch{}},submit(){if(this.phoneError="",this.birthError="",this.avatarError="",this.phoneNumber.trim()||(this.phoneError=this.$t("signup.phone required")),this.birthDate||(this.birthError=this.$t("signup.birthdate required")),this.phoneError||this.birthError)return;this.submitting=!0;const s=this.avatar&&!this.avatarFailed?Mt(this.avatar):Promise.resolve();Promise.allSettled([Bt({phoneNumber:this.phoneNumber,countryId:this.countryId}),zt(this.birthDate),s]).then(([t,e,i])=>{if(t.status==="rejected"&&(this.phoneError=c(t.reason,this.$t("signup.phone save error"))),e.status==="rejected"&&(this.birthError=c(e.reason,this.$t("signup.birthdate save error"))),!(t.status==="rejected"||e.status==="rejected")){if(i.status==="rejected"&&!this.avatarFailed){this.avatarError=c(i.reason,this.$t("signup.avatar save error")),this.avatarFailed=!0;return}this.$emit("done",{phoneNumber:this.phoneNumber,phoneId:t.value,countryId:this.countryId})}}).finally(()=>{this.submitting=!1})}}};var de=function(){var t=this,e=t._self._c;return e("form",{on:{submit:function(i){return i.preventDefault(),t.submit.apply(null,arguments)}}},[e("h2",{staticClass:"signup-step__title"},[t._v(t._s(t.$t("signup.profile title")))]),e("p",{staticClass:"signup-step__subtitle"},[t._v(t._s(t.$t("signup.profile subtitle")))]),e("avatar-upload",{staticClass:"mb-5",model:{value:t.avatar,callback:function(i){t.avatar=i},expression:"avatar"}}),t.avatarError?e("p",{staticClass:"ae-field-hint ae-field-hint--error text-center -mt-3 mb-5"},[t._v(t._s(t.avatarError))]):t._e(),e("div",{staticClass:"flex items-start gap-2.5 bg-primary-50 rounded-lg px-3.5 py-3 text-xs text-primary-700 leading-snug mb-5"},[e("ae-icon",{staticClass:"text-primary flex-none mt-px",attrs:{icon:t.InfoCircleBold,size:20}}
264),e("span",[t._v(t._s(t.$t("signup.profile info")))])],1),e("div",{staticClass:"space-y-5"},[e("ae-phone-number-input",{attrs:{"country-id":t.countryId,countries:t.countries,label:t.$t("signup.phone"),error:t.phoneError||!1,required:""},on:{"update:countryId":function(i){t.countryId=i},"update:country-id":function(i){t.countryId=i}},model:{value:t.phoneNumber,callback:function(i){t.phoneNumber=i},expression:"phoneNumber"}}),e("ae-input",{attrs:{type:"date",float:!1,label:t.$t("signup.birthdate"),error:t.birthError||!1,hint:t.birthError?"":t.$t("signup.birthdate hint"),max:t.maxBirthDate,required:"",name:"birthDate"},on:{click:t.openDatePicker},scopedSlots:t._u([{key:"icon",fn:function(){return[e("ae-icon",{staticClass:"text-zinc-500",attrs:{icon:t.CalendarBold,size:20}})]},proxy:!0}]),model:{value:t.birthDate,callback:function(i){t.birthDate=i},expression:"birthDate"}})],1),e("ae-button",{staticClass:"w-full mt-5",attrs:{type:"submit",loading:t.submitting}},[t._v(" "+t._s(t.$t("signup.continue"))+" ")])],1)},he=[],me=l(pe,de,he,!1,null,"103bbb5c");const fe=me.exports,ge={name:"SignupPhoneStep",components:{AeButton:p,AeIcon:o,OtpInput:b},props:{phone:{type:String,default:""},phoneNumber:{type:String,default:""},phoneId:{type:[Number,String],default:null},countryId:{type:Number,default:1}},data(){return{BubbleChatBold:Object.freeze(B),stage:"send",code:"",error:"",submitting:!1}},computed:{displayPhone(){const s=this.phoneNumber||this.phone||"";if(!s)return"";const t=x.find(i=>i.id===this.countryId);if(!t)return s;const e=t.trunkZero?s.replace(/^0/,""):s;return t.dial?`+${t.dial} ${e}`:e}},deactivated(){this.code="",this.error=""},methods:{sendSms(){this.error="",this.submitting=!0,Et(this.phoneId).then(()=>{this.stage="verify"}).catch(s=>{this.error=c(s,this.$t("signup.phone send error"))}).finally(()=>{this.submitting=!1})},resend(){this.code="",this.stage="send"},verify(){this.code.length<6||this.submitting||(this.error="",this.submitting=!0,Dt(this.phoneId,this.code).then(()=>{this.$emit("verified")}).catch(s=>{this.error=c(s,this.$t("signup.phone wrong code")),this.code=""}).finally(()=>{this.submitting=!1}))}}};var ye=function(){var t=this,e=t._self._c;return e("div",{staticClass:"text-center"},[e("h2",{staticClass:"signup-step__title"},[t._v(t._s(t.$t("signup.phone title")))]),e("p",{staticClass:"signup-step__subtitle"},[t._v(t._s(t.$t("signup.phone subtitle")))]),t.stage==="send"?[e("ae-button",{staticClass:"w-full mb-3.5",attrs:{type:"button",loading:t.submitting},on:{click:t.sendSms}},[e("ae-icon",{attrs:{icon:t.BubbleChatBold,size:18}}),t._v(" "+t._s(t.$t("signup.phone send sms"))+" ")],1),e("p",{staticClass:"text-sm text-gray-600 mb-6 hyphens-none"},[t._v(" "+t._s(t.$t("signup.phone will send to"))+" "),e("strong",[t._v(t._s(t.displayPhone))]),t._v(". ")]),t.error?e("p",{staticClass:"ae-field-hint ae-field-hint--error text-center mt-1"},[t._v(t._s(t.error))]):t._e(),e("div",{staticClass:"flex justify-between items-center text-sm"},[e("a",{staticClass:"ae-link",on:{click:function(i){return i.preventDefault(),t.$emit("change-number")}}},[t._v(t._s(t.$t("signup.phone change number")))]),e("a",{staticClass:"ae-link ae-link--arrow",on:{click:function(i){return i.preventDefault(),t.$emit("skip")}}},[t._v(t._s(t.$t("signup.explore first")))])])]:e("form",{on:{submit:function(i){return i.preventDefault(),t.verify.apply(null,arguments)}}},[e("label",{staticClass:"block text-sm font-semibold text-gray-700 mb-3"},[t._v(t._s(t.$t("signup.phone code label")))]),e("otp-input",{staticClass:"mb-4",attrs:{length:6,disabled:t.submitting},on:{complete:t.verify},model:{value:t.code,callback:function(i){t.code=i},expression:"code"}}),t.error?e("p",{staticClass:"ae-field-hint ae-field-hint--error text-center mt-1"},[t._v(t._s(t.error))]):t._e(),e("p",{staticClass:"text-center text-sm mt-4"},[e("a",{staticClass:"ae-link",on:{click:function(i){return i.preventDefault(),t.resend.apply(null,arguments)}}},[t._v(t._s(t.$t("signup.phone resend")))])])],1)],2)},ve=[],_e=l(ge,ye,ve,!1,null,"7bd1fdea");const Ce=_e.exports,be={name:"SignupSuccess",components:{AeButton:p,AeIcon:o},data(){return{CheckCircleBold:Object.freeze(U),MedalStar:Object.freeze(G),CarSideBold:Object.freeze(Z),SearchBold:Object.freeze(T)}}};var xe=function(){var t=this,e=t._self._c;return e("div",{staticClass:"text-center"},[e("div",{staticClass:"flex justify-center mb-4"},[e("ae-icon",{staticClass:"text-primary",attrs:{icon:t.CheckCircleBold,size:80}}
264)],1),e("h2",{staticClass:"signup-step__title"},[t._v(t._s(t.$t("signup.success title")))]),e("p",{staticClass:"signup-step__subtitle"},[t._v(t._s(t.$t("signup.success subtitle")))]),e("div",{staticClass:"bg-gray-50 rounded-xl p-4 text-left mb-6"},[e("p",{staticClass:"flex items-center gap-1.5 text-sm font-bold text-gray-900 mb-3"},[e("ae-icon",{staticClass:"text-primary",attrs:{icon:t.MedalStar,size:20}}),t._v(" "+t._s(t.$t("signup.success rewards head"))+" ")],1),e("div",{staticClass:"bg-white rounded-lg p-3.5 mb-2.5 shadow-sm flex items-start gap-3"},[e("span",{staticClass:"flex-none w-10 h-10 rounded-md flex items-center justify-center bg-secondary-100"},[e("ae-icon",{staticClass:"text-secondary",attrs:{icon:t.CarSideBold,size:20}})],1),e("div",[e("span",{staticClass:"block text-xs font-bold uppercase tracking-wide text-secondary mb-1"},[t._v(" "+t._s(t.$t("signup.success driver tag"))+" ")]),e("strong",{staticClass:"block text-sm text-gray-900 mb-1"},[t._v(t._s(t.$t("signup.success driver title")))]),e("p",{staticClass:"text-xs text-gray-600 leading-snug"},[t._v(t._s(t.$t("signup.success driver text")))])])]),e("div",{staticClass:"bg-white rounded-lg p-3.5 shadow-sm flex items-start gap-3"},[e("span",{staticClass:"flex-none w-10 h-10 rounded-md flex items-center justify-center bg-primary-100"},[e("ae-icon",{staticClass:"text-primary",attrs:{icon:t.SearchBold,size:20}})],1),e("div",[e("span",{staticClass:"block text-xs font-bold uppercase tracking-wide text-primary mb-1"},[t._v(" "+t._s(t.$t("signup.success pax tag"))+" ")]),e("strong",{staticClass:"block text-sm text-gray-900 mb-1"},[t._v(t._s(t.$t("signup.success pax title")))]),e("p",{staticClass:"text-xs text-gray-600 leading-snug"},[t._v(t._s(t.$t("signup.success pax text")))])])])]),e("ae-button",{staticClass:"w-full",attrs:{type:"button"},on:{click:function(i){return t.$emit("continue")}}},[t._v(t._s(t.$t("signup.continue")))])],1)},we=[],Fe=l(be,xe,we,!1,null,"ca7a3de8");const $e=Fe.exports,ke={account:"choice",email:"account",password:"email",phone:"profile"},Se=["firstname","lastname","email","city"],ze=["password","tos"],f=["choice","account","email","password","profile","phone","success"],Me={name:"Signup",components:{layout:F,AeStepper:nt,SignupHero:bt,SignupChoice:kt,SignupAccountStep:It,SignupEmailStep:Zt,SignupPasswordStep:Qt,SignupProfileStep:fe,SignupPhoneStep:Ce,SignupSuccess:$e},mixins:[$],data(){return{currentStep:"choice",stepDirection:"forward",account:{firstname:"",lastname:"",email:"",city:""},phoneNumber:"",phoneId:null,countryId:1}},computed:{startStep(){return this.$page.props.startStep||"choice"},pageErrors(){return this.$page.props.errors||{}},prefill(){return this.$page.props.prefill||{firstName:null,lastName:null}},pendingEmail(){return this.account.email||this.$page.props.userEmail||""},userPhone(){return this.$page.props.userPhone||""},loginUrl(){return route("auth.show-login")},termsUrl(){return route("charter.terms")},googleUrl(){return route("auth.subscribe.google")},facebookUrl(){return route("auth.subscribe.facebook")},stepperSteps(){return[{label:""},{label:""},{label:""},{label:""},{label:this.$t("signup.optional")}]},stepperCurrent(){return{account:1,email:2,password:3,profile:4,phone:5,success:6}[this.currentStep]||1},backStep(){return ke[this.currentStep]||null},stepTransitionName(){return this.stepDirection==="back"?"signup-slide-right":"signup-slide-left"}},watch:{startStep(){this.currentStep=this.resolveInitialStep()},pageErrors(s){const t=this.stepForErrors(s);t&&t!==this.currentStep&&this.goTo(t)}},created(){this.addLocales(gt),this.addLocales(S),this.currentStep=this.resolveInitialStep()},methods:{stepForErrors(s){return Se.some(t=>s[t])?"account":ze.some(t=>s[t])?"password":null},resolveInitialStep(){const s=this.$page.props.errors||{};return this.stepForErrors(s)||(f.includes(this.startStep)?this.startStep:"choice")},goTo(s){this.stepDirection=f.indexOf(s)<f.indexOf(this.currentStep)?"back":"forward",this.currentStep=s,window.scrollTo({top:0,behavior:"smooth"})},onAccountNext(s){this.account={...this.account,...s},this.goTo("email")},onProfileDone(s){s&&(s.phoneNumber&&(this.phoneNumber=s.phoneNumber),s.phoneId!=null&&(this.phoneId=s.phoneId),s.countryId!=null&&(this.countryId=s.countryId)),this.goTo("phone")},skipToDashboard(){window.location.href=route("user.dashboard")}}};var Be=function(){var t=this,e=t._self._c;return e("layout",[e("div",{staticClass:"signup min-h-full bg-gray-100 px-6 lg:px-4 pt-8 pb-16"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[t.currentStep==="choice"?e("div",{key:"choice",staticClass:"max-w-6xl mx-auto grid grid-cols-1 md:grid-cols-12 gap-8 md:gap-16 items-center md:pt-8"},[e("signup-hero",{staticClass:"md:col-span-7"}),e("signup-choice",{staticClass:"md:col-span-5",attrs:{"login-url":t.loginUrl,"terms-url":t.termsUrl,"google-url":t.googleUrl,"facebook-url":t.facebookUrl},on:{email:function(i){return t.goTo("account")}}})],1):e("div",{key:"steps",staticClass:"flex justify-center pt-4"},[e("div",{staticClass:"w-full max-w-md bg-white rounded-2xl shadow-xl p-6 sm:p-8"},[t.backStep?e("a",{staticClass:"ae-link ae-link--back ae-link--arrow-back ae-link--grey mb-6",attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),t.goTo(t.backStep)}}},[t._v(" "+t._s(t.$t("signup.back"))+" ")]):t._e(),e("ae-stepper",{staticClass:"max-w-xs mx-auto mb-6",attrs:{steps:t.stepperSteps,current:t.stepperCurrent}}),e("transition",{attrs:{name:t.stepTransitionName,mode:"out-in"}},[e("keep-alive",[t.currentStep==="account"?e("signup-account-step",{attrs:{prefill:t.prefill,"login-url":t.loginUrl},on:{next:t.onAccountNext}}):t.currentStep==="email"?e("signup-email-step",{attrs:{email:t.pendingEmail},on:{verified:function(i){return t.goTo("password")}}}):t.currentStep==="password"?e("signup-password-step",{attrs:{"terms-url":t.termsUrl,account:t.account}}):t.currentStep==="profile"?e("signup-profile-step",{on:{done:t.onProfileDone}}):t.currentStep==="phone"?e("signup-phone-step",{attrs:{phone:t.userPhone,"phone-number":t.phoneNumber,"phone-id":t.phoneId,"country-id":t.countryId},on:{verified:function(i){return t.goTo("success")},"change-number":function(i){return t.goTo("profile")},skip:t.skipToDashboard}}):t.currentStep==="success"?e("signup-success",{on:{continue:t.skipToDashboard}}
264):t._e()],1)],1)],1)])])],1)])},Ee=[],De=l(Me,Be,Ee,!1,null,"9945689c");const t1=De.exports;export{t1 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.