!function(n){function t(r){if(i[r])return i[r].exports;var u=i[r]={i:r,l:!1,exports:{}};return n[r].call(u.exports,u,u.exports,t),u.l=!0,u.exports}var i={};return t.m=n,t.c=i,t.i=function(n){return n},t.d=function(n,i,r){t.o(n,i)||Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:r})},t.n=function(n){var i=n&&n.__esModule?function(){return n["default"]}:function(){return n};return t.d(i,"a",i),i},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=14)}([function(n,t,i){"use strict";function r(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}var u=i(7),f=r(u),e=i(9),o=r(e),s=i(4),h=r(s),c=i(10),l=r(c),a=i(5),v=r(a),y=i(3),p=r(y),w=i(11),b=r(w),k=i(8),d=(r(k),i(13)),g=r(d),nt=i(1),tt=r(nt),it=i(12),rt=(r(it),i(6)),ut=r(rt),ft=i(2),et=r(ft);window.$=$;$(document).ready(function(){String.prototype.includes||(String.prototype.includes=function(n,t){return"number"!=typeof t&&(t=0),!(t+n.length>this.length)&&this.indexOf(n,t)!==-1});var n=[f,o,h,l,v,p,b,g,tt,ut,et];n.forEach(function(n){return n.initialize()})})},function(n,t){"use strict";function i(){$(".accordion-link").on("click",function(n){n.preventDefault();var t=$(this).data("section"),i=($(".is-mobile").is(":visible"),!0);$("."+t).addClass("d-none");$(this).hasClass("opened")?$(this).removeClass("opened"):(i||($(".accordion-link").removeClass("opened"),$(".accordion-link + .section").addClass("d-none")),$(this).addClass("opened"),$("."+t).removeClass("d-none"))})}Object.defineProperty(t,"__esModule",{value:!0});t.initialize=i},function(n,t){"use strict";function i(){var n=(window.location.href.includes("hcp")?"hcp":"patient",window.location.href.substr(window.location.href.lastIndexOf("/")+1).toLowerCase().replace("/index","").replace(/-/g,""));$(".breadcrumb > li > a").removeClass("visible");$(".desktop-hcp-nav a, .breadcrumb a").each(function(){var t=$(this).attr("href").toLowerCase().replace(/-/g,"");"hcp"!=n&&t.includes(n)&&$(this).addClass("active")});$(".desktop-nav > a").each(function(){var n=$(this).attr("href").toLowerCase().replace(/-/g,"");"hcp"!=window.location.href.substr(window.location.href.lastIndexOf("/")+1)&&n.match(window.location.href.substr(window.location.href.lastIndexOf("/")+1).toLowerCase().replace(/-/g,""))&&$(this).addClass("active")});$("ul.breadcrumb  a").each(function(){var n=$(this).attr("href").toLowerCase().replace(/-/g,"");"hcp"!=window.location.href.substr(window.location.href.lastIndexOf("/")+1)&&n.match(window.location.href.substr(window.location.href.lastIndexOf("/")+1).toLowerCase().replace(/-/g,""))&&$(this).parent().addClass("visible")});$("ul.breadcrumb-patient  a").each(function(){var t=$(this).attr("href").toLowerCase().replace("/patient/","").replace(/-/g,""),i=$(this).data("section");t==n&&$("."+i).addClass("visible")})}Object.defineProperty(t,"__esModule",{value:!0});t.initialize=i},function(n,t){"use strict";function i(){$("a.show-more").on("click",function(n){n.preventDefault();var t=$(this).data("graphic");$(this).hasClass("opened")?($(this).removeClass("opened"),$(".graphic."+t).hide(),$(this).html("show more")):($(this).addClass("opened"),$(this).html("show less"),$(".graphic."+t).show())})}Object.defineProperty(t,"__esModule",{value:!0});t.initialize=i},function(n,t){"use strict";function i(){$(".desktop-nav-item").mouseenter(function(){$(".desktop-nav-item").each(function(){$(this).siblings("ul").hide()});var n=$(this).data("child");$("."+n).show()});$(".header-nav-patient").mouseleave(function(){$(".desktop-nav-item").each(function(){$(this).siblings("ul").hide()})});$(".header-nav-patient ul li ul").on("mouseover",function(){$(this).parent().find("> a").addClass("highlighted")});$(".header-nav-patient ul li ul").on("mouseleave",function(){$(this).parent().find("> a").removeClass("highlighted")})}Object.defineProperty(t,"__esModule",{value:!0});t.initialize=i},function(n,t){"use strict";function i(){$(".resource-item").on("click",function(n){var i;n.preventDefault();$(".resource-box").find("ul > li").removeClass("active");$(".resource-box").find("ul > li > a").removeClass("active");$(this).parent().addClass("active");$(this).addClass("active");var r=$(this).data("title"),u=$(this).parent().find("span.text-description").html(),f=$(this).data("bgclass"),e=$(this).data("showesplink"),t=$(this).attr("href");($(".resource-box").find(".text-title > span").html(unescape(r)),$(".resource-box").find("#resource-bg").removeAttr("class").addClass("col "+f).css("height","555px"),$(".resource-description p").html(u),$(".desk.download").addClass("visible"),$(".desk.download").attr("href",t),$(".desk.download").attr("target","_blank"),t.match("http")?$(".desk.download").addClass("external"):$(".desk.download").removeClass("external"),$(".desk.en-esp").removeClass("visible"),e===!0)&&($(".desk.en-esp").addClass("visible"),i=t.split("."),$(".desk.en-esp").attr("href",i[0]+"_ESES."+i[1]))});$(".desk.download").on("click",function(n){$(this).hasClass("external")&&(n.preventDefault(),$(".overlay--interstitial a.leave").attr("href",this.href),$(".overlay--interstitial a.leave").attr("target",this.target),$(".overlay-wrapper--interstitial").show())});$(function(){var e=$(location).attr("href"),i=e.split("/"),n=parseInt(i[i.length-1]),t,r,u,f;isNaN(n)?$(".resource-box").find(".resource-item").first().trigger("click"):(t=["lets-talk","living-with-transplant","taking-measures","take-control","my-health","mobile-app","medication","nutrition-schedule","exercise"],r=$(".resource-item[data-bgclass='"+t[n-1]+"']"),r.trigger("click"),u=$(".is-mobile").is(":visible"),f=u?$("#"+t[n-1]):$("."+t[n-1]),$("html, body").animate({scrollTop:$(f).offset().top},500))})}Object.defineProperty(t,"__esModule",{value:!0});t.initialize=i},function(n,t){"use strict";function i(){window.location.href.includes("hcp")?"hcp":"patient";window.location.href.substr(window.location.href.lastIndexOf("/")+1);$.fn.isInViewport=function(){var n=$(this).offset().top,i=n+$(this).outerHeight(),t=$(window).scrollTop(),r=t+$(window).height();return i>t&&n<r};$(document).ready(function(n){var t=navigator.userAgent.toLowerCase(),i=t.match(/(iphone|ipod|ipad)/);i&&(n("body").addClass("ios"),n(".parallax").length&&n(".parallax").addClass("ios"))});$(".is-mobile").is(":visible")&&$(".links-container .light-pink").each(function(){var n=$(this).height();n>40&&$(this).addClass("two-line")});$(".desktop-patient-nav a, .mobile-nav a").each(function(){var i=!1,r=$(this).attr("href").replace("/patient/","").toLowerCase().replace("/index","").replace(/-/g,""),n=window.location.href.toLowerCase().replace("/index","").replace(/-/g,"").replace(/\/\d+$/,"").substr(window.location.href.toLowerCase().replace("/index","").replace(/-/g,"").replace(/\/\d+$/,"").lastIndexOf("/")+1),t;if("patient"!=n&&"hcp"!=n&&""!=n&&r==n&&($(this).addClass("active"),t=$(this).data("parent"),$("a."+t).addClass("active"),i=!0),!i&&"patient"!=n&&""!=n){var u=window.location.href.substr(window.location.href.lastIndexOf("/")+1),f=$("a[href*="+u+"]"),t=$(f).data("parent");$("a."+t).addClass("active")}});$(".mobile-nav").hide();var n=$(".mobile-nav a.active").parent().parent();n&&(n.closest(".mobile-nav-item"),n.show(),n.siblings().addClass("opened"));$(window).scroll(function(){$(this).scrollTop()>200?$("#back-to-top").fadeIn():$("#back-to-top").fadeOut()});$("#back-to-top").on("click",function(n){n.preventDefault();$(this).tooltip("hide");$("body,html").animate({scrollTop:0},500)});$(".committed-to-transplantation .show-more").on("click",function(){var t=$(this).data("graphic"),n;t&&($(this).hasClass("opened")?location.hash="#"+t:(n=!1,$(".show-more").each(function(){$(this).hasClass("opened")&&(location.hash="#"+$(this).data("graphic"),n=!0)}),n||history.replaceState(null,null," ")))});$(".get-updates").on("click",function(n){n.preventDefault();$("header").hide();$("nav").hide();$("#share-page").removeClass("d-md-block d-lg-block");$("#print-btn").removeClass("d-md-block d-lg-block");$("section").hide();$(".sign-up-page-form-container").show();$("body,html").animate({scrollTop:0},500);$("body").addClass("overlay-visible")});$(".singup-page-cancel").on("click",function(n){n.preventDefault();setTimeout(function(){$("#sign-up-form").find("input[type=text]").val("");$("#sign-up-form").find("input[type=checkbox]").prop("checked",!1)},300);$("header").show();$("nav").show();$("#share-page").addClass("d-md-block d-lg-block");$("#print-btn").addClass("d-md-block d-lg-block");$("section").removeAttr("style");$(".sign-up-page-form-container").hide();$(".hide-succes").removeClass("d-none");$(".share-succes").addClass("d-none");$("body").removeClass("overlay-visible")});$("#singup-page-submit").on("click",function(n){var i,r,t,u;n.preventDefault();i=$(".typeOfRolesListchk:checked").map(function(){return $(this).val()}).get();r=$.validator.methods.range;$.validator.methods.range=function(n,t,i){return"checkbox"===t.type?t.checked:r.call(this,n,t,i)};t=$("#sign-up-form");(t.validate(),0==i.length?$("#typeOfRolesHasChecked-error").show():$("#typeOfRolesHasChecked-error").hide(),t.valid())&&(u=$(t).serializeArray(),$.ajax({type:"POST",url:"/sign-up",data:u,dataType:"json",encode:!0}).done(function(n){console.log("Submission",n);"Success"==n.Message&&($(".hide-succes").addClass("d-none"),$(".share-succes").removeClass("d-none"),$("body").removeClass("overlay-visible"))}));$("body,html").animate({scrollTop:0},500)});$(".prescribing-nav-link").on("click",function(n){n.preventDefault();var t=$(this).data("type");console.log("Showing",t);$("header").hide();$("nav").hide();$("#share-page").removeClass("d-md-block d-lg-block");$("#print-btn").removeClass("d-md-block d-lg-block");$("section").hide();$("#isi-top").removeClass("d-md-block d-lg-block");$(".prescribing-info-container."+t).show();$("body").addClass("overlay-visible");$(".sticky-isi")&&$(".sticky-isi").addClass("collapsed");$("body,html").animate({scrollTop:0},500)});$(".full-prescribing-info-cancel").on("click",function(n){n.preventDefault();$("header").show();$("nav").show();$("#share-page").addClass("d-md-block d-lg-block");$("#print-btn").addClass("d-md-block d-lg-block");$("section").removeAttr("style");$(".prescribing-info-container").hide();$("#isi-top").addClass("d-md-block d-lg-block");$("body").removeClass("overlay-visible");$(".sticky-isi")&&$(".sticky-isi").removeClass("collapsed")});$("#print-btn").on("click",function(){window.print()});$(".typeOfRolesListchk").change(function(){if($(this).prop("checked"))$("input[name=typeOfRolesHasChecked]").val("true"),$("#typeOfRolesHasChecked-error").hide();else{var n=$(".typeOfRolesListchk:checked").map(function(){return $(this).val()}).get();0==n.length&&($("input[name=typeOfRolesHasChecked]").val("false"),$("#typeOfRolesHasChecked-error").show())}});$(document).ready(function(){return})}Object.defineProperty(t,"__esModule",{value:!0});t.initialize=i},function(n,t){"use strict";function i(){function n(n){$(n).css("height",$("body").outerHeight()-$("footer").outerHeight()+"px");$("section.home").height($(n).height());t(n)}function t(n){$(n).show();r(n)}function i(n){u=!1;$(n).animate({"margin-top":"100%",height:"0 !important",opacity:"0"},500,function(){$(this).hide()});$("section.home").css("height","auto")}function r(n){$(window).resize(function(){$(n).css("height",$("body").outerHeight()-$("footer").outerHeight()+"px")})}var u=!0;n("#home-overlay");$("#home-overlay").on("click",function(n){n.preventDefault();i("#home-overlay")});$(".home .hcp, .patient-hcp-link").on("click",function(t){t.preventDefault();n("#healthcare-pro-overlay")});$(".home .patient").on("click",function(n){n.preventDefault();var t=$(this).data("url");window.location.href=t});$(".ribbon-link").on("click",function(n){n.preventDefault();var t=$(this).offset().top;$("body,html").animate({scrollTop:t+48},500)})}Object.defineProperty(t,"__esModule",{value:!0});t.initialize=i},function(){"use strict";var n=function(){$("a.external").on("click",function(n){var t;n.preventDefault();$(".modal.modal-leave a.continue").attr("href",this.href);var r=$(this),i=r.attr("myref"),u=i&&i.length>0;$(".modal.modal-leave a.continue").click(function(n){n.preventDefault();window.open(this.href)});t="www.astellas.com"==new URL(this.href).hostname?"www.astellas.com/us":new URL(this.href).hostname;t="mep.cardinalhealth.com"==t?this.href:t;console.log(t);t="www.activatethecard.com"==t?"www.veozahsavings.com":t;$(".modal.modal-leave #leaveSiteUrl").text(u?i:t);$(".modal.modal-leave").addClass("show");$(this).hasClass("disclaimer")&&(console.log("trigger click"),$(".modal.modal-leave #linkDisclaimer").removeClass("hide"))});$(".modal.modal-leave a.cancel").on("click",function(n){n.preventDefault();$(".modal.modal-leave").removeClass("show");$(".modal.modal-leave #linkDisclaimer").addClass("hide")});$(".modal.modal-share a.cancel").on("click",function(n){n.preventDefault();$(".modal.modal-share").removeClass("show")});$(".modal.modal-termsconditions a.cancel").on("click",function(n){n.preventDefault();$(".modal.modal-termsconditions").removeClass("show")});$(".modal.modal-leave a.continue").on("click",function(){$(".modal.modal-leave").removeClass("show");$(".modal.modal-leave #linkDisclaimer").addClass("hide")});$(".modal.modal-cookie .close").on("click",function(){$(".modal.modal-cookie").removeClass("show");localStorage.setItem("cookieModal","1")});$(".modal.modal-cookie .cookie-button").on("click",function(){$(".modal.modal-cookie").removeClass("show");localStorage.setItem("cookieModal","1")});null===localStorage.getItem("cookieModal")&&$(".modal.modal-cookie").addClass("show")};jQuery(document).ready(function(){n()})},function(n,t){"use strict";function i(){$(".desktop-nav > a").removeClass("active");$(".mobile-menu-btn").on("click",function(n){n.preventDefault();$(this).hasClass("opened")?($(".mobile-nav").removeClass("d-block d-md-none d-lg-none"),$("section").removeAttr("style"),$(this).removeClass("opened"),$("body").removeClass("menu-open")):($("section").not("section.isi").hide(),$(".mobile-nav").addClass("d-block d-md-none d-lg-none"),$("body").addClass("menu-open"),$(this).addClass("opened"))});$("#isi-prograf").on("click",function(n){n.preventDefault();$(".full-isi.prograf").toggleClass("opened")});$("#isi-astagraf").on("click",function(n){n.preventDefault();$(".full-isi.astagraf").toggleClass("opened")});$(".mobile-nav-item").on("click",function(n){n.preventDefault();var t=$(this).data("child");$(this).hasClass("opened")?($(this).removeClass("opened"),$("."+t).hide()):($(this).addClass("opened"),$("."+t).show())})}Object.defineProperty(t,"__esModule",{value:!0});t.initialize=i},function(n,t){"use strict";function i(){if("undefined"!=typeof ScrollMagic){var i,n,t=$("body"),r=function(){var r,u,i=$(".is-mobile").is(":visible");n&&(n.destroy(),n=null);n=new ScrollMagic.Controller;t.hasClass("welcome")&&(r=TweenMax.to(".welcome section.copay-card .copay-card-bg",1,{rotation:3,ease:Linear.easeNone}),u=new ScrollMagic.Scene({triggerElement:".welcome section.copay-card",triggerHook:i?1:.5,duration:300}).setTween(r).addTo(n),r=TweenMax.to(".welcome section.copay-card .copay-card-text",1,{autoAlpha:1,x:i?200:0,y:i?0:100,ease:Linear.easeNone}),u=new ScrollMagic.Scene({triggerElement:".welcome section.copay-card",triggerHook:i?1:.5,duration:500}).setTween(r).addTo(n),r=TweenMax.to(".welcome section.about-educationg-patients .hero-text",1,{autoAlpha:1,x:i?200:0,y:i?0:230,ease:Linear.easeNone}),u=new ScrollMagic.Scene({triggerElement:".welcome section.about-educationg-patients",triggerHook:i?1:.5,duration:500}).setTween(r).addTo(n),r=TweenMax.to(".welcome section.about-advancing-transplant .hero-text",1,{autoAlpha:1,x:i?200:0,y:i?0:230,ease:Linear.easeNone}),u=new ScrollMagic.Scene({triggerElement:".welcome section.about-advancing-transplant",triggerHook:i?1:.5,duration:500}).setTween(r).addTo(n),r=TweenMax.to(".welcome section.about-dosing .hero-text",1,{autoAlpha:1,x:i?200:0,y:i?0:230,ease:Linear.easeNone}),u=new ScrollMagic.Scene({triggerElement:".welcome section.about-dosing",triggerHook:i?1:.5,duration:500}).setTween(r).addTo(n));t.hasClass("welcome-patient")&&(r=TweenMax.to(".welcome-patient section.copay-card .copay-card-bg",1,{rotation:3,ease:Linear.easeNone}),u=new ScrollMagic.Scene({triggerElement:".welcome-patient section.copay-card",triggerHook:i?1:.5,duration:300}).setTween(r).addTo(n),r=TweenMax.to(".welcome-patient section.copay-card .copay-card-text",1,{autoAlpha:1,x:i?200:0,y:i?0:100,ease:Linear.easeNone}),u=new ScrollMagic.Scene({triggerElement:".welcome-patient section.copay-card",triggerHook:1,duration:500}).setTween(r).addTo(n),r=TweenMax.to(".welcome-patient section.about-education-resources .sub-head-title",1,{autoAlpha:1,x:i?200:0,y:i?0:230,ease:Linear.easeNone}),u=new ScrollMagic.Scene({triggerElement:".welcome-patient section.about-education-resources",triggerHook:i?1:.5,duration:500}).setTween(r).addTo(n))};(t.hasClass("welcome")||t.hasClass("welcome-patient"))&&(r(),$(window).on("resize",function(){clearTimeout(i);i=setTimeout(function(){r()},250)}))}}Object.defineProperty(t,"__esModule",{value:!0});t.initialize=i},function(n,t){"use strict";function i(){$("a.title").on("click",function(n){n.preventDefault();var t=$(this).data("section");$("."+t).hide();$(this).hasClass("opened")?$(this).removeClass("opened"):($(this).addClass("opened"),$("."+t).show())})}Object.defineProperty(t,"__esModule",{value:!0});t.initialize=i},function(){"use strict";var n=function(){$("a.shareLink").on("click",function(n){n.preventDefault();$(".modal.modal-share input.link").attr("value",this.name);$(".modal.modal-share input.link").attr("myref",this.href);$(".modal.modal-share").addClass("show")});$(".modal.modal-share a.copy").on("click",function(n){n.preventDefault();var t=document.getElementById("linkInput").getAttribute("myref");try{navigator.clipboard.writeText(t);$(".modal.modal-share").removeClass("show");console.log("Content copied to clipboard")}catch(i){console.error("Failed to copy: ",i)}});$("a.terms").on("click",function(n){n.preventDefault();$("#termscon").addClass("show")})};jQuery(document).ready(function(){n()})},function(n,t){"use strict";function i(){function r(){$("body").removeClass("isi-open");$(".sticky-isi-mobile").removeClass("opened");e()&&($("body").addClass("isi-open"),t&&$(".sticky-isi-mobile").addClass("opened"))}function s(){if(f.offset())return f.offset().top}function h(){if(u.offset())return u.offset().top}var u=$("#isi-top"),f=($("footer"),$(".sticky-isi")),n=$(".sticky-isi-main"),c=$("#isi-astagraf"),i=["#isi-prograf","#isi-astagraf"],l="#isi-top-mobile",t=$(".isi-mobile-top-link").is(":visible");$(".isi-expand").on("click",function(){$(this).hasClass("expanded")?($(this).removeClass("expanded"),$(this).addClass("collapsed")):($(this).removeClass("collapsed"),$(this).addClass("expanded"))});$(".sticky-isi, #isi-prograf").on("click",function(){$(this).hasClass("opened")?$(this).removeClass("opened"):($(this).addClass("opened"),t&&$("html, body").animate({scrollTop:$(n).offset().top},500));r()});$("#isi-astagraf").on("click",function(){$(this).hasClass("opened")?$(this).removeClass("opened"):($(this).addClass("opened"),t&&$("html, body").animate({scrollTop:$(c).offset().top},500));r()});window.checkStickyWarning=function(){var r,u,f;t?e()?(r=!1,$(i).each(function(n,t){o(t)&&(r=!0)}),setTimeout(function(){$(".sticky-isi-mobile").isInViewport()||a()},600)):o(l)?n.find(".sticky-isi-mobile").addClass("collapsed"):n.find(".sticky-isi-mobile").removeClass("collapsed"):(u=s(),f=h(),u>f?n.find(".sticky-isi").addClass("collapsed"):n.find(".sticky-isi").removeClass("collapsed"))};var a=function(){$(".sticky-isi-mobile").removeClass("collapsed");$(".sticky-isi-mobile").removeClass("opened");$(".full-isi").removeClass("opened");$("body").removeClass("isi-open");$(i).each(function(n,t){$(t).removeClass("opened")})},e=function(){if(t){var n=!1;return $(i).each(function(t,i){$(i).hasClass("opened")&&(n=!0)}),n}return $(".full-isi").each(function(){if($(this).hasClass("opened"))return!0}),!1},o=function(n){var t=$(window).scrollTop(),r=t+$(window).height(),i=$(n).offset().top,u=i<=r&&i>=t,f=t>i;return u||f};$(window).on("resize",function(){window.checkStickyWarning()});$(window).scroll(function(){window.checkStickyWarning()})}Object.defineProperty(t,"__esModule",{value:!0});t.initialize=i},function(n,t,i){n.exports=i(0)}])