{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/chdGZhIPWXUnr9juoQuT/Hq5r6YcpHzZGi0JKuEyK/XSwB8ZM8l.js"],
  "sourcesContent": ["// Generated by Framer (9e04080)\nimport siteMetadata from\"https://framerusercontent.com/modules/m4GjdZuMjdNzYV8auh1b/lIqH5Ope2aBjDcOvs61t/siteMetadata.js\";export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"x47a6t\",mediaQuery:\"(min-width: 1200px)\"},{hash:\"obhqh9\",mediaQuery:\"(min-width: 810px) and (max-width: 1199px)\"},{hash:\"g7f8f1\",mediaQuery:\"(max-width: 809px)\"}],customHTMLHeadEnd:\"<script>\\n  window.PAGE_REQUIRES = ['library', 'admin'];\\n</script>\\n\\n<!-- Same protection script as above -->\\n<style>\\n  /* Smooth auth transitions */\\n  body {\\n    opacity: 0;\\n    transition: opacity 0.3s ease;\\n  }\\n  body.auth-ready {\\n    opacity: 1;\\n  }\\n</style>\\n\\n<script>\\n(async function() {\\n  // Get page access requirements from window.PAGE_REQUIRES or path\\n  const currentPath = window.location.pathname;\\n  const requiredLevels = window.PAGE_REQUIRES || \\n    Object.entries(window.PAGE_ACCESS || {})\\n      .find(([path]) => currentPath.includes(path))?.[1] || [];\\n  \\n  if (requiredLevels.length === 0) {\\n    // Not a protected page\\n    document.body.classList.add('auth-ready');\\n    return;\\n  }\\n  \\n  try {\\n    // Handle magic link if present\\n    await window.authManager.handleAuthParams();\\n    \\n    // Check authentication (use prefetched if available)\\n    const { session, profile } = window.authPromise \\n      ? await window.authPromise \\n      : await window.authManager.checkAuth();\\n    \\n    if (!session) {\\n      window.authManager.redirect('/login');\\n      return;\\n    }\\n    \\n    // Check access level\\n    if (!window.authManager.canAccess(requiredLevels)) {\\n      window.authManager.redirect('/login?error=insufficient_access');\\n      return;\\n    }\\n    \\n    // Success - show page\\n    document.body.classList.add('auth-ready');\\n    \\n  } catch (error) {\\n    console.error('Auth error:', error);\\n    window.authManager.redirect('/login?error=auth_error');\\n  }\\n})();\\n</script>\",description:siteMetadata(params,activeLocale).description,elements:{},framerSearch:{index:false},robots:\"noindex\",serializationId:\"framer-7ObsY\",title:\"Resource Library | Thermobreak\",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": "yCACyI,SAARA,EAA0BC,EAAOC,EAAa,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,KAAK,SAAS,WAAW,qBAAqB,EAAE,CAAC,KAAK,SAAS,WAAW,4CAA4C,EAAE,CAAC,KAAK,SAAS,WAAW,oBAAoB,CAAC,EAAE,kBAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAAugD,YAAYF,EAAaC,EAAOC,CAAY,EAAE,YAAY,SAAS,CAAC,EAAE,aAAa,CAAC,MAAM,EAAK,EAAE,OAAO,UAAU,gBAAgB,eAAe,MAAM,iCAAiC,SAAS,oBAAoB,CAAE,CAAQ,IAAMC,EAAgB,EAC/mEC,EAAqB,CAAC,QAAU,CAAC,gBAAkB,CAAC,KAAO,WAAW,YAAc,CAAC,sBAAwB,GAAG,CAAC,EAAE,QAAU,CAAC,KAAO,WAAW,YAAc,CAAC,sBAAwB,GAAG,CAAC,EAAE,mBAAqB,CAAC,KAAO,UAAU,CAAC,CAAC",
  "names": ["metadata", "params", "activeLocale", "metadataVersion", "__FramerMetadata__"]
}
