{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/rPCEKwWvAWOKS6ZiH8Qh/RHTXjdLtrovHiJ0VB4It/Gn1IMfRfq.js"],
  "sourcesContent": ["// Generated by Framer (df7882f)\nimport siteMetadata from\"https://framerusercontent.com/modules/v88rCD4j07eHS8k0NsI5/X2DpG7R4e4fX9QQYv126/siteMetadata.js\";export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"7ty33e\",mediaQuery:\"(min-width: 1440px)\"},{hash:\"1i8ikp8\",mediaQuery:\"(min-width: 1200px) and (max-width: 1439px)\"},{hash:\"1nwnqwj\",mediaQuery:\"(min-width: 810px) and (max-width: 1199px)\"},{hash:\"147jj44\",mediaQuery:\"(max-width: 809px)\"}],customHTMLBodyEnd:\"<script type=\\\"module\\\">\\nimport * as THREE from 'three';\\nimport { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';\\n\\nconst ASSETS_BASE_URL = 'https://assets.mtprz.com/rampant';\\nconst MODEL_GLB = ASSETS_BASE_URL + '/RING_002.glb';\\nconst TEXTURES = {\\n  RING_NORMAL: ASSETS_BASE_URL + '/RING_NORMAL.png',\\n  R_AO_G_ROUGHNESS_B_EMPTY: ASSETS_BASE_URL + '/R_AO_G_ROUGHNESS_B_EMPTY.png',\\n  ENV_MAP: ASSETS_BASE_URL + '/envmap_cold.png'\\n};\\n\\nclass ThreeScene {\\n  constructor(mount) {\\n    this.mount = mount;\\n    this.enableMouse = true;\\n    this.envMapRotation = new THREE.Euler(1.0, -3.1, -1.1);\\n    this.init();\\n  }\\n\\n  init() {\\n    this.scene = new THREE.Scene();\\n    this.camera = new THREE.PerspectiveCamera(\\n      20,\\n      this.mount.clientWidth / this.mount.clientHeight,\\n      0.1,\\n      1000\\n    );\\n    \\n    this.camera.position.set(0, 7.23, 4);\\n    this.camera.lookAt(0, 0, -0.5);\\n\\n    this.renderer = new THREE.WebGLRenderer({ \\n      canvas: this.mount,\\n      antialias: true, \\n      alpha: true \\n    });\\n    this.renderer.setSize(this.mount.clientWidth, this.mount.clientHeight);\\n    this.renderer.setPixelRatio(window.devicePixelRatio);\\n    this.renderer.toneMapping = THREE.LinearToneMapping;\\n\\n    this.loadingManager = new THREE.LoadingManager();\\n    this.loadingManager.onLoad = () => {\\n      if (this.model) this.model.visible = true;\\n    };\\n\\n    this.textureLoader = new THREE.TextureLoader(this.loadingManager);\\n    this.scene.backgroundIntensity = 0;\\n\\n    this.envMap = this.textureLoader.load(TEXTURES.ENV_MAP, (texture) => {\\n      texture.mapping = THREE.EquirectangularReflectionMapping;\\n      texture.colorSpace = THREE.SRGBColorSpace;\\n    });\\n\\n    const aoRoughnessMap = this.textureLoader.load(TEXTURES.R_AO_G_ROUGHNESS_B_EMPTY);\\n    const normalMap = this.textureLoader.load(TEXTURES.RING_NORMAL);\\n\\n    aoRoughnessMap.colorSpace = THREE.NoColorSpace;\\n    normalMap.colorSpace = THREE.NoColorSpace;\\n    aoRoughnessMap.flipY = false;\\n    normalMap.flipY = false;\\n\\n    const material = new THREE.MeshStandardMaterial({\\n      aoMap: aoRoughnessMap,\\n      normalMap,\\n      roughnessMap: aoRoughnessMap,\\n      color: '#E5BC6C',\\n      envMap: this.envMap,\\n      metalness: 1,\\n      roughness: 0.7,\\n      aoMapIntensity: 1.5,\\n      envMapIntensity: 1,\\n      normalMapType: THREE.ObjectSpaceNormalMap,\\n      envMapRotation: this.envMapRotation\\n    });\\n\\n    const gltfLoader = new GLTFLoader(this.loadingManager);\\n    gltfLoader.load(MODEL_GLB, (gltf) => {\\n      const model = gltf.scene;\\n      model.traverse((child) => {\\n        if (child.isMesh) {\\n          child.material = material;\\n        }\\n      });\\n      model.visible = false;\\n      this.model = model;\\n      this.scene.add(model);\\n    });\\n\\n    window.addEventListener('resize', this.onWindowResize.bind(this));\\n    this.updateMouseEvents();\\n    window\\n      .matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`)\\n      .addEventListener('change', this.onDPRChange.bind(this));\\n\\n    this.animate();\\n  }\\n\\n  animate() {\\n    this.animationId = requestAnimationFrame(this.animate.bind(this));\\n    this.renderer.render(this.scene, this.camera);\\n  }\\n\\n  onWindowResize() {\\n    const { clientWidth, clientHeight } = this.mount;\\n    this.camera.aspect = clientWidth / clientHeight;\\n    this.camera.updateProjectionMatrix();\\n    this.renderer.setSize(clientWidth, clientHeight);\\n  }\\n\\n  onMouseMove(event) {\\n    const { clientX, clientY } = event;\\n    const { innerWidth, innerHeight } = window;\\n    const rotationX = ((clientY / innerHeight) * 2 - 1) * -1;\\n    const rotationY = (clientX / innerWidth) * 2 - 1;\\n    this.scene.rotation.x = -rotationX * (Math.PI / 24);\\n    this.scene.rotation.z = -rotationY * (Math.PI / 24);\\n  }\\n\\n  updateMouseEvents() {\\n    if (this.enableMouse) {\\n      window.addEventListener('mousemove', this.onMouseMove.bind(this));\\n    } else {\\n      this.scene.rotation.x = 0;\\n      this.scene.rotation.z = 0;\\n      window.removeEventListener('mousemove', this.onMouseMove.bind(this));\\n    }\\n  }\\n\\n  onDPRChange() {\\n    this.renderer.setPixelRatio(window.devicePixelRatio);\\n    this.renderer.setSize(this.mount.clientWidth, this.mount.clientHeight);\\n  }\\n\\n  cleanup() {\\n    if (this.animationId) {\\n      cancelAnimationFrame(this.animationId);\\n    }\\n    window.removeEventListener('resize', this.onWindowResize.bind(this));\\n    window.removeEventListener('mousemove', this.onMouseMove.bind(this));\\n    window\\n      .matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`)\\n      .removeEventListener('change', this.onDPRChange.bind(this));\\n  }\\n}\\n\\ndocument.addEventListener('DOMContentLoaded', () => {\\n  const mount = document.querySelector('#three-target');\\n  if (!mount) return;\\n  new ThreeScene(mount);\\n});\\n</script> \",customHTMLHeadStart:'<script type=\"importmap\">\\n  {\\n    \"imports\": {\\n      \"three\": \"https://cdn.jsdelivr.net/npm/three@0.167.1/build/three.module.js\",\\n      \"three/addons/\": \"https://cdn.jsdelivr.net/npm/three@0.167.1/examples/jsm/\"\\n    }\\n  }\\n</script>',description:siteMetadata(params,activeLocale).description,elements:{},robots:\"max-image-preview:large\",serializationId:\"framer-oww9G\",title:siteMetadata(params,activeLocale).title||\"Info V1s2 V1\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],
  "mappings": "yCACyI,SAARA,EAA0BC,EAAOC,EAAa,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,KAAK,SAAS,WAAW,qBAAqB,EAAE,CAAC,KAAK,UAAU,WAAW,6CAA6C,EAAE,CAAC,KAAK,UAAU,WAAW,4CAA4C,EAAE,CAAC,KAAK,UAAU,WAAW,oBAAoB,CAAC,EAAE,kBAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA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