PageSourceSearch

https://www.newyork-caregivers.com/build/assets/EventListFilterForm-TbH2x0QC.js

js newyork-caregivers.com collected 2026-09-29 14:48:14 UTC 6,293 bytes, 3 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/VideoClipPreviewModal-CK2md8rD.js","assets/vendor-core-CnGKUgNT.js","assets/eventRegistrationStore-BKMDP8zw.js","assets/LocalEventConfirmationLink-D72Zqb-T.js","assets/HeaderItem-Bh2UgW68.js","assets/trualta-global-data-types-CT_5hg_q.js","assets/vendor-sentry-4qddCGQY.js","assets/EventWaitlist-DNtR5ZIV.js","assets/vendor-icons-DDA5alrB.js","assets/app-routes-CoXjSNtd.js","assets/IframePage-N7zHF0zH.js","assets/LanguageSelectList-DekiRKiq.js","assets/ProfileSectionCard-BW3jF75q.js","assets/app-config-DTIlHeu1.js","assets/ForumGuidelinesContent-u0IpKM3r.js"])))=>i.map(i=>d[i]);
2import{q as D,_ as M}from"./trualta-global-data-types-CT_5hg_q.js";import{s as L,W as P,Y as x,Z as a,j as c,N as B,aj as i,g as o,ad as d,o as g,p as w,i as p,F as v,a4 as k,h as V,a2 as E,r as I,aM as T,aN as N,aO as F,aP as S,aC as O,e as j}from"./vendor-core-CnGKUgNT.js";import{e as A}from"./HeaderItem-Bh2UgW68.js";import{a6 as q,a5 as z}from"./app-routes-CoXjSNtd.js";import{i as $,f as R,w as U,j as H}from"./EventWaitlist-DNtR5ZIV.js";import{C as W}from"./eventRegistrationStore-BKMDP8zw.js";import{u as Y}
2from"./LocalEventConfirmationLink-D72Zqb-T.js";import{_ as Z}from"./UserVectorTopicBasedRecommendations-BUuYGIKB.js";import{u as G}from"./HappeningNow-CXZv0oHA.js";try{let s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new s.Error().stack;u&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[u]="0b2e0a59-b116-48f9-b822-904bfbf1e940",s._sentryDebugIdIdentifier="sentry-dbid-0b2e0a59-b116-48f9-b822-904bfbf1e940")}catch{}const J={class:"new-container"},Q={class:"section-header"},X={class:"h-2","data-test":"content-recommendations-title"},K={key:0},ee=["href"],te={class:"recommendations-list","data-test":"content-recommendations-list"},Fe=L({__name:"VideoClipRecommendations",props:{origin:{},idContext:{},sectionTitle:{},variant:{},showMoreClipsLink:{type:Boolean,default:!0}},emits:["loaded"],setup(s,{emit:u}){const t=s.variant&&s.variant!=="default"?`section--content-recommendation--${s.variant}`:"",b=u,{runFetch:y}=D(b),h=I(()=>M(()=>import("./VideoClipPreviewModal-CK2md8rD.js").then(e=>e.V),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))),{openModal:C}=Y(),f=E([]);function n(e){C(h,{activity:e},{size:"standard",transition:"slide-up",draggable:!0,animated:!0,lightDismiss:!0,ariaLabelledBy:"video-clip-preview-title",className:"video-clip-preview"})}function m(e){const r=f.value.find(_=>_.id===e);r&&(r.isCompleted=!0)}async function l(){try{const e=await A.get(z.url({query:{focus:"long",limit:3,"metadata_filter[content_type][$eq]":W.VIDEO_CLIP}}));e.status===R.OK&&(f.value=e.data)}catch{}}return P(()=>{y(l),window.eventBus.$on("completed-module",m)}),x(()=>{window.eventBus.$off("completed-module",m)}),(e,r)=>f.value.length?(a(),c("li",{key:0,class:B(["section","section--content-recommendation",i(t)]),"data-test":"content-recommendations-section"},[o("div",J,[o("div",Q,[o("h2",X,d(s.sectionTitle),1),s.showMoreClipsLink?(a(),c("span",K,[o("a",{class:"ds-hyperlink","data-test":"more-clips-link",href:`${i(q).url()}?refinement[type]=video-clip#library`},[g(d(e.__TT("more-clips"))+" ",1),w($,{name:"chevron-right"})],8,ee)])):p("",!0)]),o("div",null,[o("ul",te,[(a(!0),c(v,null,k(f.value,_=>(a(),V(Z,{key:_.id,activity:_,"id-context":s.idContext,origin:s.origin,"preview-mode":!0,onPreview:be=>n(_)},null,8,["activity","id-context","origin","onPreview"]))),128))])])])],2)):p("",!0)}}),oe={class:"ds-modal__header"},se={id:"event-list-filter-form-title",class:"h-3"},ne={class:"ds-modal__body"},ie={class:"accordions filter-list"},ae={class:"sr-only"},le=["id"],re=["aria-labelledby"],de=["id","value","onUpdate:modelValue","aria-labelledby","onKeydown"],ce=["for"],ue={class:"ds-modal__footer"},me=["disabled"],_e={key:0},fe={key:0,class:"filter-error p-1"},pe={__name:"EventListFilterForm",props:{onSubmit:Function,onClose:Function},setup(s){const u=s,t=G(),b=U(),y=j(()=>{if(t.hasCommunityBundleAccess)return t.filterConfig;const n={...t.filterConfig};return delete n.type,n});function h(){u.onSubmit()}function C(){t.clearFilters(),u.onSubmit(!1)}function f(n,m){const l=t.selectedFilters[m];l.includes(n)?t.selectedFilters[m]=l.filter(e=>e!==n):t.selectedFilters[m]=[...l,n]}return(n,m)=>(a(),c(v,null,[o("header",oe,[o("h3",se,d(n.__TT("filter")),1),o("button",{class:"close-button",onClick:m[0]||(m[0]=(...l)=>u.onClose&&u.onClose(...l)),"aria-label":"Close filter dialog",type:"button"},[w($,{name:"close"})])]),o("div",ne,[o("fieldset",ie,[o("legend",ae,d(n.__TT("filter-options")),1),(a(!0),c(v,null,k(y.value,(l,e)=>(a(),V(H,{key:l.filter,"is-default-open":!0,"is-always-open":i(b).isDesktop||i(b).isLargeDesktop},{title:T(()=>[o("h4",{class:"h-5",id:`filter-group-${e}`},d(l.title),9,le)]),content:T(()=>[o("ul",{"aria-labelledby":`filter-group-${e}`},[(a(!0),c(v,null,k(l.options,r=>(a(),c("li",{class:"ds-modal__checkbox-group",key:r.value},[N(o("input",{type:"checkbox",id:`option-${e}-${r.value}`,class:"ds-modal__checkbox",value:r.value,"onUpdate:modelValue":_=>i(t).selectedFilters[e]=_,"aria-labelledby":`label-${r.value}`,onKeydown:[F(S(_=>f(r.value,e),["prevent"]),["space"]),F(S(h,["prevent"]),["enter"])],tabindex:"0"},null,40,de),[[O,i(t).selectedFilters[e]]]),o("label",{for:`option-${e}-${r.value}`,class:"p-1"},[w($,{name:"check",class:"ds-modal__checkbox-icon"}
2),g(" "+d(r.title),1)],8,ce)]))),128))],8,re)]),_:2},1032,["is-always-open"]))),128))])]),o("footer",ue,[o("button",{type:"button",class:"ds-button",onClick:h,"aria-live":"polite",disabled:!i(t).resultCount},[g(d(i(t).resultCount?n.__TT("apply"):n.__TT("no-results"))+" ",1),i(t).resultCount?(a(),c("span",_e," ("+d(i(t).resultCount)+") ",1)):p("",!0)],8,me),i(t).filterCount>0&&i(t).resultCount===0?(a(),c("span",fe,d(n.__TT("try-adjusting-selections")),1)):p("",!0),i(t).filterCount?(a(),c("button",{key:1,type:"button",class:"ds-hyperlink",onClick:C,"aria-live":"polite"},d(n.__TT("Clear all"))+" ("+d(i(t).filterCount)+") ",1)):p("",!0)])],64))}},Se=Object.freeze(Object.defineProperty({__proto__:null,default:pe},Symbol.toStringTag,{value:"Module"}));export{Se as E,Fe as _};
3//# sourceMappingURL=EventListFilterForm-TbH2x0QC.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.