@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.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
"use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("next/link"),o=require("next/image"),r=require("react-dom");function i(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var a=i(t);function s(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=s(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function l(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=s(e))&&(o&&(o+=" "),o+=t);return o}const c=e=>{const t=f(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),u(n,t)||p(e)},getConflictingClassGroupIds:(e,t)=>{const r=n[e]||[];return t&&o[e]?[...r,...o[e]]:r}}},u=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],o=t.nextPart.get(n),r=o?u(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},d=/^\[(.+)\]$/,p=e=>{if(d.test(e)){const t=d.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},f=e=>{const{theme:t,classGroups:n}=e,o={nextPart:new Map,validators:[]};for(const e in n)b(n[e],o,e,t);return o},b=(e,t,n,o)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:m(t,e)).classGroupId=n)}if("function"==typeof e)return g(e)?void b(e(o),t,n,o):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,r])=>{b(r,m(t,e),n,o)})})},m=(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},g=e=>e.isThemeGetter,h=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)}}},v=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=y(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},y=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,I=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}},x=/\s+/;function C(){let e,t,n=0,o="";for(;n<arguments.length;)(e=arguments[n++])&&(t=A(e))&&(o&&(o+=" "),o+=t);return o}const A=e=>{if("string"==typeof e)return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=A(e[o]))&&(n&&(n+=" "),n+=t);return n};function w(e,...t){let n,o,r,i=function(s){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:h(e.cacheSize),parseClassName:v(e),sortModifiers:I(e),...c(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(x);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(C.apply(null,arguments))}}const G=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},N=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,E=/^\((?:(\w[\w-]*):)?(.+)\)$/i,R=/^\d+\/\d+$/,O=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,B=/\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$/,k=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,S=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,T=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,V=e=>R.test(e),X=e=>!!e&&!Number.isNaN(Number(e)),W=e=>!!e&&Number.isInteger(Number(e)),P=e=>e.endsWith("%")&&X(e.slice(0,-1)),M=e=>O.test(e),H=()=>!0,j=e=>B.test(e)&&!k.test(e),L=()=>!1,Z=e=>S.test(e),D=e=>T.test(e),F=e=>!Y(e)&&!K(e),z=e=>ie(e,ce,L),Y=e=>N.test(e),J=e=>ie(e,ue,j),_=e=>ie(e,de,X),U=e=>ie(e,se,L),Q=e=>ie(e,le,D),$=e=>ie(e,fe,Z),K=e=>E.test(e),q=e=>ae(e,ue),ee=e=>ae(e,pe),te=e=>ae(e,se),ne=e=>ae(e,ce),oe=e=>ae(e,le),re=e=>ae(e,fe,!0),ie=(e,t,n)=>{const o=N.exec(e);return!!o&&(o[1]?t(o[1]):n(o[2]))},ae=(e,t,n=!1)=>{const o=E.exec(e);return!!o&&(o[1]?t(o[1]):n)},se=e=>"position"===e||"percentage"===e,le=e=>"image"===e||"url"===e,ce=e=>"length"===e||"size"===e||"bg-size"===e,ue=e=>"length"===e,de=e=>"number"===e,pe=e=>"family-name"===e,fe=e=>"shadow"===e,be=()=>{const e=G("color"),t=G("font"),n=G("text"),o=G("font-weight"),r=G("tracking"),i=G("leading"),a=G("breakpoint"),s=G("container"),l=G("spacing"),c=G("radius"),u=G("shadow"),d=G("inset-shadow"),p=G("text-shadow"),f=G("drop-shadow"),b=G("blur"),m=G("perspective"),g=G("aspect"),h=G("ease"),v=G("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",K,Y],I=()=>[K,Y,l],x=()=>[V,"full","auto",...I()],C=()=>[W,"none","subgrid",K,Y],A=()=>["auto",{span:["full",W,K,Y]},W,K,Y],w=()=>[W,"auto",K,Y],N=()=>["auto","min","max","fr",K,Y],E=()=>["auto",...I()],R=()=>[V,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...I()],O=()=>[e,K,Y],B=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",te,U,{position:[K,Y]}],k=()=>["auto","cover","contain",ne,z,{size:[K,Y]}],S=()=>[P,q,J],T=()=>["","none","full",c,K,Y],j=()=>["",X,q,J],L=()=>[X,P,te,U],Z=()=>["","none",b,K,Y],D=()=>["none",X,K,Y],ie=()=>["none",X,K,Y],ae=()=>[X,K,Y],se=()=>[V,"full",...I()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[M],breakpoint:[M],color:[H],container:[M],"drop-shadow":[M],ease:["in","out","in-out"],font:[F],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[M],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[M],shadow:[M],spacing:["px",X],text:[M],"text-shadow":[M],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",V,Y,K,g]}],container:["container"],columns:[{columns:[X,Y,K,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:x()}],"inset-x":[{"inset-x":x()}],"inset-y":[{"inset-y":x()}],start:[{start:x()}],end:[{end:x()}],top:[{top:x()}],right:[{right:x()}],bottom:[{bottom:x()}],left:[{left:x()}],visibility:["visible","invisible","collapse"],z:[{z:[W,"auto",K,Y]}],basis:[{basis:[V,"full","auto",s,...I()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[X,V,"auto","initial","none",Y]}],grow:[{grow:["",X,K,Y]}],shrink:[{shrink:["",X,K,Y]}],order:[{order:[W,"first","last","none",K,Y]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:A()}],"col-start":[{"col-start":w()}],"col-end":[{"col-end":w()}],"grid-rows":[{"grid-rows":C()}],"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":N()}],"auto-rows":[{"auto-rows":N()}],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:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":I()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":I()}],"space-y-reverse":["space-y-reverse"],size:[{size:R()}],w:[{w:[s,"screen",...R()]}],"min-w":[{"min-w":[s,"screen","none",...R()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...R()]}],h:[{h:["screen","lh",...R()]}],"min-h":[{"min-h":["screen","lh","none",...R()]}],"max-h":[{"max-h":["screen","lh",...R()]}],"font-size":[{text:["base",n,q,J]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,K,_]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",P,Y]}],"font-family":[{font:[ee,Y,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,K,Y]}],"line-clamp":[{"line-clamp":[X,"none",K,_]}],leading:[{leading:[i,...I()]}],"list-image":[{"list-image":["none",K,Y]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",K,Y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:O()}],"text-color":[{text:O()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[X,"from-font","auto",K,J]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[X,"auto",K,Y]}],"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",K,Y]}],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",K,Y]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:B()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:k()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},W,K,Y],radial:["",K,Y],conic:[W,K,Y]},oe,Q]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:S()}],"gradient-via-pos":[{via:S()}],"gradient-to-pos":[{to:S()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],rounded:[{rounded:T()}],"rounded-s":[{"rounded-s":T()}],"rounded-e":[{"rounded-e":T()}],"rounded-t":[{"rounded-t":T()}],"rounded-r":[{"rounded-r":T()}],"rounded-b":[{"rounded-b":T()}],"rounded-l":[{"rounded-l":T()}],"rounded-ss":[{"rounded-ss":T()}],"rounded-se":[{"rounded-se":T()}],"rounded-ee":[{"rounded-ee":T()}],"rounded-es":[{"rounded-es":T()}],"rounded-tl":[{"rounded-tl":T()}],"rounded-tr":[{"rounded-tr":T()}],"rounded-br":[{"rounded-br":T()}],"rounded-bl":[{"rounded-bl":T()}],"border-w":[{border:j()}],"border-w-x":[{"border-x":j()}],"border-w-y":[{"border-y":j()}],"border-w-s":[{"border-s":j()}],"border-w-e":[{"border-e":j()}],"border-w-t":[{"border-t":j()}],"border-w-r":[{"border-r":j()}],"border-w-b":[{"border-b":j()}],"border-w-l":[{"border-l":j()}],"divide-x":[{"divide-x":j()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":j()}],"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:O()}],"border-color-x":[{"border-x":O()}],"border-color-y":[{"border-y":O()}],"border-color-s":[{"border-s":O()}],"border-color-e":[{"border-e":O()}],"border-color-t":[{"border-t":O()}],"border-color-r":[{"border-r":O()}],"border-color-b":[{"border-b":O()}],"border-color-l":[{"border-l":O()}],"divide-color":[{divide:O()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[X,K,Y]}],"outline-w":[{outline:["",X,q,J]}],"outline-color":[{outline:O()}],shadow:[{shadow:["","none",u,re,$]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":["none",d,re,$]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:j()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[X,J]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":j()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":["none",p,re,$]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[X,K,Y]}],"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":[X]}],"mask-image-linear-from-pos":[{"mask-linear-from":L()}],"mask-image-linear-to-pos":[{"mask-linear-to":L()}],"mask-image-linear-from-color":[{"mask-linear-from":O()}],"mask-image-linear-to-color":[{"mask-linear-to":O()}],"mask-image-t-from-pos":[{"mask-t-from":L()}],"mask-image-t-to-pos":[{"mask-t-to":L()}],"mask-image-t-from-color":[{"mask-t-from":O()}],"mask-image-t-to-color":[{"mask-t-to":O()}],"mask-image-r-from-pos":[{"mask-r-from":L()}],"mask-image-r-to-pos":[{"mask-r-to":L()}],"mask-image-r-from-color":[{"mask-r-from":O()}],"mask-image-r-to-color":[{"mask-r-to":O()}],"mask-image-b-from-pos":[{"mask-b-from":L()}],"mask-image-b-to-pos":[{"mask-b-to":L()}],"mask-image-b-from-color":[{"mask-b-from":O()}],"mask-image-b-to-color":[{"mask-b-to":O()}],"mask-image-l-from-pos":[{"mask-l-from":L()}],"mask-image-l-to-pos":[{"mask-l-to":L()}],"mask-image-l-from-color":[{"mask-l-from":O()}],"mask-image-l-to-color":[{"mask-l-to":O()}],"mask-image-x-from-pos":[{"mask-x-from":L()}],"mask-image-x-to-pos":[{"mask-x-to":L()}],"mask-image-x-from-color":[{"mask-x-from":O()}],"mask-image-x-to-color":[{"mask-x-to":O()}],"mask-image-y-from-pos":[{"mask-y-from":L()}],"mask-image-y-to-pos":[{"mask-y-to":L()}],"mask-image-y-from-color":[{"mask-y-from":O()}],"mask-image-y-to-color":[{"mask-y-to":O()}],"mask-image-radial":[{"mask-radial":[K,Y]}],"mask-image-radial-from-pos":[{"mask-radial-from":L()}],"mask-image-radial-to-pos":[{"mask-radial-to":L()}],"mask-image-radial-from-color":[{"mask-radial-from":O()}],"mask-image-radial-to-color":[{"mask-radial-to":O()}],"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":[X]}],"mask-image-conic-from-pos":[{"mask-conic-from":L()}],"mask-image-conic-to-pos":[{"mask-conic-to":L()}],"mask-image-conic-from-color":[{"mask-conic-from":O()}],"mask-image-conic-to-color":[{"mask-conic-to":O()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:B()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:k()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",K,Y]}],filter:[{filter:["","none",K,Y]}],blur:[{blur:Z()}],brightness:[{brightness:[X,K,Y]}],contrast:[{contrast:[X,K,Y]}],"drop-shadow":[{"drop-shadow":["","none",f,re,$]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:["",X,K,Y]}],"hue-rotate":[{"hue-rotate":[X,K,Y]}],invert:[{invert:["",X,K,Y]}],saturate:[{saturate:[X,K,Y]}],sepia:[{sepia:["",X,K,Y]}],"backdrop-filter":[{"backdrop-filter":["","none",K,Y]}],"backdrop-blur":[{"backdrop-blur":Z()}],"backdrop-brightness":[{"backdrop-brightness":[X,K,Y]}],"backdrop-contrast":[{"backdrop-contrast":[X,K,Y]}],"backdrop-grayscale":[{"backdrop-grayscale":["",X,K,Y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[X,K,Y]}],"backdrop-invert":[{"backdrop-invert":["",X,K,Y]}],"backdrop-opacity":[{"backdrop-opacity":[X,K,Y]}],"backdrop-saturate":[{"backdrop-saturate":[X,K,Y]}],"backdrop-sepia":[{"backdrop-sepia":["",X,K,Y]}],"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",K,Y]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[X,"initial",K,Y]}],ease:[{ease:["linear","initial",h,K,Y]}],delay:[{delay:[X,K,Y]}],animate:[{animate:["none",v,K,Y]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,K,Y]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:D()}],"rotate-x":[{"rotate-x":D()}],"rotate-y":[{"rotate-y":D()}],"rotate-z":[{"rotate-z":D()}],scale:[{scale:ie()}],"scale-x":[{"scale-x":ie()}],"scale-y":[{"scale-y":ie()}],"scale-z":[{"scale-z":ie()}],"scale-3d":["scale-3d"],skew:[{skew:ae()}],"skew-x":[{"skew-x":ae()}],"skew-y":[{"skew-y":ae()}],transform:[{transform:[K,Y,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:se()}],"translate-x":[{"translate-x":se()}],"translate-y":[{"translate-y":se()}],"translate-z":[{"translate-z":se()}],"translate-none":["translate-none"],accent:[{accent:O()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:O()}],"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",K,Y]}],"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",K,Y]}],fill:[{fill:["none",...O()]}],"stroke-w":[{stroke:[X,q,J,_]}],stroke:[{stroke:["none",...O()]}],"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"]}},me=(e,t,n)=>{void 0!==n&&(e[t]=n)},ge=(e,t)=>{if(t)for(const n in t)me(e,n,t[n])},he=(e,t)=>{if(t)for(const n in t)ve(e,t,n)},ve=(e,t,n)=>{const o=t[n];void 0!==o&&(e[n]=e[n]?e[n].concat(o):o)},ye=((e,...t)=>"function"==typeof e?w(be,e,...t):w(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:o,extend:r={},override:i={}})=>(me(e,"cacheSize",t),me(e,"prefix",n),me(e,"experimentalParseClassName",o),ge(e.theme,i.theme),ge(e.classGroups,i.classGroups),ge(e.conflictingClassGroups,i.conflictingClassGroups),ge(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),me(e,"orderSensitiveModifiers",i.orderSensitiveModifiers),he(e.theme,r.theme),he(e.classGroups,r.classGroups),he(e.conflictingClassGroups,r.conflictingClassGroups),he(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),ve(e,r,"orderSensitiveModifiers"),e))(be(),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"]}}}),Ie=(...e)=>ye(l(...e));
|
|
4
4
|
/*! js-cookie v3.0.5 | MIT */
|
|
5
|
-
function xe(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=xe({},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,"",xe({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,xe({},this.attributes,t))},withConverter:function(t){return e(xe({},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 Ce=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}({}),Ae=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 we=[Ce.PARAGRAPH,Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6,Ce.OL_LIST,Ce.UL_LIST,Ce.HR,Ce.QUOTE,Ce.EMBEDDED_ENTRY,Ce.EMBEDDED_ASSET,Ce.EMBEDDED_RESOURCE,Ce.TABLE],Ge=[Ce.PARAGRAPH,Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6,Ce.OL_LIST,Ce.UL_LIST,Ce.HR,Ce.QUOTE,Ce.EMBEDDED_ENTRY,Ce.EMBEDDED_ASSET,Ce.EMBEDDED_RESOURCE];Ce.TABLE,Ce.TABLE_ROW,Ce.TABLE_CELL,Ce.TABLE_HEADER_CELL,Ce.HR,Ce.EMBEDDED_ENTRY,Ce.EMBEDDED_ASSET,Ce.EMBEDDED_RESOURCE;const Ne={[Ce.OL_LIST]:[Ce.LIST_ITEM],[Ce.UL_LIST]:[Ce.LIST_ITEM],[Ce.LIST_ITEM]:Ge,[Ce.QUOTE]:[Ce.PARAGRAPH],[Ce.TABLE]:[Ce.TABLE_ROW],[Ce.TABLE_ROW]:[Ce.TABLE_CELL,Ce.TABLE_HEADER_CELL],[Ce.TABLE_CELL]:[Ce.PARAGRAPH,Ce.UL_LIST,Ce.OL_LIST],[Ce.TABLE_HEADER_CELL]:[Ce.PARAGRAPH]};Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6;Ce.PARAGRAPH,Ce.DOCUMENT,Ce.PARAGRAPH,Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6,Ce.OL_LIST,Ce.UL_LIST,Ce.LIST_ITEM,Ce.HR,Ce.QUOTE,Ce.EMBEDDED_ENTRY,Ce.EMBEDDED_ASSET,Ae.HYPERLINK,Ae.ENTRY_HYPERLINK,Ae.ASSET_HYPERLINK,Ae.EMBEDDED_ENTRY,Ce.DOCUMENT,Ce.PARAGRAPH;const Ee=({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 Re{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(Ee({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(Ee({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(Ee({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(Ee({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 Oe=[];class Be{contentRule;validateData;constructor(e,t){this.contentRule=e,this.validateData=t}assert(e,t){const n=new Re(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 Re(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 ke extends Be{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 Re(e,t);if(n.object("target")){const o=new Re(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 Se=(e,t)=>new Be(e,t),Te=(e,t)=>new ke(e,t);Se([...Object.values(Ae),"text"].sort()),Se([Ce.LIST_ITEM]),Te("Entry",Oe),Se(()=>({nodeTypes:[Ce.PARAGRAPH],min:1}),(e,t)=>{const n=new Re(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});Ce.DOCUMENT,Se(we),Ce.PARAGRAPH,Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6,Ce.QUOTE,Se(Ne[Ce.QUOTE]),Ce.EMBEDDED_ENTRY,Ce.EMBEDDED_ASSET,Te("Asset",Oe),Ce.EMBEDDED_RESOURCE,Te("Contentful:Entry",Oe),Ce.HR,Se(Oe),Ce.OL_LIST,Ce.UL_LIST,Ce.LIST_ITEM,Se([...Ge].sort()),Ce.TABLE,Se(()=>({nodeTypes:[Ce.TABLE_ROW],min:1})),Ce.TABLE_ROW,Se(()=>({nodeTypes:[Ce.TABLE_CELL,Ce.TABLE_HEADER_CELL],min:1})),Ce.TABLE_CELL,Ce.TABLE_HEADER_CELL,Ae.HYPERLINK,new class extends Be{constructor(){super(["text"],(e,t)=>this.assertLink(e,t))}assertLink=(e,t)=>{const n=new Re(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}},Ae.EMBEDDED_ENTRY,Ae.EMBEDDED_RESOURCE,Te("Contentful:Entry",Oe),Ae.ENTRY_HYPERLINK,Te("Entry",["text"]),Ae.ASSET_HYPERLINK,Te("Asset",["text"]),Ae.RESOURCE_HYPERLINK,Te("Contentful:Entry",["text"]),Ce.DOCUMENT,Ce.PARAGRAPH,Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6,Ce.EMBEDDED_ENTRY,Ce.EMBEDDED_RESOURCE,Ce.UL_LIST,Ce.OL_LIST,Ce.LIST_ITEM,Ce.QUOTE,Ce.HR,Ce.TABLE,Ce.TABLE_ROW,Ce.TABLE_HEADER_CELL,Ce.TABLE_CELL,Ae.ASSET_HYPERLINK,Ae.ENTRY_HYPERLINK,Ae.RESOURCE_HYPERLINK,Ae.EMBEDDED_ENTRY,Ae.EMBEDDED_RESOURCE,Ae.HYPERLINK;const Ve={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},Xe=t.forwardRef(({children:t,className:n="",variant:o="unstyled",style:r,...i},a)=>{const s=Ie("unstyled"===o?"":"mb-1 leading-6","list-item",`list-item--${o}`,n);return e.jsx("li",{ref:a,className:s,style:r,...i,children:t})});Xe.displayName="ListItem";const We=t.forwardRef(({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=Ie(u,`list--${t}`,`list--${a}`,o),p=i||(n&&0!==n.length?n.map((t,n)=>r?r(t,n):e.jsx(Xe,{className:t.className,variant:a,children:t.content},t.id||n)):null),f={className:d,style:s,...l,children:p};return"ol"===t?e.jsx("ol",{...f,ref:c}):e.jsx("ul",{...f,ref:c})});We.displayName="List";const Pe=({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.jsx("span",{style:p,className:Ie("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};Pe.displayName="MaterialIcon";const Me=t.forwardRef(({children:e,as:n,className:o="",style:r,...i},a)=>{const s=n||"p";return t.createElement(s,{ref:a,className:o,style:r,...i},e)});Me.displayName="Text";const He=t=>{const{items:n,listIconName:o="check",listItemClassName:r,listContainerClassName:i,iconSize:a=20,iconPosition:s="center",iconColor:l="green",iconClassName:c}=t,u="disc"!==o;return(null==n?void 0:n.length)?e.jsx(We,{className:Ie("mt-2 space-y-1",i),variant:u?"unstyled":"default",children:n.map((t,n)=>e.jsxs(Xe,{variant:u?"unstyled":"default",className:Ie(`${u?"flex":""} ${"top"===s?"items-start":"items-center"} gap-2 text-text-secondary`,r),children:[u&&e.jsx("div",{className:"flex leading-none",children:e.jsx(Pe,{name:o,size:a,color:Ve[l],weight:"600",className:Ie("block","top"===s?"mt-1":"",c)})}),e.jsx(Me,{as:"div",children:t})]},n))}):null};He.displayName="Checklist";const je=t.forwardRef(({children:t,href:o,className:r="",onClick:i,variant:a="unstyled",style:s,external:l=!1,disabled:c=!1,...u},d)=>{const p=(()=>{if("unstyled"===a)return"";const e={default:"text-text underline"},t=[c?"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[a]||e.default,t].filter(Boolean).join(" ")})(),f=e=>{c?e.preventDefault():null==i||i(e)},b=Ie(p,`link--${a}`,c&&"link--disabled",r),m={...u,ref:d,className:b,style:s,href:c?void 0:o,onClick:f,...l&&!c&&{target:"_blank",rel:"noopener noreferrer"},...c&&{"aria-disabled":!0,tabIndex:-1}};return l||"string"==typeof o&&o.startsWith("http")?e.jsx("a",{...m,children:t}):e.jsx(n,{href:o||"#",className:b,onClick:f,...u,children:t})});je.displayName="Link",Ce.PARAGRAPH,Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6,Ce.QUOTE,Ce.UL_LIST,Ce.OL_LIST,Ce.LIST_ITEM,Ae.HYPERLINK,Ce.EMBEDDED_ASSET,Ce.EMBEDDED_ENTRY,Ae.EMBEDDED_ENTRY;const Le=t.forwardRef(({children:t,className:n="",style:o,disabled:r,...i},a)=>e.jsx("button",{ref:a,className:Ie(n),style:o,disabled:r,...i,children:t}));Le.displayName="Button";const Ze=(n,o)=>{const{className:r,size:i,required:a,placeholder:s,label:l,state:c,errorText:u,prefixIconName:d,prefixIconFill:p=!0,suffixIconFill:f=!1,prefixIconSize:b=24,suffixIconName:m,suffixIconSize:g=24,containerClassName:h,prefixIconClassName:v,loading:y,hasError:I,type:x,...C}=n,A=I?"error":c,[w,G]=t.useState(!1),[N,E]=t.useState(!1),[R,O]=t.useState(x||"text"),B=t.useCallback(e=>{e.stopPropagation(),O(e=>"password"===e?"text":"password")},[]);return e.jsxs("div",{className:"relative",children:[l?e.jsx("label",{htmlFor:l,className:Ie("inline-block pb-1"),children:e.jsxs(Me,{as:"span",className:"footnote text-text",children:[l,a?e.jsx("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,e.jsxs("div",{className:Ie("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"],h,(w||"hover"===A)&&!N&&"error"!==A&&"border-input-border-hover",(N||"focus"===A||"active"===A)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===A&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[d?e.jsx("div",{className:"mr-1",style:{width:b,height:b,overflow:"hidden"},children:e.jsx(Pe,{name:d,fill:p?1:0,size:b,className:Ie(v)})}):null,e.jsx("input",{ref:o,id:l,disabled:y||C.disabled,className:Ie("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:s,type:R,...C,onMouseOver:()=>G(!0),onMouseOut:()=>G(!1),onFocus:e=>{var t;null===(t=C.onFocus)||void 0===t||t.call(C,e),E(!0)},onBlur:e=>{var t;null===(t=C.onBlur)||void 0===t||t.call(C,e),E(!1)}}),m?e.jsx("div",{className:"ml-2",style:{width:g,height:g,overflow:"hidden"},onClick:B,children:e.jsx(Pe,{name:"text"===R?"visibility":"visibility_off",size:g,fill:f?1:0})}):null]}),"error"===A&&u&&""!=u?e.jsxs(Me,{className:Ie("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e.jsx(Pe,{name:"info",size:20,className:"mr-1"}),u||"Error"]}):null]})},De=t.forwardRef(Ze);De.displayName="Input";const Fe=t.forwardRef(({as:t,className:n="",...o},r)=>{const i=Ie(n);if(t){const n=t;return e.jsx(n,{ref:r,className:i,...o})}return e.jsx("img",{ref:r,className:i,...o})});Fe.displayName="Image";const ze="function"==typeof o.default?o.default:o,Ye=({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()},Je=t.forwardRef(({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:Ye,unoptimized:!1}:{unoptimized:s};return e.jsx(ze,{ref:o,className:Ie(t),...n,...l})});Je.displayName="NextImage";const _e=t=>{const{color:n="#fff",size:o="medium"}=t;return e.jsxs("div",{role:"status",className:"relative flex flex-row items-center",children:[e.jsxs("svg",{"aria-hidden":"true",className:Ie("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"}[o],t.className),style:{animation:"spin 0.75s linear infinite"},viewBox:"0 0 100 100",fill:n,children:[e.jsx("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.jsx("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.jsx("span",{className:"sr-only",children:"Loading..."})]})};_e.displayName="Spinner";const Ue=t=>{const{showBlinkDot:n=!1,buttonStyle:o="primary",size:r="md",children:i,className:a,...s}=t;return e.jsxs(je,{...s,className:Ie("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"}[r],{primary:"border-[0.727px] border-border text-text"}[o],a),children:[n?e.jsx("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[r]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[r]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e.jsx("span",{className:`relative inline-flex ${{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[r]} items-center justify-center rounded-full bg-icon-brand`,children:e.jsx(Pe,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[r],className:"text-white"})}),e.jsx("span",{className:"font-normal tracking-wide",children:i})]})};function Qe(e,n){t.useEffect(()=>{if("undefined"==typeof document)return;const t=window.innerWidth-document.documentElement.clientWidth;return document.body.style.marginRight=e?`${t}px`:"unset",document.body.style.overflow=e?"hidden":n?"unset":document.body.style.overflow,()=>{document.body.style.overflow="unset"}},[e,n])}function $e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ke(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}Ue.displayName="CallButton";var qe,et={exports:{}},tt={},nt={exports:{}},ot={exports:{}},rt={};var it,at,st,lt,ct,ut,dt,pt,ft,bt,mt,gt,ht,vt,yt,It={};
|
|
5
|
+
function xe(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=xe({},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,"",xe({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,xe({},this.attributes,t))},withConverter:function(t){return e(xe({},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 Ce=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}({}),Ae=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 we=[Ce.PARAGRAPH,Ce.HEADING_1,Ce.HEADING_2,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OCUMENT,Ce.PARAGRAPH;const Ee=({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 Re{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(Ee({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(Ee({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(Ee({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(Ee({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 Oe=[];class Be{contentRule;validateData;constructor(e,t){this.contentRule=e,this.validateData=t}assert(e,t){const n=new Re(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 Re(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 ke extends Be{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 Re(e,t);if(n.object("target")){const o=new Re(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 Se=(e,t)=>new Be(e,t),Te=(e,t)=>new ke(e,t);Se([...Object.values(Ae),"text"].sort()),Se([Ce.LIST_ITEM]),Te("Entry",Oe),Se(()=>({nodeTypes:[Ce.PARAGRAPH],min:1}),(e,t)=>{const n=new Re(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});Ce.DOCUMENT,Se(we),Ce.PARAGRAPH,Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6,Ce.QUOTE,Se(Ne[Ce.QUOTE]),Ce.EMBEDDED_ENTRY,Ce.EMBEDDED_ASSET,Te("Asset",Oe),Ce.EMBEDDED_RESOURCE,Te("Contentful:Entry",Oe),Ce.HR,Se(Oe),Ce.OL_LIST,Ce.UL_LIST,Ce.LIST_ITEM,Se([...Ge].sort()),Ce.TABLE,Se(()=>({nodeTypes:[Ce.TABLE_ROW],min:1})),Ce.TABLE_ROW,Se(()=>({nodeTypes:[Ce.TABLE_CELL,Ce.TABLE_HEADER_CELL],min:1})),Ce.TABLE_CELL,Ce.TABLE_HEADER_CELL,Ae.HYPERLINK,new class extends Be{constructor(){super(["text"],(e,t)=>this.assertLink(e,t))}assertLink=(e,t)=>{const n=new Re(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}},Ae.EMBEDDED_ENTRY,Ae.EMBEDDED_RESOURCE,Te("Contentful:Entry",Oe),Ae.ENTRY_HYPERLINK,Te("Entry",["text"]),Ae.ASSET_HYPERLINK,Te("Asset",["text"]),Ae.RESOURCE_HYPERLINK,Te("Contentful:Entry",["text"]),Ce.DOCUMENT,Ce.PARAGRAPH,Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6,Ce.EMBEDDED_ENTRY,Ce.EMBEDDED_RESOURCE,Ce.UL_LIST,Ce.OL_LIST,Ce.LIST_ITEM,Ce.QUOTE,Ce.HR,Ce.TABLE,Ce.TABLE_ROW,Ce.TABLE_HEADER_CELL,Ce.TABLE_CELL,Ae.ASSET_HYPERLINK,Ae.ENTRY_HYPERLINK,Ae.RESOURCE_HYPERLINK,Ae.EMBEDDED_ENTRY,Ae.EMBEDDED_RESOURCE,Ae.HYPERLINK;const Ve={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},Xe=t.forwardRef(({children:t,className:n="",variant:o="unstyled",style:r,...i},a)=>{const s=Ie("unstyled"===o?"":"mb-1 leading-6","list-item",`list-item--${o}`,n);return e.jsx("li",{ref:a,className:s,style:r,...i,children:t})});Xe.displayName="ListItem";const We=t.forwardRef(({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=Ie(u,`list--${t}`,`list--${a}`,o),p=i||(n&&0!==n.length?n.map((t,n)=>r?r(t,n):e.jsx(Xe,{className:t.className,variant:a,children:t.content},t.id||n)):null),f={className:d,style:s,...l,children:p};return"ol"===t?e.jsx("ol",{...f,ref:c}):e.jsx("ul",{...f,ref:c})});We.displayName="List";const Pe=({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.jsx("span",{style:p,className:Ie("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};Pe.displayName="MaterialIcon";const Me=t.forwardRef(({children:e,as:n,className:o="",style:r,...i},a)=>{const s=n||"p";return t.createElement(s,{ref:a,className:o,style:r,...i},e)});Me.displayName="Text";const He=t=>{const{items:n,listIconName:o="check",listItemClassName:r,listContainerClassName:i,iconSize:a=20,iconPosition:s="center",iconColor:l="green",iconClassName:c}=t,u="disc"!==o;return(null==n?void 0:n.length)?e.jsx(We,{className:Ie("mt-2 space-y-1",i),variant:u?"unstyled":"default",children:n.map((t,n)=>e.jsxs(Xe,{variant:u?"unstyled":"default",className:Ie(`${u?"flex":""} ${"top"===s?"items-start":"items-center"} gap-2 text-text-secondary`,r),children:[u&&e.jsx("div",{className:"flex leading-none",children:e.jsx(Pe,{name:o,size:a,color:Ve[l],weight:"600",className:Ie("block","top"===s?"mt-1":"",c)})}),e.jsx(Me,{as:"div",children:t})]},n))}):null};He.displayName="Checklist";const je=t.forwardRef(({children:t,href:o,className:r="",onClick:i,variant:a="unstyled",style:s,external:l=!1,disabled:c=!1,...u},d)=>{const p=(()=>{if("unstyled"===a)return"";const e={default:"text-text underline"},t=[c?"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[a]||e.default,t].filter(Boolean).join(" ")})(),f=e=>{c?e.preventDefault():null==i||i(e)},b=Ie(p,`link--${a}`,c&&"link--disabled",r),m={...u,ref:d,className:b,style:s,href:c?void 0:o,onClick:f,...l&&!c&&{target:"_blank",rel:"noopener noreferrer"},...c&&{"aria-disabled":!0,tabIndex:-1}};return l||"string"==typeof o&&o.startsWith("http")?e.jsx("a",{...m,children:t}):e.jsx(n,{href:o||"#",className:b,onClick:f,...u,children:t})});je.displayName="Link",Ce.PARAGRAPH,Ce.HEADING_1,Ce.HEADING_2,Ce.HEADING_3,Ce.HEADING_4,Ce.HEADING_5,Ce.HEADING_6,Ce.QUOTE,Ce.UL_LIST,Ce.OL_LIST,Ce.LIST_ITEM,Ae.HYPERLINK,Ce.EMBEDDED_ASSET,Ce.EMBEDDED_ENTRY,Ae.EMBEDDED_ENTRY;const Le=t.forwardRef(({children:t,className:n="",style:o,disabled:r,...i},a)=>e.jsx("button",{ref:a,className:Ie(n),style:o,disabled:r,...i,children:t}));Le.displayName="Button";const Ze=(n,o)=>{const{className:r,size:i,required:a,placeholder:s,label:l,state:c,errorText:u,prefixIconName:d,prefixIconFill:p=!0,suffixIconFill:f=!1,prefixIconSize:b=24,suffixIconName:m,suffixIconSize:g=24,containerClassName:h,prefixIconClassName:v,loading:y,hasError:I,type:x,...C}=n,A=I?"error":c,[w,G]=t.useState(!1),[N,E]=t.useState(!1),[R,O]=t.useState(x||"text"),B=t.useCallback(e=>{e.stopPropagation(),O(e=>"password"===e?"text":"password")},[]);return e.jsxs("div",{className:"relative",children:[l?e.jsx("label",{htmlFor:l,className:Ie("inline-block pb-1"),children:e.jsxs(Me,{as:"span",className:"footnote text-text",children:[l,a?e.jsx("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,e.jsxs("div",{className:Ie("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"],h,(w||"hover"===A)&&!N&&"error"!==A&&"border-input-border-hover",(N||"focus"===A||"active"===A)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===A&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[d?e.jsx("div",{className:"mr-1",style:{width:b,height:b,overflow:"hidden"},children:e.jsx(Pe,{name:d,fill:p?1:0,size:b,className:Ie(v)})}):null,e.jsx("input",{ref:o,id:l,disabled:y||C.disabled,className:Ie("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:s,type:R,...C,onMouseOver:()=>G(!0),onMouseOut:()=>G(!1),onFocus:e=>{var t;null===(t=C.onFocus)||void 0===t||t.call(C,e),E(!0)},onBlur:e=>{var t;null===(t=C.onBlur)||void 0===t||t.call(C,e),E(!1)}}),m?e.jsx("div",{className:"ml-2",style:{width:g,height:g,overflow:"hidden"},onClick:B,children:e.jsx(Pe,{name:"text"===R?"visibility":"visibility_off",size:g,fill:f?1:0})}):null]}),"error"===A&&u&&""!=u?e.jsxs(Me,{className:Ie("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e.jsx(Pe,{name:"info",size:20,className:"mr-1"}),u||"Error"]}):null]})},De=t.forwardRef(Ze);De.displayName="Input";const Fe=t.forwardRef(({as:t,className:n="",...o},r)=>{const i=Ie(n);if(t){const n=t;return e.jsx(n,{ref:r,className:i,...o})}return e.jsx("img",{ref:r,className:i,...o})});Fe.displayName="Image";const ze=({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()},Ye=t.forwardRef(({className:t,...n},r)=>{const i="string"==typeof n.src?n.src:"",a=i.toLowerCase().split("?")[0]||"",s=i.includes("images.ctfassets.net"),l=s&&a.endsWith(".svg"),c=s&&!l?{loader:ze,unoptimized:!1}:{unoptimized:l};return e.jsx(o,{ref:r,className:Ie(t),...n,...c})});Ye.displayName="NextImage";const Je=t=>{const{color:n="#fff",size:o="medium"}=t;return e.jsxs("div",{role:"status",className:"relative flex flex-row items-center",children:[e.jsxs("svg",{"aria-hidden":"true",className:Ie("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"}[o],t.className),style:{animation:"spin 0.75s linear infinite"},viewBox:"0 0 100 100",fill:n,children:[e.jsx("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.jsx("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.jsx("span",{className:"sr-only",children:"Loading..."})]})};Je.displayName="Spinner";const _e=t=>{const{showBlinkDot:n=!1,buttonStyle:o="primary",size:r="md",children:i,className:a,...s}=t;return e.jsxs(je,{...s,className:Ie("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"}[r],{primary:"border-[0.727px] border-border text-text"}[o],a),children:[n?e.jsx("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[r]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[r]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e.jsx("span",{className:`relative inline-flex ${{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[r]} items-center justify-center rounded-full bg-icon-brand`,children:e.jsx(Pe,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[r],className:"text-white"})}),e.jsx("span",{className:"font-normal tracking-wide",children:i})]})};function Ue(e,n){t.useEffect(()=>{if("undefined"==typeof document)return;const t=window.innerWidth-document.documentElement.clientWidth;return document.body.style.marginRight=e?`${t}px`:"unset",document.body.style.overflow=e?"hidden":n?"unset":document.body.style.overflow,()=>{document.body.style.overflow="unset"}},[e,n])}function Qe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function $e(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}_e.displayName="CallButton";var Ke,qe={exports:{}},et={},tt={exports:{}},nt={exports:{}},ot={};var rt,it,at,st,lt,ct,ut,dt,pt,ft,bt,mt,gt,ht,vt,yt={};
|
|
6
6
|
/** @license React v16.13.1
|
|
7
7
|
* react-is.development.js
|
|
8
8
|
*
|
|
@@ -10,12 +10,12 @@ function xe(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 It(){return it||(it=1,"production"===process.env.NODE_ENV?nt.exports=function(){if(Ke)return ot;Ke=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 ot.AsyncMode=l,ot.ConcurrentMode=c,ot.ContextConsumer=s,ot.ContextProvider=a,ot.Element=t,ot.ForwardRef=u,ot.Fragment=o,ot.Lazy=b,ot.Memo=f,ot.Portal=n,ot.Profiler=i,ot.StrictMode=r,ot.Suspense=d,ot.isAsyncMode=function(e){return I(e)||y(e)===l},ot.isConcurrentMode=I,ot.isContextConsumer=function(e){return y(e)===s},ot.isContextProvider=function(e){return y(e)===a},ot.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},ot.isForwardRef=function(e){return y(e)===u},ot.isFragment=function(e){return y(e)===o},ot.isLazy=function(e){return y(e)===b},ot.isMemo=function(e){return y(e)===f},ot.isPortal=function(e){return y(e)===n},ot.isProfiler=function(e){return y(e)===i},ot.isStrictMode=function(e){return y(e)===r},ot.isSuspense=function(e){return y(e)===d},ot.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)},ot.typeOf=y,ot}():nt.exports=(rt||(rt=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,x=c,C=s,A=a,w=t,G=u,N=o,E=b,R=f,O=n,B=i,k=r,S=d,T=!1;function V(e){return y(e)===c}yt.AsyncMode=I,yt.ConcurrentMode=x,yt.ContextConsumer=C,yt.ContextProvider=A,yt.Element=w,yt.ForwardRef=G,yt.Fragment=N,yt.Lazy=E,yt.Memo=R,yt.Portal=O,yt.Profiler=B,yt.StrictMode=k,yt.Suspense=S,yt.isAsyncMode=function(e){return T||(T=!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},yt.isConcurrentMode=V,yt.isContextConsumer=function(e){return y(e)===s},yt.isContextProvider=function(e){return y(e)===a},yt.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},yt.isForwardRef=function(e){return y(e)===u},yt.isFragment=function(e){return y(e)===o},yt.isLazy=function(e){return y(e)===b},yt.isMemo=function(e){return y(e)===f},yt.isPortal=function(e){return y(e)===n},yt.isProfiler=function(e){return y(e)===i},yt.isStrictMode=function(e){return y(e)===r},yt.isSuspense=function(e){return y(e)===d},yt.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)},yt.typeOf=y}()),yt)),nt.exports}
|
|
14
14
|
/*
|
|
15
15
|
object-assign
|
|
16
16
|
(c) Sindre Sorhus
|
|
17
17
|
@license MIT
|
|
18
|
-
*/function Ct(){if(lt)return st;lt=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return st=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},st}function At(){if(ut)return ct;ut=1;return ct="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function wt(){return pt?dt:(pt=1,dt=Function.call.bind(Object.prototype.hasOwnProperty))}function Gt(){if(bt)return ft;bt=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=At(),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={})},ft=r}function Nt(){if(gt)return mt;gt=1;var e=xt(),t=Ct(),n=At(),o=wt(),r=Gt(),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){}}),mt=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},mt}function Et(){if(vt)return ht;vt=1;var e=At();function t(){}function n(){}return n.resetWarningCache=t,ht=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 Rt(){if(yt)return nt.exports;if(yt=1,"production"!==process.env.NODE_ENV){var e=xt();nt.exports=Nt()(e.isElement,true)}else nt.exports=Et()();return nt.exports}var Ot,Bt,kt={exports:{}},St={},Tt={exports:{}};function Vt(){return Ot||(Ot=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 xt(){if(st)return at;st=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return at=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},at}function Ct(){if(ct)return lt;ct=1;return lt="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function At(){return dt?ut:(dt=1,ut=Function.call.bind(Object.prototype.hasOwnProperty))}function wt(){if(ft)return pt;ft=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=Ct(),n={},o=At();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={})},pt=r}function Gt(){if(mt)return bt;mt=1;var e=It(),t=xt(),n=Ct(),o=At(),r=wt(),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){}}),bt=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},bt}function Nt(){if(ht)return gt;ht=1;var e=Ct();function t(){}function n(){}return n.resetWarningCache=t,gt=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 Et(){if(vt)return tt.exports;if(vt=1,"production"!==process.env.NODE_ENV){var e=It();tt.exports=Gt()(e.isElement,true)}else tt.exports=Nt()();return tt.exports}var Rt,Ot,Bt={exports:{}},kt={},St={exports:{}};function Tt(){return Rt||(Rt=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}(Tt,Tt.exports)),Tt.exports}function Xt(){if(Bt)return St;Bt=1,Object.defineProperty(St,"__esModule",{value:!0}),St.resetState=function(){o=[]},St.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 ----------"))},St.handleBlur=a,St.handleFocus=s,St.markForFocusLater=function(){o.push(document.activeElement)},St.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(" "))}},St.popWithoutFocus=function(){o.length>0&&o.pop()},St.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))},St.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=Vt(),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 St}var Wt,Pt={exports:{}};function Mt(){return Wt||(Wt=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=Vt(),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}(Pt,Pt.exports)),Pt.exports}var Ht,jt,Lt={};function Zt(){if(jt)return Ht;jt=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 Ht=e}var Dt,Ft,zt,Yt={},Jt={exports:{}};function _t(){if(Ft)return Yt;Ft=1,Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.canUseDOM=Yt.SafeNodeList=Yt.SafeHTMLCollection=void 0;var e,t,n=(Dt||(Dt=1,e=Jt,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}()),Jt.exports);var o=((t=n)&&t.__esModule?t:{default:t}).default,r=o.canUseDOM?window.HTMLElement:{};return Yt.SafeHTMLCollection=o.canUseDOM?window.HTMLCollection:{},Yt.SafeNodeList=o.canUseDOM?window.NodeList:{},Yt.canUseDOM=o.canUseDOM,Yt.default=r,Yt}function Ut(){if(zt)return Lt;zt=1,Object.defineProperty(Lt,"__esModule",{value:!0}),Lt.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},Lt.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 ----------")}},Lt.assertNodeList=i,Lt.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},Lt.validateElement=a,Lt.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}}},Lt.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}}},Lt.documentNotReadyOrSSRTesting=function(){r=null};var e,t=Zt(),n=(e=t)&&e.__esModule?e:{default:e},o=_t();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 Lt}var Qt,$t={};function Kt(){if(Qt)return $t;Qt=1,Object.defineProperty($t,"__esModule",{value:!0}),$t.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={}},$t.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 $t.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},$t.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},$t}var qt,en={};function tn(){if(qt)return en;qt=1,Object.defineProperty(en,"__esModule",{value:!0}),en.log=function(){console.log("portalOpenInstances ----------"),console.log(t.openInstances.length),t.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},en.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 en.default=t,en}var nn,on,rn={};function an(){return on||(on=1,function(e,n){Object.defineProperty(n,"__esModule",{value:!0});var o=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},r="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=t,s=g(Rt()),l=m(Xt()),c=g(Mt()),u=m(Ut()),d=m(Kt()),p=_t(),f=g(p),b=g(tn());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(nn)return rn;nn=1,Object.defineProperty(rn,"__esModule",{value:!0}),rn.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=[]},rn.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=tn(),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 o="object"===(void 0===t?"undefined":r(t))?t:{base:h[e],afterOpen:h[e]+"--after-open",beforeClose:h[e]+"--before-close"},i=o.base;return n.state.afterOpen&&(i=i+" "+o.afterOpen),n.state.beforeClose&&(i=i+" "+o.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,n=e.className,r=e.overlayClassName,i=e.defaultStyles,a=e.children,s=n?{}:i.content,l=r?{}:i.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",r),style:o({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=o({id:t,ref:this.setContentRef,style:o({},s,this.props.style.content),className:this.buildClassName("content",n),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",o({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},n.default=y,e.exports=n.default}(kt,kt.exports)),kt.exports}function sn(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function ln(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}}sn.__suppressDeprecationWarning=!0,ln.__suppressDeprecationWarning=!0,cn.__suppressDeprecationWarning=!0;var un,dn,pn=Ke(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=sn,t.componentWillReceiveProps=ln),"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}}));function fn(){if(un)return tt;un=1,Object.defineProperty(tt,"__esModule",{value:!0}),tt.bodyOpenClassName=tt.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},n=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}}(),o=t,i=f(o),a=f(r),s=f(Rt()),l=f(an()),c=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}(Ut()),u=_t(),d=f(u),p=pn;function f(e){return e&&e.__esModule?e:{default:e}}function b(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 m=tt.portalClassName="ReactModalPortal",g=tt.bodyOpenClassName="ReactModal__Body--open",h=u.canUseDOM&&void 0!==a.default.createPortal,v=function(e){return document.createElement(e)},y=function(){return h?a.default.createPortal:a.default.unstable_renderSubtreeIntoContainer};function I(e){return e()}var x=function(t){function o(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return n=r=b(this,(t=o.__proto__||Object.getPrototypeOf(o)).call.apply(t,[this].concat(c))),r.removePortal=function(){!h&&a.default.unmountComponentAtNode(r.node);var e=I(r.props.parentSelector);e&&e.contains(r.node)?e.removeChild(r.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.')},r.portalRef=function(e){r.portal=e},r.renderPortal=function(t){var n=y()(r,i.default.createElement(l.default,e({defaultStyles:o.defaultStyles},t)),r.node);r.portalRef(n)},b(r,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)}(o,t),n(o,[{key:"componentDidMount",value:function(){u.canUseDOM&&(h||(this.node=v("div")),this.node.className=this.props.portalClassName,I(this.props.parentSelector).appendChild(this.node),!h&&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(u.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)&&!h&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(u.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 u.canUseDOM&&h?(!this.node&&h&&(this.node=v("div")),y()(i.default.createElement(l.default,e({ref:this.portalRef,defaultStyles:o.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){c.setElement(e)}}]),o}(o.Component);return x.propTypes={isOpen:s.default.bool.isRequired,style:s.default.shape({content:s.default.object,overlay:s.default.object}),portalClassName:s.default.string,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,className:s.default.oneOfType([s.default.string,s.default.shape({base:s.default.string.isRequired,afterOpen:s.default.string.isRequired,beforeClose:s.default.string.isRequired})]),overlayClassName:s.default.oneOfType([s.default.string,s.default.shape({base:s.default.string.isRequired,afterOpen:s.default.string.isRequired,beforeClose:s.default.string.isRequired})]),appElement:s.default.oneOfType([s.default.instanceOf(d.default),s.default.instanceOf(u.SafeHTMLCollection),s.default.instanceOf(u.SafeNodeList),s.default.arrayOf(s.default.instanceOf(d.default))]),onAfterOpen:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,ariaHideApp:s.default.bool,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,parentSelector:s.default.func,aria:s.default.object,data:s.default.object,role:s.default.string,contentLabel:s.default.string,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func},x.defaultProps={isOpen:!1,portalClassName:m,bodyOpenClassName:g,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 i.default.createElement("div",e,t)},contentElement:function(e,t){return i.default.createElement("div",e,t)}},x.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,p.polyfill)(x),"production"!==process.env.NODE_ENV&&(x.setCreateHTMLElement=function(e){return v=e}),tt.default=x,tt}var bn=$e((dn||(dn=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,o=fn(),r=(n=o)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default}(et,et.exports)),et.exports));function mn(){return mn=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},mn.apply(null,arguments)}function gn(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 hn(e,t){return hn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},hn(e,t)}var vn=$e(Rt()),yn=!1,In="production"!==process.env.NODE_ENV?vn.oneOfType([vn.number,vn.shape({enter:vn.number,exit:vn.number,appear:vn.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&vn.oneOfType([vn.string,vn.shape({enter:vn.string,exit:vn.string,active:vn.string}),vn.shape({enter:vn.string,enterDone:vn.string,enterActive:vn.string,exit:vn.string,exitDone:vn.string,exitActive:vn.string})]);var xn=t.createContext(null),Cn="unmounted",An="exited",wn="entering",Gn="entered",Nn="exiting",En=function(e){var n,o;function i(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=An,o.appearStatus=wn):r=Gn:r=t.unmountOnExit||t.mountOnEnter?Cn:An,o.state={status:r},o.nextCallback=null,o}o=e,(n=i).prototype=Object.create(o.prototype),n.prototype.constructor=n,hn(n,o),i.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Cn?{status:An}:null};var a=i.prototype;return a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==wn&&n!==Gn&&(t=wn):n!==wn&&n!==Gn||(t=Nn)}this.updateStatus(!1,t)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.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}},a.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===wn){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:r.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===An&&this.setState({status:Cn})},a.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,i=this.props.nodeRef?[o]:[r.findDOMNode(this),o],a=i[0],s=i[1],l=this.getTimeouts(),c=o?l.appear:l.enter;!e&&!n||yn?this.safeSetState({status:Gn},function(){t.props.onEntered(a)}):(this.props.onEnter(a,s),this.safeSetState({status:wn},function(){t.props.onEntering(a,s),t.onTransitionEnd(c,function(){t.safeSetState({status:Gn},function(){t.props.onEntered(a,s)})})}))},a.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:r.findDOMNode(this);t&&!yn?(this.props.onExit(o),this.safeSetState({status:Nn},function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:An},function(){e.props.onExited(o)})})})):this.safeSetState({status:An},function(){e.props.onExited(o)})},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},a.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},a.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:r.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=i[0],s=i[1];this.props.addEndListener(a,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},a.render=function(){var e=this.state.status;if(e===Cn)return null;var n=this.props,o=n.children;n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef;var r=gn(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return t.createElement(xn.Provider,{value:null},"function"==typeof o?o(e,r):t.cloneElement(t.Children.only(o),r))},i}(t.Component);function Rn(){}En.contextType=xn,En.propTypes="production"!==process.env.NODE_ENV?{nodeRef:vn.shape({current:"undefined"==typeof Element?vn.any:function(e,t,n,o,r,i){var a=e[t];return vn.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,o,r,i)}}),children:vn.oneOfType([vn.func.isRequired,vn.element.isRequired]).isRequired,in:vn.bool,mountOnEnter:vn.bool,unmountOnExit:vn.bool,appear:vn.bool,enter:vn.bool,exit:vn.bool,timeout:function(e){var t=In;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:vn.func,onEnter:vn.func,onEntering:vn.func,onEntered:vn.func,onExit:vn.func,onExiting:vn.func,onExited:vn.func}:{},En.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Rn,onEntering:Rn,onEntered:Rn,onExit:Rn,onExiting:Rn,onExited:Rn},En.UNMOUNTED=Cn,En.EXITED=An,En.ENTERING=wn,En.ENTERED=Gn,En.EXITING=Nn;const On=({size:n="md",shape:o="default",animation:r="popper",centered:i,title:a,isOpen:s,children:l,bodyStyle:c,className:u,bodyClassName:d,portalClassName:p,overlayClassName:f,closeButtonClassName:b,closeWrapperClassName:m,onRequestClose:g,parentSelector:h,hideScrollOnIsOpenFalse:v=!0,hideCloseButton:y=!1,...I})=>{Qe(s,v);const[x,C]=t.useState(!1);t.useEffect(()=>{C(s)},[s]);const A=t.useMemo(()=>{if("undefined"==typeof document)return null;let e=document.querySelector("main")||document.body;return h&&(e=document.querySelector(h)||document.body),e},[h]);if(!A)return null;if(!s)return null;const w=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]),G=(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.jsx(En,{enter:!0,exit:!0,in:x,timeout:0,children:t=>e.jsxs(bn,{ariaHideApp:!1,isOpen:s,onRequestClose:g,closeTimeoutMS:0,parentSelector:()=>A,className:Ie("absolute min-w-[150px] max-w-[calc(100vw-30px)] overflow-auto rounded-lg bg-white outline-none",w(n),"rounded"===o&&"rounded-3xl",i&&"top-0 translate-y-[calc(50vh-50%)]",G(r,t),u),portalClassName:Ie("z-80",p),overlayClassName:Ie("z-80 fixed inset-0 bg-black/50 flex items-center justify-center pb-[300px]",f),...I,children:[!y&&e.jsx("div",{className:Ie(m),children:e.jsx(Le,{className:Ie("absolute right-0 top-0 float-right h-6 cursor-pointer p-5 text-text",b),onClick:g,"data-testid":"close-button","data-track-element-name":"modal_close_button","data-track-click-text":"Close Modal","data-track-element-clicked":"modal",children:e.jsx(Pe,{name:"close",size:24})})}),a?e.jsx("div",{className:Ie("border-b border-border-secondary-on-bg-fill px-[7px] py-[7px] text-text"),children:a}):null,e.jsx("div",{className:Ie("p-5",d),style:c,"data-testid":I["data-testid"],"data-cy":I["data-cy"],children:l})]})})};On.displayName="Modal";const Bn=n=>{const{open:o,children:r}=n,i=t.useRef(null),[a,s]=t.useState(0);return t.useEffect(()=>{const e=i.current;if(!e)return;const t=()=>{s(o?e.scrollHeight:0)};let n;return t(),o&&(n=new ResizeObserver(()=>t()),n.observe(e)),()=>{n&&n.disconnect()}},[o,r]),e.jsx("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:a,opacity:o?1:0},"aria-hidden":!o,children:e.jsx("div",{ref:i,children:r})})};Bn.displayName="Collapse";const kn=n=>{const{title:o,defaultOpen:r,children:i,containerClassName:a,titleClassName:s,className:l,buttonClassName:c,iconClassName:u,openOnlyOnDesktop:d,borderRadiusNone:p=!1}=n,[f,b]=t.useState(Boolean(!1));return t.useEffect(()=>{if(d){const e=window.innerWidth>=1024;b(e)}else b(Boolean(r))},[d,r]),e.jsxs("div",{className:Ie(p?"rounded-none border":"rounded-surface-xs border",a),children:[e.jsxs(Le,{type:"button",className:Ie(p?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",c),onClick:()=>b(e=>!e),children:[e.jsx("span",{className:Ie("label5 flex-1",s),children:o}),e.jsx(Pe,{className:Ie("flex-shrink-0",u),name:f?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e.jsx(Bn,{open:f,children:e.jsx("div",{className:Ie("px-4 py-4",l),children:i})})]})};kn.displayName="Accordion";const Sn=({state:n,checked:o=!1,onChange:r,className:i,label:a,labelClassName:s,containerClassName:l,name:c,value:u,id:d,disabled:p=!1,required:f=!1,error:b=!1,"data-cy":m,renderInfoIcon:g,...h})=>{const v=p||"disabled"===n,y=d||c,I=Ie("flex items-center justify-center w-6 h-6 rounded-[4px] outline-offset-2","focus"===n&&"outline",i),x=t.useCallback(e=>{v||r&&(1===r.length?r(e.target.checked):r())},[v,r]);return e.jsxs("div",{className:Ie("flex items-center gap-3",l),children:[e.jsxs("div",{className:"relative",children:[e.jsx("input",{type:"checkbox",id:y,name:c,value:u,checked:o,onChange:x,disabled:v,required:f,className:"peer sr-only","data-cy":m,...h}),e.jsx("label",{htmlFor:y,className:Ie("peer-focus:outline",I),style:{pointerEvents:v?"none":"auto"},children:o?e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("rect",{width:"24",height:"24",rx:"4",className:Ie(v?"fill-checkbox-bg-surface-selected-disabled":"fill-bg-fill-brand")}),e.jsx("path",{d:"M8 11.9593L11.0316 15L17 9",stroke:"white",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})]}):e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",className:Ie(v?"fill-checkbox-bg-surface-disabled":"fill-white")}),e.jsx("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",stroke:"#CECECE"})]})})]}),a&&e.jsx("label",{htmlFor:y,className:Ie("cursor-pointer",b&&"text-text-critical",s),children:a}),g&&e.jsx(Le,{type:"button",onClick:g.onClick,"data-testid":g.dataTestId,className:"ml-2 cursor-pointer text-icon-info","aria-label":"More information",children:e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),e.jsx("path",{d:"M12 16v-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 8h.01",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})]})};function Tn(e){return Tn="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},Tn(e)}function Vn(e){var t=function(e,t){if("object"!=Tn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Tn(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Tn(t)?t:t+""}function Xn(e,t,n){return(t=Vn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wn(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 Pn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wn(Object(n),!0).forEach(function(t){Xn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Mn(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 Hn(e,t){if(e){if("string"==typeof e)return Mn(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)?Mn(e,t):void 0}}function jn(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)||Hn(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 Ln(e,t){if(null==e)return{};var n,o,r=gn(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}Sn.displayName="Checkbox";var Zn=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Dn(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,Vn(o.key),o)}}function Fn(e){return Fn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Fn(e)}function zn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zn=function(){return!!e})()}function Yn(e,t){if(t&&("object"==Tn(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 Jn(e){return function(e){if(Array.isArray(e))return Mn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Hn(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 _n=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}(),Un="-ms-",Qn="-moz-",$n="-webkit-",Kn="comm",qn="rule",eo="decl",to="@keyframes",no=Math.abs,oo=String.fromCharCode,ro=Object.assign;function io(e){return e.trim()}function ao(e,t,n){return e.replace(t,n)}function so(e,t){return e.indexOf(t)}function lo(e,t){return 0|e.charCodeAt(t)}function co(e,t,n){return e.slice(t,n)}function uo(e){return e.length}function po(e){return e.length}function fo(e,t){return t.push(e),e}var bo=1,mo=1,go=0,ho=0,vo=0,yo="";function Io(e,t,n,o,r,i,a){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:bo,column:mo,length:a,return:""}}function xo(e,t){return ro(Io("",null,null,"",null,null,0),e,{length:-e.length},t)}function Co(){return vo=ho>0?lo(yo,--ho):0,mo--,10===vo&&(mo=1,bo--),vo}function Ao(){return vo=ho<go?lo(yo,ho++):0,mo++,10===vo&&(mo=1,bo++),vo}function wo(){return lo(yo,ho)}function Go(){return ho}function No(e,t){return co(yo,e,t)}function Eo(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 Ro(e){return bo=mo=1,go=uo(yo=e),ho=0,[]}function Oo(e){return yo="",e}function Bo(e){return io(No(ho-1,To(91===e?e+2:40===e?e+1:e)))}function ko(e){for(;(vo=wo())&&vo<33;)Ao();return Eo(e)>2||Eo(vo)>3?"":" "}function So(e,t){for(;--t&&Ao()&&!(vo<48||vo>102||vo>57&&vo<65||vo>70&&vo<97););return No(e,Go()+(t<6&&32==wo()&&32==Ao()))}function To(e){for(;Ao();)switch(vo){case e:return ho;case 34:case 39:34!==e&&39!==e&&To(vo);break;case 40:41===e&&To(e);break;case 92:Ao()}return ho}function Vo(e,t){for(;Ao()&&e+vo!==57&&(e+vo!==84||47!==wo()););return"/*"+No(t,ho-1)+"*"+oo(47===e?e:Ao())}function Xo(e){for(;!Eo(wo());)Ao();return No(e,ho)}function Wo(e){return Oo(Po("",null,null,null,[""],e=Ro(e),0,[0],e))}function Po(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,x=i,C=o,A=y;g;)switch(b=v,v=Ao()){case 40:if(108!=b&&58==lo(A,d-1)){-1!=so(A+=ao(Bo(v),"&","&\f"),"&\f")&&(h=-1);break}case 34:case 39:case 91:A+=Bo(v);break;case 9:case 10:case 13:case 32:A+=ko(b);break;case 92:A+=So(Go()-1,7);continue;case 47:switch(wo()){case 42:case 47:fo(Ho(Vo(Ao(),Go()),t,n),l);break;default:A+="/"}break;case 123*m:s[c++]=uo(A)*h;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==h&&(A=ao(A,/\f/g,"")),f>0&&uo(A)-d&&fo(f>32?jo(A+";",o,n,d-1):jo(ao(A," ","")+";",o,n,d-2),l);break;case 59:A+=";";default:if(fo(C=Mo(A,t,n,c,u,r,s,y,I=[],x=[],d),i),123===v)if(0===u)Po(A,t,C,C,I,i,d,s,x);else switch(99===p&&110===lo(A,3)?100:p){case 100:case 108:case 109:case 115:Po(e,C,C,o&&fo(Mo(e,C,C,0,0,r,s,y,r,I=[],d),x),r,x,d,s,o?I:x);break;default:Po(A,C,C,C,[""],x,0,s,x)}}c=u=f=0,m=h=1,y=A="",d=a;break;case 58:d=1+uo(A),f=b;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==Co())continue;switch(A+=oo(v),v*m){case 38:h=u>0?1:(A+="\f",-1);break;case 44:s[c++]=(uo(A)-1)*h,h=1;break;case 64:45===wo()&&(A+=Bo(Ao())),p=wo(),u=d=uo(y=A+=Xo(Go())),v++;break;case 45:45===b&&2==uo(A)&&(m=0)}}return i}function Mo(e,t,n,o,r,i,a,s,l,c,u){for(var d=r-1,p=0===r?i:[""],f=po(p),b=0,m=0,g=0;b<o;++b)for(var h=0,v=co(e,d+1,d=no(m=a[b])),y=e;h<f;++h)(y=io(m>0?p[h]+" "+v:ao(v,/&\f/g,p[h])))&&(l[g++]=y);return Io(e,t,n,0===r?qn:s,l,c,u)}function Ho(e,t,n){return Io(e,t,n,Kn,oo(vo),co(e,2,-2),0)}function jo(e,t,n,o){return Io(e,t,n,eo,co(e,0,o),co(e,o+1,-1),o)}function Lo(e,t){for(var n="",o=po(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function Zo(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case eo:return e.return=e.return||e.value;case Kn:return"";case to:return e.return=e.value+"{"+Lo(e.children,o)+"}";case qn:e.value=e.props.join(",")}return uo(n=Lo(e.children,o))?e.return=e.value+"{"+n+"}":""}function Do(e){var t=po(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 Fo(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var zo="undefined"!=typeof document,Yo=function(e,t,n){for(var o=0,r=0;o=r,r=wo(),38===o&&12===r&&(t[n]=1),!Eo(r);)Ao();return No(e,ho)},Jo=function(e,t){return Oo(function(e,t){var n=-1,o=44;do{switch(Eo(o)){case 0:38===o&&12===wo()&&(t[n]=1),e[n]+=Yo(ho-1,t,n);break;case 2:e[n]+=Bo(o);break;case 4:if(44===o){e[++n]=58===wo()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=oo(o)}}while(o=Ao());return e}(Ro(e),t))},_o=new WeakMap,Uo=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)||_o.get(n))&&!o){_o.set(e,!0);for(var r=[],i=Jo(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]}}},Qo=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function $o(e,t){switch(function(e,t){return 45^lo(e,0)?(((t<<2^lo(e,0))<<2^lo(e,1))<<2^lo(e,2))<<2^lo(e,3):0}(e,t)){case 5103:return $n+"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 $n+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return $n+e+Qn+e+Un+e+e;case 6828:case 4268:return $n+e+Un+e+e;case 6165:return $n+e+Un+"flex-"+e+e;case 5187:return $n+e+ao(e,/(\w+).+(:[^]+)/,$n+"box-$1$2"+Un+"flex-$1$2")+e;case 5443:return $n+e+Un+"flex-item-"+ao(e,/flex-|-self/,"")+e;case 4675:return $n+e+Un+"flex-line-pack"+ao(e,/align-content|flex-|-self/,"")+e;case 5548:return $n+e+Un+ao(e,"shrink","negative")+e;case 5292:return $n+e+Un+ao(e,"basis","preferred-size")+e;case 6060:return $n+"box-"+ao(e,"-grow","")+$n+e+Un+ao(e,"grow","positive")+e;case 4554:return $n+ao(e,/([^-])(transform)/g,"$1"+$n+"$2")+e;case 6187:return ao(ao(ao(e,/(zoom-|grab)/,$n+"$1"),/(image-set)/,$n+"$1"),e,"")+e;case 5495:case 3959:return ao(e,/(image-set\([^]*)/,$n+"$1$`$1");case 4968:return ao(ao(e,/(.+:)(flex-)?(.*)/,$n+"box-pack:$3"+Un+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+$n+e+e;case 4095:case 3583:case 4068:case 2532:return ao(e,/(.+)-inline(.+)/,$n+"$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(uo(e)-1-t>6)switch(lo(e,t+1)){case 109:if(45!==lo(e,t+4))break;case 102:return ao(e,/(.+:)(.+)-([^]+)/,"$1"+$n+"$2-$3$1"+Qn+(108==lo(e,t+3)?"$3":"$2-$3"))+e;case 115:return~so(e,"stretch")?$o(ao(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==lo(e,t+1))break;case 6444:switch(lo(e,uo(e)-3-(~so(e,"!important")&&10))){case 107:return ao(e,":",":"+$n)+e;case 101:return ao(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+$n+(45===lo(e,14)?"inline-":"")+"box$3$1"+$n+"$2$3$1"+Un+"$2box$3")+e}break;case 5936:switch(lo(e,t+11)){case 114:return $n+e+Un+ao(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return $n+e+Un+ao(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return $n+e+Un+ao(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return $n+e+Un+e+e}return e}var Ko,qo,er,tr,nr=zo?void 0:(Ko=function(){return Fo(function(){return{}})},qo=new WeakMap,function(e){if(qo.has(e))return qo.get(e);var t=Ko(e);return qo.set(e,t),t}),or=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case eo:e.return=$o(e.value,e.length);break;case to:return Lo([xo(e,{value:ao(e.value,"@","@"+$n)})],o);case qn: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 Lo([xo(e,{props:[ao(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return Lo([xo(e,{props:[ao(t,/:(plac\w+)/,":"+$n+"input-$1")]}),xo(e,{props:[ao(t,/:(plac\w+)/,":-moz-$1")]}),xo(e,{props:[ao(t,/:(plac\w+)/,Un+"input-$1")]})],o)}return""})}}],rr=function(e){var t=e.key;if(zo&&"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||or,a={},s=[];zo&&(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=[Uo,Qo];if(nr){var u=[Zo],d=Do(c.concat(i,u)),p=nr(i)(t),f=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=Lo(Wo(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=[Zo,(l=function(e){b.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=Do(c.concat(i,m));r=function(e,t,n,o){b=n,Lo(Wo(e?e+"{"+t.styles+"}":t.styles),g),o&&(h.inserted[t.name]=!0)}}var h={key:t,sheet:new _n({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(tr)return er;tr=1;var e=xt(),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;er=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 ir="undefined"!=typeof document;var ar=function(e,t,n){var o=e.key+"-"+t.name;(!1===n||!1===ir&&void 0!==e.compat)&&void 0===e.registered[o]&&(e.registered[o]=t.styles)};var sr={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},lr=/[A-Z]|^ms/g,cr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ur=function(e){return 45===e.charCodeAt(1)},dr=function(e){return null!=e&&"boolean"!=typeof e},pr=Fo(function(e){return ur(e)?e:e.replace(lr,"-$&").toLowerCase()}),fr=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(cr,function(e,t,n){return mr={name:t,styles:n,next:mr},t})}return 1===sr[e]||ur(e)||"number"!=typeof t||0===t?t:t+"px"};function br(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 mr={name:r.name,styles:r.styles,next:mr},r.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)mr={name:a.name,styles:a.styles,next:mr},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+=br(e,t,n[r])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;dr(s)&&(o+=pr(i)+":"+fr(i,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)dr(a[l])&&(o+=pr(i)+":"+fr(i,a[l])+";");else{var c=br(e,t,a);switch(i){case"animation":case"animationName":o+=pr(i)+":"+c+";";break;default:o+=i+"{"+c+"}"}}}return o}(e,t,n);case"function":if(void 0!==e){var s=mr,l=n(e);return mr=s,br(e,t,l)}}return n}var mr,gr=/label:\s*([^\s;{]+)\s*(;|$)/g;function hr(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="";mr=void 0;var i=e[0];null==i||void 0===i.raw?(o=!1,r+=br(n,t,i)):r+=i[0];for(var a=1;a<e.length;a++){if(r+=br(n,t,e[a]),o)r+=i[a]}gr.lastIndex=0;for(var s,l="";null!==(s=gr.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:mr}}var vr="undefined"!=typeof document,yr=function(e){return e()},Ir=!!a.useInsertionEffect&&a.useInsertionEffect,xr=vr&&Ir||yr,Cr="undefined"!=typeof document,Ar=a.createContext("undefined"!=typeof HTMLElement?rr({key:"css"}):null);Ar.Provider;var wr=function(e){return t.forwardRef(function(n,o){var r=t.useContext(Ar);return e(n,r,o)})};Cr||(wr=function(e){return function(n){var o=t.useContext(Ar);return null===o?(o=rr({key:"css"}),a.createElement(Ar.Provider,{value:o},e(n,o))):e(n,o)}});var Gr,Nr,Er=a.createContext({}),Rr={}.hasOwnProperty,Or="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Br=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;ar(t,n,o);var r=xr(function(){return function(e,t,n){ar(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);ir||void 0===a||(r+=a),i=i.next}while(void 0!==i);if(!ir&&0!==r.length)return r}}(t,n,o)});if(!Cr&&void 0!==r){for(var i,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return a.createElement("style",((i={})["data-emotion"]=t.key+" "+s,i.dangerouslySetInnerHTML={__html:r},i.nonce=t.sheet.nonce,i))}return null},kr=wr(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var r=e[Or],i=[o],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,i,e.className):null!=e.className&&(s=e.className+" ");var l=hr(i,void 0,a.useContext(Er));s+=t.key+"-"+l.name;var c={};for(var u in e)Rr.call(e,u)&&"css"!==u&&u!==Or&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),a.createElement(a.Fragment,null,a.createElement(Br,{cache:t,serialized:l,isStringTag:"string"==typeof r}),a.createElement(r,c))}),Sr=kr,Tr=function(e,t){var n=arguments;if(null==t||!Rr.call(t,"css"))return a.createElement.apply(void 0,n);var o=n.length,r=new Array(o);r[0]=Sr,r[1]=function(e,t){var n={};for(var o in t)Rr.call(t,o)&&(n[o]=t[o]);return n[Or]=e,n}(e,t);for(var i=2;i<o;i++)r[i]=n[i];return a.createElement.apply(null,r)};function Vr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return hr(t)}Gr=Tr||(Tr={}),Nr||(Nr=Gr.JSX||(Gr.JSX={}));const Xr=Math.min,Wr=Math.max,Pr=Math.round,Mr=Math.floor,Hr=e=>({x:e,y:e});function jr(){return"undefined"!=typeof window}function Lr(e){return Fr(e)?(e.nodeName||"").toLowerCase():"#document"}function Zr(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Dr(e){var t;return null==(t=(Fr(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Fr(e){return!!jr()&&(e instanceof Node||e instanceof Zr(e).Node)}function zr(e){return!!jr()&&(e instanceof HTMLElement||e instanceof Zr(e).HTMLElement)}function Yr(e){return!(!jr()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Zr(e).ShadowRoot)}function Jr(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=_r(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&"inline"!==r&&"contents"!==r}function _r(e){return Zr(e).getComputedStyle(e)}function Ur(e){const t=function(e){if("html"===Lr(e))return e;const t=e.assignedSlot||e.parentNode||Yr(e)&&e.host||Dr(e);return Yr(t)?t.host:t}(e);return function(e){return/^(html|body|#document)$/.test(Lr(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:zr(t)&&Jr(t)?t:Ur(t)}function Qr(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=Ur(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=Zr(r);if(i){const e=$r(a);return t.concat(a,a.visualViewport||[],Jr(r)?r:[],e&&n?Qr(e):[])}return t.concat(r,Qr(r,[],n))}function $r(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Kr(e){return t=e,jr()&&(t instanceof Element||t instanceof Zr(t).Element)?e:e.contextElement;var t}function qr(e){const t=Kr(e);if(!zr(t))return Hr(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=function(e){const t=_r(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=zr(e),i=r?e.offsetWidth:n,a=r?e.offsetHeight:o,s=Pr(n)!==i||Pr(o)!==a;return s&&(n=i,o=a),{width:n,height:o,$:s}}(t);let a=(i?Pr(n.width):n.width)/o,s=(i?Pr(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function ei(e,t,n,o){void 0===t&&(t=!1);const r=e.getBoundingClientRect(),i=Kr(e);let a=Hr(1);t&&(a=qr(e));const s=Hr(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=Zr(i),n=$r(t);for(;n&&o&&e!==t;){const e=qr(n),o=n.getBoundingClientRect(),r=_r(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=Zr(n),n=$r(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 ti(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ni(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=Kr(e),u=r||i?[...c?Qr(c):[],...t?Qr(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=Dr(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:-Mr(d)+"px "+-Mr(r.clientWidth-(u+p))+"px "+-Mr(r.clientHeight-(d+f))+"px "+-Mr(u)+"px",threshold:Wr(0,Xr(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||ti(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?ei(e):null;return l&&function t(){const o=ei(e);m&&!ti(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 oi="undefined"!=typeof document?t.useLayoutEffect:function(){},ri=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],ii=function(){};function ai(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function si(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(ai(e,a)));return i.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var li=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Tn(e)&&null!==e?[e]:[];var t},ci=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,Pn({},Ln(e,ri))},ui=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 di(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function pi(e){return di(e)?window.pageYOffset:e.scrollTop}function fi(e,t){di(e)?window.scrollTo(0,t):e.scrollTop=t}function bi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ii,r=pi(e),i=t-r,a=0;!function t(){var s,l=i*((s=(s=a+=10)/n-1)*s*s+1)+r;fi(e,l),a<n?window.requestAnimationFrame(t):o(e)}()}function mi(e,t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),r=t.offsetHeight/3;o.bottom+r>n.bottom?fi(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):o.top-r<n.top&&fi(e,Math.max(t.offsetTop-r,0))}function gi(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var hi=!1,vi={get passive(){return hi=!0}},yi="undefined"!=typeof window?window:{};yi.addEventListener&&yi.removeEventListener&&(yi.addEventListener("p",ii,vi),yi.removeEventListener("p",ii,!1));var Ii=hi;function xi(e){return null!=e}function Ci(e,t,n){return e?t:n}var Ai=["children","innerProps"],wi=["children","innerProps"];function Gi(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:di(u=l)?window.innerHeight:u.clientHeight,v=pi(l),y=parseInt(getComputedStyle(n).marginBottom,10),I=parseInt(getComputedStyle(n).marginTop,10),x=g-I,C=h-m,A=x+v,w=d-v-m,G=f-h+v+y,N=v+m-I,E=160;switch(r){case"auto":case"bottom":if(C>=b)return{placement:"bottom",maxHeight:t};if(w>=b&&!a)return i&&bi(l,G,E),{placement:"bottom",maxHeight:t};if(!a&&w>=o||a&&C>=o)return i&&bi(l,G,E),{placement:"bottom",maxHeight:a?C-y:w-y};if("auto"===r||a){var R=t,O=a?x:A;return O>=o&&(R=Math.min(O-y-s,t)),{placement:"top",maxHeight:R}}if("bottom"===r)return i&&fi(l,G),{placement:"bottom",maxHeight:t};break;case"top":if(x>=b)return{placement:"top",maxHeight:t};if(A>=b&&!a)return i&&bi(l,N,E),{placement:"top",maxHeight:t};if(!a&&A>=o||a&&x>=o){var B=t;return(!a&&A>=o||a&&x>=o)&&(B=a?x-I:A-I),i&&bi(l,N,E),{placement:"top",maxHeight:B}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var Ni,Ei=function(e){return"auto"===e?"bottom":e},Ri=t.createContext(null),Oi=function(e){var n=e.children,o=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,a=e.menuPosition,s=e.menuShouldScrollIntoView,l=e.theme,c=(t.useContext(Ri)||{}).setPortalPlacement,u=t.useRef(null),d=jn(t.useState(r),2),p=d[0],f=d[1],b=jn(t.useState(null),2),m=b[0],g=b[1],h=l.spacing.controlHeight;return oi(function(){var e=u.current;if(e){var t="fixed"===a,n=Gi({maxHeight:r,menuEl:e,minHeight:o,placement:i,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:h});f(n.maxHeight),g(n.placement),null==c||c(n.placement)}},[r,i,a,s,o,c,h]),n({ref:u,placerProps:Pn(Pn({},e),{},{placement:m||Ei(i),maxHeight:p})})},Bi=function(e){var t=e.children,n=e.innerRef,o=e.innerProps;return Tr("div",mn({},ui(e,"menu",{menu:!0}),{ref:n},o),t)},ki=function(e,t){var n=e.theme,o=n.spacing.baseUnit,r=n.colors;return Pn({textAlign:"center"},t?{}:{color:r.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},Si=ki,Ti=ki,Vi=["size"],Xi=["innerProps","isRtl","size"];var Wi,Pi,Mi="production"===process.env.NODE_ENV?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAg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ICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+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)."}},Hi=function(e){var t=e.size,n=Ln(e,Vi);return Tr("svg",mn({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Mi},n))},ji=function(e){return Tr(Hi,mn({size:20},e),Tr("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"}))},Li=function(e){return Tr(Hi,mn({size:20},e),Tr("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"}))},Zi=function(e,t){var n=e.isFocused,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return Pn({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*r,":hover":{color:n?i.neutral80:i.neutral40}})},Di=Zi,Fi=Zi,zi=function(){var e=Vr.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_"}}}(Ni||(Wi=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Pi||(Pi=Wi.slice(0)),Ni=Object.freeze(Object.defineProperties(Wi,{raw:{value:Object.freeze(Pi)}})))),Yi=function(e){var t=e.delay,n=e.offset;return Tr("span",{css:Vr({animation:"".concat(zi," 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90a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vdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},Ji=function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return Tr("div",mn({ref:r},ui(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},_i=["data"],Ui=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 Tr("div",mn({},ui(e,"group",{group:!0}),s),Tr(i,mn({},a,{selectProps:u,theme:c,getStyles:o,getClassNames:r,cx:n}),l),Tr("div",null,t))},Qi=["innerRef","isDisabled","isHidden","inputClassName"],$i={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Ki={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Pn({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},$i)},qi=function(e){return Pn({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},$i)},ea=function(e){var t=e.cx,n=e.value,o=ci(e),r=o.innerRef,i=o.isDisabled,a=o.isHidden,s=o.inputClassName,l=Ln(o,Qi);return Tr("div",mn({},ui(e,"input",{"input-container":!0}),{"data-value":n||""}),Tr("input",mn({className:t({input:!0},s),ref:r,style:qi(a),disabled:i},l)))},ta=function(e){var t=e.children,n=e.innerProps;return Tr("div",n,t)};var na=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 Tr(l,{data:o,innerProps:Pn(Pn({},ui(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),r),selectProps:s},Tr(c,{data:o,innerProps:Pn({},ui(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Tr(u,{data:o,innerProps:Pn(Pn({},ui(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},oa={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Tr("div",mn({},ui(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Tr(ji,null))},Control:Ji,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Tr("div",mn({},ui(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Tr(Li,null))},DownChevron:Li,CrossIcon:ji,Group:Ui,GroupHeading:function(e){var t=ci(e);t.data;var n=Ln(t,_i);return Tr("div",mn({},ui(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Tr("div",mn({},ui(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Tr("span",mn({},t,ui(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:ea,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,r=void 0===o?4:o,i=Ln(e,Xi);return Tr("div",mn({},ui(Pn(Pn({},i),{},{innerProps:t,isRtl:n,size:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Tr(Yi,{delay:0,offset:n}),Tr(Yi,{delay:160,offset:!0}),Tr(Yi,{delay:320,offset:!n}))},Menu:Bi,MenuList:function(e){var t=e.children,n=e.innerProps,o=e.innerRef,r=e.isMulti;return Tr("div",mn({},ui(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:o},n),t)},MenuPortal:function(e){var n=e.appendTo,o=e.children,i=e.controlElement,a=e.innerProps,s=e.menuPlacement,l=e.menuPosition,c=t.useRef(null),u=t.useRef(null),d=jn(t.useState(Ei(s)),2),p=d[0],f=d[1],b=t.useMemo(function(){return{setPortalPlacement:f}},[]),m=jn(t.useState(null),2),g=m[0],h=m[1],v=t.useCallback(function(){if(i){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}}(i),t="fixed"===l?0:window.pageYOffset,n=e[p]+t;n===(null==g?void 0:g.offset)&&e.left===(null==g?void 0:g.rect.left)&&e.width===(null==g?void 0:g.rect.width)||h({offset:n,rect:e})}},[i,l,p,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);oi(function(){v()},[v]);var y=t.useCallback(function(){"function"==typeof u.current&&(u.current(),u.current=null),i&&c.current&&(u.current=ni(i,c.current,v,{elementResize:"ResizeObserver"in window}))},[i,v]);oi(function(){y()},[y]);var I=t.useCallback(function(e){c.current=e,y()},[y]);if(!n&&"fixed"!==l||!g)return null;var x=Tr("div",mn({ref:I},ui(Pn(Pn({},e),{},{offset:g.offset,position:l,rect:g.rect}),"menuPortal",{"menu-portal":!0}),a),o);return Tr(Ri.Provider,{value:b},n?r.createPortal(x,n):x)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,r=Ln(e,wi);return Tr("div",mn({},ui(Pn(Pn({},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=Ln(e,Ai);return Tr("div",mn({},ui(Pn(Pn({},r),{},{children:n,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),n)},MultiValue:na,MultiValueContainer:ta,MultiValueLabel:ta,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Tr("div",mn({role:"button"},n),t||Tr(ji,{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 Tr("div",mn({},ui(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 Tr("div",mn({},ui(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,o=e.isDisabled,r=e.isRtl;return Tr("div",mn({},ui(e,"container",{"--is-disabled":o,"--is-rtl":r}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,o=e.innerProps;return Tr("div",mn({},ui(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 Tr("div",mn({},ui(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":r}),n),t)}},ra=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function ia(e,t){return e===t||!(!ra(e)||!ra(t))}function aa(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!ia(e[n],t[n]))return!1;return!0}for(var sa="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)."}},la=function(e){return Tr("span",mn({css:sa},e))},ca={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:"",".")}},ua=function(e){var n=e.ariaSelection,o=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,a=e.isFocused,s=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,f=l.inputValue,b=l.isMulti,m=l.isOptionDisabled,g=l.isSearchable,h=l.menuIsOpen,v=l.options,y=l.screenReaderStatus,I=l.tabSelectsValue,x=l.isLoading,C=l["aria-label"],A=l["aria-live"],w=t.useMemo(function(){return Pn(Pn({},ca),d||{})},[d]),G=t.useMemo(function(){var e,t="";if(n&&w.onChange){var o=n.option,r=n.options,i=n.removedValue,a=n.removedValues,l=n.value,c=i||o||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=r||a||void 0,f=d?d.map(p):[],b=Pn({isDisabled:c&&m(c,s),label:u,labels:f},n);t=w.onChange(b)}return t},[n,w,m,s,p]),N=t.useMemo(function(){var e="",t=o||r,n=!!(o&&s&&s.includes(o));if(t&&w.onFocus){var a={focused:t,label:p(t),isDisabled:m(t,s),isSelected:n,options:i,context:t===o?"menu":"value",selectValue:s,isAppleDevice:u};e=w.onFocus(a)}return e},[o,r,p,m,w,i,s,u]),E=t.useMemo(function(){var e="";if(h&&v.length&&!x&&w.onFilter){var t=y({count:i.length});e=w.onFilter({inputValue:f,resultsMessage:t})}return e},[i,f,h,w,v,y,x]),R="initial-input-focus"===(null==n?void 0:n.action),O=t.useMemo(function(){var e="";if(w.guidance){var t=r?"value":h?"menu":"input";e=w.guidance({"aria-label":C,context:t,isDisabled:o&&m(o,s),isMulti:b,isSearchable:g,tabSelectsValue:I,isInitialFocus:R})}return e},[C,o,r,b,m,g,h,w,s,I,R]),B=Tr(t.Fragment,null,Tr("span",{id:"aria-selection"},G),Tr("span",{id:"aria-focused"},N),Tr("span",{id:"aria-results"},E),Tr("span",{id:"aria-guidance"},O));return Tr(t.Fragment,null,Tr(la,{id:c},R&&B),Tr(la,{"aria-live":A,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!R&&B))},da=[{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źẑżžẓẕƶȥɀⱬꝣ"}],pa=new RegExp("["+da.map(function(e){return e.letters}).join("")+"]","g"),fa={},ba=0;ba<da.length;ba++)for(var ma=da[ba],ga=0;ga<ma.letters.length;ga++)fa[ma.letters[ga]]=ma.base;var ha=function(e){return e.replace(pa,function(e){return fa[e]})},va=function(e,t){void 0===t&&(t=aa);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}(ha),ya=function(e){return e.replace(/^\s+|\s+$/g,"")},Ia=function(e){return"".concat(e.label," ").concat(e.value)},xa=function(e){return function(t,n){if(t.data.__isNew__)return!0;var o=Pn({ignoreCase:!0,ignoreAccents:!0,stringify:Ia,trim:!0,matchFrom:"any"},e),r=o.ignoreCase,i=o.ignoreAccents,a=o.stringify,s=o.trim,l=o.matchFrom,c=s?ya(n):n,u=s?ya(a(t)):a(t);return r&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=va(c),u=ha(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},Ca=["innerRef"];function Aa(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=jn(e,1)[0];return!n.includes(t)});return r.reduce(function(e,t){var n=jn(t,2),o=n[0],r=n[1];return e[o]=r,e},{})}(Ln(e,Ca),"onExited","in","enter","exit","appear");return Tr("input",mn({ref:t},n,{css:Vr({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 wa=["boxSizing","height","overflow","paddingRight","position"],Ga={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Na(e){e.cancelable&&e.preventDefault()}function Ea(e){e.stopPropagation()}function Ra(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Oa(){return"ontouchstart"in window||navigator.maxTouchPoints}var Ba=!("undefined"==typeof window||!window.document||!window.document.createElement),ka=0,Sa={capture:!1,passive:!1};var Ta=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Va="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmV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3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+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 Xa(e){var n=e.children,o=e.lockEnabled,r=e.captureEnabled,i=function(e){var n=e.isEnabled,o=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,s=t.useRef(!1),l=t.useRef(!1),c=t.useRef(0),u=t.useRef(null),d=t.useCallback(function(e,t){if(null!==u.current){var n=u.current,c=n.scrollTop,d=n.scrollHeight,p=n.clientHeight,f=u.current,b=t>0,m=d-p-c,g=!1;m>t&&s.current&&(r&&r(e),s.current=!1),b&&l.current&&(a&&a(e),l.current=!1),b&&t>m?(o&&!s.current&&o(e),f.scrollTop=d,g=!0,s.current=!0):!b&&-t>c&&(i&&!l.current&&i(e),f.scrollTop=0,g=!0,l.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[o,r,i,a]),p=t.useCallback(function(e){d(e,e.deltaY)},[d]),f=t.useCallback(function(e){c.current=e.changedTouches[0].clientY},[]),b=t.useCallback(function(e){var t=c.current-e.changedTouches[0].clientY;d(e,t)},[d]),m=t.useCallback(function(e){if(e){var t=!!Ii&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",f,t),e.addEventListener("touchmove",b,t)}},[b,f,p]),g=t.useCallback(function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",f,!1),e.removeEventListener("touchmove",b,!1))},[b,f,p]);return t.useEffect(function(){if(n){var e=u.current;return m(e),function(){g(e)}}},[n,m,g]),function(e){u.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),a=function(e){var n=e.isEnabled,o=e.accountForScrollbars,r=void 0===o||o,i=t.useRef({}),a=t.useRef(null),s=t.useCallback(function(e){if(Ba){var t=document.body,n=t&&t.style;if(r&&wa.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&ka<1){var o=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+o||0;Object.keys(Ga).forEach(function(e){var t=Ga[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&Oa()&&(t.addEventListener("touchmove",Na,Sa),e&&(e.addEventListener("touchstart",Ra,Sa),e.addEventListener("touchmove",Ea,Sa))),ka+=1}},[r]),l=t.useCallback(function(e){if(Ba){var t=document.body,n=t&&t.style;ka=Math.max(ka-1,0),r&&ka<1&&wa.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&Oa()&&(t.removeEventListener("touchmove",Na,Sa),e&&(e.removeEventListener("touchstart",Ra,Sa),e.removeEventListener("touchmove",Ea,Sa)))}},[r]);return t.useEffect(function(){if(n){var e=a.current;return s(e),function(){l(e)}}},[n,s,l]),function(e){a.current=e}}({isEnabled:o});return Tr(t.Fragment,null,o&&Tr("div",{onClick:Ta,css:Va}),n(function(e){i(e),a(e)}))}var Wa="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)."}},Pa=function(e){var t=e.name,n=e.onFocus;return Tr("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Wa,value:"",onChange:function(){}})};function Ma(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 Ha(){return Ma(/^Mac/i)}function ja(){return Ma(/^iPhone/i)||Ma(/^iPad/i)||Ha()&&navigator.maxTouchPoints>1}var La={clearIndicator:Fi,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 Pn({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:Di,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 Pn({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 Pn({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 Pn(Pn({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},Ki),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 Pn({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:Ti,menu:function(e,t){var n,o=e.placement,r=e.theme,i=r.borderRadius,a=r.spacing,s=r.colors;return Pn((Xn(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),Xn(n,"position","absolute"),Xn(n,"width","100%"),Xn(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 Pn({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 Pn({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 Pn({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 Pn({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:Si,option:function(e,t){var n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.theme,a=i.spacing,s=i.colors;return Pn({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 Pn({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 Pn({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 Pn({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")})}},Za={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}},Da={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:gi(),captureMenuScroll:!gi(),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 Fa(e,t,n,o){return{type:"option",data:t,isDisabled:Ka(e,t,n),isSelected:qa(e,t,n),label:Qa(e,t),value:$a(e,t),index:o}}function za(e,t){return e.options.map(function(n,o){if("options"in n){var r=n.options.map(function(n,o){return Fa(e,n,t,o)}).filter(function(t){return _a(e,t)});return r.length>0?{type:"group",data:n,options:r,index:o}:void 0}var i=Fa(e,n,t,o);return _a(e,i)?i:void 0}).filter(xi)}function Ya(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Jn(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function Ja(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Jn(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 _a(e,t){var n=e.inputValue,o=void 0===n?"":n,r=t.data,i=t.isSelected,a=t.label,s=t.value;return(!ts(e)||!i)&&es(e,{label:a,value:s,data:r},o)}var Ua=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Qa=function(e,t){return e.getOptionLabel(t)},$a=function(e,t){return e.getOptionValue(t)};function Ka(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function qa(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=$a(e,t);return n.some(function(t){return $a(e,t)===o})}function es(e,t,n){return!e.filterOption||e.filterOption(t,n)}var ts=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ns=1,os=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&&hn(e,t)}(n,t.Component);var e=function(e){var t=zn();return function(){var n,o=Fn(e);if(t){var r=Fn(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Yn(this,n)}}(n);function n(t){var o;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(o=e.call(this,t)).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(Jn(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=Ci(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(Ci(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=Ci(e,r,r[0]||null);n&&o.onChange(i,{action:"pop-value",removedValue:n})},o.getFocusedOptionId=function(e){return Ua(o.state.focusableOptionsWithIds,e)},o.getFocusableOptionsWithIds=function(){return Ja(za(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 si.apply(void 0,[o.props.classNamePrefix].concat(t))},o.getOptionLabel=function(e){return Qa(o.props,e)},o.getOptionValue=function(e){return $a(o.props,e)},o.getStyles=function(e,t){var n=o.props.unstyled,r=La[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,Pn(Pn({},oa),e.components);var e},o.buildCategorizedOptions=function(){return za(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return Ya(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(e,t){o.setState({ariaSelection:Pn({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&&di(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 ts(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||++ns),o.state.selectValue=li(t.value),t.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=Ua(r,i[a])}return o}return function(e,t,n){t&&Dn(e.prototype,t),n&&Dn(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&mi(this.menuListRef,this.focusedOptionRef),(Ha()||ja())&&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&&(mi(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(Za):Pn(Pn({},Za),this.props.theme):Za}},{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 Ka(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return qa(this.props,e,t)}},{key:"filterOption",value:function(e,t){return es(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,o=e.inputId,r=e.inputValue,i=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=o||this.getElementId("input"),g=Pn(Pn(Pn({"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?a.createElement(u,mn({},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:i,form:s,type:"text",value:r},g)):a.createElement(Aa,mn({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ii,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,r=t.MultiValueLabel,i=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:a.createElement(l,mn({},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 a.createElement(n,mn({},c,{components:{Container:o,Label:r,Remove:i},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 a.createElement(s,mn({},c,{data:I,isDisabled:p}),this.formatOptionLabel(I,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,r=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||r)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return a.createElement(e,mn({},t,{innerProps:s,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,r=n.isLoading,i=this.state.isFocused;if(!e||!r)return null;return a.createElement(e,mn({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:i}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,r=this.props.isDisabled,i=this.state.isFocused;return a.createElement(n,mn({},o,{isDisabled:r,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,r={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return a.createElement(e,mn({},t,{innerProps:r,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,r=t.Menu,i=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,x=f.menuPlacement,C=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 o=t.type,r=t.data,i=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,f=p===r,b=i?void 0:function(){return e.onOptionHover(r)},m=i?void 0:function(){return e.selectOption(r)},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 a.createElement(u,mn({},d,{innerProps:h,data:r,isDisabled:i,isSelected:s,key:g,label:l,type:o,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 r=t.data,i=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return a.createElement(n,mn({},d,{key:l,data:r,options:i,Heading:o,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 k=h({inputValue:m});if(null===k)return null;O=a.createElement(l,d,k)}else{var S=N({inputValue:m});if(null===S)return null;O=a.createElement(c,d,S)}var T={minMenuHeight:v,maxMenuHeight:y,menuPlacement:x,menuPosition:C,menuShouldScrollIntoView:G},V=a.createElement(Oi,mn({},d,T),function(t){var n=t.ref,o=t.placerProps,s=o.placement,l=o.maxHeight;return a.createElement(r,mn({},d,T,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),a.createElement(Xa,{captureEnabled:b,onTopArrive:E,onBottomArrive:R,lockEnabled:w},function(t){return a.createElement(i,mn({},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"===C?a.createElement(s,mn({},d,{appendTo:A,controlElement:this.controlRef,menuPlacement:x,menuPosition:C}),V):V}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,r=t.isMulti,i=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!o)return a.createElement(Pa,{name:i,onFocus:this.onValueInputFocus});if(i&&!o){if(r){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return a.createElement("input",{name:i,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return a.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})}):a.createElement("input",{name:i,type:"hidden",value:""});return a.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return a.createElement("input",{name:i,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,r=t.focusedValue,i=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return a.createElement(ua,mn({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:r,isFocused:i,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,r=e.ValueContainer,i=this.props,s=i.className,l=i.id,c=i.isDisabled,u=i.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return a.createElement(o,mn({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),a.createElement(t,mn({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),a.createElement(r,mn({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),a.createElement(n,mn({},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=li(u),m={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Ya(za(e,t))}(e,b):[],h=d?Ja(za(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:Ua(h,y),focusableOptionsWithIds:h,focusedValue:v,clearFocusValueOnUpdate:!1}}var I=null!=r&&e!==n?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},x=i,C=a&&s;return a&&!C&&(x={value:Ci(f,b,b[0]||null),options:b,action:"initial-input-focus"},C=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(x=null),Pn(Pn(Pn({},m),I),{},{prevProps:e,ariaSelection:x,prevWasFocused:C})}}]),n}();os.defaultProps=Da;var rs=t.forwardRef(function(e,n){var o=function(e){var n=e.defaultInputValue,o=void 0===n?"":n,r=e.defaultMenuIsOpen,i=void 0!==r&&r,a=e.defaultValue,s=void 0===a?null:a,l=e.inputValue,c=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,f=e.onMenuOpen,b=e.value,m=Ln(e,Zn),g=jn(t.useState(void 0!==l?l:o),2),h=g[0],v=g[1],y=jn(t.useState(void 0!==c?c:i),2),I=y[0],x=y[1],C=jn(t.useState(void 0!==b?b:s),2),A=C[0],w=C[1],G=t.useCallback(function(e,t){"function"==typeof u&&u(e,t),w(e)},[u]),N=t.useCallback(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),v(void 0!==n?n:e)},[d]),E=t.useCallback(function(){"function"==typeof f&&f(),x(!0)},[f]),R=t.useCallback(function(){"function"==typeof p&&p(),x(!1)},[p]),O=void 0!==l?l:h,B=void 0!==c?c:I,k=void 0!==b?b:A;return Pn(Pn({},m),{},{inputValue:O,menuIsOpen:B,onChange:G,onInputChange:N,onMenuClose:R,onMenuOpen:E,value:k})}(e);return a.createElement(os,mn({ref:n},o))}),is=rs;const as=t.memo(({options:n,className:o,controlClassName:r,value:i,isCustomStyle:a=!1,placeholder:s,required:l,onChange:c,filterOptions:u,hasError:d,error:p,menuClassName:f,helperText:b,label:m,labelClassName:g,size:h="md",variant:v="default","data-cy":y,"data-testid":I,...x})=>{const C=t.useMemo(()=>xa(u),[u]),A=t.useMemo(()=>({control:({isFocused:e})=>Ie("sm"===h?"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&&!d,"border-input-border-critical shadow-none":d},r),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>a?e.value?"hidden":"block":"block text-icon-default "+(d?"text-icon-critical":""),singleValue:()=>Ie(a?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Ie("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",f),option:({isFocused:e,isSelected:t,label:o})=>{var r;return Ie("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,f,n,d,h]);return"unstyled"===v?e.jsx(is,{options:n,value:i,placeholder:l?`${s}*`:s,onChange:c,filterOption:C,className:Ie("rounded-xl",o),classNames:A,"data-cy":y,"data-testid":I,...x}):e.jsxs("div",{className:"w-full",children:[m&&e.jsx("label",{className:Ie("mb-1 block text-sm font-medium text-text-secondary",g),children:m}),e.jsx(is,{options:n,value:i,placeholder:l?`${s}*`:s,onChange:c,filterOption:C,className:Ie("rounded-xl",o),classNames:A,"data-cy":y,"data-testid":I,...x}),p&&e.jsx(Me,{className:"footnote mt-1 text-text-critical",children:p}),!p&&b&&e.jsx(Me,{className:"footnote mt-1 text-text-info",children:b})]})});as.displayName="Select";const ss=({errorMessage:t,className:n,iconClassName:o,iconSize:r=52,iconName:i="dangerous",textVariant:a})=>t?e.jsxs("div",{className:Ie("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",n),"data-testid":"alert-card",children:[e.jsx("div",{children:e.jsx(Pe,{name:i,size:r,className:Ie("text-icon-critical",o)})}),e.jsx(Me,{className:Ie("body2 text-text",a),children:t})]}):null;ss.displayName="AlertCard";const ls=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()},cs=t.forwardRef(({variant:t="primary_brand",isLoading:n=!1,text:o,label:r,disabled:i,fullWidth:a,buttonClassName:s,size:l={base:"medium"},as:c="button",...u},d)=>{const p=(()=>{const e=Ie((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()})(l),"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",a?"w-full":"w-auto"),o=Ie((i||n)&&"cursor-not-allowed",n&&"pl-7");return Ie(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"}[t]||"",o,s)})();let f=`button--${t}`;n&&(f+=" button--loading"),i&&(f+=" button--disabled");const b=`${f} ${p}`,m=e.jsxs(e.Fragment,{children:[n?e.jsx(Pe,{name:"progress_activity",className:"animate-spin"}):null,r?e.jsxs("span",{className:"flex flex-col",children:[e.jsx("span",{className:Ie(ls(l)),children:r}),o]}):o]});return"a"===c?e.jsx("a",{ref:d,className:Ie(b),...u,children:m}):e.jsx("button",{ref:d,className:Ie(b),disabled:i||n,...u,children:m})});cs.displayName="BrandButton";const us=t=>{const{className:n,...o}=t;return e.jsx("div",{className:Ie("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...o})};us.displayName="Divider";const ds=t=>{const{name:n,value:o,label:r,subText:i,checked:a,onChange:s,className:l,variant:c="circle",hasError:u=!1,labelProps:d={},"data-cy":p,labelClassName:f="",disabled:b,...m}=t,g=()=>null==s?void 0:s(o||n);return e.jsxs("label",{htmlFor:n,className:Ie("flex items-center",l),"data-cy":p,...d,children:[e.jsx("input",{className:"hidden",type:"radio",name:n,value:o,checked:a,readOnly:!0,disabled:b,...m}),e.jsx(Le,{type:"button",onClick:g,disabled:b,className:Ie("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",a&&"border-[1px] border-solid border-border-brand",b&&"opacity-50"),children:a&&e.jsx("div",{className:"h-[0.875rem] w-[0.875rem] rounded-full bg-bg-fill-brand"})}),e.jsxs(Le,{type:"button",onClick:g,disabled:b,tabIndex:r?0:-1,children:[e.jsx("div",{className:Ie("text-body2 font-normal",f),children:r}),e.jsx("div",{className:"text-body1 text-text-info",children:i})]})]})};ds.displayName="RadioButton";const ps=n=>{const{list:o,text:r}=n,[i,a]=t.useState(!0);return e.jsxs("div",{className:"mt-3",children:[e.jsxs(Le,{type:"button",className:"flex items-center gap-2 text-base font-semibold text-gray-900","aria-expanded":i,onClick:e=>{e.stopPropagation(),a(e=>!e)},children:[e.jsx("span",{children:r||"See details"}),e.jsx(Pe,{name:i?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e.jsx(Bn,{open:i,children:e.jsx("div",{className:"pt-1",children:e.jsx(He,{listItemClassName:"body3",items:o})})})]})};ps.displayName="SeeMore";const fs=({className:t="",count:n=1})=>e.jsx("div",{className:"animate-pulse space-y-4",children:Array.from({length:n}).map((n,o)=>e.jsx("div",{className:`h-8 rounded bg-skeleton-bg-start ${t}`,style:{opacity:1-.1*o}},o))});fs.displayName="Skeleton";function bs({tooltipMsg:t,className:n,children:o}){return e.jsxs(e.Fragment,{children:[e.jsx("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.jsx("span",{className:`tooltip-custom ${n||""}`,"data-text":t,children:o})]})}bs.displayName="Tooltip";exports.Accordion=kn,exports.AlertCard=ss,exports.BrandButton=cs,exports.Button=Le,exports.CallButton=Ue,exports.Checkbox=Sn,exports.Checklist=He,exports.Collapse=Bn,exports.Divider=us,exports.Image=Fe,exports.Input=De,exports.InputField=Ze,exports.Link=je,exports.List=We,exports.ListItem=Xe,exports.MaterialIcon=Pe,exports.Modal=On,exports.NextImage=Je,exports.PageSkeleton=()=>e.jsxs("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.jsx("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start","data-testid":"title"}),e.jsxs("div",{className:"item-center flex flex-col gap-6","data-testid":"subtitle",children:[e.jsx("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-start"}),e.jsx("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-start"})]}),e.jsxs("div",{className:"item-center flex flex-col gap-3","data-testid":"content",children:[e.jsx("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start"}),e.jsx("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start"})]}),e.jsxs("div",{className:"item-center flex flex-col gap-6","data-testid":"additional-info",children:[e.jsx("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-end"}),e.jsx("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-end"})]}),e.jsx("div",{className:"item-center flex justify-center","data-testid":"cta-button",children:e.jsx("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-end md:w-[22.125rem]"})})]}),exports.RadioButton=ds,exports.SeeMore=ps,exports.Select=as,exports.SelectPlanButton=({onSelect:n,speed:o,isSelected:r=!1,renderCheckPlans:i,iconSize:a=24,iconClassName:s,cta:l,techType:c,isMax:u})=>{const[d,p]=t.useState(!1),f=`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 ${r?" 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"} `,b=null==i?void 0:i({speedCardConfig:{isModalOpen:d,setModalOpen:()=>{p(!1)},speed:o,techType:c,isMax:u},cta:l});return e.jsxs(e.Fragment,{children:[e.jsxs(Le,{onClick:()=>{p(!0),n()},className:Ie(f,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${o}`,"data-track-element-clicked":"speed_plan_card",children:[e.jsx("span",{children:"Select plan"}),e.jsx(Pe,{className:Ie(s,r?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:a})]}),b]})},exports.Skeleton=fs,exports.Spinner=_e,exports.Text=Me,exports.TextInput=De,exports.Tooltip=bs,exports.ViewCartButton=t=>{const{cartTotalText:n,onClick:o,isOpen:r,...i}=t;return e.jsx(Le,{className:Ie("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:o,...i,children:e.jsxs("div",{className:"flex w-full items-center justify-center gap-2",children:[e.jsxs("div",{className:"flex flex-col items-center justify-center",children:[e.jsx(Me,{className:"label4 -mb-1 text-text",children:"View cart"}),e.jsx(Me,{className:"label3 text-text md:label1","data-testid":"cart-total",children:n})]}),e.jsx(Pe,{name:"keyboard_arrow_up",size:24,fill:0,className:Ie("h-6 w-6 transition-transform",r?"rotate-180":"rotate-0")})]})})},exports.clsx=l,exports.cx=Ie,exports.useBodyScrollLock=Qe,exports.useCarouselSwipe=function(e){const{itemCount:n,cardOffsetPercentage:o=105,swipeThreshold:r=.15,mobileBreakpoint:i=768,autoScrollInterval:a=8e3,enableAutoScroll:s=!0}=e,[l,c]=t.useState(0),[u,d]=t.useState(0),[p,f]=t.useState(!1),[b,m]=t.useState(window.innerWidth),[g,h]=t.useState(!1),v=t.useRef(null),y=t.useRef(0),I=t.useRef(null),x={CARD_OFFSET_PERCENTAGE:o,SWIPE_THRESHOLD:r,MOBILE_BREAKPOINT:i,AUTO_SCROLL_INTERVAL:a};t.useEffect(()=>{const e=()=>{var e;m((null===(e=I.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const C=t.useCallback(()=>{0!==n&&c(e=>(e+1)%n)},[n]),A=t.useCallback(()=>{0!==n&&c(e=>0===e?n-1:e-1)},[n]),w=t.useCallback(e=>{e<0||e>=n||c(e)},[n]),G=t.useCallback(e=>{y.current=e.touches[0].clientX,f(!0),v.current&&clearInterval(v.current)},[]),N=t.useCallback(e=>{if(!p)return;const t=e.touches[0].clientX-y.current;d(t)},[p]),E=t.useCallback(()=>{f(!1);const e=b*r;u>e?A():u<-e&&C(),d(0),s&&a>0&&(v.current=setInterval(()=>{C()},a))},[u,b,r,A,C,s,a]);return t.useEffect(()=>{const e=()=>{h(window.innerWidth<i)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[i]),t.useEffect(()=>{if(s&&0!==n&&0!==a)return v.current=setInterval(()=>{C()},a),()=>{v.current&&clearInterval(v.current)}},[C,n,s,a]),{currentIndex:l,swipeOffset:u,isSwiping:p,isMobile:g,containerWidth:b,containerRef:I,nextSlide:C,prevSlide:A,goToSlide:w,handleTouchStart:G,handleTouchMove:N,handleTouchEnd:E,constants:x}};
|
|
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}(St,St.exports)),St.exports}function Vt(){if(Ot)return kt;Ot=1,Object.defineProperty(kt,"__esModule",{value:!0}),kt.resetState=function(){o=[]},kt.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 ----------"))},kt.handleBlur=a,kt.handleFocus=s,kt.markForFocusLater=function(){o.push(document.activeElement)},kt.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(" "))}},kt.popWithoutFocus=function(){o.length>0&&o.pop()},kt.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))},kt.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=Tt(),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 kt}var Xt,Wt={exports:{}};function Pt(){return Xt||(Xt=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=Tt(),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}(Wt,Wt.exports)),Wt.exports}var Mt,Ht,jt={};function Lt(){if(Ht)return Mt;Ht=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 Mt=e}var Zt,Dt,Ft,zt={},Yt={exports:{}};function Jt(){if(Dt)return zt;Dt=1,Object.defineProperty(zt,"__esModule",{value:!0}),zt.canUseDOM=zt.SafeNodeList=zt.SafeHTMLCollection=void 0;var e,t,n=(Zt||(Zt=1,e=Yt,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}()),Yt.exports);var o=((t=n)&&t.__esModule?t:{default:t}).default,r=o.canUseDOM?window.HTMLElement:{};return zt.SafeHTMLCollection=o.canUseDOM?window.HTMLCollection:{},zt.SafeNodeList=o.canUseDOM?window.NodeList:{},zt.canUseDOM=o.canUseDOM,zt.default=r,zt}function _t(){if(Ft)return jt;Ft=1,Object.defineProperty(jt,"__esModule",{value:!0}),jt.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},jt.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 ----------")}},jt.assertNodeList=i,jt.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},jt.validateElement=a,jt.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}}},jt.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}}},jt.documentNotReadyOrSSRTesting=function(){r=null};var e,t=Lt(),n=(e=t)&&e.__esModule?e:{default:e},o=Jt();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 jt}var Ut,Qt={};function $t(){if(Ut)return Qt;Ut=1,Object.defineProperty(Qt,"__esModule",{value:!0}),Qt.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={}},Qt.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 Qt.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},Qt.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},Qt}var Kt,qt={};function en(){if(Kt)return qt;Kt=1,Object.defineProperty(qt,"__esModule",{value:!0}),qt.log=function(){console.log("portalOpenInstances ----------"),console.log(t.openInstances.length),t.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},qt.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 qt.default=t,qt}var tn,nn,on={};function rn(){return nn||(nn=1,function(e,n){Object.defineProperty(n,"__esModule",{value:!0});var o=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},r="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=t,s=g(Et()),l=m(Vt()),c=g(Pt()),u=m(_t()),d=m($t()),p=Jt(),f=g(p),b=g(en());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(tn)return on;tn=1,Object.defineProperty(on,"__esModule",{value:!0}),on.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=[]},on.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=en(),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 o="object"===(void 0===t?"undefined":r(t))?t:{base:h[e],afterOpen:h[e]+"--after-open",beforeClose:h[e]+"--before-close"},i=o.base;return n.state.afterOpen&&(i=i+" "+o.afterOpen),n.state.beforeClose&&(i=i+" "+o.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,n=e.className,r=e.overlayClassName,i=e.defaultStyles,a=e.children,s=n?{}:i.content,l=r?{}:i.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",r),style:o({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=o({id:t,ref:this.setContentRef,style:o({},s,this.props.style.content),className:this.buildClassName("content",n),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",o({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},n.default=y,e.exports=n.default}(Bt,Bt.exports)),Bt.exports}function an(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function sn(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function ln(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}}an.__suppressDeprecationWarning=!0,sn.__suppressDeprecationWarning=!0,ln.__suppressDeprecationWarning=!0;var cn,un,dn=$e(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=an,t.componentWillReceiveProps=sn),"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=ln;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}}));function pn(){if(cn)return et;cn=1,Object.defineProperty(et,"__esModule",{value:!0}),et.bodyOpenClassName=et.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},n=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}}(),o=t,i=f(o),a=f(r),s=f(Et()),l=f(rn()),c=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}(_t()),u=Jt(),d=f(u),p=dn;function f(e){return e&&e.__esModule?e:{default:e}}function b(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 m=et.portalClassName="ReactModalPortal",g=et.bodyOpenClassName="ReactModal__Body--open",h=u.canUseDOM&&void 0!==a.default.createPortal,v=function(e){return document.createElement(e)},y=function(){return h?a.default.createPortal:a.default.unstable_renderSubtreeIntoContainer};function I(e){return e()}var x=function(t){function o(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);for(var s=arguments.length,c=Array(s),u=0;u<s;u++)c[u]=arguments[u];return n=r=b(this,(t=o.__proto__||Object.getPrototypeOf(o)).call.apply(t,[this].concat(c))),r.removePortal=function(){!h&&a.default.unmountComponentAtNode(r.node);var e=I(r.props.parentSelector);e&&e.contains(r.node)?e.removeChild(r.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.')},r.portalRef=function(e){r.portal=e},r.renderPortal=function(t){var n=y()(r,i.default.createElement(l.default,e({defaultStyles:o.defaultStyles},t)),r.node);r.portalRef(n)},b(r,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)}(o,t),n(o,[{key:"componentDidMount",value:function(){u.canUseDOM&&(h||(this.node=v("div")),this.node.className=this.props.portalClassName,I(this.props.parentSelector).appendChild(this.node),!h&&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(u.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)&&!h&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(u.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 u.canUseDOM&&h?(!this.node&&h&&(this.node=v("div")),y()(i.default.createElement(l.default,e({ref:this.portalRef,defaultStyles:o.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){c.setElement(e)}}]),o}(o.Component);return x.propTypes={isOpen:s.default.bool.isRequired,style:s.default.shape({content:s.default.object,overlay:s.default.object}),portalClassName:s.default.string,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,className:s.default.oneOfType([s.default.string,s.default.shape({base:s.default.string.isRequired,afterOpen:s.default.string.isRequired,beforeClose:s.default.string.isRequired})]),overlayClassName:s.default.oneOfType([s.default.string,s.default.shape({base:s.default.string.isRequired,afterOpen:s.default.string.isRequired,beforeClose:s.default.string.isRequired})]),appElement:s.default.oneOfType([s.default.instanceOf(d.default),s.default.instanceOf(u.SafeHTMLCollection),s.default.instanceOf(u.SafeNodeList),s.default.arrayOf(s.default.instanceOf(d.default))]),onAfterOpen:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,ariaHideApp:s.default.bool,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,parentSelector:s.default.func,aria:s.default.object,data:s.default.object,role:s.default.string,contentLabel:s.default.string,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func},x.defaultProps={isOpen:!1,portalClassName:m,bodyOpenClassName:g,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 i.default.createElement("div",e,t)},contentElement:function(e,t){return i.default.createElement("div",e,t)}},x.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,p.polyfill)(x),"production"!==process.env.NODE_ENV&&(x.setCreateHTMLElement=function(e){return v=e}),et.default=x,et}var fn=Qe((un||(un=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,o=pn(),r=(n=o)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default}(qe,qe.exports)),qe.exports));function bn(){return bn=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},bn.apply(null,arguments)}function mn(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 gn(e,t){return gn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},gn(e,t)}var hn=Qe(Et()),vn=!1,yn="production"!==process.env.NODE_ENV?hn.oneOfType([hn.number,hn.shape({enter:hn.number,exit:hn.number,appear:hn.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&hn.oneOfType([hn.string,hn.shape({enter:hn.string,exit:hn.string,active:hn.string}),hn.shape({enter:hn.string,enterDone:hn.string,enterActive:hn.string,exit:hn.string,exitDone:hn.string,exitActive:hn.string})]);var In=t.createContext(null),xn="unmounted",Cn="exited",An="entering",wn="entered",Gn="exiting",Nn=function(e){var n,o;function i(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=Cn,o.appearStatus=An):r=wn:r=t.unmountOnExit||t.mountOnEnter?xn:Cn,o.state={status:r},o.nextCallback=null,o}o=e,(n=i).prototype=Object.create(o.prototype),n.prototype.constructor=n,gn(n,o),i.getDerivedStateFromProps=function(e,t){return e.in&&t.status===xn?{status:Cn}:null};var a=i.prototype;return a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==An&&n!==wn&&(t=An):n!==An&&n!==wn||(t=Gn)}this.updateStatus(!1,t)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.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}},a.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===An){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:r.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Cn&&this.setState({status:xn})},a.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,i=this.props.nodeRef?[o]:[r.findDOMNode(this),o],a=i[0],s=i[1],l=this.getTimeouts(),c=o?l.appear:l.enter;!e&&!n||vn?this.safeSetState({status:wn},function(){t.props.onEntered(a)}):(this.props.onEnter(a,s),this.safeSetState({status:An},function(){t.props.onEntering(a,s),t.onTransitionEnd(c,function(){t.safeSetState({status:wn},function(){t.props.onEntered(a,s)})})}))},a.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:r.findDOMNode(this);t&&!vn?(this.props.onExit(o),this.safeSetState({status:Gn},function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:Cn},function(){e.props.onExited(o)})})})):this.safeSetState({status:Cn},function(){e.props.onExited(o)})},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},a.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},a.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:r.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=i[0],s=i[1];this.props.addEndListener(a,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},a.render=function(){var e=this.state.status;if(e===xn)return null;var n=this.props,o=n.children;n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef;var r=mn(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return t.createElement(In.Provider,{value:null},"function"==typeof o?o(e,r):t.cloneElement(t.Children.only(o),r))},i}(t.Component);function En(){}Nn.contextType=In,Nn.propTypes="production"!==process.env.NODE_ENV?{nodeRef:hn.shape({current:"undefined"==typeof Element?hn.any:function(e,t,n,o,r,i){var a=e[t];return hn.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,o,r,i)}}),children:hn.oneOfType([hn.func.isRequired,hn.element.isRequired]).isRequired,in:hn.bool,mountOnEnter:hn.bool,unmountOnExit:hn.bool,appear:hn.bool,enter:hn.bool,exit:hn.bool,timeout:function(e){var t=yn;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:hn.func,onEnter:hn.func,onEntering:hn.func,onEntered:hn.func,onExit:hn.func,onExiting:hn.func,onExited:hn.func}:{},Nn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:En,onEntering:En,onEntered:En,onExit:En,onExiting:En,onExited:En},Nn.UNMOUNTED=xn,Nn.EXITED=Cn,Nn.ENTERING=An,Nn.ENTERED=wn,Nn.EXITING=Gn;const Rn=({size:n="md",shape:o="default",animation:r="popper",centered:i,title:a,isOpen:s,children:l,bodyStyle:c,className:u,bodyClassName:d,portalClassName:p,overlayClassName:f,closeButtonClassName:b,closeWrapperClassName:m,onRequestClose:g,parentSelector:h,hideScrollOnIsOpenFalse:v=!0,hideCloseButton:y=!1,...I})=>{Ue(s,v);const[x,C]=t.useState(!1);t.useEffect(()=>{C(s)},[s]);const A=t.useMemo(()=>{if("undefined"==typeof document)return null;let e=document.querySelector("main")||document.body;return h&&(e=document.querySelector(h)||document.body),e},[h]);if(!A)return null;if(!s)return null;const w=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]),G=(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.jsx(Nn,{enter:!0,exit:!0,in:x,timeout:0,children:t=>e.jsxs(fn,{ariaHideApp:!1,isOpen:s,onRequestClose:g,closeTimeoutMS:0,parentSelector:()=>A,className:Ie("absolute min-w-[150px] max-w-[calc(100vw-30px)] overflow-auto rounded-lg bg-white outline-none",w(n),"rounded"===o&&"rounded-3xl",i&&"top-0 translate-y-[calc(50vh-50%)]",G(r,t),u),portalClassName:Ie("z-80",p),overlayClassName:Ie("z-80 fixed inset-0 bg-black/50 flex items-center justify-center pb-[300px]",f),...I,children:[!y&&e.jsx("div",{className:Ie(m),children:e.jsx(Le,{className:Ie("absolute right-0 top-0 float-right h-6 cursor-pointer p-5 text-text",b),onClick:g,"data-testid":"close-button","data-track-element-name":"modal_close_button","data-track-click-text":"Close Modal","data-track-element-clicked":"modal",children:e.jsx(Pe,{name:"close",size:24})})}),a?e.jsx("div",{className:Ie("border-b border-border-secondary-on-bg-fill px-[7px] py-[7px] text-text"),children:a}):null,e.jsx("div",{className:Ie("p-5",d),style:c,"data-testid":I["data-testid"],"data-cy":I["data-cy"],children:l})]})})};Rn.displayName="Modal";const On=n=>{const{open:o,children:r}=n,i=t.useRef(null),[a,s]=t.useState(0);return t.useEffect(()=>{const e=i.current;if(!e)return;const t=()=>{s(o?e.scrollHeight:0)};let n;return t(),o&&(n=new ResizeObserver(()=>t()),n.observe(e)),()=>{n&&n.disconnect()}},[o,r]),e.jsx("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:a,opacity:o?1:0},"aria-hidden":!o,children:e.jsx("div",{ref:i,children:r})})};On.displayName="Collapse";const Bn=n=>{const{title:o,defaultOpen:r,children:i,containerClassName:a,titleClassName:s,className:l,buttonClassName:c,iconClassName:u,openOnlyOnDesktop:d,borderRadiusNone:p=!1}=n,[f,b]=t.useState(Boolean(!1));return t.useEffect(()=>{if(d){const e=window.innerWidth>=1024;b(e)}else b(Boolean(r))},[d,r]),e.jsxs("div",{className:Ie(p?"rounded-none border":"rounded-surface-xs border",a),children:[e.jsxs(Le,{type:"button",className:Ie(p?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",c),onClick:()=>b(e=>!e),children:[e.jsx("span",{className:Ie("label5 flex-1",s),children:o}),e.jsx(Pe,{className:Ie("flex-shrink-0",u),name:f?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e.jsx(On,{open:f,children:e.jsx("div",{className:Ie("px-4 py-4",l),children:i})})]})};Bn.displayName="Accordion";const kn=({state:n,checked:o=!1,onChange:r,className:i,label:a,labelClassName:s,containerClassName:l,name:c,value:u,id:d,disabled:p=!1,required:f=!1,error:b=!1,"data-cy":m,renderInfoIcon:g,...h})=>{const v=p||"disabled"===n,y=d||c,I=Ie("flex items-center justify-center w-6 h-6 rounded-[4px] outline-offset-2","focus"===n&&"outline",i),x=t.useCallback(e=>{v||r&&(1===r.length?r(e.target.checked):r())},[v,r]);return e.jsxs("div",{className:Ie("flex items-center gap-3",l),children:[e.jsxs("div",{className:"relative",children:[e.jsx("input",{type:"checkbox",id:y,name:c,value:u,checked:o,onChange:x,disabled:v,required:f,className:"peer sr-only","data-cy":m,...h}),e.jsx("label",{htmlFor:y,className:Ie("peer-focus:outline",I),style:{pointerEvents:v?"none":"auto"},children:o?e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("rect",{width:"24",height:"24",rx:"4",className:Ie(v?"fill-checkbox-bg-surface-selected-disabled":"fill-bg-fill-brand")}),e.jsx("path",{d:"M8 11.9593L11.0316 15L17 9",stroke:"white",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})]}):e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",className:Ie(v?"fill-checkbox-bg-surface-disabled":"fill-white")}),e.jsx("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",stroke:"#CECECE"})]})})]}),a&&e.jsx("label",{htmlFor:y,className:Ie("cursor-pointer",b&&"text-text-critical",s),children:a}),g&&e.jsx(Le,{type:"button",onClick:g.onClick,"data-testid":g.dataTestId,className:"ml-2 cursor-pointer text-icon-info","aria-label":"More information",children:e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),e.jsx("path",{d:"M12 16v-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 8h.01",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})]})};function Sn(e){return Sn="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},Sn(e)}function Tn(e){var t=function(e,t){if("object"!=Sn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Sn(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Sn(t)?t:t+""}function Vn(e,t,n){return(t=Tn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xn(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 Wn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xn(Object(n),!0).forEach(function(t){Vn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Pn(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 Mn(e,t){if(e){if("string"==typeof e)return Pn(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)?Pn(e,t):void 0}}function Hn(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)||Mn(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 jn(e,t){if(null==e)return{};var n,o,r=mn(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}kn.displayName="Checkbox";var Ln=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Zn(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,Tn(o.key),o)}}function Dn(e){return Dn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Dn(e)}function Fn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Fn=function(){return!!e})()}function zn(e,t){if(t&&("object"==Sn(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 Yn(e){return function(e){if(Array.isArray(e))return Pn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Mn(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 Jn=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}(),_n="-ms-",Un="-moz-",Qn="-webkit-",$n="comm",Kn="rule",qn="decl",eo="@keyframes",to=Math.abs,no=String.fromCharCode,oo=Object.assign;function ro(e){return e.trim()}function io(e,t,n){return e.replace(t,n)}function ao(e,t){return e.indexOf(t)}function so(e,t){return 0|e.charCodeAt(t)}function lo(e,t,n){return e.slice(t,n)}function co(e){return e.length}function uo(e){return e.length}function po(e,t){return t.push(e),e}var fo=1,bo=1,mo=0,go=0,ho=0,vo="";function yo(e,t,n,o,r,i,a){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:fo,column:bo,length:a,return:""}}function Io(e,t){return oo(yo("",null,null,"",null,null,0),e,{length:-e.length},t)}function xo(){return ho=go>0?so(vo,--go):0,bo--,10===ho&&(bo=1,fo--),ho}function Co(){return ho=go<mo?so(vo,go++):0,bo++,10===ho&&(bo=1,fo++),ho}function Ao(){return so(vo,go)}function wo(){return go}function Go(e,t){return lo(vo,e,t)}function No(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 Eo(e){return fo=bo=1,mo=co(vo=e),go=0,[]}function Ro(e){return vo="",e}function Oo(e){return ro(Go(go-1,So(91===e?e+2:40===e?e+1:e)))}function Bo(e){for(;(ho=Ao())&&ho<33;)Co();return No(e)>2||No(ho)>3?"":" "}function ko(e,t){for(;--t&&Co()&&!(ho<48||ho>102||ho>57&&ho<65||ho>70&&ho<97););return Go(e,wo()+(t<6&&32==Ao()&&32==Co()))}function So(e){for(;Co();)switch(ho){case e:return go;case 34:case 39:34!==e&&39!==e&&So(ho);break;case 40:41===e&&So(e);break;case 92:Co()}return go}function To(e,t){for(;Co()&&e+ho!==57&&(e+ho!==84||47!==Ao()););return"/*"+Go(t,go-1)+"*"+no(47===e?e:Co())}function Vo(e){for(;!No(Ao());)Co();return Go(e,go)}function Xo(e){return Ro(Wo("",null,null,null,[""],e=Eo(e),0,[0],e))}function Wo(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,x=i,C=o,A=y;g;)switch(b=v,v=Co()){case 40:if(108!=b&&58==so(A,d-1)){-1!=ao(A+=io(Oo(v),"&","&\f"),"&\f")&&(h=-1);break}case 34:case 39:case 91:A+=Oo(v);break;case 9:case 10:case 13:case 32:A+=Bo(b);break;case 92:A+=ko(wo()-1,7);continue;case 47:switch(Ao()){case 42:case 47:po(Mo(To(Co(),wo()),t,n),l);break;default:A+="/"}break;case 123*m:s[c++]=co(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&&co(A)-d&&po(f>32?Ho(A+";",o,n,d-1):Ho(io(A," ","")+";",o,n,d-2),l);break;case 59:A+=";";default:if(po(C=Po(A,t,n,c,u,r,s,y,I=[],x=[],d),i),123===v)if(0===u)Wo(A,t,C,C,I,i,d,s,x);else switch(99===p&&110===so(A,3)?100:p){case 100:case 108:case 109:case 115:Wo(e,C,C,o&&po(Po(e,C,C,0,0,r,s,y,r,I=[],d),x),r,x,d,s,o?I:x);break;default:Wo(A,C,C,C,[""],x,0,s,x)}}c=u=f=0,m=h=1,y=A="",d=a;break;case 58:d=1+co(A),f=b;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==xo())continue;switch(A+=no(v),v*m){case 38:h=u>0?1:(A+="\f",-1);break;case 44:s[c++]=(co(A)-1)*h,h=1;break;case 64:45===Ao()&&(A+=Oo(Co())),p=Ao(),u=d=co(y=A+=Vo(wo())),v++;break;case 45:45===b&&2==co(A)&&(m=0)}}return i}function Po(e,t,n,o,r,i,a,s,l,c,u){for(var d=r-1,p=0===r?i:[""],f=uo(p),b=0,m=0,g=0;b<o;++b)for(var h=0,v=lo(e,d+1,d=to(m=a[b])),y=e;h<f;++h)(y=ro(m>0?p[h]+" "+v:io(v,/&\f/g,p[h])))&&(l[g++]=y);return yo(e,t,n,0===r?Kn:s,l,c,u)}function Mo(e,t,n){return yo(e,t,n,$n,no(ho),lo(e,2,-2),0)}function Ho(e,t,n,o){return yo(e,t,n,qn,lo(e,0,o),lo(e,o+1,-1),o)}function jo(e,t){for(var n="",o=uo(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function Lo(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case qn:return e.return=e.return||e.value;case $n:return"";case eo:return e.return=e.value+"{"+jo(e.children,o)+"}";case Kn:e.value=e.props.join(",")}return co(n=jo(e.children,o))?e.return=e.value+"{"+n+"}":""}function Zo(e){var t=uo(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 Do(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Fo="undefined"!=typeof document,zo=function(e,t,n){for(var o=0,r=0;o=r,r=Ao(),38===o&&12===r&&(t[n]=1),!No(r);)Co();return Go(e,go)},Yo=function(e,t){return Ro(function(e,t){var n=-1,o=44;do{switch(No(o)){case 0:38===o&&12===Ao()&&(t[n]=1),e[n]+=zo(go-1,t,n);break;case 2:e[n]+=Oo(o);break;case 4:if(44===o){e[++n]=58===Ao()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=no(o)}}while(o=Co());return e}(Eo(e),t))},Jo=new WeakMap,_o=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)||Jo.get(n))&&!o){Jo.set(e,!0);for(var r=[],i=Yo(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]}}},Uo=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Qo(e,t){switch(function(e,t){return 45^so(e,0)?(((t<<2^so(e,0))<<2^so(e,1))<<2^so(e,2))<<2^so(e,3):0}(e,t)){case 5103:return Qn+"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 Qn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Qn+e+Un+e+_n+e+e;case 6828:case 4268:return Qn+e+_n+e+e;case 6165:return Qn+e+_n+"flex-"+e+e;case 5187:return Qn+e+io(e,/(\w+).+(:[^]+)/,Qn+"box-$1$2"+_n+"flex-$1$2")+e;case 5443:return Qn+e+_n+"flex-item-"+io(e,/flex-|-self/,"")+e;case 4675:return Qn+e+_n+"flex-line-pack"+io(e,/align-content|flex-|-self/,"")+e;case 5548:return Qn+e+_n+io(e,"shrink","negative")+e;case 5292:return Qn+e+_n+io(e,"basis","preferred-size")+e;case 6060:return Qn+"box-"+io(e,"-grow","")+Qn+e+_n+io(e,"grow","positive")+e;case 4554:return Qn+io(e,/([^-])(transform)/g,"$1"+Qn+"$2")+e;case 6187:return io(io(io(e,/(zoom-|grab)/,Qn+"$1"),/(image-set)/,Qn+"$1"),e,"")+e;case 5495:case 3959:return io(e,/(image-set\([^]*)/,Qn+"$1$`$1");case 4968:return io(io(e,/(.+:)(flex-)?(.*)/,Qn+"box-pack:$3"+_n+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Qn+e+e;case 4095:case 3583:case 4068:case 2532:return io(e,/(.+)-inline(.+)/,Qn+"$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(co(e)-1-t>6)switch(so(e,t+1)){case 109:if(45!==so(e,t+4))break;case 102:return io(e,/(.+:)(.+)-([^]+)/,"$1"+Qn+"$2-$3$1"+Un+(108==so(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ao(e,"stretch")?Qo(io(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==so(e,t+1))break;case 6444:switch(so(e,co(e)-3-(~ao(e,"!important")&&10))){case 107:return io(e,":",":"+Qn)+e;case 101:return io(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Qn+(45===so(e,14)?"inline-":"")+"box$3$1"+Qn+"$2$3$1"+_n+"$2box$3")+e}break;case 5936:switch(so(e,t+11)){case 114:return Qn+e+_n+io(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Qn+e+_n+io(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Qn+e+_n+io(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Qn+e+_n+e+e}return e}var $o,Ko,qo,er,tr=Fo?void 0:($o=function(){return Do(function(){return{}})},Ko=new WeakMap,function(e){if(Ko.has(e))return Ko.get(e);var t=$o(e);return Ko.set(e,t),t}),nr=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case qn:e.return=Qo(e.value,e.length);break;case eo:return jo([Io(e,{value:io(e.value,"@","@"+Qn)})],o);case Kn: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 jo([Io(e,{props:[io(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return jo([Io(e,{props:[io(t,/:(plac\w+)/,":"+Qn+"input-$1")]}),Io(e,{props:[io(t,/:(plac\w+)/,":-moz-$1")]}),Io(e,{props:[io(t,/:(plac\w+)/,_n+"input-$1")]})],o)}return""})}}],or=function(e){var t=e.key;if(Fo&&"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||nr,a={},s=[];Fo&&(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=[_o,Uo];if(tr){var u=[Lo],d=Zo(c.concat(i,u)),p=tr(i)(t),f=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=jo(Xo(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=[Lo,(l=function(e){b.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=Zo(c.concat(i,m));r=function(e,t,n,o){b=n,jo(Xo(e?e+"{"+t.styles+"}":t.styles),g),o&&(h.inserted[t.name]=!0)}}var h={key:t,sheet:new Jn({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(er)return qo;er=1;var e=It(),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;qo=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 rr="undefined"!=typeof document;var ir=function(e,t,n){var o=e.key+"-"+t.name;(!1===n||!1===rr&&void 0!==e.compat)&&void 0===e.registered[o]&&(e.registered[o]=t.styles)};var ar={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},sr=/[A-Z]|^ms/g,lr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,cr=function(e){return 45===e.charCodeAt(1)},ur=function(e){return null!=e&&"boolean"!=typeof e},dr=Do(function(e){return cr(e)?e:e.replace(sr,"-$&").toLowerCase()}),pr=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(lr,function(e,t,n){return br={name:t,styles:n,next:br},t})}return 1===ar[e]||cr(e)||"number"!=typeof t||0===t?t:t+"px"};function fr(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 br={name:r.name,styles:r.styles,next:br},r.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)br={name:a.name,styles:a.styles,next:br},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+=fr(e,t,n[r])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;ur(s)&&(o+=dr(i)+":"+pr(i,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)ur(a[l])&&(o+=dr(i)+":"+pr(i,a[l])+";");else{var c=fr(e,t,a);switch(i){case"animation":case"animationName":o+=dr(i)+":"+c+";";break;default:o+=i+"{"+c+"}"}}}return o}(e,t,n);case"function":if(void 0!==e){var s=br,l=n(e);return br=s,fr(e,t,l)}}return n}var br,mr=/label:\s*([^\s;{]+)\s*(;|$)/g;function gr(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="";br=void 0;var i=e[0];null==i||void 0===i.raw?(o=!1,r+=fr(n,t,i)):r+=i[0];for(var a=1;a<e.length;a++){if(r+=fr(n,t,e[a]),o)r+=i[a]}mr.lastIndex=0;for(var s,l="";null!==(s=mr.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:br}}var hr="undefined"!=typeof document,vr=function(e){return e()},yr=!!a.useInsertionEffect&&a.useInsertionEffect,Ir=hr&&yr||vr,xr="undefined"!=typeof document,Cr=a.createContext("undefined"!=typeof HTMLElement?or({key:"css"}):null);Cr.Provider;var Ar=function(e){return t.forwardRef(function(n,o){var r=t.useContext(Cr);return e(n,r,o)})};xr||(Ar=function(e){return function(n){var o=t.useContext(Cr);return null===o?(o=or({key:"css"}),a.createElement(Cr.Provider,{value:o},e(n,o))):e(n,o)}});var wr,Gr,Nr=a.createContext({}),Er={}.hasOwnProperty,Rr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Or=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;ir(t,n,o);var r=Ir(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);rr||void 0===a||(r+=a),i=i.next}while(void 0!==i);if(!rr&&0!==r.length)return r}}(t,n,o)});if(!xr&&void 0!==r){for(var i,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return a.createElement("style",((i={})["data-emotion"]=t.key+" "+s,i.dangerouslySetInnerHTML={__html:r},i.nonce=t.sheet.nonce,i))}return null},Br=Ar(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var r=e[Rr],i=[o],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,i,e.className):null!=e.className&&(s=e.className+" ");var l=gr(i,void 0,a.useContext(Nr));s+=t.key+"-"+l.name;var c={};for(var u in e)Er.call(e,u)&&"css"!==u&&u!==Rr&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),a.createElement(a.Fragment,null,a.createElement(Or,{cache:t,serialized:l,isStringTag:"string"==typeof r}),a.createElement(r,c))}),kr=Br,Sr=function(e,t){var n=arguments;if(null==t||!Er.call(t,"css"))return a.createElement.apply(void 0,n);var o=n.length,r=new Array(o);r[0]=kr,r[1]=function(e,t){var n={};for(var o in t)Er.call(t,o)&&(n[o]=t[o]);return n[Rr]=e,n}(e,t);for(var i=2;i<o;i++)r[i]=n[i];return a.createElement.apply(null,r)};function Tr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return gr(t)}wr=Sr||(Sr={}),Gr||(Gr=wr.JSX||(wr.JSX={}));const Vr=Math.min,Xr=Math.max,Wr=Math.round,Pr=Math.floor,Mr=e=>({x:e,y:e});function Hr(){return"undefined"!=typeof window}function jr(e){return Dr(e)?(e.nodeName||"").toLowerCase():"#document"}function Lr(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Zr(e){var t;return null==(t=(Dr(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Dr(e){return!!Hr()&&(e instanceof Node||e instanceof Lr(e).Node)}function Fr(e){return!!Hr()&&(e instanceof HTMLElement||e instanceof Lr(e).HTMLElement)}function zr(e){return!(!Hr()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Lr(e).ShadowRoot)}function Yr(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=Jr(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&"inline"!==r&&"contents"!==r}function Jr(e){return Lr(e).getComputedStyle(e)}function _r(e){const t=function(e){if("html"===jr(e))return e;const t=e.assignedSlot||e.parentNode||zr(e)&&e.host||Zr(e);return zr(t)?t.host:t}(e);return function(e){return/^(html|body|#document)$/.test(jr(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Fr(t)&&Yr(t)?t:_r(t)}function Ur(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=_r(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=Lr(r);if(i){const e=Qr(a);return t.concat(a,a.visualViewport||[],Yr(r)?r:[],e&&n?Ur(e):[])}return t.concat(r,Ur(r,[],n))}function Qr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function $r(e){return t=e,Hr()&&(t instanceof Element||t instanceof Lr(t).Element)?e:e.contextElement;var t}function Kr(e){const t=$r(e);if(!Fr(t))return Mr(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=function(e){const t=Jr(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=Fr(e),i=r?e.offsetWidth:n,a=r?e.offsetHeight:o,s=Wr(n)!==i||Wr(o)!==a;return s&&(n=i,o=a),{width:n,height:o,$:s}}(t);let a=(i?Wr(n.width):n.width)/o,s=(i?Wr(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function qr(e,t,n,o){void 0===t&&(t=!1);const r=e.getBoundingClientRect(),i=$r(e);let a=Mr(1);t&&(a=Kr(e));const s=Mr(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=Lr(i),n=Qr(t);for(;n&&o&&e!==t;){const e=Kr(n),o=n.getBoundingClientRect(),r=Jr(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=Lr(n),n=Qr(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 ei(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ti(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=$r(e),u=r||i?[...c?Ur(c):[],...t?Ur(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=Zr(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:-Pr(d)+"px "+-Pr(r.clientWidth-(u+p))+"px "+-Pr(r.clientHeight-(d+f))+"px "+-Pr(u)+"px",threshold:Xr(0,Vr(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||ei(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?qr(e):null;return l&&function t(){const o=qr(e);m&&!ei(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 ni="undefined"!=typeof document?t.useLayoutEffect:function(){},oi=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],ri=function(){};function ii(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function ai(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 si=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Sn(e)&&null!==e?[e]:[];var t},li=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,Wn({},jn(e,oi))},ci=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 ui(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function di(e){return ui(e)?window.pageYOffset:e.scrollTop}function pi(e,t){ui(e)?window.scrollTo(0,t):e.scrollTop=t}function fi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ri,r=di(e),i=t-r,a=0;!function t(){var s,l=i*((s=(s=a+=10)/n-1)*s*s+1)+r;pi(e,l),a<n?window.requestAnimationFrame(t):o(e)}()}function bi(e,t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),r=t.offsetHeight/3;o.bottom+r>n.bottom?pi(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):o.top-r<n.top&&pi(e,Math.max(t.offsetTop-r,0))}function mi(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var gi=!1,hi={get passive(){return gi=!0}},vi="undefined"!=typeof window?window:{};vi.addEventListener&&vi.removeEventListener&&(vi.addEventListener("p",ri,hi),vi.removeEventListener("p",ri,!1));var yi=gi;function Ii(e){return null!=e}function xi(e,t,n){return e?t:n}var Ci=["children","innerProps"],Ai=["children","innerProps"];function wi(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:ui(u=l)?window.innerHeight:u.clientHeight,v=di(l),y=parseInt(getComputedStyle(n).marginBottom,10),I=parseInt(getComputedStyle(n).marginTop,10),x=g-I,C=h-m,A=x+v,w=d-v-m,G=f-h+v+y,N=v+m-I,E=160;switch(r){case"auto":case"bottom":if(C>=b)return{placement:"bottom",maxHeight:t};if(w>=b&&!a)return i&&fi(l,G,E),{placement:"bottom",maxHeight:t};if(!a&&w>=o||a&&C>=o)return i&&fi(l,G,E),{placement:"bottom",maxHeight:a?C-y:w-y};if("auto"===r||a){var R=t,O=a?x:A;return O>=o&&(R=Math.min(O-y-s,t)),{placement:"top",maxHeight:R}}if("bottom"===r)return i&&pi(l,G),{placement:"bottom",maxHeight:t};break;case"top":if(x>=b)return{placement:"top",maxHeight:t};if(A>=b&&!a)return i&&fi(l,N,E),{placement:"top",maxHeight:t};if(!a&&A>=o||a&&x>=o){var B=t;return(!a&&A>=o||a&&x>=o)&&(B=a?x-I:A-I),i&&fi(l,N,E),{placement:"top",maxHeight:B}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var Gi,Ni=function(e){return"auto"===e?"bottom":e},Ei=t.createContext(null),Ri=function(e){var n=e.children,o=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,a=e.menuPosition,s=e.menuShouldScrollIntoView,l=e.theme,c=(t.useContext(Ei)||{}).setPortalPlacement,u=t.useRef(null),d=Hn(t.useState(r),2),p=d[0],f=d[1],b=Hn(t.useState(null),2),m=b[0],g=b[1],h=l.spacing.controlHeight;return ni(function(){var e=u.current;if(e){var t="fixed"===a,n=wi({maxHeight:r,menuEl:e,minHeight:o,placement:i,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:h});f(n.maxHeight),g(n.placement),null==c||c(n.placement)}},[r,i,a,s,o,c,h]),n({ref:u,placerProps:Wn(Wn({},e),{},{placement:m||Ni(i),maxHeight:p})})},Oi=function(e){var t=e.children,n=e.innerRef,o=e.innerProps;return Sr("div",bn({},ci(e,"menu",{menu:!0}),{ref:n},o),t)},Bi=function(e,t){var n=e.theme,o=n.spacing.baseUnit,r=n.colors;return Wn({textAlign:"center"},t?{}:{color:r.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},ki=Bi,Si=Bi,Ti=["size"],Vi=["innerProps","isRtl","size"];var Xi,Wi,Pi="production"===process.env.NODE_ENV?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydW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PE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+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)."}},Mi=function(e){var t=e.size,n=jn(e,Ti);return Sr("svg",bn({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Pi},n))},Hi=function(e){return Sr(Mi,bn({size:20},e),Sr("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"}))},ji=function(e){return Sr(Mi,bn({size:20},e),Sr("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"}))},Li=function(e,t){var n=e.isFocused,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return Wn({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*r,":hover":{color:n?i.neutral80:i.neutral40}})},Zi=Li,Di=Li,Fi=function(){var e=Tr.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_"}}}(Gi||(Xi=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Wi||(Wi=Xi.slice(0)),Gi=Object.freeze(Object.defineProperties(Xi,{raw:{value:Object.freeze(Wi)}})))),zi=function(e){var t=e.delay,n=e.offset;return Sr("span",{css:Tr({animation:"".concat(Fi," 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWF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dEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},Yi=function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return Sr("div",bn({ref:r},ci(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},Ji=["data"],_i=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 Sr("div",bn({},ci(e,"group",{group:!0}),s),Sr(i,bn({},a,{selectProps:u,theme:c,getStyles:o,getClassNames:r,cx:n}),l),Sr("div",null,t))},Ui=["innerRef","isDisabled","isHidden","inputClassName"],Qi={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},$i={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Wn({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Qi)},Ki=function(e){return Wn({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Qi)},qi=function(e){var t=e.cx,n=e.value,o=li(e),r=o.innerRef,i=o.isDisabled,a=o.isHidden,s=o.inputClassName,l=jn(o,Ui);return Sr("div",bn({},ci(e,"input",{"input-container":!0}),{"data-value":n||""}),Sr("input",bn({className:t({input:!0},s),ref:r,style:Ki(a),disabled:i},l)))},ea=function(e){var t=e.children,n=e.innerProps;return Sr("div",n,t)};var ta=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 Sr(l,{data:o,innerProps:Wn(Wn({},ci(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),r),selectProps:s},Sr(c,{data:o,innerProps:Wn({},ci(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Sr(u,{data:o,innerProps:Wn(Wn({},ci(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},na={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Sr("div",bn({},ci(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Sr(Hi,null))},Control:Yi,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Sr("div",bn({},ci(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Sr(ji,null))},DownChevron:ji,CrossIcon:Hi,Group:_i,GroupHeading:function(e){var t=li(e);t.data;var n=jn(t,Ji);return Sr("div",bn({},ci(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Sr("div",bn({},ci(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Sr("span",bn({},t,ci(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:qi,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,r=void 0===o?4:o,i=jn(e,Vi);return Sr("div",bn({},ci(Wn(Wn({},i),{},{innerProps:t,isRtl:n,size:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Sr(zi,{delay:0,offset:n}),Sr(zi,{delay:160,offset:!0}),Sr(zi,{delay:320,offset:!n}))},Menu:Oi,MenuList:function(e){var t=e.children,n=e.innerProps,o=e.innerRef,r=e.isMulti;return Sr("div",bn({},ci(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:o},n),t)},MenuPortal:function(e){var n=e.appendTo,o=e.children,i=e.controlElement,a=e.innerProps,s=e.menuPlacement,l=e.menuPosition,c=t.useRef(null),u=t.useRef(null),d=Hn(t.useState(Ni(s)),2),p=d[0],f=d[1],b=t.useMemo(function(){return{setPortalPlacement:f}},[]),m=Hn(t.useState(null),2),g=m[0],h=m[1],v=t.useCallback(function(){if(i){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}}(i),t="fixed"===l?0:window.pageYOffset,n=e[p]+t;n===(null==g?void 0:g.offset)&&e.left===(null==g?void 0:g.rect.left)&&e.width===(null==g?void 0:g.rect.width)||h({offset:n,rect:e})}},[i,l,p,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);ni(function(){v()},[v]);var y=t.useCallback(function(){"function"==typeof u.current&&(u.current(),u.current=null),i&&c.current&&(u.current=ti(i,c.current,v,{elementResize:"ResizeObserver"in window}))},[i,v]);ni(function(){y()},[y]);var I=t.useCallback(function(e){c.current=e,y()},[y]);if(!n&&"fixed"!==l||!g)return null;var x=Sr("div",bn({ref:I},ci(Wn(Wn({},e),{},{offset:g.offset,position:l,rect:g.rect}),"menuPortal",{"menu-portal":!0}),a),o);return Sr(Ei.Provider,{value:b},n?r.createPortal(x,n):x)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,r=jn(e,Ai);return Sr("div",bn({},ci(Wn(Wn({},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=jn(e,Ci);return Sr("div",bn({},ci(Wn(Wn({},r),{},{children:n,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),n)},MultiValue:ta,MultiValueContainer:ea,MultiValueLabel:ea,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Sr("div",bn({role:"button"},n),t||Sr(Hi,{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 Sr("div",bn({},ci(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 Sr("div",bn({},ci(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,o=e.isDisabled,r=e.isRtl;return Sr("div",bn({},ci(e,"container",{"--is-disabled":o,"--is-rtl":r}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,o=e.innerProps;return Sr("div",bn({},ci(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 Sr("div",bn({},ci(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":r}),n),t)}},oa=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function ra(e,t){return e===t||!(!oa(e)||!oa(t))}function ia(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!ra(e[n],t[n]))return!1;return!0}for(var aa="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)."}},sa=function(e){return Sr("span",bn({css:aa},e))},la={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:"",".")}},ca=function(e){var n=e.ariaSelection,o=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,a=e.isFocused,s=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,f=l.inputValue,b=l.isMulti,m=l.isOptionDisabled,g=l.isSearchable,h=l.menuIsOpen,v=l.options,y=l.screenReaderStatus,I=l.tabSelectsValue,x=l.isLoading,C=l["aria-label"],A=l["aria-live"],w=t.useMemo(function(){return Wn(Wn({},la),d||{})},[d]),G=t.useMemo(function(){var e,t="";if(n&&w.onChange){var o=n.option,r=n.options,i=n.removedValue,a=n.removedValues,l=n.value,c=i||o||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=r||a||void 0,f=d?d.map(p):[],b=Wn({isDisabled:c&&m(c,s),label:u,labels:f},n);t=w.onChange(b)}return t},[n,w,m,s,p]),N=t.useMemo(function(){var e="",t=o||r,n=!!(o&&s&&s.includes(o));if(t&&w.onFocus){var a={focused:t,label:p(t),isDisabled:m(t,s),isSelected:n,options:i,context:t===o?"menu":"value",selectValue:s,isAppleDevice:u};e=w.onFocus(a)}return e},[o,r,p,m,w,i,s,u]),E=t.useMemo(function(){var e="";if(h&&v.length&&!x&&w.onFilter){var t=y({count:i.length});e=w.onFilter({inputValue:f,resultsMessage:t})}return e},[i,f,h,w,v,y,x]),R="initial-input-focus"===(null==n?void 0:n.action),O=t.useMemo(function(){var e="";if(w.guidance){var t=r?"value":h?"menu":"input";e=w.guidance({"aria-label":C,context:t,isDisabled:o&&m(o,s),isMulti:b,isSearchable:g,tabSelectsValue:I,isInitialFocus:R})}return e},[C,o,r,b,m,g,h,w,s,I,R]),B=Sr(t.Fragment,null,Sr("span",{id:"aria-selection"},G),Sr("span",{id:"aria-focused"},N),Sr("span",{id:"aria-results"},E),Sr("span",{id:"aria-guidance"},O));return Sr(t.Fragment,null,Sr(sa,{id:c},R&&B),Sr(sa,{"aria-live":A,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!R&&B))},ua=[{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źẑżžẓẕƶȥɀⱬꝣ"}],da=new RegExp("["+ua.map(function(e){return e.letters}).join("")+"]","g"),pa={},fa=0;fa<ua.length;fa++)for(var ba=ua[fa],ma=0;ma<ba.letters.length;ma++)pa[ba.letters[ma]]=ba.base;var ga=function(e){return e.replace(da,function(e){return pa[e]})},ha=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}(ga),va=function(e){return e.replace(/^\s+|\s+$/g,"")},ya=function(e){return"".concat(e.label," ").concat(e.value)},Ia=function(e){return function(t,n){if(t.data.__isNew__)return!0;var o=Wn({ignoreCase:!0,ignoreAccents:!0,stringify:ya,trim:!0,matchFrom:"any"},e),r=o.ignoreCase,i=o.ignoreAccents,a=o.stringify,s=o.trim,l=o.matchFrom,c=s?va(n):n,u=s?va(a(t)):a(t);return r&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=ha(c),u=ga(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},xa=["innerRef"];function Ca(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=Hn(e,1)[0];return!n.includes(t)});return r.reduce(function(e,t){var n=Hn(t,2),o=n[0],r=n[1];return e[o]=r,e},{})}(jn(e,xa),"onExited","in","enter","exit","appear");return Sr("input",bn({ref:t},n,{css:Tr({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 Aa=["boxSizing","height","overflow","paddingRight","position"],wa={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Ga(e){e.cancelable&&e.preventDefault()}function Na(e){e.stopPropagation()}function Ea(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Ra(){return"ontouchstart"in window||navigator.maxTouchPoints}var Oa=!("undefined"==typeof window||!window.document||!window.document.createElement),Ba=0,ka={capture:!1,passive:!1};var Sa=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Ta="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFd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SxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+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 Va(e){var n=e.children,o=e.lockEnabled,r=e.captureEnabled,i=function(e){var n=e.isEnabled,o=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,s=t.useRef(!1),l=t.useRef(!1),c=t.useRef(0),u=t.useRef(null),d=t.useCallback(function(e,t){if(null!==u.current){var n=u.current,c=n.scrollTop,d=n.scrollHeight,p=n.clientHeight,f=u.current,b=t>0,m=d-p-c,g=!1;m>t&&s.current&&(r&&r(e),s.current=!1),b&&l.current&&(a&&a(e),l.current=!1),b&&t>m?(o&&!s.current&&o(e),f.scrollTop=d,g=!0,s.current=!0):!b&&-t>c&&(i&&!l.current&&i(e),f.scrollTop=0,g=!0,l.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[o,r,i,a]),p=t.useCallback(function(e){d(e,e.deltaY)},[d]),f=t.useCallback(function(e){c.current=e.changedTouches[0].clientY},[]),b=t.useCallback(function(e){var t=c.current-e.changedTouches[0].clientY;d(e,t)},[d]),m=t.useCallback(function(e){if(e){var t=!!yi&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",f,t),e.addEventListener("touchmove",b,t)}},[b,f,p]),g=t.useCallback(function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",f,!1),e.removeEventListener("touchmove",b,!1))},[b,f,p]);return t.useEffect(function(){if(n){var e=u.current;return m(e),function(){g(e)}}},[n,m,g]),function(e){u.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),a=function(e){var n=e.isEnabled,o=e.accountForScrollbars,r=void 0===o||o,i=t.useRef({}),a=t.useRef(null),s=t.useCallback(function(e){if(Oa){var t=document.body,n=t&&t.style;if(r&&Aa.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&Ba<1){var o=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+o||0;Object.keys(wa).forEach(function(e){var t=wa[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&Ra()&&(t.addEventListener("touchmove",Ga,ka),e&&(e.addEventListener("touchstart",Ea,ka),e.addEventListener("touchmove",Na,ka))),Ba+=1}},[r]),l=t.useCallback(function(e){if(Oa){var t=document.body,n=t&&t.style;Ba=Math.max(Ba-1,0),r&&Ba<1&&Aa.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&Ra()&&(t.removeEventListener("touchmove",Ga,ka),e&&(e.removeEventListener("touchstart",Ea,ka),e.removeEventListener("touchmove",Na,ka)))}},[r]);return t.useEffect(function(){if(n){var e=a.current;return s(e),function(){l(e)}}},[n,s,l]),function(e){a.current=e}}({isEnabled:o});return Sr(t.Fragment,null,o&&Sr("div",{onClick:Sa,css:Ta}),n(function(e){i(e),a(e)}))}var Xa="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)."}},Wa=function(e){var t=e.name,n=e.onFocus;return Sr("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Xa,value:"",onChange:function(){}})};function Pa(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 Ma(){return Pa(/^Mac/i)}function Ha(){return Pa(/^iPhone/i)||Pa(/^iPad/i)||Ma()&&navigator.maxTouchPoints>1}var ja={clearIndicator:Di,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 Wn({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:Zi,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 Wn({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 Wn({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 Wn(Wn({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},$i),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 Wn({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:Si,menu:function(e,t){var n,o=e.placement,r=e.theme,i=r.borderRadius,a=r.spacing,s=r.colors;return Wn((Vn(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),Vn(n,"position","absolute"),Vn(n,"width","100%"),Vn(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 Wn({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 Wn({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 Wn({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 Wn({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:ki,option:function(e,t){var n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.theme,a=i.spacing,s=i.colors;return Wn({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 Wn({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 Wn({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 Wn({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")})}},La={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}},Za={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:mi(),captureMenuScroll:!mi(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Ia(),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 Da(e,t,n,o){return{type:"option",data:t,isDisabled:$a(e,t,n),isSelected:Ka(e,t,n),label:Ua(e,t),value:Qa(e,t),index:o}}function Fa(e,t){return e.options.map(function(n,o){if("options"in n){var r=n.options.map(function(n,o){return Da(e,n,t,o)}).filter(function(t){return Ja(e,t)});return r.length>0?{type:"group",data:n,options:r,index:o}:void 0}var i=Da(e,n,t,o);return Ja(e,i)?i:void 0}).filter(Ii)}function za(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Yn(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function Ya(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Yn(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 Ja(e,t){var n=e.inputValue,o=void 0===n?"":n,r=t.data,i=t.isSelected,a=t.label,s=t.value;return(!es(e)||!i)&&qa(e,{label:a,value:s,data:r},o)}var _a=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Ua=function(e,t){return e.getOptionLabel(t)},Qa=function(e,t){return e.getOptionValue(t)};function $a(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Ka(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=Qa(e,t);return n.some(function(t){return Qa(e,t)===o})}function qa(e,t,n){return!e.filterOption||e.filterOption(t,n)}var es=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ts=1,ns=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&&gn(e,t)}(n,t.Component);var e=function(e){var t=Fn();return function(){var n,o=Dn(e);if(t){var r=Dn(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return zn(this,n)}}(n);function n(t){var o;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(o=e.call(this,t)).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(Yn(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 _a(o.state.focusableOptionsWithIds,e)},o.getFocusableOptionsWithIds=function(){return Ya(Fa(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 ai.apply(void 0,[o.props.classNamePrefix].concat(t))},o.getOptionLabel=function(e){return Ua(o.props,e)},o.getOptionValue=function(e){return Qa(o.props,e)},o.getStyles=function(e,t){var n=o.props.unstyled,r=ja[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,Wn(Wn({},na),e.components);var e},o.buildCategorizedOptions=function(){return Fa(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return za(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(e,t){o.setState({ariaSelection:Wn({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&&ui(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 es(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||++ts),o.state.selectValue=si(t.value),t.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=_a(r,i[a])}return o}return function(e,t,n){t&&Zn(e.prototype,t),n&&Zn(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&bi(this.menuListRef,this.focusedOptionRef),(Ma()||Ha())&&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&&(bi(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(La):Wn(Wn({},La),this.props.theme):La}},{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 $a(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Ka(this.props,e,t)}},{key:"filterOption",value:function(e,t){return qa(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,o=e.inputId,r=e.inputValue,i=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=o||this.getElementId("input"),g=Wn(Wn(Wn({"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?a.createElement(u,bn({},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:i,form:s,type:"text",value:r},g)):a.createElement(Ca,bn({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ri,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,r=t.MultiValueLabel,i=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:a.createElement(l,bn({},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 a.createElement(n,bn({},c,{components:{Container:o,Label:r,Remove:i},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 a.createElement(s,bn({},c,{data:I,isDisabled:p}),this.formatOptionLabel(I,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,r=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||r)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return a.createElement(e,bn({},t,{innerProps:s,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,r=n.isLoading,i=this.state.isFocused;if(!e||!r)return null;return a.createElement(e,bn({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:i}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,r=this.props.isDisabled,i=this.state.isFocused;return a.createElement(n,bn({},o,{isDisabled:r,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,r={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return a.createElement(e,bn({},t,{innerProps:r,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,r=t.Menu,i=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,x=f.menuPlacement,C=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 o=t.type,r=t.data,i=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,f=p===r,b=i?void 0:function(){return e.onOptionHover(r)},m=i?void 0:function(){return e.selectOption(r)},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 a.createElement(u,bn({},d,{innerProps:h,data:r,isDisabled:i,isSelected:s,key:g,label:l,type:o,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 r=t.data,i=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return a.createElement(n,bn({},d,{key:l,data:r,options:i,Heading:o,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 k=h({inputValue:m});if(null===k)return null;O=a.createElement(l,d,k)}else{var S=N({inputValue:m});if(null===S)return null;O=a.createElement(c,d,S)}var T={minMenuHeight:v,maxMenuHeight:y,menuPlacement:x,menuPosition:C,menuShouldScrollIntoView:G},V=a.createElement(Ri,bn({},d,T),function(t){var n=t.ref,o=t.placerProps,s=o.placement,l=o.maxHeight;return a.createElement(r,bn({},d,T,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),a.createElement(Va,{captureEnabled:b,onTopArrive:E,onBottomArrive:R,lockEnabled:w},function(t){return a.createElement(i,bn({},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"===C?a.createElement(s,bn({},d,{appendTo:A,controlElement:this.controlRef,menuPlacement:x,menuPosition:C}),V):V}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,r=t.isMulti,i=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!o)return a.createElement(Wa,{name:i,onFocus:this.onValueInputFocus});if(i&&!o){if(r){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return a.createElement("input",{name:i,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return a.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})}):a.createElement("input",{name:i,type:"hidden",value:""});return a.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return a.createElement("input",{name:i,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,r=t.focusedValue,i=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return a.createElement(ca,bn({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:r,isFocused:i,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,r=e.ValueContainer,i=this.props,s=i.className,l=i.id,c=i.isDisabled,u=i.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return a.createElement(o,bn({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),a.createElement(t,bn({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),a.createElement(r,bn({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),a.createElement(n,bn({},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=si(u),m={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return za(Fa(e,t))}(e,b):[],h=d?Ya(Fa(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:_a(h,y),focusableOptionsWithIds:h,focusedValue:v,clearFocusValueOnUpdate:!1}}var I=null!=r&&e!==n?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},x=i,C=a&&s;return a&&!C&&(x={value:xi(f,b,b[0]||null),options:b,action:"initial-input-focus"},C=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(x=null),Wn(Wn(Wn({},m),I),{},{prevProps:e,ariaSelection:x,prevWasFocused:C})}}]),n}();ns.defaultProps=Za;var os=t.forwardRef(function(e,n){var o=function(e){var n=e.defaultInputValue,o=void 0===n?"":n,r=e.defaultMenuIsOpen,i=void 0!==r&&r,a=e.defaultValue,s=void 0===a?null:a,l=e.inputValue,c=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,f=e.onMenuOpen,b=e.value,m=jn(e,Ln),g=Hn(t.useState(void 0!==l?l:o),2),h=g[0],v=g[1],y=Hn(t.useState(void 0!==c?c:i),2),I=y[0],x=y[1],C=Hn(t.useState(void 0!==b?b:s),2),A=C[0],w=C[1],G=t.useCallback(function(e,t){"function"==typeof u&&u(e,t),w(e)},[u]),N=t.useCallback(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),v(void 0!==n?n:e)},[d]),E=t.useCallback(function(){"function"==typeof f&&f(),x(!0)},[f]),R=t.useCallback(function(){"function"==typeof p&&p(),x(!1)},[p]),O=void 0!==l?l:h,B=void 0!==c?c:I,k=void 0!==b?b:A;return Wn(Wn({},m),{},{inputValue:O,menuIsOpen:B,onChange:G,onInputChange:N,onMenuClose:R,onMenuOpen:E,value:k})}(e);return a.createElement(ns,bn({ref:n},o))}),rs=os;const is=t.memo(({options:n,className:o,controlClassName:r,value:i,isCustomStyle:a=!1,placeholder:s,required:l,onChange:c,filterOptions:u,hasError:d,error:p,menuClassName:f,helperText:b,label:m,labelClassName:g,size:h="md",variant:v="default","data-cy":y,"data-testid":I,...x})=>{const C=t.useMemo(()=>Ia(u),[u]),A=t.useMemo(()=>({control:({isFocused:e})=>Ie("sm"===h?"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&&!d,"border-input-border-critical shadow-none":d},r),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>a?e.value?"hidden":"block":"block text-icon-default "+(d?"text-icon-critical":""),singleValue:()=>Ie(a?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Ie("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",f),option:({isFocused:e,isSelected:t,label:o})=>{var r;return Ie("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,f,n,d,h]);return"unstyled"===v?e.jsx(rs,{options:n,value:i,placeholder:l?`${s}*`:s,onChange:c,filterOption:C,className:Ie("rounded-xl",o),classNames:A,"data-cy":y,"data-testid":I,...x}):e.jsxs("div",{className:"w-full",children:[m&&e.jsx("label",{className:Ie("mb-1 block text-sm font-medium text-text-secondary",g),children:m}),e.jsx(rs,{options:n,value:i,placeholder:l?`${s}*`:s,onChange:c,filterOption:C,className:Ie("rounded-xl",o),classNames:A,"data-cy":y,"data-testid":I,...x}),p&&e.jsx(Me,{className:"footnote mt-1 text-text-critical",children:p}),!p&&b&&e.jsx(Me,{className:"footnote mt-1 text-text-info",children:b})]})});is.displayName="Select";const as=({errorMessage:t,className:n,iconClassName:o,iconSize:r=52,iconName:i="dangerous",textVariant:a})=>t?e.jsxs("div",{className:Ie("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",n),"data-testid":"alert-card",children:[e.jsx("div",{children:e.jsx(Pe,{name:i,size:r,className:Ie("text-icon-critical",o)})}),e.jsx(Me,{className:Ie("body2 text-text",a),children:t})]}):null;as.displayName="AlertCard";const ss=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()},ls=t.forwardRef(({variant:t="primary_brand",isLoading:n=!1,text:o,label:r,disabled:i,fullWidth:a,buttonClassName:s,size:l={base:"medium"},as:c="button",...u},d)=>{const p=(()=>{const e=Ie((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()})(l),"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",a?"w-full":"w-auto"),o=Ie((i||n)&&"cursor-not-allowed",n&&"pl-7");return Ie(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"}[t]||"",o,s)})();let f=`button--${t}`;n&&(f+=" button--loading"),i&&(f+=" button--disabled");const b=`${f} ${p}`,m=e.jsxs(e.Fragment,{children:[n?e.jsx(Pe,{name:"progress_activity",className:"animate-spin"}):null,r?e.jsxs("span",{className:"flex flex-col",children:[e.jsx("span",{className:Ie(ss(l)),children:r}),o]}):o]});return"a"===c?e.jsx("a",{ref:d,className:Ie(b),...u,children:m}):e.jsx("button",{ref:d,className:Ie(b),disabled:i||n,...u,children:m})});ls.displayName="BrandButton";const cs=t=>{const{className:n,...o}=t;return e.jsx("div",{className:Ie("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...o})};cs.displayName="Divider";const us=t=>{const{name:n,value:o,label:r,subText:i,checked:a,onChange:s,className:l,variant:c="circle",hasError:u=!1,labelProps:d={},"data-cy":p,labelClassName:f="",disabled:b,...m}=t,g=()=>null==s?void 0:s(o||n);return e.jsxs("label",{htmlFor:n,className:Ie("flex items-center",l),"data-cy":p,...d,children:[e.jsx("input",{className:"hidden",type:"radio",name:n,value:o,checked:a,readOnly:!0,disabled:b,...m}),e.jsx(Le,{type:"button",onClick:g,disabled:b,className:Ie("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",a&&"border-[1px] border-solid border-border-brand",b&&"opacity-50"),children:a&&e.jsx("div",{className:"h-[0.875rem] w-[0.875rem] rounded-full bg-bg-fill-brand"})}),e.jsxs(Le,{type:"button",onClick:g,disabled:b,tabIndex:r?0:-1,children:[e.jsx("div",{className:Ie("text-body2 font-normal",f),children:r}),e.jsx("div",{className:"text-body1 text-text-info",children:i})]})]})};us.displayName="RadioButton";const ds=n=>{const{list:o,text:r}=n,[i,a]=t.useState(!0);return e.jsxs("div",{className:"mt-3",children:[e.jsxs(Le,{type:"button",className:"flex items-center gap-2 text-base font-semibold text-gray-900","aria-expanded":i,onClick:e=>{e.stopPropagation(),a(e=>!e)},children:[e.jsx("span",{children:r||"See details"}),e.jsx(Pe,{name:i?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e.jsx(On,{open:i,children:e.jsx("div",{className:"pt-1",children:e.jsx(He,{listItemClassName:"body3",items:o})})})]})};ds.displayName="SeeMore";const ps=({className:t="",count:n=1})=>e.jsx("div",{className:"animate-pulse space-y-4",children:Array.from({length:n}).map((n,o)=>e.jsx("div",{className:`h-8 rounded bg-skeleton-bg-start ${t}`,style:{opacity:1-.1*o}},o))});ps.displayName="Skeleton";function fs({tooltipMsg:t,className:n,children:o}){return e.jsxs(e.Fragment,{children:[e.jsx("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.jsx("span",{className:`tooltip-custom ${n||""}`,"data-text":t,children:o})]})}fs.displayName="Tooltip";exports.Accordion=Bn,exports.AlertCard=as,exports.BrandButton=ls,exports.Button=Le,exports.CallButton=_e,exports.Checkbox=kn,exports.Checklist=He,exports.Collapse=On,exports.Divider=cs,exports.Image=Fe,exports.Input=De,exports.InputField=Ze,exports.Link=je,exports.List=We,exports.ListItem=Xe,exports.MaterialIcon=Pe,exports.Modal=Rn,exports.NextImage=Ye,exports.PageSkeleton=()=>e.jsxs("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.jsx("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start","data-testid":"title"}),e.jsxs("div",{className:"item-center flex flex-col gap-6","data-testid":"subtitle",children:[e.jsx("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-start"}),e.jsx("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-start"})]}),e.jsxs("div",{className:"item-center flex flex-col gap-3","data-testid":"content",children:[e.jsx("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start"}),e.jsx("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-start"})]}),e.jsxs("div",{className:"item-center flex flex-col gap-6","data-testid":"additional-info",children:[e.jsx("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-end"}),e.jsx("div",{className:"h-5 w-full rounded-lg bg-skeleton-bg-end"})]}),e.jsx("div",{className:"item-center flex justify-center","data-testid":"cta-button",children:e.jsx("div",{className:"h-12 w-full rounded-lg bg-skeleton-bg-end md:w-[22.125rem]"})})]}),exports.RadioButton=us,exports.SeeMore=ds,exports.Select=is,exports.SelectPlanButton=({onSelect:n,speed:o,isSelected:r=!1,renderCheckPlans:i,iconSize:a=24,iconClassName:s,cta:l,techType:c,isMax:u})=>{const[d,p]=t.useState(!1),f=`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 ${r?" 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"} `,b=null==i?void 0:i({speedCardConfig:{isModalOpen:d,setModalOpen:()=>{p(!1)},speed:o,techType:c,isMax:u},cta:l});return e.jsxs(e.Fragment,{children:[e.jsxs(Le,{onClick:()=>{p(!0),n()},className:Ie(f,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${o}`,"data-track-element-clicked":"speed_plan_card",children:[e.jsx("span",{children:"Select plan"}),e.jsx(Pe,{className:Ie(s,r?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:a})]}),b]})},exports.Skeleton=ps,exports.Spinner=Je,exports.Text=Me,exports.TextInput=De,exports.Tooltip=fs,exports.ViewCartButton=t=>{const{cartTotalText:n,onClick:o,isOpen:r,...i}=t;return e.jsx(Le,{className:Ie("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:o,...i,children:e.jsxs("div",{className:"flex w-full items-center justify-center gap-2",children:[e.jsxs("div",{className:"flex flex-col items-center justify-center",children:[e.jsx(Me,{className:"label4 -mb-1 text-text",children:"View cart"}),e.jsx(Me,{className:"label3 text-text md:label1","data-testid":"cart-total",children:n})]}),e.jsx(Pe,{name:"keyboard_arrow_up",size:24,fill:0,className:Ie("h-6 w-6 transition-transform",r?"rotate-180":"rotate-0")})]})})},exports.clsx=l,exports.cx=Ie,exports.useBodyScrollLock=Ue,exports.useCarouselSwipe=function(e){const{itemCount:n,cardOffsetPercentage:o=105,swipeThreshold:r=.15,mobileBreakpoint:i=768,autoScrollInterval:a=8e3,enableAutoScroll:s=!0}=e,[l,c]=t.useState(0),[u,d]=t.useState(0),[p,f]=t.useState(!1),[b,m]=t.useState(window.innerWidth),[g,h]=t.useState(!1),v=t.useRef(null),y=t.useRef(0),I=t.useRef(null),x={CARD_OFFSET_PERCENTAGE:o,SWIPE_THRESHOLD:r,MOBILE_BREAKPOINT:i,AUTO_SCROLL_INTERVAL:a};t.useEffect(()=>{const e=()=>{var e;m((null===(e=I.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const C=t.useCallback(()=>{0!==n&&c(e=>(e+1)%n)},[n]),A=t.useCallback(()=>{0!==n&&c(e=>0===e?n-1:e-1)},[n]),w=t.useCallback(e=>{e<0||e>=n||c(e)},[n]),G=t.useCallback(e=>{y.current=e.touches[0].clientX,f(!0),v.current&&clearInterval(v.current)},[]),N=t.useCallback(e=>{if(!p)return;const t=e.touches[0].clientX-y.current;d(t)},[p]),E=t.useCallback(()=>{f(!1);const e=b*r;u>e?A():u<-e&&C(),d(0),s&&a>0&&(v.current=setInterval(()=>{C()},a))},[u,b,r,A,C,s,a]);return t.useEffect(()=>{const e=()=>{h(window.innerWidth<i)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[i]),t.useEffect(()=>{if(s&&0!==n&&0!==a)return v.current=setInterval(()=>{C()},a),()=>{v.current&&clearInterval(v.current)}},[C,n,s,a]),{currentIndex:l,swipeOffset:u,isSwiping:p,isMobile:g,containerWidth:b,containerRef:I,nextSlide:C,prevSlide:A,goToSlide:w,handleTouchStart:G,handleTouchMove:N,handleTouchEnd:E,constants:x}};
|
|
31
31
|
//# sourceMappingURL=index.js.map
|