{"version":3,"file":"Examples.dxKtJsYG.mjs","names":["useState","__esmMin","init_npm_react_18_3_1","ce","init_jsx_runtime","c","_e","useObserveData","init_framer_CKT6jEEQ","createStore","dataStore","Data","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","injectJsonLd","selector","id","existing","script","payload","withOrganizationSchema","scripts","Component","props","withDentalMarketingSchema","withGoogleAdsSchema","withWebDesignSeoSchema","withLocalServiceAdsSchema","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/SuMgMS6OzntzOVXiCVDv/73NCzGy6XL9IjR8Gp7ZP/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}from\"react/jsx-runtime\";import{useEffect}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/docs/guides/overrides/\nconst useStore=createStore({background:\"#0099FF\"});function injectJsonLd(id,payload){if(typeof document===\"undefined\")return null;const selector=`script[data-seo-schema-id=\"${id}\"]`;const existing=document.head.querySelector(selector);if(existing)existing.remove();const script=document.createElement(\"script\");script.type=\"application/ld+json\";script.setAttribute(\"data-seo-schema-id\",id);script.text=JSON.stringify(payload);document.head.appendChild(script);return script;}export function withRotate(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,animate:{rotate:90},transition:{duration:2}});};}export function withHover(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,whileHover:{scale:1.05}});};}export function withRandomColor(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});};}export function withOrganizationSchema(Component){return props=>{useEffect(()=>{const organizationSchema={\"@context\":\"https://schema.org\",\"@type\":[\"Organization\",\"ProfessionalService\"],name:\"White x Space Studios\",alternateName:[\"White x Space\",\"White Space\",\"Whitexspace\",\"White Space Studios\",\"White Space Design\",\"WxS\"],url:\"https://www.whitexspace.com\",logo:\"https://framerusercontent.com/images/oY8UFFG7bybxtsLlBhtGZBfFak.png\",image:\"https://framerusercontent.com/images/lUZFk2lS84rC5qmTm74fKBNxHc.jpg\",description:\"Premium dental marketing agency offering website design, SEO, Google Ads, Local Service Ads, content and social media marketing for dental practices and local businesses.\",slogan:\"Imagination is still undefeated.\",areaServed:[\"New York City\",\"Los Angeles\",\"United States\"],knowsAbout:[\"Dental Marketing\",\"Google Ads\",\"Meta Ads\",\"Local Service Ads\",\"SEO\",\"Website Design\"]};const websiteSchema={\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",name:\"White x Space Studios\",alternateName:\"White x Space\",url:\"https://www.whitexspace.com\"};const scripts=[injectJsonLd(\"wxs-schema-organization\",organizationSchema),injectJsonLd(\"wxs-schema-website\",websiteSchema)];return()=>{scripts.forEach(script=>{if(script?.parentNode)script.parentNode.removeChild(script);});};},[]);return /*#__PURE__*/_jsx(Component,{...props});};}export function withDentalMarketingSchema(Component){return props=>{useEffect(()=>{const schema={\"@context\":\"https://schema.org\",\"@type\":\"Service\",serviceType:\"Dental Marketing\",name:\"Premium Dental Marketing\",provider:{\"@type\":\"Organization\",name:\"White x Space Studios\",url:\"https://www.whitexspace.com\"},areaServed:\"United States\",audience:{\"@type\":\"Audience\",audienceType:\"Dental practices\"},description:\"Full-suite dental marketing: SEO, website design, Google Ads and content that helps dental practices 4x growth while reducing ad spend by 50%.\",url:\"https://www.whitexspace.com/dental-marketing\"};const script=injectJsonLd(\"wxs-schema-dental-marketing\",schema);return()=>{if(script?.parentNode)script.parentNode.removeChild(script);};},[]);return /*#__PURE__*/_jsx(Component,{...props});};}export function withGoogleAdsSchema(Component){return props=>{useEffect(()=>{const schema={\"@context\":\"https://schema.org\",\"@type\":\"Service\",serviceType:\"Google Ads & Meta Ads Management\",name:\"Google Ads & Meta Ads for Dentists\",provider:{\"@type\":\"Organization\",name:\"White x Space Studios\",url:\"https://www.whitexspace.com\"},areaServed:\"United States\",description:\"Creative-led Google Ads and Meta Ads management that brings patients to the chair and has generated millions in patient revenue.\",url:\"https://www.whitexspace.com/services/google-and-meta-ads\"};const script=injectJsonLd(\"wxs-schema-google-meta-ads\",schema);return()=>{if(script?.parentNode)script.parentNode.removeChild(script);};},[]);return /*#__PURE__*/_jsx(Component,{...props});};}export function withWebDesignSeoSchema(Component){return props=>{useEffect(()=>{const schema={\"@context\":\"https://schema.org\",\"@type\":\"Service\",serviceType:\"Website Design & SEO\",name:\"Dental Website Design & SEO\",provider:{\"@type\":\"Organization\",name:\"White x Space Studios\",url:\"https://www.whitexspace.com\"},areaServed:\"United States\",description:\"Custom, SEO-optimized website design with Local SEO, AEO and ADA compliance on a flexible no-contract subscription.\",url:\"https://www.whitexspace.com/services/website-design-and-seo\"};const script=injectJsonLd(\"wxs-schema-web-design-seo\",schema);return()=>{if(script?.parentNode)script.parentNode.removeChild(script);};},[]);return /*#__PURE__*/_jsx(Component,{...props});};}export function withLocalServiceAdsSchema(Component){return props=>{useEffect(()=>{const schema={\"@context\":\"https://schema.org\",\"@type\":\"Service\",serviceType:\"Google Local Service Ads Management\",name:\"Local Service Ads for Dentists\",provider:{\"@type\":\"Organization\",name:\"White x Space Studios\",url:\"https://www.whitexspace.com\"},areaServed:\"United States\",description:\"Managed Google Local Service Ads for dental practices — Google Verified badge, pay per booked patient, not per click.\",url:\"https://www.whitexspace.com/local-service-ads\"};const script=injectJsonLd(\"wxs-schema-local-service-ads\",schema);return()=>{if(script?.parentNode)script.parentNode.removeChild(script);};},[]);return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLocalServiceAdsSchema\":{\"type\":\"reactHoc\",\"name\":\"withLocalServiceAdsSchema\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWebDesignSeoSchema\":{\"type\":\"reactHoc\",\"name\":\"withWebDesignSeoSchema\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGoogleAdsSchema\":{\"type\":\"reactHoc\",\"name\":\"withGoogleAdsSchema\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDentalMarketingSchema\":{\"type\":\"reactHoc\",\"name\":\"withDentalMarketingSchema\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withOrganizationSchema\":{\"type\":\"reactHoc\",\"name\":\"withOrganizationSchema\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Examples.map"],"mappings":"A,6KAA8E,SAAgBS,EAAY,EAAO,CACjH,IAAMC,EAAUC,EAAK,CAAC,MAAM,OAAO,OAAO,CAAC,GAAGC,CAAM,CAAC,CAAC,CAAC,EACjDC,EAAa,GAAU,CAC1B,OAAOC,GAAW,aAAY,EAASA,EAASJ,EAAU,KAAK,GAAG,EAAU,MAAM,OAAO,OAAO,CAAC,GAAGA,EAAU,MAAM,GAAGI,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,GAAUrB,EAASe,CAAU,EAKzC,OAHAZ,OACAa,EAAa,IAAIK,CAAQ,MAAYL,EAAa,OAAOK,CAAQ,GAAI,CAAC,CAAC,EACpEd,EAAe,IAAI,IAAMA,EAAe,EAAQ,CAACG,EAAU,MAAMG,CAAY,GAC1E,CAACO,EAAMH,CAAa,CAAG,CAAC,OAAOE,CAAS,C,wHEfjC,EAAgB,CACzB,QAAS,OACT,eAAgB,SAChB,WAAY,QAChB,EAWI,CADA,GAAGK,CACO,C,+CEdqC,SAASG,EAAa,EAAG,EAAQ,CAAC,GAAG,OAAO,SAAW,IAAY,OAAO,KAAK,IAAMC,EAAS,8BAA8BC,EAAG,IAAUC,EAAS,SAAS,KAAK,cAAcF,C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