{"version":3,"sources":["webpack:///./app/javascript/src/pricing.js"],"names":["pricing","$frequency","$","$monthly","$yearly","find","click","event","btn","currentTarget","removeClass","addClass","hasClass","document","on"],"mappings":"6EAAA,gBAAMA,EAAU,WACd,IAAMC,EAAaC,EAAE,iBACfC,EAAWD,EAAE,qBACbE,EAAUF,EAAE,oBAClBD,EAAWI,KAAK,UAAUC,OAAM,SAAUC,GACxC,IAAIC,EAAMN,EAAEK,EAAME,eAClBR,EAAWI,KAAK,UAAUK,YAAY,UACtCF,EAAIG,SAAS,UACTH,EAAII,SAAS,YACfT,EAASO,YAAY,UACrBN,EAAQO,SAAS,YAEjBR,EAASQ,SAAS,UAClBP,EAAQM,YAAY,eAK1BV,IAEAE,EAAEW,UAAUC,GAAG,mBAAmB,WAChCd,S","file":"js/7-5e4b07d37c5d2de0cbc7.chunk.js","sourcesContent":["const pricing = () => {\n const $frequency = $(\".js-frequency\");\n const $monthly = $(\".js-price-monthly\");\n const $yearly = $(\".js-price-yearly\");\n $frequency.find(\"button\").click(function (event) {\n let btn = $(event.currentTarget);\n $frequency.find(\"button\").removeClass(\"active\");\n btn.addClass(\"active\");\n if (btn.hasClass(\"monthly\")) {\n $monthly.removeClass(\"d-none\");\n $yearly.addClass(\"d-none\");\n } else {\n $monthly.addClass(\"d-none\");\n $yearly.removeClass(\"d-none\");\n }\n });\n};\n\npricing();\n\n$(document).on(\"turbolinks:load\", function () {\n pricing();\n});\n"],"sourceRoot":""}