PageSourceSearch

https://andyweirauthor.com/_nuxt/Ly8udFWV.js

js andyweirauthor.com collected 2026-10-02 05:17:16 UTC 51,580 bytes, 13 lines download raw bytes

1import{bw as Y,a9 as $,bz as J}from"./BPlt5jNJ.js";try{let A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},W=new A.Error().stack;W&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[W]="088a6605-a80f-42ee-894e-628a58b99641",A._sentryDebugIdIdentifier="sentry-dbid-088a6605-a80f-42ee-894e-628a58b99641")}catch{}{let A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};A._sentryModuleMetadata=A._sentryModuleMetadata||{},A._sentryModuleMetadata[new A.Error().stack]=Object.assign({},A._sentryModuleMetadata[new A.Error().stack],{"_sentryBundlerPluginAppKey:splash-application":!0})}var z={exports:{}},Q=z.exports,G;function X(){return G||(G=1,(function(A,W){(function(K,B){A.exports=B()})(Q,(function(){return(function(){var K={8027:function(y,e){Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_DOMAIN=e.POPUP_SIZE=e.SLIDER_WIDTH=e.SLIDER_POSITION=e.LIVE_EMBED_ATTRIBUTE=e.SIDETAB_ATTRIBUTE=e.WIDGET_ATTRIBUTE=e.SLIDER_ATTRIBUTE=e.POPUP_ATTRIBUTE=e.POPOVER_ATTRIBUTE=void 0,e.POPOVER_ATTRIBUTE="data-tf-popover",e.POPUP_ATTRIBUTE="data-tf-popup",e.SLIDER_ATTRIBUTE="data-tf-slider",e.WIDGET_ATTRIBUTE="data-tf-widget",e.SIDETAB_ATTRIBUTE="data-tf-sidetab",e.LIVE_EMBED_ATTRIBUTE="data-tf-live",e.SLIDER_POSITION="right",e.SLIDER_WIDTH=800,e.POPUP_SIZE=100,e.DEFAULT_DOMAIN="form.typeform.com"},7528:function(y,e,u){var d=this&&this.__assign||function(){return d=Object.assign||function(o){for(var l,c=1,v=arguments.length;c<v;c++)for(var p in l=arguments[c])Object.prototype.hasOwnProperty.call(l,p)&&(o[p]=l[p]);return o},d.apply(this,arguments)},s=this&&this.__rest||function(o,l){var c={};for(var v in o)Object.prototype.hasOwnProperty.call(o,v)&&l.indexOf(v)<0&&(c[v]=o[v]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function"){var p=0;for(v=Object.getOwnPropertySymbols(o);p<v.length;p++)l.indexOf(v[p])<0&&Object.prototype.propertyIsEnumerable.call(o,v[p])&&(c[v[p]]=o[v[p]])}return c};Object.defineProperty(e,"__esModule",{value:!0}),e.createPopover=void 0;var a=u(6797),r=u(1320),t=function(o,l){var c=o.parentNode;c&&(c.removeChild(o),c.appendChild(l))},i=function(o,l){o===void 0&&(o="span"),l===void 0&&(l="tf-v1-popover-button-icon");var c=document.createElement(o);return c.className="".concat(l," tf-v1-close-icon"),c.innerHTML="&times;",c.dataset.testid=l,c},n={buttonColor:"#3a7685"};e.createPopover=function(o,l){l===void 0&&(l={});var c,v,p,m=d(d({},n),l),f=m.domain,b=s(m,["domain"]),M=(0,a.createIframe)("popover",{formId:o,domain:f,options:b}),F=M.iframe,E=M.embedId,w=M.refresh,h=M.focus,O=(function(T,x){var D=document.createElement("div");return D.className="tf-v1-popover",D.dataset.testid="tf-v1-popover",(0,a.setElementSize)(D,{width:T,height:x})})(b.width,b.height),j=(function(){var T=document.createElement("div");return T.className="tf-v1-popover-wrapper",T.dataset.testid="tf-v1-popover-wrapper",T})(),k=(function(T,x){var D=(0,a.getTextColor)(x),R=document.createElement("div");R.className="tf-v1-popover-button-icon";var N=`<svg class="default" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2    <path d="M21 0H0V9L10.5743 24V16.5H21C22.6567 16.5 24 15.1567 24 13.5V3C24 1.34325 22.6567 0 21 0ZM7.5
3    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
4    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
5    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
6    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="`.concat(D,`"></path>
7  </svg>`),V=T?.startsWith("http");return R.innerHTML=V?"<img alt='popover trigger icon button' src='".concat(T,"'/>"):T??N,R.dataset.testid="default-icon",R})(b.customIcon,b.buttonColor||n.buttonColor),I=(function(){var T=document.createElement("div");T.className="tf-v1-spinner";var x=document.createElement("div");return x.className="tf-v1-popover-button-icon",x.dataset.testid="spinner-icon",x.append(T),x})(),C=i(),P=i("button","tf-v1-popover-close"),_=(function(T,x){x===void 0&&(x={});var D=(0,a.getTextColor)(T),R=document.createElement("button");return R.className="tf-v1-popover-button",R.dataset.testid="tf-v1-popover-button",R.style.backgroundColor=T,R.style.color=D,(0,a.addAttributesToElement)(R,x),R})(b.buttonColor||n.buttonColor,b.buttonProps);(b.container||document.body).append(O),j.append(F),O.append(_),O.append(P),_.append(k);var S=function(){v&&v.parentNode&&(v.classList.add("closing"),setTimeout((function(){(0,a.unmountElement)(v)}),250))};b.tooltip&&b.tooltip.length>0&&(v=(function(T,x){var D=document.createElement("span");D.className="tf-v1-popover-tooltip-close",D.dataset.testid="tf-v1-popover-tooltip-close",D.innerHTML="&times;",D.onclick=x;var R=document.createElement("div");R.className="tf-v1-popover-tooltip-text",R.innerHTML=T;var N=document.createElement("div");return N.className="tf-v1-popover-tooltip",N.dataset.testid="tf-v1-popover-tooltip",N.appendChild(R),N.appendChild(D),N})(b.tooltip,S),O.append(v)),b.notificationDays&&(b.enableSandbox||(0,r.canBuildNotificationDot)(o))&&(p=(0,r.buildNotificationDot)(),_.append(p)),F.onload=function(T){T?.isTrusted&&(O.classList.add("open"),j.style.opacity="1",P.style.opacity="1",t(
7I,C),(0,a.addCustomKeyboardListener)(L))};var g=function(){(0,a.isOpen)(j)||(S(),p&&(p.classList.add("closing"),b.notificationDays&&!b.enableSandbox&&(0,r.saveNotificationDotHideUntilTime)(o,b.notificationDays),setTimeout((function(){(0,a.unmountElement)(p)}),250)),setTimeout((function(){(0,a.isInPage)(j)?(j.style.opacity="0",P.style.opacity="0",j.style.display="flex",setTimeout((function(){O.classList.add("open"),j.style.opacity="1",P.style.opacity="1"})),t(k,C)):(O.append(j),t(k,I),j.style.opacity="0",P.style.opacity="0")})))},L=function(){var T;(0,a.isOpen)(O)&&((0,a.handlePreventReopenOnClose)(b,o),(T=l.onClose)===null||T===void 0||T.call(l),setTimeout((function(){b.keepSession?j.style.display="none":(0,a.unmountElement)(j),O.classList.remove("open"),t(C,k)}),250))};(0,a.setAutoClose)(E,b.autoClose,L);var H=function(){(0,a.isOpen)(j)?L():g()};return _.onclick=(0,a.invokeWithoutDefault)(H),P.onclick=(0,a.invokeWithoutDefault)(L),b.open&&!(0,a.isOpen)(j)&&(c=(0,a.handleCustomOpen)(g,b,o)),{open:g,close:L,toggle:H,refresh:w,focus:h,unmount:function(){(0,a.unmountElement)(O),b.open&&c?.remove&&c.remove()}}}},1797:function(y,e,u){var d=this&&this.__createBinding||(Object.create?function(a,r,t,i){i===void 0&&(i=t);var n=Object.getOwnPropertyDescriptor(r,t);n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(a,i,n)}:function(a,r,t,i){i===void 0&&(i=t),a[i]=r[t]}),s=this&&this.__exportStar||function(a,r){for(var t in a)t==="default"||Object.prototype.hasOwnProperty.call(r,t)||d(r,a,t)};Object.defineProperty(e,"__esModule",{value:!0}),s(u(7528),e),s(u(6100),e)},1320:function(y,e){var u=this&&this.__assign||function(){return u=Object.assign||function(r){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o]);return r},u.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.buildNotificationDot=e.canBuildNotificationDot=e.saveNotificationDotHideUntilTime=void 0;var d="tfNotificationData",s=function(){var r=localStorage.getItem(d);return r?JSON.parse(r):{}},a=function(r){r&&localStorage.setItem(d,JSON.stringify(r))};e.saveNotificationDotHideUntilTime=function(r,t){var i,n=new Date;n.setDate(n.getDate()+t),a(u(u({},s()),((i={})[r]={hideUntilTime:n.getTime()},i)))},e.canBuildNotificationDot=function(r){var t=(function(i){var n;return((n=s()[i])===null||n===void 0?void 0:n.hideUntilTime)||0})(r);return new Date().getTime()>t&&(t&&(function(i){var n=s();delete n[i],a(n)})(r),!0)},e.buildNotificationDot=function(){var r=document.createElement("span");return r.className="tf-v1-popover-unread-dot",r.dataset.testid="tf-v1-popover-unread-dot",r}},6100:function(y,e){Object.defineProperty(e,"__esModule",{value:!0})},9630:function(y,e,u){var d=this&&this.__rest||function(t,i){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&i.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function"){var l=0;for(o=Object.getOwnPropertySymbols(t);l<o.length;l++)i.indexOf(o[l])<0&&Object.prototype.propertyIsEnumerable.call(t,o[l])&&(n[o[l]]=t[o[l]])}return n};Object.defineProperty(e,"__esModule",{value:!0}),e.createPopup=void 0;var s=u(6797),a=u(8027),r=u(6797);e.createPopup=function(t,i){if(i===void 0&&(i={}),!(0,s.hasDom)())return{open:function(){},close:function(){},toggle:function(){},refresh:function(){},focus:function(){},unmount:function(){}};var n,o=i.width,l=i.height,c=i.size,v=c===void 0?a.POPUP_SIZE:c,p=i.onClose,m=i.domain,f=d(i,["width","height","size","onClose","domain"]),b=(0,s.createIframe)("popup",{formId:t,domain:m,options:f}),M=b.iframe,F=b.embedId,E=b.refresh,w=b.focus,h=document.body.style.overflow,O=(function(){var S=document.createElement("div");return S.className="tf-v1-popup",S.dataset.testid="tf-v1-popup",S.style.opacity="0",S})(),j=(function(){var S=document.createElement("div");return S.className="tf-v1-spinner",S})(),k=(function(S,g,L){var H=document.createElement("div");return H.className="tf-v1-iframe-wrapper",H.style.opacity="0",(0,s.isDefined)(S)&&(0,s.isDefined)(g)?(0,s.setElementSize)(H,{width:S,height:g}):(H.style.width="calc(".concat(L,"% - 80px)"),H.style.height="calc(".concat(L,"% - 80px)"),H)})(o,l,v);k.append(M),O.append(j),O.append(k);var I=f.container||document.body;M.onload=function(S){S?.isTrusted&&(k.style.opacity="1",setTimeout((function(){j.style.display="none"}),250),(0,s.addCustomKeyboardListener)(P))};var C=function(){(0,r.isOpen)(O)||((0,r.isInPage)(O)?O.style.display="flex":(j.style.display="block",I.append(O)),document.body.style.overflow="hidden",setTimeout((function(){O.style.opacity="1"})))},P=function(){(0,r.isOpen)(O)&&((0,s.handlePreventReopenOnClose)(f,t),p?.(),O.style.opacity="0",document.body.style.overflow=h,setTimeout((function(){f.keepSession?O.style.display="none":_()}),250))};k.append((function(S){var g=document.createElement("button");return g.className="tf-v1-close tf-v1-close-icon",g.innerHTML="&times;
7",g.ariaLabel="Close",g.onclick=(0,s.invokeWithoutDefault)(S),g})(P)),(0,s.setAutoClose)(F,f.autoClose,P),f.open&&!(0,r.isOpen)(O)&&(n=(0,s.handleCustomOpen)(C,f,t));var _=function(){(0,s.unmountElement)(O),f.open&&n?.remove&&n.remove()};return{open:C,close:P,toggle:function(){(0,r.isOpen)(O)?P():C()},refresh:E,focus:w,unmount:_}}},5970:function(y,e,u){var d=this&&this.__createBinding||(Object.create?function(a,r,t,i){i===void 0&&(i=t);var n=Object.getOwnPropertyDescriptor(r,t);n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(a,i,n)}:function(a,r,t,i){i===void 0&&(i=t),a[i]=r[t]}),s=this&&this.__exportStar||function(a,r){for(var t in a)t==="default"||Object.prototype.hasOwnProperty.call(r,t)||d(r,a,t)};Object.defineProperty(e,"__esModule",{value:!0}),s(u(9630),e),s(u(7394),e)},7394:function(y,e){Object.defineProperty(e,"__esModule",{value:!0})},382:function(y,e,u){var d=this&&this.__assign||function(){return d=Object.assign||function(n){for(var o,l=1,c=arguments.length;l<c;l++)for(var v in o=arguments[l])Object.prototype.hasOwnProperty.call(o,v)&&(n[v]=o[v]);return n},d.apply(this,arguments)},s=this&&this.__rest||function(n,o){var l={};for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&o.indexOf(c)<0&&(l[c]=n[c]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function"){var v=0;for(c=Object.getOwnPropertySymbols(n);v<c.length;v++)o.indexOf(c[v])<0&&Object.prototype.propertyIsEnumerable.call(n,c[v])&&(l[c[v]]=n[c[v]])}return l};Object.defineProperty(e,"__esModule",{value:!0}),e.createSidetab=void 0;var a=u(6797),r={buttonColor:"#3a7685",buttonText:"Launch me"},t=function(n,o){n===void 0&&(n="div"),o===void 0&&(o="tf-v1-sidetab-button-icon");var l=document.createElement(n);return l.className="".concat(o," tf-v1-close-icon"),l.innerHTML="&times;",l.dataset.testid=o,l},i=function(n,o){var l=n.parentNode;l&&(l.removeChild(n),l.appendChild(o))};e.createSidetab=function(n,o){o===void 0&&(o={});var l,c=d(d({},r),o),v=c.domain,p=s(c,["domain"]),m=(0,a.createIframe)("side-tab",{formId:n,domain:v,options:p}),f=m.iframe,b=m.embedId,M=m.refresh,F=m.focus,E=(function(g,L,H,T){var x=document.createElement("div");return x.className="tf-v1-sidetab",x.dataset.testid="tf-v1-sidetab",(0,a.setElementSize)(x,{width:g,height:L}),H!==void 0?(x.style.top="calc(".concat((0,a.getValueWithUnits)(H)," + ").concat((0,a.getValueWithUnits)(L||580)," / 2)"),x.style.bottom="auto"):T!==void 0&&(x.style.top="auto",x.style.bottom="calc(".concat((0,a.getValueWithUnits)(T)," - ").concat((0,a.getValueWithUnits)(L||580)," / 2)")),x})(p.width,p.height,p.top,p.bottom),w=(function(){var g=document.createElement("div");return g.className="tf-v1-sidetab-wrapper",g.dataset.testid="tf-v1-sidetab-wrapper",g})(),h=(function(){var g=document.createElement("div");g.className="tf-v1-spinner";var L=document.createElement("div");return L.className="tf-v1-sidetab-button-icon",L.dataset.testid="spinner-icon",L.append(g),L})(),O=(function(g){var L=g.backgroundColor,H=g.textColor,T=g.width,x=g.height,D=g.align,R=D===void 0?"center":D,N=g.buttonProps,V=N===void 0?{}:N,U=document.createElement("button");return U.className="tf-v1-sidetab-button",U.style.backgroundColor=L,U.style.color=H||(0,a.getTextColor)(L),(0,a.addAttributesToElement)(U,V),(0,a.setElementSize)(U,{width:T,height:x}),x&&(U.style.left="-".concat((0,a.getValueWithUnits)(x))),R==="top"?(U.style.transform="rotate(-90deg) translateX(-100%)",U.style.top="0"):R==="bottom"&&(U.style.transform="rotate(-90deg) translateX(0)",U.style.top="auto",U.style.bottom="-".concat((0,a.getValueWithUnits)(x||48))),U})({backgroundColor:p.buttonColor||r.buttonColor,textColor:p.buttonTextColor,width:p.buttonHeight,height:p.buttonWidth,align:p.buttonAlign,buttonProps:p.buttonProps}),j=(function(g,L){var H=document.createElement("span");return H.className="tf-v1-sidetab-button-text",H.innerHTML=g,L&&(H.style.fontSize=(0,a.getValueWithUnits)(L)),H})(p.buttonText||r.buttonText,p.buttonTextSize),k=(function(g,L,H,T){var x=H||(0,a.getTextColor)(L),D=document.createElement("div");D.className="tf-v1-sidetab-button-icon",T&&(D.style.width=(0,a.getValueWithUnits)(T),D.style.height=(0,a.getValueWithUnits)(T));var R=`<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
8    <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="`.concat(x,`"></path>
9  </svg>`),N=g?.startsWith("http");return D.innerHTML=N?"<img alt='popover trigger icon button' src='".concat(g,"'/>"):g??R,D.dataset.testid="default-icon",D}
9)(p.customIcon,p.buttonColor||r.buttonColor,p.buttonTextColor,p.buttonTextSize),I=t(),C=t("button","tf-v1-sidetab-close");(p.container||document.body).append(E),w.append(f),E.append(O),E.append(C),O.append(k),O.append(j),setTimeout((function(){E.classList.add("ready")}),250),f.onload=function(g){g?.isTrusted&&(E.classList.add("open"),i(h,I),(0,a.addCustomKeyboardListener)(_))};var P=function(){(0,a.isOpen)(w)||((0,a.isInPage)(w)?(w.style.display="flex",E.classList.add("open"),i(k,I)):(E.append(w),i(k,h)))},_=function(){var g;(0,a.isOpen)(w)&&((0,a.handlePreventReopenOnClose)(p,n),(g=p.onClose)===null||g===void 0||g.call(p),E.classList.remove("open"),setTimeout((function(){p.keepSession?w.style.display="none":(0,a.unmountElement)(w),i(I,k)}),250))};(0,a.setAutoClose)(b,p.autoClose,_);var S=function(){(0,a.isOpen)(w)?_():P()};return O.onclick=(0,a.invokeWithoutDefault)(S),C.onclick=(0,a.invokeWithoutDefault)(_),p.open&&!(0,a.isOpen)(w)&&(l=(0,a.handleCustomOpen)(P,p,n)),{open:P,close:_,toggle:S,refresh:M,focus:F,unmount:function(){(0,a.unmountElement)(E),p.open&&l?.remove&&l.remove()}}}},1434:function(y,e,u){var d=this&&this.__createBinding||(Object.create?function(a,r,t,i){i===void 0&&(i=t);var n=Object.getOwnPropertyDescriptor(r,t);n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(a,i,n)}:function(a,r,t,i){i===void 0&&(i=t),a[i]=r[t]}),s=this&&this.__exportStar||function(a,r){for(var t in a)t==="default"||Object.prototype.hasOwnProperty.call(r,t)||d(r,a,t)};Object.defineProperty(e,"__esModule",{value:!0}),s(u(382),e),s(u(7668),e)},7668:function(y,e){Object.defineProperty(e,"__esModule",{value:!0})},2603:function(y,e,u){var d=this&&this.__rest||function(r,t){var i={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&t.indexOf(n)<0&&(i[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function"){var o=0;for(n=Object.getOwnPropertySymbols(r);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(r,n[o])&&(i[n[o]]=r[n[o]])}return i};Object.defineProperty(e,"__esModule",{value:!0}),e.createSlider=void 0;var s=u(6797),a=u(8027);e.createSlider=function(r,t){if(t===void 0&&(t={}),!(0,s.hasDom)())return{open:function(){},close:function(){},toggle:function(){},refresh:function(){},focus:function(){},unmount:function(){}};var i,n=t.position,o=n===void 0?a.SLIDER_POSITION:n,l=t.width,c=l===void 0?a.SLIDER_WIDTH:l,v=t.onClose,p=t.domain,m=d(t,["position","width","onClose","domain"]),f=(0,s.createIframe)("slider",{formId:r,domain:p,options:m}),b=f.iframe,M=f.embedId,F=f.refresh,E=f.focus,w=document.body.style.overflow,h=(function(_){var S=document.createElement("div");return S.className="tf-v1-slider ".concat(_),S.dataset.testid="tf-v1-slider",S.style.opacity="0",S})(o),O=(function(){var _=document.createElement("div");return _.className="tf-v1-spinner",_})(),j=(function(_,S){var g=document.createElement("div");return g.className="tf-v1-iframe-wrapper",g.style[_]="-100%",(0,s.setElementSize)(g,{width:S})})(o,c);j.append(b),h.append(O),h.append(j);var k=m.container||document.body;b.onload=function(_){_?.isTrusted&&(j.style[o]="0",setTimeout((function(){O.style.display="none"}),500),(0,s.addCustomKeyboardListener)(C))};var I=function(){(0,s.isOpen)(h)||((0,s.isInPage)(h)?(h.style.display="flex",setTimeout((function(){j.style[o]="0"}))):(k.append(h),O.style.display="block"),document.body.style.overflow="hidden",setTimeout((function(){h.style.opacity="1"})))},C=function(){(0,s.isOpen)(h)&&((0,s.handlePreventReopenOnClose)(m,r),v?.(),h.style.opacity="0",j.style[o]="-100%",document.body.style.overflow=w,setTimeout((function(){m.keepSession?h.style.display="none":P()}),500))};(0,s.setAutoClose)(M,m.autoClose,C),j.append((function(_){var S=document.createElement("button");return S.className="tf-v1-close tf-v1-close-icon",S.innerHTML="&times;",S.ariaLabel="Close",S.onclick=(0,s.invokeWithoutDefault)(_),S})(C)),m.open&&!(0,s.isOpen)(h)&&(i=(0,s.handleCustomOpen)(I,m,r));var P=function(){(0,s.unmountElement)(h),m.open&&i?.remove&&i.remove()};return{open:I,close:C,toggle:function(){(0,s.isOpen)(h)?C():I()},refresh:F,focus:E,unmount:P}}},4071:function(y,e,u){var d=this&&this.__createBinding||(Object.create?function(a,r,t,i){i===void 0&&(i=t);var n=Object.getOwnPropertyDescriptor(r,t);
9n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(a,i,n)}:function(a,r,t,i){i===void 0&&(i=t),a[i]=r[t]}),s=this&&this.__exportStar||function(a,r){for(var t in a)t==="default"||Object.prototype.hasOwnProperty.call(r,t)||d(r,a,t)};Object.defineProperty(e,"__esModule",{value:!0}),s(u(2603),e),s(u(3162),e)},3162:function(y,e){Object.defineProperty(e,"__esModule",{value:!0})},718:function(y,e,u){var d=this&&this.__rest||function(n,o){var l={};for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&o.indexOf(c)<0&&(l[c]=n[c]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function"){var v=0;for(c=Object.getOwnPropertySymbols(n);v<c.length;v++)o.indexOf(c[v])<0&&Object.prototype.propertyIsEnumerable.call(n,c[v])&&(l[c[v]]=n[c[v]])}return l},s=this&&this.__read||function(n,o){var l=typeof Symbol=="function"&&n[Symbol.iterator];if(!l)return n;var c,v,p=l.call(n),m=[];try{for(;(o===void 0||o-- >0)&&!(c=p.next()).done;)m.push(c.value)}catch(f){v={error:f}}finally{try{c&&!c.done&&(l=p.return)&&l.call(p)}finally{if(v)throw v.error}}return m};Object.defineProperty(e,"__esModule",{value:!0}),e.createWidget=void 0;var a=u(6797),r=u(8554),t=u(2313),i=u(1126);e.createWidget=function(n,o){if(!(0,a.hasDom)())return{refresh:function(){},focus:function(){},unmount:function(){}};var l=o.domain,c=d(o,["domain"]);c.inlineOnMobile=o.inlineOnMobile||o.fullScreen,c.inlineOnMobile||!c.forceTouch&&!(0,a.isFullscreen)()||(c.displayAsFullScreenModal=!0,c.forceTouch=!0,c.autoResize=!1);var v=(0,a.createIframe)("widget",{formId:n,domain:l,options:c}),p=v.embedId,m=v.iframe,f=v.refresh,b=v.focus,M=(0,t.buildWidget)(m,c.width,c.height);if(c.fullScreen&&(0,i.overrideFullScreenStyles)(o.container,m),c.autoResize){var F=s(typeof c.autoResize=="string"?c.autoResize.split(",").map((function(P){return parseInt(P)})):[],2),E=F[0],w=F[1];window.addEventListener("message",(0,r.getFormHeightChangedHandler)(p,(function(P){var _=Math.max(P.height,E||0);w&&(_=Math.min(_,w)),o.container.style.height="".concat(_,"px")})))}c.autoFocus&&window.addEventListener("message",(0,r.getFormReadyHandler)(p,(function(){setTimeout((function(){b()}),1e3)})));var h,O=function(){return o.container.append(M)};if(o.container.innerHTML="",o.lazy?(0,a.lazyInitialize)(o.container,O):O(),c.displayAsFullScreenModal){var j="",k=o.container,I=k.style.height;window.addEventListener("message",(0,r.getWelcomeScreenHiddenHandler)(p,(function(){k.classList.add("tf-v1-widget-fullscreen"),o.opacity!==void 0&&(k.style.backgroundColor=j)}))),window.addEventListener("message",(0,r.getFormThemeHandler)(p,(function(P){var _;j=(0,a.changeColorOpacity)((_=P?.theme)===null||_===void 0?void 0:_.backgroundColor)})));var C=((h=document.createElement("button")).className="tf-v1-widget-close tf-v1-close-icon",h.innerHTML="&times;",h.ariaLabel="Close",h);C.onclick=(0,a.invokeWithoutDefault)((function(){var P;if(k.style.height=I,(P=o.onClose)===null||P===void 0||P.call(o),k.classList.remove("tf-v1-widget-fullscreen"),k.style.backgroundColor="",o.keepSession){var _=document.createElement("div");_.className="tf-v1-widget-iframe-overlay",_.onclick=function(){k.classList.add("tf-v1-widget-fullscreen"),(0,a.unmountElement)(_)},M.append(_)}else o.container.innerHTML="",O(),k.append(C)})),k.append(C)}return{refresh:f,focus:b,unmount:function(){(0,a.unmountElement)(M)}}}},1419:function(y,e,u){Object.defineProperty(e,"__esModule",{value:!0}),e.buildWidget=void 0;var d=u(6797);e.buildWidget=function(s,a,r){var t=document.createElement("div");return t.className="tf-v1-widget",t.dataset.testid="tf-v1-widget",t.append(s),(0,d.setElementSize)(t,{width:a,height:r})}},2313:function(y,e,u){var d=this&&this.__createBinding||(Object.create?function(a,r,t,i){i===void 0&&(i=t);var n=Object.getOwnPropertyDescriptor(r,t);n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(a,i,n)}:function(a,r,t,i){i===void 0&&(i=t),a[i]=r[t]}),s=this&&this.__exportStar||function(a,r){for(var t in a)t==="default"||Object.prototype.hasOwnProperty.call(r,t)||d(r,a,t)};
9Object.defineProperty(e,"__esModule",{value:!0}),s(u(1419),e)},1126:function(y,e){Object.defineProperty(e,"__esModule",{value:!0}),e.overrideFullScreenStyles=void 0,e.overrideFullScreenStyles=function(u,d){Object.assign(u.style,{zIndex:"10001",position:"absolute",top:"0",left:"0",width:"100%",height:"100%"}),d.style.borderRadius="0",Object.assign(document.body.style,{overflow:"hidden"})}},9321:function(y,e,u){var d=this&&this.__createBinding||(Object.create?function(a,r,t,i){i===void 0&&(i=t);var n=Object.getOwnPropertyDescriptor(r,t);n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(a,i,n)}:function(a,r,t,i){i===void 0&&(i=t),a[i]=r[t]}),s=this&&this.__exportStar||function(a,r){for(var t in a)t==="default"||Object.prototype.hasOwnProperty.call(r,t)||d(r,a,t)};Object.defineProperty(e,"__esModule",{value:!0}),s(u(718),e),s(u(4058),e)},4058:function(y,e){Object.defineProperty(e,"__esModule",{value:!0})},1920:function(y,e,u){var d=this&&this.__createBinding||(Object.create?function(a,r,t,i){i===void 0&&(i=t);var n=Object.getOwnPropertyDescriptor(r,t);n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(a,i,n)}:function(a,r,t,i){i===void 0&&(i=t),a[i]=r[t]}),s=this&&this.__exportStar||function(a,r){for(var t in a)t==="default"||Object.prototype.hasOwnProperty.call(r,t)||d(r,a,t)};Object.defineProperty(e,"__esModule",{value:!0}),s(u(1797),e),s(u(5970),e),s(u(4071),e),s(u(9321),e),s(u(1434),e)},5084:function(y,e,u){Object.defineProperty(e,"__esModule",{value:!0}),e.addAttributesToElement=void 0;var d=u(7377);e.addAttributesToElement=function(s,a){a===void 0&&(a={}),Object.keys(a).forEach((function(r){s.setAttribute((0,d.camelCaseToKebabCase)(r),a[r])}))}},3626:function(y,e,u){var d=this&&this.__assign||function(){return d=Object.assign||function(l){for(var c,v=1,p=arguments.length;v<p;v++)for(var m in c=arguments[v])Object.prototype.hasOwnProperty.call(c,m)&&(l[m]=c[m]);return l},d.apply(this,arguments)},s=this&&this.__read||function(l,c){var v=typeof Symbol=="function"&&l[Symbol.iterator];if(!v)return l;var p,m,f=v.call(l),b=[];try{for(;(c===void 0||c-- >0)&&!(p=f.next()).done;)b.push(p.value)}catch(M){m={error:M}}finally{try{p&&!p.done&&(v=f.return)&&v.call(f)}finally{if(m)throw m.error}}return b};Object.defineProperty(e,"__esModule",{value:!0}),e.buildIframeSrc=void 0;var a=u(8027),r=u(4527),t=u(2346),i=u(2698),n=u(863),o={widget:"embed-widget",popup:"popup-blank",slider:"popup-drawer",popover:"popup-popover","side-tab":"popup-side-panel"};e.buildIframeSrc=function(l){var c=l.domain,v=l.formId,p=l.type,m=l.embedId,f=l.options,b=(function(E,w,h){var O=h.transitiveSearchParams,j=h.source,k=h.medium,I=h.mediumVersion,C=h.hideFooter,P=h.hideHeaders,_=h.opacity,S=h.disableTracking,g=h.enableSandbox,L=h.shareGaInstance,H=h.forceTouch,T=h.displayAsFullScreenModal,x=h.tracking,D=h.redirectTarget,R=h.autoResize,N=h.disableScroll,V=h.onEndingButtonClick,U=h.noHeading,Z=h.noScrollbars,q=(0,i.getTransitiveSearchParams)(O);return d(d(d({},{"typeform-embed-id":w,"typeform-embed":o[E],"typeform-source":j,"typeform-medium":k,"typeform-medium-version":I,"embed-hide-footer":C?"true":void 0,"embed-hide-headers":P?"true":void 0,"embed-opacity":_,"disable-tracking":S||g?"true":void 0,"__dangerous-disable-submissions":g?"true":void 0,"share-ga-instance":L?"true":void 0,"force-touch":H?"true":void 0,"add-placeholder-ws":E==="widget"&&T?"true":void 0,"typeform-embed-redirect-target":D,"typeform-embed-handles-redirect":1,"typeform-embed-auto-resize":R?"true":void 0,"typeform-embed-disable-scroll":N?"true":void 0,"typeform-embed-handle-ending-button-click":V?"true":void 0,"typeform-embed-no-heading":U?"true":void 0,"typeform-embed-no-scrollbars":Z?"true":void 0}),q),x)})(p,m,(function(E){return E.noHeading||(E.noHeading=document.querySelectorAll("h1").length>0),d(d({},{source:(w=window?.location)===null||w===void 0?void 0:w.hostname.replace(/^www\./,""),medium:"embed-sdk",mediumVersion:"next"}),(0,r.removeUndefinedKeys)(E));var w})(f)),M=(function(E,w){return w===void 0&&(w=a.DEFAULT_DOMAIN),E.startsWith("http://")||E.startsWith("https://")?new URL(E):new URL("https://".concat(w,"/to/").concat(E))})(v,c);if(Object.entries(b).filter((function(E){var w=s(E,2)[1];return(0,t.isDefined)(w)}
9)).forEach((function(E){var w=s(E,2),h=w[0],O=w[1];M.searchParams.set(h,O)})),f.hubspot){var F=(0,n.getHubspotHiddenFields)();f.hidden=d(d({},f.hidden),F)}return M.hash=(function(E,w){var h=new URLSearchParams;w.hidden&&Object.entries(w.hidden).filter((function(I){var C=s(I,2)[1];return(0,t.isDefined)(C)&&C!==""})).forEach((function(I){var C=s(I,2),P=C[0],_=C[1];typeof w.transitiveSearchParams=="boolean"&&E.searchParams.delete(P),h.set(P,_)}));var O=(function(I){if(!I)return null;var C=Object.keys(I).at(0),P=C&&I[C]||void 0;return C===void 0||P===void 0?null:{key:"answers-".concat(C),value:P}})(w.preselect);if(O){var j=O.key,k=O.value;h.set(j,k)}return h.toString()})(M,f),M.href}},2391:function(y,e){Object.defineProperty(e,"__esModule",{value:!0}),e.changeColorOpacity=void 0,e.changeColorOpacity=function(u,d){return u===void 0&&(u=""),d===void 0&&(d=255),u.startsWith("rgba(")?u?.replace(/, [\d.]+\)$/,", ".concat(d,")")):u}},8972:function(y,e){Object.defineProperty(e,"__esModule",{value:!0}),e.handleCustomOpen=e.handlePreventReopenOnClose=void 0;var u={remove:function(){}};e.handlePreventReopenOnClose=function(a,r){a.preventReopenOnClose&&s(r)},e.handleCustomOpen=function(a,r,t){var i=r.open,n=r.openValue,o=r.preventReopenOnClose,l=(function(c,v,p,m){return function(){var f,b;if(!(m&&d(v)||p==="all"&&(b=document.querySelector(".tf-v1-popup, .tf-v1-slider, .tf-v1-popover-wrapper, .tf-v1-sidetab-wrapper"),b?.offsetHeight||b?.offsetWidth||((f=b?.getClientRects())===null||f===void 0?void 0:f.length))||p==="same"&&(function(M){var F=document.querySelectorAll(".tf-v1-popup, .tf-v1-slider, .tf-v1-popover-wrapper, .tf-v1-sidetab-wrapper");return Array.from(F).some((function(E){var w,h=(w=E.querySelector("iframe"))===null||w===void 0?void 0:w.src;return h?.includes("typeform.com/to/".concat(M))||h?.startsWith(M)}))})(v)))return c()}})(a,t,r.respectOpenModals,o);switch(i){case"load":return l(),u;case"exit":return n?(function(c,v){var p=0,m=function(f){f.clientY<c&&f.clientY<p?(document.removeEventListener("mousemove",m,!0),v()):p=f.clientY};return document.addEventListener("mousemove",m,!0),{remove:function(){return document.removeEventListener("mousemove",m,!0)}}})(n,l):u;case"time":return setTimeout((function(){l()}),n),u;case"scroll":return n?(function(c,v){function p(){var m=window.pageYOffset||document.documentElement.scrollTop,f=document.documentElement.clientTop||0,b=document.documentElement.scrollHeight,M=m-f,F=M/b*100,E=M+window.innerHeight>=b;(F>=c||E)&&(v(),document.removeEventListener("scroll",p))}return document.addEventListener("scroll",p),{remove:function(){return document.removeEventListener("scroll",p)}}})(n,l):u;default:return u}};var d=function(a){return document.cookie.includes("tf-".concat(a,"-closed=true"))},s=function(a){document.cookie="tf-".concat(a,"-closed=true;Path=/")}},1553:function(y,e,u){Object.defineProperty(e,"__esModule",{value:!0}),e.createIframe=void 0;var d=u(3626),s=u(6797),a=u(8866),r=u(8554),t=u(2256),i=u(7144),n=u(5511);e.createIframe=function(o,l){var c=l.formId,v=l.domain,p=l.options,m=(0,a.generateEmbedId)(),f=p.iframeProps,b=f===void 0?{}:f,M=p.onReady,F=p.onStarted,E=p.onQuestionChanged,w=p.onHeightChanged,h=p.onSubmit,O=p.onEndingButtonClick,j=p.shareGaInstance,k=(0,d.buildIframeSrc)({formId:c,domain:v,embedId:m,type:o,options:p}),I=document.createElement("iframe");return I.src=k,I.dataset.testid="iframe",I.style.border="0px",I.allow="microphone; camera",(0,s.addAttributesToElement)(I,b),I.addEventListener("load",t.triggerIframeRedraw,{once:!0}),window.addEventListener("message",(0,r.getFormReadyHandler)(m,M)),window.addEventListener("message",(0,r.getFormStartedHandler)(m,F)),window.addEventListener("message",(0,r.getFormQuestionChangedH
9andler)(m,E)),window.addEventListener("message",(0,r.getFormHeightChangedHandler)(m,w)),window.addEventListener("message",(0,r.getFormSubmitHandler)(m,h)),window.addEventListener("message",(0,r.getFormThemeHandler)(m,(function(C){var P;if(C?.theme){var _=document.querySelector(".tf-v1-close-icon");_&&(_.style.color=(P=C.theme)===null||P===void 0?void 0:P.color)}}))),window.addEventListener("message",(0,r.getThankYouScreenButtonClickHandler)(m,O)),window.addEventListener("message",(0,r.getRedirectHandler)(m,I)),o!=="widget"&&window.addEventListener("message",i.dispatchCustomKeyEventFromIframe),j&&window.addEventListener("message",(0,r.getFormReadyHandler)(m,(function(){(0,s.setupGaInstance)(I,m,j)}))),{iframe:I,embedId:m,refresh:function(){return(0,n.refreshIframe)(I)},focus:function(){var C;(C=I.contentWindow)===null||C===void 0||C.postMessage("embed-focus","*")}}}},8866:function(y,e){var u=this&&this.__read||function(d,s){var a=typeof Symbol=="function"&&d[Symbol.iterator];if(!a)return d;var r,t,i=a.call(d),n=[];try{for(;(s===void 0||s-- >0)&&!(r=i.next()).done;)n.push(r.value)}catch(o){t={error:o}}finally{try{r&&!r.done&&(a=i.return)&&a.call(i)}finally{if(t)throw t.error}}return n};Object.defineProperty(e,"__esModule",{value:!0}),e.generateEmbedId=void 0,e.generateEmbedId=function(){var d=Math.random();return u(String(d).split("."),2)[1]}},8554:function(y,e,u){var d=this&&this.__rest||function(t,i){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&i.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function"){var l=0;for(o=Object.getOwnPropertySymbols(t);l<o.length;l++)i.indexOf(o[l])<0&&Object.prototype.propertyIsEnumerable.call(t,o[l])&&(n[o[l]]=t[o[l]])}return n};Object.defineProperty(e,"__esModule",{value:!0}),e.getRedirectHandler=e.getThankYouScreenButtonClickHandler=e.getFormThemeHandler=e.getWelcomeScreenHiddenHandler=e.getFormSubmitHandler=e.getFormHeightChangedHandler=e.getFormQuestionChangedH
9andler=e.getFormStartedHandler=e.getFormReadyHandler=void 0;var s=u(8743);e.getFormReadyHandler=function(t,i){return r("form-ready",t,i)},e.getFormStartedHandler=function(t,i){return r("form-started",t,i)},e.getFormQuestionChangedHandler=function(t,i){return r("form-screen-changed",t,i)},e.getFormHeightChangedHandler=function(t,i){return r("form-height-changed",t,i)},e.getFormSubmitHandler=function(t,i){return r("form-submit",t,i)},e.getWelcomeScreenHiddenHandler=function(t,i){return r("welcome-screen-hidden",t,i)},e.getFormThemeHandler=function(t,i){return r("form-theme",t,i)},e.getThankYouScreenButtonClickHandler=function(t,i){return r("thank-you-screen-button-click",t,i)},e.getRedirectHandler=function(t,i){return r(["redirect-after-submit","thank-you-screen-redirect"],t,(0,s.handleFormRedirect)(i))};var a=function(t,i){return Array.isArray(t)?t.includes(i):t===i};function r(t,i,n){return function(o){var l=o.data,c=l.type,v=l.embedId,p=d(l,["type","embedId"]);a(t,c)&&v===i&&n?.(p)}}},8743:function(y,e){Object.defineProperty(e,"__esModule",{value:!0}),e.handleFormRedirect=void 0,e.handleFormRedirect=function(u){return function(d){var s,a,r=d.url,t=d.target;if(r)switch(t===void 0?"_parent":t){case"_self":u.src=(s=u.src,(a=r).includes("#")&&a.startsWith("".concat(s,"#"))?a.includes("?")?a.replace("#","&tf-embed-ts=".concat(Date.now(),"#")):a.replace("#","?tf-embed-ts=".concat(Date.now(),"#")):a);break;case"_blank":window.open(r,"_blank");break;case"_top":var i=document.createElement("a");i.href=r,i.target="_top",document.body.appendChild(i),i.click(),document.body.removeChild(i);break;default:window.location.href=r}}}},339:function(y,e,u){var d=this&&this.__createBinding||(Object.create?function(a,r,t,i){i===void 0&&(i=t);var n=Object.getOwnPropertyDescriptor(r,t);n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(a,i,n)}:function(a,r,t,i){i===void 0&&(i=t),a[i]=r[t]}),s=this&&this.__exportStar||function(a,r){for(var t in a)t==="default"||Object.prototype.hasOwnProperty.call(r,t)||d(r,a,t)};Object.defineProperty(e,"__esModule",{value:!0}),s(u(1553),e),s(u(7144),e)},5511:function(y,e){Object.defineProperty(e,"__esModule",{value:!0}),e.refreshIframe=void 0,e.refreshIframe=function(u){if(u){var d=u.src;if(d.includes("&refresh")){var s=d.split("&refresh#");u.src=s.join("#")}else(s=d.split("#"))[0]="".concat(s[0],"&refresh"),u.src=s.join("#")}}},7144:function(y,e){var u=this&&this.__awaiter||function(r,t,i,n){return new(i||(i=Promise))((function(o,l){function c(m){try{p(n.next(m))}catch(f){l(f)}}function v(m){try{p(n.throw(m))}catch(f){l(f)}}function p(m){var f;m.done?o(m.value):(f=m.value,f instanceof i?f:new i((function(b){b(f)}))).then(c,v)}p((n=n.apply(r,t||[])).next())}))},d=this&&this.__generator||function(r,t){var i,n,o,l,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return l={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function v(p){return function(m){return(function(f){if(i)throw new TypeError("Generator is already executing.");for(;l&&(l=0,f[0]&&(c=0)),c;)try{if(i=1,n&&(o=2&f[0]?n.return:f[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,f[1])).done)return o;switch(n=0,o&&(f=[2&f[0],o.value]),f[0]){case 0:case 1:o=f;break;case 4:return c.label++,{value:f[1],done:!1};case 5:c.label++,n=f[1],f=[0];continue;case 7:f=c.ops.pop(),c.trys.pop();continue;default:if(!((o=(o=c.trys).length>0&&o[o.length-1])||f[0]!==6&&f[0]!==2)){c=0;continue}if(f[0]===3&&(!o||f[1]>o[0]&&f[1]<o[3])){c.label=f[1];break}if(f[0]===6&&c.label<o[1]){c.label=o[1],o=f;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(f);break}o[2]&&c.ops.pop(),c.trys.pop();continue}f=t.call(r,c)}catch(b){f=[6,b],n=0}finally{i=o=0}if(5&f[0])throw f[1];return{value:f[0]?f[1]:void 0,done:!0}})([p,m])}}};Object.defineProperty(e,"__esModule",{value:!0}),e.dispatchCustomKeyEventFromIframe=e.removeCustomKeyboardListener=e.addCustomKeyboardListener=void 0;var s="Escape",a=function(r,t){return u(void 0,void 0,void 0,(function(){return d(this,(function(i){return r.code===s&&typeof t=="function"&&(t(),(0,e.removeCustomKeyboardListener)()),[2]}))}
9))};e.addCustomKeyboardListener=function(r){return window.document.addEventListener("keydown",(function(t){return a(t,r)}))},e.removeCustomKeyboardListener=function(){return window.document.removeEventListener("keydown",a)},e.dispatchCustomKeyEventFromIframe=function(r){r.data.type==="form-close"&&window.document.dispatchEvent(new KeyboardEvent("keydown",{code:s}))}},2256:function(y,e){Object.defineProperty(e,"__esModule",{value:!0}),e.triggerIframeRedraw=void 0,e.triggerIframeRedraw=function(){this.style.transform="translateZ(0)"}},8939:function(y,e,u){Object.defineProperty(e,"__esModule",{value:!0}),e.getTextColor=void 0;var d=u(2938);e.getTextColor=function(s){if(!s)return"#FFFFFF";var a=s.startsWith("#")?(0,d.hexRgb)(s):(function(n){var o={red:0,green:0,blue:0},l=n.match(/\d+/g);return l&&(o.red=parseInt(l[0],10),o.green=parseInt(l[0],10),o.blue=parseInt(l[0],10)),o})(s),r=a.red,t=a.green,i=a.blue;return Math.round((299*r+587*t+114*i)/1e3)>150?"#000000":"#FFFFFF"}},2698:function(y,e){var u=this&&this.__assign||function(){return u=Object.assign||function(d){for(var s,a=1,r=arguments.length;a<r;a++)for(var t in s=arguments[a])Object.prototype.hasOwnProperty.call(s,t)&&(d[t]=s[t]);return d},u.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.getTransitiveSearchParams=void 0,e.getTransitiveSearchParams=function(d){var s=new URL(window.location.href);return typeof d=="boolean"&&d?Object.fromEntries(s.searchParams.entries()):Array.isArray(d)&&d.length>0?d.reduce((function(a,r){var t,i=s.searchParams.get(r);return i?u(u({},a),((t={})[r]=i,t)):a}),{}):{}}},8252:function(y,e){Object.defineProperty(e,"__esModule",{value:!0}),e.hasDom=void 0,e.hasDom=function(){return typeof document<"u"&&typeof window<"u"}},2938:function(y,e){Object.defineProperty(e,"__esModule",{value:!0}),e.hexRgb=void 0;var u="a-f\\d",d="#?[".concat(u,"]{3}[").concat(u,"]?"),s="#?[".concat(u,"]{6}([").concat(u,"]{2})?"),a=new RegExp("[^#".concat(u,"]"),"gi"),r=new RegExp("^".concat(d,"$|^").concat(s,"$"),"i");e.hexRgb=function(t){if(typeof t!="string"||a.test(t)||!r.test(t))throw new TypeError("Expected a valid hex string");(t=t.replace(/^#/,"")).length===8&&(t=t.slice(0,6)),t.length===4&&(t=t.slice(0,3)),t.length===3&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]);var i=Number.parseInt(t,16);return{red:i>>16,green:i>>8&255,blue:255&i}}},863:function(y,e,u){var d=this&&this.__awaiter||function(r,t,i,n){return new(i||(i=Promise))((function(o,l){function c(m){try{p(n.next(m))}catch(f){l(f)}}function v(m){try{p(n.throw(m))}catch(f){l(f)}}function p(m){var f;m.done?o(m.value):(f=m.value,f instanceof i?f:new i((function(b){b(f)}))).then(c,v)}p((n=n.apply(r,t||[])).next())}))},s=this&&this.__generator||function(r,t){var i,n,o,l,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return l={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function v(p){return function(m){return(function(f){if(i)throw new TypeError("Generator is already executing.");for(;l&&(l=0,f[0]&&(c=0)),c;)try{if(i=1,n&&(o=2&f[0]?n.return:f[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,f[1])).done)return o;switch(n=0,o&&(f=[2&f[0],o.value]),f[0]){case 0:case 1:o=f;break;case 4:return c.label++,{value:f[1],done:!1};case 5:c.label++,n=f[1],f=[0];continue;case 7:f=c.ops.pop(),c.trys.pop();continue;default:if(!((o=(o=c.trys).length>0&&o[o.length-1])||f[0]!==6&&f[0]!==2)){c=0;continue}if(f[0]===3&&(!o||f[1]>o[0]&&f[1]<o[3])){c.label=f[1];break}if(f[0]===6&&c.label<o[1]){c.label=o[1],o=f;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(f);break}o[2]&&c.ops.pop(),c.trys.pop();continue}f=t.call(r,c)}catch(b){f=[6,b],n=0}finally{i=o=0}if(5&f[0])throw f[1];return{value:f[0]?f[1]:void 0,done:!0}})([p,m])}}};Object.defineProperty(e,"__esModule",{value:!0}),e.waitForHubspotCookie=e.getHubspotHiddenFields=e.getHubspotCookieValue=void 0;var a=u(4623);e.getHubspotCookieValue=function(){var r=document.cookie.match(new RegExp("(^| )".concat("hubspotutk","=([^;]+)")));return r&&r[2]||void 0},e.getHubspotHiddenFields=function(){return{hubspot_page_name:document.title,hub
9spot_page_url:window.location.href,hubspot_utk:(0,e.getHubspotCookieValue)()}},e.waitForHubspotCookie=function(){return d(void 0,void 0,void 0,(function(){var r,t;return s(this,(function(i){switch(i.label){case 0:r=10,t=0,i.label=1;case 1:return!(0,e.getHubspotCookieValue)()&&t<r?[4,(0,a.sleep)(250)]:[3,4];case 2:i.sent(),i.label=3;case 3:return t++,[3,1];case 4:return[2]}}))}))}},9071:function(y,e){Object.defineProperty(e,"__esModule",{value:!0}),e.includeCss=void 0,e.includeCss=function(u){var d=(function(a){return"".concat("https://embed.typeform.com/next/css/").concat(a)})(u);if(!document.querySelector('link[href="'.concat(d,'"]'))){var s=document.createElement("link");s.rel="stylesheet",s.href=d,document.head.append(s)}}},6797:function(y,e,u){var d=this&&this.__createBinding||(Object.create?function(a,r,t,i){i===void 0&&(i=t);var n=Object.getOwnPropertyDescriptor(r,t);n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(a,i,n)}:function(a,r,t,i){i===void 0&&(i=t),a[i]=r[t]}),s=this&&this.__exportStar||function(a,r){for(var t in a)t==="default"||Object.prototype.hasOwnProperty.call(r,t)||d(r,a,t)};Object.defineProperty(e,"__esModule",{value:!0}),s(u(3626),e),s(u(339),e),s(u(8252),e),s(u(9071),e),s(u(2346),e),s(u(7377),e),s(u(6563),e),s(u(4527),e),s(u(9533),e),s(u(1451),e),s(u(8972),e),s(u(4748),e),s(u(4392),e),s(u(8939),e),s(u(9917),e),s(u(1987),e),s(u(2391),e),s(u(863),e),s(u(6890),e),s(u(5084),e)},6890:function(y,e){Object.defineProperty(e,"__esModule",{value:!0}),e.invokeWithoutDefault=void 0,e.invokeWithoutDefault=function(u){return function(d){d?.preventDefault(),u()}}},2346:function(y,e){Object.defineProperty(e,"__esModule",{value:!0}),e.isDefined=void 0,e.isDefined=function(u){return u!=null}},1987:function(y,e){Object.defineProperty(e,"__esModule",{value:!0}),e.isVisible=e.isInPage=e.isOpen=void 0,e.isOpen=function(u){return(0,e.isInPage)(u)&&(0,e.isVisible)(u)},e.isInPage=function(u){return!!u.parentNode},e.isVisible=function(u){return u.style.display!=="none"}},9917:function(y,e){Object.defineProperty(e,"__esModule",{value:!0}),e.lazyInitialize=void 0,e.lazyInitialize=function(u,d){var s=new IntersectionObserver((function(a){a.forEach((function(r){r.isIntersecting&&(d(),s.unobserve(r.target))}))}));s.observe(u)}},7377:function(y,e){var u=this&&this.__assign||function(){return u=Object.assign||function(n){for(var o,l=1,c=arguments.length;l<c;l++)for(var v in o=arguments[l])Object.prototype.hasOwnProperty.call(o,v)&&(n[v]=o[v]);return n},u.apply(this,arguments)},d=this&&this.__read||function(n,o){var l=typeof Symbol=="function"&&n[Symbol.iterator];if(!l)return n;var c,v,p=l.call(n),m=[];try{for(;(o===void 0||o-- >0)&&!(c=p.next()).done;)m.push(c.value)}catch(f){v={error:f}}finally{try{c&&!c.done&&(l=p.return)&&l.call(p)}finally{if(v)throw v.error}}return m};Object.defineProperty(e,"__esModule",{value:!0}),e.loadOptionsFromAttributes=e.transformAttributeValue=e.camelCaseToKebabCase=void 0,e.camelCaseToKebabCase=function(n){return n.split("").map((function(o,l){return o.toUpperCase()===o?"".concat(l!==0?"-":"").concat(o.toLowerCase()):o})).join("")};var s=function(n){return n||void 0},a=function(n){if(n!==null)return n===""||n==="yes"||n==="true"},r=function(n){var o=n?parseInt(n,10):NaN;return isNaN(o)?void 0:o},t="%ESCAPED_COMMA%",i=function(n){if(n)return n.replace(/\s/g,"").replace(/\\,/g,t).split(",").filter((function(o){return!!o})).map((function(o){return o.replace(t,",")}))};e.transformAttributeValue=function(n,o){var l,c,v;switch(o){case"string":return s(n);case"boolean":return a(n);case"integer":return r(n);case"function":return(function(p){var m=p&&p in window?window[p]:void 0;return typeof m=="function"?m:void 0})(n);case"array":return i(n);case"record":return(function(p){if(p)return p.replace(/\\,/g,t).split(",").filter((function(m){return!!m})).map((function(m){return m.replace(t,",")})).reduce((function(m,f){var b,M=f.match(/^([^=]+)=(.*)$/);if(M){var F=d(M,3),E=F[1],w=F[2];return u(u({},m),((b={})[E.trim()]=w,b))}return m}),{})})(n);
9case"integerOrString":return(function(p){if(p)return p.match(/^[0-9]+$/)?r(p):s(p)})(n);case"integerOrBoolean":return(l=r(n))!==null&&l!==void 0?l:a(n);case"stringOrBoolean":return(c=s(n))!==null&&c!==void 0?c:a(n);case"arrayOrBoolean":return(v=i(n))!==null&&v!==void 0?v:a(n);default:throw new Error("Invalid attribute transformation ".concat(o))}},e.loadOptionsFromAttributes=function(n,o){return Object.keys(o).reduce((function(l,c){var v;return u(u({},l),((v={})[c]=(0,e.transformAttributeValue)(n.getAttribute("data-tf-".concat((0,e.camelCaseToKebabCase)(c))),o[c]),v))}),{})}},6563:function(y,e){Object.defineProperty(e,"__esModule",{value:!0}),e.isFullscreen=e.isMobile=e.isBigScreen=void 0,e.isBigScreen=function(){return window.screen.width>=1024&&window.screen.height>=768},e.isMobile=function(){return/mobile|tablet|android/i.test(navigator.userAgent.toLowerCase())},e.isFullscreen=function(){return(0,e.isMobile)()&&!(0,e.isBigScreen)()}},4527:function(y,e,u){var d=this&&this.__assign||function(){return d=Object.assign||function(r){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o]);return r},d.apply(this,arguments)},s=this&&this.__read||function(r,t){var i=typeof Symbol=="function"&&r[Symbol.iterator];if(!i)return r;var n,o,l=i.call(r),c=[];try{for(;(t===void 0||t-- >0)&&!(n=l.next()).done;)c.push(n.value)}catch(v){o={error:v}}finally{try{n&&!n.done&&(i=l.return)&&i.call(l)}finally{if(o)throw o.error}}return c};Object.defineProperty(e,"__esModule",{value:!0}),e.removeUndefinedKeys=void 0;var a=u(2346);e.removeUndefinedKeys=function(r){return Object.entries(r).filter((function(t){var i=s(t,2)[1];return(0,a.isDefined)(i)})).reduce((function(t,i){var n,o=s(i,2),l=o[0],c=o[1];return d(d({},t),((n={})[l]=c,n))}),{})}},4748:function(y,e,u){Object.defineProperty(e,"__esModule",{value:!0}),e.setAutoClose=e.DEFAULT_AUTO_CLOSE_TIME=void 0;var d=u(8554);e.DEFAULT_AUTO_CLOSE_TIME=500,e.setAutoClose=function(s,a,r){a&&r&&window.addEventListener("message",(0,d.getFormSubmitHandler)(s,(function(){return setTimeout(r,(i=typeof(t=a)=="number"?t:0,Math.max(i,e.DEFAULT_AUTO_CLOSE_TIME)));var t,i})))}},9533:function(y,e){Object.defineProperty(e,"__esModule",{value:!0}),e.setElementSize=e.getValueWithUnits=void 0,e.getValueWithUnits=function(u){return typeof u!="string"||u.match(/^[0-9]+$/)?"".concat(u,"px"):u},e.setElementSize=function(u,d){var s=d.width,a=d.height;return s&&(u.style.width=(0,e.getValueWithUnits)(s)),a&&(u.style.height=(0,e.getValueWithUnits)(a)),u}},4392:function(y,e){Object.defineProperty(e,"__esModule",{value:!0}),e.setupGaInstance=e.sendGaIdMessage=void 0,e.sendGaIdMessage=function(s,a,r){var t={embedId:s,gaClientId:a};setTimeout((function(){r&&r.contentWindow&&r.contentWindow.postMessage({type:"ga-client-id",data:t},"*")}),0)};var u=function(s){},d=function(s){u("Whoops! You enabled the shareGaInstance feature in your typeform embed but ".concat(s,`.
10
11`)+`Make sure to include Google Analytics Javascript code before the Typeform Embed Javascript code in your page and use correct tracker ID.
12
13It is also possible the Google Analytics was blocked by your adblock plugin.`)};e.setupGaInstance=function(s,a,r){var t=typeof r=="string"?r:void 0;if(window.gtag){if(t||(t=(function(){if(window.dataLayer){var o=window.dataLayer.find((function(l){return l.length>1&&l[0]==="config"}));return o&&o[1]}})()),!t)return void d("the tracking ID could not be retrieved");var i=!1;window.gtag("get",t,"client_id",(function(o){i=!0,(0,e.sendGaIdMessage)(a,o,s)})),setTimeout((function(){i||d("the tracker with ID ".concat(t," was not found"))}),3e3)}else try{var n=(function(o,l){return l?o.find((function(c){return c.get("trackingId")===l})):o[0]})(window.ga.getAll(),t);n?(0,e.sendGaIdMessage)(a,n.get("clientId"),s):d("the tracker with ID ".concat(t," was not found"))}catch(o){d("the Google Analytics object was not found"),u(o)}}},4623:function(y,e){Object.defineProperty(e,"__esModule",{value:!0}),e.sleep=void 0,e.sleep=function(u){return new Promise((function(d){return setTimeout(d,u)}))}}
13,1451:function(y,e){Object.defineProperty(e,"__esModule",{value:!0}),e.unmountElement=void 0,e.unmountElement=function(u){var d;(d=u.parentNode)===null||d===void 0||d.removeChild(u)}}},B={};return(function y(e){var u=B[e];if(u!==void 0)return u.exports;var d=B[e]={exports:{}};return K[e].call(d.exports,d,d.exports,y),d.exports})(1920)})()}))})(z)),z.exports}var ee=X();const te=["id"],re={__name:"Typeform",props:{id:{type:String,default:null},title:{type:String,default:null}},setup(A){const W=A;return Y(()=>{ee.createWidget(W.id,{container:document.querySelector(`#${W.id}`),inlineOnMobile:!0,iframeProps:{title:W.title,"data-test":"embed-iframe"}})}),(K,B)=>(J(),$("div",{id:A.id,ref:"typeform-widget",class:"mt-2 w-full h-667 md:h-760"},null,8,te))}};export{re as default};

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.