{"version":3,"file":"store.js@_1.0.BottheSP.mjs","names":["fonts","fonts","css","className","fonts","css","className","fonts","css","className","useState"],"sources":["https:/framerusercontent.com/modules/nFVSb2zslR67Z3x62I35/zAH4OM9AWIDTKfX3TcYf/componentPresets.js","https:/framerusercontent.com/modules/PSs2fjaPZvKnASKXMdBz/BFPPCUUUzhE6aJcHjxhO/fXddqeq_E.js","https:/framerusercontent.com/modules/VmqjzC3hBEt0LBlIv7nr/lu0f6IkgM8qyKVQVVfMv/K89XPvRss.js","https:/framerusercontent.com/modules/6AsseaWd6gsjQyEdpK09/IgheqXVTw8Gd1RSuzXwN/ue6irrpOI.js","https:/framerusercontent.com/modules/88aCrspWrbql6Wz27rln/OVeBYcnRLNOpa0hKNVe6/WM1n1d7mB.js","https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0"],"sourcesContent":["// Generated by Framer (c8e5bf6)\nexport const props={Dopw3DTpg:{border:{borderColor:\"#eee\",borderStyle:\"solid\",borderWidth:1,borderWidthBottom:1,borderWidthLeft:1,borderWidthRight:1,borderWidthTop:1,isMixedBorderWidth:false},borderRadius:15,bottomLeftRadius:15,bottomRightRadius:15,darkTheme:\"framerDark\",font:{fontFamily:'\"Fragment Mono\", monospace',fontSize:\"14px\",fontStyle:\"normal\",fontWeight:400,letterSpacing:\"0em\",lineHeight:\"1.5em\"},isMixedBorderRadius:false,lightTheme:\"framerLight\",padding:30,paddingBottom:30,paddingLeft:30,paddingPerSide:false,paddingRight:30,paddingTop:30,theme:\"framerDark\",themeMode:\"Static\",topLeftRadius:15,topRightRadius:15},Nsd8D6aTh:{borderRadius:16,bottomLeftRadius:16,bottomRightRadius:16,isMixedBorderRadius:false,isRed:false,topLeftRadius:16,topRightRadius:16}};export const fonts={Dopw3DTpg:[{explicitInter:true,fonts:[{cssFamilyName:\"Fragment Mono\",source:\"google\",style:\"normal\",uiFamilyName:\"Fragment Mono\",url:\"https://fonts.gstatic.com/s/fragmentmono/v6/4iCr6K5wfMRRjxp0DA6-2CLnN4FNh4UI_1U.woff2\",weight:\"400\"}]}]};\nexport const __FramerMetadata__ = {\"exports\":{\"props\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (7f789f4)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-xvKtd .framer-styles-preset-5dnqzk { border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; border-top-left-radius: 16px; border-top-right-radius: 16px; }\"];export const className=\"framer-xvKtd\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (7f789f4)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-pfM1V .framer-styles-preset-tjnr5s:not(.rich-text-wrapper), .framer-pfM1V .framer-styles-preset-tjnr5s.rich-text-wrapper table { border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; border-color: var(--token-3273eaaa-af74-4270-a90b-3a6739cfb154, rgba(205, 203, 216, 0.4)); border-style: solid; border-top-left-radius: 8px; border-top-right-radius: 8px; border-width: 1px; overflow: hidden; }\",\".framer-pfM1V .framer-styles-preset-tjnr5s:not(.rich-text-wrapper) th, .framer-pfM1V .framer-styles-preset-tjnr5s.rich-text-wrapper table th, .framer-pfM1V .framer-styles-preset-tjnr5s:not(.rich-text-wrapper) td, .framer-pfM1V .framer-styles-preset-tjnr5s.rich-text-wrapper table td { padding: 8px; }\",\".framer-pfM1V .framer-styles-preset-tjnr5s:not(.rich-text-wrapper) th, .framer-pfM1V .framer-styles-preset-tjnr5s.rich-text-wrapper table th { background-color: var(--token-21fd6226-608e-4fb7-b988-699628e52a60, rgba(83, 57, 212, 0.15)); }\",\".framer-pfM1V .framer-styles-preset-tjnr5s:not(.rich-text-wrapper) tr + tr td, .framer-pfM1V .framer-styles-preset-tjnr5s:not(.rich-text-wrapper) tr + tr th, .framer-pfM1V .framer-styles-preset-tjnr5s.rich-text-wrapper table tr + tr td, .framer-pfM1V .framer-styles-preset-tjnr5s.rich-text-wrapper table tr + tr th { border-top-color: var(--token-3273eaaa-af74-4270-a90b-3a6739cfb154, rgba(205, 203, 216, 0.4)); border-top-style: solid; border-top-width: 1px; }\",\".framer-pfM1V .framer-styles-preset-tjnr5s:not(.rich-text-wrapper) td + td, .framer-pfM1V .framer-styles-preset-tjnr5s:not(.rich-text-wrapper) th + th, .framer-pfM1V .framer-styles-preset-tjnr5s:not(.rich-text-wrapper) td + th, .framer-pfM1V .framer-styles-preset-tjnr5s:not(.rich-text-wrapper) th + td, .framer-pfM1V .framer-styles-preset-tjnr5s.rich-text-wrapper table td + td, .framer-pfM1V .framer-styles-preset-tjnr5s.rich-text-wrapper table th + th, .framer-pfM1V .framer-styles-preset-tjnr5s.rich-text-wrapper table td + th, .framer-pfM1V .framer-styles-preset-tjnr5s.rich-text-wrapper table th + td { border-left-color: var(--token-3273eaaa-af74-4270-a90b-3a6739cfb154, rgba(205, 203, 216, 0.4)); border-left-style: solid; border-left-width: 1px; }\"];export const className=\"framer-pfM1V\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (0b89d47)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOMV2;Roobert Regular Italic\",\"CUSTOMV2;Roobert SemiBold Italic\",\"CUSTOMV2;Roobert SemiBold Italic\",\"CUSTOMV2;Roobert Regular Italic\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Roobert Regular Italic\",source:\"custom\",style:\"italic\",uiFamilyName:\"Roobert\",url:\"https://framerusercontent.com/assets/W5dXtaCPyg458Id0xerlysrYXI.woff\",weight:\"400\"},{cssFamilyName:\"Roobert SemiBold Italic\",source:\"custom\",style:\"italic\",uiFamilyName:\"Roobert\",url:\"https://framerusercontent.com/assets/De3UzmuGrJia8AyJ1FrCox48ug.woff\",weight:\"600\"}]}];export const css=['.framer-yaXq3 .framer-styles-preset-1o5dhp7:not(.rich-text-wrapper), .framer-yaXq3 .framer-styles-preset-1o5dhp7.rich-text-wrapper blockquote { --framer-blockquote-font-family: \"Roobert Regular Italic\", \"Roobert Regular Italic Placeholder\", sans-serif; --framer-blockquote-font-family-bold: \"Roobert SemiBold Italic\", \"Roobert SemiBold Italic Placeholder\", sans-serif; --framer-blockquote-font-family-bold-italic: \"Roobert SemiBold Italic\", \"Roobert SemiBold Italic Placeholder\", sans-serif; --framer-blockquote-font-family-italic: \"Roobert Regular Italic\", \"Roobert Regular Italic Placeholder\", sans-serif; --framer-blockquote-font-size: 18px; --framer-blockquote-font-style: italic; --framer-blockquote-font-style-bold: italic; --framer-blockquote-font-style-bold-italic: italic; --framer-blockquote-font-style-italic: italic; --framer-blockquote-font-variation-axes: normal; --framer-blockquote-font-weight: 400; --framer-blockquote-font-weight-bold: 600; --framer-blockquote-font-weight-bold-italic: 600; --framer-blockquote-font-weight-italic: 400; --framer-blockquote-letter-spacing: 0em; --framer-blockquote-line-height: 2em; --framer-blockquote-paragraph-spacing: 20px; --framer-blockquote-text-color: #999999; --framer-blockquote-text-stroke-color: initial; --framer-blockquote-text-stroke-width: initial; --framer-font-open-type-features: normal; padding: 0px 0px 0px 22px; position: relative; }','.framer-yaXq3 .framer-styles-preset-1o5dhp7:not(.rich-text-wrapper)::before, .framer-yaXq3 .framer-styles-preset-1o5dhp7.rich-text-wrapper blockquote::before { background-color: #ddd; border-radius: 1px; content: \" \"; display: block; height: 100%; left: 0px; position: absolute; top: 0px; width: 2px; }'];export const className=\"framer-yaXq3\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{fontStore}from\"framer\";fontStore.loadFonts([\"GF;Fragment Mono-regular\"]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=['.framer-twMBh .framer-styles-preset-1mj75u3 { --framer-code-font-family: \"Fragment Mono\", monospace; --framer-code-font-style: normal; --framer-code-font-weight: 400; --framer-code-text-color: #333; --framer-font-size-scale: 1; background-color: rgba(0, 0, 0, 0.1); border-bottom-left-radius: 6px; border-bottom-right-radius: 6px; border-top-left-radius: 6px; border-top-right-radius: 6px; padding-bottom: 0.1em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.1em; }'];export const className=\"framer-twMBh\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","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"],"mappings":"8LACa,EAAM,CAAC,UAAU,CAAC,OAAO,CAAC,YAAY,OAAO,YAAY,QAAQ,YAAY,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,eAAe,EAAE,mBAAmB,GAAM,CAAC,aAAa,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,UAAU,aAAa,KAAK,CAAC,WAAW,6BAA6B,SAAS,OAAO,UAAU,SAAS,WAAW,IAAI,cAAc,MAAM,WAAW,QAAQ,CAAC,oBAAoB,GAAM,WA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