PageSourceSearch

https://fondoambiente.it/_next/static/chunks/pages/beni-ee8714d0cc526fca37b7.js

js fondoambiente.it collected 2026-09-24 08:51:33 UTC 7,069 bytes, 1 lines download raw bytes

1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[45],{CIBN:function(t,e,i){"use strict";var n=i("r4FT"),r=i("0D0S"),o=i.n(r)()().publicRuntimeConfig.PLATFORM;e.a=function(t){return n.a.get("".concat(o,"/").concat("luoghi/beni?with=luogo,luogo.provincia,luogo.comune,tipologia,media&limit=150&has=luogo&fl_online=1").concat(t)).then((function(t){return t.data.data}))}},DugY:function(t,e,i){"use strict";i.r(e);var n=i("fGyu"),r=i("QsI/"),o=i("9fIP"),a=i("MMYH"),c=i("K/z8"),u=i("sRHE"),l=i("8K1b"),p=i("cxan"),s=i("ERkP"),f=i.n(s),b=i("QtE3"),d=i("r4FT"),g=i("MJc2"),h=i.n(g),v=i("uPMs"),y=i("qXKH"),O=i("CIBN"),m=i("Lm5w"),j=i("0D0S"),w=i.n(j),P=f.a.createElement;function _(){var t,e,i="function"==typeof Symbol?Symbol:{},n=i.iterator||"@@iterator",r=i.toStringTag||"@@toStringTag";function o(i,n,r,o){var u=n&&n.prototype instanceof c?n:c,l=Object.create(u.prototype);return T(l,"_invoke",function(i,n,r){var o,c,u,l=0,p=r||[],s=!1,f={p:0,n:0,v:t,a:b,f:b.bind(t,4),d:function(e,i){return o=e,c=0,u=t,f.n=i,a}};function b(i,n){for(c=i,u=n,e=0;!s&&l&&!r&&e<p.length;e++){var r,o=p[e],b=f.p,d=o[2];i>3?(r=d===n)&&(u=o[(c=o[4])?5:(c=3,3)],o[4]=o[5]=t):o[0]<=b&&((r=i<2&&b<o[1])?(c=0,f.v=n,f.n=o[1]):b<d&&(r=i<3||o[0]>n||n>d)&&(o[4]=i,o[5]=n,f.n=d,c=0))}if(r||i>1)return a;throw s=!0,n}return function(r,p,d){if(l>1)throw TypeError("Generator is already running");for(s&&1===p&&b(p,d),c=p,u=d;(e=c<2?t:u)||!s;){o||(c?c<3?(c>1&&(f.n=-1),b(c,u)):f.n=u:f.v=u);try{if(l=2,o){if(c||(r="next"),e=o[r]){if(!(e=e.call(o,u)))throw TypeError("iterator result is not an object");if(!e.done)return e;u=e.value,c<2&&(c=0)}else 1===c&&(e=o.return)&&e.call(o),c<2&&(u=TypeError("The iterator does not provide a '"+r+"' method"),c=1);o=t}else if((e=(s=f.n<0)?u:i.call(n,f))!==a)break}catch(e){o=t,c=1,u=e}finally{l=1}}return{value:e,done:s}}}(i,r,o),!0),l}var a={};function c(){}function u(){}function l(){}e=Object.getPrototypeOf;var p=[][n]?e(e([][n]())):(T(e={},n,(function(){return this})),e),s=l.prototype=c.prototype=Object.create(p);function f(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,T(t,r,"GeneratorFunction")),t.prototype=Object.create(s),t}return u.prototype=l,T(s,"constructor",l),T(l,"constructor",u),u.displayName="GeneratorFunction",T(l,r,"GeneratorFunction"),T(s),T(s,r,"Generator"),T(s,n,(function(){return this})),T(s,"toString",(function(){return"[object Generator]"})),(_=function(){return{w:o,m:f}})()}function T(t,e,i,n){var r=Object.defineProperty;try{r({},"",{})}catch(t){r=0}(T=function(t,e,i,n){function o(e,i){T(t,e,(function(t){return this._invoke(e,i,t)}))}e?r?r(t,e,{value:i,enumerable:!n,configurable:!n,writable:!n}):t[e]=i:(o("next",0),o("throw",1),o("return",2))})(t,e,i,n)}function B(t,e,i){return e=Object(u.a)(e),Object(c.a)(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,i||[],Object(u.a)(t).constructor):e.apply(t,i))}var k=w()().publicRuntimeConfig.APP_DOMAIN,I=function(t){return P(b.ListCard,Object(p.a)({},t,{LinkComponent:h.a,subtitleSansSerif:!0}))},E=function(t,e){return t.filter((function(t){return t.id===e}))[0].descrizione},D=function(t){function e(t){var i;Object(o.a)(this,e);var n=t.tipologie,r=t.idTipologiaBene,a=t.activeTabDescription;return(i=B(this,e,[t])).state={beni:!1,tipologie:n,idTipologiaBene:r,activeTabDescription:a},i}return Object(l.a)(e,t),Object(a.a)(e,[{key:"updateBeni",value:function(t){var e=this;this.setState({idTipologiaBene:t,activeTabDescription:E(this.props.tipologie,t)}),Object(O.a)(0!=t?"&id_tipologia_bene=".concat(t):"").then((function(t){e.setState({beni:t,notLazy:!0})}))}},{key:"render",value:function(){var t=this.props,e=t.tipologie,i=t.title,n=t.seo,r=this.state.beni||this.props.beni,o=this.state,a=o.idTipologiaBene,c=o.activeTabDescription;return P(v.a,{seo:n},P(b.Hero,{title:i,subtitle:"Perch\xe9 tutti possano viverli",LinkComponent:h.a,backgroundImage:{url:"//fai-website.imgix.net/static/Riapriamo%20le%20porte%20_sito%20heder.jpg"},breadCrumbs:[["/","Home"],["/luoghi/","Luoghi"],["/luoghi/beni-fai","I Beni FAI"]],seo:n}
1),P(b.Background,{color:"grey"},P(b.TabsNavigation,{tabs:e.map((function(t){return{id:t.id,label:t.tipologia}})),selectedId:a,onTabClick:this.updateBeni.bind(this)}),P(b.Padder,{size:c?"medium":"small"},P(b.Wrapper,{size:"small"},P(b.BeniTabDescription,{text:c}))),P(b.ListOfCards,{wrap:"big",cards:r.map(y.a),CardComponent:I,vertical:!0,notLazy:this.state.notLazy}),P(b.FasciaNewsletterApp,null),P(b.FasciaSupporto,null)))}}],[{key:"getInitialProps",value:function(){var t=Object(r.a)(_().m((function t(){var e,i,r;return _().w((function(t){for(;;)switch(t.n){case 0:return t.n=1,Object(O.a)("&id_tipologia_bene=1");case 1:return e=t.v,t.n=2,d.a.get("https://platform.fondoambiente.it/api/luoghi/beni/tipologie").then((function(t){return t.data.data})).then((function(t){return t.filter((function(t){return 5!==t.id}))}));case 2:return i=t.v,"I nostri Beni protetti e curati","Perch\xe9 tutti possano viverli",r={title:"Scopri tutti i Beni del FAI",ogTitle:"Scopri tutti i Beni del FAI",description:"Castelli, ville, abbazie, baie, parchi: scopri tutti i Beni del FAI - Fondo Ambiente Italiano, aperti al pubblico, in restauro, tutelati e patrocinati",ogDescription:"Castelli, ville, abbazie, baie, parchi: scopri tutti i Beni del FAI - Fondo Ambiente Italiano, aperti al pubblico, in restauro, tutelati e patrocinati",url:"".concat(k,"/luoghi/beni-fai")},1,t.a(2,{beni:e,tipologie:Object(n.a)(i),title:"I nostri Beni protetti e curati",subtitle:"Perch\xe9 tutti possano viverli",seo:r,idTipologiaBene:1,activeTabDescription:E(Object(n.a)(i),1)})}}),t)})));return function(){return t.apply(this,arguments)}}()}])}(s.Component);e.default=Object(m.b)(D)},HZzd:function(t,e,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/beni",function(){return i("DugY")}])},MJc2:function(t,e,i){var n=i("KEM+");function r(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function o(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?r(Object(i),!0).forEach((function(e){n(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var a=i("ERkP"),c=i("8cHP").Link;t.exports=function(t){return a.createElement(t.route?c:"a",o(o({},t),{},{href:t.route||t.to||""}),t.children)}},qXKH:function(t,e,i){"use strict";e.a=function(t){if("undefined"===typeof t)return{};var e=t.luogo.slug;return{id:t.id,title:t.titolo,supertitle:"",thumbnail:{url:t.media[0]&&t.media[0].url||"https://fai-website.imgix.net/static/placeholder_2.png"},link:"/luoghi/".concat(e),subtitle:t.luogo.localita_web,content:t.payoff}}}},[["HZzd",1,0,5,7,3,2,6,4,8,9,10,11,13,12,15,14,16]]]);

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.