{"version":3,"file":"js/9133.chunk.js?v=1742528680091","mappings":"gJAqBAA,KAAE,WAnBqB,IACbC,KAAWD,IAAE,+BACNE,QAAU,GAIvBD,EAASE,MAAK,WACV,IAAMC,EAAUJ,IAAEK,MACdC,EAAMF,EAAQG,KAAK,OAEnBD,EAAIE,QAAQ,SAAW,IACvBF,EAAM,GAAHG,OAAMH,GAAGG,OACRH,EAAIE,QAAQ,MAAQ,EAAI,IAAM,IAAG,gCAErCJ,EAAQG,KAAK,MAAOD,GAE5B,GAKJ,G","sources":["webpack://fed-boilerplate/./src/3-components/video-embed/c-video-embed.js"],"sourcesContent":["import $ from 'jquery';\n\nconst initYoutubeVid = () => {\n    const $iframes = $('iframe[src*=\"youtube.com\"]');\n    if ($iframes.length <= 0) {\n        return;\n    }\n\n    $iframes.each(function() {\n        const $iframe = $(this);\n        let src = $iframe.attr('src');\n\n        if (src.indexOf('rel=0') < 0) {\n            src = `${src}${\n                src.indexOf('?') >= 0 ? '&' : '?'\n            }rel=0&showinfo=0&color=white`;\n            $iframe.attr('src', src);\n        }\n    });\n};\n\n$(() => {\n    initYoutubeVid();\n});\n"],"names":["$","$iframes","length","each","$iframe","this","src","attr","indexOf","concat"],"sourceRoot":""}