PageSourceSearch

https://parkingcloud.eu/_next/static/chunks/12a_4r-q2adhm.js

js parkingcloud.eu collected 2026-10-02 01:53:51 UTC 24,079 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,66135,e=>{"use strict";let t=(0,e.i(56420).default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);e.s(["MailIcon",0,t],66135)},78696,e=>{"use strict";let t=(0,e.i(56420).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["CheckCircle2Icon",0,t],78696)},42593,e=>{"use strict";let t=(0,e.i(56420).default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);e.s(["MapPinIcon",0,t],42593)},80911,e=>{"use strict";let t=(0,e.i(56420).default)("warehouse",[["path",{d:"M18 21V10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v11",key:"pb2vm6"}],["path",{d:"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 1.132-1.803l7.95-3.974a2 2 0 0 1 1.837 0l7.948 3.974A2 2 0 0 1 22 8z",key:"doq5xv"}],["path",{d:"M6 13h12",key:"yf64js"}],["path",{d:"M6 17h12",key:"1jwigz"}]]);e.s(["WarehouseIcon",0,t],80911)},8804,e=>{"use strict";let t=(0,e.i(56420).default)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);e.s(["PhoneIcon",0,t],8804)},6419,19124,e=>{"use strict";var t=e.i(43476),a=e.i(71645),i=e.i(76896),s=e.i(63244);let l={formattedAddress:"",streetName:"",streetNumber:"",postalCode:"",city:"",province:"",country:"",countryCode:"",lat:null,lng:null,placeId:""};function n(e){let t={...l,formattedAddress:e.formatted_address??"",placeId:e.place_id??""};for(let a of e.address_components??[])a.types.includes("route")?t.streetName=a.long_name:a.types.includes("street_number")?t.streetNumber=a.long_name:a.types.includes("postal_code")?t.postalCode=a.long_name:a.types.includes("locality")||!t.city&&a.types.includes("administrative_area_level_3")?t.city=a.long_name:a.types.includes("administrative_area_level_2")?t.province=a.short_name:a.types.includes("country")&&(t.country=a.long_name,t.countryCode=a.short_name);return e.geometry?.location&&(t.lat=e.geometry.location.lat(),t.lng=e.geometry.location.lng()),t}e.s(["parsePlace",0,n],19124);let r=["formatted_address","address_components","geometry.location","name","place_id"],o=(0,a.forwardRef)(function({value:e,onChange:l,onPlaceSelect:o,mode:c="geocode",country:d="it",...u},m){let h=(0,i.useMapsLibrary)("places"),p=(0,a.useRef)(null),x=(0,a.useRef)(null),b=(0,a.useRef)(o),f=(0,a.useRef)(l);(0,a.useEffect)(()=>{b.current=o},[o]),(0,a.useEffect)(()=>{f.current=l},[l]),(0,a.useImperativeHandle)(m,()=>p.current),(0,a.useEffect)(()=>{if(!h||!p.current||x.current)return;let e=new h.Autocomplete(p.current,{componentRestrictions:{country:d},fields:[...r],types:function(e){switch(e){case"address":return["address"];case"cities":return["(cities)"];default:return["geocode"]}}(c)});x.current=e;let t=e.addListener("place_changed",()=>{let t=e.getPlace();if(!t||!t.address_components)return;let a=n(t);a.formattedAddress&&f.current(a.formattedAddress),b.current?.(a)});return()=>{t.remove(),x.current=null}},[h,d,c]);let g=(0,a.useCallback)(e=>{if("Enter"===e.key){let t=document.querySelector(".pac-container");t instanceof HTMLElement&&null!==t.offsetParent&&t.querySelector(".pac-item-selected, .pac-item")&&e.preventDefault()}u.onKeyDown?.(e)},[u]);return(0,t.jsx)("input",{...u,ref:p,type:"text",value:e,onChange:e=>l(e.target.value),onKeyDown:g,autoComplete:"off","data-maps-enabled":s.HAS_GOOGLE_MAPS?"true":"false"})});e.s(["PlacesAutocompleteInput",0,o],6419)},85854,e=>{"use strict";let t="https://notification.parkingcloud.eu",a={contact:`${t}/public/contact`,hostRequest:`${t}/public/host-request`,employeesRequest:`${t}/public/employees-request`,careersApplication:`${t}/public/careers-application`,subscriptionRequest:`${t}/public/subscription-request`};e.s(["NOTIFICATION_ENDPOINTS",0,a])},48564,e=>{"use strict";let t=(0,e.i(56420).default)("pencil-line",[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]]);e.s(["PencilLineIcon",0,t],48564)},94175,e=>{"use strict";let t=(0,e.i(56420).default)("building-2",[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}
1],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]]);e.s(["Building2Icon",0,t],94175)},51271,e=>{"use strict";var t=e.i(43476);e.s(["SmoothAnchor",0,function({href:e,className:a,"aria-label":i,children:s}){return(0,t.jsx)("a",{href:e,className:a,"aria-label":i,onClick:t=>{if(!e.startsWith("#"))return;let a=document.getElementById(e.slice(1));if(!a)return;t.preventDefault();let i=a.getBoundingClientRect(),s=window.scrollY+i.top-144;window.scrollTo({top:s,behavior:"smooth"})},children:s})}])},6062,e=>{"use strict";var t=e.i(43476);e.s(["Icon",0,function({name:e,className:a="ic",style:i}){return(0,t.jsx)("svg",{className:a,style:i,"aria-hidden":"true",children:(0,t.jsx)("use",{href:`#i-${e}`})})}])},63907,e=>{"use strict";var t=e.i(43476),a=e.i(71645),i=e.i(94175),s=e.i(78696);let l=(0,e.i(56420).default)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]);var n=e.i(66135),r=e.i(42593),o=e.i(48564),c=e.i(8804),d=e.i(95565),u=e.i(80911),m=e.i(6419),h=e.i(72694),p=e.i(85854),x=e.i(47163);let b=[{id:"aziendale",icon:i.Building2Icon,title:"Parcheggio aziendale",body:"Posti aziendali, multi-stallo."},{id:"autorimessa",icon:u.WarehouseIcon,title:"Autorimessa",body:"Garage commerciale o privato."},{id:"privato",icon:l,title:"Posto auto privato",body:"Box o posto del tuo immobile."}],f="h-10 w-full rounded-lg border border-white/20 bg-white/[0.06] px-3 text-[14px] text-white transition-colors placeholder:text-white/40 focus:border-white/60 focus:bg-white/[0.12] focus:outline-none focus:ring-3 focus:ring-white/15";function g({label:e,icon:a,required:i,htmlFor:s,children:l}){return(0,t.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,t.jsxs)("label",{htmlFor:s,className:"inline-flex items-center gap-1.5 text-[12px] font-semibold text-white/85",children:[(0,t.jsx)(a,{className:"size-3.5 text-white/55","aria-hidden":!0}),e,i?null:(0,t.jsx)("span",{className:"text-[10.5px] font-normal text-white/45",children:"(opzionale)"})]}),l]})}function j({typeLabel:e,email:a,onReset:i}){return(0,t.jsxs)("div",{role:"status",className:"text-left flex flex-col items-center gap-4 roun
1ded-2xl border border-white/15 bg-white/[0.04] p-6 text-center backdrop-blur-sm sm:p-8",children:[(0,t.jsx)("span",{className:"inline-flex size-12 items-center justify-center rounded-full bg-white text-primary-700",children:(0,t.jsx)(s.CheckCircle2Icon,{className:"size-6","aria-hidden":!0})}),(0,t.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,t.jsx)("span",{className:"block text-[20px] font-semibold tracking-tight text-white",children:"Richiesta inviata."}),(0,t.jsxs)("span",{className:"block text-[14px] leading-relaxed text-white/80",children:["Abbiamo ricevuto la tua candidatura come host"," ",(0,t.jsx)("span",{className:"font-semibold text-white",children:e}),". Ti risponderemo a"," ",(0,t.jsx)("span",{className:"font-semibold text-white",children:a})," entro 24 ore."]})]}),(0,t.jsx)("button",{type:"button",onClick:i,className:"text-[13px] font-semibold text-white underline-offset-4 hover:underline",children:"Invia un’altra richiesta"})]})}e.s(["HostRequestForm",0,function({formTitle:e,submitLabel:i}){let s=(0,a.useId)(),[l,u]=(0,a.useState)("aziendale"),[v,y]=(0,a.useState)(""),[N,w]=(0,a.useState)(""),[k,I]=(0,a.useState)(""),[C,z]=(0,a.useState)(""),[M,S]=(0,a.useState)(""),[A,R]=(0,a.useState)("idle"),[P,_]=(0,a.useState)(null),L=Object.fromEntries(b.map(e=>[e.id,e.title])),T=async e=>{if(e.preventDefault(),"submitting"!==A){R("submitting"),_(null);try{let e=await fetch(p.NOTIFICATION_ENDPOINTS.hostRequest,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({hostType:l,name:v,location:N,email:k,phone:C||void 0,notes:M||void 0})});if(!e.ok){let t=await e.json().catch(()=>null);throw Error(t?.error??"Qualcosa è andato storto. Riprova tra poco.")}(0,h.trackGenerateLead)({evType:"become_host",email:k,...(0,h.splitFullName)(v)}),R("success")}catch(e){R("error"),_(e instanceof Error?e.message:"Qualcosa è andato storto. Riprova tra poco.")}}};return"success"===A?(0,t.jsx)(j,{typeLabel:L[l],email:k,onReset:()=>{R("idle"),y(""),w(""),I(""),z(""),S("")}}):(0,t.jsxs)("form",{id:s,onSubmit:T,className:"text-left flex flex-col gap-5 rounded-2xl border border-white/15 bg-white/[0.04] p-5 backdrop-blur-sm sm:p-6 lg:p-7",children:[(0,t.jsx)("h3",{className:"text-[17px] font-semibold tracking-tight text-white sm:text-[19px]",children:e}),(0,t.jsxs)("fieldset",{className:"flex flex-col gap-2",children:[(0,t.jsx)("legend",{className:"mb-2 inline-flex items-center gap-1.5 text-[12px] font-semibold uppercase tracking-[0.14em] text-white/60",children:"Tipologia host"}),(0,t.jsx)("ul",{className:"grid gap-2 sm:grid-cols-3",children:b.map(({id:e,icon:a,title:i,body:s})=>{let n=l===e;return(0,t.jsx)("li",{children:(0,t.jsxs)("button",{type:"button",onClick:()=>u(e),"aria-pressed":n,className:(0,x.cn)("flex h-full w-full flex-col gap-2 rounded-xl border px-3 py-2.5 text-left transition-colors",n?"border-white bg-white text-primary-700":"border-white/15 bg-white/[0.03] text-white/85 hover:border-white/35 hover:bg-white/[0.06]"),children:[(0,t.jsx)("span",{className:(0,x.cn)("inline-flex size-8 items-center justify-center rounded-lg",n?"bg-primary-700 text-white":"bg-white/10 text-white"),children:(0,t.jsx)(a,{className:"size-4","aria-hidden":!0})}),(0,t.jsx)("span",{className:"block text-[13px] font-semibold tracking-tight",children:i}),(0,t.jsx)("span",{className:"block text-[11.5px] leading-snug opacity-80",children:s})]})},e)})})]}),(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsx)(g,{label:"Nome",icon:d.UserIcon,required:!0,htmlFor:`${s}-name`,children:(0,t.jsx)("input",{id:`${s}-name`,type:"text",required:!0,autoComplete:"name",value:v,onChange:e=>y(e.target.value),placeholder:"Mario Rossi · Acme S.r.l.",className:f})}),(0,t.jsx)(g,{label:"Zona del parcheggio",icon:r.MapPinIcon,required:!0,htmlFor:`${s}-location`,children:(0,t.jsx)(m.PlacesAutocompleteInput,{id:`${s}-location`,required:!0,value:N,onChange:w,mode:"geocode",placeholder:"Es. Via Manzoni 12, Milano",className:f})})]}),(0,t.jsx)(g,{label:"Dettagli ed esigenze",icon:o.PencilLineIcon,htmlFor:`${s}-notes`,children:(0,t.jsx)("textarea",{id:`${s}-notes`,value:M,onChange:e=>S(e.target.value),placeholder:"Raccontaci del parcheggio: numero di posti, orari, modello preferito... più dettagli ci dai, più mirata sarà la proposta.",rows:3,maxLength:2e3,className:"min-h-[88px] w-full resize-y rounded-lg border border-white/20 bg-white/[0.06] px-3 py-2.5 text-[14px] leading-relaxed text-white transition-colors placeholder:text-white/40 focus:border-white/60 focus:bg-white/[0.12] focus:outline-none focus:ring-3 focus:ring-white/15"})}),(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsx)(g,{label:"Email",icon:n.MailIcon,required:!0,htmlFor:`${s}-email`,children:(0,t.jsx)("input",{id:`${s}-email`,type:"email",required:!0,autoComplete:"email",value:k,onChange:e=>I(e.target.value),placeholder:"[email protected]",className:f})}),(0,t.jsx)(g,{label:"Telefono",icon:c.PhoneIcon,htmlFor:`${s}-phone`,children:(0,t.jsx)("input",{id:`${s}-phone`,type:"tel",autoComplete:"tel",value:C,onChange:e=>z(e.target.value),placeholder:"+39 …",className:f})})]}),"error"===A&&P?(0,t.jsx)("span",{role:"alert",className:"block rounded-lg border border-red-300/40 bg-red-500/15 px-3.5 py-2.5 text-[13px] text-red-100",children:P}):null,(0,t.jsx)("div",{className:"flex items-center justify-end pt-1",children:(0,t.jsx)("button",{type:"submit",disabled:"submitting"===A,className:(0,x.cn)("inline-flex h-11 items-center justify-center gap-2 rounded-full bg-white px-5 text-[14px] font-semibold text-primary-700 transition-all hover:bg-white/95 active:translate-y-
1px disabled:cursor-not-allowed disabled:opacity-60"),children:"submitting"===A?"Invio in corso…":i})})]})}],63907)},35411,e=>{"use strict";var t=e.i(43476),a=e.i(6062);e.s(["DhHeroActions",0,function({primaryLabel:e,secondaryLabel:i}){let s=(e,t)=>{let a=document.getElementById(t);if(!a)return;e.preventDefault();let i=a.getBoundingClientRect(),s=window.scrollY+i.top-144;window.scrollTo({top:s,behavior:"smooth"})};return(0,t.jsxs)("div",{className:"actions",children:[(0,t.jsxs)("a",{className:"btn-light",href:"#contattaci",onClick:e=>s(e,"contattaci"),children:[(0,t.jsx)(a.Icon,{name:"mail"}),e]}),(0,t.jsxs)("a",{className:"btn-outline",href:"#aziendali",onClick:e=>s(e,"aziendali"),children:[i,(0,t.jsx)(a.Icon,{name:"arrow-r",style:{width:14,height:14}})]})]})}])},45970,e=>{"use strict";var t=e.i(43476),a=e.i(71645),i=e.i(6062),s=e.i(51271);let l=30,n=12,r=3,o=new Intl.NumberFormat("it-IT",{style:"currency",currency:"EUR",maximumFractionDigits:0}),c=new Intl.NumberFormat("it-IT");function d(e,t,a){return Number.isNaN(e)?t:Math.max(t,Math.min(a,Math.round(e)))}function u({id:e,label:a,value:i,min:s,max:l,step:n=1,suffix:r,onChange:o}){return(0,t.jsxs)("div",{className:"dh-sim-input",children:[(0,t.jsx)("label",{htmlFor:e,className:"dh-sim-input-label",children:a}),(0,t.jsxs)("div",{className:"dh-sim-input-row",children:[(0,t.jsx)("button",{type:"button",onClick:()=>o(Math.max(s,i-n)),"aria-label":`Diminuisci ${a}`,disabled:i<=s,children:"−"}),(0,t.jsx)("input",{id:e,type:"number",inputMode:"numeric",min:s,max:l,step:1,value:i,onChange:e=>o(Number(e.target.value))}),(0,t.jsx)("button",{type:"button",onClick:()=>o(Math.min(l,i+n)),"aria-label":`Aumenta ${a}`,disabled:i>=l,children:"+"}),r?(0,t.jsx)("span",{className:"dh-sim-input-suffix",children:r}):null]})]})}function m({value:e,onChange:a}){return(0,t.jsxs)("div",{className:"dh-sim-input",children:[(0,t.jsx)("span",{className:"dh-sim-input-label",children:"Modalità di apertura"}),(0,t.jsxs)("div",{role:"radiogroup","aria-label":"Modalità di apertura",className:"dh-sim-modes",children:[(0,t.jsx)("button",{type:"button",role:"radio","aria-checked":"fulltime"===e,onClick:()=>a("fulltime"),className:"fulltime"===e?"active":"",children:"Fulltime"}),(0,t.jsx)("button",{type:"button",role:"radio","aria-checked":"parttime"===e,onClick:()=>a("parttime"),className:"parttime"===e?"active":"",children:"Sera + weekend"})]})]})}e.s(["DhRevenueSimulator",0,function({customLabel:e="Richiedi un pacchetto custom"}){let h=(0,a.useId)(),p=(0,a.useId)(),[x,b]=(0,a.useState)(30),[f,g]=(0,a.useState)(30),[j,v]=(0,a.useState)("fulltime"),{lordo:y,feeVariabile:N,minGarantito:w}=(0,a.useMemo)(()=>{let e="fulltime"===j?x*f*l*.55:x*f*n*r*.3;return{lordo:e,feeVariabile:.8*e,minGarantito:.5*e}},[x,f,j]);return(0,t.jsxs)("div",{className:"dh-sim",children:[(0,t.jsxs)("div",{className:"dh-sim-card",children:[(0,t.jsxs)("div",{className:"dh-sim-inputs",children:[(0,t.jsx)("h4",{className:"dh-sim-h4",children:"Configura la tua simulazione"}),(0,t.jsx)(m,{value:j,onChange:v}),(0,t.jsx)(u,{id:h,label:"Numero di posti",value:x,min:1,max:500,onChange:e=>b(d(e,1,500)),suffix:1===x?"posto":"posti"}),(0,t.jsx)(u,{id:p,label:"Periodo",value:f,min:1,max:365,step:5,onChange:e=>g(d(e,1,365)),suffix:1===f?"giorno":"giorni"}),(0,t.jsxs)("div",{className:"dh-sim-params",children:[(0,t.jsx)("span",{className:"dh-sim-params-kicker",children:"Calcolato su valori medi di mercato"}),(0,t.jsx)("ul",{children:"fulltime"===j?(0,t.jsxs)("li",{children:[(0,t.jsx)("span",{children:"Prezzo giornaliero medio"}),(0,t.jsx)("b",{children:o.format(l)})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("li",{children:[(0,t.jsx)("span",{children:"Ore disponibili al giorno (sera + weekend)"}),(0,t.jsx)("b",{children:c.format(n)})]}),(0,t.jsxs)("li",{children:[(0,t.jsx)("span",{children:"Tariffa oraria media"}),(0,t.jsx)("b",{children:o.format(r)})]})]})})]})]}),(0,t.jsxs)("div",{className:"dh-sim-outputs",children:[(0,t.jsx)("div",{className:"dh-sim-breakdown",children:(0,t.jsxs)("div",{className:"dh-sim-row total",children:[(0,t.jsxs)("span",{className:"kic",children:["Lordo stimato · ","fulltime"===j?"Fulltime":"Sera + weekend"]}),(0,t.jsx)("span",{className:"num",children:o.format(y)})]})}),(0,t.jsxs)("div",{className:"dh-sim-results",children:[(0,t.jsxs)("div",{className:"dh-sim-result featured",children:[(0,t.jsx)("span",{className:"kic",children:"Fee Variabile"}),(0,t.jsx)("span",{className:"num",children:o.format(N)}
1),(0,t.jsx)("span",{className:"lbl",children:"80% del lordo · nessun rischio commerciale"})]}),(0,t.jsxs)("div",{className:"dh-sim-result",children:[(0,t.jsx)("span",{className:"kic",children:"Min Garantito + Fee"}),(0,t.jsxs)("span",{className:"num",children:[o.format(w),(0,t.jsx)("small",{children:" +"})]}),(0,t.jsx)("span",{className:"lbl",children:"Da 50% canone base · rev-share aggiuntiva oltre la soglia"})]})]}),(0,t.jsxs)("div",{className:"dh-sim-cta-row",role:"note",children:[(0,t.jsxs)("div",{className:"text",children:[(0,t.jsx)("span",{className:"kic",children:"Volume elevato o esigenze diverse?"}),(0,t.jsxs)("span",{className:"msg",children:["Costruiamo un pacchetto ",(0,t.jsx)("strong",{children:"custom"})," nel sopralluogo gratuito, senza impegno."]})]}),(0,t.jsxs)(s.SmoothAnchor,{className:"dh-sim-cta",href:"#contattaci",children:[e,(0,t.jsx)(i.Icon,{name:"arrow-r",style:{width:14,height:14}})]})]})]})]}),(0,t.jsx)("p",{className:"dh-sim-foot",children:"Valori indicativi, calcolati su parametri medi di mercato. La proposta definitiva è confermata nel sopralluogo gratuito."})]})}])},58496,e=>{"use strict";var t=e.i(43476),a=e.i(71645),i=e.i(6062);e.s(["DhVideoPlayer",0,function({kicker:e,title:s,body:l,ctaLabel:n,vidLabel:r,vidDuration:o,src:c,poster:d}){let[u,m]=(0,a.useState)(!1);return(0,t.jsxs)("div",{className:"dh-video",children:[(0,t.jsxs)("div",{className:"video-text",children:[(0,t.jsx)("p",{className:"kicker",children:e}),(0,t.jsx)("h4",{children:s}),(0,t.jsx)("p",{children:l}),(0,t.jsxs)("button",{type:"button",className:"video-cta",onClick:()=>m(!0),disabled:u,children:[(0,t.jsx)(i.Icon,{name:"play"}),n]})]}),u?(0,t.jsx)("video",{className:"video-player",src:c,poster:d,controls:!0,autoPlay:!0,playsInline:!0,preload:"metadata"}):(0,t.jsxs)("button",{type:"button",className:"video-thumb",onClick:()=>m(!0),"aria-label":"Riproduci video",style:{backgroundImage:`url(${d})`,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundBlendMode:"normal",border:"none"},children:[r?(0,t.jsx)("span",{className:"vid-label",children:r}):null,(0,t.jsx)("span",{className:"vid-duration",children:o}),(0,t.jsx)("div",{className:"play",children:(0,t.jsx)("svg",{"aria-hidden":!0,children:(0,t.jsx)("use",{href:"#i-play"})})})]})]})}])},34847,e=>{"use strict";var t=e.i(43476),a=e.i(71645);let i=[{eyebrow:"Network · Italia",target:1e4,label:"Automobilisti attivi sulla piattaforma. Ospiti hotel, pazienti, pendolari: utenti già abituati a pagare in app.",meta:"aggiornato live"},{eyebrow:"Inventory",target:500,label:"Posti auto sulla piattaforma, fra aziendali, autorimesse e privati. In tutta Italia, principali città.",meta:"+12 / mese"},{eyebrow:"B2B",target:30,label:"Partner B2B attivi: uffici, hotel, autorimesse e cliniche che monetizzano gli spazi inutilizzati.",meta:"onboarding continuo"}];e.s(["DhStats",0,function({data:e}){let s=i.map((t,a)=>({eyebrow:e?.[a]?.eyebrow??t.eyebrow,target:e?.[a]?.target??t.target,label:e?.[a]?.label??t.label,meta:e?.[a]?.meta??t.meta})),l=(0,a.useRef)(null),[n,r]=(0,a.useState)(!1),[o,c]=(0,a.useState)(()=>s.map(()=>0));return(0,a.useEffect)(()=>{let e=l.current;if(!e)return;let t=new IntersectionObserver(e=>{let a=e[0];a?.isIntersecting&&(r(!0),t.disconnect())},{threshold:.35});return t.observe(e),()=>t.disconnect()},[]),(0,a.useEffect)(()=>{if(!n)return;let e=performance.now(),t=0,a=i=>{let l=Math.min((i-e)/1800,1);c(s.map(e=>Math.round(e.target*(1-Math.pow(1-l,3))))),l<1?t=requestAnimationFrame(a):c(s.map(e=>e.target))};return t=requestAnimationFrame(a),()=>cancelAnimationFrame(t)},[n]),(0,t.jsx)("section",{ref:l,className:`dh-stats${n?" in-view":""}`,id:"dh-stats",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsx)("div",{className:"stats-grid",children:s.map((e,a)=>(0,t.jsxs)("div",{className:"dh-stat",children:[(0,t.jsx)("span",{className:"stat-eyebrow",children:e.eyebrow}),(0,t.jsxs)("span",{className:"stat-num",children:[(0,t.jsx)("span",{className:"plus",children:"+"}),(0,t.jsx)("span",{className:"target",children:(o[a]??0).toLocaleStr
1ing("it-IT")})]}),(0,t.jsx)("span",{className:"stat-label",children:e.label}),(0,t.jsxs)("span",{className:"stat-meta",children:[(0,t.jsx)("span",{className:"dot"}),e.meta]}),(0,t.jsx)("span",{className:"stat-bar"})]},e.eyebrow))})})})}])},68857,e=>{"use strict";var t=e.i(43476),a=e.i(71645),i=e.i(6062);let s=[{id:"aziendali",num:"01",fallbackLabel:"Parcheggio aziendale"},{id:"autorimesse",num:"02",fallbackLabel:"Autorimessa"},{id:"privati",num:"03",fallbackLabel:"Posto auto privato"}];function l({data:e,active:n,onChange:r}){let o=e?.sectionLabel??"Sei un",c=e?.anchorCtaLabel??"Vai al contatto",d=s.map((t,a)=>({...t,label:(0===a?e?.tab1Label:1===a?e?.tab2Label:e?.tab3Label)??t.fallbackLabel})),u=(0,a.useRef)({aziendali:null,autorimesse:null,privati:null}),m=e=>{r(e),history.replaceState(null,"",`#${e}`)};return(0,t.jsx)("nav",{className:"dh-tabs","aria-label":"Categorie host",children:(0,t.jsxs)("div",{className:"inner",role:"tablist",children:[(0,t.jsx)("span",{className:"tab-label",children:o}),d.map((e,a)=>(0,t.jsxs)("button",{ref:t=>{u.current[e.id]=t},type:"button",role:"tab",id:`dh-tab-${e.id}`,"aria-selected":n===e.id,"aria-controls":`dh-panel-${e.id}`,tabIndex:n===e.id?0:-1,"data-tab":e.id,className:`tab${n===e.id?" is-active":""}`,onClick:()=>m(e.id),onKeyDown:e=>((e,t)=>{if("ArrowRight"!==e.key&&"ArrowLeft"!==e.key)return;e.preventDefault();let a=d[(t+("ArrowRight"===e.key?1:-1)+d.length)%d.length];m(a.id),u.current[a.id]?.focus()})(e,a),children:[(0,t.jsx)("span",{className:"num",children:e.num}),e.label]},e.id)),(0,t.jsx)("span",{className:"spacer"}),(0,t.jsxs)("a",{className:"anchor-cta",href:"#contattaci",onClick:e=>{let t=document.getElementById("contattaci");if(!t)return;e.preventDefault();let a=t.getBoundingClientRect(),i=window.scrollY+a.top-144;window.scrollTo({top:i,behavior:"smooth"})},children:[c," ",(0,t.jsx)(i.Icon,{name:"arrow-r"})]})]})})}let n=["aziendali","autorimesse","privati"];e.s(["DhTabsLayout",0,function({tabsData:e,aziendali:i,autorimesse:s,privati:r}){let[o,c]=(0,a.useState)("aziendali");return(0,a.useEffect)(()=>{let e=()=>{let e=window.location.hash.replace(/^#/,"");n.includes(e)&&(c(e),requestAnimationFrame(()=>{let t=document.getElementById(e);if(!t)return;let a=window.scrollY+t.getBoundingClientRect().top-144;window.scrollTo({top:a,behavior:"smooth"})}))};return e(),window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l,{data:e,active:o,onChange:c}),[{id:"aziendali",node:i},{id:"autorimesse",node:s},{id:"privati",node:r}].map(e=>(0,t.jsx)("div",{role:"tabpanel",id:`dh-panel-${e.id}`,"aria-labelledby":`dh-tab-${e.id}`,hidden:o!==e.id,children:e.node},e.id))]})}],68857)}]);

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.