File "3030-frontend.js"
Full Path: /home/jlklyejr/public_html/wp-content/test/wp-content/plugins/woocommerce/assets/client/blocks/3030-frontend.js
File size: 59.63 KB
MIME-type: text/plain
Charset: utf-8
(self.webpackChunkwebpackWcBlocksJsonp=self.webpackChunkwebpackWcBlocksJsonp||[]).push([[3030],{3854:(e,t,n)=>{"use strict";n.d(t,{T:()=>u});var r=n(7608),o=n.n(r);function i(e){return"appear"===e?"top":"left"}function u(e){if("loading"===e.type)return o()("components-animate__loading");const{type:t,origin:n=i(t)}=e;if("appear"===t){const[e,t="center"]=n.split(" ");return o()("components-animate__appear",{["is-from-"+t]:"center"!==t,["is-from-"+e]:"middle"!==e})}return"slide-in"===t?o()("components-animate__slide-in","is-from-"+n):void 0}},9770:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(2314),o=n(9307),i=n(7608),u=n.n(i),a=n(2819),s=n(7180),l=n.n(s),c=n(2858),d=n(9402),f=n(7971);const v=["onMouseDown","onClick"],p=(0,o.forwardRef)((function(e,t){const{href:n,target:i,isSmall:s,isPressed:p,isBusy:m,isDestructive:b,className:g,disabled:h,icon:y,iconPosition:w="left",iconSize:E,showTooltip:_,tooltipPosition:C,shortcut:O,label:I,children:k,text:S,variant:P,__experimentalIsFocusable:T,describedBy:x,...R}=function({isDefault:e,isPrimary:t,isSecondary:n,isTertiary:r,isLink:o,variant:i,...u}){let a=i;var s,c,d,f,v;return t&&(null!==(s=a)&&void 0!==s||(a="primary")),r&&(null!==(c=a)&&void 0!==c||(a="tertiary")),n&&(null!==(d=a)&&void 0!==d||(a="secondary")),e&&(l()("Button isDefault prop",{since:"5.4",alternative:'variant="secondary"'}),null!==(f=a)&&void 0!==f||(a="secondary")),o&&(null!==(v=a)&&void 0!==v||(a="link")),{...u,variant:a}}(e),L=u()("components-button",g,{"is-secondary":"secondary"===P,"is-primary":"primary"===P,"is-small":s,"is-tertiary":"tertiary"===P,"is-pressed":p,"is-busy":m,"is-link":"link"===P,"is-destructive":b,"has-text":!!y&&!!k,"has-icon":!!y}),D=h&&!T,A=void 0===n||D?"button":"a",B="a"===A?{href:n,target:i}:{type:"button",disabled:D,"aria-pressed":p};if(h&&T){B["aria-disabled"]=!0;for(const e of v)R[e]=e=>{e.stopPropagation(),e.preventDefault()}}const F=!D&&(_&&I||O||!!I&&(!k||(0,a.isArray)(k)&&!k.length)&&!1!==_),j=x?(0,a.uniqueId)():null,M=R["aria-describedby"]||j,Z=(0,o.createElement)(A,(0,r.Z)({},B,R,{className:L,"aria-label":R["aria-label"]||I,"aria-describedby":M,ref:t}),y&&"left"===w&&(0,o.createElement)(d.Z,{icon:y,size:E}),S&&(0,o.createElement)(o.Fragment,null,S),y&&"right"===w&&(0,o.createElement)(d.Z,{icon:y,size:E}),k);return F?(0,o.createElement)(o.Fragment,null,(0,o.createElement)(c.Z,{text:x||I,shortcut:O,position:C},Z),x&&(0,o.createElement)(f.Z,null,(0,o.createElement)("span",{id:j},x))):(0,o.createElement)(o.Fragment,null,Z,x&&(0,o.createElement)(f.Z,null,(0,o.createElement)("span",{id:j},x)))}))},6372:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(2314),o=n(9307);const i=function({icon:e,className:t,...n}){const i=["dashicon","dashicons","dashicons-"+e,t].filter(Boolean).join(" ");return(0,o.createElement)("span",(0,r.Z)({className:i},n))}},9402:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(2314),o=n(9307),i=n(444),u=n(6372);const a=function({icon:e=null,size:t=24,...n}){if("string"==typeof e)return(0,o.createElement)(u.Z,(0,r.Z)({icon:e},n));if((0,o.isValidElement)(e)&&u.Z===e.type)return(0,o.cloneElement)(e,{...n});if("function"==typeof e)return e.prototype instanceof o.Component?(0,o.createElement)(e,{size:t,...n}):e({size:t,...n});if(e&&("svg"===e.type||e.type===i.SVG)){const r={width:t,height:t,...e.props,...n};return(0,o.createElement)(i.SVG,r)}return(0,o.isValidElement)(e)?(0,o.cloneElement)(e,{size:t,...n}):e}},8689:(e,t,n)=>{"use strict";n.d(t,{Z:()=>O});var r=n(2314),o=n(9307),i=n(7608),u=n.n(i),a=n(5904),s=n(7180),l=n.n(s),c=n(4333),d=n(7152),f=n(2023),v=n(9770),p=n(9330),m=n(3698),b=n(7031),g=n(3854);const h="Popover";function y(e,t){const{paddingTop:n,paddingBottom:r,paddingLeft:o,paddingRight:i}=(u=t).ownerDocument.defaultView.getComputedStyle(u);var u;const a=n?parseInt(n,10):0,s=r?parseInt(r,10):0,l=o?parseInt(o,10):0,c=i?parseInt(i,10):0;return{x:e.left+l,y:e.top+a,width:e.width-l-c,height:e.height-a-s,left:e.left+l,right:e.right-c,top:e.top+a,bottom:e.bottom-s}}function w(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function E(e,t,n=""){e.style[t]!==n&&(e.style[t]=n)}function _(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}const C=(0,o.forwardRef)((({headerTitle:e,onClose:t,children:n,className:i,noArrow:s=!0,isAlternate:C,position:O="bottom right",range:I,focusOnMount:k="firstElement",anchorRef:S,shouldAnchorIncludePadding:P,anchorRect:T,getAnchorRect:x,expandOnMobile:R,animate:L=!0,onClickOutside:D,onFocusOutside:A,__unstableStickyBoundaryElement:B,__unstableSlotName:F=h,__unstableObserveElement:j,__unstableBoundaryParent:M,__unstableForcePosition:Z,__unstableForceXAlignment:N,...W},H)=>{const U=(0,o.useRef)(null),V=(0,o.useRef)(null),K=(0,o.useRef)(),z=(0,c.useViewportMatch)("medium","<"),[q,G]=(0,o.useState)(),J=(0,m.Z)(F),X=R&&z,[Y,$]=(0,c.useResizeObserver)();s=X||s,(0,o.useLayoutEffect)((()=>{if(X)return _(K.current,"is-without-arrow",s),_(K.current,"is-alternate",C),w(K.current,"data-x-axis"),w(K.current,"data-y-axis"),E(K.current,"top"),E(K.current,"left"),E(V.current,"maxHeight"),void E(V.current,"maxWidth");const e=()=>{if(!K.current||!V.current)return;let e=function(e,t,n,r=!1,o,i){if(t)return t;if(n){if(!e.current)return;const t=n(e.current);return(0,f.cS)(t,t.ownerDocument||e.current.ownerDocument,i)}if(!1!==r){if(!(r&&window.Range&&window.Element&&window.DOMRect))return;if("function"==typeof(null==r?void 0:r.cloneRange))return(0,f.cS)((0,a.getRectangleFromRange)(r),r.endContainer.ownerDocument,i);if("function"==typeof(null==r?void 0:r.getBoundingClientRect)){const e=(0,f.cS)(r.getBoundingClientRect(),r.ownerDocument,i);return o?e:y(e,r)}const{top:e,bottom:t}=r,n=e.getBoundingClientRect(),u=t.getBoundingClientRect(),s=(0,f.cS)(new window.DOMRect(n.left,n.top,n.width,u.bottom-n.top),e.ownerDocument,i);return o?s:y(s,r)}if(!e.current)return;const{parentNode:u}=e.current,s=u.getBoundingClientRect();return o?s:y(s,u)}(U,T,x,S,P,K.current);if(!e)return;const{offsetParent:t,ownerDocument:n}=K.current;let r,o=0;if(t&&t!==n.body){const n=t.getBoundingClientRect();o=n.top,e=new window.DOMRect(e.left-n.left,e.top-n.top,e.width,e.height)}var i;M&&(r=null===(i=K.current.closest(".popover-slot"))||void 0===i?void 0:i.parentNode);const u=$.height?$:V.current.getBoundingClientRect(),{popoverTop:l,popoverLeft:c,xAxis:d,yAxis:v,contentHeight:p,contentWidth:m}=(0,f.sw)(e,u,O,B,K.current,o,r,Z,N);"number"==typeof l&&"number"==typeof c&&(E(K.current,"top",l+"px"),E(K.current,"left",c+"px")),_(K.current,"is-without-arrow",s||"center"===d&&"middle"===v),_(K.current,"is-alternate",C),w(K.current,"data-x-axis",d),w(K.current,"data-y-axis",v),E(V.current,"maxHeight","number"==typeof p?p+"px":""),E(V.current,"maxWidth","number"==typeof m?m+"px":""),G(({left:"right",right:"left"}[d]||"center")+" "+({top:"bottom",bottom:"top"}[v]||"middle"))};e();const{ownerDocument:t}=K.current,{defaultView:n}=t,r=n.setInterval(e,500);let o;const i=()=>{n.cancelAnimationFrame(o),o=n.requestAnimationFrame(e)};n.addEventListener("click",i),n.addEventListener("resize",e),n.addEventListener("scroll",e,!0);const u=function(e){if(e)return e.endContainer?e.endContainer.ownerDocument:e.top?e.top.ownerDocument:e.ownerDocument}(S);let l;return u&&u!==t&&(u.defaultView.addEventListener("resize",e),u.defaultView.addEventListener("scroll",e,!0)),j&&(l=new n.MutationObserver(e),l.observe(j,{attributes:!0})),()=>{n.clearInterval(r),n.removeEventListener("resize",e),n.removeEventListener("scroll",e,!0),n.removeEventListener("click",i),n.cancelAnimationFrame(o),u&&u!==t&&(u.defaultView.removeEventListener("resize",e),u.defaultView.removeEventListener("scroll",e,!0)),l&&l.disconnect()}}),[X,T,x,S,P,O,$,B,j,M]);const Q=(e,n)=>{if("focus-outside"===e&&A)A(n);else if("focus-outside"===e&&D){const e=new window.MouseEvent("click");Object.defineProperty(e,"target",{get:()=>n.relatedTarget}),l()("Popover onClickOutside prop",{since:"5.3",alternative:"onFocusOutside"}),D(e)}else t&&t()},[ee,te]=(0,c.__experimentalUseDialog)({focusOnMount:k,__unstableOnClose:Q,onClose:Q}),ne=(0,c.useMergeRefs)([K,ee,H]),re=Boolean(L&&q)&&(0,g.T)({type:"appear",origin:q});let oe=(0,o.createElement)("div",(0,r.Z)({className:u()("components-popover",i,re,{"is-expanded":X,"is-without-arrow":s,"is-alternate":C})},W,{ref:ne},te,{tabIndex:"-1"}),X&&(0,o.createElement)(p.Z,null),X&&(0,o.createElement)("div",{className:"components-popover__header"},(0,o.createElement)("span",{className:"components-popover__header-title"},e),(0,o.createElement)(v.Z,{className:"components-popover__close",icon:d.Z,onClick:t})),(0,o.createElement)("div",{ref:V,className:"components-popover__content"},(0,o.createElement)("div",{style:{position:"relative"}},Y,n)));return J.ref&&(oe=(0,o.createElement)(b.de,{name:F},oe)),S||T?oe:(0,o.createElement)("span",{ref:U},oe)}));C.Slot=(0,o.forwardRef)((function({name:e=h},t){return(0,o.createElement)(b.g7,{bubblesVirtually:!0,name:e,className:"popover-slot",ref:t})}));const O=C},2023:(e,t,n)=>{"use strict";n.d(t,{cS:()=>u,sw:()=>i});var r=n(5736);const o=10;function i(e,t,n="top",i,u,a,s,l,c){const[d,f="center",v]=n.split(" "),p=function(e,t,n,r,i,u,a,s){const{height:l}=t;if(i){const t=i.getBoundingClientRect().top+l-a;if(e.top<=t)return{yAxis:n,popoverTop:Math.min(e.bottom,t)}}let c=e.top+e.height/2;"bottom"===r?c=e.bottom:"top"===r&&(c=e.top);const d={popoverTop:c,contentHeight:(c-l/2>0?l/2:c)+(c+l/2>window.innerHeight?window.innerHeight-c:l/2)},f={popoverTop:e.top,contentHeight:e.top-o-l>0?l:e.top-o},v={popoverTop:e.bottom,contentHeight:e.bottom+o+l>window.innerHeight?window.innerHeight-o-e.bottom:l};let p,m=n,b=null;if(!i&&!s)if("middle"===n&&d.contentHeight===l)m="middle";else if("top"===n&&f.contentHeight===l)m="top";else if("bottom"===n&&v.contentHeight===l)m="bottom";else{m=f.contentHeight>v.contentHeight?"top":"bottom";const e="top"===m?f.contentHeight:v.contentHeight;b=e!==l?e:null}return p="middle"===m?d.popoverTop:"top"===m?f.popoverTop:v.popoverTop,{yAxis:m,popoverTop:p,contentHeight:b}}(e,t,d,v,i,0,a,l),m=function(e,t,n,o,i,u,a,s,l){const{width:c}=t;"left"===n&&(0,r.isRTL)()?n="right":"right"===n&&(0,r.isRTL)()&&(n="left"),"left"===o&&(0,r.isRTL)()?o="right":"right"===o&&(0,r.isRTL)()&&(o="left");const d=Math.round(e.left+e.width/2),f={popoverLeft:d,contentWidth:(d-c/2>0?c/2:d)+(d+c/2>window.innerWidth?window.innerWidth-d:c/2)};let v=e.left;"right"===o?v=e.right:"middle"===u||l||(v=d);let p=e.right;"left"===o?p=e.left:"middle"===u||l||(p=d);const m={popoverLeft:v,contentWidth:v-c>0?c:v},b={popoverLeft:p,contentWidth:p+c>window.innerWidth?window.innerWidth-p:c};let g,h=n,y=null;if(!i&&!s)if("center"===n&&f.contentWidth===c)h="center";else if("left"===n&&m.contentWidth===c)h="left";else if("right"===n&&b.contentWidth===c)h="right";else{h=m.contentWidth>b.contentWidth?"left":"right";const e="left"===h?m.contentWidth:b.contentWidth;c>window.innerWidth&&(y=window.innerWidth),e!==c&&(h="center",f.popoverLeft=window.innerWidth/2)}if(g="center"===h?f.popoverLeft:"left"===h?m.popoverLeft:b.popoverLeft,a){const e=a.getBoundingClientRect();g=Math.min(g,e.right-c),(0,r.isRTL)()||(g=Math.max(g,0))}return{xAxis:h,popoverLeft:g,contentWidth:y}}(e,t,f,v,i,p.yAxis,s,l,c);return{...m,...p}}function u(e,t,n){const{defaultView:r}=t,{frameElement:o}=r;if(!o||t===n.ownerDocument)return e;const i=o.getBoundingClientRect();return new r.DOMRect(e.left+i.left,e.top+i.top,e.width,e.height)}},7417:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=(0,n(9307).createContext)({state:null,setState:()=>{}})},8174:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ue});var r=n(2314),o=n(9307),i=n(3522),u=n(9196);function a(e){return(0,u.useState)(e)[0]}var s=n(7503),l=n(2006);function c(e){for(var t,n=[[]],r=function(){var e=t.value,r=n.find((function(t){return!t[0]||t[0].groupId===e.groupId}));r?r.push(e):n.push([e])},o=(0,i.b)(e);!(t=o()).done;)r();return n}function d(e){for(var t,n=[],r=(0,i.b)(e);!(t=r()).done;){var o=t.value;n.push.apply(n,o)}return n}function f(e){return e.slice().reverse()}var v=n(3506);function p(e,t){if(t)return null==e?void 0:e.find((function(e){return e.id===t&&!e.disabled}))}function m(e,t){return function(e){return"function"==typeof e}(e)?e(t):e}var b=n(88);function g(e,t){return Boolean(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function h(e,t){return e.findIndex((function(e){return!(!e.ref.current||!t.ref.current)&&g(t.ref.current,e.ref.current)}))}function y(e){for(var t,n=0,r=(0,i.b)(e);!(t=r()).done;){var o=t.value.length;o>n&&(n=o)}return n}function w(e){for(var t=c(e),n=y(t),r=[],o=0;o<n;o+=1)for(var u,a=(0,i.b)(t);!(u=a()).done;){var s=u.value;s[o]&&r.push((0,i.a)((0,i.a)({},s[o]),{},{groupId:s[o].groupId?""+o:void 0}))}return r}function E(e,t,n){for(var r,o=y(e),u=(0,i.b)(e);!(r=u()).done;)for(var a=r.value,s=0;s<o;s+=1){var l=a[s];if(!l||n&&l.disabled){var c=0===s&&n?(0,v.f)(a):a[s-1];a[s]=c&&t!==(null==c?void 0:c.id)&&n?c:{id:"__EMPTY_ITEM__",disabled:!0,ref:{current:null},groupId:null==c?void 0:c.groupId}}}return e}var _={id:null,ref:{current:null}};function C(e,t){return e.filter((function(e){return e.groupId===t}))}var O={horizontal:"vertical",vertical:"horizontal"};function I(e,t,n){return n in e?[].concat(e.slice(0,n),[t],e.slice(n)):[].concat(e,[t])}function k(e){var t=e.map((function(e,t){return[t,e]})),n=!1;return t.sort((function(e,t){var r=e[0],o=e[1],i=t[0],u=t[1],a=o.ref.current,s=u.ref.current;return a&&s?g(a,s)?(r>i&&(n=!0),-1):(r<i&&(n=!0),1):0})),n?t.map((function(e){return e[0],e[1]})):e}function S(e,t){var n=k(e);e!==n&&t(n)}function P(e,t){"function"==typeof IntersectionObserver?function(e,t){var n=(0,u.useRef)([]);(0,u.useEffect)((function(){for(var r,o=function(e){for(var t,n=e[0],r=e.slice(1),o=null==n||null===(t=n.ref.current)||void 0===t?void 0:t.parentElement,i=function(){var e=o;if(r.every((function(t){return e.contains(t.ref.current)})))return{v:o};o=o.parentElement};o;){var u=i();if("object"==typeof u)return u.v}return(0,l.M)(o).body}(e),u=new IntersectionObserver((function(){!!n.current.length&&S(e,t),n.current=e}),{root:o}),a=(0,i.b)(e);!(r=a()).done;){var s=r.value;s.ref.current&&u.observe(s.ref.current)}return function(){u.disconnect()}}),[e])}(e,t):function(e,t){(0,u.useEffect)((function(){var n=setTimeout((function(){return S(e,t)}),250);return function(){return clearTimeout(n)}}))}(e,t)}function T(e,t){var n=e.unstable_virtual,r=e.rtl,o=e.orientation,u=e.items,a=e.groups,s=e.currentId,l=e.loop,b=e.wrap,g=e.pastIds,y=e.shift,S=e.unstable_moves,P=e.unstable_includesBaseElement,x=e.initialVirtual,R=e.initialRTL,L=e.initialOrientation,D=e.initialCurrentId,A=e.initialLoop,B=e.initialWrap,F=e.initialShift,j=e.hasSetCurrentId;switch(t.type){case"registerGroup":var M=t.group;if(0===a.length)return(0,i.a)((0,i.a)({},e),{},{groups:[M]});var Z=h(a,M);return(0,i.a)((0,i.a)({},e),{},{groups:I(a,M,Z)});case"unregisterGroup":var N=t.id,W=a.filter((function(e){return e.id!==N}));return W.length===a.length?e:(0,i.a)((0,i.a)({},e),{},{groups:W});case"registerItem":var H,U=t.item,V=a.find((function(e){var t;return null===(t=e.ref.current)||void 0===t?void 0:t.contains(U.ref.current)})),K=(0,i.a)({groupId:null==V?void 0:V.id},U),z=h(u,K),q=(0,i.a)((0,i.a)({},e),{},{items:I(u,K,z)});return j||S||void 0!==D?q:(0,i.a)((0,i.a)({},q),{},{currentId:null===(H=(0,v.f)(q.items))||void 0===H?void 0:H.id});case"unregisterItem":var G=t.id,J=u.filter((function(e){return e.id!==G}));if(J.length===u.length)return e;var X=g.filter((function(e){return e!==G})),Y=(0,i.a)((0,i.a)({},e),{},{pastIds:X,items:J});if(s&&s===G){var $=P?null:(0,v.g)((0,i.a)((0,i.a)({},Y),{},{currentId:X[0]}));return(0,i.a)((0,i.a)({},Y),{},{currentId:$})}return Y;case"move":var Q=t.id;if(void 0===Q)return e;var ee=g.filter((function(e){return e!==s&&e!==Q})),te=s?[s].concat(ee):ee,ne=(0,i.a)((0,i.a)({},e),{},{pastIds:te});if(null===Q)return(0,i.a)((0,i.a)({},ne),{},{unstable_moves:S+1,currentId:(0,v.g)(ne,Q)});var re=p(u,Q);return(0,i.a)((0,i.a)({},ne),{},{unstable_moves:re?S+1:S,currentId:(0,v.g)(ne,null==re?void 0:re.id)});case"next":if(null==s)return T(e,(0,i.a)((0,i.a)({},t),{},{type:"first"}));var oe=r&&"vertical"!==o,ie=oe?f(u):u,ue=ie.find((function(e){return e.id===s}));if(!ue)return T(e,(0,i.a)((0,i.a)({},t),{},{type:"first"}));var ae=!!ue.groupId,se=ie.indexOf(ue),le=ie.slice(se+1),ce=C(le,ue.groupId);if(t.allTheWay){var de=(0,v.f)(oe?C(ie,ue.groupId):f(ce));return T(e,(0,i.a)((0,i.a)({},t),{},{type:"move",id:null==de?void 0:de.id}))}var fe=function(e){return e&&O[e]}(ae?o||"horizontal":o),ve=l&&l!==fe,pe=ae&&b&&b!==fe,me=t.hasNullItem||!ae&&ve&&P;if(ve){var be=function(e,t,n){var r=e.findIndex((function(e){return e.id===t}));return[].concat(e.slice(r+1),n?[_]:[],e.slice(0,r))}(pe&&!me?ie:C(ie,ue.groupId),s,me),ge=(0,v.f)(be,s);return T(e,(0,i.a)((0,i.a)({},t),{},{type:"move",id:null==ge?void 0:ge.id}))}if(pe){var he=(0,v.f)(me?ce:le,s),ye=me?(null==he?void 0:he.id)||null:null==he?void 0:he.id;return T(e,(0,i.a)((0,i.a)({},t),{},{type:"move",id:ye}))}var we=(0,v.f)(ce,s);return T(e,!we&&me?(0,i.a)((0,i.a)({},t),{},{type:"move",id:null}):(0,i.a)((0,i.a)({},t),{},{type:"move",id:null==we?void 0:we.id}));case"previous":var Ee=!a.length&&P,_e=T((0,i.a)((0,i.a)({},e),{},{items:f(u)}),(0,i.a)((0,i.a)({},t),{},{type:"next",hasNullItem:Ee}));return(0,i.a)((0,i.a)({},_e),{},{items:u});case"down":var Ce=y&&!t.allTheWay,Oe=w(d(E(c(u),s,Ce))),Ie=l&&"horizontal"!==l&&P,ke=T((0,i.a)((0,i.a)({},e),{},{orientation:"vertical",items:Oe}),(0,i.a)((0,i.a)({},t),{},{type:"next",hasNullItem:Ie}));return(0,i.a)((0,i.a)({},ke),{},{orientation:o,items:u});case"up":var Se=y&&!t.allTheWay,Pe=w(f(d(E(c(u),s,Se)))),Te=P,xe=T((0,i.a)((0,i.a)({},e),{},{orientation:"vertical",items:Pe}),(0,i.a)((0,i.a)({},t),{},{type:"next",hasNullItem:Te}));return(0,i.a)((0,i.a)({},xe),{},{orientation:o,items:u});case"first":var Re=(0,v.f)(u);return T(e,(0,i.a)((0,i.a)({},t),{},{type:"move",id:null==Re?void 0:Re.id}));case"last":var Le=T((0,i.a)((0,i.a)({},e),{},{items:f(u)}),(0,i.a)((0,i.a)({},t),{},{type:"first"}));return(0,i.a)((0,i.a)({},Le),{},{items:u});case"sort":return(0,i.a)((0,i.a)({},e),{},{items:k(u),groups:k(a)});case"setVirtual":return(0,i.a)((0,i.a)({},e),{},{unstable_virtual:m(t.virtual,n)});case"setRTL":return(0,i.a)((0,i.a)({},e),{},{rtl:m(t.rtl,r)});case"setOrientation":return(0,i.a)((0,i.a)({},e),{},{orientation:m(t.orientation,o)});case"setCurrentId":var De=(0,v.g)((0,i.a)((0,i.a)({},e),{},{currentId:m(t.currentId,s)}));return(0,i.a)((0,i.a)({},e),{},{currentId:De,hasSetCurrentId:!0});case"setLoop":return(0,i.a)((0,i.a)({},e),{},{loop:m(t.loop,l)});case"setWrap":return(0,i.a)((0,i.a)({},e),{},{wrap:m(t.wrap,b)});case"setShift":return(0,i.a)((0,i.a)({},e),{},{shift:m(t.shift,y)});case"setIncludesBaseElement":return(0,i.a)((0,i.a)({},e),{},{unstable_includesBaseElement:m(t.includesBaseElement,P)});case"reset":return(0,i.a)((0,i.a)({},e),{},{unstable_virtual:x,rtl:R,orientation:L,currentId:(0,v.g)((0,i.a)((0,i.a)({},e),{},{currentId:D})),loop:A,wrap:B,shift:F,unstable_moves:0,pastIds:[]});case"setItems":return(0,i.a)((0,i.a)({},e),{},{items:t.items});default:throw new Error}}function x(e){return(0,u.useCallback)(e,[])}var R=n(5717),L=n(8036),D=(n(3909),n(698)),A=n(9916),B=n(1752),F=n(5959),j=n(8348),M=n(8818),Z=n(1831),N=n(8569);function W(e,t,n){return void 0===n&&(n={}),"function"==typeof FocusEvent?new FocusEvent(t,n):(0,N.y)(e,t,n)}function H(e,t){var n=W(e,"blur",t),r=e.dispatchEvent(n),o=(0,Z.a)((0,Z.a)({},t),{},{bubbles:!0});return e.dispatchEvent(W(e,"focusout",o)),r}var U=n(9193);var V=n(1276),K=n(8390),z=V.N&&"msCrypto"in window,q=n(5911),G=n(502),J=V.N&&"msCrypto"in window;function X(e,t,n){var r=(0,B.c)(n);return(0,u.useCallback)((function(n){var o,i,u,a;if(null===(o=r.current)||void 0===o||o.call(r,n),!n.defaultPrevented&&e&&function(e){return!!(0,F.U)(e)&&!e.metaKey&&"Tab"!==e.key}(n)){var s=null==t?void 0:t.ref.current;s&&(i=s,u=n.type,a=n,i.dispatchEvent(function(e,t,n){if(void 0===n&&(n={}),"function"==typeof KeyboardEvent)return new KeyboardEvent(t,n);var r=(0,l.M)(e).createEvent("KeyboardEvent");return r.initKeyboardEvent(t,n.bubbles,n.cancelable,(0,U.J)(e),n.key,n.location,n.ctrlKey,n.altKey,n.shiftKey,n.metaKey),r}(i,u,a))||n.preventDefault(),n.currentTarget.contains(s)&&n.stopPropagation())}}),[e,t])}function Y(e,t){return null==e?void 0:e.some((function(e){return!!t&&e.ref.current===t}))}var $=(0,L.B)({name:"Composite",compose:[M.u],keys:q.C,useOptions:function(e){return(0,i.a)((0,i.a)({},e),{},{currentId:(0,v.g)(e)})},useProps:function(e,t){var n=t.ref,r=t.onFocusCapture,o=t.onFocus,a=t.onBlurCapture,s=t.onKeyDown,m=t.onKeyDownCapture,b=t.onKeyUpCapture,g=(0,i._)(t,["ref","onFocusCapture","onFocus","onBlurCapture","onKeyDown","onKeyDownCapture","onKeyUpCapture"]),h=(0,u.useRef)(null),y=p(e.items,e.currentId),w=(0,u.useRef)(null),E=(0,B.c)(r),_=(0,B.c)(o),C=(0,B.c)(a),O=(0,B.c)(s),I=function(e){var t=(0,B.c)(e),n=(0,u.useReducer)((function(e){return e+1}),0),r=n[0],o=n[1];return(0,u.useEffect)((function(){var e,n=null===(e=t.current)||void 0===e?void 0:e.ref.current;r&&n&&(0,G.u)(n)}),[r]),o}(y),k=J?function(e){var t=(0,u.useRef)(null);return(0,u.useEffect)((function(){var n=(0,l.M)(e.current),r=function(e){var n=e.target;t.current=n};return n.addEventListener("focus",r,!0),function(){n.removeEventListener("focus",r,!0)}}),[]),t}(h):void 0;(0,u.useEffect)((function(){var t=h.current;e.unstable_moves&&!y&&(null==t||t.focus())}),[e.unstable_moves,y]);var S=X(e.unstable_virtual,y,m),P=X(e.unstable_virtual,y,b),T=(0,u.useCallback)((function(t){var n;if(null===(n=E.current)||void 0===n||n.call(E,t),!t.defaultPrevented&&e.unstable_virtual){var r=(null==k?void 0:k.current)||t.relatedTarget,o=Y(e.items,r);(0,F.U)(t)&&o&&(t.stopPropagation(),w.current=r)}}),[e.unstable_virtual,e.items]),x=(0,u.useCallback)((function(t){var n;if(null===(n=_.current)||void 0===n||n.call(_,t),!t.defaultPrevented)if(e.unstable_virtual)(0,F.U)(t)&&I();else if((0,F.U)(t)){var r;null===(r=e.setCurrentId)||void 0===r||r.call(e,null)}}),[e.unstable_virtual,e.setCurrentId]),R=(0,u.useCallback)((function(t){var n;if(null===(n=C.current)||void 0===n||n.call(C,t),!t.defaultPrevented&&e.unstable_virtual){var r=(null==y?void 0:y.ref.current)||null,o=function(e){return z?(0,K.v)(e.currentTarget):e.relatedTarget}(t),i=Y(e.items,o);(0,F.U)(t)&&i?(o===r?w.current&&w.current!==o&&H(w.current,t):r&&H(r,t),t.stopPropagation()):!Y(e.items,t.target)&&r&&H(r,t)}}),[e.unstable_virtual,e.items,y]),L=(0,u.useCallback)((function(t){var n,r;if(null===(n=O.current)||void 0===n||n.call(O,t),!t.defaultPrevented&&null===e.currentId&&(0,F.U)(t)){var o="horizontal"!==e.orientation,i="vertical"!==e.orientation,u=!(null===(r=e.groups)||void 0===r||!r.length),a={ArrowUp:(u||o)&&function(){if(u){var t,n=(o=e.items,(0,v.f)(d(f(c(o)))));null!=n&&n.id&&(null===(t=e.move)||void 0===t||t.call(e,n.id))}else{var r;null===(r=e.last)||void 0===r||r.call(e)}var o},ArrowRight:(u||i)&&e.first,ArrowDown:(u||o)&&e.first,ArrowLeft:(u||i)&&e.last,Home:e.first,End:e.last,PageUp:e.first,PageDown:e.last}[t.key];a&&(t.preventDefault(),a())}}),[e.currentId,e.orientation,e.groups,e.items,e.move,e.last,e.first]);return(0,i.a)({ref:(0,A.c)(h,n),id:e.baseId,onFocus:x,onFocusCapture:T,onBlurCapture:R,onKeyDownCapture:S,onKeyDown:L,onKeyUpCapture:P,"aria-activedescendant":e.unstable_virtual&&(null==y?void 0:y.id)||void 0},g)},useComposeProps:function(e,t){t=(0,j.q)(e,t,!0);var n=(0,M.u)(e,t,!0);return e.unstable_virtual||null===e.currentId?(0,i.a)({tabIndex:0},n):(0,i.a)((0,i.a)({},t),{},{ref:n.ref})}}),Q=((0,R.L)({as:"div",useHook:$,useCreateElement:function(e,t,n){return(0,D.C)(e,t,n)}}),n(6936)),ee=(0,L.B)({name:"RadioGroup",compose:$,keys:Q.a,useProps:function(e,t){return(0,i.a)({role:"radiogroup"},t)}}),te=(0,R.L)({as:"div",useHook:ee,useCreateElement:function(e,t,n){return(0,D.C)(e,t,n)}}),ne=n(7608),re=n.n(ne);const oe=(0,o.forwardRef)((function({className:e,...t},n){const i=re()("components-button-group",e);return(0,o.createElement)("div",(0,r.Z)({ref:n,role:"group",className:i},t))}));var ie=n(7417);const ue=(0,o.forwardRef)((function({label:e,checked:t,defaultChecked:n,disabled:l,onChange:c,...d},f){const v=function(e){void 0===e&&(e={});var t=a(e),n=t.state,r=t.loop,o=void 0===r||r,l=(0,i._)(t,["state","loop"]),c=(0,u.useState)(n),d=c[0],f=c[1],v=function(e){void 0===e&&(e={});var t=a(e),n=t.unstable_virtual,r=void 0!==n&&n,o=t.rtl,l=void 0!==o&&o,c=t.orientation,d=t.currentId,f=t.loop,v=void 0!==f&&f,p=t.wrap,m=void 0!==p&&p,g=t.shift,h=void 0!==g&&g,y=t.unstable_includesBaseElement,w=function(e){void 0===e&&(e={});var t=a(e).baseId,n=(0,u.useContext)(b.U),r=(0,u.useRef)(0),o=(0,u.useState)((function(){return t||n()}));return{baseId:o[0],setBaseId:o[1],unstable_idCountRef:r}}((0,i._)(t,["unstable_virtual","rtl","orientation","currentId","loop","wrap","shift","unstable_includesBaseElement"])),E=(0,u.useReducer)(T,{unstable_virtual:r,rtl:l,orientation:c,items:[],groups:[],currentId:d,loop:v,wrap:m,shift:h,unstable_moves:0,pastIds:[],unstable_includesBaseElement:null!=y?y:null===d,initialVirtual:r,initialRTL:l,initialOrientation:c,initialCurrentId:d,initialLoop:v,initialWrap:m,initialShift:h}),_=E[0],C=(_.pastIds,_.initialVirtual,_.initialRTL,_.initialOrientation,_.initialCurrentId,_.initialLoop,_.initialWrap,_.initialShift,_.hasSetCurrentId,(0,i._)(_,["pastIds","initialVirtual","initialRTL","initialOrientation","initialCurrentId","initialLoop","initialWrap","initialShift","hasSetCurrentId"])),O=E[1],I=(0,u.useState)(!1),k=I[0],S=I[1],R=function(){var e=(0,u.useRef)(!1);return(0,s.Y)((function(){return function(){e.current=!0}}),[]),e}(),L=(0,u.useCallback)((function(e){return O({type:"setItems",items:e})}),[]);return P(C.items,L),(0,i.a)((0,i.a)((0,i.a)({},w),C),{},{unstable_hasActiveWidget:k,unstable_setHasActiveWidget:S,registerItem:x((function(e){R.current||O({type:"registerItem",item:e})})),unregisterItem:x((function(e){R.current||O({type:"unregisterItem",id:e})})),registerGroup:x((function(e){R.current||O({type:"registerGroup",group:e})})),unregisterGroup:x((function(e){R.current||O({type:"unregisterGroup",id:e})})),move:x((function(e){return O({type:"move",id:e})})),next:x((function(e){return O({type:"next",allTheWay:e})})),previous:x((function(e){return O({type:"previous",allTheWay:e})})),up:x((function(e){return O({type:"up",allTheWay:e})})),down:x((function(e){return O({type:"down",allTheWay:e})})),first:x((function(){return O({type:"first"})})),last:x((function(){return O({type:"last"})})),sort:x((function(){return O({type:"sort"})})),unstable_setVirtual:x((function(e){return O({type:"setVirtual",virtual:e})})),setRTL:x((function(e){return O({type:"setRTL",rtl:e})})),setOrientation:x((function(e){return O({type:"setOrientation",orientation:e})})),setCurrentId:x((function(e){return O({type:"setCurrentId",currentId:e})})),setLoop:x((function(e){return O({type:"setLoop",loop:e})})),setWrap:x((function(e){return O({type:"setWrap",wrap:e})})),setShift:x((function(e){return O({type:"setShift",shift:e})})),unstable_setIncludesBaseElement:x((function(e){return O({type:"setIncludesBaseElement",includesBaseElement:e})})),reset:x((function(){return O({type:"reset"})}))})}((0,i.a)((0,i.a)({},l),{},{loop:o}));return(0,i.a)((0,i.a)({},v),{},{state:d,setState:f})}({state:n,baseId:d.id}),p={...v,disabled:l,state:null!=t?t:v.state,setState:null!=c?c:v.setState};return(0,o.createElement)(ie.Z.Provider,{value:p},(0,o.createElement)(te,(0,r.Z)({ref:f,as:oe,"aria-label":e},v,d)))}))},8220:(e,t,n)=>{"use strict";n.d(t,{Z:()=>M});var r=n(2314),o=n(9307),i=n(3522),u=n(5717),a=n(8036),s=n(9196),l=n(9916),c=(n(3909),n(1752)),d=n(8569),f=n(5959),v=n(4186),p=n(1163),m=n(7296),b=n(8818),g=(0,a.B)({name:"Clickable",compose:b.u,keys:["unstable_clickOnEnter","unstable_clickOnSpace"],useOptions:function(e){var t=e.unstable_clickOnEnter,n=void 0===t||t,r=e.unstable_clickOnSpace,o=void 0===r||r,u=(0,i._)(e,["unstable_clickOnEnter","unstable_clickOnSpace"]);return(0,i.a)({unstable_clickOnEnter:n,unstable_clickOnSpace:o},u)},useProps:function(e,t){var n=t.onKeyDown,r=t.onKeyUp,o=(0,i._)(t,["onKeyDown","onKeyUp"]),u=(0,s.useState)(!1),a=u[0],l=u[1],d=(0,c.c)(n),v=(0,c.c)(r),p=(0,s.useCallback)((function(t){var n;if(null===(n=d.current)||void 0===n||n.call(d,t),!t.defaultPrevented&&!e.disabled&&!t.metaKey&&(0,f.U)(t)){var r=e.unstable_clickOnEnter&&"Enter"===t.key,o=e.unstable_clickOnSpace&&" "===t.key;if(r||o){if(function(e){var t=e.currentTarget;return!!e.isTrusted&&((0,m.i)(t)||"INPUT"===t.tagName||"TEXTAREA"===t.tagName||"A"===t.tagName||"SELECT"===t.tagName)}(t))return;t.preventDefault(),r?t.currentTarget.click():o&&l(!0)}}}),[e.disabled,e.unstable_clickOnEnter,e.unstable_clickOnSpace]),b=(0,s.useCallback)((function(t){var n;if(null===(n=v.current)||void 0===n||n.call(v,t),!t.defaultPrevented&&!e.disabled&&!t.metaKey){var r=e.unstable_clickOnSpace&&" "===t.key;a&&r&&(l(!1),t.currentTarget.click())}}),[e.disabled,e.unstable_clickOnSpace,a]);return(0,i.a)({"data-active":a||void 0,onKeyDown:p,onKeyUp:b},o)}}),h=((0,u.L)({as:"button",memo:!0,useHook:g}),n(2006)),y=n(3506),w=n(5911),E=n(502);function _(e){try{var t=e instanceof HTMLInputElement&&null!==e.selectionStart,n="TEXTAREA"===e.tagName,r="true"===e.contentEditable;return t||n||r||!1}catch(e){return!1}}var C=n(8390);function O(e){var t=(0,C.v)(e);if(!t)return!1;if(t===e)return!0;var n=t.getAttribute("aria-activedescendant");return!!n&&n===e.id}var I=n(88),k=[].concat(["baseId","unstable_idCountRef","setBaseId"],["id"]),S=(0,a.B)({keys:k,useOptions:function(e,t){var n=(0,s.useContext)(I.U),r=(0,s.useState)((function(){return e.unstable_idCountRef?(e.unstable_idCountRef.current+=1,"-"+e.unstable_idCountRef.current):e.baseId?"-"+n(""):""}))[0],o=(0,s.useMemo)((function(){return e.baseId||n()}),[e.baseId,n]),u=t.id||e.id||""+o+r;return(0,i.a)((0,i.a)({},e),{},{id:u})},useProps:function(e,t){return(0,i.a)({id:e.id},t)}});function P(e,t){if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement){var n,r=Object.getPrototypeOf(e),o=null===(n=Object.getOwnPropertyDescriptor(r,"value"))||void 0===n?void 0:n.set;o&&(o.call(e,t),function(e,t,n){e.dispatchEvent((0,d.y)(e,"input",{bubbles:!0}))}(e))}}function T(e){return e.querySelector("[data-composite-item-widget]")}(0,u.L)({as:"div",useHook:S});var x=(0,a.B)({name:"CompositeItem",compose:[g,S],keys:w.b,propsAreEqual:function(e,t){if(!t.id||e.id!==t.id)return g.unstable_propsAreEqual(e,t);var n=e.currentId,r=e.unstable_moves,o=(0,i._)(e,["currentId","unstable_moves"]),u=t.currentId,a=t.unstable_moves,s=(0,i._)(t,["currentId","unstable_moves"]);if(u!==n){if(t.id===u||t.id===n)return!1}else if(r!==a)return!1;return g.unstable_propsAreEqual(o,s)},useOptions:function(e){return(0,i.a)((0,i.a)({},e),{},{id:e.id,currentId:(0,y.g)(e),unstable_clickOnSpace:!e.unstable_hasActiveWidget&&e.unstable_clickOnSpace})},useProps:function(e,t){var n,r=t.ref,o=t.tabIndex,u=void 0===o?0:o,a=t.onMouseDown,d=t.onFocus,m=t.onBlurCapture,b=t.onKeyDown,g=t.onClick,y=(0,i._)(t,["ref","tabIndex","onMouseDown","onFocus","onBlurCapture","onKeyDown","onClick"]),w=(0,s.useRef)(null),C=e.id,I=e.disabled&&!e.focusable,k=e.currentId===C,S=(0,c.c)(k),x=(0,s.useRef)(!1),R=function(e){return(0,s.useMemo)((function(){var t;return null===(t=e.items)||void 0===t?void 0:t.find((function(t){return e.id&&t.id===e.id}))}),[e.items,e.id])}(e),L=(0,c.c)(a),D=(0,c.c)(d),A=(0,c.c)(m),B=(0,c.c)(b),F=(0,c.c)(g),j=!e.unstable_virtual&&!e.unstable_hasActiveWidget&&k||!(null!==(n=e.items)&&void 0!==n&&n.length);(0,s.useEffect)((function(){var t;if(C)return null===(t=e.registerItem)||void 0===t||t.call(e,{id:C,ref:w,disabled:!!I}),function(){var t;null===(t=e.unregisterItem)||void 0===t||t.call(e,C)}}),[C,I,e.registerItem,e.unregisterItem]),(0,s.useEffect)((function(){var t=w.current;t&&e.unstable_moves&&S.current&&(0,E.u)(t)}),[e.unstable_moves]);var M=(0,s.useCallback)((function(e){var t;null===(t=L.current)||void 0===t||t.call(L,e),(0,E.s)(e.currentTarget,!0)}),[]),Z=(0,s.useCallback)((function(t){var n,r,o=(0,E.h)(t.currentTarget);if((0,E.s)(t.currentTarget,!1),null===(n=D.current)||void 0===n||n.call(D,t),!t.defaultPrevented&&!(0,p.K)(t)&&C&&!function(e,t){if((0,f.U)(e))return!1;for(var n,r=(0,i.b)(t);!(n=r()).done;)if(n.value.ref.current===e.target)return!0;return!1}(t,e.items)&&(null===(r=e.setCurrentId)||void 0===r||r.call(e,C),o&&e.unstable_virtual&&e.baseId&&(0,f.U)(t))){var u=t.target,a=(0,h.M)(u).getElementById(e.baseId);a&&(x.current=!0,function(e,t){var n={},r=n.preventScroll,o=n.isActive,i=void 0===o?O:o;i(e)||(e.focus({preventScroll:r}),i(e)||requestAnimationFrame((function(){e.focus({preventScroll:r})})))}(a))}}),[C,e.items,e.setCurrentId,e.unstable_virtual,e.baseId]),N=(0,s.useCallback)((function(t){var n;null===(n=A.current)||void 0===n||n.call(A,t),t.defaultPrevented||e.unstable_virtual&&x.current&&(x.current=!1,t.preventDefault(),t.stopPropagation())}),[e.unstable_virtual]),W=(0,s.useCallback)((function(t){var n;if((0,f.U)(t)){var r="horizontal"!==e.orientation,o="vertical"!==e.orientation,i=!(null==R||!R.groupId),u={ArrowUp:(i||r)&&e.up,ArrowRight:(i||o)&&e.next,ArrowDown:(i||r)&&e.down,ArrowLeft:(i||o)&&e.previous,Home:function(){var n,r;!i||t.ctrlKey?null===(n=e.first)||void 0===n||n.call(e):null===(r=e.previous)||void 0===r||r.call(e,!0)},End:function(){var n,r;!i||t.ctrlKey?null===(n=e.last)||void 0===n||n.call(e):null===(r=e.next)||void 0===r||r.call(e,!0)},PageUp:function(){var t,n;i?null===(t=e.up)||void 0===t||t.call(e,!0):null===(n=e.first)||void 0===n||n.call(e)},PageDown:function(){var t,n;i?null===(t=e.down)||void 0===t||t.call(e,!0):null===(n=e.last)||void 0===n||n.call(e)}}[t.key];if(u)return t.preventDefault(),void u();if(null===(n=B.current)||void 0===n||n.call(B,t),!t.defaultPrevented)if(1===t.key.length&&" "!==t.key){var a=T(t.currentTarget);a&&_(a)&&(a.focus(),P(a,""))}else if("Delete"===t.key||"Backspace"===t.key){var s=T(t.currentTarget);s&&_(s)&&(t.preventDefault(),P(s,""))}}}),[e.orientation,R,e.up,e.next,e.down,e.previous,e.first,e.last]),H=(0,s.useCallback)((function(e){var t;if(null===(t=F.current)||void 0===t||t.call(F,e),!e.defaultPrevented){var n=T(e.currentTarget);n&&!(0,v.B)(n)&&n.focus()}}),[]);return(0,i.a)({ref:(0,l.c)(w,r),id:C,tabIndex:j?u:-1,"aria-selected":!(!e.unstable_virtual||!k)||void 0,onMouseDown:M,onFocus:Z,onBlurCapture:N,onKeyDown:W,onClick:H},y)}}),R=((0,u.L)({as:"button",memo:!0,useHook:x}),n(6936));function L(e){return void 0!==e.checked?e.checked:void 0!==e.value&&e.state===e.value}function D(e,t){var n=(0,d.y)(e,"change");Object.defineProperties(n,{type:{value:"change"},target:{value:e},currentTarget:{value:e}}),null==t||t(n)}var A=(0,a.B)({name:"Radio",compose:x,keys:R.R,useOptions:function(e,t){var n,r=t.value,o=t.checked,u=e.unstable_clickOnEnter,a=void 0!==u&&u,s=e.unstable_checkOnFocus,l=void 0===s||s,c=(0,i._)(e,["unstable_clickOnEnter","unstable_checkOnFocus"]);return(0,i.a)((0,i.a)({checked:o,unstable_clickOnEnter:a,unstable_checkOnFocus:l},c),{},{value:null!=(n=c.value)?n:r})},useProps:function(e,t){var n=t.ref,r=t.onChange,o=t.onClick,u=(0,i._)(t,["ref","onChange","onClick"]),a=(0,s.useRef)(null),d=(0,s.useState)(!0),f=d[0],v=d[1],p=L(e),m=(0,c.c)(e.currentId===e.id),b=(0,c.c)(r),g=(0,c.c)(o);!function(e){var t=(0,s.useState)((function(){return L(e)}))[0],n=(0,s.useState)(e.currentId)[0],r=e.id,o=e.setCurrentId;(0,s.useEffect)((function(){t&&r&&n!==r&&(null==o||o(r))}),[t,r,o,n])}(e),(0,s.useEffect)((function(){var e=a.current;e&&("INPUT"===e.tagName&&"radio"===e.type||v(!1))}),[]);var h=(0,s.useCallback)((function(t){var n,r;null===(n=b.current)||void 0===n||n.call(b,t),t.defaultPrevented||e.disabled||null===(r=e.setState)||void 0===r||r.call(e,e.value)}),[e.disabled,e.setState,e.value]),y=(0,s.useCallback)((function(e){var t;null===(t=g.current)||void 0===t||t.call(g,e),e.defaultPrevented||f||D(e.currentTarget,h)}),[h,f]);return(0,s.useEffect)((function(){var t=a.current;t&&e.unstable_moves&&m.current&&e.unstable_checkOnFocus&&D(t,h)}),[e.unstable_moves,e.unstable_checkOnFocus,h]),(0,i.a)({ref:(0,l.c)(a,n),role:f?void 0:"radio",type:f?"radio":void 0,value:f?e.value:void 0,name:f?e.baseId:void 0,"aria-checked":p,checked:p,onChange:h,onClick:y},u)}}),B=(0,u.L)({as:"input",memo:!0,useHook:A}),F=n(9770),j=n(7417);const M=(0,o.forwardRef)((function({children:e,value:t,...n},i){const u=(0,o.useContext)(j.Z),a=u.state===t;return(0,o.createElement)(B,(0,r.Z)({ref:i,as:F.Z,variant:a?"primary":"secondary",value:t},u,n),e||t)}))},9330:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9307);let o=0;function i(e){const t=document.scrollingElement||document.body;e&&(o=t.scrollTop);const n=e?"add":"remove";t.classList[n]("lockscroll"),document.documentElement.classList[n]("lockscroll"),e||(t.scrollTop=o)}let u=0;function a(){return(0,r.useEffect)((()=>(0===u&&i(!0),++u,()=>{1===u&&i(!1),--u})),[]),null}},1202:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(9307),o=n(2819);const i=function({shortcut:e,className:t}){if(!e)return null;let n,i;return(0,o.isString)(e)&&(n=e),(0,o.isObject)(e)&&(n=e.display,i=e.ariaLabel),(0,r.createElement)("span",{className:t,"aria-label":i},n)}},9183:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(9307),o=n(3698);function i(){const[,e]=(0,r.useState)({}),t=(0,r.useRef)(!0);return(0,r.useEffect)((()=>()=>{t.current=!1}),[]),()=>{t.current&&e({})}}function u({name:e,children:t}){const n=(0,o.Z)(e),u=(0,r.useRef)({rerender:i()});return(0,r.useEffect)((()=>(n.registerFill(u),()=>{n.unregisterFill(u)})),[n.registerFill,n.unregisterFill]),n.ref&&n.ref.current?("function"==typeof t&&(t=t(n.fillProps)),(0,r.createPortal)(t,n.ref.current)):null}},4745:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9307);n(2560);const o=(0,r.createContext)({slots:{},fills:{},registerSlot:()=>{"undefined"!=typeof process&&process.env},updateSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{}})},942:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(2314),o=n(9307),i=n(4333),u=n(4745);const a=(0,o.forwardRef)((function({name:e,fillProps:t={},as:n="div",...a},s){const l=(0,o.useContext)(u.Z),c=(0,o.useRef)();return(0,o.useLayoutEffect)((()=>(l.registerSlot(e,c,t),()=>{l.unregisterSlot(e,c)})),[l.registerSlot,l.unregisterSlot,e]),(0,o.useLayoutEffect)((()=>{l.updateSlot(e,t)})),(0,o.createElement)(n,(0,r.Z)({ref:(0,i.useMergeRefs)([s,c])},a))}))},3698:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(9307),o=n(4745);function i(e){const t=(0,r.useContext)(o.Z),n=t.slots[e]||{},i=t.fills[e],u=(0,r.useMemo)((()=>i||[]),[i]);return{...n,updateSlot:(0,r.useCallback)((n=>{t.updateSlot(e,n)}),[e,t.updateSlot]),unregisterSlot:(0,r.useCallback)((n=>{t.unregisterSlot(e,n)}),[e,t.unregisterSlot]),fills:u,registerFill:(0,r.useCallback)((n=>{t.registerFill(e,n)}),[e,t.registerFill]),unregisterFill:(0,r.useCallback)((n=>{t.unregisterFill(e,n)}),[e,t.unregisterFill])}}},2146:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=(0,n(9307).createContext)({registerSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},getSlot:()=>{},getFills:()=>{},subscribe:()=>{}})},4011:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(2314),o=n(9307),i=n(2819),u=n(2146),a=n(293);function s({name:e,children:t,registerFill:n,unregisterFill:r}){const u=(0,a.Z)(e),s=(0,o.useRef)({name:e,children:t});return(0,o.useLayoutEffect)((()=>(n(e,s.current),()=>r(e,s.current))),[]),(0,o.useLayoutEffect)((()=>{s.current.children=t,u&&u.forceUpdate()}),[t]),(0,o.useLayoutEffect)((()=>{e!==s.current.name&&(r(s.current.name,s.current),s.current.name=e,n(e,s.current))}),[e]),u&&u.node?((0,i.isFunction)(t)&&(t=t(u.props.fillProps)),(0,o.createPortal)(t,u.node)):null}const l=e=>(0,o.createElement)(u.Z.Consumer,null,(({registerFill:t,unregisterFill:n})=>(0,o.createElement)(s,(0,r.Z)({},e,{registerFill:t,unregisterFill:n}))))},7031:(e,t,n)=>{"use strict";n.d(t,{de:()=>l,g7:()=>c});var r=n(2314),o=n(9307),i=n(4011),u=n(9137),a=n(9183),s=n(942);function l(e){return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(i.Z,e),(0,o.createElement)(a.Z,e))}const c=(0,o.forwardRef)((({bubblesVirtually:e,...t},n)=>e?(0,o.createElement)(s.Z,(0,r.Z)({},t,{ref:n})):(0,o.createElement)(u.Z,t)))},9137:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(2314),o=n(9307),i=n(2819),u=n(2146);class a extends o.Component{constructor(){super(...arguments),this.isUnmounted=!1,this.bindNode=this.bindNode.bind(this)}componentDidMount(){const{registerSlot:e}=this.props;e(this.props.name,this)}componentWillUnmount(){const{unregisterSlot:e}=this.props;this.isUnmounted=!0,e(this.props.name,this)}componentDidUpdate(e){const{name:t,unregisterSlot:n,registerSlot:r}=this.props;e.name!==t&&(n(e.name),r(t,this))}bindNode(e){this.node=e}forceUpdate(){this.isUnmounted||super.forceUpdate()}render(){const{children:e,name:t,fillProps:n={},getFills:r}=this.props,u=(0,i.map)(r(t,this),(e=>{const t=(0,i.isFunction)(e.children)?e.children(n):e.children;return o.Children.map(t,((e,t)=>{if(!e||(0,i.isString)(e))return e;const n=e.key||t;return(0,o.cloneElement)(e,{key:n})}))})).filter((0,i.negate)(o.isEmptyElement));return(0,o.createElement)(o.Fragment,null,(0,i.isFunction)(e)?e(u):u)}}const s=e=>(0,o.createElement)(u.Z.Consumer,null,(({registerSlot:t,unregisterSlot:n,getFills:i})=>(0,o.createElement)(a,(0,r.Z)({},e,{registerSlot:t,unregisterSlot:n,getFills:i}))))},293:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(9307),o=n(2146);const i=e=>{const{getSlot:t,subscribe:n}=(0,r.useContext)(o.Z),[i,u]=(0,r.useState)(t(e));return(0,r.useEffect)((()=>(u(t(e)),n((()=>{u(t(e))})))),[e]),i}},2858:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(9307),o=n(2819),i=n(4333),u=n(8689),a=n(1202);const s=(0,r.createElement)("div",{className:"event-catcher"}),l=({eventHandlers:e,child:t,childrenWithPopover:n})=>(0,r.cloneElement)((0,r.createElement)("span",{className:"disabled-element-wrapper"},(0,r.cloneElement)(s,e),(0,r.cloneElement)(t,{children:n}),","),e),c=({child:e,eventHandlers:t,childrenWithPopover:n})=>(0,r.cloneElement)(e,{...t,children:n}),d=(e,t,n)=>{if(1!==r.Children.count(e))return;const o=r.Children.only(e);"function"==typeof o.props[t]&&o.props[t](n)},f=function({children:e,position:t,text:n,shortcut:s}){const[f,v]=(0,r.useState)(!1),[p,m]=(0,r.useState)(!1),b=(0,i.useDebounce)(m,700),g=t=>{d(e,"onMouseDown",t),document.addEventListener("mouseup",w),v(!0)},h=t=>{d(e,"onMouseUp",t),document.removeEventListener("mouseup",w),v(!1)},y=e=>"mouseUp"===e?h:"mouseDown"===e?g:void 0,w=y("mouseUp"),E=(t,n)=>r=>{if(d(e,t,r),r.currentTarget.disabled)return;if("focus"===r.type&&f)return;b.cancel();const i=(0,o.includes)(["focus","mouseenter"],r.type);i!==p&&(n?b(i):m(i))},_=()=>{b.cancel(),document.removeEventListener("mouseup",w)};if((0,r.useEffect)((()=>_),[]),1!==r.Children.count(e))return e;const C={onMouseEnter:E("onMouseEnter",!0),onMouseLeave:E("onMouseLeave"),onClick:E("onClick"),onFocus:E("onFocus"),onBlur:E("onBlur"),onMouseDown:y("mouseDown")},O=r.Children.only(e),{children:I,disabled:k}=O.props,S=k?l:c,P=(({grandchildren:e,isOver:t,position:n,text:o,shortcut:i})=>(0,r.concatChildren)(e,t&&(0,r.createElement)(u.Z,{focusOnMount:!1,position:n,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},o,(0,r.createElement)(a.Z,{className:"components-tooltip__shortcut",shortcut:i}))))({grandchildren:I,isOver:p,position:t,text:n,shortcut:s});return S({child:O,eventHandlers:C,childrenWithPopover:P})}},7971:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(7608),o=n.n(r),i=n(9307),u=n(6186);const a=(0,i.forwardRef)((function({as:e="div",className:t,...n},r){return(0,u.k)({as:e,className:o()("components-visually-hidden",t),...n,ref:r})}))},6186:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var r=n(9307);function o({as:e="div",...t}){return"function"==typeof t.children?t.children(t):(0,r.createElement)(e,t)}},7152:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(9307),o=n(444);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}))},31:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(9196),o=n(444);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{d:"M3 6.75C3 5.784 3.784 5 4.75 5H15V7.313l.05.027 5.056 2.73.394.212v3.468a1.75 1.75 0 01-1.75 1.75h-.012a2.5 2.5 0 11-4.975 0H9.737a2.5 2.5 0 11-4.975 0H3V6.75zM13.5 14V6.5H4.75a.25.25 0 00-.25.25V14h.965a2.493 2.493 0 011.785-.75c.7 0 1.332.287 1.785.75H13.5zm4.535 0h.715a.25.25 0 00.25-.25v-2.573l-4-2.16v4.568a2.487 2.487 0 011.25-.335c.7 0 1.332.287 1.785.75zM6.282 15.5a1.002 1.002 0 00.968 1.25 1 1 0 10-.968-1.25zm9 0a1 1 0 101.937.498 1 1 0 00-1.938-.498z"}))},1998:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(9196),o=n(444);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{fillRule:"evenodd",d:"M19.75 11H21V8.667L19.875 4H4.125L3 8.667V11h1.25v8.75h15.5V11zm-1.5 0H5.75v7.25H10V13h4v5.25h4.25V11zm-5.5-5.5h2.067l.486 3.24.028.76H12.75v-4zm-3.567 0h2.067v4H8.669l.028-.76.486-3.24zm7.615 3.1l-.464-3.1h2.36l.806 3.345V9.5h-2.668l-.034-.9zM7.666 5.5h-2.36L4.5 8.845V9.5h2.668l.034-.9.464-3.1z",clipRule:"evenodd"}))},7608:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var u=o.apply(null,n);u&&e.push(u)}}else if("object"===i){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var a in n)r.call(n,a)&&n[a]&&e.push(a)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},6726:(e,t,n)=>{"use strict";n.d(t,{y:()=>r});var r=(0,n(9196).createContext)({})},7749:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}n.d(t,{_:()=>i,a:()=>u,b:()=>s})},5717:(e,t,n)=>{"use strict";n.d(t,{L:()=>f});var r=n(9196),o=n(7749),i=n(698),u=n(1831);function a(e){var t;if(!function(e){return"object"==typeof e&&null!=e}(e))return!1;var n=Object.getPrototypeOf(e);return null==n||(null===(t=n.constructor)||void 0===t?void 0:t.toString())===Object.toString()}function s(e,t){for(var n={},r={},o=0,i=Object.keys(e);o<i.length;o++){var u=i[o];t.indexOf(u)>=0?n[u]=e[u]:r[u]=e[u]}return[n,r]}function l(e,t){if(void 0===t&&(t=[]),!a(e.state))return s(e,t);var n=s(e,[].concat(t,["state"])),r=n[0],o=n[1],i=r.state,l=(0,u._)(r,["state"]);return[(0,u.a)((0,u.a)({},i),l),o]}var c=n(9735);function d(e){return"normalizePropsAreEqualInner"===e.name?e:function(t,n){return a(t.state)&&a(n.state)?e((0,u.a)((0,u.a)({},t.state),t),(0,u.a)((0,u.a)({},n.state),n)):e(t,n)}}function f(e){var t,n=e.as,u=e.useHook,a=e.memo,s=e.propsAreEqual,f=void 0===s?null==u?void 0:u.unstable_propsAreEqual:s,v=e.keys,p=void 0===v?(null==u?void 0:u.__keys)||[]:v,m=e.useCreateElement,b=void 0===m?i.C:m,g=function(e,t){var r=e.as,i=void 0===r?n:r,a=(0,o.a)(e,["as"]);if(u){var s,c=l(a,p),d=c[0],f=c[1],v=u(d,(0,o._)({ref:t},f)),m=v.wrapElement,g=(0,o.a)(v,["wrapElement"]),h=(null===(s=i.render)||void 0===s?void 0:s.__keys)||i.__keys,y=h&&l(a,h)[0],w=y?(0,o._)((0,o._)({},g),y):g,E=b(i,w);return m?m(E):E}return b(i,(0,o._)({ref:t},a))};return t=g,g=(0,r.forwardRef)(t),a&&(g=function(e,t){return(0,r.memo)(e,t)}(g,f&&d(f))),g.__keys=p,g.unstable_propsAreEqual=d(f||c.w),g}},8036:(e,t,n)=>{"use strict";n.d(t,{B:()=>s});var r=n(9196),o=n(6726);function i(e,t){(0,r.useDebugValue)(e);var n=(0,r.useContext)(o.y);return null!=n[e]?n[e]:t}var u=n(7749),a=n(9735);function s(e){var t,n,o,s=(o=e.compose,Array.isArray(o)?o:void 0!==o?[o]:[]),l=function(t,n){if(e.useOptions&&(t=e.useOptions(t,n)),e.name&&(t=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var o="use"+e+"Options";(0,r.useDebugValue)(o);var a=i(o);return a?(0,u._)((0,u._)({},t),a(t,n)):t}(e.name,t,n)),e.compose)for(var o,a=(0,u.b)(s);!(o=a()).done;)t=o.value.__useOptions(t,n);return t},c=function(t,n,o){if(void 0===t&&(t={}),void 0===n&&(n={}),void 0===o&&(o=!1),o||(t=l(t,n)),e.useProps&&(n=e.useProps(t,n)),e.name&&(n=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var o="use"+e+"Props";(0,r.useDebugValue)(o);var u=i(o);return u?u(t,n):n}(e.name,t,n)),e.compose)if(e.useComposeOptions&&(t=e.useComposeOptions(t,n)),e.useComposeProps)n=e.useComposeProps(t,n);else for(var a,c=(0,u.b)(s);!(a=c()).done;)n=(0,a.value)(t,n,!0);var d={},f=n||{};for(var v in f)void 0!==f[v]&&(d[v]=f[v]);return d};c.__useOptions=l;var d=s.reduce((function(e,t){return e.push.apply(e,t.__keys||[]),e}),[]);return c.__keys=[].concat(d,(null===(t=e.useState)||void 0===t?void 0:t.__keys)||[],e.keys||[]),c.unstable_propsAreEqual=e.propsAreEqual||(null===(n=s[0])||void 0===n?void 0:n.unstable_propsAreEqual)||a.w,c}},698:(e,t,n)=>{"use strict";n.d(t,{C:()=>u});var r=n(9196),o=n(6726),i=n(7749),u=function(e,t,n){void 0===n&&(n=t.children);var u=(0,r.useContext)(o.y);return u.useCreateElement?u.useCreateElement(e,t,n):"string"==typeof e&&function(e){return"function"==typeof e}(n)?(t.children,n((0,i.a)(t,["children"]))):(0,r.createElement)(e,t,n)}},1831:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{_:()=>u,a:()=>i})},1276:(e,t,n)=>{"use strict";n.d(t,{N:()=>o});var r,o=(r=(0,n(9193).J)(),Boolean(void 0!==r&&r.document&&r.document.createElement))},2627:(e,t,n)=>{"use strict";function r(e,t){return e===t||e.contains(t)}n.d(t,{r:()=>r})},8569:(e,t,n)=>{"use strict";n.d(t,{y:()=>o});var r=n(2006);function o(e,t,n){if("function"==typeof Event)return new Event(t,n);var o=(0,r.M)(e).createEvent("Event");return o.initEvent(t,null==n?void 0:n.bubbles,null==n?void 0:n.cancelable),o}},8390:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var r=n(2006);function o(e){var t=(0,r.M)(e).activeElement;return null!=t&&t.nodeName?t:null}},2006:(e,t,n)=>{"use strict";function r(e){return e?e.ownerDocument||e:document}n.d(t,{M:()=>r})},9193:(e,t,n)=>{"use strict";n.d(t,{J:()=>i});var r,o=n(2006);try{r=window}catch(e){}function i(e){return e&&(0,o.M)(e).defaultView||r}},4186:(e,t,n)=>{"use strict";n.d(t,{B:()=>i});var r=n(8390),o=n(2627);function i(e){var t=(0,r.v)(e);if(!t)return!1;if((0,o.r)(e,t))return!0;var n=t.getAttribute("aria-activedescendant");return!(!n||n!==e.id&&!e.querySelector("#"+n))}},7296:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var r=["button","color","file","image","reset","submit"];function o(e){if("BUTTON"===e.tagName)return!0;if("INPUT"===e.tagName){var t=e;return-1!==r.indexOf(t.type)}return!1}},1163:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});var r=n(2627);function o(e){return!(0,r.r)(e.currentTarget,e.target)}},5959:(e,t,n)=>{"use strict";function r(e){return e.target===e.currentTarget}n.d(t,{U:()=>r})},9735:(e,t,n)=>{"use strict";function r(e,t){if(e===t)return!0;if(!e)return!1;if(!t)return!1;if("object"!=typeof e)return!1;if("object"!=typeof t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var i=0,u=n;i<u.length;i++){var a=u[i];if(e[a]!==t[a])return!1}return!0}n.d(t,{w:()=>r})},9916:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(9196);function o(e,t){void 0===t&&(t=null),e&&("function"==typeof e?e(t):e.current=t)}function i(e,t){return(0,r.useMemo)((function(){return null==e&&null==t?null:function(n){o(e,n),o(t,n)}}),[e,t])}},7503:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(9196),o=n(1276).N?r.useLayoutEffect:r.useEffect},1752:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(9196),o=n(7503);function i(e){var t=(0,r.useRef)(e);return(0,o.Y)((function(){t.current=e})),t}},3909:(e,t,n)=>{"use strict";n(9196)},88:(e,t,n)=>{"use strict";function r(e){return void 0===e&&(e="id"),(e?e+"-":"")+Math.random().toString(32).substr(2,6)}n.d(t,{U:()=>o});var o=(0,n(9196).createContext)(r)},8348:(e,t,n)=>{"use strict";n.d(t,{q:()=>a});var r=n(3522),o=n(5717),i=n(8036),u=n(9735),a=(0,i.B)({name:"Role",keys:["unstable_system"],propsAreEqual:function(e,t){var n=e.unstable_system,o=(0,r._)(e,["unstable_system"]),i=t.unstable_system,a=(0,r._)(t,["unstable_system"]);return!(n!==i&&!(0,u.w)(n,i))&&(0,u.w)(o,a)}});(0,o.L)({as:"div",useHook:a})},8818:(e,t,n)=>{"use strict";n.d(t,{u:()=>E});var r=n(3522),o=n(5717),i=n(8036),u=n(9196),a=n(9916),s=n(7296),l=(n(3909),n(1752)),c=n(7503),d=n(4186),f=n(1163),v=n(1276);function p(e){return!!v.N&&-1!==window.navigator.userAgent.indexOf(e)}var m="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false'])";var b=n(8348),g=p("Mac")&&!p("Chrome")&&(p("Safari")||p("Firefox"));function h(e){!(0,d.B)(e)&&function(e){return function(e,t){return"matches"in e?e.matches(t):"msMatchesSelector"in e?e.msMatchesSelector(t):e.webkitMatchesSelector(t)}(e,m)&&function(e){var t=e;return t.offsetWidth>0||t.offsetHeight>0||e.getClientRects().length>0}(e)}(e)&&e.focus()}function y(e,t,n,r){return e?t&&!n?-1:void 0:t?r:r||0}function w(e,t){return(0,u.useCallback)((function(n){var r;null===(r=e.current)||void 0===r||r.call(e,n),n.defaultPrevented||t&&(n.stopPropagation(),n.preventDefault())}),[e,t])}var E=(0,i.B)({name:"Tabbable",compose:b.q,keys:["disabled","focusable"],useOptions:function(e,t){var n=t.disabled;return(0,r.a)({disabled:n},e)},useProps:function(e,t){var n=t.ref,o=t.tabIndex,i=t.onClickCapture,d=t.onMouseDownCapture,v=t.onMouseDown,p=t.onKeyPressCapture,m=t.style,b=(0,r._)(t,["ref","tabIndex","onClickCapture","onMouseDownCapture","onMouseDown","onKeyPressCapture","style"]),E=(0,u.useRef)(null),_=(0,l.c)(i),C=(0,l.c)(d),O=(0,l.c)(v),I=(0,l.c)(p),k=!!e.disabled&&!e.focusable,S=(0,u.useState)(!0),P=S[0],T=S[1],x=(0,u.useState)(!0),R=x[0],L=x[1],D=e.disabled?(0,r.a)({pointerEvents:"none"},m):m;(0,c.Y)((function(){var e=E.current;e&&(["BUTTON","INPUT","SELECT","TEXTAREA","A"].includes(e.tagName)||T(!1),["BUTTON","INPUT","SELECT","TEXTAREA"].includes(e.tagName)||L(!1))}),[]);var A=w(_,e.disabled),B=w(C,e.disabled),F=w(I,e.disabled),j=(0,u.useCallback)((function(e){var t;null===(t=O.current)||void 0===t||t.call(O,e);var n=e.currentTarget;if(!e.defaultPrevented&&g&&!(0,f.K)(e)&&(0,s.i)(n)){var r=requestAnimationFrame((function(){n.removeEventListener("mouseup",o,!0),h(n)})),o=function(){cancelAnimationFrame(r),h(n)};n.addEventListener("mouseup",o,{once:!0,capture:!0})}}),[]);return(0,r.a)({ref:(0,a.c)(E,n),style:D,tabIndex:y(k,P,R,o),disabled:!(!k||!R)||void 0,"aria-disabled":!!e.disabled||void 0,onClickCapture:A,onMouseDownCapture:B,onMouseDown:j,onKeyPressCapture:F},b)}});(0,o.L)({as:"div",useHook:E})},5911:(e,t,n)=>{"use strict";n.d(t,{C:()=>r,b:()=>o});var r=["baseId","unstable_idCountRef","setBaseId","unstable_virtual","rtl","orientation","items","groups","currentId","loop","wrap","shift","unstable_moves","unstable_hasActiveWidget","unstable_includesBaseElement","registerItem","unregisterItem","registerGroup","unregisterGroup","move","next","previous","up","down","first","last","sort","unstable_setVirtual","setRTL","setOrientation","setCurrentId","setLoop","setWrap","setShift","reset","unstable_setIncludesBaseElement","unstable_setHasActiveWidget"],o=r},6936:(e,t,n)=>{"use strict";n.d(t,{R:()=>o,a:()=>i});var r=["baseId","unstable_idCountRef","unstable_virtual","rtl","orientation","items","groups","currentId","loop","wrap","shift","unstable_moves","unstable_hasActiveWidget","unstable_includesBaseElement","state","setBaseId","registerItem","unregisterItem","registerGroup","unregisterGroup","move","next","previous","up","down","first","last","sort","unstable_setVirtual","setRTL","setOrientation","setCurrentId","setLoop","setWrap","setShift","reset","unstable_setIncludesBaseElement","unstable_setHasActiveWidget","setState"],o=[].concat(r,["value","checked","unstable_checkOnFocus"]),i=r},3522:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}n.d(t,{_:()=>u,a:()=>i,b:()=>s})},3506:(e,t,n)=>{"use strict";function r(e,t){return t?e.find((function(e){return!e.disabled&&e.id!==t})):e.find((function(e){return!e.disabled}))}function o(e,t){var n;return t||null===t?t:e.currentId||null===e.currentId?e.currentId:null===(n=r(e.items||[]))||void 0===n?void 0:n.id}n.d(t,{f:()=>r,g:()=>o})},502:(e,t,n)=>{"use strict";function r(e){e.userFocus=!0,e.focus(),e.userFocus=!1}function o(e){return!!e.userFocus}function i(e,t){e.userFocus=t}n.d(t,{h:()=>o,s:()=>i,u:()=>r})},2314:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})}}]);