{"version":3,"sources":["assets/js/app.js"],"names":["window","$","console","log","document","ready","querySelectorAll","forEach","currentValue","index","setAttribute","parentElement","on","attr"],"mappings":";AAEAA,OAAOC,EAAIA,EACXC,QAAQC,IAAIF,GACZA,EAAEG,UAAUC,MAAM,WAEdD,SAASE,iBAAiB,OAAOC,QAAQ,SAACC,EAAcC,GACpDD,EAAaE,aAAa,gBAA0BD,SAAAA,OAAAA,IACpDD,EAAaE,aAAa,qBAAsB,WAGpDN,SAASE,iBAAiB,kBAAkBC,QAAQ,SAACC,EAAcC,GAC/DD,EAAaE,aAAa,gBAA0BD,SAAAA,OAAAA,IACpDD,EAAaE,aAAa,qBAAsB,WAGpDN,SAASE,iBAAiB,KAAKC,QAAQ,SAACC,EAAcC,GAClDD,EAAaE,aAAa,gBAAyBD,QAAAA,OAAAA,IACnDD,EAAaE,aAAa,qBAAsB,WAGpDN,SAASE,iBAAiB,KAAKC,QAAQ,SAACC,EAAcC,GAClDD,EAAaE,aAAa,gBAAyBD,QAAAA,OAAAA,IACnDD,EAAaE,aAAa,qBAAsB,WAGpDN,SAASE,iBAAiB,kBAAkBC,QAAQ,SAACC,EAAcC,GAC/DD,EAAaE,aAAa,gBAAyBD,QAAAA,OAAAA,IACnDD,EAAaE,aAAa,qBAAsB,WAGpDN,SAASE,iBAAiB,eAAeC,QAAQ,SAACC,EAAcC,GAC5DD,EAAaE,aAAa,gBAAmCD,kBAAAA,OAAAA,IAC7DD,EAAaE,aAAa,qBAAsB,WAGpDN,SAASE,iBAAiB,4BAA4BC,QAAQ,SAACC,EAAcC,GACzED,EAAaE,aAAa,gBAA6BD,YAAAA,OAAAA,IACvDD,EAAaE,aAAa,qBAAsB,UAGpDN,SAASE,iBAAiB,qBAAqBC,QAAQ,SAACC,EAAcC,GAClED,EAAaE,aAAa,gBAA2BD,UAAAA,OAAAA,IACrDD,EAAaE,aAAa,qBAAsB,UAGpDN,SAASE,iBAAiB,UAAUC,QAAQ,SAACC,EAAcC,GACvDD,EAAaG,cAAcD,aAAa,gBAA2BD,UAAAA,OAAAA,IACnED,EAAaG,cAAcD,aAAa,qBAAsB,UAElEN,SAASE,iBAAiB,uCAAuCC,QAAQ,SAACC,EAAcC,GACpFD,EAAaG,cAAcD,aAAa,gBAA6BD,YAAAA,OAAAA,IACrED,EAAaG,cAAcD,aAAa,qBAAsB,YAMtET,EAAE,eAAeW,GAAG,kBAAmB,WACnCV,QAAQC,IAAI,QACZF,EAAE,sBAAsBY,KAAK,MAAOZ,EAAE,sBAAsBY,KAAK","file":"app.js","sourceRoot":"..","sourcesContent":["//import $ from 'jquery';\r\n\r\nwindow.$ = $;\r\nconsole.log($);\r\n$(document).ready(function() {\r\n //images\r\n document.querySelectorAll('img').forEach((currentValue, index) => {\r\n currentValue.setAttribute('pardot-region', `image ${index}`);\r\n currentValue.setAttribute('pardot-region-type', \"image\");\r\n });\r\n //h tag\r\n document.querySelectorAll('h1,h2,h3,h4,h5').forEach((currentValue, index) => {\r\n currentValue.setAttribute('pardot-region', `title ${index}`);\r\n currentValue.setAttribute('pardot-region-type', \"basic\");\r\n });\r\n //text\r\n document.querySelectorAll('p').forEach((currentValue, index) => {\r\n currentValue.setAttribute('pardot-region', `text ${index}`);\r\n currentValue.setAttribute('pardot-region-type', \"basic\");\r\n });\r\n //phone\r\n document.querySelectorAll('p').forEach((currentValue, index) => {\r\n currentValue.setAttribute('pardot-region', `text ${index}`);\r\n currentValue.setAttribute('pardot-region-type', \"basic\");\r\n });\r\n //footer terms\r\n document.querySelectorAll('.footer .terms').forEach((currentValue, index) => {\r\n currentValue.setAttribute('pardot-region', `link ${index}`);\r\n currentValue.setAttribute('pardot-region-type', \"basic\");\r\n });\r\n //footer language dropdown label\r\n document.querySelectorAll('#link_lang1').forEach((currentValue, index) => {\r\n currentValue.setAttribute('pardot-region', `language label ${index}`);\r\n currentValue.setAttribute('pardot-region-type', \"basic\");\r\n });\r\n //footer language dropdown\r\n document.querySelectorAll('.footer .dropdown-menu a').forEach((currentValue, index) => {\r\n currentValue.setAttribute('pardot-region', `language ${index}`);\r\n currentValue.setAttribute('pardot-region-type', \"link\");\r\n });\r\n //footer social icon\r\n document.querySelectorAll('.footer .social a').forEach((currentValue, index) => {\r\n currentValue.setAttribute('pardot-region', `social ${index}`);\r\n currentValue.setAttribute('pardot-region-type', \"link\");\r\n });\r\n //button\r\n document.querySelectorAll('button').forEach((currentValue, index) => {\r\n currentValue.parentElement.setAttribute('pardot-region', `button ${index}`);\r\n currentValue.parentElement.setAttribute('pardot-region-type', \"html\");\r\n });\r\n document.querySelectorAll('.thank-you-page .thumbnail-outter a').forEach((currentValue, index) => {\r\n currentValue.parentElement.setAttribute('pardot-region', `redirect ${index}`);\r\n currentValue.parentElement.setAttribute('pardot-region-type', \"html\");\r\n });\r\n\r\n});\r\n\r\n\r\n$('#videoModal').on('hidden.bs.modal', function () {\r\n console.log(\"hide\");\r\n $(\"#videoModal iframe\").attr(\"src\", $(\"#videoModal iframe\").attr(\"src\"));\r\n});\r\n\r\n\r\n\r\n"]}