jQuery(document).ready(function($) {
// Find elements with class ".words-table"
$('.words-table').each(function() {
// Find text inside parentheses and wrap it with <em> tags
$(this).html(function(_, html) {
return html.replace(/\((.*?)\)/g, '(<em>$1</em>)');
});// Wrap the first column's text with <strong> tag
$(this).find('td:first-child').wrapInner('<strong></strong>');// Apply <strong> tag to the matching words in the third column (case insensitive)
$(this).find('tr').each(function() {
var firstColumnText = $(this).find('td:first-child').text().trim().toLowerCase(); // Convert to lowercase
var thirdColumnCell = $(this).find('td:nth-child(3)');var thirdColumnText = thirdColumnCell.text().trim(); // No need to convert to lowercase
if (thirdColumnText.toLowerCase().includes(firstColumnText)) {
thirdColumnCell.html(thirdColumnText.replace(new RegExp(firstColumnText, "gi"), '<strong>$&</strong>'));
}
});
});// Custom function for case-insensitive comparison
function isEqualIgnoreCase(str1, str2) {
return str1.localeCompare(str2, undefined, { sensitivity: 'base' }) === 0;
}
});
document.documentElement.className += " spai_has_js";
(function(w, d){
var b = d.getElementsByTagName('head')[0];
var s = d.createElement("script");
var v = ("IntersectionObserver" in w) ? "" : "-compat";
s.async = true; // This includes the script as async.
s.src = "https://cdn.shortpixel.ai/assets/js/bundles/spai-lib-bg" + v
+ ".1.1.min.js?v=3.12.0";
w.spaiDomain = "cdn.shortpixel.ai";
w.spaiData = {
version: "3.12.0",
key: "spai",
customKeys: [],
quality: "glossy",
convert: "auto",
lqip: false,
rootMargin: "500px",
crop: false,
sizeBreakpoints: {"on":false,"base":50,"rate":10},
backgroundsMaxWidth: 1920,
resizeStyleBackgrounds: false,
nativeLazyLoad: true,
safeLazyBackgrounds: false,
asyncInitialParsing: false,
debug: false,
doSelectors: "__SPAI_DO_SELECTORS__",
exclusions: "__SPAI_EXCLUSIONS__",
sizeFromImageSuffix: true,
ajax_url: "https://impactful.ninja/wp-admin/admin-ajax.php"
};
b.appendChild(s);
}(window, document));
Impactful Ninja is reader-supported. When you buy through links on our site, we may earn an affiliate commission. Learn moreLearn more.
Affiliate Disclosure
Hey fellow impactful ninja ?
You may have noticed that Impactful Ninja is all about providing helpful information to make a positive impact on the world and society. And that we love to link back to where we found all the information for each of our posts.
Most of these links are informational-based for you to check out their primary sources with one click.
But some of these links are so-called "affiliate links" to products that we recommend.
Why do we add these product links?
First and foremost, because we believe that they add value to you. For example, when we wrote a post about the environmental impact of long showers, we came across an EPA recommendation to use WaterSense showerheads. So we linked to where you can find them. Or, for many of our posts, we also link to our favorite books on that topic so that you can get a much more holistic overview than one single blog post could provide.
And when there is an affiliate program for these products, we sign up for it. For example, as Amazon Associates, we earn from qualifying purchases.
What do these affiliate links mean for you?
First, and most importantly, we still only recommend products that we believe add value for you.
When you buy something through one of our affiliate links, we may earn a small commission - but at no additional costs to you.
And when you buy something through a link that is not an affiliate link, we won’t receive any commission but we’ll still be happy to have helped you.
What do these affiliate links mean for us?
When we find products that we believe add value to you and the seller has an affiliate program, we sign up for it.
When you buy something through one of our affiliate links, we may earn a small commission (at no extra costs to you).
And at this point in time, all money is reinvested in sharing the most helpful content with you. This includes all operating costs for running this site and the content creation itself.
What does this mean for me personally?
You may have noticed by the way Impactful Ninja is operated that money is not the driving factor behind it. It is a passion project of mine and I love to share helpful information with you to make a positive impact on the world and society. However, it's a project in that I invest a lot of time and also quite some money.
Eventually, my dream is to one day turn this passion project into my full-time job and provide even more helpful information. But that's still a long time to go.
Solar energy gained traction beginning in the 2000s when we realized that replacing fossil fuels with renewable energy is crucial to mitigating climate change. So, we had to ask: What are the environmental benefits of solar energy?
The main environmental benefits of solar energy include providing a renewable and sustainable source of energy, having a very low carbon footprint, protecting air quality, and generating very few waste products. Overall, solar energy is considered to be environmentally friendly energy.
Keep reading to find out all about what the environmental benefits of solar energy are, how safe and dangerous it is, what its pros and cons are, and how solar energy can specifically help mitigate climate change.
The Big Picture of the Environmental Benefits of Solar Energy
Solar energy is the conversion of solar radiation into electrical energy either through the use of photovoltaic (PV) panels or solar radiation-concentrating mirrors. The energy produced is then used to generate electricity or can be stored in batteries or thermal storage for use at a later time.
“Solar Energy: energy that uses the power of the sun to produce electricity”
Cambridge Dictionary
Harnessing the power of the sun falls into two main categories:
Photovoltaic (PV) solar cells: photovoltaic cells in solar panels absorb energy from sunlight, creating an electrical charge. This charge moves in response to an internal electric field in the cell, causing electricity to flow.
Concentrating solar thermal plants (CSP): mirrors reflect and concentrate sunlight onto receivers that collect and convert solar energy into heat. This is utilized in very large power plants.
Both systems take the energy from the sun and convert it to electricity, just by slightly different mechanisms. PV solar is the main mechanism used today to harness solar energy.
Overall, solar energy is considered to be environmentally friendly. It generates a fraction of the greenhouse gas emissions as fossil fuels, emits zero sulfur dioxide or nitrogen oxide emissions, and can have a minimal impact on the land.
Benefit #1: Solar energy is a renewable and sustainable energy source
Solar energy is a renewable and sustainable resource that can reduce emissions for generations to come.
Benefit #2: Solar energy has a low carbon footprint
Solar energy has one of the lowest carbon footprints out of all energy types.On a life-cycle basis, concentrating solar energy emits 38, PV roof solar energy emits 41, and PV utility solar energy emits 48 grams of CO2 equivalent per kWh of electricity produced.
Benefit #3: Solar energy protects air quality
PV panels and concentrating mirrors produce minimal greenhouse gasses and emit no sulfur dioxide or nitrogen oxides, thereby helping to protect air quality.
Benefit #4: Solar energy generates few waste products
Solar energy generates few waste products upon operation, and solar panels can be recycled.
What Are the 4 Main Environmental Benefits of Solar Energy
Solar energy is a renewable and sustainable energy source that has a low carbon footprint, protects air quality, and generates very few waste products.
Environmental Benefit #1: Solar Energy Is a Renewable and Sustainable Energy Source
Solar energy is a renewable and sustainable resource that can reduce emissions for generations to come.
Environmental Benefit #1
Renewable energy sources are resources that naturally replace themselves over time.
“Renewable Energy: energy that is produced using the sun, wind, etc., or from crops, rather than using fuels such as oil or coal | types of energy that can be replaced naturally such as energy produced from wind or water”
Cambridge Dictionary
Solar energy is classified as a renewable energy source because the sun generates energy at a rate faster than we can consume it. We can also continue to harness the sun’s energy almost indefinitely, or until the sun goes supernova (which won’t be for another 5 billion years).
Solar energy is also classified as a sustainable energy source. Sustainable energy sourcesmeet the needs of our current generation without compromising the ability of future generations to meet their own needs.
“Sustainable: The ability to be maintained at a certain rate or level | Avoidance of the depletion of natural resources in order to maintain an ecological balance”
Oxford Dictionary
Solar energy emits minimal greenhouse gas emissions (GHGs) and has a minimal effect on the environment, provided that proper siting and disposal methods are followed. This means future generations can continue to harness solar energy for many years.
Related: Are you interested in learning more about renewable and sustainable energy? Check it out in these articles here:
Environmental Benefit #2: Solar Energy Solar Energy Has a Low Carbon Footprint
Solar energy has one of the lowest carbon footprints out of all energy types.
Environmental Benefit #2
The carbon footprint is one of the ways we measure the effects of human-induced global climate change. It primarily focuses on the greenhouse gas (GHG) emissions associated with consumption and includes other emissions such as methane (CH4), nitrous oxide, and chlorofluorocarbons (CFCs).
“Carbon footprint: the amount of greenhouse gasses and specifically carbon dioxide emitted by something (such as a person’s activities or a product’s manufacture and transport) during a given period”
Merriam Webster
On a life-cycle basis, concentrating solar energy emits 38, PV roof solar energy emits 41, and PV utility solar energy emits 48 grams of CO2 equivalent per kWh of electricity produced.
Have a look at the illustration below to see the average life-cycle CO2 equivalent emissions of different energy sources and how they compare to solar energy.
Environmental Benefit #3: Solar Energy Protects Air Quality
Solar energy produces a fraction of the pollution and toxic chemicals that fossil fuels produce, helping to protect air quality.
Environmental Benefit #3
Air pollution can cause numerous health problems including asthma, breathing difficulties, brain damage, heart problems, and cancer. Fossil fuel (coal and natural gas) combustion emits coal ash residue, toxic heavy metals, CO2, carbon monoxide (CO), sulfur dioxide (SO2), and nitrogen oxides into the atmosphere, impairing public health.
Rather than combusting toxic materials like coal does, solar power plants harness the energy of the sun to generate electricity. PV panels and concentrating mirrors produce minimal greenhouse gasses and emit no sulfur dioxide or nitrogen oxides, thereby helping to protect air quality.
Environmental Benefit #4: Solar Energy Generates Few Waste Products
Solar energy generates few waste products upon operation, and solar panels can be recycled.
Solar panels themselves can be classified as hazardous wastedepending on the type of metals present in the semiconductor and solder. For example, lead, arsenic, and cadmium are considered to be detrimental to human health and the environment, at high levels, and are therefore classified as hazardous. If solar panels containing toxic metals are dumped into landfills, the metals may leach out into the environment.
Recycling end-of-life solar panels can help ensure any toxic chemicals do not leach out into the environment. Many of the components of solar panels can be recycled, including glass, aluminum, copper wire, and the plastic junction box. Specialty metals and silicon cells can also be separated and purified via chemical and electrical techniques.
The solar panel recycling industry is still in its infancy and continues to evolve. Just in 2018, Europe’s first solar panel recycling plant opened in southern France. Previously, solar panels were recycled in traditional recycling facilities where the glass and aluminum were separated and the rest burned in cement ovens.
The International Renewable Energy Agency estimates that by 2030, the value of the recoverable raw materials from solar panels at the end of their lifespan will reach $450 million, which would be enough to produce approximately 60 million new solar panels. This highlights the importance of recycling solar panels.
What Are the Main Environmental Drawbacks of Solar Energy
Solar energy is an intermittent energy source, may be classified as hazardous waste, can disturb the surrounding land, and can negatively impact wildlife if proper siting, construction, and disposal methods are not followed.
Environmental Drawbacks of Solar Energy
Quick Facts
Drawback #1: Solar energy is an intermittent energy source
Solar energy production is heavily influenced by location, time of year, and weather patterns, making it unpredictable at times.
Drawback #2: Solar energy may be classified as hazardous waste
Here’s How Environmentally Friendly Solar Energy Is
Overall, solar energy is considered to be environmentally friendly.
“Environmentally friendly: (of products) not harming the environment.”
Cambridge Dictionary
Solar energy does just as the word implies, it has a minimal, negative impact on the environment.
How environmentally friendly is the building of solar energy
The building of solar energy can be environmentally friendly so long as clearing the land for construction does not disturb natural habitats and degrade the land.
How environmentally friendly is the operating and maintaining of solar energy
Solar energy emits minimal greenhouse gas emissions and has a minimal effect on the environment, provided that proper siting of solar facilities occurs.
How environmentally friendly is the building back of solar energy
Solar panels themselves can be classified as hazardous waste depending on the type of metals present in the semiconductor and solder. Recycling end-of-life solar panels can help ensure any toxic chemicals do not leach out into the environment.
Overall, solar energy is not considered to be dangerous. Holistically and throughout its life cycle, solar is safe and beneficial for human and animal health, the environment, and the energy grid. It is also significantly safer than fossil fuels and other types of renewable energy.
Related: Are you interested in learning more about how safe or dangerous solar energy is? Check it out in these articles here:
Overall, solar energy is a safe form of energy regarding human and animal health, the environment, the energy grid, and throughout all stages of its life cycle.
How Safe Is Solar Energy at a Holistic Level
Human and Animal Health: Solar energy is safe for human and animal health and can be made safer with proper siting, monitoring, and maintenance of solar facilities. Environment: Solar energy emits minimal greenhouse gas emissions and has a minimal effect on the environment. Energy Grid and Infrastructure: Solar energy is a safe and beneficial addition to our power grid. It promotes the decentralization of our energy supply, which increases power grid efficiency by reducing peak time usage and decreasing the likelihood of power outages.
How Safe Is Solar Energy Across Its Life-Cycle
Building: Safe work practices and proper training of solar professionals can mitigate any risks associated with constructing solar facilities. Operating and Maintaining: Solar energy is considered safe to operate and maintain because it does not harm human health or the environment when producing energy. Building Back: This final stage is considered to be safe overall, with the most common workplace hazards (lifting, trips and falls, electricity, and ladders) able to be mitigated by safe work practices.
How Safe Is Solar Energy In Comparison to Other Types of Energy
Solar energy is one of our safest forms of energy that has one of the lowest death rates from accidents and air pollution per unit of electricity generation.
Here’s How Dangerous Solar Energy Is
Overall, solar energy is considered minimally dangerous in terms of human and animal health, the environment, the energy grid, and through all stages of its life cycle.
How Dangerous Is Solar Energy Across Its Life-Cycle
Building: Building solar facilities can expose workers to arc flashes (arc flash burn and blast hazards), electric shock, falls, and thermal burns. Operating and Maintaining: Solar energy has minimal dangers associated with this stage, with burns and electric shock being the most common. Building Back: The most common workplace hazards of this stage include those resulting from lifting, trips and falls, electricity, and ladders.
How Dangerous Is Solar Energy In Comparison to Other Types of Energy
Solar energy is significantly less dangerous than fossil fuels and other types of renewable energy. In fact, solar is one of the, if not the, safest forms of energy with a death rate of only 0.02 deaths per terawatt-hour of electricity produced.
What Are the 6 Pros and 4 Cons of Solar Energy
Solar energy is a renewable and sustainable energy source, has a low carbon footprint, protects air quality, is efficient, generates few waste products, has low maintenance costs, and promotes energy independence and security.
However, solar energy is also an intermittent energy source, faces high upfront and maintenance costs, and has specific land requirements.
Solar energy has various pros that make it effective at reducing carbon emissions.
6 Pros of Solar Energy
Quick Facts
#1: Solar energy is a renewable energy source
Solar energy is classified as a renewable energy source because the sun generates energy at a rate faster than we can consume it. It is also sustainable because it emits minimal greenhouse gas emissions (GHGs) and does not negatively affect the environment, provided that proper siting and disposal methods are followed.
#2: Solar energy has a low carbon footprint
Solar energy has the fifth-lowest carbon footprint out of all energy types. On a life-cycle basis, concentrating solar energy emits 38, PV roof solar energy emits 41, and PV utility solar energy emits 48 grams of CO2 equivalent per kWh of electricity produced.
#3: Solar energy protects air quality
Rather than combusting toxic materials like coal does, solar power plants harness the energy of the sun to generate electricity. PV panels and concentrating mirrors produce minimal greenhouse gasses and emit no sulfur dioxide or nitrogen oxides, thereby helping to protect air quality.
Solar energy generates minimal CO2 and few other waste products upon operation, and solar panels can be recycled.
#6: Solar energy promotes energy independence and energy security
Solar energy can help us transition away from fossil fuels and towards an energy-independent future.
These Are the 4 Cons of Solar Energy
Understanding the drawbacks of solar energy is important in order to effectively mitigate climate change.
4 Cons of Solar Energy
Quick Facts
#1: Solar energy is an intermittent energy source
The amount and availability of sunlight varies by location, time of day and year, and weather. The unpredictable nature of solar means we cannot rely on it fully to produce all of our energy.
Routine solar panel maintenance can cost between $140-$180 per service, and solar panel cleaning can cost $25 per panel. Optional solar system monitoring, roof and solar panel repairs, and tree trimming can be additional hidden expenses.
In terms of effectiveness, solar panels and concentrating mirrors are effective ways to convert sunlight into electricity. In addition, solar energy has a low carbon footprint, protects air quality, and promotes energy security and independence.
In terms of efficiency, solar panels are efficient at converting sunlight into electricity. In addition, solar energy is a renewable and sustainable energy source, increases the efficiency of the power grid, and generates few waste products.
Solar has the fifth-lowest carbon footprint out of all energy types.Concentrating solar energy emits 38, PV roof solar energy emits 41, and PV utility solar energy emits 48 grams of CO2 equivalent per kWh of electricity produced, on a life-cycle basis.
Solar energy boasts a high rate of efficiency per solar panel (15-20%) and is an efficient use of farmland.
Solar energy is a renewable and sustainable resource that can reduce emissions for generations to come.
Solar energy promotes the decentralization of our energy supply which increases power grid efficiency by reducing peak time usage and decreasing the likelihood of power outages.
Climate change is a severe, long-term consequence of fossil fuel combustion. If left untreated, atmospheric CO2 can remain there for tens of thousands of years and exacerbate the negative effects of climate change. Solar energy emits less CO2 upon operation than fossil fuels and can therefore reduce our total emissions.
How Is Climate Change Defined
Climate change is arguably the most severe, long-term global impact of CO2. Every year, we emit approximately 37 billion tons of CO2. The carbon found in fossil fuels reacts with oxygen in the air to produce CO2.
“Climate change: changes in the earth’s weather, including changes in temperature, wind patterns, and rainfall, especially the increase in the temperature of the earth’s atmosphere that is caused by the increase of particular gasses, especially carbon dioxide.”
Oxford Dictionary
When carbon enters the atmosphere, it absorbs sunlight and solar radiation, trapping the heat and acting as an insulator for the planet.
Since the Industrial Revolution, Earth’s temperature has risen a little more than 1 degree Celsius (°C), or 2 degrees Fahrenheit (°F). Between 1880-1980 the global temperature rose by 0.07°C every 10 years. This rate has more than doubled since 1981, with a current global annual temperature rise of 0.2°C, or 0.36°F, for every decade.
How Does Solar Energy Specifically Help Mitigate Climate Change
The global average concentration of CO2 in the atmosphere today registers at 419 parts per million (ppm), the highest ever recorded. Solar energy can help lower this concentration because it can replace some of the burning of fossil fuels (e.g., coal, oil, natural gas) with a cleaner form of renewable energy.
Solar emits roughly 0.05%-0.08% of the amount of CO2 (grams of CO2 equivalent per kWh) as fossil fuels. Solar also has a life-cycle global warming emission between 0.08 and 0.2 pounds of CO2 equivalent per kilowatt-hour (kWh), whilst coal power plants have an estimated emission between 1.4-3.6 pounds of CO2 equivalent per kWh.
Increasing solar energy usage can reduce CO2 emissions, and the more we reduce CO2 emissions, the more we combat the negative effects associated with climate change including temperature rise, sea-level rise, ice melting, and ocean acidification. When these rates are slowed, the earth’s biodiversity does not have to struggle to adapt to temperature and pH changes. People will not be displaced due to the flooding of coastal areas. And icebergs will continue to provide climate regulation.
Final Thoughts
Solar energy is a renewable and sustainable energy source that has a low carbon footprint, protects air quality, and generates very few waste products.
Solar energy is poised to see continued growth in the future as we look to reduce greenhouse gas emissions and mitigate global warming. As we look towards a future powered by renewables, solar energy is predicted to continue increasing in capacity because it benefits both our atmosphere and Earth’s biota.
Grace loves to research and write about all things related to climate action and sustainability. She holds a Bachelor’s degree in Environmental Biology and works as a Natural Resource Specialist. Outside of work, she loves to work out, play soccer, and take her dog for long walks.
Get the 5-minute newsletter that brings real positive news to your inbox — every Mon, Wed, and Fri.
0
jQuery(document).ready(function () {
// Click event for the link with ".listen" class
$(".listen").click(function (e) {
e.preventDefault();
$("#affiliate-disclosure, #social-share-item").slideUp();
$("#l2it-audio-player").slideToggle("fast", "linear");
});// Click event for the link with ".disclosure" class
$(".disclosure").click(function (e) {
e.preventDefault();
$("#l2it-audio-player, #social-share-item").slideUp();
$("#affiliate-disclosure").slideToggle("fast", "linear");
});// Click event for the link with ".share-button" class
$(".share-button").click(function (e) {
e.preventDefault();
$("#l2it-audio-player, #affiliate-disclosure").slideUp();
$("#social-share-item").slideToggle("fast", "linear");
});// Open #affiliate-disclosure by default
$("#affiliate-disclosure").slideDown("fast", "linear");
});
window.fluent_form_ff_form_instance_5_2 = {"id":"5","ajaxUrl":"https:\/\/impactful.ninja\/wp-admin\/admin-ajax.php","settings":{"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"},"restrictions":{"denyEmptySubmission":{"enabled":false}}},"form_instance":"ff_form_instance_5_2","form_id_selector":"fluentform_5","rules":{"description":{"required":{"value":true,"message":"Please enter your feedback here.","global_message":"This field is required","global":false}},"names[first_name]":{"required":{"value":true,"message":"Please enter your name (or any pseudonym if you prefer) here.","global_message":"This field is required","global":false}},"names[middle_name]":{"required":{"value":false,"message":"This field is required","global_message":"This field is required","global":true}},"names[last_name]":{"required":{"value":false,"message":"This field is required","global_message":"This field is required","global":true}},"email":{"required":{"value":true,"message":"Please enter your email address here.","global_message":"This field is required","global":false},"email":{"value":true,"message":"This field must contain a valid email","global_message":"This field must contain a valid email","global":true}}},"debounce_time":300,"file_upload_settings":[]};
window.fluent_form_ff_form_instance_10_3 = {"id":"10","ajaxUrl":"https:\/\/impactful.ninja\/wp-admin\/admin-ajax.php","settings":{"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"},"restrictions":{"denyEmptySubmission":{"enabled":false}}},"form_instance":"ff_form_instance_10_3","form_id_selector":"fluentform_10","rules":{"names[first_name]":{"required":{"value":true,"message":"Please fill your name","global_message":"This field is required","global":false}},"names[middle_name]":{"required":{"value":false,"message":"This field is required","global_message":"This field is required","global":true}},"names[last_name]":{"required":{"value":false,"message":"This field is required","global_message":"This field is required","global":true}},"email":{"required":{"value":true,"message":"Please fill your email","global_message":"This field is required","global":false},"email":{"value":true,"message":"This field must contain a valid email","global_message":"This field must contain a valid email","global":true}}},"debounce_time":300,"file_upload_settings":[]};
window.fluent_form_ff_form_instance_17_4 = {"id":"17","ajaxUrl":"https:\/\/impactful.ninja\/wp-admin\/admin-ajax.php","settings":{"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"},"restrictions":{"denyEmptySubmission":{"enabled":false}}},"form_instance":"ff_form_instance_17_4","form_id_selector":"fluentform_17","rules":{"names[first_name]":{"required":{"value":true,"message":"Please fill your name","global_message":"This field is required","global":false}},"names[middle_name]":{"required":{"value":false,"message":"This field is required","global_message":"This field is required","global":true}},"names[last_name]":{"required":{"value":false,"message":"This field is required","global_message":"This field is required","global":true}},"email":{"required":{"value":true,"message":"Please fill your email","global_message":"This field is required","global":false},"email":{"value":true,"message":"This field must contain a valid email","global_message":"This field must contain a valid email","global":true}}},"debounce_time":300,"file_upload_settings":[]};
// Do not change this comment line otherwise Speed Optimizer won't be able to detect this script(function () {
function sendRequest(url, body) {
if(!window.fetch) {
const xhr = new XMLHttpRequest();
xhr.open("POST", url, true);
xhr.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
xhr.send(JSON.stringify(body))
return
}fetch(url, {
method: 'POST',
body: JSON.stringify(body),
keepalive: true,
headers: {
'Content-Type': 'application/json;charset=UTF-8'
}
}).catch(() => {});
}
const calculateParentDistance = (child, parent) => {
let count = 0;
let currentElement = child;// Traverse up the DOM tree until we reach parent or the top of the DOM
while (currentElement && currentElement !== parent) {
currentElement = currentElement.parentNode;
count++;
}// If parent was not found in the hierarchy, return -1
if (!currentElement) {
return -1; // Indicates parent is not an ancestor of element
}return count; // Number of layers between element and parent
}
const isMatchingClass = (linkRule, href, classes, ids) => {
return classes.includes(linkRule.value)
}
const isMatchingId = (linkRule, href, classes, ids) => {
return ids.includes(linkRule.value)
}
const parseUrl = (href) => {
try {
return new URL(href)
} catch (error) {
return null
}
}
const isMatchingDomain = (linkRule, href, classes, ids) => {
const url = parseUrl(href)
if(!url) {
return false
}const host = url.host
const hostsToMatch = [host]if(host.startsWith('www.')) {
hostsToMatch.push(host.substring(4))
} else {
hostsToMatch.push('www.' + host)
}return hostsToMatch.includes(linkRule.value)
}
const isMatchingExtension = (linkRule, href, classes, ids) => {
const url = parseUrl(href)
if(!url) {
return false
}return url.pathname.endsWith('.' + linkRule.value)
}
const isMatchingSubdirectory = (linkRule, href, classes, ids) => {
const url = parseUrl(href)
if(!url) {
return false
}return url.pathname.startsWith('/' + linkRule.value + '/')
}
const isMatchingProtocol = (linkRule, href, classes, ids) => {
const url = parseUrl(href)
if(!url) {
return false
}return url.protocol === linkRule.value + ':'
}
const isMatchingExternal = (linkRule, href, classes, ids) => {
const linkUrl = parseUrl(href)
const siteUrl = parseUrl(document.location.href)
if(!linkUrl || !siteUrl) {
return false
}const matchingProtocols = ['http:', 'https:']// Links to subdomains will appear to be external matches according to JavaScript,
// but the PHP rules will filter those events out.
return matchingProtocols.includes(linkUrl.protocol) && siteUrl.host !== linkUrl.host
}
const isMatch = (linkRule, href, classes, ids) => {
switch (linkRule.type) {
case 'class':
return isMatchingClass(linkRule, href, classes, ids)
case 'id':
return isMatchingId(linkRule, href, classes, ids)
case 'domain':
return isMatchingDomain(linkRule, href, classes, ids)
case 'extension':
return isMatchingExtension(linkRule, href, classes, ids)
case 'subdirectory':
return isMatchingSubdirectory(linkRule, href, classes, ids)
case 'protocol':
return isMatchingProtocol(linkRule, href, classes, ids)
case 'external':
return isMatchingExternal(linkRule, href, classes, ids)
default:
return false;
}
}
const track = (element) => {
const href = element.href ?? null
const classes = Array.from(element.classList)
const ids = [element.id]
const linkRules = [{"type":"extension","value":"pdf"},{"type":"extension","value":"zip"},{"type":"protocol","value":"mailto"},{"type":"protocol","value":"tel"}]
if(linkRules.length === 0) {
return
}// For link rules that target an id, we need to allow that id to appear
// in any ancestor up to the 7th ancestor. This loop looks for those matches
// and counts them.
linkRules.forEach((linkRule) => {
if(linkRule.type !== 'id') {
return;
}const matchingAncestor = element.closest('#' + linkRule.value)if(!matchingAncestor || matchingAncestor.matches('html, body')) {
return;
}const depth = calculateParentDistance(element, matchingAncestor)if(depth < 7) {
ids.push(linkRule.value)
}
});// For link rules that target a class, we need to allow that class to appear
// in any ancestor up to the 7th ancestor. This loop looks for those matches
// and counts them.
linkRules.forEach((linkRule) => {
if(linkRule.type !== 'class') {
return;
}const matchingAncestor = element.closest('.' + linkRule.value)if(!matchingAncestor || matchingAncestor.matches('html, body')) {
return;
}const depth = calculateParentDistance(element, matchingAncestor)if(depth < 7) {
classes.push(linkRule.value)
}
});const hasMatch = linkRules.some((linkRule) => {
return isMatch(linkRule, href, classes, ids)
})if(!hasMatch) {
return
}const url = "https://impactful.ninja/wp-content/plugins/independent-analytics-pro/iawp-click-endpoint.php";
const siteId = "";
const body = {
href: href,
classes: classes.join(' '),
ids: ids.join(' '),
siteId: siteId,
...{"payload":{"resource":"singular","singular_id":55631,"page":1},"signature":"dd5c8dd90a4df8488318a173c61aa5b4"} };sendRequest(url, body)
}
let hasSearched = false;
function search() {
if(hasSearched) {
return;
}
hasSearched = true;if (document.hasOwnProperty("visibilityState") && document.visibilityState === "prerender") {
return;
}if (navigator.webdriver || /bot|crawler|spider|crawling|semrushbot|chrome-lighthouse/i.test(navigator.userAgent)) {
return;
}
let referrer_url = null;if (typeof document.referrer === 'string' && document.referrer.length > 0) {
referrer_url = document.referrer;
}const params = location.search.slice(1).split('&').reduce((acc, s) => {
const [k, v] = s.split('=');
return Object.assign(acc, {[k]: v});
}, {});const url = "https://impactful.ninja/wp-json/iawp/search";
const body = {
referrer_url,
utm_source: params.utm_source,
utm_medium: params.utm_medium,
utm_campaign: params.utm_campaign,
utm_term: params.utm_term,
utm_content: params.utm_content,
gclid: params.gclid,
fbclid: params.fbclid,
oppref: params.oppref,
...{"payload":{"resource":"singular","singular_id":55631,"page":1},"signature":"dd5c8dd90a4df8488318a173c61aa5b4"} };sendRequest(url, body)
}
document.addEventListener('mousedown', function (event) {
if (navigator.webdriver || /bot|crawler|spider|crawling|semrushbot|chrome-lighthouse/i.test(navigator.userAgent)) {
return;
}
const element = event.target.closest('a')if(!element) {
return
}const isPro = true
if(!isPro) {
return
}// Don't track left clicks with this event. The click event is used for that.
if(event.button === 0) {
return
}track(element)
}, true)
document.addEventListener('click', function (event) {
if (navigator.webdriver || /bot|crawler|spider|crawling|semrushbot|chrome-lighthouse/i.test(navigator.userAgent)) {
return;
}
const element = event.target.closest('a, button, input[type="submit"], input[type="button"]')if(!element) {
return
}const isPro = true
if(!isPro) {
return
}track(element)
}, true)
document.addEventListener('play', function (event) {
if (navigator.webdriver || /bot|crawler|spider|crawling|semrushbot|chrome-lighthouse/i.test(navigator.userAgent)) {
return;
}
const element = event.target.closest('audio, video')if(!element) {
return
}const isPro = true
if(!isPro) {
return
}track(element)
}, true)
document.addEventListener("DOMContentLoaded", function (e) {
search();
});
document.addEventListener("iawpSearch", function (e) {
search();
});
})();
var hamburgers = document.querySelectorAll(".hamburger"),
menuToggle = document.querySelector( '.menu-toggle' ),
menuItems = document.querySelectorAll( 'nav ul a' ),
htmlEl = document.documentElement;menuToggle.addEventListener("click", function() {
for ( var h = 0; h < hamburgers.length; h++ ) {
hamburgers[h].classList.toggle("is-active");
}
} );for ( var i = 0; i < menuItems.length; i++ ) {
menuItems[i].addEventListener( 'click', function( e ) {
var closest_nav = this.closest( 'nav' );
if ( closest_nav.classList.contains( 'toggled' ) || htmlEl.classList.contains( 'slide-opened' ) ) {
var url = this.getAttribute( 'href' );
var hash = url.split('#')[1];// Open the sub-menu if the link has no destination
if ( '#' === url ) {
e.preventDefault();
for ( var h = 0; h < hamburgers.length; h++ ) {
hamburgers[h].classList.toggle("is-active");
}
}
}
}, false );
}var checkHamburgers = function() {
var openedMobileMenus = document.querySelectorAll( '.toggled, .has-active-search' );for ( var i = 0; i < openedMobileMenus.length; i++ ) {
var menuToggle = openedMobileMenus[i].querySelector( '.menu-toggle' );if ( menuToggle && menuToggle.offsetParent === null ) {
if ( openedMobileMenus[i].classList.contains( 'toggled' ) ) {
var hamburgers = document.querySelectorAll(".hamburger");for ( var h = 0; h < hamburgers.length; h++ ) {
hamburgers[h].classList.remove("is-active");
}
}
}
}
}
window.addEventListener( 'resize', checkHamburgers, false );
window.addEventListener( 'orientationchange', checkHamburgers, false );
jQuery(document).ready(function() {
jQuery(".show-more button").on("click", function() {
var $this = jQuery(this);
var $content = $this.parent().prev("div.content");
$content.toggleClass("hideContent showContent");
$this.remove(); // Remove the button after it is clicked
});
});
window.fluent_form_ff_form_instance_17_1 = {"id":"17","ajaxUrl":"https:\/\/impactful.ninja\/wp-admin\/admin-ajax.php","settings":{"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"},"restrictions":{"denyEmptySubmission":{"enabled":false}}},"form_instance":"ff_form_instance_17_1","form_id_selector":"fluentform_17","rules":{"names[first_name]":{"required":{"value":true,"message":"Please fill your name","global_message":"This field is required","global":false}},"names[middle_name]":{"required":{"value":false,"message":"This field is required","global_message":"This field is required","global":true}},"names[last_name]":{"required":{"value":false,"message":"This field is required","global_message":"This field is required","global":true}},"email":{"required":{"value":true,"message":"Please fill your email","global_message":"This field is required","global":false},"email":{"value":true,"message":"This field must contain a valid email","global_message":"This field must contain a valid email","global":true}}},"debounce_time":300,"file_upload_settings":[]};
(function () {
var c = document.body.className;
c = c.replace(/woocommerce-no-js/, 'woocommerce-js');
document.body.className = c;
})();
var fluentFormVars = {"ajaxUrl":"https://impactful.ninja/wp-admin/admin-ajax.php","forms":[],"step_text":"Step %activeStep% of %totalStep% - %stepTitle%","step_completed_text":"Completed","is_rtl":"","date_i18n":{"previousMonth":"Previous Month","nextMonth":"Next Month","months":{"shorthand":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"longhand":["January","February","March","April","May","June","July","August","September","October","November","December"]},"weekdays":{"longhand":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"shorthand":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},"daysInMonth":[31,28,31,30,31,30,31,31,30,31,30,31],"rangeSeparator":" to ","weekAbbreviation":"Wk","scrollTitle":"Scroll to increment","toggleTitle":"Click to toggle","amPM":["AM","PM"],"yearAriaLabel":"Year","firstDayOfWeek":1},"pro_version":"6.2.17","fluentform_version":"6.2.17","force_init":"","stepAnimationDuration":"350","upload_completed_txt":"100% Completed","upload_start_txt":"0% Completed","uploading_txt":"Uploading","choice_js_vars":{"noResultsText":"No results found","loadingText":"Loading...","noChoicesText":"No choices to choose from","itemSelectText":"Press to select","maxItemTextSingular":"Only %%maxItemCount%% option can be added","maxItemTextPlural":"Only %%maxItemCount%% options can be added"},"input_mask_vars":{"clearIfNotMatch":false},"nonce":"9a39e23706","file_delete_nonce":"e70b69298b","form_id":"17","step_change_focus":"1","has_cleantalk":"","pro_payment_script_compatible":"1","crop_image_title":"Crop Image","crop_confirm_txt":"Crop & Upload","crop_cancel_txt":"Cancel","crop_close_txt":"Close","crop_reset_txt":"Reset","crop_ratio_txt":"Crop ratio","crop_ratio_free_txt":"Free","crop_invalid_dimensions_txt":"The selected image is smaller than the required crop size.","crop_exact_dimensions_txt":"The cropped image must match the required width and height.","crop_dimension_instruction_txt":"Crop the image to exactly %1$s px x %2$s px.","crop_invalid_image_txt":"Unable to process the selected image.","crop_loading_txt":"Preparing image..."};
var fluentform_submission_messages_17 = {"file_upload_in_progress":"File upload in progress. Please wait...","javascript_handler_failed":"Javascript handler could not be loaded. Form submission has been failed. Reload the page and try again"};
var fluentform_payment_messages_17 = {"stock_out_message":"This Item is Stock Out","item_label":"Item","price_label":"Price","qty_label":"Qty","line_total_label":"Line Total","sub_total_label":"Sub Total","discount_label":"Discount","total_label":"Total","signup_fee_label":"Signup Fee","trial_label":"Trial","processing_text":"Processing...","confirming_text":"Confirming..."};
var fluentform_save_progress_messages_17 = {"copy_button":"Copy","email_button":"Email","email_placeholder":"Your Email Here","copy_success":"Copied"};
var fluentform_address_messages_17 = {"please_wait":"Please wait ...","location_not_determined":"Could not determine address from location.","address_fetch_failed":"Failed to fetch address from coordinates.","geolocation_failed":"Geolocation failed or was denied.","geolocation_not_supported":"Geolocation is not supported by this browser."};
var fluentform_gateway_messages_17 = {"request_failed":"Request failed. Please try again","payment_failed":"Payment process failed!","no_method_found":"No method found","processing_text":"Processing..."};
var fluentform_submission_messages_global = {"javascript_handler_failed":"Javascript handler could not be loaded. Form submission has been failed. Reload the page and try again"};
var fluentform_address_messages_global = {"please_wait":"Please wait ...","location_not_determined":"Could not determine address from location.","address_fetch_failed":"Failed to fetch address from coordinates.","geolocation_failed":"Geolocation failed or was denied.","geolocation_not_supported":"Geolocation is not supported by this browser."};
var fluentFormVars = {"ajaxUrl":"https://impactful.ninja/wp-admin/admin-ajax.php","forms":[],"step_text":"Step %activeStep% of %totalStep% - %stepTitle%","step_completed_text":"Completed","is_rtl":"","date_i18n":{"previousMonth":"Previous Month","nextMonth":"Next Month","months":{"shorthand":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"longhand":["January","February","March","April","May","June","July","August","September","October","November","December"]},"weekdays":{"longhand":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"shorthand":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},"daysInMonth":[31,28,31,30,31,30,31,31,30,31,30,31],"rangeSeparator":" to ","weekAbbreviation":"Wk","scrollTitle":"Scroll to increment","toggleTitle":"Click to toggle","amPM":["AM","PM"],"yearAriaLabel":"Year","firstDayOfWeek":1},"pro_version":"6.2.17","fluentform_version":"6.2.17","force_init":"","stepAnimationDuration":"350","upload_completed_txt":"100% Completed","upload_start_txt":"0% Completed","uploading_txt":"Uploading","choice_js_vars":{"noResultsText":"No results found","loadingText":"Loading...","noChoicesText":"No choices to choose from","itemSelectText":"Press to select","maxItemTextSingular":"Only %%maxItemCount%% option can be added","maxItemTextPlural":"Only %%maxItemCount%% options can be added"},"input_mask_vars":{"clearIfNotMatch":false},"nonce":"9a39e23706","file_delete_nonce":"e70b69298b","form_id":"5","step_change_focus":"1","has_cleantalk":"","pro_payment_script_compatible":"1","crop_image_title":"Crop Image","crop_confirm_txt":"Crop & Upload","crop_cancel_txt":"Cancel","crop_close_txt":"Close","crop_reset_txt":"Reset","crop_ratio_txt":"Crop ratio","crop_ratio_free_txt":"Free","crop_invalid_dimensions_txt":"The selected image is smaller than the required crop size.","crop_exact_dimensions_txt":"The cropped image must match the required width and height.","crop_dimension_instruction_txt":"Crop the image to exactly %1$s px x %2$s px.","crop_invalid_image_txt":"Unable to process the selected image.","crop_loading_txt":"Preparing image..."};
var fluentform_submission_messages_5 = {"file_upload_in_progress":"File upload in progress. Please wait...","javascript_handler_failed":"Javascript handler could not be loaded. Form submission has been failed. Reload the page and try again"};
var fluentform_payment_messages_5 = {"stock_out_message":"This Item is Stock Out","item_label":"Item","price_label":"Price","qty_label":"Qty","line_total_label":"Line Total","sub_total_label":"Sub Total","discount_label":"Discount","total_label":"Total","signup_fee_label":"Signup Fee","trial_label":"Trial","processing_text":"Processing...","confirming_text":"Confirming..."};
var fluentform_save_progress_messages_5 = {"copy_button":"Copy","email_button":"Email","email_placeholder":"Your Email Here","copy_success":"Copied"};
var fluentform_address_messages_5 = {"please_wait":"Please wait ...","location_not_determined":"Could not determine address from location.","address_fetch_failed":"Failed to fetch address from coordinates.","geolocation_failed":"Geolocation failed or was denied.","geolocation_not_supported":"Geolocation is not supported by this browser."};
var fluentform_gateway_messages_5 = {"request_failed":"Request failed. Please try again","payment_failed":"Payment process failed!","no_method_found":"No method found","processing_text":"Processing..."};
var fluentform_submission_messages_global = {"javascript_handler_failed":"Javascript handler could not be loaded. Form submission has been failed. Reload the page and try again"};
var fluentform_address_messages_global = {"please_wait":"Please wait ...","location_not_determined":"Could not determine address from location.","address_fetch_failed":"Failed to fetch address from coordinates.","geolocation_failed":"Geolocation failed or was denied.","geolocation_not_supported":"Geolocation is not supported by this browser."};
var fluentFormVars = {"ajaxUrl":"https://impactful.ninja/wp-admin/admin-ajax.php","forms":[],"step_text":"Step %activeStep% of %totalStep% - %stepTitle%","step_completed_text":"Completed","is_rtl":"","date_i18n":{"previousMonth":"Previous Month","nextMonth":"Next Month","months":{"shorthand":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"longhand":["January","February","March","April","May","June","July","August","September","October","November","December"]},"weekdays":{"longhand":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"shorthand":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},"daysInMonth":[31,28,31,30,31,30,31,31,30,31,30,31],"rangeSeparator":" to ","weekAbbreviation":"Wk","scrollTitle":"Scroll to increment","toggleTitle":"Click to toggle","amPM":["AM","PM"],"yearAriaLabel":"Year","firstDayOfWeek":1},"pro_version":"6.2.17","fluentform_version":"6.2.17","force_init":"","stepAnimationDuration":"350","upload_completed_txt":"100% Completed","upload_start_txt":"0% Completed","uploading_txt":"Uploading","choice_js_vars":{"noResultsText":"No results found","loadingText":"Loading...","noChoicesText":"No choices to choose from","itemSelectText":"Press to select","maxItemTextSingular":"Only %%maxItemCount%% option can be added","maxItemTextPlural":"Only %%maxItemCount%% options can be added"},"input_mask_vars":{"clearIfNotMatch":false},"nonce":"9a39e23706","file_delete_nonce":"e70b69298b","form_id":"10","step_change_focus":"1","has_cleantalk":"","pro_payment_script_compatible":"1","crop_image_title":"Crop Image","crop_confirm_txt":"Crop & Upload","crop_cancel_txt":"Cancel","crop_close_txt":"Close","crop_reset_txt":"Reset","crop_ratio_txt":"Crop ratio","crop_ratio_free_txt":"Free","crop_invalid_dimensions_txt":"The selected image is smaller than the required crop size.","crop_exact_dimensions_txt":"The cropped image must match the required width and height.","crop_dimension_instruction_txt":"Crop the image to exactly %1$s px x %2$s px.","crop_invalid_image_txt":"Unable to process the selected image.","crop_loading_txt":"Preparing image..."};
var fluentform_submission_messages_10 = {"file_upload_in_progress":"File upload in progress. Please wait...","javascript_handler_failed":"Javascript handler could not be loaded. Form submission has been failed. Reload the page and try again"};
var fluentform_payment_messages_10 = {"stock_out_message":"This Item is Stock Out","item_label":"Item","price_label":"Price","qty_label":"Qty","line_total_label":"Line Total","sub_total_label":"Sub Total","discount_label":"Discount","total_label":"Total","signup_fee_label":"Signup Fee","trial_label":"Trial","processing_text":"Processing...","confirming_text":"Confirming..."};
var fluentform_save_progress_messages_10 = {"copy_button":"Copy","email_button":"Email","email_placeholder":"Your Email Here","copy_success":"Copied"};
var fluentform_address_messages_10 = {"please_wait":"Please wait ...","location_not_determined":"Could not determine address from location.","address_fetch_failed":"Failed to fetch address from coordinates.","geolocation_failed":"Geolocation failed or was denied.","geolocation_not_supported":"Geolocation is not supported by this browser."};
var fluentform_gateway_messages_10 = {"request_failed":"Request failed. Please try again","payment_failed":"Payment process failed!","no_method_found":"No method found","processing_text":"Processing..."};
var fluentform_submission_messages_global = {"javascript_handler_failed":"Javascript handler could not be loaded. Form submission has been failed. Reload the page and try again"};
var fluentform_address_messages_global = {"please_wait":"Please wait ...","location_not_determined":"Could not determine address from location.","address_fetch_failed":"Failed to fetch address from coordinates.","geolocation_failed":"Geolocation failed or was denied.","geolocation_not_supported":"Geolocation is not supported by this browser."};
var fluentFormVars = {"ajaxUrl":"https://impactful.ninja/wp-admin/admin-ajax.php","forms":[],"step_text":"Step %activeStep% of %totalStep% - %stepTitle%","step_completed_text":"Completed","is_rtl":"","date_i18n":{"previousMonth":"Previous Month","nextMonth":"Next Month","months":{"shorthand":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"longhand":["January","February","March","April","May","June","July","August","September","October","November","December"]},"weekdays":{"longhand":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"shorthand":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},"daysInMonth":[31,28,31,30,31,30,31,31,30,31,30,31],"rangeSeparator":" to ","weekAbbreviation":"Wk","scrollTitle":"Scroll to increment","toggleTitle":"Click to toggle","amPM":["AM","PM"],"yearAriaLabel":"Year","firstDayOfWeek":1},"pro_version":"6.2.17","fluentform_version":"6.2.17","force_init":"","stepAnimationDuration":"350","upload_completed_txt":"100% Completed","upload_start_txt":"0% Completed","uploading_txt":"Uploading","choice_js_vars":{"noResultsText":"No results found","loadingText":"Loading...","noChoicesText":"No choices to choose from","itemSelectText":"Press to select","maxItemTextSingular":"Only %%maxItemCount%% option can be added","maxItemTextPlural":"Only %%maxItemCount%% options can be added"},"input_mask_vars":{"clearIfNotMatch":false},"nonce":"9a39e23706","file_delete_nonce":"e70b69298b","form_id":"17","step_change_focus":"1","has_cleantalk":"","pro_payment_script_compatible":"1","crop_image_title":"Crop Image","crop_confirm_txt":"Crop & Upload","crop_cancel_txt":"Cancel","crop_close_txt":"Close","crop_reset_txt":"Reset","crop_ratio_txt":"Crop ratio","crop_ratio_free_txt":"Free","crop_invalid_dimensions_txt":"The selected image is smaller than the required crop size.","crop_exact_dimensions_txt":"The cropped image must match the required width and height.","crop_dimension_instruction_txt":"Crop the image to exactly %1$s px x %2$s px.","crop_invalid_image_txt":"Unable to process the selected image.","crop_loading_txt":"Preparing image..."};
var fluentform_submission_messages_17 = {"file_upload_in_progress":"File upload in progress. Please wait...","javascript_handler_failed":"Javascript handler could not be loaded. Form submission has been failed. Reload the page and try again"};
var fluentform_payment_messages_17 = {"stock_out_message":"This Item is Stock Out","item_label":"Item","price_label":"Price","qty_label":"Qty","line_total_label":"Line Total","sub_total_label":"Sub Total","discount_label":"Discount","total_label":"Total","signup_fee_label":"Signup Fee","trial_label":"Trial","processing_text":"Processing...","confirming_text":"Confirming..."};
var fluentform_save_progress_messages_17 = {"copy_button":"Copy","email_button":"Email","email_placeholder":"Your Email Here","copy_success":"Copied"};
var fluentform_address_messages_17 = {"please_wait":"Please wait ...","location_not_determined":"Could not determine address from location.","address_fetch_failed":"Failed to fetch address from coordinates.","geolocation_failed":"Geolocation failed or was denied.","geolocation_not_supported":"Geolocation is not supported by this browser."};
var fluentform_gateway_messages_17 = {"request_failed":"Request failed. Please try again","payment_failed":"Payment process failed!","no_method_found":"No method found","processing_text":"Processing..."};
var fluentform_submission_messages_global = {"javascript_handler_failed":"Javascript handler could not be loaded. Form submission has been failed. Reload the page and try again"};
var fluentform_address_messages_global = {"please_wait":"Please wait ...","location_not_determined":"Could not determine address from location.","address_fetch_failed":"Failed to fetch address from coordinates.","geolocation_failed":"Geolocation failed or was denied.","geolocation_not_supported":"Geolocation is not supported by this browser."};
//# sourceURL=fluent-form-submission-js-extra
var wc_ppcp_sdk_v6 = {"sdk_url":"https://www.paypal.com/web-sdk/v6/core","page_context":"","buttons_enabled":"","currency":"USD","amount":"","buyer_country":"CH","merchant_country":"CH","locale":"en-US","bn_code":"Woo_PPCP","vaulting_enabled":"","final_review":"1","pay_now_contexts":["checkout","pay-now"],"is_free_trial_cart":"","cart_needs_vaulting":"","has_subscriptions":"","verification_method":"NO_3D_SECURE","user":{"is_logged":false},"ajax":{"client_token":{"endpoint":"/?wc-ajax=ppc-sdk-v6-client-token","nonce":"3c5343e48a"},"change_cart":{"endpoint":"/?wc-ajax=ppc-change-cart","nonce":"2ebbfdff42"},"simulate_cart":{"endpoint":"/?wc-ajax=ppc-sdk-v6-simulate-cart","nonce":"d1e368d30b"},"wallet_shipping":{"endpoint":"/?wc-ajax=ppc-sdk-v6-wallet-shipping","nonce":"47607d1989"},"create_order":{"endpoint":"/?wc-ajax=ppc-create-order","nonce":"e24ea89e24"},"approve_order":{"endpoint":"/?wc-ajax=ppc-approve-order","nonce":"4c62bd55cf"},"get_order":{"endpoint":"/?wc-ajax=ppc-get-order","nonce":"3aea7033df"},"update_shipping":{"endpoint":"/?wc-ajax=ppc-update-shipping","nonce":"7b77039ef2"},"create_setup_token":{"endpoint":"/?wc-ajax=ppc-create-setup-token","nonce":"c48b86c1fb"},"create_payment_token":{"endpoint":"/?wc-ajax=ppc-create-payment-token","nonce":"4a5e500677"},"create_payment_token_for_guest":{"endpoint":"/?wc-ajax=ppc-update-customer-id","nonce":"428fc1381b"},"frontend_log":{"endpoint":"/?wc-ajax=ppc-frontend-log","nonce":"bc82c81070"},"wc_store_api":{"cart":"https://impactful.ninja/wp-json/wc/store/v1/cart","select_shipping_rate":"https://impactful.ninja/wp-json/wc/store/v1/cart/select-shipping-rate","update_customer":"https://impactful.ninja/wp-json/wc/store/v1/cart/update-customer","nonce":"de040d5cb7"}},"urls":{"checkout":"https://impactful.ninja/checkout/"},"labels":{"generic_error":"Something went wrong. Please try again or choose another payment source.","card_declined":"The card could not be charged. Please check the details or try a different card.","shipping_unserviceable":"Cannot ship to the selected address.","fields_empty":"Card payment details are missing. Please fill in all required fields.","fields_not_valid":"Unfortunately, your credit card details are not valid.","subtotal":"Subtotal","shipping":"Shipping","tax":"Tax","discount":"Discount"},"shipping":{"in_context":{"mini-cart":false},"countries":[]},"button_styles":{"mini-cart":{"colorClass":"paypal-gold","borderRadius":"4px","height":"35px"}},"pay_later_button":{"mini-cart":false},"venmo_button":{"mini-cart":true},"button_height":"48px","wrapper":"#ppc-button-ppcp-gateway-v6","mini_cart_wrapper":"#ppc-button-minicart-v6","card_fields":{"enabled":false,"payment_method":"ppcp-credit-card-gateway","funding_source":"card","title":"Debit & Credit Cards","is_vaulting_enabled":false,"card_icons":[],"fields":{"number":"#ppcp-credit-card-gateway-card-number","expiry":"#ppcp-credit-card-gateway-card-expiry","cvv":"#ppcp-credit-card-gateway-card-cvc"},"styles":[]},"card_button":{"row":false,"block_method":false,"payment_method":"ppcp-card-button-gateway","funding_source":"card","wrapper":"#ppc-button-ppcp-card-button-gateway-v6","title":"","description":"","supported_features":["products"],"styles":{"borderRadius":"4px","height":"48px","width":"100%"}},"fastlane":{"enabled":false,"payment_method":"ppcp-axo-gateway"},"messages":{"enabled":false,"wrapper":".ppcp-messages","is_hidden":false,"amount":"0.00","page_type":"checkout","style":{"logoType":"WORDMARK","logoPosition":"LEFT","textColor":"BLACK","fontSize":"12px"},"use_cart_simulation":false},"google_pay":{"enabled":false,"sdk_url":"https://pay.google.com/gp/p/js/pay.js","styles":[],"supported_features":["products"],"gateway":null,"environment":"PRODUCTION"},"apple_pay":{"enabled":false,"sdk_url":"https://applepay.cdn-apple.com/jsapi/v1/apple-pay-sdk.js","styles":[],"supported_features":["products"],"gateway":null,"display_name":"Impactful Ninja","validation":{"endpoint":"https://impactful.ninja/wp-admin/admin-ajax.php","action":"ppcp_validate","nonce":"6f87a750ab"}}};
//# sourceURL=wc-ppcp-sdk-v6-boot-js-extra