Tag: Stacy Garrity

  • Democrats have the lead over GOP incumbents in two key Pa. congressional swing seats

    Democrats have the lead over GOP incumbents in two key Pa. congressional swing seats

    Democratic congressional candidates in a pair of Pennsylvania swing districts have pulled ahead of Republican incumbents before the high-stakes midterm elections — putting them on track to reclaim seats that President Donald Trump helped flip two years ago, according to a new Inquirer/New York Times/Siena University poll.

    Scranton Mayor Paige Cognetti — challenging U.S. Rep. Rob Bresnahan (R., Luzerne) in the 8th Congressional District, which stretches across the northeastern corner of the state — is ahead 51% to 46% among likely voters.

    Bob Brooks, a union leader and retired firefighter running against U.S. Rep. Ryan Mackenzie (R., Lehigh) to represent the 7th Congressional District, which covers the Lehigh Valley and Poconos, is up 49% to 44%, the poll found.

    The results are within the margin of error. Between 3% and 6% of voters remain undecided, according to the survey of about 400 likely voters in each of the districts from Oct. 16 to 22.

    But as Democrats make an aggressive push to win control of the U.S. House amid Trump’s lagging approval ratings, the polling underscores where the party sees two of its best chances of defeating Trump-aligned Republicans — not just in the state, but across the country.

    “I just feel Cognetti has the right outlook for Pennsylvania,” said Mercedes Vinsko, a 23-year-old law student from Shavertown, Luzerne County, who wants Democrats to “flood” Congress in the midterms. “I’m hoping a blue wave will trend in a better direction for America.”

    The 5-percentage-point leads held by Cognetti and Brooks in their congressional districts represent Democrats’ widest advantages heading into the final stretch of four battleground races in Pennsylvania, according to the poll.

    In the Bucks County-based 1st Congressional District, where Republican U.S. Rep. Brian Fitzpatrick is seeking another term, Democrat Bob Harvie leads by 2 percentage points. In the Harrisburg-based 10th Congressional District, Republican U.S. Rep. Scott Perry and Democrat Janelle Stelson are tied, the poll found.

    Both parties have invested heavily in all four matchups. Collectively, they have funneled more than $116 million into television ads and have brought in national party leaders to stump for their candidates.

    Nowhere have the candidates and their allies spent more, though, than in the Lehigh Valley-based 7th and Scranton-based 8th Congressional Districts, where Mackenzie and Bresnahan narrowly beat multi-term Democrats in 2024. As Trump won the state and surged to the White House that year, Mackenzie and Bresnahan combined to win 10,300 more votes than their opponents out of nearly 790,000 votes cast.

    U.S. Rep. Ryan Mackenzie (left) and U.S. Rep. Rob Bresnahan (right).AP / File photos

    Two years later, both freshman lawmakers have closely aligned themselves with the president — promoting his economic agenda and defending controversies like the war in Iran — while Democrats hope that unpopular alliance benefits their nominees. Trump’s job performance gets low grades across both districts, and particularly in the Lehigh Valley region, where his approval sits at 37%, according to the poll.

    Another factor working in Democrats’ favor, observers say, is Gov. Josh Shapiro’s expected strong performance at the top of the ticket as he seeks reelection, which could elevate downballot candidates from his party. In the Lehigh Valley district, Shapiro’s 19-percentage-point lead over Republican Stacy Garrity matches the statewide result from The Inquirer/New York Times/Siena poll in September. In the Northeastern Pennsylvania district, Shapiro leads by 11 percentage points, the latest poll found.

    Former U.S. Rep. Charlie Dent, a Republican who represented the Lehigh Valley seat until it flipped blue in 2018, said Shapiro’s commanding performance is “compounding” the issues around Trump’s favorability that are dragging down GOP candidates across the country.

    “The challenge for Pennsylvania Republicans is the governor’s race, … Trump’s approval rating, and just the overall midterm environment,” Dent said, calling it a “daunting” mix.

    7th District: Mackenzie vs. Brooks

    Among the four competitive Pennsylvania races, the 7th District was the first to move further in Democrats’ direction in recent months.

    Two frequently cited nonpartisan election ratings groups reclassified the race from a “toss-up” to one that “leans Democratic” as the national environment changed and as Brooks and his national allies poured money into his campaign.

    The president of the Pennsylvania Professional Fire Fighters Association, Brooks was considered a top Democratic recruit after Shapiro encouraged him to run and he consolidated support from across the party’s ideological spectrum. Over the summer, he raised $2.6 million — more than three times as much as Mackenzie brought in and, according to Brooks’ campaign, more than any previous candidate over a similar period in the Lehigh Valley.

    “We are running this like we’re losing,” Brooks said in an interview last week.

    (function(){function e(){window.addEventListener(`message`,function(e){if(e.data[`datawrapper-height`]!==void 0){var t=document.querySelectorAll(`iframe`);for(var n in e.data[`datawrapper-height`])for(var r=0,i;i=t[r];r++)if(i.contentWindow===e.source){var a=e.data[`datawrapper-height`][n]+`px`;i.style.height=a}}})}e()})();

    Mackenzie, a former state representative, has spent much of the recent weeks of the race lobbing attacks at his opponent — alleging Brooks has a troubled business background and personal life. In mailers that went out to voters last week, Mackenzie’s campaign depicted Brooks in a prison jumpsuit with the message, “Is jail the next stop for Bob Brooks?”

    Brooks has denounced the accusations, which focus on whether he was required to pay for workers’ compensation insurance for his small business. Brooks said he was not required to do so, and his lawyer sent a cease-and-desist letter to Mackenzie’s campaign, which the Republican rejected, then doubled down on the message.

    Christopher Karabinus, 51, an educator who lives in Northampton County and responded to the poll, said that he has been inundated with negative political advertising in recent weeks but that it has “zero impact” on how he decides whom to vote for.

    He said he is voting for Mackenzie because he trusts that Republicans can get the cost of living “under control.” He said his message to elected officials from both parties is simple: “Democrat, Republican, just unite everybody, solve our problems, make it a better place. Let’s stop the fighting, let’s stop the arguing, and let’s make it a better country.”

    Donald Jennings, 85, who lives outside Allentown in Lehigh County, said he plans to vote for Democrats up and down the ballot. He said he has not seen “any Republican’s bills help anybody,” citing cuts to healthcare coverage under the One Big Beautiful Bill Act.

    “I’m just hoping that [Brooks] will be able to convince people to pass bills that will lower the costs and increase our freedoms,” Jennings said, adding that a Democratic-controlled Congress could serve as a check on the Trump administration.

    According to The Inquirer/New York Times/Siena poll, 59% of voters in the district disapprove of how Trump is handling his job as president. About the same percentage of people believe Mackenzie supports Trump too much, 39%, as those who think his support for Trump is “about right,” 35%.

    Rating the candidates’ abilities to handle issues in Congress, the voters polled said Brooks would handle the cost of living, foreign wars, data centers, and corruption better than Mackenzie. Voters were split evenly on who has better character between Brooks and Mackenzie, while more believed Brooks would do “what’s best for ordinary Pennsylvanians.”

    (function(){function e(){window.addEventListener(`message`,function(e){if(e.data[`datawrapper-height`]!==void 0){var t=document.querySelectorAll(`iframe`);for(var n in e.data[`datawrapper-height`])for(var r=0,i;i=t[r];r++)if(i.contentWindow===e.source){var a=e.data[`datawrapper-height`][n]+`px`;i.style.height=a}}})}e()})();

    8th District: Bresnahan vs. Cognetti

    Pennsylvania’s 8th District is the only one of the four competitive races in the state that is still considered a true “toss-up” by the ratings experts.

    The district covers all of Lackawanna, Wayne, and Pike Counties, as well as parts of Luzerne and Monroe Counties. Trump’s biggest gains in Pennsylvania between his 2020 and 2024 campaigns were in this corner of the state, and his approval ratings now — at 43% approve and 57% disapprove — remain slightly higher than the statewide and national averages.

    (function(){function e(){window.addEventListener(`message`,function(e){if(e.data[`datawrapper-height`]!==void 0){var t=document.querySelectorAll(`iframe`);for(var n in e.data[`datawrapper-height`])for(var r=0,i;i=t[r];r++)if(i.contentWindow===e.source){var a=e.data[`datawrapper-height`][n]+`px`;i.style.height=a}}})}e()})();

    Bresnahan, who led his family’s electrical contracting business before entering Congress, has largely backed the president’s agenda but distanced himself from his party’s positions on organized labor and has earned union support in his campaign for a second term.

    Cognetti, who originally ran for and won the Scranton mayor’s office as an independent, has been a prolific fundraiser — raising $2.5 million to Bresnahan’s nearly $1 million in the recent quarter — and received the backing of national Democrats. She has relentlessly targeted Bresnahan over his stock trading while in office, making fighting public corruption a hallmark of her campaign.

    Scranton Mayor Paige Gebhardt Cognetti on Apr. 16, 2024. Tom Gralish / Staff Photographer

    Bresnahan has said that he supports a congressional ban on stock trading and that he does not trade his own stocks.

    But Cognetti’s message appears to have gained some traction, according to the poll, which found 51% of voters trusted her to handle issues of corruption compared with 40% who trusted Bresnahan — the largest gap on the topic in any of the matchups across the four competitive districts.

    “I just don’t trust him,” said Sandra Carson, 79, a semiretired lawyer and Democrat living in Stroudsburg, Monroe County. “I never have. It’s a vibe thing. Something about him makes me feel that he’s self-interested, and that was long before there was a problem about him trading stock[s] in Congress.”

    Carson said she uses her gut rather than disciplined analysis to judge candidates, and the incumbent makes her uneasy.

    “He just seems unworthy to me,” Carson said.

    (function(){function e(){window.addEventListener(`message`,function(e){if(e.data[`datawrapper-height`]!==void 0){var t=document.querySelectorAll(`iframe`);for(var n in e.data[`datawrapper-height`])for(var r=0,i;i=t[r];r++)if(i.contentWindow===e.source){var a=e.data[`datawrapper-height`][n]+`px`;i.style.height=a}}})}e()})();

    Ashley Oliver, 40, of East Stroudsburg, Monroe County, said she always votes Democratic. But this year, the mortgage banker supporting Cognetti said, she is looking forward to voting for change because of ongoing affordability issues. She said she was laid off recently and needed help with food and utilities, leaving her to use programs like SNAP and LIHEAP that she believes Republicans do not support.

    “First they make things hard, then they don’t like giving social assistance to help us,” she said. “They’re not the party for that.”

    Michael Giordano, 70, of East Stroudsburg, Monroe County, said he is more independent-minded and is voting for Bresnahan. Cognetti is “a little too progressive-liberal,” he said, adding that he likes “the idea of a person with more traditional thinking running the country.”

    Immigration, in particular, is on his mind as he votes.

    “I’ve been saying for years that if we keep letting the world’s poorest people flood our country, we’ll become a poor country,” Giordano said. “That means we’ll need more housing, energy, water.”

    According to the poll, voters tilt toward trusting Bresnahan more than Cognetti on immigration issues. Cognetti led on all other issues voters were asked about: the cost of living, foreign wars, data centers, and corruption. Voters were also more likely to say that she had good character and that she would do “what’s best for ordinary Pennsylvanians.”

    Don Levy, director of the Siena Research Institute, which conducted the poll, said that Democrats consistently outranking Republicans on the ability to handle the cost of living — which remains the top issue on voters’ minds — is a sign of the electorate connecting Trump’s handling of the economy to the downballot Republican candidates. And Trump’s message, polling has shown, is not necessarily meshing with voters’ realities, he said.

    “When the president stands up and says, ‘It’s a golden age of American economy,’ you know, people’s, voters’ heads blow up,” Levy said. “You know, because for most people it’s not.”

    Staff writer Fallon Roth contributed to this article.

  • Josh Shapiro for governor of Pennsylvania | Endorsement

    Josh Shapiro for governor of Pennsylvania | Endorsement

    If the polls are accurate, Gov. Josh Shapiro, who was twice elected Pennsylvania’s attorney general, should cruise to his fourth statewide election on Nov. 3.

    In these divided political times, in one of the most evenly split states in the country, that says a lot about Shapiro’s ability to appeal to a broad swath of voters across the commonwealth.

    While the two political extremes on the right and left generate the most noise, Shapiro sits in the moderate middle. That rankles many on the far left and the right, but it is smart politics in Pennsylvania.

    While Shapiro is pragmatic, he is also tough and empathetic. He takes public service seriously but is also a regular guy from Abington who is passionate about Philly sports. He is welcome in boardrooms, Black churches, and even red counties.

    Shapiro surrounds himself with competent people and prides himself on getting stuff done. His administration has been largely free of drama and major scandals — a stark difference from the chaos, corruption, and incompetence coming from the Trump administration.

    As state attorney general and governor, Shapiro repeatedly stood up to Donald Trump. He went 43-0 defending flimsy lawsuits Trump filed to overturn the results of the 2020 presidential election. Shapiro also brought some accountability to opioid companies, racist mortgage lenders, and decades of sexual abuse within the Roman Catholic Church.

    As governor, Shapiro has sued the Trump administration two dozen times, opposing efforts to slash federal funding for Pennsylvania and roll back environmental regulations. Shapiro — and Al Schmidt, the Republican he appointed to run state elections — are ready to defend against Trump’s efforts to subvert the 2026 election.

    As democracy teeters, Shapiro’s legal bulwark against Trump is reason enough to keep him in the governor’s mansion. But his commonsense policies, willingness to stand up for what is right, and ability to work across the aisle cements the case for why The Inquirer Editorial Board endorses Josh Shapiro for a second term as governor.

    This was not a difficult decision, because his opponent, Stacy Garrity, the Republican state treasurer from Bradford County, has a slim record. Even worse, she supports Trump’s disastrous MAGA agenda as well as data centers and sleazy skill games — three big strikes.

    Gov. Josh Shapiro and Republican challenger Stacy Garrity at the WHTM-TV studios in Harrisburg, Oct. 7, during their lone debate ahead of next month’s gubernatorial election.Kaylee Lindenmuth / WHTM

    Garrity’s main accomplishment as treasurer has been returning unclaimed property to Pennsylvanians and hundreds of unclaimed military decorations to veterans. That constitutes a practical, down-to-earth baseline for her role to be sure, but Garrity’s resumé lacks the kind of expansive, broad-based signature achievement to suggest that she would bring a truly transformational approach to governing. Her biggest donor is Robert Asher, a longtime GOP power broker from Montgomery County who was convicted of bribery in 1986.

    Garrity’s best argument may be that she is not Doug Mastriano, the GOP’s 2022 gubernatorial nominee, who dressed up in Confederate garb and helped plan Trump’s Jan. 6, 2021, coup attempt.

    The Editorial Board invited Garrity to advocate for her candidacy, but she did not respond to multiple requests to meet. Shapiro, on the other hand, has a compelling case to make, which explains his commanding lead in the polls.

    Shapiro’s most high-profile accomplishment was rebuilding the stretch of I-95 that collapsed in Northeast Philadelphia after a tanker truck fire in 2023. The highway closure along the main artery connecting the Northeast trucking corridor was expected to take many months to fix.

    But Shapiro mobilized federal, state, and local officials, used accelerated emergency contracting rules, and hired a Philadelphia-based construction firm that worked round the clock to reopen the highway in 12 days.

    It was a case study in how government can do good under the right leadership. It’s also a stark contrast to Trump’s multiple, ongoing fiascos, including the botched reflecting pool repairs, the costly White House ballroom, and the sabotaging of the John F. Kennedy Center for the Performing Arts.

    Under Shapiro, the commonwealth has lowered taxes for some, increased public safety, and pushed policies to make housing more affordable. Unlike Trump’s relentless efforts to restrict voting, the governor expanded voter registration by making it automatic for eligible voters when they renew or receive a driver’s license or ID at driver and photo license centers.

    Gov. Josh Shapiro visits Vare-Washington Elementary School in July.

    Shapiro has also increased funding for public education by hundreds of millions of dollars. Pennsylvania remains far below adequate funding levels, even after a state court found in 2023 that the state’s funding system was unconstitutional.

    Shapiro’s efforts to close the education funding gap faced opposition from the Republican-controlled state Senate. The recalcitrant GOP has stymied other efforts to adequately fund mass transit, increase the minimum wage, and tax skill games at the same rate as slots.

    But it is not due to a lack of effort by Shapiro. The divided legislature makes Harrisburg largely ungovernable. That is why Shapiro is working to help Democrats flip at least two seats to win control of the state Senate and maintain their thin majority in the state House.

    The last time Democrats controlled all three chambers of government was in 1993. As a result of the chronic stalemate, a lot hasn’t happened in Harrisburg beyond keeping lobbyists employed and lawmakers in power. Just getting the budget passed is an annual ordeal.

    If Shapiro’s coattails can power Democrats to control of the House and Senate, the first bill he plans to sign will be to increase the minimum wage to $15 an hour. Other major initiatives on Shapiro’s to-do list include increasing mass transit funding and codifying abortion and LGBTQ rights.

    “I’ve got a lot more to do, which is why I’m running again,” Shapiro told the Editorial Board.

    Of course, the governor is far from perfect. He was for data centers before he was against them. (But he listened to voters and adjusted.) He supports legalizing and taxing skill games — which are more predatory than slot machines — rather than banning them as Kentucky did.

    Gov. Josh Shapiro announces a $20 billion investment by Amazon in Pennsylvania data centers in Salem Township and Falls Township.

    Shapiro has been largely mum on efforts to reform or better yet repeal Act 12, which has allowed for-profit companies to buy public water and sewer utilities, and jack up rates for residents. (He did force Peco to withdraw a double-digit rate-hike request.)

    Shapiro helped attract thousands of new jobs to Pennsylvania, often dangling financial incentives like the ones used to lure the Burlington Stores headquarters and a Chobani facility to Philadelphia. Another pricey deal that included more than $600 million in state and federal money combined is expected to add 6,000 jobs at the Philadelphia Port. (Attracting jobs is nice, though there is an argument to be made as to whether the state should use tax dollars to pick winners.)

    It is widely assumed Shapiro will run for president in 2028. That campaign will begin early next year, raising concern if Shapiro enters the race that he may be distracted from his day job while campaigning in South Carolina, Iowa, New Hampshire, and beyond.

    Since the road to the White House leads through Pennsylvania, Shapiro may be uniquely positioned to clean up Trump’s mess. But a White House win means Shapiro would not complete his gubernatorial term. Though two years of Shapiro is certainly better than four of Garrity.

    When asked about running for president, Shapiro told the Editorial Board, “The only thing I’m running for is governor.” (Check back in a few months and see how well that quote ages.)

    During recent campaign events with students at the University of Pennsylvania and at an event at a Black church in Abington, Shapiro looked beyond his own reelection and painted a picture of what could happen if Democrats take control of the state Senate and the House in Washington.

    “You have the power to make a difference,” Shapiro told the Penn students.

    At Salem Baptist Church, Shapiro told the crowd of mostly Black women their votes could give hourly workers a raise, increase funding for mass transit, and protect reproductive rights.

    Shapiro’s reelection could bring positive change across Pennsylvania — and maybe propel the governor to new heights.

  • Why Josh Shapiro put himself on the line for the midterms — but still won’t talk about 2028

    Why Josh Shapiro put himself on the line for the midterms — but still won’t talk about 2028

    Josh Shapiro knows you’re going to ask.

    He won’t flinch when you do. No jutted lip, no flicker of emotion. No fiddling with his wedding band or smart ring, one on each hand.

    He’s been preparing for this kind of thing for decades.

    Shapiro, 53, of Abington Township, has been rumored to have his sights set on the White House dating back to his time as a state representative, as a Montgomery County commissioner, as the state attorney general, and now as Pennsylvania’s governor. And while other 2028 Democratic presidential hopefuls are more outward with their ambitions, hosting fundraisers and making themselves known in early primary states, Shapiro — a disciplined and careful communicator — has led a calculated balancing act as he runs for reelection to the state’s top post, hoping to carry the rest of the Pennsylvania ballot with him.

    Are you running for president in 2028?

    “I’m going to give you the same answer that I’ve given everyone,” Shapiro told the moderators at a debate earlier this month against his Republican opponent, Stacy Garrity. “The only thing I am focused on is running for reelection as governor, and I’m focused on these midterms in trying to generate the kind of turnout and support the kind of candidates who will push back on the chaos, the cruelty, and the corruption of Donald Trump.”

    The first-term governor — wearing his daily uniform of a navy blue suit, bright white dress shirt with no tie, white tennis shoes, and black-framed glasses — does the same again earlier this month in a set of interviews in The Inquirer’s newsroom across from Independence Hall; he smoothly sidesteps the question of whether he’ll promise to fulfill another four-year term if reelected.

    Instead, he boasts his administration’s “get stuff done” motto, citing some of his proudest accomplishments as the leader of Pennsylvania, such as reopening I-95 in 12 days, speeding up the state’s process to get licenses or permits to do work, utility rate caps, and new pathways to careers in the trades. In the run-up to the Nov. 3 election, those triumphs have blanketed the state’s TVs, social media and mailboxes, as his campaign tops $42.3 million in ad buys, according to media tracker AdImpact.

    Nearby, his campaign staffer sports a pin featuring the number 48. Shapiro is Pennsylvania’s 48th governor. If he runs in 2028, he’d be vying to become the nation’s 48th president.

    Nowadays, there’s a noticeable shift in the Democrat who has long prided himself in his willingness to work across the aisle, but who has struggled as a dealmaker in the state’s split legislature as he goes all-in on flipping the Senate in hopes of more easily achieving his goals.

    At the same time, he’s become more willing to directly challenge Trump in the state that helped boost the president to a second term just two years ago, as Trump’s approval ratings continue to decline — and national Democrats are looking for a strong leader to carry them into 2028.

    “When he’s going to do something to hurt Pennsylvanians, I’m going to stand up to him, and when I stand up to him, I win every single time,” Shapiro said earlier this month.

    The shift — and the sharper edge — may be strategic as Shapiro readies himself for a White House run, said Christopher Borick, a political-science professor and pollster at Lehigh University.

    “He is more willing to express his animosity toward Republicans, toward Republican policies, and of course, the president,” Borick added. “He’s been more vocal than you may have thought he would be, given his brand.”

    ‘Straight down the middle’

    When Shapiro sat down for an interview at The Inquirer’s offices earlier this month, he studied where he should sit before answering the question himself.

    “How’s this, straight down the middle?” the moderate Democrat suggested with a grin, setting himself up at the center of the table.

    Gov. Josh Shapiro at The Inquirer’s office on Monday, Oct. 12, 2026.Tom Gralish / Staff Photographer

    Shapiro’s brand as a centrist has been tested over the last few years, as he governs one of the only states in the country with a politically split legislature. An early misstep in Shapiro’s first budget negotiations in 2023 over school vouchers tarnished his relationship with the state’s Senate Republicans, a wound that has never fully healed. Republicans accused Shapiro of reneging on their handshake deal to create a new school voucher program. At the time, Shapiro said the move was necessary to avoid a protracted budget impasse.

    Still, for the past four years, Shapiro and top state negotiators have struggled to agree on a state budget before the constitutionally required deadline, as Pennsylvania faces worsening fiscal conditions and spends more money than it collects in revenue.

    He’s had some major wins, too. State lawmakers have approved $3 billion in funding increases and created a new funding system for public education, after a state appellate court ruled that Pennsylvania’s previous system was unconstitutional. He has celebrated increases to the state’s property tax and rent rebate programs for seniors, a new state tax credit for working families, and a pension bump for retired teachers, police officers, and firefighters. He boasts significant reductions in wait times for business licenses and environmental permits and continued cuts to the state’s corporate net income tax, as part of his cut-red-tape approach.

    Shapiro has faced criticism throughout his tenure as governor from top Republican leaders, who say he lacks conviction on the issues he says he cares about and instead changes his stances to reflect what’s popular.

    “He was for helping kids out of failing schools, then he was against it,” Senate President Pro Tempore Kim Ward (R., Westmoreland), the top Republican in the state Senate, said last month. “He was for data centers, then he was against them.”

    On school choice, he said this month he still supports the creation of a new school voucher program if House Democrats and Senate Republicans can agree on it. And he has defended himself on his recent reversal on increasingly unpopular data center development, which became a political flashpoint that threatened Shapiro’s popularity. He has said his change in position was a direct response to constituent concerns.

    Garrity’s campaign has capitalized on the perceived flip-flops, calling Shapiro in a statement a “career politician whose policy failures have left Pennsylvania families struggling.”

    His first term as governor also saw the resignation of a longtime top aide, former Rep. Mike Vereb (R. Montgomery), who was accused of sexual harassment by another staffer in the governor’s office that resulted in the state paying the accuser a $295,000 settlement.

    Shapiro, previously largely untested on the national stage, also came under scrutiny when he was being considered by Vice President Kamala Harris to be her running mate in 2024. She ultimately passed him over, and he later said he didn’t want the job. But the consideration significantly boosted Shapiro’s rising national profile, and he later retold the story in his memoir, Where We Keep the Light, released earlier this year.

    Pennsylvania Gov. Josh Shapiro speaks during the Democratic National Convention on Aug. 21, 2024, in Chicago.Jose F. Moreno / Staff Photographer

    And most recently, he’s faced the state’s worst measles outbreak in more than three decades, which the state says has led to the deaths of six Pennsylvania residents. The surge in measles cases, which now tops 1,317 cases in Pennsylvania, led to a public clash with Health and Human Services Secretary Robert F. Kennedy Jr. As of Thursday, the Centers for Disease Control still refused to recognize three of the measles-related deaths as caused by the preventable disease.

    And heading into the election, a number of top issues facing the legislature remain unresolved. Lawmakers left Harrisburg this week, failing to regulate and tax skill games or update sentencing guidelines for second-degree murder — both of which have blown past court-appointed deadlines for the General Assembly to act.

    “There’s a whole bunch we’ve been able to get done by bringing people together, and then there’s some things that I view as quite common-sense that I haven’t been able to convince the Senate to move on — raising the minimum wage to 15 bucks an hour, funding mass transit — even though it helps their communities,” Shapiro told The Inquirer’s Editorial Board this month. “I’m frustrated I haven’t been able to get that done, but again, that’s why I’m still working at this. That’s why I’m still going forward.”

    (The Editorial Board, which runs The Inquirer’s opinion pages and decides endorsements, operates independently from the newsroom. Newsroom editors and reporters — including two reporters who attended the Editorial Board meeting as observers — have no role in endorsements, and opinion staffers have no role in news coverage.)

    Monitor at the WHTM-TV studios in Harrisburg on Oct. 7, 2026, during the lone debate between Gov. Josh Shapiro and Republican challenger Stacy Garrity.Tom Gralish / Staff Photographer

    Shapiro has maintained widespread popularity throughout his first term, including among some Trump supporters, recent polls of likely Pennsylvania voters show. Shapiro’s job approval topped 63% in a Quinnipiac University poll released Oct. 7, and he led Garrity in the poll by 25 points. A poll released Thursday by Franklin and Marshall College had similar findings, including a 22-point lead for Shapiro over Garrity.

    “If you can be as popular as he is with divided government and the dysfunction in our Senate… that’s a pretty damn good comment on what he’s been able to accomplish,” said House Majority Leader Matt Bradford (D., Montgomery).

    ’A responsibility and pride’

    These days, Shapiro can’t go to the store or take a walk with his wife, Lori, and their dogs, Bo and Bentley, without a state police detail present and careful coordination.

    He and his family narrowly escaped an arson attack last year at the governor’s mansion, where they were staying to observe the Jewish holiday of Passover, a moment that he said left him shaken and “deeply concerned.” The fire caused significant damage to the mansion in downtown Harrisburg, with the state spending $32 million on repairs and restorations to the historic home, in addition to $1 million in taxpayer dollars used to update Shapiro’s personal home security in Montgomery County. (The upgrades prompted scrutiny from Senate Republicans over whether his office followed state protocol in making the updates, as well as a lawsuit from his neighbors.)

    As Shapiro, one of the nation’s most prominent Jewish politicians, seeks reelection and eyes a presidential run, the impacts of his high-profile, public-facing office have weighed on him, he said. At least six people have been charged in the last nine months with making terroristic threats or ethnic intimidation in regard to the governor, he said.

    “If I ever got to the point where I was afraid to go out, or afraid to do my job, or unwilling to do something because I was fearful, that would be the day I would hang it up,” he said. “I don’t feel that way. I feel a lot of purpose in my work, and I feel unafraid when I’m doing it.”

    Shapiro said he believes many of the threats he’s received have stemmed from the open practice of his Jewish faith, and he wrote in his memoir that since Hamas’ Oct. 7, 2023, attack on Israel, he and his family “feel both a responsibility and pride demonstrating our faith and living it out loud.”

    Pennsylvania Gov. Josh Shapiro stands with his family as he listens to remarks at the Philly Stands With Israel Rally outside a Jewish community center in Wynnewood on Oct. 9, 2023.Steven M. Falk / Staff Photographer

    For Shapiro, Israel is “a place that’s meant a lot to me and my family,” he said. It’s where he proposed to his wife, and is a country he said he loves — which has been complicated by Prime Minister Benjamin Netanyahu’s actions during the war in Gaza that he sees as weakening Israel’s position globally. He supports a two-state solution, with Palestinians having a state and living side-by-side with Israel, and said he hopes Israeli voters will select a new leader in its Oct. 27 election.

    “Unfortunately, we’re in a time where there are people who are calling into question whether the very country has the right to exist,” he said.

    None of these positions, Shapiro points out, have much to do with his role as governor.

    But they could be key in the 2028 Democratic primary as debate over the United States’ relationship with Israel continues to fracture the party. According to a September Inquirer/Times/Siena poll of likely Pennsylvania voters, 63% of Democrats said they would support a candidate who opposed aid to Israel.

    “Josh is very religious and proud of it, and he has learned about the religion, and it made him a better person,” said former Gov. Ed Rendell, Pennsylvania’s second Jewish governor. But, Rendell raised: “Does it make it harder for him to go further in politics?”

    “It’s a tough time for Josh if he’s thinking about launching a national campaign,” Rendell, a Democrat who also served as Philadelphia mayor, said, but “one thing Josh has convinced me of is that anything he wants to do, he’s going to have a good chance of succeeding at.”

    Growing impatient

    When Trump returned to office in 2025, Shapiro vowed to work alongside the president — as long as it didn’t compromise Pennsylvanians. He joined lawsuits on Pennsylvania’s behalf as Trump threatened to slash federal funding.

    His tone has since changed. As Trump’s approval numbers continue to decline, Shapiro has begun to more directly instigate Trump, often repeating that Trump has caused “chaos, cruelty, and corruption” in Washington.

    He has also put his reputation on the line to flip the U.S. House, endorsing, campaigning and fundraising for four Democratic challengers in competitive congressional districts across Pennsylvania in hopes they win and take control of the chamber.

    In Harrisburg, he has poured more than $10 million in total into the state Democratic Party and the House and Senate Democrats’ campaign arms, his campaign said Thursday.

    Bob Brooks (left), who is running for Pennsylvania’s 7th Congressional District, and Pa. Gov. Josh Shapiro (right) exchange greetings on the stage during a July 26 rally at the United Steelworkers Union Hall in Bethlehem, Pa.David Maialetti / Staff Photographer

    And after he struggled to break through gridlock with Senate Republicans, he went all in on winning full Democratic control in Harrisburg for the first time since 1993.

    That move is an example of Shapiro as a pragmatic leader, said Bradford, who has known Shapiro for decades. He wanted to find common ground with Republicans, Bradford said, but when he couldn’t, he found a new solution: winning a trifecta.

    “His ideology is competence,” Bradford said. “He’s not an ideologue, and I say that as a proud progressive. … It’s also a recognition that at times he is stymied by a Senate that is incapable of governing.”

    Shapiro has been strengthening his grip on the state’s Democratic Party, too, since the fallout of the 2024 election, when Democrats failed to deliver Pennsylvania for Harris. He installed a former top aide as the party’s executive director. The state party has since turned around its declining voter registration numbers.

    Still, Shapiro said finding common ground is the most necessary strategy to being a good elected official.

    “The people make their choice, and if you’re privileged like I am to be elected, then you’ve got a responsibility when you’re in the room to govern,” he added.

    ‘Campaign 101′

    A lot is on the line this November for Shapiro. If he successfully helps flip control of the U.S. House and gains a trifecta in Harrisburg for the first time in decades, he will have “a great resumé in America’s premier swing state,” Borick said, giving him a leg up among other 2028 contenders.

    “That’s a great result that you can bring out on the campaign trail if you so choose to run in 2028,” Borick added.

    But if he doesn’t meet expectations, “there may be some questions” about his viability for a presidential run, Borick said.

    A staffer holds name sign for Gov. Josh Shapiro, a surrogate for Vice President Kamala Harris in the spin room at the Convention Center on Sept. 10, 2024, after her debate with former President Donald Trump at the National Constitution Center.Tom Gralish / Staff Photographer

    That may help explain why Shapiro has never publicly said he’s considering a run, as he needs to win reelection first, Borick said.

    “You don’t want to get hit at all for looking like you’re thinking ahead and not focused on the race before you,” Borick said. “That’s Campaign 101.”

    Still, he’s left a breadcrumb trail for a 2028 run: writing a book, a national media tour, and, earlier this month, creating a federal political action committee, which he could use in the future to finance a White House run.

    (His campaign has stressed he is using the PAC to contribute financially to the four Pennsylvania Democrats vying to flip the U.S. House.)

    State Sen. Greg Rothman (R., Cumberland), who chairs the state Republican Party, said he believes Shapiro is running for president in 2028. “And I read his book,” he added.

    He had some advice for the potential presidential hopeful: Improve your debate performance.

    “I’ve been alive for 20-plus presidential debates. He’s gonna need work if he’s gonna compete on a national stage,” he said.

    Manuel Bonder, a spokesperson for Shapiro’s campaign, said in response that he appreciates Rothman “taking a break from overseeing this disastrous, flailing Republican campaign for governor to offer unsolicited advice,” adding that Shapiro is only focused on electing Democrats down ballot.

    Rothman said he’s still hopeful for a “huge upset” against Shapiro, citing past examples where the expected winner ultimately lost the election, including most recently former U.S. Sen. Bob Casey’s loss to U.S. Sen. Dave McCormick in 2024, without mentioning Garrity. The state party has given no financial support to the state treasurer’s gubernatorial campaign, according to her September campaign finance filings.

    “We are a state known for huge upsets,” Rothman added.

    Shapiro has also cultivated allies from across the country and ideological spectrum. After conservative influencer Charlie Kirk was murdered while on a Utah campus, Shapiro forged a strong relationship with Republican Utah Gov. Spencer Cox to speak out against political violence. And earlier this month, U.S. Sen. Elizabeth Warren (D., Mass.), who ran for president in 2020 as a progressive, headlined a fundraiser with him in Delaware County, introducing Shapiro as “a man who has the right values.”

    “Winning Pennsylvania makes a great argument” for Shapiro’s chances as a prospective 2028 candidate, U.S. Sen. Chris Coons (D., Del.) said. “If you win Pennsylvania, you win the whole presidency.”

    But no Pennsylvania governor has ever won the presidency.

    (James Buchanan represented the state in the U.S. Senate a decade prior to his election to the presidency in 1856, and Scranton-born Joe Biden’s political career was forged in Delaware.)

    Former Govs. Milton Shapp, a Democrat and Pennsylvania’s first Jewish governor, and William Scranton, a Republican, sought their parties’ nominations in 1976 and 1964, respectively. Other popular governors, like Rendell, Bob Casey Sr., and Tom Ridge also considered runs for the nation’s highest office, Borick said, but didn’t pursue them.

    Shapiro, he said, is the most poised Pennsylvania governor to be considered seriously for a presidential run in modern history.

    Bradford, a top state Democrat who has negotiated the last several state budgets alongside Shapiro, said Shapiro should “absolutely” run for president in 2028. He cited the governor’s popularity and his “record of accomplishment that is rewarded in not just the polls, but by the people.

    “And I think that’ll show on Election Day on Nov. 3,” he added.

    Correction: A previous version of this story stated the incorrect amount spent on upgrades to Shapiro’s personal home. The state spent $1 million on those upgrades.
  • We watched 587 midterm TV ads to see how politicians are trying to secure your vote. Here’s what we learned.

    We watched 587 midterm TV ads to see how politicians are trying to secure your vote. Here’s what we learned.

    html,body{margin:0}.inno :where(*:not(svg,svg *,.inno-no-reset,.inno-no-reset *),use){all:revert;margin:0;padding:0;border:0;list-style:none}@font-face{font-family:”innoInquirerHeadline”;font-weight:100;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-ThinWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-ThinWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:100;font-style:italic;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-ThinItalicWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-ThinItalicWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:300;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-LightWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-LightWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:300;font-style:italic;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-LightItalicWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-LightItalicWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:normal;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-RegularWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-RegularWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:normal;font-style:italic;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-RegularItalicWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-RegularItalicWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:500;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-MediumWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-MediumWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:500;font-style:italic;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-MediumItalicWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-MediumItalicWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:600;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-SemiBoldWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-SemiBoldWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:600;font-style:italic;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-SemiBoldItalicWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-SemiBoldItalicWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:700;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-BoldWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-BoldWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:700;font-style:italic;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-BoldItalicWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-BoldItalicWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:900;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-BlackWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-BlackWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:900;font-style:italic;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-BlackItalicWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-BlackItalicWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerText”;font-weight:normal;src:url(“https://media.inquirer.com/fonts/InquirerTextWEB-RegularWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerTextWEB-RegularWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerText”;font-weight:normal;font-style:italic;src:url(“https://media.inquirer.com/fonts/InquirerTextWEB-RegularItalicWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerTextWEB-RegularItalicWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerText”;font-weight:bold;src:url(“https://media.inquirer.com/fonts/InquirerTextWEB-BoldWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerTextWEB-BoldWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerText”;font-weight:bold;font-style:italic;src:url(“https://media.inquirer.com/fonts/InquirerTextWEB-BoldItalicWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerTextWEB-BoldItalicWEB.woff”) format(“woff”)}@font-face{font-family:”innoGrot10″;font-weight:normal;src:url(“https://media.inquirer.com/fonts/Grot10-RegularWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/Grot10-RegularWEB.woff”) format(“woff”)}@font-face{font-family:”innoGrot10″;font-weight:500;src:url(“https://media.inquirer.com/fonts/Grot10-MediumWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/Grot10-MediumWEB.woff”) format(“woff”)}@font-face{font-family:”innoGrot10″;font-weight:bold;src:url(“https://media.inquirer.com/fonts/Grot10-ExtraboldWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/Grot10-ExtraboldWEB.woff”) format(“woff”)}@font-face{font-family:”innoGrot12″;font-weight:normal;src:url(“https://media.inquirer.com/fonts/Grot12Condensed-LightWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/Grot12Condensed-LightWEB.woff”) format(“woff”)}@font-face{font-family:”innoGrot12″;font-weight:bold;src:url(“https://media.inquirer.com/fonts/Grot12Condensed-SemiboldWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/Grot12Condensed-SemiboldWEB.woff”) format(“woff”)}body.is-scroll-locked{overflow:hidden;height:100%}.inno{–color-background: #ffffff;–color-background-secondary: #f4f1eb;–color-accent: #004e96;–color-over-accent: #ffffff;–color-text-primary: #222222;–color-text-link: #1a6aff;–color-text-secondary: #595760;–color-text-tertiary: #808284;–color-text-accent: #004e96;–color-faint: #dcdcdc;–color-mask: rgba(34, 34, 34, 0.8);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:”innoGrot10″,sans-serif;background:var(–color-background);color:var(–color-text-primary);padding-block:120px;overflow:clip;font-size:14px;line-height:1}.inno-mode–dark{–color-background: #222222;–color-background-secondary: #595760;–color-accent: #ffee00;–color-over-accent: #222222;–color-text-primary: #ffffff;–color-text-secondary: #ffffff;–color-text-tertiary: #808284;–color-text-link: #aef1d5;–color-faint: #595760;–color-mask: rgba(255, 255, 255, 0.8)}.inno–lite.inno-color–purple{–color-accent: #7b2589;–color-over-accent: #ffffff;–color-text-accent: #7b2589}.inno–lite.inno-color–pink{–color-accent: #cd0785;–color-over-accent: #ffffff;–color-text-accent: #cd0785}.inno–lite.inno-color–red{–color-accent: #e11b22;–color-over-accent: #ffffff;–color-text-accent: #e11b22}.inno–lite.inno-color–orange{–color-accent: #e66a1f;–color-over-accent: #222222;–color-text-accent: #e66a1f}.inno–lite.inno-color–yellow{–color-accent: #f0af13;–color-over-accent: #222222;–color-text-accent: #f0af13}.inno–lite.inno-color–green{–color-accent: #00a253;–color-over-accent: #ffffff;–color-text-accent: #00a253}.inno–lite.inno-color–teal{–color-accent: #00a69e;–color-over-accent: #ffffff;–color-text-accent: #00a69e}.inno–lite.inno-color–light-gray{–color-accent: #dcdcdc;–color-over-accent: #222222;–color-text-accent: #dcdcdc}.inno–lite.inno-color–light-blue{–color-accent: #8dd7f7;–color-over-accent: #222222;–color-text-accent: #8dd7f7}.inno–lite.inno-color–blue{–color-accent: #004e96;–color-over-accent: #ffffff;–color-text-accent: #004e96}.inno–lite.inno-color–black{–color-accent: #222222;–color-over-accent: #ffffff;–color-text-accent: #222222}.inno–lite.inno-color–white{–color-accent: #ffffff;–color-over-accent: #222222;–color-text-accent: #ffffff}.inno–lite.inno-color–white,.inno–lite.inno-color–black{–color-accent: #004e96;–color-over-accent: #ffffff;–color-text-accent: #222222}.inno–lite.inno-color–white.inno-mode–dark,.inno–lite.inno-color–black.inno-mode–dark{–color-accent: #8dd7f7;–color-over-accent: #222222;–color-text-accent: #ffffff}.inno–widget,.inno–embed{overflow:hidden;padding-block-end:0}.inno–widget .inno-layout–content>*,.inno–embed .inno-layout–content>*{max-width:none}.inno-anchorable:before{content:””;display:block;height:calc(var(–nav-height, 0) + 10px);margin:calc(0px – (var(–nav-height, 0) + 10px)) 0 0}.inno-spanner{color:var(–color-accent);transition:color .6s ease-in-out}.inno-spanner–error,.inno-spanner–error-invalid-symbol{background-color:#fff;border:3px dashed #e11b22;box-shadow:none;padding-left:4px;padding-right:4px}body:has(.inno-chrome–chromeless){overflow:hidden;width:100vw;height:100vh}@supports(width: 100dvw){body:has(.inno-chrome–chromeless){width:100dvw}}@supports(height: 100dvh){body:has(.inno-chrome–chromeless){height:100dvh}}body:has(.inno-chrome–chromeless) .global-app-bar,body:has(.inno-chrome–chromeless) .footer,body:has(.inno-chrome–chromeless) .footer-wrapper{display:none}body:has(.inno-chrome–chromeless) #inq-article-completion{height:0px}.inno{–gutter: calc(50vw – 325px)}.inno *{box-sizing:border-box}.inno-layout–content>*{max-width:min(650px,100vw – 32px);margin-inline:auto}.inno-layout–align-full{max-width:100%}.inno-layout–align-wide{max-width:min(1250px,100vw – 32px);margin-inline:auto}.inno-layout–align-default{max-width:min(650px,100vw – 32px);margin-inline:auto}@media(min-width: 768px){.inno-layout–align-left{float:left;margin-inline-start:var(–gutter);margin-inline-end:24px;width:301px;margin-block-end:16px;padding-top:6px}}@media(min-width: 960px){.inno-layout–align-left{margin-inline-start:calc(var(–gutter) – clamp(0px,var(–gutter) – 100px,160px))}}@media(min-width: 768px){.inno-layout–align-right{float:right;width:301px;margin-inline-start:24px;margin-inline-end:var(–gutter);margin-block-end:16px;padding-top:5px}}@media(min-width: 960px){.inno-layout–align-right{margin-inline-end:calc(var(–gutter) – clamp(0px,var(–gutter) – 100px,160px))}}.inno-layout–stack>*+*{margin-block-start:24px}.inno-layout–stack-tight>*+*{margin-block-start:10px}.inno-layout–stack-loose>*+*{margin-block-start:30px}*+.inno-layout–isolate{margin-block-start:48px}.inno-layout–isolate+*{margin-block-start:48px}.inno-muter.inno-button{position:fixed;bottom:24px;right:24px;z-index:20;display:grid;transition:grid-template-columns .4s ease-in-out;grid-template-columns:0fr 32px;gap:0}.inno-muter.inno-button:hover{grid-template-columns:1fr 32px}.inno-muter.inno-button[data-state=muted] .inno-muter__label–volume,.inno-muter.inno-button[data-state=muted] .inno-icon–volume{opacity:0}.inno-muter.inno-button[data-state=volume] .inno-muter__label–mute,.inno-muter.inno-button[data-state=volume] .inno-icon–mute{opacity:0}.inno-muter__labels{position:relative;overflow:hidden;text-wrap:nowrap}.inno-muter__label{font-family:”innoGrot10″,sans-serif;font-weight:bold;font-size:18px;padding-right:12px}.inno-muter__label–mute{position:absolute;top:0;left:0}.inno-muter__icons{width:100%;height:100%;aspect-ratio:1/1;position:relative}.inno-muter__icons .inno-icon{position:absolute;width:100%;height:100%;top:0;left:0}.inno-adbox{max-height:400px;transition:max-height .4s ease-in-out,padding .4s ease-in-out,margin .4s ease-in-out;overflow:hidden}.inno-adbox.is-hidden{max-height:0;margin:0;padding:0}.inno-adbox__label{display:block;margin:0 auto 8px;text-align:center;font-size:12px;color:#fff;text-transform:uppercase}.inno-ad__ad{margin-inline:auto;background-color:#f4f1eb;display:flex;align-items:center;justify-content:center;overflow:hidden;width:300px;height:250px}@media(min-width: 768px)and (max-width: 1022px){.inno-ad__ad{width:728px;height:90px}}@media(min-width: 1023px){.inno-ad__ad{height:auto;width:fit-content;min-width:728px;min-height:90px;max-width:970px;max-height:250px}}.inno-ad__ad–small{width:300px;height:250px;min-height:auto;min-width:auto}.inno-ad__ad iframe{position:unset !important}.inno-ad__ad .cnx-content-wrapper{position:relative !important}.inno-ad__ad .celtra-ad-inline-host,.inno-ad__ad .celtra-ad-inline-host *{position:relative !important;overflow:hidden !important}.inno-ad__placeholder{text-align:center;text-transform:uppercase;font-weight:bold;font-size:16px;color:#222}@media(min-width: 1200px){.inno-ad__placeholder{padding:120px 0}}.inno-body__error{color:var(–color-text-primary);padding:24px;border:3px dashed #e11b22;font-family:monospace;white-space:pre-wrap;font-size:16px}.inno-body__error-head{display:block;font-weight:bold}.inno-button{position:relative;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:8px;box-sizing:border-box;text-decoration:none;border-radius:4px;cursor:pointer;pointer-events:auto;transition:background-color .4s ease-in-out,border-color .4s ease-in-out,color .4s ease-in-out;background-color:var(–color-accent);color:var(–color-over-accent)}.inno-button:focus{outline:solid 4px var(–color-text-tertiary)}.inno-button:disabled{pointer-events:none}.inno-button–primary:hover{background-color:var(–color-text-primary);color:var(–color-background)}.inno-button–primary:disabled{background-color:var(–color-text-secondary);color:var(–color-text-tertiary);pointer-events:none}.inno-button–secondary{background-color:var(–color-background);color:var(–color-text-primary);border:solid 1px var(–color-accent)}.inno-button–secondary:hover{background-color:var(–color-accent);color:var(–color-over-accent);border:solid 1px var(–color-accent)}.inno-button–secondary:disabled{border-color:var(–color-text-tertiary);color:var(–color-text-tertiary)}.inno-button–minimal{background-color:rgba(0,0,0,0);color:var(–color-text-primary);padding:8px}.inno-button–minimal:hover{background-color:var(–color-accent);color:var(–color-over-accent)}.inno-button–minimal:disabled{background-color:var(–color-text-secondary);color:var(–color-text-tertiary);pointer-events:none}.inno-button–large{padding:16px 40px}.inno-button–medium{padding:10px 24px}.inno-button–small{padding:8px 16px}.inno-button–round{border-radius:99px}.inno-button–round.inno-button–small{padding:8px}.inno-button–round.inno-button–medium{padding:10px}.inno-button–round.inno-button–large{padding:16px}.inno-button__label{font-family:”innoGrot10″,sans-serif;font-weight:700;line-height:1.2em;flex-grow:0;z-index:1}.inno-button–large .inno-button__label{font-size:20px}.inno-button–medium .inno-button__label{font-size:18px}.inno-button–small .inno-button__label{font-size:16px}.inno-button–has-image .inno-button__label{text-align:center}.inno-button__image{margin:0 auto;object-fit:contain}.inno-byline{border-block:1px solid var(–color-faint);padding-block:16px;font-family:”innoGrot10″,sans-serif;font-size:12px;line-height:1.5;margin-top:0}.inno-byline–center{border-block:none;padding-block:0}@media(min-width: 768px){.inno-byline{font-size:14px}}.inno-byline__content{display:flex;justify-content:space-between;align-items:center;gap:6px}.inno-byline–center .inno-byline__content{flex-direction:column;text-align:center}.inno-byline__text{flex:1 1 auto}.inno-byline .inno-gift{flex:0 0 auto}.inno-byline__timestamp-date{color:var(–color-text-primary)}.inno-byline__timestamp-label{color:var(–color-text-secondary)}.inno-byline__authors{color:var(–color-text-primary, #222222);line-height:1.5em;text-wrap-style:balance}.inno-byline__author{display:inline}.inno-byline__author-link,.inno-byline__authors a{color:var(–color-text-primary, #222222);text-decoration:none;transition:color .4s ease-in-out}.inno-byline__author-link:hover,.inno-byline__authors a:hover{color:var(–color-text-link, #004e96)}.inno-callout__content{background-color:var(–color-background-secondary);padding:20px 15px}.inno-callout:has(.inno-callout__cta) .inno-callout__content{padding-bottom:50px}.inno-callout__tag{font-family:”innoGrot10″,sans-serif;font-size:16px;color:var(–color-text-primary)}@media(min-width: 768px){.inno-callout__tag{font-size:18px}}.inno-callout__title{font-family:”innoGrot12″,sans-serif;font-size:32px;font-weight:bold;text-transform:uppercase;color:var(–color-text-primary);text-wrap:balance}*+.inno-callout__title{margin-block-start:5px}.inno-callout__body{font-family:”innoGrot10″,sans-serif;font-size:16px;color:var(–color-text-primary);line-height:1.65em}@media(min-width: 768px){.inno-callout__body{font-size:18px}}*+.inno-callout__body{margin-block-start:10px}.inno-callout__body .inno-p{font-family:inherit;font-size:inherit;color:inherit;line-height:inherit}.inno-callout__cta{display:flex;width:calc(100% – 30px);margin:-30px 15px 0 15px}.inno-callout__cta .inno-button{box-shadow:0 1px 4px rgba(89,87,96,.1),0 3px 6px rgba(89,87,96,.1);padding:20px 20px}.inno-callout__form-policy{font-size:15.2px;margin-top:20px;color:#808284;line-height:1.65}.inno-callout__form-policy a{color:#808284;transition:color .3s ease-in-out}.inno-callout__form-policy a:hover{color:var(–color-text-primary)}.inno-credits{font-family:”innoGrot10″,sans-serif}.inno-credits__header{color:var(–color-text-primary);font-size:16px;font-family:”innoGrot10″,sans-serif;font-weight:normal;line-height:1.2;border-bottom:2px solid #fff;padding-bottom:4px;margin-bottom:8px}.inno-credits__roles{display:grid;gap:8px;color:var(–color-text-secondary);font-size:14px;line-height:1.5;text-align:pretty}@media(min-width: 768px){.inno-credits__roles{grid-template-columns:50% 50%}}.inno-divider{background:var(–color-faint);border:none;height:15%;width:100%;display:flex;justify-content:space-between;gap:2px;padding-bottom:2px;margin-bottom:12px;background-color:var(–color-lines);transition:background-color .4s ease-in-out}*+.inno-divider{padding-top:2px;padding-bottom:0;margin-top:12px;margin-bottom:0}.inno-divider–color .inno-divider__block–0{background-color:#fe0}.inno-divider–color .inno-divider__block–1{background-color:#aef1d5}.inno-divider–color .inno-divider__block–2{background-color:#90ee5c}.inno-divider–color .inno-divider__block–3{background-color:#df9ceb}.inno-divider–color .inno-divider__block–4{background-color:#cc371d}.inno-divider__block{height:100%;width:100%}.inno-divider__block–0{background-color:#222}.inno-divider__block–1{background-color:rgb(76,75.4,74.2)}.inno-divider__block–2{background-color:rgb(118,116.8,114.4)}.inno-divider__block–3{background-color:rgb(160,158.2,154.6)}.inno-divider__block–4{background-color:rgb(202,199.6,194.8)}.inno-gift{display:none}.inno-gift–default{justify-content:center}.inno-gift–default.is-available{display:flex}.inno-gift–default .inno-button{font-size:24px;padding:8px;min-width:200px;margin:0px auto}.inno-gift–minimal.is-available{display:inline-block}.inno-gift–minimal .inno-button{display:flex;align-items:center;font-size:16px;line-height:16px}.inno-gift–minimal .inno-button__label{font-size:14px;font-weight:normal;color:currentColor;display:none}@media(min-width: 600px){.inno-gift–minimal .inno-button__label{display:inline-block}}.inno-gift–minimal .inno-icon{display:inline-block}.inno-gift.is-available{display:block}.is-app .inno-gift{display:none}.inno-gift .inno-icon–loading{animation:spin 1s linear forwards infinite}.inno-gift .inno-icon{display:none}.inno-gift [data-state=ready] .inno-icon–gift{display:initial}.inno-gift [data-state=loading] .inno-icon–loading{display:initial}.inno-gift [data-state=complete] .inno-icon–tickmark{display:initial}.inno-gift [data-state=error] .inno-icon–cross{display:initial}.inno-gift-toast-receiver{display:none}@keyframes spin{0%{rotate:0deg}100%{rotate:360deg}}.inno-heading{font-family:”innoInquirerHeadline”,”Times New Roman”,serif;font-size:24px;font-weight:600;line-height:1.2;color:var(–color-text-primary);scroll-margin-top:calc(var(–sticky-height) + 16px);text-wrap:balance}@media(min-width: 768px){.inno-heading{font-size:36px}}.inno-heading–chapter{font-weight:300;border-bottom:1px solid var(–color-text-primary);text-transform:uppercase}.inno-layout–stack>*+.inno-heading{margin-block-start:48px}.inno-layout–stack>.inno-heading:has(+*){margin-block-end:-12px}.inno-layout–stack-tight>*+.inno-heading{margin-block-start:20px}.inno-layout–stack-tight>.inno-heading:has(+*){margin-block-end:-5px}.inno-layout–stack-loose>*+.inno-heading{margin-block-start:60px}.inno-layout–stack-loose>.inno-heading:has(+*){margin-block-end:-15px}.inno-hero{margin-block-start:0;–color-accent: #ffffff;–color-over-accent: #222222;display:flex;justify-content:center;align-items:center;width:100%;flex-grow:2}.inno-hero:before{content:””;aspect-ratio:1/1;height:100%;border-radius:50%;border:2px solid #fff;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;display:none;pointer-events:none}.inno-hero__content{text-align:center;background:var(–color-accent);background:rgba(0,0,0,0)}.inno-hero__headline{font-family:”innoInquirerHeadline”,”Times New Roman”,serif;font-size:16.5vw;font-weight:700;line-height:1;text-wrap:balance;text-transform:uppercase;text-align:center;margin:16px 0}@media(min-width: 600px){.inno-hero__headline{font-size:9.5vw}}@media(min-width: 960px){.inno-hero__headline{font-size:7.4vw}}@media(min-width: 1280px){.inno-hero__headline{font-size:93.6px;letter-spacing:.02em}}.inno-hero__subheadline{font-family:”innoInquirerHeadline”,”Times New Roman”,serif;font-size:20px;line-height:1.3;text-wrap:balance}@media(min-width: 768px){.inno-hero__subheadline{font-size:24px}}.inno-hero__media{position:relative;z-index:2;margin-top:-48px}@media(min-width: 960px){.inno-hero__media{margin-top:-96px}}.inno-hover{position:relative;cursor:pointer;border:1px var(–color-accent) solid;padding:3px 4px;transition:border .4s ease-in-out;box-sizing:border-box}@media(min-width: 768px){.inno-hover{cursor:help}}.inno-hover:hover{border:1px var(–color-accent) solid}.inno-hover__box{position:fixed;bottom:0;left:0;right:0;z-index:20;background-color:var(–color-background);pointer-events:none;transform:translateY(100%);transition:transform .4s ease-in-out;padding:16px;border-top:1px solid var(–color-accent);white-space:normal;font-family:”Grot 10″,sans-serif;font-size:14px;line-height:1.5}@media(min-width: 768px){.inno-hover__box{position:absolute;top:100%;width:200px;left:-1px;right:0;bottom:auto;margin:auto;max-width:250px;padding:6px;opacity:0;transition:opacity .4s ease-in-out;transform:none;border:1px solid var(–color-accent)}}.inno-hover.is-visible .inno-hover__box{opacity:1;transform:translateY(0)}.inno-icon{display:inline-block;width:1.2em;height:1.2em;fill:currentColor}.inno-icon–white{fill:#fff}.inno-icon–black{fill:#222}.inno-icon–accent{fill:var(–color-accent)}.inno-icon–over-accent{fill:var(–color-over-accent)}.inno-icon__stroke{fill:rgba(0,0,0,0);stroke:currentColor;stroke-width:2px;vector-effect:non-scaling-stroke}.inno-icon–white .inno-icon__stroke{stroke:#fff}.inno-icon–black .inno-icon__stroke{stroke:#222}.inno-icon–accent .inno-icon__stroke{stroke:var(–color-accent)}.inno-icon–over-accent .inno-icon__stroke{stroke:var(–color-over-accent)}.inno-list{list-style:none}.inno-list__item{position:relative;padding-left:20px}.inno-list__item:before{content:””;position:absolute;top:.35em;left:.1em;width:10px;height:10px;border-radius:8px;background-color:#808284}@media(min-width: 768px){.inno-list__item:before{top:.4em}}.inno-looping-video{position:relative;aspect-ratio:16/9;overflow:hidden;display:block}@media(min-width: 768px){.inno-looping-video{margin-top:0}}.inno-looping-video.is-playing .inno-looping-video__track,.inno-looping-video.is-playing .inno-looping-video__video{opacity:1}.inno-looping-video__still{position:absolute;object-fit:cover;width:100%;height:100%}.inno-looping-video__track{position:absolute;bottom:0;left:0;right:0;height:2px;background-color:var(–color-accent);z-index:2;background-color:#fff;overflow:hidden;opacity:0;transition:opacity .4s ease-in-out}.inno-looping-video__progress{position:absolute;top:0;left:0;width:100%;height:100%;transform:translateY(-100%);background-color:var(–color-accent)}.inno-looping-video__video{position:absolute;object-fit:cover;width:100%;height:100%;object-position:center;opacity:0;transition:opacity .4s ease-in-out}.inno-note .inno-p{color:var(–color-text-secondary);font-family:”innoGrot10″,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased;line-height:1.5}.inno-note .inno-p a{color:var(–color-text-secondary);box-shadow:inset 0 -1px 0 0 var(–color-text-secondary);transition:color .25s ease}.inno-note .inno-p a:hover{color:#004e96;box-shadow:inset 0 -1px 0 0 #004e96}.inno-note .inno-heading{color:var(–color-text-primary);font-family:”innoGrot10″,sans-serif;font-size:16px;font-weight:normal;text-transform:none;border-bottom:2px solid #fff;padding-bottom:4px}.inno-p{-webkit-font-smoothing:subpixel-antialiased;-mox-osx-font-smoothing:grayscale;color:#222;color:var(–color-text-primary);font-family:”innoInquirerText”,”Times New Roman”,serif;font-size:18px;line-height:1.666666;white-space:pre-line;text-wrap:pretty}@media(min-width: 600px){.inno-p{font-size:18px;line-height:1.5}}@media(min-width: 960px){.inno-p{font-size:min(1.4vw,18px)}}.inno-p–has-dropcap:first-letter{margin-top:1px;margin-right:12px;margin-bottom:0;margin-left:0;font-family:”innoInquirerHeadline”,”Times New Roman”,serif;font-size:3.2em;float:left;font-weight:bold;line-height:1;color:var(–color-accent)}@-moz-document url-prefix(){.inno-p–has-dropcap:first-letter{margin-top:10px;margin-bottom:0px}}@media(min-width: 600px){.inno-p–has-dropcap:first-letter{font-size:5em;margin-top:-4px;margin-bottom:-10px}@-moz-document url-prefix(){.inno-p–has-dropcap:first-letter{margin-top:12px;margin-bottom:0px}}}.inno-p a{transition:box-shadow .25s ease,color .25s ease;color:var(–color-text-primary);text-decoration:none;box-shadow:inset 0 -1px 0 0 var(–color-accent)}.inno-p a:hover{color:var(–color-accent)}.inno-p__endmark{display:inline-block;height:1.1em;width:1.1em;margin-left:5px;vertical-align:text-bottom;margin-bottom:2px;fill:var(–color-accent)}.inno-premium{padding:19px 26px 22px 8px;color:var(–color-text-primary);font-family:”innoGrot10″,sans-serif;font-size:18px;line-height:1;font-weight:normal;background-color:var(–color-background-secondary)}.inno-premium .inno-icon{fill:#f0af13;width:24px;margin-right:7px}.inno-premium__header{display:flex}.inno-premium__hed{font-weight:bold;line-height:22px;font-size:16px;color:var(–color-text-primary);padding:3px 0 4px;font-family:”innoGrot10″,sans-serif;text-wrap:pretty}.inno-mode–dark .inno-premium__hed{color:#fff}.inno-premium__message{font-weight:500;line-height:22px;font-size:16px;color:var(–color-text-secondary);font-family:”innoGrot10″,sans-serif;margin-left:32px;text-wrap:pretty}.inno-heading{font-family:”innoInquirerHeadline”,”Times New Roman”,serif;font-size:24px;font-weight:600;line-height:1.2;color:var(–color-text-primary);scroll-margin-top:calc(var(–sticky-height) + 16px);text-wrap:balance}@media(min-width: 768px){.inno-heading{font-size:36px}}.inno-heading–chapter{font-weight:300;border-bottom:1px solid var(–color-text-primary);text-transform:uppercase}.inno-layout–stack>*+.inno-heading{margin-block-start:48px}.inno-layout–stack>.inno-heading:has(+*){margin-block-end:-12px}.inno-layout–stack-tight>*+.inno-heading{margin-block-start:20px}.inno-layout–stack-tight>.inno-heading:has(+*){margin-block-end:-5px}.inno-layout–stack-loose>*+.inno-heading{margin-block-start:60px}.inno-layout–stack-loose>.inno-heading:has(+*){margin-block-end:-15px}.inno-image__img{width:100%;display:block}.inno-steps{–gap-size: 18px;–color-lines: #ffffff;position:relative;display:grid;gap:var(–gap-size);padding:9px;grid-template-columns:repeat(3, minmax(0, 1fr));grid-template-rows:auto;place-items:start;background-color:#222;margin-bottom:72px}@media(min-width: 960px){.inno-steps{–gap-size: 24px;padding:12px;grid-template-columns:repeat(7, minmax(0, 1fr))}}.inno-steps:before{content:””;position:absolute;bottom:calc(100% – 1px);right:calc(100% – 1px);width:var(–gap-size);height:var(–gap-size);border-right:2px solid var(–color-lines);border-bottom:2px solid var(–color-lines);transition:border-color .4s ease-in-out;pointer-events:none}.inno-steps:after{content:””;position:absolute;top:calc(100% – 1px);left:calc(100% – 1px);width:var(–gap-size);height:var(–gap-size);border-left:2px solid var(–color-lines);border-top:2px solid var(–color-lines);transition:border-color .4s ease-in-out;pointer-events:none}.inno-steps.is-focusing{–color-lines: #595760}.inno-steps.is-focusing .inno-steps__creative-wrapper{opacity:.15}.inno-steps__cell–label,.inno-steps__step{–mobile-col: 1;–mobile-row: 3;–mobile-width: 3;–mobile-height: 1;–desktop-col: 3;–desktop-row: 3;–desktop-width: 3;–desktop-height: 1;grid-column-start:var(–mobile-col);grid-column-end:calc(var(–mobile-col) + var(–mobile-width));grid-row-start:var(–mobile-row);grid-row-end:calc(var(–mobile-row) + var(–mobile-height))}@media(min-width: 960px){.inno-steps__cell–label,.inno-steps__step{grid-column-start:var(–desktop-col);grid-column-end:calc(var(–desktop-col) + var(–desktop-width));grid-row-start:var(–desktop-row);grid-row-end:calc(var(–desktop-row) + var(–desktop-height))}}.inno-steps__cell{position:relative;aspect-ratio:16/9;width:100%}.inno-steps__cell:before{content:””;position:absolute;bottom:calc(var(–gap-size)*-0.5 – 1px);right:calc(var(–gap-size)*-0.5 – 1px);width:calc(100% + var(–gap-size)*2);height:calc(100% + var(–gap-size)*2);border:2px solid var(–color-lines);border-left:0;border-top:0;pointer-events:none;transition:border-color .4s ease-in-out;transition-delay:inherit}.inno-steps__cell:after{content:””;position:absolute;left:calc(var(–gap-size)*-0.5 – 1px);top:calc(var(–gap-size)*-0.5 – 1px);width:calc(100% + var(–gap-size)*2);height:calc(100% + var(–gap-size)*2);border:2px solid var(–color-lines);border-right:0;border-bottom:0;pointer-events:none;transition:border-color .4s ease-in-out;transition-delay:inherit}@media(min-width: 960px){.inno-steps__cell:hover .inno-steps__creative-wrapper{transform:scale(1.1);opacity:1}}@media(max-width: 960px){.inno-steps__cell.is-hidden-mobile{display:none}}.inno-steps__cell–label{position:relative;–mobile-width: 1;–mobile-height: 1;–desktop-width: 1;–desktop-height: 1;z-index:4}.inno-steps__cell–label.is-focused-on .inno-steps__label,.inno-steps__cell–label.is-focused-on .inno-steps__creative-wrapper{opacity:1}.inno-steps__cell–label.is-focused-on:after,.inno-steps__cell–label.is-focused-on:before{border-color:var(–color-accent)}.inno-steps__cell[data-id=shapiro-2]{–mobile-row: 30;–mobile-col: 2;–desktop-row: 25;–desktop-col: 2;transition-delay:.2s}.inno-steps__cell[data-id=shapiro-3]{–mobile-row: 33;–mobile-col: 3;–desktop-row: 26;–desktop-col: 7;transition-delay:.4s}.inno-steps__cell[data-id=shapiro-1]{–mobile-row: 34;–mobile-col: 1;–desktop-row: 28;–desktop-col: 1}.inno-steps__cell[data-id=data-3]{–mobile-row: 51;–mobile-col: 1;–desktop-row: 41;–desktop-col: 7;transition-delay:.4s}.inno-steps__cell[data-id=data-2]{–mobile-row: 52;–mobile-col: 2;–desktop-row: 45;–desktop-col: 2;transition-delay:.2s}.inno-steps__cell[data-id=data-1]{–mobile-row: 48;–mobile-col: 3;–desktop-row: 42;–desktop-col: 1}.inno-steps__cell[data-id=taxation]{–mobile-row: 72;–desktop-row: 60;–desktop-col: 1;–color-accent: #df9ceb}.inno-steps__cell[data-id=trump]{–mobile-row: 75;–mobile-col: 2;–desktop-row: 63;–desktop-col: 2;–color-accent: #aef1d5;z-index:5}.inno-steps__cell[data-id=healthcare]{–mobile-row: 77;–mobile-col: 3;–desktop-row: 61;–desktop-col: 7;–color-accent: #90ee5c}.inno-steps__cell[data-id=ai]{–mobile-row: 77;–mobile-col: 1;–desktop-row: 65;z-index:5;–desktop-col: 1;–color-accent: #df9ceb}.inno-steps__cell[data-id=education]{–mobile-row: 82;–mobile-col: 1;–desktop-row: 66;–desktop-col: 2;–color-accent: #aef1d5}.inno-steps__cell[data-id=trade]{–mobile-row: 83;–mobile-col: 2;–desktop-row: 63;–desktop-col: 4;–color-accent: #90ee5c}.inno-steps__cell[data-id=social-security]{–mobile-row: 84;–mobile-col: 3;–desktop-row: 69;–desktop-col: 2;–color-accent: #df9ceb}.inno-steps__cell[data-id=crime]{–mobile-row: 87;–mobile-col: 2;–desktop-row: 69;–desktop-col: 5;–color-accent: #aef1d5}.inno-steps__cell[data-id=corruption]{–mobile-row: 88;–mobile-col: 3;–desktop-row: 67;–desktop-col: 6;–color-accent: #90ee5c}.inno-steps__cell[data-id=lang-us]{–mobile-row: 101;–mobile-col: 2;–desktop-row: 85;–desktop-col: 1}.inno-steps__cell[data-id=lang-our]{–mobile-row: 102;–mobile-col: 3;–desktop-row: 86;–desktop-col: 6;transition-delay:.4s}.inno-steps__cell[data-id=lang-you]{–mobile-row: 106;–mobile-col: 1;–desktop-row: 88;–desktop-col: 4;transition-delay:.2s}.inno-steps__label{position:absolute;top:calc(100% + (var(–gap-size)));color:var(–color-accent);font-family:”innoGrot10″,sans-serif;font-size:11px;line-height:1.2;opacity:0;transition:opacity .4s ease-in-out;transition-delay:inherit;pointer-events:none}@media(min-width: 600px){.inno-steps__label{font-size:13px;font-weight:bold}}@media(min-width: 960px){.inno-steps__label{font-size:12px}}@media(min-width: 1200px){.inno-steps__label{font-size:14px}}.inno-steps__creative-wrapper{transition:all .4s ease-in-out;transition-delay:inherit;height:100%}.inno-steps__creative{display:block;width:100%;height:100%;opacity:1;object-fit:cover}.inno-steps__creative.is-animatable{opacity:0}.inno-steps__step{position:relative;z-index:2;-webkit-transform:translate3d(0, 0, 0);padding:0 12px;background-color:var(–color-background);width:calc(100% + var(–gap-size) – 2px);height:calc(100% + var(–gap-size) – 2px);top:calc(var(–gap-size)*-0.5 + 1px);left:calc(var(–gap-size)*-0.5 + 1px);display:flex;align-items:center}.inno-steps__step–0{–mobile-row: 2;–desktop-row: 3}.inno-steps__step–1{–mobile-row: 8;–desktop-row: 8}.inno-steps__step–2{–mobile-row: 14;–desktop-row: 13}.inno-steps__step–3{–mobile-row: 20;–desktop-row: 18}.inno-steps__step–4{–mobile-row: 26;–desktop-row: 23}.inno-steps__step–5{–mobile-row: 32;–desktop-row: 28}.inno-steps__step–6{–mobile-row: 38;–desktop-row: 33}.inno-steps__step–7{–mobile-row: 44;–desktop-row: 38}.inno-steps__step–8{–mobile-row: 50;–desktop-row: 43}.inno-steps__step–9{–mobile-row: 56;–desktop-row: 48}.inno-steps__step–10{–mobile-row: 62;–desktop-row: 53}.inno-steps__step–11{–mobile-row: 68;–desktop-row: 58}.inno-steps__step–12{–mobile-row: 74;–desktop-row: 63}.inno-steps__step–13{–mobile-row: 80;–desktop-row: 68}.inno-steps__step–14{–mobile-row: 86;–desktop-row: 73}.inno-steps__step–15{–mobile-row: 92;–desktop-row: 78}.inno-steps__step–16{–mobile-row: 98;–desktop-row: 83}.inno-steps__step–17{–mobile-row: 104;–desktop-row: 88}.inno-steps__step–18{–mobile-row: 110;–desktop-row: 93}.inno-steps__step–19{–mobile-row: 116;–desktop-row: 98}.inno-steps__step–20{–mobile-row: 122;–desktop-row: 103}.inno-steps__step–21{–mobile-row: 128;–desktop-row: 108}.inno-steps__step–22{–mobile-row: 134;–desktop-row: 113}.inno-steps__step–23{–mobile-row: 140;–desktop-row: 118}.inno-steps__step–24{–mobile-row: 146;–desktop-row: 123}.inno-steps__step–25{–mobile-row: 152;–desktop-row: 128}.inno-steps__step–26{–mobile-row: 158;–desktop-row: 133}.inno-steps__step–27{–mobile-row: 164;–desktop-row: 138}.inno-steps__step–28{–mobile-row: 170;–desktop-row: 143}.inno-steps__step–29{–mobile-row: 176;–desktop-row: 148}.inno-steps__step–30{–mobile-row: 182;–desktop-row: 153}[data-index=”0″] .inno-steps__step–0 .inno-spanner{color:var(–color-accent)}[data-index=”0″] .inno-steps__step–0 .inno-spanner–green{color:#90ee5c}[data-index=”0″] .inno-steps__step–0 .inno-spanner–purple{color:#df9ceb}[data-index=”0″] .inno-steps__step–0 .inno-spanner–blue{color:#aef1d5}[data-index=”1″] .inno-steps__step–1 .inno-spanner{color:var(–color-accent)}[data-index=”1″] .inno-steps__step–1 .inno-spanner–green{color:#90ee5c}[data-index=”1″] .inno-steps__step–1 .inno-spanner–purple{color:#df9ceb}[data-index=”1″] .inno-steps__step–1 .inno-spanner–blue{color:#aef1d5}[data-index=”2″] .inno-steps__step–2 .inno-spanner{color:var(–color-accent)}[data-index=”2″] .inno-steps__step–2 .inno-spanner–green{color:#90ee5c}[data-index=”2″] .inno-steps__step–2 .inno-spanner–purple{color:#df9ceb}[data-index=”2″] .inno-steps__step–2 .inno-spanner–blue{color:#aef1d5}[data-index=”3″] .inno-steps__step–3 .inno-spanner{color:var(–color-accent)}[data-index=”3″] .inno-steps__step–3 .inno-spanner–green{color:#90ee5c}[data-index=”3″] .inno-steps__step–3 .inno-spanner–purple{color:#df9ceb}[data-index=”3″] .inno-steps__step–3 .inno-spanner–blue{color:#aef1d5}[data-index=”4″] .inno-steps__step–4 .inno-spanner{color:var(–color-accent)}[data-index=”4″] .inno-steps__step–4 .inno-spanner–green{color:#90ee5c}[data-index=”4″] .inno-steps__step–4 .inno-spanner–purple{color:#df9ceb}[data-index=”4″] .inno-steps__step–4 .inno-spanner–blue{color:#aef1d5}[data-index=”5″] .inno-steps__step–5 .inno-spanner{color:var(–color-accent)}[data-index=”5″] .inno-steps__step–5 .inno-spanner–green{color:#90ee5c}[data-index=”5″] .inno-steps__step–5 .inno-spanner–purple{color:#df9ceb}[data-index=”5″] .inno-steps__step–5 .inno-spanner–blue{color:#aef1d5}[data-index=”6″] .inno-steps__step–6 .inno-spanner{color:var(–color-accent)}[data-index=”6″] .inno-steps__step–6 .inno-spanner–green{color:#90ee5c}[data-index=”6″] .inno-steps__step–6 .inno-spanner–purple{color:#df9ceb}[data-index=”6″] .inno-steps__step–6 .inno-spanner–blue{color:#aef1d5}[data-index=”7″] .inno-steps__step–7 .inno-spanner{color:var(–color-accent)}[data-index=”7″] .inno-steps__step–7 .inno-spanner–green{color:#90ee5c}[data-index=”7″] .inno-steps__step–7 .inno-spanner–purple{color:#df9ceb}[data-index=”7″] .inno-steps__step–7 .inno-spanner–blue{color:#aef1d5}[data-index=”8″] .inno-steps__step–8 .inno-spanner{color:var(–color-accent)}[data-index=”8″] .inno-steps__step–8 .inno-spanner–green{color:#90ee5c}[data-index=”8″] .inno-steps__step–8 .inno-spanner–purple{color:#df9ceb}[data-index=”8″] .inno-steps__step–8 .inno-spanner–blue{color:#aef1d5}[data-index=”9″] .inno-steps__step–9 .inno-spanner{color:var(–color-accent)}[data-index=”9″] .inno-steps__step–9 .inno-spanner–green{color:#90ee5c}[data-index=”9″] .inno-steps__step–9 .inno-spanner–purple{color:#df9ceb}[data-index=”9″] .inno-steps__step–9 .inno-spanner–blue{color:#aef1d5}[data-index=”10″] .inno-steps__step–10 .inno-spanner{color:var(–color-accent)}[data-index=”10″] .inno-steps__step–10 .inno-spanner–green{color:#90ee5c}[data-index=”10″] .inno-steps__step–10 .inno-spanner–purple{color:#df9ceb}[data-index=”10″] .inno-steps__step–10 .inno-spanner–blue{color:#aef1d5}[data-index=”11″] .inno-steps__step–11 .inno-spanner{color:var(–color-accent)}[data-index=”11″] .inno-steps__step–11 .inno-spanner–green{color:#90ee5c}[data-index=”11″] .inno-steps__step–11 .inno-spanner–purple{color:#df9ceb}[data-index=”11″] .inno-steps__step–11 .inno-spanner–blue{color:#aef1d5}[data-index=”12″] .inno-steps__step–12 .inno-spanner{color:var(–color-accent)}[data-index=”12″] .inno-steps__step–12 .inno-spanner–green{color:#90ee5c}[data-index=”12″] .inno-steps__step–12 .inno-spanner–purple{color:#df9ceb}[data-index=”12″] .inno-steps__step–12 .inno-spanner–blue{color:#aef1d5}[data-index=”13″] .inno-steps__step–13 .inno-spanner{color:var(–color-accent)}[data-index=”13″] .inno-steps__step–13 .inno-spanner–green{color:#90ee5c}[data-index=”13″] .inno-steps__step–13 .inno-spanner–purple{color:#df9ceb}[data-index=”13″] .inno-steps__step–13 .inno-spanner–blue{color:#aef1d5}[data-index=”14″] .inno-steps__step–14 .inno-spanner{color:var(–color-accent)}[data-index=”14″] .inno-steps__step–14 .inno-spanner–green{color:#90ee5c}[data-index=”14″] .inno-steps__step–14 .inno-spanner–purple{color:#df9ceb}[data-index=”14″] .inno-steps__step–14 .inno-spanner–blue{color:#aef1d5}[data-index=”15″] .inno-steps__step–15 .inno-spanner{color:var(–color-accent)}[data-index=”15″] .inno-steps__step–15 .inno-spanner–green{color:#90ee5c}[data-index=”15″] .inno-steps__step–15 .inno-spanner–purple{color:#df9ceb}[data-index=”15″] .inno-steps__step–15 .inno-spanner–blue{color:#aef1d5}[data-index=”16″] .inno-steps__step–16 .inno-spanner{color:var(–color-accent)}[data-index=”16″] .inno-steps__step–16 .inno-spanner–green{color:#90ee5c}[data-index=”16″] .inno-steps__step–16 .inno-spanner–purple{color:#df9ceb}[data-index=”16″] .inno-steps__step–16 .inno-spanner–blue{color:#aef1d5}[data-index=”17″] .inno-steps__step–17 .inno-spanner{color:var(–color-accent)}[data-index=”17″] .inno-steps__step–17 .inno-spanner–green{color:#90ee5c}[data-index=”17″] .inno-steps__step–17 .inno-spanner–purple{color:#df9ceb}[data-index=”17″] .inno-steps__step–17 .inno-spanner–blue{color:#aef1d5}[data-index=”18″] .inno-steps__step–18 .inno-spanner{color:var(–color-accent)}[data-index=”18″] .inno-steps__step–18 .inno-spanner–green{color:#90ee5c}[data-index=”18″] .inno-steps__step–18 .inno-spanner–purple{color:#df9ceb}[data-index=”18″] .inno-steps__step–18 .inno-spanner–blue{color:#aef1d5}[data-index=”19″] .inno-steps__step–19 .inno-spanner{color:var(–color-accent)}[data-index=”19″] .inno-steps__step–19 .inno-spanner–green{color:#90ee5c}[data-index=”19″] .inno-steps__step–19 .inno-spanner–purple{color:#df9ceb}[data-index=”19″] .inno-steps__step–19 .inno-spanner–blue{color:#aef1d5}[data-index=”20″] .inno-steps__step–20 .inno-spanner{color:var(–color-accent)}[data-index=”20″] .inno-steps__step–20 .inno-spanner–green{color:#90ee5c}[data-index=”20″] .inno-steps__step–20 .inno-spanner–purple{color:#df9ceb}[data-index=”20″] .inno-steps__step–20 .inno-spanner–blue{color:#aef1d5}.inno-steps__step[data-step=intro]{–desktop-col: 2}.inno-steps__step[data-step=reflect]{–desktop-col: 4;–desktop-height: 1;–desktop-row: 6}.inno-steps__step[data-step=transition]{–desktop-height: 1;–desktop-row: 9}.inno-steps__step[data-step=transition] .inno-spanner{color:var(–color-accent)}.inno-steps__step[data-step=intro] .inno-p,.inno-steps__step[data-step=reflect] .inno-p,.inno-steps__step[data-step=transition] .inno-p{font-family:”innoInquirerHeadline”,”Times New Roman”,serif;font-size:20px;font-weight:600;line-height:1.4;padding:12px 0}@media(min-width: 768px){.inno-steps__step[data-step=intro] .inno-p,.inno-steps__step[data-step=reflect] .inno-p,.inno-steps__step[data-step=transition] .inno-p{font-size:24px}}@media(min-width: 960px){.inno-steps__step[data-step=intro] .inno-p,.inno-steps__step[data-step=reflect] .inno-p,.inno-steps__step[data-step=transition] .inno-p{font-size:18px;padding:0}}@media(min-width: 1200px){.inno-steps__step[data-step=intro] .inno-p,.inno-steps__step[data-step=reflect] .inno-p,.inno-steps__step[data-step=transition] .inno-p{font-size:20px}}@media(min-width: 1400px){.inno-steps__step[data-step=intro] .inno-p,.inno-steps__step[data-step=reflect] .inno-p,.inno-steps__step[data-step=transition] .inno-p{font-size:24px}}.inno-steps__step[data-step=hero]{–desktop-col: 2;–desktop-row: 12;–desktop-width: 5;–desktop-height: 4;padding:0}.inno-steps__step[data-step=money]{–desktop-row: 18;–desktop-height: 6}.inno-steps__step[data-step=races]{–desktop-row: 26;–desktop-height: 3}.inno-steps__step[data-step=most-seen]{–desktop-row: 31}.inno-steps__step[data-step=garrity]{–desktop-row: 36}.inno-steps__step[data-step=data]{–desktop-row: 41;–desktop-height: 4}.inno-steps__step[data-step=ad-break-1]{–desktop-row: 47}.inno-steps__step[data-step=data-dem]{–desktop-row: 51}.inno-steps__step[data-step=data-rep]{–desktop-row: 56}.inno-steps__step[data-step=issues]{–desktop-row: 61;–desktop-height: 2}.inno-steps__step[data-step=dem-issues]{–desktop-row: 65}.inno-steps__step[data-step=rep-issues]{–desktop-row: 68}.inno-steps__step[data-step=ad-break-2]{–desktop-row: 71}.inno-steps__step[data-step=language]{–desktop-height: 5;–desktop-row: 75}.inno-steps__step[data-step=language-fear]{–desktop-height: 5;–desktop-row: 82}.inno-steps__step[data-step=ad-break-1],.inno-steps__step[data-step=ad-break-2]{–desktop-col: 1;–desktop-width: 7;–desktop-height: 2;padding-block:48px}.inno-steps__step .inno-spanner{color:#fff}.inno-steps__step:has(.inno-looping-video){–desktop-col: 2;–desktop-height: 3;–desktop-width: 5}.inno-steps__step:before{content:””;position:absolute;z-index:2;bottom:-2px;right:-2px;width:calc(100% + (var(–gap-size)));height:calc(100% + (var(–gap-size)));border:2px solid var(–color-lines);border-left:0;border-top:0;pointer-events:none;transition:border-color .4s ease-in-out}.inno-steps__step:after{content:””;position:absolute;z-index:2;left:-2px;top:-2px;width:calc(100% + (var(–gap-size)));height:calc(100% + (var(–gap-size)));border:2px solid var(–color-lines);transition:border-color .4s ease-in-out;border-right:0;border-bottom:0;pointer-events:none}.inno-steps__body{width:100%}[data-step=hero] .inno-steps__body{display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:0;min-height:300px}.inno-steps__body .inno-p{max-width:650px}.inno-steps__body:has(.inno-looping-video){display:grid;gap:12px}.inno-steps__body:has(.inno-looping-video) .inno-p{margin-top:0}.inno-steps__body:has(.inno-looping-video) .inno-looping-video{order:2;margin-top:0}@media(min-width: 960px){.inno-steps__body:has(.inno-looping-video){position:relative;display:grid;grid-template-columns:2fr 3fr;align-items:center}.inno-steps__body:has(.inno-looping-video):before{content:””;position:absolute;left:calc(40% – 4px);top:calc(var(–gap-size)*-1);bottom:calc(var(–gap-size)*-1);width:2px;background-color:var(–color-lines);transition:background-color .4s ease-in-out}.inno-steps__body:has(.inno-looping-video) .inno-p{padding-right:12px}.inno-steps__body:has(.inno-looping-video) .inno-looping-video{order:unset}[data-step=most-seen] .inno-steps__body:has(.inno-looping-video),[data-step=data-dem] .inno-steps__body:has(.inno-looping-video){grid-template-columns:3fr 2fr}[data-step=most-seen] .inno-steps__body:has(.inno-looping-video):before,[data-step=data-dem] .inno-steps__body:has(.inno-looping-video):before{left:calc(60% + 2px)}[data-step=most-seen] .inno-steps__body:has(.inno-looping-video) .inno-p,[data-step=data-dem] .inno-steps__body:has(.inno-looping-video) .inno-p{padding-left:12px;padding-right:0}}.inno-subscribe{display:none;position:relative}.inno-subscribe.is-unsubscribed{display:block}.inno-subscribe.is-preview{display:block}.inno-subscribe.is-dev{display:block}.inno-subscribe.is-dev::before{content:”Non-subscribers only”;display:block;position:absolute;left:-20px;border:1px dashed red;font-size:8px;text-transform:uppercase;padding:5px;font-weight:bold;writing-mode:vertical-lr}.inno-tags{border-top:2px solid #fff;padding-block:12px}.inno-tags__title{font-family:”innoGrot10″,sans-serif;font-size:14px;font-weight:normal}.inno-tags__buttons{display:flex;flex-wrap:wrap;gap:8px}.inno-tags__buttons .inno-button{flex:0 0 auto}.inno-toast{position:fixed;bottom:16px;left:0;right:0;width:max-content;margin:0px auto;z-index:120;display:flex;align-content:center;justify-content:center;text-align:center;font-size:20px;border-radius:5px;background-color:var(–color-text-primary);color:var(–color-background);padding:24px 48px;box-shadow:0 1px 4px rgba(89,87,96,.1),0 3px 6px rgba(89,87,96,.1);translate:0% calc(100% + 18px);transition:translate .4s;opacity:0}.inno-toast b,.inno-toast strong{font-weight:normal}.inno-toast.is-active{translate:0 0;opacity:1}

      Early ads for Shapiro used clips by conservative radio show clips against Garrity.
      One of four attack ads by Stacy Garrity.
      Recent Shapiro ads have prominently featured non-politicians talking about issues.
      Pa. Senate’s 24th district race has been dominated by data center ads.
      Northampton County has three proposed data centers, including one hyperscale.
      The Pa. Senate 40th district, east of Scranton has at least 11 proposed data centers
      This ad is one of 139 that mentions healthcare.
      Taxation is the most commonly mentioned issue across all ads.
      Ads mentioning Donald Trump have declined since the primaries.
      AI is mentioned less than data centers but still prominent in the 24th Pa. State Senate race.
      13 out of 14 ads that mention trade and tariffs are for Democratic candidates.
      It’s not unusual to see Democrats campaign on education, like this attack ad against Tom Jones.
      This ad highlights Mackenzie's support of working family tax cuts.
      Ads featuring crime are often attack ads on a rival’s policy or their criminal record.
      U.S. Rep. Rob Bresnahan’s ad has a slogan of “shutting down corruption in congress."
      Language like “we” can give a sense of togetherness between the viewer and the candidate.
      “Our” was mentioned 438 times, the most of any word.
      Direct language like “You” and “Your” can help paint an issue as a threat.
    • It’s that time of the political cycle when it feels like every TV ad features a politician who wants your vote.

    • Candidates spent $4 billion for that privilege during the 2022 midterm elections, according to OpenSecrets.

    • So, we watched all 587 political ads shown in the Philadelphia area this year. Here’s what we discovered.

    • Midterm Messages

    • Twelve billion — the number of political ad views in the Philadelphia metropolitan area this year alone. That’s according to AdImpact, a service that monitors political advertisements on both traditional broadcast and streaming services on smart TVs.

      To reach that many eyeballs requires spending a lot of money. In the Philadelphia area alone, Democratic candidates have spent $32 million this year to air their ads. Republicans have been a little more frugal, spending just $20 million.

      “Money isn’t decisive, but it helps,” explained J.J. Balaban, an admaker for multiple Democratic candidates for Congress. “You have to raise enough to be competitive. If a [candidate] is being outspent 10-1, it’s probably not going to work out.”

      The most expensive local race is Pennsylvania’s 7th Congressional District, a closely contested swing seat in the Lehigh Valley, representing over a quarter of total spend on political ads in the Philadelphia area. Incumbent U.S. Rep Ryan Mackenzie is behind in the polls to Democrat Bob Brooks, despite Mackenzie outspending Brooks 2-1.

    • These are just a few ads representing the Pennsylvania governor’s race as Gov. Josh Shapiro campaigns for reelection and Republican Stacy Garrity campaigns to unseat him. Their campaigns spent the second most for a single race: a combined $8.6 million.

      And the breakdown of that spend is staggeringly lopsided. Shapiro’s $8.5 million outlay on airing ads far eclipses Garrity’s $76,000. Garrity has stated “the cavalry will be coming” but with weeks left before Election Day, there is no sign of a rebound.

    • $1.2 million was spent on airing this Shapiro ad that has seen an estimated 443 million times – the most viewed ad in this race.

    • On the other hand, Garrity has broadcast only four ads seen by a combined 4.9 million viewers. They are all attack ads on Shapiro’s platform, including this ad about data centers.

    • A recent Pew Research survey found that a majority of Americans oppose data centers and political campaigns have rushed to reflect that. According to AdImpact, 79 ads shown in the Philadelphia area have data centers as a prominent theme. Most ads that mention data centers are for Democratic campaigns, making up 60 of the 79.

      This is most relevant in districts that cover Montgomery and Chester Counties, where according to Data Center Tracker, 13 data centers have been proposed or built. For example, they dominate the debate in the 24th Pa. State Senate district – where 15 of 18 unique ads mention data centers.

    • more midterm ads after this ad
    • This ad for Chris Thomas, the Democratic challenger, states that Thomas will “make darn sure these data centers stop raising our utility bills.”

    • Thomas’ rival and incumbent, State Sen. Tracy Pennycuick aired her own ad about data centers. This 15-second ad – the most seen in the Philadelphia area – focuses on Thomas' relationship with developers who have built data centers while donating to his campaign.

    • However, data centers are just one of many concerns addressed in ads this year. The most common issues are taxation, data centers, Donald Trump, and healthcare, according to AdImpact’s analysis.

    • Democrats are running more ads than Republicans that mention artificial intelligence, trade, and education.

    • While Republicans are running more ads that mention social security, crime, and corruption than Democrats.

    • more midterm ads after this ad
    • Even if a campaign ad focuses on an issue voters care about, it might still fall flat. To stick the landing, tone matters just as much, if not more.

      “Voters aren’t issue calculators. They don’t sum up ‘I agree with this candidate on 60% of the issues.’ That’s not how human beings make decisions,” argues Balaban. “It’s very driven by emotion and TV is intrinsically an emotional medium. Sometimes my party [Democrats] make the mistake of making ads aimed for the head more than the heart.”

      The science agrees. Our emotions impact what we remember, according to Michael Platt, a professor of neuroscience and marketing at the University of Pennsylania, and being a memorable candidate matters on Election Day.

      “You have to make [voters] feel something,” said Platt. “Social status, fear, and threat are really good emotions to make [advertisements] memorable and sticky with the viewer.”

    • An Inquirer analysis of transcripts illustrates these tropes. When ads talk directly to the viewer, for example, they can tap into fear. “You” was mentioned 295 times while “your” was said 185 times.

      Belonging and shared values were also a common theme in campaign ads, suggested by use of “our” (438), “us,” (253) and “we” (126).

      “There’s an unfortunate feature/bug of our brains to feel a sense of togetherness, and we need to have an out group,” Platt said. “This potentially engages oxytocin signaling in the brain, which is a peptide for group bonding. This would create a stronger connection with that candidate.”

      That’s why attack ads are likely here to stay. “Normal human beings will say they don’t like attack ads, but they also remember them,” Balaban said.

    Whether these ads are resonating with viewers will ultimately be decided on Nov. 3 in the voting booth. According to Balaban, the real measure of a successful ad campaign is “does the candidate win or not?”

    Methodology

    The starting dataset of political ads comes from AdImpact’s AdMo+ dashboard. We exported data from the dashboard for ads shown in the Philadelphia media market only. That list was then further refined by:

    • Filtering for ads aired between Jan. 1, 2026 and Oct. 14, 2026.

    • Removing ads for 2025 races that were accidentally shown in 2026

    • Removed ads for races outside of Pa. and N.J. that were inadvertently shown in the Philadelphia area

    • Removed any ads that AdImpact deemed as political in nature but weren’t attached to a single race or campaign

    We used AdImpact’s tagging of the issues in our analysis. We grouped ads by tags, and removed issues with less than 10 unique ads and less than $1 million spend.

    Analysis of word count uses AdImpact’s transcriptions. Filler words – such as “to”, “and”, “the”, and “for” – were filtered out.

    Staff Contributors

    • Design, Development, Data, and Reporting: Sam Morris
    • Editing: Charmaine Runes and Ariella Cohen
    • Copy Editing: Brian Leighton

    Subscribe to The Philadelphia Inquirer

    Our reporting is directly supported by reader subscriptions. If you want more journalism like this story, please subscribe today

    (()=>{var z=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var so=z(je=>{var Nl={0:”Jan.”,1:”Feb.”,2:”March”,3:”April”,4:”May”,5:”June”,6:”July”,7:”Aug.”,8:”Sept.”,9:”Oct.”,10:”Nov.”,11:”Dec.”};function Gn(t){return t===void 0&&(t=new Date),Nl[t.getMonth()]}var Ll={0:”Jan”,1:”Feb”,2:”Mar”,3:”Apr”,4:”May”,5:”Jun”,6:”Jul”,7:”Aug”,8:”Sep”,9:”Oct”,10:”Nov”,11:”Dec”};function Zn(t){return t===void 0&&(t=new Date),Ll[t.getMonth()]}function It(t){return t==null}function to(t){return typeof t==”number”&&isFinite(t)}function Ys(t){return to(t)&&Math.floor(t)===t}var Il=[“one”,”two”,”three”,”four”,”five”,”six”,”seven”,”eight”,”nine”],kl=[“million”,”billion”,”trillion”,”quadrillion”,”quintillion”,”sextillion”,”septillion”,”octillion”,”nonillion”,”decillion”],Qn=[“th”,”st”,”nd”,”rd”,”th”,”th”,”th”,”th”,”th”,”th”],Dl=[11,12,13];function eo(t){if(It(t))return””;var e=+t;return Ys(e)?Dl.indexOf(e%100)>-1?Qn[0]:Qn[e%10]:””}var $l=[“first”,”second”,”third”,”fourth”,”fifth”,”sixth”,”seventh”,”eighth”,”ninth”],Ol=new RegExp(/s+([^s]*)s*$/);je.apdate=function(t){return t===void 0&&(t=new Date),Gn(t)+” “+t.getDate()+”, “+t.getFullYear()},je.apdatetab=function(t){return t===void 0&&(t=new Date),Zn(t)+” “+t.getDate()+”, “+t.getFullYear()},je.apmonth=Gn,je.apmonthtab=Zn,je.apnumber=function(t){if(It(t))return””;var e=+t;return Ys(e)?e=10?t.toString():Il[e-1]:t.toString()},je.aptime=function(t){t===void 0&&(t=new Date);var e,s,i=t.getHours(),r=t.getMinutes(),n=r===0;if(n){if(i===0)return”midnight”;if(i===12)return”noon”}return i0?i:12):(e=”p.m.”,s=i===12?i:i-12),n?s+” “+e:s+”:”+(r<10?"0"+r:r)+" "+e},je.capfirst=function(t){if(It(t))return"";var e=String(t);return""+e.charAt(0).toUpperCase()+e.slice(1)},je.intcomma=function(t){if(It(t))return"";var e,s=+t;return to(s)?((e=s.toString().split("."))[0]=e[0].replace(/B(?=(d{3})+(?!d))/g,","),e.join(".")):t.toString()},je.intword=function(t){if(It(t))return"";var e=+t;if(!Ys(e))return t.toString();var s=Math.abs(e);if(s<1e6)return t.toString();var i=Math.ceil(Math.log(s+1)/Math.LN10)-1,r=i-i%3,n=e/Math.pow(10,r);return(n=Math.round(10*n)/10)+" "+kl[Math.floor(r/3)-2]},je.ordinal=function(t,e){if(e===void 0&&(e=!1),It(t))return"";var s=+t;return Ys(s)?e&&s{“use strict”;var cr=typeof window{let t=new Map;return t.set(“x”,”translateX”),t.set(“y”,”translateY”),t.set(“z”,”translateZ”),t})(),ho=[“perspective”,”translateX”,”translateY”,”translateZ”,”rotate”,”rotateX”,”rotateY”,”rotateZ”,”scale”,”scaleX”,”scaleY”,”scaleZ”,”skew”,”skewX”,”skewY”],bc=ho.reduce((t,e)=>({…t,[e]:e+”(“}),{}),Tc=()=>{},Sc=t=>t,wc=/)s*[-.d]/,xc=/(^#([da-f]{3}){1,2}$)|(^#([da-f]{4}){1,2}$)/i,_c=/rgb(s*(d+)s*,s*(d+)s*,s*(d+)s*)/i,Cc=/rgba(s*(d+)s*,s*(d+)s*,s*(d+)s*,s*(-?d+|-?d*.d+)s*)/i,Ec=/hsl(s*(-?d+|-?d*.d+)s*,s*(-?d+|-?d*.d+)%s*,s*(-?d+|-?d*.d+)%s*)/i,Vc=/hsla(s*(-?d+|-?d*.d+)s*,s*(-?d+|-?d*.d+)%s*,s*(-?d+|-?d*.d+)%s*,s*(-?d+|-?d*.d+)s*)/i,Ac=/[-+]?d*.?d+(?:e[-+]?d)?/gi,Rc=/^([-+]?d*.?d+(?:e[-+]?d+)?)([a-z]+|%)$/i,Pc=/([a-z])([A-Z])/g,qc=/(*=|+=|-=)/,Nc=/var(s*(–[w-]+)(?:s*,s*([^)]+))?s*)/;pe.K=pc;pe.compositionTypes=nc;pe.cssVarPrefix=gc;pe.cssVariableMatchRgx=Nc;pe.digitWithExponentRgx=Ac;pe.doc=tc;pe.emptyArray=vc;pe.emptyString=mc;pe.hexTestRgx=xc;pe.hslExecRgx=Ec;pe.hslaExecRgx=Vc;pe.isBrowser=cr;pe.isDomSymbol=ac;pe.isRegisteredTargetSymbol=oc;pe.isSvgSymbol=lc;pe.lowerCaseRgx=Pc;pe.maxFps=fc;pe.maxValue=dc;pe.minValue=hc;pe.noop=Tc;pe.noopModifier=Sc;pe.proxyTargetSymbol=uc;pe.relativeValuesExecRgx=qc;pe.rgbExecRgx=_c;pe.rgbaExecRgx=Cc;pe.shortTransforms=yc;pe.tickModes=rc;pe.transformsFragmentStrings=bc;pe.transformsSymbol=cc;pe.tweenTypes=sc;pe.unitsExecRgx=Rc;pe.validRgbHslRgx=wc;pe.validTransforms=ho;pe.valueTypes=ic;pe.win=ec});var ke=z(Ss=>{“use strict”;var Ue=Se(),po={id:null,keyframes:null,playbackEase:null,playbackRate:1,frameRate:Ue.maxFps,loop:0,reversed:!1,alternate:!1,autoplay:!0,persist:!1,duration:Ue.K,delay:0,loopDelay:0,ease:”out(2)”,composition:Ue.compositionTypes.replace,modifier:Ue.noopModifier,onBegin:Ue.noop,onBeforeUpdate:Ue.noop,onUpdate:Ue.noop,onLoop:Ue.noop,onPause:Ue.noop,onComplete:Ue.noop,onRender:Ue.noop},Lc={current:null,root:Ue.doc},Ic={defaults:po,precision:4,timeScale:1,tickThreshold:200,editor:null},fo={version:”4.5.0″,engine:null};Ue.isBrowser&&(Ue.win.AnimeJS||(Ue.win.AnimeJS=[]),Ue.win.AnimeJS.push(fo));Ss.defaults=po;Ss.globalVersions=fo;Ss.globals=Ic;Ss.scope=Lc});var le=z(ie=>{“use strict”;var kt=Se(),kc=ke(),Dc=t=>t.replace(kt.lowerCaseRgx,”$1-$2″).toLowerCase(),hr=(t,e)=>t.indexOf(e)===0,$c=Date.now,dr=Array.isArray,Oc=t=>t&&t.constructor===Object,Fc=t=>typeof t==”number”&&!isNaN(t),mo=t=>typeof t==”string”,Mc=t=>typeof t==”function”,pr=t=>typeof t>”u”,Bc=t=>pr(t)||t===null,Uc=t=>kt.isBrowser&&t instanceof SVGElement,go=t=>kt.hexTestRgx.test(t),vo=t=>hr(t,”rgb”),yo=t=>hr(t,”hsl”),Hc=t=>go(t)||(vo(t)||yo(t))&&(t[t.length-1]===”)”||!kt.validRgbHslRgx.test(t)),zc=t=>!kc.globals.defaults.hasOwnProperty(t),Wc=[“opacity”,”rotate”,”overflow”,”color”],Xc=(t,e)=>{if(Wc.includes(e))return!1;if(t.getAttribute(e)||e in t){if(e===”scale”){let s=t.parentNode;return s&&s.tagName===”filter”}return!0}},Yc=t=>mo(t)?parseFloat(t):t,jc=Math.pow,Kc=Math.sqrt,Jc=Math.sin,Gc=Math.cos,ur=Math.abs,Zc=Math.exp,Qc=Math.ceil,eu=Math.floor,tu=Math.asin,su=Math.max,iu=Math.atan2,ru=Math.PI,Zs=Math.round,nu=(t,e,s)=>ts?s:t,bo=(t,e)=>{if(edr(e)?e.reduce((s,i)=>ur(i-t)s===1?e:s===0?t:t+(e-t)*s,To=t=>t===1/0?kt.maxValue:t===-1/0?-kt.maxValue:t,lu=t=>tdr(t)?[…t]:t,uu=(t,e)=>{let s={…t};for(let i in e){let r=t[i];s[i]=pr(r)?e[i]:r}return s},hu=(t,e,s,i=”_prev”,r=”_next”)=>{let n=t._head,o=r;for(s&&(n=t._tail,o=i);n;){let l=n[o];e(n),n=l}},du=(t,e,s=”_prev”,i=”_next”)=>{let r=e[s],n=e[i];r?r[i]=n:t._head=n,n?n[s]=r:t._tail=r,e[s]=null,e[i]=null},pu=(t,e,s,i=”_prev”,r=”_next”)=>{let n=t._tail;for(;n&&s&&s(n,e);)n=n[i];let o=n?n[r]:t._head;n?n[r]=e:t._head=e,o?o[i]=e:t._tail=e,e[i]=n,e[r]=o};ie.PI=ru;ie._round=Zs;ie.abs=ur;ie.addChild=pu;ie.asin=tu;ie.atan2=iu;ie.ceil=Qc;ie.clamp=nu;ie.clampInfinity=To;ie.cloneArray=cu;ie.cos=Gc;ie.exp=Zc;ie.floor=eu;ie.forEachChildren=hu;ie.isArr=dr;ie.isCol=Hc;ie.isFnc=Mc;ie.isHex=go;ie.isHsl=yo;ie.isKey=zc;ie.isNil=Bc;ie.isNum=Fc;ie.isObj=Oc;ie.isRgb=vo;ie.isStr=mo;ie.isSvg=Uc;ie.isUnd=pr;ie.isValidSVGAttribute=Xc;ie.lerp=au;ie.max=su;ie.mergeObjects=uu;ie.normalizeTime=lu;ie.now=$c;ie.parseNumber=Yc;ie.pow=jc;ie.removeChild=du;ie.round=bo;ie.sin=Jc;ie.snap=ou;ie.sqrt=Kc;ie.stringStartsWith=hr;ie.toLowerCase=Dc});var ei=z(fr=>{“use strict”;var ws=Se(),Qs=le(),fu=(t,e,s)=>{let i=t.style.transform;if(i){let r=t[ws.transformsSymbol],n=0,o=i.length,l;for(;n<o;){for(;n=o)break;let c=n;for(;n=o)break;let h=i.substring(c,n),d=1,p=n+1,g=-1,v=-1;for(n++;n0;){let f=i.charCodeAt(n);f===40?d++:f===41?d–:f===44&&d===1&&(g===-1?g=n:v===-1&&(v=n)),n++}let u=n-1;h===”translate”||h===”translate3d”?(g===-1?r.translateX=i.substring(p,u).trim():(r.translateX=i.substring(p,g).trim(),v===-1?r.translateY=i.substring(g+1,u).trim():(r.translateY=i.substring(g+1,v).trim(),r.translateZ=i.substring(v+1,u).trim())),l=i.substring(p,u)):h===”scale”||h===”scale3d”?g===-1?r.scale=i.substring(p,u).trim():(r.scaleX=i.substring(p,g).trim(),v===-1?r.scaleY=i.substring(g+1,u).trim():(r.scaleY=i.substring(g+1,v).trim(),r.scaleZ=i.substring(v+1,u).trim())):r[h]=i.substring(p,u)}if(e===”translate3d”&&l)return s&&(s[e]=l),l;let a=r[e];if(!Qs.isUnd(a))return s&&(s[e]=a),a}return e===”translate3d”?”0px, 0px, 0px”:e===”rotate3d”?”0, 0, 0, 0deg”:Qs.stringStartsWith(e,”scale”)?”1″:Qs.stringStartsWith(e,”rotate”)||Qs.stringStartsWith(e,”skew”)?”0deg”:”0px”},mu=t=>{let e=ws.emptyString;for(let s=0,i=ws.validTransforms.length;s{“use strict”;var gu=()=>!0,mr=class{constructor(e){this.detect=e,this.props={}}registerProperty(e,s,i,r){this.props[e]={get:s,set:i,gate:r||gu}}},gr=class{constructor(e){this.detect=e||null,this.targetAdapters=[],this.propertyResolvers=[]}registerTargetAdapter(e){let s=new mr(e);return this.targetAdapters.push(s),s}registerPropertyResolver(e){this.propertyResolvers.indexOf(e)===-1&&this.propertyResolvers.push(e)}},ti=[];function vu(t){let e=new gr(t);return ti.push(e),e}function yu(t,e){if(!t)return null;let s=ti.length;e:for(let i=0;i<s;i++){let r=ti[i];if(r.detect&&!r.detect(t))continue;let n=r.targetAdapters;for(let o=0,l=n.length;o<l;o++){let a=n[o];if(a.detect(t)){let c=a.props[e];if(c&&(!c.gate||c.gate(t)))return c;break e}}}for(let i=0;i<s;i++){let r=ti[i];if(r.detect&&!r.detect(t))continue;let n=r.propertyResolvers;for(let o=0,l=n.length;o{“use strict”;var si=Se(),Dt=le(),bu=t=>{let e=si.rgbExecRgx.exec(t)||si.rgbaExecRgx.exec(t),s=Dt.isUnd(e[4])?1:+e[4];return[+e[1],+e[2],+e[3],s]},Tu=t=>{let e=t.length,s=e===4||e===5;return[+(“0x”+t[1]+t[s?1:2]),+(“0x”+t[s?2:3]+t[s?2:4]),+(“0x”+t[s?3:5]+t[s?3:6]),e===5||e===9?+(+(“0x”+t[s?4:7]+t[s?4:8])/255).toFixed(3):1]},br=(t,e,s)=>(s1&&(s-=1),s<1/6?t+(e-t)*6*s:s<1/2?e:s{let e=si.hslExecRgx.exec(t)||si.hslaExecRgx.exec(t),s=+e[1]/360,i=+e[2]/100,r=+e[3]/100,n=Dt.isUnd(e[4])?1:+e[4],o,l,a;if(i===0)o=l=a=r;else{let c=rDt.isRgb(t)?bu(t):Dt.isHex(t)?Tu(t):Dt.isHsl(t)?Su(t):[0,0,0,1];So.convertColorStringValuesToRgbaArray=wu});var Ke=z(St=>{“use strict”;var Ee=Se(),ct=le(),xu=ei(),_u=yr(),Cu=wo(),Eu=(t,e)=>ct.isUnd(t)?e:t,xo=(t,e)=>{let s=t.match(Ee.cssVariableMatchRgx),i=e[Ee.isDomSymbol]?e:document.documentElement,r=getComputedStyle(i)?.getPropertyValue(s[1]);return(!r||r.trim()===Ee.emptyString)&&s[2]&&(r=s[2].trim()),r||0},Vu=(t,e,s,i,r,n)=>{if(ct.isFnc(t)){if(!r){let l=t(e,s,i,n);return isNaN(+l)?l||0:+l}let o=()=>{let l=t(e,s,i,n);return isNaN(+l)?l||0:+l};return r.func=o,o()}if(ct.isStr(t)&&ct.stringStartsWith(t,Ee.cssVarPrefix)){if(!r)return xo(t,e);let o=()=>xo(t,e);return r.func=o,o()}return t},Co=(t,e)=>t[Ee.isDomSymbol]?t[Ee.isSvgSymbol]&&ct.isValidSVGAttribute(t,e)?Ee.tweenTypes.ATTRIBUTE:Ee.validTransforms.includes(e)||Ee.shortTransforms.get(e)?Ee.tweenTypes.TRANSFORM:ct.stringStartsWith(e,”–“)?Ee.tweenTypes.CSS_VAR:e in t.style?Ee.tweenTypes.CSS:e in t?Ee.tweenTypes.OBJECT:Ee.tweenTypes.ATTRIBUTE:Ee.tweenTypes.OBJECT,_o=(t,e,s)=>{let i=t.style[e];i&&s&&(s[e]=i);let r=i||getComputedStyle(t[Ee.proxyTargetSymbol]||t).getPropertyValue(e);return r===”auto”?”0″:r},Au=(t,e,s,i)=>{let r=ct.isUnd(s)?Co(t,e):s,n=_u.resolveAdapterEntry(t,e);if(n){let o=n.get(t);return o&&i&&(i[e]=o),o??0}if(r===Ee.tweenTypes.OBJECT){let o=t[e];return o&&i&&(i[e]=o),o||0}if(r===Ee.tweenTypes.ATTRIBUTE){let o=t.getAttribute(e);return o&&i&&(i[e]=o),o}return r===Ee.tweenTypes.TRANSFORM?xu.parseInlineTransforms(t,e,i):r===Ee.tweenTypes.CSS_VAR?_o(t,e,i).trimStart():_o(t,e,i)},Ru=(t,e,s)=>s===”-“?t-e:s===”+”?t+e:t*e,Eo=()=>({t:Ee.valueTypes.NUMBER,n:0,u:null,o:null,d:null,s:null}),Pu=(t,e)=>{if(e.t=Ee.valueTypes.NUMBER,e.n=0,e.u=null,e.o=null,e.d=null,e.s=null,!t)return e;let s=+t;if(!isNaN(s))return e.n=s,e;let i=t;i[1]===”=”&&(e.o=i[0],i=i.slice(2));let r=i.includes(” “)?!1:Ee.unitsExecRgx.exec(i);if(r)return e.t=Ee.valueTypes.UNIT,e.n=+r[1],e.u=r[2],e;if(e.o)return e.n=+i,e;if(ct.isCol(i))return e.t=Ee.valueTypes.COLOR,e.d=Cu.convertColorStringValuesToRgbaArray(i),e;{let n=i.match(Ee.digitWithExponentRgx);return e.t=Ee.valueTypes.COMPLEX,e.d=n?n.map(Number):[],e.s=i.split(Ee.digitWithExponentRgx)||[],e}},qu=(t,e)=>(e.t=t._valueType,e.n=t._toNumber,e.u=t._unit,e.o=null,e.d=ct.cloneArray(t._toNumbers),e.s=ct.cloneArray(t._strings),e),Nu=Eo(),Lu=(t,e,s)=>{let i=t._modifier,r=t._fromNumbers,n=t._toNumbers,o=t._strings,l=o[0];for(let a=0,c=n.length;a{“use strict”;var Vo=ke(),Oe=Se(),Be=le(),Iu=ei(),ku=Ke(),ii=(t,e,s,i,r)=>{let n=t.parent,o=t.duration,l=t.completed,a=t.iterationDuration,c=t.iterationCount,h=t._currentIteration,d=t._loopDelay,p=t._reversed,g=t._alternate,v=t._hasChildren,u=t._delay,f=t._currentTime,b=u+a,T=e-u,x=Be.clamp(f,-u,o),w=Be.clamp(T,-u,o),E=T-f,V=w>0,$=w>=o,G=o1){let m=a+($?0:d),C=~~(w/m);t._currentIteration=Be.clamp(C,0,c),$&&t._currentIteration–,M=t._currentIteration%2,q=w-C*m||0}let Y=p^(g&&M),R=t._ease,I=$?Y?0:o:Y?a-q:q;R&&(I=a*R(I/a)||0);let oe=(n?n.backwards:T<f)?!Y:!!Y;if(t._currentTime=T,t._iterationTime=I,t.backwards=oe,V&&!t.began?(t.began=!0,!s&&!(n&&(oe||!n.began))&&t.onBegin(t)):T=(n&&u>0?0:u)&&e<=b||eu||e>=b&&x!==o)||I>=b&&x!==o||I0&&!$||e=Vo.globals.tickThreshold,C=Be.round(t._offset+(n?n._offset:0)+u+I,12),y=t._head,_,L,k,P,B=0;for(;y;){let ue=y._composition,O=y._currentTime,Q=y._changeDuration,he=y._absoluteStartTime+y._changeDuration,te=y._nextRep,Ne=y._prevRep,Le=ue!==Oe.compositionTypes.none,F=Ne?Ne._absoluteStartTime+Ne._changeDuration:0,re=Ne&&Ne.parent!==y.parent,xe=!te||te._isOverridden?he:te.parent===y.parent?he+te._delay:te._absoluteStartTime<te._absoluteUpdateStartTime?te._absoluteStartTime:te._absoluteUpdateStartTime;if((m||(O!==Q||C=y._absoluteStartTime||re&&!y._hasFromValue&&!Ne._isOverridden&&C>=F||te&&!te._isOverridden&&te.parent===y.parent&&te._currentTime!==0&&I=y._startTime)&&(!Le||!y._isOverridden&&(!y._isOverlapped||C<=he)&&(!te||te._isOverridden||C=y._absoluteStartTime||!y._hasFromValue&&C>=F:C>=F+y._delay)))){let qe=y._currentTime=Be.clamp(I-y._startTime,0,Q),de=y._ease(qe/y._updateDuration),be=y._modifier,_e=y._valueType,Re=y._tweenType,$e=Re===Oe.tweenTypes.OBJECT,ce=_e===Oe.valueTypes.NUMBER,Ce=ce&&$e||de===0||de===1?-1:Vo.globals.precision,J,we;if(ce)J=we=be(Be.round(Be.lerp(y._fromNumber,y._toNumber,de),Ce));else if(_e===Oe.valueTypes.UNIT)we=be(Be.round(Be.lerp(y._fromNumber,y._toNumber,de),Ce)),J=`${we}${y._unit}`;else if(_e===Oe.valueTypes.COLOR){let A=y._numbers,ee=y._fromNumbers,j=y._toNumbers,H=1-de,ge=ee[0],Pe=ee[1],Xe=ee[2],Nt=j[0],Lt=j[1],gs=j[2];A[0]=be(Math.sqrt(ge*ge*H+Nt*Nt*de)),A[1]=be(Math.sqrt(Pe*Pe*H+Lt*Lt*de)),A[2]=be(Math.sqrt(Xe*Xe*H+gs*gs*de)),A[3]=be(Be.lerp(ee[3],j[3],de)),(!y._setter||i)&&(J=`rgba(${Be.round(A[0],0)},${Be.round(A[1],0)},${Be.round(A[2],0)},${A[3]})`)}else _e===Oe.valueTypes.COMPLEX&&(J=ku.composeComplexValue(y,de,Ce));if(Le&&(y._number=we),!i&&ue!==Oe.compositionTypes.blend){let A=y.property;_=y.target,y._setter?y._setter(_,we,y):$e?_[A]=J:Re===Oe.tweenTypes.ATTRIBUTE?_.setAttribute(A,J):(L=_.style,Re===Oe.tweenTypes.TRANSFORM?(_!==k&&(k=_,P=_[Oe.transformsSymbol]),P[A]=J,B=1):Re===Oe.tweenTypes.CSS?L[A]=J:Re===Oe.tweenTypes.CSS_VAR&&L.setProperty(A,J)),V&&(D=1)}else y._value=J}else O&&Ne&&!re&&I0&&!l||oe&&T=c-1&&(t.paused=!0,!l&&!v&&(t.completed=!0,!s&&!(n&&(oe||!n.began))&&(t.onComplete(t),t._resolve(t)))):t.completed=!1,D},Du=(t,e,s,i,r)=>{let n=t._currentIteration;if(ii(t,e,s,i,r),t._hasChildren){let o=t,l=o.backwards,a=i?e:o._iterationTime,c=Be.now(),h=0,d=!0;if(!i&&o._currentIteration!==n){let p=o.iterationDuration;Be.forEachChildren(o,g=>{if(!l)!g.completed&&!g.backwards&&g._currentTime<g.iterationDuration&&ii(g,p,s,1,Oe.tickModes.FORCE),g.began=!1,g.completed=!1;else{let v=g.duration,u=g._offset+g._delay,f=u+v;!s&&v{let g=Be.round((a-p._offset)*p._speed,12);if(l&&g>p._delay+p.duration)return;let v=p._fps=o.duration&&(o.paused=!0,o.completed||(o.completed=!0,s||(o.onComplete(o),o._resolve(o))))}};Tr.render=ii;Tr.tick=Du});var Wt=z(ri=>{“use strict”;var ut=Se(),Kt=le(),$u=ei(),_s=Ke(),Ao={},Ou=(t,e,s)=>{if(s===ut.tweenTypes.TRANSFORM){let i=ut.shortTransforms.get(t);return i||t}else if(s===ut.tweenTypes.CSS||s===ut.tweenTypes.ATTRIBUTE&&Kt.isSvg(e)&&t in e.style){let i=Ao[t];if(i)return i;{let r=t&&Kt.toLowerCase(t);return Ao[t]=r,r}}else return t},Sr=(t,e=!1)=>{if(t._hasChildren)Kt.forEachChildren(t,s=>Sr(s,e),!0);else{let s=t;s.pause(),Kt.forEachChildren(s,i=>{let r=i.property,n=i.target,o=i._tweenType,l=i._inlineValue,a=Kt.isNil(l)||l===ut.emptyString;if(i._setter){if(!e&&!a){if(_s.decomposeRawValue(l,_s.decomposedOriginalValue),_s.decomposedOriginalValue.d){let c=_s.decomposedOriginalValue.d,h=i._numbers;for(let d=0,p=c.length;d

    {c.getAttribute&&c.getAttribute(“style”)===ut.emptyString&&c.removeAttribute(“style”)})})}return t},Fu=t=>Sr(t,!0);ri.cleanInlineStyles=Fu;ri.revertValues=Sr;ri.sanitizePropertyName=Ou});var xr=z(Po=>{“use strict”;var xt=Se(),Ro=ke(),wr=class{constructor(e=0){this.deltaTime=0,this._currentTime=e,this._lastTickTime=e,this._startTime=e,this._lastTime=e,this._frameDuration=xt.K/xt.maxFps,this._fps=xt.maxFps,this._speed=1,this._hasChildren=!1,this._head=null,this._tail=null}get fps(){return this._fps}set fps(e){let s=+e,i=sRo.defaults.frameRate&&(Ro.defaults.frameRate=i),this._fps=i,this._frameDuration=r}get speed(){return this._speed}set speed(e){let s=+e;this._speed=s<xt.minValue?xt.minValue:s}requestTick(e){let s=this._frameDuration,i=e-this._lastTickTime,r=s*.25,n=r<4?r:4;return i+n=s?e-i%s:e,xt.tickModes.AUTO)}computeDeltaTime(e){let s=e-this._lastTime;return this.deltaTime=s,this._lastTime=e,s}};Po.Clock=wr});var oi=z(_r=>{“use strict”;var Jt=Se(),Mu=le(),Bu=xs(),ni={animation:null,update:Jt.noop},Uu=t=>{let e=ni.animation;return e||(e={duration:Jt.minValue,computeDeltaTime:Jt.noop,_offset:0,_delay:0,_head:null,_tail:null},ni.animation=e,ni.update=()=>{t.forEach(s=>{for(let i in s){let r=s[i],n=r._head;if(n){let o=n._valueType,l=o===Jt.valueTypes.COMPLEX||o===Jt.valueTypes.COLOR?Mu.cloneArray(n._fromNumbers):null,a=n._fromNumber,c=r._tail;for(;c&&c!==n;){if(l)for(let h=0,d=c._numbers.length;h{“use strict”;var _t=ke(),Ot=Se(),Gt=le(),Hu=xr(),zu=xs(),Wu=oi(),qo=(()=>Ot.isBrowser?requestAnimationFrame:setImmediate)(),Xu=(()=>Ot.isBrowser?cancelAnimationFrame:clearImmediate)(),Cr=class extends Hu.Clock{constructor(e){super(e),this.useDefaultMainLoop=!0,this.pauseOnDocumentHidden=!0,this.defaults=_t.defaults,this.paused=!0,this.reqId=0}update(){let e=this._currentTime=Gt.now();if(this.requestTick(e)){this.computeDeltaTime(e);let s=this._speed,i=this._fps,r=this._head;for(;r;){let n=r._next;r.paused?(Gt.removeChild(this,r),this._hasChildren=!!this._tail,r._running=!1,r.completed&&!r._cancelled&&r.cancel()):zu.tick(r,(e-r._startTime)*r._speed*s,0,0,r._fpse.resetTime()),this.wake()}get speed(){return this._speed*(_t.globals.timeScale===1?1:Ot.K)}set speed(e){let s=e*_t.globals.timeScale;this._speed!==s&&(this._speed=s,Gt.forEachChildren(this,i=>i.speed=i._speed))}get timeUnit(){return _t.globals.timeScale===1?”ms”:”s”}set timeUnit(e){let i=e===”s”,r=i?.001:1;if(_t.globals.timeScale!==r){_t.globals.timeScale=r,_t.globals.tickThreshold=200*r;let n=i?.001:Ot.K;this.defaults.duration*=n,this._speed*=n}}get precision(){return _t.globals.precision}set precision(e){_t.globals.precision=e}},$t=(()=>{let t=new Cr(Gt.now());return Ot.isBrowser&&(_t.globalVersions.engine=t,Ot.doc.addEventListener(“visibilitychange”,()=>{t.pauseOnDocumentHidden&&(Ot.doc.hidden?t.pause():t.resume())})),t})(),No=()=>{$t._head?($t.reqId=qo(No),$t.update()):$t.reqId=0},Yu=()=>(Xu($t.reqId),$t.reqId=0,$t);Lo.engine=$t});var Qt=z(Zt=>{“use strict”;var wt=Se(),De=le(),ju=Wt(),Ku=ai(),ko=oi(),ci={_rep:new WeakMap,_add:new Map},Do=(t,e,s=”_rep”)=>{let i=ci[s],r=i.get(t);return r||(r={},i.set(t,r)),r[e]?r[e]:r[e]={_head:null,_tail:null}},Ju=(t,e)=>t._isOverridden||t._absoluteStartTime>e._absoluteStartTime,li=t=>{t._isOverlapped=1,t._isOverridden=1,t._changeDuration=wt.minValue,t._currentTime=wt.minValue},Gu=(t,e)=>{let s=t._composition;if(s===wt.compositionTypes.replace){let i=t._absoluteStartTime;De.addChild(e,t,Ju,”_prevRep”,”_nextRep”);let r=t._prevRep;if(r){let n=r.parent,o=r._absoluteEndTime;if(t.parent.id!==n.id&&n.iterationCount>1&&o+(n.duration-n.iterationDuration)>i){li(r);let c=r._prevRep;for(;c&&c.parent.id===n.id;)li(c),c=c._prevRep}let l=t._absoluteUpdateStartTime;if(o>l){let c=r._startTime,h=o-(c+r._updateDuration),d=De.round(l-h-c,12);r._changeDuration=d,r._currentTime=d,r._isOverlapped=1,d{h._isOverlapped||(c=!1)}),c){let h=n.parent;if(h){let d=!0;De.forEachChildren(h,p=>{p!==n&&De.forEachChildren(p,g=>{g._isOverlapped||(d=!1)})}),d&&h.cancel()}else n.cancel()}}}}else if(s===wt.compositionTypes.blend){let i=Do(t.target,t.property,”_add”),r=ko.addAdditiveAnimation(ci._add),n=i._head;n||(n={…t},n._composition=wt.compositionTypes.replace,n._updateDuration=wt.minValue,n._startTime=0,n._numbers=De.cloneArray(t._fromNumbers),n._number=0,n._next=null,n._prev=null,De.addChild(i,n),De.addChild(r,n));let o=t._toNumber;if(t._fromNumber=n._fromNumber-o,t._toNumber=0,t._numbers=De.cloneArray(t._fromNumbers),t._number=0,n._fromNumber=o,t._toNumbers.length){let l=De.cloneArray(t._toNumbers);l.forEach((a,c)=>{t._fromNumbers[c]=n._fromNumbers[c]-a,t._toNumbers[c]=0}),n._fromNumbers=l}De.addChild(i,t,null,”_prevAdd”,”_nextAdd”)}return t},$o=t=>{let e=t._composition;if(e!==wt.compositionTypes.none){let s=t.target,i=t.property,o=ci._rep.get(s)[i];if(De.removeChild(o,t,”_prevRep”,”_nextRep”),e===wt.compositionTypes.blend){let l=ci._add,a=l.get(s);if(!a)return;let c=a[i],h=ko.additive.animation;De.removeChild(c,t,”_prevAdd”,”_nextAdd”);let d=c._head;if(d&&d===c._tail){De.removeChild(c,d,”_prevAdd”,”_nextAdd”),De.removeChild(h,d);let p=!0;for(let g in a)if(a[g]._head){p=!1;break}p&&l.delete(s)}}}return t},Io=(t,e,s)=>{let i=!1;return De.forEachChildren(e,r=>{let n=r.target;if(t.includes(n)){let o=r.property,l=r._tweenType,a=ju.sanitizePropertyName(s,n,l);(!a||a&&a===o)&&(r.parent._tail===r&&r._tweenType===wt.tweenTypes.TRANSFORM&&r._prev&&r._prev._tweenType===wt.tweenTypes.TRANSFORM&&(r._prev._renderTransforms=1),De.removeChild(e,r),$o(r),i=!0)}},!0),i},Oo=(t,e,s)=>{let i=e||Ku.engine,r;if(i._hasChildren){let n=0;De.forEachChildren(i,o=>{if(!o._hasChildren)if(r=Io(t,o,s),r&&!o._head)o.cancel(),De.removeChild(i,o);else{let a=o._offset+o._delay+o.duration;a>n&&(n=a)}o._head?Oo(t,o,s):o._hasChildren=!1},!0),De.isUnd(i.iterationDuration)||(i.iterationDuration=n)}else r=Io(t,i,s);r&&!i._head&&(i._hasChildren=!1,i.cancel&&i.cancel())};Zt.composeTween=Gu;Zt.getTweenSiblings=Do;Zt.overrideTween=li;Zt.removeTargetsFromRenderable=Oo;Zt.removeTweenSliblings=$o});var Xt=z(Ar=>{“use strict”;var He=Se(),Ae=le(),es=ke(),Ft=Ke(),Cs=xs(),Er=Qt(),Zu=xr(),Et=ai(),Fo=t=>(t.paused=!0,t.began=!1,t.completed=!1,t),Vr=t=>(t._cancelled&&(t._hasChildren?Ae.forEachChildren(t,Vr):Ae.forEachChildren(t,e=>{e._composition!==He.compositionTypes.none&&Er.composeTween(e,Er.getTweenSiblings(e.target,e.property))}),t._cancelled=0),t),Mo=0,Qu=(t,e)=>t._priority>e._priority,ui=class extends Zu.Clock{constructor(e={},s=null,i=0){super(0),++Mo;let{id:r,delay:n,duration:o,reversed:l,alternate:a,loop:c,loopDelay:h,autoplay:d,frameRate:p,playbackRate:g,priority:v,onComplete:u,onLoop:f,onPause:b,onBegin:T,onBeforeUpdate:x,onUpdate:w}=e;es.scope.current&&es.scope.current.register(this);let E=s?0:Et.engine._lastTickTime,V=s?s.defaults:es.globals.defaults,$=Ae.isFnc(n)||Ae.isUnd(n)?V.delay:+n,G=Ae.isFnc(o)||Ae.isUnd(o)?1/0:+o,K=Ft.setValue(c,V.loop),M=Ft.setValue(h,V.loopDelay),q=K===!0||K===1/0||K<0?1/0:K+1,D=0;s?D=i:(Et.engine.reqId||Et.engine.requestTick(Ae.now()),D=(Et.engine._lastTickTime-Et.engine._startTime)*es.globals.timeScale),this.id=Ae.isUnd(r)?Mo:r,this.parent=s,this.duration=Ae.clampInfinity((G+M)*q-M)||He.minValue,this.backwards=!1,this.paused=!0,this.began=!1,this.completed=!1,this.onBegin=T||V.onBegin,this.onBeforeUpdate=x||V.onBeforeUpdate,this.onUpdate=w||V.onUpdate,this.onLoop=f||V.onLoop,this.onPause=b||V.onPause,this.onComplete=u||V.onComplete,this.iterationDuration=G,this.iterationCount=q,this._autoplay=s?!1:Ft.setValue(d,V.autoplay),this._offset=D,this._delay=$,this._loopDelay=M,this._iterationTime=0,this._currentIteration=0,this._resolve=He.noop,this._running=!1,this._reversed=+Ft.setValue(l,V.reversed),this._reverse=this._reversed,this._cancelled=0,this._alternate=Ft.setValue(a,V.alternate),this._prev=null,this._next=null,this._lastTickTime=E,this._startTime=E,this._lastTime=E,this._fps=Ft.setValue(p,V.frameRate),this._speed=Ft.setValue(g,V.playbackRate),this._priority=+Ft.setValue(v,1)}get cancelled(){return!!this._cancelled}set cancelled(e){e?this.cancel():this.reset(!0).play()}get currentTime(){return Ae.clamp(Ae.round(this._currentTime,es.globals.precision),-this._delay,this.duration)}set currentTime(e){let s=this.paused;this.pause().seek(+e),s||this.resume()}get iterationCurrentTime(){return Ae.clamp(Ae.round(this._iterationTime,es.globals.precision),0,this.iterationDuration)}set iterationCurrentTime(e){this.currentTime=this.iterationDuration*this._currentIteration+e}get progress(){return Ae.clamp(Ae.round(this._currentTime/this.duration,10),0,1)}set progress(e){this.currentTime=this.duration*e}get iterationProgress(){return Ae.clamp(Ae.round(this._iterationTime/this.iterationDuration,10),0,1)}set iterationProgress(e){let s=this.iterationDuration;this.currentTime=s*this._currentIteration+s*e}get currentIteration(){return this._currentIteration}set currentIteration(e){this.currentTime=this.iterationDuration*Ae.clamp(+e,0,this.iterationCount-1)}get reversed(){return!!this._reversed}set reversed(e){e?this.reverse():this.play()}get speed(){return super.speed}set speed(e){super.speed=e,this.resetTime()}reset(e=!1){return Vr(this),this._reversed&&!this._reverse&&(this.reversed=!1),this._iterationTime=this.iterationDuration,Cs.tick(this,0,1,~~e,He.tickModes.FORCE),Fo(this),this._hasChildren&&Ae.forEachChildren(this,Fo),this}init(e=!1){this.fps=this._fps,this.speed=this._speed,!e&&this._hasChildren&&Cs.tick(this,this.duration,1,~~e,He.tickModes.FORCE),this.reset(e);let s=this._autoplay;return s===!0?this.resume():s&&!Ae.isUnd(s.linked)&&s.link(this),this}resetTime(){let e=1/(this._speed*Et.engine._speed);return this._startTime=Ae.now()-(this._currentTime+this._delay)*e,this}pause(){return this.paused?this:(this.paused=!0,this.onPause(this),this)}resume(){return this.paused?(this.paused=!1,this.duratione.cancel(),!0):Ae.forEachChildren(this,Er.removeTweenSliblings),this._cancelled=1,this.pause()}stretch(e){let s=this.duration,i=Ae.normalizeTime(e);if(s===i)return this;let r=e/s,n=e{this.then=null,e(this),this.then=s,this._resolve=He.noop};return new Promise(r=>(this._resolve=()=>r(i()),this.completed&&this._resolve(),this))}},eh=t=>new ui(t,null,0).init();Ar.Timer=ui;Ar.createTimer=eh});var Je=z(hi=>{“use strict”;var th=ke(),ts=Se(),Yt=le();function Rr(t){let e=Yt.isStr(t)?th.scope.root.querySelectorAll(t):t;if(e instanceof NodeList||e instanceof HTMLCollection)return e}function Bo(t){if(Yt.isNil(t))return[];if(!ts.isBrowser)return Yt.isArr(t)&&t.flat(1/0)||[t];if(Yt.isArr(t)){let s=t.flat(1/0),i=[];for(let r=0,n=s.length;r<n;r++){let o=s[r];if(!Yt.isNil(o)){let l=Rr(o);if(l)for(let a=0,c=l.length;a<c;a++){let h=l[a];if(!Yt.isNil(h)){let d=!1;for(let p=0,g=i.length;p<g;p++)if(i[p]===h){d=!0;break}d||i.push(h)}}else{let a=!1;for(let c=0,h=i.length;c<h;c++)if(i[c]===o){a=!0;break}a||i.push(o)}}}return i}let e=Rr(t);return e?Array.from(e):[t]}function sh(t){let e=Bo(t),s=e.length;for(let i=0;i{“use strict”;var di=Se(),Ho=le(),Pr={deg:1,rad:180/Ho.PI,turn:360},Uo={},ih=(t,e,s,i=!1)=>{let r=e.u,n=e.n;if(e.t===di.valueTypes.UNIT&&r===s)return e;let o=n+r+s,l=Uo[o];if(!Ho.isUnd(l)&&!i)e.n=l;else{let a;if(r in Pr)a=n*Pr[r]/Pr[s];else{let h=t.cloneNode(),d=t.parentNode,p=d&&d!==di.doc?d:di.doc.body;p.appendChild(h);let g=h.style;g.width=100+r;let v=h.offsetWidth||100;g.width=100+s;let u=h.offsetWidth||100,f=v/u;p.removeChild(h),a=f*n}e.n=a,Uo[o]=a}return e.t,di.valueTypes.UNIT,e.u=s,e};zo.convertValueUnit=ih});var ss=z(Wo=>{“use strict”;var rh=t=>t;Wo.none=rh});var ht=z(rs=>{“use strict”;var qr=Se(),Fe=le(),Mt=ss(),is=(t=1.68)=>e=>Fe.pow(e,+t),gi={in:t=>e=>t(e),out:t=>e=>1-t(1-e),inOut:t=>e=>ee=>e1-Fe.cos(t*nh),Circ:t=>1-Fe.sqrt(1-t*t),Expo:t=>t?Fe.pow(2,10*t-10):0,Bounce:t=>{let e,s=4;for(;te=>(+t+1)*e*e*e-+t*e*e,Elastic:(t=1,e=.3)=>{let s=Fe.clamp(+t,1,10),i=Fe.clamp(+e,qr.minValue,2),r=i/Xo*Fe.asin(1/s),n=Xo/i;return o=>o===0||o===1?o:-s*Fe.pow(2,-10*(1-o))*Fe.sin((1-o-r)*n)}},mi=(()=>{let t={linear:Mt.none,none:Mt.none};for(let e in gi)for(let s in Yo){let i=Yo[s],r=gi[e];t[e+s]=s===qr.emptyString||s===”Back”||s===”Elastic”?(n,o)=>r(i(n,o)):r(i)}return t})(),fi={linear:Mt.none,none:Mt.none},Ko=t=>{if(fi[t])return fi[t];if(t.indexOf(“(“){if(Fe.isStr(t)){for(let s=0,i=jo.length;s{“use strict”;var ne=Se(),U=le(),Si=ke(),ah=Je(),lh=yr(),W=Ke(),Jo=Wt(),Go=pi(),Zo=ht(),ch=Xt(),Nr=Qt(),uh=oi(),Z=W.createDecomposedValueTargetObject(),ae=W.createDecomposedValueTargetObject(),ns={},vi={func:null},yi={func:null},bi=[null],os=[null,null],Ti={to:null},hh=0,Qo=0,Bt,Ct,dh=(t,e)=>{let s={};if(U.isArr(t)){let i=[].concat(…t.map(r=>Object.keys(r))).filter(U.isKey);for(let r=0,n=i.length;r{let c={};for(let h in a){let d=a[h];U.isKey(h)?h===o&&(c.to=d):c[h]=d}return c});s[o]=l}}else{let i=W.setValue(e.duration,Si.globals.defaults.duration);Object.keys(t).map(n=>({o:parseFloat(n)/100,p:t[n]})).sort((n,o)=>n.o-o.o).forEach(n=>{let o=n.o,l=n.p;for(let a in l)if(U.isKey(a)){let c=s[a];c||(c=s[a]=[]);let h=o*i,d=c.length,p=c[d-1],g={to:l[a]},v=0;for(let u=0;u<d;u++)v+=c[u].duration;d===1&&(g.from=p.to),l.ease&&(g.ease=l.ease),g.duration=h-(d?v:0),c.push(g)}return n});for(let n in s){let o=s[n],l;for(let a=0,c=o.length;a=ne.K?ne.compositionTypes.none:U.isUnd(T)?w.composition:T,R=this._offset+(i?i._offset:0);G&&(E.parent=this);let I=NaN,oe=NaN,m=0,C=0;for(let y=0;y2&&be?(Bt=[],te.forEach((_e,Re)=>{Re?Re===1?(os[1]=_e,Bt.push(os)):Bt.push(_e):os[0]=_e})):Bt=te}else bi[0]=te,Bt=bi;let Le=null,F=null,re=NaN,xe=0,qe=0;for(let de=Bt.length;qe1?W.getFunctionValue(M,_,L,k,null,ce)/de:M),_,L,k,null,ce),Xe=W.getFunctionValue(W.setValue(Ct.delay,qe?0:q),_,L,k,null,ce),Nt=Ct.modifier||D,Lt=!U.isUnd(we),gs=!U.isUnd(J),vs=U.isArr(J),Cl=vs||Lt&&gs,El=F?xe:0,nr=F?xe+Xe:Xe,or=U.round(R+nr,12),Vl=U.round(R+El,12);!C&&(Lt||vs)&&(C=1);let lt=F;if(Re!==ne.compositionTypes.none){let Te=Le._head;for(;Te&&Te._absoluteStartTime=or)for(;Te;)Nr.overrideTween(Te),Te=Te._nextRep}if(Cl){W.decomposeRawValue(vs?W.getFunctionValue(J[0],_,L,k,yi,ce):we,Z),W.decomposeRawValue(vs?W.getFunctionValue(J[1],_,L,k,vi,ce):J,ae);let Te=W.getOriginalAnimatableValue(_,he,O,ns);Z.t===ne.valueTypes.NUMBER&&(lt?lt._valueType===ne.valueTypes.UNIT&&(Z.t=ne.valueTypes.UNIT,Z.u=lt._unit):(W.decomposeRawValue(Te,W.decomposedOriginalValue),W.decomposedOriginalValue.t===ne.valueTypes.UNIT&&(Z.t=ne.valueTypes.UNIT,Z.u=W.decomposedOriginalValue.u)))}else gs?W.decomposeRawValue(J,ae):F?W.decomposeTweenValue(F,ae):W.decomposeRawValue(i&&lt&&lt.parent.parent===i?lt._value:W.getOriginalAnimatableValue(_,he,O,ns),ae),Lt?W.decomposeRawValue(we,Z):F?W.decomposeTweenValue(F,Z):W.decomposeRawValue(i&&lt&&lt.parent.parent===i?lt._value:W.getOriginalAnimatableValue(_,he,O,ns),Z);if(Z.o&&(Z.n=W.getRelativeValue(lt?lt._toNumber:W.decomposeRawValue(W.getOriginalAnimatableValue(_,he,O,ns),W.decomposedOriginalValue).n,Z.n,Z.o)),ae.o&&(ae.n=W.getRelativeValue(Z.n,ae.n,ae.o)),Z.t!==ae.t){if(Z.t===ne.valueTypes.COMPLEX||ae.t===ne.valueTypes.COMPLEX){let Te=Z.t===ne.valueTypes.COMPLEX?Z:ae,Ye=Z.t===ne.valueTypes.COMPLEX?ae:Z;Ye.t=ne.valueTypes.COMPLEX,Ye.s=U.cloneArray(Te.s),Ye.d=Te.d.map(()=>Ye.n)}else if(Z.t===ne.valueTypes.UNIT||ae.t===ne.valueTypes.UNIT){let Te=Z.t===ne.valueTypes.UNIT?Z:ae,Ye=Z.t===ne.valueTypes.UNIT?ae:Z;Ye.t=ne.valueTypes.UNIT,Ye.u=Te.u}else if(Z.t===ne.valueTypes.COLOR||ae.t===ne.valueTypes.COLOR){let Te=Z.t===ne.valueTypes.COLOR?Z:ae,Ye=Z.t===ne.valueTypes.COLOR?ae:Z;Ye.t=ne.valueTypes.COLOR,Ye.d=Te.d.map(()=>0)}}if(Z.u!==ae.u){let Te=ae.u?Z:ae;Te=Go.convertValueUnit(_,Te,ae.u?ae.u:Z.u,!1)}if(ae.d&&Z.d&&ae.d.length!==Z.d.length){let Te=Z.d.length>ae.d.length?Z:ae,Ye=Te===Z?ae:Z;Ye.d=Te.d.map((cf,jn)=>U.isUnd(Ye.d[jn])?0:Ye.d[jn]),Ye.s=U.cloneArray(Te.s)}let ar=U.round(+Pe||ne.minValue,12),Wn=ns[he];U.isNil(Wn)||(ns[he]=null);let Al=Q?Q.set:null;xe=U.round(nr+ar,12);let zs=Z.d,Xn=ae.d,Yn=ae.s,rt={parent:this,id:hh++,property:he,target:_,_value:null,_toFunc:vi.func,_fromFunc:yi.func,_ease:Zo.parseEase(ge),_fromNumbers:zs?U.cloneArray(zs):ne.emptyArray,_toNumbers:Xn?U.cloneArray(Xn):ne.emptyArray,_strings:Yn?U.cloneArray(Yn):ne.emptyArray,_fromNumber:Z.n,_toNumber:ae.n,_numbers:zs?U.cloneArray(zs):ne.emptyArray,_number:Z.n,_unit:ae.u,_modifier:Nt,_currentTime:0,_startTime:nr,_delay:+Xe,_updateDuration:ar,_changeDuration:ar,_absoluteStartTime:or,_absoluteUpdateStartTime:Vl,_absoluteEndTime:U.round(R+xe,12),_hasFromValue:Lt||vs?1:0,_tweenType:O,_setter:Al,_valueType:ae.t,_composition:Re,_isOverlapped:0,_isOverridden:0,_renderTransforms:0,_inlineValue:Wn,_prevRep:null,_nextRep:null,_prevAdd:null,_nextAdd:null,_prev:null,_next:null};Re!==ne.compositionTypes.none&&Nr.composeTween(rt,Le);let lr=rt._valueType;if(lr===ne.valueTypes.COMPLEX)rt._value=W.composeComplexValue(rt,1,-1);else if(lr===ne.valueTypes.UNIT)rt._value=`${Nt(rt._toNumber)}${rt._unit}`;else if(lr===ne.valueTypes.COLOR){let Te=ae.d;rt._value=`rgba(${U.round(Te[0],0)},${U.round(Te[1],0)},${U.round(Te[2],0)},${Te[3]})`}else rt._value=Nt(rt._toNumber);isNaN(re)&&(re=rt._startTime),F=rt,m++,U.addChild(this,rt)}(isNaN(oe)||reI)&&(I=xe),O===ne.tweenTypes.TRANSFORM&&(P=m-qe,B=m)}if(!isNaN(P)){let ue=0;U.forEachChildren(this,O=>{ue>=P&&ue{Q.id===O.id&&(Q._renderTransforms=1)})),ue++})}}c||console.warn(“No target found. Make sure the element you’re trying to animate is accessible before creating your animation.”),oe?(U.forEachChildren(this,y=>{y._startTime-y._delay||(y._delay-=oe),y._startTime-=oe}),I-=oe):oe=0,I||(I=ne.minValue,this.iterationCount=0),this.targets=a,this.id=U.isUnd(p)?Qo:p,this.duration=I===ne.minValue?ne.minValue:U.clampInfinity((I+this._loopDelay)*this.iterationCount-this._loopDelay)||ne.minValue,this.onRender=x||w.onRender,this._ease=$,this._delay=oe,this.iterationDuration=I,!this._autoplay&&C&&this.onRender(this)}stretch(e){let s=this.duration;if(s===U.normalizeTime(e))return this;let i=e/s;return U.forEachChildren(this,r=>{r._updateDuration=U.normalizeTime(r._updateDuration*i),r._changeDuration=U.normalizeTime(r._changeDuration*i),r._currentTime*=i,r._delay*=i,r._startTime*=i,r._absoluteStartTime*=i,r._absoluteUpdateStartTime*=i,r._absoluteEndTime*=i}),super.stretch(e)}refresh(){return U.forEachChildren(this,e=>{let s=e._toFunc,i=e._fromFunc;(s||i)&&(i?(W.decomposeRawValue(i(),Z),Z.u!==e._unit&&e.target[ne.isDomSymbol]&&Go.convertValueUnit(e.target,Z,e._unit,!0),e._fromNumbers=U.cloneArray(Z.d),e._fromNumber=Z.n):s&&(W.decomposeRawValue(W.getOriginalAnimatableValue(e.target,e.property,e._tweenType),W.decomposedOriginalValue),e._fromNumbers=U.cloneArray(W.decomposedOriginalValue.d),e._fromNumber=W.decomposedOriginalValue.n),s&&(W.decomposeRawValue(s(),ae),e._toNumbers=U.cloneArray(ae.d),e._strings=U.cloneArray(ae.s),e._toNumber=ae.o?W.getRelativeValue(e._fromNumber,ae.n,ae.o):ae.n))}),this.duration===ne.minValue&&this.restart(),this}revert(){return super.revert(),Jo.revertValues(this)}then(e){return super.then(e)}},ph=(t,e)=>Si.globals.editor?Si.globals.editor.addAnimation(t,e):new wi(t,e,null,0,!1).init();Lr.JSAnimation=wi;Lr.animate=ph});var Ir=z(ta=>{“use strict”;var ea=Se(),ls=le(),fh=Ke(),mh=(t,e)=>{if(ls.stringStartsWith(e,”<")){let s=e[1]==="{let s=t.iterationDuration;if(s===ea.minValue&&(s=0),ls.isUnd(e))return s;if(ls.isNum(+e))return+e;let i=e,r=t?t.labels:null,n=!ls.isNil(r),o=mh(t,i),l=!ls.isUnd(o),a=ea.relativeValuesExecRgx.exec(i);if(a){let c=a[0],h=i.split(c),d=n&&h[0]?r[h[0]]:s,p=l?o:n?d:s,g=+h[1];return fh.getRelativeValue(p,g,c[0])}else return l?o:n?ls.isUnd(r[i])?s:r[i]:s};ta.parseTimelinePosition=gh});var $r=z(Dr=>{“use strict”;var tt=ke(),cs=Se(),Ie=le(),sa=Ke(),ia=Je(),vh=xs(),yh=Wt(),na=Xt(),bh=Qt(),Th=as(),Sh=ht(),xi=Ir();function wh(t){return Ie.clampInfinity((t.iterationDuration+t._loopDelay)*t.iterationCount-t._loopDelay)||cs.minValue}function kr(t,e,s,i,r,n){let l=Ie.isNum(t.duration)&&t.duration{let d=c._offset+c._delay+c.duration;d>e.iterationDuration&&(e.iterationDuration=d)}),e.duration=wh(e),e}var ra=0,_i=class extends na.Timer{constructor(e={}){super(e,null,0),++ra,this.id=Ie.isUnd(e.id)?ra:e.id,this.duration=0,this.labels={};let s=e.defaults,i=tt.globals.defaults;this.defaults=s?Ie.mergeObjects(s,i):i,this.composition=sa.setValue(e.composition,!0),this.onRender=e.onRender||i.onRender;let r=sa.setValue(e.playbackEase,i.playbackEase);this._ease=r?Sh.parseEase(r):null,this.iterationDuration=0}add(e,s,i){let r=Ie.isObj(s),n=Ie.isObj(e);if(r||n){if(this._hasChildren=!0,r){let o=s,l=tt.globals.editor&&tt.globals.editor.addTimelineChild,a=i&&i.type===”Stagger”&&tt.globals.editor,c=Ie.isFnc(i)?i:null;if(c||a){let h=ia.parseTargets(e),d=this.duration,p=this.iterationDuration,g=o.id,v=0,u=h.length,f=l?l(e,o,this.id,i,u):null,b=c||tt.globals.editor.resolveStagger(i.defaultValue);h.forEach(T=>{let x={…f||o};this.duration=d,this.iterationDuration=p,Ie.isUnd(g)||(x.id=g+”-“+v);let w=xi.parseTimelinePosition(this,b(T,v,h,null,this));kr(x,this,w,T,v,h),v++})}else{let h=l?l(e,o,this.id,i):o,d=i&&i.type?i.defaultValue:i;kr(h,this,xi.parseTimelinePosition(this,d),e)}}else kr(e,this,xi.parseTimelinePosition(this,s));return this.composition&&this.init(!0),this}}sync(e,s){if(Ie.isUnd(e)||e&&Ie.isUnd(e.pause))return this;e.pause();let i=+(e.effect?e.effect.getTiming().duration:e.duration);!Ie.isUnd(e)&&!Ie.isUnd(e.persist)&&(e.persist=!0);let r=tt.globals.editor,n=r&&r.addTimelineChild;r&&r.addTimelineSync&&(s=r.addTimelineSync(e,s,this.id),r.addTimelineChild=null);let o=this.add(e,{currentTime:[0,i],duration:i,delay:0,ease:”linear”,playbackEase:”linear”},s);return r&&(r.addTimelineChild=n),o}set(e,s,i){return Ie.isUnd(s)?this:(s.duration=cs.minValue,s.composition=cs.compositionTypes.replace,this.add(e,s,i))}call(e,s){return Ie.isUnd(e)||e&&!Ie.isFnc(e)?this:(tt.globals.editor&&tt.globals.editor.addTimelineCall&&(s=tt.globals.editor.addTimelineCall(e,s,this.id)),this.add({duration:0,delay:0,onComplete:()=>e(this)},s))}label(e,s){return Ie.isUnd(e)||e&&!Ie.isStr(e)?this:(tt.globals.editor&&tt.globals.editor.addTimelineLabel&&(s=tt.globals.editor.addTimelineLabel(e,s,this.id)),this.labels[e]=xi.parseTimelinePosition(this,s),this)}remove(e,s){return bh.removeTargetsFromRenderable(ia.parseTargets(e),this,s),this}stretch(e){let s=this.duration;if(s===Ie.normalizeTime(e))return this;let i=e/s,r=this.labels;Ie.forEachChildren(this,n=>n.stretch(n.duration*i));for(let n in r)r[n]*=i;return super.stretch(e)}refresh(){return Ie.forEachChildren(this,e=>{e.refresh&&e.refresh()}),this}revert(){return super.revert(),Ie.forEachChildren(this,e=>e.revert,!0),yh.revertValues(this)}then(e){return super.then(e)}},xh=t=>tt.globals.editor?tt.globals.editor.addTimeline(t):new _i(t).init();Dr.Timeline=_i;Dr.createTimeline=xh});var Fr=z(Or=>{“use strict”;var oa=Se(),aa=ke(),st=le(),la=as(),_h=ht(),Ci=class{constructor(e,s){aa.scope.current&&aa.scope.current.register(this);let i=()=>{this.callbacks.completed&&this.callbacks.reset(),this.callbacks.play()},r=()=>{if(this.callbacks.completed)return;let a=!0;for(let c in this.animations)if(!this.animations[c].paused&&a){a=!1;break}a&&this.callbacks.complete()},n={onBegin:i,onComplete:r,onPause:r},o={v:1,autoplay:!1},l={};if(this.targets=[],this.animations={},this.callbacks=null,!(st.isUnd(e)||st.isUnd(s))){for(let a in s){let c=s[a];st.isKey(a)?l[a]=c:st.stringStartsWith(a,”on”)?o[a]=c:n[a]=c}this.callbacks=new la.JSAnimation({v:0},o);for(let a in l){let c=l[a],h=st.isObj(c),d={},p=”+=0″;if(h){let u=c.unit;st.isStr(u)&&(p+=u)}else d.duration=c;d[a]=h?st.mergeObjects({to:p},c):p;let g=st.mergeObjects(n,d);g.composition=oa.compositionTypes.replace,g.autoplay=!1;let v=this.animations[a]=new la.JSAnimation(e,g,null,0,!1).init();this.targets.length||this.targets.push(…v.targets),this[a]=(u,f,b)=>{let T=v._head;if(st.isUnd(u)&&T){let x=T._numbers;return x&&x.length?x:T._modifier(T._number)}else return st.forEachChildren(v,x=>{if(st.isArr(u))for(let w=0,E=u.length;wnew Ci(t,e);Or.Animatable=Ci;Or.createAnimatable=Ch});var Mr=z(nt=>{“use strict”;var Es=le(),Eh=(t,e)=>(+t).toFixed(e),Vh=(t,e,s)=>`${t}`.padStart(e,s),Ah=(t,e,s)=>`${t}`.padEnd(e,s),Rh=(t,e,s)=>((t-e)%(s-e)+(s-e))%(s-e)+e,Ph=(t,e,s,i,r)=>i+(t-e)/(s-e)*(r-i),qh=t=>t*Math.PI/180,Nh=t=>t*180/Math.PI,Lh=(t,e,s,i)=>i?i===1?e:Es.lerp(t,e,1-Math.exp(-i*s*.1)):t;nt.clamp=Es.clamp;nt.lerp=Es.lerp;nt.round=Es.round;nt.snap=Es.snap;nt.damp=Lh;nt.degToRad=qh;nt.mapRange=Ph;nt.padEnd=Ah;nt.padStart=Vh;nt.radToDeg=Nh;nt.roundPad=Eh;nt.wrap=Rh});var Vi=z(Ei=>{“use strict”;var Ge=Se(),Vt=ke(),se=le(),dt=Ke(),it=Ge.K*10,Vs=class{constructor(e={}){let s=!se.isUnd(e.bounce)||!se.isUnd(e.duration);this.timeStep=.02,this.restThreshold=5e-4,this.restDuration=200,this.maxDuration=6e4,this.maxRestSteps=this.restDuration/this.timeStep/Ge.K,this.maxIterations=this.maxDuration/this.timeStep/Ge.K,this.bn=se.clamp(dt.setValue(e.bounce,.5),-1,1),this.pd=se.clamp(dt.setValue(e.duration,628),10*Vt.globals.timeScale,it*Vt.globals.timeScale),this.m=se.clamp(dt.setValue(e.mass,1),1,it),this.s=se.clamp(dt.setValue(e.stiffness,100),Ge.minValue,it),this.d=se.clamp(dt.setValue(e.damping,10),Ge.minValue,it),this.v=se.clamp(dt.setValue(e.velocity,0),-it,it),this.w0=0,this.zeta=0,this.wd=0,this.b=0,this.completed=!1,this.solverDuration=0,this.settlingDuration=0,this.parent=null,this.onComplete=e.onComplete||Ge.noop,s&&this.calculateSDFromBD(),this.compute(),this.ease=i=>{let r=i*this.settlingDuration,n=this.completed,o=this.pd;return r>=o&&!n&&(this.completed=!0,this.onComplete(this.parent)),r<o&&n&&(this.completed=!1),i===0||i===1?i:this.solve(i*this.solverDuration)}}solve(e){let{zeta:s,w0:i,wd:r,b:n}=this,o=e;return s=0?this.d=(1-this.bn)*4*se.PI/e:this.d=4*se.PI/(e*(1+this.bn)),this.s=se.round(se.clamp(this.s,Ge.minValue,it),3),this.d=se.round(se.clamp(this.d,Ge.minValue,300),3)}calculateBDFromSD(){let e=2*se.PI/se.sqrt(this.s);this.pd=e*(Vt.globals.timeScale===1?Ge.K:1),this.d/(2*se.sqrt(this.s))<=1?this.bn=1-this.d*e/(4*se.PI):this.bn=4*se.PI/(this.d*e)-1,this.bn=se.round(se.clamp(this.bn,-1,1),3),this.pd=se.round(se.clamp(this.pd,10*Vt.globals.timeScale,it*Vt.globals.timeScale),3)}compute(){let{maxRestSteps:e,maxIterations:s,restThreshold:i,timeStep:r,m:n,d:o,s:l,v:a}=this,c=this.w0=se.clamp(se.sqrt(l/n),Ge.minValue,Ge.K),h=this.zeta=o/(2*se.sqrt(l*n));h<1?(this.wd=c*se.sqrt(1-h*h),this.b=(h*c+-a)/this.wd):h===1?(this.wd=0,this.b=-a+c):(this.wd=c*se.sqrt(h*h-1),this.b=(h*c+-a)/this.wd);let d=0,p=0,g=0;for(;p<=e&&g<=s;)se.abs(1-this.solve(d))new Vs(t),kh=t=>(console.warn(“createSpring() is deprecated use spring() instead”),new Vs(t));Ei.Spring=Vs;Ei.createSpring=kh;Ei.spring=Ih});var zr=z(Hr=>{“use strict”;var ca=le(),Br={_head:null,_tail:null},Ur=(t,e,s)=>{let i=Br._head,r;for(;i;){let n=i._next,o=i.$el===t,l=!e||i.property===e,a=!s||i.parent===s;if(o&&l&&a){r=i.animation;try{r.commitStyles()}catch{}r.cancel(),ca.removeChild(Br,i);let c=i.parent;c&&(c._completed++,c.animations.length===c._completed&&(c.completed=!0,c.paused=!0,c.muteCallbacks||(c.onComplete(c),c._resolve(c))))}i=n}return r},Dh=(t,e,s,i,r)=>{let n=e.animate(i,r),o=r.delay+ +r.duration*r.iterations;n.playbackRate=t._speed,t.paused&&n.pause(),t.durationUr(e,s,t);return n.oncancel=l,n.onremove=l,t.persist||(n.onfinish=l),n};Hr.addWAAPIAnimation=Dh;Hr.removeWAAPIAnimation=Ur});var As=z(us=>{“use strict”;var Ai=ke(),Ri=Se(),Wr=le(),Xr=Je(),ua=Wt(),At=Ke(),$h=pi(),Oh=zr(),Fh=Qt(),Mh=as();function Bh(t,e,s){let i=Xr.registerTargets(t);if(!i.length)return;let[r]=i,n=At.getTweenType(r,e),o=ua.sanitizePropertyName(e,r,n),l=At.getOriginalAnimatableValue(r,o);if(Wr.isUnd(s))return l;if(At.decomposeRawValue(l,At.decomposedOriginalValue),At.decomposedOriginalValue.t===Ri.valueTypes.NUMBER||At.decomposedOriginalValue.t===Ri.valueTypes.UNIT){if(s===!1)return At.decomposedOriginalValue.n;{let a=$h.convertValueUnit(r,At.decomposedOriginalValue,s,!1);return`${Wr.round(a.n,Ai.globals.precision)}${a.u}`}}}var Uh=(t,e)=>{if(!Wr.isUnd(e))return Ai.globals.editor&&Ai.globals.editor.addSet?Ai.globals.editor.addSet(t,e):(e.duration=Ri.minValue,e.composition=At.setValue(e.composition,Ri.compositionTypes.none),new Mh.JSAnimation(t,e,null,0,!0).resume())},Hh=(t,e,s)=>{let i=Xr.parseTargets(t);for(let r=0,n=i.length;r{“use strict”;var Rt=ke(),X=Se(),Pi=Je(),S=le(),Ze=Ke(),qi=Mr(),Yr=Xt(),jr=as(),hs=Qt(),zh=Fr(),Rs=ht(),ha=Vi(),Pt=As(),Ut=t=>{t.cancelable&&t.preventDefault()},Kr=class{constructor(e){this.el=e,this.zIndex=0,this.parentElement=null,this.classList={add:X.noop,remove:X.noop}}get x(){return this.el.x||0}set x(e){this.el.x=e}get y(){return this.el.y||0}set y(e){this.el.y=e}get width(){return this.el.width||0}set width(e){this.el.width=e}get height(){return this.el.height||0}set height(e){this.el.height=e}getBoundingClientRect(){return{top:this.y,right:this.x,bottom:this.y+this.height,left:this.x+this.width}}},Jr=class{constructor(e){this.$el=e,this.inlineTransforms=[],this.point=new DOMPoint,this.inversedMatrix=this.getMatrix().inverse()}normalizePoint(e,s){return this.point.x=e,this.point.y=s,this.point.matrixTransform(this.inversedMatrix)}traverseUp(e){let s=this.$el.parentElement,i=0;for(;s&&s!==X.doc;)e(s,i),s=s.parentElement,i++}getMatrix(){let e=new DOMMatrix;return this.traverseUp(s=>{let i=getComputedStyle(s).transform;if(i){let r=new DOMMatrix(i);e.preMultiplySelf(r)}}),e}remove(){this.traverseUp((e,s)=>{this.inlineTransforms[s]=e.style.transform,e.style.transform=”none”})}revert(){this.traverseUp((e,s)=>{let i=this.inlineTransforms[s];i===””?e.style.removeProperty(“transform”):e.style.transform=i})}},Qe=(t,e)=>t&&S.isFnc(t)?t(e):t,Ni=0,Li=class{constructor(e,s={}){if(!e)return;Rt.scope.current&&Rt.scope.current.register(this);let i=s.x,r=s.y,n=s.trigger,o=s.modifier,l=s.releaseEase,a=l&&Rs.parseEase(l),c=!S.isUnd(l)&&!S.isUnd(l.ease),h=S.isObj(i)&&!S.isUnd(i.mapTo)?i.mapTo:”translateX”,d=S.isObj(r)&&!S.isUnd(r.mapTo)?r.mapTo:”translateY”,p=Qe(s.container,this);this.containerArray=S.isArr(p)?p:null,this.$container=p&&!this.containerArray?Pi.parseTargets(p)[0]:X.doc.body,this.useWin=this.$container===X.doc.body,this.$scrollContainer=this.useWin?X.win:this.$container,this.$target=S.isObj(e)?new Kr(e):Pi.parseTargets(e)[0],this.$trigger=Pi.parseTargets(n||e)[0],this.fixed=Pt.get(this.$target,”position”)===”fixed”,this.isFinePointer=!0,this.containerPadding=[0,0,0,0],this.containerFriction=0,this.releaseContainerFriction=0,this.snapX=0,this.snapY=0,this.scrollSpeed=0,this.scrollThreshold=0,this.dragSpeed=0,this.dragThreshold=3,this.maxVelocity=0,this.minVelocity=0,this.velocityMultiplier=0,this.cursor=!1,this.releaseXSpring=c?l:ha.spring({mass:Ze.setValue(s.releaseMass,1),stiffness:Ze.setValue(s.releaseStiffness,80),damping:Ze.setValue(s.releaseDamping,20)}),this.releaseYSpring=c?l:ha.spring({mass:Ze.setValue(s.releaseMass,1),stiffness:Ze.setValue(s.releaseStiffness,80),damping:Ze.setValue(s.releaseDamping,20)}),this.releaseEase=a||Rs.eases.outQuint,this.hasReleaseSpring=c,this.onGrab=s.onGrab||X.noop,this.onDrag=s.onDrag||X.noop,this.onRelease=s.onRelease||X.noop,this.onUpdate=s.onUpdate||X.noop,this.onSettle=s.onSettle||X.noop,this.onSnap=s.onSnap||X.noop,this.onResize=s.onResize||X.noop,this.onAfterResize=s.onAfterResize||X.noop,this.disabled=[0,0];let g={};if(o&&(g.modifier=o),S.isUnd(i)||i===!0)g[h]=0;else if(S.isObj(i)){let v=i,u={};v.modifier&&(u.modifier=v.modifier),v.composition&&(u.composition=v.composition),g[h]=u}else i===!1&&(g[h]=0,this.disabled[0]=1);if(S.isUnd(r)||r===!0)g[d]=0;else if(S.isObj(r)){let v=r,u={};v.modifier&&(u.modifier=v.modifier),v.composition&&(u.composition=v.composition),g[d]=u}else r===!1&&(g[d]=0,this.disabled[1]=1);this.animate=new zh.Animatable(this.$target,g),this.xProp=h,this.yProp=d,this.destX=0,this.destY=0,this.deltaX=0,this.deltaY=0,this.scroll={x:0,y:0},this.coords=[this.x,this.y,0,0],this.snapped=[0,0],this.pointer=[0,0,0,0,0,0,0,0],this.scrollView=[0,0],this.dragArea=[0,0,0,0],this.containerBounds=[-X.maxValue,X.maxValue,X.maxValue,-X.maxValue],this.scrollBounds=[0,0,0,0],this.targetBounds=[0,0,0,0],this.window=[0,0],this.velocityStack=[0,0,0],this.velocityStackIndex=0,this.velocityTime=S.now(),this.velocity=0,this.angle=0,this.cursorStyles=null,this.triggerStyles=null,this.bodyStyles=null,this.targetStyles=null,this.touchActionStyles=null,this.transforms=new Jr(this.$target),this.overshootCoords={x:0,y:0},this.overshootTicker=new Yr.Timer({autoplay:!1,onUpdate:()=>{this.updated=!0,this.manual=!0,this.disabled[0]||this.animate[this.xProp](this.overshootCoords.x,1),this.disabled[1]||this.animate[this.yProp](this.overshootCoords.y,1)},onComplete:()=>{this.manual=!1,this.disabled[0]||this.animate[this.xProp](this.overshootCoords.x,0),this.disabled[1]||this.animate[this.yProp](this.overshootCoords.y,0)}},null,0).init(),this.updateTicker=new Yr.Timer({autoplay:!1,onUpdate:()=>this.update()},null,0).init(),this.contained=!S.isUnd(p),this.manual=!1,this.grabbed=!1,this.dragged=!1,this.updated=!1,this.released=!1,this.canScroll=!1,this.enabled=!1,this.initialized=!1,this.activeProp=this.disabled[1]?h:d,this.animate.callbacks.onRender=()=>{let v=this.updated,f=!(this.grabbed&&v)&&this.released,b=this.x,T=this.y,x=b-this.coords[2],w=T-this.coords[3];this.deltaX=x,this.deltaY=w,this.coords[2]=b,this.coords[3]=T,v&&(x||w)&&this.onUpdate(this),f?(this.computeVelocity(x,w),this.angle=S.atan2(w,x)):this.updated=!1},this.animate.callbacks.onComplete=()=>{!this.grabbed&&this.released&&(this.released=!1),this.manual||(this.deltaX=0,this.deltaY=0,this.velocity=0,this.velocityStack[0]=0,this.velocityStack[1]=0,this.velocityStack[2]=0,this.velocityStackIndex=0,this.onSettle(this))},this.resizeTicker=new Yr.Timer({autoplay:!1,duration:150*Rt.globals.timeScale,onComplete:()=>{this.onResize(this),this.refresh(),this.onAfterResize(this)}}).init(),this.parameters=s,this.resizeObserver=new ResizeObserver(()=>{this.initialized?this.resizeTicker.restart():this.initialized=!0}),this.enable(),this.refresh(),this.resizeObserver.observe(this.$container),S.isObj(e)||this.resizeObserver.observe(this.$target)}computeVelocity(e,s){let i=this.velocityTime,r=S.now(),n=r-i;if(nthis.dragArea[2]+f-v||h>this.dragArea[3]+g-u)&&(!this.containerArray||this.containerArray&&!S.isArr(this.containerArray)),this.contained){let M=this.scroll.x,q=this.scroll.y,D=this.canScroll,Y=this.$target.getBoundingClientRect(),R=D?a?0:e.scrollLeft:0,I=D?a?0:e.scrollTop:0,oe=D?this.scrollView[0]-R-b:0,m=D?this.scrollView[1]-I-T:0;this.targetBounds[0]=S.round(Y.top+q-(a?0:w),0),this.targetBounds[1]=S.round(Y.right+M-(a?o:E),0),this.targetBounds[2]=S.round(Y.bottom+q-(a?l:V),0),this.targetBounds[3]=S.round(Y.left+M-(a?0:x),0),this.containerArray?(this.containerBounds[0]=this.containerArray[0]+g,this.containerBounds[1]=this.containerArray[1]-v,this.containerBounds[2]=this.containerArray[2]-u,this.containerBounds[3]=this.containerArray[3]+f):(this.containerBounds[0]=-S.round(Y.top-(d?S.clamp(w,0,l):w)+I-g,0),this.containerBounds[1]=-S.round(Y.right-(d?S.clamp(E,0,o):E)-oe+v,0),this.containerBounds[2]=-S.round(Y.bottom-(d?S.clamp(V,0,l):V)-m+u,0),this.containerBounds[3]=-S.round(Y.left-(d?S.clamp(x,0,o):x)+R-f,0))}this.transforms.revert(),this.coords[2]=r,this.coords[3]=n,this.setX(s,!0),this.setY(i,!0)}isOutOfBounds(e,s,i){if(!this.contained)return 0;let[r,n,o,l]=e,[a,c]=this.disabled,h=!a&&sn,d=!c&&io;return h&&!d?1:!h&&d?2:h&&d?3:0}refresh(){let e=this.parameters,s=e.x,i=e.y,r=Qe(e.container,this),n=Qe(e.containerPadding,this)||0,o=S.isArr(n)?n:[n,n,n,n],l=this.x,a=this.y,c=Qe(e.cursor,this),h={onHover:”grab”,onGrab:”grabbing”};if(c){let{onHover:b,onGrab:T}=c;b&&(h.onHover=b),T&&(h.onGrab=T)}let d=Qe(e.dragThreshold,this),p={mouse:3,touch:7};if(S.isNum(d))p.mouse=d,p.touch=d;else if(d){let{mouse:b,touch:T}=d;S.isUnd(b)||(p.mouse=b),S.isUnd(T)||(p.touch=T)}this.containerArray=S.isArr(r)?r:null,this.$container=r&&!this.containerArray?Pi.parseTargets(r)[0]:X.doc.body,this.useWin=this.$container===X.doc.body,this.$scrollContainer=this.useWin?X.win:this.$container,this.isFinePointer=matchMedia(“(pointer:fine)”).matches,this.containerPadding=Ze.setValue(o,[0,0,0,0]),this.containerFriction=S.clamp(Ze.setValue(Qe(e.containerFriction,this),.8),0,1),this.releaseContainerFriction=S.clamp(Ze.setValue(Qe(e.releaseContainerFriction,this),this.containerFriction),0,1),this.snapX=Qe(S.isObj(s)&&!S.isUnd(s.snap)?s.snap:e.snap,this),this.snapY=Qe(S.isObj(i)&&!S.isUnd(i.snap)?i.snap:e.snap,this),this.scrollSpeed=Ze.setValue(Qe(e.scrollSpeed,this),1.5),this.scrollThreshold=Ze.setValue(Qe(e.scrollThreshold,this),20),this.dragSpeed=Ze.setValue(Qe(e.dragSpeed,this),1),this.dragThreshold=this.isFinePointer?p.mouse:p.touch,this.minVelocity=Ze.setValue(Qe(e.minVelocity,this),0),this.maxVelocity=Ze.setValue(Qe(e.maxVelocity,this),50),this.velocityMultiplier=Ze.setValue(Qe(e.velocityMultiplier,this),1),this.cursor=c===!1?!1:h,this.updateBoundingValues();let[g,v,u,f]=this.containerBounds;this.setX(S.clamp(l,f,v),!0),this.setY(S.clamp(a,g,u),!0)}update(){if(this.updateScrollCoords(),this.canScroll){let[T,x,w,E]=this.containerPadding,[V,$]=this.scrollView,G=this.dragArea[2],K=this.dragArea[3],M=this.scroll.x,q=this.scroll.y,D=this.$container.scrollWidth,Y=this.$container.scrollHeight,R=this.useWin?S.clamp(D,this.window[0],D):D,I=this.useWin?S.clamp(Y,this.window[1],Y):Y,oe=V-R,m=$-I;this.dragged&&oe>0&&(this.coords[0]-=oe,this.scrollView[0]=R),this.dragged&&m>0&&(this.coords[1]-=m,this.scrollView[1]=I);let C=this.scrollSpeed*10,y=this.scrollThreshold,[_,L]=this.coords,[k,P,B,ue]=this.scrollBounds,O=S.round(S.clamp((L-k+T)/y,-1,0)*C,0),Q=S.round(S.clamp((_-P-x)/y,0,1)*C,0),he=S.round(S.clamp((L-B-w)/y,0,1)*C,0),te=S.round(S.clamp((_-ue+E)/y,-1,0)*C,0);if(O||he||te||Q){let[Ne,Le]=this.disabled,F=M,re=q;Ne||(F=S.round(S.clamp(M+(te||Q),0,V-G),0),this.coords[0]-=M-F),Le||(re=S.round(S.clamp(q+(O||he),0,$-K),0),this.coords[1]-=q-re),this.useWin?this.$scrollContainer.scrollBy(-(M-F),-(q-re)):this.$scrollContainer.scrollTo(F,re)}}let[e,s,i,r]=this.containerBounds,[n,o,l,a,c,h]=this.pointer;this.coords[0]+=(n-c)*this.dragSpeed,this.coords[1]+=(o-h)*this.dragSpeed,this.pointer[4]=n,this.pointer[5]=o;let[d,p]=this.coords,[g,v]=this.snapped,u=(1-this.containerFriction)*this.dragSpeed;this.setX(d>s?s+(d-s)*u:di?i+(p-i)*u:p{this.canScroll=!1,this.$scrollContainer.scrollTo(o.x,o.y)}}).init().then(()=>{this.canScroll=a})}return this}handleHover(){this.isFinePointer&&this.cursor&&!this.cursorStyles&&(this.cursorStyles=Pt.set(this.$trigger,{cursor:this.cursor.onHover}))}animateInView(e,s=0,i=Rs.eases.inOutQuad){this.stop(),this.updateBoundingValues();let r=this.x,n=this.y,[o,l,a,c]=this.containerPadding,h=this.scroll.y-this.targetBounds[0]+o+s,d=this.scroll.x-this.targetBounds[1]-l-s,p=this.scroll.y-this.targetBounds[2]-a-s,g=this.scroll.x-this.targetBounds[3]+c+s,v=this.isOutOfBounds([h,d,p,g],r,n);if(v){let[u,f]=this.disabled,b=S.clamp(S.snap(r,this.snapX),g,d),T=S.clamp(S.snap(n,this.snapY),h,p),x=S.isUnd(e)?350*Rt.globals.timeScale:e;!u&&(v===1||v===3)&&this.animate[this.xProp](b,x,i),!f&&(v===2||v===3)&&this.animate[this.yProp](T,x,i)}return this}handleDown(e){let s=e.target;if(this.grabbed||s.type===”range”)return;e.stopPropagation(),this.grabbed=!0,this.released=!1,this.stop(),this.updateBoundingValues();let i=e.changedTouches,r=i?i[0].clientX:e.clientX,n=i?i[0].clientY:e.clientY,{x:o,y:l}=this.transforms.normalizePoint(r,n),[a,c,h,d]=this.containerBounds,p=(1-this.containerFriction)*this.dragSpeed,g=this.x,v=this.y;this.coords[0]=this.coords[2]=p?g>c?c+(g-c)/p:gh?h+(v-h)/p:vNi?u:Ni)+1,this.targetStyles=Pt.set(this.$target,{zIndex:Ni}),this.triggerStyles&&(this.triggerStyles.revert(),this.triggerStyles=null),this.cursorStyles&&(this.cursorStyles.revert(),this.cursorStyles=null),this.isFinePointer&&this.cursor&&(this.bodyStyles=Pt.set(X.doc.body,{cursor:this.cursor.onGrab})),this.scrollInView(100,0,Rs.eases.out(3)),this.onGrab(this),X.doc.addEventListener(“touchmove”,this),X.doc.addEventListener(“touchend”,this),X.doc.addEventListener(“touchcancel”,this),X.doc.addEventListener(“mousemove”,this),X.doc.addEventListener(“mouseup”,this),X.doc.addEventListener(“selectstart”,this)}handleMove(e){if(!this.grabbed)return;let s=e.changedTouches,i=s?s[0].clientX:e.clientX,r=s?s[0].clientY:e.clientY,{x:n,y:o}=this.transforms.normalizePoint(i,r),l=n-this.pointer[6],a=o-this.pointer[7],c=e.target,h=!1,d=!1,p=!1;for(;s&&c&&c!==this.$trigger;){let g=Pt.get(c,”overflow-y”);if(g!==”hidden”&&g!==”visible”){let{scrollTop:v,scrollHeight:u,clientHeight:f}=c;if(u>f){p=!0,h=v=u-f-3;break}}c=c.parentElement}p&&(!h&&!d||h&&a0)?(this.pointer[0]=n,this.pointer[1]=o,this.pointer[2]=n,this.pointer[3]=o,this.pointer[4]=n,this.pointer[5]=o,this.pointer[6]=n,this.pointer[7]=o):(Ut(e),this.triggerStyles||(this.triggerStyles=Pt.set(this.$trigger,{pointerEvents:”none”})),this.$trigger.addEventListener(“touchstart”,Ut,{passive:!1}),this.$trigger.addEventListener(“touchmove”,Ut,{passive:!1}),this.$trigger.addEventListener(“touchend”,Ut),(this.dragged||!this.disabled[0]&&S.abs(l)>this.dragThreshold||!this.disabled[1]&&S.abs(a)>this.dragThreshold)&&(this.updateTicker.resume(),this.pointer[2]=this.pointer[0],this.pointer[3]=this.pointer[1],this.pointer[0]=n,this.pointer[1]=o,this.dragged=!0,this.released=!1,this.onDrag(this)))}handleUp(){if(!this.grabbed)return;this.updateTicker.pause(),this.triggerStyles&&(this.triggerStyles.revert(),this.triggerStyles=null),this.bodyStyles&&(this.bodyStyles.revert(),this.bodyStyles=null);let[e,s]=this.disabled,[i,r,n,o,l,a]=this.pointer,[c,h,d,p]=this.containerBounds,[g,v]=this.snapped,u=this.releaseXSpring,f=this.releaseYSpring,b=this.releaseEase,T=this.hasReleaseSpring,x=this.overshootCoords,w=this.x,E=this.y,V=this.computeVelocity(i-l,r-a),$=this.angle=S.atan2(r-o,i-n),G=V*150,K=(1-this.releaseContainerFriction)*this.dragSpeed,M=w+S.cos($)*G,q=E+S.sin($)*G,D=M>h?h+(M-h)*K:M

    d?d+(q-d)*K:qh?-1:1:w

    L&&(L=m)}if(!s){let P=I===d?E>d?-1:1:EL&&(L=C)}if(!T&&oe&&K&&(m||C)){let P=X.compositionTypes.blend;new jr.JSAnimation(x,{x:{to:D,duration:m*.65},y:{to:Y,duration:C*.65},ease:b,composition:P}).init(),new jr.JSAnimation(x,{x:{to:R,duration:m},y:{to:I,duration:C},ease:b,composition:P}).init(),this.overshootTicker.stretch(S.max(m,C)).restart()}else e||this.animate[this.xProp](R,m,y),s||this.animate[this.yProp](I,C,_);this.scrollInView(L,this.scrollThreshold,b);let k=!1;R!==g&&(this.snapped[0]=R,this.snapX&&(k=!0)),I!==v&&this.snapY&&(this.snapped[1]=I,this.snapY&&(k=!0)),k&&this.onSnap(this),this.grabbed=!1,this.dragged=!1,this.updated=!0,this.released=!0,this.onRelease(this),this.$trigger.removeEventListener(“touchstart”,Ut),this.$trigger.removeEventListener(“touchmove”,Ut),this.$trigger.removeEventListener(“touchend”,Ut),X.doc.removeEventListener(“touchmove”,this),X.doc.removeEventListener(“touchend”,this),X.doc.removeEventListener(“touchcancel”,this),X.doc.removeEventListener(“mousemove”,this),X.doc.removeEventListener(“mouseup”,this),X.doc.removeEventListener(“selectstart”,this)}reset(){return this.stop(),this.resizeTicker.pause(),this.grabbed=!1,this.dragged=!1,this.updated=!1,this.released=!1,this.canScroll=!1,this.setX(0,!0),this.setY(0,!0),this.coords[0]=0,this.coords[1]=0,this.pointer[0]=0,this.pointer[1]=0,this.pointer[2]=0,this.pointer[3]=0,this.pointer[4]=0,this.pointer[5]=0,this.pointer[6]=0,this.pointer[7]=0,this.velocity=0,this.velocityStack[0]=0,this.velocityStack[1]=0,this.velocityStack[2]=0,this.velocityStackIndex=0,this.angle=0,this}enable(){return this.enabled||(this.enabled=!0,this.$target.classList.remove(“is-disabled”),this.touchActionStyles=Pt.set(this.$trigger,{touchAction:this.disabled[0]?”pan-x”:this.disabled[1]?”pan-y”:”none”}),this.$trigger.addEventListener(“touchstart”,this,{passive:!0}),this.$trigger.addEventListener(“mousedown”,this,{passive:!0}),this.$trigger.addEventListener(“mouseenter”,this)),this}disable(){return this.enabled=!1,this.grabbed=!1,this.dragged=!1,this.updated=!1,this.released=!1,this.canScroll=!1,this.touchActionStyles.revert(),this.cursorStyles&&(this.cursorStyles.revert(),this.cursorStyles=null),this.triggerStyles&&(this.triggerStyles.revert(),this.triggerStyles=null),this.bodyStyles&&(this.bodyStyles.revert(),this.bodyStyles=null),this.targetStyles&&(this.targetStyles.revert(),this.targetStyles=null),this.$target.classList.add(“is-disabled”),this.$trigger.removeEventListener(“touchstart”,this),this.$trigger.removeEventListener(“mousedown”,this),this.$trigger.removeEventListener(“mouseenter”,this),X.doc.removeEventListener(“touchmove”,this),X.doc.removeEventListener(“touchend”,this),X.doc.removeEventListener(“touchcancel”,this),X.doc.removeEventListener(“mousemove”,this),X.doc.removeEventListener(“mouseup”,this),X.doc.removeEventListener(“selectstart”,this),this}revert(){return this.reset(),this.disable(),this.$target.classList.remove(“is-disabled”),this.updateTicker.revert(),this.overshootTicker.revert(),this.resizeTicker.revert(),this.animate.revert(),this.resizeObserver.disconnect(),this}handleEvent(e){switch(e.type){case”mousedown”:this.handleDown(e);break;case”touchstart”:this.handleDown(e);break;case”mousemove”:this.handleMove(e);break;case”touchmove”:this.handleMove(e);break;case”mouseup”:this.handleUp();break;case”touchend”:this.handleUp();break;case”touchcancel”:this.handleUp();break;case”mouseenter”:this.handleHover();break;case”selectstart”:Ut(e);break}}},Wh=(t,e)=>new Li(t,e);Gr.Draggable=Li;Gr.createDraggable=Wh});var ds=z(Zr=>{“use strict”;var fa=Se(),Xh=ke(),pa=le(),Yh=Xt(),jh=(t=fa.noop)=>new Yh.Timer({duration:1*Xh.globals.timeScale,onComplete:t},null,0).resume(),Kh=t=>{let e;return(…s)=>{let i,r,n,o,l;e&&(i=e.currentIteration,r=e.iterationProgress,n=e.reversed,o=e._alternate,l=e._startTime,e.revert());let a=t(…s);return a&&!pa.isFnc(a)&&a.revert&&(e=a),pa.isUnd(r)||(e.currentIteration=i,e.iterationProgress=(o&&i%2?!n:n)?1-r:r,e._startTime=l),a||fa.noop}};Zr.keepTime=Kh;Zr.sync=jh});var ma=z(en=>{“use strict”;var Qr=Se(),pt=ke(),jt=le(),Jh=Je(),Gh=ds(),Ii=class{constructor(e={}){pt.scope.current&&pt.scope.current.register(this);let s=e.root,i=Qr.doc;s&&(i=s.current||s.nativeElement||Jh.parseTargets(s)[0]||Qr.doc);let r=e.defaults,n=pt.globals.defaults,o=e.mediaQueries;if(this.defaults=r?jt.mergeObjects(r,n):n,this.root=i,this.constructors=[],this.revertConstructors=[],this.revertibles=[],this.constructorsOnce=[],this.revertConstructorsOnce=[],this.revertiblesOnce=[],this.once=!1,this.onceIndex=0,this.methods={},this.matches={},this.mediaQueryLists={},this.data={},o)for(let l in o){let a=Qr.win.matchMedia(o[l]);this.mediaQueryLists[l]=a,a.addEventListener(“change”,this)}}register(e){(this.once?this.revertiblesOnce:this.revertibles).push(e)}execute(e){let s=pt.scope.current,i=pt.scope.root,r=pt.globals.defaults;pt.scope.current=this,pt.scope.root=this.root,pt.globals.defaults=this.defaults;let n=this.mediaQueryLists;for(let l in n)this.matches[l]=n[l].matches;let o=e(this);return pt.scope.current=s,pt.scope.root=i,pt.globals.defaults=r,o}refresh(){return this.onceIndex=0,this.execute(()=>{let e=this.revertibles.length,s=this.revertConstructors.length;for(;e–;)this.revertibles[e].revert();for(;s–;)this.revertConstructors[s](this);this.revertibles.length=0,this.revertConstructors.length=0,this.constructors.forEach(i=>{let r=i(this);jt.isFnc(r)&&this.revertConstructors.push(r)})}),this}add(e,s){if(this.once=!1,jt.isFnc(e)){let i=e;this.constructors.push(i),this.execute(()=>{let r=i(this);jt.isFnc(r)&&this.revertConstructors.push(r)})}else this.methods[e]=(…i)=>this.execute(()=>s(…i));return this}addOnce(e){if(this.once=!0,jt.isFnc(e)){let s=this.onceIndex++;if(this.constructorsOnce[s])return this;let r=e;this.constructorsOnce[s]=r,this.execute(()=>{let n=r(this);jt.isFnc(n)&&this.revertConstructorsOnce.push(n)})}return this}keepTime(e){this.once=!0;let s=this.onceIndex++,i=this.constructorsOnce[s];if(jt.isFnc(i))return i(this);let r=Gh.keepTime(e);this.constructorsOnce[s]=r;let n;return this.execute(()=>{n=r(this)}),n}handleEvent(e){switch(e.type){case”change”:this.refresh();break}}revert(){let e=this.revertibles,s=this.revertConstructors,i=this.revertiblesOnce,r=this.revertConstructorsOnce,n=this.mediaQueryLists,o=e.length,l=s.length,a=i.length,c=r.length;for(;o–;)e[o].revert();for(;l–;)s[l](this);for(;a–;)i[a].revert();for(;c–;)r[c](this);for(let h in n)n[h].removeEventListener(“change”,this);e.length=0,s.length=0,this.constructors.length=0,i.length=0,r.length=0,this.constructorsOnce.length=0,this.onceIndex=0,this.matches={},this.methods={},this.mediaQueryLists={},this.data={}}},Zh=t=>new Ii(t);en.Scope=Ii;en.createScope=Zh});var Ta=z(Ui=>{“use strict”;var fe=Se(),Fi=ke(),ve=le(),ba=Je(),ft=Ke(),Qh=pi(),ki=Xt(),Di=As(),ed=ds(),ga=ss(),td=ht(),sd=()=>{let t=fe.doc.createElement(“div”);fe.doc.body.appendChild(t),t.style.height=”100lvh”;let e=t.offsetHeight;return fe.doc.body.removeChild(t),e},$i=(t,e)=>t&&ve.isFnc(t)?t(e):t,Mi=new Map,tn=class{constructor(e){this.element=e,this.useWin=this.element===fe.doc.body,this.winWidth=0,this.winHeight=0,this.width=0,this.height=0,this.left=0,this.top=0,this.scale=1,this.zIndex=0,this.scrollX=0,this.scrollY=0,this.prevScrollX=0,this.prevScrollY=0,this.scrollWidth=0,this.scrollHeight=0,this.velocity=0,this.backwardX=!1,this.backwardY=!1,this.scrollTicker=new ki.Timer({autoplay:!1,onBegin:()=>this.dataTimer.resume(),onUpdate:()=>{let s=this.backwardX||this.backwardY;ve.forEachChildren(this,i=>i.handleScroll(),s)},onComplete:()=>this.dataTimer.pause()}).init(),this.dataTimer=new ki.Timer({autoplay:!1,frameRate:30,onUpdate:s=>{let i=s.deltaTime,r=this.prevScrollX,n=this.prevScrollY,o=this.scrollX,l=this.scrollY,a=r-o,c=n-l;this.prevScrollX=o,this.prevScrollY=l,a&&(this.backwardX=r>o),c&&(this.backwardY=n>l),this.velocity=ve.round(i>0?Math.sqrt(a*a+c*c)/i:0,5)}}).init(),this.resizeTicker=new ki.Timer({autoplay:!1,duration:250*Fi.globals.timeScale,onComplete:()=>{this.updateWindowBounds(),this.refreshScrollObservers(),this.handleScroll()}}).init(),this.wakeTicker=new ki.Timer({autoplay:!1,duration:500*Fi.globals.timeScale,onBegin:()=>{this.scrollTicker.resume()},onComplete:()=>{this.scrollTicker.pause()}}).init(),this._head=null,this._tail=null,this.updateScrollCoords(),this.updateWindowBounds(),this.updateBounds(),this.refreshScrollObservers(),this.handleScroll(),this.resizeObserver=new ResizeObserver(()=>this.resizeTicker.restart()),this.resizeObserver.observe(this.element),(this.useWin?fe.win:this.element).addEventListener(“scroll”,this,!1)}updateScrollCoords(){let e=this.useWin,s=this.element;this.scrollX=ve.round(e?fe.win.scrollX:s.scrollLeft,0),this.scrollY=ve.round(e?fe.win.scrollY:s.scrollTop,0)}updateWindowBounds(){this.winWidth=fe.win.innerWidth,this.winHeight=sd()}updateBounds(){let e=getComputedStyle(this.element),s=this.element;this.scrollWidth=s.scrollWidth+parseFloat(e.marginLeft)+parseFloat(e.marginRight),this.scrollHeight=s.scrollHeight+parseFloat(e.marginTop)+parseFloat(e.marginBottom),this.updateWindowBounds();let i,r;if(this.useWin)i=this.winWidth,r=this.winHeight;else{let n=s.getBoundingClientRect();i=s.clientWidth,r=s.clientHeight,this.top=n.top,this.left=n.left,this.scale=n.width?i/n.width:n.height?r/n.height:1}this.width=i,this.height=r}refreshScrollObservers(){ve.forEachChildren(this,e=>{e.ready&&e._debug&&e.removeDebug()}),this.updateBounds(),ve.forEachChildren(this,e=>{e.ready&&(e.refresh(),e.onResize(e),e._debug&&e.debug())})}refresh(){this.updateWindowBounds(),this.updateBounds(),this.refreshScrollObservers(),this.handleScroll()}handleScroll(){this.updateScrollCoords(),this.wakeTicker.restart()}handleEvent(e){switch(e.type){case”scroll”:this.handleScroll();break}}revert(){this.scrollTicker.cancel(),this.dataTimer.cancel(),this.resizeTicker.cancel(),this.wakeTicker.cancel(),this.resizeObserver.disconnect(),(this.useWin?fe.win:this.element).removeEventListener(“scroll”,this),Mi.delete(this.element)}},id=t=>{let e=t&&ba.parseTargets(t)[0]||fe.doc.body,s=Mi.get(e);return s||(s=new tn(e),Mi.set(e,s)),s},Ps=(t,e,s,i,r)=>{let n=e===”min”,o=e===”max”,l=e===”top”||e===”left”||e===”start”||n?0:e===”bottom”||e===”right”||e===”end”||o?”100%”:e===”center”?”50%”:e,{n:a,u:c}=ft.decomposeRawValue(l,ft.decomposedOriginalValue),h=a;return c===”%”?h=a/100*s:c&&(h=Qh.convertValueUnit(t,ft.decomposedOriginalValue,”px”,!0).n),o&&i0&&(h+=r),h},Oi=(t,e,s,i,r)=>{let n;if(ve.isStr(e)){let o=fe.relativeValuesExecRgx.exec(e);if(o){let l=o[0],a=l[0],c=e.split(l),h=c[0]===”min”,d=c[0]===”max”,p=Ps(t,c[0],s,i,r),g=Ps(t,c[1],s,i,r);if(h){let v=ft.getRelativeValue(Ps(t,”min”,s),g,a);n=v

    p?p:v}else n=ft.getRelativeValue(p,g,a)}else n=Ps(t,e,s,i,r)}else n=e;return ve.round(n,0)},va=t=>{let e,s=t.targets;for(let i=0,r=s.length;i()=>{let d=this.linked;return d&&d[h]?d[h]():null}):null,c=l&&a.length>2;this.index=rd++,this.id=ve.isUnd(e.id)?this.index:e.id,this.container=id(e.container),this.target=null,this.linked=null,this.repeat=null,this.horizontal=null,this.enter=null,this.leave=null,this.sync=n||o||!!a,this.syncEase=n?i:null,this.syncSmooth=o?s===!0||r?1:s:null,this.onSyncEnter=a&&!c&&a[0]?a[0]:fe.noop,this.onSyncLeave=a&&!c&&a[1]?a[1]:fe.noop,this.onSyncEnterForward=a&&c&&a[0]?a[0]:fe.noop,this.onSyncLeaveForward=a&&c&&a[1]?a[1]:fe.noop,this.onSyncEnterBackward=a&&c&&a[2]?a[2]:fe.noop,this.onSyncLeaveBackward=a&&c&&a[3]?a[3]:fe.noop,this.onEnter=e.onEnter||fe.noop,this.onLeave=e.onLeave||fe.noop,this.onEnterForward=e.onEnterForward||fe.noop,this.onLeaveForward=e.onLeaveForward||fe.noop,this.onEnterBackward=e.onEnterBackward||fe.noop,this.onLeaveBackward=e.onLeaveBackward||fe.noop,this.onUpdate=e.onUpdate||fe.noop,this.onResize=e.onResize||fe.noop,this.onSyncComplete=e.onSyncComplete||fe.noop,this.reverted=!1,this.ready=!1,this.completed=!1,this.began=!1,this.isInView=!1,this.forceEnter=!1,this.hasEntered=!1,this.offset=0,this.offsetStart=0,this.offsetEnd=0,this.distance=0,this.prevProgress=0,this.thresholds=[“start”,”end”,”end”,”start”],this.coords=[0,0,0,0],this.debugStyles=null,this.$debug=null,this._params=e,this._debug=ft.setValue(e.debug,!1),this._next=null,this._prev=null,ve.addChild(this.container,this),ed.sync(()=>{if(!this.reverted){if(!this.target){let h=ba.parseTargets(e.target)[0];this.target=h||fe.doc.body,this.refresh()}this._debug&&this.debug()}})}link(e){if(e&&(e.pause(),this.linked=e,!ve.isUnd(e)&&!ve.isUnd(e.persist)&&(e.persist=!0),!this._params.target)){let s;ve.isUnd(e.targets)?ve.forEachChildren(e,i=>{i.targets&&!s&&(s=va(i))}):s=va(e),this.target=s||fe.doc.body,this.refresh()}return this}get velocity(){return this.container.velocity}get backward(){return this.horizontal?this.container.backwardX:this.container.backwardY}get scroll(){return this.horizontal?this.container.scrollX:this.container.scrollY}get progress(){let e=(this.scroll-this.offsetStart)/this.distance;return e===1/0||isNaN(e)?0:ve.round(ve.clamp(e,0,1),6)}refresh(){this.ready=!0,this.reverted=!1;let e=this._params;return this.repeat=ft.setValue($i(e.repeat,this),!0),this.horizontal=ft.setValue($i(e.axis,this),”y”)===”x”,this.enter=ft.setValue($i(e.enter,this),”end start”),this.leave=ft.setValue($i(e.leave,this),”start end”),this.updateBounds(),this.handleScroll(),this}removeDebug(){return this.$debug&&(this.$debug.parentNode.removeChild(this.$debug),this.$debug=null),this.debugStyles&&(this.debugStyles.revert(),this.$debug=null),this}debug(){this.removeDebug();let e=this.container,s=this.horizontal,i=e.element.querySelector(“:scope > .animejs-onscroll-debug”),r=fe.doc.createElement(“div”),n=fe.doc.createElement(“div”),o=fe.doc.createElement(“div”),l=ya[this.index%ya.length],a=e.useWin,c=a?e.winWidth:e.width,h=a?e.winHeight:e.height,d=e.scrollWidth,p=e.scrollHeight,g=this.container.width>360?320:260,v=s?0:10,u=s?10:0,f=s?24:g/2,b=s?f:15,T=s?60:f,x=s?T:b,w=s?”repeat-x”:”repeat-y”,E=M=>s?”0px “+M+”px”:M+”px 2px”,V=M=>`linear-gradient(${s?90:0}deg, ${M} 2px, transparent 1px)`,$=(M,q,D,Y,R)=>`position:${M};left:${q}px;top:${D}px;width:${Y}px;height:${R}px;`;r.style.cssText=`${$(“absolute”,v,u,s?d:g,s?g:p)}
    pointer-events: none;
    z-index: ${this.container.zIndex++};
    display: flex;
    flex-direction: ${s?”column”:”row”};
    filter: drop-shadow(0px 1px 0px rgba(0,0,0,.75));
    `,n.style.cssText=`${$(“sticky”,0,0,s?c:f,s?f:h)}`,i||(n.style.cssText+=`background:
    ${V(“#FFFF”)}${E(f-10)} / 100px 100px ${w},
    ${V(“#FFF8”)}${E(f-10)} / 10px 10px ${w};
    `),o.style.cssText=`${$(“relative”,0,0,s?d:f,s?f:p)}`,i||(o.style.cssText+=`background:
    ${V(“#FFFF”)}${E(0)} / ${s?”100px 10px”:”10px 100px”} ${w},
    ${V(“#FFF8″)}${E(0)} / ${s?”10px 0px”:”0px 10px”} ${w};
    `);let G=[” enter: “,” leave: “];this.coords.forEach((M,q)=>{let D=q>1,Y=(D?0:this.offset)+M,R=q%2,I=Y(D?s?c:h:s?d:p)-x,m=(D?R&&!I:!R&&!I)||oe,C=fe.doc.createElement(“div”),y=fe.doc.createElement(“div”),_=s?m?”right”:”left”:m?”bottom”:”top”,L=m?(s?T:b)+(D?s?-1:oe?0:-2:s?-1:-2):s?1:0;y.innerHTML=`${this.id}${G[R]}${this.thresholds[q]}`,C.style.cssText=`${$(“absolute”,0,0,T,b)}
    display: flex;
    flex-direction: ${s?”column”:”row”};
    justify-content: flex-${D?”start”:”end”};
    align-items: flex-${m?”end”:”start”};
    border-${_}: 2px solid ${l};
    `,y.style.cssText=`
    overflow: hidden;
    max-width: ${g/2-10}px;
    height: ${b};
    margin-${s?m?”right”:”left”:m?”bottom”:”top”}: -2px;
    padding: 1px;
    font-family: ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: -.025em;
    line-height: 9px;
    font-weight: 600;
    text-align: ${s&&m||!s&&!D?”right”:”left”};
    white-space: pre;
    text-overflow: ellipsis;
    color: ${R?l:”rgba(0,0,0,.75)”};
    background-color: ${R?”rgba(0,0,0,.65)”:l};
    border: 2px solid ${R?l:”transparent”};
    border-${s?m?”top-left”:”top-right”:m?”top-left”:”bottom-left”}-radius: 5px;
    border-${s?m?”bottom-left”:”bottom-right”:m?”top-right”:”bottom-right”}-radius: 5px;
    `,C.appendChild(y);let k=Y-L+(s?1:0);C.style[s?”left”:”top”]=`${k}px`,(D?n:o).appendChild(C)}),r.appendChild(n),r.appendChild(o),e.element.appendChild(r),i||r.classList.add(“animejs-onscroll-debug”),this.$debug=r,Di.get(e.element,”position”)===”static”&&(this.debugStyles=Di.set(e.element,{position:”relative “}))}updateBounds(){this._debug&&this.removeDebug();let e,s=this.target,i=this.container,r=this.horizontal,n=this.linked,o,l=s;for(n&&(o=n.currentTime,n.seek(0,!0));l&&l!==i.element&&l!==fe.doc.body;){let R=Di.get(l,”position”)===”sticky”?Di.set(l,{position:”static”}):!1;l=l.parentElement,R&&(e||(e=[]),e.push(R))}let a=s.getBoundingClientRect(),c=i.scale,h=(r?a.left+i.scrollX-i.left:a.top+i.scrollY-i.top)*c,d=(r?a.width:a.height)*c,p=r?i.width:i.height,v=(r?i.scrollWidth:i.scrollHeight)-p,u=this.enter,f=this.leave,b=”start”,T=”end”,x=”end”,w=”start”;if(ve.isStr(u)){let R=u.split(” “);x=R[0],b=R.length>1?R[1]:b}else if(ve.isObj(u)){let R=u;ve.isUnd(R.container)||(x=R.container),ve.isUnd(R.target)||(b=R.target)}else ve.isNum(u)&&(x=u);if(ve.isStr(f)){let R=f.split(” “);w=R[0],T=R.length>1?R[1]:T}else if(ve.isObj(f)){let R=f;ve.isUnd(R.container)||(w=R.container),ve.isUnd(R.target)||(T=R.target)}else ve.isNum(f)&&(w=f);let E=Oi(s,b,d),V=Oi(s,T,d),$=E+h-p,G=V+h-v,K=Oi(s,x,p,$,G),M=Oi(s,w,p,$,G),q=E+h-K,D=V+h-M,Y=D-q;this.offset=h,this.offsetStart=q,this.offsetEnd=D,this.distance=YR.revert()),n&&n.seek(o,!0),this._debug&&this.debug()}handleScroll(){if(!this.ready)return;let e=this.linked,s=this.sync,i=this.syncEase,r=this.syncSmooth,n=e&&(i||r),o=this.horizontal,l=this.container,a=this.scroll,c=a=this.offsetEnd,d=!c&&!h,p=a===this.offsetStart||a===this.offsetEnd,g=!this.hasEntered&&p,v=this._debug&&this.$debug,u=!1,f=!1,b=this.progress;if(c&&this.began&&(this.began=!1),b>0&&!this.began&&(this.began=!0),n){let T=e.progress;if(r&&ve.isNum(r)){if(r<1){let w=Tb&&!b?-1e-4:0;b=ve.round(ve.lerp(T,b,ve.lerp(.01,.2,r))+w,6)}}else i&&(b=i(b));u=b!==this.prevProgress,f=T===1,u&&!f&&r&&T&&l.wakeTicker.restart()}if(v){let T=o?l.scrollY:l.scrollX;v.style[o?”top”:”left”]=T+10+”px”}(d&&!this.isInView||g&&!this.forceEnter&&!this.hasEntered)&&(d&&(this.isInView=!0),!this.forceEnter||!this.hasEntered?(v&&d&&(v.style.zIndex=`${this.container.zIndex++}`),this.onSyncEnter(this),this.onEnter(this),this.backward?(this.onSyncEnterBackward(this),this.onEnterBackward(this)):(this.onSyncEnterForward(this),this.onEnterForward(this)),this.hasEntered=!0,g&&(this.forceEnter=!0)):d&&(this.forceEnter=!1)),(d||!d&&this.isInView)&&(u=!0),u&&(n&&e.seek(e.duration*b),this.onUpdate(this)),!d&&this.isInView&&(this.isInView=!1,this.onSyncLeave(this),this.onLeave(this),this.backward?(this.onSyncLeaveBackward(this),this.onLeaveBackward(this)):(this.onSyncLeaveForward(this),this.onLeaveForward(this)),s&&!r&&(f=!0)),b>=1&&this.began&&!this.completed&&(s&&f||!s)&&(s&&this.onSyncComplete(this),this.completed=!0,(!this.repeat&&!e||!this.repeat&&e&&e.completed)&&this.revert()),bnew Bi(t);Ui.ScrollObserver=Bi;Ui.onScroll=nd;Ui.scrollContainers=Mi});var sn=z(wa=>{“use strict”;var od=le(),ad=ss(),Sa=(t,e,s)=>(((1-3*s+3*e)*t+(3*s-6*e))*t+3*e)*t,ld=(t,e,s)=>{let i=0,r=1,n,o,l=0;do o=i+(r-i)/2,n=Sa(o,e,s)-t,n>0?r=o:i=o;while(od.abs(n)>1e-7&&++lt===e&&s===i?ad.none:r=>r===0||r===1?r:Sa(ld(r,t,s),e,i);wa.cubicBezier=cd});var nn=z(xa=>{“use strict”;var rn=le(),ud=(t=10,e)=>{let s=e?rn.ceil:rn.floor;return i=>s(rn.clamp(i,0,1)*t)*(1/t)};xa.steps=ud});var Hi=z(_a=>{“use strict”;var ps=le(),hd=ss(),dd=(…t)=>{let e=t.length;if(!e)return hd.none;let s=e-1,i=t[0],r=t[s],n=[0],o=[ps.parseNumber(i)];for(let l=1;l<s;l++){let a=t[l],c=ps.isStr(a)?a.trim().split(" "):[a],h=c[0],d=c[1];n.push(ps.isUnd(d)?l/s:ps.parseNumber(d)/100),o.push(ps.parseNumber(h))}return o.push(ps.parseNumber(r)),n.push(1),function(a){for(let c=1,h=n.length;c<h;c++){let d=n[c];if(a{“use strict”;var pd=le(),fd=Hi(),md=(t=10,e=1)=>{let s=[0],i=t-1;for(let r=1;r{“use strict”;var gd=sn(),vd=nn(),yd=Hi(),bd=on(),an=Vi(),Td=ht();qt.cubicBezier=gd.cubicBezier;qt.steps=vd.steps;qt.linear=yd.linear;qt.irregular=bd.irregular;qt.Spring=an.Spring;qt.createSpring=an.createSpring;qt.spring=an.spring;qt.eases=Td.eases});var un=z(cn=>{“use strict”;var ye=le(),ot=ke(),Sd=Je(),Me=Ke(),et=Se(),wd=ss(),xd=ht(),Va=zr(),zi=(t,e=100)=>{let s=[];for(let i=0;i{let e=Aa[t];if(e)return e;if(e=”linear”,ye.isStr(t)){if(ye.stringStartsWith(t,”linear”)||ye.stringStartsWith(t,”cubic-“)||ye.stringStartsWith(t,”steps”)||ye.stringStartsWith(t,”ease”))e=t;else if(ye.stringStartsWith(t,”cubicB”))e=ye.toLowerCase(t);else{let s=xd.parseEaseString(t);ye.isFnc(s)&&(e=s===wd.none?”linear”:zi(s))}Aa[t]=e}else if(ye.isFnc(t)){let s=zi(t);s&&(e=s)}else t.ease&&(e=zi(t.ease));return e},qa=[“x”,”y”,”z”],_d=[“perspective”,”width”,”height”,”margin”,”padding”,”top”,”right”,”bottom”,”left”,”borderWidth”,”fontSize”,”borderRadius”,…qa],Cd=(()=>[…qa,…et.validTransforms.filter(t=>[“X”,”Y”,”Z”].some(e=>t.endsWith(e)))])(),ln=null,qs=(t,e,s,i,r)=>{let n=ye.isStr(e)?e:Me.getFunctionValue(e,s,i,r,null,null);return ye.isNum(n)?_d.includes(t)||ye.stringStartsWith(t,”translate”)?`${n}px`:ye.stringStartsWith(t,”rotate”)||ye.stringStartsWith(t,”skew”)?`${n}deg`:`${n}`:n},Pa=(t,e,s,i,r,n)=>{let o=”0″,l=ye.isUnd(i)?getComputedStyle(t)[e]:qs(e,i,t,r,n);return ye.isUnd(s)?o=ye.isArr(i)?i.map(a=>qs(e,a,t,r,n)):l:o=[qs(e,s,t,r,n),l],o},Wi=class{constructor(e,s){ot.scope.current&&ot.scope.current.register(this),ye.isNil(ln)&&(et.isBrowser&&(ye.isUnd(CSS)||!Object.hasOwnProperty.call(CSS,”registerProperty”))?ln=!1:(et.validTransforms.forEach(g=>{let v=ye.stringStartsWith(g,”skew”),u=ye.stringStartsWith(g,”scale”),f=ye.stringStartsWith(g,”rotate”),b=ye.stringStartsWith(g,”translate”),T=f||v,x=T?””:u?””:b?””:”*”;try{CSS.registerProperty({name:”–“+g,syntax:x,inherits:!1,initialValue:b?”0px”:T?”0deg”:u?”1″:”0″})}catch{}}),ln=!0));let i=Sd.registerTargets(e);i.length||console.warn(“No target found. Make sure the element you’re trying to animate is accessible before creating your animation.”);let r=Me.setValue(s.autoplay,ot.globals.defaults.autoplay),n=r&&r.link?r:!1,o=s.alternate&&s.alternate===!0,l=s.reversed&&s.reversed===!0,a=Me.setValue(s.loop,ot.globals.defaults.loop),c=a===!0||a===1/0?1/0:ye.isNum(a)?a+1:1,h=o?l?”alternate-reverse”:”alternate”:l?”reverse”:”normal”,d=”both”,p=ot.globals.timeScale===1?1:et.K;this.targets=i,this.animations=[],this.controlAnimation=null,this.onComplete=s.onComplete||ot.globals.defaults.onComplete,this.duration=0,this.muteCallbacks=!1,this.completed=!1,this.paused=!r||n!==!1,this.reversed=l,this.persist=Me.setValue(s.persist,ot.globals.defaults.persist),this.autoplay=r,this._speed=Me.setValue(s.playbackRate,ot.globals.defaults.playbackRate),this._resolve=et.noop,this._completed=0,this._inlineStyles=[],i.forEach((g,v)=>{let u=g[et.transformsSymbol],f=Cd.some(q=>s.hasOwnProperty(q)),b=g.style,T=this._inlineStyles[v]={},x=Me.setValue(s.ease,ot.globals.defaults.ease),w=Me.getFunctionValue(x,g,v,i,null,null),E=ye.isFnc(w)||ye.isStr(w)?w:x,V=x.ease&&x,$=Ra(E),G=(V?V.settlingDuration:Me.getFunctionValue(Me.setValue(s.duration,ot.globals.defaults.duration),g,v,i,null,null))*p,K=Me.getFunctionValue(Me.setValue(s.delay,ot.globals.defaults.delay),g,v,i,null,null)*p,M=Me.setValue(s.composition,”replace”);for(let q in s){if(!ye.isKey(q))continue;let D={},Y={iterations:c,direction:h,fill:d,easing:$,duration:G,delay:K,composite:M},R=s[q],I=f?et.validTransforms.includes(q)?q:et.shortTransforms.get(q):!1,oe=I?”transform”:q;T[oe]||(T[oe]=b[oe]);let m;if(ye.isObj(R)){let C=R,y=Me.setValue(C.ease,$),_=y.ease&&y,L=C.to,k=C.from;if(Y.duration=(_?_.settlingDuration:Me.getFunctionValue(Me.setValue(C.duration,G),g,v,i,null,null))*p,Y.delay=Me.getFunctionValue(Me.setValue(C.delay,K),g,v,i,null,null)*p,Y.composite=Me.setValue(C.composition,M),Y.easing=Ra(y),m=Pa(g,q,k,L,v,i),I?(D[`–${I}`]=m,u[I]=m):D[q]=Pa(g,q,k,L,v,i),Va.addWAAPIAnimation(this,g,q,D,Y),!ye.isUnd(k))if(!I)b[q]=D[q][0];else{let P=`–${I}`;b.setProperty(P,D[P][0])}}else m=ye.isArr(R)?R.map(C=>qs(q,C,g,v,i)):qs(q,R,g,v,i),I?(D[`–${I}`]=m,u[I]=m):D[q]=m,Va.addWAAPIAnimation(this,g,q,D,Y)}if(f){let q=et.emptyString;for(let D in u)q+=`${et.transformsFragmentStrings[D]}var(–${D})) `;b.transform=q}}),n&&this.autoplay.link(this)}forEach(e){try{let s=ye.isStr(e)?i=>i[e]():e;this.animations.forEach(s)}catch{}return this}get speed(){return this._speed}set speed(e){this._speed=+e,this.forEach(s=>s.playbackRate=e)}get currentTime(){let e=this.controlAnimation,s=ot.globals.timeScale;return this.completed?this.duration:e?+e.currentTime*(s===1?1:s):0}set currentTime(e){let s=e*(ot.globals.timeScale===1?1:et.K);this.forEach(i=>{!this.persist&&s>=this.duration&&i.play(),i.currentTime=s})}get progress(){return this.currentTime/this.duration}set progress(e){this.forEach(s=>s.currentTime=e*this.duration||0)}resume(){return this.paused?(this.paused=!1,this.forEach(“play”)):this}pause(){return this.paused?this:(this.paused=!0,this.forEach(“pause”))}alternate(){return this.reversed=!this.reversed,this.forEach(“reverse”),this.paused&&this.forEach(“pause”),this}play(){return this.reversed&&this.alternate(),this.resume()}reverse(){return this.reversed||this.alternate(),this.resume()}seek(e,s=!1){return s&&(this.muteCallbacks=!0),e{this.targets.forEach(e=>{e.style.transform===”none”&&e.style.removeProperty(“transform”)})}),this}revert(){return this.cancel().targets.forEach((e,s)=>{let i=e.style,r=this._inlineStyles[s];for(let n in r){let o=r[n];ye.isUnd(o)||o===et.emptyString?i.removeProperty(ye.toLowerCase(n)):e.style[n]=o}e.getAttribute(“style”)===et.emptyString&&e.removeAttribute(“style”)}),this}then(e=et.noop){let s=this.then,i=()=>{this.then=null,e(this),this.then=s,this._resolve=et.noop};return new Promise(r=>(this._resolve=()=>r(i()),this.completed&&this._resolve(),this))}},Ed={animate:(t,e)=>new Wi(t,e),convertEase:zi};cn.WAAPIAnimation=Wi;cn.waapi=Ed});var Oa=z(dn=>{“use strict”;var We=le(),$a=Je(),Vd=ht(),ze=Ke(),Ad=$r(),Rd=un(),Ls=ke(),Pd=0,qd=0,Yi=(t,e)=>!t||!e?!1:t===e||t.contains(e),ms=t=>{if(!t)return null;let e=t.style,s=e.transition||””;return e.setProperty(“transition”,”none”,”important”),s},ji=(t,e)=>{if(!t)return;let s=t.style;e?s.transition=e:s.removeProperty(“transition”)},Nd=t=>{let e=t.layout.transitionMuteStore,s=t.$el,i=t.$measure;s&&!e.has(s)&&e.set(s,ms(s)),i&&!e.has(i)&&e.set(i,ms(i))},Xi=t=>{t.forEach((e,s)=>ji(s,e)),t.clear()},Ld={display:”none”,visibility:”hidden”,opacity:”0″,transform:”none”,position:”static”},Id=t=>{if(!t)return;let e=t.parentNode;e&&(e._head===t&&(e._head=t._next),e._tail===t&&(e._tail=t._prev),t._prev&&(t._prev._next=t._next),t._next&&(t._next._prev=t._prev),t._prev=null,t._next=null,t.parentNode=null)},Na=(t,e,s,i)=>{let r=t.dataset.layoutId;r||(r=t.dataset.layoutId=`node-${qd++}`);let n=i||{};return n.$el=t,n.$measure=t,n.id=r,n.index=0,n.targets=null,n.delay=0,n.duration=0,n.ease=null,n.state=s,n.layout=s.layout,n.parentNode=e||null,n.isTarget=!1,n.isEntering=!1,n.isLeaving=!1,n.isInlined=!1,n.hasTransform=!1,n.inlineStyles=[],n.inlineTransforms=null,n.inlineTransition=null,n.branchAdded=!1,n.branchRemoved=!1,n.branchNotRendered=!1,n.sizeChanged=!1,n.hasVisibilitySwap=!1,n.hasDisplayNone=!1,n.hasVisibilityHidden=!1,n.measuredInlineTransform=null,n.measuredInlineTransition=null,n.measuredDisplay=null,n.measuredVisibility=null,n.measuredPosition=null,n.measuredHasDisplayNone=!1,n.measuredHasVisibilityHidden=!1,n.measuredIsVisible=!1,n.measuredIsRemoved=!1,n.measuredIsInsideRoot=!1,n.properties={transform:”none”,x:0,y:0,left:0,top:0,clientLeft:0,clientTop:0,width:0,height:0},n.layout.properties.forEach(o=>n.properties[o]=0),n._head=null,n._tail=null,n._prev=null,n._next=null,n},La=(t,e,s,i)=>{let r=t.$el,n=t.layout.root,o=n===r,l=t.properties,a=t.state.rootNode,c=t.parentNode,h=s.transform,d=r.style.transform,p=c?c.measuredIsRemoved:!1,g=s.position;o&&(t.layout.absoluteCoords=g===”fixed”||g===”absolute”),t.$measure=e,t.inlineTransforms=d,t.hasTransform=h&&h!==”none”,t.measuredIsInsideRoot=Yi(n,e),t.measuredInlineTransform=null,t.measuredDisplay=s.display,t.measuredVisibility=s.visibility,t.measuredPosition=g,t.measuredHasDisplayNone=s.display===”none”,t.measuredHasVisibilityHidden=s.visibility===”hidden”,t.measuredIsVisible=!(t.measuredHasDisplayNone||t.measuredHasVisibilityHidden),t.measuredIsRemoved=t.measuredHasDisplayNone||t.measuredHasVisibilityHidden||p;let v=!1,u=r.previousSibling;for(;u&&(u.nodeType===Node.COMMENT_NODE||u.nodeType===Node.TEXT_NODE&&!u.textContent.trim());)u=u.previousSibling;if(u&&u.nodeType===Node.TEXT_NODE)v=!0;else{for(u=r.nextSibling;u&&(u.nodeType===Node.COMMENT_NODE||u.nodeType===Node.TEXT_NODE&&!u.textContent.trim());)u=u.nextSibling;v=u!==null&&u.nodeType===Node.TEXT_NODE}if(t.isInlined=v,t.hasTransform&&!i){let V=t.layout.transitionMuteStore;V.get(r)||(t.inlineTransition=ms(r)),e===r?r.style.transform=”none”:(V.get(e)||(t.measuredInlineTransition=ms(e)),t.measuredInlineTransform=e.style.transform,e.style.transform=”none”)}let f=0,b=0,T=0,x=0;if(!i){let V=e.getBoundingClientRect();f=V.left,b=V.top,T=V.width,x=V.height}for(let V in l){let $=V===”transform”?h:s[V]||s.getPropertyValue&&s.getPropertyValue(V);We.isUnd($)||(l[V]=$)}l.left=f,l.top=b,l.clientLeft=i?0:e.clientLeft,l.clientTop=i?0:e.clientTop;let w,E;if(o)t.layout.absoluteCoords?(w=f,E=b):(w=0,E=0);else{let V=c||a,$=V.properties.left,G=V.properties.top,K=V.properties.clientLeft,M=V.properties.clientTop;if(t.layout.absoluteCoords)w=f-$-K,E=b-G-M;else if(V===a){let q=a.properties.left,D=a.properties.top,Y=a.properties.clientLeft,R=a.properties.clientTop;w=f-q-Y,E=b-D-R}else w=f-$-K,E=b-G-M}return l.x=w,l.y=E,l.width=T,l.height=x,t},Ia=(t,e)=>{if(e)for(let s in e)t.properties[s]=e[s]},Ns=(t,e)=>{let s=ze.getFunctionValue(e.ease,t.$el,t.index,t.targets,null,null),i=We.isFnc(s)?s:e.ease,r=!We.isUnd(i)&&!We.isUnd(i.ease);t.ease=r?i.ease:i,t.duration=r?i.settlingDuration:ze.getFunctionValue(e.duration,t.$el,t.index,t.targets,null,null),t.delay=ze.getFunctionValue(e.delay,t.$el,t.index,t.targets,null,null)},kd=t=>{let e=t.$el.style,s=t.inlineStyles;s.length=0,t.layout.recordedProperties.forEach(i=>{s.push(i,e[i]||””)})},ka=t=>{let e=t.$el.style,s=t.inlineStyles;for(let i=0,r=s.length;i{let e=t.inlineTransforms,s=t.$el.style;!t.hasTransform||!e||t.hasTransform&&s.transform===”none”||e&&e===”none”?s.removeProperty(“transform”):e&&(s.transform=e);let i=t.$measure;if(t.hasTransform&&i!==t.$el){let r=i.style,n=t.measuredInlineTransform;n&&n!==””?r.transform=n:r.removeProperty(“transform”)}t.measuredInlineTransform=null,t.inlineTransition!==null&&(ji(t.$el,t.inlineTransition),t.inlineTransition=null),i!==t.$el&&t.measuredInlineTransition!==null&&(ji(i,t.measuredInlineTransition),t.measuredInlineTransition=null)},Da=t=>{(t.measuredIsRemoved||t.hasVisibilitySwap)&&(t.$el.style.removeProperty(“display”),t.$el.style.removeProperty(“visibility”),t.hasVisibilitySwap&&(t.$measure.style.removeProperty(“display”),t.$measure.style.removeProperty(“visibility”))),t.layout.pendingRemoval.delete(t.$el)},hn=(t,e,s)=>(e.properties={…t.properties},e.state=s,e.isTarget=t.isTarget,e.hasTransform=t.hasTransform,e.inlineTransforms=t.inlineTransforms,e.measuredIsVisible=t.measuredIsVisible,e.measuredDisplay=t.measuredDisplay,e.measuredIsRemoved=t.measuredIsRemoved,e.measuredHasDisplayNone=t.measuredHasDisplayNone,e.measuredHasVisibilityHidden=t.measuredHasVisibilityHidden,e.hasDisplayNone=t.hasDisplayNone,e.isInlined=t.isInlined,e.hasVisibilityHidden=t.hasVisibilityHidden,e),Ki=class{constructor(e){this.layout=e,this.rootNode=null,this.rootNodes=new Set,this.nodes=new Map,this.scrollX=0,this.scrollY=0}revert(){return this.forEachNode(e=>{this.layout.pendingRemoval.delete(e.$el),e.$el.removeAttribute(“data-layout-id”),e.$measure.removeAttribute(“data-layout-id”)}),this.rootNode=null,this.rootNodes.clear(),this.nodes.clear(),this}getNode(e){if(!(!e||!e.dataset))return this.nodes.get(e.dataset.layoutId)}getComputedValue(e,s){let i=this.getNode(e);if(i)return i.properties[s]}forEach(e,s){let i=e,r=0;for(;i;)if(s(i,r++),i._head)i=i._head;else if(i._next)i=i._next;else{for(;i&&!i._next;)i=i.parentNode;i&&(i=i._next)}}forEachRootNode(e){this.forEach(this.rootNode,e)}forEachNode(e){for(let s of this.rootNodes)this.forEach(s,e)}registerElement(e,s){if(!e||e.nodeType!==1)return null;this.layout.transitionMuteStore.has(e)||this.layout.transitionMuteStore.set(e,ms(e));let i=[e,s],r=this.layout.root,n=null;for(;i.length;){let o=i.pop(),l=i.pop();if(!l||l.nodeType!==1||We.isSvg(l))continue;let a=o?o.measuredIsRemoved:!1,c=a?Ld:getComputedStyle(l),h=a?!0:c.display===”none”,d=a?!0:c.visibility===”hidden”,p=!h&&!d,g=l.dataset.layoutId,v=Yi(r,l),u=g?this.nodes.get(g):null;if(u&&u.$el!==l){let b=Yi(r,u.$el),T=u.measuredIsVisible,x=!b&&(v||!v&&!T&&p),w=b&&!T&&p;if(x)Id(u),u=Na(l,o,this,u);else if(w){La(u,l,c,a);let E=l.lastElementChild;for(;E;)i.push(E,u),E=E.previousElementSibling;n||(n=u);continue}else{let E=l.lastElementChild;for(;E;)i.push(E,o),E=E.previousElementSibling;n||(n=u);continue}}else u=Na(l,o,this,u);u.branchAdded=!1,u.branchRemoved=!1,u.branchNotRendered=!1,u.isTarget=!1,u.sizeChanged=!1,u.hasVisibilityHidden=d,u.hasDisplayNone=h,u.hasVisibilitySwap=d&&!u.measuredHasVisibilityHidden||h&&!u.measuredHasDisplayNone,this.nodes.set(u.id,u),u.parentNode=o||null,u._prev=null,u._next=null,o?(this.rootNodes.delete(u),o._head?(o._tail._next=u,u._prev=o._tail,o._tail=u):(o._head=u,o._tail=u)):this.rootNodes.add(u),La(u,u.$el,c,a);let f=l.lastElementChild;for(;f;)i.push(f,u),f=f.previousElementSibling;n||(n=u)}return n}ensureDetachedNode(e,s){if(!e||e===this.layout.root)return null;let i=e.dataset.layoutId,r=i?this.nodes.get(i):null;if(r&&r.$el===e)return r;let n=null,o=e.parentElement;for(;o&&o!==this.layout.root;){if(s.has(o)){n=this.ensureDetachedNode(o,s);break}o=o.parentElement}return this.registerElement(e,n)}record(){let e=this.layout,s=e.children,i=e.root,r=We.isArr(s)?s:[s],n=[],o=s===”*”?i:Ls.scope.root,l=[],a=i.parentElement;for(;a&&a.nodeType===1;){let f=getComputedStyle(a);if(f.transform&&f.transform!==”none”){let b=a.style.transform||””,T=ms(a);l.push(a,b,T),a.style.transform=”none”}a=a.parentElement}for(let f=0,b=r.length;f{g.push(f.$el)}),this.nodes.forEach((f,b)=>{f.index=p++,f.targets=g,f&&f.measuredIsInsideRoot&&d.add(b)});let v=new Set,u=[];for(let f=0,b=c.length;f<b;f++){let T=c[f];if(!T||T.nodeType!==1||T===i)continue;if(!Yi(i,T)){let w=T.dataset.layoutId;if(!w||!d.has(w))continue}v.has(T)||(v.add(T),u.push(T))}for(let f=0,b=u.length;f<b;f++)this.ensureDetachedNode(u[f],v);for(let f=0,b=c.length;f<b;f++){let T=c[f],x=this.getNode(T);if(x){let w=x;for(;w&&!w.isTarget;)w.isTarget=!0,w=w.parentNode}}this.scrollX=window.scrollX,this.scrollY=window.scrollY,this.forEachNode(Dd);for(let f=0,b=l.length;f<b;f+=3){let T=l[f],x=l[f+1],w=l[f+2];x&&x!==""?T.style.transform=x:T.style.removeProperty("transform"),ji(T,w)}return this}};function fs(t){let e={},s={};for(let i in t){let r=t[i],n=i==="ease";i==="duration"||i==="delay"||n?s[i]=r:e[i]=r}return[e,s]}var Ji=class{constructor(e,s={}){Ls.scope.current&&Ls.scope.current.register(this);let i=fs(s.swapAt),r=fs(s.enterFrom),n=fs(s.leaveTo),o=s.properties;if(s.duration=ze.setValue(s.duration,350),s.delay=ze.setValue(s.delay,0),s.ease=ze.setValue(s.ease,"inOut(3.5)"),this.params=s,this.root=$a.registerTargets(e)[0],this.id=s.id||Pd++,this.children=s.children||"*",this.absoluteCoords=!1,this.swapAtParams=We.mergeObjects(s.swapAt||{opacity:0},{ease:"inOut(1.75)"}),this.enterFromParams=s.enterFrom||{opacity:0},this.leaveToParams=s.leaveTo||{opacity:0},this.properties=new Set(["opacity","fontSize","color","backgroundColor","borderRadius","border","filter","clipPath"]),i[0])for(let l in i[0])this.properties.add(l);if(r[0])for(let l in r[0])this.properties.add(l);if(n[0])for(let l in n[0])this.properties.add(l);if(o)for(let l=0,a=o.length;l
    this.recordedProperties.add(l)),this.pendingRemoval=new WeakSet,this.transitionMuteStore=new Map,this.oldState=new Ki(this),this.newState=new Ki(this),this.timeline=null,this.transformAnimation=null,this.animating=[],this.swapping=[],this.leaving=[],this.entering=[],this.oldState.record(),Xi(this.transitionMuteStore)}revert(){return this.root.classList.remove(“is-animated”),this.timeline&&(this.timeline.complete(),this.timeline=null),this.transformAnimation&&(this.transformAnimation.complete(),this.transformAnimation=null),this.animating.length=this.swapping.length=this.leaving.length=this.entering.length=0,this.oldState.revert(),this.newState.revert(),requestAnimationFrame(()=>Xi(this.transitionMuteStore)),this}record(){return this.transformAnimation&&(this.transformAnimation.cancel(),this.transformAnimation=null),this.oldState.record(),this.timeline&&(this.timeline.cancel(),this.timeline=null),this.newState.forEachRootNode(ka),this}animate(e={}){let s={ease:ze.setValue(e.ease,this.params.ease),delay:ze.setValue(e.delay,this.params.delay),duration:ze.setValue(e.duration,this.params.duration)},i={id:this.id},r=ze.setValue(e.onComplete,this.params.onComplete),n=ze.setValue(e.onPause,this.params.onPause);for(let m in Ls.defaults)m!==”ease”&&m!==”duration”&&m!==”delay”&&(We.isUnd(e[m])?We.isUnd(this.params[m])||(i[m]=this.params[m]):i[m]=e[m]);i.onComplete=()=>{let m=e.autoplay,C=Ls.globals.editor;if(m&&m.linked||C&&C.showPanel){r&&r(this.timeline);return}this.transformAnimation&&this.transformAnimation.cancel(),f.forEachRootNode(_=>{Da(_),ka(_)});for(let _=0,L=G.length;_{this.root.classList.contains(“is-animated”)||Xi(this.transitionMuteStore)})},i.onPause=()=>{let m=e.autoplay;if(m&&m.linked){r&&r(this.timeline),n&&n(this.timeline);return}this.root.classList.contains(“is-animated”)&&(this.transformAnimation&&this.transformAnimation.cancel(),f.forEachRootNode(Da),this.root.classList.remove(“is-animated”),r&&r(this.timeline),n&&n(this.timeline))},i.composition=!1;let o=We.mergeObjects(We.mergeObjects(e.swapAt||{},this.swapAtParams),s),l=We.mergeObjects(We.mergeObjects(e.enterFrom||{},this.enterFromParams),s),a=We.mergeObjects(We.mergeObjects(e.leaveTo||{},this.leaveToParams),s),[c,h]=fs(o),[d,p]=fs(l),[g,v]=fs(a),u=this.oldState,f=this.newState,b=this.animating,T=this.swapping,x=this.entering,w=this.leaving,E=this.pendingRemoval;b.length=T.length=x.length=w.length=0,u.forEachRootNode(Nd),f.record(),f.forEachRootNode(kd);let V=[],$=[],G=[],K=[],M=f.rootNode,q=M.$el;f.forEachRootNode(m=>{let C=m.$el,y=m.id,_=m.parentNode,L=_?_.branchAdded:!1,k=_?_.branchRemoved:!1,P=_?_.branchNotRendered:!1,B=u.nodes.get(y),ue=!B;ue?(B=hn(m,{},u),u.nodes.set(y,B),B.measuredIsRemoved=!0):B.measuredIsRemoved&&!m.measuredIsRemoved&&(hn(m,B,u),B.measuredIsRemoved=!0);let O=B.parentNode,Q=O?O.id:null,he=_?_.id:null,te=Q!==he,Ne=B.$el!==m.$el,Le=B.measuredIsRemoved,F=m.measuredIsRemoved;if(!B.measuredIsRemoved&&!F&&!ue&&(te||Ne)){let $e=B.properties.left,ce=B.properties.top,Ce=_||f.rootNode,J=Ce.id?u.nodes.get(Ce.id):null,we=J?J.properties.left:Ce.properties.left,A=J?J.properties.top:Ce.properties.top,ee=J?J.properties.clientLeft:Ce.properties.clientLeft,j=J?J.properties.clientTop:Ce.properties.clientTop;B.properties.x=$e-we-ee,B.properties.y=ce-A-j}m.hasVisibilitySwap&&(m.hasVisibilityHidden&&(m.$el.style.visibility=”visible”,m.$measure.style.visibility=”hidden”),m.hasDisplayNone&&(m.$el.style.display=B.measuredDisplay||m.measuredDisplay||””,m.$measure.style.visibility=”hidden”));let re=E.has(C),xe=B.measuredIsVisible,qe=m.measuredIsVisible,de=!xe&&qe&&!P,be=!F&&(Le||re)&&!L,_e=F&&!Le&&!k,Re=_e||F&&re&&!k;m.branchAdded=L||be,m.branchRemoved=k||Re,m.branchNotRendered=P||F,F&&xe&&(m.$el.style.display=B.measuredDisplay,m.$el.style.visibility=”visible”,hn(B,m,f)),_e?(m.isTarget&&(w.push(C),m.isLeaving=!0),E.add(C)):!F&&re&&E.delete(C),be&&!P||de?(Ia(B,d),m.isTarget&&(x.push(C),m.isEntering=!0)):Re&&!P&&Ia(m,g),m!==M&&m.isTarget&&!m.isEntering&&!m.isLeaving&&b.push(C),V.push(C)});let D=0,Y=0,R=0;f.forEachRootNode(m=>{let C=m.$el,y=m.parentNode,_=u.nodes.get(m.id),L=m.properties,k=_.properties,P=y!==M&&y;for(;P&&!P.isTarget&&P!==M;)P=P.parentNode;m===M?(m.index=0,m.targets=b,Ns(m,s)):m.isEntering?(m.index=P?P.index:D,m.targets=P?b:x,Ns(m,p),D++):m.isLeaving?(m.index=P?P.index:Y,m.targets=P?b:w,Y++,Ns(m,v)):m.isTarget?(m.index=R++,m.targets=b,Ns(m,s)):(m.index=P?P.index:0,m.targets=b,Ns(m,h)),_.index=m.index,_.targets=m.targets;for(let Q in L)L[Q]=ze.getFunctionValue(L[Q],C,m.index,m.targets,null,null),k[Q]=ze.getFunctionValue(k[Q],C,_.index,_.targets,null,null);let B=1,ue=Math.abs(L.width-k.width)>B,O=Math.abs(L.height-k.height)>B;if(m.sizeChanged=ue||O,m.isTarget&&(!m.measuredIsRemoved&&_.measuredIsVisible||m.measuredIsRemoved&&m.measuredIsVisible)){(L.transform!==”none”||k.transform!==”none”)&&(m.hasTransform=!0,G.push(C));for(let Q in L)if(Q!==”transform”&&L[Q]!==k[Q]){$.push(C);break}}m.isTarget||(T.push(C),m.sizeChanged&&y&&y.isTarget&&y.sizeChanged&&(c.transform&&(m.hasTransform=!0,G.push(C)),K.push(C)))});let I={delay:m=>f.getNode(m).delay,duration:m=>f.getNode(m).duration,ease:m=>f.getNode(m).ease};if(i.defaults=I,this.timeline=Ad.createTimeline(i),!$.length&&!G.length&&!T.length)return Xi(this.transitionMuteStore),this.timeline.complete();if(V.length){this.root.classList.add(“is-animated”);for(let m=0,C=V.length;mwindow.scrollTo(u.scrollX,u.scrollY));for(let m=0,C=$.length;m{let he=P[Q],te=B[Q];Q!==”transform”&&he!==te&&(O[Q]=[he,te],ue=!0)}),ue&&this.timeline.add(y,O,0)}}if(T.length){for(let m=0,C=T.length;m{k!==”transform”&&(y.style[k]=`${u.getComputedValue(y,k)}`)})}for(let m=0,C=T.length;m{y.style.width=`${L.width}px`,y.style.height=`${L.height}px`,y.style.minWidth=”auto”,y.style.minHeight=”auto”,y.style.maxWidth=”none”,y.style.maxHeight=”none”,_.isInlined||(y.style.translate=`${L.x}px ${L.y}px`),this.properties.forEach(k=>{k!==”transform”&&(y.style[k]=`${f.getComputedValue(y,k)}`)})},_.delay+_.duration/2)}if(K.length){let m=Vd.parseEase(f.nodes.get(K[0].dataset.layoutId).ease),C=_=>1-m(1-_),y={};if(c)for(let _ in c)_!==”transform”&&(y[_]=[{from:L=>u.getComputedValue(L,_),to:c[_]},{from:c[_],to:L=>f.getComputedValue(L,_),ease:C}]);this.timeline.add(K,y,0)}}let oe=G.length;if(oe){for(let m=0;mf.getNode(m).isInlined?”0px 0px”:`${f.getComputedValue(m,”x”)}px ${f.getComputedValue(m,”y”)}px`,transform:m=>{let C=f.getComputedValue(m,”transform”);if(!K.includes(m))return C;let y=u.getComputedValue(m,”transform”),_=f.getNode(m);return[y,ze.getFunctionValue(c.transform,m,_.index,_.targets,null,null),C]},autoplay:!1,…I}),this.timeline.sync(this.transformAnimation,0)}return this.timeline.init()}update(e,s={}){return this.record(),e(this),this.animate(s)}},$d=(t,e)=>new Ji(t,e);dn.AutoLayout=Ji;dn.createLayout=$d});var pn=z(at=>{“use strict”;var Od=Se(),Fd=Mr(),mt=Fd,Gi={},Md=(t,e=0)=>(…s)=>e?i=>t(…s,i):i=>t(i,…s),Fa=t=>(…e)=>{let s=t(…e);return new Proxy(Od.noop,{apply:(i,r,[n])=>s(n),get:(i,r)=>{if(Gi[r])return Fa((…n)=>{let o=Gi[r](…n);return l=>o(s(l))})}})},gt=(t,e,s=0)=>{let i=(…r)=>(r.length{“use strict”;var fn=(t=0,e=1,s=0)=>{let i=10**s;return Math.floor((Math.random()*(e-t+1/i)+t)*i)/i},Qd=0,ep=(t,e=0,s=1,i=0)=>{let r=t===void 0?Qd++:t;return(n=e,o=s,l=i)=>{r+=1831565813,r=Math.imul(r^r>>>15,r|1),r^=r+Math.imul(r^r>>>7,r|61);let a=10**l;return Math.floor((((r^r>>>14)>>>0)/4294967296*(o-n+1/a)+n)*a)/a}},tp=t=>t[fn(0,t.length-1)],sp=(t,e=fn)=>{let s=t.length,i,r;for(;s;)r=e(0,–s),i=t[s],t[s]=t[r],t[r]=i;return t};Is.createSeededRandom=ep;Is.random=fn;Is.randomPick=tp;Is.shuffle=sp});var gn=z(Ba=>{“use strict”;var Ma=Se(),me=le(),ip=ht(),rp=Ir(),np=Ke(),op=Je(),mn=ks(),ap=(t,e={})=>{let s=[],i=0,r,n=null,o=e.from,l=e.reversed,a=e.ease,c=!me.isUnd(a),d=c&&!me.isUnd(a.ease)?a.ease:c?ip.parseEase(a):null,p=e.grid,g=p===!0,v=e.axis,u=e.total,f=me.isUnd(o)||o===0||o===”first”,b=o===”center”,T=o===”last”,x=o===”random”,w=me.isArr(o),E=me.isArr(t),V=e.use,$=E?me.parseNumber(t[0]):me.parseNumber(t),G=E?me.parseNumber(t[1]):0,K=Ma.unitsExecRgx.exec((E?t[1]:t)+Ma.emptyString),M=e.start||0+(E?$:0),q=e.seed,Y=!me.isUnd(q)&&q!==!1?mn.createSeededRandom(q===!0?0:q):mn.random,R=e.jitter,I=!me.isUnd(R),oe=me.isArr(R),m=oe?R[0]:R||0,C=oe?R[1]:R||0,y=f?0:me.isNum(o)?o:0;return(_,L,k,P,B)=>{let[ue]=op.registerTargets(_),O=me.isUnd(u)?k.length:u,Q=me.isUnd(V)?!1:me.isFnc(V)?V(ue,L,O):np.getOriginalAnimatableValue(ue,V),he=me.isNum(Q)||me.isStr(Q)&&me.isNum(+Q)?+Q:L,te=he>=0&&he<O?he:L;if(b&&(y=(O-1)/2),T&&(y=O-1),!s.length){if(g){let F=!0,re=!1,xe=1/0,qe=1/0,de=1/0,be=-1/0,_e=-1/0,Re=-1/0,$e=[],ce=[],Ce=[];for(let J=0;J<O;J++){let we=k[J],A=0,ee=0,j=0,H=!1;if(we&&me.isFnc(we.getBoundingClientRect)){let ge=we.getBoundingClientRect();A=ge.left+ge.width/2,ee=ge.top+ge.height/2,H=!0}else{let ge=we;ge&&me.isNum(ge.x)&&me.isNum(ge.y)&&(A=ge.x,ee=ge.y,me.isNum(ge.z)&&(j=ge.z,re=!0),H=!0)}if(!H){F=!1;break}$e.push(A),ce.push(ee),Ce.push(j),A<xe&&(xe=A),ee<qe&&(qe=ee),jbe&&(be=A),ee>_e&&(_e=ee),j>Re&&(Re=j)}if(F){let J=$e[0],we=ce[0],A=Ce[0];w?(J=xe+o[0]*(be-xe),we=qe+o[1]*(_e-qe),A=re?de+(o.length>=3?o[2]:.5)*(Re-de):0):b?(J=(xe+be)/2,we=(qe+_e)/2,A=(de+Re)/2):T?(J=$e[O-1],we=ce[O-1],A=Ce[O-1]):me.isNum(o)&&(J=$e[o],we=ce[o],A=Ce[o]);for(let j=0;j<O;j++){let H=J-$e[j],ge=we-ce[j],Pe=A-Ce[j],Xe=me.sqrt(H*H+ge*ge+(re?Pe*Pe:0));v==="x"&&(Xe=-H),v==="y"&&(Xe=-ge),v==="z"&&(Xe=-Pe),s.push(Xe)}let ee=1/0;for(let j=0;j0&&H0&&ee<1/0)for(let j=0;j<O;j++)s[j]=s[j]/ee}else for(let J=0;J<O;J++)s.push(me.abs(y-J))}else for(let F=0;F=3?o[2]:.5)*(p[2]-1):0):b?(qe=(p[0]-1)/2,de=(p[1]-1)/2,be=re===3?(p[2]-1)/2:0):(qe=y%p[0],de=me.floor(y/p[0])%p[1],be=re===3?me.floor(y/xe):0);let _e=F%p[0],Re=me.floor(F/p[0])%p[1],$e=re===3?me.floor(F/xe):0,ce=qe-_e,Ce=de-Re,J=be-$e,we=me.sqrt(ce*ce+Ce*Ce+(re===3?J*J:0));v===”x”&&(we=-ce),v===”y”&&(we=-Ce),v===”z”&&(we=-J),s.push(we)}i=s[0];for(let F=1;Fi&&(i=s[F]);if(d||l)for(let F=0;F<O;F++){let re=s[F];d&&(re=d(re/i)*i),l&&(re=v?-re:me.abs(i-re)),s[F]=re}if(I){n=new Array(O);for(let F=0;F{“use strict”;var vt=pn(),Zi=ks(),Ua=ds(),vn=As(),lp=gn(),yn=le(),cp=Wt(),up=Je();Ve.clamp=vt.clamp;Ve.damp=vt.damp;Ve.degToRad=vt.degToRad;Ve.lerp=vt.lerp;Ve.mapRange=vt.mapRange;Ve.padEnd=vt.padEnd;Ve.padStart=vt.padStart;Ve.radToDeg=vt.radToDeg;Ve.round=vt.round;Ve.roundPad=vt.roundPad;Ve.snap=vt.snap;Ve.wrap=vt.wrap;Ve.createSeededRandom=Zi.createSeededRandom;Ve.random=Zi.random;Ve.randomPick=Zi.randomPick;Ve.shuffle=Zi.shuffle;Ve.keepTime=Ua.keepTime;Ve.sync=Ua.sync;Ve.get=vn.get;Ve.remove=vn.remove;Ve.set=vn.set;Ve.stagger=lp.stagger;Ve.addChild=yn.addChild;Ve.forEachChildren=yn.forEachChildren;Ve.removeChild=yn.removeChild;Ve.cleanInlineStyles=cp.cleanInlineStyles;Ve.$=up.registerTargets});var bn=z(za=>{“use strict”;var hp=le(),dp=Je(),pp=t=>{let s=dp.parseTargets(t)[0];return!s||!hp.isSvg(s)?console.warn(`${t} is not a valid SVGGeometryElement`):s};za.getPath=pp});var wn=z(Xa=>{“use strict”;var fp=Se(),Wa=le(),mp=bn(),Tn=(t,e,s,i,r)=>{let n=s+i,o=r?Math.max(0,Math.min(n,e)):(n%e+e)%e;return t.getPointAtLength(o)},Sn=(t,e,s=0)=>i=>{let r=+t.getTotalLength(),n=i[fp.isSvgSymbol],o=t.getCTM(),l=s===0;return{from:0,to:r,modifier:a=>{let c=s*r,h=a+c;if(e===”a”){let d=Tn(t,r,h,-1,l),p=Tn(t,r,h,1,l);return Wa.atan2(p.y-d.y,p.x-d.x)*180/Wa.PI}else{let d=Tn(t,r,h,0,l);return e===”x”?n||!o?d.x:d.x*o.a+d.y*o.c+o.e:n||!o?d.y:d.x*o.b+d.y*o.d+o.f}}}},gp=(t,e=0)=>{let s=mp.getPath(t);if(s)return{translateX:Sn(s,”x”,e),translateY:Sn(s,”y”,e),rotate:Sn(s,”a”,e)}};Xa.createMotionPath=gp});var _n=z(ja=>{“use strict”;var Ya=Se(),xn=le(),vp=Je(),yp=t=>{let e=1;if(t&&t.getCTM){let s=t.getCTM();if(s){let i=xn.sqrt(s.a*s.a+s.b*s.b),r=xn.sqrt(s.c*s.c+s.d*s.d);e=(i+r)/2}}return e},bp=(t,e,s)=>{let i=Ya.K,r=getComputedStyle(t),n=r.strokeLinecap,o=r.vectorEffect===”non-scaling-stroke”?t:null,l=n,a=new Proxy(t,{get(c,h){let d=c[h];return h===Ya.proxyTargetSymbol?c:h===”setAttribute”?(…p)=>{if(p[0]===”draw”){let v=p[1].split(” “),u=+v[0],f=+v[1],b=yp(o),T=u*-i*b,x=f*i*b+T,w=i*b+(u===0&&f===1||u===1&&f===0?0:10*b)-x;if(n!==”butt”){let E=u===f?”butt”:n;l!==E&&(c.style.strokeLinecap=`${E}`,l=E)}c.setAttribute(“stroke-dashoffset”,`${T}`),c.setAttribute(“stroke-dasharray”,`${x} ${w}`)}return Reflect.apply(d,c,p)}:xn.isFnc(d)?(…p)=>Reflect.apply(d,c,p):d}});return t.getAttribute(“pathLength”)!==`${i}`&&(t.setAttribute(“pathLength”,`${i}`),a.setAttribute(“draw”,`${e} ${s}`)),a},Tp=(t,e=0,s=0)=>vp.parseTargets(t).map(r=>bp(r,e,s));ja.createDrawable=Tp});var Cn=z(Ja=>{“use strict”;var Ka=le(),Sp=bn(),wp=(t,e=.33)=>(s,i,r,n)=>{if(!(s.tagName||””).toLowerCase().match(/^(path|polygon|polyline)$/))throw new Error(`Can’t morph a SVG element. Use , or .`);let l=Sp.getPath(t);if(!l)throw new Error(“Can’t morph to an invalid target. ‘path2’ must resolve to an existing , or SVG element.”);if(!(l.tagName||””).toLowerCase().match(/^(path|polygon|polyline)$/))throw new Error(`Can’t morph a SVG element. Use , or .`);let c=s.tagName===”path”,h=c?” “:”,”,d=n?n._value:null;d&&s.setAttribute(c?”d”:”points”,d);let p=””,g=””;if(!e)p=s.getAttribute(c?”d”:”points”),g=l.getAttribute(c?”d”:”points”);else{let v=s.getTotalLength(),u=l.getTotalLength(),f=Math.max(Math.ceil(v*e),Math.ceil(u*e));for(let b=0;b{“use strict”;var xp=wn(),_p=_n(),Cp=Cn();Qi.createMotionPath=xp.createMotionPath;Qi.createDrawable=_p.createDrawable;Qi.morphTo=Cp.morphTo});var In=z(ir=>{“use strict”;var yt=Se(),Za=ke(),bt=le(),Ep=Je(),Os=Ke(),Vp=ds(),er=typeof Intlt.isWordLike||t.segment===” “||bt.isNum(+t.segment),Rn=t=>t.setAttribute(“aria-hidden”,”true”),tr=(t,e)=>[…t.querySelectorAll(`[data-${e}]:not([data-${e}] [data-${e}])`)],Pp={line:”#00D672″,word:”#FF4B4B”,char:”#5A87FF”},el=t=>{if(!t.childElementCount&&!t.textContent.trim()){let e=t.parentElement;t.remove(),e&&el(e)}},tl=(t,e,s)=>{let i=t.getAttribute(Fs);if(i!==null&&+i!==e||t.tagName===”BR”){s.add(t);let n=t.previousSibling,o=t.nextSibling;n&&n.nodeType===3&&Nn.test(n.textContent)&&s.add(n),o&&o.nodeType===3&&Nn.test(o.textContent)&&s.add(o)}let r=t.childElementCount;for(;r–;)tl(t.children[r],e,s);return s},Pn=(t,e={})=>{let s=””;e||(e={});let i=bt.isStr(e.class)?` class=”${e.class}”`:””,r=Os.setValue(e.clone,!1),n=Os.setValue(e.wrap,!1),o=n?n===!0?”clip”:n:r?”clip”:!1;if(n&&(s+=``),s+=``,r){let l=r===”left”?”-100%”:r===”right”?”100%”:”0″,a=r===”top”?”-100%”:r===”bottom”?”100%”:”0″;s+=”{value}“,s+=`{value}`}else s+=”{value}”;return s+=”“,n&&(s+=”“),s},qn=(t,e,s,i,r,n,o,l,a)=>{let c=r===Ln,h=r===$s,d=`_${r}_`,p=bt.isFnc(t)?t(s):t,g=c?”block”:”inline-block”;sr.innerHTML=p.replace(Ap,``).replace(Rp,`${h?a:c?o:l}`);let v=sr.content,u=v.firstElementChild,f=v.querySelector(`[data-${r}]`)||u,b=v.querySelectorAll(`i.${d}`),T=b.length;if(T){u.style.display=g,f.style.display=g,f.setAttribute(Fs,`${o}`),c||(f.setAttribute(“data-word”,`${l}`),h&&f.setAttribute(“data-char”,`${a}`));let x=T;for(;x–;){let w=b[x],E=w.parentElement;E.style.display=g,c?E.innerHTML=s.innerHTML:E.replaceChild(s.cloneNode(!0),w)}e.push(f),i.appendChild(v)}else console.warn(‘The expression “{value}” is missing from the provided template.’);return n&&(u.style.outline=`1px dotted ${Pp[r]}`),u},Ms=class{constructor(e,s={}){Vn||(Vn=er?new er([],{granularity:Ds}):{segment:v=>{let u=[],f=v.split(En);for(let b=0,T=f.length;b[…v].map(u=>({segment:u}))}),!sr&&yt.isBrowser&&(sr=yt.doc.createElement(“template”)),Za.scope.current&&Za.scope.current.register(this);let{words:i,chars:r,lines:n,accessible:o,includeSpaces:l,debug:a}=s,c=(e=bt.isArr(e)?e[0]:e)&&e.nodeType?e:(Ep.getNodeList(e)||[])[0],h=n===!0?{}:n,d=i===!0||bt.isUnd(i)?{}:i,p=r===!0?{}:r;this.debug=Os.setValue(a,!1),this.includeSpaces=Os.setValue(l,!1),this.accessible=Os.setValue(o,!0),this.linesOnly=h&&!d&&!p,this.lineTemplate=bt.isObj(h)?Pn(Ln,h):h,this.wordTemplate=bt.isObj(d)||this.linesOnly?Pn(Ds,d):d,this.charTemplate=bt.isObj(p)?Pn($s,p):p,this.$target=c,this.html=c&&c.innerHTML,this.lines=[],this.words=[],this.chars=[],this.effects=[],this.effectsCleanups=[],this.cache=null,this.ready=!1,this.width=0,this.resizeTimeout=null;let g=()=>this.html&&(h||d||p)&&this.split();this.resizeObserver=new ResizeObserver(()=>{clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{let v=c.offsetWidth;v!==this.width&&(this.width=v,g())},150)}),this.lineTemplate&&!this.ready?yt.doc.fonts.ready.then(g):g(),c?this.resizeObserver.observe(c):console.warn(“No Text Splitter target found.”)}addEffect(e){if(!bt.isFnc(e))return console.warn(“Effect must return a function.”),this;let s=Vp.keepTime(e);return this.effects.push(s),this.ready&&(this.effectsCleanups[this.effects.length-1]=s(this)),this}revert(){return clearTimeout(this.resizeTimeout),this.lines.length=this.words.length=this.chars.length=0,this.resizeObserver.disconnect(),this.effectsCleanups.forEach(e=>bt.isFnc(e)?e(this):e.revert&&e.revert()),this.$target.innerHTML=this.html,this}splitNode(e){let s=this.wordTemplate,i=this.charTemplate,r=this.includeSpaces,n=this.debug,o=e.nodeType;if(o===3){let l=e.nodeValue;if(l.trim()){let a=[],c=this.words,h=this.chars,d=Vn.segment(l),p=yt.doc.createDocumentFragment(),g=null;for(let v of d){let u=v.segment,f=Qa(v);if(!g||f&&g&&Qa(g))a.push(u);else{let b=a.length-1,T=a[b];!En.test(T)&&!En.test(u)?a[b]+=u:a.push(u)}g=v}for(let v=0,u=a.length;v<u;v++){let f=a[v];if(f.trim()){let b=a[v+1],T=r&&b&&!b.trim(),x=f,w=i?An.segment(x):null,E=i?yt.doc.createDocumentFragment():yt.doc.createTextNode(T?f+"xA0":f);if(i){let V=[…w];for(let $=0,G=V.length;$<G;$++){let K=V[$],q=$===G-1&&T?K.segment+"xA0":K.segment,D=yt.doc.createTextNode(q);qn(i,h,D,E,$s,n,-1,c.length,h.length)}}s?qn(s,c,E,p,Ds,n,-1,c.length,h.length):i?p.appendChild(E):p.appendChild(yt.doc.createTextNode(f)),T&&v++}else{if(v&&r)continue;p.appendChild(yt.doc.createTextNode(f))}}e.parentNode.replaceChild(p,e)}}else if(o===1){let l=[…e.childNodes];for(let a=0,c=l.length;abt.isFnc(p)&&p(this)),i||(e&&(s.innerHTML=this.html,this.words.length=this.chars.length=0),this.splitNode(s),this.cache=s.innerHTML),a&&(i&&(s.innerHTML=this.cache),this.lines.length=0,n&&(this.words=tr(s,Ds))),o&&(a||n)&&(this.chars=tr(s,$s));let c=this.words.length?this.words:this.chars,h,d=0;for(let p=0,g=c.length;pf*.5&&d++,v.setAttribute(Fs,`${d}`);let b=v.querySelectorAll(`[${Fs}]`),T=b.length;for(;T–;)b[T].setAttribute(Fs,`${d}`);h=u}if(a){let p=yt.doc.createDocumentFragment(),g=new Set,v=[];for(let u=0;u{let T=b.parentNode;T&&(b.nodeType===1&&g.add(T),T.removeChild(b))}),v.push(f)}g.forEach(el);for(let u=0,f=v.length;uthis.effectsCleanups[g]=p(this)),this}refresh(){this.split(!0)}},qp=(t,e)=>new Ms(t,e),Np=(t,e)=>(console.warn(“text.split() is deprecated, import splitText() directly, or text.splitText()”),new Ms(t,e));ir.TextSplitter=Ms;ir.split=Np;ir.splitText=qp});var Dn=z(nl=>{“use strict”;var sl=ks(),Bs=ke(),Us=le(),Lp=ht(),Ip=Se(),il=t=>{let e=””;for(let s=0,i=t.length;s<i;s++)if(s+2<i&&t[s+1]==="-"&&t.charCodeAt(s)<t.charCodeAt(s+2)){let r=t.charCodeAt(s),n=t.charCodeAt(s+2);for(let o=r;o{t||(t={});let e=t.chars,s=Lp.parseEase(t.ease||”linear”),i=t.text,r=t.from,n=t.reversed||!1,o=t.perturbation||0,l=t.cursor,a=l===!0?”_”:typeof l==”number”?String.fromCharCode(l):typeof l==”string”?l:””,c=a.length,h=t.seed||0,d=t.override!==void 0?t.override:!0,p=t.revealRate||60,g=1e3*Bs.globals.timeScale/p,v=t.settleDuration||300*Bs.globals.timeScale,u=t.settleRate||30,f=t.duration,b=t.revealDelay,T=t.delay,x=t.onChange||Ip.noop;return(w,E,V,$)=>{let G=typeof e==”function”?e(w,E,V):e||”a-zA-Z0-9!%#_”,K=il(rl[G]||G),M=K.length-1,q=typeof f==”function”?f(w,E,V):f,D=typeof b==”function”?b(w,E,V):b||0,Y=typeof T==”function”?T(w,E,V):T||0,R=h?sl.createSeededRandom(h):sl.createSeededRandom();kn.has(w)||kn.set(w,w.textContent);let I=$?$._value:w.textContent,oe=i!==void 0?typeof i==”function”?i(w,E,V):i:$?$._value:kn.get(w),m=oe===” “||oe===” “?”xA0″:oe,C=I===”xA0″?0:I.length,y=m.length,_=d===!0?K:typeof d==”string”&&d.length>0?il(rl[d]||d):null,L=_?_.length-1:0,k=d===” “?”xA0″:null,P=d===””?y:Math.max(C,y),B=q>0?q:(P-1)*g+v,ue=Us.round((B+D)/Bs.globals.timeScale,0)*Bs.globals.timeScale,O=D>0?Us.round(D/ue,12):0,Q=r===void 0||r===”auto”?y<C?"right":"left":r,he=new Int32Array(P);if(Q==="random"){for(let A=0;A

    0;A–){let ee=R(0,A),j=he[A];he[A]=he[ee],he[ee]=j}}else{let A=Q===”right”?(d===””||!C?P:C)-1:Q===”center”?((d===””||!C?P:C)-1)/2:typeof Q==”number”?Q:0,ee=Math.abs,j=new Array(P);for(let H=0;H

    ee(H-A)-ee(ge-A));for(let H=0;H<P;H++)he[j[H]]=H}if(n){let A=P-1;for(let ee=0;ee

    0?o*te:0;for(let A=0;A

    0?(R(0,2e3)-1e3)/1e3*qe:0,j=qe>0?(R(0,2e3)-1e3)/1e3*qe:0;re[A]=he[A]*Ne+ee,xe[A]=Math.ceil((re[A]+te+j)/F)*F}if(y<P&&Q!=="left"&&Q!=="right"&&Q!=="random"){let A=0;for(let H=y;H

    A&&(A=xe[H]);let ee=new Array(y);for(let H=0;Hhe[H]-he[ge]);let j=(1-A)/y;for(let H=0;Hxe[ee[H]]&&(xe[ee[H]]=ge)}}let de=new Array(P);for(let A=0;A<P;A++)de[A]=K[R(0,M)];let be=_?_===K?de:new Array(P):null;if(be&&be!==de)for(let A=0;A<P;A++)be[A]=k||_[R(0,_.length-1)];let _e=I;if(!$){if(d==="")_e="";else if(_){_e="";for(let A=0;A0;return{from:0,to:1,duration:ue,delay:Y,ease:”linear”,modifier:A=>{if(A===Re)return ce;if(Re=A,Y>0&&A<=0)return ce=I,I;if(A=1)return ce=m,m;ce=””;let ee=A/F|0,j=ee!==$e;j&&($e=ee);let H=O>0?(A-O)/(1-O):A,ge=H>0?s(H):0;for(let Pe=0;Pe

    =Nt){Pe<y&&(ce+=m[Pe]);continue}if(ge<=0||ge<Xe){Ce&&Pe<C&&(J?I[Pe]===" "?ce+=" ":(j&&(be[Pe]=k||_[R(0,L)]),ce+=be[Pe]):ce+=I[Pe]);continue}Pe<y&&m[Pe]===" "||Pe<C&&I[Pe]===" "?ce+=" ":we&&ge-Xe{“use strict”;var $n=In(),Dp=Dn();Hs.TextSplitter=$n.TextSplitter;Hs.split=$n.split;Hs.splitText=$n.splitText;Hs.scrambleText=Dp.scrambleText});var gl=z(N=>{“use strict”;var al=Xt(),ll=as(),cl=$r(),ul=Fr(),hl=da(),dl=ma(),On=Ta(),$p=ai(),Op=Ea(),pl=Oa(),Fp=Ha(),Mp=Ga(),Bp=ol(),fl=un(),Up=ke(),Hp=sn(),zp=nn(),Wp=Hi(),Xp=on(),Fn=Vi(),Yp=ht(),Mn=le(),Tt=pn(),rr=ks(),ml=ds(),jp=Wt(),Kp=Je(),Bn=As(),Jp=gn(),Gp=wn(),Zp=_n(),Qp=Cn(),Un=In(),ef=Dn();N.Timer=al.Timer;N.createTimer=al.createTimer;N.JSAnimation=ll.JSAnimation;N.animate=ll.animate;N.Timeline=cl.Timeline;N.createTimeline=cl.createTimeline;N.Animatable=ul.Animatable;N.createAnimatable=ul.createAnimatable;N.Draggable=hl.Draggable;N.createDraggable=hl.createDraggable;N.Scope=dl.Scope;N.createScope=dl.createScope;N.ScrollObserver=On.ScrollObserver;N.onScroll=On.onScroll;N.scrollContainers=On.scrollContainers;N.engine=$p.engine;N.easings=Op;N.AutoLayout=pl.AutoLayout;N.createLayout=pl.createLayout;N.utils=Fp;N.svg=Mp;N.text=Bp;N.WAAPIAnimation=fl.WAAPIAnimation;N.waapi=fl.waapi;N.globals=Up.globals;N.cubicBezier=Hp.cubicBezier;N.steps=zp.steps;N.linear=Wp.linear;N.irregular=Xp.irregular;N.Spring=Fn.Spring;N.createSpring=Fn.createSpring;N.spring=Fn.spring;N.eases=Yp.eases;N.addChild=Mn.addChild;N.forEachChildren=Mn.forEachChildren;N.removeChild=Mn.removeChild;N.clamp=Tt.clamp;N.damp=Tt.damp;N.degToRad=Tt.degToRad;N.lerp=Tt.lerp;N.mapRange=Tt.mapRange;N.padEnd=Tt.padEnd;N.padStart=Tt.padStart;N.radToDeg=Tt.radToDeg;N.round=Tt.round;N.roundPad=Tt.roundPad;N.snap=Tt.snap;N.wrap=Tt.wrap;N.createSeededRandom=rr.createSeededRandom;N.random=rr.random;N.randomPick=rr.randomPick;N.shuffle=rr.shuffle;N.keepTime=ml.keepTime;N.sync=ml.sync;N.cleanInlineStyles=jp.cleanInlineStyles;N.$=Kp.registerTargets;N.get=Bn.get;N.remove=Bn.remove;N.set=Bn.set;N.stagger=Jp.stagger;N.createMotionPath=Gp.createMotionPath;N.createDrawable=Zp.createDrawable;N.morphTo=Qp.morphTo;N.TextSplitter=Un.TextSplitter;N.split=Un.split;N.splitText=Un.splitText;N.scrambleText=ef.scrambleText});var Ws,Rl=(t,e)=>{Ws=Ws||window.PMNdataLayer,Ws?Ws.push({event:”misc_event”,eventAction:t,eventLabel:e}):window.location.hostname.includes(“localhost”)?console.log(“Analytics event:”,t,e,”(not actually being sent due to localhost)”):console.log(“Failed to push analytics event”,t,e)},ys={event:(t,e)=>{Rl(t,e)}};var Xs=document.querySelector(“.js-muter”),Pl=()=>{Xs.addEventListener(“click”,()=>{ql()})},ql=()=>{Xs.dataset.state==”muted”?(ys.event(“click”,”turned the volume on”),Xs.dataset.state=”volume”,Kn(!0)):(ys.event(“click”,”turned the volume off”),Xs.dataset.state=”muted”,Kn(!1))},Kn=t=>{document.querySelectorAll(“.js-video-container”).forEach(s=>{let i=s.querySelector(“.js-video”);i.muted=!t})},Jn={init:()=>{Pl()}};var mf=so();var js=()=>(window.PMNdataLayer?.[0]!==void 0&&window.PMNdataLayer[0])?.analytics?.user?.state===”Subscribed”,Ks=()=>{let e=(window.PMNdataLayer?.[0]!==void 0&&window.PMNdataLayer[0])?.analytics?.user?.state;return window.location.host.includes(“zzz-systest”)||window.location.host.includes(“pmn.arcpublishing.com”)||window.location.host.includes(“stage.fusion.inquirer.com”)||typeof e>”u”},io=()=>{let e=(window.PMNdataLayer?.[0]!==void 0&&window.PMNdataLayer[0])?.analytics?.user?.hasAdsFreeReading;return!!(e&&e==1)},bs=()=>window.location.host.includes(“localhost”);var Fl=()=>{io()&&document.querySelectorAll(“.js-adbox”).forEach(e=>{e.classList.add(“is-hidden”)})},ro={init:()=>{Fl()}};var Ht,no,Ml=()=>{Ht=document.getElementById(“js-inno-toast”)},Bl=t=>{if(!Ht)return;Ht.innerHTML=t,Ht.classList.add(“is-active”);let e=()=>{Ht.addEventListener(“transitionend”,Ul,{once:!0}),Ht.classList.remove(“is-active”)};clearTimeout(no),no=setTimeout(e,5e3)},Ul=()=>{Ht.innerHTML=””},zt={init:()=>{Ml()},showToast:Bl};var Js,oo=!1,Hl=async()=>new Promise(t=>{setTimeout(()=>{console.log(“simulating createShareLink for localhost”),t(“https://inquirer.com/interactives”),zl()},100)}),zl=()=>{let t=document.querySelector(“.js-gift-toast-receiver”);!t||!(t instanceof HTMLElement)||setTimeout(()=>{let e=t?.querySelector(“span”);e&&(e.innerHTML=”Gift link copied to clipboard“)},20)},Wl=()=>{let t=window.services?.createShareLink;t&&(Js=t),bs()&&(Js=Hl),Js&&Yl()},Xl=async t=>{let e=”text/plain”,s=async()=>{try{return await Js(window.location.pathname)}catch{t.dataset.state=”error”,zt.showToast(“Hmm, we couldn’t generate a gift link…”)}},i=new ClipboardItem({[e]:s()});await navigator.clipboard.write([i]).catch(r=>{console.log(r),zt.showToast(“Couldn’t copy to clipboard, try again?”),t.dataset.state=”error”}),zt.showToast(“Gift link copied to clipboard!”),t.dataset.state=”complete”},Yl=()=>{document.querySelectorAll(“.js-gift”).forEach(e=>{(js()||bs()||Ks())&&e.classList.add(“is-available”)}),document.querySelectorAll(“.js-gift-button”).forEach(e=>{e instanceof HTMLButtonElement&&e.addEventListener(“click”,()=>{e.classList.contains(“disabled”)||(e.dataset.state=”loading”,oo=!0,Xl(e),setTimeout(()=>{e.dataset.state=”ready”},2e3))})});let t=document.querySelector(“.js-gift-toast-receiver”);!t||!(t instanceof HTMLElement)||jl(t)},jl=t=>{new MutationObserver(s=>{for(let i of s){let r=[…i.addedNodes].at(0);if(!(r instanceof HTMLElement))return;oo&&zt.showToast(r.outerHTML)}}).observe(t,{subtree:!0,childList:!0})},ao={init:()=>{Wl()}};var Ts,Kl=()=>{document.querySelectorAll(“.js-hover”).forEach(t=>{t.addEventListener(“click”,()=>{lo(t)}),t.addEventListener(“mouseenter”,()=>{lo(t)}),t.addEventListener(“mouseout”,()=>{co(t)})}),window.addEventListener(“scroll”,()=>{Ts!==null&&Jl()})},Jl=()=>{(Ts>window.scrollY+100||Ts{co(t)})},lo=t=>{t.classList.add(“is-visible”),Ts=window.scrollY},co=t=>{t.classList.remove(“is-visible”),Ts=null},uo={init:()=>{Kl()}};var Gl=()=>{document.querySelectorAll(“.js-video”).forEach(e=>{e.addEventListener(“timeupdate”,()=>{Zl(e)}),e.pause()})},Zl=t=>{let e=t.parentNode.querySelector(“.js-video-progress”),s=t.currentTime,i=t.duration,n=-100+s/i*100;e.style.transform=`translateX(${n}%)`},Ql=t=>{let e=t?.querySelector(“.js-video-container”);document.querySelectorAll(“.js-video-container”).forEach(i=>{let r=i.querySelector(“.js-video”);e&&i==e?(i.classList.add(“is-playing”),r.currentTime=0,r.play()):(i.classList.remove(“is-playing”),r.pause(),r.currentTime=0)})},Gs={init:()=>{Gl()},update:t=>{Ql(t)}};var{animate:tf}=gl(),vl=new Array,sf=()=>{document.querySelectorAll(“.js-steps-creative”).forEach((e,s)=>{let i=Math.round(Math.random()*40)+1,r=Math.round(Math.random()*30)+70,n=tf(e,{keyframes:{“0%”:{opacity:0,scale:0},[`${i}%`]:{opacity:0,scale:0},”60%”:{opacity:1},[`${r}%`]:{scale:1}},duration:1,autoplay:!1});vl.push(n)})},rf=t=>{for(let e of vl)e.seek(t)},Hn={init:()=>{sf()},update:t=>{rf(t)}};var yl=1,zn=class{constructor(e){this.el=e,this.contentPosition=”default”,this.possibleSteps=new Array,this.currentStep=null,this.offset=window.innerWidth>768?window.innerHeight*.5:window.innerHeight*.9,this.instanceOfSteps=yl,this.animationProgress=0,yl++,this.setPossibleSteps(),this.updateContent(),this.bindings()}setPossibleSteps(){this.el.querySelectorAll(“.js-steps-step”).forEach(e=>{e.dataset.step&&this.possibleSteps.push(e.dataset.step)})}bindings(){window.addEventListener(“scroll”,()=>{this.updateContent()}),window.addEventListener(“resize”,()=>{this.updateContent()})}updateContent(){this.updateCurrentStep(),this.updateAnimationProgress()}updateAnimationProgress(){let e=document.querySelector(‘.js-steps-step[data-step=”transition”]’),s=e.getBoundingClientRect().top+e.getBoundingClientRect().height/2,i=window.pageYOffset+s,r=window.innerHeight*.5;if(this.animationProgress=Math.min(1-(s-r)/(i-r),1),this.animationProgress==1){let o=document.querySelector(‘.js-steps-step[data-step=”language-fear”]’).getBoundingClientRect().top,a=document.querySelector(“.js-steps”).nextElementSibling.getBoundingClientRect().top,c=a-o;this.animationProgress=Math.max(0,Math.min(a/c,1))}Hn.update(this.animationProgress)}updateCurrentStep(){let e,s;if(this.el.querySelectorAll(“.js-steps-step”).forEach((r,n)=>{r.getBoundingClientRect().top{o.dataset.step==this.el.dataset.current?o.classList.add(“is-focused-on”):o.classList.remove(“is-focused-on”)}),this.currentStep==null&&delete this.el.dataset.current,this.possibleSteps.forEach((o,l)=>{let a=”is-“+o,c=”is-“+l;this.possibleSteps.indexOf(o){document.querySelectorAll(“.js-steps”).forEach(t=>{new zn(t)}),Hn.init()}};var nf=(t,e,s)=>{document.querySelectorAll(“.js-subscribe”).forEach(i=>{i.classList.toggle(“is-unsubscribed”,!t),i.classList.toggle(“is-preview”,e),i.classList.toggle(“is-dev”,s)})},Tl={init:()=>{nf(js(),Ks(),bs())}};var of=()=>{},Sl={init:()=>{of()}};var wl={init:()=>{Jn.init?.(),ro.init?.(),ao.init?.(),uo.init?.(),Gs.init?.(),bl.init?.(),Tl.init?.(),Sl.init?.(),zt.init?.()}};var af=()=>{},xl={init:()=>{af()}};var lf=document.querySelector(“.js-inno”),_l=()=>{wl.init(),xl.init()};lf?_l():new MutationObserver((e,s)=>{if(document.querySelector(“.js-inno”)){s.disconnect(),_l();return}}).observe(document,{attributes:!0,childList:!0,subtree:!0});})();
    /*! Bundled license information:

    animejs/dist/modules/core/consts.cjs:
    (**
    * Anime.js – core – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/core/globals.cjs:
    (**
    * Anime.js – core – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/core/helpers.cjs:
    (**
    * Anime.js – core – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/core/transforms.cjs:
    (**
    * Anime.js – core – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/adapters/registry.cjs:
    (**
    * Anime.js – adapters – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/core/colors.cjs:
    (**
    * Anime.js – core – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/core/values.cjs:
    (**
    * Anime.js – core – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/core/render.cjs:
    (**
    * Anime.js – core – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/core/styles.cjs:
    (**
    * Anime.js – core – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/core/clock.cjs:
    (**
    * Anime.js – core – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/animation/additive.cjs:
    (**
    * Anime.js – animation – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/engine/engine.cjs:
    (**
    * Anime.js – engine – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/animation/composition.cjs:
    (**
    * Anime.js – animation – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/timer/timer.cjs:
    (**
    * Anime.js – timer – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/core/targets.cjs:
    (**
    * Anime.js – core – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/core/units.cjs:
    (**
    * Anime.js – core – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/easings/none.cjs:
    (**
    * Anime.js – easings – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/easings/eases/parser.cjs:
    (**
    * Anime.js – easings – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/animation/animation.cjs:
    (**
    * Anime.js – animation – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/timeline/position.cjs:
    (**
    * Anime.js – timeline – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/timeline/timeline.cjs:
    (**
    * Anime.js – timeline – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/animatable/animatable.cjs:
    (**
    * Anime.js – animatable – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/utils/number.cjs:
    (**
    * Anime.js – utils – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/easings/spring/index.cjs:
    (**
    * Anime.js – easings – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/waapi/composition.cjs:
    (**
    * Anime.js – waapi – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/utils/target.cjs:
    (**
    * Anime.js – utils – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/draggable/draggable.cjs:
    (**
    * Anime.js – draggable – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/utils/time.cjs:
    (**
    * Anime.js – utils – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/scope/scope.cjs:
    (**
    * Anime.js – scope – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/events/scroll.cjs:
    (**
    * Anime.js – events – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/easings/cubic-bezier/index.cjs:
    (**
    * Anime.js – easings – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/easings/steps/index.cjs:
    (**
    * Anime.js – easings – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/easings/linear/index.cjs:
    (**
    * Anime.js – easings – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/easings/irregular/index.cjs:
    (**
    * Anime.js – easings – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/easings/index.cjs:
    (**
    * Anime.js – easings – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/waapi/waapi.cjs:
    (**
    * Anime.js – waapi – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/layout/layout.cjs:
    (**
    * Anime.js – layout – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/utils/chainable.cjs:
    (**
    * Anime.js – utils – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/utils/random.cjs:
    (**
    * Anime.js – utils – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/utils/stagger.cjs:
    (**
    * Anime.js – utils – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/utils/index.cjs:
    (**
    * Anime.js – utils – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/svg/helpers.cjs:
    (**
    * Anime.js – svg – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/svg/motionpath.cjs:
    (**
    * Anime.js – svg – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/svg/drawable.cjs:
    (**
    * Anime.js – svg – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/svg/morphto.cjs:
    (**
    * Anime.js – svg – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/svg/index.cjs:
    (**
    * Anime.js – svg – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/text/split.cjs:
    (**
    * Anime.js – text – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/text/scramble.cjs:
    (**
    * Anime.js – text – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/text/index.cjs:
    (**
    * Anime.js – text – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)

    animejs/dist/modules/index.cjs:
    (**
    * Anime.js – CJS
    * @version v4.5.0
    * @license MIT
    * @copyright 2026 – Julian Garnier
    *)
    */

  • Republicans in competitive Pa. races are tying themselves to Josh Shapiro. What does that mean for the midterms?

    Republicans in competitive Pa. races are tying themselves to Josh Shapiro. What does that mean for the midterms?

    Several incumbent Republicans engaged in tight races in Pennsylvania have featured popular Democratic Gov. Josh Shapiro in their advertisements or messaging as they face their toughest challenges amid an election cycle projected to be unfavorable to the GOP.

    When engaged in a high-stakes, competitive campaign, downballot political candidates frequently align themselves with someone at the top of the ticket for an extra boost.

    It’s just rare nowadays for contenders to associate themselves with someone who happens to be of the opposite political party.

    But a lot is at stake for both parties in Pennsylvania’s midterm elections next month — control of the state Senate, with the possibility of the first Democratic trifecta since 1993, and the battle for the majority in the U.S. House.

    Shapiro, who is also running for a second term against Republican Treasurer Stacy Garrity, has been spending most of his time and political capital campaigning for Democrats in competitive state House and Senate races and in four key congressional districts, including in Bucks County — home to some of the most closely watched races next month.

    Here’s what to know about the ads featuring Shapiro and what they could mean for the midterms.

    Monitor at the WHTM-TV studios in Harrisburg during the Oct. 7 debate between Gov. Josh Shapiro and Republican challenger Stacy Garrity.Tom Gralish / Staff Photographer

    Ads could be ‘quite telling’ about the Pa. midterms

    Republican State Sen. Frank Farry, who is seeking reelection in Bucks County’s 6th State Senate District, has produced numerous ads featuring Shapiro in his campaign against Democratic challenger Eileen Hartnett Albillar, whom Shapiro has endorsed and campaigned for. The ads include images of Farry standing side by side with Shapiro on a SEPTA platform, another that highlights his support for the governor’s data center regulation plan, and a clip from the Democrat’s speech on a bipartisan budget.

    “I’ve spent my whole life serving this community,” Farry said in a recent television ad. “As a senator, I’ve worked with both parties to make life more affordable, including working with Governor Shapiro to cut taxes seven times.”

    Farry and the governor have not always been on the same side on policy. For example, though they both supported increasing funding for SEPTA, Shapiro and Farry disagreed on how to do it. (Although Shapiro ultimately used Farry’s ideas to fund it for two years.)

    Most of the ads that include the governor are aimed at emphasizing the Republican’s ability to work across the aisle — a trait Shapiro has also emphasized in his own work, and one that may be key to winning over Bucks County, a suburb known for its split-ticket voting.

    “It would be almost impossible in some of these districts for Republicans to survive if they don’t have some ballots that include Josh Shapiro and the Republican on the ballot,” said Chris Borick, a political science professor at Lehigh University and director of its opinion observatory.

    For instance, in his 2022 gubernatorial run, Shapiro won the county by roughly 20 percentage points and GOP U.S. Rep. Brian Fitzpatrick also won reelection to represent the Bucks-based 1st Congressional District. Fitzpatrick, who is now in the toughest reelection cycle of his career against Shapiro-endorsed Democratic challenger Bob Harvie, said earlier this year that the governor would win reelection and should run for president in 2028.

    Ed Molloy, Farry’s campaign manager, said in a statement that the Republican “works with both parties and is proud to have gotten things done with Governor Shapiro,” especially on affordability measures.

    “Senator Farry has been the most independent senator in Harrisburg because he always puts his community first,” Molloy said.

    Shapiro, during one of his trips to Bucks County earlier this month, said Farry had also put the governor in a mailer and it “tells you a little something about how they see this race.”

    “I want to state very, very, very clear,” Shapiro said. “Despite their cynical efforts to try and hug me, I ain’t hugging him back.”

    Manuel Bonder, a spokesperson for the Shapiro campaign, said “apparently even Republican candidates would rather run on Governor Shapiro’s record than Stacy Garrity’s” and pledged to continue campaigning for Democrats.

    Though Garrity is absent from these ads and consistently behind in the polls, the GOP is continuing to welcome her on the campaign trail, including at events last week with Republican U.S. Sen. Dave McCormick, Farry, and the Bucks County Republican Committee.

    Matt Benyon, a spokesperson for the Garrity campaign, said in a statement that the treasurer is “grateful for the support her campaign has received from fellow Republicans up and down the ballot throughout her campaign.”

    “She looks forward to campaigning alongside them in the final two-plus weeks, holding Josh Shapiro accountable,” Benyon said.

    Bucks County GOP State Sen. Frank Farry (center) during a ceremonial meeting of the Pennsylvania Senate on May 5 at the National Constitution Center.Tom Gralish / Staff Photographer

    Other GOP candidates also focused on collaborating with Shapiro, include State Rep. Joe Hogan (R., Bucks), who mentions working with Democrats, Republicans, and Shapiro “to be a champion for our public schools” on his campaign website. A narrator in an ad for State Rep. Craig Williams (R., Delaware) said the lawmaker “works with whoever it takes,” including Shapiro.

    State Rep. K.C. Tomlinson (R., Bucks), running against Democratic challenger Bryan Allen, posted a video to her Facebook page of Shapiro at a school visit, chatting with a student about working across party lines with Tomlinson.

    “They say, like, Republicans and Democrats are never supposed to agree on anything,” Shapiro can be seen telling a student in the ad. “Well, we actually agree that making sure kids have breakfast at school is really important, and that our schools have what they need is really important. So we may not agree on everything, but we actually find ways to agree and to talk to each other.”

    Borick said the embrace of Shapiro is “quite telling.”

    “It’s far rarer to see in a year when there’s a competitive election and their party has someone on the ballot to be highlighting the opposition party,” Borick said.

    The Tomlinson, Hogan, and Williams campaigns did not respond to a request for comment.

    ‘Sad that it’s even a question’

    Working across the aisle is also a message GOP State Rep. Valerie Gaydos is trying to showcase to voters on the other side of the Keystone State in the Pittsburgh suburbs.

    “I work with everyone, Democrats, Republicans, and Governor Shapiro, to get results,” she said in an ad where she can be seen shaking hands with the Democrat.

    But as political divisiveness becomes more and more common, Gaydos said in an interview last week, it’s “sad that it’s even a question” as to why she chose to mention Shapiro in her ad. She noted that she is particularly proud of the bipartisan support she has gotten on legislation aimed at protecting pharmacies and patients and has “taken heat” from both political parties.

    “Constituents have been and are sick and tired of being forced to go, ’Are you blue or red?’” Gaydos said. ”And the answer is: I represent my district.”

    State Rep. Valerie Gaydos (second from right) with Democratic lawmakers, listening to public comment during a field hearing in Philadelphia on Jan. 27, 2023. Matt Rourke

    Christopher Nicholas, a GOP consultant in Pennsylvania, said that after Shapiro himself has routinely highlighted his ability to work with a divided legislature, it will be key to watch how his staunch campaigning for Democrats will affect his relationships with Republican lawmakers, especially if the GOP maintains control of the state Senate.

    “Working across the aisle is a two-way street. … If Josh Shapiro’s been able to talk about it literally since day one of his time as governor, I’m not surprised now that some Republican legislators that are on the other side of that grand bargain have now started talking about working across the aisle as well,” Nicholas said.

    Staff writer Gillian McGoldrick contributed to this article.

  • Big Dom, Elon Musk and George Santos. The Pa. campaign cameos are getting weird.| PA 2026 Newsletter

    Big Dom, Elon Musk and George Santos. The Pa. campaign cameos are getting weird.| PA 2026 Newsletter

    📅 There are 18 days until Election Day.

    The Harrisburg congressional contest’s theatrics have reached a crescendo as the Nov. 3 election nears. This week on the debate stage, candidates held nothing back.

    🎤 I’m Michelle Baruchman, the campaigns and elections reporter at The Inquirer. I’m based in Philadelphia, but this week I’m focused on a race 100 miles west in Harrisburg. Republican Rep. Scott Perry and Democrat Janelle Stelson, a former TV anchor, debated each other for the second time in two years to represent Pennsylvania’s 10th Congressional District.

    It was spicy.

    But as Stelson and Perry head to an election rematch, after just over 5,100 votes separated them in 2024, voters in the key swing district have become even more pointed in their rhetoric than the candidates. One voter said he “despises” Perry, who he called an “election denier”; Stelson is “the crazy lady” who “doesn’t have decent values,” another voter told The Inquirer’s Al Lubrano.

    In this edition:

    🗳️ The more you know: Our 2026 midterms voter guide is here!

    🗳️ Money, money, money: Elon Musk and a national GOP group are pouring millions into competitive Pa. congressional races.

    🗳️ Big Dom makes a big promise: At a Philly Dems fundraiser with some of the biggest names in Pennsylvania politics, Big Dom reassured Eagles fans. (Go Birds.)

    — Michelle Baruchman, Sam Janesch Gillian McGoldrick and Fallon Roth, (pa2026@inquirer.com)

    If someone forwarded you this email, sign up for free here.

    The latest

    Data dive

    Trump and U.S. Rep. Brian Fitzpatrick aren’t exactly best friends.

    The Bucks County Republican votes for the president’s priorities the least out of any House GOP lawmaker (at a rate of 70%). And Trump, far from shy about punishing Republicans he considers disloyal, suggested in the spring that Fitzpatrick’s future might not “work out well” as a result.

    So it caught our eye this week when the Trump-aligned MAGA Inc. PAC dropped $100,000 on digital ads supporting Fitzpatrick’s reelection.

    The spending was among dozens of other investments by the massively funded PAC as Trump looks to keep GOP control of Congress — and as national Republicans also step in to save the last Republican in the Philadelphia region.

    President Donald Trump during a campaign rally in Grand Island, Neb., on Oct. 5, 2026. Just weeks away from the midterm elections, Trump’s political organization is pouring money into vulnerable GOP districts, including in Bucks County. (Doug Mills/The New York Times)DOUG MILLS

    Earlier this week, the Congressional Leadership Fund — which is aligned with House Speaker Mike Johnson — redirected $3.6 million to boost Fitzpatrick in his tough race against Democrat Bob Harvie.

    Elon Musk, meanwhile, hasn’t used his America PAC to help Fitzpatrick (at least not yet), but has thrown $1.5 million behind three other vulnerable Pennsylvania Republicans.

    We’ll be continuing to dive into the spending spree in the final few weeks of the election. That includes digging all the way down to critical state-level races, where Pennsylvania Senate Democrats and Republicans have spent about $27.7 million in five districts that could give Democrats their first Harrisburg trifecta in three decades.

    Campaign scrapple

    Former Rep. George Santos arrives at federal court for sentencing, April 25, 2025, in Central Islip, N.Y. (AP Photo/Julia Demaree Nikhinson, File)Julia Demaree Nikhinson

    👀 A big tent: Former U.S. Rep. George Santos (R., N.Y.), whose seven-year prison sentence for fraud and identity theft was commuted by Trump last year, is a likely voter for… Gov. Josh Shapiro? Santos, who lives in Monroe County, posted on X that a Democratic volunteer called him to solicit his vote in the upcoming Nov. 3 election, despite his status as a registered Republican. Santos said he’ll vote for Republican U.S. Rep. Rob Bresnahan in Pennsylvania’s 8th Congressional District, but he’s also leaning toward supporting Shapiro’s reelection because the Democrat “knows how to run this state.” He also had a message for the state GOP: “Wake up, Republicans ‘cause they’re calling the opposition!”

    🤝 Blast from the past: Former U.S. Sen. Joe Manchin, the centrist Democrat turned independent, endorsed U.S. Rep. Brian Fitzpatrick, a Republican who says he wishes he could be an independent. In a video posted to Fitzpatrick’s social media, Manchin said that in their years working together on Capitol Hill the Republican lawmaker “wasn’t worried about his politics. He wasn’t worried about political parties.”

    🍼 Baby o’clock: A number of Democratic members of the state House and Senate launched a new Kids & Families Caucus this week. The effort, being led by members with small children, aims to better represent the needs of families with young children who are grappling with the high cost of childcare and other needs. It’s one of several ways Democrats hope they can advance changes for working families if they win a trifecta in November.

    📸 Behind the scenes snapshot

    Gov. Josh Shapiro leaves after an interview with Philadelphia Inquirer reporters at the newspaper’s offices Monday, Oct. 12, 2026.Tom Gralish / Staff Photographer

    Gov. Josh Shapiro visited The Inquirer’s newsroom earlier this week to speak with our reporters. (Treasurer Stacy Garrity swung by the newsroom last month)

    Look out for that story next week. In the meantime, read our coverage of the governor’s new federal PAC.

    👀 What we’re watching

    📝 Pennsylvania’s voter registration deadline is Monday. We’ll be watching the final registration push from both parties — often a signal of enthusiasm levels as voters pay more attention just before Election Day.

    This time last year, Republicans were on track to completely erase what had been a massive 916,000 voter registration advantage for Democrats at the beginning of the Trump era. But Democrats have spent 2026 on a mission to reverse the trend — and they’ve had some success. As of Monday, Democrats held a 234,500 voter registration edge after a year of gains.

    For more information on how to vote and who is on your ballot, check out our voter guide here.

    Quote of the week

    Dom DiSandro, the Eagles’ chief security officer, promised the team would turn its season around at a closed-door Democratic City Committee dinner, which also featured Gov. Josh Shapiro, Mayor Cherelle Parker and former President Joe Biden.Tyger Williams / Staff Photographer

    In a room including a former president, the governor and the mayor, there was one person there who could talk about an issue Philadelphians actually care about: Big Dom DiSandro.

    DiSandro — or “Big Dem,” as our colleague Anna Orso nicknamed the Eagles’ head of security for the night — spoke briefly at the Philadelphia Democratic City Committee’s annual fall fundraiser as the party celebrated former U.S. Rep. Bob Brady’s 40th year at the helm. Former President Joe Biden and Gov. Josh Shapiro spoke, too, in addition to a number of other elected leaders.

    DiSandro, who also spoke when the Birds visited Trump in the White House last year, used his brief remarks to say Brady is “someone I consider family” — and to promise that the 2-3 Eagles would get back on track, a top issue for most Philadelphians.

    Now we have to just need to figure out how Big Dom can protect the team from any on-field injuries. (Heal up, Jalen Hurts 🙏)

    👋 Thanks for reading this week’s edition of The Inquirer’s PA 2026 newsletter. Enjoy all the autumn leaves this week. (We’ll be in peak foliage status before you know it!) We’ll see you back here next Friday.

  • Gov. Josh Shapiro launches a federal PAC — the strongest signal yet he’s eyeing a 2028 run

    Gov. Josh Shapiro launches a federal PAC — the strongest signal yet he’s eyeing a 2028 run

    Pennsylvania Gov. Josh Shapiro is officially getting into national politics.

    Shapiro, a Democrat running for reelection in the critical battleground state and a widely rumored 2028 presidential candidate, took his first official step into the national political arena this week by creating a federal political action committee, New Path PAC.

    The new federal PAC is the strongest signal yet that Shapiro is eyeing a 2028 presidential run in the Democratic primary — speculation the formidable fundraiser has routinely rejected while he’s focused on his reelection campaign.

    Since he took office in 2023, Shapiro has amassed a whopping $60 million war chest in his state-level PAC. And this year, he’s shelled it out, too, having spent nearly $38 million on TV and streaming ads, according to media tracker AdImpact, in support of his reelection campaign where he holds a commanding double-digit lead over his GOP challenger.

    However, campaign finance law limits Shapiro’s state PAC spending to his own race or others on the state level, creating a challenge for him to financially support federal candidates, including the four Pennsylvania congressional districts national Democrats are looking to flip in the midterm election.

    The money Shapiro has raised in his state-level PAC cannot be transferred to his federal PAC. Up to this point, Shapiro has largely spent his fundraising on his own reelection campaign as well as contributing more than $5.6 million to the Pennsylvania Democratic Party, which has been rebuilt under his hand-picked chair and former top aide.

    Shapiro’s New Path PAC will allow him to fundraise and contribute directly to the four Democratic candidates he’s supporting — Bob Harvie in Pennsylvania’s 1st, Bob Brooks in Pennsylvania’s 7th, Paige Cognetti in Pennsylvania’s 8th, and Janelle Stelson in Pennsylvania’s 10th Congressional Districts — as part of his bet that his name at the top of the state’s midterm election ballot could help flip the U.S. House to Democratic control. He’s rallied alongside the candidates and with U.S. House Minority Leader Hakeem Jeffries to expand Democrats’ U.S. House majority. And his reelection campaign has drawn support from former President Barack Obama, former President Joe Biden, Michigan Gov. Gretchen Whitmer and U.S. Sen. Elizabeth Warren.

    Pennsylvania Gov. Josh Shapiro, left, Democratic congressional candidate Bob Brooks, center, and U.S. House Democratic Leader Hakeem Jeffries raise their hands during a campaign event for Brooks ahead of the midterm elections at a Steelworkers Union Hall in Bethlehem, Pa., Sunday, July 26, 2026. (AP Photo/Erin Blewett)Erin Blewett

    In a statement, Shapiro’s campaign emphasized that the governor remains focused on those four Pennsylvania congressional races in the remaining days before the Nov. 3 election. He’s also expressed interest in flipping the 9th Congressional District, currently represented by U.S. Rep. Dan Meuser (R., Pa.) as a fifth winnable district with candidate Rachel Wallace as the Democratic nominee. The statement does not mention other races outside of Pennsylvania where Shapiro may plan to lend his support.

    Marshall Cohen, the PAC’s executive director who previously worked as the political director at the Democratic Governors Association, said in a statement that Pennsylvania voters have a chance to “place a check on Donald Trump and put this country on a new path.”

    “That path runs right through Pennsylvania, and Gov. Shapiro is fighting to win up and down the ballot this November to elect leaders and deliver a Congressional majority that will actually fight for working families and move our country forward,” Cohen added.

    Manuel Bonder, a campaign spokesperson, said the federal PAC is a new tool for Shapiro to more directly support Pennsylvania’s congressional candidates. He emphasized that backing the candidates in efforts to flip the House is Shapiro’s lone focus for now — a response echoing Shapiro’s standard line when asked whether he’s running for president in 2028.

    In a debate last week between Shapiro and his Republican challenger, state Treasurer Stacy Garrity, Shapiro declined to pledge to serve another full four-year term as governor.

    “The only thing I am focused on is running for reelection as governor,” Shapiro told the moderators before pivoting to his oft-used attack on Trump’s “chaos, cruelty, and corruption.”

    But Shapiro’s creation of the federal PAC also ticks another box on the presidential hopeful checklist, adding to his frequent national TV appearances, campaigns with candidates across the country, and publishing a memoir.

    Other prospective 2028 Democratic candidates have also created federal PACS and supported federal candidates. Kentucky Gov. Andy Beshear launched his federal PAC in 2024, while Illinois Gov. JB Pritzker started his federal PAC with a $20 million investment last month. California Gov. Gavin Newsom has expanded his federal fundraising to support Democrats in state-level races in early primary states, including South Carolina.

  • Josh Shapiro, the Iran war and Scott Perry’s role on Jan. 6: Highlights from his fiery debate with Janelle Stelson

    Josh Shapiro, the Iran war and Scott Perry’s role on Jan. 6: Highlights from his fiery debate with Janelle Stelson

    Around 40 minutes into the televised debate between Republican Rep. Scott Perry and Democrat Janelle Stelson, the moderator said he would pivot to the “highly polarized state of politics” in the country and the congressional district.

    But by that point, mudslinging during the hour-long showdown on Harrisburg’s abc27 had already been well underway between Perry, 64, a seven-term incumbent, and Stelson, 66, a former TV anchor running for the key swing seat for a second time after narrowly losing two years ago.

    Interruptions, accusations of lies, and sarcastic eye rolls marked the fiery debate — reflective of the bitter divide among voters ahead of the Nov. 3 rematch in the 10th Congressional District, which includes parts of Dauphin, York and Cumberland Counties. It is one of four competitive congressional districts in Pennsylvania that could determine which party controls the U.S. House.

    Perry, a close ally of President Donald Trump, repeatedly called Stelson a liar and incompetent. Stelson said he should get a different job and charged Perry, a retired brigadier general in the Pennsylvania Army National Guard, with betraying military veterans with his votes.

    It was a contrast to the cordial gubernatorial debate that took place on the same stage one week prior between Gov. Josh Shapiro and State Treasurer Stacy Garrity.

    Perry, who first was elected to Congress in 2012, beat Stelson in 2024 by just 5,133 votes, or 1.2 percentage points. But this year, a September poll from Franklin and Marshall College gave Stelson a 3-percentage-point lead on the Republican incumbent.

    Here are three takeaways from the debate.

    Josh Shapiro, ‘Are you kidding?’

    Shapiro, who is likely considering a 2028 presidential run, was not in the room but loomed large throughout the night as the popular governor was referenced multiple times by both candidates.

    Stelson, who has Shapiro’s endorsement, reciprocated with a show of support if the governor pursues higher office. When asked which Democrat — including Shapiro, former Vice President Kamala Harris, and California Gov. Gavin Newsom — she believes is best positioned to win the presidency in two years, Stelson replied, “Good heavens, Josh Shapiro,” before adding: “Are you kidding?”

    Stelson declined to answer a similar question about whom she would back for House speaker if Democrats take the House.

    She applauded Shapiro’s work overseeing the quick rebuild of I-95 in Philadelphia after a bridge collapsed three years ago.

    “He doesn’t say, ‘You’re a Democrat, I’m going to do this for you’ or ‘You’re a Republican, I’m not going to do it for you.’ He says, ‘This is what we need to get done,’” she said.

    But Perry, a member of the conservative House Freedom Caucus, took multiple swipes at the Democratic governor, who won the district in 2022.

    When asked what role the federal government should play in regulating data centers, Perry blasted Shapiro, who had embraced data centers before later enacting restrictions on their development amid strong public opposition.

    “What I wouldn’t do is offer the richest multinational companies on the planet tax breaks and tax credits from Pennsylvania taxpayers to jam their data centers into Pennsylvania,” said Perry, breaking with Trump, who has championed data centers. “But that’s what the governor did, which I can’t control. And energy is a whole other issue related to this, which he has also screwed up.”

    Perry also blamed Shapiro for high power costs, saying the governor had shut down about five gigawatts of baseload power in Pennsylvania.

    Shapiro did not shut down five gigawatts of power capacity but is rather looking with his administration to reactivate and redevelop retired power plant capacity to support the state’s electric grid.

    Iran war ‘needs to be ended’

    While both Stelson and Perry agreed the war in Iran, which has lasted 229 days, should end, they differed on how soon, under what circumstances, and what its impacts on the economy have been.

    “Nobody wants to be at war. We don’t want to be at war with Iran, but unfortunately, Iran has declared war on the United States,” said Perry, who served combat missions in Iraq.

    But before he is ready to end the war, Perry said, the current regime in Iran can no longer be in charge of governing, nor controlling the Strait of Hormuz — objectives that could take years and require boots on the ground.

    The lawmaker also repeatedly contended Iran had declared war first, referring to comments made by the country’s leaders 50 years ago.

    Trump initiated the war in coordination with Israel earlier this year with the stated goal of destroying the country’s nuclear capabilities. Perry had trouble in the debate clarifying whether that goal had already been completed or was still underway.

    “When they credibly threaten you with nuclear war, something had to be done. Something had to be done, and it has been done. Now it needs to be ended swiftly, and it needs to be ended so that it is permanent,” he said.

    Oil from around the region flows through the Strait of Hormuz, and multiple experts have said its sporadic closures have spiked gas prices, including in Pennsylvania. According to AAA, the average cost at the pump in Pennsylvania was $3.15 in February on the day U.S. began airstrikes on Iran. This week, it is $4.46.

    Stelson said the war in Iran was the biggest reason for high gas prices, saying it should end “immediately.”

    “It’s one of the first things I’d like to take care of if I’m lucky enough to get to Washington,” she said.

    Addressing campaign controversies

    As she did in her previous run, Stelson attacked Perry for his role in seeking to overturn the 2020 election.

    Perry led the unsuccessful motion to block Pennsylvania’s electoral votes hours after a mob of Trump supporters attacked the Capitol on Jan. 6, 2021, in an attempt to prevent certification of Joe Biden’s victory. The attack followed months of conspiracy-mongering by Trump and his allies.

    “You are an architect of the deadly insurrection, January 6th. You asked for a presidential pardon because you were so deeply, flat-out …,” Stelson began to say, before Perry interjected.

    “That’s a flat-out lie,” he said.

    The claim that Perry asked Trump for a pardon comes from congressional testimony by former White House aide Cassidy Hutchinson, who told the House select committee that investigated the attack that Perry played a central role in crafting Trump’s strategy to remain in office after his electoral loss.

    Perry has denied those claims. His cell phone was seized by the Justice Department in 2022 as part of the investigation that followed the attack, but he was never charged with a crime.

    “[Former special counsel] Jack Smith weaponized the federal government against its political foes, and I was collateral damage,” he said. “[Stelson] continues to have that narrative that I had anything to do with January 6 when I was inside the Capitol doing my job that the voters elected me to do when the people came into the Capitol.”

    Stelson also reminded voters throughout the debate that Perry has not held an in-person, town hall meeting since 2019.

    Perry, who said he loves town halls, said he has avoided them because of safety concerns.

    “I was told that the last time I wanted to have a town-hall meeting by federal police, that it would be negligent to do so, knowing the credible, viable threats that were present … to people that want to attend.” He said he speaks to constituents every quarter and they are welcome to come into his offices.

    Amid the discussion around election security, Perry accused Stelson of harboring an illegal immigrant in her campaign.

    Last month, a Nigerian man, whom federal officials say was in the country illegally, was arrested after police say they found him exposing himself in a car. Flyers from Stelson’s campaign were found inside his car. He later pleaded guilty to disorderly conduct.

    A news release from Trump’s Department of Homeland Security said the man was working as a canvasser. But Stelson said Wednesday the man was not an employee of her campaign or a volunteer.

    “I will say if he’s illegal, and especially if he was committing a crime, then good job on the police department for taking swift action and for getting rid of him,” she said.

  • Why Josh Shapiro and top Pa. Democrats think they can win a trifecta for the first time since 1993

    Why Josh Shapiro and top Pa. Democrats think they can win a trifecta for the first time since 1993

    HARRISBURG — Contentious, compromising, and gridlocked.

    Those are just a few ways to describe Pennsylvania’s split legislature during the last four years, as Democrats narrowly control the state House and hold the governorship, while Republicans lead the state Senate. In other words, they have not agreed on a lot.

    Gov. Josh Shapiro and legislative leaders have clashed to the point of bitter monthslong budget impasses or, in some cases, left several critical issues — including second-degree murder sentencing rules and skill games regulation — unaddressed.

    Before that, Republicans for years controlled both chambers, with a Democrat in the governor’s mansion.

    But as the political tides turn, Democrats are hoping next month for a blue wave in the Pennsylvania Capitol. With President Donald Trump’s 37% approval rating in Pennsylvania and Shapiro, a popular incumbent governor, at the top of the ticket, Democrats are entering the Nov. 3 midterm election with a lot in their favor — and for the first time in decades imagining what Harrisburg would be like with a trifecta of power.

    Democrats’ long list of priorities that have been stalled by the GOP-controlled Senate — from a minimum wage increase to new mass transit funding to codifying abortion and LGBTQ+ rights — could be a reality if they flip at least two Republican seats.

    Democrats have not controlled the state House, Senate, and governorship since 1993. Currently, the state Senate has 27 Republican members and 23 Democrats.

    The last trifecta in Harrisburg belonged to Republicans, who won full control in 2010 in a significant red wave in the first midterm following former President Barack Obama’s election. The GOP held onto the trifecta for four years before former Gov. Tom Wolf, a Democrat, won the governorship and would frequently veto legislation he did not like, leading to a nine-month budget impasse and long legislative standoffs.

    If Democrats gain two state Senate seats in November, tying the chamber, Democratic Lt. Gov. Austin Davis would hold special powers — similar to the vice president in the U.S. Senate — that would help tip control to the party.

    “We’re working extremely hard,” said State Sen. Vince Hughes (D., Philadelphia), who leads the state Senate’s campaign arm. “I’m not going to make any predictions about winning or losing. I know that we’re competitive everywhere where we’re running.”

    (function(){function e(){window.addEventListener(`message`,function(e){if(e.data[`datawrapper-height`]!==void 0){var t=document.querySelectorAll(`iframe`);for(var n in e.data[`datawrapper-height`])for(var r=0,i;i=t[r];r++)if(i.contentWindow===e.source){var a=e.data[`datawrapper-height`][n]+`px`;i.style.height=a}}})}e()})();

    Big spending in the Philly suburbs for Senate control

    Half of the state Senate and all 203 House members are up for reelection this year. House Democrats feel confident they will expand their two-seat majority in the chamber, while Senate Republicans argue they need to keep control of the chamber as the last line of defense against “radical left policy decisions.”

    Democrats are targeting four Senate seats they want to flip, while Republicans are bullish they will flip a seat in Lancaster County that they lost to Democrats in a 2025 special election by a few hundred votes.

    And both parties’ campaign arms are spending big for control of the seats.

    According to media tracker AdImpact, Senate Republican campaigns have spent a total of $15.4 million so far on TV and streaming ads across five competitive races: Bucks County’s 6th District, Montgomery County’s 24th District, Lancaster County’s 36th District, Monroe County’s 40th District, and Lehigh County’s 16th District.

    Senate Democratic candidates have spent $12.3 million so far on TV and streaming ads across the same five districts, according to AdImpact.

    The two most expensive races are in the Philadelphia suburbs. Both parties see these seats as must-wins to decide control of the Senate.

    State Sen. Tracy Pennycuick speaks to press about taking action against a major social media companies including Snapchat, over its failures to protect children against compulsive use on Tuesday, Aug. 25, 2026, in Philadelphia.Tyger Williams / Staff Photographer

    State Sen. Frank Farry (R., Bucks) represents the 6th Senatorial District, a swing district in Lower Bucks County, and became an early target for Democrats. The race has already attracted $6.9 million in ad buys so far: $3.6 million by Farry’s campaign and $3.3 million by his Democratic challenger, Eileen Hartnett Albillar, according to AdImpact.

    State Sen. Tracy Pennycuick (R., Montgomery), elected in 2022, is one of few Republicans still representing the otherwise solid-blue Montgomery County. Her campaign has spent or reserved nearly $4 million on TV and streaming ads so far. Her challenger, Democrat Chris Thomas, has spent $3 million.

    Gov. Josh Shapiro appears with Democratic Pa. Senate candidate Chris Thomas (left) at a rally in Towamencin, Montgomery County before supporters head out to canvas Sunday, Sept. 29, 2026. Tom Gralish / Staff Photographer

    The exact amount of money spent so far in these races will not be available until campaign finance filings are due later this month, and will include how much was spent on other voter outreach, like direct mail.

    When asked this summer about the prospect of a Democratic trifecta, Senate Majority Leader Joe Pittman (R., Indiana) rebuffed it.

    “I’m more focused on what it would be like with a Republican trifecta,” Pittman said in an interview in July, noting the narrow Democratic control in the House. “At the end of the day, a day in politics is a lifetime.”

    The path to Democratic control

    Pennsylvania’s latest legislative maps — set in 2022 by the state’s five-person redistricting commission — made the state House significantly more competitive for Democrats. That year, the party flipped the chamber for the first time in more than a decade.

    Meanwhile in the state Senate, the same set of maps benefited Republicans, and were likely to cement GOP control for another decade, according to an analysis conducted for The Inquirer by the nonpartisan Princeton Gerrymandering Project at the time.

    Four years later, enter Trump’s declining job approval rating in Pennsylvania, high gas prices, a governor’s race with a double-digit Democratic lead, and GOP control in Washington — and Pennsylvania Democrats see a rare opportunity.

    To flip the state Senate, Democrats have two potential paths: They would need to capture at least two GOP-held seats in swing districts and maintain control of a seat in a Lancaster County district that Trump won in 2024 by 15 percentage points. Or, if they cannot hold onto the Lancaster seat, they would need to flip a total of three seats to take control of the chamber.

    Hughes, who is on track to lead the powerful Senate Appropriations Committee if Democrats prove successful in November, said he is not yet picking out the new drapes or a new front-row parking spot at the Capitol. Rather, he said, he is hardly letting himself imagine what it would be like to helm the committee that reviews every bill and decides how state dollars are spent, and where he has served as the minority chairman since 2010.

    “We’ll accomplish a lot of things that the people of Pennsylvania need us to get accomplished, and we’ll do it in a way that I think the people of Pennsylvania will be proud,” Hughes added.

    State Sen. Vincent Hughes in Philadelphia on July 21, 2026.Tom Gralish / Staff Photographer

    Senate Republicans’ campaign arm said in a statement that the Senate GOP has “a record of reducing costs, stopping burdensome taxes, and putting Pennsylvanians’ safety first.”

    Senate Republicans appear to have spent significantly more to protect their majority than the party at large has spent to elect Stacy Garrity, the GOP nominee for governor, who has just reserved or spent $1.4 million on TV and streaming ads through Election Day, according to AdImpact.

    Their argument for why Republicans should maintain control of the state Senate is simple: They are the ones looking out for taxpayers. And they see themselves as the ones protecting Pennsylvania from the problems facing Democratic-led states like California and New York, criticizing Pennsylvania’s Democratic candidates for fundraising off the elite blue-state class.

    “We know what’s on the line,” said Michael Straw, the communications director for the Senate Republican Campaign Committee. “We can’t afford their tax increases that crush working families and soft-on-crime policies that put our safety at risk.”

    What a Democratic trifecta would do

    In Shapiro’s early years as Pennsylvania governor, he spoke proudly about his abilities to bring Democrats and Republicans together in the state’s split legislature.

    But after two messy budget impasses and several issues getting kicked down the road, the potential 2028 presidential candidate became impatient. At the start of this year at the Pennsylvania Democrats’ endorsement convention, he proclaimed a new goal: Give me a Democratic trifecta.

    At the time, today’s political climate was unpredictable. The war in Iran had not begun, and gas prices were not skyrocketing, among other factors viewed as driving voters to the polls.

    Gov. Josh Shapiro meets with patrons out in the back patio of Sam’s Morning Glory Diner in South Philadelphia on Friday, Sept. 25, 2026. Shapiro is canvassing to get Pennsylvania Democrats elected up and down the ballot in November, including to flip control of the state Senate. Aidan T. Gallo / Staff Photographer

    But he had his plan set: A Democratic trifecta would allow the party to swiftly increase the minimum wage, codify abortion and LGBTQ+ rights, and advance an affordable housing plan.

    It is a refrain he has repeated over the last 10 months as he has campaigned for Democratic state and congressional candidates down the ballot.

    “The first bill that will reach my desk with a trifecta will be to raise our minimum wage to $15 an hour,” Shapiro said at a campaign event last month in Philadelphia alongside Michigan Gov. Gretchen Whitmer.

    Pennsylvania’s minimum wage is set at the federal hourly minimum of $7.25 and has remained stagnant since 2009. Raising the state’s minimum wage to $15 an hour has been a priority for Harrisburg Democrats for years, but they have been unable to broker a deal with the GOP Senate. (Senate GOP leaders say they are not opposed to a more measured minimum wage increase, but have not passed legislation to do so.)

    Majority Leader Joe Pittman (R., Indiana) during a ceremonial meeting of the Pennsylvania Senate at the National Constitution Center May 5, 2026.Tom Gralish / Staff Photographer

    For Pittman, the GOP leader, he said he saw a path forward for a deal this past budget season on mass transit funding and a minimum wage increase. House Democrats refused, he said at the time.

    “It’s become very transparent to me that all they want is a political talking point,” he added. “Both issues could be addressed in a meaningful way if they were serious about negotiating.”

    Shapiro, who was joined at the event last month by State Sen. Nikil Saval (D., Philadelphia), placed the blame for Pennsylvania’s stalled minimum wage squarely on Senate Republicans.

    “Our minimum wage has been stuck at $7.25 for the last 16 years. Why is that? Because the Republicans in the Senate that Nikil serves with — guess what — they block it every single time,” he said.

    Hughes noted that the last time Democrats had a trifecta in Harrisburg, they approved Pennsylvania’s Children’s Health Insurance Program, a national model for state insurance for low-income children to get healthcare coverage.

    “That’s the kind of groundbreaking work that we can and will get done,” Hughes added.

    Staff writer Michelle Baruchman contributed to this article.

  • Your guide to Pennsylvania’s midterm election. Here’s who is on your ballot and what to know.

    Your guide to Pennsylvania’s midterm election. Here’s who is on your ballot and what to know.

    html,body{margin:0}.inno :where(*:not(svg,svg *,.inno-no-reset,.inno-no-reset *),use){all:revert;margin:0;padding:0;border:0;list-style:none}@font-face{font-family:”innoInquirerHeadline”;font-weight:100;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-ThinWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-ThinWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:100;font-style:italic;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-ThinItalicWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-ThinItalicWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:300;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-LightWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-LightWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:300;font-style:italic;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-LightItalicWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-LightItalicWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:normal;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-RegularWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-RegularWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:normal;font-style:italic;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-RegularItalicWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-RegularItalicWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:500;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-MediumWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-MediumWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:500;font-style:italic;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-MediumItalicWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-MediumItalicWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:600;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-SemiBoldWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-SemiBoldWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:600;font-style:italic;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-SemiBoldItalicWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-SemiBoldItalicWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:700;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-BoldWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-BoldWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:700;font-style:italic;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-BoldItalicWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-BoldItalicWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:900;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-BlackWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-BlackWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerHeadline”;font-weight:900;font-style:italic;src:url(“https://media.inquirer.com/fonts/InquirerHeadline-BlackItalicWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerHeadline-BlackItalicWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerText”;font-weight:normal;src:url(“https://media.inquirer.com/fonts/InquirerTextWEB-RegularWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerTextWEB-RegularWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerText”;font-weight:normal;font-style:italic;src:url(“https://media.inquirer.com/fonts/InquirerTextWEB-RegularItalicWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerTextWEB-RegularItalicWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerText”;font-weight:bold;src:url(“https://media.inquirer.com/fonts/InquirerTextWEB-BoldWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerTextWEB-BoldWEB.woff”) format(“woff”)}@font-face{font-family:”innoInquirerText”;font-weight:bold;font-style:italic;src:url(“https://media.inquirer.com/fonts/InquirerTextWEB-BoldItalicWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/InquirerTextWEB-BoldItalicWEB.woff”) format(“woff”)}@font-face{font-family:”innoGrot10″;font-weight:normal;src:url(“https://media.inquirer.com/fonts/Grot10-RegularWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/Grot10-RegularWEB.woff”) format(“woff”)}@font-face{font-family:”innoGrot10″;font-weight:500;src:url(“https://media.inquirer.com/fonts/Grot10-MediumWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/Grot10-MediumWEB.woff”) format(“woff”)}@font-face{font-family:”innoGrot10″;font-weight:bold;src:url(“https://media.inquirer.com/fonts/Grot10-ExtraboldWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/Grot10-ExtraboldWEB.woff”) format(“woff”)}@font-face{font-family:”innoGrot12″;font-weight:normal;src:url(“https://media.inquirer.com/fonts/Grot12Condensed-LightWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/Grot12Condensed-LightWEB.woff”) format(“woff”)}@font-face{font-family:”innoGrot12″;font-weight:bold;src:url(“https://media.inquirer.com/fonts/Grot12Condensed-SemiboldWEB.woff2”) format(“woff2”),url(“https://media.inquirer.com/fonts/Grot12Condensed-SemiboldWEB.woff”) format(“woff”)}body,html{scrollbar-width:none}body.is-scroll-locked,html.is-scroll-locked{overflow:hidden;height:100%}.inno{cursor:url(“https://interactives.inquirer.com/projects/2026/10/midterm-guide/1791820091209/assets/cursor.png”) 20 2,auto}.inno:has(.is-loading){cursor:url(“https://interactives.inquirer.com/projects/2026/10/midterm-guide/1791820091209/assets/cursor–loading.png”) 20 2,auto}html::-webkit-scrollbar{width:24px;background:#dcdcdc;border-left:2px solid #222;border-right:2px solid #222}html::-webkit-scrollbar-thumb{background:#fff;border:2px solid #222;transition:background .4s ease-in-out}html::-webkit-scrollbar-thumb:hover{background:#0072cf}html::-webkit-scrollbar-button{display:block;width:24px;height:24px;background-color:#0072cf;border:2px solid #222;image-rendering:pixelated;background-repeat:no-repeat;background-position:center center;background-size:12px;background-image:url(“https://interactives.inquirer.com/projects/2026/10/midterm-guide/1791820091209/assets/triangle–white.svg”)}html::-webkit-scrollbar-button:active{background-position:2px 2px}html::-webkit-scrollbar-button:vertical:decrement{background-image:url(“https://interactives.inquirer.com/projects/2026/10/midterm-guide/1791820091209/assets/triangle–white-flip.svg”)}html::-webkit-scrollbar-button:vertical:increment{background-image:url(“https://interactives.inquirer.com/projects/2026/10/midterm-guide/1791820091209/assets/triangle–white.svg”)}html::-webkit-scrollbar-button:vertical:increment:start,html::-webkit-scrollbar-button:vertical:decrement:end{display:none}html::-webkit-scrollbar-button:hover{background-color:#038f10}.inno{–color-background: rgb(249.9, 249.9, 249.9);–color-background-secondary: #f4f1eb;–color-accent: #0072cf;–color-over-accent: #ffffff;–color-text-primary: #222222;–color-text-link: #0072cf;–color-text-secondary: #595760;–color-text-tertiary: #808284;–color-text-accent: #0072cf;–color-faint: #dcdcdc;–color-mask: rgba(34, 34, 34, 0.8);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:”innoGrot10″,sans-serif;background:var(–color-background);color:var(–color-text-primary);padding-block-end:64px;overflow:clip;font-size:14px;line-height:1;background:repeating-linear-gradient(0deg, rgb(245.5, 245.5, 245.5) 0px, rgb(245.5, 245.5, 245.5) 1px, transparent 2px, transparent 5px)}@media(min-width: 768px){.inno{background:repeating-linear-gradient(0deg, rgb(248.05, 248.05, 248.05) 0px, rgb(248.05, 248.05, 248.05) 1px, transparent 2px, transparent 4px);padding-right:0}}.inno:not(.has-address) .inno-subnav~*{display:none}.inno-mode–dark{–color-background: #222222;–color-background-secondary: #595760;–color-accent: #8dd7f7;–color-over-accent: #222222;–color-text-primary: #ffffff;–color-text-secondary: #dcdcdc;–color-text-tertiary: #808284;–color-text-link: #0072cf;–color-faint: #595760;–color-mask: rgba(255, 255, 255, 0.8)}.inno–lite.inno-color–purple{–color-accent: #7b2589;–color-over-accent: #ffffff;–color-text-accent: #7b2589}.inno–lite.inno-color–pink{–color-accent: #cd0785;–color-over-accent: #ffffff;–color-text-accent: #cd0785}.inno–lite.inno-color–red{–color-accent: #e11b22;–color-over-accent: #ffffff;–color-text-accent: #e11b22}.inno–lite.inno-color–orange{–color-accent: #e66a1f;–color-over-accent: #222222;–color-text-accent: #e66a1f}.inno–lite.inno-color–yellow{–color-accent: #f0af13;–color-over-accent: #222222;–color-text-accent: #f0af13}.inno–lite.inno-color–green{–color-accent: #00a253;–color-over-accent: #ffffff;–color-text-accent: #00a253}.inno–lite.inno-color–teal{–color-accent: #00a69e;–color-over-accent: #ffffff;–color-text-accent: #00a69e}.inno–lite.inno-color–light-gray{–color-accent: #dcdcdc;–color-over-accent: #222222;–color-text-accent: #dcdcdc}.inno–lite.inno-color–light-blue{–color-accent: #8dd7f7;–color-over-accent: #222222;–color-text-accent: #8dd7f7}.inno–lite.inno-color–blue{–color-accent: #004e96;–color-over-accent: #ffffff;–color-text-accent: #004e96}.inno–lite.inno-color–black{–color-accent: #222222;–color-over-accent: #ffffff;–color-text-accent: #222222}.inno–lite.inno-color–white{–color-accent: #ffffff;–color-over-accent: #222222;–color-text-accent: #ffffff}.inno–lite.inno-color–white,.inno–lite.inno-color–black{–color-accent: #004e96;–color-over-accent: #ffffff;–color-text-accent: #222222}.inno–lite.inno-color–white.inno-mode–dark,.inno–lite.inno-color–black.inno-mode–dark{–color-accent: #8dd7f7;–color-over-accent: #222222;–color-text-accent: #ffffff}.inno–widget,.inno–embed{overflow:hidden;padding-block-end:0}.inno–widget .inno-layout–content>*,.inno–embed .inno-layout–content>*{max-width:none}.inno-anchorable:before{content:””;display:block;height:calc(var(–nav-height, 0) + 10px);margin:calc(0px – (var(–nav-height, 0) + 10px)) 0 0}.inno-spanner{background-color:#dcdcdc;box-shadow:4px 0 0 #dcdcdc,-4px 0 0 #dcdcdc;color:#fff;padding:1px 0;margin:0 5px;box-decoration-break:clone;-webkit-box-decoration-break:clone;color:#222}.inno-spanner–error,.inno-spanner–error-invalid-symbol{background-color:#fff;border:3px dashed #e11b22;box-shadow:none;padding-left:4px;padding-right:4px}body:has(.inno-chrome–chromeless){overflow:hidden;width:100vw;height:100vh}@supports(width: 100dvw){body:has(.inno-chrome–chromeless){width:100dvw}}@supports(height: 100dvh){body:has(.inno-chrome–chromeless){height:100dvh}}body:has(.inno-chrome–chromeless) .global-app-bar,body:has(.inno-chrome–chromeless) .footer,body:has(.inno-chrome–chromeless) .footer-wrapper{display:none}body:has(.inno-chrome–chromeless) #inq-article-completion{height:0px}.inno{–gutter: calc(50vw – 325px)}.inno *{box-sizing:border-box}.inno-layout–content>*{max-width:min(650px,100vw – 48px);margin-inline:auto 36px}@media(min-width: 768px){.inno-layout–content>*{max-width:min(650px,100vw – 32px);margin-inline:auto}}.inno-layout–align-full{max-width:100%}.inno-layout–align-wide{max-width:min(1250px,100vw – 32px);margin-inline:auto}.inno-layout–align-default{max-width:min(650px,100vw – 32px);margin-inline:auto}@media(min-width: 768px){.inno-layout–align-left{float:left;margin-inline-start:var(–gutter);margin-inline-end:24px;width:301px;margin-block-end:16px;padding-top:6px}}@media(min-width: 960px){.inno-layout–align-left{margin-inline-start:calc(var(–gutter) – clamp(0px,var(–gutter) – 100px,160px))}}@media(min-width: 768px){.inno-layout–align-right{float:right;width:301px;margin-inline-start:24px;margin-inline-end:var(–gutter);margin-block-end:16px;padding-top:5px}}@media(min-width: 960px){.inno-layout–align-right{margin-inline-end:calc(var(–gutter) – clamp(0px,var(–gutter) – 100px,160px))}}.inno-layout–stack>*+*{margin-block-start:24px}.inno-layout–stack-tight>*+*{margin-block-start:10px}.inno-layout–stack-loose>*+*{margin-block-start:30px}*+.inno-layout–isolate{margin-block-start:48px}.inno-layout–isolate+*{margin-block-start:48px}.inno-ask{background-color:#fff}.inno-ask+.inno-ask{margin-top:0}.inno-ask+.inno-ask .inno-ask__header{border-top:0}.inno-ask__header{position:relative;display:flex;justify-content:center;align-items:center;gap:12px;border:2px solid #222;padding:12px 48px;background-color:#dcdcdc;transition:background .4s ease-in-out}.inno-ask__header:hover{background-color:#0072cf}.inno-ask__header:hover .inno-icon__stroke{stroke:#fff}.inno-ask__header:hover .inno-heading{color:#fff}.inno-ask__header .inno-heading{transition:color .4s ease-in-out;font-size:24px}.inno-ask__header.has-expanded{background-color:#038f10}.inno-ask__header.has-expanded .inno-heading{color:#fff}.inno-ask__icon.inno-icon{position:absolute;right:12px;width:2em;height:2em;transition:stroke .4s ease-in-out,transform .4s ease-in-out,opacity .4s ease-in-out;justify-self:end}.inno-ask__icon.inno-icon .inno-icon__stroke{stroke-width:3px;transition:stroke .4s ease-in-out}.has-expanded .inno-ask__icon.inno-icon{opacity:0}.inno-candidate{position:relative;transition:height .5s}.inno-candidate.is-hidden{display:none}.inno-candidate–collapsed .inno-candidate__header{border-bottom:none}.inno-candidate–collapsed .inno-candidate__face{top:-10%;height:120%}.inno.is-names .inno-candidate+.inno-candidate .inno-candidate__header{border-top-width:0}.inno.is-democratic .inno-candidate[data-party=republican]{display:none}.inno.is-republican .inno-candidate[data-party=democratic]{display:none}.inno-candidate[data-district=philadelphia]+.inno-candidate[data-district=philadelphia]{margin-top:0;border-bottom:2px solid #222}.inno-candidate__container{position:relative}.inno-candidate__face{position:absolute;z-index:1;right:10px;top:5px;height:100px;transform:translateX(25%);transition:transform .4s ease-in-out,opacity .4s ease-in-out;transition-delay:.4s}@media(min-width: 768px){.inno-candidate__face{transform:translateX(35%);height:120px}}@media(min-width: 1400px){.inno-candidate__face{height:140px;top:-5px;transform:translateX(40%)}}.inno.is-names .inno-candidate__face{transform:scale(0.5) translateX(20%) translateY(-19px)}@media(min-width: 768px){.inno.is-names .inno-candidate__face{transform:scale(0.7) translateX(24%)}}@media(min-width: 1400px){.inno.is-names .inno-candidate__face{transform:scale(0.6) translateX(24%) translateY(-5px)}}.inno-candidate__main{transition:height .4s ease-in-out;overflow:hidden}.inno-candidate__main.is-hidden~.inno-candidate__face{opacity:0}.inno-candidate__header,.inno-candidate__list,.inno-candidate__endorsements{padding:10px 10px 10px 10px}@media(min-width: 768px){.inno-candidate__header,.inno-candidate__list,.inno-candidate__endorsements{padding:12px 12px 12px 12px}}.inno-candidate__header{position:relative;font-family:”innoGrot10″,sans-serif;background-color:#dcdcdc;border:2px solid #222;transition:border .2s ease-in-out;transition-delay:.2s;text-align:center;display:grid;gap:2px}.inno-candidate__header:before{content:””;position:absolute;right:12px;bottom:12px;width:20px;height:20px;border:2px solid #222}.inno-candidate__party{font-weight:normal;font-size:14px}.inno-candidate__first-name{position:relative;font-family:”innoGrot12″,sans-serif;font-weight:bold;font-size:24px}@media(min-width: 768px){.inno-candidate__first-name{font-size:20px}}.inno-candidate__last-name{position:relative;font-family:”innoGrot12″,sans-serif;font-weight:bold;font-size:24px;text-transform:uppercase;letter-spacing:.02em}@media(min-width: 768px){.inno-candidate__last-name{font-size:32px}}.inno-candidate__bio{font-weight:normal;font-size:14px;line-height:1.3}@media(min-width: 768px){.inno-candidate__bio{font-size:16px}}.inno-candidate__bio a{color:var(–color-text-link);text-decoration:none;border-bottom:1px solid rgba(0,0,0,0);transition:border .4s ease-in-out}.inno-candidate__bio a:hover{border-bottom-color:var(–color-text-link)}.inno-candidate__list{background-color:#fff;border-left:2px solid #222;border-right:2px solid #222;padding-bottom:0}.inno-candidate__list–cons{border-top:2px solid #222}@media(min-width: 768px){.inno-candidate__list–cons{border-top:0;border-left:2px solid #222}}.inno-candidate__bullet,.inno-candidate__full{display:inline}.inno-candidate__list-heading{font-family:”innoGrot12″,sans-serif;text-transform:uppercase;font-size:24px;font-weight:bold;margin-bottom:12px;text-align:center;border-top:2px solid #222;border-bottom:2px solid #222;padding-block:12px;margin-left:-16px;margin-right:-16px}.inno-candidate__list-item{padding-left:26px;background-image:url(“https://interactives.inquirer.com/projects/2026/10/midterm-guide/1791820091209/assets/arrow.svg”);background-size:1.3em;background-position:left .2em;background-repeat:no-repeat;padding-bottom:16px}@media(min-width: 768px){.inno-candidate__list-item{background-size:1.5em;background-position:left .4em}}.inno-candidate__list-item:last-of-type{padding-bottom:12px}.inno-candidate__list-item .inno-p{margin-bottom:0}.inno-candidate__list-item–bio{background-image:url(“https://interactives.inquirer.com/projects/2026/10/midterm-guide/1791820091209/assets/person.svg”);padding-bottom:16px}.inno-candidate[data-district=philadelphia] .inno-candidate__list-item–bio{background-image:url(“https://interactives.inquirer.com/projects/2026/10/midterm-guide/1791820091209/assets/question.svg”)}.inno-candidate__endorsements{background-color:#fff;border-left:2px solid #222;border-right:2px solid #222;border-bottom:2px solid #222}.inno-candidate__endorsements .inno-candidate__list-item{padding-bottom:6px}@media(min-width: 768px){.inno-candidate__endorsements{display:grid;grid-template-columns:1fr 1fr;gap:0 68px}.inno-candidate__endorsements .inno-candidate__list-heading{grid-column-start:1;grid-column-end:3}.inno-candidate__endorsements .inno-candidate__list-item{padding-bottom:12px}.inno-candidate__endorsements .inno-candidate__list-item:last-of-type,.inno-candidate__endorsements .inno-candidate__list-item:nth-last-of-type(2){padding-bottom:0}}.inno-candidate__no-endorsements{color:#808284}.inno-candidate:has(+.inno-credits){margin-bottom:100px}.inno-candidate:has(+.inno-credits) .inno-candidate__list{border-bottom:2px solid #222}.inno-conditional{display:none}.inno-conditional.is-visible{display:block}.inno-filter{text-align:center;font-family:”innoGrot10″,sans-serif;font-size:14px;border-top:1px solid #222;border-bottom:1px solid #222;padding:14px 0 8px}@media(min-width: 768px){.inno-filter{font-size:16px;padding:16px 0 12px}}.inno-filter__options{position:relative;z-index:20}.inno-filter__label{display:block;color:#808284}.inno-filter__option{position:relative;display:inline-block;padding:0 12px 6px}.inno-filter__option.is-selected{font-weight:bold;pointer-events:none}.inno-filter__option.is-selected .inno-pencil{opacity:1}.inno-filter__option.is-selected .inno-pencil path{stroke-dashoffset:0}.inno-filter__option-bubble{position:relative;top:8px;display:inline;width:24px;margin-right:8px}.inno-glow{position:fixed;z-index:300;top:0;left:0;width:calc(100% – 24px);height:100%;height:100dvh;background-color:rgba(0,0,0,0);pointer-events:none;filter:grayscale(1) contrast(0.6);opacity:.3}@media(min-width: 768px){.inno-glow{opacity:.7}}.inno-instruction{font-family:”innoGrot10″,sans-serif;font-size:14px;text-align:center;margin-top:12px}@media(min-width: 768px){.inno-instruction{margin-top:16px}}.inno-records{border-bottom:2px solid #222}.inno-records .inno-records__none{display:none}.inno-records.has-no-candidates{border-bottom:none}.inno-records.has-no-candidates .inno-records__none{display:block}.inno-records.has-no-candidates .inno-records__none–pa-senate{display:none}.is-odd .inno-records.has-no-candidates:has([data-office=pa-senate]) .inno-records__none{display:none}.is-odd .inno-records.has-no-candidates:has([data-office=pa-senate]) .inno-records__none–pa-senate{display:block}.inno-records__none{background-color:#0072cf;color:#f4f1eb;padding:16px;color:#fff;font-family:”innoGrot10″,sans-serif;font-size:14px;border:2px solid #222}.inno-records__none:before{content:”?”;position:relative;top:-2px;background:#fff;color:#0072cf;width:1.2em;height:1.2em;text-align:center;display:flex;align-items:center;justify-content:center;float:left;margin-right:8px;border-radius:24px}.is-democratic .inno-records__none–dem{display:inline}.is-democratic .inno-records__none–rep{display:none}.is-republican .inno-records__none–dem{display:none}.is-republican .inno-records__none–rep{display:inline}.inno-office–pasenate.is-even{display:none !important}.inno-office–pasenate.is-even+.inno-p,.inno-office–pasenate.is-even+.inno-p+.inno-records{display:none !important}.inno:not([data-city=Philadelphia]) .inno-heading#ballot-question{display:none}.inno:not([data-city=Philadelphia]) .inno-heading#ballot-question+.inno-p,.inno:not([data-city=Philadelphia]) .inno-heading#ballot-question+.inno-p+.inno-candidate{display:none}.inno-scrollbar{–thumb-height: 20%;–thumb-position: 0%;position:fixed;z-index:20;top:0;right:0;bottom:0;width:24px;display:grid;grid-template-rows:24px 1fr 24px;border:2px solid #222}.inno-scrollbar__button{background-color:#0072cf;background-image:url(“https://interactives.inquirer.com/projects/2026/10/midterm-guide/1791820091209/assets/triangle–white.svg”);background-size:12px;background-position:center;background-repeat:no-repeat;border-top:2px solid #222}.inno-scrollbar__button–up{rotate:180deg}.inno-scrollbar__button:hover{background-color:#038f10}.inno-scrollbar__track{background-color:#fff;padding:2px}.inno-scrollbar__thumb{position:relative;background-color:#dcdcdc;width:100%;height:var(–thumb-height);top:var(–thumb-position);border:2px solid #222;margin:0 auto}.inno-scrollbar__thumb:hover{background-color:#038f10}::-webkit-scrollbar{display:none}.inno-search{position:relative;scroll-margin-top:24px}.inno-search.is-loading .inno-search__loading{display:block}.inno-search.is-error .inno-search__results-error{opacity:1}.inno-search__header{background-color:#fff;border:2px solid #222;padding:12px}.inno-search__description{font-size:14px;line-height:1.5;text-align:center;padding:4px 0}@media(min-width: 768px){.inno-search__description{font-size:14px}}.inno-search__button{margin-left:auto;margin-right:auto;margin-top:24px}.inno-search__title{font-family:”innoGrot12″,sans-serif;text-transform:uppercase;text-align:center;font-size:24px;line-height:1.2;letter-spacing:.02em}.inno-search__loading{position:absolute;top:100%;left:0;right:0;font-size:24px;font-weight:bold;transition:opacity .4s ease-in-out;display:none;text-align:center;animation:pulse 1s ease-in-out infinite alternate}@keyframes pulse{0%{opacity:.8}100%{opacity:1}}.inno-search__results-error{transition:opacity .4s ease-in-out;opacity:0;background-color:#e11b22;color:#fff;padding:12px;border:2px solid #222;border-top:0}.inno-search__results .inno-reveal{background-color:#0072cf}.inno-search__results .inno-reveal .inno-p{color:#fff;font-family:”innoGrot10″,sans-serif;font-size:14px}.inno-search__results .inno-reveal .inno-p:before{content:”?”;position:relative;top:2px;background:#fff;color:#0072cf;width:1.2em;height:1.2em;text-align:center;display:flex;align-items:center;justify-content:center;float:left;margin-right:8px;border-radius:24px}.inno-subnav__inner{position:fixed;z-index:30;top:0;left:0;right:24px;margin-bottom:16px;background-color:rgb(0,57.8260869565,105);color:#fff;opacity:0;transition:opacity .4s ease-in-out,transform .4s ease-in-out;transform:translateY(-200%);pointer-events:none;padding-left:18px}@media(min-width: 768px){.inno-subnav__inner{padding-left:24px}}.inno-subnav__inner .inno-button{pointer-events:none;font-size:14px;font-weight:bold}.is-active .inno-subnav__inner{opacity:1;height:auto}.is-visible .inno-subnav__inner{transform:translateY(0)}.is-active.is-visible .inno-subnav__inner .inno-button{pointer-events:all}.inno-subnav__content{font-size:12px;line-height:1.4;display:flex;justify-content:space-between;gap:8px}@media(min-width: 768px){.inno-subnav__content{font-size:14px}}.inno-subnav__text{padding:16px 0;align-self:center}.inno-populate[data-populate=address]{font-weight:bold}.inno-adbox{max-height:400px;transition:max-height .4s ease-in-out,padding .4s ease-in-out,margin .4s ease-in-out;overflow:hidden;display:block !important}.inno-adbox.is-hidden{max-height:0;margin:0;padding:0}.inno-adbox__label{display:block;margin:0 auto 8px;text-align:center;font-size:12px;color:#808284;text-transform:uppercase}.inno-ad__ad{margin-inline:auto;background-color:#f4f1eb;display:flex;align-items:center;justify-content:center;overflow:hidden;width:300px;height:250px}@media(min-width: 768px)and (max-width: 1022px){.inno-ad__ad{width:728px;height:90px}}@media(min-width: 1023px){.inno-ad__ad{height:auto;width:fit-content;min-width:728px;min-height:90px;max-width:970px;max-height:250px}}.inno-ad__ad–small{width:300px;height:250px;min-height:auto;min-width:auto}.inno-ad__ad iframe{position:unset !important}.inno-ad__ad .cnx-content-wrapper{position:relative !important}.inno-ad__ad .celtra-ad-inline-host,.inno-ad__ad .celtra-ad-inline-host *{position:relative !important;overflow:hidden !important}.inno-ad__placeholder{text-align:center;text-transform:uppercase;font-weight:bold;font-size:16px;color:#222}@media(min-width: 1200px){.inno-ad__placeholder{padding:120px 0}}.inno-body__error{color:var(–color-text-primary);padding:24px;border:3px dashed #e11b22;font-family:monospace;white-space:pre-wrap;font-size:16px}.inno-body__error-head{display:block;font-weight:bold}.inno-button{position:relative;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:8px;box-sizing:border-box;text-decoration:none;cursor:url(“https://interactives.inquirer.com/projects/2026/10/midterm-guide/1791820091209/assets/cursor.png”) 20 2,auto;pointer-events:auto;transition:background-color .4s ease-in-out,border-color .4s ease-in-out,color .4s ease-in-out;background-color:var(–color-accent);color:var(–color-over-accent)}.inno:has(.is-loading) .inno-button{cursor:url(“https://interactives.inquirer.com/projects/2026/10/midterm-guide/1791820091209/assets/cursor–loading.png”) 20 2,auto}.inno-button:disabled{pointer-events:none}.inno-button–primary:hover{background-color:#038f10;color:var(–color-background)}.inno-button–primary:disabled{background-color:var(–color-text-secondary);color:var(–color-text-tertiary);pointer-events:none}.inno-button–secondary{background-color:var(–color-background);color:var(–color-text-primary);border:solid 1px var(–color-accent)}.inno-button–secondary:hover{background-color:var(–color-accent);color:var(–color-over-accent);border:solid 1px var(–color-accent)}.inno-button–secondary:disabled{border-color:var(–color-text-tertiary);color:var(–color-text-tertiary)}.inno-button–minimal{background-color:rgba(0,0,0,0);color:var(–color-text-primary);padding:8px}.inno-button–minimal:hover{background-color:var(–color-accent);color:var(–color-over-accent)}.inno-button–minimal:disabled{background-color:var(–color-text-secondary);color:var(–color-text-tertiary);pointer-events:none}.inno-button–large{padding:16px 40px}.inno-button–medium{padding:16px 40px}.inno-button–small{padding:8px 16px}.inno-button–round{border-radius:99px}.inno-button–round.inno-button–small{padding:8px}.inno-button–round.inno-button–medium{padding:10px}.inno-button–round.inno-button–large{padding:16px}.inno-button__label{font-family:”innoGrot10″,sans-serif;font-weight:700;line-height:1.2em;flex-grow:0;z-index:1}.inno-button–large .inno-button__label{font-size:20px}.inno-button–medium .inno-button__label{font-size:18px}.inno-button–small .inno-button__label{font-size:16px}.inno-button–has-image .inno-button__label{text-align:center}.inno-button__image{margin:0 auto;object-fit:contain}.inno-byline{border-block:1px solid var(–color-faint);padding-block:16px;font-family:”innoGrot10″,sans-serif;font-size:12px;line-height:1.5}.inno-byline–center{border-block:none;padding-block:0}@media(min-width: 768px){.inno-byline{font-size:14px}}.inno-byline__content{display:flex;justify-content:space-between;align-items:center;gap:12px}.inno-byline–center .inno-byline__content{flex-direction:column;text-align:center}.inno-byline__text{flex:1 1 auto}.inno-byline .inno-gift{flex:0 0 auto}.inno-byline__timestamp-date{color:var(–color-text-primary)}.inno-byline__timestamp-label{color:var(–color-text-secondary)}.inno-byline__authors{color:var(–color-text-primary, #222222);line-height:1.5em;text-wrap-style:balance}.inno-byline__author{display:inline}.inno-byline__author-link,.inno-byline__authors a{color:var(–color-text-primary, #222222);text-decoration:none;transition:color .4s ease-in-out}.inno-byline__author-link:hover,.inno-byline__authors a:hover{color:var(–color-text-link, #004e96)}.inno-caption{color:var(–color-text-secondary);font-family:”innoGrot10″,sans-serif;font-size:14px;line-height:1.5}.inno-caption a{color:inherit;box-shadow:inset 0 -1px 0 0 var(–color-text-secondary);transition:color .25s ease,box-shadow .25s ease;text-decoration:none}.inno-caption a:hover{color:var(–color-text-link);box-shadow:inset 0 -1px 0 0 var(–color-text-link)}.inno-caption__caption-text{display:block;text-wrap:pretty}.inno-caption__credit{color:var(–color-text-tertiary);display:block}.inno-credits{display:block !important;font-family:”innoGrot10″,sans-serif}.inno-credits__header{color:var(–color-text-primary);font-size:14px;font-family:”innoGrot10″,sans-serif;font-weight:normal;line-height:1.2;border:2px solid #222;background-color:#dcdcdc;padding:12px;text-align:center}.inno-credits__roles{display:grid;gap:24px;color:var(–color-text-primary);font-size:14px;line-height:1.5;text-align:pretty;background-color:#fff;border:2px solid #222;border-top:none;padding:12px}@media(min-width: 768px){.inno-credits__roles{grid-template-columns:repeat(2, minmax(0, 1fr))}}.inno-divider{border:none;height:24px;width:100%;display:flex;justify-content:space-between;overflow:hidden}@media(min-width: 768px){.inno-divider{height:32px}}@keyframes triangleDip{0%{transform:translateY(-100%)}5%,95%{transform:translateY(0)}100%{transform:translateY(100%)}}.inno-divider__triangle{animation:triangleDip 5s ease-in-out infinite}.inno-divider__triangle–1{animation-delay:.1s}.inno-divider__triangle–2{animation-delay:.2s}.inno-divider__triangle–3{animation-delay:.3s}.inno-divider__triangle–4{animation-delay:.4s}.inno-divider__triangle–5{animation-delay:.5s}.inno-divider__triangle–6{animation-delay:.6s}.inno-gift{display:none}.inno-gift–default{justify-content:center}.inno-gift–default.is-available{display:flex}.inno-gift–default .inno-button{font-size:24px;padding:8px;min-width:200px;margin:0px auto}.inno-gift–minimal.is-available{display:inline-block}.inno-gift–minimal .inno-button{display:flex;align-items:center;font-size:16px;line-height:16px}.inno-gift–minimal .inno-button__label{font-size:14px;font-weight:normal;color:currentColor;display:none}@media(min-width: 600px){.inno-gift–minimal .inno-button__label{display:inline-block}}.inno-gift–minimal .inno-icon{display:inline-block}.inno-gift.is-available{display:block}.is-app .inno-gift{display:none}.inno-gift .inno-icon–loading{animation:spin 1s linear forwards infinite}.inno-gift .inno-icon{display:none}.inno-gift [data-state=ready] .inno-icon–gift{display:initial}.inno-gift [data-state=loading] .inno-icon–loading{display:initial}.inno-gift [data-state=complete] .inno-icon–tickmark{display:initial}.inno-gift [data-state=error] .inno-icon–cross{display:initial}.inno-gift-toast-receiver{display:none}@keyframes spin{0%{rotate:0deg}100%{rotate:360deg}}.inno-heading{font-family:”innoGrot12″,sans-serif;text-transform:uppercase;font-size:36px;font-weight:600;line-height:1.2;color:var(–color-text-primary);scroll-margin-top:calc(var(–sticky-height) + 16px);text-wrap:balance;text-align:center;letter-spacing:.02em}@media(min-width: 768px){.inno-heading{font-size:36px}}.inno-heading–chapter{font-weight:300;border-bottom:1px solid var(–color-text-primary);text-transform:uppercase}.inno-layout–stack>*+.inno-heading{margin-block-start:48px}.inno-layout–stack>.inno-heading:has(+*){margin-block-end:-12px}.inno-layout–stack-tight>*+.inno-heading{margin-block-start:20px}.inno-layout–stack-tight>.inno-heading:has(+*){margin-block-end:-5px}.inno-layout–stack-loose>*+.inno-heading{margin-block-start:60px}.inno-layout–stack-loose>.inno-heading:has(+*){margin-block-end:-15px}.inno-hero{padding-top:24px;margin-block-start:0;margin-bottom:-12px}@media(min-width: 768px){.inno-hero{margin-bottom:0;padding-top:48px}}.inno-hero__content{text-align:center;color:var(–color-text-primary)}.inno-hero__headline{font-family:”innoGrot12″,sans-serif;font-weight:600;line-height:1;text-wrap:balance;text-transform:uppercase;margin-right:auto;width:100%;letter-spacing:.02em}@media(min-width: 768px){.inno-hero__headline{margin:0 auto}}.inno-hero__headline-piece{display:block}.inno-hero__headline-piece–0{font-size:24px;margin-bottom:8px;text-transform:none}@media(min-width: 768px){.inno-hero__headline-piece–0{font-size:40px}}.inno-hero__headline-piece–1{font-size:14vw}@media(min-width: 768px){.inno-hero__headline-piece–1{font-size:104px}}.inno-hero__headline-subpiece–green{color:#038f10;padding-right:4px}.inno-hover{position:relative;border:1px var(–color-accent) solid;padding:3px 4px;transition:border .4s ease-in-out;box-sizing:border-box}@media(min-width: 768px){.inno-hover{cursor:help}}.inno-hover:hover{border:1px var(–color-accent) solid}.inno-hover__box{position:fixed;bottom:0;left:0;right:0;z-index:20;background-color:var(–color-background);pointer-events:none;transform:translateY(100%);transition:transform .4s ease-in-out;padding:16px;border-top:1px solid var(–color-accent);white-space:normal;font-family:”Grot 10″,sans-serif;font-size:14px;line-height:1.5}@media(min-width: 768px){.inno-hover__box{position:absolute;top:100%;width:200px;left:-1px;right:0;bottom:auto;margin:auto;max-width:250px;padding:6px;opacity:0;transition:opacity .4s ease-in-out;transform:none;border:1px solid var(–color-accent)}}.inno-hover.is-visible .inno-hover__box{opacity:1;transform:translateY(0)}.inno-icon{display:inline-block;width:1.2em;height:1.2em;fill:currentColor}.inno-icon–white{fill:#fff}.inno-icon–black{fill:#222}.inno-icon–accent{fill:var(–color-accent)}.inno-icon–over-accent{fill:var(–color-over-accent)}.inno-icon__stroke{fill:rgba(0,0,0,0);stroke:currentColor;stroke-width:2px;vector-effect:non-scaling-stroke}.inno-icon–white .inno-icon__stroke{stroke:#fff}.inno-icon–black .inno-icon__stroke{stroke:#222}.inno-icon–accent .inno-icon__stroke{stroke:var(–color-accent)}.inno-icon–over-accent .inno-icon__stroke{stroke:var(–color-over-accent)}.inno-image__img{width:100%;display:block}.inno-list{list-style:none}.inno-list__item{position:relative;padding-left:24px}.inno-list__item:before{content:””;position:absolute;top:.3em;left:0px;padding-left:26px;background-image:url(assets/arrow.svg);background-size:1.3em;background-position:left .15em;background-repeat:no-repeat;padding-bottom:24px}@keyframes loadingPulse{0%{opacity:1}100%{opacity:.4}}@keyframes spin{0%{rotate:0deg}100%{rotate:360deg}}.inno-loading{font-family:”innoGrot10″,sans-serif;font-weight:bold;font-size:18px;transition:opacity .4s ease-in-out;z-index:999;position:relative}.inno-loading__text-label,.inno-loading__label-error{position:relative;text-align:left}.inno-loading–position-absolute .inno-loading__text-label,.inno-loading–position-absolute .inno-loading__icon-label,.inno-loading–position-absolute .inno-loading__label-error{position:absolute;left:0;top:0;transform:translate(-50%, -50%)}.inno-loading__icon-label{animation:spin 1s linear forwards infinite}.inno-loading__text-label{animation:loadingPulse .8s ease-in-out alternate infinite}.inno-loading__label-error{color:#e11b22;display:none}.inno-loading[data-state=ready]{opacity:0;animation:none}.inno-loading[data-state=loading]{opacity:1}.inno-loading[data-state=error] .inno-loading__label-error{display:block}.inno-loading[data-state=error] .inno-loading__text-label,.inno-loading[data-state=error] .inno-label__icon-label{display:none}.inno-locate{display:flex;flex-direction:column;gap:12px 8px}@media(min-width: 450px){.inno-locate{display:grid;grid-template-columns:1fr 1fr}}.inno-location__label{width:100%;grid-column-start:1;grid-column-end:3;text-align:center;padding-top:4px;font-size:14px;font-weight:bold}@media(min-width: 768px){.inno-location__label{font-size:14px}}.inno-locate__field{flex-grow:2;padding:12px 8px;border:2px solid #dcdcdc;transition:border .4s ease-in-out;font-family:”innoGrot10″,sans-serif;font-size:14px;letter-spacing:.1px;-webkit-appearance:none;color:#222;background-color:#fff}@media(min-width: 768px){.inno-locate__field{font-size:16px;padding:12px}}.inno-locate__field::placeholder{color:#808284}.inno-locate__field:focus{border-color:#595760}.inno-locate__note{font-size:12px;color:var(–color-text-secondary);text-align:center;grid-column-start:1;grid-column-end:3}.inno-p{-webkit-font-smoothing:subpixel-antialiased;-mox-osx-font-smoothing:grayscale;color:#222;color:var(–color-text-primary);font-family:”innoGrot10″,sans-serif;font-size:18px;line-height:1.666666;white-space:pre-line;text-wrap:pretty;letter-spacing:-0.01em}@media(min-width: 600px){.inno-p{font-size:20px;line-height:1.6}}.inno-p–has-dropcap:first-letter{margin-top:7px;margin-right:12px;margin-bottom:0;margin-left:0;font-family:”innoGrot12″,sans-serif;font-size:3.2em;float:left;font-weight:bold;line-height:1;color:#fff;background-color:#0072cf;padding:6px 12px;border:2px solid #222}@-moz-document url-prefix(){.inno-p–has-dropcap:first-letter{margin-bottom:0px;padding:14px 12px}}@media(min-width: 600px){.inno-p–has-dropcap:first-letter{font-size:5.3em;margin-top:9px;margin-bottom:-10px;padding:1px 12px}@-moz-document url-prefix(){.inno-p–has-dropcap:first-letter{margin-top:10px;margin-bottom:0px;padding:16px 12px}}}.inno-p a{transition:box-shadow .25s ease,color .25s ease;color:var(–color-text-link);text-decoration:none;cursor:url(“https://interactives.inquirer.com/projects/2026/10/midterm-guide/1791820091209/assets/cursor.png”) 20 2,auto}.inno-p a:hover{color:#038f10;box-shadow:inset 0 -1px 0 0 #038f10}.inno-p__endmark{display:inline-block;height:1.1em;width:1.1em;margin-left:5px;vertical-align:text-bottom;margin-bottom:2px;fill:var(–color-text-accent)}.inno-premium{padding:19px 26px 22px 8px;color:var(–color-text-primary);font-family:”innoGrot10″,sans-serif;font-size:18px;line-height:1;font-weight:normal;background-color:var(–color-background-secondary)}.inno-premium .inno-icon{fill:#f0af13;width:24px;margin-right:7px}.inno-premium__header{display:flex}.inno-premium__hed{font-weight:bold;line-height:22px;font-size:16px;color:var(–color-text-primary);padding:3px 0 4px;font-family:”innoGrot10″,sans-serif;text-wrap:pretty}.inno-mode–dark .inno-premium__hed{color:#fff}.inno-premium__message{font-weight:500;line-height:22px;font-size:16px;color:var(–color-text-secondary);font-family:”innoGrot10″,sans-serif;margin-left:32px;text-wrap:pretty}.inno-reveal{display:grid;grid-template-rows:1fr;overflow:hidden;transition:grid-template-rows 1s steps(5)}.inno-reveal.is-hidden{grid-template-rows:0fr}.inno-reveal.is-hidden .inno-reveal__content{visibility:hidden}.inno-reveal__content{min-height:0;transition:visibility 1s;visibility:visible}.inno-reveal__body{border-left:2px solid #222;border-bottom:2px solid #222;border-right:2px solid #222;padding:12px}.inno-toast{position:fixed;bottom:16px;left:0;right:0;width:max-content;margin:0px auto;z-index:120;display:flex;align-content:center;justify-content:center;text-align:center;font-size:20px;border-radius:5px;background-color:var(–color-text-primary);color:var(–color-background);padding:24px 48px;box-shadow:0 1px 4px rgba(89,87,96,.1),0 3px 6px rgba(89,87,96,.1);translate:0% calc(100% + 18px);transition:translate .4s;opacity:0}.inno-toast b,.inno-toast strong{font-weight:normal}.inno-toast.is-active{translate:0 0;opacity:1}

    The 2026 Pa. midtermsVoter’sGuide

    Pennsylvania, can you believe it? It’s almost here. Voters across the Keystone State are gearing up to cast their ballots in November’s midterm elections, which will decide the balance of power in Harrisburg and Washington.

    Control of the U.S. House could come down to a few key Pennsylvania congressional districts, including one in the Philly suburbs. And the election will determine whether Democratic Gov. Josh Shapiro holds onto the governor’s office as he faces a challenge from Republican Stacy Garrity.

    story continues after advertisement

    Pennsylvanians will also make their voices heard in state House elections and state Senate races as Democrats vie for their first trifecta in Harrisburg in decades. The majority in the state Senate will likely come down to a handful of competitive races in the eastern half of the state.

    And in Philadelphia, voters will weigh in on two ballot measures.

    With Pennsylvania as the main character this year (and every year), here’s everything you need to know about the Nov. 3 general election: when, where, and how to vote, and who’s on the ballot.

    When is the deadline to register to vote?

    When are polls open?

    Where is my polling place?

    What do I need to bring to the polls?

    How do I vote by mail?

    Can I vote early in person?

    story continues after advertisement
    Showing party candidates for address.Change

    Governor

    Vote for the candidates of one party for Governor and Lieutenant Governor

    The governor is the chief executive of the commonwealth and the top state official. The governor proposes budgets, appoints cabinet secretaries, signs legislation into law, and has the power to veto bills. Voters elect a governor and lieutenant governor on the same ticket in Pennsylvania’s gubernatorial elections. The lieutenant governor is the president of the state Senate and, in the case of a tied state Senate, is granted special tie-breaking powers under some circumstances.

    No DemocraticRepublican candidates in your district
    Your Pa. Senate seat isn't up for reelection until 2028

    usHouse

    Vote for one

    The U.S. House is made up of 435 representatives, including 17 from Pennsylvania. Members are elected to two-year terms. They must be at least 25 years old and have been a U.S. citizen for at least seven years.

    The lower chamber in Congress has the authority to introduce and pass federal legislation, impeach federal officials, authorize use of the military, and select the president if the Electoral College reaches a tie, among other duties. Its membership has been narrowly divided in recent years, with Republicans holding a slim majority going into this year’s midterms.

    No DemocraticRepublican candidates in your district
    Your Pa. Senate seat isn't up for reelection until 2028
    story continues after advertisement

    paSenate

    Vote for one

    The Pennsylvania Senate is composed of 50 lawmakers who create and enact laws on issues affecting Keystone State residents. It’s the upper chamber of the General Assembly and the Republican Party holds a slim majority. State senators serve staggered four-year terms, and half of the seats are up for election this year.

    No DemocraticRepublican candidates in your district
    Your Pa. Senate seat isn't up for reelection until 2028

    paHouse

    Vote for one

    There are 203 members of the Pennsylvania House of Representatives, each representing a district across the state.. It’s the lower chamber of the General Assembly, and the Democratic Party holds a slim majority. State representatives serve two-year terms, meaning the entire state House is up for reelection..

    No DemocraticRepublican candidates in your district
    Your Pa. Senate seat isn't up for reelection until 2028

    BALLOT QUESTIONS

    This year, voters in Philadelphia will be asked to answer two ballot questions:

    Staff Contributors

    • Reporters: Fallon Roth, Gillian McGoldrick, Michelle Baruchman, Sam Janesch, Anna Orso, and Sean Collins Walsh
    • Design and Development: Sam Morris and Dain Saint
    • Editors: Bryan Lowry, Oona Goodin-Smith, and Julie Busby
    • Copy Editor: Addam Schwartz

    (()=>{var Oo=Object.create;var Nr=Object.defineProperty;var Ro=Object.getOwnPropertyDescriptor;var Fo=Object.getOwnPropertyNames;var Ho=Object.getPrototypeOf,ko=Object.prototype.hasOwnProperty;var xr=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports);var Uo=(t,r,i,c)=>{if(r&&typeof r==”object”||typeof r==”function”)for(let u of Fo(r))!ko.call(t,u)&&u!==i&&Nr(t,u,{get:()=>r[u],enumerable:!(c=Ro(r,u))||c.enumerable});return t};var qo=(t,r,i)=>(i=t!=null?Oo(Ho(t)):{},Uo(r||!t||!t.__esModule?Nr(i,”default”,{value:t,enumerable:!0}):i,t));var kr=xr(ht=>{var Zo={0:”Jan.”,1:”Feb.”,2:”March”,3:”April”,4:”May”,5:”June”,6:”July”,7:”Aug.”,8:”Sept.”,9:”Oct.”,10:”Nov.”,11:”Dec.”};function Cr(t){return t===void 0&&(t=new Date),Zo[t.getMonth()]}var Jo={0:”Jan”,1:”Feb”,2:”Mar”,3:”Apr”,4:”May”,5:”Jun”,6:”Jul”,7:”Aug”,8:”Sep”,9:”Oct”,10:”Nov”,11:”Dec”};function Or(t){return t===void 0&&(t=new Date),Jo[t.getMonth()]}function le(t){return t==null}function Hr(t){return typeof t==”number”&&isFinite(t)}function Wn(t){return Hr(t)&&Math.floor(t)===t}var Qo=[“one”,”two”,”three”,”four”,”five”,”six”,”seven”,”eight”,”nine”],ti=[“million”,”billion”,”trillion”,”quadrillion”,”quintillion”,”sextillion”,”septillion”,”octillion”,”nonillion”,”decillion”],Rr=[“th”,”st”,”nd”,”rd”,”th”,”th”,”th”,”th”,”th”,”th”],ei=[11,12,13];function Fr(t){if(le(t))return””;var r=+t;return Wn(r)?ei.indexOf(r%100)>-1?Rr[0]:Rr[r%10]:””}var ni=[“first”,”second”,”third”,”fourth”,”fifth”,”sixth”,”seventh”,”eighth”,”ninth”],ri=new RegExp(/s+([^s]*)s*$/);ht.apdate=function(t){return t===void 0&&(t=new Date),Cr(t)+” “+t.getDate()+”, “+t.getFullYear()},ht.apdatetab=function(t){return t===void 0&&(t=new Date),Or(t)+” “+t.getDate()+”, “+t.getFullYear()},ht.apmonth=Cr,ht.apmonthtab=Or,ht.apnumber=function(t){if(le(t))return””;var r=+t;return Wn(r)?r=10?t.toString():Qo[r-1]:t.toString()},ht.aptime=function(t){t===void 0&&(t=new Date);var r,i,c=t.getHours(),u=t.getMinutes(),v=u===0;if(v){if(c===0)return”midnight”;if(c===12)return”noon”}return c0?c:12):(r=”p.m.”,i=c===12?c:c-12),v?i+” “+r:i+”:”+(u<10?"0"+u:u)+" "+r},ht.capfirst=function(t){if(le(t))return"";var r=String(t);return""+r.charAt(0).toUpperCase()+r.slice(1)},ht.intcomma=function(t){if(le(t))return"";var r,i=+t;return Hr(i)?((r=i.toString().split("."))[0]=r[0].replace(/B(?=(d{3})+(?!d))/g,","),r.join(".")):t.toString()},ht.intword=function(t){if(le(t))return"";var r=+t;if(!Wn(r))return t.toString();var i=Math.abs(r);if(i<1e6)return t.toString();var c=Math.ceil(Math.log(i+1)/Math.LN10)-1,u=c-c%3,v=r/Math.pow(10,u);return(v=Math.round(10*v)/10)+" "+ti[Math.floor(u/3)-2]},ht.ordinal=function(t,r){if(r===void 0&&(r=!1),le(t))return"";var i=+t;return Wn(i)?r&&i{(function(t,r,i,c){“use strict”;var u=[“”,”webkit”,”Moz”,”MS”,”ms”,”o”],v=r.createElement(“div”),P=”function”,H=Math.round,q=Math.abs,D=Date.now;function G(e,n,o){return setTimeout(it(e,o),n)}function R(e,n,o){return Array.isArray(e)?(W(e,o[n],o),!0):!1}function W(e,n,o){var a;if(e)if(e.forEach)e.forEach(n,o);else if(e.length!==c)for(a=0;a<e.length;)n.call(o,e[a],a,e),a++;else for(a in e)e.hasOwnProperty(a)&&n.call(o,e[a],a,e)}function L(e,n,o){var a="DEPRECATED METHOD: "+n+`
    `+o+` AT
    `;return function(){var h=new Error("get-stack-trace"),m=h&&h.stack?h.stack.replace(/^[^(]+?[n$]/gm,"").replace(/^s+ats+/gm,"").replace(/^Object.s*(/gm,”{anonymous}()@”):”Unknown Stack Trace”,_=t.console&&(t.console.warn||t.console.log);return _&&_.call(t.console,a,m),e.apply(this,arguments)}}var F;typeof Object.assign!=”function”?F=function(n){if(n===c||n===null)throw new TypeError(“Cannot convert undefined or null to object”);for(var o=Object(n),a=1;a<arguments.length;a++){var h=arguments[a];if(h!==c&&h!==null)for(var m in h)h.hasOwnProperty(m)&&(o[m]=h[m])}return o}:F=Object.assign;var g=L(function(n,o,a){for(var h=Object.keys(o),m=0;m-1}function de(e){return e.trim().split(/s+/g)}function vt(e,n,o){if(e.indexOf&&!o)return e.indexOf(n);for(var a=0;a<e.length;){if(o&&e[a][o]==n||!o&&e[a]===n)return a;a++}return-1}function fe(e){return Array.prototype.slice.call(e,0)}function Ke(e,n,o){for(var a=[],h=[],m=0;m<e.length;){var _=n?e[m][n]:e[m];vt(h,_)Z[n]}):a=a.sort()),a}function pe(e,n){for(var o,a,h=n[0].toUpperCase()+n.slice(1),m=0;m1&&!o.firstMultiple?o.firstMultiple=Qe(n):h===1&&(o.firstMultiple=!1);var m=o.firstInput,_=o.firstMultiple,K=_?_.center:m.center,V=n.center=tn(a);n.timeStamp=D(),n.deltaTime=n.timeStamp-m.timeStamp,n.angle=Me(K,V),n.distance=ge(K,V),xn(o,n),n.offsetDirection=en(n.deltaX,n.deltaY);var Z=ne(n.deltaTime,n.deltaX,n.deltaY);n.overallVelocityX=Z.x,n.overallVelocityY=Z.y,n.overallVelocity=q(Z.x)>q(Z.y)?Z.x:Z.y,n.scale=_?nn(_.pointers,a):1,n.rotation=_?Ln(_.pointers,a):0,n.maxPointers=o.prevInput?n.pointers.length>o.prevInput.maxPointers?n.pointers.length:o.prevInput.maxPointers:n.pointers.length,Dn(o,n);var S=e.element;We(n.srcEvent.target,S)&&(S=n.srcEvent.target),n.target=S}function xn(e,n){var o=n.center,a=e.offsetDelta||{},h=e.prevDelta||{},m=e.prevInput||{};(n.eventType===z||m.eventType===j)&&(h=e.prevDelta={x:m.deltaX||0,y:m.deltaY||0},a=e.offsetDelta={x:o.x,y:o.y}),n.deltaX=h.x+(o.x-a.x),n.deltaY=h.y+(o.y-a.y)}function Dn(e,n){var o=e.lastInterval||n,a=n.timeStamp-o.timeStamp,h,m,_,K;if(n.eventType!=J&&(a>Pn||o.velocity===c)){var V=n.deltaX-o.deltaX,Z=n.deltaY-o.deltaY,S=ne(a,V,Z);m=S.x,_=S.y,h=q(S.x)>q(S.y)?S.x:S.y,K=en(V,Z),e.lastInterval=n}else h=o.velocity,m=o.velocityX,_=o.velocityY,K=o.direction;n.velocity=h,n.velocityX=m,n.velocityY=_,n.direction=K}function Qe(e){for(var n=[],o=0;o<e.pointers.length;)n[o]={clientX:H(e.pointers[o].clientX),clientY:H(e.pointers[o].clientY)},o++;return{timeStamp:D(),pointers:n,center:tn(n),deltaX:e.deltaX,deltaY:e.deltaY}}function tn(e){var n=e.length;if(n===1)return{x:H(e[0].clientX),y:H(e[0].clientY)};for(var o=0,a=0,h=0;h=q(n)?e<0?Yt:te:n<0?Ct:Ot}function ge(e,n,o){o||(o=$e);var a=n[o[0]]-e[o[0]],h=n[o[1]]-e[o[1]];return Math.sqrt(a*a+h*h)}function Me(e,n,o){o||(o=$e);var a=n[o[0]]-e[o[0]],h=n[o[1]]-e[o[1]];return Math.atan2(h,a)*180/Math.PI}function Ln(e,n){return Me(n[1],n[0],ee)+Me(e[1],e[0],ee)}function nn(e,n){return ge(n[0],n[1],ee)/ge(e[0],e[1],ee)}var rn={mousedown:z,mousemove:Lt,mouseup:j},on="mousedown",Cn="mousemove mouseup";function re(){this.evEl=on,this.evWin=Cn,this.pressed=!1,rt.apply(this,arguments)}X(re,rt,{handler:function(n){var o=rn[n.type];o&z&&n.button===0&&(this.pressed=!0),o&Lt&&n.which!==1&&(o=j),this.pressed&&(o&j&&(this.pressed=!1),this.callback(this.manager,o,{pointers:[n],changedPointers:[n],pointerType:yt,srcEvent:n}))}});var On={pointerdown:z,pointermove:Lt,pointerup:j,pointercancel:J,pointerout:J},Rn={2:St,3:Mn,4:yt,5:O},Pe="pointerdown",sn="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(Pe="MSPointerDown",sn="MSPointerMove MSPointerUp MSPointerCancel");function ct(){this.evEl=Pe,this.evWin=sn,rt.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}X(ct,rt,{handler:function(n){var o=this.store,a=!1,h=n.type.toLowerCase().replace("ms",""),m=On[h],_=Rn[n.pointerType]||n.pointerType,K=_==St,V=vt(o,n.pointerId,"pointerId");m&z&&(n.button===0||K)?V<0&&(o.push(n),V=o.length-1):m&(j|J)&&(a=!0),!(V<0)&&(o[V]=n,this.callback(this.manager,m,{pointers:o,changedPointers:[n],pointerType:_,srcEvent:n}),a&&o.splice(V,1))}});var an={touchstart:z,touchmove:Lt,touchend:j,touchcancel:J},cn="touchstart",ln="touchstart touchmove touchend touchcancel";function un(){this.evTarget=cn,this.evWin=ln,this.started=!1,rt.apply(this,arguments)}X(un,rt,{handler:function(n){var o=an[n.type];if(o===z&&(this.started=!0),!!this.started){var a=hn.call(this,n,o);o&(j|J)&&a[0].length-a[1].length===0&&(this.started=!1),this.callback(this.manager,o,{pointers:a[0],changedPointers:a[1],pointerType:St,srcEvent:n})}}});function hn(e,n){var o=fe(e.touches),a=fe(e.changedTouches);return n&(j|J)&&(o=Ke(o.concat(a),"identifier",!0)),[o,a]}var dn={touchstart:z,touchmove:Lt,touchend:j,touchcancel:J},fn="touchstart touchmove touchend touchcancel";function ve(){this.evTarget=fn,this.targetIds={},rt.apply(this,arguments)}X(ve,rt,{handler:function(n){var o=dn[n.type],a=Fn.call(this,n,o);a&&this.callback(this.manager,o,{pointers:a[0],changedPointers:a[1],pointerType:St,srcEvent:n})}});function Fn(e,n){var o=fe(e.touches),a=this.targetIds;if(n&(z|Lt)&&o.length===1)return a[o[0].identifier]=!0,[o,o];var h,m,_=fe(e.changedTouches),K=[],V=this.target;if(m=o.filter(function(Z){return We(Z.target,V)}),n===z)for(h=0;h<m.length;)a[m[h].identifier]=!0,h++;for(h=0;h-1&&a.splice(m,1)};setTimeout(h,wt)}}function Hn(e){for(var n=e.srcEvent.clientX,o=e.srcEvent.clientY,a=0;a<this.lastTouches.length;a++){var h=this.lastTouches[a],m=Math.abs(n-h.x),_=Math.abs(o-h.y);if(m<=Ne&&_<=Ne)return!0}return!1}var jt=pe(v.style,"touchAction"),xe=jt!==c,mn="compute",De="auto",ie="manipulation",It="none",Ft="pan-x",Xt="pan-y",Le=se();function Wt(e,n){this.manager=e,this.set(n)}Wt.prototype={set:function(e){e==mn&&(e=this.compute()),xe&&this.manager.element.style&&Le[e]&&(this.manager.element.style[jt]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return W(this.manager.recognizers,function(n){nt(n.options.enable,[n])&&(e=e.concat(n.getTouchAction()))}),gn(e.join(" "))},preventDefaults:function(e){var n=e.srcEvent,o=e.offsetDirection;if(this.manager.session.prevented){n.preventDefault();return}var a=this.actions,h=Dt(a,It)&&!Le[It],m=Dt(a,Xt)&&!Le[Xt],_=Dt(a,Ft)&&!Le[Ft];if(h){var K=e.pointers.length===1,V=e.distance<2,Z=e.deltaTime-1&&this.requireFail.splice(n,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var n=this,o=this.state;function a(h){n.manager.emit(h,e)}o=At&&a(n.options.event+ye(o))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=lt},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(this.requireFail[e].state&(lt|Tt)))return!1;e++}return!0},recognize:function(e){var n=F({},e);if(!nt(this.options.enable,[this,n])){this.reset(),this.state=lt;return}this.state&(pt|Ht|lt)&&(this.state=Tt),this.state=this.process(n),this.state&($|Et|At|Ht)&&this.tryEmit(n)},process:function(e){},getTouchAction:function(){},reset:function(){}};function ye(e){return e&Ht?"cancel":e&At?"end":e&Et?"move":e&$?"start":""}function Te(e){return e==Ot?"down":e==Ct?"up":e==Yt?"left":e==te?"right":""}function Kt(e,n){var o=n.manager;return o?o.get(e):e}function st(){Q.apply(this,arguments)}X(st,Q,{defaults:{pointers:1},attrTest:function(e){var n=this.options.pointers;return n===0||e.pointers.length===n},process:function(e){var n=this.state,o=e.eventType,a=n&($|Et),h=this.attrTest(e);return a&&(o&J||!h)?n|Ht:a||h?o&j?n|At:n&$?n|Et:$:lt}});function ae(){st.apply(this,arguments),this.pX=null,this.pY=null}X(ae,st,{defaults:{event:"pan",threshold:10,pointers:1,direction:_e},getTouchAction:function(){var e=this.options.direction,n=[];return e&ft&&n.push(Xt),e&Nt&&n.push(Ft),n},directionTest:function(e){var n=this.options,o=!0,a=e.distance,h=e.direction,m=e.deltaX,_=e.deltaY;return h&n.direction||(n.direction&ft?(h=m===0?me:m<0?Yt:te,o=m!=this.pX,a=Math.abs(e.deltaX)):(h=_===0?me:_n.threshold&&h&n.direction},attrTest:function(e){return st.prototype.attrTest.call(this,e)&&(this.state&$||!(this.state&$)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var n=Te(e.direction);n&&(e.additionalEvent=this.options.event+n),this._super.emit.call(this,e)}});function Ce(){st.apply(this,arguments)}X(Ce,st,{defaults:{event:”pinch”,threshold:0,pointers:2},getTouchAction:function(){return[It]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&$)},emit:function(e){if(e.scale!==1){var n=e.scale<1?"in":"out";e.additionalEvent=this.options.event+n}this._super.emit.call(this,e)}});function xt(){Q.apply(this,arguments),this._timer=null,this._input=null}X(xt,Q,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[De]},process:function(e){var n=this.options,o=e.pointers.length===n.pointers,a=e.distancen.time;if(this._input=e,!a||!o||e.eventType&(j|J)&&!h)this.reset();else if(e.eventType&z)this.reset(),this._timer=G(function(){this.state=pt,this.tryEmit()},n.time,this);else if(e.eventType&j)return pt;return lt},reset:function(){clearTimeout(this._timer)},emit:function(e){this.state===pt&&(e&&e.eventType&j?this.manager.emit(this.options.event+”up”,e):(this._input.timeStamp=D(),this.manager.emit(this.options.event,this._input)))}});function Oe(){st.apply(this,arguments)}X(Oe,st,{defaults:{event:”rotate”,threshold:0,pointers:2},getTouchAction:function(){return[It]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&$)}});function Re(){st.apply(this,arguments)}X(Re,st,{defaults:{event:”swipe”,threshold:10,velocity:.3,direction:ft|Nt,pointers:1},getTouchAction:function(){return ae.prototype.getTouchAction.call(this)},attrTest:function(e){var n=this.options.direction,o;return n&(ft|Nt)?o=e.overallVelocity:n&ft?o=e.overallVelocityX:n&Nt&&(o=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&q(o)>this.options.velocity&&e.eventType&j},emit:function(e){var n=Te(e.offsetDirection);n&&this.manager.emit(this.options.event+n,e),this.manager.emit(this.options.event,e)}});function Vt(){Q.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}X(Vt,Q,{defaults:{event:”tap”,pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[ie]},process:function(e){var n=this.options,o=e.pointers.length===n.pointers,a=e.distance<n.threshold,h=e.deltaTime<n.time;if(this.reset(),e.eventType&z&&this.count===0)return this.failTimeout();if(a&&h&&o){if(e.eventType!=j)return this.failTimeout();var m=this.pTime?e.timeStamp-this.pTime<n.interval:!0,_=!this.pCenter||ge(this.pCenter,e.center)<n.posThreshold;this.pTime=e.timeStamp,this.pCenter=e.center,!_||!m?this.count=1:this.count+=1,this._input=e;var K=this.count%n.taps;if(K===0)return this.hasRequireFailures()?(this._timer=G(function(){this.state=pt,this.tryEmit()},n.interval,this),$):pt}return lt},failTimeout:function(){return this._timer=G(function(){this.state=lt},this.options.interval,this),lt},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==pt&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});function mt(e,n){return n=n||{},n.recognizers=dt(n.recognizers,mt.defaults.preset),new He(e,n)}mt.VERSION="2.0.7",mt.defaults={domEvents:!1,touchAction:mn,enable:!0,inputTarget:null,inputClass:null,preset:[[Oe,{enable:!1}],[Ce,{enable:!1},["rotate"]],[Re,{direction:ft}],[ae,{direction:ft},["swipe"]],[Vt],[Vt,{event:"doubletap",taps:2},["tap"]],[xt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var Fe=1,vn=2;function He(e,n){this.options=F({},mt.defaults,n||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=Ze(this),this.touchAction=new Wt(this,this.options.touchAction),Ee(this,!0),W(this.options.recognizers,function(o){var a=this.add(new o[0](o[1]));o[2]&&a.recognizeWith(o[2]),o[3]&&a.requireFailure(o[3])},this)}He.prototype={set:function(e){return F(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?vn:Fe},recognize:function(e){var n=this.session;if(!n.stopped){this.touchAction.preventDefaults(e);var o,a=this.recognizers,h=n.curRecognizer;(!h||h&&h.state&pt)&&(h=n.curRecognizer=null);for(var m=0;m<a.length;)o=a[m],n.stopped!==vn&&(!h||o==h||o.canRecognizeWith(h))?o.recognize(e):o.reset(),!h&&o.state&($|Et|At)&&(h=n.curRecognizer=o),m++}},get:function(e){if(e instanceof Q)return e;for(var n=this.recognizers,o=0;o<n.length;o++)if(n[o].options.event==e)return n[o];return null},add:function(e){if(R(e,"add",this))return this;var n=this.get(e.options.event);return n&&this.remove(n),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(R(e,"remove",this))return this;if(e=this.get(e),e){var n=this.recognizers,o=vt(n,e);o!==-1&&(n.splice(o,1),this.touchAction.update())}return this},on:function(e,n){if(e!==c&&n!==c){var o=this.handlers;return W(de(e),function(a){o[a]=o[a]||[],o[a].push(n)}),this}},off:function(e,n){if(e!==c){var o=this.handlers;return W(de(e),function(a){n?o[a]&&o[a].splice(vt(o[a],n),1):delete o[a]}),this}},emit:function(e,n){this.options.domEvents&&tt(e,n);var o=this.handlers[e]&&this.handlers[e].slice();if(!(!o||!o.length)){n.type=e,n.preventDefault=function(){n.srcEvent.preventDefault()};for(var a=0;a<o.length;)o[a](n),a++}},destroy:function(){this.element&&Ee(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}};function Ee(e,n){var o=e.element;if(o.style){var a;W(e.options.cssProps,function(h,m){a=pe(o.style,m),n?(e.oldCssProps[a]=o.style[a],o.style[a]=h):o.style[a]=e.oldCssProps[a]||""}),n||(e.oldCssProps={})}}function tt(e,n){var o=r.createEvent("Event");o.initEvent(e,!0,!0),o.gesture=n,n.target.dispatchEvent(o)}F(mt,{INPUT_START:z,INPUT_MOVE:Lt,INPUT_END:j,INPUT_CANCEL:J,STATE_POSSIBLE:Tt,STATE_BEGAN:$,STATE_CHANGED:Et,STATE_ENDED:At,STATE_RECOGNIZED:pt,STATE_CANCELLED:Ht,STATE_FAILED:lt,DIRECTION_NONE:me,DIRECTION_LEFT:Yt,DIRECTION_RIGHT:te,DIRECTION_UP:Ct,DIRECTION_DOWN:Ot,DIRECTION_HORIZONTAL:ft,DIRECTION_VERTICAL:Nt,DIRECTION_ALL:_e,Manager:He,Input:rt,TouchAction:Wt,TouchInput:ve,MouseInput:re,PointerEventInput:ct,TouchMouseInput:oe,SingleTouchInput:un,Recognizer:Q,AttrRecognizer:st,Tap:Vt,Pan:ae,Swipe:Re,Pinch:Ce,Rotate:Oe,Press:xt,on:ue,off:he,each:W,merge:k,extend:g,assign:F,inherit:X,bindFn:it,prefixed:pe});var ke=typeof t<"u"?t:typeof self<"u"?self:{};ke.Hammer=mt,typeof define=="function"&&define.amd?define(function(){return mt}):typeof Qn{let r=document.querySelector(`.js-reveal[data-id=”${t}”]`);r?r.classList.add(“is-hidden”):console.log(“No reveal component found with the id”,t)},Go=t=>{let r=document.querySelector(`.js-reveal[data-id=”${t}”]`);r?r.classList.remove(“is-hidden”):console.log(“No reveal component found with the id”,t)},Se={init:()=>{},show:Go,hide:Bo};var Yo=()=>{document.querySelectorAll(“.js-ask”).forEach(t=>{t.addEventListener(“click”,()=>{jo(t)})})},jo=t=>{let r=t.dataset.id;Se.show(r),t.classList.add(“has-expanded”),t.classList.add(“is-loading”),setTimeout(()=>{t.classList.remove(“is-loading”)},2e3)},Dr={init:()=>{Yo()}};var Xo=t=>{let r=[“statewide”,`us-house-${t.usHouse}`,`pa-senate-${t.paSenate}`,`pa-house-${t.paHouse}`,t.city.toLowerCase()];document.querySelectorAll(“.js-candidate”).forEach(i=>{let c=i.dataset.district;r.includes(c)?i.classList.remove(“is-hidden”):i.classList.add(“is-hidden”)})},Gn={init:()=>{},update:t=>{Xo(t)}};var Wo=t=>{console.log(t),document.querySelectorAll(“.js-conditional”).forEach(r=>{r.classList.remove(“is-visible”);let i=r.dataset.target,c=r.dataset.value;t[i]&&c==t[i]?r.classList.add(“is-visible”):r.classList.remove(“is-visible”)})},Yn={init:()=>{},update:t=>{Wo(t)}};var Ko=()=>{document.querySelector(“.js-locate-street”).addEventListener(“keyup”,t=>{or()}),document.querySelector(“.js-locate-street”).addEventListener(“change”,()=>{or()})},or=()=>{let t=document.querySelector(“.js-locate-street”).value;Be.setValidState(t.length>3)},Vo=t=>{let r=new URLSearchParams;r.set(“street”,document.querySelector(“.js-locate-street”).value),r.set(“city”,document.querySelector(“.js-locate-city”).value||”Philadelphia”),r.set(“state”,”PA”),fetch(`https://inq-holme.herokuapp.com/geocode?${r.toString()}&fields=cd120,stateleg`).then(i=>{if(i.status>=200&&i.status{i.error?t(!1,”Something has gone wrong. Please try again”):zo(i,t)})},zo=(t,r)=>{let i=t?.results?.[0]?.address_components;if(t.results[0]&&t.results[0].accuracy>.9&&i&&i.number&&i.formatted_street)document.querySelector(“.js-locate-street”).value=`${i.number} ${i.formatted_street}`,document.querySelector(“.js-locate-city”).value=i.city,r(!0,t);else{let c=t.input.formatted_address?t.input.formatted_address.match(/bd{5}b/g):null;c&&c.length?r(!1,”Please enter a full street address.”):r(!1,”Address not found. Please try a different one.”)}},jn={init:()=>{Ko(),or()},get:t=>{Vo(t)}};var Xn,$o=(t,r)=>{Xn=Xn||window.PMNdataLayer,Xn?Xn.push({event:”misc_event”,eventAction:t,eventLabel:r}):window.location.hostname.includes(“localhost”)?console.log(“Analytics event:”,t,r,”(not actually being sent due to localhost)”):console.log(“Failed to push analytics event”,t,r)},Lr={event:(t,r)=>{$o(t,r)}};var es=kr();var Ur=()=>(window.PMNdataLayer?.[0]!==void 0&&window.PMNdataLayer[0])?.analytics?.user?.state===”Subscribed”,qr=()=>{let r=(window.PMNdataLayer?.[0]!==void 0&&window.PMNdataLayer[0])?.analytics?.user?.state;return window.location.host.includes(“zzz-systest”)||window.location.host.includes(“pmn.arcpublishing.com”)||window.location.host.includes(“stage.fusion.inquirer.com”)||typeof r>”u”},Br=()=>{let r=(window.PMNdataLayer?.[0]!==void 0&&window.PMNdataLayer[0])?.analytics?.user?.hasAdsFreeReading;return!!(r&&r==1)},ir=()=>window.location.host.includes(“localhost”);var Tn=(t,r)=>{let i=[…t.querySelectorAll(“[data-populate]”)];t.dataset.populate&&i.unshift(t);let c=i.filter(u=>{let v=u.closest(“[data-populate-context]”);return!v||v==t});for(let u of c){let P=u.dataset.populate.trim().split(/s*,s*/).map(H=>H.split(/s*:s*/));for(let[H,q]of P){let G=H.split(“.”).reduce((L,F)=>L?.[F],r),R=G==null||G==null,W=q?.split(/s+/)||[“innerHTML”];for(let L of W)L.startsWith(“.”)&&u.classList.toggle(L.substring(1),R?!1:G),!R&&(L==”innerHTML”?u.innerHTML=G:L.startsWith(“@”)?u.setAttribute(L.substring(1),G):L.startsWith(“–“)&&u.style.setProperty(L,G))}}};var Ge=document.querySelector(“.js-subnav”),oi=()=>{window.addEventListener(“scroll”,()=>{ii()})},ii=()=>{Ge.getBoundingClientRect().top{Tn(Ge,t),Ge.classList.add(“is-active”)},ai=()=>{Ge.classList.remove(“is-active”)},Kn={init:()=>{oi()},update:t=>{si(t)},hide:()=>{ai()}};var ci=t=>{document.querySelectorAll(“.js-records”).forEach(r=>{r.querySelectorAll(“.js-candidate:not(.is-hidden)”).length?r.classList.remove(“has-no-candidates”):r.classList.add(“has-no-candidates”)})},Vn={init:()=>{},update:t=>{ci(t)}};var zn=document.querySelector(“.js-inno”),Ye=document.querySelector(“.js-search”),li=document.querySelector(“.js-search-form”),Gr=document.querySelector(“.js-search-button”),ui=()=>{li.addEventListener(“submit”,t=>{t.preventDefault(),Yr()})},Yr=()=>{zn.classList.remove(“has-address”,”is-republican”,”is-democratic”,”is-odd”,”is-even”),Ye.classList.remove(“is-error”),Ye.classList.add(“is-loading”),Se.hide(“search”),jn.get((t,r)=>{if(t){let i=r.results[0],c={city:i.address_components.city,address:`${i.address_components.number} ${i.address_components.formatted_street}, ${i.address_components.city}`,usHouse:i.fields.congressional_districts[0].district_number,paHouse:i.fields.state_legislative_districts.house[0].district_number,paSenate:i.fields.state_legislative_districts.senate[0].district_number};if(zn.setAttribute(“data-city”,c.city),Tn(document.querySelector(“.js-search .js-reveal”),c),Se.show(“search”),Kn.update(c),Gn.update(c),Vn.update(c),Yn.update(c),hi(c),zn.classList.add(“has-address”),c.paSenate){let u=parseInt(c.paSenate)%2==0;zn.classList.add(u?”is-even”:”is-odd”)}Lr.event(“submit”,`Address entered ${i.formatted_address}`)}else console.log(“something went wrong”,r),Ye.classList.add(“is-error”),document.querySelector(“.js-search-error”).textContent=r;setTimeout(()=>{Ye.classList.remove(“is-loading”)},1e3)})},sr=t=>{t=parseInt(t);let r=t%10,i=t%100;return r===1&&i!==11?t+”st”:r===2&&i!==12?t+”nd”:r===3&&i!==13?t+”rd”:t+”th”},hi=t=>{let r={usHouse:`U.S. House ${sr(t.usHouse)} District`,paSenate:`Pa. Senate ${sr(t.paSenate)} District`,paHouse:`Pa. House ${sr(t.paHouse)} District`};document.querySelectorAll(“.js-heading”).forEach(i=>{Tn(i,r)})},di=t=>{t?(Ye.classList.add(“is-ready”),Gr.disabled=!1):(Ye.classList.remove(“is-ready”),Gr.disabled=!0)},Be={init:()=>{ui()},setValidState:t=>{di(t)},submit:()=>{Yr()}};var fi=()=>{document.querySelectorAll(“.js-filter”).forEach(t=>{document.querySelectorAll(“.js-filter-option”).forEach(r=>{r.addEventListener(“click”,()=>{pi(t,r)})})})},pi=(t,r)=>{t.querySelector(“.js-filter-option.is-selected”).classList.remove(“is-selected”),r.classList.add(“is-selected”),document.querySelector(“.js-inno”).classList.contains(“has-address”)&&Be.submit()},jr={init:()=>{fi()}};var Er={opal:[[0,[78,104,224]],[.15,[66,186,200]],[.3,[138,120,232]],[.44,[232,96,168]],[.5,[242,116,90]],[.58,[230,168,74]],[.86,[86,196,150]],[1,[78,104,224]]],aurora:[[0,[52,211,153]],[.18,[240,255,250]],[.36,[103,232,249]],[.52,[56,189,248]],[.68,[245,252,255]],[.84,[110,231,183]],[1,[52,211,153]]],sunset:[[0,[255,94,98]],[.22,[255,149,84]],[.42,[255,200,110]],[.6,[233,130,175]],[.8,[142,92,205]],[1,[255,94,98]]],ocean:[[0,[12,116,215]],[.25,[0,168,232]],[.5,[64,224,208]],[.72,[26,188,230]],[1,[12,116,215]]],sakura:[[0,[255,183,197]],[.3,[255,228,235]],[.55,[255,143,171]],[.8,[255,235,240]],[1,[255,183,197]]],ember:[[0,[186,58,60]],[.25,[244,96,62]],[.46,[255,158,96]],[.55,[255,204,144]],[.68,[232,122,82]],[.88,[164,64,82]],[1,[186,58,60]]],ultraviolet:[[0,[112,88,192]],[.28,[160,104,255]],[.5,[204,176,255]],[.62,[168,136,252]],[.8,[130,98,216]],[1,[112,88,192]]]},Zn=.2713835171568625,Jr=.7286164828431372,gt={geometry:{inset:3,cornerRadius:11,topEdgeFade:0,topCornerFade:0,band:76,coreSigmaBase:1.6,coreSigmaVar:.6,innerSoftBase:1.25,innerSoftVar:.45,innerSigmaMax:17,cornerFill:!1},palette:{stops:Er.opal,pastel:.35,coreWhiten:.2,ringAlpha:.9,normalize:!0,normalizeTarget:Zn,background:”light”,interpolation:”srgb”,darkAlphaGamma:.55,darkChroma:1.25,blendMode:”source-over”},motion:{decay:1.1,keyDecay:1.9,energyCap:1.5,rotateTypingS:3,rotateIdleS:8,kindleDurS:.85,kindleSoftPx:90,hueDriftDeg:10,hueDriftPeriodS:12},input:{keySigma:90,tapSigma:110,tapEnergy:.8,keyEnergy:.9,savedPulseEnergy:.45,keyXMin:.08,keyXSpan:.84}};function ar(t){let r=t/255;return r<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4)}function cr(t){let r=t=1?1:t;return(r<=.0031308?12.92*r:1.055*Math.pow(r,1/2.4)-.055)*255}function yr(t,r,i){let c=ar(t),u=ar(r),v=ar(i),P=.4122214708*c+.5363325363*u+.0514459929*v,H=.2119034982*c+.6806995451*u+.1073969566*v,q=.0883024619*c+.2817188376*u+.6299787005*v,D=Math.cbrt(P),G=Math.cbrt(H),R=Math.cbrt(q);return{L:.2104542553*D+.793617785*G-.0040720468*R,a:1.9779984951*D-2.428592205*G+.4505937099*R,b:.0259040371*D+.7827717662*G-.808675766*R}}function Qr(t,r,i){let c=t+.3963377774*r+.2158037573*i,u=t-.1055613458*r-.0638541728*i,v=t-.0894841775*r-1.291485548*i,P=c*c*c,H=u*u*u,q=v*v*v,D=4.0767416621*P-3.3077115913*H+.2309699292*q,G=-1.2684380046*P+2.6097574011*H-.3413193965*q,R=-.0041960863*P-.7034186147*H+1.707614701*q;return{r:cr(D),g:cr(G),b:cr(R)}}var Pt=256,Tr=4096,lr=Tr-1;function Xr(t,r,i="srgb"){let c=new Uint8Array(Pt*3),u=i==="oklab";for(let v=0;v<Pt;v++){let P=v/(Pt-1),H=0;for(let k=0;k=t[k][0]&&Pq?(P-q)/(G-q):0,L,F,g;if(u){let k=yr(D[0],D[1],D[2]),X=yr(R[0],R[1],R[2]),it=Qr(k.L+W*(X.L-k.L),k.a+W*(X.a-k.a),k.b+W*(X.b-k.b));L=it.r,F=it.g,g=it.b}else L=D[0]+W*(R[0]-D[0]),F=D[1]+W*(R[1]-D[1]),g=D[2]+W*(R[2]-D[2]);c[v*3]=Math.round(L+(255-L)*r),c[v*3+1]=Math.round(F+(255-F)*r),c[v*3+2]=Math.round(g+(255-g)*r)}return c}function mi(t,r){let i=new Uint8Array(t.length);for(let c=0;c<Pt;c++){let u=yr(t[c*3],t[c*3+1],t[c*3+2]),v=Qr(u.L,u.a*r,u.b*r);i[c*3]=Math.round(v.r),i[c*3+1]=Math.round(v.g),i[c*3+2]=Math.round(v.b)}return i}function Wr(t,r){let i=0;for(let c=0;c<Pt;c++){let u=(.2126*t[c*3]+.7152*t[c*3+1]+.0722*t[c*3+2])/255;i+=r?u:1-u}return i/Pt}function ur(t){if(!Array.isArray(t)||t.length<2)throw new Error("edge-aura: palette stops must be an array of at least 2 entries");let r=-1/0;for(let i=0;i<t.length;i++){let c=t[i];if(!Array.isArray(c)||c.length!==2)throw new Error(`edge-aura: palette stop ${i} must be a [position, [r, g, b]] pair`);let u=c[0],v=c[1];if(typeof u!="number"||!Number.isFinite(u))throw new Error(`edge-aura: palette stop ${i} position must be a finite number`);if(utypeof P==”number”&&Number.isFinite(P)))throw new Error(`edge-aura: palette stop ${i} color must be a 3-tuple of finite numbers`)}if(t[0][0]!==0)throw new Error(“edge-aura: first palette stop position must be exactly 0”);if(t[t.length-1][0]!==1)throw new Error(“edge-aura: last palette stop position must be exactly 1”)}function gi(t){let r=t>>>0;return()=>{r=r+1831565813|0;let i=Math.imul(r^r>>>15,r|1);return i=i+Math.imul(i^i>>>7,i|61)^i,((i^i>>>14)>>>0)/4294967296}}var $t=Math.PI/2,hr=Math.PI*2,dr=1/255,Kr=.001,$n=1.5;function fr(t,r){return{x:0,v:0,k:t,c:r}}function pr(t,r,i){return t.v+=(t.k*(r-t.x)-t.c*t.v)*i,t.x+=t.v*i,t.x}function Bt(t,r,i){return Math.min(i,Math.max(r,t))}function En(t){return t=1?1:t*t*(3-2*t)}function vi(t){let r=1-t;return 1-r*r*r}function An(t,r,i,c,u,v){return .5+.27*Math.sin(.9*t+i*r+v)+.18*Math.sin(2.33*t+c*r+v*1.71)+.05*Math.sin(5.11*t+u*r+v*.39)}var yi=[.015,.011,.013,.02,.012],Vr=(()=>{let t=[[0,2],[3,1]];for(;t.lengthnew Array(i*2));for(let u=0;u<i;u++)for(let v=0;v<i;v++){let P=t[u][v]*4;c[u][v]=P,c[u][v+i]=P+2,c[u+i][v]=P+3,c[u+i][v+i]=P+1}t=c}let r=new Float32Array(64);for(let i=0;i<8;i++)for(let c=0;c<8;c++)r[c+(i<{let t=new Float32Array(4097);for(let r=0;r{let r=Math.sqrt(t)*Jn|0;return r>=Jn?1:Ti[r]},Ei=1.1;function mr(t,r,i,c){let u=t,v=i-t,P=r,H=c-r,q=Math.min(u,v,P,H);return q===u?{x:0,y:r}:q===v?{x:i,y:r}:q===P?{x:t,y:0}:{x:t,y:c}}var Zt=0,je=1,Gt=2,bn=3,$r=[Math.PI,$t,0,-$t],Zr=[[bn,Zt],[Zt,je],[je,Gt],[Gt,bn]],gr=[!0,!1,!1,!0],vr=[!0,!0,!1,!1],Ai=[3,0,1,2];function Ar(t,r){let i=t.getContext(“2d”);if(!i)throw new Error(“edge-aura: could not get 2d context”);let c={…gt.geometry,…r?.geometry},u={…gt.palette,…r?.palette},v={…gt.motion,…r?.motion},P={…gt.input,…r?.input},H=r?.palette?.normalizeTarget!==void 0,q=r?.palette?.coreWhiten!==void 0;ur(u.stops);let D=(s,l,d)=>Number.isFinite(s)?Math.max(l,s):d,G=gt.geometry,R=gt.motion,W=gt.input,L=0,F=0,g=0,k=0,X=0,it=0,nt=0,dt=0,ue=0,he=0,We=0,Dt=0,de=0,vt=!1,fe=0,Ke=0,pe=0,wn=0,In=0,Ve=0,_n=0,ze=0,Jt=new Int32Array(5),Qt=new Int32Array(5),St=new Int32Array(5),Mn=0,yt=9,O=0,Pn=0,z=1,Lt=[new Float32Array(0),new Float32Array(0),new Float32Array(0),new Float32Array(0)],j=[new Int16Array(0),new Int16Array(0),new Int16Array(0),new Int16Array(0)],J=[new Float32Array(0),new Float32Array(0),new Float32Array(0),new Float32Array(0)],me=[new Float32Array(0),new Float32Array(0),new Float32Array(0),new Float32Array(0)],Yt=[new Float32Array(0),new Float32Array(0),new Float32Array(0),new Float32Array(0)],te=[new Float32Array(0),new Float32Array(0),new Float32Array(0),new Float32Array(0)],Ct=[new Float32Array(0),new Float32Array(0),new Float32Array(0),new Float32Array(0)],Ot=[new Float32Array(0),new Float32Array(0),new Float32Array(0),new Float32Array(0)],ft=[new Float32Array(0),new Float32Array(0),new Float32Array(0),new Float32Array(0)],Nt=[0,0,0,0],_e=[0,0,0,0],$e=[0,0,0,0],ee=()=>{L=D(c.inset,0,G.inset),F=D(c.cornerRadius,0,G.cornerRadius),g=L+F,k=D(c.band,8,G.band),X=c.topEdgeFade??0,it=c.topCornerFade??0,nt=g,dt=$t*F,ue=c.coreSigmaBase,he=c.coreSigmaVar,We=c.innerSoftBase,Dt=c.innerSoftVar,de=D(c.innerSigmaMax,1,G.innerSigmaMax),vt=c.cornerFill===!0;let s=k/G.band;fe=4.5*s,Ke=5.5*s,pe=9*s,wn=7*s,In=2*s,Ve=4*s,_n=16*s,ze=de*s;let l=Math.max(1,window.innerWidth),d=Math.max(1,window.innerHeight),f=Math.max(1,2*(l-2*g)+2*(d-2*g)+4*dt);for(let E=0;E<5;E++){let T=Math.max(1,Math.round(f*yi[E]/hr));Jt[E]=T,Qt[E]=Math.max(1,Math.round(1.71*T)),St[E]=Math.max(1,Math.round(.39*T))}let p=F+L+$n,y=Math.max(2,Math.ceil(2*$t*p)+1),w=y-1;Mn=y,O=Math.max(1,g,k),z=Math.max(2,F),Pn=-(L+$n);let C=O*O;for(let E=0;E<4;E++){let T=gr[E],A=vr[E],b=$r[E],U=T?g:O-g,x=A?g:O-g,Y=U+F*Math.cos(-b),ot=x+F*Math.sin(-b),bt=U+F*Math.cos($t-b),_t=x+F*Math.sin($t-b),Mt=A?Zt:Gt,zt=Zr[E][0]===Mt,kt=new Float32Array(C),at=new Int16Array(C),ut=0;for(let M=0;M<O;M++)for(let B=0;B=0&&yn<=1)kt[ut]=F-Math.sqrt(N*N+I*I),at[ut]=yn*w+.5|0;else{let nr=Math.hypot(B+.5-Y,M+.5-ot),rr=Math.hypot(B+.5-bt,M+.5-_t);nr=0?nr:-nr,at[ut]=0):(kt[ut]=(zt?ce:et)>=0?rr:-rr,at[ut]=w)}}Lt[E]=kt,j[E]=at;let Ae=new Float32Array(O),Ut=new Float32Array(O),be=new Float32Array(O),qt=new Float32Array(O);for(let M=0;M0?1-En(I/z):1,qt[M]=et>0?1-En(et/z):1}J[E]=Ae,me[E]=Ut,Yt[E]=be,te[E]=qt,Ct[E].length!==y*yt&&(Ct[E]=new Float32Array(y*yt)),Ot[E].length!==O*yt&&(Ot[E]=new Float32Array(O*yt),ft[E]=new Float32Array(O*yt))}},rt=0,Ze=0,Nn=0,Je=0,xn=0,Dn=0,Qe=0,tn=()=>{rt=D(P.keySigma,1,W.keySigma),Ze=D(P.tapSigma,1,W.tapSigma),Nn=P.tapEnergy,Je=P.keyEnergy,xn=P.savedPulseEnergy,Dn=P.keyXMin,Qe=P.keyXSpan},ne=0,en=0,ge=0,Me=0,Ln=0,nn=0,rn=0,on=0,Cn=0,re=!1,On=0,Rn=0,Pe=0,sn=()=>{ne=D(v.energyCap,.001,R.energyCap),en=Number.isFinite(v.decay)?v.decay:R.decay,ge=Number.isFinite(v.keyDecay)?v.keyDecay:R.keyDecay,Me=D(v.rotateTypingS,.05,R.rotateTypingS),Ln=D(v.rotateIdleS,.05,R.rotateIdleS),nn=D(v.kindleDurS,.05,R.kindleDurS),rn=D(v.kindleSoftPx,1,R.kindleSoftPx),on=Number.isFinite(v.hueDriftDeg)?v.hueDriftDeg:R.hueDriftDeg,Cn=D(v.hueDriftPeriodS,.05,R.hueDriftPeriodS);let s=v.highlight;re=!!s&&typeof s==”object”,s&&typeof s==”object”&&(On=D(s.arcDeg??NaN,1,80)/360,Rn=D(s.periodS??NaN,.05,6),Pe=Number.isFinite(s.min)?Bt(s.min,0,1):.35)},ct=!1,an=Zn,cn=gt.palette.coreWhiten,ln=”srgb”,un=gt.palette.darkAlphaGamma,hn=gt.palette.darkChroma,dn=”source-over”,fn=new Float32Array(Tr),ve=()=>{ct=u.background===”dark”,an=H?u.normalizeTarget:ct?Jr:Zn,cn=q?u.coreWhiten:ct?.35:gt.palette.coreWhiten,ln=u.interpolation===”oklab”?”oklab”:”srgb”,un=Number.isFinite(u.darkAlphaGamma)?Math.min(1,Math.max(1e-6,u.darkAlphaGamma)):gt.palette.darkAlphaGamma,hn=Number.isFinite(u.darkChroma)?Math.max(0,u.darkChroma):gt.palette.darkChroma,dn=u.blendMode===”screen”||u.blendMode===”plus-lighter”?u.blendMode:”source-over”;for(let s=0;s{let l=u.pastel,d=Xr(s,l,ln),f=Wr(d,ct),p=u.ringAlpha;if(u.normalize){let y=an/f;if(!ct)for(let w=0;w1&&l>0;w++)l=Math.max(0,l-.07),d=Xr(s,l,ln),f=Wr(d,ct),y=an/f;p=Bt(u.ringAlpha*y,ct?.45:.3,1)}return ct&&hn!==1&&(d=mi(d,hn)),{lut:d,weight:f,effRingAlpha:p,effPastel:l}},wt=new Uint8Array(Pt*3),Ne=0,oe=0,pn=0,Rt=0,Hn=()=>{let s=Fn(u.stops);wt=s.lut,Ne=s.weight,oe=s.effRingAlpha,pn=s.effPastel,Rt=s.effRingAlpha};Hn();let jt=!1,xe=0,mn=0,De=0,ie=wt,It=oe,Ft=new Uint8Array(Pt*3),Xt=new Uint8Array(Pt*3),Le=typeof r?.seed==”number”&&Number.isFinite(r.seed)?gi(r.seed):Math.random,Wt=Array.from({length:5},()=>Le()*80),gn=()=>({w:Math.max(1,window.innerWidth),h:Math.max(1,window.innerHeight)}),se=null,Tt=null,$=null,Et=null,At=null,pt=null,Ht=null,lt=null,Q=(s,l)=>{if(s<1||l{let s=t.width,l=t.height;if(se=Q(s-2*g,k),Tt=Q(s-2*g,k),$=Q(k,l-2*g),Et=Q(k,l-2*g),At=Q(nt,nt),pt=Q(nt,nt),Ht=Q(nt,nt),lt=Q(nt,nt),ye=null,X>0){let d=i.createLinearGradient(0,0,0,X);d.addColorStop(0,”rgba(0,0,0,1)”),d.addColorStop(.4,”rgba(0,0,0,1)”),d.addColorStop(1,”rgba(0,0,0,0)”),ye=d}if(Te=null,Kt=null,it>0){let d=f=>{let p=i.createRadialGradient(f,0,0,f,0,it);return p.addColorStop(0,”rgba(0,0,0,1)”),p.addColorStop(.4,”rgba(0,0,0,1)”),p.addColorStop(1,”rgba(0,0,0,0)”),p};Te=d(0),Kt=d(s)}};{let{w:s,h:l}=gn();t.width=s,t.height=l,st(),i.clearRect(0,0,s,l)}let ae=!1,Ce=()=>{let s=ct&&dn!==”source-over”;s?t.style&&(t.style.mixBlendMode=dn):ae&&t.style&&(t.style.mixBlendMode=””),ae=s};Ce();let xt=0,Oe=0,Re=!1,Vt=0,mt=!1,Fe=0,vn=0,He=fr(46,10),Ee=fr(34,8),tt={x:window.innerWidth/2,y:window.innerHeight,vx:0,vy:0,k:16,c:7.5},ke=null,e=5,n=Array.from({length:e},()=>({tanX:0,energy:0,s:fr(55,11)})),o=1,a=1,h=hr,m=Gt,_=0,K=0,V=0,Z=0,S={Ac:0,Ab:0,sbIn:0,coreDen:0,bloomDenOut:0,bloomDenIn:0,r:0,g:0,b:0,env:1},kn=0,Un=0,Ue=0,er=(s,l,d)=>{let f=s<0?0:s,p=f*f,y=p0){let C=1+p/l[d+3],E=(f+L)/k,T=E*E,A=1-T*T,b=A>0?A*A*(3-2*A):0;w=b>0?l[d+2]*b/(C*Math.sqrt(C)):0}else w=l[d+2]*Math.exp(-p/l[d+4]);Ue=y,Un=y+w},Ir=(s,l,d,f,p,y,w,C)=>{f=O&&(f=O-1),p=O&&(p=O-1);let E=Ot[d],T=ft[d],A=Ct[d],b=0,U=0,x=0,Y=0,ot=0,bt=0,_t=0,Mt=0,zt=k-L,kt=vt?1:me[d][f];if(kt>0&&J[d][p]0){b+=I,bt+=I*I*I,I>Mt&&(Mt=I);let et=Ue*kt;_t+=et*et*et,U+=I*E[N+5],x+=I*E[N+6],Y+=I*E[N+7],ot+=I*E[N+8]}}let at=vt?1:te[d][p];if(at>0&&Yt[d][f]0){b+=I,bt+=I*I*I,I>Mt&&(Mt=I);let et=Ue*at;_t+=et*et*et,U+=I*T[N+5],x+=I*T[N+6],Y+=I*T[N+7],ot+=I*T[N+8]}}let ut=Lt[d][p*O+f];if((vt||ut>Pn)&&ut0&&(b+=I,bt+=I*I*I,I>Mt&&(Mt=I),_t+=Ue*Ue*Ue,U+=I*A[N+5],x+=I*A[N+6],Y+=I*A[N+7],ot+=I*A[N+8])}if(b<=0)return 0;let Ae=1;if(!vt&&C&&utL&&(Ae=1-En((N-L)/$n))}let Ut=zr(bt),be=Mt*Ei;be=dr){let N=U*qt,I=x*qt,et=Y*qt,ce=cn*zr(_t);s[l]=N+(255-N)*ce,s[l+1]=I+(255-I)*ce,s[l+2]=et+(255-et)*ce,s[l+3]=B*255+Vr[(y&7)+((w&7)<{let w=(T,A)=>{let b=A*yt;T[b]=S.Ac,T[b+1]=S.coreDen,T[b+2]=S.Ab,T[b+3]=S.bloomDenIn,T[b+4]=S.bloomDenOut,T[b+5]=S.r,T[b+6]=S.g,T[b+7]=S.b,T[b+8]=S.env},C=Mn,E=C-1;for(let T=0;T<4;T++){let A=gr[T],b=vr[T],U=A?g:s-g,x=b?g:l-g,Y=A?0:s-O,ot=b?0:l-O;Nt[T]=Y,_e[T]=ot;let bt=$r[T],_t=Zr[T],Mt=b?Zt:Gt,zt=A?bn:je,kt=y[Ai[T]],at=0,ut=Ct[T];for(let M=0;M<C;M++){let B=M/E,N=Bat&&(at=S.bloomDenIn),w(ut,M)}let Ae=Ot[T],Ut=NaN;for(let M=0;Mat&&(at=S.bloomDenIn),Ut=B}w(Ae,M)}let be=ft[T],qt=NaN;for(let M=0;Mat&&(at=S.bloomDenIn),qt=B}w(be,M)}$e[T]=_r(Math.sqrt(at*.5))}},qn=(s,l,d)=>{let f=Vt,p=He.x,y=h*s,w=0;if(l===Gt)for(let x=0;x<e;x++){let Y=n[x];if(Y.s.xKr){let x=d-_;C=Math.exp(-(x*x)/(2*Ze*Ze))}S.Ac=.92+.08*An(f*.5,y,Jt[2],Qt[2],St[2],Wt[2]);let E=ue+he*(2*An(f*.4,y,Jt[3],Qt[3],St[3],Wt[3])-1);if(S.coreDen=2*E*E,S.Ab=Bt(.15+.5*An(f*.5,y,Jt[1],Qt[1],St[1],Wt[1])+.3*w+.25*Ee.x*C+.15*p,0,.85),re){let x=Math.abs(s-V),Y=Math.min(x,a-x),ot=Y{let y=Vr[(f&7)+((p&7)<<3)],w,C,E=1;{let b=d<0?0:d,U=b*b;if(w=U0){let x=1+U/S.bloomDenIn,Y=(b+L)/k,ot=Y*Y,bt=1-ot*ot,_t=bt>0?bt*bt*(3-2*bt):0;C=_t>0?S.Ab*_t/(x*Math.sqrt(x)):0}else C=S.Ab*Math.exp(-U/S.bloomDenOut);if(dL&&(E=1-En((x-L)/$n))}}let T=Math.min(1,w+C),A=ct?fn[T*lr|0]*o*S.env*E:T*o*S.env*E;if(A>=dr){let b=cn*w;s[l]=S.r+(255-S.r)*b,s[l+1]=S.g+(255-S.g)*b,s[l+2]=S.b+(255-S.b)*b,s[l+3]=A*255+y|0}return A},_o=(s,l,d,f,p,y,w,C)=>{let E=l,T=p,A=y;for(let b=0;b<f;b++,E+=d,T+=w,A+=C){let U=b+.5-L;if(Io(s,E,U,T,A)0)break}},Mo=(s,l,d,f,p,y,w,C,E,T,A)=>{let b=l,U=C,x=E;for(let Y=0;YMath.min(k,Math.ceil(L+7*s)),Po=(s,l)=>{let d=mr(tt.x,tt.y,s,l);d.y===0?(m=Zt,_=d.x):d.x===s?(m=je,_=d.y):d.y===l?(m=Gt,_=d.x):(m=bn,_=d.y)},No=s=>{let l=s.buf;if(!l)return;let d=l.img.data;d.fill(0);let f=s.edgeId===Zt||s.edgeId===Gt?l.cv.width:l.cv.height;for(let p=0;p<f;p++){let y=g+p,w=f-1-p,C=Math.min(y,s.limit-1-y)+s.ownBias,E=p<=w?s.startCorner:s.endCorner,T=s.base0+p*s.basePerI,A=s.pxAtI0+p*s.pxPerI,b=s.pyAtI0+p*s.pyPerI;C{let y=se?se.cv.width:0,w=Tt?Tt.cv.width:0,C=Tt?Tt.cv.height:0,E=$?$.cv.width:0,T=Et?Et.cv.width:0,A=[{buf:se,edgeId:Zt,sBase:-g,sDir:1,limit:s,ownBias:1,base0:0,basePerI:4,strideBytes:y*4,pxAtI0:g,pyAtI0:0,pxPerI:1,pyPerI:0,pxPerD:0,pyPerD:1,startCorner:0,endCorner:1},{buf:Tt,edgeId:Gt,sBase:f+s-g,sDir:-1,limit:s,ownBias:1,base0:(C-1)*w*4,basePerI:4,strideBytes:-w*4,pxAtI0:g,pyAtI0:l-1,pxPerI:1,pyPerI:0,pxPerD:0,pyPerD:-1,startCorner:3,endCorner:2},{buf:$,edgeId:bn,sBase:p+l-g,sDir:-1,limit:l,ownBias:0,base0:0,basePerI:E*4,strideBytes:4,pxAtI0:0,pyAtI0:g,pxPerI:0,pyPerI:1,pxPerD:1,pyPerD:0,startCorner:0,endCorner:3},{buf:Et,edgeId:je,sBase:d-g,sDir:1,limit:l,ownBias:0,base0:(T-1)*4,basePerI:T*4,strideBytes:-4,pxAtI0:s-1,pyAtI0:g,pxPerI:0,pyPerI:1,pxPerD:-1,pyPerD:0,startCorner:1,endCorner:2}];for(let b of A)No(b)},Bn=(s,l,d,f)=>{if(!s)return;let p=s.img.data;p.fill(0);let y=gr[f]?l-g:l,w=vr[f]?d-g:d,C=Nt[f],E=_e[f],T=0;for(let A=0;A<g;A++){let b=w+A;for(let U=0;U<g;U++,T++){let x=y+U;Ir(p,T<{Bn(At,g,g,0),Bn(pt,s-g,g,1),Bn(Ht,s-g,l-g,2),Bn(lt,g,l-g,3)},Lo=(s,l)=>{i.clearRect(0,0,s,l),se&&i.drawImage(se.cv,g,0),Tt&&i.drawImage(Tt.cv,g,l-k),$&&i.drawImage($.cv,0,g),Et&&i.drawImage(Et.cv,s-k,g),At&&i.drawImage(At.cv,0,0),pt&&i.drawImage(pt.cv,s-nt,0),Ht&&i.drawImage(Ht.cv,s-nt,l-nt),lt&&i.drawImage(lt.cv,0,l-nt)},Mr=s=>{let{w:l,h:d}=gn();(t.width!==l||t.height!==d)&&(t.width=l,t.height=d,st(),i.clearRect(0,0,l,d));let f=t.width,p=t.height,y=f-2*g,w=p-2*g;o=s*Rt,a=Math.max(1,2*y+2*w+4*dt),h=hr/a,K=on!==0?on/360*Math.sin(2*Math.PI*Vt/Cn):0,re&&(V=Vt/Rn%1*a,Z=On*a/2);let C=y+dt,E=y+2*dt+w,T=2*y+3*dt+w,A=[y,y+dt+w,2*y+2*dt+w,2*y+3*dt+2*w];Po(f,p),wo(f,p,C,E,T,A),xo(f,p,C,E,T),Do(f,p),Lo(f,p),ye&&(i.save(),i.globalCompositeOperation=”destination-out”,i.fillStyle=ye,i.fillRect(0,0,f,X),i.restore()),Te&&Kt&&(i.save(),i.globalCompositeOperation=”destination-out”,i.fillStyle=Te,i.fillRect(0,0,it,it),i.fillStyle=Kt,i.fillRect(f-it,0,it,it),i.restore())},Co=(s,l,d,f)=>{let p=d-2*g,y=f-2*g,w=$t*F,C=p+w,E=p+2*w+y,T=2*p+3*w+y,A=mr(s,l,d,f);return A.y===0?Bt(A.x-g,0,p):A.x===d?C+Bt(A.y-g,0,y):A.y===f?E+Bt(d-g-A.x,0,p):T+Bt(f-g-A.y,0,y)},qe=!1,Pr={step(s){if(qe)return;let l=Math.min(.05,Math.max(0,s/1e3)||0);if(Vt+=l,jt){xe+=l;let f=xe/mn;if(f>=1)jt=!1,wt=ie,Rt=It;else{for(let p=0;p=nn?(mt=!1,kn=0):kn=vi(Fe/nn)*(a/2+rn)),xt*=Math.exp(-l*en),pr(He,xt*.55,l),pr(Ee,xt,l);let d=Math.exp(-l*ge);for(let f=0;f<e;f++){let p=n[f];p.energy*=d,pr(p.s,p.energy,l)}if(ke){let f=window.innerWidth,p=window.innerHeight,y=mr(ke.x,ke.y,f,p);tt.vx+=(tt.k*(y.x-tt.x)-tt.c*tt.vx)*l,tt.vy+=(tt.k*(y.y-tt.y)-tt.c*tt.vy)*l,tt.x+=tt.vx*l,tt.y+=tt.vy*l}Oe+=l/(Re?Me:Ln)},render(){qe||Mr(1)},renderStatic(){qe||Mr(.6)},tap(s){s&&(ke=s),xt=Math.min(xt+Nn,ne)},key(s){let l=(Dn+Qe*s)*window.innerWidth;for(let p=0;p.05&&Math.abs(l-y.tanX)<rt*.5){y.tanX=l,y.energy=Math.min(y.energy+Je,ne);return}}let d=n[0],f=d.energy+d.s.x;for(let p=1;p<e;p++){let y=n[p],w=y.energy+y.s.x;w0?(Ft.set(wt),De=Rt,Xt.set(Ft),wt=Xt,xe=0,mn=p/1e3,jt=!0):(jt=!1,wt=f.lut,Rt=f.effRingAlpha)},getNormalization(){return{weight:Ne,effRingAlpha:oe,effPastel:pn}},updateOptions(s){qe||!s||(jt&&(jt=!1,wt=ie,Rt=It),s.geometry&&(c={…c,…s.geometry},ee(),st(),i.clearRect(0,0,t.width,t.height)),s.input&&(P={…P,…s.input},tn()),s.motion&&(v={…v,…s.motion},sn()),s.palette&&(s.palette.stops!==void 0&&ur(s.palette.stops),s.palette.normalizeTarget!==void 0&&(H=!0),s.palette.coreWhiten!==void 0&&(q=!0),u={…u,…s.palette},ve(),Hn(),Ce()))},resize(){let{w:s,h:l}=gn();t.width=s,t.height=l,ee(),st(),i.clearRect(0,0,s,l)},destroy(){qe=!0,i.clearRect(0,0,t.width,t.height),ae&&t.style&&(t.style.mixBlendMode=””)}};return typeof process{Si.set(c,{x:(u+.5)/i,y:r})})}var to,br,eo,no=t=>{requestAnimationFrame(no),br.step(t-eo),eo=t,br.render()},wi=()=>{to=document.querySelector(“.js-glow-canvas”),br=Ar(to,{geometry:{band:window.innerWidth>768?150:100,inset:0,cornerRadius:24,cornerFill:!0},palette:{}}),requestAnimationFrame(no)},ro={init:()=>{wi()}};var ao=qo(oo()),co=document.querySelector(“.js-scrollbar”),Xe=document.querySelector(“.js-scrollbar-thumb”),io,so,lo,uo=()=>{let t=window.innerHeight,r=document.body.clientHeight;io=(t-48)/r,co.style.setProperty(“–thumb-height”,`${io*100}%`)},Sr=()=>{let t=window.innerHeight,i=document.body.clientHeight-t,u=window.scrollY/i,v=t-48-10,P=Xe.getBoundingClientRect().height,H=v-P;so=u*H/v,co.style.setProperty(“–thumb-position”,`${so*100}%`)},wr=t=>{window.scrollBy(0,t==”up”?-200:200)},Ii=t=>{let r=Xe.getBoundingClientRect().top,i=Xe.getBoundingClientRect().height,c=r+i;t>c?wr(“down”):wr(“up”)},_i=t=>{let r=window.innerHeight,c=document.body.clientHeight-r,u=r-48-10,v=Xe.getBoundingClientRect().height,P=u-v,H=c/P,q=lo+t*H;window.scrollTo({top:Math.max(0,Math.min(q,c)),behavior:”instant”})},Mi=()=>{document.addEventListener(“scroll”,()=>{Sr()}),document.querySelectorAll(“.js-scrollbar-button”).forEach(i=>{i.addEventListener(“click”,()=>{wr(i.dataset.direction)})}),new ResizeObserver(i=>{uo(),Sr()}).observe(document.body),document.querySelector(“.js-scrollbar-track”).addEventListener(“click”,i=>{i.target.classList.contains(“js-scrollbar-track”)&&Ii(i.screenY)});let r=new ao.default(Xe);r.get(“pan”).set({threshold:1}),r.on(“panstart”,()=>{lo=Xe.offsetTop}),r.on(“panup pandown”,function(i){_i(i.deltaY)}),r.on(“panend”,()=>{previousDeltaY=null})},ho={init:()=>{uo(),Sr(),Mi()}};var Pi=()=>{Br()&&document.querySelectorAll(“.js-adbox”).forEach(r=>{r.classList.add(“is-hidden”)})},fo={init:()=>{Pi()}};var we,po,Ni=()=>{we=document.getElementById(“js-inno-toast”)},xi=t=>{if(!we)return;we.innerHTML=t,we.classList.add(“is-active”);let r=()=>{we.addEventListener(“transitionend”,Di,{once:!0}),we.classList.remove(“is-active”)};clearTimeout(po),po=setTimeout(r,5e3)},Di=()=>{we.innerHTML=””},Ie={init:()=>{Ni()},showToast:xi};var tr,mo=!1,Li=async()=>new Promise(t=>{setTimeout(()=>{console.log(“simulating createShareLink for localhost”),t(“https://inquirer.com/interactives”),Ci()},100)}),Ci=()=>{let t=document.querySelector(“.js-gift-toast-receiver”);!t||!(t instanceof HTMLElement)||setTimeout(()=>{let r=t?.querySelector(“span”);r&&(r.innerHTML=”Gift link copied to clipboard“)},20)},Oi=()=>{let t=window.services?.createShareLink;t&&(tr=t),ir()&&(tr=Li),tr&&Fi()},Ri=async t=>{let r=”text/plain”,i=async()=>{try{return await tr(window.location.pathname)}catch{t.dataset.state=”error”,Ie.showToast(“Hmm, we couldn’t generate a gift link…”)}},c=new ClipboardItem({[r]:i()});await navigator.clipboard.write([c]).catch(u=>{console.log(u),Ie.showToast(“Couldn’t copy to clipboard, try again?”),t.dataset.state=”error”}),Ie.showToast(“Gift link copied to clipboard!”),t.dataset.state=”complete”},Fi=()=>{document.querySelectorAll(“.js-gift”).forEach(r=>{(Ur()||ir()||qr())&&r.classList.add(“is-available”)}),document.querySelectorAll(“.js-gift-button”).forEach(r=>{r instanceof HTMLButtonElement&&r.addEventListener(“click”,()=>{r.classList.contains(“disabled”)||(r.dataset.state=”loading”,mo=!0,Ri(r),setTimeout(()=>{r.dataset.state=”ready”},2e3))})});let t=document.querySelector(“.js-gift-toast-receiver”);!t||!(t instanceof HTMLElement)||Hi(t)},Hi=t=>{new MutationObserver(i=>{for(let c of i){let u=[…c.addedNodes].at(0);if(!(u instanceof HTMLElement))return;mo&&Ie.showToast(u.outerHTML)}}).observe(t,{subtree:!0,childList:!0})},go={init:()=>{Oi()}};var Sn,ki=()=>{document.querySelectorAll(“.js-hover”).forEach(t=>{t.addEventListener(“click”,()=>{vo(t)}),t.addEventListener(“mouseenter”,()=>{vo(t)}),t.addEventListener(“mouseout”,()=>{yo(t)})}),window.addEventListener(“scroll”,()=>{Sn!==null&&Ui()})},Ui=()=>{(Sn>window.scrollY+100||Sn{yo(t)})},vo=t=>{t.classList.add(“is-visible”),Sn=window.scrollY},yo=t=>{t.classList.remove(“is-visible”),Sn=null},To={init:()=>{ki()}};var qi=t=>{(t&&t.querySelector(“.js-loading”))?.setAttribute(“data-state”,”ready”)},Bi=t=>{(t&&t.querySelector(“.js-loading”))?.setAttribute(“data-state”,”loading”)},Gi=(t,r)=>{(t&&t.querySelector(“.js-loading”))?.setAttribute(“data-state”,”error”),r&&targetModalErrorEl&&(targetModalErrorEl.textContent=r)},Eo={stop:t=>qi(t),start:t=>Bi(t),error:(t,r)=>Gi(t,r)};var Ao={init:()=>{Dr.init?.(),Gn.init?.(),Yn.init?.(),jr.init?.(),ro.init?.(),Vn.init?.(),ho.init?.(),Be.init?.(),Kn.init?.(),fo.init?.(),go.init?.(),To.init?.(),Eo.init?.(),jn.init?.(),Se.init?.(),Ie.init?.()}};var Yi=()=>{},bo={init:()=>{Yi()}};var ji=document.querySelector(“.js-inno”),So=()=>{Ao.init(),bo.init()};ji?So():new MutationObserver((r,i)=>{if(document.querySelector(“.js-inno”)){i.disconnect(),So();return}}).observe(document,{attributes:!0,childList:!0,subtree:!0});})();
    /*! Bundled license information:

    hammerjs/hammer.js:
    (*! Hammer.JS – v2.0.7 – 2016-04-22
    * http://hammerjs.github.io/
    *
    * Copyright (c) 2016 Jorik Tangelder;
    * Licensed under the MIT license *)
    */