/*! For license information please see 839_54e41047ac8a31eb0fec.js.LICENSE.txt */ (self.webpackChunkbookings_web_accounts_portal_workspaces=self.webpackChunkbookings_web_accounts_portal_workspaces||[]).push([[839],{10811:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=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 o(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TGenerated=t.T=t.remoteFormatsForAsset=t.isRemoteVectorSet=t.isFlag=t.getFontAssetUrl=t.getImageAssetUrl=t.generateImageAssetFileName=t.getImageSize=void 0;var l=n(18346);Object.defineProperty(t,"getImageSize",{enumerable:!0,get:function(){return i(l).default}});var u=n(5215);Object.defineProperty(t,"generateImageAssetFileName",{enumerable:!0,get:function(){return i(u).default}});var s=n(83346);Object.defineProperty(t,"getImageAssetUrl",{enumerable:!0,get:function(){return i(s).default}});var c=n(56476);Object.defineProperty(t,"getFontAssetUrl",{enumerable:!0,get:function(){return i(c).default}});var f=n(17746);Object.defineProperty(t,"isFlag",{enumerable:!0,get:function(){return i(f).default}});var d=n(93395);Object.defineProperty(t,"isRemoteVectorSet",{enumerable:!0,get:function(){return i(d).default}});var p=n(3099);Object.defineProperty(t,"remoteFormatsForAsset",{enumerable:!0,get:function(){return i(p).default}}),t.T=a(n(80825)),t.TGenerated=a(n(70320))},70320:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(80825)},80825:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},20201:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flagSet=t.remoteVectorImageFormatExtensions=t.remoteImageFormats=t.remoteFontFormats=t.remoteFormats=t.remoteFontFormatWOFF=t.remoteImageFormatWEBP=t.remoteImageFormatPNG=t.remoteImageFormatXML=t.remoteImageFormatSVG=t.baseCdnUrl=void 0,t.baseCdnUrl="https://t-cf.bstatic.com/design-assets/assets",t.remoteImageFormatSVG={type:"image",extension:"svg",isVector:!0},t.remoteImageFormatXML={type:"image",extension:"xml",isVector:!0},t.remoteImageFormatPNG={type:"image",extension:"png",isVector:!1},t.remoteImageFormatWEBP={type:"image",extension:"webp",isVector:!1},t.remoteFontFormatWOFF={type:"font",extension:"woff"},t.remoteFormats=[t.remoteImageFormatSVG,t.remoteImageFormatXML,t.remoteImageFormatPNG,t.remoteImageFormatWEBP,t.remoteFontFormatWOFF],t.remoteFontFormats=t.remoteFormats.filter((function(e){return"font"===e.type})),t.remoteImageFormats=t.remoteFormats.filter((function(e){return"image"===e.type}));var n=t.remoteImageFormats.filter((function(e){return e.isVector}));t.remoteVectorImageFormatExtensions=n.map((function(e){return e.extension})),t.flagSet="images-flags"},5215:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(18346)),a=r(n(17746)),i=r(n(93395)),l=r(n(86980));t.default=function(e){var t=e.dark,n=e.density,r=e.size,u=e.assetName,s=e.setName,c=e.format,f=(0,i.default)(s),d=null!=c?c:f?"svg":"png",p=(0,l.default)(d);!f&&p&&(d="png",p=!1);var m=r&&(0,o.default)(r),h="".concat(u);return m&&(h+="-".concat(m)),t&&!(0,a.default)(s)&&(h+="-dark"),n&&n>1&&!p&&(h+="@".concat(n,"x")),"".concat(h,".").concat(d)}},88124:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.remoteVectorImageFormatExtensions=t.remoteVectorSets=void 0,t.remoteVectorSets=["icons-fallback","icons-streamline","illustrations-messaging","images-brand","images-fallback","images-genius","images-transport"],t.remoteVectorImageFormatExtensions=["svg","xml"]},56476:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=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 o(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=i(n(77811)),u=a(n(20201));t.default=function(e){var t=e.setName,n=e.assetName;return"".concat(u.baseCdnUrl,"/").concat(l.default,"/").concat(t,"/").concat(n,".woff")}},83346:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=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 o(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=i(n(77811)),u=a(n(20201)),s=i(n(5215));t.default=function(e){var t=e.setName,n=e.assetName,r=e.dark,o=e.density,a=e.format,i=(0,s.default)({assetName:n,setName:t,dark:r,density:o,format:a});return"".concat(u.baseCdnUrl,"/").concat(l.default,"/").concat(t,"/").concat(i)}},18346:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={icon:36,flag:24,thumbnail:120,spot:260,hero:460};t.default=function(e){var t=n[e];if(!t)throw new Error('getImageSize: Size "'.concat(e,'" is not supported'));return t}},17746:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20201);t.default=function(e){return e===r.flagSet}},86980:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(88124);t.default=function(e){return r.remoteVectorImageFormatExtensions.includes(e)}},93395:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(88124);t.default=function(e){return r.remoteVectorSets.includes(e)}},3099:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20201);t.default=function(e){var t=e.setType,n=e.assetData,o=function(e){return e.file&&r.remoteVectorImageFormatExtensions.includes((n=(t=e.file.default).lastIndexOf("."))>0&&n{this.observer=new MutationObserver((t=>this.handleMutation(t,e))),this.observer.observe(this.root,this.observerConfig),this.sync()},this.handleMutation=(e,t)=>{const n=e.find((e=>e.removedNodes.length)),o=this.nodes,a=(0,r.iq)(this.root);if(!o.length&&a.length&&t.onFocusEnable?.(),!n)return this.nodesCached=!1,void this.sync();if(document.activeElement!==document.body)return;const i=this.activeElement?o.indexOf(this.activeElement):-1,l=a.length-o.length;let u=a[0];if(-1!==i)switch(!0){case 0===l:u=a[i];break;case l>0:u=a[i+l];break;case l<0:const e=Math.floor((o.length-a.length)/2),t=Math.max(e,1),n=t>1&&t%2?t-1:t+1;u=a[Math.max(0,Math.min(a.length-1,n))]}u&&t.onFocusUpdate(u),this.nodesCached=!1,this.sync()},this.sync=()=>{this.nodesCached||(this.nodes=(0,r.iq)(this.root),this.nodesCached=!0),this.activeElement=(0,r.bq)()},this.disconnect=()=>{this.nodes=[],this.activeElement=null,this.observer?.disconnect(),this.observer=void 0},this.root=e}}},32426:function(e,t){"use strict";t.A=class{constructor(){this.items={},this.tailId=null,this.idCounter=0}generateId(){return this.idCounter+=1,this.idCounter}get(e){return this.items[e]}isLast(e){return null!==this.tailId&&e===this.tailId}add(e){const t=this.tailId,n=t&&this.get(t),r=this.generateId();return this.items[r]={prevId:t,...e},n&&(n.nextId=r),this.tailId=r,r}remove(e){const t=this.items[e];if(!t)return;const n=t.prevId,r=n&&this.get(n),o=t.nextId,a=o&&this.get(o);r&&(r.nextId=t.nextId??null),a&&(a.prevId=t.prevId??null),o||(this.tailId=n??null);const i=this.get(e);return delete this.items[e],i}removeTill(e,t){const n=this.get(e),r=this.remove(e);return n&&n.prevId?t(n)?r:this.removeTill(n.prevId,t):r}}},61256:function(e,t,n){"use strict";n.d(t,{EE:function(){return u},Xx:function(){return a},bq:function(){return s},iq:function(){return i},pW:function(){return l}});const r="data-bui-focus",o='\n a,button,details,\n input:not([type="hidden"]),textarea,select,iframe,\n [tabindex]:not([tabindex="-1"])',a=(e,t)=>{let n=!e.hasAttribute("disabled")&&(e.getBoundingClientRect().height>0||e instanceof HTMLInputElement)&&!(e.hasAttribute("tabindex")&&"-1"===e.getAttribute("tabindex"));return t?.matchSelector&&(n=e.matches(o)),n},i=(e,t)=>{const n=Array.from(e.querySelectorAll(o)).filter((e=>a(e)));return n.length&&t&&n.unshift(t),n},l=(e,t)=>{document.querySelector(`[${r}]`)?.removeAttribute(r),t?.pseudoFocus?e.setAttribute(r,"true"):e.focus()},u=e=>e.hasAttribute(r),s=()=>document.querySelector(`[${r}]`)||document.activeElement},27090:function(e,t,n){"use strict";n.d(t,{G:function(){return l},j:function(){return i}});var r=n(61256);const o="data-bui-trap-focus-placeholder";let a=0;const i=e=>{e.querySelectorAll(`[${o}]`).forEach((e=>e.remove()))},l=e=>{let t=[...e];return t.forEach(((n,i)=>{if("IFRAME"!==n.tagName)return;const l=i===e.length-1,{iframeLabel:u,placeholder:s}=function(e,t){const n=e.getAttribute("id")||`bui-trap-focus-iframe-${a}`;a+=1;const r=e.getAttribute("title")||e.getAttribute("aria-label"),i=document.createElement("div");let l;return i.setAttribute("tabindex","0"),i.setAttribute(o,""),i.style.height="1px",i.style.opacity="0",r&&i.setAttribute("aria-label",r),e.insertAdjacentElement("beforebegin",i),e.setAttribute("id",n),e.removeAttribute("title"),e.removeAttribute("aria-label"),"last"===t?(l=document.createElement("div"),l.setAttribute("tabindex","0"),l.setAttribute(o,""),e.insertAdjacentElement("afterend",l),{iframeLabel:i,placeholder:l}):{iframeLabel:i}}(n,l?"last":void 0);t=[...t.slice(0,i),u,n,...t.slice(i+1)],s&&s.addEventListener("focus",(t=>{t.relatedTarget&&"IFRAME"!==t.relatedTarget.tagName||e.length&&(0,r.pW)(e[0],{pseudoFocus:!1})}))})),t}},55968:function(e,t,n){"use strict";n.d(t,{o:function(){return r.A}});var r=n(6649);n(95165)},95165:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});const r=(()=>{let e=[];const t=t=>{let n=t.parentNode&&t.parentNode.firstChild;for(;n;){const r=n!==t,o=1===n.nodeType&&!n.hasAttribute("aria-hidden");r&&o&&(n.setAttribute("aria-hidden","true"),e.push(n)),n=n.nextSibling}},n=()=>{e.forEach((e=>{e.removeAttribute("aria-hidden")})),e=[]};return r=>{let o=r;for(e.length&&n();o&&o!==document.body;)t(o),o=o.parentElement;return{release:n}}})()},59490:function(e,t,n){"use strict";n.d(t,{xW:function(){return r},yl:function(){return s},Fj:function(){return a}});var r=(...e)=>e.reduce(((e,t)=>!e&&t?t:t?`${e} ${t}`:e),""),o=(e,t,n={})=>{const{viewport:r}=n,o="s"===r||!r;return void 0===t?null:`${e}-${t.toString()}${r&&!o?`--${r}`:""}`},a=(e,t,n)=>{if(void 0!==n){if("object"!=typeof n){const r=o(t,n);return r?e[r]:null}return Object.keys(n).reduce(((r,a)=>{const i=o(t,n[a],{viewport:a});return i?[...r,e[i]]:r}),[]).join(" ")}},i=n(29385),l=n(63594);const u=["zIndex"];var s=e=>{const t=e||{};return(t?Object.keys(t):[]).reduce(((e,n)=>{if(void 0!==t[n])if(u.includes(n)){const r=a(l.A,"bui_mixin_z-index",t[n]);r&&e.push(r)}else e.push(l.A[`bui_mixin_${(0,i.fX)(n)}`]);return e}),[]).join(" ")}},29385:function(e,t,n){"use strict";n.d(t,{sg:function(){return r},I6:function(){return o},hf:function(){return s},V8:function(){return l},mY:function(){return c.A},dA:function(){return a},l5:function(){return f.A},fX:function(){return d},$o:function(){return i}});var r=(e,t=20)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>e(...r)),t)}},o=(e,t)=>{const n=e.length;for(let r=0;r{const t=window.requestAnimationFrame;t((()=>t(e)))},i=e=>e<=9&&e>=0?`0${e}`:e.toString(),l=()=>{if("undefined"!=typeof document)return"rtl"===window.getComputedStyle(document.body).getPropertyValue("direction")},u=n(58961),s=()=>{if("undefined"!=typeof document)return!!document.querySelector(`[${u.l}]`)},c=n(73230),f=n(12427),d=(e="")=>e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase()},73230:function(e,t,n){"use strict";var r=n(23653);t.A=()=>document.documentElement&&document.documentElement.offsetWidth"string"==typeof e||"boolean"==typeof e?t[String(e)]:Object.keys(e).reduce(((n,r)=>{const o=String(e[r]);return n[r]=t[o],n}),{s:t[String(e.s)]})},48151:function(e,t){"use strict";const n=(()=>{let e;return()=>{if(e)return e;const t=document.createElement("div");return t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),e=t.getBoundingClientRect().width-t.clientWidth,document.body.removeChild(t),e}})();t.A=n},61004:function(e,t,n){"use strict";n.d(t,{q2:function(){return u},Wt:function(){return d},CA:function(){return l},no:function(){return f},x5:function(){return c},U:function(){return s},n2:function(){return v},kx:function(){return i},qo:function(){return g}});var r=n(29385);let o;var a=(e,t)=>{if(!(0,r.V8)())return t;const n=(()=>{if(o)return o;const e=window.document.createElement("div");return e.appendChild(document.createTextNode("DUMMY")),e.dir="rtl",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),o="reverse",e.scrollLeft>0?o="default":(e.scrollLeft=1,e.scrollLeft<1&&(o="negative")),document.body.removeChild(e),o})();return"negative"===n?-t:"reverse"===n?t:e.scrollWidth-e.clientWidth-t},i=(e,t,n={instant:!1})=>{const{instant:r}=n,o=a(e,t);"scrollBehavior"in document.documentElement.style?e.scrollTo({left:o,behavior:r?void 0:"smooth"}):e.scrollLeft=o},l=e=>a(e,e.scrollLeft);const u=5;var s=e=>l(e){const t=l(e);return e.scrollWidth-(t+e.clientWidth){const n=t.getBoundingClientRect(),o=e.getBoundingClientRect();return(0,r.V8)()?n.right-o.right:o.left-n.left},d=(e,t)=>{const n=(0,r.V8)()?t.clientWidth-e.offsetLeft-e.clientWidth:e.offsetLeft;return Math.ceil(n)},p=n(48151);const m={},h={body:{overflow:"",paddingRight:""},documentElement:{overflow:""}},v=(e,t)=>{if(!Object.keys(m).length){const{body:e,documentElement:n}=document,r=e.getBoundingClientRect(),o=r.left+r.right{if(delete m[e],Object.keys(m).length)return;const{body:n,documentElement:r}=document;h.documentElement.overflow&&"hidden"!==h.documentElement.overflow?r.style.overflow=h.documentElement.overflow:document.documentElement.style.removeProperty("overflow"),h.body.overflow&&"hidden"!==h.body.overflow?n.style.overflow=h.body.overflow:n.style.removeProperty("overflow"),h.body.paddingRight?n.style.paddingRight=h.body.paddingRight:n.style.removeProperty("padding-right"),h.documentElement.overflow="",h.body.overflow="",h.body.paddingRight="",t?.()}},33162:function(e,t,n){"use strict";n.d(t,{u:function(){return i},z:function(){return o}});const r="--bui";var o=(e,t,n,o)=>{if(void 0===e)return{};const a=e=>"number"==typeof e?"_spaced":"";if("object"!=typeof e){const i=o?o(e):e;return{[`${r}_${t}${a(i)}_${n}--s`]:i}}return Object.keys(e).reduce(((i,l)=>{const u=o&&e?o(e[l]):e[l];return void 0!==u&&(i[`${r}_${t}${a(u)}_${n}--${l}`]=u),i}),{})},a=n(29385),i=e=>e?Object.keys(e).reduce(((t,n)=>{const r=e[n];return{...t,...o(r,"mixin",(0,a.fX)(n))}}),{}):{}},96462:function(e,t,n){"use strict";n(96540),n(59490),n(33162),n(89328),n(89708)},82916:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(96540),o=n(59490),a=n(33162),i=n(29385),l=n(40296),u={root:"Y2GrMepHg4YXB1IIqu9a","focus-inset":"ThZ3RQvWyFZ7nUFXtRZN","root--wide-true":"nvjNreHAKfbZJIa7GtLr","root--wide-false":"rOfLvyT6Xgx9rC9TtYz7","root--wide-true--m":"QBfWp3wNfhlW21ux5aca","root--wide-false--m":"wX0wXBqzaEcRDn6w2e3E","root--wide-true--l":"KaZn3OhInlWqaMyrLnns","root--wide-false--l":"hcyPwnTdJTeJLjJE2k_B","root--wide-true--xl":"S4kSEIkrlGO3FjjP3SNQ","root--wide-false--xl":"EvaMwNt9qVmicfgHcQnQ"},s=r.forwardRef(((e,t)=>{const{children:n,className:s,insetFocus:c,wide:f,attributes:d,tagName:p,preventDefault:m,onClick:h,mixin:v}=e,g=(0,o.xW)(u.root,s,c&&u["focus-inset"],(0,o.yl)(v),(0,o.Fj)(u,"root--wide",f)),b={...d,style:{...d?.style||{},...(0,a.u)(v)}},y=e.href||d?.href,w=e.type||d?.type,x=e.disabled||d?.disabled,E=h||d?.onClick,k=d?.onFocus||d?.onBlur,C=Boolean(y||d?.href),S=Boolean(E||k||w);let _;if(C)b.href=y,_="a";else if(!S||p&&"button"!==p)if(S){const e=!("label"===p)||E||k;_=p||"span",b.role=e?"button":void 0,b.tabIndex=e?0:void 0}else _=p||"span";else _="button",b.type=w||"button";const A=e=>{m&&e.preventDefault(),h&&!x&&h(e),d?.onClick&&!x&&(d?.onClick)(e)};return r.createElement(_,{ref:t,...b,disabled:x,className:g,onClick:A,onKeyDown:e=>{if("button"!==b.role||C)return;const t=(0,i.l5)(e.key);t!==l.A.SPACE&&t!==l.A.ENTER||(e.preventDefault(),A(e))}},n)}))},90265:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(96540),o=n(59490),a=n(33162),i=e=>{const{children:t,ratio:n="1:1",className:i,attributes:l,width:u,mixin:s}=e,c=(0,o.xW)("i2z9XAwb7VpNM81n5nvw",i,(0,o.yl)(s)),f={...(0,a.z)(u,"aspect_ratio","width"),...(0,a.u)(s)},d={...l,style:{...l?.style||{},...(0,a.u)(s)}},p={...(0,a.z)(n,"aspect_ratio","padding-top",(e=>1/(e=>{const[t,n]=e.split(":");return+t/+n})(e)*100+"%"))};return r.createElement("div",{...d,style:{...l?.style||{},...f},className:c},r.createElement("div",{className:"Bp7RI2bM0m_apbnvfL4A",style:p},r.createElement("div",{className:"skYHcPdQ6RBus8UVR7AE"},t)))}},43101:function(e,t,n){"use strict";var r=n(96540),o=n(40296),a=n(29385),i=n(19718),l=n(89708),u=n(70723);const s=r.createContext({}),c=()=>r.useContext(s),f=r.forwardRef(((e,t)=>{const{children:n,onChange:o}=e,[a,i]=r.useState(!1),l=r.useRef(null),u=r.useRef(null),c=r.useCallback((()=>{i(!0)}),[]),f=r.useCallback((()=>{i(!1)}),[]);return r.useImperativeHandle(t,(()=>({open:c,close:f}))),r.createElement(s.Provider,{value:{active:a,open:c,close:f,triggerRef:l,positionRef:u,onChange:o,onItemClick:e=>{o?.(e),f()}}},n)}));f.Trigger=e=>{const{children:t}=e,{triggerRef:n,positionRef:i,open:l,active:u,onChange:s}=c();return r.useEffect((()=>{const e=n.current;if(!e)return;const t=e=>{(0,a.l5)(e.key)===o.A.DOWN&&(u||l())};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)}),[n,l,u]),t({ref:n,onChange:e=>{s?.({value:e.target.value}),l()},autoComplete:"off",role:"combobox"},i)},f.Popover=e=>{const{children:t}=e,{triggerRef:n,positionRef:o,active:a,open:u,close:s}=c(),f=!!r.Children.toArray(t).filter(Boolean).length;return r.createElement(i.A,{position:"bottom-stretch",triggerRef:n,positionRef:o,triggerType:"focus",trapFocusMode:"soft",navigationMode:"arrows",hideClose:!0,hideArrow:!0,fill:!0,disableAnimation:"hide",active:!!f&&a,onOpen:u,onClose:s},r.createElement(i.A.Content,null,r.createElement(l.A,{gap:.5,mixin:{padding:2}},t)))},f.Item=e=>{const{value:t,...n}=e,{onItemClick:o}=c();return r.createElement(u.A,{...n,onClick:()=>{o({value:t})},attributes:{role:"option"},roundedCorners:!0,spacing:"small"})}},20005:function(e,t,n){"use strict";const r=n(96540).createContext({rtl:!1,setRTL:()=>{},defaultViewportSize:"small",themeMode:"light",setThemeMode:()=>{},invertThemeMode:()=>{}});t.A=r},27211:function(e,t,n){"use strict";n(96540),n(59490),n(33162),n(82916),n(69149),n(12842),n(19353),n(93191),n(59679)},3830:function(e,t,n){"use strict";n.d(t,{A:function(){return l}});var r=n(96540),o=n(59490),a=n(33162),i={root:"SNqTnwp0GSq_W2mDqy10","root--overflow-hidden":"lW3_X6wNHeud8aGpbRhj","root--overflow-auto":"RJqglM620hLUuat7VA6B","root--border-width-100":"ls7kcuD30gKxkX3pWNll","root--border-radius-100":"lZVg3rzgL36KLOo5aHzg","root--border-radius-200":"GLoDkNeSZUH3ceWL4UIF","root--border-radius-300":"rmLAQY1rIE40YIlPhHVH","root--border-radius-circle":"PMy1O8p9suvs4FQpnpOO","root--background-color-destructive_alt":"RtWJvEoH40wwueHGc9Rg","root--background-color-constructive_alt":"uu6DfFSVM8gjwp1J_1b5","root--background-color-callout_alt":"dcPK_zLnzuEtbrhJs5HR","root--background-color-accent_alt":"Nf69HTlp7SM7SCIep5cp","root--background-color-action_alt":"dkFMBlgwF0k6nbX6AhTh","root--background-color-neutral_alt":"SIOSt_wOzBwRu7N5XszA","root--background-color-elevation_one":"D8wxa1Cs3Wpt74_uueHg","root--background-color-elevation_two":"Isy8Y8gUews8LnZdegXb","root--background-color-brand_primary":"Xkv9_LNjEiJsMPS6_bI_","root--background-color-brand_primary_dynamic":"e25GkoTAXhHZvgYm18a9","root--border-color-action":"TaMUesf65ueI31vsc7jq","root--border-color-destructive":"CYEmLloRY_lmE0H41VTL","root--border-color-constructive":"NcN4HdNZrlg2ziIYEEu7","root--border-color-accent":"ORJMOJW5CX6epOBbfnUz","root--border-color-callout":"EeAmpZ_pg7T9UA1t_XMw","root--border-color-neutral_alt":"g3V3ABIiJvbPk7ePNOyG","root--border-color-neutral":"AOJEs_T78JUYQ0WsPMg9"},l=e=>{const{padding:t=4,attributes:n,backgroundColor:l,borderColor:u,borderRadius:s,overflow:c,tagName:f,className:d,children:p,mixin:m}=e,h=f||"div",v=(0,o.xW)(i.root,l&&i[`root--background-color-${l}`],u&&i[`root--border-color-${u}`],u&&i["root--border-width-100"],s&&i[`root--border-radius-${s}`],c&&i[`root--overflow-${c}`],d,(0,o.yl)(m)),g={...n,style:{...(0,a.z)(t,"box","padding"),...n?.style||{},...(0,a.u)(m)}};return r.createElement(h,{...g,className:v},p)}},85381:function(e,t,n){"use strict";n(96540),n(59490),n(19353),n(56164),n(89708),n(93191)},47630:function(e,t,n){"use strict";n.d(t,{A:function(){return l}});var r=n(96540),o=n(59490),a=n(93191),i={root:"nGTBlSJ3UlcwQ2mGXvJk","root--variant-neutral":"l3AyceDisPguiwEa2awJ","root--variant-destructive":"vn7XdgY9PS1TBPaijlzl","root--variant-action":"eywxMoAxB2tv3blSTcBv"},l=e=>{const{ariaLabel:t,variant:n="neutral",text:l="",maxValue:u=99,className:s,attributes:c,mixin:f}=e,d=(0,o.xW)(i.root,s,n&&i[`root--variant-${n}`]);let p=l;return"number"==typeof l&&(p=l<=u?l:`${u}+`),r.createElement(a.A,{attributes:{...c,"aria-label":t},className:d,variant:"small_1",mixin:f},p)}},89328:function(e,t,n){"use strict";n.d(t,{A:function(){return r.A}});var r=n(15282)},50510:function(e,t,n){"use strict";var r=n(96540),o=n(59490),a=n(33162);const i=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],l=["january","february","march","april","may","june","july","august","september","october","november","december"];var u,s=({vertical:e,monthsToShow:t=1})=>e?5:t,c=n(29385),f=e=>`${e.getFullYear()}-${(0,c.$o)(e.getMonth()+1)}-${(0,c.$o)(e.getDate())}`,d=(e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear()),p=(e,t)=>new Date(e.getFullYear(),e.getMonth()+t,1),m=({baseDate:e,vertical:t,minDate:n,maxDate:r,monthsToShow:o})=>{const a=new Date,i=f(new Date),l=e||new Date(a.getFullYear(),a.getMonth(),1),u=f(l),c=n&&f(n),m=r&&f(r);let h=0;return!e&&n&&c&&um&&(h=d(l,r),h=h-s({vertical:t,monthsToShow:o})+1),!e&&n&&c&&m&&i>m&&(h=d(a,n)),h&&(n||r)?{date:p(l,h),diff:h}:t?(h=-2,{date:p(l,h),diff:h}):{date:l,diff:h}},h=(e,t)=>new Date(e.getFullYear(),e.getMonth(),e.getDate()+t),v=(e,t)=>{if(!t)return!1;const n=new Date(e.getFullYear(),e.getMonth(),1);return f(n)<=f(t)},g=(e,t)=>{if(!t)return!1;const n=new Date(e.getFullYear(),e.getMonth()+1,0);return f(n)>=f(t)},b=({isoDate:e,maxDate:t,minDate:n,disabledDates:r,enabledDates:o,maxSelectionLength:a,startDate:i,endDate:l})=>{const u=new Date(e),s=n&&f(n),d=t&&f(t),p=a&&i&&!l&&((e,t)=>{const n=t.getTime()-e.getTime();return Math.ceil(n/864e5)})(i,u)>a,m=r&&(0,c.I6)(r,(t=>f(t)===e)),h=o&&(0,c.I6)(o,(t=>f(t)===e));return!!(s&&ed||p||m||o&&!h)},y=(e,t=1)=>{const n=(e.getDay()-t)%7,r=n<0?7+n:n;return Math.abs(r)},w=n(65631),x=n(31293),E=n(84686),k=n(89328);!function(e){e[e.previous=0]="previous",e[e.next=1]="next"}(u||(u={}));var C={root:"JN_ZNknSPRKMXlHCwElY",month:"Sg8IVqMnIO1XKJvQhmK4","root--vertical":"uyaLTpWzZx7RWkyCYtU2",control:"AFa6tDQcyDH9L6Pxv_zA","control--next":"rnxzGyDsx7UEOCCzAtKw","control--prev":"iMBPDw3C0m5G6GgM3sHW",content:"VtHB_34vV26VDpepZL9j",monthWrapper:"FPKhHNmZlkEg0oH55CPr",dates:"tLnsaaIDGmgrNVp8HWEu",weekday:"KVB3YdxVJnGd0S87rAQm",cell:"gh4gKk0jV76vGH2NG22x",date:"pn_QAROqw0vwyiuOcuKA","date--hoverable":"FAWwcG1VuTMaEtKqpNsg","date--disabled":"Al147uAfP_3bg_zcgwhQ","date--today":"tiKsuvLpEjvdH93mGhIj","date--in-range":"FE7jloOro9YYuPzhpyCK","date--selected":"QBejDegnKlugTCRdAWe3","date--selected-start":"IR6UA1SQ0kg1AsJRjvCQ","date--selected-end":"E8BWhPMIQdgDGFPAJSHj",attachment:"fNT4fKwkw4vIMPwmfD1g",loader:"RARq54IqpgxpHA9qmH0w",display:"fpEaiwWtDF_veKEFAucW",verticalHeader:"x0gbAp6AsIgOK62839gQ",verticalWeekdays:"GUXvywP4tiIVfpyUTGzF","root--full-height":"EhZPjcm9dpKRfZwBGF06"},S=r.forwardRef(((e,t)=>{const{onClick:n,label:a,type:i}=e,l=i===u.previous,s=l?(0,o.xW)(C.control,C["control--prev"]):(0,o.xW)(C.control,C["control--next"]),c=l?x.A:E.A;return r.createElement(k.A,{ref:t,className:s,variant:"tertiary-neutral",icon:c,size:"large",attributes:{"aria-label":a},onClick:n})})),_=n(93191);const A=r.createContext({});var N=e=>{const{children:t,...n}=e,{startDate:o,endDate:a}=n,[i,l]=r.useState(null);return r.createElement(A.Provider,{value:{...n,hoveredDateISO:i,setHoveredDateISO:l,startDateISO:o&&f(o),endDateISO:a&&f(a)||null}},t)},R=()=>r.useContext(A),D=n(95782);const I={good:"constructive",neutral:"neutral",bad:"destructive"};var z=e=>{const{variant:t="neutral",count:n,text:o,loading:a,selected:i}=e,l=i?"inherit":I[t];let u=null;return o&&(u=o),n&&(u=new Array(n).fill("").map(((e,t)=>r.createElement(r.Fragment,{key:t},"•")))),a&&(u=r.createElement(D.A,{variant:"box",width:"36px",aspectRatio:"3:1",className:C.loader})),r.createElement(_.A,{variant:"small_2",color:l,className:C.attachment},u)};const P=e=>{const{date:t,onKeyDown:n,isInRange:a,isSelected:i,isSelectionStart:u,isSelectionEnd:s,isDisabled:c,className:d,accessibilityHint:p,isToday:m,hoverable:h,focusable:v,onMouseIn:g,onMouseOut:b,onClick:y}=e,{monthNames:w,renderAttachment:x,renderDay:E,isStandaloneMonthView:k}=R(),S=f(t),_=`${t.getDate()} ${((e,t)=>e[l[t.getMonth()]])(w,t)} ${t.getFullYear()}`,A=x&&x({date:t}),N=(0,o.xW)(C.date,h&&C["date--hoverable"],m&&C["date--today"],a&&C["date--in-range"],c&&C["date--disabled"],i&&C["date--selected"],u&&C["date--selected-start"],s&&C["date--selected-end"],d);return r.createElement("td",{role:"gridcell",className:C.cell},r.createElement("span",{tabIndex:v?0:-1,className:N,onClick:y,onMouseEnter:g,onMouseLeave:b,onFocus:g,onBlur:b,onKeyDown:n,"data-date":S,"aria-checked":i||a,role:"checkbox","aria-label":[_,A?.ariaLabel,p].filter(Boolean).join(", ")},r.createElement("span",null,E&&!k?E(t):t.getDate()),A?r.createElement(z,{...A,selected:i}):null))};var M=e=>{const{date:t,onKeyDown:n,firstDateISO:a,focusedDateISO:i}=e,{handleMouseIn:l,handleMouseOut:u,handleClick:s,isInRange:d,isSelected:p,isSelectionStart:m,isSelectionEnd:h,isDisabled:v,className:g,accessibilityHint:y,isToday:w}=(e=>{const{setHoveredDateISO:t,hoveredDateISO:n,startDateISO:a,endDateISO:i,startDate:l,endDate:u,singleDate:s,minDate:d,maxDate:p,maxSelectionLength:m,enabledDates:h,disabledDates:v,selectedDates:g,dayClassName:y,selectedDayClassName:w,disabledDayClassName:x,startAccessibilityHint:E,endAccessibilityHint:k,allowSameDateSelection:C,onDateChange:S,onDayHover:_}=r.useContext(A),N=f(e),R=N===f(new Date),D=n===N,I=Boolean(a&&N>a&&(i&&Nf(e)===N)),T=Boolean(z||P||M),L=b({isoDate:N,minDate:d,maxDate:p,enabledDates:h,disabledDates:v,maxSelectionLength:m,startDate:l,endDate:u}),O=l&&a&&!u&&!s&&(N>a||C&&T);return{handleMouseIn:()=>{t(N),_&&_({date:e})},handleMouseOut:()=>D&&t(null),handleClick:()=>{if(L)return;const t={startDate:l,endDate:u};O?t.endDate=e:(t.startDate=e,t.endDate=null,s&&(t.endDate=e)),S&&S({startDate:t.startDate,endDate:t.endDate,changedDate:e})},dateISO:N,isToday:R,isInRange:I,isSelected:T,isSelectionStart:z,isSelectionEnd:T&&P||T&&s,isDisabled:L,accessibilityHint:O?k:E,className:(0,o.xW)(y,T&&w,L&&x)}})(t),{renderDay:x,isStandaloneMonthView:E}=R(),k=f(t),C=!v&&(i?i===k:a===k),S=x&&x(t);return S&&E&&r.isValidElement(S)&&S?.type===P?x(t):r.createElement(P,{hoverable:!0,date:t,isToday:w,isInRange:d,isDisabled:v,isSelected:p,isSelectionStart:m,isSelectionEnd:h,focusable:C,className:g,accessibilityHint:y,onClick:s,onMouseIn:l,onMouseOut:u,onKeyDown:n})},T=e=>{const{week:t,onDayKeyDown:n,firstDateISO:o,focusedDateISO:a,index:i}=e,l=[],u=(e,t)=>{if(!e.date)return r.createElement("td",{key:t,className:C.cell,"aria-hidden":"true"});const i=e.date;return r.createElement(M,{key:i.getTime(),date:i,onKeyDown:n,firstDateISO:o,focusedDateISO:a})};for(let e=0;e{const{dayNames:e,firstWeekDay:t}=R(),n=((e,t)=>{const n=i.slice(0,t);return[...i.slice(t),...n].map((t=>e[t]))})(e,t);return r.createElement("thead",{className:C.row,"aria-hidden":"true"},r.createElement("tr",null,n.map((e=>r.createElement("th",{scope:"col",key:e,className:C.weekday},r.createElement(_.A,{color:"neutral_alt",variant:"body_2"},e))))))};const O=r.forwardRef(((e,t)=>{const{baseDate:n,onDayKeyDown:a,firstDateISO:i,focusedDateISO:u,children:s}=e,{monthLabelClassName:c,vertical:f,monthNames:d,firstWeekDay:p}=R(),h=(e=>l.map((t=>e[t])))(d),{date:v}=m({});void 0!==e.month&&v.setMonth(e.month),void 0!==e.year&&v.setFullYear(e.year);const g=((e,t)=>{const n=e.getMonth(),r=e.getFullYear(),o=[],a=new Date(r,n,1),i=y(a,t);for(0!==i&&o.push(new Array(i).fill({}));n===a.getMonth();)0!==y(a,t)&&o.length||o.push([]),o[o.length-1].push({date:new Date(a)}),a.setDate(a.getDate()+1);const l=y(a,t);return 0!==l&&o[o.length-1].push(...new Array(7-l).fill({})),o})(n||v,p),b=void 0===e.month&&n?n.getMonth():e.month,w=void 0===e.year&&n?n.getFullYear():e.year,x=h[b||0],E=(0,o.xW)(C.month,c);return r.createElement("div",{key:`${x}${w}`,className:C.monthWrapper,ref:t},r.createElement(_.A,{tagName:"h3",variant:"strong_1",attributes:{"aria-live":"polite"},className:E},x," ",w),r.createElement("table",{className:C.dates,role:"grid"},!f&&r.createElement(L,null),r.createElement("tbody",null,g.map(((e,t)=>s||r.createElement(T,{firstDateISO:i||v.toISOString(),focusedDateISO:u||null,key:t,index:t,week:e,onDayKeyDown:a}))))))})),F=r.forwardRef(((e,t)=>{const{monthNames:n,dayNames:o,renderDay:a,renderAttachment:i}=e;return r.createElement(N,{vertical:!1,dayNames:o,monthNames:n,monthsToShow:1,firstWeekDay:1,mode:"single",startDate:null,endDate:null,renderDay:a,renderAttachment:i,isStandaloneMonthView:!0},r.createElement(O,{...e,ref:t}))}));var j=O,U=n(40296),V=e=>{const{onBaseMonthChange:t,baseMonthDate:n,elContentRef:o,elVerticalBaseMonthRef:a,nextControlRef:i,previousControlRef:l}=e,{startDate:u,endDate:s,minDate:d,maxDate:m,maxSelectionLength:y,enabledDates:w,disabledDates:x}=r.useContext(A),E=r.useRef(!1),k=r.useRef(null),[C,S]=r.useState(null),_=a.current||o.current,N=_?.querySelector("[data-date]"),R=N?.getAttribute("data-date")||null,D=r.useCallback((e=>{if(o.current)return o.current.querySelector(`[data-date="${e}"]`)}),[o]),I=r.useCallback((()=>{if(k.current)return D(k.current)}),[D]);return r.useEffect((()=>{if(!E.current)return;const e=I();e?.focus()}),[n,I]),{handleNextClick:()=>{const e=p(n,1);g(e,m)&&l.current?.focus(),E.current=!1,t(e)},handlePreviousClick:()=>{const e=p(n,-1);v(e,d)&&i.current?.focus(),E.current=!1,t(e)},handleDayKeyDown:e=>{const n=(0,c.l5)(e.key);if(![U.A.LEFT,U.A.RIGHT,U.A.UP,U.A.DOWN,U.A.SPACE,U.A.ENTER,U.A.PAGE_DOWN,U.A.PAGE_UP].includes(n))return void(E.current=!1);const r=e.currentTarget.getAttribute("data-date");if(!r)return;e.preventDefault(),E.current=!0;const o=(e=>{const[t,n,r=1]=e.split("-").map(Number);return new Date(t,n-1,r)})(r);let a;switch(n){case U.A.RIGHT:a=h(o,1);break;case U.A.LEFT:a=h(o,-1);break;case U.A.DOWN:a=h(o,7);break;case U.A.UP:a=h(o,-7);break;case U.A.PAGE_DOWN:a=p(o,1);break;case U.A.PAGE_UP:a=p(o,-1);break;case U.A.SPACE:case U.A.ENTER:I()?.click()}if(a){const e=f(a),n=D(e);if(b({isoDate:e,minDate:d,maxDate:m,enabledDates:w,disabledDates:x,maxSelectionLength:y,startDate:u,endDate:s}))return;if(S(e),k.current=e,n)return void n.focus();t(a)}},firstDateISO:R,focusedDateISO:C}};const W=e=>{const{className:t,attributes:n,fullHeight:i,mode:l,renderSelected:c,startDate:f,endDate:d,minDate:b,maxDate:y,baseDate:x,ariaLabel:E,previousAriaLabel:k,nextAriaLabel:_,monthsToShow:A,vertical:N,onBaseMonthChange:D,mixin:I}=e,[z,P]=r.useState(0),[M,T]=r.useState(s({vertical:N,monthsToShow:A})),O=m({baseDate:x,minDate:b,maxDate:y,vertical:N,monthsToShow:M}),F=r.useRef(null),U=r.useRef(null),W=r.useRef(null),B=r.useRef(null),H=r.useRef(null),[Q,q]=r.useState(O.date),G=(0,w.A)(Q,!1),K=p(Q,M-1),X=(0,o.xW)(C.root,t,i&&C["root--full-height"],N&&C["root--vertical"],(0,o.yl)(I)),Z={...n,style:{...n?.style||{},...(0,a.u)(I)}},Y=e=>{if(!b||b&&Q>b)return!1;const t=new Date(new Date(Q).setMonth(Q.getMonth()+e));return t{if(!y)return!1;const t=new Date(new Date(Q).setMonth(Q.getMonth()+e));return t>y&&t.getMonth()>y.getMonth()},{handleNextClick:$,handlePreviousClick:ee,handleDayKeyDown:te,firstDateISO:ne,focusedDateISO:re}=V({baseMonthDate:Q,onBaseMonthChange:q,elContentRef:W,elVerticalBaseMonthRef:H,nextControlRef:F,previousControlRef:U}),{handleContentScroll:oe}=(e=>{const{baseMonthDate:t,monthsToShow:n,elContentRef:o,elFirstMonthRef:a,elBaseMonthRef:i,onMonthAdd:l,onBaseMonthChange:u}=e,{vertical:s,minDate:c,maxDate:f}=R(),d=r.useRef(0),m=(0,w.A)(t);return r.useEffect((()=>{const e=a.current,n=o.current;e&&n&&s&&m&&!(t>=m)&&(n.scrollTop=200+e.clientHeight)}),[m,t,a,o,s]),r.useEffect((()=>{const e=o.current,t=i.current;s&&t&&e&&(e.scrollTop=t.offsetTop-e.offsetTop,d.current=e.scrollTop)}),[s,o,i]),{handleContentScroll:()=>{if(!s)return;let e=!1;const r=o.current,a=r.scrollTop,i=d.current>a;if(d.current=a,i){if(v(t,c))return;e=a<200}else{const o=p(t,n-1);if(g(o,f))return;const i=a+r.clientHeight;e=r.scrollHeight-i<200}e&&(i&&u(p(t,-1)),l(n+1))}}})({monthsToShow:M,baseMonthDate:Q,elContentRef:W,elBaseMonthRef:H,elFirstMonthRef:B,onMonthAdd:T,onBaseMonthChange:q});return r.useEffect((()=>{const e=m({baseDate:x,minDate:b,vertical:N,monthsToShow:M,maxDate:y});q(e.date)}),[x,N]),r.useEffect((()=>{D&&"vertical"!==l&&String(Q)!==String(O.date)&&String(Q)!==String(G)&&D(Q)}),[O,Q,G,D,l]),r.useEffect((()=>{if(!N||!W.current)return;const e=W.current?.scrollHeight||0,t=W.current?.clientHeight||0;if(!(e<=t)||t>window.innerHeight)return;const n=W.current.children?.[0]?.clientHeight||0,r=Math.ceil(e/n||0);r&&P(r)}),[N,W,z,P]),r.useEffect((()=>{const e=s({vertical:N,monthsToShow:A});T(e)}),[A,N]),r.createElement("div",{...Z,"aria-label":E,className:X},!v(Q,b)&&r.createElement(S,{ref:U,label:k,onClick:ee,type:u.previous}),!g(K,y)&&r.createElement(S,{ref:F,label:_,onClick:$,type:u.next}),N&&r.createElement("div",{className:C.verticalHeader},r.createElement("table",{className:C.verticalWeekdays},r.createElement(L,null))),r.createElement("div",{className:C.content,onScroll:oe,ref:W},(()=>{const e=[];let t=new Date(Q),n=0,o=Math.max(M,z);for(let a=0;ar.createElement(N,{...e},r.createElement(W,{...e})),H=e=>{const{defaultStartDate:t,defaultEndDate:n,onDateChange:o}=e,[a,i]=r.useState(t||null),[l,u]=r.useState(n||null);return r.createElement(B,{...e,onDateChange:e=>{i(e.startDate),u(e.endDate||null),o&&o(e)},defaultStartDate:void 0,defaultEndDate:void 0,startDate:a,endDate:l})};const Q=e=>{const{firstWeekDay:t=1,mode:n="single",startDate:o,endDate:a}=e,i={...e,firstWeekDay:t,mode:n,monthsToShow:"double"===n?2:1,vertical:"vertical"===n};return void 0===o&&void 0===a?r.createElement(H,{...i}):r.createElement(B,{...i})};Q.Month=F,Q.Day=P},93855:function(e,t,n){"use strict";var r=n(96540),o=n(59490),a=n(33162),i=n(89328),l=n(89708),u=n(73388),s={root:"TifkuAfgi2dlahHX6HwX",header:"m9RHI5KLlzEh7GQotTEQ",inner:"pgRVwlK1wTEoXwbWDUJH",nav:"odniegPvqdzdNpWZn6PE",control:"S42GxPC7gn_MjU_ZSAgW",item:"Z_X99PzgFAtBVkewnMWv","root--size-small":"WzU5IsHTQ2PG3bLml8O1","root--size-medium":"hPkx0Nl6_KbG_sFMCAK7","root--size-large":"B16c_QR5SfcLR6vM2YKw","root--size-larger":"pIygcOE5x7SLUPGe7wFS","root--size-largest":"hq1Nz_KOGWlzM9WxQqeB"};const c=e=>{const{children:t,className:n,attributes:a,index:i}=e,l=(0,o.xW)(s.item,n);return r.createElement(u.A.Item,{className:l,key:i,index:i,realIndex:i,attributes:a},t)},f=e=>null;r.forwardRef(((e,t)=>{const{title:n,action:d,children:p,size:m,onAfterNavigate:h,attributes:v,className:g,ariaLabel:b,previousButtonAriaLabel:y,nextButtonAriaLabel:w,topNavigationOffset:x,mixin:E}=e,k=(0,o.xW)(s.root,g,m&&s[`root--size-${m}`],(0,o.yl)(E)),C={...v,style:{...v?.style||{},...(0,a.u)(E)}};return r.createElement(r.Fragment,null,n&&r.createElement("div",{className:s.header},r.createElement(l.A,{direction:"row",alignItems:"end"},r.createElement(l.A.Item,{grow:!0},n),d&&r.createElement(l.A.Item,null,r.createElement(i.A.Aligner,{alignment:["bottom","end"]},r.createElement(i.A,{...d,variant:"tertiary"}))))),r.createElement(u.A,{ref:t},r.createElement("div",{...C,"aria-label":b,role:"region",className:k},r.createElement(u.A.Container,{className:s.inner,onAfterNavigate:h},r.Children.map(p,((e,t)=>e?e.type===f?r.createElement(c,{index:t,...e.props}):r.createElement(c,{key:e.key||t,index:t},e):null))),r.createElement("div",{className:s.nav,style:{top:x}},r.createElement(u.A.Control,{className:s.control,type:u.H.previous,attributes:{"aria-label":y}}),r.createElement(u.A.Control,{className:s.control,type:u.H.next,attributes:{"aria-label":w}})))))})).Item=f},54126:function(e,t,n){"use strict";n(96540),n(59490),n(33162),n(45759),n(19353),n(47688),n(93191),n(47630),n(82916)},89679:function(e,t,n){"use strict";n(96540),n(59490),n(29385),n(89708),n(93191),n(89328),n(84808)},13252:function(e,t,n){"use strict";n(96540),n(59490),n(93191),n(82916)},56992:function(e,t,n){"use strict";n(96540),n(59490),n(33162),n(13252),n(89708),n(66425)},58771:function(e,t,n){"use strict";n.d(t,{A:function(){return r.A}});var r=n(12507)},66425:function(e,t,n){"use strict";n.d(t,{A:function(){return l}});var r=n(96540),o=n(59490),a=n(33162),i={root:"mN8nWRASRGUPBUjORA9Q","root--vertical-false":"AQcHRMJ2vsJyODj1X1K0","root--vertical-true":"bLdR0RZD6WXnxklFSALd","root--vertical-false--m":"nBzzxRz8ZXiCaM7dsMBa","root--vertical-true--m":"tmvVwaGAspgFeQdA_qEG","root--vertical-false--l":"tBxbIVM9Jg7Te68NpaqC","root--vertical-true--l":"bxnSuiulLfWlI0pTBmkf","root--vertical-false--xl":"zOH0Ekbe6Mt3mXp6QsMm","root--vertical-true--xl":"nYSltxdf826uL9WlydKS"},l=e=>{const{className:t,vertical:n=!1,attributes:l,mixin:u}=e,s=(0,o.xW)(i.root,(0,o.Fj)(i,"root--vertical",n),t,(0,o.yl)(u)),c={...l,style:{...l?.style||{},...(0,a.u)(u)}};return r.createElement("hr",{...c,className:s})}},58101:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(96540),o=n(70723),a=n(19718),i=n(66425);const l=e=>{const{className:t,href:n,attributes:a,icon:l,text:u,disabled:s,onClick:c,textSlot:f,startSlot:d,endSlot:p,preventDefault:m,divider:h}=e;return r.createElement("li",{className:t},h&&r.createElement(i.A,{className:"b_zwHN6gjsvoUjoQJJxc"}),r.createElement(o.A,{attributes:a,icon:l,startSlot:d,endSlot:p,href:n,onClick:c,disabled:s,preventDefault:m,roundedCorners:!1},r.createElement("span",null,u),f&&r.createElement("span",{className:"dfkpbDSv1g3xnfTQtV4z"},f)))},u=e=>{const{items:t,divider:n=!1,onItemChoose:o}=e;return r.createElement(r.Fragment,null,t.map(((e,t)=>r.createElement(l,{...e,divider:!t&&n,key:t,onClick:()=>{e.onChoose&&e.onChoose(e,t),o&&o(e,t)}}))))};var s=e=>{const{items:t,sections:n,attributes:o,children:i,onItemChoose:l,id:s,position:c="bottom-start",triggerClassName:f,triggerType:d,navigationMode:p="arrows",active:m,onOpen:h,onClose:v,triggerDisplay:g,disableAnimation:b}=e;return r.createElement(a.A,{hideClose:!0,trapFocusMode:"soft",triggerType:d,navigationMode:p,position:c,id:s,size:"bottom-stretch"===c?void 0:"small",active:m||!1,onOpen:h,onClose:v,disableAnimation:b,hideArrow:!0,forcePosition:!0,fill:!0},r.createElement(a.A.Trigger,{className:f,display:g},i),r.createElement(a.A.Content,{attributes:{...o,role:"menu"}},r.createElement("ul",{className:"LGO4Ip2kazt6RJ_4bNks"},t&&r.createElement(u,{items:t,onItemChoose:l}),n&&n.map(((e,n)=>r.createElement(r.Fragment,{key:n},r.createElement(u,{items:e.items,divider:n>0||!!t,onItemChoose:l})))))))},c=e=>{const{onItemChoose:t,onOpen:n,onClose:o}=e,[a,i]=r.useState(!1);return r.createElement(s,{...e,active:a,onItemChoose:(e,n)=>{i(!1),t&&t(e,n)},onOpen:()=>{i(!0),n&&n()},onClose:()=>{i(!1),o&&o()}})},f=e=>{const{active:t}=e;return void 0!==t?r.createElement(s,{...e}):r.createElement(c,{...e})}},92201:function(e,t,n){"use strict";n(96540),n(59490),n(33162),n(89708),n(19353),n(89328),n(93191)},54310:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=n(96540),o=n(59490),a=n(93191),i=n(59679);const l=e=>{const{label:t,subLabel:n,labelEndSlot:o,required:i,id:l,disabled:u,group:s}=e,c=s?"legend":"label";return r.createElement(a.A,{tagName:c,color:u?"disabled":"neutral",className:"q0tLaDHyAa1cMn2gNroO",variant:"body_2",attributes:{htmlFor:s?void 0:l}},r.createElement("span",null,r.createElement(a.A,{tagName:"span",variant:"emphasized_2"},t),n&&r.createElement(a.A,{tagName:"span",color:u?"disabled":"neutral_alt",className:"M52HpC4IoXORpzjx1Puf"},n),i&&r.createElement(a.A,{tagName:"span",color:u?"disabled":"destructive",className:"oBpZ_eE9Mjng06Oayquz"},"*")),o&&r.createElement(a.A,{tagName:"span",color:u?"disabled":"neutral_alt",className:"WfJNDurOcFGEc6bZ7fQg"},o))};var u=r.forwardRef(((e,t)=>{const{id:n,label:u,subLabel:s,labelEndSlot:c,helper:f,error:d,success:p,disabled:m,required:h,group:v,children:g,className:b,attributes:y,mixin:w}=e,x=(0,i.A)(n),E="boolean"!=typeof d&&!m&&d||"boolean"!=typeof p&&!m&&p||f,k=E?`${x}-note`:void 0,C=(0,o.xW)("Mh94vxVXZwqosyebpZYk",b),S=v?"fieldset":"div",_={id:v?void 0:x};k&&(_["aria-describedby"]=k),h&&!v&&(_["aria-required"]=!0);let A={...y,ref:t};v&&(A={...A,..._});let N="neutral_alt";return m?N="disabled":d?N="destructive":p&&(N="constructive"),r.createElement(a.A,{attributes:A,className:C,variant:"body_2",tagName:S,mixin:w},u&&r.createElement(l,{group:v,id:x,label:u,subLabel:s,required:h,labelEndSlot:c,disabled:m}),v?g():g(_),E&&r.createElement(a.A,{variant:"small_1",className:"LrHO1RBWFSjlRoOizoeP",color:N,attributes:{id:k,role:"alert"}},E))}))},56260:function(e,t,n){"use strict";var r=n(96540),o=n(25355),a=n(59490),i=n(89708);t.A=e=>{const{size:t=12,offset:n,align:l,children:u,className:s,tagName:c,attributes:f}=e,d=(0,a.xW)(s,o.A.column,(0,a.Fj)(o.A,"column--size",t),(0,a.Fj)(o.A,"column--offset",n));return r.createElement(i.A.Item,{tagName:c,attributes:f,className:d,alignSelf:l},u)}},19353:function(e,t,n){"use strict";n.d(t,{A:function(){return l}});var r=n(96540),o=n(59490),a=n(33162),i={root:"eiVWnFcesFqKY7TNZl2C","root--display-block":"NPDb_pKHXdnkDJTUnJGH","root--size-smallest":"h6frcIGyR0Z5E_dKPdb8","root--size-smaller":"DKS9dZdwhw6vZUiYuBl8","root--size-small":"ZsuNdUqTr6Ic9fXquUYd","root--size-medium":"oADQa_B4JVGMKs55FzQE","root--size-large":"sgekfT48X2tI8etXynG7","root--size-larger":"S5jtW6hvPHuNJkfSaeyc","root--size-largest":"hYRlvKjCBGDiupUTd5V3","root--size-smallest--m":"ufzDJ5V87w4t_ZbOG1a0","root--size-smaller--m":"ZxI7iRoK_c4c5gXxC5na","root--size-small--m":"TT9xkJjI24tnalRYrWOg","root--size-medium--m":"oUdWNGnXvSEhtHPYlE01","root--size-large--m":"pu3s3XYMWizDi9hzxLAP","root--size-larger--m":"ksNVzONJLeYAD2aavvHD","root--size-largest--m":"lSdj1HIfQi54_br2a_ua","root--size-smallest--l":"ak9jPqP499xB6JYrwf_g","root--size-smaller--l":"t0wsFEWp2hadxNMKl0Js","root--size-small--l":"TIrHIdBIp2Q3ZkZqMuoC","root--size-medium--l":"xQU0vaQn3nD6V48cooXr","root--size-large--l":"JS0Zb4E1MYHSy3VeapZl","root--size-larger--l":"PPglmbAGG_5V83NJMaN8","root--size-largest--l":"GegkClg9iUi0sJpaSG37","root--size-smallest--xl":"IoF6ROnz4sMItkxGdZ19","root--size-smaller--xl":"lUVqVMtciLxsmX2fotdi","root--size-small--xl":"AYzAextQubYpEb5mo_Vq","root--size-medium--xl":"iI0KokDAxAkbBQqqZazu","root--size-large--xl":"nSI70WlEb1muOJBjiWMi","root--size-larger--xl":"jBdgl3VcFtUyuxzrHnTD","root--size-largest--xl":"pR6YKgAEcihESg07GWgY","root--color-white":"S0u5XITJLpcx6gCpI1Tf","root--color-action":"IDGOgUhg4cNiHyjLPQz2","root--color-destructive":"QY33xNZ6tx3Q02lepqFI","root--color-callout":"YuhdxAU17y84E2IAQC19","root--color-accent":"s3iSwJq9ljEKcKn7LC_v","root--color-constructive":"fgGtvaCcqBRBCClZjkBN","root--color-neutral":"I1k8Trwi_UMS15Q3oxJQ","root--color-neutral_alt":"cpF4bqv8rjX1nLIa7UMA","root--color-disabled":"bNdx2EM_IOulLjmLxaNV","root--color-brand_genius_secondary":"Qz39l6NpepkJZnQimJUE"},l=e=>{const{svg:t,className:n,size:l="small",display:u,color:s,attributes:c,ariaLabel:f,mixin:d}=e,p=(0,o.xW)(i.root,n,u&&i[`root--display-${u}`],(0,o.Fj)(i,"root--size",l),s&&i[`root--color-${s}`],(0,o.yl)(d)),m={...c,style:{...c?.style||{},...(0,a.u)(d)}},h="object"==typeof t?t:r.createElement(t,null),v=f?"img":void 0;return r.createElement("span",{...m,role:v,className:p,"aria-label":f,"aria-hidden":f?void 0:"true"},h)}},52219:function(e,t,n){"use strict";n(96540),n(45759),n(65377),n(7482)},70574:function(e,t,n){"use strict";n(96540),n(89708),n(3830),n(45759),n(65377),n(37572),n(56164),n(66425),n(19718)},55158:function(e,t,n){"use strict";n(96540),n(83208),n(52018),n(7482)},78005:function(e,t,n){"use strict";var r=n(96540),o=(n(54310),n(59490)),a=n(29385),i=n(84808);n(59679);const l=r.createContext({}),u=()=>{const{props:e,id:t,dragId:n,setDragId:o,mergedTooltipDelta:a,setMergedTooltipDelta:i,valueVisibility:u}=r.useContext(l),{min:s,max:c,range:f,interval:d}=e,p=`${t}-min`,m=`${t}-max`,h=e=>Math.max(s,Math.min(c,e)),v=h((f?e.minValue:e.value)||s),g=h((f?e.maxValue:e.value)||c),b=r.useCallback((e=>(e-s)/(c-s)),[s,c]),y=r.useCallback((e=>e===p&&f?{min:s,max:g-d}:f?{min:v+d,max:c}:{min:s,max:c}),[f,s,c,p,g,v,d]);return{props:e,valueVisibility:u,minValue:v,maxValue:g,minId:p,maxId:m,dragId:n,setDragId:o,mergedTooltipDelta:a,setMergedTooltipDelta:i,getPercentValue:b,getBoundaries:y}};var s={input:"h7Qb9VW1R8fv5uPEP1V3",bar:"K2HbGn3Zo9ek7g02I9ml","selected-area":"qFLT8WUeKdED2X0sJ1N2",handle:"L1gCjhPnVwM4gx8omOCI","handle--active":"Ct2H6wE1DvyHEdUhgfzb",display:"YGTL4oxAUdzQVFJBkaGN","handle-tooltip":"wFsWSdZJqmBTh8FwnGel","handle-tooltip--hidden-content":"qOlB19y3x8sCMxizXknf","handle-tooltip-content":"MssUX6526Nmel_Fm4Fya","handle--visible":"IoBOoHKry19mP3m7s67b","root--tooltip":"Y6pwSkiLht8giZI5OunO"};const c=e=>{const{tooltipRef:t,id:n,mergedTooltipRef:a,rootRef:l}=e,[c,f]=r.useState(0),[d,p]=r.useState(0),{props:m,minId:h,mergedTooltipDelta:v,minValue:g,maxValue:b}=u(),{renderTooltipValue:y}=m,w=n===h?g:b,x=!(!v||n!==h),E=r.useRef(null),k=(0,o.xW)(s["handle-tooltip"],!!v&&s["handle-tooltip--hidden-content"]),C=r.useCallback(((e,t,n=0)=>{if(!e.current||!l.current)return;const r=l.current.getBoundingClientRect(),o=r.left,a=r.right,i=e.current.getBoundingClientRect(),u=i.left+14,s=i.right-14;t(u<=o?o-u:s>=a-n?a-s:n)}),[]),S=e=>y?y(e):e;return r.useEffect((()=>{C(E,f)}),[l,C]),(0,i.A)((()=>{C(E,f),x&&C(a,p,v)}),[w,C,E.current,a.current,v,x]),r.createElement(r.Fragment,null,r.createElement("span",{className:k,ref:E},r.createElement("span",{ref:t,className:s["handle-tooltip-content"],style:{transform:`translateX(${c}px)`}},S(w))),x&&r.createElement("span",{className:s["handle-tooltip"],ref:a},r.createElement("span",{className:s["handle-tooltip-content"],style:{transform:`translateX(${d}px)`}},S(g)," - ",S(b))))};r.forwardRef(((e,t)=>{const{id:n,ariaLabel:i,onChange:l,onDragStart:f}=e,{props:d,valueVisibility:p,getBoundaries:m,getPercentValue:h,minId:v,minValue:g,maxValue:b,dragId:y}=u(),{disabled:w,interval:x,ariaValuetext:E}=d,k=(0,a.V8)(),C=(0,o.xW)(s.handle,("tooltip"===p||y===n)&&s["handle--visible"],y===n&&s["handle--active"]),S=n===v?g:b,_=h(S),A=k?"right":"left",N=m(n),R=e.range?E&&E(g,b)||`${g} - ${b}`:E&&E(g,void 0);return r.createElement(r.Fragment,null,r.createElement("input",{type:"range",className:s.input,value:S,min:N.min,max:N.max,step:x,"aria-valuetext":R,disabled:w,"aria-label":i,onChange:l}),r.createElement("div",{className:C,ref:t,style:{[A]:100*_+"%"},onMouseDown:()=>f(n),onTouchStart:()=>f(n),role:"none"},"hidden"!==p&&r.createElement(c,{...e})))}))},78405:function(e,t,n){"use strict";n(96540),n(59490),n(33162),n(39314),n(4522),n(89328),n(93191),n(59679)},5243:function(e,t,n){"use strict";n.d(t,{A:function(){return r.A}});var r=n(5568)},56164:function(e,t,n){"use strict";n.d(t,{A:function(){return r.A}});var r=n(50709)},70723:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var r=n(96540),o=n(59490),a=n(19353),i=n(89708),l=n(82916),u={root:"QKugAkggvxhhe61xx2v7",content:"pdHanD18Ftp0wJwNoBw1","root--interactive":"FyuGAG4ww2OMmDPhljmr","root--active":"yWF1yl3SRnLsHLHxJEGg","root-active":"iYMBNvgWlrQ4pMdkCtDi","root--roundedCorners":"qPq32vnozM55B33WMFg5","root--spacing-small":"Ih8N3ckFNzDAZ99xZER9","root--edge-spacing":"eCOvClKpa2Rm8jntAwNf","root--spacing-medium":"w0s5zlAIi3_THNkMSLtc","root--spacing-large":"tX_YdEXnNVDeRT99lxfA"};const s={small:2,medium:3,large:4};var c=e=>{const{icon:t,startSlot:n,children:c,endSlot:f,spacing:d="medium",edgeSpacing:p=!1,verticalAlignment:m="center",href:h,disabled:v,active:g,roundedCorners:b,onClick:y,preventDefault:w,className:x,attributes:E,mixin:k}=e,C=!!(y||h||E?.type||E?.onClick||E?.href),S=b,_=(0,o.xW)(u.root,u[`root--spacing-${d}`],S&&u["root--roundedCorners"],C&&u["root--interactive"],p&&u["root--edge-spacing"],g&&C&&u["root--active"],x);return r.createElement(l.A,{onClick:y,preventDefault:w,className:_,disabled:v,href:h,attributes:E,mixin:k},r.createElement(i.A,{direction:"row",alignItems:m,gap:s[d]},(t||n)&&r.createElement(i.A.Item,null,t?r.createElement(a.A,{display:"block",svg:t,size:"large"===d?"medium":"small",color:v&&!g?"neutral_alt":void 0}):n),r.createElement(i.A.Item,{grow:!0,className:u.content},c),r.createElement(i.A.Item,null,f)))}},46164:function(e,t,n){"use strict";n(96540),n(59490),n(93191),n(19353),n(73477),n(47688),n(89708)},95932:function(e,t,n){"use strict";n.d(t,{A:function(){return h}});var r,o=n(96540),a=n(40961),i=n(29385),l=n(59490),u=n(55968),s=n(40296),c=n(78300),f=n(59679),d=n(61004),p=n(84808),m=n(46081);!function(e){e.idle="idle",e.rendering="rendering",e.visible="visible",e.hiding="hiding"}(r||(r={}));var h=o.forwardRef(((e,t)=>{const{active:n,children:h,onOpen:v,onAfterOpen:g,onCloseTrigger:b,onClose:y,onAfterClose:w,lockClose:x,lockCloseOnClick:E,zIndex:k,keepMounted:C,arrowNavigation:S,attributes:_,hideOverlay:A}=e,N=o.useRef(null),R=o.useRef(null),D=o.useRef(!1),I=o.useRef(!1),z=o.useRef(null),[P,M]=o.useState(n?r.visible:r.idle),[T,L]=o.useState(!1),{lockScroll:O,unlockScroll:F}=(()=>{const[e,t]=o.useState(!1),n=(0,f.A)(),r=o.useCallback((()=>{(0,d.n2)(n,(()=>t(!0)))}),[n]),a=o.useCallback((()=>{(0,d.qo)(n,(()=>t(!1)))}),[n]);return o.useMemo((()=>({scrollLocked:e,lockScroll:r,unlockScroll:a})),[e,r,a])})(),{isDismissible:j}=(0,m.A)({active:P!==r.idle,contentRef:R,blocking:!0}),U=(0,l.xW)("o08Gz5I5tkvF8csXUMoT",P===r.visible&&"ZBJpZAEPKCkM_P7M5Zgo",A&&"Bls02EWyJ73YUc30zWDp"),V=e=>{if(!N.current)return;const t=N.current.firstChild;return t?t.contains(e):void 0},W=o.useCallback((()=>{n&&!x&&j()&&b&&b()}),[x,j,n]);return(0,c.A)(s.A.ESCAPE,W,[W]),o.useImperativeHandle(t,(()=>({open:()=>M(r.rendering),close:W}))),(0,p.A)((()=>{T&&P===r.visible&&N.current&&(z.current=(0,u.o)(N.current,{navigationMode:S?"tab-and-arrows":"tab"}),g?.())}),[T,P,S]),(0,p.A)((()=>{T&&P===r.rendering&&(0,i.dA)((()=>M(n?r.visible:r.hiding)))}),[T,P,n]),(0,p.A)((()=>{T&&P===r.hiding&&z.current&&(z.current(),z.current=null)}),[P,T]),(0,p.A)((()=>{T&&(n?(v&&v(),M(r.rendering)):P!==r.idle&&(y&&y(),M(r.hiding)))}),[n]),(0,p.A)((()=>{L(!0)}),[]),(0,p.A)((()=>{if(!A)return n?O():F()}),[n,O,F,A]),o.useEffect((()=>()=>F()),[F]),o.useEffect((()=>()=>z.current?.()),[]),P!==r.idle&&T?o.createElement(o.Fragment,null,a.createPortal(o.createElement("div",{..._,ref:R,className:U,onMouseDown:e=>{D.current=!1,I.current=!V(e.target)},onMouseUp:e=>{e.stopPropagation();const t=!V(e.target),n=I.current&&t&&!D.current;E||n&&(W(),D.current=!1)},onScroll:()=>{D.current=!0},onTransitionEnd:e=>{R.current===e.target&&P===r.hiding&&(C||M(r.idle),w&&w())},style:k?{zIndex:k}:void 0},o.createElement("div",{className:"Barznr6FYYkItW2RSyhu",ref:N},"function"==typeof h?h({active:P===r.visible}):h)),document.body)):null}))},39723:function(e,t,n){"use strict";n(96540),n(59490),n(29385),n(82916),n(89328),n(73477),n(5350),n(37572),n(84808)},3414:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var r,o=n(96540),a=n(59490),i=n(33162),l=n(29385),u=n(65631);!function(e){e.start="start",e.end="end"}(r||(r={}));var s={root:"M43YGxl7z5VKoSOt7lB5",container:"DW48MGM6CDZW9VwMrXpM",item:"mkb6pFRF2c56dZWEJd5H","item--active":"IljH7JOCB9yaav8CJycM","item--size-small":"_GegZfp6Ufg1XUUt9a97","item--size-smaller":"jVk7vUToxosSgkrNHugF","item--hidden":"FU6E2_g5RG2s05BjWmlK","root--variant-primary":"WPSuFSiaBxDef6GRuvzV","root--variant-white":"pDop7Lh9lPAkfzabiNL8","root--ghost-start":"ZZMiZZvPWF7Kq6JupWnw","root--ghost-end":"KZ45AboDCRlk7WVJnKc2","root--not-animated":"Djc3vxtddh2liJ2C2mMT"},c=e=>{const{total:t,activeIndex:n=0,variant:c="primary",className:f,attributes:d,mixin:p}=e,m=o.useCallback((()=>t<=7),[t]),h=o.useCallback((()=>m()||n<=3?0:n>=t-1-3?t-7:n-3),[n,m,t]),v=o.useRef(null),[g,b]=o.useState(null),[y,w]=o.useState(h()),[x,E]=o.useState(!0),k=(0,u.A)(n),C=(0,a.xW)(s.root,f,c&&s[`root--variant-${c}`],g&&s[`root--ghost-${g}`],!x&&s["root--not-animated"],(0,a.yl)(p)),S={...d,style:{...d?.style||{},...(0,i.u)(p)}};return o.useEffect((()=>{x||b(null)}),[x]),o.useEffect((()=>{g||(0,l.dA)((()=>{E(!0)}))}),[g]),o.useEffect((()=>{const e=k&&no||e===r.start&&n===o,l=a||i;m()||l?w(h()):k!==n&&(b(e),w(h()))}),[n,h,m,k,t]),o.createElement("div",{...S,className:C},o.createElement("div",{className:s.container,onTransitionEnd:e=>{e.target!==v.current||e.pseudoElement||E(!1)},ref:v,role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":t-1},(()=>{let e=0;"start"===g&&(e=-1),"end"===g&&(e=1);const r=Math.min(7,t),i=[],l=m(),u=t-1,c=n-y+e,f=c+Math.max(3-n,0)+1,d=c-Math.max(3-(u-n),0)-1;for(let e=0;ef+2||e{const{id:t,forcePosition:n,onOpen:a,onClose:i,lockClose:l,active:d,defaultActive:p,children:m,zIndex:h,fill:v,trapFocusMode:g,navigationMode:b,triggerType:y="click",position:w="bottom",disableAnimation:x,keepMounted:E,triggerRef:k,containerRef:C,positionRef:S,onAfterOpen:_,onAfterClose:A}=e,N=e.size||("bottom-stretch"===w?"stretch":"medium"),R=f[N]||N,D=r.useRef(null),I=(0,o.xW)(s.root,v&&s["root--fill"],w&&s[`root--position-${w}`]);return r.createElement(c.Provider,{value:{props:e,ref:D}},r.createElement(u.A,{id:t,position:w,forcePosition:n,lockClose:l,onOpen:a,onClose:i,onAfterOpen:_,onAfterClose:A,trapFocusMode:g,navigationMode:b,triggerType:y,active:d,defaultActive:p,contentClassName:I,contentAttributes:{style:{"--bui-popover-width":R}},zIndex:h,disableAnimation:x,keepMounted:E,triggerRef:k,containerRef:C,positionRef:S,ref:D},m))},p=e=>{const{children:t,title:n,attributes:f}=e,{props:d,ref:p}=r.useContext(c),{hideArrow:m,hideClose:h,closeAriaLabel:v,trapFocusMode:g,triggerType:b,fill:y}=d,w=(0,o.xW)(s.arrow,m&&s["arrow--hide"]),x=()=>{p.current?.close()};return r.createElement(u.A.Content,{attributes:f},(()=>{const e=h||"hover"===b||"soft"===g,o=n&&r.createElement(l.A,{className:s.heading,variant:"strong_1"},n);return r.createElement(a.A,{closeAriaLabel:v,hideClose:e,onClose:x,fill:y},r.createElement(i.A,{gap:2},o,r.createElement(i.A.Item,null,t)))})(),r.createElement(u.A.Arrow,{offset:4,size:7,background:"elevation_two",shadow:100,className:w}))};p.displayName="Popover.Content",d.Content=p,(d.Trigger=u.A.Trigger).displayName="Popover.Trigger";var m=d},27635:function(e,t,n){"use strict";n(96540),n(59490),n(33162)},59648:function(e,t,n){"use strict";n(96540),n(59490),n(33162),n(19353)},77836:function(e,t,n){"use strict";n(96540),n(59490),n(89708),n(93191),n(47688)},48610:function(e,t,n){"use strict";n(96540),n(89708),n(93191),n(59679),n(59490)},23683:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(96540),o=n(59490),a={root:"vV9dAHx4WyAVJ1ZVf2oA",scrim:"CbaQZKM6NFBD__QS5V2i",content:"aLasYIVqu7UyUHgOVRFO","root--centered":"i1GXM9BA6auOOMYgvH1v","root--position-full":"FeMlezUCHbZepA2Kfw3Q","root--position-top":"Zv3oPkKPpFwaB3HqxOqP","root--position-bottom":"Wc7J56Ijsqc0Jf2umQgT","root--position-start":"w0tZmQrs8uU24ktvtKee","root--position-end":"nsdYikpGkWgaRePJ5uH_","root--fill":"BXdvoeBuvUBO1tVbes4r","root--with-background":"WyW6tH3Xj9cgu1AD9TSZ","root--border-radius-100":"PxtlgBAEJT0q5UB4klLm","root--border-radius-200":"KyBY_6JAHQNZ9BayjKBl","root--border-radius-300":"L1Vxtz5SPzorykpxUY50"},i=e=>{const{children:t,backgroundSlot:n,fill:i,position:l="full",centered:u,attributes:s,className:c,borderRadius:f}=e,d=(0,o.xW)(a.root,!!n&&a["root--with-background"],i&&a["root--fill"],u&&a["root--centered"],l&&a[`root--position-${l}`],f&&a[`root--border-radius-${f}`],c);return r.createElement("div",{...s,className:d},n,r.createElement("div",{className:a.scrim},r.createElement("div",{className:a.content},t)))}},13256:function(e,t,n){"use strict";n(96540),n(59490),n(33162),n(29385),n(93191),n(59679),n(84808)},95782:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(96540),o=n(59490),a=n(33162),i=n(90265),l="BMRjCt8NCZfkLLWdAEC2",u="tx6nge5aE_KEmJvlsQ9g",s=e=>{const{variant:t,width:n,color:s="neutral",aspectRatio:c="1:1",className:f,tagName:d,attributes:p,mixin:m}=e,h=(0,o.xW)("Wc6Hp00ifBT_Q0yD67wK","inherit"===s?"TJ4qsOiMXiIVR0Or9tsI":"k0_28ca2pNTOvbtbomhj",f,(0,o.yl)(m)),v=d||"div",g={...p,style:{...(0,a.z)(n,"skeleton","width")}},b={...p,style:{...(0,a.u)(m),...(0,a.z)(n,"skeleton","width")}};return"title"===t?r.createElement(v,{...b,className:h},r.createElement("span",{className:(0,o.xW)(l,"CTvits9_Oymf7zuuakew")})):"box"===t?r.createElement(i.A,{ratio:c,attributes:g,className:h},r.createElement("span",{className:(0,o.xW)(l,"Ktnpk3u3wju5dcCSFQhw")})):r.createElement(v,{...b,className:h},r.createElement("span",{className:(0,o.xW)(l,u)}),"three-lines"===t&&r.createElement("span",{className:(0,o.xW)(l,u)}),("two-lines"===t||"three-lines"===t)&&r.createElement("span",{className:(0,o.xW)(l,"fHQ8e4ies4Ko0DE98MBL")}))}},56166:function(e,t,n){"use strict";var r=n(96540),o=n(59490),a=n(3830),i=n(3414),l=n(23683),u=n(73388),s={root:"Ib38EkXOZL7G7gAlgkNg","root--focused":"TuvAT2S3kWjIjf9j2BQg",items:"OWslFgu_WvW7erkaQQTG",item:"Jkm_XPp6mWtqMIWOKVSe",content:"ZAVcBZpc0EZv08kpAVv5",control:"IVfa9l472dDN7bFSIl5y","previous-control":"disJ4oX9wnIDOxMMw1pA","next-control":"g7ESmO3dIY5w2NmkaxIA","pagination-indicator-container":"vu_zR1xhYMLvyxYwQrdG","root--variant-media":"etTzhbfndXAyCJqbsttA",inner:"Xzpo7MVtcBoy_LvUlGqh","root--border-radius-100":"G3kufDz_lS22kGwCCqyN","root--border-radius-200":"SLDtK7PLUJdYs1DHyZeR","root--border-radius-300":"CPyWE5kD1jMnjQ9aritA","root--hide-controls":"oBbp3i03GwjvwSlic4bw"};r.forwardRef(((e,t)=>{const{variant:n="media",infinite:c=!0,borderRadius:f,showNavigationControls:d,isScrollEnabled:p=!0,defaultActiveIndex:m,className:h,attributes:v,children:g,previousButtonAriaLabel:b,nextButtonAriaLabel:y,onAfterNavigate:w}=e,[x,E]=r.useState(m),[k,C]=r.useState(!1),S=(0,o.xW)(s.root,s[`root--variant-${n}`],k&&s["root--focused"],!d&&s["root--hide-controls"],f&&s[`root--border-radius-${f}`],h),_=r.Children.count(g),A=(0,o.xW)(s.control,s["previous-control"]),N=(0,o.xW)(s.control,s["next-control"]);return r.createElement(u.A,{infinite:"content"!==n&&c,isScrollEnabled:"isScrollEnabled"in e?p:"content"!==n,defaultActiveIndex:m,ref:t},r.createElement("div",{...v,className:S},r.createElement("div",{className:s.inner},r.createElement(u.A.Container,{className:s.items,onAfterNavigate:e=>{const{index:t}=e;E(t),w?.(e)},onFocus:()=>C(!0),onBlur:()=>C(!1)},r.Children.map(g,((e,t)=>r.createElement(u.A.Item,{className:s.item,index:t,realIndex:t,key:t},e))))),_>1&&r.createElement(r.Fragment,null,"media"===n&&r.createElement("div",{className:A},r.createElement(u.A.Control,{type:u.H.previous,attributes:{"aria-label":b}})),"media"===n&&r.createElement("div",{className:N},r.createElement(u.A.Control,{type:u.H.next,attributes:{"aria-label":y}})),"media"===n&&r.createElement(l.A,{position:"bottom",centered:!0},r.createElement(i.A,{variant:"white",total:_,activeIndex:x})),"content"===n&&r.createElement(a.A,{padding:6,className:s["pagination-indicator-container"]},r.createElement(i.A,{total:_,activeIndex:x})))))})).Item=e=>{const{src:t,children:n}=e;return r.createElement("div",{className:s.content,style:t?{backgroundImage:`url(${t})`}:void 0},n)}},89708:function(e,t,n){"use strict";n.d(t,{A:function(){return r.A}});var r=n(29608)},82841:function(e,t,n){"use strict";n.d(t,{Q:function(){return a},f:function(){return i}});var r=n(96540);const o=r.createContext({rootRef:{current:null},navRef:{current:null},moreRef:{current:null},buttonRefs:{current:[]},changeTab:()=>{},getButtonRef:()=>{}}),a=()=>r.useContext(o),i=o.Provider},34450:function(e,t,n){"use strict";var r=n(96540),o=n(59490),a=n(82841),i=n(47408);t.A=e=>{const{activeTabId:t,attributes:n,className:l,variant:u="underlined",vertical:s,fillEqually:c,borderless:f,color:d,moreLabel:p,onTabChange:m,children:h}=e,v=(0,o.xW)(i.A.root,l,"rounded"!==u&&s&&i.A["root--vertical"],c&&i.A["root--equal"],f&&i.A["root--borderless"],"inherit"===d&&i.A["root--color-inherit"]),g=r.useRef(null),b=r.useRef([]),y=r.useRef(null),w=r.useRef(null);return r.createElement(a.f,{value:{variant:u,activeTabId:t,fillEqually:c,moreLabel:p,vertical:s,rootRef:g,navRef:y,buttonRefs:b,moreRef:w,changeTab:(e,t,n={})=>{const{focus:r}=n;m&&m(e),r&&b.current&&b.current[t].focus()},getButtonRef:(e,t)=>{e&&(b.current[t]=e)}}},r.createElement("nav",{...n,className:v,ref:g},h))}},84912:function(e,t,n){"use strict";var r=n(96540),o=n(59490),a=n(33162),i=n(82841),l=n(47408);t.A=e=>{const{id:t,children:n,keepMounted:u,mixin:s}=e,{activeTabId:c}=(0,i.Q)(),f=t===c,d=(0,o.xW)(l.A["item-panel"],f&&l.A["item-panel--active"],(0,o.yl)(s));return f||u?r.createElement("div",{role:"tabpanel",id:t,className:d,style:(0,a.u)(s)},n):null}},35238:function(e,t){"use strict";t.A=e=>null},89585:function(e,t,n){"use strict";n.d(t,{A:function(){return y}});var r=n(96540),o=n(59490),a=n(29385),i=n(40296),l=n(12968),u=n(19353),s=n(58101),c=n(84808),f=n(82916),d=n(47630),p=n(89708),m=n(93191),h=n(82841),v=n(47408),g=e=>{const{id:t,text:n,title:a,icon:i,bubble:l,href:s,linkAttributes:c,native:g,handleKeys:b,triggerIndex:y,isOverflow:w,isMobile:x,getItemStyle:E}=e,{activeTabId:k,changeTab:C,getButtonRef:S,vertical:_,variant:A}=(0,h.Q)(),N=!!s,R=k===t,D=!_||"rounded"===A,I=(0,o.xW)(v.A.item,w&&!x&&v.A["item--hidden"],R&&v.A["item--selected"]);return r.createElement("li",{key:t,className:I,style:E()},r.createElement(f.A,{onClick:()=>C(t,y),preventDefault:!g,href:s,className:v.A.link,insetFocus:!0,ref:e=>S(e,y),attributes:{...c,role:N?void 0:"tab","aria-current":N&&R?"page":void 0,"aria-selected":N?void 0:R,"aria-controls":s&&!s.startsWith("#")?void 0:t,onKeyUp:b,tabIndex:R||g?0:-1}},r.createElement(p.A,{tagName:"span",direction:D?"row":"column",alignItems:"center",gap:D?2:1,wrap:"nowrap"},i&&r.createElement(u.A,{className:v.A.icon,svg:i,size:"medium"}),a&&!i&&r.createElement("span",{className:v.A.title},a),r.createElement(p.A.Item,{shrink:!0},r.createElement(m.A,{tagName:"span",variant:"body_2"},n,l&&r.createElement(d.A,{className:v.A.bubble,...l}))))))},b=n(35238),y=e=>{const{children:t}=e,{variant:n,activeTabId:f,fillEqually:d,vertical:p,moreLabel:m,rootRef:y,navRef:w,moreRef:x,changeTab:E,buttonRefs:k}=(0,h.Q)(),[C,S]=r.useState(!1),_=(0,o.xW)(v.A["trigger-list"],n&&v.A[`trigger-list--variant-${n}`],C&&v.A["trigger-list--animated"]),A=[];let N=0,R=!1,D="";r.Children.forEach(t,(e=>{e&&e.type===b.A&&(A.push(e),D+=e.props.text,e.props.href&&(R=!0),f&&e.props.id===f&&(N=A.length-1))}));const I=r.useRef(!0),z=r.useRef(N),[P,M]=r.useState({}),[T,L]=r.useState(!1),[O,F]=r.useState(!0),[j,U]=r.useState(A.length),V=A.length,W=A[0].props.id,B=()=>{if(d&&!T)return{width:100/A.length+"%"}},H=T||j{const{text:t,icon:n,bubble:r,title:o,href:a,native:i,linkAttributes:l}=e.props;return{text:t,icon:n,bubble:r,href:a,native:i,endSlot:o,attributes:l}})),G=e=>{const t=A.length-1,n=N===t?0:N+1,r=0===N?t:N-1;if(!(A.filter((e=>e.props.native)).length>0))switch((0,a.l5)(e.key)){case i.A.RIGHT:E(A[n].props.id,n,{focus:!0});break;case i.A.LEFT:E(A[r].props.id,r,{focus:!0});break;case i.A.HOME:E(A[0].props.id,0,{focus:!0});break;case i.A.END:E(A[t].props.id,t,{focus:!0})}};return(0,c.A)((()=>{if(!w.current||!k.current)return;const e=k.current[N],t=(w.current.clientWidth-e.clientWidth)/2,n=(0,a.V8)()?e.offsetLeft+(e.clientWidth-w.current.clientWidth):e.offsetLeft,r=e.clientWidth>w.current.clientWidth?n:e.offsetLeft-t;w.current.scrollTo({left:r,behavior:I.current?"auto":"smooth"}),I.current=!1}),[N,k,w]),(0,c.A)((()=>{f||E(W,0)}),[W,f,E]),(0,c.A)((()=>{const e=()=>{if(d)return;const e=(0,a.mY)();F(e),e||L(!0)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[d,V]),r.useEffect((()=>{V{if("underlined"!==n||N>=j&&!O)return;const e=k.current?.[N],t=(e=>e?{width:getComputedStyle(e).width,left:`${e.offsetLeft}px`}:{})(e),r=z.current;z.current=N,r!==N&&S(!0),(0,a.dA)((()=>{M(t)}))}),[N,O,w,n,j,k]),(0,c.A)((()=>{if(!T)return;if(!y.current)return;let e=!1,t=0,n=0;const r=x.current&&x.current.clientWidth||0,o=y.current.clientWidth;k.current?.forEach(((a,i)=>{t+=a?.parentElement?.clientWidth;const l=t>o;if(l&&!e&&t+(r||0)>o){const e=k.current?k.current[i-1]:void 0;n-=1,e&&e.clientWidth{"underlined"===n&&e.target===w.current&&"::after"===e.pseudoElement&&S(!1)}},A.map(((e,t)=>{const n=t+1>j&&!T;return r.createElement(g,{...e.props,key:e.props.id,isOverflow:n,triggerIndex:t,handleKeys:G,isMobile:O,getItemStyle:B})})),q&&r.createElement("li",{className:Q,role:"presentation",ref:x,style:B()},r.createElement(s.A,{items:q,onItemChoose:(e,t)=>{const n=t+j,r=A[n];E(r.props.id,n)},position:"bottom-end"},(e=>r.createElement("button",{...e,className:v.A.link,type:"button",role:"tab"},m,!p&&r.createElement(u.A,{svg:l.A,size:"small",className:v.A.iconMore})))))))}},80937:function(e,t,n){"use strict";var r=n(96540),o=n(34450);t.A=e=>{const{defaultActiveTabId:t,onTabChange:n}=e,[a,i]=r.useState(t);return r.createElement(o.A,{...e,activeTabId:a,defaultActiveTabId:void 0,onTabChange:e=>{let t=!1;a||(t=!0),i(e),n&&!t&&n(e)}})}},18737:function(e,t,n){"use strict";var r=n(96540),o=n(31e3),a=function(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},r.createElement("path",{d:"M19.268 15.087a.9.9 0 0 0-.266-.642l-6.057-6.057A1.3 1.3 0 0 0 12 8c-.35-.008-.69.123-.945.364L4.998 14.42a.91.91 0 0 0 0 1.284.895.895 0 0 0 1.284 0L12 10.01l5.718 5.718a.897.897 0 0 0 1.284 0 .88.88 0 0 0 .266-.642"}))},i=n(59490),l=n(33162),u=n(89328),s={root:"fxZwsFmghYAsMy5xAhgA",scroll:"a90hxijy84jhcScPCQlA",table:"cxgkPtg5RUM_SC_ST9Og",head:"PSMF1hP9cKG4Fx_pL8eE",cell:"QTXk1GZm9eLG7orVT0s7",row:"pJjx98m_Sq83EKDIG01Q","row--active":"gXdu67kULJ8Bmkjpe56g","row--expanded-content":"etyBE8JHsCTbrgLEdR3q","row--vertical-align-center":"xGL06tMOPf5v7H5_3hoi","cell--align-center":"UmUUnoMCKY0lIavBbFiu","cell--align-end":"MMMPMD6Eo3_oyTLKnfxB","root--borderless":"YOarULXoWIEjAwMaGvVk","root--compact":"GiZNMqDRPS2Z9vy8XMfd","root--sticky-header":"VsEuxXxIjTZADizWiAMl"};const c=e=>{const{rowSpan:t,colSpan:n,align:o,tagName:a,children:l,attributes:u}=e,c="auto"===e.width?0:e.width,f=(0,i.xW)(s.cell,o&&s[`cell--align-${o}`]);return r.createElement(a,{...u,className:f,rowSpan:t,colSpan:n,style:{width:c,minWidth:c}},l)},f=e=>r.createElement(c,{...e,tagName:"td"}),d=e=>{const{children:t,stickyHeader:n,compact:o,borderless:a,className:u,attributes:c,mixin:f}=e,d=(0,i.xW)(s.root,u,a&&s["root--borderless"],o&&s["root--compact"],n&&s["root--sticky-header"],(0,i.yl)(f)),p={...c,style:{...c?.style||{},...(0,l.u)(f)}};return r.createElement("div",{...p,className:d},r.createElement("div",{className:s.scroll},r.createElement("table",{className:s.table},t)))};d.Cell=f,d.Heading=e=>r.createElement(c,{...e,tagName:"th"}),d.Row=e=>{const{active:t,children:n,verticalAlign:l,collapsedContent:c,onExpandToggle:d,expandToggleAriaLabel:p,expanded:m,defaultExpanded:h,attributes:v}=e,[g,b]=r.useState(m??h??!1),y=(0,i.xW)(s.row,t&&s["row--active"],l&&s[`row--vertical-align-$${l}`]),w=(0,i.xW)(y,s["row--expanded-content"]),x=r.Children.count(n);return r.useEffect((()=>{void 0!==m&&b(m||!1)}),[m]),r.createElement(r.Fragment,null,r.createElement("tr",{...v,className:y},c&&r.createElement(f,{width:"auto"},r.createElement(u.A.Aligner,{alignment:["bottom","top","end","start"]},r.createElement(u.A,{variant:"tertiary-neutral",onClick:()=>{const e=!g;void 0===m&&b(e),d?.({expanded:e})},icon:g?a:o.A,attributes:{"aria-label":p}}))),n),c&&g&&r.createElement("tr",{className:w},r.createElement(f,{colSpan:x},c)))},d.Body=e=>r.createElement("tbody",null,e.children),d.Head=e=>r.createElement("thead",{className:s.head},e.children)},93191:function(e,t,n){"use strict";n.d(t,{A:function(){return r.A}});var r=n(29808)},25278:function(e,t,n){"use strict";n(96540),n(59490),n(19353),n(93191),n(89708)},32795:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(96540),o=n(59490),a=n(33162),i=n(93191),l={root:"I5qiweeHeJavybABqseg",title:"KcI31UMqmPl_d2KPjB7Z",subtitle:"JgyDalkikPY7MlFhvJgz","root--reversed":"ABRLwPCHzTIgYYqn8Eik","root--color-inherit":"BtuF0xUjD1WnDepBZ0tL","root--variant-headline_3":"WRRWHHA6tjj_ymYUg26b","root--variant-headline_2":"Nza459tZ3aeDf51zUCyz","root--variant-headline_1":"qr4zMW6pSObXZzjX_GfC","root--variant-display_3":"xwW4WHXuhIYz3fR6Nx5K"};const u={strong_1:"body_2",strong_2:"small_1",headline_3:"body_1",headline_2:"body_1",headline_1:"body_1",display_3:"featured_2"};var s=e=>{const{reversed:t,title:n,subtitle:s,className:c,attributes:f,titleAttributes:d,subtitleAttributes:p,titleTagName:m,subtitleTagName:h,titleClassName:v,subtitleClassName:g,tagName:b="div",variant:y="strong_2",color:w,mixin:x}=e,E=(0,o.xW)(l.root,c,t&&l["root--reversed"],y&&l[`root--variant-${y}`],w&&l[`root--color-${w}`],(0,o.yl)(x)),k={...f,style:{...f?.style||{},...(0,a.u)(x)}},C=b,S=u[y],_=(0,o.xW)(l.subtitle,g),A=(0,o.xW)(l.title,v);return r.createElement(C,{...k,className:E},n&&r.createElement(i.A,{attributes:d,className:A,tagName:m,variant:y,color:w??"neutral"},n),s&&r.createElement(i.A,{attributes:p,tagName:h,className:_,variant:S,color:w??"neutral_alt"},s))}},13737:function(e,t,n){"use strict";n.d(t,{A:function(){return W}});var r=n(96540),o=n(29385),a=n(55968),i=n(48151);const l=["top-start","top","top-end"],u=["bottom-start","bottom","bottom-end"],s=["start"],c=["end"],f={top:[...l,...u,...c,...s],bottom:[...u,...l,...c,...s],start:[...s,...c,...l,...u],end:[...c,...s,...l,...u]};var d=e=>{const t=["top","bottom","start","end"].find((t=>e.startsWith(t)))??"bottom";return f[t]};const p={width:"auto",height:"auto",position:"absolute"},m={position:"fixed",opacity:0,animation:"none",transition:"none"};var h=(e,t)=>Math.floor(e/2-t/2),v=n(73230);const g={"start-top":"end-top",start:"end","start-bottom":"end-bottom","end-top":"start-top",end:"start","end-bottom":"start-bottom","top-start":"top-end","top-end":"top-start","bottom-end":"bottom-start","bottom-start":"bottom-end"};var b,y=(e,t,n)=>{const{position:r,rtl:o,mobileFallback:a,zIndex:i}=n;let l=0,u=0,s=r;switch(o&&(s=g[s]||s),s){case"bottom":case"top":l=h(e.width,t.width)+e.left;break;case"start-top":case"start":case"start-bottom":l=e.left-t.width;break;case"end-top":case"end":case"end-bottom":l=e.right;break;case"top-start":case"bottom-start":case"bottom-stretch":l=e.left;break;case"top-end":case"bottom-end":l=e.right-t.width}switch(s){case"top-start":case"top":case"top-end":u=e.top-t.height;break;case"bottom-start":case"bottom":case"bottom-end":case"bottom-stretch":u=e.bottom;break;case"start-top":case"end-top":u=e.top;break;case"start-bottom":case"end-bottom":u=e.bottom-t.height;break;case"start":case"end":u=h(e.height,t.height)+e.top}n.container?(u=Math.round(u+(n.container.scrollTop||0)+(n.compensation?.y||0)),l=Math.round(l+(n.container.scrollLeft||0)+(n.compensation?.x||0))):(u=Math.round(u+(window.pageYOffset||0)+(n.compensation?.y||0)),l=Math.round(l+(window.pageXOffset||0)+(n.compensation?.x||0)));const c=n?.container?.clientWidth||window.innerWidth;let f=Math.ceil(t.width);const d=Math.ceil(t.height),p=a&&(0,v.A)()&&(t.left<16||t.right>c-16);return"bottom-stretch"===s?f=e.width:p&&(l=16,f=c-32),{styles:{left:l,top:u,width:f,height:d,zIndex:i},position:s}},w=(e,t)=>{const n=t||document.documentElement,r=n.scrollLeft,o=r+n.clientWidth,a=n.scrollTop,i=a+n.clientHeight;return e.left>=r+16&&e.left+e.width<=o-16&&e.top>=a&&e.top+e.height<=i},x=(e,t,n)=>{if(!t||!n)return;const r=n.clientWidth,o=Math.sqrt(r*r*2),a=["bottom-start","bottom-end","top-start","top-end"].includes(e)?Math.min(n.offsetLeft,(n.offsetParent?.clientWidth||0)-n.offsetLeft-r):Math.min(n.offsetTop,(n.offsetParent?.clientHeight||0)-n.offsetTop-r),i={x:0,y:0},l=t.clientWidth<2*a+o,u=t.clientHeight<2*a+o,s=2*a+o;return l&&e&&(["bottom-start","top-start"].includes(e)?i.x=-1*(s/2-t.clientWidth/2):["bottom-end","top-end"].includes(e)&&(i.x=s/2-t.clientWidth/2)),u&&e&&(["start-top","end-top"].includes(e)?i.y=-1*(s/2-t.clientHeight/2):["end-bottom","start-bottom"].includes(e)&&(i.y=s/2-t.clientHeight/2)),i},E=n(40296);!function(e){e[e.mouseLeave=150]="mouseLeave",e[e.mouseEnterLong=400]="mouseEnterLong",e[e.mouseEnterShort=100]="mouseEnterShort"}(b||(b={}));var k=b,C=n(59679),S=n(78300),_=n(82430),A=n(46081),N=n(65631);const R=(e,t)=>{switch(t.type){case"move":return{...e,styles:{...p,zIndex:e.styles.zIndex,top:t.payload.y,...t.payload.isRTL?{right:`calc(100vw - ${t.payload.x-12}px)`}:{left:t.payload.x}}};case"render":return{...e,active:!0};case"show":return{...e,visible:!0};case"hide":return{...e,visible:!1};case"remove":const n=!!t.payload?.keepMounted;return{...e,active:n,visible:!1,styles:n?e.styles:{...m,zIndex:e.styles.zIndex}};case"update":return{...e,position:t.payload.position,styles:{...p,...t.payload.styles}};default:throw new Error("Invalid reducer type")}};var D=(e,t,n)=>{const{position:a="bottom",defaultActive:l,forcePosition:u,zIndex:s,keepMounted:c,flyoutArrowElRef:f,getPositionCompensation:h,flyoutContainerRef:v}=n,g=(0,o.V8)()||!1,[b,x]=r.useReducer(R,{position:a,styles:p,active:l||!1,visible:l||!1}),E=r.useCallback((()=>{x({type:"render"})}),[]),k=r.useCallback((()=>{x({type:"show"})}),[]),C=r.useCallback((()=>{x({type:"hide"})}),[]),S=r.useCallback((()=>{x({type:"remove",payload:{keepMounted:c}})}),[c]),_=r.useCallback((()=>{if(!e.current||!t.current)return;const n=((e,t,n)=>{const{position:r,forcePosition:o,zIndex:a}=n,l=t.cloneNode(!0);l.removeAttribute("style"),Object.keys(m).forEach((e=>{const t=m[e];l.style[e]=t.toString()})),n.container?n.container.appendChild(l):document.body.appendChild(l);let u=e.getBoundingClientRect();const s=l.getBoundingClientRect();if(n.container){const e=n.container.getBoundingClientRect(),t=(0,i.A)(),r=n.container.scrollHeight>n.container.clientHeight,o=n.rtl&&r?e.left+t:e.left;u={top:u.top,right:u.right,bottom:u.bottom,left:u.left,width:u.width,height:u.height,x:u.x,y:u.y,top:u.top-e.top,right:u.left-o+u.width,bottom:u.top-e.top+u.height,left:u.left-o}}const c=d(r),f=c.filter((e=>"top"===e||"bottom"===e));let p=y(u,s,n);const h=(e,t)=>{e.some((e=>{const r=y(u,s,{...n,...t,position:e,zIndex:a});return!(!w(r.styles,n.container)&&!t?.mobileFallback||(p=r,0))}))};return w(p.styles,n.container)||o||(h(c),w(p.styles,n.container)||h(f,{mobileFallback:!0})),l.parentNode.removeChild(l),p})(e.current,t.current,{container:v?.current||void 0,position:a,forcePosition:u,rtl:g,zIndex:s,compensation:h?.(b.position,e.current,f.current)||void 0});x({type:"update",payload:n})}),[e,t,f,v,a,g,u,s,h,b.position]),A=r.useCallback(((e,t)=>{x({type:"move",payload:{x:e,y:t,isRTL:g}})}),[g]);return r.useMemo((()=>({position:b.position,styles:b.styles,active:b.active,visible:b.visible,render:E,show:k,hide:C,remove:S,move:A,update:_})),[E,k,C,S,_,A,b.position,b.styles,b.active,b.visible])};const I=r.createContext({}),z=()=>r.useContext(I),P=I.Provider;function M(e,t){Object.keys(t).forEach((n=>{void 0!==t[n]&&null!==t[n]&&e.setAttribute(n,String(t[n]))}))}var T=r.forwardRef(((e,t)=>{const{triggerType:n="click",onOpen:i,onClose:l,onAfterOpen:u,onAfterClose:s,children:c,forcePosition:f,trapFocusMode:d,navigationMode:p,contentClassName:m,contentAttributes:h,position:v,active:g,id:b,follow:y,zIndex:w,lockClose:R,disableAnimation:I,keepMounted:z,triggerRef:T,positionRef:L,containerRef:O,timeout:F="short"}=e,[j]=(0,_.A)(),U=r.useRef(null),V=T||U,W=r.useRef(null),B=r.useRef(null),H=(0,C.A)(b),Q=r.useRef(null),q=r.useRef(null),G=!!q.current,K=r.useRef(!1),X=D(L?.current?L:V,W,{zIndex:w,position:v,defaultActive:g,forcePosition:f,keepMounted:z,flyoutArrowElRef:B,getPositionCompensation:x,flyoutContainerRef:O}),{active:Z,update:Y,render:J,show:$,hide:ee,move:te,remove:ne,visible:re}=X,oe=(0,N.A)(g),ae=(0,N.A)(Z),ie=(0,N.A)(re),{isDismissible:le}=(0,A.A)({active:Z,contentRef:W,triggerRef:V,blocking:"hover"!==n}),ue=r.useMemo((()=>(0,o.sg)(Y,10)),[Y]),se=r.useCallback((()=>{Q.current&&clearTimeout(Q.current)}),[Q]),ce=r.useCallback((()=>{K.current||g||i&&i()}),[g,i]),fe=r.useCallback((()=>{g&&le()&&!R&&l&&l()}),[g,l,le,R]),de=r.useCallback((()=>{"hover"===n&&(se(),Q.current=setTimeout(ce,"short"===F?k.mouseEnterShort:k.mouseEnterLong))}),[se,Q,ce,n,F]),pe=r.useCallback((()=>{"hover"===n&&(se(),y?fe():Q.current=setTimeout(fe,k.mouseLeave))}),[se,Q,fe,n,y]),me=r.useCallback((e=>{y&&te(e.pageX+12,e.pageY+12)}),[y,te]),he=r.useCallback((()=>{((0,o.hf)()||"hover"!==n)&&ce()}),[ce,n]),ve=r.useCallback((e=>{if(!e.relatedTarget)return;const t=W.current?.contains(e.relatedTarget);t||fe()}),[fe]),ge=r.useCallback((()=>{g&&"click"===n?fe():ce()}),[g,ce,fe,n]),be=r.useCallback((e=>{const t="visibility"===e.propertyName;!re&&Z?(ne(),s&&t&&s(e)):u&&t&&u(e)}),[ne,re,Z,u,s]);return r.useEffect((()=>{const e=T&&V&&V.current;if(e)return((e,t)=>{const n=Object.keys(t).reduce(((t,n)=>({...t,[n]:e.getAttribute(n)})),{});return M(e,t),()=>{e&&(function(e,t){Object.keys(t).forEach((n=>{void 0!==t[n]&&e.removeAttribute(n)}))}(e,t),M(e,n))}})(e,{"aria-describedby":X.active&&!G?H:void 0,"aria-controls":X.active&&G?H:void 0,"aria-expanded":X.active})}),[T,X,H,V,G]),r.useEffect((()=>{const e=T&&V&&V.current;if(!e)return;const t="hover"===n,r="focus"===n,o=((e,t)=>{if(!e)return;const n=Object.keys(t);return n.forEach((n=>{const r=t[n];r&&e.addEventListener(n,r)})),()=>{n.forEach((n=>{const r=t[n];r&&e.removeEventListener(n,r)}))}})(e,{focus:t||r?he:void 0,blur:t||r?ve:void 0,mousemove:t?me:void 0,mouseenter:t?de:void 0,mouseleave:t?pe:void 0,click:"click"===n||r?ge:void 0});return()=>{o?.()}}),[T,V,n,he,ve,me,de,pe,ge]),r.useEffect((()=>{if(g!==oe)return g?void(z&&Z?$():J()):(ee(),void(I&&ne()))}),[g,oe,J,ee,ne,$,I,z,Z]),r.useEffect((()=>{ae!==Z&&Z&&(y||Y(),$())}),[Z,ae,y,$,Y]),r.useEffect((()=>{Z||ae===Z||("focus"===n&&(K.current=!0,(0,o.dA)((()=>{K.current=!1}))),q.current?.(),q.current=null)}),[Z,ae,n]),r.useEffect((()=>{re&&re!==ie&&(0,o.dA)((()=>{W.current&&(q.current=(0,a.o)(W.current,{trapMode:d||("hover"===n||"focus"===n?"soft":"hard"),includeTrigger:"hover"===n||"focus"===n,navigationMode:p,onNavigateOutside:fe}))}))}),[re,ie,fe,p,d,n,T]),r.useEffect((()=>()=>q.current?.()),[]),r.useEffect((()=>(window.addEventListener("resize",ue),()=>window.removeEventListener("resize",ue))),[ue]),r.useEffect((()=>{ue()}),[j,ue]),r.useImperativeHandle(t,(()=>({open:ce,close:fe})),[ce,fe]),(0,S.A)(E.A.ESCAPE,(()=>{fe()}),[fe]),((e,t)=>{r.useEffect((()=>{if(!t)return;const n=n=>{const r=Array.isArray(e)?e:[e];let o=!1;r.forEach((e=>{e.current&&e.current!==n.target&&!e.current.contains(n.target)||(o=!0)})),o||t(n)};return document.addEventListener("click",n,!0),()=>document.removeEventListener("click",n,!0)}),[e,t])})([W,V],(()=>{fe()})),r.createElement(P,{value:{id:H,flyout:X,flyoutTriggerRef:U,flyoutElRef:W,flyoutArrowElRef:B,flyoutContainerRef:O,handleOpen:ce,handleClose:fe,handleFocus:he,handleBlur:ve,handleMouseEnter:de,handleMouseLeave:pe,handleMouseMove:me,handleTransitionEnd:be,handleClick:ge,triggerType:n,trapFocusMode:d,navigationMode:p,contentClassName:m,contentAttributes:h,follow:y,disableAnimation:I,focusTrapped:G}},c)})),L=r.forwardRef(((e,t)=>{const{defaultActive:n,onClose:o,onOpen:a}=e,[i,l]=r.useState(n||!1);return r.createElement(T,{...e,ref:t,defaultActive:void 0,active:i,onClose:()=>{l(!1),o&&o()},onOpen:()=>{l(!0),a&&a()}})})),O=n(59490),F={root:"snGLyyX9NC_hWSTgKxIp","root--display-block":"rgldFrUwYL_V9iPH1M94",content:"nK6CrE0pTf_FcCwMGYip",inner:"yGGNwTOA6zYTJ1OieyZS","content--position-top":"aVl1tX75KfY6ZsbVegUK","content--position-top-end":"wLNX8StA4DlGt3y1Ej14","content--position-top-start":"IBIn1ioK6LCDGo2RciT2","content--visible":"dZ5B4dsLLmlD4WMlLgbp","content--position-bottom":"BLLaiCUpoYFfL7e3LWPI","content--position-bottom-end":"nFQAYVu2VZ0UGNNBa4b4","content--position-bottom-start":"cTaZZR6OQqQwOVbt0DtC","content--position-bottom-stretch":"JtqjDvA1uyBESXZ4XsyN","content--position-start-top":"dlI5vAiYaeuKh2jqszaw","content--position-start-bottom":"k_9TwIO0cwJNzzvCQe8X","content--position-start":"zeV9DHPYygmOr45Nqvjq","content--position-end-top":"bhAJIZ43m9RaKstCFMZj","content--position-end-bottom":"n_yF8BaTAUjJdpn5hLpS","content--position-end":"PBHIl76X3w_i7VgLAmzg","content--follow":"fFVLLsBfnD1KPHf5KJIq","content--disable-animation":"kp2ueOq6lxWzXYMpAtEs",arrow:"nRdYlxzYAKyeZ8hfRNbO","arrow--position-top":"GytXtegZlov9Gbgsefwz","arrow--position-bottom":"VG0Qr9RJsfGugrcwRBXQ","arrow--position-bottom-stretch":"CgZUxCLiQqIBczseSbV8","arrow--position-start":"i3lchWBXynXLm_Fmra9a","arrow--position-end":"ePsx6EJI3XSuuvsFmD8t","arrow--position-top-start":"RK5CyofoqOkjeWd0gPPe","arrow--position-top-end":"R14Gd8nXCRHu47_CTX5a","arrow--position-bottom-start":"WR8Um6EjJQ8RZlkUcA5A","arrow--position-bottom-end":"JeqfEpWKLPlQ5g2pQZY5","arrow--position-start-top":"uLSxxbniIRISQuxi1P5D","arrow--position-start-bottom":"WW8NuLvF5rEuLbI4ikIi","arrow--position-end-top":"UzOjcHfapS4xPNWhDAPx","arrow--position-end-bottom":"Ci2_ON9x9DcscXfjWwJG"},j=n(40961),U=n(84808);const V=r.forwardRef(((e,t)=>{const{active:n}=e;return"boolean"==typeof n?r.createElement(T,{...e,ref:t}):r.createElement(L,{...e,ref:t})}));V.Trigger=e=>{const{children:t,className:n,display:o}=e,{id:a,flyoutTriggerRef:i,triggerType:l,handleFocus:u,handleBlur:s,handleMouseEnter:c,handleMouseLeave:f,handleMouseMove:d,handleClick:p,flyout:m,focusTrapped:h}=z(),v="focus"===l,g="hover"===l,b="click"===l,y=h?{"aria-controls":a}:{"aria-describedby":a},w={...m.active?y:{},"aria-expanded":m.active};(g||v)&&(w.onFocus=u,w.onBlur=s),g&&(w.onMouseMove=d,w.onMouseEnter=c,w.onMouseLeave=f),(b||v)&&(w.onClick=p);const x=(0,O.xW)(F.root,n,o&&F[`root--display-${o}`]);return r.createElement("span",{ref:i,className:x},t(w))},V.Content=e=>{const{children:t,className:n,attributes:o}=e,[a,i]=r.useState(!1),{flyout:l,id:u,flyoutElRef:s,handleTransitionEnd:c,handleMouseEnter:f,handleMouseLeave:d,contentClassName:p,contentAttributes:m,flyoutContainerRef:h,follow:v,disableAnimation:g}=z(),{styles:b,active:y,visible:w,position:x}=l;if((0,U.A)((()=>{i(!0)}),[]),!y)return null;const E=(0,O.xW)(F.content,w&&F["content--visible"],x&&F[`content--position-${x}`],v&&F["content--follow"],!0===g&&F["content--disable-animation"]),k=(0,O.xW)(F.inner,n,p),C=r.createElement("div",{className:E,style:b,ref:s,id:u,onTransitionEnd:c,onMouseEnter:f,onMouseLeave:d},r.createElement("div",{...m,...o,className:k},"function"==typeof t?t({position:x}):t));return a&&j.createPortal(C,h?.current||document.body)},V.Arrow=e=>{const{flyout:t,flyoutArrowElRef:n}=z(),{position:o}=t,{className:a,offset:i,size:l,background:u,shadow:s}=e,c=(0,O.xW)(F.arrow,o&&F[`arrow--position-${o}`],a),f={"--bui-flyout-arrow-offset":`var(--bui_spacing_${i}x)`,"--bui-flyout-arrow-size":`${l}px`,"--bui-flyout-arrow-background":`var(--bui_color_background_${u})`,...s?{"--bui-flyout-arrow-shadow":`var(--bui_shadow_${s})`}:{}};return r.createElement("span",{className:c,style:f},r.createElement("span",{ref:n}),r.createElement("span",null))};var W=V},7482:function(e,t,n){"use strict";n(96540),n(59490),n(3830),n(5350),n(66425),n(89708),n(47688),n(59679)},73388:function(e,t,n){"use strict";n.d(t,{H:function(){return s},A:function(){return w}});var r=n(96540),o=n(61004),a=n(59679),i=n(65631);const l=r.createContext({navigate:()=>{},navigateBack:()=>{},navigateForward:()=>{},setSliderState:()=>{},scrollValue:0,isScrollEnabled:!0,nextControlRef:r.createRef(),previousControlRef:r.createRef(),containerRef:r.createRef(),items:[],realItems:[],infinite:!1,startGhostsCount:0,endGhostsCount:0,id:"",itemsCount:0,setItemsCount:()=>{}}),u=()=>r.useContext(l);var s,c=l,f=n(59490),d=n(29385),p=n(40296),m=n(31293),h=n(84686),v=n(89328),g=n(27144);!function(e){e.previous="previous",e.next="next"}(s||(s={}));function b(e,t,n="center"){for(let r=0;r=0)return a}return null}const y=r.forwardRef(((e,t)=>{const[n,l]=r.useState({scrollValue:0,startGhostsCount:0,endGhostsCount:0}),u=(0,i.A)({...n}),{children:s,infinite:f,isScrollEnabled:d=!0,defaultActiveIndex:p=0}=e,{scrollValue:m,startGhostsCount:h,endGhostsCount:v}=n,g=r.useRef(null),y=r.useRef(null),w=r.useRef(null),x=r.useRef([]),E=r.useRef([]),[k,C]=r.useState(0),S=(0,a.A)(),_=()=>{const e=g.current;if(e)return b(e,x.current)},A=(e,t={})=>{const{delta:n=0}=t,r=x.current.length-1,a=Math.max(0,Math.min(e,r)),i=x.current[a],l=(0,o.Wt)(i.el,g.current)+n;(0,o.kx)(g.current,l,t)};r.useEffect((()=>{f&&n.startGhostsCount!==u.startGhostsCount&&A(p+n.startGhostsCount,{instant:!0})}),[n,f,u,p]),r.useEffect((()=>{f||A(p,{instant:!0})}),[f,p]);const N=()=>{const e=_();e&&A(e.index+1)},R=()=>{const e=_();e&&A(e.index-1)};return r.useImperativeHandle(t,(()=>({navigate:e=>A(e),navigateBack:R,navigateForward:N}))),r.createElement(c.Provider,{value:{navigateBack:R,navigateForward:N,navigate:A,containerRef:g,nextControlRef:y,previousControlRef:w,items:x.current,realItems:E.current,setSliderState:e=>{l({...n,...e})},scrollValue:m,isScrollEnabled:d,infinite:f||!1,startGhostsCount:h,endGhostsCount:v,id:S,itemsCount:k,setItemsCount:C}},s)}));y.Control=e=>{const{type:t,className:n,attributes:a}=e,i=u(),{isLarge:l}=(0,g.A)(),[c,b]=r.useState(!1),[y,w]=r.useState(!1),x=(0,f.xW)(n,"F0LvLJWak_sGuSy3hSUw",c&&"T9hWgpJtPFkCtADnawJC",y&&"LdSaSSO3HDtNsgkfufQA"),E=t===s.next,k=E?h.A:m.A,C=E?i.nextControlRef:i.previousControlRef,S=E?i.previousControlRef:i.nextControlRef;return r.useEffect((()=>{c||document.activeElement!==C.current||S.current?.focus()}),[c,C,S]),r.useEffect((()=>{let e;const t=i.containerRef.current;return(E?(0,o.x5)(t):(0,o.U)(t))?(b(!1),e=setTimeout((()=>w(!1)),3e3)):(b(!0),w(!0)),()=>{e&&clearTimeout(e)}}),[l,E,i.itemsCount,i.scrollValue,i.containerRef]),i.isScrollEnabled?r.createElement(v.A,{variant:"elevated",attributes:{...a,onKeyUp:e=>{const t=(0,d.l5)(e.key);t===p.A.LEFT&&i.navigateBack(),t===p.A.RIGHT&&i.navigateForward()},"aria-controls":i.id},ref:C,icon:k,onClick:()=>{t===s.next&&i.navigateForward(),t===s.previous&&i.navigateBack()},className:x}):null},y.Container=e=>{const{onAfterNavigate:t,onFocus:n,onBlur:a,children:i,className:l}=e,{realItems:s,items:c,navigate:p,startGhostsCount:m,endGhostsCount:h,setSliderState:v,infinite:g,containerRef:y,scrollValue:w,isScrollEnabled:x,itemsCount:E,setItemsCount:k,id:C}=u(),S=r.Children.count(i),_=r.useRef(0),A=()=>y.current.clientWidth+50,N=()=>{const e=y.current;if(e)return b(e,c)},R=function(e,t){const n=(0,d.sg)(e,t);return e=>(e.persist(),n(e))}((e=>{const n=e.target,r=N();r&&(r.realIndex!==_.current&&t&&(_.current=r.realIndex,t({index:_.current})),v({scrollValue:n.scrollLeft}))}),20);return r.useEffect((()=>{if(!g||!x)return;const e=N();e&&(e=>{const t=y.current;if(!t)return;const n=A(),r=(0,o.CA)(t),a=e.realIndex+m;if(r{E!==S&&k(S)}),[E,k,S]),r.useEffect((()=>{g&&(()=>{const e=A(),t=s.length-1,n={startGhostsCount:m,endGhostsCount:h};["start","end"].forEach((r=>{const o="start"===r,a=o?-1:1;let i=o?t:0,l=0;for(;l<=e&&i<=t&&i>=0;){const e=s[i].el;n[o?"startGhostsCount":"endGhostsCount"]+=1,l+=e.clientWidth,i+=a}})),v(n)})()}),[g]),r.createElement("ul",{className:(0,f.xW)(l,"VkpsugOYLyenvRJ2e0P3",!x&&"iB5jbN0pjKboytJdOe4w"),onScroll:R,ref:y,id:C,tabIndex:0,"aria-atomic":"false",onFocus:n,onBlur:a},(()=>{const e=s.length-1-m+1,t=!!m&&r.Children.toArray(i).slice(e),n=!!h&&r.Children.toArray(i).slice(0,h);return r.createElement(r.Fragment,null,t&&t.map(((t,n)=>r.isValidElement(t)?r.cloneElement(t,{ghost:!0,index:n,realIndex:e+n,key:n}):null)),r.Children.map(i,((e,t)=>{if(!r.isValidElement(e))return null;const n=t+m;return r.cloneElement(e,{index:n,realIndex:t,key:n})})),n&&n.map(((e,t)=>{if(!r.isValidElement(e))return null;const n=r.Children.count(i)+m+t;return r.cloneElement(e,{ghost:!0,index:n,realIndex:t,key:n})})))})())},y.Item=e=>{const t=r.useRef(null),{className:n,attributes:o,children:a,index:i=0,realIndex:l=0,ghost:s}=e,c=(0,f.xW)("jNe60xz7MPDcHrAFQe2q",n),d=u();return r.useEffect((()=>{const e={index:i,realIndex:l,el:t.current};return s||(d.realItems[l]=e),d.items[i]=e,()=>{s||d.realItems.splice(l,1),d.items.splice(i,1)}}),[s,i,l,d.items,d.realItems]),r.createElement("li",{...o,className:c,ref:t},a)};var w=y},46081:function(e,t,n){"use strict";var r=n(96540),o=n(59679);let a={},i=null;const l=e=>{a[e]&&(e===i&&(i=a[e].parentId),delete a[e],null===i&&(a={}))};t.A=e=>{const{active:t,contentRef:n,triggerRef:u,blocking:s}=e,c=(0,o.A)(),f=r.useCallback((()=>!a[c]||i===c),[c]);return r.useEffect((()=>{if(t)return((e,t,n,r)=>{const o=i?a[i]:void 0,u=n?.current&&o&&o.contentRef.current?.contains(n.current);i&&(!u&&n||!r)&&l(i),a[e]={parentId:i,triggerRef:n,contentRef:t,blocking:r},i=e})(c,n,u,!!s),()=>l(c)}),[t,c,n,u,s]),{isDismissible:f}}},59679:function(e,t,n){"use strict";var r=n(96540);t.A=e=>{const t=r.useId();return e||t}},84808:function(e,t,n){"use strict";var r=n(96540);const o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;t.A=o},65631:function(e,t,n){"use strict";var r=n(96540);const o=e=>{const t=e instanceof Date;if(t)return String(t);const n=JSON.stringify(e);return JSON.parse(n)};t.A=(e,t=!1)=>{const n=r.useRef(t?o(e):e);return r.useEffect((()=>{n.current=t?o(e):e}),[e,t]),n.current}},82430:function(e,t,n){"use strict";var r=n(96540),o=n(20005);t.A=()=>{const{rtl:e,setRTL:t}=r.useContext(o.A);return r.useMemo((()=>[e,t]),[e,t])}},27144:function(e,t,n){"use strict";var r=n(96540),o=n(23653),a=n(84808),i=n(20005);const l={small:`(max-width: ${o.A.MEDIUM-1}px)`,medium:`(min-width: ${o.A.MEDIUM}px) and (max-width: ${o.A.LARGE-1}px)`,large:`(min-width: ${o.A.LARGE}px)`};t.A=e=>{const t=r.useContext(i.A),[n,o]=r.useState(e||t.defaultViewportSize);return(0,a.A)((()=>{const e=Object.keys(l).map((e=>{const t=l[e],n=window.matchMedia(t);return{mq:n,handler:()=>n.matches&&o(e)}}));return e.forEach((({handler:e,mq:t})=>{e(),t.addListener(e)})),()=>{e.forEach((({handler:e,mq:t})=>{t.removeListener(e)}))}}),[]),{isSmall:"small"===n,isMedium:"medium"===n,isLarge:"large"===n}}},6178:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(27842));t.default={layout:o.default}},27842:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={breakpoints:{medium:576,large:1024,huge:1280}}},66598:function(e,t,n){"use strict";var r=n(31635),o=n(96540),a=n(74408),i=n(84013),l=n(97197),u=n(32931),s=function(e){var t=e.defaultValue,n=e.onChange,a=(0,r.Tt)(e,["defaultValue","onChange"]),i=(0,r.zs)((0,o.useState)(t||""),2),l=i[0],u=i[1];return o.createElement(c,(0,r.Cl)({},a,{value:l,onChange:function(e){u(e.value),null==n||n(e)}}))},c=function(e){var t,n=e.name,s=e.value,c=e.displayMode,f=e.copy,d=e.error,p=e.onFocus,m=e.onBlur,h=e.inputAttributes,v=e.size,g=e.disableTracking,b=e.locale,y=(0,r.Tt)(e,["name","value","displayMode","copy","error","onFocus","onBlur","inputAttributes","size","disableTracking","locale"]),w=f.label,x=f.placeholder,E=f.ariaLabelShow,k=f.errorRequired,C=f.errorTooShort,S=f.errorInvalid,_=((t={})[l.bS.REQUIRED]=k,t[l.bS.TOO_SHORT]=C,t[l.bS.INVALID]=S,t);return(0,o.useEffect)((function(){g||(0,u.Ii)(b)}),[g,b]),(0,o.useEffect)((function(){g||(0,u.Cd)(b,{displayMode:c,size:v},{component:"Password"})}),[g,b,c,v]),(0,o.useEffect)((function(){!g&&d&&(0,u.Gm)(b,{component:"Password",error:d})}),[g,b,d]),c?o.createElement(a.EY,{variant:"featured_3"},"··········"):o.createElement(a.cA,(0,r.Cl)({},y,{name:n,value:s,inputAttributes:(0,r.Cl)({autoComplete:"new-password"},h),label:w,placeholder:x,showPasswordAriaLabel:E,size:v,error:(0,i.v)(d,_),onFocus:function(e){null==p||p({name:n,value:s,event:e})},onBlur:function(e){null==m||m({name:n,value:s,event:e})}}))};t.A=function(e){return void 0===e.value?o.createElement(s,(0,r.Cl)({},e)):o.createElement(c,(0,r.Cl)({},e))}},68990:function(e,t){"use strict";function n(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{u(r.next(e))}catch(e){a(e)}}function l(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}u((r=r.apply(e,t||[])).next())}))}Object.create,Object.create;class r{constructor(e){this.config=e,this.headers=this.config.API.HEADERS}get(e,t){return new Promise(((r,o)=>n(this,void 0,void 0,(function*(){try{const n=yield fetch(e,{method:"GET",headers:(null==t?void 0:t.withHeaders)?this.headers:void 0,credentials:!1===(null==t?void 0:t.withCredentials)?"omit":"include"}),o=yield n.text();r(o?JSON.parse(o):null)}catch(e){return o(e)}}))))}post(e,t,r){return new Promise(((o,a)=>n(this,void 0,void 0,(function*(){try{const n=yield fetch(e,{method:"POST",headers:(null==r?void 0:r.withHeaders)?this.headers:void 0,credentials:!1===(null==r?void 0:r.withCredentials)?"omit":"include",body:JSON.stringify(t)}),a=yield n.text();o(a?JSON.parse(a):null)}catch(e){return a(e)}}))))}}var o=new class{init(e){this.client=new r(e)}get(e){return n(this,void 0,void 0,(function*(){return this.client.get(e)}))}post(e,t={},r={}){return n(this,void 0,void 0,(function*(){return this.client.post(e,t,r)}))}};const a=e=>{var t=void 0;return e.platform||(e.platform=""),e.platform=e.platform.toLowerCase(),"mdot"==e.platform&&(t=2),"ddot"!=e.platform&&"www"!=e.platform||(t=1),{"Content-Type":"application/json","X-Booking-Platform":e.platform,"X-Booking-SiteType-Id":t,"X-Booking-Pageview-Id":e.pageviewId,"X-Booking-Session-Id":e.sessionId,"X-Booking-ET-Seed":e.etSeed,"X-Booking-AID":e.aid,"X-Booking-Label":e.label,"X-Booking-CSRF":e.csrfToken,"X-Booking-Language-Code":e.lang}};class i{constructor(e,t,n){this.batchSize=e,this.queueLimit=t,this.queue=[],this.timeoutId=null,this.sendBatchFn=n}enqueue(e){this.queue.push(e),this.queue.length>=this.batchSize?this.flush():1!==this.queue.length||this.timeoutId||(this.timeoutId=setTimeout((()=>{this.processQueue()}),this.queueLimit))}flush(e){clearTimeout(this.timeoutId),this.processQueue(e)}processQueue(e){let t=[];t=this.queue.length>=this.queueLimit?this.queue.splice(0):this.queue.splice(0,this.batchSize),this.sendBatchFn(t),this.queue.length>0?this.processQueue():this.timeoutId=null}}var l=new class{constructor(){this.trackBatch=e=>n(this,void 0,void 0,(function*(){this.track({events:e.map((e=>function(e,t,n){const r={local:{currency:t.currency,language:t.language},page:{},web:{}};"undefined"!=typeof window&&(r.page={page_referrer:document.referrer,page_url:window.location.href,page_title:document.title},r.web={browser_language:window.navigator.language});const o={tracker_name:"C360ReactTracker",tracker_type:"Client",tracker_version:"0.1.0"};return o.tracker_version="0.1.1",Object.assign(Object.assign({},e),{context:r,tracker:o})}(e,this.c360Config)))})}))}init(e){this.c360Config=(e=>{const t=e.hostname||(e.isDev?"app.dqs.booking.com":"www.booking.com");return{IS_DEV:Boolean(e.isDev),API:{HEADERS:a(e)},TRACK_BASE_URL:`https://${t}/c360/v1/track`,language:e.lang,currency:e.currency}})(e),this.httpClient=o,this.c360url=this.c360Config.TRACK_BASE_URL,this.props=e,this.batchQueue=this.batchQueue||new i(10,1e3,this.trackBatch),o.init(this.c360Config)}track(e){return n(this,void 0,void 0,(function*(){this.httpClient.post(this.c360url,e,{withHeaders:!0}).catch((e=>{this.props.onErrorCallback&&this.props.onErrorCallback(new Error(e))}))}))}sendEvent(e,t){return n(this,void 0,void 0,(function*(){this.batchQueue.enqueue(e),t&&this.batchQueue.flush()}))}};t.A=l},84013:function(e,t,n){"use strict";n.d(t,{v:function(){return r}});var r=function(e,t){return void 0===e||"boolean"==typeof e?e:t[e]||e||""}},4607:function(e,t,n){"use strict";var r;n.d(t,{a:function(){return r}}),function(e){e.REQUIRED_ADDRESS="required_address",e.REQUIRED_ADDRESS_2="required_address_2",e.REQUIRED_CITY="required_city",e.REQUIRED_COUNTRY="required_country",e.REQUIRED_POSTAL_CODE="required_postal_code",e.REQUIRED_REGION="required_region",e.INVALID_COUNTRY="invalid_country",e.INVALID_REGION="invalid_region",e.TOO_LONG_CITY="too_long_city",e.TOO_LONG_POSTAL_CODE="too_long_postal_code"}(r||(r={}))},32923:function(e,t,n){"use strict";var r,o,a,i;n.d(t,{KU:function(){return o},d4:function(){return i},sn:function(){return r},tt:function(){return a}}),function(e){e.REQUIRED="day_required",e.INVALID="day_invalid"}(r||(r={})),function(e){e.REQUIRED="month_required",e.INVALID="month_invalid"}(o||(o={})),function(e){e.REQUIRED="year_required",e.INVALID="year_invalid"}(a||(a={})),function(e){e.INVALID="date_invalid",e.NOT_IN_PAST="date_not_in_past"}(i||(i={}))},19251:function(e,t,n){"use strict";var r;n.d(t,{H:function(){return r}}),function(e){e.REQUIRED="required",e.INVALID="invalid",e.INVALID_LATIN="invalid_latin"}(r||(r={}))},41147:function(e,t,n){"use strict";var r;n.d(t,{t:function(){return r}}),function(e){e.REQUIRED="required"}(r||(r={}))},89715:function(e,t,n){"use strict";var r;n.d(t,{L:function(){return r}}),function(e){e.REQUIRED="required",e.INVALID="invalid",e.INVALID_LATIN="invalid_latin"}(r||(r={}))},11563:function(e,t,n){"use strict";var r;n.d(t,{g:function(){return r}}),function(e){e.REQUIRED="required",e.INVALID="invalid"}(r||(r={}))},98285:function(e,t,n){"use strict";var r;n.d(t,{o:function(){return r}}),function(e){e.REQUIRED="required",e.TOO_LONG="too_long"}(r||(r={}))},55254:function(e,t,n){"use strict";n(76419);var r=n(21302),o=n(76931);r.P.REQUIRED,o.b.REQUIRED,r.P.CONTAINS_NUMBERS,o.b.INVALID,r.P.REGEXP,o.b.INVALID,r.P.REGEXP,o.b.INVALID,r.P.LENGTH,o.b.TOO_SHORT},96207:function(e,t,n){"use strict";var r;n.d(t,{B:function(){return r}}),function(e){e.REQUIRED="required",e.INVALID="invalid",e.TOO_SHORT="too_short",e.TOO_LONG="too_long",e.COUNTRY_CODE_INVALID="country_code_invalid"}(r||(r={}))},19235:function(e,t,n){"use strict";var r,o,a,i,l,u,s;n.d(t,{D0:function(){return r},Ex:function(){return o},PB:function(){return u},TK:function(){return i},Yi:function(){return l},bf:function(){return s},lT:function(){return a}}),function(e){e.REQUIRED="type_required",e.INVALID="type_invalid"}(r||(r={})),function(e){e.REQUIRED="number_required",e.INVALID="number_invalid",e.TOO_SHORT="number_too_short"}(o||(o={})),function(e){e.REQUIRED="expiry_date_day_required",e.INVALID="expiry_date_day_invalid"}(a||(a={})),function(e){e.REQUIRED="expiry_date_month_required",e.INVALID="expiry_date_month_invalid"}(i||(i={})),function(e){e.REQUIRED="expiry_date_year_required",e.INVALID="expiry_date_year_invalid"}(l||(l={})),function(e){e.INVALID="expiry_date_invalid",e.NOT_IN_FUTURE="expiry_date_not_in_future"}(u||(u={})),function(e){e.REQUIRED="country_required",e.INVALID="country_invalid"}(s||(s={}))},17644:function(e,t,n){"use strict";n.d(t,{w:function(){return r}});var r={PASSPORT:"PASSPORT",ID_CARD:"ID"}},21302:function(e,t,n){"use strict";var r;n.d(t,{P:function(){return r}}),function(e){e.EMAIL="email",e.REQUIRED="required",e.LENGTH="length",e.REGEXP="regExp",e.CONTAINS_LETTERS="containsLetters",e.CONTAINS_NUMBERS="containsNumbers",e.PHONE="phone",e.DAY="day",e.MONTH="month",e.YEAR="year",e.ALPHA_NUMERIC="alphanumeric",e.DATE="date",e.DATE_IN_FUTURE="dateInFuture",e.DATE_IN_PAST="dateInPast",e.COUNTRY_CODE="countryCode",e.NAME="name",e.ONE_OF="oneOf",e.REGION_CODE="regionCode"}(r||(r={}))},67227:function(e,t,n){"use strict";var r=n(47967),o=n(11996);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},7359:function(e){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},86884:function(e,t,n){"use strict";var r=n(79448);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},39813:function(e,t,n){"use strict";var r=n(92127),o=n(66179)(2);r(r.P+r.F*!n(86884)([].filter,!0),"Array",{filter:function(e){return o(this,e,arguments[1])}})},54913:function(e,t,n){"use strict";var r=n(92127),o=n(66179)(1);r(r.P+r.F*!n(86884)([].map,!0),"Array",{map:function(e){return o(this,e,arguments[1])}})},22642:function(e,t,n){var r=n(57221),o=n(68641).f;n(80923)("getOwnPropertyDescriptor",(function(){return function(e,t){return o(r(e),t)}}))},8301:function(e,t,n){var r=n(67526),o=n(98880),a=n(47967).f,i=n(59415).f,l=n(95411),u=n(1158),s=r.RegExp,c=s,f=s.prototype,d=/a/g,p=/a/g,m=new s(d)!==d;if(n(1763)&&(!m||n(79448)((function(){return p[n(67574)("match")]=!1,s(d)!=d||s(p)==p||"/a/i"!=s(d,"i")})))){s=function(e,t){var n=this instanceof s,r=l(e),a=void 0===t;return!n&&r&&e.constructor===s&&a?e:o(m?new c(r&&!a?e.source:e,t):c((r=e instanceof s)?e.source:e,r&&a?u.call(e):t),n?this:f,s)};for(var h=function(e){e in s||a(s,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})},v=i(c),g=0;v.length>g;)h(v[g++]);f.constructor=s,s.prototype=f,n(28859)(r,"RegExp",s)}n(55762)("RegExp")},74701:function(e,t,n){"use strict";var r=n(4228),o=n(7359),a=n(52535);n(69228)("search",1,(function(e,t,n,i){return[function(n){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=i(n,e,this);if(t.done)return t.value;var l=r(e),u=String(this),s=l.lastIndex;o(s,0)||(l.lastIndex=0);var c=a(l,u);return o(l.lastIndex,s)||(l.lastIndex=s),null===c?-1:c.index}]}))},84614:function(e,t,n){var r=n(92127),o=n(96222),a=n(57221),i=n(68641),l=n(67227);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),u=i.f,s=o(r),c={},f=0;s.length>f;)void 0!==(n=u(r,t=s[f++]))&&l(c,t,n);return c}})},4146:function(e,t,n){"use strict";var r=n(44363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var s=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=p(n);o&&o!==m&&e(t,o,r)}var i=c(n);f&&(i=i.concat(f(n)));for(var l=u(t),h=u(n),v=0;v