You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@twilio-paste/modal-dialog-primitive

Package Overview
Dependencies
Maintainers
4
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twilio-paste/modal-dialog-primitive - npm Package Compare versions

Comparing version

to
0.3.1

54

dist/index.es.js

@@ -1,51 +0,51 @@

var qr=Object.create;var Te=Object.defineProperty;var Yr=Object.getOwnPropertyDescriptor;var Zr=Object.getOwnPropertyNames;var Xr=Object.getPrototypeOf,Kr=Object.prototype.hasOwnProperty;var zr=e=>Te(e,"__esModule",{value:!0});var Ie=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Qr=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Zr(t))!Kr.call(e,o)&&(r||o!=="default")&&Te(e,o,{get:()=>t[o],enumerable:!(n=Yr(t,o))||n.enumerable});return e},fe=(e,t)=>Qr(zr(Te(e!=null?qr(Xr(e)):{},"default",!t&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Tt=Ie((Zo,Ft)=>{"use strict";var fn="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";Ft.exports=fn});var Lt=Ie((Xo,At)=>{"use strict";var sn=Tt();function It(){}function kt(){}kt.resetWarningCache=It;At.exports=function(){function e(n,o,a,i,u,f){if(f!==sn){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}e.isRequired=e;function t(){return e}var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:kt,resetWarningCache:It};return r.PropTypes=r,r}});var K=Ie((Qo,Mt)=>{Mt.exports=Lt()();var Ko,zo});import{forwardRef as gt,useEffect as Fr,createElement as Y,useRef as Tr,useCallback as mo}from"react";import{useRef as Et,createElement as nn}from"react";import{useLayoutEffect as Jr,useEffect as en}from"react";function se(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var _t=se()?Jr:en;import{useState as tn,useCallback as rn}from"react";function St(){var e=tn(Object.create(null)),t=e[1];return rn(function(){t(Object.create(null))},[])}import{createPortal as on}from"react-dom";var Rt=function(t){var r=t.children,n=t.type,o=n===void 0?"reach-portal":n,a=t.containerRef,i=Et(null),u=Et(null),f=St();return _t(function(){if(!!i.current){var l=i.current.ownerDocument,c=(a==null?void 0:a.current)||l.body;return u.current=l==null?void 0:l.createElement(o),c.appendChild(u.current),f(),function(){u.current&&c&&c.removeChild(u.current)}}},[o,f,a]),u.current?on(r,u.current):nn("span",{ref:i})};function Ot(e){return se()?e?e.ownerDocument:document:null}function Ct(e){return!!(e&&{}.toString.call(e)=="[object Function]")}function ke(){}import"react";function Nt(e){if(!1)var t}import{useCallback as an}from"react";function Pt(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function un(e,t){if(!!e){if(typeof e=="string")return Pt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Pt(e,t)}}function cn(e,t){var r;if(typeof Symbol=="undefined"||e[Symbol.iterator]==null){if(Array.isArray(e)||(r=un(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return r=e[Symbol.iterator](),r.next.bind(r)}function ln(e,t){if(e!=null)if(Ct(e))e(t);else try{e.current=t}catch(r){throw new Error('Cannot assign value "'+t+'" to ref "'+e+'"')}}function Dt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return an(function(n){for(var o=cn(t),a;!(a=o()).done;){var i=a.value;ln(i,n)}},t)}function X(e,t){return function(r){if(e&&e(r),!r.defaultPrevented)return t(r)}}function Ae(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function D(){return D=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},D.apply(this,arguments)}import*as _e from"react";var ha=fe(K());import*as y from"react";var z="data-focus-lock",de="data-focus-lock-disabled",Bt="data-no-focus-lock",jt="data-autofocus-inside";function Wt(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}import{useState as mn}from"react";function Vt(e,t){var r=mn(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}function Le(e,t){return Vt(t,function(r){return e.forEach(function(n){return Wt(n,r)})})}import{useEffect as vn}from"react";var ua=fe(K());import*as M from"react";var B={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},Ut=function(t){var r=t.children;return M.createElement(M.Fragment,null,M.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:B}),r,r&&M.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:B}))};Ut.propTypes={};Ut.defaultProps={children:null};var me=function(){return me=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},me.apply(this,arguments)};function Gt(e){return e}function Ht(e,t){t===void 0&&(t=Gt);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var i=t(a,n);return r.push(i),function(){r=r.filter(function(u){return u!==i})}},assignSyncMedium:function(a){for(n=!0;r.length;){var i=r;r=[],i.forEach(a)}r={push:function(u){return a(u)},filter:function(){return r}}},assignMedium:function(a){n=!0;var i=[];if(r.length){var u=r;r=[],u.forEach(a),i=r}var f=function(){var c=i;i=[],c.forEach(a)},l=function(){return Promise.resolve().then(f)};l(),r={push:function(c){i.push(c),l()},filter:function(c){return i=i.filter(c),r}}}};return o}function Q(e,t){return t===void 0&&(t=Gt),Ht(e,t)}function Me(e){e===void 0&&(e={});var t=Ht(null);return t.options=me({async:!0,ssr:!1},e),t}var pe=Q({},function(e){var t=e.target,r=e.currentTarget;return{target:t,currentTarget:r}}),ve=Q(),$t=Q(),qt=Me({async:!0});var hn=[],Be=y.forwardRef(function(t,r){var n,o=y.useState(),a=o[0],i=o[1],u=y.useRef(),f=y.useRef(!1),l=y.useRef(null),c=t.children,d=t.disabled,v=t.noFocusGuards,p=t.persistentFocus,h=t.crossFrame,s=t.autoFocus,m=t.allowTextSelection,b=t.group,w=t.className,_=t.whiteList,S=t.hasPositiveIndices,x=t.shards,L=x===void 0?hn:x,N=t.as,P=N===void 0?"div":N,F=t.lockProps,C=F===void 0?{}:F,Ir=t.sideCar,le=t.returnFocus,kr=t.focusOptions,Pe=t.onActivation,De=t.onDeactivation,Ar=y.useState({}),Lr=Ar[0],Mr=y.useCallback(function(){l.current=l.current||document&&document.activeElement,u.current&&Pe&&Pe(u.current),f.current=!0},[Pe]),Br=y.useCallback(function(){f.current=!1,De&&De(u.current)},[De]);vn(function(){d||(l.current=null)},[]);var jr=y.useCallback(function(T){var Z=l.current;if(Z&&Z.focus){var Fe=typeof le=="function"?le(Z):le;if(Fe){var wt=typeof Fe=="object"?Fe:void 0;l.current=null,T?Promise.resolve().then(function(){return Z.focus(wt)}):Z.focus(wt)}}},[le]),Wr=y.useCallback(function(T){f.current&&pe.useMedium(T)},[]),Vr=ve.useMedium,Ur=y.useCallback(function(T){u.current!==T&&(u.current=T,i(T))},[]),Gr=D((n={},n[de]=d&&"disabled",n[z]=b,n),C),xt=v!==!0,Hr=xt&&v!=="tail",$r=Le([r,Ur]);return y.createElement(y.Fragment,null,xt&&[y.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:d?-1:0,style:B}),S?y.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:d?-1:1,style:B}):null],!d&&y.createElement(Ir,{id:Lr,sideCar:qt,observed:a,disabled:d,persistentFocus:p,crossFrame:h,autoFocus:s,whiteList:_,shards:L,onActivation:Mr,onDeactivation:Br,returnFocus:jr,focusOptions:kr}),y.createElement(P,D({ref:$r},Gr,{className:w,onBlur:Vr,onFocus:Wr}),c),Hr&&y.createElement("div",{"data-focus-guard":!0,tabIndex:d?-1:0,style:B}))});Be.propTypes={};Be.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var je=Be;var Ui=fe(K());import*as ir from"react";function J(e,t){return J=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J(e,t)}function We(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,J(e,t)}function Ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}import yn,{PureComponent as gn}from"react";function bn(e,t){function r(n){return n.displayName||n.name||"Component"}return function(o){var a=[],i;function u(){i=e(a.map(function(l){return l.props})),t(i)}var f=function(l){We(c,l);function c(){return l.apply(this,arguments)||this}c.peek=function(){return i};var d=c.prototype;return d.componentDidMount=function(){a.push(this),u()},d.componentDidUpdate=function(){u()},d.componentWillUnmount=function(){var p=a.indexOf(this);a.splice(p,1),u()},d.render=function(){return yn.createElement(o,this.props)},c}(gn);return Ve(f,"displayName","SideEffect("+r(o)+")"),f}}var Yt=bn;var R=function(e){for(var t=Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t},ee=function(e){return Array.isArray(e)?e:[e]};var xn=function(e){for(var t=new Set,r=e.length,n=0;n<r;n+=1)for(var o=n+1;o<r;o+=1){var a=e[n].compareDocumentPosition(e[o]);(a&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(n)}return e.filter(function(i,u){return!t.has(u)})},Zt=function(e){return e.parentNode?Zt(e.parentNode):e},j=function(e){var t=ee(e);return t.filter(Boolean).reduce(function(r,n){var o=n.getAttribute(z);return r.push.apply(r,o?xn(R(Zt(n).querySelectorAll("[".concat(z,'="').concat(o,'"]:not([').concat(de,'="disabled"])')))):[n]),r},[])};var W=function(){return document.activeElement?document.activeElement.shadowRoot?document.activeElement.shadowRoot.activeElement:document.activeElement:void 0};var wn=function(e){return e===document.activeElement},_n=function(e){return Boolean(R(e.querySelectorAll("iframe")).some(function(t){return wn(t)}))},he=function(e){var t=document&&W();return!t||t.dataset&&t.dataset.focusGuard?!1:j(e).reduce(function(r,n){return r||n.contains(t)||_n(n)},!1)};var Ue=function(){var e=document&&W();return e?R(document.querySelectorAll("[".concat(Bt,"]"))).some(function(t){return t.contains(e)}):!1};var Sn=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!t||!t.getPropertyValue?!1:t.getPropertyValue("display")==="none"||t.getPropertyValue("visibility")==="hidden"},En=function(e,t){return!e||e===document||e&&e.nodeType===Node.DOCUMENT_NODE||!Sn(e)&&t(e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode)},Ge=function(e,t){var r=e.get(t);if(r!==void 0)return r;var n=En(t,Ge.bind(void 0,e));return e.set(t,n),n},He=function(e){return e.dataset},Rn=function(e){return e.tagName==="BUTTON"},Xt=function(e){return e.tagName==="INPUT"},$e=function(e){return Xt(e)&&e.type==="radio"},Kt=function(e){return!((Xt(e)||Rn(e))&&(e.type==="hidden"||e.disabled))&&!e.ariaDisabled},te=function(e){var t;return Boolean(e&&((t=He(e))===null||t===void 0?void 0:t.focusGuard))},V=function(e){return!te(e)},zt=function(e){return Boolean(e)};var On=function(e,t){return t.filter($e).filter(function(r){return r.name===e.name}).filter(function(r){return r.checked})[0]||e},ye=function(e,t){return $e(e)&&e.name?On(e,t):e},Qt=function(e){var t=new Set;return e.forEach(function(r){return t.add(ye(r,e))}),e.filter(function(r){return t.has(r)})};var qe=function(e){return e[0]&&e.length>1?ye(e[0],e):e[0]},Ye=function(e,t){return e.length>1?e.indexOf(ye(e[t],e)):t};var Ze="NEW_FOCUS",Jt=function(e,t,r,n){var o=e.length,a=e[0],i=e[o-1],u=te(r);if(!(r&&e.indexOf(r)>=0)){var f=r!==void 0?t.indexOf(r):-1,l=n?t.indexOf(n):f,c=n?e.indexOf(n):-1,d=f-l,v=t.indexOf(a),p=t.indexOf(i),h=Qt(t),s=r!==void 0?h.indexOf(r):-1,m=s-(n?h.indexOf(n):f),b=Ye(e,0),w=Ye(e,o-1);if(f===-1||c===-1)return Ze;if(!d&&c>=0)return c;if(f<=v&&u&&Math.abs(d)>1)return w;if(f>=p&&u&&Math.abs(d)>1)return b;if(d&&Math.abs(m)>1)return c;if(f<=v)return w;if(f>p)return b;if(d)return Math.abs(d)>1?c:(o+c+d)%o}};var Cn=function(e,t){var r=e.tabIndex-t.tabIndex,n=e.index-t.index;if(r){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return r||n},Xe=function(e,t,r){return R(e).map(function(n,o){return{node:n,index:o,tabIndex:r&&n.tabIndex===-1?(n.dataset||{}).focusGuard?0:-1:n.tabIndex}}).filter(function(n){return!t||n.tabIndex>=0}).sort(Cn)};var er=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"];var Ke=er.join(","),Nn="".concat(Ke,", [data-focus-guard]"),ge=function(e,t){return e.reduce(function(r,n){return r.concat(R(n.querySelectorAll(t?Nn:Ke)),n.parentNode?R(n.parentNode.querySelectorAll(Ke)).filter(function(o){return o===n}):[])},[])},tr=function(e){var t=e.querySelectorAll("[".concat(jt,"]"));return R(t).map(function(r){return ge([r])}).reduce(function(r,n){return r.concat(n)},[])};var ze=function(e,t){return R(e).filter(function(r){return Ge(t,r)}).filter(function(r){return Kt(r)})},re=function(e,t,r){return Xe(ze(ge(e,r),t),!0,r)},Qe=function(e,t){return Xe(ze(ge(e),t),!1)},rr=function(e,t){return ze(tr(e),t)};var Je=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&Je(e.parentNode,t),t},et=function(e,t){for(var r=Je(e),n=Je(t),o=0;o<r.length;o+=1){var a=r[o];if(n.indexOf(a)>=0)return a}return!1},be=function(e,t,r){var n=ee(e),o=ee(t),a=n[0],i=!1;return o.filter(Boolean).forEach(function(u){i=et(i||u,u)||i,r.filter(Boolean).forEach(function(f){var l=et(a,f);l&&(!i||l.contains(i)?i=l:i=et(l,i))})}),i},nr=function(e,t){return e.reduce(function(r,n){return r.concat(rr(n,t))},[])};var Pn=function(e){return function(t){var r;return t.autofocus||!!((r=He(t))===null||r===void 0?void 0:r.autofocus)||e.indexOf(t)>=0}},Dn=function(e,t){var r=new Map;return t.forEach(function(n){return r.set(n.node,n)}),e.map(function(n){return r.get(n)}).filter(zt)},or=function(e,t){var r=document&&W(),n=j(e).filter(V),o=be(r||e,e,n),a=new Map,i=Qe(n,a),u=re(n,a).filter(function(p){var h=p.node;return V(h)});if(!(!u[0]&&(u=i,!u[0]))){var f=Qe([o],a).map(function(p){var h=p.node;return h}),l=Dn(f,u),c=l.map(function(p){var h=p.node;return h}),d=Jt(c,f,r,t);if(d===Ze){var v=i.map(function(p){var h=p.node;return h}).filter(Pn(nr(n,a)));return{node:v&&v.length?qe(v):qe(c)}}return d===void 0?d:l[d]}};var tt=function(e){var t=j(e).filter(V),r=be(e,e,t),n=new Map,o=re([r],n,!0),a=re(t,n).filter(function(i){var u=i.node;return V(u)}).map(function(i){var u=i.node;return u});return o.map(function(i){var u=i.node,f=i.index;return{node:u,index:f,lockItem:a.indexOf(u)>=0,guard:te(u)}})};var Fn=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},rt=0,nt=!1,ar=function(e,t,r){r===void 0&&(r={});var n=or(e,t);if(!nt&&n){if(rt>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),nt=!0,setTimeout(function(){nt=!1},1);return}rt++,Fn(n.node,r.focusOptions),rt--}};var ot=ar;function at(e){var t=window,r=t.setImmediate;typeof r!="undefined"?r(e):setTimeout(e,1)}var Tn=function(){return document&&document.activeElement===document.body},In=function(){return Tn()||Ue()},U=null,G=null,H=null,ne=!1,kn=function(){return!0},An=function(t){return(U.whiteList||kn)(t)},Ln=function(t,r){H={observerNode:t,portaledElement:r}},Mn=function(t){return H&&H.portaledElement===t};function ur(e,t,r,n){var o=null,a=e;do{var i=n[a];if(i.guard)i.node.dataset.focusAutoGuard&&(o=i);else if(i.lockItem){if(a!==e)return;o=null}else break}while((a+=r)!==t);o&&(o.node.tabIndex=0)}var Bn=function(t){return t&&"current"in t?t.current:t},jn=function(t){return t?Boolean(ne):ne==="meanwhile"},Wn=function e(t,r,n){return r&&(r.host===t&&(!r.activeElement||n.contains(r.activeElement))||r.parentNode&&e(t,r.parentNode,n))},Vn=function(t,r){return r.some(function(n){return Wn(t,n,n)})},xe=function(){var t=!1;if(U){var r=U,n=r.observed,o=r.persistentFocus,a=r.autoFocus,i=r.shards,u=r.crossFrame,f=r.focusOptions,l=n||H&&H.portaledElement,c=document&&document.activeElement;if(l){var d=[l].concat(i.map(Bn).filter(Boolean));if((!c||An(c))&&(o||jn(u)||!In()||!G&&a)&&(l&&!(he(d)||c&&Vn(c,d)||Mn(c,l))&&(document&&!G&&c&&!a?(c.blur&&c.blur(),document.body.focus()):(t=ot(d,G,{focusOptions:f}),H={})),ne=!1,G=document&&document.activeElement),document){var v=document&&document.activeElement,p=tt(d),h=p.map(function(s){var m=s.node;return m}).indexOf(v);h>-1&&(p.filter(function(s){var m=s.guard,b=s.node;return m&&b.dataset.focusAutoGuard}).forEach(function(s){var m=s.node;return m.removeAttribute("tabIndex")}),ur(h,p.length,1,p),ur(h,-1,-1,p))}}}return t},cr=function(t){xe()&&t&&(t.stopPropagation(),t.preventDefault())},we=function(){return at(xe)},lr=function(t){var r=t.target,n=t.currentTarget;n.contains(r)||Ln(n,r)},Un=function(){return null},Gn=function(t){var r=t.children;return ir.createElement("div",{onBlur:we,onFocus:lr},r)};Gn.propTypes={};var fr=function(){ne="just",setTimeout(function(){ne="meanwhile"},0)},Hn=function(){document.addEventListener("focusin",cr),document.addEventListener("focusout",we),window.addEventListener("blur",fr)},$n=function(){document.removeEventListener("focusin",cr),document.removeEventListener("focusout",we),window.removeEventListener("blur",fr)};function qn(e){return e.filter(function(t){var r=t.disabled;return!r})}function Yn(e){var t=e.slice(-1)[0];t&&!U&&Hn();var r=U,n=r&&t&&t.id===r.id;U=t,r&&!n&&(r.onDeactivation(),e.filter(function(o){var a=o.id;return a===r.id}).length||r.returnFocus(!t)),t?(G=null,(!n||r.observed!==t.observed)&&t.onActivation(),xe(!0),at(xe)):($n(),G=null)}pe.assignSyncMedium(lr);ve.assignMedium(we);$t.assignMedium(function(e){return e({moveFocusInside:ot,focusInside:he})});var sr=Yt(qn,Yn)(Un);var dr=_e.forwardRef(function(t,r){return _e.createElement(je,D({sideCar:sr,ref:r},t))}),mr=je.propTypes||{},Ji=mr.sideCar,eu=Ae(mr,["sideCar"]);dr.propTypes={};var pr=dr;var vr=pr;var O=function(){return O=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},O.apply(this,arguments)};function Se(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}import*as Ne from"react";import*as E from"react";var I="right-scroll-bar-position",k="width-before-scroll-bar",it="with-scroll-bars-hidden";function Zn(e){return e}function Xn(e,t){t===void 0&&(t=Zn);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var i=t(a,n);return r.push(i),function(){r=r.filter(function(u){return u!==i})}},assignSyncMedium:function(a){for(n=!0;r.length;){var i=r;r=[],i.forEach(a)}r={push:function(u){return a(u)},filter:function(){return r}}},assignMedium:function(a){n=!0;var i=[];if(r.length){var u=r;r=[],u.forEach(a),i=r}var f=function(){var c=i;i=[],c.forEach(a)},l=function(){return Promise.resolve().then(f)};l(),r={push:function(c){i.push(c),l()},filter:function(c){return i=i.filter(c),r}}}};return o}function ut(e){e===void 0&&(e={});var t=Xn(null);return t.options=O({async:!0,ssr:!1},e),t}import*as hr from"react";var yr=function(e){var t=e.sideCar,r=Se(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return hr.createElement(n,O({},r))};yr.isSideCarExport=!0;function ct(e,t){return e.useMedium(t),yr}var Re=ut();function gr(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}import{useState as Kn}from"react";function br(e,t){var r=Kn(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}function lt(e,t){return br(t,function(r){return e.forEach(function(n){return gr(n,r)})})}var ft=function(){},oe=E.forwardRef(function(e,t){var r=E.useRef(null),n=E.useState({onScrollCapture:ft,onWheelCapture:ft,onTouchMoveCapture:ft}),o=n[0],a=n[1],i=e.forwardProps,u=e.children,f=e.className,l=e.removeScrollBar,c=e.enabled,d=e.shards,v=e.sideCar,p=e.noIsolation,h=e.inert,s=e.allowPinchZoom,m=e.as,b=m===void 0?"div":m,w=Se(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),_=v,S=lt([r,t]),x=O({},w,o);return E.createElement(E.Fragment,null,c&&E.createElement(_,{sideCar:Re,removeScrollBar:l,shards:d,noIsolation:p,inert:h,setCallbacks:a,allowPinchZoom:!!s,lockRef:r}),i?E.cloneElement(E.Children.only(u),O({},x,{ref:S})):E.createElement(b,O({},x,{className:f,ref:S}),u))});oe.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};oe.classNames={fullWidth:k,zeroRight:I};import*as g from"react";import*as $ from"react";import*as _r from"react";var xr;var wr=function(){if(xr)return xr;if(typeof __webpack_nonce__!="undefined")return __webpack_nonce__};function zn(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=wr();return t&&e.setAttribute("nonce",t),e}function Qn(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Jn(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var st=function(){var e=0,t=null;return{add:function(r){e==0&&(t=zn())&&(Qn(t,r),Jn(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}};var dt=function(){var e=st();return function(t){_r.useEffect(function(){return e.add(t),function(){e.remove()}},[])}};var ae=function(){var e=dt(),t=function(r){var n=r.styles;return e(n),null};return t};var eo={left:0,top:0,right:0,gap:0},mt=function(e){return parseInt(e||"",10)||0},to=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[mt(r),mt(n),mt(o)]},Oe=function(e){if(e===void 0&&(e="margin"),typeof window=="undefined")return eo;var t=to(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}};var ro=ae(),no=function(e,t,r,n){var o=e.left,a=e.top,i=e.right,u=e.gap;return r===void 0&&(r="margin"),`
.`+it+` {
var Un=Object.create;var je=Object.defineProperty;var Hn=Object.getOwnPropertyDescriptor;var $n=Object.getOwnPropertyNames;var qn=Object.getPrototypeOf,Yn=Object.prototype.hasOwnProperty;var Zn=e=>je(e,"__esModule",{value:!0});var z=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var Xn=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of $n(r))!Yn.call(e,o)&&(t||o!=="default")&&je(e,o,{get:()=>r[o],enumerable:!(n=Hn(r,o))||n.enumerable});return e},Be=(e,r)=>Xn(Zn(je(e!=null?Un(qn(e)):{},"default",!r&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var kt=z((Wa,At)=>{"use strict";var io="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";At.exports=io});var Mt=z((Va,Bt)=>{"use strict";var uo=kt();function Lt(){}function jt(){}jt.resetWarningCache=Lt;Bt.exports=function(){function e(n,o,i,u,a,c){if(c!==uo){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}e.isRequired=e;function r(){return e}var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:jt,resetWarningCache:Lt};return t.PropTypes=t,t}});var Vt=z((Ha,Wt)=>{Wt.exports=Mt()();var Ga,Ua});var mr=z((ei,ye)=>{var Yt,Zt,Xt,Kt,zt,Qt,Jt,er,tr,he,Ve,rr,nr,B,or,ar,ir,ur,cr,lr,fr,sr,dr;(function(e){var r=typeof global=="object"?global:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(t(r,t(n)))}):typeof ye=="object"&&typeof ye.exports=="object"?e(t(r,t(ye.exports))):e(t(r));function t(n,o){return n!==r&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,u){return n[i]=o?o(i,u):u}}})(function(e){var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])};Yt=function(t,n){r(t,n);function o(){this.constructor=t}t.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},Zt=Object.assign||function(t){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},Xt=function(t,n){var o={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&n.indexOf(i)<0&&(o[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,i=Object.getOwnPropertySymbols(t);u<i.length;u++)n.indexOf(i[u])<0&&Object.prototype.propertyIsEnumerable.call(t,i[u])&&(o[i[u]]=t[i[u]]);return o},Kt=function(t,n,o,i){var u=arguments.length,a=u<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,n,o,i);else for(var f=t.length-1;f>=0;f--)(c=t[f])&&(a=(u<3?c(a):u>3?c(n,o,a):c(n,o))||a);return u>3&&a&&Object.defineProperty(n,o,a),a},zt=function(t,n){return function(o,i){n(o,i,t)}},Qt=function(t,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,n)},Jt=function(t,n,o,i){function u(a){return a instanceof o?a:new o(function(c){c(a)})}return new(o||(o=Promise))(function(a,c){function f(p){try{l(i.next(p))}catch(v){c(v)}}function s(p){try{l(i.throw(p))}catch(v){c(v)}}function l(p){p.done?a(p.value):u(p.value).then(f,s)}l((i=i.apply(t,n||[])).next())})},er=function(t,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,u,a,c;return c={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function f(l){return function(p){return s([l,p])}}function s(l){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,u&&(a=l[0]&2?u.return:l[0]?u.throw||((a=u.return)&&a.call(u),0):u.next)&&!(a=a.call(u,l[1])).done)return a;switch(u=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,u=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){o=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(l[0]===6&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(t,o)}catch(p){l=[6,p],u=0}finally{i=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},dr=function(t,n,o,i){i===void 0&&(i=o),t[i]=n[o]},tr=function(t,n){for(var o in t)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=t[o])},he=function(t){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&t[n],i=0;if(o)return o.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},Ve=function(t,n){var o=typeof Symbol=="function"&&t[Symbol.iterator];if(!o)return t;var i=o.call(t),u,a=[],c;try{for(;(n===void 0||n-- >0)&&!(u=i.next()).done;)a.push(u.value)}catch(f){c={error:f}}finally{try{u&&!u.done&&(o=i.return)&&o.call(i)}finally{if(c)throw c.error}}return a},rr=function(){for(var t=[],n=0;n<arguments.length;n++)t=t.concat(Ve(arguments[n]));return t},nr=function(){for(var t=0,n=0,o=arguments.length;n<o;n++)t+=arguments[n].length;for(var i=Array(t),u=0,n=0;n<o;n++)for(var a=arguments[n],c=0,f=a.length;c<f;c++,u++)i[u]=a[c];return i},B=function(t){return this instanceof B?(this.v=t,this):new B(t)},or=function(t,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(t,n||[]),u,a=[];return u={},c("next"),c("throw"),c("return"),u[Symbol.asyncIterator]=function(){return this},u;function c(m){i[m]&&(u[m]=function(d){return new Promise(function(h,g){a.push([m,d,h,g])>1||f(m,d)})})}function f(m,d){try{s(i[m](d))}catch(h){v(a[0][3],h)}}function s(m){m.value instanceof B?Promise.resolve(m.value.v).then(l,p):v(a[0][2],m)}function l(m){f("next",m)}function p(m){f("throw",m)}function v(m,d){m(d),a.shift(),a.length&&f(a[0][0],a[0][1])}},ar=function(t){var n,o;return n={},i("next"),i("throw",function(u){throw u}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(u,a){n[u]=t[u]?function(c){return(o=!o)?{value:B(t[u](c)),done:u==="return"}:a?a(c):c}:a}},ir=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],o;return n?n.call(t):(t=typeof he=="function"?he(t):t[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=t[a]&&function(c){return new Promise(function(f,s){c=t[a](c),u(f,s,c.done,c.value)})}}function u(a,c,f,s){Promise.resolve(s).then(function(l){a({value:l,done:f})},c)}},ur=function(t,n){return Object.defineProperty?Object.defineProperty(t,"raw",{value:n}):t.raw=n,t},cr=function(t){if(t&&t.__esModule)return t;var n={};if(t!=null)for(var o in t)Object.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n.default=t,n},lr=function(t){return t&&t.__esModule?t:{default:t}},fr=function(t,n){if(!n.has(t))throw new TypeError("attempted to get private field on non-instance");return n.get(t)},sr=function(t,n,o){if(!n.has(t))throw new TypeError("attempted to set private field on non-instance");return n.set(t,o),o},e("__extends",Yt),e("__assign",Zt),e("__rest",Xt),e("__decorate",Kt),e("__param",zt),e("__metadata",Qt),e("__awaiter",Jt),e("__generator",er),e("__exportStar",tr),e("__createBinding",dr),e("__values",he),e("__read",Ve),e("__spread",rr),e("__spreadArrays",nr),e("__await",B),e("__asyncGenerator",or),e("__asyncDelegator",ar),e("__asyncValues",ir),e("__makeTemplateObject",ur),e("__importStar",cr),e("__importDefault",lr),e("__classPrivateFieldGet",fr),e("__classPrivateFieldSet",sr)})});var mn=z((cc,Ne)=>{var qr,Yr,Zr,Xr,Kr,zr,Qr,Jr,en,Ce,st,tn,rn,$,nn,on,an,un,cn,ln,fn,sn,dn;(function(e){var r=typeof global=="object"?global:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(t(r,t(n)))}):typeof Ne=="object"&&typeof Ne.exports=="object"?e(t(r,t(Ne.exports))):e(t(r));function t(n,o){return n!==r&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,u){return n[i]=o?o(i,u):u}}})(function(e){var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])};qr=function(t,n){r(t,n);function o(){this.constructor=t}t.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},Yr=Object.assign||function(t){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},Zr=function(t,n){var o={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&n.indexOf(i)<0&&(o[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,i=Object.getOwnPropertySymbols(t);u<i.length;u++)n.indexOf(i[u])<0&&Object.prototype.propertyIsEnumerable.call(t,i[u])&&(o[i[u]]=t[i[u]]);return o},Xr=function(t,n,o,i){var u=arguments.length,a=u<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,n,o,i);else for(var f=t.length-1;f>=0;f--)(c=t[f])&&(a=(u<3?c(a):u>3?c(n,o,a):c(n,o))||a);return u>3&&a&&Object.defineProperty(n,o,a),a},Kr=function(t,n){return function(o,i){n(o,i,t)}},zr=function(t,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,n)},Qr=function(t,n,o,i){function u(a){return a instanceof o?a:new o(function(c){c(a)})}return new(o||(o=Promise))(function(a,c){function f(p){try{l(i.next(p))}catch(v){c(v)}}function s(p){try{l(i.throw(p))}catch(v){c(v)}}function l(p){p.done?a(p.value):u(p.value).then(f,s)}l((i=i.apply(t,n||[])).next())})},Jr=function(t,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,u,a,c;return c={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function f(l){return function(p){return s([l,p])}}function s(l){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,u&&(a=l[0]&2?u.return:l[0]?u.throw||((a=u.return)&&a.call(u),0):u.next)&&!(a=a.call(u,l[1])).done)return a;switch(u=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,u=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){o=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(l[0]===6&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(t,o)}catch(p){l=[6,p],u=0}finally{i=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},dn=function(t,n,o,i){i===void 0&&(i=o),t[i]=n[o]},en=function(t,n){for(var o in t)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=t[o])},Ce=function(t){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&t[n],i=0;if(o)return o.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},st=function(t,n){var o=typeof Symbol=="function"&&t[Symbol.iterator];if(!o)return t;var i=o.call(t),u,a=[],c;try{for(;(n===void 0||n-- >0)&&!(u=i.next()).done;)a.push(u.value)}catch(f){c={error:f}}finally{try{u&&!u.done&&(o=i.return)&&o.call(i)}finally{if(c)throw c.error}}return a},tn=function(){for(var t=[],n=0;n<arguments.length;n++)t=t.concat(st(arguments[n]));return t},rn=function(){for(var t=0,n=0,o=arguments.length;n<o;n++)t+=arguments[n].length;for(var i=Array(t),u=0,n=0;n<o;n++)for(var a=arguments[n],c=0,f=a.length;c<f;c++,u++)i[u]=a[c];return i},$=function(t){return this instanceof $?(this.v=t,this):new $(t)},nn=function(t,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(t,n||[]),u,a=[];return u={},c("next"),c("throw"),c("return"),u[Symbol.asyncIterator]=function(){return this},u;function c(m){i[m]&&(u[m]=function(d){return new Promise(function(h,g){a.push([m,d,h,g])>1||f(m,d)})})}function f(m,d){try{s(i[m](d))}catch(h){v(a[0][3],h)}}function s(m){m.value instanceof $?Promise.resolve(m.value.v).then(l,p):v(a[0][2],m)}function l(m){f("next",m)}function p(m){f("throw",m)}function v(m,d){m(d),a.shift(),a.length&&f(a[0][0],a[0][1])}},on=function(t){var n,o;return n={},i("next"),i("throw",function(u){throw u}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(u,a){n[u]=t[u]?function(c){return(o=!o)?{value:$(t[u](c)),done:u==="return"}:a?a(c):c}:a}},an=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],o;return n?n.call(t):(t=typeof Ce=="function"?Ce(t):t[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=t[a]&&function(c){return new Promise(function(f,s){c=t[a](c),u(f,s,c.done,c.value)})}}function u(a,c,f,s){Promise.resolve(s).then(function(l){a({value:l,done:f})},c)}},un=function(t,n){return Object.defineProperty?Object.defineProperty(t,"raw",{value:n}):t.raw=n,t},cn=function(t){if(t&&t.__esModule)return t;var n={};if(t!=null)for(var o in t)Object.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n.default=t,n},ln=function(t){return t&&t.__esModule?t:{default:t}},fn=function(t,n){if(!n.has(t))throw new TypeError("attempted to get private field on non-instance");return n.get(t)},sn=function(t,n,o){if(!n.has(t))throw new TypeError("attempted to set private field on non-instance");return n.set(t,o),o},e("__extends",qr),e("__assign",Yr),e("__rest",Zr),e("__decorate",Xr),e("__param",Kr),e("__metadata",zr),e("__awaiter",Qr),e("__generator",Jr),e("__exportStar",en),e("__createBinding",dn),e("__values",Ce),e("__read",st),e("__spread",tn),e("__spreadArrays",rn),e("__await",$),e("__asyncGenerator",nn),e("__asyncDelegator",on),e("__asyncValues",an),e("__makeTemplateObject",un),e("__importStar",cn),e("__importDefault",ln),e("__classPrivateFieldGet",fn),e("__classPrivateFieldSet",sn)})});import{forwardRef as wt,useEffect as Cn,createElement as X,useRef as Nn,useCallback as aa}from"react";import{useRef as Pt,createElement as eo}from"react";import{useLayoutEffect as Kn,useEffect as zn}from"react";function pe(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var xt=pe()?Kn:zn;import{useState as Qn,useCallback as Jn}from"react";function Rt(){var e=Qn(Object.create(null)),r=e[1];return Jn(function(){r(Object.create(null))},[])}import{createPortal as to}from"react-dom";var Ct=function(r){var t=r.children,n=r.type,o=n===void 0?"reach-portal":n,i=r.containerRef,u=Pt(null),a=Pt(null),c=Rt();return xt(function(){if(!!u.current){var f=u.current.ownerDocument,s=(i==null?void 0:i.current)||f.body;return a.current=f==null?void 0:f.createElement(o),s.appendChild(a.current),c(),function(){a.current&&s&&s.removeChild(a.current)}}},[o,c,i]),a.current?to(t,a.current):eo("span",{ref:u})};function Nt(e){return pe()?e?e.ownerDocument:document:null}function Dt(e){return!!(e&&{}.toString.call(e)=="[object Function]")}function Me(){}import"react";function Ft(e){if(!1)var r}import{useCallback as ro}from"react";function Tt(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function no(e,r){if(!!e){if(typeof e=="string")return Tt(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Tt(e,r)}}function oo(e,r){var t;if(typeof Symbol=="undefined"||e[Symbol.iterator]==null){if(Array.isArray(e)||(t=no(e))||r&&e&&typeof e.length=="number"){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return t=e[Symbol.iterator](),t.next.bind(t)}function ao(e,r){if(e!=null)if(Dt(e))e(r);else try{e.current=r}catch(t){throw new Error('Cannot assign value "'+r+'" to ref "'+e+'"')}}function It(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return ro(function(n){for(var o=oo(r),i;!(i=o()).done;){var u=i.value;ao(u,n)}},r)}function Q(e,r){return function(t){if(e&&e(t),!t.defaultPrevented)return r(t)}}function We(e,r){if(e==null)return{};var t={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(r.indexOf(o)>=0)&&(t[o]=e[o]);return t}function N(){return N=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},N.apply(this,arguments)}import*as Pe from"react";import*as y from"react";var J="data-focus-lock",ve="data-focus-lock-disabled",Gt="data-no-focus-lock",Ut="data-autofocus-inside";function Ht(e,r){return typeof e=="function"?e(r):e&&(e.current=r),e}import{useState as lo}from"react";function $t(e,r){var t=lo(function(){return{value:e,callback:r,facade:{get current(){return t.value},set current(n){var o=t.value;o!==n&&(t.value=n,t.callback(n,o))}}}})[0];return t.callback=r,t.facade}function ee(e,r){return $t(r,function(t){return e.forEach(function(n){return Ht(n,t)})})}import{useEffect as fo}from"react";import*as L from"react";var j={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},qt=function(r){var t=r.children;return L.createElement(L.Fragment,null,L.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:j}),t,t&&L.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:j}))};qt.propTypes={};qt.defaultProps={children:null};var pr=Be(mr(),1),{__extends:ti,__assign:be,__rest:vr,__decorate:ri,__param:ni,__metadata:oi,__awaiter:ai,__generator:ii,__exportStar:ui,__createBinding:ci,__values:li,__read:fi,__spread:si,__spreadArrays:di,__await:mi,__asyncGenerator:pi,__asyncDelegator:vi,__asyncValues:hi,__makeTemplateObject:yi,__importStar:bi,__importDefault:gi,__classPrivateFieldGet:_i,__classPrivateFieldSet:wi}=pr.default;function yr(e){return e}function br(e,r){r===void 0&&(r=yr);var t=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return t.length?t[t.length-1]:e},useMedium:function(i){var u=r(i,n);return t.push(u),function(){t=t.filter(function(a){return a!==u})}},assignSyncMedium:function(i){for(n=!0;t.length;){var u=t;t=[],u.forEach(i)}t={push:function(a){return i(a)},filter:function(){return t}}},assignMedium:function(i){n=!0;var u=[];if(t.length){var a=t;t=[],a.forEach(i),u=t}var c=function(){var s=u;u=[],s.forEach(i)},f=function(){return Promise.resolve().then(c)};f(),t={push:function(s){u.push(s),f()},filter:function(s){return u=u.filter(s),t}}}};return o}function te(e,r){return r===void 0&&(r=yr),br(e,r)}function re(e){e===void 0&&(e={});var r=br(null);return r.options=be({async:!0,ssr:!1},e),r}import*as gr from"react";var _r=function(e){var r=e.sideCar,t=vr(e,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=r.read();if(!n)throw new Error("Sidecar medium not found");return gr.createElement(n,be({},t))};_r.isSideCarExport=!0;function Ge(e,r){return e.useMedium(r),_r}var ge=te({},function(e){var r=e.target,t=e.currentTarget;return{target:r,currentTarget:t}}),_e=te(),wr=te(),Sr=re({async:!0});var so=[],Ue=y.forwardRef(function(r,t){var n,o=y.useState(),i=o[0],u=o[1],a=y.useRef(),c=y.useRef(!1),f=y.useRef(null),s=r.children,l=r.disabled,p=r.noFocusGuards,v=r.persistentFocus,m=r.crossFrame,d=r.autoFocus,h=r.allowTextSelection,g=r.group,w=r.className,S=r.whiteList,E=r.hasPositiveIndices,_=r.shards,k=_===void 0?so:_,P=r.as,C=P===void 0?"div":P,D=r.lockProps,R=D===void 0?{}:D,Dn=r.sideCar,me=r.returnFocus,Fn=r.focusOptions,Ae=r.onActivation,ke=r.onDeactivation,Tn=y.useState({}),In=Tn[0],An=y.useCallback(function(){f.current=f.current||document&&document.activeElement,a.current&&Ae&&Ae(a.current),c.current=!0},[Ae]),kn=y.useCallback(function(){c.current=!1,ke&&ke(a.current)},[ke]);fo(function(){l||(f.current=null)},[]);var Ln=y.useCallback(function(F){var K=f.current;if(K&&K.focus){var Le=typeof me=="function"?me(K):me;if(Le){var Ot=typeof Le=="object"?Le:void 0;f.current=null,F?Promise.resolve().then(function(){return K.focus(Ot)}):K.focus(Ot)}}},[me]),jn=y.useCallback(function(F){c.current&&ge.useMedium(F)},[]),Bn=_e.useMedium,Mn=y.useCallback(function(F){a.current!==F&&(a.current=F,u(F))},[]),Wn=N((n={},n[ve]=l&&"disabled",n[J]=g,n),R),Et=p!==!0,Vn=Et&&p!=="tail",Gn=ee([t,Mn]);return y.createElement(y.Fragment,null,Et&&[y.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:l?-1:0,style:j}),E?y.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:l?-1:1,style:j}):null],!l&&y.createElement(Dn,{id:In,sideCar:Sr,observed:i,disabled:l,persistentFocus:v,crossFrame:m,autoFocus:d,whiteList:S,shards:k,onActivation:An,onDeactivation:kn,returnFocus:Ln,focusOptions:Fn}),y.createElement(C,N({ref:Gn},Wn,{className:w,onBlur:Bn,onFocus:jn}),s),Vn&&y.createElement("div",{"data-focus-guard":!0,tabIndex:l?-1:0,style:j}))});Ue.propTypes={};Ue.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var He=Ue;import*as Lr from"react";function ne(e,r){return ne=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ne(e,r)}function $e(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,ne(e,r)}function qe(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}import mo,{PureComponent as po}from"react";function vo(e,r){function t(n){return n.displayName||n.name||"Component"}return function(o){var i=[],u;function a(){u=e(i.map(function(f){return f.props})),r(u)}var c=function(f){$e(s,f);function s(){return f.apply(this,arguments)||this}s.peek=function(){return u};var l=s.prototype;return l.componentDidMount=function(){i.push(this),a()},l.componentDidUpdate=function(){a()},l.componentWillUnmount=function(){var v=i.indexOf(this);i.splice(v,1),a()},l.render=function(){return mo.createElement(o,this.props)},s}(po);return qe(c,"displayName","SideEffect("+t(o)+")"),c}}var Er=vo;var x=function(e){for(var r=Array(e.length),t=0;t<e.length;++t)r[t]=e[t];return r},oe=function(e){return Array.isArray(e)?e:[e]};var ho=function(e){for(var r=new Set,t=e.length,n=0;n<t;n+=1)for(var o=n+1;o<t;o+=1){var i=e[n].compareDocumentPosition(e[o]);(i&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&r.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&r.add(n)}return e.filter(function(u,a){return!r.has(a)})},Or=function(e){return e.parentNode?Or(e.parentNode):e},M=function(e){var r=oe(e);return r.filter(Boolean).reduce(function(t,n){var o=n.getAttribute(J);return t.push.apply(t,o?ho(x(Or(n).querySelectorAll("[".concat(J,'="').concat(o,'"]:not([').concat(ve,'="disabled"])')))):[n]),t},[])};var W=function(){return document.activeElement?document.activeElement.shadowRoot?document.activeElement.shadowRoot.activeElement:document.activeElement:void 0};var yo=function(e){return e===document.activeElement},bo=function(e){return Boolean(x(e.querySelectorAll("iframe")).some(function(r){return yo(r)}))},we=function(e){var r=document&&W();return!r||r.dataset&&r.dataset.focusGuard?!1:M(e).reduce(function(t,n){return t||n.contains(r)||bo(n)},!1)};var Ye=function(){var e=document&&W();return e?x(document.querySelectorAll("[".concat(Gt,"]"))).some(function(r){return r.contains(e)}):!1};var go=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var r=window.getComputedStyle(e,null);return!r||!r.getPropertyValue?!1:r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"},_o=function(e,r){return!e||e===document||e&&e.nodeType===Node.DOCUMENT_NODE||!go(e)&&r(e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode)},Ze=function(e,r){var t=e.get(r);if(t!==void 0)return t;var n=_o(r,Ze.bind(void 0,e));return e.set(r,n),n},Xe=function(e){return e.dataset},wo=function(e){return e.tagName==="BUTTON"},xr=function(e){return e.tagName==="INPUT"},Ke=function(e){return xr(e)&&e.type==="radio"},Rr=function(e){return!((xr(e)||wo(e))&&(e.type==="hidden"||e.disabled))&&!e.ariaDisabled},ae=function(e){var r;return Boolean(e&&((r=Xe(e))===null||r===void 0?void 0:r.focusGuard))},V=function(e){return!ae(e)},Pr=function(e){return Boolean(e)};var So=function(e,r){return r.filter(Ke).filter(function(t){return t.name===e.name}).filter(function(t){return t.checked})[0]||e},Se=function(e,r){return Ke(e)&&e.name?So(e,r):e},Cr=function(e){var r=new Set;return e.forEach(function(t){return r.add(Se(t,e))}),e.filter(function(t){return r.has(t)})};var ze=function(e){return e[0]&&e.length>1?Se(e[0],e):e[0]},Qe=function(e,r){return e.length>1?e.indexOf(Se(e[r],e)):r};var Je="NEW_FOCUS",Nr=function(e,r,t,n){var o=e.length,i=e[0],u=e[o-1],a=ae(t);if(!(t&&e.indexOf(t)>=0)){var c=t!==void 0?r.indexOf(t):-1,f=n?r.indexOf(n):c,s=n?e.indexOf(n):-1,l=c-f,p=r.indexOf(i),v=r.indexOf(u),m=Cr(r),d=t!==void 0?m.indexOf(t):-1,h=d-(n?m.indexOf(n):c),g=Qe(e,0),w=Qe(e,o-1);if(c===-1||s===-1)return Je;if(!l&&s>=0)return s;if(c<=p&&a&&Math.abs(l)>1)return w;if(c>=v&&a&&Math.abs(l)>1)return g;if(l&&Math.abs(h)>1)return s;if(c<=p)return w;if(c>v)return g;if(l)return Math.abs(l)>1?s:(o+s+l)%o}};var Eo=function(e,r){var t=e.tabIndex-r.tabIndex,n=e.index-r.index;if(t){if(!e.tabIndex)return 1;if(!r.tabIndex)return-1}return t||n},et=function(e,r,t){return x(e).map(function(n,o){return{node:n,index:o,tabIndex:t&&n.tabIndex===-1?(n.dataset||{}).focusGuard?0:-1:n.tabIndex}}).filter(function(n){return!r||n.tabIndex>=0}).sort(Eo)};var Dr=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"];var tt=Dr.join(","),Oo="".concat(tt,", [data-focus-guard]"),Ee=function(e,r){return e.reduce(function(t,n){return t.concat(x(n.querySelectorAll(r?Oo:tt)),n.parentNode?x(n.parentNode.querySelectorAll(tt)).filter(function(o){return o===n}):[])},[])},Fr=function(e){var r=e.querySelectorAll("[".concat(Ut,"]"));return x(r).map(function(t){return Ee([t])}).reduce(function(t,n){return t.concat(n)},[])};var rt=function(e,r){return x(e).filter(function(t){return Ze(r,t)}).filter(function(t){return Rr(t)})},ie=function(e,r,t){return et(rt(Ee(e,t),r),!0,t)},nt=function(e,r){return et(rt(Ee(e),r),!1)},Tr=function(e,r){return rt(Fr(e),r)};var ot=function(e,r){return r===void 0&&(r=[]),r.push(e),e.parentNode&&ot(e.parentNode,r),r},at=function(e,r){for(var t=ot(e),n=ot(r),o=0;o<t.length;o+=1){var i=t[o];if(n.indexOf(i)>=0)return i}return!1},Oe=function(e,r,t){var n=oe(e),o=oe(r),i=n[0],u=!1;return o.filter(Boolean).forEach(function(a){u=at(u||a,a)||u,t.filter(Boolean).forEach(function(c){var f=at(i,c);f&&(!u||f.contains(u)?u=f:u=at(f,u))})}),u},Ir=function(e,r){return e.reduce(function(t,n){return t.concat(Tr(n,r))},[])};var xo=function(e){return function(r){var t;return r.autofocus||!!((t=Xe(r))===null||t===void 0?void 0:t.autofocus)||e.indexOf(r)>=0}},Ro=function(e,r){var t=new Map;return r.forEach(function(n){return t.set(n.node,n)}),e.map(function(n){return t.get(n)}).filter(Pr)},Ar=function(e,r){var t=document&&W(),n=M(e).filter(V),o=Oe(t||e,e,n),i=new Map,u=nt(n,i),a=ie(n,i).filter(function(v){var m=v.node;return V(m)});if(!(!a[0]&&(a=u,!a[0]))){var c=nt([o],i).map(function(v){var m=v.node;return m}),f=Ro(c,a),s=f.map(function(v){var m=v.node;return m}),l=Nr(s,c,t,r);if(l===Je){var p=u.map(function(v){var m=v.node;return m}).filter(xo(Ir(n,i)));return{node:p&&p.length?ze(p):ze(s)}}return l===void 0?l:f[l]}};var it=function(e){var r=M(e).filter(V),t=Oe(e,e,r),n=new Map,o=ie([t],n,!0),i=ie(r,n).filter(function(u){var a=u.node;return V(a)}).map(function(u){var a=u.node;return a});return o.map(function(u){var a=u.node,c=u.index;return{node:a,index:c,lockItem:i.indexOf(a)>=0,guard:ae(a)}})};var Po=function(e,r){"focus"in e&&e.focus(r),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},ut=0,ct=!1,kr=function(e,r,t){t===void 0&&(t={});var n=Ar(e,r);if(!ct&&n){if(ut>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),ct=!0,setTimeout(function(){ct=!1},1);return}ut++,Po(n.node,t.focusOptions),ut--}};var lt=kr;function ft(e){var r=window,t=r.setImmediate;typeof t!="undefined"?t(e):setTimeout(e,1)}var Co=function(){return document&&document.activeElement===document.body},No=function(){return Co()||Ye()},G=null,U=null,H=null,ue=!1,Do=function(){return!0},Fo=function(r){return(G.whiteList||Do)(r)},To=function(r,t){H={observerNode:r,portaledElement:t}},Io=function(r){return H&&H.portaledElement===r};function jr(e,r,t,n){var o=null,i=e;do{var u=n[i];if(u.guard)u.node.dataset.focusAutoGuard&&(o=u);else if(u.lockItem){if(i!==e)return;o=null}else break}while((i+=t)!==r);o&&(o.node.tabIndex=0)}var Ao=function(r){return r&&"current"in r?r.current:r},ko=function(r){return r?Boolean(ue):ue==="meanwhile"},Lo=function e(r,t,n){return t&&(t.host===r&&(!t.activeElement||n.contains(t.activeElement))||t.parentNode&&e(r,t.parentNode,n))},jo=function(r,t){return t.some(function(n){return Lo(r,n,n)})},xe=function(){var r=!1;if(G){var t=G,n=t.observed,o=t.persistentFocus,i=t.autoFocus,u=t.shards,a=t.crossFrame,c=t.focusOptions,f=n||H&&H.portaledElement,s=document&&document.activeElement;if(f){var l=[f].concat(u.map(Ao).filter(Boolean));if((!s||Fo(s))&&(o||ko(a)||!No()||!U&&i)&&(f&&!(we(l)||s&&jo(s,l)||Io(s,f))&&(document&&!U&&s&&!i?(s.blur&&s.blur(),document.body.focus()):(r=lt(l,U,{focusOptions:c}),H={})),ue=!1,U=document&&document.activeElement),document){var p=document&&document.activeElement,v=it(l),m=v.map(function(d){var h=d.node;return h}).indexOf(p);m>-1&&(v.filter(function(d){var h=d.guard,g=d.node;return h&&g.dataset.focusAutoGuard}).forEach(function(d){var h=d.node;return h.removeAttribute("tabIndex")}),jr(m,v.length,1,v),jr(m,-1,-1,v))}}}return r},Br=function(r){xe()&&r&&(r.stopPropagation(),r.preventDefault())},Re=function(){return ft(xe)},Mr=function(r){var t=r.target,n=r.currentTarget;n.contains(t)||To(n,t)},Bo=function(){return null},Mo=function(r){var t=r.children;return Lr.createElement("div",{onBlur:Re,onFocus:Mr},t)};Mo.propTypes={};var Wr=function(){ue="just",setTimeout(function(){ue="meanwhile"},0)},Wo=function(){document.addEventListener("focusin",Br),document.addEventListener("focusout",Re),window.addEventListener("blur",Wr)},Vo=function(){document.removeEventListener("focusin",Br),document.removeEventListener("focusout",Re),window.removeEventListener("blur",Wr)};function Go(e){return e.filter(function(r){var t=r.disabled;return!t})}function Uo(e){var r=e.slice(-1)[0];r&&!G&&Wo();var t=G,n=t&&r&&r.id===t.id;G=r,t&&!n&&(t.onDeactivation(),e.filter(function(o){var i=o.id;return i===t.id}).length||t.returnFocus(!r)),r?(U=null,(!n||t.observed!==r.observed)&&r.onActivation(),xe(!0),ft(xe)):(Vo(),U=null)}ge.assignSyncMedium(Mr);_e.assignMedium(Re);wr.assignMedium(function(e){return e({moveFocusInside:lt,focusInside:we})});var Vr=Er(Go,Uo)(Bo);var Gr=Pe.forwardRef(function(r,t){return Pe.createElement(He,N({sideCar:Vr,ref:t},r))}),Ur=He.propTypes||{},rc=Ur.sideCar,nc=We(Ur,["sideCar"]);Gr.propTypes={};var Hr=Gr;var $r=Hr;var pn=Be(mn(),1),{__extends:lc,__assign:q,__rest:vn,__decorate:fc,__param:sc,__metadata:dc,__awaiter:mc,__generator:pc,__exportStar:vc,__createBinding:hc,__values:yc,__read:bc,__spread:gc,__spreadArrays:_c,__await:wc,__asyncGenerator:Sc,__asyncDelegator:Ec,__asyncValues:Oc,__makeTemplateObject:xc,__importStar:Rc,__importDefault:Pc,__classPrivateFieldGet:Cc,__classPrivateFieldSet:Nc}=pn.default;import*as Ie from"react";import*as O from"react";var T="right-scroll-bar-position",I="width-before-scroll-bar",dt="with-scroll-bars-hidden";var De=re();var mt=function(){},ce=O.forwardRef(function(e,r){var t=O.useRef(null),n=O.useState({onScrollCapture:mt,onWheelCapture:mt,onTouchMoveCapture:mt}),o=n[0],i=n[1],u=e.forwardProps,a=e.children,c=e.className,f=e.removeScrollBar,s=e.enabled,l=e.shards,p=e.sideCar,v=e.noIsolation,m=e.inert,d=e.allowPinchZoom,h=e.as,g=h===void 0?"div":h,w=vn(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),S=p,E=ee([t,r]),_=q({},w,o);return O.createElement(O.Fragment,null,s&&O.createElement(S,{sideCar:De,removeScrollBar:f,shards:l,noIsolation:v,inert:m,setCallbacks:i,allowPinchZoom:!!d,lockRef:t}),u?O.cloneElement(O.Children.only(a),q({},_,{ref:E})):O.createElement(g,q({},_,{className:c,ref:E}),a))});ce.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ce.classNames={fullWidth:I,zeroRight:T};import*as b from"react";import*as Y from"react";import*as gn from"react";var yn;var bn=function(){if(yn)return yn;if(typeof __webpack_nonce__!="undefined")return __webpack_nonce__};function Ho(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var r=bn();return r&&e.setAttribute("nonce",r),e}function $o(e,r){e.styleSheet?e.styleSheet.cssText=r:e.appendChild(document.createTextNode(r))}function qo(e){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(e)}var pt=function(){var e=0,r=null;return{add:function(t){e==0&&(r=Ho())&&($o(r,t),qo(r)),e++},remove:function(){e--,!e&&r&&(r.parentNode&&r.parentNode.removeChild(r),r=null)}}};var vt=function(){var e=pt();return function(r){gn.useEffect(function(){return e.add(r),function(){e.remove()}},[])}};var le=function(){var e=vt(),r=function(t){var n=t.styles;return e(n),null};return r};var Yo={left:0,top:0,right:0,gap:0},ht=function(e){return parseInt(e||"",10)||0},Zo=function(e){var r=window.getComputedStyle(document.body),t=r[e==="padding"?"paddingLeft":"marginLeft"],n=r[e==="padding"?"paddingTop":"marginTop"],o=r[e==="padding"?"paddingRight":"marginRight"];return[ht(t),ht(n),ht(o)]},Fe=function(e){if(e===void 0&&(e="margin"),typeof window=="undefined")return Yo;var r=Zo(e),t=document.documentElement.clientWidth,n=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,n-t+r[2]-r[0])}};var Xo=le(),Ko=function(e,r,t,n){var o=e.left,i=e.top,u=e.right,a=e.gap;return t===void 0&&(t="margin"),`
.`+dt+` {
overflow: hidden `+n+`;
padding-right: `+u+"px "+n+`;
padding-right: `+a+"px "+n+`;
}
body {
overflow: hidden `+n+`;
`+[t&&"position: relative "+n+";",r==="margin"&&`
`+[r&&"position: relative "+n+";",t==="margin"&&`
padding-left: `+o+`px;
padding-top: `+a+`px;
padding-right: `+i+`px;
padding-top: `+i+`px;
padding-right: `+u+`px;
margin-left:0;
margin-top:0;
margin-right: `+u+"px "+n+`;
`,r==="padding"&&"padding-right: "+u+"px "+n+";"].filter(Boolean).join("")+`
margin-right: `+a+"px "+n+`;
`,t==="padding"&&"padding-right: "+a+"px "+n+";"].filter(Boolean).join("")+`
}
.`+I+` {
right: `+u+"px "+n+`;
.`+T+` {
right: `+a+"px "+n+`;
}
.`+k+` {
margin-right: `+u+"px "+n+`;
.`+I+` {
margin-right: `+a+"px "+n+`;
}
.`+I+" ."+I+` {
.`+T+" ."+T+` {
right: 0 `+n+`;
}
.`+k+" ."+k+` {
.`+I+" ."+I+` {
margin-right: 0 `+n+`;
}
`},pt=function(e){var t=$.useState(Oe(e.gapMode)),r=t[0],n=t[1];$.useEffect(function(){n(Oe(e.gapMode))},[e.gapMode]);var o=e.noRelative,a=e.noImportant,i=e.gapMode,u=i===void 0?"margin":i;return $.createElement(ro,{styles:no(r,!o,u,a?"":"!important")})};var oo=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},ao=function(e){var t=window.getComputedStyle(e);return e.type==="range"?!0:t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},vt=function(e,t){var r=t;do{typeof ShadowRoot!="undefined"&&r instanceof ShadowRoot&&(r=r.host);var n=Sr(e,r);if(n){var o=Er(e,r),a=o[1],i=o[2];if(a>i)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},io=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},uo=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Sr=function(e,t){return e==="v"?oo(t):ao(t)},Er=function(e,t){return e==="v"?io(t):uo(t)},co=function(e,t){return e==="h"&&t==="rtl"?-1:1},Rr=function(e,t,r,n,o){var a=co(e,window.getComputedStyle(t).direction),i=a*n,u=r.target,f=t.contains(u),l=!1,c=i>0,d=0,v=0;do{var p=Er(e,u),h=p[0],s=p[1],m=p[2],b=s-m-a*h;(h||b)&&Sr(e,u)&&(d+=b,v+=h),u=u.parentNode}while(!f&&u!==document.body||f&&(t.contains(u)||t===u));return(c&&(o&&d===0||!o&&i>d)||!c&&(o&&v===0||!o&&-i>v))&&(l=!0),l};var ht=!1;if(typeof window!="undefined")try{ie=Object.defineProperty({},"passive",{get:function(){return ht=!0,!0}}),window.addEventListener("test",ie,ie),window.removeEventListener("test",ie,ie)}catch(e){ht=!1}var ie,A=ht?{passive:!1}:!1;var Ce=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Or=function(e){return[e.deltaX,e.deltaY]},Cr=function(e){return e&&"current"in e?e.current:e},lo=function(e,t){return e[0]===t[0]&&e[1]===t[1]},fo=function(e){return`
`},yt=function(e){var r=Y.useState(Fe(e.gapMode)),t=r[0],n=r[1];Y.useEffect(function(){n(Fe(e.gapMode))},[e.gapMode]);var o=e.noRelative,i=e.noImportant,u=e.gapMode,a=u===void 0?"margin":u;return Y.createElement(Xo,{styles:Ko(t,!o,a,i?"":"!important")})};var zo=function(e){var r=window.getComputedStyle(e);return r.overflowY!=="hidden"&&!(r.overflowY===r.overflowX&&r.overflowY==="visible")},Qo=function(e){var r=window.getComputedStyle(e);return e.type==="range"?!0:r.overflowX!=="hidden"&&!(r.overflowY===r.overflowX&&r.overflowX==="visible")},bt=function(e,r){var t=r;do{typeof ShadowRoot!="undefined"&&t instanceof ShadowRoot&&(t=t.host);var n=_n(e,t);if(n){var o=wn(e,t),i=o[1],u=o[2];if(i>u)return!0}t=t.parentNode}while(t&&t!==document.body);return!1},Jo=function(e){var r=e.scrollTop,t=e.scrollHeight,n=e.clientHeight;return[r,t,n]},ea=function(e){var r=e.scrollLeft,t=e.scrollWidth,n=e.clientWidth;return[r,t,n]},_n=function(e,r){return e==="v"?zo(r):Qo(r)},wn=function(e,r){return e==="v"?Jo(r):ea(r)},ta=function(e,r){return e==="h"&&r==="rtl"?-1:1},Sn=function(e,r,t,n,o){var i=ta(e,window.getComputedStyle(r).direction),u=i*n,a=t.target,c=r.contains(a),f=!1,s=u>0,l=0,p=0;do{var v=wn(e,a),m=v[0],d=v[1],h=v[2],g=d-h-i*m;(m||g)&&_n(e,a)&&(l+=g,p+=m),a=a.parentNode}while(!c&&a!==document.body||c&&(r.contains(a)||r===a));return(s&&(o&&l===0||!o&&u>l)||!s&&(o&&p===0||!o&&-u>p))&&(f=!0),f};var gt=!1;if(typeof window!="undefined")try{fe=Object.defineProperty({},"passive",{get:function(){return gt=!0,!0}}),window.addEventListener("test",fe,fe),window.removeEventListener("test",fe,fe)}catch(e){gt=!1}var fe,A=gt?{passive:!1}:!1;var Te=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},En=function(e){return[e.deltaX,e.deltaY]},On=function(e){return e&&"current"in e?e.current:e},ra=function(e,r){return e[0]===r[0]&&e[1]===r[1]},na=function(e){return`
.block-interactivity-`+e+` {pointer-events: none;}
.allow-interactivity-`+e+` {pointer-events: all;}
`},so=0,q=[];function Nr(e){var t=g.useRef([]),r=g.useRef([0,0]),n=g.useRef(),o=g.useState(so++)[0],a=g.useState(function(){return ae()})[0],i=g.useRef(e);g.useEffect(function(){i.current=e},[e]),g.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+o);var s=[e.lockRef.current].concat((e.shards||[]).map(Cr)).filter(Boolean);return s.forEach(function(m){return m.classList.add("allow-interactivity-"+o)}),function(){document.body.classList.remove("block-interactivity-"+o),s.forEach(function(m){return m.classList.remove("allow-interactivity-"+o)})}}},[e.inert,e.lockRef.current,e.shards]);var u=g.useCallback(function(s,m){if("touches"in s&&s.touches.length===2)return!i.current.allowPinchZoom;var b=Ce(s),w=r.current,_="deltaX"in s?s.deltaX:w[0]-b[0],S="deltaY"in s?s.deltaY:w[1]-b[1],x,L=s.target,N=Math.abs(_)>Math.abs(S)?"h":"v",P=vt(N,L);if(!P)return!0;if(P?x=N:(x=N==="v"?"h":"v",P=vt(N,L)),!P)return!1;if(!n.current&&"changedTouches"in s&&(_||S)&&(n.current=x),!x)return!0;var F=n.current||x;return Rr(F,m,s,F==="h"?_:S,!0)},[]),f=g.useCallback(function(s){var m=s;if(!(!q.length||q[q.length-1]!==a)){var b="deltaY"in m?Or(m):Ce(m),w=t.current.filter(function(x){return x.name===m.type&&x.target===m.target&&lo(x.delta,b)})[0];if(w&&w.should){m.preventDefault();return}if(!w){var _=(i.current.shards||[]).map(Cr).filter(Boolean).filter(function(x){return x.contains(m.target)}),S=_.length>0?u(m,_[0]):!i.current.noIsolation;S&&m.preventDefault()}}},[]),l=g.useCallback(function(s,m,b,w){var _={name:s,delta:m,target:b,should:w};t.current.push(_),setTimeout(function(){t.current=t.current.filter(function(S){return S!==_})},1)},[]),c=g.useCallback(function(s){r.current=Ce(s),n.current=void 0},[]),d=g.useCallback(function(s){l(s.type,Or(s),s.target,u(s,e.lockRef.current))},[]),v=g.useCallback(function(s){l(s.type,Ce(s),s.target,u(s,e.lockRef.current))},[]);g.useEffect(function(){return q.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:v}),document.addEventListener("wheel",f,A),document.addEventListener("touchmove",f,A),document.addEventListener("touchstart",c,A),function(){q=q.filter(function(s){return s!==a}),document.removeEventListener("wheel",f,A),document.removeEventListener("touchmove",f,A),document.removeEventListener("touchstart",c,A)}},[]);var p=e.removeScrollBar,h=e.inert;return g.createElement(g.Fragment,null,h?g.createElement(a,{styles:fo(o)}):null,p?g.createElement(pt,{gapMode:"margin"}):null)}var Pr=ct(Re,Nr);var Dr=Ne.forwardRef(function(e,t){return Ne.createElement(oe,O({},e,{ref:t,sideCar:Pr}))});Dr.classNames=oe.classNames;var yt=Dr;var ue=fe(K());function ce(){return ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ce.apply(this,arguments)}function bt(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}var po=["as","isOpen"],vo=["allowPinchZoom","as","dangerouslyBypassFocusLock","dangerouslyBypassScrollLock","initialFocusRef","onClick","onDismiss","onKeyDown","onMouseDown","unstable_lockFocusAcrossFrames"],ho=["as","onClick","onKeyDown"];var bc={allowPinchZoom:ue.default.bool,dangerouslyBypassFocusLock:ue.default.bool,dangerouslyBypassScrollLock:ue.default.bool,initialFocusRef:function(){return null},onDismiss:ue.default.func},yo=gt(function(t,r){var n=t.as,o=n===void 0?"div":n,a=t.isOpen,i=a===void 0?!0:a,u=bt(t,po);return Nt("dialog"),Fr(function(){i?window.__REACH_DISABLE_TOOLTIPS=!0:window.requestAnimationFrame(function(){window.__REACH_DISABLE_TOOLTIPS=!1})},[i]),i?Y(Rt,{"data-reach-dialog-wrapper":""},Y(go,ce({ref:r,as:o},u))):null}),go=gt(function(t,r){var n=t.allowPinchZoom,o=t.as,a=o===void 0?"div":o,i=t.dangerouslyBypassFocusLock,u=i===void 0?!1:i,f=t.dangerouslyBypassScrollLock,l=f===void 0?!1:f,c=t.initialFocusRef,d=t.onClick,v=t.onDismiss,p=v===void 0?ke:v,h=t.onKeyDown,s=t.onMouseDown,m=t.unstable_lockFocusAcrossFrames,b=bt(t,vo),w=m!==void 0,_=Tr(null),S=Tr(null),x=Dt(S,r),L=mo(function(){c&&c.current&&c.current.focus()},[c]);function N(C){_.current===C.target&&(C.stopPropagation(),p(C))}function P(C){C.key==="Escape"&&(C.stopPropagation(),p(C))}function F(C){_.current=C.target}return Fr(function(){return S.current?xo(S.current):void 0},[]),Y(vr,{autoFocus:!0,returnFocus:!0,onActivation:L,disabled:u,crossFrame:m!=null?m:!0},Y(yt,{allowPinchZoom:n,enabled:!l},Y(a,ce({},b,{ref:x,"data-reach-dialog-overlay":"",onClick:X(d,N),onKeyDown:X(h,P),onMouseDown:X(s,F)}))))}),bo=gt(function(t,r){var n=t.as,o=n===void 0?"div":n,a=t.onClick;t.onKeyDown;var i=bt(t,ho);return Y(o,ce({"aria-modal":"true",role:"dialog",tabIndex:-1},i,{ref:r,"data-reach-dialog-content":"",onClick:X(a,function(u){u.stopPropagation()})}))});function xo(e){var t=[],r=[],n=Ot(e);return e?(Array.prototype.forEach.call(n.querySelectorAll("body > *"),function(o){var a,i,u=(a=e.parentNode)==null||(i=a.parentNode)==null?void 0:i.parentNode;if(o!==u){var f=o.getAttribute("aria-hidden"),l=f!==null&&f!=="false";l||(t.push(f),r.push(o),o.setAttribute("aria-hidden","true"))}}),function(){r.forEach(function(o,a){var i=t[a];i===null?o.removeAttribute("aria-hidden"):o.setAttribute("aria-hidden",i)})}):ke}export{bo as ModalDialogPrimitiveContent,yo as ModalDialogPrimitiveOverlay};
`},oa=0,Z=[];function xn(e){var r=b.useRef([]),t=b.useRef([0,0]),n=b.useRef(),o=b.useState(oa++)[0],i=b.useState(function(){return le()})[0],u=b.useRef(e);b.useEffect(function(){u.current=e},[e]),b.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+o);var d=[e.lockRef.current].concat((e.shards||[]).map(On)).filter(Boolean);return d.forEach(function(h){return h.classList.add("allow-interactivity-"+o)}),function(){document.body.classList.remove("block-interactivity-"+o),d.forEach(function(h){return h.classList.remove("allow-interactivity-"+o)})}}},[e.inert,e.lockRef.current,e.shards]);var a=b.useCallback(function(d,h){if("touches"in d&&d.touches.length===2)return!u.current.allowPinchZoom;var g=Te(d),w=t.current,S="deltaX"in d?d.deltaX:w[0]-g[0],E="deltaY"in d?d.deltaY:w[1]-g[1],_,k=d.target,P=Math.abs(S)>Math.abs(E)?"h":"v",C=bt(P,k);if(!C)return!0;if(C?_=P:(_=P==="v"?"h":"v",C=bt(P,k)),!C)return!1;if(!n.current&&"changedTouches"in d&&(S||E)&&(n.current=_),!_)return!0;var D=n.current||_;return Sn(D,h,d,D==="h"?S:E,!0)},[]),c=b.useCallback(function(d){var h=d;if(!(!Z.length||Z[Z.length-1]!==i)){var g="deltaY"in h?En(h):Te(h),w=r.current.filter(function(_){return _.name===h.type&&_.target===h.target&&ra(_.delta,g)})[0];if(w&&w.should){h.preventDefault();return}if(!w){var S=(u.current.shards||[]).map(On).filter(Boolean).filter(function(_){return _.contains(h.target)}),E=S.length>0?a(h,S[0]):!u.current.noIsolation;E&&h.preventDefault()}}},[]),f=b.useCallback(function(d,h,g,w){var S={name:d,delta:h,target:g,should:w};r.current.push(S),setTimeout(function(){r.current=r.current.filter(function(E){return E!==S})},1)},[]),s=b.useCallback(function(d){t.current=Te(d),n.current=void 0},[]),l=b.useCallback(function(d){f(d.type,En(d),d.target,a(d,e.lockRef.current))},[]),p=b.useCallback(function(d){f(d.type,Te(d),d.target,a(d,e.lockRef.current))},[]);b.useEffect(function(){return Z.push(i),e.setCallbacks({onScrollCapture:l,onWheelCapture:l,onTouchMoveCapture:p}),document.addEventListener("wheel",c,A),document.addEventListener("touchmove",c,A),document.addEventListener("touchstart",s,A),function(){Z=Z.filter(function(d){return d!==i}),document.removeEventListener("wheel",c,A),document.removeEventListener("touchmove",c,A),document.removeEventListener("touchstart",s,A)}},[]);var v=e.removeScrollBar,m=e.inert;return b.createElement(b.Fragment,null,m?b.createElement(i,{styles:na(o)}):null,v?b.createElement(yt,{gapMode:"margin"}):null)}var Rn=Ge(De,xn);var Pn=Ie.forwardRef(function(e,r){return Ie.createElement(ce,q({},e,{ref:r,sideCar:Rn}))});Pn.classNames=ce.classNames;var _t=Pn;var se=Be(Vt());function de(){return de=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},de.apply(this,arguments)}function St(e,r){if(e==null)return{};var t={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(r.indexOf(o)>=0)&&(t[o]=e[o]);return t}var ia=["as","isOpen"],ua=["allowPinchZoom","as","dangerouslyBypassFocusLock","dangerouslyBypassScrollLock","initialFocusRef","onClick","onDismiss","onKeyDown","onMouseDown","unstable_lockFocusAcrossFrames"],ca=["as","onClick","onKeyDown"];var Dl={allowPinchZoom:se.default.bool,dangerouslyBypassFocusLock:se.default.bool,dangerouslyBypassScrollLock:se.default.bool,initialFocusRef:function(){return null},onDismiss:se.default.func},la=wt(function(r,t){var n=r.as,o=n===void 0?"div":n,i=r.isOpen,u=i===void 0?!0:i,a=St(r,ia);return Ft("dialog"),Cn(function(){u?window.__REACH_DISABLE_TOOLTIPS=!0:window.requestAnimationFrame(function(){window.__REACH_DISABLE_TOOLTIPS=!1})},[u]),u?X(Ct,{"data-reach-dialog-wrapper":""},X(fa,de({ref:t,as:o},a))):null}),fa=wt(function(r,t){var n=r.allowPinchZoom,o=r.as,i=o===void 0?"div":o,u=r.dangerouslyBypassFocusLock,a=u===void 0?!1:u,c=r.dangerouslyBypassScrollLock,f=c===void 0?!1:c,s=r.initialFocusRef,l=r.onClick,p=r.onDismiss,v=p===void 0?Me:p,m=r.onKeyDown,d=r.onMouseDown,h=r.unstable_lockFocusAcrossFrames,g=St(r,ua),w=h!==void 0,S=Nn(null),E=Nn(null),_=It(E,t),k=aa(function(){s&&s.current&&s.current.focus()},[s]);function P(R){S.current===R.target&&(R.stopPropagation(),v(R))}function C(R){R.key==="Escape"&&(R.stopPropagation(),v(R))}function D(R){S.current=R.target}return Cn(function(){return E.current?da(E.current):void 0},[]),X($r,{autoFocus:!0,returnFocus:!0,onActivation:k,disabled:a,crossFrame:h!=null?h:!0},X(_t,{allowPinchZoom:n,enabled:!f},X(i,de({},g,{ref:_,"data-reach-dialog-overlay":"",onClick:Q(l,P),onKeyDown:Q(m,C),onMouseDown:Q(d,D)}))))}),sa=wt(function(r,t){var n=r.as,o=n===void 0?"div":n,i=r.onClick;r.onKeyDown;var u=St(r,ca);return X(o,de({"aria-modal":"true",role:"dialog",tabIndex:-1},u,{ref:t,"data-reach-dialog-content":"",onClick:Q(i,function(a){a.stopPropagation()})}))});function da(e){var r=[],t=[],n=Nt(e);return e?(Array.prototype.forEach.call(n.querySelectorAll("body > *"),function(o){var i,u,a=(i=e.parentNode)==null||(u=i.parentNode)==null?void 0:u.parentNode;if(o!==a){var c=o.getAttribute("aria-hidden"),f=c!==null&&c!=="false";f||(r.push(c),t.push(o),o.setAttribute("aria-hidden","true"))}}),function(){t.forEach(function(o,i){var u=r[i];u===null?o.removeAttribute("aria-hidden"):o.setAttribute("aria-hidden",u)})}):Me}export{sa as ModalDialogPrimitiveContent,la as ModalDialogPrimitiveOverlay};
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
Copyright (c) Microsoft Corporation.
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */

@@ -1,25 +0,25 @@

var tn=Object.create;var de=Object.defineProperty;var rn=Object.getOwnPropertyDescriptor;var nn=Object.getOwnPropertyNames;var on=Object.getPrototypeOf,an=Object.prototype.hasOwnProperty;var Rt=e=>de(e,"__esModule",{value:!0});var Me=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),un=(e,t)=>{for(var r in t)de(e,r,{get:t[r],enumerable:!0})},Ot=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of nn(t))!an.call(e,o)&&(r||o!=="default")&&de(e,o,{get:()=>t[o],enumerable:!(n=rn(t,o))||n.enumerable});return e},O=(e,t)=>Ot(Rt(de(e!=null?tn(on(e)):{},"default",!t&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),cn=(e=>(t,r)=>e&&e.get(t)||(r=Ot(Rt({}),t,1),e&&e.set(t,r),r))(typeof WeakMap!="undefined"?new WeakMap:0);var Bt=Me((Bo,Mt)=>{"use strict";var dn="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";Mt.exports=dn});var Ut=Me((jo,Vt)=>{"use strict";var mn=Bt();function jt(){}function Wt(){}Wt.resetWarningCache=jt;Vt.exports=function(){function e(n,o,a,i,u,f){if(f!==mn){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}e.isRequired=e;function t(){return e}var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Wt,resetWarningCache:jt};return r.PropTypes=r,r}});var Q=Me((Uo,Gt)=>{Gt.exports=Ut()();var Wo,Vo});var vo={};un(vo,{ModalDialogPrimitiveContent:()=>Vr,ModalDialogPrimitiveOverlay:()=>Wr});var w=require("react");var K=require("react");var pe=require("react");function me(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ct=me()?pe.useLayoutEffect:pe.useEffect;var ve=require("react");function Nt(){var e=(0,ve.useState)(Object.create(null)),t=e[1];return(0,ve.useCallback)(function(){t(Object.create(null))},[])}var Pt=require("react-dom");var Dt=function(t){var r=t.children,n=t.type,o=n===void 0?"reach-portal":n,a=t.containerRef,i=(0,K.useRef)(null),u=(0,K.useRef)(null),f=Nt();return Ct(function(){if(!!i.current){var l=i.current.ownerDocument,c=(a==null?void 0:a.current)||l.body;return u.current=l==null?void 0:l.createElement(o),c.appendChild(u.current),f(),function(){u.current&&c&&c.removeChild(u.current)}}},[o,f,a]),u.current?(0,Pt.createPortal)(r,u.current):(0,K.createElement)("span",{ref:i})};function Ft(e){return me()?e?e.ownerDocument:document:null}function Tt(e){return!!(e&&{}.toString.call(e)=="[object Function]")}function Be(){}var Po=require("react");function It(e){if(!1)var t}var kt=require("react");function At(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ln(e,t){if(!!e){if(typeof e=="string")return At(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return At(e,t)}}function fn(e,t){var r;if(typeof Symbol=="undefined"||e[Symbol.iterator]==null){if(Array.isArray(e)||(r=ln(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return r=e[Symbol.iterator](),r.next.bind(r)}function sn(e,t){if(e!=null)if(Tt(e))e(t);else try{e.current=t}catch(r){throw new Error('Cannot assign value "'+t+'" to ref "'+e+'"')}}function Lt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,kt.useCallback)(function(n){for(var o=fn(t),a;!(a=o()).done;){var i=a.value;sn(i,n)}},t)}function z(e,t){return function(r){if(e&&e(r),!r.defaultPrevented)return t(r)}}function je(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function T(){return T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},T.apply(this,arguments)}var Ce=O(require("react"));var y=O(require("react")),aa=O(Q());var J="data-focus-lock",he="data-focus-lock-disabled",Ht="data-no-focus-lock",$t="data-autofocus-inside";function qt(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}var Yt=require("react");function Zt(e,t){var r=(0,Yt.useState)(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}function We(e,t){return Zt(t,function(r){return e.forEach(function(n){return qt(n,r)})})}var er=require("react");var j=O(require("react")),Ko=O(Q()),W={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},Xt=function(t){var r=t.children;return j.createElement(j.Fragment,null,j.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:W}),r,r&&j.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:W}))};Xt.propTypes={};Xt.defaultProps={children:null};var ye=function(){return ye=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},ye.apply(this,arguments)};function Kt(e){return e}function zt(e,t){t===void 0&&(t=Kt);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var i=t(a,n);return r.push(i),function(){r=r.filter(function(u){return u!==i})}},assignSyncMedium:function(a){for(n=!0;r.length;){var i=r;r=[],i.forEach(a)}r={push:function(u){return a(u)},filter:function(){return r}}},assignMedium:function(a){n=!0;var i=[];if(r.length){var u=r;r=[],u.forEach(a),i=r}var f=function(){var c=i;i=[],c.forEach(a)},l=function(){return Promise.resolve().then(f)};l(),r={push:function(c){i.push(c),l()},filter:function(c){return i=i.filter(c),r}}}};return o}function ee(e,t){return t===void 0&&(t=Kt),zt(e,t)}function Ve(e){e===void 0&&(e={});var t=zt(null);return t.options=ye({async:!0,ssr:!1},e),t}var ge=ee({},function(e){var t=e.target,r=e.currentTarget;return{target:t,currentTarget:r}}),be=ee(),Qt=ee(),Jt=Ve({async:!0});var hn=[],Ue=y.forwardRef(function(t,r){var n,o=y.useState(),a=o[0],i=o[1],u=y.useRef(),f=y.useRef(!1),l=y.useRef(null),c=t.children,d=t.disabled,v=t.noFocusGuards,p=t.persistentFocus,h=t.crossFrame,s=t.autoFocus,m=t.allowTextSelection,b=t.group,_=t.className,S=t.whiteList,E=t.hasPositiveIndices,x=t.shards,B=x===void 0?hn:x,D=t.as,F=D===void 0?"div":D,I=t.lockProps,P=I===void 0?{}:I,Ur=t.sideCar,se=t.returnFocus,Gr=t.focusOptions,ke=t.onActivation,Ae=t.onDeactivation,Hr=y.useState({}),$r=Hr[0],qr=y.useCallback(function(){l.current=l.current||document&&document.activeElement,u.current&&ke&&ke(u.current),f.current=!0},[ke]),Yr=y.useCallback(function(){f.current=!1,Ae&&Ae(u.current)},[Ae]);(0,er.useEffect)(function(){d||(l.current=null)},[]);var Zr=y.useCallback(function(k){var X=l.current;if(X&&X.focus){var Le=typeof se=="function"?se(X):se;if(Le){var Et=typeof Le=="object"?Le:void 0;l.current=null,k?Promise.resolve().then(function(){return X.focus(Et)}):X.focus(Et)}}},[se]),Xr=y.useCallback(function(k){f.current&&ge.useMedium(k)},[]),Kr=be.useMedium,zr=y.useCallback(function(k){u.current!==k&&(u.current=k,i(k))},[]),Qr=T((n={},n[he]=d&&"disabled",n[J]=b,n),P),St=v!==!0,Jr=St&&v!=="tail",en=We([r,zr]);return y.createElement(y.Fragment,null,St&&[y.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:d?-1:0,style:W}),E?y.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:d?-1:1,style:W}):null],!d&&y.createElement(Ur,{id:$r,sideCar:Jt,observed:a,disabled:d,persistentFocus:p,crossFrame:h,autoFocus:s,whiteList:S,shards:B,onActivation:qr,onDeactivation:Yr,returnFocus:Zr,focusOptions:Gr}),y.createElement(F,T({ref:en},Qr,{className:_,onBlur:Kr,onFocus:Xr}),c),Jr&&y.createElement("div",{"data-focus-guard":!0,tabIndex:d?-1:0,style:W}))});Ue.propTypes={};Ue.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var Ge=Ue;var pr=O(require("react")),Pi=O(Q());function te(e,t){return te=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},te(e,t)}function He(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,te(e,t)}function $e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var xe=O(require("react"));function yn(e,t){function r(n){return n.displayName||n.name||"Component"}return function(o){var a=[],i;function u(){i=e(a.map(function(l){return l.props})),t(i)}var f=function(l){He(c,l);function c(){return l.apply(this,arguments)||this}c.peek=function(){return i};var d=c.prototype;return d.componentDidMount=function(){a.push(this),u()},d.componentDidUpdate=function(){u()},d.componentWillUnmount=function(){var p=a.indexOf(this);a.splice(p,1),u()},d.render=function(){return xe.default.createElement(o,this.props)},c}(xe.PureComponent);return $e(f,"displayName","SideEffect("+r(o)+")"),f}}var tr=yn;var C=function(e){for(var t=Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t},re=function(e){return Array.isArray(e)?e:[e]};var gn=function(e){for(var t=new Set,r=e.length,n=0;n<r;n+=1)for(var o=n+1;o<r;o+=1){var a=e[n].compareDocumentPosition(e[o]);(a&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(n)}return e.filter(function(i,u){return!t.has(u)})},rr=function(e){return e.parentNode?rr(e.parentNode):e},V=function(e){var t=re(e);return t.filter(Boolean).reduce(function(r,n){var o=n.getAttribute(J);return r.push.apply(r,o?gn(C(rr(n).querySelectorAll("[".concat(J,'="').concat(o,'"]:not([').concat(he,'="disabled"])')))):[n]),r},[])};var U=function(){return document.activeElement?document.activeElement.shadowRoot?document.activeElement.shadowRoot.activeElement:document.activeElement:void 0};var bn=function(e){return e===document.activeElement},xn=function(e){return Boolean(C(e.querySelectorAll("iframe")).some(function(t){return bn(t)}))},we=function(e){var t=document&&U();return!t||t.dataset&&t.dataset.focusGuard?!1:V(e).reduce(function(r,n){return r||n.contains(t)||xn(n)},!1)};var qe=function(){var e=document&&U();return e?C(document.querySelectorAll("[".concat(Ht,"]"))).some(function(t){return t.contains(e)}):!1};var wn=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!t||!t.getPropertyValue?!1:t.getPropertyValue("display")==="none"||t.getPropertyValue("visibility")==="hidden"},_n=function(e,t){return!e||e===document||e&&e.nodeType===Node.DOCUMENT_NODE||!wn(e)&&t(e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode)},Ye=function(e,t){var r=e.get(t);if(r!==void 0)return r;var n=_n(t,Ye.bind(void 0,e));return e.set(t,n),n},Ze=function(e){return e.dataset},Sn=function(e){return e.tagName==="BUTTON"},nr=function(e){return e.tagName==="INPUT"},Xe=function(e){return nr(e)&&e.type==="radio"},or=function(e){return!((nr(e)||Sn(e))&&(e.type==="hidden"||e.disabled))&&!e.ariaDisabled},ne=function(e){var t;return Boolean(e&&((t=Ze(e))===null||t===void 0?void 0:t.focusGuard))},G=function(e){return!ne(e)},ar=function(e){return Boolean(e)};var En=function(e,t){return t.filter(Xe).filter(function(r){return r.name===e.name}).filter(function(r){return r.checked})[0]||e},_e=function(e,t){return Xe(e)&&e.name?En(e,t):e},ir=function(e){var t=new Set;return e.forEach(function(r){return t.add(_e(r,e))}),e.filter(function(r){return t.has(r)})};var Ke=function(e){return e[0]&&e.length>1?_e(e[0],e):e[0]},ze=function(e,t){return e.length>1?e.indexOf(_e(e[t],e)):t};var Qe="NEW_FOCUS",ur=function(e,t,r,n){var o=e.length,a=e[0],i=e[o-1],u=ne(r);if(!(r&&e.indexOf(r)>=0)){var f=r!==void 0?t.indexOf(r):-1,l=n?t.indexOf(n):f,c=n?e.indexOf(n):-1,d=f-l,v=t.indexOf(a),p=t.indexOf(i),h=ir(t),s=r!==void 0?h.indexOf(r):-1,m=s-(n?h.indexOf(n):f),b=ze(e,0),_=ze(e,o-1);if(f===-1||c===-1)return Qe;if(!d&&c>=0)return c;if(f<=v&&u&&Math.abs(d)>1)return _;if(f>=p&&u&&Math.abs(d)>1)return b;if(d&&Math.abs(m)>1)return c;if(f<=v)return _;if(f>p)return b;if(d)return Math.abs(d)>1?c:(o+c+d)%o}};var Rn=function(e,t){var r=e.tabIndex-t.tabIndex,n=e.index-t.index;if(r){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return r||n},Je=function(e,t,r){return C(e).map(function(n,o){return{node:n,index:o,tabIndex:r&&n.tabIndex===-1?(n.dataset||{}).focusGuard?0:-1:n.tabIndex}}).filter(function(n){return!t||n.tabIndex>=0}).sort(Rn)};var cr=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"];var et=cr.join(","),On="".concat(et,", [data-focus-guard]"),Se=function(e,t){return e.reduce(function(r,n){return r.concat(C(n.querySelectorAll(t?On:et)),n.parentNode?C(n.parentNode.querySelectorAll(et)).filter(function(o){return o===n}):[])},[])},lr=function(e){var t=e.querySelectorAll("[".concat($t,"]"));return C(t).map(function(r){return Se([r])}).reduce(function(r,n){return r.concat(n)},[])};var tt=function(e,t){return C(e).filter(function(r){return Ye(t,r)}).filter(function(r){return or(r)})},oe=function(e,t,r){return Je(tt(Se(e,r),t),!0,r)},rt=function(e,t){return Je(tt(Se(e),t),!1)},fr=function(e,t){return tt(lr(e),t)};var nt=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&nt(e.parentNode,t),t},ot=function(e,t){for(var r=nt(e),n=nt(t),o=0;o<r.length;o+=1){var a=r[o];if(n.indexOf(a)>=0)return a}return!1},Ee=function(e,t,r){var n=re(e),o=re(t),a=n[0],i=!1;return o.filter(Boolean).forEach(function(u){i=ot(i||u,u)||i,r.filter(Boolean).forEach(function(f){var l=ot(a,f);l&&(!i||l.contains(i)?i=l:i=ot(l,i))})}),i},sr=function(e,t){return e.reduce(function(r,n){return r.concat(fr(n,t))},[])};var Cn=function(e){return function(t){var r;return t.autofocus||!!((r=Ze(t))===null||r===void 0?void 0:r.autofocus)||e.indexOf(t)>=0}},Nn=function(e,t){var r=new Map;return t.forEach(function(n){return r.set(n.node,n)}),e.map(function(n){return r.get(n)}).filter(ar)},dr=function(e,t){var r=document&&U(),n=V(e).filter(G),o=Ee(r||e,e,n),a=new Map,i=rt(n,a),u=oe(n,a).filter(function(p){var h=p.node;return G(h)});if(!(!u[0]&&(u=i,!u[0]))){var f=rt([o],a).map(function(p){var h=p.node;return h}),l=Nn(f,u),c=l.map(function(p){var h=p.node;return h}),d=ur(c,f,r,t);if(d===Qe){var v=i.map(function(p){var h=p.node;return h}).filter(Cn(sr(n,a)));return{node:v&&v.length?Ke(v):Ke(c)}}return d===void 0?d:l[d]}};var at=function(e){var t=V(e).filter(G),r=Ee(e,e,t),n=new Map,o=oe([r],n,!0),a=oe(t,n).filter(function(i){var u=i.node;return G(u)}).map(function(i){var u=i.node;return u});return o.map(function(i){var u=i.node,f=i.index;return{node:u,index:f,lockItem:a.indexOf(u)>=0,guard:ne(u)}})};var Pn=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},it=0,ut=!1,mr=function(e,t,r){r===void 0&&(r={});var n=dr(e,t);if(!ut&&n){if(it>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),ut=!0,setTimeout(function(){ut=!1},1);return}it++,Pn(n.node,r.focusOptions),it--}};var ct=mr;function lt(e){var t=window,r=t.setImmediate;typeof r!="undefined"?r(e):setTimeout(e,1)}var Dn=function(){return document&&document.activeElement===document.body},Fn=function(){return Dn()||qe()},H=null,$=null,q=null,ae=!1,Tn=function(){return!0},In=function(t){return(H.whiteList||Tn)(t)},kn=function(t,r){q={observerNode:t,portaledElement:r}},An=function(t){return q&&q.portaledElement===t};function vr(e,t,r,n){var o=null,a=e;do{var i=n[a];if(i.guard)i.node.dataset.focusAutoGuard&&(o=i);else if(i.lockItem){if(a!==e)return;o=null}else break}while((a+=r)!==t);o&&(o.node.tabIndex=0)}var Ln=function(t){return t&&"current"in t?t.current:t},Mn=function(t){return t?Boolean(ae):ae==="meanwhile"},Bn=function e(t,r,n){return r&&(r.host===t&&(!r.activeElement||n.contains(r.activeElement))||r.parentNode&&e(t,r.parentNode,n))},jn=function(t,r){return r.some(function(n){return Bn(t,n,n)})},Re=function(){var t=!1;if(H){var r=H,n=r.observed,o=r.persistentFocus,a=r.autoFocus,i=r.shards,u=r.crossFrame,f=r.focusOptions,l=n||q&&q.portaledElement,c=document&&document.activeElement;if(l){var d=[l].concat(i.map(Ln).filter(Boolean));if((!c||In(c))&&(o||Mn(u)||!Fn()||!$&&a)&&(l&&!(we(d)||c&&jn(c,d)||An(c,l))&&(document&&!$&&c&&!a?(c.blur&&c.blur(),document.body.focus()):(t=ct(d,$,{focusOptions:f}),q={})),ae=!1,$=document&&document.activeElement),document){var v=document&&document.activeElement,p=at(d),h=p.map(function(s){var m=s.node;return m}).indexOf(v);h>-1&&(p.filter(function(s){var m=s.guard,b=s.node;return m&&b.dataset.focusAutoGuard}).forEach(function(s){var m=s.node;return m.removeAttribute("tabIndex")}),vr(h,p.length,1,p),vr(h,-1,-1,p))}}}return t},hr=function(t){Re()&&t&&(t.stopPropagation(),t.preventDefault())},Oe=function(){return lt(Re)},yr=function(t){var r=t.target,n=t.currentTarget;n.contains(r)||kn(n,r)},Wn=function(){return null},Vn=function(t){var r=t.children;return pr.createElement("div",{onBlur:Oe,onFocus:yr},r)};Vn.propTypes={};var gr=function(){ae="just",setTimeout(function(){ae="meanwhile"},0)},Un=function(){document.addEventListener("focusin",hr),document.addEventListener("focusout",Oe),window.addEventListener("blur",gr)},Gn=function(){document.removeEventListener("focusin",hr),document.removeEventListener("focusout",Oe),window.removeEventListener("blur",gr)};function Hn(e){return e.filter(function(t){var r=t.disabled;return!r})}function $n(e){var t=e.slice(-1)[0];t&&!H&&Un();var r=H,n=r&&t&&t.id===r.id;H=t,r&&!n&&(r.onDeactivation(),e.filter(function(o){var a=o.id;return a===r.id}).length||r.returnFocus(!t)),t?($=null,(!n||r.observed!==t.observed)&&t.onActivation(),Re(!0),lt(Re)):(Gn(),$=null)}ge.assignSyncMedium(yr);be.assignMedium(Oe);Qt.assignMedium(function(e){return e({moveFocusInside:ct,focusInside:we})});var br=tr(Hn,$n)(Wn);var xr=Ce.forwardRef(function(t,r){return Ce.createElement(Ge,T({sideCar:br,ref:r},t))}),wr=Ge.propTypes||{},Wi=wr.sideCar,Vi=je(wr,["sideCar"]);xr.propTypes={};var _r=xr;var Sr=_r;var N=function(){return N=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},N.apply(this,arguments)};function Ne(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}var Ie=O(require("react"));var R=O(require("react"));var A="right-scroll-bar-position",L="width-before-scroll-bar",ft="with-scroll-bars-hidden";function qn(e){return e}function Yn(e,t){t===void 0&&(t=qn);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var i=t(a,n);return r.push(i),function(){r=r.filter(function(u){return u!==i})}},assignSyncMedium:function(a){for(n=!0;r.length;){var i=r;r=[],i.forEach(a)}r={push:function(u){return a(u)},filter:function(){return r}}},assignMedium:function(a){n=!0;var i=[];if(r.length){var u=r;r=[],u.forEach(a),i=r}var f=function(){var c=i;i=[],c.forEach(a)},l=function(){return Promise.resolve().then(f)};l(),r={push:function(c){i.push(c),l()},filter:function(c){return i=i.filter(c),r}}}};return o}function st(e){e===void 0&&(e={});var t=Yn(null);return t.options=N({async:!0,ssr:!1},e),t}var Er=O(require("react")),Rr=function(e){var t=e.sideCar,r=Ne(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return Er.createElement(n,N({},r))};Rr.isSideCarExport=!0;function dt(e,t){return e.useMedium(t),Rr}var De=st();function Or(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}var Cr=require("react");function Nr(e,t){var r=(0,Cr.useState)(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}function mt(e,t){return Nr(t,function(r){return e.forEach(function(n){return Or(n,r)})})}var pt=function(){},ie=R.forwardRef(function(e,t){var r=R.useRef(null),n=R.useState({onScrollCapture:pt,onWheelCapture:pt,onTouchMoveCapture:pt}),o=n[0],a=n[1],i=e.forwardProps,u=e.children,f=e.className,l=e.removeScrollBar,c=e.enabled,d=e.shards,v=e.sideCar,p=e.noIsolation,h=e.inert,s=e.allowPinchZoom,m=e.as,b=m===void 0?"div":m,_=Ne(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),S=v,E=mt([r,t]),x=N({},_,o);return R.createElement(R.Fragment,null,c&&R.createElement(S,{sideCar:De,removeScrollBar:l,shards:d,noIsolation:p,inert:h,setCallbacks:a,allowPinchZoom:!!s,lockRef:r}),i?R.cloneElement(R.Children.only(u),N({},x,{ref:E})):R.createElement(b,N({},x,{className:f,ref:E}),u))});ie.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ie.classNames={fullWidth:L,zeroRight:A};var g=O(require("react"));var Y=O(require("react"));var Fr=O(require("react"));var Pr;var Dr=function(){if(Pr)return Pr;if(typeof __webpack_nonce__!="undefined")return __webpack_nonce__};function Zn(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Dr();return t&&e.setAttribute("nonce",t),e}function Xn(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Kn(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var vt=function(){var e=0,t=null;return{add:function(r){e==0&&(t=Zn())&&(Xn(t,r),Kn(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}};var ht=function(){var e=vt();return function(t){Fr.useEffect(function(){return e.add(t),function(){e.remove()}},[])}};var ue=function(){var e=ht(),t=function(r){var n=r.styles;return e(n),null};return t};var zn={left:0,top:0,right:0,gap:0},yt=function(e){return parseInt(e||"",10)||0},Qn=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[yt(r),yt(n),yt(o)]},Fe=function(e){if(e===void 0&&(e="margin"),typeof window=="undefined")return zn;var t=Qn(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}};var Jn=ue(),eo=function(e,t,r,n){var o=e.left,a=e.top,i=e.right,u=e.gap;return r===void 0&&(r="margin"),`
.`+ft+` {
var zn=Object.create;var he=Object.defineProperty;var Qn=Object.getOwnPropertyDescriptor;var Jn=Object.getOwnPropertyNames;var eo=Object.getPrototypeOf,to=Object.prototype.hasOwnProperty;var Ct=e=>he(e,"__esModule",{value:!0});var Q=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),ro=(e,r)=>{for(var t in r)he(e,t,{get:r[t],enumerable:!0})},Nt=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of Jn(r))!to.call(e,o)&&(t||o!=="default")&&he(e,o,{get:()=>r[o],enumerable:!(n=Qn(r,o))||n.enumerable});return e},R=(e,r)=>Nt(Ct(he(e!=null?zn(eo(e)):{},"default",!r&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),no=(e=>(r,t)=>e&&e.get(r)||(t=Nt(Ct({}),r,1),e&&e.set(r,t),t))(typeof WeakMap!="undefined"?new WeakMap:0);var Vt=Q((Da,Wt)=>{"use strict";var uo="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";Wt.exports=uo});var $t=Q((Fa,Ht)=>{"use strict";var co=Vt();function Gt(){}function Ut(){}Ut.resetWarningCache=Gt;Ht.exports=function(){function e(n,o,i,u,a,c){if(c!==co){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}e.isRequired=e;function r(){return e}var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:Ut,resetWarningCache:Gt};return t.PropTypes=t,t}});var Yt=Q((Aa,qt)=>{qt.exports=$t()();var Ta,Ia});var _r=Q((Ua,Se)=>{var er,tr,rr,nr,or,ar,ir,ur,cr,we,$e,lr,fr,W,sr,dr,mr,pr,vr,hr,yr,br,gr;(function(e){var r=typeof global=="object"?global:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(t(r,t(n)))}):typeof Se=="object"&&typeof Se.exports=="object"?e(t(r,t(Se.exports))):e(t(r));function t(n,o){return n!==r&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,u){return n[i]=o?o(i,u):u}}})(function(e){var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])};er=function(t,n){r(t,n);function o(){this.constructor=t}t.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},tr=Object.assign||function(t){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},rr=function(t,n){var o={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&n.indexOf(i)<0&&(o[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,i=Object.getOwnPropertySymbols(t);u<i.length;u++)n.indexOf(i[u])<0&&Object.prototype.propertyIsEnumerable.call(t,i[u])&&(o[i[u]]=t[i[u]]);return o},nr=function(t,n,o,i){var u=arguments.length,a=u<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,n,o,i);else for(var f=t.length-1;f>=0;f--)(c=t[f])&&(a=(u<3?c(a):u>3?c(n,o,a):c(n,o))||a);return u>3&&a&&Object.defineProperty(n,o,a),a},or=function(t,n){return function(o,i){n(o,i,t)}},ar=function(t,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,n)},ir=function(t,n,o,i){function u(a){return a instanceof o?a:new o(function(c){c(a)})}return new(o||(o=Promise))(function(a,c){function f(p){try{l(i.next(p))}catch(v){c(v)}}function s(p){try{l(i.throw(p))}catch(v){c(v)}}function l(p){p.done?a(p.value):u(p.value).then(f,s)}l((i=i.apply(t,n||[])).next())})},ur=function(t,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,u,a,c;return c={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function f(l){return function(p){return s([l,p])}}function s(l){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,u&&(a=l[0]&2?u.return:l[0]?u.throw||((a=u.return)&&a.call(u),0):u.next)&&!(a=a.call(u,l[1])).done)return a;switch(u=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,u=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){o=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(l[0]===6&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(t,o)}catch(p){l=[6,p],u=0}finally{i=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},gr=function(t,n,o,i){i===void 0&&(i=o),t[i]=n[o]},cr=function(t,n){for(var o in t)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=t[o])},we=function(t){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&t[n],i=0;if(o)return o.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},$e=function(t,n){var o=typeof Symbol=="function"&&t[Symbol.iterator];if(!o)return t;var i=o.call(t),u,a=[],c;try{for(;(n===void 0||n-- >0)&&!(u=i.next()).done;)a.push(u.value)}catch(f){c={error:f}}finally{try{u&&!u.done&&(o=i.return)&&o.call(i)}finally{if(c)throw c.error}}return a},lr=function(){for(var t=[],n=0;n<arguments.length;n++)t=t.concat($e(arguments[n]));return t},fr=function(){for(var t=0,n=0,o=arguments.length;n<o;n++)t+=arguments[n].length;for(var i=Array(t),u=0,n=0;n<o;n++)for(var a=arguments[n],c=0,f=a.length;c<f;c++,u++)i[u]=a[c];return i},W=function(t){return this instanceof W?(this.v=t,this):new W(t)},sr=function(t,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(t,n||[]),u,a=[];return u={},c("next"),c("throw"),c("return"),u[Symbol.asyncIterator]=function(){return this},u;function c(m){i[m]&&(u[m]=function(d){return new Promise(function(h,g){a.push([m,d,h,g])>1||f(m,d)})})}function f(m,d){try{s(i[m](d))}catch(h){v(a[0][3],h)}}function s(m){m.value instanceof W?Promise.resolve(m.value.v).then(l,p):v(a[0][2],m)}function l(m){f("next",m)}function p(m){f("throw",m)}function v(m,d){m(d),a.shift(),a.length&&f(a[0][0],a[0][1])}},dr=function(t){var n,o;return n={},i("next"),i("throw",function(u){throw u}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(u,a){n[u]=t[u]?function(c){return(o=!o)?{value:W(t[u](c)),done:u==="return"}:a?a(c):c}:a}},mr=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],o;return n?n.call(t):(t=typeof we=="function"?we(t):t[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=t[a]&&function(c){return new Promise(function(f,s){c=t[a](c),u(f,s,c.done,c.value)})}}function u(a,c,f,s){Promise.resolve(s).then(function(l){a({value:l,done:f})},c)}},pr=function(t,n){return Object.defineProperty?Object.defineProperty(t,"raw",{value:n}):t.raw=n,t},vr=function(t){if(t&&t.__esModule)return t;var n={};if(t!=null)for(var o in t)Object.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n.default=t,n},hr=function(t){return t&&t.__esModule?t:{default:t}},yr=function(t,n){if(!n.has(t))throw new TypeError("attempted to get private field on non-instance");return n.get(t)},br=function(t,n,o){if(!n.has(t))throw new TypeError("attempted to set private field on non-instance");return n.set(t,o),o},e("__extends",er),e("__assign",tr),e("__rest",rr),e("__decorate",nr),e("__param",or),e("__metadata",ar),e("__awaiter",ir),e("__generator",ur),e("__exportStar",cr),e("__createBinding",gr),e("__values",we),e("__read",$e),e("__spread",lr),e("__spreadArrays",fr),e("__await",W),e("__asyncGenerator",sr),e("__asyncDelegator",dr),e("__asyncValues",mr),e("__makeTemplateObject",pr),e("__importStar",vr),e("__importDefault",hr),e("__classPrivateFieldGet",yr),e("__classPrivateFieldSet",br)})});var wn=Q((Xu,ke)=>{var en,tn,rn,nn,on,an,un,cn,ln,Ae,vt,fn,sn,Y,dn,mn,pn,vn,hn,yn,bn,gn,_n;(function(e){var r=typeof global=="object"?global:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(t(r,t(n)))}):typeof ke=="object"&&typeof ke.exports=="object"?e(t(r,t(ke.exports))):e(t(r));function t(n,o){return n!==r&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,u){return n[i]=o?o(i,u):u}}})(function(e){var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])};en=function(t,n){r(t,n);function o(){this.constructor=t}t.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},tn=Object.assign||function(t){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},rn=function(t,n){var o={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&n.indexOf(i)<0&&(o[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,i=Object.getOwnPropertySymbols(t);u<i.length;u++)n.indexOf(i[u])<0&&Object.prototype.propertyIsEnumerable.call(t,i[u])&&(o[i[u]]=t[i[u]]);return o},nn=function(t,n,o,i){var u=arguments.length,a=u<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,n,o,i);else for(var f=t.length-1;f>=0;f--)(c=t[f])&&(a=(u<3?c(a):u>3?c(n,o,a):c(n,o))||a);return u>3&&a&&Object.defineProperty(n,o,a),a},on=function(t,n){return function(o,i){n(o,i,t)}},an=function(t,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,n)},un=function(t,n,o,i){function u(a){return a instanceof o?a:new o(function(c){c(a)})}return new(o||(o=Promise))(function(a,c){function f(p){try{l(i.next(p))}catch(v){c(v)}}function s(p){try{l(i.throw(p))}catch(v){c(v)}}function l(p){p.done?a(p.value):u(p.value).then(f,s)}l((i=i.apply(t,n||[])).next())})},cn=function(t,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,u,a,c;return c={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function f(l){return function(p){return s([l,p])}}function s(l){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,u&&(a=l[0]&2?u.return:l[0]?u.throw||((a=u.return)&&a.call(u),0):u.next)&&!(a=a.call(u,l[1])).done)return a;switch(u=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,u=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){o=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(l[0]===6&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(t,o)}catch(p){l=[6,p],u=0}finally{i=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},_n=function(t,n,o,i){i===void 0&&(i=o),t[i]=n[o]},ln=function(t,n){for(var o in t)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=t[o])},Ae=function(t){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&t[n],i=0;if(o)return o.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},vt=function(t,n){var o=typeof Symbol=="function"&&t[Symbol.iterator];if(!o)return t;var i=o.call(t),u,a=[],c;try{for(;(n===void 0||n-- >0)&&!(u=i.next()).done;)a.push(u.value)}catch(f){c={error:f}}finally{try{u&&!u.done&&(o=i.return)&&o.call(i)}finally{if(c)throw c.error}}return a},fn=function(){for(var t=[],n=0;n<arguments.length;n++)t=t.concat(vt(arguments[n]));return t},sn=function(){for(var t=0,n=0,o=arguments.length;n<o;n++)t+=arguments[n].length;for(var i=Array(t),u=0,n=0;n<o;n++)for(var a=arguments[n],c=0,f=a.length;c<f;c++,u++)i[u]=a[c];return i},Y=function(t){return this instanceof Y?(this.v=t,this):new Y(t)},dn=function(t,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(t,n||[]),u,a=[];return u={},c("next"),c("throw"),c("return"),u[Symbol.asyncIterator]=function(){return this},u;function c(m){i[m]&&(u[m]=function(d){return new Promise(function(h,g){a.push([m,d,h,g])>1||f(m,d)})})}function f(m,d){try{s(i[m](d))}catch(h){v(a[0][3],h)}}function s(m){m.value instanceof Y?Promise.resolve(m.value.v).then(l,p):v(a[0][2],m)}function l(m){f("next",m)}function p(m){f("throw",m)}function v(m,d){m(d),a.shift(),a.length&&f(a[0][0],a[0][1])}},mn=function(t){var n,o;return n={},i("next"),i("throw",function(u){throw u}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(u,a){n[u]=t[u]?function(c){return(o=!o)?{value:Y(t[u](c)),done:u==="return"}:a?a(c):c}:a}},pn=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],o;return n?n.call(t):(t=typeof Ae=="function"?Ae(t):t[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=t[a]&&function(c){return new Promise(function(f,s){c=t[a](c),u(f,s,c.done,c.value)})}}function u(a,c,f,s){Promise.resolve(s).then(function(l){a({value:l,done:f})},c)}},vn=function(t,n){return Object.defineProperty?Object.defineProperty(t,"raw",{value:n}):t.raw=n,t},hn=function(t){if(t&&t.__esModule)return t;var n={};if(t!=null)for(var o in t)Object.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n.default=t,n},yn=function(t){return t&&t.__esModule?t:{default:t}},bn=function(t,n){if(!n.has(t))throw new TypeError("attempted to get private field on non-instance");return n.get(t)},gn=function(t,n,o){if(!n.has(t))throw new TypeError("attempted to set private field on non-instance");return n.set(t,o),o},e("__extends",en),e("__assign",tn),e("__rest",rn),e("__decorate",nn),e("__param",on),e("__metadata",an),e("__awaiter",un),e("__generator",cn),e("__exportStar",ln),e("__createBinding",_n),e("__values",Ae),e("__read",vt),e("__spread",fn),e("__spreadArrays",sn),e("__await",Y),e("__asyncGenerator",dn),e("__asyncDelegator",mn),e("__asyncValues",pn),e("__makeTemplateObject",vn),e("__importStar",hn),e("__importDefault",yn),e("__classPrivateFieldGet",bn),e("__classPrivateFieldSet",gn)})});var ua={};ro(ua,{ModalDialogPrimitiveContent:()=>jn,ModalDialogPrimitiveOverlay:()=>Ln});var w=require("react");var J=require("react");var be=require("react");function ye(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Dt=ye()?be.useLayoutEffect:be.useEffect;var ge=require("react");function Ft(){var e=(0,ge.useState)(Object.create(null)),r=e[1];return(0,ge.useCallback)(function(){r(Object.create(null))},[])}var Tt=require("react-dom");var It=function(r){var t=r.children,n=r.type,o=n===void 0?"reach-portal":n,i=r.containerRef,u=(0,J.useRef)(null),a=(0,J.useRef)(null),c=Ft();return Dt(function(){if(!!u.current){var f=u.current.ownerDocument,s=(i==null?void 0:i.current)||f.body;return a.current=f==null?void 0:f.createElement(o),s.appendChild(a.current),c(),function(){a.current&&s&&s.removeChild(a.current)}}},[o,c,i]),a.current?(0,Tt.createPortal)(t,a.current):(0,J.createElement)("span",{ref:u})};function At(e){return ye()?e?e.ownerDocument:document:null}function kt(e){return!!(e&&{}.toString.call(e)=="[object Function]")}function Ue(){}var wa=require("react");function Lt(e){if(!1)var r}var jt=require("react");function Bt(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function oo(e,r){if(!!e){if(typeof e=="string")return Bt(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Bt(e,r)}}function ao(e,r){var t;if(typeof Symbol=="undefined"||e[Symbol.iterator]==null){if(Array.isArray(e)||(t=oo(e))||r&&e&&typeof e.length=="number"){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return t=e[Symbol.iterator](),t.next.bind(t)}function io(e,r){if(e!=null)if(kt(e))e(r);else try{e.current=r}catch(t){throw new Error('Cannot assign value "'+r+'" to ref "'+e+'"')}}function Mt(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,jt.useCallback)(function(n){for(var o=ao(r),i;!(i=o()).done;){var u=i.value;io(u,n)}},r)}function ee(e,r){return function(t){if(e&&e(t),!t.defaultPrevented)return r(t)}}function He(e,r){if(e==null)return{};var t={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(r.indexOf(o)>=0)&&(t[o]=e[o]);return t}function F(){return F=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},F.apply(this,arguments)}var Ie=R(require("react"));var y=R(require("react"));var te="data-focus-lock",_e="data-focus-lock-disabled",Zt="data-no-focus-lock",Xt="data-autofocus-inside";function Kt(e,r){return typeof e=="function"?e(r):e&&(e.current=r),e}var zt=require("react");function Qt(e,r){var t=(0,zt.useState)(function(){return{value:e,callback:r,facade:{get current(){return t.value},set current(n){var o=t.value;o!==n&&(t.value=n,t.callback(n,o))}}}})[0];return t.callback=r,t.facade}function re(e,r){return Qt(r,function(t){return e.forEach(function(n){return Kt(n,t)})})}var Dr=require("react");var B=R(require("react"));var M={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},Jt=function(r){var t=r.children;return B.createElement(B.Fragment,null,B.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:M}),t,t&&B.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:M}))};Jt.propTypes={};Jt.defaultProps={children:null};var wr=R(_r(),1),{__extends:Ha,__assign:Ee,__rest:Sr,__decorate:$a,__param:qa,__metadata:Ya,__awaiter:Za,__generator:Xa,__exportStar:Ka,__createBinding:za,__values:Qa,__read:Ja,__spread:ei,__spreadArrays:ti,__await:ri,__asyncGenerator:ni,__asyncDelegator:oi,__asyncValues:ai,__makeTemplateObject:ii,__importStar:ui,__importDefault:ci,__classPrivateFieldGet:li,__classPrivateFieldSet:fi}=wr.default;function Or(e){return e}function xr(e,r){r===void 0&&(r=Or);var t=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return t.length?t[t.length-1]:e},useMedium:function(i){var u=r(i,n);return t.push(u),function(){t=t.filter(function(a){return a!==u})}},assignSyncMedium:function(i){for(n=!0;t.length;){var u=t;t=[],u.forEach(i)}t={push:function(a){return i(a)},filter:function(){return t}}},assignMedium:function(i){n=!0;var u=[];if(t.length){var a=t;t=[],a.forEach(i),u=t}var c=function(){var s=u;u=[],s.forEach(i)},f=function(){return Promise.resolve().then(c)};f(),t={push:function(s){u.push(s),f()},filter:function(s){return u=u.filter(s),t}}}};return o}function ne(e,r){return r===void 0&&(r=Or),xr(e,r)}function oe(e){e===void 0&&(e={});var r=xr(null);return r.options=Ee({async:!0,ssr:!1},e),r}var Rr=R(require("react")),Pr=function(e){var r=e.sideCar,t=Sr(e,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=r.read();if(!n)throw new Error("Sidecar medium not found");return Rr.createElement(n,Ee({},t))};Pr.isSideCarExport=!0;function qe(e,r){return e.useMedium(r),Pr}var Oe=ne({},function(e){var r=e.target,t=e.currentTarget;return{target:r,currentTarget:t}}),xe=ne(),Cr=ne(),Nr=oe({async:!0});var fo=[],Ye=y.forwardRef(function(r,t){var n,o=y.useState(),i=o[0],u=o[1],a=y.useRef(),c=y.useRef(!1),f=y.useRef(null),s=r.children,l=r.disabled,p=r.noFocusGuards,v=r.persistentFocus,m=r.crossFrame,d=r.autoFocus,h=r.allowTextSelection,g=r.group,S=r.className,E=r.whiteList,O=r.hasPositiveIndices,_=r.shards,j=_===void 0?fo:_,N=r.as,D=N===void 0?"div":N,T=r.lockProps,C=T===void 0?{}:T,Bn=r.sideCar,ve=r.returnFocus,Mn=r.focusOptions,We=r.onActivation,Ve=r.onDeactivation,Wn=y.useState({}),Vn=Wn[0],Gn=y.useCallback(function(){f.current=f.current||document&&document.activeElement,a.current&&We&&We(a.current),c.current=!0},[We]),Un=y.useCallback(function(){c.current=!1,Ve&&Ve(a.current)},[Ve]);(0,Dr.useEffect)(function(){l||(f.current=null)},[]);var Hn=y.useCallback(function(I){var z=f.current;if(z&&z.focus){var Ge=typeof ve=="function"?ve(z):ve;if(Ge){var Pt=typeof Ge=="object"?Ge:void 0;f.current=null,I?Promise.resolve().then(function(){return z.focus(Pt)}):z.focus(Pt)}}},[ve]),$n=y.useCallback(function(I){c.current&&Oe.useMedium(I)},[]),qn=xe.useMedium,Yn=y.useCallback(function(I){a.current!==I&&(a.current=I,u(I))},[]),Zn=F((n={},n[_e]=l&&"disabled",n[te]=g,n),C),Rt=p!==!0,Xn=Rt&&p!=="tail",Kn=re([t,Yn]);return y.createElement(y.Fragment,null,Rt&&[y.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:l?-1:0,style:M}),O?y.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:l?-1:1,style:M}):null],!l&&y.createElement(Bn,{id:Vn,sideCar:Nr,observed:i,disabled:l,persistentFocus:v,crossFrame:m,autoFocus:d,whiteList:E,shards:j,onActivation:Gn,onDeactivation:Un,returnFocus:Hn,focusOptions:Mn}),y.createElement(D,F({ref:Kn},Zn,{className:S,onBlur:qn,onFocus:$n}),s),Xn&&y.createElement("div",{"data-focus-guard":!0,tabIndex:l?-1:0,style:M}))});Ye.propTypes={};Ye.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var Ze=Ye;var Hr=R(require("react"));function ae(e,r){return ae=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ae(e,r)}function Xe(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,ae(e,r)}function Ke(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var Re=R(require("react"));function so(e,r){function t(n){return n.displayName||n.name||"Component"}return function(o){var i=[],u;function a(){u=e(i.map(function(f){return f.props})),r(u)}var c=function(f){Xe(s,f);function s(){return f.apply(this,arguments)||this}s.peek=function(){return u};var l=s.prototype;return l.componentDidMount=function(){i.push(this),a()},l.componentDidUpdate=function(){a()},l.componentWillUnmount=function(){var v=i.indexOf(this);i.splice(v,1),a()},l.render=function(){return Re.default.createElement(o,this.props)},s}(Re.PureComponent);return Ke(c,"displayName","SideEffect("+t(o)+")"),c}}var Fr=so;var P=function(e){for(var r=Array(e.length),t=0;t<e.length;++t)r[t]=e[t];return r},ie=function(e){return Array.isArray(e)?e:[e]};var mo=function(e){for(var r=new Set,t=e.length,n=0;n<t;n+=1)for(var o=n+1;o<t;o+=1){var i=e[n].compareDocumentPosition(e[o]);(i&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&r.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&r.add(n)}return e.filter(function(u,a){return!r.has(a)})},Tr=function(e){return e.parentNode?Tr(e.parentNode):e},V=function(e){var r=ie(e);return r.filter(Boolean).reduce(function(t,n){var o=n.getAttribute(te);return t.push.apply(t,o?mo(P(Tr(n).querySelectorAll("[".concat(te,'="').concat(o,'"]:not([').concat(_e,'="disabled"])')))):[n]),t},[])};var G=function(){return document.activeElement?document.activeElement.shadowRoot?document.activeElement.shadowRoot.activeElement:document.activeElement:void 0};var po=function(e){return e===document.activeElement},vo=function(e){return Boolean(P(e.querySelectorAll("iframe")).some(function(r){return po(r)}))},Pe=function(e){var r=document&&G();return!r||r.dataset&&r.dataset.focusGuard?!1:V(e).reduce(function(t,n){return t||n.contains(r)||vo(n)},!1)};var ze=function(){var e=document&&G();return e?P(document.querySelectorAll("[".concat(Zt,"]"))).some(function(r){return r.contains(e)}):!1};var ho=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var r=window.getComputedStyle(e,null);return!r||!r.getPropertyValue?!1:r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"},yo=function(e,r){return!e||e===document||e&&e.nodeType===Node.DOCUMENT_NODE||!ho(e)&&r(e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode)},Qe=function(e,r){var t=e.get(r);if(t!==void 0)return t;var n=yo(r,Qe.bind(void 0,e));return e.set(r,n),n},Je=function(e){return e.dataset},bo=function(e){return e.tagName==="BUTTON"},Ir=function(e){return e.tagName==="INPUT"},et=function(e){return Ir(e)&&e.type==="radio"},Ar=function(e){return!((Ir(e)||bo(e))&&(e.type==="hidden"||e.disabled))&&!e.ariaDisabled},ue=function(e){var r;return Boolean(e&&((r=Je(e))===null||r===void 0?void 0:r.focusGuard))},U=function(e){return!ue(e)},kr=function(e){return Boolean(e)};var go=function(e,r){return r.filter(et).filter(function(t){return t.name===e.name}).filter(function(t){return t.checked})[0]||e},Ce=function(e,r){return et(e)&&e.name?go(e,r):e},Lr=function(e){var r=new Set;return e.forEach(function(t){return r.add(Ce(t,e))}),e.filter(function(t){return r.has(t)})};var tt=function(e){return e[0]&&e.length>1?Ce(e[0],e):e[0]},rt=function(e,r){return e.length>1?e.indexOf(Ce(e[r],e)):r};var nt="NEW_FOCUS",jr=function(e,r,t,n){var o=e.length,i=e[0],u=e[o-1],a=ue(t);if(!(t&&e.indexOf(t)>=0)){var c=t!==void 0?r.indexOf(t):-1,f=n?r.indexOf(n):c,s=n?e.indexOf(n):-1,l=c-f,p=r.indexOf(i),v=r.indexOf(u),m=Lr(r),d=t!==void 0?m.indexOf(t):-1,h=d-(n?m.indexOf(n):c),g=rt(e,0),S=rt(e,o-1);if(c===-1||s===-1)return nt;if(!l&&s>=0)return s;if(c<=p&&a&&Math.abs(l)>1)return S;if(c>=v&&a&&Math.abs(l)>1)return g;if(l&&Math.abs(h)>1)return s;if(c<=p)return S;if(c>v)return g;if(l)return Math.abs(l)>1?s:(o+s+l)%o}};var _o=function(e,r){var t=e.tabIndex-r.tabIndex,n=e.index-r.index;if(t){if(!e.tabIndex)return 1;if(!r.tabIndex)return-1}return t||n},ot=function(e,r,t){return P(e).map(function(n,o){return{node:n,index:o,tabIndex:t&&n.tabIndex===-1?(n.dataset||{}).focusGuard?0:-1:n.tabIndex}}).filter(function(n){return!r||n.tabIndex>=0}).sort(_o)};var Br=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"];var at=Br.join(","),wo="".concat(at,", [data-focus-guard]"),Ne=function(e,r){return e.reduce(function(t,n){return t.concat(P(n.querySelectorAll(r?wo:at)),n.parentNode?P(n.parentNode.querySelectorAll(at)).filter(function(o){return o===n}):[])},[])},Mr=function(e){var r=e.querySelectorAll("[".concat(Xt,"]"));return P(r).map(function(t){return Ne([t])}).reduce(function(t,n){return t.concat(n)},[])};var it=function(e,r){return P(e).filter(function(t){return Qe(r,t)}).filter(function(t){return Ar(t)})},ce=function(e,r,t){return ot(it(Ne(e,t),r),!0,t)},ut=function(e,r){return ot(it(Ne(e),r),!1)},Wr=function(e,r){return it(Mr(e),r)};var ct=function(e,r){return r===void 0&&(r=[]),r.push(e),e.parentNode&&ct(e.parentNode,r),r},lt=function(e,r){for(var t=ct(e),n=ct(r),o=0;o<t.length;o+=1){var i=t[o];if(n.indexOf(i)>=0)return i}return!1},De=function(e,r,t){var n=ie(e),o=ie(r),i=n[0],u=!1;return o.filter(Boolean).forEach(function(a){u=lt(u||a,a)||u,t.filter(Boolean).forEach(function(c){var f=lt(i,c);f&&(!u||f.contains(u)?u=f:u=lt(f,u))})}),u},Vr=function(e,r){return e.reduce(function(t,n){return t.concat(Wr(n,r))},[])};var So=function(e){return function(r){var t;return r.autofocus||!!((t=Je(r))===null||t===void 0?void 0:t.autofocus)||e.indexOf(r)>=0}},Eo=function(e,r){var t=new Map;return r.forEach(function(n){return t.set(n.node,n)}),e.map(function(n){return t.get(n)}).filter(kr)},Gr=function(e,r){var t=document&&G(),n=V(e).filter(U),o=De(t||e,e,n),i=new Map,u=ut(n,i),a=ce(n,i).filter(function(v){var m=v.node;return U(m)});if(!(!a[0]&&(a=u,!a[0]))){var c=ut([o],i).map(function(v){var m=v.node;return m}),f=Eo(c,a),s=f.map(function(v){var m=v.node;return m}),l=jr(s,c,t,r);if(l===nt){var p=u.map(function(v){var m=v.node;return m}).filter(So(Vr(n,i)));return{node:p&&p.length?tt(p):tt(s)}}return l===void 0?l:f[l]}};var ft=function(e){var r=V(e).filter(U),t=De(e,e,r),n=new Map,o=ce([t],n,!0),i=ce(r,n).filter(function(u){var a=u.node;return U(a)}).map(function(u){var a=u.node;return a});return o.map(function(u){var a=u.node,c=u.index;return{node:a,index:c,lockItem:i.indexOf(a)>=0,guard:ue(a)}})};var Oo=function(e,r){"focus"in e&&e.focus(r),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},st=0,dt=!1,Ur=function(e,r,t){t===void 0&&(t={});var n=Gr(e,r);if(!dt&&n){if(st>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),dt=!0,setTimeout(function(){dt=!1},1);return}st++,Oo(n.node,t.focusOptions),st--}};var mt=Ur;function pt(e){var r=window,t=r.setImmediate;typeof t!="undefined"?t(e):setTimeout(e,1)}var xo=function(){return document&&document.activeElement===document.body},Ro=function(){return xo()||ze()},H=null,$=null,q=null,le=!1,Po=function(){return!0},Co=function(r){return(H.whiteList||Po)(r)},No=function(r,t){q={observerNode:r,portaledElement:t}},Do=function(r){return q&&q.portaledElement===r};function $r(e,r,t,n){var o=null,i=e;do{var u=n[i];if(u.guard)u.node.dataset.focusAutoGuard&&(o=u);else if(u.lockItem){if(i!==e)return;o=null}else break}while((i+=t)!==r);o&&(o.node.tabIndex=0)}var Fo=function(r){return r&&"current"in r?r.current:r},To=function(r){return r?Boolean(le):le==="meanwhile"},Io=function e(r,t,n){return t&&(t.host===r&&(!t.activeElement||n.contains(t.activeElement))||t.parentNode&&e(r,t.parentNode,n))},Ao=function(r,t){return t.some(function(n){return Io(r,n,n)})},Fe=function(){var r=!1;if(H){var t=H,n=t.observed,o=t.persistentFocus,i=t.autoFocus,u=t.shards,a=t.crossFrame,c=t.focusOptions,f=n||q&&q.portaledElement,s=document&&document.activeElement;if(f){var l=[f].concat(u.map(Fo).filter(Boolean));if((!s||Co(s))&&(o||To(a)||!Ro()||!$&&i)&&(f&&!(Pe(l)||s&&Ao(s,l)||Do(s,f))&&(document&&!$&&s&&!i?(s.blur&&s.blur(),document.body.focus()):(r=mt(l,$,{focusOptions:c}),q={})),le=!1,$=document&&document.activeElement),document){var p=document&&document.activeElement,v=ft(l),m=v.map(function(d){var h=d.node;return h}).indexOf(p);m>-1&&(v.filter(function(d){var h=d.guard,g=d.node;return h&&g.dataset.focusAutoGuard}).forEach(function(d){var h=d.node;return h.removeAttribute("tabIndex")}),$r(m,v.length,1,v),$r(m,-1,-1,v))}}}return r},qr=function(r){Fe()&&r&&(r.stopPropagation(),r.preventDefault())},Te=function(){return pt(Fe)},Yr=function(r){var t=r.target,n=r.currentTarget;n.contains(t)||No(n,t)},ko=function(){return null},Lo=function(r){var t=r.children;return Hr.createElement("div",{onBlur:Te,onFocus:Yr},t)};Lo.propTypes={};var Zr=function(){le="just",setTimeout(function(){le="meanwhile"},0)},jo=function(){document.addEventListener("focusin",qr),document.addEventListener("focusout",Te),window.addEventListener("blur",Zr)},Bo=function(){document.removeEventListener("focusin",qr),document.removeEventListener("focusout",Te),window.removeEventListener("blur",Zr)};function Mo(e){return e.filter(function(r){var t=r.disabled;return!t})}function Wo(e){var r=e.slice(-1)[0];r&&!H&&jo();var t=H,n=t&&r&&r.id===t.id;H=r,t&&!n&&(t.onDeactivation(),e.filter(function(o){var i=o.id;return i===t.id}).length||t.returnFocus(!r)),r?($=null,(!n||t.observed!==r.observed)&&r.onActivation(),Fe(!0),pt(Fe)):(Bo(),$=null)}Oe.assignSyncMedium(Yr);xe.assignMedium(Te);Cr.assignMedium(function(e){return e({moveFocusInside:mt,focusInside:Pe})});var Xr=Fr(Mo,Wo)(ko);var Kr=Ie.forwardRef(function(r,t){return Ie.createElement(Ze,F({sideCar:Xr,ref:t},r))}),zr=Ze.propTypes||{},Uu=zr.sideCar,Hu=He(zr,["sideCar"]);Kr.propTypes={};var Qr=Kr;var Jr=Qr;var Sn=R(wn(),1),{__extends:Ku,__assign:Z,__rest:En,__decorate:zu,__param:Qu,__metadata:Ju,__awaiter:ec,__generator:tc,__exportStar:rc,__createBinding:nc,__values:oc,__read:ac,__spread:ic,__spreadArrays:uc,__await:cc,__asyncGenerator:lc,__asyncDelegator:fc,__asyncValues:sc,__makeTemplateObject:dc,__importStar:mc,__importDefault:pc,__classPrivateFieldGet:vc,__classPrivateFieldSet:hc}=Sn.default;var Me=R(require("react"));var x=R(require("react"));var A="right-scroll-bar-position",k="width-before-scroll-bar",ht="with-scroll-bars-hidden";var Le=oe();var yt=function(){},fe=x.forwardRef(function(e,r){var t=x.useRef(null),n=x.useState({onScrollCapture:yt,onWheelCapture:yt,onTouchMoveCapture:yt}),o=n[0],i=n[1],u=e.forwardProps,a=e.children,c=e.className,f=e.removeScrollBar,s=e.enabled,l=e.shards,p=e.sideCar,v=e.noIsolation,m=e.inert,d=e.allowPinchZoom,h=e.as,g=h===void 0?"div":h,S=En(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),E=p,O=re([t,r]),_=Z({},S,o);return x.createElement(x.Fragment,null,s&&x.createElement(E,{sideCar:Le,removeScrollBar:f,shards:l,noIsolation:v,inert:m,setCallbacks:i,allowPinchZoom:!!d,lockRef:t}),u?x.cloneElement(x.Children.only(a),Z({},_,{ref:O})):x.createElement(g,Z({},_,{className:c,ref:O}),a))});fe.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};fe.classNames={fullWidth:k,zeroRight:A};var b=R(require("react"));var X=R(require("react"));var Pn=R(require("react"));var xn;var Rn=function(){if(xn)return xn;if(typeof __webpack_nonce__!="undefined")return __webpack_nonce__};function Vo(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var r=Rn();return r&&e.setAttribute("nonce",r),e}function Go(e,r){e.styleSheet?e.styleSheet.cssText=r:e.appendChild(document.createTextNode(r))}function Uo(e){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(e)}var bt=function(){var e=0,r=null;return{add:function(t){e==0&&(r=Vo())&&(Go(r,t),Uo(r)),e++},remove:function(){e--,!e&&r&&(r.parentNode&&r.parentNode.removeChild(r),r=null)}}};var gt=function(){var e=bt();return function(r){Pn.useEffect(function(){return e.add(r),function(){e.remove()}},[])}};var se=function(){var e=gt(),r=function(t){var n=t.styles;return e(n),null};return r};var Ho={left:0,top:0,right:0,gap:0},_t=function(e){return parseInt(e||"",10)||0},$o=function(e){var r=window.getComputedStyle(document.body),t=r[e==="padding"?"paddingLeft":"marginLeft"],n=r[e==="padding"?"paddingTop":"marginTop"],o=r[e==="padding"?"paddingRight":"marginRight"];return[_t(t),_t(n),_t(o)]},je=function(e){if(e===void 0&&(e="margin"),typeof window=="undefined")return Ho;var r=$o(e),t=document.documentElement.clientWidth,n=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,n-t+r[2]-r[0])}};var qo=se(),Yo=function(e,r,t,n){var o=e.left,i=e.top,u=e.right,a=e.gap;return t===void 0&&(t="margin"),`
.`+ht+` {
overflow: hidden `+n+`;
padding-right: `+u+"px "+n+`;
padding-right: `+a+"px "+n+`;
}
body {
overflow: hidden `+n+`;
`+[t&&"position: relative "+n+";",r==="margin"&&`
`+[r&&"position: relative "+n+";",t==="margin"&&`
padding-left: `+o+`px;
padding-top: `+a+`px;
padding-right: `+i+`px;
padding-top: `+i+`px;
padding-right: `+u+`px;
margin-left:0;
margin-top:0;
margin-right: `+u+"px "+n+`;
`,r==="padding"&&"padding-right: "+u+"px "+n+";"].filter(Boolean).join("")+`
margin-right: `+a+"px "+n+`;
`,t==="padding"&&"padding-right: "+a+"px "+n+";"].filter(Boolean).join("")+`
}
.`+A+` {
right: `+u+"px "+n+`;
right: `+a+"px "+n+`;
}
.`+L+` {
margin-right: `+u+"px "+n+`;
.`+k+` {
margin-right: `+a+"px "+n+`;
}

@@ -31,22 +31,22 @@

.`+L+" ."+L+` {
.`+k+" ."+k+` {
margin-right: 0 `+n+`;
}
`},gt=function(e){var t=Y.useState(Fe(e.gapMode)),r=t[0],n=t[1];Y.useEffect(function(){n(Fe(e.gapMode))},[e.gapMode]);var o=e.noRelative,a=e.noImportant,i=e.gapMode,u=i===void 0?"margin":i;return Y.createElement(Jn,{styles:eo(r,!o,u,a?"":"!important")})};var to=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},ro=function(e){var t=window.getComputedStyle(e);return e.type==="range"?!0:t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},bt=function(e,t){var r=t;do{typeof ShadowRoot!="undefined"&&r instanceof ShadowRoot&&(r=r.host);var n=Tr(e,r);if(n){var o=Ir(e,r),a=o[1],i=o[2];if(a>i)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},no=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},oo=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Tr=function(e,t){return e==="v"?to(t):ro(t)},Ir=function(e,t){return e==="v"?no(t):oo(t)},ao=function(e,t){return e==="h"&&t==="rtl"?-1:1},kr=function(e,t,r,n,o){var a=ao(e,window.getComputedStyle(t).direction),i=a*n,u=r.target,f=t.contains(u),l=!1,c=i>0,d=0,v=0;do{var p=Ir(e,u),h=p[0],s=p[1],m=p[2],b=s-m-a*h;(h||b)&&Tr(e,u)&&(d+=b,v+=h),u=u.parentNode}while(!f&&u!==document.body||f&&(t.contains(u)||t===u));return(c&&(o&&d===0||!o&&i>d)||!c&&(o&&v===0||!o&&-i>v))&&(l=!0),l};var xt=!1;if(typeof window!="undefined")try{ce=Object.defineProperty({},"passive",{get:function(){return xt=!0,!0}}),window.addEventListener("test",ce,ce),window.removeEventListener("test",ce,ce)}catch(e){xt=!1}var ce,M=xt?{passive:!1}:!1;var Te=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ar=function(e){return[e.deltaX,e.deltaY]},Lr=function(e){return e&&"current"in e?e.current:e},io=function(e,t){return e[0]===t[0]&&e[1]===t[1]},uo=function(e){return`
`},wt=function(e){var r=X.useState(je(e.gapMode)),t=r[0],n=r[1];X.useEffect(function(){n(je(e.gapMode))},[e.gapMode]);var o=e.noRelative,i=e.noImportant,u=e.gapMode,a=u===void 0?"margin":u;return X.createElement(qo,{styles:Yo(t,!o,a,i?"":"!important")})};var Zo=function(e){var r=window.getComputedStyle(e);return r.overflowY!=="hidden"&&!(r.overflowY===r.overflowX&&r.overflowY==="visible")},Xo=function(e){var r=window.getComputedStyle(e);return e.type==="range"?!0:r.overflowX!=="hidden"&&!(r.overflowY===r.overflowX&&r.overflowX==="visible")},St=function(e,r){var t=r;do{typeof ShadowRoot!="undefined"&&t instanceof ShadowRoot&&(t=t.host);var n=Cn(e,t);if(n){var o=Nn(e,t),i=o[1],u=o[2];if(i>u)return!0}t=t.parentNode}while(t&&t!==document.body);return!1},Ko=function(e){var r=e.scrollTop,t=e.scrollHeight,n=e.clientHeight;return[r,t,n]},zo=function(e){var r=e.scrollLeft,t=e.scrollWidth,n=e.clientWidth;return[r,t,n]},Cn=function(e,r){return e==="v"?Zo(r):Xo(r)},Nn=function(e,r){return e==="v"?Ko(r):zo(r)},Qo=function(e,r){return e==="h"&&r==="rtl"?-1:1},Dn=function(e,r,t,n,o){var i=Qo(e,window.getComputedStyle(r).direction),u=i*n,a=t.target,c=r.contains(a),f=!1,s=u>0,l=0,p=0;do{var v=Nn(e,a),m=v[0],d=v[1],h=v[2],g=d-h-i*m;(m||g)&&Cn(e,a)&&(l+=g,p+=m),a=a.parentNode}while(!c&&a!==document.body||c&&(r.contains(a)||r===a));return(s&&(o&&l===0||!o&&u>l)||!s&&(o&&p===0||!o&&-u>p))&&(f=!0),f};var Et=!1;if(typeof window!="undefined")try{de=Object.defineProperty({},"passive",{get:function(){return Et=!0,!0}}),window.addEventListener("test",de,de),window.removeEventListener("test",de,de)}catch(e){Et=!1}var de,L=Et?{passive:!1}:!1;var Be=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Fn=function(e){return[e.deltaX,e.deltaY]},Tn=function(e){return e&&"current"in e?e.current:e},Jo=function(e,r){return e[0]===r[0]&&e[1]===r[1]},ea=function(e){return`
.block-interactivity-`+e+` {pointer-events: none;}
.allow-interactivity-`+e+` {pointer-events: all;}
`},co=0,Z=[];function Mr(e){var t=g.useRef([]),r=g.useRef([0,0]),n=g.useRef(),o=g.useState(co++)[0],a=g.useState(function(){return ue()})[0],i=g.useRef(e);g.useEffect(function(){i.current=e},[e]),g.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+o);var s=[e.lockRef.current].concat((e.shards||[]).map(Lr)).filter(Boolean);return s.forEach(function(m){return m.classList.add("allow-interactivity-"+o)}),function(){document.body.classList.remove("block-interactivity-"+o),s.forEach(function(m){return m.classList.remove("allow-interactivity-"+o)})}}},[e.inert,e.lockRef.current,e.shards]);var u=g.useCallback(function(s,m){if("touches"in s&&s.touches.length===2)return!i.current.allowPinchZoom;var b=Te(s),_=r.current,S="deltaX"in s?s.deltaX:_[0]-b[0],E="deltaY"in s?s.deltaY:_[1]-b[1],x,B=s.target,D=Math.abs(S)>Math.abs(E)?"h":"v",F=bt(D,B);if(!F)return!0;if(F?x=D:(x=D==="v"?"h":"v",F=bt(D,B)),!F)return!1;if(!n.current&&"changedTouches"in s&&(S||E)&&(n.current=x),!x)return!0;var I=n.current||x;return kr(I,m,s,I==="h"?S:E,!0)},[]),f=g.useCallback(function(s){var m=s;if(!(!Z.length||Z[Z.length-1]!==a)){var b="deltaY"in m?Ar(m):Te(m),_=t.current.filter(function(x){return x.name===m.type&&x.target===m.target&&io(x.delta,b)})[0];if(_&&_.should){m.preventDefault();return}if(!_){var S=(i.current.shards||[]).map(Lr).filter(Boolean).filter(function(x){return x.contains(m.target)}),E=S.length>0?u(m,S[0]):!i.current.noIsolation;E&&m.preventDefault()}}},[]),l=g.useCallback(function(s,m,b,_){var S={name:s,delta:m,target:b,should:_};t.current.push(S),setTimeout(function(){t.current=t.current.filter(function(E){return E!==S})},1)},[]),c=g.useCallback(function(s){r.current=Te(s),n.current=void 0},[]),d=g.useCallback(function(s){l(s.type,Ar(s),s.target,u(s,e.lockRef.current))},[]),v=g.useCallback(function(s){l(s.type,Te(s),s.target,u(s,e.lockRef.current))},[]);g.useEffect(function(){return Z.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:v}),document.addEventListener("wheel",f,M),document.addEventListener("touchmove",f,M),document.addEventListener("touchstart",c,M),function(){Z=Z.filter(function(s){return s!==a}),document.removeEventListener("wheel",f,M),document.removeEventListener("touchmove",f,M),document.removeEventListener("touchstart",c,M)}},[]);var p=e.removeScrollBar,h=e.inert;return g.createElement(g.Fragment,null,h?g.createElement(a,{styles:uo(o)}):null,p?g.createElement(gt,{gapMode:"margin"}):null)}var Br=dt(De,Mr);var jr=Ie.forwardRef(function(e,t){return Ie.createElement(ie,N({},e,{ref:t,sideCar:Br}))});jr.classNames=ie.classNames;var wt=jr;var le=O(Q());function fe(){return fe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fe.apply(this,arguments)}function _t(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}var lo=["as","isOpen"],fo=["allowPinchZoom","as","dangerouslyBypassFocusLock","dangerouslyBypassScrollLock","initialFocusRef","onClick","onDismiss","onKeyDown","onMouseDown","unstable_lockFocusAcrossFrames"],so=["as","onClick","onKeyDown"];var oc={allowPinchZoom:le.default.bool,dangerouslyBypassFocusLock:le.default.bool,dangerouslyBypassScrollLock:le.default.bool,initialFocusRef:function(){return null},onDismiss:le.default.func},Wr=(0,w.forwardRef)(function(t,r){var n=t.as,o=n===void 0?"div":n,a=t.isOpen,i=a===void 0?!0:a,u=_t(t,lo);return It("dialog"),(0,w.useEffect)(function(){i?window.__REACH_DISABLE_TOOLTIPS=!0:window.requestAnimationFrame(function(){window.__REACH_DISABLE_TOOLTIPS=!1})},[i]),i?(0,w.createElement)(Dt,{"data-reach-dialog-wrapper":""},(0,w.createElement)(mo,fe({ref:r,as:o},u))):null}),mo=(0,w.forwardRef)(function(t,r){var n=t.allowPinchZoom,o=t.as,a=o===void 0?"div":o,i=t.dangerouslyBypassFocusLock,u=i===void 0?!1:i,f=t.dangerouslyBypassScrollLock,l=f===void 0?!1:f,c=t.initialFocusRef,d=t.onClick,v=t.onDismiss,p=v===void 0?Be:v,h=t.onKeyDown,s=t.onMouseDown,m=t.unstable_lockFocusAcrossFrames,b=_t(t,fo),_=m!==void 0,S=(0,w.useRef)(null),E=(0,w.useRef)(null),x=Lt(E,r),B=(0,w.useCallback)(function(){c&&c.current&&c.current.focus()},[c]);function D(P){S.current===P.target&&(P.stopPropagation(),p(P))}function F(P){P.key==="Escape"&&(P.stopPropagation(),p(P))}function I(P){S.current=P.target}return(0,w.useEffect)(function(){return E.current?po(E.current):void 0},[]),(0,w.createElement)(Sr,{autoFocus:!0,returnFocus:!0,onActivation:B,disabled:u,crossFrame:m!=null?m:!0},(0,w.createElement)(wt,{allowPinchZoom:n,enabled:!l},(0,w.createElement)(a,fe({},b,{ref:x,"data-reach-dialog-overlay":"",onClick:z(d,D),onKeyDown:z(h,F),onMouseDown:z(s,I)}))))}),Vr=(0,w.forwardRef)(function(t,r){var n=t.as,o=n===void 0?"div":n,a=t.onClick;t.onKeyDown;var i=_t(t,so);return(0,w.createElement)(o,fe({"aria-modal":"true",role:"dialog",tabIndex:-1},i,{ref:r,"data-reach-dialog-content":"",onClick:z(a,function(u){u.stopPropagation()})}))});function po(e){var t=[],r=[],n=Ft(e);return e?(Array.prototype.forEach.call(n.querySelectorAll("body > *"),function(o){var a,i,u=(a=e.parentNode)==null||(i=a.parentNode)==null?void 0:i.parentNode;if(o!==u){var f=o.getAttribute("aria-hidden"),l=f!==null&&f!=="false";l||(t.push(f),r.push(o),o.setAttribute("aria-hidden","true"))}}),function(){r.forEach(function(o,a){var i=t[a];i===null?o.removeAttribute("aria-hidden"):o.setAttribute("aria-hidden",i)})}):Be}module.exports=cn(vo);0&&(module.exports={ModalDialogPrimitiveContent,ModalDialogPrimitiveOverlay});
`},ta=0,K=[];function In(e){var r=b.useRef([]),t=b.useRef([0,0]),n=b.useRef(),o=b.useState(ta++)[0],i=b.useState(function(){return se()})[0],u=b.useRef(e);b.useEffect(function(){u.current=e},[e]),b.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+o);var d=[e.lockRef.current].concat((e.shards||[]).map(Tn)).filter(Boolean);return d.forEach(function(h){return h.classList.add("allow-interactivity-"+o)}),function(){document.body.classList.remove("block-interactivity-"+o),d.forEach(function(h){return h.classList.remove("allow-interactivity-"+o)})}}},[e.inert,e.lockRef.current,e.shards]);var a=b.useCallback(function(d,h){if("touches"in d&&d.touches.length===2)return!u.current.allowPinchZoom;var g=Be(d),S=t.current,E="deltaX"in d?d.deltaX:S[0]-g[0],O="deltaY"in d?d.deltaY:S[1]-g[1],_,j=d.target,N=Math.abs(E)>Math.abs(O)?"h":"v",D=St(N,j);if(!D)return!0;if(D?_=N:(_=N==="v"?"h":"v",D=St(N,j)),!D)return!1;if(!n.current&&"changedTouches"in d&&(E||O)&&(n.current=_),!_)return!0;var T=n.current||_;return Dn(T,h,d,T==="h"?E:O,!0)},[]),c=b.useCallback(function(d){var h=d;if(!(!K.length||K[K.length-1]!==i)){var g="deltaY"in h?Fn(h):Be(h),S=r.current.filter(function(_){return _.name===h.type&&_.target===h.target&&Jo(_.delta,g)})[0];if(S&&S.should){h.preventDefault();return}if(!S){var E=(u.current.shards||[]).map(Tn).filter(Boolean).filter(function(_){return _.contains(h.target)}),O=E.length>0?a(h,E[0]):!u.current.noIsolation;O&&h.preventDefault()}}},[]),f=b.useCallback(function(d,h,g,S){var E={name:d,delta:h,target:g,should:S};r.current.push(E),setTimeout(function(){r.current=r.current.filter(function(O){return O!==E})},1)},[]),s=b.useCallback(function(d){t.current=Be(d),n.current=void 0},[]),l=b.useCallback(function(d){f(d.type,Fn(d),d.target,a(d,e.lockRef.current))},[]),p=b.useCallback(function(d){f(d.type,Be(d),d.target,a(d,e.lockRef.current))},[]);b.useEffect(function(){return K.push(i),e.setCallbacks({onScrollCapture:l,onWheelCapture:l,onTouchMoveCapture:p}),document.addEventListener("wheel",c,L),document.addEventListener("touchmove",c,L),document.addEventListener("touchstart",s,L),function(){K=K.filter(function(d){return d!==i}),document.removeEventListener("wheel",c,L),document.removeEventListener("touchmove",c,L),document.removeEventListener("touchstart",s,L)}},[]);var v=e.removeScrollBar,m=e.inert;return b.createElement(b.Fragment,null,m?b.createElement(i,{styles:ea(o)}):null,v?b.createElement(wt,{gapMode:"margin"}):null)}var An=qe(Le,In);var kn=Me.forwardRef(function(e,r){return Me.createElement(fe,Z({},e,{ref:r,sideCar:An}))});kn.classNames=fe.classNames;var Ot=kn;var me=R(Yt());function pe(){return pe=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},pe.apply(this,arguments)}function xt(e,r){if(e==null)return{};var t={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(r.indexOf(o)>=0)&&(t[o]=e[o]);return t}var ra=["as","isOpen"],na=["allowPinchZoom","as","dangerouslyBypassFocusLock","dangerouslyBypassScrollLock","initialFocusRef","onClick","onDismiss","onKeyDown","onMouseDown","unstable_lockFocusAcrossFrames"],oa=["as","onClick","onKeyDown"];var hl={allowPinchZoom:me.default.bool,dangerouslyBypassFocusLock:me.default.bool,dangerouslyBypassScrollLock:me.default.bool,initialFocusRef:function(){return null},onDismiss:me.default.func},Ln=(0,w.forwardRef)(function(r,t){var n=r.as,o=n===void 0?"div":n,i=r.isOpen,u=i===void 0?!0:i,a=xt(r,ra);return Lt("dialog"),(0,w.useEffect)(function(){u?window.__REACH_DISABLE_TOOLTIPS=!0:window.requestAnimationFrame(function(){window.__REACH_DISABLE_TOOLTIPS=!1})},[u]),u?(0,w.createElement)(It,{"data-reach-dialog-wrapper":""},(0,w.createElement)(aa,pe({ref:t,as:o},a))):null}),aa=(0,w.forwardRef)(function(r,t){var n=r.allowPinchZoom,o=r.as,i=o===void 0?"div":o,u=r.dangerouslyBypassFocusLock,a=u===void 0?!1:u,c=r.dangerouslyBypassScrollLock,f=c===void 0?!1:c,s=r.initialFocusRef,l=r.onClick,p=r.onDismiss,v=p===void 0?Ue:p,m=r.onKeyDown,d=r.onMouseDown,h=r.unstable_lockFocusAcrossFrames,g=xt(r,na),S=h!==void 0,E=(0,w.useRef)(null),O=(0,w.useRef)(null),_=Mt(O,t),j=(0,w.useCallback)(function(){s&&s.current&&s.current.focus()},[s]);function N(C){E.current===C.target&&(C.stopPropagation(),v(C))}function D(C){C.key==="Escape"&&(C.stopPropagation(),v(C))}function T(C){E.current=C.target}return(0,w.useEffect)(function(){return O.current?ia(O.current):void 0},[]),(0,w.createElement)(Jr,{autoFocus:!0,returnFocus:!0,onActivation:j,disabled:a,crossFrame:h!=null?h:!0},(0,w.createElement)(Ot,{allowPinchZoom:n,enabled:!f},(0,w.createElement)(i,pe({},g,{ref:_,"data-reach-dialog-overlay":"",onClick:ee(l,N),onKeyDown:ee(m,D),onMouseDown:ee(d,T)}))))}),jn=(0,w.forwardRef)(function(r,t){var n=r.as,o=n===void 0?"div":n,i=r.onClick;r.onKeyDown;var u=xt(r,oa);return(0,w.createElement)(o,pe({"aria-modal":"true",role:"dialog",tabIndex:-1},u,{ref:t,"data-reach-dialog-content":"",onClick:ee(i,function(a){a.stopPropagation()})}))});function ia(e){var r=[],t=[],n=At(e);return e?(Array.prototype.forEach.call(n.querySelectorAll("body > *"),function(o){var i,u,a=(i=e.parentNode)==null||(u=i.parentNode)==null?void 0:u.parentNode;if(o!==a){var c=o.getAttribute("aria-hidden"),f=c!==null&&c!=="false";f||(r.push(c),t.push(o),o.setAttribute("aria-hidden","true"))}}),function(){t.forEach(function(o,i){var u=r[i];u===null?o.removeAttribute("aria-hidden"):o.setAttribute("aria-hidden",u)})}):Ue}module.exports=no(ua);0&&(module.exports={ModalDialogPrimitiveContent,ModalDialogPrimitiveOverlay});
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
Copyright (c) Microsoft Corporation.
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
{
"name": "@twilio-paste/modal-dialog-primitive",
"version": "0.3.0",
"version": "0.3.1",
"category": "overlay",

@@ -5,0 +5,0 @@ "status": "production",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet