PageSourceSearch

https://usa.xforfit.com/js/home-page.js?id=e0a5c955476605cd555d6a1cb3310642

js xforfit.com collected 2026-10-02 01:50:45 UTC 21,650 bytes, 2 lines download raw bytes

1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="a417b02c-39c4-4d2c-b91d-b6af4eae78a3",t._sentryDebugIdIdentifier="sentry-dbid-a417b02c-39c4-4d2c-b91d-b6af4eae78a3")}catch(t){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"#34485-504614e3abeb4eb4d4d987f50cf540e9bfcce2b8"},function(){var t={92207:function(t,e,n){t.exports=n(7452)},85670:function(t,e){"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,o(r.key),r)}}function o(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:String(e)}var i=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.element=e,this.previousState=null}var e,n,o;return e=t,n=[{key:"fadeIn",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"block";this.element.style.display=t,this.element.animationRunning=!0,this.element.style.opacity=this.element.style.opacity?this.element.style.opacity:0,this.fadeInExec()}},{key:"fadeInExec",value:function(){var t=this,e=parseFloat(this.element.style.opacity);(e+=.1)>1?this.element.animationRunning=!1:(this.element.style.opacity=e,requestAnimationFrame((function(){return t.fadeInExec()})))}},{key:"fadeOut",value:function(){var t=this;this.element.style.opacity=this.element.style.opacity?this.element.style.opacity:1;var e=setInterval((function(){t.element.animationRunning||(clearInterval(e),t.fadeOutExec())}),100)}},{key:"fadeOutExec",value:function(){var t=this;this.element.animationRunning=!0,(this.element.style.opacity-=.1)<0?(this.element.style.display="none",this.element.animationRunning=!1):requestAnimationFrame((function(){return t.fadeOutExec()}))}},{key:"show",value:function(){this.element&&(this.element.style.display=this.previousState||"block")}},{key:"hide",value:function(){this.element&&(this.previousState=this.element.style.display,this.element.style.display="none")}}],n&&r(e.prototype,n),o&&r(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}();window.$t=function(t){var e=[],r="object"===n(t)?t:document.querySelector(t);e.find((function(t){return t.element===r}));var o=new i(r);return e.push(o),o},e.A=i},38098:function(t,e,n){"use strict";n.r(e),n.d(e,{profileInformation:function(){return o}});function r(t){var e=store.getAnswers().measurements;for(var n in e)if(e[n].type===t)return e[n];return{}}var o=function(){var t=function(){var t=store.getAnswers().measurements;if(!t)return{};var e="metric"===t[Object.keys(t)[0]].name;return{age:e?r("metric_age").value:r("imperial_age").value,weight:parseInt(e?r("weight_kg").value:r("weight_lb").value/2.205)}}();return{age:t.age,weight_kg:t.weight}};window.profileInformation=o},7452:function(t){var e=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var o=e&&e.prototype instanceof p?e:p,i=Object.create(o.prototype),a=new I(r||[]);return i._invoke=function(t,e,n){var r=f;return function(o,i){if(r===h)throw new Error("Generator is already running");if(r===m){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=L(a,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var s=l(t,e,n);if("normal"===s.type){if(r=n.done?m:d,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=m,n.method="throw",n.arg=s.arg)}}}(t,n,a),i}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f="suspendedStart",d="suspendedYield",h="executing",m="completed",y={};function p(){}function v(){}function g(){}var w={};s(w,i,(function(){return this}));var b=Object.getPrototypeOf,x=b&&b(b(j([])));x&&x!==n&&r.call(x,i)&&(w=x);var S=g.prototype=p.prototype=Object.create(w);function E(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function n(o,i,a,c){var s=l(t[o],t,i);if("throw"!==s.type){var u=s.arg,f=u.value;return f&&"object"==typeof f&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)}
vendor: 5,215 bytes, line 1
1)):e.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return n("throw",t,a,c)}))}c(s.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function L(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,L(t,n),"throw"===n.method))return y;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=l(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function j(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:C}}function C(){return{value:e,done:!0}}return v.prototype=g,s(S,"constructor",g),s(g,"constructor",v),v.displayName=s(g,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,s(t,c,"GeneratorFunction")),t.prototype=Object.create(S),t},t.awrap=function(t){return{__await:t}},E(k.prototype),s(k.prototype,a,(function(){return this})),t.AsyncIterator=k,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new k(u(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(S),s(S,c,"Generator"),s(S,i,(function(){return this})),s(S,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=j,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return c.type="throw",c.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:j(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
1),Object.defineProperty(t,"__esModule",{value:!0})},function(){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}var e=function(){return e=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},e.apply(this,arguments)},r=function(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))},o={get:function(t){var e=localStorage.getItem(t);if(null===e)return e;try{return JSON.parse(e)}catch(t){return e}},set:function(t,e){localStorage.setItem(t,"string"==typeof e?e:JSON.stringify(e))},append:function(t,n){this.set(t,e(e({},this.get(t)||{}),n))},appendDiffTypes:function(n,o){var i=this.get(n);i?Array.isArray(i)&&Array.isArray(o)?this.set(n,r(r([],i,!0),o,!0)):"object"!==t(i)||"object"!==t(o)?this.set(n,o):this.set(n,e(e({},i),o)):this.set(n,o)},remove:function(t){localStorage.removeItem(t)},clear:function(){localStorage.clear()},getAnswers:function(){return this.get("answers")||{}},storeMarketingInfo:function(){this.storeUtmParams(window.location.search),this.storeLastUtmParams(window.location.search),this.storeRefId(window.location.search),this.storeScreenResolution(window.screen.width,window.screen.height,window.devicePixelRatio)},storeScreenResolution:function(t,e,n){this.append("marketing",{screen:{width:t*n,height:e*n}})},storeUtmParams:function(t){var e=this.parseUtmParams(t);Object.keys(e).length&&void 0===this.getMarketingInfo("utmParams")&&this.append("marketing",{utmParams:e})},storeLastUtmParams:function(t){var e=this.parseUtmParams(t);Object.keys(e).length&&(e.utm_creative=e.utm_creative||this.getMarketingInfo("utmParams").utm_creative,this.append("marketing",{lastUtmParams:e}))},storeRefId:function(t){var e=new URLSearchParams(t).get("ref");e&&this.setRefId(e)},parseUtmParams:function(t){return t.substring(1).split("&").filter((function(t){return t.startsWith("utm")})).map((function(t){return t.split("=").map(decodeURIComponent)})).reduce((function(t,n){var r,o=n[0],i=n[1];return e(e({},t),((r={})[o]=i,r))}),{})},getMarketingInfo:function(t){void 0===t&&(t=null);var e=this.get("marketing")||{};return t?e[t]:e},storeCustomerUuid:function(t){var e=new URLSearchParams(window.location.search),n=e.get("cid")||e.get("customerUuid")||t;this.getCustomerUuid()||this.setCustomerUuid(n)},setCustomerUuid:function(t){this.set("__cid",t)},getCustomerUuid:function(){return this.get("__cid")||""},setEventId:function(t){this.set("__eid",t)},setRefId:function(t){this.set("__rid",t)}},i=o;window.store=o;var a=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))},c=function(){return"[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}"},s=n(85670),u="cookie-policy",l=function(){return i.get(u)||{}},f=["US-CA","AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE","GB"];function d(){window.cookiePolicyAnswer=function(t){return function(t){return!1!==l()[t]}(t)},window.setCookie=function(t,e){document.cookie=t+"="+e+";"},window.getCookie=function(t){var e=document.cookie.match(new RegExp("(^| )"+t+"=([^;]+)"));if(e)return e[2]}}function h(){var t=i.get("cookiesVisited"),e=document.getElementById("cookies-popup-div"),n="denied";m("consent","default",{ad_storage:n,ad_user_data:n,ad_personalization:n,analytics_storage:n,region:f}),(!1===l()["cookie-notification"]||t)&&e&&e.remove(),t&&!1!==l().targeting&&(n="granted"),y(n),document.getElementsByClassName("js-cookies-accept").length&&document.getElementsByClassName("js-cookies-accept")[0].addEventListener("click",(function(t){return t.preventDefault(),i.remove(u),i.set(u,{"cookie-notification":!1}),y(n="granted"),e&&e.remove(),!1}))}function m(){dataLayer.push(arguments)}function y(t){window.setCookie("ad_storage",t),window.setCookie("ad_user_data",t),window.setCookie("ad_personalization",t),window.setCookie("analytics_storage",t),function(t){m("consent","update",{ad_storage:t,ad_user_data:t,ad_personalization:t,analytics_storage:t})}(t)}window.dataLayer=window.dataLayer||[];var p=n(92207),v=n.n(p);function g(t,e,n,r,o,i,a){try{var c=t[i](a),s=c.value}catch(t){return void n(t)}c.done?e(s):Promise.resolve(s).then(r,o)}var w=n(38098).profileInformation,b=function(){var t,e=(t=v().mark((function t(e,n,r){var o;return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!backEndVars.gptTransformQuiz){t.next=5;break}return e.profile=w(),o=tracking.event({eventType:"QuizAnswer",systemType:backEndVars.systemType,ur
1i:window.location.pathname,domain:window.location.hostname,email:i.getAnswers()["saved-email"]||null,phone:i.get("__ph")||null,customerUuid:window.getCustomerUuid(),utmParams:i.getMarketingInfo("lastUtmParams"),additionalData:e}),t.next=5,tracking.trackClient(o);case 5:r(n);case 6:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){g(i,r,o,a,c,"next",t)}function c(t){g(i,r,o,a,c,"throw",t)}a(void 0)}))});return function(t,n,r){return e.apply(this,arguments)}}();function x(){var t;return(null===(t=document.querySelector(".js-quiz-question"))||void 0===t?void 0:t.textContent.trim())||""}function S(){var t;return(null===(t=document.getElementById("js-quiz-subtitle"))||void 0===t?void 0:t.textContent.trim())||""}var E=function(){var t,e=new URLSearchParams(window.location.search),n=null,r=new RegExp(".+/(".concat(c(),")(/upsales|/downsale|/products|.+token)")).exec(window.location.pathname),o=new RegExp("/final/c/(".concat(c(),")/p/")).exec(window.location.pathname);return r?n=r[1]:o&&(n=o[1]),n||e.get("cid")||e.get("customerUuid")||store.getCustomerUuid()||(t="customer_uuid",store.getAnswers().data?store.getAnswers().data[t]:"")||backEndVars.customerUuid},k=function(t){var e=new URL(t.href);e.searchParams.append("cid",store.get("__cid")),t.setAttribute("href",e)};function L(t){return function(t){if(Array.isArray(t))return _(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}window.store=i,window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),window.getCustomerUuid=E,window.onload=function(){var t,e;i.storeMarketingInfo(),i.storeCustomerUuid(E()||a()),t=document.querySelectorAll('a[data-e2e="burger-menu-sign-in"]'),e=document.querySelectorAll('a[data-e2e="footer-sign-in"]'),t.forEach((function(t){return k(t)})),e.forEach((function(t){return k(t)}))},window.setAnswer=function(t,e){var n=store.getAnswers();n[t]=e,store.set("answers",n)},window.getHost=function(){var t=window.location;return"https://"+t.hostname+(t.port?":"+t.port:"")};var A={infoModalAnimation:null,setActiveStateToBtn:function(){var t=document.querySelectorAll(".js-active-control");L(t).forEach((function(e){e.addEventListener("click",(function(e){L(t).forEach((function(t){L(t.querySelectorAll(".js-active")).forEac
1h((function(t){return t.classList.remove("opacity-100")}))})),L(e.currentTarget.querySelectorAll(".js-active")).forEach((function(t){return t.classList.toggle("opacity-100")}))}))}))},getQueryVariable:function(t){for(var e=window.location.search.substring(1).split("&"),n=0;n<e.length;n++){var r=e[n].split("=");if(r[0]==t)return r[1]}return!1},setSimpleTemplateTheme:function(){var t=i.getAnswers().bodyClass||i.get("bodyClass")||"woman-theme";if(document.querySelector(".js-simple-template")){document.body.classList.remove("woman-theme","men-theme");try{document.body.classList.add(t)}catch(t){document.body.classList.add("woman-theme")}}},dietAnswer:function(t){var e=i.getAnswers().bodyClass||i.get("bodyClass");if(t.classList.contains("bodyClass")&&"/"==window.location.pathname){var n=t.dataset.bodyClassValue;n!=e&&window.setAnswer("bodyClass",n)}this.setSimpleTemplateTheme(),window.setAnswer(t.dataset.key,parseInt(t.dataset.value)),t.dataset.href&&(window.location.href=window.getHost()+t.dataset.href)},handleLandingQuery:function(){var t=window.location.search.substring(1).split("&"),e={},n=document.createElement("div");t.forEach((function(t){var r=t.split("=");e[r[0]]=decodeURI(r[1]),n.setAttribute("data-"+r[0],decodeURI(r[1]))})),n.classList.add("bodyClass"),this.dietAnswer(n)},handleScrollBtnClick:function(t){t.preventDefault(),function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=window.pageYOffset,r=null;t=+t,e=+e,window.requestAnimationFrame((function o(i){var a=i-(r=r||i);n<t?window.scrollTo(0,(t-n)*a/e+n):window.scrollTo(0,n-(n-t)*a/e),a<e?window.requestAnimationFrame(o):window.scrollTo(0,t)}))}(document.querySelector(t.currentTarget.getAttribute("href")).offsetTop-100,2e3)},openModal:function(t){t.preventDefault(),this.infoModalAnimation.fadeIn(),document.querySelector("body").style.overflow="hidden"},closeModal:function(t){t.preventDefault(),this.infoModalAnimation.fadeOut(),document.querySelector("body").style.overflow=""},handleDOMContentLoaded:function(){var t=this;this.getQueryVariable("landing")&&this.handleLandingQuery(),d(),h();var e=this.dietAnswer.bind(this);document.querySelectorAll(".dietAnswer").forEach((function(t){t.addEventListener("click",(function(t){var n;b((n=t.currentTarget,{pageSequence:backEndVars.pageSequence,question:x(),subtitle:S(),answer:{value:n.querySelector(".js-quiz-answer").textContent.trim()}}),t.currentTarget,e)}))})),document.querySelectorAll("#ScrollToQuiz").forEach((function(e){var n=e.querySelector("a");null==n||n.addEventListener("click",t.handleScrollBtnClick)}));var n=document.querySelector(".js-back-button");n&&n.addEventListener("click",(function(){history.back()}));var r=document.querySelector(".js-simple-modal");if(r){this.infoModalAnimation=new s.A(r);var o=document.querySelector(".js-modal-info"),i=document.querySelector(".js-modal-close");o.addEventListener("click",this.openModal.bind(this)),i.addEventListener("click",this.closeModal.bind(this))}this.setSimpleTemplateTheme(),this.setActiveStateToBtn()}};document.addEventListener("DOMContentLoaded",(function(){A.handleDOMContentLoaded()}))}()}();
2//# sourceMappingURL=home-page.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.