kn(t)?(gn(e,t,!1),`${e.key}-${t.name}`):t)))}),[e]);return t};function Cn(e,t){const n=Ue();void 0===t&&"undefined"!=typeof process&&process.env;const r=(null==n?void 0:n[t])||{},o={"data-wp-c16t":!0,...(i=t,{"data-wp-component":i})};var i;const{_overrides:a,...s}=r,l=Object.entries(s).length?Object.assign({},s,e):e,u=Sn()(Ye(t),e.className),c="function"==typeof l.renderChildren?l.renderChildren(l):l.children;for(const e in l)o[e]=l[e];for(const e in a)o[e]=a[e];return o.children=c,o.className=u,o}function On(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{memo:r=!1}=n;let o=(0,s.forwardRef)(e);r&&(o=(0,s.memo)(o)),void 0===t&&"undefined"!=typeof process&&process.env;let i=o.__contextSystemKey__||[t];return Array.isArray(t)&&(i=[...i,...t]),"string"==typeof t&&(i=[...i,t]),o.displayName=t,o.__contextSystemKey__=(0,l.uniq)(i),o.selector=`.${Ye(t)}`,o}function Pn(e){if(!e)return[];let t=[];return e.__contextSystemKey__&&(t=e.__contextSystemKey__),e.type&&e.type.__contextSystemKey__&&(t=e.type.__contextSystemKey__),t}function Mn(e,t){return!!e&&("string"==typeof t?Pn(e).includes(t):!!Array.isArray(t)&&t.some((t=>Pn(e).includes(t))))}const Tn={border:0,clip:"rect(1px, 1px, 1px, 1px)",WebkitClipPath:"inset( 50% )",clipPath:"inset( 50% )",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",wordWrap:"normal"};var Dn=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;function In(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var Rn=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},An=en((function(e){return Dn.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),Nn=function(e){return"theme"!==e},Ln=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?An:Nn},Fn=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},jn=b.useInsertionEffect?b.useInsertionEffect:function(e){e()};var zn=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Rn(t,n,r);var o;o=function(){return function(e,t,n){Rn(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,n,r)},jn(o);return null},Bn=function e(t,n){var r,o,i=t.__emotion_real===t,s=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=Fn(t,n,i),u=l||Ln(s),c=!u("as");return function(){var d=arguments,f=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&f.push("label:"+r+";"),null==d[0]||void 0===d[0].raw)f.push.apply(f,d);else{0,f.push(d[0][0]);for(var p=d.length,h=1;h{e.stopPropagation(),e.preventDefault()}}const A=!D&&(b&&x||_||!!x&&(!E||(0,l.isArray)(E)&&!E.length)&&!1!==b),N=O?M:null,L=P["aria-describedby"]||N,F=(0,s.createElement)(I,a({},R,P,{className:T,"aria-label":P["aria-label"]||x,"aria-describedby":L,ref:n}),v&&"left"===g&&(0,s.createElement)(He,{icon:v,size:y}),k&&(0,s.createElement)(s.Fragment,null,k),v&&"right"===g&&(0,s.createElement)(He,{icon:v,size:y}),E);return A?(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Ur,{text:O||x,shortcut:_,position:w},F),O&&(0,s.createElement)(Wn,null,(0,s.createElement)("span",{id:N},O))):(0,s.createElement)(s.Fragment,null,F,O&&(0,s.createElement)(Wn,null,(0,s.createElement)("span",{id:N},O)))}));let Kn=0;function Gn(e){const t=document.scrollingElement||document.body;e&&(Kn=t.scrollTop);const n=e?"add":"remove";t.classList[n]("lockscroll"),document.documentElement.classList[n]("lockscroll"),e||(t.scrollTop=Kn)}let qn=0;function Yn(){return(0,s.useEffect)((()=>(0===qn&&Gn(!0),++qn,()=>{1===qn&&Gn(!1),--qn})),[]),null}var Xn=(0,s.createContext)({registerSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},getSlot:()=>{},getFills:()=>{},subscribe:()=>{}});var Zn=e=>{const{getSlot:t,subscribe:n}=(0,s.useContext)(Xn),[r,o]=(0,s.useState)(t(e));return(0,s.useEffect)((()=>{o(t(e));return n((()=>{o(t(e))}))}),[e]),r};function Jn(e){let{name:t,children:n,registerFill:r,unregisterFill:o}=e;const i=Zn(t),a=(0,s.useRef)({name:t,children:n});return(0,s.useLayoutEffect)((()=>(r(t,a.current),()=>o(t,a.current))),[]),(0,s.useLayoutEffect)((()=>{a.current.children=n,i&&i.forceUpdate()}),[n]),(0,s.useLayoutEffect)((()=>{t!==a.current.name&&(o(a.current.name,a.current),a.current.name=t,r(t,a.current))}),[t]),i&&i.node?((0,l.isFunction)(n)&&(n=n(i.props.fillProps)),(0,s.createPortal)(n,i.node)):null}var Qn=e=>(0,s.createElement)(Xn.Consumer,null,(t=>{let{registerFill:n,unregisterFill:r}=t;return(0,s.createElement)(Jn,a({},e,{registerFill:n,unregisterFill:r}))}));class er extends s.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,o=(0,l.map)(r(t,this),(e=>{const t=(0,l.isFunction)(e.children)?e.children(n):e.children;return s.Children.map(t,((e,t)=>{if(!e||(0,l.isString)(e))return e;const n=e.key||t;return(0,s.cloneElement)(e,{key:n})}))})).filter((0,l.negate)(s.isEmptyElement));return(0,s.createElement)(s.Fragment,null,(0,l.isFunction)(e)?e(o):o)}}var tr=e=>(0,s.createElement)(Xn.Consumer,null,(t=>{let{registerSlot:n,unregisterSlot:r,getFills:o}=t;return(0,s.createElement)(er,a({},e,{registerSlot:n,unregisterSlot:r,getFills:o}))}));var nr,rr=(0,s.createContext)({slots:{},fills:{},registerSlot:()=>{"undefined"!=typeof process&&process.env},updateSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{}});function or(e){const t=(0,s.useContext)(rr),n=t.slots[e]||{},r=t.fills[e],o=(0,s.useMemo)((()=>r||[]),[r]);return{...n,updateSlot:(0,s.useCallback)((n=>{t.updateSlot(e,n)}),[e,t.updateSlot]),unregisterSlot:(0,s.useCallback)((n=>{t.unregisterSlot(e,n)}),[e,t.unregisterSlot]),fills:o,registerFill:(0,s.useCallback)((n=>{t.registerFill(e,n)}),[e,t.registerFill]),unregisterFill:(0,s.useCallback)((n=>{t.unregisterFill(e,n)}),[e,t.unregisterFill])}}var ir=new Uint8Array(16);function ar(){if(!nr&&!(nr="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return nr(ir)}var sr=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var lr=function(e){return"string"==typeof e&&sr.test(e)},ur=[],cr=0;cr<256;++cr)ur.push((cr+256).toString(16).substr(1));var dr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(ur[e[t+0]]+ur[e[t+1]]+ur[e[t+2]]+ur[e[t+3]]+"-"+ur[e[t+4]]+ur[e[t+5]]+"-"+ur[e[t+6]]+ur[e[t+7]]+"-"+ur[e[t+8]]+ur[e[t+9]]+"-"+ur[e[t+10]]+ur[e[t+11]]+ur[e[t+12]]+ur[e[t+13]]+ur[e[t+14]]+ur[e[t+15]]).toLowerCase();if(!lr(n))throw TypeError("Stringified UUID is invalid");return n};var fr=function(e,t,n){var r=(e=e||{}).random||(e.rng||ar)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return dr(r)};const pr=new Set,hr=qe()((e=>{let t=fr().replace(/[0-9]/g,"");for(;pr.has(t);)t=fr().replace(/[0-9]/g,"");return pr.add(t),Zt({container:e,key:t})}));function mr(e){let{children:t,document:n}=e;if(!n)return null;const r=hr(n.head);return(0,s.createElement)(pn,{value:r},t)}function vr(){const[,e]=(0,s.useState)({}),t=(0,s.useRef)(!0);return(0,s.useEffect)((()=>()=>{t.current=!1}),[]),()=>{t.current&&e({})}}function gr(e){let{name:t,children:n}=e;const r=or(t),o=(0,s.useRef)({rerender:vr()});if((0,s.useEffect)((()=>(r.registerFill(o),()=>{r.unregisterFill(o)})),[r.registerFill,r.unregisterFill]),!r.ref||!r.ref.current)return null;"function"==typeof n&&(n=n(r.fillProps));const i=(0,s.createElement)(mr,{document:r.ref.current.ownerDocument},n);return(0,s.createPortal)(i,r.ref.current)}var yr=(0,s.forwardRef)((function(e,t){let{name:n,fillProps:r={},as:o="div",...i}=e;const l=(0,s.useContext)(rr),u=(0,s.useRef)();return(0,s.useLayoutEffect)((()=>(l.registerSlot(n,u,r),()=>{l.unregisterSlot(n,u)})),[l.registerSlot,l.unregisterSlot,n]),(0,s.useLayoutEffect)((()=>{l.updateSlot(n,r)})),(0,s.createElement)(o,a({ref:(0,f.useMergeRefs)([t,u])},i))})),br=window.wp.isShallowEqual,wr=n.n(br);function _r(e){let{children:t}=e;const n=function(){const[e,t]=(0,s.useState)({}),[n,r]=(0,s.useState)({}),o=(0,s.useCallback)(((e,n,r)=>{t((t=>{const o=t[e]||{};return{...t,[e]:{...o,ref:n||o.ref,fillProps:r||o.fillProps||{}}}}))}),[]),i=(0,s.useCallback)(((e,n)=>{t((t=>{const{[e]:r,...o}=t;return(null==r?void 0:r.ref)===n?o:t}))}),[]),a=(0,s.useCallback)(((t,r)=>{const o=e[t];if(o&&!wr()(o.fillProps,r)){o.fillProps=r;const e=n[t];e&&e.map((e=>e.current.rerender()))}}),[e,n]),l=(0,s.useCallback)(((e,t)=>{r((n=>({...n,[e]:[...n[e]||[],t]})))}),[]),u=(0,s.useCallback)(((e,t)=>{r((n=>n[e]?{...n,[e]:n[e].filter((e=>e!==t))}:n))}),[]);return(0,s.useMemo)((()=>({slots:e,fills:n,registerSlot:o,updateSlot:a,unregisterSlot:i,registerFill:l,unregisterFill:u})),[e,n,o,a,i,l,u])}();return(0,s.createElement)(rr.Provider,{value:n},t)}class xr extends s.Component{constructor(){super(...arguments),this.registerSlot=this.registerSlot.bind(this),this.registerFill=this.registerFill.bind(this),this.unregisterSlot=this.unregisterSlot.bind(this),this.unregisterFill=this.unregisterFill.bind(this),this.getSlot=this.getSlot.bind(this),this.getFills=this.getFills.bind(this),this.hasFills=this.hasFills.bind(this),this.subscribe=this.subscribe.bind(this),this.slots={},this.fills={},this.listeners=[],this.contextValue={registerSlot:this.registerSlot,unregisterSlot:this.unregisterSlot,registerFill:this.registerFill,unregisterFill:this.unregisterFill,getSlot:this.getSlot,getFills:this.getFills,hasFills:this.hasFills,subscribe:this.subscribe}}registerSlot(e,t){const n=this.slots[e];this.slots[e]=t,this.triggerListeners(),this.forceUpdateSlot(e),n&&n.forceUpdate()}registerFill(e,t){this.fills[e]=[...this.fills[e]||[],t],this.forceUpdateSlot(e)}unregisterSlot(e,t){this.slots[e]===t&&(delete this.slots[e],this.triggerListeners())}unregisterFill(e,t){this.fills[e]=(0,l.without)(this.fills[e],t),this.forceUpdateSlot(e)}getSlot(e){return this.slots[e]}getFills(e,t){return this.slots[e]!==t?[]:this.fills[e]}hasFills(e){return this.fills[e]&&!!this.fills[e].length}forceUpdateSlot(e){const t=this.getSlot(e);t&&t.forceUpdate()}triggerListeners(){this.listeners.forEach((e=>e()))}subscribe(e){return this.listeners.push(e),()=>{this.listeners=(0,l.without)(this.listeners,e)}}render(){return(0,s.createElement)(Xn.Provider,{value:this.contextValue},this.props.children)}}function Er(e){return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Qn,e),(0,s.createElement)(gr,e))}const kr=(0,s.forwardRef)(((e,t)=>{let{bubblesVirtually:n,...r}=e;return n?(0,s.createElement)(yr,a({},r,{ref:t})):(0,s.createElement)(tr,r)}));function Sr(e){let{children:t,...n}=e;return(0,s.createElement)(xr,n,(0,s.createElement)(_r,null,t))}function Cr(e){const t=t=>(0,s.createElement)(Er,a({name:e},t));t.displayName=e+"Fill";const n=t=>(0,s.createElement)(kr,a({name:e},t));return n.displayName=e+"Slot",n.__unstableName=e,{Fill:t,Slot:n}}function Or(e){return"appear"===e?"top":"left"}function Pr(e){if("loading"===e.type)return c()("components-animate__loading");const{type:t,origin:n=Or(t)}=e;if("appear"===t){const[e,t="center"]=n.split(" ");return c()("components-animate__appear",{["is-from-"+t]:"center"!==t,["is-from-"+e]:"middle"!==e})}return"slide-in"===t?c()("components-animate__slide-in","is-from-"+n):void 0}function Mr(e){let{type:t,options:n={},children:r}=e;return r({className:Pr({type:t,...n})})}const Tr="Popover",Dr=(0,s.createContext)();function Ir(e,t){const{paddingTop:n,paddingBottom:r,paddingLeft:o,paddingRight:i}=function(e){return e.ownerDocument.defaultView.getComputedStyle(e)}(t),a=n?parseInt(n,10):0,s=r?parseInt(r,10):0,l=o?parseInt(o,10):0,u=i?parseInt(i,10):0;return{x:e.left+l,y:e.top+a,width:e.width-l-u,height:e.height-a-s,left:e.left+l,right:e.right-u,top:e.top+a,bottom:e.bottom-s}}function Rr(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function Ar(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.style[t]!==n&&(e.style[t]=n)}function Nr(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}const Lr=(0,s.forwardRef)(((e,t)=>{let{headerTitle:n,onClose:r,children:o,className:i,noArrow:l=!0,isAlternate:u,position:d="bottom right",range:p,focusOnMount:h="firstElement",anchorRef:m,shouldAnchorIncludePadding:v,anchorRect:g,getAnchorRect:y,expandOnMobile:b,animate:w=!0,onFocusOutside:_,__unstableStickyBoundaryElement:x,__unstableSlotName:E=Tr,__unstableObserveElement:k,__unstableBoundaryParent:S,__unstableForcePosition:C,__unstableForceXAlignment:O,__unstableEditorCanvasWrapper:P,...M}=e;const T=(0,s.useRef)(null),D=(0,s.useRef)(null),I=(0,s.useRef)(),R=(0,f.useViewportMatch)("medium","<"),[A,N]=(0,s.useState)(),L=(0,s.useContext)(Dr)||E,F=or(L),j=b&&R,[z,B]=(0,f.useResizeObserver)();l=j||l,(0,s.useLayoutEffect)((()=>{if(j)return Nr(I.current,"is-without-arrow",l),Nr(I.current,"is-alternate",u),Rr(I.current,"data-x-axis"),Rr(I.current,"data-y-axis"),Ar(I.current,"top"),Ar(I.current,"left"),Ar(D.current,"maxHeight"),void Ar(D.current,"maxWidth");const e=()=>{if(!I.current||!D.current)return;let e=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0;if(t)return t;if(n){if(!e.current)return;const t=n(e.current);return je(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 je((0,Ae.getRectangleFromRange)(r),r.endContainer.ownerDocument,i);if("function"==typeof(null==r?void 0:r.getBoundingClientRect)){const e=je(r.getBoundingClientRect(),r.ownerDocument,i);return o?e:Ir(e,r)}const{top:e,bottom:t}=r,n=e.getBoundingClientRect(),a=t.getBoundingClientRect(),s=je(new window.DOMRect(n.left,n.top,n.width,a.bottom-n.top),e.ownerDocument,i);return o?s:Ir(s,r)}if(!e.current)return;const{parentNode:a}=e.current,s=je(a.getBoundingClientRect(),a.ownerDocument,i);return o?s:Ir(s,a)}(T,g,y,m,v,I.current);if(!e)return;const{offsetParent:t,ownerDocument:n}=I.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)}S&&(r=I.current.parentElement);const i=B.height?B:D.current.getBoundingClientRect(),{popoverTop:a,popoverLeft:s,xAxis:c,yAxis:f,contentHeight:p,contentWidth:h}=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top",r=arguments.length>3?arguments[3]:void 0,o=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0,a=arguments.length>7?arguments[7]:void 0,s=arguments.length>8?arguments[8]:void 0,l=arguments.length>9?arguments[9]:void 0;const[u,c="center",d]=n.split(" "),f=Fe(e,t,u,d,r,0,o,a,l);return{...Le(e,t,c,d,r,f.yAxis,i,a,s),...f}}(e,i,d,x,I.current,o,r,C,O,P);"number"==typeof a&&"number"==typeof s&&(Ar(I.current,"top",a+"px"),Ar(I.current,"left",s+"px")),Nr(I.current,"is-without-arrow",l||"center"===c&&"middle"===f),Nr(I.current,"is-alternate",u),Rr(I.current,"data-x-axis",c),Rr(I.current,"data-y-axis",f),Ar(D.current,"maxHeight","number"==typeof p?p+"px":""),Ar(D.current,"maxWidth","number"==typeof h?h+"px":"");N(({left:"right",right:"left"}[c]||"center")+" "+({top:"bottom",bottom:"top"}[f]||"middle"))};e();const{ownerDocument:t}=I.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 a=function(e){if(e)return e.endContainer?e.endContainer.ownerDocument:e.top?e.top.ownerDocument:e.ownerDocument}(m);let s;return a&&a!==t&&(a.defaultView.addEventListener("resize",e),a.defaultView.addEventListener("scroll",e,!0)),k&&(s=new n.MutationObserver(e),s.observe(k,{attributes:!0})),()=>{var l,u;(n.clearInterval(r),n.removeEventListener("resize",e),n.removeEventListener("scroll",e,!0),n.removeEventListener("click",i),n.cancelAnimationFrame(o),a&&a!==t)&&(null===(l=a.defaultView)||void 0===l||l.removeEventListener("resize",e),null===(u=a.defaultView)||void 0===u||u.removeEventListener("scroll",e,!0));s&&s.disconnect()}}),[j,g,y,m,v,d,B,x,k,S]);const V=(e,t)=>{"focus-outside"===e&&_?_(t):r&&r()},[H,W]=(0,f.__experimentalUseDialog)({focusOnMount:h,__unstableOnClose:V,onClose:V}),U=(0,f.useMergeRefs)([I,H,t]),$=Boolean(w&&A)&&Pr({type:"appear",origin:A});let K=(0,s.createElement)("div",a({className:c()("components-popover",i,$,{"is-expanded":j,"is-without-arrow":l,"is-alternate":u})},M,{ref:U},W,{tabIndex:"-1"}),j&&(0,s.createElement)(Yn,null),j&&(0,s.createElement)("div",{className:"components-popover__header"},(0,s.createElement)("span",{className:"components-popover__header-title"},n),(0,s.createElement)($n,{className:"components-popover__close",icon:Ne,onClick:r})),(0,s.createElement)("div",{ref:D,className:"components-popover__content"},(0,s.createElement)("div",{style:{position:"relative"}},z,o)));return F.ref&&(K=(0,s.createElement)(Er,{name:L},K)),m||g?K:(0,s.createElement)("span",{ref:T},K)}));Lr.Slot=(0,s.forwardRef)((function(e,t){let{name:n=Tr}=e;return(0,s.createElement)(kr,{bubblesVirtually:!0,name:n,className:"popover-slot",ref:t})})),Lr.__unstableSlotNameProvider=Dr.Provider;var Fr=Lr;var jr=function(e){let t,n,{shortcut:r,className:o}=e;return r?((0,l.isString)(r)&&(t=r),(0,l.isObject)(r)&&(t=r.display,n=r.ariaLabel),(0,s.createElement)("span",{className:o,"aria-label":n},t)):null};const zr=700,Br=(0,s.createElement)("div",{className:"event-catcher"}),Vr=e=>{let{eventHandlers:t,child:n,childrenWithPopover:r}=e;return(0,s.cloneElement)((0,s.createElement)("span",{className:"disabled-element-wrapper"},(0,s.cloneElement)(Br,t),(0,s.cloneElement)(n,{children:r})),t)},Hr=e=>{let{child:t,eventHandlers:n,childrenWithPopover:r}=e;return(0,s.cloneElement)(t,{...n,children:r})},Wr=(e,t,n)=>{if(1!==s.Children.count(e))return;const r=s.Children.only(e);r.props.disabled||"function"==typeof r.props[t]&&r.props[t](n)};var Ur=function(e){const{children:t,position:n,text:r,shortcut:o,delay:i=zr}=e,[a,u]=(0,s.useState)(!1),[c,d]=(0,s.useState)(!1),p=(0,f.useDebounce)(d,i),h=e=>{Wr(t,"onMouseDown",e),document.addEventListener("mouseup",g),u(!0)},m=e=>{Wr(t,"onMouseUp",e),document.removeEventListener("mouseup",g),u(!1)},v=e=>"mouseUp"===e?m:"mouseDown"===e?h:void 0,g=v("mouseUp"),y=(e,n)=>r=>{if(Wr(t,e,r),r.currentTarget.disabled)return;if("focus"===r.type&&a)return;p.cancel();const o=(0,l.includes)(["focus","mouseenter"],r.type);o!==c&&(n?p(o):d(o))},b=()=>{p.cancel(),document.removeEventListener("mouseup",g)};if((0,s.useEffect)((()=>b),[]),1!==s.Children.count(t))return t;const w={onMouseEnter:y("onMouseEnter",!0),onMouseLeave:y("onMouseLeave"),onClick:y("onClick"),onFocus:y("onFocus"),onBlur:y("onBlur"),onMouseDown:v("mouseDown")},_=s.Children.only(t),{children:x,disabled:E}=_.props,k=E?Vr:Hr,S=(e=>{let{grandchildren:t,isOver:n,position:r,text:o,shortcut:i}=e;return(0,s.concatChildren)(t,n&&(0,s.createElement)(Fr,{focusOnMount:!1,position:r,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},o,(0,s.createElement)(jr,{className:"components-tooltip__shortcut",shortcut:i})))})({grandchildren:x,...{isOver:c,position:n,text:r,shortcut:o}});return k({child:_,eventHandlers:w,childrenWithPopover:S})};const $r=[["top left","top center","top right"],["center left","center center","center right"],["bottom left","bottom center","bottom right"]],Kr={"top left":(0,d.__)("Top Left"),"top center":(0,d.__)("Top Center"),"top right":(0,d.__)("Top Right"),"center left":(0,d.__)("Center Left"),"center center":(0,d.__)("Center Center"),"center right":(0,d.__)("Center Right"),"bottom left":(0,d.__)("Bottom Left"),"bottom center":(0,d.__)("Bottom Center"),"bottom right":(0,d.__)("Bottom Right")},Gr=(0,l.flattenDeep)($r);function qr(e){return("center"===e?"center center":e).replace("-"," ")}function Yr(e,t){return`${e}-${qr(t).replace(" ","-")}`}n(1281),b.useInsertionEffect?b.useInsertionEffect:b.useLayoutEffect;function Xr(){for(var e=arguments.length,t=new Array(e),n=0;n0:"number"==typeof e},Qr=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},eo=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e>t?e:t},to=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},no=function(e){return{r:eo(e.r,0,255),g:eo(e.g,0,255),b:eo(e.b,0,255),a:eo(e.a)}},ro=function(e){return{r:Qr(e.r),g:Qr(e.g),b:Qr(e.b),a:Qr(e.a,3)}},oo=/^#([0-9a-f]{3,8})$/i,io=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},ao=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=Math.max(t,n,r),a=i-Math.min(t,n,r),s=a?i===t?(n-r)/a:i===n?2+(r-t)/a:4+(t-n)/a:0;return{h:60*(s<0?s+6:s),s:i?a/i*100:0,v:i/255*100,a:o}},so=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var i=Math.floor(t),a=r*(1-n),s=r*(1-(t-i)*n),l=r*(1-(1-t+i)*n),u=i%6;return{r:255*[r,s,a,a,l,r][u],g:255*[l,r,r,s,a,a][u],b:255*[a,a,l,r,r,s][u],a:o}},lo=function(e){return{h:to(e.h),s:eo(e.s,0,100),l:eo(e.l,0,100),a:eo(e.a)}},uo=function(e){return{h:Qr(e.h),s:Qr(e.s),l:Qr(e.l),a:Qr(e.a,3)}},co=function(e){return so((n=(t=e).s,{h:t.h,s:(n*=((r=t.l)<50?r:100-r)/100)>0?2*n/(r+n)*100:0,v:r+n,a:t.a}));var t,n,r},fo=function(e){return{h:(t=ao(e)).h,s:(o=(200-(n=t.s))*(r=t.v)/100)>0&&o<200?n*r/100/(o<=100?o:200-o)*100:0,l:o/2,a:t.a};var t,n,r,o},po=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ho=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,mo=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,vo=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,go={string:[[function(e){var t=oo.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?Qr(parseInt(e[3]+e[3],16)/255,2):1}:6===e.length||8===e.length?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:8===e.length?Qr(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=mo.exec(e)||vo.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:no({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=po.exec(e)||ho.exec(e);if(!t)return null;var n,r,o=lo({h:(n=t[1],r=t[2],void 0===r&&(r="deg"),Number(n)*(Zr[r]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return co(o)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=void 0===o?1:o;return Jr(t)&&Jr(n)&&Jr(r)?no({r:Number(t),g:Number(n),b:Number(r),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,n=e.s,r=e.l,o=e.a,i=void 0===o?1:o;if(!Jr(t)||!Jr(n)||!Jr(r))return null;var a=lo({h:Number(t),s:Number(n),l:Number(r),a:Number(i)});return co(a)},"hsl"],[function(e){var t=e.h,n=e.s,r=e.v,o=e.a,i=void 0===o?1:o;if(!Jr(t)||!Jr(n)||!Jr(r))return null;var a=function(e){return{h:to(e.h),s:eo(e.s,0,100),v:eo(e.v,0,100),a:eo(e.a)}}({h:Number(t),s:Number(n),v:Number(r),a:Number(i)});return so(a)},"hsv"]]},yo=function(e,t){for(var n=0;n=.5},e.prototype.toHex=function(){return t=(e=ro(this.rgba)).r,n=e.g,r=e.b,i=(o=e.a)<1?io(Qr(255*o)):"","#"+io(t)+io(n)+io(r)+i;var e,t,n,r,o,i},e.prototype.toRgb=function(){return ro(this.rgba)},e.prototype.toRgbString=function(){return t=(e=ro(this.rgba)).r,n=e.g,r=e.b,(o=e.a)<1?"rgba("+t+", "+n+", "+r+", "+o+")":"rgb("+t+", "+n+", "+r+")";var e,t,n,r,o},e.prototype.toHsl=function(){return uo(fo(this.rgba))},e.prototype.toHslString=function(){return t=(e=uo(fo(this.rgba))).h,n=e.s,r=e.l,(o=e.a)<1?"hsla("+t+", "+n+"%, "+r+"%, "+o+")":"hsl("+t+", "+n+"%, "+r+"%)";var e,t,n,r,o},e.prototype.toHsv=function(){return e=ao(this.rgba),{h:Qr(e.h),s:Qr(e.s),v:Qr(e.v),a:Qr(e.a,3)};var e},e.prototype.invert=function(){return ko({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},e.prototype.saturate=function(e){return void 0===e&&(e=.1),ko(wo(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),ko(wo(this.rgba,-e))},e.prototype.grayscale=function(){return ko(wo(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),ko(xo(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),ko(xo(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){return"number"==typeof e?ko({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):Qr(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=fo(this.rgba);return"number"==typeof e?ko({h:e,s:t.s,l:t.l,a:t.a}):Qr(t.h)},e.prototype.isEqual=function(e){return this.toHex()===ko(e).toHex()},e}(),ko=function(e){return e instanceof Eo?e:new Eo(e)},So=[],Co=function(e){e.forEach((function(e){So.indexOf(e)<0&&(e(Eo,go),So.push(e))}))};function Oo(e,t){var n={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var o in n)r[n[o]]=o;var i={};e.prototype.toName=function(t){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var o,a,s=r[this.toHex()];if(s)return s;if(null==t?void 0:t.closest){var l=this.toRgb(),u=1/0,c="black";if(!i.length)for(var d in n)i[d]=new e(n[d]).toRgb();for(var f in n){var p=(o=l,a=i[f],Math.pow(o.r-a.r,2)+Math.pow(o.g-a.g,2)+Math.pow(o.b-a.b,2));p0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return ko(e).alpha(t).toRgbString()}Co([Oo]);const Mo={black:"#000",white:"#fff"},To={blue:{medium:{focus:"#007cba",focusDark:"#fff"}},gray:{900:"#1e1e1e",700:"#757575",600:"#949494",400:"#ccc",300:"#ddd",200:"#e0e0e0",100:"#f0f0f0"},darkGray:{primary:"#1e1e1e",heading:"#050505"},mediumGray:{text:"#757575"},lightGray:{ui:"#949494",secondary:"#ccc",tertiary:"#e7e8e9"}},Do={900:"#191e23",800:"#23282d",700:"#32373c",600:"#40464d",500:"#555d66",400:"#606a73",300:"#6c7781",200:"#7e8993",150:"#8d96a0",100:"#8f98a1",placeholder:Po(To.gray[900],.62)},Io={900:Po("#000510",.9),800:Po("#00000a",.85),700:Po("#06060b",.8),600:Po("#000913",.75),500:Po("#0a1829",.7),400:Po("#0a1829",.65),300:Po("#0e1c2e",.62),200:Po("#162435",.55),100:Po("#223443",.5),backgroundFill:Po(Do[700],.7)},Ro={900:Po("#304455",.45),800:Po("#425863",.4),700:Po("#667886",.35),600:Po("#7b86a2",.3),500:Po("#9197a2",.25),400:Po("#95959c",.2),300:Po("#829493",.15),200:Po("#8b8b96",.1),100:Po("#747474",.05)},Ao={900:"#a2aab2",800:"#b5bcc2",700:"#ccd0d4",600:"#d7dade",500:"#e2e4e7",400:"#e8eaeb",300:"#edeff0",200:"#f3f4f5",100:"#f8f9f9",placeholder:Po(Mo.white,.65)},No={900:Po(Mo.white,.5),800:Po(Mo.white,.45),700:Po(Mo.white,.4),600:Po(Mo.white,.35),500:Po(Mo.white,.3),400:Po(Mo.white,.25),300:Po(Mo.white,.2),200:Po(Mo.white,.15),100:Po(Mo.white,.1),backgroundFill:Po(Ao[300],.8)},Lo={wordpress:{700:"#00669b"},dark:{900:"#0071a1"},medium:{900:"#006589",800:"#00739c",700:"#007fac",600:"#008dbe",500:"#00a0d2",400:"#33b3db",300:"#66c6e4",200:"#bfe7f3",100:"#e5f5fa",highlight:"#b3e7fe",focus:"#007cba"}},Fo={theme:`var( --wp-admin-theme-color, ${Lo.wordpress[700]})`,themeDark10:`var( --wp-admin-theme-color-darker-10, ${Lo.medium.focus})`},jo={theme:Fo.theme,background:Mo.white,backgroundDisabled:Ao[200],border:To.gray[700],borderHover:To.gray[700],borderFocus:Fo.themeDark10,borderDisabled:To.gray[400],borderLight:To.gray[300],label:Do[500],textDisabled:Do[150],textDark:Mo.white,textLight:Mo.black},zo=Object.assign({},Mo,{darkGray:(0,l.merge)({},Do,To.darkGray),darkOpacity:Io,darkOpacityLight:Ro,mediumGray:To.mediumGray,gray:To.gray,lightGray:(0,l.merge)({},Ao,To.lightGray),lightGrayLight:No,blue:(0,l.merge)({},Lo,To.blue),alert:{yellow:"#f0b849",red:"#d94f4f",green:"#4ab866"},admin:Fo,ui:jo});function Bo(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transition";switch(t){case"transition":e="transition-duration: 0ms;";break;case"animation":e="animation-duration: 1ms;";break;default:e="\n\t\t\t\tanimation-duration: 1ms;\n\t\t\t\ttransition-duration: 0ms;\n\t\t\t"}return`\n\t\t@media ( prefers-reduced-motion: reduce ) {\n\t\t\t${e};\n\t\t}\n\t`}var Vo={name:"lp9rn7",styles:"border-radius:2px;box-sizing:border-box;display:grid;grid-template-columns:repeat( 3, 1fr );outline:none"};const Ho=()=>Vo,Wo=Bn("div",{target:"e1od1u4s3"})(Ho,";border:1px solid transparent;cursor:pointer;grid-template-columns:auto;",(e=>{let{size:t=92}=e;return Xr("grid-template-rows:repeat( 3, calc( ",t,"px / 3 ) );width:",t,"px;","")}),";"),Uo=Bn("div",{target:"e1od1u4s2"})({name:"1x5gbbj",styles:"box-sizing:border-box;display:grid;grid-template-columns:repeat( 3, 1fr )"}),$o=e=>Xr("background:currentColor;box-sizing:border-box;display:grid;margin:auto;transition:all 120ms linear;",Bo("transition")," ",(e=>{let{isActive:t}=e;return Xr("box-shadow:",t?`0 0 0 2px ${zo.black}`:null,";color:",t?zo.black:zo.lightGray[800],";*:hover>&{color:",t?zo.black:zo.blue.medium.focus,";}","")})(e),";",""),Ko=Bn("span",{target:"e1od1u4s1"})("height:6px;width:6px;",$o,";"),Go=Bn("span",{target:"e1od1u4s0"})({name:"rjf3ub",styles:"appearance:none;border:none;box-sizing:border-box;margin:0;display:flex;position:relative;outline:none;align-items:center;justify-content:center;padding:0"});function qo(e){let{isActive:t=!1,value:n,...r}=e;const o=Kr[n];return(0,s.createElement)(Ur,{text:o},(0,s.createElement)(Re,a({as:Go,role:"gridcell"},r),(0,s.createElement)(Wn,null,n),(0,s.createElement)(Ko,{isActive:t,role:"presentation"})))}function Yo(e){return(0,b.useState)(e)[0]}function Xo(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=y(e);!(t=o()).done;)r();return n}function Zo(e){for(var t,n=[],r=y(e);!(t=r()).done;){var o=t.value;n.push.apply(n,o)}return n}function Jo(e){return e.slice().reverse()}function Qo(e,t){if(t)return null==e?void 0:e.find((function(e){return e.id===t&&!e.disabled}))}function ei(e,t){return function(e){return"function"==typeof e}(e)?e(t):e}function ti(e){void 0===e&&(e={});var t=Yo(e).baseId,n=(0,b.useContext)(Oe),r=(0,b.useRef)(0),o=(0,b.useState)((function(){return t||n()}));return{baseId:o[0],setBaseId:o[1],unstable_idCountRef:r}}function ni(e,t){return Boolean(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function ri(e,t){return e.findIndex((function(e){return!(!e.ref.current||!t.ref.current)&&ni(t.ref.current,e.ref.current)}))}function oi(e){for(var t,n=0,r=y(e);!(t=r()).done;){var o=t.value.length;o>n&&(n=o)}return n}function ii(e){for(var t=Xo(e),n=oi(t),r=[],o=0;oi&&(n=!0),-1):(rXr({gridTemplateRows:"repeat( 3, calc( 21px / 3))",padding:1.5,maxHeight:24,maxWidth:24},"","")),";",(e=>{let{disablePointerEvents:t}=e;return Xr({pointerEvents:t?"none":null},"","")}),";"),Ii=Bn("span",{target:"elqsdmc0"})("height:2px;width:2px;",$o,";",(e=>{let{isActive:t}=e;return Xr("box-shadow:",t?"0 0 0 1px currentColor":null,";color:currentColor;*:hover>&{color:currentColor;}","")}),";"),Ri=Go,Ai=24;function Ni(e){let{className:t,id:n,label:r=(0,d.__)("Alignment Matrix Control"),defaultValue:o="center center",value:i,onChange:u=l.noop,width:p=92,...h}=e;const[m]=(0,s.useState)(null!=i?i:o),v=function(e){const t=(0,f.useInstanceId)(Ni,"alignment-matrix-control");return e||t}(n),g=Yr(v,m),y=gi({baseId:v,currentId:g,rtl:(0,d.isRTL)()});(0,s.useEffect)((()=>{void 0!==i&&y.setCurrentId(Yr(v,i))}),[i,y.setCurrentId]);const b=c()("component-alignment-matrix-control",t);return(0,s.createElement)(Oi,a({},h,y,{"aria-label":r,as:Wo,className:b,role:"grid",width:p}),$r.map(((e,t)=>(0,s.createElement)(Ti,a({},y,{as:Uo,role:"row",key:t}),e.map((e=>{const t=Yr(v,e),n=y.currentId===t;return(0,s.createElement)(qo,a({},y,{id:t,isActive:n,key:e,value:e,onFocus:()=>{u(e)},tabIndex:n?0:-1}))}))))))}Ni.Icon=function(e){let{className:t,disablePointerEvents:n=!0,size:r=Ai,style:o={},value:i="center",...l}=e;const u=function(){const e=qr(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"center").replace("-"," "),t=Gr.indexOf(e);return t>-1?t:void 0}(i),d=(r/Ai).toFixed(2),f=c()("component-alignment-matrix-control-icon",t),p={...o,transform:`scale(${d})`};return(0,s.createElement)(Di,a({},l,{className:f,disablePointerEvents:n,role:"presentation",size:r,style:p}),Gr.map(((e,t)=>{const n=u===t;return(0,s.createElement)(Ri,{key:e},(0,s.createElement)(Ii,{isActive:n}))})))};
+ */var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case v:case m:case l:return e;default:return t}}case o:return t}}}function x(e){return _(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=v,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||_(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return _(e)===u},t.isContextProvider=function(e){return _(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===f},t.isFragment=function(e){return _(e)===i},t.isLazy=function(e){return _(e)===v},t.isMemo=function(e){return _(e)===m},t.isPortal=function(e){return _(e)===o},t.isProfiler=function(e){return _(e)===s},t.isStrictMode=function(e){return _(e)===a},t.isSuspense=function(e){return _(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=_},338:function(e,t,n){"use strict";e.exports=n(4821)},9217:function(e){var t={invalidPredicate:"`predicate` must be a function",invalidPropValidator:"`propValidator` must be a function",requiredCore:"is marked as required",invalidTypeCore:"Invalid input type",predicateFailureCore:"Failed to succeed with predicate",anonymousMessage:"<>",baseInvalidMessage:"Invalid "};function n(e){if("function"!=typeof e)throw new Error(t.invalidPropValidator);var n=e.bind(null,!1,null);return n.isRequired=e.bind(null,!0,null),n.withPredicate=function(n){if("function"!=typeof n)throw new Error(t.invalidPredicate);var r=e.bind(null,!1,n);return r.isRequired=e.bind(null,!0,n),r},n}function r(e,n,r){return new Error("The prop `"+e+"` "+t.requiredCore+" in `"+n+"`, but its value is `"+r+"`.")}e.exports={constructPropValidatorVariations:n,createMomentChecker:function(e,o,i,a){return n((function(n,s,l,u,c,d,f){var p=l[u],h=typeof p,m=function(e,t,n,o){var i=void 0===o,a=null===o;if(e){if(i)return r(n,t,"undefined");if(a)return r(n,t,"null")}return i||a?null:-1}(n,c=c||t.anonymousMessage,f=f||u,p);if(-1!==m)return m;if(o&&!o(p))return new Error(t.invalidTypeCore+": `"+u+"` of type `"+h+"` supplied to `"+c+"`, expected `"+e+"`.");if(!i(p))return new Error(t.baseInvalidMessage+d+" `"+u+"` of type `"+h+"` supplied to `"+c+"`, expected `"+a+"`.");if(s&&!s(p)){var v=s.name||t.anonymousMessage;return new Error(t.baseInvalidMessage+d+" `"+u+"` of type `"+h+"` supplied to `"+c+"`. "+t.predicateFailureCore+" `"+v+"`.")}return null}))},messages:t}},6150:function(e,t,n){var r=n(6292),o=n(3416),i=n(9217);e.exports={momentObj:i.createMomentChecker("object",(function(e){return"object"==typeof e}),(function(e){return o.isValidMoment(e)}),"Moment"),momentString:i.createMomentChecker("string",(function(e){return"string"==typeof e}),(function(e){return o.isValidMoment(r(e))}),"Moment"),momentDurationObj:i.createMomentChecker("object",(function(e){return"object"==typeof e}),(function(e){return r.isDuration(e)}),"Duration")}},3416:function(e,t,n){var r=n(6292);e.exports={isValidMoment:function(e){return!("function"==typeof r.isMoment&&!r.isMoment(e))&&("function"==typeof e.isValid?e.isValid():!isNaN(e))}}},2239:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0?String(e)+"__":"")+String(t)}},1881:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=[],n=!1,r={},o=0;o1&&void 0!==arguments[1]?arguments[1]:{},n=t.stylesPropName,s=void 0===n?"styles":n,c=t.themePropName,f=void 0===c?"theme":c,g=t.cssPropName,x=void 0===g?"css":g,E=t.flushBefore,k=void 0!==E&&E,S=t.pureComponent,C=void 0!==S&&S,O=void 0,P=void 0,M=void 0,T=void 0,D=b(C);function I(e){return e===u.DIRECTIONS.LTR?d.default.resolveLTR:d.default.resolveRTL}function R(e){return e===u.DIRECTIONS.LTR?M:T}function A(t,n){var r=R(t),o=t===u.DIRECTIONS.LTR?O:P,i=d.default.get();return o&&r===i||(t===u.DIRECTIONS.RTL?(P=e?d.default.createRTL(e):y,T=i,o=P):(O=e?d.default.createLTR(e):y,M=i,o=O)),o}function N(e,t){return{resolveMethod:I(e),styleDef:A(e)}}return function(e){var t=e.displayName||e.name||"Component",n=function(t){function n(e,t){p(this,n);var r=h(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t)),o=r.context[u.CHANNEL]?r.context[u.CHANNEL].getState():_;return r.state=N(o),r}return m(n,t),o(n,[{key:"componentDidMount",value:function(){var e=this;this.context[u.CHANNEL]&&(this.channelUnsubscribe=this.context[u.CHANNEL].subscribe((function(t){e.setState(N(t))})))}},{key:"componentWillUnmount",value:function(){this.channelUnsubscribe&&this.channelUnsubscribe()}},{key:"render",value:function(){var t;k&&d.default.flush();var n=this.state,o=n.resolveMethod,i=n.styleDef;return a.default.createElement(e,r({},this.props,(v(t={},f,d.default.get()),v(t,s,i()),v(t,x,o),t)))}}]),n}(D);return n.WrappedComponent=e,n.displayName="withStyles("+String(t)+")",n.contextTypes=w,e.propTypes&&(n.propTypes=(0,i.default)({},e.propTypes),delete n.propTypes[s],delete n.propTypes[f],delete n.propTypes[x]),e.defaultProps&&(n.defaultProps=(0,i.default)({},e.defaultProps)),(0,l.default)(n,e)}};var i=f(n(4011)),a=f(n(9196)),s=f(n(2652)),l=f(n(1281)),u=n(5080),c=f(n(6640)),d=f(n(9349));function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.css=d.default.resolveLTR,t.withStylesPropTypes={styles:s.default.object.isRequired,theme:s.default.object.isRequired,css:s.default.func.isRequired};var g={},y=function(){return g};function b(e){if(e){if(!a.default.PureComponent)throw new ReferenceError("withStyles() pureComponent option requires React 15.3.0 or later");return a.default.PureComponent}return a.default.Component}var w=v({},u.CHANNEL,c.default),_=u.DIRECTIONS.LTR},9196:function(e){"use strict";e.exports=window.React},6292:function(e){"use strict";e.exports=window.moment},4080:function(){},7472:function(e,t,n){"use strict";var r=n(4219)("%Array%"),o=!r.isArray&&n(9630)("Object.prototype.toString");e.exports=r.isArray||function(e){return"[object Array]"===o(e)}},3665:function(e,t,n){"use strict";var r=n(4219),o=r("%Array.prototype%"),i=r("%RangeError%"),a=r("%SyntaxError%"),s=r("%TypeError%"),l=n(485),u=Math.pow(2,32)-1,c=r("%Object.setPrototypeOf%",!0)||([].__proto__!==o?null:function(e,t){return e.__proto__=t,e});e.exports=function(e){if(!l(e)||e<0)throw new s("Assertion failed: `length` must be an integer Number >= 0");if(e>u)throw new i("length is greater than (2**32 - 1)");var t=arguments.length>1?arguments[1]:o,n=[];if(t!==o){if(!c)throw new a("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");c(n,t)}return 0!==e&&(n.length=e),n}},1539:function(e,t,n){"use strict";var r=n(4219),o=r("%Symbol.species%",!0),i=r("%TypeError%"),a=n(3665),s=n(6448),l=n(5971),u=n(4065),c=n(485),d=n(9747);e.exports=function(e,t){if(!c(t)||t<0)throw new i("Assertion failed: length must be an integer >= 0");if(!l(e))return a(t);var n=s(e,"constructor");if(o&&"Object"===d(n)&&null===(n=s(n,o))&&(n=void 0),void 0===n)return a(t);if(!u(n))throw new i("C must be a constructor");return new n(t)}},8323:function(e,t,n){"use strict";var r=n(4219),o=n(9630),i=r("%TypeError%"),a=n(5971),s=r("%Reflect.apply%",!0)||o("%Function.prototype.apply%");e.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!a(n))throw new i("Assertion failed: optional `argumentsList`, if provided, must be a List");return s(e,t,n)}},5597:function(e,t,n){"use strict";var r=n(4219)("%TypeError%"),o=n(1327),i=n(8487),a=n(6403),s=n(1392),l=n(3428),u=n(3290),c=n(9836),d=n(9747);e.exports=function(e,t,n){if("Object"!==d(e))throw new r("Assertion failed: Type(O) is not Object");if(!u(t))throw new r("Assertion failed: IsPropertyKey(P) is not true");var f=a(e,t),p=!f||l(e);return!(f&&!f["[[Configurable]]"]||!p)&&o(s,c,i,e,t,{"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0})}},3323:function(e,t,n){"use strict";var r=n(4219)("%TypeError%"),o=n(5597),i=n(3290),a=n(9747);e.exports=function(e,t,n){if("Object"!==a(e))throw new r("Assertion failed: Type(O) is not Object");if(!i(t))throw new r("Assertion failed: IsPropertyKey(P) is not true");var s=o(e,t,n);if(!s)throw new r("unable to create data property");return s}},6356:function(e,t,n){"use strict";var r=n(4219)("%TypeError%"),o=n(8682),i=n(1327),a=n(8487),s=n(7857),l=n(1392),u=n(3290),c=n(9836),d=n(2402),f=n(9747);e.exports=function(e,t,n){if("Object"!==f(e))throw new r("Assertion failed: Type(O) is not Object");if(!u(t))throw new r("Assertion failed: IsPropertyKey(P) is not true");var p=o({Type:f,IsDataDescriptor:l,IsAccessorDescriptor:s},n)?n:d(n);if(!o({Type:f,IsDataDescriptor:l,IsAccessorDescriptor:s},p))throw new r("Assertion failed: Desc is not a valid Property Descriptor");return i(l,c,a,e,t,p)}},6739:function(e,t,n){"use strict";var r=n(4219)("%TypeError%"),o=n(8540),i=n(8323),a=n(3323),s=n(6448),l=n(3059),u=n(5971),c=n(2151),d=n(6888);e.exports=function e(t,n,f,p,h){var m;arguments.length>5&&(m=arguments[5]);for(var v=p,g=0;g0&&(_=u(w)),_){var x=c(w);v=e(t,w,x,v,h-1)}else{if(v>=o)throw new r("index too large");a(t,d(v),w),v+=1}}g+=1}return v}},8487:function(e,t,n){"use strict";var r=n(5114),o=n(9747);e.exports=function(e){if(void 0===e)return e;r(o,"Property Descriptor","Desc",e);var t={};return"[[Value]]"in e&&(t.value=e["[[Value]]"]),"[[Writable]]"in e&&(t.writable=e["[[Writable]]"]),"[[Get]]"in e&&(t.get=e["[[Get]]"]),"[[Set]]"in e&&(t.set=e["[[Set]]"]),"[[Enumerable]]"in e&&(t.enumerable=e["[[Enumerable]]"]),"[[Configurable]]"in e&&(t.configurable=e["[[Configurable]]"]),t}},6448:function(e,t,n){"use strict";var r=n(4219)("%TypeError%"),o=n(3205),i=n(3290),a=n(9747);e.exports=function(e,t){if("Object"!==a(e))throw new r("Assertion failed: Type(O) is not Object");if(!i(t))throw new r("Assertion failed: IsPropertyKey(P) is not true, got "+o(t));return e[t]}},3059:function(e,t,n){"use strict";var r=n(4219)("%TypeError%"),o=n(3290),i=n(9747);e.exports=function(e,t){if("Object"!==i(e))throw new r("Assertion failed: `O` must be an Object");if(!o(t))throw new r("Assertion failed: `P` must be a Property Key");return t in e}},7857:function(e,t,n){"use strict";var r=n(9284),o=n(5114),i=n(9747);e.exports=function(e){return void 0!==e&&(o(i,"Property Descriptor","Desc",e),!(!r(e,"[[Get]]")&&!r(e,"[[Set]]")))}},5971:function(e,t,n){"use strict";var r=n(4219)("%Array%"),o=!r.isArray&&n(9630)("Object.prototype.toString");e.exports=r.isArray||function(e){return"[object Array]"===o(e)}},1089:function(e,t,n){"use strict";e.exports=n(4363)},4065:function(e,t,n){"use strict";var r=n(137)("%Reflect.construct%",!0),o=n(6356);try{o({},"",{"[[Get]]":function(){}})}catch(e){o=null}if(o&&r){var i={},a={};o(a,"length",{"[[Get]]":function(){throw i},"[[Enumerable]]":!0}),e.exports=function(e){try{r(e,a)}catch(e){return e===i}}}else e.exports=function(e){return"function"==typeof e&&!!e.prototype}},1392:function(e,t,n){"use strict";var r=n(9284),o=n(5114),i=n(9747);e.exports=function(e){return void 0!==e&&(o(i,"Property Descriptor","Desc",e),!(!r(e,"[[Value]]")&&!r(e,"[[Writable]]")))}},3428:function(e,t,n){"use strict";var r=n(4219),o=r("%Object.preventExtensions%",!0),i=r("%Object.isExtensible%",!0),a=n(5019);e.exports=o?function(e){return!a(e)&&i(e)}:function(e){return!a(e)}},485:function(e,t,n){"use strict";var r=n(13),o=n(5127),i=n(9747),a=n(3234),s=n(7061);e.exports=function(e){if("Number"!==i(e)||a(e)||!s(e))return!1;var t=r(e);return o(t)===t}},3290:function(e){"use strict";e.exports=function(e){return"string"==typeof e||"symbol"==typeof e}},1275:function(e,t,n){"use strict";var r=n(4219)("%Symbol.match%",!0),o=n(4221),i=n(3704);e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(r){var t=e[r];if(void 0!==t)return i(t)}return o(e)}},2151:function(e,t,n){"use strict";var r=n(4219)("%TypeError%"),o=n(6448),i=n(6840),a=n(9747);e.exports=function(e){if("Object"!==a(e))throw new r("Assertion failed: `obj` must be an Object");return i(o(e,"length"))}},6403:function(e,t,n){"use strict";var r=n(4219),o=n(5180),i=r("%TypeError%"),a=n(9630)("Object.prototype.propertyIsEnumerable"),s=n(9284),l=n(5971),u=n(3290),c=n(1275),d=n(2402),f=n(9747);e.exports=function(e,t){if("Object"!==f(e))throw new i("Assertion failed: O must be an Object");if(!u(t))throw new i("Assertion failed: P must be a Property Key");if(s(e,t)){if(!o){var n=l(e)&&"length"===t,r=c(e)&&"lastIndex"===t;return{"[[Configurable]]":!(n||r),"[[Enumerable]]":a(e,t),"[[Value]]":e[t],"[[Writable]]":!0}}return d(o(e,t))}}},6953:function(e,t,n){"use strict";e.exports=n(3031)},9836:function(e,t,n){"use strict";var r=n(3234);e.exports=function(e,t){return e===t?0!==e||1/e==1/t:r(e)&&r(t)}},3704:function(e){"use strict";e.exports=function(e){return!!e}},1723:function(e,t,n){"use strict";var r=n(13),o=n(5127),i=n(5541),a=n(3234),s=n(7061),l=n(2163);e.exports=function(e){var t=i(e);return a(t)||0===t?0:s(t)?l(t)*o(r(t)):t}},6840:function(e,t,n){"use strict";var r=n(8540),o=n(1723);e.exports=function(e){var t=o(e);return t<=0?0:t>r?r:t}},5541:function(e,t,n){"use strict";var r=n(4219),o=r("%TypeError%"),i=r("%Number%"),a=r("%RegExp%"),s=r("%parseInt%"),l=n(9630),u=n(8441),c=n(5019),d=l("String.prototype.slice"),f=u(/^0b[01]+$/i),p=u(/^0o[0-7]+$/i),h=u(/^[-+]0x[0-9a-f]+$/i),m=u(new a("["+["
","",""].join("")+"]","g")),v=["\t\n\v\f\r "," \u2028","\u2029\ufeff"].join(""),g=new RegExp("(^["+v+"]+)|(["+v+"]+$)","g"),y=l("String.prototype.replace"),b=n(6745);e.exports=function e(t){var n=c(t)?t:b(t,i);if("symbol"==typeof n)throw new o("Cannot convert a Symbol value to a number");if("bigint"==typeof n)throw new o("Conversion from 'BigInt' to 'number' is not allowed.");if("string"==typeof n){if(f(n))return e(s(d(n,2),2));if(p(n))return e(s(d(n,2),8));if(m(n)||h(n))return NaN;var r=function(e){return y(e,g,"")}(n);if(r!==n)return e(r)}return i(n)}},1283:function(e,t,n){"use strict";var r=n(4219)("%Object%"),o=n(6953);e.exports=function(e){return o(e),r(e)}},6745:function(e,t,n){"use strict";var r=n(5249);e.exports=function(e){return arguments.length>1?r(e,arguments[1]):r(e)}},2402:function(e,t,n){"use strict";var r=n(9284),o=n(4219)("%TypeError%"),i=n(9747),a=n(3704),s=n(1089);e.exports=function(e){if("Object"!==i(e))throw new o("ToPropertyDescriptor requires an object");var t={};if(r(e,"enumerable")&&(t["[[Enumerable]]"]=a(e.enumerable)),r(e,"configurable")&&(t["[[Configurable]]"]=a(e.configurable)),r(e,"value")&&(t["[[Value]]"]=e.value),r(e,"writable")&&(t["[[Writable]]"]=a(e.writable)),r(e,"get")){var n=e.get;if(void 0!==n&&!s(n))throw new o("getter must be a function");t["[[Get]]"]=n}if(r(e,"set")){var l=e.set;if(void 0!==l&&!s(l))throw new o("setter must be a function");t["[[Set]]"]=l}if((r(t,"[[Get]]")||r(t,"[[Set]]"))&&(r(t,"[[Value]]")||r(t,"[[Writable]]")))throw new o("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}},6888:function(e,t,n){"use strict";var r=n(4219),o=r("%String%"),i=r("%TypeError%");e.exports=function(e){if("symbol"==typeof e)throw new i("Cannot convert a Symbol value to a string");return o(e)}},9747:function(e,t,n){"use strict";var r=n(290);e.exports=function(e){return"symbol"==typeof e?"Symbol":"bigint"==typeof e?"BigInt":r(e)}},13:function(e,t,n){"use strict";var r=n(4219)("%Math.abs%");e.exports=function(e){return r(e)}},5127:function(e){"use strict";var t=Math.floor;e.exports=function(e){return t(e)}},3031:function(e,t,n){"use strict";var r=n(4219)("%TypeError%");e.exports=function(e,t){if(null==e)throw new r(t||"Cannot call method on "+e);return e}},290:function(e){"use strict";e.exports=function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0}},137:function(e,t,n){"use strict";e.exports=n(4219)},1327:function(e,t,n){"use strict";var r,o=n(4219)("%Object.defineProperty%",!0);if(o)try{o({},"a",{value:1})}catch(e){o=null}try{r=o&&0===o([],"length",{value:1}).length}catch(e){r=!0}var i=r&&n(7472),a=n(9630)("Object.prototype.propertyIsEnumerable");e.exports=function(e,t,n,s,l,u){if(!o){if(!e(u))return!1;if(!u["[[Configurable]]"]||!u["[[Writable]]"])return!1;if(l in s&&a(s,l)!==!!u["[[Enumerable]]"])return!1;var c=u["[[Value]]"];return s[l]=c,t(s[l],c)}return r&&"length"===l&&"[[Value]]"in u&&i(s)&&s.length!==u["[[Value]]"]?(s.length=u["[[Value]]"],s.length===u["[[Value]]"]):(o(s,l,n(u)),!0)}},5114:function(e,t,n){"use strict";var r=n(4219),o=r("%TypeError%"),i=r("%SyntaxError%"),a=n(9284),s={"Property Descriptor":function(e,t){if("Object"!==e(t))return!1;var n={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var r in t)if(a(t,r)&&!n[r])return!1;var i=a(t,"[[Value]]"),s=a(t,"[[Get]]")||a(t,"[[Set]]");if(i&&s)throw new o("Property Descriptors may not be both accessor and data descriptors");return!0}};e.exports=function(e,t,n,r){var a=s[t];if("function"!=typeof a)throw new i("unknown record type: "+t);if(!a(e,r))throw new o(n+" must be a "+t)}},5180:function(e,t,n){"use strict";var r=n(4219)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},7061:function(e){"use strict";var t=Number.isNaN||function(e){return e!=e};e.exports=Number.isFinite||function(e){return"number"==typeof e&&!t(e)&&e!==1/0&&e!==-1/0}},3234:function(e){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},5019:function(e){"use strict";e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},8682:function(e,t,n){"use strict";var r=n(4219),o=n(9284),i=r("%TypeError%");e.exports=function(e,t){if("Object"!==e.Type(t))return!1;var n={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var r in t)if(o(t,r)&&!n[r])return!1;if(e.IsDataDescriptor(t)&&e.IsAccessorDescriptor(t))throw new i("Property Descriptors may not be both accessor and data descriptors");return!0}},8540:function(e,t,n){"use strict";var r=n(4219),o=r("%Math%"),i=r("%Number%");e.exports=i.MAX_SAFE_INTEGER||o.pow(2,53)-1},8441:function(e,t,n){"use strict";var r=n(9630)("RegExp.prototype.exec");e.exports=function(e){return function(t){return null!==r(e,t)}}},2163:function(e){"use strict";e.exports=function(e){return e>=0?1:-1}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};!function(){"use strict";n.r(r),n.d(r,{AnglePickerControl:function(){return Jm},Animate:function(){return Mr},Autocomplete:function(){return iv},BaseControl:function(){return vv},BlockQuotation:function(){return i.BlockQuotation},Button:function(){return $n},ButtonGroup:function(){return qx},Card:function(){return OE},CardBody:function(){return NE},CardDivider:function(){return HE},CardFooter:function(){return WE},CardHeader:function(){return UE},CardMedia:function(){return $E},CheckboxControl:function(){return GE},Circle:function(){return i.Circle},ClipboardButton:function(){return qE},ColorIndicator:function(){return ug},ColorPalette:function(){return c_},ColorPicker:function(){return e_},ComboboxControl:function(){return ES},CustomGradientPicker:function(){return jk},CustomSelectControl:function(){return FC},Dashicon:function(){return Ve},DatePicker:function(){return WC},DateTimePicker:function(){return YC},Disabled:function(){return oO},Draggable:function(){return aO},DropZone:function(){return pO},DropZoneProvider:function(){return hO},Dropdown:function(){return fg},DropdownMenu:function(){return Yk},DuotonePicker:function(){return EO},DuotoneSwatch:function(){return yO},ExternalLink:function(){return CO},Fill:function(){return Er},Flex:function(){return Tp},FlexBlock:function(){return vp},FlexItem:function(){return gp},FocalPointPicker:function(){return GP},FocusReturnProvider:function(){return AR},FocusableIframe:function(){return qP},FontSizePicker:function(){return IM},FormFileUpload:function(){return RM},FormToggle:function(){return AM},FormTokenField:function(){return zM},G:function(){return i.G},GradientPicker:function(){return Vk},Guide:function(){return HM},GuidePage:function(){return WM},HorizontalRule:function(){return i.HorizontalRule},Icon:function(){return He},IconButton:function(){return UM},IsolatedEventContainer:function(){return wR},KeyboardShortcuts:function(){return GM},MenuGroup:function(){return qM},MenuItem:function(){return YM},MenuItemsChoice:function(){return XM},Modal:function(){return MS},NavigableMenu:function(){return Gk},Notice:function(){return $T},NoticeList:function(){return KT},Panel:function(){return qT},PanelBody:function(){return JT},PanelHeader:function(){return GT},PanelRow:function(){return eD},Path:function(){return i.Path},Placeholder:function(){return tD},Polygon:function(){return i.Polygon},Popover:function(){return Fr},QueryControls:function(){return uD},RadioControl:function(){return pD},RangeControl:function(){return ny},Rect:function(){return i.Rect},ResizableBox:function(){return JD},ResponsiveWrapper:function(){return QD},SVG:function(){return i.SVG},SandBox:function(){return nI},ScrollLock:function(){return Yn},SearchControl:function(){return nT},SelectControl:function(){return kg},Slot:function(){return kr},SlotFillProvider:function(){return Sr},Snackbar:function(){return rI},SnackbarList:function(){return aI},Spinner:function(){return fI},TabPanel:function(){return mI},TabbableContainer:function(){return ZM},TextControl:function(){return vI},TextHighlight:function(){return EI},TextareaControl:function(){return xI},TimePicker:function(){return qC},Tip:function(){return SI},ToggleControl:function(){return CI},Toolbar:function(){return VI},ToolbarButton:function(){return AI},ToolbarDropdownMenu:function(){return HI},ToolbarGroup:function(){return FI},ToolbarItem:function(){return II},Tooltip:function(){return Ur},TreeSelect:function(){return oD},VisuallyHidden:function(){return Wn},__experimentalAlignmentMatrixControl:function(){return Ni},__experimentalBorderBoxControl:function(){return G_},__experimentalBorderControl:function(){return I_},__experimentalBoxControl:function(){return Gx},__experimentalConfirmDialog:function(){return DS},__experimentalDimensionControl:function(){return ZC},__experimentalDivider:function(){return VE},__experimentalElevation:function(){return Jx},__experimentalFlyout:function(){return wP},__experimentalGrid:function(){return N_},__experimentalHStack:function(){return yg},__experimentalHasSplitBorders:function(){return V_},__experimentalHeading:function(){return i_},__experimentalInputControl:function(){return Wm},__experimentalIsDefinedBorder:function(){return B_},__experimentalIsEmptyBorder:function(){return z_},__experimentalItem:function(){return $M},__experimentalItemGroup:function(){return fk},__experimentalNavigation:function(){return vT},__experimentalNavigationBackButton:function(){return bT},__experimentalNavigationGroup:function(){return _T},__experimentalNavigationItem:function(){return PT},__experimentalNavigationMenu:function(){return IT},__experimentalNavigatorBackButton:function(){return WT},__experimentalNavigatorButton:function(){return HT},__experimentalNavigatorProvider:function(){return LT},__experimentalNavigatorScreen:function(){return BT},__experimentalNumberControl:function(){return Vv},__experimentalPaletteEdit:function(){return pS},__experimentalParseQuantityAndUnitFromRawValue:function(){return y_},__experimentalRadio:function(){return dD},__experimentalRadioGroup:function(){return fD},__experimentalScrollable:function(){return AE},__experimentalSpacer:function(){return Zm},__experimentalStyleProvider:function(){return mr},__experimentalSurface:function(){return pI},__experimentalText:function(){return ah},__experimentalToggleGroupControl:function(){return sM},__experimentalToggleGroupControlOption:function(){return kM},__experimentalToggleGroupControlOptionIcon:function(){return OI},__experimentalToolbarContext:function(){return DI},__experimentalToolsPanel:function(){return lR},__experimentalToolsPanelContext:function(){return JI},__experimentalToolsPanelItem:function(){return uR},__experimentalTreeGrid:function(){return hR},__experimentalTreeGridCell:function(){return yR},__experimentalTreeGridItem:function(){return gR},__experimentalTreeGridRow:function(){return mR},__experimentalTruncate:function(){return o_},__experimentalUnitControl:function(){return O_},__experimentalUseCustomUnits:function(){return w_},__experimentalUseNavigator:function(){return VT},__experimentalUseSlot:function(){return or},__experimentalVStack:function(){return r_},__experimentalView:function(){return Hn},__experimentalZStack:function(){return SR},__unstableComposite:function(){return Oi},__unstableCompositeGroup:function(){return Ti},__unstableCompositeItem:function(){return Re},__unstableDisclosureContent:function(){return Bb},__unstableGetAnimateClassName:function(){return Pr},__unstableMotion:function(){return lp},__unstableUseAutocompleteProps:function(){return ov},__unstableUseCompositeState:function(){return gi},__unstableUseNavigateRegions:function(){return OR},createSlotFill:function(){return Cr},navigateRegions:function(){return PR},withConstrainedTabbing:function(){return MR},withFallbackStyles:function(){return TR},withFilters:function(){return IR},withFocusOutside:function(){return _S},withFocusReturn:function(){return RR},withNotices:function(){return NR},withSpokenMessages:function(){return LM}});var e={};n.r(e),n.d(e,{Text:function(){return $p},block:function(){return Kp},destructive:function(){return qp},highlighterText:function(){return Xp},muted:function(){return Yp},positive:function(){return Gp},upperCase:function(){return Zp}});var t={};n.r(t),n.d(t,{TooltipContent:function(){return Yb},TooltipPopoverView:function(){return Xb},TooltipShortcut:function(){return Jb},noOutline:function(){return Zb}});var o={};n.r(o),n.d(o,{ButtonContentView:function(){return vM},LabelView:function(){return fM},buttonActive:function(){return mM},buttonView:function(){return hM},labelBlock:function(){return pM},medium:function(){return yM},separatorActive:function(){return gM}});var i=window.wp.primitives;function a(){return a=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=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)}var b=n(9196),w=n.n(b);function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(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 E(e){for(var t=1;t=0||(o[n]=e[n]);return o}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=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)}var O=(0,b.createContext)({});var P,M=function(e,t,n){void 0===n&&(n=t.children);var r=(0,b.useContext)(O);if(r.useCreateElement)return r.useCreateElement(e,t,n);if("string"==typeof e&&function(e){return"function"==typeof e}(n)){t.children;return n(k(t,["children"]))}return(0,b.createElement)(e,t,n)};function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D(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=0?n[a]=e[a]:r[a]=e[a]}return[n,r]}function L(e,t){if(void 0===t&&(t=[]),!A(e.state))return N(e,t);var n=N(e,[].concat(t,["state"])),r=n[0],o=n[1],i=r.state,a=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(r,["state"]);return[I(I({},i),a),o]}function F(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,a=n;i0||t.offsetHeight>0||e.getClientRects().length>0}(e)}function ae(e){return ie(e)&&!function(e){return parseInt(e.getAttribute("tabindex")||"0",10)<0}(e)}function se(e,t){var n=Array.from(e.querySelectorAll(oe)),r=n.filter(ae);return ae(e)&&r.unshift(e),!r.length&&t?n:r}function le(e,t){return se(e,t)[0]||null}var ue=V({name:"Role",keys:["unstable_system"],propsAreEqual:function(e,t){var n=e.unstable_system,r=v(e,["unstable_system"]),o=t.unstable_system,i=v(t,["unstable_system"]);return!(n!==o&&!F(n,o))&&F(r,i)}}),ce=(z({as:"div",useHook:ue}),ne("Mac")&&!ne("Chrome")&&(ne("Safari")||ne("Firefox")));function de(e){!J(e)&&ie(e)&&e.focus()}function fe(e,t,n,r){return e?t&&!n?-1:void 0:t?r:r||0}function pe(e,t){return(0,b.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 he=V({name:"Tabbable",compose:ue,keys:["disabled","focusable"],useOptions:function(e,t){return m({disabled:t.disabled},e)},useProps:function(e,t){var n=t.ref,r=t.tabIndex,o=t.onClickCapture,i=t.onMouseDownCapture,a=t.onMouseDown,s=t.onKeyPressCapture,l=t.style,u=v(t,["ref","tabIndex","onClickCapture","onMouseDownCapture","onMouseDown","onKeyPressCapture","style"]),c=(0,b.useRef)(null),d=q(o),f=q(i),p=q(a),h=q(s),g=!!e.disabled&&!e.focusable,y=(0,b.useState)(!0),w=y[0],_=y[1],x=(0,b.useState)(!0),E=x[0],k=x[1],S=e.disabled?m({pointerEvents:"none"},l):l;G((function(){var e=c.current;e&&(["BUTTON","INPUT","SELECT","TEXTAREA","A"].includes(e.tagName)||_(!1),function(e){return["BUTTON","INPUT","SELECT","TEXTAREA"].includes(e.tagName)}(e)||k(!1))}),[]);var C=pe(d,e.disabled),O=pe(f,e.disabled),P=pe(h,e.disabled),M=(0,b.useCallback)((function(e){var t;null===(t=p.current)||void 0===t||t.call(p,e);var n=e.currentTarget;if(!e.defaultPrevented&&ce&&!Q(e)&&te(n)){var r=requestAnimationFrame((function(){n.removeEventListener("mouseup",o,!0),de(n)})),o=function(){cancelAnimationFrame(r),de(n)};n.addEventListener("mouseup",o,{once:!0,capture:!0})}}),[]);return m({ref:W(c,n),style:S,tabIndex:fe(g,w,E,r),disabled:!(!g||!E)||void 0,"aria-disabled":!!e.disabled||void 0,onClickCapture:C,onMouseDownCapture:O,onMouseDown:M,onKeyPressCapture:P},u)}});z({as:"div",useHook:he});var me=V({name:"Clickable",compose:he,keys:["unstable_clickOnEnter","unstable_clickOnSpace"],useOptions:function(e){var t=e.unstable_clickOnEnter,n=void 0===t||t,r=e.unstable_clickOnSpace;return m({unstable_clickOnEnter:n,unstable_clickOnSpace:void 0===r||r},v(e,["unstable_clickOnEnter","unstable_clickOnSpace"]))},useProps:function(e,t){var n=t.onKeyDown,r=t.onKeyUp,o=v(t,["onKeyDown","onKeyUp"]),i=(0,b.useState)(!1),a=i[0],s=i[1],l=q(n),u=q(r),c=(0,b.useCallback)((function(t){var n;if(null===(n=l.current)||void 0===n||n.call(l,t),!t.defaultPrevented&&!e.disabled&&!t.metaKey&&Y(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&&(te(t)||"INPUT"===t.tagName||"TEXTAREA"===t.tagName||"A"===t.tagName||"SELECT"===t.tagName)}(t))return;t.preventDefault(),r?t.currentTarget.click():o&&s(!0)}}}),[e.disabled,e.unstable_clickOnEnter,e.unstable_clickOnSpace]),d=(0,b.useCallback)((function(t){var n;if(null===(n=u.current)||void 0===n||n.call(u,t),!t.defaultPrevented&&!e.disabled&&!t.metaKey){var r=e.unstable_clickOnSpace&&" "===t.key;a&&r&&(s(!1),t.currentTarget.click())}}),[e.disabled,e.unstable_clickOnSpace,a]);return m({"data-active":a||void 0,onKeyDown:c,onKeyUp:d},o)}});z({as:"button",memo:!0,useHook:me});function ve(e,t){return t?e.find((function(e){return!e.disabled&&e.id!==t})):e.find((function(e){return!e.disabled}))}function ge(e,t){var n;return t||null===t?t:e.currentId||null===e.currentId?e.currentId:null===(n=ve(e.items||[]))||void 0===n?void 0:n.id}var ye=["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"],be=ye,we=be;function _e(e){e.userFocus=!0,e.focus(),e.userFocus=!1}function xe(e,t){e.userFocus=t}function Ee(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}}function ke(e){var t=X(e);if(!t)return!1;if(t===e)return!0;var n=t.getAttribute("aria-activedescendant");return!!n&&n===e.id}function Se(e,t){var n=void 0===t?{}:t,r=n.preventScroll,o=n.isActive,i=void 0===o?ke:o;return i(e)?-1:(e.focus({preventScroll:r}),i(e)?-1:requestAnimationFrame((function(){e.focus({preventScroll:r})})))}function Ce(e){return void 0===e&&(e="id"),(e?e+"-":"")+Math.random().toString(32).substr(2,6)}var Oe=(0,b.createContext)(Ce);var Pe=V({keys:[].concat(["baseId","unstable_idCountRef","setBaseId"],["id"]),useOptions:function(e,t){var n=(0,b.useContext)(Oe),r=(0,b.useState)((function(){return e.unstable_idCountRef?(e.unstable_idCountRef.current+=1,"-"+e.unstable_idCountRef.current):e.baseId?"-"+n(""):""}))[0],o=(0,b.useMemo)((function(){return e.baseId||n()}),[e.baseId,n]),i=t.id||e.id||""+o+r;return m(m({},e),{},{id:i})},useProps:function(e,t){return m({id:e.id},t)}});z({as:"div",useHook:Pe});function Me(e,t,n){if("function"==typeof Event)return new Event(t,n);var r=U(e).createEvent("Event");return r.initEvent(t,null==n?void 0:n.bubbles,null==n?void 0:n.cancelable),r}function Te(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(Me(e,t,n))}(e,"input",{bubbles:!0}))}}function De(e){return e.querySelector("[data-composite-item-widget]")}var Ie=V({name:"CompositeItem",compose:[me,Pe],keys:we,propsAreEqual:function(e,t){if(!t.id||e.id!==t.id)return me.unstable_propsAreEqual(e,t);var n=e.currentId,r=e.unstable_moves,o=v(e,["currentId","unstable_moves"]),i=t.currentId,a=t.unstable_moves,s=v(t,["currentId","unstable_moves"]);if(i!==n){if(t.id===i||t.id===n)return!1}else if(r!==a)return!1;return me.unstable_propsAreEqual(o,s)},useOptions:function(e){return m(m({},e),{},{id:e.id,currentId:ge(e),unstable_clickOnSpace:!e.unstable_hasActiveWidget&&e.unstable_clickOnSpace})},useProps:function(e,t){var n,r=t.ref,o=t.tabIndex,i=void 0===o?0:o,a=t.onMouseDown,s=t.onFocus,l=t.onBlurCapture,u=t.onKeyDown,c=t.onClick,d=v(t,["ref","tabIndex","onMouseDown","onFocus","onBlurCapture","onKeyDown","onClick"]),f=(0,b.useRef)(null),p=e.id,h=e.disabled&&!e.focusable,g=e.currentId===p,w=q(g),_=(0,b.useRef)(!1),x=function(e){return(0,b.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),E=q(a),k=q(s),S=q(l),C=q(u),O=q(c),P=!e.unstable_virtual&&!e.unstable_hasActiveWidget&&g||!(null!==(n=e.items)&&void 0!==n&&n.length);(0,b.useEffect)((function(){var t;if(p)return null===(t=e.registerItem)||void 0===t||t.call(e,{id:p,ref:f,disabled:!!h}),function(){var t;null===(t=e.unregisterItem)||void 0===t||t.call(e,p)}}),[p,h,e.registerItem,e.unregisterItem]),(0,b.useEffect)((function(){var t=f.current;t&&e.unstable_moves&&w.current&&_e(t)}),[e.unstable_moves]);var M=(0,b.useCallback)((function(e){var t;null===(t=E.current)||void 0===t||t.call(E,e),xe(e.currentTarget,!0)}),[]),T=(0,b.useCallback)((function(t){var n,r,o=!!t.currentTarget.userFocus;if(xe(t.currentTarget,!1),null===(n=k.current)||void 0===n||n.call(k,t),!t.defaultPrevented&&!Q(t)&&p&&!function(e,t){if(Y(e))return!1;for(var n,r=y(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,p),o&&e.unstable_virtual&&e.baseId&&Y(t))){var i=U(t.target).getElementById(e.baseId);i&&(_.current=!0,Se(i))}}),[p,e.items,e.setCurrentId,e.unstable_virtual,e.baseId]),D=(0,b.useCallback)((function(t){var n;null===(n=S.current)||void 0===n||n.call(S,t),t.defaultPrevented||e.unstable_virtual&&_.current&&(_.current=!1,t.preventDefault(),t.stopPropagation())}),[e.unstable_virtual]),I=(0,b.useCallback)((function(t){var n;if(Y(t)){var r="horizontal"!==e.orientation,o="vertical"!==e.orientation,i=!(null==x||!x.groupId),a={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(a)return t.preventDefault(),void a();if(null===(n=C.current)||void 0===n||n.call(C,t),!t.defaultPrevented)if(1===t.key.length&&" "!==t.key){var s=De(t.currentTarget);s&&Ee(s)&&(s.focus(),Te(s,""))}else if("Delete"===t.key||"Backspace"===t.key){var l=De(t.currentTarget);l&&Ee(l)&&(t.preventDefault(),Te(l,""))}}}),[e.orientation,x,e.up,e.next,e.down,e.previous,e.first,e.last]),R=(0,b.useCallback)((function(e){var t;if(null===(t=O.current)||void 0===t||t.call(O,e),!e.defaultPrevented){var n=De(e.currentTarget);n&&!J(n)&&n.focus()}}),[]);return m({ref:W(f,r),id:p,tabIndex:P?i:-1,"aria-selected":!(!e.unstable_virtual||!g)||void 0,onMouseDown:M,onFocus:T,onBlurCapture:D,onKeyDown:I,onClick:R},d)}}),Re=z({as:"button",memo:!0,useHook:Ie}),Ae=window.wp.dom;var Ne=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.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"}));function Le(e,t,n,r,o,i,a,s,l){const{width:u}=t;"left"===n&&(0,d.isRTL)()?n="right":"right"===n&&(0,d.isRTL)()&&(n="left"),"left"===r&&(0,d.isRTL)()?r="right":"right"===r&&(0,d.isRTL)()&&(r="left");const c=Math.round(e.left+e.width/2),f={popoverLeft:c,contentWidth:(c-u/2>0?u/2:c)+(c+u/2>window.innerWidth?window.innerWidth-c:u/2)};let p=e.left;"right"===r?p=e.right:"middle"===i||l||(p=c);let h=e.right;"left"===r?h=e.left:"middle"===i||l||(h=c);const m={popoverLeft:p,contentWidth:p-u>0?u:p},v={popoverLeft:h,contentWidth:h+u>window.innerWidth?window.innerWidth-h:u};let g,y=n,b=null;if(!o&&!s)if("center"===n&&f.contentWidth===u)y="center";else if("left"===n&&m.contentWidth===u)y="left";else if("right"===n&&v.contentWidth===u)y="right";else{y=m.contentWidth>v.contentWidth?"left":"right";const e="left"===y?m.contentWidth:v.contentWidth;u>window.innerWidth&&(b=window.innerWidth),e!==u&&(y="center",f.popoverLeft=window.innerWidth/2)}return g="center"===y?f.popoverLeft:"left"===y?m.popoverLeft:v.popoverLeft,a&&(g=Math.min(g,a.offsetLeft+a.offsetWidth-u),(0,d.isRTL)()||(g=Math.max(g,0))),{xAxis:y,popoverLeft:g,contentWidth:b}}function Fe(e,t,n,r,o,i,a,s,l){const{height:u}=t;if(o){const t=o.getBoundingClientRect(),r=t.top+u-a,i=t.bottom-u-a;if(e.top<=r){if(l){if(!(u+100?u/2:c)+(c+u/2>window.innerHeight?window.innerHeight-c:u/2)},f={popoverTop:e.top,contentHeight:e.top-10-u>0?u:e.top-10},p={popoverTop:e.bottom,contentHeight:e.bottom+10+u>window.innerHeight?window.innerHeight-10-e.bottom:u};let h,m=n,v=null;if(!o&&!s)if("middle"===n&&d.contentHeight===u)m="middle";else if("top"===n&&f.contentHeight===u)m="top";else if("bottom"===n&&p.contentHeight===u)m="bottom";else{m=f.contentHeight>p.contentHeight?"top":"bottom";const e="top"===m?f.contentHeight:p.contentHeight;v=e!==u?e:null}return h="middle"===m?d.popoverTop:"top"===m?f.popoverTop:p.popoverTop,{yAxis:m,popoverTop:h,contentHeight:v}}function je(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)}var ze=window.wp.deprecated,Be=n.n(ze);var Ve=function(e){let{icon:t,className:n,...r}=e;const o=["dashicon","dashicons","dashicons-"+t,n].filter(Boolean).join(" ");return(0,s.createElement)("span",a({className:o},r))};var He=function(e){let{icon:t=null,size:n=24,...r}=e;if("string"==typeof t)return(0,s.createElement)(Ve,a({icon:t},r));if((0,s.isValidElement)(t)&&Ve===t.type)return(0,s.cloneElement)(t,{...r});if("function"==typeof t)return t.prototype instanceof s.Component?(0,s.createElement)(t,{size:n,...r}):t({size:n,...r});if(t&&("svg"===t.type||t.type===i.SVG)){const e={width:n,height:n,...t.props,...r};return(0,s.createElement)(i.SVG,e)}return(0,s.isValidElement)(t)?(0,s.cloneElement)(t,{size:n,...r}):t};window.wp.warning;const We=(0,s.createContext)({}),Ue=()=>(0,s.useContext)(We);function $e(e){let{value:t}=e;const n=Ue(),r=(0,s.useRef)(t);!function(e,t){const n=(0,s.useRef)(!1);(0,s.useEffect)((()=>{if(n.current)return e();n.current=!0}),t)}((()=>{(0,l.isEqual)(r.current,t)&&r.current!==t&&"undefined"!=typeof process&&process.env}),[t]);return(0,s.useMemo)((()=>(0,l.merge)((0,l.cloneDeep)(n),t)),[n,t])}const Ke=(0,s.memo)((e=>{let{children:t,value:n}=e;const r=$e({value:n});return(0,s.createElement)(We.Provider,{value:r},t)}));var Ge=n(9756),qe=n.n(Ge);const Ye=qe()((function(e){return`components-${(0,l.kebabCase)(e)}`}));var Xe=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?rt(pt,--dt):0,ut--,10===ft&&(ut=1,lt--),ft}function gt(){return ft=dt2||_t(ft)>3?"":" "}function Ct(e,t){for(;--t&>()&&!(ft<48||ft>102||ft>57&&ft<65||ft>70&&ft<97););return wt(e,bt()+(t<6&&32==yt()&&32==gt()))}function Ot(e){for(;gt();)switch(ft){case e:return dt;case 34:case 39:34!==e&&39!==e&&Ot(ft);break;case 40:41===e&&Ot(e);break;case 92:gt()}return dt}function Pt(e,t){for(;gt()&&e+ft!==57&&(e+ft!==84||47!==yt()););return"/*"+wt(t,dt-1)+"*"+Je(47===e?e:gt())}function Mt(e){for(;!_t(yt());)gt();return wt(e,dt)}var Tt="-ms-",Dt="-moz-",It="-webkit-",Rt="comm",At="rule",Nt="decl",Lt="@keyframes";function Ft(e,t){for(var n="",r=at(e),o=0;o6)switch(rt(e,t+1)){case 109:if(45!==rt(e,t+4))break;case 102:return tt(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+Dt+(108==rt(e,t+3)?"$3":"$2-$3"))+e;case 115:return~nt(e,"stretch")?zt(tt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==rt(e,t+1))break;case 6444:switch(rt(e,it(e)-3-(~nt(e,"!important")&&10))){case 107:return tt(e,":",":"+It)+e;case 101:return tt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+It+(45===rt(e,14)?"inline-":"")+"box$3$1"+It+"$2$3$1"+Tt+"$2box$3")+e}break;case 5936:switch(rt(e,t+11)){case 114:return It+e+Tt+tt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return It+e+Tt+tt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return It+e+Tt+tt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return It+e+Tt+e+e}return e}function Bt(e){return Et(Vt("",null,null,null,[""],e=xt(e),0,[0],e))}function Vt(e,t,n,r,o,i,a,s,l){for(var u=0,c=0,d=a,f=0,p=0,h=0,m=1,v=1,g=1,y=0,b="",w=o,_=i,x=r,E=b;v;)switch(h=y,y=gt()){case 40:if(108!=h&&58==E.charCodeAt(d-1)){-1!=nt(E+=tt(kt(y),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:E+=kt(y);break;case 9:case 10:case 13:case 32:E+=St(h);break;case 92:E+=Ct(bt()-1,7);continue;case 47:switch(yt()){case 42:case 47:st(Wt(Pt(gt(),bt()),t,n),l);break;default:E+="/"}break;case 123*m:s[u++]=it(E)*g;case 125*m:case 59:case 0:switch(y){case 0:case 125:v=0;case 59+c:p>0&&it(E)-d&&st(p>32?Ut(E+";",r,n,d-1):Ut(tt(E," ","")+";",r,n,d-2),l);break;case 59:E+=";";default:if(st(x=Ht(E,t,n,u,c,o,s,b,w=[],_=[],d),i),123===y)if(0===c)Vt(E,t,x,x,w,i,d,s,_);else switch(f){case 100:case 109:case 115:Vt(e,x,x,r&&st(Ht(e,x,x,0,0,o,s,b,o,w=[],d),_),o,_,d,s,r?w:_);break;default:Vt(E,x,x,x,[""],_,0,s,_)}}u=c=p=0,m=g=1,b=E="",d=a;break;case 58:d=1+it(E),p=h;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==vt())continue;switch(E+=Je(y),y*m){case 38:g=c>0?1:(E+="\f",-1);break;case 44:s[u++]=(it(E)-1)*g,g=1;break;case 64:45===yt()&&(E+=kt(gt())),f=yt(),c=d=it(b=E+=Mt(bt())),y++;break;case 45:45===h&&2==it(E)&&(m=0)}}return i}function Ht(e,t,n,r,o,i,a,s,l,u,c){for(var d=o-1,f=0===o?i:[""],p=at(f),h=0,m=0,v=0;h0?f[g]+" "+y:tt(y,/&\f/g,f[g])))&&(l[v++]=b);return ht(e,t,n,0===o?At:s,l,u,c)}function Wt(e,t,n){return ht(e,t,n,Rt,Je(ft),ot(e,2,-2),0)}function Ut(e,t,n,r){return ht(e,t,n,Nt,ot(e,0,r),ot(e,r+1,-1),r)}var $t=function(e,t,n){for(var r=0,o=0;r=o,o=yt(),38===r&&12===o&&(t[n]=1),!_t(o);)gt();return wt(e,dt)},Kt=function(e,t){return Et(function(e,t){var n=-1,r=44;do{switch(_t(r)){case 0:38===r&&12===yt()&&(t[n]=1),e[n]+=$t(dt-1,t,n);break;case 2:e[n]+=kt(r);break;case 4:if(44===r){e[++n]=58===yt()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Je(r)}}while(r=gt());return e}(xt(e),t))},Gt=new WeakMap,qt=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Gt.get(n))&&!r){Gt.set(e,!0);for(var o=[],i=Kt(t,o),a=n.props,s=0,l=0;s-1&&!e.return)switch(e.type){case Nt:e.return=zt(e.value,e.length);break;case Lt:return Ft([mt(e,{value:tt(e.value,"@","@"+It)})],r);case At:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ft([mt(e,{props:[tt(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Ft([mt(e,{props:[tt(t,/:(plac\w+)/,":-webkit-input-$1")]}),mt(e,{props:[tt(t,/:(plac\w+)/,":-moz-$1")]}),mt(e,{props:[tt(t,/:(plac\w+)/,Tt+"input-$1")]})],r)}return""}))}}],Zt=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||Xt;var o,i,a={},s=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},Qt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var en=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}},tn=/[A-Z]|^ms/g,nn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,rn=function(e){return 45===e.charCodeAt(1)},on=function(e){return null!=e&&"boolean"!=typeof e},an=en((function(e){return rn(e)?e:e.replace(tn,"-$&").toLowerCase()})),sn=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(nn,(function(e,t,n){return un={name:t,styles:n,next:un},t}))}return 1===Qt[e]||rn(e)||"number"!=typeof t||0===t?t:t+"px"};function ln(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return un={name:n.name,styles:n.styles,next:un},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)un={name:r.name,styles:r.styles,next:un},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;onull!=e&&["name","styles"].every((t=>void 0!==e[t])),Sn=()=>{const e=(0,b.useContext)(fn),t=(0,s.useCallback)((function(){if(null===e)throw new Error("The `useCx` hook should be only used within a valid Emotion Cache Context");for(var t=arguments.length,n=new Array(t),r=0;rkn(t)?(gn(e,t,!1),`${e.key}-${t.name}`):t)))}),[e]);return t};function Cn(e,t){const n=Ue();void 0===t&&"undefined"!=typeof process&&process.env;const r=(null==n?void 0:n[t])||{},o={"data-wp-c16t":!0,...(i=t,{"data-wp-component":i})};var i;const{_overrides:a,...s}=r,l=Object.entries(s).length?Object.assign({},s,e):e,u=Sn()(Ye(t),e.className),c="function"==typeof l.renderChildren?l.renderChildren(l):l.children;for(const e in l)o[e]=l[e];for(const e in a)o[e]=a[e];return o.children=c,o.className=u,o}function On(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{memo:r=!1}=n;let o=(0,s.forwardRef)(e);r&&(o=(0,s.memo)(o)),void 0===t&&"undefined"!=typeof process&&process.env;let i=o.__contextSystemKey__||[t];return Array.isArray(t)&&(i=[...i,...t]),"string"==typeof t&&(i=[...i,t]),o.displayName=t,o.__contextSystemKey__=(0,l.uniq)(i),o.selector=`.${Ye(t)}`,o}function Pn(e){if(!e)return[];let t=[];return e.__contextSystemKey__&&(t=e.__contextSystemKey__),e.type&&e.type.__contextSystemKey__&&(t=e.type.__contextSystemKey__),t}function Mn(e,t){return!!e&&("string"==typeof t?Pn(e).includes(t):!!Array.isArray(t)&&t.some((t=>Pn(e).includes(t))))}const Tn={border:0,clip:"rect(1px, 1px, 1px, 1px)",WebkitClipPath:"inset( 50% )",clipPath:"inset( 50% )",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",wordWrap:"normal"};var Dn=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;function In(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var Rn=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},An=en((function(e){return Dn.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),Nn=function(e){return"theme"!==e},Ln=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?An:Nn},Fn=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},jn=b.useInsertionEffect?b.useInsertionEffect:function(e){e()};var zn=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Rn(t,n,r);var o;o=function(){return function(e,t,n){Rn(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,n,r)},jn(o);return null},Bn=function e(t,n){var r,o,i=t.__emotion_real===t,s=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=Fn(t,n,i),u=l||Ln(s),c=!u("as");return function(){var d=arguments,f=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&f.push("label:"+r+";"),null==d[0]||void 0===d[0].raw)f.push.apply(f,d);else{0,f.push(d[0][0]);for(var p=d.length,h=1;h{e.stopPropagation(),e.preventDefault()}}const A=!D&&(b&&x||_||!!x&&(!E||(0,l.isArray)(E)&&!E.length)&&!1!==b),N=O?M:null,L=P["aria-describedby"]||N,F=(0,s.createElement)(I,a({},R,P,{className:T,"aria-label":P["aria-label"]||x,"aria-describedby":L,ref:n}),v&&"left"===g&&(0,s.createElement)(He,{icon:v,size:y}),k&&(0,s.createElement)(s.Fragment,null,k),v&&"right"===g&&(0,s.createElement)(He,{icon:v,size:y}),E);return A?(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Ur,{text:O||x,shortcut:_,position:w},F),O&&(0,s.createElement)(Wn,null,(0,s.createElement)("span",{id:N},O))):(0,s.createElement)(s.Fragment,null,F,O&&(0,s.createElement)(Wn,null,(0,s.createElement)("span",{id:N},O)))}));let Kn=0;function Gn(e){const t=document.scrollingElement||document.body;e&&(Kn=t.scrollTop);const n=e?"add":"remove";t.classList[n]("lockscroll"),document.documentElement.classList[n]("lockscroll"),e||(t.scrollTop=Kn)}let qn=0;function Yn(){return(0,s.useEffect)((()=>(0===qn&&Gn(!0),++qn,()=>{1===qn&&Gn(!1),--qn})),[]),null}var Xn=(0,s.createContext)({registerSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},getSlot:()=>{},getFills:()=>{},subscribe:()=>{}});var Zn=e=>{const{getSlot:t,subscribe:n}=(0,s.useContext)(Xn),[r,o]=(0,s.useState)(t(e));return(0,s.useEffect)((()=>{o(t(e));return n((()=>{o(t(e))}))}),[e]),r};function Jn(e){let{name:t,children:n,registerFill:r,unregisterFill:o}=e;const i=Zn(t),a=(0,s.useRef)({name:t,children:n});return(0,s.useLayoutEffect)((()=>(r(t,a.current),()=>o(t,a.current))),[]),(0,s.useLayoutEffect)((()=>{a.current.children=n,i&&i.forceUpdate()}),[n]),(0,s.useLayoutEffect)((()=>{t!==a.current.name&&(o(a.current.name,a.current),a.current.name=t,r(t,a.current))}),[t]),i&&i.node?((0,l.isFunction)(n)&&(n=n(i.props.fillProps)),(0,s.createPortal)(n,i.node)):null}var Qn=e=>(0,s.createElement)(Xn.Consumer,null,(t=>{let{registerFill:n,unregisterFill:r}=t;return(0,s.createElement)(Jn,a({},e,{registerFill:n,unregisterFill:r}))}));class er extends s.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,o=(0,l.map)(r(t,this),(e=>{const t=(0,l.isFunction)(e.children)?e.children(n):e.children;return s.Children.map(t,((e,t)=>{if(!e||(0,l.isString)(e))return e;const n=e.key||t;return(0,s.cloneElement)(e,{key:n})}))})).filter((0,l.negate)(s.isEmptyElement));return(0,s.createElement)(s.Fragment,null,(0,l.isFunction)(e)?e(o):o)}}var tr=e=>(0,s.createElement)(Xn.Consumer,null,(t=>{let{registerSlot:n,unregisterSlot:r,getFills:o}=t;return(0,s.createElement)(er,a({},e,{registerSlot:n,unregisterSlot:r,getFills:o}))}));var nr,rr=(0,s.createContext)({slots:{},fills:{},registerSlot:()=>{"undefined"!=typeof process&&process.env},updateSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{}});function or(e){const t=(0,s.useContext)(rr),n=t.slots[e]||{},r=t.fills[e],o=(0,s.useMemo)((()=>r||[]),[r]);return{...n,updateSlot:(0,s.useCallback)((n=>{t.updateSlot(e,n)}),[e,t.updateSlot]),unregisterSlot:(0,s.useCallback)((n=>{t.unregisterSlot(e,n)}),[e,t.unregisterSlot]),fills:o,registerFill:(0,s.useCallback)((n=>{t.registerFill(e,n)}),[e,t.registerFill]),unregisterFill:(0,s.useCallback)((n=>{t.unregisterFill(e,n)}),[e,t.unregisterFill])}}var ir=new Uint8Array(16);function ar(){if(!nr&&!(nr="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return nr(ir)}var sr=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var lr=function(e){return"string"==typeof e&&sr.test(e)},ur=[],cr=0;cr<256;++cr)ur.push((cr+256).toString(16).substr(1));var dr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(ur[e[t+0]]+ur[e[t+1]]+ur[e[t+2]]+ur[e[t+3]]+"-"+ur[e[t+4]]+ur[e[t+5]]+"-"+ur[e[t+6]]+ur[e[t+7]]+"-"+ur[e[t+8]]+ur[e[t+9]]+"-"+ur[e[t+10]]+ur[e[t+11]]+ur[e[t+12]]+ur[e[t+13]]+ur[e[t+14]]+ur[e[t+15]]).toLowerCase();if(!lr(n))throw TypeError("Stringified UUID is invalid");return n};var fr=function(e,t,n){var r=(e=e||{}).random||(e.rng||ar)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return dr(r)};const pr=new Set,hr=qe()((e=>{let t=fr().replace(/[0-9]/g,"");for(;pr.has(t);)t=fr().replace(/[0-9]/g,"");return pr.add(t),Zt({container:e,key:t})}));function mr(e){let{children:t,document:n}=e;if(!n)return null;const r=hr(n.head);return(0,s.createElement)(pn,{value:r},t)}function vr(){const[,e]=(0,s.useState)({}),t=(0,s.useRef)(!0);return(0,s.useEffect)((()=>()=>{t.current=!1}),[]),()=>{t.current&&e({})}}function gr(e){let{name:t,children:n}=e;const r=or(t),o=(0,s.useRef)({rerender:vr()});if((0,s.useEffect)((()=>(r.registerFill(o),()=>{r.unregisterFill(o)})),[r.registerFill,r.unregisterFill]),!r.ref||!r.ref.current)return null;"function"==typeof n&&(n=n(r.fillProps));const i=(0,s.createElement)(mr,{document:r.ref.current.ownerDocument},n);return(0,s.createPortal)(i,r.ref.current)}var yr=(0,s.forwardRef)((function(e,t){let{name:n,fillProps:r={},as:o="div",...i}=e;const l=(0,s.useContext)(rr),u=(0,s.useRef)();return(0,s.useLayoutEffect)((()=>(l.registerSlot(n,u,r),()=>{l.unregisterSlot(n,u)})),[l.registerSlot,l.unregisterSlot,n]),(0,s.useLayoutEffect)((()=>{l.updateSlot(n,r)})),(0,s.createElement)(o,a({ref:(0,f.useMergeRefs)([t,u])},i))})),br=window.wp.isShallowEqual,wr=n.n(br);function _r(e){let{children:t}=e;const n=function(){const[e,t]=(0,s.useState)({}),[n,r]=(0,s.useState)({}),o=(0,s.useCallback)(((e,n,r)=>{t((t=>{const o=t[e]||{};return{...t,[e]:{...o,ref:n||o.ref,fillProps:r||o.fillProps||{}}}}))}),[]),i=(0,s.useCallback)(((e,n)=>{t((t=>{const{[e]:r,...o}=t;return(null==r?void 0:r.ref)===n?o:t}))}),[]),a=(0,s.useCallback)(((t,r)=>{const o=e[t];if(o&&!wr()(o.fillProps,r)){o.fillProps=r;const e=n[t];e&&e.map((e=>e.current.rerender()))}}),[e,n]),l=(0,s.useCallback)(((e,t)=>{r((n=>({...n,[e]:[...n[e]||[],t]})))}),[]),u=(0,s.useCallback)(((e,t)=>{r((n=>n[e]?{...n,[e]:n[e].filter((e=>e!==t))}:n))}),[]);return(0,s.useMemo)((()=>({slots:e,fills:n,registerSlot:o,updateSlot:a,unregisterSlot:i,registerFill:l,unregisterFill:u})),[e,n,o,a,i,l,u])}();return(0,s.createElement)(rr.Provider,{value:n},t)}class xr extends s.Component{constructor(){super(...arguments),this.registerSlot=this.registerSlot.bind(this),this.registerFill=this.registerFill.bind(this),this.unregisterSlot=this.unregisterSlot.bind(this),this.unregisterFill=this.unregisterFill.bind(this),this.getSlot=this.getSlot.bind(this),this.getFills=this.getFills.bind(this),this.hasFills=this.hasFills.bind(this),this.subscribe=this.subscribe.bind(this),this.slots={},this.fills={},this.listeners=[],this.contextValue={registerSlot:this.registerSlot,unregisterSlot:this.unregisterSlot,registerFill:this.registerFill,unregisterFill:this.unregisterFill,getSlot:this.getSlot,getFills:this.getFills,hasFills:this.hasFills,subscribe:this.subscribe}}registerSlot(e,t){const n=this.slots[e];this.slots[e]=t,this.triggerListeners(),this.forceUpdateSlot(e),n&&n.forceUpdate()}registerFill(e,t){this.fills[e]=[...this.fills[e]||[],t],this.forceUpdateSlot(e)}unregisterSlot(e,t){this.slots[e]===t&&(delete this.slots[e],this.triggerListeners())}unregisterFill(e,t){this.fills[e]=(0,l.without)(this.fills[e],t),this.forceUpdateSlot(e)}getSlot(e){return this.slots[e]}getFills(e,t){return this.slots[e]!==t?[]:this.fills[e]}hasFills(e){return this.fills[e]&&!!this.fills[e].length}forceUpdateSlot(e){const t=this.getSlot(e);t&&t.forceUpdate()}triggerListeners(){this.listeners.forEach((e=>e()))}subscribe(e){return this.listeners.push(e),()=>{this.listeners=(0,l.without)(this.listeners,e)}}render(){return(0,s.createElement)(Xn.Provider,{value:this.contextValue},this.props.children)}}function Er(e){return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Qn,e),(0,s.createElement)(gr,e))}const kr=(0,s.forwardRef)(((e,t)=>{let{bubblesVirtually:n,...r}=e;return n?(0,s.createElement)(yr,a({},r,{ref:t})):(0,s.createElement)(tr,r)}));function Sr(e){let{children:t,...n}=e;return(0,s.createElement)(xr,n,(0,s.createElement)(_r,null,t))}function Cr(e){const t=t=>(0,s.createElement)(Er,a({name:e},t));t.displayName=e+"Fill";const n=t=>(0,s.createElement)(kr,a({name:e},t));return n.displayName=e+"Slot",n.__unstableName=e,{Fill:t,Slot:n}}function Or(e){return"appear"===e?"top":"left"}function Pr(e){if("loading"===e.type)return c()("components-animate__loading");const{type:t,origin:n=Or(t)}=e;if("appear"===t){const[e,t="center"]=n.split(" ");return c()("components-animate__appear",{["is-from-"+t]:"center"!==t,["is-from-"+e]:"middle"!==e})}return"slide-in"===t?c()("components-animate__slide-in","is-from-"+n):void 0}function Mr(e){let{type:t,options:n={},children:r}=e;return r({className:Pr({type:t,...n})})}const Tr="Popover",Dr=(0,s.createContext)();function Ir(e,t){const{paddingTop:n,paddingBottom:r,paddingLeft:o,paddingRight:i}=function(e){return e.ownerDocument.defaultView.getComputedStyle(e)}(t),a=n?parseInt(n,10):0,s=r?parseInt(r,10):0,l=o?parseInt(o,10):0,u=i?parseInt(i,10):0;return{x:e.left+l,y:e.top+a,width:e.width-l-u,height:e.height-a-s,left:e.left+l,right:e.right-u,top:e.top+a,bottom:e.bottom-s}}function Rr(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function Ar(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.style[t]!==n&&(e.style[t]=n)}function Nr(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}const Lr=(0,s.forwardRef)(((e,t)=>{let{headerTitle:n,onClose:r,children:o,className:i,noArrow:l=!0,isAlternate:u,position:d="bottom right",range:p,focusOnMount:h="firstElement",anchorRef:m,shouldAnchorIncludePadding:v,anchorRect:g,getAnchorRect:y,expandOnMobile:b,animate:w=!0,onFocusOutside:_,__unstableStickyBoundaryElement:x,__unstableSlotName:E=Tr,__unstableObserveElement:k,__unstableBoundaryParent:S,__unstableForcePosition:C,__unstableForceXAlignment:O,__unstableEditorCanvasWrapper:P,...M}=e;const T=(0,s.useRef)(null),D=(0,s.useRef)(null),I=(0,s.useRef)(),R=(0,f.useViewportMatch)("medium","<"),[A,N]=(0,s.useState)(),L=(0,s.useContext)(Dr)||E,F=or(L),j=b&&R,[z,B]=(0,f.useResizeObserver)();l=j||l,(0,s.useLayoutEffect)((()=>{if(j)return Nr(I.current,"is-without-arrow",l),Nr(I.current,"is-alternate",u),Rr(I.current,"data-x-axis"),Rr(I.current,"data-y-axis"),Ar(I.current,"top"),Ar(I.current,"left"),Ar(D.current,"maxHeight"),void Ar(D.current,"maxWidth");const e=()=>{if(!I.current||!D.current)return;let e=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0;if(t)return t;if(n){if(!e.current)return;const t=n(e.current);return je(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 je((0,Ae.getRectangleFromRange)(r),r.endContainer.ownerDocument,i);if("function"==typeof(null==r?void 0:r.getBoundingClientRect)){const e=je(r.getBoundingClientRect(),r.ownerDocument,i);return o?e:Ir(e,r)}const{top:e,bottom:t}=r,n=e.getBoundingClientRect(),a=t.getBoundingClientRect(),s=je(new window.DOMRect(n.left,n.top,n.width,a.bottom-n.top),e.ownerDocument,i);return o?s:Ir(s,r)}if(!e.current)return;const{parentNode:a}=e.current,s=je(a.getBoundingClientRect(),a.ownerDocument,i);return o?s:Ir(s,a)}(T,g,y,m,v,I.current);if(!e)return;const{offsetParent:t,ownerDocument:n}=I.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)}S&&(r=I.current.parentElement);const i=B.height?B:D.current.getBoundingClientRect(),{popoverTop:a,popoverLeft:s,xAxis:c,yAxis:f,contentHeight:p,contentWidth:h}=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top",r=arguments.length>3?arguments[3]:void 0,o=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0,a=arguments.length>7?arguments[7]:void 0,s=arguments.length>8?arguments[8]:void 0,l=arguments.length>9?arguments[9]:void 0;const[u,c="center",d]=n.split(" "),f=Fe(e,t,u,d,r,0,o,a,l);return{...Le(e,t,c,d,r,f.yAxis,i,a,s),...f}}(e,i,d,x,I.current,o,r,C,O,P);"number"==typeof a&&"number"==typeof s&&(Ar(I.current,"top",a+"px"),Ar(I.current,"left",s+"px")),Nr(I.current,"is-without-arrow",l||"center"===c&&"middle"===f),Nr(I.current,"is-alternate",u),Rr(I.current,"data-x-axis",c),Rr(I.current,"data-y-axis",f),Ar(D.current,"maxHeight","number"==typeof p?p+"px":""),Ar(D.current,"maxWidth","number"==typeof h?h+"px":"");N(({left:"right",right:"left"}[c]||"center")+" "+({top:"bottom",bottom:"top"}[f]||"middle"))};e();const{ownerDocument:t}=I.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 a=function(e){if(e)return e.endContainer?e.endContainer.ownerDocument:e.top?e.top.ownerDocument:e.ownerDocument}(m);let s;return a&&a!==t&&(a.defaultView.addEventListener("resize",e),a.defaultView.addEventListener("scroll",e,!0)),k&&(s=new n.MutationObserver(e),s.observe(k,{attributes:!0})),()=>{var l,u;(n.clearInterval(r),n.removeEventListener("resize",e),n.removeEventListener("scroll",e,!0),n.removeEventListener("click",i),n.cancelAnimationFrame(o),a&&a!==t)&&(null===(l=a.defaultView)||void 0===l||l.removeEventListener("resize",e),null===(u=a.defaultView)||void 0===u||u.removeEventListener("scroll",e,!0));s&&s.disconnect()}}),[j,g,y,m,v,d,B,x,k,S]);const V=(e,t)=>{"focus-outside"===e&&_?_(t):r&&r()},[H,W]=(0,f.__experimentalUseDialog)({focusOnMount:h,__unstableOnClose:V,onClose:V}),U=(0,f.useMergeRefs)([I,H,t]),$=Boolean(w&&A)&&Pr({type:"appear",origin:A});let K=(0,s.createElement)("div",a({className:c()("components-popover",i,$,{"is-expanded":j,"is-without-arrow":l,"is-alternate":u})},M,{ref:U},W,{tabIndex:"-1"}),j&&(0,s.createElement)(Yn,null),j&&(0,s.createElement)("div",{className:"components-popover__header"},(0,s.createElement)("span",{className:"components-popover__header-title"},n),(0,s.createElement)($n,{className:"components-popover__close",icon:Ne,onClick:r})),(0,s.createElement)("div",{ref:D,className:"components-popover__content"},(0,s.createElement)("div",{style:{position:"relative"}},z,o)));return F.ref&&(K=(0,s.createElement)(Er,{name:L},K)),m||g?K:(0,s.createElement)("span",{ref:T},K)}));Lr.Slot=(0,s.forwardRef)((function(e,t){let{name:n=Tr}=e;return(0,s.createElement)(kr,{bubblesVirtually:!0,name:n,className:"popover-slot",ref:t})})),Lr.__unstableSlotNameProvider=Dr.Provider;var Fr=Lr;var jr=function(e){let t,n,{shortcut:r,className:o}=e;return r?((0,l.isString)(r)&&(t=r),(0,l.isObject)(r)&&(t=r.display,n=r.ariaLabel),(0,s.createElement)("span",{className:o,"aria-label":n},t)):null};const zr=700,Br=(0,s.createElement)("div",{className:"event-catcher"}),Vr=e=>{let{eventHandlers:t,child:n,childrenWithPopover:r}=e;return(0,s.cloneElement)((0,s.createElement)("span",{className:"disabled-element-wrapper"},(0,s.cloneElement)(Br,t),(0,s.cloneElement)(n,{children:r})),t)},Hr=e=>{let{child:t,eventHandlers:n,childrenWithPopover:r}=e;return(0,s.cloneElement)(t,{...n,children:r})},Wr=(e,t,n)=>{if(1!==s.Children.count(e))return;const r=s.Children.only(e);r.props.disabled||"function"==typeof r.props[t]&&r.props[t](n)};var Ur=function(e){const{children:t,position:n,text:r,shortcut:o,delay:i=zr}=e,[a,u]=(0,s.useState)(!1),[c,d]=(0,s.useState)(!1),p=(0,f.useDebounce)(d,i),h=e=>{Wr(t,"onMouseDown",e),document.addEventListener("mouseup",g),u(!0)},m=e=>{Wr(t,"onMouseUp",e),document.removeEventListener("mouseup",g),u(!1)},v=e=>"mouseUp"===e?m:"mouseDown"===e?h:void 0,g=v("mouseUp"),y=(e,n)=>r=>{if(Wr(t,e,r),r.currentTarget.disabled)return;if("focus"===r.type&&a)return;p.cancel();const o=(0,l.includes)(["focus","mouseenter"],r.type);o!==c&&(n?p(o):d(o))},b=()=>{p.cancel(),document.removeEventListener("mouseup",g)};if((0,s.useEffect)((()=>b),[]),1!==s.Children.count(t))return t;const w={onMouseEnter:y("onMouseEnter",!0),onMouseLeave:y("onMouseLeave"),onClick:y("onClick"),onFocus:y("onFocus"),onBlur:y("onBlur"),onMouseDown:v("mouseDown")},_=s.Children.only(t),{children:x,disabled:E}=_.props,k=E?Vr:Hr,S=(e=>{let{grandchildren:t,isOver:n,position:r,text:o,shortcut:i}=e;return(0,s.concatChildren)(t,n&&(0,s.createElement)(Fr,{focusOnMount:!1,position:r,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},o,(0,s.createElement)(jr,{className:"components-tooltip__shortcut",shortcut:i})))})({grandchildren:x,...{isOver:c,position:n,text:r,shortcut:o}});return k({child:_,eventHandlers:w,childrenWithPopover:S})};const $r=[["top left","top center","top right"],["center left","center center","center right"],["bottom left","bottom center","bottom right"]],Kr={"top left":(0,d.__)("Top Left"),"top center":(0,d.__)("Top Center"),"top right":(0,d.__)("Top Right"),"center left":(0,d.__)("Center Left"),"center center":(0,d.__)("Center Center"),"center right":(0,d.__)("Center Right"),"bottom left":(0,d.__)("Bottom Left"),"bottom center":(0,d.__)("Bottom Center"),"bottom right":(0,d.__)("Bottom Right")},Gr=(0,l.flattenDeep)($r);function qr(e){return("center"===e?"center center":e).replace("-"," ")}function Yr(e,t){return`${e}-${qr(t).replace(" ","-")}`}n(1281),b.useInsertionEffect?b.useInsertionEffect:b.useLayoutEffect;function Xr(){for(var e=arguments.length,t=new Array(e),n=0;n0:"number"==typeof e},Qr=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},eo=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e>t?e:t},to=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},no=function(e){return{r:eo(e.r,0,255),g:eo(e.g,0,255),b:eo(e.b,0,255),a:eo(e.a)}},ro=function(e){return{r:Qr(e.r),g:Qr(e.g),b:Qr(e.b),a:Qr(e.a,3)}},oo=/^#([0-9a-f]{3,8})$/i,io=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},ao=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=Math.max(t,n,r),a=i-Math.min(t,n,r),s=a?i===t?(n-r)/a:i===n?2+(r-t)/a:4+(t-n)/a:0;return{h:60*(s<0?s+6:s),s:i?a/i*100:0,v:i/255*100,a:o}},so=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var i=Math.floor(t),a=r*(1-n),s=r*(1-(t-i)*n),l=r*(1-(1-t+i)*n),u=i%6;return{r:255*[r,s,a,a,l,r][u],g:255*[l,r,r,s,a,a][u],b:255*[a,a,l,r,r,s][u],a:o}},lo=function(e){return{h:to(e.h),s:eo(e.s,0,100),l:eo(e.l,0,100),a:eo(e.a)}},uo=function(e){return{h:Qr(e.h),s:Qr(e.s),l:Qr(e.l),a:Qr(e.a,3)}},co=function(e){return so((n=(t=e).s,{h:t.h,s:(n*=((r=t.l)<50?r:100-r)/100)>0?2*n/(r+n)*100:0,v:r+n,a:t.a}));var t,n,r},fo=function(e){return{h:(t=ao(e)).h,s:(o=(200-(n=t.s))*(r=t.v)/100)>0&&o<200?n*r/100/(o<=100?o:200-o)*100:0,l:o/2,a:t.a};var t,n,r,o},po=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ho=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,mo=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,vo=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,go={string:[[function(e){var t=oo.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?Qr(parseInt(e[3]+e[3],16)/255,2):1}:6===e.length||8===e.length?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:8===e.length?Qr(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=mo.exec(e)||vo.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:no({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=po.exec(e)||ho.exec(e);if(!t)return null;var n,r,o=lo({h:(n=t[1],r=t[2],void 0===r&&(r="deg"),Number(n)*(Zr[r]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return co(o)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=void 0===o?1:o;return Jr(t)&&Jr(n)&&Jr(r)?no({r:Number(t),g:Number(n),b:Number(r),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,n=e.s,r=e.l,o=e.a,i=void 0===o?1:o;if(!Jr(t)||!Jr(n)||!Jr(r))return null;var a=lo({h:Number(t),s:Number(n),l:Number(r),a:Number(i)});return co(a)},"hsl"],[function(e){var t=e.h,n=e.s,r=e.v,o=e.a,i=void 0===o?1:o;if(!Jr(t)||!Jr(n)||!Jr(r))return null;var a=function(e){return{h:to(e.h),s:eo(e.s,0,100),v:eo(e.v,0,100),a:eo(e.a)}}({h:Number(t),s:Number(n),v:Number(r),a:Number(i)});return so(a)},"hsv"]]},yo=function(e,t){for(var n=0;n=.5},e.prototype.toHex=function(){return t=(e=ro(this.rgba)).r,n=e.g,r=e.b,i=(o=e.a)<1?io(Qr(255*o)):"","#"+io(t)+io(n)+io(r)+i;var e,t,n,r,o,i},e.prototype.toRgb=function(){return ro(this.rgba)},e.prototype.toRgbString=function(){return t=(e=ro(this.rgba)).r,n=e.g,r=e.b,(o=e.a)<1?"rgba("+t+", "+n+", "+r+", "+o+")":"rgb("+t+", "+n+", "+r+")";var e,t,n,r,o},e.prototype.toHsl=function(){return uo(fo(this.rgba))},e.prototype.toHslString=function(){return t=(e=uo(fo(this.rgba))).h,n=e.s,r=e.l,(o=e.a)<1?"hsla("+t+", "+n+"%, "+r+"%, "+o+")":"hsl("+t+", "+n+"%, "+r+"%)";var e,t,n,r,o},e.prototype.toHsv=function(){return e=ao(this.rgba),{h:Qr(e.h),s:Qr(e.s),v:Qr(e.v),a:Qr(e.a,3)};var e},e.prototype.invert=function(){return ko({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},e.prototype.saturate=function(e){return void 0===e&&(e=.1),ko(wo(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),ko(wo(this.rgba,-e))},e.prototype.grayscale=function(){return ko(wo(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),ko(xo(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),ko(xo(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){return"number"==typeof e?ko({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):Qr(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=fo(this.rgba);return"number"==typeof e?ko({h:e,s:t.s,l:t.l,a:t.a}):Qr(t.h)},e.prototype.isEqual=function(e){return this.toHex()===ko(e).toHex()},e}(),ko=function(e){return e instanceof Eo?e:new Eo(e)},So=[],Co=function(e){e.forEach((function(e){So.indexOf(e)<0&&(e(Eo,go),So.push(e))}))};function Oo(e,t){var n={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var o in n)r[n[o]]=o;var i={};e.prototype.toName=function(t){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var o,a,s=r[this.toHex()];if(s)return s;if(null==t?void 0:t.closest){var l=this.toRgb(),u=1/0,c="black";if(!i.length)for(var d in n)i[d]=new e(n[d]).toRgb();for(var f in n){var p=(o=l,a=i[f],Math.pow(o.r-a.r,2)+Math.pow(o.g-a.g,2)+Math.pow(o.b-a.b,2));p0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return ko(e).alpha(t).toRgbString()}Co([Oo]);const Mo={black:"#000",white:"#fff"},To={blue:{medium:{focus:"#007cba",focusDark:"#fff"}},gray:{900:"#1e1e1e",700:"#757575",600:"#949494",400:"#ccc",300:"#ddd",200:"#e0e0e0",100:"#f0f0f0"},darkGray:{primary:"#1e1e1e",heading:"#050505"},mediumGray:{text:"#757575"},lightGray:{ui:"#949494",secondary:"#ccc",tertiary:"#e7e8e9"}},Do={900:"#191e23",800:"#23282d",700:"#32373c",600:"#40464d",500:"#555d66",400:"#606a73",300:"#6c7781",200:"#7e8993",150:"#8d96a0",100:"#8f98a1",placeholder:Po(To.gray[900],.62)},Io={900:Po("#000510",.9),800:Po("#00000a",.85),700:Po("#06060b",.8),600:Po("#000913",.75),500:Po("#0a1829",.7),400:Po("#0a1829",.65),300:Po("#0e1c2e",.62),200:Po("#162435",.55),100:Po("#223443",.5),backgroundFill:Po(Do[700],.7)},Ro={900:Po("#304455",.45),800:Po("#425863",.4),700:Po("#667886",.35),600:Po("#7b86a2",.3),500:Po("#9197a2",.25),400:Po("#95959c",.2),300:Po("#829493",.15),200:Po("#8b8b96",.1),100:Po("#747474",.05)},Ao={900:"#a2aab2",800:"#b5bcc2",700:"#ccd0d4",600:"#d7dade",500:"#e2e4e7",400:"#e8eaeb",300:"#edeff0",200:"#f3f4f5",100:"#f8f9f9",placeholder:Po(Mo.white,.65)},No={900:Po(Mo.white,.5),800:Po(Mo.white,.45),700:Po(Mo.white,.4),600:Po(Mo.white,.35),500:Po(Mo.white,.3),400:Po(Mo.white,.25),300:Po(Mo.white,.2),200:Po(Mo.white,.15),100:Po(Mo.white,.1),backgroundFill:Po(Ao[300],.8)},Lo={wordpress:{700:"#00669b"},dark:{900:"#0071a1"},medium:{900:"#006589",800:"#00739c",700:"#007fac",600:"#008dbe",500:"#00a0d2",400:"#33b3db",300:"#66c6e4",200:"#bfe7f3",100:"#e5f5fa",highlight:"#b3e7fe",focus:"#007cba"}},Fo={theme:`var( --wp-admin-theme-color, ${Lo.wordpress[700]})`,themeDark10:`var( --wp-admin-theme-color-darker-10, ${Lo.medium.focus})`},jo={theme:Fo.theme,background:Mo.white,backgroundDisabled:Ao[200],border:To.gray[700],borderHover:To.gray[700],borderFocus:Fo.themeDark10,borderDisabled:To.gray[400],borderLight:To.gray[300],label:Do[500],textDisabled:Do[150],textDark:Mo.white,textLight:Mo.black},zo=Object.assign({},Mo,{darkGray:(0,l.merge)({},Do,To.darkGray),darkOpacity:Io,darkOpacityLight:Ro,mediumGray:To.mediumGray,gray:To.gray,lightGray:(0,l.merge)({},Ao,To.lightGray),lightGrayLight:No,blue:(0,l.merge)({},Lo,To.blue),alert:{yellow:"#f0b849",red:"#d94f4f",green:"#4ab866"},admin:Fo,ui:jo});function Bo(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transition";switch(t){case"transition":e="transition-duration: 0ms;";break;case"animation":e="animation-duration: 1ms;";break;default:e="\n\t\t\t\tanimation-duration: 1ms;\n\t\t\t\ttransition-duration: 0ms;\n\t\t\t"}return`\n\t\t@media ( prefers-reduced-motion: reduce ) {\n\t\t\t${e};\n\t\t}\n\t`}var Vo={name:"lp9rn7",styles:"border-radius:2px;box-sizing:border-box;display:grid;grid-template-columns:repeat( 3, 1fr );outline:none"};const Ho=()=>Vo,Wo=Bn("div",{target:"e1od1u4s3"})(Ho,";border:1px solid transparent;cursor:pointer;grid-template-columns:auto;",(e=>{let{size:t=92}=e;return Xr("grid-template-rows:repeat( 3, calc( ",t,"px / 3 ) );width:",t,"px;","")}),";"),Uo=Bn("div",{target:"e1od1u4s2"})({name:"1x5gbbj",styles:"box-sizing:border-box;display:grid;grid-template-columns:repeat( 3, 1fr )"}),$o=e=>Xr("background:currentColor;box-sizing:border-box;display:grid;margin:auto;transition:all 120ms linear;",Bo("transition")," ",(e=>{let{isActive:t}=e;return Xr("box-shadow:",t?`0 0 0 2px ${zo.black}`:null,";color:",t?zo.black:zo.lightGray[800],";*:hover>&{color:",t?zo.black:zo.blue.medium.focus,";}","")})(e),";",""),Ko=Bn("span",{target:"e1od1u4s1"})("height:6px;width:6px;",$o,";"),Go=Bn("span",{target:"e1od1u4s0"})({name:"rjf3ub",styles:"appearance:none;border:none;box-sizing:border-box;margin:0;display:flex;position:relative;outline:none;align-items:center;justify-content:center;padding:0"});function qo(e){let{isActive:t=!1,value:n,...r}=e;const o=Kr[n];return(0,s.createElement)(Ur,{text:o},(0,s.createElement)(Re,a({as:Go,role:"gridcell"},r),(0,s.createElement)(Wn,null,n),(0,s.createElement)(Ko,{isActive:t,role:"presentation"})))}function Yo(e){return(0,b.useState)(e)[0]}function Xo(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=y(e);!(t=o()).done;)r();return n}function Zo(e){for(var t,n=[],r=y(e);!(t=r()).done;){var o=t.value;n.push.apply(n,o)}return n}function Jo(e){return e.slice().reverse()}function Qo(e,t){if(t)return null==e?void 0:e.find((function(e){return e.id===t&&!e.disabled}))}function ei(e,t){return function(e){return"function"==typeof e}(e)?e(t):e}function ti(e){void 0===e&&(e={});var t=Yo(e).baseId,n=(0,b.useContext)(Oe),r=(0,b.useRef)(0),o=(0,b.useState)((function(){return t||n()}));return{baseId:o[0],setBaseId:o[1],unstable_idCountRef:r}}function ni(e,t){return Boolean(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function ri(e,t){return e.findIndex((function(e){return!(!e.ref.current||!t.ref.current)&&ni(t.ref.current,e.ref.current)}))}function oi(e){for(var t,n=0,r=y(e);!(t=r()).done;){var o=t.value.length;o>n&&(n=o)}return n}function ii(e){for(var t=Xo(e),n=oi(t),r=[],o=0;oi&&(n=!0),-1):(rXr({gridTemplateRows:"repeat( 3, calc( 21px / 3))",padding:1.5,maxHeight:24,maxWidth:24},"","")),";",(e=>{let{disablePointerEvents:t}=e;return Xr({pointerEvents:t?"none":null},"","")}),";"),Ii=Bn("span",{target:"elqsdmc0"})("height:2px;width:2px;",$o,";",(e=>{let{isActive:t}=e;return Xr("box-shadow:",t?"0 0 0 1px currentColor":null,";color:currentColor;*:hover>&{color:currentColor;}","")}),";"),Ri=Go,Ai=24;function Ni(e){let{className:t,id:n,label:r=(0,d.__)("Alignment Matrix Control"),defaultValue:o="center center",value:i,onChange:u=l.noop,width:p=92,...h}=e;const[m]=(0,s.useState)(null!=i?i:o),v=function(e){const t=(0,f.useInstanceId)(Ni,"alignment-matrix-control");return e||t}(n),g=Yr(v,m),y=gi({baseId:v,currentId:g,rtl:(0,d.isRTL)()});(0,s.useEffect)((()=>{void 0!==i&&y.setCurrentId(Yr(v,i))}),[i,y.setCurrentId]);const b=c()("component-alignment-matrix-control",t);return(0,s.createElement)(Oi,a({},h,y,{"aria-label":r,as:Wo,className:b,role:"grid",width:p}),$r.map(((e,t)=>(0,s.createElement)(Ti,a({},y,{as:Uo,role:"row",key:t}),e.map((e=>{const t=Yr(v,e),n=y.currentId===t;return(0,s.createElement)(qo,a({},y,{id:t,isActive:n,key:e,value:e,onFocus:()=>{u(e)},tabIndex:n?0:-1}))}))))))}Ni.Icon=function(e){let{className:t,disablePointerEvents:n=!0,size:r=Ai,style:o={},value:i="center",...l}=e;const u=function(){const e=qr(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"center").replace("-"," "),t=Gr.indexOf(e);return t>-1?t:void 0}(i),d=(r/Ai).toFixed(2),f=c()("component-alignment-matrix-control-icon",t),p={...o,transform:`scale(${d})`};return(0,s.createElement)(Di,a({},l,{className:f,disablePointerEvents:n,role:"presentation",size:r,style:p}),Gr.map(((e,t)=>{const n=u===t;return(0,s.createElement)(Ri,{key:e},(0,s.createElement)(Ii,{isActive:n}))})))};
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
@@ -35,11 +35,11 @@ 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.
***************************************************************************** */
-var Li=function(e,t){return Li=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Li(e,t)};function Fi(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Li(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ji=function(){return ji=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Vi(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function Hi(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;operformance.now():()=>Date.now(),ma="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout((()=>e(ha())),pa);let va=!0,ga=!1,ya=!1;const ba={delta:0,timestamp:0},wa=["read","update","preRender","render","postRender"],_a=wa.reduce(((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,o=!1,i=!1;const a=new WeakSet,s={schedule:(e,i=!1,s=!1)=>{const l=s&&o,u=l?t:n;return i&&a.add(e),-1===u.indexOf(e)&&(u.push(e),l&&o&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:l=>{if(o)i=!0;else{if(o=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;nga=!0)),e)),{}),xa=wa.reduce(((e,t)=>{const n=_a[t];return e[t]=(e,t=!1,r=!1)=>(ga||Oa(),n.schedule(e,t,r)),e}),{}),Ea=wa.reduce(((e,t)=>(e[t]=_a[t].cancel,e)),{}),ka=wa.reduce(((e,t)=>(e[t]=()=>_a[t].process(ba),e)),{}),Sa=e=>_a[e].process(ba),Ca=e=>{ga=!1,ba.delta=va?pa:Math.max(Math.min(e-ba.timestamp,40),1),ba.timestamp=e,ya=!0,wa.forEach(Sa),ya=!1,ga&&(va=!1,ma(Ca))},Oa=()=>{ga=!0,va=!0,ya||ma(Ca)},Pa=()=>ba;var Ma=xa;const Ta=(e,t,n)=>-n*e+n*t+e;function Da(e,t){return t?e*(1e3/t):0}function Ia(e,t){-1===e.indexOf(t)&&e.push(t)}function Ra(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Aa=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return Ia(this.subscriptions,e),function(){return Ra(t.subscriptions,e)}},e.prototype.notify=function(e,t,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(var o=0;oMath.min(Math.max(n,e),t),za=.001;function Ba({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i,a=1-t;a=ja(.05,1,a),e=ja(.01,10,e/1e3),a<1?(o=t=>{const r=t*a,o=r*e,i=r-n,s=Va(t,a),l=Math.exp(-o);return za-i/s*l},i=t=>{const r=t*a*e,i=r*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-r),u=Va(Math.pow(t,2),a);return(-o(t)+za>0?-1:1)*((i-s)*l)/u}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(o,i,5/e);if(e*=1e3,isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}function Va(e,t){return e*Math.sqrt(1-t*t)}const Ha=["duration","bounce"],Wa=["stiffness","damping","mass"];function Ua(e,t){return t.some((t=>void 0!==e[t]))}function $a(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:o}=e,i=zi(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:s,damping:l,mass:u,velocity:c,duration:d,isResolvedFromDuration:f}=function(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Ua(e,Wa)&&Ua(e,Ha)){const n=Ba(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}(i),p=Ka,h=Ka;function m(){const e=c?-c/1e3:0,r=n-t,i=l/(2*Math.sqrt(s*u)),a=Math.sqrt(s/u)/1e3;if(void 0===o&&(o=Math.min(Math.abs(n-t)/100,.4)),i<1){const t=Va(a,i);p=o=>{const s=Math.exp(-i*a*o);return n-s*((e+i*a*r)/t*Math.sin(t*o)+r*Math.cos(t*o))},h=n=>{const o=Math.exp(-i*a*n);return i*a*o*(Math.sin(t*n)*(e+i*a*r)/t+r*Math.cos(t*n))-o*(Math.cos(t*n)*(e+i*a*r)-t*r*Math.sin(t*n))}}else if(1===i)p=t=>n-Math.exp(-a*t)*(r+(e+a*r)*t);else{const t=a*Math.sqrt(i*i-1);p=o=>{const s=Math.exp(-i*a*o),l=Math.min(t*o,300);return n-s*((e+i*a*r)*Math.sinh(l)+t*r*Math.cosh(l))/t}}}return m(),{next:e=>{const t=p(e);if(f)a.done=e>=d;else{const i=1e3*h(e),s=Math.abs(i)<=r,l=Math.abs(n-t)<=o;a.done=s&&l}return a.value=a.done?n:t,a},flipTarget:()=>{c=-c,[t,n]=[n,t],m()}}}$a.needsInterpolation=(e,t)=>"string"==typeof e||"string"==typeof t;const Ka=e=>0,Ga=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},qa=(e,t)=>n=>Math.max(Math.min(n,t),e),Ya=e=>e%1?Number(e.toFixed(5)):e,Xa=/(-)?([\d]*\.?[\d])+/g,Za=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,Ja=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Qa(e){return"string"==typeof e}const es={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},ts=Object.assign(Object.assign({},es),{transform:qa(0,1)}),ns=Object.assign(Object.assign({},es),{default:1}),rs=(e,t)=>n=>Boolean(Qa(n)&&Ja.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),os=(e,t,n)=>r=>{if(!Qa(r))return r;const[o,i,a,s]=r.match(Xa);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},is=qa(0,255),as=Object.assign(Object.assign({},es),{transform:e=>Math.round(is(e))}),ss={test:rs("rgb","red"),parse:os("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+as.transform(e)+", "+as.transform(t)+", "+as.transform(n)+", "+Ya(ts.transform(r))+")"};const ls={test:rs("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:ss.transform},us=e=>({test:t=>Qa(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),cs=us("deg"),ds=us("%"),fs=us("px"),ps=us("vh"),hs=us("vw"),ms=Object.assign(Object.assign({},ds),{parse:e=>ds.parse(e)/100,transform:e=>ds.transform(100*e)}),vs={test:rs("hsl","hue"),parse:os("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+ds.transform(Ya(t))+", "+ds.transform(Ya(n))+", "+Ya(ts.transform(r))+")"};function gs(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ys({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,i=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;o=gs(s,r,e+1/3),i=gs(s,r,e),a=gs(s,r,e-1/3)}else o=i=a=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:r}}const bs=(e,t,n)=>{const r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},ws=[ls,ss,vs],_s=e=>ws.find((t=>t.test(e))),xs=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,Es=(e,t)=>{let n=_s(e),r=_s(t);xs(e),xs(t);let o=n.parse(e),i=r.parse(t);n===vs&&(o=ys(o),n=ss),r===vs&&(i=ys(i),r=ss);const a=Object.assign({},o);return e=>{for(const t in a)"alpha"!==t&&(a[t]=bs(o[t],i[t],e));return a.alpha=Ta(o.alpha,i.alpha,e),n.transform(a)}},ks={test:e=>ss.test(e)||ls.test(e)||vs.test(e),parse:e=>ss.test(e)?ss.parse(e):vs.test(e)?vs.parse(e):ls.parse(e),transform:e=>Qa(e)?e:e.hasOwnProperty("red")?ss.transform(e):vs.transform(e)},Ss="${c}",Cs="${n}";function Os(e){"number"==typeof e&&(e=`${e}`);const t=[];let n=0;const r=e.match(Za);r&&(n=r.length,e=e.replace(Za,Ss),t.push(...r.map(ks.parse)));const o=e.match(Xa);return o&&(e=e.replace(Xa,Cs),t.push(...o.map(es.parse))),{values:t,numColors:n,tokenised:e}}function Ps(e){return Os(e).values}function Ms(e){const{values:t,numColors:n,tokenised:r}=Os(e),o=t.length;return e=>{let t=r;for(let r=0;r"number"==typeof e?0:e;const Ds={test:function(e){var t,n,r,o;return isNaN(e)&&Qa(e)&&(null!==(n=null===(t=e.match(Xa))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(Za))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:Ps,createTransformer:Ms,getAnimatableNone:function(e){const t=Ps(e);return Ms(e)(t.map(Ts))}},Is=e=>"number"==typeof e,Rs=(e,t)=>n=>t(e(n)),As=(...e)=>e.reduce(Rs);function Ns(e,t){return Is(e)?n=>Ta(e,t,n):ks.test(e)?Es(e,t):zs(e,t)}const Ls=(e,t)=>{const n=[...e],r=n.length,o=e.map(((e,n)=>Ns(e,t[n])));return e=>{for(let t=0;t{const n=Object.assign(Object.assign({},e),t),r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=Ns(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}};function js(e){const t=Ds.parse(e),n=t.length;let r=0,o=0,i=0;for(let e=0;e{const n=Ds.createTransformer(t),r=js(e),o=js(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&r.numNumbers>=o.numNumbers?As(Ls(r.parsed,o.parsed),n):n=>`${n>0?t:e}`},Bs=(e,t)=>n=>Ta(e,t,n);function Vs(e,t,n){const r=[],o=n||function(e){return"number"==typeof e?Bs:"string"==typeof e?ks.test(e)?Es:zs:Array.isArray(e)?Ls:"object"==typeof e?Fs:void 0}(e[0]),i=e.length-1;for(let n=0;ne[i-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=Vs(t,r,o),s=2===i?function([e,t],[n]){return r=>n(Ga(e,t,r))}(e,a):function(e,t){const n=e.length,r=n-1;return o=>{let i=0,a=!1;if(o<=e[0]?a=!0:o>=e[r]&&(i=r-1,a=!0),!a){let t=1;for(;to||t===r);t++);i=t-1}const s=Ga(e[i],e[i+1],o);return t[i](s)}}(e,a);return n?t=>s(ja(e[0],e[i-1],t)):s}const Ws=e=>t=>1-e(1-t),Us=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,$s=e=>t=>t*t*((e+1)*t-e),Ks=e=>e,Gs=(qs=2,e=>Math.pow(e,qs));var qs;const Ys=Ws(Gs),Xs=Us(Gs),Zs=e=>1-Math.sin(Math.acos(e)),Js=Ws(Zs),Qs=Us(Js),el=$s(1.525),tl=Ws(el),nl=Us(el),rl=(e=>{const t=$s(e);return e=>(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))})(1.525),ol=e=>{if(1===e||0===e)return e;const t=e*e;return e<.36363636363636365?7.5625*t:e<.7272727272727273?9.075*t-9.9*e+3.4:e<.9?12.066481994459833*t-19.63545706371191*e+8.898060941828255:10.8*e*e-20.52*e+10.72},il=Ws(ol);function al(e,t){return e.map((()=>t||Xs)).splice(0,e.length-1)}function sl({from:e=0,to:t=1,ease:n,offset:r,duration:o=300}){const i={done:!1,value:e},a=Array.isArray(t)?t:[e,t],s=function(e,t){return e.map((e=>e*t))}(r&&r.length===a.length?r:function(e){const t=e.length;return e.map(((e,n)=>0!==n?n/(t-1):0))}(a),o);function l(){return Hs(s,a,{ease:Array.isArray(n)?n:al(a,n)})}let u=l();return{next:e=>(i.value=u(e),i.done=e>=o,i),flipTarget:()=>{a.reverse(),u=l()}}}const ll={keyframes:sl,spring:$a,decay:function({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:o=.5,modifyTarget:i}){const a={done:!1,value:t};let s=n*e;const l=t+s,u=void 0===i?l:i(l);return u!==l&&(s=u-t),{next:e=>{const t=-s*Math.exp(-e/r);return a.done=!(t>o||t<-o),a.value=a.done?u:u+t,a},flipTarget:()=>{}}}};function ul(e,t,n=0){return e-t-n}const cl=e=>{const t=({delta:t})=>e(t);return{start:()=>Ma.update(t,!0),stop:()=>Ea.update(t)}};function dl(e){var t,n,{from:r,autoplay:o=!0,driver:i=cl,elapsed:a=0,repeat:s=0,repeatType:l="loop",repeatDelay:u=0,onPlay:c,onStop:d,onComplete:f,onRepeat:p,onUpdate:h}=e,m=zi(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let v,g,y,{to:b}=m,w=0,_=m.duration,x=!1,E=!0;const k=function(e){if(Array.isArray(e.to))return sl;if(ll[e.type])return ll[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?sl:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?$a:sl}(m);(null===(n=(t=k).needsInterpolation)||void 0===n?void 0:n.call(t,r,b))&&(y=Hs([0,100],[r,b],{clamp:!1}),r=0,b=100);const S=k(Object.assign(Object.assign({},m),{from:r,to:b}));function C(){w++,"reverse"===l?(E=w%2==0,a=function(e,t,n=0,r=!0){return r?ul(t+-e,t,n):t-(e-t)+n}(a,_,u,E)):(a=ul(a,_,u),"mirror"===l&&S.flipTarget()),x=!1,p&&p()}function O(e){if(E||(e=-e),a+=e,!x){const e=S.next(Math.max(0,a));g=e.value,y&&(g=y(g)),x=E?e.done:a<=0}null==h||h(g),x&&(0===w&&(null!=_||(_=a)),w=t+n:e<=-n}(a,_,u,E)&&C():(v.stop(),f&&f()))}return o&&(null==c||c(),v=i(O),v.start()),{stop:()=>{null==d||d(),v.stop()}}}var fl=function(e){return 1e3*e};const pl=(e,t)=>1-3*t+3*e,hl=(e,t)=>3*t-6*e,ml=e=>3*e,vl=(e,t,n)=>((pl(t,n)*e+hl(t,n))*e+ml(t))*e,gl=(e,t,n)=>3*pl(t,n)*e*e+2*hl(t,n)*e+ml(t);const yl=.1;function bl(e,t,n,r){if(e===t&&n===r)return Ks;const o=new Float32Array(11);for(let t=0;t<11;++t)o[t]=vl(t*yl,e,n);function i(t){let r=0,i=1;for(;10!==i&&o[i]<=t;++i)r+=yl;--i;const a=r+(t-o[i])/(o[i+1]-o[i])*yl,s=gl(a,e,n);return s>=.001?function(e,t,n,r){for(let o=0;o<8;++o){const o=gl(t,n,r);if(0===o)return t;t-=(vl(t,n,r)-e)/o}return t}(t,a,e,n):0===s?a:function(e,t,n,r,o){let i,a,s=0;do{a=t+(n-t)/2,i=vl(a,r,o)-e,i>0?n=a:t=a}while(Math.abs(i)>1e-7&&++s<10);return a}(t,r,r+yl,e,n)}return e=>0===e||1===e?e:vl(i(e),t,r)}var wl={linear:Ks,easeIn:Gs,easeInOut:Xs,easeOut:Ys,circIn:Zs,circInOut:Qs,circOut:Js,backIn:el,backInOut:nl,backOut:tl,anticipate:rl,bounceIn:il,bounceInOut:e=>e<.5?.5*(1-ol(1-2*e)):.5*ol(2*e-1)+.5,bounceOut:ol},_l=function(e){if(Array.isArray(e)){e.length;var t=Vi(e,4);return bl(t[0],t[1],t[2],t[3])}return"string"==typeof e?("Invalid easing type '".concat(e,"'"),wl[e]):e},xl=function(e,t){return"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Ds.test(t)||t.startsWith("url(")))},El=function(e){return Array.isArray(e)},kl=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},Sl=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},Cl=function(){return{type:"keyframes",ease:"linear",duration:.3}},Ol=function(e){return{type:"keyframes",duration:.8,values:e}},Pl={x:kl,y:kl,z:kl,rotate:kl,rotateX:kl,rotateY:kl,rotateZ:kl,scaleX:Sl,scaleY:Sl,scale:Sl,opacity:Cl,backgroundColor:Cl,color:Cl,default:Sl};const Ml=new Set(["brightness","contrast","saturate","opacity"]);function Tl(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(Xa)||[];if(!r)return e;const o=n.replace(r,"");let i=Ml.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const Dl=/([a-z-]*)\(.*?\)/g,Il=Object.assign(Object.assign({},Ds),{getAnimatableNone:e=>{const t=e.match(Dl);return t?t.map(Tl).join(" "):e}});var Rl=ji(ji({},es),{transform:Math.round}),Al={borderWidth:fs,borderTopWidth:fs,borderRightWidth:fs,borderBottomWidth:fs,borderLeftWidth:fs,borderRadius:fs,radius:fs,borderTopLeftRadius:fs,borderTopRightRadius:fs,borderBottomRightRadius:fs,borderBottomLeftRadius:fs,width:fs,maxWidth:fs,height:fs,maxHeight:fs,size:fs,top:fs,right:fs,bottom:fs,left:fs,padding:fs,paddingTop:fs,paddingRight:fs,paddingBottom:fs,paddingLeft:fs,margin:fs,marginTop:fs,marginRight:fs,marginBottom:fs,marginLeft:fs,rotate:cs,rotateX:cs,rotateY:cs,rotateZ:cs,scale:ns,scaleX:ns,scaleY:ns,scaleZ:ns,skew:cs,skewX:cs,skewY:cs,distance:fs,translateX:fs,translateY:fs,translateZ:fs,x:fs,y:fs,z:fs,perspective:fs,transformPerspective:fs,opacity:ts,originX:ms,originY:ms,originZ:fs,zIndex:Rl,fillOpacity:ts,strokeOpacity:ts,numOctaves:Rl},Nl=ji(ji({},Al),{color:ks,backgroundColor:ks,outlineColor:ks,fill:ks,stroke:ks,borderColor:ks,borderTopColor:ks,borderRightColor:ks,borderBottomColor:ks,borderLeftColor:ks,filter:Il,WebkitFilter:Il}),Ll=function(e){return Nl[e]};function Fl(e,t){var n,r=Ll(e);return r!==Il&&(r=Ds),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}var jl=!1,zl=function(e){return El(e)?e[e.length-1]||0:e};function Bl(e){var t=e.ease,n=e.times,r=e.yoyo,o=e.flip,i=e.loop,a=zi(e,["ease","times","yoyo","flip","loop"]),s=ji({},a);return n&&(s.offset=n),a.duration&&(s.duration=fl(a.duration)),a.repeatDelay&&(s.repeatDelay=fl(a.repeatDelay)),t&&(s.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(t)?t.map(_l):_l(t)),"tween"===a.type&&(s.type="keyframes"),(r||i||o)&&(!0,r?s.repeatType="reverse":i?s.repeatType="loop":o&&(s.repeatType="mirror"),s.repeat=i||r||o||a.repeat),"spring"!==a.type&&(s.type="keyframes"),s}function Vl(e,t,n){var r,o,i,a;return Array.isArray(t.to)&&(null!==(r=e.duration)&&void 0!==r||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=Hi([],Vi(e.to),!1),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=zi(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=ji(ji({},e),(o=n,i=t.to,a=El(i)?Ol:Pl[o]||Pl.default,ji({to:i},a(i))))),ji(ji({},t),Bl(e))}function Hl(e,t,n,r,o){var i,a=$l(r,e),s=null!==(i=a.from)&&void 0!==i?i:t.get(),l=xl(e,n);"none"===s&&l&&"string"==typeof n?s=Fl(e,n):Wl(s)&&"string"==typeof n?s=Ul(n):!Array.isArray(n)&&Wl(n)&&"string"==typeof s&&(n=Ul(s));var u=xl(e,s);return"You are trying to animate ".concat(e,' from "').concat(s,'" to "').concat(n,'". ').concat(s," is not an animatable value - to enable this animation set ").concat(s," to a value animatable to ").concat(n," via the `style` property."),u&&l&&!1!==a.type?function(){var r={from:s,to:n,velocity:t.getVelocity(),onComplete:o,onUpdate:function(e){return t.set(e)}};return"inertia"===a.type||"decay"===a.type?function({from:e=0,velocity:t=0,min:n,max:r,power:o=.8,timeConstant:i=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:l=1,modifyTarget:u,driver:c,onUpdate:d,onComplete:f,onStop:p}){let h;function m(e){return void 0!==n&&er}function v(e){return void 0===n?r:void 0===r||Math.abs(n-e){var n;null==d||d(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:f,onStop:p}))}function y(e){g(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:l},e))}if(m(e))y({from:e,velocity:t,to:v(e)});else{let r=o*t+e;void 0!==u&&(r=u(r));const a=v(r),s=a===n?-1:1;let c,d;const f=e=>{c=d,d=e,t=Da(e-c,Pa().delta),(1===s&&e>a||-1===s&&enull==h?void 0:h.stop()}}(ji(ji({},r),a)):dl(ji(ji({},Vl(a,r,e)),{onUpdate:function(e){var t;r.onUpdate(e),null===(t=a.onUpdate)||void 0===t||t.call(a,e)},onComplete:function(){var e;r.onComplete(),null===(e=a.onComplete)||void 0===e||e.call(a)}}))}:function(){var e,r,i=zl(n);return t.set(i),o(),null===(e=null==a?void 0:a.onUpdate)||void 0===e||e.call(a,i),null===(r=null==a?void 0:a.onComplete)||void 0===r||r.call(a),{stop:function(){}}}}function Wl(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function Ul(e){return"number"==typeof e?0:Fl("",e)}function $l(e,t){return e[t]||e.default||e}function Kl(e,t,n,r){return void 0===r&&(r={}),jl&&(r={type:!1}),t.start((function(o){var i,a,s=Hl(e,t,n,r,o),l=function(e,t){var n,r;return null!==(r=null!==(n=($l(e,t)||{}).delay)&&void 0!==n?n:e.delay)&&void 0!==r?r:0}(r,e),u=function(){return a=s()};return l?i=window.setTimeout(u,fl(l)):u(),function(){clearTimeout(i),null==a||a.stop()}}))}var Gl=["TopLeft","TopRight","BottomLeft","BottomRight"],ql=Gl.length,Yl=function(e){return"string"==typeof e?parseFloat(e):e},Xl=function(e){return"number"==typeof e||fs.test(e)};function Zl(e,t){var n;return null!==(n=e[t])&&void 0!==n?n:e.borderRadius}var Jl=eu(0,.5,Js),Ql=eu(.5,.95,Ks);function eu(e,t,n){return function(r){return rt?1:n(Ga(e,t,r))}}function tu(e,t){e.min=t.min,e.max=t.max}function nu(e,t){tu(e.x,t.x),tu(e.y,t.y)}function ru(e){return void 0===e||1===e}function ou(e){var t=e.scale,n=e.scaleX,r=e.scaleY;return!ru(t)||!ru(n)||!ru(r)}function iu(e){return ou(e)||au(e.x)||au(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function au(e){return e&&"0%"!==e}function su(e,t,n){return n+t*(e-n)}function lu(e,t,n,r,o){return void 0!==o&&(e=su(e,o,r)),su(e,n,r)+t}function uu(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=lu(e.min,t,n,r,o),e.max=lu(e.max,t,n,r,o)}function cu(e,t){var n=t.x,r=t.y;uu(e.x,n.translate,n.scale,n.originPoint),uu(e.y,r.translate,r.scale,r.originPoint)}function du(e,t){e.min=e.min+t,e.max=e.max+t}function fu(e,t,n){var r=Vi(n,3),o=r[0],i=r[1],a=r[2],s=void 0!==t[a]?t[a]:.5,l=Ta(e.min,e.max,s);uu(e,t[o],t[i],l,t.scale)}var pu=["x","scaleX","originX"],hu=["y","scaleY","originY"];function mu(e,t){fu(e.x,t,pu),fu(e.y,t,hu)}const vu=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),gu=e=>vu(e)&&e.hasOwnProperty("z"),yu=(e,t)=>Math.abs(e-t);function bu(e,t){if(Is(e)&&Is(t))return yu(e,t);if(vu(e)&&vu(t)){const n=yu(e.x,t.x),r=yu(e.y,t.y),o=gu(e)&&gu(t)?yu(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}function wu(e){return e.max-e.min}function _u(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),bu(e,t)=0;r--){var o=this.members[r];if(!1!==o.isPresent){t=o;break}}return!!t&&(this.promote(t),!0)},e.prototype.promote=function(e,t){var n,r=this.lead;e!==r&&(this.prevLead=r,this.lead=e,e.show(),r&&(r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues,e.snapshot.isShared=!0),(null===(n=e.root)||void 0===n?void 0:n.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&r.hide()))},e.prototype.exitAnimationComplete=function(){this.members.forEach((function(e){var t,n,r,o,i;null===(n=(t=e.options).onExitComplete)||void 0===n||n.call(t),null===(i=null===(r=e.resumingFrom)||void 0===r?void 0:(o=r.options).onExitComplete)||void 0===i||i.call(o)}))},e.prototype.scheduleRender=function(){this.members.forEach((function(e){e.instance&&e.scheduleRender(!1)}))},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}(),Lu={};function Fu(e,t,n){var r=e.x.translate/t.x,o=e.y.translate/t.y,i="translate3d(".concat(r,"px, ").concat(o,"px, 0) ");if(n){var a=n.rotate,s=n.rotateX,l=n.rotateY;a&&(i+="rotate(".concat(a,"deg) ")),s&&(i+="rotateX(".concat(s,"deg) ")),l&&(i+="rotateY(".concat(l,"deg) "))}return"translate3d(0px, 0px, 0) scale(1, 1)"===(i+="scale(".concat(e.x.scale,", ").concat(e.y.scale,")"))?"none":i}function ju(e){return[e("x"),e("y")]}var zu=["","X","Y","Z"],Bu=["transformPerspective","x","y","z"];function Vu(e,t){return Bu.indexOf(e)-Bu.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return zu.forEach((function(t){return Bu.push(e+t)}))}));var Hu=new Set(Bu);function Wu(e){return Hu.has(e)}var Uu=new Set(["originX","originY","originZ"]);function $u(e){return Uu.has(e)}var Ku=function(e,t){return e.depth-t.depth},Gu=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){Ia(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){Ra(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(Ku),this.isDirty=!1,this.children.forEach(e)},e}();function qu(e){var t=Fa(e)?e.get():e;return function(e){return Boolean(e&&"object"==typeof e&&e.mix&&e.toValue)}(t)?t.toValue():t}var Yu={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Xu(e){var t=e.attachResizeListener,n=e.defaultParent,r=e.measureScroll,o=e.resetTransform;return function(){function e(e,t,r){var o=this;void 0===t&&(t={}),void 0===r&&(r=null==n?void 0:n()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){o.isUpdating&&(o.isUpdating=!1,o.clearAllSnapshots())},this.updateProjection=function(){o.nodes.forEach(rc),o.nodes.forEach(oc)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=t,this.root=r?r.root||r:this,this.path=r?Hi(Hi([],Vi(r.path),!1),[r],!1):[],this.parent=r,this.depth=r?r.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var i=0;i=0;r--)if(Boolean(e.path[r].instance)){n=e.path[r];break}var o=(n&&n!==e.root?n.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));o&&e.mount(o,!0)}function fc(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function pc(e){fc(e.x),fc(e.y)}var hc=1;var mc=(0,b.createContext)({}),vc=(0,b.createContext)({});var gc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Fi(t,e),t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var e=this.props,t=e.visualElement,n=e.props;t&&t.setProps(n)},t.prototype.render=function(){return this.props.children},t}(b.Component);function yc(e){var t=e.preloadedFeatures,n=e.createVisualElement,r=e.projectionNodeConstructor,o=e.useRender,i=e.useVisualState,a=e.Component;return t&&function(e){for(var t in e)null!==e[t]&&("projectionNodeConstructor"===t?Ui.projectionNodeConstructor=e[t]:Ui[t].Component=e[t])}(t),(0,b.forwardRef)((function(e,t){var s=function(e){var t,n=e.layoutId,r=null===(t=(0,b.useContext)(mc))||void 0===t?void 0:t.id;return r&&void 0!==n?r+"-"+n:n}(e);e=ji(ji({},e),{layoutId:s});var l=(0,b.useContext)(qi),u=null,c=ca(e),d=l.isStatic?void 0:fa((function(){if(Yu.hasEverUpdated)return hc++})),f=i(e,l.isStatic);return!l.isStatic&&Zi&&(c.visualElement=na(a,f,ji(ji({},l),e),n),function(e,t,n,r){var o,i=t.layoutId,a=t.layout,s=t.drag,l=t.dragConstraints,u=t.layoutScroll,c=(0,b.useContext)(vc);r&&n&&!(null==n?void 0:n.projection)&&(n.projection=new r(e,n.getLatestValues(),null===(o=n.parent)||void 0===o?void 0:o.projection),n.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:Boolean(s)||l&&ra(l),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:"string"==typeof a?a:"both",initialPromotionConfig:c,layoutScroll:u}))}(d,e,c.visualElement,r||Ui.projectionNodeConstructor),u=function(e,t,n){var r=[];if((0,b.useContext)($i),!t)return null;for(var o=0;o-1||/[A-Z]/.test(e))}function xc(e,t){var n=t.layout,r=t.layoutId;return Wu(e)||$u(e)||(n||void 0!==r)&&(!!Lu[e]||"opacity"===e)}var Ec={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function kc(e){return e.startsWith("--")}var Sc=function(e,t){return t&&"number"==typeof e?t.transform(e):e};function Cc(e,t,n,r){var o,i=e.style,a=e.vars,s=e.transform,l=e.transformKeys,u=e.transformOrigin;l.length=0;var c=!1,d=!1,f=!0;for(var p in t){var h=t[p];if(kc(p))a[p]=h;else{var m=Al[p],v=Sc(h,m);if(Wu(p)){if(c=!0,s[p]=v,l.push(p),!f)continue;h!==(null!==(o=m.default)&&void 0!==o?o:0)&&(f=!1)}else $u(p)?(u[p]=v,d=!0):i[p]=v}}c?i.transform=function(e,t,n,r){var o=e.transform,i=e.transformKeys,a=t.enableHardwareAcceleration,s=void 0===a||a,l=t.allowTransformNone,u=void 0===l||l,c="";i.sort(Vu);for(var d=!1,f=i.length,p=0;ph&&g,x=Array.isArray(v)?v:[v],E=x.reduce(a,{});!1===y&&(E={});var k=m.prevResolvedValues,S=void 0===k?{}:k,C=ji(ji({},S),E),O=function(e){_=!0,f.delete(e),m.needsAnimating[e]=!0};for(var P in C){var M=E[P],T=S[P];p.hasOwnProperty(P)||(M!==T?El(M)&&El(T)?!jd(M,T)||w?O(P):m.protectedKeys[P]=!0:void 0!==M?O(P):f.add(P):void 0!==M&&f.has(P)?O(P):m.protectedKeys[P]=!0)}m.prevProp=v,m.prevResolvedValues=E,m.isActive&&(p=ji(ji({},p),E)),i&&e.blockInitialAnimation&&(_=!1),_&&!b&&d.push.apply(d,Hi([],Vi(x.map((function(e){return{animation:e,options:ji({type:o},t)}}))),!1))},v=0;v=3;if(t||n){var o=e.point,i=Pa().timestamp;r.history.push(ji(ji({},o),{timestamp:i}));var a=r.handlers,s=a.onStart,l=a.onMove;t||(s&&s(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),l&&l(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){r.lastMoveEvent=e,r.lastMoveEventInfo=lf(t,r.transformPagePoint),od(e)&&0===e.buttons?r.handlePointerUp(e,t):Ma.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers,o=n.onEnd,i=n.onSessionEnd,a=cf(lf(t,r.transformPagePoint),r.history);r.startEvent&&o&&o(e,a),i&&i(e,a)},!(id(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var i=lf(ud(e),this.transformPagePoint),a=i.point,s=Pa().timestamp;this.history=[ji(ji({},a),{timestamp:s})];var l=t.onSessionStart;l&&l(e,cf(i,this.history)),this.removeListeners=As(hd(window,"pointermove",this.handlePointerMove),hd(window,"pointerup",this.handlePointerUp),hd(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),Ea.update(this.updatePoint)},e}();function lf(e,t){return t?{point:t(e.point)}:e}function uf(e,t){return{x:e.x-t.x,y:e.y-t.y}}function cf(e,t){var n=e.point;return{point:n,delta:uf(n,ff(t)),offset:uf(n,df(t)),velocity:pf(t,.1)}}function df(e){return e[0]}function ff(e){return e[e.length-1]}function pf(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=ff(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>fl(t)));)n--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function hf(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function mf(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.mint?n="y":Math.abs(e.x)>t&&(n="x");return n}(l),void(null!==n.currentDirection&&(null==a||a(n.currentDirection)));n.updateAxis("x",t.point,l),n.updateAxis("y",t.point,l),n.visualElement.syncRender(),null==s||s(e,t)}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},e.prototype.stop=function(e,t){var n=this.isDragging;if(this.cancel(),n){var r=t.velocity;this.startAnimation(r);var o=this.getProps().onDragEnd;null==o||o(e,t)}},e.prototype.cancel=function(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(Qc.Drag,!1)},e.prototype.updateAxis=function(e,t,n){var r=this.getProps().drag;if(n&&Ef(e,r,this.currentDirection)){var o,i,a,s,l,u=this.getAxisMotionValue(e),c=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=c,i=this.constraints[e],a=this.elastic[e],s=i.min,l=i.max,void 0!==s&&ol&&(o=a?Ta(l,o,a.max):Math.min(o,l)),c=o),u.set(c)}},e.prototype.resolveConstraints=function(){var e=this,t=this.getProps(),n=t.dragConstraints,r=t.dragElastic,o=(this.visualElement.projection||{}).layout,i=this.constraints;n&&ra(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!n||!o)&&function(e,t){var n=t.top,r=t.left,o=t.bottom,i=t.right;return{x:hf(e.x,r,i),y:hf(e.y,n,o)}}(o.actual,n),this.elastic=function(e){return void 0===e&&(e=vf),!1===e?e=0:!0===e&&(e=vf),{x:gf(e,"left","right"),y:gf(e,"top","bottom")}}(r),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&ju((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(o.actual[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(){var e=this.getProps(),t=e.dragConstraints,n=e.onMeasureDragConstraints;if(!t||!ra(t))return!1;var r=t.current,o=this.visualElement.projection;if(!o||!o.layout)return!1;var i=function(e,t,n){var r=wf(e,n),o=t.scroll;return o&&(du(r.x,o.x),du(r.y,o.y)),r}(r,o.root,this.visualElement.getTransformPagePoint()),a=function(e,t){return{x:mf(e.x,t.x),y:mf(e.y,t.y)}}(o.layout.actual,i);if(n){var s=n(function(e){var t=e.x,n=e.y;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}(a));this.hasMutatedConstraints=!!s,s&&(a=bf(s))}return a},e.prototype.startAnimation=function(e){var t=this,n=this.getProps(),r=n.drag,o=n.dragMomentum,i=n.dragElastic,a=n.dragTransition,s=n.dragSnapToOrigin,l=n.onDragTransitionEnd,u=this.constraints||{},c=ju((function(n){var l;if(Ef(n,r,t.currentDirection)){var c=null!==(l=null==u?void 0:u[n])&&void 0!==l?l:{};s&&(c={min:0,max:0});var d=i?200:1e6,f=i?40:1e7,p=ji(ji({type:"inertia",velocity:o?e[n]:0,bounceStiffness:d,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10},a),c);return t.startAxisValueAnimation(n,p)}}));return Promise.all(c).then(l)},e.prototype.startAxisValueAnimation=function(e,t){return Kl(e,this.getAxisMotionValue(e),0,t)},e.prototype.stopAnimation=function(){var e=this;ju((function(t){return e.getAxisMotionValue(t).stop()}))},e.prototype.getAxisMotionValue=function(e){var t,n,r="_drag"+e.toUpperCase(),o=this.visualElement.getProps()[r];return o||this.visualElement.getValue(e,null!==(n=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==n?n:0)},e.prototype.snapToCursor=function(e){var t=this;ju((function(n){if(Ef(n,t.getProps().drag,t.currentDirection)){var r=t.visualElement.projection,o=t.getAxisMotionValue(n);if(r&&r.layout){var i=r.layout.actual[n],a=i.min,s=i.max;o.set(e[n]-Ta(a,s,.5))}}}))},e.prototype.scalePositionWithinConstraints=function(){var e,t=this,n=this.getProps(),r=n.drag,o=n.dragConstraints,i=this.visualElement.projection;if(ra(o)&&i&&this.constraints){this.stopAnimation();var a={x:0,y:0};ju((function(e){var n,r,o,i,s,l=t.getAxisMotionValue(e);if(l){var u=l.get();a[e]=(n={min:u,max:u},r=t.constraints[e],o=.5,i=wu(n),(s=wu(r))>i?o=Ga(r.min,r.max-i,n.min):i>s&&(o=Ga(n.min,n.max-s,r.min)),ja(0,1,o))}}));var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",null===(e=i.root)||void 0===e||e.updateScroll(),i.updateLayout(),this.resolveConstraints(),ju((function(e){if(Ef(e,r,null)){var n=t.getAxisMotionValue(e),o=t.constraints[e],i=o.min,s=o.max;n.set(Ta(i,s,a[e]))}}))}},e.prototype.addListeners=function(){var e,t=this;_f.set(this.visualElement,this);var n=hd(this.visualElement.getInstance(),"pointerdown",(function(e){var n=t.getProps(),r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=function(){ra(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},o=this.visualElement.projection,i=o.addEventListener("measure",r);o&&!o.layout&&(null===(e=o.root)||void 0===e||e.updateScroll(),o.updateLayout()),r();var a=nd(window,"resize",(function(){t.scalePositionWithinConstraints()}));return o.addEventListener("didUpdate",(function(e){var n=e.delta,r=e.hasLayoutChanged;t.isDragging&&r&&(ju((function(e){var r=t.getAxisMotionValue(e);r&&(t.originPoint[e]+=n[e].translate,r.set(r.get()+n[e].translate))})),t.visualElement.syncRender())})),function(){a(),n(),i()}},e.prototype.getProps=function(){var e=this.visualElement.getProps(),t=e.drag,n=void 0!==t&&t,r=e.dragDirectionLock,o=void 0!==r&&r,i=e.dragPropagation,a=void 0!==i&&i,s=e.dragConstraints,l=void 0!==s&&s,u=e.dragElastic,c=void 0===u?vf:u,d=e.dragMomentum,f=void 0===d||d;return ji(ji({},e),{drag:n,dragDirectionLock:o,dragPropagation:a,dragConstraints:l,dragElastic:c,dragMomentum:f})},e}();function Ef(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}var kf={pan:Id((function(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,o=e.onPanSessionStart,i=e.visualElement,a=t||n||r||o,s=(0,b.useRef)(null),l=(0,b.useContext)(qi).transformPagePoint,u={onSessionStart:o,onStart:n,onMove:t,onEnd:function(e,t){s.current=null,r&&r(e,t)}};(0,b.useEffect)((function(){null!==s.current&&s.current.updateHandlers(u)})),md(i,"pointerdown",a&&function(e){s.current=new sf(e,u,{transformPagePoint:l})}),Ed((function(){return s.current&&s.current.end()}))})),drag:Id((function(e){var t=e.dragControls,n=e.visualElement,r=fa((function(){return new xf(n)}));(0,b.useEffect)((function(){return t&&t.subscribe(r)}),[r,t]),(0,b.useEffect)((function(){return r.addListeners()}),[r])}))},Sf=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];var Cf=function(e){var t=e.treeType,n=void 0===t?"":t,r=e.build,o=e.getBaseTarget,i=e.makeTargetAnimatable,a=e.measureViewportBox,s=e.render,l=e.readValueFromInstance,u=e.removeValueFromRenderState,c=e.sortNodePosition,d=e.scrapeMotionValuesFromProps;return function(e,t){var f=e.parent,p=e.props,h=e.presenceId,m=e.blockInitialAnimation,v=e.visualState,g=e.shouldReduceMotion;void 0===t&&(t={});var y,b,w=!1,_=v.latestValues,x=v.renderState,E=function(){var e=Sf.map((function(){return new Aa})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){Sf.forEach((function(r){var o,i="on"+r,a=e[i];null===(o=t[r])||void 0===o||o.call(t),a&&(t[r]=n[i](a))}))}};return e.forEach((function(e,t){n["on"+Sf[t]]=function(t){return e.add(t)},n["notify"+Sf[t]]=function(){for(var t=[],n=0;n5)return o;var l=Ds.createTransformer(e),u="number"!=typeof s[0]?1:0,c=r.x.scale*n.x,d=r.y.scale*n.y;s[0+u]/=c,s[1+u]/=d;var f=Ta(c,d,.5);"number"==typeof s[2+u]&&(s[2+u]/=f),"number"==typeof s[3+u]&&(s[3+u]/=f);var p=l(s);if(i){var h=0;p=p.replace(Zf,(function(){var e=a[h];return h++,e}))}return p}},Qf=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Fi(t,e),t.prototype.componentDidMount=function(){var e,t=this,n=this.props,r=n.visualElement,o=n.layoutGroup,i=n.switchLayoutGroup,a=n.layoutId,s=r.projection;e=ep,Object.assign(Lu,e),s&&((null==o?void 0:o.group)&&o.group.add(s),(null==i?void 0:i.register)&&a&&i.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",(function(){t.safeToRemove()})),s.setOptions(ji(ji({},s.options),{onExitComplete:function(){return t.safeToRemove()}}))),Yu.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(e){var t=this,n=this.props,r=n.layoutDependency,o=n.visualElement,i=n.drag,a=n.isPresent,s=o.projection;return s?(s.isPresent=a,i||e.layoutDependency!==r||void 0===r?s.willUpdate():this.safeToRemove(),e.isPresent!==a&&(a?s.promote():s.relegate()||Ma.postRender((function(){var e;(null===(e=s.getStack())||void 0===e?void 0:e.members.length)||t.safeToRemove()}))),null):null},t.prototype.componentDidUpdate=function(){var e=this.props.visualElement.projection;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.visualElement,n=e.layoutGroup,r=e.switchLayoutGroup,o=t.projection;o&&(o.scheduleCheckAfterUnmount(),(null==n?void 0:n.group)&&n.group.remove(o),(null==r?void 0:r.deregister)&&r.deregister(o))},t.prototype.safeToRemove=function(){var e=this.props.safeToRemove;null==e||e()},t.prototype.render=function(){return null},t}(b.Component);var ep={borderRadius:ji(ji({},Xf),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Xf,borderTopRightRadius:Xf,borderBottomLeftRadius:Xf,borderBottomRightRadius:Xf,boxShadow:Jf},tp={measureLayout:function(e){var t=Vi(Fd(),2),n=t[0],r=t[1],o=(0,b.useContext)(mc);return b.createElement(Qf,ji({},e,{layoutGroup:o,switchLayoutGroup:(0,b.useContext)(vc),isPresent:n,safeToRemove:r}))}},np=Xu({attachResizeListener:function(e,t){return e.addEventListener("resize",t,{passive:!0}),function(){return e.removeEventListener("resize",t)}},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}}}),rp={current:void 0},op=Xu({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!rp.current){var e=new np(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),rp.current=e}return rp.current},resetTransform:function(e,t){e.style.transform=null!=t?t:"none"}}),ip=ji(ji(ji(ji({},af),Rd),kf),tp),ap=bc((function(e,t){return function(e,t,n,r,o){var i=t.forwardMotionProps,a=void 0!==i&&i,s=_c(e)?ed:td;return ji(ji({},s),{preloadedFeatures:n,useRender:Vc(a),createVisualElement:r,projectionNodeConstructor:o,Component:e})}(e,t,ip,qf,op)}));const sp=(0,s.createContext)({flexItemDisplay:void 0});const lp={name:"zjik7",styles:"display:flex"},up={name:"qgaee5",styles:"display:block;max-height:100%;max-width:100%;min-height:0;min-width:0"},cp={name:"82a6rk",styles:"flex:1"},dp={name:"13nosa1",styles:">*{min-height:0;}"},fp={name:"1pwxzk4",styles:">*{min-width:0;}"};function pp(e){const{className:t,display:n,isBlock:r=!1,...o}=Cn(e,"FlexItem"),i={},a=(0,s.useContext)(sp).flexItemDisplay;i.Base=Xr({display:n||a},"","");return{...o,className:Sn()(up,i.Base,r&&cp,t)}}var hp=On((function(e,t){const n=function(e){return pp({isBlock:!0,...Cn(e,"FlexBlock")})}(e);return(0,s.createElement)(Hn,a({},n,{ref:t}))}),"FlexBlock");var mp=On((function(e,t){const n=pp(e);return(0,s.createElement)(Hn,a({},n,{ref:t}))}),"FlexItem");const vp=["40em","52em","64em"],gp=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{defaultIndex:t=0}=e;if("number"!=typeof t)throw new TypeError(`Default breakpoint index should be a number. Got: ${t}, ${typeof t}`);if(t<0||t>vp.length-1)throw new RangeError(`Default breakpoint index out of range. Theme has ${vp.length} breakpoints, got index ${t}`);const[n,r]=(0,s.useState)(t);return(0,s.useEffect)((()=>{const e=()=>{const e=vp.filter((e=>"undefined"!=typeof window&&window.matchMedia(`screen and (min-width: ${e})`).matches)).length;n!==e&&r(e)};return e(),"undefined"!=typeof window&&window.addEventListener("resize",e),()=>{"undefined"!=typeof window&&window.removeEventListener("resize",e)}}),[n]),n};function yp(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=gp(t);if(!Array.isArray(e)&&"function"!=typeof e)return e;const r=e||[];return r[n>=r.length?r.length-1:n]}function bp(e){var t,n;if(void 0===e)return;if(!e)return"0";const r="number"==typeof e?e:Number(e);return"undefined"!=typeof window&&null!==(t=window.CSS)&&void 0!==t&&null!==(n=t.supports)&&void 0!==n&&n.call(t,"margin",e.toString())||Number.isNaN(r)?e.toString():`calc(4px * ${e})`}const wp=new RegExp(/-left/g),_p=new RegExp(/-right/g),xp=new RegExp(/Left/g),Ep=new RegExp(/Right/g);function kp(e){return"left"===e?"right":"right"===e?"left":wp.test(e)?e.replace(wp,"-right"):_p.test(e)?e.replace(_p,"-left"):xp.test(e)?e.replace(xp,"Right"):Ep.test(e)?e.replace(Ep,"Left"):e}const Sp=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,l.mapKeys)(e,((e,t)=>kp(t)))};function Cp(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return()=>t?(0,d.isRTL)()?Xr(t,""):Xr(e,""):(0,d.isRTL)()?Xr(Sp(e),""):Xr(e,"")}function Op(e){const{align:t="center",className:n,direction:r="row",expanded:o=!0,gap:i=2,justify:a="space-between",wrap:l=!1,...u}=Cn(function(e){let{isReversed:t,...n}=e;return void 0!==t?(Be()("Flex isReversed",{alternative:'Flex direction="row-reverse" or "column-reverse"',since:"5.9"}),{...n,direction:t?"row-reverse":"row"}):n}(e),"Flex"),c=yp(Array.isArray(r)?r:[r]),d="string"==typeof c&&!!c.includes("column"),f="string"==typeof c&&c.includes("reverse"),p=Sn();return{...u,className:(0,s.useMemo)((()=>{const e={};return e.Base=Xr({alignItems:d?"normal":t,flexDirection:c,flexWrap:l?"wrap":void 0,justifyContent:a,height:d&&o?"100%":void 0,width:!d&&o?"100%":void 0,marginBottom:l?`calc(${bp(i)} * -1)`:void 0},"",""),e.Items=Xr(">*+*:not( marquee ){margin-top:",d?bp(i):void 0,";",Cp({marginLeft:d||f?void 0:bp(i),marginRight:!d&&f?bp(i):void 0})(),";}",""),e.WrapItems=Xr(">*:not( marquee ){margin-bottom:",bp(i),";",Cp({marginLeft:!d&&f?bp(i):void 0,marginRight:d||f?void 0:bp(i)})(),";}>*:last-child:not( marquee ){",Cp({marginLeft:!d&&f?0:void 0,marginRight:d||f?void 0:0})(),";}",""),p(lp,e.Base,l?e.WrapItems:e.Items,d?dp:fp,n)}),[t,n,p,c,o,i,d,f,a,l,Cp.watch()]),isColumn:d}}Cp.watch=()=>(0,d.isRTL)();var Pp=On((function(e,t){const{children:n,isColumn:r,...o}=Op(e);return(0,s.createElement)(sp.Provider,{value:{flexItemDisplay:r?"block":void 0}},(0,s.createElement)(Hn,a({},o,{ref:t}),n))}),"Flex");const Mp={name:"hdknak",styles:"display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap"},Tp="…",Dp={auto:"auto",head:"head",middle:"middle",tail:"tail",none:"none"},Ip={ellipsis:Tp,ellipsizeMode:Dp.auto,limit:0,numberOfLines:0};function Rp(e,t,n,r){if("string"!=typeof e)return"";const o=e.length,i=~~t,a=~~n,s=(0,l.isNil)(r)?Tp:r;return 0===i&&0===a||i>=o||a>=o||i+a>=o?e:0===a?e.slice(0,i)+s:e.slice(0,i)+s+e.slice(o-a)}function Ap(e){const{className:t,children:n,ellipsis:r=Tp,ellipsizeMode:o=Dp.auto,limit:i=0,numberOfLines:a=0,...l}=Cn(e,"Truncate"),u=Sn(),c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;const n={...Ip,...t},{ellipsis:r,ellipsizeMode:o,limit:i}=n;if(o===Dp.none)return e;let a,s;switch(o){case Dp.head:a=0,s=i;break;case Dp.middle:a=Math.floor(i/2),s=Math.floor(i/2);break;default:a=i,s=0}return o!==Dp.auto?Rp(e,a,s,r):e}("string"==typeof n?n:"",{ellipsis:r,ellipsizeMode:o,limit:i,numberOfLines:a}),d=o===Dp.auto;return{...l,className:(0,s.useMemo)((()=>{const e={};return e.numberOfLines=Xr("-webkit-box-orient:vertical;-webkit-line-clamp:",a,";display:-webkit-box;overflow:hidden;",""),u(d&&!a&&Mp,d&&!!a&&e.numberOfLines,t)}),[t,u,a,d]),children:c}}let Np;Co([Oo]);const Lp=qe()((function(e){var t,n;if("string"!=typeof e)return"";if("string"==typeof(n=e)&&ko(n).isValid())return e;if(!e.includes("var("))return"";if("undefined"==typeof document)return"";const r=function(){if("undefined"!=typeof document){if(!Np){const e=document.createElement("div");e.setAttribute("data-g2-color-computation-node",""),document.body.appendChild(e),Np=e}return Np}}();if(!r)return"";r.style.background=e;const o=null===(t=window)||void 0===t?void 0:t.getComputedStyle(r).background;return r.style.background="",o||""}));function Fp(e){const t=function(e){const t=Lp(e);return ko(t).isLight()?"#000000":"#ffffff"}(e);return"#000000"===t?"dark":"light"}const jp="36px",zp="12px",Bp={controlSurfaceColor:zo.white,controlTextActiveColor:zo.ui.theme,controlPaddingX:zp,controlPaddingXLarge:"calc(12px * 1.3334)",controlPaddingXSmall:"calc(12px / 1.3334)",controlBackgroundColor:zo.white,controlBorderRadius:"2px",controlBorderColor:zo.gray[700],controlBoxShadow:"transparent",controlBorderColorHover:zo.gray[700],controlBoxShadowFocus:`0 0 0 0.5px ${zo.admin.theme}`,controlDestructiveBorderColor:zo.alert.red,controlHeight:jp,controlHeightXSmall:"calc( 36px * 0.6 )",controlHeightSmall:"calc( 36px * 0.8 )",controlHeightLarge:"calc( 36px * 1.2 )",controlHeightXLarge:"calc( 36px * 1.4 )"},Vp={toggleGroupControlBackgroundColor:Bp.controlBackgroundColor,toggleGroupControlBorderColor:zo.ui.border,toggleGroupControlBackdropBackgroundColor:Bp.controlSurfaceColor,toggleGroupControlBackdropBorderColor:zo.ui.border,toggleGroupControlBackdropBoxShadow:"transparent",toggleGroupControlButtonColorActive:Bp.controlBackgroundColor};var Hp=Object.assign({},Bp,Vp,{colorDivider:"rgba(0, 0, 0, 0.1)",colorScrollbarThumb:"rgba(0, 0, 0, 0.2)",colorScrollbarThumbHover:"rgba(0, 0, 0, 0.5)",colorScrollbarTrack:"rgba(0, 0, 0, 0.04)",elevationIntensity:1,radiusBlockUi:"2px",borderWidth:"1px",borderWidthFocus:"1.5px",borderWidthTab:"4px",spinnerSize:16,fontSize:"13px",fontSizeH1:"calc(2.44 * 13px)",fontSizeH2:"calc(1.95 * 13px)",fontSizeH3:"calc(1.56 * 13px)",fontSizeH4:"calc(1.25 * 13px)",fontSizeH5:"13px",fontSizeH6:"calc(0.8 * 13px)",fontSizeInputMobile:"16px",fontSizeMobile:"15px",fontSizeSmall:"calc(0.92 * 13px)",fontSizeXSmall:"calc(0.75 * 13px)",fontLineHeightBase:"1.2",fontWeight:"normal",fontWeightHeading:"600",gridBase:"4px",cardBorderRadius:"2px",cardPaddingXSmall:`${bp(2)}`,cardPaddingSmall:`${bp(4)}`,cardPaddingMedium:`${bp(4)} ${bp(6)}`,cardPaddingLarge:`${bp(6)} ${bp(8)}`,surfaceBackgroundColor:zo.white,surfaceBackgroundSubtleColor:"#F3F3F3",surfaceBackgroundTintColor:"#F5F5F5",surfaceBorderColor:"rgba(0, 0, 0, 0.1)",surfaceBorderBoldColor:"rgba(0, 0, 0, 0.15)",surfaceBorderSubtleColor:"rgba(0, 0, 0, 0.05)",surfaceBackgroundTertiaryColor:zo.white,surfaceColor:zo.white,transitionDuration:"200ms",transitionDurationFast:"160ms",transitionDurationFaster:"120ms",transitionDurationFastest:"100ms",transitionTimingFunction:"cubic-bezier(0.08, 0.52, 0.52, 1)",transitionTimingFunctionControl:"cubic-bezier(0.12, 0.8, 0.32, 1)"});const Wp=Xr("color:",zo.darkGray.primary,";line-height:",Hp.fontLineHeightBase,";margin:0;",""),Up={name:"4zleql",styles:"display:block"},$p=Xr("color:",zo.alert.green,";",""),Kp=Xr("color:",zo.alert.red,";",""),Gp=Xr("color:",zo.mediumGray.text,";",""),qp=Xr("mark{background:",zo.alert.yellow,";border-radius:2px;box-shadow:0 0 0 1px rgba( 0, 0, 0, 0.05 ) inset,0 -1px 0 rgba( 0, 0, 0, 0.1 ) inset;}",""),Yp={name:"50zrmy",styles:"text-transform:uppercase"};var Xp=n(3138);const Zp=qe()((e=>{const t={};for(const n in e)t[n.toLowerCase()]=e[n];return t}));const Jp={body:13,caption:10,footnote:11,largeTitle:28,subheadline:12,title:20},Qp=[1,2,3,4,5,6].flatMap((e=>[e,e.toString()]));function eh(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:13;if(e in Jp)return eh(Jp[e]);if("number"!=typeof e){const t=parseFloat(e);if(Number.isNaN(t))return e;e=t}const t=`(${e} / 13)`;return`calc(${t} * ${Hp.fontSize})`}function th(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;if(!Qp.includes(e))return eh(e);const t=`fontSizeH${e}`;return Hp[t]}var nh={name:"50zrmy",styles:"text-transform:uppercase"};function rh(t){const{adjustLineHeightForInnerControls:n,align:r,children:o,className:i,color:a,ellipsizeMode:u,isDestructive:c=!1,display:d,highlightEscape:f=!1,highlightCaseSensitive:p=!1,highlightWords:h,highlightSanitize:m,isBlock:v=!1,letterSpacing:g,lineHeight:y,optimizeReadabilityFor:b,size:w,truncate:_=!1,upperCase:x=!1,variant:E,weight:k=Hp.fontWeight,...S}=Cn(t,"Text");let C=o;const O=Array.isArray(h),P="caption"===w;if(O){if("string"!=typeof o)throw new TypeError("`children` of `Text` must only be `string` types when `highlightWords` is defined");C=function(e){let{activeClassName:t="",activeIndex:n=-1,activeStyle:r,autoEscape:o,caseSensitive:i=!1,children:a,findChunks:l,highlightClassName:u="",highlightStyle:c={},highlightTag:d="mark",sanitize:f,searchWords:p=[],unhighlightClassName:h="",unhighlightStyle:m}=e;if(!a)return null;if("string"!=typeof a)return a;const v=a,g=(0,Xp.findAll)({autoEscape:o,caseSensitive:i,findChunks:l,sanitize:f,searchWords:p,textToHighlight:v}),y=d;let b,w=-1,_="";return g.map(((e,o)=>{const a=v.substr(e.start,e.end-e.start);if(e.highlight){let e;w++,"object"==typeof u?i?e=u[a]:(u=Zp(u),e=u[a.toLowerCase()]):e=u;const l=w===+n;_=`${e} ${l?t:""}`,b=!0===l&&null!==r?Object.assign({},c,r):c;const d={children:a,className:_,key:o,style:b};return"string"!=typeof y&&(d.highlightIndex=w),(0,s.createElement)(y,d)}return(0,s.createElement)("span",{children:a,className:h,key:o,style:m})}))}({autoEscape:f,children:o,caseSensitive:p,searchWords:h,sanitize:m})}const M=Sn();let T;!0===_&&(T="auto"),!1===_&&(T="none");const D=Ap({...S,className:(0,s.useMemo)((()=>{const t={},o=function(e,t){if(t)return t;if(!e)return;let n=`calc(${Hp.controlHeight} + ${bp(2)})`;switch(e){case"large":n=`calc(${Hp.controlHeightLarge} + ${bp(2)})`;break;case"small":n=`calc(${Hp.controlHeightSmall} + ${bp(2)})`;break;case"xSmall":n=`calc(${Hp.controlHeightXSmall} + ${bp(2)})`}return n}(n,y);if(t.Base=Xr({color:a,display:d,fontSize:eh(w),fontWeight:k,lineHeight:o,letterSpacing:g,textAlign:r},"",""),t.upperCase=nh,t.optimalTextColor=null,b){const e="dark"===Fp(b);t.optimalTextColor=Xr(e?{color:zo.black}:{color:zo.white},"","")}return M(Wp,t.Base,t.optimalTextColor,c&&Kp,!!O&&qp,v&&Up,P&&Gp,E&&e[E],x&&t.upperCase,i)}),[n,r,i,a,M,d,v,P,c,O,g,y,b,w,x,E,k]),children:o,ellipsizeMode:u||T});return!_&&Array.isArray(o)&&(C=s.Children.map(o,(e=>{if(!(0,l.isPlainObject)(e)||!("props"in e))return e;return Mn(e,["Link"])?(0,s.cloneElement)(e,{size:e.props.size||"inherit"}):e}))),{...D,children:_?D.children:C}}var oh=On((function(e,t){const n=rh(e);return(0,s.createElement)(Hn,a({as:"span"},n,{ref:t}))}),"Text");var ih={name:"1739oy8",styles:"z-index:1"};const ah=e=>{let{isFocused:t}=e;return t?ih:""};var sh={name:"2o6p8u",styles:"justify-content:space-between"},lh={name:"14qk3ip",styles:"align-items:flex-start;flex-direction:column-reverse"},uh={name:"hbng6e",styles:"align-items:flex-start;flex-direction:column"};const ch=e=>{let{labelPosition:t}=e;switch(t){case"top":return uh;case"bottom":return lh;case"edge":return sh;default:return""}},dh=Bn(Pp,{target:"em5sgkm7"})("position:relative;border-radius:2px;padding-top:0;",ah," ",ch,";");var fh={name:"wyxldh",styles:"margin:0 !important"};var ph={name:"1d3w5wq",styles:"width:100%"};const hh=Bn("div",{target:"em5sgkm6"})("align-items:center;box-sizing:border-box;border-radius:inherit;display:flex;flex:1;position:relative;",(e=>{let{disabled:t}=e;return Xr({backgroundColor:t?zo.ui.backgroundDisabled:zo.ui.background},"","")})," ",(e=>{let{hideLabel:t}=e;return t?fh:null})," ",(e=>{let{__unstableInputWidth:t,labelPosition:n}=e;return t?"side"===n?"":Xr("edge"===n?{flex:`0 0 ${t}`}:{width:t},"",""):ph}),";"),mh=Bn("input",{target:"em5sgkm5"})("&&&{background-color:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",zo.black,";display:block;font-family:inherit;margin:0;outline:none;width:100%;",(e=>{let t,n,{isDragging:r,dragCursor:o}=e;return r&&(t=Xr("cursor:",o,";user-select:none;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}","")),r&&o&&(n=Xr("&:active{cursor:",o,";}","")),Xr(t," ",n,";","")})," ",(e=>{let{disabled:t}=e;return t?Xr({color:zo.ui.textDisabled},"",""):""})," ",(e=>{let{inputSize:t}=e;const n={default:"13px",small:"11px","__unstable-large":"13px"},r=n[t]||n.default;return r?Xr("font-size:","16px",";@media ( min-width: 600px ){font-size:",r,";}",""):""})," ",(e=>{let{inputSize:t}=e;const n={default:{height:30,lineHeight:1,minHeight:30,paddingLeft:8,paddingRight:8},small:{height:24,lineHeight:1,minHeight:24,paddingLeft:8,paddingRight:8},"__unstable-large":{height:40,lineHeight:1,minHeight:40,paddingLeft:16,paddingRight:16}};return Xr(n[t]||n.default,"","")})," &::-webkit-input-placeholder{line-height:normal;}}"),vh=e=>{let{labelPosition:t}=e,n=8;return"edge"!==t&&"side"!==t||(n=0),Xr({marginTop:0,marginRight:0,marginBottom:n,marginLeft:0},"","")},gh=Bn(oh,{target:"em5sgkm4"})("&&&{box-sizing:border-box;color:currentColor;display:block;padding-top:0;padding-bottom:0;max-width:100%;z-index:1;",vh," overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}"),yh=e=>(0,s.createElement)(gh,a({},e,{as:"label"})),bh=Bn(mp,{target:"em5sgkm3"})({name:"1b6uupn",styles:"max-width:calc( 100% - 10px )"}),wh=Bn("div",{target:"em5sgkm2"})("&&&{box-sizing:border-box;border-radius:inherit;bottom:0;left:0;margin:0;padding:0;pointer-events:none;position:absolute;right:0;top:0;",(e=>{let t,{disabled:n,isFocused:r}=e,o=r?zo.ui.borderFocus:zo.ui.border;return r&&(t=`0 0 0 1px ${zo.ui.borderFocus} inset`),n&&(o=zo.ui.borderDisabled),Xr({boxShadow:t,borderColor:o,borderStyle:"solid",borderWidth:1},"","")})," ",Cp({paddingLeft:2}),";}"),_h=Bn("span",{target:"em5sgkm1"})({name:"pvvbxf",styles:"box-sizing:border-box;display:block"}),xh=Bn("span",{target:"em5sgkm0"})({name:"jgf79h",styles:"align-items:center;align-self:stretch;box-sizing:border-box;display:flex"});const Eh=(0,s.memo)((function(e){let{disabled:t=!1,isFocused:n=!1}=e;return(0,s.createElement)(wh,{"aria-hidden":"true",className:"components-input-control__backdrop",disabled:t,isFocused:n})}));var kh=Eh;function Sh(e){let{children:t,hideLabelFromVision:n,htmlFor:r,...o}=e;return t?n?(0,s.createElement)(Wn,{as:"label",htmlFor:r},t):(0,s.createElement)(yh,a({htmlFor:r},o),t):null}function Ch(e,t){let{__unstableInputWidth:n,children:r,className:o,disabled:i=!1,hideLabelFromVision:l=!1,labelPosition:u,id:c,isFocused:d=!1,label:p,prefix:h,size:m="default",suffix:v,...g}=e;const y=function(e){const t=(0,f.useInstanceId)(Ch);return e||`input-base-control-${t}`}(c),b=l||!p;return(0,s.createElement)(dh,a({},g,function(e){const t={};switch(e){case"top":t.direction="column",t.gap=0;break;case"bottom":t.direction="column-reverse",t.gap=0;break;case"edge":t.justify="space-between"}return t}(u),{className:o,isFocused:d,labelPosition:u,ref:t}),(0,s.createElement)(bh,null,(0,s.createElement)(Sh,{className:"components-input-control__label",hideLabelFromVision:l,labelPosition:u,htmlFor:y,size:m},p)),(0,s.createElement)(hh,{__unstableInputWidth:n,className:"components-input-control__container",disabled:i,hideLabel:b,labelPosition:u},h&&(0,s.createElement)(_h,{className:"components-input-control__prefix"},h),r,v&&(0,s.createElement)(xh,{className:"components-input-control__suffix"},v),(0,s.createElement)(kh,{disabled:i,isFocused:d})))}var Oh=(0,s.forwardRef)(Ch);const Ph={toVector:(e,t)=>(void 0===e&&(e=t),Array.isArray(e)?e:[e,e]),add:(e,t)=>[e[0]+t[0],e[1]+t[1]],sub:(e,t)=>[e[0]-t[0],e[1]-t[1]],addTo(e,t){e[0]+=t[0],e[1]+=t[1]},subTo(e,t){e[0]-=t[0],e[1]-=t[1]}};function Mh(e,t,n){return 0===t||Math.abs(t)===1/0?Math.pow(e,5*n):e*t*n/(t+n*e)}function Th(e,t,n,r=.15){return 0===r?function(e,t,n){return Math.max(t,Math.min(e,n))}(e,t,n):en?+Mh(e-n,n-t,r)+n:e}function Dh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ih(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 Rh(e){for(var t=1;t{var n,r;return t.target===e.currentTarget||(null===(n=e.currentTarget)||void 0===n||null===(r=n.contains)||void 0===r?void 0:r.call(n,t.target))}))}(e).map((e=>e.identifier))}function Hh(e){const t=Bh(e);return jh(e)?t.identifier:t.pointerId}function Wh(e){const t=Bh(e);return[t.clientX,t.clientY]}function Uh(e,...t){return"function"==typeof e?e(...t):e}function $h(){}function Kh(...e){return 0===e.length?$h:1===e.length?e[0]:function(){let t;for(const n of e)t=n.apply(this,arguments)||t;return t}}function Gh(e,t){return Object.assign({},t,e||{})}class qh{constructor(e,t,n){this.ctrl=e,this.args=t,this.key=n,this.state||(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}get state(){return this.ctrl.state[this.key]}set state(e){this.ctrl.state[this.key]=e}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){const{state:e,shared:t,ingKey:n,args:r}=this;t[n]=e._active=e.active=e._blocked=e._force=!1,e._step=[!1,!1],e.intentional=!1,e._movement=[0,0],e._distance=[0,0],e._direction=[0,0],e._delta=[0,0],e._bounds=[[-1/0,1/0],[-1/0,1/0]],e.args=r,e.axis=void 0,e.memo=void 0,e.elapsedTime=0,e.direction=[0,0],e.distance=[0,0],e.overflow=[0,0],e._movementBound=[!1,!1],e.velocity=[0,0],e.movement=[0,0],e.delta=[0,0],e.timeStamp=0}start(e){const t=this.state,n=this.config;t._active||(this.reset(),this.computeInitial(),t._active=!0,t.target=e.target,t.currentTarget=e.currentTarget,t.lastOffset=n.from?Uh(n.from,t):t.offset,t.offset=t.lastOffset),t.startTime=t.timeStamp=e.timeStamp}computeValues(e){const t=this.state;t._values=e,t.values=this.config.transform(e)}computeInitial(){const e=this.state;e._initial=e._values,e.initial=e.values}compute(e){const{state:t,config:n,shared:r}=this;t.args=this.args;let o=0;if(e&&(t.event=e,n.preventDefault&&e.cancelable&&t.event.preventDefault(),t.type=e.type,r.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,r.locked=!!document.pointerLockElement,Object.assign(r,function(e){const t={};if("buttons"in e&&(t.buttons=e.buttons),"shiftKey"in e){const{shiftKey:n,altKey:r,metaKey:o,ctrlKey:i}=e;Object.assign(t,{shiftKey:n,altKey:r,metaKey:o,ctrlKey:i})}return t}(e)),r.down=r.pressed=r.buttons%2==1||r.touches>0,o=e.timeStamp-t.timeStamp,t.timeStamp=e.timeStamp,t.elapsedTime=t.timeStamp-t.startTime),t._active){const e=t._delta.map(Math.abs);Ph.addTo(t._distance,e)}this.axisIntent&&this.axisIntent(e);const[i,a]=t._movement,[s,l]=n.threshold,{_step:u,values:c}=t;if(n.hasCustomTransform?(!1===u[0]&&(u[0]=Math.abs(i)>=s&&c[0]),!1===u[1]&&(u[1]=Math.abs(a)>=l&&c[1])):(!1===u[0]&&(u[0]=Math.abs(i)>=s&&Math.sign(i)*s),!1===u[1]&&(u[1]=Math.abs(a)>=l&&Math.sign(a)*l)),t.intentional=!1!==u[0]||!1!==u[1],!t.intentional)return;const d=[0,0];if(n.hasCustomTransform){const[e,t]=c;d[0]=!1!==u[0]?e-u[0]:0,d[1]=!1!==u[1]?t-u[1]:0}else d[0]=!1!==u[0]?i-u[0]:0,d[1]=!1!==u[1]?a-u[1]:0;this.restrictToAxis&&!t._blocked&&this.restrictToAxis(d);const f=t.offset,p=t._active&&!t._blocked||t.active;p&&(t.first=t._active&&!t.active,t.last=!t._active&&t.active,t.active=r[this.ingKey]=t._active,e&&(t.first&&("bounds"in n&&(t._bounds=Uh(n.bounds,t)),this.setup&&this.setup()),t.movement=d,this.computeOffset()));const[h,m]=t.offset,[[v,g],[y,b]]=t._bounds;t.overflow=[hg?1:0,mb?1:0],t._movementBound[0]=!!t.overflow[0]&&(!1===t._movementBound[0]?t._movement[0]:t._movementBound[0]),t._movementBound[1]=!!t.overflow[1]&&(!1===t._movementBound[1]?t._movement[1]:t._movementBound[1]);const w=t._active&&n.rubberband||[0,0];if(t.offset=function(e,[t,n],[r,o]){const[[i,a],[s,l]]=e;return[Th(t,i,a,r),Th(n,s,l,o)]}(t._bounds,t.offset,w),t.delta=Ph.sub(t.offset,f),this.computeMovement(),p&&(!t.last||o>32)){t.delta=Ph.sub(t.offset,f);const e=t.delta.map(Math.abs);Ph.addTo(t.distance,e),t.direction=t.delta.map(Math.sign),t._direction=t._delta.map(Math.sign),!t.first&&o>0&&(t.velocity=[e[0]/o,e[1]/o])}}emit(){const e=this.state,t=this.shared,n=this.config;if(e._active||this.clean(),(e._blocked||!e.intentional)&&!e._force&&!n.triggerAllEvents)return;const r=this.handler(Rh(Rh(Rh({},t),e),{},{[this.aliasKey]:e.values}));void 0!==r&&(e.memo=r)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}class Yh extends qh{constructor(...e){super(...e),Dh(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=Ph.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=Ph.sub(this.state.offset,this.state.lastOffset)}axisIntent(e){const t=this.state,n=this.config;if(!t.axis&&e){const r="object"==typeof n.axisThreshold?n.axisThreshold[zh(e)]:n.axisThreshold;t.axis=function([e,t],n){const r=Math.abs(e),o=Math.abs(t);return r>o&&r>n?"x":o>r&&o>n?"y":void 0}(t._movement,r)}t._blocked=(n.lockDirection||!!n.axis)&&!t.axis||!!n.axis&&n.axis!==t.axis}restrictToAxis(e){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":e[1]=0;break;case"y":e[0]=0}}}const Xh=e=>e,Zh={enabled:(e=!0)=>e,preventDefault:(e=!1)=>e,triggerAllEvents:(e=!1)=>e,rubberband(e=0){switch(e){case!0:return[.15,.15];case!1:return[0,0];default:return Ph.toVector(e)}},from:e=>"function"==typeof e?e:null!=e?Ph.toVector(e):void 0,transform(e,t,n){const r=e||n.shared.transform;return this.hasCustomTransform=!!r,r||Xh},threshold:e=>Ph.toVector(e,0)};const Jh=Rh(Rh({},Zh),{},{axis(e,t,{axis:n}){if(this.lockDirection="lock"===n,!this.lockDirection)return n},axisThreshold:(e=0)=>e,bounds(e={}){if("function"==typeof e)return t=>Jh.bounds(e(t));if("current"in e)return()=>e.current;if("function"==typeof HTMLElement&&e instanceof HTMLElement)return e;const{left:t=-1/0,right:n=1/0,top:r=-1/0,bottom:o=1/0}=e;return[[t,n],[r,o]]}}),Qh={ArrowRight:(e=1)=>[10*e,0],ArrowLeft:(e=1)=>[-10*e,0],ArrowUp:(e=1)=>[0,-10*e],ArrowDown:(e=1)=>[0,10*e]};const em="undefined"!=typeof window&&window.document&&window.document.createElement;function tm(){return em&&"ontouchstart"in window||em&&window.navigator.maxTouchPoints>1}const nm={isBrowser:em,gesture:function(){try{return"constructor"in GestureEvent}catch(e){return!1}}(),touch:tm(),touchscreen:tm(),pointer:em&&"onpointerdown"in window,pointerLock:em&&"exitPointerLock"in window.document},rm={mouse:0,touch:0,pen:8},om=Rh(Rh({},Jh),{},{device(e,t,{pointer:{touch:n=!1,lock:r=!1,mouse:o=!1}={}}){return this.pointerLock=r&&nm.pointerLock,nm.touch&&n?"touch":this.pointerLock?"mouse":nm.pointer&&!o?"pointer":nm.touch?"touch":"mouse"},preventScrollAxis(e,t,{preventScroll:n}){if(this.preventScrollDelay="number"==typeof n?n:n||void 0===n&&e?250:void 0,nm.touchscreen&&!1!==n)return e||(void 0!==n?"y":void 0)},pointerCapture(e,t,{pointer:{capture:n=!0,buttons:r=1}={}}){return this.pointerButtons=r,!this.pointerLock&&"pointer"===this.device&&n},threshold(e,t,{filterTaps:n=!1,tapsThreshold:r=3,axis:o}){const i=Ph.toVector(e,n?r:o?1:0);return this.filterTaps=n,this.tapsThreshold=r,i},swipe({velocity:e=.5,distance:t=50,duration:n=250}={}){return{velocity:this.transform(Ph.toVector(e)),distance:this.transform(Ph.toVector(t)),duration:n}},delay(e=0){switch(e){case!0:return 180;case!1:return 0;default:return e}},axisThreshold:e=>e?Rh(Rh({},rm),e):rm});Rh(Rh({},Zh),{},{device(e,t,{shared:n,pointer:{touch:r=!1}={}}){if(n.target&&!nm.touch&&nm.gesture)return"gesture";if(nm.touch&&r)return"touch";if(nm.touchscreen){if(nm.pointer)return"pointer";if(nm.touch)return"touch"}},bounds(e,t,{scaleBounds:n={},angleBounds:r={}}){const o=e=>{const t=Gh(Uh(n,e),{min:-1/0,max:1/0});return[t.min,t.max]},i=e=>{const t=Gh(Uh(r,e),{min:-1/0,max:1/0});return[t.min,t.max]};return"function"!=typeof n&&"function"!=typeof r?[o(),i()]:e=>[o(e),i(e)]},threshold(e,t,n){this.lockDirection="lock"===n.axis;return Ph.toVector(e,this.lockDirection?[.1,3]:0)},modifierKey:e=>void 0===e?"ctrlKey":e});Rh(Rh({},Jh),{},{mouseOnly:(e=!0)=>e});const im=Rh(Rh({},Jh),{},{mouseOnly:(e=!0)=>e}),am=new Map,sm=new Map;function lm(e){am.set(e.key,e.engine),sm.set(e.key,e.resolver)}const um={key:"drag",engine:class extends Yh{constructor(...e){super(...e),Dh(this,"ingKey","dragging")}reset(){super.reset();const e=this.state;e._pointerId=void 0,e._pointerActive=!1,e._keyboardActive=!1,e._preventScroll=!1,e._delayed=!1,e.swipe=[0,0],e.tap=!1,e.canceled=!1,e.cancel=this.cancel.bind(this)}setup(){const e=this.state;if(e._bounds instanceof HTMLElement){const t=e._bounds.getBoundingClientRect(),n=e.currentTarget.getBoundingClientRect(),r={left:t.left-n.left+e.offset[0],right:t.right-n.right+e.offset[0],top:t.top-n.top+e.offset[1],bottom:t.bottom-n.bottom+e.offset[1]};e._bounds=Jh.bounds(r)}}cancel(){const e=this.state;e.canceled||(e.canceled=!0,e._active=!1,setTimeout((()=>{this.compute(),this.emit()}),0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(e){const t=this.config,n=this.state;(null==e.buttons||(Array.isArray(t.pointerButtons)?t.pointerButtons.includes(e.buttons):-1===t.pointerButtons||t.pointerButtons===e.buttons))&&(this.ctrl.setEventIds(e),t.pointerCapture&&e.target.setPointerCapture(e.pointerId),n._pointerActive||(this.start(e),this.setupPointer(e),n._pointerId=Hh(e),n._pointerActive=!0,this.computeValues(Wh(e)),this.computeInitial(),t.preventScrollAxis&&"mouse"!==zh(e)?(n._active=!1,this.setupScrollPrevention(e)):t.delay>0?(this.setupDelayTrigger(e),t.triggerAllEvents&&(this.compute(e),this.emit())):this.startPointerDrag(e)))}startPointerDrag(e){const t=this.state;t._active=!0,t._preventScroll=!0,t._delayed=!1,this.compute(e),this.emit()}pointerMove(e){const t=this.state,n=this.config;if(!t._pointerActive)return;if(t.type===e.type&&e.timeStamp===t.timeStamp)return;const r=Hh(e);if(void 0!==t._pointerId&&r!==t._pointerId)return;const o=Wh(e);return document.pointerLockElement===e.target?t._delta=[e.movementX,e.movementY]:(t._delta=Ph.sub(o,t._values),this.computeValues(o)),Ph.addTo(t._movement,t._delta),this.compute(e),t._delayed&&t.intentional?(this.timeoutStore.remove("dragDelay"),t.active=!1,void this.startPointerDrag(e)):n.preventScrollAxis&&!t._preventScroll?t.axis?t.axis===n.preventScrollAxis||"xy"===n.preventScrollAxis?(t._active=!1,void this.clean()):(this.timeoutStore.remove("startPointerDrag"),void this.startPointerDrag(e)):void 0:void this.emit()}pointerUp(e){this.ctrl.setEventIds(e);try{this.config.pointerCapture&&e.target.hasPointerCapture(e.pointerId)&&e.target.releasePointerCapture(e.pointerId)}catch(e){0}const t=this.state,n=this.config;if(!t._active||!t._pointerActive)return;const r=Hh(e);if(void 0!==t._pointerId&&r!==t._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(e);const[o,i]=t._distance;if(t.tap=o<=n.tapsThreshold&&i<=n.tapsThreshold,t.tap&&n.filterTaps)t._force=!0;else{const[e,r]=t.direction,[o,i]=t.velocity,[a,s]=t.movement,[l,u]=n.swipe.velocity,[c,d]=n.swipe.distance,f=n.swipe.duration;t.elapsedTimel&&Math.abs(a)>c&&(t.swipe[0]=e),Math.abs(i)>u&&Math.abs(s)>d&&(t.swipe[1]=r))}this.emit()}pointerClick(e){this.state.tap||(e.preventDefault(),e.stopPropagation())}setupPointer(e){const t=this.config,n=t.device;t.pointerLock&&e.currentTarget.requestPointerLock(),t.pointerCapture||(this.eventStore.add(this.sharedConfig.window,n,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(e){this.state._preventScroll&&e.cancelable&&e.preventDefault()}setupScrollPrevention(e){!function(e){"persist"in e&&"function"==typeof e.persist&&e.persist()}(e),this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1}),this.eventStore.add(this.sharedConfig.window,"touch","end",this.clean.bind(this)),this.eventStore.add(this.sharedConfig.window,"touch","cancel",this.clean.bind(this)),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,e)}setupDelayTrigger(e){this.state._delayed=!0,this.timeoutStore.add("dragDelay",(()=>{this.state._step=[0,0],this.startPointerDrag(e)}),this.config.delay)}keyDown(e){const t=Qh[e.key];if(t){const n=this.state,r=e.shiftKey?10:e.altKey?.1:1;n._delta=t(r),this.start(e),n._keyboardActive=!0,Ph.addTo(n._movement,n._delta),this.compute(e),this.emit()}}keyUp(e){e.key in Qh&&(this.state._keyboardActive=!1,this.setActive(),this.compute(e),this.emit())}bind(e){const t=this.config.device;e(t,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(e(t,"change",this.pointerMove.bind(this)),e(t,"end",this.pointerUp.bind(this)),e(t,"cancel",this.pointerUp.bind(this)),e("lostPointerCapture","",this.pointerUp.bind(this))),e("key","down",this.keyDown.bind(this)),e("key","up",this.keyUp.bind(this)),this.config.filterTaps&&e("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}},resolver:om},cm={key:"hover",engine:class extends Yh{constructor(...e){super(...e),Dh(this,"ingKey","hovering")}enter(e){this.config.mouseOnly&&"mouse"!==e.pointerType||(this.start(e),this.computeValues(Wh(e)),this.compute(e),this.emit())}leave(e){if(this.config.mouseOnly&&"mouse"!==e.pointerType)return;const t=this.state;if(!t._active)return;t._active=!1;const n=Wh(e);t._movement=t._delta=Ph.sub(n,t._values),this.computeValues(n),this.compute(e),t.delta=t.movement,this.emit()}bind(e){e("pointer","enter",this.enter.bind(this)),e("pointer","leave",this.leave.bind(this))}},resolver:im};function dm(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}const fm={target(e){if(e)return()=>"current"in e?e.current:e},enabled:(e=!0)=>e,window:(e=(nm.isBrowser?window:void 0))=>e,eventOptions:({passive:e=!0,capture:t=!1}={})=>({passive:e,capture:t}),transform:e=>e},pm=["target","eventOptions","window","enabled","transform"];function hm(e={},t){const n={};for(const[r,o]of Object.entries(t))switch(typeof o){case"function":n[r]=o.call(n,e[r],r,e);break;case"object":n[r]=hm(e[r],o);break;case"boolean":o&&(n[r]=e[r])}return n}class mm{constructor(e){Dh(this,"_listeners",[]),this._ctrl=e}add(e,t,n,r,o){const i=function(e,t=""){const n=Ah[e];return e+(n&&n[t]||t)}(t,n),a=Rh(Rh({},this._ctrl.config.shared.eventOptions),o);e.addEventListener(i,r,a),this._listeners.push((()=>e.removeEventListener(i,r,a)))}clean(){this._listeners.forEach((e=>e())),this._listeners=[]}}class vm{constructor(){Dh(this,"_timeouts",new Map)}add(e,t,n=140,...r){this.remove(e),this._timeouts.set(e,window.setTimeout(t,n,...r))}remove(e){const t=this._timeouts.get(e);t&&window.clearTimeout(t)}clean(){this._timeouts.forEach((e=>{window.clearTimeout(e)})),this._timeouts.clear()}}class gm{constructor(e){Dh(this,"gestures",new Set),Dh(this,"_targetEventStore",new mm(this)),Dh(this,"gestureEventStores",{}),Dh(this,"gestureTimeoutStores",{}),Dh(this,"handlers",{}),Dh(this,"config",{}),Dh(this,"pointerIds",new Set),Dh(this,"touchIds",new Set),Dh(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),function(e,t){t.drag&&ym(e,"drag");t.wheel&&ym(e,"wheel");t.scroll&&ym(e,"scroll");t.move&&ym(e,"move");t.pinch&&ym(e,"pinch");t.hover&&ym(e,"hover")}(this,e)}setEventIds(e){jh(e)?this.touchIds=new Set(Vh(e)):"pointerId"in e&&("pointerup"===e.type||"pointercancel"===e.type?this.pointerIds.delete(e.pointerId):"pointerdown"===e.type&&this.pointerIds.add(e.pointerId))}applyHandlers(e,t){this.handlers=e,this.nativeHandlers=t}applyConfig(e,t){this.config=function(e,t){const n=e,{target:r,eventOptions:o,window:i,enabled:a,transform:s}=n,l=dm(n,pm),u={shared:hm({target:r,eventOptions:o,window:i,enabled:a,transform:s},fm)};if(t){const e=sm.get(t);u[t]=hm(Rh({shared:u.shared},l),e)}else for(const e in l){const t=sm.get(e);t&&(u[e]=hm(Rh({shared:u.shared},l[e]),t))}return u}(e,t)}clean(){this._targetEventStore.clean();for(const e of this.gestures)this.gestureEventStores[e].clean(),this.gestureTimeoutStores[e].clean()}effect(){return this.config.shared.target&&this.bind(),()=>this._targetEventStore.clean()}bind(...e){const t=this.config.shared,n=t.eventOptions,r={};let o;if(t.target&&(o=t.target(),!o))return;const i=bm(r,n,!!o);if(t.enabled){for(const t of this.gestures)if(this.config[t].enabled){new(am.get(t))(this,e,t).bind(i)}for(const t in this.nativeHandlers)i(t,"",(n=>this.nativeHandlers[t](Rh(Rh({},this.state.shared),{},{event:n,args:e}))),void 0,!0)}for(const e in r)r[e]=Kh(...r[e]);if(!o)return r;for(const e in r){const{device:t,capture:n,passive:i}=Fh(e);this._targetEventStore.add(o,t,"",r[e],{capture:n,passive:i})}}}function ym(e,t){e.gestures.add(t),e.gestureEventStores[t]=new mm(e),e.gestureTimeoutStores[t]=new vm}const bm=(e,t,n)=>(r,o,i,a={},s=!1)=>{var l,u;const c=null!==(l=a.capture)&&void 0!==l?l:t.capture,d=null!==(u=a.passive)&&void 0!==u?u:t.passive;let f=s?r:function(e,t="",n=!1){const r=Ah[e],o=r&&r[t]||t;return"on"+Nh(e)+Nh(o)+(n?"Capture":"")}(r,o,c);n&&d&&(f+="Passive"),e[f]=e[f]||[],e[f].push(i)};function wm(e,t={},n,r){const o=w().useMemo((()=>new gm(e)),[]);if(o.applyHandlers(e,r),o.applyConfig(t,n),w().useEffect(o.effect.bind(o)),w().useEffect((()=>o.clean.bind(o)),[]),void 0===t.target)return o.bind.bind(o)}const _m=e=>e,xm={_event:{},error:null,initialValue:"",isDirty:!1,isDragEnabled:!1,isDragging:!1,isPressEnterToChange:!1,value:""},Em="CHANGE",km="COMMIT",Sm="DRAG_END",Cm="DRAG_START",Om="DRAG",Pm="INVALIDATE",Mm="PRESS_DOWN",Tm="PRESS_ENTER",Dm="PRESS_UP",Im="RESET";function Rm(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:xm;const{value:t}=e;return{...xm,...e,initialValue:t}}function Am(e){return(t,n)=>{const r={...t};switch(n.type){case Dm:case Mm:r.isDirty=!1;break;case Cm:r.isDragging=!0;break;case Sm:r.isDragging=!1;break;case Em:r.error=null,r.value=n.payload.value,t.isPressEnterToChange&&(r.isDirty=!0);break;case km:r.value=n.payload.value,r.isDirty=!1;break;case Im:r.error=null,r.isDirty=!1,r.value=n.payload.value||t.initialValue;break;case Pm:r.error=n.payload.error}return n.payload.event&&(r._event=n.payload.event),e(r,n)}}var Nm=function(e,t){const n=(0,s.useRef)(!1);(0,s.useEffect)((()=>{if(n.current)return e();n.current=!0}),t)};const Lm=(0,s.forwardRef)((function(e,t){let{disabled:n=!1,dragDirection:r="n",dragThreshold:o=10,id:i,isDragEnabled:u=!1,isFocused:c,isPressEnterToChange:d=!1,onBlur:f=l.noop,onChange:p=l.noop,onDrag:h=l.noop,onDragEnd:m=l.noop,onDragStart:v=l.noop,onFocus:g=l.noop,onKeyDown:y=l.noop,onValidate:b=l.noop,size:w="default",setIsFocused:_,stateReducer:x=(e=>e),value:E,type:k,...S}=e;const{state:C,change:O,commit:P,drag:M,dragEnd:T,dragStart:D,invalidate:I,pressDown:R,pressEnter:A,pressUp:N,reset:L}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_m,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xm;const[n,r]=(0,s.useReducer)(Am(e),Rm(t)),o=e=>(t,n)=>{n&&n.persist&&n.persist(),r({type:e,payload:{value:t,event:n}})},i=e=>t=>{t&&t.persist&&t.persist(),r({type:e,payload:{event:t}})},a=e=>t=>{r({type:e,payload:t})},l=o(Em),u=(e,t)=>r({type:Pm,payload:{error:e,event:t}}),c=o(Im),d=o(km),f=a(Cm),p=a(Om),h=a(Sm),m=i(Dm),v=i(Mm),g=i(Tm);return{change:l,commit:d,dispatch:r,drag:p,dragEnd:h,dragStart:f,invalidate:u,pressDown:v,pressEnter:g,pressUp:m,reset:c,state:n}}(x,{isDragEnabled:u,value:E,isPressEnterToChange:d}),{_event:F,value:j,isDragging:z,isDirty:B}=C,V=(0,s.useRef)(!1),H=function(e,t){const n=function(e){let t="ns-resize";switch(e){case"n":case"s":t="ns-resize";break;case"e":case"w":t="ew-resize"}return t}(t);return(0,s.useEffect)((()=>{document.documentElement.style.cursor=e?n:null}),[e]),n}(z,r);Nm((()=>{E!==j&&(c||V.current?B||(p(j,{event:F}),V.current=!1):P(E,F))}),[j,B,c,E]);const W=e=>{const t=e.currentTarget.value;try{b(t),P(t,e)}catch(t){I(t,e)}},U=($=e=>{const{distance:t,dragging:n,event:r,target:o}=e;if(e.event={...e.event,target:o},t){if(r.stopPropagation(),!n)return m(e),void T(e);h(e),M(e),z||(v(e),D(e))}},K={axis:"e"===r||"w"===r?"x":"y",threshold:o,enabled:u,pointer:{capture:!1}},lm(um),wm({drag:$},K||{},"drag"));var $,K;const G=u?U():{};let q;return"number"===k&&(q=e=>{var t;null===(t=S.onMouseDown)||void 0===t||t.call(S,e),e.currentTarget!==e.currentTarget.ownerDocument.activeElement&&e.currentTarget.focus()}),(0,s.createElement)(mh,a({},S,G,{className:"components-input-control__input",disabled:n,dragCursor:H,isDragging:z,id:i,onBlur:e=>{f(e),null==_||_(!1),!B&&e.target.validity.valid||(V.current=!0,W(e))},onChange:e=>{const t=e.target.value;O(t,e)},onFocus:e=>{g(e),null==_||_(!0)},onKeyDown:e=>{const{key:t}=e;switch(y(e),t){case"ArrowUp":N(e);break;case"ArrowDown":R(e);break;case"Enter":A(e),d&&(e.preventDefault(),W(e));break;case"Escape":d&&B&&(e.preventDefault(),L(E,e))}},onMouseDown:q,ref:t,inputSize:w,value:j,type:k}))}));var Fm=Lm;function jm(e,t){let{__unstableStateReducer:n=(e=>e),__unstableInputWidth:r,className:o,disabled:i=!1,hideLabelFromVision:u=!1,id:d,isPressEnterToChange:p=!1,label:h,labelPosition:m="top",onChange:v=l.noop,onValidate:g=l.noop,onKeyDown:y=l.noop,prefix:b,size:w="default",suffix:_,value:x,...E}=e;const[k,S]=(0,s.useState)(!1),C=function(e){const t=(0,f.useInstanceId)(jm);return e||`inspector-input-control-${t}`}(d),O=c()("components-input-control",o);return(0,s.createElement)(Oh,{__unstableInputWidth:r,className:O,disabled:i,gap:3,hideLabelFromVision:u,id:C,isFocused:k,justify:"left",label:h,labelPosition:m,prefix:b,size:w,suffix:_},(0,s.createElement)(Fm,a({},E,{className:"components-input-control__input",disabled:i,id:C,isFocused:k,isPressEnterToChange:p,onChange:v,onKeyDown:y,onValidate:g,ref:t,setIsFocused:S,size:w,stateReducer:n,value:x})))}var zm=(0,s.forwardRef)(jm);const Bm=Bn(Pp,{target:"e65ony43"})("margin-bottom:",bp(2),";"),Vm=Bn("div",{target:"e65ony42"})("border-radius:50%;border:",Hp.borderWidth," solid ",zo.ui.border,";box-sizing:border-box;cursor:grab;height:",32,"px;overflow:hidden;width:",32,"px;"),Hm=Bn("div",{target:"e65ony41"})({name:"1bhd2sw",styles:"box-sizing:border-box;position:relative;width:100%;height:100%"}),Wm=Bn("div",{target:"e65ony40"})("background:",zo.admin.theme,";border-radius:50%;border:",3,"px solid ",zo.admin.theme,";bottom:0;box-sizing:border-box;display:block;height:0px;left:0;margin:auto;position:absolute;right:0;top:-",16,"px;width:0px;");var Um=function(e){let{value:t,onChange:n,...r}=e;const o=(0,s.useRef)(),i=(0,s.useRef)(),l=(0,s.useRef)(),u=e=>{const{x:t,y:r}=i.current;e.preventDefault(),e.target.focus(),n(function(e,t,n,r){const o=r-t,i=n-e,a=Math.atan2(o,i),s=Math.round(a*(180/Math.PI))+90;if(s<0)return 360+s;return s}(t,r,e.clientX,e.clientY))},{startDrag:c,isDragging:d}=(0,f.__experimentalUseDragging)({onDragStart:e=>{(()=>{const e=o.current.getBoundingClientRect();i.current={x:e.x+e.width/2,y:e.y+e.height/2}})(),u(e)},onDragMove:u,onDragEnd:u});return(0,s.useEffect)((()=>{d?(void 0===l.current&&(l.current=document.body.style.cursor),document.body.style.cursor="grabbing"):(document.body.style.cursor=l.current||null,l.current=void 0)}),[d]),(0,s.createElement)(Vm,a({ref:o,onMouseDown:c,className:"components-angle-picker-control__angle-circle",style:d?{cursor:"grabbing"}:void 0},r),(0,s.createElement)(Hm,{style:t?{transform:`rotate(${t}deg)`}:void 0,className:"components-angle-picker-control__angle-circle-indicator-wrapper",tabIndex:-1},(0,s.createElement)(Wm,{className:"components-angle-picker-control__angle-circle-indicator"})))};const $m=e=>null!=e;const Km=On((function(e,t){const n=function(e){const{className:t,margin:n,marginBottom:r=2,marginLeft:o,marginRight:i,marginTop:a,marginX:s,marginY:l,padding:u,paddingBottom:c,paddingLeft:d,paddingRight:f,paddingTop:p,paddingX:h,paddingY:m,...v}=Cn(e,"Spacer");return{...v,className:Sn()($m(n)&&Xr("margin:",bp(n),";",""),$m(l)&&Xr("margin-bottom:",bp(l),";margin-top:",bp(l),";",""),$m(s)&&Xr("margin-left:",bp(s),";margin-right:",bp(s),";",""),$m(a)&&Xr("margin-top:",bp(a),";",""),$m(r)&&Xr("margin-bottom:",bp(r),";",""),$m(o)&&Xr("margin-left:",bp(o),";",""),$m(i)&&Xr("margin-right:",bp(i),";",""),$m(u)&&Xr("padding:",bp(u),";",""),$m(m)&&Xr("padding-bottom:",bp(m),";padding-top:",bp(m),";",""),$m(h)&&Xr("padding-left:",bp(h),";padding-right:",bp(h),";",""),$m(p)&&Xr("padding-top:",bp(p),";",""),$m(c)&&Xr("padding-bottom:",bp(c),";",""),$m(d)&&Xr("padding-left:",bp(d),";",""),$m(f)&&Xr("padding-right:",bp(f),";",""),t)}}(e);return(0,s.createElement)(Hn,a({},n,{ref:t}))}),"Spacer");var Gm=Km;function qm(e){let{className:t,label:n=(0,d.__)("Angle"),onChange:r,value:o}=e;const i=c()("components-angle-picker-control",t);return(0,s.createElement)(Bm,{className:i},(0,s.createElement)(hp,null,(0,s.createElement)(zm,{label:n,className:"components-angle-picker-control__input-field",max:360,min:0,onChange:e=>{const t=""!==e?parseInt(e,10):0;r(t)},size:"__unstable-large",step:"1",value:o,hideHTMLArrows:!0,suffix:(0,s.createElement)(Gm,{as:oh,marginBottom:0,marginRight:bp(3),style:{color:"var( --wp-admin-theme-color )"}},"°")})),(0,s.createElement)(mp,{style:{marginLeft:bp(4),marginBottom:bp(1),marginTop:"auto"}},(0,s.createElement)(Um,{"aria-hidden":"true",value:o,onChange:r})))}var Ym=window.wp.keycodes,Xm=window.wp.richText,Zm=window.wp.a11y;function Jm(e){return t=>{const[n,r]=(0,s.useState)([]);return(0,s.useLayoutEffect)((()=>{const{options:n,isDebounced:o}=e,i=(0,l.debounce)((()=>{const o=Promise.resolve("function"==typeof n?n(t):n).then((n=>{if(o.canceled)return;const i=n.map(((t,n)=>({key:`${e.name}-${n}`,value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[],isDisabled:!!e.isOptionDisabled&&e.isOptionDisabled(t)}))),a=new RegExp("(?:\\b|\\s|^)"+(0,l.escapeRegExp)(t),"i");r(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;const r=[];for(let o=0;oe.test((0,l.deburr)(t))))&&(r.push(i),r.length===n))break}return r}(a,i))}));return o}),o?250:0),a=i();return()=>{i.cancel(),a&&(a.canceled=!0)}}),[t]),[n]}}function Qm(e){let{record:t,onChange:n,onReplace:r,completers:o,contentRef:i}=e;const a=(0,f.useDebounce)(Zm.speak,500),u=(0,f.useInstanceId)(Qm),[p,h]=(0,s.useState)(0),[m,v]=(0,s.useState)([]),[g,y]=(0,s.useState)(""),[b,w]=(0,s.useState)(null),[_,x]=(0,s.useState)(null),[E,k]=(0,s.useState)(!1);function S(e){const{getOptionCompletion:o}=b||{};if(!e.isDisabled){if(o){const i=o(e.value,g),{action:a,value:l}=void 0===i.action||void 0===i.value?{action:"insert-at-caret",value:i}:i;if("replace"===a)return void r([l]);"insert-at-caret"===a&&function(e){const r=t.start,o=r-b.triggerPrefix.length-g.length,i=(0,Xm.create)({html:(0,s.renderToString)(e)});n((0,Xm.insert)(t,i,o,r))}(l)}C()}}function C(){h(0),v([]),y(""),w(null),x(null)}let O;(0,Xm.isCollapsed)(t)&&(O=(0,Xm.getTextContent)((0,Xm.slice)(t,0))),(0,s.useEffect)((()=>{if(!O)return void C();const e=(0,l.deburr)(O),n=(0,Xm.getTextContent)((0,Xm.slice)(t,void 0,(0,Xm.getTextContent)(t).length)),r=(0,l.find)(o,(t=>{let{triggerPrefix:r,allowContext:o}=t;const i=e.lastIndexOf(r);if(-1===i)return!1;const a=e.slice(i+r.length);if(a.length>50)return!1;const s=0===m.length,l=1===a.split(/\s/).length,u=E&&a.split(/\s/).length<=3;return!(s&&!u&&!l)&&(!(o&&!o(e.slice(0,i),n))&&(!/^\s/.test(a)&&!/\s\s+$/.test(a)&&/[\u0000-\uFFFF]*$/.test(a)))}));if(!r)return void C();const i=(0,l.escapeRegExp)(r.triggerPrefix),a=e.slice(e.lastIndexOf(r.triggerPrefix)).match(new RegExp(`${i}([\0-]*)$`)),u=a&&a[1];w(r),x((()=>r!==b?function(e){const t=e.useItems?e.useItems:Jm(e);return function(e){let{filterValue:n,instanceId:r,listBoxId:o,className:i,selectedIndex:a,onChangeOptions:u,onSelect:d,onReset:f,value:p,contentRef:h}=e;const[m]=t(n),v=(0,Xm.useAnchorRef)({ref:h,value:p});return(0,s.useLayoutEffect)((()=>{u(m)}),[m]),!m.length>0?null:(0,s.createElement)(Fr,{focusOnMount:!1,onClose:f,position:"top right",className:"components-autocomplete__popover",anchorRef:v},(0,s.createElement)("div",{id:o,role:"listbox",className:"components-autocomplete__results"},(0,l.map)(m,((e,t)=>(0,s.createElement)($n,{key:e.key,id:`components-autocomplete-item-${r}-${e.key}`,role:"option","aria-selected":t===a,disabled:e.isDisabled,className:c()("components-autocomplete__result",i,{"is-selected":t===a}),onClick:()=>d(e)},e.label)))))}}(r):_)),y(u)}),[O]);const{key:P=""}=m[p]||{},{className:M}=b||{},T=!!b&&m.length>0,D=T?`components-autocomplete-listbox-${u}`:null;return{listBoxId:D,activeId:T?`components-autocomplete-item-${u}-${P}`:null,onKeyDown:function(e){if(k(e.keyCode===Ym.BACKSPACE),b&&0!==m.length&&!e.defaultPrevented){switch(e.keyCode){case Ym.UP:h((0===p?m.length:p)-1);break;case Ym.DOWN:h((p+1)%m.length);break;case Ym.ESCAPE:w(null),x(null),e.preventDefault();break;case Ym.ENTER:S(m[p]);break;case Ym.LEFT:case Ym.RIGHT:return void C();default:return}e.preventDefault()}},popover:void 0!==t.start&&_&&(0,s.createElement)(_,{className:M,filterValue:g,instanceId:u,listBoxId:D,selectedIndex:p,onChangeOptions:function(e){h(e.length===m.length?p:0),v(e),function(e){a&&(e.length?a((0,d.sprintf)((0,d._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):a((0,d.__)("No results."),"assertive"))}(e)},onSelect:S,value:t,contentRef:i,reset:C})}}function ev(e){const t=(0,s.useRef)(),n=(0,s.useRef)(),{popover:r,listBoxId:o,activeId:i,onKeyDown:a}=Qm({...e,contentRef:t});return n.current=a,{ref:(0,f.useMergeRefs)([t,(0,f.useRefEffect)((e=>{function t(e){n.current(e)}return e.addEventListener("keydown",t),()=>{e.removeEventListener("keydown",t)}}),[])]),children:r,"aria-autocomplete":o?"list":void 0,"aria-owns":o,"aria-activedescendant":i}}function tv(e){let{children:t,isSelected:n,...r}=e;const{popover:o,...i}=Qm(r);return(0,s.createElement)(s.Fragment,null,t(i),n&&o)}var nv={"default.fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif","default.fontSize":"13px","helpText.fontSize":"12px",mobileTextMinFontSize:"16px"};function rv(e){return(0,l.get)(nv,e,"")}const ov=Bn("div",{target:"ej5x27r4"})("font-family:",rv("default.fontFamily"),";font-size:",rv("default.fontSize"),";"),iv=Bn("div",{target:"ej5x27r3"})((e=>{let{__nextHasNoMarginBottom:t=!1}=e;return!t&&Xr("margin-bottom:",bp(2),";","")})," .components-panel__row &{margin-bottom:inherit;}"),av=Xr("display:inline-block;margin-bottom:",bp(2),";",""),sv=Bn("label",{target:"ej5x27r2"})(av,";");var lv={name:"11yad0w",styles:"margin-bottom:revert"};const uv=Bn("p",{target:"ej5x27r1"})("margin-top:",bp(2),";margin-bottom:0;font-size:",rv("helpText.fontSize"),";font-style:normal;color:",zo.mediumGray.text,";",(e=>{let{__nextHasNoMarginBottom:t=!1}=e;return!t&&lv}),";"),cv=Bn("span",{target:"ej5x27r0"})(av,";"),dv=e=>{let{__nextHasNoMarginBottom:t=!1,id:n,label:r,hideLabelFromVision:o=!1,help:i,className:a,children:l}=e;return(0,s.createElement)(ov,{className:c()("components-base-control",a)},(0,s.createElement)(iv,{className:"components-base-control__field",__nextHasNoMarginBottom:t},r&&n&&(o?(0,s.createElement)(Wn,{as:"label",htmlFor:n},r):(0,s.createElement)(sv,{className:"components-base-control__label",htmlFor:n},r)),r&&!n&&(o?(0,s.createElement)(Wn,{as:"label"},r):(0,s.createElement)(dv.VisualLabel,null,r)),l),!!i&&(0,s.createElement)(uv,{id:n?n+"__help":void 0,className:"components-base-control__help",__nextHasNoMarginBottom:t},i))};dv.VisualLabel=e=>{let{className:t,children:n}=e;return(0,s.createElement)(cv,{className:c()("components-base-control__label",t)},n)};var fv=dv;var pv=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}));var hv=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M15.6 7.3h-.7l1.6-3.5-.9-.4-3.9 8.5H9v1.5h2l-1.3 2.8H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V7.3H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H9l-1.4 3.2.9.4 5.7-12.5h1.4c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.4-5.2-5.2-5.2z"}));const mv=Xr("",""),vv={name:"82a6rk",styles:"flex:1"},gv={name:"3gg0za",styles:"flex:0;flex-basis:36px;margin-top:7px"},yv=e=>{const{color:t=zo.gray[200],style:n="solid",width:r=Hp.borderWidth}=e||{};return`${t} ${!!r&&"0"!==r||!!t?n||"solid":n} ${r!==Hp.borderWidth?`clamp(1px, ${r}, 10px)`:r}`},bv=Xr("position:relative;flex:1;",Cp({marginRight:bp(3)},{marginLeft:bp(3)})(),";",""),wv={name:"1nwbfnf",styles:"grid-column:span 2;margin:0 auto"};var _v=On(((e,t)=>{const{className:n,isLinked:r,...o}=function(e){const{className:t,...n}=Cn(e,"BorderBoxControlLinkedButton"),r=Sn();return{...n,className:(0,s.useMemo)((()=>r(gv,t)),[t])}}(e),i=r?(0,d.__)("Unlink sides"):(0,d.__)("Link sides");return(0,s.createElement)(Ur,{text:i},(0,s.createElement)(Hn,{className:n},(0,s.createElement)($n,a({},o,{variant:r?"primary":"secondary",isSmall:!0,icon:r?pv:hv,iconSize:16,"aria-label":i,ref:t}))))}),"BorderBoxControlLinkedButton");function xv(e){const{className:t,value:n,...r}=Cn(e,"BorderBoxControlVisualizer"),o=Sn(),i=(0,s.useMemo)((()=>o((e=>Xr("position:absolute;top:20px;right:30px;bottom:20px;left:30px;border-top:",yv(null==e?void 0:e.top),";border-bottom:",yv(null==e?void 0:e.bottom),";",Cp({borderLeft:yv(null==e?void 0:e.left)})()," ",Cp({borderRight:yv(null==e?void 0:e.right)})(),";",""))(n),t)),[t,n,Cp.watch()]);return{...r,className:i,value:n}}var Ev=On(((e,t)=>{const{value:n,...r}=xv(e);return(0,s.createElement)(Hn,a({},r,{ref:t}))}),"BorderBoxControlVisualizer");var kv=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));var Sv=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,s.createElement)(i.Path,{d:"M5 11.25h14v1.5H5z"}));var Cv=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,s.createElement)(i.Path,{fillRule:"evenodd",d:"M5 11.25h3v1.5H5v-1.5zm5.5 0h3v1.5h-3v-1.5zm8.5 0h-3v1.5h3v-1.5z",clipRule:"evenodd"}));var Ov=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,s.createElement)(i.Path,{fillRule:"evenodd",d:"M5.25 11.25h1.5v1.5h-1.5v-1.5zm3 0h1.5v1.5h-1.5v-1.5zm4.5 0h-1.5v1.5h1.5v-1.5zm1.5 0h1.5v1.5h-1.5v-1.5zm4.5 0h-1.5v1.5h1.5v-1.5z",clipRule:"evenodd"}));var Pv={name:"euqsgg",styles:"input[type='number']::-webkit-outer-spin-button,input[type='number']::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}input[type='number']{-moz-appearance:textfield;}"};const Mv=e=>{let{hideHTMLArrows:t}=e;return t?Pv:""},Tv=Bn(zm,{target:"ep48uk90"})(Mv,";");function Dv(e){const t=Number(e);return isNaN(t)?0:t}function Iv(){for(var e=arguments.length,t=new Array(e),n=0;ne+Dv(t)),0)}function Rv(e){const t=(e+"").split(".");return void 0!==t[1]?t[1].length:0}function Av(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;const o=Dv(e),i=Dv(r),a=Rv(r),s=Math.round(o/i)*i,u=(0,l.clamp)(s,t,n);return a?Dv(u.toFixed(a)):u}function Nv(e){return null!=e}function Lv(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;return null!==(e=t.find(Nv))&&void 0!==e?e:n}var Fv=(0,s.forwardRef)((function(e,t){let{__unstableStateReducer:n,className:r,dragDirection:o="n",hideHTMLArrows:i=!1,isDragEnabled:l=!0,isShiftStepEnabled:u=!0,label:f,max:p=1/0,min:h=-1/0,required:m=!1,shiftStep:v=10,step:g=1,type:y="number",value:b,...w}=e;const _="any"===g,x=_?1:parseFloat(g),E=Av(0,h,p,x),k=(e,t)=>_?Math.min(p,Math.max(h,e)):Av(e,h,p,null!=t?t:x),S="number"===y?"off":null,C=c()("components-number-control",r),O=(e,t)=>{const n={...e},{type:r,payload:i}=t,a=null==i?void 0:i.event,s=n.value;if(r===Dm||r===Mm){const e=a.shiftKey&&u,t=e?parseFloat(v)*x:x;let o=function(e){const t=""===e;return!Nv(e)||t}(s)?E:s;null!=a&&a.preventDefault&&a.preventDefault(),r===Dm&&(o=Iv(o,t)),r===Mm&&(o=function(){for(var e=arguments.length,t=new Array(e),n=0;n{const r=Dv(t);return 0===n?r:e-r}),0)}(o,t)),n.value=k(o,e?t:null)}if(r===Om&&l){const[e,t]=i.delta,r=i.shiftKey&&u,a=r?parseFloat(v)*x:x;let l,c;switch(o){case"n":c=t,l=-1;break;case"e":c=e,l=(0,d.isRTL)()?-1:1;break;case"s":c=t,l=1;break;case"w":c=e,l=(0,d.isRTL)()?1:-1}if(0!==c){c=Math.ceil(Math.abs(c))*Math.sign(c);const e=c*a*l;n.value=k(Iv(s,e),r?a:null)}}if(r===Tm||r===km){const e=!1===m&&""===s;n.value=e?s:k(s)}return n};return(0,s.createElement)(Tv,a({autoComplete:S,inputMode:"numeric"},w,{className:C,dragDirection:o,hideHTMLArrows:i,isDragEnabled:l,label:f,max:p,min:h,ref:t,required:m,step:g,type:y,value:b,__unstableStateReducer:(e,t)=>{var r;const o=O(e,t);return null!==(r=null==n?void 0:n(o,t))&&void 0!==r?r:o}}))}));const jv=Bn("div",{target:"e1bagdl33"})({name:"100d0a9",styles:"box-sizing:border-box;position:relative"}),zv=e=>{let{disableUnits:t,size:n}=e;return Xr(Cp({default:{paddingRight:8},small:{paddingRight:8},"__unstable-large":{paddingRight:t?16:8}}[n])(),";","")};var Bv={name:"1y65o8",styles:"&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}"};const Vv=e=>{let{disableUnits:t}=e;return t?"":Bv},Hv=Bn(Fv,{target:"e1bagdl32"})("&&&{input{appearance:none;-moz-appearance:textfield;display:block;width:100%;",Vv,";",zv,";}}"),Wv=Xr("appearance:none;background:transparent;border-radius:2px;border:none;box-sizing:border-box;color:",zo.darkGray[500],";display:block;font-size:8px;letter-spacing:-0.5px;outline:none;padding:2px 1px;text-align-last:center;text-transform:uppercase;width:20px;",Cp({borderTopLeftRadius:0,borderBottomLeftRadius:0})(),";",""),Uv=Bn("div",{target:"e1bagdl31"})("&&&{pointer-events:none;",Wv,";}"),$v=Bn("select",{target:"e1bagdl30"})("&&&{",Wv,";cursor:pointer;border:1px solid transparent;height:100%;&:hover{background-color:",zo.lightGray[300],";}&:focus{border-color:",zo.ui.borderFocus,";outline:2px solid transparent;outline-offset:0;}&:disabled{cursor:initial;&:hover{background-color:transparent;}}}");const Kv={name:"f3vz0n",styles:"font-weight:500"},Gv={name:"bjn8wh",styles:"position:relative"},qv=e=>{const{style:t}=e||{};return Xr("border-radius:9999px;border:2px solid transparent;",t?(e=>{const{color:t,style:n}=e||{},r=n&&"none"!==n?zo.gray[300]:void 0;return Xr("border-style:","none"===n?"solid":n,";border-color:",t||r,";","")})(e):void 0," width:28px;height:28px;padding:2px;&>span{background:linear-gradient(\n\t\t\t\t-45deg,\n\t\t\t\ttransparent 48%,\n\t\t\t\trgb( 0 0 0 / 20% ) 48%,\n\t\t\t\trgb( 0 0 0 / 20% ) 52%,\n\t\t\t\ttransparent 52%\n\t\t\t);}","")},Yv={name:"1phacrs",styles:"&&>div>div{padding:0;}"},Xv=Xr("padding:",bp(2),";>div:first-of-type>",sv,"{margin-bottom:0;",Kv,";}&& ",sv,"+button:not( .has-text ){min-width:24px;padding:0;}",""),Zv=Xr("",""),Jv=Xr("",""),Qv=Xr("justify-content:center;width:100%;&&{border-top:",Hp.borderWidth," solid ",zo.gray[200],";height:46px;}",""),eg=Xr(sv,"{",Kv,";}",""),tg={name:"1486260",styles:"&&&&&{min-width:30px;width:30px;height:30px;padding:3px;}"};const ng=[{label:(0,d.__)("Solid"),icon:Sv,value:"solid"},{label:(0,d.__)("Dashed"),icon:Cv,value:"dashed"},{label:(0,d.__)("Dotted"),icon:Ov,value:"dotted"}],rg=e=>{const{label:t,hideLabelFromVision:n}=e;return t?n?(0,s.createElement)(Wn,{as:"label"},t):(0,s.createElement)(sv,null,t):null};var og=On(((e,t)=>{const{buttonClassName:n,hideLabelFromVision:r,label:o,onChange:i,value:l,...u}=function(e){const{className:t,...n}=Cn(e,"BorderControlStylePicker"),r=Sn();return{...n,className:(0,s.useMemo)((()=>r(eg,t)),[t,r]),buttonClassName:(0,s.useMemo)((()=>r(tg)),[r])}}(e);return(0,s.createElement)(Hn,a({},u,{ref:t}),(0,s.createElement)(rg,{label:o,hideLabelFromVision:r}),(0,s.createElement)(Pp,{justify:"flex-start",gap:1},ng.map((e=>(0,s.createElement)($n,{key:e.value,className:n,icon:e.icon,isSmall:!0,isPressed:e.value===l,onClick:()=>i(e.value===l?void 0:e.value),"aria-label":e.label,label:e.label,showTooltip:!0})))))}),"BorderControlStylePicker");var ig=e=>{let{className:t,colorValue:n,...r}=e;return(0,s.createElement)("span",a({className:c()("component-color-indicator",t),style:{background:n}},r))},ag=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},sg=function(e){return.2126*ag(e.r)+.7152*ag(e.g)+.0722*ag(e.b)};function lg(e){var t;const{renderContent:n,renderToggle:r,position:o="bottom right",className:i,contentClassName:l,expandOnMobile:u,headerTitle:d,focusOnMount:f,popoverProps:p,onClose:h,onToggle:m}=e,v=(0,s.useRef)(),[g,y]=function(e,t){const[n,r]=(0,s.useState)(e);return[n,e=>{r(e),t&&t(e)}]}(!1,m);function b(){h&&h(),y(!1)}(0,s.useEffect)((()=>()=>{m&&m(!1)}),[]);const w={isOpen:g,onToggle:function(){y(!g)},onClose:b};return(0,s.createElement)("div",{className:c()("components-dropdown",i),ref:v,tabIndex:"-1"},r(w),g&&(0,s.createElement)(Fr,a({position:o,onClose:b,onFocusOutside:function(){const{ownerDocument:e}=v.current,t=e.activeElement.closest('[role="dialog"]');v.current.contains(e.activeElement)||t&&!t.contains(v.current)||b()},expandOnMobile:u,headerTitle:d,focusOnMount:f},p,{anchorRef:null!==(t=null==p?void 0:p.anchorRef)&&void 0!==t?t:v.current,className:c()("components-dropdown__content",p?p.className:void 0,l)}),n(w)))}var ug=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M14.5 13.8c-1.1 0-2.1.7-2.4 1.8H4V17h8.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20v-1.5h-3.1c-.3-1-1.3-1.7-2.4-1.7zM11.9 7c-.3-1-1.3-1.8-2.4-1.8S7.4 6 7.1 7H4v1.5h3.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20V7h-8.1z"}));const cg={bottom:{align:"flex-end",justify:"center"},bottomLeft:{align:"flex-start",justify:"flex-end"},bottomRight:{align:"flex-end",justify:"flex-end"},center:{align:"center",justify:"center"},edge:{align:"center",justify:"space-between"},left:{align:"center",justify:"flex-start"},right:{align:"center",justify:"flex-end"},stretch:{align:"stretch"},top:{align:"flex-start",justify:"center"},topLeft:{align:"flex-start",justify:"flex-start"},topRight:{align:"flex-start",justify:"flex-end"}},dg={bottom:{justify:"flex-end",align:"center"},bottomLeft:{justify:"flex-start",align:"flex-end"},bottomRight:{justify:"flex-end",align:"flex-end"},center:{justify:"center",align:"center"},edge:{justify:"space-between",align:"center"},left:{justify:"center",align:"flex-start"},right:{justify:"center",align:"flex-end"},stretch:{justify:"stretch"},top:{justify:"flex-start",align:"center"},topLeft:{justify:"flex-start",align:"flex-start"},topRight:{justify:"flex-start",align:"flex-end"}};function fg(e){return"string"==typeof e?[e]:s.Children.toArray(e).filter((e=>(0,s.isValidElement)(e)))}function pg(e){const{alignment:t="edge",children:n,direction:r,spacing:o=2,...i}=Cn(e,"HStack"),u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"row";if((0,l.isNil)(e))return{};const n="column"===t?dg:cg;return e in n?n[e]:{align:e}}(t,r);return Op({children:fg(n).map(((e,t)=>{const n=e.key||`hstack-${t}`;return Mn(e,["Spacer"])?(0,s.createElement)(mp,a({isBlock:!0,key:n},e.props)):e})),direction:r,justify:"center",...u,...i,gap:o})}var hg=On((function(e,t){const n=pg(e);return(0,s.createElement)(Hn,a({},n,{ref:t}))}),"HStack");var mg=function(e){let{icon:t,size:n=24,...r}=e;return(0,s.cloneElement)(t,{width:n,height:n,...r})};var vg=(0,s.createElement)(i.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)(i.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));const gg=Bn("select",{target:"e1mv6sxx1"})("&&&{appearance:none;background:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",zo.black,";display:block;font-family:inherit;margin:0;width:100%;",(e=>{let{disabled:t}=e;return t?Xr({color:zo.ui.textDisabled},"",""):""}),";",(e=>{let{selectSize:t}=e;const n={default:"13px",small:"11px","__unstable-large":"13px"}[t];return n?Xr("font-size:","16px",";@media ( min-width: 600px ){font-size:",n,";}",""):""}),";",(e=>{let{selectSize:t}=e;const n={default:{height:30,lineHeight:1,minHeight:30},small:{height:24,lineHeight:1,minHeight:24},"__unstable-large":{height:40,lineHeight:1,minHeight:40}};return Xr(n[t]||n.default,"","")}),";",(e=>{let{selectSize:t="default"}=e;return Cp({default:{paddingLeft:8,paddingRight:24},small:{paddingLeft:8,paddingRight:24},"__unstable-large":{paddingLeft:16,paddingRight:32}}[t])}),";}"),yg=Bn("div",{target:"e1mv6sxx0"})("align-items:center;bottom:0;box-sizing:border-box;display:flex;padding:0 4px;pointer-events:none;position:absolute;top:0;",Cp({right:0})," svg{display:block;}");function bg(e,t){let{className:n,disabled:r=!1,help:o,hideLabelFromVision:i,id:u,label:d,multiple:p=!1,onBlur:h=l.noop,onChange:m=l.noop,onFocus:v=l.noop,options:g=[],size:y="default",value:b,labelPosition:w="top",children:_,prefix:x,suffix:E,...k}=e;const[S,C]=(0,s.useState)(!1),O=function(e){const t=(0,f.useInstanceId)(bg);return e||`inspector-select-control-${t}`}(u),P=o?`${O}__help`:void 0;if((0,l.isEmpty)(g)&&!_)return null;const M=c()("components-select-control",n);return(0,s.createElement)(fv,{help:o,id:O},(0,s.createElement)(Oh,{className:M,disabled:r,hideLabelFromVision:i,id:O,isFocused:S,label:d,size:y,suffix:E||(0,s.createElement)(yg,null,(0,s.createElement)(mg,{icon:vg,size:18})),prefix:x,labelPosition:w},(0,s.createElement)(gg,a({},k,{"aria-describedby":P,className:"components-select-control__input",disabled:r,id:O,multiple:p,onBlur:e=>{h(e),C(!1)},onChange:e=>{if(p){const t=Array.from(e.target.options).filter((e=>{let{selected:t}=e;return t})),n=t.map((e=>{let{value:t}=e;return t}));m(n)}else m(e.target.value,{event:e})},onFocus:e=>{v(e),C(!0)},ref:t,selectSize:y,value:b}),_||g.map(((e,t)=>{const n=e.id||`${e.label}-${e.value}-${t}`;return(0,s.createElement)("option",{key:n,value:e.value,disabled:e.disabled},e.label)})))))}var wg=(0,s.forwardRef)(bg);const _g={initial:void 0,fallback:""};var xg=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_g;const{initial:n,fallback:r}={..._g,...t},[o,i]=(0,s.useState)(e),a=Nv(e);(0,s.useEffect)((()=>{a&&o&&i(void 0)}),[a,o]);const l=Lv([e,o,n],r),u=e=>{a||i(e)};return[l,u]};function Eg(e,t,n){return"number"!=typeof e?null:parseFloat((0,l.clamp)(e,t,n))}const kg=()=>Xr({height:30,minHeight:30},"",""),Sg=12,Cg=Bn("div",{target:"exqw8y214"})({name:"17z6zai",styles:"-webkit-tap-highlight-color:transparent;box-sizing:border-box;align-items:flex-start;display:inline-flex;justify-content:flex-start;padding:0;position:relative;touch-action:none;width:100%"}),Og=Bn("div",{target:"exqw8y213"})("box-sizing:border-box;color:",zo.blue.medium.focus,";display:block;flex:1;position:relative;width:100%;",(e=>{let{color:t=zo.ui.borderFocus}=e;return Xr({color:t},"","")}),";",kg,";",(e=>{let{marks:t}=e;return Xr({marginBottom:t?16:null},"","")}),";"),Pg=Bn("span",{target:"exqw8y212"})("margin-top:",4,"px;",Cp({marginRight:6}),";"),Mg=Bn("span",{target:"exqw8y211"})("margin-top:",4,"px;",Cp({marginLeft:6}),";"),Tg=Bn("span",{target:"exqw8y210"})("background-color:",zo.lightGray[600],";box-sizing:border-box;left:0;pointer-events:none;right:0;display:block;height:",4,"px;position:absolute;margin-top:",13,"px;top:0;border-radius:",4,"px;",(e=>{let{disabled:t,railColor:n}=e,r=n||null;return t&&(r=zo.lightGray[400]),Xr({background:r},"","")}),";"),Dg=Bn("span",{target:"exqw8y29"})("background-color:currentColor;border-radius:",4,"px;box-sizing:border-box;height:",4,"px;pointer-events:none;display:block;position:absolute;margin-top:",13,"px;top:0;",(e=>{let{disabled:t,trackColor:n}=e,r=n||"currentColor";return t&&(r=zo.lightGray[800]),Xr({background:r},"","")}),";"),Ig=Bn("span",{target:"exqw8y28"})({name:"1xuuvmv",styles:"box-sizing:border-box;display:block;pointer-events:none;position:relative;width:100%;user-select:none"}),Rg=Bn("span",{target:"exqw8y27"})("box-sizing:border-box;height:",Sg,"px;left:0;position:absolute;top:-4px;width:1px;",(e=>{let{disabled:t,isFilled:n}=e,r=n?"currentColor":zo.lightGray[600];return t&&(r=zo.lightGray[800]),Xr({backgroundColor:r},"","")}),";"),Ag=Bn("span",{target:"exqw8y26"})("box-sizing:border-box;color:",zo.lightGray[600],";left:0;font-size:11px;position:absolute;top:12px;transform:translateX( -50% );white-space:nowrap;",(e=>{let{isFilled:t}=e;return Xr({color:t?zo.darkGray[300]:zo.lightGray[600]},"","")}),";");var Ng={name:"1sb75b3",styles:"background-color:var( --wp-admin-theme-color )"};const Lg=e=>{let{disabled:t}=e;return t?Xr("background-color:",zo.lightGray[800],";",""):Ng},Fg=Bn("span",{target:"exqw8y25"})("align-items:center;box-sizing:border-box;display:flex;height:",Sg,"px;justify-content:center;margin-top:",9,"px;outline:0;pointer-events:none;position:absolute;top:0;user-select:none;width:",Sg,"px;border-radius:50%;",Lg,";",Cp({marginLeft:-10}),";",Cp({transform:"translateX( 4.5px )"},{transform:"translateX( -4.5px )"}),";"),jg=Bn("span",{target:"exqw8y24"})("align-items:center;border-radius:50%;box-sizing:border-box;height:100%;outline:0;position:absolute;user-select:none;width:100%;",Lg,";",(e=>{let{isFocused:t}=e;return t?Xr("&::before{content:' ';position:absolute;background-color:var( --wp-admin-theme-color );opacity:0.4;border-radius:50%;height:",20,"px;width:",20,"px;top:-4px;left:-4px;}",""):""}),";"),zg=Bn("input",{target:"exqw8y23"})("box-sizing:border-box;cursor:pointer;display:block;height:100%;left:0;margin:0 -",6,"px;opacity:0;outline:none;position:absolute;right:0;top:0;width:calc( 100% + ",Sg,"px );");var Bg={name:"1cypxip",styles:"top:-80%"},Vg={name:"1lr98c4",styles:"bottom:-80%"};const Hg=Bn("span",{target:"exqw8y22"})("background:rgba( 0, 0, 0, 0.8 );border-radius:2px;box-sizing:border-box;color:white;display:inline-block;font-size:12px;min-width:32px;opacity:0;padding:4px 8px;pointer-events:none;position:absolute;text-align:center;transition:opacity 120ms ease;user-select:none;line-height:1.4;",(e=>{let{show:t}=e;return Xr({opacity:t?1:0},"","")}),";",(e=>{let{position:t}=e;return"bottom"===t?Vg:Bg}),";",Bo("transition"),";",Cp({transform:"translateX(-50%)"},{transform:"translateX(50%)"}),";"),Wg=Bn(Fv,{target:"exqw8y21"})("box-sizing:border-box;display:inline-block;font-size:13px;margin-top:0;width:",bp(16),"!important;input[type='number']&{",kg,";}",Cp({marginLeft:`${bp(4)} !important`}),";"),Ug=Bn("span",{target:"exqw8y20"})("box-sizing:border-box;display:block;margin-top:0;button,button.is-small{margin-left:0;",kg,";}",Cp({marginLeft:8}),";");const $g=(0,s.forwardRef)((function(e,t){let{describedBy:n,label:r,onHideTooltip:o=l.noop,onMouseLeave:i=l.noop,onMouseMove:u=l.noop,onShowTooltip:c=l.noop,value:d,...f}=e;const p=function(e){let{onHide:t=l.noop,onMouseLeave:n=l.noop,onMouseMove:r=l.noop,onShow:o=l.noop,timeout:i=300}=e;const[a,u]=(0,s.useState)(!1),c=(0,s.useRef)(),d=(0,s.useCallback)((e=>{window.clearTimeout(c.current),c.current=setTimeout(e,i)}),[i]),f=(0,s.useCallback)((e=>{r(e),d((()=>{a||(u(!0),o())}))}),[]),p=(0,s.useCallback)((e=>{n(e),d((()=>{u(!1),t()}))}),[]);return(0,s.useEffect)((()=>()=>{window.clearTimeout(c.current)})),{onMouseMove:f,onMouseLeave:p}}({onHide:o,onMouseLeave:i,onMouseMove:u,onShow:c});return(0,s.createElement)(zg,a({},f,p,{"aria-describedby":n,"aria-label":r,"aria-hidden":!1,ref:t,tabIndex:0,type:"range",value:d}))}));var Kg=$g;function Gg(e){let{className:t,isFilled:n=!1,label:r,style:o={},...i}=e;const l=c()("components-range-control__mark",n&&"is-filled",t),u=c()("components-range-control__mark-label",n&&"is-filled");return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Rg,a({},i,{"aria-hidden":"true",className:l,isFilled:n,style:o})),r&&(0,s.createElement)(Ag,{"aria-hidden":"true",className:u,isFilled:n,style:o},r))}function qg(e){let{disabled:t=!1,marks:n=!1,min:r=0,max:o=100,step:i=1,value:l=0,...u}=e;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Tg,a({disabled:t},u)),n&&(0,s.createElement)(Yg,{disabled:t,marks:n,min:r,max:o,step:i,value:l}))}function Yg(e){let{disabled:t=!1,marks:n=!1,min:r=0,max:o=100,step:i=1,value:l=0}=e;"any"===i&&(i=1);const u=function(e){let{marks:t,min:n=0,max:r=100,step:o=1,value:i=0}=e;if(!t)return[];const a=r-n;if(!Array.isArray(t)){t=[];const e=1+Math.round(a/o);for(;e>t.push({value:o*t.length+n}););}const s=[];return t.forEach(((e,t)=>{if(e.valuer)return;const o=`mark-${t}`,l=e.value<=i,u=(e.value-n)/a*100+"%",c={[(0,d.isRTL)()?"right":"left"]:u};s.push({...e,isFilled:l,key:o,style:c})})),s}({marks:n,min:r,max:o,step:i,value:l});return(0,s.createElement)(Ig,{"aria-hidden":"true",className:"components-range-control__marks"},u.map((e=>(0,s.createElement)(Gg,a({},e,{key:e.key,"aria-hidden":"true",disabled:t})))))}function Xg(e){let{className:t,inputRef:n,tooltipPosition:r,show:o=!1,style:i={},value:l=0,renderTooltipContent:u=(e=>e),zIndex:d=100,...f}=e;const p=function(e){let{inputRef:t,tooltipPosition:n}=e;const[r,o]=(0,s.useState)(),i=(0,s.useCallback)((()=>{t&&t.current&&o(n)}),[n]);return(0,s.useEffect)((()=>{i()}),[i]),(0,s.useEffect)((()=>(window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}))),r}({inputRef:n,tooltipPosition:r}),h=c()("components-simple-tooltip",t),m={...i,zIndex:d};return(0,s.createElement)(Hg,a({},f,{"aria-hidden":o,className:h,position:p,show:o,role:"tooltip",style:m}),u(l))}const Zg=(0,s.forwardRef)((function e(t,n){var r;let{afterIcon:o,allowReset:i=!1,beforeIcon:u,className:p,currentInput:h,color:m=zo.ui.theme,disabled:v=!1,help:g,initialPosition:y,isShiftStepEnabled:b=!0,label:w,hideLabelFromVision:_=!1,marks:x=!1,max:E=100,min:k=0,onBlur:S=l.noop,onChange:C=l.noop,onFocus:O=l.noop,onMouseMove:P=l.noop,onMouseLeave:M=l.noop,railColor:T,resetFallbackValue:D,renderTooltipContent:I=(e=>e),showTooltip:R,shiftStep:A=10,step:N=1,trackColor:L,value:F,withInputField:j=!0,...z}=t;const[B,V]=function(e){let{min:t,max:n,value:r,initial:o}=e;const[i,a]=xg(Eg(r,t,n),{initial:o,fallback:null});return[i,(0,s.useCallback)((e=>{a(null===e?null:Eg(e,t,n))}),[t,n])]}({min:k,max:E,value:F,initial:y}),H=(0,s.useRef)(!1);"any"===N&&(R=!1,j=!1);const[W,U]=(0,s.useState)(R),[$,K]=(0,s.useState)(!1),G=(0,s.useRef)(),q=null===(r=G.current)||void 0===r?void 0:r.matches(":focus"),Y=!v&&$,X=null===B,Z=X?"":void 0!==B?B:h,J=X?(E-k)/2+k:B,Q=X?50:(B-k)/(E-k)*100,ee=`${(0,l.clamp)(Q,0,100)}%`,te=c()("components-range-control",p),ne=c()("components-range-control__wrapper",!!x&&"is-marked"),re=(0,f.useInstanceId)(e,"inspector-range-control"),oe=g?`${re}__help`:void 0,ie=!1!==R&&(0,l.isFinite)(B),ae=()=>{let e=parseFloat(D),t=e;isNaN(e)&&(e=null,t=void 0),V(e),C(t)},se={[(0,d.isRTL)()?"right":"left"]:ee};return(0,s.createElement)(fv,{className:te,label:w,hideLabelFromVision:_,id:re,help:g},(0,s.createElement)(Cg,{className:"components-range-control__root"},u&&(0,s.createElement)(Pg,null,(0,s.createElement)(He,{icon:u})),(0,s.createElement)(Og,{className:ne,color:m,marks:!!x},(0,s.createElement)(Kg,a({},z,{className:"components-range-control__slider",describedBy:oe,disabled:v,id:re,label:w,max:E,min:k,onBlur:e=>{S(e),K(!1),U(!1)},onChange:e=>{const t=parseFloat(e.target.value);V(t),C(t)},onFocus:e=>{O(e),K(!0),U(!0)},onMouseMove:P,onMouseLeave:M,ref:e=>{G.current=e,n&&n(e)},step:N,value:Z})),(0,s.createElement)(qg,{"aria-hidden":!0,disabled:v,marks:x,max:E,min:k,railColor:T,step:N,value:J}),(0,s.createElement)(Dg,{"aria-hidden":!0,className:"components-range-control__track",disabled:v,style:{width:ee},trackColor:L}),(0,s.createElement)(Fg,{style:se,disabled:v},(0,s.createElement)(jg,{"aria-hidden":!0,isFocused:Y,disabled:v})),ie&&(0,s.createElement)(Xg,{className:"components-range-control__tooltip",inputRef:G,tooltipPosition:"bottom",renderTooltipContent:I,show:q||W,style:se,value:B})),o&&(0,s.createElement)(Mg,null,(0,s.createElement)(He,{icon:o})),j&&(0,s.createElement)(Wg,{"aria-label":w,className:"components-range-control__number",disabled:v,inputMode:"decimal",isShiftStepEnabled:b,max:E,min:k,onBlur:()=>{H.current&&(ae(),H.current=!1)},onChange:e=>{e=parseFloat(e),V(e),isNaN(e)?i&&(H.current=!0):((eE)&&(e=Eg(e,k,E)),C(e),H.current=!1)},shiftStep:A,step:N,value:Z}),i&&(0,s.createElement)(Ug,null,(0,s.createElement)($n,{className:"components-range-control__reset",disabled:v||void 0===B,variant:"secondary",isSmall:!0,onClick:ae},(0,d.__)("Reset")))))}));var Jg=Zg;const Qg=Bn(Fv,{target:"ez9hsf46"})(hh,"{width:",bp(24),";}"),ey=Bn(wg,{target:"ez9hsf45"})("margin-left:",bp(-2),";width:5em;",wh,"{display:none;}"),ty=Bn(Jg,{target:"ez9hsf44"})("flex:1;",iv,"{margin-bottom:0;}"),ny=`\n&&& ${mh} {\n\theight: 40px;\n}`,ry=`\n.react-colorful__interactive {\n\twidth: calc( 100% - ${bp(2)} );\n\tmargin-left: ${bp(1)};\n}`,oy=Bn("div",{target:"ez9hsf43"})("padding:",bp(2)," ",bp(4),";"),iy=Bn("div",{target:"ez9hsf42"})("width:216px;.react-colorful{display:flex;flex-direction:column;align-items:center;width:216px;height:auto;}.react-colorful__saturation{width:100%;border-radius:0;height:216px;margin-bottom:",bp(4),";border-bottom:none;}.react-colorful__hue,.react-colorful__alpha{width:184px;height:16px;border-radius:16px;margin-bottom:",bp(2),";}.react-colorful__pointer{height:16px;width:16px;border:none;box-shadow:0 0 2px 0 rgba( 0, 0, 0, 0.25 );outline:2px solid transparent;}.react-colorful__pointer-fill{box-shadow:inset 0 0 0 ",Hp.borderWidthFocus," #fff;}",ry," ",iv,"{margin-bottom:0;}",ny,";"),ay=Bn($n,{target:"ez9hsf41"})("&&&&&{min-width:",bp(6),";padding:0;}"),sy=Bn(zm,{target:"ez9hsf40"})({name:"1287a6j",styles:"width:8em"});function ly(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function uy(e){return e instanceof ly(e).Element||e instanceof Element}function cy(e){return e instanceof ly(e).HTMLElement||e instanceof HTMLElement}function dy(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ly(e).ShadowRoot||e instanceof ShadowRoot)}var fy=Math.max,py=Math.min,hy=Math.round;function my(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(cy(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=hy(n.width)/a||1),i>0&&(o=hy(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function vy(e){var t=ly(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function gy(e){return e?(e.nodeName||"").toLowerCase():null}function yy(e){return((uy(e)?e.ownerDocument:e.document)||window.document).documentElement}function by(e){return my(yy(e)).left+vy(e).scrollLeft}function wy(e){return ly(e).getComputedStyle(e)}function _y(e){var t=wy(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function xy(e,t,n){void 0===n&&(n=!1);var r=cy(t),o=cy(t)&&function(e){var t=e.getBoundingClientRect(),n=hy(t.width)/e.offsetWidth||1,r=hy(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=yy(t),a=my(e,o),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==gy(t)||_y(i))&&(s=function(e){return e!==ly(e)&&cy(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:vy(e);var t}(t)),cy(t)?((l=my(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=by(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Ey(e){var t=my(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function ky(e){return"html"===gy(e)?e:e.assignedSlot||e.parentNode||(dy(e)?e.host:null)||yy(e)}function Sy(e){return["html","body","#document"].indexOf(gy(e))>=0?e.ownerDocument.body:cy(e)&&_y(e)?e:Sy(ky(e))}function Cy(e,t){var n;void 0===t&&(t=[]);var r=Sy(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=ly(r),a=o?[i].concat(i.visualViewport||[],_y(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Cy(ky(a)))}function Oy(e){return["table","td","th"].indexOf(gy(e))>=0}function Py(e){return cy(e)&&"fixed"!==wy(e).position?e.offsetParent:null}function My(e){for(var t=ly(e),n=Py(e);n&&Oy(n)&&"static"===wy(n).position;)n=Py(n);return n&&("html"===gy(n)||"body"===gy(n)&&"static"===wy(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&cy(e)&&"fixed"===wy(e).position)return null;var n=ky(e);for(dy(n)&&(n=n.host);cy(n)&&["html","body"].indexOf(gy(n))<0;){var r=wy(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Ty="top",Dy="bottom",Iy="right",Ry="left",Ay="auto",Ny=[Ty,Dy,Iy,Ry],Ly="start",Fy="end",jy="viewport",zy="popper",By=Ny.reduce((function(e,t){return e.concat([t+"-"+Ly,t+"-"+Fy])}),[]),Vy=[].concat(Ny,[Ay]).reduce((function(e,t){return e.concat([t,t+"-"+Ly,t+"-"+Fy])}),[]),Hy=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Wy(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var Uy={placement:"bottom",modifiers:[],strategy:"absolute"};function $y(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function Jy(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Yy(o):null,a=o?Xy(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case Ty:t={x:s,y:n.y-r.height};break;case Dy:t={x:s,y:n.y+n.height};break;case Iy:t={x:n.x+n.width,y:l};break;case Ry:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=i?Zy(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case Ly:t[u]=t[u]-(n[c]/2-r[c]/2);break;case Fy:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}var Qy={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Jy({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},eb={top:"auto",right:"auto",bottom:"auto",left:"auto"};function tb(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=a.x,p=void 0===f?0:f,h=a.y,m=void 0===h?0:h,v="function"==typeof c?c({x:p,y:m}):{x:p,y:m};p=v.x,m=v.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=Ry,w=Ty,_=window;if(u){var x=My(n),E="clientHeight",k="clientWidth";if(x===ly(n)&&"static"!==wy(x=yy(n)).position&&"absolute"===s&&(E="scrollHeight",k="scrollWidth"),x=x,o===Ty||(o===Ry||o===Iy)&&i===Fy)w=Dy,m-=(d&&x===_&&_.visualViewport?_.visualViewport.height:x[E])-r.height,m*=l?1:-1;if(o===Ry||(o===Ty||o===Dy)&&i===Fy)b=Iy,p-=(d&&x===_&&_.visualViewport?_.visualViewport.width:x[k])-r.width,p*=l?1:-1}var S,C=Object.assign({position:s},u&&eb),O=!0===c?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:hy(t*r)/r||0,y:hy(n*r)/r||0}}({x:p,y:m}):{x:p,y:m};return p=O.x,m=O.y,l?Object.assign({},C,((S={})[w]=y?"0":"",S[b]=g?"0":"",S.transform=(_.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",S)):Object.assign({},C,((t={})[w]=y?m+"px":"",t[b]=g?p+"px":"",t.transform="",t))}var nb={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,u={placement:Yy(t.placement),variation:Xy(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,tb(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,tb(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var rb={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];cy(o)&&gy(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});cy(r)&&gy(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var ob={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Vy.reduce((function(e,n){return e[n]=function(e,t,n){var r=Yy(e),o=[Ry,Ty].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Ry,Iy].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},ib={left:"right",right:"left",bottom:"top",top:"bottom"};function ab(e){return e.replace(/left|right|bottom|top/g,(function(e){return ib[e]}))}var sb={start:"end",end:"start"};function lb(e){return e.replace(/start|end/g,(function(e){return sb[e]}))}function ub(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&dy(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function cb(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function db(e,t){return t===jy?cb(function(e){var t=ly(e),n=yy(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+by(e),y:s}}(e)):uy(t)?function(e){var t=my(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):cb(function(e){var t,n=yy(e),r=vy(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=fy(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=fy(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+by(e),l=-r.scrollTop;return"rtl"===wy(o||n).direction&&(s+=fy(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(yy(e)))}function fb(e,t,n){var r="clippingParents"===t?function(e){var t=Cy(ky(e)),n=["absolute","fixed"].indexOf(wy(e).position)>=0&&cy(e)?My(e):e;return uy(n)?t.filter((function(e){return uy(e)&&ub(e,n)&&"body"!==gy(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=db(e,n);return t.top=fy(r.top,t.top),t.right=py(r.right,t.right),t.bottom=py(r.bottom,t.bottom),t.left=fy(r.left,t.left),t}),db(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function pb(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function hb(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function mb(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,s=n.rootBoundary,l=void 0===s?jy:s,u=n.elementContext,c=void 0===u?zy:u,d=n.altBoundary,f=void 0!==d&&d,p=n.padding,h=void 0===p?0:p,m=pb("number"!=typeof h?h:hb(h,Ny)),v=c===zy?"reference":zy,g=e.rects.popper,y=e.elements[f?v:c],b=fb(uy(y)?y:y.contextElement||yy(e.elements.popper),a,l),w=my(e.elements.reference),_=Jy({reference:w,element:g,strategy:"absolute",placement:o}),x=cb(Object.assign({},g,_)),E=c===zy?x:w,k={top:b.top-E.top+m.top,bottom:E.bottom-b.bottom+m.bottom,left:b.left-E.left+m.left,right:E.right-b.right+m.right},S=e.modifiersData.offset;if(c===zy&&S){var C=S[o];Object.keys(k).forEach((function(e){var t=[Iy,Dy].indexOf(e)>=0?1:-1,n=[Ty,Dy].indexOf(e)>=0?"y":"x";k[e]+=C[n]*t}))}return k}var vb={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,g=Yy(v),y=l||(g===v||!h?[ab(v)]:function(e){if(Yy(e)===Ay)return[];var t=ab(e);return[lb(e),t,lb(t)]}(v)),b=[v].concat(y).reduce((function(e,n){return e.concat(Yy(n)===Ay?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?Vy:l,c=Xy(r),d=c?s?By:By.filter((function(e){return Xy(e)===c})):Ny,f=d.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=mb(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Yy(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,_=t.rects.popper,x=new Map,E=!0,k=b[0],S=0;S