{
  "version": 3,
  "sources": ["ssg:https://framer.com/m/framer/integrations-styles.js@0.2.0", "ssg:https://framerusercontent.com/modules/iH0dC3d1a99tJbx8s2oc/R0Wu06W2ujHUtW00fgCq/SoundCloud.js", "ssg:https://framerusercontent.com/modules/p56n034DqJ9Vq3cZIOlJ/Emx5lnz2fEUJogCOco1T/L1C2RQHGr.js"],
  "sourcesContent": ["import{containerStyles,emptyStateStyle as defaultEmptyStateStyle}from\"https://framer.com/m/framer/default-utils.js@^0.43.0\";export const emptyStateStyle={...containerStyles,...defaultEmptyStateStyle,textAlign:\"center\",padding:15,width:200,height:100,overflow:\"hidden\"};export const neutralStateStyle={...emptyStateStyle,color:\"#09f\",background:\"rgb(0, 153, 255, 0.1)\",borderColor:\"#09f\"};export const stateTitleStyle={fontSize:12,fontWeight:600,margin:0};export const stateParagraphStyle={fontSize:12,maxWidth:200,lineHeight:1.4,margin:\"5px 0 0 0\"};\nexport const __FramerMetadata__ = {\"exports\":{\"neutralStateStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"stateTitleStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"emptyStateStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"stateParagraphStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./styles.map", "import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useMemo}from\"react\";import{motion}from\"framer-motion\";import{emptyStateStyle,stateParagraphStyle,stateTitleStyle}from\"https://framer.com/m/framer/integrations-styles.js@0.2.0\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";const soundCloudRegex=/^(https?:\\/\\/(?:www\\.)?soundcloud\\.com\\/[^\\/]+\\/[^\\/]+)/;/**\n * SOUNDCLOUD\n *\n * @framerIntrinsicWidth 500\n * @framerIntrinsicHeight 300\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */ export function SoundCloud({theme,showComments,showUser,visual,showReposts,showTeaser,autoplay,playOnCanvas,showRelated,color,url,style,...props}){const src=useMemo(()=>{var ref;const[,validUrl]=(ref=url.match(soundCloudRegex))!==null&&ref!==void 0?ref:[null,null];if(!validUrl)return null;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const parameters=new URLSearchParams(url.search);parameters.set(\"url\",encodeURIComponent(validUrl));parameters.set(\"show_comments\",showComments);parameters.set(\"show_user\",showUser);parameters.set(\"visual\",visual);parameters.set(\"show_reposts\",showReposts);parameters.set(\"auto_play\",isCanvas&&!playOnCanvas?false:autoplay);parameters.set(\"show_teaser\",showTeaser);parameters.set(\"hide_related\",(!showRelated).toString());parameters.set(\"color\",color);return`https://w.soundcloud.com/player?${parameters.toString()}`;},[url,showComments,showRelated,showUser,visual,showReposts,autoplay,playOnCanvas,showTeaser,color,]);return url&&src?/*#__PURE__*/ _jsx(\"iframe\",{style:{height:\"100%\",width:\"100%\",...style},frameBorder:0,allow:\"autoplay\",scrolling:\"no\",src:src}):/*#__PURE__*/ _jsxs(motion.div,{style:{...emptyStateStyle,...style},...props,children:[/*#__PURE__*/ _jsx(\"h1\",{style:stateTitleStyle,children:\"SoundCloud\"}),url?/*#__PURE__*/ _jsx(\"p\",{style:stateParagraphStyle,children:\"This track URL doesn\u2019t seem correct.\"}):/*#__PURE__*/ _jsx(\"p\",{style:stateParagraphStyle,children:\"Set a track URL in the Properties.\"})]});}SoundCloud.defaultProps={url:\"https://soundcloud.com/flume/flume-lose-it-feat-vic-mensa\",width:300,height:300,showComments:false,showUser:true,showReposts:false,showTeaser:true,visual:true,autoplay:false,playOnCanvas:false,showRelated:true,color:\"#f50\"};addPropertyControls(SoundCloud,{url:{type:ControlType.String,title:\"URL\"},visual:{type:ControlType.Boolean,title:\"Type\",enabledTitle:\"Visual\",disabledTitle:\"Classic\"},color:{type:ControlType.Color,title:\"Color\"},autoplay:{title:\"Autoplay\",type:ControlType.Boolean,enabledTitle:\"Play\",disabledTitle:\"Pause\"},playOnCanvas:{title:\"On Canvas\",type:ControlType.Boolean,enabledTitle:\"Play\",disabledTitle:\"Pause\"},showComments:{type:ControlType.Boolean,title:\"Comments\",enabledTitle:\"Show\",disabledTitle:\"Hide\"},showUser:{type:ControlType.Boolean,title:\"User\",enabledTitle:\"Show\",disabledTitle:\"Hide\"},showReposts:{type:ControlType.Boolean,title:\"Reposts\",enabledTitle:\"Show\",disabledTitle:\"Hide\"},showTeaser:{type:ControlType.Boolean,title:\"Teaser\",enabledTitle:\"Show\",disabledTitle:\"Hide\"},showRelated:{type:ControlType.Boolean,title:\"Related\",enabledTitle:\"Show\",disabledTitle:\"Hide\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"SoundCloud\":{\"type\":\"reactComponent\",\"name\":\"SoundCloud\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"300\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicWidth\":\"500\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SoundCloud.map", "import{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[];export const css=[\".framer-uIupG .framer-styles-preset-ipm86b:not(.rich-text-wrapper), .framer-uIupG .framer-styles-preset-ipm86b.rich-text-wrapper a { --framer-link-current-text-color: #0099ff; --framer-link-hover-text-color: #0055ff; --framer-link-text-color: #0099ff; --framer-link-text-decoration: none; }\"];export const className=\"framer-uIupG\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],
  "mappings": "6KAAmI,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AAC,KAAKA,EAAY,QAAQ,MAAM,UAAU,aAAa,OAAO,cAAc,MAAM,EAAE,WAAW,CAAC,KAAKA,EAAY,QAAQ,MAAM,SAAS,aAAa,OAAO,cAAc,MAAM,EAAE,YAAY,CAAC,KAAKA,EAAY,QAAQ,MAAM,UAAU,aAAa,OAAO,cAAc,MAAM,CAAC,CAAC,ECR3hFC,EAAU,UAAU,CAAC,CAAC,EAAS,IAAMC,GAAM,CAAC,EAAeC,GAAI,CAAC,oSAAoS,EAAeC,GAAU",
  "names": ["emptyStateStyle", "containerStyles", "neutralStateStyle", "stateTitleStyle", "stateParagraphStyle", "soundCloudRegex", "SoundCloud", "theme", "showComments", "showUser", "visual", "showReposts", "showTeaser", "autoplay", "playOnCanvas", "showRelated", "color", "url", "style", "props", "src", "se", "ref", "validUrl", "isCanvas", "RenderTarget", "parameters", "p", "u", "motion", "emptyStateStyle", "stateTitleStyle", "stateParagraphStyle", "addPropertyControls", "ControlType", "fontStore", "fonts", "css", "className"]
}
