PageSourceSearch

https://gg.givingcompass.org/_nuxt/CuraZjzp.js

js givingcompass.org collected 2026-09-24 09:19:09 UTC 4,833 bytes, 1 lines download raw bytes

1import{_ as t}from"./in4c0Ziq.js";import{u as a}from"./IuZvmP1D.js";import{u as s,N as e}from"./CzdiBBiZ.js";import{u as i}from"./VF_Xyffv.js";import{f as l,c as o,V as n,e as r,_ as p}from"#entry";import{P as u}from"./CrK_MUeO.js";import{A as m}from"./2yPkSbz2.js";import{P as c}from"./D9lR2kcy.js";import{u as d}from"./YHQz9MCf.js";import{u as v}from"./inpFMjNm.js";import{B as h,c as f,bV as g,r as _,aG as y,ay as b,C as j,aw as k,R as x,$ as C,av as z,az as A,U as w,aH as $,aq as I}from"./nX7w3--X.js";import"./DpWTXjFB.js";import"./ByPbsARR.js";import"./CDUU9Wma.js";import"./Bs0o2c6W.js";import"./CyrvrKgH.js";import"./CzuCJjyz.js";import"./92dDzKBG.js";import"./ClUl-4LI.js";import"./CZ21xYpZ.js";import"./qKU77sjr.js";import"./C2U5VtnP.js";import"./CNAuE06t.js";import"./C-u_YpPl.js";import"./CtG27aky.js";import"./CzdGDBjF.js";import"./Boy9wtnx.js";import"./CAgLKPVn.js";import"./Ch9sftxZ.js";import"./depwn4iM.js";const T={key:0,class:"share-actions"},L={class:"list-page-content"},G={key:0,class:"list-empty"},S={class:"list-empty__icon"},V={key:1,class:"list-empty"},P={class:"list-empty__icon"},E={key:2,class:"cta"},U={class:"text-high-emphasis"},q=p(h({__name:"[shareToken]",async setup(p){let h,q;const B=l(),D=f((()=>String(B.params.shareToken??""))),{copied:H,copyShareLink:R}=s(),{data:J}=([h,q]=g((()=>d(`public-list-${D.value}`,(()=>a().getPublicList(D.value)),{watch:[D]}))),h=await h,q(),h),K=f((()=>J.value?[...J.value.items].sort(((t,a)=>t.position-a.position)):[])),M=f((()=>{const t=J.value?.item_count??K.value.length;return`${t} ${1===t?"nonprofit":"nonprofits"}`})),N=f((()=>J.value?`Public list · ${M.value} · shared via Giving Compass`:"")),O=o(),F=_(!1),Q=_(!1),W=f((()=>O.hasSubscription));async function X(t,a){if(J.value){F.value=!0;try{await i().launch(t,{list_id:J.value.id},a)}finally{F.value=!1}}}const{setSEO:Y}=v();return J.value?Y({title:J.value.title,description:J.value.subtitle||`A curated list of ${M.value} on Giving Compass.`,canonical:`/lists/${D.value}`}):Y({title:"List not available",description:"This list is private or no longer available.",noIndex:!0}),(a,s)=>{const i=t;return k(),y(u,{title:j(J)?.title,subtitle:j(J)?.subtitle??void 0,"subtitle-meta":N.value},{headerAction:b((()=>[j(J)?(k(),z("div",T,[C(i,null,{default:b((()=>[K.value.length?(k(),y(m,{key:0,loading:F.value,locked:!W.value,explainer:"Ask a question about the nonprofits on this list. The AI can see the list and dig into the data behind each organization.",placeholder:"e.g. How much have these organizations given in grants?",onSubmit:X,onLockedClick:s[0]||(s[0]=t=>Q.value=!0)},null,8,["loading","locked"])):$("",!0)])),_:1}),x("button",{type:"button",class:"pill-btn",onClick:s[1]||(s[1]=t=>j(R)(j(J).share_token||D.value))},[C(n,{size:"16"},{default:b((()=>[A(I(j(H)?"mdi-check":"mdi-link-variant"),1)])),_:1}),x("span",null,I(j(H)?"Copied":"Copy Link"),1)])])):$("",!0)])),default:b((()=>[x("div",L,[j(J)?(k(),z(w,{key:1},[K.value.length?(k(),y(e,{key:0,items:K.value,aggregate:j(J)?.aggregate??null},null,8,["items","aggregate"])):(k(),z("div",V,[x("span",P,[C(n,{size:"26"},{default:b((()=>[...s[7]||(s[7]=[A("mdi-inbox-outline",-1)])])),_:1})]),s[8]||(s[8]=x("p",{class:"list-empty__text"},"This list doesn’t have any nonprofits yet.",-1))])),j(O).isAuthenticated?$("",!0):(k(),z("div",E,[s[10]||(s[10]=x("div",null,[x("div",{class:"cta__title"},"Discover and organize nonprofits"),x("div",{class:"cta__text"},"Create your own lists of vetted nonprofits on Giving Compass.")],-1)),C(r,{color:"primary",variant:"flat",class:"text-none flex-shrink-0",to:"/"},{default:b((()=>[...s[9]||(s[9]=[A("Get started",-1)])])),_:1})]))],64)):(k(),z("div",G,[x("span",S,[C(n,{size:"26"},{default:b((()=>[...s[3]||(s[3]=[A("mdi-link-off",-1)])])),_:1})]),s[5]||(s[5]=x("h3",{class:"list-empty__title"},"This list isn’t available",-1)),s[6]||(s[6]=x("p",{class:"list-empty__text"},"It may be private or no longer shared.",-1)),C(r,{color:"primary",variant:"flat",class:"text-none mt-4",to:"/"},{default:b((()=>[...s[4]||(s[4]=[A("Explore Giving Compass",-1)])])),_:1})]))]),C(c,{modelValue:Q.value,"onUpdate:modelValue":s[2]||(s[2]=t=>Q.value=t),icon:"mdi-creation",title:"Ask AI About This List",bullets:["Analyze financials, grants, and leadership across the list","Compare the organizations with real IRS 990 data","Build data tables and reports you can explore and export"],location:"list_ask_ai_blocked","return-url":`/lists/${D.value}`},{pitch:b((()=>[s[11]||(s[11]=A(" Chat with Compass Explorer about ",-1)),x("strong",U,I(j(J)?.title||"this list"),1),s[12]||(s[12]=A(" — it can see the list and dig into the data behind each organization. ",-1))])),_:1}
1,8,["modelValue","return-url"])])),_:1},8,["title","subtitle","subtitle-meta"])}}}),[["__scopeId","data-v-a8fba9ce"]]);export{q 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.