{"version":3,"file":"shared.BbU6oDol.mjs","names":[],"sources":["https:/framer.com/m/framer/icon-nullstate.js@0.7.0","https:/framerusercontent.com/modules/Ma20hU0GGRxLxZphbywl/OSpwWF91FHPVFyQJjMHt/utils.js","https:/framerusercontent.com/modules/wqoZG5PdHczMI0gm7T2B/zbtfEHP0ebkNdzs0F4GN/H8O3NJZEK.js","https:/framerusercontent.com/modules/zpUxTtbmL4QY3XDH8LEp/qZJHByA52qUEj65ytGQ4/siteMetadata.js"],"sourcesContent":["import { jsx as _jsx } from \"react/jsx-runtime\";\nimport * as React from \"react\";\nexport const containerStyles = {\n    width: \"100%\",\n    height: \"100%\",\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nconst nullIconStyle = {\n    minWidth: \"10px\",\n    minHeight: \"10px\",\n    maxWidth: \"20px\",\n    maxHeight: \"20px\",\n    width: \"60%\",\n    height: \"60%\"\n};\nconst emptyStateStyle = {\n    ...containerStyles,\n    borderRadius: 6,\n    background: \"rgba(149, 149, 149, 0.1)\",\n    border: \"1px dashed rgba(149, 149, 149, 0.15)\",\n    color: \"#a5a5a5\",\n    flexDirection: \"column\"\n};\nexport const NullState = /*#__PURE__*/ React.forwardRef((_, ref)=>{\n    return(/*#__PURE__*/ _jsx(\"div\", {\n        style: emptyStateStyle,\n        ref: ref\n    }));\n}) /*\n\n<svg\n                xmlns=\"http://www.w3.org/2000/svg\"\n                viewBox=\"0 0 30 30\"\n                style={nullIconStyle}\n            >\n                <path\n                    d=\"M 12.857 0 C 19.958 0 25.714 5.756 25.714 12.857 C 25.714 19.958 19.958 25.714 12.857 25.714 C 5.756 25.714 0 19.958 0 12.857 C 0 5.756 5.756 0 12.857 0 Z\"\n                    fill=\"#FFFFFF\"\n                ></path>\n                <path\n                    d=\"M 20.357 20.357 L 27.857 27.857\"\n                    fill=\"transparent\"\n                    strokeWidth=\"4.28\"\n                    stroke=\"#FFFFFF\"\n                    strokeLinecap=\"round\"\n                ></path>\n                <g transform=\"translate(9.643 6.429)\">\n                    <path\n                        d=\"M 3.214 12.857 L 3.214 12.857\"\n                        fill=\"transparent\"\n                        strokeWidth=\"3.75\"\n                        stroke=\"currentColor\"\n                        strokeLinecap=\"round\"\n                    ></path>\n                    <path\n                        d=\"M 0 3.214 C 0 1.004 1.843 0 3.214 0 C 4.586 0 6.429 0.603 6.429 3.214 C 6.429 5.826 3.214 5.913 3.214 7.232 C 3.214 8.552 3.214 8.571 3.214 8.571\"\n                        fill=\"transparent\"\n                        strokeWidth=\"3.22\"\n                        stroke=\"currentColor\"\n                        strokeLinecap=\"round\"\n                        strokeLinejoin=\"round\"\n                    ></path>\n                </g>\n            </svg>\n            */ ;\n\nexport const __FramerMetadata__ = {\"exports\":{\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NullState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./nullstate.map","import{useMemo}from\"react\";import{ControlType}from\"framer\";/*\n ** ICON UTILS\n ** Pull as much re-usable logic into here as possible\n ** This will make it easier to replace in all icon components\n */ export const containerStyles={width:\"100%\",height:\"100%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\"};export const defaultEvents={onClick:{type:ControlType.EventHandler},onMouseDown:{type:ControlType.EventHandler},onMouseUp:{type:ControlType.EventHandler},onMouseEnter:{type:ControlType.EventHandler},onMouseLeave:{type:ControlType.EventHandler}};const findByArray=(arr,search)=>arr.find(a=>a.toLowerCase().includes(search));export function getIconSelection(iconKeys,selectByList,iconSearch=\"\",iconSelection,lowercaseIconKeyPairs){// gotta get the exact match first THEN find\n// have a set and try to access ?\nif(selectByList)return iconSelection;if(iconSearch==null||(iconSearch===null||iconSearch===void 0?void 0:iconSearch.length)===0)return null;const iconSearchTerm=iconSearch.toLowerCase().replace(/-|\\s/g,\"\");var _iconSearchTerm;// check for exact match, otherwise use .find\nconst searchResult=(_iconSearchTerm=lowercaseIconKeyPairs[iconSearchTerm])!==null&&_iconSearchTerm!==void 0?_iconSearchTerm:findByArray(iconKeys,iconSearchTerm);return searchResult;}export function useIconSelection(iconKeys,selectByList,iconSearch=\"\",iconSelection,lowercaseIconKeyPairs){// Clean search term\nconst iconSearchResult=useMemo(()=>{if(iconSearch==null||(iconSearch===null||iconSearch===void 0?void 0:iconSearch.length)===0)return null;const iconSearchTerm=iconSearch.toLowerCase().replace(/-|\\s/g,\"\");var _iconSearchTerm;// check for exact match, otherwise use .find\nconst searchResult=(_iconSearchTerm=lowercaseIconKeyPairs[iconSearchTerm])!==null&&_iconSearchTerm!==void 0?_iconSearchTerm:findByArray(iconKeys,iconSearchTerm);return searchResult;},[iconSelection,iconSearch]);const name=selectByList?iconSelection:iconSearchResult;return name;}\nexport const __FramerMetadata__ = {\"exports\":{\"getIconSelection\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useIconSelection\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultEvents\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./utils.map","import{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOM;Cera Pro Medium\",\"CUSTOM;Cera Pro Medium\"]);export const fonts=[{family:\"Cera Pro Medium\",url:\"https://framerusercontent.com/assets/1Pw7yFM9lmIzGvms0RAnTLoeBw.ttf\"}];export const css=['.framer-g0aYb .framer-styles-preset-km54kw:not(.rich-text-wrapper), .framer-g0aYb .framer-styles-preset-km54kw.rich-text-wrapper h2 { --framer-font-family: \"Cera Pro Medium\", \"Cera Pro Medium Placeholder\", sans-serif; --framer-font-family-bold: \"Cera Pro Medium\", \"Cera Pro Medium Placeholder\", sans-serif; --framer-font-size: 50px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-weight: 400; --framer-font-weight-bold: 400; --framer-letter-spacing: -2.6px; --framer-line-height: 1em; --framer-paragraph-spacing: 40px; --framer-text-alignment: left; --framer-text-color: var(--token-eef314c3-cecc-415a-90be-60f3b00c34a7, #003050); --framer-text-decoration: none; --framer-text-transform: none; }'];export const className=\"framer-g0aYb\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (570e25b)\nexport default function metadata(params,activeLocale){return{customHTMLBodyEnd:'<script type=\"text/javascript\">\\n_linkedin_partner_id = \"1815217\";\\nwindow._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];\\nwindow._linkedin_data_partner_ids.push(_linkedin_partner_id);\\n</script><script type=\"text/javascript\">\\n(function(l) {\\nif (!l){window.lintrk = function(a,b){window.lintrk.q.push([a,b])};\\nwindow.lintrk.q=[]}\\nvar s = document.getElementsByTagName(\"script\")[0];\\nvar b = document.createElement(\"script\");\\nb.type = \"text/javascript\";b.async = true;\\nb.src = \"https://snap.licdn.com/li.lms-analytics/insight.min.js\";\\ns.parentNode.insertBefore(b, s);})(window.lintrk);\\n</script>\\n<noscript>\\n<img height=\"1\" width=\"1\" style=\"display:none;\" alt=\"\" src=\"https://px.ads.linkedin.com/collect/?pid=1815217&amp;fmt=gif\">\\n</noscript>\\n\\n<!-- Start of HubSpot Embed Code -->\\n<script type=\"text/javascript\" id=\"hs-script-loader\" async=\"\" defer=\"\" src=\"//js-eu1.hs-scripts.com/5919038.js\"></script>',customHTMLBodyStart:'<style>\\n body {\\n  font-family: \"Cera Pro\", sans-serif;\\n }\\n</style>\\n<!-- Plugin: 33d9eb --> <script>window.hsConversationsSettings = {\"disableAttachment\":false,\"enableWidgetCookieBanner\":false};</script>',customHTMLHeadStart:\"<script>\\n  window.intercomSettings = {\\n    api_base: \\\"https://api-iam.eu.intercom.io\\\",\\n    app_id: \\\"vyilgbin\\\"\\n  };\\n</script>\\n\\n<script>\\n// We pre-filled your app ID in the widget URL: 'https://widget.intercom.io/widget/vyilgbin'\\n(function(){var w=window;var ic=w.Intercom;if(typeof ic===\\\"function\\\"){ic('reattach_activator');ic('update',w.intercomSettings);}else{var d=document;var i=function(){i.c(arguments);};i.q=[];i.c=function(args){i.q.push(args);};w.Intercom=i;var l=function(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/vyilgbin';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);};if(document.readyState==='complete'){l();}else if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})();\\n</script>\\n\\n<!-- Google Tag Manager -->\\n<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\\nj=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\\n'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\\n})(window,document,'script','dataLayer','GTM-MSTMJT6L');</script>\\n<!-- End Google Tag Manager -->\\n\\n<!-- Demo required form checker -->\\n<script charset=\\\"utf-8\\\" type=\\\"text/javascript\\\" src=\\\"//js-eu1.hsforms.net/forms/embed/v2.js\\\"></script>\\n\\n\\n<!-- Helpers -->\\n<script>\\n  function setCookie(name, value, days) {\\n    var expires = \\\"\\\";\\n    if (days) {\\n      var date = new Date();\\n      date.setTime(date.getTime() + (days*24*60*60*1000));\\n      expires = \\\"; expires=\\\" + date.toUTCString();\\n    }\\n    document.cookie = name + \\\"=\\\" + (value || \\\"\\\")  + expires + \\\"; path=/\\\";\\n  }\\n\\n  function getCookie(name) {\\n    var value = \\\"; \\\" + document.cookie;\\n    var parts = value.split(\\\"; \\\" + name + \\\"=\\\");\\n    if (parts.length == 2) return parts.pop().split(\\\";\\\").shift();\\n  }\\n\\n  function disableScrolling() {\\n    var scrollTop = window.pageYOffset || document.documentElement.scrollTop;\\n    var scrollLeft = window.pageXOffset || document.documentElement.scrollLeft;\\n  \\n    window.onscroll = function() {\\n      window.scrollTo(scrollLeft, scrollTop);\\n    };\\n  }\\n\\n  function enableScrolling() {\\n    window.onscroll = function() {};\\n  }\\n</script>\\n\\n<!-- Demo environment gate -->\\n<script>\\n(function() {\\n  const formOverlayId = \\\"formOverlay-demo\\\";\\n\\n  document.addEventListener('DOMContentLoaded', function() {\\n    // Check if the URL contains /demo/\\n    const currentPath = window.location.pathname;\\n\\n    if (!currentPath.includes(\\\"demo/\\\")) return;\\n\\n    // Check if the form has been submitted already\\n    var hasSubmitted = getCookie('formSubmitted');\\n\\n    if (!hasSubmitted) {\\n      createOverlay();\\n      blurBackground(true);\\n\\n      hbspt.forms.create({\\n        region: \\\"eu1\\\",\\n        portalId: \\\"5919038\\\",\\n        formId: \\\"f320e4ab-b183-4225-b28a-4af66a1536b6\\\",\\n        target: '#hubspotForm',\\n        onFormSubmitted: function() {\\n          setCookie('formSubmitted', new Date(), 365);\\n          document.getElementById(formOverlayId).remove();\\n          blurBackground(false);\\n        }\\n      });\\n    }\\n  });\\n\\n  <!-- Hubspot form for Demo environment -->\\n  function createOverlay() {\\n    var overlayHTML = '<div id=\\\"' + formOverlayId + '\\\" style=\\\"position:fixed; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.3); backdrop-filter: blur(2px); z-index:1000;\\\">' +\\n                      '<div id=\\\"hubspotForm\\\" style=\\\"position:fixed; top:50%; left:50%; transform:translate(-50%, -50%); width:95%;max-width:600px; background:#fff; padding:20px; border-radius: 10px;\\\">' +\\n                      // HubSpot form will be injected here\\n                      '</div>' +\\n                      '</div>';\\n    document.body.insertAdjacentHTML('beforeend', overlayHTML);\\n  }\\n\\n  function blurBackground(blur) {\\n    var content = document.getElementById('main');\\n    if (blur) {\\n      content.style.filter = 'blur(2px)';\\n    } else {\\n      content.style.filter = '';\\n    }\\n  }\\n})();\\n</script>\\n\\n<!-- Blog articles gates -->\\n<script>\\n(function() {\\n  const gatingRules = [\\n    {pathRegex: /^\\\\/blog\\\\/./, category: \\\"data insights\\\"}\\n  ];\\n\\n  function isGated(path) {\\n    return gatingRules.some(gatingRule => {\\n      return gatingRule.pathRegex.test(path) && hasBlogCategory(gatingRule.category);\\n    })\\n  }\\n\\n  function hasBlogCategory(category) {\\n    const $category = document.querySelector(\\\".category\\\");\\n\\n    if (!$category) return false;\\n\\n    return $category.textContent.trim().toLowerCase() == category;\\n  }\\n\\n  function unlockedAccess() {\\n    const hasAccess = getCookie('dataInsightsAccessAt');\\n\\n    return !!hasAccess;\\n  }\\n\\n  function showAccessForm() {\\n    createOverlay();\\n    disableScrolling();\\n\\n    hbspt.forms.create({\\n      region: \\\"eu1\\\",\\n      portalId: \\\"5919038\\\",\\n      formId: \\\"ac331c6c-7707-4bc4-9bd2-d1edf8db6c24\\\",\\n      target: '#hubspotForm',\\n      onFormSubmitted: function() {\\n        setCookie('dataInsightsAccessAt', new Date(), 365);\\n        removeOverlay();\\n        enableScrolling();\\n      }\\n    });\\n  }\\n\\n  const overlayId = \\\"formOverlay\\\";\\n\\n  function removeOverlay() {\\n    const element = document.getElementById('formOverlay');\\n\\n    if (!element) return;\\n    \\n    element.remove();\\n  }\\n\\n<!-- Hubspot form & html-text for Gated content -->\\n  function createOverlay() {\\n    const overlayHTML = '<div id=\\\"' + overlayId + '\\\" style=\\\"position:fixed; bottom:0; left:0; right:0; background: rgba(0,0,0,0.8); z-index:1000;\\\">' +\\n      '<div style=\\\"width: 100%; background: #F9F9F9; padding: 20px 0; box-shadow: 0 -2px 10px rgba(0,0,0,0.2); display: flex; justify-content: center; align-items: center; flex-direction: row; flex-wrap: wrap;\\\">' +\\n      '<div style=\\\"max-width: 1200px; width: 100%; display: flex; padding: 0 20px;\\\">' +\\n      '<div style=\\\"flex: 1; padding-right: 20px;\\\">' +\\n      '<h1 style=\\\"color: #003050; margin: 0; padding-bottom: 10px; font-size: 32px;\\\">Sign up to read the full story</h1>' +\\n      '<p style=\\\"color: #555; margin: 0; font-size: 18px;\\\">Enter your email to unlock instant access to our comprehensive boardroom insights and discover how BoardClic\\\\'s data perspectives can elevate your board\\\\'s performance.</p>' +\\n      '</div>' +\\n      '<div id=\\\"hubspotForm\\\" style=\\\"flex: 1; margin-top: 20px;\\\">' +\\n      'Please fill in the form to continue reading.' +\\n      '</div>' +\\n      '</div>' +\\n      '</div></div>' +\\n      '<style>' +\\n      '@import url(\\\\'https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap\\\\');' +\\n      '@media (max-width: 768px) {' +\\n      '  .overlay-inner {' +\\n      '    flex-direction: column;' +\\n      '  }' +\\n      '  .overlay-text {' +\\n      '    padding-right: 0;' +\\n      '    padding-bottom: 20px;' +\\n      '  }' +\\n      '  #hubspotForm {' +\\n      '    margin-top: 0;' +\\n      '  }' +\\n      '}' +\\n      '</style>';\\n      \\n\\n    document.body.insertAdjacentHTML('beforeend', overlayHTML);\\n  }\\n\\n  window.addEventListener(\\\"page:visit\\\", function(e) {\\n    if (unlockedAccess()) return;\\n    if (!isGated(document.location.pathname)) {\\n      removeOverlay();\\n      enableScrolling();\\n      return;\\n    }\\n\\n    showAccessForm();\\n  })\\n})();\\n</script>\\n\\n<!-- Monkey patches -->\\n<script>\\n(function(){\\n  const handler = {\\n    apply: function(state, unused, url) {\\n      setTimeout(() => {\\n        window.dispatchEvent(new CustomEvent(\\\"page:visit\\\"));\\n      }, 200);\\n\\n      return Reflect.apply(state, unused, url);\\n    }\\n  }\\n\\n  window.history.pushState = new Proxy(window.history.pushState, handler)\\n\\n  // Trigger `page:visit` on popstate so that backbutton also triggers a synthetic visit.\\n  window.addEventListener(\\\"popstate\\\", () => {\\n    window.dispatchEvent(new CustomEvent(\\\"page:visit\\\"));\\n  })\\n\\n  // Trigger `page:visit` on first page load.\\n  window.addEventListener(\\\"load\\\", () => {\\n  \\n  setTimeout(() => {\\n    window.dispatchEvent(new CustomEvent(\\\"page:visit\\\"));\\n  }, 200);\\n\\n  });\\n})();\\n</script>\\n\",description:\"BoardClic is the leading platform for digital board performance reviews that allows you to track your board’s effectiveness, alignment and composition over time.\",favicon:\"https://framerusercontent.com/assets/XdGmi1xhR75TvOeKaMHtJaUc.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/szCdW0ixjewcTucPxhVzphtHAYg.png\",title:\"BoardClic\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"kRAyBa,AAzBb,GAAgD,CAChD,GAA+B,CAClB,EAAkB,CAC3B,MAAO,OACP,OAAQ,OACR,QAAS,OACT,eAAgB,SAChB,WAAY,QACf,EASK,EAAkB,CACpB,GAAG,EACH,aAAc,EACd,WAAY,2BACZ,OAAQ,uCACR,MAAO,UACP,cAAe,QAClB,EACY,EAA0B,EAAiB,CAAC,EAAG,IACnC,EAAK,MAAO,CAC7B,MAAO,EACF,KACR,EAAC,CACJ,GCvBoL,SAAgB,EAAiB,EAAS,EAAa,EAAW,GAAG,EAAc,EAAsB,CAC/R,IAAM,EAAiB,EAAQ,IAAI,CAAC,GAAG,GAAY,MAAO,GAAyD,SAAU,EAAE,OAAO,KAAK,IAAM,EAAe,EAAW,aAAa,CAAC,QAAQ,QAAQ,GAAG,CAAC,IAAI,EACjN,IAAM,GAAc,EAAgB,EAAsB,KAAkE,EAAY,EAAS,EAAe,CAAC,OAAO,CAAc,EAAC,CAAC,EAAc,CAAW,EAAC,CAAO,EAAK,EAAa,EAAc,EAAiB,OAAO,CAAM,kBAL6F,AAJpX,GAA2B,IAAgC,CAI2E,EAAc,CAAC,QAAQ,CAAC,KAAK,EAAY,YAAa,EAAC,YAAY,CAAC,KAAK,EAAY,YAAa,EAAC,UAAU,CAAC,KAAK,EAAY,YAAa,EAAC,aAAa,CAAC,KAAK,EAAY,YAAa,EAAC,aAAa,CAAC,KAAK,EAAY,YAAa,CAAC,EAAO,EAAY,CAAC,EAAI,IAAS,EAAI,KAAK,GAAG,EAAE,aAAa,CAAC,SAAS,EAAO,CAAC,kBCJ8hB,AAAz9B,GAA8B,GAAU,UAAU,CAAC,yBAAyB,wBAAyB,EAAC,CAAc,EAAM,CAAC,CAAC,OAAO,kBAAkB,IAAI,qEAAuE,CAAA,EAAc,EAAI,CAAC,utBAAwtB,EAAc,EAAU,iBCCn+B,SAAwB,EAAS,EAAO,EAAa,CAAC,MAAM,CAAC,kBAAkB;;;;;;;;;;;;;;;;;;;2HAA46B,oBAAoB;;;;;yIAAkN,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4jQ,YAAY,oKAAoK,QAAQ,oEAAoE,OAAO,0BAA0B,YAAY,uEAAuE,MAAM,WAAY,CAAE"}