{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/tW1ExjbbJRt9YcZ0Gyxk/7xLQ6of7kXWmBUVuRiYG/Spotify.js", "ssg:https://framerusercontent.com/modules/tEoqSpmlCpfvwt93510F/FG2Ym6Wn6mD5YwNfHsqk/rexA9j5kW.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useCallback}from\"react\";const urlRegex=/(https?:\\/\\/[^ ]*)/;/**\n * SPOTIFY\n *\n * @framerIntrinsicWidth 280\n * @framerIntrinsicHeight 350\n */ export function Spotify(props){const{theme,url:sourceUrl}=props;const createEmbedUrl=useCallback(()=>{if(sourceUrl.length<5)return null;// If someone pastes the embed code lets still try to render it\nconst strippedUrl=sourceUrl.includes(\"iframe\")?sourceUrl.match(urlRegex)[1].replace(`\"`,\"\"):sourceUrl;const url=new URL(strippedUrl);// Add embed prefix if needed\nif(!url.pathname.includes(\"embed\"))url.pathname=`/embed${url.pathname}`;// Remove params\nurl.search=`theme=${theme}`;// @ben you could add all other bools in here like\n// url.search = `theme=${theme}&dog=${cat}`\nreturn url.toString();},[theme,sourceUrl]);const identifier=createEmbedUrl();return(/*#__PURE__*/ _jsx(\"iframe\",{style:{height:\"100%\",width:\"100%\"},frameBorder:0,src:identifier}));}Spotify.defaultProps={url:\"https://open.spotify.com/album/31qVWUdRrlb8thMvts0yYL?si=Jl-8Mnc3RNGuOtqRC7NXVg\",width:280,height:350,theme:1};addPropertyControls(Spotify,{url:{type:ControlType.String,title:\"URL\"},theme:{type:ControlType.Enum,displaySegmentedControl:true,options:[1,0],optionTitles:[\"On\",\"Off\"]}});\nexport const __FramerMetadata__ = {\"exports\":{\"Spotify\":{\"type\":\"reactComponent\",\"name\":\"Spotify\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"350\",\"framerIntrinsicWidth\":\"280\"}}}}\n//# sourceMappingURL=./Spotify.map", "import{fontStore as r}from\"framer\";r.loadFonts([\"GF;Shadows Into Light-regular\"]);export const fonts=[{family:\"Shadows Into Light\",style:\"normal\",url:\"https://fonts.gstatic.com/s/shadowsintolight/v19/UqyNK9UOIntux_czAvDQx_ZcHqZXBNQDd8r4xzSMYA.woff2\",weight:\"400\"}];export const css=['.framer-QMNwJ .framer-styles-preset-z249h8:not(.rich-text-wrapper), .framer-QMNwJ .framer-styles-preset-z249h8.rich-text-wrapper h6 { --framer-font-family: \"Shadows Into Light\", sans-serif; --framer-font-size: 20px; --framer-font-style: normal; --framer-font-weight: 400; --framer-letter-spacing: 0em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 40px; --framer-text-alignment: start; --framer-text-color: var(--token-52bc4939-b8e1-4efe-a7f0-16d423f364b6, #0066ff); --framer-text-decoration: none; --framer-text-transform: none; }','@media (max-width: 1199px) and (min-width: 810px) { .framer-QMNwJ .framer-styles-preset-z249h8:not(.rich-text-wrapper), .framer-QMNwJ .framer-styles-preset-z249h8.rich-text-wrapper h6 { --framer-font-family: \"Shadows Into Light\", sans-serif; --framer-font-size: 20px; --framer-font-style: normal; --framer-font-weight: 400; --framer-letter-spacing: 0em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 40px; --framer-text-alignment: start; --framer-text-color: var(--token-52bc4939-b8e1-4efe-a7f0-16d423f364b6, #0066ff); --framer-text-decoration: none; --framer-text-transform: none; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-QMNwJ .framer-styles-preset-z249h8:not(.rich-text-wrapper), .framer-QMNwJ .framer-styles-preset-z249h8.rich-text-wrapper h6 { --framer-font-family: \"Shadows Into Light\", sans-serif; --framer-font-size: 16px; --framer-font-style: normal; --framer-font-weight: 400; --framer-letter-spacing: 0em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 40px; --framer-text-alignment: start; --framer-text-color: var(--token-52bc4939-b8e1-4efe-a7f0-16d423f364b6, #0066ff); --framer-text-decoration: none; --framer-text-transform: none; } }'];export const className=\"framer-QMNwJ\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],
  "mappings": "iJAAAA,IAA8H,IAAMC,EAAS,qBAKlI,SAASC,EAAQC,EAAM,CAAC,GAAK,CAAC,MAAAC,EAAM,IAAIC,CAAS,EAAEF,EAKbG,EALwCC,EAAY,IAAI,CAAC,GAAGF,EAAU,OAAO,EAAE,OAAO,KACvI,IAAMG,EAAYH,EAAU,SAAS,QAAQ,EAAEA,EAAU,MAAMJ,CAAQ,EAAE,CAAC,EAAE,QAAQ,IAAI,EAAE,EAAEI,EAAgBI,EAAI,IAAI,IAAID,CAAW,EACnI,OAAIC,EAAI,SAAS,SAAS,OAAO,IAAEA,EAAI,SAAS,SAASA,EAAI,YAC7DA,EAAI,OAAO,SAASL,IAEbK,EAAI,SAAS,CAAE,EAAE,CAACL,EAAMC,CAAS,CAAC,EAAkC,EAAE,OAAqBK,EAAK,SAAS,CAAC,MAAM,CAAC,OAAO,OAAO,MAAM,MAAM,EAAE,YAAY,EAAE,IAAIJ,CAAU,CAAC,CAAG,CAACJ,EAAQ,aAAa,CAAC,IAAI,kFAAkF,MAAM,IAAI,OAAO,IAAI,MAAM,CAAC,EAAES,EAAoBT,EAAQ,CAAC,IAAI,CAAC,KAAKU,EAAY,OAAO,MAAM,KAAK,EAAE,MAAM,CAAC,KAAKA,EAAY,KAAK,wBAAwB,GAAK,QAAQ,CAAC,EAAE,CAAC,EAAE,aAAa,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,ECVzeC,IAAmCC,EAAE,UAAU,CAAC,+BAA+B,CAAC,EAAS,IAAMC,EAAM,CAAC,CAAC,OAAO,qBAAqB,MAAM,SAAS,IAAI,oGAAoG,OAAO,KAAK,CAAC,EAAeC,EAAI,CAAC,iiBAAiiB,ulBAAulB,mlBAAmlB,EAAeC,EAAU",
  "names": ["init_ssg_sandbox_shims", "urlRegex", "Spotify", "props", "theme", "sourceUrl", "identifier", "te", "strippedUrl", "url", "p", "addPropertyControls", "ControlType", "init_ssg_sandbox_shims", "fontStore", "fonts", "css", "className"]
}
