PageSourceSearch

http://greatnonprofits.org/assets/MiniBadgeTwo-pIpdb8Zb.js

js greatnonprofits.org collected 2026-10-01 10:15:14 UTC 1,925 bytes, 1 lines download raw bytes

1import{j as e,c as p}from"./index-DjJ_lb9G.js";import{f as d,h as f}from"./half-star-C1cp61f6.js";import{f as x}from"./vendor-react-B9qmQAuU.js";import"./vendor-styled-CVQBg5K8.js";import"./vendor-redux-CkURKOpn.js";const y=()=>{const{title:a,review:l,rating:n}=x(),c=Number(l)||0,i=n?parseFloat(n):0,o=decodeURIComponent(a||"org"),s="https://greatnonprofits.org",g=()=>{const r=[];for(let t=1;t<=5;t++)i>=t?r.push(e.jsx("img",{src:d,alt:"full star"},t)):i>=t-.5?r.push(e.jsx("img",{src:f,alt:"half star"},t)):r.push(e.jsx("img",{src:"/images/star.gif",alt:"empty star"},t));return r};return e.jsxs("div",{id:"gnp-badge-review-iframe-container",...p({cy:"mini-badge-two"}),style:{width:"238px",background:"#fff",color:"#606060",border:"1px solid #ccc",borderRadius:"4px",fontFamily:"'Noto Sans', Helvetica, Arial, sans-serif",fontSize:"11px",padding:"10px"},children:[e.jsx("h1",{style:{fontSize:"12px",fontWeight:500,textAlign:"center",margin:0,paddingBottom:"5px"},children:o}),e.jsxs("p",{id:"gnp-stars-container",style:{textAlign:"center",marginBottom:5},children:[g(),e.jsx("a",{href:`${s}/org/${o}`,target:"_blank",rel:"noreferrer",style:{display:"inline-block",marginLeft:"8px",color:"#2d949a",textDecoration:"none"},children:`${c} Reviews`})]}),e.jsxs("p",{style:{textAlign:"center",marginBottom:"10px"},children:["Reviews from"," ",e.jsx("img",{src:"//cdn.greatnonprofits.org/img/gnp-logo.png",alt:"GreatNonprofits"})]}),e.jsx("h3",{style:{textAlign:"center",fontSize:"14px",fontWeight:500,borderTop:"1px solid #cfcfcf",paddingTop:"8px",marginTop:"10px"},children:"Most Recent Reviews"}),e.jsx("p",{id:"gnp-more-btn",style:{textAlign:"center",margin:"12px 0"},children:e.jsx("a",{href:`${s}/org/${o}`,target:"_blank",rel:"noreferrer",style:{fontWeight:"bold",fontSize:"12px",borderBottom:"1px solid var(--color-teal)",color:"#2d949a",textDecoration:"none"},children:"Read More Reviews"})})]})};export{y as default};

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.