(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[77680,91826,33890,70739,44452,47683,90051],{79995:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/product/sites",function(){return n(319998)}])},430685:function(e,t,n){"use strict";n.d(t,{x:function(){return c}});var i=n(552322),r=n(72779),o=n.n(r),l=n(202784),s=n(935259),a=n(974545);let c=(0,l.forwardRef)(function(e,t){let{className:n,children:r,...l}=e;return(0,i.jsx)(s.lr,{...l,className:o()(a.carousel,n),ref:t,children:r})})},262339:function(e,t,n){"use strict";n.d(t,{n:function(){return u}});var i=n(552322),r=n(72779),o=n.n(r),l=n(202784),s=n(935259),a=n(30361),c=n(974545);let u=(0,l.forwardRef)(function(e,t){let{hidden:n=!1,className:r,children:l,...u}=e,f=(0,a.vr)();return(0,i.jsx)(s.qs,{...u,hidden:n,className:o()(c.slide,{[c.selected]:u.value===f.value},r),ref:t,children:(0,i.jsx)(s.ib,{children:(0,i.jsx)(a.xs,{children:l})})})})},190433:function(e,t,n){"use strict";n.d(t,{O:function(){return c}});var i=n(552322),r=n(72779),o=n.n(r),l=n(202784),s=n(935259),a=n(974545);let c=(0,l.forwardRef)(function(e,t){let{className:n,children:r,...l}=e;return(0,i.jsxs)(s.hh,{...l,className:o()(a.slides,n),ref:t,children:[(0,i.jsxs)(s.J8,{className:a.carouselControls,children:[(0,i.jsx)(s.Cc,{}),(0,i.jsx)(s.K1,{})]}),r]})})},140260:function(e,t,n){"use strict";n.d(t,{V:function(){return c}});var i=n(552322),r=n(72779),o=n.n(r),l=n(202784),s=n(30361),a=n(974545);let c=(0,l.forwardRef)(function(e,t){let{className:n,children:r,...l}=e,c=(0,s.vr)();return(0,i.jsx)(s.IB,{...l,className:o()(a.tab,{[a.selected]:l.value===c.value},n),ref:t,children:r})})},282796:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(552322),r=n(72779),o=n.n(r),l=n(202784),s=n(30361),a=n(974545);let c=(0,l.forwardRef)(function(e,t){let{className:n,children:r,...l}=e;return(0,i.jsx)(s.FT,{...l,className:o()(a.tablist,n),ref:t,children:r})})},704109:function(e,t,n){"use strict";n.d(t,{T:function(){return a}});var i=n(552322),r=n(72779),o=n.n(r),l=n(202784),s=n(918034);let a=(0,l.forwardRef)(function(e,t){let{className:n,children:r,...l}=e;return(0,i.jsx)("figure",{...l,className:o()(s.root,n),ref:t,children:r})})},399972:function(e,t,n){"use strict";n.d(t,{x:function(){return u}});var i=n(552322),r=n(72779),o=n.n(r),l=n(202784),s=n(331528),a=n(702847),c=n(927295);let u=(0,l.forwardRef)(function(e,t){let{type:n="button",className:r,children:u,...f}=e,[d,h]=(0,l.useState)(!0);(0,l.useEffect)(()=>{h(CSS.supports("text-wrap","balance"))},[]);let p=(0,c.K)(),g=(0,s.yU)(f.value,p.value);return(0,i.jsx)("li",{role:"none",className:a.root,children:(0,i.jsx)("button",{...f,type:n,className:o()(a.button,{[a.balanceText]:d,"balance-text":!d,[a.active]:g},r),ref:t,children:u})})})},11498:function(e,t,n){"use strict";n.d(t,{u:function(){return f}});var i=n(552322),r=n(72779),o=n.n(r),l=n(202784),s=n(240926),a=n(334801),c=n(619628),u=n(927295);let f=(0,l.forwardRef)(function(e,t){let{value:n,max:r=1,step:f=1,role:d="list",children:h,className:p,...g}=e,m=(0,l.useRef)(null),x=(0,a.q)(t,m),v=(0,l.useMemo)(()=>n>=r?1:n<=0?0:n/r,[n,r]),b=(0,l.useMemo)(()=>Math.floor(v/(1/Math.floor(r/f)))*f,[v,r,f]);return(0,l.useEffect)(()=>{let e=m.current;if(!e)return;let t=e.querySelector(`[value="${b}"]`),n=Array.from(e.children).find(e=>e.contains(t));n&&e.scrollTo({left:n.offsetLeft,behavior:"smooth"})},[b]),(0,i.jsxs)("figcaption",{className:c.root,style:{[(0,s.Ay)("--caption-list-count")]:Math.floor(r/f),[(0,s.Ay)("--caption-list-progress-percentage")]:`${100*v}%`},children:[(0,i.jsx)("div",{"aria-hidden":!0,className:c.progressTrack,children:(0,i.jsx)("div",{className:c.progressValue})}),(0,i.jsx)("ol",{...g,role:d,className:o()(c.list,p),ref:x,children:(0,i.jsx)(u.$.Provider,{value:{value:b},children:h})})]})})},927295:function(e,t,n){"use strict";n.d(t,{$:function(){return r},K:function(){return o}});var i=n(202784);let r=(0,i.createContext)(void 0);function o(){let e=(0,i.useContext)(r);if(!e)throw Error("useSuperPerfectCellCaptionList must be used within a SuperPerfectCellCaptionList");return e}r.displayName="SuperPerfectCellCaptionListContext"},319998:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return A},default:function(){return F}});var i=n(552322),r=n(202784),o=n(756662),l=n(323271),s=n(72779),a=n.n(s),c=n(183428),u=n(387430),f=n(326819),d=n(430685),h=n(262339),p=n(190433),g=n(140260),m=n(282796),x=n(440150),v=n(509020),b=n(770342);function y(e){let{sidekick:t}=e;return 1!==t.length||"kombiBlockCarousel"!==t[0].type?null:(0,i.jsx)(w,{carousel:t[0]})}function w(e){var t;let{carousel:n}=e,[o,l]=(0,r.useState)(null===(t=n.slides[0])||void 0===t?void 0:t.title),s=(0,r.useCallback)(e=>{l(e.currentTarget.value)},[]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:b.sectionHeader,children:[(0,i.jsx)(x.X,{id:"use-cases",level:2,className:b.sectionHeading,children:(0,i.jsx)(c._H,{id:"product.sites.carousel.pickFromTemplates",defaultMessage:"Over 10,000 templates, from pitch decks to portfolios.",description:"Heading for the product sites sections"})}),(0,i.jsx)(v.E,{className:b.sectionIllo,src:u.Z.pages.sites.sitesFlagPng,width:446,height:286,alt:""})]}),(0,i.jsxs)(d.x,{paused:!0,"aria-label":n.accessibleName||"Notion sites features",value:o,onChange:s,children:[(0,i.jsx)(m.Z,{"aria-label":n.accessibleName||"Notion sites features",children:n.slides.map(e=>{let{title:t,icon:n}=e,r=o===t;return(0,i.jsxs)(g.V,{value:t,className:a()(b.carouselTab,{[b.activeTab]:r}),children:[n&&(0,i.jsx)(f.E,{name:n,className:a()(b.carouselIcon,{[b.activeIcon]:r})}),t]},t)})}),(0,i.jsx)(p.O,{children:n.slides.map((e,t)=>{let{title:n,asset:r}=e;return r&&(0,i.jsx)(h.n,{value:n,children:(0,i.jsx)(v.E,{className:b.carouselImage,src:r.src,alt:r.altText||"",width:r.width,height:r.height,loading:"eager",priority:t<1})},n)})})]})]})}var _=n(682561),C=n(704109),T=n(399972),j=n(11498),S=n(875362),N=n(126154),R=n(585611);let k=(0,c.vU)({makeAPage:{id:"product.sites.carousel.makeAPage",defaultMessage:"Make a page",description:"Heading for the product sites carousel"},personalizeIt:{id:"product.sites.carousel.personalizeIt",defaultMessage:"Personalize it",description:"Heading for the product sites carousel"},publishIt:{id:"product.sites.carousel.publishIt",defaultMessage:"Publish it",description:"Heading for the product sites carousel"},makeAPageSubtitle:{id:"product.sites.carousel.makeAPageSubtitle",defaultMessage:"Start with one of 30,000+ templates.",description:"Subtitle for the product sites carousel"},personalizeItSubtitle:{id:"product.sites.carousel.personalizeItSubtitle",defaultMessage:"Choose a domain, theme, favicon, and look and feel.",description:"Subtitle for the product sites carousel"},publishItSubtitle:{id:"product.sites.carousel.publishItSubtitle",defaultMessage:"Just hit “publish”, and you are live.",description:"Subtitle for the product sites carousel"}}),L=[{title:k.makeAPage,subtitle:k.makeAPageSubtitle},{title:k.personalizeIt,subtitle:k.personalizeItSubtitle},{title:k.publishIt,subtitle:k.publishItSubtitle}],P=L.length;function E(e){let{hero:t,video:n}=e,[o,l]=(0,r.useState)(0),[s,a]=(0,r.useState)(1),[u,f]=(0,r.useState)();(0,r.useEffect)(()=>{null==u||u.getDuration().then(e=>{a(e)})},[u]);let d=(0,r.useCallback)(e=>{let t=Number(e.currentTarget.value);isNaN(t)||(l(t),null==u||u.setCurrentTime(t/P*s))},[u,s]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(_.I,{...t}),(0,i.jsxs)(C.T,{children:[(0,i.jsx)(j.u,{className:R.superPerfectCellCaptionList,value:o,max:P,children:L.map((e,t)=>(0,i.jsxs)(T.x,{value:t,onClick:d,children:[(0,i.jsx)(S.Z,{variant:"sans-400-bold",children:(0,i.jsx)(c._H,{...e.title})}),(0,i.jsx)(c._H,{...e.subtitle})]},t))}),(0,i.jsx)(N.Y,{videoId:n.id,host:n.host,altText:n.altText,hasShadow:!0,autoplay:!0,loop:!0,showPoster:!0,controls:"pause",customPosterSrc:n.posterSrc,onTimeUpdate:e=>{let{seconds:t}=e;return l(t/s*P)},ref:f})]})]})}var I=n(938101),H=n(248074),M=n(359921),A=!0,F=function(e){let{preview:t,page:n,video:r}=e,s=(0,o.v)(n),{meta:a,theme:c}=s,{hero:u,sidekick:f,...d}=s,h={title:null==a?void 0:a.title,description:null==a?void 0:a.description,image:null==a?void 0:a.image};return(0,i.jsx)("div",{className:M.page,children:(0,i.jsxs)(l.A,{preview:t,metadata:h,title:h.title,theme:c,isRefresh:!0,children:[u&&(0,i.jsx)(E,{hero:u,video:r}),f&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(I.L,{height:160}),(0,i.jsx)(y,{sidekick:f})]}),(0,i.jsx)(H.d,{...d,hero:void 0,sidekick:void 0,config:{denseSectionGroup:["6YagcTY5hemFqRiZGxB0qg"]}})]})})}},974545:function(e){e.exports={carousel:"featureCarousel_carousel__hYujh",tablist:"featureCarousel_tablist__rQY5Z",tab:"featureCarousel_tab__10aRK",selected:"featureCarousel_selected__Nm6L4",slides:"featureCarousel_slides__YO4US",carouselControls:"featureCarousel_carouselControls__5yrBq",slide:"featureCarousel_slide___kjxX"}},770342:function(e){e.exports={carouselTab:"NotionSiteCarousel_carouselTab__7toBy",activeTab:"NotionSiteCarousel_activeTab__Fp9vo",carouselIcon:"NotionSiteCarousel_carouselIcon__kb6ml",activeIcon:"NotionSiteCarousel_activeIcon__1hTok",carouselImage:"NotionSiteCarousel_carouselImage__Fk7Y7",sectionHeader:"NotionSiteCarousel_sectionHeader__Pg_jt",sectionHeading:"NotionSiteCarousel_sectionHeading__TiJpb",sectionIllo:"NotionSiteCarousel_sectionIllo__A9chK"}},585611:function(e){e.exports={superPerfectCellCaptionList:"notionSiteHero_superPerfectCellCaptionList__SpCnG"}},918034:function(e){e.exports={root:"superPerfectCell_root__AKpst"}},702847:function(e){e.exports={root:"superPerfectCellCaption_root__wyVO3",button:"superPerfectCellCaption_button__YH2S_",balanceText:"superPerfectCellCaption_balanceText__QzcVJ",active:"superPerfectCellCaption_active__HW_lZ",inlineLink:"superPerfectCellCaption_inlineLink__U6uDK"}},619628:function(e){e.exports={root:"superPerfectCellCaptionList_root__kjH9E",list:"superPerfectCellCaptionList_list__M1ZTI",progressTrack:"superPerfectCellCaptionList_progressTrack__ojpfo",progressValue:"superPerfectCellCaptionList_progressValue__m_WWS"}},359921:function(e){e.exports={page:"sites_page__QYMeN"}},205632:function(e,t,n){e.exports=n(309351)},220189:function(e,t,n){"use strict";function i(e){return e.split("-")[1]}function r(e){return e.split("-")[0]}function o(e){return["top","bottom"].includes(r(e))?"x":"y"}function l(e,t,n){let l,{reference:s,floating:a}=e,c=s.x+s.width/2-a.width/2,u=s.y+s.height/2-a.height/2,f=o(t),d="y"===f?"height":"width",h=s[d]/2-a[d]/2,p="x"===f;switch(r(t)){case"top":l={x:c,y:s.y-a.height};break;case"bottom":l={x:c,y:s.y+s.height};break;case"right":l={x:s.x+s.width,y:u};break;case"left":l={x:s.x-a.width,y:u};break;default:l={x:s.x,y:s.y}}switch(i(t)){case"start":l[f]-=h*(n&&p?-1:1);break;case"end":l[f]+=h*(n&&p?-1:1)}return l}n.d(t,{JB:function(){return a},dp:function(){return d},oo:function(){return s}});let s=async(e,t,n)=>{let{placement:i="bottom",strategy:r="absolute",middleware:o=[],platform:s}=n,a=o.filter(Boolean),c=await (null==s.isRTL?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:r}),{x:f,y:d}=l(u,i,c),h=i,p={},g=0;for(let n=0;ne.concat(t,t+"-start",t+"-end"),[]);let d=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,l;let{placement:s,rects:a,platform:d,elements:h}=t,{apply:p=()=>{},...g}=e,m=await c(t,g),x=r(s),v=i(s),b="x"===o(s),{width:y,height:w}=a.floating;"top"===x||"bottom"===x?(n=x,l=v===(await (null==d.isRTL?void 0:d.isRTL(h.floating))?"start":"end")?"left":"right"):(l=x,n="end"===v?"top":"bottom");let _=w-m[n],C=y-m[l],T=_,j=C;if(b?j=u(y-m.right-m.left,C):T=u(w-m.bottom-m.top,_),!t.middlewareData.shift&&!v){let e=f(m.left,0),t=f(m.right,0),n=f(m.top,0),i=f(m.bottom,0);b?j=y-2*(0!==e||0!==t?e+t:f(m.left,m.right)):T=w-2*(0!==n||0!==i?n+i:f(m.top,m.bottom))}await p({...t,availableWidth:j,availableHeight:T});let S=await d.getDimensions(h.floating);return y!==S.width||w!==S.height?{reset:{rects:!0}}:{}}}}},440771:function(e,t,n){"use strict";let i;n.d(t,{Me:function(){return H},oo:function(){return M}});var r=n(220189);function o(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function l(e){return o(e).getComputedStyle(e)}let s=Math.min,a=Math.max,c=Math.round;function u(e){let t=l(e),n=parseFloat(t.width),i=parseFloat(t.height),r=e.offsetWidth,o=e.offsetHeight,s=c(n)!==r||c(i)!==o;return s&&(n=r,i=o),{width:n,height:i,fallback:s}}function f(e){return g(e)?(e.nodeName||"").toLowerCase():""}function d(){if(i)return i;let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?i=e.brands.map(e=>e.brand+"/"+e.version).join(" "):navigator.userAgent}function h(e){return e instanceof o(e).HTMLElement}function p(e){return e instanceof o(e).Element}function g(e){return e instanceof o(e).Node}function m(e){return"undefined"!=typeof ShadowRoot&&(e instanceof o(e).ShadowRoot||e instanceof ShadowRoot)}function x(e){let{overflow:t,overflowX:n,overflowY:i,display:r}=l(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(r)}function v(e){let t=/firefox/i.test(d()),n=l(e),i=n.backdropFilter||n.WebkitBackdropFilter;return"none"!==n.transform||"none"!==n.perspective||!!i&&"none"!==i||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter||["transform","perspective"].some(e=>n.willChange.includes(e))||["paint","layout","strict","content"].some(e=>{let t=n.contain;return null!=t&&t.includes(e)})}function b(){return/^((?!chrome|android).)*safari/i.test(d())}function y(e){return["html","body","#document"].includes(f(e))}function w(e){return p(e)?e:e.contextElement}let _={x:1,y:1};function C(e){let t=w(e);if(!h(t))return _;let n=t.getBoundingClientRect(),{width:i,height:r,fallback:o}=u(t),l=(o?c(n.width):n.width)/i,s=(o?c(n.height):n.height)/r;return l&&Number.isFinite(l)||(l=1),s&&Number.isFinite(s)||(s=1),{x:l,y:s}}function T(e,t,n,i){var r,l;void 0===t&&(t=!1),void 0===n&&(n=!1);let s=e.getBoundingClientRect(),a=w(e),c=_;t&&(i?p(i)&&(c=C(i)):c=C(e));let u=a?o(a):window,f=b()&&n,d=(s.left+(f&&(null==(r=u.visualViewport)?void 0:r.offsetLeft)||0))/c.x,h=(s.top+(f&&(null==(l=u.visualViewport)?void 0:l.offsetTop)||0))/c.y,g=s.width/c.x,m=s.height/c.y;if(a){let e=o(a),t=i&&p(i)?o(i):i,n=e.frameElement;for(;n&&i&&t!==e;){let e=C(n),t=n.getBoundingClientRect(),i=getComputedStyle(n);t.x+=(n.clientLeft+parseFloat(i.paddingLeft))*e.x,t.y+=(n.clientTop+parseFloat(i.paddingTop))*e.y,d*=e.x,h*=e.y,g*=e.x,m*=e.y,d+=t.x,h+=t.y,n=o(n).frameElement}}return{width:g,height:m,top:h,right:d+g,bottom:h+m,left:d,x:d,y:h}}function j(e){return((g(e)?e.ownerDocument:e.document)||window.document).documentElement}function S(e){return p(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function N(e){return T(j(e)).left+S(e).scrollLeft}function R(e){if("html"===f(e))return e;let t=e.assignedSlot||e.parentNode||m(e)&&e.host||j(e);return m(t)?t.host:t}function k(e,t){var n;void 0===t&&(t=[]);let i=function e(t){let n=R(t);return y(n)?n.ownerDocument.body:h(n)&&x(n)?n:e(n)}(e),r=i===(null==(n=e.ownerDocument)?void 0:n.body),l=o(i);return r?t.concat(l,l.visualViewport||[],x(i)?i:[]):t.concat(i,k(i))}function L(e,t,n){let i;if("viewport"===t)i=function(e,t){let n=o(e),i=j(e),r=n.visualViewport,l=i.clientWidth,s=i.clientHeight,a=0,c=0;if(r){l=r.width,s=r.height;let e=b();(!e||e&&"fixed"===t)&&(a=r.offsetLeft,c=r.offsetTop)}return{width:l,height:s,x:a,y:c}}(e,n);else if("document"===t)i=function(e){let t=j(e),n=S(e),i=e.ownerDocument.body,r=a(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),o=a(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-n.scrollLeft+N(e),c=-n.scrollTop;return"rtl"===l(i).direction&&(s+=a(t.clientWidth,i.clientWidth)-r),{width:r,height:o,x:s,y:c}}(j(e));else if(p(t))i=function(e,t){let n=T(e,!0,"fixed"===t),i=n.top+e.clientTop,r=n.left+e.clientLeft,o=h(e)?C(e):{x:1,y:1};return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:r*o.x,y:i*o.y}}(t,n);else{let n={...t};if(b()){var s,c;let t=o(e);n.x-=(null==(s=t.visualViewport)?void 0:s.offsetLeft)||0,n.y-=(null==(c=t.visualViewport)?void 0:c.offsetTop)||0}i=n}return(0,r.JB)(i)}function P(e,t){return h(e)&&"fixed"!==l(e).position?t?t(e):e.offsetParent:null}function E(e,t){let n=o(e),i=P(e,t);for(;i&&["table","td","th"].includes(f(i))&&"static"===l(i).position;)i=P(i,t);return i&&("html"===f(i)||"body"===f(i)&&"static"===l(i).position&&!v(i))?n:i||function(e){let t=R(e);for(;h(t)&&!y(t);){if(v(t))return t;t=R(t)}return null}(e)||n}let I={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:r}=e,o=[..."clippingAncestors"===n?function(e,t){let n=t.get(e);if(n)return n;let i=k(e).filter(e=>p(e)&&"body"!==f(e)),r=null,o="fixed"===l(e).position,s=o?R(e):e;for(;p(s)&&!y(s);){let e=l(s),t=v(s);(o?t||r:t||"static"!==e.position||!r||!["absolute","fixed"].includes(r.position))?r=e:i=i.filter(e=>e!==s),s=R(s)}return t.set(e,i),i}(t,this._c):[].concat(n),i],c=o[0],u=o.reduce((e,n)=>{let i=L(t,n,r);return e.top=a(i.top,e.top),e.right=s(i.right,e.right),e.bottom=s(i.bottom,e.bottom),e.left=a(i.left,e.left),e},L(t,c,r));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:i}=e,r=h(n),o=j(n);if(n===o)return t;let l={scrollLeft:0,scrollTop:0},s={x:1,y:1},a={x:0,y:0};if((r||!r&&"fixed"!==i)&&(("body"!==f(n)||x(o))&&(l=S(n)),h(n))){let e=T(n);s=C(n),a.x=e.x+n.clientLeft,a.y=e.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-l.scrollLeft*s.x+a.x,y:t.y*s.y-l.scrollTop*s.y+a.y}},isElement:p,getDimensions:function(e){return h(e)?u(e):e.getBoundingClientRect()},getOffsetParent:E,getDocumentElement:j,getScale:C,async getElementRects(e){let{reference:t,floating:n,strategy:i}=e,r=this.getOffsetParent||E,o=this.getDimensions;return{reference:function(e,t,n){let i=h(t),r=j(t),o=T(e,!0,"fixed"===n,t),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};if(i||!i&&"fixed"!==n){if(("body"!==f(t)||x(r))&&(l=S(t)),h(t)){let e=T(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else r&&(s.x=N(r))}return{x:o.left+l.scrollLeft-s.x,y:o.top+l.scrollTop-s.y,width:o.width,height:o.height}}(t,await r(n),i),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===l(e).direction};function H(e,t,n,i){void 0===i&&(i={});let{ancestorScroll:r=!0,ancestorResize:o=!0,elementResize:l=!0,animationFrame:s=!1}=i,a=r&&!s,c=a||o?[...p(e)?k(e):e.contextElement?k(e.contextElement):[],...k(t)]:[];c.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});let u,f=null;if(l){let i=!0;f=new ResizeObserver(()=>{i||n(),i=!1}),p(e)&&!s&&f.observe(e),p(e)||!e.contextElement||s||f.observe(e.contextElement),f.observe(t)}let d=s?T(e):null;return s&&function t(){let i=T(e);d&&(i.x!==d.x||i.y!==d.y||i.width!==d.width||i.height!==d.height)&&n(),d=i,u=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach(e=>{a&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==(e=f)||e.disconnect(),f=null,s&&cancelAnimationFrame(u)}}let M=(e,t,n)=>{let i=new Map,o={platform:I,...n},l={...o.platform,_c:i};return(0,r.oo)(e,t,{...o,platform:l})}}},function(e){e.O(0,[86922,68477,86802,96577,59680,88524,24883,63088,35379,81712,22246,89450,2571,26154,45149,31188,40773,68812,67305,67014,68821,29778,35456,91216,22746,72875,17291,48074,92888,49774,40179],function(){return e(e.s=79995)}),_N_E=e.O()}]);