@windstream/react-shared-components 0.2.93 → 0.2.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contentful/index.d.ts +3 -6
- package/dist/contentful/index.esm.js +1 -1
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +1 -1
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +4 -4
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
- package/src/contentful/blocks/anchored-bottom-banner/index.test.tsx +91 -0
- package/src/contentful/blocks/anchored-bottom-banner/index.tsx +18 -11
- package/src/contentful/blocks/anchored-bottom-banner/types.ts +17 -3
- package/src/contentful/blocks/dynamic-tabs/types.ts +0 -1
- package/src/contentful/blocks/navigation/{Navigation.stories.tsx → navigation.stories.tsx} +1 -1
|
@@ -22,5 +22,5 @@ var t,n,r;r=function(){var e,t,n,r=Object.prototype.toString,i="undefined"!=type
|
|
|
22
22
|
*
|
|
23
23
|
* This source code is licensed under the MIT license found in the
|
|
24
24
|
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/function jg(){return Dg||(Dg=1,"production"===process.env.NODE_ENV?Rg.exports=function(){if(kg)return Og;kg=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case s:case c:case r:case o:case i:case d:return e;default:switch(e=e&&e.$$typeof){case l:case u:case m:case h:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return Og.AsyncMode=s,Og.ConcurrentMode=c,Og.ContextConsumer=l,Og.ContextProvider=a,Og.Element=t,Og.ForwardRef=u,Og.Fragment=r,Og.Lazy=m,Og.Memo=h,Og.Portal=n,Og.Profiler=o,Og.StrictMode=i,Og.Suspense=d,Og.isAsyncMode=function(e){return x(e)||y(e)===s},Og.isConcurrentMode=x,Og.isContextConsumer=function(e){return y(e)===l},Og.isContextProvider=function(e){return y(e)===a},Og.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Og.isForwardRef=function(e){return y(e)===u},Og.isFragment=function(e){return y(e)===r},Og.isLazy=function(e){return y(e)===m},Og.isMemo=function(e){return y(e)===h},Og.isPortal=function(e){return y(e)===n},Og.isProfiler=function(e){return y(e)===o},Og.isStrictMode=function(e){return y(e)===i},Og.isSuspense=function(e){return y(e)===d},Og.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===l||e.$$typeof===u||e.$$typeof===g||e.$$typeof===v||e.$$typeof===b||e.$$typeof===f)},Og.typeOf=y,Og}():Rg.exports=(Gg||(Gg=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var f=e.type;switch(f){case s:case c:case r:case o:case i:case d:return f;default:var g=f&&f.$$typeof;switch(g){case l:case u:case m:case h:case a:return g;default:return p}}case n:return p}}}var x=s,w=c,C=l,I=a,N=t,A=u,E=r,T=m,S=h,k=n,P=o,B=i,L=d,R=!1;function O(e){return y(e)===c}Fg.AsyncMode=x,Fg.ConcurrentMode=w,Fg.ContextConsumer=C,Fg.ContextProvider=I,Fg.Element=N,Fg.ForwardRef=A,Fg.Fragment=E,Fg.Lazy=T,Fg.Memo=S,Fg.Portal=k,Fg.Profiler=P,Fg.StrictMode=B,Fg.Suspense=L,Fg.isAsyncMode=function(e){return R||(R=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(e)||y(e)===s},Fg.isConcurrentMode=O,Fg.isContextConsumer=function(e){return y(e)===l},Fg.isContextProvider=function(e){return y(e)===a},Fg.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Fg.isForwardRef=function(e){return y(e)===u},Fg.isFragment=function(e){return y(e)===r},Fg.isLazy=function(e){return y(e)===m},Fg.isMemo=function(e){return y(e)===h},Fg.isPortal=function(e){return y(e)===n},Fg.isProfiler=function(e){return y(e)===o},Fg.isStrictMode=function(e){return y(e)===i},Fg.isSuspense=function(e){return y(e)===d},Fg.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===l||e.$$typeof===u||e.$$typeof===g||e.$$typeof===v||e.$$typeof===b||e.$$typeof===f)},Fg.typeOf=y}()),Fg)),Rg.exports}!function(){if(Vg)return Mg;Vg=1;var e=jg(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function o(n){return e.isMemo(n)?r:i[n.$$typeof]||t}i[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[e.Memo]=r;var a=Object.defineProperty,l=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;Mg=function e(t,r,i){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,i)}var h=l(r);s&&(h=h.concat(s(r)));for(var m=o(t),f=o(r),g=0;g<h.length;++g){var v=h[g];if(!(n[v]||i&&i[v]||f&&f[v]||m&&m[v])){var b=c(r,v);try{a(t,v,b)}catch(e){}}}}return t}}();var Hg="undefined"!=typeof document;var Wg=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Hg&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var Xg={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 zg(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var _g=/[A-Z]|^ms/g,Zg=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Yg=function(e){return 45===e.charCodeAt(1)},Ug=function(e){return null!=e&&"boolean"!=typeof e},Jg=zg(function(e){return Yg(e)?e:e.replace(_g,"-$&").toLowerCase()}),$g=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Zg,function(e,t,n){return Qg={name:t,styles:n,next:Qg},t})}return 1===Xg[e]||Yg(e)||"number"!=typeof t||0===t?t:t+"px"};function Kg(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 i=n;if(1===i.anim)return Qg={name:i.name,styles:i.styles,next:Qg},i.name;var o=n;if(void 0!==o.styles){var a=o.next;if(void 0!==a)for(;void 0!==a;)Qg={name:a.name,styles:a.styles,next:Qg},a=a.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Kg(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a){var l=a;Ug(l)&&(r+=Jg(o)+":"+$g(o,l)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var s=0;s<a.length;s++)Ug(a[s])&&(r+=Jg(o)+":"+$g(o,a[s])+";");else{var c=Kg(e,t,a);switch(o){case"animation":case"animationName":r+=Jg(o)+":"+c+";";break;default:r+=o+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var l=Qg,s=n(e);return Qg=l,Kg(e,t,s)}}return n}var Qg,qg=/label:\s*([^\s;{]+)\s*(;|$)/g;function ev(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,i="";Qg=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=Kg(n,t,o)):i+=o[0];for(var a=1;a<e.length;a++){if(i+=Kg(n,t,e[a]),r)i+=o[a]}qg.lastIndex=0;for(var l,s="";null!==(l=qg.exec(i));)s+="-"+l[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=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(i){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)}(i)+s;return{name:c,styles:i,next:Qg}}var tv="undefined"!=typeof document,nv=function(e){return e()},rv=!!r.useInsertionEffect&&r.useInsertionEffect,iv=tv&&rv||nv,ov="undefined"!=typeof document,av=r.createContext("undefined"!=typeof HTMLElement?Lg({key:"css"}):null);av.Provider;var lv=function(e){return o(function(t,n){var r=h(av);return e(t,r,n)})};ov||(lv=function(e){return function(t){var n=h(av);return null===n?(n=Lg({key:"css"}),r.createElement(av.Provider,{value:n},e(t,n))):e(t,n)}});var sv,cv,uv=r.createContext({}),dv={}.hasOwnProperty,pv="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",hv=function(e){var t=e.cache,n=e.serialized,i=e.isStringTag;Wg(t,n,i);var o=iv(function(){return function(e,t,n){Wg(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i="",o=t;do{var a=e.insert(t===o?"."+r:"",o,e.sheet,!0);Hg||void 0===a||(i+=a),o=o.next}while(void 0!==o);if(!Hg&&0!==i.length)return i}}(t,n,i)});if(!ov&&void 0!==o){for(var a,l=n.name,s=n.next;void 0!==s;)l+=" "+s.name,s=s.next;return r.createElement("style",((a={})["data-emotion"]=t.key+" "+l,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},mv=lv(function(e,t,n){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var o=e[pv],a=[i],l="";"string"==typeof e.className?l=function(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}(t.registered,a,e.className):null!=e.className&&(l=e.className+" ");var s=ev(a,void 0,r.useContext(uv));l+=t.key+"-"+s.name;var c={};for(var u in e)dv.call(e,u)&&"css"!==u&&u!==pv&&(c[u]=e[u]);return c.className=l,n&&(c.ref=n),r.createElement(r.Fragment,null,r.createElement(hv,{cache:t,serialized:s,isStringTag:"string"==typeof o}),r.createElement(o,c))}),fv=mv,gv=function(e,t){var n=arguments;if(null==t||!dv.call(t,"css"))return r.createElement.apply(void 0,n);var i=n.length,o=new Array(i);o[0]=fv,o[1]=function(e,t){var n={};for(var r in t)dv.call(t,r)&&(n[r]=t[r]);return n[pv]=e,n}(e,t);for(var a=2;a<i;a++)o[a]=n[a];return r.createElement.apply(null,o)};function vv(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ev(t)}sv=gv||(gv={}),cv||(cv=sv.JSX||(sv.JSX={}));const bv=Math.min,yv=Math.max,xv=Math.round,wv=Math.floor,Cv=e=>({x:e,y:e});function Iv(){return"undefined"!=typeof window}function Nv(e){return Tv(e)?(e.nodeName||"").toLowerCase():"#document"}function Av(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Ev(e){var t;return null==(t=(Tv(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Tv(e){return!!Iv()&&(e instanceof Node||e instanceof Av(e).Node)}function Sv(e){return!!Iv()&&(e instanceof HTMLElement||e instanceof Av(e).HTMLElement)}function kv(e){return!(!Iv()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Av(e).ShadowRoot)}const Pv=new Set(["inline","contents"]);function Bv(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Rv(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Pv.has(i)}const Lv=new Set(["html","body","#document"]);function Rv(e){return Av(e).getComputedStyle(e)}function Ov(e){const t=function(e){if("html"===Nv(e))return e;const t=e.assignedSlot||e.parentNode||kv(e)&&e.host||Ev(e);return kv(t)?t.host:t}(e);return function(e){return Lv.has(Nv(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Sv(t)&&Bv(t)?t:Ov(t)}function Gv(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=Ov(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=Av(i);if(o){const e=Dv(a);return t.concat(a,a.visualViewport||[],Bv(i)?i:[],e&&n?Gv(e):[])}return t.concat(i,Gv(i,[],n))}function Dv(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Mv(e){return t=e,Iv()&&(t instanceof Element||t instanceof Av(t).Element)?e:e.contextElement;var t}function Vv(e){const t=Mv(e);if(!Sv(t))return Cv(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=function(e){const t=Rv(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Sv(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,l=xv(n)!==o||xv(r)!==a;return l&&(n=o,r=a),{width:n,height:r,$:l}}(t);let a=(o?xv(n.width):n.width)/r,l=(o?xv(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}function Fv(e,t,n,r){void 0===t&&(t=!1);const i=e.getBoundingClientRect(),o=Mv(e);let a=Cv(1);t&&(a=Vv(e));const l=Cv(0);let s=(i.left+l.x)/a.x,c=(i.top+l.y)/a.y,u=i.width/a.x,d=i.height/a.y;if(o){const e=r;let t=Av(o),n=Dv(t);for(;n&&r&&e!==t;){const e=Vv(n),r=n.getBoundingClientRect(),i=Rv(n),o=r.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,a=r.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;s*=e.x,c*=e.y,u*=e.x,d*=e.y,s+=o,c+=a,t=Av(n),n=Dv(t)}}return function(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}({width:u,height:d,x:s,y:c})}function jv(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Hv(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:s=!1}=r,c=Mv(e),u=i||o?[...c?Gv(c):[],...Gv(t)]:[];u.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const d=c&&l?function(e,t){let n,r=null;const i=Ev(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:h}=c;if(l||t(),!p||!h)return;const m={rootMargin:-wv(d)+"px "+-wv(i.clientWidth-(u+p))+"px "+-wv(i.clientHeight-(d+h))+"px "+-wv(u)+"px",threshold:yv(0,bv(1,s))||1};let f=!0;function g(t){const r=t[0].intersectionRatio;if(r!==s){if(!f)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||jv(c,e.getBoundingClientRect())||a(),f=!1}try{r=new IntersectionObserver(g,{...m,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(g,m)}r.observe(e)}(!0),o}(c,n):null;let p,h=-1,m=null;a&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),c&&!s&&m.observe(c),m.observe(t));let f=s?Fv(e):null;return s&&function t(){const r=Fv(e);f&&!jv(f,r)&&n();f=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=m)||e.disconnect(),m=null,s&&cancelAnimationFrame(p)}}var Wv="undefined"!=typeof document?p:function(){},Xv=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],zv=function(){};function _v(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Zv(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&o.push("".concat(_v(e,a)));return o.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var Yv=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===cf(e)&&null!==e?[e]:[];var t},Uv=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,hf({},vf(e,Xv))},Jv=function(e,t,n){var r=e.cx,i=e.getStyles,o=e.getClassNames,a=e.className;return{css:i(t,e),className:r(null!=n?n:{},o(t,e),a)}};function $v(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Kv(e){return $v(e)?window.pageYOffset:e.scrollTop}function Qv(e,t){$v(e)?window.scrollTo(0,t):e.scrollTop=t}function qv(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:zv,i=Kv(e),o=t-i,a=0;!function t(){var l,s=o*((l=(l=a+=10)/n-1)*l*l+1)+i;Qv(e,s),a<n?window.requestAnimationFrame(t):r(e)}()}function eb(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?Qv(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&Qv(e,Math.max(t.offsetTop-i,0))}function tb(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var nb=!1,rb={get passive(){return nb=!0}},ib="undefined"!=typeof window?window:{};ib.addEventListener&&ib.removeEventListener&&(ib.addEventListener("p",zv,rb),ib.removeEventListener("p",zv,!1));var ob=nb;function ab(e){return null!=e}function lb(e,t,n){return e?t:n}var sb=["children","innerProps"],cb=["children","innerProps"];function ub(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,a=e.isFixedPosition,l=e.controlHeight,s=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=s.getBoundingClientRect().height,p=n.getBoundingClientRect(),h=p.bottom,m=p.height,f=p.top,g=n.offsetParent.getBoundingClientRect().top,v=a?window.innerHeight:$v(u=s)?window.innerHeight:u.clientHeight,b=Kv(s),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),w=g-x,C=v-f,I=w+b,N=d-b-f,A=h-v+b+y,E=b+f-x,T=160;switch(i){case"auto":case"bottom":if(C>=m)return{placement:"bottom",maxHeight:t};if(N>=m&&!a)return o&&qv(s,A,T),{placement:"bottom",maxHeight:t};if(!a&&N>=r||a&&C>=r)return o&&qv(s,A,T),{placement:"bottom",maxHeight:a?C-y:N-y};if("auto"===i||a){var S=t,k=a?w:I;return k>=r&&(S=Math.min(k-y-l,t)),{placement:"top",maxHeight:S}}if("bottom"===i)return o&&Qv(s,A),{placement:"bottom",maxHeight:t};break;case"top":if(w>=m)return{placement:"top",maxHeight:t};if(I>=m&&!a)return o&&qv(s,E,T),{placement:"top",maxHeight:t};if(!a&&I>=r||a&&w>=r){var P=t;return(!a&&I>=r||a&&w>=r)&&(P=a?w-x:I-x),o&&qv(s,E,T),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var db,pb=function(e){return"auto"===e?"bottom":e},hb=d(null),mb=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,o=e.menuPosition,a=e.menuShouldScrollIntoView,s=e.theme,u=(h(hb)||{}).setPortalPlacement,d=l(null),p=gf(c(r),2),m=p[0],f=p[1],g=gf(c(null),2),v=g[0],b=g[1],y=s.spacing.controlHeight;return Wv(function(){var e=d.current;if(e){var t="fixed"===o,l=ub({maxHeight:r,menuEl:e,minHeight:n,placement:i,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:y});f(l.maxHeight),b(l.placement),null==u||u(l.placement)}},[r,i,o,a,n,u,y]),t({ref:d,placerProps:hf(hf({},e),{},{placement:v||pb(i),maxHeight:m})})},fb=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return gv("div",Kp({},Jv(e,"menu",{menu:!0}),{ref:n},r),t)},gb=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return hf({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},vb=gb,bb=gb,yb=["size"],xb=["innerProps","isRtl","size"];var wb,Cb,Ib="production"===process.env.NODE_ENV?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFx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ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Nb=function(e){var t=e.size,n=vf(e,yb);return gv("svg",Kp({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Ib},n))},Ab=function(e){return gv(Nb,Kp({size:20},e),gv("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"}))},Eb=function(e){return gv(Nb,Kp({size:20},e),gv("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"}))},Tb=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return hf({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*i,":hover":{color:n?o.neutral80:o.neutral40}})},Sb=Tb,kb=Tb,Pb=function(){var e=vv.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_"}}}(db||(wb=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Cb||(Cb=wb.slice(0)),db=Object.freeze(Object.defineProperties(wb,{raw:{value:Object.freeze(Cb)}})))),Bb=function(e){var t=e.delay,n=e.offset;return gv("span",{css:vv({animation:"".concat(Pb," 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"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNl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=e.isFocused,i=e.innerRef,o=e.innerProps,a=e.menuIsOpen;return gv("div",Kp({ref:i},Jv(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),o,{"aria-disabled":n||void 0}),t)},Rb=["data"],Ob=function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,o=e.Heading,a=e.headingProps,l=e.innerProps,s=e.label,c=e.theme,u=e.selectProps;return gv("div",Kp({},Jv(e,"group",{group:!0}),l),gv(o,Kp({},a,{selectProps:u,theme:c,getStyles:r,getClassNames:i,cx:n}),s),gv("div",null,t))},Gb=["innerRef","isDisabled","isHidden","inputClassName"],Db={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Mb={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":hf({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Db)},Vb=function(e){return hf({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Db)},Fb=function(e){var t=e.cx,n=e.value,r=Uv(e),i=r.innerRef,o=r.isDisabled,a=r.isHidden,l=r.inputClassName,s=vf(r,Gb);return gv("div",Kp({},Jv(e,"input",{"input-container":!0}),{"data-value":n||""}),gv("input",Kp({className:t({input:!0},l),ref:i,style:Vb(a),disabled:o},s)))},jb=function(e){var t=e.children,n=e.innerProps;return gv("div",n,t)};var Hb=function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,o=e.isDisabled,a=e.removeProps,l=e.selectProps,s=n.Container,c=n.Label,u=n.Remove;return gv(s,{data:r,innerProps:hf(hf({},Jv(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),i),selectProps:l},gv(c,{data:r,innerProps:hf({},Jv(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},t),gv(u,{data:r,innerProps:hf(hf({},Jv(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:l}))},Wb={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return gv("div",Kp({},Jv(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||gv(Ab,null))},Control:Lb,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return gv("div",Kp({},Jv(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||gv(Eb,null))},DownChevron:Eb,CrossIcon:Ab,Group:Ob,GroupHeading:function(e){var t=Uv(e);t.data;var n=vf(t,Rb);return gv("div",Kp({},Jv(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return gv("div",Kp({},Jv(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return gv("span",Kp({},t,Jv(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:Fb,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=void 0===r?4:r,o=vf(e,xb);return gv("div",Kp({},Jv(hf(hf({},o),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),gv(Bb,{delay:0,offset:n}),gv(Bb,{delay:160,offset:!0}),gv(Bb,{delay:320,offset:!n}))},Menu:fb,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return gv("div",Kp({},Jv(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,i=e.innerProps,o=e.menuPlacement,a=e.menuPosition,u=l(null),d=l(null),p=gf(c(pb(o)),2),h=p[0],m=p[1],g=s(function(){return{setPortalPlacement:m}},[]),v=gf(c(null),2),b=v[0],y=v[1],x=f(function(){if(r){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}}(r),t="fixed"===a?0:window.pageYOffset,n=e[h]+t;n===(null==b?void 0:b.offset)&&e.left===(null==b?void 0:b.rect.left)&&e.width===(null==b?void 0:b.rect.width)||y({offset:n,rect:e})}},[r,a,h,null==b?void 0:b.offset,null==b?void 0:b.rect.left,null==b?void 0:b.rect.width]);Wv(function(){x()},[x]);var w=f(function(){"function"==typeof d.current&&(d.current(),d.current=null),r&&u.current&&(d.current=Hv(r,u.current,x,{elementResize:"ResizeObserver"in window}))},[r,x]);Wv(function(){w()},[w]);var C=f(function(e){u.current=e,w()},[w]);if(!t&&"fixed"!==a||!b)return null;var I=gv("div",Kp({ref:C},Jv(hf(hf({},e),{},{offset:b.offset,position:a,rect:b.rect}),"menuPortal",{"menu-portal":!0}),i),n);return gv(hb.Provider,{value:g},t?S(I,t):I)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,i=vf(e,cb);return gv("div",Kp({},Jv(hf(hf({},i),{},{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,i=vf(e,sb);return gv("div",Kp({},Jv(hf(hf({},i),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:Hb,MultiValueContainer:jb,MultiValueLabel:jb,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return gv("div",Kp({role:"button"},n),t||gv(Ab,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.innerRef,a=e.innerProps;return gv("div",Kp({},Jv(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:o,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return gv("div",Kp({},Jv(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return gv("div",Kp({},Jv(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return gv("div",Kp({},Jv(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,i=e.hasValue;return gv("div",Kp({},Jv(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},Xb=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function zb(e,t){return e===t||!(!Xb(e)||!Xb(t))}function _b(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!zb(e[n],t[n]))return!1;return!0}for(var Zb="production"===process.env.NODE_ENV?{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"}:{name:"1f43avz-a11yText-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;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Yb=function(e){return gv("span",Kp({css:Zb},e))},Ub={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,o=e.isInitialFocus;switch(i){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 o?"".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,i=e.labels,o=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(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return"option ".concat(r,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,o=void 0===i?"":i,a=e.selectValue,l=e.isDisabled,s=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(o," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=l?" disabled":"",p="".concat(s?" selected":"").concat(d);return"".concat(o).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Jb=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,o=e.isFocused,a=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,h=l.inputValue,m=l.isMulti,f=l.isOptionDisabled,g=l.isSearchable,v=l.menuIsOpen,b=l.options,y=l.screenReaderStatus,w=l.tabSelectsValue,C=l.isLoading,I=l["aria-label"],N=l["aria-live"],A=s(function(){return hf(hf({},Ub),d||{})},[d]),E=s(function(){var e,n="";if(t&&A.onChange){var r=t.option,i=t.options,o=t.removedValue,l=t.removedValues,s=t.value,c=o||r||(e=s,Array.isArray(e)?null:e),u=c?p(c):"",d=i||l||void 0,h=d?d.map(p):[],m=hf({isDisabled:c&&f(c,a),label:u,labels:h},t);n=A.onChange(m)}return n},[t,A,f,a,p]),T=s(function(){var e="",t=n||r,o=!!(n&&a&&a.includes(n));if(t&&A.onFocus){var l={focused:t,label:p(t),isDisabled:f(t,a),isSelected:o,options:i,context:t===n?"menu":"value",selectValue:a,isAppleDevice:u};e=A.onFocus(l)}return e},[n,r,p,f,A,i,a,u]),S=s(function(){var e="";if(v&&b.length&&!C&&A.onFilter){var t=y({count:i.length});e=A.onFilter({inputValue:h,resultsMessage:t})}return e},[i,h,v,A,b,y,C]),k="initial-input-focus"===(null==t?void 0:t.action),P=s(function(){var e="";if(A.guidance){var t=r?"value":v?"menu":"input";e=A.guidance({"aria-label":I,context:t,isDisabled:n&&f(n,a),isMulti:m,isSearchable:g,tabSelectsValue:w,isInitialFocus:k})}return e},[I,n,r,m,f,g,v,A,a,w,k]),B=gv(x,null,gv("span",{id:"aria-selection"},E),gv("span",{id:"aria-focused"},T),gv("span",{id:"aria-results"},S),gv("span",{id:"aria-guidance"},P));return gv(x,null,gv(Yb,{id:c},k&&B),gv(Yb,{"aria-live":N,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!k&&B))},$b=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Kb=new RegExp("["+$b.map(function(e){return e.letters}).join("")+"]","g"),Qb={},qb=0;qb<$b.length;qb++)for(var ey=$b[qb],ty=0;ty<ey.letters.length;ty++)Qb[ey.letters[ty]]=ey.base;var ny=function(e){return e.replace(Kb,function(e){return Qb[e]})},ry=function(e,t){void 0===t&&(t=_b);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return r.clear=function(){n=null},r}(ny),iy=function(e){return e.replace(/^\s+|\s+$/g,"")},oy=function(e){return"".concat(e.label," ").concat(e.value)},ay=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=hf({ignoreCase:!0,ignoreAccents:!0,stringify:oy,trim:!0,matchFrom:"any"},e),i=r.ignoreCase,o=r.ignoreAccents,a=r.stringify,l=r.trim,s=r.matchFrom,c=l?iy(n):n,u=l?iy(a(t)):a(t);return i&&(c=c.toLowerCase(),u=u.toLowerCase()),o&&(c=ry(c),u=ny(u)),"start"===s?u.substr(0,c.length)===c:u.indexOf(c)>-1}},ly=["innerRef"];function sy(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 i=Object.entries(e).filter(function(e){var t=gf(e,1)[0];return!n.includes(t)});return i.reduce(function(e,t){var n=gf(t,2),r=n[0],i=n[1];return e[r]=i,e},{})}(vf(e,ly),"onExited","in","enter","exit","appear");return gv("input",Kp({ref:t},n,{css:vv({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)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4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0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var cy=["boxSizing","height","overflow","paddingRight","position"],uy={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function dy(e){e.cancelable&&e.preventDefault()}function py(e){e.stopPropagation()}function hy(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function my(){return"ontouchstart"in window||navigator.maxTouchPoints}var fy=!("undefined"==typeof window||!window.document||!window.document.createElement),gy=0,vy={capture:!1,passive:!1};var by=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},yy="production"===process.env.NODE_ENV?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom: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ICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};function xy(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,o=e.onTopLeave,s=l(!1),c=l(!1),u=l(0),d=l(null),p=f(function(e,t){if(null!==d.current){var a=d.current,l=a.scrollTop,u=a.scrollHeight,p=a.clientHeight,h=d.current,m=t>0,f=u-p-l,g=!1;f>t&&s.current&&(r&&r(e),s.current=!1),m&&c.current&&(o&&o(e),c.current=!1),m&&t>f?(n&&!s.current&&n(e),h.scrollTop=u,g=!0,s.current=!0):!m&&-t>l&&(i&&!c.current&&i(e),h.scrollTop=0,g=!0,c.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,r,i,o]),h=f(function(e){p(e,e.deltaY)},[p]),m=f(function(e){u.current=e.changedTouches[0].clientY},[]),g=f(function(e){var t=u.current-e.changedTouches[0].clientY;p(e,t)},[p]),v=f(function(e){if(e){var t=!!ob&&{passive:!1};e.addEventListener("wheel",h,t),e.addEventListener("touchstart",m,t),e.addEventListener("touchmove",g,t)}},[g,m,h]),b=f(function(e){e&&(e.removeEventListener("wheel",h,!1),e.removeEventListener("touchstart",m,!1),e.removeEventListener("touchmove",g,!1))},[g,m,h]);return a(function(){if(t){var e=d.current;return v(e),function(){b(e)}}},[t,v,b]),function(e){d.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),o=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,i=l({}),o=l(null),s=f(function(e){if(fy){var t=document.body,n=t&&t.style;if(r&&cy.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&gy<1){var o=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,l=window.innerWidth-a+o||0;Object.keys(uy).forEach(function(e){var t=uy[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(l,"px"))}t&&my()&&(t.addEventListener("touchmove",dy,vy),e&&(e.addEventListener("touchstart",hy,vy),e.addEventListener("touchmove",py,vy))),gy+=1}},[r]),c=f(function(e){if(fy){var t=document.body,n=t&&t.style;gy=Math.max(gy-1,0),r&&gy<1&&cy.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&my()&&(t.removeEventListener("touchmove",dy,vy),e&&(e.removeEventListener("touchstart",hy,vy),e.removeEventListener("touchmove",py,vy)))}},[r]);return a(function(){if(t){var e=o.current;return s(e),function(){c(e)}}},[t,s,c]),function(e){o.current=e}}({isEnabled:n});return gv(x,null,n&&gv("div",{onClick:by,css:yy}),t(function(e){i(e),o(e)}))}var wy="production"===process.env.NODE_ENV?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,ey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gLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Cy=function(e){var t=e.name,n=e.onFocus;return gv("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:wy,value:"",onChange:function(){}})};function Iy(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 Ny(){return Iy(/^Mac/i)}function Ay(){return Iy(/^iPhone/i)||Iy(/^iPad/i)||Ny()&&navigator.maxTouchPoints>1}var Ey={clearIndicator:kb,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,i=e.theme,o=i.colors,a=i.borderRadius;return hf({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:r?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},dropdownIndicator:Sb,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,i=n.spacing;return hf({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.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,i=r.spacing.baseUnit,o=r.colors;return hf({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?o.neutral10:o.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,o=i.spacing,a=i.colors;return hf(hf({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},Mb),t?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,i=e.theme,o=i.colors,a=i.spacing.baseUnit;return hf({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*a})},loadingMessage:bb,menu:function(e,t){var n,r=e.placement,i=e.theme,o=i.borderRadius,a=i.spacing,l=i.colors;return hf((df(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),df(n,"position","absolute"),df(n,"width","100%"),df(n,"zIndex",1),n),t?{}:{backgroundColor:l.neutral0,borderRadius:o,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 hf({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,i=n.borderRadius,o=n.colors;return hf({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:o.neutral10,borderRadius:i/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,i=n.colors,o=e.cropWithEllipsis;return hf({overflow:"hidden",textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors,a=e.isFocused;return hf({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:a?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},noOptionsMessage:vb,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.theme,a=o.spacing,l=o.colors;return hf({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?l.primary:r?l.primary25:"transparent",color:n?l.neutral20:i?l.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?l.primary:l.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return hf({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing,o=r.colors;return hf({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?o.neutral40:o.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,i=e.hasValue,o=e.selectProps.controlShouldRenderValue;return hf({alignItems:"center",display:r&&i&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Ty={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}},Sy={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:tb(),captureMenuScroll:!tb(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:ay(),formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},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 ky(e,t,n,r){return{type:"option",data:t,isDisabled:My(e,t,n),isSelected:Vy(e,t,n),label:Gy(e,t),value:Dy(e,t),index:r}}function Py(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(n,r){return ky(e,n,t,r)}).filter(function(t){return Ry(e,t)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=ky(e,n,t,r);return Ry(e,o)?o:void 0}).filter(ab)}function By(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Nf(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function Ly(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Nf(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 Ry(e,t){var n=e.inputValue,r=void 0===n?"":n,i=t.data,o=t.isSelected,a=t.label,l=t.value;return(!jy(e)||!o)&&Fy(e,{label:a,value:l,data:i},r)}var Oy=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Gy=function(e,t){return e.getOptionLabel(t)},Dy=function(e,t){return e.getOptionValue(t)};function My(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Vy(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Dy(e,t);return n.some(function(t){return Dy(e,t)===r})}function Fy(e,t,n){return!e.filterOption||e.filterOption(t,n)}var jy=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Hy=1,Wy=function(){!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&&xf(e,t)}(t,C);var e=function(e){var t=Cf();return function(){var n,r=wf(e);if(t){var i=wf(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return If(this,n)}}(t);function t(n){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=e.call(this,n)).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:"",isAppleDevice:!1},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.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,i=n.onChange,o=n.name;t.name=o,r.ariaOnChange(e,t),i(e,t)},r.setValue=function(e,t,n){var i=r.props,o=i.closeMenuOnSelect,a=i.isMulti,l=i.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:l}),o&&(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,i=t.isMulti,o=t.name,a=r.state.selectValue,l=i&&r.isOptionSelected(e,a),s=r.isOptionDisabled(e,a);if(l){var c=r.getOptionValue(e);r.setValue(a.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(s)return void r.ariaOnChange(e,{action:"select-option",option:e,name:o});i?r.setValue([].concat(Nf(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,i=r.getOptionValue(e),o=n.filter(function(e){return r.getOptionValue(e)!==i}),a=lb(t,o,o[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(lb(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],i=t.slice(0,t.length-1),o=lb(e,i,i[0]||null);n&&r.onChange(o,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return Oy(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return Ly(Py(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 Zv.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return Gy(r.props,e)},r.getOptionValue=function(e){return Dy(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,i=Ey[e](t,n);i.boxSizing="border-box";var o=r.props.styles[e];return o?o(i,t):i},r.getClassNames=function(e,t){var n,i;return null===(n=(i=r.props.classNames)[e])||void 0===n?void 0:n.call(i,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,hf(hf({},Wb),e.components);var e},r.buildCategorizedOptions=function(){return Py(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return By(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:hf({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,i=t.menuIsOpen;r.focusInput(),i?(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&&$v(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 i=Math.abs(n.clientX-r.initialTouchX),o=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=i>5||o>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 jy(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,i=t.backspaceRemovesValue,o=t.escapeClearsValue,a=t.inputValue,l=t.isClearable,s=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,h=r.state,m=h.focusedOption,f=h.focusedValue,g=h.selectValue;if(!(s||"function"==typeof u&&(u(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(f)r.removeValue(f);else{if(!i)return;n?r.popValue():l&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!m||p&&r.isOptionSelected(m,g))return;r.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(c){if(!m)return;if(r.isComposing)return;r.selectOption(m);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):l&&o&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!m)return;r.selectOption(m);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++Hy),r.state.selectValue=Yv(n.value),n.menuIsOpen&&r.state.selectValue.length){var i=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),a=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=i,r.state.focusedOption=o[a],r.state.focusedOptionId=Oy(i,o[a])}return r}return function(e,t,n){t&&yf(e.prototype,t),n&&yf(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(t,[{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&&eb(this.menuListRef,this.focusedOptionRef),(Ny()||Ay())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(eb(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,i=n.isFocused,o=this.buildFocusableOptions(),a="first"===e?0:o.length-1;if(!this.props.isMulti){var l=o.indexOf(r[0]);l>-1&&(a=l)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[a],focusedOptionId:this.getFocusedOptionId(o[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 i=n.indexOf(r);r||(i=-1);var o=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===i?0:-1===i?o:i-1;break;case"next":i>-1&&i<o&&(a=i+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 i=0,o=r.indexOf(n);n||(o=-1),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Ty):hf(hf({},Ty),this.props.theme):Ty}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,o=this.selectOption,a=this.setValue,l=this.props,s=l.isMulti,c=l.isRtl,u=l.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:s,isRtl:c,options:u,selectOption:o,selectProps:l,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 My(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Vy(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Fy(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,i=e.inputId,o=e.inputValue,a=e.tabIndex,l=e.form,s=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,h=d.ariaSelection,m=this.commonProps,f=i||this.getElementId("input"),g=hf(hf(hf({"aria-autocomplete":"list","aria-expanded":s,"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.state.isAppleDevice?void 0:this.state.focusedOptionId||""},s&&{"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(u,Kp({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:f,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:o},g)):r.createElement(sy,Kp({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:zv,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:l,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,i=t.MultiValueContainer,o=t.MultiValueLabel,a=t.MultiValueRemove,l=t.SingleValue,s=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,h=u.isMulti,m=u.inputValue,f=u.placeholder,g=this.state,v=g.selectValue,b=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return m?null:r.createElement(s,Kp({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),f);if(h)return v.map(function(t,l){var s=t===b,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return r.createElement(n,Kp({},c,{components:{Container:i,Label:o,Remove:a},isFocused:s,isDisabled:p,key:u,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=v[0];return r.createElement(l,Kp({},c,{data:x,isDisabled:p}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||i||!this.hasValue()||o)return null;var l={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,Kp({},t,{innerProps:l,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!e||!o)return null;return r.createElement(e,Kp({},t,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var i=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return r.createElement(n,Kp({},i,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,i=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,Kp({},t,{innerProps:o,isDisabled:n,isFocused:i}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,i=t.GroupHeading,o=t.Menu,a=t.MenuList,l=t.MenuPortal,s=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,h=this.props,m=h.captureMenuScroll,f=h.inputValue,g=h.isLoading,v=h.loadingMessage,b=h.minMenuHeight,y=h.maxMenuHeight,x=h.menuIsOpen,w=h.menuPlacement,C=h.menuPosition,I=h.menuPortalTarget,N=h.menuShouldBlockScroll,A=h.menuShouldScrollIntoView,E=h.noOptionsMessage,T=h.onMenuScrollToTop,S=h.onMenuScrollToBottom;if(!x)return null;var k,P=function(t,n){var i=t.type,o=t.data,a=t.isDisabled,l=t.isSelected,s=t.label,c=t.value,h=p===o,m=a?void 0:function(){return e.onOptionHover(o)},f=a?void 0:function(){return e.selectOption(o)},g="".concat(e.getElementId("option"),"-").concat(n),v={id:g,onClick:f,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:l};return r.createElement(u,Kp({},d,{innerProps:v,data:o,isDisabled:a,isSelected:l,key:g,label:s,type:i,value:c,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())k=this.getCategorizedOptions().map(function(t){if("group"===t.type){var o=t.data,a=t.options,l=t.index,s="".concat(e.getElementId("group"),"-").concat(l),c="".concat(s,"-heading");return r.createElement(n,Kp({},d,{key:s,data:o,options:a,Heading:i,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return P(e,"".concat(l,"-").concat(e.index))}))}if("option"===t.type)return P(t,"".concat(t.index))});else if(g){var B=v({inputValue:f});if(null===B)return null;k=r.createElement(s,d,B)}else{var L=E({inputValue:f});if(null===L)return null;k=r.createElement(c,d,L)}var R={minMenuHeight:b,maxMenuHeight:y,menuPlacement:w,menuPosition:C,menuShouldScrollIntoView:A},O=r.createElement(mb,Kp({},d,R),function(t){var n=t.ref,i=t.placerProps,l=i.placement,s=i.maxHeight;return r.createElement(o,Kp({},d,R,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:l}),r.createElement(xy,{captureEnabled:m,onTopArrive:T,onBottomArrive:S,lockEnabled:N},function(t){return r.createElement(a,Kp({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:s,focusedOption:p}),k)}))});return I||"fixed"===C?r.createElement(l,Kp({},d,{appendTo:I,controlElement:this.controlRef,menuPlacement:w,menuPosition:C}),O):O}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,i=t.isDisabled,o=t.isMulti,a=t.name,l=t.required,s=this.state.selectValue;if(l&&!this.hasValue()&&!i)return r.createElement(Cy,{name:a,onFocus:this.onValueInputFocus});if(a&&!i){if(o){if(n){var c=s.map(function(t){return e.getOptionValue(t)}).join(n);return r.createElement("input",{name:a,type:"hidden",value:c})}var u=s.length>0?s.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,u)}var d=s[0]?this.getOptionValue(s[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,i=t.focusedOption,o=t.focusedValue,a=t.isFocused,l=t.selectValue,s=this.getFocusableOptions();return r.createElement(Jb,Kp({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:i,focusedValue:o,isFocused:a,selectValue:l,focusableOptions:s,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,i=e.SelectContainer,o=e.ValueContainer,a=this.props,l=a.className,s=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return r.createElement(i,Kp({},p,{className:l,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),r.createElement(t,Kp({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),r.createElement(o,Kp({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),r.createElement(n,Kp({},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,i=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,a=t.isFocused,l=t.prevWasFocused,s=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,h=e.isMulti,m=Yv(u),f={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return By(Py(e,t))}(e,m):[],v=d?Ly(Py(e,m),"".concat(s,"-option")):[],b=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,m):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);f={selectValue:m,focusedOption:y,focusedOptionId:Oy(v,y),focusableOptionsWithIds:v,focusedValue:b,clearFocusValueOnUpdate:!1}}var x=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},w=o,C=a&&l;return a&&!C&&(w={value:lb(h,m,m[0]||null),options:m,action:"initial-input-focus"},C=!l),"initial-input-focus"===(null==o?void 0:o.action)&&(w=null),hf(hf(hf({},f),x),{},{prevProps:e,ariaSelection:w,prevWasFocused:C})}}]),t}();Wy.defaultProps=Sy;var Xy=o(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,i=void 0!==r&&r,o=e.defaultValue,a=void 0===o?null:o,l=e.inputValue,s=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,h=e.onMenuOpen,m=e.value,g=vf(e,bf),v=gf(c(void 0!==l?l:n),2),b=v[0],y=v[1],x=gf(c(void 0!==s?s:i),2),w=x[0],C=x[1],I=gf(c(void 0!==m?m:a),2),N=I[0],A=I[1],E=f(function(e,t){"function"==typeof u&&u(e,t),A(e)},[u]),T=f(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),y(void 0!==n?n:e)},[d]),S=f(function(){"function"==typeof h&&h(),C(!0)},[h]),k=f(function(){"function"==typeof p&&p(),C(!1)},[p]),P=void 0!==l?l:b,B=void 0!==s?s:w,L=void 0!==m?m:N;return hf(hf({},g),{},{inputValue:P,menuIsOpen:B,onChange:E,onInputChange:T,onMenuClose:k,onMenuOpen:S,value:L})}(e);return r.createElement(Wy,Kp({ref:t},n))}),zy=Xy;const _y={sm:"h-12 px-3 rounded-lg",md:"h-14 px-3 rounded-xl",lg:"h-16 px-3 rounded-2xl"},Zy=i.memo(({options:n,className:r,controlClassName:i,value:o,isCustomStyle:a=!1,placeholder:l,required:c,onChange:u,filterOptions:d,hasError:p,error:h,menuClassName:m,helperText:f,label:g,labelClassName:v,singleValueClassName:b,size:y="md",variant:x="default","data-cy":w,"data-testid":C,...I})=>{const N=s(()=>ay(d),[d]),A=s(()=>({control:({isFocused:e})=>{var t;return _e(null!==(t=_y[y])&&void 0!==t?t:_y.md,"border border-input-border bg-white hover:not-focus:border-input-border-hover",{"border-input-border-selected outline outline-2 outline-input-border-selected":e&&!p,"border-input-border-critical shadow-none":p},i)},indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>a?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>_e(a?"text-text text-body1 whitespace-normal":"text-text-secondary",b),menu:()=>_e("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",m),option:({isFocused:e,isSelected:t,label:r})=>{var i;return _e("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",a?"text-body1 text-text":"",a&&(null===(i=n[n.length-1])||void 0===i?void 0:i.label)!==r?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[a,i,m,n,p,y,b]);return"unstyled"===x?e(zy,{options:n,value:o,placeholder:c?`${l}*`:l,onChange:u,filterOption:N,className:_e("rounded-xl",r),classNames:A,"data-cy":w,"data-testid":C,...I}):t("div",{className:"w-full",children:[g&&e("label",{className:_e("mb-1 block text-sm font-medium text-text-secondary",v),children:g}),e(zy,{options:n,value:o,placeholder:c?`${l}*`:l,onChange:u,filterOption:N,className:_e("rounded-xl",r),classNames:A,"data-cy":w,"data-testid":C,...I}),h&&e(xr,{className:"footnote mt-1 text-text-critical",children:h}),!h&&f&&e(xr,{className:"footnote mt-1 text-text-info",children:f})]})});function Yy({paginatedArticles:n,totalArticles:r,currentPage:i,totalPages:o,selectedCategory:s,categoryOptions:c}){const u=k(),d=P(),p=B(),h=l(!0);return a(()=>{h.current?h.current=!1:window.scrollTo({top:0,behavior:"smooth"})},[i]),t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e(xr,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:"recent articles"}),t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t(xr,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(xr,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(xr,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",r," articles"]})]}),e(Zy,{options:c,value:s,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;!function(e,t){const n=new URLSearchParams(p.toString());t?n.set(e,t):n.delete(e),n.delete("page"),u.push(`${d}?${n.toString()}`,{scroll:!1})}("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var r,i,o,a,l;const s=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(l=null==t?void 0:t.cover)||void 0===l?void 0:l.height)||338}:void 0;return e(Qd,{href:s,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,fieldProps:t.fieldProps,image:c,index:n},t.slug)})}):e(xr,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),o>1&&e(sf,{currentPage:i,totalPages:o,getPageHref:function(e){const t=new URLSearchParams(p.toString());1===e?t.delete("page"):t.set("page",e.toString());const n=t.toString();return n?`${d}?${n}`:d},onPageChange:function(e){},ariaLabel:"Blog article pagination"})]})}function Uy({title:n="recent articles",description:r,paginatedArticles:i,totalArticles:o,currentPage:a,totalPages:l,selectedCategory:s,categoryOptions:c,onCategoryChange:u,onPageChange:d,getPageHref:p,asList:h=!1,imageComponent:m,fieldProps:f}){return t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[r&&e(xr,{as:"p",className:"body1 mb-4 w-full text-center md:mb-6",...null==f?void 0:f.description,children:r}),e(xr,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",...null==f?void 0:f.title,children:n}),c.length>0&&t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t(xr,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(xr,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(xr,{as:"span",className:"md:hidden",children:["showing"," "]}),i.length," of ",o," articles"]})]}),e(Zy,{options:c,value:s,onChange:function(e){if(!e||Array.isArray(e))return;null==u||u(e)},className:"w-full md:w-[280px]"})]})]}),i.length>0?e("div",{className:h?"mx-auto flex max-w-[1200px] flex-col gap-1 px-5 pb-16":"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:i.map((t,n)=>{var r,i,o,a,l;const s=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(l=null==t?void 0:t.cover)||void 0===l?void 0:l.height)||338}:void 0;return e(Qd,{href:s,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,fieldProps:t.fieldProps,image:c,imageComponent:m,asGrid:!h,index:n},t.slug)})}):e(xr,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),l>1&&e(sf,{currentPage:a,totalPages:l,getPageHref:p,onPageChange:function(e){null==d||d(e)},ariaLabel:"Blog article pagination"})]})}Zy.displayName="Select";const Jy=n=>{const{links:r=[],textColor:i="dark",mobileTextColor:o,desktopTextColor:a,maxWidth:l=!0,float:s="desktop"}=n,c=`${"dark"===(null!=o?o:"desktop"===s?"dark":i)?"text-text":"text-white"} ${"dark"===(null!=a?a:"mobile"===s?"dark":i)?"xl:text-text":"xl:text-white"}`,u="always"===s?"absolute":"mobile"===s?"absolute xl:relative":"desktop"===s?"relative xl:absolute":"relative";return r.length?e("nav",{"aria-label":"Breadcrumb",className:(l?`${"none"===s&&"mx-5"} max-w-120 xl:mx-auto`:"mx-auto")+" relative",children:e("ol",{className:`${"always"===s&&"px-7 md:px-14"} right-0 z-10 mx-0 flex w-full flex-nowrap items-center gap-2 pb-0 pt-8 ${u} xl:mx-auto xl:flex-wrap xl:px-3`,children:r.map((n,i)=>{const{image:o,...a}=n,l=(null==o?void 0:o.url)?o.url.startsWith("//")?`https:${o.url}`:o.url:"",s=i===r.length-1;return t("li",s?{className:"flex min-w-0 items-center",children:[l&&e("img",{src:l,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e(xr,{as:"span",className:`body3 mr-2 break-words ${c}`,children:n.buttonLabel})]}:{className:"flex flex-none items-center",children:[l&&e("img",{src:l,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e(Nr,{href:a.href,className:`label3 mr-2 whitespace-nowrap ${c} hover:underline`,children:a.buttonLabel}),e(yr,{name:"chevron_right",className:`${c} `})]},i)})})}):null},$y=n=>{const{anchorId:r="SearchBlock",title:i,subTitle:o,enableHeading:a,searchDescription:l,searchInputPlaceholder:s,basicCaption:u,caption:d,backgroundColor:p,color:h,onSubmit:m,fieldProps:f}=n,[g,v]=c("");return e("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[p]} ${"dark"==h?"text-text":"text-white"}`,id:r,"data-testid":"search-block",children:e("div",{className:"flex justify-center",children:t("div",{className:"w-[1200px]",children:[t("div",{className:"mb-8 text-center",children:[e(xr,{as:a?"h1":"h2",className:_e("heading2 md:heading1"),...null==f?void 0:f.title,children:i}),o&&e(xr,{as:"div",className:_e("subheading2 mt-2 md:subheading1"),...null==f?void 0:f.subTitle,children:o})]}),l?e(xr,{className:"heading6 text-center",...null==f?void 0:f.searchDescription,children:l}):null,e("span",{className:"w-full",children:t("form",{onSubmit:e=>{e.preventDefault(),null==m||m({searchText:g})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e(Li,{type:"submit",className:"ml-2 inline-flex",children:e(yr,{name:"search",className:"text-text"})}),e("div",{className:"flex-grow",children:e(Pp,{value:g,onChange:e=>v(e.target.value),placeholder:s,...null==f?void 0:f.searchInputPlaceholder,containerClassName:"px-4 pl-0 rounded-md flex-grow border-none",className:"body3 rounded-md text-text"})})]})}),d&&(null==f?void 0:f.caption)?e("div",{...f.caption,children:d}):d||null,u&&(null==f?void 0:f.basicCaption)?e("div",{...f.basicCaption,children:u}):u]})})})},Ky={yellow:{bg:"bg-fill-brand-accent",text:"text"},white:{bg:"white",text:"text"},navy:{bg:"bg-fill-inverse",text:"text-inverse"},green:{bg:"bg-fill-success",text:"text-inverse"}},Qy=n=>{const{title:r,variant:i="yellow",cta:o,navHeight:a,isVisible:l,renderCheckPlans:s,fieldProps:c}=n,u=Ky[null==i?void 0:i.toLowerCase()]||Ky.yellow;if(!l)return null;const d=(null==o?void 0:o.buttonLabel)||"Check plans",p=null==s?void 0:s({ctaText:d,buttonVariant:null==o?void 0:o.buttonVariant,showButtonAs:"solid",cta:o});return t("div",{style:{top:`${a}px`},className:_e(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 bg-${u.bg} text-${u.text}`,"flex flex-col items-center justify-center gap-3 p-[10px] lg:flex-row lg:gap-8 lg:px-6 lg:py-[10px]"),children:[e(xr,{className:"label3 w-full text-center md:label1 lg:w-auto lg:text-left",...null==c?void 0:c.title,children:r}),p?e("div",{...null==c?void 0:c.cta,children:p}):null]})},qy="America/New_York";function ex(e){if(!e)return;const t=Date.parse(e);if(Number.isFinite(t))return t;console.error("Invalid countdown datetime",{value:e})}function tx(e,t,n){const r=Date.UTC(e,t-1,n);return r-function(e){const t=new Intl.DateTimeFormat("en-US",{timeZone:qy,hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).formatToParts(new Date(e)),n={};for(const e of t)n[e.type]=e.value;const r="24"===n.hour?"00":n.hour;return Date.UTC(Number(n.year),Number(n.month)-1,Number(n.day),Number(r),Number(n.minute),Number(n.second))-e}(r)}function nx(e){if(!e)return;const t=/^(\d{4})-(\d{2})-(\d{2})$/.exec(e.trim());if(!t){const t=Date.parse(e);return Number.isFinite(t)?t+864e5:void 0}const n=new Date(Date.UTC(Number(t[1]),Number(t[2])-1,Number(t[3])));return n.setUTCDate(n.getUTCDate()+1),tx(n.getUTCFullYear(),n.getUTCMonth()+1,n.getUTCDate())}function rx(e){return new Intl.DateTimeFormat("en-US",{timeZone:qy,weekday:"long"}).format(new Date(e)).toUpperCase()}function ix(e,t){const n=function(e){if(!e)return;const t=/^(\d{4})-(\d{2})-(\d{2})$/.exec(e.trim());if(!t){const t=Date.parse(e);return Number.isFinite(t)?t:void 0}return tx(Number(t[1]),Number(t[2]),Number(t[3]))}(e.scheduledStart),r=nx(e.scheduleEnd);return(void 0===n||t>=n)&&(void 0===r||t<r)&&function(e,t){if(!e||0===e.length)return!0;const n=e.map(e=>e.trim().toUpperCase());if(n.includes("ALL"))return!0;const r=rx(t);return n.includes(r)||n.includes(r.slice(0,3))}(e.daysToShow,t)}function ox(e){const t=Math.max(0,Math.floor(e)),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60;return`${String(n).padStart(2,"0")}H : ${String(r).padStart(2,"0")}M : ${String(i).padStart(2,"0")}`}const ax=({ctaSuffixText:n,backgroundColor:r,iconName:i,boxShadow:o,ctaButtonLabel:u,ctaButtonLink:d,ctaButtonTarget:p,anchorId:h="anchored-banner",enableCountdownTimer:m,countdownStartDateTime:g,countdownEndDateTime:v,scheduledMessages:b,initialNowMs:y,onResolved:x,fieldProps:w})=>{const[C,I]=c(()=>null!=y?y:Date.now()),A=l(null),[E,T]=c(!1);a(()=>{T(!0),I(Date.now())},[]);const S=s(()=>null==b?void 0:b.find(e=>ix(e,C)),[b,C]),k=void 0!==S,P=rx(C);a(()=>{E&&(null==x||x({hasActiveMessage:k,activeMessage:S,applicableWeekday:P}))},[E,k,S,P,b,x]);const B=s(()=>{if(!(null==b?void 0:b.length))return;const e=b.map(e=>nx(e.scheduleEnd)).filter(e=>void 0!==e);return e.length?Math.max(...e):void 0},[b]),L=k?null==S?void 0:S.countdownStartDateTime:g,R=k?null==S?void 0:S.countdownEndDateTime:v,O=k?null==S?void 0:S.enableCountdownTimer:m,G=s(()=>ex(R),[R]),D=s(()=>ex(L),[L]),M=s(()=>!!O&&(void 0!==G&&((!L||void 0!==D)&&(!(void 0!==D&&D>=G)||(console.error("Invalid countdown range: start must be before end",{countdownStartDateTime:L,countdownEndDateTime:R}),!1)))),[O,G,D,L,R]),V=f(()=>{null!==A.current&&(window.clearInterval(A.current),A.current=null)},[]);a(()=>{if(M&&void 0!==G&&C<G||void 0!==B&&C<B)return A.current=window.setInterval(()=>{I(Date.now())},1e3),V;V()},[M,G,B,C,V]);const F=s(()=>{if(!M||void 0===G)return{shouldShow:!1,text:""};if(void 0!==D&&C<D||C>=G)return{shouldShow:!1,text:""};const e=(G-C)/1e3;return{shouldShow:e>0,text:ox(e)}},[M,G,D,C]),j=k?null==S?void 0:S.iconName:i,H=k?null==S?void 0:S.ctaButtonLabel:u,W=k?null==S?void 0:S.ctaSuffixText:n,X=k?null==S?void 0:S.ctaButtonLink:d,z=k?null==S?void 0:S.ctaButtonTarget:p,_=k?null==S?void 0:S.fieldProps:w,Z=k?null==S?void 0:S.backgroundColor:r,Y=Z?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-info",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-white"}[Z]:void 0,U=!Y||"yellow"===Z||"white"===Z?"text-text-primary":"text-white";return e("section",{id:h,children:e("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${Y||"bg-bg-fill-brand-accent"} ${o||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e(N,{href:X||"#",target:z||"_self",className:"max-w-screen-xl w-full transition-all",children:e("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:t("div",{className:`${U} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[j&&e(yr,{name:j,size:24,fill:1,className:`${U} align-text-bottom`}),F.shouldShow&&e("span",{className:"inline-block whitespace-nowrap rounded-lg bg-white px-1 tabular-nums text-text",suppressHydrationWarning:!0,children:F.text}),F.shouldShow?" ":null,H&&e("span",{...null==_?void 0:_.ctaButtonLabel,children:H})," ",W&&e("span",{className:"ml-0.5",...null==_?void 0:_.ctaSuffixText,children:W})]})})})})})};function lx({content:n}){let r=3;const[i,o]=c(!1),[s,u]=c(!1),d=l(null);a(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=It.get(e);return t?wt(t):null}("cookieBannerClosed");o("true"!==e)},[]),a(()=>{(()=>{const e=document.getElementById("anchored-banner");u(!!e)})()},[]),a(()=>{var e,t,n,r;return i?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(r=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===r||r.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[i]),a(()=>{if(!i)return;const e=()=>{if(d.current){const e=d.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let r;const o=()=>{clearTimeout(r),r=setTimeout(e,150)};return window.addEventListener("resize",o),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(r),window.removeEventListener("resize",o),document.documentElement.style.removeProperty("--cookie-banner-height")}},[i,s]);s&&(r=14);return i?t("div",{id:"cookie-banner",ref:d,className:"fixed z-[1000] max-w-[350px] rounded-xl bg-white py-5 pl-6 pr-12 text-black shadow-lg ring-1 ring-gray-900/10 md:max-w-[656px]",style:{bottom:"0px",right:"20px",marginBottom:`${4*r}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e(Jd,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);o(!1),((e,t,n)=>{if("undefined"==typeof window)return;const r=JSON.stringify(t),i=xt(r);It.set(e,i,n)})("cookieBannerClosed",!0,{expires:e})},children:e(yr,{name:"close"})}),n.richText?e("div",{className:"mx-auto my-4 [&>a]:footnote",children:n.richText}):null]}):null}const sx=({fill:n="#FFFEEF"})=>{const r=`logo-cream-clip-${i.useId()}`;return t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",fill:"none",viewBox:"0 0 100 99",preserveAspectRatio:"xMidYMid meet",children:[t("g",{fill:n,clipPath:`url(#${r})`,children:[e("path",{d:"M23.877 73.439c2.829 9.044 7.288 13.706 25.03 18.07 16.735 4.111 43.31 12.356 48.798 3.65 3.454-5.095 1.534-12.395.415-18.244-.875-3.853-1.756-7.3-2.534-11.074-.255-1.237-2.034-1.22-2.278.022-1.284 6.552-3.528 11.26-8.55 14.482-8.572 6.125-28.7 2.295-39.453-2.272-11.487-4.656-14.696-13.509-15.486-23.126-.296-5.157.437-10.123 1.818-14.392.409-1.254-1.273-2.097-2.045-1.023-6.113 8.464-8.073 23.88-5.71 33.913",opacity:".45"}),e("path",{d:"M74.18 75.362c9.135-2.8 13.845-7.215 18.253-24.779 4.153-16.569 12.481-42.878 3.687-48.31-5.147-3.42-12.52-1.52-18.429-.411-3.89.866-7.373 1.738-11.185 2.508-1.25.253-1.233 2.014.023 2.255 6.618 1.271 11.373 3.493 14.628 8.465 6.186 8.486 2.318 28.412-2.295 39.059-4.704 11.371-13.646 14.549-23.36 15.33-5.21.293-10.226-.432-14.537-1.799-1.267-.405-2.12 1.26-1.034 2.025 8.55 6.051 24.12 7.992 34.255 5.652",opacity:".45"}),e("path",{d:"M76.124 25.562c-2.83-9.044-7.289-13.706-25.03-18.07C34.358 3.38 7.783-4.865 2.3 3.842-1.153 8.937.767 16.237 1.886 22.086c.875 3.852 1.756 7.3 2.534 11.074.256 1.237 2.034 1.22 2.278-.023 1.284-6.552 3.528-11.26 8.55-14.482 8.572-6.124 28.7-2.294 39.453 2.272 11.487 4.657 14.696 13.51 15.486 23.126.296 5.158-.437 10.124-1.818 14.392-.409 1.255 1.273 2.098 2.045 1.024 6.113-8.464 8.073-23.88 5.71-33.913",opacity:".45"}),e("path",{d:"M25.82 23.638c-9.135 2.8-13.845 7.216-18.253 24.78-4.153 16.568-12.48 42.877-3.687 48.31 5.147 3.42 12.52 1.519 18.429.41 3.891-.865 7.374-1.737 11.186-2.508 1.25-.253 1.232-2.013-.023-2.255-6.619-1.27-11.373-3.492-14.629-8.464-6.186-8.487-2.317-28.413 2.296-39.059 4.703-11.372 13.645-14.55 23.36-15.331 5.209-.293 10.225.433 14.537 1.8 1.266.404 2.118-1.26 1.033-2.025-8.55-6.052-24.12-7.992-34.255-5.652",opacity:".45"})]}),e("defs",{children:e("clipPath",{id:r,children:e("path",{fill:"#fff",d:"M0 0h100v99H0z"})})})]})},cx=n=>{const{anchorId:r="email-input",title:i,subTitle:o,emailInputDescription:a,inputPlaceholder:l="Enter your email here",ctaButtonText:s,ctaText:u,caption:d,backgroundColor:p="white",successFeedback:h,onSubmit:m,themeColor:f,showPinWheel:g=!0,padding:v="large",requiredErrorMessage:b="Email is required",validationErrorMessage:y="Invalid email address",fieldProps:x}=n||{},w=s||u||"Sign me up",C={green:"bg-bg-fill-brand",white:"bg-bg",gray90:"bg-[var(--color-text-secondary)]"},I={green:"bg-bg-fill-brand",blue:"bg-bg-fill-brand-supporting",orange:"bg-orange-500",purple:"bg-bg-fill-brand-tertiary",white:"bg-bg"},N=(p||"").trim().toLowerCase()||"white",A=C[N]||C.white,E="white"===N?"text-text":"text-white",T=(f||"").trim().toLowerCase()||"green",S=I[T]||I.green,k=["green","blue","purple"].includes(T),P=k?"text-white":"text-text",B=k?"text-text-inverse":"text-text",L="white"===T?"#E0E0E0":"#FFFEEF",R="none"===v?"!py-0 md:!py-0":"!py-8 md:!py-20",[O,G]=c(""),[D,M]=c(!1),[V,F]=c(""),j=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e);return t("section",{id:r,className:`w-full px-4 ${R} md:px-10 ${A}`,children:[t("div",{className:`mx-auto max-w-[1200px] overflow-hidden !rounded-[20px] md:rounded-[20px] flex flex-col items-start !px-5 !pt-6 !pb-10 md:!p-10 md:!pt-12 min-h-[344px] md:!w-auto md:min-h-[367px] relative ${S}`,children:[g&&e("div",{className:"absolute right-[-50px] top-[-30px] hidden h-[420px] w-[420px] pointer-events-none lg:block","aria-hidden":"true",children:e(sx,{fill:L})}),t("div",{className:"w-full",children:[t("div",{className:"lg:w-[548px]",children:[i&&e("h2",{className:`mb-3 text-[2.25rem] leading-[2.5rem] font-black md:text-heading2 md:font-black ${P}`,...null==x?void 0:x.title,children:i}),o&&e("h3",{className:`subheading3 mb-3 font-black ${P}`,...null==x?void 0:x.subTitle,children:o}),a&&e("p",{className:`!mb-4 md:!mb-16 text-xl leading-7 font-medium md:text-subheading1 md:!leading-8 md:!font-bold opacity-95 ${P}`,...null==x?void 0:x.emailInputDescription,children:a})]}),t("div",{className:"relative max-w-[548px] flex w-full flex-col items-center sm:flex-row sm:overflow-hidden sm:rounded-3xl sm:border-2 sm:!border-gray-600 sm:bg-white sm:p-1.5 sm:shadow-xl sm:transition-all md:!h-[75px] md:p-2",children:[e("div",{className:"w-full !rounded-lg border border-transparent bg-white p-1.5 shadow-md sm:border-0 sm:p-0 sm:rounded-none sm:shadow-none",children:e("input",{type:"email",placeholder:l,value:O,onChange:e=>{const t=e.target.value;G(t),D&&M(!1),t.trim()?j(t)?F(""):F(y):F(b)},className:"w-full flex-grow bg-transparent !pl-4 pr-6 py-3 text-[1rem] leading-none md:text-base font-normal text-text outline-none placeholder:input-text-placeholder md:py-4",...null==x?void 0:x.email})}),e(Jd,{buttonLabel:w,buttonVariant:"primary_inverse",buttonClassName:"capitalize-first whitespace-nowrap rounded-2xl px-8 !text-lg mt-3 w-full sm:mt-0 sm:w-auto sm:absolute sm:right-[8px] sm:top-[calc(50%-28px)]",onClick:()=>{O.trim()?j(O)?(m({email:O}),G(""),M(!0),F("")):F(y):F(b)},fieldProps:null==x?void 0:x.cta})]}),V&&e("p",{className:`mt-2 text-label4 font-semibold ${B}`,...null==x?void 0:x.errorMessage,children:V}),h&&D&&!V&&e("p",{className:`mt-2 text-label4 font-semibold ${P}`,...null==x?void 0:x.successFeedback,children:h})]})]}),d&&e("div",{className:`mx-auto max-w-[1200px] px-6 md:px-8 ${E}`,...null==x?void 0:x.caption,children:d})]})},ux={white:"bg-white",navy:"bg-[#00002D] text-white",green:"bg-[#26B170] text-white",blue:"bg-[#07B2E2] text-white",purple:"bg-[#931D69] text-white",yellow:"bg-[#F5FF1E]",cream500:"bg-[#FFFEEF]",gray100:"bg-bg-fill-secondary",transparent:""},dx=["blue","green","yellow","purple","white","navy"],px=({fields:r,fieldProps:i,isInPopupContainer:o=!1,onClose:l,onContinueCheckout:s,checkShouldShowBanner:u,onBannerShown:d})=>{var p;const{anchorId:h,mainHeading:m,description:f,cta:g,image:v,imageAltText:b,imagePosition:y="center",backgroundColor:x,imageAccentColor:w,showImageAsIcon:C=!1,Logo:I}=r,N=Boolean(v)&&"center"!==y,A="right"===y,E=x&&null!==(p=ux[x])&&void 0!==p?p:"",T=(e=>!!e&&dx.includes(e))(w),[S,k]=c(!1);a(()=>{const e=()=>{(null==u?void 0:u())&&!S&&(k(!0),null==d||d())};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[]);const P=()=>{null==s||s()},B=()=>I?e("div",{className:"cart-retention-banner-logo relative mx-auto mb-4 h-12 w-40",children:e(fi,{src:I,alt:null!=m?m:"",fill:!0,sizes:"160px",className:"object-contain"})}):null,L=()=>v?e("div",C?{className:"cart-retention-banner-image relative mx-auto mb-4 h-[87px] w-[93px] overflow-hidden md:h-[193px] md:w-[207px]",children:e(fi,{src:v,alt:null!=b?b:"",fill:!0,sizes:"(min-width: 768px) 207px, 93px",className:"object-contain"})}:N?{className:"cart-retention-banner-image relative md:h-full",children:e("div",{className:"relative h-[258px] w-full overflow-hidden rounded-[20px] md:h-[400px]",children:e(fi,{src:v,alt:null!=b?b:"",fill:!0,sizes:"(min-width: 768px) 314px, 100vw",className:"object-cover object-top"})})}:{className:"cart-retention-banner-image relative mb-4 aspect-[2/1] w-full overflow-hidden rounded-[20px]",children:e(fi,{src:v,alt:null!=b?b:"",fill:!0,sizes:"(min-width: 640px) 400px, 90vw",className:"object-cover"})}):null,R=()=>{var r,o,a;return t(n,{children:[e(xr,{className:_e("heading2",N?"text-center md:text-left":"text-center"),...null==i?void 0:i.mainHeading,children:m||"Welcome back. Let's finish your order"}),f&&e("div",{...null==i?void 0:i.description,children:Ti(kt(null==f?void 0:f.json),!1,_e("body2",N?"text-center md:text-left":"text-center"))}),e("div",{className:_e("flex w-full pt-5 md:px-4",N?"justify-center md:justify-start":"justify-center"),children:e(Jd,{onClick:P,buttonLabel:null!==(r=null==g?void 0:g.buttonLabel)&&void 0!==r?r:"Continue checkout",disableAnimation:null===(o=null==g?void 0:g.disableAnimation)||void 0===o||o,animationType:null==g?void 0:g.animationType,fullWidth:!0,fieldProps:null!==(a=null==g?void 0:g.fieldProps)&&void 0!==a?a:null==i?void 0:i.cta})})]})},O=t(n,N?{children:[B(),t("div",{className:_e("flex flex-col md:grid md:gap-6",A?"md:grid-cols-[1fr_314px]":"md:grid-cols-[314px_1fr]"),children:[e("div",{className:_e("order-1",A&&"md:order-2","md:max-w-[314px]",C&&"flex items-center justify-center"),children:L()}),e("div",{className:_e("order-2 flex flex-col justify-center gap-8 pt-5 md:gap-10 md:pt-0",A?"md:order-1":""),children:R()})]})]}:{children:[B(),L(),R()]}),G=e(nf,{path:"path5",fill:w,background:"transparent",className:_e("rounded-3xl px-6 pb-8 md:p-6",C&&"md:!py-[95px]",I?"pt-6":"pt-13"),show:T,children:O});return o?e("div",{className:_e("pop-up-body w-full",N?"overflow-hidden":"mb-5 mt-10",E),"data-section-type":"cart-retention-banner","data-section-index":"0",children:G}):e("section",{id:h,"data-testid":"cart-retention-banner",children:e(tf,{size:"sm",isOpen:S,onRequestClose:()=>{null==l||l(),k(!1)},bodyClassName:_e(N?_e("overflow-hidden md:!max-w-[828px]",!T&&"p-0"):"flex items-center justify-center","min-[370px] p-[0px]",E),type:"cart-retention-banner",children:N?G:e("div",{className:"pop-up-body mb-5 w-full px-3 [overflow-x:clip] md:px-6",children:G})})})},hx={gray90:"#464646",green:"#24A76A",white:"#FFFFFF"},mx=({iframeUrl:t,anchorId:n,backgroundColor:r,height:i,fieldProps:o})=>{const s=l(null);return a(()=>{if(!t)return;const e=e=>{var t;const n=null===(t=e.data)||void 0===t?void 0:t.iframeHeight;"number"==typeof n&&Number.isFinite(n)&&n>0&&n<=1e4&&s.current&&(s.current.style.height=`${n}px`)};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[t]),t?e("section",{id:n,className:"w-full",...null==o?void 0:o.iframeUrl,children:e("iframe",{ref:s,src:t,width:"100%",frameBorder:"0",scrolling:"no",style:{background:r?hx[r]:"transparent",...i?{height:`${i}px`}:{}},title:"Iframe Embed",loading:"lazy"})}):null},fx={IP_PHONE_NUMBER:"ip_or_phone",TARGET_EMAIL:"target_email",REQUIRED_FIELDS_MISSING:"Required fields missing",PROVIDE_AT_LEAST_ONE:"Please provide at least one",ONE_REQUIRED_FIELD:"At least One Required"},gx="* Please fill all required fields and checkboxes",vx={phone:/^(?:\d{10}|\(\d{3}\)\s\d{3}-\d{4}|\d{3}-\d{3}-\d{4}|\+1\s\d{3}-\d{3}-\d{4})$/,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^(?:(?:[0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4}|(?:[0-9A-Fa-f]{1,4}:){1,7}:|(?:[0-9A-Fa-f]{1,4}:){1,6}:[0-9A-Fa-f]{1,4}|(?:[0-9A-Fa-f]{1,4}:){1,5}(?::[0-9A-Fa-f]{1,4}){1,2}|(?:[0-9A-Fa-f]{1,4}:){1,4}(?::[0-9A-Fa-f]{1,4}){1,3}|(?:[0-9A-Fa-f]{1,4}:){1,3}(?::[0-9A-Fa-f]{1,4}){1,4}|(?:[0-9A-Fa-f]{1,4}:){1,2}(?::[0-9A-Fa-f]{1,4}){1,5}|[0-9A-Fa-f]{1,4}:(?:(?::[0-9A-Fa-f]{1,4}){1,6})|:(?:(?::[0-9A-Fa-f]{1,4}){1,7}|:))$/,email:/^[a-zA-Z0-9._%+-]+@((?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{1,}|(?:\d{1,3}\.){3}\d{1,3})$/},bx=d(void 0),yx=({state:n,checked:r=!1,onChange:i,className:o,label:a,labelClassName:l,containerClassName:s,name:c,value:u,id:d,disabled:p=!1,required:h=!1,error:m=!1,"data-cy":g,renderInfoIcon:v,...b})=>{var y,x;const w=p||"disabled"===n,C=d||c,I=_e("flex items-center justify-center w-6 h-6 rounded-[4px] outline-offset-2","focus"===n&&"outline",o),N=f(e=>{w||i&&(1===i.length?i(e.target.checked):i())},[w,i]);return t("div",{className:_e("flex items-center gap-3",s),children:[t("div",{className:"relative",children:[e("input",{type:"checkbox",id:C,name:c,value:u,checked:r,onChange:N,disabled:w,required:h,className:"peer sr-only","data-cy":g,...b}),e("label",{htmlFor:C,className:_e("peer-focus:outline",I),style:{pointerEvents:w?"none":"auto"},children:t("svg",r?{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("rect",{width:"24",height:"24",rx:"4",className:_e(w?"fill-checkbox-bg-surface-selected-disabled":"fill-bg-fill-brand")}),e("path",{d:"M8 11.9593L11.0316 15L17 9",stroke:"white",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})]}:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",className:_e(w?"fill-checkbox-bg-surface-disabled":"fill-white")}),e("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",stroke:"#CECECE"})]})})]}),a&&e("label",{htmlFor:C,className:_e("cursor-pointer",m&&"text-text-critical",l),children:a}),v&&e(Li,{type:"button",onClick:v.onClick,"data-testid":v.dataTestId,className:"ml-2 cursor-pointer text-icon-info","aria-label":"More information",children:t("svg",{xmlns:"http://www.w3.org/2000/svg",width:null!==(y=v.iconSize)&&void 0!==y?y:24,height:null!==(x=v.iconSize)&&void 0!==x?x:24,viewBox:"0 0 24 24",fill:"none",children:[e("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),e("path",{d:"M12 16v-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e("path",{d:"M12 8h.01",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})]})};yx.displayName="Checkbox";const xx=n=>{const{name:r,value:i,label:o,subText:a,checked:l,onChange:s,className:c,variant:u="circle",hasError:d=!1,labelProps:p={},"data-cy":h,labelClassName:m="",disabled:f,...g}=n,v=()=>null==s?void 0:s(i||r);return t("label",{htmlFor:r,className:_e("flex items-center",c),"data-cy":h,...p,children:[e("input",{className:"hidden",type:"radio",name:r,value:i,checked:l,readOnly:!0,disabled:f,...g}),e(Li,{type:"button",onClick:v,disabled:f,className:_e("mr-3 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full border-[1px] border-solid border-border-secondary-on-bg-fill bg-bg outline-offset-4",l&&"border-[1px] border-solid border-border-brand",f&&"opacity-50"),children:l&&e("div",{className:"h-[0.875rem] w-[0.875rem] rounded-full bg-bg-fill-brand"})}),t(Li,{type:"button",onClick:v,disabled:f,tabIndex:o?0:-1,children:[e("div",{className:_e("text-body2 font-normal",m),children:o}),e("div",{className:"text-body1 text-text-info",children:a})]})]})};xx.displayName="RadioButton";const wx=e=>{const t=(e||"").replace(/\D/g,"");return t.length<=3?t:t.length<=6?`${t.slice(0,3)}-${t.slice(3)}`:t.length<=9?`${t.slice(0,3)}-${t.slice(3,6)}-${t.slice(6)}`:`${t.slice(0,3)}-${t.slice(3,6)}-${t.slice(6,10)}`},Cx=(n,r,i="footnote")=>t(xr,{as:"div",className:_e(i,"validation-label mb-1"),children:[n,r?e("span",{className:"text-text-critical",children:"*"}):null]}),Ix=r=>{const{requiredField:i,handleInputChange:o,fieldId:a,displayName:l,hasError:s}=r,[u,d]=c(!1);return e(yx,{name:a,id:a,checked:u,error:s,onChange:()=>{d(e=>(o(!e),!e))},labelClassName:"footnote text-text-secondary",label:t(n,{children:[l,i?e("span",{className:"text-text-critical",children:"*"}):null]})})},Nx={Checkbox:t=>{const{formData:n,handleInputChange:r,fieldId:i,dataSource:o,isConsentCheckbox:a,hasError:l}=t;if(a)return e(Ix,{...t});const s=null==n?void 0:n[i],c="string"==typeof s&&s.length>0?s.split(","):[];return e("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2",children:(o||[]).map((t,n)=>e("div",{className:"w-full lg:w-[384px]",children:e(yx,{name:i,id:`${i}-${n}`,label:t.label,value:t.value,checked:c.includes(t.value),onChange:()=>(e=>{let t;t=c.includes(e)?c.filter(t=>t!==e):[...c,e],r(t.join(","))})(t.value),error:l,labelClassName:"footnote"})},`${i}-${n}`))})},Imageupload:n=>{const{handleInputChange:r,loading:i}=n,[o,s]=c([]),[u,d]=c([]),[p,m]=c(!1),[f,g]=c(null),v=l(null),b=h(bx);a(()=>{const e=o.map(e=>e.type.startsWith("image/")?URL.createObjectURL(e):"");return d(e),()=>{e.forEach(e=>{e&&URL.revokeObjectURL(e)})}},[o]);const y=e=>{const t=[];if(e&&e.length){if(Array.from(e).forEach(e=>{e.type.startsWith("image/")&&t.push(e)}),0===t.length)return void g("Only image files are allowed.");if(o.length+t.length>5)return void g("You can only upload a maximum of 5 files.");const n=[...o,...t];if(!((e,t)=>{const n=e.reduce((e,t)=>e+t.size,0);return{total:n,ok:n<=t}})(n,20971520).ok)return void g("Total file size should not be more than 20 MB.");null==b||b.setFiles(n),s(n),r(n),g(null)}};return e("div",{children:t("div",{onDragOver:e=>{e.preventDefault(),e.stopPropagation(),m(!0)},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),m(!1)},onDrop:e=>{e.preventDefault(),e.stopPropagation(),m(!1),e.dataTransfer.files&&e.dataTransfer.files.length>0&&(y(e.dataTransfer.files),e.dataTransfer.clearData())},className:_e("relative flex flex-col items-center justify-center rounded-xl border border-input-border bg-white px-4 py-10 text-center transition",p?"border-input-border-selected bg-bg-surface-active":"hover:border-input-border-hover"),children:[e("p",{className:"mb-3 text-sm text-text-secondary",children:"Drop files here or"}),t("button",{type:"button",onClick:()=>{var e;return null===(e=v.current)||void 0===e?void 0:e.click()},className:"inline-flex items-center gap-2 rounded-md bg-white px-4 py-2 text-sm font-medium text-text shadow-sm ring-1 ring-inset ring-input-border hover:bg-bg-surface-hover",children:[e(yr,{name:"upload",weight:"700",size:24}),"Choose files"]}),e("input",{ref:v,type:"file",accept:"image/*",multiple:!0,name:"files",onChange:e=>{e.target.files&&e.target.files.length>0&&(y(e.target.files),e.target.value="")},className:"pointer-events-none absolute inset-0 h-0 w-0 opacity-0","aria-hidden":!0,tabIndex:-1}),f&&e("p",{className:"mt-2 text-sm text-text-critical",children:f}),o.length>0&&e("div",{className:"mt-8",children:e("ul",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 md:grid-cols-4",children:o.map((n,a)=>t("li",{className:"group relative rounded-xl border border-input-border p-2",children:[n.type.startsWith("image/")&&u[a]?e("img",{src:u[a],alt:n.name,className:"h-28 w-full rounded object-cover"}):e("div",{className:"h-28 w-full rounded bg-bg-surface-active"}),t("div",{className:"mt-2 flex items-center justify-between",children:[e("span",{className:"max-w-[50%] truncate text-sm text-text",title:n.name,children:n.name}),e("button",i?{type:"button",disabled:!0,className:"cursor-default text-sm text-text-secondary",children:"Remove"}:{type:"button",onClick:()=>(e=>{const t=[...o];t.splice(e,1),s(t),null==b||b.setFiles(t),r(t)})(a),className:"text-sm text-text-critical hover:underline",children:"Remove"})]})]},a))})})]})})},Datepicker:t=>{var n;const{displayName:r,handleInputChange:i,errorClass:o,formData:a,fieldId:l}=t;return e("div",{className:"w-full",children:e("input",{type:"datetime-local","aria-label":r,value:null!==(n=null==a?void 0:a[l])&&void 0!==n?n:"",onChange:e=>i(e.target.value),className:_e("w-full rounded-xl border border-input-border bg-white px-4 py-3 text-text outline-none focus:border-input-border-selected",o)})})},Dropdown:t=>{var n;const{formData:r,handleInputChange:i,fieldId:o,dataSource:l,existingDataSource:s,errorClass:u}=t,[d,p]=c(null!=l?l:[]),m=h(bx),f=null==m?void 0:m.resolveExistingDataSource;a(()=>{(async()=>{var e;if((null==l||l.length<=0)&&s){if("City List"===s)return;if(!f)return;try{const e=await f(s,{selectedState:null==m?void 0:m.selectedState});p(e||[])}catch(t){null===(e=null==m?void 0:m.onError)||void 0===e||e.call(m,{type:"resolve_data_source",error:t,metadata:{existingDataSource:s}})}}})()},[l,s]),a(()=>{if("City List"===s&&(i(null),p([]),(null==m?void 0:m.selectedState)&&f)){const e=async()=>{var e;try{const e=await f("City List",{selectedState:null==m?void 0:m.selectedState});p(e||[])}catch(t){null===(e=null==m?void 0:m.onError)||void 0===e||e.call(m,{type:"resolve_data_source",error:t,metadata:{existingDataSource:"City List"}})}};e()}},[null==m?void 0:m.selectedState,s]);const g=(null==r?void 0:r[o])?d.find(e=>e.value===(null==r?void 0:r[o])):null;return e(Zy,{className:_e("body3",u),controlClassName:"px-4 [&>div]:p-0",options:d,value:null!=g?g:void 0,onChange:i,"aria-label":null!==(n=t.displayName)&&void 0!==n?n:"Select"})},Radio:t=>{const{requiredField:n,formData:r,handleInputChange:i,fieldId:o,hasError:a,dataSource:l}=t;return e("div",{className:"mt-6 flex flex-col gap-8 sm:flex-row",children:(l||[]).map((t,l)=>e("div",{className:"w-full lg:w-[384px]",children:e(xx,{name:o,label:t.label,value:t.value,checked:(null==r?void 0:r[o])===t.value,hasError:a,onChange:i,required:n,labelClassName:"footnote text-left"})},l))})},Text:t=>{var n,r;const{displayName:i,formData:o,textInputType:a,handleInputChange:l,fieldId:s,errorClass:c,enableAddressAutocomplete:u}=t,d=h(bx),p=null==d?void 0:d.renderAddressAutocomplete;return!!u&&!!p&&"phone"!==a&&"email"!==a&&"multiline"!==a&&p?e(p,{...t}):e("div","phone"===a?{className:"w-full",children:e(Pp,{"aria-label":i,name:s,type:"tel",value:o[s]?wx(o[s]):"",onChange:l,className:_e("w-full",c),maxLength:14})}:"multiline"===a?{className:"w-full",children:e("textarea",{"aria-label":i,name:s,value:null!==(n=null==o?void 0:o[s])&&void 0!==n?n:"",onChange:l,rows:4,className:_e("w-full rounded-xl border border-input-border bg-white px-4 py-3 text-text outline-none focus:border-input-border-selected",c)})}:{className:"w-full",children:e(Pp,{"aria-label":i,name:s,value:null!==(r=null==o?void 0:o[s])&&void 0!==r?r:"",onChange:l,className:_e("w-full",c)})})}},Ax=n=>{var r;const i=h(bx),{formData:o,setFormData:a,submitErrorFields:l,fieldId:s,displayName:u,requiredField:d,formFieldsToShow:p=[],dataSource:m,note:f,grouped:g=!1,renderConditionalFields:v}=n,[b,y]=c(!1),[x,w]=c({fieldId:"",errorMessage:""}),C=g&&(s===fx.TARGET_EMAIL||s===fx.IP_PHONE_NUMBER),I=Nx.Radio;if(!I)return null;const N=l.includes(s);let A="";N&&(A="Datepicker"===s||"Dropdown"===s?"border border-border-critical border-solid rounded-xl":"border border-border-critical");return t("div",{className:_e("w-full",C&&"bg-bg-surface-secondary px-5 pt-1",C&&s===fx.IP_PHONE_NUMBER&&"rounded-t-xl border-x border-b border-border-secondary",C&&s===fx.TARGET_EMAIL&&"rounded-b-xl border-x border-t border-border-secondary pb-5"),...null===(r=n.fieldProps)||void 0===r?void 0:r.field,children:[t("div",{className:"mb-4",children:[Cx(u,d),e(I,{displayName:u,requiredField:d,formData:o,fieldId:s,handleInputChange:e=>{w({fieldId:"",errorMessage:""}),null==i||i.setHasError(!1),y("yes"===(null==e?void 0:e.toLowerCase())),a(t=>({...t,[s]:e}))},error:x,hasError:N,dataSource:m,errorClass:A}),x.fieldId===s&&x.errorMessage&&e(xr,{as:"div",className:"footnote mt-1 text-text-critical",children:x.errorMessage}),f&&e(xr,{as:"div",className:"footnote mt-1",children:f})]}),e("div",{className:"transition duration-300 ease-in-out "+(b?"translate-y-0 opacity-100":"translate-y-4 opacity-0"),children:b&&v(!1,p,o,a,l)})]})},Ex=n=>{var r,i;const o=h(bx),{loading:a,formData:l,setFormData:s,submitErrorFields:u,isGrouped:d=!1,fieldId:p,fieldType:m,fieldClassName:f,displayName:g,requiredField:v,textInputType:b,errorMessage:y,dataSource:x,existingDataSource:w,note:C,noteClassName:I,validationNote:N,validationGroupId:A,validationType:E,applyRegularExpression:T,regexPattern:S,enableAddressAutocomplete:k}=n,[P,B]=c({fieldId:"",errorMessage:""}),L=(m?null===(r=null==o?void 0:o.fieldComponentOverrides)||void 0===r?void 0:r[m]:void 0)||(m?Nx[m]:void 0);if(!L)return null;const R=A&&E&&!d,O="Checkbox"===m&&!x&&!w,G=u.includes(p);let D="";G&&(D="Datepicker"===p||"Dropdown"===p?"border border-border-critical border-solid rounded-xl":"border border-border-critical");const M=(e,t)=>{B({fieldId:e,errorMessage:t})},V=(e,t)=>{s(n=>({...n,[e]:t}))};return t("div",{className:_e(R?"groupingField rounded-b-xl rounded-t-xl border border-border-secondary bg-bg-surface-secondary px-5 pb-5 pt-1":"",(null==f?void 0:f.split("|")[1])||"w-full"),...null===(i=n.fieldProps)||void 0===i?void 0:i.field,children:[R&&!d?Cx(N||fx.PROVIDE_AT_LEAST_ONE,!0,"body2"):null,!O&&Cx(g,v),e("div",{className:"Checkbox"===m||"Radio"===m?O?"":"mt-6":"",children:e(L,{loading:a,displayName:g,requiredField:v,formData:l,fieldId:p,textInputType:b,handleInputChange:e=>{var t;if(null==o||o.clearFieldError(p),B({fieldId:"",errorMessage:""}),null==o||o.setHasError(!1),"Checkbox"===m||"Radio"===m)V(p,e);else if("Dropdown"===m)V(p,null==e?void 0:e.value),"State List"===w&&(null==o||o.setSelectedState(e));else if("Datepicker"===m)e?V(p,e):(M(p,y||""),null==o||o.setHasError(!0),null==o||o.setFieldError(p,y||""));else{if("Imageupload"===m){const t=Array.isArray(e)?e:[];return null==o||o.setFiles(t),void V("files",t)}{const{name:n,value:r}=e.target;if(!r)return void V(n,r);if("phone"===b){const t=wx(r).replace(/\D/g,"");return V(n,t),e.target.value=t,void(10!==t.length&&(M(p,y||""),null==o||o.setHasError(!0),null==o||o.setFieldError(p,y||"")))}if("email"!==b||(e=>{const[,t]=e.split("@");return!(!t||t.includes(".."))&&vx.email.test(e)})(r)||(M(p,y||""),null==o||o.setHasError(!0),null==o||o.setFieldError(p,y||"")),T&&S)try{new RegExp(S).test(r)||""===r||(M(p,y||""),null==o||o.setHasError(!0),null==o||o.setFieldError(p,y||""))}catch(e){null===(t=null==o?void 0:o.onError)||void 0===t||t.call(o,{type:"invalid_regex_pattern",error:e,metadata:{fieldId:p,regexPattern:S}})}V(n,r)}}},dataSource:x,error:P,errorClass:D,hasError:G,existingDataSource:w,isConsentCheckbox:O,enableAddressAutocomplete:k,"data-testid":"form-component"})}),P.fieldId===p&&P.errorMessage&&e(xr,{as:"div",className:"footnote text-text-critical",children:P.errorMessage}),C&&e(xr,{as:"div",className:_e("footnote",I),children:C})]})},Tx=e=>"formField"===e.itemType,Sx=e=>"conditional"===e.itemType,kx=(e,t=!1,n={})=>{const r=((e,t)=>{const n=e.filter(Sx).flatMap(e=>{const n=t[e.fieldId];return"string"==typeof n&&"yes"===n.toLowerCase()?e.formFieldsToShow:[]});return[...e,...n]})(e,n);return r.filter(Tx).map(e=>{if(t)return{[e.fieldId]:e.sftpFieldId};const{fieldId:n,requiredField:r,fieldType:i,formSection:o,dataSource:a}=e;return{fieldId:n,requiredField:r,fieldType:i,formSection:o,dataSource:a}})},Px=(e,t)=>{const n={};return e.forEach(e=>{const{fieldId:r,formSection:i}=e;i&&"string"==typeof i&&(n[i]||(n[i]=[]),r in t&&n[i].push({[r]:t[r]}))}),n},Bx=e=>{var t,n,r,i,o;const a=e instanceof Error?e.message:String(e),l=a.replace(/Bearer\s+\S+/gi,"Bearer [REDACTED]").replace(/["']?Authorization["']?\s*[:=]\s*(?:"[^"]*"|'[^']*'|\S+)/gi,"Authorization: [REDACTED]").replace(/(api(?:[_-]|\s)?key|apikey|access(?:[_-]|\s)?token|token|secret|password|key)(\s*["']?\s*[:=]\s*)(?:"[^"]*"|'[^']*'|[^\s&"']+)/gi,"$1$2[REDACTED]");const s=null==e?void 0:e.cause;return{errorMessage:l,errorStatus:null!==(o=null!==(r=null!==(n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.status)&&void 0!==n?n:null==e?void 0:e.status)&&void 0!==r?r:null===(i=null==s?void 0:s.response)||void 0===i?void 0:i.status)&&void 0!==o?o:void 0,errorCode:[e,s].map(e=>null==e?void 0:e.code).find(e=>"string"==typeof e)}},Lx=e=>{const{errorMessage:t,errorStatus:n,errorCode:r}=Bx(e);return{name:e instanceof Error?e.name:"Error",message:t,...void 0!==n?{status:n}:{},...void 0!==r?{code:r}:{}}},Rx=(t,n,r,i,o,a,l=!1)=>{var s,c;if("formField"===t.itemType)return e(Ex,{loading:r,...t,formData:i,setFormData:o,submitErrorFields:a,isGrouped:l},n);if("conditional"===t.itemType)return e(Ax,{...t,formData:i,setFormData:o,submitErrorFields:a,renderConditionalFields:Ox},n);if("divider"===t.itemType){const r=Math.max(t.dividerThickness||1,1),i=!1===t.dividerLength?"w-1/2":"w-full";return e("div",{className:"flex w-full justify-center",children:e("div",{...null===(s=t.fieldProps)||void 0===s?void 0:s.field,children:e(Gi,{role:"separator","aria-label":"Content divider",className:i,style:{height:`${r}px`}})})},n)}return e("div",{...null===(c=t.fieldProps)||void 0===c?void 0:c.field,children:t.content},n)},Ox=(n,r,i,o,a)=>(e=>{const t=[];let n=0;for(;n<e.length;){const r=e[n];if(!Tx(r)){t.push({type:"single",fields:[r]}),n++;continue}const i=r.validationGroupId;if(i){const o=[];let a=n;for(;a<e.length;){const t=e[a];if(!Tx(t)||t.validationGroupId!==i)break;o.push(t),a++}const l={type:"validationGroup",validationGroupId:i,validationNote:r.validationNote,validationType:r.validationType,subGroups:[]};let s=0;for(;s<o.length;){const e=o[s];if(!1===e.fieldWidth){const t=o[s+1];t&&!1===t.fieldWidth?(l.subGroups.push({type:"double",fields:[e,t]}),s+=2):(l.subGroups.push({type:"single",fields:[e]}),s++)}else l.subGroups.push({type:"single",fields:[e]}),s++}t.push(l),n=a}else if(!1===r.fieldWidth){const i=e[n+1];i&&Tx(i)&&!1===i.fieldWidth&&!i.validationGroupId?(t.push({type:"double",fields:[r,i]}),n+=2):(t.push({type:"single",fields:[r]}),n++)}else t.push({type:"single",fields:[r]}),n++}return t})(r).map((r,l)=>{var s,c;if("validationGroup"===r.type)return t("div",{className:"mb-0 w-full rounded-b-xl rounded-t-xl border border-border-secondary bg-bg-surface-secondary px-5 pb-5 pt-1",children:[r.validationNote&&t(xr,{as:"div",className:"validation-label body3 mb-3 mt-4 sm:mt-5",children:[r.validationNote,r.validationType===fx.ONE_REQUIRED_FIELD?e("span",{className:"text-text-critical",children:"*"}):null]}),r.subGroups.map((r,l)=>"single"===r.type?e("div",{className:"mb-0 w-full",children:Rx(r.fields[0],`subgroup-field-${l}`,n,i,o,a,!0)},`subgroup-${l}`):t("div",{className:"mb-0 flex w-full flex-col gap-5 lg:flex-row",children:[e("div",{className:"w-full lg:flex-1",children:Rx(r.fields[0],`subgroup-field-${l}-0`,n,i,o,a,!0)}),e("div",{className:"w-full lg:flex-1",children:Rx(r.fields[1],`subgroup-field-${l}-1`,n,i,o,a,!0)})]},`subgroup-${l}`))]},`validation-group-${l}`);if("single"===r.type){const t=r.fields[0],u="formField"===t.itemType?`${null!==(c=null===(s=t.fieldClassName)||void 0===s?void 0:s.split("|")[0])&&void 0!==c?c:""} mb-0 w-full`:"w-full";return e("div",{className:u,children:Rx(t,`group-field-${l}`,n,i,o,a)},`group-${l}`)}return t("div",{className:"mb-0 flex w-full flex-col gap-5 lg:flex-row",children:[e("div",{className:"w-full lg:flex-1",children:Rx(r.fields[0],`group-field-${l}-0`,n,i,o,a)}),e("div",{className:"w-full lg:flex-1",children:Rx(r.fields[1],`group-field-${l}-1`,n,i,o,a)})]},`group-${l}`)}),Gx=n=>{const{color:r="#fff",size:i="medium"}=n;return t("div",{role:"status",className:"relative flex flex-row items-center",children:[t("svg",{"aria-hidden":"true",className:_e("mr-2 h-5 w-5 animate-spin text-transparent",{small:"w-4 h-4",medium:"w-6 h-6",large:"w-8 h-8",xlarge:"w-12 h-12"}[i],n.className),style:{animation:"spin 0.75s linear infinite"},viewBox:"0 0 100 100",fill:r,children:[e("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),e("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),e("span",{className:"sr-only",children:"Loading..."})]})};Gx.displayName="Spinner";class Dx extends Error{constructor(e,t){super(e),this.name="FormValidationError",this.invalidFields=t}}class Mx extends Error{constructor(e,t,n){super(e),this.name="FormSubmissionError",this.errorActions=t,this.isCompleteFailure=n}}const Vx=e=>String(e).padStart(2,"0"),Fx=e=>{const t=Vx(e.getMonth()+1),n=Vx(e.getDate()),r=e.getFullYear();let i=e.getHours();const o=i>=12?"PM":"AM";return i=i%12||12,`${t}/${n}/${r} ${i}:${Vx(e.getMinutes())} ${o}`},jx=n=>{const{anchorId:r,title:i,subTitle:o,formHeading:u,description:d,disclaimer:p,successMessage:h,errorMessage:m,formClassName:g,fields:v,formSubmitOptions:b=[],submitLabel:y="Submit",ctaClassName:x,validationErrorText:w=gx,formName:C,emailSubject:I,emailTemplateName:N,toEmail:A,testEmail:E,isProduction:T,segmentEventId:S,onEmailSubmit:k,onSmtpSubmit:P,onSmsSubmit:B,actionHandlers:L,buildPayload:R,onSubmitSuccess:O,onTrack:G,onError:D,fieldComponentOverrides:M,resolveExistingDataSource:V,renderAddressAutocomplete:F,renderSubmitButton:j,fieldProps:H}=n,W=l("undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})),X=l(null),[z,_]=c({}),[Z,Y]=c(!1),[U,J]=c(!1),[$,K]=c(!1),[Q,q]=c(!1),[ee,te]=c([]),[ne,re]=c(""),[ie,oe]=c(null),[ae,le]=c({}),[se,ce]=c([]),ue=f(e=>{ce(e)},[]),de=f((e,t)=>{le(n=>({...n,[e]:t}))},[]),pe=f(e=>{le(t=>{const n={...t};return delete n[e],n})},[]),he=s(()=>v.reduce((e,t)=>{if("formField"!==t.itemType)return e;const n=t.validationGroupId;return null!=n&&null!=n&&(e[n]||(e[n]=[]),e[n].push(t)),e},{}),[v]);a(()=>{if(U&&"undefined"!=typeof window&&X.current){const e=140,t=X.current.offsetTop-e;window.scrollTo({top:t,behavior:"smooth"})}},[U]);const me=s(()=>({fieldErrors:ae,setFieldError:de,clearFieldError:pe,hasError:$,setHasError:K,selectedState:ie,setSelectedState:oe,files:se,setFiles:ue,resolveExistingDataSource:V,fieldComponentOverrides:M,renderAddressAutocomplete:F,onError:D}),[ae,de,pe,$,ie,se,ue,V,M,F,D]),fe=()=>{const e={...z};return v.forEach(t=>{"formField"===t.itemType&&t.applyPresetValidations&&"TN-IP-Validation"===t.selectPresetValidationsToApply&&(e[t.fieldId]=(e=>{const t=null==e?void 0:e.trim();if(!t)return e;if(vx.phone.test(t)){let e=t.replace(/\D/g,"");return 11===e.length&&e.startsWith("1")&&(e=e.slice(1)),e}return vx.ipv4.test(t)||vx.ipv6.test(t)?t:e})(e[t.fieldId]))}),_(e),e},ge=s(()=>({email:k,sftp:P,sms:B,...L||{}}),[k,P,B,L]),ve=async e=>{e.preventDefault(),Y(!0),re("");const t=fe();try{const e=kx(v,!1,t),r=((e,t={})=>kx(e,!0,t).reduce((e,t)=>({...e,...t}),{}))(v,t),i=(n=t,e.filter(e=>{if(!e.requiredField)return!1;const t=n[e.fieldId];return"Checkbox"!==e.fieldType||e.dataSource?""===t||null==t:!0!==t}).map(e=>e.fieldId));if(te(i),Object.keys(he).forEach(e=>{const n=he[e],r=n.map(e=>e.fieldId);if(n.filter(e=>e.validationType===fx.ONE_REQUIRED_FIELD&&(""===t[e.fieldId]||void 0===t[e.fieldId])).length===n.length&&n.length>0)throw te(e=>[...e,...r]),new Dx(fx.REQUIRED_FIELDS_MISSING,r)}),0!==i.length||0!==Object.keys(ae).length)throw new Dx(fx.REQUIRED_FIELDS_MISSING,i);const o=((e,t)=>{const n=Object.fromEntries(Object.entries(t).filter(([,e])=>""!==e&&void 0!==e)),r=kx(e,!1,n);return r.every(e=>{const t=e.formSection;return"string"==typeof t&&""!==t})&&r.length>0?{...Px(r,n)}:{form1:{...n}}})(v,t),a={submissionId:W.current,formName:C,toEmail:A,subject:I,emailTemplate:N,submittedOn:Fx(new Date),formSubmitOptions:b,formData:o,files:se},l=R?R(a,t):a;null==G||G(S,l);let s=l.formSubmitOptions||[];if(!1===T&&s.includes("email")){const e=(E||"").split(",").map(e=>e.trim()).filter(Boolean).join(",");e?l.toEmail=e:s=s.filter(e=>"email"!==e)}const c=s,u=c.includes("post"),d=c.filter(e=>"post"!==e),p=await(async(e,t,n)=>{const r=[],i=JSON.stringify({...t.formData});let o;if(t.files&&t.files.length>0){const e=new FormData;Object.keys(t).forEach(n=>{"files"!==n&&"formData"!==n&&e.append(n,t[n])}),e.append("formData",i),t.files.forEach(t=>e.append("files",t)),o=e}else o={...t,formData:i};const a=((e,t)=>t?e:e.filter(e=>"email"!==e))(e,t.emailTemplate);return await Promise.all(a.map(async e=>{const i=ge[e],a=o instanceof FormData?{headers:{"Content-Type":void 0}}:{};if(i)try{await i(o,{...n,action:e,options:a}),null==G||G(`${S}_${e}_success`,{...t,eventSuccess:!0})}catch(n){r.push(e);const{errorMessage:i,errorStatus:o,errorCode:a}=Bx(n);null==G||G(`${S}_${e}_failure`,{...t,eventSuccess:!1,errorMessage:i,errorStatus:o,errorCode:a}),null==D||D({type:"action_failure",error:Lx(n),metadata:{action:e,submissionId:W.current}})}else{r.push(e);const n=new Error(`Action "${e}" is not supported`),{errorMessage:i,errorStatus:o,errorCode:a}=Bx(n);null==G||G(`${S}_${e}_failure`,{...t,eventSuccess:!1,errorMessage:i,errorStatus:o,errorCode:a}),null==D||D({type:"unsupported_action",error:n,metadata:{action:e}})}})),{error:r.length>0,errorActions:r}})(d,l,{payload:l,formValues:t,sftpMap:r,formSubmitOptions:c,files:se});if(p.error&&d.length===p.errorActions.length)throw new Mx("All form actions failed",p.errorActions,!0);if(p.error)throw new Mx("Some form actions failed",p.errorActions,!1);if(Y(!1),J(!0),u){const e=ge.post;e&&await e({...l},{payload:l,formValues:t,sftpMap:r,formSubmitOptions:c,files:se,action:"post",options:{}})}((e,t)=>e.some(e=>{if(!Tx(e))return!1;const n=e.dataSource;if(!Array.isArray(n))return!1;const r=t[e.fieldId],i=n.find(e=>e.value===r);return!0===(null==i?void 0:i.popup)}))(v,t)?null==O||O(t,{shouldShowPopup:!0}):null==O||O(t,{shouldShowPopup:!1})}catch(e){let t="unknown";e instanceof Dx?(t="validation",re(w)):e instanceof Mx?(t=e.isCompleteFailure?"complete_submission_failure":"partial_submission_failure",e.isCompleteFailure?(J(!1),q(!0)):(J(!0),q(!1))):(t="unexpected",re("An error occurred while submitting the form. Please try again later."),q(!0),J(!1)),null==D||D({type:t,error:Lx(e),metadata:{formName:C,submissionId:W.current,formSubmitOptions:b,segmentEventId:S}}),Y(!1)}finally{Y(!1)}var n};return U?e("div",{ref:X,className:"mx-auto min-h-screen w-full px-4 sm:px-6 lg:px-8",children:e("div",{className:"max-w-2xl mx-auto py-4 sm:py-6 lg:py-8",children:e("div",{...null==H?void 0:H.successMessage,children:h})})}):Q?e("div",{className:"mx-auto min-h-screen w-full px-4 sm:px-6 lg:px-8",children:e("div",{className:"max-w-2xl mx-auto py-4 sm:py-6 lg:py-8",children:e("div",{...null==H?void 0:H.errorMessage,children:m})})}):e("section",{id:r,"aria-labelledby":`${r}-title`,children:e("div",{className:"mx-auto min-h-screen max-w-[800px] px-5 py-8 md:px-5 md:py-20",children:t("div",{className:"pb-8 sm:pb-6 lg:pb-4",children:[t("div",{className:"mb-8 lg:mb-16",children:[i&&e(xr,{as:"h2",className:"heading2 text-center",...null==H?void 0:H.title,children:i}),o&&e(xr,{as:"h3",className:"subheading3 mt-3 text-center",...null==H?void 0:H.subTitle,children:o})]}),d?e("div",{className:"text-center",...null==H?void 0:H.description,children:d}):null,u?e("div",{className:"mb-6 w-full px-2 sm:px-4",children:e(xr,{as:"div",className:"body3 mb-2 text-center text-xl sm:mb-4 md:text-left",...null==H?void 0:H.formHeading,children:u})}):null,e("div",{className:"mt-8 md:mt-16",children:e(bx.Provider,{value:me,children:t("form",{onSubmit:ve,className:_e("flex w-full flex-col gap-5 md:gap-8",g),children:[Ox(Z,v,z,_,ee),ne&&e(xr,{as:"div",className:"footnote text-text-critical",children:ne}),e("div",{className:"flex justify-center",...null==H?void 0:H.submit,children:j?j({isLoading:Z,disabled:$||Z,submitLabel:y,onSubmit:ve}):t(Li,{type:"submit",disabled:$||Z,"aria-label":"Submit Form",className:_e("button-submit mt-3 inline-flex h-[64px] w-full items-center justify-center gap-2 whitespace-nowrap rounded-full bg-bg-fill-brand px-[60px] text-base font-semibold text-text-brand-on-bg-fill transition hover:bg-bg-fill-brand-hover disabled:bg-bg-fill-brand-disabled md:mt-8 md:w-auto",x),children:[Z&&e(Gx,{}),y]})})]})})}),p&&e(xr,{as:"div",className:"footnote m-2",...null==H?void 0:H.disclaimer,children:p})]})})})};export{Di as Accordion,Qy as AddressInputBanner,ax as AnchoredBottomBanner,ji as AwardMarquee,Qd as BlogCard,Yy as BlogGrid,Uy as BlogGridBase,Jy as BreadcrumbNavigation,Jd as Button,dp as Callout,pp as Cards,Cp as Carousel,px as CartRetentionBanner,af as ComparisonTable,lx as CookieBanner,rf as CtaCallout,jx as DynamicForm,zp as DynamicTabs,cx as EmailInputBlock,of as FindKinetic,Ip as FloatingBanner,Np as Footer,mx as IframeEmbed,Ap as ImagePromoBar,Yp as LinksBlock,tf as Modal,Bp as Navigation,_p as OrderedList,Dp as PrimaryHero,fp as ProductCard,$y as SearchBlock,nf as ShapeBackgroundWrapper,ap as SimpleCard,gp as TestimonialCard,Zp as Text,fx as dynamicFormConstants,vx as dynamicFormRegex,Pi as label1BoldOptions,Ti as renderContentfulRichText,ki as renderContentfulRichTextTable,kt as toDocument,Si as useContentfulRichText,Bi as useProcessedChecklist};
|
|
25
|
+
*/function jg(){return Dg||(Dg=1,"production"===process.env.NODE_ENV?Rg.exports=function(){if(kg)return Og;kg=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case s:case c:case r:case o:case i:case d:return e;default:switch(e=e&&e.$$typeof){case l:case u:case m:case h:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return Og.AsyncMode=s,Og.ConcurrentMode=c,Og.ContextConsumer=l,Og.ContextProvider=a,Og.Element=t,Og.ForwardRef=u,Og.Fragment=r,Og.Lazy=m,Og.Memo=h,Og.Portal=n,Og.Profiler=o,Og.StrictMode=i,Og.Suspense=d,Og.isAsyncMode=function(e){return x(e)||y(e)===s},Og.isConcurrentMode=x,Og.isContextConsumer=function(e){return y(e)===l},Og.isContextProvider=function(e){return y(e)===a},Og.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Og.isForwardRef=function(e){return y(e)===u},Og.isFragment=function(e){return y(e)===r},Og.isLazy=function(e){return y(e)===m},Og.isMemo=function(e){return y(e)===h},Og.isPortal=function(e){return y(e)===n},Og.isProfiler=function(e){return y(e)===o},Og.isStrictMode=function(e){return y(e)===i},Og.isSuspense=function(e){return y(e)===d},Og.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===l||e.$$typeof===u||e.$$typeof===g||e.$$typeof===v||e.$$typeof===b||e.$$typeof===f)},Og.typeOf=y,Og}():Rg.exports=(Gg||(Gg=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var f=e.type;switch(f){case s:case c:case r:case o:case i:case d:return f;default:var g=f&&f.$$typeof;switch(g){case l:case u:case m:case h:case a:return g;default:return p}}case n:return p}}}var x=s,w=c,C=l,I=a,N=t,A=u,E=r,T=m,S=h,k=n,P=o,B=i,L=d,R=!1;function O(e){return y(e)===c}Fg.AsyncMode=x,Fg.ConcurrentMode=w,Fg.ContextConsumer=C,Fg.ContextProvider=I,Fg.Element=N,Fg.ForwardRef=A,Fg.Fragment=E,Fg.Lazy=T,Fg.Memo=S,Fg.Portal=k,Fg.Profiler=P,Fg.StrictMode=B,Fg.Suspense=L,Fg.isAsyncMode=function(e){return R||(R=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(e)||y(e)===s},Fg.isConcurrentMode=O,Fg.isContextConsumer=function(e){return y(e)===l},Fg.isContextProvider=function(e){return y(e)===a},Fg.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Fg.isForwardRef=function(e){return y(e)===u},Fg.isFragment=function(e){return y(e)===r},Fg.isLazy=function(e){return y(e)===m},Fg.isMemo=function(e){return y(e)===h},Fg.isPortal=function(e){return y(e)===n},Fg.isProfiler=function(e){return y(e)===o},Fg.isStrictMode=function(e){return y(e)===i},Fg.isSuspense=function(e){return y(e)===d},Fg.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===l||e.$$typeof===u||e.$$typeof===g||e.$$typeof===v||e.$$typeof===b||e.$$typeof===f)},Fg.typeOf=y}()),Fg)),Rg.exports}!function(){if(Vg)return Mg;Vg=1;var e=jg(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function o(n){return e.isMemo(n)?r:i[n.$$typeof]||t}i[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[e.Memo]=r;var a=Object.defineProperty,l=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;Mg=function e(t,r,i){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,i)}var h=l(r);s&&(h=h.concat(s(r)));for(var m=o(t),f=o(r),g=0;g<h.length;++g){var v=h[g];if(!(n[v]||i&&i[v]||f&&f[v]||m&&m[v])){var b=c(r,v);try{a(t,v,b)}catch(e){}}}}return t}}();var Hg="undefined"!=typeof document;var Wg=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Hg&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var Xg={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 zg(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var _g=/[A-Z]|^ms/g,Zg=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Yg=function(e){return 45===e.charCodeAt(1)},Ug=function(e){return null!=e&&"boolean"!=typeof e},Jg=zg(function(e){return Yg(e)?e:e.replace(_g,"-$&").toLowerCase()}),$g=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Zg,function(e,t,n){return Qg={name:t,styles:n,next:Qg},t})}return 1===Xg[e]||Yg(e)||"number"!=typeof t||0===t?t:t+"px"};function Kg(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 i=n;if(1===i.anim)return Qg={name:i.name,styles:i.styles,next:Qg},i.name;var o=n;if(void 0!==o.styles){var a=o.next;if(void 0!==a)for(;void 0!==a;)Qg={name:a.name,styles:a.styles,next:Qg},a=a.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Kg(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a){var l=a;Ug(l)&&(r+=Jg(o)+":"+$g(o,l)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var s=0;s<a.length;s++)Ug(a[s])&&(r+=Jg(o)+":"+$g(o,a[s])+";");else{var c=Kg(e,t,a);switch(o){case"animation":case"animationName":r+=Jg(o)+":"+c+";";break;default:r+=o+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var l=Qg,s=n(e);return Qg=l,Kg(e,t,s)}}return n}var Qg,qg=/label:\s*([^\s;{]+)\s*(;|$)/g;function ev(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,i="";Qg=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=Kg(n,t,o)):i+=o[0];for(var a=1;a<e.length;a++){if(i+=Kg(n,t,e[a]),r)i+=o[a]}qg.lastIndex=0;for(var l,s="";null!==(l=qg.exec(i));)s+="-"+l[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=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(i){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)}(i)+s;return{name:c,styles:i,next:Qg}}var tv="undefined"!=typeof document,nv=function(e){return e()},rv=!!r.useInsertionEffect&&r.useInsertionEffect,iv=tv&&rv||nv,ov="undefined"!=typeof document,av=r.createContext("undefined"!=typeof HTMLElement?Lg({key:"css"}):null);av.Provider;var lv=function(e){return o(function(t,n){var r=h(av);return e(t,r,n)})};ov||(lv=function(e){return function(t){var n=h(av);return null===n?(n=Lg({key:"css"}),r.createElement(av.Provider,{value:n},e(t,n))):e(t,n)}});var sv,cv,uv=r.createContext({}),dv={}.hasOwnProperty,pv="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",hv=function(e){var t=e.cache,n=e.serialized,i=e.isStringTag;Wg(t,n,i);var o=iv(function(){return function(e,t,n){Wg(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i="",o=t;do{var a=e.insert(t===o?"."+r:"",o,e.sheet,!0);Hg||void 0===a||(i+=a),o=o.next}while(void 0!==o);if(!Hg&&0!==i.length)return i}}(t,n,i)});if(!ov&&void 0!==o){for(var a,l=n.name,s=n.next;void 0!==s;)l+=" "+s.name,s=s.next;return r.createElement("style",((a={})["data-emotion"]=t.key+" "+l,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},mv=lv(function(e,t,n){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var o=e[pv],a=[i],l="";"string"==typeof e.className?l=function(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}(t.registered,a,e.className):null!=e.className&&(l=e.className+" ");var s=ev(a,void 0,r.useContext(uv));l+=t.key+"-"+s.name;var c={};for(var u in e)dv.call(e,u)&&"css"!==u&&u!==pv&&(c[u]=e[u]);return c.className=l,n&&(c.ref=n),r.createElement(r.Fragment,null,r.createElement(hv,{cache:t,serialized:s,isStringTag:"string"==typeof o}),r.createElement(o,c))}),fv=mv,gv=function(e,t){var n=arguments;if(null==t||!dv.call(t,"css"))return r.createElement.apply(void 0,n);var i=n.length,o=new Array(i);o[0]=fv,o[1]=function(e,t){var n={};for(var r in t)dv.call(t,r)&&(n[r]=t[r]);return n[pv]=e,n}(e,t);for(var a=2;a<i;a++)o[a]=n[a];return r.createElement.apply(null,o)};function vv(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ev(t)}sv=gv||(gv={}),cv||(cv=sv.JSX||(sv.JSX={}));const bv=Math.min,yv=Math.max,xv=Math.round,wv=Math.floor,Cv=e=>({x:e,y:e});function Iv(){return"undefined"!=typeof window}function Nv(e){return Tv(e)?(e.nodeName||"").toLowerCase():"#document"}function Av(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Ev(e){var t;return null==(t=(Tv(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Tv(e){return!!Iv()&&(e instanceof Node||e instanceof Av(e).Node)}function Sv(e){return!!Iv()&&(e instanceof HTMLElement||e instanceof Av(e).HTMLElement)}function kv(e){return!(!Iv()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Av(e).ShadowRoot)}const Pv=new Set(["inline","contents"]);function Bv(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Rv(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Pv.has(i)}const Lv=new Set(["html","body","#document"]);function Rv(e){return Av(e).getComputedStyle(e)}function Ov(e){const t=function(e){if("html"===Nv(e))return e;const t=e.assignedSlot||e.parentNode||kv(e)&&e.host||Ev(e);return kv(t)?t.host:t}(e);return function(e){return Lv.has(Nv(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Sv(t)&&Bv(t)?t:Ov(t)}function Gv(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=Ov(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=Av(i);if(o){const e=Dv(a);return t.concat(a,a.visualViewport||[],Bv(i)?i:[],e&&n?Gv(e):[])}return t.concat(i,Gv(i,[],n))}function Dv(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Mv(e){return t=e,Iv()&&(t instanceof Element||t instanceof Av(t).Element)?e:e.contextElement;var t}function Vv(e){const t=Mv(e);if(!Sv(t))return Cv(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=function(e){const t=Rv(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Sv(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,l=xv(n)!==o||xv(r)!==a;return l&&(n=o,r=a),{width:n,height:r,$:l}}(t);let a=(o?xv(n.width):n.width)/r,l=(o?xv(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}function Fv(e,t,n,r){void 0===t&&(t=!1);const i=e.getBoundingClientRect(),o=Mv(e);let a=Cv(1);t&&(a=Vv(e));const l=Cv(0);let s=(i.left+l.x)/a.x,c=(i.top+l.y)/a.y,u=i.width/a.x,d=i.height/a.y;if(o){const e=r;let t=Av(o),n=Dv(t);for(;n&&r&&e!==t;){const e=Vv(n),r=n.getBoundingClientRect(),i=Rv(n),o=r.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,a=r.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;s*=e.x,c*=e.y,u*=e.x,d*=e.y,s+=o,c+=a,t=Av(n),n=Dv(t)}}return function(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}({width:u,height:d,x:s,y:c})}function jv(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Hv(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:s=!1}=r,c=Mv(e),u=i||o?[...c?Gv(c):[],...Gv(t)]:[];u.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const d=c&&l?function(e,t){let n,r=null;const i=Ev(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:h}=c;if(l||t(),!p||!h)return;const m={rootMargin:-wv(d)+"px "+-wv(i.clientWidth-(u+p))+"px "+-wv(i.clientHeight-(d+h))+"px "+-wv(u)+"px",threshold:yv(0,bv(1,s))||1};let f=!0;function g(t){const r=t[0].intersectionRatio;if(r!==s){if(!f)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||jv(c,e.getBoundingClientRect())||a(),f=!1}try{r=new IntersectionObserver(g,{...m,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(g,m)}r.observe(e)}(!0),o}(c,n):null;let p,h=-1,m=null;a&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),c&&!s&&m.observe(c),m.observe(t));let f=s?Fv(e):null;return s&&function t(){const r=Fv(e);f&&!jv(f,r)&&n();f=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=m)||e.disconnect(),m=null,s&&cancelAnimationFrame(p)}}var Wv="undefined"!=typeof document?p:function(){},Xv=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],zv=function(){};function _v(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Zv(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&o.push("".concat(_v(e,a)));return o.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var Yv=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===cf(e)&&null!==e?[e]:[];var t},Uv=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,hf({},vf(e,Xv))},Jv=function(e,t,n){var r=e.cx,i=e.getStyles,o=e.getClassNames,a=e.className;return{css:i(t,e),className:r(null!=n?n:{},o(t,e),a)}};function $v(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Kv(e){return $v(e)?window.pageYOffset:e.scrollTop}function Qv(e,t){$v(e)?window.scrollTo(0,t):e.scrollTop=t}function qv(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:zv,i=Kv(e),o=t-i,a=0;!function t(){var l,s=o*((l=(l=a+=10)/n-1)*l*l+1)+i;Qv(e,s),a<n?window.requestAnimationFrame(t):r(e)}()}function eb(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?Qv(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&Qv(e,Math.max(t.offsetTop-i,0))}function tb(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var nb=!1,rb={get passive(){return nb=!0}},ib="undefined"!=typeof window?window:{};ib.addEventListener&&ib.removeEventListener&&(ib.addEventListener("p",zv,rb),ib.removeEventListener("p",zv,!1));var ob=nb;function ab(e){return null!=e}function lb(e,t,n){return e?t:n}var sb=["children","innerProps"],cb=["children","innerProps"];function ub(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,a=e.isFixedPosition,l=e.controlHeight,s=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=s.getBoundingClientRect().height,p=n.getBoundingClientRect(),h=p.bottom,m=p.height,f=p.top,g=n.offsetParent.getBoundingClientRect().top,v=a?window.innerHeight:$v(u=s)?window.innerHeight:u.clientHeight,b=Kv(s),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),w=g-x,C=v-f,I=w+b,N=d-b-f,A=h-v+b+y,E=b+f-x,T=160;switch(i){case"auto":case"bottom":if(C>=m)return{placement:"bottom",maxHeight:t};if(N>=m&&!a)return o&&qv(s,A,T),{placement:"bottom",maxHeight:t};if(!a&&N>=r||a&&C>=r)return o&&qv(s,A,T),{placement:"bottom",maxHeight:a?C-y:N-y};if("auto"===i||a){var S=t,k=a?w:I;return k>=r&&(S=Math.min(k-y-l,t)),{placement:"top",maxHeight:S}}if("bottom"===i)return o&&Qv(s,A),{placement:"bottom",maxHeight:t};break;case"top":if(w>=m)return{placement:"top",maxHeight:t};if(I>=m&&!a)return o&&qv(s,E,T),{placement:"top",maxHeight:t};if(!a&&I>=r||a&&w>=r){var P=t;return(!a&&I>=r||a&&w>=r)&&(P=a?w-x:I-x),o&&qv(s,E,T),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var db,pb=function(e){return"auto"===e?"bottom":e},hb=d(null),mb=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,o=e.menuPosition,a=e.menuShouldScrollIntoView,s=e.theme,u=(h(hb)||{}).setPortalPlacement,d=l(null),p=gf(c(r),2),m=p[0],f=p[1],g=gf(c(null),2),v=g[0],b=g[1],y=s.spacing.controlHeight;return Wv(function(){var e=d.current;if(e){var t="fixed"===o,l=ub({maxHeight:r,menuEl:e,minHeight:n,placement:i,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:y});f(l.maxHeight),b(l.placement),null==u||u(l.placement)}},[r,i,o,a,n,u,y]),t({ref:d,placerProps:hf(hf({},e),{},{placement:v||pb(i),maxHeight:m})})},fb=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return gv("div",Kp({},Jv(e,"menu",{menu:!0}),{ref:n},r),t)},gb=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return hf({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},vb=gb,bb=gb,yb=["size"],xb=["innerProps","isRtl","size"];var wb,Cb,Ib="production"===process.env.NODE_ENV?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdH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GVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Nb=function(e){var t=e.size,n=vf(e,yb);return gv("svg",Kp({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Ib},n))},Ab=function(e){return gv(Nb,Kp({size:20},e),gv("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"}))},Eb=function(e){return gv(Nb,Kp({size:20},e),gv("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"}))},Tb=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return hf({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*i,":hover":{color:n?o.neutral80:o.neutral40}})},Sb=Tb,kb=Tb,Pb=function(){var e=vv.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_"}}}(db||(wb=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Cb||(Cb=wb.slice(0)),db=Object.freeze(Object.defineProperties(wb,{raw:{value:Object.freeze(Cb)}})))),Bb=function(e){var t=e.delay,n=e.offset;return gv("span",{css:vv({animation:"".concat(Pb," 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"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tc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iAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},Lb=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,o=e.innerProps,a=e.menuIsOpen;return gv("div",Kp({ref:i},Jv(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),o,{"aria-disabled":n||void 0}),t)},Rb=["data"],Ob=function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,o=e.Heading,a=e.headingProps,l=e.innerProps,s=e.label,c=e.theme,u=e.selectProps;return gv("div",Kp({},Jv(e,"group",{group:!0}),l),gv(o,Kp({},a,{selectProps:u,theme:c,getStyles:r,getClassNames:i,cx:n}),s),gv("div",null,t))},Gb=["innerRef","isDisabled","isHidden","inputClassName"],Db={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Mb={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":hf({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Db)},Vb=function(e){return hf({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Db)},Fb=function(e){var t=e.cx,n=e.value,r=Uv(e),i=r.innerRef,o=r.isDisabled,a=r.isHidden,l=r.inputClassName,s=vf(r,Gb);return gv("div",Kp({},Jv(e,"input",{"input-container":!0}),{"data-value":n||""}),gv("input",Kp({className:t({input:!0},l),ref:i,style:Vb(a),disabled:o},s)))},jb=function(e){var t=e.children,n=e.innerProps;return gv("div",n,t)};var Hb=function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,o=e.isDisabled,a=e.removeProps,l=e.selectProps,s=n.Container,c=n.Label,u=n.Remove;return gv(s,{data:r,innerProps:hf(hf({},Jv(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),i),selectProps:l},gv(c,{data:r,innerProps:hf({},Jv(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},t),gv(u,{data:r,innerProps:hf(hf({},Jv(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:l}))},Wb={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return gv("div",Kp({},Jv(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||gv(Ab,null))},Control:Lb,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return gv("div",Kp({},Jv(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||gv(Eb,null))},DownChevron:Eb,CrossIcon:Ab,Group:Ob,GroupHeading:function(e){var t=Uv(e);t.data;var n=vf(t,Rb);return gv("div",Kp({},Jv(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return gv("div",Kp({},Jv(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return gv("span",Kp({},t,Jv(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:Fb,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=void 0===r?4:r,o=vf(e,xb);return gv("div",Kp({},Jv(hf(hf({},o),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),gv(Bb,{delay:0,offset:n}),gv(Bb,{delay:160,offset:!0}),gv(Bb,{delay:320,offset:!n}))},Menu:fb,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return gv("div",Kp({},Jv(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,i=e.innerProps,o=e.menuPlacement,a=e.menuPosition,u=l(null),d=l(null),p=gf(c(pb(o)),2),h=p[0],m=p[1],g=s(function(){return{setPortalPlacement:m}},[]),v=gf(c(null),2),b=v[0],y=v[1],x=f(function(){if(r){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}}(r),t="fixed"===a?0:window.pageYOffset,n=e[h]+t;n===(null==b?void 0:b.offset)&&e.left===(null==b?void 0:b.rect.left)&&e.width===(null==b?void 0:b.rect.width)||y({offset:n,rect:e})}},[r,a,h,null==b?void 0:b.offset,null==b?void 0:b.rect.left,null==b?void 0:b.rect.width]);Wv(function(){x()},[x]);var w=f(function(){"function"==typeof d.current&&(d.current(),d.current=null),r&&u.current&&(d.current=Hv(r,u.current,x,{elementResize:"ResizeObserver"in window}))},[r,x]);Wv(function(){w()},[w]);var C=f(function(e){u.current=e,w()},[w]);if(!t&&"fixed"!==a||!b)return null;var I=gv("div",Kp({ref:C},Jv(hf(hf({},e),{},{offset:b.offset,position:a,rect:b.rect}),"menuPortal",{"menu-portal":!0}),i),n);return gv(hb.Provider,{value:g},t?S(I,t):I)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,i=vf(e,cb);return gv("div",Kp({},Jv(hf(hf({},i),{},{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,i=vf(e,sb);return gv("div",Kp({},Jv(hf(hf({},i),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:Hb,MultiValueContainer:jb,MultiValueLabel:jb,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return gv("div",Kp({role:"button"},n),t||gv(Ab,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.innerRef,a=e.innerProps;return gv("div",Kp({},Jv(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:o,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return gv("div",Kp({},Jv(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return gv("div",Kp({},Jv(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return gv("div",Kp({},Jv(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,i=e.hasValue;return gv("div",Kp({},Jv(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},Xb=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function zb(e,t){return e===t||!(!Xb(e)||!Xb(t))}function _b(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!zb(e[n],t[n]))return!1;return!0}for(var Zb="production"===process.env.NODE_ENV?{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"}:{name:"1f43avz-a11yText-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;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Yb=function(e){return gv("span",Kp({css:Zb},e))},Ub={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,o=e.isInitialFocus;switch(i){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 o?"".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,i=e.labels,o=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(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return"option ".concat(r,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,o=void 0===i?"":i,a=e.selectValue,l=e.isDisabled,s=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(o," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=l?" disabled":"",p="".concat(s?" selected":"").concat(d);return"".concat(o).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Jb=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,o=e.isFocused,a=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,h=l.inputValue,m=l.isMulti,f=l.isOptionDisabled,g=l.isSearchable,v=l.menuIsOpen,b=l.options,y=l.screenReaderStatus,w=l.tabSelectsValue,C=l.isLoading,I=l["aria-label"],N=l["aria-live"],A=s(function(){return hf(hf({},Ub),d||{})},[d]),E=s(function(){var e,n="";if(t&&A.onChange){var r=t.option,i=t.options,o=t.removedValue,l=t.removedValues,s=t.value,c=o||r||(e=s,Array.isArray(e)?null:e),u=c?p(c):"",d=i||l||void 0,h=d?d.map(p):[],m=hf({isDisabled:c&&f(c,a),label:u,labels:h},t);n=A.onChange(m)}return n},[t,A,f,a,p]),T=s(function(){var e="",t=n||r,o=!!(n&&a&&a.includes(n));if(t&&A.onFocus){var l={focused:t,label:p(t),isDisabled:f(t,a),isSelected:o,options:i,context:t===n?"menu":"value",selectValue:a,isAppleDevice:u};e=A.onFocus(l)}return e},[n,r,p,f,A,i,a,u]),S=s(function(){var e="";if(v&&b.length&&!C&&A.onFilter){var t=y({count:i.length});e=A.onFilter({inputValue:h,resultsMessage:t})}return e},[i,h,v,A,b,y,C]),k="initial-input-focus"===(null==t?void 0:t.action),P=s(function(){var e="";if(A.guidance){var t=r?"value":v?"menu":"input";e=A.guidance({"aria-label":I,context:t,isDisabled:n&&f(n,a),isMulti:m,isSearchable:g,tabSelectsValue:w,isInitialFocus:k})}return e},[I,n,r,m,f,g,v,A,a,w,k]),B=gv(x,null,gv("span",{id:"aria-selection"},E),gv("span",{id:"aria-focused"},T),gv("span",{id:"aria-results"},S),gv("span",{id:"aria-guidance"},P));return gv(x,null,gv(Yb,{id:c},k&&B),gv(Yb,{"aria-live":N,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!k&&B))},$b=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Kb=new RegExp("["+$b.map(function(e){return e.letters}).join("")+"]","g"),Qb={},qb=0;qb<$b.length;qb++)for(var ey=$b[qb],ty=0;ty<ey.letters.length;ty++)Qb[ey.letters[ty]]=ey.base;var ny=function(e){return e.replace(Kb,function(e){return Qb[e]})},ry=function(e,t){void 0===t&&(t=_b);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return r.clear=function(){n=null},r}(ny),iy=function(e){return e.replace(/^\s+|\s+$/g,"")},oy=function(e){return"".concat(e.label," ").concat(e.value)},ay=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=hf({ignoreCase:!0,ignoreAccents:!0,stringify:oy,trim:!0,matchFrom:"any"},e),i=r.ignoreCase,o=r.ignoreAccents,a=r.stringify,l=r.trim,s=r.matchFrom,c=l?iy(n):n,u=l?iy(a(t)):a(t);return i&&(c=c.toLowerCase(),u=u.toLowerCase()),o&&(c=ry(c),u=ny(u)),"start"===s?u.substr(0,c.length)===c:u.indexOf(c)>-1}},ly=["innerRef"];function sy(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 i=Object.entries(e).filter(function(e){var t=gf(e,1)[0];return!n.includes(t)});return i.reduce(function(e,t){var n=gf(t,2),r=n[0],i=n[1];return e[r]=i,e},{})}(vf(e,ly),"onExited","in","enter","exit","appear");return gv("input",Kp({ref:t},n,{css:vv({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)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHBy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ICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var cy=["boxSizing","height","overflow","paddingRight","position"],uy={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function dy(e){e.cancelable&&e.preventDefault()}function py(e){e.stopPropagation()}function hy(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function my(){return"ontouchstart"in window||navigator.maxTouchPoints}var fy=!("undefined"==typeof window||!window.document||!window.document.createElement),gy=0,vy={capture:!1,passive:!1};var by=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},yy="production"===process.env.NODE_ENV?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAn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9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};function xy(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,o=e.onTopLeave,s=l(!1),c=l(!1),u=l(0),d=l(null),p=f(function(e,t){if(null!==d.current){var a=d.current,l=a.scrollTop,u=a.scrollHeight,p=a.clientHeight,h=d.current,m=t>0,f=u-p-l,g=!1;f>t&&s.current&&(r&&r(e),s.current=!1),m&&c.current&&(o&&o(e),c.current=!1),m&&t>f?(n&&!s.current&&n(e),h.scrollTop=u,g=!0,s.current=!0):!m&&-t>l&&(i&&!c.current&&i(e),h.scrollTop=0,g=!0,c.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,r,i,o]),h=f(function(e){p(e,e.deltaY)},[p]),m=f(function(e){u.current=e.changedTouches[0].clientY},[]),g=f(function(e){var t=u.current-e.changedTouches[0].clientY;p(e,t)},[p]),v=f(function(e){if(e){var t=!!ob&&{passive:!1};e.addEventListener("wheel",h,t),e.addEventListener("touchstart",m,t),e.addEventListener("touchmove",g,t)}},[g,m,h]),b=f(function(e){e&&(e.removeEventListener("wheel",h,!1),e.removeEventListener("touchstart",m,!1),e.removeEventListener("touchmove",g,!1))},[g,m,h]);return a(function(){if(t){var e=d.current;return v(e),function(){b(e)}}},[t,v,b]),function(e){d.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),o=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,i=l({}),o=l(null),s=f(function(e){if(fy){var t=document.body,n=t&&t.style;if(r&&cy.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&gy<1){var o=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,l=window.innerWidth-a+o||0;Object.keys(uy).forEach(function(e){var t=uy[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(l,"px"))}t&&my()&&(t.addEventListener("touchmove",dy,vy),e&&(e.addEventListener("touchstart",hy,vy),e.addEventListener("touchmove",py,vy))),gy+=1}},[r]),c=f(function(e){if(fy){var t=document.body,n=t&&t.style;gy=Math.max(gy-1,0),r&&gy<1&&cy.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&my()&&(t.removeEventListener("touchmove",dy,vy),e&&(e.removeEventListener("touchstart",hy,vy),e.removeEventListener("touchmove",py,vy)))}},[r]);return a(function(){if(t){var e=o.current;return s(e),function(){c(e)}}},[t,s,c]),function(e){o.current=e}}({isEnabled:n});return gv(x,null,n&&gv("div",{onClick:by,css:yy}),t(function(e){i(e),o(e)}))}var wy="production"===process.env.NODE_ENV?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Cy=function(e){var t=e.name,n=e.onFocus;return gv("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:wy,value:"",onChange:function(){}})};function Iy(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 Ny(){return Iy(/^Mac/i)}function Ay(){return Iy(/^iPhone/i)||Iy(/^iPad/i)||Ny()&&navigator.maxTouchPoints>1}var Ey={clearIndicator:kb,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,i=e.theme,o=i.colors,a=i.borderRadius;return hf({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:r?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},dropdownIndicator:Sb,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,i=n.spacing;return hf({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.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,i=r.spacing.baseUnit,o=r.colors;return hf({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?o.neutral10:o.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,o=i.spacing,a=i.colors;return hf(hf({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},Mb),t?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,i=e.theme,o=i.colors,a=i.spacing.baseUnit;return hf({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*a})},loadingMessage:bb,menu:function(e,t){var n,r=e.placement,i=e.theme,o=i.borderRadius,a=i.spacing,l=i.colors;return hf((df(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),df(n,"position","absolute"),df(n,"width","100%"),df(n,"zIndex",1),n),t?{}:{backgroundColor:l.neutral0,borderRadius:o,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 hf({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,i=n.borderRadius,o=n.colors;return hf({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:o.neutral10,borderRadius:i/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,i=n.colors,o=e.cropWithEllipsis;return hf({overflow:"hidden",textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors,a=e.isFocused;return hf({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:a?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},noOptionsMessage:vb,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.theme,a=o.spacing,l=o.colors;return hf({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?l.primary:r?l.primary25:"transparent",color:n?l.neutral20:i?l.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?l.primary:l.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return hf({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing,o=r.colors;return hf({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?o.neutral40:o.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,i=e.hasValue,o=e.selectProps.controlShouldRenderValue;return hf({alignItems:"center",display:r&&i&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Ty={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}},Sy={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:tb(),captureMenuScroll:!tb(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:ay(),formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},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 ky(e,t,n,r){return{type:"option",data:t,isDisabled:My(e,t,n),isSelected:Vy(e,t,n),label:Gy(e,t),value:Dy(e,t),index:r}}function Py(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(n,r){return ky(e,n,t,r)}).filter(function(t){return Ry(e,t)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=ky(e,n,t,r);return Ry(e,o)?o:void 0}).filter(ab)}function By(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Nf(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function Ly(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Nf(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 Ry(e,t){var n=e.inputValue,r=void 0===n?"":n,i=t.data,o=t.isSelected,a=t.label,l=t.value;return(!jy(e)||!o)&&Fy(e,{label:a,value:l,data:i},r)}var Oy=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Gy=function(e,t){return e.getOptionLabel(t)},Dy=function(e,t){return e.getOptionValue(t)};function My(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Vy(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Dy(e,t);return n.some(function(t){return Dy(e,t)===r})}function Fy(e,t,n){return!e.filterOption||e.filterOption(t,n)}var jy=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Hy=1,Wy=function(){!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&&xf(e,t)}(t,C);var e=function(e){var t=Cf();return function(){var n,r=wf(e);if(t){var i=wf(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return If(this,n)}}(t);function t(n){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=e.call(this,n)).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:"",isAppleDevice:!1},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.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,i=n.onChange,o=n.name;t.name=o,r.ariaOnChange(e,t),i(e,t)},r.setValue=function(e,t,n){var i=r.props,o=i.closeMenuOnSelect,a=i.isMulti,l=i.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:l}),o&&(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,i=t.isMulti,o=t.name,a=r.state.selectValue,l=i&&r.isOptionSelected(e,a),s=r.isOptionDisabled(e,a);if(l){var c=r.getOptionValue(e);r.setValue(a.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(s)return void r.ariaOnChange(e,{action:"select-option",option:e,name:o});i?r.setValue([].concat(Nf(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,i=r.getOptionValue(e),o=n.filter(function(e){return r.getOptionValue(e)!==i}),a=lb(t,o,o[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(lb(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],i=t.slice(0,t.length-1),o=lb(e,i,i[0]||null);n&&r.onChange(o,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return Oy(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return Ly(Py(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 Zv.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return Gy(r.props,e)},r.getOptionValue=function(e){return Dy(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,i=Ey[e](t,n);i.boxSizing="border-box";var o=r.props.styles[e];return o?o(i,t):i},r.getClassNames=function(e,t){var n,i;return null===(n=(i=r.props.classNames)[e])||void 0===n?void 0:n.call(i,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,hf(hf({},Wb),e.components);var e},r.buildCategorizedOptions=function(){return Py(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return By(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:hf({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,i=t.menuIsOpen;r.focusInput(),i?(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&&$v(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 i=Math.abs(n.clientX-r.initialTouchX),o=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=i>5||o>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 jy(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,i=t.backspaceRemovesValue,o=t.escapeClearsValue,a=t.inputValue,l=t.isClearable,s=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,h=r.state,m=h.focusedOption,f=h.focusedValue,g=h.selectValue;if(!(s||"function"==typeof u&&(u(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(f)r.removeValue(f);else{if(!i)return;n?r.popValue():l&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!m||p&&r.isOptionSelected(m,g))return;r.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(c){if(!m)return;if(r.isComposing)return;r.selectOption(m);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):l&&o&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!m)return;r.selectOption(m);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++Hy),r.state.selectValue=Yv(n.value),n.menuIsOpen&&r.state.selectValue.length){var i=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),a=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=i,r.state.focusedOption=o[a],r.state.focusedOptionId=Oy(i,o[a])}return r}return function(e,t,n){t&&yf(e.prototype,t),n&&yf(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(t,[{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&&eb(this.menuListRef,this.focusedOptionRef),(Ny()||Ay())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(eb(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,i=n.isFocused,o=this.buildFocusableOptions(),a="first"===e?0:o.length-1;if(!this.props.isMulti){var l=o.indexOf(r[0]);l>-1&&(a=l)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[a],focusedOptionId:this.getFocusedOptionId(o[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 i=n.indexOf(r);r||(i=-1);var o=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===i?0:-1===i?o:i-1;break;case"next":i>-1&&i<o&&(a=i+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 i=0,o=r.indexOf(n);n||(o=-1),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Ty):hf(hf({},Ty),this.props.theme):Ty}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,o=this.selectOption,a=this.setValue,l=this.props,s=l.isMulti,c=l.isRtl,u=l.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:s,isRtl:c,options:u,selectOption:o,selectProps:l,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 My(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Vy(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Fy(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,i=e.inputId,o=e.inputValue,a=e.tabIndex,l=e.form,s=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,h=d.ariaSelection,m=this.commonProps,f=i||this.getElementId("input"),g=hf(hf(hf({"aria-autocomplete":"list","aria-expanded":s,"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.state.isAppleDevice?void 0:this.state.focusedOptionId||""},s&&{"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(u,Kp({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:f,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:o},g)):r.createElement(sy,Kp({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:zv,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:l,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,i=t.MultiValueContainer,o=t.MultiValueLabel,a=t.MultiValueRemove,l=t.SingleValue,s=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,h=u.isMulti,m=u.inputValue,f=u.placeholder,g=this.state,v=g.selectValue,b=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return m?null:r.createElement(s,Kp({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),f);if(h)return v.map(function(t,l){var s=t===b,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return r.createElement(n,Kp({},c,{components:{Container:i,Label:o,Remove:a},isFocused:s,isDisabled:p,key:u,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=v[0];return r.createElement(l,Kp({},c,{data:x,isDisabled:p}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||i||!this.hasValue()||o)return null;var l={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,Kp({},t,{innerProps:l,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!e||!o)return null;return r.createElement(e,Kp({},t,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var i=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return r.createElement(n,Kp({},i,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,i=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,Kp({},t,{innerProps:o,isDisabled:n,isFocused:i}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,i=t.GroupHeading,o=t.Menu,a=t.MenuList,l=t.MenuPortal,s=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,h=this.props,m=h.captureMenuScroll,f=h.inputValue,g=h.isLoading,v=h.loadingMessage,b=h.minMenuHeight,y=h.maxMenuHeight,x=h.menuIsOpen,w=h.menuPlacement,C=h.menuPosition,I=h.menuPortalTarget,N=h.menuShouldBlockScroll,A=h.menuShouldScrollIntoView,E=h.noOptionsMessage,T=h.onMenuScrollToTop,S=h.onMenuScrollToBottom;if(!x)return null;var k,P=function(t,n){var i=t.type,o=t.data,a=t.isDisabled,l=t.isSelected,s=t.label,c=t.value,h=p===o,m=a?void 0:function(){return e.onOptionHover(o)},f=a?void 0:function(){return e.selectOption(o)},g="".concat(e.getElementId("option"),"-").concat(n),v={id:g,onClick:f,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:l};return r.createElement(u,Kp({},d,{innerProps:v,data:o,isDisabled:a,isSelected:l,key:g,label:s,type:i,value:c,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())k=this.getCategorizedOptions().map(function(t){if("group"===t.type){var o=t.data,a=t.options,l=t.index,s="".concat(e.getElementId("group"),"-").concat(l),c="".concat(s,"-heading");return r.createElement(n,Kp({},d,{key:s,data:o,options:a,Heading:i,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return P(e,"".concat(l,"-").concat(e.index))}))}if("option"===t.type)return P(t,"".concat(t.index))});else if(g){var B=v({inputValue:f});if(null===B)return null;k=r.createElement(s,d,B)}else{var L=E({inputValue:f});if(null===L)return null;k=r.createElement(c,d,L)}var R={minMenuHeight:b,maxMenuHeight:y,menuPlacement:w,menuPosition:C,menuShouldScrollIntoView:A},O=r.createElement(mb,Kp({},d,R),function(t){var n=t.ref,i=t.placerProps,l=i.placement,s=i.maxHeight;return r.createElement(o,Kp({},d,R,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:l}),r.createElement(xy,{captureEnabled:m,onTopArrive:T,onBottomArrive:S,lockEnabled:N},function(t){return r.createElement(a,Kp({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:s,focusedOption:p}),k)}))});return I||"fixed"===C?r.createElement(l,Kp({},d,{appendTo:I,controlElement:this.controlRef,menuPlacement:w,menuPosition:C}),O):O}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,i=t.isDisabled,o=t.isMulti,a=t.name,l=t.required,s=this.state.selectValue;if(l&&!this.hasValue()&&!i)return r.createElement(Cy,{name:a,onFocus:this.onValueInputFocus});if(a&&!i){if(o){if(n){var c=s.map(function(t){return e.getOptionValue(t)}).join(n);return r.createElement("input",{name:a,type:"hidden",value:c})}var u=s.length>0?s.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,u)}var d=s[0]?this.getOptionValue(s[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,i=t.focusedOption,o=t.focusedValue,a=t.isFocused,l=t.selectValue,s=this.getFocusableOptions();return r.createElement(Jb,Kp({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:i,focusedValue:o,isFocused:a,selectValue:l,focusableOptions:s,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,i=e.SelectContainer,o=e.ValueContainer,a=this.props,l=a.className,s=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return r.createElement(i,Kp({},p,{className:l,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),r.createElement(t,Kp({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),r.createElement(o,Kp({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),r.createElement(n,Kp({},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,i=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,a=t.isFocused,l=t.prevWasFocused,s=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,h=e.isMulti,m=Yv(u),f={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return By(Py(e,t))}(e,m):[],v=d?Ly(Py(e,m),"".concat(s,"-option")):[],b=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,m):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);f={selectValue:m,focusedOption:y,focusedOptionId:Oy(v,y),focusableOptionsWithIds:v,focusedValue:b,clearFocusValueOnUpdate:!1}}var x=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},w=o,C=a&&l;return a&&!C&&(w={value:lb(h,m,m[0]||null),options:m,action:"initial-input-focus"},C=!l),"initial-input-focus"===(null==o?void 0:o.action)&&(w=null),hf(hf(hf({},f),x),{},{prevProps:e,ariaSelection:w,prevWasFocused:C})}}]),t}();Wy.defaultProps=Sy;var Xy=o(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,i=void 0!==r&&r,o=e.defaultValue,a=void 0===o?null:o,l=e.inputValue,s=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,h=e.onMenuOpen,m=e.value,g=vf(e,bf),v=gf(c(void 0!==l?l:n),2),b=v[0],y=v[1],x=gf(c(void 0!==s?s:i),2),w=x[0],C=x[1],I=gf(c(void 0!==m?m:a),2),N=I[0],A=I[1],E=f(function(e,t){"function"==typeof u&&u(e,t),A(e)},[u]),T=f(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),y(void 0!==n?n:e)},[d]),S=f(function(){"function"==typeof h&&h(),C(!0)},[h]),k=f(function(){"function"==typeof p&&p(),C(!1)},[p]),P=void 0!==l?l:b,B=void 0!==s?s:w,L=void 0!==m?m:N;return hf(hf({},g),{},{inputValue:P,menuIsOpen:B,onChange:E,onInputChange:T,onMenuClose:k,onMenuOpen:S,value:L})}(e);return r.createElement(Wy,Kp({ref:t},n))}),zy=Xy;const _y={sm:"h-12 px-3 rounded-lg",md:"h-14 px-3 rounded-xl",lg:"h-16 px-3 rounded-2xl"},Zy=i.memo(({options:n,className:r,controlClassName:i,value:o,isCustomStyle:a=!1,placeholder:l,required:c,onChange:u,filterOptions:d,hasError:p,error:h,menuClassName:m,helperText:f,label:g,labelClassName:v,singleValueClassName:b,size:y="md",variant:x="default","data-cy":w,"data-testid":C,...I})=>{const N=s(()=>ay(d),[d]),A=s(()=>({control:({isFocused:e})=>{var t;return _e(null!==(t=_y[y])&&void 0!==t?t:_y.md,"border border-input-border bg-white hover:not-focus:border-input-border-hover",{"border-input-border-selected outline outline-2 outline-input-border-selected":e&&!p,"border-input-border-critical shadow-none":p},i)},indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>a?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>_e(a?"text-text text-body1 whitespace-normal":"text-text-secondary",b),menu:()=>_e("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",m),option:({isFocused:e,isSelected:t,label:r})=>{var i;return _e("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",a?"text-body1 text-text":"",a&&(null===(i=n[n.length-1])||void 0===i?void 0:i.label)!==r?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[a,i,m,n,p,y,b]);return"unstyled"===x?e(zy,{options:n,value:o,placeholder:c?`${l}*`:l,onChange:u,filterOption:N,className:_e("rounded-xl",r),classNames:A,"data-cy":w,"data-testid":C,...I}):t("div",{className:"w-full",children:[g&&e("label",{className:_e("mb-1 block text-sm font-medium text-text-secondary",v),children:g}),e(zy,{options:n,value:o,placeholder:c?`${l}*`:l,onChange:u,filterOption:N,className:_e("rounded-xl",r),classNames:A,"data-cy":w,"data-testid":C,...I}),h&&e(xr,{className:"footnote mt-1 text-text-critical",children:h}),!h&&f&&e(xr,{className:"footnote mt-1 text-text-info",children:f})]})});function Yy({paginatedArticles:n,totalArticles:r,currentPage:i,totalPages:o,selectedCategory:s,categoryOptions:c}){const u=k(),d=P(),p=B(),h=l(!0);return a(()=>{h.current?h.current=!1:window.scrollTo({top:0,behavior:"smooth"})},[i]),t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e(xr,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:"recent articles"}),t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t(xr,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(xr,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(xr,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",r," articles"]})]}),e(Zy,{options:c,value:s,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;!function(e,t){const n=new URLSearchParams(p.toString());t?n.set(e,t):n.delete(e),n.delete("page"),u.push(`${d}?${n.toString()}`,{scroll:!1})}("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var r,i,o,a,l;const s=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(l=null==t?void 0:t.cover)||void 0===l?void 0:l.height)||338}:void 0;return e(Qd,{href:s,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,fieldProps:t.fieldProps,image:c,index:n},t.slug)})}):e(xr,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),o>1&&e(sf,{currentPage:i,totalPages:o,getPageHref:function(e){const t=new URLSearchParams(p.toString());1===e?t.delete("page"):t.set("page",e.toString());const n=t.toString();return n?`${d}?${n}`:d},onPageChange:function(e){},ariaLabel:"Blog article pagination"})]})}function Uy({title:n="recent articles",description:r,paginatedArticles:i,totalArticles:o,currentPage:a,totalPages:l,selectedCategory:s,categoryOptions:c,onCategoryChange:u,onPageChange:d,getPageHref:p,asList:h=!1,imageComponent:m,fieldProps:f}){return t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[r&&e(xr,{as:"p",className:"body1 mb-4 w-full text-center md:mb-6",...null==f?void 0:f.description,children:r}),e(xr,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",...null==f?void 0:f.title,children:n}),c.length>0&&t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t(xr,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(xr,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(xr,{as:"span",className:"md:hidden",children:["showing"," "]}),i.length," of ",o," articles"]})]}),e(Zy,{options:c,value:s,onChange:function(e){if(!e||Array.isArray(e))return;null==u||u(e)},className:"w-full md:w-[280px]"})]})]}),i.length>0?e("div",{className:h?"mx-auto flex max-w-[1200px] flex-col gap-1 px-5 pb-16":"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:i.map((t,n)=>{var r,i,o,a,l;const s=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(l=null==t?void 0:t.cover)||void 0===l?void 0:l.height)||338}:void 0;return e(Qd,{href:s,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,fieldProps:t.fieldProps,image:c,imageComponent:m,asGrid:!h,index:n},t.slug)})}):e(xr,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),l>1&&e(sf,{currentPage:a,totalPages:l,getPageHref:p,onPageChange:function(e){null==d||d(e)},ariaLabel:"Blog article pagination"})]})}Zy.displayName="Select";const Jy=n=>{const{links:r=[],textColor:i="dark",mobileTextColor:o,desktopTextColor:a,maxWidth:l=!0,float:s="desktop"}=n,c=`${"dark"===(null!=o?o:"desktop"===s?"dark":i)?"text-text":"text-white"} ${"dark"===(null!=a?a:"mobile"===s?"dark":i)?"xl:text-text":"xl:text-white"}`,u="always"===s?"absolute":"mobile"===s?"absolute xl:relative":"desktop"===s?"relative xl:absolute":"relative";return r.length?e("nav",{"aria-label":"Breadcrumb",className:(l?`${"none"===s&&"mx-5"} max-w-120 xl:mx-auto`:"mx-auto")+" relative",children:e("ol",{className:`${"always"===s&&"px-7 md:px-14"} right-0 z-10 mx-0 flex w-full flex-nowrap items-center gap-2 pb-0 pt-8 ${u} xl:mx-auto xl:flex-wrap xl:px-3`,children:r.map((n,i)=>{const{image:o,...a}=n,l=(null==o?void 0:o.url)?o.url.startsWith("//")?`https:${o.url}`:o.url:"",s=i===r.length-1;return t("li",s?{className:"flex min-w-0 items-center",children:[l&&e("img",{src:l,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e(xr,{as:"span",className:`body3 mr-2 break-words ${c}`,children:n.buttonLabel})]}:{className:"flex flex-none items-center",children:[l&&e("img",{src:l,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e(Nr,{href:a.href,className:`label3 mr-2 whitespace-nowrap ${c} hover:underline`,children:a.buttonLabel}),e(yr,{name:"chevron_right",className:`${c} `})]},i)})})}):null},$y=n=>{const{anchorId:r="SearchBlock",title:i,subTitle:o,enableHeading:a,searchDescription:l,searchInputPlaceholder:s,basicCaption:u,caption:d,backgroundColor:p,color:h,onSubmit:m,fieldProps:f}=n,[g,v]=c("");return e("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[p]} ${"dark"==h?"text-text":"text-white"}`,id:r,"data-testid":"search-block",children:e("div",{className:"flex justify-center",children:t("div",{className:"w-[1200px]",children:[t("div",{className:"mb-8 text-center",children:[e(xr,{as:a?"h1":"h2",className:_e("heading2 md:heading1"),...null==f?void 0:f.title,children:i}),o&&e(xr,{as:"div",className:_e("subheading2 mt-2 md:subheading1"),...null==f?void 0:f.subTitle,children:o})]}),l?e(xr,{className:"heading6 text-center",...null==f?void 0:f.searchDescription,children:l}):null,e("span",{className:"w-full",children:t("form",{onSubmit:e=>{e.preventDefault(),null==m||m({searchText:g})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e(Li,{type:"submit",className:"ml-2 inline-flex",children:e(yr,{name:"search",className:"text-text"})}),e("div",{className:"flex-grow",children:e(Pp,{value:g,onChange:e=>v(e.target.value),placeholder:s,...null==f?void 0:f.searchInputPlaceholder,containerClassName:"px-4 pl-0 rounded-md flex-grow border-none",className:"body3 rounded-md text-text"})})]})}),d&&(null==f?void 0:f.caption)?e("div",{...f.caption,children:d}):d||null,u&&(null==f?void 0:f.basicCaption)?e("div",{...f.basicCaption,children:u}):u]})})})},Ky={yellow:{bg:"bg-fill-brand-accent",text:"text"},white:{bg:"white",text:"text"},navy:{bg:"bg-fill-inverse",text:"text-inverse"},green:{bg:"bg-fill-success",text:"text-inverse"}},Qy=n=>{const{title:r,variant:i="yellow",cta:o,navHeight:a,isVisible:l,renderCheckPlans:s,fieldProps:c}=n,u=Ky[null==i?void 0:i.toLowerCase()]||Ky.yellow;if(!l)return null;const d=(null==o?void 0:o.buttonLabel)||"Check plans",p=null==s?void 0:s({ctaText:d,buttonVariant:null==o?void 0:o.buttonVariant,showButtonAs:"solid",cta:o});return t("div",{style:{top:`${a}px`},className:_e(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 bg-${u.bg} text-${u.text}`,"flex flex-col items-center justify-center gap-3 p-[10px] lg:flex-row lg:gap-8 lg:px-6 lg:py-[10px]"),children:[e(xr,{className:"label3 w-full text-center md:label1 lg:w-auto lg:text-left",...null==c?void 0:c.title,children:r}),p?e("div",{...null==c?void 0:c.cta,children:p}):null]})},qy="America/New_York";function ex(e){if(!e)return;const t=Date.parse(e);if(Number.isFinite(t))return t;console.error("Invalid countdown datetime",{value:e})}function tx(e,t,n){const r=Date.UTC(e,t-1,n);return r-function(e){const t=new Intl.DateTimeFormat("en-US",{timeZone:qy,hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).formatToParts(new Date(e)),n={};for(const e of t)n[e.type]=e.value;const r="24"===n.hour?"00":n.hour;return Date.UTC(Number(n.year),Number(n.month)-1,Number(n.day),Number(r),Number(n.minute),Number(n.second))-e}(r)}function nx(e){if(!e)return;const t=/^(\d{4})-(\d{2})-(\d{2})$/.exec(e.trim());if(!t){const t=Date.parse(e);return Number.isFinite(t)?t+864e5:void 0}const n=new Date(Date.UTC(Number(t[1]),Number(t[2])-1,Number(t[3])));return n.setUTCDate(n.getUTCDate()+1),tx(n.getUTCFullYear(),n.getUTCMonth()+1,n.getUTCDate())}function rx(e){return new Intl.DateTimeFormat("en-US",{timeZone:qy,weekday:"long"}).format(new Date(e)).toUpperCase()}function ix(e,t){const n=function(e){if(!e)return;const t=/^(\d{4})-(\d{2})-(\d{2})$/.exec(e.trim());if(!t){const t=Date.parse(e);return Number.isFinite(t)?t:void 0}return tx(Number(t[1]),Number(t[2]),Number(t[3]))}(e.scheduledStart),r=nx(e.scheduleEnd);return(void 0===n||t>=n)&&(void 0===r||t<r)&&function(e,t){if(!e||0===e.length)return!0;const n=e.map(e=>e.trim().toUpperCase());if(n.includes("ALL"))return!0;const r=rx(t);return n.includes(r)||n.includes(r.slice(0,3))}(e.daysToShow,t)}function ox(e){const t=Math.max(0,Math.floor(e)),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60;return`${String(n).padStart(2,"0")}H : ${String(r).padStart(2,"0")}M : ${String(i).padStart(2,"0")}`}const ax=({ctaSuffixText:n,backgroundColor:r,iconName:i,boxShadow:o,ctaButtonLabel:u,ctaButtonLink:d,ctaButtonTarget:p,anchorId:h="anchored-banner",enableCountdownTimer:m,countdownStartDateTime:g,countdownEndDateTime:v,scheduledMessages:b,initialNowMs:y,onResolved:x,fieldProps:w})=>{var C;const[I,A]=c(()=>null!=y?y:Date.now()),E=l(null),[T,S]=c(!1);a(()=>{S(!0),A(Date.now())},[]);const k=s(()=>null==b?void 0:b.find(e=>ix(e,I)),[b,I]),P=void 0!==k,B=rx(I);a(()=>{T&&(null==x||x({hasActiveMessage:P,activeMessage:k,applicableWeekday:B}))},[T,P,k,B,b,x]);const L=s(()=>{if(!(null==b?void 0:b.length))return;const e=b.map(e=>nx(e.scheduleEnd)).filter(e=>void 0!==e);return e.length?Math.max(...e):void 0},[b]),R=P?null==k?void 0:k.countdownStartDateTime:g,O=P?null==k?void 0:k.countdownEndDateTime:v,G=P?null==k?void 0:k.enableCountdownTimer:m,D=s(()=>ex(O),[O]),M=s(()=>ex(R),[R]),V=s(()=>!!G&&(void 0!==D&&((!R||void 0!==M)&&(!(void 0!==M&&M>=D)||(console.error("Invalid countdown range: start must be before end",{countdownStartDateTime:R,countdownEndDateTime:O}),!1)))),[G,D,M,R,O]),F=f(()=>{null!==E.current&&(window.clearInterval(E.current),E.current=null)},[]);a(()=>{if(V&&void 0!==D&&I<D||void 0!==L&&I<L)return E.current=window.setInterval(()=>{A(Date.now())},1e3),F;F()},[V,D,L,I,F]);const j=s(()=>{if(!V||void 0===D)return{shouldShow:!1,text:""};if(void 0!==M&&I<M||I>=D)return{shouldShow:!1,text:""};const e=(D-I)/1e3;return{shouldShow:e>0,text:ox(e)}},[V,D,M,I]),H=P?null==k?void 0:k.iconName:i,W=P?null==k?void 0:k.ctaButtonLabel:u,X=P?null==k?void 0:k.ctaSuffixText:n,z=P?null==k?void 0:k.ctaButtonLink:d,_=P?null==k?void 0:k.ctaButtonTarget:p,Z=P?null==k?void 0:k.fieldProps:w,Y=P?null==k?void 0:k.backgroundColor:r,U=Y?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-info",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-white"}[Y]:void 0,J=!U||"yellow"===Y||"white"===Y?"text-text-primary":"text-white";return e("section",{id:h,children:e("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${U||"bg-bg-fill-brand-accent"} ${o||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,...null==Z?void 0:Z.entry,children:e(N,{href:z||"#",target:_||"_self",className:"max-w-screen-xl w-full transition-all",children:e("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:t("div",{className:`${J} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[H&&e("span",{...null==Z?void 0:Z.iconName,children:e(yr,{name:H,size:24,fill:1,className:`${J} align-text-bottom`})}),j.shouldShow&&e("span",{className:"inline-block whitespace-nowrap rounded-lg bg-white px-1 tabular-nums text-text",suppressHydrationWarning:!0,...null==Z?void 0:Z.countdownEndDateTime,children:j.text}),j.shouldShow?" ":null,W&&e("span",{...null!==(C=null==Z?void 0:Z.buttonLabel)&&void 0!==C?C:null==Z?void 0:Z.ctaButtonLabel,children:W})," ",X&&e("span",{className:"ml-0.5",...null==Z?void 0:Z.ctaSuffixText,children:X})]})})})})})};function lx({content:n}){let r=3;const[i,o]=c(!1),[s,u]=c(!1),d=l(null);a(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=It.get(e);return t?wt(t):null}("cookieBannerClosed");o("true"!==e)},[]),a(()=>{(()=>{const e=document.getElementById("anchored-banner");u(!!e)})()},[]),a(()=>{var e,t,n,r;return i?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(r=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===r||r.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[i]),a(()=>{if(!i)return;const e=()=>{if(d.current){const e=d.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let r;const o=()=>{clearTimeout(r),r=setTimeout(e,150)};return window.addEventListener("resize",o),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(r),window.removeEventListener("resize",o),document.documentElement.style.removeProperty("--cookie-banner-height")}},[i,s]);s&&(r=14);return i?t("div",{id:"cookie-banner",ref:d,className:"fixed z-[1000] max-w-[350px] rounded-xl bg-white py-5 pl-6 pr-12 text-black shadow-lg ring-1 ring-gray-900/10 md:max-w-[656px]",style:{bottom:"0px",right:"20px",marginBottom:`${4*r}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e(Jd,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);o(!1),((e,t,n)=>{if("undefined"==typeof window)return;const r=JSON.stringify(t),i=xt(r);It.set(e,i,n)})("cookieBannerClosed",!0,{expires:e})},children:e(yr,{name:"close"})}),n.richText?e("div",{className:"mx-auto my-4 [&>a]:footnote",children:n.richText}):null]}):null}const sx=({fill:n="#FFFEEF"})=>{const r=`logo-cream-clip-${i.useId()}`;return t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",fill:"none",viewBox:"0 0 100 99",preserveAspectRatio:"xMidYMid meet",children:[t("g",{fill:n,clipPath:`url(#${r})`,children:[e("path",{d:"M23.877 73.439c2.829 9.044 7.288 13.706 25.03 18.07 16.735 4.111 43.31 12.356 48.798 3.65 3.454-5.095 1.534-12.395.415-18.244-.875-3.853-1.756-7.3-2.534-11.074-.255-1.237-2.034-1.22-2.278.022-1.284 6.552-3.528 11.26-8.55 14.482-8.572 6.125-28.7 2.295-39.453-2.272-11.487-4.656-14.696-13.509-15.486-23.126-.296-5.157.437-10.123 1.818-14.392.409-1.254-1.273-2.097-2.045-1.023-6.113 8.464-8.073 23.88-5.71 33.913",opacity:".45"}),e("path",{d:"M74.18 75.362c9.135-2.8 13.845-7.215 18.253-24.779 4.153-16.569 12.481-42.878 3.687-48.31-5.147-3.42-12.52-1.52-18.429-.411-3.89.866-7.373 1.738-11.185 2.508-1.25.253-1.233 2.014.023 2.255 6.618 1.271 11.373 3.493 14.628 8.465 6.186 8.486 2.318 28.412-2.295 39.059-4.704 11.371-13.646 14.549-23.36 15.33-5.21.293-10.226-.432-14.537-1.799-1.267-.405-2.12 1.26-1.034 2.025 8.55 6.051 24.12 7.992 34.255 5.652",opacity:".45"}),e("path",{d:"M76.124 25.562c-2.83-9.044-7.289-13.706-25.03-18.07C34.358 3.38 7.783-4.865 2.3 3.842-1.153 8.937.767 16.237 1.886 22.086c.875 3.852 1.756 7.3 2.534 11.074.256 1.237 2.034 1.22 2.278-.023 1.284-6.552 3.528-11.26 8.55-14.482 8.572-6.124 28.7-2.294 39.453 2.272 11.487 4.657 14.696 13.51 15.486 23.126.296 5.158-.437 10.124-1.818 14.392-.409 1.255 1.273 2.098 2.045 1.024 6.113-8.464 8.073-23.88 5.71-33.913",opacity:".45"}),e("path",{d:"M25.82 23.638c-9.135 2.8-13.845 7.216-18.253 24.78-4.153 16.568-12.48 42.877-3.687 48.31 5.147 3.42 12.52 1.519 18.429.41 3.891-.865 7.374-1.737 11.186-2.508 1.25-.253 1.232-2.013-.023-2.255-6.619-1.27-11.373-3.492-14.629-8.464-6.186-8.487-2.317-28.413 2.296-39.059 4.703-11.372 13.645-14.55 23.36-15.331 5.209-.293 10.225.433 14.537 1.8 1.266.404 2.118-1.26 1.033-2.025-8.55-6.052-24.12-7.992-34.255-5.652",opacity:".45"})]}),e("defs",{children:e("clipPath",{id:r,children:e("path",{fill:"#fff",d:"M0 0h100v99H0z"})})})]})},cx=n=>{const{anchorId:r="email-input",title:i,subTitle:o,emailInputDescription:a,inputPlaceholder:l="Enter your email here",ctaButtonText:s,ctaText:u,caption:d,backgroundColor:p="white",successFeedback:h,onSubmit:m,themeColor:f,showPinWheel:g=!0,padding:v="large",requiredErrorMessage:b="Email is required",validationErrorMessage:y="Invalid email address",fieldProps:x}=n||{},w=s||u||"Sign me up",C={green:"bg-bg-fill-brand",white:"bg-bg",gray90:"bg-[var(--color-text-secondary)]"},I={green:"bg-bg-fill-brand",blue:"bg-bg-fill-brand-supporting",orange:"bg-orange-500",purple:"bg-bg-fill-brand-tertiary",white:"bg-bg"},N=(p||"").trim().toLowerCase()||"white",A=C[N]||C.white,E="white"===N?"text-text":"text-white",T=(f||"").trim().toLowerCase()||"green",S=I[T]||I.green,k=["green","blue","purple"].includes(T),P=k?"text-white":"text-text",B=k?"text-text-inverse":"text-text",L="white"===T?"#E0E0E0":"#FFFEEF",R="none"===v?"!py-0 md:!py-0":"!py-8 md:!py-20",[O,G]=c(""),[D,M]=c(!1),[V,F]=c(""),j=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e);return t("section",{id:r,className:`w-full px-4 ${R} md:px-10 ${A}`,children:[t("div",{className:`mx-auto max-w-[1200px] overflow-hidden !rounded-[20px] md:rounded-[20px] flex flex-col items-start !px-5 !pt-6 !pb-10 md:!p-10 md:!pt-12 min-h-[344px] md:!w-auto md:min-h-[367px] relative ${S}`,children:[g&&e("div",{className:"absolute right-[-50px] top-[-30px] hidden h-[420px] w-[420px] pointer-events-none lg:block","aria-hidden":"true",children:e(sx,{fill:L})}),t("div",{className:"w-full",children:[t("div",{className:"lg:w-[548px]",children:[i&&e("h2",{className:`mb-3 text-[2.25rem] leading-[2.5rem] font-black md:text-heading2 md:font-black ${P}`,...null==x?void 0:x.title,children:i}),o&&e("h3",{className:`subheading3 mb-3 font-black ${P}`,...null==x?void 0:x.subTitle,children:o}),a&&e("p",{className:`!mb-4 md:!mb-16 text-xl leading-7 font-medium md:text-subheading1 md:!leading-8 md:!font-bold opacity-95 ${P}`,...null==x?void 0:x.emailInputDescription,children:a})]}),t("div",{className:"relative max-w-[548px] flex w-full flex-col items-center sm:flex-row sm:overflow-hidden sm:rounded-3xl sm:border-2 sm:!border-gray-600 sm:bg-white sm:p-1.5 sm:shadow-xl sm:transition-all md:!h-[75px] md:p-2",children:[e("div",{className:"w-full !rounded-lg border border-transparent bg-white p-1.5 shadow-md sm:border-0 sm:p-0 sm:rounded-none sm:shadow-none",children:e("input",{type:"email",placeholder:l,value:O,onChange:e=>{const t=e.target.value;G(t),D&&M(!1),t.trim()?j(t)?F(""):F(y):F(b)},className:"w-full flex-grow bg-transparent !pl-4 pr-6 py-3 text-[1rem] leading-none md:text-base font-normal text-text outline-none placeholder:input-text-placeholder md:py-4",...null==x?void 0:x.email})}),e(Jd,{buttonLabel:w,buttonVariant:"primary_inverse",buttonClassName:"capitalize-first whitespace-nowrap rounded-2xl px-8 !text-lg mt-3 w-full sm:mt-0 sm:w-auto sm:absolute sm:right-[8px] sm:top-[calc(50%-28px)]",onClick:()=>{O.trim()?j(O)?(m({email:O}),G(""),M(!0),F("")):F(y):F(b)},fieldProps:null==x?void 0:x.cta})]}),V&&e("p",{className:`mt-2 text-label4 font-semibold ${B}`,...null==x?void 0:x.errorMessage,children:V}),h&&D&&!V&&e("p",{className:`mt-2 text-label4 font-semibold ${P}`,...null==x?void 0:x.successFeedback,children:h})]})]}),d&&e("div",{className:`mx-auto max-w-[1200px] px-6 md:px-8 ${E}`,...null==x?void 0:x.caption,children:d})]})},ux={white:"bg-white",navy:"bg-[#00002D] text-white",green:"bg-[#26B170] text-white",blue:"bg-[#07B2E2] text-white",purple:"bg-[#931D69] text-white",yellow:"bg-[#F5FF1E]",cream500:"bg-[#FFFEEF]",gray100:"bg-bg-fill-secondary",transparent:""},dx=["blue","green","yellow","purple","white","navy"],px=({fields:r,fieldProps:i,isInPopupContainer:o=!1,onClose:l,onContinueCheckout:s,checkShouldShowBanner:u,onBannerShown:d})=>{var p;const{anchorId:h,mainHeading:m,description:f,cta:g,image:v,imageAltText:b,imagePosition:y="center",backgroundColor:x,imageAccentColor:w,showImageAsIcon:C=!1,Logo:I}=r,N=Boolean(v)&&"center"!==y,A="right"===y,E=x&&null!==(p=ux[x])&&void 0!==p?p:"",T=(e=>!!e&&dx.includes(e))(w),[S,k]=c(!1);a(()=>{const e=()=>{(null==u?void 0:u())&&!S&&(k(!0),null==d||d())};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[]);const P=()=>{null==s||s()},B=()=>I?e("div",{className:"cart-retention-banner-logo relative mx-auto mb-4 h-12 w-40",children:e(fi,{src:I,alt:null!=m?m:"",fill:!0,sizes:"160px",className:"object-contain"})}):null,L=()=>v?e("div",C?{className:"cart-retention-banner-image relative mx-auto mb-4 h-[87px] w-[93px] overflow-hidden md:h-[193px] md:w-[207px]",children:e(fi,{src:v,alt:null!=b?b:"",fill:!0,sizes:"(min-width: 768px) 207px, 93px",className:"object-contain"})}:N?{className:"cart-retention-banner-image relative md:h-full",children:e("div",{className:"relative h-[258px] w-full overflow-hidden rounded-[20px] md:h-[400px]",children:e(fi,{src:v,alt:null!=b?b:"",fill:!0,sizes:"(min-width: 768px) 314px, 100vw",className:"object-cover object-top"})})}:{className:"cart-retention-banner-image relative mb-4 aspect-[2/1] w-full overflow-hidden rounded-[20px]",children:e(fi,{src:v,alt:null!=b?b:"",fill:!0,sizes:"(min-width: 640px) 400px, 90vw",className:"object-cover"})}):null,R=()=>{var r,o,a;return t(n,{children:[e(xr,{className:_e("heading2",N?"text-center md:text-left":"text-center"),...null==i?void 0:i.mainHeading,children:m||"Welcome back. Let's finish your order"}),f&&e("div",{...null==i?void 0:i.description,children:Ti(kt(null==f?void 0:f.json),!1,_e("body2",N?"text-center md:text-left":"text-center"))}),e("div",{className:_e("flex w-full pt-5 md:px-4",N?"justify-center md:justify-start":"justify-center"),children:e(Jd,{onClick:P,buttonLabel:null!==(r=null==g?void 0:g.buttonLabel)&&void 0!==r?r:"Continue checkout",disableAnimation:null===(o=null==g?void 0:g.disableAnimation)||void 0===o||o,animationType:null==g?void 0:g.animationType,fullWidth:!0,fieldProps:null!==(a=null==g?void 0:g.fieldProps)&&void 0!==a?a:null==i?void 0:i.cta})})]})},O=t(n,N?{children:[B(),t("div",{className:_e("flex flex-col md:grid md:gap-6",A?"md:grid-cols-[1fr_314px]":"md:grid-cols-[314px_1fr]"),children:[e("div",{className:_e("order-1",A&&"md:order-2","md:max-w-[314px]",C&&"flex items-center justify-center"),children:L()}),e("div",{className:_e("order-2 flex flex-col justify-center gap-8 pt-5 md:gap-10 md:pt-0",A?"md:order-1":""),children:R()})]})]}:{children:[B(),L(),R()]}),G=e(nf,{path:"path5",fill:w,background:"transparent",className:_e("rounded-3xl px-6 pb-8 md:p-6",C&&"md:!py-[95px]",I?"pt-6":"pt-13"),show:T,children:O});return o?e("div",{className:_e("pop-up-body w-full",N?"overflow-hidden":"mb-5 mt-10",E),"data-section-type":"cart-retention-banner","data-section-index":"0",children:G}):e("section",{id:h,"data-testid":"cart-retention-banner",children:e(tf,{size:"sm",isOpen:S,onRequestClose:()=>{null==l||l(),k(!1)},bodyClassName:_e(N?_e("overflow-hidden md:!max-w-[828px]",!T&&"p-0"):"flex items-center justify-center","min-[370px] p-[0px]",E),type:"cart-retention-banner",children:N?G:e("div",{className:"pop-up-body mb-5 w-full px-3 [overflow-x:clip] md:px-6",children:G})})})},hx={gray90:"#464646",green:"#24A76A",white:"#FFFFFF"},mx=({iframeUrl:t,anchorId:n,backgroundColor:r,height:i,fieldProps:o})=>{const s=l(null);return a(()=>{if(!t)return;const e=e=>{var t;const n=null===(t=e.data)||void 0===t?void 0:t.iframeHeight;"number"==typeof n&&Number.isFinite(n)&&n>0&&n<=1e4&&s.current&&(s.current.style.height=`${n}px`)};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[t]),t?e("section",{id:n,className:"w-full",...null==o?void 0:o.iframeUrl,children:e("iframe",{ref:s,src:t,width:"100%",frameBorder:"0",scrolling:"no",style:{background:r?hx[r]:"transparent",...i?{height:`${i}px`}:{}},title:"Iframe Embed",loading:"lazy"})}):null},fx={IP_PHONE_NUMBER:"ip_or_phone",TARGET_EMAIL:"target_email",REQUIRED_FIELDS_MISSING:"Required fields missing",PROVIDE_AT_LEAST_ONE:"Please provide at least one",ONE_REQUIRED_FIELD:"At least One Required"},gx="* Please fill all required fields and checkboxes",vx={phone:/^(?:\d{10}|\(\d{3}\)\s\d{3}-\d{4}|\d{3}-\d{3}-\d{4}|\+1\s\d{3}-\d{3}-\d{4})$/,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^(?:(?:[0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4}|(?:[0-9A-Fa-f]{1,4}:){1,7}:|(?:[0-9A-Fa-f]{1,4}:){1,6}:[0-9A-Fa-f]{1,4}|(?:[0-9A-Fa-f]{1,4}:){1,5}(?::[0-9A-Fa-f]{1,4}){1,2}|(?:[0-9A-Fa-f]{1,4}:){1,4}(?::[0-9A-Fa-f]{1,4}){1,3}|(?:[0-9A-Fa-f]{1,4}:){1,3}(?::[0-9A-Fa-f]{1,4}){1,4}|(?:[0-9A-Fa-f]{1,4}:){1,2}(?::[0-9A-Fa-f]{1,4}){1,5}|[0-9A-Fa-f]{1,4}:(?:(?::[0-9A-Fa-f]{1,4}){1,6})|:(?:(?::[0-9A-Fa-f]{1,4}){1,7}|:))$/,email:/^[a-zA-Z0-9._%+-]+@((?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{1,}|(?:\d{1,3}\.){3}\d{1,3})$/},bx=d(void 0),yx=({state:n,checked:r=!1,onChange:i,className:o,label:a,labelClassName:l,containerClassName:s,name:c,value:u,id:d,disabled:p=!1,required:h=!1,error:m=!1,"data-cy":g,renderInfoIcon:v,...b})=>{var y,x;const w=p||"disabled"===n,C=d||c,I=_e("flex items-center justify-center w-6 h-6 rounded-[4px] outline-offset-2","focus"===n&&"outline",o),N=f(e=>{w||i&&(1===i.length?i(e.target.checked):i())},[w,i]);return t("div",{className:_e("flex items-center gap-3",s),children:[t("div",{className:"relative",children:[e("input",{type:"checkbox",id:C,name:c,value:u,checked:r,onChange:N,disabled:w,required:h,className:"peer sr-only","data-cy":g,...b}),e("label",{htmlFor:C,className:_e("peer-focus:outline",I),style:{pointerEvents:w?"none":"auto"},children:t("svg",r?{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("rect",{width:"24",height:"24",rx:"4",className:_e(w?"fill-checkbox-bg-surface-selected-disabled":"fill-bg-fill-brand")}),e("path",{d:"M8 11.9593L11.0316 15L17 9",stroke:"white",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})]}:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",className:_e(w?"fill-checkbox-bg-surface-disabled":"fill-white")}),e("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",stroke:"#CECECE"})]})})]}),a&&e("label",{htmlFor:C,className:_e("cursor-pointer",m&&"text-text-critical",l),children:a}),v&&e(Li,{type:"button",onClick:v.onClick,"data-testid":v.dataTestId,className:"ml-2 cursor-pointer text-icon-info","aria-label":"More information",children:t("svg",{xmlns:"http://www.w3.org/2000/svg",width:null!==(y=v.iconSize)&&void 0!==y?y:24,height:null!==(x=v.iconSize)&&void 0!==x?x:24,viewBox:"0 0 24 24",fill:"none",children:[e("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),e("path",{d:"M12 16v-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e("path",{d:"M12 8h.01",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})]})};yx.displayName="Checkbox";const xx=n=>{const{name:r,value:i,label:o,subText:a,checked:l,onChange:s,className:c,variant:u="circle",hasError:d=!1,labelProps:p={},"data-cy":h,labelClassName:m="",disabled:f,...g}=n,v=()=>null==s?void 0:s(i||r);return t("label",{htmlFor:r,className:_e("flex items-center",c),"data-cy":h,...p,children:[e("input",{className:"hidden",type:"radio",name:r,value:i,checked:l,readOnly:!0,disabled:f,...g}),e(Li,{type:"button",onClick:v,disabled:f,className:_e("mr-3 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full border-[1px] border-solid border-border-secondary-on-bg-fill bg-bg outline-offset-4",l&&"border-[1px] border-solid border-border-brand",f&&"opacity-50"),children:l&&e("div",{className:"h-[0.875rem] w-[0.875rem] rounded-full bg-bg-fill-brand"})}),t(Li,{type:"button",onClick:v,disabled:f,tabIndex:o?0:-1,children:[e("div",{className:_e("text-body2 font-normal",m),children:o}),e("div",{className:"text-body1 text-text-info",children:a})]})]})};xx.displayName="RadioButton";const wx=e=>{const t=(e||"").replace(/\D/g,"");return t.length<=3?t:t.length<=6?`${t.slice(0,3)}-${t.slice(3)}`:t.length<=9?`${t.slice(0,3)}-${t.slice(3,6)}-${t.slice(6)}`:`${t.slice(0,3)}-${t.slice(3,6)}-${t.slice(6,10)}`},Cx=(n,r,i="footnote")=>t(xr,{as:"div",className:_e(i,"validation-label mb-1"),children:[n,r?e("span",{className:"text-text-critical",children:"*"}):null]}),Ix=r=>{const{requiredField:i,handleInputChange:o,fieldId:a,displayName:l,hasError:s}=r,[u,d]=c(!1);return e(yx,{name:a,id:a,checked:u,error:s,onChange:()=>{d(e=>(o(!e),!e))},labelClassName:"footnote text-text-secondary",label:t(n,{children:[l,i?e("span",{className:"text-text-critical",children:"*"}):null]})})},Nx={Checkbox:t=>{const{formData:n,handleInputChange:r,fieldId:i,dataSource:o,isConsentCheckbox:a,hasError:l}=t;if(a)return e(Ix,{...t});const s=null==n?void 0:n[i],c="string"==typeof s&&s.length>0?s.split(","):[];return e("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2",children:(o||[]).map((t,n)=>e("div",{className:"w-full lg:w-[384px]",children:e(yx,{name:i,id:`${i}-${n}`,label:t.label,value:t.value,checked:c.includes(t.value),onChange:()=>(e=>{let t;t=c.includes(e)?c.filter(t=>t!==e):[...c,e],r(t.join(","))})(t.value),error:l,labelClassName:"footnote"})},`${i}-${n}`))})},Imageupload:n=>{const{handleInputChange:r,loading:i}=n,[o,s]=c([]),[u,d]=c([]),[p,m]=c(!1),[f,g]=c(null),v=l(null),b=h(bx);a(()=>{const e=o.map(e=>e.type.startsWith("image/")?URL.createObjectURL(e):"");return d(e),()=>{e.forEach(e=>{e&&URL.revokeObjectURL(e)})}},[o]);const y=e=>{const t=[];if(e&&e.length){if(Array.from(e).forEach(e=>{e.type.startsWith("image/")&&t.push(e)}),0===t.length)return void g("Only image files are allowed.");if(o.length+t.length>5)return void g("You can only upload a maximum of 5 files.");const n=[...o,...t];if(!((e,t)=>{const n=e.reduce((e,t)=>e+t.size,0);return{total:n,ok:n<=t}})(n,20971520).ok)return void g("Total file size should not be more than 20 MB.");null==b||b.setFiles(n),s(n),r(n),g(null)}};return e("div",{children:t("div",{onDragOver:e=>{e.preventDefault(),e.stopPropagation(),m(!0)},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),m(!1)},onDrop:e=>{e.preventDefault(),e.stopPropagation(),m(!1),e.dataTransfer.files&&e.dataTransfer.files.length>0&&(y(e.dataTransfer.files),e.dataTransfer.clearData())},className:_e("relative flex flex-col items-center justify-center rounded-xl border border-input-border bg-white px-4 py-10 text-center transition",p?"border-input-border-selected bg-bg-surface-active":"hover:border-input-border-hover"),children:[e("p",{className:"mb-3 text-sm text-text-secondary",children:"Drop files here or"}),t("button",{type:"button",onClick:()=>{var e;return null===(e=v.current)||void 0===e?void 0:e.click()},className:"inline-flex items-center gap-2 rounded-md bg-white px-4 py-2 text-sm font-medium text-text shadow-sm ring-1 ring-inset ring-input-border hover:bg-bg-surface-hover",children:[e(yr,{name:"upload",weight:"700",size:24}),"Choose files"]}),e("input",{ref:v,type:"file",accept:"image/*",multiple:!0,name:"files",onChange:e=>{e.target.files&&e.target.files.length>0&&(y(e.target.files),e.target.value="")},className:"pointer-events-none absolute inset-0 h-0 w-0 opacity-0","aria-hidden":!0,tabIndex:-1}),f&&e("p",{className:"mt-2 text-sm text-text-critical",children:f}),o.length>0&&e("div",{className:"mt-8",children:e("ul",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 md:grid-cols-4",children:o.map((n,a)=>t("li",{className:"group relative rounded-xl border border-input-border p-2",children:[n.type.startsWith("image/")&&u[a]?e("img",{src:u[a],alt:n.name,className:"h-28 w-full rounded object-cover"}):e("div",{className:"h-28 w-full rounded bg-bg-surface-active"}),t("div",{className:"mt-2 flex items-center justify-between",children:[e("span",{className:"max-w-[50%] truncate text-sm text-text",title:n.name,children:n.name}),e("button",i?{type:"button",disabled:!0,className:"cursor-default text-sm text-text-secondary",children:"Remove"}:{type:"button",onClick:()=>(e=>{const t=[...o];t.splice(e,1),s(t),null==b||b.setFiles(t),r(t)})(a),className:"text-sm text-text-critical hover:underline",children:"Remove"})]})]},a))})})]})})},Datepicker:t=>{var n;const{displayName:r,handleInputChange:i,errorClass:o,formData:a,fieldId:l}=t;return e("div",{className:"w-full",children:e("input",{type:"datetime-local","aria-label":r,value:null!==(n=null==a?void 0:a[l])&&void 0!==n?n:"",onChange:e=>i(e.target.value),className:_e("w-full rounded-xl border border-input-border bg-white px-4 py-3 text-text outline-none focus:border-input-border-selected",o)})})},Dropdown:t=>{var n;const{formData:r,handleInputChange:i,fieldId:o,dataSource:l,existingDataSource:s,errorClass:u}=t,[d,p]=c(null!=l?l:[]),m=h(bx),f=null==m?void 0:m.resolveExistingDataSource;a(()=>{(async()=>{var e;if((null==l||l.length<=0)&&s){if("City List"===s)return;if(!f)return;try{const e=await f(s,{selectedState:null==m?void 0:m.selectedState});p(e||[])}catch(t){null===(e=null==m?void 0:m.onError)||void 0===e||e.call(m,{type:"resolve_data_source",error:t,metadata:{existingDataSource:s}})}}})()},[l,s]),a(()=>{if("City List"===s&&(i(null),p([]),(null==m?void 0:m.selectedState)&&f)){const e=async()=>{var e;try{const e=await f("City List",{selectedState:null==m?void 0:m.selectedState});p(e||[])}catch(t){null===(e=null==m?void 0:m.onError)||void 0===e||e.call(m,{type:"resolve_data_source",error:t,metadata:{existingDataSource:"City List"}})}};e()}},[null==m?void 0:m.selectedState,s]);const g=(null==r?void 0:r[o])?d.find(e=>e.value===(null==r?void 0:r[o])):null;return e(Zy,{className:_e("body3",u),controlClassName:"px-4 [&>div]:p-0",options:d,value:null!=g?g:void 0,onChange:i,"aria-label":null!==(n=t.displayName)&&void 0!==n?n:"Select"})},Radio:t=>{const{requiredField:n,formData:r,handleInputChange:i,fieldId:o,hasError:a,dataSource:l}=t;return e("div",{className:"mt-6 flex flex-col gap-8 sm:flex-row",children:(l||[]).map((t,l)=>e("div",{className:"w-full lg:w-[384px]",children:e(xx,{name:o,label:t.label,value:t.value,checked:(null==r?void 0:r[o])===t.value,hasError:a,onChange:i,required:n,labelClassName:"footnote text-left"})},l))})},Text:t=>{var n,r;const{displayName:i,formData:o,textInputType:a,handleInputChange:l,fieldId:s,errorClass:c,enableAddressAutocomplete:u}=t,d=h(bx),p=null==d?void 0:d.renderAddressAutocomplete;return!!u&&!!p&&"phone"!==a&&"email"!==a&&"multiline"!==a&&p?e(p,{...t}):e("div","phone"===a?{className:"w-full",children:e(Pp,{"aria-label":i,name:s,type:"tel",value:o[s]?wx(o[s]):"",onChange:l,className:_e("w-full",c),maxLength:14})}:"multiline"===a?{className:"w-full",children:e("textarea",{"aria-label":i,name:s,value:null!==(n=null==o?void 0:o[s])&&void 0!==n?n:"",onChange:l,rows:4,className:_e("w-full rounded-xl border border-input-border bg-white px-4 py-3 text-text outline-none focus:border-input-border-selected",c)})}:{className:"w-full",children:e(Pp,{"aria-label":i,name:s,value:null!==(r=null==o?void 0:o[s])&&void 0!==r?r:"",onChange:l,className:_e("w-full",c)})})}},Ax=n=>{var r;const i=h(bx),{formData:o,setFormData:a,submitErrorFields:l,fieldId:s,displayName:u,requiredField:d,formFieldsToShow:p=[],dataSource:m,note:f,grouped:g=!1,renderConditionalFields:v}=n,[b,y]=c(!1),[x,w]=c({fieldId:"",errorMessage:""}),C=g&&(s===fx.TARGET_EMAIL||s===fx.IP_PHONE_NUMBER),I=Nx.Radio;if(!I)return null;const N=l.includes(s);let A="";N&&(A="Datepicker"===s||"Dropdown"===s?"border border-border-critical border-solid rounded-xl":"border border-border-critical");return t("div",{className:_e("w-full",C&&"bg-bg-surface-secondary px-5 pt-1",C&&s===fx.IP_PHONE_NUMBER&&"rounded-t-xl border-x border-b border-border-secondary",C&&s===fx.TARGET_EMAIL&&"rounded-b-xl border-x border-t border-border-secondary pb-5"),...null===(r=n.fieldProps)||void 0===r?void 0:r.field,children:[t("div",{className:"mb-4",children:[Cx(u,d),e(I,{displayName:u,requiredField:d,formData:o,fieldId:s,handleInputChange:e=>{w({fieldId:"",errorMessage:""}),null==i||i.setHasError(!1),y("yes"===(null==e?void 0:e.toLowerCase())),a(t=>({...t,[s]:e}))},error:x,hasError:N,dataSource:m,errorClass:A}),x.fieldId===s&&x.errorMessage&&e(xr,{as:"div",className:"footnote mt-1 text-text-critical",children:x.errorMessage}),f&&e(xr,{as:"div",className:"footnote mt-1",children:f})]}),e("div",{className:"transition duration-300 ease-in-out "+(b?"translate-y-0 opacity-100":"translate-y-4 opacity-0"),children:b&&v(!1,p,o,a,l)})]})},Ex=n=>{var r,i;const o=h(bx),{loading:a,formData:l,setFormData:s,submitErrorFields:u,isGrouped:d=!1,fieldId:p,fieldType:m,fieldClassName:f,displayName:g,requiredField:v,textInputType:b,errorMessage:y,dataSource:x,existingDataSource:w,note:C,noteClassName:I,validationNote:N,validationGroupId:A,validationType:E,applyRegularExpression:T,regexPattern:S,enableAddressAutocomplete:k}=n,[P,B]=c({fieldId:"",errorMessage:""}),L=(m?null===(r=null==o?void 0:o.fieldComponentOverrides)||void 0===r?void 0:r[m]:void 0)||(m?Nx[m]:void 0);if(!L)return null;const R=A&&E&&!d,O="Checkbox"===m&&!x&&!w,G=u.includes(p);let D="";G&&(D="Datepicker"===p||"Dropdown"===p?"border border-border-critical border-solid rounded-xl":"border border-border-critical");const M=(e,t)=>{B({fieldId:e,errorMessage:t})},V=(e,t)=>{s(n=>({...n,[e]:t}))};return t("div",{className:_e(R?"groupingField rounded-b-xl rounded-t-xl border border-border-secondary bg-bg-surface-secondary px-5 pb-5 pt-1":"",(null==f?void 0:f.split("|")[1])||"w-full"),...null===(i=n.fieldProps)||void 0===i?void 0:i.field,children:[R&&!d?Cx(N||fx.PROVIDE_AT_LEAST_ONE,!0,"body2"):null,!O&&Cx(g,v),e("div",{className:"Checkbox"===m||"Radio"===m?O?"":"mt-6":"",children:e(L,{loading:a,displayName:g,requiredField:v,formData:l,fieldId:p,textInputType:b,handleInputChange:e=>{var t;if(null==o||o.clearFieldError(p),B({fieldId:"",errorMessage:""}),null==o||o.setHasError(!1),"Checkbox"===m||"Radio"===m)V(p,e);else if("Dropdown"===m)V(p,null==e?void 0:e.value),"State List"===w&&(null==o||o.setSelectedState(e));else if("Datepicker"===m)e?V(p,e):(M(p,y||""),null==o||o.setHasError(!0),null==o||o.setFieldError(p,y||""));else{if("Imageupload"===m){const t=Array.isArray(e)?e:[];return null==o||o.setFiles(t),void V("files",t)}{const{name:n,value:r}=e.target;if(!r)return void V(n,r);if("phone"===b){const t=wx(r).replace(/\D/g,"");return V(n,t),e.target.value=t,void(10!==t.length&&(M(p,y||""),null==o||o.setHasError(!0),null==o||o.setFieldError(p,y||"")))}if("email"!==b||(e=>{const[,t]=e.split("@");return!(!t||t.includes(".."))&&vx.email.test(e)})(r)||(M(p,y||""),null==o||o.setHasError(!0),null==o||o.setFieldError(p,y||"")),T&&S)try{new RegExp(S).test(r)||""===r||(M(p,y||""),null==o||o.setHasError(!0),null==o||o.setFieldError(p,y||""))}catch(e){null===(t=null==o?void 0:o.onError)||void 0===t||t.call(o,{type:"invalid_regex_pattern",error:e,metadata:{fieldId:p,regexPattern:S}})}V(n,r)}}},dataSource:x,error:P,errorClass:D,hasError:G,existingDataSource:w,isConsentCheckbox:O,enableAddressAutocomplete:k,"data-testid":"form-component"})}),P.fieldId===p&&P.errorMessage&&e(xr,{as:"div",className:"footnote text-text-critical",children:P.errorMessage}),C&&e(xr,{as:"div",className:_e("footnote",I),children:C})]})},Tx=e=>"formField"===e.itemType,Sx=e=>"conditional"===e.itemType,kx=(e,t=!1,n={})=>{const r=((e,t)=>{const n=e.filter(Sx).flatMap(e=>{const n=t[e.fieldId];return"string"==typeof n&&"yes"===n.toLowerCase()?e.formFieldsToShow:[]});return[...e,...n]})(e,n);return r.filter(Tx).map(e=>{if(t)return{[e.fieldId]:e.sftpFieldId};const{fieldId:n,requiredField:r,fieldType:i,formSection:o,dataSource:a}=e;return{fieldId:n,requiredField:r,fieldType:i,formSection:o,dataSource:a}})},Px=(e,t)=>{const n={};return e.forEach(e=>{const{fieldId:r,formSection:i}=e;i&&"string"==typeof i&&(n[i]||(n[i]=[]),r in t&&n[i].push({[r]:t[r]}))}),n},Bx=e=>{var t,n,r,i,o;const a=e instanceof Error?e.message:String(e),l=a.replace(/Bearer\s+\S+/gi,"Bearer [REDACTED]").replace(/["']?Authorization["']?\s*[:=]\s*(?:"[^"]*"|'[^']*'|\S+)/gi,"Authorization: [REDACTED]").replace(/(api(?:[_-]|\s)?key|apikey|access(?:[_-]|\s)?token|token|secret|password|key)(\s*["']?\s*[:=]\s*)(?:"[^"]*"|'[^']*'|[^\s&"']+)/gi,"$1$2[REDACTED]");const s=null==e?void 0:e.cause;return{errorMessage:l,errorStatus:null!==(o=null!==(r=null!==(n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.status)&&void 0!==n?n:null==e?void 0:e.status)&&void 0!==r?r:null===(i=null==s?void 0:s.response)||void 0===i?void 0:i.status)&&void 0!==o?o:void 0,errorCode:[e,s].map(e=>null==e?void 0:e.code).find(e=>"string"==typeof e)}},Lx=e=>{const{errorMessage:t,errorStatus:n,errorCode:r}=Bx(e);return{name:e instanceof Error?e.name:"Error",message:t,...void 0!==n?{status:n}:{},...void 0!==r?{code:r}:{}}},Rx=(t,n,r,i,o,a,l=!1)=>{var s,c;if("formField"===t.itemType)return e(Ex,{loading:r,...t,formData:i,setFormData:o,submitErrorFields:a,isGrouped:l},n);if("conditional"===t.itemType)return e(Ax,{...t,formData:i,setFormData:o,submitErrorFields:a,renderConditionalFields:Ox},n);if("divider"===t.itemType){const r=Math.max(t.dividerThickness||1,1),i=!1===t.dividerLength?"w-1/2":"w-full";return e("div",{className:"flex w-full justify-center",children:e("div",{...null===(s=t.fieldProps)||void 0===s?void 0:s.field,children:e(Gi,{role:"separator","aria-label":"Content divider",className:i,style:{height:`${r}px`}})})},n)}return e("div",{...null===(c=t.fieldProps)||void 0===c?void 0:c.field,children:t.content},n)},Ox=(n,r,i,o,a)=>(e=>{const t=[];let n=0;for(;n<e.length;){const r=e[n];if(!Tx(r)){t.push({type:"single",fields:[r]}),n++;continue}const i=r.validationGroupId;if(i){const o=[];let a=n;for(;a<e.length;){const t=e[a];if(!Tx(t)||t.validationGroupId!==i)break;o.push(t),a++}const l={type:"validationGroup",validationGroupId:i,validationNote:r.validationNote,validationType:r.validationType,subGroups:[]};let s=0;for(;s<o.length;){const e=o[s];if(!1===e.fieldWidth){const t=o[s+1];t&&!1===t.fieldWidth?(l.subGroups.push({type:"double",fields:[e,t]}),s+=2):(l.subGroups.push({type:"single",fields:[e]}),s++)}else l.subGroups.push({type:"single",fields:[e]}),s++}t.push(l),n=a}else if(!1===r.fieldWidth){const i=e[n+1];i&&Tx(i)&&!1===i.fieldWidth&&!i.validationGroupId?(t.push({type:"double",fields:[r,i]}),n+=2):(t.push({type:"single",fields:[r]}),n++)}else t.push({type:"single",fields:[r]}),n++}return t})(r).map((r,l)=>{var s,c;if("validationGroup"===r.type)return t("div",{className:"mb-0 w-full rounded-b-xl rounded-t-xl border border-border-secondary bg-bg-surface-secondary px-5 pb-5 pt-1",children:[r.validationNote&&t(xr,{as:"div",className:"validation-label body3 mb-3 mt-4 sm:mt-5",children:[r.validationNote,r.validationType===fx.ONE_REQUIRED_FIELD?e("span",{className:"text-text-critical",children:"*"}):null]}),r.subGroups.map((r,l)=>"single"===r.type?e("div",{className:"mb-0 w-full",children:Rx(r.fields[0],`subgroup-field-${l}`,n,i,o,a,!0)},`subgroup-${l}`):t("div",{className:"mb-0 flex w-full flex-col gap-5 lg:flex-row",children:[e("div",{className:"w-full lg:flex-1",children:Rx(r.fields[0],`subgroup-field-${l}-0`,n,i,o,a,!0)}),e("div",{className:"w-full lg:flex-1",children:Rx(r.fields[1],`subgroup-field-${l}-1`,n,i,o,a,!0)})]},`subgroup-${l}`))]},`validation-group-${l}`);if("single"===r.type){const t=r.fields[0],u="formField"===t.itemType?`${null!==(c=null===(s=t.fieldClassName)||void 0===s?void 0:s.split("|")[0])&&void 0!==c?c:""} mb-0 w-full`:"w-full";return e("div",{className:u,children:Rx(t,`group-field-${l}`,n,i,o,a)},`group-${l}`)}return t("div",{className:"mb-0 flex w-full flex-col gap-5 lg:flex-row",children:[e("div",{className:"w-full lg:flex-1",children:Rx(r.fields[0],`group-field-${l}-0`,n,i,o,a)}),e("div",{className:"w-full lg:flex-1",children:Rx(r.fields[1],`group-field-${l}-1`,n,i,o,a)})]},`group-${l}`)}),Gx=n=>{const{color:r="#fff",size:i="medium"}=n;return t("div",{role:"status",className:"relative flex flex-row items-center",children:[t("svg",{"aria-hidden":"true",className:_e("mr-2 h-5 w-5 animate-spin text-transparent",{small:"w-4 h-4",medium:"w-6 h-6",large:"w-8 h-8",xlarge:"w-12 h-12"}[i],n.className),style:{animation:"spin 0.75s linear infinite"},viewBox:"0 0 100 100",fill:r,children:[e("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),e("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),e("span",{className:"sr-only",children:"Loading..."})]})};Gx.displayName="Spinner";class Dx extends Error{constructor(e,t){super(e),this.name="FormValidationError",this.invalidFields=t}}class Mx extends Error{constructor(e,t,n){super(e),this.name="FormSubmissionError",this.errorActions=t,this.isCompleteFailure=n}}const Vx=e=>String(e).padStart(2,"0"),Fx=e=>{const t=Vx(e.getMonth()+1),n=Vx(e.getDate()),r=e.getFullYear();let i=e.getHours();const o=i>=12?"PM":"AM";return i=i%12||12,`${t}/${n}/${r} ${i}:${Vx(e.getMinutes())} ${o}`},jx=n=>{const{anchorId:r,title:i,subTitle:o,formHeading:u,description:d,disclaimer:p,successMessage:h,errorMessage:m,formClassName:g,fields:v,formSubmitOptions:b=[],submitLabel:y="Submit",ctaClassName:x,validationErrorText:w=gx,formName:C,emailSubject:I,emailTemplateName:N,toEmail:A,testEmail:E,isProduction:T,segmentEventId:S,onEmailSubmit:k,onSmtpSubmit:P,onSmsSubmit:B,actionHandlers:L,buildPayload:R,onSubmitSuccess:O,onTrack:G,onError:D,fieldComponentOverrides:M,resolveExistingDataSource:V,renderAddressAutocomplete:F,renderSubmitButton:j,fieldProps:H}=n,W=l("undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})),X=l(null),[z,_]=c({}),[Z,Y]=c(!1),[U,J]=c(!1),[$,K]=c(!1),[Q,q]=c(!1),[ee,te]=c([]),[ne,re]=c(""),[ie,oe]=c(null),[ae,le]=c({}),[se,ce]=c([]),ue=f(e=>{ce(e)},[]),de=f((e,t)=>{le(n=>({...n,[e]:t}))},[]),pe=f(e=>{le(t=>{const n={...t};return delete n[e],n})},[]),he=s(()=>v.reduce((e,t)=>{if("formField"!==t.itemType)return e;const n=t.validationGroupId;return null!=n&&null!=n&&(e[n]||(e[n]=[]),e[n].push(t)),e},{}),[v]);a(()=>{if(U&&"undefined"!=typeof window&&X.current){const e=140,t=X.current.offsetTop-e;window.scrollTo({top:t,behavior:"smooth"})}},[U]);const me=s(()=>({fieldErrors:ae,setFieldError:de,clearFieldError:pe,hasError:$,setHasError:K,selectedState:ie,setSelectedState:oe,files:se,setFiles:ue,resolveExistingDataSource:V,fieldComponentOverrides:M,renderAddressAutocomplete:F,onError:D}),[ae,de,pe,$,ie,se,ue,V,M,F,D]),fe=()=>{const e={...z};return v.forEach(t=>{"formField"===t.itemType&&t.applyPresetValidations&&"TN-IP-Validation"===t.selectPresetValidationsToApply&&(e[t.fieldId]=(e=>{const t=null==e?void 0:e.trim();if(!t)return e;if(vx.phone.test(t)){let e=t.replace(/\D/g,"");return 11===e.length&&e.startsWith("1")&&(e=e.slice(1)),e}return vx.ipv4.test(t)||vx.ipv6.test(t)?t:e})(e[t.fieldId]))}),_(e),e},ge=s(()=>({email:k,sftp:P,sms:B,...L||{}}),[k,P,B,L]),ve=async e=>{e.preventDefault(),Y(!0),re("");const t=fe();try{const e=kx(v,!1,t),r=((e,t={})=>kx(e,!0,t).reduce((e,t)=>({...e,...t}),{}))(v,t),i=(n=t,e.filter(e=>{if(!e.requiredField)return!1;const t=n[e.fieldId];return"Checkbox"!==e.fieldType||e.dataSource?""===t||null==t:!0!==t}).map(e=>e.fieldId));if(te(i),Object.keys(he).forEach(e=>{const n=he[e],r=n.map(e=>e.fieldId);if(n.filter(e=>e.validationType===fx.ONE_REQUIRED_FIELD&&(""===t[e.fieldId]||void 0===t[e.fieldId])).length===n.length&&n.length>0)throw te(e=>[...e,...r]),new Dx(fx.REQUIRED_FIELDS_MISSING,r)}),0!==i.length||0!==Object.keys(ae).length)throw new Dx(fx.REQUIRED_FIELDS_MISSING,i);const o=((e,t)=>{const n=Object.fromEntries(Object.entries(t).filter(([,e])=>""!==e&&void 0!==e)),r=kx(e,!1,n);return r.every(e=>{const t=e.formSection;return"string"==typeof t&&""!==t})&&r.length>0?{...Px(r,n)}:{form1:{...n}}})(v,t),a={submissionId:W.current,formName:C,toEmail:A,subject:I,emailTemplate:N,submittedOn:Fx(new Date),formSubmitOptions:b,formData:o,files:se},l=R?R(a,t):a;null==G||G(S,l);let s=l.formSubmitOptions||[];if(!1===T&&s.includes("email")){const e=(E||"").split(",").map(e=>e.trim()).filter(Boolean).join(",");e?l.toEmail=e:s=s.filter(e=>"email"!==e)}const c=s,u=c.includes("post"),d=c.filter(e=>"post"!==e),p=await(async(e,t,n)=>{const r=[],i=JSON.stringify({...t.formData});let o;if(t.files&&t.files.length>0){const e=new FormData;Object.keys(t).forEach(n=>{"files"!==n&&"formData"!==n&&e.append(n,t[n])}),e.append("formData",i),t.files.forEach(t=>e.append("files",t)),o=e}else o={...t,formData:i};const a=((e,t)=>t?e:e.filter(e=>"email"!==e))(e,t.emailTemplate);return await Promise.all(a.map(async e=>{const i=ge[e],a=o instanceof FormData?{headers:{"Content-Type":void 0}}:{};if(i)try{await i(o,{...n,action:e,options:a}),null==G||G(`${S}_${e}_success`,{...t,eventSuccess:!0})}catch(n){r.push(e);const{errorMessage:i,errorStatus:o,errorCode:a}=Bx(n);null==G||G(`${S}_${e}_failure`,{...t,eventSuccess:!1,errorMessage:i,errorStatus:o,errorCode:a}),null==D||D({type:"action_failure",error:Lx(n),metadata:{action:e,submissionId:W.current}})}else{r.push(e);const n=new Error(`Action "${e}" is not supported`),{errorMessage:i,errorStatus:o,errorCode:a}=Bx(n);null==G||G(`${S}_${e}_failure`,{...t,eventSuccess:!1,errorMessage:i,errorStatus:o,errorCode:a}),null==D||D({type:"unsupported_action",error:n,metadata:{action:e}})}})),{error:r.length>0,errorActions:r}})(d,l,{payload:l,formValues:t,sftpMap:r,formSubmitOptions:c,files:se});if(p.error&&d.length===p.errorActions.length)throw new Mx("All form actions failed",p.errorActions,!0);if(p.error)throw new Mx("Some form actions failed",p.errorActions,!1);if(Y(!1),J(!0),u){const e=ge.post;e&&await e({...l},{payload:l,formValues:t,sftpMap:r,formSubmitOptions:c,files:se,action:"post",options:{}})}((e,t)=>e.some(e=>{if(!Tx(e))return!1;const n=e.dataSource;if(!Array.isArray(n))return!1;const r=t[e.fieldId],i=n.find(e=>e.value===r);return!0===(null==i?void 0:i.popup)}))(v,t)?null==O||O(t,{shouldShowPopup:!0}):null==O||O(t,{shouldShowPopup:!1})}catch(e){let t="unknown";e instanceof Dx?(t="validation",re(w)):e instanceof Mx?(t=e.isCompleteFailure?"complete_submission_failure":"partial_submission_failure",e.isCompleteFailure?(J(!1),q(!0)):(J(!0),q(!1))):(t="unexpected",re("An error occurred while submitting the form. Please try again later."),q(!0),J(!1)),null==D||D({type:t,error:Lx(e),metadata:{formName:C,submissionId:W.current,formSubmitOptions:b,segmentEventId:S}}),Y(!1)}finally{Y(!1)}var n};return U?e("div",{ref:X,className:"mx-auto min-h-screen w-full px-4 sm:px-6 lg:px-8",children:e("div",{className:"max-w-2xl mx-auto py-4 sm:py-6 lg:py-8",children:e("div",{...null==H?void 0:H.successMessage,children:h})})}):Q?e("div",{className:"mx-auto min-h-screen w-full px-4 sm:px-6 lg:px-8",children:e("div",{className:"max-w-2xl mx-auto py-4 sm:py-6 lg:py-8",children:e("div",{...null==H?void 0:H.errorMessage,children:m})})}):e("section",{id:r,"aria-labelledby":`${r}-title`,children:e("div",{className:"mx-auto min-h-screen max-w-[800px] px-5 py-8 md:px-5 md:py-20",children:t("div",{className:"pb-8 sm:pb-6 lg:pb-4",children:[t("div",{className:"mb-8 lg:mb-16",children:[i&&e(xr,{as:"h2",className:"heading2 text-center",...null==H?void 0:H.title,children:i}),o&&e(xr,{as:"h3",className:"subheading3 mt-3 text-center",...null==H?void 0:H.subTitle,children:o})]}),d?e("div",{className:"text-center",...null==H?void 0:H.description,children:d}):null,u?e("div",{className:"mb-6 w-full px-2 sm:px-4",children:e(xr,{as:"div",className:"body3 mb-2 text-center text-xl sm:mb-4 md:text-left",...null==H?void 0:H.formHeading,children:u})}):null,e("div",{className:"mt-8 md:mt-16",children:e(bx.Provider,{value:me,children:t("form",{onSubmit:ve,className:_e("flex w-full flex-col gap-5 md:gap-8",g),children:[Ox(Z,v,z,_,ee),ne&&e(xr,{as:"div",className:"footnote text-text-critical",children:ne}),e("div",{className:"flex justify-center",...null==H?void 0:H.submit,children:j?j({isLoading:Z,disabled:$||Z,submitLabel:y,onSubmit:ve}):t(Li,{type:"submit",disabled:$||Z,"aria-label":"Submit Form",className:_e("button-submit mt-3 inline-flex h-[64px] w-full items-center justify-center gap-2 whitespace-nowrap rounded-full bg-bg-fill-brand px-[60px] text-base font-semibold text-text-brand-on-bg-fill transition hover:bg-bg-fill-brand-hover disabled:bg-bg-fill-brand-disabled md:mt-8 md:w-auto",x),children:[Z&&e(Gx,{}),y]})})]})})}),p&&e(xr,{as:"div",className:"footnote m-2",...null==H?void 0:H.disclaimer,children:p})]})})})};export{Di as Accordion,Qy as AddressInputBanner,ax as AnchoredBottomBanner,ji as AwardMarquee,Qd as BlogCard,Yy as BlogGrid,Uy as BlogGridBase,Jy as BreadcrumbNavigation,Jd as Button,dp as Callout,pp as Cards,Cp as Carousel,px as CartRetentionBanner,af as ComparisonTable,lx as CookieBanner,rf as CtaCallout,jx as DynamicForm,zp as DynamicTabs,cx as EmailInputBlock,of as FindKinetic,Ip as FloatingBanner,Np as Footer,mx as IframeEmbed,Ap as ImagePromoBar,Yp as LinksBlock,tf as Modal,Bp as Navigation,_p as OrderedList,Dp as PrimaryHero,fp as ProductCard,$y as SearchBlock,nf as ShapeBackgroundWrapper,ap as SimpleCard,gp as TestimonialCard,Zp as Text,fx as dynamicFormConstants,vx as dynamicFormRegex,Pi as label1BoldOptions,Ti as renderContentfulRichText,ki as renderContentfulRichTextTable,kt as toDocument,Si as useContentfulRichText,Bi as useProcessedChecklist};
|
|
26
26
|
//# sourceMappingURL=index.esm.js.map
|