{"version":3,"file":"services.min.js","sources":["scripts/services.min.js"],"sourcesContent":["let coreValuesArray = [];\r\nlet currentCoreValue = 0;\r\n\r\nfunction initializeCoreValues() {\r\n currentCoreValue = Math.floor(Math.random()*coreValuesArray.length);\r\n $(\".coreValueText\").html(coreValuesArray[currentCoreValue]);\r\n};\r\n\r\nfunction setCoreValue(shift) {\r\n if(currentCoreValue + shift < 0) {\r\n currentCoreValue = coreValuesArray.length - 1;\r\n }\r\n else if(currentCoreValue + shift >= coreValuesArray.length) {\r\n currentCoreValue = 0;\r\n }\r\n else {\r\n currentCoreValue += shift;\r\n };\r\n\r\n $(\".coreValueText\").fadeIn(400, () => {\r\n $(\".coreValueText\").fadeOut(400, () => {\r\n $(\".coreValueText\").fadeIn(400);\r\n $(\".coreValueText\").html(coreValuesArray[currentCoreValue]);\r\n });\r\n });\r\n};"],"names":["let","coreValuesArray","currentCoreValue","initializeCoreValues","Math","floor","random","length","$","html","setCoreValue","shift","fadeIn","fadeOut"],"mappings":"AAAAA,IAAIC,gBAAkB,GAClBC,iBAAmB,EAEvB,SAASC,uBACLD,iBAAmBE,KAAKC,MAAMD,KAAKE,SAASL,gBAAgBM,QAC5DC,EAAE,kBAAkBC,KAAKR,gBAAgBC,mBAG7C,SAASQ,aAAaC,GACfT,iBAAmBS,EAAQ,EAC1BT,iBAAmBD,gBAAgBM,OAAS,EAExCL,iBAAmBS,GAASV,gBAAgBM,OAChDL,iBAAmB,EAGnBA,kBAAoBS,EAGxBH,EAAE,kBAAkBI,OAAO,IAAK,KAC5BJ,EAAE,kBAAkBK,QAAQ,IAAK,KAC7BL,EAAE,kBAAkBI,OAAO,KAC3BJ,EAAE,kBAAkBC,KAAKR,gBAAgBC"}