1import{u as I,J as H,r as x,K as U,L as q,O as D,N as F,i as k,c as r,b as c,f as e,h as n,B as M,n as O,g as o,w as y,k as w,P as J,R as K,S as Y,_ as G,y as Q,o as W,H as X,a as Z,q as ee,t as p,l as te,F as E,j as L,D as se,C as B,E as oe}from"#entry";import{p as le,_ as ne}from"./D3BjQIvs.js";const ae={class:"subscribe-card card border-round-3xl p-3 mt-4 flex flex-column"},ie={class:"card-title flex gap-2"},re={key:0,class:"pi pi-spin pi-spinner mr-2 text-2xl"},ce={class:"mt-2"},de={key:0,class:"p-error"},ue={key:1,class:"h-color-secondary text-center"},pe={__name:"V2PodcastChecklistSubscribeCard",setup(N){const{t:A}=I(),{identifyAndTrack:z}=H(),{syncContact:C}=K(),{pushEvent:S}=Y(),l=x(!1),b=x(!1),f=x(!1),_=U({email:""}),d=q({email:{required:F,email:D}},_),$=async g=>{l.value=!0,g&&(f.value=!0,await C({email:_.email,list:"21"}),S("blog_subscription"),z(_.email,"Podcast Form Submission"),b.value=!0,f.value=!1)};return(g,i)=>{const t=M,s=k("InputText"),a=k("Button");return c(),r("div",ae,[e("div",ie,[n(t,{loading:"lazy",alt:"checklist",src:g.$localizeImage("/Podcast/Checklist/checklist-icon.png"),class:"lg:w-auto img-responsive"},null,8,["src"]),i[2]||(i[2]=e("h3",{class:"h6 h-color-secondary"},"NoutÄÈi, informaÈii utile Èi episoade noi",-1))]),i[3]||(i[3]=e("p",{class:"h-color-black"},"AboneazÄ-te la #NewsletterPapervee Èi rÄmâi la curent cu noutÄÈile din HR!",-1)),e("form",{onSubmit:i[1]||(i[1]=J(m=>$(!o(d).$invalid),["prevent"]))},[n(s,{id:"email",modelValue:o(d).email.$model,"onUpdate:modelValue":i[0]||(i[0]=m=>o(d).email.$model=m),class:O(["h-bg-lavender h-border-color-lavender py-0 h-color-primary w-full",{"p-invalid":o(d).email.$invalid&&o(l)}]),style:{height:"2.6rem"},placeholder:"Adresa de Email"},null,8,["modelValue","class"]),n(a,{type:"submit",class:"w-full flex justify-content-center ppv-button__secondary border-round-xl mt-2",label:"AboneazÄ-te"},{default:y(()=>[o(f)?(c(),r("i",re)):w("",!0)]),_:1}),e("div",ce,[o(d).email.$invalid&&o(l)||o(d).email.$pending.$response?(c(),r("small",de," *Email invalid ")):w("",!0),o(b)&&!o(d).email.$invalid?(c(),r("small",ue," Te-ai înscris cu succes ")):w("",!0)])],32)])}}},me={class:"episode-section section",style:{"padding-top":"200px"}},he={class:"large-container-before-mobile mb-0"},fe={class:"grid container"},_e={class:"hidden lg:block lg:col-3 flex-order-1 lg:flex-order-0"},ge={class:"flex align-items-center justify-content-center"},ye={class:"sticky offset-sticky flex flex-column align-items-center pb-2 pt-3"},be={class:"ml-5"},ve={class:"col-12 lg:col-9 mt-6"},xe={class:"flex flex-column align-items-center lg:hidden"},we={class:"flex align-items-center justify-content-center"},ke={class:"episode-title flex flex-column lg:align-items-start align-items-center"},ze={class:"flex flex-row align-items-center gap-4"},$e={class:"h-color-secondary h-font-weight-600"},Pe={class:"h-font-size-16"},Ce={class:"h2 col-12 sm:col-9 text-center lg:text-left"},Se={class:"episode-guest flex gap-3 mt-3 align-items-center",style:{"max-width":"500px"}},Te={class:"h-font-size-20"},Ve=["innerHTML"],Ee={class:"flex flex-column align-items-center lg:hidden mt-5"},Le={class:"podcast-platform flex flex-column align-items-center"},Be=["innerHTML"],Ie={class:"episode-moments"},Me=["onClick"],Ne={class:"h-color-secondary hover:underline cursor-pointer h-font-weight-600"},Ae={class:"m-0 h-color-black h-font-size-16 hover:underline cursor-pointer"},Re={key:0},je={class:"flex episode-shorts overflow-x-scroll gap-3"},He=["src","data-plyr-embed-id"],Ue={class:"p-3 border-round-2xl"},qe={class:"h-color-secondary h-font-size-14"},De={class:"h-font-size-20 my-3"},Fe={class:"block lg:hidden"},Oe={__name:"[slug]",setup(N){const z=Q().params.slug,{t:C,locale:S}=I();W(()=>{_(),$()});const l=le.find(t=>t.slug===z),b=(t,s)=>{const a=document.querySelector("#buzzsprout-small-player iframe");if(a){const m=t*60+s,h=new URL(a.src);h.searchParams.set("t",m),a.src=h.toString()}else console.error("Player iframe not found!")};function f(){const t=document.querySelector("#buzzsprout-small-player");if(t){const s=t.getElementsByTagName("iframe");
1Array.from(s).forEach(a=>{a.src.includes(l.buzzsprout_id)||a.remove()})}}function _(){const t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.src="https://www.buzzsprout.com/2424632.js?artist=&container_id=buzzsprout-small-player&player=small",t.onload=f,document.body.appendChild(t)}const v=x([]),d={controls:["play-large","play","progress","current-time","mute","volume","captions","fullscreen"],autoplay:!1,muted:!0,clickToPlay:!0,hideControls:!1,disableContextMenu:!0,keyboard:{focused:!0,global:!0}},$=async()=>{await X(),v.value.forEach(t=>{t&&t.player&&t.player.refresh()})},g=t=>{const s=new URL(t);return s.searchParams.delete("autoplay"),s.searchParams.set("playsinline","1"),s.searchParams.set("autoplay","0"),s.toString()},i=t=>{if(t&&t.ios)try{t.ios.fixIosPlayback()}catch(s){console.warn("iOS playback fix failed",s)}};return Z(()=>{v.value.forEach(t=>{t&&t.player&&t.player.destroy()})}),ee({title:l.shortTitle,meta:[{hid:"description",name:"description",content:l.title}]}),(t,s)=>{const a=k("Button"),m=se,h=M,T=ne,V=pe,R=k("vue-plyr"),j=oe;return c(),r("section",me,[e("div",he,[e("div",fe,[e("div",_e,[e("div",ge,[n(m,{to:("localePath"in t?t.localePath:o(B))("podcast-checklist")},{default:y(()=>[n(a,{class:"h-bg-white h-color-secondary border-transparent text-wrap p-3 px-5 border-round-lg see-all-animation",label:"Vezi toate episoadele"})]),_:1},8,["to"])]),e("div",ye,[n(h,{loading:"lazy",alt:"checklist",src:t.$localizeImage(o(l).thumbnailSquare),class:"lg:w-auto img-responsive mb-3 border-round-xl",width:"276",height:"276"},null,8,["src"]),e("div",be,[s[0]||(s[0]=e("p",{class:"mt-0 h-color-black h-font-size-16"},"AscultÄ Ã®n platforma ta preferatÄ:",-1)),n(T),n(V)])])]),e("div",ve,[e("div",null,[e("div",xe,[e("div",we,[n(m,{to:("localePath"in t?t.localePath:o(B))("/podcast-checklist")},{default:y(()=>[n(a,{class:"h-bg-white h-color-secondary border-transparent text-wrap p-3 px-5 border-round-lg see-all-animation",label:"Vezi toate episoadele"})]),_:1},8,["to"])]),n(h,{loading:"lazy",alt:"checklist",src:t.$localizeImage(o(l).thumbnailSquare),class:"lg:w-auto img-responsive mt-4 border-round-xl",width:"276",height:"276"},null,8,["src"])]),e("div",ke,[e("div",ze,[e("span",$e,"Episodul "+p(o(l).episode),1),e("p",Pe,p(o(l).date),1)]),e("h1",Ce,p(o(l).title),1),e("div",Se,[n(h,{loading:"lazy",format:"webp",alt:"spotify",src:t.$localizeImage(`${o(l).guest.avatar}`),class:"lg:w-auto img-responsive mb-2 border-circle",width:"64",heigh:"64"},null,8,["src"]),e("div",null,[e("span",Te,[s[1]||(s[1]=te(" Invitat: ",-1)),e("strong",null,p(o(l).guest.name),1)]),e("p",{innerHTML:o(l).guest.role,class:"m-0 mt-1"},null,8,Ve)])]),e("div",Ee,[e("div",Le,[s[2]||(s[2]=e("p",{class:"mt-0 h-color-black h-font-size-16"},"AscultÄ Ã®n platforma ta preferatÄ:",-1)),n(T)])])]),s[4]||(s[4]=e("div",{class:"h-color-secondary flex gap-2 align-items-center mt-6 mb-4 h-font-weight-600"},[e("i",{class:"pi pi-check font-weight-700"}),e("span",{class:"h-font-size-20 h-font-weight-400"},"Despre discuÈie")],-1)),e("div",{innerHTML:o(l).description},null,8,Be),s[5]||(s[5]=e("div",{class:"h-color-secondary flex gap-2 align-items-center mt-6 mb-4 h-font-weight-600"},[e("i",{class:"pi pi-check font-weight-700"}),e("span",{class:"h-font-size-20 h-font-weight-400"},"Momentele cheie")],-1)),e("div",Ie,[(c(!0),r(E,null,L(o(l).keyMoments,(u,P)=>(c(),r("div",{key:P,class:"flex align-items-center gap-2 mt-1 p-0",onClick:Je=>b(u.formattedTime[0],u.formattedTime[1])},[e("span",Ne,p(u.time),1),e("p",Ae,p(u.description),1)],8,Me))),128))]),s[6]||(s[6]=e("div",{class:"podcast-player mt-4"},[e("div",{id:"buzzsprout-small-player"})],-1)),o(l).shorts&&o(l).shorts.length>0?(c(),r("div",Re,[s[3]||(s[3]=e("div",{class:"h-color-secondary flex gap-2 align-items-center my-4 h-font-weight-600"},[e("i",{class:"pi pi-check font-weight-700"}),e("span",{class:"h-font-size-20 h-font-weight-400"},"SecvenÈe scurte din episod")],-1)),e("div",je,[(c(!0),r(E,null,L(o(l).shorts,(u,P)=>(c(),r("div",{key:P,class:"shorts-item flex flex-column bg-white border-round-3xl",style:{"max-width":"330px"}},[n(j,null,{default:y(()=>[n(R,{options:d.controls,onMounted:i},{default:y(()=>[e("div",{ref_for:!0,ref_key:"plyrRefs",ref:v,class:"plyr__video-embed"},[e("iframe",{src:g(u.videoUrl),frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",playsinline:"",allowfullscreen:"","data-plyr-provider":"youtube","data-plyr-embed-id":u.embed},null,8,He)],512)]),_:2},1032,["options"])]),_:2},1024),e("div",Ue,[e("span",qe,p(u.duration),1),e("h3",De,p(u.title),
11)])]))),128))])])):w("",!0),e("div",Fe,[n(V)])])])])])])}}},Ge=G(Oe,[["__scopeId","data-v-3e7edb7b"]]);export{Ge 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.