1import{g as h,x as w}from"./app--lW3PYU6.js";import{_ as k}from"./SuitableTimeSelect-Becq13oR.js";import{a as S}from"./RentbirdRelocation-Cmz7El-p.js";import{r as c,k as M,N as v,z as x,A as E,B as d,E as u,Q as q,V as I,K as R}from"./Button-CusjfCl3.js";import"./Checkbox-BNbi_2jG.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"17af8e55c580f79fe0bd3ddf4616f461480ef34d"},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(n){for(var s=1;s<arguments.length;s++){var l=arguments[s];if(l!=null)for(var i in l)l.hasOwnProperty(i)&&(n[i]=l[i])}return n}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:rentbird-frontend":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fc7fe090-41a1-430f-9cbc-cadf76b82dce",e._sentryDebugIdIdentifier="sentry-dbid-fc7fe090-41a1-430f-9cbc-cadf76b82dce")}catch{}})();const B={__name:"StepScheduleCall",setup(e){var m,p,f,_,y,g;const t=q(),n=c([]),s=c((f=(p=(m=t.props)==null?void 0:m.route)==null?void 0:p.query
1)==null?void 0:f.email),l=c((g=(y=(_=t.props)==null?void 0:_.route)==null?void 0:y.query)==null?void 0:g.name);M(()=>{if(!document.querySelector('script[src="https://assets.calendly.com/assets/external/widget.js"]')){const r=document.createElement("script");r.src="https://assets.calendly.com/assets/external/widget.js",r.async=!0,r.onload=()=>{Calendly.initInlineWidget({url:"https://calendly.com/rentbird-plus/rentbird-plus-intakegesprek-intake-call-clone?hide_gdpr_banner=1",parentElement:document.getElementById("calendly-embed"),resize:!0,prefill:{name:l.value||"",email:s.value||""}});function o(a){var b;return a.origin==="https://calendly.com"&&((b=a.data.event)==null?void 0:b.startsWith("calendly."))}window.addEventListener("message",function(a){o(a)&&a.data.event==="calendly.event_scheduled"&&v.visit(h("rentbird-relocation-thank-you-q"))})},document.body.appendChild(r)}});const i=async r=>{const{errors:o,hasErrors:a}=await S(r);if(a){n.value=o;return}v.visit(h("rentbird-relocation-thank-you-q"))};return(r,o)=>(x(),E("div",null,[o[0]||(o[0]=d("div",{id:"calendly-embed"},null,-1)),u(k,{email:s.value,errors:n.value,onSendRequest:i},null,8,["email","errors"])]))}},C={class:"container px-4 mx-auto lg:pt-7"},D={class:"flex items-center"},N={class:"text-2xl mt-3 font-medium text-purple-700 lg:text-4xl lg:mb-5"},T={class:"block lg:flex lg:mb-14 text-purple-700"},$={class:"bg-white px-4 lg:px-6 py-4 lg:py-6 mt-4 lg:mt-0 rounded-md lg:mb-10 w-full min-h-[700px]"},j={__name:"RentbirdRelocationPageScheduleCallQ",setup(e){return(t,n)=>(x(),E(R,null,[u(w,{logo:"rentbird-relocation"}),d("div",C,[d("div",D,[d("h1",N,I(t.$trans("StepScheduleCall.Relocation.Title")),1)]),d("div",T,[d("div",$,[u(B)])])])],64))}};export{j as default}; 2//# sourceMappingURL=RentbirdRelocationPageScheduleCallQ-Plj4W5Ck.js.map
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.