{"version":3,"file":"ARCard.BUxvfzNp.mjs","names":["useState","_Fragment","startTransition","__esmMin","init_npm_react_18_3_1","init_ssg_sandbox_shims","te","window","l","_e","p","init_jsx_runtime","ce","init_framer_D1IzEvwH","useIsStaticRenderer","addPropertyControls","ControlType","QRScreen","list","steps","x","on","note","svg","k","t","ARIcon","ARCard","props","isStatic","canAR","setCanAR","canvas","touch","setTouch","showCode","setShowCode","startWithCode","qr","setQr","cancelled","a","supported","coarse","url","anchor","mod","pct","v","cy","cx","screenInset","oy","ox","openingInset","shotBox","codeOn","usdz","vars","ink","soft","muted","rule","accent","showBezel","css","layout","label","title","body","mockImage","drawFrame","bezelImage","screenRadius","PLACEHOLDER","mockFocus","mockTag","buttonLabel","backLabel","SANS","MONO","init_ARCard"],"sources":["https:/framerusercontent.com/modules/HiPoXUjYfMfO2vgTMos5/dpMAUTHCbFjBcU7PcVsD/ARCard.js"],"sourcesContent":["// AR Card: gives \"View in AR\" the same weight as the live model beside it.\n// On an iPhone or iPad it shows one large button that opens the model in AR Quick Look.\n// Everywhere else the same button swaps the phone mockup's screen for a QR code of this\n// page, so a phone can pick it up from a desk monitor. A phone mockup in the middle previews what the AR view looks like.\n// It sits beside the Duo Lamp stage as its own tile.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useState,startTransition}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";const SANS=`\"TT Hoves Pro VF Trial Variable Regular\", \"TT Hoves Pro VF Trial\", \"Inter\", system-ui, sans-serif`;const MONO=`\"Geist Mono\", ui-monospace, Menlo, monospace`;const css=`\n.arc{container-type:size;position:relative;width:100%;height:100%;box-sizing:border-box}\n.arc *{box-sizing:border-box;margin:0;padding:0}\n/* Tall card: the phone is the figure, the words sit under it like a caption. */\n.arc-in{display:flex;flex-direction:column;width:100%;height:100%;padding:28px 24px 24px}\n.arc-mock{order:0;flex:1;min-height:0;display:flex;align-items:center;justify-content:center}\n.arc-txt{order:1;margin-top:20px}\n.arc-act{order:2;margin-top:16px;padding-top:16px;border-top:1px solid var(--arc-rule);display:flex;align-items:center;gap:14px;flex:none}\n.arc-mono{font-family:${MONO};font-size:11px;letter-spacing:0;line-height:1.5;color:var(--arc-muted)}\n.arc-t{font-family:${SANS};font-variation-settings:\"wght\" 500;font-weight:500;font-size:24px;line-height:1.12;letter-spacing:-.02em;color:var(--arc-ink);margin-top:6px}\n.arc-b{display:none;font-family:${SANS};font-variation-settings:\"wght\" 400;font-size:14px;line-height:1.4;color:var(--arc-soft);margin-top:8px;max-width:30ch}\n.arc-note{font-family:${SANS};font-variation-settings:\"wght\" 400;font-size:13.5px;line-height:1.35;color:var(--arc-soft)}\n.arc-dev{position:relative;display:inline-flex;height:100%;max-width:100%;filter:drop-shadow(0 14px 22px rgba(49,49,49,.16))}\n.arc-shot{position:relative;z-index:1;display:block;height:100%;width:auto;max-width:100%;object-fit:contain;pointer-events:none}\n.arc-layer{position:absolute;z-index:0;overflow:hidden;background:var(--arc-ink)}\n.arc-layer>img{display:block;width:100%;height:100%;object-fit:cover}\n.arc-code{container-type:inline-size;position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;padding:16% 11% 9%;background:var(--arc-ground);opacity:0;transform:scale(.985);pointer-events:none;transition:opacity .35s ease,transform .5s cubic-bezier(.2,.7,.2,1)}\n.arc-code.on{opacity:1;transform:none}\n/* Drafting-sheet treatment: mono label, the code framed by registration marks, numbered steps on hairlines. */\n.arc-code .h{display:flex;align-items:flex-start;gap:.7em;text-wrap:balance;font-family:${MONO};font-size:clamp(11px,5.6cqw,12px);letter-spacing:0;line-height:1.3;color:var(--arc-ink)}\n.arc-code .h i{flex:none;width:.6em;height:.6em;margin-top:.35em;background:var(--arc-accent)}\n.arc-code .h span{text-wrap:balance}\n.arc-code .qf{position:relative;width:100%;aspect-ratio:1;margin:9% 0 10%;padding:10%}\n.arc-code .qf b{position:absolute;width:13%;height:13%;border:0 solid var(--arc-accent)}\n.arc-code .qf b:nth-child(1){left:0;top:0;border-left-width:1px;border-top-width:1px}\n.arc-code .qf b:nth-child(2){right:0;top:0;border-right-width:1px;border-top-width:1px}\n.arc-code .qf b:nth-child(3){left:0;bottom:0;border-left-width:1px;border-bottom-width:1px}\n.arc-code .qf b:nth-child(4){right:0;bottom:0;border-right-width:1px;border-bottom-width:1px}\n.arc-code .q{width:100%;height:100%}\n.arc-code .q svg{display:block;width:100%;height:100%}\n.arc-code ol{list-style:none;border-top:1px solid var(--arc-rule)}\n.arc-code li{display:flex;gap:.9em;padding:.75em 0;border-bottom:1px solid var(--arc-rule);font-family:${MONO};font-size:11px;letter-spacing:0;line-height:1.35;color:var(--arc-soft)}\n.arc-code li span{color:var(--arc-accent)}\n.arc-code li em{font-style:normal;text-wrap:balance}\n.arc-btn.ghost{background:transparent;color:var(--arc-ink)}\n.arc-btn.ghost:hover{background:var(--arc-ink);color:var(--arc-ground)}\nbutton.arc-btn{cursor:pointer;appearance:none;-webkit-appearance:none}\n.arc-phone{position:relative;height:100%;max-height:320px;aspect-ratio:9/18.5;padding:5px;border:1.5px solid var(--arc-ink);border-radius:24px;background:var(--arc-ground)}\n.arc-screen{position:relative;width:100%;height:100%;border-radius:18px;overflow:hidden;background:var(--arc-ink)}\n.arc-screen img{display:block;width:100%;height:100%;object-fit:cover}\n.arc-seg{position:absolute;top:8%;left:50%;transform:translateX(-50%);display:flex;padding:2px;border-radius:99px;background:rgba(30,30,30,.55);font-family:${SANS};font-size:8px;line-height:1;color:#fff;white-space:nowrap}\n.arc-seg span{padding:4px 9px;border-radius:99px}\n.arc-seg .on{background:rgba(255,255,255,.92);color:#1d1d1d}\n.arc-x{position:absolute;top:8%;left:8%;width:17px;height:17px;border-radius:99px;background:rgba(30,30,30,.55);color:#fff;font-family:${SANS};font-size:10px;line-height:17px;text-align:center}\n.arc-ring{position:absolute;left:50%;bottom:11%;width:34%;aspect-ratio:2.6;transform:translateX(-78%);border:1px solid rgba(255,255,255,.75);border-radius:50%}\n.arc-scale{position:absolute;left:8%;bottom:6%;padding:3px 6px;border-radius:99px;background:rgba(30,30,30,.55);font-family:${MONO};font-size:11px;letter-spacing:.06em;line-height:1;color:#fff}\n.arc-qr{flex:none;width:58px;height:58px}\n.arc-qr svg{display:block;width:100%;height:100%}\n.arc-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:16px 18px;border:1px solid var(--arc-ink);border-radius:0;background:var(--arc-ink);color:var(--arc-ground);font-family:${MONO};font-size:12px;line-height:18px;letter-spacing:0;text-decoration:none;transition:background .2s,color .2s}\n/* The icon and the text share one 18px line, so swapping to Back to preview (no icon) keeps the same height. */\n.arc-btn svg{flex:none;display:block;width:18px;height:18px}\n.arc-btn:hover{background:transparent;color:var(--arc-ink)}\n.arc-btn:focus-visible{outline:2px solid var(--arc-accent);outline-offset:3px}\n.arc-act.plain{border-top:0;padding-top:0}\n/* Stack layout (phone): words on top, the preview in the middle, the button at the bottom. */\n.stack .arc-txt{order:0;margin-top:0}\n.stack .arc-mock{order:1;margin-top:18px}\n.stack .arc-act{margin-top:18px;padding-top:0;border-top:0}\n/* Side layout (tablet and phone): words with the button under them, the preview beside. */\n.arc-in.side{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:1fr 1fr;grid-template-areas:\"txt mock\" \"act mock\";column-gap:28px;row-gap:18px;padding:26px 28px}\n.side .arc-txt{grid-area:txt;align-self:end;margin-top:0}\n.side .arc-b{display:block}\n.side .arc-act{grid-area:act;align-self:start;margin-top:0;padding-top:0;border-top:0}\n.side .arc-act .arc-btn{width:auto;min-width:min(100%,220px);padding:16px 22px}\n.side .arc-mock{grid-area:mock;height:100%;min-height:0;aspect-ratio:var(--arc-ar);justify-content:flex-end}\n.side .arc-dev,.side .arc-plain{height:100%;width:100%}\n.side .arc-shot{width:100%;height:100%}\n.arc-plain{position:relative;height:100%;aspect-ratio:0.46;border-radius:14px;overflow:hidden;background:var(--arc-ink)}\n.arc-plain>img{display:block;width:100%;height:100%;object-fit:cover}\n.arc-plain .arc-code{padding:10%}\n@container (max-width:420px){\n  .arc-in.side{grid-template-rows:minmax(0,1fr) auto;grid-template-areas:\"txt mock\" \"act act\";column-gap:18px;row-gap:16px;padding:20px}\n  .side .arc-txt{align-self:center}\n  .side .arc-t{font-size:24px}\n  .side .arc-act .arc-btn{width:100%;min-width:0;padding:17px 16px;white-space:nowrap}\n}\n@media (prefers-reduced-motion:reduce){.arc *{transition:none!important}}\n`;// A neutral stand-in drawn on the canvas, where the real code is not generated.\nconst PLACEHOLDER=`<svg viewBox=\"0 0 21 21\" xmlns=\"http://www.w3.org/2000/svg\" shape-rendering=\"crispEdges\"><g fill=\"#313131\"><path d=\"M0 0h7v7H0zM1 1v5h5V1zM2 2h3v3H2zM14 0h7v7h-7zM15 1v5h5V1zM16 2h3v3h-3zM0 14h7v7H0zM1 15v5h5v-5zM2 16h3v3H2z\" fill-rule=\"evenodd\"/><path d=\"M9 0h1v2H9zM11 1h2v1h-2zM9 3h2v1H9zM12 3h1v3h-1zM9 5h2v2H9zM0 9h2v1H0zM3 9h1v2H3zM5 9h3v1H5zM9 9h1v1H9zM11 8h2v2h-2zM14 9h2v1h-2zM17 8h1v2h-1zM19 9h2v1h-2zM1 11h2v1H1zM6 11h2v2H6zM9 11h3v1H9zM13 11h1v3h-1zM15 11h2v2h-2zM18 11h1v1h-1zM20 11h1v3h-1zM9 13h2v2H9zM11 15h1v2h-1zM13 15h3v1h-3zM17 14h2v2h-2zM9 17h1v3H9zM11 18h2v1h-2zM14 17h1v3h-1zM16 18h2v2h-2zM19 17h2v1h-2zM19 19h2v2h-2zM11 20h2v1h-2z\"/></g></svg>`;function QRScreen({on,svg,note,steps}){const list=(steps||\"\").split(\"|\").map(x=>x.trim()).filter(Boolean);return /*#__PURE__*/_jsxs(\"div\",{className:`arc-code${on?\" on\":\"\"}`,\"aria-hidden\":!on,children:[/*#__PURE__*/_jsxs(\"p\",{className:\"h\",children:[/*#__PURE__*/_jsx(\"i\",{}),/*#__PURE__*/_jsx(\"span\",{children:note})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"qf\",children:[/*#__PURE__*/_jsx(\"b\",{}),/*#__PURE__*/_jsx(\"b\",{}),/*#__PURE__*/_jsx(\"b\",{}),/*#__PURE__*/_jsx(\"b\",{}),/*#__PURE__*/_jsx(\"div\",{className:\"q\",dangerouslySetInnerHTML:{__html:svg}})]}),list.length>0&&/*#__PURE__*/_jsx(\"ol\",{children:list.map((t,k)=>/*#__PURE__*/_jsxs(\"li\",{children:[/*#__PURE__*/_jsx(\"span\",{children:String(k+1).padStart(2,\"0\")}),/*#__PURE__*/_jsx(\"em\",{children:t})]},k))})]});}function ARIcon(){return /*#__PURE__*/_jsxs(\"svg\",{width:\"18\",height:\"18\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.6\",strokeLinejoin:\"round\",\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M12 2.5 20.5 7v10L12 21.5 3.5 17V7z\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M3.5 7 12 11.5 20.5 7M12 11.5v10\"})]});}/**\n * AR Card\n *\n * @framerIntrinsicWidth 280\n * @framerIntrinsicHeight 520\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function ARCard(props){const{usdz,anchor,label,title,body,buttonLabel,note,mockImage,bezelImage,layout=\"tall\",showBezel=true,mockFocus=22,mockTag,drawFrame=false,screenInset=\"1.65% 3.6%\",screenRadius=\"15.4% / 7.24%\",openingInset=\"2.5% 5.32%\",startWithCode=false,steps=\"Point your camera at the code | Tap the link, then View in AR\",backLabel=\"Back to preview\",canvas=\"qr\",ink,soft,muted,rule,accent}=props;const isStatic=useIsStaticRenderer();const[canAR,setCanAR]=useState(isStatic&&canvas===\"button\");const[touch,setTouch]=useState(false);const[showCode,setShowCode]=useState(startWithCode);const[qr,setQr]=useState(\"\");useEffect(()=>{if(isStatic||typeof window===\"undefined\")return;let cancelled=false;const a=document.createElement(\"a\");const supported=!!a.relList&&typeof a.relList.supports===\"function\"&&a.relList.supports(\"ar\");// A phone or tablet that cannot open AR has nothing to scan with, so it gets a note instead of a code.\nconst coarse=!!window.matchMedia&&window.matchMedia(\"(pointer: coarse)\").matches&&!window.matchMedia(\"(any-pointer: fine)\").matches;startTransition(()=>{setCanAR(supported);setTouch(coarse);});if(supported||coarse)return;const url=`${window.location.origin}${window.location.pathname}${anchor?`#${anchor}`:\"\"}`;// @ts-ignore remote module, loaded only when a QR code is needed\nimport(\"https://esm.sh/qrcode@1.5.4\").then(mod=>(mod.default||mod).toString(url,{type:\"svg\",margin:0,errorCorrectionLevel:\"M\",color:{dark:\"#313131ff\",light:\"#00000000\"}})).then(svg=>{if(!cancelled)startTransition(()=>setQr(svg));}).catch(()=>{});return()=>{cancelled=true;};},[isStatic,anchor]);// The clip layer is a little larger than the screen opening so its edge hides under the bezel.\n// The screenshot itself is placed on the opening exactly, so its status bar and camera cutout\n// line up with the bezel's.\nconst pct=v=>(v||\"\").split(/\\s+/).map(x=>parseFloat(x)||0);const[cy,cx=cy]=pct(screenInset);const[oy,ox=oy]=pct(openingInset);const shotBox={position:\"absolute\",left:`${(ox-cx)/(100-2*cx)*100}%`,top:`${(oy-cy)/(100-2*cy)*100}%`,width:`${(100-2*ox)/(100-2*cx)*100}%`,height:`${(100-2*oy)/(100-2*cy)*100}%`,objectFit:\"cover\"};const codeOn=showCode&&!(canAR&&usdz)&&!touch;const vars={\"--arc-ink\":ink,\"--arc-soft\":soft,\"--arc-muted\":muted,\"--arc-rule\":rule,\"--arc-accent\":accent,\"--arc-ground\":\"rgb(252, 249, 243)\",\"--arc-ar\":showBezel?\"0.489\":\"0.46\"};return /*#__PURE__*/_jsxs(\"div\",{className:\"arc\",style:{...props.style,...vars,position:\"relative\"},children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsxs(\"div\",{className:`arc-in${layout===\"side\"?\" side\":layout===\"stack\"?\" stack\":\"\"}`,children:[/*#__PURE__*/_jsxs(\"div\",{className:\"arc-txt\",children:[/*#__PURE__*/_jsx(\"p\",{className:\"arc-mono\",children:label}),/*#__PURE__*/_jsx(\"h3\",{className:\"arc-t\",children:title}),/*#__PURE__*/_jsx(\"p\",{className:\"arc-b\",children:body})]}),mockImage?!showBezel?/*#__PURE__*/_jsx(\"div\",{className:\"arc-mock\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"arc-plain\",role:\"img\",\"aria-label\":codeOn?\"QR code that opens this page on a phone\":`${title} Preview of the model placed in a room in AR`,children:[/*#__PURE__*/_jsx(\"img\",{src:mockImage,alt:\"\",loading:\"lazy\"}),/*#__PURE__*/_jsx(QRScreen,{on:codeOn,svg:qr||PLACEHOLDER,note:note,steps:steps})]})}):!drawFrame&&bezelImage?/*#__PURE__*/_jsx(\"div\",{className:\"arc-mock\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"arc-dev\",role:\"img\",\"aria-label\":codeOn?\"QR code that opens this page on a phone\":`${title} iPhone showing the model placed in a room in AR`,children:[/*#__PURE__*/_jsxs(\"div\",{className:\"arc-layer\",style:{inset:screenInset,borderRadius:screenRadius},children:[/*#__PURE__*/_jsx(\"img\",{src:mockImage,alt:\"\",loading:\"lazy\",style:shotBox}),/*#__PURE__*/_jsx(QRScreen,{on:codeOn,svg:qr||PLACEHOLDER,note:note,steps:steps})]}),/*#__PURE__*/_jsx(\"img\",{className:\"arc-shot\",src:bezelImage,alt:\"\",loading:\"lazy\"})]})}):/*#__PURE__*/_jsx(\"div\",{className:\"arc-mock\",role:\"img\",\"aria-label\":`${title} Phone showing the model placed in AR at full size`,children:/*#__PURE__*/_jsx(\"div\",{className:\"arc-phone\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"arc-screen\",children:[/*#__PURE__*/_jsx(\"img\",{src:mockImage,alt:\"\",loading:\"lazy\",style:{objectPosition:`${mockFocus}% 60%`}}),/*#__PURE__*/_jsx(\"span\",{className:\"arc-x\",children:\"\\xd7\"}),/*#__PURE__*/_jsxs(\"span\",{className:\"arc-seg\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"on\",children:\"AR\"}),/*#__PURE__*/_jsx(\"span\",{children:\"Object\"})]}),/*#__PURE__*/_jsx(\"span\",{className:\"arc-ring\"}),mockTag?/*#__PURE__*/_jsx(\"span\",{className:\"arc-scale\",children:mockTag}):null]})})}):null,/*#__PURE__*/_jsx(\"div\",{className:`arc-act${canAR&&usdz||!touch&&mockImage&&(!showBezel||!drawFrame&&bezelImage)?\" plain\":\"\"}`,children:canAR&&usdz?/*#__PURE__*/_jsxs(\"a\",{className:\"arc-btn\",rel:\"ar\",href:usdz,children:[/*#__PURE__*/_jsx(ARIcon,{}),buttonLabel]}):touch?/*#__PURE__*/_jsx(\"p\",{className:\"arc-note\",children:\"Open this page on an iPhone or iPad to view it in AR.\"}):showBezel&&(drawFrame||!bezelImage)||!mockImage?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{className:\"arc-qr\",role:\"img\",\"aria-label\":\"QR code that opens this page on a phone\",dangerouslySetInnerHTML:{__html:qr||PLACEHOLDER}}),/*#__PURE__*/_jsx(\"p\",{className:\"arc-note\",children:note})]}):/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:`arc-btn${showCode?\" ghost\":\"\"}`,\"aria-pressed\":showCode,onClick:()=>startTransition(()=>setShowCode(v=>!v)),children:[showCode?null:/*#__PURE__*/_jsx(ARIcon,{}),showCode?backLabel:buttonLabel]})})]})]});}addPropertyControls(ARCard,{usdz:{type:ControlType.String,title:\"AR File URL\",placeholder:\"https://…/model.usdz\",defaultValue:\"https://thehilodude.github.io/kevinjyp-assets/duo-ar.usdz\"},anchor:{type:ControlType.String,title:\"QR Anchor\",placeholder:\"section id\",defaultValue:\"interactive\"},label:{type:ControlType.String,title:\"Label\",defaultValue:\"AR \\xb7 Full size\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"In your space.\"},body:{type:ControlType.String,title:\"Body\",displayTextArea:true,defaultValue:\"Place Duo on your own desk at true scale.\"},note:{type:ControlType.String,title:\"QR Note\",defaultValue:\"Scan with an iPhone or iPad\"},steps:{type:ControlType.String,title:\"QR Steps\",defaultValue:\"Point your camera at the code | Tap the link, then View in AR\",description:\"Separate steps with |. Leave empty to hide them.\"},backLabel:{type:ControlType.String,title:\"Back Button\",defaultValue:\"Back to preview\"},startWithCode:{type:ControlType.Boolean,title:\"Start On QR\",defaultValue:false,description:\"Show the QR code first instead of the preview.\"},screenInset:{type:ControlType.String,title:\"Screen Inset\",defaultValue:\"1.65% 3.6%\",description:\"How far the screen layer sits inside the bezel image: top/bottom then left/right. Its edge only needs to land under the bezel.\",hidden:p=>p.drawFrame},openingInset:{type:ControlType.String,title:\"Screen Opening\",defaultValue:\"2.5% 5.32%\",description:\"Where the transparent screen opening sits inside the bezel image. The screenshot is fitted to this exactly.\",hidden:p=>p.drawFrame},screenRadius:{type:ControlType.String,title:\"Screen Radius\",defaultValue:\"15.4% / 7.24%\",hidden:p=>p.drawFrame},layout:{type:ControlType.Enum,title:\"Layout\",options:[\"tall\",\"stack\",\"side\"],optionTitles:[\"Tall\",\"Stack\",\"Side\"],defaultValue:\"tall\",displaySegmentedControl:true,description:\"Tall stacks the preview over the words. Stack puts the words on top, the preview in the middle and the button at the bottom. Side puts the words and button on the left and the preview on the right.\"},showBezel:{type:ControlType.Boolean,title:\"Phone Frame\",defaultValue:true,description:\"Off shows the screenshot on its own, for phone layouts where a phone inside a phone is redundant.\"},bezelImage:{type:ControlType.String,title:\"Bezel Image\",placeholder:\"Phone frame, transparent screen\",defaultValue:\"https://framerusercontent.com/images/hiY0iR9c76iNUAJ6AP2xyVRmpLw.png\",description:\"A phone frame with a transparent screen. It sits on top of the screen image and the QR code.\"},mockImage:{type:ControlType.String,title:\"Screen Image\",placeholder:\"Image URL\",defaultValue:\"https://framerusercontent.com/images/9sUoQpQhr5PXBkE3Ptg0H68vRjc.jpg\"},drawFrame:{type:ControlType.Boolean,title:\"Draw Frame\",defaultValue:false,description:\"On draws a simple phone outline in place of the bezel image.\"},mockFocus:{type:ControlType.Number,title:\"Mockup Focus\",hidden:p=>!p.drawFrame,min:0,max:100,step:1,unit:\"%\",defaultValue:22,description:\"Which part of the image sits in the phone, left to right.\"},mockTag:{type:ControlType.String,title:\"Mockup Tag\",defaultValue:\"1 : 1\",hidden:p=>!p.drawFrame},canvas:{type:ControlType.Enum,title:\"On Canvas\",options:[\"qr\",\"button\"],optionTitles:[\"QR\",\"Button\"],defaultValue:\"qr\",displaySegmentedControl:true,description:\"Which state the Framer canvas shows. The live page picks by device.\"},buttonLabel:{type:ControlType.String,title:\"Button\",defaultValue:\"View in AR\"},ink:{type:ControlType.Color,title:\"Ink\",defaultValue:\"rgb(49, 49, 49)\"},soft:{type:ControlType.Color,title:\"Soft Text\",defaultValue:\"rgb(89, 89, 89)\"},muted:{type:ControlType.Color,title:\"Muted\",defaultValue:\"rgb(107, 106, 103)\"},rule:{type:ControlType.Color,title:\"Hairline\",defaultValue:\"rgb(226, 221, 209)\"},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:\"rgb(166, 50, 28)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ARCard\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicWidth\":\"280\",\"framerIntrinsicHeight\":\"520\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ARCard.map"],"mappings":"A,2NAmF+qB,SAASiB,EAAS,CAAC,KAAG,MAAI,OAAK,SAAO,CAAC,IAAMC,GAAMC,GAAO,GAAA,CAAI,MAAM,GAAG,CAAC,CAAC,IAAI,GAAGC,EAAE,KAAK,CAAC,CAAC,CAAC,OAAO,OAAO,EAAE,MAAoB,gBAAM,MAAM,CAAC,UAAU,WAAWC,EAAG,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