!function(){"use strict";var t=class{static isInternalLink(t){const{location:{host:e=""}={}}=window;return new URL(t).host===e}static getLinkFromElement(t){if(t instanceof HTMLAnchorElement)return t.href;const e=t.closest("a");return e?e.href:""}static isAnchorLink(t){return t&&""!==t.hash&&t.hostname===window.location.hostname}},e=class{static update(e,n){const a=new URL(e);t.isAnchorLink(a)?window.history.pushState(n,"",a.hash):a.search?window.history.pushState(n,"",`${a.pathname}${a.search}`):window.history.pushState(n,"",a.pathname)}},n={EVENTS:{mediacoAppReady:"mediaco:appReady",mediacoLinkClick:"mediaco:linkClick",mediacoAfterPageTransition:"mediaco:afterPageTransition",mediacoPlayerStart:"mediaco:playerStart",mediacoPlayerStop:"mediaco:playerStop",mediacoSearchFormSubmit:"mediaco:searchFormSubmit"},SITE_ROOT:".wp-site-blocks",CONTENT_AREA:"main.wp-block-group",PAGE_TRANSITION:!0};const{EVENTS:a}=n;const{EVENTS:s}=n;var i=class{validStatusCodes=[200,301,302,404];loadFromServer(t){window.location.assign(t)}createResponse(t){return{status:t.status,content:t.content}}async getPageContent(t){const e=await fetch(t);try{const t=await e.text();return this.createResponse({status:e.status,content:t})}catch(t){return this.createResponse({status:e.status,content:""})}}},o=class{static diffArrayOfObjectsByProp(t,e,n){return t.filter((t=>!e.some((e=>t[n]===e[n]))))}},r=class{static stringToHtmlDocument(t){return(new DOMParser).parseFromString(t,"text/html")}static excludeTagByTextContent(t,e){return t.filter((t=>{const n=t.textContent;return!n||!e.some((t=>n.includes(t)))}))}static createScriptTag(t){const e=document.createElement("script");return e.type=t.type,t.src?e.src=t.src:e.textContent=t.textContent,t.async&&e.setAttribute("async","async"),t.defer&&e.setAttribute("defer","defer"),t.id&&(e.id=t.id),e}};class c{constructor(t){this.currentPageDocument=t.currentPageDocument,this.newPageDocument=t.newPageDocument}swapContent(){const t=c.queryDocument(n.CONTENT_AREA,this.currentPageDocument),e=c.queryDocument(n.CONTENT_AREA,this.newPageDocument),a=t?.parentNode;return!!(t&&e&&a)&&(this.replaceBodyClasses(),this.replaceStyleTags(),this.loadCSSFiles(),this.loadScriptTags(),this.loadScriptTags("body"),this.updatePageTitle(),this.updateMetaTags(),this.updateCanonicalLink(),a.replaceChild(e,t),this.handleAds(),!0)}handleAds(){var t;const e=c.queryDocument("#googletag_definitions",this.newPageDocument),n=null!==(t=e?.innerHTML.match(/\[.*\]/g)?.[0])&&void 0!==t?t:"[]",a=JSON.parse(n),{googletag:s}=window;s&&(s.destroySlots(),a.forEach((t=>{s.defineSlot(t.slot,t.sizes,t.div).addService(s.pubads()),s.display(t.div)})),s.pubads().collapseEmptyDivs(),s.enableServices())}loadCSSFiles(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"head";const e=c.queryDocument(t,this.currentPageDocument),n=c.queryDocument(t,this.newPageDocument);if(!e||!n)return;const a=Array.from(e.querySelectorAll('link[rel="stylesheet"]')),s=Array.from(n.querySelectorAll('link[rel="stylesheet"]')),i=o.diffArrayOfObjectsByProp(s,a,"href");i.length<1||i.forEach((t=>{e.appendChild(t)}))}loadScriptTags(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"head";const e=c.queryDocument(t,this.currentPageDocument),n=c.queryDocument(t,this.newPageDocument);if(!e||!n)return;const a=Array.from(e.querySelectorAll("script")),s=Array.from(n.querySelectorAll("script")),i=[...o.diffArrayOfObjectsByProp(s,a,"src"),...o.diffArrayOfObjectsByProp(s,a,"textContent")];i.length<1||i.forEach((t=>{if(t.id.includes("googletag"))return;if(t.textContent&&t.textContent.includes("googletag"))return;const n=r.createScriptTag(t);e.appendChild(n)}))}replaceBodyClasses(){const t=c.queryDocument("body",this.currentPageDocument),e=c.queryDocument("body",this.newPageDocument);if(!t||!e)return;const n=t.classList.value,a=e.classList.value;n!==a&&(t.className=a)}replaceStyleTags(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"head";const e=c.queryDocument(t,this.currentPageDocument),n=c.queryDocument(t,this.newPageDocument);if(!e||!n)return;const a=["td-player-classic","fa-border","onetrust","td-container-wrapper"],s=e.querySelectorAll("style"),i=r.excludeTagByTextContent(Array.from(s),a),o=n.querySelectorAll("style"),l=r.excludeTagByTextContent(Array.from(o),a);i.length<1||l.length<1||(i.forEach((t=>{t.remove()})),l.forEach((t=>{e.appendChild(t)})))}updateCanonicalLink(){var t;const e=c.queryDocument('link[rel="canonical"]',this.currentPageDocument),n=c.queryDocument('link[rel="canonical"]',this.newPageDocument);e&&n&&e.setAttribute("href",null!==(t=n.getAttribute("href"))&&void 0!==t?t:"")}updateMetaTags(){const t=c.queryDocument("head",this.currentPageDocument),e=c.queryDocument("head",this.newPageDocument);if(!t||!e)return;const n=t.querySelectorAll("meta"),a=e.querySelectorAll("meta");n.length<1||a.length<1||n.forEach((t=>{var e;const n=Array.from(a).find((e=>{const n=t.getAttribute("name"),a=e.getAttribute("name");if(n&&a&&n===a)return!0;const s=t.getAttribute("property"),i=e.getAttribute("property");return s&&i&&s===i}));n&&t.setAttribute("content",null!==(e=n.getAttribute("content"))&&void 0!==e?e:"")}))}updatePageTitle(){const t=c.queryDocument("title",this.currentPageDocument),e=c.queryDocument("title",this.newPageDocument);t&&e&&(t.innerHTML=e.innerHTML)}static queryDocument(t,e){return e.querySelector(t)}}var l=c,u=class{validStatusCodes=[200,301,302,404];constructor(t,e){this.url=t,this.contentGateway=e,this.url=t,this.contentGateway=e}loadFromServer(t){window.location.assign(t)}},h=class extends u{async loadPageFromLink(){const{status:t,content:e}=await this.contentGateway.getPageContent(this.url);this.validStatusCodes.includes(t)||this.loadFromServer(this.url),404===t&&console.error("It looks like that page returned a 404.");const n=r.stringToHtmlDocument(e);new l({currentPageDocument:document,newPageDocument:n}).swapContent()||this.loadFromServer(this.url)}};class d{static toElement(t){t.scrollIntoView({behavior:"instant"})}static toTop(){window.scrollTo({top:0,behavior:"instant"})}static scroll(e){const n=new URL(e);if(t.isAnchorLink(n)){const t=document.querySelector(n.hash);t&&d.toElement(t)}else d.toTop()}}var m=d;const{EVENTS:g}=n;var p=class extends u{siteMain=null;newSiteMain=null;constructor(t,e){super(t,e),this.url=t,this.contentGateway=e,this.loadPage=this.handleLoadPage.bind(this)}fadeIn(){this.newSiteMain.classList.remove("fade-out"),this.siteMain=null,this.newSiteMain=null}async handleLoadPage(){if(!this.siteMain||!this.loadPage)return this.loadFromServer(this.url),!1;this.siteMain.removeEventListener("transitionend",this.loadPage);const{status:t,content:e}=await this.contentGateway.getPageContent(this.url);if(!this.validStatusCodes.includes(t))return this.loadFromServer(this.url),!1;404===t&&console.error("It looks like that page returned a 404.");const n=r.stringToHtmlDocument(e);return this.newSiteMain=n.querySelector(".site-main"),this.newSiteMain?(this.newSiteMain.classList.add("fade-out"),new l({currentPageDocument:document,newPageDocument:n}).swapContent(),m.scroll(this.url),setTimeout((()=>{this.fadeIn();const t=new CustomEvent(g.mediacoAfterPageTransition);document.dispatchEvent(t)}),200),!0):(this.loadFromServer(this.url),!1)}async loadPageFromLink(){this.siteMain=document.querySelector(".site-main"),this.siteMain&&this.loadPage?(this.siteMain.classList.add("fade-out"),this.siteMain.addEventListener("transitionend",this.loadPage,{once:!0})):this.loadFromServer(this.url)}};const y=new class{url="";async loadPageFromLink(t){let e;this.url=t,e=n.PAGE_TRANSITION?new p(t,new i):new h(t,new i),await e.loadPageFromLink()}},S=new class{playerState="STOPPED";constructor(t,e){this.linkTakeover=t,this.pageEvents=e,this.linkTakeover=t,this.pageEvents=e}getPlayerState(){return this.playerState}setPlayerState(t){this.playerState=t}takeOverLinks(){this.linkTakeover.start(),this.pageEvents.start()}resetLinks(){this.linkTakeover.stop(),this.pageEvents.stop()}}(new class{siteRoot=null;constructor(){this.setSiteRoot(),this.attachLinks=this.takeOverTheLinks.bind(this)}setSiteRoot(){const t=document.querySelector(n.SITE_ROOT);t instanceof HTMLElement&&(this.siteRoot=t)}takeOverTheLinks(e){const{target:n=null}=e;if(!(n&&n instanceof HTMLElement&&"true"!==n?.closest("a")?.dataset?.excludelink))return;const a=t.getLinkFromElement(n);if(!a||!t.isInternalLink(a))return;const i=e.metaKey,o=e.ctrlKey,r=e.shiftKey,c=e.altKey;if(i||o||r||c)return;e.preventDefault();const l=new CustomEvent(s.mediacoLinkClick,{detail:{link:a}});document.dispatchEvent(l)}start(){this.siteRoot||this.setSiteRoot(),this.siteRoot&&this.siteRoot.addEventListener("click",this.attachLinks)}stop(){this.siteRoot||this.setSiteRoot(),this.siteRoot&&this.siteRoot.removeEventListener("click",this.attachLinks)}},new class{constructor(t){this.pageCoordinator=t,this.handleOnLinkClick=this.onLinkClick.bind(this),this.handlePopState=this.onPopState.bind(this),this.handleSearchFormSubmit=this.onSearchFormSubmit.bind(this),this.pageCoordinator=t}async onPopState(t){if(!window?.history?.state){const e=t.target,{location:{href:n=""}={}}=e;return void await this.pageCoordinator.loadPageFromLink(n)}const{history:{state:{link:e=""}={}}={}}=window;await this.pageCoordinator.loadPageFromLink(e)}async onLinkClick(t){const{detail:{link:n=""}={}}=t;n&&(await this.pageCoordinator.loadPageFromLink(n),e.update(n,{link:n}))}async onSearchFormSubmit(t){const{detail:{formData:n=null}={}}=t,{location:{origin:a=""}}=window,s=`${a}/?${new URLSearchParams(n).toString()}`;await this.pageCoordinator.loadPageFromLink(s),e.update(s,{link:s})}start(){this.setupPageEvents()}stop(){this.removePageEvents()}setupPageEvents(){document.addEventListener(a.mediacoLinkClick,this.handleOnLinkClick),document.addEventListener(a.mediacoSearchFormSubmit,this.handleSearchFormSubmit),window.addEventListener("popstate",this.handlePopState)}removePageEvents(){document.removeEventListener(a.mediacoLinkClick,this.handleOnLinkClick),document.removeEventListener(a.mediacoSearchFormSubmit,this.handleSearchFormSubmit),window.removeEventListener("popstate",this.handlePopState)}}(y)),{EVENTS:w}=n;window.addEventListener("DOMContentLoaded",(()=>{window.addEventListener(w.mediacoPlayerStart,(function(){S.setPlayerState("PLAYING"),S.takeOverLinks()})),window.addEventListener(w.mediacoPlayerStop,(function(){S.setPlayerState("STOPPED"),S.resetLinks()}))}))}();; !function(){"use strict";document.addEventListener("mediaco:afterPageTransition",(()=>{window.googletag&&window.ioneAdLoader&&(window.googletag.destroySlots(),window.ioneAdLoader.adSlots=[],window.ioneAdLoader.init())}))}();; /*! This file is auto-generated */ (()=>{"use strict";var e={d:(t,d)=>{for(var o in d)e.o(d,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:d[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};function d(e){"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())}e.d(t,{default:()=>d}),(window.wp=window.wp||{}).domReady=t.default})();; !function(){"use strict";var e={n:function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},d:function(t,n){for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t=window.wp.domReady,n=e.n(t);class o{#e=!1;static getTargetElement(e){if(!e.hasAttribute("aria-controls"))throw new Error("Configuration error: The component element is missing the required 'aria-controls' attribute");const t=e.getAttribute("aria-controls");if(!t)throw new Error("Target ID can not be defined");const n=document.getElementById(t);if(null===n)throw new Error(`Configuration error: A target element with ID of '${t}' is not found`);return n}constructor(e){this.controller=e,this.target=o.getTargetElement(e),this.toggleEvent=new Event("popovertoggle"),this.init()}init=()=>{"BUTTON"!==this.controller.nodeName&&(this.controller.setAttribute("role","button"),this.controller.addEventListener("keydown",this.handleControllerKeydown)),this.controller.setAttribute("aria-expanded","false"),this.target.setAttribute("aria-hidden","true"),this.controller.addEventListener("click",this.handleControllerClick),document.body.addEventListener("focusout",this.handleTargetFocusout)};set expanded(e){this.#e=e,this.controller.setAttribute("aria-expanded",String(this.expanded)),this.target.setAttribute("aria-hidden",String(!this.expanded)),this.expanded?document.body.addEventListener("keydown",this.handleBodyKeydown):document.body.removeEventListener("keydown",this.handleBodyKeydown)}get expanded(){return this.#e}handleControllerClick=e=>{e.preventDefault(),this.toggle()};handleControllerKeydown=e=>{const{code:t}=e;["Space","Enter"].includes(t)&&(e.preventDefault(),this.toggle())};handleTargetFocusout=e=>{this.expanded&&e.target!==this.controller&&!this.target.contains(e.target)&&(this.expanded=!1)};handleBodyKeydown=e=>{const{code:t}=e;"Escape"===t&&this.expanded&&(e.preventDefault(),this.hide())};show=()=>{this.expanded=!0};hide=()=>{this.expanded=!1,this.target.contains(document.activeElement)&&this.controller.focus()};toggle=()=>{this.expanded=!this.expanded,this.controller.dispatchEvent(this.toggleEvent)};destroy=()=>{this.target.removeAttribute("aria-hidden"),this.controller.removeAttribute("aria-expanded"),"BUTTON"!==this.controller.nodeName&&(this.controller.removeAttribute("role"),this.controller.removeEventListener("keydown",this.handleControllerKeydown)),this.controller.removeEventListener("click",this.handleControllerClick),document.body.removeEventListener("focusout",this.handleTargetFocusout),document.body.removeEventListener("keydown",this.handleBodyKeydown),this.#e=!1}}var r=function(){const e={xl:"1280",lg:"1024",md:"768",sm:"600",xs:"480","adminbar-sm":"601","adminbar-lg":"783","core-columns":"782"};return Object.keys(e).reduce(((t,n)=>{const o=parseInt(e[n],10),r=o/16+"rem",i=(o-1)/16+"rem";return t[`${n}Min`]=window.matchMedia(`(min-width: ${r})`),t[`${n}Max`]=window.matchMedia(`(max-width: ${i})`),t}),{})}();n()((()=>{(()=>{const e=document.querySelector(".wp-block-mediaco-theme-site-header"),t=document.querySelector(".wp-block-mediaco-theme-site-header__nav"),n=r.mdMax;if(!e||!t)return;let i=null;const d=()=>{const t=document.querySelector("#mobileMenuToggle");t&&(i=new o(t),t.addEventListener("popovertoggle",(()=>{null!==i&&(i.expanded?e.classList.add("wp-block-mediaco-theme-site-header--popover-active"):e.classList.remove("wp-block-mediaco-theme-site-header--popover-active"))})))};n.addEventListener("change",(e=>(e=>{e.matches?d():i&&(i?.destroy(),i=null)})(e))),n.matches&&d()})()}))}();; ; (()=>{var t={79366:(t,r,e)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(e.p=window.Jetpack_Block_Assets_Base_Url)}},r={};function e(o){var n=r[o];if(void 0!==n)return n.exports;var i=r[o]={exports:{}};return t[o](i,i.exports,e),i.exports}e.n=t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},e.d=(t,r)=>{for(var o in r)e.o(r,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),(()=>{var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(t=r.currentScript.src),!t)){var o=r.getElementsByTagName("script");if(o.length)for(var n=o.length-1;n>-1&&(!t||!/^http(s?):/.test(t));)t=o[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"})(),(()=>{"use strict";e(79366)})()})();; (()=>{var t={79366:(t,r,e)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(e.p=window.Jetpack_Block_Assets_Base_Url)}},r={};function e(o){var n=r[o];if(void 0!==n)return n.exports;var i=r[o]={exports:{}};return t[o](i,i.exports,e),i.exports}e.n=t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},e.d=(t,r)=>{for(var o in r)e.o(r,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),(()=>{var t;e.g.importScripts&&(t=e.g.location+"");var r=e.g.document;if(!t&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(t=r.currentScript.src),!t)){var o=r.getElementsByTagName("script");if(o.length)for(var n=o.length-1;n>-1&&(!t||!/^http(s?):/.test(t));)t=o[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../"})(),(()=>{"use strict";e(79366)})()})();; (()=>{var t={79366:(t,e,r)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)},98490:t=>{"use strict";t.exports=window.wp.domReady}},e={};function r(o){var a=e[o];if(void 0!==a)return a.exports;var n=e[o]={exports:{}};return t[o](n,n.exports,r),n.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t;r.g.importScripts&&(t=r.g.location+"");var e=r.g.document;if(!t&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){var o=e.getElementsByTagName("script");if(o.length)for(var a=o.length-1;a>-1&&(!t||!/^http(s?):/.test(t));)t=o[a--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=t+"../"})(),(()=>{"use strict";r(79366)})(),(()=>{"use strict";var t=r(98490);let e;"undefined"!=typeof window&&r.n(t)()((()=>{const t=document.getElementsByClassName("wp-block-jetpack-sharing-buttons");for(const r of t)r.addEventListener("click",(t=>{const r=t.target.closest("a"),o=r?.dataset?.service;var a;if(r&&r.classList.contains(`share-${o}`)&&"mail"!==o)if(t.preventDefault(),t.stopPropagation(),"share"!==o)"print"!==o?(e&&e.close(),e=window.open(r.getAttribute("href"),`wpcom${o}`,"menubar=1,resizable=1,width=600,height=400"),e&&e.focus()):window.print();else if(r?.href&&(a={url:r.href},navigator&&"function"==typeof navigator.share&&"function"==typeof navigator.canShare&&navigator.canShare(a)))navigator.share({url:r.href});else{const[t]=r.getElementsByClassName("tooltiptext");t&&t.style&&(t.style.display="initial",setTimeout((()=>{t.style.display="none"}),2e3)),navigator?.clipboard?.writeText(r.href)}}))}))})()})();; /*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="",le.option=!!xe.lastChild;var ke={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n",""]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="
",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s}); ; !function($){var escape=/["\\\x00-\x1f\x7f-\x9f]/g,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},hasOwn=Object.prototype.hasOwnProperty;$.toJSON="object"==typeof JSON&&JSON.stringify?JSON.stringify:function(t){if(null===t)return"null";var e,r,n,o,i,f,u=$.type(t);if("undefined"!==u){if("number"===u||"boolean"===u)return String(t);if("string"===u)return $.quoteString(t);if("function"==typeof t.toJSON)return $.toJSON(t.toJSON());if("date"===u)return i=t.getUTCMonth()+1,f=t.getUTCDate(),'"'+t.getUTCFullYear()+"-"+(i=i<10?"0"+i:i)+"-"+(f=f<10?"0"+f:f)+"T"+(i=(i=t.getUTCHours())<10?"0"+i:i)+":"+(f=(f=t.getUTCMinutes())<10?"0"+f:f)+":"+(i=(i=t.getUTCSeconds())<10?"0"+i:i)+"."+(f=(f=(f=t.getUTCMilliseconds())<100?"0"+f:f)<10?"0"+f:f)+'Z"';if(e=[],$.isArray(t)){for(r=0;r/i,"").replace(o,""),a=0==gformToNumber(a=gformGetPriceDifference(r,t))?"":" "+a,e=(e.attr("price",a),"option"==e[0].tagName.toLowerCase()?a:""+a+""),a=o+e;return a=window.gform_format_option_label?gform_format_option_label(a,o,e,r,t,i,n):a}function gformGetProductIds(e,t){for(var r=(jQuery(t).hasClass(e)?jQuery(t):jQuery(t).parents("."+e)).attr("class").split(" "),i=0;i{gformRegisterPriceField(gformGetProductIds("gfield_price",e))}),Object.keys(_gformPriceFields).forEach(e=>{gformCalculateTotalPrice(e),gform.state.watch(e,["products","feeds"],gformHandleProductChange)})}function gformHandleProductChange(e,t,r){gformCalculateTotalPrice(e)}function gformShowPasswordStrength(e){var t=gformPasswordStrength(document.getElementById(e).value,document.getElementById(e+"_2")?document.getElementById(e+"_2").value:""),r=window.gf_text["password_"+t],i="unknown"===t?"blank":t;jQuery("#"+e+"_strength").val(t),jQuery("#"+e+"_strength_indicator").removeClass("blank mismatch short good bad strong").addClass(i).html(r)}function gformPasswordStrength(e,t){if(e.length<=0)return"blank";var r=wp.passwordStrength.hasOwnProperty("userInputDisallowedList")?wp.passwordStrength.userInputDisallowedList():wp.passwordStrength.userInputBlacklist();switch(wp.passwordStrength.meter(e,r,t)){case-1:return"unknown";case 2:return"bad";case 3:return"good";case 4:return"strong";case 5:return"mismatch";default:return"short"}}function gformToggleShowPassword(e){var t=jQuery("#"+e),r=t.parent().find("button"),i=r.find("span");switch(t.attr("type")){case"password":t.attr("type","text"),r.attr("aria-label",r.attr("data-label-hide")),i.removeClass("dashicons-hidden").addClass("dashicons-visibility");break;case"text":t.attr("type","password"),r.attr("aria-label",r.attr("data-label-show")),i.removeClass("dashicons-visibility").addClass("dashicons-hidden")}}function gformToggleCheckboxes(e){var t,r=jQuery(e),i=r.is('input[type="checkbox"]'),n=i?r.parent():r.prev(),o=(n.find("label"),n.parent().find(".gchoice:not( .gchoice_select_all )")),n=gf_get_form_id_by_html_id(n.parents(".gfield").attr("id")),a=rgars(window,"gf_global/gfcalc/"+n);t=i?e.checked:"boolean"==typeof(i=r.data("checked"))?!i:!(1===parseInt(i)),o.each(function(){jQuery('input[type="checkbox"]',this).prop("checked",t).trigger("change"),"function"==typeof jQuery('input[type="checkbox"]',this)[0].onclick&&jQuery('input[type="checkbox"]',this)[0].onclick()}),gformToggleSelectAll(e,t?"deselect":"select"),wp.a11y.speak(t?gf_field_checkbox.strings.selected:gf_field_checkbox.strings.deselected),a&&a.runCalcs(n,a.formulaFields)}function gformToggleSelectAll(e,t){var e=jQuery(e),r=e.is('input[type="checkbox"]');(r?e.parent():e.prev()).find("label");r||(e.html("deselect"===t?e.data("label-deselect"):e.data("label-select")),e.data("checked","deselect"===t?1:0))}function gformToggleRadioOther(e){var t=gform.tools.getClosest(e,".ginput_container_radio").querySelector("input.gchoice_other_control");t&&(t.disabled="gf_other_choice"!==e.value)}function gformAddListItem(e,t){var r,i,n,e=jQuery(e);e.hasClass("gfield_icon_disabled")||(r=(e=e.parents(".gfield_list_group")).clone(),i=e.parents(".gfield_list_container"),n=r.find(":input:last").attr("tabindex"),r.find("input, select, textarea").attr("tabindex",n).not(":checkbox, :radio").val("").attr("value",""),r.find(":checkbox, :radio").prop("checked",!1),r=gform.applyFilters("gform_list_item_pre_add",r,e),e.after(r),gformToggleIcons(i,t),gformAdjustClasses(i),gformAdjustRowAttributes(i),gform.doAction("gform_list_post_item_add",r,i),wp.a11y.speak(window.gf_global.strings.newRowAdded))}function gformDeleteListItem(e,t){var e=jQuery(e).parents(".gfield_list_group"),r=e.parents(".gfield_list_container");e.remove(),gformToggleIcons(r,t),gformAdjustClasses(r),gformAdjustRowAttributes(r),gform.doAction("gform_list_post_item_delete",r),wp.a11y.speak(window.gf_global.strings.rowRemoved)}function gformAdjustClasses(e){e.find(".gfield_list_group").each(function(e){e=(e+1)%2==0?"gfield_list_row_even":"gfield_list_row_odd";jQuery(this).removeClass("gfield_list_row_odd gfield_list_row_even").addClass(e)})}function gformAdjustRowAttributes(e){e.parents(".gform_wrapper").hasClass("gform_legacy_markup_wrapper")||e.find(".gfield_list_group").each(function(r){jQuery(this).find("input, select, textarea").each(function(e,t){t=jQuery(t);t.attr("aria-label",t.data("aria-label-template").gformFormat(r+1))});var e=jQuery(this).find(".delete_list_item");e.attr("aria-label",e.data("aria-label-template").gformFormat(r+1))})}function gformToggleIcons(e,t){var r=e.find(".gfield_list_group").length,i=e.find(".add_list_item"),n="undefined"!=typeof gf_legacy&&gf_legacy.is_legacy;e.find(".delete_list_item").css("visibility",1==r?"hidden":"visible"),0t?(r.text(e.name+" - "+gform_gravityforms.strings.file_exceeds_limit),wp.a11y.speak(e.name+" - "+gform_gravityforms.strings.file_exceeds_limit)):r.remove())}gform.recaptcha={renderRecaptcha:function(){jQuery(".ginput_recaptcha:not(.gform-initialized)").each(function(){var e=jQuery(this),t={sitekey:e.data("sitekey"),theme:e.data("theme"),tabindex:e.data("tabindex")},r=(e.data("stoken")&&(t.stoken=e.data("stoken")),gform.applyFilters("gform_recaptcha_callback",!1,e)),r=(r&&(t.callback=r),grecaptcha.render(this.id,t));e[0].setAttribute("data-widget-id",r),t.tabindex&&e.find("iframe").attr("tabindex",t.tabindex),e.addClass("gform-initialized"),gform.doAction("gform_post_recaptcha_render",e)}),gform.recaptcha.bindRecaptchaSubmissionEvents()},isSubmissionEventsInitialized:!1,bindRecaptchaSubmissionEvents:function(){gform.recaptcha.isSubmissionEventsInitialized||(gform.recaptcha.isSubmissionEventsInitialized=!0,window.gform.utils.addAsyncFilter("gform/submission/pre_submission",async e=>((e.submissionType===gform.submission.SUBMISSION_TYPE_SUBMIT||e.submissionType===gform.submission.SUBMISSION_TYPE_NEXT)&&!e.abort&&await gform.recaptcha.maybeExecuteInvisibleRecaptcha(e),e)),window.gform.utils.addAsyncFilter("gform/ajax/pre_ajax_validation",gform.recaptcha.maybeExecuteInvisibleRecaptcha),window.gform.utils.addFilter("gform/ajax/post_ajax_submission",gform.recaptcha.handleAjaxPostSubmission),window.gform.utils.addFilter("gform/ajax/post_ajax_validation",gform.recaptcha.handleAjaxPostValidation))},maybeExecuteInvisibleRecaptcha:async function(e){var t;return gform.recaptcha.gformIsRecaptchaPending(jQuery(e.form))&&(t=gform.utils.getNode(".ginput_recaptcha",e.form,!0),await gform.recaptcha.executeRecaptcha(t.getAttribute("data-widget-id"),e.form)),e},executeRecaptcha:async function(e,i){return window.grecaptcha.execute(e),new Promise((t,e)=>{let r=setInterval(()=>{var e=gform.utils.getNode(".g-recaptcha-response",i,!0);e&&e.value&&(clearInterval(r),t(e.value))},100)})},handleAjaxPostValidation:function(e){return gform.recaptcha.saveRecaptchaResponse(e.validationResult.data.recaptcha_response,e.form),e},handleAjaxPostSubmission:function(e){return gform.recaptcha.saveRecaptchaResponse(e.submissionResult.data.recaptcha_response,e.form),e},saveRecaptchaResponse:function(t,r){if(t){let e=gform.tools.getNodes("input[name=g-recaptcha-response]",!0,r,!0);0===e.length?((e=document.createElement("input")).type="hidden",e.name="g-recaptcha-response",r.appendChild(e)):e=e[0],e.value=t}},gformIsRecaptchaPending:function(e){var e=e.find(".ginput_recaptcha");return!(!e.length||"invisible"!==e.data("size")||(e=e.find(".g-recaptcha-response")).length&&e.val())},needsRender:function(){return document.querySelectorAll(".ginput_recaptcha:not(.gform-initialized)")[0]},renderOnRecaptchaLoaded:function(){var e;gform.recaptcha.needsRender()&&(e=setInterval(function(){window.grecaptcha&&window.grecaptcha.render&&(this.renderRecaptcha(),clearInterval(e))},100))}},jQuery(document).on("gform_post_render",gform.recaptcha.renderOnRecaptchaLoaded),window.renderRecaptcha=gform.recaptcha.renderRecaptcha,window.gformIsRecaptchaPending=gform.recaptcha.gformIsRecaptchaPending,((g,m)=>{g.uploaders={};var _="undefined"!=typeof gform_gravityforms?gform_gravityforms.strings:{},p="undefined"!=typeof gform_gravityforms?gform_gravityforms.vars.images_url:"";m(document).on("gform_post_render",function(e,t){m("form#gform_"+t+" .gform_fileupload_multifile").each(function(){i(this)}),r||(r=!0,window.gform.utils.addFilter("gform/submission/pre_submission",e=>((()=>{let r=!1;return m.each(g.uploaders,function(e,t){if(0"+h(t)+""),setTimeout(function(){wp.a11y.speak(m("#"+e).text())},1e3)}function l(e){var t=parseInt(e.gf_vars.max_files,10);0{1}{2}{5}',t,r,_,i,o).gformFormat(t.id,h(t.name),r,_.cancel_upload,i,_.cancel),m("#"+o.settings.filelist).prepend(n),s++)}),o.refresh(),0==(t=m("form#gform_"+d+" "+(e="input:hidden[name='gform_unique_id']"))).length&&(t=m(e)),""===(r=t.val())&&(r="xxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}),t.val(r)),0'+plupload.formatSize(t.size)+"",a+=''+t.percent+"%",n=e.settings.multipart_params.form_id,i=e.settings.multipart_params.field_id,a="undefined"!=typeof gf_legacy&&gf_legacy.is_legacy?""+_.delete_file+" "+a:a+"",a=gform.applyFilters("gform_file_upload_markup",a,t,e,_,p,r),m("#"+t.id).html(a),m("#"+t.id+" span.gfield_fileupload_progressbar_progress").css("width",t.percent+"%"),100==t.percent&&(r.status&&"ok"==r.status?(n=i,o=r.data,(a=c(n)).unshift(o),i=n,r=a,o=s(),n=m("#gform_uploaded_files_"+d),o[i=u(i)]=r,n.val(m.toJSON(o))):f(e.settings.gf_vars.message_id,_.unknown_error+": "+t.name))))}),t.bind("FilesRemoved",function(e,t){l(e.settings)}),m("#"+e.drop_element).on({dragenter:n,dragover:n})}function h(e){return m("
").text(e).html()}})(window.gfMultiFileUploader=window.gfMultiFileUploader||{},jQuery);let gformIsSpinnerInitialized=!1;function gformInitSpinner(e,t,r=0){gformIsSpinnerInitialized||(gformIsSpinnerInitialized=!0,window.gform.utils.addFilter("gform/submission/pre_submission",e=>(gformShowSpinner(e.form.dataset.formid,t),e),3),document.addEventListener("gform/submission/submission_aborted",function(e){gformRemoveSpinner(),jQuery("#gform_ajax_spinner_"+e.detail.form.dataset.formid).remove()}))}function gformShowSpinner(e,t){gform.applyFilters("gform_spinner_url",t,e)!==t?gformAddSpinner(e,t):gformInitializeSpinner(e,gform.applyFilters("gform_spinner_target_elem",jQuery("#gform_submit_button_"+e+", #gform_wrapper_"+e+" .gform_next_button, #gform_send_resume_link_button_"+e),e))}function gformInitializeSpinner(e,t,r="gform-ajax-spinner"){0==jQuery("#gform_ajax_spinner_"+e).length&&(r='',(t instanceof jQuery?t:jQuery(t)).after(r))}function gformRemoveSpinner(e="gform-ajax-spinner"){e=document.querySelectorAll('[data-js-spinner-id="'+e+'"]');e&&e.forEach(function(e){e.remove()})}function gformAddSpinner(e,t){void 0!==t&&t||(t=gform.applyFilters("gform_spinner_url",gf_global.spinnerUrl,e)),0==jQuery("#gform_ajax_spinner_"+e).length&&gform.applyFilters("gform_spinner_target_elem",jQuery("#gform_submit_button_"+e+", #gform_wrapper_"+e+" .gform_next_button, #gform_send_resume_link_button_"+e),e).after('')}function gformReInitTinymceInstance(e,t){var r,i,n;e&&t?(r=window.tinymce)?(i=r.get("input_"+e+"_"+t))?(n=jQuery.extend({},i.settings),i.remove(),r.init(n),gform.console.log("gformReInitTinymceInstance reinitialized TinyMCE on input_"+e+"_"+t+".")):gform.console.error("gformReInitTinymceInstance did not find an instance for input_"+e+"_"+t+"."):gform.console.error("gformReInitTinymceInstance requires tinymce to be available."):gform.console.error("gformReInitTinymceInstance requires a form and field id.")}function gf_raw_input_change(e,t){clearTimeout(__gf_keyup_timeout);var r=jQuery(t),i=r.attr("id"),n=gf_get_input_id_by_html_id(i),o=gf_get_form_id_by_html_id(i),i=gform.applyFilters("gform_field_meta_raw_input_change",{fieldId:n,formId:o},r,e),n=i.fieldId,o=i.formId;n&&(r=!(i=r.is(":checkbox")||r.is(":radio")||r.is("select"))||r.is("textarea"),"keyup"==e.type&&!r||"change"==e.type&&!i&&!r||("keyup"==e.type?__gf_keyup_timeout=setTimeout(function(){gf_input_change(t,o,n)},300):gf_input_change(t,o,n)))}function gf_get_input_id_by_html_id(e){var e=gf_get_ids_by_html_id(e),t=e[e.length-1];return 3==e.length&&(e.shift(),t=e.join(".")),t}function gf_get_form_id_by_html_id(e){return gf_get_ids_by_html_id(e)[0]}function gf_get_ids_by_html_id(e){for(var t=e?e.split("_"):[],r=t.length-1;0<=r;r--)gform.utils.isNumber(t[r])||t.splice(r,1);return t}function gf_input_change(e,t,r){gform.doAction("gform_input_change",e,t,r)}function gformExtractFieldId(e){var t=parseInt(e.toString().split(".")[0],10);return t||e}function gformExtractInputIndex(e){e=parseInt(e.toString().split(".")[1],10);return e||!1}jQuery(document).on("change keyup",".gfield input, .gfield select, .gfield textarea",function(e){gf_raw_input_change(e,this)});{function rgars(e,t){for(var r=t.split("/"),i=e,n=0;n li",function(){jQuery(this).find(".gform-form-toolbar__submenu").toggleClass("open"),jQuery(this).find(".has_submenu").toggleClass("submenu-open")}),jQuery("#gform-form-toolbar__menu").on("mouseleave blur","> li",function(){jQuery(".gform-form-toolbar__submenu.open").removeClass("open"),jQuery(".has_submenu.submenu-open").removeClass("submenu-open")}),jQuery("#gform-form-toolbar__menu .has_submenu").on("click",function(e){e.preventDefault()})}),jQuery(document).ready(function(){jQuery(".gform-settings-field").each(function(){1 .gform-settings-input__container").length&&jQuery(this).addClass("gform-settings-field--multiple-inputs")})}),jQuery(function(){gform.tools.trigger("gform_main_scripts_loaded")});; !function(){var t={541:function(t,e,n){var r=n(998).default;function o(){"use strict";t.exports=o=function(){return n},t.exports.__esModule=!0,t.exports.default=t.exports;var e,n={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(t,e,n){t[e]=n.value},u="function"==typeof Symbol?Symbol:{},l=u.iterator||"@@iterator",f=u.asyncIterator||"@@asyncIterator",s=u.toStringTag||"@@toStringTag";function d(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(e){d=function(t,e,n){return t[e]=n}}function p(t,e,n,r){var o=e&&e.prototype instanceof w?e:w,i=Object.create(o.prototype),a=new I(r||[]);return c(i,"_invoke",{value:_(t,n,a)}),i}function v(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}n.wrap=p;var h="suspendedStart",g="suspendedYield",y="executing",m="completed",b={};function w(){}function O(){}function x(){}var j={};d(j,l,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(M([])));E&&E!==i&&a.call(E,l)&&(j=E);var A=x.prototype=w.prototype=Object.create(j);function T(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function n(o,i,c,u){var l=v(t[o],t,i);if("throw"!==l.type){var f=l.arg,s=f.value;return s&&"object"==r(s)&&a.call(s,"__await")?e.resolve(s.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):e.resolve(s).then((function(t){f.value=t,c(f)}),(function(t){return n("throw",t,c,u)}))}u(l.arg)}var o;c(this,"_invoke",{value: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 _(t,n,r){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var u=k(c,r);if(u){if(u===b)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=y;var l=v(t,n,r);if("normal"===l.type){if(o=r.done?m:g,l.arg===b)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=m,r.method="throw",r.arg=l.arg)}}}function k(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var i=v(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,b;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,b):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}function P(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 C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function M(t){if(t||""===t){var n=t[l];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=a.call(i,"catchLoc"),l=a.call(i,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),b}},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;C(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:M(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},n}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},998:function(t){function e(n){return t.exports=e="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.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},192:function(t,e,n){var r=n(541)();t.exports=r;try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}}},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"}),Object.defineProperty(t,"__esModule",{value:!0})},function(){"use strict";var t={};n.r(t),n.d(t,{run:function(){return Mt},runGroup:function(){return Nt}});var e={};n.r(e),n.d(e,{getScroller:function(){return Xt},lock:function(){return Kt},unlock:function(){return Vt}});var r={};n.r(r),n.d(r,{reInitChildren:function(){return Oe}});var o={};n.r(o),n.d(o,{down:function(){return Te},up:function(){return Le}});var i={};n.r(i),n.d(i,{elVisibleHeight:function(){return Fe},elements:function(){return Ie},height:function(){return Ne},width:function(){return Me}});var a={};n.r(a),n.d(a,{clear:function(){return an},get:function(){return rn},put:function(){return nn},remove:function(){return on}});var c={};n.r(c),n.d(c,{clear:function(){return fn},get:function(){return un},put:function(){return cn},remove:function(){return ln}});var u={};n.r(u),n.d(u,{get:function(){return sn},remove:function(){return pn},set:function(){return dn}});var l={};function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n0&&void 0!==arguments[0]?arguments[0]:[],e=[],n=t.length;n--;e.unshift(t[n]));return e}function p(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}function v(){return d((arguments.length>0&&void 0!==arguments[0]?arguments[0]:document).querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter((function(t){return p(t)}))}function h(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){};if(n&&e){if(27===t.keyCode)return e.focus(),void r();if(9===t.keyCode){var o=v(n),i=o[0],a=o[o.length-1];t.shiftKey?document.activeElement===i&&(a.focus(),t.preventDefault()):document.activeElement===a&&(i.focus(),t.preventDefault())}}}function g(t,e){Object.keys(e).forEach((function(n){return t.setAttribute(n,e[n])}))}n.r(l),n.d(l,{addAsyncFilter:function(){return Ye},addFilter:function(){return $e},animate:function(){return t},applyBrowserClasses:function(){return Yt},arrayEquals:function(){return _},arrayToInt:function(){return k},aspectRatioToPadding:function(){return P},bodyLock:function(){return e},browsers:function(){return Bt},checkNotificationPromise:function(){return en},clipboard:function(){return Qt},cloneDeep:function(){return F},consoleError:function(){return E},consoleInfo:function(){return A},consoleLog:function(){return T},consoleWarn:function(){return L},convertElements:function(){return d},cookieStorage:function(){return u},debounce:function(){return De},deepMerge:function(){return $},delay:function(){return V},delegate:function(){return ze},dragHorizontal:function(){return te},escapeHtml:function(){return Q},escapeScripts:function(){return Z},filter:function(){return Be},filterObject:function(){return X},findNestedObject:function(){return K},focusLoop:function(){return h},getChildren:function(){return ee},getClosest:function(){return ne},getConfig:function(){return tt},getCoords:function(){return re},getFocusable:function(){return v},getHiddenHeight:function(){return oe},getNode:function(){return ae},getNodes:function(){return ie},hasClassFromArray:function(){return ce},hasScrollbar:function(){return ue},insertAfter:function(){return le},insertBefore:function(){return fe},isEmptyObject:function(){return et},isEqual:function(){return rt},isExternalLink:function(){return se},isFileLink:function(){return de},isFormDirty:function(){return pe},isFunction:function(){return R},isImageLink:function(){return ve},isJestTest:function(){return S},isJson:function(){return ot},isNumber:function(){return it},isObject:function(){return at},isRtl:function(){return he},localStorage:function(){return a},matchesOrContainedInSelectors:function(){return ge},mimicFn:function(){return wt},objectAssign:function(){return Ot},objectToAttributes:function(){return At},objectToFormData:function(){return xt},openNewTab:function(){return ye},parseUrl:function(){return jt},popup:function(){return me},queryToJson:function(){return Pt},ready:function(){return Ke},removeClassThatContains:function(){return be},removeFilter:function(){return Xe},resize:function(){return Ve},runOnce:function(){return tn},saferHtml:function(){return St},sessionStorage:function(){return c},setAttributes:function(){return g},shouldLoadChunk:function(){return we},simpleBar:function(){return r},slide:function(){return o},slugify:function(){return Et},spacerClasses:function(){return Ce},speak:function(){return j},sprintf:function(){return Lt},trigger:function(){return Zt},uniqueId:function(){return Ct},updateQueryVar:function(){return It},viewport:function(){return i},visible:function(){return p},vsprintf:function(){return _t}});var y={containers:[]},m={previousMessage:""},b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"polite",e=document.createElement("div");g(e,{"aria-live":t,"aria-relevant":"additions text","aria-atomic":"true",style:"position: absolute; margin: -1px; padding: 0; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); -webkit-clip-path: inset(50%); clip-path: inset(50%); border: 0; word-wrap: normal !important;"}),document.body.appendChild(e),y.containers.push(e)},w=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/<[^<>]+>/g," ");return m.previousMessage===t&&(t+=" "),m.previousMessage=t,t},O=function(){return y.containers.forEach((function(t){return t.textContent=""}))},x=function(){y.containers.length||(b("assertive"),b("polite"))};function j(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"polite";x(),O();var n=y.containers.filter((function(t){return t.getAttribute("aria-live")===e}))[0];n&&(n.textContent=w(t))}function S(){return!!window.__TEST__}function E(){window.console&&S()}function A(){}function T(){}function L(){window.console&&S()}function _(t,e){return Array.isArray(t)&&Array.isArray(e)&&t.length===e.length&&t.every((function(t,n){return t===e[n]}))}var k=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(t){return parseInt(t,10)}))};function P(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(":");return parseFloat((t[1]/t[0]*100).toFixed(5))}function C(t){return C="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},C(t)}function I(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return M(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?M(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function M(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n1&&void 0!==arguments[1]?arguments[1]:new WeakMap;if(null===t||"object"!==C(t))return t;if(e.has(t))return e.get(t);if(t instanceof Date)return new Date(t);if(Array.isArray(t)){var n=[];e.set(t,n);for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:{};n.arrayMerge=function(t){var e=J;return"combine"===t.arrayMerge?e=U:R(t.arrayMerge)&&(e=t.arrayMerge),e}(n),n.isMergeableObject=n.isMergeableObject||q,n.cloneUnlessOtherwiseSpecified=z;var r=Array.isArray(e);return r===Array.isArray(t)?r?n.arrayMerge(t,e,n):B(t,e,n):z(e,n)}Y.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,n){return Y(t,n,e)}),{})};var $=Y,X=function(t,e){var n=Object.entries(t).filter(e);return Object.fromEntries(n)};function K(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=function(t){if("object"===C(t))for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){if(o===e&&t[o]===n)return t;var i=r(t[o]);if(i)return i}return null};return r(t)}function V(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,o=[];function i(t,n){e=window.setTimeout((function(){if(e=null,t(),o.length){var n=o.shift();i(n.fn,n.t)}}),n)}return t={delay:function(n,r){return o.length||e?o.push({fn:n,t:r}):i(n,r),t},cancel:function(){return window.clearTimeout(e),o=[],t}},t.delay(n,r)}function Q(){return String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function Z(){return String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/)<[^<]*)*<\/script>/gi,"")}function tt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e&&t[e]?t[e]:t}function et(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return JSON.stringify(t)===JSON.stringify({})}var nt=function(t,e){if(t===e)return!0;if(null==t||"object"!==C(t)||null==e||"object"!==C(e))return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(var o=0,i=n;o=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function ft(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n2&&void 0!==arguments[2]?arguments[2]:{}).ignoreNonConfigurable,o=void 0!==r&&r,i=t.name,a=lt(Reflect.ownKeys(e));try{for(a.s();!(n=a.n()).done;){var c=n.value;pt(t,e,c,o)}}catch(t){a.e(t)}finally{a.f()}return ht(t,e),bt(t,e,i),t}function Ot(){for(var t={},e=0;e/g,">"),e+=t[n]}return e}function Et(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString().normalize("NFKD").toLowerCase().trim().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/-$/g,"")}function At(t){var e=[];return Object.entries(t).forEach((function(t){var n=s(t,2),r=n[0],o=n[1];if(o.length||"alt"===r)if(Array.isArray(o)){var i=o.filter((function(t){return t}));e.push("".concat(r,'="').concat(i.join(" "),'"'))}else e.push("".concat(r,'="').concat(o,'"'))})),e.join(" ")}var Tt={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function Lt(t){return function(t,e){var n,r,o,i,a,c,u,l,f,s=1,d=t.length,p="";for(r=0;r=0),i.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,i.width?parseInt(i.width):0);break;case"e":n=i.precision?parseFloat(n).toExponential(i.precision):parseFloat(n).toExponential();break;case"f":n=i.precision?parseFloat(n).toFixed(i.precision):parseFloat(n);break;case"g":n=i.precision?String(Number(n.toPrecision(i.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=i.precision?n.substring(0,i.precision):n;break;case"t":n=String(!!n),n=i.precision?n.substring(0,i.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=i.precision?n.substring(0,i.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=i.precision?n.substring(0,i.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}Tt.json.test(i.type)?p+=n:(!Tt.number.test(i.type)||l&&!i.sign?f="":(f=l?"+":"-",n=n.toString().replace(Tt.sign,"")),c=i.pad_char?"0"===i.pad_char?"0":i.pad_char.charAt(1):" ",u=i.width-(f+n).length,a=i.width&&u>0?c.repeat(u):"",p+=i.align?f+n+a:"0"===c?f+a+n:a+f+n)}return p}(function(t){if(kt[t])return kt[t];var e,n=t,r=[],o=0;for(;n;){if(null!==(e=Tt.text.exec(n)))r.push(e[0]);else if(null!==(e=Tt.modulo.exec(n)))r.push("%");else{if(null===(e=Tt.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(e[2]){o|=1;var i=[],a=e[2],c=[];if(null===(c=Tt.key.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(i.push(c[1]);""!==(a=a.substring(c[0].length));)if(null!==(c=Tt.key_access.exec(a)))i.push(c[1]);else{if(null===(c=Tt.index_access.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");i.push(c[1])}e[2]=i}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:e[0],param_no:e[1],keys:e[2],sign:e[3],pad_char:e[4],align:e[5],width:e[6],precision:e[7],type:e[8]})}n=n.substring(e[0].length)}return kt[t]=r}(t),arguments)}function _t(t,e){return Lt.apply(null,[t].concat(e||[]))}var kt=Object.create(null);var Pt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.length?t:window.location.search.slice(1),n=e.length?e.split("&"):[],r={},o=[];return n.forEach((function(t){o=t.split("="),r[o[0]]=decodeURIComponent(o[1]||"")})),JSON.parse(JSON.stringify(r))};function Ct(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id";return"".concat(t.length?"".concat(t,"-"):"").concat(Math.random().toString(36).substr(2,9))}function It(t,e){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:window.location.href).split("#"),r=n[1]?"#".concat(n[1]):"",o=n[0].split("?"),i=o[0],a=o[1],c=void 0!==a?a.split("&"):[],u=!1;return c.forEach((function(n,r){n.startsWith("".concat(t,"="))&&(u=!0,e?c[r]="".concat(t,"=").concat(e):c.splice(r,1))})),!u&&e&&(c[c.length]="".concat(t,"=").concat(e)),"".concat(i).concat("?").concat(c.join("&")).concat(r)}var Mt=function(){var t,e,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(r){var i=o.onAnimateInit,a=void 0===i?function(){}:i,c=o.onAnimateStart,u=void 0===c?function(){}:c,l=o.onAnimateEnd,f=void 0===l?function(){}:l,s=o.delay,d=void 0===s?(null===(t=r.dataset)||void 0===t?void 0:t.animationDelay)||0:s,p=o.duration,v=void 0===p?(null===(e=r.dataset)||void 0===e?void 0:e.animationDuration)||400:p,h=o.easing,g=void 0===h?(null===(n=r.dataset)||void 0===n?void 0:n.animationEasing)||"linear":h,y=function(t,e){var n,r,o,i,a,c={},u={},l=e.distanceFrom,f=void 0===l?(null===(n=t.dataset)||void 0===n?void 0:n.translateDistanceFrom)||"20px":l,s=e.distanceTo,d=void 0===s?(null===(r=t.dataset)||void 0===r?void 0:r.translateDistanceTo)||"0px":s,p=e.opacityFrom,v=void 0===p?null===(o=t.dataset)||void 0===o?void 0:o.translateOpacityFrom:p,h=e.opacityTo,g=void 0===h?null===(i=t.dataset)||void 0===i?void 0:i.translateOpacityTo:h,y=e.types;return(void 0===y?(null===(a=t.dataset)||void 0===a?void 0:a.animationTypes)||"":y).split(" ").forEach((function(t){"fadeIn"===t&&(c.opacity=v||0,u.opacity=g||1),"fadeOut"===t&&(c.opacity=v||1,u.opacity=g||0),"translateY"===t&&(c.transform="translateY(".concat(f,")"),u.transform="translateY(".concat(d,")"))})),[c,u]}(r,o);a(),setTimeout((function(){u(),requestAnimationFrame((function(){r.animate(y,{duration:Number(v),easing:g}).onfinish=function(){!function(t,e){var n,r,o,i=e.distanceTo,a=void 0===i?(null===(n=t.dataset)||void 0===n?void 0:n.translateDistanceTo)||"0px":i,c=e.opacityTo,u=void 0===c?null===(r=t.dataset)||void 0===r?void 0:r.translateOpacityTo:c,l=e.types;(void 0===l?(null===(o=t.dataset)||void 0===o?void 0:o.animationTypes)||"":l).split(" ").forEach((function(e){"fadeIn"===e&&(t.style.opacity=u||"1",t.setAttribute("aria-hidden","false")),"fadeOut"===e&&(t.style.opacity=u||"0",t.setAttribute("aria-hidden","true")),"translateY"===e&&(t.style.transform="translateY(".concat(a,")"))}))}(r,o),f()}}))}),d)}},Nt=function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(t){var e=t.target,n=t.options;Mt(e,n)}))},Ft=/(android)/i.test(window.navigator.userAgent),Dt=!!window.chrome,Ht="undefined"!=typeof InstallTrigger,qt=document.documentMode||!1,Rt=!qt&&!!window.StyleMedia,zt=!!window.navigator.userAgent.match(/(iPod|iPhone|iPad)/i),Jt=!!window.navigator.userAgent.match(/(iPod|iPhone)/i),Ut=!!window.opera||window.navigator.userAgent.indexOf(" OPR/")>=0,Gt=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0||!Dt&&!Ut&&"undefined"!==window.webkitAudioContext,Wt=window.navigator.platform;function Bt(){return{android:Ft,chrome:Dt,edge:Rt,firefox:Ht,ie:qt,ios:zt,iosMobile:Jt,opera:Ut,safari:Gt,os:Wt}}function Yt(){var t=Bt(),e=document.body.classList;t.android?e.add("device-android"):t.ios&&e.add("device-ios"),t.edge?e.add("browser-edge"):t.chrome?e.add("browser-chrome"):t.firefox?e.add("browser-firefox"):t.ie?e.add("browser-ie"):t.opera?e.add("browser-opera"):t.safari&&e.add("browser-safari")}var $t=0,Xt=function(){var t=Bt();return t.ie||t.firefox||t.chrome&&!t.edge?document.documentElement:document.body},Kt=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=Xt(),n=document.body.style;$t=e.scrollTop,n.overflowY="scroll",n.position="fixed",n.width="100%",t&&(n.marginTop="-".concat($t,"px"))},Vt=function(){var t=Xt(),e=document.body.style;e.overflowY="",e.position="static",e.marginTop="0px",e.width="",t.scrollTop=$t};function Qt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(window.clipboardData&&window.clipboardData.setData)return window.clipboardData.setData("Text",t);if(document.queryCommandSupported&&document.queryCommandSupported("copy")){var e=document.createElement("textarea");e.textContent=t,e.style.position="fixed",document.body.appendChild(e),e.select();try{return document.execCommand("copy")}catch(t){return L("Copy to clipboard failed.",t),!1}finally{document.body.removeChild(e)}}}function Zt(){var t,e=Ot({data:{},el:document,event:"",native:!0},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});if(e.native)(t=document.createEvent("HTMLEvents")).initEvent(e.event,!0,!1);else try{t=new window.CustomEvent(e.event,{detail:e.data})}catch(n){(t=document.createEvent("CustomEvent")).initCustomEvent(e.event,!0,!0,e.data)}e.el.dispatchEvent(t)}function te(t){var e={isDown:!1,moveEventTriggered:!1,startX:0,scrollLeft:0};t.addEventListener("mousedown",(function(n){e.isDown=!0,t.classList.add("drag-horizontal--active"),e.startX=n.pageX-t.offsetLeft,e.scrollLeft=t.scrollLeft})),t.addEventListener("mouseleave",(function(){e.isDown=!1,t.classList.remove("drag-horizontal--active")})),t.addEventListener("mouseup",(function(){e.isDown=!1,t.classList.remove("drag-horizontal--active"),Zt({event:"gform-utils/horizontal-drag-ended",native:!1}),e.moveEventTriggered=!1})),t.addEventListener("mousemove",(function(n){if(e.isDown){n.preventDefault();var r=3*(n.pageX-t.offsetLeft-e.startX);t.scrollLeft=e.scrollLeft-r,e.moveEventTriggered||(Zt({event:"gform-utils/horizontal-drag-started",native:!1}),e.moveEventTriggered=!0)}}))}function ee(t){for(var e=[],n=t.children.length;n--;)8!==t.children[n].nodeType&&e.unshift(t.children[n]);return e}function ne(t,e){var n,r;for(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"].some((function(t){return"function"==typeof document.body[t]&&(n=t,!0)}));t;){if((r=t.parentElement)&&r[n](e))return r;t=r}return null}function re(t){var e=t.getBoundingClientRect(),n=document.body,r=document.documentElement,o=window.pageYOffset||r.scrollTop||n.scrollTop,i=window.pageXOffset||r.scrollLeft||n.scrollLeft,a=r.clientTop||n.clientTop||0,c=r.clientLeft||n.clientLeft||0,u=e.top+o-a,l=e.left+i-c;return{top:Math.round(u),left:Math.round(l),bottom:Math.round(e.bottom)}}function oe(t){var e=t.clientWidth,n=t;n.style.visibility="hidden",n.style.height="auto",n.style.maxHeight="none",n.style.position="fixed",n.style.width="".concat(e,"px");var r=n.offsetHeight;return n.style.visibility="",n.style.height="",n.style.maxHeight="",n.style.width="",n.style.position="",n.style.zIndex="",r}function ie(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3]?t:'[data-js="'.concat(t,'"]'),o=n.querySelectorAll(r);return e&&(o=d(o)),o}function ae(){var t=ie(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",!1,arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,arguments.length>2&&void 0!==arguments[2]&&arguments[2]);return t.length>0?t[0]:null}function ce(t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).some((function(r){return t.classList.contains("".concat(e).concat(r).concat(n))}))}function ue(t){return{vertical:t.scrollHeight>t.clientHeight,horizontal:t.scrollWidth>t.clientWidth}}function le(t,e){e.parentNode.insertBefore(t,e.nextElementSibling)}function fe(t,e){e.parentNode.insertBefore(t,e)}function se(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").match(/^([^:/?#]+:)?(?:\/\/([^/?#]*))?([^?#]+)?(\?[^#]*)?(#.*)?/);return"string"==typeof t[1]&&t[1].length>0&&t[1].toLowerCase()!==window.location.protocol||"string"==typeof t[2]&&t[2].length>0&&t[2].replace(new RegExp(":(".concat({"http:":80,"https:":443}[window.location.protocol],")?$")),"")!==window.location.host}function de(){return-1!==(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split("/").pop().indexOf(".")}function pe(){var t;if(!window.gforms_original_json||!window.UpdateFormObject)return!1;window.UpdateFormObject();var e="1"===(null===(t=window)||void 0===t||null===(t=t.gf_legacy)||void 0===t?void 0:t.is_legacy),n=JSON.parse(JSON.stringify(JSON.parse(window.gforms_original_json))),r=JSON.parse(JSON.stringify(window.form));return e&&(n.fields.forEach((function(t,e){delete n.fields[e].layoutGroupId})),r.fields.forEach((function(t,e){delete r.fields[e].layoutGroupId}))),JSON.stringify(n)!==JSON.stringify(r)}function ve(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(".").pop().toLowerCase().match(/(jpg|jpeg|png|gif|svg)/g);return t&&t.length>0||!1}function he(){var t=document.createElement("div");document.body.appendChild(t);var e="rtl"===window.getComputedStyle(t,null).getPropertyValue("direction");return document.body.removeChild(t),e}function ge(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"",e=document.createElement("a");e.href=t,e.target="_blank",document.body.appendChild(e),e.click(),e.remove()}function me(){var t=Ot({event:null,url:"",center:!0,name:"_blank",specs:{menubar:0,scrollbars:0,status:1,titlebar:1,toolbar:0,top:100,left:100,width:500,height:300}},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});if(t.event&&(t.event.preventDefault(),t.url.length||(t.url=t.event.currentTarget.href)),t.url.length){t.center&&(t.specs.top=window.screen.height/2-t.specs.height/2,t.specs.left=window.screen.width/2-t.specs.width/2);var e=[];Object.entries(t.specs).forEach((function(t){var n=s(t,2),r=n[0],o=n[1],i="".concat(r,"=").concat(o);e.push(i)})),window.open(t.url,t.name,e.join())}}function be(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=0;n0&&void 0!==arguments[0]?arguments[0]:"";return document.querySelectorAll("[data-load-chunk-".concat(t,"]")).length>0}var Oe=function(t){var e,n=(null===(e=window)||void 0===e?void 0:e.SimpleBar)||{};n.instances&&t&&ie("[data-simplebar]",!0,t,!0).forEach((function(t){var e;return null!==(e=n.instances.get(t))&&void 0!==e?e:new n(t)}))},xe=25,je=[],Se=function(t){return t<.2074?-3.8716*t*t*t+6.137*t*t+.4*t:1.1317*(t-1)*(t-1)*(t-1)-.1975*(t-1)*(t-1)+1},Ee=function(t){je[t]||(je[t]={up:null,down:null})},Ae=function(t){je[t].up&&(window.cancelAnimationFrame(je[t].up),je[t].up=null),je[t].down&&(window.cancelAnimationFrame(je[t].down),je[t].down=null)},Te=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:400,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=t.offsetHeight,i=oe(t),a=null;t.style.maxHeight="0",Ee(e),Ae(e);var c=function(u){a||(a=u);var l=u-a,f=Se(l/n)*(i-o)+o;t.style.maxHeight="".concat(f,"px"),l2&&void 0!==arguments[2]?arguments[2]:400,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=t.offsetHeight,i=null;t.style.maxHeight="".concat(o,"px"),Ee(e),Ae(e);var a=function(c){i||(i=c);var u=c-i,l=Se(u/n)*(0-o)+o;t.style.maxHeight="".concat(l,"px"),u1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"gform-spacing",r={};return!t||"string"!=typeof t&&"number"!=typeof t&&!Array.isArray(t)||Array.isArray(t)&&!t.length?r:"string"==typeof t||"number"==typeof t?(r["".concat(n,"--").concat(e,"bottom-").concat(t)]=!0,r):1===t.length?(["top","right","bottom","left"].forEach((function(o){r["".concat(n,"--").concat(e).concat(o,"-").concat(t[0])]=!0})),r):2===t.length?(["top","bottom"].forEach((function(o){r["".concat(n,"--").concat(e).concat(o,"-").concat(t[0])]=!0})),["right","left"].forEach((function(o){r["".concat(n,"--").concat(e).concat(o,"-").concat(t[1])]=!0})),r):3===t.length?(r["".concat(n,"--").concat(e,"top-").concat(t[0])]=!0,["right","left"].forEach((function(o){r["".concat(n,"--").concat(e).concat(o,"-").concat(t[1])]=!0})),r["gform-spacing--".concat(e,"bottom-").concat(t[2])]=!0,r):4===t.length?(r["".concat(n,"--").concat(e,"top-").concat(t[0])]=!0,r["".concat(n,"--").concat(e,"right-").concat(t[1])]=!0,r["".concat(n,"--").concat(e,"bottom-").concat(t[2])]=!0,r["".concat(n,"--").concat(e,"left-").concat(t[3])]=!0,r):r};function Ce(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"gform-spacing",n={};return!t||"string"!=typeof t&&"number"!=typeof t&&!Array.isArray(t)&&("object"!==C(t)||Array.isArray(t))||Array.isArray(t)&&!t.length?n:(n[e]=!0,"string"==typeof t||"number"==typeof t||Array.isArray(t)?ke(ke({},n),Pe(t,"",e)):["","md","lg"].reduce((function(n,r){return Object.prototype.hasOwnProperty.call(t,r)?ke(ke({},n),Pe(t[r],r?"".concat(r,"-"):"",e)):n}),n))}var Ie=function(){var t="undefined"!=typeof window&&window,e="undefined"!=typeof document&&document;return{docElem:e&&e.documentElement,win:t}},Me=function(){var t=Ie(),e=t.docElem,n=t.win,r=e.clientWidth,o=n.innerWidth;return r0?Math.min(e,n-i):Math.min(o,n))};function De(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("function"!=typeof t)throw new TypeError("Expected the first argument to be a function, got `".concat(C(t),"`"));var n,r,o,i=e.wait,a=void 0===i?0:i,c=e.maxWait,u=void 0===c?Number.Infinity:c,l=e.before,f=void 0!==l&&l,s=e.after,d=void 0===s||s;if(!f&&!d)throw new Error("Both `before` and `after` are false, function wouldn't be called.");var p=function(){for(var e=arguments.length,i=new Array(e),c=0;c0&&u!==Number.Infinity&&!r&&(r=setTimeout((function(){r=void 0,n&&(clearTimeout(n),n=void 0),d&&(o=t.apply(l,i))}),u)),s&&(o=t.apply(l,i)),o};return wt(p,t),p.cancel=function(){n&&(clearTimeout(n),n=void 0),r&&(clearTimeout(r),r=void 0)},p}if("undefined"!=typeof Element&&!Element.prototype.matches){var He=Element.prototype;He.matches=He.matchesSelector||He.mozMatchesSelector||He.msMatchesSelector||He.oMatchesSelector||He.webkitMatchesSelector}function qe(t,e,n,r,o){var i=Re.apply(this,arguments);return t.addEventListener(n,i,o),{destroy:function(){t.removeEventListener(n,i,o)}}}function Re(t,e,n,r){return function(n){n.delegateTarget=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}(n.target,e),n.delegateTarget&&r.call(t,n)}}var ze=function(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return"function"==typeof t.addEventListener?qe.apply(null,arguments):"function"==typeof n?qe.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,(function(t){return qe(t,e,n,r,o)})))};function Je(t,e,n,r,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void n(t)}c.done?e(u):Promise.resolve(u).then(r,o)}var Ue=n(192),Ge=n.n(Ue);window.gform=window.gform||{},window.gform.instances=window.gform.instances||{},window.gform.instances.filters=window.gform.instances.filters||[];var We=window.gform.instances.filters,Be=function(){var t,e=(t=Ge().mark((function t(){var e,n,r,o,i=arguments;return Ge().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=Ot({data:{},event:""},i.length>0&&void 0!==i[0]?i[0]:{}),void 0===We[e.event]){t.next=18;break}(n=We[e.event]).sort((function(t,e){return t.priority-e.priority})),r=0;case 6:if(!(r2&&void 0!==arguments[2]?arguments[2]:10,!0)},$e=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];void 0===We[t]&&(We[t]=[]);var o=t+"_"+We[t].length;We[t].push({tag:o,callable:e,priority:n,isAsync:r})},Xe=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(void 0!==We[t])for(var r=We[t],o=r.length-1;o>=0;o--)null!==n&&n!==r[o].tag||null!==e&&parseInt(r[o].priority)!==parseInt(e)||r.splice(o,1)};function Ke(t){"loading"!==document.readyState?t():document.addEventListener?document.addEventListener("DOMContentLoaded",t):document.attachEvent("onreadystatechange",(function(){"loading"!==document.readyState&&t()}))}function Ve(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200;!(arguments.length>2&&void 0!==arguments[2])||arguments[2]?window.addEventListener("resize",De(t,{wait:e})):window.removeEventListener("resize",De(t,{wait:e}))}var Qe={},Ze=function(t){for(var e=String(t),n=0,r=0,o=e.length;r0&&void 0!==arguments[0]?arguments[0]:"",e=document.cookie.split(";"),n=0;n0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o="",i=e;if(n&&!isNaN(Number(n))){var a=new Date;a.setTime(a.getTime()+24*Number(n)*60*60*1e3),o=" expires="+a.toUTCString()}if(r){var c=sn(t);i=""!==c&&null!==c?c+","+e:e}document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(i)+";"+o},pn=function(t){dn(t,"",-1)};!function(){var t=window.gformComponentNamespace||"gform";window[t]=window[t]||{},window[t].utils=window[t].utils||{};var e=window[t].utils;Object.entries(l).forEach((function(t){var n=s(t,2),r=n[0],o=n[1];e[r]=o}))}()}()}();; function outPlayerWidget(a){var c;var w=function(g){function k(){if("spotlight"===h){if("large"===l)return g.length-3;if("medium"===l)return g.length-2;if("small"===l)return g.length-1}else if("shelf"===h){for("large"===l?f=4:"medium"===l?f=3:"small"===l&&(f=2);0'; var p=e.querySelector(".jw-widget-item");var q=document.querySelector(".jw-widget-item").offsetWidth+10;p.classList.add("spotlight");m.src="src/img/play.svg";m.classList.add("jw-play-button");p.append(m)}else"shelf"===h&&(q=e.offsetWidth);v.addEventListener("click",function(){var b=k()-1,a=n[n.length-1];if(d===b&&v.classList.add("disabled"),d===k())return!1;"shelf"===h&&d===b&&a.length
"+d.title+"
");f.insertAdjacentHTML("beforeend",k[c])});w(k)}};var y=a.playlist;(c=new XMLHttpRequest).open("GET",y,!0);c.onreadystatechange=function(){if(4===c.readyState&&200<=c.status){var a=JSON.parse(c.responseText);x(a)}};c.send()};;