{"version":3,"file":"Examples.DRTlaNda.mjs","names":["useState","useRef","useCallback","__esmMin","init_ssg_sandbox_shims","ne","window","_e","de","init_jsx_runtime","J","init_npm_react_18_3_1","ce","init_framer_BpuvUAiZ","Data","useObserveData","createStore","dataStore","state1","setDataStore","newState","storeState","storeSetters","setStoreState","setter","useStore","state","setState","init_createStore","init_store_js__1_0","centerContent","init_Utils","init_utils_js__0_9","cleanMessage","raw","temp","buildMailchimpJsonpUrl","postUrl","MAILCHIMP_AUDIENCE_ENDPOINT","email","firstName","MAILCHIMP_HONEYPOT","birthdayMonth","birthdayDay","callbackName","withMailchimpSignupButton","localNodeRef","inFlightRef","callbackNameRef","timeoutIdRef","scriptRef","enterKeyListenerRef","formRef","setRefs","node","ref","getForm","getOrCreateStatusElement","messageElement","nextElement","form","setStatusMessage","message","status","isDesktop","clearActiveRequest","submitNewsletter","readFieldValue","field","name","birthday","birthdayMatch","month","day","requestUrl","incomingMessage","response","script","handleTrigger","event","originalOnClick","props","originalOnTap","handleEnterSubmit","target","Component","HideChronicleBodyHeadings","localRef","hiddenHeadingsRef","insertedSeparatorRef","root","headingTags","restoreHiddenHeadings","display","ariaHidden","element","removeInsertedSeparator","current","syncClosingNoteSeparator","targetParagraph","paragraph","existing","hr","hideFirstTwoDirectHeadings","child","heading","observer","init_Examples"],"sources":["https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/28rXvpPsrum7FH6cMELS/1jCAazZw1EGHjrG5Nu5D/Utils.js","https:/framer.com/m/framer/utils.js@^0.9.0","https:/framerusercontent.com/modules/63NutF6tgsvhvHvN1124/awUEiKOLeZsExqiaTFmJ/Examples.js"],"sourcesContent":["import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map","/*\n * createStore (framer/store@1.0.1)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js\"\n","export const centerContent = {\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nexport const autoSizingText = {\n    width: \"max-content\",\n    wordBreak: \"break-word\",\n    overflowWrap: \"break-word\",\n    overflow: \"hidden\",\n    whiteSpace: \"pre-wrap\",\n    flexShrink: 0\n};\nexport const defaultContainerStyles = {\n    ...centerContent,\n    overflow: \"hidden\"\n};\nexport const containerStyles = defaultContainerStyles;\nexport const randomColor = ()=>\"#\" + Math.floor(Math.random() * 16777215).toString(16)\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"centerContent\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"autoSizingText\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultContainerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomColor\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./Utils.map","/*\n * Utils (framer/utils@0.9.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/28rXvpPsrum7FH6cMELS/1jCAazZw1EGHjrG5Nu5D/Utils.js\"\n","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{forwardRef,startTransition,useCallback,useId,useEffect,useRef}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{randomColor}from\"https://framer.com/m/framer/utils.js@^0.9.0\";// Learn more: https://www.framer.com/developers/overrides/\nconst useStore=createStore({background:\"#0099FF\"});const useMailchimpStore=createStore({formId:\"\",status:\"idle\",message:\"\",requestId:0});const MAILCHIMP_AUDIENCE_ENDPOINT=\"https://theageofshakti.us3.list-manage.com/subscribe/post?u=10fb46721af441e0a5fe2359b&id=206691c9d8&f_id=00aedbe3f0\";const MAILCHIMP_HONEYPOT=\"b_10fb46721af441e0a5fe2359b_206691c9d8\";const MAILCHIMP_FORM_ID_ATTR=\"data-mailchimp-form-id\";function setMailchimpFeedback(setStore,formId,status,message){startTransition(()=>{setStore({formId,status,message,requestId:Date.now()});});}function cleanMessage(raw){if(typeof window===\"undefined\")return raw;const temp=window.document.createElement(\"div\");temp.innerHTML=raw;return(temp.textContent||temp.innerText||raw).trim();}function buildMailchimpJsonpUrl(email,firstName,birthdayMonth,birthdayDay,callbackName){const postUrl=new URL(MAILCHIMP_AUDIENCE_ENDPOINT);postUrl.pathname=postUrl.pathname.replace(/\\/post$/,\"/post-json\");postUrl.searchParams.set(\"EMAIL\",email);postUrl.searchParams.set(\"FNAME\",firstName);postUrl.searchParams.delete(\"LNAME\");postUrl.searchParams.set(MAILCHIMP_HONEYPOT,\"\");if(birthdayMonth&&birthdayDay){postUrl.searchParams.set(\"BIRTHDAY[month]\",birthdayMonth);postUrl.searchParams.set(\"BIRTHDAY[day]\",birthdayDay);}else{postUrl.searchParams.delete(\"BIRTHDAY[month]\");postUrl.searchParams.delete(\"BIRTHDAY[day]\");}postUrl.searchParams.set(\"c\",callbackName);return postUrl.toString();}function submitFormToMailchimp(form,setStore){if(typeof window===\"undefined\"||typeof document===\"undefined\"){setMailchimpFeedback(setStore,form.getAttribute(MAILCHIMP_FORM_ID_ATTR)||\"\",\"error\",\"Unable to submit from this environment.\");return;}const formId=form.getAttribute(MAILCHIMP_FORM_ID_ATTR)||\"\";const formData=new FormData(form);const email=String(formData.get(\"EMAIL\")??\"\").trim();const firstName=String(formData.get(\"FNAME\")??\"\").trim();const birthday=String(formData.get(\"BIRTHDAY\")??\"\").trim();const emailPattern=/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;if(!emailPattern.test(email)){setMailchimpFeedback(setStore,formId,\"error\",\"Please enter a valid email address.\");return;}let birthdayMonth=null;let birthdayDay=null;if(birthday.length>0){const birthdayMatch=birthday.match(/^\\s*(\\d{1,2})\\s*\\/\\s*(\\d{1,2})\\s*$/);if(!birthdayMatch){setMailchimpFeedback(setStore,formId,\"error\",\"Birthday must be in MM/DD format.\");return;}const month=Number.parseInt(birthdayMatch[1],10);const day=Number.parseInt(birthdayMatch[2],10);if(Number.isNaN(month)||Number.isNaN(day)||month<1||month>12||day<1||day>31){setMailchimpFeedback(setStore,formId,\"error\",\"Birthday must be a valid MM/DD date.\");return;}birthdayMonth=String(month);birthdayDay=String(day);}const activeRequest=window.__mailchimpActiveRequest;if(activeRequest?.timeoutId){window.clearTimeout(activeRequest.timeoutId);}if(activeRequest?.script?.parentNode){activeRequest.script.parentNode.removeChild(activeRequest.script);}if(activeRequest?.callbackName){delete window[activeRequest.callbackName];}const callbackName=`mailchimpJSONPCallback_${Date.now()}_${Math.floor(Math.random()*1e6)}`;const script=document.createElement(\"script\");script.async=true;script.src=buildMailchimpJsonpUrl(email,firstName,birthdayMonth,birthdayDay,callbackName);setMailchimpFeedback(setStore,formId,\"pending\",\"Submitting…\");window[callbackName]=response=>{const current=window.__mailchimpActiveRequest;if(current?.timeoutId)window.clearTimeout(current.timeoutId);if(current?.script?.parentNode)current.script.parentNode.removeChild(current.script);delete window[callbackName];window.__mailchimpActiveRequest=null;const incomingMessage=cleanMessage(String(response?.msg??\"\"));if(response?.result===\"success\"){setMailchimpFeedback(setStore,formId,\"success\",incomingMessage||\"Thanks for signing up. Please check your inbox to confirm your subscription.\");return;}setMailchimpFeedback(setStore,formId,\"error\",incomingMessage||\"Mailchimp could not process your signup. Please try again.\");};script.onerror=()=>{const current=window.__mailchimpActiveRequest;if(current?.timeoutId)window.clearTimeout(current.timeoutId);if(current?.callbackName)delete window[current.callbackName];if(script.parentNode)script.parentNode.removeChild(script);window.__mailchimpActiveRequest=null;setMailchimpFeedback(setStore,formId,\"error\",\"Network error while contacting Mailchimp. Please try again.\");};const timeoutId=window.setTimeout(()=>{const current=window.__mailchimpActiveRequest;if(current?.callbackName)delete window[current.callbackName];if(current?.script?.parentNode)current.script.parentNode.removeChild(current.script);window.__mailchimpActiveRequest=null;setMailchimpFeedback(setStore,formId,\"error\",\"Request timed out before Mailchimp responded. Please try again.\");},12e3);window.__mailchimpActiveRequest={callbackName,script,timeoutId};document.body.appendChild(script);}function resolveNearestForm(target){const closestForm=target.closest(\"form\");if(closestForm&&closestForm instanceof HTMLFormElement)return closestForm;const asButton=target;if(asButton.form)return asButton.form;const formId=target.getAttribute(\"form\");if(formId&&target.ownerDocument){const byId=target.ownerDocument.getElementById(formId);if(byId&&byId instanceof HTMLFormElement)return byId;}return null;}export function withRotate(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{rotate:90},transition:{duration:2}});});}export function withHover(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,whileHover:{scale:1.05}});});}export function withRandomColor(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});});}export function withMailchimpSignup(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[mailchimpState,setMailchimpState]=useMailchimpStore();const reactId=useId();const formIdRef=useRef(`mailchimp-form-${reactId.replace(/[:]/g,\"\")}`);const onSubmit=useCallback(event=>{event.preventDefault();submitFormToMailchimp(event.currentTarget,setMailchimpState);},[setMailchimpState]);const isCurrentFormFeedback=mailchimpState.formId===formIdRef.current;const showFeedback=isCurrentFormFeedback&&mailchimpState.status!==\"idle\";return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",display:\"contents\"},children:[/*#__PURE__*/_jsx(Component,{ref:ref,...props,onSubmit:onSubmit,[MAILCHIMP_FORM_ID_ATTR]:formIdRef.current}),showFeedback?/*#__PURE__*/_jsx(\"p\",{role:mailchimpState.status===\"error\"?\"alert\":\"status\",\"aria-live\":mailchimpState.status===\"error\"?\"assertive\":\"polite\",style:{margin:\"8px 0 0\",font:\"inherit\",color:\"inherit\"},children:mailchimpState.message}):null]});});}export function withMailchimpSignupButton(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const localNodeRef=useRef(null);const inFlightRef=useRef(false);const callbackNameRef=useRef(null);const timeoutIdRef=useRef(null);const scriptRef=useRef(null);const enterKeyListenerRef=useRef(null);const formRef=useRef(null);const setRefs=useCallback(node=>{localNodeRef.current=node;if(typeof ref===\"function\"){ref(node);}else if(ref&&typeof ref===\"object\"){ref.current=node;}},[ref]);const getForm=useCallback(()=>{if(typeof document===\"undefined\")return null;const node=document.getElementById(\"mailchimp-newsletter-form\");if(node&&node instanceof HTMLElement)return node;return null;},[]);const getOrCreateStatusElement=useCallback(form=>{let messageElement=null;const nextElement=form.nextElementSibling;if(nextElement&&nextElement instanceof HTMLElement&&nextElement.getAttribute(\"data-mailchimp-status\")===\"true\"){messageElement=nextElement;return messageElement;}messageElement=form.ownerDocument.createElement(\"p\");messageElement.setAttribute(\"data-mailchimp-status\",\"true\");messageElement.style.margin=\"8px 0 0\";messageElement.style.font=\"inherit\";messageElement.style.color=\"inherit\";form.insertAdjacentElement(\"afterend\",messageElement);return messageElement;},[]);const setStatusMessage=useCallback((form,status,message)=>{const messageElement=getOrCreateStatusElement(form);messageElement.textContent=message;messageElement.setAttribute(\"role\",status===\"error\"?\"alert\":\"status\");messageElement.setAttribute(\"aria-live\",status===\"error\"?\"assertive\":\"polite\");if(status===\"success\"){const isDesktop=typeof window!==\"undefined\"?window.innerWidth>=1200:false;messageElement.style.color=\"#E8DCCB\";messageElement.style.textAlign=\"center\";messageElement.style.fontSize=isDesktop?\"24px\":\"20px\";}else{messageElement.style.color=\"inherit\";messageElement.style.textAlign=\"inherit\";messageElement.style.fontSize=\"inherit\";}},[getOrCreateStatusElement]);const clearActiveRequest=useCallback(()=>{if(typeof window===\"undefined\")return;if(timeoutIdRef.current!==null){window.clearTimeout(timeoutIdRef.current);timeoutIdRef.current=null;}if(scriptRef.current&&scriptRef.current.parentNode){scriptRef.current.parentNode.removeChild(scriptRef.current);}scriptRef.current=null;if(callbackNameRef.current){delete window[callbackNameRef.current];}callbackNameRef.current=null;inFlightRef.current=false;},[]);const submitNewsletter=useCallback(form=>{if(typeof window===\"undefined\"||typeof document===\"undefined\")return;if(inFlightRef.current)return;const readFieldValue=name=>{const field=form.querySelector(`[name=\"${name}\"]`);if(field&&(field instanceof HTMLInputElement||field instanceof HTMLTextAreaElement||field instanceof HTMLSelectElement)){return String(field.value??\"\").trim();}return\"\";};const email=readFieldValue(\"EMAIL\");const firstName=readFieldValue(\"FNAME\");const birthday=readFieldValue(\"BIRTHDAY\");const emailPattern=/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;if(!emailPattern.test(email)){setStatusMessage(form,\"error\",\"Please enter a valid email address.\");return;}let birthdayMonth=null;let birthdayDay=null;if(birthday.length>0){const birthdayMatch=birthday.match(/^\\s*(\\d{1,2})\\s*\\/\\s*(\\d{1,2})\\s*$/);if(!birthdayMatch){setStatusMessage(form,\"error\",\"Birthday must be in MM/DD format.\");return;}const month=Number.parseInt(birthdayMatch[1],10);const day=Number.parseInt(birthdayMatch[2],10);if(Number.isNaN(month)||Number.isNaN(day)||month<1||month>12||day<1||day>31){setStatusMessage(form,\"error\",\"Birthday must be a valid MM/DD date.\");return;}birthdayMonth=String(month);birthdayDay=String(day);}clearActiveRequest();inFlightRef.current=true;setStatusMessage(form,\"pending\",\"Submitting…\");const callbackName=`mailchimpJSONPCallback_${Date.now()}_${Math.floor(Math.random()*1e6)}`;callbackNameRef.current=callbackName;const requestUrl=buildMailchimpJsonpUrl(email,firstName,birthdayMonth,birthdayDay,callbackName);window[callbackName]=response=>{const incomingMessage=cleanMessage(String(response?.msg??\"\"));clearActiveRequest();if(response?.result===\"success\"){setStatusMessage(form,\"success\",incomingMessage||\"Thanks for signing up. Please check your inbox to confirm your subscription.\");return;}setStatusMessage(form,\"error\",incomingMessage||\"Mailchimp could not process your signup. Please try again.\");};const script=document.createElement(\"script\");script.async=true;script.src=requestUrl;script.onerror=()=>{clearActiveRequest();setStatusMessage(form,\"error\",\"Network error while contacting Mailchimp. Please try again.\");};scriptRef.current=script;document.body.appendChild(script);timeoutIdRef.current=window.setTimeout(()=>{clearActiveRequest();setStatusMessage(form,\"error\",\"Request timed out before Mailchimp responded. Please try again.\");},12e3);},[clearActiveRequest,setStatusMessage]);const handleTrigger=useCallback(event=>{const form=getForm();if(!form)return;event.preventDefault();submitNewsletter(form);},[getForm,submitNewsletter]);const originalOnClick=props.onClick;const originalOnTap=props.onTap;useEffect(()=>{const form=getForm();formRef.current=form;if(!form)return;const handleEnterSubmit=event=>{if(event.key!==\"Enter\")return;const target=event.target;if(!(target instanceof HTMLInputElement||target instanceof HTMLTextAreaElement||target instanceof HTMLSelectElement)){return;}if(!form.contains(target))return;event.preventDefault();submitNewsletter(form);};enterKeyListenerRef.current=handleEnterSubmit;form.addEventListener(\"keydown\",handleEnterSubmit);return()=>{if(enterKeyListenerRef.current){form.removeEventListener(\"keydown\",enterKeyListenerRef.current);}enterKeyListenerRef.current=null;clearActiveRequest();};},[clearActiveRequest,getForm,submitNewsletter]);return /*#__PURE__*/_jsx(Component,{ref:setRefs,...props,type:\"button\",onClick:event=>{if(typeof originalOnClick===\"function\"){originalOnClick(event);}if(!event.defaultPrevented){handleTrigger(event);}},onTap:originalOnTap});});}export function HideChronicleBodyHeadings(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const localRef=useRef(null);const hiddenHeadingsRef=useRef([]);const insertedSeparatorRef=useRef(null);const setRefs=useCallback(node=>{localRef.current=node;if(typeof ref===\"function\"){ref(node);}else if(ref&&typeof ref===\"object\"){ref.current=node;}},[ref]);useEffect(()=>{const root=localRef.current;if(!root||typeof window===\"undefined\")return;const headingTags=new Set([\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\"]);const closingNoteText=\"The Age of Shakti is a serious mythological fantasy trilogy. Its author, unfortunately, is experiencing a different kind of epic.\";const restoreHiddenHeadings=()=>{hiddenHeadingsRef.current.forEach(({element,display,ariaHidden})=>{element.style.display=display;if(ariaHidden===null){element.removeAttribute(\"aria-hidden\");}else{element.setAttribute(\"aria-hidden\",ariaHidden);}});hiddenHeadingsRef.current=[];};const removeInsertedSeparator=()=>{const current=insertedSeparatorRef.current;if(current&&current.parentNode){current.parentNode.removeChild(current);}insertedSeparatorRef.current=null;};const syncClosingNoteSeparator=()=>{const paragraphs=Array.from(root.querySelectorAll(\"p\"));const targetParagraph=paragraphs.find(paragraph=>{return paragraph.textContent?.trim()===closingNoteText;});if(!targetParagraph){removeInsertedSeparator();return;}const existing=insertedSeparatorRef.current;if(existing&&existing.parentElement===root&&existing.nextElementSibling===targetParagraph){return;}removeInsertedSeparator();const hr=root.ownerDocument.createElement(\"hr\");hr.setAttribute(\"data-maelware-closing-separator\",\"true\");hr.setAttribute(\"aria-hidden\",\"true\");hr.style.width=\"100%\";hr.style.border=\"0\";hr.style.borderTop=\"1px solid currentColor\";hr.style.opacity=\"0.3\";root.insertBefore(hr,targetParagraph);insertedSeparatorRef.current=hr;};const hideFirstTwoDirectHeadings=()=>{restoreHiddenHeadings();const directHeadings=Array.from(root.children).filter(child=>{return child instanceof HTMLElement&&headingTags.has(child.tagName.toLowerCase());});directHeadings.slice(0,2).forEach(heading=>{hiddenHeadingsRef.current.push({element:heading,display:heading.style.display,ariaHidden:heading.getAttribute(\"aria-hidden\")});heading.style.display=\"none\";heading.setAttribute(\"aria-hidden\",\"true\");});syncClosingNoteSeparator();};hideFirstTwoDirectHeadings();const observer=new MutationObserver(()=>{hideFirstTwoDirectHeadings();});observer.observe(root,{childList:true,subtree:true});return()=>{observer.disconnect();removeInsertedSeparator();restoreHiddenHeadings();};},[]);return /*#__PURE__*/_jsx(Component,{ref:setRefs,...props});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMailchimpSignupButton\":{\"type\":\"reactHoc\",\"name\":\"withMailchimpSignupButton\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMailchimpSignup\":{\"type\":\"reactHoc\",\"name\":\"withMailchimpSignup\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HideChronicleBodyHeadings\":{\"type\":\"reactHoc\",\"name\":\"HideChronicleBodyHeadings\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Examples.map"],"mappings":"A,qNAA8E,SAAgBgB,EAAY,EAAO,CACjH,IAAMC,EAAUH,EAAK,CAAC,MAAM,OAAO,OAAO,CAAC,GAAGI,CAAM,CAAC,CAAC,CAAC,EACjDC,EAAa,GAAU,CAC1B,OAAOC,GAAW,aAAY,EAASA,EAASH,EAAU,KAAK,GAAG,EAAU,MAAM,OAAO,OAAO,CAAC,GAAGA,EAAU,MAAM,GAAGG,CAAQ,CAAC,CAAE,EACjIC,EAAW,OAAOH,GAAS,SAAS,OAAO,OAAO,CAAC,GAAGA,CAAM,CAAC,EAAEA,EAC7DI,kBAAa,IAAI,IACjBC,EAAc,GAAU,CAC3B,OAAOH,GAAW,aAAY,EAASA,EAASC,CAAU,GAAG,EAAW,OAAOD,GAAW,SAAS,OAAO,OAAO,CAAC,GAAGC,EAAW,GAAGD,CAAQ,CAAC,EAAEA,EACjJE,EAAa,QAAQ,GAAQE,EAAOH,CAAU,CAAC,CAAE,EACjD,SAASI,GAAU,CACnB,GAAK,CAACC,EAAMC,GAAU3B,EAASqB,CAAU,EAKzC,OAHAT,OACAU,EAAa,IAAIK,CAAQ,MAAYL,EAAa,OAAOK,CAAQ,GAAI,CAAC,CAAC,EACpEZ,EAAe,IAAI,IAAMA,EAAe,EAAQ,CAACE,EAAU,MAAME,CAAY,GAC1E,CAACO,EAAMH,CAAa,CAAG,CAAC,OAAOE,CAAS,C,wHEfjC,EAAgB,CACzB,QAAS,OACT,eAAgB,SAChB,WAAY,QAChB,EAWI,CADA,GAAGK,CACO,C,+CEdyhB,SAASG,EAAa,EAAI,CAAC,GAAU3B,IAAS,OAAY,OAAO4B,EAAI,IAAMC,EAAK7B,EAAO,SAAS,cAAc,KAAK,EAAqB,MAAnB,GAAK,UAAU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