{"version":3,"file":"shared-lib.gSSJ4DNO.mjs","names":["useState","__esmMin","init_ssg_sandbox_shims","window","_e","p","c","init_jsx_runtime","init_npm_react_18_3_1","ce","fontStore","addPropertyControls","init_framer_DDfsYcI0","ControlType","LanguageSwitcher","pathname","setPathname","hovered","setHovered","target","GB_FLAG","NL_FLAG","showFocus","hideFocus","size","init_Lang_Switcher","fonts","css","className","init_BU9_ELPfP","getLocalizedValue","locale","values","valuesByLocaleId","value","key","metadata","contentLocale","init_siteMetadata"],"sources":["https:/framerusercontent.com/modules/SuaK2UfkniE5L79xfCgy/74fg218H1DB4sppMXxOe/Lang_Switcher.js","https:/framerusercontent.com/modules/MeECrHit7LougNjOyZX0/Qw1lV4hgXVbBPhVCvEib/BU9_ELPfP.js","https:/framerusercontent.com/modules/eXewJVfiFcYUxwUZKgcX/MTbmytHA2VAb9JVdi9ps/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect,useState}from\"react\";const NL_FLAG=/*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 3 2\",width:\"100%\",height:\"100%\",preserveAspectRatio:\"xMidYMid slice\",children:[/*#__PURE__*/_jsx(\"rect\",{width:\"3\",height:\"0.667\",fill:\"#AE1C28\"}),/*#__PURE__*/_jsx(\"rect\",{y:\"0.667\",width:\"3\",height:\"0.667\",fill:\"#FFFFFF\"}),/*#__PURE__*/_jsx(\"rect\",{y:\"1.333\",width:\"3\",height:\"0.667\",fill:\"#21468B\"})]});const GB_FLAG=/*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 60 30\",width:\"100%\",height:\"100%\",preserveAspectRatio:\"xMidYMid slice\",children:[/*#__PURE__*/_jsx(\"clipPath\",{id:\"ls-gb-s\",children:/*#__PURE__*/_jsx(\"rect\",{width:\"60\",height:\"30\"})}),/*#__PURE__*/_jsx(\"clipPath\",{id:\"ls-gb-t\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z\"})}),/*#__PURE__*/_jsxs(\"g\",{clipPath:\"url(#ls-gb-s)\",children:[/*#__PURE__*/_jsx(\"rect\",{width:\"60\",height:\"30\",fill:\"#012169\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M0,0 L60,30 M60,0 L0,30\",stroke:\"#FFFFFF\",strokeWidth:\"6\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M0,0 L60,30 M60,0 L0,30\",clipPath:\"url(#ls-gb-t)\",stroke:\"#C8102E\",strokeWidth:\"4\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M30,0 V30 M0,15 H60\",stroke:\"#FFFFFF\",strokeWidth:\"10\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M30,0 V30 M0,15 H60\",stroke:\"#C8102E\",strokeWidth:\"6\"})]})]});export default function LanguageSwitcher({size=24}){const[pathname,setPathname]=useState(\"/\");const[hovered,setHovered]=useState(false);useEffect(()=>{setPathname(window.location.pathname);},[]);const isDutch=pathname.startsWith(\"/nl\");// Toon altijd de vlag van de taal waar je naartoe gaat\nconst target=isDutch?{href:\"/\",lang:\"en\",flag:GB_FLAG,tooltip:\"Switch to English\",aria:\"Switch to English\"}:{href:\"/nl\",lang:\"nl\",flag:NL_FLAG,tooltip:\"Naar Nederlands\",aria:\"Naar Nederlands\"};const showFocus=()=>setHovered(true);const hideFocus=()=>setHovered(false);return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",display:\"inline-flex\"},children:[/*#__PURE__*/_jsx(\"a\",{href:target.href,hrefLang:target.lang,\"aria-label\":target.aria,onMouseEnter:showFocus,onMouseLeave:hideFocus,onFocus:showFocus,onBlur:hideFocus,style:{display:\"inline-flex\",width:size*1.5,height:size,borderRadius:4,overflow:\"hidden\",border:\"1px solid rgba(0,0,0,0.12)\",boxShadow:hovered?\"0 2px 8px rgba(0,0,0,0.15)\":\"0 1px 2px rgba(0,0,0,0.08)\",transform:hovered?\"translateY(-1px)\":\"none\",transition:\"transform 150ms ease, box-shadow 150ms ease\",cursor:\"pointer\",outline:\"none\"},children:target.flag}),hovered&&/*#__PURE__*/_jsx(\"span\",{role:\"tooltip\",style:{position:\"absolute\",top:\"calc(100% + 8px)\",left:\"50%\",transform:\"translateX(-50%)\",whiteSpace:\"nowrap\",background:\"#111\",color:\"#fff\",fontSize:12,lineHeight:1,padding:\"6px 8px\",borderRadius:6,pointerEvents:\"none\",zIndex:10},children:target.tooltip})]});}addPropertyControls(LanguageSwitcher,{size:{type:ControlType.Number,title:\"Hoogte\",defaultValue:24,min:14,max:48,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LanguageSwitcher\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Lang_Switcher.map","// Generated by Framer (cd31e1f)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-QmEvv .framer-styles-preset-kjn6cg:not(.rich-text-wrapper), .framer-QmEvv .framer-styles-preset-kjn6cg.rich-text-wrapper a { --framer-link-hover-text-decoration: underline; --framer-link-hover-text-decoration-color: #ffffff; --framer-link-hover-text-decoration-offset: 2px; --framer-link-hover-text-decoration-thickness: 2px; --framer-link-text-color: #ffffff; }\"];export const className=\"framer-QmEvv\";\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\"}}}","// Generated by Framer (648b344)\nconst valuesByLocaleId={Yv0D7l9NL:{v0:\"New Folder | Thumbnails en digitaal ontwerp\",v1:\"Voor sociale media; YouTube, Twitch, Instagram, TikTok, enz.\"}};function getLocalizedValue(key,locale){while(locale){const values=valuesByLocaleId[locale.id];if(values){const value=values[key];if(value)return value;}locale=locale.fallback;}}export default function metadata(params,contentLocale){return{description:getLocalizedValue(\"v1\",contentLocale)??\"For Social Media; Youtube, Twitch, Instagram, TikTok, etc.\",favicon:\"https://framerusercontent.com/assets/lDbYTKdgqfcaQ5IXKh11D1VCXI.svg\",robots:\"max-image-preview:large\",title:getLocalizedValue(\"v0\",contentLocale)??\"New Folder | Thumbnails & Digital Design\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,6MAA22C,SAAwBc,EAAiB,CAAC,OAAK,IAAI,CAAC,GAAK,CAACC,EAASC,GAAahB,EAAS,GAAG,EAAO,CAACiB,EAAQC,GAAYlB,EAAS,EAAK,EAAES,MAAc,CAACO,EAAYb,EAAO,SAAS,QAAQ,CAAE,EAAE,CAAC,CAAC,EAC5iD,IAAMgB,EADsjDJ,EAAS,WAAW,KAC7jD,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,KAAKK,EAAQ,QAAQ,oBAAoB,KAAK,mBAAmB,EAAE,CAAC,KAAK,MAAM,KAAK,KAAK,KAAKC,EAAQ,QAAQ,kBAAkB,KAAK,iBAAiB,EAAQC,MAAcJ,EAAW,EAAI,EAAQK,MAAcL,EAAW,EAAK,EAAE,MAAoB,gBAAM,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,QAAQ,aAAa,EAAE,SAAS,CAAc,gBAAK,IAAI,CAAC,KAAKC,EAAO,KAAK,SAASA,EAAO,KAAK,aAAaA,EAAO,KAAK,aAAaG,EAAU,aAAaC,EAAU,QAAQD,EAAU,OAAOC,EAAU,MAAM,CAAC,QAAQ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