import{o as n,s as l,n as s,_ as m,y as a,v as p,m as c,c as i,e as r,N as y}from"./entry.4a1e3e7a.js";import{P}from"./pause.3fb3ea1a.js";const x={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",fill:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},f=s("path",{d:"m7 3 14 9-14 9V3z"},null,-1),h=[f];function g(e,o){return n(),l("svg",x,h)}const v={render:g};const k={components:{PauseIcon:P,PlayIcon:v},props:{isPlaying:{type:Boolean,default:!1},size:{type:String,default:"medium",validator:e=>["medium","small"].includes(e)}}},I={class:"at-text-wrap"},w={class:"at-text"};function B(e,o,t,V,C,z){const _=a("PlayIcon"),d=a("PauseIcon");return n(),l("button",{class:y(["play-button",`play-button-${t.size}`]),onClick:o[0]||(o[0]=u=>e.$emit("click",u))},[s("span",I,[s("span",w,p(t.isPlaying?"Pause the Video":"Play the Video"),1)]),c(),t.isPlaying?r("",!0):(n(),i(_,{key:0,"aria-hidden":"true",class:"icon"})),c(),t.isPlaying?(n(),i(d,{key:1,"aria-hidden":"true",class:"icon"})):r("",!0)],2)}const b=m(k,[["render",B],["__scopeId","data-v-c1a92664"]]);export{b as _};