{"version":3,"file":"js/6614-9856cd905fbab864740a.chunk.js","mappings":"0KA+BA,IC7BA,EDAgBA,MACdC,EAAAA,EAAAA,YAAU,KAER,MAAMC,EAAKC,SAASC,cAAc,UAClCF,EAAGG,IAAM,qEACTH,EAAGI,GAAK,gBACRH,SAASI,KAAKC,YAAYN,GAG1B,MAAMO,EAAKN,SAASC,cAAc,UAWlC,OAVAK,EAAGC,UAAY,sOAQfP,SAASI,KAAKC,YAAYC,GAEnB,KACLN,SAASI,KAAKI,YAAYT,GAC1BC,SAASI,KAAKI,YAAYF,EAAG,CAC9B,GACA,KAEIG,EAAAA,EAAAA,KAAA,OAAKN,GAAG,e","sources":["webpack://halo/./app/client/src/views/Careers/Careers.jsx","webpack://halo/./app/client/src/views/Careers/index.jsx"],"sourcesContent":["import { useEffect } from \"react\";\n\nconst Careers = () => {\n  useEffect(() => {\n    // Add Greenhouse script for embed\n    const s1 = document.createElement(\"script\");\n    s1.src = \"https://boards.greenhouse.io/embed/job_board/js?for=halodotscience\";\n    s1.id = \"grnhse_script\";\n    document.body.appendChild(s1);\n\n    // Add script to make sure Greenhouse script is run (even if page has already been loaded - Greenhouse normally runs everything only on page load)\n    const s2 = document.createElement(\"script\");\n    s2.innerHTML = `\n      var grnhse_script = document.getElementById('grnhse_script');\n      grnhse_script.onload = function() {\n        if (document.readyState === 'complete') {\n          Grnhse.Iframe.autoLoad();\n        }\n      };\n    `;\n    document.body.appendChild(s2);\n\n    return () => {\n      document.body.removeChild(s1);\n      document.body.removeChild(s2);\n    };\n  }, []);\n\n  return <div id=\"grnhse_app\" />;\n};\n\nexport default Careers;\n","import Careers from \"./Careers\";\n\nexport default Careers;\n"],"names":["Careers","useEffect","s1","document","createElement","src","id","body","appendChild","s2","innerHTML","removeChild","_jsx"],"sourceRoot":""}