@windstream/react-shared-components 0.1.56 → 0.1.58
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 +37 -6
- package/dist/contentful/index.esm.js +2 -2
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +3 -3
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/next/index.esm.js +1 -1
- package/dist/next/index.esm.js.map +1 -1
- package/dist/next/index.js +2 -2
- package/dist/next/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/next-image/index.tsx +1 -7
- package/src/contentful/blocks/blogs-grid-base/index.tsx +114 -0
- package/src/contentful/blocks/blogs-grid-base/types.ts +29 -0
- package/src/contentful/blocks/breadcrumbs/index.tsx +81 -76
- package/src/contentful/blocks/breadcrumbs/types.ts +1 -0
- package/src/contentful/index.ts +3 -0
package/dist/index.esm.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as o from"react";import r,{forwardRef as i,useState as a,useCallback as s,useEffect as l,useMemo as c,useRef as u,useContext as d,useLayoutEffect as p,createContext as f,Component as b,Fragment as m}from"react";import g from"next/link";import h from"next/image";import v,{createPortal as y}from"react-dom";function I(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=I(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function C(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=I(e))&&(o&&(o+=" "),o+=t);return o}const x=e=>{const t=N(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),A(n,t)||G(e)},getConflictingClassGroupIds:(e,t)=>{const r=n[e]||[];return t&&o[e]?[...r,...o[e]]:r}}},A=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],o=t.nextPart.get(n),r=o?A(e.slice(1),o):void 0;if(r)return r;if(0===t.validators.length)return;const i=e.join("-");return t.validators.find(({validator:e})=>e(i))?.classGroupId},w=/^\[(.+)\]$/,G=e=>{if(w.test(e)){const t=w.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},N=e=>{const{theme:t,classGroups:n}=e,o={nextPart:new Map,validators:[]};for(const e in n)E(n[e],o,e,t);return o},E=(e,t,n,o)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:R(t,e)).classGroupId=n)}if("function"==typeof e)return O(e)?void E(e(o),t,n,o):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,r])=>{E(r,R(t,e),n,o)})})},R=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},O=e=>e.isThemeGetter,B=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,o=new Map;const r=(r,i)=>{n.set(r,i),t++,t>e&&(t=0,o=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=o.get(e))?(r(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):r(e,t)}}},T=e=>{const{prefix:t,experimentalParseClassName:n}=e;let o=e=>{const t=[];let n,o=0,r=0,i=0;for(let a=0;a<e.length;a++){let s=e[a];if(0===o&&0===r){if(":"===s){t.push(e.slice(i,a)),i=a+1;continue}if("/"===s){n=a;continue}}"["===s?o++:"]"===s?o--:"("===s?r++:")"===s&&r--}const a=0===t.length?e:e.substring(i),s=k(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,maybePostfixModifierPosition:n&&n>i?n-i:void 0}};if(t){const e=t+":",n=o;o=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=o;o=t=>n({className:t,parseClassName:e})}return o},k=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,S=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let o=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...o.sort(),e),o=[]):o.push(e)}),n.push(...o.sort()),n}},V=/\s+/;function X(){let e,t,n=0,o="";for(;n<arguments.length;)(e=arguments[n++])&&(t=W(e))&&(o&&(o+=" "),o+=t);return o}const W=e=>{if("string"==typeof e)return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=W(e[o]))&&(n&&(n+=" "),n+=t);return n};function P(e,...t){let n,o,r,i=function(s){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:B(e.cacheSize),parseClassName:T(e),sortModifiers:S(e),...x(e)}))(l),o=n.cache.get,r=n.cache.set,i=a,a(s)};function a(e){const t=o(e);if(t)return t;const i=((e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:i}=t,a=[],s=e.trim().split(V);let l="";for(let e=s.length-1;e>=0;e-=1){const t=s[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let b=!!f,m=o(b?p.substring(0,f):p);if(!m){if(!b){l=t+(l.length>0?" "+l:l);continue}if(m=o(p),!m){l=t+(l.length>0?" "+l:l);continue}b=!1}const g=i(u).join(":"),h=d?g+"!":g,v=h+m;if(a.includes(v))continue;a.push(v);const y=r(m,b);for(let e=0;e<y.length;++e){const t=y[e];a.push(h+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return r(e,i),i}return function(){return i(X.apply(null,arguments))}}const M=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},H=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,L=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Z=/^\d+\/\d+$/,D=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,F=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,z=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Y=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,j=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,J=e=>Z.test(e),_=e=>!!e&&!Number.isNaN(Number(e)),U=e=>!!e&&Number.isInteger(Number(e)),Q=e=>e.endsWith("%")&&_(e.slice(0,-1)),$=e=>D.test(e),K=()=>!0,q=e=>F.test(e)&&!z.test(e),ee=()=>!1,te=e=>Y.test(e),ne=e=>j.test(e),oe=e=>!ie(e)&&!de(e),re=e=>ve(e,xe,ee),ie=e=>H.test(e),ae=e=>ve(e,Ae,q),se=e=>ve(e,we,_),le=e=>ve(e,Ie,ee),ce=e=>ve(e,Ce,ne),ue=e=>ve(e,Ne,te),de=e=>L.test(e),pe=e=>ye(e,Ae),fe=e=>ye(e,Ge),be=e=>ye(e,Ie),me=e=>ye(e,xe),ge=e=>ye(e,Ce),he=e=>ye(e,Ne,!0),ve=(e,t,n)=>{const o=H.exec(e);return!!o&&(o[1]?t(o[1]):n(o[2]))},ye=(e,t,n=!1)=>{const o=L.exec(e);return!!o&&(o[1]?t(o[1]):n)},Ie=e=>"position"===e||"percentage"===e,Ce=e=>"image"===e||"url"===e,xe=e=>"length"===e||"size"===e||"bg-size"===e,Ae=e=>"length"===e,we=e=>"number"===e,Ge=e=>"family-name"===e,Ne=e=>"shadow"===e,Ee=()=>{const e=M("color"),t=M("font"),n=M("text"),o=M("font-weight"),r=M("tracking"),i=M("leading"),a=M("breakpoint"),s=M("container"),l=M("spacing"),c=M("radius"),u=M("shadow"),d=M("inset-shadow"),p=M("text-shadow"),f=M("drop-shadow"),b=M("blur"),m=M("perspective"),g=M("aspect"),h=M("ease"),v=M("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",de,ie],I=()=>[de,ie,l],C=()=>[J,"full","auto",...I()],x=()=>[U,"none","subgrid",de,ie],A=()=>["auto",{span:["full",U,de,ie]},U,de,ie],w=()=>[U,"auto",de,ie],G=()=>["auto","min","max","fr",de,ie],N=()=>["auto",...I()],E=()=>[J,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...I()],R=()=>[e,de,ie],O=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",be,le,{position:[de,ie]}],B=()=>["auto","cover","contain",me,re,{size:[de,ie]}],T=()=>[Q,pe,ae],k=()=>["","none","full",c,de,ie],S=()=>["",_,pe,ae],V=()=>[_,Q,be,le],X=()=>["","none",b,de,ie],W=()=>["none",_,de,ie],P=()=>["none",_,de,ie],H=()=>[_,de,ie],L=()=>[J,"full",...I()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[$],breakpoint:[$],color:[K],container:[$],"drop-shadow":[$],ease:["in","out","in-out"],font:[oe],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[$],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[$],shadow:[$],spacing:["px",_],text:[$],"text-shadow":[$],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",J,ie,de,g]}],container:["container"],columns:[{columns:[_,ie,de,s]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:C()}],"inset-x":[{"inset-x":C()}],"inset-y":[{"inset-y":C()}],start:[{start:C()}],end:[{end:C()}],top:[{top:C()}],right:[{right:C()}],bottom:[{bottom:C()}],left:[{left:C()}],visibility:["visible","invisible","collapse"],z:[{z:[U,"auto",de,ie]}],basis:[{basis:[J,"full","auto",s,...I()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[_,J,"auto","initial","none",ie]}],grow:[{grow:["",_,de,ie]}],shrink:[{shrink:["",_,de,ie]}],order:[{order:[U,"first","last","none",de,ie]}],"grid-cols":[{"grid-cols":x()}],"col-start-end":[{col:A()}],"col-start":[{"col-start":w()}],"col-end":[{"col-end":w()}],"grid-rows":[{"grid-rows":x()}],"row-start-end":[{row:A()}],"row-start":[{"row-start":w()}],"row-end":[{"row-end":w()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":G()}],"auto-rows":[{"auto-rows":G()}],gap:[{gap:I()}],"gap-x":[{"gap-x":I()}],"gap-y":[{"gap-y":I()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:I()}],px:[{px:I()}],py:[{py:I()}],ps:[{ps:I()}],pe:[{pe:I()}],pt:[{pt:I()}],pr:[{pr:I()}],pb:[{pb:I()}],pl:[{pl:I()}],m:[{m:N()}],mx:[{mx:N()}],my:[{my:N()}],ms:[{ms:N()}],me:[{me:N()}],mt:[{mt:N()}],mr:[{mr:N()}],mb:[{mb:N()}],ml:[{ml:N()}],"space-x":[{"space-x":I()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":I()}],"space-y-reverse":["space-y-reverse"],size:[{size:E()}],w:[{w:[s,"screen",...E()]}],"min-w":[{"min-w":[s,"screen","none",...E()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...E()]}],h:[{h:["screen","lh",...E()]}],"min-h":[{"min-h":["screen","lh","none",...E()]}],"max-h":[{"max-h":["screen","lh",...E()]}],"font-size":[{text:["base",n,pe,ae]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,de,se]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Q,ie]}],"font-family":[{font:[fe,ie,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,de,ie]}],"line-clamp":[{"line-clamp":[_,"none",de,se]}],leading:[{leading:[i,...I()]}],"list-image":[{"list-image":["none",de,ie]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",de,ie]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:R()}],"text-color":[{text:R()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[_,"from-font","auto",de,ae]}],"text-decoration-color":[{decoration:R()}],"underline-offset":[{"underline-offset":[_,"auto",de,ie]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",de,ie]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",de,ie]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:O()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:B()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},U,de,ie],radial:["",de,ie],conic:[U,de,ie]},ge,ce]}],"bg-color":[{bg:R()}],"gradient-from-pos":[{from:T()}],"gradient-via-pos":[{via:T()}],"gradient-to-pos":[{to:T()}],"gradient-from":[{from:R()}],"gradient-via":[{via:R()}],"gradient-to":[{to:R()}],rounded:[{rounded:k()}],"rounded-s":[{"rounded-s":k()}],"rounded-e":[{"rounded-e":k()}],"rounded-t":[{"rounded-t":k()}],"rounded-r":[{"rounded-r":k()}],"rounded-b":[{"rounded-b":k()}],"rounded-l":[{"rounded-l":k()}],"rounded-ss":[{"rounded-ss":k()}],"rounded-se":[{"rounded-se":k()}],"rounded-ee":[{"rounded-ee":k()}],"rounded-es":[{"rounded-es":k()}],"rounded-tl":[{"rounded-tl":k()}],"rounded-tr":[{"rounded-tr":k()}],"rounded-br":[{"rounded-br":k()}],"rounded-bl":[{"rounded-bl":k()}],"border-w":[{border:S()}],"border-w-x":[{"border-x":S()}],"border-w-y":[{"border-y":S()}],"border-w-s":[{"border-s":S()}],"border-w-e":[{"border-e":S()}],"border-w-t":[{"border-t":S()}],"border-w-r":[{"border-r":S()}],"border-w-b":[{"border-b":S()}],"border-w-l":[{"border-l":S()}],"divide-x":[{"divide-x":S()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":S()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:R()}],"border-color-x":[{"border-x":R()}],"border-color-y":[{"border-y":R()}],"border-color-s":[{"border-s":R()}],"border-color-e":[{"border-e":R()}],"border-color-t":[{"border-t":R()}],"border-color-r":[{"border-r":R()}],"border-color-b":[{"border-b":R()}],"border-color-l":[{"border-l":R()}],"divide-color":[{divide:R()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[_,de,ie]}],"outline-w":[{outline:["",_,pe,ae]}],"outline-color":[{outline:R()}],shadow:[{shadow:["","none",u,he,ue]}],"shadow-color":[{shadow:R()}],"inset-shadow":[{"inset-shadow":["none",d,he,ue]}],"inset-shadow-color":[{"inset-shadow":R()}],"ring-w":[{ring:S()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:R()}],"ring-offset-w":[{"ring-offset":[_,ae]}],"ring-offset-color":[{"ring-offset":R()}],"inset-ring-w":[{"inset-ring":S()}],"inset-ring-color":[{"inset-ring":R()}],"text-shadow":[{"text-shadow":["none",p,he,ue]}],"text-shadow-color":[{"text-shadow":R()}],opacity:[{opacity:[_,de,ie]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[_]}],"mask-image-linear-from-pos":[{"mask-linear-from":V()}],"mask-image-linear-to-pos":[{"mask-linear-to":V()}],"mask-image-linear-from-color":[{"mask-linear-from":R()}],"mask-image-linear-to-color":[{"mask-linear-to":R()}],"mask-image-t-from-pos":[{"mask-t-from":V()}],"mask-image-t-to-pos":[{"mask-t-to":V()}],"mask-image-t-from-color":[{"mask-t-from":R()}],"mask-image-t-to-color":[{"mask-t-to":R()}],"mask-image-r-from-pos":[{"mask-r-from":V()}],"mask-image-r-to-pos":[{"mask-r-to":V()}],"mask-image-r-from-color":[{"mask-r-from":R()}],"mask-image-r-to-color":[{"mask-r-to":R()}],"mask-image-b-from-pos":[{"mask-b-from":V()}],"mask-image-b-to-pos":[{"mask-b-to":V()}],"mask-image-b-from-color":[{"mask-b-from":R()}],"mask-image-b-to-color":[{"mask-b-to":R()}],"mask-image-l-from-pos":[{"mask-l-from":V()}],"mask-image-l-to-pos":[{"mask-l-to":V()}],"mask-image-l-from-color":[{"mask-l-from":R()}],"mask-image-l-to-color":[{"mask-l-to":R()}],"mask-image-x-from-pos":[{"mask-x-from":V()}],"mask-image-x-to-pos":[{"mask-x-to":V()}],"mask-image-x-from-color":[{"mask-x-from":R()}],"mask-image-x-to-color":[{"mask-x-to":R()}],"mask-image-y-from-pos":[{"mask-y-from":V()}],"mask-image-y-to-pos":[{"mask-y-to":V()}],"mask-image-y-from-color":[{"mask-y-from":R()}],"mask-image-y-to-color":[{"mask-y-to":R()}],"mask-image-radial":[{"mask-radial":[de,ie]}],"mask-image-radial-from-pos":[{"mask-radial-from":V()}],"mask-image-radial-to-pos":[{"mask-radial-to":V()}],"mask-image-radial-from-color":[{"mask-radial-from":R()}],"mask-image-radial-to-color":[{"mask-radial-to":R()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[_]}],"mask-image-conic-from-pos":[{"mask-conic-from":V()}],"mask-image-conic-to-pos":[{"mask-conic-to":V()}],"mask-image-conic-from-color":[{"mask-conic-from":R()}],"mask-image-conic-to-color":[{"mask-conic-to":R()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:O()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:B()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",de,ie]}],filter:[{filter:["","none",de,ie]}],blur:[{blur:X()}],brightness:[{brightness:[_,de,ie]}],contrast:[{contrast:[_,de,ie]}],"drop-shadow":[{"drop-shadow":["","none",f,he,ue]}],"drop-shadow-color":[{"drop-shadow":R()}],grayscale:[{grayscale:["",_,de,ie]}],"hue-rotate":[{"hue-rotate":[_,de,ie]}],invert:[{invert:["",_,de,ie]}],saturate:[{saturate:[_,de,ie]}],sepia:[{sepia:["",_,de,ie]}],"backdrop-filter":[{"backdrop-filter":["","none",de,ie]}],"backdrop-blur":[{"backdrop-blur":X()}],"backdrop-brightness":[{"backdrop-brightness":[_,de,ie]}],"backdrop-contrast":[{"backdrop-contrast":[_,de,ie]}],"backdrop-grayscale":[{"backdrop-grayscale":["",_,de,ie]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[_,de,ie]}],"backdrop-invert":[{"backdrop-invert":["",_,de,ie]}],"backdrop-opacity":[{"backdrop-opacity":[_,de,ie]}],"backdrop-saturate":[{"backdrop-saturate":[_,de,ie]}],"backdrop-sepia":[{"backdrop-sepia":["",_,de,ie]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":I()}],"border-spacing-x":[{"border-spacing-x":I()}],"border-spacing-y":[{"border-spacing-y":I()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",de,ie]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[_,"initial",de,ie]}],ease:[{ease:["linear","initial",h,de,ie]}],delay:[{delay:[_,de,ie]}],animate:[{animate:["none",v,de,ie]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,de,ie]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:W()}],"rotate-x":[{"rotate-x":W()}],"rotate-y":[{"rotate-y":W()}],"rotate-z":[{"rotate-z":W()}],scale:[{scale:P()}],"scale-x":[{"scale-x":P()}],"scale-y":[{"scale-y":P()}],"scale-z":[{"scale-z":P()}],"scale-3d":["scale-3d"],skew:[{skew:H()}],"skew-x":[{"skew-x":H()}],"skew-y":[{"skew-y":H()}],transform:[{transform:[de,ie,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:L()}],"translate-x":[{"translate-x":L()}],"translate-y":[{"translate-y":L()}],"translate-z":[{"translate-z":L()}],"translate-none":["translate-none"],accent:[{accent:R()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:R()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",de,ie]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",de,ie]}],fill:[{fill:["none",...R()]}],"stroke-w":[{stroke:[_,pe,ae,se]}],stroke:[{stroke:["none",...R()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Re=(e,t,n)=>{void 0!==n&&(e[t]=n)},Oe=(e,t)=>{if(t)for(const n in t)Re(e,n,t[n])},Be=(e,t)=>{if(t)for(const n in t)Te(e,t,n)},Te=(e,t,n)=>{const o=t[n];void 0!==o&&(e[n]=e[n]?e[n].concat(o):o)},ke=((e,...t)=>"function"==typeof e?P(Ee,e,...t):P(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:o,extend:r={},override:i={}})=>(Re(e,"cacheSize",t),Re(e,"prefix",n),Re(e,"experimentalParseClassName",o),Oe(e.theme,i.theme),Oe(e.classGroups,i.classGroups),Oe(e.conflictingClassGroups,i.conflictingClassGroups),Oe(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),Re(e,"orderSensitiveModifiers",i.orderSensitiveModifiers),Be(e.theme,r.theme),Be(e.classGroups,r.classGroups),Be(e.conflictingClassGroups,r.conflictingClassGroups),Be(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),Te(e,r,"orderSensitiveModifiers"),e))(Ee(),e),...t))({extend:{classGroups:{"font-variants":["heading1","heading2","heading3","heading4","heading5","heading6","subheading1","subheading2","subheading3","subheading4","subheading5","subheading6","body1","body2","body3","footnote","micro","label1","label2","label3","label4"],"button-sizes":["btn-small","btn-medium","btn-large","btn-x-large"]}}}),Se=(...e)=>ke(C(...e));
|
|
4
4
|
/*! js-cookie v3.0.5 | MIT */
|
|
5
|
-
function Ve(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}!function e(t,n){function o(e,o,r){if("undefined"!=typeof document){"number"==typeof(r=Ve({},n,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var a in r)r[a]&&(i+="; "+a,!0!==r[a]&&(i+="="+r[a].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+i}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],o={},r=0;r<n.length;r++){var i=n[r].split("="),a=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(o[s]=t.read(a,s),e===s)break}catch(e){}}return e?o[e]:o}},remove:function(e,t){o(e,"",Ve({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,Ve({},this.attributes,t))},withConverter:function(t){return e(Ve({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});var Xe=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({}),We=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({});const Pe=[Xe.PARAGRAPH,Xe.HEADING_1,Xe.HEADING_2,Xe.HEADING_3,Xe.HEADING_4,Xe.HEADING_5,Xe.HEADING_6,Xe.OL_LIST,Xe.UL_LIST,Xe.HR,Xe.QUOTE,Xe.EMBEDDED_ENTRY,Xe.EMBEDDED_ASSET,Xe.EMBEDDED_RESOURCE,Xe.TABLE],Me=[Xe.PARAGRAPH,Xe.HEADING_1,Xe.HEADING_2,Xe.HEADING_3,Xe.HEADING_4,Xe.HEADING_5,Xe.HEADING_6,Xe.OL_LIST,Xe.UL_LIST,Xe.HR,Xe.QUOTE,Xe.EMBEDDED_ENTRY,Xe.EMBEDDED_ASSET,Xe.EMBEDDED_RESOURCE];Xe.TABLE,Xe.TABLE_ROW,Xe.TABLE_CELL,Xe.TABLE_HEADER_CELL,Xe.HR,Xe.EMBEDDED_ENTRY,Xe.EMBEDDED_ASSET,Xe.EMBEDDED_RESOURCE;const He={[Xe.OL_LIST]:[Xe.LIST_ITEM],[Xe.UL_LIST]:[Xe.LIST_ITEM],[Xe.LIST_ITEM]:Me,[Xe.QUOTE]:[Xe.PARAGRAPH],[Xe.TABLE]:[Xe.TABLE_ROW],[Xe.TABLE_ROW]:[Xe.TABLE_CELL,Xe.TABLE_HEADER_CELL],[Xe.TABLE_CELL]:[Xe.PARAGRAPH,Xe.UL_LIST,Xe.OL_LIST],[Xe.TABLE_HEADER_CELL]:[Xe.PARAGRAPH]};Xe.HEADING_1,Xe.HEADING_2,Xe.HEADING_3,Xe.HEADING_4,Xe.HEADING_5,Xe.HEADING_6;Xe.PARAGRAPH,Xe.DOCUMENT,Xe.PARAGRAPH,Xe.HEADING_1,Xe.HEADING_2,Xe.HEADING_3,Xe.HEADING_4,Xe.HEADING_5,Xe.HEADING_6,Xe.OL_LIST,Xe.UL_LIST,Xe.LIST_ITEM,Xe.HR,Xe.QUOTE,Xe.EMBEDDED_ENTRY,Xe.EMBEDDED_ASSET,We.HYPERLINK,We.ENTRY_HYPERLINK,We.ASSET_HYPERLINK,We.EMBEDDED_ENTRY,Xe.DOCUMENT,Xe.PARAGRAPH;const Le=({path:e,property:t,typeName:n,value:o})=>({details:`The type of "${t}" is incorrect, expected type: ${n}`,name:"type",path:e.toArray(),type:n,value:o});class Ze{obj;path;_errors=[];constructor(e,t){this.obj=e,this.path=t}catch=(...e)=>{this._errors.push(...e)};get errors(){const e=e=>JSON.stringify({details:e.details,path:e.path});return this._errors.filter((t,n)=>this._errors.findIndex(n=>e(t)===e(n))===n)}exists=e=>e in this.obj||(this.catch((({property:e,path:t})=>({details:`The property "${e}" is required here`,name:"required",path:t.toArray()}))({property:e,path:this.path.of(e)})),!1);object=e=>{const t=e?this.obj[e]:this.obj;if(e&&!this.exists(e))return!1;if("object"==typeof t&&!Array.isArray(t)&&null!==t)return!0;const n=e?this.path.of(e):this.path,o=e??this.path.last()??"value";return this.catch(Le({typeName:"Object",property:o,path:n,value:t})),!1};string=e=>{const t=this.obj[e];return!(e&&!this.exists(e))&&("string"==typeof t||(this.catch(Le({typeName:"String",property:e,path:this.path.of(e),value:t})),!1))};number=(e,t)=>{const n=this.obj[e];return!(!t||e in this.obj)||!!this.exists(e)&&("number"==typeof n&&!Number.isNaN(n)||(this.catch(Le({typeName:"Number",property:e,path:this.path.of(e),value:n})),!1))};array=e=>{const t=this.obj[e];return!(e&&!this.exists(e))&&(!!Array.isArray(t)||(this.catch(Le({typeName:"Array",property:e,path:this.path.of(e),value:t})),!1))};enum=(e,t)=>{const n=this.obj[e];return!("string"!=typeof n||!t.includes(n))||(this.catch((({expected:e,value:t,path:n})=>({details:"Value must be one of expected values",name:"in",expected:[...e].sort(),path:n.toArray(),value:t}))({expected:t,value:n,path:this.path.of(e)})),!1)};empty=e=>{if(!this.array(e))return!1;const t=this.obj[e];return 0===t.length||(this.catch((({max:e,value:t,path:n})=>({name:"size",max:e,path:n.toArray(),details:`Size must be at most ${e}`,value:t}))({max:0,value:t,path:this.path.of(e)})),!1)};minLength=(e,t)=>{if(!this.array(e))return!1;const n=this.obj[e];return n.length>=t||(this.catch((({min:e,value:t,path:n})=>({name:"size",min:e,path:n.toArray(),details:`Size must be at least ${e}`,value:t}))({min:t,value:n,path:this.path.of(e)})),!1)};noAdditionalProperties=e=>{const t=Object.keys(this.obj).sort().filter(t=>!e.includes(t));return t.forEach(e=>this.catch((({property:e,path:t})=>({details:`The property "${e}" is not expected`,name:"unexpected",path:t.toArray()}))({property:e,path:this.path.of(e)}))),0===t.length};each=(e,t)=>{if(!this.array(e))return;const n=this.obj[e];let o=!1;n.forEach((n,r)=>{if(o)return;const i=t(n,this.path.of(e).of(r));i.length>0&&(o=!0),this.catch(...i)})}}const De=[];class Fe{contentRule;validateData;constructor(e,t){this.contentRule=e,this.validateData=t}assert(e,t){const n=new Ze(e,t);if(!n.object())return n.errors;n.noAdditionalProperties(["nodeType","data","content"]);const{nodeTypes:o,min:r=0}=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t);if(0===o.length&&r>0)throw new Error(`Invalid content rule. Cannot have enforce a 'min' of ${r} with no nodeTypes`);if(n.minLength("content",r),0===o.length?n.empty("content"):n.each("content",(e,t)=>{const n=new Ze(e,t);return n.object()?(n.enum("nodeType",o),n.errors):n.errors}),n.object("data")){const o=this.validateData?.(e.data,t.of("data"))??[];n.catch(...o)}return n.errors}}class ze extends Fe{linkType;type;constructor(e,t){super(t,(e,t)=>this.assertLink(e,t)),this.linkType=e,this.type=this.linkType.startsWith("Contentful:")?"ResourceLink":"Link"}assertLink=(e,t)=>{const n=new Ze(e,t);if(n.object("target")){const o=new Ze(e.target.sys,t.of("target").of("sys"));o.object()&&(o.enum("type",[this.type]),o.enum("linkType",[this.linkType]),"Link"===this.type?(o.string("id"),o.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===this.type&&(o.string("urn"),o.noAdditionalProperties(["type","linkType","urn"]))),n.catch(...o.errors)}return n.noAdditionalProperties(["target"]),n.errors}}const Ye=(e,t)=>new Fe(e,t),je=(e,t)=>new ze(e,t);Ye([...Object.values(We),"text"].sort()),Ye([Xe.LIST_ITEM]),je("Entry",De),Ye(()=>({nodeTypes:[Xe.PARAGRAPH],min:1}),(e,t)=>{const n=new Ze(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});Xe.DOCUMENT,Ye(Pe),Xe.PARAGRAPH,Xe.HEADING_1,Xe.HEADING_2,Xe.HEADING_3,Xe.HEADING_4,Xe.HEADING_5,Xe.HEADING_6,Xe.QUOTE,Ye(He[Xe.QUOTE]),Xe.EMBEDDED_ENTRY,Xe.EMBEDDED_ASSET,je("Asset",De),Xe.EMBEDDED_RESOURCE,je("Contentful:Entry",De),Xe.HR,Ye(De),Xe.OL_LIST,Xe.UL_LIST,Xe.LIST_ITEM,Ye([...Me].sort()),Xe.TABLE,Ye(()=>({nodeTypes:[Xe.TABLE_ROW],min:1})),Xe.TABLE_ROW,Ye(()=>({nodeTypes:[Xe.TABLE_CELL,Xe.TABLE_HEADER_CELL],min:1})),Xe.TABLE_CELL,Xe.TABLE_HEADER_CELL,We.HYPERLINK,new class extends Fe{constructor(){super(["text"],(e,t)=>this.assertLink(e,t))}assertLink=(e,t)=>{const n=new Ze(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}},We.EMBEDDED_ENTRY,We.EMBEDDED_RESOURCE,je("Contentful:Entry",De),We.ENTRY_HYPERLINK,je("Entry",["text"]),We.ASSET_HYPERLINK,je("Asset",["text"]),We.RESOURCE_HYPERLINK,je("Contentful:Entry",["text"]),Xe.DOCUMENT,Xe.PARAGRAPH,Xe.HEADING_1,Xe.HEADING_2,Xe.HEADING_3,Xe.HEADING_4,Xe.HEADING_5,Xe.HEADING_6,Xe.EMBEDDED_ENTRY,Xe.EMBEDDED_RESOURCE,Xe.UL_LIST,Xe.OL_LIST,Xe.LIST_ITEM,Xe.QUOTE,Xe.HR,Xe.TABLE,Xe.TABLE_ROW,Xe.TABLE_HEADER_CELL,Xe.TABLE_CELL,We.ASSET_HYPERLINK,We.ENTRY_HYPERLINK,We.RESOURCE_HYPERLINK,We.EMBEDDED_ENTRY,We.EMBEDDED_RESOURCE,We.HYPERLINK;const Je={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},_e=i(({children:t,className:n="",variant:o="unstyled",style:r,...i},a)=>{const s=Se("unstyled"===o?"":"mb-1 leading-6","list-item",`list-item--${o}`,n);return e("li",{ref:a,className:s,style:r,...i,children:t})});_e.displayName="ListItem";const Ue=i(({type:t="ul",items:n,className:o="",renderItem:r,children:i,variant:a="unstyled",style:s,...l},c)=>{const u=(()=>{if("unstyled"===a)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=Se(u,`list--${t}`,`list--${a}`,o),p=i||(n&&0!==n.length?n.map((t,n)=>r?r(t,n):e(_e,{className:t.className,variant:a,children:t.content},t.id||n)):null),f={className:d,style:s,...l,children:p};return e("ol"===t?"ol":"ul",{...f,ref:c})});Ue.displayName="List";const Qe=({name:t,fill:n=0,opticalSize:o="48dp",weight:r="200",emphasis:i=145,size:a=24,color:s="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${r}, 'GRAD' ${i}, 'opsz' ${o.substring(0,2)}`,fontSize:`${a}px`,fontFamily:"'Material Symbols Rounded'",color:s||"currentColor",...l};return e("span",{style:p,className:Se("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};Qe.displayName="MaterialIcon";const $e=i(({children:e,as:t,className:n="",style:o,...i},a)=>{const s=t||"p";return r.createElement(s,{ref:a,className:n,style:o,...i},e)});$e.displayName="Text";const Ke=n=>{const{items:o,listIconName:r="check",listItemClassName:i,listContainerClassName:a,iconSize:s=20,iconPosition:l="center",iconColor:c="green",iconClassName:u}=n,d="disc"!==r;return(null==o?void 0:o.length)?e(Ue,{className:Se("mt-2 space-y-1",a),variant:d?"unstyled":"default",children:o.map((n,o)=>t(_e,{variant:d?"unstyled":"default",className:Se(`${d?"flex":""} ${"top"===l?"items-start":"items-center"} gap-2 text-text-secondary`,i),children:[d&&e("div",{className:"flex leading-none",children:e(Qe,{name:r,size:s,color:Je[c],weight:"600",className:Se("block","top"===l?"mt-1":"",u)})}),e($e,{as:"div",children:n})]},o))}):null};Ke.displayName="Checklist";const qe=i(({children:t,href:n,className:o="",onClick:r,variant:i="unstyled",style:a,external:s=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===i)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[i]||e.default,t].filter(Boolean).join(" ")})(),p=e=>{l?e.preventDefault():null==r||r(e)},f=Se(d,`link--${i}`,l&&"link--disabled",o),b={...c,ref:u,className:f,style:a,href:l?void 0:n,onClick:p,...s&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return s||"string"==typeof n&&n.startsWith("http")?e("a",{...b,children:t}):e(g,{href:n||"#",className:f,onClick:p,...c,children:t})});qe.displayName="Link",Xe.PARAGRAPH,Xe.HEADING_1,Xe.HEADING_2,Xe.HEADING_3,Xe.HEADING_4,Xe.HEADING_5,Xe.HEADING_6,Xe.QUOTE,Xe.UL_LIST,Xe.OL_LIST,Xe.LIST_ITEM,We.HYPERLINK,Xe.EMBEDDED_ASSET,Xe.EMBEDDED_ENTRY,We.EMBEDDED_ENTRY;const et=i(({children:t,className:n="",style:o,disabled:r,...i},a)=>e("button",{ref:a,className:Se(n),style:o,disabled:r,...i,children:t}));et.displayName="Button";const tt=(n,o)=>{const{className:r,size:i,required:l,placeholder:c,label:u,state:d,errorText:p,prefixIconName:f,prefixIconFill:b=!0,suffixIconFill:m=!1,prefixIconSize:g=24,suffixIconName:h,suffixIconSize:v=24,containerClassName:y,prefixIconClassName:I,loading:C,hasError:x,type:A,...w}=n,G=x?"error":d,[N,E]=a(!1),[R,O]=a(!1),[B,T]=a(A||"text"),k=s(e=>{e.stopPropagation(),T(e=>"password"===e?"text":"password")},[]);return t("div",{className:"relative",children:[u?e("label",{htmlFor:u,className:Se("inline-block pb-1"),children:t($e,{as:"span",className:"footnote text-text",children:[u,l?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:Se("relative flex flex-row items-center overflow-hidden rounded-input border border-input-border bg-input-bg-surface",{sm:"h-[48px] px-3 py-2",slim:"h-12",medium:"h-14",large:"h-[60px]"}[i||"medium"],y,(N||"hover"===G)&&!R&&"error"!==G&&"border-input-border-hover",(R||"focus"===G||"active"===G)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===G&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[f?e("div",{className:"mr-1",style:{width:g,height:g,overflow:"hidden"},children:e(Qe,{name:f,fill:b?1:0,size:g,className:Se(I)})}):null,e("input",{ref:o,id:u,disabled:C||w.disabled,className:Se("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===i&&"text-body3",r),placeholder:c,type:B,...w,onMouseOver:()=>E(!0),onMouseOut:()=>E(!1),onFocus:e=>{var t;null===(t=w.onFocus)||void 0===t||t.call(w,e),O(!0)},onBlur:e=>{var t;null===(t=w.onBlur)||void 0===t||t.call(w,e),O(!1)}}),h?e("div",{className:"ml-2",style:{width:v,height:v,overflow:"hidden"},onClick:k,children:e(Qe,{name:"text"===B?"visibility":"visibility_off",size:v,fill:m?1:0})}):null]}),"error"===G&&p&&""!=p?t($e,{className:Se("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(Qe,{name:"info",size:20,className:"mr-1"}),p||"Error"]}):null]})},nt=i(tt);nt.displayName="Input";const ot=i(({as:t,className:n="",...o},r)=>{const i=Se(n);if(t){return e(t,{ref:r,className:i,...o})}return e("img",{ref:r,className:i,...o})});ot.displayName="Image";const rt="function"==typeof h.default?h.default:h,it=({src:e,width:t,quality:n})=>{const o=new URL(e);return o.searchParams.set("w",String(t)),o.searchParams.set("q",String(n||90)),o.searchParams.set("fm","webp"),o.toString()},at=i(({className:t,...n},o)=>{const r="string"==typeof n.src?n.src:"",i=r.toLowerCase().split("?")[0]||"",a=r.includes("images.ctfassets.net"),s=a&&i.endsWith(".svg"),l=a&&!s?{loader:it,unoptimized:!1}:{unoptimized:s};return e(rt,{ref:o,className:Se(t),...n,...l})});at.displayName="NextImage";const st=n=>{const{color:o="#fff",size:r="medium"}=n;return t("div",{role:"status",className:"relative flex flex-row items-center",children:[t("svg",{"aria-hidden":"true",className:Se("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"}[r],n.className),style:{animation:"spin 0.75s linear infinite"},viewBox:"0 0 100 100",fill:o,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..."})]})};st.displayName="Spinner";const lt=n=>{const{showBlinkDot:o=!1,buttonStyle:r="primary",size:i="md",children:a,className:s,...l}=n;return t(qe,{...l,className:Se("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[i],{primary:"border-[0.727px] border-border text-text"}[r],s),children:[o?e("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[i]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[i]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e("span",{className:`relative inline-flex ${{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[i]} items-center justify-center rounded-full bg-icon-brand`,children:e(Qe,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[i],className:"text-white"})}),e("span",{className:"font-normal tracking-wide",children:a})]})};function ct(e,t){l(()=>{if("undefined"==typeof document)return;const n=window.innerWidth-document.documentElement.clientWidth;return document.body.style.marginRight=e?`${n}px`:"unset",document.body.style.overflow=e?"hidden":t?"unset":document.body.style.overflow,()=>{document.body.style.overflow="unset"}},[e,t])}function ut(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function dt(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})}),n}lt.displayName="CallButton";var pt,ft={exports:{}},bt={},mt={exports:{}},gt={exports:{}},ht={};var vt,yt,It,Ct,xt,At,wt,Gt,Nt,Et,Rt,Ot,Bt,Tt,kt,St={};
|
|
5
|
+
function Ve(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}!function e(t,n){function o(e,o,r){if("undefined"!=typeof document){"number"==typeof(r=Ve({},n,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var a in r)r[a]&&(i+="; "+a,!0!==r[a]&&(i+="="+r[a].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+i}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],o={},r=0;r<n.length;r++){var i=n[r].split("="),a=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(o[s]=t.read(a,s),e===s)break}catch(e){}}return e?o[e]:o}},remove:function(e,t){o(e,"",Ve({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,Ve({},this.attributes,t))},withConverter:function(t){return e(Ve({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});var Xe=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({}),We=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({});const Pe=[Xe.PARAGRAPH,Xe.HEADING_1,Xe.HEADING_2,Xe.HEADING_3,Xe.HEADING_4,Xe.HEADING_5,Xe.HEADING_6,Xe.OL_LIST,Xe.UL_LIST,Xe.HR,Xe.QUOTE,Xe.EMBEDDED_ENTRY,Xe.EMBEDDED_ASSET,Xe.EMBEDDED_RESOURCE,Xe.TABLE],Me=[Xe.PARAGRAPH,Xe.HEADING_1,Xe.HEADING_2,Xe.HEADING_3,Xe.HEADING_4,Xe.HEADING_5,Xe.HEADING_6,Xe.OL_LIST,Xe.UL_LIST,Xe.HR,Xe.QUOTE,Xe.EMBEDDED_ENTRY,Xe.EMBEDDED_ASSET,Xe.EMBEDDED_RESOURCE];Xe.TABLE,Xe.TABLE_ROW,Xe.TABLE_CELL,Xe.TABLE_HEADER_CELL,Xe.HR,Xe.EMBEDDED_ENTRY,Xe.EMBEDDED_ASSET,Xe.EMBEDDED_RESOURCE;const He={[Xe.OL_LIST]:[Xe.LIST_ITEM],[Xe.UL_LIST]:[Xe.LIST_ITEM],[Xe.LIST_ITEM]:Me,[Xe.QUOTE]:[Xe.PARAGRAPH],[Xe.TABLE]:[Xe.TABLE_ROW],[Xe.TABLE_ROW]:[Xe.TABLE_CELL,Xe.TABLE_HEADER_CELL],[Xe.TABLE_CELL]:[Xe.PARAGRAPH,Xe.UL_LIST,Xe.OL_LIST],[Xe.TABLE_HEADER_CELL]:[Xe.PARAGRAPH]};Xe.HEADING_1,Xe.HEADING_2,Xe.HEADING_3,Xe.HEADING_4,Xe.HEADING_5,Xe.HEADING_6;Xe.PARAGRAPH,Xe.DOCUMENT,Xe.PARAGRAPH,Xe.HEADING_1,Xe.HEADING_2,Xe.HEADING_3,Xe.HEADING_4,Xe.HEADING_5,Xe.HEADING_6,Xe.OL_LIST,Xe.UL_LIST,Xe.LIST_ITEM,Xe.HR,Xe.QUOTE,Xe.EMBEDDED_ENTRY,Xe.EMBEDDED_ASSET,We.HYPERLINK,We.ENTRY_HYPERLINK,We.ASSET_HYPERLINK,We.EMBEDDED_ENTRY,Xe.DOCUMENT,Xe.PARAGRAPH;const Le=({path:e,property:t,typeName:n,value:o})=>({details:`The type of "${t}" is incorrect, expected type: ${n}`,name:"type",path:e.toArray(),type:n,value:o});class Ze{obj;path;_errors=[];constructor(e,t){this.obj=e,this.path=t}catch=(...e)=>{this._errors.push(...e)};get errors(){const e=e=>JSON.stringify({details:e.details,path:e.path});return this._errors.filter((t,n)=>this._errors.findIndex(n=>e(t)===e(n))===n)}exists=e=>e in this.obj||(this.catch((({property:e,path:t})=>({details:`The property "${e}" is required here`,name:"required",path:t.toArray()}))({property:e,path:this.path.of(e)})),!1);object=e=>{const t=e?this.obj[e]:this.obj;if(e&&!this.exists(e))return!1;if("object"==typeof t&&!Array.isArray(t)&&null!==t)return!0;const n=e?this.path.of(e):this.path,o=e??this.path.last()??"value";return this.catch(Le({typeName:"Object",property:o,path:n,value:t})),!1};string=e=>{const t=this.obj[e];return!(e&&!this.exists(e))&&("string"==typeof t||(this.catch(Le({typeName:"String",property:e,path:this.path.of(e),value:t})),!1))};number=(e,t)=>{const n=this.obj[e];return!(!t||e in this.obj)||!!this.exists(e)&&("number"==typeof n&&!Number.isNaN(n)||(this.catch(Le({typeName:"Number",property:e,path:this.path.of(e),value:n})),!1))};array=e=>{const t=this.obj[e];return!(e&&!this.exists(e))&&(!!Array.isArray(t)||(this.catch(Le({typeName:"Array",property:e,path:this.path.of(e),value:t})),!1))};enum=(e,t)=>{const n=this.obj[e];return!("string"!=typeof n||!t.includes(n))||(this.catch((({expected:e,value:t,path:n})=>({details:"Value must be one of expected values",name:"in",expected:[...e].sort(),path:n.toArray(),value:t}))({expected:t,value:n,path:this.path.of(e)})),!1)};empty=e=>{if(!this.array(e))return!1;const t=this.obj[e];return 0===t.length||(this.catch((({max:e,value:t,path:n})=>({name:"size",max:e,path:n.toArray(),details:`Size must be at most ${e}`,value:t}))({max:0,value:t,path:this.path.of(e)})),!1)};minLength=(e,t)=>{if(!this.array(e))return!1;const n=this.obj[e];return n.length>=t||(this.catch((({min:e,value:t,path:n})=>({name:"size",min:e,path:n.toArray(),details:`Size must be at least ${e}`,value:t}))({min:t,value:n,path:this.path.of(e)})),!1)};noAdditionalProperties=e=>{const t=Object.keys(this.obj).sort().filter(t=>!e.includes(t));return t.forEach(e=>this.catch((({property:e,path:t})=>({details:`The property "${e}" is not expected`,name:"unexpected",path:t.toArray()}))({property:e,path:this.path.of(e)}))),0===t.length};each=(e,t)=>{if(!this.array(e))return;const n=this.obj[e];let o=!1;n.forEach((n,r)=>{if(o)return;const i=t(n,this.path.of(e).of(r));i.length>0&&(o=!0),this.catch(...i)})}}const De=[];class Fe{contentRule;validateData;constructor(e,t){this.contentRule=e,this.validateData=t}assert(e,t){const n=new Ze(e,t);if(!n.object())return n.errors;n.noAdditionalProperties(["nodeType","data","content"]);const{nodeTypes:o,min:r=0}=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t);if(0===o.length&&r>0)throw new Error(`Invalid content rule. Cannot have enforce a 'min' of ${r} with no nodeTypes`);if(n.minLength("content",r),0===o.length?n.empty("content"):n.each("content",(e,t)=>{const n=new Ze(e,t);return n.object()?(n.enum("nodeType",o),n.errors):n.errors}),n.object("data")){const o=this.validateData?.(e.data,t.of("data"))??[];n.catch(...o)}return n.errors}}class ze extends Fe{linkType;type;constructor(e,t){super(t,(e,t)=>this.assertLink(e,t)),this.linkType=e,this.type=this.linkType.startsWith("Contentful:")?"ResourceLink":"Link"}assertLink=(e,t)=>{const n=new Ze(e,t);if(n.object("target")){const o=new Ze(e.target.sys,t.of("target").of("sys"));o.object()&&(o.enum("type",[this.type]),o.enum("linkType",[this.linkType]),"Link"===this.type?(o.string("id"),o.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===this.type&&(o.string("urn"),o.noAdditionalProperties(["type","linkType","urn"]))),n.catch(...o.errors)}return n.noAdditionalProperties(["target"]),n.errors}}const Ye=(e,t)=>new Fe(e,t),je=(e,t)=>new ze(e,t);Ye([...Object.values(We),"text"].sort()),Ye([Xe.LIST_ITEM]),je("Entry",De),Ye(()=>({nodeTypes:[Xe.PARAGRAPH],min:1}),(e,t)=>{const n=new Ze(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});Xe.DOCUMENT,Ye(Pe),Xe.PARAGRAPH,Xe.HEADING_1,Xe.HEADING_2,Xe.HEADING_3,Xe.HEADING_4,Xe.HEADING_5,Xe.HEADING_6,Xe.QUOTE,Ye(He[Xe.QUOTE]),Xe.EMBEDDED_ENTRY,Xe.EMBEDDED_ASSET,je("Asset",De),Xe.EMBEDDED_RESOURCE,je("Contentful:Entry",De),Xe.HR,Ye(De),Xe.OL_LIST,Xe.UL_LIST,Xe.LIST_ITEM,Ye([...Me].sort()),Xe.TABLE,Ye(()=>({nodeTypes:[Xe.TABLE_ROW],min:1})),Xe.TABLE_ROW,Ye(()=>({nodeTypes:[Xe.TABLE_CELL,Xe.TABLE_HEADER_CELL],min:1})),Xe.TABLE_CELL,Xe.TABLE_HEADER_CELL,We.HYPERLINK,new class extends Fe{constructor(){super(["text"],(e,t)=>this.assertLink(e,t))}assertLink=(e,t)=>{const n=new Ze(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}},We.EMBEDDED_ENTRY,We.EMBEDDED_RESOURCE,je("Contentful:Entry",De),We.ENTRY_HYPERLINK,je("Entry",["text"]),We.ASSET_HYPERLINK,je("Asset",["text"]),We.RESOURCE_HYPERLINK,je("Contentful:Entry",["text"]),Xe.DOCUMENT,Xe.PARAGRAPH,Xe.HEADING_1,Xe.HEADING_2,Xe.HEADING_3,Xe.HEADING_4,Xe.HEADING_5,Xe.HEADING_6,Xe.EMBEDDED_ENTRY,Xe.EMBEDDED_RESOURCE,Xe.UL_LIST,Xe.OL_LIST,Xe.LIST_ITEM,Xe.QUOTE,Xe.HR,Xe.TABLE,Xe.TABLE_ROW,Xe.TABLE_HEADER_CELL,Xe.TABLE_CELL,We.ASSET_HYPERLINK,We.ENTRY_HYPERLINK,We.RESOURCE_HYPERLINK,We.EMBEDDED_ENTRY,We.EMBEDDED_RESOURCE,We.HYPERLINK;const Je={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},_e=i(({children:t,className:n="",variant:o="unstyled",style:r,...i},a)=>{const s=Se("unstyled"===o?"":"mb-1 leading-6","list-item",`list-item--${o}`,n);return e("li",{ref:a,className:s,style:r,...i,children:t})});_e.displayName="ListItem";const Ue=i(({type:t="ul",items:n,className:o="",renderItem:r,children:i,variant:a="unstyled",style:s,...l},c)=>{const u=(()=>{if("unstyled"===a)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=Se(u,`list--${t}`,`list--${a}`,o),p=i||(n&&0!==n.length?n.map((t,n)=>r?r(t,n):e(_e,{className:t.className,variant:a,children:t.content},t.id||n)):null),f={className:d,style:s,...l,children:p};return e("ol"===t?"ol":"ul",{...f,ref:c})});Ue.displayName="List";const Qe=({name:t,fill:n=0,opticalSize:o="48dp",weight:r="200",emphasis:i=145,size:a=24,color:s="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${r}, 'GRAD' ${i}, 'opsz' ${o.substring(0,2)}`,fontSize:`${a}px`,fontFamily:"'Material Symbols Rounded'",color:s||"currentColor",...l};return e("span",{style:p,className:Se("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};Qe.displayName="MaterialIcon";const $e=i(({children:e,as:t,className:n="",style:o,...i},a)=>{const s=t||"p";return r.createElement(s,{ref:a,className:n,style:o,...i},e)});$e.displayName="Text";const Ke=n=>{const{items:o,listIconName:r="check",listItemClassName:i,listContainerClassName:a,iconSize:s=20,iconPosition:l="center",iconColor:c="green",iconClassName:u}=n,d="disc"!==r;return(null==o?void 0:o.length)?e(Ue,{className:Se("mt-2 space-y-1",a),variant:d?"unstyled":"default",children:o.map((n,o)=>t(_e,{variant:d?"unstyled":"default",className:Se(`${d?"flex":""} ${"top"===l?"items-start":"items-center"} gap-2 text-text-secondary`,i),children:[d&&e("div",{className:"flex leading-none",children:e(Qe,{name:r,size:s,color:Je[c],weight:"600",className:Se("block","top"===l?"mt-1":"",u)})}),e($e,{as:"div",children:n})]},o))}):null};Ke.displayName="Checklist";const qe=i(({children:t,href:n,className:o="",onClick:r,variant:i="unstyled",style:a,external:s=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===i)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[i]||e.default,t].filter(Boolean).join(" ")})(),p=e=>{l?e.preventDefault():null==r||r(e)},f=Se(d,`link--${i}`,l&&"link--disabled",o),b={...c,ref:u,className:f,style:a,href:l?void 0:n,onClick:p,...s&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return s||"string"==typeof n&&n.startsWith("http")?e("a",{...b,children:t}):e(g,{href:n||"#",className:f,onClick:p,...c,children:t})});qe.displayName="Link",Xe.PARAGRAPH,Xe.HEADING_1,Xe.HEADING_2,Xe.HEADING_3,Xe.HEADING_4,Xe.HEADING_5,Xe.HEADING_6,Xe.QUOTE,Xe.UL_LIST,Xe.OL_LIST,Xe.LIST_ITEM,We.HYPERLINK,Xe.EMBEDDED_ASSET,Xe.EMBEDDED_ENTRY,We.EMBEDDED_ENTRY;const et=i(({children:t,className:n="",style:o,disabled:r,...i},a)=>e("button",{ref:a,className:Se(n),style:o,disabled:r,...i,children:t}));et.displayName="Button";const tt=(n,o)=>{const{className:r,size:i,required:l,placeholder:c,label:u,state:d,errorText:p,prefixIconName:f,prefixIconFill:b=!0,suffixIconFill:m=!1,prefixIconSize:g=24,suffixIconName:h,suffixIconSize:v=24,containerClassName:y,prefixIconClassName:I,loading:C,hasError:x,type:A,...w}=n,G=x?"error":d,[N,E]=a(!1),[R,O]=a(!1),[B,T]=a(A||"text"),k=s(e=>{e.stopPropagation(),T(e=>"password"===e?"text":"password")},[]);return t("div",{className:"relative",children:[u?e("label",{htmlFor:u,className:Se("inline-block pb-1"),children:t($e,{as:"span",className:"footnote text-text",children:[u,l?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:Se("relative flex flex-row items-center overflow-hidden rounded-input border border-input-border bg-input-bg-surface",{sm:"h-[48px] px-3 py-2",slim:"h-12",medium:"h-14",large:"h-[60px]"}[i||"medium"],y,(N||"hover"===G)&&!R&&"error"!==G&&"border-input-border-hover",(R||"focus"===G||"active"===G)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===G&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[f?e("div",{className:"mr-1",style:{width:g,height:g,overflow:"hidden"},children:e(Qe,{name:f,fill:b?1:0,size:g,className:Se(I)})}):null,e("input",{ref:o,id:u,disabled:C||w.disabled,className:Se("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===i&&"text-body3",r),placeholder:c,type:B,...w,onMouseOver:()=>E(!0),onMouseOut:()=>E(!1),onFocus:e=>{var t;null===(t=w.onFocus)||void 0===t||t.call(w,e),O(!0)},onBlur:e=>{var t;null===(t=w.onBlur)||void 0===t||t.call(w,e),O(!1)}}),h?e("div",{className:"ml-2",style:{width:v,height:v,overflow:"hidden"},onClick:k,children:e(Qe,{name:"text"===B?"visibility":"visibility_off",size:v,fill:m?1:0})}):null]}),"error"===G&&p&&""!=p?t($e,{className:Se("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(Qe,{name:"info",size:20,className:"mr-1"}),p||"Error"]}):null]})},nt=i(tt);nt.displayName="Input";const ot=i(({as:t,className:n="",...o},r)=>{const i=Se(n);if(t){return e(t,{ref:r,className:i,...o})}return e("img",{ref:r,className:i,...o})});ot.displayName="Image";const rt=({src:e,width:t,quality:n})=>{const o=new URL(e);return o.searchParams.set("w",String(t)),o.searchParams.set("q",String(n||90)),o.searchParams.set("fm","webp"),o.toString()},it=i(({className:t,...n},o)=>{const r="string"==typeof n.src?n.src:"",i=r.toLowerCase().split("?")[0]||"",a=r.includes("images.ctfassets.net"),s=a&&i.endsWith(".svg"),l=a&&!s?{loader:rt,unoptimized:!1}:{unoptimized:s};return e(h,{ref:o,className:Se(t),...n,...l})});it.displayName="NextImage";const at=n=>{const{color:o="#fff",size:r="medium"}=n;return t("div",{role:"status",className:"relative flex flex-row items-center",children:[t("svg",{"aria-hidden":"true",className:Se("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"}[r],n.className),style:{animation:"spin 0.75s linear infinite"},viewBox:"0 0 100 100",fill:o,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..."})]})};at.displayName="Spinner";const st=n=>{const{showBlinkDot:o=!1,buttonStyle:r="primary",size:i="md",children:a,className:s,...l}=n;return t(qe,{...l,className:Se("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[i],{primary:"border-[0.727px] border-border text-text"}[r],s),children:[o?e("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[i]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[i]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e("span",{className:`relative inline-flex ${{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[i]} items-center justify-center rounded-full bg-icon-brand`,children:e(Qe,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[i],className:"text-white"})}),e("span",{className:"font-normal tracking-wide",children:a})]})};function lt(e,t){l(()=>{if("undefined"==typeof document)return;const n=window.innerWidth-document.documentElement.clientWidth;return document.body.style.marginRight=e?`${n}px`:"unset",document.body.style.overflow=e?"hidden":t?"unset":document.body.style.overflow,()=>{document.body.style.overflow="unset"}},[e,t])}function ct(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ut(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})}),n}st.displayName="CallButton";var dt,pt={exports:{}},ft={},bt={exports:{}},mt={exports:{}},gt={};var ht,vt,yt,It,Ct,xt,At,wt,Gt,Nt,Et,Rt,Ot,Bt,Tt,kt={};
|
|
6
6
|
/** @license React v16.13.1
|
|
7
7
|
* react-is.development.js
|
|
8
8
|
*
|
|
@@ -10,12 +10,12 @@ function Ve(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o
|
|
|
10
10
|
*
|
|
11
11
|
* This source code is licensed under the MIT license found in the
|
|
12
12
|
* LICENSE file in the root directory of this source tree.
|
|
13
|
-
*/function
|
|
13
|
+
*/function St(){return vt||(vt=1,"production"===process.env.NODE_ENV?mt.exports=function(){if(dt)return gt;dt=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=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,f=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,v=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 l:case c:case o:case i:case r:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case b:case f:case a:return e;default:return p}}case n:return p}}}function I(e){return y(e)===c}return gt.AsyncMode=l,gt.ConcurrentMode=c,gt.ContextConsumer=s,gt.ContextProvider=a,gt.Element=t,gt.ForwardRef=u,gt.Fragment=o,gt.Lazy=b,gt.Memo=f,gt.Portal=n,gt.Profiler=i,gt.StrictMode=r,gt.Suspense=d,gt.isAsyncMode=function(e){return I(e)||y(e)===l},gt.isConcurrentMode=I,gt.isContextConsumer=function(e){return y(e)===s},gt.isContextProvider=function(e){return y(e)===a},gt.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},gt.isForwardRef=function(e){return y(e)===u},gt.isFragment=function(e){return y(e)===o},gt.isLazy=function(e){return y(e)===b},gt.isMemo=function(e){return y(e)===f},gt.isPortal=function(e){return y(e)===n},gt.isProfiler=function(e){return y(e)===i},gt.isStrictMode=function(e){return y(e)===r},gt.isSuspense=function(e){return y(e)===d},gt.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===h||e.$$typeof===v||e.$$typeof===m)},gt.typeOf=y,gt}():mt.exports=(ht||(ht=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,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=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,f=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var m=e.type;switch(m){case l:case c:case o:case i:case r:case d:return m;default:var g=m&&m.$$typeof;switch(g){case s:case u:case b:case f:case a:return g;default:return p}}case n:return p}}}var I=l,C=c,x=s,A=a,w=t,G=u,N=o,E=b,R=f,O=n,B=i,T=r,k=d,S=!1;function V(e){return y(e)===c}kt.AsyncMode=I,kt.ConcurrentMode=C,kt.ContextConsumer=x,kt.ContextProvider=A,kt.Element=w,kt.ForwardRef=G,kt.Fragment=N,kt.Lazy=E,kt.Memo=R,kt.Portal=O,kt.Profiler=B,kt.StrictMode=T,kt.Suspense=k,kt.isAsyncMode=function(e){return S||(S=!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.")),V(e)||y(e)===l},kt.isConcurrentMode=V,kt.isContextConsumer=function(e){return y(e)===s},kt.isContextProvider=function(e){return y(e)===a},kt.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},kt.isForwardRef=function(e){return y(e)===u},kt.isFragment=function(e){return y(e)===o},kt.isLazy=function(e){return y(e)===b},kt.isMemo=function(e){return y(e)===f},kt.isPortal=function(e){return y(e)===n},kt.isProfiler=function(e){return y(e)===i},kt.isStrictMode=function(e){return y(e)===r},kt.isSuspense=function(e){return y(e)===d},kt.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===h||e.$$typeof===v||e.$$typeof===m)},kt.typeOf=y}()),kt)),mt.exports}
|
|
14
14
|
/*
|
|
15
15
|
object-assign
|
|
16
16
|
(c) Sindre Sorhus
|
|
17
17
|
@license MIT
|
|
18
|
-
*/function Xt(){if(Ct)return It;Ct=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return It=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(o,r){for(var i,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(o),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))t.call(i,c)&&(s[c]=i[c]);if(e){a=e(i);for(var u=0;u<a.length;u++)n.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s},It}function Wt(){if(At)return xt;At=1;return xt="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function Pt(){return Gt?wt:(Gt=1,wt=Function.call.bind(Object.prototype.hasOwnProperty))}function Mt(){if(Et)return Nt;Et=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=Wt(),n={},o=Pt();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function r(r,i,a,s,l){if("production"!==process.env.NODE_ENV)for(var c in r)if(o(r,c)){var u;try{if("function"!=typeof r[c]){var d=Error((s||"React class")+": "+a+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=r[c](i,c,s,a,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((s||"React class")+": type specification of "+a+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var p=l?l():"";e("Failed "+a+" type: "+u.message+(null!=p?p:""))}}}return r.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},Nt=r}function Ht(){if(Ot)return Rt;Ot=1;var e=Vt(),t=Xt(),n=Wt(),o=Pt(),r=Mt(),i=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),Rt=function(s,l){var c="function"==typeof Symbol&&Symbol.iterator;var u="<<anonymous>>",d={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:b(a),arrayOf:function(e){return b(function(t,o,r,i,a){if("function"!=typeof e)return new f("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[o];if(!Array.isArray(s))return new f("Invalid "+i+" `"+a+"` of type `"+v(s)+"` supplied to `"+r+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,r,i,a+"["+l+"]",n);if(c instanceof Error)return c}return null})},element:b(function(e,t,n,o,r){var i=e[t];return s(i)?null:new f("Invalid "+o+" `"+r+"` of type `"+v(i)+"` supplied to `"+n+"`, expected a single ReactElement.")}),elementType:b(function(t,n,o,r,i){var a=t[n];return e.isValidElementType(a)?null:new f("Invalid "+r+" `"+i+"` of type `"+v(a)+"` supplied to `"+o+"`, expected a single ReactElement type.")}),instanceOf:function(e){return b(function(t,n,o,r,i){if(!(t[n]instanceof e)){var a=e.name||u;return new f("Invalid "+r+" `"+i+"` of type `"+(((s=t[n]).constructor&&s.constructor.name?s.constructor.name:u)+"` supplied to `")+o+"`, expected instance of `"+a+"`.")}var s;return null})},node:b(function(e,t,n,o,r){return h(e[t])?null:new f("Invalid "+o+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return b(function(t,r,i,a,s){if("function"!=typeof e)return new f("Property `"+s+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var l=t[r],c=v(l);if("object"!==c)return new f("Invalid "+a+" `"+s+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var u in l)if(o(l,u)){var d=e(l,u,i,a,s+"."+u,n);if(d instanceof Error)return d}return null})},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a;return b(function(t,n,o,r,i){for(var a=t[n],s=0;s<e.length;s++)if(p(a,e[s]))return null;var l=JSON.stringify(e,function(e,t){return"symbol"===y(t)?String(t):t});return new f("Invalid "+r+" `"+i+"` of value `"+String(a)+"` supplied to `"+o+"`, expected one of "+l+".")})},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var r=e[t];if("function"!=typeof r)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+I(r)+" at index "+t+"."),a}return b(function(t,r,i,a,s){for(var l=[],c=0;c<e.length;c++){var u=(0,e[c])(t,r,i,a,s,n);if(null==u)return null;u.data&&o(u.data,"expectedType")&&l.push(u.data.expectedType)}return new f("Invalid "+a+" `"+s+"` supplied to `"+i+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")})},shape:function(e){return b(function(t,o,r,i,a){var s=t[o],l=v(s);if("object"!==l)return new f("Invalid "+i+" `"+a+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return g(r,i,a,c,y(u));var d=u(s,c,r,i,a+"."+c,n);if(d)return d}return null})},exact:function(e){return b(function(r,i,a,s,l){var c=r[i],u=v(c);if("object"!==u)return new f("Invalid "+s+" `"+l+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var d=t({},r[i],e);for(var p in d){var b=e[p];if(o(e,p)&&"function"!=typeof b)return g(a,s,l,p,y(b));if(!b)return new f("Invalid "+s+" `"+l+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(r[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=b(c,p,a,s,l+"."+p,n);if(m)return m}return null})}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function b(e){if("production"!==process.env.NODE_ENV)var t={},o=0;function r(r,a,s,c,d,p,b){if(c=c||u,p=p||s,b!==n){if(l){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+s;!t[g]&&o<3&&(i("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[g]=!0,o++)}}return null==a[s]?r?null===a[s]?new f("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`."):new f("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(a,s,c,d,p)}var a=r.bind(null,!1);return a.isRequired=r.bind(null,!0),a}function m(e){return b(function(t,n,o,r,i,a){var s=t[n];return v(s)!==e?new f("Invalid "+r+" `"+i+"` of type `"+y(s)+"` supplied to `"+o+"`, expected `"+e+"`.",{expectedType:e}):null})}function g(e,t,n,o,r){return new f((e||"React class")+": "+t+" type `"+n+"."+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function h(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(h);if(null===e||s(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,o=t.call(e);if(t!==e.entries){for(;!(n=o.next()).done;)if(!h(n.value))return!1}else for(;!(n=o.next()).done;){var r=n.value;if(r&&!h(r[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function I(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return f.prototype=Error.prototype,d.checkPropTypes=r,d.resetWarningCache=r.resetWarningCache,d.PropTypes=d,d},Rt}function Lt(){if(Tt)return Bt;Tt=1;var e=Wt();function t(){}function n(){}return n.resetWarningCache=t,Bt=function(){function o(t,n,o,r,i,a){if(a!==e){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function r(){return o}o.isRequired=o;var i={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:r,element:o,elementType:o,instanceOf:r,node:o,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i}}function Zt(){if(kt)return mt.exports;if(kt=1,"production"!==process.env.NODE_ENV){var e=Vt();mt.exports=Ht()(e.isElement,true)}else mt.exports=Lt()();return mt.exports}var Dt,Ft,zt={exports:{}},Yt={},jt={exports:{}};function Jt(){return Dt||(Dt=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll("*"),0).reduce(function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])},[]);return n.filter(s)};
|
|
18
|
+
*/function Vt(){if(It)return yt;It=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return yt=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(o,r){for(var i,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(o),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))t.call(i,c)&&(s[c]=i[c]);if(e){a=e(i);for(var u=0;u<a.length;u++)n.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s},yt}function Xt(){if(xt)return Ct;xt=1;return Ct="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function Wt(){return wt?At:(wt=1,At=Function.call.bind(Object.prototype.hasOwnProperty))}function Pt(){if(Nt)return Gt;Nt=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=Xt(),n={},o=Wt();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function r(r,i,a,s,l){if("production"!==process.env.NODE_ENV)for(var c in r)if(o(r,c)){var u;try{if("function"!=typeof r[c]){var d=Error((s||"React class")+": "+a+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=r[c](i,c,s,a,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((s||"React class")+": type specification of "+a+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var p=l?l():"";e("Failed "+a+" type: "+u.message+(null!=p?p:""))}}}return r.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},Gt=r}function Mt(){if(Rt)return Et;Rt=1;var e=St(),t=Vt(),n=Xt(),o=Wt(),r=Pt(),i=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),Et=function(s,l){var c="function"==typeof Symbol&&Symbol.iterator;var u="<<anonymous>>",d={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:b(a),arrayOf:function(e){return b(function(t,o,r,i,a){if("function"!=typeof e)return new f("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[o];if(!Array.isArray(s))return new f("Invalid "+i+" `"+a+"` of type `"+v(s)+"` supplied to `"+r+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,r,i,a+"["+l+"]",n);if(c instanceof Error)return c}return null})},element:b(function(e,t,n,o,r){var i=e[t];return s(i)?null:new f("Invalid "+o+" `"+r+"` of type `"+v(i)+"` supplied to `"+n+"`, expected a single ReactElement.")}),elementType:b(function(t,n,o,r,i){var a=t[n];return e.isValidElementType(a)?null:new f("Invalid "+r+" `"+i+"` of type `"+v(a)+"` supplied to `"+o+"`, expected a single ReactElement type.")}),instanceOf:function(e){return b(function(t,n,o,r,i){if(!(t[n]instanceof e)){var a=e.name||u;return new f("Invalid "+r+" `"+i+"` of type `"+(((s=t[n]).constructor&&s.constructor.name?s.constructor.name:u)+"` supplied to `")+o+"`, expected instance of `"+a+"`.")}var s;return null})},node:b(function(e,t,n,o,r){return h(e[t])?null:new f("Invalid "+o+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return b(function(t,r,i,a,s){if("function"!=typeof e)return new f("Property `"+s+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var l=t[r],c=v(l);if("object"!==c)return new f("Invalid "+a+" `"+s+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var u in l)if(o(l,u)){var d=e(l,u,i,a,s+"."+u,n);if(d instanceof Error)return d}return null})},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a;return b(function(t,n,o,r,i){for(var a=t[n],s=0;s<e.length;s++)if(p(a,e[s]))return null;var l=JSON.stringify(e,function(e,t){return"symbol"===y(t)?String(t):t});return new f("Invalid "+r+" `"+i+"` of value `"+String(a)+"` supplied to `"+o+"`, expected one of "+l+".")})},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var r=e[t];if("function"!=typeof r)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+I(r)+" at index "+t+"."),a}return b(function(t,r,i,a,s){for(var l=[],c=0;c<e.length;c++){var u=(0,e[c])(t,r,i,a,s,n);if(null==u)return null;u.data&&o(u.data,"expectedType")&&l.push(u.data.expectedType)}return new f("Invalid "+a+" `"+s+"` supplied to `"+i+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")})},shape:function(e){return b(function(t,o,r,i,a){var s=t[o],l=v(s);if("object"!==l)return new f("Invalid "+i+" `"+a+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return g(r,i,a,c,y(u));var d=u(s,c,r,i,a+"."+c,n);if(d)return d}return null})},exact:function(e){return b(function(r,i,a,s,l){var c=r[i],u=v(c);if("object"!==u)return new f("Invalid "+s+" `"+l+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var d=t({},r[i],e);for(var p in d){var b=e[p];if(o(e,p)&&"function"!=typeof b)return g(a,s,l,p,y(b));if(!b)return new f("Invalid "+s+" `"+l+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(r[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=b(c,p,a,s,l+"."+p,n);if(m)return m}return null})}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function b(e){if("production"!==process.env.NODE_ENV)var t={},o=0;function r(r,a,s,c,d,p,b){if(c=c||u,p=p||s,b!==n){if(l){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+s;!t[g]&&o<3&&(i("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[g]=!0,o++)}}return null==a[s]?r?null===a[s]?new f("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`."):new f("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(a,s,c,d,p)}var a=r.bind(null,!1);return a.isRequired=r.bind(null,!0),a}function m(e){return b(function(t,n,o,r,i,a){var s=t[n];return v(s)!==e?new f("Invalid "+r+" `"+i+"` of type `"+y(s)+"` supplied to `"+o+"`, expected `"+e+"`.",{expectedType:e}):null})}function g(e,t,n,o,r){return new f((e||"React class")+": "+t+" type `"+n+"."+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function h(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(h);if(null===e||s(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,o=t.call(e);if(t!==e.entries){for(;!(n=o.next()).done;)if(!h(n.value))return!1}else for(;!(n=o.next()).done;){var r=n.value;if(r&&!h(r[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function I(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return f.prototype=Error.prototype,d.checkPropTypes=r,d.resetWarningCache=r.resetWarningCache,d.PropTypes=d,d},Et}function Ht(){if(Bt)return Ot;Bt=1;var e=Xt();function t(){}function n(){}return n.resetWarningCache=t,Ot=function(){function o(t,n,o,r,i,a){if(a!==e){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function r(){return o}o.isRequired=o;var i={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:r,element:o,elementType:o,instanceOf:r,node:o,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i}}function Lt(){if(Tt)return bt.exports;if(Tt=1,"production"!==process.env.NODE_ENV){var e=St();bt.exports=Mt()(e.isElement,true)}else bt.exports=Ht()();return bt.exports}var Zt,Dt,Ft={exports:{}},zt={},Yt={exports:{}};function jt(){return Zt||(Zt=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll("*"),0).reduce(function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])},[]);return n.filter(s)};
|
|
19
19
|
/*!
|
|
20
20
|
* Adapted from jQuery UI core
|
|
21
21
|
*
|
|
@@ -27,5 +27,5 @@ object-assign
|
|
|
27
27
|
*
|
|
28
28
|
* http://api.jqueryui.com/category/ui-core/
|
|
29
29
|
*/
|
|
30
|
-
var n="none",o="contents",r=/^(input|select|textarea|button|object|iframe)$/;function i(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var r=window.getComputedStyle(e),i=r.getPropertyValue("display");return t?i!==o&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,r):i===n}catch(e){return console.warn("Failed to inspect element style"),!1}}function a(e,t){var n=e.nodeName.toLowerCase();return(r.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),i(t))return!1;t=t.parentNode}return!0}(e)}function s(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&a(e,!n)}e.exports=t.default}(jt,jt.exports)),jt.exports}function _t(){if(Ft)return Yt;Ft=1,Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.resetState=function(){o=[]},Yt.log=function(){"production"!==process.env.NODE_ENV&&(console.log("focusManager ----------"),o.forEach(function(e){var t=e||{};console.log(t.nodeName,t.className,t.id)}),console.log("end focusManager ----------"))},Yt.handleBlur=a,Yt.handleFocus=s,Yt.markForFocusLater=function(){o.push(document.activeElement)},Yt.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==o.length&&(t=o.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},Yt.popWithoutFocus=function(){o.length>0&&o.pop()},Yt.setupScopedFocus=function(e){r=e,window.addEventListener?(window.addEventListener("blur",a,!1),document.addEventListener("focus",s,!0)):(window.attachEvent("onBlur",a),document.attachEvent("onFocus",s))},Yt.teardownScopedFocus=function(){r=null,window.addEventListener?(window.removeEventListener("blur",a),document.removeEventListener("focus",s)):(window.detachEvent("onBlur",a),document.detachEvent("onFocus",s))};var e,t=Jt(),n=(e=t)&&e.__esModule?e:{default:e};var o=[],r=null,i=!1;function a(){i=!0}function s(){if(i){if(i=!1,!r)return;setTimeout(function(){r.contains(document.activeElement)||((0,n.default)(r)[0]||r).focus()},0)}}return Yt}var Ut,Qt={exports:{}};function $t(){return Ut||(Ut=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,r.default)(e);if(!n.length)return void t.preventDefault();var o=void 0,a=t.shiftKey,s=n[0],l=n[n.length-1],c=i();if(e===c){if(!a)return;o=l}l!==c||a||(o=s);s===c&&a&&(o=l);if(o)return t.preventDefault(),void o.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==u||"Chrome"==u[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var d=n.indexOf(c);d>-1&&(d+=a?-1:1);if(o=n[d],void 0===o)return t.preventDefault(),void(o=a?l:s).focus();t.preventDefault(),o.focus()};var n,o=Jt(),r=(n=o)&&n.__esModule?n:{default:n};function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?i(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default}(Qt,Qt.exports)),Qt.exports}var Kt,qt,en={};function tn(){if(qt)return Kt;qt=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var o=1;o<n;o++)t[o-1]=arguments[o];var r=0,i="Warning: "+e.replace(/%s/g,function(){return t[r++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};e=function(e,n,o){var r=arguments.length;o=new Array(r>2?r-2:0);for(var i=2;i<r;i++)o[i-2]=arguments[i];if(void 0===n)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||t.apply(null,[n].concat(o))}}return Kt=e}var nn,on,rn,an={},sn={exports:{}};function ln(){if(on)return an;on=1,Object.defineProperty(an,"__esModule",{value:!0}),an.canUseDOM=an.SafeNodeList=an.SafeHTMLCollection=void 0;var e,t,n=(nn||(nn=1,e=sn,function(){var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n}()),sn.exports);var o=((t=n)&&t.__esModule?t:{default:t}).default,r=o.canUseDOM?window.HTMLElement:{};return an.SafeHTMLCollection=o.canUseDOM?window.HTMLCollection:{},an.SafeNodeList=o.canUseDOM?window.NodeList:{},an.canUseDOM=o.canUseDOM,an.default=r,an}function cn(){if(rn)return en;rn=1,Object.defineProperty(en,"__esModule",{value:!0}),en.resetState=function(){r&&(r.removeAttribute?r.removeAttribute("aria-hidden"):null!=r.length?r.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(r).forEach(function(e){return e.removeAttribute("aria-hidden")}));r=null},en.log=function(){if("production"!==process.env.NODE_ENV){var e=r||{};console.log("ariaAppHider ----------"),console.log(e.nodeName,e.className,e.id),console.log("end ariaAppHider ----------")}},en.assertNodeList=i,en.setElement=function(e){var t=e;if("string"==typeof t&&o.canUseDOM){var n=document.querySelectorAll(t);i(n,t),t=n}return r=t||r},en.validateElement=a,en.hide=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=a(e)[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){r.value.setAttribute("aria-hidden","true")}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}},en.show=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=a(e)[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){r.value.removeAttribute("aria-hidden")}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}},en.documentNotReadyOrSSRTesting=function(){r=null};var e,t=tn(),n=(e=t)&&e.__esModule?e:{default:e},o=ln();var r=null;function i(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function a(e){var t=e||r;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,n.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}return en}var un,dn={};function pn(){if(un)return dn;un=1,Object.defineProperty(dn,"__esModule",{value:!0}),dn.resetState=function(){var o=document.getElementsByTagName("html")[0];for(var r in e)n(o,e[r]);var i=document.body;for(var a in t)n(i,t[a]);e={},t={}},dn.log=function(){if("production"!==process.env.NODE_ENV){var n=document.getElementsByTagName("html")[0].className,o="Show tracked classes:\n\n";for(var r in o+="<html /> ("+n+"):\n ",e)o+=" "+r+" "+e[r]+"\n ";for(var i in o+="\n\ndoc.body ("+(n=document.body.className)+"):\n ",t)o+=" "+i+" "+t[i]+"\n ";o+="\n",console.log(o)}};var e={},t={};function n(e,t){e.classList.remove(t)}return dn.add=function(n,o){return r=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void o.split(" ").forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(i,e),r.add(e)});var r,i},dn.remove=function(n,o){return r=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void o.split(" ").forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(i,e),0===i[e]&&r.remove(e)});var r,i},dn}var fn,bn={};function mn(){if(fn)return bn;fn=1,Object.defineProperty(bn,"__esModule",{value:!0}),bn.log=function(){console.log("portalOpenInstances ----------"),console.log(t.openInstances.length),t.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},bn.resetState=function(){t=new e};var e=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)?(t.openInstances.push(e),t.emit("register")):"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Cannot register modal instance that's already open")},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n?(t.openInstances.splice(n,1),t.emit("deregister")):"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Unable to deregister "+e+" as it was never registered")},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},t=new e;return bn.default=t,bn}var gn,hn,vn={};function yn(){return hn||(hn=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=r,s=g(Zt()),l=m(_t()),c=g($t()),u=m(cn()),d=m(pn()),p=ln(),f=g(p),b=g(mn());function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}!function(){if(gn)return vn;gn=1,Object.defineProperty(vn,"__esModule",{value:!0}),vn.resetState=function(){for(var e=[o,r],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}o=r=null,i=[]},vn.log=function(){console.log("bodyTrap ----------"),console.log(i.length);for(var e=[o,r],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var e,t=mn(),n=(e=t)&&e.__esModule?e:{default:e},o=void 0,r=void 0,i=[];function a(){0!==i.length?i[i.length-1].focusContent():"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Open instances > 0 expected")}n.default.subscribe(function(e,t){o||r||((o=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),o.style.position="absolute",o.style.opacity="0",o.setAttribute("tabindex","0"),o.addEventListener("focus",a),(r=o.cloneNode()).addEventListener("focus",a)),(i=t).length>0?(document.body.firstChild!==o&&document.body.insertBefore(o,document.body.firstChild),document.body.lastChild!==r&&document.body.appendChild(r)):(o.parentElement&&o.parentElement.removeChild(o),r.parentElement&&r.parentElement.removeChild(r))})}();var h={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},v=0,y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,o=e.ariaHideApp,r=e.htmlOpenClassName,i=e.bodyOpenClassName,a=e.parentSelector,s=a&&a().ownerDocument||document;i&&d.remove(s.body,i),r&&d.remove(s.getElementsByTagName("html")[0],r),o&&v>0&&0===(v-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(l.returnFocus(n.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),b.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(l.setupScopedFocus(n.node),l.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":o(t))?t:{base:h[e],afterOpen:h[e]+"--after-open",beforeClose:h[e]+"--before-close"},i=r.base;return n.state.afterOpen&&(i=i+" "+r.afterOpen),n.state.beforeClose&&(i=i+" "+r.beforeClose),"string"==typeof t&&t?i+" "+t:i},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,o){return n[e+"-"+o]=t[o],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){"production"!==process.env.NODE_ENV&&(e.bodyOpenClassName!==this.props.bodyOpenClassName&&console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'),e.htmlOpenClassName!==this.props.htmlOpenClassName&&console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')),this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,o=e.htmlOpenClassName,r=e.bodyOpenClassName,i=e.parentSelector,a=i&&i().ownerDocument||document;r&&d.add(a.body,r),o&&d.add(a.getElementsByTagName("html")[0],o),n&&(v+=1,u.hide(t)),b.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,o=e.className,r=e.overlayClassName,i=e.defaultStyles,a=e.children,s=o?{}:i.content,l=r?{}:i.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",r),style:n({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=n({id:t,ref:this.setContentRef,style:n({},s,this.props.style.content),className:this.buildClassName("content",o),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,a);return this.props.overlayElement(c,d)}}]),t}(a.Component);y.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},y.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),parentSelector:s.default.func,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(f.default),s.default.instanceOf(p.SafeHTMLCollection),s.default.instanceOf(p.SafeNodeList),s.default.arrayOf(s.default.instanceOf(f.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=y,e.exports=t.default}(zt,zt.exports)),zt.exports}function In(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function Cn(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function xn(e,t){try{var n=this.props,o=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,o)}finally{this.props=n,this.state=o}}In.__suppressDeprecationWarning=!0,Cn.__suppressDeprecationWarning=!0,xn.__suppressDeprecationWarning=!0;var An,wn,Gn=Object.freeze({__proto__:null,polyfill:function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,o=null,r=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?o="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(o="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?r="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(r="UNSAFE_componentWillUpdate"),null!==n||null!==o||null!==r){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==o?"\n "+o:"")+(null!==r?"\n "+r:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=In,t.componentWillReceiveProps=Cn),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=xn;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,o)}}return e}}),Nn=dt(Gn);function En(){if(An)return bt;An=1,Object.defineProperty(bt,"__esModule",{value:!0}),bt.bodyOpenClassName=bt.portalClassName=void 0;var e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},t=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),n=r,o=p(n),i=p(v),a=p(Zt()),s=p(yn()),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(cn()),c=ln(),u=p(c),d=Nn;function p(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var b=bt.portalClassName="ReactModalPortal",m=bt.bodyOpenClassName="ReactModal__Body--open",g=c.canUseDOM&&void 0!==i.default.createPortal,h=function(e){return document.createElement(e)},y=function(){return g?i.default.createPortal:i.default.unstable_renderSubtreeIntoContainer};function I(e){return e()}var C=function(n){function r(){var t,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var l=arguments.length,c=Array(l),u=0;u<l;u++)c[u]=arguments[u];return n=a=f(this,(t=r.__proto__||Object.getPrototypeOf(r)).call.apply(t,[this].concat(c))),a.removePortal=function(){!g&&i.default.unmountComponentAtNode(a.node);var e=I(a.props.parentSelector);e&&e.contains(a.node)?e.removeChild(a.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},a.portalRef=function(e){a.portal=e},a.renderPortal=function(t){var n=y()(a,o.default.createElement(s.default,e({defaultStyles:r.defaultStyles},t)),a.node);a.portalRef(n)},f(a,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n),t(r,[{key:"componentDidMount",value:function(){c.canUseDOM&&(g||(this.node=h("div")),this.node.className=this.props.portalClassName,I(this.props.parentSelector).appendChild(this.node),!g&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:I(e.parentSelector),nextParent:I(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(c.canUseDOM){var o=this.props,r=o.isOpen,i=o.portalClassName;e.portalClassName!==i&&(this.node.className=i);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||r)&&!g&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(c.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return c.canUseDOM&&g?(!this.node&&g&&(this.node=h("div")),y()(o.default.createElement(s.default,e({ref:this.portalRef,defaultStyles:r.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){l.setElement(e)}}]),r}(n.Component);return C.propTypes={isOpen:a.default.bool.isRequired,style:a.default.shape({content:a.default.object,overlay:a.default.object}),portalClassName:a.default.string,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,className:a.default.oneOfType([a.default.string,a.default.shape({base:a.default.string.isRequired,afterOpen:a.default.string.isRequired,beforeClose:a.default.string.isRequired})]),overlayClassName:a.default.oneOfType([a.default.string,a.default.shape({base:a.default.string.isRequired,afterOpen:a.default.string.isRequired,beforeClose:a.default.string.isRequired})]),appElement:a.default.oneOfType([a.default.instanceOf(u.default),a.default.instanceOf(c.SafeHTMLCollection),a.default.instanceOf(c.SafeNodeList),a.default.arrayOf(a.default.instanceOf(u.default))]),onAfterOpen:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,ariaHideApp:a.default.bool,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,parentSelector:a.default.func,aria:a.default.object,data:a.default.object,role:a.default.string,contentLabel:a.default.string,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func},C.defaultProps={isOpen:!1,portalClassName:b,bodyOpenClassName:m,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return o.default.createElement("div",e,t)},contentElement:function(e,t){return o.default.createElement("div",e,t)}},C.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,d.polyfill)(C),"production"!==process.env.NODE_ENV&&(C.setCreateHTMLElement=function(e){return h=e}),bt.default=C,bt}var Rn=ut((wn||(wn=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,o=En(),r=(n=o)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default}(ft,ft.exports)),ft.exports));function On(){return On=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},On.apply(null,arguments)}function Bn(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;n[o]=e[o]}return n}function Tn(e,t){return Tn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Tn(e,t)}var kn=ut(Zt()),Sn=!1,Vn="production"!==process.env.NODE_ENV?kn.oneOfType([kn.number,kn.shape({enter:kn.number,exit:kn.number,appear:kn.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&kn.oneOfType([kn.string,kn.shape({enter:kn.string,exit:kn.string,active:kn.string}),kn.shape({enter:kn.string,enterDone:kn.string,enterActive:kn.string,exit:kn.string,exitDone:kn.string,exitActive:kn.string})]);var Xn=r.createContext(null),Wn="unmounted",Pn="exited",Mn="entering",Hn="entered",Ln="exiting",Zn=function(e){var t,n;function o(t,n){var o;o=e.call(this,t,n)||this;var r,i=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?i?(r=Pn,o.appearStatus=Mn):r=Hn:r=t.unmountOnExit||t.mountOnEnter?Wn:Pn,o.state={status:r},o.nextCallback=null,o}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,Tn(t,n),o.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Wn?{status:Pn}:null};var i=o.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Mn&&n!==Hn&&(t=Mn):n!==Mn&&n!==Hn||(t=Ln)}this.updateStatus(!1,t)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!=typeof o&&(e=o.exit,t=o.enter,n=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:n}},i.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Mn){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:v.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Pn&&this.setState({status:Wn})},i.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[v.findDOMNode(this),o],i=r[0],a=r[1],s=this.getTimeouts(),l=o?s.appear:s.enter;!e&&!n||Sn?this.safeSetState({status:Hn},function(){t.props.onEntered(i)}):(this.props.onEnter(i,a),this.safeSetState({status:Mn},function(){t.props.onEntering(i,a),t.onTransitionEnd(l,function(){t.safeSetState({status:Hn},function(){t.props.onEntered(i,a)})})}))},i.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:v.findDOMNode(this);t&&!Sn?(this.props.onExit(o),this.safeSetState({status:Ln},function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:Pn},function(){e.props.onExited(o)})})})):this.safeSetState({status:Pn},function(){e.props.onExited(o)})},i.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},i.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},i.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:v.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=r[0],a=r[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},i.render=function(){var e=this.state.status;if(e===Wn)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var o=Bn(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return r.createElement(Xn.Provider,{value:null},"function"==typeof n?n(e,o):r.cloneElement(r.Children.only(n),o))},o}(r.Component);function Dn(){}Zn.contextType=Xn,Zn.propTypes="production"!==process.env.NODE_ENV?{nodeRef:kn.shape({current:"undefined"==typeof Element?kn.any:function(e,t,n,o,r,i){var a=e[t];return kn.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,o,r,i)}}),children:kn.oneOfType([kn.func.isRequired,kn.element.isRequired]).isRequired,in:kn.bool,mountOnEnter:kn.bool,unmountOnExit:kn.bool,appear:kn.bool,enter:kn.bool,exit:kn.bool,timeout:function(e){var t=Vn;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return t.apply(void 0,[e].concat(o))},addEndListener:kn.func,onEnter:kn.func,onEntering:kn.func,onEntered:kn.func,onExit:kn.func,onExiting:kn.func,onExited:kn.func}:{},Zn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Dn,onEntering:Dn,onEntered:Dn,onExit:Dn,onExiting:Dn,onExited:Dn},Zn.UNMOUNTED=Wn,Zn.EXITED=Pn,Zn.ENTERING=Mn,Zn.ENTERED=Hn,Zn.EXITING=Ln;const Fn=({size:n="md",shape:o="default",animation:r="popper",centered:i,title:s,isOpen:u,children:d,bodyStyle:p,className:f,bodyClassName:b,portalClassName:m,overlayClassName:g,closeButtonClassName:h,closeWrapperClassName:v,onRequestClose:y,parentSelector:I,hideScrollOnIsOpenFalse:C=!0,hideCloseButton:x=!1,...A})=>{ct(u,C);const[w,G]=a(!1);l(()=>{G(u)},[u]);const N=c(()=>{if("undefined"==typeof document)return null;let e=document.querySelector("main")||document.body;return I&&(e=document.querySelector(I)||document.body),e},[I]);if(!N)return null;if(!u)return null;const E=e=>({xl:"inset-[5%] min-h-fit",lg:"inset-[10%] min-h-fit",md:"inset-[15%] min-h-fit",sm:"top-[18%] w-[640px]",xs:"w-[calc(100%-30px)]"}[e]),R=(e,t)=>{if("popper"===e){const e="transition-transform duration-300";return"entering"===t||"entered"===t?`${e} opacity-100 ${"entered"===t?"translate-y-0 pointer-events-auto":""}`:"exiting"===t||"exited"===t?`${e} opacity-0 translate-y-[-18px] duration-[180ms]`:`${e} opacity-0 translate-y-[-18px]`}if("bottomSheet"===e){const e="transition-transform duration-200 ease-in-out";return"entering"===t||"entered"===t?`${e} opacity-100 ${"entered"===t?"translate-y-0 pointer-events-auto":""}`:"exiting"===t||"exited"===t?`${e} opacity-0 translate-y-full duration-[180ms]`:`${e} opacity-0 translate-y-full`}return""};return e(Zn,{enter:!0,exit:!0,in:w,timeout:0,children:a=>t(Rn,{ariaHideApp:!1,isOpen:u,onRequestClose:y,closeTimeoutMS:0,parentSelector:()=>N,className:Se("absolute min-w-[150px] max-w-[calc(100vw-30px)] overflow-auto rounded-lg bg-white outline-none",E(n),"rounded"===o&&"rounded-3xl",i&&"top-0 translate-y-[calc(50vh-50%)]",R(r,a),f),portalClassName:Se("z-80",m),overlayClassName:Se("z-80 fixed inset-0 bg-black/50 flex items-center justify-center pb-[300px]",g),...A,children:[!x&&e("div",{className:Se(v),children:e(et,{className:Se("absolute right-0 top-0 float-right h-6 cursor-pointer p-5 text-text",h),onClick:y,"data-testid":"close-button","data-track-element-name":"modal_close_button","data-track-click-text":"Close Modal","data-track-element-clicked":"modal",children:e(Qe,{name:"close",size:24})})}),s?e("div",{className:Se("border-b border-border-secondary-on-bg-fill px-[7px] py-[7px] text-text"),children:s}):null,e("div",{className:Se("p-5",b),style:p,"data-testid":A["data-testid"],"data-cy":A["data-cy"],children:d})]})})};Fn.displayName="Modal";const zn=t=>{const{open:n,children:o}=t,r=u(null),[i,s]=a(0);return l(()=>{const e=r.current;if(!e)return;const t=()=>{s(n?e.scrollHeight:0)};let o;return t(),n&&(o=new ResizeObserver(()=>t()),o.observe(e)),()=>{o&&o.disconnect()}},[n,o]),e("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:i,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:r,children:o})})};zn.displayName="Collapse";const Yn=n=>{const{title:o,defaultOpen:r,children:i,containerClassName:s,titleClassName:c,className:u,buttonClassName:d,iconClassName:p,openOnlyOnDesktop:f,borderRadiusNone:b=!1}=n,[m,g]=a(Boolean(!1));return l(()=>{if(f){const e=window.innerWidth>=1024;g(e)}else g(Boolean(r))},[f,r]),t("div",{className:Se(b?"rounded-none border":"rounded-surface-xs border",s),children:[t(et,{type:"button",className:Se(b?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",d),onClick:()=>g(e=>!e),children:[e("span",{className:Se("label5 flex-1",c),children:o}),e(Qe,{className:Se("flex-shrink-0",p),name:m?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e(zn,{open:m,children:e("div",{className:Se("px-4 py-4",u),children:i})})]})};Yn.displayName="Accordion";const jn=({state:n,checked:o=!1,onChange:r,className:i,label:a,labelClassName:l,containerClassName:c,name:u,value:d,id:p,disabled:f=!1,required:b=!1,error:m=!1,"data-cy":g,renderInfoIcon:h,...v})=>{const y=f||"disabled"===n,I=p||u,C=Se("flex items-center justify-center w-6 h-6 rounded-[4px] outline-offset-2","focus"===n&&"outline",i),x=s(e=>{y||r&&(1===r.length?r(e.target.checked):r())},[y,r]);return t("div",{className:Se("flex items-center gap-3",c),children:[t("div",{className:"relative",children:[e("input",{type:"checkbox",id:I,name:u,value:d,checked:o,onChange:x,disabled:y,required:b,className:"peer sr-only","data-cy":g,...v}),e("label",{htmlFor:I,className:Se("peer-focus:outline",C),style:{pointerEvents:y?"none":"auto"},children:t("svg",o?{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:Se(y?"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:Se(y?"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:I,className:Se("cursor-pointer",m&&"text-text-critical",l),children:a}),h&&e(et,{type:"button",onClick:h.onClick,"data-testid":h.dataTestId,className:"ml-2 cursor-pointer text-icon-info","aria-label":"More information",children:t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"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"})]})})]})};function Jn(e){return Jn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jn(e)}function _n(e){var t=function(e,t){if("object"!=Jn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Jn(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Jn(t)?t:t+""}function Un(e,t,n){return(t=_n(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function $n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qn(Object(n),!0).forEach(function(t){Un(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Kn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function qn(e,t){if(e){if("string"==typeof e)return Kn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Kn(e,t):void 0}}function eo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=i.call(n)).done)&&(s.push(o.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||qn(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function to(e,t){if(null==e)return{};var n,o,r=Bn(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}jn.displayName="Checkbox";var no=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function oo(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_n(o.key),o)}}function ro(e){return ro=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ro(e)}function io(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(io=function(){return!!e})()}function ao(e,t){if(t&&("object"==Jn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function so(e){return function(e){if(Array.isArray(e))return Kn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||qn(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var lo=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),co="-ms-",uo="-moz-",po="-webkit-",fo="comm",bo="rule",mo="decl",go="@keyframes",ho=Math.abs,vo=String.fromCharCode,yo=Object.assign;function Io(e){return e.trim()}function Co(e,t,n){return e.replace(t,n)}function xo(e,t){return e.indexOf(t)}function Ao(e,t){return 0|e.charCodeAt(t)}function wo(e,t,n){return e.slice(t,n)}function Go(e){return e.length}function No(e){return e.length}function Eo(e,t){return t.push(e),e}var Ro=1,Oo=1,Bo=0,To=0,ko=0,So="";function Vo(e,t,n,o,r,i,a){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:Ro,column:Oo,length:a,return:""}}function Xo(e,t){return yo(Vo("",null,null,"",null,null,0),e,{length:-e.length},t)}function Wo(){return ko=To>0?Ao(So,--To):0,Oo--,10===ko&&(Oo=1,Ro--),ko}function Po(){return ko=To<Bo?Ao(So,To++):0,Oo++,10===ko&&(Oo=1,Ro++),ko}function Mo(){return Ao(So,To)}function Ho(){return To}function Lo(e,t){return wo(So,e,t)}function Zo(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Do(e){return Ro=Oo=1,Bo=Go(So=e),To=0,[]}function Fo(e){return So="",e}function zo(e){return Io(Lo(To-1,Jo(91===e?e+2:40===e?e+1:e)))}function Yo(e){for(;(ko=Mo())&&ko<33;)Po();return Zo(e)>2||Zo(ko)>3?"":" "}function jo(e,t){for(;--t&&Po()&&!(ko<48||ko>102||ko>57&&ko<65||ko>70&&ko<97););return Lo(e,Ho()+(t<6&&32==Mo()&&32==Po()))}function Jo(e){for(;Po();)switch(ko){case e:return To;case 34:case 39:34!==e&&39!==e&&Jo(ko);break;case 40:41===e&&Jo(e);break;case 92:Po()}return To}function _o(e,t){for(;Po()&&e+ko!==57&&(e+ko!==84||47!==Mo()););return"/*"+Lo(t,To-1)+"*"+vo(47===e?e:Po())}function Uo(e){for(;!Zo(Mo());)Po();return Lo(e,To)}function Qo(e){return Fo($o("",null,null,null,[""],e=Do(e),0,[0],e))}function $o(e,t,n,o,r,i,a,s,l){for(var c=0,u=0,d=a,p=0,f=0,b=0,m=1,g=1,h=1,v=0,y="",I=r,C=i,x=o,A=y;g;)switch(b=v,v=Po()){case 40:if(108!=b&&58==Ao(A,d-1)){-1!=xo(A+=Co(zo(v),"&","&\f"),"&\f")&&(h=-1);break}case 34:case 39:case 91:A+=zo(v);break;case 9:case 10:case 13:case 32:A+=Yo(b);break;case 92:A+=jo(Ho()-1,7);continue;case 47:switch(Mo()){case 42:case 47:Eo(qo(_o(Po(),Ho()),t,n),l);break;default:A+="/"}break;case 123*m:s[c++]=Go(A)*h;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==h&&(A=Co(A,/\f/g,"")),f>0&&Go(A)-d&&Eo(f>32?er(A+";",o,n,d-1):er(Co(A," ","")+";",o,n,d-2),l);break;case 59:A+=";";default:if(Eo(x=Ko(A,t,n,c,u,r,s,y,I=[],C=[],d),i),123===v)if(0===u)$o(A,t,x,x,I,i,d,s,C);else switch(99===p&&110===Ao(A,3)?100:p){case 100:case 108:case 109:case 115:$o(e,x,x,o&&Eo(Ko(e,x,x,0,0,r,s,y,r,I=[],d),C),r,C,d,s,o?I:C);break;default:$o(A,x,x,x,[""],C,0,s,C)}}c=u=f=0,m=h=1,y=A="",d=a;break;case 58:d=1+Go(A),f=b;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==Wo())continue;switch(A+=vo(v),v*m){case 38:h=u>0?1:(A+="\f",-1);break;case 44:s[c++]=(Go(A)-1)*h,h=1;break;case 64:45===Mo()&&(A+=zo(Po())),p=Mo(),u=d=Go(y=A+=Uo(Ho())),v++;break;case 45:45===b&&2==Go(A)&&(m=0)}}return i}function Ko(e,t,n,o,r,i,a,s,l,c,u){for(var d=r-1,p=0===r?i:[""],f=No(p),b=0,m=0,g=0;b<o;++b)for(var h=0,v=wo(e,d+1,d=ho(m=a[b])),y=e;h<f;++h)(y=Io(m>0?p[h]+" "+v:Co(v,/&\f/g,p[h])))&&(l[g++]=y);return Vo(e,t,n,0===r?bo:s,l,c,u)}function qo(e,t,n){return Vo(e,t,n,fo,vo(ko),wo(e,2,-2),0)}function er(e,t,n,o){return Vo(e,t,n,mo,wo(e,0,o),wo(e,o+1,-1),o)}function tr(e,t){for(var n="",o=No(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function nr(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case mo:return e.return=e.return||e.value;case fo:return"";case go:return e.return=e.value+"{"+tr(e.children,o)+"}";case bo:e.value=e.props.join(",")}return Go(n=tr(e.children,o))?e.return=e.value+"{"+n+"}":""}function or(e){var t=No(e);return function(n,o,r,i){for(var a="",s=0;s<t;s++)a+=e[s](n,o,r,i)||"";return a}}function rr(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var ir="undefined"!=typeof document,ar=function(e,t,n){for(var o=0,r=0;o=r,r=Mo(),38===o&&12===r&&(t[n]=1),!Zo(r);)Po();return Lo(e,To)},sr=function(e,t){return Fo(function(e,t){var n=-1,o=44;do{switch(Zo(o)){case 0:38===o&&12===Mo()&&(t[n]=1),e[n]+=ar(To-1,t,n);break;case 2:e[n]+=zo(o);break;case 4:if(44===o){e[++n]=58===Mo()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=vo(o)}}while(o=Po());return e}(Do(e),t))},lr=new WeakMap,cr=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,o=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||lr.get(n))&&!o){lr.set(e,!0);for(var r=[],i=sr(t,r),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=r[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},ur=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function dr(e,t){switch(function(e,t){return 45^Ao(e,0)?(((t<<2^Ao(e,0))<<2^Ao(e,1))<<2^Ao(e,2))<<2^Ao(e,3):0}(e,t)){case 5103:return po+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return po+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return po+e+uo+e+co+e+e;case 6828:case 4268:return po+e+co+e+e;case 6165:return po+e+co+"flex-"+e+e;case 5187:return po+e+Co(e,/(\w+).+(:[^]+)/,po+"box-$1$2"+co+"flex-$1$2")+e;case 5443:return po+e+co+"flex-item-"+Co(e,/flex-|-self/,"")+e;case 4675:return po+e+co+"flex-line-pack"+Co(e,/align-content|flex-|-self/,"")+e;case 5548:return po+e+co+Co(e,"shrink","negative")+e;case 5292:return po+e+co+Co(e,"basis","preferred-size")+e;case 6060:return po+"box-"+Co(e,"-grow","")+po+e+co+Co(e,"grow","positive")+e;case 4554:return po+Co(e,/([^-])(transform)/g,"$1"+po+"$2")+e;case 6187:return Co(Co(Co(e,/(zoom-|grab)/,po+"$1"),/(image-set)/,po+"$1"),e,"")+e;case 5495:case 3959:return Co(e,/(image-set\([^]*)/,po+"$1$`$1");case 4968:return Co(Co(e,/(.+:)(flex-)?(.*)/,po+"box-pack:$3"+co+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+po+e+e;case 4095:case 3583:case 4068:case 2532:return Co(e,/(.+)-inline(.+)/,po+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Go(e)-1-t>6)switch(Ao(e,t+1)){case 109:if(45!==Ao(e,t+4))break;case 102:return Co(e,/(.+:)(.+)-([^]+)/,"$1"+po+"$2-$3$1"+uo+(108==Ao(e,t+3)?"$3":"$2-$3"))+e;case 115:return~xo(e,"stretch")?dr(Co(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Ao(e,t+1))break;case 6444:switch(Ao(e,Go(e)-3-(~xo(e,"!important")&&10))){case 107:return Co(e,":",":"+po)+e;case 101:return Co(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+po+(45===Ao(e,14)?"inline-":"")+"box$3$1"+po+"$2$3$1"+co+"$2box$3")+e}break;case 5936:switch(Ao(e,t+11)){case 114:return po+e+co+Co(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return po+e+co+Co(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return po+e+co+Co(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return po+e+co+e+e}return e}var pr,fr,br,mr,gr=ir?void 0:(pr=function(){return rr(function(){return{}})},fr=new WeakMap,function(e){if(fr.has(e))return fr.get(e);var t=pr(e);return fr.set(e,t),t}),hr=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case mo:e.return=dr(e.value,e.length);break;case go:return tr([Xo(e,{value:Co(e.value,"@","@"+po)})],o);case bo:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return tr([Xo(e,{props:[Co(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return tr([Xo(e,{props:[Co(t,/:(plac\w+)/,":"+po+"input-$1")]}),Xo(e,{props:[Co(t,/:(plac\w+)/,":-moz-$1")]}),Xo(e,{props:[Co(t,/:(plac\w+)/,co+"input-$1")]})],o)}return""})}}],vr=function(e){var t=e.key;if(ir&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var o,r,i=e.stylisPlugins||hr,a={},s=[];ir&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c=[cr,ur];if(gr){var u=[nr],d=or(c.concat(i,u)),p=gr(i)(t),f=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=tr(Qo(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};r=function(e,t,n,o){var r=t.name,i=f(e,t);return void 0===h.compat?(o&&(h.inserted[r]=!0),i):o?void(h.inserted[r]=i):i}}else{var b,m=[nr,(l=function(e){b.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=or(c.concat(i,m));r=function(e,t,n,o){b=n,tr(Qo(e?e+"{"+t.styles+"}":t.styles),g),o&&(h.inserted[t.name]=!0)}}var h={key:t,sheet:new lo({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:r};return h.sheet.hydrate(s),h};!function(){if(mr)return br;mr=1;var e=Vt(),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},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},r={};function i(n){return e.isMemo(n)?o:r[n.$$typeof]||t}r[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r[e.Memo]=o;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;br=function e(t,o,r){if("string"!=typeof o){if(d){var p=u(o);p&&p!==d&&e(t,p,r)}var f=s(o);l&&(f=f.concat(l(o)));for(var b=i(t),m=i(o),g=0;g<f.length;++g){var h=f[g];if(!(n[h]||r&&r[h]||m&&m[h]||b&&b[h])){var v=c(o,h);try{a(t,h,v)}catch(e){}}}}return t}}();var yr="undefined"!=typeof document;var Ir=function(e,t,n){var o=e.key+"-"+t.name;(!1===n||!1===yr&&void 0!==e.compat)&&void 0===e.registered[o]&&(e.registered[o]=t.styles)};var Cr={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},xr=/[A-Z]|^ms/g,Ar=/_EMO_([^_]+?)_([^]*?)_EMO_/g,wr=function(e){return 45===e.charCodeAt(1)},Gr=function(e){return null!=e&&"boolean"!=typeof e},Nr=rr(function(e){return wr(e)?e:e.replace(xr,"-$&").toLowerCase()}),Er=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Ar,function(e,t,n){return Or={name:t,styles:n,next:Or},t})}return 1===Cr[e]||wr(e)||"number"!=typeof t||0===t?t:t+"px"};function Rr(e,t,n){if(null==n)return"";var o=n;if(void 0!==o.__emotion_styles)return o;switch(typeof n){case"boolean":return"";case"object":var r=n;if(1===r.anim)return Or={name:r.name,styles:r.styles,next:Or},r.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)Or={name:a.name,styles:a.styles,next:Or},a=a.next;return i.styles+";"}return function(e,t,n){var o="";if(Array.isArray(n))for(var r=0;r<n.length;r++)o+=Rr(e,t,n[r])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;Gr(s)&&(o+=Nr(i)+":"+Er(i,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)Gr(a[l])&&(o+=Nr(i)+":"+Er(i,a[l])+";");else{var c=Rr(e,t,a);switch(i){case"animation":case"animationName":o+=Nr(i)+":"+c+";";break;default:o+=i+"{"+c+"}"}}}return o}(e,t,n);case"function":if(void 0!==e){var s=Or,l=n(e);return Or=s,Rr(e,t,l)}}return n}var Or,Br=/label:\s*([^\s;{]+)\s*(;|$)/g;function Tr(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o=!0,r="";Or=void 0;var i=e[0];null==i||void 0===i.raw?(o=!1,r+=Rr(n,t,i)):r+=i[0];for(var a=1;a<e.length;a++){if(r+=Rr(n,t,e[a]),o)r+=i[a]}Br.lastIndex=0;for(var s,l="";null!==(s=Br.exec(r));)l+="-"+s[1];var c=function(e){for(var t,n=0,o=0,r=e.length;r>=4;++o,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(r)+l;return{name:c,styles:r,next:Or}}var kr="undefined"!=typeof document,Sr=function(e){return e()},Vr=!!o.useInsertionEffect&&o.useInsertionEffect,Xr=kr&&Vr||Sr,Wr="undefined"!=typeof document,Pr=o.createContext("undefined"!=typeof HTMLElement?vr({key:"css"}):null);Pr.Provider;var Mr=function(e){return i(function(t,n){var o=d(Pr);return e(t,o,n)})};Wr||(Mr=function(e){return function(t){var n=d(Pr);return null===n?(n=vr({key:"css"}),o.createElement(Pr.Provider,{value:n},e(t,n))):e(t,n)}});var Hr,Lr,Zr=o.createContext({}),Dr={}.hasOwnProperty,Fr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",zr=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Ir(t,n,r);var i=Xr(function(){return function(e,t,n){Ir(e,t,n);var o=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r="",i=t;do{var a=e.insert(t===i?"."+o:"",i,e.sheet,!0);yr||void 0===a||(r+=a),i=i.next}while(void 0!==i);if(!yr&&0!==r.length)return r}}(t,n,r)});if(!Wr&&void 0!==i){for(var a,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return o.createElement("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:i},a.nonce=t.sheet.nonce,a))}return null},Yr=Mr(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var i=e[Fr],a=[r],s="";"string"==typeof e.className?s=function(e,t,n){var o="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(o+=n+" ")}),o}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=Tr(a,void 0,o.useContext(Zr));s+=t.key+"-"+l.name;var c={};for(var u in e)Dr.call(e,u)&&"css"!==u&&u!==Fr&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),o.createElement(o.Fragment,null,o.createElement(zr,{cache:t,serialized:l,isStringTag:"string"==typeof i}),o.createElement(i,c))}),jr=Yr,Jr=function(e,t){var n=arguments;if(null==t||!Dr.call(t,"css"))return o.createElement.apply(void 0,n);var r=n.length,i=new Array(r);i[0]=jr,i[1]=function(e,t){var n={};for(var o in t)Dr.call(t,o)&&(n[o]=t[o]);return n[Fr]=e,n}(e,t);for(var a=2;a<r;a++)i[a]=n[a];return o.createElement.apply(null,i)};function _r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Tr(t)}Hr=Jr||(Jr={}),Lr||(Lr=Hr.JSX||(Hr.JSX={}));const Ur=Math.min,Qr=Math.max,$r=Math.round,Kr=Math.floor,qr=e=>({x:e,y:e});function ei(){return"undefined"!=typeof window}function ti(e){return ri(e)?(e.nodeName||"").toLowerCase():"#document"}function ni(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function oi(e){var t;return null==(t=(ri(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ri(e){return!!ei()&&(e instanceof Node||e instanceof ni(e).Node)}function ii(e){return!!ei()&&(e instanceof HTMLElement||e instanceof ni(e).HTMLElement)}function ai(e){return!(!ei()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof ni(e).ShadowRoot)}function si(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=li(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&"inline"!==r&&"contents"!==r}function li(e){return ni(e).getComputedStyle(e)}function ci(e){const t=function(e){if("html"===ti(e))return e;const t=e.assignedSlot||e.parentNode||ai(e)&&e.host||oi(e);return ai(t)?t.host:t}(e);return function(e){return/^(html|body|#document)$/.test(ti(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:ii(t)&&si(t)?t:ci(t)}function ui(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=ci(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=ni(r);if(i){const e=di(a);return t.concat(a,a.visualViewport||[],si(r)?r:[],e&&n?ui(e):[])}return t.concat(r,ui(r,[],n))}function di(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function pi(e){return t=e,ei()&&(t instanceof Element||t instanceof ni(t).Element)?e:e.contextElement;var t}function fi(e){const t=pi(e);if(!ii(t))return qr(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=function(e){const t=li(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=ii(e),i=r?e.offsetWidth:n,a=r?e.offsetHeight:o,s=$r(n)!==i||$r(o)!==a;return s&&(n=i,o=a),{width:n,height:o,$:s}}(t);let a=(i?$r(n.width):n.width)/o,s=(i?$r(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function bi(e,t,n,o){void 0===t&&(t=!1);const r=e.getBoundingClientRect(),i=pi(e);let a=qr(1);t&&(a=fi(e));const s=qr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const e=o;let t=ni(i),n=di(t);for(;n&&o&&e!==t;){const e=fi(n),o=n.getBoundingClientRect(),r=li(n),i=o.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,a=o.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=a,t=ni(n),n=di(t)}}return function(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}({width:u,height:d,x:l,y:c})}function mi(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function gi(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=o,c=pi(e),u=r||i?[...c?ui(c):[],...t?ui(t):[]]:[];u.forEach(e=>{r&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,o=null;const r=oi(e);function i(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:f}=c;if(s||t(),!p||!f)return;const b={rootMargin:-Kr(d)+"px "+-Kr(r.clientWidth-(u+p))+"px "+-Kr(r.clientHeight-(d+f))+"px "+-Kr(u)+"px",threshold:Qr(0,Ur(1,l))||1};let m=!0;function g(t){const o=t[0].intersectionRatio;if(o!==l){if(!m)return a();o?a(!1,o):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==o||mi(c,e.getBoundingClientRect())||a(),m=!1}try{o=new IntersectionObserver(g,{...b,root:r.ownerDocument})}catch(e){o=new IntersectionObserver(g,b)}o.observe(e)}(!0),i}(c,n):null;let p,f=-1,b=null;a&&(b=new ResizeObserver(e=>{let[o]=e;o&&o.target===c&&b&&t&&(b.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=b)||e.observe(t)})),n()}),c&&!l&&b.observe(c),t&&b.observe(t));let m=l?bi(e):null;return l&&function t(){const o=bi(e);m&&!mi(m,o)&&n();m=o,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{r&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=b)||e.disconnect(),b=null,l&&cancelAnimationFrame(p)}}var hi="undefined"!=typeof document?p:function(){},vi=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],yi=function(){};function Ii(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Ci(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];var i=[].concat(o);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(Ii(e,a)));return i.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var xi=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Jn(e)&&null!==e?[e]:[];var t},Ai=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,$n({},to(e,vi))},wi=function(e,t,n){var o=e.cx,r=e.getStyles,i=e.getClassNames,a=e.className;return{css:r(t,e),className:o(null!=n?n:{},i(t,e),a)}};function Gi(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Ni(e){return Gi(e)?window.pageYOffset:e.scrollTop}function Ei(e,t){Gi(e)?window.scrollTo(0,t):e.scrollTop=t}function Ri(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:yi,r=Ni(e),i=t-r,a=0;!function t(){var s,l=i*((s=(s=a+=10)/n-1)*s*s+1)+r;Ei(e,l),a<n?window.requestAnimationFrame(t):o(e)}()}function Oi(e,t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),r=t.offsetHeight/3;o.bottom+r>n.bottom?Ei(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):o.top-r<n.top&&Ei(e,Math.max(t.offsetTop-r,0))}function Bi(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Ti=!1,ki={get passive(){return Ti=!0}},Si="undefined"!=typeof window?window:{};Si.addEventListener&&Si.removeEventListener&&(Si.addEventListener("p",yi,ki),Si.removeEventListener("p",yi,!1));var Vi=Ti;function Xi(e){return null!=e}function Wi(e,t,n){return e?t:n}var Pi=["children","innerProps"],Mi=["children","innerProps"];function Hi(e){var t=e.maxHeight,n=e.menuEl,o=e.minHeight,r=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,o=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),(!n||"static"!==t.position)&&o.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),f=p.bottom,b=p.height,m=p.top,g=n.offsetParent.getBoundingClientRect().top,h=a?window.innerHeight:Gi(u=l)?window.innerHeight:u.clientHeight,v=Ni(l),y=parseInt(getComputedStyle(n).marginBottom,10),I=parseInt(getComputedStyle(n).marginTop,10),C=g-I,x=h-m,A=C+v,w=d-v-m,G=f-h+v+y,N=v+m-I,E=160;switch(r){case"auto":case"bottom":if(x>=b)return{placement:"bottom",maxHeight:t};if(w>=b&&!a)return i&&Ri(l,G,E),{placement:"bottom",maxHeight:t};if(!a&&w>=o||a&&x>=o)return i&&Ri(l,G,E),{placement:"bottom",maxHeight:a?x-y:w-y};if("auto"===r||a){var R=t,O=a?C:A;return O>=o&&(R=Math.min(O-y-s,t)),{placement:"top",maxHeight:R}}if("bottom"===r)return i&&Ei(l,G),{placement:"bottom",maxHeight:t};break;case"top":if(C>=b)return{placement:"top",maxHeight:t};if(A>=b&&!a)return i&&Ri(l,N,E),{placement:"top",maxHeight:t};if(!a&&A>=o||a&&C>=o){var B=t;return(!a&&A>=o||a&&C>=o)&&(B=a?C-I:A-I),i&&Ri(l,N,E),{placement:"top",maxHeight:B}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var Li,Zi=function(e){return"auto"===e?"bottom":e},Di=f(null),Fi=function(e){var t=e.children,n=e.minMenuHeight,o=e.maxMenuHeight,r=e.menuPlacement,i=e.menuPosition,s=e.menuShouldScrollIntoView,l=e.theme,c=(d(Di)||{}).setPortalPlacement,p=u(null),f=eo(a(o),2),b=f[0],m=f[1],g=eo(a(null),2),h=g[0],v=g[1],y=l.spacing.controlHeight;return hi(function(){var e=p.current;if(e){var t="fixed"===i,a=Hi({maxHeight:o,menuEl:e,minHeight:n,placement:r,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:y});m(a.maxHeight),v(a.placement),null==c||c(a.placement)}},[o,r,i,s,n,c,y]),t({ref:p,placerProps:$n($n({},e),{},{placement:h||Zi(r),maxHeight:b})})},zi=function(e){var t=e.children,n=e.innerRef,o=e.innerProps;return Jr("div",On({},wi(e,"menu",{menu:!0}),{ref:n},o),t)},Yi=function(e,t){var n=e.theme,o=n.spacing.baseUnit,r=n.colors;return $n({textAlign:"center"},t?{}:{color:r.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},ji=Yi,Ji=Yi,_i=["size"],Ui=["innerProps","isRtl","size"];var Qi,$i,Ki="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAu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XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+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)."}},qi=function(e){var t=e.size,n=to(e,_i);return Jr("svg",On({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Ki},n))},ea=function(e){return Jr(qi,On({size:20},e),Jr("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"}))},ta=function(e){return Jr(qi,On({size:20},e),Jr("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"}))},na=function(e,t){var n=e.isFocused,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return $n({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*r,":hover":{color:n?i.neutral80:i.neutral40}})},oa=na,ra=na,ia=function(){var e=_r.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_"}}}(Li||(Qi=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],$i||($i=Qi.slice(0)),Li=Object.freeze(Object.defineProperties(Qi,{raw:{value:Object.freeze($i)}})))),aa=function(e){var t=e.delay,n=e.offset;return Jr("span",{css:_r({animation:"".concat(ia," 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZG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ICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},sa=function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return Jr("div",On({ref:r},wi(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},la=["data"],ca=function(e){var t=e.children,n=e.cx,o=e.getStyles,r=e.getClassNames,i=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Jr("div",On({},wi(e,"group",{group:!0}),s),Jr(i,On({},a,{selectProps:u,theme:c,getStyles:o,getClassNames:r,cx:n}),l),Jr("div",null,t))},ua=["innerRef","isDisabled","isHidden","inputClassName"],da={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},pa={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":$n({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},da)},fa=function(e){return $n({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},da)},ba=function(e){var t=e.cx,n=e.value,o=Ai(e),r=o.innerRef,i=o.isDisabled,a=o.isHidden,s=o.inputClassName,l=to(o,ua);return Jr("div",On({},wi(e,"input",{"input-container":!0}),{"data-value":n||""}),Jr("input",On({className:t({input:!0},s),ref:r,style:fa(a),disabled:i},l)))},ma=function(e){var t=e.children,n=e.innerProps;return Jr("div",n,t)};var ga=function(e){var t=e.children,n=e.components,o=e.data,r=e.innerProps,i=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return Jr(l,{data:o,innerProps:$n($n({},wi(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),r),selectProps:s},Jr(c,{data:o,innerProps:$n({},wi(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Jr(u,{data:o,innerProps:$n($n({},wi(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},ha={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Jr("div",On({},wi(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Jr(ea,null))},Control:sa,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Jr("div",On({},wi(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Jr(ta,null))},DownChevron:ta,CrossIcon:ea,Group:ca,GroupHeading:function(e){var t=Ai(e);t.data;var n=to(t,la);return Jr("div",On({},wi(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Jr("div",On({},wi(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Jr("span",On({},t,wi(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:ba,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,r=void 0===o?4:o,i=to(e,Ui);return Jr("div",On({},wi($n($n({},i),{},{innerProps:t,isRtl:n,size:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Jr(aa,{delay:0,offset:n}),Jr(aa,{delay:160,offset:!0}),Jr(aa,{delay:320,offset:!n}))},Menu:zi,MenuList:function(e){var t=e.children,n=e.innerProps,o=e.innerRef,r=e.isMulti;return Jr("div",On({},wi(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:o},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,o=e.controlElement,r=e.innerProps,i=e.menuPlacement,l=e.menuPosition,d=u(null),p=u(null),f=eo(a(Zi(i)),2),b=f[0],m=f[1],g=c(function(){return{setPortalPlacement:m}},[]),h=eo(a(null),2),v=h[0],I=h[1],C=s(function(){if(o){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(o),t="fixed"===l?0:window.pageYOffset,n=e[b]+t;n===(null==v?void 0:v.offset)&&e.left===(null==v?void 0:v.rect.left)&&e.width===(null==v?void 0:v.rect.width)||I({offset:n,rect:e})}},[o,l,b,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);hi(function(){C()},[C]);var x=s(function(){"function"==typeof p.current&&(p.current(),p.current=null),o&&d.current&&(p.current=gi(o,d.current,C,{elementResize:"ResizeObserver"in window}))},[o,C]);hi(function(){x()},[x]);var A=s(function(e){d.current=e,x()},[x]);if(!t&&"fixed"!==l||!v)return null;var w=Jr("div",On({ref:A},wi($n($n({},e),{},{offset:v.offset,position:l,rect:v.rect}),"menuPortal",{"menu-portal":!0}),r),n);return Jr(Di.Provider,{value:g},t?y(w,t):w)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,r=to(e,Mi);return Jr("div",On({},wi($n($n({},r),{},{children:n,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,o=e.innerProps,r=to(e,Pi);return Jr("div",On({},wi($n($n({},r),{},{children:n,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),n)},MultiValue:ga,MultiValueContainer:ma,MultiValueLabel:ma,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Jr("div",On({role:"button"},n),t||Jr(ea,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.innerRef,a=e.innerProps;return Jr("div",On({},wi(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":o,"option--is-selected":r}),{ref:i,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Jr("div",On({},wi(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,o=e.isDisabled,r=e.isRtl;return Jr("div",On({},wi(e,"container",{"--is-disabled":o,"--is-rtl":r}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,o=e.innerProps;return Jr("div",On({},wi(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),o),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,o=e.isMulti,r=e.hasValue;return Jr("div",On({},wi(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":r}),n),t)}},va=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function ya(e,t){return e===t||!(!va(e)||!va(t))}function Ia(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!ya(e[n],t[n]))return!1;return!0}for(var Ca="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)."}},xa=function(e){return Jr("span",On({css:Ca},e))},Aa={guidance:function(e){var t=e.isSearchable,n=e.isMulti,o=e.tabSelectsValue,r=e.context,i=e.isInitialFocus;switch(r){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(o?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,o=void 0===n?"":n,r=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(r.length>1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return"option ".concat(o,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,o=e.options,r=e.label,i=void 0===r?"":r,a=e.selectValue,s=e.isDisabled,l=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(i," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(i).concat(p,", ").concat(u(o,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},wa=function(e){var t=e.ariaSelection,n=e.focusedOption,o=e.focusedValue,r=e.focusableOptions,i=e.isFocused,a=e.selectValue,s=e.selectProps,l=e.id,u=e.isAppleDevice,d=s.ariaLiveMessages,p=s.getOptionLabel,f=s.inputValue,b=s.isMulti,g=s.isOptionDisabled,h=s.isSearchable,v=s.menuIsOpen,y=s.options,I=s.screenReaderStatus,C=s.tabSelectsValue,x=s.isLoading,A=s["aria-label"],w=s["aria-live"],G=c(function(){return $n($n({},Aa),d||{})},[d]),N=c(function(){var e,n="";if(t&&G.onChange){var o=t.option,r=t.options,i=t.removedValue,s=t.removedValues,l=t.value,c=i||o||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=r||s||void 0,f=d?d.map(p):[],b=$n({isDisabled:c&&g(c,a),label:u,labels:f},t);n=G.onChange(b)}return n},[t,G,g,a,p]),E=c(function(){var e="",t=n||o,i=!!(n&&a&&a.includes(n));if(t&&G.onFocus){var s={focused:t,label:p(t),isDisabled:g(t,a),isSelected:i,options:r,context:t===n?"menu":"value",selectValue:a,isAppleDevice:u};e=G.onFocus(s)}return e},[n,o,p,g,G,r,a,u]),R=c(function(){var e="";if(v&&y.length&&!x&&G.onFilter){var t=I({count:r.length});e=G.onFilter({inputValue:f,resultsMessage:t})}return e},[r,f,v,G,y,I,x]),O="initial-input-focus"===(null==t?void 0:t.action),B=c(function(){var e="";if(G.guidance){var t=o?"value":v?"menu":"input";e=G.guidance({"aria-label":A,context:t,isDisabled:n&&g(n,a),isMulti:b,isSearchable:h,tabSelectsValue:C,isInitialFocus:O})}return e},[A,n,o,b,g,h,v,G,a,C,O]),T=Jr(m,null,Jr("span",{id:"aria-selection"},N),Jr("span",{id:"aria-focused"},E),Jr("span",{id:"aria-results"},R),Jr("span",{id:"aria-guidance"},B));return Jr(m,null,Jr(xa,{id:l},O&&T),Jr(xa,{"aria-live":w,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!O&&T))},Ga=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Na=new RegExp("["+Ga.map(function(e){return e.letters}).join("")+"]","g"),Ea={},Ra=0;Ra<Ga.length;Ra++)for(var Oa=Ga[Ra],Ba=0;Ba<Oa.letters.length;Ba++)Ea[Oa.letters[Ba]]=Oa.base;var Ta=function(e){return e.replace(Na,function(e){return Ea[e]})},ka=function(e,t){void 0===t&&(t=Ia);var n=null;function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(n&&n.lastThis===this&&t(o,n.lastArgs))return n.lastResult;var i=e.apply(this,o);return n={lastResult:i,lastArgs:o,lastThis:this},i}return o.clear=function(){n=null},o}(Ta),Sa=function(e){return e.replace(/^\s+|\s+$/g,"")},Va=function(e){return"".concat(e.label," ").concat(e.value)},Xa=function(e){return function(t,n){if(t.data.__isNew__)return!0;var o=$n({ignoreCase:!0,ignoreAccents:!0,stringify:Va,trim:!0,matchFrom:"any"},e),r=o.ignoreCase,i=o.ignoreAccents,a=o.stringify,s=o.trim,l=o.matchFrom,c=s?Sa(n):n,u=s?Sa(a(t)):a(t);return r&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=ka(c),u=Ta(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},Wa=["innerRef"];function Pa(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var r=Object.entries(e).filter(function(e){var t=eo(e,1)[0];return!n.includes(t)});return r.reduce(function(e,t){var n=eo(t,2),o=n[0],r=n[1];return e[o]=r,e},{})}(to(e,Wa),"onExited","in","enter","exit","appear");return Jr("input",On({ref:t},n,{css:_r({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+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var Ma=["boxSizing","height","overflow","paddingRight","position"],Ha={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function La(e){e.cancelable&&e.preventDefault()}function Za(e){e.stopPropagation()}function Da(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Fa(){return"ontouchstart"in window||navigator.maxTouchPoints}var za=!("undefined"==typeof window||!window.document||!window.document.createElement),Ya=0,ja={capture:!1,passive:!1};var Ja=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},_a="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQ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9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+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 Ua(e){var t=e.children,n=e.lockEnabled,o=e.captureEnabled,r=function(e){var t=e.isEnabled,n=e.onBottomArrive,o=e.onBottomLeave,r=e.onTopArrive,i=e.onTopLeave,a=u(!1),c=u(!1),d=u(0),p=u(null),f=s(function(e,t){if(null!==p.current){var s=p.current,l=s.scrollTop,u=s.scrollHeight,d=s.clientHeight,f=p.current,b=t>0,m=u-d-l,g=!1;m>t&&a.current&&(o&&o(e),a.current=!1),b&&c.current&&(i&&i(e),c.current=!1),b&&t>m?(n&&!a.current&&n(e),f.scrollTop=u,g=!0,a.current=!0):!b&&-t>l&&(r&&!c.current&&r(e),f.scrollTop=0,g=!0,c.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,o,r,i]),b=s(function(e){f(e,e.deltaY)},[f]),m=s(function(e){d.current=e.changedTouches[0].clientY},[]),g=s(function(e){var t=d.current-e.changedTouches[0].clientY;f(e,t)},[f]),h=s(function(e){if(e){var t=!!Vi&&{passive:!1};e.addEventListener("wheel",b,t),e.addEventListener("touchstart",m,t),e.addEventListener("touchmove",g,t)}},[g,m,b]),v=s(function(e){e&&(e.removeEventListener("wheel",b,!1),e.removeEventListener("touchstart",m,!1),e.removeEventListener("touchmove",g,!1))},[g,m,b]);return l(function(){if(t){var e=p.current;return h(e),function(){v(e)}}},[t,h,v]),function(e){p.current=e}}({isEnabled:void 0===o||o,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,o=void 0===n||n,r=u({}),i=u(null),a=s(function(e){if(za){var t=document.body,n=t&&t.style;if(o&&Ma.forEach(function(e){var t=n&&n[e];r.current[e]=t}),o&&Ya<1){var i=parseInt(r.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(Ha).forEach(function(e){var t=Ha[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&Fa()&&(t.addEventListener("touchmove",La,ja),e&&(e.addEventListener("touchstart",Da,ja),e.addEventListener("touchmove",Za,ja))),Ya+=1}},[o]),c=s(function(e){if(za){var t=document.body,n=t&&t.style;Ya=Math.max(Ya-1,0),o&&Ya<1&&Ma.forEach(function(e){var t=r.current[e];n&&(n[e]=t)}),t&&Fa()&&(t.removeEventListener("touchmove",La,ja),e&&(e.removeEventListener("touchstart",Da,ja),e.removeEventListener("touchmove",Za,ja)))}},[o]);return l(function(){if(t){var e=i.current;return a(e),function(){c(e)}}},[t,a,c]),function(e){i.current=e}}({isEnabled:n});return Jr(m,null,n&&Jr("div",{onClick:Ja,css:_a}),t(function(e){r(e),i(e)}))}var Qa="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)."}},$a=function(e){var t=e.name,n=e.onFocus;return Jr("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Qa,value:"",onChange:function(){}})};function Ka(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 qa(){return Ka(/^Mac/i)}function es(){return Ka(/^iPhone/i)||Ka(/^iPad/i)||qa()&&navigator.maxTouchPoints>1}var ts={clearIndicator:ra,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,o=e.isFocused,r=e.theme,i=r.colors,a=r.borderRadius;return $n({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:r.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:o?i.primary:i.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:o?i.primary:i.neutral30}})},dropdownIndicator:oa,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,o=n.colors,r=n.spacing;return $n({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*r.baseUnit,paddingRight:3*r.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return $n({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*r,marginTop:2*r})},input:function(e,t){var n=e.isDisabled,o=e.value,r=e.theme,i=r.spacing,a=r.colors;return $n($n({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},pa),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,o=e.size,r=e.theme,i=r.colors,a=r.spacing.baseUnit;return $n({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a})},loadingMessage:Ji,menu:function(e,t){var n,o=e.placement,r=e.theme,i=r.borderRadius,a=r.spacing,s=r.colors;return $n((Un(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),Un(n,"position","absolute"),Un(n,"width","100%"),Un(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,o=e.theme.spacing.baseUnit;return $n({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:o,paddingTop:o})},menuPortal:function(e){var t=e.rect,n=e.offset,o=e.position;return{left:t.left,position:o,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,o=n.spacing,r=n.borderRadius,i=n.colors;return $n({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:r/2,margin:o.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,o=n.borderRadius,r=n.colors,i=e.cropWithEllipsis;return $n({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:r.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,o=n.spacing,r=n.borderRadius,i=n.colors,a=e.isFocused;return $n({alignItems:"center",display:"flex"},t?{}:{borderRadius:r/2,backgroundColor:a?i.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:ji,option:function(e,t){var n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.theme,a=i.spacing,s=i.colors;return $n({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:r?s.primary:o?s.primary25:"transparent",color:n?s.neutral20:r?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:r?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,o=n.spacing,r=n.colors;return $n({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:r.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,o=e.theme,r=o.spacing,i=o.colors;return $n({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,o=e.isMulti,r=e.hasValue,i=e.selectProps.controlShouldRenderValue;return $n({alignItems:"center",display:o&&r&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},ns={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}},os={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Bi(),captureMenuScroll:!Bi(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Xa(),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 rs(e,t,n,o){return{type:"option",data:t,isDisabled:ps(e,t,n),isSelected:fs(e,t,n),label:us(e,t),value:ds(e,t),index:o}}function is(e,t){return e.options.map(function(n,o){if("options"in n){var r=n.options.map(function(n,o){return rs(e,n,t,o)}).filter(function(t){return ls(e,t)});return r.length>0?{type:"group",data:n,options:r,index:o}:void 0}var i=rs(e,n,t,o);return ls(e,i)?i:void 0}).filter(Xi)}function as(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,so(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function ss(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,so(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 ls(e,t){var n=e.inputValue,o=void 0===n?"":n,r=t.data,i=t.isSelected,a=t.label,s=t.value;return(!ms(e)||!i)&&bs(e,{label:a,value:s,data:r},o)}var cs=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},us=function(e,t){return e.getOptionLabel(t)},ds=function(e,t){return e.getOptionValue(t)};function ps(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function fs(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=ds(e,t);return n.some(function(t){return ds(e,t)===o})}function bs(e,t,n){return!e.filterOption||e.filterOption(t,n)}var ms=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},gs=1,hs=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&&Tn(e,t)}(t,b);var e=function(e){var t=io();return function(){var n,o=ro(e);if(t){var r=ro(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return ao(this,n)}}(t);function t(n){var o;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=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},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.controlRef=null,o.getControlRef=function(e){o.controlRef=e},o.focusedOptionRef=null,o.getFocusedOptionRef=function(e){o.focusedOptionRef=e},o.menuListRef=null,o.getMenuListRef=function(e){o.menuListRef=e},o.inputRef=null,o.getInputRef=function(e){o.inputRef=e},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(e,t){var n=o.props,r=n.onChange,i=n.name;t.name=i,o.ariaOnChange(e,t),r(e,t)},o.setValue=function(e,t,n){var r=o.props,i=r.closeMenuOnSelect,a=r.isMulti,s=r.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(o.setState({inputIsHiddenAfterUpdate:!a}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(e,{action:t,option:n})},o.selectOption=function(e){var t=o.props,n=t.blurInputOnSelect,r=t.isMulti,i=t.name,a=o.state.selectValue,s=r&&o.isOptionSelected(e,a),l=o.isOptionDisabled(e,a);if(s){var c=o.getOptionValue(e);o.setValue(a.filter(function(e){return o.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void o.ariaOnChange(e,{action:"select-option",option:e,name:i});r?o.setValue([].concat(so(a),[e]),"select-option",e):o.setValue(e,"select-option")}n&&o.blurInput()},o.removeValue=function(e){var t=o.props.isMulti,n=o.state.selectValue,r=o.getOptionValue(e),i=n.filter(function(e){return o.getOptionValue(e)!==r}),a=Wi(t,i,i[0]||null);o.onChange(a,{action:"remove-value",removedValue:e}),o.focusInput()},o.clearValue=function(){var e=o.state.selectValue;o.onChange(Wi(o.props.isMulti,[],null),{action:"clear",removedValues:e})},o.popValue=function(){var e=o.props.isMulti,t=o.state.selectValue,n=t[t.length-1],r=t.slice(0,t.length-1),i=Wi(e,r,r[0]||null);n&&o.onChange(i,{action:"pop-value",removedValue:n})},o.getFocusedOptionId=function(e){return cs(o.state.focusableOptionsWithIds,e)},o.getFocusableOptionsWithIds=function(){return ss(is(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ci.apply(void 0,[o.props.classNamePrefix].concat(t))},o.getOptionLabel=function(e){return us(o.props,e)},o.getOptionValue=function(e){return ds(o.props,e)},o.getStyles=function(e,t){var n=o.props.unstyled,r=ts[e](t,n);r.boxSizing="border-box";var i=o.props.styles[e];return i?i(r,t):r},o.getClassNames=function(e,t){var n,r;return null===(n=(r=o.props.classNames)[e])||void 0===n?void 0:n.call(r,t)},o.getElementId=function(e){return"".concat(o.state.instancePrefix,"-").concat(e)},o.getComponents=function(){return e=o.props,$n($n({},ha),e.components);var e},o.buildCategorizedOptions=function(){return is(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return as(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(e,t){o.setState({ariaSelection:$n({value:e},t)})},o.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(e){o.blockOptionHover=!1},o.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&o.onMenuClose():t&&o.openMenu("first"):(t&&(o.openAfterFocus=!0),o.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},o.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||o.props.isDisabled)){var t=o.props,n=t.isMulti,r=t.menuIsOpen;o.focusInput(),r?(o.setState({inputIsHiddenAfterUpdate:!n}),o.onMenuClose()):o.openMenu("first"),e.preventDefault()}},o.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(o.clearValue(),e.preventDefault(),o.openAfterFocus=!1,"touchend"===e.type?o.focusInput():setTimeout(function(){return o.focusInput()}))},o.onScroll=function(e){"boolean"==typeof o.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Gi(e.target)&&o.props.onMenuClose():"function"==typeof o.props.closeMenuOnScroll&&o.props.closeMenuOnScroll(e)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(o.initialTouchX=n.clientX,o.initialTouchY=n.clientY,o.userIsDragging=!1)},o.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var r=Math.abs(n.clientX-o.initialTouchX),i=Math.abs(n.clientY-o.initialTouchY);o.userIsDragging=r>5||i>5}},o.onTouchEnd=function(e){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(e.target)&&o.menuListRef&&!o.menuListRef.contains(e.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(e){o.userIsDragging||o.onControlMouseDown(e)},o.onClearIndicatorTouchEnd=function(e){o.userIsDragging||o.onClearIndicatorMouseDown(e)},o.onDropdownIndicatorTouchEnd=function(e){o.userIsDragging||o.onDropdownIndicatorMouseDown(e)},o.handleInputChange=function(e){var t=o.props.inputValue,n=e.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(n,{action:"input-change",prevInputValue:t}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(e){o.props.onFocus&&o.props.onFocus(e),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(e){var t=o.props.inputValue;o.menuListRef&&o.menuListRef.contains(document.activeElement)?o.inputRef.focus():(o.props.onBlur&&o.props.onBlur(e),o.onInputChange("",{action:"input-blur",prevInputValue:t}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1}))},o.onOptionHover=function(e){if(!o.blockOptionHover&&o.state.focusedOption!==e){var t=o.getFocusableOptions().indexOf(e);o.setState({focusedOption:e,focusedOptionId:t>-1?o.getFocusedOptionId(e):null})}},o.shouldHideSelectedOptions=function(){return ms(o.props)},o.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),o.focus()},o.onKeyDown=function(e){var t=o.props,n=t.isMulti,r=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,f=o.state,b=f.focusedOption,m=f.focusedValue,g=f.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(o.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;o.focusValue("previous");break;case"ArrowRight":if(!n||a)return;o.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)o.removeValue(m);else{if(!r)return;n?o.popValue():s&&o.clearValue()}break;case"Tab":if(o.isComposing)return;if(e.shiftKey||!c||!d||!b||p&&o.isOptionSelected(b,g))return;o.selectOption(b);break;case"Enter":if(229===e.keyCode)break;if(c){if(!b)return;if(o.isComposing)return;o.selectOption(b);break}return;case"Escape":c?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:a}),o.onMenuClose()):s&&i&&o.clearValue();break;case" ":if(a)return;if(!c){o.openMenu("first");break}if(!b)return;o.selectOption(b);break;case"ArrowUp":c?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":c?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!c)return;o.focusOption("pageup");break;case"PageDown":if(!c)return;o.focusOption("pagedown");break;case"Home":if(!c)return;o.focusOption("first");break;case"End":if(!c)return;o.focusOption("last");break;default:return}e.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++gs),o.state.selectValue=xi(n.value),n.menuIsOpen&&o.state.selectValue.length){var r=o.getFocusableOptionsWithIds(),i=o.buildFocusableOptions(),a=i.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=r,o.state.focusedOption=i[a],o.state.focusedOptionId=cs(r,i[a])}return o}return function(e,t,n){t&&oo(e.prototype,t),n&&oo(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&&Oi(this.menuListRef,this.focusedOptionRef),(qa()||es())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,o=t.menuIsOpen,r=this.state.isFocused;(r&&!n&&e.isDisabled||r&&o&&!e.menuIsOpen)&&this.focusInput(),r&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):r||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Oi(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,o=n.selectValue,r=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(o[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a],focusedOptionId:this.getFocusedOptionId(i[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,o=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var r=n.indexOf(o);o||(r=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===r?0:-1===r?i:r-1;break;case"next":r>-1&&r<i&&(a=r+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,o=this.getFocusableOptions();if(o.length){var r=0,i=o.indexOf(n);n||(i=-1),"up"===e?r=i>0?i-1:o.length-1:"down"===e?r=(i+1)%o.length:"pageup"===e?(r=i-t)<0&&(r=0):"pagedown"===e?(r=i+t)>o.length-1&&(r=o.length-1):"last"===e&&(r=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[r],focusedValue:null,focusedOptionId:this.getFocusedOptionId(o[r])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(ns):$n($n({},ns),this.props.theme):ns}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,o=this.getClassNames,r=this.getValue,i=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:o,getValue:r,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:i,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return ps(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return fs(this.props,e,t)}},{key:"filterOption",value:function(e,t){return bs(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,o=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:o})}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,r=e.inputId,i=e.inputValue,a=e.tabIndex,s=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,f=d.ariaSelection,b=this.commonProps,m=r||this.getElementId("input"),g=$n($n($n({"aria-autocomplete":"list","aria-expanded":l,"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||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==f?void 0:f.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?o.createElement(u,On({},b,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:s,type:"text",value:i},g)):o.createElement(Pa,On({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:yi,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,i=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,f=u.isMulti,b=u.inputValue,m=u.placeholder,g=this.state,h=g.selectValue,v=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return b?null:o.createElement(l,On({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),m);if(f)return h.map(function(t,s){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return o.createElement(n,On({},c,{components:{Container:r,Label:i,Remove:a},isFocused:l,isDisabled:p,key:u,index:s,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(b)return null;var I=h[0];return o.createElement(s,On({},c,{data:I,isDisabled:p}),this.formatOptionLabel(I,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||i)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return o.createElement(e,On({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!e||!i)return null;return o.createElement(e,On({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return o.createElement(n,On({},r,{isDisabled:i,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return o.createElement(e,On({},t,{innerProps:i,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,i=t.Menu,a=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,f=this.props,b=f.captureMenuScroll,m=f.inputValue,g=f.isLoading,h=f.loadingMessage,v=f.minMenuHeight,y=f.maxMenuHeight,I=f.menuIsOpen,C=f.menuPlacement,x=f.menuPosition,A=f.menuPortalTarget,w=f.menuShouldBlockScroll,G=f.menuShouldScrollIntoView,N=f.noOptionsMessage,E=f.onMenuScrollToTop,R=f.onMenuScrollToBottom;if(!I)return null;var O,B=function(t,n){var r=t.type,i=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,f=p===i,b=a?void 0:function(){return e.onOptionHover(i)},m=a?void 0:function(){return e.selectOption(i)},g="".concat(e.getElementId("option"),"-").concat(n),h={id:g,onClick:m,onMouseMove:b,onMouseOver:b,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return o.createElement(u,On({},d,{innerProps:h,data:i,isDisabled:a,isSelected:s,key:g,label:l,type:r,value:c,isFocused:f,innerRef:f?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())O=this.getCategorizedOptions().map(function(t){if("group"===t.type){var i=t.data,a=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return o.createElement(n,On({},d,{key:l,data:i,options:a,Heading:r,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return B(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return B(t,"".concat(t.index))});else if(g){var T=h({inputValue:m});if(null===T)return null;O=o.createElement(l,d,T)}else{var k=N({inputValue:m});if(null===k)return null;O=o.createElement(c,d,k)}var S={minMenuHeight:v,maxMenuHeight:y,menuPlacement:C,menuPosition:x,menuShouldScrollIntoView:G},V=o.createElement(Fi,On({},d,S),function(t){var n=t.ref,r=t.placerProps,s=r.placement,l=r.maxHeight;return o.createElement(i,On({},d,S,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),o.createElement(Ua,{captureEnabled:b,onTopArrive:E,onBottomArrive:R,lockEnabled:w},function(t){return o.createElement(a,On({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:l,focusedOption:p}),O)}))});return A||"fixed"===x?o.createElement(s,On({},d,{appendTo:A,controlElement:this.controlRef,menuPlacement:C,menuPosition:x}),V):V}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,i=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!r)return o.createElement($a,{name:a,onFocus:this.onValueInputFocus});if(a&&!r){if(i){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return o.createElement("input",{name:a,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return o.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})}):o.createElement("input",{name:a,type:"hidden",value:""});return o.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return o.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,a=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return o.createElement(wa,On({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:i,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,i=e.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return o.createElement(r,On({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),o.createElement(t,On({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),o.createElement(i,On({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),o.createElement(n,On({},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,o=t.clearFocusValueOnUpdate,r=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,f=e.isMulti,b=xi(u),m={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return as(is(e,t))}(e,b):[],h=d?ss(is(e,b),"".concat(l,"-option")):[],v=o?function(e,t){var n=e.focusedValue,o=e.selectValue.indexOf(n);if(o>-1){if(t.indexOf(n)>-1)return n;if(o<t.length)return t[o]}return null}(t,b):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);m={selectValue:b,focusedOption:y,focusedOptionId:cs(h,y),focusableOptionsWithIds:h,focusedValue:v,clearFocusValueOnUpdate:!1}}var I=null!=r&&e!==n?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},C=i,x=a&&s;return a&&!x&&(C={value:Wi(f,b,b[0]||null),options:b,action:"initial-input-focus"},x=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(C=null),$n($n($n({},m),I),{},{prevProps:e,ariaSelection:C,prevWasFocused:x})}}]),t}();hs.defaultProps=os;var vs=i(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,o=e.defaultMenuIsOpen,r=void 0!==o&&o,i=e.defaultValue,l=void 0===i?null:i,c=e.inputValue,u=e.menuIsOpen,d=e.onChange,p=e.onInputChange,f=e.onMenuClose,b=e.onMenuOpen,m=e.value,g=to(e,no),h=eo(a(void 0!==c?c:n),2),v=h[0],y=h[1],I=eo(a(void 0!==u?u:r),2),C=I[0],x=I[1],A=eo(a(void 0!==m?m:l),2),w=A[0],G=A[1],N=s(function(e,t){"function"==typeof d&&d(e,t),G(e)},[d]),E=s(function(e,t){var n;"function"==typeof p&&(n=p(e,t)),y(void 0!==n?n:e)},[p]),R=s(function(){"function"==typeof b&&b(),x(!0)},[b]),O=s(function(){"function"==typeof f&&f(),x(!1)},[f]),B=void 0!==c?c:v,T=void 0!==u?u:C,k=void 0!==m?m:w;return $n($n({},g),{},{inputValue:B,menuIsOpen:T,onChange:N,onInputChange:E,onMenuClose:O,onMenuOpen:R,value:k})}(e);return o.createElement(hs,On({ref:t},n))}),ys=vs;const Is=r.memo(({options:n,className:o,controlClassName:r,value:i,isCustomStyle:a=!1,placeholder:s,required:l,onChange:u,filterOptions:d,hasError:p,error:f,menuClassName:b,helperText:m,label:g,labelClassName:h,size:v="md",variant:y="default","data-cy":I,"data-testid":C,...x})=>{const A=c(()=>Xa(d),[d]),w=c(()=>({control:({isFocused:e})=>Se("sm"===v?"h-[48px] px-3 rounded-lg":"h-[56px] px-3 rounded-xl","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},r),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>a?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>Se(a?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Se("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",b),option:({isFocused:e,isSelected:t,label:o})=>{var r;return Se("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===(r=n[n.length-1])||void 0===r?void 0:r.label)!==o?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[a,r,b,n,p,v]);return"unstyled"===y?e(ys,{options:n,value:i,placeholder:l?`${s}*`:s,onChange:u,filterOption:A,className:Se("rounded-xl",o),classNames:w,"data-cy":I,"data-testid":C,...x}):t("div",{className:"w-full",children:[g&&e("label",{className:Se("mb-1 block text-sm font-medium text-text-secondary",h),children:g}),e(ys,{options:n,value:i,placeholder:l?`${s}*`:s,onChange:u,filterOption:A,className:Se("rounded-xl",o),classNames:w,"data-cy":I,"data-testid":C,...x}),f&&e($e,{className:"footnote mt-1 text-text-critical",children:f}),!f&&m&&e($e,{className:"footnote mt-1 text-text-info",children:m})]})});Is.displayName="Select";const Cs=({errorMessage:n,className:o,iconClassName:r,iconSize:i=52,iconName:a="dangerous",textVariant:s})=>n?t("div",{className:Se("flex flex-col items-center justify-center gap-5 rounded-surface-sm border-2 border-border-critical bg-bg-fill-critical-secondary px-4 py-6 md:flex-row md:py-4",o),"data-testid":"alert-card",children:[e("div",{children:e(Qe,{name:a,size:i,className:Se("text-icon-critical",r)})}),e($e,{className:Se("body2 text-text",s),children:n})]}):null;Cs.displayName="AlertCard";const xs=e=>{let t="";return e.base&&(t="x-large"===e.base?"label3 ":"label4 "),e.md&&(t+="x-large"===e.md?"md:label3 ":"md:label4 "),e.lg&&(t+="x-large"===e.lg?"lg:label3 ":"lg:label4 "),t.trim()},As=i(({variant:o="primary_brand",isLoading:r=!1,text:i,label:a,disabled:s,fullWidth:l,buttonClassName:c,size:u={base:"medium"},as:d="button",...p},f)=>{const b=(()=>{const e=Se((e=>{let t="";return e.base&&(t=`btn-${e.base} `),e.md&&(t+=`${(e=>{switch(e){case"small":return"md:btn-small";case"medium":return"md:btn-medium";case"large":return"md:btn-large";case"x-large":return"md:btn-x-large"}})(e.md)} `),e.lg&&(t+=`lg:btn-${e.lg} `),t.trim()})(u),"rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top whitespace-nowrap",l?"w-full":"w-auto"),t=Se((s||r)&&"cursor-not-allowed",r&&"pl-7");return Se(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand disabled:bg-bg-fill-brand-disabled",primary_inverse:"bg-bg-fill-inverse text-text-inverse [&:not(:disabled)]:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse disabled:bg-bg-fill-inverse-disabled",secondary:"border border-border-secondary-on-bg-fill bg-bg-fill-secondary text-text [&:not(:disabled)]:hover:bg-bg-fill-secondary-hover focus:bg-bg-fill-secondary focus:ring-input-border-hover disabled:bg-bg-fill-secondary"}[o]||"",t,c)})();let m=`button--${o}`;r&&(m+=" button--loading"),s&&(m+=" button--disabled");const g=`${m} ${b}`,h=t(n,{children:[r?e(Qe,{name:"progress_activity",className:"animate-spin"}):null,a?t("span",{className:"flex flex-col",children:[e("span",{className:Se(xs(u)),children:a}),i]}):i]});return"a"===d?e("a",{ref:f,className:Se(g),...p,children:h}):e("button",{ref:f,className:Se(g),disabled:s||r,...p,children:h})});As.displayName="BrandButton";const ws=t=>{const{className:n,...o}=t;return e("div",{className:Se("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...o})};ws.displayName="Divider";const Gs=n=>{const{name:o,value:r,label:i,subText:a,checked:s,onChange:l,className:c,variant:u="circle",hasError:d=!1,labelProps:p={},"data-cy":f,labelClassName:b="",disabled:m,...g}=n,h=()=>null==l?void 0:l(r||o);return t("label",{htmlFor:o,className:Se("flex items-center",c),"data-cy":f,...p,children:[e("input",{className:"hidden",type:"radio",name:o,value:r,checked:s,readOnly:!0,disabled:m,...g}),e(et,{type:"button",onClick:h,disabled:m,className:Se("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",s&&"border-[1px] border-solid border-border-brand",m&&"opacity-50"),children:s&&e("div",{className:"h-[0.875rem] w-[0.875rem] rounded-full bg-bg-fill-brand"})}),t(et,{type:"button",onClick:h,disabled:m,tabIndex:i?0:-1,children:[e("div",{className:Se("text-body2 font-normal",b),children:i}),e("div",{className:"text-body1 text-text-info",children:a})]})]})};Gs.displayName="RadioButton";const Ns=n=>{const{list:o,text:r}=n,[i,s]=a(!0);return t("div",{className:"mt-3",children:[t(et,{type:"button",className:"flex items-center gap-2 text-base font-semibold text-gray-900","aria-expanded":i,onClick:e=>{e.stopPropagation(),s(e=>!e)},children:[e("span",{children:r||"See details"}),e(Qe,{name:i?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e(zn,{open:i,children:e("div",{className:"pt-1",children:e(Ke,{listItemClassName:"body3",items:o})})})]})};Ns.displayName="SeeMore";const Es=({onSelect:o,speed:r,isSelected:i=!1,renderCheckPlans:s,iconSize:l=24,iconClassName:c,cta:u,techType:d,isMax:p})=>{const[f,b]=a(!1),m=`btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${i?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,g=null==s?void 0:s({speedCardConfig:{isModalOpen:f,setModalOpen:()=>{b(!1)},speed:r,techType:d,isMax:p},cta:u});return t(n,{children:[t(et,{onClick:()=>{b(!0),o()},className:Se(m,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${r}`,"data-track-element-clicked":"speed_plan_card",children:[e("span",{children:"Select plan"}),e(Qe,{className:Se(c,i?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:l})]}),g]})},Rs=({className:t="",count:n=1})=>e("div",{className:"animate-pulse space-y-4",children:Array.from({length:n}).map((n,o)=>e("div",{className:`h-8 rounded bg-skeleton-bg-start ${t}`,style:{opacity:1-.1*o}},o))});Rs.displayName="Skeleton";const Os=()=>t("div",{className:"item-center mx-auto mt-4 flex animate-pulse flex-col justify-center gap-10 px-1 md:max-w-[48.375rem] md:gap-16 md:px-0","data-testid":"generic-skeleton",children:[e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start","data-testid":"title"}),t("div",{className:"item-center flex flex-col gap-6","data-testid":"subtitle",children:[e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-start"}),e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-start"})]}),t("div",{className:"item-center flex flex-col gap-3","data-testid":"content",children:[e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start"}),e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start"})]}),t("div",{className:"item-center flex flex-col gap-6","data-testid":"additional-info",children:[e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-end"}),e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-end"})]}),e("div",{className:"item-center flex justify-center","data-testid":"cta-button",children:e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-end md:w-[22.125rem]"})})]});function Bs({tooltipMsg:o,className:r,children:i}){return t(n,{children:[e("style",{children:'\n .tooltip-custom {\n position: relative;\n cursor: pointer;\n margin-top: 7px;\n }\n .tooltip-custom::after {\n display: none;\n position: absolute;\n text-align: center;\n z-index: 999;\n content: attr(data-text);\n top: 0;\n left: -200%;\n transform: translate(-50%, calc(-100% - 10px));\n line-height: 1.1rem;\n padding-left: 1rem;\n padding-right: 1rem;\n border-radius: 8px;\n color: white;\n background-color: black;\n padding-bottom: 0.75rem;\n padding-top: 0.75rem;\n width: 270px;\n font-size: 14px;\n }\n .tooltip-custom:hover::after {\n display: block;\n }\n .tooltip-custom::before {\n background-color: black;\n content: " ";\n display: none;\n position: absolute;\n width: 15px;\n height: 15px;\n z-index: 999;\n top: 0;\n left: 50%;\n transform: translate(-50%, calc(-100% - 5px)) rotate(45deg);\n }\n .tooltip-custom:hover::before {\n display: block;\n }\n @media (max-width: 640px) {\n .tooltip-custom::after {\n left: -124px;\n }\n }\n @media (max-width: 343px) {\n .tooltip-custom::after {\n left: 80px;\n width: 160px;\n }\n }\n '}),e("span",{className:`tooltip-custom ${r||""}`,"data-text":o,children:i})]})}Bs.displayName="Tooltip";const Ts=n=>{const{cartTotalText:o,onClick:r,isOpen:i,...a}=n;return e(et,{className:Se("btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top border-2 border-border-secondary-on-bg-fill bg-bg text-text focus:ring-bg-surface-inverse","btn-small w-full border-border pl-6 pr-4 md:btn-medium"),onClick:r,...a,children:t("div",{className:"flex w-full items-center justify-center gap-2",children:[t("div",{className:"flex flex-col items-center justify-center",children:[e($e,{className:"label4 -mb-1 text-text",children:"View cart"}),e($e,{className:"label3 text-text md:label1","data-testid":"cart-total",children:o})]}),e(Qe,{name:"keyboard_arrow_up",size:24,fill:0,className:Se("h-6 w-6 transition-transform",i?"rotate-180":"rotate-0")})]})})};function ks(e){const{itemCount:t,cardOffsetPercentage:n=105,swipeThreshold:o=.15,mobileBreakpoint:r=768,autoScrollInterval:i=8e3,enableAutoScroll:c=!0}=e,[d,p]=a(0),[f,b]=a(0),[m,g]=a(!1),[h,v]=a(window.innerWidth),[y,I]=a(!1),C=u(null),x=u(0),A=u(null),w={CARD_OFFSET_PERCENTAGE:n,SWIPE_THRESHOLD:o,MOBILE_BREAKPOINT:r,AUTO_SCROLL_INTERVAL:i};l(()=>{const e=()=>{var e;v((null===(e=A.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const G=s(()=>{0!==t&&p(e=>(e+1)%t)},[t]),N=s(()=>{0!==t&&p(e=>0===e?t-1:e-1)},[t]),E=s(e=>{e<0||e>=t||p(e)},[t]),R=s(e=>{x.current=e.touches[0].clientX,g(!0),C.current&&clearInterval(C.current)},[]),O=s(e=>{if(!m)return;const t=e.touches[0].clientX-x.current;b(t)},[m]),B=s(()=>{g(!1);const e=h*o;f>e?N():f<-e&&G(),b(0),c&&i>0&&(C.current=setInterval(()=>{G()},i))},[f,h,o,N,G,c,i]);return l(()=>{const e=()=>{I(window.innerWidth<r)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[r]),l(()=>{if(c&&0!==t&&0!==i)return C.current=setInterval(()=>{G()},i),()=>{C.current&&clearInterval(C.current)}},[G,t,c,i]),{currentIndex:d,swipeOffset:f,isSwiping:m,isMobile:y,containerWidth:h,containerRef:A,nextSlide:G,prevSlide:N,goToSlide:E,handleTouchStart:R,handleTouchMove:O,handleTouchEnd:B,constants:w}}export{Yn as Accordion,Cs as AlertCard,As as BrandButton,et as Button,lt as CallButton,jn as Checkbox,Ke as Checklist,zn as Collapse,ws as Divider,ot as Image,nt as Input,tt as InputField,qe as Link,Ue as List,_e as ListItem,Qe as MaterialIcon,Fn as Modal,at as NextImage,Os as PageSkeleton,Gs as RadioButton,Ns as SeeMore,Is as Select,Es as SelectPlanButton,Rs as Skeleton,st as Spinner,$e as Text,nt as TextInput,Bs as Tooltip,Ts as ViewCartButton,C as clsx,Se as cx,ct as useBodyScrollLock,ks as useCarouselSwipe};
|
|
30
|
+
var n="none",o="contents",r=/^(input|select|textarea|button|object|iframe)$/;function i(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var r=window.getComputedStyle(e),i=r.getPropertyValue("display");return t?i!==o&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,r):i===n}catch(e){return console.warn("Failed to inspect element style"),!1}}function a(e,t){var n=e.nodeName.toLowerCase();return(r.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),i(t))return!1;t=t.parentNode}return!0}(e)}function s(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&a(e,!n)}e.exports=t.default}(Yt,Yt.exports)),Yt.exports}function Jt(){if(Dt)return zt;Dt=1,Object.defineProperty(zt,"__esModule",{value:!0}),zt.resetState=function(){o=[]},zt.log=function(){"production"!==process.env.NODE_ENV&&(console.log("focusManager ----------"),o.forEach(function(e){var t=e||{};console.log(t.nodeName,t.className,t.id)}),console.log("end focusManager ----------"))},zt.handleBlur=a,zt.handleFocus=s,zt.markForFocusLater=function(){o.push(document.activeElement)},zt.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==o.length&&(t=o.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},zt.popWithoutFocus=function(){o.length>0&&o.pop()},zt.setupScopedFocus=function(e){r=e,window.addEventListener?(window.addEventListener("blur",a,!1),document.addEventListener("focus",s,!0)):(window.attachEvent("onBlur",a),document.attachEvent("onFocus",s))},zt.teardownScopedFocus=function(){r=null,window.addEventListener?(window.removeEventListener("blur",a),document.removeEventListener("focus",s)):(window.detachEvent("onBlur",a),document.detachEvent("onFocus",s))};var e,t=jt(),n=(e=t)&&e.__esModule?e:{default:e};var o=[],r=null,i=!1;function a(){i=!0}function s(){if(i){if(i=!1,!r)return;setTimeout(function(){r.contains(document.activeElement)||((0,n.default)(r)[0]||r).focus()},0)}}return zt}var _t,Ut={exports:{}};function Qt(){return _t||(_t=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,r.default)(e);if(!n.length)return void t.preventDefault();var o=void 0,a=t.shiftKey,s=n[0],l=n[n.length-1],c=i();if(e===c){if(!a)return;o=l}l!==c||a||(o=s);s===c&&a&&(o=l);if(o)return t.preventDefault(),void o.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==u||"Chrome"==u[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var d=n.indexOf(c);d>-1&&(d+=a?-1:1);if(o=n[d],void 0===o)return t.preventDefault(),void(o=a?l:s).focus();t.preventDefault(),o.focus()};var n,o=jt(),r=(n=o)&&n.__esModule?n:{default:n};function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?i(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default}(Ut,Ut.exports)),Ut.exports}var $t,Kt,qt={};function en(){if(Kt)return $t;Kt=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var o=1;o<n;o++)t[o-1]=arguments[o];var r=0,i="Warning: "+e.replace(/%s/g,function(){return t[r++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};e=function(e,n,o){var r=arguments.length;o=new Array(r>2?r-2:0);for(var i=2;i<r;i++)o[i-2]=arguments[i];if(void 0===n)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||t.apply(null,[n].concat(o))}}return $t=e}var tn,nn,on,rn={},an={exports:{}};function sn(){if(nn)return rn;nn=1,Object.defineProperty(rn,"__esModule",{value:!0}),rn.canUseDOM=rn.SafeNodeList=rn.SafeHTMLCollection=void 0;var e,t,n=(tn||(tn=1,e=an,function(){var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n}()),an.exports);var o=((t=n)&&t.__esModule?t:{default:t}).default,r=o.canUseDOM?window.HTMLElement:{};return rn.SafeHTMLCollection=o.canUseDOM?window.HTMLCollection:{},rn.SafeNodeList=o.canUseDOM?window.NodeList:{},rn.canUseDOM=o.canUseDOM,rn.default=r,rn}function ln(){if(on)return qt;on=1,Object.defineProperty(qt,"__esModule",{value:!0}),qt.resetState=function(){r&&(r.removeAttribute?r.removeAttribute("aria-hidden"):null!=r.length?r.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(r).forEach(function(e){return e.removeAttribute("aria-hidden")}));r=null},qt.log=function(){if("production"!==process.env.NODE_ENV){var e=r||{};console.log("ariaAppHider ----------"),console.log(e.nodeName,e.className,e.id),console.log("end ariaAppHider ----------")}},qt.assertNodeList=i,qt.setElement=function(e){var t=e;if("string"==typeof t&&o.canUseDOM){var n=document.querySelectorAll(t);i(n,t),t=n}return r=t||r},qt.validateElement=a,qt.hide=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=a(e)[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){r.value.setAttribute("aria-hidden","true")}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}},qt.show=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=a(e)[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){r.value.removeAttribute("aria-hidden")}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}},qt.documentNotReadyOrSSRTesting=function(){r=null};var e,t=en(),n=(e=t)&&e.__esModule?e:{default:e},o=sn();var r=null;function i(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function a(e){var t=e||r;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,n.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}return qt}var cn,un={};function dn(){if(cn)return un;cn=1,Object.defineProperty(un,"__esModule",{value:!0}),un.resetState=function(){var o=document.getElementsByTagName("html")[0];for(var r in e)n(o,e[r]);var i=document.body;for(var a in t)n(i,t[a]);e={},t={}},un.log=function(){if("production"!==process.env.NODE_ENV){var n=document.getElementsByTagName("html")[0].className,o="Show tracked classes:\n\n";for(var r in o+="<html /> ("+n+"):\n ",e)o+=" "+r+" "+e[r]+"\n ";for(var i in o+="\n\ndoc.body ("+(n=document.body.className)+"):\n ",t)o+=" "+i+" "+t[i]+"\n ";o+="\n",console.log(o)}};var e={},t={};function n(e,t){e.classList.remove(t)}return un.add=function(n,o){return r=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void o.split(" ").forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(i,e),r.add(e)});var r,i},un.remove=function(n,o){return r=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void o.split(" ").forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(i,e),0===i[e]&&r.remove(e)});var r,i},un}var pn,fn={};function bn(){if(pn)return fn;pn=1,Object.defineProperty(fn,"__esModule",{value:!0}),fn.log=function(){console.log("portalOpenInstances ----------"),console.log(t.openInstances.length),t.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},fn.resetState=function(){t=new e};var e=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)?(t.openInstances.push(e),t.emit("register")):"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Cannot register modal instance that's already open")},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n?(t.openInstances.splice(n,1),t.emit("deregister")):"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Unable to deregister "+e+" as it was never registered")},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},t=new e;return fn.default=t,fn}var mn,gn,hn={};function vn(){return gn||(gn=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=r,s=g(Lt()),l=m(Jt()),c=g(Qt()),u=m(ln()),d=m(dn()),p=sn(),f=g(p),b=g(bn());function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}!function(){if(mn)return hn;mn=1,Object.defineProperty(hn,"__esModule",{value:!0}),hn.resetState=function(){for(var e=[o,r],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}o=r=null,i=[]},hn.log=function(){console.log("bodyTrap ----------"),console.log(i.length);for(var e=[o,r],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var e,t=bn(),n=(e=t)&&e.__esModule?e:{default:e},o=void 0,r=void 0,i=[];function a(){0!==i.length?i[i.length-1].focusContent():"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Open instances > 0 expected")}n.default.subscribe(function(e,t){o||r||((o=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),o.style.position="absolute",o.style.opacity="0",o.setAttribute("tabindex","0"),o.addEventListener("focus",a),(r=o.cloneNode()).addEventListener("focus",a)),(i=t).length>0?(document.body.firstChild!==o&&document.body.insertBefore(o,document.body.firstChild),document.body.lastChild!==r&&document.body.appendChild(r)):(o.parentElement&&o.parentElement.removeChild(o),r.parentElement&&r.parentElement.removeChild(r))})}();var h={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},v=0,y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,o=e.ariaHideApp,r=e.htmlOpenClassName,i=e.bodyOpenClassName,a=e.parentSelector,s=a&&a().ownerDocument||document;i&&d.remove(s.body,i),r&&d.remove(s.getElementsByTagName("html")[0],r),o&&v>0&&0===(v-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(l.returnFocus(n.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),b.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(l.setupScopedFocus(n.node),l.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":o(t))?t:{base:h[e],afterOpen:h[e]+"--after-open",beforeClose:h[e]+"--before-close"},i=r.base;return n.state.afterOpen&&(i=i+" "+r.afterOpen),n.state.beforeClose&&(i=i+" "+r.beforeClose),"string"==typeof t&&t?i+" "+t:i},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,o){return n[e+"-"+o]=t[o],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){"production"!==process.env.NODE_ENV&&(e.bodyOpenClassName!==this.props.bodyOpenClassName&&console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'),e.htmlOpenClassName!==this.props.htmlOpenClassName&&console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')),this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,o=e.htmlOpenClassName,r=e.bodyOpenClassName,i=e.parentSelector,a=i&&i().ownerDocument||document;r&&d.add(a.body,r),o&&d.add(a.getElementsByTagName("html")[0],o),n&&(v+=1,u.hide(t)),b.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,o=e.className,r=e.overlayClassName,i=e.defaultStyles,a=e.children,s=o?{}:i.content,l=r?{}:i.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",r),style:n({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=n({id:t,ref:this.setContentRef,style:n({},s,this.props.style.content),className:this.buildClassName("content",o),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,a);return this.props.overlayElement(c,d)}}]),t}(a.Component);y.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},y.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),parentSelector:s.default.func,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(f.default),s.default.instanceOf(p.SafeHTMLCollection),s.default.instanceOf(p.SafeNodeList),s.default.arrayOf(s.default.instanceOf(f.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=y,e.exports=t.default}(Ft,Ft.exports)),Ft.exports}function yn(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function In(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function Cn(e,t){try{var n=this.props,o=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,o)}finally{this.props=n,this.state=o}}yn.__suppressDeprecationWarning=!0,In.__suppressDeprecationWarning=!0,Cn.__suppressDeprecationWarning=!0;var xn,An,wn=Object.freeze({__proto__:null,polyfill:function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,o=null,r=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?o="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(o="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?r="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(r="UNSAFE_componentWillUpdate"),null!==n||null!==o||null!==r){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==o?"\n "+o:"")+(null!==r?"\n "+r:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=yn,t.componentWillReceiveProps=In),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=Cn;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,o)}}return e}}),Gn=ut(wn);function Nn(){if(xn)return ft;xn=1,Object.defineProperty(ft,"__esModule",{value:!0}),ft.bodyOpenClassName=ft.portalClassName=void 0;var e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},t=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),n=r,o=p(n),i=p(v),a=p(Lt()),s=p(vn()),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(ln()),c=sn(),u=p(c),d=Gn;function p(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var b=ft.portalClassName="ReactModalPortal",m=ft.bodyOpenClassName="ReactModal__Body--open",g=c.canUseDOM&&void 0!==i.default.createPortal,h=function(e){return document.createElement(e)},y=function(){return g?i.default.createPortal:i.default.unstable_renderSubtreeIntoContainer};function I(e){return e()}var C=function(n){function r(){var t,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var l=arguments.length,c=Array(l),u=0;u<l;u++)c[u]=arguments[u];return n=a=f(this,(t=r.__proto__||Object.getPrototypeOf(r)).call.apply(t,[this].concat(c))),a.removePortal=function(){!g&&i.default.unmountComponentAtNode(a.node);var e=I(a.props.parentSelector);e&&e.contains(a.node)?e.removeChild(a.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},a.portalRef=function(e){a.portal=e},a.renderPortal=function(t){var n=y()(a,o.default.createElement(s.default,e({defaultStyles:r.defaultStyles},t)),a.node);a.portalRef(n)},f(a,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n),t(r,[{key:"componentDidMount",value:function(){c.canUseDOM&&(g||(this.node=h("div")),this.node.className=this.props.portalClassName,I(this.props.parentSelector).appendChild(this.node),!g&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:I(e.parentSelector),nextParent:I(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(c.canUseDOM){var o=this.props,r=o.isOpen,i=o.portalClassName;e.portalClassName!==i&&(this.node.className=i);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||r)&&!g&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(c.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return c.canUseDOM&&g?(!this.node&&g&&(this.node=h("div")),y()(o.default.createElement(s.default,e({ref:this.portalRef,defaultStyles:r.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){l.setElement(e)}}]),r}(n.Component);return C.propTypes={isOpen:a.default.bool.isRequired,style:a.default.shape({content:a.default.object,overlay:a.default.object}),portalClassName:a.default.string,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,className:a.default.oneOfType([a.default.string,a.default.shape({base:a.default.string.isRequired,afterOpen:a.default.string.isRequired,beforeClose:a.default.string.isRequired})]),overlayClassName:a.default.oneOfType([a.default.string,a.default.shape({base:a.default.string.isRequired,afterOpen:a.default.string.isRequired,beforeClose:a.default.string.isRequired})]),appElement:a.default.oneOfType([a.default.instanceOf(u.default),a.default.instanceOf(c.SafeHTMLCollection),a.default.instanceOf(c.SafeNodeList),a.default.arrayOf(a.default.instanceOf(u.default))]),onAfterOpen:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,ariaHideApp:a.default.bool,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,parentSelector:a.default.func,aria:a.default.object,data:a.default.object,role:a.default.string,contentLabel:a.default.string,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func},C.defaultProps={isOpen:!1,portalClassName:b,bodyOpenClassName:m,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return o.default.createElement("div",e,t)},contentElement:function(e,t){return o.default.createElement("div",e,t)}},C.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,d.polyfill)(C),"production"!==process.env.NODE_ENV&&(C.setCreateHTMLElement=function(e){return h=e}),ft.default=C,ft}var En=ct((An||(An=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,o=Nn(),r=(n=o)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default}(pt,pt.exports)),pt.exports));function Rn(){return Rn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Rn.apply(null,arguments)}function On(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;n[o]=e[o]}return n}function Bn(e,t){return Bn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Bn(e,t)}var Tn=ct(Lt()),kn=!1,Sn="production"!==process.env.NODE_ENV?Tn.oneOfType([Tn.number,Tn.shape({enter:Tn.number,exit:Tn.number,appear:Tn.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&Tn.oneOfType([Tn.string,Tn.shape({enter:Tn.string,exit:Tn.string,active:Tn.string}),Tn.shape({enter:Tn.string,enterDone:Tn.string,enterActive:Tn.string,exit:Tn.string,exitDone:Tn.string,exitActive:Tn.string})]);var Vn=r.createContext(null),Xn="unmounted",Wn="exited",Pn="entering",Mn="entered",Hn="exiting",Ln=function(e){var t,n;function o(t,n){var o;o=e.call(this,t,n)||this;var r,i=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?i?(r=Wn,o.appearStatus=Pn):r=Mn:r=t.unmountOnExit||t.mountOnEnter?Xn:Wn,o.state={status:r},o.nextCallback=null,o}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,Bn(t,n),o.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Xn?{status:Wn}:null};var i=o.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Pn&&n!==Mn&&(t=Pn):n!==Pn&&n!==Mn||(t=Hn)}this.updateStatus(!1,t)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!=typeof o&&(e=o.exit,t=o.enter,n=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:n}},i.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Pn){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:v.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Wn&&this.setState({status:Xn})},i.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[v.findDOMNode(this),o],i=r[0],a=r[1],s=this.getTimeouts(),l=o?s.appear:s.enter;!e&&!n||kn?this.safeSetState({status:Mn},function(){t.props.onEntered(i)}):(this.props.onEnter(i,a),this.safeSetState({status:Pn},function(){t.props.onEntering(i,a),t.onTransitionEnd(l,function(){t.safeSetState({status:Mn},function(){t.props.onEntered(i,a)})})}))},i.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:v.findDOMNode(this);t&&!kn?(this.props.onExit(o),this.safeSetState({status:Hn},function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:Wn},function(){e.props.onExited(o)})})})):this.safeSetState({status:Wn},function(){e.props.onExited(o)})},i.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},i.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},i.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:v.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=r[0],a=r[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},i.render=function(){var e=this.state.status;if(e===Xn)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var o=On(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return r.createElement(Vn.Provider,{value:null},"function"==typeof n?n(e,o):r.cloneElement(r.Children.only(n),o))},o}(r.Component);function Zn(){}Ln.contextType=Vn,Ln.propTypes="production"!==process.env.NODE_ENV?{nodeRef:Tn.shape({current:"undefined"==typeof Element?Tn.any:function(e,t,n,o,r,i){var a=e[t];return Tn.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,o,r,i)}}),children:Tn.oneOfType([Tn.func.isRequired,Tn.element.isRequired]).isRequired,in:Tn.bool,mountOnEnter:Tn.bool,unmountOnExit:Tn.bool,appear:Tn.bool,enter:Tn.bool,exit:Tn.bool,timeout:function(e){var t=Sn;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return t.apply(void 0,[e].concat(o))},addEndListener:Tn.func,onEnter:Tn.func,onEntering:Tn.func,onEntered:Tn.func,onExit:Tn.func,onExiting:Tn.func,onExited:Tn.func}:{},Ln.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Zn,onEntering:Zn,onEntered:Zn,onExit:Zn,onExiting:Zn,onExited:Zn},Ln.UNMOUNTED=Xn,Ln.EXITED=Wn,Ln.ENTERING=Pn,Ln.ENTERED=Mn,Ln.EXITING=Hn;const Dn=({size:n="md",shape:o="default",animation:r="popper",centered:i,title:s,isOpen:u,children:d,bodyStyle:p,className:f,bodyClassName:b,portalClassName:m,overlayClassName:g,closeButtonClassName:h,closeWrapperClassName:v,onRequestClose:y,parentSelector:I,hideScrollOnIsOpenFalse:C=!0,hideCloseButton:x=!1,...A})=>{lt(u,C);const[w,G]=a(!1);l(()=>{G(u)},[u]);const N=c(()=>{if("undefined"==typeof document)return null;let e=document.querySelector("main")||document.body;return I&&(e=document.querySelector(I)||document.body),e},[I]);if(!N)return null;if(!u)return null;const E=e=>({xl:"inset-[5%] min-h-fit",lg:"inset-[10%] min-h-fit",md:"inset-[15%] min-h-fit",sm:"top-[18%] w-[640px]",xs:"w-[calc(100%-30px)]"}[e]),R=(e,t)=>{if("popper"===e){const e="transition-transform duration-300";return"entering"===t||"entered"===t?`${e} opacity-100 ${"entered"===t?"translate-y-0 pointer-events-auto":""}`:"exiting"===t||"exited"===t?`${e} opacity-0 translate-y-[-18px] duration-[180ms]`:`${e} opacity-0 translate-y-[-18px]`}if("bottomSheet"===e){const e="transition-transform duration-200 ease-in-out";return"entering"===t||"entered"===t?`${e} opacity-100 ${"entered"===t?"translate-y-0 pointer-events-auto":""}`:"exiting"===t||"exited"===t?`${e} opacity-0 translate-y-full duration-[180ms]`:`${e} opacity-0 translate-y-full`}return""};return e(Ln,{enter:!0,exit:!0,in:w,timeout:0,children:a=>t(En,{ariaHideApp:!1,isOpen:u,onRequestClose:y,closeTimeoutMS:0,parentSelector:()=>N,className:Se("absolute min-w-[150px] max-w-[calc(100vw-30px)] overflow-auto rounded-lg bg-white outline-none",E(n),"rounded"===o&&"rounded-3xl",i&&"top-0 translate-y-[calc(50vh-50%)]",R(r,a),f),portalClassName:Se("z-80",m),overlayClassName:Se("z-80 fixed inset-0 bg-black/50 flex items-center justify-center pb-[300px]",g),...A,children:[!x&&e("div",{className:Se(v),children:e(et,{className:Se("absolute right-0 top-0 float-right h-6 cursor-pointer p-5 text-text",h),onClick:y,"data-testid":"close-button","data-track-element-name":"modal_close_button","data-track-click-text":"Close Modal","data-track-element-clicked":"modal",children:e(Qe,{name:"close",size:24})})}),s?e("div",{className:Se("border-b border-border-secondary-on-bg-fill px-[7px] py-[7px] text-text"),children:s}):null,e("div",{className:Se("p-5",b),style:p,"data-testid":A["data-testid"],"data-cy":A["data-cy"],children:d})]})})};Dn.displayName="Modal";const Fn=t=>{const{open:n,children:o}=t,r=u(null),[i,s]=a(0);return l(()=>{const e=r.current;if(!e)return;const t=()=>{s(n?e.scrollHeight:0)};let o;return t(),n&&(o=new ResizeObserver(()=>t()),o.observe(e)),()=>{o&&o.disconnect()}},[n,o]),e("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:i,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:r,children:o})})};Fn.displayName="Collapse";const zn=n=>{const{title:o,defaultOpen:r,children:i,containerClassName:s,titleClassName:c,className:u,buttonClassName:d,iconClassName:p,openOnlyOnDesktop:f,borderRadiusNone:b=!1}=n,[m,g]=a(Boolean(!1));return l(()=>{if(f){const e=window.innerWidth>=1024;g(e)}else g(Boolean(r))},[f,r]),t("div",{className:Se(b?"rounded-none border":"rounded-surface-xs border",s),children:[t(et,{type:"button",className:Se(b?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",d),onClick:()=>g(e=>!e),children:[e("span",{className:Se("label5 flex-1",c),children:o}),e(Qe,{className:Se("flex-shrink-0",p),name:m?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e(Fn,{open:m,children:e("div",{className:Se("px-4 py-4",u),children:i})})]})};zn.displayName="Accordion";const Yn=({state:n,checked:o=!1,onChange:r,className:i,label:a,labelClassName:l,containerClassName:c,name:u,value:d,id:p,disabled:f=!1,required:b=!1,error:m=!1,"data-cy":g,renderInfoIcon:h,...v})=>{const y=f||"disabled"===n,I=p||u,C=Se("flex items-center justify-center w-6 h-6 rounded-[4px] outline-offset-2","focus"===n&&"outline",i),x=s(e=>{y||r&&(1===r.length?r(e.target.checked):r())},[y,r]);return t("div",{className:Se("flex items-center gap-3",c),children:[t("div",{className:"relative",children:[e("input",{type:"checkbox",id:I,name:u,value:d,checked:o,onChange:x,disabled:y,required:b,className:"peer sr-only","data-cy":g,...v}),e("label",{htmlFor:I,className:Se("peer-focus:outline",C),style:{pointerEvents:y?"none":"auto"},children:t("svg",o?{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:Se(y?"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:Se(y?"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:I,className:Se("cursor-pointer",m&&"text-text-critical",l),children:a}),h&&e(et,{type:"button",onClick:h.onClick,"data-testid":h.dataTestId,className:"ml-2 cursor-pointer text-icon-info","aria-label":"More information",children:t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"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"})]})})]})};function jn(e){return jn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jn(e)}function Jn(e){var t=function(e,t){if("object"!=jn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=jn(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==jn(t)?t:t+""}function _n(e,t,n){return(t=Jn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Un(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function Qn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Un(Object(n),!0).forEach(function(t){_n(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Un(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function $n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Kn(e,t){if(e){if("string"==typeof e)return $n(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$n(e,t):void 0}}function qn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=i.call(n)).done)&&(s.push(o.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||Kn(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function eo(e,t){if(null==e)return{};var n,o,r=On(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}Yn.displayName="Checkbox";var to=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function no(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Jn(o.key),o)}}function oo(e){return oo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},oo(e)}function ro(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ro=function(){return!!e})()}function io(e,t){if(t&&("object"==jn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ao(e){return function(e){if(Array.isArray(e))return $n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Kn(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var so=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),lo="-ms-",co="-moz-",uo="-webkit-",po="comm",fo="rule",bo="decl",mo="@keyframes",go=Math.abs,ho=String.fromCharCode,vo=Object.assign;function yo(e){return e.trim()}function Io(e,t,n){return e.replace(t,n)}function Co(e,t){return e.indexOf(t)}function xo(e,t){return 0|e.charCodeAt(t)}function Ao(e,t,n){return e.slice(t,n)}function wo(e){return e.length}function Go(e){return e.length}function No(e,t){return t.push(e),e}var Eo=1,Ro=1,Oo=0,Bo=0,To=0,ko="";function So(e,t,n,o,r,i,a){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:Eo,column:Ro,length:a,return:""}}function Vo(e,t){return vo(So("",null,null,"",null,null,0),e,{length:-e.length},t)}function Xo(){return To=Bo>0?xo(ko,--Bo):0,Ro--,10===To&&(Ro=1,Eo--),To}function Wo(){return To=Bo<Oo?xo(ko,Bo++):0,Ro++,10===To&&(Ro=1,Eo++),To}function Po(){return xo(ko,Bo)}function Mo(){return Bo}function Ho(e,t){return Ao(ko,e,t)}function Lo(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Zo(e){return Eo=Ro=1,Oo=wo(ko=e),Bo=0,[]}function Do(e){return ko="",e}function Fo(e){return yo(Ho(Bo-1,jo(91===e?e+2:40===e?e+1:e)))}function zo(e){for(;(To=Po())&&To<33;)Wo();return Lo(e)>2||Lo(To)>3?"":" "}function Yo(e,t){for(;--t&&Wo()&&!(To<48||To>102||To>57&&To<65||To>70&&To<97););return Ho(e,Mo()+(t<6&&32==Po()&&32==Wo()))}function jo(e){for(;Wo();)switch(To){case e:return Bo;case 34:case 39:34!==e&&39!==e&&jo(To);break;case 40:41===e&&jo(e);break;case 92:Wo()}return Bo}function Jo(e,t){for(;Wo()&&e+To!==57&&(e+To!==84||47!==Po()););return"/*"+Ho(t,Bo-1)+"*"+ho(47===e?e:Wo())}function _o(e){for(;!Lo(Po());)Wo();return Ho(e,Bo)}function Uo(e){return Do(Qo("",null,null,null,[""],e=Zo(e),0,[0],e))}function Qo(e,t,n,o,r,i,a,s,l){for(var c=0,u=0,d=a,p=0,f=0,b=0,m=1,g=1,h=1,v=0,y="",I=r,C=i,x=o,A=y;g;)switch(b=v,v=Wo()){case 40:if(108!=b&&58==xo(A,d-1)){-1!=Co(A+=Io(Fo(v),"&","&\f"),"&\f")&&(h=-1);break}case 34:case 39:case 91:A+=Fo(v);break;case 9:case 10:case 13:case 32:A+=zo(b);break;case 92:A+=Yo(Mo()-1,7);continue;case 47:switch(Po()){case 42:case 47:No(Ko(Jo(Wo(),Mo()),t,n),l);break;default:A+="/"}break;case 123*m:s[c++]=wo(A)*h;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==h&&(A=Io(A,/\f/g,"")),f>0&&wo(A)-d&&No(f>32?qo(A+";",o,n,d-1):qo(Io(A," ","")+";",o,n,d-2),l);break;case 59:A+=";";default:if(No(x=$o(A,t,n,c,u,r,s,y,I=[],C=[],d),i),123===v)if(0===u)Qo(A,t,x,x,I,i,d,s,C);else switch(99===p&&110===xo(A,3)?100:p){case 100:case 108:case 109:case 115:Qo(e,x,x,o&&No($o(e,x,x,0,0,r,s,y,r,I=[],d),C),r,C,d,s,o?I:C);break;default:Qo(A,x,x,x,[""],C,0,s,C)}}c=u=f=0,m=h=1,y=A="",d=a;break;case 58:d=1+wo(A),f=b;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==Xo())continue;switch(A+=ho(v),v*m){case 38:h=u>0?1:(A+="\f",-1);break;case 44:s[c++]=(wo(A)-1)*h,h=1;break;case 64:45===Po()&&(A+=Fo(Wo())),p=Po(),u=d=wo(y=A+=_o(Mo())),v++;break;case 45:45===b&&2==wo(A)&&(m=0)}}return i}function $o(e,t,n,o,r,i,a,s,l,c,u){for(var d=r-1,p=0===r?i:[""],f=Go(p),b=0,m=0,g=0;b<o;++b)for(var h=0,v=Ao(e,d+1,d=go(m=a[b])),y=e;h<f;++h)(y=yo(m>0?p[h]+" "+v:Io(v,/&\f/g,p[h])))&&(l[g++]=y);return So(e,t,n,0===r?fo:s,l,c,u)}function Ko(e,t,n){return So(e,t,n,po,ho(To),Ao(e,2,-2),0)}function qo(e,t,n,o){return So(e,t,n,bo,Ao(e,0,o),Ao(e,o+1,-1),o)}function er(e,t){for(var n="",o=Go(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function tr(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case bo:return e.return=e.return||e.value;case po:return"";case mo:return e.return=e.value+"{"+er(e.children,o)+"}";case fo:e.value=e.props.join(",")}return wo(n=er(e.children,o))?e.return=e.value+"{"+n+"}":""}function nr(e){var t=Go(e);return function(n,o,r,i){for(var a="",s=0;s<t;s++)a+=e[s](n,o,r,i)||"";return a}}function or(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var rr="undefined"!=typeof document,ir=function(e,t,n){for(var o=0,r=0;o=r,r=Po(),38===o&&12===r&&(t[n]=1),!Lo(r);)Wo();return Ho(e,Bo)},ar=function(e,t){return Do(function(e,t){var n=-1,o=44;do{switch(Lo(o)){case 0:38===o&&12===Po()&&(t[n]=1),e[n]+=ir(Bo-1,t,n);break;case 2:e[n]+=Fo(o);break;case 4:if(44===o){e[++n]=58===Po()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=ho(o)}}while(o=Wo());return e}(Zo(e),t))},sr=new WeakMap,lr=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,o=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||sr.get(n))&&!o){sr.set(e,!0);for(var r=[],i=ar(t,r),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=r[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},cr=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ur(e,t){switch(function(e,t){return 45^xo(e,0)?(((t<<2^xo(e,0))<<2^xo(e,1))<<2^xo(e,2))<<2^xo(e,3):0}(e,t)){case 5103:return uo+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return uo+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return uo+e+co+e+lo+e+e;case 6828:case 4268:return uo+e+lo+e+e;case 6165:return uo+e+lo+"flex-"+e+e;case 5187:return uo+e+Io(e,/(\w+).+(:[^]+)/,uo+"box-$1$2"+lo+"flex-$1$2")+e;case 5443:return uo+e+lo+"flex-item-"+Io(e,/flex-|-self/,"")+e;case 4675:return uo+e+lo+"flex-line-pack"+Io(e,/align-content|flex-|-self/,"")+e;case 5548:return uo+e+lo+Io(e,"shrink","negative")+e;case 5292:return uo+e+lo+Io(e,"basis","preferred-size")+e;case 6060:return uo+"box-"+Io(e,"-grow","")+uo+e+lo+Io(e,"grow","positive")+e;case 4554:return uo+Io(e,/([^-])(transform)/g,"$1"+uo+"$2")+e;case 6187:return Io(Io(Io(e,/(zoom-|grab)/,uo+"$1"),/(image-set)/,uo+"$1"),e,"")+e;case 5495:case 3959:return Io(e,/(image-set\([^]*)/,uo+"$1$`$1");case 4968:return Io(Io(e,/(.+:)(flex-)?(.*)/,uo+"box-pack:$3"+lo+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+uo+e+e;case 4095:case 3583:case 4068:case 2532:return Io(e,/(.+)-inline(.+)/,uo+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(wo(e)-1-t>6)switch(xo(e,t+1)){case 109:if(45!==xo(e,t+4))break;case 102:return Io(e,/(.+:)(.+)-([^]+)/,"$1"+uo+"$2-$3$1"+co+(108==xo(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Co(e,"stretch")?ur(Io(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==xo(e,t+1))break;case 6444:switch(xo(e,wo(e)-3-(~Co(e,"!important")&&10))){case 107:return Io(e,":",":"+uo)+e;case 101:return Io(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+uo+(45===xo(e,14)?"inline-":"")+"box$3$1"+uo+"$2$3$1"+lo+"$2box$3")+e}break;case 5936:switch(xo(e,t+11)){case 114:return uo+e+lo+Io(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return uo+e+lo+Io(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return uo+e+lo+Io(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return uo+e+lo+e+e}return e}var dr,pr,fr,br,mr=rr?void 0:(dr=function(){return or(function(){return{}})},pr=new WeakMap,function(e){if(pr.has(e))return pr.get(e);var t=dr(e);return pr.set(e,t),t}),gr=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case bo:e.return=ur(e.value,e.length);break;case mo:return er([Vo(e,{value:Io(e.value,"@","@"+uo)})],o);case fo:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return er([Vo(e,{props:[Io(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return er([Vo(e,{props:[Io(t,/:(plac\w+)/,":"+uo+"input-$1")]}),Vo(e,{props:[Io(t,/:(plac\w+)/,":-moz-$1")]}),Vo(e,{props:[Io(t,/:(plac\w+)/,lo+"input-$1")]})],o)}return""})}}],hr=function(e){var t=e.key;if(rr&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var o,r,i=e.stylisPlugins||gr,a={},s=[];rr&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c=[lr,cr];if(mr){var u=[tr],d=nr(c.concat(i,u)),p=mr(i)(t),f=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=er(Uo(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};r=function(e,t,n,o){var r=t.name,i=f(e,t);return void 0===h.compat?(o&&(h.inserted[r]=!0),i):o?void(h.inserted[r]=i):i}}else{var b,m=[tr,(l=function(e){b.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=nr(c.concat(i,m));r=function(e,t,n,o){b=n,er(Uo(e?e+"{"+t.styles+"}":t.styles),g),o&&(h.inserted[t.name]=!0)}}var h={key:t,sheet:new so({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:r};return h.sheet.hydrate(s),h};!function(){if(br)return fr;br=1;var e=St(),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},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},r={};function i(n){return e.isMemo(n)?o:r[n.$$typeof]||t}r[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r[e.Memo]=o;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;fr=function e(t,o,r){if("string"!=typeof o){if(d){var p=u(o);p&&p!==d&&e(t,p,r)}var f=s(o);l&&(f=f.concat(l(o)));for(var b=i(t),m=i(o),g=0;g<f.length;++g){var h=f[g];if(!(n[h]||r&&r[h]||m&&m[h]||b&&b[h])){var v=c(o,h);try{a(t,h,v)}catch(e){}}}}return t}}();var vr="undefined"!=typeof document;var yr=function(e,t,n){var o=e.key+"-"+t.name;(!1===n||!1===vr&&void 0!==e.compat)&&void 0===e.registered[o]&&(e.registered[o]=t.styles)};var Ir={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},Cr=/[A-Z]|^ms/g,xr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ar=function(e){return 45===e.charCodeAt(1)},wr=function(e){return null!=e&&"boolean"!=typeof e},Gr=or(function(e){return Ar(e)?e:e.replace(Cr,"-$&").toLowerCase()}),Nr=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(xr,function(e,t,n){return Rr={name:t,styles:n,next:Rr},t})}return 1===Ir[e]||Ar(e)||"number"!=typeof t||0===t?t:t+"px"};function Er(e,t,n){if(null==n)return"";var o=n;if(void 0!==o.__emotion_styles)return o;switch(typeof n){case"boolean":return"";case"object":var r=n;if(1===r.anim)return Rr={name:r.name,styles:r.styles,next:Rr},r.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)Rr={name:a.name,styles:a.styles,next:Rr},a=a.next;return i.styles+";"}return function(e,t,n){var o="";if(Array.isArray(n))for(var r=0;r<n.length;r++)o+=Er(e,t,n[r])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;wr(s)&&(o+=Gr(i)+":"+Nr(i,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)wr(a[l])&&(o+=Gr(i)+":"+Nr(i,a[l])+";");else{var c=Er(e,t,a);switch(i){case"animation":case"animationName":o+=Gr(i)+":"+c+";";break;default:o+=i+"{"+c+"}"}}}return o}(e,t,n);case"function":if(void 0!==e){var s=Rr,l=n(e);return Rr=s,Er(e,t,l)}}return n}var Rr,Or=/label:\s*([^\s;{]+)\s*(;|$)/g;function Br(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o=!0,r="";Rr=void 0;var i=e[0];null==i||void 0===i.raw?(o=!1,r+=Er(n,t,i)):r+=i[0];for(var a=1;a<e.length;a++){if(r+=Er(n,t,e[a]),o)r+=i[a]}Or.lastIndex=0;for(var s,l="";null!==(s=Or.exec(r));)l+="-"+s[1];var c=function(e){for(var t,n=0,o=0,r=e.length;r>=4;++o,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(r)+l;return{name:c,styles:r,next:Rr}}var Tr="undefined"!=typeof document,kr=function(e){return e()},Sr=!!o.useInsertionEffect&&o.useInsertionEffect,Vr=Tr&&Sr||kr,Xr="undefined"!=typeof document,Wr=o.createContext("undefined"!=typeof HTMLElement?hr({key:"css"}):null);Wr.Provider;var Pr=function(e){return i(function(t,n){var o=d(Wr);return e(t,o,n)})};Xr||(Pr=function(e){return function(t){var n=d(Wr);return null===n?(n=hr({key:"css"}),o.createElement(Wr.Provider,{value:n},e(t,n))):e(t,n)}});var Mr,Hr,Lr=o.createContext({}),Zr={}.hasOwnProperty,Dr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Fr=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;yr(t,n,r);var i=Vr(function(){return function(e,t,n){yr(e,t,n);var o=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r="",i=t;do{var a=e.insert(t===i?"."+o:"",i,e.sheet,!0);vr||void 0===a||(r+=a),i=i.next}while(void 0!==i);if(!vr&&0!==r.length)return r}}(t,n,r)});if(!Xr&&void 0!==i){for(var a,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return o.createElement("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:i},a.nonce=t.sheet.nonce,a))}return null},zr=Pr(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var i=e[Dr],a=[r],s="";"string"==typeof e.className?s=function(e,t,n){var o="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(o+=n+" ")}),o}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=Br(a,void 0,o.useContext(Lr));s+=t.key+"-"+l.name;var c={};for(var u in e)Zr.call(e,u)&&"css"!==u&&u!==Dr&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),o.createElement(o.Fragment,null,o.createElement(Fr,{cache:t,serialized:l,isStringTag:"string"==typeof i}),o.createElement(i,c))}),Yr=zr,jr=function(e,t){var n=arguments;if(null==t||!Zr.call(t,"css"))return o.createElement.apply(void 0,n);var r=n.length,i=new Array(r);i[0]=Yr,i[1]=function(e,t){var n={};for(var o in t)Zr.call(t,o)&&(n[o]=t[o]);return n[Dr]=e,n}(e,t);for(var a=2;a<r;a++)i[a]=n[a];return o.createElement.apply(null,i)};function Jr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Br(t)}Mr=jr||(jr={}),Hr||(Hr=Mr.JSX||(Mr.JSX={}));const _r=Math.min,Ur=Math.max,Qr=Math.round,$r=Math.floor,Kr=e=>({x:e,y:e});function qr(){return"undefined"!=typeof window}function ei(e){return oi(e)?(e.nodeName||"").toLowerCase():"#document"}function ti(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ni(e){var t;return null==(t=(oi(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function oi(e){return!!qr()&&(e instanceof Node||e instanceof ti(e).Node)}function ri(e){return!!qr()&&(e instanceof HTMLElement||e instanceof ti(e).HTMLElement)}function ii(e){return!(!qr()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof ti(e).ShadowRoot)}function ai(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=si(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&"inline"!==r&&"contents"!==r}function si(e){return ti(e).getComputedStyle(e)}function li(e){const t=function(e){if("html"===ei(e))return e;const t=e.assignedSlot||e.parentNode||ii(e)&&e.host||ni(e);return ii(t)?t.host:t}(e);return function(e){return/^(html|body|#document)$/.test(ei(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:ri(t)&&ai(t)?t:li(t)}function ci(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=li(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=ti(r);if(i){const e=ui(a);return t.concat(a,a.visualViewport||[],ai(r)?r:[],e&&n?ci(e):[])}return t.concat(r,ci(r,[],n))}function ui(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function di(e){return t=e,qr()&&(t instanceof Element||t instanceof ti(t).Element)?e:e.contextElement;var t}function pi(e){const t=di(e);if(!ri(t))return Kr(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=function(e){const t=si(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=ri(e),i=r?e.offsetWidth:n,a=r?e.offsetHeight:o,s=Qr(n)!==i||Qr(o)!==a;return s&&(n=i,o=a),{width:n,height:o,$:s}}(t);let a=(i?Qr(n.width):n.width)/o,s=(i?Qr(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function fi(e,t,n,o){void 0===t&&(t=!1);const r=e.getBoundingClientRect(),i=di(e);let a=Kr(1);t&&(a=pi(e));const s=Kr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,u=r.width/a.x,d=r.height/a.y;if(i){const e=o;let t=ti(i),n=ui(t);for(;n&&o&&e!==t;){const e=pi(n),o=n.getBoundingClientRect(),r=si(n),i=o.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,a=o.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=a,t=ti(n),n=ui(t)}}return function(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}({width:u,height:d,x:l,y:c})}function bi(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function mi(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=o,c=di(e),u=r||i?[...c?ci(c):[],...t?ci(t):[]]:[];u.forEach(e=>{r&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,o=null;const r=ni(e);function i(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:f}=c;if(s||t(),!p||!f)return;const b={rootMargin:-$r(d)+"px "+-$r(r.clientWidth-(u+p))+"px "+-$r(r.clientHeight-(d+f))+"px "+-$r(u)+"px",threshold:Ur(0,_r(1,l))||1};let m=!0;function g(t){const o=t[0].intersectionRatio;if(o!==l){if(!m)return a();o?a(!1,o):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==o||bi(c,e.getBoundingClientRect())||a(),m=!1}try{o=new IntersectionObserver(g,{...b,root:r.ownerDocument})}catch(e){o=new IntersectionObserver(g,b)}o.observe(e)}(!0),i}(c,n):null;let p,f=-1,b=null;a&&(b=new ResizeObserver(e=>{let[o]=e;o&&o.target===c&&b&&t&&(b.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=b)||e.observe(t)})),n()}),c&&!l&&b.observe(c),t&&b.observe(t));let m=l?fi(e):null;return l&&function t(){const o=fi(e);m&&!bi(m,o)&&n();m=o,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{r&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=b)||e.disconnect(),b=null,l&&cancelAnimationFrame(p)}}var gi="undefined"!=typeof document?p:function(){},hi=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],vi=function(){};function yi(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Ii(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];var i=[].concat(o);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(yi(e,a)));return i.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var Ci=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===jn(e)&&null!==e?[e]:[];var t},xi=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,Qn({},eo(e,hi))},Ai=function(e,t,n){var o=e.cx,r=e.getStyles,i=e.getClassNames,a=e.className;return{css:r(t,e),className:o(null!=n?n:{},i(t,e),a)}};function wi(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Gi(e){return wi(e)?window.pageYOffset:e.scrollTop}function Ni(e,t){wi(e)?window.scrollTo(0,t):e.scrollTop=t}function Ei(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:vi,r=Gi(e),i=t-r,a=0;!function t(){var s,l=i*((s=(s=a+=10)/n-1)*s*s+1)+r;Ni(e,l),a<n?window.requestAnimationFrame(t):o(e)}()}function Ri(e,t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),r=t.offsetHeight/3;o.bottom+r>n.bottom?Ni(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):o.top-r<n.top&&Ni(e,Math.max(t.offsetTop-r,0))}function Oi(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Bi=!1,Ti={get passive(){return Bi=!0}},ki="undefined"!=typeof window?window:{};ki.addEventListener&&ki.removeEventListener&&(ki.addEventListener("p",vi,Ti),ki.removeEventListener("p",vi,!1));var Si=Bi;function Vi(e){return null!=e}function Xi(e,t,n){return e?t:n}var Wi=["children","innerProps"],Pi=["children","innerProps"];function Mi(e){var t=e.maxHeight,n=e.menuEl,o=e.minHeight,r=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,o=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),(!n||"static"!==t.position)&&o.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),f=p.bottom,b=p.height,m=p.top,g=n.offsetParent.getBoundingClientRect().top,h=a?window.innerHeight:wi(u=l)?window.innerHeight:u.clientHeight,v=Gi(l),y=parseInt(getComputedStyle(n).marginBottom,10),I=parseInt(getComputedStyle(n).marginTop,10),C=g-I,x=h-m,A=C+v,w=d-v-m,G=f-h+v+y,N=v+m-I,E=160;switch(r){case"auto":case"bottom":if(x>=b)return{placement:"bottom",maxHeight:t};if(w>=b&&!a)return i&&Ei(l,G,E),{placement:"bottom",maxHeight:t};if(!a&&w>=o||a&&x>=o)return i&&Ei(l,G,E),{placement:"bottom",maxHeight:a?x-y:w-y};if("auto"===r||a){var R=t,O=a?C:A;return O>=o&&(R=Math.min(O-y-s,t)),{placement:"top",maxHeight:R}}if("bottom"===r)return i&&Ni(l,G),{placement:"bottom",maxHeight:t};break;case"top":if(C>=b)return{placement:"top",maxHeight:t};if(A>=b&&!a)return i&&Ei(l,N,E),{placement:"top",maxHeight:t};if(!a&&A>=o||a&&C>=o){var B=t;return(!a&&A>=o||a&&C>=o)&&(B=a?C-I:A-I),i&&Ei(l,N,E),{placement:"top",maxHeight:B}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var Hi,Li=function(e){return"auto"===e?"bottom":e},Zi=f(null),Di=function(e){var t=e.children,n=e.minMenuHeight,o=e.maxMenuHeight,r=e.menuPlacement,i=e.menuPosition,s=e.menuShouldScrollIntoView,l=e.theme,c=(d(Zi)||{}).setPortalPlacement,p=u(null),f=qn(a(o),2),b=f[0],m=f[1],g=qn(a(null),2),h=g[0],v=g[1],y=l.spacing.controlHeight;return gi(function(){var e=p.current;if(e){var t="fixed"===i,a=Mi({maxHeight:o,menuEl:e,minHeight:n,placement:r,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:y});m(a.maxHeight),v(a.placement),null==c||c(a.placement)}},[o,r,i,s,n,c,y]),t({ref:p,placerProps:Qn(Qn({},e),{},{placement:h||Li(r),maxHeight:b})})},Fi=function(e){var t=e.children,n=e.innerRef,o=e.innerProps;return jr("div",Rn({},Ai(e,"menu",{menu:!0}),{ref:n},o),t)},zi=function(e,t){var n=e.theme,o=n.spacing.baseUnit,r=n.colors;return Qn({textAlign:"center"},t?{}:{color:r.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},Yi=zi,ji=zi,Ji=["size"],_i=["innerProps","isRtl","size"];var Ui,Qi,$i="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4v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ICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+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)."}},Ki=function(e){var t=e.size,n=eo(e,Ji);return jr("svg",Rn({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:$i},n))},qi=function(e){return jr(Ki,Rn({size:20},e),jr("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"}))},ea=function(e){return jr(Ki,Rn({size:20},e),jr("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"}))},ta=function(e,t){var n=e.isFocused,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return Qn({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*r,":hover":{color:n?i.neutral80:i.neutral40}})},na=ta,oa=ta,ra=function(){var e=Jr.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_"}}}(Hi||(Ui=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Qi||(Qi=Ui.slice(0)),Hi=Object.freeze(Object.defineProperties(Ui,{raw:{value:Object.freeze(Qi)}})))),ia=function(e){var t=e.delay,n=e.offset;return jr("span",{css:Jr({animation:"".concat(ra," 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+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFx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vcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},aa=function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return jr("div",Rn({ref:r},Ai(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},sa=["data"],la=function(e){var t=e.children,n=e.cx,o=e.getStyles,r=e.getClassNames,i=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return jr("div",Rn({},Ai(e,"group",{group:!0}),s),jr(i,Rn({},a,{selectProps:u,theme:c,getStyles:o,getClassNames:r,cx:n}),l),jr("div",null,t))},ca=["innerRef","isDisabled","isHidden","inputClassName"],ua={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},da={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Qn({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},ua)},pa=function(e){return Qn({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},ua)},fa=function(e){var t=e.cx,n=e.value,o=xi(e),r=o.innerRef,i=o.isDisabled,a=o.isHidden,s=o.inputClassName,l=eo(o,ca);return jr("div",Rn({},Ai(e,"input",{"input-container":!0}),{"data-value":n||""}),jr("input",Rn({className:t({input:!0},s),ref:r,style:pa(a),disabled:i},l)))},ba=function(e){var t=e.children,n=e.innerProps;return jr("div",n,t)};var ma=function(e){var t=e.children,n=e.components,o=e.data,r=e.innerProps,i=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return jr(l,{data:o,innerProps:Qn(Qn({},Ai(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),r),selectProps:s},jr(c,{data:o,innerProps:Qn({},Ai(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),jr(u,{data:o,innerProps:Qn(Qn({},Ai(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},ga={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return jr("div",Rn({},Ai(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||jr(qi,null))},Control:aa,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return jr("div",Rn({},Ai(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||jr(ea,null))},DownChevron:ea,CrossIcon:qi,Group:la,GroupHeading:function(e){var t=xi(e);t.data;var n=eo(t,sa);return jr("div",Rn({},Ai(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return jr("div",Rn({},Ai(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return jr("span",Rn({},t,Ai(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:fa,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,r=void 0===o?4:o,i=eo(e,_i);return jr("div",Rn({},Ai(Qn(Qn({},i),{},{innerProps:t,isRtl:n,size:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),jr(ia,{delay:0,offset:n}),jr(ia,{delay:160,offset:!0}),jr(ia,{delay:320,offset:!n}))},Menu:Fi,MenuList:function(e){var t=e.children,n=e.innerProps,o=e.innerRef,r=e.isMulti;return jr("div",Rn({},Ai(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:o},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,o=e.controlElement,r=e.innerProps,i=e.menuPlacement,l=e.menuPosition,d=u(null),p=u(null),f=qn(a(Li(i)),2),b=f[0],m=f[1],g=c(function(){return{setPortalPlacement:m}},[]),h=qn(a(null),2),v=h[0],I=h[1],C=s(function(){if(o){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(o),t="fixed"===l?0:window.pageYOffset,n=e[b]+t;n===(null==v?void 0:v.offset)&&e.left===(null==v?void 0:v.rect.left)&&e.width===(null==v?void 0:v.rect.width)||I({offset:n,rect:e})}},[o,l,b,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);gi(function(){C()},[C]);var x=s(function(){"function"==typeof p.current&&(p.current(),p.current=null),o&&d.current&&(p.current=mi(o,d.current,C,{elementResize:"ResizeObserver"in window}))},[o,C]);gi(function(){x()},[x]);var A=s(function(e){d.current=e,x()},[x]);if(!t&&"fixed"!==l||!v)return null;var w=jr("div",Rn({ref:A},Ai(Qn(Qn({},e),{},{offset:v.offset,position:l,rect:v.rect}),"menuPortal",{"menu-portal":!0}),r),n);return jr(Zi.Provider,{value:g},t?y(w,t):w)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,r=eo(e,Pi);return jr("div",Rn({},Ai(Qn(Qn({},r),{},{children:n,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,o=e.innerProps,r=eo(e,Wi);return jr("div",Rn({},Ai(Qn(Qn({},r),{},{children:n,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),n)},MultiValue:ma,MultiValueContainer:ba,MultiValueLabel:ba,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return jr("div",Rn({role:"button"},n),t||jr(qi,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.innerRef,a=e.innerProps;return jr("div",Rn({},Ai(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":o,"option--is-selected":r}),{ref:i,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return jr("div",Rn({},Ai(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,o=e.isDisabled,r=e.isRtl;return jr("div",Rn({},Ai(e,"container",{"--is-disabled":o,"--is-rtl":r}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,o=e.innerProps;return jr("div",Rn({},Ai(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),o),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,o=e.isMulti,r=e.hasValue;return jr("div",Rn({},Ai(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":r}),n),t)}},ha=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function va(e,t){return e===t||!(!ha(e)||!ha(t))}function ya(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!va(e[n],t[n]))return!1;return!0}for(var Ia="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)."}},Ca=function(e){return jr("span",Rn({css:Ia},e))},xa={guidance:function(e){var t=e.isSearchable,n=e.isMulti,o=e.tabSelectsValue,r=e.context,i=e.isInitialFocus;switch(r){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(o?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,o=void 0===n?"":n,r=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(r.length>1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return"option ".concat(o,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,o=e.options,r=e.label,i=void 0===r?"":r,a=e.selectValue,s=e.isDisabled,l=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(i," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(i).concat(p,", ").concat(u(o,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Aa=function(e){var t=e.ariaSelection,n=e.focusedOption,o=e.focusedValue,r=e.focusableOptions,i=e.isFocused,a=e.selectValue,s=e.selectProps,l=e.id,u=e.isAppleDevice,d=s.ariaLiveMessages,p=s.getOptionLabel,f=s.inputValue,b=s.isMulti,g=s.isOptionDisabled,h=s.isSearchable,v=s.menuIsOpen,y=s.options,I=s.screenReaderStatus,C=s.tabSelectsValue,x=s.isLoading,A=s["aria-label"],w=s["aria-live"],G=c(function(){return Qn(Qn({},xa),d||{})},[d]),N=c(function(){var e,n="";if(t&&G.onChange){var o=t.option,r=t.options,i=t.removedValue,s=t.removedValues,l=t.value,c=i||o||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=r||s||void 0,f=d?d.map(p):[],b=Qn({isDisabled:c&&g(c,a),label:u,labels:f},t);n=G.onChange(b)}return n},[t,G,g,a,p]),E=c(function(){var e="",t=n||o,i=!!(n&&a&&a.includes(n));if(t&&G.onFocus){var s={focused:t,label:p(t),isDisabled:g(t,a),isSelected:i,options:r,context:t===n?"menu":"value",selectValue:a,isAppleDevice:u};e=G.onFocus(s)}return e},[n,o,p,g,G,r,a,u]),R=c(function(){var e="";if(v&&y.length&&!x&&G.onFilter){var t=I({count:r.length});e=G.onFilter({inputValue:f,resultsMessage:t})}return e},[r,f,v,G,y,I,x]),O="initial-input-focus"===(null==t?void 0:t.action),B=c(function(){var e="";if(G.guidance){var t=o?"value":v?"menu":"input";e=G.guidance({"aria-label":A,context:t,isDisabled:n&&g(n,a),isMulti:b,isSearchable:h,tabSelectsValue:C,isInitialFocus:O})}return e},[A,n,o,b,g,h,v,G,a,C,O]),T=jr(m,null,jr("span",{id:"aria-selection"},N),jr("span",{id:"aria-focused"},E),jr("span",{id:"aria-results"},R),jr("span",{id:"aria-guidance"},B));return jr(m,null,jr(Ca,{id:l},O&&T),jr(Ca,{"aria-live":w,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!O&&T))},wa=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Ga=new RegExp("["+wa.map(function(e){return e.letters}).join("")+"]","g"),Na={},Ea=0;Ea<wa.length;Ea++)for(var Ra=wa[Ea],Oa=0;Oa<Ra.letters.length;Oa++)Na[Ra.letters[Oa]]=Ra.base;var Ba=function(e){return e.replace(Ga,function(e){return Na[e]})},Ta=function(e,t){void 0===t&&(t=ya);var n=null;function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(n&&n.lastThis===this&&t(o,n.lastArgs))return n.lastResult;var i=e.apply(this,o);return n={lastResult:i,lastArgs:o,lastThis:this},i}return o.clear=function(){n=null},o}(Ba),ka=function(e){return e.replace(/^\s+|\s+$/g,"")},Sa=function(e){return"".concat(e.label," ").concat(e.value)},Va=function(e){return function(t,n){if(t.data.__isNew__)return!0;var o=Qn({ignoreCase:!0,ignoreAccents:!0,stringify:Sa,trim:!0,matchFrom:"any"},e),r=o.ignoreCase,i=o.ignoreAccents,a=o.stringify,s=o.trim,l=o.matchFrom,c=s?ka(n):n,u=s?ka(a(t)):a(t);return r&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=Ta(c),u=Ba(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},Xa=["innerRef"];function Wa(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var r=Object.entries(e).filter(function(e){var t=qn(e,1)[0];return!n.includes(t)});return r.reduce(function(e,t){var n=qn(t,2),o=n[0],r=n[1];return e[o]=r,e},{})}(eo(e,Xa),"onExited","in","enter","exit","appear");return jr("input",Rn({ref:t},n,{css:Jr({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+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW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aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var Pa=["boxSizing","height","overflow","paddingRight","position"],Ma={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Ha(e){e.cancelable&&e.preventDefault()}function La(e){e.stopPropagation()}function Za(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Da(){return"ontouchstart"in window||navigator.maxTouchPoints}var Fa=!("undefined"==typeof window||!window.document||!window.document.createElement),za=0,Ya={capture:!1,passive:!1};var ja=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Ja="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50Z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RvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+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 _a(e){var t=e.children,n=e.lockEnabled,o=e.captureEnabled,r=function(e){var t=e.isEnabled,n=e.onBottomArrive,o=e.onBottomLeave,r=e.onTopArrive,i=e.onTopLeave,a=u(!1),c=u(!1),d=u(0),p=u(null),f=s(function(e,t){if(null!==p.current){var s=p.current,l=s.scrollTop,u=s.scrollHeight,d=s.clientHeight,f=p.current,b=t>0,m=u-d-l,g=!1;m>t&&a.current&&(o&&o(e),a.current=!1),b&&c.current&&(i&&i(e),c.current=!1),b&&t>m?(n&&!a.current&&n(e),f.scrollTop=u,g=!0,a.current=!0):!b&&-t>l&&(r&&!c.current&&r(e),f.scrollTop=0,g=!0,c.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,o,r,i]),b=s(function(e){f(e,e.deltaY)},[f]),m=s(function(e){d.current=e.changedTouches[0].clientY},[]),g=s(function(e){var t=d.current-e.changedTouches[0].clientY;f(e,t)},[f]),h=s(function(e){if(e){var t=!!Si&&{passive:!1};e.addEventListener("wheel",b,t),e.addEventListener("touchstart",m,t),e.addEventListener("touchmove",g,t)}},[g,m,b]),v=s(function(e){e&&(e.removeEventListener("wheel",b,!1),e.removeEventListener("touchstart",m,!1),e.removeEventListener("touchmove",g,!1))},[g,m,b]);return l(function(){if(t){var e=p.current;return h(e),function(){v(e)}}},[t,h,v]),function(e){p.current=e}}({isEnabled:void 0===o||o,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,o=void 0===n||n,r=u({}),i=u(null),a=s(function(e){if(Fa){var t=document.body,n=t&&t.style;if(o&&Pa.forEach(function(e){var t=n&&n[e];r.current[e]=t}),o&&za<1){var i=parseInt(r.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(Ma).forEach(function(e){var t=Ma[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&Da()&&(t.addEventListener("touchmove",Ha,Ya),e&&(e.addEventListener("touchstart",Za,Ya),e.addEventListener("touchmove",La,Ya))),za+=1}},[o]),c=s(function(e){if(Fa){var t=document.body,n=t&&t.style;za=Math.max(za-1,0),o&&za<1&&Pa.forEach(function(e){var t=r.current[e];n&&(n[e]=t)}),t&&Da()&&(t.removeEventListener("touchmove",Ha,Ya),e&&(e.removeEventListener("touchstart",Za,Ya),e.removeEventListener("touchmove",La,Ya)))}},[o]);return l(function(){if(t){var e=i.current;return a(e),function(){c(e)}}},[t,a,c]),function(e){i.current=e}}({isEnabled:n});return jr(m,null,n&&jr("div",{onClick:ja,css:Ja}),t(function(e){r(e),i(e)}))}var Ua="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)."}},Qa=function(e){var t=e.name,n=e.onFocus;return jr("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Ua,value:"",onChange:function(){}})};function $a(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 Ka(){return $a(/^Mac/i)}function qa(){return $a(/^iPhone/i)||$a(/^iPad/i)||Ka()&&navigator.maxTouchPoints>1}var es={clearIndicator:oa,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,o=e.isFocused,r=e.theme,i=r.colors,a=r.borderRadius;return Qn({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:r.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:o?i.primary:i.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:o?i.primary:i.neutral30}})},dropdownIndicator:na,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,o=n.colors,r=n.spacing;return Qn({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*r.baseUnit,paddingRight:3*r.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return Qn({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*r,marginTop:2*r})},input:function(e,t){var n=e.isDisabled,o=e.value,r=e.theme,i=r.spacing,a=r.colors;return Qn(Qn({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},da),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,o=e.size,r=e.theme,i=r.colors,a=r.spacing.baseUnit;return Qn({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a})},loadingMessage:ji,menu:function(e,t){var n,o=e.placement,r=e.theme,i=r.borderRadius,a=r.spacing,s=r.colors;return Qn((_n(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),_n(n,"position","absolute"),_n(n,"width","100%"),_n(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,o=e.theme.spacing.baseUnit;return Qn({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:o,paddingTop:o})},menuPortal:function(e){var t=e.rect,n=e.offset,o=e.position;return{left:t.left,position:o,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,o=n.spacing,r=n.borderRadius,i=n.colors;return Qn({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:r/2,margin:o.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,o=n.borderRadius,r=n.colors,i=e.cropWithEllipsis;return Qn({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:r.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,o=n.spacing,r=n.borderRadius,i=n.colors,a=e.isFocused;return Qn({alignItems:"center",display:"flex"},t?{}:{borderRadius:r/2,backgroundColor:a?i.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:Yi,option:function(e,t){var n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.theme,a=i.spacing,s=i.colors;return Qn({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:r?s.primary:o?s.primary25:"transparent",color:n?s.neutral20:r?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:r?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,o=n.spacing,r=n.colors;return Qn({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:r.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,o=e.theme,r=o.spacing,i=o.colors;return Qn({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,o=e.isMulti,r=e.hasValue,i=e.selectProps.controlShouldRenderValue;return Qn({alignItems:"center",display:o&&r&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},ts={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}},ns={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Oi(),captureMenuScroll:!Oi(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Va(),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 os(e,t,n,o){return{type:"option",data:t,isDisabled:ds(e,t,n),isSelected:ps(e,t,n),label:cs(e,t),value:us(e,t),index:o}}function rs(e,t){return e.options.map(function(n,o){if("options"in n){var r=n.options.map(function(n,o){return os(e,n,t,o)}).filter(function(t){return ss(e,t)});return r.length>0?{type:"group",data:n,options:r,index:o}:void 0}var i=os(e,n,t,o);return ss(e,i)?i:void 0}).filter(Vi)}function is(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,ao(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function as(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,ao(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 ss(e,t){var n=e.inputValue,o=void 0===n?"":n,r=t.data,i=t.isSelected,a=t.label,s=t.value;return(!bs(e)||!i)&&fs(e,{label:a,value:s,data:r},o)}var ls=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},cs=function(e,t){return e.getOptionLabel(t)},us=function(e,t){return e.getOptionValue(t)};function ds(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function ps(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=us(e,t);return n.some(function(t){return us(e,t)===o})}function fs(e,t,n){return!e.filterOption||e.filterOption(t,n)}var bs=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ms=1,gs=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&&Bn(e,t)}(t,b);var e=function(e){var t=ro();return function(){var n,o=oo(e);if(t){var r=oo(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return io(this,n)}}(t);function t(n){var o;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=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},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.controlRef=null,o.getControlRef=function(e){o.controlRef=e},o.focusedOptionRef=null,o.getFocusedOptionRef=function(e){o.focusedOptionRef=e},o.menuListRef=null,o.getMenuListRef=function(e){o.menuListRef=e},o.inputRef=null,o.getInputRef=function(e){o.inputRef=e},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(e,t){var n=o.props,r=n.onChange,i=n.name;t.name=i,o.ariaOnChange(e,t),r(e,t)},o.setValue=function(e,t,n){var r=o.props,i=r.closeMenuOnSelect,a=r.isMulti,s=r.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(o.setState({inputIsHiddenAfterUpdate:!a}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(e,{action:t,option:n})},o.selectOption=function(e){var t=o.props,n=t.blurInputOnSelect,r=t.isMulti,i=t.name,a=o.state.selectValue,s=r&&o.isOptionSelected(e,a),l=o.isOptionDisabled(e,a);if(s){var c=o.getOptionValue(e);o.setValue(a.filter(function(e){return o.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void o.ariaOnChange(e,{action:"select-option",option:e,name:i});r?o.setValue([].concat(ao(a),[e]),"select-option",e):o.setValue(e,"select-option")}n&&o.blurInput()},o.removeValue=function(e){var t=o.props.isMulti,n=o.state.selectValue,r=o.getOptionValue(e),i=n.filter(function(e){return o.getOptionValue(e)!==r}),a=Xi(t,i,i[0]||null);o.onChange(a,{action:"remove-value",removedValue:e}),o.focusInput()},o.clearValue=function(){var e=o.state.selectValue;o.onChange(Xi(o.props.isMulti,[],null),{action:"clear",removedValues:e})},o.popValue=function(){var e=o.props.isMulti,t=o.state.selectValue,n=t[t.length-1],r=t.slice(0,t.length-1),i=Xi(e,r,r[0]||null);n&&o.onChange(i,{action:"pop-value",removedValue:n})},o.getFocusedOptionId=function(e){return ls(o.state.focusableOptionsWithIds,e)},o.getFocusableOptionsWithIds=function(){return as(rs(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ii.apply(void 0,[o.props.classNamePrefix].concat(t))},o.getOptionLabel=function(e){return cs(o.props,e)},o.getOptionValue=function(e){return us(o.props,e)},o.getStyles=function(e,t){var n=o.props.unstyled,r=es[e](t,n);r.boxSizing="border-box";var i=o.props.styles[e];return i?i(r,t):r},o.getClassNames=function(e,t){var n,r;return null===(n=(r=o.props.classNames)[e])||void 0===n?void 0:n.call(r,t)},o.getElementId=function(e){return"".concat(o.state.instancePrefix,"-").concat(e)},o.getComponents=function(){return e=o.props,Qn(Qn({},ga),e.components);var e},o.buildCategorizedOptions=function(){return rs(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return is(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(e,t){o.setState({ariaSelection:Qn({value:e},t)})},o.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(e){o.blockOptionHover=!1},o.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&o.onMenuClose():t&&o.openMenu("first"):(t&&(o.openAfterFocus=!0),o.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},o.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||o.props.isDisabled)){var t=o.props,n=t.isMulti,r=t.menuIsOpen;o.focusInput(),r?(o.setState({inputIsHiddenAfterUpdate:!n}),o.onMenuClose()):o.openMenu("first"),e.preventDefault()}},o.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(o.clearValue(),e.preventDefault(),o.openAfterFocus=!1,"touchend"===e.type?o.focusInput():setTimeout(function(){return o.focusInput()}))},o.onScroll=function(e){"boolean"==typeof o.props.closeMenuOnScroll?e.target instanceof HTMLElement&&wi(e.target)&&o.props.onMenuClose():"function"==typeof o.props.closeMenuOnScroll&&o.props.closeMenuOnScroll(e)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(o.initialTouchX=n.clientX,o.initialTouchY=n.clientY,o.userIsDragging=!1)},o.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var r=Math.abs(n.clientX-o.initialTouchX),i=Math.abs(n.clientY-o.initialTouchY);o.userIsDragging=r>5||i>5}},o.onTouchEnd=function(e){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(e.target)&&o.menuListRef&&!o.menuListRef.contains(e.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(e){o.userIsDragging||o.onControlMouseDown(e)},o.onClearIndicatorTouchEnd=function(e){o.userIsDragging||o.onClearIndicatorMouseDown(e)},o.onDropdownIndicatorTouchEnd=function(e){o.userIsDragging||o.onDropdownIndicatorMouseDown(e)},o.handleInputChange=function(e){var t=o.props.inputValue,n=e.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(n,{action:"input-change",prevInputValue:t}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(e){o.props.onFocus&&o.props.onFocus(e),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(e){var t=o.props.inputValue;o.menuListRef&&o.menuListRef.contains(document.activeElement)?o.inputRef.focus():(o.props.onBlur&&o.props.onBlur(e),o.onInputChange("",{action:"input-blur",prevInputValue:t}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1}))},o.onOptionHover=function(e){if(!o.blockOptionHover&&o.state.focusedOption!==e){var t=o.getFocusableOptions().indexOf(e);o.setState({focusedOption:e,focusedOptionId:t>-1?o.getFocusedOptionId(e):null})}},o.shouldHideSelectedOptions=function(){return bs(o.props)},o.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),o.focus()},o.onKeyDown=function(e){var t=o.props,n=t.isMulti,r=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,f=o.state,b=f.focusedOption,m=f.focusedValue,g=f.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(o.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;o.focusValue("previous");break;case"ArrowRight":if(!n||a)return;o.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)o.removeValue(m);else{if(!r)return;n?o.popValue():s&&o.clearValue()}break;case"Tab":if(o.isComposing)return;if(e.shiftKey||!c||!d||!b||p&&o.isOptionSelected(b,g))return;o.selectOption(b);break;case"Enter":if(229===e.keyCode)break;if(c){if(!b)return;if(o.isComposing)return;o.selectOption(b);break}return;case"Escape":c?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:a}),o.onMenuClose()):s&&i&&o.clearValue();break;case" ":if(a)return;if(!c){o.openMenu("first");break}if(!b)return;o.selectOption(b);break;case"ArrowUp":c?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":c?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!c)return;o.focusOption("pageup");break;case"PageDown":if(!c)return;o.focusOption("pagedown");break;case"Home":if(!c)return;o.focusOption("first");break;case"End":if(!c)return;o.focusOption("last");break;default:return}e.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++ms),o.state.selectValue=Ci(n.value),n.menuIsOpen&&o.state.selectValue.length){var r=o.getFocusableOptionsWithIds(),i=o.buildFocusableOptions(),a=i.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=r,o.state.focusedOption=i[a],o.state.focusedOptionId=ls(r,i[a])}return o}return function(e,t,n){t&&no(e.prototype,t),n&&no(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&&Ri(this.menuListRef,this.focusedOptionRef),(Ka()||qa())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,o=t.menuIsOpen,r=this.state.isFocused;(r&&!n&&e.isDisabled||r&&o&&!e.menuIsOpen)&&this.focusInput(),r&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):r||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Ri(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,o=n.selectValue,r=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(o[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a],focusedOptionId:this.getFocusedOptionId(i[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,o=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var r=n.indexOf(o);o||(r=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===r?0:-1===r?i:r-1;break;case"next":r>-1&&r<i&&(a=r+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,o=this.getFocusableOptions();if(o.length){var r=0,i=o.indexOf(n);n||(i=-1),"up"===e?r=i>0?i-1:o.length-1:"down"===e?r=(i+1)%o.length:"pageup"===e?(r=i-t)<0&&(r=0):"pagedown"===e?(r=i+t)>o.length-1&&(r=o.length-1):"last"===e&&(r=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[r],focusedValue:null,focusedOptionId:this.getFocusedOptionId(o[r])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(ts):Qn(Qn({},ts),this.props.theme):ts}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,o=this.getClassNames,r=this.getValue,i=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:o,getValue:r,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:i,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return ds(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return ps(this.props,e,t)}},{key:"filterOption",value:function(e,t){return fs(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,o=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:o})}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,r=e.inputId,i=e.inputValue,a=e.tabIndex,s=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,f=d.ariaSelection,b=this.commonProps,m=r||this.getElementId("input"),g=Qn(Qn(Qn({"aria-autocomplete":"list","aria-expanded":l,"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||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==f?void 0:f.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?o.createElement(u,Rn({},b,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:s,type:"text",value:i},g)):o.createElement(Wa,Rn({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:vi,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,i=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,f=u.isMulti,b=u.inputValue,m=u.placeholder,g=this.state,h=g.selectValue,v=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return b?null:o.createElement(l,Rn({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),m);if(f)return h.map(function(t,s){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return o.createElement(n,Rn({},c,{components:{Container:r,Label:i,Remove:a},isFocused:l,isDisabled:p,key:u,index:s,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(b)return null;var I=h[0];return o.createElement(s,Rn({},c,{data:I,isDisabled:p}),this.formatOptionLabel(I,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||i)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return o.createElement(e,Rn({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!e||!i)return null;return o.createElement(e,Rn({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return o.createElement(n,Rn({},r,{isDisabled:i,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return o.createElement(e,Rn({},t,{innerProps:i,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,i=t.Menu,a=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,f=this.props,b=f.captureMenuScroll,m=f.inputValue,g=f.isLoading,h=f.loadingMessage,v=f.minMenuHeight,y=f.maxMenuHeight,I=f.menuIsOpen,C=f.menuPlacement,x=f.menuPosition,A=f.menuPortalTarget,w=f.menuShouldBlockScroll,G=f.menuShouldScrollIntoView,N=f.noOptionsMessage,E=f.onMenuScrollToTop,R=f.onMenuScrollToBottom;if(!I)return null;var O,B=function(t,n){var r=t.type,i=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,f=p===i,b=a?void 0:function(){return e.onOptionHover(i)},m=a?void 0:function(){return e.selectOption(i)},g="".concat(e.getElementId("option"),"-").concat(n),h={id:g,onClick:m,onMouseMove:b,onMouseOver:b,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return o.createElement(u,Rn({},d,{innerProps:h,data:i,isDisabled:a,isSelected:s,key:g,label:l,type:r,value:c,isFocused:f,innerRef:f?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())O=this.getCategorizedOptions().map(function(t){if("group"===t.type){var i=t.data,a=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return o.createElement(n,Rn({},d,{key:l,data:i,options:a,Heading:r,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return B(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return B(t,"".concat(t.index))});else if(g){var T=h({inputValue:m});if(null===T)return null;O=o.createElement(l,d,T)}else{var k=N({inputValue:m});if(null===k)return null;O=o.createElement(c,d,k)}var S={minMenuHeight:v,maxMenuHeight:y,menuPlacement:C,menuPosition:x,menuShouldScrollIntoView:G},V=o.createElement(Di,Rn({},d,S),function(t){var n=t.ref,r=t.placerProps,s=r.placement,l=r.maxHeight;return o.createElement(i,Rn({},d,S,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),o.createElement(_a,{captureEnabled:b,onTopArrive:E,onBottomArrive:R,lockEnabled:w},function(t){return o.createElement(a,Rn({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:l,focusedOption:p}),O)}))});return A||"fixed"===x?o.createElement(s,Rn({},d,{appendTo:A,controlElement:this.controlRef,menuPlacement:C,menuPosition:x}),V):V}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,i=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!r)return o.createElement(Qa,{name:a,onFocus:this.onValueInputFocus});if(a&&!r){if(i){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return o.createElement("input",{name:a,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return o.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})}):o.createElement("input",{name:a,type:"hidden",value:""});return o.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return o.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,a=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return o.createElement(Aa,Rn({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:i,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,i=e.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return o.createElement(r,Rn({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),o.createElement(t,Rn({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),o.createElement(i,Rn({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),o.createElement(n,Rn({},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,o=t.clearFocusValueOnUpdate,r=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,f=e.isMulti,b=Ci(u),m={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return is(rs(e,t))}(e,b):[],h=d?as(rs(e,b),"".concat(l,"-option")):[],v=o?function(e,t){var n=e.focusedValue,o=e.selectValue.indexOf(n);if(o>-1){if(t.indexOf(n)>-1)return n;if(o<t.length)return t[o]}return null}(t,b):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);m={selectValue:b,focusedOption:y,focusedOptionId:ls(h,y),focusableOptionsWithIds:h,focusedValue:v,clearFocusValueOnUpdate:!1}}var I=null!=r&&e!==n?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},C=i,x=a&&s;return a&&!x&&(C={value:Xi(f,b,b[0]||null),options:b,action:"initial-input-focus"},x=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(C=null),Qn(Qn(Qn({},m),I),{},{prevProps:e,ariaSelection:C,prevWasFocused:x})}}]),t}();gs.defaultProps=ns;var hs=i(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,o=e.defaultMenuIsOpen,r=void 0!==o&&o,i=e.defaultValue,l=void 0===i?null:i,c=e.inputValue,u=e.menuIsOpen,d=e.onChange,p=e.onInputChange,f=e.onMenuClose,b=e.onMenuOpen,m=e.value,g=eo(e,to),h=qn(a(void 0!==c?c:n),2),v=h[0],y=h[1],I=qn(a(void 0!==u?u:r),2),C=I[0],x=I[1],A=qn(a(void 0!==m?m:l),2),w=A[0],G=A[1],N=s(function(e,t){"function"==typeof d&&d(e,t),G(e)},[d]),E=s(function(e,t){var n;"function"==typeof p&&(n=p(e,t)),y(void 0!==n?n:e)},[p]),R=s(function(){"function"==typeof b&&b(),x(!0)},[b]),O=s(function(){"function"==typeof f&&f(),x(!1)},[f]),B=void 0!==c?c:v,T=void 0!==u?u:C,k=void 0!==m?m:w;return Qn(Qn({},g),{},{inputValue:B,menuIsOpen:T,onChange:N,onInputChange:E,onMenuClose:O,onMenuOpen:R,value:k})}(e);return o.createElement(gs,Rn({ref:t},n))}),vs=hs;const ys=r.memo(({options:n,className:o,controlClassName:r,value:i,isCustomStyle:a=!1,placeholder:s,required:l,onChange:u,filterOptions:d,hasError:p,error:f,menuClassName:b,helperText:m,label:g,labelClassName:h,size:v="md",variant:y="default","data-cy":I,"data-testid":C,...x})=>{const A=c(()=>Va(d),[d]),w=c(()=>({control:({isFocused:e})=>Se("sm"===v?"h-[48px] px-3 rounded-lg":"h-[56px] px-3 rounded-xl","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},r),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>a?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>Se(a?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Se("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",b),option:({isFocused:e,isSelected:t,label:o})=>{var r;return Se("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===(r=n[n.length-1])||void 0===r?void 0:r.label)!==o?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[a,r,b,n,p,v]);return"unstyled"===y?e(vs,{options:n,value:i,placeholder:l?`${s}*`:s,onChange:u,filterOption:A,className:Se("rounded-xl",o),classNames:w,"data-cy":I,"data-testid":C,...x}):t("div",{className:"w-full",children:[g&&e("label",{className:Se("mb-1 block text-sm font-medium text-text-secondary",h),children:g}),e(vs,{options:n,value:i,placeholder:l?`${s}*`:s,onChange:u,filterOption:A,className:Se("rounded-xl",o),classNames:w,"data-cy":I,"data-testid":C,...x}),f&&e($e,{className:"footnote mt-1 text-text-critical",children:f}),!f&&m&&e($e,{className:"footnote mt-1 text-text-info",children:m})]})});ys.displayName="Select";const Is=({errorMessage:n,className:o,iconClassName:r,iconSize:i=52,iconName:a="dangerous",textVariant:s})=>n?t("div",{className:Se("flex flex-col items-center justify-center gap-5 rounded-surface-sm border-2 border-border-critical bg-bg-fill-critical-secondary px-4 py-6 md:flex-row md:py-4",o),"data-testid":"alert-card",children:[e("div",{children:e(Qe,{name:a,size:i,className:Se("text-icon-critical",r)})}),e($e,{className:Se("body2 text-text",s),children:n})]}):null;Is.displayName="AlertCard";const Cs=e=>{let t="";return e.base&&(t="x-large"===e.base?"label3 ":"label4 "),e.md&&(t+="x-large"===e.md?"md:label3 ":"md:label4 "),e.lg&&(t+="x-large"===e.lg?"lg:label3 ":"lg:label4 "),t.trim()},xs=i(({variant:o="primary_brand",isLoading:r=!1,text:i,label:a,disabled:s,fullWidth:l,buttonClassName:c,size:u={base:"medium"},as:d="button",...p},f)=>{const b=(()=>{const e=Se((e=>{let t="";return e.base&&(t=`btn-${e.base} `),e.md&&(t+=`${(e=>{switch(e){case"small":return"md:btn-small";case"medium":return"md:btn-medium";case"large":return"md:btn-large";case"x-large":return"md:btn-x-large"}})(e.md)} `),e.lg&&(t+=`lg:btn-${e.lg} `),t.trim()})(u),"rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top whitespace-nowrap",l?"w-full":"w-auto"),t=Se((s||r)&&"cursor-not-allowed",r&&"pl-7");return Se(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand disabled:bg-bg-fill-brand-disabled",primary_inverse:"bg-bg-fill-inverse text-text-inverse [&:not(:disabled)]:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse disabled:bg-bg-fill-inverse-disabled",secondary:"border border-border-secondary-on-bg-fill bg-bg-fill-secondary text-text [&:not(:disabled)]:hover:bg-bg-fill-secondary-hover focus:bg-bg-fill-secondary focus:ring-input-border-hover disabled:bg-bg-fill-secondary"}[o]||"",t,c)})();let m=`button--${o}`;r&&(m+=" button--loading"),s&&(m+=" button--disabled");const g=`${m} ${b}`,h=t(n,{children:[r?e(Qe,{name:"progress_activity",className:"animate-spin"}):null,a?t("span",{className:"flex flex-col",children:[e("span",{className:Se(Cs(u)),children:a}),i]}):i]});return"a"===d?e("a",{ref:f,className:Se(g),...p,children:h}):e("button",{ref:f,className:Se(g),disabled:s||r,...p,children:h})});xs.displayName="BrandButton";const As=t=>{const{className:n,...o}=t;return e("div",{className:Se("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...o})};As.displayName="Divider";const ws=n=>{const{name:o,value:r,label:i,subText:a,checked:s,onChange:l,className:c,variant:u="circle",hasError:d=!1,labelProps:p={},"data-cy":f,labelClassName:b="",disabled:m,...g}=n,h=()=>null==l?void 0:l(r||o);return t("label",{htmlFor:o,className:Se("flex items-center",c),"data-cy":f,...p,children:[e("input",{className:"hidden",type:"radio",name:o,value:r,checked:s,readOnly:!0,disabled:m,...g}),e(et,{type:"button",onClick:h,disabled:m,className:Se("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",s&&"border-[1px] border-solid border-border-brand",m&&"opacity-50"),children:s&&e("div",{className:"h-[0.875rem] w-[0.875rem] rounded-full bg-bg-fill-brand"})}),t(et,{type:"button",onClick:h,disabled:m,tabIndex:i?0:-1,children:[e("div",{className:Se("text-body2 font-normal",b),children:i}),e("div",{className:"text-body1 text-text-info",children:a})]})]})};ws.displayName="RadioButton";const Gs=n=>{const{list:o,text:r}=n,[i,s]=a(!0);return t("div",{className:"mt-3",children:[t(et,{type:"button",className:"flex items-center gap-2 text-base font-semibold text-gray-900","aria-expanded":i,onClick:e=>{e.stopPropagation(),s(e=>!e)},children:[e("span",{children:r||"See details"}),e(Qe,{name:i?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e(Fn,{open:i,children:e("div",{className:"pt-1",children:e(Ke,{listItemClassName:"body3",items:o})})})]})};Gs.displayName="SeeMore";const Ns=({onSelect:o,speed:r,isSelected:i=!1,renderCheckPlans:s,iconSize:l=24,iconClassName:c,cta:u,techType:d,isMax:p})=>{const[f,b]=a(!1),m=`btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${i?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,g=null==s?void 0:s({speedCardConfig:{isModalOpen:f,setModalOpen:()=>{b(!1)},speed:r,techType:d,isMax:p},cta:u});return t(n,{children:[t(et,{onClick:()=>{b(!0),o()},className:Se(m,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${r}`,"data-track-element-clicked":"speed_plan_card",children:[e("span",{children:"Select plan"}),e(Qe,{className:Se(c,i?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:l})]}),g]})},Es=({className:t="",count:n=1})=>e("div",{className:"animate-pulse space-y-4",children:Array.from({length:n}).map((n,o)=>e("div",{className:`h-8 rounded bg-skeleton-bg-start ${t}`,style:{opacity:1-.1*o}},o))});Es.displayName="Skeleton";const Rs=()=>t("div",{className:"item-center mx-auto mt-4 flex animate-pulse flex-col justify-center gap-10 px-1 md:max-w-[48.375rem] md:gap-16 md:px-0","data-testid":"generic-skeleton",children:[e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start","data-testid":"title"}),t("div",{className:"item-center flex flex-col gap-6","data-testid":"subtitle",children:[e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-start"}),e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-start"})]}),t("div",{className:"item-center flex flex-col gap-3","data-testid":"content",children:[e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start"}),e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start"})]}),t("div",{className:"item-center flex flex-col gap-6","data-testid":"additional-info",children:[e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-end"}),e("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-end"})]}),e("div",{className:"item-center flex justify-center","data-testid":"cta-button",children:e("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-end md:w-[22.125rem]"})})]});function Os({tooltipMsg:o,className:r,children:i}){return t(n,{children:[e("style",{children:'\n .tooltip-custom {\n position: relative;\n cursor: pointer;\n margin-top: 7px;\n }\n .tooltip-custom::after {\n display: none;\n position: absolute;\n text-align: center;\n z-index: 999;\n content: attr(data-text);\n top: 0;\n left: -200%;\n transform: translate(-50%, calc(-100% - 10px));\n line-height: 1.1rem;\n padding-left: 1rem;\n padding-right: 1rem;\n border-radius: 8px;\n color: white;\n background-color: black;\n padding-bottom: 0.75rem;\n padding-top: 0.75rem;\n width: 270px;\n font-size: 14px;\n }\n .tooltip-custom:hover::after {\n display: block;\n }\n .tooltip-custom::before {\n background-color: black;\n content: " ";\n display: none;\n position: absolute;\n width: 15px;\n height: 15px;\n z-index: 999;\n top: 0;\n left: 50%;\n transform: translate(-50%, calc(-100% - 5px)) rotate(45deg);\n }\n .tooltip-custom:hover::before {\n display: block;\n }\n @media (max-width: 640px) {\n .tooltip-custom::after {\n left: -124px;\n }\n }\n @media (max-width: 343px) {\n .tooltip-custom::after {\n left: 80px;\n width: 160px;\n }\n }\n '}),e("span",{className:`tooltip-custom ${r||""}`,"data-text":o,children:i})]})}Os.displayName="Tooltip";const Bs=n=>{const{cartTotalText:o,onClick:r,isOpen:i,...a}=n;return e(et,{className:Se("btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top border-2 border-border-secondary-on-bg-fill bg-bg text-text focus:ring-bg-surface-inverse","btn-small w-full border-border pl-6 pr-4 md:btn-medium"),onClick:r,...a,children:t("div",{className:"flex w-full items-center justify-center gap-2",children:[t("div",{className:"flex flex-col items-center justify-center",children:[e($e,{className:"label4 -mb-1 text-text",children:"View cart"}),e($e,{className:"label3 text-text md:label1","data-testid":"cart-total",children:o})]}),e(Qe,{name:"keyboard_arrow_up",size:24,fill:0,className:Se("h-6 w-6 transition-transform",i?"rotate-180":"rotate-0")})]})})};function Ts(e){const{itemCount:t,cardOffsetPercentage:n=105,swipeThreshold:o=.15,mobileBreakpoint:r=768,autoScrollInterval:i=8e3,enableAutoScroll:c=!0}=e,[d,p]=a(0),[f,b]=a(0),[m,g]=a(!1),[h,v]=a(window.innerWidth),[y,I]=a(!1),C=u(null),x=u(0),A=u(null),w={CARD_OFFSET_PERCENTAGE:n,SWIPE_THRESHOLD:o,MOBILE_BREAKPOINT:r,AUTO_SCROLL_INTERVAL:i};l(()=>{const e=()=>{var e;v((null===(e=A.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const G=s(()=>{0!==t&&p(e=>(e+1)%t)},[t]),N=s(()=>{0!==t&&p(e=>0===e?t-1:e-1)},[t]),E=s(e=>{e<0||e>=t||p(e)},[t]),R=s(e=>{x.current=e.touches[0].clientX,g(!0),C.current&&clearInterval(C.current)},[]),O=s(e=>{if(!m)return;const t=e.touches[0].clientX-x.current;b(t)},[m]),B=s(()=>{g(!1);const e=h*o;f>e?N():f<-e&&G(),b(0),c&&i>0&&(C.current=setInterval(()=>{G()},i))},[f,h,o,N,G,c,i]);return l(()=>{const e=()=>{I(window.innerWidth<r)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[r]),l(()=>{if(c&&0!==t&&0!==i)return C.current=setInterval(()=>{G()},i),()=>{C.current&&clearInterval(C.current)}},[G,t,c,i]),{currentIndex:d,swipeOffset:f,isSwiping:m,isMobile:y,containerWidth:h,containerRef:A,nextSlide:G,prevSlide:N,goToSlide:E,handleTouchStart:R,handleTouchMove:O,handleTouchEnd:B,constants:w}}export{zn as Accordion,Is as AlertCard,xs as BrandButton,et as Button,st as CallButton,Yn as Checkbox,Ke as Checklist,Fn as Collapse,As as Divider,ot as Image,nt as Input,tt as InputField,qe as Link,Ue as List,_e as ListItem,Qe as MaterialIcon,Dn as Modal,it as NextImage,Rs as PageSkeleton,ws as RadioButton,Gs as SeeMore,ys as Select,Ns as SelectPlanButton,Es as Skeleton,at as Spinner,$e as Text,nt as TextInput,Os as Tooltip,Bs as ViewCartButton,C as clsx,Se as cx,lt as useBodyScrollLock,Ts as useCarouselSwipe};
|
|
31
31
|
//# sourceMappingURL=index.esm.js.map
|