PageSourceSearch

https://forimpact.ai/_next/static/chunks/3651.58dc7ba06df23929.js

js forimpact.ai collected 2026-10-05 12:00:01 UTC 4,217 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3651,7431],{33145:function(e,t,r){r.d(t,{default:function(){return a.a}});var o=r(48461),a=r.n(o)},48461:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return s},getImageProps:function(){return l}});let o=r(47043),a=r(55346),n=r(65878),i=o._(r(5084));function l(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let s=n.Image},14264:function(e,t){var r=Symbol.for("react.element"),o=(Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.memo"),Symbol.for("react.lazy"),{isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}}),a=Object.assign,n={};function i(e,t,r){this.props=e,this.context=t,this.refs=n,this.updater=r||o}function l(){}function s(e,t,r){this.props=e,this.context=t,this.refs=n,this.updater=r||o}i.prototype.isReactComponent={},i.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},i.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},l.prototype=i.prototype;var c=s.prototype=new l;c.constructor=s,a(c,i.prototype),c.isPureReactComponent=!0;var f=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};t.createElement=function(e,t,o){var a,n={},i=null,l=null;if(null!=t)for(a in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)f.call(t,a)&&!u.hasOwnProperty(a)&&(n[a]=t[a]);var s=arguments.length-2;if(1===s)n.children=o;else if(1<s){for(var c=Array(s),p=0;p<s;p++)c[p]=arguments[p+2];n.children=c}if(e&&e.defaultProps)for(a in s=e.defaultProps)void 0===n[a]&&(n[a]=s[a]);return{$$typeof:r,type:e,key:i,ref:l,props:n,_owner:null}}},94746:function(e,t,r){e.exports=r(14264)},17431:function(e,t,r){r.r(t),r.d(t,{default:function(){return f}});var o=r(57437),a=r(69148),n=r(2091),i=r(14084);i.kL.register(...i.zX);var l=i.kL,s=r(76705),c=r(33145);function f(e){let{sdgs:t=[],actions:r=[],expandButton:i,isExpanded:l=!1}=e,f=t.map((e,t)=>({sdg:e,action:r[t]||0})).filter(e=>e.action>0),u=f.map(e=>e.sdg),p=f.map(e=>e.action),d=a.map(e=>e.color);return(0,o.jsxs)("div",{className:l?"flex h-full w-full flex-col gap-3":"flex size-full flex-col gap-3",children:[(0,o.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,o.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,o.jsxs)("p",{className:"typo-h2 text-primaryNavy",children:[u.length,(0,o.jsx)("span",{className:"typo-body2",children:"/17"})]}),(0,o.jsx)("p",{className:"typo-body2 text-neutralDGray",children:"Obiettivi di sviluppo sostenibile"})]}),i]}),(0,o.jsx)("div",{className:l?"w-full flex-1 min-h-0":"h-[280px] w-full",children:(0,o.jsx)(s.$Q,{data:{labels:u,datasets:[{data:p,backgroundColor:d,borderRadius:10,maxBarThickness:40,categoryPercentage:.9,barPercentage:.8}]},options:{responsive:!0,maintainAspectRatio:!1,plugins:{title:{display:!1},legend:{display:!1},tooltips:{callbacks:{label:function(e){return e.yLabel}}}},scales:{x:{border:{display:!1},grid:{display:!1},ticks:{display:!1}},y:{border:{display:!0},grid:{display:!1},ticks:{precision:0}}}}})}),(0,o.jsx)("div",{className:"ml-7 flex items-center justify-around px-2",children:u.map((e,t)=>{let r=(0,n.lE)((t+1).toString());return r?(0,o.jsx)("div",{className:"flex items-center justify-center",children:(0,o.jsx)(c.default,{src:r,alt:"SDG ".concat(e),width:32,height:32,className:"rounded-full"})},t):null})})]})}l.register(i.uw)}}]);

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.