{"version":3,"file":"components-tooltip.281deef45dea6947703b.js","mappings":"qLAKA,SACEA,KAAMA,MACJC,EAAAA,EAAAA,IAAM,iBAAkB,CACtBC,MAAO,QACPC,QAAUC,GACDC,SAASC,eAAeF,EAAIG,aAAa,qBAAqBC,aAEvE,E","sources":["webpack://silverstripe-base/./themes/app/src/scripts/components/tooltip.js"],"sourcesContent":["import tippy from 'tippy.js'\nimport 'tippy.js/dist/tippy.css'\nimport 'tippy.js/themes/light.css'\nimport '@styles/components/tooltip.css'\n\nexport default {\n init: () => {\n tippy('[data-tooltip]', {\n theme: 'light',\n content: (ref) => {\n return document.getElementById(ref.getAttribute('aria-describedby')).textContent\n },\n })\n },\n}\n"],"names":["init","tippy","theme","content","ref","document","getElementById","getAttribute","textContent"],"sourceRoot":""}