{"version":3,"file":"Partner.BO9V2CZI.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/pr40v3oUhimzgWjguPxv/VwVGSWw63dBrXoaO9IwI/Partner.js"],"sourcesContent":["// Stacked Partner Listing Page — v16 · BENTO\n//\n// v16: the video tile is now a paid-tier element. Lite listings no longer\n// render it, matching contact details and the website link. Promote and\n// Approved are unchanged. Handled the same way as showWebsite: a showVideo flag\n// resolved from the tier at load, checked before the embed is built — the Video\n// value is still read from Airtable and still stored on the record, it is just\n// not rendered. That is deliberate: a Lite partner who upgrades gets their\n// video back instantly with no resubmission, which makes it a usable upsell.\n//\n// v15: the \"Get in touch\" modal is now a product lead form rather than a\n// general enquiry. It asks what the visitor actually wants (demo, pricing,\n// general question), who they are (name, work email, phone, job role), and\n// what they run (company, number of sites, timeline). Tone stays soft on\n// purpose: the heading is \"Interested in X?\", the sub says we'll make an\n// introduction, and only first name and work email are enforced. Everything\n// else is optional, so a curious operator is never blocked by a form.\n//\n// Where it goes: the form writes a row straight to the Airtable \"Forms\" table\n// (same client-side pattern ResearchReports.tsx already uses for gated report\n// downloads), linked to this partner's record. An Airtable automation on that\n// table posts the Slack alert and sends the partner email. Nothing about\n// notification lives in this file, which is deliberate — the routing rules can\n// change in Airtable without a site republish.\n//\n// The mailto path is kept as a fallback only. If the Airtable write fails for\n// any reason the modal falls back to opening the visitor's mail client to\n// liteEnquiryEmail, so a lead is never silently lost.\n//\n// NOTE: the Airtable token in \"API Key\" now needs create permission on Forms,\n// not just read. Read-only tokens will hit the mailto fallback every time.\n//\n// v14: \"Visit Website\" and \"Edit your listing\" are both hidden, and the slot\n// where Visit Website sat now carries a \"Get in touch\" button. Neither button\n// is deleted — each sits behind a Content toggle (\"Show Visit Website Button\" /\n// \"Show Edit Listing Button\", both off by default).\n//\n// v13: the \"Stacked-verified data\" pill is now a link through to the method\n// page (Content control \"Method Page Path\", default /how-we-score).\n//\n// v12: the usage bars actually fill. The fill element is a span, and an inline\n// span ignores width and height, so it had always rendered at zero size — every\n// bar was just an empty grey track. It is now display:block, fills to its own\n// percentage rather than being normalised against the largest category, animates\n// out from zero on load, and takes its own fill and track colours.\n//\n// v11: the usage chart is real. It used to read a `Usage` field on the partner\n// record that does not exist in Airtable, so it only ever rendered for the\n// canvas sample. It now fetches this partner's Health Check rows from the Tech\n// Usage table (matched on a Partner slug lookup, so it is one request, not the\n// whole table), tallies the Category tag on each row and charts the split.\n//\n// v10: the video tile holds a true 16:9 instead of being stretched to fill\n// whatever height the sidebar left over. Spare height in the left column now\n// goes to the last non-video tile, so the bento's bottom edge stays flush.\n//\n// v9: Integration Partners no longer stretches the sidebar. The list keeps its\n// full contents but sits in a fixed-height well (Content control \"Integrations\n// Visible\", default 10) with the remainder scrolling inside it.\n//\n// v8: master-prompt treatment. Design exposes grouped Spacing, grouped\n// Typography (one Font+Case pair per text style) and grouped Colors.\n//\n// Fix 1: applyStyle appends \"px\" to numeric fontSize/letterSpacing values. The\n// Font control returns those as bare numbers; React's style prop auto-unit-izes\n// them but raw node.style assignment doesn't.\n// Fix 2: the effect's dependency array includes the typography/colors/spacing\n// objects themselves, since Font pickers and Case enums live nested inside them.\n//\n// Contact policy: email / phone are never shown on any listing regardless of\n// package (showContact is forced off). Every \"Get in touch\" opens the lead form.\n//\n// v7: About clamps to 5 lines with a Show more/less toggle.\n// v6: company logo, reads the Partners table's \"Logo\" column.\n// See also Partner_Mobile.tsx for the dedicated compact/mobile variant.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useRef}from\"react\";const BASE_ID=\"appNvxXXaMWJfiX6X\";const ENQUIRY_SLACK_WEBHOOK=\"https://hooks.slack.com/services/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\";// ─── Colour helpers ──────────────────────────────────────────────────────────\nfunction parseColor(c){if(!c)return null;c=String(c).trim();if(c[0]===\"#\"){let h=c.slice(1);if(h.length===3)h=h.split(\"\").map(x=>x+x).join(\"\");return[parseInt(h.slice(0,2),16),parseInt(h.slice(2,4),16),parseInt(h.slice(4,6),16)];}const m=c.match(/rgba?\\(([^)]+)\\)/);if(m){const p=m[1].split(\",\").map(s=>parseFloat(s));return[p[0],p[1],p[2]];}return null;}function toHex(r,g,b){return\"#\"+[r,g,b].map(x=>Math.max(0,Math.min(255,Math.round(x))).toString(16).padStart(2,\"0\")).join(\"\");}function mix(color,target,amt){const a=parseColor(color),b=parseColor(target);if(!a)return color;return toHex(a[0]+(b[0]-a[0])*amt,a[1]+(b[1]-a[1])*amt,a[2]+(b[2]-a[2])*amt);}// ─── Caching fetch (all fields) ──────────────────────────────────────────────\nconst _mem={};async function fetchAll(apiKey,tableName,formula=null){let records=[],offset=null;const t=encodeURIComponent(tableName);do{const url=new URL(`https://api.airtable.com/v0/${BASE_ID}/${t}`);if(offset)url.searchParams.set(\"offset\",offset);if(formula)url.searchParams.set(\"filterByFormula\",formula);const res=await fetch(url.toString(),{headers:{Authorization:`Bearer ${apiKey}`}});if(!res.ok){const e=await res.json();throw new Error(e.error?.message||`Airtable error ${res.status}`);}const data=await res.json();records=[...records,...data.records];offset=data.offset??null;}while(offset)return records;}async function cachedFetchAll(apiKey,tableName,formula=null,ttl=3e5){const ck=tableName+\"|\"+(formula||\"\");const now=Date.now();if(_mem[ck]&&now-_mem[ck].t<ttl)return _mem[ck].d;try{const raw=sessionStorage.getItem(\"sp_\"+ck);if(raw){const o=JSON.parse(raw);if(now-o.t<ttl){_mem[ck]={t:o.t,d:o.d};return o.d;}}}catch(e){}const data=await fetchAll(apiKey,tableName,formula);_mem[ck]={t:now,d:data};try{sessionStorage.setItem(\"sp_\"+ck,JSON.stringify({t:now,d:data}));}catch(e){}return data;}function buildIdMap(records){const map={};records.forEach(r=>{map[r.id]=r.fields.Name??r.fields.name??Object.values(r.fields)[0]??\"\";});return map;}function allNames(records){return records.map(r=>r.fields.Name).filter(Boolean).sort();}function isApproved(value){if(value===true||value===\"checked\")return true;if(typeof value===\"string\")return value.trim().toLowerCase()===\"approved\";if(Array.isArray(value))return value.some(v=>typeof v===\"string\"&&v.trim().toLowerCase()===\"approved\");return false;}// Tier resolution. Reads the single-select \"Package\" column (Lite / Promote /\n// Approved); falls back to the legacy Approved checkbox when Package is blank,\n// so an unset listing safely defaults to Lite.\nfunction tierOf(fields,packageCol,approvedCol){const raw=getField(fields,packageCol);const val=Array.isArray(raw)?raw[0]:raw;const t=val?String(val).trim().toLowerCase():\"\";if(t===\"approved\")return\"approved\";if(t===\"promote\")return\"promote\";if(t===\"lite\")return\"lite\";return isApproved(fields[approvedCol])?\"approved\":\"lite\";}// Single place deciding which paid-tier elements a listing gets. Website link\n// and video both sit behind this, so a future gated element is one call, not a\n// fourth copy of the same comparison.\nfunction isPaidTier(tier){return tier===\"promote\"||tier===\"approved\";}function normalizeUrl(u){if(!u)return null;const s=String(u).trim();if(!s)return null;return/^https?:\\/\\//i.test(s)?s:\"https://\"+s;}function getEmbedUrl(url){if(!url)return null;const normalized=normalizeUrl(url);if(!normalized)return null;let parsed=null;try{parsed=new URL(normalized);}catch(e){return null;}const host=parsed.hostname.replace(/^www\\./i,\"\").toLowerCase();if(host===\"youtube.com\"||host===\"m.youtube.com\"||host===\"youtu.be\"){const fromWatch=parsed.searchParams.get(\"v\");const fromPath=parsed.pathname.match(/\\/embed\\/([a-zA-Z0-9_-]{11})/)?.[1];const fromShort=host===\"youtu.be\"?parsed.pathname.replace(/^\\/+/,\"\").split(\"/\")[0]:\"\";const id=[fromWatch,fromPath,fromShort].find(v=>/^[a-zA-Z0-9_-]{11}$/.test(String(v||\"\")));if(id)return`https://www.youtube.com/embed/${id}`;return null;}if(host===\"vimeo.com\"||host===\"player.vimeo.com\"){const vimeoId=parsed.pathname.match(/\\/(?:video\\/)?(\\d+)/)?.[1];if(vimeoId)return`https://player.vimeo.com/video/${vimeoId}`;return null;}return null;}function getSlug(){const parts=window.location.pathname.split(\"/\").filter(Boolean);return parts[parts.length-1]||null;}function normalizeCompareValue(value){return String(value||\"\").trim().toLowerCase().replace(/&/g,\" and \").replace(/[^a-z0-9]+/g,\"-\").replace(/^-+|-+$/g,\"\");}function scaffoldSlugPrefix(value){const slug=String(value||\"\").trim();if(!slug)return\"\";const cut=slug.match(/^(.*?)(?:-duplicate-form-submission(?:---.*)?|---archived|--archived|-archived|---imported|--imported|-imported)$/i);return cut&&cut[1]?cut[1]:slug;}function findPartnerFallback(records,urlSlug){const wanted=normalizeCompareValue(urlSlug);if(!wanted)return null;return records.find(r=>{const fields=r?.fields||{};const nameNorm=normalizeCompareValue(getField(fields,\"Name\"));if(nameNorm&&nameNorm===wanted)return true;const slugNorm=normalizeCompareValue(getField(fields,\"Slug\"));if(slugNorm&&slugNorm===wanted)return true;const prefixNorm=normalizeCompareValue(scaffoldSlugPrefix(getField(fields,\"Slug\")));return!!prefixNorm&&prefixNorm===wanted;})||null;}function isScaffoldSlug(value){const raw=toNonEmptyString(value);if(!raw)return false;return scaffoldSlugPrefix(raw)!==raw;}function partnerContentScore(record){const fields=record?.fields||{};const hasName=!!resolveFirstString(fields,[\"Name\",\"name\",\"Title\",\"title\",\"Partner Name\",\"Company Name\",\"Company\",\"Partner\",\"Tool Name\",\"Tool\"]);const hasSummary=!!resolveFirstString(fields,[\"Summary\",\"Short Description\",\"Description\",\"About\",\"Overview\",\"Bio\",\"Tagline\"]);const hasAbout=!!resolveFirstString(fields,[\"Description\",\"About\",\"Long Description\",\"Details\",\"Overview\",\"Summary\"]);const hasVideo=!!resolveFirstString(fields,[\"Video\",\"Video URL\",\"Video Link\",\"Demo Video\",\"Embed URL\"]);const hasLogo=!!getLogoUrl(fields);const hasTags=[\"Solution\",\"Technology\",\"Sector\",\"Integration\"].some(k=>{const v=getField(fields,k);if(Array.isArray(v))return v.length>0;return!!toNonEmptyString(v);});return(hasName?16:0)+(hasSummary||hasAbout?8:0)+(hasVideo?4:0)+(hasLogo?2:0)+(hasTags?1:0);}function selectBestPartnerRecord(records,urlSlug){if(!Array.isArray(records)||!records.length)return null;const wanted=normalizeCompareValue(urlSlug);const rank=list=>list.slice().sort((a,b)=>{const byScore=partnerContentScore(b)-partnerContentScore(a);if(byScore!==0)return byScore;return String(a?.id||\"\").localeCompare(String(b?.id||\"\"));})[0]||null;const meta=records.map(record=>{const fields=record?.fields||{};const slugRaw=getField(fields,\"Slug\");const slugNorm=normalizeCompareValue(slugRaw);const prefixNorm=normalizeCompareValue(scaffoldSlugPrefix(slugRaw));const nameNorm=normalizeCompareValue(getField(fields,\"Name\"));const matchesWanted=!!wanted&&(slugNorm===wanted||prefixNorm===wanted||nameNorm===wanted);const exactSlug=!!wanted&&slugNorm===wanted;const nonScaffold=!isScaffoldSlug(slugRaw);return{record,matchesWanted,exactSlug,nonScaffold};});const exactNonScaffold=rank(meta.filter(m=>m.matchesWanted&&m.exactSlug&&m.nonScaffold).map(m=>m.record));if(exactNonScaffold)return exactNonScaffold;const matchedNonScaffold=rank(meta.filter(m=>m.matchesWanted&&m.nonScaffold).map(m=>m.record));if(matchedNonScaffold)return matchedNonScaffold;const matchedAny=rank(meta.filter(m=>m.matchesWanted).map(m=>m.record));if(matchedAny)return matchedAny;return rank(records);}function formulaValue(value){return String(value??\"\").replace(/\\\\/g,\"\\\\\\\\\").replace(/\"/g,'\\\\\"');}// Builds the \"what operators use it for\" breakdown from Health Check rows.\nfunction usageFromRecords(records,categoryField,max){if(!records||!records.length)return[];const counts={};let total=0;records.forEach(r=>{let c=getField(r.fields,categoryField);if(Array.isArray(c))c=c[0];if(c&&typeof c===\"object\")c=c.name;c=(c||\"\").toString().trim();if(!c||/^uncategorised$/i.test(c))return;counts[c]=(counts[c]||0)+1;total++;});if(!total)return[];const sorted=Object.keys(counts).map(k=>({label:k,n:counts[k]})).sort((a,b)=>b.n-a.n);const cap=Math.max(1,max||6);const head=sorted.slice(0,cap);const tailCount=sorted.slice(cap).reduce((s,x)=>s+x.n,0);const out=head.map(x=>({label:x.label,value:Math.round(x.n/total*100)}));if(tailCount>0)out.push({label:\"Other\",value:Math.round(tailCount/total*100)});return out.filter(x=>x.value>0);}function parseUsage(str){if(!str||typeof str!==\"string\")return[];return str.split(\"\\n\").map(l=>l.trim()).filter(Boolean).map(l=>{const i=l.lastIndexOf(\":\");if(i===-1)return null;const label=l.slice(0,i).trim();const value=parseFloat(l.slice(i+1));if(!label||isNaN(value))return null;return{label,value};}).filter(Boolean);}function isSosScoreLabel(label){const n=String(label||\"\").trim().toLowerCase();if(!n)return false;if(/\\bsos\\b/.test(n))return true;if(/\\bstacked\\s*operator\\s*score\\b/.test(n))return true;if(/\\boperator\\s*score\\b/.test(n))return true;return/\\bscore\\b/.test(n)&&/\\boperator\\b/.test(n);}// ─── Logo field resolution ───────────────────────────────────────────────────\nfunction getLogoUrl(fields){if(!fields)return null;const hit=Object.keys(fields).find(k=>k.trim().toLowerCase()===\"logo\");const val=hit?fields[hit]:undefined;if(Array.isArray(val)&&val[0]&&val[0].url)return val[0].url;if(typeof val===\"string\"&&val.trim())return val.trim();return null;}// ─── Generic case-insensitive field lookup ───────────────────────────────────\nfunction getField(fields,wanted){if(!fields||!wanted)return undefined;if(fields[wanted]!==undefined)return fields[wanted];const target=String(wanted).trim().toLowerCase();const hit=Object.keys(fields).find(k=>k.trim().toLowerCase()===target);return hit?fields[hit]:undefined;}function toNonEmptyString(value){if(value==null)return\"\";if(Array.isArray(value)){for(const item of value){const hit=toNonEmptyString(item);if(hit)return hit;}return\"\";}return String(value).trim();}function resolveFirstString(fields,candidates,fallback=\"\"){for(const fieldName of candidates||[]){const value=toNonEmptyString(getField(fields,fieldName));if(value)return value;}return fallback;}function slugToLabel(slug){const raw=toNonEmptyString(slug);if(!raw)return\"\";const cleaned=raw.replace(/[-_]+/g,\" \").replace(/\\s+/g,\" \").trim();if(!cleaned)return\"\";return cleaned.replace(/\\b\\w/g,m=>m.toUpperCase());}function resolvePartnerName(record,slugValue){const fields=record?.fields||{};const preferred=[\"Name\",\"name\",\"Title\",\"title\",\"Partner Name\",\"Company Name\",\"Company\",\"Partner\",\"Tool Name\",\"Tool\"];const fromFields=resolveFirstString(fields,preferred);if(fromFields)return fromFields;const topLevelName=toNonEmptyString(record?.name||record?.title);if(topLevelName)return topLevelName;const fromSlug=slugToLabel(slugValue||getField(fields,\"Slug\")||getField(fields,\"slug\"));if(fromSlug)return fromSlug;return\"Untitled Partner\";}function toLabels(value,map){const arr=Array.isArray(value)?value:value==null||value===\"\"?[]:[value];return arr.map(v=>typeof v===\"string\"&&v.startsWith(\"rec\")&&map[v]?map[v]:v).filter(v=>typeof v===\"string\"&&v.trim());}// ─── Typography helpers ──────────────────────────────────────────────────────\nfunction caseStyle(value){return{textTransform:value||\"none\"};}function fontOf(group){return{...group?.font||{},...caseStyle(group?.case)};}const PX_PROPS=new Set([\"fontSize\",\"letterSpacing\"]);function applyStyle(node,styleObj){if(!node||!styleObj)return;Object.keys(styleObj).forEach(k=>{let v=styleObj[k];if(v===undefined||v===null||v===\"\")return;if(typeof v===\"number\"&&PX_PROPS.has(k))v=v+\"px\";node.style[k]=v;});}// ─── Solution icons ──────────────────────────────────────────────────────────\nconst ICONS={pos:'<rect x=\"6\" y=\"2\" width=\"12\" height=\"20\" rx=\"1\"/><path d=\"M9 6h6M9 10h6M9 14h2\"/>',payment:'<rect x=\"2\" y=\"5\" width=\"20\" height=\"14\" rx=\"2\"/><path d=\"M2 10h20\"/>',kitchen:'<rect x=\"3\" y=\"4\" width=\"18\" height=\"12\" rx=\"2\"/><path d=\"M8 20h8M12 16v4\"/>',order:'<path d=\"M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01\"/>',booking:'<rect x=\"3\" y=\"4\" width=\"18\" height=\"18\" rx=\"2\"/><path d=\"M3 9h18M8 2v4M16 2v4\"/>',loyalty:'<path d=\"M12 21s-7-4.5-9-8.5C1.5 9 3 6 6 6c2 0 3 1.2 4 2.5C11 7.2 12 6 14 6c3 0 4.5 3 3 6.5C19 16.5 12 21 12 21z\"/>',analytics:'<path d=\"M3 3v18h18\"/><path d=\"M7 14l3-3 3 3 4-5\"/>',cloud:'<path d=\"M17 18a4 4 0 0 0 0-8 6 6 0 0 0-11.3 1.5A3.5 3.5 0 0 0 6 18z\"/>',api:'<path d=\"M8 6l-6 6 6 6M16 6l6 6-6 6\"/>',mobile:'<rect x=\"7\" y=\"2\" width=\"10\" height=\"20\" rx=\"2\"/><path d=\"M11 18h2\"/>',fallback:'<circle cx=\"12\" cy=\"12\" r=\"9\"/><path d=\"M9 12l2 2 4-4\"/>'};function iconKey(name){const n=(name||\"\").toLowerCase();if(n.includes(\"pos\")||n.includes(\"point of sale\"))return\"pos\";if(n.includes(\"pay\"))return\"payment\";if(n.includes(\"kitchen\")||n.includes(\"display\")||n.includes(\"kds\"))return\"kitchen\";if(n.includes(\"order\"))return\"order\";if(n.includes(\"book\")||n.includes(\"reserv\")||n.includes(\"table\"))return\"booking\";if(n.includes(\"loyal\")||n.includes(\"reward\")||n.includes(\"gift\"))return\"loyalty\";if(n.includes(\"analyt\")||n.includes(\"report\")||n.includes(\"insight\"))return\"analytics\";if(n.includes(\"cloud\"))return\"cloud\";if(n.includes(\"api\"))return\"api\";if(n.includes(\"ios\")||n.includes(\"android\")||n.includes(\"mobile\")||n.includes(\"app\")||n.includes(\"kiosk\"))return\"mobile\";return\"fallback\";}function svgFor(name){return`<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">${ICONS[iconKey(name)]}</svg>`;}// ─── Lead form option sets ───────────────────────────────────────────────────\nconst ENQUIRY_TYPES=[\"A demo\",\"Pricing\",\"General question\"];const SITE_BANDS=[\"\",\"1 site\",\"2-5 sites\",\"6-20 sites\",\"21-50 sites\",\"50+ sites\"];const TIMELINES=[\"\",\"Looking now\",\"Next few months\",\"Just researching\"];// ─── Sample data (Framer canvas / no data) ───────────────────────────────────\nconst SAMPLE_POOLS={solution:[\"Point of Sale\",\"Payments\",\"Kitchen Display\",\"Online Ordering\",\"Reservations & Bookings\",\"Loyalty & Rewards\",\"Inventory\",\"Staff Scheduling\",\"Analytics & Reporting\",\"Table Management\",\"Gift Cards\",\"Self-Service Kiosk\"],technology:[\"Cloud\",\"iOS\",\"Android\",\"Web App\",\"API\",\"Offline Mode\",\"Integrations\",\"On-Premise\"],sector:[\"Restaurants\",\"QSR\",\"Caf\\xe9s\",\"Bars & Pubs\",\"Hotels\",\"Hospitality\",\"Retail\",\"Stadiums & Venues\",\"Catering\"]};const SAMPLE={recordId:null,name:\"Sample Partner\",logo:null,summary:\"All-in-one point of sale built for high-volume restaurants — orders, payments, and kitchen display in one tidy system.\",about:\"This is placeholder copy shown in the Framer editor so you can adjust the layout without live data.\\n\\nIt fills the About section with two paragraphs so spacing and rhythm are easy to judge while designing.\",video:\"https://www.youtube.com/embed/ysz5S6PUM-U\",website:\"https://example.com\",email:\"hello@example.com\",phone:\"+44 20 7946 0000\",approved:true,tier:\"approved\",showContact:false,showWebsite:true,showVideo:true,stats:[{num:\"35\",label:\"Operators\"},{num:\"120\",label:\"Venues\"},{num:\"4.6★\",label:\"Operator score\"}],operatorNames:[\"Dishoom\",\"Hakkasan Group\",\"BAO London\",\"Bombay Brasserie\",\"Cabana\",\"Big Easy\",\"El Pastor\",\"Fish Shop\",\"Pasture\",\"Norma\",\"MyLahore\",\"Balans\",\"Bocca Di Lupo\",\"Sucre London\",\"The Waffle House\",\"Din Tai Fung\",\"Jack Solomons Club\",\"Brighton Music Hall\"],usage:[{label:\"Point of Sale\",value:48},{label:\"Payments\",value:32},{label:\"Mobile/QR Ordering\",value:12},{label:\"Inventory & Stock Management\",value:8}],solution:[\"Point of Sale\",\"Payments\",\"Kitchen Display\"],technology:[\"Cloud\",\"iOS\",\"Android\",\"API\"],sector:[\"Restaurants\",\"QSR\",\"Hospitality\"],integration:[\"Xero\",\"Deliveroo\",\"Stripe\",\"Uber Eats\",\"Just Eat\",\"QuickBooks\",\"Shopify\",\"Mailchimp\",\"Klaviyo\",\"Google Calendar\",\"OpenTable\",\"Square\",\"Sage\",\"Zapier\",\"SumUp\",\"Trivec\"],support:[\"24/7 phone support\",\"Onboarding & training\",\"Dedicated account manager\"]};export default function StackedPartnerPage({apiKey,tableName,technologyTable,sectorTable,solutionTable,supportTable,integrationField,integrationTable,integrationVisible,usageTable,usageCategoryField,usageSlugField,usageTitle,usageMax,barScaleToMax,marketplacePath,methodPath,methodLabel,approvedField,packageField,liteEnquiryEmail,approvedBadge,showWebsiteButton,showEditButton,formsTable,formRecipientEmail,maxTags,operatorsVisible,operatorsOverflowLink,spacing,typography,colors}){const rootRef=useRef(null);const key=apiKey||process.env.AIRTABLE_KEY;const approvedCol=approvedField||\"Approved\";const packageCol=packageField||\"Package\";const liteEmail=liteEnquiryEmail||\"hello@wearestacked.io\";const intField=integrationField||\"Integration\";const intTable=integrationTable||\"Integration\";const formsTbl=formsTable||\"Forms\";const cap=maxTags||5;const operatorVisibleCount=Math.max(1,Math.floor(operatorsVisible||5));const operatorOverflowHref=operatorsOverflowLink||\"/contact\";const intVisible=Math.max(1,integrationVisible||10);const usageTbl=usageTable||\"Tech Usage\";const usageCatCol=usageCategoryField||\"Category\";const usageSlugCol=usageSlugField||\"Partner slug\";const usageMaxRows=Math.max(1,usageMax||6);const methodUrl=methodPath||\"/how-we-score\";const methodCta=methodLabel||\"How we score\";const websiteBtnOn=showWebsiteButton===true;const editBtnOn=showEditButton===true;const isCanvas=RenderTarget.current()===RenderTarget.canvas;// ── Spacing (grouped) ──────────────────────────────────────────────────\nconst sp=spacing||{};const spCard=sp.card||{};const spBento=sp.bento||{};const spSections=sp.sections||{};const spBadges=sp.badges||{};const padPx=spCard.padding??24;const radPx=spCard.radius??28;const bentoGap=spBento.gap??14;const tilePadding=spBento.tilePadding??24;const tileRadius=spBento.tileRadius??20;const mainRowGap=spSections.mainRowGap??14;const leftColGap=spSections.leftColGap??14;const sidebarGap=spSections.sidebarGap??22;const badgePx=spBadges.badgeSize??88;const logoPx=spBadges.logoHeight??32;// ── Colours (grouped) ──────────────────────────────────────────────────\nconst cl=colors||{};const mainColor=cl.mainColor||\"#E8440A\";const contrastColor=cl.contrastColor||\"#0F766E\";const textOnAccent=cl.textOnAccent||\"\";const textOnContrast=cl.textOnContrast||\"\";const cardBg=cl.cardBackground||\"#FFFFFF\";const backColor=cl.backLinkColor||\"\";const nameColor=cl.idNameColor||\"\";const summaryColor=cl.idSummaryColor||\"\";const labelColor=cl.sectionLabelColor||\"\";const statNumColor=cl.statNumColor||\"\";const statLabelColor=cl.statLabelColor||\"\";const barLabelColor=cl.barLabelColor||\"\";const barValColor=cl.barValColor||\"\";const barFillColor=cl.barFillColor||\"\";const barTrackColor=cl.barTrackColor||\"\";const aboutColor=cl.aboutBodyColor||\"\";const contactColor=cl.contactTextColor||\"\";const pillColor=cl.pillTextColor||\"\";const supportColor=cl.supportItemColor||\"\";const buttonTextColor=cl.buttonTextColor||\"\";// ── Typography (grouped, font + case per style) ───────────────────────\nconst ty=typography||{};const fBack=fontOf(ty.backLink);const fName=fontOf(ty.idName);const fSummary=fontOf(ty.idSummary);const fLabel=fontOf(ty.sectionLabel);const fStatNum=fontOf(ty.statNum);const fStatLabel=fontOf(ty.statLabel);const fBarLabel=fontOf(ty.barLabel);const fBarVal=fontOf(ty.barVal);const fAbout=fontOf(ty.aboutBody);const fContact=fontOf(ty.contactText);const fPill=fontOf(ty.pillText);const fSupport=fontOf(ty.supportItem);const fButton=fontOf(ty.buttonText);useEffect(()=>{if(!rootRef.current)return;const root=rootRef.current;root.id=\"sp-root\";const STYLE_ID=\"sp-styles\";const oldS=document.getElementById(STYLE_ID);if(oldS)oldS.remove();const style=document.createElement(\"style\");style.id=STYLE_ID;style.textContent=`\n            #sp-root, #sp-root * { pointer-events: all !important; box-sizing: border-box; }\n            #sp-root { width: 100%; font-family: sans-serif; }\n            .sp-card { display: flex; flex-direction: column; gap: 24px; }\n            .sp-back-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }\n            .sp-back { font-size: 14px; color: var(--main); text-decoration: none; font-weight: 500; }\n            .sp-logo { height: ${logoPx}px; width: auto; max-width: 180px; object-fit: contain; flex-shrink: 0; }\n\n            .sp-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: ${bentoGap}px; }\n            .sp-tile { border-radius: ${tileRadius}px; padding: ${tilePadding}px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }\n            .sp-t-accent { background: var(--accent-soft); color: var(--ink-accent); }\n            .sp-t-accent-mid { background: var(--accent-mid); color: var(--ink-accent); }\n            .sp-t-contrast { background: var(--contrast-soft); color: var(--ink-contrast); }\n            .sp-t-contrast-mid { background: var(--contrast-mid); color: var(--ink-contrast); }\n            .sp-t-dark { background: #0e0e0e; color: #fff; padding: 0; overflow: hidden; }\n            .sp-c3 { grid-column: span 3; } .sp-c12 { grid-column: span 12; }\n            @media (max-width: 860px) { .sp-bento { grid-template-columns: repeat(2, 1fr); } .sp-tile { grid-column: span 2 !important; } .sp-tile.sp-stat { grid-column: span 1 !important; } }\n            @media (max-width: 520px) { .sp-bento { grid-template-columns: 1fr; } .sp-tile, .sp-tile.sp-stat { grid-column: 1 / -1 !important; } }\n\n            .sp-verified { text-decoration: none; transition: background .15s ease, opacity .15s ease; }\n            .sp-verified:hover { opacity: .82; }\n            .sp-verified-cta { opacity: .72; font-weight: 700; white-space: nowrap; }\n            .sp-verified:hover .sp-verified-cta { opacity: 1; text-decoration: underline; }\n            .sp-verified-sep { opacity: .35; }\n\n            .sp-main-row { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 340px; gap: ${mainRowGap}px; align-items: stretch; }\n            @media (max-width: 860px) { .sp-main-row { grid-template-columns: 1fr; } }\n            .sp-left { display: flex; flex-direction: column; gap: ${leftColGap}px; min-width: 0; }\n            .sp-video-tile { flex: 0 0 auto; }\n            .sp-fill { flex: 1 1 auto; }\n            .sp-sidebar { gap: ${sidebarGap}px; }\n            .sp-subsec { display: flex; flex-direction: column; gap: 10px; }\n            .sp-divider { height: 1px; background: currentColor; opacity: .12; }\n            .sp-tlabel { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .55; }\n\n            .sp-id-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }\n            .sp-id-name { font-size: 30px; font-weight: 700; margin: 0; }\n            .sp-id-summary { font-size: 17px; line-height: 1.55; margin: 0; max-width: 640px; opacity: .85; }\n            .sp-id-left { display: flex; flex-direction: column; gap: 14px; min-width: 0; }\n\n            .sp-seal { width: 88px; height: 88px; flex-shrink: 0; color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; transform: rotate(-8deg); position: relative; }\n            .sp-seal-bg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 18px rgba(0,0,0,.18)); }\n            .sp-seal-bg .sp-scallop * { fill: var(--main); }\n            .sp-seal-bg .sp-ring { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 1.5; stroke-dasharray: 3 3; }\n            .sp-seal-text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; line-height: 1; }\n            .sp-seal-check { font-size: 16px; } .sp-seal-word { font-size: 7px; font-weight: 800; letter-spacing: .1em; margin-top: 2px; }\n            .sp-badge-img { object-fit: contain; flex-shrink: 0; }\n\n            .sp-btn { display: inline-block; padding: 11px 20px; border-radius: 99px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; border: 1.5px solid transparent; font-family: sans-serif; text-align: center; }\n            .sp-btn-primary { background: var(--main); color: #fff; }\n            .sp-btn-outline { background: transparent; border-color: currentColor; color: inherit; }\n            .sp-btn-block { display: block; width: 100%; }\n            .sp-btn-row { display: flex; flex-wrap: wrap; gap: 10px; }\n\n            .sp-stat-num { font-size: 30px; font-weight: 800; line-height: 1; }\n            .sp-stat-label { font-size: 12px; opacity: .65; margin-top: 8px; }\n            .sp-stat-link { text-decoration: none; color: inherit; }\n            .sp-stat-score {\n                background: linear-gradient(145deg, rgba(62,35,112,1) 0%, rgba(79,47,140,1) 100%);\n                color: #ffffff;\n                border: 1px solid rgba(196,161,255,0.75);\n                box-shadow: 0 0 0 1px rgba(255,255,255,0.14) inset, 0 10px 26px rgba(62,35,112,0.26);\n            }\n            .sp-stat-score .sp-stat-num,\n            .sp-stat-score .sp-stat-label { color: #ffffff !important; }\n            .sp-stat-score .sp-stat-label { opacity: .86; }\n\n            .sp-bar-row { display: flex; align-items: center; gap: 10px; }\n            .sp-bar-label { font-size: 12px; width: 96px; flex-shrink: 0; opacity: .8; }\n            .sp-bar-track { flex: 1; height: 10px; background: var(--bar-track); border-radius: 99px; overflow: hidden; }\n            .sp-bar-fill { display: block; width: 0; height: 100%; background: var(--bar-fill); border-radius: 99px; transition: width .75s cubic-bezier(.22,1,.36,1); }\n            @media (prefers-reduced-motion: reduce) { .sp-bar-fill { transition: none; } }\n            .sp-bar-val { font-size: 12px; font-weight: 700; width: 36px; text-align: right; }\n\n            .sp-about p { font-size: 14px; line-height: 1.7; margin: 0 0 10px; opacity: .9; }\n            .sp-about-body { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }\n            .sp-about-body.expanded { -webkit-line-clamp: unset; overflow: visible; }\n            .sp-about-toggle { align-self: flex-start; background: none; border: none; color: var(--main); font-weight: 700; font-size: 13px; cursor: pointer; padding: 4px 0 0; }\n            .sp-contact a { color: inherit; text-decoration: none; font-size: 14px; font-weight: 600; }\n            .sp-contact span { font-size: 14px; opacity: .8; }\n\n            .sp-pills { display: flex; flex-wrap: wrap; gap: 7px; }\n            .sp-pills-scroll { overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; scrollbar-width: thin; scrollbar-color: rgba(0,0,0,.22) transparent; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent 100%); mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent 100%); }\n            .sp-pills-scroll.at-end { -webkit-mask-image: none; mask-image: none; }\n            .sp-pills-scroll::-webkit-scrollbar { width: 6px; }\n            .sp-pills-scroll::-webkit-scrollbar-track { background: transparent; }\n            .sp-pills-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,.18); border-radius: 99px; }\n            .sp-pills-scroll::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,.3); }\n            .sp-tlabel-count { opacity: .7; font-weight: 700; }\n            .sp-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; font-size: 12px; font-weight: 600; background: rgba(255,255,255,.5); color: inherit; white-space: nowrap; }\n            .sp-pill svg { width: 14px; height: 14px; flex-shrink: 0; }\n            .sp-op-overflow { display:inline-flex; align-items:center; border-radius:100px; padding:8px 14px; font-size:13px; font-weight:700; color:rgb(62,35,112); background:transparent; border:1.5px dashed rgb(196,161,255); text-decoration:none; line-height:1.15; cursor:pointer; font-family:'DM Sans',sans-serif; }\n            .sp-op-overflow:hover { background:rgba(196,161,255,0.12); }\n            .sp-op-overflow:focus-visible { outline:2px solid rgb(62,35,112); outline-offset:2px; }\n            .sp-support-item { font-size: 13px; opacity: .9; }\n\n            .sp-video { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 9; }\n            .sp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }\n\n            .sp-overlay { position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; padding: 20px; font-family: sans-serif; }\n            .sp-modal { background: #fff; color: #111; border-radius: 16px; max-width: 520px; width: 100%; max-height: 90vh; overflow: auto; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.25); }\n            .sp-modal h3 { margin: 0; font-size: 20px; font-weight: 700; }\n            .sp-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }\n            .sp-modal-close { border: 1.5px solid rgba(0,0,0,.16); background: #fff; color: #222; border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 700; line-height: 1; cursor: pointer; }\n            .sp-modal-close:hover { border-color: rgba(0,0,0,.3); }\n            .sp-modal-close:focus-visible { outline: 2px solid var(--main); outline-offset: 2px; }\n            .sp-modal-sub { margin: 0 0 4px; font-size: 14px; line-height: 1.5; color: #666; }\n            .sp-group-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #999; margin: 10px 0 -2px; }\n            .sp-field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: #333; }\n            .sp-field input, .sp-field textarea, .sp-field select { padding: 10px 12px; border: 1.5px solid rgba(0,0,0,.15); border-radius: 10px; font-size: 14px; font-family: sans-serif; outline: none; resize: vertical; width: 100%; font-weight: 400; color: #111; background: #fff; }\n            .sp-field input:focus, .sp-field textarea:focus, .sp-field select:focus { border-color: var(--main); }\n            .sp-hint { font-size: 12px; font-weight: 400; color: #999; line-height: 1.4; }\n            /* Two-up rows so the form reads short even though it asks for more. */\n            .sp-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }\n            @media (max-width: 520px) { .sp-pair { grid-template-columns: 1fr; } }\n            .sp-chips { display: flex; flex-wrap: wrap; gap: 8px; }\n            .sp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1.5px solid rgba(0,0,0,.15); border-radius: 99px; font-size: 13px; font-weight: 500; color: #444; background: #fff; cursor: pointer; user-select: none; font-family: sans-serif; }\n            .sp-chip input { display: none; }\n            .sp-chip.checked { border-color: var(--main); background: color-mix(in srgb, var(--main) 10%, transparent); color: var(--main); }\n            .sp-chip.checked::before { content: \"✓\"; font-size: 11px; }\n            .sp-chip.disabled { opacity: .4; cursor: not-allowed; }\n            .sp-limit-note { font-size: 12px; font-weight: 400; color: #999; }\n            .sp-limit-note.maxed { color: #c0770b; }\n            .sp-err { font-size: 13px; color: #cc0000; display: none; }\n            .sp-row { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; position: sticky; bottom: -28px; background: #fff; padding-top: 8px; }\n            .sp-btn[disabled] { opacity: .6; cursor: default; }\n            .sp-privacy { font-size: 12px; color: #999; line-height: 1.45; margin: 2px 0 0; }\n        `;document.head.appendChild(style);root.innerHTML=`<div style=\"padding:60px 0;text-align:center;color:#999;\">Loading...</div>`;function el(tag,cls,html){const e=document.createElement(tag);if(cls)e.className=cls;if(html!=null)e.innerHTML=html;return e;}function label(text){const s=el(\"span\",\"sp-tlabel\");s.textContent=text;applyStyle(s,fLabel);if(labelColor)s.style.color=labelColor;return s;}function pill(text,withIcon){const s=el(\"span\",\"sp-pill\");if(withIcon)s.innerHTML=svgFor(text);const t=el(\"span\");t.textContent=text;s.appendChild(t);applyStyle(s,fPill);if(pillColor)s.style.color=pillColor;return s;}function capPillHeight(pills,visible){let lastWidth=-1;const apply=()=>{pills.style.maxHeight=\"\";pills.classList.remove(\"sp-pills-scroll\",\"at-end\");const kids=pills.children;if(kids.length<=visible)return;const anchor=kids[visible-1];if(!anchor)return;const cut=Math.round(anchor.getBoundingClientRect().bottom-pills.getBoundingClientRect().top);if(cut<=0||pills.scrollHeight<=cut+4)return;pills.classList.add(\"sp-pills-scroll\");pills.style.maxHeight=cut+\"px\";};pills.addEventListener(\"scroll\",()=>{const atEnd=pills.scrollTop+pills.clientHeight>=pills.scrollHeight-2;pills.classList.toggle(\"at-end\",atEnd);});requestAnimationFrame(apply);if(typeof ResizeObserver!==\"undefined\"){const ro=new ResizeObserver(entries=>{const w=Math.round(entries[0].contentRect.width);if(w===lastWidth)return;lastWidth=w;requestAnimationFrame(apply);});ro.observe(pills);}}function buildSeal(){const cx=50,cy=50,Rc=36,br=8,n=16;let bumps=\"\";for(let i=0;i<n;i++){const a=2*Math.PI*i/n;bumps+=`<circle cx=\"${(cx+Rc*Math.cos(a)).toFixed(2)}\" cy=\"${(cy+Rc*Math.sin(a)).toFixed(2)}\" r=\"${br}\"/>`;}const seal=el(\"div\",\"sp-seal\");seal.title=\"Approved partner\";seal.innerHTML=`<svg class=\"sp-seal-bg\" viewBox=\"0 0 100 100\" xmlns=\"http://www.w3.org/2000/svg\"><g class=\"sp-scallop\">${bumps}<circle cx=\"50\" cy=\"50\" r=\"${Rc}\"/></g><circle class=\"sp-ring\" cx=\"50\" cy=\"50\" r=\"32\"/></svg><span class=\"sp-seal-text\"><span class=\"sp-seal-check\">✓</span><span class=\"sp-seal-word\">APPROVED</span><span class=\"sp-seal-word\">PARTNER</span></span>`;return seal;}// ── Modals ────────────────────────────────────────────────────────────\nfunction openModal(buildBody){document.getElementById(\"sp-modal-overlay\")?.remove();const overlay=el(\"div\",\"sp-overlay\");overlay.id=\"sp-modal-overlay\";const modal=el(\"div\",\"sp-modal\");overlay.appendChild(modal);overlay.addEventListener(\"click\",e=>{if(e.target===overlay)overlay.remove();});buildBody(modal,()=>overlay.remove());document.body.appendChild(overlay);}function fieldEl({label,hint,type=\"text\",value=\"\",placeholder=\"\",id}){const wrap=el(\"label\",\"sp-field\");const lab=el(\"span\");lab.textContent=label;wrap.appendChild(lab);const input=type===\"textarea\"?el(\"textarea\"):el(\"input\");if(type!==\"textarea\")input.type=type;if(type===\"textarea\")input.rows=label===\"About\"?6:3;input.value=value;input.placeholder=placeholder;input.id=id;wrap.appendChild(input);if(hint){const h=el(\"span\",\"sp-hint\");h.textContent=hint;wrap.appendChild(h);}return wrap;}// Dropdown built the same way as fieldEl so the lead form reads as one\n// consistent stack. A blank first option keeps every select optional.\nfunction selectEl({label,id,options,hint}){const wrap=el(\"label\",\"sp-field\");const lab=el(\"span\");lab.textContent=label;wrap.appendChild(lab);const sel=el(\"select\");sel.id=id;options.forEach(o=>{const opt=el(\"option\");opt.value=o;opt.textContent=o===\"\"?\"Prefer not to say\":o;sel.appendChild(opt);});wrap.appendChild(sel);if(hint){const h=el(\"span\",\"sp-hint\");h.textContent=hint;wrap.appendChild(h);}return wrap;}function pairRow(a,b){const row=el(\"div\",\"sp-pair\");row.appendChild(a);row.appendChild(b);return row;}function checkGroup({label,options,selected,max}){const wrap=el(\"div\",\"sp-field\");const lab=el(\"span\");lab.textContent=`${label} (choose up to ${max})`;wrap.appendChild(lab);const chips=el(\"div\",\"sp-chips\");wrap.appendChild(chips);const note=el(\"span\",\"sp-limit-note\");wrap.appendChild(note);function refresh(){const inputs=[...chips.querySelectorAll(\"input\")];const count=inputs.filter(i=>i.checked).length;const atMax=count>=max;inputs.forEach(i=>{const chip=i.closest(\".sp-chip\");chip.classList.toggle(\"checked\",i.checked);const lock=!i.checked&&atMax;i.disabled=lock;chip.classList.toggle(\"disabled\",lock);});note.textContent=`${count}/${max} selected`;note.classList.toggle(\"maxed\",atMax);}options.forEach(opt=>{const chip=el(\"label\",\"sp-chip\");const input=el(\"input\");input.type=\"checkbox\";input.value=opt;if(selected.includes(opt))input.checked=true;const span=el(\"span\");span.textContent=opt;chip.appendChild(input);chip.appendChild(span);input.addEventListener(\"change\",refresh);chips.appendChild(chip);});refresh();return{wrap,getValues:()=>[...chips.querySelectorAll(\"input:checked\")].map(i=>i.value)};}function sendMailTo(to,subject,lines,close){if(!to){alert(\"No recipient email is configured. Set 'Listing Request Email' (and 'Enquiry Email') in the component settings.\");return;}window.location.href=\"mailto:\"+to+\"?subject=\"+encodeURIComponent(subject)+\"&body=\"+encodeURIComponent(lines.join(\"\\n\"));close();}function sendMail(subject,lines,close){sendMailTo(formRecipientEmail,subject,lines,close);}function submitRow(modal,text,onSubmit){const err=el(\"div\",\"sp-err\");modal.appendChild(err);const row=el(\"div\",\"sp-row\");const cancel=el(\"button\",\"sp-btn sp-btn-outline\");cancel.style.color=\"#111\";cancel.textContent=\"Cancel\";cancel.addEventListener(\"click\",()=>document.getElementById(\"sp-modal-overlay\")?.remove());const submit=el(\"button\",\"sp-btn sp-btn-primary\");submit.textContent=text;submit.addEventListener(\"click\",()=>onSubmit(err,submit));row.appendChild(cancel);row.appendChild(submit);modal.appendChild(row);return submit;}const v=id=>{const n=document.getElementById(id);return n&&n.value?String(n.value).trim():\"\";};// Writes one row to the Airtable Forms table. The Slack alert and the\n// partner email are Airtable automations on that table, not this file,\n// so routing can change without republishing the site.\nasync function createLead(fields){const res=await fetch(`https://api.airtable.com/v0/${BASE_ID}/${encodeURIComponent(formsTbl)}`,{method:\"POST\",headers:{Authorization:`Bearer ${key}`,\"Content-Type\":\"application/json\"},body:JSON.stringify({records:[{fields}]})});if(!res.ok){const e=await res.json().catch(()=>({}));throw new Error(e.error&&e.error.message||`Airtable error ${res.status}`);}return res.json();}async function notifyEnquirySlack({partnerName,enquiryType,visitorName,workEmail,company,pageUrl}){const lines=[`New marketplace enquiry`,`Partner: ${partnerName}`,`Type: ${enquiryType}`,`Visitor: ${visitorName}`,`Email: ${workEmail}`,company?`Company: ${company}`:\"\",`Page: ${pageUrl}`].filter(Boolean);await fetch(ENQUIRY_SLACK_WEBHOOK,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({text:lines.join(\"\\n\")})});}function openClaim(p){openModal((modal,close)=>{const head=el(\"div\",\"sp-modal-head\");const h=el(\"h3\");h.textContent=\"Is this your business?\";const closeBtn=el(\"button\",\"sp-modal-close\");closeBtn.type=\"button\";closeBtn.textContent=\"Close\";closeBtn.setAttribute(\"aria-label\",\"Close claim form\");closeBtn.addEventListener(\"click\",()=>close());head.appendChild(h);head.appendChild(closeBtn);modal.appendChild(head);const sub=el(\"p\",\"sp-modal-sub\");sub.textContent=`Tell us a bit about yourself and we'll help you claim ${p.name}.`;modal.appendChild(sub);modal.appendChild(fieldEl({label:\"Your name\",id:\"cName\"}));modal.appendChild(fieldEl({label:\"Your work email\",type:\"email\",id:\"cEmail\",hint:\"Use an email on the company's domain so we can verify ownership quickly.\"}));modal.appendChild(fieldEl({label:\"Your role at the business\",id:\"cRole\",placeholder:\"e.g. Marketing Manager\"}));modal.appendChild(fieldEl({label:\"Anything else? (optional)\",type:\"textarea\",id:\"cNote\"}));submitRow(modal,\"Send claim request\",err=>{if(!v(\"cName\")||!v(\"cEmail\")){err.textContent=\"Please add your name and work email.\";err.style.display=\"block\";return;}const lines=[`Listing: ${p.name}`,`Page: ${location.href}`,``,`From: ${v(\"cName\")}`,`Email: ${v(\"cEmail\")}`];if(v(\"cRole\"))lines.push(`Role: ${v(\"cRole\")}`);if(v(\"cNote\"))lines.push(``,`Notes:`,v(\"cNote\"));sendMailTo(\"hello@wearestacked.io\",`Business claim: ${p.name}`,lines,close);});});}function openEdit(p,pools){openModal((modal,close)=>{modal.appendChild(el(\"h3\")).textContent=\"Edit your listing\";const sub=el(\"p\",\"sp-modal-sub\");sub.textContent=`Update anything below and send it over — we'll review and publish the changes to ${p.name}.`;modal.appendChild(sub);modal.appendChild(el(\"p\",\"sp-group-label\")).textContent=\"Who's requesting\";modal.appendChild(fieldEl({label:\"Your name\",id:\"eName\"}));modal.appendChild(fieldEl({label:\"Your work email\",type:\"email\",id:\"eEmail\"}));modal.appendChild(el(\"p\",\"sp-group-label\")).textContent=\"Listing content\";modal.appendChild(fieldEl({label:\"Summary\",id:\"eSummary\",value:p.summary,hint:\"One punchy sentence shown at the top of your listing.\"}));modal.appendChild(fieldEl({label:\"About\",type:\"textarea\",id:\"eAbout\",value:p.about,hint:\"What you do and who it's for. 2–3 short paragraphs; leave a blank line between them.\"}));const sol=checkGroup({label:\"Solution\",options:pools.solution,selected:p.solution,max:cap});const tech=checkGroup({label:\"Technology\",options:pools.technology,selected:p.technology,max:cap});const sec=checkGroup({label:\"Sector\",options:pools.sector,selected:p.sector,max:cap});modal.appendChild(sol.wrap);modal.appendChild(tech.wrap);modal.appendChild(sec.wrap);modal.appendChild(fieldEl({label:\"Support\",type:\"textarea\",id:\"eSupport\",value:p.support.join(\"\\n\"),hint:\"One per line. Support options you offer.\"}));modal.appendChild(el(\"p\",\"sp-group-label\")).textContent=\"Contact details\";modal.appendChild(fieldEl({label:\"Website\",type:\"url\",id:\"eWebsite\",value:p.website||\"\",hint:\"Shown to visitors once your listing is approved.\"}));modal.appendChild(fieldEl({label:\"Public email\",type:\"email\",id:\"eContactEmail\",value:p.email||\"\"}));modal.appendChild(fieldEl({label:\"Phone\",id:\"ePhone\",value:p.phone||\"\"}));submitRow(modal,\"Send edit request\",err=>{if(!v(\"eName\")||!v(\"eEmail\")){err.textContent=\"Please add your name and work email so we can confirm the changes.\";err.style.display=\"block\";return;}const lines=[`Listing edit request for: ${p.name}`,`Page: ${location.href}`,``,`Requested by: ${v(\"eName\")} <${v(\"eEmail\")}>`,``,`── Proposed content ──`,`Summary: ${v(\"eSummary\")}`,``,`About:`,v(\"eAbout\"),``,`Solution tags: ${sol.getValues().join(\", \")}`,`Technology tags: ${tech.getValues().join(\", \")}`,`Sector tags: ${sec.getValues().join(\", \")}`,``,`Support:`,...v(\"eSupport\").split(\"\\n\").map(s=>\"- \"+s.trim()).filter(s=>s!==\"- \"),``,`── Contact ──`,`Website: ${v(\"eWebsite\")}`,`Public email: ${v(\"eContactEmail\")}`,`Phone: ${v(\"ePhone\")}`];sendMail(`Listing edit request: ${p.name}`,lines,close);});});}// ── The lead form ─────────────────────────────────────────────────────\n// Product-specific rather than a general enquiry: what they want, who\n// they are, what they run. Only first name and work email are enforced —\n// everything else is optional so a curious operator is never blocked.\nfunction openEnquiry(p){openModal((modal,close)=>{const head=el(\"div\",\"sp-modal-head\");const h=el(\"h3\");h.textContent=`Interested in ${p.name}?`;const closeBtn=el(\"button\",\"sp-modal-close\");closeBtn.type=\"button\";closeBtn.textContent=\"Close\";closeBtn.setAttribute(\"aria-label\",\"Close enquiry form\");closeBtn.addEventListener(\"click\",()=>close());head.appendChild(h);head.appendChild(closeBtn);modal.appendChild(head);const sub=el(\"p\",\"sp-modal-sub\");sub.textContent=`Tell us a little about your setup and we'll introduce you to the right person at ${p.name}. No hard sell.`;modal.appendChild(sub);// What are you after — single-choice chip row, defaults to a demo.\nlet enquiryType=ENQUIRY_TYPES[0];const typeWrap=el(\"div\",\"sp-field\");const typeLab=el(\"span\");typeLab.textContent=\"What are you after?\";typeWrap.appendChild(typeLab);const typeChips=el(\"div\",\"sp-chips\");ENQUIRY_TYPES.forEach(t=>{const chip=el(\"button\",\"sp-chip\"+(t===enquiryType?\" checked\":\"\"));chip.type=\"button\";const span=el(\"span\");span.textContent=t;chip.appendChild(span);chip.addEventListener(\"click\",()=>{enquiryType=t;Array.from(typeChips.children).forEach(k=>k.classList.remove(\"checked\"));chip.classList.add(\"checked\");});typeChips.appendChild(chip);});typeWrap.appendChild(typeChips);modal.appendChild(typeWrap);modal.appendChild(el(\"p\",\"sp-group-label\")).textContent=\"About you\";modal.appendChild(pairRow(fieldEl({label:\"First name\",id:\"qFirst\"}),fieldEl({label:\"Last name\",id:\"qLast\"})));modal.appendChild(pairRow(fieldEl({label:\"Work email\",type:\"email\",id:\"qEmail\"}),fieldEl({label:\"Phone\",type:\"tel\",id:\"qPhone\",placeholder:\"Optional\"})));modal.appendChild(fieldEl({label:\"Your job role\",id:\"qRole\",placeholder:\"e.g. Operations Director\"}));modal.appendChild(el(\"p\",\"sp-group-label\")).textContent=\"About your business\";modal.appendChild(pairRow(fieldEl({label:\"Company\",id:\"qCompany\"}),selectEl({label:\"Number of sites\",id:\"qSites\",options:SITE_BANDS})));modal.appendChild(selectEl({label:\"When are you looking to move?\",id:\"qTimeline\",options:TIMELINES}));modal.appendChild(fieldEl({label:\"Anything specific you'd like to see?\",type:\"textarea\",id:\"qMessage\",hint:`Optional. Helps ${p.name} come prepared.`}));const privacy=el(\"p\",\"sp-privacy\");privacy.textContent=\"We'll share these details with the partner so they can get back to you.\";modal.appendChild(privacy);submitRow(modal,\"Send enquiry\",async(err,btn)=>{const first=v(\"qFirst\"),last=v(\"qLast\"),email=v(\"qEmail\");if(!first||!email||!/.+@.+\\..+/.test(email)){err.textContent=\"Please add your first name and a valid work email.\";err.style.display=\"block\";return;}err.style.display=\"none\";btn.disabled=true;btn.textContent=\"Sending…\";// Everything beyond the named columns rides in Comments as a\n// labelled block, so the Slack post and partner email carry\n// the full picture without needing extra Airtable columns.\nconst detail=[`Looking for: ${enquiryType}`,v(\"qRole\")?`Job role: ${v(\"qRole\")}`:\"\",v(\"qSites\")?`Sites: ${v(\"qSites\")}`:\"\",v(\"qTimeline\")?`Timeline: ${v(\"qTimeline\")}`:\"\",`Partner package: ${p.tier}`,`Page: ${location.href}`,v(\"qMessage\")?`\nMessage:\n${v(\"qMessage\")}`:\"\"].filter(Boolean).join(\"\\n\");const fields={\"First name\":first,\"Last name\":last,\"Email\":email,\"Phone\":v(\"qPhone\"),\"Company\":v(\"qCompany\"),\"Comments\":detail};if(p.recordId)fields[\"Partner\"]=[p.recordId];Object.keys(fields).forEach(k=>{if(!fields[k])delete fields[k];});try{if(!key||isCanvas)throw new Error(\"No API key configured\");await createLead(fields);try{await notifyEnquirySlack({partnerName:p.name,enquiryType,visitorName:`${first} ${last}`.trim(),workEmail:email,company:v(\"qCompany\"),pageUrl:location.href});}catch(_){}// Swap the modal for a short thank-you rather than closing\n// outright, so the send visibly landed.\nmodal.innerHTML=\"\";modal.appendChild(el(\"h3\")).textContent=\"Thanks, that's on its way\";const done=el(\"p\",\"sp-modal-sub\");done.textContent=`We've passed your details to ${p.name}. Someone will be in touch shortly.`;modal.appendChild(done);const row=el(\"div\",\"sp-row\");const ok=el(\"button\",\"sp-btn sp-btn-primary\");ok.textContent=\"Done\";ok.addEventListener(\"click\",()=>close());row.appendChild(ok);modal.appendChild(row);}catch(e){// Never lose a lead. If the write fails, hand it to the\n// visitor's mail client addressed to Stacked.\nconst lines=[`Marketplace enquiry about: ${p.name}`,`Page: ${location.href}`,``,`From: ${first} ${last}`.trim(),`Email: ${email}`,v(\"qPhone\")?`Phone: ${v(\"qPhone\")}`:\"\",v(\"qCompany\")?`Company: ${v(\"qCompany\")}`:\"\",``,detail].filter(Boolean);sendMailTo(liteEmail,`Marketplace enquiry: ${p.name}`,lines,close);}});});}// ── Render the bento page ─────────────────────────────────────────────\nfunction renderPage(p,pools,main,contrast){const r=document.documentElement.style;r.setProperty(\"--main\",main);r.setProperty(\"--contrast\",contrast);r.setProperty(\"--bar-fill\",barFillColor||contrast);r.setProperty(\"--bar-track\",barTrackColor||mix(contrast,\"#ffffff\",.78));r.setProperty(\"--accent-soft\",mix(main,\"#ffffff\",.88));r.setProperty(\"--accent-mid\",mix(main,\"#ffffff\",.76));r.setProperty(\"--contrast-soft\",mix(contrast,\"#ffffff\",.88));r.setProperty(\"--contrast-mid\",mix(contrast,\"#ffffff\",.76));r.setProperty(\"--ink-accent\",textOnAccent||mix(main,\"#000000\",.5));r.setProperty(\"--ink-contrast\",textOnContrast||mix(contrast,\"#000000\",.5));root.innerHTML=\"\";const card=el(\"div\",\"sp-card\");card.style.background=cardBg;card.style.borderRadius=radPx+\"px\";card.style.padding=padPx+\"px\";const backRow=el(\"div\",\"sp-back-row\");const back=el(\"a\",\"sp-back\");back.href=marketplacePath;back.textContent=\"← Back to Marketplace\";applyStyle(back,fBack);if(backColor)back.style.color=backColor;backRow.appendChild(back);if(p.logo){const logo=el(\"img\",\"sp-logo\");logo.src=p.logo;logo.alt=p.name+\" logo\";backRow.appendChild(logo);}card.appendChild(backRow);const bento=el(\"div\",\"sp-bento\");// Identity tile\nconst id=el(\"div\",\"sp-tile sp-t-accent sp-c12\");const top=el(\"div\",\"sp-id-top\");const idLeft=el(\"div\",\"sp-id-left\");const name=el(\"h1\",\"sp-id-name\");name.textContent=p.name;applyStyle(name,fName);if(nameColor)name.style.color=nameColor;idLeft.appendChild(name);if(p.summary){const s=el(\"p\",\"sp-id-summary\");s.textContent=p.summary;applyStyle(s,fSummary);if(summaryColor)s.style.color=summaryColor;idLeft.appendChild(s);}// Primary CTA. \"Visit Website\" is hidden by default (Content > \"Show\n// Visit Website Button\") — the slot it used to occupy now carries a\n// \"Get in touch\" button opening the lead form.\nconst siteUrl=normalizeUrl(p.website);const ctaRow=el(\"div\",\"sp-btn-row\");if(websiteBtnOn&&siteUrl&&p.showWebsite){const w=el(\"a\",\"sp-btn sp-btn-primary\");w.href=siteUrl;w.target=\"_blank\";w.rel=\"noopener noreferrer\";w.textContent=\"Visit Website →\";applyStyle(w,fButton);if(buttonTextColor)w.style.color=buttonTextColor;ctaRow.appendChild(w);}else{const g=el(\"button\",\"sp-btn sp-btn-primary\");g.type=\"button\";g.textContent=\"Get in touch\";applyStyle(g,fButton);if(buttonTextColor)g.style.color=buttonTextColor;g.addEventListener(\"click\",()=>openEnquiry(p));ctaRow.appendChild(g);}idLeft.appendChild(ctaRow);top.appendChild(idLeft);if(p.approved){if(approvedBadge){const img=el(\"img\",\"sp-badge-img\");img.src=approvedBadge;img.alt=\"Approved partner\";img.style.width=badgePx+\"px\";img.style.height=badgePx+\"px\";top.appendChild(img);}else{top.appendChild(buildSeal());}}id.appendChild(top);bento.appendChild(id);// Stat tiles\nif(p.stats&&p.stats.length){const nStats=p.stats.length;const statSpan=nStats<=1?12:nStats===2?6:nStats===3?4:3;p.stats.forEach((s,i)=>{const isScoreStat=isSosScoreLabel(s.label);const styleClass=isScoreStat?\"sp-stat-score\":i%2===0?\"sp-t-accent-mid\":\"sp-t-contrast-mid\";const t=el(\"a\",\"sp-tile sp-stat sp-stat-link \"+styleClass);t.href=\"/contact\";t.setAttribute(\"aria-label\",`Get in touch about ${s.label}`);t.style.gridColumn=\"span \"+statSpan;const numEl=el(\"div\",\"sp-stat-num\");numEl.textContent=s.num;applyStyle(numEl,fStatNum);if(!isScoreStat&&statNumColor)numEl.style.color=statNumColor;const labEl=el(\"div\",\"sp-stat-label\");labEl.textContent=s.label;applyStyle(labEl,fStatLabel);if(!isScoreStat&&statLabelColor)labEl.style.color=statLabelColor;t.appendChild(numEl);t.appendChild(labEl);bento.appendChild(t);});}// Stacked-verified data pill\nif(p.stats&&p.stats.length){const vp=el(\"a\",\"sp-verified\");vp.href=methodUrl;vp.title=\"How the Stacked Score and operator data are collected\";vp.style.cssText=\"grid-column:1/-1;display:inline-flex;align-items:center;gap:7px;justify-self:start;background:rgba(62,35,112,0.06);color:rgb(62,35,112);border-radius:100px;padding:7px 13px;font-size:12px;font-weight:700;line-height:1;font-family:'DM Sans',sans-serif;\";vp.innerHTML='<svg viewBox=\"0 0 24 24\" width=\"14\" height=\"14\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.4\" style=\"flex:none\"><path d=\"M12 2l7 3v6c0 4.5-3 8.5-7 9-4-.5-7-4.5-7-9V5l7-3z\"/><path d=\"M9 12l2 2 4-4\"/></svg><span>Stacked-verified data, live from operator audits</span><span class=\"sp-verified-sep\">\\xb7</span><span class=\"sp-verified-cta\">'+methodCta+\" →</span>\";bento.appendChild(vp);}// Operators we’ve verified using it\nif(p.operatorNames&&p.operatorNames.length){const wrap=el(\"div\",\"sp-oplist\");wrap.style.cssText=\"grid-column:1/-1;margin-top:4px;\";const lab=el(\"div\");lab.textContent=\"Operators we’ve verified using it\";lab.style.cssText=\"font-size:12px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:rgba(62,35,112,0.55);margin-bottom:12px;font-family:'DM Sans',sans-serif;\";wrap.appendChild(lab);const sub=el(\"div\");sub.textContent=\"These are operators verified through Stacked audits, not the partner’s full customer list.\";sub.style.cssText=\"font-size:13px;line-height:1.45;color:rgba(62,35,112,0.68);margin-bottom:10px;font-family:'DM Sans',sans-serif;\";wrap.appendChild(sub);const grid=el(\"div\");grid.style.cssText=\"display:flex;flex-wrap:wrap;gap:8px;\";const names=p.operatorNames;names.slice(0,operatorVisibleCount).forEach(nm=>{const chip=el(\"div\");chip.style.cssText=\"display:inline-flex;align-items:center;background:rgb(209,182,254);border-radius:100px;padding:8px 16px;font-size:13px;font-weight:600;color:rgb(62,35,112);line-height:1.15;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:'DM Sans',sans-serif;\";chip.textContent=nm;grid.appendChild(chip);});const remaining=names.length-operatorVisibleCount;if(remaining>0){const more=el(\"a\",\"sp-op-overflow\");more.href=operatorOverflowHref;more.textContent=`+${remaining}`;more.setAttribute(\"aria-label\",`See ${remaining} more operators`);more.title=\"Contact us for the full operator list\";grid.appendChild(more);}wrap.appendChild(grid);bento.appendChild(wrap);}// Main row\nconst mainRow=el(\"div\",\"sp-main-row\");const leftCol=el(\"div\",\"sp-left\");// Video is Promote and Approved only. The Video value is still read\n// from Airtable for Lite listings, it is simply not rendered, so an\n// upgrade brings it back with no resubmission.\nconst embed=p.showVideo?getEmbedUrl(p.video):null;if(embed){const vid=el(\"div\",\"sp-tile sp-t-dark sp-video-tile\");vid.innerHTML=`<div class=\"sp-video\"><iframe src=\"${embed}\" allow=\"autoplay; fullscreen; picture-in-picture\" allowfullscreen></iframe></div>`;leftCol.appendChild(vid);}if(p.about){const about=el(\"div\",\"sp-tile sp-t-contrast\");about.appendChild(label(\"About\"));const body=el(\"div\",\"sp-about sp-about-body\");p.about.split(/\\n\\n+/).forEach(para=>{if(!para.trim())return;const pp=el(\"p\");pp.textContent=para.trim();applyStyle(pp,fAbout);if(aboutColor)pp.style.color=aboutColor;body.appendChild(pp);});about.appendChild(body);const aboutToggle=el(\"button\",\"sp-about-toggle\");aboutToggle.type=\"button\";aboutToggle.textContent=\"Show more\";aboutToggle.style.display=\"none\";aboutToggle.addEventListener(\"click\",()=>{const expanded=body.classList.toggle(\"expanded\");aboutToggle.textContent=expanded?\"Show less\":\"Show more\";});about.appendChild(aboutToggle);leftCol.appendChild(about);requestAnimationFrame(()=>{if(body.scrollHeight>body.clientHeight+2)aboutToggle.style.display=\"inline-block\";});}if(p.usage&&p.usage.length){const usage=el(\"div\",\"sp-tile sp-t-contrast\");usage.appendChild(label(usageTitle||\"What operators use it for\"));const max=Math.max(...p.usage.map(u=>u.value),1);p.usage.forEach(u=>{const row=el(\"div\",\"sp-bar-row\");const labEl=el(\"span\",\"sp-bar-label\");labEl.textContent=u.label;applyStyle(labEl,fBarLabel);if(barLabelColor)labEl.style.color=barLabelColor;const track=el(\"span\",\"sp-bar-track\");const target=barScaleToMax?u.value/max*100:Math.min(100,Math.max(0,u.value));const fill=el(\"span\",\"sp-bar-fill\");requestAnimationFrame(()=>{fill.style.width=target+\"%\";});track.appendChild(fill);const valEl=el(\"span\",\"sp-bar-val\");valEl.textContent=u.value+\"%\";applyStyle(valEl,fBarVal);if(barValColor)valEl.style.color=barValColor;row.appendChild(labEl);row.appendChild(track);row.appendChild(valEl);usage.appendChild(row);});leftCol.appendChild(usage);}const leftTiles=Array.from(leftCol.children);const fillTarget=leftTiles.slice().reverse().find(n=>!n.classList.contains(\"sp-video-tile\"));if(fillTarget)fillTarget.classList.add(\"sp-fill\");else if(leftTiles.length)leftTiles[0].classList.add(\"sp-fill\");mainRow.appendChild(leftCol);// Long sidebar\nconst side=el(\"div\",\"sp-tile sp-t-accent sp-sidebar\");if(p.showContact&&(p.email||p.phone)){const sec=el(\"div\",\"sp-subsec\");sec.appendChild(label(\"Contact\"));if(p.email){const a=el(\"a\");a.href=\"mailto:\"+p.email;a.textContent=p.email;applyStyle(a,fContact);if(contactColor)a.style.color=contactColor;const w=el(\"div\",\"sp-contact\");w.appendChild(a);sec.appendChild(w);}if(p.phone){const s=el(\"span\");s.textContent=p.phone;applyStyle(s,fContact);if(contactColor)s.style.color=contactColor;const w=el(\"div\",\"sp-contact\");w.appendChild(s);sec.appendChild(w);}side.appendChild(sec);}const tagSec=(lab,items,withIcon,scrollAfter)=>{if(!items||!items.length)return;const sec=el(\"div\",\"sp-subsec\");const lb=label(lab);if(scrollAfter&&items.length>scrollAfter){const c=el(\"span\",\"sp-tlabel-count\");c.textContent=\"  \"+items.length;lb.appendChild(c);}sec.appendChild(lb);const pills=el(\"div\",\"sp-pills\");items.forEach(x=>pills.appendChild(pill(x,withIcon)));sec.appendChild(pills);side.appendChild(sec);if(scrollAfter&&items.length>scrollAfter)capPillHeight(pills,scrollAfter);};tagSec(\"Solution\",p.solution,true);tagSec(\"Technology\",p.technology,false);tagSec(\"Sector\",p.sector,false);tagSec(\"Integration Partners\",p.integration,false,intVisible);if(p.support&&p.support.length){const sec=el(\"div\",\"sp-subsec\");sec.appendChild(label(\"Support\"));p.support.forEach(s=>{const i=el(\"span\",\"sp-support-item\");i.textContent=\"✓  \"+s;applyStyle(i,fSupport);if(supportColor)i.style.color=supportColor;sec.appendChild(i);});side.appendChild(sec);}side.appendChild(el(\"div\",\"sp-divider\"));const ctaSec=el(\"div\",\"sp-subsec\");ctaSec.appendChild(label(\"Interested?\"));{const g=el(\"button\",\"sp-btn sp-btn-primary sp-btn-block\");g.type=\"button\";g.textContent=\"Get in touch\";applyStyle(g,fButton);if(buttonTextColor)g.style.color=buttonTextColor;g.addEventListener(\"click\",()=>openEnquiry(p));ctaSec.appendChild(g);}const claim=el(\"button\",\"sp-btn sp-btn-outline sp-btn-block\");claim.textContent=\"Is this your business?\";applyStyle(claim,fButton);if(buttonTextColor)claim.style.color=buttonTextColor;claim.addEventListener(\"click\",()=>openClaim(p));ctaSec.appendChild(claim);if(editBtnOn){const edit=el(\"button\",\"sp-btn sp-btn-primary sp-btn-block\");edit.textContent=\"Edit your listing\";applyStyle(edit,fButton);if(buttonTextColor)edit.style.color=buttonTextColor;edit.addEventListener(\"click\",()=>openEdit(p,pools));ctaSec.appendChild(edit);}side.appendChild(ctaSec);mainRow.appendChild(side);bento.appendChild(mainRow);card.appendChild(bento);root.appendChild(card);}if(isCanvas||!key){renderPage(SAMPLE,SAMPLE_POOLS,mainColor,contrastColor);return;}const slug=getSlug();if(!slug){renderPage(SAMPLE,SAMPLE_POOLS,mainColor,contrastColor);return;}async function load(){try{const[partnerRecs,techRecs,sectorRecs,solRecs,supportRecs,intRecs]=await Promise.all([// Always fetch the current partner record fresh so listing edits\n// (for example video URL updates) are visible on page reload.\nfetchAll(key,tableName,`{Slug}=\"${slug}\"`),cachedFetchAll(key,technologyTable),cachedFetchAll(key,sectorTable),cachedFetchAll(key,solutionTable),cachedFetchAll(key,supportTable),cachedFetchAll(key,intTable).catch(()=>[])]);let partner=selectBestPartnerRecord(partnerRecs,slug);if(!partner){const allPartners=await cachedFetchAll(key,tableName).catch(()=>[]);partner=findPartnerFallback(allPartners,slug);}if(!partner){root.innerHTML=`<div style=\"padding:60px 0;text-align:center;color:#999;font-family:sans-serif;\">Partner not found.</div>`;return;}const f=partner.fields;const matchedSlug=resolveFirstString(f,[\"Slug\",\"slug\",\"Partner Slug\"],slug);const usageRecs=await cachedFetchAll(key,usageTbl,`ARRAYJOIN({${usageSlugCol}})=\"${formulaValue(matchedSlug)}\"`).catch(()=>[]);const techMap=buildIdMap(techRecs),sectorMap=buildIdMap(sectorRecs),solMap=buildIdMap(solRecs),supportMap=buildIdMap(supportRecs),intMap=buildIdMap(intRecs);const stats=[];const opsBrands=f[\"Operators (brands)\"],venuesUsing=f[\"Venues using\"];if(opsBrands)stats.push({num:String(opsBrands),label:\"Operators\"});if(venuesUsing)stats.push({num:String(venuesUsing),label:\"Venues\"});if(f[\"SOS Score\"]!=null&&Number(f[\"SOS Reviews\"])>=2)stats.push({num:String(f[\"SOS Score\"])+\"★\",label:\"Operator score\"});const tier=tierOf(f,packageCol,approvedCol);const paid=isPaidTier(tier);const partnerName=resolvePartnerName(partner,matchedSlug);const partnerSummary=resolveFirstString(f,[\"Summary\",\"Short Description\",\"Description\",\"About\",\"Overview\",\"Bio\",\"Tagline\"]);const partnerAbout=resolveFirstString(f,[\"Description\",\"About\",\"Long Description\",\"Details\",\"Overview\",\"Summary\"]);const p={// Carried so the lead form can link its Forms row straight\n// back to this partner without a second lookup.\nrecordId:partner.id,name:partnerName,logo:getLogoUrl(f),summary:partnerSummary,about:partnerAbout,video:resolveFirstString(f,[\"Video\",\"Video URL\",\"Video Link\",\"Demo Video\",\"Embed URL\"])||null,website:resolveFirstString(f,[\"Website\",\"Website URL\",\"Site\",\"URL\"])||null,email:resolveFirstString(f,[\"Email\",\"Contact Email\",\"Public Email\"])||null,phone:resolveFirstString(f,[\"Phone\",\"Contact Phone\",\"Telephone\"])||null,tier,approved:tier===\"approved\",showContact:false,showWebsite:paid,showVideo:paid,stats,usage:parseUsage(getField(f,\"Usage\")).length?parseUsage(getField(f,\"Usage\")):usageFromRecords(usageRecs,usageCatCol,usageMaxRows),operatorNames:Array.isArray(f[\"Operator names\"])?f[\"Operator names\"].filter(Boolean):f[\"Operator names\"]?[f[\"Operator names\"]]:[],solution:(f.Solution||[]).map(id=>solMap[id]).filter(Boolean),technology:(f.Technology||[]).map(id=>techMap[id]).filter(Boolean),sector:(f.Sector||[]).map(id=>sectorMap[id]).filter(Boolean),support:(f.Support||[]).map(id=>supportMap[id]).filter(Boolean),integration:toLabels(getField(f,intField),intMap)};const pools={solution:allNames(solRecs),technology:allNames(techRecs),sector:allNames(sectorRecs)};const bc=typeof f[\"Brand Color\"]===\"string\"&&/^#?[0-9a-fA-F]{6}$/.test(f[\"Brand Color\"].trim());const main=bc?f[\"Brand Color\"].trim().startsWith(\"#\")?f[\"Brand Color\"].trim():\"#\"+f[\"Brand Color\"].trim():mainColor;renderPage(p,pools,main,contrastColor);}catch(e){root.innerHTML=`<div style=\"padding:32px;background:#fff5f5;border:1px solid #ffd0d0;border-radius:12px;font-family:monospace;font-size:13px;color:#cc0000;\"><strong>Error:</strong> ${e.message}</div>`;}}load();},[key,tableName,technologyTable,sectorTable,solutionTable,supportTable,intField,intTable,marketplacePath,methodUrl,methodCta,approvedCol,packageCol,liteEmail,approvedBadge,badgePx,logoPx,websiteBtnOn,editBtnOn,formsTbl,mainColor,contrastColor,textOnAccent,textOnContrast,cardBg,padPx,radPx,bentoGap,tilePadding,tileRadius,mainRowGap,leftColGap,sidebarGap,backColor,nameColor,summaryColor,labelColor,statNumColor,statLabelColor,barLabelColor,barValColor,aboutColor,contactColor,pillColor,supportColor,buttonTextColor,formRecipientEmail,cap,operatorVisibleCount,operatorOverflowHref,isCanvas,typography,colors,spacing]);return /*#__PURE__*/_jsx(\"div\",{ref:rootRef,style:{width:\"100%\",minHeight:400}});}// ── Control helpers ──────────────────────────────────────────────────────────\nfunction num(title,defaultValue,min,max,step=1,unit=\"px\"){return{type:ControlType.Number,title,defaultValue,min,max,step,unit};}function grp(title,controls){return{type:ControlType.Object,title,buttonTitle:title,controls};}function color(title,defaultValue){return{type:ControlType.Color,title,defaultValue};}const caseOptions=[\"none\",\"uppercase\",\"lowercase\",\"capitalize\"];const caseOptionTitles=[\"Default\",\"UPPERCASE\",\"lowercase\",\"Capitalize\"];function caseCtl(defaultValue=\"none\"){return{type:ControlType.Enum,title:\"Case\",options:caseOptions,optionTitles:caseOptionTitles,defaultValue};}function fontCtl(defaultValue,defaultFontType=\"sans-serif\"){return{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType,defaultValue};}function typeGroup(title,fontDefault,caseDefault=\"none\",fontType=\"sans-serif\"){return{type:ControlType.Object,title,buttonTitle:title,controls:{font:fontCtl(fontDefault,fontType),case:caseCtl(caseDefault)}};}addPropertyControls(StackedPartnerPage,{apiKey:{type:ControlType.String,title:\"API Key\",placeholder:\"paste Airtable token\",obscured:true,description:\"Needs read on the data tables AND create on the Forms table, or the lead form falls back to a mailto.\",section:\"Content\"},tableName:{type:ControlType.String,title:\"Partners Table\",defaultValue:\"Partners\",section:\"Content\"},technologyTable:{type:ControlType.String,title:\"Technology Table\",defaultValue:\"Technology\",section:\"Content\"},sectorTable:{type:ControlType.String,title:\"Sector Table\",defaultValue:\"Sector\",section:\"Content\"},solutionTable:{type:ControlType.String,title:\"Solution Table\",defaultValue:\"Solution\",section:\"Content\"},supportTable:{type:ControlType.String,title:\"Support Table\",defaultValue:\"Support\",section:\"Content\"},formsTable:{type:ControlType.String,title:\"Leads Table\",defaultValue:\"Forms\",description:\"Where the 'Get in touch' lead form writes each enquiry. The Slack alert and partner email are Airtable automations on this table.\",section:\"Content\"},integrationField:{type:ControlType.String,title:\"Integration Field\",defaultValue:\"Integration\",description:\"Partners column whose values show as 'Integration Partners' pills. Matched case-insensitively.\",section:\"Content\"},integrationTable:{type:ControlType.String,title:\"Integration Table\",defaultValue:\"Integration\",description:\"Only used if Integration is a linked record field.\",section:\"Content\"},integrationVisible:{type:ControlType.Number,title:\"Integrations Visible\",defaultValue:10,min:3,max:40,step:1,displayStepper:true,description:\"Roughly how many integration pills show before the list becomes a scroll well.\",section:\"Content\"},usageTable:{type:ControlType.String,title:\"Usage Table\",defaultValue:\"Tech Usage\",description:\"Health Check table holding one row per venue per tool. Powers the usage breakdown chart.\",section:\"Content\"},usageSlugField:{type:ControlType.String,title:\"Usage Slug Field\",defaultValue:\"Partner slug\",description:\"Lookup on the usage table carrying the partner's slug.\",section:\"Content\"},usageCategoryField:{type:ControlType.String,title:\"Usage Category Field\",defaultValue:\"Category\",description:\"Column tallied to build the chart. Each category becomes one bar.\",section:\"Content\"},usageTitle:{type:ControlType.String,title:\"Usage Title\",defaultValue:\"What operators use it for\",section:\"Content\"},barScaleToMax:{type:ControlType.Boolean,title:\"Usage: Scale To Largest\",defaultValue:false,description:\"Off = a bar is filled to its own percentage. On = the largest category fills the whole bar.\",section:\"Content\"},usageMax:{type:ControlType.Number,title:\"Usage Bars\",defaultValue:6,min:2,max:15,step:1,displayStepper:true,description:\"How many categories get their own bar.\",section:\"Content\"},marketplacePath:{type:ControlType.String,title:\"Marketplace Path\",defaultValue:\"/marketplace\",section:\"Content\"},methodPath:{type:ControlType.String,title:\"Method Page Path\",defaultValue:\"/how-we-score\",description:\"Where the 'Stacked-verified data' pill links to.\",section:\"Content\"},methodLabel:{type:ControlType.String,title:\"Method Link Label\",defaultValue:\"How we score\",description:\"Text on the link at the end of the verified-data pill.\",section:\"Content\"},approvedField:{type:ControlType.String,title:\"Approved Field\",defaultValue:\"Approved\",description:\"Legacy Airtable checkbox. Only used as a fallback when Package is blank.\",section:\"Content\"},packageField:{type:ControlType.String,title:\"Package Field\",defaultValue:\"Package\",description:\"Airtable single-select tier: Lite, Promote or Approved. Gates the website link and the video tile, and is written into each lead so the Airtable automation can gate the partner email to Promote and Approved only.\",section:\"Content\"},showWebsiteButton:{type:ControlType.Boolean,title:\"Show Visit Website Button\",defaultValue:false,description:\"Off (default) = hidden, and a 'Get in touch' button takes its place in the identity tile.\",section:\"Content\"},showEditButton:{type:ControlType.Boolean,title:\"Show Edit Listing Button\",defaultValue:false,description:\"Off (default) = the 'Edit your listing' button is hidden. The edit form itself is untouched.\",section:\"Content\"},approvedBadge:{type:ControlType.Image,title:\"Approved Badge\",description:\"Optional. Image/SVG approved stamp. Leave empty for the built-in frilled seal.\",section:\"Content\"},maxTags:{type:ControlType.Number,title:\"Max tags / group\",defaultValue:5,min:3,max:10,step:1,displayStepper:true,section:\"Content\"},operatorsVisible:{type:ControlType.Number,title:\"Operators Visible\",defaultValue:5,min:1,max:30,step:1,displayStepper:true,section:\"Content\"},operatorsOverflowLink:{type:ControlType.Link,title:\"Operators Overflow Link\",defaultValue:\"/contact\",section:\"Content\"},formRecipientEmail:{type:ControlType.String,title:\"Listing Request Email\",placeholder:\"you@yourcompany.com\",section:\"Content\"},liteEnquiryEmail:{type:ControlType.String,title:\"Enquiry Email\",defaultValue:\"hello@wearestacked.io\",description:\"Fallback only. Used if the Airtable write fails, so a lead is never lost.\",section:\"Content\"},spacing:{type:ControlType.Object,title:\"Spacing\",buttonTitle:\"Spacing\",section:\"Design\",controls:{card:grp(\"Card\",{padding:num(\"Padding\",24,0,120,2),radius:num(\"Radius\",28,0,64,2)}),bento:grp(\"Bento tiles\",{gap:num(\"Grid gap\",14,0,40,1),tilePadding:num(\"Tile padding\",24,0,60,1),tileRadius:num(\"Tile radius\",20,0,48,1)}),sections:grp(\"Section gaps\",{mainRowGap:num(\"Main row gap\",14,0,40,1),leftColGap:num(\"Left column gap\",14,0,40,1),sidebarGap:num(\"Sidebar gap\",22,0,48,1)}),badges:grp(\"Badge & logo\",{badgeSize:num(\"Approved badge size\",88,48,200,2),logoHeight:num(\"Logo height\",32,16,80,2)})}},typography:{type:ControlType.Object,title:\"Typography\",buttonTitle:\"Typography\",section:\"Design\",controls:{backLink:typeGroup(\"Back link\",{fontSize:14,fontWeight:500},\"none\"),idName:typeGroup(\"Partner name\",{fontSize:30,fontWeight:700},\"none\"),idSummary:typeGroup(\"Summary\",{fontSize:17,lineHeight:\"1.55em\"},\"none\"),sectionLabel:typeGroup(\"Section label\",{fontSize:11,fontWeight:700,letterSpacing:\"0.08em\"},\"uppercase\"),statNum:typeGroup(\"Stat number\",{fontSize:30,fontWeight:800},\"none\"),statLabel:typeGroup(\"Stat label\",{fontSize:12},\"none\"),barLabel:typeGroup(\"Usage bar label\",{fontSize:12},\"none\"),barVal:typeGroup(\"Usage bar value\",{fontSize:12,fontWeight:700},\"none\"),aboutBody:typeGroup(\"About body\",{fontSize:14,lineHeight:\"1.7em\"},\"none\"),contactText:typeGroup(\"Contact text\",{fontSize:14,fontWeight:600},\"none\"),pillText:typeGroup(\"Pill text\",{fontSize:12,fontWeight:600},\"none\"),supportItem:typeGroup(\"Support item\",{fontSize:13},\"none\"),buttonText:typeGroup(\"Button text\",{fontSize:14,fontWeight:600},\"none\")}},colors:{type:ControlType.Object,title:\"Colors\",buttonTitle:\"Colors\",section:\"Design\",controls:{mainColor:color(\"Main\",\"#E8440A\"),contrastColor:color(\"Contrast\",\"#0F766E\"),textOnAccent:{type:ControlType.Color,title:\"Text on Accent\",defaultValue:\"\",description:\"Font colour on main-colour tiles. Leave blank to auto-pick a dark tone.\"},textOnContrast:{type:ControlType.Color,title:\"Text on Contrast\",defaultValue:\"\",description:\"Font colour on contrast-colour tiles. Leave blank to auto-pick a dark tone.\"},cardBackground:color(\"Card Background\",\"#FFFFFF\"),backLinkColor:{type:ControlType.Color,title:\"Back link\",defaultValue:\"\"},idNameColor:{type:ControlType.Color,title:\"Partner name\",defaultValue:\"\"},idSummaryColor:{type:ControlType.Color,title:\"Summary\",defaultValue:\"\"},sectionLabelColor:{type:ControlType.Color,title:\"Section label\",defaultValue:\"\"},statNumColor:{type:ControlType.Color,title:\"Stat number\",defaultValue:\"\"},statLabelColor:{type:ControlType.Color,title:\"Stat label\",defaultValue:\"\"},barLabelColor:{type:ControlType.Color,title:\"Usage bar label\",defaultValue:\"\"},barValColor:{type:ControlType.Color,title:\"Usage bar value\",defaultValue:\"\"},barFillColor:{type:ControlType.Color,title:\"Usage bar fill\",defaultValue:\"\"},barTrackColor:{type:ControlType.Color,title:\"Usage bar track\",defaultValue:\"\"},aboutBodyColor:{type:ControlType.Color,title:\"About body\",defaultValue:\"\"},contactTextColor:{type:ControlType.Color,title:\"Contact text\",defaultValue:\"\"},pillTextColor:{type:ControlType.Color,title:\"Pill text\",defaultValue:\"\"},supportItemColor:{type:ControlType.Color,title:\"Support item\",defaultValue:\"\"},buttonTextColor:{type:ControlType.Color,title:\"Button text\",defaultValue:\"\"}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StackedPartnerPage\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Partner.map"],"mappings":"sMA4EA,SAAS,EAAW,EAAE,CAAC,GAAG,CAAC,EAAE,OAAO,KAAwB,GAAnB,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,EAAK,EAAE,KAAK,IAAI,CAAC,IAAI,EAAE,EAAE,MAAM,CAAC,EAAqD,OAAhD,EAAE,SAAS,IAAE,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,KAAK,EAAE,GAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAE,CAAC,IAAM,EAAE,EAAE,MAAM,kBAAkB,EAAE,GAAG,EAAE,CAAC,IAAM,EAAE,EAAE,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,IAAI,GAAG,WAAW,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,CAAE,CAAC,OAAO,IAAK,CAAC,SAAS,EAAM,EAAE,EAAE,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,GAAG,KAAK,IAAI,EAAE,KAAK,IAAI,IAAI,KAAK,MAAM,CAAC,CAAC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