{"version":3,"file":"js/main.js","mappings":"iCACA,MAAMA,EAAcC,SAASC,cAAc,8BAErCC,EADU,IAAIC,IAAIC,SAASC,MAAOC,aACfC,IAAI,iBACvBC,EAAUR,SAASS,eAAe,iBAAiBP,KASrDM,GACAE,YAAW,IARf,SAAwBF,GACpB,IAAIG,EAAeZ,EAAYa,aAC3BC,EAAaL,EAAQM,wBAAwBC,IAAMJ,EAEvDK,OAAOC,SAAS,CAACF,IAAKF,EAAWK,SAAU,UAC/C,CAGqBC,CAAeX,IAAU,G,iBCd9CY,QAAQC,IACJ,MAAMC,EAAmBF,OAAO,qFAC1BG,EAAsB,+EAK5BD,EAAiBE,MAAM,WACfH,EAAEI,MAAMC,KAAKH,GAAqBI,OAAS,GAC3CN,EAAEI,MAAMG,IAAI,CACRC,OAAQ,WAGpB,IAKAP,EAAiBQ,GAAG,SAAS,WAC3BT,EAAEI,MAAMC,KAAKH,GAAqB,GAAGQ,OACvC,GAAE,G,GCnBFC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaE,QAGrB,IAAIC,EAASN,EAAyBE,GAAY,CAGjDG,QAAS,CAAC,GAOX,OAHAE,EAAoBL,GAAUI,EAAQA,EAAOD,QAASJ,GAG/CK,EAAOD,OACf,E","sources":["webpack://tgtheme/./src/js/_quickResponseLinks.js","webpack://tgtheme/./src/js/_cards.js","webpack://tgtheme/webpack/bootstrap"],"sourcesContent":["\nconst themeHeader = document.querySelector('.elementor-location-header');\nconst params = (new URL(location.href)).searchParams;\nconst elementId = params.get('dataserv-link');\nconst element = document.getElementById(`dataserv-link-${elementId}`);\n\nfunction scrollIntoView(element) {\n let navbarHeight = themeHeader.clientHeight;\n let offsetTop = element.getBoundingClientRect().top - navbarHeight;\n\n window.scrollTo({top: offsetTop, behavior: 'smooth'})\n}\n\nif (element) {\n setTimeout(() => scrollIntoView(element), 20)\n}\n","jQuery(($) => {\n const $CLICKABLE_CARDS = jQuery('.js-clickable-card, .elementor-grid-item.tg_case_study, .elementor-grid-item.post')\n const CARD_LINK_SELECTORS = 'a.card__link, a.elementor-post__read-more, a.elementor-post__thumbnail__link'\n\n /**\n * Add cursor style to cards with links\n */\n $CLICKABLE_CARDS.each( function() {\n if ($(this).find(CARD_LINK_SELECTORS).length > 0) {\n $(this).css({\n cursor: 'pointer'\n });\n }\n })\n \n /**\n * Clone click handler to card wrapper node\n */\n $CLICKABLE_CARDS.on('click', function() {\n $(this).find(CARD_LINK_SELECTORS)[0].click()\n })\n})\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n"],"names":["themeHeader","document","querySelector","elementId","URL","location","href","searchParams","get","element","getElementById","setTimeout","navbarHeight","clientHeight","offsetTop","getBoundingClientRect","top","window","scrollTo","behavior","scrollIntoView","jQuery","$","$CLICKABLE_CARDS","CARD_LINK_SELECTORS","each","this","find","length","css","cursor","on","click","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__"],"sourceRoot":""}