1(()=>{var o={6664:function(e,t,n){var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){e[o=void 0===o?n:o]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},u=(Object.defineProperty(t,"__esModule",{value:!0}),n(6654)),t=a(n(1920));function s(e){c(e=void 0===e?!1:e),u.initializeLiveEmbeds(e).then(function(){c(e)})}function c(e){u.initializePopovers(e),u.initializePopups(e),u.initializeSidetabs(e),u.initializeSliders(e),u.initializeWidgets(e)}function l(){return s(!1)}e.exports=o(o({},t),{load:l,reload:function(){return s(!0)}}),document.addEventListener("DOMContentLoaded",l,!1),"interactive"!==document.readyState&&"complete"!==document.readyState||l()},8027:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_DOMAIN=t.POPUP_SIZE=t.SLIDER_WIDTH=t.SLIDER_POSITION=t.LIVE_EMBED_ATTRIBUTE=t.SIDETAB_ATTRIBUTE=t.WIDGET_ATTRIBUTE=t.SLIDER_ATTRIBUTE=t.POPUP_ATTRIBUTE=t.POPOVER_ATTRIBUTE=void 0,t.POPOVER_ATTRIBUTE="data-tf-popover",t.POPUP_ATTRIBUTE="data-tf-popup",t.SLIDER_ATTRIBUTE="data-tf-slider",t.WIDGET_ATTRIBUTE="data-tf-widget",t.SIDETAB_ATTRIBUTE="data-tf-sidetab",t.LIVE_EMBED_ATTRIBUTE="data-tf-live",t.SLIDER_POSITION="right",t.SLIDER_WIDTH=800,t.POPUP_SIZE=100,t.DEFAULT_DOMAIN="form.typeform.com"},7528:function(e,t,n){function T(e,t){var n=e.parentNode;n&&(n.removeChild(e),n.appendChild(t))}function I(e,t){return void 0===e&&(e="div"),void 0===t&&(t="tf-v1-popover-button-icon"),(e=document.createElement(e)).className=t+" tf-v1-close-icon",e.innerHTML="×",e.dataset.testid=t,e}var j=this&&this.__assign||function(){return(j=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},S=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},C=(Object.defineProperty(t,"__esModule",{value:!0}),t.createPopover=void 0,n(6797)),M=n(1320),L={buttonColor:"#3a7685"};t.createPopover=function(e,t){void 0===t&&(t={});function n(){C.isOpen(h)||(O(),a&&(a.classList.add("closing"),f.notificationDays&&!f.enableSandbox&&M.saveNotificationDotHideUntilTime(e,f.notificationDays),setTimeout(function(){C.unmountElement(a)},250)),E(),window.addEventListener("resize",E),setTimeout(function(){C.isInPage(h)?(h.style.opacity="0",w.style.opacity="0",h.style.display="flex",setTimeout(function(){m.classList.add("open"),h.style.opacity="1",w.style.opacity="1"}),T(b,g)):(m.append(h),T(b,y),h.style.opacity="0",w.style.opacity="0")}))}function o(){(C.isOpen(h)?P:n)()}var r,i,a,u,s,c,l=j(j({},L),t),d=l.domain,f=S(l,["domain"]),l=C.createIframe("popover",{formId:e,domain:d,options:f}),d=l.iframe,p=l.embedId,v=l.refresh,l=l.focus,m=(_=f.width,u=f.height,(s=document.createElement("div")).className="tf-v1-popover",s.dataset.testid="tf-v1-popover",C.setElementSize(s,{width:_,height:u})),h=((s=document.createElement("div")).className="tf-v1-popover-wrapper",s.dataset.testid="tf-v1-popover-wrapper",s),b=(_=f.customIcon,u=f.buttonColor||L.buttonColor,u=C.getTextColor(u),(s=document.createElement("div")).className="tf-v1-popover-button-icon",u='<svg class="default" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M21 0H0V9L10.5743 24V16.5H21C22.6567 16.5 24 15.1567 24 13.5V3C24 1.34325 22.6567 0 21 0ZM7.5\n 9.75C6.672 9.75 6 9.07875 6 8.25C6 7.42125 6.672 6.75 7.5 6.75C8.328 6.75 9 7.42125 9 8.25C9 9.07875 8.328 9.75\n 7.5 9.75ZM12.75 9.75C11.922 9.75 11.25 9.07875 11.25 8.25C11.25 7.42125 11.922 6.75 12.75 6.75C13.578 6.75 14.25\n 7.42125 14.25 8.25C14.25 9.07875 13.578 9.75 12.75 9.75ZM18 9.75C17.172 9.75 16.5 9.07875 16.5 8.25C16.5 7.42125\n 17.172 6.75 18 6.75C18.828 6.75 19.5 7.42125 19.5 8.25C19.5 9.07875 18.828 9.75 18 9.75Z" fill="'+u+'"></path>\n </svg>',c=null==_?void 0:_.startsWith("http"),s.innerHTML=c?"<img alt='popover trigger icon button' src='"+_+"'/>":null!=_?_:u,s.dataset.testid="default-icon",s),y=((c=document.createElement("div")).className="tf-v1-spinner",(_=document.createElement("div")).className="tf-v1-popover-button-icon",_.dataset.testid="spinner-icon",_.append(c),_),g=I(),w=I("a","tf-v1-popover-close"),_=(u=f.buttonColor||L.buttonColor,s=C.getTextColor(u),(c=document.createElement("button")).className="tf-v1-popover-button",c.dataset.testid="tf-v1-popover-button",c.style.backgroundColor=u,c.style.color=s,c),O=((f.container||document.body).append(m),h.append(d),m.append(_),m.append(w),_.append(b),function(){i&&i.parentNode&&(i.classList.add("closing"),setTimeout(function(){C.unmountElement(i)},250))}),E=(f.tooltip&&0<f.tooltip.length&&(u=f.tooltip,s=O,(c=document.createElement("span")).className="tf-v1-popover-tooltip-close",c.dataset.testid="tf-v1-popover-tooltip-close",c.innerHTML="×",c.onclick=s,(s=document.createElement("div")).className="tf-v1-popover-tooltip-text",s.innerHTML=u,(u=document.createElement("div")).className="tf-v1-popover-tooltip",u.dataset.testid="tf-v1-popover-tooltip",u.appendChild(s),u.appendChild(c),i=u,m.append(i)),f.notificationDays&&(f.enableSandbox||M.canBuildNotificationDot(e))&&(a=M.buildNotificationDot(),_.append(a)),d.onload=function(){m.classList.add("open"),h.style.opacity="1",w.style.opacity="1",T(y,g),C.addCustomKeyboardListener(P)},C.makeAutoResize(m)),P=function(){var e;C.isOpen(m)&&(null!=(e=t.onClose)&&e.call(t),setTimeout(function(){f.keepSession?h.style.display="none":C.unmountElement(h),m.classList.remove("open"),T(g,b)},250))};C.setAutoClose(p,f.autoClose,P);
1return _.onclick=o,w.onclick=P,f.open&&!C.isOpen(h)&&(r=C.handleCustomOpen(n,f.open,f.openValue)),{open:n,close:P,toggle:o,refresh:v,focus:l,unmount:function(){C.unmountElement(m),window.removeEventListener("resize",E),f.open&&null!=r&&r.remove&&r.remove()}}}},1797:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){e[o=void 0===o?n:o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(7528),t),r(n(6100),t)},1320:function(e,t){function o(){var e=localStorage.getItem(n);return e?JSON.parse(e):{}}function r(e){e&&localStorage.setItem(n,JSON.stringify(e))}var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},n=(Object.defineProperty(t,"__esModule",{value:!0}),t.buildNotificationDot=t.canBuildNotificationDot=t.saveNotificationDotHideUntilTime=void 0,"tfNotificationData");t.saveNotificationDotHideUntilTime=function(e,t){var n=new Date;n.setDate(n.getDate()+t),r(i(i({},o()),((t={})[e]={hideUntilTime:n.getTime()},t)))},t.canBuildNotificationDot=function(e){t=e;var t=(null==(t=o()[t])?void 0:t.hideUntilTime)||0;return(new Date).getTime()>t&&(t&&(t=e,delete(e=o())[t],r(e)),!0)},t.buildNotificationDot=function(){var e=document.createElement("span");return e.className="tf-v1-popover-unread-dot",e.dataset.testid="tf-v1-popover-unread-dot",e}},6100:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},9630:function(e,t,n){var w=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},_=(Object.defineProperty(t,"__esModule",{value:!0}),t.createPopup=void 0,n(6797)),O=n(8027),E=n(6797);t.createPopup=function(e,t){var n,o,r,i,a,u,s,c,l,d,f,p,v,m,h,b,y,g;return void 0===t&&(t={}),_.hasDom()?(y=t.width,d=t.height,f=void 0===(f=t.size)?O.POPUP_SIZE:f,o=t.onClose,i=t.domain,r=w(t,["width","height","size","onClose","domain"]),e=(t=_.createIframe("popup",{formId:e,domain:i,options:r})).iframe,i=t.embedId,a=t.refresh,t=t.focus,u=document.body.style.overflow,(b=document.createElement("div")).className="tf-v1-popup",b.dataset.testid="tf-v1-popup",b.style.opacity="0",s=b,(b=document.createElement("div")).className="tf-v1-spinner",c=b,b=y,y=d,d=f,(f=document.createElement("div")).className="tf-v1-iframe-wrapper",f.style.opacity="0",(l=_.isDefined(b)&&_.isDefined(y)?_.setElementSize(f,{width:b,height:y}):(f.style.width="calc("+d+"% - 80px)",f.style.height="calc("+d+"% - 80px)",f)).append(e),s.append(c),s.append(l),p=r.container||document.body,e.onload=function(){l.style.opacity="1",setTimeout(function(){c.style.display="none"},250),_.addCustomKeyboardListener(h)},v=E.makeAutoResize(s),m=function(){E.isOpen(s)||(E.isInPage(s)?s.style.display="flex":(c.style.display="block",p.append(s)),document.body.style.overflow="hidden",v(),window.addEventListener("resize",v),setTimeout(function(){s.style.opacity="1"}))},h=function(){E.isOpen(s)&&(null!=o&&o(),s.style.opacity="0",document.body.style.overflow=u,setTimeout(function(){r.keepSession?s.style.display="none":g()},250))},l.append((b=h,(y=document.createElement("a")).className="tf-v1-close tf-v1-close-icon",y.innerHTML="×",y.onclick=b,y)),_.setAutoClose(i,r.autoClose,h),r.open&&!E.isOpen(s)&&(n=_.handleCustomOpen(m,r.open,r.openValue)),{open:m,close:h,toggle:function(){(E.isOpen(s)?h:m)()},refresh:a,focus:t,unmount:g=function(){_.unmountElement(s),window.removeEventListener("resize",v),r.open&&null!=n&&n.remove&&n.remove()}}):{open:function(){},close:function(){},toggle:function(){},refresh:function(){},focus:function(){},unmount:function(){}}}},5970:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){e[o=void 0===o?n:o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};
1Object.defineProperty(t,"__esModule",{value:!0}),r(n(9630),t),r(n(7394),t)},7394:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},382:function(e,t,n){function _(e,t){return void 0===e&&(e="div"),void 0===t&&(t="tf-v1-sidetab-button-icon"),(e=document.createElement(e)).className=t+" tf-v1-close-icon",e.innerHTML="×",e.dataset.testid=t,e}function O(e,t){var n=e.parentNode;n&&(n.removeChild(e),n.appendChild(t))}var E=this&&this.__assign||function(){return(E=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},P=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},T=(Object.defineProperty(t,"__esModule",{value:!0}),t.createSidetab=void 0,n(6797)),I={buttonColor:"#3a7685",buttonText:"Launch me"};t.createSidetab=function(e,t){void 0===t&&(t={});function n(){T.isOpen(f)||(g(),window.addEventListener("resize",g),T.isInPage(f)?(f.style.display="flex",d.classList.add("open"),O(h,b)):(d.append(f),O(h,p)))}function o(){(T.isOpen(f)?w:n)()}var r,i,a,u,t=E(E({},I),t),s=t.domain,c=P(t,["domain"]),t=T.createIframe("side-tab",{formId:e,domain:s,options:c}),e=t.iframe,s=t.embedId,l=t.refresh,t=t.focus,d=(m=c.width,u=c.height,(v=document.createElement("div")).className="tf-v1-sidetab",v.dataset.testid="tf-v1-sidetab",T.setElementSize(v,{width:m,height:u})),f=((v=document.createElement("div")).className="tf-v1-sidetab-wrapper",v.dataset.testid="tf-v1-sidetab-wrapper",v),p=((m=document.createElement("div")).className="tf-v1-spinner",(u=document.createElement("div")).className="tf-v1-sidetab-button-icon",u.dataset.testid="spinner-icon",u.append(m),u),v=(v=c.buttonColor||I.buttonColor,m=T.getTextColor(v),(u=document.createElement("button")).className="tf-v1-sidetab-button",u.style.backgroundColor=v,u.style.color=m,u),m=(m=c.buttonText||I.buttonText,(u=document.createElement("span")).className="tf-v1-sidetab-button-text",u.innerHTML=m,u),h=(u=c.customIcon,i=c.buttonColor||I.buttonColor,i=T.getTextColor(i),(a=document.createElement("div")).className="tf-v1-sidetab-button-icon",i='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M21 0H0V9L10.5743 24V16.5H21C22.6567 16.5 24 15.1567 24 13.5V3C24 1.34325 22.6567 0 21 0ZM7.5 9.75C6.672 9.75 6 9.07875 6 8.25C6 7.42125 6.672 6.75 7.5 6.75C8.328 6.75 9 7.42125 9 8.25C9 9.07875 8.328 9.75 7.5 9.75ZM12.75 9.75C11.922 9.75 11.25 9.07875 11.25 8.25C11.25 7.42125 11.922 6.75 12.75 6.75C13.578 6.75 14.25 7.42125 14.25 8.25C14.25 9.07875 13.578 9.75 12.75 9.75ZM18 9.75C17.172 9.75 16.5 9.07875 16.5 8.25C16.5 7.42125 17.172 6.75 18 6.75C18.828 6.75 19.5 7.42125 19.5 8.25C19.5 9.07875 18.828 9.75 18 9.75Z" fill="'+i+'"></path>\n </svg>',y=null==u?void 0:u.startsWith("http"),a.innerHTML=y?"<img alt='popover trigger icon button' src='"+u+"'/>":null!=u?u:i,a.dataset.testid="default-icon",a),b=_(),y=_("a","tf-v1-sidetab-close"),g=((c.container||document.body).append(d),f.append(e),d.append(v),d.append(y),v.append(h),v.append(m),setTimeout(function(){d.classList.add("ready")},250),e.onload=function(){d.classList.add("open"),O(p,b),T.addCustomKeyboardListener(w)},T.makeAutoResize(d)),w=function(){var e;T.isOpen(f)&&(null!=(e=c.onClose)&&e.call(c),d.classList.remove("open"),setTimeout(function(){c.keepSession?f.style.display="none":T.unmountElement(f),O(b,h)},250))};T.setAutoClose(s,c.autoClose,w);return v.onclick=o,y.onclick=w,c.open&&!T.isOpen(f)&&(r=T.handleCustomOpen(n,c.open,c.openValue)),{open:n,close:w,toggle:o,refresh:l,focus:t,unmount:function(){T.unmountElement(d),window.removeEventListener("resize",g),c.open&&null!=r&&r.remove&&r.remove()}}}},1434:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){e[o=void 0===o?n:o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};
1Object.defineProperty(t,"__esModule",{value:!0}),r(n(382),t),r(n(7668),t)},7668:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},2603:function(e,t,n){var w=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},_=(Object.defineProperty(t,"__esModule",{value:!0}),t.createSlider=void 0,n(6797)),O=n(8027);t.createSlider=function(e,t){var n,o,r,i,a,u,s,c,l,d,f,p,v,m,h,b,y,g;return void 0===t&&(t={}),_.hasDom()?(y=t.position,o=void 0===y?O.SLIDER_POSITION:y,y=void 0===(y=t.width)?O.SLIDER_WIDTH:y,r=t.onClose,a=t.domain,i=w(t,["position","width","onClose","domain"]),e=(t=_.createIframe("slider",{formId:e,domain:a,options:i})).iframe,a=t.embedId,u=t.refresh,t=t.focus,s=document.body.style.overflow,f=o,(b=document.createElement("div")).className="tf-v1-slider "+f,b.dataset.testid="tf-v1-slider",b.style.opacity="0",c=b,(f=document.createElement("div")).className="tf-v1-spinner",l=f,b=o,f=y,(y=document.createElement("div")).className="tf-v1-iframe-wrapper",y.style[b]="-100%",(d=_.setElementSize(y,{width:f})).append(e),c.append(l),c.append(d),p=i.container||document.body,e.onload=function(){d.style[o]="0",setTimeout(function(){l.style.display="none"},500),_.addCustomKeyboardListener(h)},v=_.makeAutoResize(c),m=function(){_.isOpen(c)||(v(),window.addEventListener("resize",v),_.isInPage(c)?(c.style.display="flex",setTimeout(function(){d.style[o]="0"})):(p.append(c),l.style.display="block"),document.body.style.overflow="hidden",setTimeout(function(){c.style.opacity="1"}))},h=function(){_.isOpen(c)&&(null!=r&&r(),c.style.opacity="0",d.style[o]="-100%",document.body.style.overflow=s,setTimeout(function(){i.keepSession?c.style.display="none":g()},500))},_.setAutoClose(a,i.autoClose,h),d.append((b=h,(y=document.createElement("a")).className="tf-v1-close tf-v1-close-icon",y.innerHTML="×",y.onclick=b,y)),i.open&&!_.isOpen(c)&&(n=_.handleCustomOpen(m,i.open,i.openValue)),{open:m,close:h,toggle:function(){(_.isOpen(c)?h:m)()},refresh:u,focus:t,unmount:g=function(){_.unmountElement(c),window.removeEventListener("resize",v),i.open&&null!=n&&n.remove&&n.remove()}}):{open:function(){},close:function(){},toggle:function(){},refresh:function(){},focus:function(){},unmount:function(){}}}},4071:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){e[o=void 0===o?n:o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(2603),t),r(n(3162),t)},3162:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},718:function(e,t,n){var h=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},b=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),a=[];try{for(;
1(void 0===t||0<t--)&&!(o=i.next()).done;)a.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a},y=(Object.defineProperty(t,"__esModule",{value:!0}),t.createWidget=void 0,n(6797)),g=n(8554),w=n(2313),_=n(1126);t.createWidget=function(e,n){if(!y.hasDom())return{refresh:function(){},focus:function(){},unmount:function(){}};var t=n.domain,o=h(n,["domain"]);o.inlineOnMobile=n.inlineOnMobile||n.fullScreen,o.inlineOnMobile||!o.forceTouch&&!y.isFullscreen()||(o.displayAsFullScreenModal=!0,o.forceTouch=!0);var r,i,e=y.createIframe("widget",{formId:e,domain:t,options:o}),t=e.embedId,a=e.iframe,u=e.refresh,s=e.focus,c=w.buildWidget(a,o.width,o.height);o.fullScreen&&(_.overrideFullScreenStyles(n.container,a),p=y.makeAutoResize(n.container,!0),window.addEventListener("resize",p),p()),o.autoResize&&(e=b("string"==typeof o.autoResize?o.autoResize.split(",").map(function(e){return parseInt(e)}):[],2),r=e[0],i=e[1],window.addEventListener("message",g.getFormHeightChangedHandler(t,function(e){e=Math.max(e.height,r||0);i&&(e=Math.min(e,i)),n.container.style.height=e+"px"}))),o.autoFocus&&window.addEventListener("message",g.getFormReadyHandler(t,function(){setTimeout(function(){s()},1e3)}));function l(){return n.container.append(c)}var d,f,p,v,m;return n.container.innerHTML="",n.lazy?y.lazyInitialize(n.container,l):l(),o.displayAsFullScreenModal&&(d="",f=n.container,p=y.makeAutoResize(f),v=f.style.height,window.addEventListener("message",g.getWelcomeScreenHiddenHandler(t,function(){f.classList.add("tf-v1-widget-fullscreen"),void 0!==n.opacity&&(f.style.backgroundColor=d),p(),window.addEventListener("resize",p)})),window.addEventListener("message",g.getFormThemeHandler(t,function(e){d=y.changeColorOpacity(null==(e=null==e?void 0:e.theme)?void 0:e.backgroundColor)})),(a=document.createElement("a")).className="tf-v1-widget-close tf-v1-close-icon",a.innerHTML="×",(m=a).onclick=function(){var e,t;window.removeEventListener("resize",p),f.style.height=v,null!=(e=n.onClose)&&e.call(n),f.classList.remove("tf-v1-widget-fullscreen"),f.style.backgroundColor="",n.keepSession?((t=document.createElement("div")).className="tf-v1-widget-iframe-overlay",t.oncl
1ick=function(){f.classList.add("tf-v1-widget-fullscreen"),y.unmountElement(t)},c.append(t)):(n.container.innerHTML="",l(),f.append(m))},f.append(m)),{refresh:u,focus:s,unmount:function(){p&&window.removeEventListener("resize",p),y.unmountElement(c)}}}},1419:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.buildWidget=void 0;var r=n(6797);t.buildWidget=function(e,t,n){var o=document.createElement("div");return o.className="tf-v1-widget",o.dataset.testid="tf-v1-widget",o.append(e),r.setElementSize(o,{width:t,height:n})}},2313:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){e[o=void 0===o?n:o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(1419),t)},1126:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.overrideFullScreenStyles=void 0,t.overrideFullScreenStyles=function(e,t){Object.assign(e.style,{zIndex:"10001",position:"absolute",top:"0",left:"0",width:"100%",height:"100%"}),t.style.borderRadius="0",Object.assign(document.body.style,{overflow:"hidden"})}},9321:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){e[o=void 0===o?n:o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(718),t),r(n(4058),t)},4058:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},1920:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){e[o=void 0===o?n:o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(1797),t),r(n(5970),t),r(n(4071),t),r(n(9321),t),r(n(1434),t)},5455:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.buildOptionsFromAttributes=void 0;var o=n(6797);t.buildOptionsFromAttributes=function(e){return o.loadOptionsFromAttributes(e,{source:"string",domain:"string",medium:"string",mediumVersion:"string",open:"string",openValue:"integer",hideFooter:"boolean",hideHeaders:"boolean",opacity:"integer",disableTracking:"boolean",onReady:"function",onSubmit:"function",onQuestionChanged:"function",onHeightChanged:"function",autoResize:"stringOrBoolean",onClose:"function",onEndingButtonClick:"function",transitiveSearchParams:"arrayOrBoolean",hidden:"record",chat:"boolean",buttonColor:"string",customIcon:"string",width:"integer",height:"integer",size:"integer",buttonText:"string",position:"string",enableSandbox:"boolean",tooltip:"string",notificationDays:"integer",autoClose:"integerOrBoolean",shareGaInstance:"stringOrBoolean",forceTouch:"boolean",inlineOnM
1obile:"boolean",autoFocus:"boolean",tracking:"record",redirectTarget:"string",iframeProps:"record",lazy:"boolean",keepSession:"boolean",hubspot:"boolean",disableScroll:"boolean",fullScreen:"boolean",noHeading:"boolean"})}},6654:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){e[o=void 0===o?n:o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(8806),t),r(n(8933),t),r(n(7833),t),r(n(5361),t),r(n(2103),t),r(n(1412),t)},1412:function(e,t,n){var o=this&&this.__awaiter||function(e,a,u,s){return new(u=u||Promise)(function(n,t){function o(e){try{i(s.next(e))}catch(e){t(e)}}function r(e){try{i(s.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?n(e.value):((t=e.value)instanceof u?t:new u(function(e){e(t)})).then(o,r)}i((s=s.apply(e,a||[])).next())})},a=this&&this.__generator||function(o,r){var i,a,u,s={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]},e={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(n){return function(e){var t=[n,e];if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,a&&(u=2&t[0]?a.return:t[0]?a.throw||((u=a.return)&&u.call(a),0):a.next)&&!(u=u.call(a,t[1])).done)return u;switch(a=0,(t=u?[2&t[0],u.value]:t)[0]){case 0:case 1:u=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,a=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!((u=0<(u=s.trys).length&&u[u.length-1])||6!==t[0]&&2!==t[0])){s=0;continue}if(3===t[0]&&(!u||t[1]>u[0]&&t[1]<u[3]))s.label=t[1];else if(6===t[0]&&s.label<u[1])s.label=u[1],u=t;else{if(!(u&&s.label<u[2])){u[2]&&s.ops.pop(),s.trys.pop();continue}s.label=u[2],s.ops.push(t)}}t=r.call(o,s)}catch(e){t=[6,e],a=0}finally{i=u=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}},u=(Object.defineProperty(t,"__esModule",{value:!0}),t.initializeLiveEmbeds=void 0,n(8027)),s=n(201);t.initializeLiveEmbeds=function(i){return o(void 0,void 0,void 0,function(){var t,n,o,r;return a(this,function(e){switch(e.label){case 0:t=document.querySelectorAll("["+u.LIVE_EMBED_ATTRIBUTE+"]"),n=0,e.label=1;case 1:if(!(n<t.length))return[3,4];if(o=t.item(n),!i&&"true"===o.dataset.tfLoaded)return[3,3];if(r=o.getAttribute(u.LIVE_EMBED_ATTRIBUTE))return[4,s.fetchLiveEmbed(r)];throw new Error("Invalid "+u.LIVE_EMBED_ATTRIBUTE+"="+r+" for embed #"+n);case 2:r=e.sent().html,o.innerHTML=r,o.dataset.tfLoaded="true",e.label=3;case 3:return n+=1,[3,1];case 4:return[2]}})})}},8806:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.initializePopovers=void 0;var o=n(1797),r=n(8027),i=n(7308);t.initializePopovers=function(e){i.initialize(r.POPOVER_ATTRIBUTE,"popover.css",e=void 0===e?!1:e,function(e,t,n){e=o.createPopover(e,t).toggle;n.onclick=e})}},8933:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.initializePopups=void 0;var o=n(5970),r=n(8027),i=n(7308);t.initializePopups=function(e){i.initialize(r.POPUP_ATTRIBUTE,"popup.css",e=void 0===e?!1:e,function(e,t,n){e=o.createPopup(e,t).toggle;n.onclick=e})}},2103:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.initializeSidetabs=void 0;var o=n(1434),r=n(8027),i=n(7308);t.initializeSidetabs=function(e){i.initialize(r.SIDETAB_ATTRIBUTE,"sidetab.css",e=void 0===e?!1:e,function(e,t){o.createSidetab(e,t)})}},7833:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.initializeSliders=void 0;var o=n(4071),r=n(8027),i=n(7308);t.initializeSliders=function(e){i.initialize(r.SLIDER_ATTRIBUTE,"slider.css",e=void 0===e?!1:e,function(e,t,n){e=o.createSlider(e,t).toggle;n.onclick=e})}},5361:function(e,t,n){var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)}
1,r=(Object.defineProperty(t,"__esModule",{value:!0}),t.initializeWidgets=void 0,n(9321)),i=n(8027),a=n(7308);t.initializeWidgets=function(e){a.initialize(i.WIDGET_ATTRIBUTE,"widget.css",e=void 0===e?!1:e,function(e,t,n){r.createWidget(e,o(o({},t),{container:n}))})}},7308:function(e,t,n){var o=this&&this.__awaiter||function(e,a,u,s){return new(u=u||Promise)(function(n,t){function o(e){try{i(s.next(e))}catch(e){t(e)}}function r(e){try{i(s.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?n(e.value):((t=e.value)instanceof u?t:new u(function(e){e(t)})).then(o,r)}i((s=s.apply(e,a||[])).next())})},c=this&&this.__generator||function(o,r){var i,a,u,s={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]},e={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(n){return function(e){var t=[n,e];if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,a&&(u=2&t[0]?a.return:t[0]?a.throw||((u=a.return)&&u.call(a),0):a.next)&&!(u=u.call(a,t[1])).done)return u;switch(a=0,(t=u?[2&t[0],u.value]:t)[0]){case 0:case 1:u=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,a=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!((u=0<(u=s.trys).length&&u[u.length-1])||6!==t[0]&&2!==t[0])){s=0;continue}if(3===t[0]&&(!u||t[1]>u[0]&&t[1]<u[3]))s.label=t[1];else if(6===t[0]&&s.label<u[1])s.label=u[1],u=t;else{if(!(u&&s.label<u[2])){u[2]&&s.ops.pop(),s.trys.pop();continue}s.label=u[2],s.ops.push(t)}}t=r.call(o,s)}catch(e){t=[6,e],a=0}finally{i=u=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}},l=(Object.defineProperty(t,"__esModule",{value:!0}),t.initialize=void 0,n(6797)),d=n(5455);t.initialize=function(i,a,u,s){return void 0===u&&(u=!1),o(void 0,void 0,void 0,function(){var t,n,o,r;return c(this,function(e){switch(e.label){case 0:0<(t=document.querySelectorAll("["+i+"]")).length&&l.includeCss(a),n=0,e.label=1;case 1:if(!(n<t.length))return[3,5];if(o=t.item(n),!u&&"true"===o.dataset.tfLoaded)return[3,4];if(r=o.getAttribute(i))return o.hasAttribute("data-tf-hubspot")?[4,l.waitForHubspotCookie()]:[3,3];throw new Error("Invalid "+i+"="+r+" for embed #"+n);case 2:e.sent(),e.label=3;case 3:s(r,d.buildOptionsFromAttributes(o),o),o.dataset.tfLoaded="true",e.label=4;case 4:return n+=1,[3,1];case 5:return[2]}})})}},201:function(e,t){var o=this&&this.__awaiter||function(e,a,u,s){return new(u=u||Promise)(function(n,t){function o(e){try{i(s.next(e))}catch(e){t(e)}}function r(e){try{i(s.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?n(e.value):((t=e.value)instanceof u?t:new u(function(e){e(t)})).then(o,r)}i((s=s.apply(e,a||[])).next())})},r=this&&this.__generator||function(o,r){var i,a,u,s={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]},e={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(n){return function(e){var t=[n,e];if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,a&&(u=2&t[0]?a.return:t[0]?a.throw||((u=a.return)&&u.call(a),0):a.next)&&!(u=u.call(a,t[1])).done)return u;switch(a=0,(t=u?[2&t[0],u.value]:t)[0]){case 0:case 1:u=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,a=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!((u=0<(u=s.trys).length&&u[u.length-1])||6!==t[0]&&2!==t[0])){s=0;continue}if(3===t[0]&&(!u||t[1]>u[0]&&t[1]<u[3]))s.label=t[1];else if(6===t[0]&&s.label<u[1])s.label=u[1],u=t;else{if(!(u&&s.label<u[2])){u[2]&&s.ops.pop(),s.trys.pop();continue}s.label=u[2],s.ops.push(t)}}t=r.call(o,s)}catch(e){t=[6,e],a=0}finally{i=u=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}};Object.defineProperty(t,"__esModule",{value:!0}),t.fetchLiveEmbed=void 0,t.fetchLiveEmbed=function(n){return o(void 0,void 0,void 0,function(){var t;return r(this,function(e){switch(e.label){case 0:return[4,fetch("https://api.typeform.com/single-embed/"+n)];case 1:if((t=e.sent()).ok)return[4,t.json()];throw new Error("Cannot fetch embed "+n);case 2:return[2,e.sent()]}})})}},3626:function(e,t,n){var T=this&&this.__assign||function(){return(T=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},I=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),a=[];try{for(;
1(void 0===t||0<t--)&&!(o=i.next()).done;)a.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a},j=(Object.defineProperty(t,"__esModule",{value:!0}),t.buildIframeSrc=void 0,n(8027)),S=n(4527),C=n(2346),M=n(2698),L=n(863),x={widget:"embed-widget",popup:"popup-blank",slider:"popup-drawer",popover:"popup-popover","side-tab":"popup-side-panel"};t.buildIframeSrc=function(e){var t,n,o,r,i,a,u,s,c,l,d,f,p,v,m,h,b,y,g,w,_=e.domain,O=e.formId,E=e.options,e=(t=e.type,e=e.embedId,(h=E).noHeading||(h.noHeading=0<document.querySelectorAll("h1").length),b=T(T({},{source:null==(b=null==window?void 0:window.location)?void 0:b.hostname.replace(/^www\./,""),medium:"embed-sdk",mediumVersion:"next"}),S.removeUndefinedKeys(h)),h=b.transitiveSearchParams,n=b.source,o=b.medium,r=b.mediumVersion,y=b.hideFooter,w=b.hideHeaders,i=b.opacity,a=b.disableTracking,u=b.enableSandbox,s=b.shareGaInstance,c=b.forceTouch,l=b.displayAsFullScreenModal,d=b.tracking,f=b.redirectTarget,p=b.autoResize,v=b.disableScroll,m=b.onEndingButtonClick,b=b.noHeading,h=M.getTransitiveSearchParams(h),T(T(T({},{"typeform-embed-id":e,"typeform-embed":x[t],"typeform-source":n,"typeform-medium":o,"typeform-medium-version":r,"embed-hide-footer":y?"true":void 0,"embed-hide-headers":w?"true":void 0,"embed-opacity":i,"disable-tracking":a||u?"true":void 0,"__dangerous-disable-submissions":u?"true":void 0,"share-ga-instance":s?"true":void 0,"force-touch":c?"true":void 0,"add-placeholder-ws":"widget"===t&&l?"true":void 0,"typeform-embed-redirect-target":f,"typeform-embed-auto-resize":p?"true":void 0,"typeform-embed-disable-scroll":v?"true":void 0,"typeform-embed-handle-ending-button-click":m?"true":void 0,"typeform-embed-no-heading":b?"true":void 0}),h),d)),P=(n=O,o=_,r=E.chat,void 0===o&&(o=j.DEFAULT_DOMAIN),void 0===r&&(r=!1),n.startsWith("http://")||n.startsWith("https://")?new URL(n):new URL("https://"+o+"/"+(r?"c":"to")+"/"+n));return Object.entries(e).filter(function(e){e=I(e,2)[1];return C.isDefined(e)}).forEach(function(e){var e=I(e,2),t=e[0];P.searchParams.set(t,e[1])}),E.hubspot&&(y=L.getHubspotHiddenFields(),E.hidden=T(T({},E.hidden),y)),E.hidden&&(g=new URLSearchParams,Object.entries(E.hidden).filter(function(e){e=I(e,2)[1];return C.isDefined(e)&&""!==e}).forEach(function(e){var e=I(e,2),t=e[0],e=e[1];"boolean"==typeof E.transitiveSearchParams&&P.searchParams.delete(t),g.set(t,e)}),w=g.toString())&&(P.hash=w),P.href}},2391:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.changeColorOpacity=void 0,t.changeColorOpacity=function(e,t){return void 0===t&&(t=255),(e=void 0===e?"":e).startsWith("rgba(")?null==e?void 0:e.replace(/, [\d.]+\)$/,", "+t+")"):e}},8972:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.handleCustomOpen=void 0;var l={remove:function(){}};t.handleCustomOpen=function(e,t,n){switch(t){case"load":return e(),l;case"exit":return n?(a=n,u=e,s=0,document.addEventListener("mousemove",c,!0),{remove:function(){return document.removeEventListener("mousemove",c,!0)}}):l;case"time":return setTimeout(function(){e()},n),l;case"scroll":return n?(r=n,i=e,document.addEventListener("scroll",o),{remove:function(){return document.removeEventListener("scroll",o)}}):l;default:return l}function o(){var e=window.pageYOffset||document.documentElement.scrollTop,t=document.documentElement.clientTop||0,n=document.documentElement.scrollHeight,e=e-t;(r<=e/n*100||n<=e+window.innerHeight)&&(i(),document.removeEventListener("scroll",o))}var r,i,a,u,s;function c(e){e.clientY<a&&e.clientY<s?(document.removeEventListener("mousemove",c,!0),u()):s=e.clientY}}},1553:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.createIframe=void 0;var p=n(3626),v=n(6797),m=n(8866),h=n(8554),b=n(2256),y=n(7144),g=n(5511);t.createIframe=function(e,t){var n=t.formId,o=t.domain,t=t.options,r=m.generateEmbedId(),i=t.iframeProps,a=void 0===i?{}:i,i=t.onReady,u=t.onQuestionChanged,s=t.onHeightChanged,c=t.onSubmit,l=t.onEndingButtonClick,d=t.shareGaInstance,n=p.buildIframeSrc({formId:n,domain:o,embedId:r,type:e,options:t}),f=document.createElement("iframe");return f.src=n,f.dataset.testid="iframe",f.style.border="0px",f.allow="microphone;
1 camera",Object.keys(a).forEach(function(e){f.setAttribute(e,a[e])}),f.addEventListener("load",b.triggerIframeRedraw,{once:!0}),window.addEventListener("message",h.getFormReadyHandler(r,i)),window.addEventListener("message",h.getFormQuestionChangedHandler(r,u)),window.addEventListener("message",h.getFormHeightChangedHandler(r,s)),window.addEventListener("message",h.getFormSubmitHandler(r,c)),window.addEventListener("message",h.getFormThemeHandler(r,function(e){var t;null!=e&&e.theme&&(t=document.querySelector(".tf-v1-close-icon"))&&(t.style.color=null==(t=e.theme)?void 0:t.color)})),window.addEventListener("message",h.getThankYouScreenButtonClickHandler(r,l)),"widget"!==e&&window.addEventListener("message",y.dispatchCustomKeyEventFromIframe),d&&window.addEventListener("message",h.getFormReadyHandler(r,function(){v.setupGaInstance(f,r,d)})),{iframe:f,embedId:r,refresh:function(){return g.refreshIframe(f)},focus:function(){var e;null!=(e=f.contentWindow)&&e.postMessage("embed-focus","*")}}}},8866:function(e,t){var n=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),a=[];try{for(;
1(void 0===t||0<t--)&&!(o=i.next()).done;)a.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.generateEmbedId=void 0,t.generateEmbedId=function(){var e=Math.random();return n(String(e).split("."),2)[1]}},8554:function(e,t){var a=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function n(o,r,i){return function(e){var e=e.data,t=e.type,n=e.embedId,e=a(e,["type","embedId"]);t===o&&n===r&&null!=i&&i(e)}}Object.defineProperty(t,"__esModule",{value:!0}),t.getThankYouScreenButtonClickHandler=t.getFormThemeHandler=t.getWelcomeScreenHiddenHandler=t.getFormSubmitHandler=t.getFormHeightChangedHandler=t.getFormQuestionChangedH
1andler=t.getFormReadyHandler=void 0,t.getFormReadyHandler=function(e,t){return n("form-ready",e,t)},t.getFormQuestionChangedHandler=function(e,t){return n("form-screen-changed",e,t)},t.getFormHeightChangedHandler=function(e,t){return n("form-height-changed",e,t)},t.getFormSubmitHandler=function(e,t){return n("form-submit",e,t)},t.getWelcomeScreenHiddenHandler=function(e,t){return n("welcome-screen-hidden",e,t)},t.getFormThemeHandler=function(e,t){return n("form-theme",e,t)},t.getThankYouScreenButtonClickHandler=function(e,t){return n("thank-you-screen-button-click",e,t)}},339:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){e[o=void 0===o?n:o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(1553),t),r(n(7144),t)},5511:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.refreshIframe=void 0,t.refreshIframe=function(e){var t,n;e&&((t=e.src).includes("&refresh")?n=t.split("&refresh#"):(n=t.split("#"))[0]=n[0]+"&refresh",e.src=n.join("#"))}},7144:function(e,o){function n(t,n){return r(void 0,void 0,void 0,function(){return i(this,function(e){return t.code===a&&"function"==typeof n&&(n(),o.removeCustomKeyboardListener()),[2]})})}var r=this&&this.__awaiter||function(e,a,u,s){return new(u=u||Promise)(function(n,t){function o(e){try{i(s.next(e))}catch(e){t(e)}}function r(e){try{i(s.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?n(e.value):((t=e.value)instanceof u?t:new u(function(e){e(t)})).then(o,r)}i((s=s.apply(e,a||[])).next())})},i=this&&this.__generator||function(o,r){var i,a,u,s={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]},e={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(n){return function(e){var t=[n,e];if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,a&&(u=2&t[0]?a.return:t[0]?a.throw||((u=a.return)&&u.call(a),0):a.next)&&!(u=u.call(a,t[1])).done)return u;switch(a=0,(t=u?[2&t[0],u.value]:t)[0]){case 0:case 1:u=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,a=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!((u=0<(u=s.trys).length&&u[u.length-1])||6!==t[0]&&2!==t[0])){s=0;continue}if(3===t[0]&&(!u||t[1]>u[0]&&t[1]<u[3]))s.label=t[1];else if(6===t[0]&&s.label<u[1])s.label=u[1],u=t;else{if(!(u&&s.label<u[2])){u[2]&&s.ops.pop(),s.trys.pop();continue}s.label=u[2],s.ops.push(t)}}t=r.call(o,s)}catch(e){t=[6,e],a=0}finally{i=u=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}},a=(Object.defineProperty(o,"__esModule",{value:!0}),o.dispatchCustomKeyEventFromIframe=o.removeCustomKeyboardListener=o.addCustomKeyboardListener=void 0,"Escape");o.addCustomKeyboardListener=function(t){return window.document.addEventListener("keydown",function(e){return n(e,t)})},o.removeCustomKeyboardListener=function(){return window.document.removeEventListener("keydown",n)},o.dispatchCustomKeyEventFromIframe=function(e){"form-close"===e.data.type&&window.document.dispatchEvent(new KeyboardEvent("keydown",{code:a}))}},2256:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.triggerIframeRedraw=void 0,t.triggerIframeRedraw=function(){this.style.transform="translateZ(0)"}},8939:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getTextColor=void 0;var o=n(2938);t.getTextColor=function(e){var t;return e&&(t=(e=e.startsWith("#")?o.hexRgb(e):(t={red:0,green:0,blue:0},(e=e.match(/\d+/g))&&(t.red=parseInt(e[0],10),t.green=parseInt(e[0],10),t.blue=parseInt(e[0],10)),t)).red,150<Math.round((299*t+587*e.green+114*e.blue)/1e3))?"#000000":"#FFFFFF"}},2698:function(e,t){var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};
1Object.defineProperty(t,"__esModule",{value:!0}),t.getTransitiveSearchParams=void 0,t.getTransitiveSearchParams=function(e){var r=new URL(window.location.href);return"boolean"==typeof e&&e?Object.fromEntries(r.searchParams.entries()):Array.isArray(e)&&0<e.length?e.reduce(function(e,t){var n,o=r.searchParams.get(t);return o?i(i({},e),((n={})[t]=o,n)):e},{}):{}}},8252:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.hasDom=void 0,t.hasDom=function(){return"undefined"!=typeof document&&"undefined"!=typeof window}},2938:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.hexRgb=void 0;var n=new RegExp("[^#a-f\\d]","gi"),o=new RegExp("^#?[a-f\\d]{3}[a-f\\d]?$|^#?[a-f\\d]{6}([a-f\\d]{2})?$","i");t.hexRgb=function(e){if("string"!=typeof e||n.test(e)||!o.test(e))throw new TypeError("Expected a valid hex string");3===(e=4===(e=8===(e=e.replace(/^#/,"")).length?e.slice(0,6):e).length?e.slice(0,3):e).length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);e=Number.parseInt(e,16);return{red:e>>16,green:e>>8&255,blue:255&e}}},863:function(e,o,t){var n=this&&this.__awaiter||function(e,a,u,s){return new(u=u||Promise)(function(n,t){function o(e){try{i(s.next(e))}catch(e){t(e)}}function r(e){try{i(s.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?n(e.value):((t=e.value)instanceof u?t:new u(function(e){e(t)})).then(o,r)}i((s=s.apply(e,a||[])).next())})},r=this&&this.__generator||function(o,r){var i,a,u,s={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]},e={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(n){return function(e){var t=[n,e];if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,a&&(u=2&t[0]?a.return:t[0]?a.throw||((u=a.return)&&u.call(a),0):a.next)&&!(u=u.call(a,t[1])).done)return u;switch(a=0,(t=u?[2&t[0],u.value]:t)[0]){case 0:case 1:u=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,a=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!((u=0<(u=s.trys).length&&u[u.length-1])||6!==t[0]&&2!==t[0])){s=0;continue}if(3===t[0]&&(!u||t[1]>u[0]&&t[1]<u[3]))s.label=t[1];else if(6===t[0]&&s.label<u[1])s.label=u[1],u=t;else{if(!(u&&s.label<u[2])){u[2]&&s.ops.pop(),s.trys.pop();continue}s.label=u[2],s.ops.push(t)}}t=r.call(o,s)}catch(e){t=[6,e],a=0}finally{i=u=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}},i=(Object.defineProperty(o,"__esModule",{value:!0}),o.waitForHubspotCookie=o.getHubspotHiddenFields=o.getHubspotCookieValue=void 0,t(4623));o.getHubspotCookieValue=function(){var e=document.cookie.match(new RegExp("(^| )hubspotutk=([^;]+)"));return e&&e[2]||void 0},o.getHubspotHiddenFields=function(){return{hubspot_page_name:document.title,hubspot_page_url:window.location.href,hubspot_utk:o.getHubspotCookieValue()}},o.waitForHubspotCookie=function(){return n(void 0,void 0,void 0,function(){var t,n;return r(this,function(e){switch(e.label){case 0:t=10,n=0,e.label=1;case 1:return!o.getHubspotCookieValue()&&n<t?[4,i.sleep(250)]:[3,4];case 2:e.sent(),e.label=3;case 3:return n++,[3,1];case 4:return[2]}})})}},9071:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.includeCss=void 0,t.includeCss=function(e){var t,e="https://embed.typeform.com/next/css/"+e;document.querySelector('link[href="'+e+'"]')||((t=document.createElement("link")).rel="stylesheet",t.href=e,document.head.append(t))}},6797:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){e[o=void 0===o?n:o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(3626),t),r(n(339),t),r(n(8252),t),r(n(9071),t),r(n(2346),t),r(n(7377),t),r(n(6563),t),r(n(4527),t),r(n(9533),t),r(n(1451),t),r(n(8972),t),r(n(4748),t),r(n(4392),t),r(n(8939),t),r(n(9917),t),r(n(1987),t),r(n(318),t),r(n(2391),t),r(n(863),t)}
1,2346:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isDefined=void 0,t.isDefined=function(e){return null!=e}},1987:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isVisible=t.isInPage=t.isOpen=void 0,t.isOpen=function(e){return t.isInPage(e)&&t.isVisible(e)},t.isInPage=function(e){return!!e.parentNode},t.isVisible=function(e){return"none"!==e.style.display}},9917:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.lazyInitialize=void 0,t.lazyInitialize=function(e,t){var n=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&(t(),n.unobserve(e.target))})});n.observe(e)}},7377:function(e,r){function i(e){return e||void 0}function a(e){return""===e||"yes"===e||"true"===e}function u(e){return e=e?parseInt(e,10):NaN,isNaN(e)?void 0:e}function s(e){if(e)return e.replace(/\s/g,"").replace(/\\,/g,d).split(",").filter(function(e){return!!e}).map(function(e){return e.replace(d,",")})}var c=this&&this.__assign||function(){return(c=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},l=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),a=[];try{for(;
1(void 0===t||0<t--)&&!(o=i.next()).done;)a.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a},d=(Object.defineProperty(r,"__esModule",{value:!0}),r.loadOptionsFromAttributes=r.transformAttributeValue=r.camelCaseToKebabCase=void 0,r.camelCaseToKebabCase=function(e){return e.split("").map(function(e,t){return e.toUpperCase()===e?(0!==t?"-":"")+e.toLowerCase():e}).join("")},"%ESCAPED_COMMA%");r.transformAttributeValue=function(e,t){var n;switch(t){case"string":return i(e);case"boolean":return a(e);case"integer":return u(e);case"function":var o=e;return"function"==typeof(o=o&&o in window?window[o]:void 0)?o:void 0;case"array":return s(e);case"record":return e?e.replace(/\\,/g,d).split(",").filter(function(e){return!!e}).map(function(e){return e.replace(d,",")}).reduce(function(e,t){var n,o,t=t.match(/^([^=]+)=(.*)$/);return t?(o=(t=l(t,3))[1],t=t[2],c(c({},e),((n={})[o.trim()]=t,n))):e},{}):void 0;case"integerOrBoolean":return null!=(o=u(e))?o:a(e);case"stringOrBoolean":return null!=(n=i(e))?n:a(e);case"arrayOrBoolean":return null!=(n=s(e))?n:a(e);default:throw new Error("Invalid attribute transformation "+t)}},r.loadOptionsFromAttributes=function(n,o){return Object.keys(o).reduce(function(e,t){return c(c({},e),((e={})[t]=r.transformAttributeValue(n.getAttribute("data-tf-"+r.camelCaseToKebabCase(t)),o[t]),e))},{})}},318:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.makeAutoResize=void 0;var o=n(6563);t.makeAutoResize=function(t,n){return void 0===n&&(n=!1),function(){var e=n||o.isMobile();t&&e&&t.style.setProperty("height",window.innerHeight+"px","important")}}},6563:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isFullscreen=t.isMobile=t.isBigScreen=void 0,t.isBigScreen=function(){return 1024<=window.screen.width&&768<=window.screen.height},t.isMobile=function(){return/mobile|tablet|android/i.test(navigator.userAgent.toLowerCase())},t.isFullscreen=function(){return t.isMobile()&&!t.isBigScreen()}},4527:function(e,t,n){var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),a=[];try{for(;
1(void 0===t||0<t--)&&!(o=i.next()).done;)a.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.removeUndefinedKeys=void 0,n(2346));t.removeUndefinedKeys=function(e){return Object.entries(e).filter(function(e){e=r(e,2)[1];return i.isDefined(e)}).reduce(function(e,t){var t=r(t,2),n=t[0],t=t[1];return o(o({},e),((e={})[n]=t,e))},{})}},4748:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.setAutoClose=void 0;var r=n(8554);t.setAutoClose=function(e,t,n){var o;t&&n&&(o="number"==typeof t?t:0,window.addEventListener("message",r.getFormSubmitHandler(e,function(){return setTimeout(n,o)})))}},9533:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.setElementSize=void 0,t.setElementSize=function(e,t){var n=t.width,t=t.height;return n&&(e.style.width=n+"px"),t&&(e.style.height=t+"px"),e}},4392:function(e,s){Object.defineProperty(s,"__esModule",{value:!0}),s.setupGaInstance=s.sendGaIdMessage=void 0,s.sendGaIdMessage=function(e,t,n){var o={embedId:e,gaClientId:t};
1setTimeout(function(){n&&n.contentWindow&&n.contentWindow.postMessage({type:"ga-client-id",data:o},"*")},0)};function c(e){console.error(e)}s.setupGaInstance=function(t,n,e){var o,r,i,a="string"==typeof e?e:void 0;if(window.gtag)(a=a||(()=>{var e;if(window.dataLayer)return(e=window.dataLayer.find(function(e){return 1<e.length&&"config"===e[0]}))&&e[1]})())?(o=!1,window.gtag("get",a,"client_id",function(e){o=!0,s.sendGaIdMessage(n,e,t)}),setTimeout(function(){o||c("Whoops! You enabled the shareGaInstance feature in yourtypeform embed but the tracker with ID "+a+" was not found. Make sure to include Google Analytics Javascript code before the Typeform Embed Javascriptcode in your page and use correct tracker ID. ")},3e3)):c("Whoops! You enabled the shareGaInstance feature in yourtypeform embed but the tracker ID could not be retrieved. Make sure to include Google Analytics Javascript code before the Typeform Embed Javascriptcode in your page and use correct tracker ID. ");else try{r=window.ga.getAll();var u=(i=a)?r.find(function(e){return e.get("trackingId")===i}):r[0];u?s.sendGaIdMessage(n,u.get("clientId"),t):c("Whoops! You enabled the shareGaInstance feature in yourtypeform embed but the tracker with ID "+a+" was not found. Make sure to include Google Analytics Javascript code before the Typeform Embed Javascriptcode in your page and use correct tracker ID. ")}catch(t){c("Whoops! You enabled the shareGaInstance feature in your typeform embed but the Google Analytics object has not been found. Make sure to include Google Analytics Javascript code before the Typeform Embed Javascript code in your page. "),c(t)}}},4623:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.sleep=void 0,t.sleep=function(t){return new Promise(function(e){return setTimeout(e,t)})}},1451:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.unmountElement=void 0,t.unmountElement=function(e){var t;null!=(t=e.parentNode)&&t.removeChild(e)}}},r={},e=function e(t){var n=r[t];return void 0!==n||(n=r[t]={exports:{}},o[t].call(n.exports,n,n.exports,e)),n.exports}(6664);window.tf=e})();
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.