{"version":3,"file":"shared-lib.Bt2jf-RG.mjs","names":["useMemo"],"sources":["https:/framer.com/m/framer/icon-nullstate.js@0.7.0","https:/framerusercontent.com/modules/Ma20hU0GGRxLxZphbywl/OSpwWF91FHPVFyQJjMHt/utils.js","https:/framerusercontent.com/modules/zE3AKjaoatLLKJJyog5A/jrhmcFdr9lsC6EJPLlGe/HWza7hBZL.js","https:/framerusercontent.com/modules/kAAiPfrWhUd4N1siZPzh/Q1ADvf3ilyVvPp8ESIxh/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","// Generated by Framer (c07a8c1)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-aWl34 .framer-styles-preset-ln9zjh:not(.rich-text-wrapper), .framer-aWl34 .framer-styles-preset-ln9zjh.rich-text-wrapper a { --framer-link-current-text-color: var(--token-3607a2ea-8f9a-4681-ab41-2ae2ba4e2155, #c3ff98); --framer-link-current-text-decoration: none; --framer-link-hover-text-color: var(--token-c0910dc4-a78c-417e-b731-ce8ab938c25f, #f6f5f1); --framer-link-hover-text-decoration: none; --framer-link-text-color: var(--token-fa251892-a34d-4aef-a72e-5d26d677e66b, #ffffff); --framer-link-text-decoration: none; }\"];export const className=\"framer-aWl34\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (14b65b1)\nexport default function metadata(params,activeLocale){return{customHTMLBodyEnd:'<!-- GTM noscript -->\\n<noscript>\\n  <iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-TNCB7J4\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>\\n</noscript>\\n\\n<script>\\n(function(){\\n  // Don\\'t show if previously set\\n  if (localStorage.getItem(\\'cookieConsent\\')) return;\\n\\n  const wrap = document.createElement(\\'div\\');\\n  wrap.setAttribute(\\'role\\',\\'dialog\\');\\n  wrap.setAttribute(\\'aria-live\\',\\'polite\\');\\n  wrap.setAttribute(\\'aria-label\\',\\'Cookie consent\\');\\n  wrap.style.cssText = [\\n    \"position:fixed\",\\n    \"inset:auto 0 0 0\",\\n    \"z-index:2147483647\",\\n    \"background:#000\",\\n    \"color:#fff\",\\n    \"padding:15px\",\\n    \"display:flex\",\\n    \"flex-wrap:wrap\",\\n    \"gap:10px\",\\n    \"align-items:center\",\\n    \"justify-content:center\",\\n    \"text-align:center\",\\n    \"box-shadow:0 -6px 20px rgba(0,0,0,.2)\",\\n    \"font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif\"\\n  ].join(\";\");\\n\\n  // Message\\n  const p = document.createElement(\\'p\\');\\n  p.style.cssText = \"margin:0 0 10px 0;max-width:1000px;line-height:1.4;width:100%\";\\n  p.innerHTML = \\'We use cookies to enhance your experience. <a href=\"/privacy-policy\" style=\"color:#4A90E2;text-decoration:underline\">Cookie Policy</a>\\';\\n\\n  // Buttons\\n  const btnRow = document.createElement(\\'div\\');\\n  btnRow.style.cssText = \"width:100%;display:flex;gap:10px;justify-content:center;flex-wrap:wrap\";\\n\\n  const accept = document.createElement(\\'button\\');\\n  accept.textContent = \\'Accept All\\';\\n  accept.style.cssText = [\\n    \"background:#647BF7\",\\n    \"color:#fff\",\\n    \"border:none\",\\n    \"padding:8px 16px\",\\n    \"cursor:pointer\",\\n    \"border-radius:4px\",\\n    \"font-weight:600\"\\n  ].join(\";\");\\n\\n  const reject = document.createElement(\\'button\\');\\n  reject.textContent = \\'Reject Non-Essential\\';\\n  reject.style.cssText = [\\n    \"background:transparent\",\\n    \"color:#fff\",\\n    \"border:1px solid #fff\",\\n    \"padding:8px 16px\",\\n    \"cursor:pointer\",\\n    \"border-radius:4px\"\\n  ].join(\";\");\\n\\n  btnRow.append(accept, reject);\\n  wrap.append(p, btnRow);\\n  document.body.appendChild(wrap);\\n\\n  // Shims\\n  window.dataLayer = window.dataLayer || [];\\n  window.gtag = window.gtag || function(){ dataLayer.push(arguments); };\\n\\n  // Handlers\\n  accept.onclick = function(){\\n    localStorage.setItem(\\'cookieConsent\\',\\'accepted\\');\\n    try {\\n      gtag(\\'consent\\',\\'update\\', {\\n        analytics_storage:\\'granted\\',\\n        ad_storage:\\'granted\\',\\n        ad_user_data:\\'granted\\',\\n        ad_personalization:\\'granted\\'\\n      });\\n      dataLayer.push({event:\\'consent_accepted_all\\'});\\n    } catch(e){}\\n    wrap.remove();\\n  };\\n\\n  reject.onclick = function(){\\n    localStorage.setItem(\\'cookieConsent\\',\\'rejected\\');\\n    try {\\n      gtag(\\'consent\\',\\'update\\', {\\n        analytics_storage:\\'denied\\',\\n        ad_storage:\\'denied\\',\\n        ad_user_data:\\'denied\\',\\n        ad_personalization:\\'denied\\'\\n      });\\n      dataLayer.push({event:\\'consent_rejected_non_essential\\'});\\n    } catch(e){}\\n    wrap.remove();\\n  };\\n})();\\n</script>',customHTMLHeadEnd:\"<!-- Consent Mode defaults (BEFORE GTM) -->\\n<script>\\n  window.dataLayer = window.dataLayer || [];\\n  function gtag(){ dataLayer.push(arguments); }\\n  gtag('consent', 'default', {\\n    ad_personalization: 'denied',\\n    ad_storage: 'denied',\\n    ad_user_data: 'denied',\\n    analytics_storage: 'denied',\\n    functionality_storage: 'denied',\\n    personalization_storage: 'denied',\\n    security_storage: 'granted',\\n    wait_for_update: 500\\n  });\\n  gtag('set', 'ads_data_redaction', true);\\n  gtag('set', 'url_passthrough', false);\\n</script>\\n\\n<!-- GTM (Head) -->\\n<script>\\n(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-TNCB7J4');\\n</script>\",description:\"Plug data from billions of different data points into your audience and watch the effectiveness of your targeting skyrocket. \",favicon:\"https://framerusercontent.com/assets/lSftr1dxh0WXX3pM3vLFOwyspN8.svg\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/wZY0fOqdKZmjjrVM1Vo6qAPj0Y.webp\",title:\"Outra | Upgrade your audience with the UK’s most powerful data\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"2RAEa,EAAkB,CAC3B,MAAO,OACP,OAAQ,OACR,QAAS,OACT,eAAgB,SAChB,WAAY,SACf,CASK,EAAkB,CACpB,GAAG,EACH,aAAc,EACd,WAAY,2BACZ,OAAQ,uCACR,MAAO,UACP,cAAe,SAClB,CACY,EAA0B,GAAkB,EAAG,IACnC,EAAK,MAAO,CAC7B,MAAO,EACF,MACR,MCtBiL,SAAgB,EAAiB,EAAS,EAAa,EAAW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