PageSourceSearch

https://betdash.com.au/assets/Accordion-43w-39qS.js

js betdash.com.au collected 2026-10-06 21:20:52 UTC 2,294 bytes, 1 lines download raw bytes

1import{eg as T,w as c,j as e,I as n}from"./client-Bai4VJA1.js";import{I as A}from"./FeaturedSgmWidgetHeader-Bs5pMGp9.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};s.SENTRY_RELEASE={id:"97808a5afbf047a0a6f7534b79e8c9b165448d38"};var a=new s.Error().stack;a&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[a]="5caf843a-b30f-4605-ba17-54bdba14f402",s._sentryDebugIdIdentifier="sentry-dbid-5caf843a-b30f-4605-ba17-54bdba14f402")}catch{}})();const H=({children:s,initiallyExpanded:a=!0,title:t,titleSize:b="xs",titleWeight:m="semibold",titleColor:r="primary",count:u=0,className:y,titleClassName:w,noShadow:j=!1,noBullet:E=!1,variant:N="default",disabled:x=!1,onClick:v,forceExpand:l})=>{const{highlightText:I}=T(),[i,h]=c.useState(a),[o,g]=c.useState(l),$=c.useCallback((f,S)=>e.jsx("span",{className:"bg-bg-search-highlight text-text-search-highlight px-[1px]",children:f},`highlight-${S}`),[]),d=N==="inset",p={button:n({"md:rounded-b-none":d&&(i||o),"round-none bg-core-primary md:rounded-lg":d}),content:n({"bg-bg-body md:bg-surface-moderate rounded-b-lg pb-3 md:p-3 border-t md:border-t-none border-border-primary":d})},_=()=>d&&!E&&e.jsx("span",{className:"bg-border-accordion block h-2 w-2 rounded-sm md:hidden"}),k=()=>d&&e.jsx("span",{className:"bg-border-accordion absolute bottom-0 left-0 top-0 h-0.5 w-full md:h-full md:w-1"}),D=()=>{h(o?!1:f=>!f),g(!1)};return c.useEffect(()=>{g(l)},[l]),e.jsxs("div",{className:n("flex flex-col",{shadow:!j},y),children:[e.jsxs("button",{className:n("relative flex w-full flex-row items-center justify-between overflow-hidden p-4 ",p.button,w),onClick:()=>{x||(D(),v?.())},children:[k(),e.jsxs("div",{className:"flex items-center gap-2",children:[_(),e.jsxs("span",{className:n("text-left",{[`text-${b}`]:["xs","sm","md"].includes(b),[`text-text-${r}`]:["secondary","primary"].includes(r),[`font-${m}`]:["normal","semibold","bold"].includes(m)}),children:[typeof t=="string"?I(t,$):t,u>0&&` (${u})`]})]}),e.jsx(A,{size:"sm",className:n({[`text-text-${r}`]:["secondary","primary"].includes(r),hidden:x}),name:o||i?"chevron-up":"chevron-down"})]}),e.jsx("div",{className:n("text-text-primary",{hidden:!i&&!o},p.content),children:s})]})};export{H as A};

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.