{"version":3,"file":"TranscriptDisclosure.DP-EEAI7.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/rdHURlbDmqRhJbnL4FL2/PgYsvxOEuEVFcvNrvkK2/LiteYouTube.js","https:/framerusercontent.com/modules/w4N8X3Hn42IFPRFvd1uj/ItWW4QfHJHIROExXxakJ/TranscriptDisclosure.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Click-to-play YouTube embed. Makes no request to YouTube or Google until the visitor clicks.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function LiteYouTube(props){const{videoId=\"\",title=\"\",thumbnail,radius=16}=props;const[playing,setPlaying]=useState(false);const thumbSrc=typeof thumbnail===\"string\"?thumbnail:thumbnail?.src;const thumbSrcSet=typeof thumbnail===\"string\"?undefined:thumbnail?.srcSet;const start=()=>{setPlaying(true);const w=window;w.dataLayer=w.dataLayer||[];w.dataLayer.push({event:\"video_play\",video_id:videoId,video_title:title});};return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",aspectRatio:\"16 / 9\",borderRadius:radius,overflow:\"hidden\",background:\"#3D0744\"},children:playing?/*#__PURE__*/_jsx(\"iframe\",{src:`https://www.youtube-nocookie.com/embed/${videoId}?autoplay=1&rel=0&cc_load_policy=1`,title:title,allow:\"autoplay; encrypted-media; picture-in-picture; fullscreen\",allowFullScreen:true,style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",border:0}}):/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:start,\"aria-label\":`Play video: ${title}`,style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",padding:0,border:0,cursor:\"pointer\",background:\"transparent\"},children:[thumbSrc&&/*#__PURE__*/_jsx(\"img\",{src:thumbSrc,srcSet:thumbSrcSet,sizes:\"(min-width: 1000px) 960px, 100vw\",alt:\"\",loading:\"lazy\",style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"}}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",left:\"50%\",top:\"50%\",width:76,height:76,marginLeft:-38,marginTop:-38,borderRadius:\"50%\",background:\"#F9D400\",boxShadow:\"0 8px 24px rgba(0,0,0,.35)\",display:\"grid\",placeItems:\"center\"},children:/*#__PURE__*/_jsx(\"svg\",{width:\"28\",height:\"28\",viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M8 5v14l11-7z\",fill:\"#3D0744\"})})})]})});}addPropertyControls(LiteYouTube,{videoId:{type:ControlType.String,title:\"YouTube ID\",defaultValue:\"\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"\"},thumbnail:{type:ControlType.ResponsiveImage,title:\"Thumbnail\"},radius:{type:ControlType.Number,title:\"Radius\",min:0,max:40,defaultValue:16}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LiteYouTube\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LiteYouTube.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const REGULAR='\"Euclid Circular A Regular\", \"Euclid Circular A Regular Placeholder\", sans-serif';const MEDIUM='\"Euclid Circular A Medium\", \"Euclid Circular A Medium Placeholder\", sans-serif';const FEATURES='\"blwf\", \"cv03\", \"cv04\", \"cv09\", \"cv11\"';/**\n * Collapsed-by-default transcript, built on native <details> so it works with the keyboard and\n * screen readers, and the transcript text stays in the page HTML.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function TranscriptDisclosure(props){const{label=\"Read the transcript\",text=\"\",tone=\"light\"}=props;const dark=tone===\"dark\";const heading=dark?\"#FFFFFF\":\"rgb(61, 7, 68)\";const body=dark?\"rgba(255, 255, 255, 0.78)\":\"rgba(61, 7, 68, 0.75)\";const border=dark?\"1px solid rgba(255, 255, 255, 0.12)\":\"1px solid rgb(230, 217, 232)\";const fill=dark?\"transparent\":\"#FFFFFF\";return /*#__PURE__*/_jsxs(\"details\",{className:\"qc-transcript\",style:{position:\"relative\",width:\"100%\",boxSizing:\"border-box\",border,borderRadius:12,background:fill,fontFeatureSettings:FEATURES},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .qc-transcript > summary { list-style: none; }\n                .qc-transcript > summary::-webkit-details-marker { display: none; }\n                .qc-transcript > summary:focus-visible { outline: 2px solid rgb(255, 175, 0); outline-offset: 2px; border-radius: 12px; }\n                .qc-transcript .qc-chevron { transition: transform 0.2s ease; }\n                .qc-transcript[open] .qc-chevron { transform: rotate(180deg); }\n            `}),/*#__PURE__*/_jsxs(\"summary\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:12,padding:\"16px 22px\",cursor:\"pointer\",fontFamily:MEDIUM,fontWeight:500,fontSize:16,lineHeight:\"1.4em\",letterSpacing:\"-0.02em\",color:heading},children:[/*#__PURE__*/_jsx(\"span\",{children:label}),/*#__PURE__*/_jsx(\"svg\",{className:\"qc-chevron\",\"aria-hidden\":\"true\",width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M6 9l6 6 6-6\",stroke:heading,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})]}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,padding:\"0 22px 20px\",fontFamily:REGULAR,fontWeight:400,fontSize:15,lineHeight:\"1.6em\",letterSpacing:\"-0.02em\",color:body,whiteSpace:\"pre-line\"},children:text})]});}addPropertyControls(TranscriptDisclosure,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Read the transcript\"},text:{type:ControlType.String,title:\"Transcript\",displayTextArea:true,defaultValue:\"\"},tone:{type:ControlType.Enum,title:\"Tone\",options:[\"light\",\"dark\"],optionTitles:[\"Light\",\"Dark\"],defaultValue:\"light\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TranscriptDisclosure\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TranscriptDisclosure.map"],"mappings":"+LAKG,SAAwB,EAAY,EAAM,CAAC,GAAK,CAAC,UAAQ,GAAG,QAAM,GAAG,YAAU,SAAO,IAAI,EAAW,CAAC,EAAQ,GAAYA,EAAS,EAAK,EAAQ,EAAS,OAAO,GAAY,SAAS,EAAU,GAAW,IAAU,EAAY,OAAO,GAAY,SAAS,IAAA,GAAU,GAAW,OAAgK,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,OAAO,YAAY,SAAS,aAAa,EAAO,SAAS,SAAS,WAAW,SAAS,EAAE,SAAS,EAAqB,EAAK,SAAS,CAAC,IAAI,0CAA0C,EAAQ,oCAA0C,QAAM,MAAM,4DAA4D,gBAAgB,GAAK,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,MAAM,OAAO,OAAO,OAAO,OAAO,CAAC,CAAC,CAAC,EAAe,EAAM,SAAS,CAAC,KAAK,SAAS,YAAjoB,CAAC,EAAW,EAAI,EAAE,IAAM,EAAE,EAAO,EAAE,UAAU,EAAE,WAAW,CAAC,EAAE,EAAE,UAAU,KAAK,CAAC,MAAM,aAAa,SAAS,EAAQ,YAAY,CAAK,CAAC,CAAE,EAAwgB,aAAa,eAAe,IAAQ,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,MAAM,OAAO,OAAO,OAAO,QAAQ,EAAE,OAAO,EAAE,OAAO,U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