Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

chemicaltools

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chemicaltools - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

2

dist/main.js

@@ -1,1 +0,1 @@

!function(n){var i={};function e(a){if(i[a])return i[a].exports;var r=i[a]={i:a,l:!1,exports:{}};return n[a].call(r.exports,r,r.exports,e),r.l=!0,r.exports}e.m=n,e.c=i,e.d=function(n,i,a){e.o(n,i)||Object.defineProperty(n,i,{enumerable:!0,get:a})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,i){if(1&i&&(n=e(n)),8&i)return n;if(4&i&&"object"==typeof n&&n&&n.__esModule)return n;var a=Object.create(null);if(e.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:n}),2&i&&"string"!=typeof n)for(var r in n)e.d(a,r,function(i){return n[i]}.bind(null,r));return a},e.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(i,"a",i),i},e.o=function(n,i){return Object.prototype.hasOwnProperty.call(n,i)},e.p="",e(e.s=1)}([function(n,i){var e="https://i.loli.net/2018/03/31/5abf7";n.exports=[{number:"1",name:"氢",symbol:"H",mass:"1.008",iupac:"Hydrogen",origin:"Composed of the Greek elements hydro-and -gen meaning water-forming",pinyin:"qing",url:e+"8f72c517.png"},{number:"2",name:"氦",symbol:"He",mass:"4.003",iupac:"Helium",origin:"The Greek helios, sun",pinyin:"hai",url:e+"8fb29b3e.png"},{number:"3",name:"锂",symbol:"Li",mass:"6.941",iupac:"Lithium",origin:"The Greek lithos, stone",pinyin:"li",url:e+"8ff61f6d.png"},{number:"4",name:"铍",symbol:"Be",mass:"9.012",iupac:"Beryllium",origin:"Beryl, a mineral",pinyin:"pi",url:e+"9033b661.png"},{number:"5",name:"硼",symbol:"B",mass:"10.81",iupac:"Boron",origin:"Borax, a mineral",pinyin:"peng",url:e+"90632b69.png"},{number:"6",name:"碳",symbol:"C",mass:"12.01",iupac:"Carbon",origin:"The Latin carbo, coal",pinyin:"tan",url:e+"90a5d246.png"},{number:"7",name:"氮",symbol:"N",mass:"14.01",iupac:"Nitrogen",origin:"The Greek nitron and -gen meaning niter-forming",pinyin:"dan",url:e+"90f6de41.png"},{number:"8",name:"氧",symbol:"O",mass:"16",iupac:"Oxygen",origin:"From the Greek oxy-, both sharp and acid, and -gen, meaning acid-forming",pinyin:"yang",url:e+"91367638.png"},{number:"9",name:"氟",symbol:"F",mass:"19",iupac:"Fluorine",origin:"The Latin fluere, to flow",pinyin:"fu",url:e+"91b56c50.png"},{number:"10",name:"氖",symbol:"Ne",mass:"20.18",iupac:"Neon",origin:"The Greek neos, meaning new",pinyin:"nai",url:e+"9201479d.png"},{number:"11",name:"钠",symbol:"Na",mass:"22.99",iupac:"Sodium",origin:"The English word soda (natrium in Latin)",pinyin:"na",url:e+"9262c0c0.png"},{number:"12",name:"镁",symbol:"Mg",mass:"24.31",iupac:"Magnesium",origin:"Magnesia, a district of Eastern Thessalyin Greece",pinyin:"mei",url:e+"92b3a942.png"},{number:"13",name:"铝",symbol:"Al",mass:"26.98",iupac:"Aluminium",origin:"From alumina, a compound (originally aluminum)",pinyin:"lv",url:e+"92fdb969.png"},{number:"14",name:"硅",symbol:"Si",mass:"28.09",iupac:"Silicon",origin:"From the Latin silex, flint (originally silicium)",pinyin:"gui",url:e+"93f68260.png"},{number:"15",name:"磷",symbol:"P",mass:"30.98",iupac:"Phosphorus",origin:"The Greek phoosphoros, carrying light",pinyin:"lin",url:e+"943de158.png"},{number:"16",name:"硫",symbol:"S",mass:"32.07",iupac:"Sulfur",origin:"The Latin sulphur, fire and brimstone",pinyin:"liu",url:e+"948aa7db.png"},{number:"17",name:"氯",symbol:"Cl",mass:"35.45",iupac:"Chlorine",origin:"The Greek chloros, greenish yellow",pinyin:"lv",url:e+"94c1190c.png"},{number:"18",name:"氩",symbol:"Ar",mass:"39.95",iupac:"Argon",origin:"The Greek argos, idle",pinyin:"ya",url:e+"94f59742.png"},{number:"19",name:"钾",symbol:"K",mass:"39.1",iupac:"Potassium",origin:"New Latin potassa, potash (kalium in Latin)",pinyin:"jia",url:e+"955eb159.png"},{number:"20",name:"钙",symbol:"Ca",mass:"40.08",iupac:"Calcium",origin:"The Latin calx, lime",pinyin:"gai",url:e+"9677caef.png"},{number:"21",name:"钪",symbol:"Sc",mass:"44.96",iupac:"Scandium",origin:"Scandia, the Latin name for Scandinavia",pinyin:"kang",url:e+"96b46bc9.png"},{number:"22",name:"钛",symbol:"Ti",mass:"47.87",iupac:"Titanium",origin:"Titans, the sons of the Earth goddess of Greek mythology",pinyin:"tai",url:e+"9707833d.png"},{number:"23",name:"钒",symbol:"V",mass:"50.94",iupac:"Vanadium",origin:"Vanadis, an Old Norse name for the Scandinavian goddess Freyja",pinyin:"fan",url:e+"9747c418.png"},{number:"24",name:"铬",symbol:"Cr",mass:"52",iupac:"Chromium",origin:"The Greek chroma, color",pinyin:"ge",url:e+"9781844b.png"},{number:"25",name:"锰",symbol:"Mn",mass:"54.94",iupac:"Manganese",origin:"Corrupted from magnesia negra, see Magnesium",pinyin:"meng",url:e+"97c8c1a1.png"},{number:"26",name:"铁",symbol:"Fe",mass:"55.85",iupac:"Iron",origin:"English word (ferrum in Latin)",pinyin:"tie",url:e+"981b875f.png"},{number:"27",name:"钴",symbol:"Co",mass:"58.93",iupac:"Cobalt",origin:"The German word Kobold, goblin",pinyin:"gu",url:e+"985b8929.png"},{number:"28",name:"镍",symbol:"Ni",mass:"58.69",iupac:"Nickel",origin:"From Swedish kopparnickel, containing the German word Nickel, goblin",pinyin:"nie",url:e+"989ec197.png"},{number:"29",name:"铜",symbol:"Cu",mass:"63.55",iupac:"Copper",origin:"English word (Latin cuprum)",pinyin:"tong",url:e+"98f3125a.png"},{number:"30",name:"锌",symbol:"Zn",mass:"65.38",iupac:"Zinc",origin:"The German Zink",pinyin:"xin",url:e+"994618db.png"},{number:"31",name:"镓",symbol:"Ga",mass:"69.72",iupac:"Gallium",origin:"Gallia, the Latin name for France",pinyin:"jia",url:e+"998dc937.png"},{number:"32",name:"锗",symbol:"Ge",mass:"72.64",iupac:"Germanium",origin:"Germania, the Latin name for Germany",pinyin:"zhe",url:e+"99f2c940.png"},{number:"33",name:"砷",symbol:"As",mass:"74.92",iupac:"Arsenic",origin:"English word (Latin arsenicum)",pinyin:"shen",url:e+"9a67057f.png"},{number:"34",name:"硒",symbol:"Se",mass:"78.97",iupac:"Selenium",origin:"The Greek selene, moon",pinyin:"xi",url:e+"9ac88218.png"},{number:"35",name:"溴",symbol:"Br",mass:"79.9",iupac:"Bromine",origin:"The Greek bromos, stench",pinyin:"xiu",url:e+"9b476a12.png"},{number:"36",name:"氪",symbol:"Kr",mass:"83.8",iupac:"Krypton",origin:"The Greek kryptos, hidden",pinyin:"ke",url:e+"9b89efff.png"},{number:"37",name:"铷",symbol:"Rb",mass:"85.47",iupac:"Rubidium",origin:"The Latin rubidus, deep red",pinyin:"ru",url:e+"9bce65d1.png"},{number:"38",name:"锶",symbol:"Sr",mass:"87.62",iupac:"Strontium",origin:"Strontian, a small town in Scotland",pinyin:"si",url:e+"9c2288fa.png"},{number:"39",name:"钇",symbol:"Y",mass:"88.91",iupac:"Yttrium",origin:"Ytterby, Sweden",pinyin:"yi",url:e+"9c7d69bf.png"},{number:"40",name:"锆",symbol:"Zr",mass:"91.22",iupac:"Zirconium",origin:"Persian Zargun, gold-colored; German Zirkoon, jargoon",pinyin:"gao",url:e+"9cdaddad.png"},{number:"41",name:"铌",symbol:"Nb",mass:"92.91",iupac:"Niobium",origin:"Niobe, daughter of king Tantalus from Greek mythology",pinyin:"ni",url:e+"9d3444c8.png"},{number:"42",name:"钼",symbol:"Mo",mass:"95.95",iupac:"Molybdenum",origin:"The Greek molybdos meaning lead",pinyin:"mu",url:e+"9d9864d1.png"},{number:"43",name:"锝",symbol:"Tc",mass:"98.91",iupac:"Technetium",origin:"The Greek tekhnètos meaning artificial",pinyin:"de",url:e+"9e323d60.png"},{number:"44",name:"钌",symbol:"Ru",mass:"101.1",iupac:"Ruthenium",origin:"Ruthenia, the New Latin name for Russia",pinyin:"liao",url:e+"9e898712.png"},{number:"45",name:"铑",symbol:"Rh",mass:"102.9",iupac:"Rhodium",origin:"The Greek rhodos, meaning rose coloured",pinyin:"lao",url:e+"9ee94dd7.png"},{number:"46",name:"钯",symbol:"Pd",mass:"106.4",iupac:"Palladium",origin:"The then recently discovered asteroid Pallas, considered a planet at the time",pinyin:"ba",url:e+"9f42ad2a.png"},{number:"47",name:"银",symbol:"Ag",mass:"107.9",iupac:"Silver",origin:"English word (argentum in Latin)",pinyin:"yin",url:e+"9f99fb02.png"},{number:"48",name:"镉",symbol:"Cd",mass:"112.4",iupac:"Cadmium",origin:"The New Latin cadmia, from King Kadmos",pinyin:"ge",url:e+"9fe90314.png"},{number:"49",name:"铟",symbol:"In",mass:"114.8",iupac:"Indium",origin:"Indigo",pinyin:"yin",url:e+"a0489e3b.png"},{number:"50",name:"锡",symbol:"Sn",mass:"118.7",iupac:"Tin",origin:"English word (stannum in Latin)",pinyin:"xi",url:e+"a0a9fe69.png"},{number:"51",name:"锑",symbol:"Sb",mass:"121.8",iupac:"Antimony",origin:"Composed from the Greek anti, against, and monos, alone (stibium in Latin)",pinyin:"ti",url:e+"a1096c2f.png"},{number:"52",name:"碲",symbol:"Te",mass:"127.6",iupac:"Tellurium",origin:"Latin tellus, earth",pinyin:"di",url:e+"a15d89df.png"},{number:"53",name:"碘",symbol:"I",mass:"126.9",iupac:"Iodine",origin:"French iode (after the Greek ioeides, violet)",pinyin:"dian",url:e+"a1be4e4f.png"},{number:"54",name:"氙",symbol:"Xe",mass:"131.3",iupac:"Xenon",origin:"The Greek xenos, strange",pinyin:"xian",url:e+"a2170cef.png"},{number:"55",name:"铯",symbol:"Cs",mass:"132.9",iupac:"Caesium",origin:"The Latin caesius, sky blue",pinyin:"se",url:e+"a294fc17.png"},{number:"56",name:"钡",symbol:"Ba",mass:"137.3",iupac:"Barium",origin:"The Greek barys, heavy",pinyin:"bei",url:e+"a2f91564.png"},{number:"57",name:"镧",symbol:"La",mass:"138.9",iupac:"Lanthanum",origin:"The Greek lanthanein, to lie hidden",pinyin:"lan",url:e+"a37b892c.png"},{number:"58",name:"铈",symbol:"Ce",mass:"140.1",iupac:"Cerium",origin:"The then recently discovered asteroid Ceres, considered a planet at the time",pinyin:"shi",url:e+"a3f4e54a.png"},{number:"59",name:"镨",symbol:"Pr",mass:"140.9",iupac:"Praseodymium",origin:"The Greek praseios didymos meaning green twin",pinyin:"pu",url:e+"a46ef559.png"},{number:"60",name:"钕",symbol:"Nd",mass:"144.2",iupac:"Neodymium",origin:"The Greek neos didymos meaning new twin",pinyin:"nv",url:e+"a4e1f6a8.png"},{number:"61",name:"钷",symbol:"Pm",mass:"144.9",iupac:"Promethium",origin:"Prometheus of Greek mythology who stole fire from the Gods and gave it to humans",pinyin:"po",url:e+"a5723f68.png"},{number:"62",name:"钐",symbol:"Sm",mass:"150.4",iupac:"Samarium",origin:"Samarskite, the name of the mineral from which it was first isolated",pinyin:"shan",url:e+"a614b52c.png"},{number:"63",name:"铕",symbol:"Eu",mass:"152",iupac:"Europium",origin:"Europe",pinyin:"you",url:e+"a69cf979.png"},{number:"64",name:"钆",symbol:"Gd",mass:"157.3",iupac:"Gadolinium",origin:"Johan Gadolin, chemist, physicist and mineralogist",pinyin:"ga",url:e+"a7097f4e.png"},{number:"65",name:"铽",symbol:"Tb",mass:"158.9",iupac:"Terbium",origin:"Ytterby, Sweden",pinyin:"te",url:e+"a77eab76.png"},{number:"66",name:"镝",symbol:"Dy",mass:"162.5",iupac:"Dysprosium",origin:"The Greek dysprositos, hard to get",pinyin:"di",url:e+"a7fb8f8a.png"},{number:"67",name:"钬",symbol:"Ho",mass:"164.9",iupac:"Holmium",origin:"Holmia, the New Latin name for Stockholm",pinyin:"huo",url:e+"a8cd6e7d.png"},{number:"68",name:"铒",symbol:"Er",mass:"167.3",iupac:"Erbium",origin:"Ytterby, Sweden",pinyin:"er",url:e+"a8ddbe89.png"},{number:"69",name:"铥",symbol:"Tm",mass:"168.9",iupac:"Thulium",origin:"Thule, the ancient name for Scandinavia",pinyin:"diu",url:e+"a8ea3d71.png"},{number:"70",name:"镱",symbol:"Yb",mass:"173.1",iupac:"Ytterbium",origin:"Ytterby, Sweden",pinyin:"yi",url:e+"a8f55230.png"},{number:"71",name:"镥",symbol:"Lu",mass:"175",iupac:"Lutetium",origin:"Lutetia, the Latin name for Paris",pinyin:"lu",url:e+"a90121e3.png"},{number:"72",name:"铪",symbol:"Hf",mass:"178.5",iupac:"Hafnium",origin:"Hafnia, the New Latin name for Copenhagen",pinyin:"ha",url:e+"a90c8da6.png"},{number:"73",name:"钽",symbol:"Ta",mass:"181",iupac:"Tantalum",origin:"King Tantalus, father of Niobe from Greek mythology",pinyin:"tan",url:e+"a9242b2e.png"},{number:"74",name:"钨",symbol:"W",mass:"183.8",iupac:"Tungsten",origin:"The Swedish tung sten, heavy stone (W is wolfram, the old name of the tungsten mineral wolframite)",pinyin:"wu",url:e+"a92de9ca.png"},{number:"75",name:"铼",symbol:"Re",mass:"186.2",iupac:"Rhenium",origin:"Rhenus, the Latin name for the river Rhine",pinyin:"lai",url:e+"a93849a1.png"},{number:"76",name:"锇",symbol:"Os",mass:"190.2",iupac:"Osmium",origin:"The Greek osmè, meaning smell",pinyin:"e",url:e+"a944e02a.png"},{number:"77",name:"铱",symbol:"Ir",mass:"192.2",iupac:"Iridium",origin:"Iris, the Greek goddess of the rainbow",pinyin:"yi",url:e+"aa224351.png"},{number:"78",name:"铂",symbol:"Pt",mass:"195.1",iupac:"Platinum",origin:"The Spanish platina, meaning little silver",pinyin:"bo",url:e+"aa2c77e3.png"},{number:"79",name:"金",symbol:"Au",mass:"197",iupac:"Gold",origin:"English word (aurum in Latin)",pinyin:"jin",url:e+"aa504c84.png"},{number:"80",name:"汞",symbol:"Hg",mass:"200.6",iupac:"Mercury",origin:"The New Latin name mercurius, named after the Roman god (Hg from former name hydrargyrum, from Greek hydr-, water, and argyros, silver)",pinyin:"gong",url:e+"aa620095.png"},{number:"81",name:"铊",symbol:"Tl",mass:"204.4",iupac:"Thallium",origin:"The Greek thallos, green twig",pinyin:"ta",url:e+"aa6a73bb.png"},{number:"82",name:"铅",symbol:"Pb",mass:"207.2",iupac:"Lead",origin:"English word (plumbum in Latin)",pinyin:"qian",url:e+"aa7ab47f.png"},{number:"83",name:"铋",symbol:"Bi",mass:"209",iupac:"Bismuth",origin:"German word, now obsolete",pinyin:"bi",url:e+"aa84e014.png"},{number:"84",name:"钋",symbol:"Po",mass:"209",iupac:"Polonium",origin:"Polonia, the New Latin name for Poland",pinyin:"po",url:e+"aa90f8ee.png"},{number:"85",name:"砹",symbol:"At",mass:"210",iupac:"Astatine",origin:"The Greek astatos, unstable",pinyin:"ai",url:e+"aaa80948.png"},{number:"86",name:"氡",symbol:"Rn",mass:"222",iupac:"Radon",origin:"From radium, as it was first detected as an emission from radium during radioactive decay",pinyin:"dong",url:e+"aab4a027.png"},{number:"87",name:"钫",symbol:"Fr",mass:"223",iupac:"Francium",origin:"Francia, the New Latin name for France",pinyin:"fang",url:e+"abb16878.png"},{number:"88",name:"镭",symbol:"Re",mass:"226",iupac:"Radium",origin:"The Latin radius, ray",pinyin:"lei",url:e+"abc32253.png"},{number:"89",name:"锕",symbol:"Ac",mass:"227",iupac:"Actinium",origin:"The Greek aktis, ray",pinyin:"a",url:e+"abc89fdb.png"},{number:"90",name:"钍",symbol:"Th",mass:"232",iupac:"Thorium",origin:"Thor, the Scandinavian god of thunder",pinyin:"tu",url:e+"abd49cc0.png"},{number:"91",name:"镤",symbol:"Pa",mass:"231",iupac:"Protactinium",origin:"The Greek protos, first, and actinium, which is produced through the radioactive decay of protactinium",pinyin:"pu",url:e+"abe7ae37.png"},{number:"92",name:"铀",symbol:"U",mass:"238",iupac:"Uranium",origin:"Uranus, the seventh planet in the Solar System",pinyin:"you",url:e+"abf32902.png"},{number:"93",name:"镎",symbol:"Np",mass:"237",iupac:"Neptunium",origin:"Neptune, the eighth planet in the Solar System",pinyin:"na",url:e+"ac06514c.png"},{number:"94",name:"钚",symbol:"Pu",mass:"239.1",iupac:"Plutonium",origin:"Pluto, a dwarf planet in the Solar System (considered the ninth planet at the time)",pinyin:"bu",url:e+"ac10abb0.png"},{number:"95",name:"镅",symbol:"Am",mass:"243.1",iupac:"Americium",origin:"The Americas, as the element was first synthesized on the continent, by analogy with europium",pinyin:"mei",url:e+"ac19b953.png"},{number:"96",name:"锔",symbol:"Cm",mass:"247.1",iupac:"Curium",origin:"Pierre Curie, a physicist, and Marie Curie, a physicist and chemist, named after great scientists by analogy with gadolinium",pinyin:"ju",url:e+"ac2d813a.png"},{number:"97",name:"锫",symbol:"Bk",mass:"247.1",iupac:"Berkelium",origin:"Berkeley, California, where the element was first synthesized, by analogy with terbium",pinyin:"pei",url:e+"ad12c60f.png"},{number:"98",name:"锎",symbol:"Cf",mass:"251.1",iupac:"Californium",origin:"California, where the element was first synthesized",pinyin:"kai",url:e+"ad1d43f6.png"},{number:"99",name:"锿",symbol:"Es",mass:"252.1",iupac:"Einsteinium",origin:"Albert Einstein, physicist",pinyin:"ai",url:e+"ad2f0be1.png"},{number:"100",name:"镄",symbol:"Fm",mass:"257.1",iupac:"Fermium",origin:"Enrico Fermi, physicist",pinyin:"fei",url:e+"ad34e21a.png"},{number:"101",name:"钔",symbol:"Md",mass:"258.1",iupac:"Mendelevium",origin:"Dmitri Mendeleev, chemist and inventor",pinyin:"men",url:e+"ad47e7a1.png"},{number:"102",name:"锘",symbol:"No",mass:"259.1",iupac:"Nobelium",origin:"Alfred Nobel, chemist, engineer, innovator, and armaments manufacturer",pinyin:"nuo",url:e+"b1b94af3.png"},{number:"103",name:"铹",symbol:"Lr",mass:"262.1",iupac:"Lawrencium",origin:"Ernest O. Lawrence, physicist",pinyin:"lao",url:e+"b1c8d810.png"},{number:"104",name:"𬬻",symbol:"Rf",mass:"261.1",iupac:"Rutherfordium",origin:"Ernest Rutherford, chemist and physicist",pinyin:"lu",url:e+"b1d1f497.png"},{number:"105",name:"𬭊",symbol:"Db",mass:"262.1",iupac:"Dubnium",origin:"Dubna, Russia",pinyin:"du",url:e+"b1de3d3b.png"},{number:"106",name:"𬭳",symbol:"Sg",mass:"266.1",iupac:"Seaborgium",origin:"Glenn T. Seaborg, scientist",pinyin:"xi",url:e+"b1ec4739.png"},{number:"107",name:"𬭛",symbol:"Bh",mass:"264.1",iupac:"Bohrium",origin:"Niels Bohr, physicist",pinyin:"bo",url:e+"b1f9e6e7.png"},{number:"108",name:"𬭶",symbol:"Hs",mass:"277",iupac:"Hassium",origin:"Hesse, Germany, where the element was first synthesized",pinyin:"hei",url:e+"b20bdab8.png"},{number:"109",name:"鿏",symbol:"Mt",mass:"268",iupac:"Meitnerium",origin:"Lise Meitner, physicist",pinyin:"mai",url:e+"b2169856.png"},{number:"110",name:"𫟼",symbol:"Ds",mass:"271",iupac:"Darmstadtium",origin:"Darmstadt, Germany, where the element was first synthesized",pinyin:"da",url:e+"b220423c.png"},{number:"111",name:"𬬭",symbol:"Rg",mass:"272",iupac:"Roentgenium",origin:"Wilhelm Conrad Röntgen, physicist",pinyin:"lun",url:e+"b22ae9bf.png"},{number:"112",name:"鿔",symbol:"Cn",mass:"285",iupac:"Copernicium",origin:"Nicolaus Copernicus, astronomer",pinyin:"ge",url:e+"b2f1ce34.png"},{number:"113",name:"鉨",symbol:"Nh",mass:"284",iupac:"Nihonium",origin:"Japanese word meaning Japan",pinyin:"xi",url:e+"b2fdd0e2.png"},{number:"114",name:"𫓧",symbol:"Fl",mass:"289",iupac:"Flerovium",origin:"Georgy Flyorov, physicist",pinyin:"fu",url:e+"b314eced.png"},{number:"115",name:"镆",symbol:"Mc",mass:"288",iupac:"Moscovium",origin:"In recognition of the Moscow region and honors the ancient Russian land that is the home of the Joint Institute for Nuclear Research",pinyin:"mo",url:e+"b3222857.png"},{number:"116",name:"𫟷",symbol:"Lv",mass:"292",iupac:"Livermorium",origin:"Lawrence Livermore National Laboratory(in Livermore, California) which collaborated with JINR on its synthesis",pinyin:"li",url:e+"b32e5131.png"},{number:"117",name:"石田",symbol:"Ts",mass:"295",iupac:"Tennessine",origin:"In recognition of the contribution of the Tennessee region",pinyin:"tian",url:e+"b33b110f.png"},{number:"118",name:"气奥",symbol:"Og",mass:"293",iupac:"Oganesson",origin:"Honoring a scientist and recognizes Professor Yuri Oganessian",pinyin:"ao",url:e+"b345da2c.png"}]},function(n,i,e){i.searchElement=e(2),i.calculateMass=e(7),i.calculateGas=e(8),i.calculateAcid=e(9),i.calculateDeviation=e(10);var a=e(11);i.makeQuestion=a.makequestion,i.correctAnswer=a.correctanswer,i.elementinfo=e(0)},function(n,i,e){var a=e(3),r=e(0);n.exports=function(n){n=String(n).toLowerCase();try{var i=a.convertToPinyin(n).toLowerCase()}catch(n){i=""}for(var e in r){var o=r[e];if(o.name==n||o.number==n||o.symbol.toLowerCase()==n||o.iupac.toLowerCase()==n||o.pinyin.toLowerCase()==n||o.pinyin==i)return o}return null}},function(n,i,e){"use strict";var a=e(4),r=e(6);a.isSupported()&&r.shouldPatch(a.genToken)&&a.patchDict(r),n.exports=a},function(n,i,e){"use strict";var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},r=e(5),o="阿",m="鿿",s=1,u=2,t=3,l=null,p=void 0;function g(n){return n||null===l?("object"===("undefined"==typeof Intl?"undefined":a(Intl))&&Intl.Collator?(p=new Intl.Collator(["zh-Hans-CN","zh-CN"]),l=1===Intl.Collator.supportedLocalesOf(["zh-CN"]).length):l=!1,l):l}function b(n){var i=r.UNIHANS,e=r.PINYINS,a=r.EXCEPTIONS,l={source:n};if(n in a)return l.type=u,l.target=a[n],l;var g=-1,b=void 0;if(n.charCodeAt(0)<256)return l.type=s,l.target=n,l;if((b=p.compare(n,o))<0)return l.type=t,l.target=n,l;if(0===b)l.type=u,g=0;else{if((b=p.compare(n,m))>0)return l.type=t,l.target=n,l;0===b&&(l.type=u,g=i.length-1)}if(l.type=u,g<0)for(var c=0,y=i.length-1;c<=y;){var N=i[g=~~((c+y)/2)];if(0===(b=p.compare(n,N)))break;b>0?c=g+1:y=g-1}return b<0&&g--,l.target=e[g],l.target||(l.type=t,l.target=l.source),l}function c(n){if("string"!=typeof n)throw new Error("argument should be string.");if(!g())throw new Error("not support Intl or zh-CN language.");return n.split("").map(function(n){return b(n)})}n.exports={isSupported:g,parse:c,patchDict:function(n){n&&("function"==typeof n&&(n=[n]),n.forEach&&n.forEach(function(n){"function"==typeof n&&n(r)}))},genToken:b,convertToPinyin:function(n,i,e){return c(n).map(function(n){return e&&n.type===u?n.target.toLowerCase():n.target}).join(i||"")}}},function(n,i,e){"use strict";n.exports={PINYINS:["A","AI","AN","ANG","AO","BA","BAI","BAN","BANG","BAO","BEI","BEN","BENG","BI","BIAN","BIAO","BIE","BIN","BING","BO","BU","CA","CAI","CAN","CANG","CAO","CE","CEN","CENG","CHA","CHAI","CHAN","CHANG","CHAO","CHE","CHEN","CHENG","CHI","CHONG","CHOU","CHU","CHUA","CHUAI","CHUAN","CHUANG","CHUI","CHUN","CHUO","CI","CONG","COU","CU","CUAN","CUI","CUN","CUO","DA","DAI","DAN","DANG","DAO","DE","DEN","DENG","DI","DIAN","DIAO","DIE","DING","DIU","DONG","DOU","DU","DUAN","DUI","DUN","DUO","E","EI","EN","ENG","ER","FA","FAN","FANG","FEI","FEN","FENG","FIAO","FO","FOU","FU","GA","GAI","GAN","GANG","GAO","GE","GEI","GEN","GENG","GONG","GOU","GU","GUA","GUAI","GUAN","GUANG","GUI","GUN","GUO","HA","HAI","HAN","HANG","HAO","HE","HEI","HEN","HENG","HM","HONG","HOU","HU","HUA","HUAI","HUAN","HUANG","HUI","HUN","HUO","JI","JIA","JIAN","JIANG","JIAO","JIE","JIN","JING","JIONG","JIU","JU","JUAN","JUE","JUN","KA","KAI","KAN","KANG","KAO","KE","KEN","KENG","KONG","KOU","KU","KUA","KUAI","KUAN","KUANG","KUI","KUN","KUO","LA","LAI","LAN","LANG","LAO","LE","LEI","LENG","LI","LIA","LIAN","LIANG","LIAO","LIE","LIN","LING","LIU","LO","LONG","LOU","LU","LV","LUAN","LVE","LUN","LUO","M","MA","MAI","MAN","MANG","MAO","ME","MEI","MEN","MENG","MI","MIAN","MIAO","MIE","MIN","MING","MIU","MO","MOU","MU","N","NA","NAI","NAN","NANG","NAO","NE","NEI","NEN","NENG","NI","NIAN","NIANG","NIAO","NIE","NIN","NING","NIU","NONG","NOU","NU","NV","NUAN","NVE","NUN","NUO","O","OU","PA","PAI","PAN","PANG","PAO","PEI","PEN","PENG","PI","PIAN","PIAO","PIE","PIN","PING","PO","POU","PU","QI","QIA","QIAN","QIANG","QIAO","QIE","QIN","QING","QIONG","QIU","QU","QUAN","QUE","QUN","RAN","RANG","RAO","RE","REN","RENG","RI","RONG","ROU","RU","RUA","RUAN","RUI","RUN","RUO","SA","SAI","SAN","SANG","SAO","SE","SEN","SENG","SHA","SHAI","SHAN","SHANG","SHAO","SHE","SHEN","SHENG","SHI","SHOU","SHU","SHUA","SHUAI","SHUAN","SHUANG","SHUI","SHUN","SHUO","SI","SONG","SOU","SU","SUAN","SUI","SUN","SUO","TA","TAI","TAN","TANG","TAO","TE","TENG","TI","TIAN","TIAO","TIE","TING","TONG","TOU","TU","TUAN","TUI","TUN","TUO","WA","WAI","WAN","WANG","WEI","WEN","WENG","WO","WU","XI","XIA","XIAN","XIANG","XIAO","XIE","XIN","XING","XIONG","XIU","XU","XUAN","XUE","XUN","YA","YAN","YANG","YAO","YE","YI","YIN","YING","YO","YONG","YOU","YU","YUAN","YUE","YUN","ZA","ZAI","ZAN","ZANG","ZAO","ZE","ZEI","ZEN","ZENG","ZHA","ZHAI","ZHAN","ZHANG","ZHAO","ZHE","ZHEN","ZHENG","ZHI","ZHONG","ZHOU","ZHU","ZHUA","ZHUAI","ZHUAN","ZHUANG","ZHUI","ZHUN","ZHUO","ZI","ZONG","ZOU","ZU","ZUAN","ZUI","ZUN","ZUO",""],UNIHANS:["阿","哎","安","肮","凹","八","挀","扳","邦","勹","陂","奔","伻","屄","边","灬","憋","汃","冫","癶","峬","嚓","偲","参","仓","撡","冊","嵾","曽","叉","芆","辿","伥","抄","车","抻","阷","吃","充","抽","出","欻","揣","巛","刅","吹","旾","逴","呲","匆","凑","粗","汆","崔","邨","搓","咑","呆","丹","当","刀","嘚","扥","灯","氐","甸","刁","爹","丁","丟","东","吺","厾","耑","垖","吨","多","妸","诶","奀","鞥","儿","发","帆","匚","飞","分","丰","覅","仏","紑","夫","旮","侅","甘","冈","皋","戈","给","根","刯","工","勾","估","瓜","乖","关","光","归","丨","呙","哈","咍","佄","夯","茠","诃","黒","拫","亨","噷","叿","齁","乎","花","怀","欢","巟","灰","昏","吙","丌","加","戋","江","艽","阶","巾","坕","冂","丩","凥","姢","噘","军","咔","开","刊","忼","尻","匼","肎","劥","空","抠","扝","夸","蒯","宽","匡","亏","坤","扩","垃","来","兰","啷","捞","肋","勒","崚","哩","俩","奁","良","撩","毟","拎","伶","溜","囖","龙","瞜","噜","驴","娈","掠","抡","罗","呣","妈","埋","嫚","牤","猫","么","呅","门","甿","咪","宀","喵","乜","民","名","谬","摸","哞","毪","嗯","拏","腉","囡","囔","孬","疒","娞","恁","能","妮","拈","娘","鸟","捏","囜","宁","妞","农","羺","奴","女","奻","疟","黁","挪","喔","讴","妑","拍","眅","乓","抛","呸","喷","匉","丕","囨","剽","氕","姘","乒","钋","剖","仆","七","掐","千","呛","悄","癿","亲","靑","卭","丘","区","峑","缺","夋","呥","穣","娆","惹","人","扔","日","茸","厹","邚","挼","堧","婑","瞤","捼","仨","毢","三","桒","掻","閪","森","僧","杀","筛","山","伤","弰","奢","申","升","尸","収","书","刷","衰","闩","双","脽","吮","说","厶","忪","捜","苏","狻","夊","孙","唆","他","囼","坍","汤","夲","忑","熥","剔","天","旫","帖","厅","囲","偷","凸","湍","推","吞","乇","穵","歪","弯","尣","危","昷","翁","挝","乌","夕","虲","仙","乡","灱","些","心","星","凶","休","吁","吅","削","坃","丫","恹","央","幺","倻","一","囙","应","哟","佣","优","扜","囦","曰","晕","帀","災","兂","匨","傮","则","贼","怎","増","扎","捚","沾","张","佋","蜇","贞","争","之","中","州","朱","抓","拽","专","妆","隹","宒","卓","乲","宗","邹","租","钻","厜","尊","昨","兙"],EXCEPTIONS:{"曾":"ZENG","沈":"SHEN","嗲":"DIA","碡":"ZHOU","聒":"GUO","炔":"QUE","蚵":"KE","砉":"HUA","嬤":"MO","嬷":"MO","蹒":"PAN","蹊":"XI","丬":"PAN","霰":"XIAN","莘":"XIN","豉":"CHI","饧":"XING","筠":"JUN","长":"CHANG","帧":"ZHEN","峙":"SHI","郍":"NA","芎":"XIONG","谁":"SHUI"}}},function(n,i,e){"use strict";(n.exports=function(n){n.EXCEPTIONS={"嗲":"DIA","碡":"ZHOU","聒":"GUO","炔":"QUE","蚵":"KE","砉":"HUA","嬷":"MO","蹊":"XI","丬":"PAN","霰":"XIAN","豉":"CHI","饧":"XING","帧":"ZHEN","芎":"XIONG","谁":"SHUI","钶":"KE"},n.UNIHANS[91]="伕",n.UNIHANS[347]="仚",n.UNIHANS[393]="诌",n.UNIHANS[39]="婤",n.UNIHANS[50]="腠",n.UNIHANS[369]="攸",n.UNIHANS[123]="乯",n.UNIHANS[171]="刕",n.UNIHANS[102]="佝",n.UNIHANS[126]="犿",n.UNIHANS[176]="列",n.UNIHANS[178]="刢",n.UNIHANS[252]="娝",n.UNIHANS[330]="偸"}).shouldPatch=function(n){return"function"==typeof n&&("FOU"===n("伕").target&&"XIA"===n("仚").target&&"ZHONG"===n("诌").target&&"CHONG"===n("婤").target&&"CONG"===n("腠").target&&"YONG"===n("攸").target&&"HOU"===n("乯").target&&"LENG"===n("刕").target&&"GONG"===n("佝").target&&"HUAI"===n("犿").target&&"LIAO"===n("列").target&&"LIN"===n("刢").target&&"E"===n("钶").target)}},function(n,i,e){var a=e(0),r=function(n){var i=n.substr(0,1).charCodeAt();return 64<i<91?1:96<i<123?2:47<i<58?3:40==i|91==i|-23640==i?4:41==i|93==i|-23639==i?5:0},o=function(n){for(var i in a){var e=a[i];if(e.symbol==n)return e.number-1}return-1};n.exports=function(n){var i,e,m,s,u=n.length,t=0,l=0,p=0,g=new Array,b=new Int8Array(118),c=new Array,y=new Array,N=new Array,h=new Array,d=new Array;if(u>0){for(;t<u;)c[++t]=1,i=n.substr(t-1,1),4==r(i)?y[t]=1:5==r(i)?y[t]=-1:y[t]=0,l+=y[t];if(0==l){t=1;for(var f=0;t<u;){if(1==y[t]){var A=1,I=t+1;for(N[++f]=t;A>0;)A+=y[I],I++;I--,h[f]=I,m=I+1>u?"a":n.substr(I,1),3==r(m)?(s=I+2>u?"a":n.substr(I+1,1),3==r(s)?d[f]=parseInt(m+s):d[f]=parseInt(m)):d[f]=1}t++}for(t=0;t<f;)for(I=N[++t];I<=h[t];I++)c[I]*=d[t];for(t=0;t<u;)t++,i=n.substr(t-1,1),1==r(i)?(e=t>=u?"1":n.substr(t,1),2==r(e)?-1!=(f=o(i+e))&&(m=t+1>=u?"1":n.substr(t+1,1),3==r(m)?(s=t+2>=u?"a":n.substr(t+2,1),3==r(s)?(b[f]+=parseInt(m+s)*c[t],t+=3):(b[f]+=parseInt(m)*c[t],t+=2)):(b[f]+=c[t],t++)):3==r(e)?-1!=(f=o(i))&&(m=t+1>=u?"a":n.substr(t+1,1),3==r(m)?(b[f]+=parseInt(e+m)*c[t],t+=2):b[f]+=parseInt(e)*c[t]):-1!=(f=o(i))&&(b[f]+=c[t])):5==r(i)&&(e=t>=u?"a":n.substr(t,1),3==r(e)&&(t+1>=u?e="a":m=n.substr(t+1,1),3==r(m)&&t++,t++));for(t=0;t<118;t++)b[t]>0&&(p+=b[t]*parseFloat(a[t].mass))}}if(p>0){var G=new Array(0);for(t=0;t<118;t++)b[t]>0&&(g[t]=parseFloat(b[t])*parseFloat(a[t].mass)/parseFloat(p)*100,G.push({name:a[t].name,iupac:a[t].iupac,symbol:a[t].symbol,atomnumber:b[t],mass:a[t].mass,massper:g[t]}));return{name:n,mass:p,peratom:G}}return null}},function(n,i){var e=8.314;n.exports=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(n)if(i)if(a){if(r)return null;r=n*i/a/e}else a=n*i/e/r;else i=a*e*r/n;else n=a*e*r/i;return{p:n,V:i,n:a,T:r}}},function(n,i){var e=function(n,i,e){var a="";return n?(e<i-1&&(a+="H",i-e>2&&(a+=i-e-1)),a+="A",e>0&&(e>1&&(a+=e),a+="-")):(a+="B",i-e>2?a+="(OH)"+(i-e-1):i-e==2&&(a+="OH"),e>0&&(e>1&&(a+=e),a+="+")),a};n.exports=function(n,i,a){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:14,o=0;o<i.length;o++)i[o]<-1.74&&(i[o]=-1.74);var m=function(n,i,e){var a=Math.pow(10,-n[0]),r=Math.pow(10,-e),o=.5*(Math.sqrt(a*a+4*a*i+r)-a);return o>0?-Math.log(o)/Math.LN10:1024}(i,n,r),s=function(n,i,e){for(var a=0,r=1,o=new Array,m=new Array,s=new Array,u=Math.pow(10,-e),t=Math.pow(u,n.length+1),l=0;l<n.length;l++)m[l]=Math.pow(10,-n[l]);for(l=0;l<n.length+1;l++)o[l]=t*r,a+=o[l],t/=u,r*=m[l];for(l=0;l<n.length+1;l++)s[l]=i*o[l]/a;return s}(i,n,m);a||(m=r-m);var u=[{name:s?"H+":"OH-",c:Math.pow(10,-m)}];for(o=0;o<s.length;o++)u.push({name:e(a,s.length,o),c:s[o]});return{c:n,pH:m,ion:u}}},function(n,i){n.exports=function(n){var i=n.length;if(i>1){for(var e=n.reduce(function(n,i){return n+i},0)/i,a=0,r=0;r<i;r++){a+=Math.abs(parseFloat(n[r])-e);var o=0+Math.pow(parseFloat(n[r])-e,2)}var m=a/i,s=m/e,u=Math.sqrt(o/(i-1));return{input:n,average:e,average_deviation:m,relative_average_deviation:s,standard_deviation:u,relative_standard_deviation:u/m}}return null}},function(n,i,e){var a=e(0);i.makequestion=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"name",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"iupac",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:86,r=Array.from(Array(e).keys()).sort(function(){return Math.random()-.5}).slice(0,4),o=a[r[0]][n];r.sort();for(var m=new Array(4),s=0;s<4;s++)m[s]=a[r[s]][i];return{question:o,options:m}},i.correctanswer=function(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"name",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"iupac",o=function(n,i){for(var e in a){var r=a[e];if(r[n]==i)return r}return null}(e,n)[r];return{correct:o==i,question:n,correct_answer:o,answer:i}}}]);
!function(n){var i={};function e(a){if(i[a])return i[a].exports;var r=i[a]={i:a,l:!1,exports:{}};return n[a].call(r.exports,r,r.exports,e),r.l=!0,r.exports}e.m=n,e.c=i,e.d=function(n,i,a){e.o(n,i)||Object.defineProperty(n,i,{enumerable:!0,get:a})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,i){if(1&i&&(n=e(n)),8&i)return n;if(4&i&&"object"==typeof n&&n&&n.__esModule)return n;var a=Object.create(null);if(e.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:n}),2&i&&"string"!=typeof n)for(var r in n)e.d(a,r,function(i){return n[i]}.bind(null,r));return a},e.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(i,"a",i),i},e.o=function(n,i){return Object.prototype.hasOwnProperty.call(n,i)},e.p="",e(e.s=1)}([function(n,i){var e="https://i.loli.net/2018/03/31/5abf7";n.exports=[{number:"1",name:"氢",symbol:"H",mass:"1.008",iupac:"Hydrogen",origin:"Composed of the Greek elements hydro-and -gen meaning water-forming",pinyin:"qing",url:e+"8f72c517.png"},{number:"2",name:"氦",symbol:"He",mass:"4.003",iupac:"Helium",origin:"The Greek helios, sun",pinyin:"hai",url:e+"8fb29b3e.png"},{number:"3",name:"锂",symbol:"Li",mass:"6.941",iupac:"Lithium",origin:"The Greek lithos, stone",pinyin:"li",url:e+"8ff61f6d.png"},{number:"4",name:"铍",symbol:"Be",mass:"9.012",iupac:"Beryllium",origin:"Beryl, a mineral",pinyin:"pi",url:e+"9033b661.png"},{number:"5",name:"硼",symbol:"B",mass:"10.81",iupac:"Boron",origin:"Borax, a mineral",pinyin:"peng",url:e+"90632b69.png"},{number:"6",name:"碳",symbol:"C",mass:"12.01",iupac:"Carbon",origin:"The Latin carbo, coal",pinyin:"tan",url:e+"90a5d246.png"},{number:"7",name:"氮",symbol:"N",mass:"14.01",iupac:"Nitrogen",origin:"The Greek nitron and -gen meaning niter-forming",pinyin:"dan",url:e+"90f6de41.png"},{number:"8",name:"氧",symbol:"O",mass:"16",iupac:"Oxygen",origin:"From the Greek oxy-, both sharp and acid, and -gen, meaning acid-forming",pinyin:"yang",url:e+"91367638.png"},{number:"9",name:"氟",symbol:"F",mass:"19",iupac:"Fluorine",origin:"The Latin fluere, to flow",pinyin:"fu",url:e+"91b56c50.png"},{number:"10",name:"氖",symbol:"Ne",mass:"20.18",iupac:"Neon",origin:"The Greek neos, meaning new",pinyin:"nai",url:e+"9201479d.png"},{number:"11",name:"钠",symbol:"Na",mass:"22.99",iupac:"Sodium",origin:"The English word soda (natrium in Latin)",pinyin:"na",url:e+"9262c0c0.png"},{number:"12",name:"镁",symbol:"Mg",mass:"24.31",iupac:"Magnesium",origin:"Magnesia, a district of Eastern Thessalyin Greece",pinyin:"mei",url:e+"92b3a942.png"},{number:"13",name:"铝",symbol:"Al",mass:"26.98",iupac:"Aluminium",origin:"From alumina, a compound (originally aluminum)",pinyin:"lv",url:e+"92fdb969.png"},{number:"14",name:"硅",symbol:"Si",mass:"28.09",iupac:"Silicon",origin:"From the Latin silex, flint (originally silicium)",pinyin:"gui",url:e+"93f68260.png"},{number:"15",name:"磷",symbol:"P",mass:"30.98",iupac:"Phosphorus",origin:"The Greek phoosphoros, carrying light",pinyin:"lin",url:e+"943de158.png"},{number:"16",name:"硫",symbol:"S",mass:"32.07",iupac:"Sulfur",origin:"The Latin sulphur, fire and brimstone",pinyin:"liu",url:e+"948aa7db.png"},{number:"17",name:"氯",symbol:"Cl",mass:"35.45",iupac:"Chlorine",origin:"The Greek chloros, greenish yellow",pinyin:"lv",url:e+"94c1190c.png"},{number:"18",name:"氩",symbol:"Ar",mass:"39.95",iupac:"Argon",origin:"The Greek argos, idle",pinyin:"ya",url:e+"94f59742.png"},{number:"19",name:"钾",symbol:"K",mass:"39.1",iupac:"Potassium",origin:"New Latin potassa, potash (kalium in Latin)",pinyin:"jia",url:e+"955eb159.png"},{number:"20",name:"钙",symbol:"Ca",mass:"40.08",iupac:"Calcium",origin:"The Latin calx, lime",pinyin:"gai",url:e+"9677caef.png"},{number:"21",name:"钪",symbol:"Sc",mass:"44.96",iupac:"Scandium",origin:"Scandia, the Latin name for Scandinavia",pinyin:"kang",url:e+"96b46bc9.png"},{number:"22",name:"钛",symbol:"Ti",mass:"47.87",iupac:"Titanium",origin:"Titans, the sons of the Earth goddess of Greek mythology",pinyin:"tai",url:e+"9707833d.png"},{number:"23",name:"钒",symbol:"V",mass:"50.94",iupac:"Vanadium",origin:"Vanadis, an Old Norse name for the Scandinavian goddess Freyja",pinyin:"fan",url:e+"9747c418.png"},{number:"24",name:"铬",symbol:"Cr",mass:"52",iupac:"Chromium",origin:"The Greek chroma, color",pinyin:"ge",url:e+"9781844b.png"},{number:"25",name:"锰",symbol:"Mn",mass:"54.94",iupac:"Manganese",origin:"Corrupted from magnesia negra, see Magnesium",pinyin:"meng",url:e+"97c8c1a1.png"},{number:"26",name:"铁",symbol:"Fe",mass:"55.85",iupac:"Iron",origin:"English word (ferrum in Latin)",pinyin:"tie",url:e+"981b875f.png"},{number:"27",name:"钴",symbol:"Co",mass:"58.93",iupac:"Cobalt",origin:"The German word Kobold, goblin",pinyin:"gu",url:e+"985b8929.png"},{number:"28",name:"镍",symbol:"Ni",mass:"58.69",iupac:"Nickel",origin:"From Swedish kopparnickel, containing the German word Nickel, goblin",pinyin:"nie",url:e+"989ec197.png"},{number:"29",name:"铜",symbol:"Cu",mass:"63.55",iupac:"Copper",origin:"English word (Latin cuprum)",pinyin:"tong",url:e+"98f3125a.png"},{number:"30",name:"锌",symbol:"Zn",mass:"65.38",iupac:"Zinc",origin:"The German Zink",pinyin:"xin",url:e+"994618db.png"},{number:"31",name:"镓",symbol:"Ga",mass:"69.72",iupac:"Gallium",origin:"Gallia, the Latin name for France",pinyin:"jia",url:e+"998dc937.png"},{number:"32",name:"锗",symbol:"Ge",mass:"72.64",iupac:"Germanium",origin:"Germania, the Latin name for Germany",pinyin:"zhe",url:e+"99f2c940.png"},{number:"33",name:"砷",symbol:"As",mass:"74.92",iupac:"Arsenic",origin:"English word (Latin arsenicum)",pinyin:"shen",url:e+"9a67057f.png"},{number:"34",name:"硒",symbol:"Se",mass:"78.97",iupac:"Selenium",origin:"The Greek selene, moon",pinyin:"xi",url:e+"9ac88218.png"},{number:"35",name:"溴",symbol:"Br",mass:"79.9",iupac:"Bromine",origin:"The Greek bromos, stench",pinyin:"xiu",url:e+"9b476a12.png"},{number:"36",name:"氪",symbol:"Kr",mass:"83.8",iupac:"Krypton",origin:"The Greek kryptos, hidden",pinyin:"ke",url:e+"9b89efff.png"},{number:"37",name:"铷",symbol:"Rb",mass:"85.47",iupac:"Rubidium",origin:"The Latin rubidus, deep red",pinyin:"ru",url:e+"9bce65d1.png"},{number:"38",name:"锶",symbol:"Sr",mass:"87.62",iupac:"Strontium",origin:"Strontian, a small town in Scotland",pinyin:"si",url:e+"9c2288fa.png"},{number:"39",name:"钇",symbol:"Y",mass:"88.91",iupac:"Yttrium",origin:"Ytterby, Sweden",pinyin:"yi",url:e+"9c7d69bf.png"},{number:"40",name:"锆",symbol:"Zr",mass:"91.22",iupac:"Zirconium",origin:"Persian Zargun, gold-colored; German Zirkoon, jargoon",pinyin:"gao",url:e+"9cdaddad.png"},{number:"41",name:"铌",symbol:"Nb",mass:"92.91",iupac:"Niobium",origin:"Niobe, daughter of king Tantalus from Greek mythology",pinyin:"ni",url:e+"9d3444c8.png"},{number:"42",name:"钼",symbol:"Mo",mass:"95.95",iupac:"Molybdenum",origin:"The Greek molybdos meaning lead",pinyin:"mu",url:e+"9d9864d1.png"},{number:"43",name:"锝",symbol:"Tc",mass:"98.91",iupac:"Technetium",origin:"The Greek tekhnètos meaning artificial",pinyin:"de",url:e+"9e323d60.png"},{number:"44",name:"钌",symbol:"Ru",mass:"101.1",iupac:"Ruthenium",origin:"Ruthenia, the New Latin name for Russia",pinyin:"liao",url:e+"9e898712.png"},{number:"45",name:"铑",symbol:"Rh",mass:"102.9",iupac:"Rhodium",origin:"The Greek rhodos, meaning rose coloured",pinyin:"lao",url:e+"9ee94dd7.png"},{number:"46",name:"钯",symbol:"Pd",mass:"106.4",iupac:"Palladium",origin:"The then recently discovered asteroid Pallas, considered a planet at the time",pinyin:"ba",url:e+"9f42ad2a.png"},{number:"47",name:"银",symbol:"Ag",mass:"107.9",iupac:"Silver",origin:"English word (argentum in Latin)",pinyin:"yin",url:e+"9f99fb02.png"},{number:"48",name:"镉",symbol:"Cd",mass:"112.4",iupac:"Cadmium",origin:"The New Latin cadmia, from King Kadmos",pinyin:"ge",url:e+"9fe90314.png"},{number:"49",name:"铟",symbol:"In",mass:"114.8",iupac:"Indium",origin:"Indigo",pinyin:"yin",url:e+"a0489e3b.png"},{number:"50",name:"锡",symbol:"Sn",mass:"118.7",iupac:"Tin",origin:"English word (stannum in Latin)",pinyin:"xi",url:e+"a0a9fe69.png"},{number:"51",name:"锑",symbol:"Sb",mass:"121.8",iupac:"Antimony",origin:"Composed from the Greek anti, against, and monos, alone (stibium in Latin)",pinyin:"ti",url:e+"a1096c2f.png"},{number:"52",name:"碲",symbol:"Te",mass:"127.6",iupac:"Tellurium",origin:"Latin tellus, earth",pinyin:"di",url:e+"a15d89df.png"},{number:"53",name:"碘",symbol:"I",mass:"126.9",iupac:"Iodine",origin:"French iode (after the Greek ioeides, violet)",pinyin:"dian",url:e+"a1be4e4f.png"},{number:"54",name:"氙",symbol:"Xe",mass:"131.3",iupac:"Xenon",origin:"The Greek xenos, strange",pinyin:"xian",url:e+"a2170cef.png"},{number:"55",name:"铯",symbol:"Cs",mass:"132.9",iupac:"Caesium",origin:"The Latin caesius, sky blue",pinyin:"se",url:e+"a294fc17.png"},{number:"56",name:"钡",symbol:"Ba",mass:"137.3",iupac:"Barium",origin:"The Greek barys, heavy",pinyin:"bei",url:e+"a2f91564.png"},{number:"57",name:"镧",symbol:"La",mass:"138.9",iupac:"Lanthanum",origin:"The Greek lanthanein, to lie hidden",pinyin:"lan",url:e+"a37b892c.png"},{number:"58",name:"铈",symbol:"Ce",mass:"140.1",iupac:"Cerium",origin:"The then recently discovered asteroid Ceres, considered a planet at the time",pinyin:"shi",url:e+"a3f4e54a.png"},{number:"59",name:"镨",symbol:"Pr",mass:"140.9",iupac:"Praseodymium",origin:"The Greek praseios didymos meaning green twin",pinyin:"pu",url:e+"a46ef559.png"},{number:"60",name:"钕",symbol:"Nd",mass:"144.2",iupac:"Neodymium",origin:"The Greek neos didymos meaning new twin",pinyin:"nv",url:e+"a4e1f6a8.png"},{number:"61",name:"钷",symbol:"Pm",mass:"144.9",iupac:"Promethium",origin:"Prometheus of Greek mythology who stole fire from the Gods and gave it to humans",pinyin:"po",url:e+"a5723f68.png"},{number:"62",name:"钐",symbol:"Sm",mass:"150.4",iupac:"Samarium",origin:"Samarskite, the name of the mineral from which it was first isolated",pinyin:"shan",url:e+"a614b52c.png"},{number:"63",name:"铕",symbol:"Eu",mass:"152",iupac:"Europium",origin:"Europe",pinyin:"you",url:e+"a69cf979.png"},{number:"64",name:"钆",symbol:"Gd",mass:"157.3",iupac:"Gadolinium",origin:"Johan Gadolin, chemist, physicist and mineralogist",pinyin:"ga",url:e+"a7097f4e.png"},{number:"65",name:"铽",symbol:"Tb",mass:"158.9",iupac:"Terbium",origin:"Ytterby, Sweden",pinyin:"te",url:e+"a77eab76.png"},{number:"66",name:"镝",symbol:"Dy",mass:"162.5",iupac:"Dysprosium",origin:"The Greek dysprositos, hard to get",pinyin:"di",url:e+"a7fb8f8a.png"},{number:"67",name:"钬",symbol:"Ho",mass:"164.9",iupac:"Holmium",origin:"Holmia, the New Latin name for Stockholm",pinyin:"huo",url:e+"a8cd6e7d.png"},{number:"68",name:"铒",symbol:"Er",mass:"167.3",iupac:"Erbium",origin:"Ytterby, Sweden",pinyin:"er",url:e+"a8ddbe89.png"},{number:"69",name:"铥",symbol:"Tm",mass:"168.9",iupac:"Thulium",origin:"Thule, the ancient name for Scandinavia",pinyin:"diu",url:e+"a8ea3d71.png"},{number:"70",name:"镱",symbol:"Yb",mass:"173.1",iupac:"Ytterbium",origin:"Ytterby, Sweden",pinyin:"yi",url:e+"a8f55230.png"},{number:"71",name:"镥",symbol:"Lu",mass:"175",iupac:"Lutetium",origin:"Lutetia, the Latin name for Paris",pinyin:"lu",url:e+"a90121e3.png"},{number:"72",name:"铪",symbol:"Hf",mass:"178.5",iupac:"Hafnium",origin:"Hafnia, the New Latin name for Copenhagen",pinyin:"ha",url:e+"a90c8da6.png"},{number:"73",name:"钽",symbol:"Ta",mass:"181",iupac:"Tantalum",origin:"King Tantalus, father of Niobe from Greek mythology",pinyin:"tan",url:e+"a9242b2e.png"},{number:"74",name:"钨",symbol:"W",mass:"183.8",iupac:"Tungsten",origin:"The Swedish tung sten, heavy stone (W is wolfram, the old name of the tungsten mineral wolframite)",pinyin:"wu",url:e+"a92de9ca.png"},{number:"75",name:"铼",symbol:"Re",mass:"186.2",iupac:"Rhenium",origin:"Rhenus, the Latin name for the river Rhine",pinyin:"lai",url:e+"a93849a1.png"},{number:"76",name:"锇",symbol:"Os",mass:"190.2",iupac:"Osmium",origin:"The Greek osmè, meaning smell",pinyin:"e",url:e+"a944e02a.png"},{number:"77",name:"铱",symbol:"Ir",mass:"192.2",iupac:"Iridium",origin:"Iris, the Greek goddess of the rainbow",pinyin:"yi",url:e+"aa224351.png"},{number:"78",name:"铂",symbol:"Pt",mass:"195.1",iupac:"Platinum",origin:"The Spanish platina, meaning little silver",pinyin:"bo",url:e+"aa2c77e3.png"},{number:"79",name:"金",symbol:"Au",mass:"197",iupac:"Gold",origin:"English word (aurum in Latin)",pinyin:"jin",url:e+"aa504c84.png"},{number:"80",name:"汞",symbol:"Hg",mass:"200.6",iupac:"Mercury",origin:"The New Latin name mercurius, named after the Roman god (Hg from former name hydrargyrum, from Greek hydr-, water, and argyros, silver)",pinyin:"gong",url:e+"aa620095.png"},{number:"81",name:"铊",symbol:"Tl",mass:"204.4",iupac:"Thallium",origin:"The Greek thallos, green twig",pinyin:"ta",url:e+"aa6a73bb.png"},{number:"82",name:"铅",symbol:"Pb",mass:"207.2",iupac:"Lead",origin:"English word (plumbum in Latin)",pinyin:"qian",url:e+"aa7ab47f.png"},{number:"83",name:"铋",symbol:"Bi",mass:"209",iupac:"Bismuth",origin:"German word, now obsolete",pinyin:"bi",url:e+"aa84e014.png"},{number:"84",name:"钋",symbol:"Po",mass:"209",iupac:"Polonium",origin:"Polonia, the New Latin name for Poland",pinyin:"po",url:e+"aa90f8ee.png"},{number:"85",name:"砹",symbol:"At",mass:"210",iupac:"Astatine",origin:"The Greek astatos, unstable",pinyin:"ai",url:e+"aaa80948.png"},{number:"86",name:"氡",symbol:"Rn",mass:"222",iupac:"Radon",origin:"From radium, as it was first detected as an emission from radium during radioactive decay",pinyin:"dong",url:e+"aab4a027.png"},{number:"87",name:"钫",symbol:"Fr",mass:"223",iupac:"Francium",origin:"Francia, the New Latin name for France",pinyin:"fang",url:e+"abb16878.png"},{number:"88",name:"镭",symbol:"Re",mass:"226",iupac:"Radium",origin:"The Latin radius, ray",pinyin:"lei",url:e+"abc32253.png"},{number:"89",name:"锕",symbol:"Ac",mass:"227",iupac:"Actinium",origin:"The Greek aktis, ray",pinyin:"a",url:e+"abc89fdb.png"},{number:"90",name:"钍",symbol:"Th",mass:"232",iupac:"Thorium",origin:"Thor, the Scandinavian god of thunder",pinyin:"tu",url:e+"abd49cc0.png"},{number:"91",name:"镤",symbol:"Pa",mass:"231",iupac:"Protactinium",origin:"The Greek protos, first, and actinium, which is produced through the radioactive decay of protactinium",pinyin:"pu",url:e+"abe7ae37.png"},{number:"92",name:"铀",symbol:"U",mass:"238",iupac:"Uranium",origin:"Uranus, the seventh planet in the Solar System",pinyin:"you",url:e+"abf32902.png"},{number:"93",name:"镎",symbol:"Np",mass:"237",iupac:"Neptunium",origin:"Neptune, the eighth planet in the Solar System",pinyin:"na",url:e+"ac06514c.png"},{number:"94",name:"钚",symbol:"Pu",mass:"239.1",iupac:"Plutonium",origin:"Pluto, a dwarf planet in the Solar System (considered the ninth planet at the time)",pinyin:"bu",url:e+"ac10abb0.png"},{number:"95",name:"镅",symbol:"Am",mass:"243.1",iupac:"Americium",origin:"The Americas, as the element was first synthesized on the continent, by analogy with europium",pinyin:"mei",url:e+"ac19b953.png"},{number:"96",name:"锔",symbol:"Cm",mass:"247.1",iupac:"Curium",origin:"Pierre Curie, a physicist, and Marie Curie, a physicist and chemist, named after great scientists by analogy with gadolinium",pinyin:"ju",url:e+"ac2d813a.png"},{number:"97",name:"锫",symbol:"Bk",mass:"247.1",iupac:"Berkelium",origin:"Berkeley, California, where the element was first synthesized, by analogy with terbium",pinyin:"pei",url:e+"ad12c60f.png"},{number:"98",name:"锎",symbol:"Cf",mass:"251.1",iupac:"Californium",origin:"California, where the element was first synthesized",pinyin:"kai",url:e+"ad1d43f6.png"},{number:"99",name:"锿",symbol:"Es",mass:"252.1",iupac:"Einsteinium",origin:"Albert Einstein, physicist",pinyin:"ai",url:e+"ad2f0be1.png"},{number:"100",name:"镄",symbol:"Fm",mass:"257.1",iupac:"Fermium",origin:"Enrico Fermi, physicist",pinyin:"fei",url:e+"ad34e21a.png"},{number:"101",name:"钔",symbol:"Md",mass:"258.1",iupac:"Mendelevium",origin:"Dmitri Mendeleev, chemist and inventor",pinyin:"men",url:e+"ad47e7a1.png"},{number:"102",name:"锘",symbol:"No",mass:"259.1",iupac:"Nobelium",origin:"Alfred Nobel, chemist, engineer, innovator, and armaments manufacturer",pinyin:"nuo",url:e+"b1b94af3.png"},{number:"103",name:"铹",symbol:"Lr",mass:"262.1",iupac:"Lawrencium",origin:"Ernest O. Lawrence, physicist",pinyin:"lao",url:e+"b1c8d810.png"},{number:"104",name:"𬬻",symbol:"Rf",mass:"261.1",iupac:"Rutherfordium",origin:"Ernest Rutherford, chemist and physicist",pinyin:"lu",url:e+"b1d1f497.png"},{number:"105",name:"𬭊",symbol:"Db",mass:"262.1",iupac:"Dubnium",origin:"Dubna, Russia",pinyin:"du",url:e+"b1de3d3b.png"},{number:"106",name:"𬭳",symbol:"Sg",mass:"266.1",iupac:"Seaborgium",origin:"Glenn T. Seaborg, scientist",pinyin:"xi",url:e+"b1ec4739.png"},{number:"107",name:"𬭛",symbol:"Bh",mass:"264.1",iupac:"Bohrium",origin:"Niels Bohr, physicist",pinyin:"bo",url:e+"b1f9e6e7.png"},{number:"108",name:"𬭶",symbol:"Hs",mass:"277",iupac:"Hassium",origin:"Hesse, Germany, where the element was first synthesized",pinyin:"hei",url:e+"b20bdab8.png"},{number:"109",name:"鿏",symbol:"Mt",mass:"268",iupac:"Meitnerium",origin:"Lise Meitner, physicist",pinyin:"mai",url:e+"b2169856.png"},{number:"110",name:"𫟼",symbol:"Ds",mass:"271",iupac:"Darmstadtium",origin:"Darmstadt, Germany, where the element was first synthesized",pinyin:"da",url:e+"b220423c.png"},{number:"111",name:"𬬭",symbol:"Rg",mass:"272",iupac:"Roentgenium",origin:"Wilhelm Conrad Röntgen, physicist",pinyin:"lun",url:e+"b22ae9bf.png"},{number:"112",name:"鿔",symbol:"Cn",mass:"285",iupac:"Copernicium",origin:"Nicolaus Copernicus, astronomer",pinyin:"ge",url:e+"b2f1ce34.png"},{number:"113",name:"鉨",symbol:"Nh",mass:"284",iupac:"Nihonium",origin:"Japanese word meaning Japan",pinyin:"xi",url:e+"b2fdd0e2.png"},{number:"114",name:"𫓧",symbol:"Fl",mass:"289",iupac:"Flerovium",origin:"Georgy Flyorov, physicist",pinyin:"fu",url:e+"b314eced.png"},{number:"115",name:"镆",symbol:"Mc",mass:"288",iupac:"Moscovium",origin:"In recognition of the Moscow region and honors the ancient Russian land that is the home of the Joint Institute for Nuclear Research",pinyin:"mo",url:e+"b3222857.png"},{number:"116",name:"𫟷",symbol:"Lv",mass:"292",iupac:"Livermorium",origin:"Lawrence Livermore National Laboratory(in Livermore, California) which collaborated with JINR on its synthesis",pinyin:"li",url:e+"b32e5131.png"},{number:"117",name:"石田",symbol:"Ts",mass:"295",iupac:"Tennessine",origin:"In recognition of the contribution of the Tennessee region",pinyin:"tian",url:e+"b33b110f.png"},{number:"118",name:"气奥",symbol:"Og",mass:"293",iupac:"Oganesson",origin:"Honoring a scientist and recognizes Professor Yuri Oganessian",pinyin:"ao",url:e+"b345da2c.png"}]},function(n,i,e){i.searchElement=e(2),i.calculateMass=e(7),i.calculateGas=e(8),i.calculateAcid=e(9),i.calculateDeviation=e(10);var a=e(11);i.makeQuestion=a.makequestion,i.correctAnswer=a.correctanswer,i.elementinfo=e(0)},function(n,i,e){var a=e(3),r=e(0);n.exports=function(n){n=String(n).toLowerCase();try{var i=a.convertToPinyin(n).toLowerCase()}catch(n){i=""}for(var e in r){var o=r[e];if(o.name==n||o.number==n||o.symbol.toLowerCase()==n||o.iupac.toLowerCase()==n||o.pinyin.toLowerCase()==n||o.pinyin==i)return o}return null}},function(n,i,e){"use strict";var a=e(4),r=e(6);a.isSupported()&&r.shouldPatch(a.genToken)&&a.patchDict(r),n.exports=a},function(n,i,e){"use strict";var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},r=e(5),o="阿",m="鿿",u=1,s=2,t=3,l=null,p=void 0;function g(n){return n||null===l?("object"===("undefined"==typeof Intl?"undefined":a(Intl))&&Intl.Collator?(p=new Intl.Collator(["zh-Hans-CN","zh-CN"]),l=1===Intl.Collator.supportedLocalesOf(["zh-CN"]).length):l=!1,l):l}function c(n){var i=r.UNIHANS,e=r.PINYINS,a=r.EXCEPTIONS,l={source:n};if(n in a)return l.type=s,l.target=a[n],l;var g=-1,c=void 0;if(n.charCodeAt(0)<256)return l.type=u,l.target=n,l;if((c=p.compare(n,o))<0)return l.type=t,l.target=n,l;if(0===c)l.type=s,g=0;else{if((c=p.compare(n,m))>0)return l.type=t,l.target=n,l;0===c&&(l.type=s,g=i.length-1)}if(l.type=s,g<0)for(var b=0,y=i.length-1;b<=y;){var N=i[g=~~((b+y)/2)];if(0===(c=p.compare(n,N)))break;c>0?b=g+1:y=g-1}return c<0&&g--,l.target=e[g],l.target||(l.type=t,l.target=l.source),l}function b(n){if("string"!=typeof n)throw new Error("argument should be string.");if(!g())throw new Error("not support Intl or zh-CN language.");return n.split("").map(function(n){return c(n)})}n.exports={isSupported:g,parse:b,patchDict:function(n){n&&("function"==typeof n&&(n=[n]),n.forEach&&n.forEach(function(n){"function"==typeof n&&n(r)}))},genToken:c,convertToPinyin:function(n,i,e){return b(n).map(function(n){return e&&n.type===s?n.target.toLowerCase():n.target}).join(i||"")}}},function(n,i,e){"use strict";n.exports={PINYINS:["A","AI","AN","ANG","AO","BA","BAI","BAN","BANG","BAO","BEI","BEN","BENG","BI","BIAN","BIAO","BIE","BIN","BING","BO","BU","CA","CAI","CAN","CANG","CAO","CE","CEN","CENG","CHA","CHAI","CHAN","CHANG","CHAO","CHE","CHEN","CHENG","CHI","CHONG","CHOU","CHU","CHUA","CHUAI","CHUAN","CHUANG","CHUI","CHUN","CHUO","CI","CONG","COU","CU","CUAN","CUI","CUN","CUO","DA","DAI","DAN","DANG","DAO","DE","DEN","DENG","DI","DIAN","DIAO","DIE","DING","DIU","DONG","DOU","DU","DUAN","DUI","DUN","DUO","E","EI","EN","ENG","ER","FA","FAN","FANG","FEI","FEN","FENG","FIAO","FO","FOU","FU","GA","GAI","GAN","GANG","GAO","GE","GEI","GEN","GENG","GONG","GOU","GU","GUA","GUAI","GUAN","GUANG","GUI","GUN","GUO","HA","HAI","HAN","HANG","HAO","HE","HEI","HEN","HENG","HM","HONG","HOU","HU","HUA","HUAI","HUAN","HUANG","HUI","HUN","HUO","JI","JIA","JIAN","JIANG","JIAO","JIE","JIN","JING","JIONG","JIU","JU","JUAN","JUE","JUN","KA","KAI","KAN","KANG","KAO","KE","KEN","KENG","KONG","KOU","KU","KUA","KUAI","KUAN","KUANG","KUI","KUN","KUO","LA","LAI","LAN","LANG","LAO","LE","LEI","LENG","LI","LIA","LIAN","LIANG","LIAO","LIE","LIN","LING","LIU","LO","LONG","LOU","LU","LV","LUAN","LVE","LUN","LUO","M","MA","MAI","MAN","MANG","MAO","ME","MEI","MEN","MENG","MI","MIAN","MIAO","MIE","MIN","MING","MIU","MO","MOU","MU","N","NA","NAI","NAN","NANG","NAO","NE","NEI","NEN","NENG","NI","NIAN","NIANG","NIAO","NIE","NIN","NING","NIU","NONG","NOU","NU","NV","NUAN","NVE","NUN","NUO","O","OU","PA","PAI","PAN","PANG","PAO","PEI","PEN","PENG","PI","PIAN","PIAO","PIE","PIN","PING","PO","POU","PU","QI","QIA","QIAN","QIANG","QIAO","QIE","QIN","QING","QIONG","QIU","QU","QUAN","QUE","QUN","RAN","RANG","RAO","RE","REN","RENG","RI","RONG","ROU","RU","RUA","RUAN","RUI","RUN","RUO","SA","SAI","SAN","SANG","SAO","SE","SEN","SENG","SHA","SHAI","SHAN","SHANG","SHAO","SHE","SHEN","SHENG","SHI","SHOU","SHU","SHUA","SHUAI","SHUAN","SHUANG","SHUI","SHUN","SHUO","SI","SONG","SOU","SU","SUAN","SUI","SUN","SUO","TA","TAI","TAN","TANG","TAO","TE","TENG","TI","TIAN","TIAO","TIE","TING","TONG","TOU","TU","TUAN","TUI","TUN","TUO","WA","WAI","WAN","WANG","WEI","WEN","WENG","WO","WU","XI","XIA","XIAN","XIANG","XIAO","XIE","XIN","XING","XIONG","XIU","XU","XUAN","XUE","XUN","YA","YAN","YANG","YAO","YE","YI","YIN","YING","YO","YONG","YOU","YU","YUAN","YUE","YUN","ZA","ZAI","ZAN","ZANG","ZAO","ZE","ZEI","ZEN","ZENG","ZHA","ZHAI","ZHAN","ZHANG","ZHAO","ZHE","ZHEN","ZHENG","ZHI","ZHONG","ZHOU","ZHU","ZHUA","ZHUAI","ZHUAN","ZHUANG","ZHUI","ZHUN","ZHUO","ZI","ZONG","ZOU","ZU","ZUAN","ZUI","ZUN","ZUO",""],UNIHANS:["阿","哎","安","肮","凹","八","挀","扳","邦","勹","陂","奔","伻","屄","边","灬","憋","汃","冫","癶","峬","嚓","偲","参","仓","撡","冊","嵾","曽","叉","芆","辿","伥","抄","车","抻","阷","吃","充","抽","出","欻","揣","巛","刅","吹","旾","逴","呲","匆","凑","粗","汆","崔","邨","搓","咑","呆","丹","当","刀","嘚","扥","灯","氐","甸","刁","爹","丁","丟","东","吺","厾","耑","垖","吨","多","妸","诶","奀","鞥","儿","发","帆","匚","飞","分","丰","覅","仏","紑","夫","旮","侅","甘","冈","皋","戈","给","根","刯","工","勾","估","瓜","乖","关","光","归","丨","呙","哈","咍","佄","夯","茠","诃","黒","拫","亨","噷","叿","齁","乎","花","怀","欢","巟","灰","昏","吙","丌","加","戋","江","艽","阶","巾","坕","冂","丩","凥","姢","噘","军","咔","开","刊","忼","尻","匼","肎","劥","空","抠","扝","夸","蒯","宽","匡","亏","坤","扩","垃","来","兰","啷","捞","肋","勒","崚","哩","俩","奁","良","撩","毟","拎","伶","溜","囖","龙","瞜","噜","驴","娈","掠","抡","罗","呣","妈","埋","嫚","牤","猫","么","呅","门","甿","咪","宀","喵","乜","民","名","谬","摸","哞","毪","嗯","拏","腉","囡","囔","孬","疒","娞","恁","能","妮","拈","娘","鸟","捏","囜","宁","妞","农","羺","奴","女","奻","疟","黁","挪","喔","讴","妑","拍","眅","乓","抛","呸","喷","匉","丕","囨","剽","氕","姘","乒","钋","剖","仆","七","掐","千","呛","悄","癿","亲","靑","卭","丘","区","峑","缺","夋","呥","穣","娆","惹","人","扔","日","茸","厹","邚","挼","堧","婑","瞤","捼","仨","毢","三","桒","掻","閪","森","僧","杀","筛","山","伤","弰","奢","申","升","尸","収","书","刷","衰","闩","双","脽","吮","说","厶","忪","捜","苏","狻","夊","孙","唆","他","囼","坍","汤","夲","忑","熥","剔","天","旫","帖","厅","囲","偷","凸","湍","推","吞","乇","穵","歪","弯","尣","危","昷","翁","挝","乌","夕","虲","仙","乡","灱","些","心","星","凶","休","吁","吅","削","坃","丫","恹","央","幺","倻","一","囙","应","哟","佣","优","扜","囦","曰","晕","帀","災","兂","匨","傮","则","贼","怎","増","扎","捚","沾","张","佋","蜇","贞","争","之","中","州","朱","抓","拽","专","妆","隹","宒","卓","乲","宗","邹","租","钻","厜","尊","昨","兙"],EXCEPTIONS:{"曾":"ZENG","沈":"SHEN","嗲":"DIA","碡":"ZHOU","聒":"GUO","炔":"QUE","蚵":"KE","砉":"HUA","嬤":"MO","嬷":"MO","蹒":"PAN","蹊":"XI","丬":"PAN","霰":"XIAN","莘":"XIN","豉":"CHI","饧":"XING","筠":"JUN","长":"CHANG","帧":"ZHEN","峙":"SHI","郍":"NA","芎":"XIONG","谁":"SHUI"}}},function(n,i,e){"use strict";(n.exports=function(n){n.EXCEPTIONS={"嗲":"DIA","碡":"ZHOU","聒":"GUO","炔":"QUE","蚵":"KE","砉":"HUA","嬷":"MO","蹊":"XI","丬":"PAN","霰":"XIAN","豉":"CHI","饧":"XING","帧":"ZHEN","芎":"XIONG","谁":"SHUI","钶":"KE"},n.UNIHANS[91]="伕",n.UNIHANS[347]="仚",n.UNIHANS[393]="诌",n.UNIHANS[39]="婤",n.UNIHANS[50]="腠",n.UNIHANS[369]="攸",n.UNIHANS[123]="乯",n.UNIHANS[171]="刕",n.UNIHANS[102]="佝",n.UNIHANS[126]="犿",n.UNIHANS[176]="列",n.UNIHANS[178]="刢",n.UNIHANS[252]="娝",n.UNIHANS[330]="偸"}).shouldPatch=function(n){return"function"==typeof n&&("FOU"===n("伕").target&&"XIA"===n("仚").target&&"ZHONG"===n("诌").target&&"CHONG"===n("婤").target&&"CONG"===n("腠").target&&"YONG"===n("攸").target&&"HOU"===n("乯").target&&"LENG"===n("刕").target&&"GONG"===n("佝").target&&"HUAI"===n("犿").target&&"LIAO"===n("列").target&&"LIN"===n("刢").target&&"E"===n("钶").target)}},function(n,i,e){var a=e(0),r=function(n){var i=n[0].charCodeAt();return i>64&&i<91?1:i>96&&i<123?2:i>47&&i<58?3:40==i|91==i|-23640==i?4:41==i|93==i|-23639==i?5:0},o=function(n){for(var i in a){var e=a[i];if(e.symbol==n)return e.number-1}return-1},m=function(n,i){for(var e="";i<n.length&&3==r(n[i]);)e+=n[i],i++;return{n:parseInt(e)||1,l:e.length}};n.exports=function(n){var i=n.length,e=0,u=0,s=new Array,t=new Int8Array(118),l=new Array,p=new Array,g=new Array,c=new Array,b=new Array;if(i>0){for(var y=0;y<i;y++)l[y]=1,f=n[y],4==r(f)?p[y]=1:5==r(f)?p[y]=-1:p[y]=0,e+=p[y];if(0==e){var N=0;for(y=0;y<i;y++)if(1==p[y]){var h=1,d=y+1;for(g[N]=y;h>0;)h+=p[d],d++;c[N]=d,b[N]=m(n,d).n,N++}for(y=0;y<N;y++)for(d=g[y];d<c[y];d++)l[d]*=b[y];for(y=0;y<i;y++){var f=n[y];if(1==r(f)){var A=n[y+1]||"1";d=y,2==r(A)&&(f+=A,y++);var I=o(f);-1!=I&&(num=m(n,y+1),t[I]+=num.n*l[d],y+=num.l)}else 5==r(f)&&(y+=m(n,y+1).l)}for(y=0;y<118;y++)t[y]>0&&(u+=t[y]*parseFloat(a[y].mass))}}if(u>0){var G=new Array(0);for(y=0;y<118;y++)t[y]>0&&(s[y]=parseFloat(t[y])*parseFloat(a[y].mass)/parseFloat(u)*100,G.push({name:a[y].name,iupac:a[y].iupac,symbol:a[y].symbol,atomnumber:t[y],mass:a[y].mass,massper:s[y]}));return{name:n,mass:u,peratom:G}}return null}},function(n,i){var e=8.314;n.exports=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(n)if(i)if(a){if(r)return null;r=n*i/a/e}else a=n*i/e/r;else i=a*e*r/n;else n=a*e*r/i;return{p:n,V:i,n:a,T:r}}},function(n,i){var e=function(n,i,e){var a="";return n?(e<i-1&&(a+="H",i-e>2&&(a+=i-e-1)),a+="A",e>0&&(e>1&&(a+=e),a+="-")):(a+="B",i-e>2?a+="(OH)"+(i-e-1):i-e==2&&(a+="OH"),e>0&&(e>1&&(a+=e),a+="+")),a};n.exports=function(n,i,a){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:14,o=0;o<i.length;o++)i[o]<-1.74&&(i[o]=-1.74);var m=function(n,i,e){var a=Math.pow(10,-n[0]),r=Math.pow(10,-e),o=.5*(Math.sqrt(a*a+4*a*i+r)-a);return o>0?-Math.log(o)/Math.LN10:1024}(i,n,r),u=function(n,i,e){for(var a=0,r=1,o=new Array,m=new Array,u=new Array,s=Math.pow(10,-e),t=Math.pow(s,n.length+1),l=0;l<n.length;l++)m[l]=Math.pow(10,-n[l]);for(l=0;l<n.length+1;l++)o[l]=t*r,a+=o[l],t/=s,r*=m[l];for(l=0;l<n.length+1;l++)u[l]=i*o[l]/a;return u}(i,n,m);a||(m=r-m);var s=[{name:u?"H+":"OH-",c:Math.pow(10,-m)}];for(o=0;o<u.length;o++)s.push({name:e(a,u.length,o),c:u[o]});return{c:n,pH:m,ion:s}}},function(n,i){n.exports=function(n){var i=n.length;if(i>1){for(var e=n.reduce(function(n,i){return n+i},0)/i,a=0,r=0;r<i;r++){a+=Math.abs(parseFloat(n[r])-e);var o=0+Math.pow(parseFloat(n[r])-e,2)}var m=a/i,u=m/e,s=Math.sqrt(o/(i-1));return{input:n,average:e,average_deviation:m,relative_average_deviation:u,standard_deviation:s,relative_standard_deviation:s/m}}return null}},function(n,i,e){var a=e(0);i.makequestion=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"name",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"iupac",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:86,r=Array.from(Array(e).keys()).sort(function(){return Math.random()-.5}).slice(0,4),o=a[r[0]][n];r.sort();for(var m=new Array(4),u=0;u<4;u++)m[u]=a[r[u]][i];return{question:o,options:m}},i.correctanswer=function(n,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"name",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"iupac",o=function(n,i){for(var e in a){var r=a[e];if(r[n]==i)return r}return null}(e,n)[r];return{correct:o==i,question:n,correct_answer:o,answer:i}}}]);
{
"name": "chemicaltools",
"version": "1.2.3",
"version": "1.2.4",
"description": "Chemical Tools for Chemistry students.",

@@ -5,0 +5,0 @@ "main": "src/index.js",

var elementinfo = require("../info/elementinfo");
var calasc = function (x) {
var c = x.substr(0, 1);
var n = c.charCodeAt();
if (64 < n < 91)
var n = x[0].charCodeAt();
if (n > 64 && n < 91)
return 1;
else if (96 < n < 123)
else if (n > 96 && n < 123)
return 2;
else if (47 < n < 58)
else if (n > 47 && n < 58)
return 3;

@@ -27,6 +26,13 @@ else if (n == 40 | n == 91 | n == -23640)

}
var getNumber = function (x, index){
var num = "";
while (index < x.length && calasc(x[index]) == 3){
num += x[index];
index++;
}
return {n: parseInt(num)||1, l:num.length}
}
var calculateMass = function (x) {
var output;
var l = x.length;
var i = 0;
var s = 0;

@@ -41,8 +47,6 @@ var m = 0;

var mulnum = new Array();
var n, i2, c, y1, y2, y3, y4, T;
if (l > 0) {
while (i < l) {
i++;
for (var i = 0; i < l; i++) {
mulnumber[i] = 1;
y1 = x.substr(i - 1, 1);
y1 = x[i];
if (calasc(y1) == 4)

@@ -57,10 +61,8 @@ mulif[i] = 1;

if (s == 0) {
i = 1;
var n = 0;
while (i < l) {
var nn = 0;
for (var i = 0; i < l; i++) {
if (mulif[i] == 1) {
n++;
var c = 1;
var i2 = i + 1;
mulleft[n] = i;
mulleft[nn] = i;
while (c > 0) {

@@ -70,95 +72,28 @@ c += mulif[i2];

}
i2--;
mulright[n] = i2;
if (i2 + 1 > l)
y3 = "a";
else
y3 = x.substr(i2, 1);
if (calasc(y3) == 3) {
if (i2 + 2 > l)
y4 = "a";
else
y4 = x.substr(i2 + 1, 1);
if (calasc(y4) == 3)
mulnum[n] = parseInt(y3 + y4);
else
mulnum[n] = parseInt(y3);
} else {
mulnum[n] = 1;
}
mulright[nn] = i2;
mulnum[nn] = getNumber(x, i2).n;
nn++;
}
i++;
}
i = 0;
while (i < n) {
i++;
for (var i2 = mulleft[i]; i2 <= mulright[i]; i2++)
for (var i = 0; i < nn; i++) {
for (var i2 = mulleft[i]; i2 < mulright[i]; i2++)
mulnumber[i2] *= mulnum[i];
}
i = 0;
while (i < l) {
i++;
y1 = x.substr(i - 1, 1);
for (var i = 0; i < l; i++) {
var y1 = x[i];
if (calasc(y1) == 1) {
if (i >= l)
y2 = "1";
else
y2 = x.substr(i, 1);
var y2 = x[i+1] || "1";
var i2 = i;
if (calasc(y2) == 2) {
T = y1 + y2;
n = elementchoose(T);
if (n != -1) {
if (i + 1 >= l)
y3 = "1";
else
y3 = x.substr(i + 1, 1);
if (calasc(y3) == 3) {
if (i + 2 >= l)
y4 = "a";
else
y4 = x.substr(i + 2, 1);
if (calasc(y4) == 3) {
atomnumber[n] += parseInt(y3 + y4) * mulnumber[i];
i += 3;
} else {
atomnumber[n] += parseInt(y3) * mulnumber[i]
i += 2;
}
} else {
atomnumber[n] += mulnumber[i];
i++;
}
}
} else if (calasc(y2) == 3) {
n = elementchoose(y1);
if (n != -1) {
if (i + 1 >= l)
y3 = "a";
else
y3 = x.substr(i + 1, 1);
if (calasc(y3) == 3) {
atomnumber[n] += parseInt(y2 + y3) * mulnumber[i];
i += 2;
} else {
atomnumber[n] += parseInt(y2) * mulnumber[i];
}
}
} else {
n = elementchoose(y1);
if (n != -1)
atomnumber[n] += mulnumber[i];
}
y1+=y2;
i++;
}
var n = elementchoose(y1);
if (n != -1){
num = getNumber(x, i+1);
atomnumber[n] += num.n * mulnumber[i2];
i += num.l;
}
} else if (calasc(y1) == 5) {
if (i >= l)
y2 = "a";
else
y2 = x.substr(i, 1);
if (calasc(y2) == 3) {
if (i + 1 >= l)
y2 = "a";
else
y3 = x.substr(i + 1, 1);
if (calasc(y3) == 3) i++;
i++;
}
i += getNumber(x, i+1).l;
}

@@ -165,0 +100,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc