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SAMhC/B,EAAAA,EAAI,CAACiC,GAAI,EAAGF,UAAU,U,SAAU,od,SAUhCH,EAAAA,EAAO,CAACC,GAAG,KAAKI,GAAI,EAAG9B,SAAU,GAAI4B,UAAU,O,SAAO,gB,SAGtD/B,EAAAA,EAAI,CAACiC,GAAI,EAAGF,UAAU,U,SAAU,6lB,SAYhC/B,EAAAA,EAAI,CAACiC,GAAI,EAAGF,UAAU,U,SAAU,+T,SAOhC/B,EAAAA,EAAI,CAACiC,GAAI,EAAGF,UAAU,U,SAAU,6vB,SAgBhCH,EAAAA,EAAO,CAACC,GAAG,KAAKI,GAAI,GAAI9B,SAAU,GAAI4B,UAAU,S,SAAS,a,SAGzDH,EAAAA,EAAO,CAACC,GAAG,KAAKI,GAAI,EAAG9B,SAAU,GAAI4B,UAAU,O,SAAO,0B,SAGtDH,EAAAA,EAAO,CAACC,GAAG,KAAKI,GAAI,EAAG9B,SAAU,GAAI4B,UAAU,O,SAAO,mB,SAGtDH,EAAAA,EAAO,CAACC,GAAG,KAAKI,GAAI,EAAG9B,SAAU,GAAI4B,UAAU,O,SAAO,W,SAGtD/B,EAAAA,EAAI,CAACiC,GAAI,EAAGF,UAAU,U,SAAU,qY,SAShCH,EAAAA,EAAO,CAACC,GAAG,KAAKI,GAAI,EAAG9B,SAAU,GAAI4B,UAAU,O,SAAO,gB,SAGtD/B,EAAAA,EAAI,CAACiC,GAAI,EAAGF,UAAU,U,SAAU,gV,SAQhC/B,EAAAA,EAAI,CAACiC,GAAI,EAAGF,UAAU,U,SAAU,osB,SAchC/B,EAAAA,EAAI,CAACiC,GAAI,EAAGF,UAAU,U,SAAU,gmB","sources":["webpack://_N_E/?6914","webpack://_N_E/./src/components/atoms/image/index.tsx","webpack://_N_E/./public/images/logo.svg","webpack://_N_E/./src/components/molecules/header/index.tsx","webpack://_N_E/./src/components/molecules/card/index.tsx","webpack://_N_E/./src/pages/temperature/fahrenheit-to-celsius/index.tsx"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/temperature/fahrenheit-to-celsius\",\n function () {\n return require(\"private-next-pages/temperature/fahrenheit-to-celsius/index.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/temperature/fahrenheit-to-celsius\"])\n });\n }\n ","import Image, { ImageLoaderProps, ImageProps } from 'next/image';\n\nconst cloudflareImageLoader = ({ src, width, quality }: ImageLoaderProps) => {\n const imgQuality = quality || 75;\n return `https://images.viniciusghellere.workers.dev?width=${width}&quality=${imgQuality}&image=https://www.universalconverter.org${src}`;\n};\n\nconst Img = ({ alt, ...props }: ImageProps) => {\n if (process.env.NODE_ENV === 'development') {\n return ;\n }\n return ;\n};\n\nexport default Img;\n","export default {\"src\":\"/_next/static/media/logo.aced347d.svg\",\"height\":181,\"width\":181};","import { Box, Text, Link, Flex } from '@chakra-ui/react';\n\nimport Img from 'components/atoms/image';\nimport LogoImage from '@public/images/logo.svg';\n\nconst Header = () => (\n \n \n \n \n \n \n \n \n Universal Converter\n \n \n \n \n \n);\n\nexport default Header;\n","import { Box, BoxProps } from '@chakra-ui/react';\n\nconst Card = ({ children, ...props }: BoxProps) => (\n \n {children}\n \n);\n\nexport default Card;\n","import { useState, useEffect } from 'react';\nimport {\n Heading,\n Container,\n Flex,\n Text,\n Divider,\n NumberInput,\n NumberInputField,\n NumberInputStepper,\n NumberIncrementStepper,\n NumberDecrementStepper,\n} from '@chakra-ui/react';\nimport type { NextPage } from 'next';\nimport { NextSeo } from 'next-seo';\n\nimport Card from 'components/molecules/card';\nimport Header from 'components/molecules/header';\n\nconst FahrenheitToCelsius: NextPage = () => {\n const [value, setValue] = useState('');\n const [convertedValue, setConvertedValue] = useState('');\n\n const convertValue = (originalValue: string) => {\n const valueFloat = parseFloat(originalValue);\n const finalValue = (valueFloat - 32) / 1.8;\n\n return finalValue.toFixed(2);\n };\n\n useEffect(() => {\n setConvertedValue(convertValue(value));\n }, [value]);\n\n return (\n <>\n \n \n \n \n \n \n \n Fahrenheit to Celsius\n \n setValue(valueString)}\n >\n \n \n \n \n \n \n {convertedValue !== 'NaN' && (\n \n {value} ºF = {convertedValue} ºC\n \n )}\n \n \n \n \n \n Fahrenheit to Celsius formula\n \n \n \n ºC =\n \n \n \n ºF - 32\n \n \n \n 1.8\n \n \n \n \n \n \n \n \n More Information\n \n \n \n Fahrenheit\n \n \n Unit of: Temperature\n \n \n Symbol: ºF\n \n \n Usage\n \n \n The Fahrenheit scale was the primary temperature standard for\n climatic, industrial and medical purposes in English-speaking\n countries until the 1960s. In the late 1960s and 1970s, the\n Celsius scale replaced Fahrenheit in almost all of those\n countries—with the notable exception of the United States and\n in certain cases, the United Kingdom—typically during their\n general metrication process.\n \n \n Fahrenheit is used in the United States, its territories and\n associated states (all served by the U.S. National Weather\n Service), as well as the Cayman Islands and Liberia for\n everyday applications. For example, U.S. weather forecasts,\n food cooking, and freezing temperatures are typically given in\n degrees Fahrenheit. Scientists, including meteorologists, use\n degrees Celsius or kelvin in all countries.\n \n \n Early in the 20th century, Halsey and Dale suggested that\n reasons for resistance to use the centigrade (now Celsius)\n system in the U.S. included the larger size of each degree\n Celsius and the lower zero point in the Fahrenheit system.\n \n \n Canada has passed legislation favoring the International\n System of Units, while also maintaining legal definitions for\n traditional Canadian imperial units. Canadian weather reports\n are conveyed using degrees Celsius with occasional reference\n to Fahrenheit especially for cross-border broadcasts.\n Fahrenheit is still used on virtually all Canadian ovens.\n Thermometers, both digital and analog, sold in Canada usually\n employ both the Celsius and Fahrenheit scales.\n \n \n Definition\n \n \n On the Fahrenheit scale, the melting point of water is 32°F\n and the boiling point is 212°F (at standard atmospheric\n pressure). This puts the boiling and freezing points of water\n 180 degrees apart. Therefore, a degree on the Fahrenheit scale\n is 1⁄180 of the interval between the freezing point and the\n boiling point. On the Celsius scale, the freezing and boiling\n points of water are 100 degrees apart. A temperature interval\n of 1 °F is equal to an interval of 5⁄9 degrees Celsius. The\n Fahrenheit and Celsius scales intersect at −40° (i.e. −40 °F =\n −40 °C).\n \n \n Absolute zero is −273.15 °C or −459.67 °F. The Rankine\n temperature scale uses degree intervals of the same size as\n those of the Fahrenheit scale, except that absolute zero is 0\n °R — the same way that the Kelvin temperature scale matches\n the Celsius scale, except that absolute zero is 0 K.\n \n \n The combination of degree symbol (°) followed by an uppercase\n letter F is the conventional symbol for the Fahrenheit\n temperature scale. A number followed by this symbol (and\n separated from it with a space) denotes a specific temperature\n point (e.g. "Gallium melts at 85.5763 °F"), a\n difference between temperatures (e.g. "The output of the\n heat exchanger experiences an increase of 72 °F") or an\n uncertainty in temperature (e.g. "Our standard\n uncertainty is ±5 °F"). The symbol for the Celsius scale\n also uses the degree symbol (°C), while the symbol for the\n Kelvin scale is just an uppercase letter K. The numerical\n value of a temperature difference or temperature interval is\n the same when expressed in either degrees Celsius or in\n kelvin.\n \n \n Celsius\n \n \n Unit of: Temperature\n \n \n Symbol: ºC\n \n \n Usage\n \n \n Most countries worldwide – including non-metric Liberia and\n Burma – use Celsius as their official temperature scale. Only\n a few countries use Fahrenheit as their official scale: the\n United States, Belize, Palau, the Bahamas and the Cayman\n Islands. Fahrenheit is still sometimes used in Canada,\n although Celsius is more common and is the official Canadian\n temperature scale.\n \n \n Definition\n \n \n Since 1743 the Celsius scale has been based on 0 °C for the\n freezing point of water and 100 °C for the boiling point of\n water at 1 atm pressure. Prior to 1743 the values were\n reversed (i.e. the boiling point was 0 degrees and the\n freezing point was 100 degrees). The 1743 scale reversal was\n proposed by Jean-Pierre Christin.\n \n \n By international agreement, between 1954 and 2019 the unit\n degree Celsius and the Celsius scale were defined by absolute\n zero and the triple point of Vienna Standard Mean Ocean Water\n (VSMOW), a precisely defined water standard. This definition\n also precisely related the Celsius scale to the Kelvin scale,\n which defines the SI base unit of thermodynamic temperature\n with symbol K. Absolute zero, the lowest temperature possible,\n is defined as being exactly 0 K and −273.15 °C. Until 19 May\n 2019, the temperature of the triple point of water was defined\n as exactly 273.16 K (0.01 °C). This means that a temperature\n difference of one degree Celsius and that of one kelvin are\n exactly the same.\n \n \n On 20 May 2019, the kelvin was redefined so that its value is\n now determined by the definition of the Boltzmann constant\n rather than being defined by the triple point of VSMOW. This\n means that the triple point is now a measured value, not a\n defined value. The newly-defined exact value of the Boltzmann\n constant was selected so that the measured value of the VSMOW\n triple point is exactly the same as the older defined value to\n within the limits of accuracy of contemporary metrology. The\n degree Celsius remains exactly equal to the kelvin, and 0 K\n remains exactly −273.15 °C.\n \n \n \n \n \n \n >\n );\n};\n\nexport default FahrenheitToCelsius;\n"],"names":["window","__NEXT_P","push","cloudflareImageLoader","width","src","imgQuality","quality","alt","props","Image","loader","Box","bgColor","w","maxW","p","Flex","justifyContent","alignItems","Link","href","h","Img","LogoImage","height","layout","Text","ml","lineHeight","fontSize","fontWeight","children","name","borderRadius","borderColor","borderStyle","boxShadow","useState","value","setValue","convertedValue","setConvertedValue","useEffect","parseFloat","toFixed","NextSeo","title","description","canonical","Header","Container","flexDir","py","Card","Heading","as","color","textAlign","NumberInput","mt","onChange","valueString","NumberInputField","placeholder","NumberInputStepper","NumberIncrementStepper","NumberDecrementStepper","opacity","mr","Divider"],"sourceRoot":""}