{"version":3,"sources":["main.js"],"names":["$","numbers","blacksunplc","arrays","functions","analytics","security","events","jsonml","ready","windowWidth","windowHeight","openedBox","thisPage","$video","pathName","window","location","pathname","antiClickJack","prepareOpenExts","installListener","add","debounce","animate","hasClass","click","$clients","length","scrollTrigger","offset","top","document","scrollTop","removeClass","resetScrollToSection","measureWindow","setHeightOfIntroSection","ceosReviewPieChartLayout","equalHeightsGrouRevenues","squarePerformanceBoxes","equalHeightsWeGrowTogether","css","transition-duration","setTimeout","attr","split","each","ignore","element","$element","title","addClass","find","removeAttr","on","event","$target","currentTarget","$nav","header","words","text","wrapped","map","word","inner","concat","target","closest","preventDefault","stopPropagation","delegateTarget","is","subnavTitle","data","hash","subnavToActivate","locationHash","safeLocationHash","substring","querySelector","setHashLocationSubnav","stakeholderSections","getElementsByClassName","i","Waypoint","handler","direction","this","getAttribute","history","pushState","previousSection","previous","stakeholderSubnavDetection","sectionName","$section","margin","outerHeight","poster","trigger","video","$poster","play","$intro","paddingTop","headerOuterHeight","heightOffset","parseInt","trunc","$window","width","height","html","animateElement","$document","$revenues","tallest","revenue","$textWrapper","pieChartHeight","boxWidth","$performanceBoxes","performanceBox","innerWidth","$weGrowTogether","$weGrowTogetherHeaders","$weGrowTogetherSummaries","$weGrowTogetherArchers","weGrowTogetherHeaders","weGrowTogetherSummary","weGrowTogetherArcher","once","jQuery"],"mappings":"CAIA,SAAAA,GACA,aAEA,IAAAC,EAAAC,YAAAD,QACAE,EAAAD,YAAAC,OACAC,EAAAF,YAAAE,UACAC,EAAAH,YAAAG,UACAC,EAAAJ,YAAAI,SACAC,EAAAL,YAAAK,OACAC,EAAAN,YAAAM,OAEAD,EAAAE,MAAA,WAEA,IASAC,EACAC,EAqGAC,EA3CAC,EA4MAC,EAhRAC,EAAAC,OAAAC,SAAAC,SAEAZ,EAAAa,kBAIAd,EAAAe,kBACAf,EAAAgB,kBAqWAd,EAAAe,IAAAN,OAAA,SAAAZ,EAAAmB,SAAA,WACAC,IA9QAxB,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,CACAuE,OAAAQ,EAAA,SA4BA,SAAAjF,IACA,GAAAxC,EAAA,4BAAA4B,OAAA,CAGA,IACA8F,EADAC,EAAA3H,EAAA,6CAEA,KAAAU,GAAAA,GAAA,IACAiH,EAAA5E,KAAA,SAAAC,EAAA4E,GACAF,EAAA1H,EAAA4H,GAAAC,aACA7H,EAAA4H,GAAAlF,IAAA,CACAuE,OAAAS,EAAA,SAIAC,EAAAjF,IAAA,CACAuE,OAAA,UAKA,SAAAxE,IACA,GAAAzC,EAAA,qBAAA4B,OAAA,CAGA,IAAAkG,EAAA9H,EAAA,qBACA+H,EAAAD,EAAAzE,KAAA,MACA2E,EAAAF,EAAAzE,KAAA,YACA4E,EAAAH,EAAAzE,KAAA,WAUA,GATA0E,EAAArF,IAAA,CACAuE,OAAA,SAEAe,EAAAtF,IAAA,CACAuE,OAAA,SAEAgB,EAAAvF,IAAA,CACAuE,OAAA,WAEAvG,EAAA,MAAA,CAGA,IAAA4G,EAAA,EACAS,EAAAhF,KAAA,SAAAC,EAAAkF,GACAlI,EAAAkI,GAAAjB,SAAAK,IACAA,EAAAtH,EAAAkI,GAAAjB,YAGAc,EAAArF,IAAA,CACAuE,OAAAK,EAAA,OAEAA,EAAA,EACAU,EAAAjF,KAAA,SAAAC,EAAAmF,GACAnI,EAAAmI,GAAAlB,SAAAK,IACAA,EAAAtH,EAAAmI,GAAAlB,YAGAe,EAAAtF,IAAA,CACAuE,OAAAK,EAAA,OAEAA,EAAA,EACAW,EAAAlF,KAAA,SAAAC,EAAAoF,GACApI,EAAAoI,GAAAnB,SAAAK,IACAA,EAAAtH,EAAAoI,GAAAnB,YAGAgB,EAAAvF,IAAA,CACAuE,OAAAK,EAAA,YA0DA/G,EAAA8H,KAAArH,OAAA,OAAA,WAEAhB,EAAA,QAAAoD,SAAA,YAjbA,CAsbAkF","file":"all.min.js","sourcesContent":["/*jslint browser: true, fudge: true, long: true */\n/* eslint-env browser */\n/*global blacksunplc, jQuery, window, Waypoint */\n\n(function ($) {\n \"use strict\";\n\n var numbers = blacksunplc.numbers; // import * as numbers from \"module:blacksunplc/numbers\"\n var arrays = blacksunplc.arrays; // import * as arrays from \"module:blacksunplc/arrays\"\n var functions = blacksunplc.functions; // import * as functions from \"module:blacksunplc/functions\"\n var analytics = blacksunplc.analytics; // import * as analytics from \"module:blacksunplc/analytics\"\n var security = blacksunplc.security; // import * as security from \"module:blacksunplc/security\"\n var events = blacksunplc.events; // import * as events from \"module:blacksunplc/events\"\n var jsonml = blacksunplc.jsonml; // import * as jsonml from \"module:blacksunplc/jsonml\"\n\n events.ready(function () {\n\n var pathName = window.location.pathname;\n\n if (security.antiClickJack()) {\n return;\n }\n\n analytics.prepareOpenExts();\n analytics.installListener();\n\n var windowWidth;\n var windowHeight;\n\n function setHeightOfIntroSection() {\n var $intro = $(\"section.introduction\");\n if (windowWidth / windowHeight < 2.2) {\n var paddingTop = $(\"body\").css(\"padding-top\");\n var headerOuterHeight = /** @type {number} */ $(\"header\").outerHeight();\n var heightOffset = 2 * numbers.parseInt(paddingTop, 10) + numbers.trunc(headerOuterHeight);\n $intro.css(\"height\", \"calc(100vh - \" + heightOffset + \"px)\");\n $intro.removeClass(\"overflow\");\n } else {\n $intro.addClass(\"overflow\");\n }\n }\n\n function measureWindow() {\n var $window = $(window);\n windowWidth = $window.width();\n windowHeight = $window.height();\n if (!$(\".viewport-test\").length) {\n return;\n }\n $(\".viewport-test .width span\").html(windowWidth);\n $(\".viewport-test .height span\").html(windowHeight);\n }\n\n\n function animateElement(element) {\n var $element = $(element);\n if (!$element.hasClass(\"animated\")) {\n $element.addClass(\"animated\");\n }\n }\n\n function animateAllElements() {\n $(\".animate, .animate-on-load\").each(function (ignore, element) {\n animateElement(element);\n });\n }\n\n function animate() {\n if (windowWidth <= 979) {\n animateAllElements();\n } else {\n var $document = $(window.document);\n var $window = $(window);\n $(\".animate\").each(function (ignore, element) {\n if ($document.scrollTop() + $window.height() / 1.25 > $(element).offset().top) {\n animateElement(element);\n }\n });\n $(\".animate-on-load\").each(function (ignore, element) {\n animateElement(element);\n });\n }\n }\n\n function highlightNavItem() {\n var thisPage = $(\"body\").attr(\"id\").split(\"-page\")[0];\n $(\"nav li\").each(function (ignore, element) {\n var $element = $(element);\n var title = $element.attr(\"id\");\n if (thisPage === title) {\n $element.addClass(\"active\");\n $element.find(\"a\").removeAttr(\"href\");\n return;\n }\n });\n }\n\n function toggleMenu() {\n $(\".hamburger\").on(\"click\", function (event) {\n var $target = $(event.currentTarget);\n var $nav = $(\"nav\");\n if ($nav.hasClass(\"active\")) {\n $nav.removeClass(\"active\");\n $target.removeClass(\"active\");\n return;\n }\n $nav.addClass(\"active\");\n $target.addClass(\"active\");\n });\n }\n\n function triggerMenu() {\n if (!$(\"nav\").hasClass(\"active\")) {\n return;\n }\n $(\".hamburger\")[0].click();\n }\n\n function wrapWords() {\n $(\"h1.words, h2.words\").each(function (ignore, header) {\n var words = $(header).text().split(\" \");\n var wrapped = arrays.map(words, function (word) {\n return [\"span\", [\"span\", word], \"\\u00A0\"]; // Unicode 00A0 is a non-breaking-space.\n });\n jsonml.inner(header, [\"\"].concat(wrapped));\n });\n }\n\n var openedBox;\n\n function openHighlightBox() {\n $(\".has-data .performance_boxes_box_text, .has-data .performance_boxes_box_text_span\")\n .on(\"click\", function (event) {\n var $target = $(event.target);\n if ($target.closest(\".clearfix\").hasClass(\"performance-boxes-static\")) {\n event.preventDefault();\n event.stopPropagation();\n return;\n }\n $(\".performance_boxes .content\").removeClass(\"active\");\n openedBox = $target.closest(\".performance_boxes_box\").find(\".content\");\n openedBox.addClass(\"active\");\n $(\"html, body\").animate({\n \"scrollTop\": openedBox.offset().top - 80\n }, 500);\n });\n }\n function closeHighlightBoxes() {\n $(\".content\").on(\"click\", function (event) {\n $(event.delegateTarget).removeClass(\"active\");\n });\n }\n\n function subnavLinks() {\n $(\".subnav button\").on(\"click\", function (event) {\n var $target = $(event.currentTarget);\n var subnavTitle = $target.data(\"subnav\");\n $(\".subpage, .subnav button\").removeClass(\"active\");\n $(\".subpage.\" + $target.attr(\"class\")).addClass(\"active\");\n $target.addClass(\"active\");\n window.location.hash = subnavTitle;\n });\n }\n\n function setHashLocationSubnav() {\n var subnavToActivate;\n if (!window.location.hash) {\n if ($(\"body\").attr(\"id\") !== \"strategic-agenda-page\") {\n return;\n }\n subnavToActivate = document.querySelector(\".subnav ul li button\");\n } else {\n var locationHash = security.safeLocationHash().substring(1);\n subnavToActivate = $(\".subnav ul li button[data-subnav='\" + locationHash + \"']\");\n }\n subnavToActivate.click();\n }\n\n function stakeholderSubnavDetection() {\n var stakeholderSections = document.getElementsByClassName(\"subpage\");\n var i = 0;\n while (i < stakeholderSections.length) {\n new Waypoint({\n \"element\": stakeholderSections[i],\n \"handler\": function(direction) {\n if (direction === \"down\") {\n var location = pathName + \"#\" + this.element.getAttribute(\"data-section\");\n setTimeout(function () {\n history.pushState(null, document.title, location);\n }, 501);\n }\n },\n \"offset\": \"25%\"\n });\n new Waypoint({\n \"element\": stakeholderSections[i],\n \"handler\": function(direction) {\n if (direction === \"up\") {\n var previousSection = this.previous();\n var location = pathName + \"#\" + previousSection.element.getAttribute(\"data-section\");\n setTimeout(function () {\n history.pushState(null, document.title, location);\n }, 501);\n }\n },\n \"offset\": \"80%\"\n });\n i += 1;\n }\n }\n\n function scrollToSection() {\n $(\".subnav.stakeholder button\").on(\"click\", function (event) {\n var $target = $(event.target);\n $(\".subnav.stakeholder button\").removeClass(\"active\");\n $target.addClass(\"active\");\n var sectionName = $target.attr(\"id\");\n var $section = $(\"article.\" + sectionName);\n var margin = $(\"hr,border.top\").outerHeight();\n $(\"html, body\").animate({\n \"scrollTop\": $section.offset().top - margin\n }, 500);\n });\n }\n\n function resetScrollToSection() {\n var $clients = $(\"article.clients\");\n if ($clients.length !== 0) {\n var scrollTrigger = $clients.offset().top;\n if ($(window.document).scrollTop() < scrollTrigger) {\n $(\".subnav.stakeholder button\").removeClass(\"active\");\n }\n }\n }\n\n function openShare() {\n $(\".share\").on(\"click\", function () {\n $(\".share-wrapper\").addClass(\"active\");\n });\n }\n\n function closeShare() {\n $(\".share-wrapper .close\").on(\"click\", function () {\n $(\".share-wrapper\").removeClass(\"active\");\n });\n }\n\n function equalHeightsGrouRevenues() {\n var $revenues = $(\".group-revenues > ul > li div\");\n if (!$revenues.length) {\n return;\n }\n windowWidth = $(window).width();\n if (windowWidth < 1024) {\n $revenues.css({\n \"height\": \"auto\"\n });\n return;\n }\n var tallest = 0;\n $revenues.each(function (ignore, revenue) {\n if ($(revenue).outerHeight() > tallest) {\n tallest = $(revenue).outerHeight();\n }\n });\n $revenues.css({\n \"height\": tallest + \"px\"\n });\n }\n\n function ceosReviewPieChartLayout() {\n var $pieChartWrapper = $(\".pie-chart-wrapper\");\n if (!$pieChartWrapper.length) {\n return;\n }\n var $textWrapper = $(\".pie-chart-wrapper .content-wrapper .text-wrapper\");\n if (windowWidth < 1366) {\n $textWrapper.css({\n \"height\": \"auto\"\n });\n return;\n }\n var pieChartHeight = $(\".pie-chart-wrapper .image-wrapper svg\").height();\n $textWrapper.css({\n \"height\": pieChartHeight + \"px\"\n });\n }\n\n function playVideo() {\n var $video = $(\".video-container video\");\n if (!$video.length) {\n return;\n }\n var $videoPoster = $(\".video-container .poster\");\n var $videoBehind;\n $videoPoster.each(function (ignore, poster) {\n $(poster).on(\"click\", function () {\n $videoBehind = $(poster).closest(\".video-container\").find(\"video\");\n $videoBehind.trigger(\"click\");\n });\n });\n $video.each(function (ignore, video) {\n $(video).on(\"click\", function () {\n var $poster = $(video).closest(\".video-container\").find(\".poster\");\n video.play();\n if (!$poster.hasClass(\"hide\")) {\n $poster.addClass(\"hide\");\n }\n });\n });\n }\n\n function squarePerformanceBoxes() {\n if (!$(\".performance_boxes.logos\").length) {\n return;\n }\n var $performanceBoxes = $(\".performance_boxes .performance_boxes_box\");\n var boxWidth;\n if (windowWidth >= 640 || windowWidth <= 480) {\n $performanceBoxes.each(function (ignore, performanceBox) {\n boxWidth = $(performanceBox).innerWidth();\n $(performanceBox).css({\n \"height\": boxWidth + \"px\"\n });\n });\n } else {\n $performanceBoxes.css({\n \"height\": \"auto\"\n });\n }\n }\n\n function equalHeightsWeGrowTogether() {\n if (!$(\".we-grow-together\").length) {\n return;\n }\n var $weGrowTogether = $(\".we-grow-together\");\n var $weGrowTogetherHeaders = $weGrowTogether.find(\"h3\");\n var $weGrowTogetherSummaries = $weGrowTogether.find(\".summary\");\n var $weGrowTogetherArchers = $weGrowTogether.find(\".archer\");\n $weGrowTogetherHeaders.css({\n \"height\": \"auto\"\n });\n $weGrowTogetherSummaries.css({\n \"height\": \"auto\"\n });\n $weGrowTogetherArchers.css({\n \"height\": \"auto\"\n });\n if (windowWidth < 1024) {\n return;\n }\n var tallest = 0;\n $weGrowTogetherHeaders.each(function (ignore, weGrowTogetherHeaders) {\n if ($(weGrowTogetherHeaders).height() > tallest) {\n tallest = $(weGrowTogetherHeaders).height();\n }\n });\n $weGrowTogetherHeaders.css({\n \"height\": tallest + \"px\"\n });\n tallest = 0;\n $weGrowTogetherSummaries.each(function (ignore, weGrowTogetherSummary) {\n if ($(weGrowTogetherSummary).height() > tallest) {\n tallest = $(weGrowTogetherSummary).height();\n }\n });\n $weGrowTogetherSummaries.css({\n \"height\": tallest + \"px\"\n });\n tallest = 0;\n $weGrowTogetherArchers.each(function (ignore, weGrowTogetherArcher) {\n if ($(weGrowTogetherArcher).height() > tallest) {\n tallest = $(weGrowTogetherArcher).height();\n }\n });\n $weGrowTogetherArchers.css({\n \"height\": tallest + \"px\"\n });\n }\n\n events.add(window, \"scroll\", functions.debounce(function () {\n animate();\n triggerMenu();\n resetScrollToSection();\n }, 100));\n\n events.add(window, \"resize\", functions.debounce(function () {\n measureWindow();\n setHeightOfIntroSection();\n ceosReviewPieChartLayout();\n equalHeightsGrouRevenues();\n squarePerformanceBoxes();\n equalHeightsWeGrowTogether();\n }, 100));\n\n events.add(window, \"orientationchange\", function () {\n $(\"nav\").css({\n \"transition-duration\": \"0s\"\n });\n measureWindow();\n setHeightOfIntroSection();\n ceosReviewPieChartLayout();\n window.setTimeout(function () {\n $(\"nav\").css({\n \"transition-duration\": \"0.5s\"\n });\n }, 501);\n });\n\n measureWindow();\n setHeightOfIntroSection();\n highlightNavItem();\n toggleMenu();\n wrapWords();\n animate();\n openHighlightBox();\n closeHighlightBoxes();\n if ($(\"body\").is(\"#strategic-agenda-page\")) {\n subnavLinks();\n setHashLocationSubnav();\n }\n if ($(\"body\").is(\"#stakeholder-stories-page\")) {\n stakeholderSubnavDetection();\n }\n scrollToSection();\n openShare();\n closeShare();\n equalHeightsGrouRevenues();\n ceosReviewPieChartLayout();\n playVideo();\n squarePerformanceBoxes();\n equalHeightsWeGrowTogether();\n });\n\n events.once(window, \"load\", function () {\n\n $(\"body\").addClass(\"loaded\");\n\n });\n\n\n}(jQuery));\n"]}