(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[31473],{67176:function(){},205632:function(t,e,n){t.exports=n(309351)},508292:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var i=n(202784),o=n(552322);function r(t="https://app.cal.com/embed/embed.js"){var e;let n,i;return e=window,n=function(t,e){t.q.push(e)},i=e.document,e.Cal=e.Cal||function(){let o=e.Cal,r=arguments;if(o.loaded||(o.ns={},o.q=o.q||[],i.head.appendChild(i.createElement("script")).src=t,o.loaded=!0),"init"===r[0]){let t=function(){n(t,arguments)},e=r[1];t.q=t.q||[],"string"==typeof e?(o.ns[e]=o.ns[e]||t,n(o.ns[e],r),n(o,["initNamespace",e])):n(o,r);return}n(o,r)},window.Cal}r.toString();let l=function(t){let{calLink:e,calOrigin:n,namespace:l="",config:a,initConfig:c={},embedJsUrl:f,...s}=t;if(!e)throw Error("calLink is required");let u=(0,i.useRef)(!1),d=function(t){let[e,n]=(0,i.useState)();return(0,i.useEffect)(()=>{n(()=>r(t))},[]),e}(f),h=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(!d||u.current||!h.current)return;u.current=!0;let t=h.current;l?(d("init",l,{...c,origin:n}),d.ns[l]("inline",{elementOrSelector:t,calLink:e,config:a})):(d("init",{...c,origin:n}),d("inline",{elementOrSelector:t,calLink:e,config:a}))},[d,e,a,l,n,c]),d?(0,o.jsx)("div",{ref:h,...s}):null}},220189:function(t,e,n){"use strict";function i(t){return t.split("-")[1]}function o(t){return t.split("-")[0]}function r(t){return["top","bottom"].includes(o(t))?"x":"y"}function l(t,e,n){let l,{reference:a,floating:c}=t,f=a.x+a.width/2-c.width/2,s=a.y+a.height/2-c.height/2,u=r(e),d="y"===u?"height":"width",h=a[d]/2-c[d]/2,g="x"===u;switch(o(e)){case"top":l={x:f,y:a.y-c.height};break;case"bottom":l={x:f,y:a.y+a.height};break;case"right":l={x:a.x+a.width,y:s};break;case"left":l={x:a.x-c.width,y:s};break;default:l={x:a.x,y:a.y}}switch(i(e)){case"start":l[u]-=h*(n&&g?-1:1);break;case"end":l[u]+=h*(n&&g?-1:1)}return l}n.d(e,{JB:function(){return c},dp:function(){return d},oo:function(){return a}});let a=async(t,e,n)=>{let{placement:i="bottom",strategy:o="absolute",middleware:r=[],platform:a}=n,c=r.filter(Boolean),f=await (null==a.isRTL?void 0:a.isRTL(e)),s=await a.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:d}=l(s,i,f),h=i,g={},m=0;for(let n=0;nt.concat(e,e+"-start",e+"-end"),[]);let d=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){let n,l;let{placement:a,rects:c,platform:d,elements:h}=e,{apply:g=()=>{},...m}=t,p=await f(e,m),y=o(a),w=i(a),x="x"===r(a),{width:v,height:b}=c.floating;"top"===y||"bottom"===y?(n=y,l=w===(await (null==d.isRTL?void 0:d.isRTL(h.floating))?"start":"end")?"left":"right"):(l=y,n="end"===w?"top":"bottom");let R=b-p[n],E=v-p[l],L=R,T=E;if(x?T=s(v-p.right-p.left,E):L=s(b-p.bottom-p.top,R),!e.middlewareData.shift&&!w){let t=u(p.left,0),e=u(p.right,0),n=u(p.top,0),i=u(p.bottom,0);x?T=v-2*(0!==t||0!==e?t+e:u(p.left,p.right)):L=b-2*(0!==n||0!==i?n+i:u(p.top,p.bottom))}await g({...e,availableWidth:T,availableHeight:L});let C=await d.getDimensions(h.floating);return v!==C.width||b!==C.height?{reset:{rects:!0}}:{}}}}},440771:function(t,e,n){"use strict";let i;n.d(e,{Me:function(){return W},oo:function(){return V}});var o=n(220189);function r(t){var e;return(null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function l(t){return r(t).getComputedStyle(t)}let a=Math.min,c=Math.max,f=Math.round;function s(t){let e=l(t),n=parseFloat(e.width),i=parseFloat(e.height),o=t.offsetWidth,r=t.offsetHeight,a=f(n)!==o||f(i)!==r;return a&&(n=o,i=r),{width:n,height:i,fallback:a}}function u(t){return m(t)?(t.nodeName||"").toLowerCase():""}function d(){if(i)return i;let t=navigator.userAgentData;return t&&Array.isArray(t.brands)?i=t.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function h(t){return t instanceof r(t).HTMLElement}function g(t){return t instanceof r(t).Element}function m(t){return t instanceof r(t).Node}function p(t){return"undefined"!=typeof ShadowRoot&&(t instanceof r(t).ShadowRoot||t instanceof ShadowRoot)}function y(t){let{overflow:e,overflowX:n,overflowY:i,display:o}=l(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&!["inline","contents"].includes(o)}function w(t){let e=/firefox/i.test(d()),n=l(t),i=n.backdropFilter||n.WebkitBackdropFilter;return"none"!==n.transform||"none"!==n.perspective||!!i&&"none"!==i||e&&"filter"===n.willChange||e&&!!n.filter&&"none"!==n.filter||["transform","perspective"].some(t=>n.willChange.includes(t))||["paint","layout","strict","content"].some(t=>{let e=n.contain;return null!=e&&e.includes(t)})}function x(){return/^((?!chrome|android).)*safari/i.test(d())}function v(t){return["html","body","#document"].includes(u(t))}function b(t){return g(t)?t:t.contextElement}let R={x:1,y:1};function E(t){let e=b(t);if(!h(e))return R;let n=e.getBoundingClientRect(),{width:i,height:o,fallback:r}=s(e),l=(r?f(n.width):n.width)/i,a=(r?f(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}function L(t,e,n,i){var o,l;void 0===e&&(e=!1),void 0===n&&(n=!1);let a=t.getBoundingClientRect(),c=b(t),f=R;e&&(i?g(i)&&(f=E(i)):f=E(t));let s=c?r(c):window,u=x()&&n,d=(a.left+(u&&(null==(o=s.visualViewport)?void 0:o.offsetLeft)||0))/f.x,h=(a.top+(u&&(null==(l=s.visualViewport)?void 0:l.offsetTop)||0))/f.y,m=a.width/f.x,p=a.height/f.y;if(c){let t=r(c),e=i&&g(i)?r(i):i,n=t.frameElement;for(;n&&i&&e!==t;){let t=E(n),e=n.getBoundingClientRect(),i=getComputedStyle(n);e.x+=(n.clientLeft+parseFloat(i.paddingLeft))*t.x,e.y+=(n.clientTop+parseFloat(i.paddingTop))*t.y,d*=t.x,h*=t.y,m*=t.x,p*=t.y,d+=e.x,h+=e.y,n=r(n).frameElement}}return{width:m,height:p,top:h,right:d+m,bottom:h+p,left:d,x:d,y:h}}function T(t){return((m(t)?t.ownerDocument:t.document)||window.document).documentElement}function C(t){return g(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function k(t){return L(T(t)).left+C(t).scrollLeft}function D(t){if("html"===u(t))return t;let e=t.assignedSlot||t.parentNode||p(t)&&t.host||T(t);return p(e)?e.host:e}function S(t,e){var n;void 0===e&&(e=[]);let i=function t(e){let n=D(e);return v(n)?n.ownerDocument.body:h(n)&&y(n)?n:t(n)}(t),o=i===(null==(n=t.ownerDocument)?void 0:n.body),l=r(i);return o?e.concat(l,l.visualViewport||[],y(i)?i:[]):e.concat(i,S(i))}function O(t,e,n){let i;if("viewport"===e)i=function(t,e){let n=r(t),i=T(t),o=n.visualViewport,l=i.clientWidth,a=i.clientHeight,c=0,f=0;if(o){l=o.width,a=o.height;let t=x();(!t||t&&"fixed"===e)&&(c=o.offsetLeft,f=o.offsetTop)}return{width:l,height:a,x:c,y:f}}(t,n);else if("document"===e)i=function(t){let e=T(t),n=C(t),i=t.ownerDocument.body,o=c(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),r=c(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),a=-n.scrollLeft+k(t),f=-n.scrollTop;return"rtl"===l(i).direction&&(a+=c(e.clientWidth,i.clientWidth)-o),{width:o,height:r,x:a,y:f}}(T(t));else if(g(e))i=function(t,e){let n=L(t,!0,"fixed"===e),i=n.top+t.clientTop,o=n.left+t.clientLeft,r=h(t)?E(t):{x:1,y:1};return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:o*r.x,y:i*r.y}}(e,n);else{let n={...e};if(x()){var a,f;let e=r(t);n.x-=(null==(a=e.visualViewport)?void 0:a.offsetLeft)||0,n.y-=(null==(f=e.visualViewport)?void 0:f.offsetTop)||0}i=n}return(0,o.JB)(i)}function B(t,e){return h(t)&&"fixed"!==l(t).position?e?e(t):t.offsetParent:null}function F(t,e){let n=r(t),i=B(t,e);for(;i&&["table","td","th"].includes(u(i))&&"static"===l(i).position;)i=B(i,e);return i&&("html"===u(i)||"body"===u(i)&&"static"===l(i).position&&!w(i))?n:i||function(t){let e=D(t);for(;h(e)&&!v(e);){if(w(e))return e;e=D(e)}return null}(t)||n}let P={getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t,r=[..."clippingAncestors"===n?function(t,e){let n=e.get(t);if(n)return n;let i=S(t).filter(t=>g(t)&&"body"!==u(t)),o=null,r="fixed"===l(t).position,a=r?D(t):t;for(;g(a)&&!v(a);){let t=l(a),e=w(a);(r?e||o:e||"static"!==t.position||!o||!["absolute","fixed"].includes(o.position))?o=t:i=i.filter(t=>t!==a),a=D(a)}return e.set(t,i),i}(e,this._c):[].concat(n),i],f=r[0],s=r.reduce((t,n)=>{let i=O(e,n,o);return t.top=c(i.top,t.top),t.right=a(i.right,t.right),t.bottom=a(i.bottom,t.bottom),t.left=c(i.left,t.left),t},O(e,f,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:n,strategy:i}=t,o=h(n),r=T(n);if(n===r)return e;let l={scrollLeft:0,scrollTop:0},a={x:1,y:1},c={x:0,y:0};if((o||!o&&"fixed"!==i)&&(("body"!==u(n)||y(r))&&(l=C(n)),h(n))){let t=L(n);a=E(n),c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}return{width:e.width*a.x,height:e.height*a.y,x:e.x*a.x-l.scrollLeft*a.x+c.x,y:e.y*a.y-l.scrollTop*a.y+c.y}},isElement:g,getDimensions:function(t){return h(t)?s(t):t.getBoundingClientRect()},getOffsetParent:F,getDocumentElement:T,getScale:E,async getElementRects(t){let{reference:e,floating:n,strategy:i}=t,o=this.getOffsetParent||F,r=this.getDimensions;return{reference:function(t,e,n){let i=h(e),o=T(e),r=L(t,!0,"fixed"===n,e),l={scrollLeft:0,scrollTop:0},a={x:0,y:0};if(i||!i&&"fixed"!==n){if(("body"!==u(e)||y(o))&&(l=C(e)),h(e)){let t=L(e,!0);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}else o&&(a.x=k(o))}return{x:r.left+l.scrollLeft-a.x,y:r.top+l.scrollTop-a.y,width:r.width,height:r.height}}(e,await o(n),i),floating:{x:0,y:0,...await r(n)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===l(t).direction};function W(t,e,n,i){void 0===i&&(i={});let{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:l=!0,animationFrame:a=!1}=i,c=o&&!a,f=c||r?[...g(t)?S(t):t.contextElement?S(t.contextElement):[],...S(e)]:[];f.forEach(t=>{c&&t.addEventListener("scroll",n,{passive:!0}),r&&t.addEventListener("resize",n)});let s,u=null;if(l){let i=!0;u=new ResizeObserver(()=>{i||n(),i=!1}),g(t)&&!a&&u.observe(t),g(t)||!t.contextElement||a||u.observe(t.contextElement),u.observe(e)}let d=a?L(t):null;return a&&function e(){let i=L(t);d&&(i.x!==d.x||i.y!==d.y||i.width!==d.width||i.height!==d.height)&&n(),d=i,s=requestAnimationFrame(e)}(),n(),()=>{var t;f.forEach(t=>{c&&t.removeEventListener("scroll",n),r&&t.removeEventListener("resize",n)}),null==(t=u)||t.disconnect(),u=null,a&&cancelAnimationFrame(s)}}let V=(t,e,n)=>{let i=new Map,r={platform:P,...n},l={...r.platform,_c:i};return(0,o.oo)(t,e,{...r,platform:l})}}}]);