1import{d as G,f as re,br as ce,o as t,g as a,n as h,j as l,bq as S,F as R,l as M,b as f,h as y,aC as E,q as o,c,w as b,i as $,t as N,ai as te,a1 as le,O as T,bs as D,N as B,s as n,y as de,bp as fe,fa as ve,p as F,aq as H,k as J,r as V,fb as me,u as be,J as he,au as ge,S as ye,ef as we,aD as pe}from"./f_1_Qhsc.js";import{o as se}from"./Ca1zQClM.js";import"./DAIuYH2H.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"R14.36"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},w=new e.Error().stack;w&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[w]="c5418bc2-94f1-4dbf-8515-eabf2f7a86d5",e._sentryDebugIdIdentifier="sentry-dbid-c5418bc2-94f1-4dbf-8515-eabf2f7a86d5")})()}catch{}const ke=["aria-label","aria-current","onClick"],xe=G({__name:"NoticeSlideshowProgress",props:{variant:{},total:{},current:{}},emits:["select"],setup(e,{emit:w}){const s=w,{t:g}=re("common"),u=ce({showOn:"focus-visible"});return(A,r)=>(t(),a("div",{class:h(l(S)("flex items-center",e.variant==="bars"?"w-full gap-[5px]":"justify-center"))},[(t(!0),a(R,null,M(e.total,i=>(t(),a("button",{key:i,type:"button",class:h(l(S)("grid cursor-pointer place-items-center",e.variant==="bars"?"flex-1 py-2":"h-6 w-4",l(u))),"aria-label":l(g)("page",{number:i}),"aria-current":i-1===e.current?"true":void 0,onClick:p=>s("select",i-1)},[f("span",{class:h(l(S)("block",e.variant==="bars"?"h-[3px] w-full rounded-4":"size-2 rounded-12",e.variant==="bars"?i-1<=e.current?"bg-secondary":"bg-white-w-40":i-1===e.current?"bg-white-primary":"bg-white-w-20"))},null,2)],10,ke))),128))],2))}}),ae=Object.assign(xe,{__name:"OrganismsNoticeSlideshowProgress"}),_e={key:0,class:"relative flex min-h-full w-full min-w-0 flex-col justify-end overflow-hidden"},ze=["src"],Ce={key:0,class:"relative flex flex-1 items-center justify-center px-4 pt-(--nav-height-mobile)"},Se={class:"relative flex shrink-0 flex-col items-center gap-3 px-4 pt-8 text-center text-white-primary"},Ae={key:1,class:"contents"},$e={key:1,class:"relative flex size-full min-w-0 flex-col justify-center overflow-hidden bg-background-new"},Ne=["src"],Oe={class:"relative flex w-full items-center justify-between"},Re={class:"flex w-120.5 max-w-full flex-col items-start gap-6 pl-15"},Ie={key:2,class:"flex flex-wrap items-center gap-4"},Ee={key:0,class:"relative size-80 shrink-0"},Te=G({__name:"FeaturePromo",props:{slide:{},isMobile:{type:Boolean},part:{default:"all"}},emits:["action"],setup(e,{emit:w}){const s=e,g=w,u=n(()=>s.part!=="actions"),A=n(()=>s.part!=="body"),r=n(()=>s.slide.schema==="ActionSlide"?s.slide.action:void 0),i=k=>k.action?.schema==="ClientAppAction"&&k.action.type==="notice.close",p=n(()=>{if(s.slide.schema!=="ActionSlide")return[];const k=s.slide.additionalActions??[];return s.isMobile?k:k.filter(m=>!i(m))}),j=n(()=>!!r.value||p.value.length>0),_=n(()=>s.slide.img?.fgImage??s.slide.img?.bgImage),z=n(()=>s.slide.img?.fgImage?s.slide.img.bgImage:void 0);return(k,m)=>e.isMobile?(t(),a(R,{key:0},[u.value?(t(),a("div",_e,[f("img",{src:l(se),alt:"","aria-hidden":"true",class:"pointer-events-none absolute inset-0 size-full object-cover object-top"},null,8,ze),_.value?(t(),a("div",Ce,[y(E,{class:"w-full max-w-90",urls:_.value,alt:_.value.alt,sizes:["360x360","720x720"],"aspect-ratio":"1/1",fit:"contain",lazy:!1},null,8,["urls","alt"])])):o("",!0),f("div",Se,[e.slide.logo?(t(),c(E,{key:0,class:"mb-5 h-6",urls:e.slide.logo,alt:e.slide.logo.alt,sizes:["x48","x96"],fit:"contain",lazy:!1},null,8,["urls","alt"])):o("",!0),y(l(te),{class:"text-[20px] leading-none font-bold"},{default:b(()=>[$(N(e.slide.title),1)]),_:1}),e.slide.description?(t(),c(le,{key:1,class:"web-text-t3-regular",html:e.slide.description,"with-styles":!1,"html-element":"p"},null,8,["html"])):o("",!0)])])):o("",!0),A.value&&j.value?(t(),a("div",Ae,[r.value?(t(),c(B,{key:0,class:"group block w-full",label:r.value,onClick:m[0]||(m[0]=x=>g("action"))},{default:b(()=>[y(T,{is:"div",class:h(l(D)),variant:"primary-yellow",size:"large",expand:""},{default:b(()=>[$(N(r.value.name),1)]),_:1},8,["class"])]),_:1},8,["label"])):o("",!0),(t(!0),a(R,null,M(p.value,(x,O)=>
1(t(),c(B,{key:O,class:"group block w-full",label:x,onClick:m[1]||(m[1]=P=>g("action"))},{default:b(()=>[y(T,{is:"div",class:h(l(D)),variant:"secondary",size:"large",expand:""},{default:b(()=>[$(N(x.name),1)]),_:2},1032,["class"])]),_:2},1032,["label"]))),128))])):o("",!0)],64)):(t(),a("div",$e,[z.value?(t(),c(E,{key:0,class:"pointer-events-none absolute inset-0 size-full",urls:z.value,alt:z.value.alt,sizes:["900x600","1800x1200"],lazy:!1},null,8,["urls","alt"])):(t(),a("img",{key:1,src:l(se),alt:"","aria-hidden":"true",class:"pointer-events-none absolute inset-0 size-full object-cover object-top"},null,8,Ne)),f("div",Oe,[f("div",Re,[e.slide.logo?(t(),c(E,{key:0,class:"h-8",urls:e.slide.logo,alt:e.slide.logo.alt,sizes:["x64","x128"],fit:"contain",lazy:!1},null,8,["urls","alt"])):o("",!0),y(l(te),{class:"web-headings-h2-bold leading-10 text-white-primary"},{default:b(()=>[$(N(e.slide.title),1)]),_:1}),e.slide.description?(t(),c(le,{key:1,class:"web-text-t2-regular text-white-primary",html:e.slide.description,"with-styles":!1,"html-element":"p"},null,8,["html"])):o("",!0),j.value?(t(),a("div",Ie,[r.value?(t(),c(B,{key:0,class:"group inline-block",label:r.value,onClick:m[2]||(m[2]=x=>g("action"))},{default:b(()=>[y(T,{is:"div",class:h(l(D)),variant:"primary-yellow",size:"large"},{default:b(()=>[$(N(r.value.name),1)]),_:1},8,["class"])]),_:1},8,["label"])):o("",!0),(t(!0),a(R,null,M(p.value,(x,O)=>(t(),c(B,{key:O,class:"group inline-block",label:x,onClick:m[3]||(m[3]=P=>g("action"))},{default:b(()=>[y(T,{is:"div",class:h(l(D)),variant:"secondary",size:"large"},{default:b(()=>[$(N(x.name),1)]),_:2},1032,["class"])]),_:2},1032,["label"]))),128))])):o("",!0)]),_.value?(t(),a("div",Ee,[y(E,{class:"size-full",urls:_.value,alt:_.value.alt,sizes:["320x320","640x640"],"aspect-ratio":"1/1",fit:"contain",lazy:!1},null,8,["urls","alt"])])):o("",!0)])]))}}),ie=Object.assign(Te,{__name:"OrganismsNoticeSlideshowTemplatesFeaturePromo"}),Me={key:0,class:"relative mx-auto w-full max-w-255 px-15"},je={class:"relative aspect-3/2 max-h-[calc(100vh-2rem)] w-full overflow-hidden rounded-20"},Pe=["aria-label"],De={key:0,class:"absolute bottom-7.25 left-1/2 z-1 w-85 max-w-[calc(100%-120px)] -translate-x-1/2"},Be=["aria-label"],Fe=["aria-label"],Ve={key:1,class:"size-full overflow-y-auto bg-background-new"},Ge={class:"flex min-h-full flex-col"},Le={class:"flex shrink-0 flex-col items-center gap-8 px-4 pt-5 pb-13"},Ue={class:"flex w-full flex-col gap-4"},ne=60,qe=.25,We=G({__name:"NoticeSlideshowCarousel",props:{slides:{},isMobile:{type:Boolean}},emits:["action","close"],setup(e,{emit:w}){const s=e,g=w,{t:u}=re("common"),A={[me]:ie},r=d=>A[d.template??""]??ie,i=V(0);de(()=>s.slides,()=>{i.value=0});const p=n(()=>s.slides[i.value]),j=n(()=>{const d=p.value;return d?.schema!=="ActionSlide"?!1:[d.action,...d.additionalActions??[]].some(v=>v?.action?.schema==="ClientAppAction"&&v.action.type==="notice.close")}),_=n(()=>s.isMobile&&!j.value),z=n(()=>s.slides.length>1),k=n(()=>i.value>0),m=n(()=>i.value<s.slides.length-1),x=()=>{k.value&&i.value--},O=()=>{m.value&&i.value++},P=d=>{i.value=Math.min(Math.max(d,0),s.slides.length-1)},L=ce({showOn:"focus-visible"}),U=V(),q=V(),I=V(0);fe(U,d=>{const v=d[0]?.contentRect.width??0;v>0&&(I.value=v)});const{isSwiping:Y,lengthX:W}=ve(q,{threshold:10,onSwipeEnd:()=>{W.value>ne&&O(),W.value<-ne&&x()}}),ue=n(()=>{if(!Y.value)return 0;const d=-W.value;return(d>0?!k.value:!m.value)?d*qe:d}),K=n(()=>{const d=I.value>0?"visible":"hidden";return{transform:`translateX(${-i.value*I.value+ue.value}px)`,visibility:d}}),Q=n(()=>({flex:I.value>0?`0 0 ${I.value}px`:"0 0 100%"})),Z=n(()=>S("flex touch-pan-y",s.isMobile?"min-h-full w-full":"size-full",Y.value?"transition-none":"transition-transform duration-300")),ee=n(()=>S("relative min-w-0 overflow-hidden",s.isMobile?"flex min-h-full flex-col":"h-full"));return(d,v)=>e.isMobile?(t(),a("div",Ve,[f("div",Ge,[f("div",{ref_key:"viewportRef",ref:U,class:"relative flex min-w-0 flex-1 overflow-hidden"},[f("div",{ref_key:"trackRef",ref:q,class:h(Z.value),style:F(K.value)},[(t(!0),a(R,null,M(e.slides,(C,X)=>(t(),a("div",{key:X,class:h(ee.value),style:F(Q.value)},[(t(),c(H(r(C)),{slide:C,"is-mobile":"",part:"body"},null,8,["slide"]))],6))),128))],6)],512),f("div",Le,[z.value?(t(),c(ae,{key:0,variant:"dots",total:e.slides.length,current:i.value,onSelect:P},null,8,["total","current"])):o("",!0),f("div",Ue,[p.value?(t(),c(H(r(p.value)),{key:0,slide:p.value,"is-mobile":"",part:"actions",onAction:v[2]||(v[2]=C=>g("action"))},null,40,["slide"])):o("",!0),_.value?(t(),c(T,{key:1,variant:"secondary",size:"large",expand:"",onClick:v[3]||(v[3]=C=>g("close"))},{default:b(()=>[$(N(l(u)("close")),1)]),_:1})):o("",!0)])])])])):(t(),a("div",Me,[f("div",je,[f("div",{ref_key:"viewportRef",ref:U,class:"absolute inset-0 overflow-hidden"},[f("div",{ref_key:"trackRef",ref:q,class:h(Z.value),style:F(K.value)},[(t(!0),a(R,null,M(e.slides,(C,X)=>(t(),a("div",{key:X,class:h(ee.value),style:F(Q.value)},[(t(),c(H(r(C)),{slide:C,onAction:v[0]||(v[0]=Je=>g("action"))},null,40,["slide"]))],6))),128))],6)],512),f("button",{type:"button",class:h(l(S)("absolute top-8 r
1ight-8 z-2 grid size-10 cursor-pointer place-items-center rounded-full bg-white-w-10 text-white-primary transition-colors hover:bg-white-w-20",l(L))),"aria-label":l(u)("close"),onClick:v[1]||(v[1]=C=>g("close"))},[y(J,{name:"close",size:24})],10,Pe),z.value?(t(),a("div",De,[y(ae,{variant:"bars",total:e.slides.length,current:i.value,onSelect:P},null,8,["total","current"])])):o("",!0)]),z.value&&k.value?(t(),a("button",{key:0,type:"button",class:h(l(S)("absolute top-1/2 left-0 grid size-6 -translate-y-1/2 cursor-pointer place-items-center text-white-primary",l(L))),"aria-label":l(u)("prevPage"),onClick:x},[y(J,{name:"chevron-left",size:24})],10,Be)):o("",!0),z.value&&m.value?(t(),a("button",{key:1,type:"button",class:h(l(S)("absolute top-1/2 right-0 grid size-6 -translate-y-1/2 cursor-pointer place-items-center text-white-primary",l(L))),"aria-label":l(u)("nextPage"),onClick:O},[y(J,{name:"chevron-right",size:24})],10,Fe)):o("",!0)]))}}),oe=Object.assign(We,{__name:"OrganismsNoticeSlideshowCarousel"}),Xe={class:"flex min-h-full w-full items-center justify-center bg-background-transparent p-4"},He=G({__name:"NoticeSlideshow",setup(e){const{notice:w}=be(),s=w.useNotice(),g=he(">md"),u=n(()=>s.activeSlideshow),A=n(()=>!!u.value),r=()=>w.closeSlideshow();return(i,p)=>l(g)?(t(),c(l(we),{key:0,"is-open":A.value,"transition-name":"fade-user-action","disable-scroll-lock":"","onUpdate:isOpen":r},{default:b(()=>[y(ge,null,{default:b(()=>[f("div",Xe,[f("div",{class:"w-full max-w-255",onClick:p[0]||(p[0]=ye(()=>{},["stop"]))},[u.value?(t(),c(oe,{key:u.value.id,slides:u.value.slides,onAction:r,onClose:r},null,8,["slides"])):o("",!0)])])]),_:1})]),_:1},8,["is-open"])):(t(),c(pe,{key:1,"is-open":A.value,variant:"no-padding","omit-heading-shell":""},{default:b(()=>[u.value?(t(),c(oe,{key:u.value.id,slides:u.value.slides,"is-mobile":"",onAction:r,onClose:r},null,8,["slides"])):o("",!0)]),_:1},8,["is-open"]))}}),Ze=Object.assign(He,{__name:"OrganismsNoticeSlideshow"});export{Ze 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.