Changeset 3437404
- Timestamp:
- 01/12/2026 07:03:59 AM (5 weeks ago)
- Location:
- atarim-visual-collaboration
- Files:
-
- 38 added
- 7 edited
-
tags/4.3.2 (added)
-
tags/4.3.2/admin (added)
-
tags/4.3.2/admin/class-avc-settings.php (added)
-
tags/4.3.2/admin/class-user-meta.php (added)
-
tags/4.3.2/assets (added)
-
tags/4.3.2/assets/build (added)
-
tags/4.3.2/assets/build/index.js (added)
-
tags/4.3.2/assets/css (added)
-
tags/4.3.2/assets/css/global.css (added)
-
tags/4.3.2/assets/css/settings.css (added)
-
tags/4.3.2/assets/js (added)
-
tags/4.3.2/assets/js/admin.js (added)
-
tags/4.3.2/assets/js/global.js (added)
-
tags/4.3.2/assets/package-lock.json (added)
-
tags/4.3.2/assets/package.json (added)
-
tags/4.3.2/assets/src (added)
-
tags/4.3.2/assets/src/ActivateDeactivateButton.js (added)
-
tags/4.3.2/assets/src/Notice.js (added)
-
tags/4.3.2/assets/src/index.js (added)
-
tags/4.3.2/atarim-visual-collaboration.php (added)
-
tags/4.3.2/images (added)
-
tags/4.3.2/images/atarim_favicon_white.svg (added)
-
tags/4.3.2/images/atarim_icon.svg (added)
-
tags/4.3.2/images/check-li.svg (added)
-
tags/4.3.2/images/comment-overlay.png (added)
-
tags/4.3.2/images/consent.svg (added)
-
tags/4.3.2/images/loader-2.svg (added)
-
tags/4.3.2/images/loader.svg (added)
-
tags/4.3.2/images/logo.svg (added)
-
tags/4.3.2/images/placeholderr.png (added)
-
tags/4.3.2/images/reg-logo.svg (added)
-
tags/4.3.2/images/wordpress-alt.svg (added)
-
tags/4.3.2/includes (added)
-
tags/4.3.2/includes/class-ajax-functions.php (added)
-
tags/4.3.2/includes/class-define-constant.php (added)
-
tags/4.3.2/includes/class-functions.php (added)
-
tags/4.3.2/includes/inject-script.php (added)
-
tags/4.3.2/readme.txt (added)
-
trunk/assets/build/index.js (modified) (1 diff)
-
trunk/assets/package-lock.json (modified) (1 diff)
-
trunk/assets/src/index.js (modified) (1 diff)
-
trunk/atarim-visual-collaboration.php (modified) (1 diff)
-
trunk/includes/class-ajax-functions.php (modified) (2 diffs)
-
trunk/includes/class-define-constant.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
atarim-visual-collaboration/trunk/assets/build/index.js
r3418099 r3437404 7 7 "`":__("Backtick"), 8 8 /* translators: tilde as in the character '~' */ 9 "~":__("Tilde")};return[...e(n),t].map((e=>{var t;return Sl(null!==(t=o[e])&&void 0!==t?t:e)})).join(r?" ":" + ")})),kl(El,(e=>(t,n,r=vl)=>{const o=e(r),i=function(e){return[yl,bl,wl,xl].filter((t=>e[`${t}Key`]))}(t),a={Comma:",",Backslash:"\\",IntlRo:"\\",IntlYen:"\\"},s=o.filter((e=>!i.includes(e))),l=i.filter((e=>!o.includes(e)));if(s.length>0||l.length>0)return!1;let u=t.key.toLowerCase();return n?(t.altKey&&1===n.length&&(u=String.fromCharCode(t.keyCode).toLowerCase()),t.shiftKey&&1===n.length&&a[t.code]&&(u=a[t.code]),"del"===n&&(n="delete"),u===n.toLowerCase()):o.includes(u)}));const Nl={focusable:e,tabbable:t},Il=function(){return function(){const e=(0,r.useRef)();return(0,r.useCallback)((t=>{t?e.current=(e=>{function t(t){const{key:n,shiftKey:r,target:o}=t;if("Tab"!==n)return;const i=r?"findPrevious":"findNext",a=Nl.tabbable[i](o)||null;if(o.contains(a))return t.preventDefault(),void a?.focus();if(e.contains(a))return;const s=r?"append":"prepend",{ownerDocument:l}=e,u=l.createElement("div");u.tabIndex=-1,e[s](u),u.addEventListener("blur",(()=>e.removeChild(u))),u.focus()}return e.addEventListener("keydown",t),()=>{e.removeEventListener("keydown",t)}})(t):e.current&&e.current()}),[])}()};let jl=null;const zl=["button","submit"];const Bl=function(e){const t=(0,r.useRef)(),{constrainTabbing:n=!1!==e.focusOnMount}=e;(0,r.useEffect)((()=>{t.current=e}),Object.values(e));const o=Il(),i=function(e="firstElement"){const t=(0,r.useRef)(e),n=e=>{e.focus({preventScroll:!0})},o=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e}),[e]),(0,r.useEffect)((()=>()=>{o.current&&clearTimeout(o.current)}),[]),(0,r.useCallback)((e=>{var r;e&&!1!==t.current&&(e.contains(null!==(r=e.ownerDocument?.activeElement)&&void 0!==r?r:null)||("firstElement"!==t.current?n(e):o.current=setTimeout((()=>{const t=Nl.tabbable.find(e)[0];t&&n(t)}),0)))}),[])}(e.focusOnMount),a=function(e){const t=(0,r.useRef)(null),n=(0,r.useRef)(null),o=(0,r.useRef)(e);return(0,r.useEffect)((()=>{o.current=e}),[e]),(0,r.useCallback)((e=>{if(e){if(t.current=e,n.current)return;n.current=e.ownerDocument.activeElement}else if(n.current){const e=t.current?.contains(t.current?.ownerDocument.activeElement);var r;if(t.current?.isConnected&&!e)return void(null!==(r=jl)&&void 0!==r||(jl=n.current));o.current?o.current():(n.current.isConnected?n.current:jl)?.focus(),jl=null}}),[])}(),s=function(e){const t=(0,r.useRef)(e);(0,r.useEffect)((()=>{t.current=e}),[e]);const n=(0,r.useRef)(!1),o=(0,r.useRef)(),i=(0,r.useCallback)((()=>{clearTimeout(o.current)}),[]);(0,r.useEffect)((()=>()=>i()),[]),(0,r.useEffect)((()=>{e||i()}),[e,i]);const a=(0,r.useCallback)((e=>{const{type:t,target:r}=e;["mouseup","touchend"].includes(t)?n.current=!1:function(e){if(!(e instanceof window.HTMLElement))return!1;switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return zl.includes(e.type)}return!1}(r)&&(n.current=!0)}),[]),s=(0,r.useCallback)((e=>{if(e.persist(),n.current)return;const r=e.target.getAttribute("data-unstable-ignore-focus-outside-for-relatedtarget");r&&e.relatedTarget?.closest(r)||(o.current=setTimeout((()=>{document.hasFocus()?"function"==typeof t.current&&t.current(e):e.preventDefault()}),0))}),[]);return{onFocus:i,onMouseDown:a,onMouseUp:a,onTouchStart:a,onTouchEnd:a,onBlur:s}}((e=>{t.current?.__unstableOnClose?t.current.__unstableOnClose("focus-outside",e):t.current?.onClose&&t.current.onClose()})),l=(0,r.useCallback)((e=>{e&&e.addEventListener("keydown",(e=>{27===e.keyCode&&!e.defaultPrevented&&t.current?.onClose&&(e.preventDefault(),t.current.onClose())}))}),[]);return[W([n?o:null,!1!==e.focusOnMount?a:null,!1!==e.focusOnMount?i:null,l]),{...s,tabIndex:-1}]};function $l(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=$l(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const Hl=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=$l(e))&&(r&&(r+=" "),r+=t);return r},Ul=e=>(0,r.createElement)("path",e),Wl=(0,r.forwardRef)((({className:e,isPressed:t,...n},o)=>{const i={...n,className:Hl(e,{"is-pressed":t})||void 0,"aria-hidden":!0,focusable:!1};return(0,r.createElement)("svg",{...i,ref:o})}));Wl.displayName="SVG";const Xl=(0,r.createElement)(Wl,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(Ul,{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 Yl(e){return e.ownerDocument.defaultView,e.ownerDocument.defaultView.getComputedStyle(e)}function ql(e,t="vertical"){if(e){if(("vertical"===t||"all"===t)&&e.scrollHeight>e.clientHeight){const{overflowY:t}=Yl(e);if(/(auto|scroll)/.test(t))return e}if(("horizontal"===t||"all"===t)&&e.scrollWidth>e.clientWidth){const{overflowX:t}=Yl(e);if(/(auto|scroll)/.test(t))return e}return e.ownerDocument===e.parentNode?e:ql(e.parentNode,t)}}let Gl=0;function Ql(e){const t=document.scrollingElement||document.body;e&&(Gl=t.scrollTop);const n=e?"add":"remove";t.classList[n]("lockscroll"),document.documentElement.classList[n]("lockscroll"),e||(t.scrollTop=Gl)}let Kl=0;const Zl=function(){return(0,r.useEffect)((()=>(0===Kl&&Ql(!0),++Kl,()=>{1===Kl&&Ql(!1),--Kl})),[]),null},Jl=Symbol(),eu=Symbol(),tu=Symbol();const nu=Object.getPrototypeOf,ru=new WeakMap,ou=e=>e&&(ru.has(e)?ru.get(e):nu(e)===Object.prototype||nu(e)===Array.prototype),iu=e=>"object"==typeof e&&null!==e,au=new WeakMap,su=e=>e[tu]||e,lu=(e,t,n)=>{if(!ou(e))return e;const r=su(e),o=(e=>Object.isFrozen(e)||Object.values(Object.getOwnPropertyDescriptors(e)).some((e=>!e.writable)))(r);let i=n&&n.get(r);return i&&i[1].f===o||(i=((e,t)=>{const n={f:t};let r=!1;const o=(t,o)=>{if(!r){let r=n.a.get(e);r||(r=new Set,n.a.set(e,r)),o&&r.has(Jl)||r.add(t)}},i={get:(t,r)=>r===tu?e:(o(r),lu(t[r],n.a,n.c)),has:(t,i)=>i===eu?(r=!0,n.a.delete(e),!0):(o(i),i in t),getOwnPropertyDescriptor:(e,t)=>(o(t,!0),Object.getOwnPropertyDescriptor(e,t)),ownKeys:e=>(o(Jl),Reflect.ownKeys(e))};return t&&(i.set=i.deleteProperty=()=>!1),[i,n]})(r,o),i[1].p=((e,t)=>new Proxy(e,t))(o?(e=>{let t=au.get(e);if(!t){if(Array.isArray(e))t=Array.from(e);else{const n=Object.getOwnPropertyDescriptors(e);Object.values(n).forEach((e=>{e.configurable=!0})),t=Object.create(nu(e),n)}au.set(e,t)}return t})(r):r,i[0]),n&&n.set(r,i)),i[1].a=t,i[1].c=n,i[1].p},uu=(e,t)=>{const n=Reflect.ownKeys(e),r=Reflect.ownKeys(t);return n.length!==r.length||n.some(((e,t)=>e!==r[t]))},cu=(e,t,n,r)=>{if(Object.is(e,t))return!1;if(!iu(e)||!iu(t))return!0;const o=n.get(su(e));if(!o)return!0;if(r){const n=r.get(e);if(n&&n.n===t)return n.g;r.set(e,{n:t,g:!1})}let i=null;for(const a of o){const o=a===Jl?uu(e,t):cu(e[a],t[a],n,r);if(!0!==o&&!1!==o||(i=o),i)break}return null===i&&(i=!0),r&&r.set(e,{n:t,g:i}),i},du=(e,t=!0)=>{ru.set(e,t)};var fu=o(888);const pu=e=>"object"==typeof e&&null!==e,hu=new WeakSet,mu=Symbol("VERSION"),gu=Symbol("LISTENERS"),vu=Symbol("SNAPSHOT"),[yu]=((e=Object.is,t=(e,t)=>new Proxy(e,t),n=e=>pu(e)&&!hu.has(e)&&(Array.isArray(e)||!(Symbol.iterator in e))&&!(e instanceof WeakMap)&&!(e instanceof WeakSet)&&!(e instanceof Error)&&!(e instanceof Number)&&!(e instanceof Date)&&!(e instanceof String)&&!(e instanceof RegExp)&&!(e instanceof ArrayBuffer),r=Symbol("PROMISE_RESULT"),o=Symbol("PROMISE_ERROR"),i=new WeakMap,a=(e,t,n)=>{const a=i.get(n);if((null==a?void 0:a[0])===e)return a[1];const s=Array.isArray(t)?[]:Object.create(Object.getPrototypeOf(t));return du(s,!0),i.set(n,[e,s]),Reflect.ownKeys(t).forEach((e=>{const i=Reflect.get(t,e,n);if(hu.has(i))du(i,!1),s[e]=i;else if(i instanceof Promise)if(r in i)s[e]=i[r];else{const t=i[o]||i;Object.defineProperty(s,e,{get(){if(r in i)return i[r];throw t}})}else(null==i?void 0:i[gu])?s[e]=i[vu]:s[e]=i})),Object.freeze(s)},s=new WeakMap,l=[1],u=i=>{if(!pu(i))throw new Error("object required");const u=s.get(i);if(u)return u;let c=l[0];const d=new Set,f=(e,t=++l[0])=>{c!==t&&(c=t,d.forEach((n=>n(e,t))))},p=new Map,h=e=>{let t=p.get(e);return t||(t=(t,n)=>{const r=[...t];r[1]=[e,...r[1]],f(r,n)},p.set(e,t)),t},m=e=>{const t=p.get(e);return p.delete(e),t},g=Array.isArray(i)?[]:Object.create(Object.getPrototypeOf(i)),v={get:(e,t,n)=>t===mu?c:t===gu?d:t===vu?a(c,e,n):Reflect.get(e,t,n),deleteProperty(e,t){const n=Reflect.get(e,t),r=null==n?void 0:n[gu];r&&r.delete(m(t));const o=Reflect.deleteProperty(e,t);return o&&f(["delete",[t],n]),o},set(t,i,a,s){var l;const u=Reflect.has(t,i),c=Reflect.get(t,i,s);if(u&&e(c,a))return!0;const d=null==c?void 0:c[gu];let p;return d&&d.delete(m(i)),pu(a)&&(a=(e=>ou(e)&&e[tu]||null)(a)||a),(null==(l=Object.getOwnPropertyDescriptor(t,i))?void 0:l.set)?p=a:a instanceof Promise?p=a.then((e=>(p[r]=e,f(["resolve",[i],e]),e))).catch((e=>{p[o]=e,f(["reject",[i],e])})):(null==a?void 0:a[gu])?(p=a,p[gu].add(h(i))):n(a)?(p=bu(a),p[gu].add(h(i))):p=a,Reflect.set(t,i,p,s),f(["set",[i],a,c]),!0}},y=t(g,v);return s.set(i,y),Reflect.ownKeys(i).forEach((e=>{const t=Object.getOwnPropertyDescriptor(i,e);t.get||t.set?Object.defineProperty(g,e,t):y[e]=i[e]})),y})=>[u,hu,mu,gu,vu,e,t,n,r,o,i,a,s,l])();function bu(e={}){return yu(e)}function wu(e){return(null==e?void 0:e[vu])||console.warn("Please use proxy object"),e[vu]}const{useSyncExternalStore:xu}=fu;function Su(e){const t=bu({data:Array.from(e||[]),has(e){return this.data.some((t=>t[0]===e))},set(e,t){const n=this.data.find((t=>t[0]===e));return n?n[1]=t:this.data.push([e,t]),this},get(e){var t;return null==(t=this.data.find((t=>t[0]===e)))?void 0:t[1]},delete(e){const t=this.data.findIndex((t=>t[0]===e));return-1!==t&&(this.data.splice(t,1),!0)},clear(){this.data.splice(0)},get size(){return this.data.length},toJSON:()=>({}),forEach(e){this.data.forEach((t=>{e(t[1],t[0],this)}))},keys(){return this.data.map((e=>e[0])).values()},values(){return this.data.map((e=>e[1])).values()},entries(){return new Map(this.data).entries()},get[Symbol.toStringTag](){return"Map"},[Symbol.iterator](){return this.entries()}});return Object.defineProperties(t,{data:{enumerable:!1},size:{enumerable:!1},toJSON:{enumerable:!1}}),Object.seal(t),t}Symbol();const ku=(0,r.createContext)({slots:Su(),fills:Su(),registerSlot:()=>{"undefined"!=typeof process&&process.env},updateSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{}});function Eu(e){const{updateSlot:t,unregisterSlot:n,registerFill:o,unregisterFill:i,...a}=(0,r.useContext)(ku),s=function(e,t){const n=null==t?void 0:t.sync,o=(0,r.useRef)(),i=(0,r.useRef)();let a=!0;const s=xu((0,r.useCallback)((t=>{const r=function(e,t,n){let r;(null==e?void 0:e[gu])||console.warn("Please use proxy object");const o=[],i=e=>{o.push(e),n?t(o.splice(0)):r||(r=Promise.resolve().then((()=>{r=void 0,t(o.splice(0))})))};return e[gu].add(i),()=>{e[gu].delete(i)}}(e,t,n);return t(),r}),[e,n]),(()=>{const t=wu(e);try{if(!a&&o.current&&i.current&&!cu(o.current,t,i.current,new WeakMap))return o.current}catch(e){}return t}),(()=>wu(e)));a=!1;const l=new WeakMap;(0,r.useEffect)((()=>{o.current=s,i.current=l})),((e,t)=>{const n=(0,r.useRef)();(0,r.useEffect)((()=>{n.current=((e,t)=>{const n=[],r=new WeakSet,o=(e,i)=>{if(r.has(e))return;iu(e)&&r.add(e);const a=iu(e)&&t.get(su(e));a?a.forEach((t=>{o(e[t],i?[...i,t]:[t])})):i&&n.push(i)};return o(e),n})(e,t)})),(0,r.useDebugValue)(n.current)})(s,l);const u=(0,r.useMemo)((()=>new WeakMap),[]);return lu(s,l,u)}(a.slots,{sync:!0});return{...s.get(e),updateSlot:(0,r.useCallback)((n=>{t(e,n)}),[e,t]),unregisterSlot:(0,r.useCallback)((t=>{n(e,t)}),[e,n]),registerFill:(0,r.useCallback)((t=>{o(e,t)}),[e,o]),unregisterFill:(0,r.useCallback)((t=>{i(e,t)}),[e,i])}}const Cu=(0,r.createContext)({registerSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},getSlot:()=>{},getFills:()=>{},subscribe:()=>{}});function Pu(e){let{name:t,children:n,registerFill:o,unregisterFill:i}=e;const a=(e=>{const{getSlot:t,subscribe:n}=(0,r.useContext)(Cu);return(0,r.useSyncExternalStore)(n,(()=>t(e)),(()=>t(e)))})(t),s=(0,r.useRef)({name:t,children:n});return(0,r.useLayoutEffect)((()=>{const e=s.current;return o(t,e),()=>i(t,e)}),[]),(0,r.useLayoutEffect)((()=>{s.current.children=n,a&&a.forceUpdate()}),[n]),(0,r.useLayoutEffect)((()=>{t!==s.current.name&&(i(s.current.name,s.current),s.current.name=t,o(t,s.current))}),[t]),a&&a.node?("function"==typeof n&&(n=n(a.props.fillProps)),(0,mt.createPortal)(n,a.node)):null}const Ou=e=>(0,r.createElement)(Cu.Consumer,null,(t=>{let{registerFill:n,unregisterFill:o}=t;return(0,r.createElement)(Pu,s({},e,{registerFill:n,unregisterFill:o}))}));function Tu(e){return"function"==typeof e}class Mu extends r.Component{constructor(){super(...arguments),this.isUnmounted=!1,this.bindNode=this.bindNode.bind(this)}componentDidMount(){const{registerSlot:e}=this.props;this.isUnmounted=!1,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(){var e;const{children:t,name:n,fillProps:o={},getFills:i}=this.props,a=(null!==(e=i(n,this))&&void 0!==e?e:[]).map((e=>{const t=Tu(e.children)?e.children(o):e.children;return r.Children.map(t,((e,t)=>{if(!e||"string"==typeof e)return e;const n=e.key||t;return(0,r.cloneElement)(e,{key:n})}))})).filter((e=>!(e=>"number"!=typeof e&&("string"==typeof e?.valueOf()||Array.isArray(e)?!e.length:!e))(e)));return(0,r.createElement)(r.Fragment,null,Tu(t)?t(a):a)}}const Ru=e=>(0,r.createElement)(Cu.Consumer,null,(t=>{let{registerSlot:n,unregisterSlot:o,getFills:i}=t;return(0,r.createElement)(Mu,s({},e,{registerSlot:n,unregisterSlot:o,getFills:i}))}));var _u=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;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Lu=Math.abs,Au=String.fromCharCode,Du=Object.assign;function Fu(e){return e.trim()}function Vu(e,t,n){return e.replace(t,n)}function Nu(e,t){return e.indexOf(t)}function Iu(e,t){return 0|e.charCodeAt(t)}function ju(e,t,n){return e.slice(t,n)}function zu(e){return e.length}function Bu(e){return e.length}function $u(e,t){return t.push(e),e}var Hu=1,Uu=1,Wu=0,Xu=0,Yu=0,qu="";function Gu(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Hu,column:Uu,length:a,return:""}}function Qu(e,t){return Du(Gu("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ku(){return Yu=Xu>0?Iu(qu,--Xu):0,Uu--,10===Yu&&(Uu=1,Hu--),Yu}function Zu(){return Yu=Xu<Wu?Iu(qu,Xu++):0,Uu++,10===Yu&&(Uu=1,Hu++),Yu}function Ju(){return Iu(qu,Xu)}function ec(){return Xu}function tc(e,t){return ju(qu,e,t)}function nc(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function rc(e){return Hu=Uu=1,Wu=zu(qu=e),Xu=0,[]}function oc(e){return qu="",e}function ic(e){return Fu(tc(Xu-1,lc(91===e?e+2:40===e?e+1:e)))}function ac(e){for(;(Yu=Ju())&&Yu<33;)Zu();return nc(e)>2||nc(Yu)>3?"":" "}function sc(e,t){for(;--t&&Zu()&&!(Yu<48||Yu>102||Yu>57&&Yu<65||Yu>70&&Yu<97););return tc(e,ec()+(t<6&&32==Ju()&&32==Zu()))}function lc(e){for(;Zu();)switch(Yu){case e:return Xu;case 34:case 39:34!==e&&39!==e&&lc(Yu);break;case 40:41===e&&lc(e);break;case 92:Zu()}return Xu}function uc(e,t){for(;Zu()&&e+Yu!==57&&(e+Yu!==84||47!==Ju()););return"/*"+tc(t,Xu-1)+"*"+Au(47===e?e:Zu())}function cc(e){for(;!nc(Ju());)Zu();return tc(e,Xu)}var dc="-ms-",fc="-moz-",pc="-webkit-",hc="comm",mc="rule",gc="decl",vc="@keyframes";function yc(e,t){for(var n="",r=Bu(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function bc(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case gc:return e.return=e.return||e.value;case hc:return"";case vc:return e.return=e.value+"{"+yc(e.children,r)+"}";case mc:e.value=e.props.join(",")}return zu(n=yc(e.children,r))?e.return=e.value+"{"+n+"}":""}function wc(e){return oc(xc("",null,null,null,[""],e=rc(e),0,[0],e))}function xc(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,g=1,v=1,y=0,b="",w=o,x=i,S=r,k=b;g;)switch(h=y,y=Zu()){case 40:if(108!=h&&58==Iu(k,d-1)){-1!=Nu(k+=Vu(ic(y),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:k+=ic(y);break;case 9:case 10:case 13:case 32:k+=ac(h);break;case 92:k+=sc(ec()-1,7);continue;case 47:switch(Ju()){case 42:case 47:$u(kc(uc(Zu(),ec()),t,n),l);break;default:k+="/"}break;case 123*m:s[u++]=zu(k)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+c:-1==v&&(k=Vu(k,/\f/g,"")),p>0&&zu(k)-d&&$u(p>32?Ec(k+";",r,n,d-1):Ec(Vu(k," ","")+";",r,n,d-2),l);break;case 59:k+=";";default:if($u(S=Sc(k,t,n,u,c,o,s,b,w=[],x=[],d),i),123===y)if(0===c)xc(k,t,S,S,w,i,d,s,x);else switch(99===f&&110===Iu(k,3)?100:f){case 100:case 108:case 109:case 115:xc(e,S,S,r&&$u(Sc(e,S,S,0,0,o,s,b,o,w=[],d),x),o,x,d,s,r?w:x);break;default:xc(k,S,S,S,[""],x,0,s,x)}}u=c=p=0,m=v=1,b=k="",d=a;break;case 58:d=1+zu(k),p=h;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==Ku())continue;switch(k+=Au(y),y*m){case 38:v=c>0?1:(k+="\f",-1);break;case 44:s[u++]=(zu(k)-1)*v,v=1;break;case 64:45===Ju()&&(k+=ic(Zu())),f=Ju(),c=d=zu(b=k+=cc(ec())),y++;break;case 45:45===h&&2==zu(k)&&(m=0)}}return i}function Sc(e,t,n,r,o,i,a,s,l,u,c){for(var d=o-1,f=0===o?i:[""],p=Bu(f),h=0,m=0,g=0;h<r;++h)for(var v=0,y=ju(e,d+1,d=Lu(m=a[h])),b=e;v<p;++v)(b=Fu(m>0?f[v]+" "+y:Vu(y,/&\f/g,f[v])))&&(l[g++]=b);return Gu(e,t,n,0===o?mc:s,l,u,c)}function kc(e,t,n){return Gu(e,t,n,hc,Au(Yu),ju(e,2,-2),0)}function Ec(e,t,n,r){return Gu(e,t,n,gc,ju(e,0,r),ju(e,r+1,-1),r)}var Cc=function(e,t,n){for(var r=0,o=0;r=o,o=Ju(),38===r&&12===o&&(t[n]=1),!nc(o);)Zu();return tc(e,Xu)},Pc=new WeakMap,Oc=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)||Pc.get(n))&&!r){Pc.set(e,!0);for(var o=[],i=function(e,t){return oc(function(e,t){var n=-1,r=44;do{switch(nc(r)){case 0:38===r&&12===Ju()&&(t[n]=1),e[n]+=Cc(Xu-1,t,n);break;case 2:e[n]+=ic(r);break;case 4:if(44===r){e[++n]=58===Ju()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Au(r)}}while(r=Zu());return e}(rc(e),t))}(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var u=0;u<a.length;u++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[u]):a[u]+" "+i[s]}}},Tc=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Mc(e,t){switch(function(e,t){return 45^Iu(e,0)?(((t<<2^Iu(e,0))<<2^Iu(e,1))<<2^Iu(e,2))<<2^Iu(e,3):0}(e,t)){case 5103:return pc+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return pc+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return pc+e+fc+e+dc+e+e;case 6828:case 4268:return pc+e+dc+e+e;case 6165:return pc+e+dc+"flex-"+e+e;case 5187:return pc+e+Vu(e,/(\w+).+(:[^]+)/,pc+"box-$1$2"+dc+"flex-$1$2")+e;case 5443:return pc+e+dc+"flex-item-"+Vu(e,/flex-|-self/,"")+e;case 4675:return pc+e+dc+"flex-line-pack"+Vu(e,/align-content|flex-|-self/,"")+e;case 5548:return pc+e+dc+Vu(e,"shrink","negative")+e;case 5292:return pc+e+dc+Vu(e,"basis","preferred-size")+e;case 6060:return pc+"box-"+Vu(e,"-grow","")+pc+e+dc+Vu(e,"grow","positive")+e;case 4554:return pc+Vu(e,/([^-])(transform)/g,"$1"+pc+"$2")+e;case 6187:return Vu(Vu(Vu(e,/(zoom-|grab)/,pc+"$1"),/(image-set)/,pc+"$1"),e,"")+e;case 5495:case 3959:return Vu(e,/(image-set\([^]*)/,pc+"$1$`$1");case 4968:return Vu(Vu(e,/(.+:)(flex-)?(.*)/,pc+"box-pack:$3"+dc+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+pc+e+e;case 4095:case 3583:case 4068:case 2532:return Vu(e,/(.+)-inline(.+)/,pc+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(zu(e)-1-t>6)switch(Iu(e,t+1)){case 109:if(45!==Iu(e,t+4))break;case 102:return Vu(e,/(.+:)(.+)-([^]+)/,"$1"+pc+"$2-$3$1"+fc+(108==Iu(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Nu(e,"stretch")?Mc(Vu(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Iu(e,t+1))break;case 6444:switch(Iu(e,zu(e)-3-(~Nu(e,"!important")&&10))){case 107:return Vu(e,":",":"+pc)+e;case 101:return Vu(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+pc+(45===Iu(e,14)?"inline-":"")+"box$3$1"+pc+"$2$3$1"+dc+"$2box$3")+e}break;case 5936:switch(Iu(e,t+11)){case 114:return pc+e+dc+Vu(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return pc+e+dc+Vu(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return pc+e+dc+Vu(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return pc+e+dc+e+e}return e}var Rc=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case gc:e.return=Mc(e.value,e.length);break;case vc:return yc([Qu(e,{value:Vu(e.value,"@","@"+pc)})],r);case mc:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return yc([Qu(e,{props:[Vu(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return yc([Qu(e,{props:[Vu(t,/:(plac\w+)/,":"+pc+"input-$1")]}),Qu(e,{props:[Vu(t,/:(plac\w+)/,":-moz-$1")]}),Qu(e,{props:[Vu(t,/:(plac\w+)/,dc+"input-$1")]})],r)}return""}))}}],_c=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,o,i=e.stylisPlugins||Rc,a={},s=[];r=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<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,u,c,d,f=[bc,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],p=(u=[Oc,Tc].concat(i,f),c=Bu(u),function(e,t,n,r){for(var o="",i=0;i<c;i++)o+=u[i](e,t,n,r)||"";return o});o=function(e,t,n,r){l=n,yc(wc(e?e+"{"+t.styles+"}":t.styles),p),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new _u({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return h.sheet.hydrate(s),h};function Lc(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")})),r}var Ac=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Dc=function(e,t,n){Ac(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)}},Fc={animationIterationCount:1,aspectRatio: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,scale: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};function Vc(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Nc=/[A-Z]|^ms/g,Ic=/_EMO_([^_]+?)_([^]*?)_EMO_/g,jc=function(e){return 45===e.charCodeAt(1)},zc=function(e){return null!=e&&"boolean"!=typeof e},Bc=Vc((function(e){return jc(e)?e:e.replace(Nc,"-$&").toLowerCase()})),$c=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Ic,(function(e,t,n){return Uc={name:t,styles:n,next:Uc},t}))}return 1===Fc[e]||jc(e)||"number"!=typeof t||0===t?t:t+"px"};function Hc(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return Uc={name:o.name,styles:o.styles,next:Uc},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)Uc={name:a.name,styles:a.styles,next:Uc},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Hc(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?r+=i+"{"+t[s]+"}":zc(s)&&(r+=Bc(i)+":"+$c(i,s)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=Hc(e,t,a);switch(i){case"animation":case"animationName":r+=Bc(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var u=0;u<a.length;u++)zc(a[u])&&(r+=Bc(i)+":"+$c(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var s=Uc,l=n(e);return Uc=s,Hc(e,t,l)}}var u=n;if(null==t)return u;var c=t[u];return void 0!==c?c:u}var Uc,Wc=/label:\s*([^\s;{]+)\s*(;|$)/g;function Xc(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Uc=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Hc(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=Hc(n,t,e[a]),r&&(o+=i[a]);Wc.lastIndex=0;for(var s,l="";null!==(s=Wc.exec(o));)l+="-"+s[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=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)}(o)+l;return{name:u,styles:o,next:Uc}}var Yc,qc=!!i.useInsertionEffect&&i.useInsertionEffect,Gc=qc||function(e){return e()},Qc=(qc||r.useLayoutEffect,r.createContext("undefined"!=typeof HTMLElement?_c({key:"css"}):null)),Kc=Qc.Provider,Zc=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(Qc);return e(t,o,n)}))},Jc=r.createContext({}),ed={}.hasOwnProperty,td="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",nd=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Ac(t,n,r),Gc((function(){return Dc(t,n,r)})),null},rd=Zc((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[td],a=[o],s="";"string"==typeof e.className?s=Lc(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=Xc(a,void 0,r.useContext(Jc));s+=t.key+"-"+l.name;var u={};for(var c in e)ed.call(e,c)&&"css"!==c&&c!==td&&(u[c]=e[c]);return u.className=s,n&&(u.ref=n),r.createElement(r.Fragment,null,r.createElement(nd,{cache:t,serialized:l,isStringTag:"string"==typeof i}),r.createElement(i,u))})),od=o(616),id=o.n(od),ad=new Uint8Array(16);function sd(){if(!Yc&&!(Yc="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 Yc(ad)}const ld=/^(?:[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 ud=[],cd=0;cd<256;++cd)ud.push((cd+256).toString(16).substr(1));const dd=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(ud[e[t+0]]+ud[e[t+1]]+ud[e[t+2]]+ud[e[t+3]]+"-"+ud[e[t+4]]+ud[e[t+5]]+"-"+ud[e[t+6]]+ud[e[t+7]]+"-"+ud[e[t+8]]+ud[e[t+9]]+"-"+ud[e[t+10]]+ud[e[t+11]]+ud[e[t+12]]+ud[e[t+13]]+ud[e[t+14]]+ud[e[t+15]]).toLowerCase();if(!function(e){return"string"==typeof e&&ld.test(e)}(n))throw TypeError("Stringified UUID is invalid");return n},fd=function(e,t,n){var r=(e=e||{}).random||(e.rng||sd)();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 dd(r)},pd=new Set,hd=id()((e=>{let t=fd().replace(/[0-9]/g,"");for(;pd.has(t);)t=fd().replace(/[0-9]/g,"");return pd.add(t),_c({container:e,key:t})})),md=function(e){const{children:t,document:n}=e;if(!n)return null;const o=hd(n.head);return(0,r.createElement)(Kc,{value:o},t)};function gd(){const[,e]=(0,r.useState)({}),t=(0,r.useRef)(!0);return(0,r.useEffect)((()=>(t.current=!0,()=>{t.current=!1})),[]),()=>{t.current&&e({})}}function vd(e){let{name:t,children:n}=e;const{registerFill:o,unregisterFill:i,...a}=Eu(t),s=(0,r.useRef)({rerender:gd()});if((0,r.useEffect)((()=>(o(s),()=>{i(s)})),[o,i]),!a.ref||!a.ref.current)return null;"function"==typeof n&&(n=n(a.fillProps));const l=(0,r.createElement)(md,{document:a.ref.current.ownerDocument},n);return(0,mt.createPortal)(l,a.ref.current)}const yd=(0,r.forwardRef)((function(e,t){let{name:n,fillProps:o={},as:i="div",...a}=e;const{registerSlot:l,unregisterSlot:u,...c}=(0,r.useContext)(ku),d=(0,r.useRef)();return(0,r.useLayoutEffect)((()=>(l(n,d,o),()=>{u(n,d)})),[l,u,n]),(0,r.useLayoutEffect)((()=>{c.updateSlot(n,o)})),(0,r.createElement)(i,s({ref:W([t,d])},a))}));function bd(e){return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(Ou,e),(0,r.createElement)(vd,e))}const wd=(0,r.forwardRef)(((e,t)=>{let{bubblesVirtually:n,...o}=e;return n?(0,r.createElement)(yd,s({},o,{ref:t})):(0,r.createElement)(Ru,o)})),xd={bottom:"bottom",top:"top","middle left":"left","middle right":"right","bottom left":"bottom-end","bottom center":"bottom","bottom right":"bottom-start","top left":"top-end","top center":"top","top right":"top-start","middle left left":"left","middle left right":"left","middle left bottom":"left-end","middle left top":"left-start","middle right left":"right","middle right right":"right","middle right bottom":"right-end","middle right top":"right-start","bottom left left":"bottom-end","bottom left right":"bottom-end","bottom left bottom":"bottom-end","bottom left top":"bottom-end","bottom center left":"bottom","bottom center right":"bottom","bottom center bottom":"bottom","bottom center top":"bottom","bottom right left":"bottom-start","bottom right right":"bottom-start","bottom right bottom":"bottom-start","bottom right top":"bottom-start","top left left":"top-end","top left right":"top-end","top left bottom":"top-end","top left top":"top-end","top center left":"top","top center right":"top","top center bottom":"top","top center top":"top","top right left":"top-start","top right right":"top-start","top right bottom":"top-start","top right top":"top-start",middle:"bottom","middle center":"bottom","middle center bottom":"bottom","middle center left":"bottom","middle center right":"bottom","middle center top":"bottom"},Sd={top:{originX:.5,originY:1},"top-start":{originX:0,originY:1},"top-end":{originX:1,originY:1},right:{originX:0,originY:.5},"right-start":{originX:0,originY:0},"right-end":{originX:0,originY:1},bottom:{originX:.5,originY:0},"bottom-start":{originX:0,originY:0},"bottom-end":{originX:1,originY:0},left:{originX:1,originY:.5},"left-start":{originX:1,originY:0},"left-end":{originX:1,originY:1},overlay:{originX:.5,originY:.5}},kd=e=>{var t;const n=null==e||null===(t=e.defaultView)||void 0===t?void 0:t.frameElement;if(!n)return;const r=n.getBoundingClientRect();return{x:r.left,y:r.top}};function Ed(e){return e.split("-")[0]}const Cd=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{options:e,fn(t){var n;const{x:r,y:o,placement:i,rects:a,middlewareData:s}=t,{offset:l=0,mainAxis:u=!0,crossAxis:c=!0}=e,d={x:r,y:o},f=function(e){return["top","bottom"].includes(Ed(e))?"x":"y"}(i),p="x"===f?"y":"x";let h=d[f],m=d[p];const g="function"==typeof l?l(t):l,v="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g},y={x:0,y:0,...null===(n=s.frameOffset)||void 0===n?void 0:n.amount};if(u){const e="y"===f?"height":"width",t=a.reference[f]-a.floating[e]+v.mainAxis+y[f],n=a.reference[f]+a.reference[e]-v.mainAxis+y[f];h<t?h=t:h>n&&(h=n)}if(c){var b,w,x,S;const e="y"===f?"width":"height",t=["top","left"].includes(Ed(i)),n=a.reference[p]-a.floating[e]+(t&&null!==(b=null===(w=s.offset)||void 0===w?void 0:w[p])&&void 0!==b?b:0)+(t?0:v.crossAxis)+y[p],r=a.reference[p]+a.reference[e]+(t?0:null!==(x=null===(S=s.offset)||void 0===S?void 0:S[p])&&void 0!==x?x:0)-(t?v.crossAxis:0)+y[p];m<n?m=n:m>r&&(m=r)}return{[f]:h,[p]:m}}}},Pd="Popover",Od=()=>(0,r.createElement)(Wl,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",className:"components-popover__triangle",role:"presentation"},(0,r.createElement)(Ul,{className:"components-popover__triangle-bg",d:"M 0 0 L 50 50 L 100 0"}),(0,r.createElement)(Ul,{className:"components-popover__triangle-border",d:"M 0 0 L 50 50 L 100 0",vectorEffect:"non-scaling-stroke"})),Td=(0,r.forwardRef)(((e,t)=>{let{style:n,placement:o,shouldAnimate:i=!1,...a}=e;const l=function(){!St.current&&kt();const[e]=(0,r.useState)(xt.current);return e}(),{style:u,...c}=(0,r.useMemo)((()=>(e=>{const t=e.startsWith("top")||e.startsWith("bottom")?"translateY":"translateX",n=e.startsWith("top")||e.startsWith("left")?1:-1;return{style:Sd[e],initial:{opacity:0,scale:0,[t]:2*n+"em"},animate:{opacity:1,scale:1,[t]:0},transition:{duration:.1,ease:[0,0,.2,1]}}})(o)),[o]),d=i&&!l?{style:{...u,...n},...c}:{animate:!1,style:n};return(0,r.createElement)(Zs.div,s({},d,a,{ref:t}))})),Md=(0,r.createContext)(void 0),Rd=(0,r.forwardRef)(((e,t)=>{var n,o,i,a;const{animate:l=!0,headerTitle:c,onClose:d,children:f,className:p,noArrow:h=!0,position:m,placement:g="bottom-start",offset:v=0,focusOnMount:y="firstElement",anchor:b,expandOnMobile:w,onFocusOutside:x,__unstableSlotName:S=Pd,flip:k=!0,resize:E=!0,shift:C=!1,variant:P,__unstableForcePosition:O,anchorRef:T,anchorRect:M,getAnchorRect:R,isAlternate:_,...L}=e;let A=k,D=E;void 0!==O&&(z("`__unstableForcePosition` prop in wp.components.Popover",{since:"6.1",version:"6.3",alternative:"`flip={ false }` and `resize={ false }`"}),A=!O,D=!O),void 0!==T&&z("`anchorRef` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"}),void 0!==M&&z("`anchorRect` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"}),void 0!==R&&z("`getAnchorRect` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"});const F=_?"toolbar":P;void 0!==_&&z("`isAlternate` prop in wp.components.Popover",{since:"6.2",alternative:"`variant` prop with the `'toolbar'` value"});const V=(0,r.useRef)(null),[N,I]=(0,r.useState)(null),[j,B]=(0,r.useState)(),$=(0,r.useCallback)((e=>{I(e)}),[]),H=il("medium","<"),U=w&&H,X=!U&&!h,Y=m?(e=>{var t;return null!==(t=xd[e])&&void 0!==t?t:"bottom"})(m):g,q=(0,r.useRef)(kd(j)),G=[..."overlay"===g?[{name:"overlay",fn(e){let{rects:t}=e;return t.reference}},pt({apply(e){var t;let{rects:n,elements:r}=e;const{firstElementChild:o}=null!==(t=r.floating)&&void 0!==t?t:{};o instanceof HTMLElement&&Object.assign(o.style,{width:`${n.reference.width}px`,height:`${n.reference.height}px`})}})]:[],{name:"frameOffset",fn(e){let{x:t,y:n}=e;return q.current?{x:t+q.current.x,y:n+q.current.y,data:{amount:q.current}}:{x:t,y:n}}},ct(v),A?ft():void 0,D?pt({apply(e){var t;const{firstElementChild:n}=null!==(t=ie.floating.current)&&void 0!==t?t:{};n instanceof HTMLElement&&Object.assign(n.style,{maxHeight:`${e.availableHeight}px`,overflow:"auto"})}}):void 0,C?dt({crossAxis:!0,limiter:Cd(),padding:1}):void 0,bt({element:V})].filter((e=>void 0!==e)),Q=(0,r.useContext)(Md)||S,K=Eu(Q);let Z;(d||x)&&(Z=(e,t)=>{"focus-outside"===e&&x?x(t):d&&d()});const[J,ee]=Bl({focusOnMount:y,__unstableOnClose:Z,onClose:Z}),{x:te,y:ne,reference:re,floating:oe,refs:ie,strategy:ae,update:se,placement:le,middlewareData:{arrow:ue}}=yt({placement:"overlay"===Y?void 0:Y,middleware:G,whileElementsMounted:(e,t,n)=>ut(e,t,n,{animationFrame:!0})}),ce=(0,r.useCallback)((e=>{V.current=e,se()}),[se]),de=null==T?void 0:T.top,fe=null==T?void 0:T.bottom,pe=null==T?void 0:T.startContainer,he=null==T?void 0:T.current;(0,r.useLayoutEffect)((()=>{const e=(e=>{var t;let n,{anchor:r,anchorRef:o,anchorRect:i,getAnchorRect:a,fallbackReferenceElement:s,fallbackDocument:l}=e;if(r)n=r.ownerDocument;else if(null!=o&&o.top)n=null==o?void 0:o.top.ownerDocument;else if(null!=o&&o.startContainer)n=o.startContainer.ownerDocument;else if(null!=o&&o.current)n=o.current.ownerDocument;else if(o)n=o.ownerDocument;else if(i&&null!=i&&i.ownerDocument)n=i.ownerDocument;else if(a){var u;n=null===(u=a(s))||void 0===u?void 0:u.ownerDocument}return null!==(t=n)&&void 0!==t?t:l})({anchor:b,anchorRef:T,anchorRect:M,getAnchorRect:R,fallbackReferenceElement:N,fallbackDocument:document}),t=(e=>{var t;const n=null==e||null===(t=e.defaultView)||void 0===t?void 0:t.frameElement;if(!n)return{x:1,y:1};const r=n.getBoundingClientRect();return{x:r.width/n.offsetWidth,y:r.height/n.offsetHeight}})(e),n=(e=>{var t;let{anchor:n,anchorRef:r,anchorRect:o,getAnchorRect:i,fallbackReferenceElement:a,scale:s}=e,l=null;if(n?l=n:null!=r&&r.top?l={getBoundingClientRect(){const e=r.top.getBoundingClientRect(),t=r.bottom.getBoundingClientRect();return new window.DOMRect(e.x,e.y,e.width,t.bottom-e.top)}}:null!=r&&r.current?l=r.current:r?l=r:o?l={getBoundingClientRect:()=>o}:i?l={getBoundingClientRect(){var e,t,n,r;const o=i(a);return new window.DOMRect(null!==(e=o.x)&&void 0!==e?e:o.left,null!==(t=o.y)&&void 0!==t?t:o.top,null!==(n=o.width)&&void 0!==n?n:o.right-o.left,null!==(r=o.height)&&void 0!==r?r:o.bottom-o.top)}}:a&&(l=a.parentElement),l&&(1!==s.x||1!==s.y)){const e=l.getBoundingClientRect();l={getBoundingClientRect:()=>new window.DOMRect(e.x*s.x,e.y*s.y,e.width*s.x,e.height*s.y)}}return null!==(t=l)&&void 0!==t?t:null})({anchor:b,anchorRef:T,anchorRect:M,getAnchorRect:R,fallbackReferenceElement:N,scale:t});re(n),B(e)}),[b,T,de,fe,pe,he,M,R,N,re]),(0,r.useLayoutEffect)((()=>{var e,t;if(j===document||j===(null===(e=ie.floating.current)||void 0===e?void 0:e.ownerDocument)||null==j||null===(t=j.defaultView)||void 0===t||!t.frameElement)return void(q.current=void 0);const{defaultView:n}=j,{frameElement:r}=n,o=r?ql(r):null,i=()=>{q.current=kd(j),se()};return n.addEventListener("resize",i),null==o||o.addEventListener("scroll",i),i(),()=>{n.removeEventListener("resize",i),null==o||o.removeEventListener("scroll",i)}}),[j,se,ie.floating]);const me=W([oe,J,t]);let ge=(0,r.createElement)(Td,s({shouldAnimate:l&&!U,placement:le,className:u()("components-popover",p,{"is-expanded":U,"is-positioned":null!==te&&null!==ne,[`is-${"toolbar"===F?"alternate":F}`]:F})},L,{ref:me},ee,{tabIndex:-1,style:U?void 0:{position:ae,top:0,left:0,x:Math.round(null!=te?te:0)||void 0,y:Math.round(null!=ne?ne:0)||void 0}}),U&&(0,r.createElement)(Zl,null),U&&(0,r.createElement)("div",{className:"components-popover__header"},(0,r.createElement)("span",{className:"components-popover__header-title"},c),(0,r.createElement)(Mf,{className:"components-popover__close",icon:Xl,onClick:d})),(0,r.createElement)("div",{className:"components-popover__content"},f),X&&(0,r.createElement)("div",{ref:ce,className:["components-popover__arrow",`is-${le.split("-")[0]}`].join(" "),style:{left:void 0!==(null==ue?void 0:ue.x)&&Number.isFinite(ue.x)?`${ue.x+(null!==(n=null===(o=q.current)||void 0===o?void 0:o.x)&&void 0!==n?n:0)}px`:"",top:void 0!==(null==ue?void 0:ue.y)&&Number.isFinite(ue.y)?`${ue.y+(null!==(i=null===(a=q.current)||void 0===a?void 0:a.y)&&void 0!==i?i:0)}px`:""}},(0,r.createElement)(Od,null)));return K.ref&&(ge=(0,r.createElement)(bd,{name:Q},ge)),T||M||b?ge:(0,r.createElement)("span",{ref:$},ge)}));Rd.Slot=(0,r.forwardRef)((function(e,t){let{name:n=Pd}=e;return(0,r.createElement)(wd,{bubblesVirtually:!0,name:n,className:"popover-slot",ref:t})})),Rd.__unstableSlotNameProvider=Md.Provider;const _d=Rd,Ld=function(e){const{shortcut:t,className:n}=e;if(!t)return null;let o,i;return"string"==typeof t&&(o=t),null!==t&&"object"==typeof t&&(o=t.display,i=t.ariaLabel),(0,r.createElement)("span",{className:n,"aria-label":i},o)},Ad=700,Dd=(0,r.createElement)("div",{className:"event-catcher"}),Fd=e=>{let{eventHandlers:t,child:n,childrenWithPopover:o,mergedRefs:i}=e;return(0,r.cloneElement)((0,r.createElement)("span",{className:"disabled-element-wrapper"},(0,r.cloneElement)(Dd,t),(0,r.cloneElement)(n,{children:o,ref:i})),{...t})},Vd=e=>{let{child:t,eventHandlers:n,childrenWithPopover:o,mergedRefs:i}=e;return(0,r.cloneElement)(t,{...n,children:o,ref:i})},Nd=e=>{let{anchor:t,grandchildren:n,isOver:o,offset:i,position:a,shortcut:l,text:c,className:d,...f}=e;return function(...e){return e.reduce(((e,t,n)=>(r.Children.forEach(t,((t,o)=>{t&&"string"!=typeof t&&(t=(0,r.cloneElement)(t,{key:[n,o].join()})),e.push(t)})),e)),[])}(n,o&&(0,r.createElement)(_d,s({focusOnMount:!1,position:a,className:u()("components-tooltip",d),"aria-hidden":"true",animate:!1,offset:i,anchor:t,shift:!0},f),c,(0,r.createElement)(Ld,{className:"components-tooltip__shortcut",shortcut:l})))},Id=(e,t,n)=>{if(1!==r.Children.count(e))return;const o=r.Children.only(e);o.props.disabled||"function"==typeof o.props[t]&&o.props[t](n)},jd=function(e){var t;const{children:n,position:o="bottom middle",text:i,shortcut:a,delay:s=Ad,...l}=e,[u,c]=(0,r.useState)(!1),[d,f]=(0,r.useState)(!1),p=function(e,t,n){const o=(i=()=>H(e,null!=t?t:0,n),a=[e,t,n],s=(0,r.useState)((function(){return{inputs:a,result:i()}}))[0],l=(0,r.useRef)(!0),u=(0,r.useRef)(s),c=l.current||Boolean(a&&u.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(a,u.current.inputs)),d=c?u.current:{inputs:a,result:i()},(0,r.useEffect)((function(){l.current=!1,u.current=d}),[d]),d.result);var i,a,s,l,u,c,d;return(0,r.useEffect)((()=>()=>o.cancel()),[o]),o}(f,s),[h,m]=(0,r.useState)(null),g=W([m,null===(t=r.Children.toArray(n)[0])||void 0===t?void 0:t.ref]),v=e=>{"OPTION"!==e.target.tagName&&(Id(n,"onMouseDown",e),document.addEventListener("mouseup",w),c(!0))},y=e=>{"OPTION"!==e.target.tagName&&(Id(n,"onMouseUp",e),document.removeEventListener("mouseup",w),c(!1))},b=e=>"mouseUp"===e?y:"mouseDown"===e?v:void 0,w=b("mouseUp"),x=(e,t)=>r=>{if(Id(n,e,r),r.currentTarget.disabled)return;if("focus"===r.type&&u)return;p.cancel();const o=["focus","mouseenter"].includes(r.type);o!==d&&(t?p(o):f(o))},S=()=>{p.cancel(),document.removeEventListener("mouseup",w)};if((0,r.useEffect)((()=>S),[]),1!==r.Children.count(n))return n;const k={onMouseEnter:x("onMouseEnter",!0),onMouseLeave:x("onMouseLeave"),onClick:x("onClick"),onFocus:x("onFocus"),onBlur:x("onBlur"),onMouseDown:b("mouseDown")},E=r.Children.only(n),{children:C,disabled:P}=E.props;return(P?Fd:Vd)({child:E,eventHandlers:k,childrenWithPopover:Nd({grandchildren:C,anchor:h,isOver:d,offset:4,position:o,shortcut:a,text:i,...l}),mergedRefs:g})},zd=function(e){let{icon:t,className:n,size:o=20,style:i={},...a}=e;const l=["dashicon","dashicons","dashicons-"+t,n].filter(Boolean).join(" "),u={...20!=o?{fontSize:`${o}px`,width:`${o}px`,height:`${o}px`}:{},...i};return(0,r.createElement)("span",s({className:l,style:u},a))},Bd=function(e){let{icon:t=null,size:n=("string"==typeof t?20:24),...o}=e;if("string"==typeof t)return(0,r.createElement)(zd,s({icon:t,size:n},o));if((0,r.isValidElement)(t)&&zd===t.type)return(0,r.cloneElement)(t,{...o});if("function"==typeof t)return(0,r.createElement)(t,{size:n,...o});if(t&&("svg"===t.type||t.type===Wl)){const e={...t.props,width:n,height:n,...o};return(0,r.createElement)(Wl,e)}return(0,r.isValidElement)(t)?(0,r.cloneElement)(t,{size:n,...o}):t};var $d=o(744),Hd=o.n($d),Ud=o(252),Wd=o.n(Ud);function Xd(e){return"[object Object]"===Object.prototype.toString.call(e)}function Yd(e){var t,n;return!1!==Xd(e)&&(void 0===(t=e.constructor)||!1!==Xd(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}const qd=(0,r.createContext)({}),Gd=()=>(0,r.useContext)(qd),Qd=(0,r.memo)((e=>{let{children:t,value:n}=e;const o=function(e){let{value:t}=e;const n=Gd(),o=(0,r.useRef)(t);return function(e,t){const n=(0,r.useRef)(!1);(0,r.useEffect)((()=>{if(n.current)return e();n.current=!0}),t)}((()=>{Wd()(o.current,t)&&o.current!==t&&"undefined"!=typeof process&&process.env}),[t]),(0,r.useMemo)((()=>Hd()(null!=n?n:{},null!=t?t:{},{isMergeableObject:Yd})),[n,t])}({value:n});return(0,r.createElement)(qd.Provider,{value:o},t)})),Kd="data-wp-component",Zd="data-wp-c16t",Jd="__contextSystemKey__";var ef=function(){return ef=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ef.apply(this,arguments)};function tf(e){return e.toLowerCase()}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var nf=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],rf=/[^A-Z0-9]+/gi;function of(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce((function(e,t){return e.replace(t,n)}),e)}const af=id()((function(e){const t=function(e,t){return void 0===t&&(t={}),function(e,t){return void 0===t&&(t={}),function(e,t){void 0===t&&(t={});for(var n=t.splitRegexp,r=void 0===n?nf:n,o=t.stripRegexp,i=void 0===o?rf:o,a=t.transform,s=void 0===a?tf:a,l=t.delimiter,u=void 0===l?" ":l,c=of(of(e,r,"$1\0$2"),i,"\0"),d=0,f=c.length;"\0"===c.charAt(d);)d++;for(;"\0"===c.charAt(f-1);)f--;return c.slice(d,f).split("\0").map(s).join(u)}(e,ef({delimiter:"."},t))}(e,ef({delimiter:"-"},t))}(e);return`components-${t}`}));function sf(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function lf(e,t,n){var r=[],o=Lc(e,r,n);return r.length<2?n:o+t(r)}var uf=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(null!=o){var i=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))i=e(o);else for(var a in i="",o)o[a]&&a&&(i&&(i+=" "),i+=a);break;default:i=o}i&&(n&&(n+=" "),n+=i)}}return n},cf=function(){var e=_c({key:"css"});e.sheet.speedy=function(e){this.isSpeedy=e},e.compat=!0;var t=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Xc(n,e.registered,void 0);return Dc(e,o,!1),e.key+"-"+o.name};return{css:t,cx:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return lf(e.registered,t,uf(r))},injectGlobal:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Xc(n,e.registered);sf(e,o)},keyframes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Xc(n,e.registered),i="animation-"+o.name;return sf(e,{name:o.name,styles:"@keyframes "+i+"{"+o.styles+"}"}),i},hydrate:function(t){t.forEach((function(t){e.inserted[t]=!0}))},flush:function(){e.registered={},e.inserted={},e.sheet.flush()},sheet:e.sheet,cache:e,getRegisteredStyles:Lc.bind(null,e.registered),merge:lf.bind(null,e.registered,t)}}(),df=(cf.flush,cf.hydrate,cf.cx);cf.merge,cf.getRegisteredStyles,cf.injectGlobal,cf.keyframes,cf.css,cf.sheet,cf.cache;const ff=()=>{const e=(0,r.useContext)(Qc),t=(0,r.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;r<t;r++)n[r]=arguments[r];return df(...n.map((t=>(e=>null!=e&&["name","styles"].every((t=>void 0!==e[t])))(t)?(Dc(e,t,!1),`${e.key}-${t.name}`):t)))}),[e]);return t};function pf(e,t){const n=Gd();void 0===t&&"undefined"!=typeof process&&process.env;const r=(null==n?void 0:n[t])||{},o={[Zd]:!0,...(i=t,{[Kd]:i})};var i;const{_overrides:a,...s}=r,l=Object.entries(s).length?Object.assign({},s,e):e,u=ff()(af(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 void 0!==c&&(o.children=c),o.className=u,o}function hf(e,t){return function(e,t,n){const o=null!=n&&n.forwardsRef?(0,r.forwardRef)(e):e;void 0===t&&"undefined"!=typeof process&&process.env;let i=o[Jd]||[t];return Array.isArray(t)&&(i=[...i,...t]),"string"==typeof t&&(i=[...i,t]),Object.assign(o,{[Jd]:[...new Set(i)],displayName:t,selector:`.${af(t)}`})}(e,t,{forwardsRef:!0})}function mf(e){if(!e)return[];let t=[];return e[Jd]&&(t=e[Jd]),e.type&&e.type[Jd]&&(t=e.type[Jd]),t}const gf={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 vf=/^((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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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|popover|popoverTarget|popoverTargetAction|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)-.*))$/,yf=Vc((function(e){return vf.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),bf=function(e){return"theme"!==e},wf=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?yf:bf},xf=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},Sf=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Ac(t,n,r),Gc((function(){return Dc(t,n,r)})),null},kf=function e(t,n){var o,i,a=t.__emotion_real===t,l=a&&t.__emotion_base||t;void 0!==n&&(o=n.label,i=n.target);var u=xf(t,n,a),c=u||wf(l),d=!c("as");return function(){var f=arguments,p=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&p.push("label:"+o+";"),null==f[0]||void 0===f[0].raw)p.push.apply(p,f);else{var h=f[0];p.push(h[0]);for(var m=f.length,g=1;g<m;g++)p.push(f[g],h[g])}var v=Zc((function(e,t,n){var o=d&&e.as||l,a="",s=[],f=e;if(null==e.theme){for(var h in f={},e)f[h]=e[h];f.theme=r.useContext(Jc)}"string"==typeof e.className?a=Lc(t.registered,s,e.className):null!=e.className&&(a=e.className+" ");var m=Xc(p.concat(s),t.registered,f);a+=t.key+"-"+m.name,void 0!==i&&(a+=" "+i);var g=d&&void 0===u?wf(o):c,v={};for(var y in e)d&&"as"===y||g(y)&&(v[y]=e[y]);return v.className=a,n&&(v.ref=n),r.createElement(r.Fragment,null,r.createElement(Sf,{cache:t,serialized:m,isStringTag:"string"==typeof o}),r.createElement(o,v))}));return v.displayName=void 0!==o?o:"Styled("+("string"==typeof l?l:l.displayName||l.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=l,v.__emotion_styles=p,v.__emotion_forwardProp=u,Object.defineProperty(v,"toString",{value:function(){return"."+i}}),v.withComponent=function(t,r){return e(t,s({},n,r,{shouldForwardProp:xf(v,r,!0)})).apply(void 0,p)},v}};const Ef=kf("div",{target:"e19lxcc00"})("");Ef.selector=".components-view",Ef.displayName="View";const Cf=Ef,Pf=hf((function(e,t){const{style:n,...o}=pf(e,"VisuallyHidden");return(0,r.createElement)(Cf,s({ref:t},o,{style:{...gf,...n||{}}}))}),"VisuallyHidden"),Of=["onMouseDown","onClick"],Tf=(0,r.forwardRef)((function(e,t){var n,o;const{isSmall:i,isPressed:a,isBusy:l,isDestructive:c,className:d,disabled:f,icon:p,iconPosition:h="left",iconSize:m,showTooltip:g,tooltipPosition:v,shortcut:y,label:b,children:w,text:x,variant:S,__experimentalIsFocusable:k,describedBy:E,...C}=function(e){let{isDefault:t,isPrimary:n,isSecondary:r,isTertiary:o,isLink:i,variant:a,...s}=e,l=a;var u,c,d,f,p;return n&&(null!==(u=l)&&void 0!==u||(l="primary")),o&&(null!==(c=l)&&void 0!==c||(l="tertiary")),r&&(null!==(d=l)&&void 0!==d||(l="secondary")),t&&(z("Button isDefault prop",{since:"5.4",alternative:'variant="secondary"',version:"6.2"}),null!==(f=l)&&void 0!==f||(l="secondary")),i&&(null!==(p=l)&&void 0!==p||(l="link")),{...s,variant:l}}(e),{href:P,target:O,...T}="href"in C?C:{href:void 0,target:void 0,...C},M=$(Tf,"components-button__description"),R="string"==typeof w&&!!w||Array.isArray(w)&&(null==w?void 0:w[0])&&null!==w[0]&&"components-tooltip"!==(null==w||null===(n=w[0])||void 0===n||null===(o=n.props)||void 0===o?void 0:o.className),_=u()("components-button",d,{"is-secondary":"secondary"===S,"is-primary":"primary"===S,"is-small":i,"is-tertiary":"tertiary"===S,"is-pressed":a,"is-busy":l,"is-link":"link"===S,"is-destructive":c,"has-text":!!p&&R,"has-icon":!!p}),L=f&&!k,A=void 0===P||L?"button":"a",D="button"===A?{type:"button",disabled:L,"aria-pressed":a}:{},F="a"===A?{href:P,target:O}:{};if(f&&k){D["aria-disabled"]=!0,F["aria-disabled"]=!0;for(const e of Of)T[e]=e=>{e&&(e.stopPropagation(),e.preventDefault())}}const V=!L&&(g&&b||y||!!b&&!(null!=w&&w.length)&&!1!==g),N=E?M:void 0,I=T["aria-describedby"]||N,j={className:_,"aria-label":T["aria-label"]||b,"aria-describedby":I,ref:t},B=(0,r.createElement)(r.Fragment,null,p&&"left"===h&&(0,r.createElement)(Bd,{icon:p,size:m}),x&&(0,r.createElement)(r.Fragment,null,x),p&&"right"===h&&(0,r.createElement)(Bd,{icon:p,size:m}),w),H="a"===A?(0,r.createElement)("a",s({},F,T,j),B):(0,r.createElement)("button",s({},D,T,j),B);return V?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(jd,{text:null!=w&&w.length&&E?E:b,shortcut:y,position:v},H),E&&(0,r.createElement)(Pf,null,(0,r.createElement)("span",{id:N},E))):(0,r.createElement)(r.Fragment,null,H,E&&(0,r.createElement)(Pf,null,(0,r.createElement)("span",{id:N},E)))})),Mf=Tf;o(146);var Rf,_f,Lf=function(e,t){var n=arguments;if(null==t||!ed.call(t,"css"))return r.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=rd,i[1]=function(e,t){var n={};for(var r in t)ed.call(t,r)&&(n[r]=t[r]);return n[td]=e,n}(e,t);for(var a=2;a<o;a++)i[a]=n[a];return r.createElement.apply(null,i)};function Af(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Xc(t)}Rf=Lf||(Lf={}),_f||(_f=Rf.JSX||(Rf.JSX={}));const Df={"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 Ff(e){var t;return null!==(t=Df[e])&&void 0!==t?t:""}const Vf={name:"9amh4a",styles:"font-size:11px;font-weight:500;line-height:1.4;text-transform:uppercase"};var Nf={grad:.9,turn:360,rad:360/(2*Math.PI)},If=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},jf=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},zf=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e>t?e:t},Bf=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},$f=function(e){return{r:zf(e.r,0,255),g:zf(e.g,0,255),b:zf(e.b,0,255),a:zf(e.a)}},Hf=function(e){return{r:jf(e.r),g:jf(e.g),b:jf(e.b),a:jf(e.a,3)}},Uf=/^#([0-9a-f]{3,8})$/i,Wf=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Xf=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}},Yf=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}},qf=function(e){return{h:Bf(e.h),s:zf(e.s,0,100),l:zf(e.l,0,100),a:zf(e.a)}},Gf=function(e){return{h:jf(e.h),s:jf(e.s),l:jf(e.l),a:jf(e.a,3)}},Qf=function(e){return Yf((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},Kf=function(e){return{h:(t=Xf(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},Zf=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Jf=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ep=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,tp=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,np={string:[[function(e){var t=Uf.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?jf(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?jf(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=ep.exec(e)||tp.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:$f({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=Zf.exec(e)||Jf.exec(e);if(!t)return null;var n,r,o=qf({h:(n=t[1],r=t[2],void 0===r&&(r="deg"),Number(n)*(Nf[r]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return Qf(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 If(t)&&If(n)&&If(r)?$f({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(!If(t)||!If(n)||!If(r))return null;var a=qf({h:Number(t),s:Number(n),l:Number(r),a:Number(i)});return Qf(a)},"hsl"],[function(e){var t=e.h,n=e.s,r=e.v,o=e.a,i=void 0===o?1:o;if(!If(t)||!If(n)||!If(r))return null;var a=function(e){return{h:Bf(e.h),s:zf(e.s,0,100),v:zf(e.v,0,100),a:zf(e.a)}}({h:Number(t),s:Number(n),v:Number(r),a:Number(i)});return Yf(a)},"hsv"]]},rp=function(e,t){for(var n=0;n<t.length;n++){var r=t[n][0](e);if(r)return[r,t[n][1]]}return[null,void 0]},op=function(e,t){var n=Kf(e);return{h:n.h,s:zf(n.s+100*t,0,100),l:n.l,a:n.a}},ip=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},ap=function(e,t){var n=Kf(e);return{h:n.h,s:n.s,l:zf(n.l+100*t,0,100),a:n.a}},sp=function(){function e(e){this.parsed=function(e){return"string"==typeof e?rp(e.trim(),np.string):"object"==typeof e&&null!==e?rp(e,np.object):[null,void 0]}(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return jf(ip(this.rgba),2)},e.prototype.isDark=function(){return ip(this.rgba)<.5},e.prototype.isLight=function(){return ip(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=Hf(this.rgba)).r,n=e.g,r=e.b,i=(o=e.a)<1?Wf(jf(255*o)):"","#"+Wf(t)+Wf(n)+Wf(r)+i;var e,t,n,r,o,i},e.prototype.toRgb=function(){return Hf(this.rgba)},e.prototype.toRgbString=function(){return t=(e=Hf(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 Gf(Kf(this.rgba))},e.prototype.toHslString=function(){return t=(e=Gf(Kf(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=Xf(this.rgba),{h:jf(e.h),s:jf(e.s),v:jf(e.v),a:jf(e.a,3)};var e},e.prototype.invert=function(){return lp({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),lp(op(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),lp(op(this.rgba,-e))},e.prototype.grayscale=function(){return lp(op(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),lp(ap(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),lp(ap(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?lp({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):jf(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=Kf(this.rgba);return"number"==typeof e?lp({h:e,s:t.s,l:t.l,a:t.a}):jf(t.h)},e.prototype.isEqual=function(e){return this.toHex()===lp(e).toHex()},e}(),lp=function(e){return e instanceof sp?e:new sp(e)},up=[],cp=function(e){e.forEach((function(e){up.indexOf(e)<0&&(e(sp,np),up.push(e))}))};function dp(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));p<u&&(u=p,c=f)}return c}},t.string.push([function(t){var r=t.toLowerCase(),o="transparent"===r?"#0000":n[r];return o?new e(o).toRgb():null},"name"])}function fp(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return lp(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").alpha(e).toRgbString()}cp([dp]);const pp="#fff",hp={900:"#1e1e1e",800:"#2f2f2f",700:"#757575",600:"#949494",400:"#ccc",300:"#ddd",200:"#e0e0e0",100:"#f0f0f0"},mp="var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #006ba1))",gp={theme:"var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba))",themeDark10:mp,background:pp,backgroundDisabled:hp[100],border:hp[600],borderHover:hp[700],borderFocus:mp,borderDisabled:hp[400],textDisabled:hp[600],textDark:pp,darkGrayPlaceholder:fp(hp[900],.62),lightGrayPlaceholder:fp(pp,.65)},vp=Object.freeze({gray:hp,white:pp,alert:{yellow:"#f0b849",red:"#d94f4f",green:"#4ab866"},ui:gp});function yp(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 bp=kf("div",{target:"ej5x27r4"})("font-family:",Ff("default.fontFamily"),";font-size:",Ff("default.fontSize"),";",{name:"kv6lnz",styles:"box-sizing:border-box;*,*::before,*::after{box-sizing:inherit;}"},";"),wp=kf("div",{target:"ej5x27r3"})((e=>{let{__nextHasNoMarginBottom:t=!1}=e;return!t&&Af("margin-bottom:",yp(2),";","")})," .components-panel__row &{margin-bottom:inherit;}"),xp=Af(Vf,";display:inline-block;margin-bottom:",yp(2),";padding:0;",""),Sp=kf("label",{target:"ej5x27r2"})(xp,";");var kp={name:"11yad0w",styles:"margin-bottom:revert"};const Ep=kf("p",{target:"ej5x27r1"})("margin-top:",yp(2),";margin-bottom:0;font-size:",Ff("helpText.fontSize"),";font-style:normal;color:",vp.gray[700],";",(e=>{let{__nextHasNoMarginBottom:t=!1}=e;return!t&&kp}),";"),Cp=kf("span",{target:"ej5x27r0"})(xp,";"),Pp=e=>{let{__nextHasNoMarginBottom:t=!1,id:n,label:o,hideLabelFromVision:i=!1,help:a,className:s,children:l}=e;return(0,r.createElement)(bp,{className:u()("components-base-control",s)},(0,r.createElement)(wp,{className:"components-base-control__field",__nextHasNoMarginBottom:t},o&&n&&(i?(0,r.createElement)(Pf,{as:"label",htmlFor:n},o):(0,r.createElement)(Sp,{className:"components-base-control__label",htmlFor:n},o)),o&&!n&&(i?(0,r.createElement)(Pf,{as:"label"},o):(0,r.createElement)(Pp.VisualLabel,null,o)),l),!!a&&(0,r.createElement)(Ep,{id:n?n+"__help":void 0,className:"components-base-control__help",__nextHasNoMarginBottom:t},a))};Pp.VisualLabel=e=>{let{className:t,children:n,...o}=e;return(0,r.createElement)(Cp,s({},o,{className:u()("components-base-control__label",t)}),n)};const Op=Pp,Tp=["40em","52em","64em"],Mp={name:"zjik7",styles:"display:flex"},Rp={name:"qgaee5",styles:"display:block;max-height:100%;max-width:100%;min-height:0;min-width:0"},_p={name:"82a6rk",styles:"flex:1"},Lp={name:"13nosa1",styles:">*{min-height:0;}"},Ap={name:"1pwxzk4",styles:">*{min-width:0;}"};function Dp(e){const{align:t,className:n,direction:o="row",expanded:i=!0,gap:a=2,justify:s="space-between",wrap:l=!1,...u}=pf(function(e){const{isReversed:t,...n}=e;return void 0!==t?(z("Flex isReversed",{alternative:'Flex direction="row-reverse" or "column-reverse"',since:"5.9"}),{...n,direction:t?"row-reverse":"row"}):n}(e),"Flex"),c=function(e){const t=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>Tp.length-1)throw new RangeError(`Default breakpoint index out of range. Theme has ${Tp.length} breakpoints, got index ${t}`);const[n,o]=(0,r.useState)(t);return(0,r.useEffect)((()=>{const e=()=>{const e=Tp.filter((e=>"undefined"!=typeof window&&window.matchMedia(`screen and (min-width: ${e})`).matches)).length;n!==e&&o(e)};return e(),"undefined"!=typeof window&&window.addEventListener("resize",e),()=>{"undefined"!=typeof window&&window.removeEventListener("resize",e)}}),[n]),n}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});if(!Array.isArray(e)&&"function"!=typeof e)return e;const n=e||[];return n[t>=n.length?n.length-1:t]}(Array.isArray(o)?o:[o]),d="string"==typeof c&&!!c.includes("column"),f=ff();return{...u,className:(0,r.useMemo)((()=>{const e=Af({alignItems:null!=t?t:d?"normal":"center",flexDirection:c,flexWrap:l?"wrap":void 0,gap:yp(a),justifyContent:s,height:d&&i?"100%":void 0,width:!d&&i?"100%":void 0},"","");return f(Mp,e,d?Lp:Ap,n)}),[t,n,f,c,i,a,d,s,l]),isColumn:d}}const Fp=(0,r.createContext)({flexItemDisplay:void 0}),Vp=hf((function(e,t){const{children:n,isColumn:o,...i}=Dp(e);return(0,r.createElement)(Fp.Provider,{value:{flexItemDisplay:o?"block":void 0}},(0,r.createElement)(Cf,s({},i,{ref:t}),n))}),"Flex");const Np=hf((function(e,t){const n=function(e){const{className:t,display:n,isBlock:o=!1,...i}=pf(e,"FlexItem"),a={},s=(0,r.useContext)(Fp).flexItemDisplay;return a.Base=Af({display:n||s},"",""),{...i,className:ff()(Rp,a.Base,o&&_p,t)}}(e);return(0,r.createElement)(Cf,s({},n,{ref:t}))}),"FlexItem"),Ip={name:"hdknak",styles:"display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap"};const jp="…",zp={auto:"auto",head:"head",middle:"middle",tail:"tail",none:"none"},Bp={ellipsis:jp,ellipsizeMode:zp.auto,limit:0,numberOfLines:0};let $p;cp([dp]);const Hp=id()((function(e){var t,n;if("string"!=typeof e)return"";if("string"==typeof(n=e)&&lp(n).isValid())return e;if(!e.includes("var("))return"";if("undefined"==typeof document)return"";const r=function(){if("undefined"!=typeof document){if(!$p){const e=document.createElement("div");e.setAttribute("data-g2-color-computation-node",""),document.body.appendChild(e),$p=e}return $p}}();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||""}));const Up="36px",Wp="12px",Xp={controlSurfaceColor:vp.white,controlTextActiveColor:vp.ui.theme,controlPaddingX:Wp,controlPaddingXLarge:`calc(${Wp} * 1.3334)`,controlPaddingXSmall:`calc(${Wp} / 1.3334)`,controlBackgroundColor:vp.white,controlBorderRadius:"2px",controlBoxShadow:"transparent",controlBoxShadowFocus:`0 0 0 0.5px ${vp.ui.theme}`,controlDestructiveBorderColor:vp.alert.red,controlHeight:Up,controlHeightXSmall:`calc( ${Up} * 0.6 )`,controlHeightSmall:`calc( ${Up} * 0.8 )`,controlHeightLarge:`calc( ${Up} * 1.2 )`,controlHeightXLarge:`calc( ${Up} * 1.4 )`},Yp={toggleGroupControlBackgroundColor:Xp.controlBackgroundColor,toggleGroupControlBorderColor:vp.ui.border,toggleGroupControlBackdropBackgroundColor:Xp.controlSurfaceColor,toggleGroupControlBackdropBorderColor:vp.ui.border,toggleGroupControlButtonColorActive:Xp.controlBackgroundColor},qp=Object.assign({},Xp,Yp,{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:`${yp(2)}`,cardPaddingSmall:`${yp(4)}`,cardPaddingMedium:`${yp(4)} ${yp(6)}`,cardPaddingLarge:`${yp(6)} ${yp(8)}`,surfaceBackgroundColor:vp.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:vp.white,surfaceColor:vp.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)"}),Gp=Af("color:",vp.gray[900],";line-height:",qp.fontLineHeightBase,";margin:0;",""),Qp={name:"4zleql",styles:"display:block"},Kp=Af("color:",vp.alert.green,";",""),Zp=Af("color:",vp.alert.red,";",""),Jp=Af("color:",vp.gray[700],";",""),eh=Af("mark{background:",vp.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;}",""),th={name:"50zrmy",styles:"text-transform:uppercase"};var nh=o(542);const rh=id()((e=>{const t={};for(const n in e)t[n.toLowerCase()]=e[n];return t})),oh={body:13,caption:10,footnote:11,largeTitle:28,subheadline:12,title:20};function ih(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:13;if(e in oh)return ih(oh[e]);if("number"!=typeof e){const t=parseFloat(e);if(Number.isNaN(t))return e;e=t}return`calc((${e} / 13) * ${qp.fontSize})`}[1,2,3,4,5,6].flatMap((e=>[e,e.toString()]));var ah={name:"50zrmy",styles:"text-transform:uppercase"};function sh(e){const{adjustLineHeightForInnerControls:t,align:o,children:i,className:a,color:s,ellipsizeMode:l,isDestructive:u=!1,display:c,highlightEscape:d=!1,highlightCaseSensitive:f=!1,highlightWords:p,highlightSanitize:h,isBlock:m=!1,letterSpacing:g,lineHeight:v,optimizeReadabilityFor:y,size:b,truncate:w=!1,upperCase:x=!1,variant:S,weight:k=qp.fontWeight,...E}=pf(e,"Text");let C=i;const P=Array.isArray(p),O="caption"===b;if(P){if("string"!=typeof i)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:o,autoEscape:i,caseSensitive:a=!1,children:s,findChunks:l,highlightClassName:u="",highlightStyle:c={},highlightTag:d="mark",sanitize:f,searchWords:p=[],unhighlightClassName:h="",unhighlightStyle:m}=e;if(!s)return null;if("string"!=typeof s)return s;const g=s,v=(0,nh.findAll)({autoEscape:i,caseSensitive:a,findChunks:l,sanitize:f,searchWords:p,textToHighlight:g}),y=d;let b,w=-1,x="";const S=v.map(((e,i)=>{const s=g.substr(e.start,e.end-e.start);if(e.highlight){let e;w++,"object"==typeof u?a?e=u[s]:(u=rh(u),e=u[s.toLowerCase()]):e=u;const l=w===+n;x=`${e} ${l?t:""}`,b=!0===l&&null!==o?Object.assign({},c,o):c;const d={children:s,className:x,key:i,style:b};return"string"!=typeof y&&(d.highlightIndex=w),(0,r.createElement)(y,d)}return(0,r.createElement)("span",{children:s,className:h,key:i,style:m})}));return S}({autoEscape:d,children:i,caseSensitive:f,searchWords:p,sanitize:h})}const T=ff();let M;!0===w&&(M="auto"),!1===w&&(M="none");const R=function(e){const{className:t,children:n,ellipsis:o=jp,ellipsizeMode:i=zp.auto,limit:a=0,numberOfLines:s=0,...l}=pf(e,"Truncate"),u=ff(),c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t={...Bp,...arguments.length>1?arguments[1]:void 0},{ellipsis:n,ellipsizeMode:r,limit:o}=t;if(r===zp.none)return e;let i,a;switch(r){case zp.head:i=0,a=o;break;case zp.middle:i=Math.floor(o/2),a=Math.floor(o/2);break;default:i=o,a=0}const s=r!==zp.auto?function(e,t,n,r){if("string"!=typeof e)return"";const o=e.length,i=~~t,a=~~n,s=null!=r?r:jp;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)}(e,i,a,n):e;return s}("string"==typeof n?n:"",{ellipsis:o,ellipsizeMode:i,limit:a,numberOfLines:s}),d=i===zp.auto;return{...l,className:(0,r.useMemo)((()=>u(d&&!s&&Ip,d&&!!s&&Af("-webkit-box-orient:vertical;-webkit-line-clamp:",s,";display:-webkit-box;overflow:hidden;",""),t)),[t,u,s,d]),children:c}}({...E,className:(0,r.useMemo)((()=>{const e={},r=function(e,t){if(t)return t;if(!e)return;let n=`calc(${qp.controlHeight} + ${yp(2)})`;switch(e){case"large":n=`calc(${qp.controlHeightLarge} + ${yp(2)})`;break;case"small":n=`calc(${qp.controlHeightSmall} + ${yp(2)})`;break;case"xSmall":n=`calc(${qp.controlHeightXSmall} + ${yp(2)})`}return n}(t,v);if(e.Base=Af({color:s,display:c,fontSize:ih(b),fontWeight:k,lineHeight:r,letterSpacing:g,textAlign:o},"",""),e.upperCase=ah,e.optimalTextColor=null,y){const t="dark"==("#000000"===function(e){const t=Hp(e);return lp(t).isLight()?"#000000":"#ffffff"}(y)?"dark":"light");e.optimalTextColor=Af(t?{color:vp.gray[900]}:{color:vp.white},"","")}return T(Gp,e.Base,e.optimalTextColor,u&&Zp,!!P&&eh,m&&Qp,O&&Jp,S&&n[S],x&&e.upperCase,a)}),[t,o,a,s,T,c,m,O,u,P,g,v,y,b,x,S,k]),children:i,ellipsizeMode:l||M});return!w&&Array.isArray(i)&&(C=r.Children.map(i,(e=>{return"object"==typeof e&&null!==e&&"props"in e?(n=["Link"],(t=e)&&("string"==typeof n?mf(t).includes(n):Array.isArray(n)&&n.some((e=>mf(t).includes(e))))?(0,r.cloneElement)(e,{size:e.props.size||"inherit"}):e):e;var t,n}))),{...R,children:w?R.children:C}}const lh=hf((function(e,t){const n=sh(e);return(0,r.createElement)(Cf,s({as:"span"},n,{ref:t}))}),"Text"),uh=new RegExp(/-left/g),ch=new RegExp(/-right/g),dh=new RegExp(/Left/g),fh=new RegExp(/Right/g);function ph(e){return"left"===e?"right":"right"===e?"left":uh.test(e)?e.replace(uh,"-right"):ch.test(e)?e.replace(ch,"-left"):dh.test(e)?e.replace(dh,"Right"):fh.test(e)?e.replace(fh,"Left"):e}function hh(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return()=>t?gl()?Af(t,""):Af(e,""):gl()?Af(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.fromEntries(Object.entries(e).map((e=>{let[t,n]=e;return[ph(t),n]})))}(e),""):Af(e,"")}hh.watch=()=>gl();var mh={name:"1739oy8",styles:"z-index:1"};const gh=e=>{let{isFocused:t}=e;return t?mh:""},vh=kf(Vp,{target:"em5sgkm7"})("box-sizing:border-box;position:relative;border-radius:2px;padding-top:0;",gh,";");var yh={name:"1d3w5wq",styles:"width:100%"};const bh=kf("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 Af({backgroundColor:t?vp.ui.backgroundDisabled:vp.ui.background},"","")})," ",(e=>{let{__unstableInputWidth:t,labelPosition:n}=e;return t?"side"===n?"":Af("edge"===n?{flex:`0 0 ${t}`}:{width:t},"",""):yh}),";"),wh=e=>{let{inputSize:t,__next36pxDefaultSize:n}=e;const r={default:{height:36,lineHeight:1,minHeight:36,paddingLeft:yp(4),paddingRight:yp(4)},small:{height:24,lineHeight:1,minHeight:24,paddingLeft:yp(2),paddingRight:yp(2)},"__unstable-large":{height:40,lineHeight:1,minHeight:40,paddingLeft:yp(4),paddingRight:yp(4)}};return n||(r.default={height:30,lineHeight:1,minHeight:30,paddingLeft:yp(2),paddingRight:yp(2)}),r[t]||r.default},xh=(kf("input",{target:"em5sgkm5"})("&&&{background-color:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",vp.gray[900],";display:block;font-family:inherit;margin:0;outline:none;width:100%;",(e=>{let t,n,{isDragging:r,dragCursor:o}=e;return r&&(t=Af("cursor:",o,";user-select:none;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}","")),r&&o&&(n=Af("&:active{cursor:",o,";}","")),Af(t," ",n,";","")})," ",(e=>{let{disabled:t}=e;return t?Af({color:vp.ui.textDisabled},"",""):""})," ",(e=>{let{inputSize:t}=e;const n={default:"13px",small:"11px","__unstable-large":"13px"},r=n[t]||n.default;return r?Af("font-size:","16px",";@media ( min-width: 600px ){font-size:",r,";}",""):""})," ",(e=>Af(wh(e),"",""))," ",(e=>{let{paddingInlineStart:t,paddingInlineEnd:n}=e;return Af({paddingInlineStart:t,paddingInlineEnd:n},"","")})," &::-webkit-input-placeholder{line-height:normal;}}"),kf(lh,{target:"em5sgkm4"})("&&&{",Vf,";box-sizing:border-box;display:block;padding-top:0;padding-bottom:0;max-width:100%;z-index:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}")),Sh=e=>(0,r.createElement)(xh,s({},e,{as:"label"})),kh=kf(Np,{target:"em5sgkm3"})({name:"1b6uupn",styles:"max-width:calc( 100% - 10px )"}),Eh=kf("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?vp.ui.borderFocus:vp.ui.border;return r&&(t=`0 0 0 1px ${vp.ui.borderFocus} inset`),n&&(o=vp.ui.borderDisabled),Af({boxShadow:t,borderColor:o,borderStyle:"solid",borderWidth:1},"","")})," ",hh({paddingLeft:2}),";}"),Ch=kf("span",{target:"em5sgkm1"})({name:"pvvbxf",styles:"box-sizing:border-box;display:block"}),Ph=kf("span",{target:"em5sgkm0"})({name:"jgf79h",styles:"align-items:center;align-self:stretch;box-sizing:border-box;display:flex"}),Oh=(0,r.memo)((function(e){let{disabled:t=!1,isFocused:n=!1}=e;return(0,r.createElement)(Eh,{"aria-hidden":"true",className:"components-input-control__backdrop",disabled:t,isFocused:n})})),Th=Oh;function Mh(e){let{children:t,hideLabelFromVision:n,htmlFor:o,...i}=e;return t?n?(0,r.createElement)(Pf,{as:"label",htmlFor:o},t):(0,r.createElement)(kh,null,(0,r.createElement)(Sh,s({htmlFor:o},i),t)):null}const Rh=(0,r.forwardRef)((function e(t,n){let{__next36pxDefaultSize:o,__unstableInputWidth:i,children:a,className:l,disabled:u=!1,hideLabelFromVision:c=!1,labelPosition:d,id:f,isFocused:p=!1,label:h,prefix:m,size:g="default",suffix:v,...y}=t;const b=function(t){const n=$(e);return t||`input-base-control-${n}`}(f),w=c||!h,{paddingLeft:x,paddingRight:S}=wh({inputSize:g,__next36pxDefaultSize:o}),k=(0,r.useMemo)((()=>({InputControlPrefixWrapper:{paddingLeft:x},InputControlSuffixWrapper:{paddingRight:S}})),[x,S]);return(0,r.createElement)(vh,s({},y,function(e){const t={};switch(e){case"top":t.direction="column",t.expanded=!1,t.gap=0;break;case"bottom":t.direction="column-reverse",t.expanded=!1,t.gap=0;break;case"edge":t.justify="space-between"}return t}(d),{className:l,gap:2,isFocused:p,labelPosition:d,ref:n}),(0,r.createElement)(Mh,{className:"components-input-control__label",hideLabelFromVision:c,labelPosition:d,htmlFor:b},h),(0,r.createElement)(bh,{__unstableInputWidth:i,className:"components-input-control__container",disabled:u,hideLabel:w,labelPosition:d},(0,r.createElement)(Qd,{value:k},m&&(0,r.createElement)(Ch,{className:"components-input-control__prefix"},m),a,v&&(0,r.createElement)(Ph,{className:"components-input-control__suffix"},v)),(0,r.createElement)(Th,{disabled:u,isFocused:p})))})),_h=e=>null!=e,Lh=hf((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,...g}=pf(e,"Spacer");return{...g,className:ff()(_h(n)&&Af("margin:",yp(n),";",""),_h(l)&&Af("margin-bottom:",yp(l),";margin-top:",yp(l),";",""),_h(s)&&Af("margin-left:",yp(s),";margin-right:",yp(s),";",""),_h(a)&&Af("margin-top:",yp(a),";",""),_h(r)&&Af("margin-bottom:",yp(r),";",""),_h(o)&&hh({marginLeft:yp(o)})(),_h(i)&&hh({marginRight:yp(i)})(),_h(u)&&Af("padding:",yp(u),";",""),_h(m)&&Af("padding-bottom:",yp(m),";padding-top:",yp(m),";",""),_h(h)&&Af("padding-left:",yp(h),";padding-right:",yp(h),";",""),_h(p)&&Af("padding-top:",yp(p),";",""),_h(c)&&Af("padding-bottom:",yp(c),";",""),_h(d)&&hh({paddingLeft:yp(d)})(),_h(f)&&hh({paddingRight:yp(f)})(),t)}}(e);return(0,r.createElement)(Cf,s({},n,{ref:t}))}),"Spacer"),Ah=hf((function(e,t){const n=pf(e,"InputControlSuffixWrapper");return(0,r.createElement)(Lh,s({marginBottom:0},n,{ref:t}))}),"InputControlSuffixWrapper"),Dh=kf("select",{target:"e1mv6sxx2"})("&&&{appearance:none;background:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",vp.gray[900],";display:block;font-family:inherit;margin:0;width:100%;max-width:none;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;",(e=>{let{disabled:t}=e;return t?Af({color:vp.ui.textDisabled},"",""):""}),";",(e=>{let{selectSize:t="default"}=e;const n={default:"13px",small:"11px","__unstable-large":"13px"}[t];return n?Af("font-size:","16px",";@media ( min-width: 600px ){font-size:",n,";}",""):""}),";",(e=>{let{__next36pxDefaultSize:t,multiple:n,selectSize:r="default"}=e;if(n)return;const o={default:{height:36,minHeight:36,paddingTop:0,paddingBottom:0},small:{height:24,minHeight:24,paddingTop:0,paddingBottom:0},"__unstable-large":{height:40,minHeight:40,paddingTop:0,paddingBottom:0}};return t||(o.default={height:30,minHeight:30,paddingTop:0,paddingBottom:0}),Af(o[r]||o.default,"","")}),";",(e=>{let{__next36pxDefaultSize:t,multiple:n,selectSize:r="default"}=e;const o={default:16,small:8,"__unstable-large":16};t||(o.default=8);const i=o[r]||o.default;return hh({paddingLeft:i,paddingRight:i+18,...n?{paddingTop:i,paddingBottom:i}:{}})}),";",(e=>{let{multiple:t}=e;return{overflow:t?"auto":"hidden"}}),";}"),Fh=kf("div",{target:"e1mv6sxx1"})("margin-inline-end:",yp(-1),";line-height:0;"),Vh=kf(Ah,{target:"e1mv6sxx0"})("position:absolute;pointer-events:none;",hh({right:0}),";"),Nh=(0,r.forwardRef)((function({icon:e,size:t=24,...n},o){return(0,r.cloneElement)(e,{width:t,height:t,...n,ref:o})})),Ih=(0,r.createElement)(Wl,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(Ul,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})),jh=()=>(0,r.createElement)(Vh,null,(0,r.createElement)(Fh,null,(0,r.createElement)(Nh,{icon:Ih,size:18}))),zh=()=>{},Bh=(0,r.forwardRef)((function(e,t){const{className:n,disabled:o=!1,help:i,hideLabelFromVision:a,id:l,label:c,multiple:d=!1,onBlur:f=zh,onChange:p,onFocus:h=zh,options:m=[],size:g="default",value:v,labelPosition:y="top",children:b,prefix:w,suffix:x,__next36pxDefaultSize:S=!1,__nextHasNoMarginBottom:k=!1,...E}=e,[C,P]=(0,r.useState)(!1),O=function(e){const t=$(Bh);return e||`inspector-select-control-${t}`}(l),T=i?`${O}__help`:void 0;if(!(null!=m&&m.length||b))return null;const M=u()("components-select-control",n);return(0,r.createElement)(Op,{help:i,id:O,__nextHasNoMarginBottom:k},(0,r.createElement)(Rh,{className:M,disabled:o,hideLabelFromVision:a,id:O,isFocused:C,label:c,size:g,suffix:x||!d&&(0,r.createElement)(jh,null),prefix:w,labelPosition:y,__next36pxDefaultSize:S},(0,r.createElement)(Dh,s({},E,{__next36pxDefaultSize:S,"aria-describedby":T,className:"components-select-control__input",disabled:o,id:O,multiple:d,onBlur:e=>{f(e),P(!1)},onChange:t=>{var n;if(e.multiple){var r;const n=Array.from(t.target.options).filter((e=>{let{selected:t}=e;return t})),o=n.map((e=>{let{value:t}=e;return t}));null===(r=e.onChange)||void 0===r||r.call(e,o,{event:t})}else null===(n=e.onChange)||void 0===n||n.call(e,t.target.value,{event:t})},onFocus:e=>{h(e),P(!0)},ref:t,selectSize:g,value:v}),b||m.map(((e,t)=>{const n=e.id||`${e.label}-${e.value}-${t}`;return(0,r.createElement)("option",{key:n,value:e.value,disabled:e.disabled},e.label)})))))})),$h=Bh;function Hh(e){return Hh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hh(e)}function Uh(e){var t=function(e){if("object"!=Hh(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Hh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Hh(t)?t:t+""}function Wh(e,t,n){return(t=Uh(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xh(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 Yh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xh(Object(n),!0).forEach((function(t){Wh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Uh(r.key),r)}}function Gh(e,t){return Gh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Gh(e,t)}function Qh(e){return Qh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Qh(e)}function Kh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Kh=function(){return!!e})()}function Zh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Jh(e,t){if(e){if("string"==typeof e)return Zh(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zh(e,t):void 0}}function em(e){return function(e){if(Array.isArray(e))return Zh(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Jh(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tm(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||Jh(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nm(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var rm=r.useLayoutEffect,om=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],im=function(){};function am(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function sm(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(am(e,a)));return i.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var lm=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Hh(e)&&null!==e?[e]:[];var t},um=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,Yh({},nm(e,om))},cm=function(e,t,n){var r=e.cx,o=e.getStyles,i=e.getClassNames,a=e.className;return{css:o(t,e),className:r(null!=n?n:{},i(t,e),a)}};function dm(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function fm(e){return dm(e)?window.pageYOffset:e.scrollTop}function pm(e,t){dm(e)?window.scrollTo(0,t):e.scrollTop=t}function hm(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:im,o=fm(e),i=t-o,a=0;!function t(){var s=function(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}(a+=10,o,i,n);pm(e,s),a<n?window.requestAnimationFrame(t):r(e)}()}function mm(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?pm(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&pm(e,Math.max(t.offsetTop-o,0))}function gm(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var vm=!1,ym={get passive(){return vm=!0}},bm="undefined"!=typeof window?window:{};bm.addEventListener&&bm.removeEventListener&&(bm.addEventListener("p",im,ym),bm.removeEventListener("p",im,!1));var wm=vm;function xm(e){return null!=e}function Sm(e,t,n){return e?t:n}var km=["children","innerProps"],Em=["children","innerProps"];var Cm,Pm=function(e){return"auto"===e?"bottom":e},Om=(0,r.createContext)(null),Tm=function(e){var t=e.children,n=e.minMenuHeight,o=e.maxMenuHeight,i=e.menuPlacement,a=e.menuPosition,s=e.menuShouldScrollIntoView,l=e.theme,u=((0,r.useContext)(Om)||{}).setPortalPlacement,c=(0,r.useRef)(null),d=tm((0,r.useState)(o),2),f=d[0],p=d[1],h=tm((0,r.useState)(null),2),m=h[0],g=h[1],v=l.spacing.controlHeight;return rm((function(){var e=c.current;if(e){var t="fixed"===a,r=function(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var c,d=l.getBoundingClientRect().height,f=n.getBoundingClientRect(),p=f.bottom,h=f.height,m=f.top,g=n.offsetParent.getBoundingClientRect().top,v=a||dm(c=l)?window.innerHeight:c.clientHeight,y=fm(l),b=parseInt(getComputedStyle(n).marginBottom,10),w=parseInt(getComputedStyle(n).marginTop,10),x=g-w,S=v-m,k=x+y,E=d-y-m,C=p-v+y+b,P=y+m-w,O=160;switch(o){case"auto":case"bottom":if(S>=h)return{placement:"bottom",maxHeight:t};if(E>=h&&!a)return i&&hm(l,C,O),{placement:"bottom",maxHeight:t};if(!a&&E>=r||a&&S>=r)return i&&hm(l,C,O),{placement:"bottom",maxHeight:a?S-b:E-b};if("auto"===o||a){var T=t,M=a?x:k;return M>=r&&(T=Math.min(M-b-s,t)),{placement:"top",maxHeight:T}}if("bottom"===o)return i&&pm(l,C),{placement:"bottom",maxHeight:t};break;case"top":if(x>=h)return{placement:"top",maxHeight:t};if(k>=h&&!a)return i&&hm(l,P,O),{placement:"top",maxHeight:t};if(!a&&k>=r||a&&x>=r){var R=t;return(!a&&k>=r||a&&x>=r)&&(R=a?x-w:k-w),i&&hm(l,P,O),{placement:"top",maxHeight:R}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}({maxHeight:o,menuEl:e,minHeight:n,placement:i,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:v});p(r.maxHeight),g(r.placement),null==u||u(r.placement)}}),[o,i,a,s,n,u,v]),t({ref:c,placerProps:Yh(Yh({},e),{},{placement:m||Pm(i),maxHeight:f})})},Mm=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return Yh({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Rm=Mm,_m=Mm,Lm=["size"],Am=["innerProps","isRtl","size"],Dm={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Fm=function(e){var t=e.size,n=nm(e,Lm);return Lf("svg",s({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Dm},n))},Vm=function(e){return Lf(Fm,s({size:20},e),Lf("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Nm=function(e){return Lf(Fm,s({size:20},e),Lf("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Im=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return Yh({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*o,":hover":{color:n?i.neutral80:i.neutral40}})},jm=Im,zm=Im,Bm=function(){var e=Af.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(Cm||(Cm=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]))),$m=function(e){var t=e.delay,n=e.offset;return Lf("span",{css:Af({animation:"".concat(Bm," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},Hm=["data"],Um=["innerRef","isDisabled","isHidden","inputClassName"],Wm={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Xm={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Yh({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Wm)},Ym=function(e){return Yh({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Wm)},qm=function(e){var t=e.children,n=e.innerProps;return Lf("div",n,t)},Gm={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Lf("div",s({},cm(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Lf(Vm,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return Lf("div",s({ref:o},cm(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Lf("div",s({},cm(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Lf(Nm,null))},DownChevron:Nm,CrossIcon:Vm,Group:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,i=e.Heading,a=e.headingProps,l=e.innerProps,u=e.label,c=e.theme,d=e.selectProps;return Lf("div",s({},cm(e,"group",{group:!0}),l),Lf(i,s({},a,{selectProps:d,theme:c,getStyles:r,getClassNames:o,cx:n}),u),Lf("div",null,t))},GroupHeading:function(e){var t=um(e);t.data;var n=nm(t,Hm);return Lf("div",s({},cm(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Lf("div",s({},cm(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Lf("span",s({},t,cm(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=um(e),o=r.innerRef,i=r.isDisabled,a=r.isHidden,l=r.inputClassName,u=nm(r,Um);return Lf("div",s({},cm(e,"input",{"input-container":!0}),{"data-value":n||""}),Lf("input",s({className:t({input:!0},l),ref:o,style:Ym(a),disabled:i},u)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=void 0===r?4:r,i=nm(e,Am);return Lf("div",s({},cm(Yh(Yh({},i),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Lf($m,{delay:0,offset:n}),Lf($m,{delay:160,offset:!0}),Lf($m,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Lf("div",s({},cm(e,"menu",{menu:!0}),{ref:n},r),t)},MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return Lf("div",s({},cm(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,o=e.controlElement,i=e.innerProps,a=e.menuPlacement,l=e.menuPosition,u=(0,r.useRef)(null),c=(0,r.useRef)(null),d=tm((0,r.useState)(Pm(a)),2),f=d[0],p=d[1],h=(0,r.useMemo)((function(){return{setPortalPlacement:p}}),[]),m=tm((0,r.useState)(null),2),g=m[0],v=m[1],y=(0,r.useCallback)((function(){if(o){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(o),t="fixed"===l?0:window.pageYOffset,n=e[f]+t;n===(null==g?void 0:g.offset)&&e.left===(null==g?void 0:g.rect.left)&&e.width===(null==g?void 0:g.rect.width)||v({offset:n,rect:e})}}),[o,l,f,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);rm((function(){y()}),[y]);var b=(0,r.useCallback)((function(){"function"==typeof c.current&&(c.current(),c.current=null),o&&u.current&&(c.current=ut(o,u.current,y,{elementResize:"ResizeObserver"in window}))}),[o,y]);rm((function(){b()}),[b]);var w=(0,r.useCallback)((function(e){u.current=e,b()}),[b]);if(!t&&"fixed"!==l||!g)return null;var x=Lf("div",s({ref:w},cm(Yh(Yh({},e),{},{offset:g.offset,position:l,rect:g.rect}),"menuPortal",{"menu-portal":!0}),i),n);return Lf(Om.Provider,{value:h},t?(0,mt.createPortal)(x,t):x)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=nm(e,Em);return Lf("div",s({},cm(Yh(Yh({},o),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,o=nm(e,km);return Lf("div",s({},cm(Yh(Yh({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,i=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,u=n.Label,c=n.Remove;return Lf(l,{data:r,innerProps:Yh(Yh({},cm(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:s},Lf(u,{data:r,innerProps:Yh({},cm(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Lf(c,{data:r,innerProps:Yh(Yh({},cm(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},MultiValueContainer:qm,MultiValueLabel:qm,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Lf("div",s({role:"button"},n),t||Lf(Vm,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.innerRef,a=e.innerProps;return Lf("div",s({},cm(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:i,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Lf("div",s({},cm(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return Lf("div",s({},cm(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Lf("div",s({},cm(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,o=e.hasValue;return Lf("div",s({},cm(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},Qm=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Km(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||Qm(r)&&Qm(o)))return!1;var r,o;return!0}for(var Zm={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},Jm=function(e){return Lf("span",s({css:Zm},e))},eg={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,o=e.context,i=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,a=e.selectValue,s=e.isDisabled,l=e.isSelected,u=e.isAppleDevice,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(c(a,n),".");if("menu"===t&&u){var d=s?" disabled":"",f="".concat(l?" selected":"").concat(d);return"".concat(i).concat(f,", ").concat(c(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},tg=function(e){var t=e.ariaSelection,n=e.focusedOption,o=e.focusedValue,i=e.focusableOptions,a=e.isFocused,s=e.selectValue,l=e.selectProps,u=e.id,c=e.isAppleDevice,d=l.ariaLiveMessages,f=l.getOptionLabel,p=l.inputValue,h=l.isMulti,m=l.isOptionDisabled,g=l.isSearchable,v=l.menuIsOpen,y=l.options,b=l.screenReaderStatus,w=l.tabSelectsValue,x=l.isLoading,S=l["aria-label"],k=l["aria-live"],E=(0,r.useMemo)((function(){return Yh(Yh({},eg),d||{})}),[d]),C=(0,r.useMemo)((function(){var e,n="";if(t&&E.onChange){var r=t.option,o=t.options,i=t.removedValue,a=t.removedValues,l=t.value,u=i||r||(e=l,Array.isArray(e)?null:e),c=u?f(u):"",d=o||a||void 0,p=d?d.map(f):[],h=Yh({isDisabled:u&&m(u,s),label:c,labels:p},t);n=E.onChange(h)}return n}),[t,E,m,s,f]),P=(0,r.useMemo)((function(){var e="",t=n||o,r=!!(n&&s&&s.includes(n));if(t&&E.onFocus){var a={focused:t,label:f(t),isDisabled:m(t,s),isSelected:r,options:i,context:t===n?"menu":"value",selectValue:s,isAppleDevice:c};e=E.onFocus(a)}return e}),[n,o,f,m,E,i,s,c]),O=(0,r.useMemo)((function(){var e="";if(v&&y.length&&!x&&E.onFilter){var t=b({count:i.length});e=E.onFilter({inputValue:p,resultsMessage:t})}return e}),[i,p,v,E,y,b,x]),T="initial-input-focus"===(null==t?void 0:t.action),M=(0,r.useMemo)((function(){var e="";if(E.guidance){var t=o?"value":v?"menu":"input";e=E.guidance({"aria-label":S,context:t,isDisabled:n&&m(n,s),isMulti:h,isSearchable:g,tabSelectsValue:w,isInitialFocus:T})}return e}),[S,n,o,h,m,g,v,E,s,w,T]),R=Lf(r.Fragment,null,Lf("span",{id:"aria-selection"},C),Lf("span",{id:"aria-focused"},P),Lf("span",{id:"aria-results"},O),Lf("span",{id:"aria-guidance"},M));return Lf(r.Fragment,null,Lf(Jm,{id:u},T&&R),Lf(Jm,{"aria-live":k,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!T&&R))},ng=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],rg=new RegExp("["+ng.map((function(e){return e.letters})).join("")+"]","g"),og={},ig=0;ig<ng.length;ig++)for(var ag=ng[ig],sg=0;sg<ag.letters.length;sg++)og[ag.letters[sg]]=ag.base;var lg=function(e){return e.replace(rg,(function(e){return og[e]}))},ug=function(e,t){void 0===t&&(t=Km);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}(lg),cg=function(e){return e.replace(/^\s+|\s+$/g,"")},dg=function(e){return"".concat(e.label," ").concat(e.value)},fg=["innerRef"];function pg(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Object.entries(e).filter((function(e){var t=tm(e,1)[0];return!n.includes(t)}));return o.reduce((function(e,t){var n=tm(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})}(nm(e,fg),"onExited","in","enter","exit","appear");return Lf("input",s({ref:t},n,{css:Af({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var hg=["boxSizing","height","overflow","paddingRight","position"],mg={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function gg(e){e.cancelable&&e.preventDefault()}function vg(e){e.stopPropagation()}function yg(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function bg(){return"ontouchstart"in window||navigator.maxTouchPoints}var wg=!("undefined"==typeof window||!window.document||!window.document.createElement),xg=0,Sg={capture:!1,passive:!1},kg=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Eg={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Cg(e){var t=e.children,n=e.lockEnabled,o=e.captureEnabled,i=function(e){var t=e.isEnabled,n=e.onBottomArrive,o=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,s=(0,r.useRef)(!1),l=(0,r.useRef)(!1),u=(0,r.useRef)(0),c=(0,r.useRef)(null),d=(0,r.useCallback)((function(e,t){if(null!==c.current){var r=c.current,u=r.scrollTop,d=r.scrollHeight,f=r.clientHeight,p=c.current,h=t>0,m=d-f-u,g=!1;m>t&&s.current&&(o&&o(e),s.current=!1),h&&l.current&&(a&&a(e),l.current=!1),h&&t>m?(n&&!s.current&&n(e),p.scrollTop=d,g=!0,s.current=!0):!h&&-t>u&&(i&&!l.current&&i(e),p.scrollTop=0,g=!0,l.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[n,o,i,a]),f=(0,r.useCallback)((function(e){d(e,e.deltaY)}),[d]),p=(0,r.useCallback)((function(e){u.current=e.changedTouches[0].clientY}),[]),h=(0,r.useCallback)((function(e){var t=u.current-e.changedTouches[0].clientY;d(e,t)}),[d]),m=(0,r.useCallback)((function(e){if(e){var t=!!wm&&{passive:!1};e.addEventListener("wheel",f,t),e.addEventListener("touchstart",p,t),e.addEventListener("touchmove",h,t)}}),[h,p,f]),g=(0,r.useCallback)((function(e){e&&(e.removeEventListener("wheel",f,!1),e.removeEventListener("touchstart",p,!1),e.removeEventListener("touchmove",h,!1))}),[h,p,f]);return(0,r.useEffect)((function(){if(t){var e=c.current;return m(e),function(){g(e)}}}),[t,m,g]),function(e){c.current=e}}({isEnabled:void 0===o||o,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),a=function(e){var t=e.isEnabled,n=e.accountForScrollbars,o=void 0===n||n,i=(0,r.useRef)({}),a=(0,r.useRef)(null),s=(0,r.useCallback)((function(e){if(wg){var t=document.body,n=t&&t.style;if(o&&hg.forEach((function(e){var t=n&&n[e];i.current[e]=t})),o&&xg<1){var r=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+r||0;Object.keys(mg).forEach((function(e){var t=mg[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&bg()&&(t.addEventListener("touchmove",gg,Sg),e&&(e.addEventListener("touchstart",yg,Sg),e.addEventListener("touchmove",vg,Sg))),xg+=1}}),[o]),l=(0,r.useCallback)((function(e){if(wg){var t=document.body,n=t&&t.style;xg=Math.max(xg-1,0),o&&xg<1&&hg.forEach((function(e){var t=i.current[e];n&&(n[e]=t)})),t&&bg()&&(t.removeEventListener("touchmove",gg,Sg),e&&(e.removeEventListener("touchstart",yg,Sg),e.removeEventListener("touchmove",vg,Sg)))}}),[o]);return(0,r.useEffect)((function(){if(t){var e=a.current;return s(e),function(){l(e)}}}),[t,s,l]),function(e){a.current=e}}({isEnabled:n});return Lf(r.Fragment,null,n&&Lf("div",{onClick:kg,css:Eg}),t((function(e){i(e),a(e)})))}var Pg={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},Og=function(e){var t=e.name,n=e.onFocus;return Lf("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Pg,value:"",onChange:function(){}})};function Tg(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function Mg(){return Tg(/^Mac/i)}var Rg=function(e){return e.label},_g=function(e){return e.value},Lg={clearIndicator:zm,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.theme,i=o.colors,a=o.borderRadius;return Yh({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:r?i.primary:i.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:r?i.primary:i.neutral30}})},dropdownIndicator:jm,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,o=n.spacing;return Yh({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return Yh({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,i=o.spacing,a=o.colors;return Yh(Yh({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},Xm),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,i=o.colors,a=o.spacing.baseUnit;return Yh({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a})},loadingMessage:_m,menu:function(e,t){var n,r=e.placement,o=e.theme,i=o.borderRadius,a=o.spacing,s=o.colors;return Yh((Wh(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),Wh(n,"position","absolute"),Wh(n,"width","100%"),Wh(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return Yh({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors;return Yh({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,i=e.cropWithEllipsis;return Yh({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors,a=e.isFocused;return Yh({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:a?i.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:Rm,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.theme,a=i.spacing,s=i.colors;return Yh({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:o?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return Yh({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,i=r.colors;return Yh({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,i=e.selectProps.controlShouldRenderValue;return Yh({alignItems:"center",display:r&&o&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Ag={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},Dg={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:gm(),captureMenuScroll:!gm(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=Yh({ignoreCase:!0,ignoreAccents:!0,stringify:dg,trim:!0,matchFrom:"any"},undefined),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,s=n.matchFrom,l=a?cg(t):t,u=a?cg(i(e)):i(e);return r&&(l=l.toLowerCase(),u=u.toLowerCase()),o&&(l=ug(l),u=lg(u)),"start"===s?u.substr(0,l.length)===l:u.indexOf(l)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:Rg,getOptionValue:_g,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Fg(e,t,n,r){return{type:"option",data:t,isDisabled:Hg(e,t,n),isSelected:Ug(e,t,n),label:Bg(e,t),value:$g(e,t),index:r}}function Vg(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return Fg(e,n,t,r)})).filter((function(t){return jg(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=Fg(e,n,t,r);return jg(e,i)?i:void 0})).filter(xm)}function Ng(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,em(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function Ig(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,em(n.options.map((function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}})))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e}),[])}function jg(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!Xg(e)||!i)&&Wg(e,{label:a,value:s,data:o},r)}var zg=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},Bg=function(e,t){return e.getOptionLabel(t)},$g=function(e,t){return e.getOptionValue(t)};function Hg(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Ug(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=$g(e,t);return n.some((function(t){return $g(e,t)===r}))}function Wg(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Xg=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Yg=1,qg=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Gh(e,t)}(n,e);var t=function(e){var t=Kh();return function(){var n,r=Qh(e);if(t){var o=Qh(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"==Hh(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}(n);function n(e){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(r=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.isAppleDevice=Mg()||Tg(/^iPhone/i)||Tg(/^iPad/i)||Mg()&&navigator.maxTouchPoints>1,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,o=n.onChange,i=n.name;t.name=i,r.ariaOnChange(e,t),o(e,t)},r.setValue=function(e,t,n){var o=r.props,i=o.closeMenuOnSelect,a=o.isMulti,s=o.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,o=t.isMulti,i=t.name,a=r.state.selectValue,s=o&&r.isOptionSelected(e,a),l=r.isOptionDisabled(e,a);if(s){var u=r.getOptionValue(e);r.setValue(a.filter((function(e){return r.getOptionValue(e)!==u})),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:i});o?r.setValue([].concat(em(a),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,o=r.getOptionValue(e),i=n.filter((function(e){return r.getOptionValue(e)!==o})),a=Sm(t,i,i[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(Sm(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],o=t.slice(0,t.length-1),i=Sm(e,o,o[0]||null);n&&r.onChange(i,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return zg(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return Ig(Vg(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return sm.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return Bg(r.props,e)},r.getOptionValue=function(e){return $g(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,o=Lg[e](t,n);o.boxSizing="border-box";var i=r.props.styles[e];return i?i(o,t):o},r.getClassNames=function(e,t){var n,o;return null===(n=(o=r.props.classNames)[e])||void 0===n?void 0:n.call(o,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,Yh(Yh({},Gm),e.components);var e},r.buildCategorizedOptions=function(){return Vg(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Ng(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:Yh({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,o=t.menuIsOpen;r.focusInput(),o?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout((function(){return r.focusInput()})))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&dm(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var o=Math.abs(n.clientX-r.initialTouchX),i=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=o>5||i>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return Xg(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,o=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,u=t.menuIsOpen,c=t.onKeyDown,d=t.tabSelectsValue,f=t.openMenuOnFocus,p=r.state,h=p.focusedOption,m=p.focusedValue,g=p.selectValue;if(!(l||"function"==typeof c&&(c(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)r.removeValue(m);else{if(!o)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!u||!d||!h||f&&r.isOptionSelected(h,g))return;r.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(u){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":u?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&i&&r.clearValue();break;case" ":if(a)return;if(!u){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":u?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":u?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!u)return;r.focusOption("pageup");break;case"PageDown":if(!u)return;r.focusOption("pagedown");break;case"Home":if(!u)return;r.focusOption("first");break;case"End":if(!u)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++Yg),r.state.selectValue=lm(e.value),e.menuIsOpen&&r.state.selectValue.length){var o=r.getFocusableOptionsWithIds(),i=r.buildFocusableOptions(),a=i.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=o,r.state.focusedOption=i[a],r.state.focusedOptionId=zg(o,i[a])}return r}return function(e,t,n){t&&qh(e.prototype,t),n&&qh(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&mm(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(mm(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a],focusedOptionId:this.getFocusedOptionId(i[a])},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Ag):Yh(Yh({},Ag),this.props.theme):Ag}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,i=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,u=s.isRtl,c=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:l,isRtl:u,options:c,selectOption:i,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Hg(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Ug(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Wg(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,i=e.inputValue,a=e.tabIndex,l=e.form,u=e.menuIsOpen,c=e.required,d=this.getComponents().Input,f=this.state,p=f.inputIsHidden,h=f.ariaSelection,m=this.commonProps,g=o||this.getElementId("input"),v=Yh(Yh(Yh({"aria-autocomplete":"list","aria-expanded":u,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},u&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?r.createElement(d,s({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:g,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:l,type:"text",value:i},v)):r.createElement(pg,s({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:im,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:l,value:""},v))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,i=t.MultiValueLabel,a=t.MultiValueRemove,l=t.SingleValue,u=t.Placeholder,c=this.commonProps,d=this.props,f=d.controlShouldRenderValue,p=d.isDisabled,h=d.isMulti,m=d.inputValue,g=d.placeholder,v=this.state,y=v.selectValue,b=v.focusedValue,w=v.isFocused;if(!this.hasValue()||!f)return m?null:r.createElement(u,s({},c,{key:"placeholder",isDisabled:p,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),g);if(h)return y.map((function(t,l){var u=t===b,d="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return r.createElement(n,s({},c,{components:{Container:o,Label:i,Remove:a},isFocused:u,isDisabled:p,key:d,index:l,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(m)return null;var x=y[0];return r.createElement(l,s({},c,{data:x,isDisabled:p}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||i)return null;var l={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,s({},t,{innerProps:l,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,a=this.state.isFocused;return e&&i?r.createElement(e,s({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:a})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return r.createElement(n,s({},o,{isDisabled:i,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,s({},t,{innerProps:i,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,i=t.Menu,a=t.MenuList,l=t.MenuPortal,u=t.LoadingMessage,c=t.NoOptionsMessage,d=t.Option,f=this.commonProps,p=this.state.focusedOption,h=this.props,m=h.captureMenuScroll,g=h.inputValue,v=h.isLoading,y=h.loadingMessage,b=h.minMenuHeight,w=h.maxMenuHeight,x=h.menuIsOpen,S=h.menuPlacement,k=h.menuPosition,E=h.menuPortalTarget,C=h.menuShouldBlockScroll,P=h.menuShouldScrollIntoView,O=h.noOptionsMessage,T=h.onMenuScrollToTop,M=h.onMenuScrollToBottom;if(!x)return null;var R,_=function(t,n){var o=t.type,i=t.data,a=t.isDisabled,l=t.isSelected,u=t.label,c=t.value,h=p===i,m=a?void 0:function(){return e.onOptionHover(i)},g=a?void 0:function(){return e.selectOption(i)},v="".concat(e.getElementId("option"),"-").concat(n),y={id:v,onClick:g,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.isAppleDevice?void 0:l};return r.createElement(d,s({},f,{innerProps:y,data:i,isDisabled:a,isSelected:l,key:v,label:u,type:o,value:c,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())R=this.getCategorizedOptions().map((function(t){if("group"===t.type){var i=t.data,a=t.options,l=t.index,u="".concat(e.getElementId("group"),"-").concat(l),c="".concat(u,"-heading");return r.createElement(n,s({},f,{key:u,data:i,options:a,Heading:o,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return _(e,"".concat(l,"-").concat(e.index))})))}if("option"===t.type)return _(t,"".concat(t.index))}));else if(v){var L=y({inputValue:g});if(null===L)return null;R=r.createElement(u,f,L)}else{var A=O({inputValue:g});if(null===A)return null;R=r.createElement(c,f,A)}var D={minMenuHeight:b,maxMenuHeight:w,menuPlacement:S,menuPosition:k,menuShouldScrollIntoView:P},F=r.createElement(Tm,s({},f,D),(function(t){var n=t.ref,o=t.placerProps,l=o.placement,u=o.maxHeight;return r.createElement(i,s({},f,D,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:v,placement:l}),r.createElement(Cg,{captureEnabled:m,onTopArrive:T,onBottomArrive:M,lockEnabled:C},(function(t){return r.createElement(a,s({},f,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":f.isMulti,id:e.getElementId("listbox")},isLoading:v,maxHeight:u,focusedOption:p}),R)})))}));return E||"fixed"===k?r.createElement(l,s({},f,{appendTo:E,controlElement:this.controlRef,menuPlacement:S,menuPosition:k}),F):F}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,i=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!o)return r.createElement(Og,{name:a,onFocus:this.onValueInputFocus});if(a&&!o){if(i){if(n){var u=l.map((function(t){return e.getOptionValue(t)})).join(n);return r.createElement("input",{name:a,type:"hidden",value:u})}var c=l.length>0?l.map((function(t,n){return r.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})})):r.createElement("input",{name:a,type:"hidden",value:""});return r.createElement("div",null,c)}var d=l[0]?this.getOptionValue(l[0]):"";return r.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,i=t.focusedValue,a=t.isFocused,l=t.selectValue,u=this.getFocusableOptions();return r.createElement(tg,s({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:i,isFocused:a,selectValue:l,focusableOptions:u,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,i=e.ValueContainer,a=this.props,l=a.className,u=a.id,c=a.isDisabled,d=a.menuIsOpen,f=this.state.isFocused,p=this.commonProps=this.getCommonProps();return r.createElement(o,s({},p,{className:l,innerProps:{id:u,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:f}),this.renderLiveRegion(),r.createElement(t,s({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:f,menuIsOpen:d}),r.createElement(i,s({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),r.createElement(n,s({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,u=e.options,c=e.value,d=e.menuIsOpen,f=e.inputValue,p=e.isMulti,h=lm(c),m={};if(n&&(c!==n.value||u!==n.options||d!==n.menuIsOpen||f!==n.inputValue)){var g=d?function(e,t){return Ng(Vg(e,t))}(e,h):[],v=d?Ig(Vg(e,h),"".concat(l,"-option")):[],y=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,b=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);m={selectValue:h,focusedOption:b,focusedOptionId:zg(v,b),focusableOptionsWithIds:v,focusedValue:y,clearFocusValueOnUpdate:!1}}var w=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},x=i,S=a&&s;return a&&!S&&(x={value:Sm(p,h,h[0]||null),options:h,action:"initial-input-focus"},S=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(x=null),Yh(Yh(Yh({},m),w),{},{prevProps:e,ariaSelection:x,prevWasFocused:S})}}]),n}(r.Component);qg.defaultProps=Dg;var Gg=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"],Qg=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],Kg=function(){var e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0,n=String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toLowerCase(),r=String(t.getOptionValue(e)).toLowerCase(),o=String(t.getOptionLabel(e)).toLowerCase();return r===n||o===n},Zg={formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,n,r){return!(!e||t.some((function(t){return Kg(e,t,r)}))||n.some((function(t){return Kg(e,t,r)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}},Jg=(0,r.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,o=e.defaultMenuIsOpen,i=void 0!==o&&o,a=e.defaultValue,s=void 0===a?null:a,l=e.inputValue,u=e.menuIsOpen,c=e.onChange,d=e.onInputChange,f=e.onMenuClose,p=e.onMenuOpen,h=e.value,m=nm(e,Gg),g=tm((0,r.useState)(void 0!==l?l:n),2),v=g[0],y=g[1],b=tm((0,r.useState)(void 0!==u?u:i),2),w=b[0],x=b[1],S=tm((0,r.useState)(void 0!==h?h:s),2),k=S[0],E=S[1],C=(0,r.useCallback)((function(e,t){"function"==typeof c&&c(e,t),E(e)}),[c]),P=(0,r.useCallback)((function(e,t){var n;"function"==typeof d&&(n=d(e,t)),y(void 0!==n?n:e)}),[d]),O=(0,r.useCallback)((function(){"function"==typeof p&&p(),x(!0)}),[p]),T=(0,r.useCallback)((function(){"function"==typeof f&&f(),x(!1)}),[f]),M=void 0!==l?l:v,R=void 0!==u?u:w,_=void 0!==h?h:k;return Yh(Yh({},m),{},{inputValue:M,menuIsOpen:R,onChange:C,onInputChange:P,onMenuClose:T,onMenuOpen:O,value:_})}(e),o=function(e){var t=e.allowCreateWhileLoading,n=void 0!==t&&t,o=e.createOptionPosition,i=void 0===o?"last":o,a=e.formatCreateLabel,s=void 0===a?Zg.formatCreateLabel:a,l=e.isValidNewOption,u=void 0===l?Zg.isValidNewOption:l,c=e.getNewOptionData,d=void 0===c?Zg.getNewOptionData:c,f=e.onCreateOption,p=e.options,h=void 0===p?[]:p,m=e.onChange,g=nm(e,Qg),v=g.getOptionValue,y=void 0===v?_g:v,b=g.getOptionLabel,w=void 0===b?Rg:b,x=g.inputValue,S=g.isLoading,k=g.isMulti,E=g.value,C=g.name,P=(0,r.useMemo)((function(){return u(x,lm(E),h,{getOptionValue:y,getOptionLabel:w})?d(x,s(x)):void 0}),[s,d,w,y,x,u,h,E]),O=(0,r.useMemo)((function(){return!n&&S||!P?h:"first"===i?[P].concat(em(h)):[].concat(em(h),[P])}),[n,i,S,P,h]),T=(0,r.useCallback)((function(e,t){if("select-option"!==t.action)return m(e,t);var n=Array.isArray(e)?e:[e];if(n[n.length-1]!==P)m(e,t);else if(f)f(x);else{var r=d(x,x),o={action:"create-option",name:C,option:r};m(Sm(k,[].concat(em(lm(E)),[r]),r),o)}}),[d,x,k,C,P,f,m,E]);return Yh(Yh({},g),{},{options:O,onChange:T})}(n);return r.createElement(qg,s({ref:t},o))})),ev=Jg,tv=o(848);const nv=({isCollabActive:e,activationUrl:t})=>{const[n,o]=(0,r.useState)("yes"===e);return(0,tv.jsx)("div",{children:n?(0,tv.jsx)(Mf,{isSecondary:!0,onClick:()=>{o(!1)},className:"avc-deactivate-project",children:window.avcSettings.i18n.disconnect}):(0,tv.jsx)("div",{className:"avc-activate-project",children:(0,tv.jsx)(Mf,{isPrimary:!0,href:"javascript:void(0)",className:"avc-activate-project avc-trigger-activate",target:"_blank",children:window.avcSettings.i18n.connect})})})},rv=({pluginVersion:e,notice:t})=>{if(!e||!t)return null;const n=t.enabled&&Array.isArray(t.showForVersions)&&t.showForVersions.includes(e),o="avc_notice_dismissed_version",[i,a]=(0,r.useState)((()=>{if(!n)return!1;try{return localStorage.getItem(o)!==e}catch(e){return!0}}));return n&&i?(0,tv.jsxs)("div",{className:"avc-notice",children:[(0,tv.jsxs)("div",{className:"avc-notice-content",children:[t.title&&(0,tv.jsx)("div",{className:"avc-notice-title",children:t.title}),t.descriptionHtml&&(0,tv.jsx)("p",{className:"avc-notice-description",dangerouslySetInnerHTML:{__html:t.descriptionHtml}})]}),(0,tv.jsx)("button",{type:"button","aria-label":"Dismiss notice",className:"avc-notice-close",onClick:()=>{if(a(!1),e)try{localStorage.setItem(o,e)}catch(e){}},children:"×"})]}):null},ov=()=>{const[e,t]=(0,r.useState)(window.avcSettings.settings),[n,o]=(0,r.useState)(""),[i,a]=(0,r.useState)(!1),s=(e,n)=>{t((t=>({...t,[e]:n})))},l=e=>{const t=document.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",document.body.appendChild(t),t.select();try{document.execCommand("copy"),a(!0),setTimeout((()=>a(!1)),2e3)}catch(e){console.error("Fallback: Copy failed",e),alert("Failed to copy the link.")}document.body.removeChild(t)};return(0,tv.jsxs)("div",{className:"avc-settings-layout",children:[(0,tv.jsxs)("div",{className:"avc_setting_parent",children:[(0,tv.jsxs)("div",{className:"avc-setting-block",children:[(0,tv.jsx)("img",{src:window.avcSettings.logoUrl,alt:"Atarim Logo",style:{maxWidth:"120px",marginBottom:"10px"}}),"yes"===window.avcSettings.isCollabActive?(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsx)("h3",{children:window.avcSettings.i18n.connected}),(0,tv.jsx)("p",{dangerouslySetInnerHTML:{__html:window.avcSettings.i18n.subheader}})]}):(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsx)("h3",{children:window.avcSettings.i18n.connectHeading}),(0,tv.jsx)("p",{children:window.avcSettings.i18n.connectDescription}),(0,tv.jsx)("p",{dangerouslySetInnerHTML:{__html:window.avcSettings.i18n.connectCta}})]})]}),(0,tv.jsx)("div",{className:"avc-setting-block",children:(0,tv.jsx)(nv,{isCollabActive:window.avcSettings.isCollabActive,activationUrl:window.avcSettings.activationUrl})}),"yes"===window.avcSettings.isCollabActive&&(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsxs)("div",{className:"avc-setting-block avc-guest-mode",children:[(0,tv.jsx)("label",{className:"components-base-control__label",children:window.avcSettings.i18n.guestMode}),(0,tv.jsxs)("div",{className:"avc-guest-link",children:[(0,tv.jsx)("span",{className:"avc-guest-collab-link",children:window.avcSettings.i18n.guestLinkText1}),(0,tv.jsx)(Mf,{onClick:()=>{const e=window.avcSettings.avc_collab_link;navigator.clipboard&&window.isSecureContext?navigator.clipboard.writeText(e).then((()=>{a(!0),setTimeout((()=>a(!1)),2e3)})).catch((t=>{console.error("Copy failed:",t),l(e)})):l(e)},variant:"primary",children:i?window.avcSettings.i18n.copied:window.avcSettings.i18n.copyLink}),(0,tv.jsx)("span",{className:"avc-guest-collab-link",children:window.avcSettings.i18n.guestLinkText2})]})]}),(0,tv.jsxs)("div",{className:"avc-setting-block avc-who-can-collaborate",children:[(0,tv.jsx)("label",{className:"components-base-control__label",children:window.avcSettings.i18n.whoCan}),(0,tv.jsx)(ev,{isMulti:!0,value:e.avc_selected_role.map((e=>({label:e,value:e}))),options:window.avcSettings.availableRoles.map((e=>({label:e.label,value:e.value}))),onChange:e=>s("avc_selected_role",e.map((e=>e.value)))})]}),(0,tv.jsxs)("div",{className:"avc-setting-block avc-auto-login-user",children:[(0,tv.jsx)("label",{className:"components-base-control__label",children:window.avcSettings.i18n.autoLoginAs}),(0,tv.jsx)($h,{value:e.avc_website_developer,options:[{label:window.avcSettings.i18n.selectUserPlaceholder,value:""},...window.avcSettings.users.map((e=>({label:`${e.display_name} (${e.user_email})`,value:e.user_email})))],onChange:e=>s("avc_website_developer",e)})]}),(0,tv.jsx)("div",{className:"avc-setting-block",children:(0,tv.jsx)(Mf,{variant:"primary",onClick:async()=>{const t=await fetch(`${window.avcSettings.ajaxurl}?action=avc_save_settings`,{method:"POST",headers:{"Content-Type":"application/json","X- WP-Nonce":window.avcSettings.nonce},body:JSON.stringify(e)});if(t.ok){const e=await t.json();e.success?(o("Settings saved successfully!"),setTimeout((()=>o("")),3e3)):alert("Failed to save settings: "+e.data.message)}else alert("Error saving settings. Please try again.")},children:window.avcSettings.i18n.saveButton})})]}),n&&(0,tv.jsx)("div",{className:"avc_success_message",style:{marginTop:"10px",color:"green"},children:n})]}),(0,tv.jsx)("div",{className:"avc-notice-column",children:(0,tv.jsx)(rv,{pluginVersion:window.avcSettings.pluginVersion,notice:window.avcSettings.notice})})]})},iv=document.getElementById("avc-settings-root");iv&&(0,a.H)(iv).render((0,tv.jsx)(ov,{}))})()})();9 "~":__("Tilde")};return[...e(n),t].map((e=>{var t;return Sl(null!==(t=o[e])&&void 0!==t?t:e)})).join(r?" ":" + ")})),kl(El,(e=>(t,n,r=vl)=>{const o=e(r),i=function(e){return[yl,bl,wl,xl].filter((t=>e[`${t}Key`]))}(t),a={Comma:",",Backslash:"\\",IntlRo:"\\",IntlYen:"\\"},s=o.filter((e=>!i.includes(e))),l=i.filter((e=>!o.includes(e)));if(s.length>0||l.length>0)return!1;let u=t.key.toLowerCase();return n?(t.altKey&&1===n.length&&(u=String.fromCharCode(t.keyCode).toLowerCase()),t.shiftKey&&1===n.length&&a[t.code]&&(u=a[t.code]),"del"===n&&(n="delete"),u===n.toLowerCase()):o.includes(u)}));const Nl={focusable:e,tabbable:t},Il=function(){return function(){const e=(0,r.useRef)();return(0,r.useCallback)((t=>{t?e.current=(e=>{function t(t){const{key:n,shiftKey:r,target:o}=t;if("Tab"!==n)return;const i=r?"findPrevious":"findNext",a=Nl.tabbable[i](o)||null;if(o.contains(a))return t.preventDefault(),void a?.focus();if(e.contains(a))return;const s=r?"append":"prepend",{ownerDocument:l}=e,u=l.createElement("div");u.tabIndex=-1,e[s](u),u.addEventListener("blur",(()=>e.removeChild(u))),u.focus()}return e.addEventListener("keydown",t),()=>{e.removeEventListener("keydown",t)}})(t):e.current&&e.current()}),[])}()};let jl=null;const zl=["button","submit"];const Bl=function(e){const t=(0,r.useRef)(),{constrainTabbing:n=!1!==e.focusOnMount}=e;(0,r.useEffect)((()=>{t.current=e}),Object.values(e));const o=Il(),i=function(e="firstElement"){const t=(0,r.useRef)(e),n=e=>{e.focus({preventScroll:!0})},o=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e}),[e]),(0,r.useEffect)((()=>()=>{o.current&&clearTimeout(o.current)}),[]),(0,r.useCallback)((e=>{var r;e&&!1!==t.current&&(e.contains(null!==(r=e.ownerDocument?.activeElement)&&void 0!==r?r:null)||("firstElement"!==t.current?n(e):o.current=setTimeout((()=>{const t=Nl.tabbable.find(e)[0];t&&n(t)}),0)))}),[])}(e.focusOnMount),a=function(e){const t=(0,r.useRef)(null),n=(0,r.useRef)(null),o=(0,r.useRef)(e);return(0,r.useEffect)((()=>{o.current=e}),[e]),(0,r.useCallback)((e=>{if(e){if(t.current=e,n.current)return;n.current=e.ownerDocument.activeElement}else if(n.current){const e=t.current?.contains(t.current?.ownerDocument.activeElement);var r;if(t.current?.isConnected&&!e)return void(null!==(r=jl)&&void 0!==r||(jl=n.current));o.current?o.current():(n.current.isConnected?n.current:jl)?.focus(),jl=null}}),[])}(),s=function(e){const t=(0,r.useRef)(e);(0,r.useEffect)((()=>{t.current=e}),[e]);const n=(0,r.useRef)(!1),o=(0,r.useRef)(),i=(0,r.useCallback)((()=>{clearTimeout(o.current)}),[]);(0,r.useEffect)((()=>()=>i()),[]),(0,r.useEffect)((()=>{e||i()}),[e,i]);const a=(0,r.useCallback)((e=>{const{type:t,target:r}=e;["mouseup","touchend"].includes(t)?n.current=!1:function(e){if(!(e instanceof window.HTMLElement))return!1;switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return zl.includes(e.type)}return!1}(r)&&(n.current=!0)}),[]),s=(0,r.useCallback)((e=>{if(e.persist(),n.current)return;const r=e.target.getAttribute("data-unstable-ignore-focus-outside-for-relatedtarget");r&&e.relatedTarget?.closest(r)||(o.current=setTimeout((()=>{document.hasFocus()?"function"==typeof t.current&&t.current(e):e.preventDefault()}),0))}),[]);return{onFocus:i,onMouseDown:a,onMouseUp:a,onTouchStart:a,onTouchEnd:a,onBlur:s}}((e=>{t.current?.__unstableOnClose?t.current.__unstableOnClose("focus-outside",e):t.current?.onClose&&t.current.onClose()})),l=(0,r.useCallback)((e=>{e&&e.addEventListener("keydown",(e=>{27===e.keyCode&&!e.defaultPrevented&&t.current?.onClose&&(e.preventDefault(),t.current.onClose())}))}),[]);return[W([n?o:null,!1!==e.focusOnMount?a:null,!1!==e.focusOnMount?i:null,l]),{...s,tabIndex:-1}]};function $l(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=$l(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const Hl=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=$l(e))&&(r&&(r+=" "),r+=t);return r},Ul=e=>(0,r.createElement)("path",e),Wl=(0,r.forwardRef)((({className:e,isPressed:t,...n},o)=>{const i={...n,className:Hl(e,{"is-pressed":t})||void 0,"aria-hidden":!0,focusable:!1};return(0,r.createElement)("svg",{...i,ref:o})}));Wl.displayName="SVG";const Xl=(0,r.createElement)(Wl,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(Ul,{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 Yl(e){return e.ownerDocument.defaultView,e.ownerDocument.defaultView.getComputedStyle(e)}function ql(e,t="vertical"){if(e){if(("vertical"===t||"all"===t)&&e.scrollHeight>e.clientHeight){const{overflowY:t}=Yl(e);if(/(auto|scroll)/.test(t))return e}if(("horizontal"===t||"all"===t)&&e.scrollWidth>e.clientWidth){const{overflowX:t}=Yl(e);if(/(auto|scroll)/.test(t))return e}return e.ownerDocument===e.parentNode?e:ql(e.parentNode,t)}}let Gl=0;function Ql(e){const t=document.scrollingElement||document.body;e&&(Gl=t.scrollTop);const n=e?"add":"remove";t.classList[n]("lockscroll"),document.documentElement.classList[n]("lockscroll"),e||(t.scrollTop=Gl)}let Kl=0;const Zl=function(){return(0,r.useEffect)((()=>(0===Kl&&Ql(!0),++Kl,()=>{1===Kl&&Ql(!1),--Kl})),[]),null},Jl=Symbol(),eu=Symbol(),tu=Symbol();const nu=Object.getPrototypeOf,ru=new WeakMap,ou=e=>e&&(ru.has(e)?ru.get(e):nu(e)===Object.prototype||nu(e)===Array.prototype),iu=e=>"object"==typeof e&&null!==e,au=new WeakMap,su=e=>e[tu]||e,lu=(e,t,n)=>{if(!ou(e))return e;const r=su(e),o=(e=>Object.isFrozen(e)||Object.values(Object.getOwnPropertyDescriptors(e)).some((e=>!e.writable)))(r);let i=n&&n.get(r);return i&&i[1].f===o||(i=((e,t)=>{const n={f:t};let r=!1;const o=(t,o)=>{if(!r){let r=n.a.get(e);r||(r=new Set,n.a.set(e,r)),o&&r.has(Jl)||r.add(t)}},i={get:(t,r)=>r===tu?e:(o(r),lu(t[r],n.a,n.c)),has:(t,i)=>i===eu?(r=!0,n.a.delete(e),!0):(o(i),i in t),getOwnPropertyDescriptor:(e,t)=>(o(t,!0),Object.getOwnPropertyDescriptor(e,t)),ownKeys:e=>(o(Jl),Reflect.ownKeys(e))};return t&&(i.set=i.deleteProperty=()=>!1),[i,n]})(r,o),i[1].p=((e,t)=>new Proxy(e,t))(o?(e=>{let t=au.get(e);if(!t){if(Array.isArray(e))t=Array.from(e);else{const n=Object.getOwnPropertyDescriptors(e);Object.values(n).forEach((e=>{e.configurable=!0})),t=Object.create(nu(e),n)}au.set(e,t)}return t})(r):r,i[0]),n&&n.set(r,i)),i[1].a=t,i[1].c=n,i[1].p},uu=(e,t)=>{const n=Reflect.ownKeys(e),r=Reflect.ownKeys(t);return n.length!==r.length||n.some(((e,t)=>e!==r[t]))},cu=(e,t,n,r)=>{if(Object.is(e,t))return!1;if(!iu(e)||!iu(t))return!0;const o=n.get(su(e));if(!o)return!0;if(r){const n=r.get(e);if(n&&n.n===t)return n.g;r.set(e,{n:t,g:!1})}let i=null;for(const a of o){const o=a===Jl?uu(e,t):cu(e[a],t[a],n,r);if(!0!==o&&!1!==o||(i=o),i)break}return null===i&&(i=!0),r&&r.set(e,{n:t,g:i}),i},du=(e,t=!0)=>{ru.set(e,t)};var fu=o(888);const pu=e=>"object"==typeof e&&null!==e,hu=new WeakSet,mu=Symbol("VERSION"),gu=Symbol("LISTENERS"),vu=Symbol("SNAPSHOT"),[yu]=((e=Object.is,t=(e,t)=>new Proxy(e,t),n=e=>pu(e)&&!hu.has(e)&&(Array.isArray(e)||!(Symbol.iterator in e))&&!(e instanceof WeakMap)&&!(e instanceof WeakSet)&&!(e instanceof Error)&&!(e instanceof Number)&&!(e instanceof Date)&&!(e instanceof String)&&!(e instanceof RegExp)&&!(e instanceof ArrayBuffer),r=Symbol("PROMISE_RESULT"),o=Symbol("PROMISE_ERROR"),i=new WeakMap,a=(e,t,n)=>{const a=i.get(n);if((null==a?void 0:a[0])===e)return a[1];const s=Array.isArray(t)?[]:Object.create(Object.getPrototypeOf(t));return du(s,!0),i.set(n,[e,s]),Reflect.ownKeys(t).forEach((e=>{const i=Reflect.get(t,e,n);if(hu.has(i))du(i,!1),s[e]=i;else if(i instanceof Promise)if(r in i)s[e]=i[r];else{const t=i[o]||i;Object.defineProperty(s,e,{get(){if(r in i)return i[r];throw t}})}else(null==i?void 0:i[gu])?s[e]=i[vu]:s[e]=i})),Object.freeze(s)},s=new WeakMap,l=[1],u=i=>{if(!pu(i))throw new Error("object required");const u=s.get(i);if(u)return u;let c=l[0];const d=new Set,f=(e,t=++l[0])=>{c!==t&&(c=t,d.forEach((n=>n(e,t))))},p=new Map,h=e=>{let t=p.get(e);return t||(t=(t,n)=>{const r=[...t];r[1]=[e,...r[1]],f(r,n)},p.set(e,t)),t},m=e=>{const t=p.get(e);return p.delete(e),t},g=Array.isArray(i)?[]:Object.create(Object.getPrototypeOf(i)),v={get:(e,t,n)=>t===mu?c:t===gu?d:t===vu?a(c,e,n):Reflect.get(e,t,n),deleteProperty(e,t){const n=Reflect.get(e,t),r=null==n?void 0:n[gu];r&&r.delete(m(t));const o=Reflect.deleteProperty(e,t);return o&&f(["delete",[t],n]),o},set(t,i,a,s){var l;const u=Reflect.has(t,i),c=Reflect.get(t,i,s);if(u&&e(c,a))return!0;const d=null==c?void 0:c[gu];let p;return d&&d.delete(m(i)),pu(a)&&(a=(e=>ou(e)&&e[tu]||null)(a)||a),(null==(l=Object.getOwnPropertyDescriptor(t,i))?void 0:l.set)?p=a:a instanceof Promise?p=a.then((e=>(p[r]=e,f(["resolve",[i],e]),e))).catch((e=>{p[o]=e,f(["reject",[i],e])})):(null==a?void 0:a[gu])?(p=a,p[gu].add(h(i))):n(a)?(p=bu(a),p[gu].add(h(i))):p=a,Reflect.set(t,i,p,s),f(["set",[i],a,c]),!0}},y=t(g,v);return s.set(i,y),Reflect.ownKeys(i).forEach((e=>{const t=Object.getOwnPropertyDescriptor(i,e);t.get||t.set?Object.defineProperty(g,e,t):y[e]=i[e]})),y})=>[u,hu,mu,gu,vu,e,t,n,r,o,i,a,s,l])();function bu(e={}){return yu(e)}function wu(e){return(null==e?void 0:e[vu])||console.warn("Please use proxy object"),e[vu]}const{useSyncExternalStore:xu}=fu;function Su(e){const t=bu({data:Array.from(e||[]),has(e){return this.data.some((t=>t[0]===e))},set(e,t){const n=this.data.find((t=>t[0]===e));return n?n[1]=t:this.data.push([e,t]),this},get(e){var t;return null==(t=this.data.find((t=>t[0]===e)))?void 0:t[1]},delete(e){const t=this.data.findIndex((t=>t[0]===e));return-1!==t&&(this.data.splice(t,1),!0)},clear(){this.data.splice(0)},get size(){return this.data.length},toJSON:()=>({}),forEach(e){this.data.forEach((t=>{e(t[1],t[0],this)}))},keys(){return this.data.map((e=>e[0])).values()},values(){return this.data.map((e=>e[1])).values()},entries(){return new Map(this.data).entries()},get[Symbol.toStringTag](){return"Map"},[Symbol.iterator](){return this.entries()}});return Object.defineProperties(t,{data:{enumerable:!1},size:{enumerable:!1},toJSON:{enumerable:!1}}),Object.seal(t),t}Symbol();const ku=(0,r.createContext)({slots:Su(),fills:Su(),registerSlot:()=>{"undefined"!=typeof process&&process.env},updateSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{}});function Eu(e){const{updateSlot:t,unregisterSlot:n,registerFill:o,unregisterFill:i,...a}=(0,r.useContext)(ku),s=function(e,t){const n=null==t?void 0:t.sync,o=(0,r.useRef)(),i=(0,r.useRef)();let a=!0;const s=xu((0,r.useCallback)((t=>{const r=function(e,t,n){let r;(null==e?void 0:e[gu])||console.warn("Please use proxy object");const o=[],i=e=>{o.push(e),n?t(o.splice(0)):r||(r=Promise.resolve().then((()=>{r=void 0,t(o.splice(0))})))};return e[gu].add(i),()=>{e[gu].delete(i)}}(e,t,n);return t(),r}),[e,n]),(()=>{const t=wu(e);try{if(!a&&o.current&&i.current&&!cu(o.current,t,i.current,new WeakMap))return o.current}catch(e){}return t}),(()=>wu(e)));a=!1;const l=new WeakMap;(0,r.useEffect)((()=>{o.current=s,i.current=l})),((e,t)=>{const n=(0,r.useRef)();(0,r.useEffect)((()=>{n.current=((e,t)=>{const n=[],r=new WeakSet,o=(e,i)=>{if(r.has(e))return;iu(e)&&r.add(e);const a=iu(e)&&t.get(su(e));a?a.forEach((t=>{o(e[t],i?[...i,t]:[t])})):i&&n.push(i)};return o(e),n})(e,t)})),(0,r.useDebugValue)(n.current)})(s,l);const u=(0,r.useMemo)((()=>new WeakMap),[]);return lu(s,l,u)}(a.slots,{sync:!0});return{...s.get(e),updateSlot:(0,r.useCallback)((n=>{t(e,n)}),[e,t]),unregisterSlot:(0,r.useCallback)((t=>{n(e,t)}),[e,n]),registerFill:(0,r.useCallback)((t=>{o(e,t)}),[e,o]),unregisterFill:(0,r.useCallback)((t=>{i(e,t)}),[e,i])}}const Cu=(0,r.createContext)({registerSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},getSlot:()=>{},getFills:()=>{},subscribe:()=>{}});function Pu(e){let{name:t,children:n,registerFill:o,unregisterFill:i}=e;const a=(e=>{const{getSlot:t,subscribe:n}=(0,r.useContext)(Cu);return(0,r.useSyncExternalStore)(n,(()=>t(e)),(()=>t(e)))})(t),s=(0,r.useRef)({name:t,children:n});return(0,r.useLayoutEffect)((()=>{const e=s.current;return o(t,e),()=>i(t,e)}),[]),(0,r.useLayoutEffect)((()=>{s.current.children=n,a&&a.forceUpdate()}),[n]),(0,r.useLayoutEffect)((()=>{t!==s.current.name&&(i(s.current.name,s.current),s.current.name=t,o(t,s.current))}),[t]),a&&a.node?("function"==typeof n&&(n=n(a.props.fillProps)),(0,mt.createPortal)(n,a.node)):null}const Ou=e=>(0,r.createElement)(Cu.Consumer,null,(t=>{let{registerFill:n,unregisterFill:o}=t;return(0,r.createElement)(Pu,s({},e,{registerFill:n,unregisterFill:o}))}));function Tu(e){return"function"==typeof e}class Mu extends r.Component{constructor(){super(...arguments),this.isUnmounted=!1,this.bindNode=this.bindNode.bind(this)}componentDidMount(){const{registerSlot:e}=this.props;this.isUnmounted=!1,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(){var e;const{children:t,name:n,fillProps:o={},getFills:i}=this.props,a=(null!==(e=i(n,this))&&void 0!==e?e:[]).map((e=>{const t=Tu(e.children)?e.children(o):e.children;return r.Children.map(t,((e,t)=>{if(!e||"string"==typeof e)return e;const n=e.key||t;return(0,r.cloneElement)(e,{key:n})}))})).filter((e=>!(e=>"number"!=typeof e&&("string"==typeof e?.valueOf()||Array.isArray(e)?!e.length:!e))(e)));return(0,r.createElement)(r.Fragment,null,Tu(t)?t(a):a)}}const Ru=e=>(0,r.createElement)(Cu.Consumer,null,(t=>{let{registerSlot:n,unregisterSlot:o,getFills:i}=t;return(0,r.createElement)(Mu,s({},e,{registerSlot:n,unregisterSlot:o,getFills:i}))}));var _u=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;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Lu=Math.abs,Au=String.fromCharCode,Du=Object.assign;function Fu(e){return e.trim()}function Vu(e,t,n){return e.replace(t,n)}function Nu(e,t){return e.indexOf(t)}function Iu(e,t){return 0|e.charCodeAt(t)}function ju(e,t,n){return e.slice(t,n)}function zu(e){return e.length}function Bu(e){return e.length}function $u(e,t){return t.push(e),e}var Hu=1,Uu=1,Wu=0,Xu=0,Yu=0,qu="";function Gu(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Hu,column:Uu,length:a,return:""}}function Qu(e,t){return Du(Gu("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ku(){return Yu=Xu>0?Iu(qu,--Xu):0,Uu--,10===Yu&&(Uu=1,Hu--),Yu}function Zu(){return Yu=Xu<Wu?Iu(qu,Xu++):0,Uu++,10===Yu&&(Uu=1,Hu++),Yu}function Ju(){return Iu(qu,Xu)}function ec(){return Xu}function tc(e,t){return ju(qu,e,t)}function nc(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function rc(e){return Hu=Uu=1,Wu=zu(qu=e),Xu=0,[]}function oc(e){return qu="",e}function ic(e){return Fu(tc(Xu-1,lc(91===e?e+2:40===e?e+1:e)))}function ac(e){for(;(Yu=Ju())&&Yu<33;)Zu();return nc(e)>2||nc(Yu)>3?"":" "}function sc(e,t){for(;--t&&Zu()&&!(Yu<48||Yu>102||Yu>57&&Yu<65||Yu>70&&Yu<97););return tc(e,ec()+(t<6&&32==Ju()&&32==Zu()))}function lc(e){for(;Zu();)switch(Yu){case e:return Xu;case 34:case 39:34!==e&&39!==e&&lc(Yu);break;case 40:41===e&&lc(e);break;case 92:Zu()}return Xu}function uc(e,t){for(;Zu()&&e+Yu!==57&&(e+Yu!==84||47!==Ju()););return"/*"+tc(t,Xu-1)+"*"+Au(47===e?e:Zu())}function cc(e){for(;!nc(Ju());)Zu();return tc(e,Xu)}var dc="-ms-",fc="-moz-",pc="-webkit-",hc="comm",mc="rule",gc="decl",vc="@keyframes";function yc(e,t){for(var n="",r=Bu(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function bc(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case gc:return e.return=e.return||e.value;case hc:return"";case vc:return e.return=e.value+"{"+yc(e.children,r)+"}";case mc:e.value=e.props.join(",")}return zu(n=yc(e.children,r))?e.return=e.value+"{"+n+"}":""}function wc(e){return oc(xc("",null,null,null,[""],e=rc(e),0,[0],e))}function xc(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,g=1,v=1,y=0,b="",w=o,x=i,S=r,k=b;g;)switch(h=y,y=Zu()){case 40:if(108!=h&&58==Iu(k,d-1)){-1!=Nu(k+=Vu(ic(y),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:k+=ic(y);break;case 9:case 10:case 13:case 32:k+=ac(h);break;case 92:k+=sc(ec()-1,7);continue;case 47:switch(Ju()){case 42:case 47:$u(kc(uc(Zu(),ec()),t,n),l);break;default:k+="/"}break;case 123*m:s[u++]=zu(k)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+c:-1==v&&(k=Vu(k,/\f/g,"")),p>0&&zu(k)-d&&$u(p>32?Ec(k+";",r,n,d-1):Ec(Vu(k," ","")+";",r,n,d-2),l);break;case 59:k+=";";default:if($u(S=Sc(k,t,n,u,c,o,s,b,w=[],x=[],d),i),123===y)if(0===c)xc(k,t,S,S,w,i,d,s,x);else switch(99===f&&110===Iu(k,3)?100:f){case 100:case 108:case 109:case 115:xc(e,S,S,r&&$u(Sc(e,S,S,0,0,o,s,b,o,w=[],d),x),o,x,d,s,r?w:x);break;default:xc(k,S,S,S,[""],x,0,s,x)}}u=c=p=0,m=v=1,b=k="",d=a;break;case 58:d=1+zu(k),p=h;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==Ku())continue;switch(k+=Au(y),y*m){case 38:v=c>0?1:(k+="\f",-1);break;case 44:s[u++]=(zu(k)-1)*v,v=1;break;case 64:45===Ju()&&(k+=ic(Zu())),f=Ju(),c=d=zu(b=k+=cc(ec())),y++;break;case 45:45===h&&2==zu(k)&&(m=0)}}return i}function Sc(e,t,n,r,o,i,a,s,l,u,c){for(var d=o-1,f=0===o?i:[""],p=Bu(f),h=0,m=0,g=0;h<r;++h)for(var v=0,y=ju(e,d+1,d=Lu(m=a[h])),b=e;v<p;++v)(b=Fu(m>0?f[v]+" "+y:Vu(y,/&\f/g,f[v])))&&(l[g++]=b);return Gu(e,t,n,0===o?mc:s,l,u,c)}function kc(e,t,n){return Gu(e,t,n,hc,Au(Yu),ju(e,2,-2),0)}function Ec(e,t,n,r){return Gu(e,t,n,gc,ju(e,0,r),ju(e,r+1,-1),r)}var Cc=function(e,t,n){for(var r=0,o=0;r=o,o=Ju(),38===r&&12===o&&(t[n]=1),!nc(o);)Zu();return tc(e,Xu)},Pc=new WeakMap,Oc=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)||Pc.get(n))&&!r){Pc.set(e,!0);for(var o=[],i=function(e,t){return oc(function(e,t){var n=-1,r=44;do{switch(nc(r)){case 0:38===r&&12===Ju()&&(t[n]=1),e[n]+=Cc(Xu-1,t,n);break;case 2:e[n]+=ic(r);break;case 4:if(44===r){e[++n]=58===Ju()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Au(r)}}while(r=Zu());return e}(rc(e),t))}(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var u=0;u<a.length;u++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[u]):a[u]+" "+i[s]}}},Tc=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Mc(e,t){switch(function(e,t){return 45^Iu(e,0)?(((t<<2^Iu(e,0))<<2^Iu(e,1))<<2^Iu(e,2))<<2^Iu(e,3):0}(e,t)){case 5103:return pc+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return pc+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return pc+e+fc+e+dc+e+e;case 6828:case 4268:return pc+e+dc+e+e;case 6165:return pc+e+dc+"flex-"+e+e;case 5187:return pc+e+Vu(e,/(\w+).+(:[^]+)/,pc+"box-$1$2"+dc+"flex-$1$2")+e;case 5443:return pc+e+dc+"flex-item-"+Vu(e,/flex-|-self/,"")+e;case 4675:return pc+e+dc+"flex-line-pack"+Vu(e,/align-content|flex-|-self/,"")+e;case 5548:return pc+e+dc+Vu(e,"shrink","negative")+e;case 5292:return pc+e+dc+Vu(e,"basis","preferred-size")+e;case 6060:return pc+"box-"+Vu(e,"-grow","")+pc+e+dc+Vu(e,"grow","positive")+e;case 4554:return pc+Vu(e,/([^-])(transform)/g,"$1"+pc+"$2")+e;case 6187:return Vu(Vu(Vu(e,/(zoom-|grab)/,pc+"$1"),/(image-set)/,pc+"$1"),e,"")+e;case 5495:case 3959:return Vu(e,/(image-set\([^]*)/,pc+"$1$`$1");case 4968:return Vu(Vu(e,/(.+:)(flex-)?(.*)/,pc+"box-pack:$3"+dc+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+pc+e+e;case 4095:case 3583:case 4068:case 2532:return Vu(e,/(.+)-inline(.+)/,pc+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(zu(e)-1-t>6)switch(Iu(e,t+1)){case 109:if(45!==Iu(e,t+4))break;case 102:return Vu(e,/(.+:)(.+)-([^]+)/,"$1"+pc+"$2-$3$1"+fc+(108==Iu(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Nu(e,"stretch")?Mc(Vu(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Iu(e,t+1))break;case 6444:switch(Iu(e,zu(e)-3-(~Nu(e,"!important")&&10))){case 107:return Vu(e,":",":"+pc)+e;case 101:return Vu(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+pc+(45===Iu(e,14)?"inline-":"")+"box$3$1"+pc+"$2$3$1"+dc+"$2box$3")+e}break;case 5936:switch(Iu(e,t+11)){case 114:return pc+e+dc+Vu(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return pc+e+dc+Vu(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return pc+e+dc+Vu(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return pc+e+dc+e+e}return e}var Rc=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case gc:e.return=Mc(e.value,e.length);break;case vc:return yc([Qu(e,{value:Vu(e.value,"@","@"+pc)})],r);case mc:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return yc([Qu(e,{props:[Vu(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return yc([Qu(e,{props:[Vu(t,/:(plac\w+)/,":"+pc+"input-$1")]}),Qu(e,{props:[Vu(t,/:(plac\w+)/,":-moz-$1")]}),Qu(e,{props:[Vu(t,/:(plac\w+)/,dc+"input-$1")]})],r)}return""}))}}],_c=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,o,i=e.stylisPlugins||Rc,a={},s=[];r=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<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,u,c,d,f=[bc,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],p=(u=[Oc,Tc].concat(i,f),c=Bu(u),function(e,t,n,r){for(var o="",i=0;i<c;i++)o+=u[i](e,t,n,r)||"";return o});o=function(e,t,n,r){l=n,yc(wc(e?e+"{"+t.styles+"}":t.styles),p),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new _u({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return h.sheet.hydrate(s),h};function Lc(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")})),r}var Ac=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Dc=function(e,t,n){Ac(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)}},Fc={animationIterationCount:1,aspectRatio: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,scale: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};function Vc(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Nc=/[A-Z]|^ms/g,Ic=/_EMO_([^_]+?)_([^]*?)_EMO_/g,jc=function(e){return 45===e.charCodeAt(1)},zc=function(e){return null!=e&&"boolean"!=typeof e},Bc=Vc((function(e){return jc(e)?e:e.replace(Nc,"-$&").toLowerCase()})),$c=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Ic,(function(e,t,n){return Uc={name:t,styles:n,next:Uc},t}))}return 1===Fc[e]||jc(e)||"number"!=typeof t||0===t?t:t+"px"};function Hc(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return Uc={name:o.name,styles:o.styles,next:Uc},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)Uc={name:a.name,styles:a.styles,next:Uc},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Hc(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?r+=i+"{"+t[s]+"}":zc(s)&&(r+=Bc(i)+":"+$c(i,s)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=Hc(e,t,a);switch(i){case"animation":case"animationName":r+=Bc(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var u=0;u<a.length;u++)zc(a[u])&&(r+=Bc(i)+":"+$c(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var s=Uc,l=n(e);return Uc=s,Hc(e,t,l)}}var u=n;if(null==t)return u;var c=t[u];return void 0!==c?c:u}var Uc,Wc=/label:\s*([^\s;{]+)\s*(;|$)/g;function Xc(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Uc=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Hc(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=Hc(n,t,e[a]),r&&(o+=i[a]);Wc.lastIndex=0;for(var s,l="";null!==(s=Wc.exec(o));)l+="-"+s[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=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)}(o)+l;return{name:u,styles:o,next:Uc}}var Yc,qc=!!i.useInsertionEffect&&i.useInsertionEffect,Gc=qc||function(e){return e()},Qc=(qc||r.useLayoutEffect,r.createContext("undefined"!=typeof HTMLElement?_c({key:"css"}):null)),Kc=Qc.Provider,Zc=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(Qc);return e(t,o,n)}))},Jc=r.createContext({}),ed={}.hasOwnProperty,td="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",nd=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Ac(t,n,r),Gc((function(){return Dc(t,n,r)})),null},rd=Zc((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[td],a=[o],s="";"string"==typeof e.className?s=Lc(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=Xc(a,void 0,r.useContext(Jc));s+=t.key+"-"+l.name;var u={};for(var c in e)ed.call(e,c)&&"css"!==c&&c!==td&&(u[c]=e[c]);return u.className=s,n&&(u.ref=n),r.createElement(r.Fragment,null,r.createElement(nd,{cache:t,serialized:l,isStringTag:"string"==typeof i}),r.createElement(i,u))})),od=o(616),id=o.n(od),ad=new Uint8Array(16);function sd(){if(!Yc&&!(Yc="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 Yc(ad)}const ld=/^(?:[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 ud=[],cd=0;cd<256;++cd)ud.push((cd+256).toString(16).substr(1));const dd=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(ud[e[t+0]]+ud[e[t+1]]+ud[e[t+2]]+ud[e[t+3]]+"-"+ud[e[t+4]]+ud[e[t+5]]+"-"+ud[e[t+6]]+ud[e[t+7]]+"-"+ud[e[t+8]]+ud[e[t+9]]+"-"+ud[e[t+10]]+ud[e[t+11]]+ud[e[t+12]]+ud[e[t+13]]+ud[e[t+14]]+ud[e[t+15]]).toLowerCase();if(!function(e){return"string"==typeof e&&ld.test(e)}(n))throw TypeError("Stringified UUID is invalid");return n},fd=function(e,t,n){var r=(e=e||{}).random||(e.rng||sd)();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 dd(r)},pd=new Set,hd=id()((e=>{let t=fd().replace(/[0-9]/g,"");for(;pd.has(t);)t=fd().replace(/[0-9]/g,"");return pd.add(t),_c({container:e,key:t})})),md=function(e){const{children:t,document:n}=e;if(!n)return null;const o=hd(n.head);return(0,r.createElement)(Kc,{value:o},t)};function gd(){const[,e]=(0,r.useState)({}),t=(0,r.useRef)(!0);return(0,r.useEffect)((()=>(t.current=!0,()=>{t.current=!1})),[]),()=>{t.current&&e({})}}function vd(e){let{name:t,children:n}=e;const{registerFill:o,unregisterFill:i,...a}=Eu(t),s=(0,r.useRef)({rerender:gd()});if((0,r.useEffect)((()=>(o(s),()=>{i(s)})),[o,i]),!a.ref||!a.ref.current)return null;"function"==typeof n&&(n=n(a.fillProps));const l=(0,r.createElement)(md,{document:a.ref.current.ownerDocument},n);return(0,mt.createPortal)(l,a.ref.current)}const yd=(0,r.forwardRef)((function(e,t){let{name:n,fillProps:o={},as:i="div",...a}=e;const{registerSlot:l,unregisterSlot:u,...c}=(0,r.useContext)(ku),d=(0,r.useRef)();return(0,r.useLayoutEffect)((()=>(l(n,d,o),()=>{u(n,d)})),[l,u,n]),(0,r.useLayoutEffect)((()=>{c.updateSlot(n,o)})),(0,r.createElement)(i,s({ref:W([t,d])},a))}));function bd(e){return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(Ou,e),(0,r.createElement)(vd,e))}const wd=(0,r.forwardRef)(((e,t)=>{let{bubblesVirtually:n,...o}=e;return n?(0,r.createElement)(yd,s({},o,{ref:t})):(0,r.createElement)(Ru,o)})),xd={bottom:"bottom",top:"top","middle left":"left","middle right":"right","bottom left":"bottom-end","bottom center":"bottom","bottom right":"bottom-start","top left":"top-end","top center":"top","top right":"top-start","middle left left":"left","middle left right":"left","middle left bottom":"left-end","middle left top":"left-start","middle right left":"right","middle right right":"right","middle right bottom":"right-end","middle right top":"right-start","bottom left left":"bottom-end","bottom left right":"bottom-end","bottom left bottom":"bottom-end","bottom left top":"bottom-end","bottom center left":"bottom","bottom center right":"bottom","bottom center bottom":"bottom","bottom center top":"bottom","bottom right left":"bottom-start","bottom right right":"bottom-start","bottom right bottom":"bottom-start","bottom right top":"bottom-start","top left left":"top-end","top left right":"top-end","top left bottom":"top-end","top left top":"top-end","top center left":"top","top center right":"top","top center bottom":"top","top center top":"top","top right left":"top-start","top right right":"top-start","top right bottom":"top-start","top right top":"top-start",middle:"bottom","middle center":"bottom","middle center bottom":"bottom","middle center left":"bottom","middle center right":"bottom","middle center top":"bottom"},Sd={top:{originX:.5,originY:1},"top-start":{originX:0,originY:1},"top-end":{originX:1,originY:1},right:{originX:0,originY:.5},"right-start":{originX:0,originY:0},"right-end":{originX:0,originY:1},bottom:{originX:.5,originY:0},"bottom-start":{originX:0,originY:0},"bottom-end":{originX:1,originY:0},left:{originX:1,originY:.5},"left-start":{originX:1,originY:0},"left-end":{originX:1,originY:1},overlay:{originX:.5,originY:.5}},kd=e=>{var t;const n=null==e||null===(t=e.defaultView)||void 0===t?void 0:t.frameElement;if(!n)return;const r=n.getBoundingClientRect();return{x:r.left,y:r.top}};function Ed(e){return e.split("-")[0]}const Cd=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{options:e,fn(t){var n;const{x:r,y:o,placement:i,rects:a,middlewareData:s}=t,{offset:l=0,mainAxis:u=!0,crossAxis:c=!0}=e,d={x:r,y:o},f=function(e){return["top","bottom"].includes(Ed(e))?"x":"y"}(i),p="x"===f?"y":"x";let h=d[f],m=d[p];const g="function"==typeof l?l(t):l,v="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g},y={x:0,y:0,...null===(n=s.frameOffset)||void 0===n?void 0:n.amount};if(u){const e="y"===f?"height":"width",t=a.reference[f]-a.floating[e]+v.mainAxis+y[f],n=a.reference[f]+a.reference[e]-v.mainAxis+y[f];h<t?h=t:h>n&&(h=n)}if(c){var b,w,x,S;const e="y"===f?"width":"height",t=["top","left"].includes(Ed(i)),n=a.reference[p]-a.floating[e]+(t&&null!==(b=null===(w=s.offset)||void 0===w?void 0:w[p])&&void 0!==b?b:0)+(t?0:v.crossAxis)+y[p],r=a.reference[p]+a.reference[e]+(t?0:null!==(x=null===(S=s.offset)||void 0===S?void 0:S[p])&&void 0!==x?x:0)-(t?v.crossAxis:0)+y[p];m<n?m=n:m>r&&(m=r)}return{[f]:h,[p]:m}}}},Pd="Popover",Od=()=>(0,r.createElement)(Wl,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",className:"components-popover__triangle",role:"presentation"},(0,r.createElement)(Ul,{className:"components-popover__triangle-bg",d:"M 0 0 L 50 50 L 100 0"}),(0,r.createElement)(Ul,{className:"components-popover__triangle-border",d:"M 0 0 L 50 50 L 100 0",vectorEffect:"non-scaling-stroke"})),Td=(0,r.forwardRef)(((e,t)=>{let{style:n,placement:o,shouldAnimate:i=!1,...a}=e;const l=function(){!St.current&&kt();const[e]=(0,r.useState)(xt.current);return e}(),{style:u,...c}=(0,r.useMemo)((()=>(e=>{const t=e.startsWith("top")||e.startsWith("bottom")?"translateY":"translateX",n=e.startsWith("top")||e.startsWith("left")?1:-1;return{style:Sd[e],initial:{opacity:0,scale:0,[t]:2*n+"em"},animate:{opacity:1,scale:1,[t]:0},transition:{duration:.1,ease:[0,0,.2,1]}}})(o)),[o]),d=i&&!l?{style:{...u,...n},...c}:{animate:!1,style:n};return(0,r.createElement)(Zs.div,s({},d,a,{ref:t}))})),Md=(0,r.createContext)(void 0),Rd=(0,r.forwardRef)(((e,t)=>{var n,o,i,a;const{animate:l=!0,headerTitle:c,onClose:d,children:f,className:p,noArrow:h=!0,position:m,placement:g="bottom-start",offset:v=0,focusOnMount:y="firstElement",anchor:b,expandOnMobile:w,onFocusOutside:x,__unstableSlotName:S=Pd,flip:k=!0,resize:E=!0,shift:C=!1,variant:P,__unstableForcePosition:O,anchorRef:T,anchorRect:M,getAnchorRect:R,isAlternate:_,...L}=e;let A=k,D=E;void 0!==O&&(z("`__unstableForcePosition` prop in wp.components.Popover",{since:"6.1",version:"6.3",alternative:"`flip={ false }` and `resize={ false }`"}),A=!O,D=!O),void 0!==T&&z("`anchorRef` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"}),void 0!==M&&z("`anchorRect` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"}),void 0!==R&&z("`getAnchorRect` prop in wp.components.Popover",{since:"6.1",alternative:"`anchor` prop"});const F=_?"toolbar":P;void 0!==_&&z("`isAlternate` prop in wp.components.Popover",{since:"6.2",alternative:"`variant` prop with the `'toolbar'` value"});const V=(0,r.useRef)(null),[N,I]=(0,r.useState)(null),[j,B]=(0,r.useState)(),$=(0,r.useCallback)((e=>{I(e)}),[]),H=il("medium","<"),U=w&&H,X=!U&&!h,Y=m?(e=>{var t;return null!==(t=xd[e])&&void 0!==t?t:"bottom"})(m):g,q=(0,r.useRef)(kd(j)),G=[..."overlay"===g?[{name:"overlay",fn(e){let{rects:t}=e;return t.reference}},pt({apply(e){var t;let{rects:n,elements:r}=e;const{firstElementChild:o}=null!==(t=r.floating)&&void 0!==t?t:{};o instanceof HTMLElement&&Object.assign(o.style,{width:`${n.reference.width}px`,height:`${n.reference.height}px`})}})]:[],{name:"frameOffset",fn(e){let{x:t,y:n}=e;return q.current?{x:t+q.current.x,y:n+q.current.y,data:{amount:q.current}}:{x:t,y:n}}},ct(v),A?ft():void 0,D?pt({apply(e){var t;const{firstElementChild:n}=null!==(t=ie.floating.current)&&void 0!==t?t:{};n instanceof HTMLElement&&Object.assign(n.style,{maxHeight:`${e.availableHeight}px`,overflow:"auto"})}}):void 0,C?dt({crossAxis:!0,limiter:Cd(),padding:1}):void 0,bt({element:V})].filter((e=>void 0!==e)),Q=(0,r.useContext)(Md)||S,K=Eu(Q);let Z;(d||x)&&(Z=(e,t)=>{"focus-outside"===e&&x?x(t):d&&d()});const[J,ee]=Bl({focusOnMount:y,__unstableOnClose:Z,onClose:Z}),{x:te,y:ne,reference:re,floating:oe,refs:ie,strategy:ae,update:se,placement:le,middlewareData:{arrow:ue}}=yt({placement:"overlay"===Y?void 0:Y,middleware:G,whileElementsMounted:(e,t,n)=>ut(e,t,n,{animationFrame:!0})}),ce=(0,r.useCallback)((e=>{V.current=e,se()}),[se]),de=null==T?void 0:T.top,fe=null==T?void 0:T.bottom,pe=null==T?void 0:T.startContainer,he=null==T?void 0:T.current;(0,r.useLayoutEffect)((()=>{const e=(e=>{var t;let n,{anchor:r,anchorRef:o,anchorRect:i,getAnchorRect:a,fallbackReferenceElement:s,fallbackDocument:l}=e;if(r)n=r.ownerDocument;else if(null!=o&&o.top)n=null==o?void 0:o.top.ownerDocument;else if(null!=o&&o.startContainer)n=o.startContainer.ownerDocument;else if(null!=o&&o.current)n=o.current.ownerDocument;else if(o)n=o.ownerDocument;else if(i&&null!=i&&i.ownerDocument)n=i.ownerDocument;else if(a){var u;n=null===(u=a(s))||void 0===u?void 0:u.ownerDocument}return null!==(t=n)&&void 0!==t?t:l})({anchor:b,anchorRef:T,anchorRect:M,getAnchorRect:R,fallbackReferenceElement:N,fallbackDocument:document}),t=(e=>{var t;const n=null==e||null===(t=e.defaultView)||void 0===t?void 0:t.frameElement;if(!n)return{x:1,y:1};const r=n.getBoundingClientRect();return{x:r.width/n.offsetWidth,y:r.height/n.offsetHeight}})(e),n=(e=>{var t;let{anchor:n,anchorRef:r,anchorRect:o,getAnchorRect:i,fallbackReferenceElement:a,scale:s}=e,l=null;if(n?l=n:null!=r&&r.top?l={getBoundingClientRect(){const e=r.top.getBoundingClientRect(),t=r.bottom.getBoundingClientRect();return new window.DOMRect(e.x,e.y,e.width,t.bottom-e.top)}}:null!=r&&r.current?l=r.current:r?l=r:o?l={getBoundingClientRect:()=>o}:i?l={getBoundingClientRect(){var e,t,n,r;const o=i(a);return new window.DOMRect(null!==(e=o.x)&&void 0!==e?e:o.left,null!==(t=o.y)&&void 0!==t?t:o.top,null!==(n=o.width)&&void 0!==n?n:o.right-o.left,null!==(r=o.height)&&void 0!==r?r:o.bottom-o.top)}}:a&&(l=a.parentElement),l&&(1!==s.x||1!==s.y)){const e=l.getBoundingClientRect();l={getBoundingClientRect:()=>new window.DOMRect(e.x*s.x,e.y*s.y,e.width*s.x,e.height*s.y)}}return null!==(t=l)&&void 0!==t?t:null})({anchor:b,anchorRef:T,anchorRect:M,getAnchorRect:R,fallbackReferenceElement:N,scale:t});re(n),B(e)}),[b,T,de,fe,pe,he,M,R,N,re]),(0,r.useLayoutEffect)((()=>{var e,t;if(j===document||j===(null===(e=ie.floating.current)||void 0===e?void 0:e.ownerDocument)||null==j||null===(t=j.defaultView)||void 0===t||!t.frameElement)return void(q.current=void 0);const{defaultView:n}=j,{frameElement:r}=n,o=r?ql(r):null,i=()=>{q.current=kd(j),se()};return n.addEventListener("resize",i),null==o||o.addEventListener("scroll",i),i(),()=>{n.removeEventListener("resize",i),null==o||o.removeEventListener("scroll",i)}}),[j,se,ie.floating]);const me=W([oe,J,t]);let ge=(0,r.createElement)(Td,s({shouldAnimate:l&&!U,placement:le,className:u()("components-popover",p,{"is-expanded":U,"is-positioned":null!==te&&null!==ne,[`is-${"toolbar"===F?"alternate":F}`]:F})},L,{ref:me},ee,{tabIndex:-1,style:U?void 0:{position:ae,top:0,left:0,x:Math.round(null!=te?te:0)||void 0,y:Math.round(null!=ne?ne:0)||void 0}}),U&&(0,r.createElement)(Zl,null),U&&(0,r.createElement)("div",{className:"components-popover__header"},(0,r.createElement)("span",{className:"components-popover__header-title"},c),(0,r.createElement)(Mf,{className:"components-popover__close",icon:Xl,onClick:d})),(0,r.createElement)("div",{className:"components-popover__content"},f),X&&(0,r.createElement)("div",{ref:ce,className:["components-popover__arrow",`is-${le.split("-")[0]}`].join(" "),style:{left:void 0!==(null==ue?void 0:ue.x)&&Number.isFinite(ue.x)?`${ue.x+(null!==(n=null===(o=q.current)||void 0===o?void 0:o.x)&&void 0!==n?n:0)}px`:"",top:void 0!==(null==ue?void 0:ue.y)&&Number.isFinite(ue.y)?`${ue.y+(null!==(i=null===(a=q.current)||void 0===a?void 0:a.y)&&void 0!==i?i:0)}px`:""}},(0,r.createElement)(Od,null)));return K.ref&&(ge=(0,r.createElement)(bd,{name:Q},ge)),T||M||b?ge:(0,r.createElement)("span",{ref:$},ge)}));Rd.Slot=(0,r.forwardRef)((function(e,t){let{name:n=Pd}=e;return(0,r.createElement)(wd,{bubblesVirtually:!0,name:n,className:"popover-slot",ref:t})})),Rd.__unstableSlotNameProvider=Md.Provider;const _d=Rd,Ld=function(e){const{shortcut:t,className:n}=e;if(!t)return null;let o,i;return"string"==typeof t&&(o=t),null!==t&&"object"==typeof t&&(o=t.display,i=t.ariaLabel),(0,r.createElement)("span",{className:n,"aria-label":i},o)},Ad=700,Dd=(0,r.createElement)("div",{className:"event-catcher"}),Fd=e=>{let{eventHandlers:t,child:n,childrenWithPopover:o,mergedRefs:i}=e;return(0,r.cloneElement)((0,r.createElement)("span",{className:"disabled-element-wrapper"},(0,r.cloneElement)(Dd,t),(0,r.cloneElement)(n,{children:o,ref:i})),{...t})},Vd=e=>{let{child:t,eventHandlers:n,childrenWithPopover:o,mergedRefs:i}=e;return(0,r.cloneElement)(t,{...n,children:o,ref:i})},Nd=e=>{let{anchor:t,grandchildren:n,isOver:o,offset:i,position:a,shortcut:l,text:c,className:d,...f}=e;return function(...e){return e.reduce(((e,t,n)=>(r.Children.forEach(t,((t,o)=>{t&&"string"!=typeof t&&(t=(0,r.cloneElement)(t,{key:[n,o].join()})),e.push(t)})),e)),[])}(n,o&&(0,r.createElement)(_d,s({focusOnMount:!1,position:a,className:u()("components-tooltip",d),"aria-hidden":"true",animate:!1,offset:i,anchor:t,shift:!0},f),c,(0,r.createElement)(Ld,{className:"components-tooltip__shortcut",shortcut:l})))},Id=(e,t,n)=>{if(1!==r.Children.count(e))return;const o=r.Children.only(e);o.props.disabled||"function"==typeof o.props[t]&&o.props[t](n)},jd=function(e){var t;const{children:n,position:o="bottom middle",text:i,shortcut:a,delay:s=Ad,...l}=e,[u,c]=(0,r.useState)(!1),[d,f]=(0,r.useState)(!1),p=function(e,t,n){const o=(i=()=>H(e,null!=t?t:0,n),a=[e,t,n],s=(0,r.useState)((function(){return{inputs:a,result:i()}}))[0],l=(0,r.useRef)(!0),u=(0,r.useRef)(s),c=l.current||Boolean(a&&u.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(a,u.current.inputs)),d=c?u.current:{inputs:a,result:i()},(0,r.useEffect)((function(){l.current=!1,u.current=d}),[d]),d.result);var i,a,s,l,u,c,d;return(0,r.useEffect)((()=>()=>o.cancel()),[o]),o}(f,s),[h,m]=(0,r.useState)(null),g=W([m,null===(t=r.Children.toArray(n)[0])||void 0===t?void 0:t.ref]),v=e=>{"OPTION"!==e.target.tagName&&(Id(n,"onMouseDown",e),document.addEventListener("mouseup",w),c(!0))},y=e=>{"OPTION"!==e.target.tagName&&(Id(n,"onMouseUp",e),document.removeEventListener("mouseup",w),c(!1))},b=e=>"mouseUp"===e?y:"mouseDown"===e?v:void 0,w=b("mouseUp"),x=(e,t)=>r=>{if(Id(n,e,r),r.currentTarget.disabled)return;if("focus"===r.type&&u)return;p.cancel();const o=["focus","mouseenter"].includes(r.type);o!==d&&(t?p(o):f(o))},S=()=>{p.cancel(),document.removeEventListener("mouseup",w)};if((0,r.useEffect)((()=>S),[]),1!==r.Children.count(n))return n;const k={onMouseEnter:x("onMouseEnter",!0),onMouseLeave:x("onMouseLeave"),onClick:x("onClick"),onFocus:x("onFocus"),onBlur:x("onBlur"),onMouseDown:b("mouseDown")},E=r.Children.only(n),{children:C,disabled:P}=E.props;return(P?Fd:Vd)({child:E,eventHandlers:k,childrenWithPopover:Nd({grandchildren:C,anchor:h,isOver:d,offset:4,position:o,shortcut:a,text:i,...l}),mergedRefs:g})},zd=function(e){let{icon:t,className:n,size:o=20,style:i={},...a}=e;const l=["dashicon","dashicons","dashicons-"+t,n].filter(Boolean).join(" "),u={...20!=o?{fontSize:`${o}px`,width:`${o}px`,height:`${o}px`}:{},...i};return(0,r.createElement)("span",s({className:l,style:u},a))},Bd=function(e){let{icon:t=null,size:n=("string"==typeof t?20:24),...o}=e;if("string"==typeof t)return(0,r.createElement)(zd,s({icon:t,size:n},o));if((0,r.isValidElement)(t)&&zd===t.type)return(0,r.cloneElement)(t,{...o});if("function"==typeof t)return(0,r.createElement)(t,{size:n,...o});if(t&&("svg"===t.type||t.type===Wl)){const e={...t.props,width:n,height:n,...o};return(0,r.createElement)(Wl,e)}return(0,r.isValidElement)(t)?(0,r.cloneElement)(t,{size:n,...o}):t};var $d=o(744),Hd=o.n($d),Ud=o(252),Wd=o.n(Ud);function Xd(e){return"[object Object]"===Object.prototype.toString.call(e)}function Yd(e){var t,n;return!1!==Xd(e)&&(void 0===(t=e.constructor)||!1!==Xd(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}const qd=(0,r.createContext)({}),Gd=()=>(0,r.useContext)(qd),Qd=(0,r.memo)((e=>{let{children:t,value:n}=e;const o=function(e){let{value:t}=e;const n=Gd(),o=(0,r.useRef)(t);return function(e,t){const n=(0,r.useRef)(!1);(0,r.useEffect)((()=>{if(n.current)return e();n.current=!0}),t)}((()=>{Wd()(o.current,t)&&o.current!==t&&"undefined"!=typeof process&&process.env}),[t]),(0,r.useMemo)((()=>Hd()(null!=n?n:{},null!=t?t:{},{isMergeableObject:Yd})),[n,t])}({value:n});return(0,r.createElement)(qd.Provider,{value:o},t)})),Kd="data-wp-component",Zd="data-wp-c16t",Jd="__contextSystemKey__";var ef=function(){return ef=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ef.apply(this,arguments)};function tf(e){return e.toLowerCase()}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var nf=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],rf=/[^A-Z0-9]+/gi;function of(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce((function(e,t){return e.replace(t,n)}),e)}const af=id()((function(e){const t=function(e,t){return void 0===t&&(t={}),function(e,t){return void 0===t&&(t={}),function(e,t){void 0===t&&(t={});for(var n=t.splitRegexp,r=void 0===n?nf:n,o=t.stripRegexp,i=void 0===o?rf:o,a=t.transform,s=void 0===a?tf:a,l=t.delimiter,u=void 0===l?" ":l,c=of(of(e,r,"$1\0$2"),i,"\0"),d=0,f=c.length;"\0"===c.charAt(d);)d++;for(;"\0"===c.charAt(f-1);)f--;return c.slice(d,f).split("\0").map(s).join(u)}(e,ef({delimiter:"."},t))}(e,ef({delimiter:"-"},t))}(e);return`components-${t}`}));function sf(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function lf(e,t,n){var r=[],o=Lc(e,r,n);return r.length<2?n:o+t(r)}var uf=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(null!=o){var i=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))i=e(o);else for(var a in i="",o)o[a]&&a&&(i&&(i+=" "),i+=a);break;default:i=o}i&&(n&&(n+=" "),n+=i)}}return n},cf=function(){var e=_c({key:"css"});e.sheet.speedy=function(e){this.isSpeedy=e},e.compat=!0;var t=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Xc(n,e.registered,void 0);return Dc(e,o,!1),e.key+"-"+o.name};return{css:t,cx:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return lf(e.registered,t,uf(r))},injectGlobal:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Xc(n,e.registered);sf(e,o)},keyframes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=Xc(n,e.registered),i="animation-"+o.name;return sf(e,{name:o.name,styles:"@keyframes "+i+"{"+o.styles+"}"}),i},hydrate:function(t){t.forEach((function(t){e.inserted[t]=!0}))},flush:function(){e.registered={},e.inserted={},e.sheet.flush()},sheet:e.sheet,cache:e,getRegisteredStyles:Lc.bind(null,e.registered),merge:lf.bind(null,e.registered,t)}}(),df=(cf.flush,cf.hydrate,cf.cx);cf.merge,cf.getRegisteredStyles,cf.injectGlobal,cf.keyframes,cf.css,cf.sheet,cf.cache;const ff=()=>{const e=(0,r.useContext)(Qc),t=(0,r.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;r<t;r++)n[r]=arguments[r];return df(...n.map((t=>(e=>null!=e&&["name","styles"].every((t=>void 0!==e[t])))(t)?(Dc(e,t,!1),`${e.key}-${t.name}`):t)))}),[e]);return t};function pf(e,t){const n=Gd();void 0===t&&"undefined"!=typeof process&&process.env;const r=(null==n?void 0:n[t])||{},o={[Zd]:!0,...(i=t,{[Kd]:i})};var i;const{_overrides:a,...s}=r,l=Object.entries(s).length?Object.assign({},s,e):e,u=ff()(af(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 void 0!==c&&(o.children=c),o.className=u,o}function hf(e,t){return function(e,t,n){const o=null!=n&&n.forwardsRef?(0,r.forwardRef)(e):e;void 0===t&&"undefined"!=typeof process&&process.env;let i=o[Jd]||[t];return Array.isArray(t)&&(i=[...i,...t]),"string"==typeof t&&(i=[...i,t]),Object.assign(o,{[Jd]:[...new Set(i)],displayName:t,selector:`.${af(t)}`})}(e,t,{forwardsRef:!0})}function mf(e){if(!e)return[];let t=[];return e[Jd]&&(t=e[Jd]),e.type&&e.type[Jd]&&(t=e.type[Jd]),t}const gf={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 vf=/^((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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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|popover|popoverTarget|popoverTargetAction|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)-.*))$/,yf=Vc((function(e){return vf.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),bf=function(e){return"theme"!==e},wf=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?yf:bf},xf=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},Sf=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Ac(t,n,r),Gc((function(){return Dc(t,n,r)})),null},kf=function e(t,n){var o,i,a=t.__emotion_real===t,l=a&&t.__emotion_base||t;void 0!==n&&(o=n.label,i=n.target);var u=xf(t,n,a),c=u||wf(l),d=!c("as");return function(){var f=arguments,p=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&p.push("label:"+o+";"),null==f[0]||void 0===f[0].raw)p.push.apply(p,f);else{var h=f[0];p.push(h[0]);for(var m=f.length,g=1;g<m;g++)p.push(f[g],h[g])}var v=Zc((function(e,t,n){var o=d&&e.as||l,a="",s=[],f=e;if(null==e.theme){for(var h in f={},e)f[h]=e[h];f.theme=r.useContext(Jc)}"string"==typeof e.className?a=Lc(t.registered,s,e.className):null!=e.className&&(a=e.className+" ");var m=Xc(p.concat(s),t.registered,f);a+=t.key+"-"+m.name,void 0!==i&&(a+=" "+i);var g=d&&void 0===u?wf(o):c,v={};for(var y in e)d&&"as"===y||g(y)&&(v[y]=e[y]);return v.className=a,n&&(v.ref=n),r.createElement(r.Fragment,null,r.createElement(Sf,{cache:t,serialized:m,isStringTag:"string"==typeof o}),r.createElement(o,v))}));return v.displayName=void 0!==o?o:"Styled("+("string"==typeof l?l:l.displayName||l.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=l,v.__emotion_styles=p,v.__emotion_forwardProp=u,Object.defineProperty(v,"toString",{value:function(){return"."+i}}),v.withComponent=function(t,r){return e(t,s({},n,r,{shouldForwardProp:xf(v,r,!0)})).apply(void 0,p)},v}};const Ef=kf("div",{target:"e19lxcc00"})("");Ef.selector=".components-view",Ef.displayName="View";const Cf=Ef,Pf=hf((function(e,t){const{style:n,...o}=pf(e,"VisuallyHidden");return(0,r.createElement)(Cf,s({ref:t},o,{style:{...gf,...n||{}}}))}),"VisuallyHidden"),Of=["onMouseDown","onClick"],Tf=(0,r.forwardRef)((function(e,t){var n,o;const{isSmall:i,isPressed:a,isBusy:l,isDestructive:c,className:d,disabled:f,icon:p,iconPosition:h="left",iconSize:m,showTooltip:g,tooltipPosition:v,shortcut:y,label:b,children:w,text:x,variant:S,__experimentalIsFocusable:k,describedBy:E,...C}=function(e){let{isDefault:t,isPrimary:n,isSecondary:r,isTertiary:o,isLink:i,variant:a,...s}=e,l=a;var u,c,d,f,p;return n&&(null!==(u=l)&&void 0!==u||(l="primary")),o&&(null!==(c=l)&&void 0!==c||(l="tertiary")),r&&(null!==(d=l)&&void 0!==d||(l="secondary")),t&&(z("Button isDefault prop",{since:"5.4",alternative:'variant="secondary"',version:"6.2"}),null!==(f=l)&&void 0!==f||(l="secondary")),i&&(null!==(p=l)&&void 0!==p||(l="link")),{...s,variant:l}}(e),{href:P,target:O,...T}="href"in C?C:{href:void 0,target:void 0,...C},M=$(Tf,"components-button__description"),R="string"==typeof w&&!!w||Array.isArray(w)&&(null==w?void 0:w[0])&&null!==w[0]&&"components-tooltip"!==(null==w||null===(n=w[0])||void 0===n||null===(o=n.props)||void 0===o?void 0:o.className),_=u()("components-button",d,{"is-secondary":"secondary"===S,"is-primary":"primary"===S,"is-small":i,"is-tertiary":"tertiary"===S,"is-pressed":a,"is-busy":l,"is-link":"link"===S,"is-destructive":c,"has-text":!!p&&R,"has-icon":!!p}),L=f&&!k,A=void 0===P||L?"button":"a",D="button"===A?{type:"button",disabled:L,"aria-pressed":a}:{},F="a"===A?{href:P,target:O}:{};if(f&&k){D["aria-disabled"]=!0,F["aria-disabled"]=!0;for(const e of Of)T[e]=e=>{e&&(e.stopPropagation(),e.preventDefault())}}const V=!L&&(g&&b||y||!!b&&!(null!=w&&w.length)&&!1!==g),N=E?M:void 0,I=T["aria-describedby"]||N,j={className:_,"aria-label":T["aria-label"]||b,"aria-describedby":I,ref:t},B=(0,r.createElement)(r.Fragment,null,p&&"left"===h&&(0,r.createElement)(Bd,{icon:p,size:m}),x&&(0,r.createElement)(r.Fragment,null,x),p&&"right"===h&&(0,r.createElement)(Bd,{icon:p,size:m}),w),H="a"===A?(0,r.createElement)("a",s({},F,T,j),B):(0,r.createElement)("button",s({},D,T,j),B);return V?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(jd,{text:null!=w&&w.length&&E?E:b,shortcut:y,position:v},H),E&&(0,r.createElement)(Pf,null,(0,r.createElement)("span",{id:N},E))):(0,r.createElement)(r.Fragment,null,H,E&&(0,r.createElement)(Pf,null,(0,r.createElement)("span",{id:N},E)))})),Mf=Tf;o(146);var Rf,_f,Lf=function(e,t){var n=arguments;if(null==t||!ed.call(t,"css"))return r.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=rd,i[1]=function(e,t){var n={};for(var r in t)ed.call(t,r)&&(n[r]=t[r]);return n[td]=e,n}(e,t);for(var a=2;a<o;a++)i[a]=n[a];return r.createElement.apply(null,i)};function Af(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Xc(t)}Rf=Lf||(Lf={}),_f||(_f=Rf.JSX||(Rf.JSX={}));const Df={"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 Ff(e){var t;return null!==(t=Df[e])&&void 0!==t?t:""}const Vf={name:"9amh4a",styles:"font-size:11px;font-weight:500;line-height:1.4;text-transform:uppercase"};var Nf={grad:.9,turn:360,rad:360/(2*Math.PI)},If=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},jf=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},zf=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e>t?e:t},Bf=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},$f=function(e){return{r:zf(e.r,0,255),g:zf(e.g,0,255),b:zf(e.b,0,255),a:zf(e.a)}},Hf=function(e){return{r:jf(e.r),g:jf(e.g),b:jf(e.b),a:jf(e.a,3)}},Uf=/^#([0-9a-f]{3,8})$/i,Wf=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Xf=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}},Yf=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}},qf=function(e){return{h:Bf(e.h),s:zf(e.s,0,100),l:zf(e.l,0,100),a:zf(e.a)}},Gf=function(e){return{h:jf(e.h),s:jf(e.s),l:jf(e.l),a:jf(e.a,3)}},Qf=function(e){return Yf((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},Kf=function(e){return{h:(t=Xf(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},Zf=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Jf=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ep=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,tp=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,np={string:[[function(e){var t=Uf.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?jf(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?jf(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=ep.exec(e)||tp.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:$f({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=Zf.exec(e)||Jf.exec(e);if(!t)return null;var n,r,o=qf({h:(n=t[1],r=t[2],void 0===r&&(r="deg"),Number(n)*(Nf[r]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return Qf(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 If(t)&&If(n)&&If(r)?$f({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(!If(t)||!If(n)||!If(r))return null;var a=qf({h:Number(t),s:Number(n),l:Number(r),a:Number(i)});return Qf(a)},"hsl"],[function(e){var t=e.h,n=e.s,r=e.v,o=e.a,i=void 0===o?1:o;if(!If(t)||!If(n)||!If(r))return null;var a=function(e){return{h:Bf(e.h),s:zf(e.s,0,100),v:zf(e.v,0,100),a:zf(e.a)}}({h:Number(t),s:Number(n),v:Number(r),a:Number(i)});return Yf(a)},"hsv"]]},rp=function(e,t){for(var n=0;n<t.length;n++){var r=t[n][0](e);if(r)return[r,t[n][1]]}return[null,void 0]},op=function(e,t){var n=Kf(e);return{h:n.h,s:zf(n.s+100*t,0,100),l:n.l,a:n.a}},ip=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},ap=function(e,t){var n=Kf(e);return{h:n.h,s:n.s,l:zf(n.l+100*t,0,100),a:n.a}},sp=function(){function e(e){this.parsed=function(e){return"string"==typeof e?rp(e.trim(),np.string):"object"==typeof e&&null!==e?rp(e,np.object):[null,void 0]}(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return jf(ip(this.rgba),2)},e.prototype.isDark=function(){return ip(this.rgba)<.5},e.prototype.isLight=function(){return ip(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=Hf(this.rgba)).r,n=e.g,r=e.b,i=(o=e.a)<1?Wf(jf(255*o)):"","#"+Wf(t)+Wf(n)+Wf(r)+i;var e,t,n,r,o,i},e.prototype.toRgb=function(){return Hf(this.rgba)},e.prototype.toRgbString=function(){return t=(e=Hf(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 Gf(Kf(this.rgba))},e.prototype.toHslString=function(){return t=(e=Gf(Kf(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=Xf(this.rgba),{h:jf(e.h),s:jf(e.s),v:jf(e.v),a:jf(e.a,3)};var e},e.prototype.invert=function(){return lp({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),lp(op(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),lp(op(this.rgba,-e))},e.prototype.grayscale=function(){return lp(op(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),lp(ap(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),lp(ap(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?lp({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):jf(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=Kf(this.rgba);return"number"==typeof e?lp({h:e,s:t.s,l:t.l,a:t.a}):jf(t.h)},e.prototype.isEqual=function(e){return this.toHex()===lp(e).toHex()},e}(),lp=function(e){return e instanceof sp?e:new sp(e)},up=[],cp=function(e){e.forEach((function(e){up.indexOf(e)<0&&(e(sp,np),up.push(e))}))};function dp(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));p<u&&(u=p,c=f)}return c}},t.string.push([function(t){var r=t.toLowerCase(),o="transparent"===r?"#0000":n[r];return o?new e(o).toRgb():null},"name"])}function fp(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return lp(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").alpha(e).toRgbString()}cp([dp]);const pp="#fff",hp={900:"#1e1e1e",800:"#2f2f2f",700:"#757575",600:"#949494",400:"#ccc",300:"#ddd",200:"#e0e0e0",100:"#f0f0f0"},mp="var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #006ba1))",gp={theme:"var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba))",themeDark10:mp,background:pp,backgroundDisabled:hp[100],border:hp[600],borderHover:hp[700],borderFocus:mp,borderDisabled:hp[400],textDisabled:hp[600],textDark:pp,darkGrayPlaceholder:fp(hp[900],.62),lightGrayPlaceholder:fp(pp,.65)},vp=Object.freeze({gray:hp,white:pp,alert:{yellow:"#f0b849",red:"#d94f4f",green:"#4ab866"},ui:gp});function yp(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 bp=kf("div",{target:"ej5x27r4"})("font-family:",Ff("default.fontFamily"),";font-size:",Ff("default.fontSize"),";",{name:"kv6lnz",styles:"box-sizing:border-box;*,*::before,*::after{box-sizing:inherit;}"},";"),wp=kf("div",{target:"ej5x27r3"})((e=>{let{__nextHasNoMarginBottom:t=!1}=e;return!t&&Af("margin-bottom:",yp(2),";","")})," .components-panel__row &{margin-bottom:inherit;}"),xp=Af(Vf,";display:inline-block;margin-bottom:",yp(2),";padding:0;",""),Sp=kf("label",{target:"ej5x27r2"})(xp,";");var kp={name:"11yad0w",styles:"margin-bottom:revert"};const Ep=kf("p",{target:"ej5x27r1"})("margin-top:",yp(2),";margin-bottom:0;font-size:",Ff("helpText.fontSize"),";font-style:normal;color:",vp.gray[700],";",(e=>{let{__nextHasNoMarginBottom:t=!1}=e;return!t&&kp}),";"),Cp=kf("span",{target:"ej5x27r0"})(xp,";"),Pp=e=>{let{__nextHasNoMarginBottom:t=!1,id:n,label:o,hideLabelFromVision:i=!1,help:a,className:s,children:l}=e;return(0,r.createElement)(bp,{className:u()("components-base-control",s)},(0,r.createElement)(wp,{className:"components-base-control__field",__nextHasNoMarginBottom:t},o&&n&&(i?(0,r.createElement)(Pf,{as:"label",htmlFor:n},o):(0,r.createElement)(Sp,{className:"components-base-control__label",htmlFor:n},o)),o&&!n&&(i?(0,r.createElement)(Pf,{as:"label"},o):(0,r.createElement)(Pp.VisualLabel,null,o)),l),!!a&&(0,r.createElement)(Ep,{id:n?n+"__help":void 0,className:"components-base-control__help",__nextHasNoMarginBottom:t},a))};Pp.VisualLabel=e=>{let{className:t,children:n,...o}=e;return(0,r.createElement)(Cp,s({},o,{className:u()("components-base-control__label",t)}),n)};const Op=Pp,Tp=["40em","52em","64em"],Mp={name:"zjik7",styles:"display:flex"},Rp={name:"qgaee5",styles:"display:block;max-height:100%;max-width:100%;min-height:0;min-width:0"},_p={name:"82a6rk",styles:"flex:1"},Lp={name:"13nosa1",styles:">*{min-height:0;}"},Ap={name:"1pwxzk4",styles:">*{min-width:0;}"};function Dp(e){const{align:t,className:n,direction:o="row",expanded:i=!0,gap:a=2,justify:s="space-between",wrap:l=!1,...u}=pf(function(e){const{isReversed:t,...n}=e;return void 0!==t?(z("Flex isReversed",{alternative:'Flex direction="row-reverse" or "column-reverse"',since:"5.9"}),{...n,direction:t?"row-reverse":"row"}):n}(e),"Flex"),c=function(e){const t=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>Tp.length-1)throw new RangeError(`Default breakpoint index out of range. Theme has ${Tp.length} breakpoints, got index ${t}`);const[n,o]=(0,r.useState)(t);return(0,r.useEffect)((()=>{const e=()=>{const e=Tp.filter((e=>"undefined"!=typeof window&&window.matchMedia(`screen and (min-width: ${e})`).matches)).length;n!==e&&o(e)};return e(),"undefined"!=typeof window&&window.addEventListener("resize",e),()=>{"undefined"!=typeof window&&window.removeEventListener("resize",e)}}),[n]),n}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});if(!Array.isArray(e)&&"function"!=typeof e)return e;const n=e||[];return n[t>=n.length?n.length-1:t]}(Array.isArray(o)?o:[o]),d="string"==typeof c&&!!c.includes("column"),f=ff();return{...u,className:(0,r.useMemo)((()=>{const e=Af({alignItems:null!=t?t:d?"normal":"center",flexDirection:c,flexWrap:l?"wrap":void 0,gap:yp(a),justifyContent:s,height:d&&i?"100%":void 0,width:!d&&i?"100%":void 0},"","");return f(Mp,e,d?Lp:Ap,n)}),[t,n,f,c,i,a,d,s,l]),isColumn:d}}const Fp=(0,r.createContext)({flexItemDisplay:void 0}),Vp=hf((function(e,t){const{children:n,isColumn:o,...i}=Dp(e);return(0,r.createElement)(Fp.Provider,{value:{flexItemDisplay:o?"block":void 0}},(0,r.createElement)(Cf,s({},i,{ref:t}),n))}),"Flex");const Np=hf((function(e,t){const n=function(e){const{className:t,display:n,isBlock:o=!1,...i}=pf(e,"FlexItem"),a={},s=(0,r.useContext)(Fp).flexItemDisplay;return a.Base=Af({display:n||s},"",""),{...i,className:ff()(Rp,a.Base,o&&_p,t)}}(e);return(0,r.createElement)(Cf,s({},n,{ref:t}))}),"FlexItem"),Ip={name:"hdknak",styles:"display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap"};const jp="…",zp={auto:"auto",head:"head",middle:"middle",tail:"tail",none:"none"},Bp={ellipsis:jp,ellipsizeMode:zp.auto,limit:0,numberOfLines:0};let $p;cp([dp]);const Hp=id()((function(e){var t,n;if("string"!=typeof e)return"";if("string"==typeof(n=e)&&lp(n).isValid())return e;if(!e.includes("var("))return"";if("undefined"==typeof document)return"";const r=function(){if("undefined"!=typeof document){if(!$p){const e=document.createElement("div");e.setAttribute("data-g2-color-computation-node",""),document.body.appendChild(e),$p=e}return $p}}();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||""}));const Up="36px",Wp="12px",Xp={controlSurfaceColor:vp.white,controlTextActiveColor:vp.ui.theme,controlPaddingX:Wp,controlPaddingXLarge:`calc(${Wp} * 1.3334)`,controlPaddingXSmall:`calc(${Wp} / 1.3334)`,controlBackgroundColor:vp.white,controlBorderRadius:"2px",controlBoxShadow:"transparent",controlBoxShadowFocus:`0 0 0 0.5px ${vp.ui.theme}`,controlDestructiveBorderColor:vp.alert.red,controlHeight:Up,controlHeightXSmall:`calc( ${Up} * 0.6 )`,controlHeightSmall:`calc( ${Up} * 0.8 )`,controlHeightLarge:`calc( ${Up} * 1.2 )`,controlHeightXLarge:`calc( ${Up} * 1.4 )`},Yp={toggleGroupControlBackgroundColor:Xp.controlBackgroundColor,toggleGroupControlBorderColor:vp.ui.border,toggleGroupControlBackdropBackgroundColor:Xp.controlSurfaceColor,toggleGroupControlBackdropBorderColor:vp.ui.border,toggleGroupControlButtonColorActive:Xp.controlBackgroundColor},qp=Object.assign({},Xp,Yp,{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:`${yp(2)}`,cardPaddingSmall:`${yp(4)}`,cardPaddingMedium:`${yp(4)} ${yp(6)}`,cardPaddingLarge:`${yp(6)} ${yp(8)}`,surfaceBackgroundColor:vp.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:vp.white,surfaceColor:vp.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)"}),Gp=Af("color:",vp.gray[900],";line-height:",qp.fontLineHeightBase,";margin:0;",""),Qp={name:"4zleql",styles:"display:block"},Kp=Af("color:",vp.alert.green,";",""),Zp=Af("color:",vp.alert.red,";",""),Jp=Af("color:",vp.gray[700],";",""),eh=Af("mark{background:",vp.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;}",""),th={name:"50zrmy",styles:"text-transform:uppercase"};var nh=o(542);const rh=id()((e=>{const t={};for(const n in e)t[n.toLowerCase()]=e[n];return t})),oh={body:13,caption:10,footnote:11,largeTitle:28,subheadline:12,title:20};function ih(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:13;if(e in oh)return ih(oh[e]);if("number"!=typeof e){const t=parseFloat(e);if(Number.isNaN(t))return e;e=t}return`calc((${e} / 13) * ${qp.fontSize})`}[1,2,3,4,5,6].flatMap((e=>[e,e.toString()]));var ah={name:"50zrmy",styles:"text-transform:uppercase"};function sh(e){const{adjustLineHeightForInnerControls:t,align:o,children:i,className:a,color:s,ellipsizeMode:l,isDestructive:u=!1,display:c,highlightEscape:d=!1,highlightCaseSensitive:f=!1,highlightWords:p,highlightSanitize:h,isBlock:m=!1,letterSpacing:g,lineHeight:v,optimizeReadabilityFor:y,size:b,truncate:w=!1,upperCase:x=!1,variant:S,weight:k=qp.fontWeight,...E}=pf(e,"Text");let C=i;const P=Array.isArray(p),O="caption"===b;if(P){if("string"!=typeof i)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:o,autoEscape:i,caseSensitive:a=!1,children:s,findChunks:l,highlightClassName:u="",highlightStyle:c={},highlightTag:d="mark",sanitize:f,searchWords:p=[],unhighlightClassName:h="",unhighlightStyle:m}=e;if(!s)return null;if("string"!=typeof s)return s;const g=s,v=(0,nh.findAll)({autoEscape:i,caseSensitive:a,findChunks:l,sanitize:f,searchWords:p,textToHighlight:g}),y=d;let b,w=-1,x="";const S=v.map(((e,i)=>{const s=g.substr(e.start,e.end-e.start);if(e.highlight){let e;w++,"object"==typeof u?a?e=u[s]:(u=rh(u),e=u[s.toLowerCase()]):e=u;const l=w===+n;x=`${e} ${l?t:""}`,b=!0===l&&null!==o?Object.assign({},c,o):c;const d={children:s,className:x,key:i,style:b};return"string"!=typeof y&&(d.highlightIndex=w),(0,r.createElement)(y,d)}return(0,r.createElement)("span",{children:s,className:h,key:i,style:m})}));return S}({autoEscape:d,children:i,caseSensitive:f,searchWords:p,sanitize:h})}const T=ff();let M;!0===w&&(M="auto"),!1===w&&(M="none");const R=function(e){const{className:t,children:n,ellipsis:o=jp,ellipsizeMode:i=zp.auto,limit:a=0,numberOfLines:s=0,...l}=pf(e,"Truncate"),u=ff(),c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t={...Bp,...arguments.length>1?arguments[1]:void 0},{ellipsis:n,ellipsizeMode:r,limit:o}=t;if(r===zp.none)return e;let i,a;switch(r){case zp.head:i=0,a=o;break;case zp.middle:i=Math.floor(o/2),a=Math.floor(o/2);break;default:i=o,a=0}const s=r!==zp.auto?function(e,t,n,r){if("string"!=typeof e)return"";const o=e.length,i=~~t,a=~~n,s=null!=r?r:jp;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)}(e,i,a,n):e;return s}("string"==typeof n?n:"",{ellipsis:o,ellipsizeMode:i,limit:a,numberOfLines:s}),d=i===zp.auto;return{...l,className:(0,r.useMemo)((()=>u(d&&!s&&Ip,d&&!!s&&Af("-webkit-box-orient:vertical;-webkit-line-clamp:",s,";display:-webkit-box;overflow:hidden;",""),t)),[t,u,s,d]),children:c}}({...E,className:(0,r.useMemo)((()=>{const e={},r=function(e,t){if(t)return t;if(!e)return;let n=`calc(${qp.controlHeight} + ${yp(2)})`;switch(e){case"large":n=`calc(${qp.controlHeightLarge} + ${yp(2)})`;break;case"small":n=`calc(${qp.controlHeightSmall} + ${yp(2)})`;break;case"xSmall":n=`calc(${qp.controlHeightXSmall} + ${yp(2)})`}return n}(t,v);if(e.Base=Af({color:s,display:c,fontSize:ih(b),fontWeight:k,lineHeight:r,letterSpacing:g,textAlign:o},"",""),e.upperCase=ah,e.optimalTextColor=null,y){const t="dark"==("#000000"===function(e){const t=Hp(e);return lp(t).isLight()?"#000000":"#ffffff"}(y)?"dark":"light");e.optimalTextColor=Af(t?{color:vp.gray[900]}:{color:vp.white},"","")}return T(Gp,e.Base,e.optimalTextColor,u&&Zp,!!P&&eh,m&&Qp,O&&Jp,S&&n[S],x&&e.upperCase,a)}),[t,o,a,s,T,c,m,O,u,P,g,v,y,b,x,S,k]),children:i,ellipsizeMode:l||M});return!w&&Array.isArray(i)&&(C=r.Children.map(i,(e=>{return"object"==typeof e&&null!==e&&"props"in e?(n=["Link"],(t=e)&&("string"==typeof n?mf(t).includes(n):Array.isArray(n)&&n.some((e=>mf(t).includes(e))))?(0,r.cloneElement)(e,{size:e.props.size||"inherit"}):e):e;var t,n}))),{...R,children:w?R.children:C}}const lh=hf((function(e,t){const n=sh(e);return(0,r.createElement)(Cf,s({as:"span"},n,{ref:t}))}),"Text"),uh=new RegExp(/-left/g),ch=new RegExp(/-right/g),dh=new RegExp(/Left/g),fh=new RegExp(/Right/g);function ph(e){return"left"===e?"right":"right"===e?"left":uh.test(e)?e.replace(uh,"-right"):ch.test(e)?e.replace(ch,"-left"):dh.test(e)?e.replace(dh,"Right"):fh.test(e)?e.replace(fh,"Left"):e}function hh(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return()=>t?gl()?Af(t,""):Af(e,""):gl()?Af(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.fromEntries(Object.entries(e).map((e=>{let[t,n]=e;return[ph(t),n]})))}(e),""):Af(e,"")}hh.watch=()=>gl();var mh={name:"1739oy8",styles:"z-index:1"};const gh=e=>{let{isFocused:t}=e;return t?mh:""},vh=kf(Vp,{target:"em5sgkm7"})("box-sizing:border-box;position:relative;border-radius:2px;padding-top:0;",gh,";");var yh={name:"1d3w5wq",styles:"width:100%"};const bh=kf("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 Af({backgroundColor:t?vp.ui.backgroundDisabled:vp.ui.background},"","")})," ",(e=>{let{__unstableInputWidth:t,labelPosition:n}=e;return t?"side"===n?"":Af("edge"===n?{flex:`0 0 ${t}`}:{width:t},"",""):yh}),";"),wh=e=>{let{inputSize:t,__next36pxDefaultSize:n}=e;const r={default:{height:36,lineHeight:1,minHeight:36,paddingLeft:yp(4),paddingRight:yp(4)},small:{height:24,lineHeight:1,minHeight:24,paddingLeft:yp(2),paddingRight:yp(2)},"__unstable-large":{height:40,lineHeight:1,minHeight:40,paddingLeft:yp(4),paddingRight:yp(4)}};return n||(r.default={height:30,lineHeight:1,minHeight:30,paddingLeft:yp(2),paddingRight:yp(2)}),r[t]||r.default},xh=(kf("input",{target:"em5sgkm5"})("&&&{background-color:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",vp.gray[900],";display:block;font-family:inherit;margin:0;outline:none;width:100%;",(e=>{let t,n,{isDragging:r,dragCursor:o}=e;return r&&(t=Af("cursor:",o,";user-select:none;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}","")),r&&o&&(n=Af("&:active{cursor:",o,";}","")),Af(t," ",n,";","")})," ",(e=>{let{disabled:t}=e;return t?Af({color:vp.ui.textDisabled},"",""):""})," ",(e=>{let{inputSize:t}=e;const n={default:"13px",small:"11px","__unstable-large":"13px"},r=n[t]||n.default;return r?Af("font-size:","16px",";@media ( min-width: 600px ){font-size:",r,";}",""):""})," ",(e=>Af(wh(e),"",""))," ",(e=>{let{paddingInlineStart:t,paddingInlineEnd:n}=e;return Af({paddingInlineStart:t,paddingInlineEnd:n},"","")})," &::-webkit-input-placeholder{line-height:normal;}}"),kf(lh,{target:"em5sgkm4"})("&&&{",Vf,";box-sizing:border-box;display:block;padding-top:0;padding-bottom:0;max-width:100%;z-index:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}")),Sh=e=>(0,r.createElement)(xh,s({},e,{as:"label"})),kh=kf(Np,{target:"em5sgkm3"})({name:"1b6uupn",styles:"max-width:calc( 100% - 10px )"}),Eh=kf("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?vp.ui.borderFocus:vp.ui.border;return r&&(t=`0 0 0 1px ${vp.ui.borderFocus} inset`),n&&(o=vp.ui.borderDisabled),Af({boxShadow:t,borderColor:o,borderStyle:"solid",borderWidth:1},"","")})," ",hh({paddingLeft:2}),";}"),Ch=kf("span",{target:"em5sgkm1"})({name:"pvvbxf",styles:"box-sizing:border-box;display:block"}),Ph=kf("span",{target:"em5sgkm0"})({name:"jgf79h",styles:"align-items:center;align-self:stretch;box-sizing:border-box;display:flex"}),Oh=(0,r.memo)((function(e){let{disabled:t=!1,isFocused:n=!1}=e;return(0,r.createElement)(Eh,{"aria-hidden":"true",className:"components-input-control__backdrop",disabled:t,isFocused:n})})),Th=Oh;function Mh(e){let{children:t,hideLabelFromVision:n,htmlFor:o,...i}=e;return t?n?(0,r.createElement)(Pf,{as:"label",htmlFor:o},t):(0,r.createElement)(kh,null,(0,r.createElement)(Sh,s({htmlFor:o},i),t)):null}const Rh=(0,r.forwardRef)((function e(t,n){let{__next36pxDefaultSize:o,__unstableInputWidth:i,children:a,className:l,disabled:u=!1,hideLabelFromVision:c=!1,labelPosition:d,id:f,isFocused:p=!1,label:h,prefix:m,size:g="default",suffix:v,...y}=t;const b=function(t){const n=$(e);return t||`input-base-control-${n}`}(f),w=c||!h,{paddingLeft:x,paddingRight:S}=wh({inputSize:g,__next36pxDefaultSize:o}),k=(0,r.useMemo)((()=>({InputControlPrefixWrapper:{paddingLeft:x},InputControlSuffixWrapper:{paddingRight:S}})),[x,S]);return(0,r.createElement)(vh,s({},y,function(e){const t={};switch(e){case"top":t.direction="column",t.expanded=!1,t.gap=0;break;case"bottom":t.direction="column-reverse",t.expanded=!1,t.gap=0;break;case"edge":t.justify="space-between"}return t}(d),{className:l,gap:2,isFocused:p,labelPosition:d,ref:n}),(0,r.createElement)(Mh,{className:"components-input-control__label",hideLabelFromVision:c,labelPosition:d,htmlFor:b},h),(0,r.createElement)(bh,{__unstableInputWidth:i,className:"components-input-control__container",disabled:u,hideLabel:w,labelPosition:d},(0,r.createElement)(Qd,{value:k},m&&(0,r.createElement)(Ch,{className:"components-input-control__prefix"},m),a,v&&(0,r.createElement)(Ph,{className:"components-input-control__suffix"},v)),(0,r.createElement)(Th,{disabled:u,isFocused:p})))})),_h=e=>null!=e,Lh=hf((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,...g}=pf(e,"Spacer");return{...g,className:ff()(_h(n)&&Af("margin:",yp(n),";",""),_h(l)&&Af("margin-bottom:",yp(l),";margin-top:",yp(l),";",""),_h(s)&&Af("margin-left:",yp(s),";margin-right:",yp(s),";",""),_h(a)&&Af("margin-top:",yp(a),";",""),_h(r)&&Af("margin-bottom:",yp(r),";",""),_h(o)&&hh({marginLeft:yp(o)})(),_h(i)&&hh({marginRight:yp(i)})(),_h(u)&&Af("padding:",yp(u),";",""),_h(m)&&Af("padding-bottom:",yp(m),";padding-top:",yp(m),";",""),_h(h)&&Af("padding-left:",yp(h),";padding-right:",yp(h),";",""),_h(p)&&Af("padding-top:",yp(p),";",""),_h(c)&&Af("padding-bottom:",yp(c),";",""),_h(d)&&hh({paddingLeft:yp(d)})(),_h(f)&&hh({paddingRight:yp(f)})(),t)}}(e);return(0,r.createElement)(Cf,s({},n,{ref:t}))}),"Spacer"),Ah=hf((function(e,t){const n=pf(e,"InputControlSuffixWrapper");return(0,r.createElement)(Lh,s({marginBottom:0},n,{ref:t}))}),"InputControlSuffixWrapper"),Dh=kf("select",{target:"e1mv6sxx2"})("&&&{appearance:none;background:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",vp.gray[900],";display:block;font-family:inherit;margin:0;width:100%;max-width:none;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;",(e=>{let{disabled:t}=e;return t?Af({color:vp.ui.textDisabled},"",""):""}),";",(e=>{let{selectSize:t="default"}=e;const n={default:"13px",small:"11px","__unstable-large":"13px"}[t];return n?Af("font-size:","16px",";@media ( min-width: 600px ){font-size:",n,";}",""):""}),";",(e=>{let{__next36pxDefaultSize:t,multiple:n,selectSize:r="default"}=e;if(n)return;const o={default:{height:36,minHeight:36,paddingTop:0,paddingBottom:0},small:{height:24,minHeight:24,paddingTop:0,paddingBottom:0},"__unstable-large":{height:40,minHeight:40,paddingTop:0,paddingBottom:0}};return t||(o.default={height:30,minHeight:30,paddingTop:0,paddingBottom:0}),Af(o[r]||o.default,"","")}),";",(e=>{let{__next36pxDefaultSize:t,multiple:n,selectSize:r="default"}=e;const o={default:16,small:8,"__unstable-large":16};t||(o.default=8);const i=o[r]||o.default;return hh({paddingLeft:i,paddingRight:i+18,...n?{paddingTop:i,paddingBottom:i}:{}})}),";",(e=>{let{multiple:t}=e;return{overflow:t?"auto":"hidden"}}),";}"),Fh=kf("div",{target:"e1mv6sxx1"})("margin-inline-end:",yp(-1),";line-height:0;"),Vh=kf(Ah,{target:"e1mv6sxx0"})("position:absolute;pointer-events:none;",hh({right:0}),";"),Nh=(0,r.forwardRef)((function({icon:e,size:t=24,...n},o){return(0,r.cloneElement)(e,{width:t,height:t,...n,ref:o})})),Ih=(0,r.createElement)(Wl,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(Ul,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})),jh=()=>(0,r.createElement)(Vh,null,(0,r.createElement)(Fh,null,(0,r.createElement)(Nh,{icon:Ih,size:18}))),zh=()=>{},Bh=(0,r.forwardRef)((function(e,t){const{className:n,disabled:o=!1,help:i,hideLabelFromVision:a,id:l,label:c,multiple:d=!1,onBlur:f=zh,onChange:p,onFocus:h=zh,options:m=[],size:g="default",value:v,labelPosition:y="top",children:b,prefix:w,suffix:x,__next36pxDefaultSize:S=!1,__nextHasNoMarginBottom:k=!1,...E}=e,[C,P]=(0,r.useState)(!1),O=function(e){const t=$(Bh);return e||`inspector-select-control-${t}`}(l),T=i?`${O}__help`:void 0;if(!(null!=m&&m.length||b))return null;const M=u()("components-select-control",n);return(0,r.createElement)(Op,{help:i,id:O,__nextHasNoMarginBottom:k},(0,r.createElement)(Rh,{className:M,disabled:o,hideLabelFromVision:a,id:O,isFocused:C,label:c,size:g,suffix:x||!d&&(0,r.createElement)(jh,null),prefix:w,labelPosition:y,__next36pxDefaultSize:S},(0,r.createElement)(Dh,s({},E,{__next36pxDefaultSize:S,"aria-describedby":T,className:"components-select-control__input",disabled:o,id:O,multiple:d,onBlur:e=>{f(e),P(!1)},onChange:t=>{var n;if(e.multiple){var r;const n=Array.from(t.target.options).filter((e=>{let{selected:t}=e;return t})),o=n.map((e=>{let{value:t}=e;return t}));null===(r=e.onChange)||void 0===r||r.call(e,o,{event:t})}else null===(n=e.onChange)||void 0===n||n.call(e,t.target.value,{event:t})},onFocus:e=>{h(e),P(!0)},ref:t,selectSize:g,value:v}),b||m.map(((e,t)=>{const n=e.id||`${e.label}-${e.value}-${t}`;return(0,r.createElement)("option",{key:n,value:e.value,disabled:e.disabled},e.label)})))))})),$h=Bh;function Hh(e){return Hh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hh(e)}function Uh(e){var t=function(e){if("object"!=Hh(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Hh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Hh(t)?t:t+""}function Wh(e,t,n){return(t=Uh(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xh(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 Yh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xh(Object(n),!0).forEach((function(t){Wh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Uh(r.key),r)}}function Gh(e,t){return Gh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Gh(e,t)}function Qh(e){return Qh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Qh(e)}function Kh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Kh=function(){return!!e})()}function Zh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Jh(e,t){if(e){if("string"==typeof e)return Zh(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zh(e,t):void 0}}function em(e){return function(e){if(Array.isArray(e))return Zh(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Jh(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tm(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||Jh(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nm(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var rm=r.useLayoutEffect,om=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],im=function(){};function am(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function sm(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(am(e,a)));return i.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var lm=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Hh(e)&&null!==e?[e]:[];var t},um=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,Yh({},nm(e,om))},cm=function(e,t,n){var r=e.cx,o=e.getStyles,i=e.getClassNames,a=e.className;return{css:o(t,e),className:r(null!=n?n:{},i(t,e),a)}};function dm(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function fm(e){return dm(e)?window.pageYOffset:e.scrollTop}function pm(e,t){dm(e)?window.scrollTo(0,t):e.scrollTop=t}function hm(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:im,o=fm(e),i=t-o,a=0;!function t(){var s=function(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}(a+=10,o,i,n);pm(e,s),a<n?window.requestAnimationFrame(t):r(e)}()}function mm(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?pm(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&pm(e,Math.max(t.offsetTop-o,0))}function gm(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var vm=!1,ym={get passive(){return vm=!0}},bm="undefined"!=typeof window?window:{};bm.addEventListener&&bm.removeEventListener&&(bm.addEventListener("p",im,ym),bm.removeEventListener("p",im,!1));var wm=vm;function xm(e){return null!=e}function Sm(e,t,n){return e?t:n}var km=["children","innerProps"],Em=["children","innerProps"];var Cm,Pm=function(e){return"auto"===e?"bottom":e},Om=(0,r.createContext)(null),Tm=function(e){var t=e.children,n=e.minMenuHeight,o=e.maxMenuHeight,i=e.menuPlacement,a=e.menuPosition,s=e.menuShouldScrollIntoView,l=e.theme,u=((0,r.useContext)(Om)||{}).setPortalPlacement,c=(0,r.useRef)(null),d=tm((0,r.useState)(o),2),f=d[0],p=d[1],h=tm((0,r.useState)(null),2),m=h[0],g=h[1],v=l.spacing.controlHeight;return rm((function(){var e=c.current;if(e){var t="fixed"===a,r=function(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var c,d=l.getBoundingClientRect().height,f=n.getBoundingClientRect(),p=f.bottom,h=f.height,m=f.top,g=n.offsetParent.getBoundingClientRect().top,v=a||dm(c=l)?window.innerHeight:c.clientHeight,y=fm(l),b=parseInt(getComputedStyle(n).marginBottom,10),w=parseInt(getComputedStyle(n).marginTop,10),x=g-w,S=v-m,k=x+y,E=d-y-m,C=p-v+y+b,P=y+m-w,O=160;switch(o){case"auto":case"bottom":if(S>=h)return{placement:"bottom",maxHeight:t};if(E>=h&&!a)return i&&hm(l,C,O),{placement:"bottom",maxHeight:t};if(!a&&E>=r||a&&S>=r)return i&&hm(l,C,O),{placement:"bottom",maxHeight:a?S-b:E-b};if("auto"===o||a){var T=t,M=a?x:k;return M>=r&&(T=Math.min(M-b-s,t)),{placement:"top",maxHeight:T}}if("bottom"===o)return i&&pm(l,C),{placement:"bottom",maxHeight:t};break;case"top":if(x>=h)return{placement:"top",maxHeight:t};if(k>=h&&!a)return i&&hm(l,P,O),{placement:"top",maxHeight:t};if(!a&&k>=r||a&&x>=r){var R=t;return(!a&&k>=r||a&&x>=r)&&(R=a?x-w:k-w),i&&hm(l,P,O),{placement:"top",maxHeight:R}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}({maxHeight:o,menuEl:e,minHeight:n,placement:i,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:v});p(r.maxHeight),g(r.placement),null==u||u(r.placement)}}),[o,i,a,s,n,u,v]),t({ref:c,placerProps:Yh(Yh({},e),{},{placement:m||Pm(i),maxHeight:f})})},Mm=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return Yh({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Rm=Mm,_m=Mm,Lm=["size"],Am=["innerProps","isRtl","size"],Dm={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Fm=function(e){var t=e.size,n=nm(e,Lm);return Lf("svg",s({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Dm},n))},Vm=function(e){return Lf(Fm,s({size:20},e),Lf("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Nm=function(e){return Lf(Fm,s({size:20},e),Lf("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Im=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return Yh({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*o,":hover":{color:n?i.neutral80:i.neutral40}})},jm=Im,zm=Im,Bm=function(){var e=Af.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(Cm||(Cm=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]))),$m=function(e){var t=e.delay,n=e.offset;return Lf("span",{css:Af({animation:"".concat(Bm," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},Hm=["data"],Um=["innerRef","isDisabled","isHidden","inputClassName"],Wm={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Xm={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Yh({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Wm)},Ym=function(e){return Yh({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Wm)},qm=function(e){var t=e.children,n=e.innerProps;return Lf("div",n,t)},Gm={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Lf("div",s({},cm(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Lf(Vm,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return Lf("div",s({ref:o},cm(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Lf("div",s({},cm(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Lf(Nm,null))},DownChevron:Nm,CrossIcon:Vm,Group:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,i=e.Heading,a=e.headingProps,l=e.innerProps,u=e.label,c=e.theme,d=e.selectProps;return Lf("div",s({},cm(e,"group",{group:!0}),l),Lf(i,s({},a,{selectProps:d,theme:c,getStyles:r,getClassNames:o,cx:n}),u),Lf("div",null,t))},GroupHeading:function(e){var t=um(e);t.data;var n=nm(t,Hm);return Lf("div",s({},cm(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Lf("div",s({},cm(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Lf("span",s({},t,cm(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=um(e),o=r.innerRef,i=r.isDisabled,a=r.isHidden,l=r.inputClassName,u=nm(r,Um);return Lf("div",s({},cm(e,"input",{"input-container":!0}),{"data-value":n||""}),Lf("input",s({className:t({input:!0},l),ref:o,style:Ym(a),disabled:i},u)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=void 0===r?4:r,i=nm(e,Am);return Lf("div",s({},cm(Yh(Yh({},i),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Lf($m,{delay:0,offset:n}),Lf($m,{delay:160,offset:!0}),Lf($m,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Lf("div",s({},cm(e,"menu",{menu:!0}),{ref:n},r),t)},MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return Lf("div",s({},cm(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,o=e.controlElement,i=e.innerProps,a=e.menuPlacement,l=e.menuPosition,u=(0,r.useRef)(null),c=(0,r.useRef)(null),d=tm((0,r.useState)(Pm(a)),2),f=d[0],p=d[1],h=(0,r.useMemo)((function(){return{setPortalPlacement:p}}),[]),m=tm((0,r.useState)(null),2),g=m[0],v=m[1],y=(0,r.useCallback)((function(){if(o){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(o),t="fixed"===l?0:window.pageYOffset,n=e[f]+t;n===(null==g?void 0:g.offset)&&e.left===(null==g?void 0:g.rect.left)&&e.width===(null==g?void 0:g.rect.width)||v({offset:n,rect:e})}}),[o,l,f,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);rm((function(){y()}),[y]);var b=(0,r.useCallback)((function(){"function"==typeof c.current&&(c.current(),c.current=null),o&&u.current&&(c.current=ut(o,u.current,y,{elementResize:"ResizeObserver"in window}))}),[o,y]);rm((function(){b()}),[b]);var w=(0,r.useCallback)((function(e){u.current=e,b()}),[b]);if(!t&&"fixed"!==l||!g)return null;var x=Lf("div",s({ref:w},cm(Yh(Yh({},e),{},{offset:g.offset,position:l,rect:g.rect}),"menuPortal",{"menu-portal":!0}),i),n);return Lf(Om.Provider,{value:h},t?(0,mt.createPortal)(x,t):x)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=nm(e,Em);return Lf("div",s({},cm(Yh(Yh({},o),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,o=nm(e,km);return Lf("div",s({},cm(Yh(Yh({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,i=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,u=n.Label,c=n.Remove;return Lf(l,{data:r,innerProps:Yh(Yh({},cm(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:s},Lf(u,{data:r,innerProps:Yh({},cm(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Lf(c,{data:r,innerProps:Yh(Yh({},cm(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},MultiValueContainer:qm,MultiValueLabel:qm,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Lf("div",s({role:"button"},n),t||Lf(Vm,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.innerRef,a=e.innerProps;return Lf("div",s({},cm(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:i,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Lf("div",s({},cm(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return Lf("div",s({},cm(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Lf("div",s({},cm(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,o=e.hasValue;return Lf("div",s({},cm(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},Qm=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Km(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||Qm(r)&&Qm(o)))return!1;var r,o;return!0}for(var Zm={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},Jm=function(e){return Lf("span",s({css:Zm},e))},eg={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,o=e.context,i=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,a=e.selectValue,s=e.isDisabled,l=e.isSelected,u=e.isAppleDevice,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(c(a,n),".");if("menu"===t&&u){var d=s?" disabled":"",f="".concat(l?" selected":"").concat(d);return"".concat(i).concat(f,", ").concat(c(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},tg=function(e){var t=e.ariaSelection,n=e.focusedOption,o=e.focusedValue,i=e.focusableOptions,a=e.isFocused,s=e.selectValue,l=e.selectProps,u=e.id,c=e.isAppleDevice,d=l.ariaLiveMessages,f=l.getOptionLabel,p=l.inputValue,h=l.isMulti,m=l.isOptionDisabled,g=l.isSearchable,v=l.menuIsOpen,y=l.options,b=l.screenReaderStatus,w=l.tabSelectsValue,x=l.isLoading,S=l["aria-label"],k=l["aria-live"],E=(0,r.useMemo)((function(){return Yh(Yh({},eg),d||{})}),[d]),C=(0,r.useMemo)((function(){var e,n="";if(t&&E.onChange){var r=t.option,o=t.options,i=t.removedValue,a=t.removedValues,l=t.value,u=i||r||(e=l,Array.isArray(e)?null:e),c=u?f(u):"",d=o||a||void 0,p=d?d.map(f):[],h=Yh({isDisabled:u&&m(u,s),label:c,labels:p},t);n=E.onChange(h)}return n}),[t,E,m,s,f]),P=(0,r.useMemo)((function(){var e="",t=n||o,r=!!(n&&s&&s.includes(n));if(t&&E.onFocus){var a={focused:t,label:f(t),isDisabled:m(t,s),isSelected:r,options:i,context:t===n?"menu":"value",selectValue:s,isAppleDevice:c};e=E.onFocus(a)}return e}),[n,o,f,m,E,i,s,c]),O=(0,r.useMemo)((function(){var e="";if(v&&y.length&&!x&&E.onFilter){var t=b({count:i.length});e=E.onFilter({inputValue:p,resultsMessage:t})}return e}),[i,p,v,E,y,b,x]),T="initial-input-focus"===(null==t?void 0:t.action),M=(0,r.useMemo)((function(){var e="";if(E.guidance){var t=o?"value":v?"menu":"input";e=E.guidance({"aria-label":S,context:t,isDisabled:n&&m(n,s),isMulti:h,isSearchable:g,tabSelectsValue:w,isInitialFocus:T})}return e}),[S,n,o,h,m,g,v,E,s,w,T]),R=Lf(r.Fragment,null,Lf("span",{id:"aria-selection"},C),Lf("span",{id:"aria-focused"},P),Lf("span",{id:"aria-results"},O),Lf("span",{id:"aria-guidance"},M));return Lf(r.Fragment,null,Lf(Jm,{id:u},T&&R),Lf(Jm,{"aria-live":k,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!T&&R))},ng=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],rg=new RegExp("["+ng.map((function(e){return e.letters})).join("")+"]","g"),og={},ig=0;ig<ng.length;ig++)for(var ag=ng[ig],sg=0;sg<ag.letters.length;sg++)og[ag.letters[sg]]=ag.base;var lg=function(e){return e.replace(rg,(function(e){return og[e]}))},ug=function(e,t){void 0===t&&(t=Km);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}(lg),cg=function(e){return e.replace(/^\s+|\s+$/g,"")},dg=function(e){return"".concat(e.label," ").concat(e.value)},fg=["innerRef"];function pg(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Object.entries(e).filter((function(e){var t=tm(e,1)[0];return!n.includes(t)}));return o.reduce((function(e,t){var n=tm(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})}(nm(e,fg),"onExited","in","enter","exit","appear");return Lf("input",s({ref:t},n,{css:Af({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var hg=["boxSizing","height","overflow","paddingRight","position"],mg={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function gg(e){e.cancelable&&e.preventDefault()}function vg(e){e.stopPropagation()}function yg(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function bg(){return"ontouchstart"in window||navigator.maxTouchPoints}var wg=!("undefined"==typeof window||!window.document||!window.document.createElement),xg=0,Sg={capture:!1,passive:!1},kg=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Eg={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Cg(e){var t=e.children,n=e.lockEnabled,o=e.captureEnabled,i=function(e){var t=e.isEnabled,n=e.onBottomArrive,o=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,s=(0,r.useRef)(!1),l=(0,r.useRef)(!1),u=(0,r.useRef)(0),c=(0,r.useRef)(null),d=(0,r.useCallback)((function(e,t){if(null!==c.current){var r=c.current,u=r.scrollTop,d=r.scrollHeight,f=r.clientHeight,p=c.current,h=t>0,m=d-f-u,g=!1;m>t&&s.current&&(o&&o(e),s.current=!1),h&&l.current&&(a&&a(e),l.current=!1),h&&t>m?(n&&!s.current&&n(e),p.scrollTop=d,g=!0,s.current=!0):!h&&-t>u&&(i&&!l.current&&i(e),p.scrollTop=0,g=!0,l.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[n,o,i,a]),f=(0,r.useCallback)((function(e){d(e,e.deltaY)}),[d]),p=(0,r.useCallback)((function(e){u.current=e.changedTouches[0].clientY}),[]),h=(0,r.useCallback)((function(e){var t=u.current-e.changedTouches[0].clientY;d(e,t)}),[d]),m=(0,r.useCallback)((function(e){if(e){var t=!!wm&&{passive:!1};e.addEventListener("wheel",f,t),e.addEventListener("touchstart",p,t),e.addEventListener("touchmove",h,t)}}),[h,p,f]),g=(0,r.useCallback)((function(e){e&&(e.removeEventListener("wheel",f,!1),e.removeEventListener("touchstart",p,!1),e.removeEventListener("touchmove",h,!1))}),[h,p,f]);return(0,r.useEffect)((function(){if(t){var e=c.current;return m(e),function(){g(e)}}}),[t,m,g]),function(e){c.current=e}}({isEnabled:void 0===o||o,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),a=function(e){var t=e.isEnabled,n=e.accountForScrollbars,o=void 0===n||n,i=(0,r.useRef)({}),a=(0,r.useRef)(null),s=(0,r.useCallback)((function(e){if(wg){var t=document.body,n=t&&t.style;if(o&&hg.forEach((function(e){var t=n&&n[e];i.current[e]=t})),o&&xg<1){var r=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+r||0;Object.keys(mg).forEach((function(e){var t=mg[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&bg()&&(t.addEventListener("touchmove",gg,Sg),e&&(e.addEventListener("touchstart",yg,Sg),e.addEventListener("touchmove",vg,Sg))),xg+=1}}),[o]),l=(0,r.useCallback)((function(e){if(wg){var t=document.body,n=t&&t.style;xg=Math.max(xg-1,0),o&&xg<1&&hg.forEach((function(e){var t=i.current[e];n&&(n[e]=t)})),t&&bg()&&(t.removeEventListener("touchmove",gg,Sg),e&&(e.removeEventListener("touchstart",yg,Sg),e.removeEventListener("touchmove",vg,Sg)))}}),[o]);return(0,r.useEffect)((function(){if(t){var e=a.current;return s(e),function(){l(e)}}}),[t,s,l]),function(e){a.current=e}}({isEnabled:n});return Lf(r.Fragment,null,n&&Lf("div",{onClick:kg,css:Eg}),t((function(e){i(e),a(e)})))}var Pg={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},Og=function(e){var t=e.name,n=e.onFocus;return Lf("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Pg,value:"",onChange:function(){}})};function Tg(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function Mg(){return Tg(/^Mac/i)}var Rg=function(e){return e.label},_g=function(e){return e.value},Lg={clearIndicator:zm,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.theme,i=o.colors,a=o.borderRadius;return Yh({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:r?i.primary:i.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:r?i.primary:i.neutral30}})},dropdownIndicator:jm,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,o=n.spacing;return Yh({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return Yh({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,i=o.spacing,a=o.colors;return Yh(Yh({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},Xm),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,i=o.colors,a=o.spacing.baseUnit;return Yh({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a})},loadingMessage:_m,menu:function(e,t){var n,r=e.placement,o=e.theme,i=o.borderRadius,a=o.spacing,s=o.colors;return Yh((Wh(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),Wh(n,"position","absolute"),Wh(n,"width","100%"),Wh(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return Yh({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors;return Yh({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,i=e.cropWithEllipsis;return Yh({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors,a=e.isFocused;return Yh({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:a?i.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:Rm,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.theme,a=i.spacing,s=i.colors;return Yh({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:o?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return Yh({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,i=r.colors;return Yh({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,i=e.selectProps.controlShouldRenderValue;return Yh({alignItems:"center",display:r&&o&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Ag={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},Dg={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:gm(),captureMenuScroll:!gm(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=Yh({ignoreCase:!0,ignoreAccents:!0,stringify:dg,trim:!0,matchFrom:"any"},undefined),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,s=n.matchFrom,l=a?cg(t):t,u=a?cg(i(e)):i(e);return r&&(l=l.toLowerCase(),u=u.toLowerCase()),o&&(l=ug(l),u=lg(u)),"start"===s?u.substr(0,l.length)===l:u.indexOf(l)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:Rg,getOptionValue:_g,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Fg(e,t,n,r){return{type:"option",data:t,isDisabled:Hg(e,t,n),isSelected:Ug(e,t,n),label:Bg(e,t),value:$g(e,t),index:r}}function Vg(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return Fg(e,n,t,r)})).filter((function(t){return jg(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=Fg(e,n,t,r);return jg(e,i)?i:void 0})).filter(xm)}function Ng(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,em(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function Ig(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,em(n.options.map((function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}})))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e}),[])}function jg(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!Xg(e)||!i)&&Wg(e,{label:a,value:s,data:o},r)}var zg=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},Bg=function(e,t){return e.getOptionLabel(t)},$g=function(e,t){return e.getOptionValue(t)};function Hg(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Ug(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=$g(e,t);return n.some((function(t){return $g(e,t)===r}))}function Wg(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Xg=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Yg=1,qg=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Gh(e,t)}(n,e);var t=function(e){var t=Kh();return function(){var n,r=Qh(e);if(t){var o=Qh(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"==Hh(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}(n);function n(e){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(r=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.isAppleDevice=Mg()||Tg(/^iPhone/i)||Tg(/^iPad/i)||Mg()&&navigator.maxTouchPoints>1,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,o=n.onChange,i=n.name;t.name=i,r.ariaOnChange(e,t),o(e,t)},r.setValue=function(e,t,n){var o=r.props,i=o.closeMenuOnSelect,a=o.isMulti,s=o.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,o=t.isMulti,i=t.name,a=r.state.selectValue,s=o&&r.isOptionSelected(e,a),l=r.isOptionDisabled(e,a);if(s){var u=r.getOptionValue(e);r.setValue(a.filter((function(e){return r.getOptionValue(e)!==u})),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:i});o?r.setValue([].concat(em(a),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,o=r.getOptionValue(e),i=n.filter((function(e){return r.getOptionValue(e)!==o})),a=Sm(t,i,i[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(Sm(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],o=t.slice(0,t.length-1),i=Sm(e,o,o[0]||null);n&&r.onChange(i,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return zg(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return Ig(Vg(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return sm.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return Bg(r.props,e)},r.getOptionValue=function(e){return $g(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,o=Lg[e](t,n);o.boxSizing="border-box";var i=r.props.styles[e];return i?i(o,t):o},r.getClassNames=function(e,t){var n,o;return null===(n=(o=r.props.classNames)[e])||void 0===n?void 0:n.call(o,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,Yh(Yh({},Gm),e.components);var e},r.buildCategorizedOptions=function(){return Vg(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Ng(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:Yh({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,o=t.menuIsOpen;r.focusInput(),o?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout((function(){return r.focusInput()})))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&dm(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var o=Math.abs(n.clientX-r.initialTouchX),i=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=o>5||i>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return Xg(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,o=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,u=t.menuIsOpen,c=t.onKeyDown,d=t.tabSelectsValue,f=t.openMenuOnFocus,p=r.state,h=p.focusedOption,m=p.focusedValue,g=p.selectValue;if(!(l||"function"==typeof c&&(c(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)r.removeValue(m);else{if(!o)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!u||!d||!h||f&&r.isOptionSelected(h,g))return;r.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(u){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":u?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&i&&r.clearValue();break;case" ":if(a)return;if(!u){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":u?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":u?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!u)return;r.focusOption("pageup");break;case"PageDown":if(!u)return;r.focusOption("pagedown");break;case"Home":if(!u)return;r.focusOption("first");break;case"End":if(!u)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++Yg),r.state.selectValue=lm(e.value),e.menuIsOpen&&r.state.selectValue.length){var o=r.getFocusableOptionsWithIds(),i=r.buildFocusableOptions(),a=i.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=o,r.state.focusedOption=i[a],r.state.focusedOptionId=zg(o,i[a])}return r}return function(e,t,n){t&&qh(e.prototype,t),n&&qh(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&mm(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(mm(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a],focusedOptionId:this.getFocusedOptionId(i[a])},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Ag):Yh(Yh({},Ag),this.props.theme):Ag}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,i=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,u=s.isRtl,c=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:l,isRtl:u,options:c,selectOption:i,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Hg(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Ug(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Wg(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,i=e.inputValue,a=e.tabIndex,l=e.form,u=e.menuIsOpen,c=e.required,d=this.getComponents().Input,f=this.state,p=f.inputIsHidden,h=f.ariaSelection,m=this.commonProps,g=o||this.getElementId("input"),v=Yh(Yh(Yh({"aria-autocomplete":"list","aria-expanded":u,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},u&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?r.createElement(d,s({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:g,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:l,type:"text",value:i},v)):r.createElement(pg,s({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:im,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:l,value:""},v))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,i=t.MultiValueLabel,a=t.MultiValueRemove,l=t.SingleValue,u=t.Placeholder,c=this.commonProps,d=this.props,f=d.controlShouldRenderValue,p=d.isDisabled,h=d.isMulti,m=d.inputValue,g=d.placeholder,v=this.state,y=v.selectValue,b=v.focusedValue,w=v.isFocused;if(!this.hasValue()||!f)return m?null:r.createElement(u,s({},c,{key:"placeholder",isDisabled:p,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),g);if(h)return y.map((function(t,l){var u=t===b,d="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return r.createElement(n,s({},c,{components:{Container:o,Label:i,Remove:a},isFocused:u,isDisabled:p,key:d,index:l,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(m)return null;var x=y[0];return r.createElement(l,s({},c,{data:x,isDisabled:p}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||i)return null;var l={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,s({},t,{innerProps:l,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,a=this.state.isFocused;return e&&i?r.createElement(e,s({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:a})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return r.createElement(n,s({},o,{isDisabled:i,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,s({},t,{innerProps:i,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,i=t.Menu,a=t.MenuList,l=t.MenuPortal,u=t.LoadingMessage,c=t.NoOptionsMessage,d=t.Option,f=this.commonProps,p=this.state.focusedOption,h=this.props,m=h.captureMenuScroll,g=h.inputValue,v=h.isLoading,y=h.loadingMessage,b=h.minMenuHeight,w=h.maxMenuHeight,x=h.menuIsOpen,S=h.menuPlacement,k=h.menuPosition,E=h.menuPortalTarget,C=h.menuShouldBlockScroll,P=h.menuShouldScrollIntoView,O=h.noOptionsMessage,T=h.onMenuScrollToTop,M=h.onMenuScrollToBottom;if(!x)return null;var R,_=function(t,n){var o=t.type,i=t.data,a=t.isDisabled,l=t.isSelected,u=t.label,c=t.value,h=p===i,m=a?void 0:function(){return e.onOptionHover(i)},g=a?void 0:function(){return e.selectOption(i)},v="".concat(e.getElementId("option"),"-").concat(n),y={id:v,onClick:g,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.isAppleDevice?void 0:l};return r.createElement(d,s({},f,{innerProps:y,data:i,isDisabled:a,isSelected:l,key:v,label:u,type:o,value:c,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())R=this.getCategorizedOptions().map((function(t){if("group"===t.type){var i=t.data,a=t.options,l=t.index,u="".concat(e.getElementId("group"),"-").concat(l),c="".concat(u,"-heading");return r.createElement(n,s({},f,{key:u,data:i,options:a,Heading:o,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return _(e,"".concat(l,"-").concat(e.index))})))}if("option"===t.type)return _(t,"".concat(t.index))}));else if(v){var L=y({inputValue:g});if(null===L)return null;R=r.createElement(u,f,L)}else{var A=O({inputValue:g});if(null===A)return null;R=r.createElement(c,f,A)}var D={minMenuHeight:b,maxMenuHeight:w,menuPlacement:S,menuPosition:k,menuShouldScrollIntoView:P},F=r.createElement(Tm,s({},f,D),(function(t){var n=t.ref,o=t.placerProps,l=o.placement,u=o.maxHeight;return r.createElement(i,s({},f,D,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:v,placement:l}),r.createElement(Cg,{captureEnabled:m,onTopArrive:T,onBottomArrive:M,lockEnabled:C},(function(t){return r.createElement(a,s({},f,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":f.isMulti,id:e.getElementId("listbox")},isLoading:v,maxHeight:u,focusedOption:p}),R)})))}));return E||"fixed"===k?r.createElement(l,s({},f,{appendTo:E,controlElement:this.controlRef,menuPlacement:S,menuPosition:k}),F):F}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,i=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!o)return r.createElement(Og,{name:a,onFocus:this.onValueInputFocus});if(a&&!o){if(i){if(n){var u=l.map((function(t){return e.getOptionValue(t)})).join(n);return r.createElement("input",{name:a,type:"hidden",value:u})}var c=l.length>0?l.map((function(t,n){return r.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})})):r.createElement("input",{name:a,type:"hidden",value:""});return r.createElement("div",null,c)}var d=l[0]?this.getOptionValue(l[0]):"";return r.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,i=t.focusedValue,a=t.isFocused,l=t.selectValue,u=this.getFocusableOptions();return r.createElement(tg,s({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:i,isFocused:a,selectValue:l,focusableOptions:u,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,i=e.ValueContainer,a=this.props,l=a.className,u=a.id,c=a.isDisabled,d=a.menuIsOpen,f=this.state.isFocused,p=this.commonProps=this.getCommonProps();return r.createElement(o,s({},p,{className:l,innerProps:{id:u,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:f}),this.renderLiveRegion(),r.createElement(t,s({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:f,menuIsOpen:d}),r.createElement(i,s({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),r.createElement(n,s({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,u=e.options,c=e.value,d=e.menuIsOpen,f=e.inputValue,p=e.isMulti,h=lm(c),m={};if(n&&(c!==n.value||u!==n.options||d!==n.menuIsOpen||f!==n.inputValue)){var g=d?function(e,t){return Ng(Vg(e,t))}(e,h):[],v=d?Ig(Vg(e,h),"".concat(l,"-option")):[],y=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,b=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);m={selectValue:h,focusedOption:b,focusedOptionId:zg(v,b),focusableOptionsWithIds:v,focusedValue:y,clearFocusValueOnUpdate:!1}}var w=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},x=i,S=a&&s;return a&&!S&&(x={value:Sm(p,h,h[0]||null),options:h,action:"initial-input-focus"},S=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(x=null),Yh(Yh(Yh({},m),w),{},{prevProps:e,ariaSelection:x,prevWasFocused:S})}}]),n}(r.Component);qg.defaultProps=Dg;var Gg=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"],Qg=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],Kg=function(){var e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0,n=String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toLowerCase(),r=String(t.getOptionValue(e)).toLowerCase(),o=String(t.getOptionLabel(e)).toLowerCase();return r===n||o===n},Zg={formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,n,r){return!(!e||t.some((function(t){return Kg(e,t,r)}))||n.some((function(t){return Kg(e,t,r)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}},Jg=(0,r.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,o=e.defaultMenuIsOpen,i=void 0!==o&&o,a=e.defaultValue,s=void 0===a?null:a,l=e.inputValue,u=e.menuIsOpen,c=e.onChange,d=e.onInputChange,f=e.onMenuClose,p=e.onMenuOpen,h=e.value,m=nm(e,Gg),g=tm((0,r.useState)(void 0!==l?l:n),2),v=g[0],y=g[1],b=tm((0,r.useState)(void 0!==u?u:i),2),w=b[0],x=b[1],S=tm((0,r.useState)(void 0!==h?h:s),2),k=S[0],E=S[1],C=(0,r.useCallback)((function(e,t){"function"==typeof c&&c(e,t),E(e)}),[c]),P=(0,r.useCallback)((function(e,t){var n;"function"==typeof d&&(n=d(e,t)),y(void 0!==n?n:e)}),[d]),O=(0,r.useCallback)((function(){"function"==typeof p&&p(),x(!0)}),[p]),T=(0,r.useCallback)((function(){"function"==typeof f&&f(),x(!1)}),[f]),M=void 0!==l?l:v,R=void 0!==u?u:w,_=void 0!==h?h:k;return Yh(Yh({},m),{},{inputValue:M,menuIsOpen:R,onChange:C,onInputChange:P,onMenuClose:T,onMenuOpen:O,value:_})}(e),o=function(e){var t=e.allowCreateWhileLoading,n=void 0!==t&&t,o=e.createOptionPosition,i=void 0===o?"last":o,a=e.formatCreateLabel,s=void 0===a?Zg.formatCreateLabel:a,l=e.isValidNewOption,u=void 0===l?Zg.isValidNewOption:l,c=e.getNewOptionData,d=void 0===c?Zg.getNewOptionData:c,f=e.onCreateOption,p=e.options,h=void 0===p?[]:p,m=e.onChange,g=nm(e,Qg),v=g.getOptionValue,y=void 0===v?_g:v,b=g.getOptionLabel,w=void 0===b?Rg:b,x=g.inputValue,S=g.isLoading,k=g.isMulti,E=g.value,C=g.name,P=(0,r.useMemo)((function(){return u(x,lm(E),h,{getOptionValue:y,getOptionLabel:w})?d(x,s(x)):void 0}),[s,d,w,y,x,u,h,E]),O=(0,r.useMemo)((function(){return!n&&S||!P?h:"first"===i?[P].concat(em(h)):[].concat(em(h),[P])}),[n,i,S,P,h]),T=(0,r.useCallback)((function(e,t){if("select-option"!==t.action)return m(e,t);var n=Array.isArray(e)?e:[e];if(n[n.length-1]!==P)m(e,t);else if(f)f(x);else{var r=d(x,x),o={action:"create-option",name:C,option:r};m(Sm(k,[].concat(em(lm(E)),[r]),r),o)}}),[d,x,k,C,P,f,m,E]);return Yh(Yh({},g),{},{options:O,onChange:T})}(n);return r.createElement(qg,s({ref:t},o))})),ev=Jg,tv=o(848);const nv=({isCollabActive:e,activationUrl:t})=>{const[n,o]=(0,r.useState)("yes"===e);return(0,tv.jsx)("div",{children:n?(0,tv.jsx)(Mf,{isSecondary:!0,onClick:()=>{o(!1)},className:"avc-deactivate-project",children:window.avcSettings.i18n.disconnect}):(0,tv.jsx)("div",{className:"avc-activate-project",children:(0,tv.jsx)(Mf,{isPrimary:!0,href:"javascript:void(0)",className:"avc-activate-project avc-trigger-activate",target:"_blank",children:window.avcSettings.i18n.connect})})})},rv=({pluginVersion:e,notice:t})=>{if(!e||!t)return null;const n=t.enabled&&Array.isArray(t.showForVersions)&&t.showForVersions.includes(e),o="avc_notice_dismissed_version",[i,a]=(0,r.useState)((()=>{if(!n)return!1;try{return localStorage.getItem(o)!==e}catch(e){return!0}}));return n&&i?(0,tv.jsxs)("div",{className:"avc-notice",children:[(0,tv.jsxs)("div",{className:"avc-notice-content",children:[t.title&&(0,tv.jsx)("div",{className:"avc-notice-title",children:t.title}),t.descriptionHtml&&(0,tv.jsx)("p",{className:"avc-notice-description",dangerouslySetInnerHTML:{__html:t.descriptionHtml}})]}),(0,tv.jsx)("button",{type:"button","aria-label":"Dismiss notice",className:"avc-notice-close",onClick:()=>{if(a(!1),e)try{localStorage.setItem(o,e)}catch(e){}},children:"×"})]}):null},ov=()=>{const[e,t]=(0,r.useState)(window.avcSettings.settings),[n,o]=(0,r.useState)(""),[i,a]=(0,r.useState)(!1),s=(e,n)=>{t((t=>({...t,[e]:n})))},l=e=>{const t=document.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",document.body.appendChild(t),t.select();try{document.execCommand("copy"),a(!0),setTimeout((()=>a(!1)),2e3)}catch(e){console.error("Fallback: Copy failed",e),alert("Failed to copy the link.")}document.body.removeChild(t)};return(0,tv.jsxs)("div",{className:"avc-settings-layout",children:[(0,tv.jsxs)("div",{className:"avc_setting_parent",children:[(0,tv.jsxs)("div",{className:"avc-setting-block",children:[(0,tv.jsx)("img",{src:window.avcSettings.logoUrl,alt:"Atarim Logo",style:{maxWidth:"120px",marginBottom:"10px"}}),"yes"===window.avcSettings.isCollabActive?(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsx)("h3",{children:window.avcSettings.i18n.connected}),(0,tv.jsx)("p",{dangerouslySetInnerHTML:{__html:window.avcSettings.i18n.subheader}})]}):(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsx)("h3",{children:window.avcSettings.i18n.connectHeading}),(0,tv.jsx)("p",{children:window.avcSettings.i18n.connectDescription}),(0,tv.jsx)("p",{dangerouslySetInnerHTML:{__html:window.avcSettings.i18n.connectCta}})]})]}),(0,tv.jsx)("div",{className:"avc-setting-block",children:(0,tv.jsx)(nv,{isCollabActive:window.avcSettings.isCollabActive,activationUrl:window.avcSettings.activationUrl})}),"yes"===window.avcSettings.isCollabActive&&(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsxs)("div",{className:"avc-setting-block avc-guest-mode",children:[(0,tv.jsx)("label",{className:"components-base-control__label",children:window.avcSettings.i18n.guestMode}),(0,tv.jsxs)("div",{className:"avc-guest-link",children:[(0,tv.jsx)("span",{className:"avc-guest-collab-link",children:window.avcSettings.i18n.guestLinkText1}),(0,tv.jsx)(Mf,{onClick:()=>{const e=window.avcSettings.avc_collab_link;navigator.clipboard&&window.isSecureContext?navigator.clipboard.writeText(e).then((()=>{a(!0),setTimeout((()=>a(!1)),2e3)})).catch((t=>{console.error("Copy failed:",t),l(e)})):l(e)},variant:"primary",children:i?window.avcSettings.i18n.copied:window.avcSettings.i18n.copyLink}),(0,tv.jsx)("span",{className:"avc-guest-collab-link",children:window.avcSettings.i18n.guestLinkText2})]})]}),(0,tv.jsxs)("div",{className:"avc-setting-block avc-who-can-collaborate",children:[(0,tv.jsx)("label",{className:"components-base-control__label",children:window.avcSettings.i18n.whoCan}),(0,tv.jsx)(ev,{isMulti:!0,value:e.avc_selected_role.map((e=>({label:e,value:e}))),options:window.avcSettings.availableRoles.map((e=>({label:e.label,value:e.value}))),onChange:e=>s("avc_selected_role",e.map((e=>e.value)))})]}),(0,tv.jsxs)("div",{className:"avc-setting-block avc-auto-login-user",children:[(0,tv.jsx)("label",{className:"components-base-control__label",children:window.avcSettings.i18n.autoLoginAs}),(0,tv.jsx)($h,{value:e.avc_website_developer,options:[{label:window.avcSettings.i18n.selectUserPlaceholder,value:""},...window.avcSettings.users.map((e=>({label:`${e.display_name} (${e.user_email})`,value:e.user_email})))],onChange:e=>s("avc_website_developer",e)})]}),(0,tv.jsx)("div",{className:"avc-setting-block",children:(0,tv.jsx)(Mf,{variant:"primary",onClick:async()=>{const t=await fetch(`${window.avcSettings.ajaxurl}?action=avc_save_settings`,{method:"POST",headers:{"Content-Type":"application/json","X-AVC-Nonce":window.avcSettings.avc_nonce},body:JSON.stringify(e)});if(t.ok){const e=await t.json();e.success?(o("Settings saved successfully!"),setTimeout((()=>o("")),3e3)):alert("Failed to save settings: "+e.data.message)}else alert("Error saving settings. Please try again.")},children:window.avcSettings.i18n.saveButton})})]}),n&&(0,tv.jsx)("div",{className:"avc_success_message",style:{marginTop:"10px",color:"green"},children:n})]}),(0,tv.jsx)("div",{className:"avc-notice-column",children:(0,tv.jsx)(rv,{pluginVersion:window.avcSettings.pluginVersion,notice:window.avcSettings.notice})})]})},iv=document.getElementById("avc-settings-root");iv&&(0,a.H)(iv).render((0,tv.jsx)(ov,{}))})()})(); -
atarim-visual-collaboration/trunk/assets/package-lock.json
r3418099 r3437404 8255 8255 }, 8256 8256 "node_modules/caniuse-lite": { 8257 "version": "1.0.300017 26",8258 "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.300017 26.tgz",8259 "integrity": "sha512- VQAUIUzBiZ/UnlM28fSp2CRF3ivUn1BWEvxMcVTNwpw91Py1pGbPIyIKtd+tzct9C3ouceCVdGAXxZOpZAsgdw==",8257 "version": "1.0.30001764", 8258 "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001764.tgz", 8259 "integrity": "sha512-9JGuzl2M+vPL+pz70gtMF9sHdMFbY9FJaQBi186cHKH3pSzDvzoUJUPV6fqiKIMyXbud9ZLg4F3Yza1vJ1+93g==", 8260 8260 "dev": true, 8261 8261 "funding": [ -
atarim-visual-collaboration/trunk/assets/src/index.js
r3418099 r3437404 16 16 headers: { 17 17 'Content-Type': 'application/json', 18 'X- WP-Nonce': window.avcSettings.nonce,18 'X-AVC-Nonce': window.avcSettings.avc_nonce, 19 19 }, 20 20 body: JSON.stringify(settings), -
atarim-visual-collaboration/trunk/atarim-visual-collaboration.php
r3432674 r3437404 3 3 * Plugin Name: Visual Feedback, Review & AI Collaboration Tool For WordPress - Atarim 4 4 * Description: Make collecting feedback on WordPress sites MUCH faster and easier, with the visual collaboration tool used on over 120,000 websites worldwide. 5 * Version: 4.3. 15 * Version: 4.3.2 6 6 * Requires at least: 5.0 7 7 * Require PHP: 7.4 -
atarim-visual-collaboration/trunk/includes/class-ajax-functions.php
r3418099 r3437404 65 65 66 66 function avc_save_avc_settings() { 67 if ( ! is_user_logged_in() ) { 68 wp_send_json_error( [ 'message' => 'Authentication required.' ], 401 ); 69 } 70 71 if ( ! current_user_can( 'manage_options' ) ) { 72 wp_send_json_error( [ 'message' => 'Unauthorized.' ], 403 ); 73 } 74 75 $nonce = ''; 76 if ( isset($_SERVER['HTTP_X_AVC_NONCE']) ) { 77 $nonce = sanitize_text_field( wp_unslash($_SERVER['HTTP_X_AVC_NONCE']) ); 78 } 79 80 if ( ! wp_verify_nonce( $nonce, 'avc-script-nonce' ) ) { 81 wp_send_json_error(['message' => 'Invalid nonce.'], 403); 82 } 83 67 84 $function = new AVC_Functions(); 68 85 $data = json_decode(file_get_contents('php://input'), true); … … 81 98 } 82 99 add_action('wp_ajax_avc_save_settings', 'avc_save_avc_settings'); 83 add_action('wp_ajax_nopriv_avc_save_settings', 'avc_save_avc_settings'); -
atarim-visual-collaboration/trunk/includes/class-define-constant.php
r3432674 r3437404 12 12 13 13 public function avc_define_constant() { 14 define( 'AVC_VERSION', '4.3. 1' );14 define( 'AVC_VERSION', '4.3.2' ); 15 15 define( 'AVC_SITE_URL', site_url() ); 16 16 define( 'AVC_HOME_URL', home_url() ); -
atarim-visual-collaboration/trunk/readme.txt
r3432674 r3437404 2 2 Contributors: wpfeedback, pratapdungrani 3 3 Tags: visual feedback, client feedback, project management, design review, AI feedback 4 Requires at least: 4.3. 14 Requires at least: 4.3.2 5 5 Tested up to: 6.9 6 6 Stable tag: 5.0 … … 218 218 Of course. You can upgrade to a [premium plan](http://atarim.io/pricing) at any time. All your projects and feedback stay connected and carry over automatically. 219 219 220 = How secure is Atarim? = 220 = How secure is Atarim? = 221 221 All data is stored securely off-site, away from your WordPress database to avoid DB bloat. We use encrypted communication, follow strict privacy standards and never sell or share your information. 222 222 Atarim holds SOC 2 Type 1 compliance, aligns with GDPR principles, and exclusively employs premium LLMs configured for maximum data privacy. … … 237 237 238 238 == Changelog == 239 240 = 4.3.2 = 241 * **Security** - Improved permission checks when saving plugin settings to prevent unauthorized access. 242 239 243 = 4.3.1 = 240 244 * Fixed: Consent modal readability issues caused by CSS overrides.
Note: See TracChangeset
for help on using the changeset viewer.