PageSourceSearch

https://www.healthcareexcellence.ca/_nuxt/DUauNW8c.js

js healthcareexcellence.ca collected 2026-09-25 14:27:39 UTC 1,514 bytes, 1 lines download raw bytes

1import{A as b,I as y,R as d,y as p,f as v,i as o,P as w,F as x,r as V,k as r,j as g,G as C,a3 as I,a0 as k}from"./CD4hp1kT.js";const u="view",h="cards",c="list",f=c,E=()=>{const a=b(),n=y(),s=d(()=>{const e=a.query[u];return e===h||e===c?e:f}),l=d(()=>s.value===c);return{view:s,isListView:l,setView:e=>{if(e===s.value)return;const i={...a.query};e===f?delete i[u]:i[u]=e,n.push({path:a.path,query:i})}}},S={class:"f-view-switch flex items-center gap-x-16"},A=["textContent"],L=["aria-pressed","onClick"],R=["textContent"],q={__name:"view-switch",setup(a){const{view:n,setView:s}=E(),l=`view-switch-label-${I()}`,_=[{value:h,label:"display.cards",icon:"view-cards"},{value:c,label:"display.list",icon:"view-list"}];return(e,i)=>{const m=k;return p(),v("div",S,[o("span",{id:l,class:"f-view-switch__label h5 whitespace-nowrap !text-16",textContent:w(e.$t("display.title"))},null,8,A),o("div",{class:"f-view-switch__options flex items-center gap-x-8",role:"group","aria-labelledby":l},[(p(),v(x,null,V(_,t=>o("button",{key:t.value,type:"button",class:g(["f-view-switch__button button-1 flex items-center gap-x-8 rounded-pill py-10 px-16",{"-active":r(n)===t.value}]),"aria-pressed":r(n)===t.value?"true":"false",onClick:W=>r(s)(t.value)},[C(m,{name:t.icon,type:"ui",class:"!w-20 !h-20 shrink-0"},null,8,["name"]),o("span",{textContent:w(e.$t(t.label))},null,8,R)],10,L)),64))])])}}},B=Object.freeze(Object.defineProperty({__proto__:null,default:q},Symbol.toStringTag,{value:"Module"}));export{q as _,E as u,B as v};

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.