{"version":3,"file":"shared-lib.pY9cJ_-_.mjs","names":["useCallback","metadata","siteMetadata","metadataVersion","__FramerMetadata__","metadata","siteMetadata"],"sources":["https:/framerusercontent.com/modules/tW1ExjbbJRt9YcZ0Gyxk/7xLQ6of7kXWmBUVuRiYG/Spotify.js","https:/framerusercontent.com/modules/hwo6uSgYTW23rSyshSmz/lm8MTlQvD2XS1Bq8q3wf/siteMetadata.js","https:/framerusercontent.com/modules/y6WSpIAOOZNR3U28Hpnl/4kAlFSlq9vVwwm3a6ksf/augiA20Il.js","https:/framerusercontent.com/modules/iRm8Y4wOcTrQ7ELDTeY0/GkbuDqBC6LXQelNMehhf/TEiEZpeIQ.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","// Generated by Framer (34c068c)\nexport default function metadata(params,activeLocale){return{description:\"Artist\",favicon:\"https://framerusercontent.com/assets/CLC2SV0MsfnywFBf1YXOIqwovr4.jpg\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/PAmKVhH8WQxZDQ7XAE3bMDDWpg.jpg\",title:\"Misasam\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (6ca3d35)\nimport siteMetadata from\"#framer/local/siteMetadata/siteMetadata/siteMetadata.js\";export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"1n2c1jm\",mediaQuery:\"(min-width: 1930px)\"},{hash:\"191vzrj\",mediaQuery:\"(min-width: 1680px) and (max-width: 1929.98px)\"},{hash:\"72rtr7\",mediaQuery:\"(min-width: 1200px) and (max-width: 1679.98px)\"},{hash:\"1yfbuuw\",mediaQuery:\"(min-width: 810px) and (max-width: 1199.98px)\"},{hash:\"19pi90v\",mediaQuery:\"(max-width: 809.98px)\"}],description:siteMetadata(params,activeLocale).description,elements:{},robots:\"max-image-preview:large\",serializationId:\"framer-wxlUU\",title:siteMetadata(params,activeLocale).title||\"Home\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (6ca3d35)\nimport siteMetadata from\"#framer/local/siteMetadata/siteMetadata/siteMetadata.js\";export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"3vht42\",mediaQuery:\"(min-width: 1930px)\"},{hash:\"1cd64w6\",mediaQuery:\"(min-width: 1680px) and (max-width: 1929.98px)\"},{hash:\"72z2i0\",mediaQuery:\"(min-width: 1200px) and (max-width: 1679.98px)\"},{hash:\"t9aazc\",mediaQuery:\"(min-width: 810px) and (max-width: 1199.98px)\"},{hash:\"10npym8\",mediaQuery:\"(min-width: 610px) and (max-width: 809.98px)\"},{hash:\"4y39wq\",mediaQuery:\"(max-width: 609.98px)\"}],description:siteMetadata(params,activeLocale).description,elements:{},robots:\"max-image-preview:large\",serializationId:\"framer-sSRzE\",title:siteMetadata(params,activeLocale).title||\"Poeticas Pateticas\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"0KAKI,SAAgB,EAAQ,EAAM,CAAC,GAAK,CAAC,QAAM,IAAI,GAAW,EAKe,OAAqB,EAAK,SAAS,CAAC,MAAM,CAAC,OAAO,OAAO,MAAM,OAAO,CAAC,YAAY,EAAE,IALzEA,MAAgB,CAAC,GAAG,EAAU,OAAO,EAAE,OAAO,KACvI,IAAM,EAAY,EAAU,SAAS,SAAS,CAAC,EAAU,MAAM,EAAS,CAAC,GAAG,QAAQ,IAAI,GAAG,CAAC,EAAgB,EAAI,IAAI,IAAI,EAAY,CAIpI,OAHI,EAAI,SAAS,SAAS,QAAQ,GAAC,EAAI,SAAS,SAAS,EAAI,YAC7D,EAAI,OAAO,SAAS,IAEb,EAAI,UAAU,EAAG,CAAC,EA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