Who’s Gina Rinehart?
Gina Rinehart is an Australian iron ore magnate and the manager chair of Hancock Prospecting, in addition to the richest individual in Australia and one of many world’s richest women. Rinehart is the daughter of Australian mining mogul and Hancock Prospecting founder, the late Lang Hancock. As the present govt chair of Hancock Prospecting, Rinehart gained the inaugural Lifetime Achievement Award from CEO Journal in 2019.
Rinehart was appointed as an Officer of the Order of Australia in 2022 for her “distinguished service to the mining sector, to the group by way of philanthropic initiatives, and to sport as a patron.”
How did Gina Rinehart get wealthy?
Gina Rinehart inherited Hancock Prospecting after her father’s passing in 1992. The next 12 months, Gina Rinehart’s firm acquired the Roy Hill tenements. Centering the large mission because the cornerstone of the corporate, Hancock Prospecting has significantly benefited from the iron ore market growth that started within the early 2000s.
As we speak, Roy Hill is Australia’s largest iron ore mine, producing 60 million tonnes of iron ore per 12 months. The mine was lately permitted to extend its annual manufacturing to 70 million tonnes. Success at Roy Hill has made Hancock Prospecting Australia’s most valuable private company, price an estimated AU$15.6 billion.
As with lots of the world’s most profitable billionaires, Gina Rinehart has developed an funding technique primarily based on strategic partnerships in addition to diversification to mitigate threat and construct worth. Underneath her management, Hancock Prospecting Pty Restricted (HPPL) in addition to the HPPL Group of corporations has expanded into a number of the world’s most economically necessary markets, comparable to actual property, agriculture, vitality and important metals.
For the 2024 fiscal 12 months, Rinehart’s Hancock Prospecting reported a bumper revenue of AU$5.6 billion, up 10 p.c from the earlier 12 months.
What mining corporations does Gina Rinehart personal?
Via her firm Hancock Prospecting, Gina Rinehart owns curiosity in mining corporations throughout many sectors, together with iron ore, lithium, uncommon earths, copper, oil and gasoline, in addition to potash. Whereas a lot of her funding portfolio is concentrated on Australia and ASX corporations, Rinehart is actively strengthening the geographical diversification of her investments.
Lately, Rinehart has made a collection of key investments in mining corporations, particularly concentrating on essential metals initiatives in Germany, Brazil, Ecuador and the USA. These embrace exploration-stage companies comparable to Titan Minerals (ASX:TTM) and Azure Minerals in addition to producers comparable to Atlas Iron and MP Supplies.
The place does Hancock Prospecting mine iron?
Autos hauling ore at Roy Hill iron ore mine.
Picture of Roy Hill iron ore mine through Roy Hill.
Hancock Prospecting’s Roy Hill and Hope Downs iron ore mines are situated within the useful resource wealthy Pilbara area of Western Australia.
Roy Hill has attracted strategic partnerships with main world enterprises: Marubeni (TSE:8002) with a 15 p.c fairness stake; POSCO (NYSE:PKX,KRX:005490) holds a 12.5 p.c stake; and China Metal (TPE:2002) has a 2.5 p.c fairness place. The minority companions buy a mixed 28.75 million tonnes of iron ore yearly from Roy Hill’s manufacturing.
This September, Hancock Prospecting got the green light for its AU$600 million McPhee iron mine situated about 100 kilometres north of the Roy Hill mine after a protracted approval course of. The McPhee iron mine is predicted to provide round 10 million tonnes of the steel every year over an estimated 15 12 months mine life. First manufacturing is predicted to kick off subsequent 12 months, and ore will probably be transported by street trains to Roy Hill for processing and mixing. The objective is to enhance the bigger mine’s product combine and maintain its manufacturing volumes.
The Hope Downs iron ore advanced is one other of Australia’s largest iron ore initiatives. A 50/50 three way partnership partnership with Rio Tinto (ASX:RIO,NYSE:RIO,LSE:RIO), Hope Downs hosts 4 open-pit mines and has an annual manufacturing capability of 47 million tonnes. Hope Downs has additionally been the topic of a greater than decade-long civil dispute in a Western Australian court docket over royalties, put forth by the descendants of Lang Hancock’s enterprise accomplice Peter Wright in addition to Rinehart’s personal kids. A judgment within the case is predicted this 12 months.
Gina Rinehart’s iron ore investments
Gina Rinehart’s iron ore investments in Western Australia prolong past Roy Hill and Hill Downs to its subsidiary Atlas Iron’s three producing mines and a pipeline of growth initiatives, in addition to an earn-in settlement on Legacy Iron Ore (ASX:LCY) and Hawthorn Assets’ (ASX:HAW) Mt Bevan mission by way of its subsidiary Hancock Magnetite Holdings.
Rinehart’s Hancock Prospecting acquired Atlas Iron in 2018 by way of a AU$427 million deal that turned out to be grime low cost as the corporate would go on to ship AU$1.5 billion in revenues over the subsequent three years alone.
As we speak, Atlas Mines operates the Mt Webber, Sanjiv Ridge and Miralga Creek mines. Manufacturing from these mines in its fiscal 12 months ended June 2023 led to a AU$222 million dividend fee for Rinehart’s Hancock Prospecting.
At Mt Bevan, as a part of its earn-in settlement, Hancock completed a prefeasibility study( PFS) for a 12 million tonne per 12 months high-grade magnetite mission in July of this 12 months. The PFS integrated a mineral useful resource estimate totalling 1,291 million tonnes, which was accomplished by Atlas, and delineates a capital value of AU$5 billion to develop the potential Mt Bevan mine.
Completion of the PFS elevated Hancock’s stake within the JV possession from 30 p.c to 51 p.c with Legacy now holding 29.4 p.c and Hawthorn 19.6 p.c.
Like iron, coal is one other important materials in metal manufacturing. To this finish, Rinehart can also be pursuing an funding in a past-producing metallurgical coal mine in Alberta, Canada. Hancock Prospecting subsidiary Northback Holdings is the proprietor of the proposed Grassy Mountain steelmaking coal mission within the province’s Crowsnest Cross area. Northback is awaiting approval of its exploration licenses for the mission.
Gina Rinehart’s lithium investments
Gina Rinehart’s lithium investments embrace Azure Minerals’ Andover lithium mission, Liontown Assets, Delta Lithium (ASX:DLI) and Vulcan Vitality Assets (ASX:VUL). The vast majority of her lithium investments have got here in a flurry over the previous 12 months.
In June 2023, Rinehart’s Hancock Prospecting signed a separate joint venture earn-in settlement for the Mt Bevan magnetite mission, which is mentioned above, this time for the lithium, nickel and copper mineralization on the mission. The settlement will equally see Hancock in a position to earn a 51 p.c curiosity by finishing sure milestones.
Final September, Rinehart made headlines when she took a place in Liontown Assets after which quickly increased the position to 19.9 p.c over the next month. This allowed Hancock, which was now Liontown’s largest shareholder, to effectively block Albemarle’s (NYSE:ALB) accepted takeover of the smaller lithium firm.
Nevertheless, since then, Liontown’s inventory has taken a hit because the economics for its near-production Kathleen Valley lithium mission in Western Australia have been broken by the results of excessive inflation and low lithium costs. Finally, in January, Albemarle determined to dump its 4 p.c stake in Liontown Assets. The shortage of any additional strikes or remark by Rinehart in relation to Liontown Assets has led to speculation she could also be ready for the suitable alternative to purchase up the lithium firm at a reduction.
Kathleen Valley entered production in late July 2024, and is expected to produce roughly 2.8 million tonnes per 12 months of spodumene focus by the tip of FY 2027.
That wasn’t the one lithium bid Rinehart blocked in October 2023. As is her technique, Rinehart scooped up an 18.9 p.c stake in Azure Minerals final 12 months after SQM introduced its intention for a complete takeover of the corporate and its Andover lithium mission within the West Pilbara area of Western Australia. This story had a distinct ending, although, as Hancock Prospecting as an alternative joined the lithium large in a AU$1.7 billion deal to develop into a co-owner of the exploration-stage Andover mission, which additionally hosts nickel, copper and cobalt mineralisation. The deal closed in Might 2024.
Shortly after its Liontown and Azure strikes final 12 months, Hancock Prospecting continued investing in Western Australia’s lithium prospects when it participated in a AU$70.2 million fundraising for Delta Lithium in November 2023. The proceeds of the fundraising will assist Delta Lithium to fund the event of its Mt Ida lithium-gold mission, which is adjoining to Hancock’s Mt Bevan three way partnership mission, by way of to a last funding choice. As of November 2024, Hancock Prospect owns 10.65 percent of Delta Lithium.
Rinehart has made lithium investments exterior of Australia as nicely. Wanting additional afield to Germany, with a 7.5 p.c stake, Hancock Prospecting is the second largest shareholder in Vulcan Vitality and its flagship Zero Carbon lithium mission in Germany’s Higher Rhine Valley, a milestone Rinehart’s firm reached after investing an extra AU$20 million in Vulcan, which made headlines in June. The Zero Carbon mission is slated to produce an preliminary 24,000 tonnes of lithium hydroxide by the tip of 2025, concentrating on Europe’s electrical car manufacturing sector.
In November 2024, Vulcan Vitality reached one other major milestone with first manufacturing at its downstream lithium hydroxide optimisation plant, which is designed to provide lithium hydroxide and battery-grade lithium hydroxide monohydrate.
Gina Rinehart’s uncommon earths investments
Amenities at MP Supplies’ Mountain Cross uncommon earths mine.
clayton harrison / Shutterstock
Via Hancock Prospecting, Gina Rinehart has lately made investments in a number of the world’s most well-known uncommon earths producing corporations — US-based MP Supplies and Australia’s Lynas Uncommon Earths — in addition to development-stage Arafura Uncommon Earths and exploration-stage Brazilian Uncommon Earths (ASX:BRE). Rinehart taking a place in these uncommon earths corporations reveals she is trying to capitalise on the numerous want for these essential metals exterior of China.
As talked about within the introduction to this text, Rinehart’s Hancock Prospecting is the largest shareholder of Arafura Uncommon Earths, giving it a ten p.c stake within the advanced-stage Nolans mission within the Northern Territory. Rinehart made the funding in December 2022.
In April of this 12 months, Rinehart made two important strikes into the sector. The primary got here on April 9, when it was revealed that Hancock Prospecting had acquired a 5.3 p.c stake in MP Supplies, the second largest uncommon earths producer exterior of China. The corporate’s California-based Mountain Cross mine is the one built-in uncommon earth mining and processing operation in North America.
Rinehart’s funding in MP Supplies may later usher in “Roy Hill-type money circulation,” Dylan Kelly, head analyst at Terra Capital, told Australian Financial Review. “Something that’s producing and never China-aligned is extremely strategic. These supplies are very, very laborious to make and there’s loads of demand in making magnets for electrical automobiles and wind generators.”
One week later, Rinehart’s Hancock Prospecting additionally took up a 5.82 p.c curiosity in Lynas Uncommon Earths, the most important ex-China uncommon earths producer. The Australian uncommon earths miner produces the essential metals at its Mount Weld mine in Western Australia and ships the uncooked materials to Malaysia for processing. Lynas can also be ramping up processing at its Kalgoorlie uncommon earth processing facility in Australia, and constructing mild uncommon earths processing amenities and a heavy uncommon earths separation facility in Texas, US.
Rinehart’s close to simultaneous investments in each Lynas and MP Supplies comes after merger talks between the 2 uncommon earths behemoths stalled in February. There’s hypothesis stirring that Rinehart’s participation may renew merger discussions, Reuters reported. In November, the mining mogul increased her position in MP Supplies to eight.5 p.c, additional elevating the potential of a merger down the street.
Andy Forster, Lynas investor and senior investor of Argo Investments, had his curiosity piqued by Rinehart’s transfer “given she’s clearly made a play throughout the entire house. She clearly needs to doubtlessly have a seat on the desk if there’s any probability of consolidation.”
Rinehart can also be getting her foot within the uncommon earths door on the exploration stage. Final 12 months, Rinehart’s Hancock Prospecting made a pre-IPO funding for a 5.85 percent share in Brazilian Uncommon Earths, which went on to checklist on the ASX in December. The uncommon earths explorer is working its district-scale Rocha da Rocha uncommon earth province within the state of Bahia, Brazil. The province is extremely potential for each heavy and light-weight uncommon earths, with grades of over 40 p.c whole uncommon earth oxides discovered. The corporate expects to finish an up to date JORC mineral useful resource estimate this 12 months.
Gina Rinehart’s copper investments
Gina Rinehart’s copper investments are centered on Ecuador’s Andean copper-gold belt, and embrace explorer Titan Minerals and Ecuador’s state-owned Empresa Nacional Minera (ENAMI).
Ecuador has seen a rush of main mining corporations taking over positions in key copper and gold initiatives lately, inserting Hancock Prospecting within the firm of Barrick Gold (TSX:ABX,NYSE:GOLD), Zijin Mining (HKEX:2899) and Anglo American (LSE:AAL,OTCQX:AAUKF).
Rinehart’s Ecuadorian copper investments are according to her shift towards the essential metals needed for the inexperienced transition and her technique to increase the worldwide footprint of her mining empire.
Hancock Prospecting subsidiary Hanrine Ecuadorian Exploration and Mining has been within the area since 2017, however lately started making extra investments. In March 2024, Hancock Prospecting subsidiary Hanrine Ecuadorian Exploration and Mining acquired a 49 percent stake in six mining concessions for AU$186.4 million. The deal sees it accomplice with state mining firm ENAMI for the concessions, which encompass the stalled Llurimagua copper-molybdenum mission in Northern Ecuador.
In late April, Ecuador’s constitutional court docket nixed appeals by ENAMI and its accomplice within the Llurimagua mission, Chile’s state-owned CODELCO, to evaluate the March 2023 choice by Imbabura’s provincial supreme court docket suspending the environmental license for Llurimagua.
Shortly after the funding with ENAMI, Rinehart’s Hanrine made one other play in Ecuador by striking an earn-in agreement with Titan Minerals for as much as an 80 p.c possession stake within the explorer’s Linderos copper-gold mission contingent on as much as AU$120 million in exploration spending. Linderos is an early-exploration stage mission with the potential to host a large-scale copper porphyry system. Hanrine has made an preliminary funding of AU$2 million for a 5 p.c stake.
Gina Rinehart’s oil and gasoline investments
Gina Rinehart’s oil and gasoline investments embrace personal companies Warrego Vitality in Western Australia and Senex Vitality in Queensland.
In February 2023, Hancock Prospecting won a protracted bidding war for the then-public Warrego with Warrego’s three way partnership accomplice Strike Vitality (ASX:STX) for a worth of AU$0.36 per share. Warrego and operator Strike Vitality preserve their 50/50 three way partnership on the West Erregulla onshore gasoline subject inside exploration allow EP 469 close to Perth in Western Australia.
In mid-August 2024, the West Erregulla mission acquired its production licence and the companions anticipate to start out operations as soon as a last funding choice is made later this 12 months. Throughout part one, the mission is predicted to provide 87 terajoules per day.
As for Senex Vitality, it’s a three way partnership between POSCO (50.1 p.c) and Hancock Prospecting subsidiary Hancock Vitality (49.9 p.c) that holds the Atlas and Roma North pure gasoline developments in Queensland’s Surat Basin. The 2 JV companions acquired Senex in 2022, with Rinehart’s firm placing up AU$440.89 million.
Senex Vitality is embarking on a AU$1 billion expansion endeavor at Atlas and Roma North this 12 months that can see 60 petajoules of pure gasoline delivered to Australia’s east coast market yearly by the tip of 2025. This determine represents greater than 10 p.c of the area’s demand. Regulatory approval for the growth was lastly permitted following an uphill battle with a Federal authorities extra eager on renewable vitality initiatives than the pure gasoline selection.
Rinehart once had a significant stake of practically 20 p.c in Lakes Oil, now Lakes Blue Vitality (ASX:LKO), by way of subsidiary Timeview Enterprises. Timeview’s stake in Lakes Blue Vitality has been lowered lately, but it surely stays the corporate’s fourth largest shareholder at 4.63 p.c.
Extra lately, Rinehart offered financial assistance to Mineral Assets (ASX:MIN,OTC Pink:MALRF), a diversified mining firm with lithium, iron ore and oil and gasoline operations in Western Australia. Headed by one other mining heavyweight, Chris Ellison, Mineral Assets, or MinRes, is reportedly drowning in debt and embroiled in a tax evasion investigation. Hancock Prospecting has agreed to a AU$1.13 billion buyout of MinRes’ oil and gasoline initiatives within the Perth Basin and an exploration acreage within the Carnarvon Basin.
Gina Rinehart’s potash and agriculture investments
Gina Rinehart’s potash and agricultural investments heart on Hancock Prospecting’s possession pursuits in a number of premium cattle stations in Australia, and the corporate’s royalty income generated from the Anglo-American-controlled Woodsmith potash project presently below development in the UK.
With an authentic funding of AU$380.6 million in 2016 to then-owner Sirius Minerals, Hancock Prospecting has a 5 p.c revenue royalty on the primary 13 million tonnes of fertiliser produced from Woodsmith and 1 p.c thereafter. Hancock additionally has a 20,000 tonne-a-year offtake choice. The timeline for Rinehart’s royalty income has been pushed again, nevertheless, as Anglo is slicing spending at Woodsmith following BHP’s (ASX:BHP,NYSE:BHP,LSE:BHP) failed mega-merger with Anglo American.
Investor takeaway
With Gina Rinehart on the helm of Hancock Prospecting, the Roy Hill iron ore mine has generated stellar revenues. That wealth creation not solely made her Australia’s richest individual, however has additionally constructed a strong warfare chest from which Rinehart is increasing her mining empire.
Traders can take cues from her current and future strikes within the mining sector. Though she could also be defensive towards renewable vitality applied sciences encroaching on agricultural land, she understands the strategical significance of investing in essential metals for the inexperienced transition comparable to lithium, uncommon earths and copper.
FAQs for Gina Rinehart
How a lot is Gina Rinehart price?
Gina Rinehart’s internet price is reported to be AU$40.61 billion as of Might 31, 2024. That is up 8.5 p.c over the earlier 12 months, based on figures from the Australian Monetary Evaluate’s Rich List 2024.
“Rinehart’s internet price jumped $3.2b within the final 12 months because of multiples within the sector increasing,” the checklist’s authors clarify. “Nevertheless, her iron grip on the Wealthy Record prime spot could also be weakened by ore worth declines in 2024, on the again of considerations over metal output lowering in China.”
What firm does Gina Rinehart personal?
Gina Rinehart owns Hancock Prospecting, a non-public firm based by her late father Lang Hancock. Initially an iron ore mining firm, as we speak the agency has strategic stakes in a wide-range of metals and commodities from lithium and uncommon earths to copper and agriculture, that are detailed on this article.
Can I purchase shares in Hancock Prospecting?
Whereas buyers cannot purchase public shares in privately held Hancock Prospecting, they will take fairness positions within the publicly traded shares during which the corporate itself holds curiosity. A few of these shares embrace Arafura Uncommon Earths (ASX:ARU,OTC Pink:ARAFF), Liontown Assets (ASX:LTR), MP Supplies (NYSE:MP) and Lynas Uncommon Earths (ASX:LYC).
Does Gina Rinehart personal Rio Tinto?
Though she has curiosity in lots of mining corporations and the 2 corporations share the Hope Downs three way partnership, Gina Rinehart doesn’t personal mining large Rio Tinto. Yahoo Finance reports that Aluminum Company of China (SHA:601600) is its largest shareholder at 11 p.c, adopted by BlackRock (NYSE:BLK) with 8.7 p.c and the Vanguard Group at about 3.1 p.c of shares.
What does Gina Rinehart take into consideration nuclear vitality?
Gina Rinehart is pro-nuclear vitality. During a speech at The Australian Bush Summit in 2023, she railed in opposition to the impression of wind and photo voltaic farms on a lot wanted agricultural land in Australia. She urged that nuclear vitality gives a extra viable resolution for reaching the nation’s internet zero targets.
Is Gina Rinehart the richest individual in Australia?
Gina Rinehart is the richest individual in Australia. In 2024, she made the Australian Monetary Evaluate’s Rich List for the fifth consecutive 12 months in a row. The following richest Australian, actual property developer Harry Triguboff, trails her by about AU$14 billion.
Is Gina Rinehart the richest lady on this planet?
Gina Rinehart shouldn’t be the richest woman in the world, however she does rank because the world’s ninth richest lady in 2024. The excellence of richest lady on this planet goes to France’s Francoise Bettencourt Meyer, the inheritor of L’Oréal (EPA:OR). Rinehart beforehand held the title in 2012.
Remember to observe us @INN_Australia for real-time information updates!
Securities Disclosure: I, Melissa Pistilli, maintain no direct funding curiosity in any firm talked about on this article.
window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){
var edition_code; var value, parts;
if(window.__INNGlobalVars && window.__INNGlobalVars.userData && window.__INNGlobalVars.userData.edition_code){ edition_code = window.__INNGlobalVars.userData.edition_code; console.log("edition_code_vars: ", edition_code); }
if (!edition_code) { value = "; " + document.cookie; parts = value.split("; edition_code="); if (parts.length == 2) edition_code = parts.pop().split(";").shift(); console.log("edition_code_cookie: ", edition_code); }
var element = document.getElementById('dropbtn-geography'); if (element) { if (edition_code) { switch (edition_code){ case "world" : element.innerHTML = 'WORLD EDITION';
var check = document.getElementById('imgdiv-check-word'); if(check){ check.style.visibility = "visible"; } break; case "australia" : element.innerHTML = 'AUSTRALIA EDITION'; var check = document.getElementById('imgdiv-check-australia'); if(check){ check.style.visibility = "visible"; } break; default: element.innerHTML = 'NORTH AMERICA EDITION';
var check = document.getElementById('imgdiv-check-north'); if(check){ check.style.visibility = "visible"; }
var dropdown = document.getElementById('div-geography-dropdown'); if(dropdown){ dropdown.style.width = "200px"; } } } }
window.changeOption = function(option){ var edition_code = option; var element = document.getElementById('dropbtn-geography');
if (element) { if (edition_code) { switch (edition_code){ case "world" : element.innerHTML = 'WORLD EDITION';
var check = document.getElementById('imgdiv-check-word'); if(check){ check.style.visibility = "visible"; }
var check = document.getElementById('imgdiv-check-australia'); if(check){ check.style.visibility = "hidden"; }
var check = document.getElementById('imgdiv-check-north'); if(check){ check.style.visibility = "hidden"; }
var dropdown = document.getElementById('div-geography-dropdown'); if(dropdown){ dropdown.style.width = "169px"; }
var dropdown_content = document.getElementById('dropdown-content-divs'); if(dropdown_content){ dropdown_content.style.width = "169px"; }
//update cookie setOrUpdateCookie("edition_code", "world", 365);
if(window.__INNGlobalVars && window.__INNGlobalVars.userData && window.__INNGlobalVars.userData.edition_code){ updateGlobal("world"); }else{ reloadPages("world"); }
break; case "australia" : element.innerHTML = 'AUSTRALIA EDITION';
var check = document.getElementById('imgdiv-check-australia'); if(check){ check.style.visibility = "visible"; }
var check = document.getElementById('imgdiv-check-north'); if(check){ check.style.visibility = "hidden"; }
var check = document.getElementById('imgdiv-check-word'); if(check){ check.style.visibility = "hidden"; }
var dropdown = document.getElementById('div-geography-dropdown'); if(dropdown){ dropdown.style.width = "169px"; }
var dropdown_content = document.getElementById('dropdown-content-divs'); if(dropdown_content){ dropdown_content.style.width = "169px"; }
//update cookie setOrUpdateCookie("edition_code", "australia", 365);
if(window.__INNGlobalVars && window.__INNGlobalVars.userData && window.__INNGlobalVars.userData.edition_code){ updateGlobal("australia"); }else{ reloadPages("australia"); }
break; default: element.innerHTML = 'NORTH AMERICA EDITION';
var check = document.getElementById('imgdiv-check-north'); if(check){ check.style.visibility = "visible"; }
var check = document.getElementById('imgdiv-check-word'); if(check){ check.style.visibility = "hidden"; }
var check = document.getElementById('imgdiv-check-australia'); if(check){ check.style.visibility = "hidden"; }
var dropdown = document.getElementById('div-geography-dropdown'); if(dropdown){ dropdown.style.width = "200px"; }
var dropdown_content = document.getElementById('dropdown-content-divs'); if(dropdown_content){ dropdown_content.style.width = "200px"; }
//update cookie setOrUpdateCookie("edition_code", "north_america", 365);
if(window.__INNGlobalVars && window.__INNGlobalVars.userData && window.__INNGlobalVars.userData.edition_code){ updateGlobal("north_america"); }else{ reloadPages("north_america"); } } } } }
function setOrUpdateCookie(cookieName, cookieValue, expirationDays) { // Get the current value of the cookie var currentValue = getCookie(cookieName);
// Delete the previous cookie if it exists if (currentValue !== "") { document.cookie = cookieName + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; }
// Set the new cookie with the updated value var d = new Date(); d.setTime(d.getTime() + (expirationDays * 24 * 60 * 60 * 1000)); var expires = "expires=" + d.toUTCString(); document.cookie = cookieName + "=" + cookieValue + ";" + expires + ";path=/"; }
// Function to get the value of a cookie function getCookie(cookieName) { var name = cookieName + "="; var decodedCookie = decodeURIComponent(document.cookie); var cookieArray = decodedCookie.split(';'); for (var i = 0; i < cookieArray.length; i++) { var cookie = cookieArray[i].trim(); if (cookie.indexOf(name) == 0) { return cookie.substring(name.length, cookie.length); } } return ""; } function updateGlobal(code) { window.__INNGlobalVars.userData.edition_code = code; var userEmail = window.__INNGlobalVars.userData.email; var userId = window.__INNGlobalVars.userData.user_id; var datos = { email: userEmail, code: code, rmid: userId }; (async () => { const rawResponse = await fetch("https://innadmin.investingnews.com/webhook/code-update-user", { method: 'POST', body: JSON.stringify(datos) }); const content = await rawResponse.json(); reloadPages(code); })(); }
function reloadPages (region) { var url = window.location.pathname; var split = url.split("https://investingnews.com/"); var urlR = new URL(window.location.href);
if(split[1] === ""){ switch (region){ case "australia" : pathnew = "/au";
urlR.pathname = pathnew + urlR.pathname; window.location.href = urlR.href; break; case "world" : pathnew = "/world";
urlR.pathname = pathnew + urlR.pathname; window.location.href = urlR.href; break; } }else{ switch (split[1]){ case "world" : pathold = "/world/";
var arrPath = ["resource-investing", "tech-investing", "cannabis-investing", "life-science-investing"]; if (split[2]!== undefined && arrPath.includes(split[2]) && region === "north_america") { pathnew = "https://investingnews.com/category/daily/";
urlR.pathname = urlR.pathname.replace(pathold, pathnew); window.location.href = urlR.href; }else{ switch (region){ case "north_america" : pathnew = "";
urlR.pathname = urlR.pathname.replace(pathold, pathnew); window.location.href = urlR.href; break; case "australia" : pathnew = "/au/";
urlR.pathname = urlR.pathname.replace(pathold, pathnew); window.location.href = urlR.href; break; } } break; case "au" : pathold = "/au/";
var arrPath = ["resource-investing", "tech-investing", "cannabis-investing", "life-science-investing"]; if (split[2]!== undefined && arrPath.includes(split[2]) && region === "north_america") { pathnew = "https://investingnews.com/category/daily/";
urlR.pathname = urlR.pathname.replace(pathold, pathnew); window.location.href = urlR.href; }else{ switch (region){ case "north_america" : pathnew = "";
urlR.pathname = urlR.pathname.replace(pathold, pathnew); window.location.href = urlR.href; break; case "world" : pathnew = "/world/";
urlR.pathname = urlR.pathname.replace(pathold, pathnew); window.location.href = urlR.href; break; } } break; default: if (url.includes("https://investingnews.com/category/daily/")) { pathold = "https://investingnews.com/category/daily/"; switch (region){ case "australia" : pathnew = "/au/";
urlR.pathname = urlR.pathname.replace(pathold, pathnew); window.location.href = urlR.href; break; case "world" : pathnew = "/world/";
urlR.pathname = urlR.pathname.replace(pathold, pathnew); window.location.href = urlR.href; break; } }else{ var arrPath = ["resource-investing", "tech-investing", "cannabis-investing", "life-science-investing", "featured"]; if (arrPath.includes(split[1])) { switch (region){ case "australia" : pathnew = "/au";
urlR.pathname = pathnew + urlR.pathname; window.location.href = urlR.href; break; case "world" : pathnew = "/world";
urlR.pathname = pathnew + urlR.pathname; window.location.href = urlR.href; break; } }else{ location.reload(); } } } } }
});
window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){
//viewable event listener. REBELMOUSE_STDLIB.onElementInViewport({ threshold: 0, oneTime: true, selector: ".widget .googletickersymbol", onIntersect: (entry) => { gtag_viewable_event(entry); }, });
/// Google custom event on tile load. function gtag_viewable_event(entry) { const {target} = entry gtag("event", "tile_load", { google_ticker: target.dataset.googletickersymbol, }); }
});
window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){
var scrollableElement = document.body; //document.getElementById('scrollableElement');
scrollableElement.addEventListener('wheel', checkScrollDirection);
function checkScrollDirection(event) { if (checkScrollDirectionIsUp(event)) { //console.log('UP'); document.body.classList.remove('scroll__down'); } else { //console.log('Down'); document.body.classList.add('scroll__down'); } }
function checkScrollDirectionIsUp(event) {
if (event.wheelDelta) {
return event.wheelDelta > 0;
}
return event.deltaY < 0;
}
});
window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window,document,'script','https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '2388824518086528');
});