{"version":3,"file":"ScoreBoxOrbit.kw3D3CWt.mjs","names":["useState","useRef","_Fragment"],"sources":["https:/framerusercontent.com/modules/JElgZqOz1EhT2Q1FIdLd/6nwNM7ZoZQ8osiIeShbU/ScoreBoxOrbit.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useRef,useEffect}from\"react\";// Canonical production portal. Avoid branch aliases here; they can cold-route.\nconst HOST=\"https://portal.withspine.co\";const API_URL=HOST+\"/api/score/submit\";const ENRICH_URL=HOST+\"/score/enrich\";const ENRICH_ORIGIN=new URL(HOST).origin;const MAX_FILE_BYTES=10*1024*1024;const SCRIPT_TIMEOUT_MS=8e3;const CSS=`\n@keyframes spineOrbit { to { transform: rotate(360deg); } }\n@keyframes spineFadeIn { from { opacity: 0; } to { opacity: 1; } }\n@keyframes spinPulse { to { transform: rotate(360deg); } }\n.spine-btn {\n  width: 100%; background: #fafafa; color: #000; border: none;\n  border-radius: 999px; padding: 14px 20px; font-size: 14px;\n  font-weight: 600; cursor: pointer; font-family: inherit;\n  display: flex; align-items: center; justify-content: center;\n  gap: 8px; transition: opacity 0.15s; letter-spacing: -0.01em;\n  min-height: 48px; line-height: 1; position: relative; z-index: 3;\n  pointer-events: auto; touch-action: manipulation; box-sizing: border-box;\n}\n.spine-btn:hover { opacity: 0.88; }\n.spine-btn:disabled { opacity: 0.45; cursor: not-allowed; }\n.spine-btn-content {\n  width: 100%; display: flex; align-items: center; justify-content: center;\n  gap: 8px; pointer-events: none;\n}\n.spine-btn-spinner {\n  width: 15px; height: 15px; border: 2px solid rgba(0,0,0,0.22);\n  border-top-color: rgba(0,0,0,0.78); border-radius: 50%;\n  animation: spinPulse 0.7s linear infinite; flex: 0 0 auto;\n}\n.spine-drop {\n  border: 1.5px dashed rgba(255,255,255,0.16);\n  border-radius: 14px; background: rgba(255,255,255,0.03);\n  padding: 26px 20px; text-align: center; cursor: pointer;\n  transition: all 0.15s; margin-bottom: 12px; position: relative;\n  display: block; width: 100%; box-sizing: border-box;\n}\n.spine-drop:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.28); }\n.spine-drop:focus-visible { outline: 2px solid rgba(79,125,255,0.8); outline-offset: 2px; }\n.spine-drop.has-file { border-style: solid; border-color: rgba(47,211,194,0.35); background: rgba(47,211,194,0.04); }\n.spine-drop.has-file:hover { background: rgba(47,211,194,0.06); }\n.spine-drop.is-reading { border-color: rgba(79,125,255,0.3); background: rgba(79,125,255,0.04); }\n.spine-file-input {\n  position: absolute; left: 50%; top: 50%; width: 1px; height: 1px;\n  padding: 0; margin: 0; border: 0; opacity: 0; pointer-events: none;\n  transform: translate(-50%, -50%);\n}\n.spine-file-input.is-ios {\n  inset: 0; width: 100%; height: 100%; transform: none;\n  pointer-events: auto; cursor: pointer;\n}\n.spine-drop-icon {\n  width: 42px; height: 42px; border-radius: 50%;\n  background: rgba(79,125,255,0.1); border: 1.5px solid rgba(79,125,255,0.25);\n  display: flex; align-items: center; justify-content: center; margin: 0 auto 11px;\n  transition: background 0.2s, border-color 0.2s;\n}\n.spine-drop.has-file .spine-drop-icon { background: rgba(47,211,194,0.1); border-color: rgba(47,211,194,0.3); }\n.spine-drop-spinner {\n  display: none; width: 18px; height: 18px;\n  border: 2px solid rgba(79,125,255,0.3); border-top-color: #4f7dff;\n  border-radius: 50%; animation: spinPulse 0.8s linear infinite;\n}\n.spine-drop.is-reading .spine-drop-spinner { display: block; }\n.spine-drop.is-reading .spine-drop-svg { display: none; }\n.spine-drop-title { font-size: 14px; font-weight: 600; margin-bottom: 2px; color: #fafafa; }\n.spine-drop-sub { font-size: 11.5px; color: #6d6e78; }\n.spine-drop.has-file .spine-drop-sub { color: #2fd3c2; }\n.spine-or {\n  display: flex; align-items: center; gap: 10px;\n  font-size: 12px; color: rgba(255,255,255,0.35); margin-bottom: 12px;\n}\n.spine-or::before, .spine-or::after { content: \"\"; flex: 1; height: 1px; background: rgba(255,255,255,0.08); }\n.spine-ta {\n  display: block; width: 100%; background: rgba(255,255,255,0.04);\n  border: 1px solid rgba(255,255,255,0.11); border-radius: 10px;\n  padding: 12px 14px; font-size: 13px; color: #fafafa; font-family: inherit;\n  outline: none; resize: none; height: 72px; line-height: 1.55;\n  transition: border-color 0.15s; margin-bottom: 14px; box-sizing: border-box;\n}\n.spine-ta:focus { border-color: rgba(255,255,255,0.28); }\n.spine-ta::placeholder { color: rgba(255,255,255,0.28); }\n.spine-err {\n  margin-top: 12px; padding: 10px 14px;\n  background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.25);\n  border-radius: 8px; font-size: 13px; color: #f87171;\n}\n`;function loadScript(src,isReady){if(isReady())return Promise.resolve();return new Promise((resolve,reject)=>{let script=document.querySelector(`script[src=\"${src}\"]`);let settled=false;const finish=error=>{if(settled)return;settled=true;window.clearTimeout(timer);script?.removeEventListener(\"load\",onLoad);script?.removeEventListener(\"error\",onError);if(error)reject(error);else resolve();};const onLoad=()=>{if(isReady())finish();else finish(new Error(\"Parser did not initialize\"));};const onError=()=>finish(new Error(\"Parser failed to load\"));const timer=window.setTimeout(()=>finish(new Error(\"Parser load timed out\")),SCRIPT_TIMEOUT_MS);const created=!script;if(!script){script=document.createElement(\"script\");script.src=src;script.async=true;script.defer=true;}script.addEventListener(\"load\",onLoad,{once:true});script.addEventListener(\"error\",onError,{once:true});if(created)document.head.appendChild(script);});}function fileToBase64(file){return new Promise((resolve,reject)=>{const reader=new FileReader;reader.onload=()=>{if(typeof reader.result===\"string\")resolve(reader.result);else reject(new Error(\"Could not read file as data URL\"));};reader.onerror=reject;reader.readAsDataURL(file);});}/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 460\n * @framerIntrinsicHeight 420\n */export default function ScoreBoxOrbit({style}){const[dropState,setDropState]=useState(\"idle\");const[fileName,setFileName]=useState(\"\");const[notes,setNotes]=useState(\"\");const[loading,setLoading]=useState(false);const[submitted,setSubmitted]=useState(false);const[errMsg,setErrMsg]=useState(\"\");const fileTextRef=useRef(\"\");const uploadedFileRef=useRef(null);const fileRef=useRef(null);const preloadFrameRef=useRef(null);function ensurePreloadedEnrichFrame(){if(typeof document===\"undefined\")return;const existing=preloadFrameRef.current;if(existing&&existing.isConnected)return;const frame=document.createElement(\"iframe\");frame.src=ENRICH_URL+\"?embed=1\";frame.title=\"Add context\";frame.setAttribute(\"aria-hidden\",\"true\");frame.tabIndex=-1;frame.style.cssText=\"position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;left:-9999px;top:-9999px;border:0;background:transparent;\";document.body.appendChild(frame);preloadFrameRef.current=frame;}useEffect(()=>{const fileInput=fileRef.current;const isIOS=/iPad|iPhone|iPod/.test(navigator.userAgent)||navigator.platform===\"MacIntel\"&&navigator.maxTouchPoints>1;if(isIOS)fileInput?.classList.add(\"is-ios\");let didTrackLead=false;function onMsg(e){if(e.origin!==ENRICH_ORIGIN)return;const msgType=e?.data?.type;if(msgType!==\"spine:enrich-complete\"&&msgType!==\"spine:enrich-emailed\")return;const hasAnalyticsConsent=document.cookie.split(\"; \").some(part=>part===\"spine_analytics_consent=accepted\");// spine:lead-identify — tie this Clarity session to the lead's\n// email (posted by the enrich iframe) so the marketing-site visit\n// and the later portal session read as one user. Consent-gated.\nif(hasAnalyticsConsent&&typeof e.data.email===\"string\"&&e.data.email){const clarity=window.clarity;if(typeof clarity===\"function\")clarity(\"identify\",e.data.email);}if(msgType===\"spine:enrich-complete\"&&e.data.magicLink){if(!didTrackLead&&hasAnalyticsConsent){didTrackLead=true;const gtag=window.gtag;if(typeof gtag===\"function\"){gtag(\"event\",\"generate_lead\",{method:\"score_lead_magnet\",transport_type:\"beacon\"});}}window.location.href=e.data.magicLink;}}window.addEventListener(\"message\",onMsg);const preloadTimer=window.setTimeout(ensurePreloadedEnrichFrame,250);const links=[];const addLink=(rel,href,as)=>{if(document.querySelector(`link[rel=\"${rel}\"][href=\"${href}\"]`))return;const link=document.createElement(\"link\");link.rel=rel;link.href=href;if(as)link.as=as;document.head.appendChild(link);links.push(link);};addLink(\"preconnect\",HOST);addLink(\"dns-prefetch\",HOST);addLink(\"prefetch\",ENRICH_URL+\"?embed=1\",\"document\");return()=>{window.removeEventListener(\"message\",onMsg);window.clearTimeout(preloadTimer);links.forEach(link=>link.remove());const frame=preloadFrameRef.current;if(frame?.isConnected)frame.remove();preloadFrameRef.current=null;fileInput?.classList.remove(\"is-ios\");};},[]);// Open the enrich form as a pop-up. Built with vanilla DOM appended to\n// document.body so position:fixed is viewport-relative — escapes Framer's\n// transformed containers, where React portals render unreliably.\nfunction tokenErrorMessage(error){const status=typeof error===\"object\"&&error!==null&&\"status\"in error?error.status:undefined;if(status===422)return\"CV text is too short — paste more detail and try again.\";if(status===429)return\"Too many attempts — please try again later.\";return\"Network error — please try again.\";}async function createSubmissionToken(cvBody){let cv_file_base64=null;try{const uploadedFile=uploadedFileRef.current;if(uploadedFile&&uploadedFile.size<=10*1024*1024){cv_file_base64=await fileToBase64(uploadedFile);}}catch{cv_file_base64=null;}const res=await fetch(API_URL,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({cv_text:cvBody,...cv_file_base64?{cv_file_base64}:{}})});const data=await res.json().catch(()=>({}));if(!res.ok||!data.token){throw{status:res.status,message:data.error||\"No token\"};}return data.token;}function openEnrichModal(tokenPromise){if(typeof document===\"undefined\")return;const isMobile=window.matchMedia?.(\"(max-width: 640px)\").matches??false;const overlay=document.createElement(\"div\");overlay.style.cssText=isMobile?\"position:fixed;inset:0;z-index:2147483000;display:block;background:#08090c;overflow:hidden;overscroll-behavior:contain;\":\"position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:16px;\";// Blur/dim as a SIBLING behind the card — NOT an ancestor of the iframe.\n// An <iframe> nested inside a backdrop-filter element does not paint in\n// Chrome/WebKit (you'd see the blur + chrome but a blank card).\nconst blur=document.createElement(\"div\");blur.style.cssText=isMobile?\"position:absolute;inset:0;background:#08090c;pointer-events:none;\":\"position:absolute;inset:0;background:rgba(8,9,12,0.5);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);pointer-events:none;\";const inner=document.createElement(\"div\");inner.style.cssText=isMobile?\"position:absolute;z-index:1;left:8px;top:8px;width:calc(100% - 16px);height:calc(100% - 16px);\":\"position:relative;z-index:1;width:100%;max-width:520px;height:88vh;max-height:780px;\";const preloadedFrame=preloadFrameRef.current;const frame=preloadedFrame??document.createElement(\"iframe\");preloadFrameRef.current=null;if(!preloadedFrame)frame.src=ENRICH_URL+\"?embed=1\";frame.removeAttribute(\"aria-hidden\");frame.tabIndex=0;frame.title=\"Add context\";frame.style.cssText=`width:100%;height:100%;border:none;border-radius:${isMobile?\"16px\":\"20px\"};background:${isMobile?\"#08090c\":\"transparent\"};`;const visualViewport=isMobile?window.visualViewport:null;const syncMobileViewport=()=>{if(!isMobile)return;const inset=8;const left=visualViewport?.offsetLeft??0;const top=visualViewport?.offsetTop??0;const width=visualViewport?.width??window.innerWidth;const height=visualViewport?.height??window.innerHeight;inner.style.left=`${left+inset}px`;inner.style.top=`${top+inset}px`;inner.style.width=`${Math.max(1,width-inset*2)}px`;inner.style.height=`${Math.max(1,height-inset*2)}px`;};let removed=false;let tokenRetry;const remove=()=>{if(removed)return;removed=true;if(tokenRetry)window.clearTimeout(tokenRetry);window.removeEventListener(\"message\",onModalMessage);window.removeEventListener(\"orientationchange\",syncMobileViewport);visualViewport?.removeEventListener(\"resize\",syncMobileViewport);visualViewport?.removeEventListener(\"scroll\",syncMobileViewport);overlay.remove();window.setTimeout(ensurePreloadedEnrichFrame,250);};window.addEventListener(\"message\",onModalMessage);overlay.onclick=e=>{if(e.target===overlay)remove();};inner.appendChild(frame);overlay.appendChild(blur);overlay.appendChild(inner);document.body.appendChild(overlay);syncMobileViewport();window.addEventListener(\"orientationchange\",syncMobileViewport);visualViewport?.addEventListener(\"resize\",syncMobileViewport);visualViewport?.addEventListener(\"scroll\",syncMobileViewport);let frameReady=Boolean(preloadedFrame);let resolvedToken=\"\";const postToken=()=>{if(!resolvedToken||!frame.contentWindow)return;frame.contentWindow.postMessage({type:\"spine:score-token\",token:resolvedToken},ENRICH_ORIGIN);};const sendToken=()=>{if(!frameReady||!resolvedToken||!frame.contentWindow)return;postToken();if(tokenRetry)window.clearTimeout(tokenRetry);tokenRetry=window.setTimeout(postToken,300);};function markFrameReady(){frameReady=true;sendToken();}frame.onload=markFrameReady;function onModalMessage(e){if(e.origin!==ENRICH_ORIGIN)return;const data=e.data;if(data?.type===\"spine:enrich-close\")remove();if(data?.type===\"spine:enrich-ready\")markFrameReady();}tokenPromise.then(token=>{resolvedToken=token;sendToken();}).catch(error=>{remove();setErrMsg(tokenErrorMessage(error));}).finally(()=>setLoading(false));}const hasFile=dropState===\"ready\";const isReading=dropState===\"reading\";const canSubmit=!loading&&!submitted&&(!!fileTextRef.current||notes.trim().length>0);function onExtracted(text){fileTextRef.current=(text||\"\").trim();if(fileTextRef.current){setDropState(\"ready\");}else{setDropState(\"error\");setErrMsg(\"We could not read text from that file. Try another PDF or DOCX, use TXT, or paste the CV below.\");}}async function extractTXT(file){try{onExtracted(await file.text());}catch{onExtracted(\"\");}}async function extractPDF(file){try{const buf=await file.arrayBuffer();await loadScript(\"https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.min.js\",()=>Boolean(window.pdfjsLib));const pdfjsLib=window.pdfjsLib;pdfjsLib.GlobalWorkerOptions.workerSrc=\"https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.worker.min.js\";const pdf=await pdfjsLib.getDocument({data:buf}).promise;const pages=await Promise.all(Array.from({length:pdf.numPages},(_,i)=>pdf.getPage(i+1)));const texts=await Promise.all(pages.map(pg=>pg.getTextContent().then(tc=>tc.items.map(it=>it.str).join(\" \"))));onExtracted(texts.join(\"\\n\"));}catch{onExtracted(\"\");}}async function extractDOCX(file){try{const buf=await file.arrayBuffer();await loadScript(\"https://cdnjs.cloudflare.com/ajax/libs/mammoth/1.8.0/mammoth.browser.min.js\",()=>Boolean(window.mammoth));const mammoth=window.mammoth;const res=await mammoth.extractRawText({arrayBuffer:buf});onExtracted(res.value);}catch{onExtracted(\"\");}}function handleFile(file){fileTextRef.current=\"\";setFileName(file.name);setErrMsg(\"\");const ext=file.name.split(\".\").pop()?.toLowerCase()??\"\";if(file.size>MAX_FILE_BYTES){uploadedFileRef.current=null;setDropState(\"error\");setErrMsg(\"That file is over 10 MB. Upload a smaller PDF, DOCX, or TXT file.\");return;}if(ext===\"doc\"){uploadedFileRef.current=null;setDropState(\"error\");setErrMsg(\"Legacy .doc files are not supported. Save it as .docx or PDF, or paste the CV below.\");return;}if(![\"txt\",\"pdf\",\"docx\"].includes(ext)){uploadedFileRef.current=null;setDropState(\"error\");setErrMsg(\"Use a PDF, DOCX, or TXT file, or paste the CV below.\");return;}uploadedFileRef.current=file;setDropState(\"reading\");if(ext===\"txt\")void extractTXT(file);else if(ext===\"pdf\")void extractPDF(file);else void extractDOCX(file);}function onDrop(e){e.preventDefault();const f=e.dataTransfer.files[0];if(f)handleFile(f);}function openFilePicker(){const input=fileRef.current;if(!input)return;try{const isChromium=typeof navigator!==\"undefined\"&&/(?:Chrome|Chromium|CriOS)\\//.test(navigator.userAgent);if(isChromium&&typeof input.showPicker===\"function\")input.showPicker();else input.click();}catch{input.click();}}async function submit(){const cvBody=fileTextRef.current?fileTextRef.current+(notes.trim()?\"\\n\\nNotes:\\n\"+notes.trim():\"\"):notes.trim();if(!cvBody)return;setLoading(true);setErrMsg(\"\");openEnrichModal(createSubmissionToken(cvBody));}const dropClass=[\"spine-drop\",hasFile?\"has-file\":\"\",isReading?\"is-reading\":\"\"].filter(Boolean).join(\" \");const svgStroke=hasFile?\"#2fd3c2\":\"rgba(79,125,255,0.8)\";return /*#__PURE__*/_jsxs(\"div\",{style:{fontFamily:\"Geist, Inter, system-ui, sans-serif\",...style},children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",borderRadius:20,padding:2,overflow:\"hidden\",isolation:\"isolate\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:\"-100%\",zIndex:0,background:\"conic-gradient(from 0deg, transparent 0deg, #1a3d9e 60deg, #4f7dff 90deg, transparent 130deg, transparent 180deg, #0d4070 240deg, #2fd3c2 270deg, transparent 310deg)\",animation:\"spineOrbit 4s linear infinite\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",zIndex:1,background:\"#0b0c10\",borderRadius:18,padding:26},children:[/*#__PURE__*/_jsx(\"h2\",{style:{fontSize:21,fontWeight:700,letterSpacing:\"-0.04em\",margin:\"0 0 6px\",color:\"#fafafa\"},children:\"Score your next hire\"}),/*#__PURE__*/_jsx(\"p\",{style:{fontSize:13,color:\"#a6a7b0\",margin:\"0 0 18px\",lineHeight:1.5},children:\"Drop their CV and any additional notes below\"}),/*#__PURE__*/_jsxs(\"div\",{className:dropClass,role:\"button\",tabIndex:0,\"aria-label\":\"Upload a CV as PDF, DOCX, or TXT\",onClick:openFilePicker,onKeyDown:e=>{if(e.key===\"Enter\"||e.key===\" \"){e.preventDefault();openFilePicker();}},onDragOver:e=>e.preventDefault(),onDrop:onDrop,children:[/*#__PURE__*/_jsxs(\"div\",{className:\"spine-drop-icon\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"spine-drop-spinner\"}),/*#__PURE__*/_jsxs(\"svg\",{className:\"spine-drop-svg\",width:\"18\",height:\"18\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:svgStroke,strokeWidth:\"1.7\",strokeLinecap:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4\"}),/*#__PURE__*/_jsx(\"polyline\",{points:\"17,8 12,3 7,8\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"12\",y1:\"3\",x2:\"12\",y2:\"15\"})]})]}),/*#__PURE__*/_jsx(\"div\",{className:\"spine-drop-title\",children:fileName||\"Drop their CV here\"}),/*#__PURE__*/_jsx(\"div\",{className:\"spine-drop-sub\",children:isReading?\"Reading…\":hasFile?\"✓ Ready — tap to replace\":dropState===\"error\"?\"Choose another file or paste below\":\"PDF, DOCX or TXT \\xb7 10 MB max\"}),/*#__PURE__*/_jsx(\"input\",{ref:fileRef,className:\"spine-file-input\",type:\"file\",accept:\".pdf,.docx,.txt,application/pdf,application/vnd.openxmlformats-officedocument.wordprocessingml.document,text/plain\",\"aria-label\":\"Upload a CV as PDF, DOCX, or TXT\",onClick:e=>e.stopPropagation(),onChange:e=>{const f=e.target.files?.[0];if(f)handleFile(f);e.currentTarget.value=\"\";}})]}),/*#__PURE__*/_jsx(\"div\",{className:\"spine-or\",children:\"or paste below\"}),/*#__PURE__*/_jsx(\"textarea\",{className:\"spine-ta\",placeholder:hasFile?\"Additional notes (optional)\":\"CV text, notes, LinkedIn profile…\",value:notes,onChange:e=>setNotes(e.target.value)}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"spine-btn\",disabled:!canSubmit,onClick:submit,style:submitted?{background:\"rgba(47,211,194,0.15)\",color:\"#2fd3c2\",border:\"1px solid rgba(47,211,194,0.3)\"}:{},children:/*#__PURE__*/_jsx(\"span\",{className:\"spine-btn-content\",children:submitted?\"Opened in new tab ✓\":loading?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{className:\"spine-btn-spinner\",\"aria-hidden\":\"true\"}),\"Preparing your read…\"]}):/*#__PURE__*/_jsxs(_Fragment,{children:[\"Get the read\",/*#__PURE__*/_jsx(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M5 12h14M13 6l6 6-6 6\"})})]})})}),errMsg&&/*#__PURE__*/_jsx(\"div\",{className:\"spine-err\",children:errMsg})]})]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ScoreBoxOrbit\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"420\",\"framerIntrinsicWidth\":\"460\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScoreBoxOrbit.map"],"mappings":"yJAkFE,SAAS,EAAW,EAAI,EAAQ,CAAuC,OAAnC,EAAQ,EAAS,QAAQ,QAAQ,EAAS,IAAI,SAAS,EAAQ,IAAS,CAAC,IAAI,EAAO,SAAS,cAAc,eAAe,EAAI,GAAG,EAAM,EAAQ,GAAY,EAAO,GAAO,CAAI,IAAe,EAAQ,GAAK,EAAO,aAAa,CAAK,EAAE,GAAQ,oBAAoB,OAAO,CAAM,EAAE,GAAQ,oBAAoB,QAAQ,CAAO,EAAK,EAAM,EAAO,CAAK,EAAO,EAAQ,EAAE,EAAQ,MAAW,CAAI,EAAQ,EAAE,EAAO,EAAO,EAAW,MAAM,2BAA2B,CAAC,CAAE,EAAQ,MAAY,EAAW,MAAM,uBAAuB,CAAC,EAAQ,EAAM,EAAO,eAAe,EAAW,MAAM,uBAAuB,CAAC,EAAE,CAAiB,EAAQ,EAAQ,CAAC,EAAW,IAAQ,EAAO,SAAS,cAAc,QAAQ,EAAE,EAAO,IAAI,EAAI,EAAO,MAAM,GAAK,EAAO,MAAM,IAAM,EAAO,iBAAiB,OAAO,EAAO,CAAC,KAAK,EAAI,CAAC,EAAE,EAAO,iBAAiB,QAAQ,EAAQ,CAAC,KAAK,EAAI,CAAC,EAAK,GAAQ,SAAS,KAAK,YAAY,CAAM,CAAE,CAAC,CAAE,CAAC,SAAS,EAAa,EAAK,CAAC,OAAO,IAAI,SAAS,EAAQ,IAAS,CAAC,IAAM,EAAO,IAAI,WAAW,EAAO,WAAW,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