1define("init",[],function(){return function(n){var i={};function o(e){if(i[e])return i[e].exports;var t=i[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}return o.m=n,o.c=i,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=1)}([function(e,t,n){var i,o,r;o=[t],void 0===(r="function"==typeof(i=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function v(e,t){var n=e.el,i=e.elStyle,o=e.elHeight,r=e.rowsLimit,l=e.rowsWrapped,a=e.options,s=e.buffer,c=s;if(l===r+1)return g({},e);var d=s,u=l,p=o;return n.innerHTML=c=s.length?""+s+a.delimiter+t+a.replaceStr:""+t+a.replaceStr,parseFloat(i.height)>parseFloat(o)&&(u++,p=i.height,u===r+1)?(n.innerHTML=c="."===d[d.length-1]&&"..."===a.replaceStr?d+"..":""+d+a.replaceStr,g({},e,{elHeight:p,rowsWrapped:u})):(n.innerHTML=c=d.length?""+d+a.delimiter+t:""+t,g({},e,{buffer:c,elHeight:p,rowsWrapped:u}))}e.disableResponsive=function(e){window.removeEventListener("resize",e)},e.ellipsis=function t(){for(var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},e=g({},{replaceStr:"...",responsive:!1,debounceDelay:250,delimiter:" "},o),r=n&&(n instanceof NodeList?n:1===n.nodeType?[n]:document.querySelectorAll(n)),l=[],a=0;a<r.length;a++){var s=r[a];l[a]=s.innerHTML;var c=s.innerHTML.split(e.delimiter);s.innerHTML="";var d=window.getComputedStyle(s);c.reduce(v,{el:s,buffer:s.innerHTML,elStyle:d,elHeight:0,rowsLimit:i,rowsWrapped:0,options:e})}if(e.responsive){var u=!1,p=window.innerWidth,f=function(){if(window.innerWidth!==p){p=window.innerWidth;for(var e=0;e<r.length;e++)r[e].innerHTML=l[e];t(n,i,g({},o,{responsive:!1}))}},h=function(){clearTimeout(u),u=setTimeout(f,e.debounceDelay)};return window.addEventListener("resize",h),h}}})?i.apply(t,o):i)||(e.exports=r)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.run=void 0;var i=n(0),o=n(2),r=n(3),l=n(4),a=n(5),s=n(6),c=n(7),d=n(8),u=n(9),p=n(10),f=n(11);t.run=function(e){(0,d.returntotop)(e),(0,l.expandcollapse)(e),(0,c.readMoreLongTexts)(e),(0,s.headerScroll)(e),(0,o.alertTile)(e),(0,r.breadcrumbs)(e),(0,f.tileElencoBottoni)(e),(0,p.showall)(e),e("body").hasClass("template-gallery_view")&&(0,a.gallery)(e),(0,i.ellipsis)(".rtCollectionPortlet.notizie-correlate .description",3,{responsive:!0}),e("#section-menu-mobile-button").click(function(){e(".section-menu").toggleClass("open")}),e(".section-menu").length&&e("#portal-column-two .portletNavigationTree").length&&(0,u.section_menu)(e)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});t.alertTile=function(n){var e=function(){var e=n(".tile.alert-tile .tileBody").children(["div","p","span","section","aside"].map(function(e){return e.concat(":last-child")}).join(", ")),t=n(".tile.alert-tile .ast-title-link");e.length?t.appendTo(e.last()):t.appendTo(n(".tile.alert-tile .tileBody")),t.css("visibility","visible")};n("body").hasClass("userrole-anonymous")?e():n(".pat-tiles-management").on("rtTilesLoaded",function(){e()}),n(".tile.alert-tile .tileTitle").click(function(e){e.preventDefault();var t=n(this).parent();(0==t.find(".tileBody").height()||t.hasClass("expanded"))&&t.toggleClass("expanded")})}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});t.breadcrumbs=function(t){t("#portal-breadcrumbs li a").click(function(e){"0px"==t(this).css("line-height")&&(e.preventDefault(),t("#portal-breadcrumbs li").addClass("expand"))})}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});t.expandcollapse=function(t){t("body").on("click",".existingcontentile.iscollapsible",function(e){$header=t(this),$content=$header.next(),$content.slideToggle(500,function(){})})}}
1,function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});t.gallery=function(e){var t=function(e){var t,n,i=window.location.search.substring(1).split("&");for(n=0;n<i.length;n++)if((t=i[n].split("="))[0]===e)return void 0===t[1]||decodeURIComponent(t[1]);return!1}("item-uid");if(t){var n=e(".photo-gallery a[data-item-uid="+t+"] img");n&&n.trigger("click")}else e(".photo-gallery a img").first().trigger("click")}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});t.headerScroll=function(i){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:91,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:50,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"1.3rem";i("img.main-logo").css({height:e+"px"}),i("img.logo-snpa").css({height:e+"px"}),i("img.er-logo").css({height:e+"px"}),i("input#searchGadget").css({height:t+"px"}),i("button.search-button").css({height:t+"px"}),i("#header-banner").css({padding:n+" 0"}),i("button.plone-navbar-toggle").css({height:t+"px"}),i("div.LSBox").css({height:50!==t?t+"px":"unset"})}var o=0,r=i("#portal-mainnavigation");new MutationObserver(function(e){e.forEach(function(e){var t;"open"===i(e.target).prop(e.attributeName)?(o=i(window).scrollTop(),i("html, body").css({overflow:"hidden"})):(t=o,i("html, body").stop().animate({scrollTop:parseInt(t)},500),i("html, body").css({overflow:"initial",height:"initial"}))})}).observe(r[0],{attributes:!0,attributeFilter:["class"]}),i(window).scroll(function(){var e=i("#portal-mainnavigation").offset().top,t=i("#global_statusmessage").offset().top;991<i(window).width()?i(this).scrollTop()>e&&!i("#portal-mainnavigation").hasClass("open")?(i(r).find("#submenu-details").animate({opacity:0}
1,200),i(".plone-navbar-toggle").addClass("stickyHeaderMenu"),i(".plone-navbar-toggle").stop().fadeIn(),0<i("#portal-mainnavigation").find("li.tabOpen").length&&i(r).find("#submenu-details").animate({opacity:0},200),n(48,45,"0.65rem")):i(this).scrollTop()<=e&&(i(".plone-navbar-toggle").removeClass("stickyHeaderMenu"),i(".plone-navbar-toggle").stop().fadeOut(),0<i(r).find("li.tabOpen").length&&i(r).find("#submenu-details").animate({opacity:1},200),n()):i(this).scrollTop()>t&&!i("#portal-mainnavigation").hasClass("open")?n(45,46.5,"5px"):i(this).scrollTop()<=t&&n(55,46.5,"10px")})}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.readMoreLongTexts=void 0;var y=n(0),x=".text",w="#parent-fieldname-text",M=".rer-contextual-text",T=".documentDescription";function _(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}function C(e,t,n){e(".readMoreWrapper").css({opacity:0,"max-height":0,padding:0}),e(".readMoreButton").css({opacity:0,"max-height":0,padding:0}),e("#hiddenText").length?(e(""+t).css({display:"none"}),e("#hiddenText").css({display:"block"}),e("#hiddenText").animate({opacity:1},200)):(e(t).empty().append(n),e(t).animate({opacity:1},300))}function O(e,t,n,i){"."===i[0]?e(n).removeClass(i.replace(/\./g,"")):e(n).removeAttr("id"),e(n).addClass("crawlerHidden"),e(n).css({display:"none"}),e(t).append(n)}function j(e){var t=e.offsetHeight,n=void 0;return n=e.style.lineHeight?e.style.lineHeight:document.defaultView.getComputedStyle(e,null).getPropertyValue("line-height"),t/parseInt(n,10)}t.readMoreLongTexts=function(e){var t=!1;if(_()&&!t){var n=e("#content-core"),i=e("<button class='readMoreButton'>Leggi tutto</button>"),o=e("<div class='readMoreWrapper'></div>");if(0<n.find(w).length){var r=n.find(w)[0];if(10<=j(r)){var l=e(r).clone(),a=e(r).clone();e(r).after(l.attr("id","hiddenText").css({display:"none",opacity:0})),0<n.find("img").length&&e(w+" img").css({visibility:"hidden"}),(0,y.ellipsis)(w,10,{responsive:!0}),e(document).on("click",".readMoreButton",function(){C(e,w,l)}),e(i).appendTo(o),e(r).after(o),O(e,n,a,w),t=!0}}if(0<n.find(x).length){var s=n.find(x)[0],c=14;if(0<n.find(".event.summary.details").length&&(c=6),j(s)>=c){var d=e(s).clone(),u=e(s).clone();e(s).after(d.attr("class","").attr("id","hiddenText").css({display:"none",opacity:0})),0<n.find("img").length&&e(x+" img").css({visibility:"hidden"}),(0,y.ellipsis)(x,c,{responsive:!0}),e(document).on("click",".readMoreButton",function(){C(e,x,d)}),e(i).appendTo(o),e(s).after(o),O(e,n,u,x),t=!0}}if(e("body").hasClass("portaltype-bando")&&0<e("#content").find(".contextualbody").length&&0<e("#content").find(M).length){var p=e("#content").find(M)[0];if(20<=j(p)){var f=e(p).clone(),h=e(p).clone();e(".contextualbody").append(f.removeClass("rer-contextual-text").attr("id","hiddenText").css({display:"none",opacity:0}));var g="";0<e("#content").find(".bandiColumnRight").length&&(g=e(e("#content").find(".bandiColumnRight")[0]).clone(),e("#content").find(".bandiColumnRight")[0].remove(),e(p).find(".bandiColumnRight").remove()),0<e(f).find(".bandiColumnRight").length&&e(p).prepend(g),(0,y.ellipsis)(M,20,{responsive:!0}),e(document).on("click",".readMoreButton",function(){C(e,M,f)}),e(i).appendTo(o),e(p).after(o),O(e,e("#content").find(".contextualbody")[0],h,M),t=!0}}if(e("body").hasClass("portaltype-temacaldo")&&0<e("#content").find(T).length){var v=e("#content").find(T)[0],m=e(v).clone(),b=e(v).clone();10<=j(v)&&(e(m.attr("id","hiddenText").css({display:"none",opacity:0})).insertAfter("#content header .documentDescription.description"),(0,y.ellipsis)(T,10,{responsive:!0}),e(document).on("click",".readMoreButton",function(){C(e,T,m)}),e(i).appendTo(o),e(v).after(o)),O(e,e("#content").find(T)[0],b,T),t=!0}}}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});t.returntotop=function(e){e(window).scroll(function(){50<=e(this).scrollTop()?e("#return-to-top").fadeIn(200):e("#return-to-top").fadeOut(200)}),e("#return-to-top").click(function(){e("body,html").animate({scrollTop:0},500)})}}
1,function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});t.section_menu=function(e){var t=e("#portal-column-two .portletNavigationTree .portletContent > ul").clone();t.hide(),e(".section-menu .left-menu .current").append(t).addClass("hasSubMenu"),0<e(".section-menu .left-menu .current.hasSubMenu .navTreeCurrentNode").length&&e(".section-menu .left-menu .current").removeClass("current")}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});t.showall=function(t){t("body").on("click",".aree-tematiche-collection .tileBody .show-all a",function(e){t(this).parent().parent().find("ul").find("li:nth-child(n+7)").toggle();return t(this).text({"Mostra tutti":"Mostra meno","Mostra meno":"Mostra tutti","Show all":"Show less","Show less":"Show all"}[t(this).text()]),!1})}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});t.tileElencoBottoni=function(r){var l="elenco-di-bottoni__mobile-hidden",a="Expand";"it"==r("html").attr("lang")&&(a="Espandi"),r(".tile-advanced-static.elenco-di-bottoni").each(function(e,t){r(t).find("ul").each(function(e,t){var n=r(t).find("li");if(5<=n.length){var i=r('<li class="elenco-di-bottoni__mobile-expander">'+a+"</li>");i.click(function(){r(this).hide(),r(this).siblings().removeClass(l)}),i.insertAfter(n[2]);var o=n.slice(3);r(o).addClass(l)}})})}}])}),require(["jquery","init"],function(e,t){e(function(){t.run(e,{screen_sm_min:768,screen_sm_max:767})})}),define("js/site/index.js",function(){}); 2//# sourceMappingURL=site.min.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.