(()=>{var t={4231:()=>{document.addEventListener("DOMContentLoaded",(function(t){document.querySelectorAll("a:empty").forEach((function(t){t.setAttribute("aria-hidden","true"),t.style.display="none",t.setAttribute("tabindex","-1")}));const e=document.querySelector("#net_price_calculator");e&&e.setAttribute("aria-label","Net Price Calculator")}))},1143:()=>{!function(){function t(t){return!(!t||!t.classList.contains("component--clipped"))||!(!t||"footer"!==t.tagName.toLowerCase())}function e(t){const n=t.parentElement;if(!n||!n.classList.contains("wp-block-group"))return!1;const o=window.getComputedStyle(n);return parseFloat(o.marginTop)>0?n:e(n)}function n(){if(document.querySelectorAll('[class*="magazine"]').length>0){const t=document.querySelector(".susquehanna-magazine-header");t&&!t.classList.contains("has-magazine-block")&&t.classList.add("has-magazine-block"),t&&t.classList.contains("has-magazine-block")&&document.querySelectorAll(".component--clipped").forEach((function(t){t.classList.remove("component--clipped")}))}const n=document.querySelectorAll(".component--clipped"),o=new WeakSet;Array.from(n).forEach((n=>{const s=function(e){let n=e.nextElementSibling;if(!n){let o=e.parentElement;for(;o?.classList?.contains("wp-block-group")||o?.classList?.contains("wp-block-post-content");){if(n=o.nextElementSibling,t(n))return n;if(n&&n.classList.contains(".wp-block-group")){const e=n.children;if(e){let o=e[0];for(;o&&(o.classList.contains("wp-block-group")||o.classList.contains("component--clipped")||"footer"===o.tagName.toLowerCase());){if(t(o))return n;o=o.children?.[0]}}}o=o.parentElement}}return n}(n);if(s&&s?.classList?.contains("component--clipped")){if(n.classList.contains("component--clipped-reverse")?s.classList.remove("component--clipped-reverse"):s.classList.add("component--clipped-reverse"),!o.has(s)){if(o.add(s),s.classList.contains("wp-block-susquehanna-news-events"))return void s.style.setProperty("margin-top","calc(-1.1 * var(--block-clip))","important");s.classList.contains("component--clipped")&&n.style.setProperty("padding-bottom","calc(var(--padding-bottom) + var(--block-clip))","important"),parseInt(window.getComputedStyle(s).paddingTop,10),s.style.setProperty("padding-top","calc(var(--padding-top) + var(--block-clip))","important"),s.style.setProperty("margin-top","calc( -1.1 * var(--block-clip))","important")}}else{s&&!s.classList.contains("wp-block-susquehanna-action-bar")&&"footer"!==s.tagName.toLowerCase()&&(s.style.setProperty("margin-top","calc(-1.1 * var(--block-clip))","important"),s.style.setProperty("padding-top","calc(var(--padding-top) + var(--block-clip))","important"));const t=s?.nextElementSibling;s&&t&&t.classList.contains("component--clipped")&&(s.style.setProperty("padding-bottom","calc(var(--padding-bottom) + var(--block-clip))","important"),t.style.setProperty("padding-top","calc(var(--padding-top) + var(--block-clip))","important"),t.style.setProperty("margin-top","calc(-1.1 * var(--block-clip))","important"))}const a=function(t){let e=t.previousElementSibling;if(e)for(;!e;){let n=t;const o=n.parentElement;if(o&&o.classList.contains("wp-block-group")){if(n=o,e=n.previousElementSibling,e&&e.classList.contains("component--clipped"))break;if(e&&e.classList.contains("wp-block-group")){const t=e.children;if(t){let n=t[0];for(;n;){if(n.classList.contains("component--clipped")){e=n;break}n=n.children?.[0]}if(e.classList.contains("component--clipped"))break}}}}else if(t.closest(".wp-block-group")){const n=t.closest(".wp-block-group");if(e=n.previousElementSibling,e&&e.classList.contains("component--clipped"))return e;if(e&&e.classList.contains(".wp-block-group")){const t=e.children;if(t){let n=t[t.length-1];for(;n&&(n.classList.contains("wp-block-group")||n.classList.contains("component--clipped"));){if(n.classList.contains("component--clipped")){e=n;break}n=n.children?.[0]}if(e.classList.contains("component--clipped"))return e}}else{let t=n;for(;t.parentElement&&t.parentElement.classList.contains("wp-block-group");){if(t=t.parentElement,e=t.previousElementSibling,e&&e.classList.contains("component--clipped"))return e;if(e&&e.classList.contains("wp-block-group")){const t=e.children;if(t){let n=t[t.length-1];for(;n;){if(n.classList.contains("component--clipped")){e=n;break}n=n.children?.[n.children.length-1]}if(e.classList.contains("component--clipped"))return e}}}}}return e}(n);if(a&&!a?.classList.contains("component--clipped")){a.style.setProperty("padding-bottom","calc(var(--padding-bottom) + var(--block-clip))","important"),n.style.setProperty("margin-top","calc(-1.1 * var(--block-clip))","important");const t=e(n);t&&t.style.setProperty("margin-top","0","important")}s&&(s.classList.contains("susqu-ab")||"footer"===s.tagName.toLowerCase())&&n.classList.add("component--clipped-action-bar")}));const s=document.querySelectorAll(".wp-block-susquehanna-pillar-cards");Array.from(s).forEach((t=>{const e=t.nextElementSibling;e&&t.classList.contains("wp-block-susquehanna-pillar-cards")&&e.classList.add("component--clipped-pillar-cards")}))}window.addEventListener("DOMContentLoaded",(function(){n()}))}()},9910:()=>{function t(t){const e=document.getElementById(t),n=e?parseFloat(e.value||e.textContent||0):0;return isNaN(n)?0:n}function e(t){const e=t.replace(/[$,]/g,""),n=parseFloat(e);return isNaN(n)?0:n}function n(e,n,o){let s,a,i;const r=t("su-aid")+t("federal-state-grants")+t("outside-scholarships")+t("dependent-students"),c=t("su-aid-fa")+t("federal-state-grants-fa")+t("outside-scholarships-fa")+t("dependent-students-fa")+t("student-loan-origination-fa"),l=t("su-aid-sp")+t("federal-state-grants-sp")+t("outside-scholarships-sp")+t("dependent-students-sp")+t("student-loan-origination-sp");return e&&(s=Math.max(e-r+t("student-loan-origination"),0),document.getElementById("remaining-costs-total").textContent=`$${s.toLocaleString("en-US",{minimumFractionDigits:0})}`),n&&(a=Math.max(n-c,0),document.getElementById("remaining-costs-fa").textContent=`$${a.toLocaleString("en-US",{minimumFractionDigits:0})}`),o&&(i=Math.max(o-l,0),document.getElementById("remaining-costs-sp").textContent=`$${i.toLocaleString("en-US",{minimumFractionDigits:0})}`),i}function o(e,n,o){let s,a,i;const r=t("su-aid")+t("federal-state-grants")+t("outside-scholarships")+t("dependent-students")+t("step-3")+t("step-4a")+t("step-5")+t("student-loan-origination-2")+t("step-4b"),c=t("su-aid-fa")+t("federal-state-grants-fa")+t("outside-scholarships-fa")+t("dependent-students-fa")+t("step-3-fa")+t("step-4a-fa")+t("step-5-fa")+t("student-loan-origination-fa-2")+t("step-4b-fa"),l=t("su-aid-sp")+t("federal-state-grants-sp")+t("outside-scholarships-sp")+t("dependent-students-sp")+t("step-3-sp")+t("step-4a-sp")+t("step-5-sp")+t("student-loan-origination-sp-2")+t("step-4b-sp");return e&&(s=Math.max(e-r,0),document.getElementById("final-costs-total").textContent=`$${s.toLocaleString("en-US",{minimumFractionDigits:0})}`),n&&(a=Math.max(n-c,0),document.getElementById("final-costs-fa").textContent=`$${a.toLocaleString("en-US",{minimumFractionDigits:0})}`),o&&(i=Math.max(o-l,0),document.getElementById("final-costs-sp").textContent=`$${i.toLocaleString("en-US",{minimumFractionDigits:0})}`),i}document.addEventListener("DOMContentLoaded",(function(){const t=document.getElementById("remaining-costs-total"),s=t?e(t.textContent):0,a=document.getElementById("final-costs-total"),i=a?e(a.textContent):0,r=document.getElementById("remaining-costs-fa"),c=r?e(r.textContent):0,l=document.getElementById("final-costs-fa"),d=l?e(l.textContent):0,p=document.getElementById("remaining-costs-sp"),u=p?e(p.textContent):0,m=document.getElementById("final-costs-sp"),f=m?e(m.textContent):0,g=document.getElementById("su-aid"),h=document.getElementById("su-aid-fa"),b=document.getElementById("su-aid-sp");g&&h&&b&&(g.setAttribute("aria-label","Subtract °µÍøTV aid (scholarship/grant)"),g.addEventListener("input",(function(){const t=parseInt(g.value,10);if(isNaN(t))h.textContent=0,b.textContent=0;else{const e=Math.floor((t+1)/2),n=t-e;h.textContent=e,b.textContent=n}n(s,c,u),o(i,d,f)})));const y=document.getElementById("federal-state-grants"),L=document.getElementById("federal-state-grants-fa"),E=document.getElementById("federal-state-grants-sp");y&&L&&E&&(y.setAttribute("aria-label","Subtract Federal & State Grants (as applicable)"),y.addEventListener("input",(function(){const t=parseInt(y.value,10);if(isNaN(t))L.textContent=0,E.textContent=0;else{const e=Math.floor((t+1)/2),n=t-e;L.textContent=e,E.textContent=n}n(s,c,u),o(i,d,f)})));const v=document.getElementById("outside-scholarships"),x=document.getElementById("outside-scholarships-fa"),S=document.getElementById("outside-scholarships-sp");v&&x&&S&&(v.setAttribute("aria-label","Subtract Outside Scholarships or other Aid"),v.addEventListener("input",(function(){const t=parseInt(v.value,10);if(isNaN(t))x.textContent=0,S.textContent=0;else{const e=Math.floor((t+1)/2),n=t-e;x.textContent=e,S.textContent=n}n(s,c,u),o(i,d,f)})));const C=document.getElementById("dependent-students"),w=document.getElementById("dependent-students-fa"),k=document.getElementById("dependent-students-sp");C&&(C.setAttribute("aria-label","Subtract gross amount Federal Student Loans for dependent students."),C.addEventListener("input",(function(){const t=parseInt(C.value,10);if(isNaN(t)){w.textContent=0,k.textContent=0;const t=document.getElementById("student-loan-origination-fa"),e=document.getElementById("student-loan-origination-sp");t&&e&&(t.textContent=0,e.textContent=0)}else{const e=Math.floor((t+1)/2),n=t-e;w.textContent=e,k.textContent=n;const o=document.getElementById("student-loan-origination"),s=document.getElementById("student-loan-origination-fa"),a=document.getElementById("student-loan-origination-sp");if(o){const e=Math.floor(.01057*t);o.innerHTML=`$${e.toLocaleString("en-US",{minimumFractionDigits:0,maximumFractionDigits:0})}`;const n=Math.floor((e+1)/2),i=e-n;s.textContent=`$${n.toLocaleString("en-US")}`,a.textContent=`$${i.toLocaleString("en-US")}`}}n(s,c,u),o(i,d,f)})));const I=document.getElementById("step-3"),q=document.getElementById("step-3-fa"),B=document.getElementById("step-3-sp");I&&q&&B&&(I.setAttribute("aria-label","Step 3: Payment Plan Amount; if balance is greater than $0, move to Step 4"),I.addEventListener("input",(function(){const t=parseInt(I.value,10);if(isNaN(t))q.textContent=0,B.textContent=0;else{const e=Math.floor((t+1)/2),n=t-e;q.textContent=e,B.textContent=n}o(i,d,f)})));const _=document.getElementById("step-4a"),A=document.getElementById("step-4a-fa"),N=document.getElementById("step-4a-sp");_&&A&&N&&(_.setAttribute("aria-label","Step 4a: Direct PLUS Loan Amount; if balance is greater than $0, move to Step 5"),_.addEventListener("input",(function(){const t=parseInt(_.value,10);if(isNaN(t))A.textContent=0,N.textContent=0;else{const e=Math.floor((t+1)/2),n=t-e;A.textContent=e,N.textContent=n}!function(t){if(!t)return;const e=document.getElementById("student-loan-origination-2"),n=document.getElementById("step-4b"),o=document.getElementById("student-loan-origination-fa-2"),s=document.getElementById("student-loan-origination-sp-2"),a=document.getElementById("step-4b-fa"),i=document.getElementById("step-4b-sp"),r=parseFloat(t.value),c=isNaN(r)?0:Math.ceil(.04228*r),l=isNaN(r)?0:r+c;e.textContent=`$${c.toLocaleString("en-US",{minimumFractionDigits:0})}`,n.textContent=`$${l.toLocaleString("en-US",{minimumFractionDigits:0})}`;const d=c;if(isNaN(d))o.textContent=0,s.textContent=0;else{const t=Math.floor((d+1)/2),e=d-t;o.textContent=`$${t.toLocaleString("en-US",{minimumFractionDigits:0})}`,s.textContent=`$${e.toLocaleString("en-US",{minimumFractionDigits:0})}`}const p=l;if(isNaN(p))a.textContent=0,i.textContent=0;else{const t=Math.floor((p+1)/2),e=p-t;a.textContent=`$${t.toLocaleString("en-US",{minimumFractionDigits:0})}`,i.textContent=`$${e.toLocaleString("en-US",{minimumFractionDigits:0})}`}}(_),o(i,d,f)})));const $=document.getElementById("step-5"),M=document.getElementById("step-5-fa"),F=document.getElementById("step-5-sp");$&&M&&F&&($.setAttribute("aria-label","Step 5: Private Student Loans; if balance remains after private student loans, please determine out-of-pocket payment or revisit Step 3 for payment plan option."),$.addEventListener("input",(function(){const t=parseInt($.value,10);if(isNaN(t))M.textContent=0,F.textContent=0;else{const e=Math.floor((t+1)/2),n=t-e;M.textContent=e,F.textContent=n}o(i,d,f)})))}))},3715:()=>{document.addEventListener("DOMContentLoaded",(function(){const t=(t,e,n)=>{const o=document.querySelector(t);o&&o.setAttribute(e,n)},e=(t,e,n)=>{document.querySelectorAll(t).forEach((t=>{const o=t.textContent.trim().toLowerCase(),s=n[o];s&&t.setAttribute(e,s)}))};t(".susqu-header__menu-helpful-links","gtm-hp-section","header_menu"),t("#header__container","gtm-hp-section","header_menu"),t(".susqu-header__menu-buttons","gtm-hp-section","header_cta"),t("#menu-popular-searches","gtm-hp-section","header_search"),t("#susqu-header__search-input","gtm-hp-el","header_search"),t("#menu-header-info-for","gtm-hp-section","header_info"),t(".susqu-header__dark-mode .slider","gtm-hp-el","dark-mode-toggle"),t(".susqu-footer__dark-mode .slider","gtm-hp-el","dark-mode-toggle"),e(".susqu-header__menu-buttons .wp-block-button__link","gtm-hp-el",{visit:"header-cta-visit",apply:"header-cta-apply","request info":"header-cta-request-info"}),e("#menu-header-info-for a","gtm-hp-el",{"future students":"info-for-future-students","transfer students":"info-for-transfer","international students":"info-for-international","current students":"info-for-current-students","parents & families":"info-for-parents","alumni & donors":"info-for-alumni","athletes & fans":"info-for-athletes","community members":"info-for-community","news & media":"info-for-news-media","job seekers":"info-for-job-seekers"}),function(){t(".home .susqu-hero","gtm-hp-section","hero"),t(".home .susqu-pillar-cards","gtm-hp-section","start-your-story"),t(".home .susqu-fcc","gtm-hp-section","navigate-your-path"),t(".home .susqu-lp","gtm-hp-section","future-ready-you"),t(".home .susqu-sp","gtm-hp-section","hawks-eye-view"),t(".home .susqu-btn","gtm-hp-section","more-than-metrics"),t(".home .susqu-testimonials","gtm-hp-section","straight-from-the-nest"),t(".home .susqu-news","gtm-hp-section","latest-news"),t(".home .susqu-events","gtm-hp-section","upcoming-events"),t(".home .susqu-social","gtm-hp-section","experience-the-pulse"),t(".home .hero__background-block.video video","gtm-hp-el","hero-video"),e(".home .hero__buttons a","gtm-hp-el",{"find your program":"hero-cta-programs",visit:"hero-cta-visit",apply:"hero-cta-apply"}),e(".home .susqu-fcc #audience-select option","gtm-hp-el",{"future students":"path-filter-future-students","transfer students":"path-filter-transfer","current students":"path-filter-current-students","international students":"path-filter-international","job seekers":"path-filter-job-seekers","alumni & donors":"path-filter-alumni","athletes & fans":"path-filter-athletes","community members":"path-filter-community","news & media":"path-filter-news-media","parents & families":"path-filter-parents"}),t(".home .susqu-fcc input.widget-search__input","gtm-hp-el","program-search-input");const n={"campus life":"panel-toggle-campus-life",academics:"panel-toggle-academics",outcomes:"panel-toggle-outcomes"};document.querySelectorAll(".home .susqu-pillar-card").forEach((t=>{const e=t.querySelector(":scope > .pillar-card__label");if(!e)return;const o=e.textContent.trim().toLowerCase(),s=n[o];s&&t.setAttribute("gtm-hp-el",s)}))}(),t("footer.wp-block-template-part","gtm-hp-section","footer"),t(".program-template-default.single .susqu-content-with-sidebar__section > div:first-child","gtm-hp-section","program-ctas")}))},598:()=>{!function(){const t="background-color: #d95e00; color: white!important; padding: 15px 15px; font-weight: bold; border: 0; margin-top: 10px; cursor: pointer; width: 33%; border-radius:12px; font-size:16px;",e='button, input[type="button"], input[type="submit"], input[type="reset"]';let n=!1;function o(){n||(n=!0,document.querySelectorAll(e).forEach((e=>{(function(e){return e.getAttribute("style")===t})(e)&&e.removeAttribute("style")})),document.querySelectorAll(".form_action_submit button").forEach((t=>{"0px"!==t.style.marginLeft&&(t.style.marginLeft="0")})),document.querySelectorAll(".form_page > .form_question.form_header").forEach((t=>{const e=t.querySelector(".form_label strong");if(!e||"Additional Information"!==e.textContent.trim())return;const n=t.parentElement.querySelector(".form_question.form_textarea label");n&&"Additional Information"!==n.innerHTML&&(n.innerHTML="Additional Information")})),n=!1)}function s(){o(),new MutationObserver((()=>{window.requestAnimationFrame(o)})).observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style"]})}function a(){if(document.querySelector(".form_page"))return void s();const t=new MutationObserver((()=>{document.querySelector(".form_page")&&(t.disconnect(),s())}));t.observe(document.documentElement,{childList:!0,subtree:!0})}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",a):a()}()},4915:()=>{document.addEventListener("DOMContentLoaded",(function(){window.location.pathname.includes("/wp-admin")||(document.querySelectorAll("table:not(.gsc-above-wrapper-area-container)").forEach((t=>{if(t.classList.contains("tribe-events-calendar-month"))return;const e=t.parentElement;let n;"figure"===e.tagName.toLowerCase()&&e.classList.contains("wp-block-table")?n=e:(n=document.createElement("figure"),n.className="wp-block-table",n.id="fa-table",e.replaceChild(n,t),n.appendChild(t));const o=n.parentElement;if(!o.classList.contains("table-wrapper")){const t=document.createElement("div");t.className="table-wrapper",o.replaceChild(t,n),t.appendChild(n)}})),document.querySelectorAll(".table-wrapper").forEach((t=>{const e=t.querySelector("figure.wp-block-table");if(!e)return;e.style.overflowX="auto",e.style.display="block";const n=()=>function(t,e){const n=e.scrollLeft+e.clientWidth>=e.scrollWidth-1;t.classList.toggle("hide-fade",n)}(t,e);e.scrollWidth>e.clientWidth&&e.setAttribute("tabindex","0"),e.addEventListener("scroll",n),window.addEventListener("resize",n),n()})))}))}},e={};function n(o){var s=e[o];if(void 0!==s)return s.exports;var a=e[o]={exports:{}};return t[o](a,a.exports,n),a.exports}(()=>{"use strict";n(4231),n(1143),n(598),n(4915),window.wp.apiFetch,window.location.hostname,new Map,new Map,n(9910),n(3715)})()})();