{"version":3,"file":"FAQ.DZXiBXw8.mjs","names":["React.useState","__esmMin","_e","p","c","init_jsx_runtime","init_npm_react_18_3_1","init_framer_BL70qLPA","addPropertyControls","ControlType","FAQ","provided","props","x","groups","DEFAULT","showTabs","g","setG","open","setOpen","gi","items","CSS","it","i","init_FAQ"],"sources":["https:/framerusercontent.com/modules/Qd5Vzye8pKOTAyBrwuoo/2BRwOko31ckgumeHqIcS/FAQ.js"],"sourcesContent":["// Scotty · FAQ with tabs (groups) and accordion (one open at a time). Light theme.\n// Tabs use the project's Tab component style: 8px radius, sand outline, dark fill when active.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";const DEFAULT=[{name:\"Build\",items:[{q:\"Which models can we use?\",a:\"OpenAI, Azure OpenAI, Google and Anthropic, or your own keys. Switching model is a setting, not a rewrite.\"},{q:\"Can we build agents ourselves?\",a:\"Yes. Your engineers build on the platform with the same tools we use, or Scotty builds and runs the agents for you. Either way, what is built stays yours.\"},{q:\"Do agents connect to our systems?\",a:\"Yes, through MCP, any REST API, or thousands of apps through one endpoint. Integrations are configured for your setup, not plug-and-play.\"}]},{name:\"Control\",items:[{q:\"Can a person take over?\",a:\"Yes, at any moment, on chat or voice, with the full context of the conversation.\"},{q:\"How do we test changes before they go live?\",a:\"Every change can be tested in the dashboard before it reaches production, and every version is kept, so you always know what is running.\"}]},{name:\"Security\",items:[{q:\"Who can access what?\",a:\"Roles are set at platform, organisation and project level, for people and for agents. Nobody sees more than their role allows.\"}]},{name:\"Pricing\",items:[{q:\"Do we pay for the LLM through Scotty?\",a:\"Not if you bring your own keys. You pay your provider directly, with no markup from Scotty.\"}]}];const CSS=`\n.sc-faq{--ink:#0B2B36;--mut:#4B646C;--line:rgba(4,31,40,.14);--or:#f66d4a;font-family:'Inter Display',Inter,ui-sans-serif,system-ui,sans-serif;color:var(--ink);width:100%}\n.sc-faq *{box-sizing:border-box}\n.sc-faq-tabs{display:flex;justify-content:var(--tabj,center);margin-bottom:28px}\n.sc-faq-tabs>div{display:flex;gap:8px;flex-wrap:wrap;max-width:100%}\n.sc-faq-tab{appearance:none;background:transparent;border:1px solid #CFB79F;color:#0B2B36;font-family:'Inter Display',Inter,sans-serif;font-size:16px;font-weight:400;line-height:1.5;padding:7px 15px;border-radius:8px;cursor:pointer;transition:color .2s,background .2s,border-color .2s;white-space:nowrap}\n.sc-faq-tab:hover{border-color:#0B2B36}\n.sc-faq-tab.on{background:#0B2B36;border-color:#0B2B36;color:#FCFAF7}\n.sc-faq-tab:focus-visible{outline:2px solid var(--or);outline-offset:2px}\n.sc-faq-list{border-top:1px solid var(--line)}\n.sc-faq-q{appearance:none;border:0;background:transparent;width:100%;text-align:left;font:inherit;color:var(--ink);display:flex;justify-content:space-between;align-items:center;gap:24px;padding:22px 0;cursor:pointer;font-size:19px;font-weight:500;letter-spacing:-.01em;line-height:1.3}\n.sc-faq-i{width:22px;height:22px;flex:none;position:relative}\n.sc-faq-i:before,.sc-faq-i:after{content:\"\";position:absolute;background:var(--or);left:50%;top:50%;transform:translate(-50%,-50%);transition:transform .25s}\n.sc-faq-i:before{width:14px;height:1.5px}.sc-faq-i:after{width:1.5px;height:14px}\n.sc-faq-row.on .sc-faq-i:after{transform:translate(-50%,-50%) rotate(90deg)}\n.sc-faq-row{border-bottom:1px solid var(--line)}\n.sc-faq-a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease}\n.sc-faq-row.on .sc-faq-a{grid-template-rows:1fr}\n.sc-faq-a>div{overflow:hidden}\n.sc-faq-a p{margin:0;padding:0 48px 22px 0;font-size:16px;line-height:1.55;color:var(--mut);max-width:680px}\n.sc-faq.sc-faq--dark{--ink:#FCFAF7;--mut:rgba(252,250,247,.72);--line:rgba(252,250,247,.16)}\n.sc-faq--dark .sc-faq-tab{border-color:rgba(252,250,247,.3);color:#FCFAF7}\n.sc-faq--dark .sc-faq-tab:hover{border-color:#FCFAF7}\n.sc-faq--dark .sc-faq-tab.on{background:#FCFAF7;border-color:#FCFAF7;color:#0B2B36}\n@media(prefers-reduced-motion:reduce){.sc-faq-a,.sc-faq-i:before,.sc-faq-i:after,.sc-faq-tab{transition:none}}\n`;/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 760\n */export default function FAQ(props){const provided=(props.groups??[]).filter(x=>x&&x.items&&x.items.length);const groups=provided.length?provided:DEFAULT;const showTabs=props.showTabs??true;const[g,setG]=React.useState(0);const[open,setOpen]=React.useState(0);const gi=Math.min(g,groups.length-1);const items=showTabs?groups[gi]?.items??[]:groups.flatMap(x=>x.items);return /*#__PURE__*/_jsxs(\"div\",{className:\"sc-faq\"+(props.theme===\"dark\"?\" sc-faq--dark\":\"\"),style:{...props.style,[\"--tabj\"]:props.tabsAlign===\"start\"?\"flex-start\":\"center\"},children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify({\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",mainEntity:groups.flatMap(x=>x.items).filter(it=>it.q&&it.a).map(it=>({\"@type\":\"Question\",name:it.q,acceptedAnswer:{\"@type\":\"Answer\",text:it.a}}))}).replace(/</g,\"\\\\u003c\")}}),showTabs&&/*#__PURE__*/_jsx(\"div\",{className:\"sc-faq-tabs\",children:/*#__PURE__*/_jsx(\"div\",{role:\"tablist\",children:groups.map((x,i)=>/*#__PURE__*/_jsx(\"button\",{role:\"tab\",\"aria-selected\":i===gi,className:\"sc-faq-tab\"+(i===gi?\" on\":\"\"),onClick:()=>{setG(i);setOpen(0);},children:x.name},x.name+i))})}),/*#__PURE__*/_jsx(\"div\",{className:\"sc-faq-list\",children:items.map((it,i)=>/*#__PURE__*/_jsxs(\"div\",{className:\"sc-faq-row\"+(open===i?\" on\":\"\"),children:[/*#__PURE__*/_jsxs(\"button\",{className:\"sc-faq-q\",\"aria-expanded\":open===i,onClick:()=>setOpen(open===i?-1:i),children:[/*#__PURE__*/_jsx(\"span\",{children:it.q}),/*#__PURE__*/_jsx(\"span\",{className:\"sc-faq-i\",\"aria-hidden\":\"true\"})]}),/*#__PURE__*/_jsx(\"div\",{className:\"sc-faq-a\",children:/*#__PURE__*/_jsx(\"div\",{children:/*#__PURE__*/_jsx(\"p\",{children:it.a})})})]},it.q+i))})]});}addPropertyControls(FAQ,{showTabs:{type:ControlType.Boolean,title:\"Tabs\",defaultValue:true},tabsAlign:{type:ControlType.Enum,title:\"Tabs align\",options:[\"center\",\"start\"],optionTitles:[\"Center\",\"Left\"],defaultValue:\"center\"},theme:{type:ControlType.Enum,title:\"Theme\",options:[\"light\",\"dark\"],optionTitles:[\"Light\",\"Dark\"],defaultValue:\"light\"},groups:{type:ControlType.Array,title:\"Groups\",control:{type:ControlType.Object,controls:{name:{type:ControlType.String,title:\"Name\"},items:{type:ControlType.Array,title:\"Questions\",control:{type:ControlType.Object,controls:{q:{type:ControlType.String,title:\"Question\"},a:{type:ControlType.String,title:\"Answer\",displayTextArea:true}}}}}},defaultValue:DEFAULT}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQ\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"760\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQ.map"],"mappings":"A,iLA+BG,SAAwBU,EAAI,EAAM,CAAC,IAAMC,GAAUC,EAAM,QAAQ,CAAC,EAAA,CAAG,OAAO,GAAGC,GAAGA,EAAE,OAAOA,EAAE,MAAM,MAAM,EAAQC,EAAOH,EAAS,OAAOA,EAASI,EAAcC,EAASJ,EAAM,UAAU,GAAU,CAACK,EAAEC,GAAMlB,EAAe,CAAC,EAAO,CAACmB,EAAKC,GAASpB,EAAe,CAAC,EAAQqB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