1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[67],{GXeJ:function(t,e,n){"use strict";var o=n("cxan"),r=n("ERkP"),i=n.n(r),a=n("voCV"),c=n("QtE3"),l=n("NAJH"),u=n("OzPX"),s=n("0D0S"),d=n.n(s),p=i.a.createElement,f=d()().publicRuntimeConfig.FAI_CONTACT_FORM||"//beta.faiconnect.caffeina.be/contact-form",m=Object(a.a)(Object(l.b)(),Object(l.a)(),Object(l.d)([{prop:"title",label:"Titolo"},{prop:"subtitle",label:"Sottotitolo",type:"WYSIWYG"},{prop:"ctaLabel",label:"Label CTA"},{prop:"disclaimer",label:"Disclaimer Privacy",type:"WYSIWYG"},{prop:"defaultArea",label:"Selezione flusso",type:"apiChooser",options:[{option:"false||OGGETTO LIBERO",displayName:"false"},{option:"".concat(f,"/aree||IMPOSTA OGGETTO"),displayName:"label"}],initialValue:"false",api:{prop:"data",resource:"apiChooser"}}]),Object(u.a)("apiChooser"));e.a=m((function(t){var e=!(!t.defaultArea||"false"===t.defaultArea||!t.defaultArea.length)&&t.defaultArea[0].split("|")[1],n=!t.defaultArea||"false"===t.defaultArea;return p(c.ContactForm,Object(o.a)({},t,{defaultArea:e,isSelectEnabled:n}))}))},MJc2:function(t,e,n){var o=n("KEM+");function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){o(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var a=n("ERkP"),c=n("8cHP").Link;t.exports=function(t){return a.createElement(t.route?c:"a",i(i({},t),{},{href:t.route||t.to||""}),t.children)}},YY8h:function(t,e,n){"use strict";var o=n("cxan"),r=n("9fIP"),i=n("MMYH"),a=n("K/z8"),c=n("sRHE"),l=n("8K1b"),u=n("ERkP"),s=n.n(u),d=n("QtE3"),p=n("Ehz4"),f=n("bAhH"),m=s.a.createElement;function g(t,e,n){return e=Object(c.a)(e),Object(a.a)(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,n||[],Object(c.a)(t).constructor):e.apply(t,n))}var b=function(t){function e(){return Object(r.a)(this,e),g(this,e,arguments)}return Object(l.a)(e,t),Object(i.a)(e,[{key:"render",value:function(){var t=this,e=this.props,n=e.id,r=e.title,i=e.id_comitato,a=e.slug,c=e.handleCardClick,l=e.fixedStatus,u=e.anchor,s=e.luogoSalvato,g=e.votesDisabled;return m(p.a,{id:n,title:r,id_comitato:i,slug:a},(function(e){var r=e.status,i=e.tokenId,p=l||r,b=g?null:function(){return m(f.a,Object(o.a)({},t.props,e))},h=s?"/luoghi/".concat(a,"?luogoSalvato").concat(u||""):"/luoghi/".concat(a,"?ldc").concat(u||"");return m(d.VoteCard,Object(o.a)({},t.props,{link:h,onClick:"function"===typeof c?function(){return c({slug:a,id:n,url:h})}:null,status:p,tokenId:i,renderButton:b,luogoSalvato:s}))}))}}])}(s.a.Component);e.a=b},bAhH:function(t,e,n){"use strict";var o=n("9fIP"),r=n("MMYH"),i=n("K/z8"),a=n("sRHE"),c=n("8K1b"),l=n("zjfJ"),u=n("ERkP"),s=n.n(u),d=n("QtE3"),p=n("j/s1"),f=n("ezIv"),m=s.a.createElement;function g(t,e,n){return e=Object(a.a)(e),Object(i.a)(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,n||[],Object(a.a)(t).constructor):e.apply(t,n))}var b=function(t){function e(){var t;return Object(o.a)(this,e),t=g(this,e),Object(l.a)(t,"showThankYou",(function(){t.setState({showThankYou:!0}),setTimeout((function(){return t.setState({showThankYou:!1})}),7e3)})),t.state={showThankYou:!1},t}return Object(c.a)(e,t),Object(r.a)(e,[{key:"render",value:function(){var t=this,e=this.props,n=e.user,o=e.progress,r=e.status,i=e.errorMessage,a=e.friends,c=e.showShareOverlay,l=e.tokenId,u=e.requestVote,p=e.resendEmail,g=e.voteUser,b=this.state.showThankYou;return Object(f.i)()?m(s.a.Fragment,null,n&&n.id&&m(s.a.Fragment,null,"VOTED"!==r&&a&&a.length>0&&m(h,null,m(v,null,m("strong",null,a.length)," ","".concat(1===a.length?"am
1ico ha":"amici hanno"," votato")),m(O,null,a.slice(0,3).map((function(t,e){return m(y,{url:t.picture,title:t.name,alt:t.name,first:0===e,last:2===e})})))),"VOTED"===r&&(b?m(E,null,"Grazie per aver votato!"):m(d.Button,{onClick:c},m("span",null,"condividi")))),(!n||!n.id)&&g&&g.email&&"VOTED"===r&&(b?m(E,null,"Grazie per aver votato!"):m(d.Button,{onClick:c},m("span",null,"condividi"))),(!n||!n.id)&&g&&g.email&&"VOTE_PENDING"===r&&m("div",null,m(C,null,"Controlla la tua email per confermare il voto"),m(S,null,m("a",{onClick:function(){return p()}},"reinvia email"))),(!r||"FAILED"===r)&&m(d.Button,{onClick:function(){t.showThankYou(),u({tokenId:l})}},m("span",null,"Vota con 1 clic")),"LOADING"===r&&m(d.Button,{disabled:!0},m("span",null,"loading")),"FAILED"===r&&i&&m(k,{dangerouslySetInnerHTML:{__html:"\n ".concat(i,"\n ")}}),"FAILED"===r&&!i&&m(k,null,"Salvataggio fallito. Riprova pi\xf9 tardi")):m(s.a.Fragment,null,"VOTED"!==r&&a&&a.length>0&&m(h,null,m(v,null,m("strong",null,a.length)," ","".concat(1===a.length?"amico ha":"amici hanno"," votato")),m(O,null,a.slice(0,3).map((function(t,e){return m(y,{url:t.picture,title:t.name,alt:t.name,first:0===e,last:2===e})})))),n&&n.id&&"VOTED"===r&&o&&m(_,null,m(j,null,m(w,null,"Scheda luogo completata al"," ",m("strong",null,o,"%")),m(I,{progress:o}))))}}])}(s.a.Component),h=p.d.div.withConfig({displayName:"VoteUI__Socials",componentId:"sc-15bs0d9-0"})(["display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;height:3.5rem;"]),v=p.d.div.withConfig({displayName:"VoteUI__SocialsText",componentId:"sc-15bs0d9-1"})(["color:",";font-size:0.8rem;"],(function(t){return t.theme.colors.darkGrey})),O=p.d.div.withConfig({displayName:"VoteUI__SocialFaces",componentId:"sc-15bs0d9-2"})(["display:flex;"]),y=p.d.div.withConfig({displayName:"VoteUI__Face",componentId:"sc-15bs0d9-3"})(["height:40px;width:40px;position:relative;border-radius:50%;border:2px solid #fff;overflow:hidden;",";",";background-image:url(","),url(https://fai-website.imgix.net/static/generic_user_icon.svg);background-position:center center;background-size:cover;"],(function(t){return t.first&&"transform: translate(25%,0)"}),(function(t){return t.last&&"transform: translate(-25%,0)"}),(function(t){return t.url})),_=p.d.div.withConfig({displayName:"VoteUI__Progress",componentId:"sc-15bs0d9-4"})(["margin-bottom:1rem;height:3.5rem;display:flex;align-items:center;width:100%;"]),j=p.d.div.withConfig({displayName:"VoteUI__ProgressInner",componentId:"sc-15bs0d9-5"})(["width:100%;"]),w=p.d.div.withConfig({displayName:"VoteUI__ProgressText",componentId:"sc-15bs0d9-6"})(["color:",";font-size:0.8rem;text-align:left;margin-bottom:0.5rem;"],(function(t){return t.theme.colors.darkGrey})),I=p.d.div.withConfig({displayName:"VoteUI__ProgressBar",componentId:"sc-15bs0d9-7"})(["position:relative;height:0.25rem;background-color:",';&:before{content:"";position:absolute;left:0;width:',"%;height:100%;background-color:#e74f30;}"],(function(t){return t.theme.colors.lightGrey}),(function(t){return t.progress})),E=p.d.span.withConfig({displayName:"VoteUI__Message",componentId:"sc-15bs0d9-8"})(["font-weight:600;color:",";display:block;padding:0.875rem 0;letter-spacing:0.07em;"],(function(t){return t.theme.colors.orange})),k=p.d.div.withConfig({displayName:"VoteUI__Failed",componentId:"sc-15bs0d9-9"})(["margin-top:0.5rem;color:red;font-size:0.75rem;letter-spacing:0.075em;"]),C=p.d.span.withConfig({displayName:"VoteUI__EmailPendingMessage",componentId:"sc-15bs0d9-10"})(["font-weight:600;color:",";display:block;padding:0.875rem 0 0.3rem 0;letter-spacing:0.07em;"],(function(t){return t.theme.colors.orange})),S=p.d.small.withConfig({displayName:"VoteUI__EmailPendingResendLink",componentId:"sc-15bs0d9-11"})(["color:",";display:block;padding:0;text-decoration:underline;cursor:pointer;"],(function(t){return t.theme.colors.orange}));e.a=b},bjg6:function(t,e,n){"use strict";n.r(e);var o=n("QsI/"),r=n("9fIP"),i=n("MMYH"),a=n("K/z8"),c=n("sRHE"),l=n("8K1b"),u=n("cxan"),s=n("zygG"),d=n("ERkP"),p=n.n(d),f=n("j/s1"),m=n("QtE3"),g=n("PZBX"),b=n("3Oy2"),h=n("YY8h"),v=(n("GXeJ"),n("uPMs")),O=n("Lm5w"),y=n("pqH2"),_=n("ezIv"),j=n("0D0S"),w=n.n(j),I=p.a.createElement;function E(){var t,e,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",r=n.toStringTag||"@@toStringTag";function i(n,o,r,i){var l=o&&o.prototype instanceof c?o:c,u=Object.create(l.prototype);return k(u,"_invoke",function(n,o,r){var i,c,l,u=0,s=r||[],d=!1,p={p:0,n:0,v:t,a:f,f
1:f.bind(t,4),d:function(e,n){return i=e,c=0,l=t,p.n=n,a}};function f(n,o){for(c=n,l=o,e=0;!d&&u&&!r&&e<s.length;e++){var r,i=s[e],f=p.p,m=i[2];n>3?(r=m===o)&&(l=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=t):i[0]<=f&&((r=n<2&&f<i[1])?(c=0,p.v=o,p.n=i[1]):f<m&&(r=n<3||i[0]>o||o>m)&&(i[4]=n,i[5]=o,p.n=m,c=0))}if(r||n>1)return a;throw d=!0,o}return function(r,s,m){if(u>1)throw TypeError("Generator is already running");for(d&&1===s&&f(s,m),c=s,l=m;(e=c<2?t:l)||!d;){i||(c?c<3?(c>1&&(p.n=-1),f(c,l)):p.n=l:p.v=l);try{if(u=2,i){if(c||(r="next"),e=i[r]){if(!(e=e.call(i,l)))throw TypeError("iterator result is not an object");if(!e.done)return e;l=e.value,c<2&&(c=0)}else 1===c&&(e=i.return)&&e.call(i),c<2&&(l=TypeError("The iterator does not provide a '"+r+"' method"),c=1);i=t}else if((e=(d=p.n<0)?l:n.call(o,p))!==a)break}catch(e){i=t,c=1,l=e}finally{u=1}}return{value:e,done:d}}}(n,r,i),!0),u}var a={};function c(){}function l(){}function u(){}e=Object.getPrototypeOf;var s=[][o]?e(e([][o]())):(k(e={},o,(function(){return this})),e),d=u.prototype=c.prototype=Object.create(s);function p(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,u):(t.__proto__=u,k(t,r,"GeneratorFunction")),t.prototype=Object.create(d),t}return l.prototype=u,k(d,"constructor",u),k(u,"constructor",l),l.displayName="GeneratorFunction",k(u,r,"GeneratorFunction"),k(d),k(d,r,"Generator"),k(d,o,(function(){return this})),k(d,"toString",(function(){return"[object Generator]"})),(E=function(){return{w:i,m:p}})()}function k(t,e,n,o){var r=Object.defineProperty;try{r({},"",{})}catch(t){r=0}(k=function(t,e,n,o){function i(e,n){k(t,e,(function(t){return this._invoke(e,n,t)}))}e?r?r(t,e,{value:n,enumerable:!o,configurable:!o,writable:!o}):t[e]=n:(i("next",0),i("throw",1),i("return",2))})(t,e,n,o)}function C(t,e,n){return e=Object(c.a)(e),Object(a.a)(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,n||[],Object(c.a)(t).constructor):e.apply(t,n))}w()().publicRuntimeConfig.GOOGLE_MAPS_API_KEY;var S={day:["Domenica","Luned\xec","Marted\xec","Mercoled\xec","Gioved\xec","Venerd\xec","Sabato"],d:["Lun","Mar","Mer","Gio","Ven","Sab","Dom"],mouth:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"]},P=function(t){return!t&&I(A,null,t.map((function(t){return I("div",null,I("a",{href:"./il-fai/grandi-campagne/i-luoghi-del-cuore/comitati/".concat(t.id)},t.titolo))})))},T={dove:"position",quando:"calendar","note orario":"clock"},N=function(t,e){var n;switch(t){case"locandina":n=I(m.Button,{link:e},"Guarda la locandina");break;case"dove":case"quando":case"note orario":n=I(z,null,I(m.IconCard,{icon:T[t],title:t,text:e,horizontal:!0}));break;default:n=I(A,null,I("h3",null,t),I("p",null,e))}return I("div",null,n)},G=function(t){function e(){return Object(r.a)(this,e),C(this,e,arguments)}return Object(l.a)(e,t),Object(i.a)(e,[{key:"render",value:function(){var t=this.props,e=t.evento_ldc;t.luogo;return I(v.a,{seo:this.props.seo,hasFasciaGrazie:!0,hasFasciaNLApp:!0,hasFasciaSupporto:!0},function(t){var e=t.media,n=t.id,o=t.titolo,r=(Object(_.j)(e)&&e.find((function(t){return"TOP"===t.pivot.position})),{title:t.titolo,subtitle:"Appuntamento",breadCrumbs:[["/","Home"],["/il-fai","Il Fai"],["/il-fai/grandi-campagne","Grandi Campagne"],["/il-fai/grandi-campagne/i-luoghi-del-cuore","Luoghi del Cuore"],["/il-fai/grandi-campagne/i-luoghi-del-cuore/eventi","Eventi"],["/il-fai/grandi-campagne/i-luoghi-del-cuore/eventi/".concat(n),o]],social:!0,height:"small"});return I(m.Hero,r)}(e),I(m.Background,{color:"grey"},I(g.e,null,function(t){var e=t.evento_ldc,n=t.luogo;return I(g.d,null,I(m.Sidebar,null,n&&I(b.a,null,n&&I(h.a,Object(u.a)({},Object(_.l)(n),{id_comitato:e.id_luogo}))),!1,!1))}(this.props),function(t){var e,n=t.evento_ldc,o=t.evento_comitato,r=n.note_orario,i=n.descrizione,a=n.calendar,c=n.collaborazioni,l=n.luogo_evento,u=n.url_media;return I(g.c,null,I(m.Padder,{size:"medium"},I(m.Wrapper,{size:"small"},I(m.RichText,null,I("div",{class:"EventoLdc-Infos"},Object.entries({descrizione:i||"Nessuna descrizione.",dove:l||"Nessun indirizzo.",quando:(e=a,e.map((function(t){var e=new Date(t.dt_evento);return I("div",null,"".concat(S.day[e.getDay()],", ").concat(e.getDate()," ").concat(S.mouth[e.getMonth()]," ").concat(e.getFullYear()," "))}))||"Nessuna data indicata."),"note orario":r||"Nessun orario","comitato promotore":o?P(o):"Nessun comitato.","in collaborazione con":c||"",locandina:u||""}).map((function(t){var e=Object(s.a)(t,2),n=e[0],o=e[1];return o&&N(n,o)})))))))}(this.props)),I(m.FasciaCtaDoppia,{items:[{title:"Scopri i luoghi sostenuti",text:"Dopo ogni censimento FAI e Intesa Sanpaolo mettono a disposizione un budget di 400.000 euro: una parte viene destinata ai primi tre classificati, l\u2019altra viene assegnata attraverso un bando a cui possono partecipare tutti i luoghi con una soglia minima di voti. Fino a oggi abbiamo sostenuto 139 progetti in 19 regioni",cta:["Scopri","/il-fai/grandi-campagne/i-luoghi-del-cuore/luoghi-salvati/"],color:"green"},{title:"Scopri i Comitati",text:"Nati spontaneamente oppure gi\xe0 attivi, i Comitati sono il cuore pulsante del censimento: gruppi di cittadini pronti a mobilitarsi per i luoghi speciali del loro territorio. Scopri quali sono i comitati gi\xe0 attivi o registra il tuo.",cta:["Scopri","/il-fai/grandi-campagne/i-luoghi-del-cuore/comitati/"],color:"green"}]})))}}],[{key:"getInitialProps",value:function(){var t=Object(o.a)(E().m((function t(e){var n,o,r,i,a;return E().w((function(t){for(;;)switch(t.n){case 0:return n=e.query,o=n.id,t.n=1,Object(y.i)(o);case 1:if(r=t.v){t.n=2;break}return t.a(2,{statusCode:404});case 2:return t.n=3,Object(y.j)({id:r.id_luogo});case 3:return i=t.v,t.n=4,Object(y.c)("ldc/comitati",{id_luogo:r.id_luogo}).then((function(t){return t.data}));case 4:return a=t.v,t.a(2,{evento_ldc:r,luogo:i,evento_comitato:a})}}),t)})));return function(e){return t.apply(this,arguments)}}()}])}(p.a.Component),z=f.d.div.withConfig({displayName:"FogliaEventoLdc__IconCardWrapper",componentId:"sc-pq9xpp-0"})(["padding:1rem;padding-bottom:1.5rem;margin-bottom:2.5rem;display:flex;.IconCard{width:50%;}"]),A=f.d.div.withConfig({displayName:"FogliaEventoLdc__ComitatiWrap",componentId:"sc-pq9xpp-1"})(["margin-bottom:2.5rem;"]),D=Object(O.a)({header:{hasCustomHeader:!0,headerType:"ldc"}})(G);e.default=D},fvS3:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/ldc/eventoLdc",function(){return n("bjg6")}])}},[["fvS3",1,0,5,7,3,2,6,4,8,9,10,11,13,12,15,14,16,17,23]]]);
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.