{"version":3,"file":"refreshedtablelayoutblock.3e222414.js","mappings":"AACIA,OAAOC,YAAcD,OAAOC,aAAe,CAAC,EAC5CD,OAAOC,YAAYC,0BAA4BF,OAAOC,YAAYC,2BAA6B,CAAC,EAChGF,OAAOC,YAAYC,0BAA0BC,KAAO,WAGhD,IAAIC,EAA8BC,SAASC,cAAc,mDAEzD,GAAKF,GAAgCA,EAA4BG,SAASC,OAA1E,CAEA,IAAIC,EAAyB,WAOzB,IANA,IAAIC,EAAmB,GACnBC,EAAkB,GAElBC,EAAsBP,SAASQ,iBAAiB,cAChDC,EAAqBT,SAASQ,iBAAiB,aAE1CE,EAAQ,EAAGA,EAAQH,EAAoBJ,OAAQO,IACpDL,EAAiBM,KAAKJ,EAAoBG,GAAOE,cAErD,IAASF,EAAQ,EAAGA,EAAQD,EAAmBN,OAAQO,IACnDJ,EAAgBK,KAAKF,EAAmBC,GAAOE,cAGnD,GAAKP,EAAiBF,QAAWG,EAAgBH,UAC7CR,OAAOkB,WAAa,KAAxB,CAEA,IAASH,EAAQ,EAAGA,EAAQH,EAAoBJ,OAAQO,IACpDH,EAAoBG,GAAOI,MAAMC,OAAS,GAAHC,OAAMC,KAAKC,IAAGC,MAARF,KAAYZ,GAAiB,MAE9E,IAASK,EAAQ,EAAGA,EAAQD,EAAmBN,OAAQO,IACnDD,EAAmBC,GAAOI,MAAMC,OAAS,GAAHC,OAAMC,KAAKC,IAAGC,MAARF,KAAYX,GAAgB,KANzC,CAQvC,EAEAF,IAEAT,OAAOyB,iBAAiB,UAAU,WAC1BzB,OAAOkB,WAAa,KACpBT,GAER,GAjCwF,CAkC5F,EAEAT,OAAOC,YAAYC,0BAA0BwB,WAAY","sources":["webpack://advanced-web/./UI/js/core/modules/refreshedtablelayoutblock.js"],"sourcesContent":["(function () {\r\n window.oneadvanced = window.oneadvanced || {};\r\n window.oneadvanced.refreshedtablelayoutblock = window.oneadvanced.refreshedtablelayoutblock || {};\r\n window.oneadvanced.refreshedtablelayoutblock.init = function () {\r\n //console.log(\"initializing refreshedtablelayoutblock js.......\");\r\n\r\n var industryChallengesComponent = document.querySelector('.refreshedtablelayoutblock .industry-challenges')\r\n\r\n if (!industryChallengesComponent || !industryChallengesComponent.children.length) return\r\n\r\n var handleSetContentHeight = function() {\r\n var challengeHeights = []\r\n var solutionHeights = []\r\n\r\n var getChallengeContent = document.querySelectorAll('.challenge');\r\n var getSolutionContent = document.querySelectorAll('.solution');\r\n\r\n for (var child = 0; child < getChallengeContent.length; child++) {\r\n challengeHeights.push(getChallengeContent[child].offsetHeight);\r\n }\r\n for (var child = 0; child < getSolutionContent.length; child++) {\r\n solutionHeights.push(getSolutionContent[child].offsetHeight);\r\n }\r\n\r\n if (!challengeHeights.length || !solutionHeights.length) return\r\n if (window.innerWidth > 639) return\r\n\r\n for (var child = 0; child < getChallengeContent.length; child++) {\r\n getChallengeContent[child].style.height = `${Math.max(...challengeHeights)}px`;\r\n }\r\n for (var child = 0; child < getSolutionContent.length; child++) {\r\n getSolutionContent[child].style.height = `${Math.max(...solutionHeights)}px`;\r\n }\r\n }\r\n\r\n handleSetContentHeight();\r\n\r\n window.addEventListener(\"resize\", function () {\r\n if (window.innerWidth < 640) {\r\n handleSetContentHeight()\r\n }\r\n });\r\n };\r\n\r\n window.oneadvanced.refreshedtablelayoutblock.hasLoaded = true;\r\n})();"],"names":["window","oneadvanced","refreshedtablelayoutblock","init","industryChallengesComponent","document","querySelector","children","length","handleSetContentHeight","challengeHeights","solutionHeights","getChallengeContent","querySelectorAll","getSolutionContent","child","push","offsetHeight","innerWidth","style","height","concat","Math","max","apply","addEventListener","hasLoaded"],"sourceRoot":""}