{"version":3,"file":"siteMetadata.9gGwpYuL.mjs","names":[],"sources":["https:/framerusercontent.com/modules/3Ojj42ZRX5US3lvvIGr8/AsR0ZUKuSTmVwbBOK1pB/siteMetadata.js"],"sourcesContent":["// Generated by Framer (dc53115)\nexport default function metadata(params,activeLocale){return{customHTMLBodyStart:'<script type=\"text/javascript\">\\n/** @enum {string} Theme options for the application theme control */\\nconst THEME = {\\n  DARK: \"dark\",\\n  LIGHT: \"light\",\\n  SYSTEM: \"system\",\\n};\\n\\n/** @constant {string} Key used for storing theme preference in localStorage */\\nconst THEME_STORE_KEY = \"theme\";\\n\\n/** @constant {string} Attribute name used for theme toggling in HTML elements */\\nconst THEME_TOGGLE_ATTRIBUTE = \"toggle-theme\";\\n\\n/**\\n * Removes invalid theme values from localStorage.\\n * If the stored theme value is not one of the valid THEME enum values, it will be removed.\\n * Ensures only valid theme naming is set in localStorage.\\n * @returns {void}\\n */\\nconst clearPotentiallyInvalidThemeValue = () => {\\n  const storedValue = localStorage.getItem(THEME_STORE_KEY);\\n\\n  if (storedValue === null) {\\n    return;\\n  }\\n\\n  if (!Object.values(THEME).includes(storedValue)) {\\n    localStorage.removeItem(THEME_STORE_KEY);\\n  }\\n};\\n\\n/**\\n * Retrieves the stored theme value from localStorage or returns the default theme (SYSTEM).\\n * @returns {string} The theme value to use (DARK, LIGHT, or SYSTEM)\\n */\\nconst getStoredValueOrDefault = () => {\\n  const storedValue = localStorage.getItem(THEME_STORE_KEY);\\n\\n  if (\\n    storedValue === null ||\\n    ![THEME.DARK, THEME.LIGHT].includes(storedValue)\\n  ) {\\n    return THEME.SYSTEM;\\n  }\\n\\n  return storedValue;\\n};\\n\\n/**\\n * Extracts CSS custom properties (tokens) from light theme styles.\\n * @param {CSSStyleRule} rule - The CSS rule to extract tokens from\\n * @returns {string} Space-separated string of CSS custom properties\\n */\\nconst extractLightTokens = (rule) => {\\n  if (rule.selectorText !== \"body\") return \"\";\\n  const tokens = [];\\n  const style = rule.style;\\n\\n  for (let j = 0; j < style.length; j++) {\\n    const propertyName = style[j];\\n    if (propertyName.includes(\"--token\")) {\\n      const value = style.getPropertyValue(propertyName);\\n      tokens.push(`${propertyName}: ${value};`);\\n    }\\n  }\\n  return tokens.join(\" \");\\n};\\n\\n/**\\n * Extracts CSS custom properties (tokens) from dark theme styles.\\n * @param {CSSMediaRule} rule - The CSS media rule to extract tokens from\\n * @returns {string} CSS properties string for dark theme\\n */\\nconst extractDarkTokens = (rule) => {\\n  if (rule.conditionText !== \"(prefers-color-scheme: dark)\") return \"\";\\n  const cssTextIgnore = \"body:not([data-framer-theme])\";\\n\\n  if (!rule.cssText.includes(cssTextIgnore)) {\\n    return rule.cssRules[0].cssText\\n      .replace(\"body\", \"\")\\n      .replace(/\\\\s*{\\\\s*/, \"\")\\n      .replace(/\\\\s*}\\\\s*$/, \"\");\\n  }\\n  return \"\";\\n};\\n\\n/**\\n * Sets up theme styling for the page based on stored preferences or system settings.\\n * This function:\\n * 1. Cleans up invalid theme values\\n * 2. Gets the current theme preference\\n * 3. Handles system theme detection\\n * 4. Updates HTML/body attributes\\n * 5. Extracts and applies theme tokens\\n * 6. Creates or updates the theme style element\\n * @returns {void}\\n */\\nconst setPageThemeStylingIfThemeAvailable = () => {\\n  clearPotentiallyInvalidThemeValue();\\n  let themeToSet = getStoredValueOrDefault();\\n\\n  if (themeToSet === THEME.SYSTEM) {\\n    // Detect system theme\\n    const mediaQuery = window.matchMedia(\"(prefers-color-scheme: dark)\");\\n    themeToSet = mediaQuery.matches ? THEME.DARK : THEME.LIGHT;\\n  } else {\\n    localStorage.setItem(THEME_STORE_KEY, themeToSet);\\n  }\\n\\n  // Create attributes on html and body so that theme will be applied based on store\\n  const htmlElement = document.getElementsByTagName(\"html\")[0];\\n  const bodyElement = document.getElementsByTagName(\"body\")[0];\\n  htmlElement && htmlElement.setAttribute(THEME_TOGGLE_ATTRIBUTE, themeToSet);\\n  bodyElement && bodyElement.setAttribute(THEME_TOGGLE_ATTRIBUTE, themeToSet);\\n  let lightThemeTokens = [];\\n  let darkThemeTokens = [];\\n  for (let i = 0; i < document.styleSheets.length; i++) {\\n    const sheet = document.styleSheets[i];\\n    try {\\n      for (let rule of sheet.cssRules) {\\n        lightThemeTokens = extractLightTokens(rule) || lightThemeTokens;\\n        darkThemeTokens = extractDarkTokens(rule) || darkThemeTokens;\\n      }\\n    } catch (e) {\\n      console.warn(\"Cannot access stylesheet:\", sheet.href);\\n    }\\n  }\\n\\n  // Prevent multiple style elements from being created\\n  const existingStyleElement = document.getElementById(THEME_TOGGLE_ATTRIBUTE);\\n  if (existingStyleElement) {\\n    document.head.removeChild(existingStyleElement);\\n  }\\n\\n  const styleElement = document.createElement(\"style\");\\n  styleElement.id = THEME_TOGGLE_ATTRIBUTE;\\n  const customCssRule = `body[${THEME_TOGGLE_ATTRIBUTE}=\"${THEME.LIGHT}\"] {${lightThemeTokens}} body[${THEME_TOGGLE_ATTRIBUTE}=\"${THEME.DARK}\"] {${darkThemeTokens}} html[${THEME_TOGGLE_ATTRIBUTE}=\"${THEME.LIGHT}\"] { color-scheme: light; } html[${THEME_TOGGLE_ATTRIBUTE}=\"${THEME.DARK}\"] { color-scheme: dark; }`;\\n  styleElement.textContent = customCssRule;\\n  document.head.appendChild(styleElement);\\n};\\n\\n// Initialize theme styling when script loads\\nsetPageThemeStylingIfThemeAvailable();\\n</script>',customHTMLHeadEnd:'<style>\\n  /* 1. Define CSS Variables for Scrollbar Colors */\\n  :root {\\n    /* Main Scrollbar Colors - Light Theme (Defaults) */\\n    --main-scrollbar-thumb-color: #BBBBBB;\\n    --main-scrollbar-thumb-hover-color: #A3A3A3;\\n    --main-scrollbar-track-color: transparent;\\n\\n    /* Code Block (CodeMirror) Scrollbar Colors - Light Theme (Defaults) */\\n    --code-block-scrollbar-thumb-color: #BBBBBB;\\n    --code-block-scrollbar-thumb-hover-color: #A3A3A3;\\n    /* For light theme, you wanted transparent track for code block too */\\n    --code-block-scrollbar-track-color: transparent;\\n  }\\n\\n  /* Apply dark theme overrides when html tag has toggle-theme=\"dark\" */\\n  html[toggle-theme=\"dark\"] {\\n    /* Main Scrollbar Colors - Dark Theme */\\n    --main-scrollbar-thumb-color: #4D4D4D;\\n    --main-scrollbar-thumb-hover-color: #5C5C5C;\\n    /* --main-scrollbar-track-color: transparent; */ /* Stays transparent */\\n\\n    /* Code Block (CodeMirror) Scrollbar Colors - Dark Theme */\\n    --code-block-scrollbar-thumb-color: #5C5C5C;\\n    --code-block-scrollbar-thumb-hover-color: #7A7A7A;\\n    /* For dark theme, you wanted transparent track for code block too */\\n    --code-block-scrollbar-track-color: transparent;\\n  }\\n\\n  /* 2. --- Apply to MAIN PAGE SCROLLBAR (html, body) --- */\\n  html::-webkit-scrollbar-track,\\n  body::-webkit-scrollbar-track {\\n    background: var(--main-scrollbar-track-color) !important;\\n  }\\n\\n  html::-webkit-scrollbar-thumb,\\n  body::-webkit-scrollbar-thumb {\\n    background-color: var(--main-scrollbar-thumb-color) !important;\\n    border-radius: 8px !important;\\n  }\\n\\n  html::-webkit-scrollbar-thumb:hover,\\n  body::-webkit-scrollbar-thumb:hover {\\n    background-color: var(--main-scrollbar-thumb-hover-color) !important;\\n  }\\n\\n  html::-webkit-scrollbar-button,\\n  body::-webkit-scrollbar-button {\\n    display: none !important;\\n    width: 0 !important;\\n    height: 0 !important;\\n  }\\n\\n  html, body {\\n    scrollbar-width: auto !important; /* Default width */\\n    scrollbar-color: var(--main-scrollbar-thumb-color) var(--main-scrollbar-track-color) !important;\\n  }\\n\\n  /* 3. --- Apply to CodeMirror SCROLLER inside Framer\\'s Code Block --- */\\n  /* Targeting the identified .cm-scroller class */\\n  .cm-scroller::-webkit-scrollbar {\\n  width: 12px !important;  /* Thickness for a vertical scrollbar if it appears */\\n  height: 12px !important; /* Thickness for the horizontal scrollbar */\\n  }\\n  \\n  .cm-scroller::-webkit-scrollbar-track {\\n    background: var(--code-block-scrollbar-track-color) !important;\\n  }\\n\\n  .cm-scroller::-webkit-scrollbar-thumb {\\n    background-color: var(--code-block-scrollbar-thumb-color) !important;\\n    border-radius: 4px !important; /* Often smaller radius for inner elements */\\n  }\\n\\n  .cm-scroller::-webkit-scrollbar-thumb:hover {\\n    background-color: var(--code-block-scrollbar-thumb-hover-color) !important;\\n  }\\n\\n  .cm-scroller::-webkit-scrollbar-button {\\n    display: none !important;\\n    width: 0 !important;\\n    height: 0 !important;\\n  }\\n\\n  /* Firefox styling for .cm-scroller */\\n  .cm-scroller {\\n    scrollbar-width: auto !important; /* \\'thin\\' is often preferred for code blocks */\\n    scrollbar-color: var(--code-block-scrollbar-thumb-color) var(--code-block-scrollbar-track-color) !important;\\n  }\\n</style>',customHTMLHeadStart:'<meta name=\"author\" content=\"Ruslan Kuzyshyn\">\\n<meta name=\"creator\" content=\"Ruslan Kuzyshyn\">\\n<meta name=\"publisher\" content=\"Ruslan Kuzyshyn\">\\n<link rel=\"author\" href=\"https://ruslankuzyshyn.me\">\\n\\n<link href=\"https://github.com/ruslankuzyshyn\" rel=\"me\">\\n<link href=\"https://www.behance.net/_ozone_\" rel=\"me\">\\n<link href=\"https://www.linkedin.com/in/ruslan-kuzyshyn/\" rel=\"me\">\\n<link href=\"https://www.instagram.com/kuzyshyn_ruslan/\" rel=\"me\">',description:\"Product designer with 3 years of experience focused on building UX/UI for consumer mobile applications and website development using no-code tools.\",favicon:\"https://framerusercontent.com/assets/wvTnH2sHq8FzEzdgqGqFz9yo.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/JnvK2JLMZEPWnzQYhjxEpnLit7g.png\",title:\"Ruslan Kuzyshyn | Product & UX/UI Designer\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"2DACA,SAAwB,EAAS,EAAO,EAAa,CAAC,MAAM,CAAC,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAA0+J,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAAgwG,oBAAoB;;;;;;;;mEAAuc,YAAY,sJAAsJ,QAAQ,oEAAoE,OAAO,0BAA0B,YAAY,uEAAuE,MAAM,6CAA6C"}