(()=>{"use strict";CM.Data={Fortunes:["Fortune #001","Fortune #002","Fortune #003","Fortune #004","Fortune #005","Fortune #006","Fortune #007","Fortune #008","Fortune #009","Fortune #010","Fortune #011","Fortune #012","Fortune #013","Fortune #014","Fortune #015","Fortune #016","Fortune #017","Fortune #018","Fortune #100","Fortune #101","Fortune #102","Fortune #103","Fortune #104"],HalloCookies:["Skull cookies","Ghost cookies","Bat cookies","Slime cookies","Pumpkin cookies","Eyeball cookies","Spider cookies"],ChristCookies:["Christmas tree biscuits","Snowflake biscuits","Snowman biscuits","Holly biscuits","Candy cane biscuits","Bell biscuits","Present biscuits"],ValCookies:["Pure heart biscuits","Ardent heart biscuits","Sour heart biscuits","Weeping heart biscuits","Golden heart biscuits","Eternal heart biscuits","Prism heart biscuits"],PlantDrops:["Elderwort biscuits","Bakeberry cookies","Duketater cookies","Green yeast digestives","Wheat slims","Fern tea","Ichor syrup"],Effects:{buildingCost:"Building prices",click:"Cookies per click",cps:"Total CPS",cursorCps:"Cursor CPS",goldenCookieDur:"Golden cookie duration",goldenCookieEffDur:"Golden cookie effect duration",goldenCookieFreq:"Golden cookie frequency",goldenCookieGain:"Golden cookie gains",grandmaCps:"Grandma CPS",itemDrops:"Random item drop chance",milk:"Effect from milk",reindeerDur:"Reindeer duration",reindeerFreq:"Reindeer frequency",reindeerGain:"Reindeer gains",upgradeCost:"Upgrade prices",wrathCookieDur:"Wrath cookie duration",wrathCookieEffDur:"Wrath cookie effect duration",wrathCookieFreq:"Wrath cookie frequency",wrathCookieGain:"Wrath cookie gains",wrinklerEat:"Wrinkler ",wrinklerSpawn:"Wrinkler spawn frequency"},ModDescription:'
\n Cookie Monster\n offers a wide range of tools and statistics to enhance your game experience.\n It is not a cheat interface – although it does offer helpers for golden cookies and such, everything can be toggled off at will to only leave how much information you want.
\n Progess on new updates and all previous release notes can be found on the GitHub page linked above!
\n Please also report any bugs you may find over there!
\n
\n ',LatestReleaseNotes:'
\n The latest update (v 2.031.4) has introduced the following features:
\n - Added a changelog to the info tab and notification indicating a new version
\n - Warnings in tooltips are now based on the income after buying the upgrade
\n - A new warning and stat for Conjure Baked Goods in combination with Frenzy has been added
\n - User can now set a custom tooltip warning ("x times cps") in the settings
\n - Garden plots with plants that give cookies on harvest now display a tooltip with current and maximum reward
\n - The Harvest All button in the Garden now has a tooltip displaying the current reward
\n - The Ascend button can now display additional info (this can be turned off in the settings)
\n - The statistics page now displays the Heavenly Chips per second
\n - The statistics page now displays the CPS needed for the next level in Chain Cookies
\n - The statistics page now displays the cookies needed for optimal rewards for garden plants
\n - You can now set a Heavenly Chips target in the settings which will be counted down to in the statistics page
\n - The color picker in the settings has been updated to its latest version
\n - The overlay of seconds/percentage of timers is now toggle able and more readable
\n - You can now toggle to disable bulk-buying from buying less than the selected amount (i.e., buying 7 of a building by pressing the buy 10 when you don\'t have enough for 10)
\n - CookieMonster now uses the Modding API provided by the base game
\n - There is a new option that allows the decoupling of the base game volume setting and the volumes of sounds created by the mod
\n - The tab title now displays a "!" if a Golden Cookie or Reindeer can spawn
\n - PP calculation can now be set to: 1) Exclude the 1st, 2nd or 3rd most optimal building (if you never want to buy that it), 2) Always consider optimal buildings that cost below "xx seconds of CPS" (toggleable in the settings), 3) Ignore any building or upgrade that is not purchasable at the moment
\n
\n This update fixes the following bugs:
\n - Minigames with enhanced tooltips will now also show these if the minigames were not loaded when CookieMonster was loaded
\n - Sound, Flashes and Notifications will no longer play when the mod is initializing
\n - The color picker should now update its display consistently
\n - Fixed some typo\'s
\n - Fixed a game breaking bug when the player had not purchased any upgrades
\n - Fixed a number of console errors thrown by CM
\n - Fixed the integration with mods that provide additional content, they should now no longer break CookieMonster
\n - The Timer bar will now disappear correctly when the Golden Switch has been activated
\n - Fixed errors in the calculation of the Chain Cookies and Wrinkler stats
\n - Fixed buy warnings showing incorrectly
\n
\n ',metric:["","","M","G","T","P","E","Z","Y"],shortScale:["","","M","B","Tr","Quadr","Quint","Sext","Sept","Oct","Non","Dec","Undec","Duodec","Tredec","Quattuordec","Quindec","Sexdec","Septendec","Octodec","Novemdec","Vigint","Unvigint","Duovigint","Trevigint","Quattuorvigint"],shortScaleAbbreviated:["","K","M","B","T","Qa","Qi","Sx","Sp","Oc","No","De","UDe","DDe","TDe","QaDe","QiDe","SxDe","SpDe","ODe","NDe","Vi","UVi","DVi","TVi","QaVi","QiVi","SxVi","SpVi","OVi","NVi","Tr","UTr","DTr","TTr","QaTr","QiTr","SxTr","SpTr","OTr","NTr","Qaa","UQa","DQa","TQa","QaQa","QiQa","SxQa","SpQa","OQa","NQa","Qia","UQi","DQi","TQi","QaQi","QiQi","SxQi","SpQi","OQi","NQi","Sxa","USx","DSx","TSx","QaSx","QiSx","SxSx","SpSx","OSx","NSx","Spa","USp","DSp","TSp","QaSp","QiSp","SxSp","SpSp","OSp","NSp","Oco","UOc","DOc","TOc","QaOc","QiOc","SxOc","SpOc","OOc","NOc","Noa","UNo","DNo","TNo","QaNo","QiNo","SxNo","SpNo","ONo","NNo","Ct","UCt"],ConfigGroups:{BarsColors:"Bars/Colors",Calculation:"Calculation",Notification:"Notification",Tooltip:"Tooltips and additional insights",Statistics:"Statistics",Notation:"Notation",Miscellaneous:"Miscellaneous"},ConfigGroupsNotification:{NotificationGeneral:"General Notifications",NotificationGC:"Golden Cookie",NotificationFC:"Fortune Cookie",NotificationSea:"Season Special",NotificationGard:"Garden Tick",NotificationMagi:"Full Magic Bar",NotificationWrink:"Wrinkler",NotificationWrinkMax:"Maximum Wrinklers"},Config:{}},CM.Data.Config.BotBar={type:"bool",group:"BarsColors",label:["Bottom Bar OFF","Bottom Bar ON"],desc:"Building Information",toggle:!0,func:function(){CM.Disp.ToggleBotBar()}},CM.Data.Config.TimerBar={type:"bool",group:"BarsColors",label:["Timer Bar OFF","Timer Bar ON"],desc:"Timers of Golden Cookie, Season Popup, Frenzy (Normal, Clot, Elder), Click Frenzy",toggle:!0,func:function(){CM.Disp.ToggleTimerBar()}},CM.Data.Config.TimerBarPos={type:"bool",group:"BarsColors",label:["Timer Bar Position (Top Left)","Timer Bar Position (Bottom)"],desc:"Placement of the Timer Bar",toggle:!1,func:function(){CM.Disp.ToggleTimerBarPos()}},CM.Data.Config.TimerBarOverlay={type:"bool",group:"BarsColors",label:["Timer Bar Overlay OFF","Timer Bar Overlay Only Seconds","Timer Bar Overlay Full"],desc:"Overlay on timers displaying seconds and/or percentage left",toggle:!0},CM.Data.Config.SortBuildings={type:"bool",group:"BarsColors",label:["Sort Buildings: Default","Sort Buildings: PP"],desc:"Sort the display of buildings in either default order or by PP",toggle:!1,func:function(){CM.Disp.UpdateBuildings()}},CM.Data.Config.SortUpgrades={type:"bool",group:"BarsColors",label:["Sort Upgrades: Default","Sort Upgrades: PP"],desc:"Sort the display of upgrades in either default order or by PP",toggle:!1,func:function(){CM.Disp.UpdateUpgrades()}},CM.Data.Config.BuildColor={type:"bool",group:"BarsColors",label:["Building Colors OFF","Building Colors ON"],desc:"Color code buildings",toggle:!0,func:function(){CM.Disp.UpdateBuildings()}},CM.Data.Config.BulkBuildColor={type:"bool",group:"BarsColors",label:["Bulk Building Colors (Single Building Color)","Bulk Building Colors (Calculated Bulk Color)"],desc:"Color code bulk buildings based on single buildings color or calculated bulk value color",toggle:!1,func:function(){CM.Disp.UpdateBuildings()}},CM.Data.Config.UpBarColor={type:"bool",group:"BarsColors",label:["Upgrade Colors/Bar OFF","Upgrade Colors with Bar ON","Upgrade Colors without Bar ON"],desc:"Color code upgrades and optionally add a counter bar",toggle:!1,func:function(){CM.Disp.ToggleUpgradeBarAndColor()}},CM.Data.Config.Colors={type:"color",group:"BarsColors",desc:{Blue:"Color Blue. Used to show better than best PP building, for Click Frenzy bar, and for various labels",Green:"Color Green. Used to show best PP building, for Blood Frenzy bar, and for various labels",Yellow:"Color Yellow. Used to show between best and worst PP buildings closer to best, for Frenzy bar, and for various labels",Orange:"Color Orange. Used to show between best and worst PP buildings closer to worst, for Next Reindeer bar, and for various labels",Red:"Color Red. Used to show worst PP building, for Clot bar, and for various labels",Purple:"Color Purple. Used to show worse than worst PP building, for Next Cookie bar, and for various labels",Gray:"Color Gray. Used to show negative or infinity PP, and for Next Cookie/Next Reindeer bar",Pink:"Color Pink. Used for Dragonflight bar",Brown:"Color Brown. Used for Dragon Harvest bar"},func:function(){CM.Disp.UpdateColors()}},CM.Data.Config.UpgradeBarFixedPos={type:"bool",group:"BarsColors",label:["Upgrade Bar Fixed Position OFF","Upgrade Bar Fixed Position ON"],desc:"Lock the upgrade bar at top of the screen to prevent it from moving ofscreen when scrolling",toggle:!0,func:function(){CM.Disp.ToggleUpgradeBarFixedPos()}},CM.Data.Config.CalcWrink={type:"bool",group:"Calculation",label:["Calculate with Wrinklers OFF","Calculate with Wrinklers ON","Calculate with Single Fattest Wrinkler ON"],desc:"Calculate times and average Cookies Per Second with (only the single non-shiny fattest) Wrinklers",toggle:!0},CM.Data.Config.CPSMode={type:"bool",group:"Calculation",label:["Current Cookies Per Second","Average Cookies Per Second"],desc:"Calculate times using current Cookies Per Second or average Cookies Per Second",toggle:!1},CM.Data.Config.AvgCPSHist={type:"bool",group:"Calculation",label:["Average CPS for past 10s","Average CPS for past 15s","Average CPS for past 30s","Average CPS for past 1m","Average CPS for past 5m","Average CPS for past 10m","Average CPS for past 15m","Average CPS for past 30m"],desc:"How much time average Cookies Per Second should consider",toggle:!1},CM.Data.Config.AvgClicksHist={type:"bool",group:"Calculation",label:["Average Cookie Clicks for past 1s","Average Cookie Clicks for past 5s","Average Cookie Clicks for past 10s","Average Cookie Clicks for past 15s","Average Cookie Clicks for past 30s"],desc:"How much time average Cookie Clicks should consider",toggle:!1},CM.Data.Config.ColorPPBulkMode={type:"bool",group:"Calculation",label:["Color of PP (Compared to Single)","Color of PP (Compared to Bulk)"],desc:"Color PP-values based on comparison with single purchase or with selected bulk-buy mode",toggle:!1,func:function(){CM.Cache.CachePP()}},CM.Data.Config.PPExcludeTop={type:"bool",group:"Calculation",label:["Don't Ignore Any","Ignore 1st Best","Ignore 1st and 2nd Best","Ignore 1st, 2nd and 3rd Best"],desc:"Makes CookieMonster ignore the 1st, 2nd or 3rd best buildings in labeling and colouring PP values",toggle:!0},CM.Data.Config.PPSecondsLowerLimit={type:"numscale",group:"Calculation",label:"Lower limit for PP (in seconds): ",desc:'If a building or upgrade costs less than the specified seconds of CPS it will also be considered optimal and label it as such ("PP is less than xx seconds of CPS"); setting to 0 ignores this option',min:0,max:1/0},CM.Data.Config.PPOnlyConsiderBuyable={type:"bool",group:"Calculation",label:["Don't Ignore Non-Buyable","Ignore Non-Buyable"],desc:"Makes CookieMonster label buildings and upgrades you can't buy right now red, useful in those situations where you just want to spend your full bank 'most optimally'",toggle:!0},CM.Data.Config.ToolWarnBon={type:"bool",group:"Calculation",label:["Calculate Tooltip Warning With Bonus CPS OFF","Calculate Tooltip Warning With Bonus CPS ON"],desc:"Calculate the warning with or without the bonus CPS you get from buying",toggle:!0},CM.Data.Config.Title={type:"bool",group:"NotificationGeneral",label:["Title OFF","Title ON","Title Pinned Tab Highlight"],desc:'Update title with Golden Cookie/Season Popup timers; pinned tab highlight only changes the title when a Golden Cookie/Season Popup spawns; "!" means that Golden Cookie/Reindeer can spawn',toggle:!0},CM.Data.Config.GeneralSound={type:"bool",group:"NotificationGeneral",label:["Consider Game Volume Setting OFF","Consider Game Volume Setting ON"],desc:'Turning this toggle to "off" makes Cookie Monster no longer consider the volume setting of the base game, allowing mod notifications to play with base game volume turned down',toggle:!0},CM.Data.Config.GCNotification={type:"bool",group:"NotificationGC",label:["Notification OFF","Notification ON"],desc:"Create a notification when Golden Cookie spawns",toggle:!0,func:function(){CM.Config.CheckNotificationPermissions(CM.Options.GCNotification)}},CM.Data.Config.GCFlash={type:"bool",group:"NotificationGC",label:["Flash OFF","Flash ON"],desc:"Flash screen on Golden Cookie",toggle:!0},CM.Data.Config.GCSound={type:"bool",group:"NotificationGC",label:["Sound OFF","Sound ON"],desc:"Play a sound on Golden Cookie",toggle:!0},CM.Data.Config.GCVolume={type:"vol",group:"NotificationGC",label:[],desc:"Volume"};for(let o=0;o<101;o++)CM.Data.Config.GCVolume.label[o]=`${o}%`;CM.Data.Config.GCSoundURL={type:"url",group:"NotificationGC",label:"Sound URL:",desc:"URL of the sound to be played when a Golden Cookie spawns"},CM.Data.Config.FortuneNotification={type:"bool",group:"NotificationFC",label:["Notification OFF","Notification ON"],desc:"Create a notification when Fortune Cookie is on the Ticker",toggle:!0,func:function(){CM.Config.CheckNotificationPermissions(CM.Options.FortuneNotification)}},CM.Data.Config.FortuneFlash={type:"bool",group:"NotificationFC",label:["Flash OFF","Flash ON"],desc:"Flash screen on Fortune Cookie",toggle:!0},CM.Data.Config.FortuneSound={type:"bool",group:"NotificationFC",label:["Sound OFF","Sound ON"],desc:"Play a sound on Fortune Cookie",toggle:!0},CM.Data.Config.FortuneVolume={type:"vol",group:"NotificationFC",label:[],desc:"Volume"};for(let o=0;o<101;o++)CM.Data.Config.FortuneVolume.label[o]=`${o}%`;CM.Data.Config.FortuneSoundURL={type:"url",group:"NotificationFC",label:"Sound URL:",desc:"URL of the sound to be played when the Ticker has a Fortune Cookie"},CM.Data.Config.SeaNotification={type:"bool",group:"NotificationSea",label:["Notification OFF","Notification ON"],desc:"Create a notification on Season Popup",toggle:!0,func:function(){CM.Config.CheckNotificationPermissions(CM.Options.SeaNotification)}},CM.Data.Config.SeaFlash={type:"bool",group:"NotificationSea",label:["Flash OFF","Flash ON"],desc:"Flash screen on Season Popup",toggle:!0},CM.Data.Config.SeaSound={type:"bool",group:"NotificationSea",label:["Sound OFF","Sound ON"],desc:"Play a sound on Season Popup",toggle:!0},CM.Data.Config.SeaVolume={type:"vol",group:"NotificationSea",label:[],desc:"Volume"};for(let o=0;o<101;o++)CM.Data.Config.SeaVolume.label[o]=`${o}%`;CM.Data.Config.SeaSoundURL={type:"url",group:"NotificationSea",label:"Sound URL:",desc:"URL of the sound to be played when a Season Special spawns"},CM.Data.Config.GardFlash={type:"bool",group:"NotificationGard",label:["Garden Tick Flash OFF","Flash ON"],desc:"Flash screen on Garden Tick",toggle:!0},CM.Data.Config.GardSound={type:"bool",group:"NotificationGard",label:["Sound OFF","Sound ON"],desc:"Play a sound on Garden Tick",toggle:!0},CM.Data.Config.GardVolume={type:"vol",group:"NotificationGard",label:[],desc:"Volume"};for(let o=0;o<101;o++)CM.Data.Config.GardVolume.label[o]=`${o}%`;CM.Data.Config.GardSoundURL={type:"url",group:"NotificationGard",label:"Garden Tick Sound URL:",desc:"URL of the sound to be played when the garden ticks"},CM.Data.Config.MagicNotification={type:"bool",group:"NotificationMagi",label:["Notification OFF","Notification ON"],desc:"Create a notification when magic reaches maximum",toggle:!0,func:function(){CM.Config.CheckNotificationPermissions(CM.Options.MagicNotification)}},CM.Data.Config.MagicFlash={type:"bool",group:"NotificationMagi",label:["Flash OFF","Flash ON"],desc:"Flash screen when magic reaches maximum",toggle:!0},CM.Data.Config.MagicSound={type:"bool",group:"NotificationMagi",label:["Sound OFF","Sound ON"],desc:"Play a sound when magic reaches maximum",toggle:!0},CM.Data.Config.MagicVolume={type:"vol",group:"NotificationMagi",label:[],desc:"Volume"};for(let o=0;o<101;o++)CM.Data.Config.MagicVolume.label[o]=`${o}%`;CM.Data.Config.MagicSoundURL={type:"url",group:"NotificationMagi",label:"Sound URL:",desc:"URL of the sound to be played when magic reaches maxium"},CM.Data.Config.WrinklerNotification={type:"bool",group:"NotificationWrink",label:["Notification OFF","Notification ON"],desc:"Create a notification when a Wrinkler appears",toggle:!0,func:function(){CM.Config.CheckNotificationPermissions(CM.Options.WrinklerNotification)}},CM.Data.Config.WrinklerFlash={type:"bool",group:"NotificationWrink",label:["Flash OFF","Flash ON"],desc:"Flash screen when a Wrinkler appears",toggle:!0},CM.Data.Config.WrinklerSound={type:"bool",group:"NotificationWrink",label:["Sound OFF","Sound ON"],desc:"Play a sound when a Wrinkler appears",toggle:!0},CM.Data.Config.WrinklerVolume={type:"vol",group:"NotificationWrink",label:[],desc:"Volume"};for(let o=0;o<101;o++)CM.Data.Config.WrinklerVolume.label[o]=`${o}%`;CM.Data.Config.WrinklerSoundURL={type:"url",group:"NotificationWrink",label:"Sound URL:",desc:"URL of the sound to be played when a Wrinkler appears"},CM.Data.Config.WrinklerMaxNotification={type:"bool",group:"NotificationWrinkMax",label:["Notification OFF","Notification ON"],desc:"Create a notification when the maximum amount of Wrinklers has appeared",toggle:!0,func:function(){CM.Config.CheckNotificationPermissions(CM.Options.WrinklerMaxNotification)}},CM.Data.Config.WrinklerMaxFlash={type:"bool",group:"NotificationWrinkMax",label:["Flash OFF","Flash ON"],desc:"Flash screen when the maximum amount of Wrinklers has appeared",toggle:!0},CM.Data.Config.WrinklerMaxSound={type:"bool",group:"NotificationWrinkMax",label:["Sound OFF","Sound ON"],desc:"Play a sound when the maximum amount of Wrinklers has appeared",toggle:!0},CM.Data.Config.WrinklerMaxVolume={type:"vol",group:"NotificationWrinkMax",label:[],desc:"Volume"};for(let o=0;o<101;o++)CM.Data.Config.WrinklerMaxVolume.label[o]=`${o}%`;CM.Data.Config.WrinklerMaxSoundURL={type:"url",group:"NotificationWrinkMax",label:"Sound URL:",desc:"URL of the sound to be played when the maximum amount of Wrinklers has appeared"},CM.Data.Config.TooltipBuildUpgrade={type:"bool",group:"Tooltip",label:["Building/Upgrade Tooltip Information OFF","Building/Upgrade Tooltip Information ON"],desc:"Extra information in Building/Upgrade tooltips",toggle:!0},CM.Data.Config.TooltipAmor={type:"bool",group:"Tooltip",label:["Buildings Tooltip Amortization Information OFF","Buildings Tooltip Amortization Information ON"],desc:"Add amortization information to buildings tooltip",toggle:!0},CM.Data.Config.ToolWarnLucky={type:"bool",group:"Tooltip",label:["Tooltip Lucky Warning OFF","Tooltip Lucky Warning ON"],desc:'A warning when buying if it will put the bank under the amount needed for max "Lucky!" rewards',toggle:!0},CM.Data.Config.ToolWarnLuckyFrenzy={type:"bool",group:"Tooltip",label:["Tooltip Lucky Frenzy Warning OFF","Tooltip Lucky Frenzy Warning ON"],desc:'A warning when buying if it will put the bank under the amount needed for max "Lucky!" (Frenzy) rewards',toggle:!0},CM.Data.Config.ToolWarnConjure={type:"bool",group:"Tooltip",label:["Tooltip Conjure Warning OFF","Tooltip Conjure Warning ON"],desc:'A warning when buying if it will put the bank under the amount needed for max "Conjure Baked Goods" rewards',toggle:!0},CM.Data.Config.ToolWarnConjureFrenzy={type:"bool",group:"Tooltip",label:["Tooltip Conjure Frenzy Warning OFF","Tooltip Conjure Frenzy Warning ON"],desc:'A warning when buying if it will put the bank under the amount needed for max "Conjure Baked Goods" rewards with Frenzy active',toggle:!0},CM.Data.Config.ToolWarnEdifice={type:"bool",group:"Tooltip",label:["Tooltip Edifice Warning OFF","Tooltip Edifice Warning ON"],desc:'A warning when buying if it will put the bank under the amount needed for "Spontaneous Edifice" to possibly give you your most expensive building',toggle:!0},CM.Data.Config.ToolWarnUser={type:"numscale",group:"Tooltip",label:"Tooltip Warning At x times CPS: ",desc:"Use this to show a customized warning if buying it will put the bank under the amount equal to value times cps; setting to 0 disables the function altogether",min:0,max:1/0},CM.Data.Config.ToolWarnPos={type:"bool",group:"Tooltip",label:["Tooltip Warning Position (Left)","Tooltip Warning Position (Bottom)"],desc:"Placement of the warning boxes",toggle:!1,func:function(){CM.Disp.ToggleToolWarnPos()}},CM.Data.Config.TooltipGrim={type:"bool",group:"Tooltip",label:["Grimoire Tooltip Information OFF","Grimoire Tooltip Information ON"],desc:"Extra information in tooltip for grimoire",toggle:!0},CM.Data.Config.TooltipWrink={type:"bool",group:"Tooltip",label:["Wrinkler Tooltip OFF","Wrinkler Tooltip ON"],desc:"Shows the amount of cookies a wrinkler will give when popping it",toggle:!0},CM.Data.Config.TooltipLump={type:"bool",group:"Tooltip",label:["Sugar Lump Tooltip OFF","Sugar Lump Tooltip ON"],desc:"Shows the current Sugar Lump type in Sugar lump tooltip.",toggle:!0},CM.Data.Config.TooltipPlots={type:"bool",group:"Tooltip",label:["Garden Plots Tooltip OFF","Garden Plots Tooltip ON"],desc:"Shows a tooltip for plants that have a cookie reward.",toggle:!0},CM.Data.Config.DragonAuraInfo={type:"bool",group:"Tooltip",label:["Extra Dragon Aura Info OFF","Extra Dragon Aura Info ON"],desc:"Shows information about changes in CPS and costs in the dragon aura interface.",toggle:!0},CM.Data.Config.TooltipAscendButton={type:"bool",group:"Tooltip",label:["Show Extra Info Ascend Tooltip OFF","Show Extra Info Ascend Tooltip ON"],desc:"Shows additional info in the ascend tooltip",toggle:!0},CM.Data.Config.Stats={type:"bool",group:"Statistics",label:["Statistics OFF","Statistics ON"],desc:"Extra Cookie Monster statistics!",toggle:!0},CM.Data.Config.MissingUpgrades={type:"bool",group:"Statistics",label:["Missing Upgrades OFF","Missing Upgrades ON"],desc:"Shows Missing upgrades in Stats Menu. This feature can be laggy for users with a low amount of unlocked achievements.",toggle:!0},CM.Data.Config.UpStats={type:"bool",group:"Statistics",label:["Statistics Update Rate (Default)","Statistics Update Rate (1s)"],desc:"Default Game rate is once every 5 seconds",toggle:!1},CM.Data.Config.TimeFormat={type:"bool",group:"Statistics",label:["Time XXd, XXh, XXm, XXs","Time XX:XX:XX:XX:XX"],desc:"Change the time format",toggle:!1},CM.Data.Config.DetailedTime={type:"bool",group:"Statistics",label:["Detailed Time OFF","Detailed Time ON"],desc:"Change how time is displayed in certain statistics and tooltips",toggle:!0,func:function(){CM.Disp.ToggleDetailedTime()}},CM.Data.Config.GrimoireBar={type:"bool",group:"Statistics",label:["Grimoire Magic Meter Timer OFF","Grimoire Magic Meter Timer ON"],desc:"A timer on how long before the Grimoire magic meter is full",toggle:!0},CM.Data.Config.HeavenlyChipsTarget={type:"numscale",group:"Statistics",label:"Heavenly Chips Target: ",desc:'Use this to set a Heavenly Chips target that will be counted towards in the "prestige" statsistics sections',min:1,max:1/0},CM.Data.Config.ShowMissedGC={type:"bool",group:"Statistics",label:["Missed GC OFF","Missed GC ON"],desc:"Show a stat in the statistics screen that counts how many Golden Cookies you have missed",toggle:!0},CM.Data.Config.Scale={type:"bool",group:"Notation",label:["Game's Setting Scale","Metric","Short Scale","Short Scale (Abbreviated)","Scientific Notation","Engineering Notation"],desc:"Change how long numbers are handled",toggle:!1,func:function(){CM.Disp.RefreshScale()}},CM.Data.Config.ScaleDecimals={type:"bool",group:"Notation",label:["1 decimals","2 decimals","3 decimals"],desc:"Set the number of decimals used when applicable",toggle:!1,func:function(){CM.Disp.RefreshScale()}},CM.Data.Config.ScaleSeparator={type:"bool",group:"Notation",label:[". for decimals (Standard)",". for thousands"],desc:"Set the separator used for decimals and thousands",toggle:!1,func:function(){CM.Disp.RefreshScale()}},CM.Data.Config.ScaleCutoff={type:"numscale",group:"Notation",label:"Notation Cut-off Point: ",desc:"The number from which CookieMonster will start formatting numbers based on chosen scale. Standard is 999,999. Setting this above 999,999,999 might break certain notations",min:1,max:999999999},CM.Data.Config.GCTimer={type:"bool",group:"Miscellaneous",label:["Golden Cookie Timer OFF","Golden Cookie Timer ON"],desc:"A timer on the Golden Cookie when it has been spawned",toggle:!0,func:function(){CM.Disp.ToggleGCTimer()}},CM.Data.Config.Favicon={type:"bool",group:"Miscellaneous",label:["Favicon OFF","Favicon ON"],desc:"Update favicon with Golden/Wrath Cookie",toggle:!0,func:function(){CM.Disp.UpdateFavicon()}},CM.Data.Config.WrinklerButtons={type:"bool",group:"Miscellaneous",label:["Extra Buttons OFF","Extra Buttons ON"],desc:"Show buttons for popping wrinklers at bottom of cookie section",toggle:!0,func:function(){CM.Disp.UpdateWrinklerButtons()}},CM.Data.Config.BulkBuyBlock={type:"bool",group:"Miscellaneous",label:["Block Bulk Buying OFF","Block Bulk Buying ON"],desc:"Block clicking bulk buying when you can't buy all. This prevents buying 7 of a building when you are in buy-10 or buy-100 mode.",toggle:!0},CM.Data.ConfigDefault={BotBar:1,TimerBar:1,TimerBarPos:0,TimerBarOverlay:2,BuildColor:1,BulkBuildColor:0,UpBarColor:1,UpgradeBarFixedPos:1,CalcWrink:0,CPSMode:1,AvgCPSHist:3,AvgClicksHist:0,ColorPPBulkMode:1,PPExcludeTop:0,PPSecondsLowerLimit:0,PPOnlyConsiderBuyable:0,ToolWarnBon:0,Title:1,GeneralSound:1,GCNotification:0,GCFlash:1,GCSound:1,GCVolume:100,GCSoundURL:"https://freesound.org/data/previews/66/66717_931655-lq.mp3",FortuneNotification:0,FortuneFlash:1,FortuneSound:1,FortuneVolume:100,FortuneSoundURL:"https://freesound.org/data/previews/174/174027_3242494-lq.mp3",SeaNotification:0,SeaFlash:1,SeaSound:1,SeaVolume:100,SeaSoundURL:"https://www.freesound.org/data/previews/121/121099_2193266-lq.mp3",GardFlash:1,GardSound:1,GardVolume:100,GardSoundURL:"https://freesound.org/data/previews/103/103046_861714-lq.mp3",MagicNotification:0,MagicFlash:1,MagicSound:1,MagicVolume:100,MagicSoundURL:"https://freesound.org/data/previews/221/221683_1015240-lq.mp3",WrinklerNotification:0,WrinklerFlash:1,WrinklerSound:1,WrinklerVolume:100,WrinklerSoundURL:"https://freesound.org/data/previews/124/124186_8043-lq.mp3",WrinklerMaxNotification:0,WrinklerMaxFlash:1,WrinklerMaxSound:1,WrinklerMaxVolume:100,WrinklerMaxSoundURL:"https://freesound.org/data/previews/152/152743_15663-lq.mp3",TooltipBuildUpgrade:1,TooltipAmor:0,ToolWarnLucky:1,ToolWarnLuckyFrenzy:1,ToolWarnConjure:1,ToolWarnConjureFrenzy:1,ToolWarnEdifice:1,ToolWarnUser:0,ToolWarnPos:1,TooltipGrim:1,TooltipWrink:1,TooltipLump:1,TooltipPlots:1,DragonAuraInfo:1,TooltipAscendButton:1,Stats:1,MissingUpgrades:1,UpStats:1,TimeFormat:0,DetailedTime:1,GrimoireBar:1,HeavenlyChipsTarget:1,ShowMissedGC:1,Scale:2,ScaleDecimals:2,ScaleSeparator:0,ScaleCutoff:999999,Colors:{Blue:"#4bb8f0",Green:"#00ff00",Yellow:"#ffff00",Orange:"#ff7f00",Red:"#ff0000",Purple:"#ff00ff",Gray:"#b3b3b3",Pink:"#ff1493",Brown:"#8b4513"},SortBuildings:0,SortUpgrades:0,GCTimer:1,Favicon:1,WrinklerButtons:1,BulkBuyBlock:0,Header:{BarsColors:1,Calculation:1,Notification:1,NotificationGeneral:1,NotificationGC:1,NotificationFC:1,NotificationSea:1,NotificationGard:1,NotificationMagi:1,NotificationWrink:1,NotificationWrinkMax:1,Tooltip:1,Statistics:1,Notation:1,Miscellaneous:1,Lucky:1,Chain:1,Spells:1,Garden:1,Prestige:1,Wrink:1,Sea:1,Misc:1,InfoTab:1}}})();