@windstream/react-shared-components 0.1.47 → 0.1.48

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.
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
 
3
- "use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("js-base64"),r=require("js-cookie"),o=require("@contentful/rich-text-react-renderer"),i=require("@contentful/rich-text-types"),s=require("next/link"),a=require("next/image"),l=require("react-dom"),c=require("next/navigation");function u(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var d=u(t);function p(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=p(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function m(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=p(e))&&(r&&(r+=" "),r+=t);return r}const h=e=>{const t=v(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),f(n,t)||b(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},f=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?f(e.slice(1),r):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join("-");return t.validators.find(({validator:e})=>e(i))?.classGroupId},g=/^\[(.+)\]$/,b=e=>{if(g.test(e)){const t=g.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},v=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)x(n[e],r,e,t);return r},x=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:y(t,e)).classGroupId=n)}if("function"==typeof e)return I(e)?void x(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{x(o,y(t,e),n,r)})})},y=(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},I=e=>e.isThemeGetter,C=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(o,i)=>{n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}},w=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,o=0,i=0;for(let s=0;s<e.length;s++){let a=e[s];if(0===r&&0===o){if(":"===a){t.push(e.slice(i,s)),i=s+1;continue}if("/"===a){n=s;continue}}"["===a?r++:"]"===a?r--:"("===a?o++:")"===a&&o--}const s=0===t.length?e:e.substring(i),a=N(s);return{modifiers:t,hasImportantModifier:a!==s,baseClassName:a,maybePostfixModifierPosition:n&&n>i?n-i:void 0}};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},N=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,A=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let r=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)}),n.push(...r.sort()),n}},j=/\s+/;function k(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=G(e))&&(r&&(r+=" "),r+=t);return r}const G=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=G(e[r]))&&(n&&(n+=" "),n+=t);return n};function P(e,...t){let n,r,o,i=function(a){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:C(e.cacheSize),parseClassName:w(e),sortModifiers:A(e),...h(e)}))(l),r=n.cache.get,o=n.cache.set,i=s,s(a)};function s(e){const t=r(e);if(t)return t;const i=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:i}=t,s=[],a=e.trim().split(j);let l="";for(let e=a.length-1;e>=0;e-=1){const t=a[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let h=!!m,f=r(h?p.substring(0,m):p);if(!f){if(!h){l=t+(l.length>0?" "+l:l);continue}if(f=r(p),!f){l=t+(l.length>0?" "+l:l);continue}h=!1}const g=i(u).join(":"),b=d?g+"!":g,v=b+f;if(s.includes(v))continue;s.push(v);const x=o(f,h);for(let e=0;e<x.length;++e){const t=x[e];s.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return o(e,i),i}return function(){return i(k.apply(null,arguments))}}const S=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},E=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,B=/^\((?:(\w[\w-]*):)?(.+)\)$/i,T=/^\d+\/\d+$/,V=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,R=/\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$/,M=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,L=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,X=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,W=e=>T.test(e),O=e=>!!e&&!Number.isNaN(Number(e)),F=e=>!!e&&Number.isInteger(Number(e)),D=e=>e.endsWith("%")&&O(e.slice(0,-1)),Z=e=>V.test(e),z=()=>!0,H=e=>R.test(e)&&!M.test(e),Y=()=>!1,J=e=>L.test(e),U=e=>X.test(e),$=e=>!_(e)&&!re(e),Q=e=>ue(e,he,Y),_=e=>E.test(e),K=e=>ue(e,fe,H),q=e=>ue(e,ge,O),ee=e=>ue(e,pe,Y),te=e=>ue(e,me,U),ne=e=>ue(e,ve,J),re=e=>B.test(e),oe=e=>de(e,fe),ie=e=>de(e,be),se=e=>de(e,pe),ae=e=>de(e,he),le=e=>de(e,me),ce=e=>de(e,ve,!0),ue=(e,t,n)=>{const r=E.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},de=(e,t,n=!1)=>{const r=B.exec(e);return!!r&&(r[1]?t(r[1]):n)},pe=e=>"position"===e||"percentage"===e,me=e=>"image"===e||"url"===e,he=e=>"length"===e||"size"===e||"bg-size"===e,fe=e=>"length"===e,ge=e=>"number"===e,be=e=>"family-name"===e,ve=e=>"shadow"===e,xe=()=>{const e=S("color"),t=S("font"),n=S("text"),r=S("font-weight"),o=S("tracking"),i=S("leading"),s=S("breakpoint"),a=S("container"),l=S("spacing"),c=S("radius"),u=S("shadow"),d=S("inset-shadow"),p=S("text-shadow"),m=S("drop-shadow"),h=S("blur"),f=S("perspective"),g=S("aspect"),b=S("ease"),v=S("animate"),x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",re,_],y=()=>[re,_,l],I=()=>[W,"full","auto",...y()],C=()=>[F,"none","subgrid",re,_],w=()=>["auto",{span:["full",F,re,_]},F,re,_],N=()=>[F,"auto",re,_],A=()=>["auto","min","max","fr",re,_],j=()=>["auto",...y()],k=()=>[W,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],G=()=>[e,re,_],P=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",se,ee,{position:[re,_]}],E=()=>["auto","cover","contain",ae,Q,{size:[re,_]}],B=()=>[D,oe,K],T=()=>["","none","full",c,re,_],V=()=>["",O,oe,K],R=()=>[O,D,se,ee],M=()=>["","none",h,re,_],L=()=>["none",O,re,_],X=()=>["none",O,re,_],H=()=>[O,re,_],Y=()=>[W,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Z],breakpoint:[Z],color:[z],container:[Z],"drop-shadow":[Z],ease:["in","out","in-out"],font:[$],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Z],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Z],shadow:[Z],spacing:["px",O],text:[Z],"text-shadow":[Z],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",W,_,re,g]}],container:["container"],columns:[{columns:[O,_,re,a]}],"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:x()}],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:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[F,"auto",re,_]}],basis:[{basis:[W,"full","auto",a,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[O,W,"auto","initial","none",_]}],grow:[{grow:["",O,re,_]}],shrink:[{shrink:["",O,re,_]}],order:[{order:[F,"first","last","none",re,_]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:w()}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:w()}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":A()}],"auto-rows":[{"auto-rows":A()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"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:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:j()}],mx:[{mx:j()}],my:[{my:j()}],ms:[{ms:j()}],me:[{me:j()}],mt:[{mt:j()}],mr:[{mr:j()}],mb:[{mb:j()}],ml:[{ml:j()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:k()}],w:[{w:[a,"screen",...k()]}],"min-w":[{"min-w":[a,"screen","none",...k()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...k()]}],h:[{h:["screen","lh",...k()]}],"min-h":[{"min-h":["screen","lh","none",...k()]}],"max-h":[{"max-h":["screen","lh",...k()]}],"font-size":[{text:["base",n,oe,K]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,re,q]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",D,_]}],"font-family":[{font:[ie,_,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,re,_]}],"line-clamp":[{"line-clamp":[O,"none",re,q]}],leading:[{leading:[i,...y()]}],"list-image":[{"list-image":["none",re,_]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",re,_]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:G()}],"text-color":[{text:G()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[O,"from-font","auto",re,K]}],"text-decoration-color":[{decoration:G()}],"underline-offset":[{"underline-offset":[O,"auto",re,_]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",re,_]}],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",re,_]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:P()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:E()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},F,re,_],radial:["",re,_],conic:[F,re,_]},le,te]}],"bg-color":[{bg:G()}],"gradient-from-pos":[{from:B()}],"gradient-via-pos":[{via:B()}],"gradient-to-pos":[{to:B()}],"gradient-from":[{from:G()}],"gradient-via":[{via:G()}],"gradient-to":[{to:G()}],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:V()}],"border-w-x":[{"border-x":V()}],"border-w-y":[{"border-y":V()}],"border-w-s":[{"border-s":V()}],"border-w-e":[{"border-e":V()}],"border-w-t":[{"border-t":V()}],"border-w-r":[{"border-r":V()}],"border-w-b":[{"border-b":V()}],"border-w-l":[{"border-l":V()}],"divide-x":[{"divide-x":V()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":V()}],"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:G()}],"border-color-x":[{"border-x":G()}],"border-color-y":[{"border-y":G()}],"border-color-s":[{"border-s":G()}],"border-color-e":[{"border-e":G()}],"border-color-t":[{"border-t":G()}],"border-color-r":[{"border-r":G()}],"border-color-b":[{"border-b":G()}],"border-color-l":[{"border-l":G()}],"divide-color":[{divide:G()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[O,re,_]}],"outline-w":[{outline:["",O,oe,K]}],"outline-color":[{outline:G()}],shadow:[{shadow:["","none",u,ce,ne]}],"shadow-color":[{shadow:G()}],"inset-shadow":[{"inset-shadow":["none",d,ce,ne]}],"inset-shadow-color":[{"inset-shadow":G()}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:G()}],"ring-offset-w":[{"ring-offset":[O,K]}],"ring-offset-color":[{"ring-offset":G()}],"inset-ring-w":[{"inset-ring":V()}],"inset-ring-color":[{"inset-ring":G()}],"text-shadow":[{"text-shadow":["none",p,ce,ne]}],"text-shadow-color":[{"text-shadow":G()}],opacity:[{opacity:[O,re,_]}],"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":[O]}],"mask-image-linear-from-pos":[{"mask-linear-from":R()}],"mask-image-linear-to-pos":[{"mask-linear-to":R()}],"mask-image-linear-from-color":[{"mask-linear-from":G()}],"mask-image-linear-to-color":[{"mask-linear-to":G()}],"mask-image-t-from-pos":[{"mask-t-from":R()}],"mask-image-t-to-pos":[{"mask-t-to":R()}],"mask-image-t-from-color":[{"mask-t-from":G()}],"mask-image-t-to-color":[{"mask-t-to":G()}],"mask-image-r-from-pos":[{"mask-r-from":R()}],"mask-image-r-to-pos":[{"mask-r-to":R()}],"mask-image-r-from-color":[{"mask-r-from":G()}],"mask-image-r-to-color":[{"mask-r-to":G()}],"mask-image-b-from-pos":[{"mask-b-from":R()}],"mask-image-b-to-pos":[{"mask-b-to":R()}],"mask-image-b-from-color":[{"mask-b-from":G()}],"mask-image-b-to-color":[{"mask-b-to":G()}],"mask-image-l-from-pos":[{"mask-l-from":R()}],"mask-image-l-to-pos":[{"mask-l-to":R()}],"mask-image-l-from-color":[{"mask-l-from":G()}],"mask-image-l-to-color":[{"mask-l-to":G()}],"mask-image-x-from-pos":[{"mask-x-from":R()}],"mask-image-x-to-pos":[{"mask-x-to":R()}],"mask-image-x-from-color":[{"mask-x-from":G()}],"mask-image-x-to-color":[{"mask-x-to":G()}],"mask-image-y-from-pos":[{"mask-y-from":R()}],"mask-image-y-to-pos":[{"mask-y-to":R()}],"mask-image-y-from-color":[{"mask-y-from":G()}],"mask-image-y-to-color":[{"mask-y-to":G()}],"mask-image-radial":[{"mask-radial":[re,_]}],"mask-image-radial-from-pos":[{"mask-radial-from":R()}],"mask-image-radial-to-pos":[{"mask-radial-to":R()}],"mask-image-radial-from-color":[{"mask-radial-from":G()}],"mask-image-radial-to-color":[{"mask-radial-to":G()}],"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":[O]}],"mask-image-conic-from-pos":[{"mask-conic-from":R()}],"mask-image-conic-to-pos":[{"mask-conic-to":R()}],"mask-image-conic-from-color":[{"mask-conic-from":G()}],"mask-image-conic-to-color":[{"mask-conic-to":G()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:P()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:E()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",re,_]}],filter:[{filter:["","none",re,_]}],blur:[{blur:M()}],brightness:[{brightness:[O,re,_]}],contrast:[{contrast:[O,re,_]}],"drop-shadow":[{"drop-shadow":["","none",m,ce,ne]}],"drop-shadow-color":[{"drop-shadow":G()}],grayscale:[{grayscale:["",O,re,_]}],"hue-rotate":[{"hue-rotate":[O,re,_]}],invert:[{invert:["",O,re,_]}],saturate:[{saturate:[O,re,_]}],sepia:[{sepia:["",O,re,_]}],"backdrop-filter":[{"backdrop-filter":["","none",re,_]}],"backdrop-blur":[{"backdrop-blur":M()}],"backdrop-brightness":[{"backdrop-brightness":[O,re,_]}],"backdrop-contrast":[{"backdrop-contrast":[O,re,_]}],"backdrop-grayscale":[{"backdrop-grayscale":["",O,re,_]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[O,re,_]}],"backdrop-invert":[{"backdrop-invert":["",O,re,_]}],"backdrop-opacity":[{"backdrop-opacity":[O,re,_]}],"backdrop-saturate":[{"backdrop-saturate":[O,re,_]}],"backdrop-sepia":[{"backdrop-sepia":["",O,re,_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",re,_]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[O,"initial",re,_]}],ease:[{ease:["linear","initial",b,re,_]}],delay:[{delay:[O,re,_]}],animate:[{animate:["none",v,re,_]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,re,_]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:L()}],"rotate-x":[{"rotate-x":L()}],"rotate-y":[{"rotate-y":L()}],"rotate-z":[{"rotate-z":L()}],scale:[{scale:X()}],"scale-x":[{"scale-x":X()}],"scale-y":[{"scale-y":X()}],"scale-z":[{"scale-z":X()}],"scale-3d":["scale-3d"],skew:[{skew:H()}],"skew-x":[{"skew-x":H()}],"skew-y":[{"skew-y":H()}],transform:[{transform:[re,_,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Y()}],"translate-x":[{"translate-x":Y()}],"translate-y":[{"translate-y":Y()}],"translate-z":[{"translate-z":Y()}],"translate-none":["translate-none"],accent:[{accent:G()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:G()}],"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",re,_]}],"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":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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",re,_]}],fill:[{fill:["none",...G()]}],"stroke-w":[{stroke:[O,oe,K,q]}],stroke:[{stroke:["none",...G()]}],"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"]}},ye=(e,t,n)=>{void 0!==n&&(e[t]=n)},Ie=(e,t)=>{if(t)for(const n in t)ye(e,n,t[n])},Ce=(e,t)=>{if(t)for(const n in t)we(e,t,n)},we=(e,t,n)=>{const r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},Ne=((e,...t)=>"function"==typeof e?P(xe,e,...t):P(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:o={},override:i={}})=>(ye(e,"cacheSize",t),ye(e,"prefix",n),ye(e,"experimentalParseClassName",r),Ie(e.theme,i.theme),Ie(e.classGroups,i.classGroups),Ie(e.conflictingClassGroups,i.conflictingClassGroups),Ie(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),ye(e,"orderSensitiveModifiers",i.orderSensitiveModifiers),Ce(e.theme,o.theme),Ce(e.classGroups,o.classGroups),Ce(e.conflictingClassGroups,o.conflictingClassGroups),Ce(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),we(e,o,"orderSensitiveModifiers"),e))(xe(),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"]}}}),Ae=(...e)=>Ne(m(...e));const je=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const ke=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,Ge=e=>{if(!e)return null;if(ke(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return ke(t)?t:null}return null},Pe={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},Se=t.forwardRef(({children:t,className:n="",variant:r="unstyled",style:o,...i},s)=>{const a=Ae("unstyled"===r?"":"mb-1 leading-6","list-item",`list-item--${r}`,n);return e.jsx("li",{ref:s,className:a,style:o,...i,children:t})});Se.displayName="ListItem";const Ee=t.forwardRef(({type:t="ul",items:n,className:r="",renderItem:o,children:i,variant:s="unstyled",style:a,...l},c)=>{const u=(()=>{if("unstyled"===s)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=Ae(u,`list--${t}`,`list--${s}`,r),p=i||(n&&0!==n.length?n.map((t,n)=>o?o(t,n):e.jsx(Se,{className:t.className,variant:s,children:t.content},t.id||n)):null),m={className:d,style:a,...l,children:p};return"ol"===t?e.jsx("ol",{...m,ref:c}):e.jsx("ul",{...m,ref:c})});Ee.displayName="List";const Be=({name:t,fill:n=0,opticalSize:r="48dp",weight:o="200",emphasis:i=145,size:s=24,color:a="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${o}, 'GRAD' ${i}, 'opsz' ${r.substring(0,2)}`,fontSize:`${s}px`,fontFamily:"'Material Symbols Rounded'",color:a||"currentColor",...l};return e.jsx("span",{style:p,className:Ae("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};Be.displayName="MaterialIcon";const Te=t.forwardRef(({children:e,as:n,className:r="",style:o,...i},s)=>{const a=n||"p";return t.createElement(a,{ref:s,className:r,style:o,...i},e)});Te.displayName="Text";const Ve=t=>{const{items:n,listIconName:r="check",listItemClassName:o,listContainerClassName:i,iconSize:s=20,iconPosition:a="center",iconColor:l="green",iconClassName:c}=t,u="disc"!==r;return(null==n?void 0:n.length)?e.jsx(Ee,{className:Ae("mt-2 space-y-1",i),variant:u?"unstyled":"default",children:n.map((t,n)=>e.jsxs(Se,{variant:u?"unstyled":"default",className:Ae(`${u?"flex":""} ${"top"===a?"items-start":"items-center"} gap-2 text-text-secondary`,o),children:[u&&e.jsx("div",{className:"flex leading-none",children:e.jsx(Be,{name:r,size:s,color:Pe[l],weight:"600",className:Ae("block","top"===a?"mt-1":"",c)})}),e.jsx(Te,{as:"div",children:t})]},n))}):null};Ve.displayName="Checklist";const Re=t.forwardRef(({children:t,href:n,className:r="",onClick:o,variant:i="unstyled",style:a,external:l=!1,disabled:c=!1,...u},d)=>{const p=(()=>{if("unstyled"===i)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[i]||e.default,t].filter(Boolean).join(" ")})(),m=e=>{c?e.preventDefault():null==o||o(e)},h=Ae(p,`link--${i}`,c&&"link--disabled",r),f={...u,ref:d,className:h,style:a,href:c?void 0:n,onClick:m,...l&&!c&&{target:"_blank",rel:"noopener noreferrer"},...c&&{"aria-disabled":!0,tabIndex:-1}};return l||"string"==typeof n&&n.startsWith("http")?e.jsx("a",{...f,children:t}):e.jsx(s,{href:n||"#",className:h,onClick:m,...u,children:t})});Re.displayName="Link";const Me={renderMark:{[i.MARKS.BOLD]:t=>e.jsx("strong",{className:"label3",children:t}),[i.MARKS.ITALIC]:t=>e.jsx("em",{children:t}),[i.MARKS.UNDERLINE]:t=>e.jsx("u",{children:t}),[i.MARKS.CODE]:t=>e.jsx("code",{children:t})},renderNode:{[i.BLOCKS.PARAGRAPH]:(t,n)=>e.jsx("div",{className:"body3 mb-4",children:n}),[i.BLOCKS.HEADING_1]:(t,n)=>e.jsx(Te,{as:"h1",className:"heading2 md:heading1",children:n}),[i.BLOCKS.HEADING_2]:(t,n)=>e.jsx(Te,{as:"h2",className:"heading6 md:heading5",children:n}),[i.BLOCKS.HEADING_3]:(t,n)=>e.jsx(Te,{as:"h3",className:"heading6 md:heading5",children:n}),[i.BLOCKS.HEADING_4]:(t,n)=>e.jsx(Te,{as:"h3",className:"headingClass",children:n}),[i.BLOCKS.HEADING_5]:(t,n)=>e.jsx(Te,{as:"h3",className:"heading6 md:heading5",children:n}),[i.BLOCKS.HEADING_6]:(t,n)=>e.jsx(Te,{as:"h3",className:"heading6",children:n}),[i.BLOCKS.QUOTE]:(t,n)=>e.jsx("blockquote",{children:n}),[i.BLOCKS.UL_LIST]:(t,n)=>e.jsx("ul",{children:n}),[i.BLOCKS.OL_LIST]:(t,n)=>e.jsx("ol",{children:n}),[i.BLOCKS.LIST_ITEM]:(t,n)=>e.jsx("li",{children:n}),[i.INLINES.HYPERLINK]:(t,n)=>{var r;const o=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.uri,i=/^https?:\/\//.test(o);return e.jsx("a",{href:o,target:i?"_blank":void 0,rel:i?"noopener noreferrer":void 0,children:n})},[i.BLOCKS.EMBEDDED_ASSET]:t=>{var n,r;const o=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target,i=null==o?void 0:o.fields,s=(null==o?void 0:o.url)||(null===(r=null==i?void 0:i.file)||void 0===r?void 0:r.url),a=(null==i?void 0:i.title)||(null==i?void 0:i.description)||"Embedded asset";if(!s)return null;const l=s.startsWith("//")?`https:${s}`:s;return e.jsx("img",{src:l,alt:a,style:{maxWidth:"100%"}})},[i.BLOCKS.EMBEDDED_ENTRY]:t=>{var n,r,o,i;const s=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target;return"callout"===(null===(i=null===(o=null===(r=null==s?void 0:s.sys)||void 0===r?void 0:r.contentType)||void 0===o?void 0:o.sys)||void 0===i?void 0:i.id)?e.jsxs("aside",{style:{border:"1px solid #ddd",padding:12,borderRadius:8},children:[e.jsx("strong",{children:s.fields.title}),e.jsx("div",{children:s.fields.body})]}):null},[i.INLINES.EMBEDDED_ENTRY]:t=>{var n,r,o,i,s,a;const l=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target;return"componentCheckList"===(null===(i=null===(o=null===(r=null==l?void 0:l.sys)||void 0===r?void 0:r.contentType)||void 0===o?void 0:o.sys)||void 0===i?void 0:i.id)?e.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:"4px",padding:"2px 6px",backgroundColor:"#f0fdf4",border:"1px solid #bbf7d0",borderRadius:"4px",fontSize:"0.9em"},children:["✅ ",l.fields.title]}):e.jsx("span",{children:null!==(a=null===(s=null==l?void 0:l.fields)||void 0===s?void 0:s.title)&&void 0!==a?a:""})}}};function Le(t,n,r="body1",s="body1 font-bold",a){if(!t||!Array.isArray(t.content))return null;const l={...Me,...a,renderNode:{...Me.renderNode,...null==a?void 0:a.renderNode,[i.BLOCKS.PARAGRAPH]:(t,n)=>e.jsx("div",{className:r,children:n}),[i.INLINES.HYPERLINK]:(t,r)=>{var o;const i=null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.uri,a=/^https?:\/\//.test(i),l=null!=n?n:a;return e.jsx(Re,{href:i,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,variant:"default",className:s,children:r})}}};return o.documentToReactComponents(t,l)}const Xe={renderMark:{[i.MARKS.BOLD]:e=>t.createElement("span",{className:"label1"},e)}};const We=t.forwardRef(({children:t,className:n="",style:r,disabled:o,...i},s)=>e.jsx("button",{ref:s,className:Ae(n),style:r,disabled:o,...i,children:t}));We.displayName="Button";const Oe=n=>{const{open:r,children:o}=n,i=t.useRef(null),[s,a]=t.useState(0);return t.useEffect(()=>{const e=i.current;if(!e)return;const t=()=>{a(r?e.scrollHeight:0)};let n;return t(),r&&(n=new ResizeObserver(()=>t()),n.observe(e)),()=>{n&&n.disconnect()}},[r,o]),e.jsx("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:s,opacity:r?1:0},"aria-hidden":!r,children:e.jsx("div",{ref:i,children:o})})};Oe.displayName="Collapse";const Fe=n=>{const{title:r,defaultOpen:o,children:i,containerClassName:s,titleClassName:a,className:l,buttonClassName:c,iconClassName:u,openOnlyOnDesktop:d,borderRadiusNone:p=!1}=n,[m,h]=t.useState(Boolean(!1));return t.useEffect(()=>{if(d){const e=window.innerWidth>=1024;h(e)}else h(Boolean(o))},[d,o]),e.jsxs("div",{className:Ae(p?"rounded-none border":"rounded-surface-xs border",s),children:[e.jsxs(We,{type:"button",className:Ae(p?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",c),onClick:()=>h(e=>!e),children:[e.jsx("span",{className:Ae("label5 flex-1",a),children:r}),e.jsx(Be,{className:Ae("flex-shrink-0",u),name:m?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e.jsx(Oe,{open:m,children:e.jsx("div",{className:Ae("px-4 py-4",l),children:i})})]})};Fe.displayName="Accordion";const De=t=>{const{className:n,...r}=t;return e.jsx("div",{className:Ae("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...r})};De.displayName="Divider";const Ze=({href:t,title:n,description:r,date:o,category:i,image:l,readMoreText:c="Read more",asGrid:u=!0,lgWidth:d,mdWidth:p,index:m})=>{const h=u?"flex h-full flex-col overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop":`callout-card lg:w-[calc(33.3333%-1rem)] md:w-[calc(50%-1rem)] ${d} ${p} w-full overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop`;return e.jsxs("article",{className:h,"data-section-type":"blog-card","data-section-index":m,children:[e.jsx(s,{href:t,tabIndex:-1,"aria-hidden":"true",className:"block",children:e.jsx("div",{className:"h-[232px] w-full flex-shrink-0 overflow-hidden bg-gray-100",children:l?e.jsx(a,{src:l.src,alt:l.alt,width:l.width,height:l.height,className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"}):e.jsx("div",{className:"h-full w-full bg-gradient-to-br from-gray-200 to-gray-100","aria-hidden":"true"})})}),e.jsxs("div",{className:"flex flex-1 flex-col gap-5 p-6 md:p-8",children:[e.jsxs("div",{className:"flex items-center gap-2 text-[13px]",children:[e.jsx("span",{className:"body2 text-text-brand",children:i}),o&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"footnote text-text","aria-hidden":"true",children:"•"}),e.jsx("time",{className:"body2 text-text",children:o})]})]}),n&&e.jsx(s,{href:t,className:"heading6 m-0 line-clamp-3 font-black transition-colors duration-150 hover:text-text-brand",children:n}),r&&e.jsx(Te,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:r}),e.jsxs(s,{href:t,className:"group mt-auto inline-flex items-center justify-start gap-2 pt-3 text-sm text-text-brand no-underline","aria-label":`${c} about ${n||"this article"}`,children:[e.jsx(Te,{"aria-label":`${c} about ${n||"this article"}`,className:"label1 text-nowrap",children:c}),e.jsx(Be,{name:"expand_circle_right",fill:1,size:24,weight:"200"})]})]})]})},ze=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()},He=t.forwardRef(({variant:t="primary_brand",isLoading:n=!1,text:r,label:o,disabled:i,fullWidth:s,buttonClassName:a,size:l={base:"medium"},as:c="button",...u},d)=>{const p=(()=>{const e=Ae((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",s?"w-full":"w-auto"),r=Ae((i||n)&&"cursor-not-allowed",n&&"pl-7");return Ae(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]||"",r,a)})();let m=`button--${t}`;n&&(m+=" button--loading"),i&&(m+=" button--disabled");const h=`${m} ${p}`,f=e.jsxs(e.Fragment,{children:[n?e.jsx(Be,{name:"progress_activity",className:"animate-spin"}):null,o?e.jsxs("span",{className:"flex flex-col",children:[e.jsx("span",{className:Ae(ze(l)),children:o}),r]}):r]});return"a"===c?e.jsx("a",{ref:d,className:Ae(h),...u,children:f}):e.jsx("button",{ref:d,className:Ae(h),disabled:i||n,...u,children:f})});He.displayName="BrandButton";const Ye=t=>{const{showButtonAs:n="solid",buttonVariant:r="primary_brand",buttonLabel:o,buttonPrefix:i,href:s,target:a="_blank",anchorId:l,linkClassName:c,linkVariant:u,fullWidth:d,preDefinedFunctionExecution:p,renderCheckPlans:m,buttonClassName:h,clickToOpen:f,tabmodalNameToOpen:g,onModalButtonClick:b,onClick:v,iconName:x,iconFill:y=0,size:I,iconSize:C=24,preserveQueryParameters:w,...N}=t;if("check availability"===p){return null==m?void 0:m({ctaText:o,buttonVariant:r,showButtonAs:n,cta:{...t}})}function A(){"modal"===f&&(null==b||b(g))}function j(e){A(),null==v||v(e)}function k(e){A(),null==v||v(e)}const G="undefined"!=typeof window?window.location.search:"",P=s&&w&&G?function(e,t){if(!t)return e;const n=new URLSearchParams(t),r=new Set(je),o=new Set([...r,"searchtext","page"]);let i,s;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);i=t.origin+t.pathname,s=t.searchParams}else{const[t,n]=e.split("?");i=t,s=new URLSearchParams(n||"")}}catch(t){return e}const a=new URLSearchParams(s);n.forEach((e,t)=>{o.has(t.toLowerCase())||a.has(t)||a.set(t,e)});const l=a.toString();return l?`${i}?${l}`:i}(s,G):s;let S=e.jsx(We,{onClick:k,className:h,...N});switch(n){case"solid":S=P?e.jsx(He,{as:"a",href:P,id:l,variant:r,text:o,label:i,fullWidth:d,buttonClassName:h,size:I,onClick:j}):e.jsx(He,{id:l,variant:r,text:o,label:i,fullWidth:d,size:I,onClick:k,buttonClassName:h});break;case"text":S=e.jsxs(Re,{href:P,target:a,variant:u||"default",className:`text-text-brand ${c||""}`,onClick:j,children:[o," ",x&&e.jsx(Be,{name:x,size:C,fill:y})]})}return S},Je={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},Ue=({src:e,width:t,quality:n})=>{const r=new URL(e);return r.searchParams.set("w",String(t)),r.searchParams.set("q",String(n||90)),r.searchParams.set("fm","webp"),r.toString()},$e=t.forwardRef(({className:t,...n},r)=>{const o="string"==typeof n.src?n.src:"",i=o.toLowerCase().split("?")[0]||"",s=o.includes("images.ctfassets.net"),l=s&&i.endsWith(".svg"),c=s&&!l?{loader:Ue,unoptimized:!1}:{unoptimized:l};return e.jsx(a,{ref:r,className:Ae(t),...n,...c})});$e.displayName="NextImage";const Qe=({card:t,lgWidth:n,mdWidth:r})=>{var o,i,s;const a=(null===(o=t.imageAlignment)||void 0===o?void 0:o.toLowerCase())||"left",l="left"===a?"lg:items-start":"right"===a?"lg:items-end":"lg:items-center";return e.jsx("div",{className:`callout-card ${r} ${n} w-full ${null!==(s=Je[null!==(i=t.backgroundColor)&&void 0!==i?i:""])&&void 0!==s?s:""}`,children:e.jsxs("div",{className:`card-template flex h-full flex-col gap-6 p-6 text-center md:gap-8 md:p-8 ${l}`,children:[e.jsx("div",{className:"card-header",children:(t=>{var n,r,o;if(!t.image)return null;return"full"===(null===(n=t.imageView)||void 0===n?void 0:n.toLowerCase())?e.jsx($e,{width:400,height:280,src:t.image,alt:null!==(r=t.title)&&void 0!==r?r:"card-icon",className:"rounded-3xl"}):e.jsx($e,{width:88,height:88,src:t.image,alt:null!==(o=t.title)&&void 0!==o?o:"card-icon"})})(t)}),e.jsxs("div",{className:"card-body flex flex-col gap-3 text-start md:gap-4",children:[t.title&&e.jsx(Te,{as:"h5",className:"heading6 text-text md:heading5",children:t.title}),t.body&&e.jsx(Te,{as:"div",className:"body1 text-text",children:t.body})]}),t.cta&&e.jsx("div",{className:"card-footer",children:e.jsx(Ye,{linkVariant:"unstyled",linkClassName:"label1 flex items-center text-text gap-2",...t.cta,iconName:"expand_circle_right",iconFill:1})})]})})},_e=t.forwardRef(({as:t,className:n="",...r},o)=>{const i=Ae(n);if(t){const n=t;return e.jsx(n,{ref:o,className:i,...r})}return e.jsx("img",{ref:o,className:i,...r})});_e.displayName="Image";const Ke=({onSelect:n,speed:r,isSelected:o=!1,renderCheckPlans:i,iconSize:s=24,iconClassName:a,cta:l,techType:c,isMax:u})=>{const[d,p]=t.useState(!1),m=`btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${o?" 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"} `,h=null==i?void 0:i({speedCardConfig:{isModalOpen:d,setModalOpen:()=>{p(!1)},speed:r,techType:c,isMax:u},cta:l});return e.jsxs(e.Fragment,{children:[e.jsxs(We,{onClick:()=>{p(!0),n()},className:Ae(m,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${r}`,"data-track-element-clicked":"speed_plan_card",children:[e.jsx("span",{children:"Select plan"}),e.jsx(Be,{className:Ae(a,o?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),h]})},qe=({planName:n,planSubtext:r,speed:o,price:i,description:s,bestValue:a=!1,bestValueText:l="best value",giftBadge:c,innerBadge:u,theme:d="light",featuresTitle:p="Business Ready Internet features",features:m=[],isExpanded:h,onToggleExpand:f,onCtaClick:g,renderCheckPlans:b,cta:v,techType:x,ismaxSpeed:y})=>{const[I,C]=t.useState(!1),w=void 0!==h?h:I,N="dark"===d;return e.jsxs("article",{className:Ae("relative flex h-full w-full max-w-[392px] flex-col",!a&&"md:pt-[38px]"),children:[a&&e.jsx("div",{className:"label3 rounded-t-[20px] bg-bg-fill-brand-accent px-6 py-2 text-center text-text",children:l}),e.jsxs("div",{className:Ae("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",N?"text-inverse border-2 border-border-accent bg-bg-fill-inverse":"bg-bg text-text",a?"rounded-t-none border-t-0":""),children:[e.jsxs("header",{className:"overflow-none flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx(Te,{as:"h3",className:Ae("subheading2",N?"text-text-accent-on-bg-inverse":"text-text-brand"),children:n}),e.jsx(Te,{as:"p",className:"label3 text-wrap "+(N?"text-text-accent-on-bg-inverse":"text-text-brand"),children:r})]}),e.jsxs("div",{className:"flex items-start",children:[e.jsx(Te,{as:"span",className:Ae("label2 mr-1 mt-[2px]",N?"text-text-inverse":"text-text"),children:"$"}),e.jsx(Te,{as:"span",className:Ae("subheading6",N?"text-text-inverse":"text-text"),children:i.split(".")[0]}),e.jsxs(Te,{as:"span",className:Ae("label2",N?"text-text-inverse":"text-text"),children:[i.split(".")[1],"/mo"]})]})]}),e.jsx("section",{children:e.jsx(Te,{className:Ae("body2",N?"text-text-inverse":"text-text"),children:s})}),(null==c?void 0:c.length)?e.jsx("div",{className:Ae("flex-col items-center rounded-surface-sm p-2",N?"bg-bg-surface-inverse":"bg-bg-surface-info"),children:null==c?void 0:c.map(t=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(_e,{src:t.icon,alt:t.title,width:24,height:24}),e.jsx(Te,{as:"div",className:Ae("body3",N?"text-text-inverse":"text-text"),children:t.title})]},t.title))}):null,e.jsx(Ke,{onSelect:g,speed:o,isSelected:N,renderCheckPlans:b,cta:v,iconSize:40,techType:x,isMax:y}),m.length>0&&e.jsxs("section",{className:"flex flex-col gap-3",children:[e.jsxs(We,{onClick:()=>{f?f():C(!I)},className:"group flex w-full items-center gap-2 text-left",children:[e.jsx(Te,{as:"h4",className:Ae("label3",N?"text-text-inverse":"text-text"),children:p}),e.jsx(Be,{name:"keyboard_arrow_down",fill:1,size:24,className:Ae("transition-transform duration-300",w&&"rotate-180",N?"text-text-inverse":"text-text")})]}),e.jsxs("div",{className:Ae("overflow-hidden transition-all duration-200 ease-in-out",w?"opacity-100":"max-h-0 opacity-0"),children:[e.jsx("div",{className:"flex flex-col",children:e.jsx(Ve,{items:m,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:N?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(N?"text-text-inverse":"text-text")})}),(null==u?void 0:u.badgeIcon)?e.jsxs("div",{className:"flex items-center gap-2 text-center",children:[e.jsx(_e,{src:u.badgeIcon,alt:"Inner Badge",width:12,height:12}),e.jsx("span",{className:"footnote text-text",children:u.badgeText.includes("|")?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"font-bold",children:u.badgeText.split("|")[0]}),e.jsx("span",{className:"font-normal",children:u.badgeText.split("|")[1]})]}):e.jsx(Te,{className:"font-bold",children:u.badgeText})})]}):null]})]})]})]})},et=({title:t,quote:n,rating:r,author:o,role:i,avatarUrl:s,isActive:l=!1,className:c})=>e.jsxs("figure",{className:m("flex w-full flex-col gap-6 rounded-card-lg p-6 transition-all duration-300 md:gap-10 md:p-14",l?"bg-bg-surface-secondary shadow-drop":"bg-gray-50 opacity-40",c),children:[e.jsxs("div",{className:"flex flex-col justify-start gap-3 md:gap-5",children:[e.jsx("header",{children:e.jsx(Te,{as:"h3",className:"label1 text-text",children:t})}),e.jsx("blockquote",{className:"body1 text-text",children:n}),r?e.jsx("div",{className:"flex","aria-label":`Rating: ${r} out of 5`,children:[...Array(5)].map((t,n)=>e.jsx(Be,{size:24,name:"star",fill:1,className:m("h-[21px] w-[21px]",n<r?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null]}),o&&e.jsxs("figcaption",{className:"flex gap-3 md:gap-5",children:[e.jsx("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e.jsx(a,{src:s,alt:o,fill:!0,className:"object-cover",sizes:"40px"}):e.jsx("div",{className:"flex h-full w-full items-center justify-center bg-gray-500 text-xs font-bold text-white",children:o.charAt(0)})}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("cite",{className:"label3 font-bold not-italic text-text",children:o}),e.jsx(Te,{as:"p",className:"body3 text-text",children:i})]})]})]});function tt({fields:n,renderCheckPlans:r}){var o,i,s,a;const l=(null===(s=null===(i=null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||void 0===i?void 0:i[0])||void 0===s?void 0:s.benefitsExpanded)||!1,[c,u]=t.useState(l),[d,p]=t.useState({}),[m,h]=t.useState(0),f=(null===(a=null==n?void 0:n.items)||void 0===a?void 0:a.items)||[],g=f.length>2,b=t.useRef([]),v=t.useCallback(()=>{g&&h(e=>(e+3)%f.length)},[g,f.length]),x=t.useCallback(()=>{g&&h(e=>(e-3+f.length)%f.length)},[g,f.length]);if(t.useEffect(()=>{if(!g)return;const e=()=>{const e=b.current.filter(Boolean);if(0===e.length)return;e.forEach(e=>{e.style.height="auto"});const t=Math.max(...e.map(e=>e.offsetHeight));e.forEach(e=>{e.style.height=`${t}px`})};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[g,c,f.length]),!f.length&&!(null==n?void 0:n.title))return null;const y=(t,n,o=!1)=>{var i,s,a,l,m,h,f,g;const v=null===(i=null==t?void 0:t.speed)||void 0===i?void 0:i.split("|"),x=(null==v?void 0:v[0])||"",y=(null==v?void 0:v[1])||"",I=(null===(a=null===(s=null==t?void 0:t.priceSuffix)||void 0===s?void 0:s.split("/"))||void 0===a?void 0:a[0])||"00",C=`${(null==t?void 0:t.price)||"0"}.${I}`,w=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],N=(null==t?void 0:t.highlighted)||!1,A=(null===(h=null===(m=null==t?void 0:t.giftRewards)||void 0===m?void 0:m.list)||void 0===h?void 0:h.items)||[],j={badgeText:t.innerBadge||"",badgeIcon:(null===(f=t.innerBadgeIcon)||void 0===f?void 0:f.url)||""},k=o?d[n]||!1:c;return e.jsx("div",{ref:o?void 0:e=>{e&&!b.current.includes(e)&&(b.current[n]=e)},className:Ae(o?"mx-auto w-full max-w-[392px]":"flex-shrink-1 w-[392px]"),children:e.jsx(qe,{planName:x,planSubtext:y,speed:(null==t?void 0:t.speed)||"",techType:(null==t?void 0:t.techType)||"",ismaxSpeed:(null==t?void 0:t.ismaxSpeed)||"",price:C,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:A,innerBadge:j,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:N,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:w,isExpanded:k,onToggleExpand:()=>{o?p(e=>({...e,[n]:!e[n]})):u(!c)},ctaText:(null===(g=null==t?void 0:t.cta)||void 0===g?void 0:g.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:r,cta:t.cta,hostType:"smb"})},n)},I=[...f,...f,...f,...f,...f],C=2*f.length;return g?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"flex flex-col gap-6 md:hidden",children:f.map((e,t)=>y(e,t,!0))}),e.jsxs("div",{className:"relative hidden w-full md:block",children:[e.jsxs("div",{className:"pointer-events-none absolute -left-16 -right-16 top-[50%] z-30 flex -translate-y-1/2 justify-between px-4 md:px-10",children:[e.jsx(We,{onClick:v,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Previous",children:e.jsx(Be,{name:"arrow_back",size:24})}),e.jsx(We,{onClick:x,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Next",children:e.jsx(Be,{name:"arrow_forward",size:24})})]}),e.jsx("div",{className:"mx-auto max-w-[1280px] overflow-hidden",children:e.jsx("div",{className:"flex items-stretch gap-4 pb-4 transition-transform duration-500 ease-in-out",style:{transform:`translateX(calc(-${C+m} * (392px + 12px)))`},children:I.map((e,t)=>y(e,t,!1))})})]})]}):e.jsx("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-4",children:f.map((e,t)=>y(e,t))})}const nt=t.memo(({item:t,index:n,currentIndex:r,totalItems:o,swipeOffset:i,isSwiping:s,isMobile:a,containerWidth:l,cardOffsetPercentage:c})=>{let u=n-r;u>o/2&&(u-=o),u<-o/2&&(u+=o);const d=0===u,p=1===Math.abs(u),m=u*c+i/l*100,h=!a||(s?d||p:d);return e.jsx("div",{className:Ae("col-start-1 row-start-1 w-full md:max-w-[815px]","will-change-[transform,opacity]",d?"z-10":"z-5",Math.abs(u)>1?"invisible":"visible",h?"opacity-100":"opacity-0",s?"transition-opacity duration-200":"transition-[transform,opacity] duration-500 ease-[cubic-bezier(0.25,0.46,0.45,0.94)]"),style:{transform:`translateX(${m}%)`},children:e.jsx(et,{...t,isActive:d,className:"h-full"})})});nt.displayName="TestimonialCarouselSlide";const rt=({fields:n,autoScroll:r=!0,autoScrollInterval:o=8e3})=>{var i;const s=(null===(i=null==n?void 0:n.items)||void 0===i?void 0:i.items)||[];if(!s||0===s.length)return null;const a=function(e){const{itemCount:n,cardOffsetPercentage:r=105,swipeThreshold:o=.15,mobileBreakpoint:i=768,autoScrollInterval:s=8e3,enableAutoScroll:a=!0}=e,[l,c]=t.useState(0),[u,d]=t.useState(0),[p,m]=t.useState(!1),[h,f]=t.useState(window.innerWidth),[g,b]=t.useState(!1),v=t.useRef(null),x=t.useRef(0),y=t.useRef(null),I={CARD_OFFSET_PERCENTAGE:r,SWIPE_THRESHOLD:o,MOBILE_BREAKPOINT:i,AUTO_SCROLL_INTERVAL:s};t.useEffect(()=>{const e=()=>{var e;f((null===(e=y.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]),w=t.useCallback(()=>{0!==n&&c(e=>0===e?n-1:e-1)},[n]),N=t.useCallback(e=>{e<0||e>=n||c(e)},[n]),A=t.useCallback(e=>{x.current=e.touches[0].clientX,m(!0),v.current&&clearInterval(v.current)},[]),j=t.useCallback(e=>{if(!p)return;const t=e.touches[0].clientX-x.current;d(t)},[p]),k=t.useCallback(()=>{m(!1);const e=h*o;u>e?w():u<-e&&C(),d(0),a&&s>0&&(v.current=setInterval(()=>{C()},s))},[u,h,o,w,C,a,s]);return t.useEffect(()=>{const e=()=>{b(window.innerWidth<i)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[i]),t.useEffect(()=>{if(a&&0!==n&&0!==s)return v.current=setInterval(()=>{C()},s),()=>{v.current&&clearInterval(v.current)}},[C,n,a,s]),{currentIndex:l,swipeOffset:u,isSwiping:p,isMobile:g,containerWidth:h,containerRef:y,nextSlide:C,prevSlide:w,goToSlide:N,handleTouchStart:A,handleTouchMove:j,handleTouchEnd:k,constants:I}}({itemCount:s.length,cardOffsetPercentage:105,swipeThreshold:.15,mobileBreakpoint:768,autoScrollInterval:o,enableAutoScroll:r});return e.jsxs("div",{children:[e.jsxs("div",{className:"relative max-w-[1280px] md:px-11",children:[e.jsx(We,{onClick:a.prevSlide,className:"group absolute left-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Previous",children:e.jsx(Be,{name:"arrow_back",size:24})}),e.jsx(We,{onClick:a.nextSlide,className:"group absolute right-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Next",children:e.jsx(Be,{name:"arrow_forward",size:24})}),e.jsx("div",{ref:a.containerRef,className:"select-none overflow-hidden rounded-card-sm will-change-transform",onTouchStart:a.handleTouchStart,onTouchMove:a.handleTouchMove,onTouchEnd:a.handleTouchEnd,children:e.jsx("div",{className:"grid grid-cols-1 justify-items-center",children:s.map((t,n)=>e.jsx(nt,{item:t,index:n,currentIndex:a.currentIndex,totalItems:s.length,swipeOffset:a.swipeOffset,isSwiping:a.isSwiping,isMobile:a.isMobile,containerWidth:a.containerWidth,cardOffsetPercentage:a.constants.CARD_OFFSET_PERCENTAGE},n))})})]}),e.jsx("div",{className:"mt-5 flex justify-center gap-2 md:mt-10",children:s.map((t,n)=>e.jsx("button",{onClick:()=>a.goToSlide(n),className:Ae("h-2 w-2 rounded-full transition-all duration-300",a.currentIndex===n?"w-6 bg-white":"bg-bg-fill-inverse-disabled hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]})},ot=({tabs:n,activeTab:r,onChange:o,className:i})=>{const s=n.indexOf(r),a=t.useRef([]),[l,c]=t.useState({width:0,left:0});return t.useEffect(()=>{const e=a.current[s];e&&c({width:e.offsetWidth,left:e.offsetLeft})},[s,n]),e.jsx("div",{className:"flex w-full justify-center",children:e.jsxs("div",{className:Ae("relative flex w-fit gap-1 rounded-button-lg bg-bg-surface-active p-1 transition-all duration-200 ease-out",i),children:[e.jsx("div",{className:"absolute bottom-1 top-1 rounded-button bg-bg-fill-brand shadow-md transition-all duration-300 ease-out",style:{width:`${l.width}px`,left:`${l.left}px`}}),n.map((t,n)=>e.jsx("button",{ref:e=>{a.current[n]=e},onClick:()=>o(t),className:Ae("label1 relative z-10 flex min-w-[160px] items-center justify-center whitespace-nowrap rounded-button px-4 py-2.5 transition-colors duration-200 focus:outline-none active:bg-transparent",r===t?"text-text-inverse":"text-text-disabled hover:bg-bg-surface-hover"),children:t},t))]})})},it=({isHovered:t,containerClassName:n})=>e.jsx("button",{tabIndex:-1,className:`group flex h-20 w-20 items-center justify-center rounded-full bg-white shadow-xl transition-all duration-300 hover:scale-110 active:scale-95 ${n||""}`,"aria-label":"Play button",children:e.jsx(Be,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),st=n=>{const{link:r,containerClassName:o,autoplay:i=!1,debug:s=!1}=n,{href:a,embedId:l}=t.useMemo(()=>{if(!r)return{href:"",embedId:""};const e=r.toString(),t=(e=>{const t=e.split(/[?#]/)[0].replace(/\/+$/,""),n=t.match(/vimeo\.com\/(?:.*\/)?(\d{6,})/)||t.match(/player\.vimeo\.com\/video\/(\d{6,})/),r=t.split("/"),o=r[r.length-1];return(null==n?void 0:n[1])?n[1]===o?n[1]:`${n[1]}/${o}`:""})(e);return{href:e,embedId:t}},[r]);if(s&&console.log("[VimeoEmbed] href:",a,"id:",l),!l)return null;const c=function(e){try{const t=new URL(e),n=t.pathname.split("/").filter(Boolean);if("video"===n[0]&&n.length>=2){const e=n[1],r=n[2],o=`https://player.vimeo.com/video/${e}`;return r&&/^[a-f0-9]+$/i.test(r)&&t.searchParams.set("h",r),`${o}?${t.searchParams.toString()}`}return e}catch(t){return e}}(`https://player.vimeo.com/video/${l}?${new URLSearchParams({autoplay:i?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}).toString()}`);return e.jsx("div",{className:Ae("relative h-0 w-full overflow-hidden pb-[56.25%]",o),children:e.jsx("iframe",{className:"absolute left-0 top-0 h-full w-full",src:c,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};const at=n=>{const{link:r,containerClassName:o,autoplay:i=!1}=n,s=t.useMemo(()=>{if(!r)return"";const e=r.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return e&&11===e[7].length?e[7]:""},[r]),a=i?"?autoplay=1":"";return e.jsx("div",{className:Ae("relative h-0 w-full overflow-hidden pb-[56.25%]",o),children:e.jsx("iframe",{className:"absolute left-0 top-0 h-full w-full",src:`https://www.youtube.com/embed/${s}${a}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})})},lt=({link:n,anchorName:r})=>{const[o,i]=t.useState(!1),s=t.useRef(null);if(((e,n)=>{const r=t=>{var r;(null===(r=null==e?void 0:e.current)||void 0===r?void 0:r.contains(t.target))||n()};t.useEffect(()=>(document.addEventListener("click",r),()=>{document.removeEventListener("click",r)}))})(s,()=>i(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e.jsx(Ye,{...n,linkClassName:"body3 flex items-center text-text h-full",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:a,title:l,items:c}=n,u=Array.isArray(null==c?void 0:c.items)?c.items:[],d=`--link-anchor-${r}`;return e.jsxs("div",{className:"relative h-full",style:{anchorName:d},ref:s,children:[e.jsxs(Ye,{onClick:()=>i(e=>!e),"aria-expanded":o,buttonClassName:"group body3 flex h-full text-text items-center",showButtonAs:"unstyled",children:[e.jsx(Te,{as:"span",className:"group-hover:underline",children:null!=l?l:null}),e.jsx(Be,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:o?"keyboard_arrow_up":"keyboard_arrow_down"})]},a),e.jsx("div",{className:Ae("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",o&&u.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:d,top:"anchor(bottom)",left:"calc((anchor(left) + anchor(right)) / 2)",translate:"-50% 0"},children:e.jsx("ul",{className:"flex flex-col gap-2 py-2",children:u.map((t,n)=>e.jsx("li",{className:"submenu-link",children:e.jsx(Ye,{...t,linkVariant:"unstyled",linkClassName:"body3 px-4 hover:bg-bg-surface-hover flex items-center w-full h-11 text-text-link"})},`submenu-link-${n}`))})})]})},ct=({link:n})=>{const[r,o]=t.useState(!1);if(!n)return null;if((e=>"string"==typeof e.href)(n))return e.jsx(Ye,{...n,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:i,title:s,items:a}=n,l=Array.isArray(null==a?void 0:a.items)?a.items:[];return e.jsxs(e.Fragment,{children:[e.jsxs(Ye,{onClick:()=>o(e=>!e),"aria-expanded":r,buttonClassName:"label3 flex h-11 w-full items-center px-4",showButtonAs:"unstyled",children:[null!=s?s:null,e.jsx(Be,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:r?"keyboard_arrow_up":"keyboard_arrow_down"})]},i),r&&l.length>0&&e.jsx(ut,{items:l})]})},ut=({items:t})=>e.jsx("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e.jsx("li",{className:"submenu-link",children:e.jsx(Ye,{...t,linkVariant:"unstyled",linkClassName:"body3 pl-8 pr-4 flex items-center w-full h-11 text-text-link"})},`submenu-link-${n}`))},`submenu-${t.length}`),dt=t=>{const{showBlinkDot:n=!1,buttonStyle:r="primary",size:o="md",children:i,className:s,...a}=t;return e.jsxs(Re,{...a,className:Ae("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"}[o],{primary:"border-[0.727px] border-border text-text"}[r],s),children:[n?e.jsx("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[o]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[o]} -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"}[o]} items-center justify-center rounded-full bg-icon-brand`,children:e.jsx(Be,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[o],className:"text-white"})}),e.jsx("span",{className:"font-normal tracking-wide",children:i})]})};dt.displayName="CallButton";const pt=t.forwardRef((n,r)=>{const{className:o,size:i,required:s,placeholder:a,label:l,state:c,errorText:u,prefixIconName:d,prefixIconFill:p=!0,suffixIconFill:m=!1,prefixIconSize:h=24,suffixIconName:f,suffixIconSize:g=24,containerClassName:b,prefixIconClassName:v,loading:x,hasError:y,type:I,...C}=n,w=y?"error":c,[N,A]=t.useState(!1),[j,k]=t.useState(!1),[G,P]=t.useState(I||"text"),S=t.useCallback(e=>{e.stopPropagation(),P(e=>"password"===e?"text":"password")},[]);return e.jsxs("div",{className:"relative",children:[l?e.jsx("label",{htmlFor:l,className:Ae("inline-block pb-1"),children:e.jsxs(Te,{as:"span",className:"footnote text-text",children:[l,s?e.jsx("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,e.jsxs("div",{className:Ae("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"],b,(N||"hover"===w)&&!j&&"error"!==w&&"border-input-border-hover",(j||"focus"===w||"active"===w)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===w&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[d?e.jsx("div",{className:"mr-1",style:{width:h,height:h,overflow:"hidden"},children:e.jsx(Be,{name:d,fill:p?1:0,size:h,className:Ae(v)})}):null,e.jsx("input",{ref:r,id:l,disabled:x||C.disabled,className:Ae("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",o),placeholder:a,type:G,...C,onMouseOver:()=>A(!0),onMouseOut:()=>A(!1),onFocus:e=>{var t;null===(t=C.onFocus)||void 0===t||t.call(C,e),k(!0)},onBlur:e=>{var t;null===(t=C.onBlur)||void 0===t||t.call(C,e),k(!1)}}),f?e.jsx("div",{className:"ml-2",style:{width:g,height:g,overflow:"hidden"},onClick:S,children:e.jsx(Be,{name:"text"===G?"visibility":"visibility_off",size:g,fill:m?1:0})}):null]}),"error"===w&&u&&""!=u?e.jsxs(Te,{className:Ae("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e.jsx(Be,{name:"info",size:20,className:"mr-1"}),u||"Error"]}):null]})});pt.displayName="Input";const mt=n=>{var r;const{primaryNavigationLinks:o,utilityNavigationLinks:i,supportNavigationLinks:s,accountNavigationLinks:a}=n,[l,c]=t.useState(!1);t.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=l?"hidden":"unset";const e=document.getElementById("drawer-items");if(!e)return;const t=e.querySelectorAll(".focus-item"),n=t[0],r=t[t.length-1],o=e=>{var t,o,i,s;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(o=(t=r).focus)||void 0===o||o.call(t),e.preventDefault()):document.activeElement===r&&(null===(s=(i=n).focus)||void 0===s||s.call(i),e.preventDefault()))};return window.addEventListener("keydown",o),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",o)}},[l]);const u=()=>{c(!1)};return e.jsxs("div",{children:[e.jsx(Ye,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>c(!0),children:e.jsx(Be,{name:"menu"})}),l?e.jsx("div",{className:"fixed bottom-0 left-0 right-0 top-0 z-[90] h-full w-full bg-scrim-bg-modal"}):null,e.jsx("div",{className:Ae("fixed bottom-0 right-0 top-0","z-[100] h-full bg-bg px-0 py-4","transition-all duration-300 ease-in-out","block",l?"right-0":"-right-96"),id:"mobile-menu-overlay",children:e.jsxs("div",{id:"drawer-items",className:"flex h-full flex-col gap-3",children:[e.jsxs("div",{className:"flex items-center justify-between px-4",children:[e.jsx("div",{children:e.jsx(dt,{className:"border-none",href:n.invocaPhoneNumberLink,children:n.invocaPhoneNumberDisplayText})}),e.jsx("div",{children:e.jsx(Ye,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:u,children:e.jsx(Be,{name:"close"})})})]}),e.jsx(ht,{closeMenu:u,isMenuOpen:l,searchBarIconURL:"string"==typeof n.searchBarIcon?n.searchBarIcon:(null===(r=n.searchBarIcon)||void 0===r?void 0:r.url)||"",onSearch:n.onSearch||(()=>{})}),e.jsxs("div",{className:"flex-grow overflow-y-auto",children:[e.jsx("ul",{className:"mt-2 flex flex-col gap-2",children:[...o||[],...s||[],...a||[]].map((t,n)=>e.jsx("li",{children:e.jsx(ct,{link:t})},`main-menu-items-${n}`))}),e.jsx("ul",{className:"mt-2 flex gap-5 bg-bg-fill-info px-4",children:null==i?void 0:i.map((t,n)=>e.jsx("li",{children:e.jsx(Ye,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:Ae("footnote flex items-center w-full h-11 text-text-link",1===n&&"label4"),linkVariant:"unstyled"},`utility-submenu-link-btn-${t.anchorId}`)},`utility-menu-items-${n}`))})]})]})})]})},ht=n=>{const{closeMenu:r,onSearch:o,isMenuOpen:i,searchBarIconURL:s}=n,[a,l]=t.useState(""),c=t.useRef(null),u=e=>{r(),e.preventDefault(),o(a)};return t.useEffect(()=>{i||l("")},[i]),e.jsxs("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:u,children:[e.jsx($e,{src:s,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:u}),e.jsx("div",{className:"flex-grow",children:e.jsx(pt,{ref:c,className:"body3 h-[34px] rounded-none px-3 text-text",name:"search",placeholder:"Search...",value:a,onChange:e=>l(e.target.value),autoComplete:"off",containerClassName:"h-[46px] px-4 pl-0 rounded-none flex-grow border-none"})})]})},ft=n=>{const{searchBarIconURL:r,onSearch:o}=n,[i,s]=t.useState(""),a=t.useRef(null),l=e=>{e.preventDefault(),o(i)};return e.jsxs("form",{name:"searchForm",className:"flex h-9 w-60 rounded-input-xl border px-1 transition-colors focus-within:border-border-focus",onSubmit:l,children:[e.jsx($e,{src:r,width:32,height:32,alt:"Search icon",role:"button",onClick:l}),e.jsx(pt,{ref:a,className:"body3 rounded-full px-3 text-text",name:"search",placeholder:"Search...",value:i,onChange:e=>s(e.target.value),autoComplete:"off",containerClassName:"px-0 h-full border-none rounded-full"})]})},gt={closed:{opacity:0},open:{opacity:1}},bt={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},vt={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},xt=t.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),yt=t.createContext({}),It=t.createContext(null),Ct="undefined"!=typeof document,wt=Ct?t.useLayoutEffect:t.useEffect,Nt=t.createContext({strict:!1});function At(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function jt(e){return"string"==typeof e||Array.isArray(e)}function kt(e){return"object"==typeof e&&"function"==typeof e.start}const Gt=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Pt=["initial",...Gt];function St(e){return kt(e.animate)||Pt.some(t=>jt(e[t]))}function Et(e){return Boolean(St(e)||e.variants)}function Bt(e){const{initial:n,animate:r}=function(e,t){if(St(e)){const{initial:t,animate:n}=e;return{initial:!1===t||jt(t)?t:void 0,animate:jt(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,t.useContext(yt));return t.useMemo(()=>({initial:n,animate:r}),[Tt(n),Tt(r)])}function Tt(e){return Array.isArray(e)?e.join(" "):e}const Vt={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Rt={};for(const e in Vt)Rt[e]={isEnabled:t=>Vt[e].some(e=>!!t[e])};const Mt=t.createContext({}),Lt=t.createContext({}),Xt=Symbol.for("motionComponentSymbol");function Wt({preloadedFeatures:e,createVisualElement:n,useRender:r,useVisualState:o,Component:i}){e&&function(e){for(const t in e)Rt[t]={...Rt[t],...e[t]}}(e);const s=t.forwardRef(function(s,a){let l;const c={...t.useContext(xt),...s,layoutId:Ot(s)},{isStatic:u}=c,p=Bt(s),m=o(s,u);if(!u&&Ct){p.visualElement=function(e,n,r,o){const{visualElement:i}=t.useContext(yt),s=t.useContext(Nt),a=t.useContext(It),l=t.useContext(xt).reducedMotion,c=t.useRef();o=o||s.renderer,!c.current&&o&&(c.current=o(e,{visualState:n,parent:i,props:r,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:l}));const u=c.current;return t.useInsertionEffect(()=>{u&&u.update(r,a)}),wt(()=>{u&&u.render()}),t.useEffect(()=>{u&&u.updateFeatures()}),(window.HandoffAppearAnimations?wt:t.useEffect)(()=>{u&&u.animationState&&u.animationState.animateChanges()}),u}(i,m,c,n);const r=t.useContext(Lt),o=t.useContext(Nt).strict;p.visualElement&&(l=p.visualElement.loadFeatures(c,o,e,r))}return d.createElement(yt.Provider,{value:p},l&&p.visualElement?d.createElement(l,{visualElement:p.visualElement,...c}):null,r(i,s,function(e,n,r){return t.useCallback(t=>{t&&e.mount&&e.mount(t),n&&(t?n.mount(t):n.unmount()),r&&("function"==typeof r?r(t):At(r)&&(r.current=t))},[n])}(m,p.visualElement,a),m,u,p.visualElement))});return s[Xt]=i,s}function Ot({layoutId:e}){const n=t.useContext(Mt).id;return n&&void 0!==e?n+"-"+e:e}function Ft(e){function t(t,n={}){return Wt(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}const Dt=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Zt(e){return"string"==typeof e&&!e.includes("-")&&!!(Dt.indexOf(e)>-1||/[A-Z]/.test(e))}const zt={};const Ht=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Yt=new Set(Ht);function Jt(e,{layout:t,layoutId:n}){return Yt.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!zt[e]||"opacity"===e)}const Ut=e=>Boolean(e&&e.getVelocity),$t={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Qt=Ht.length;const _t=e=>t=>"string"==typeof t&&t.startsWith(e),Kt=_t("--"),qt=_t("var(--"),en=(e,t)=>t&&"number"==typeof e?t.transform(e):e,tn=(e,t,n)=>Math.min(Math.max(n,e),t),nn={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},rn={...nn,transform:e=>tn(0,1,e)},on={...nn,default:1},sn=e=>Math.round(1e5*e)/1e5,an=/(-)?([\d]*\.?[\d])+/g,ln=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,cn=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function un(e){return"string"==typeof e}const dn=e=>({test:t=>un(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),pn=dn("deg"),mn=dn("%"),hn=dn("px"),fn=dn("vh"),gn=dn("vw"),bn={...mn,parse:e=>mn.parse(e)/100,transform:e=>mn.transform(100*e)},vn={...nn,transform:Math.round},xn={borderWidth:hn,borderTopWidth:hn,borderRightWidth:hn,borderBottomWidth:hn,borderLeftWidth:hn,borderRadius:hn,radius:hn,borderTopLeftRadius:hn,borderTopRightRadius:hn,borderBottomRightRadius:hn,borderBottomLeftRadius:hn,width:hn,maxWidth:hn,height:hn,maxHeight:hn,size:hn,top:hn,right:hn,bottom:hn,left:hn,padding:hn,paddingTop:hn,paddingRight:hn,paddingBottom:hn,paddingLeft:hn,margin:hn,marginTop:hn,marginRight:hn,marginBottom:hn,marginLeft:hn,rotate:pn,rotateX:pn,rotateY:pn,rotateZ:pn,scale:on,scaleX:on,scaleY:on,scaleZ:on,skew:pn,skewX:pn,skewY:pn,distance:hn,translateX:hn,translateY:hn,translateZ:hn,x:hn,y:hn,z:hn,perspective:hn,transformPerspective:hn,opacity:rn,originX:bn,originY:bn,originZ:hn,zIndex:vn,fillOpacity:rn,strokeOpacity:rn,numOctaves:vn};function yn(e,t,n,r){const{style:o,vars:i,transform:s,transformOrigin:a}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(Kt(e)){i[e]=n;continue}const r=xn[e],d=en(n,r);if(Yt.has(e)){if(l=!0,s[e]=d,!u)continue;n!==(r.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,a[e]=d):o[e]=d}if(t.transform||(l||r?o.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let i="";for(let t=0;t<Qt;t++){const n=Ht[t];void 0!==e[n]&&(i+=`${$t[n]||n}(${e[n]}) `)}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),o?i=o(e,r?"":i):n&&r&&(i="none"),i}(e.transform,n,u,r):o.transform&&(o.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=a;o.transformOrigin=`${e} ${t} ${n}`}}const In=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Cn(e,t,n){for(const r in t)Ut(t[r])||Jt(r,n)||(e[r]=t[r])}function wn(e,n,r){const o={};return Cn(o,e.style||{},e),Object.assign(o,function({transformTemplate:e},n,r){return t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{}};return yn(t,n,{enableHardwareAcceleration:!r},e),Object.assign({},t.vars,t.style)},[n])}(e,n,r)),e.transformValues?e.transformValues(o):o}function Nn(e,t,n){const r={},o=wn(e,t,n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r}const An=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function jn(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||An.has(e)}let kn=e=>!jn(e);try{(Gn=require("@emotion/is-prop-valid").default)&&(kn=e=>e.startsWith("on")?!jn(e):Gn(e))}catch(e){}var Gn;function Pn(e,t,n){return"string"==typeof e?e:hn.transform(t+n*e)}const Sn={offset:"stroke-dashoffset",array:"stroke-dasharray"},En={offset:"strokeDashoffset",array:"strokeDasharray"};function Bn(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,d,p){if(yn(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:m,style:h,dimensions:f}=e;m.transform&&(f&&(h.transform=m.transform),delete m.transform),f&&(void 0!==o||void 0!==i||h.transform)&&(h.transformOrigin=function(e,t,n){return`${Pn(t,e.x,e.width)} ${Pn(n,e.y,e.height)}`}(f,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==t&&(m.x=t),void 0!==n&&(m.y=n),void 0!==r&&(m.scale=r),void 0!==s&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?Sn:En;e[i.offset]=hn.transform(-r);const s=hn.transform(t),a=hn.transform(n);e[i.array]=`${s} ${a}`}(m,s,a,l,!1)}const Tn=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),Vn=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Rn(e,n,r,o){const i=t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Bn(t,n,{enableHardwareAcceleration:!1},Vn(o),e.transformTemplate),{...t.attrs,style:{...t.style}}},[n]);if(e.style){const t={};Cn(t,e.style,e),i.style={...t,...i.style}}return i}function Mn(e=!1){return(n,r,o,{latestValues:i},s)=>{const a=(Zt(n)?Rn:Nn)(r,i,s,n),l=function(e,t,n){const r={};for(const o in e)"values"===o&&"object"==typeof e.values||(kn(o)||!0===n&&jn(o)||!t&&!jn(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(r,"string"==typeof n,e),c={...l,...a,ref:o},{children:u}=r,d=t.useMemo(()=>Ut(u)?u.get():u,[u]);return t.createElement(n,{...c,children:d})}}const Ln=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Xn(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}const Wn=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function On(e,t,n,r){Xn(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(Wn.has(n)?n:Ln(n),t.attrs[n])}function Fn(e,t){const{style:n}=e,r={};for(const o in n)(Ut(n[o])||t.style&&Ut(t.style[o])||Jt(o,e))&&(r[o]=n[o]);return r}function Dn(e,t){const n=Fn(e,t);for(const r in e)if(Ut(e[r])||Ut(t[r])){n[-1!==Ht.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n}function Zn(e,t,n,r={},o={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,o)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,o)),t}function zn(e){const n=t.useRef(null);return null===n.current&&(n.current=e()),n.current}const Hn=e=>Array.isArray(e),Yn=e=>Hn(e)?e[e.length-1]||0:e;function Jn(e){const t=Ut(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const Un=e=>(n,r)=>{const o=t.useContext(yt),i=t.useContext(It),s=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,i){const s={latestValues:$n(r,o,i,e),renderState:t()};return n&&(s.mount=e=>n(r,e,s)),s}(e,n,o,i);return r?s():zn(s)};function $n(e,t,n,r){const o={},i=r(e,{});for(const e in i)o[e]=Jn(i[e]);let{initial:s,animate:a}=e;const l=St(e),c=Et(e);t&&c&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let u=!!n&&!1===n.initial;u=u||!1===s;const d=u?a:s;if(d&&"boolean"!=typeof d&&!kt(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=Zn(e,t);if(!n)return;const{transitionEnd:r,transition:i,...s}=n;for(const e in s){let t=s[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(o[e]=t)}for(const e in r)o[e]=r[e]})}return o}const Qn={useVisualState:Un({scrapeMotionValuesFromProps:Dn,createRenderState:Tn,onMount:(e,t,{renderState:n,latestValues:r})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}Bn(n,r,{enableHardwareAcceleration:!1},Vn(t.tagName),e.transformTemplate),On(t,n)}})},_n={useVisualState:Un({scrapeMotionValuesFromProps:Fn,createRenderState:In})};function Kn(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const qn=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function er(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function tr(e,t,n,r){return Kn(e,t,(e=>t=>qn(t)&&e(t,er(t)))(n),r)}const nr=(e,t)=>n=>t(e(n)),rr=(...e)=>e.reduce(nr);function or(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const ir=or("dragHorizontal"),sr=or("dragVertical");function ar(e){let t=!1;if("y"===e)t=sr();else if("x"===e)t=ir();else{const e=ir(),n=sr();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function lr(){const e=ar(!0);return!e||(e(),!1)}class cr{constructor(e){this.isMounted=!1,this.node=e}update(){}}const ur={delta:0,timestamp:0,isProcessing:!1};let dr=!0,pr=!1;const mr=["read","update","preRender","render","postRender"],hr=mr.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,o=!1,i=!1;const s=new WeakSet,a={schedule:(e,i=!1,a=!1)=>{const l=a&&o,c=l?t:n;return i&&s.add(e),-1===c.indexOf(e)&&(c.push(e),l&&o&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),s.delete(e)},process:l=>{if(o)i=!0;else{if(o=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(l),s.has(r)&&(a.schedule(r),e())}o=!1,i&&(i=!1,a.process(l))}}};return a}(()=>pr=!0),e),{}),fr=e=>hr[e].process(ur),gr=e=>{pr=!1,ur.delta=dr?1e3/60:Math.max(Math.min(e-ur.timestamp,40),1),ur.timestamp=e,ur.isProcessing=!0,mr.forEach(fr),ur.isProcessing=!1,pr&&(dr=!1,requestAnimationFrame(gr))},br=mr.reduce((e,t)=>{const n=hr[t];return e[t]=(e,t=!1,r=!1)=>(pr||(pr=!0,dr=!0,ur.isProcessing||requestAnimationFrame(gr)),n.schedule(e,t,r)),e},{});function vr(e){mr.forEach(t=>hr[t].cancel(e))}function xr(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return tr(e.current,n,(n,o)=>{if("touch"===n.type||lr())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[r]&&br.update(()=>i[r](n,o))},{passive:!e.getProps()[r]})}const yr=(e,t)=>!!t&&(e===t||yr(e,t.parentElement)),Ir=e=>e;function Cr(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,er(n))}const wr=new WeakMap,Nr=new WeakMap,Ar=e=>{const t=wr.get(e.target);t&&t(e)},jr=e=>{e.forEach(Ar)};function kr(e,t,n){const r=function({root:e,...t}){const n=e||document;Nr.has(n)||Nr.set(n,{});const r=Nr.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(jr,{root:e,...t})),r[o]}(t);return wr.set(e,n),r.observe(e),()=>{wr.delete(e),r.unobserve(e)}}const Gr={some:0,all:1};const Pr={inView:{Feature:class extends cr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:Gr[r]};return kr(this.node.current,i,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=t?n:r;i&&i(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends cr{constructor(){super(...arguments),this.removeStartListeners=Ir,this.removeEndListeners=Ir,this.removeAccessibleListeners=Ir,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=tr(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();br.update(()=>{yr(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),o=tr(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=rr(r,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Kn(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Kn(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&Cr("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&br.update(()=>n(e,t))})}),Cr("down",(e,t)=>{this.startPress(e,t)})}),t=Kn(this.node.current,"blur",()=>{this.isPressing&&Cr("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=rr(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&br.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!lr()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&br.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=tr(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Kn(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=rr(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends cr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=rr(Kn(this.node.current,"focus",()=>this.onFocus()),Kn(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends cr{mount(){this.unmount=rr(xr(this.node,!0),xr(this.node,!1))}unmount(){}}}};function Sr(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Er(e,t,n){const r=e.getProps();return Zn(r,t,void 0!==n?n:r.custom,function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}const Br="data-"+Ln("framerAppearId");let Tr=Ir,Vr=Ir;"production"!==process.env.NODE_ENV&&(Tr=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},Vr=(e,t)=>{if(!e)throw new Error(t)});const Rr=e=>1e3*e,Mr=e=>e/1e3,Lr=!1,Xr=e=>Array.isArray(e)&&"number"==typeof e[0];function Wr(e){return Boolean(!e||"string"==typeof e&&Fr[e]||Xr(e)||Array.isArray(e)&&e.every(Wr))}const Or=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Fr={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Or([0,.65,.55,1]),circOut:Or([.55,0,1,.45]),backIn:Or([.31,.01,.66,-.59]),backOut:Or([.33,1.53,.69,.99])};function Dr(e){if(e)return Xr(e)?Or(e):Array.isArray(e)?e.map(Dr):Fr[e]}const Zr={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},zr={},Hr={};for(const e in Zr)Hr[e]=()=>(void 0===zr[e]&&(zr[e]=Zr[e]()),zr[e]);const Yr=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Jr(e,t,n,r){if(e===t&&n===r)return Ir;const o=t=>function(e,t,n,r,o){let i,s,a=0;do{s=t+(n-t)/2,i=Yr(s,r,o)-e,i>0?n=s:t=s}while(Math.abs(i)>1e-7&&++a<12);return s}(t,0,1,e,n);return e=>0===e||1===e?e:Yr(o(e),t,r)}const Ur=Jr(.42,0,1,1),$r=Jr(0,0,.58,1),Qr=Jr(.42,0,.58,1),_r=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Kr=e=>t=>1-e(1-t),qr=e=>1-Math.sin(Math.acos(e)),eo=Kr(qr),to=_r(eo),no=Jr(.33,1.53,.69,.99),ro=Kr(no),oo=_r(ro),io={linear:Ir,easeIn:Ur,easeInOut:Qr,easeOut:$r,circIn:qr,circInOut:to,circOut:eo,backIn:ro,backInOut:oo,backOut:no,anticipate:e=>(e*=2)<1?.5*ro(e):.5*(2-Math.pow(2,-10*(e-1)))},so=e=>{if(Array.isArray(e)){Vr(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return Jr(t,n,r,o)}return"string"==typeof e?(Vr(void 0!==io[e],`Invalid easing type '${e}'`),io[e]):e},ao=(e,t)=>n=>Boolean(un(n)&&cn.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),lo=(e,t,n)=>r=>{if(!un(r))return r;const[o,i,s,a]=r.match(an);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},co={...nn,transform:e=>Math.round((e=>tn(0,255,e))(e))},uo={test:ao("rgb","red"),parse:lo("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+co.transform(e)+", "+co.transform(t)+", "+co.transform(n)+", "+sn(rn.transform(r))+")"};const po={test:ao("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:uo.transform},mo={test:ao("hsl","hue"),parse:lo("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+mn.transform(sn(t))+", "+mn.transform(sn(n))+", "+sn(rn.transform(r))+")"},ho={test:e=>uo.test(e)||po.test(e)||mo.test(e),parse:e=>uo.test(e)?uo.parse(e):mo.test(e)?mo.parse(e):po.parse(e),transform:e=>un(e)?e:e.hasOwnProperty("red")?uo.transform(e):mo.transform(e)},fo=(e,t,n)=>-n*e+n*t+e;function go(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}const bo=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},vo=[po,uo,mo];function xo(e){const t=(n=e,vo.find(e=>e.test(n)));var n;Vr(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===mo&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,i=0,s=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;o=go(a,r,e+1/3),i=go(a,r,e),s=go(a,r,e-1/3)}else o=i=s=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*s),alpha:r}}(r)),r}const yo=(e,t)=>{const n=xo(e),r=xo(t),o={...n};return e=>(o.red=bo(n.red,r.red,e),o.green=bo(n.green,r.green,e),o.blue=bo(n.blue,r.blue,e),o.alpha=fo(n.alpha,r.alpha,e),uo.transform(o))};const Io={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Ir},Co={regex:ln,countKey:"Colors",token:"${c}",parse:ho.parse},wo={regex:an,countKey:"Numbers",token:"${n}",parse:nn.parse};function No(e,{regex:t,countKey:n,token:r,parse:o}){const i=e.tokenised.match(t);i&&(e["num"+n]=i.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...i.map(o)))}function Ao(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&No(n,Io),No(n,Co),No(n,wo),n}function jo(e){return Ao(e).values}function ko(e){const{values:t,numColors:n,numVars:r,tokenised:o}=Ao(e),i=t.length;return e=>{let t=o;for(let o=0;o<i;o++)t=o<r?t.replace(Io.token,e[o]):o<r+n?t.replace(Co.token,ho.transform(e[o])):t.replace(wo.token,sn(e[o]));return t}}const Go=e=>"number"==typeof e?0:e;const Po={test:function(e){var t,n;return isNaN(e)&&un(e)&&((null===(t=e.match(an))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(ln))||void 0===n?void 0:n.length)||0)>0},parse:jo,createTransformer:ko,getAnimatableNone:function(e){const t=jo(e);return ko(e)(t.map(Go))}},So=(e,t)=>n=>`${n>0?t:e}`;function Eo(e,t){return"number"==typeof e?n=>fo(e,t,n):ho.test(e)?yo(e,t):e.startsWith("var(")?So(e,t):Vo(e,t)}const Bo=(e,t)=>{const n=[...e],r=n.length,o=e.map((e,n)=>Eo(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}},To=(e,t)=>{const n={...e,...t},r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=Eo(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}},Vo=(e,t)=>{const n=Po.createTransformer(t),r=Ao(e),o=Ao(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?rr(Bo(r.values,o.values),n):(Tr(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),So(e,t))},Ro=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},Mo=(e,t)=>n=>fo(e,t,n);function Lo(e,t,n){const r=[],o=n||("number"==typeof(i=e[0])?Mo:"string"==typeof i?ho.test(i)?yo:Vo:Array.isArray(i)?Bo:"object"==typeof i?To:Mo);var i;const s=e.length-1;for(let n=0;n<s;n++){let i=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||Ir:t;i=rr(e,i)}r.push(i)}return r}function Xo(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(Vr(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=Lo(t,r,o),a=s.length,l=t=>{let n=0;if(a>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=Ro(e[n],e[n+1],t);return s[n](r)};return n?t=>l(tn(e[0],e[i-1],t)):l}function Wo(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Ro(0,t,r);e.push(fo(n,1,o))}}(t,e.length-1),t}function Oo({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(so):so(r),i={done:!1,value:t[0]},s=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Wo(t),e),a=Xo(s,t,{ease:Array.isArray(o)?o:(l=t,c=o,l.map(()=>c||Qr).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(i.value=a(t),i.done=t>=e,i)}}function Fo(e,t){return t?e*(1e3/t):0}function Do(e,t,n){const r=Math.max(t-5,0);return Fo(n-e(r),t-r)}const Zo=.001;function zo({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i;Tr(e<=Rr(10),"Spring duration must be 10 seconds or less");let s=1-t;s=tn(.05,1,s),e=tn(.01,10,Mr(e)),s<1?(o=t=>{const r=t*s,o=r*e,i=r-n,a=Yo(t,s),l=Math.exp(-o);return Zo-i/a*l},i=t=>{const r=t*s*e,i=r*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=Yo(Math.pow(t,2),s);return(-o(t)+Zo>0?-1:1)*((i-a)*l)/c}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const a=function(e,t,n){let r=n;for(let n=1;n<Ho;n++)r-=e(r)/t(r);return r}(o,i,5/e);if(e=Rr(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(a,2)*r;return{stiffness:t,damping:2*s*Math.sqrt(r*t),duration:e}}}const Ho=12;function Yo(e,t){return e*Math.sqrt(1-t*t)}const Jo=["duration","bounce"],Uo=["stiffness","damping","mass"];function $o(e,t){return t.some(t=>void 0!==e[t])}function Qo({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],i=e[e.length-1],s={done:!1,value:o},{stiffness:a,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!$o(e,Uo)&&$o(e,Jo)){const n=zo(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(r),m=u?-Mr(u):0,h=l/(2*Math.sqrt(a*c)),f=i-o,g=Mr(Math.sqrt(a/c)),b=Math.abs(f)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),h<1){const e=Yo(g,h);v=t=>{const n=Math.exp(-h*g*t);return i-n*((m+h*g*f)/e*Math.sin(e*t)+f*Math.cos(e*t))}}else if(1===h)v=e=>i-Math.exp(-g*e)*(f+(m+g*f)*e);else{const e=g*Math.sqrt(h*h-1);v=t=>{const n=Math.exp(-h*g*t),r=Math.min(e*t,300);return i-n*((m+h*g*f)*Math.sinh(r)+e*f*Math.cosh(r))/e}}return{calculatedDuration:p&&d||null,next:e=>{const r=v(e);if(p)s.done=e>=d;else{let o=m;0!==e&&(o=h<1?Do(v,e,r):0);const a=Math.abs(o)<=n,l=Math.abs(i-r)<=t;s.done=a&&l}return s.value=s.done?i:r,s}}}function _o({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},m=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let h=n*t;const f=d+h,g=void 0===s?f:s(f);g!==f&&(h=g-d);const b=e=>-h*Math.exp(-e/r),v=e=>g+b(e),x=e=>{const t=b(e),n=v(e);p.done=Math.abs(t)<=c,p.value=p.done?g:n};let y,I;const C=e=>{var t;(t=p.value,void 0!==a&&t<a||void 0!==l&&t>l)&&(y=e,I=Qo({keyframes:[p.value,m(p.value)],velocity:Do(v,e,p.value),damping:o,stiffness:i,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return I||void 0!==y||(t=!0,x(e),C(e)),void 0!==y&&e>y?I.next(e-y):(!t&&x(e),p)}}}const Ko=e=>{const t=({timestamp:t})=>e(t);return{start:()=>br.update(t,!0),stop:()=>vr(t),now:()=>ur.isProcessing?ur.timestamp:performance.now()}};function qo(e){let t=0;let n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}const ei={decay:_o,inertia:_o,tween:Oo,keyframes:Oo,spring:Qo};function ti({autoplay:e=!0,delay:t=0,driver:n=Ko,keyframes:r,type:o="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:a="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let m,h,f=1,g=!1;const b=()=>{m&&m(),h=new Promise(e=>{m=e})};let v;b();const x=ei[o]||Oo;let y;x!==Oo&&"number"!=typeof r[0]&&(y=Xo([0,100],r,{clamp:!1}),r=[0,100]);const I=x({...p,keyframes:r});let C;"mirror"===a&&(C=x({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let w="idle",N=null,A=null,j=null;null===I.calculatedDuration&&i&&(I.calculatedDuration=qo(I));const{calculatedDuration:k}=I;let G=1/0,P=1/0;null!==k&&(G=k+s,P=G*(i+1)-s);let S=0;const E=e=>{if(null===A)return;f>0&&(A=Math.min(A,e)),S=null!==N?N:(e-A)*f;const n=S-t,o=n<0;S=Math.max(n,0),"finished"===w&&null===N&&(S=P);let l=S,c=I;if(i){const e=S/G;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,i+1);const r=Boolean(t%2);r&&("reverse"===a?(n=1-n,s&&(n-=s/G)):"mirror"===a&&(c=C));let o=tn(0,1,n);S>P&&(o="reverse"===a&&r?1:0),l=o*G}const u=o?{done:!1,value:r[0]}:c.next(l);y&&(u.value=y(u.value));let{done:p}=u;o||null===k||(p=S>=P);const m=null===N&&("finished"===w||"running"===w&&p||f<0&&S<=0);return d&&d(u.value),m&&V(),u},B=()=>{v&&v.stop(),v=void 0},T=()=>{w="idle",B(),b(),A=j=null},V=()=>{w="finished",u&&u(),B(),b()},R=()=>{if(g)return;v||(v=n(E));const e=v.now();l&&l(),null!==N?A=e-N:A&&"finished"!==w||(A=e),j=A,N=null,w="running",v.start()};e&&R();const M={then:(e,t)=>h.then(e,t),get time(){return Mr(S)},set time(e){e=Rr(e),S=e,null===N&&v&&0!==f?A=v.now()-e/f:N=e},get duration(){const e=null===I.calculatedDuration?qo(I):I.calculatedDuration;return Mr(e)},get speed(){return f},set speed(e){e!==f&&v&&(f=e,M.time=Mr(S))},get state(){return w},play:R,pause:()=>{w="paused",N=S},stop:()=>{g=!0,"idle"!==w&&(w="idle",c&&c(),T())},cancel:()=>{null!==j&&E(j),T()},complete:()=>{w="finished"},sample:e=>(A=0,E(e))};return M}const ni=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function ri(e,t,{onUpdate:n,onComplete:r,...o}){if(!(Hr.waapi()&&ni.has(t)&&!o.repeatDelay&&"mirror"!==o.repeatType&&0!==o.damping&&"inertia"!==o.type))return!1;let i,s,a=!1;const l=()=>{s=new Promise(e=>{i=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=o;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!Wr(t.ease))(t,o)){const e=ti({...o,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let r=0;for(;!t.done&&r<2e4;)t=e.sample(r),n.push(t.value),r+=10;p=void 0,c=n,u=r-10,d="linear"}const m=function(e,t,n,{delay:r=0,duration:o,repeat:i=0,repeatType:s="loop",ease:a,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=Dr(a);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:"reverse"===s?"alternate":"normal"})}(e.owner.current,t,c,{...o,duration:u,ease:d,times:p}),h=()=>m.cancel(),f=()=>{br.update(h),i(),l()};return m.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,o)),r&&r(),f()},{then:(e,t)=>s.then(e,t),get time(){return Mr(m.currentTime||0)},set time(e){m.currentTime=Rr(e)},get speed(){return m.playbackRate},set speed(e){m.playbackRate=e},get duration(){return Mr(u)},play:()=>{a||(m.play(),vr(h))},pause:()=>m.pause(),stop:()=>{if(a=!0,"idle"===m.playState)return;const{currentTime:t}=m;if(t){const n=ti({...o,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}f()},complete:()=>m.finish(),cancel:f}}const oi={type:"spring",stiffness:500,damping:25,restSpeed:10},ii={type:"keyframes",duration:.8},si={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ai=(e,{keyframes:t})=>t.length>2?ii:Yt.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:oi:si,li=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Po.test(t)&&"0"!==t||t.startsWith("url("))),ci=new Set(["brightness","contrast","saturate","opacity"]);function ui(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(an)||[];if(!r)return e;const o=n.replace(r,"");let i=ci.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const di=/([a-z-]*)\(.*?\)/g,pi={...Po,getAnimatableNone:e=>{const t=e.match(di);return t?t.map(ui).join(" "):e}},mi={...xn,color:ho,backgroundColor:ho,outlineColor:ho,fill:ho,stroke:ho,borderColor:ho,borderTopColor:ho,borderRightColor:ho,borderBottomColor:ho,borderLeftColor:ho,filter:pi,WebkitFilter:pi},hi=e=>mi[e];function fi(e,t){let n=hi(e);return n!==pi&&(n=Po),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const gi=e=>/^0[^.\s]+$/.test(e);function bi(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||gi(e):void 0}function vi(e,t){return e[t]||e.default||e}const xi=(e,t,n,r={})=>o=>{const i=vi(r,e)||{},s=i.delay||r.delay||0;let{elapsed:a=0}=r;a-=Rr(s);const l=function(e,t,n,r){const o=li(t,n);let i;i=Array.isArray(n)?[...n]:[null,n];const s=void 0!==r.from?r.from:e.get();let a;const l=[];for(let e=0;e<i.length;e++)null===i[e]&&(i[e]=0===e?s:i[e-1]),bi(i[e])&&l.push(e),"string"==typeof i[e]&&"none"!==i[e]&&"0"!==i[e]&&(a=i[e]);if(o&&l.length&&a)for(let e=0;e<l.length;e++)i[l[e]]=fi(t,a);return i}(t,e,n,i),c=l[0],u=l[l.length-1],d=li(e,c),p=li(e,u);Tr(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let m={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...i,delay:-a,onUpdate:e=>{t.set(e),i.onUpdate&&i.onUpdate(e)},onComplete:()=>{o(),i.onComplete&&i.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(i)||(m={...m,...ai(e,m)}),m.duration&&(m.duration=Rr(m.duration)),m.repeatDelay&&(m.repeatDelay=Rr(m.repeatDelay)),!d||!p||Lr||!1===i.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const o=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Ir,pause:Ir,stop:Ir,then:e=>(e(),Promise.resolve()),cancel:Ir,complete:Ir});return t?ti({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}(m);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=ri(t,e,m);if(n)return n}return ti(m)};function yi(e){return Boolean(Ut(e)&&e.add)}const Ii=e=>/^\-?\d*\.?\d+$/.test(e);function Ci(e,t){-1===e.indexOf(t)&&e.push(t)}function wi(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Ni{constructor(){this.subscriptions=[]}add(e){return Ci(this.subscriptions,e),()=>wi(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let o=0;o<r;o++){const r=this.subscriptions[o];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ai=new Set;function ji(e,t,n){e||Ai.has(t)||(console.warn(t),Ai.add(t))}class ki{constructor(e,t={}){var n;this.version="10.12.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:n,timestamp:r}=ur;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,br.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>br.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(n=this.current,!isNaN(parseFloat(n))),this.owner=t.owner}onChange(e){return"production"!==process.env.NODE_ENV&&ji(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Ni);const n=this.events[e].add(t);return"change"===e?()=>{n(),br.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=e,this.timeDelta=n}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?Fo(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Gi(e,t){return new ki(e,t)}const Pi=e=>t=>t.test(e),Si=[nn,hn,mn,pn,gn,fn,{test:e=>"auto"===e,parse:e=>e}],Ei=e=>Si.find(Pi(e)),Bi=[...Si,ho,Po],Ti=e=>Bi.find(Pi(e));function Vi(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Gi(n))}function Ri(e,t){if(!t)return;return(t[e]||t.default||t).from}function Mi({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function Li(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:s,...a}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");r&&(i=r);const c=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const t in a){const r=e.getValue(t),o=a[t];if(!r||void 0===o||u&&Mi(u,t))continue;const s={delay:n,elapsed:0,...i};if(window.HandoffAppearAnimations&&!r.hasAnimated){const n=e.getProps()[Br];n&&(s.elapsed=window.HandoffAppearAnimations(n,t,r,br))}r.start(xi(t,r,o,e.shouldReduceMotion&&Yt.has(t)?{type:!1}:s));const d=r.animation;yi(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return s&&Promise.all(c).then(()=>{s&&function(e,t){const n=Er(e,t);let{transitionEnd:r={},transition:o={},...i}=n?e.makeTargetAnimatable(n,!1):{};i={...i,...r};for(const t in i)Vi(e,t,Yn(i[t]))}(e,s)}),c}function Xi(e,t,n={}){const r=Er(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const i=r?()=>Promise.all(Li(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:i=0,staggerChildren:s,staggerDirection:a}=o;return function(e,t,n=0,r=0,o=1,i){const s=[],a=(e.variantChildren.size-1)*r,l=1===o?(e=0)=>e*r:(e=0)=>a-e*r;return Array.from(e.variantChildren).sort(Wi).forEach((e,r)=>{e.notify("AnimationStart",t),s.push(Xi(e,t,{...i,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,i+r,s,a,n)}:()=>Promise.resolve(),{when:a}=o;if(a){const[e,t]="beforeChildren"===a?[i,s]:[s,i];return e().then(()=>t())}return Promise.all([i(),s(n.delay)])}function Wi(e,t){return e.sortNodePosition(t)}const Oi=[...Gt].reverse(),Fi=Gt.length;function Di(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map(t=>Xi(e,t,n));r=Promise.all(o)}else if("string"==typeof t)r=Xi(e,t,n);else{const o="function"==typeof t?Er(e,t,n.custom):t;r=Promise.all(Li(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function Zi(e){let t=Di(e);const n={animate:Hi(!0),whileInView:Hi(),whileHover:Hi(),whileTap:Hi(),whileDrag:Hi(),whileFocus:Hi(),exit:Hi()};let r=!0;const o=(t,n)=>{const r=Er(e,n);if(r){const{transition:e,transitionEnd:n,...o}=r;t={...t,...o,...n}}return t};function i(i,s){const a=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<Fi;t++){const m=Oi[t],h=n[m],f=void 0!==a[m]?a[m]:l[m],g=jt(f),b=m===s?h.isActive:null;!1===b&&(p=t);let v=f===l[m]&&f!==a[m]&&g;if(v&&r&&e.manuallyAnimateOnMount&&(v=!1),h.protectedKeys={...d},!h.isActive&&null===b||!f&&!h.prevProp||kt(f)||"boolean"==typeof f)continue;const x=zi(h.prevProp,f);let y=x||m===s&&h.isActive&&!v&&g||t>p&&g;const I=Array.isArray(f)?f:[f];let C=I.reduce(o,{});!1===b&&(C={});const{prevResolvedValues:w={}}=h,N={...w,...C},A=e=>{y=!0,u.delete(e),h.needsAnimating[e]=!0};for(const e in N){const t=C[e],n=w[e];d.hasOwnProperty(e)||(t!==n?Hn(t)&&Hn(n)?!Sr(t,n)||x?A(e):h.protectedKeys[e]=!0:void 0!==t?A(e):u.add(e):void 0!==t&&u.has(e)?A(e):h.protectedKeys[e]=!0)}h.prevProp=f,h.prevResolvedValues=C,h.isActive&&(d={...d,...C}),r&&e.blockInitialAnimation&&(y=!1),y&&!v&&c.push(...I.map(e=>({animation:e,options:{type:m,...i}})))}if(u.size){const t={};u.forEach(n=>{const r=e.getBaseTarget(n);void 0!==r&&(t[n]=r)}),c.push({animation:t})}let m=Boolean(c.length);return r&&!1===a.initial&&!e.manuallyAnimateOnMount&&(m=!1),r=!1,m?t(c):Promise.resolve()}return{animateChanges:i,setActive:function(t,r,o){var s;if(n[t].isActive===r)return Promise.resolve();null===(s=e.variantChildren)||void 0===s||s.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;const a=i(o,t);for(const e in n)n[e].protectedKeys={};return a},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function zi(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Sr(t,e)}function Hi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Yi=0;const Ji={animation:{Feature:class extends cr{constructor(e){super(e),e.animationState||(e.animationState=Zi(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),kt(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends cr{constructor(){super(...arguments),this.id=Yi++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const o=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&o.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},Ui=(e,t)=>Math.abs(e-t);class $i{constructor(e,t,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=Ki(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Ui(e.x,t.x),r=Ui(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:o}=ur;this.history.push({...r,timestamp:o});const{onStart:i,onMove:s}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Qi(t,this.transformPagePoint),br.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,o=Ki("pointercancel"===e.type?this.lastMoveEventInfo:Qi(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!qn(e))return;this.handlers=t,this.transformPagePoint=n;const r=Qi(er(e),this.transformPagePoint),{point:o}=r,{timestamp:i}=ur;this.history=[{...o,timestamp:i}];const{onSessionStart:s}=t;s&&s(e,Ki(r,this.history)),this.removeListeners=rr(tr(window,"pointermove",this.handlePointerMove),tr(window,"pointerup",this.handlePointerUp),tr(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),vr(this.updatePoint)}}function Qi(e,t){return t?{point:t(e.point)}:e}function _i(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ki({point:e},t){return{point:e,delta:_i(e,es(t)),offset:_i(e,qi(t)),velocity:ts(t,.1)}}function qi(e){return e[0]}function es(e){return e[e.length-1]}function ts(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=es(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Rr(t)));)n--;if(!r)return{x:0,y:0};const i=Mr(o.timestamp-r.timestamp);if(0===i)return{x:0,y:0};const s={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function ns(e){return e.max-e.min}function rs(e,t=0,n=.01){return Math.abs(e-t)<=n}function os(e,t,n,r=.5){e.origin=r,e.originPoint=fo(t.min,t.max,e.origin),e.scale=ns(n)/ns(t),(rs(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=fo(n.min,n.max,e.origin)-e.originPoint,(rs(e.translate)||isNaN(e.translate))&&(e.translate=0)}function is(e,t,n,r){os(e.x,t.x,n.x,r?r.originX:void 0),os(e.y,t.y,n.y,r?r.originY:void 0)}function ss(e,t,n){e.min=n.min+t.min,e.max=e.min+ns(t)}function as(e,t,n){e.min=t.min-n.min,e.max=e.min+ns(t)}function ls(e,t,n){as(e.x,t.x,n.x),as(e.y,t.y,n.y)}function cs(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function us(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}const ds=.35;function ps(e,t,n){return{min:ms(e,t),max:ms(e,n)}}function ms(e,t){return"number"==typeof e?e:e[t]||0}const hs=()=>({x:{min:0,max:0},y:{min:0,max:0}});function fs(e){return[e("x"),e("y")]}function gs({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function bs(e){return void 0===e||1===e}function vs({scale:e,scaleX:t,scaleY:n}){return!bs(e)||!bs(t)||!bs(n)}function xs(e){return vs(e)||ys(e)||e.z||e.rotate||e.rotateX||e.rotateY}function ys(e){return Is(e.x)||Is(e.y)}function Is(e){return e&&"0%"!==e}function Cs(e,t,n){return n+t*(e-n)}function ws(e,t,n,r,o){return void 0!==o&&(e=Cs(e,o,r)),Cs(e,n,r)+t}function Ns(e,t=0,n=1,r,o){e.min=ws(e.min,t,n,r,o),e.max=ws(e.max,t,n,r,o)}function As(e,{x:t,y:n}){Ns(e.x,t.translate,t.scale,t.originPoint),Ns(e.y,n.translate,n.scale,n.originPoint)}function js(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function ks(e,t){e.min=e.min+t,e.max=e.max+t}function Gs(e,t,[n,r,o]){const i=void 0!==t[o]?t[o]:.5,s=fo(e.min,e.max,i);Ns(e,t[n],t[r],s,t.scale)}const Ps=["x","scaleX","originX"],Ss=["y","scaleY","originY"];function Es(e,t){Gs(e.x,t,Ps),Gs(e.y,t,Ss)}function Bs(e,t){return gs(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}const Ts=new WeakMap;class Vs{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;this.panSession=new $i(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(er(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=ar(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),fs(e=>{let t=this.getAxisMotionValue(e).get()||0;if(mn.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=ns(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),o&&br.update(()=>o(e,t),!1,!0);const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:i}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:s}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(s),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:o}=this.getProps();o&&br.update(()=>o(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!Rs(e,r,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?fo(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?fo(n,e,r.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;e&&At(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:cs(e.x,n,o),y:cs(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=ds){return!1===e?e=0:!0===e&&(e=ds),{x:ps(e,"left","right"),y:ps(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&fs(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!At(e))return!1;const n=e.current;Vr(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const o=function(e,t,n){const r=Bs(e,n),{scroll:o}=t;return o&&(ks(r.x,o.offset.x),ks(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:us(e.x,t.x),y:us(e.y,t.y)}}(r.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=gs(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=fs(s=>{if(!Rs(s,t,this.currentDirection))return;let l=a&&a[s]||{};i&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[s]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(s,d)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(xi(e,n,0,t))}stopAnimation(){fs(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){fs(t=>{const{drag:n}=this.getProps();if(!Rs(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:i}=r.layout.layoutBox[t];o.set(e[t]-fo(n,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!At(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};fs(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=ns(e),o=ns(t);return o>r?n=Ro(t.min,t.max-r,e.min):r>o&&(n=Ro(e.min,e.max-o,t.min)),tn(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),fs(t=>{if(!Rs(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];n.set(fo(o,i,r[t]))})}addListeners(){if(!this.visualElement.current)return;Ts.set(this.visualElement,this);const e=tr(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();At(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const o=Kn(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(fs(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),e(),r(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:i=ds,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:i,dragMomentum:s}}}function Rs(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Ms=e=>(t,n)=>{e&&br.update(()=>e(t,n))};const Ls={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Xs(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ws={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!hn.test(e))return e;e=parseFloat(e)}return`${Xs(e,t.target.x)}% ${Xs(e,t.target.y)}%`}},Os={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Po.parse(e);if(o.length>5)return r;const i=Po.createTransformer(e),s="number"!=typeof o[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;const c=fo(a,l,.5);return"number"==typeof o[2+s]&&(o[2+s]/=c),"number"==typeof o[3+s]&&(o[3+s]/=c),i(o)}};class Fs extends t.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;var i;i=Zs,Object.assign(zt,i),o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Ls.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,i=n.projection;return i?(i.isPresent=o,r||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||br.postRender(()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Ds(e){const[n,r]=function(){const e=t.useContext(It);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=e,i=t.useId();return t.useEffect(()=>o(i),[]),!n&&r?[!1,()=>r&&r(i)]:[!0]}(),o=t.useContext(Mt);return t.createElement(Fs,{...e,layoutGroup:o,switchLayoutGroup:t.useContext(Lt),isPresent:n,safeToRemove:r})}const Zs={borderRadius:{...Ws,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ws,borderTopRightRadius:Ws,borderBottomLeftRadius:Ws,borderBottomRightRadius:Ws,boxShadow:Os},zs=["TopLeft","TopRight","BottomLeft","BottomRight"],Hs=zs.length,Ys=e=>"string"==typeof e?parseFloat(e):e,Js=e=>"number"==typeof e||hn.test(e);function Us(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const $s=_s(0,.5,eo),Qs=_s(.5,.95,Ir);function _s(e,t,n){return r=>r<e?0:r>t?1:n(Ro(e,t,r))}function Ks(e,t){e.min=t.min,e.max=t.max}function qs(e,t){Ks(e.x,t.x),Ks(e.y,t.y)}function ea(e,t,n,r,o){return e=Cs(e-=t,1/n,r),void 0!==o&&(e=Cs(e,1/o,r)),e}function ta(e,t,[n,r,o],i,s){!function(e,t=0,n=1,r=.5,o,i=e,s=e){mn.test(t)&&(t=parseFloat(t),t=fo(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=fo(i.min,i.max,r);e===i&&(a-=t),e.min=ea(e.min,t,n,a,o),e.max=ea(e.max,t,n,a,o)}(e,t[n],t[r],t[o],t.scale,i,s)}const na=["x","scaleX","originX"],ra=["y","scaleY","originY"];function oa(e,t,n,r){ta(e.x,t,na,n?n.x:void 0,r?r.x:void 0),ta(e.y,t,ra,n?n.y:void 0,r?r.y:void 0)}function ia(e){return 0===e.translate&&1===e.scale}function sa(e){return ia(e.x)&&ia(e.y)}function aa(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function la(e){return ns(e.x)/ns(e.y)}class ca{constructor(){this.members=[]}add(e){Ci(this.members,e),e.scheduleRender()}remove(e){if(wi(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function ua(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y;if((o||i)&&(r=`translate3d(${o}px, ${i}px, 0) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:o}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),o&&(r+=`rotateY(${o}deg) `)}const s=e.x.scale*t.x,a=e.y.scale*t.y;return 1===s&&1===a||(r+=`scale(${s}, ${a})`),r||"none"}const da=(e,t)=>e.depth-t.depth;class pa{constructor(){this.children=[],this.isDirty=!1}add(e){Ci(this.children,e),this.isDirty=!0}remove(e){wi(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(da),this.isDirty=!1,this.children.forEach(e)}}const ma=["","X","Y","Z"];let ha=0;const fa={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function ga({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=ha++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{var e;fa.totalNodes=fa.resolvedTargetDeltas=fa.recalculatedProjection=0,this.nodes.forEach(xa),this.nodes.forEach(ja),this.nodes.forEach(ka),this.nodes.forEach(ya),e=fa,window.MotionDebug&&window.MotionDebug.record(e)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new pa)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Ni),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var r;this.isSVG=(r=t)instanceof SVGElement&&"svg"!==r.tagName,this.instance=t;const{layoutId:o,layout:i,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||o)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(vr(r),e(i-t))};return br.read(r,!0),()=>vr(r)}(r,250),Ls.hasAnimatedSinceResize&&(Ls.hasAnimatedSinceResize=!1,this.nodes.forEach(Aa))})}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&s&&(o||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||s.getDefaultTransition()||Ta,{onLayoutAnimationStart:i,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!aa(this.targetLayout,r)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...vi(o,"layout"),onPlay:i,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||Aa(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,vr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Ga),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Ca);this.isUpdating||this.nodes.forEach(wa),this.isUpdating=!1,this.nodes.forEach(Na),this.nodes.forEach(ba),this.nodes.forEach(va),this.clearAllSnapshots();const e=performance.now();ur.delta=tn(0,1e3/60,e-ur.timestamp),ur.timestamp=e,ur.isProcessing=!0,hr.update.process(ur),hr.preRender.process(ur),hr.render.process(ur),ur.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Ia),this.sharedNodes.forEach(Pa)}scheduleUpdateProjection(){br.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){br.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!sa(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;e&&(t||xs(this.latestValues)||i)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),Va((r=n).x),Va(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(ks(t.x,n.offset.x),ks(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};qs(t,e);for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:o,options:i}=r;if(r!==this.root&&o&&i.layoutScroll){if(o.isRoot){qs(t,e);const{scroll:n}=this.root;n&&(ks(t.x,-n.offset.x),ks(t.y,-n.offset.y))}ks(t.x,o.offset.x),ks(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};qs(n,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Es(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),xs(r.latestValues)&&Es(n,r.latestValues)}return xs(this.latestValues)&&Es(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};qs(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!xs(n.latestValues))continue;vs(n.latestValues)&&n.updateSnapshot();const r=hs();qs(r,n.measurePageBox()),oa(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return xs(this.latestValues)&&oa(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ur.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:o,layoutId:i}=this.options;if(this.layout&&(o||i)){if(this.resolvedRelativeTargetAt=ur.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},ls(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),qs(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var s,a,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,ss(s.x,a.x,l.x),ss(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):qs(this.target,this.layout.layoutBox),As(this.target,this.targetDelta)):qs(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},ls(this.relativeTargetOrigin,this.target,e.target),qs(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}fa.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!vs(this.parent.latestValues)&&!ys(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===ur.timestamp&&(r=!1),r)return;const{layout:o,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!i)return;qs(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,r=!1){const o=n.length;if(!o)return;let i,s;t.x=t.y=1;for(let a=0;a<o;a++){i=n[a],s=i.projectionDelta;const o=i.instance;o&&o.style&&"contents"===o.style.display||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Es(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,As(e,s)),r&&xs(i.latestValues)&&Es(e,i.latestValues))}t.x=js(t.x),t.y=js(t.y)}(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox);const{target:l}=t;if(!l)return void(this.projectionTransform&&(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionTransform="none",this.scheduleRender()));this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});const c=this.projectionTransform;is(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=ua(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===s&&this.treeScale.y===a||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),fa.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const s={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(Ba));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;Sa(i.x,e.x,n),Sa(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ls(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){Ea(e.x,t.x,n.x,r),Ea(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,s,n),d&&aa(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),qs(d,this.relativeTarget)),a&&(this.animationValues=o,function(e,t,n,r,o,i){o?(e.opacity=fo(0,void 0!==n.opacity?n.opacity:1,$s(r)),e.opacityExit=fo(void 0!==t.opacity?t.opacity:1,0,Qs(r))):i&&(e.opacity=fo(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let o=0;o<Hs;o++){const i=`border${zs[o]}Radius`;let s=Us(t,i),a=Us(n,i);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||Js(s)===Js(a)?(e[i]=Math.max(fo(Ys(s),Ys(a),r),0),(mn.test(a)||mn.test(s))&&(e[i]+="%")):e[i]=a)}(t.rotate||n.rotate)&&(e.rotate=fo(t.rotate||0,n.rotate||0,r))}(o,r,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(vr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=br.update(()=>{Ls.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=Ut(e)?e:Gi(e);return r.start(xi("",r,t,n)),r.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:o}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&Ra(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=ns(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=ns(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}qs(t,n),Es(t,o),is(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new ca);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;const r={};for(let t=0;t<ma.length;t++){const o="rotate"+ma[t];n[o]&&(r[o]=n[o],e.setStaticValue(o,0))}e.render();for(const t in r)e.setStaticValue(t,r[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";const o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=Jn(e.pointerEvents)||"",r.transform=o?o(this.latestValues,""):"none",r;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Jn(e.pointerEvents)||""),this.hasProjected&&!xs(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const s=i.animationValues||i.latestValues;this.applyTransformsToTarget(),r.transform=ua(this.projectionDeltaWithTransform,this.treeScale,s),o&&(r.transform=o(s,r.transform));const{x:a,y:l}=this.projectionDelta;r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,i.animationValues?r.opacity=i===this?null!==(n=null!==(t=s.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:r.opacity=i===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in zt){if(void 0===s[e])continue;const{correct:t,applyTo:n}=zt[e],o="none"===r.transform?s[e]:t(s[e],i);if(n){const e=n.length;for(let t=0;t<e;t++)r[n[t]]=o}else r[e]=o}return this.options.layoutId&&(r.pointerEvents=i===this?Jn(e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(Ca),this.root.sharedNodes.clear()}}}function ba(e){e.updateLayout()}function va(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:o}=e.options,i=n.source!==e.layout.source;"size"===o?fs(e=>{const r=i?n.measuredBox[e]:n.layoutBox[e],o=ns(r);r.min=t[e].min,r.max=r.min+o}):Ra(o,n.layoutBox,t)&&fs(r=>{const o=i?n.measuredBox[r]:n.layoutBox[r],s=ns(t[r]);o.max=o.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+s)});const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};is(s,t,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?is(a,e.applyTransform(r,!0),n.measuredBox):is(a,t,n.layoutBox);const l=!sa(s);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:o,layout:i}=r;if(o&&i){const s={x:{min:0,max:0},y:{min:0,max:0}};ls(s,n.layoutBox,o.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};ls(a,t,i.layoutBox),aa(s,a)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function xa(e){fa.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function ya(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Ia(e){e.clearSnapshot()}function Ca(e){e.clearMeasurements()}function wa(e){e.isLayoutDirty=!1}function Na(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Aa(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ja(e){e.resolveTargetDelta()}function ka(e){e.calcProjection()}function Ga(e){e.resetRotation()}function Pa(e){e.removeLeadSnapshot()}function Sa(e,t,n){e.translate=fo(t.translate,0,n),e.scale=fo(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Ea(e,t,n,r){e.min=fo(t.min,n.min,r),e.max=fo(t.max,n.max,r)}function Ba(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Ta={duration:.45,ease:[.4,0,.1,1]};function Va(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Ra(e,t,n){return"position"===e||"preserve-aspect"===e&&!rs(la(t),la(n),.2)}const Ma=ga({attachResizeListener:(e,t)=>Kn(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),La={current:void 0},Xa=ga({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!La.current){const e=new Ma({});e.mount(window),e.setOptions({layoutScroll:!0}),La.current=e}return La.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Wa={pan:{Feature:class extends cr{constructor(){super(...arguments),this.removePointerDownListener=Ir}onPointerDown(e){this.session=new $i(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Ms(e),onStart:Ms(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&br.update(()=>r(e,t))}}}mount(){this.removePointerDownListener=tr(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends cr{constructor(e){super(e),this.removeGroupControls=Ir,this.removeListeners=Ir,this.controls=new Vs(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ir}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Xa,MeasureLayout:Ds}},Oa=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Fa(e,t,n=1){Vr(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=function(e){const t=Oa.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);return i?i.trim():qt(o)?Fa(o,t,n+1):o}const Da=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Za=e=>Da.has(e),za=e=>e===nn||e===hn,Ha=(e,t)=>parseFloat(e.split(", ")[t]),Ya=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return Ha(o[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?Ha(t[1],e):0}},Ja=new Set(["x","y","z"]),Ua=Ht.filter(e=>!Ja.has(e));const $a={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Ya(4,13),y:Ya(5,14)},Qa=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(Za);let i=[],s=!1;const a=[];if(o.forEach(o=>{const l=e.getValue(o);if(!e.hasValue(o))return;let c=n[o],u=Ei(c);const d=t[o];let p;if(Hn(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=Ei(c);for(let n=t;n<e&&null!==d[n];n++)p?Vr(Ei(d[n])===p,"All keyframes must be of the same type"):(p=Ei(d[n]),Vr(p===u||za(u)&&za(p),"Keyframes must be of the same dimension as the current value"))}else p=Ei(d);if(u!==p)if(za(u)&&za(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&p===hn&&(t[o]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==p?void 0:p.transform)&&(0===c||0===d)?0===c?l.set(p.transform(c)):t[o]=u.transform(d):(s||(i=function(e){const t=[];return Ua.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),s=!0),a.push(o),r[o]=void 0!==r[o]?r[o]:t[o],l.jump(d))}),a.length){const n=a.indexOf("height")>=0?window.pageYOffset:null,o=((e,t,n)=>{const r=t.measureViewportBox(),o=t.current,i=getComputedStyle(o),{display:s}=i,a={};"none"===s&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{a[e]=$a[e](r,i)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const r=t.getValue(n);r&&r.jump(a[n]),e[n]=$a[n](l,i)}),e})(t,e,a);return i.length&&i.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),Ct&&null!==n&&window.scrollTo({top:n}),{target:o,transitionEnd:r}}return{target:t,transitionEnd:r}};function _a(e,t,n,r){return(e=>Object.keys(e).some(Za))(t)?Qa(e,t,n,r):{target:t,transitionEnd:r}}const Ka=(e,t,n,r)=>{const o=function(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!qt(t))return;const n=Fa(t,r);n&&e.set(n)});for(const e in t){const o=t[e];if(!qt(o))continue;const i=Fa(o,r);i&&(t[e]=i,n||(n={}),void 0===n[e]&&(n[e]=o))}return{target:t,transitionEnd:n}}(e,t,r);return _a(e,t=o.target,n,r=o.transitionEnd)},qa={current:null},el={current:!1};const tl=new WeakMap,nl=Object.keys(Rt),rl=nl.length,ol=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],il=Pt.length;class sl{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,visualState:o},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>br.render(this.render,!1,!0);const{latestValues:s,renderState:a}=o;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=a,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=i,this.isControllingVariants=St(t),this.isVariantNode=Et(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{});for(const e in c){const t=c[e];void 0!==s[e]&&Ut(t)&&(t.set(s[e],!1),yi(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,tl.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),el.current||function(){if(el.current=!0,Ct)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>qa.current=e.matches;e.addListener(t),t()}else qa.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||qa.current),"production"!==process.env.NODE_ENV&&ji(!0!==this.shouldReduceMotion,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){tl.delete(this.current),this.projection&&this.projection.unmount(),vr(this.notifyUpdate),vr(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){const n=Yt.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&br.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),o()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,r,o){let i,s;if("production"!==process.env.NODE_ENV&&r&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?Tr(!1,e):Vr(!1,e)}for(let e=0;e<rl;e++){const n=nl[e],{isEnabled:r,Feature:o,ProjectionNode:a,MeasureLayout:l}=Rt[n];a&&(i=a),r(t)&&(!this.features[n]&&o&&(this.features[n]=new o(this)),l&&(s=l))}if(!this.projection&&i){this.projection=new i(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:r,dragConstraints:s,layoutScroll:a,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(r)||s&&At(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:o,layoutScroll:a,layoutRoot:l})}return s}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<ol.length;t++){const n=ol[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){const{willChange:r}=t;for(const o in t){const i=t[o],s=n[o];if(Ut(i))e.addValue(o,i),yi(r)&&r.add(o),"development"===process.env.NODE_ENV&&ji("10.12.16"===i.version,`Attempting to mix Framer Motion versions ${i.version} with 10.12.16 may not work as expected.`);else if(Ut(s))e.addValue(o,Gi(i,{owner:e})),yi(r)&&r.remove(o);else if(s!==i)if(e.hasValue(o)){const t=e.getValue(o);!t.hasAnimated&&t.set(i)}else{const t=e.getStaticValue(o);e.addValue(o,Gi(void 0!==t?t:i,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<il;e++){const n=Pt[e],r=this.props[n];(jt(r)||!1===r)&&(t[n]=r)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=Gi(t,{owner:this}),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(t=Zn(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||Ut(o)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new Ni),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class al extends sl{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:r},o){let i=function(e,t,n){const r={};for(const o in e){const e=Ri(o,t);if(void 0!==e)r[o]=e;else{const e=n.getValue(o);e&&(r[o]=e.get())}}return r}(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),i&&(i=r(i))),o){!function(e,t,n){var r,o;const i=Object.keys(t).filter(t=>!e.hasValue(t)),s=i.length;if(s)for(let a=0;a<s;a++){const s=i[a],l=t[s];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(o=null!==(r=n[s])&&void 0!==r?r:e.readValue(s))&&void 0!==o?o:t[s]),null!=c&&("string"==typeof c&&(Ii(c)||gi(c))?c=parseFloat(c):!Ti(c)&&Po.test(l)&&(c=fi(s,l)),e.addValue(s,Gi(c,{owner:e})),void 0===n[s]&&(n[s]=c),null!==c&&e.setBaseTarget(s,c))}}(this,n,i);const e=Ka(this,n,i,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class ll extends al{readValueFromInstance(e,t){if(Yt.has(t)){const e=hi(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),o=(Kt(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Bs(e,t)}build(e,t,n,r){yn(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Fn(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Ut(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){Xn(e,t,n,r)}}class cl extends al{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Yt.has(t)){const e=hi(t);return e&&e.default||0}return t=Wn.has(t)?t:Ln(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return Dn(e,t)}build(e,t,n,r){Bn(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){On(e,t,0,r)}mount(e){this.isSVGTag=Vn(e.tagName),super.mount(e)}}const ul=(e,t)=>Zt(e)?new cl(t,{enableHardwareAcceleration:!1}):new ll(t,{enableHardwareAcceleration:!0}),dl={...Ji,...Pr,...Wa,...{layout:{ProjectionNode:Xa,MeasureLayout:Ds}}},pl=Ft((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...Zt(e)?Qn:_n,preloadedFeatures:n,useRender:Mn(t),createVisualElement:r,Component:e}}(e,t,dl,ul));function ml(){const e=t.useRef(!1);return wt(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class hl extends d.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function fl({children:e,isPresent:n}){const r=t.useId(),o=t.useRef(null),i=t.useRef({width:0,height:0,top:0,left:0});return t.useInsertionEffect(()=>{const{width:e,height:t,top:s,left:a}=i.current;if(n||!o.current||!e||!t)return;o.current.dataset.motionPopId=r;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n [data-motion-pop-id="${r}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${t}px !important;\n top: ${s}px !important;\n left: ${a}px !important;\n }\n `),()=>{document.head.removeChild(l)}},[n]),d.createElement(hl,{isPresent:n,childRef:o,sizeRef:i},d.cloneElement(e,{ref:o}))}const gl=({children:e,initial:n,isPresent:r,onExitComplete:o,custom:i,presenceAffectsLayout:s,mode:a})=>{const l=zn(bl),c=t.useId(),u=t.useMemo(()=>({id:c,initial:n,isPresent:r,custom:i,onExitComplete:e=>{l.set(e,!0);for(const e of l.values())if(!e)return;o&&o()},register:e=>(l.set(e,!1),()=>l.delete(e))}),s?void 0:[r]);return t.useMemo(()=>{l.forEach((e,t)=>l.set(t,!1))},[r]),d.useEffect(()=>{!r&&!l.size&&o&&o()},[r]),"popLayout"===a&&(e=d.createElement(fl,{isPresent:r},e)),d.createElement(It.Provider,{value:u},e)};function bl(){return new Map}const vl=e=>e.key||"";const xl=({children:e,custom:n,initial:r=!0,onExitComplete:o,exitBeforeEnter:i,presenceAffectsLayout:s=!0,mode:a="sync"})=>{Vr(!i,"Replace exitBeforeEnter with mode='wait'");const l=t.useContext(Mt).forceRender||function(){const e=ml(),[n,r]=t.useState(0),o=t.useCallback(()=>{e.current&&r(n+1)},[n]);return[t.useCallback(()=>br.postRender(o),[o]),n]}()[0],c=ml(),u=function(e){const n=[];return t.Children.forEach(e,e=>{t.isValidElement(e)&&n.push(e)}),n}(e);let p=u;const m=t.useRef(new Map).current,h=t.useRef(p),f=t.useRef(new Map).current,g=t.useRef(!0);var b;if(wt(()=>{g.current=!1,function(e,t){e.forEach(e=>{const n=vl(e);t.set(n,e)})}(u,f),h.current=p}),b=()=>{g.current=!0,f.clear(),m.clear()},t.useEffect(()=>()=>b(),[]),g.current)return d.createElement(d.Fragment,null,p.map(e=>d.createElement(gl,{key:vl(e),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:s,mode:a},e)));p=[...p];const v=h.current.map(vl),x=u.map(vl),y=v.length;for(let e=0;e<y;e++){const t=v[e];-1!==x.indexOf(t)||m.has(t)||m.set(t,void 0)}return"wait"===a&&m.size&&(p=[]),m.forEach((e,t)=>{if(-1!==x.indexOf(t))return;const r=f.get(t);if(!r)return;const i=v.indexOf(t);let g=e;if(!g){const e=()=>{f.delete(t),m.delete(t);const e=h.current.findIndex(e=>e.key===t);if(h.current.splice(e,1),!m.size){if(h.current=u,!1===c.current)return;l(),o&&o()}};g=d.createElement(gl,{key:vl(r),isPresent:!1,onExitComplete:e,custom:n,presenceAffectsLayout:s,mode:a},r),m.set(t,g)}p.splice(i,0,g)}),p=p.map(e=>{const t=e.key;return m.has(t)?e:d.createElement(gl,{key:vl(e),isPresent:!0,presenceAffectsLayout:s,mode:a},e)}),"production"!==process.env.NODE_ENV&&"wait"===a&&p.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),d.createElement(d.Fragment,null,m.size?p:p.map(e=>t.cloneElement(e)))};function yl(){return yl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yl.apply(null,arguments)}function Il(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function Cl(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function wl(...e){return t.useCallback(Cl(...e),e)}function Nl(...e){const n=e[0];if(1===e.length)return n;const r=()=>{const r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const o=r.reduce((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]}),{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:o}),[o])}};return r.scopeName=n.scopeName,r}const Al=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?t.useLayoutEffect:()=>{},jl=d["useId".toString()]||(()=>{});let kl=0;function Gl(e){const[t,n]=d.useState(jl());return Al(()=>{n(e=>null!=e?e:String(kl++))},[e]),e||(t?`radix-${t}`:"")}function Pl(e){const n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>{var t;return null===(t=n.current)||void 0===t?void 0:t.call(n,...e)},[])}function Sl({prop:e,defaultProp:n,onChange:r=()=>{}}){const[o,i]=function({defaultProp:e,onChange:n}){const r=t.useState(e),[o]=r,i=t.useRef(o),s=Pl(n);return t.useEffect(()=>{i.current!==o&&(s(o),i.current=o)},[o,i,s]),r}({defaultProp:n,onChange:r}),s=void 0!==e,a=s?e:o,l=Pl(r);return[a,t.useCallback(t=>{if(s){const n="function"==typeof t?t(e):t;n!==e&&l(n)}else i(t)},[s,e,i,l])]}const El=t.forwardRef((e,n)=>{const{children:r,...o}=e,i=t.Children.toArray(r),s=i.find(Vl);if(s){const e=s.props.children,r=i.map(n=>n===s?t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null:n);return t.createElement(Bl,yl({},o,{ref:n}),t.isValidElement(e)?t.cloneElement(e,void 0,r):null)}return t.createElement(Bl,yl({},o,{ref:n}),r)});El.displayName="Slot";const Bl=t.forwardRef((e,n)=>{const{children:r,...o}=e;return t.isValidElement(r)?t.cloneElement(r,{...Rl(o,r.props),ref:n?Cl(n,r.ref):r.ref}):t.Children.count(r)>1?t.Children.only(null):null});Bl.displayName="SlotClone";const Tl=({children:e})=>t.createElement(t.Fragment,null,e);function Vl(e){return t.isValidElement(e)&&e.type===Tl}function Rl(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const Ml=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,n)=>{const r=t.forwardRef((e,r)=>{const{asChild:o,...i}=e,s=o?El:n;return t.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),t.createElement(s,yl({},i,{ref:r}))});return r.displayName=`Primitive.${n}`,{...e,[n]:r}},{});const Ll="dismissableLayer.update",Xl="dismissableLayer.pointerDownOutside",Wl="dismissableLayer.focusOutside";let Ol;const Fl=t.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Dl=t.forwardRef((e,n)=>{var r;const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:a,onInteractOutside:l,onDismiss:c,...u}=e,d=t.useContext(Fl),[p,m]=t.useState(null),h=null!==(r=null==p?void 0:p.ownerDocument)&&void 0!==r?r:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,f]=t.useState({}),g=wl(n,e=>m(e)),b=Array.from(d.layers),[v]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=b.indexOf(v),y=p?b.indexOf(p):-1,I=d.layersWithOutsidePointerEventsDisabled.size>0,C=y>=x,w=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=Pl(e),o=t.useRef(!1),i=t.useRef(()=>{});return t.useEffect(()=>{const e=e=>{if(e.target&&!o.current){const t={originalEvent:e};function s(){zl(Xl,r,t,{discrete:!0})}"touch"===e.pointerType?(n.removeEventListener("click",i.current),i.current=s,n.addEventListener("click",i.current,{once:!0})):s()}else n.removeEventListener("click",i.current);o.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",i.current)}},[n,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{const t=e.target,n=[...d.branches].some(e=>e.contains(t));C&&!n&&(null==s||s(e),null==l||l(e),e.defaultPrevented||null==c||c())},h),N=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=Pl(e),o=t.useRef(!1);return t.useEffect(()=>{const e=e=>{if(e.target&&!o.current){zl(Wl,r,{originalEvent:e},{discrete:!1})}};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{const t=e.target;[...d.branches].some(e=>e.contains(t))||(null==a||a(e),null==l||l(e),e.defaultPrevented||null==c||c())},h);return function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=Pl(e);t.useEffect(()=>{const e=e=>{"Escape"===e.key&&r(e)};return n.addEventListener("keydown",e),()=>n.removeEventListener("keydown",e)},[r,n])}(e=>{y===d.layers.size-1&&(null==i||i(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},h),t.useEffect(()=>{if(p)return o&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(Ol=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(p)),d.layers.add(p),Zl(),()=>{o&&1===d.layersWithOutsidePointerEventsDisabled.size&&(h.body.style.pointerEvents=Ol)}},[p,h,o,d]),t.useEffect(()=>()=>{p&&(d.layers.delete(p),d.layersWithOutsidePointerEventsDisabled.delete(p),Zl())},[p,d]),t.useEffect(()=>{const e=()=>f({});return document.addEventListener(Ll,e),()=>document.removeEventListener(Ll,e)},[]),t.createElement(Ml.div,yl({},u,{ref:g,style:{pointerEvents:I?C?"auto":"none":void 0,...e.style},onFocusCapture:Il(e.onFocusCapture,N.onFocusCapture),onBlurCapture:Il(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:Il(e.onPointerDownCapture,w.onPointerDownCapture)}))});function Zl(){const e=new CustomEvent(Ll);document.dispatchEvent(e)}function zl(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?function(e,t){e&&l.flushSync(()=>e.dispatchEvent(t))}(o,i):o.dispatchEvent(i)}const Hl="focusScope.autoFocusOnMount",Yl="focusScope.autoFocusOnUnmount",Jl={bubbles:!1,cancelable:!0},Ul=t.forwardRef((e,n)=>{const{loop:r=!1,trapped:o=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...a}=e,[l,c]=t.useState(null),u=Pl(i),d=Pl(s),p=t.useRef(null),m=wl(n,e=>c(e)),h=t.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t.useEffect(()=>{if(o){function e(e){if(h.paused||!l)return;const t=e.target;l.contains(t)?p.current=t:Kl(p.current,{select:!0})}function t(e){if(h.paused||!l)return;const t=e.relatedTarget;null!==t&&(l.contains(t)||Kl(p.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&Kl(l)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return l&&r.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[o,l,h.paused]),t.useEffect(()=>{if(l){ql.add(h);const t=document.activeElement;if(!l.contains(t)){const n=new CustomEvent(Hl,Jl);l.addEventListener(Hl,u),l.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Kl(r,{select:t}),document.activeElement!==n)return}((e=$l(l),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&Kl(l))}return()=>{l.removeEventListener(Hl,u),setTimeout(()=>{const e=new CustomEvent(Yl,Jl);l.addEventListener(Yl,d),l.dispatchEvent(e),e.defaultPrevented||Kl(null!=t?t:document.body,{select:!0}),l.removeEventListener(Yl,d),ql.remove(h)},0)}}var e},[l,u,d,h]);const f=t.useCallback(e=>{if(!r&&!o)return;if(h.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){const t=e.currentTarget,[o,i]=function(e){const t=$l(e),n=Ql(t,e),r=Ql(t.reverse(),e);return[n,r]}(t);o&&i?e.shiftKey||n!==i?e.shiftKey&&n===o&&(e.preventDefault(),r&&Kl(i,{select:!0})):(e.preventDefault(),r&&Kl(o,{select:!0})):n===t&&e.preventDefault()}},[r,o,h.paused]);return t.createElement(Ml.div,yl({tabIndex:-1},a,{ref:m,onKeyDown:f}))});function $l(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Ql(e,t){for(const n of e)if(!_l(n,{upTo:t}))return n}function _l(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function Kl(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}const ql=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=ec(e,t),e.unshift(t)},remove(t){var n;e=ec(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function ec(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const tc=t.forwardRef((e,n)=>{var r;const{container:o=(null===globalThis||void 0===globalThis||null===(r=globalThis.document)||void 0===r?void 0:r.body),...i}=e;return o?l.createPortal(t.createElement(Ml.div,yl({},i,{ref:n})),o):null});const nc=e=>{const{present:n,children:r}=e,o=function(e){const[n,r]=t.useState(),o=t.useRef({}),i=t.useRef(e),s=t.useRef("none"),a=e?"mounted":"unmounted",[c,u]=function(e,n){return t.useReducer((e,t)=>{const r=n[e][t];return null!=r?r:e},e)}(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{const e=rc(o.current);s.current="mounted"===c?e:"none"},[c]),Al(()=>{const t=o.current,n=i.current;if(n!==e){const r=s.current,o=rc(t);if(e)u("MOUNT");else if("none"===o||"none"===(null==t?void 0:t.display))u("UNMOUNT");else{u(n&&r!==o?"ANIMATION_OUT":"UNMOUNT")}i.current=e}},[e,u]),Al(()=>{if(n){const e=e=>{const t=rc(o.current).includes(e.animationName);e.target===n&&t&&l.flushSync(()=>u("ANIMATION_END"))},t=e=>{e.target===n&&(s.current=rc(o.current))};return n.addEventListener("animationstart",t),n.addEventListener("animationcancel",e),n.addEventListener("animationend",e),()=>{n.removeEventListener("animationstart",t),n.removeEventListener("animationcancel",e),n.removeEventListener("animationend",e)}}u("ANIMATION_END")},[n,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:t.useCallback(e=>{e&&(o.current=getComputedStyle(e)),r(e)},[])}}(n),i="function"==typeof r?r({present:o.isPresent}):t.Children.only(r),s=wl(o.ref,i.ref);return"function"==typeof r||o.isPresent?t.cloneElement(i,{ref:s}):null};function rc(e){return(null==e?void 0:e.animationName)||"none"}nc.displayName="Presence";let oc=0;function ic(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var sc=function(){return sc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},sc.apply(this,arguments)};function ac(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}"function"==typeof SuppressedError&&SuppressedError;var lc="right-scroll-bar-position",cc="width-before-scroll-bar";function uc(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var dc="undefined"!=typeof window?d.useLayoutEffect:d.useEffect,pc=new WeakMap;function mc(e,n){var r,o,i,s=(r=null,o=function(t){return e.forEach(function(e){return uc(e,t)})},(i=t.useState(function(){return{value:r,callback:o,facade:{get current(){return i.value},set current(e){var t=i.value;t!==e&&(i.value=e,i.callback(e,t))}}}})[0]).callback=o,i.facade);return dc(function(){var t=pc.get(s);if(t){var n=new Set(t),r=new Set(e),o=s.current;n.forEach(function(e){r.has(e)||uc(e,null)}),r.forEach(function(e){n.has(e)||uc(e,o)})}pc.set(s,e)},[e]),s}function hc(e){return e}var fc=function(e){var t=e.sideCar,n=ac(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return d.createElement(r,sc({},n))};fc.isSideCarExport=!0;var gc=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=hc);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},s=function(){return Promise.resolve().then(i)};s(),n={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),n}}}};return o}(null);return t.options=sc({async:!0,ssr:!1},e),t}(),bc=function(){},vc=d.forwardRef(function(e,t){var n=d.useRef(null),r=d.useState({onScrollCapture:bc,onWheelCapture:bc,onTouchMoveCapture:bc}),o=r[0],i=r[1],s=e.forwardProps,a=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,p=e.shards,m=e.sideCar,h=e.noIsolation,f=e.inert,g=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,x=ac(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),y=m,I=mc([n,t]),C=sc(sc({},x),o);return d.createElement(d.Fragment,null,u&&d.createElement(y,{sideCar:gc,removeScrollBar:c,shards:p,noIsolation:h,inert:f,setCallbacks:i,allowPinchZoom:!!g,lockRef:n}),s?d.cloneElement(d.Children.only(a),sc(sc({},C),{ref:I})):d.createElement(v,sc({},C,{className:l,ref:I}),a))});vc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},vc.classNames={fullWidth:cc,zeroRight:lc};function xc(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if("undefined"!=typeof __webpack_nonce__)return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}var yc=function(){var e=0,t=null;return{add:function(n){var r;0==e&&(t=xc())&&(!function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),r=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(r)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Ic=function(){var e,t=(e=yc(),function(t,n){d.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},Cc={left:0,top:0,right:0,gap:0},wc=function(e){return parseInt(e||"",10)||0},Nc=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Cc;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[wc(n),wc(r),wc(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Ac=Ic(),jc="data-scroll-locked",kc=function(e,t,n,r){var o=e.left,i=e.top,s=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(a,"px ").concat(r,";\n }\n body[").concat(jc,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(lc," {\n right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(cc," {\n margin-right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(lc," .").concat(lc," {\n right: 0 ").concat(r,";\n }\n \n .").concat(cc," .").concat(cc," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(jc,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},Gc=function(){var e=parseInt(document.body.getAttribute(jc)||"0",10);return isFinite(e)?e:0},Pc=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;d.useEffect(function(){return document.body.setAttribute(jc,(Gc()+1).toString()),function(){var e=Gc()-1;e<=0?document.body.removeAttribute(jc):document.body.setAttribute(jc,e.toString())}},[]);var i=d.useMemo(function(){return Nc(o)},[o]);return d.createElement(Ac,{styles:kc(i,!t,o,n?"":"!important")})},Sc=!1;if("undefined"!=typeof window)try{var Ec=Object.defineProperty({},"passive",{get:function(){return Sc=!0,!0}});window.addEventListener("test",Ec,Ec),window.removeEventListener("test",Ec,Ec)}catch(e){Sc=!1}var Bc=!!Sc&&{passive:!1},Tc=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},Vc=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),Rc(e,n)){var r=Mc(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Rc=function(e,t){return"v"===e?function(e){return Tc(e,"overflowY")}(t):function(e){return Tc(e,"overflowX")}(t)},Mc=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},Lc=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Xc=function(e){return[e.deltaX,e.deltaY]},Wc=function(e){return e&&"current"in e?e.current:e},Oc=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Fc=0,Dc=[];var Zc,zc=(Zc=function(e){var t=d.useRef([]),n=d.useRef([0,0]),r=d.useRef(),o=d.useState(Fc++)[0],i=d.useState(function(){return Ic()})[0],s=d.useRef(e);d.useEffect(function(){s.current=e},[e]),d.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(Wc),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=d.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var o,i=Lc(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-i[0],c="deltaY"in e?e.deltaY:a[1]-i[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var p=Vc(d,u);if(!p)return!0;if(p?o=d:(o="v"===d?"h":"v",p=Vc(d,u)),!p)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=o),!o)return!0;var m=r.current||o;return function(e,t,n,r){var o=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),i=o*r,s=n.target,a=t.contains(s),l=!1,c=i>0,u=0,d=0;do{var p=Mc(e,s),m=p[0],h=p[1]-p[2]-o*m;(m||h)&&Rc(e,s)&&(u+=h,d+=m),s=s.parentNode}while(!a&&s!==document.body||a&&(t.contains(s)||t===s));return c&&0===u?l=!0:c||0!==d||(l=!0),l}(m,t,e,"h"===m?l:c)},[]),l=d.useCallback(function(e){var n=e;if(Dc.length&&Dc[Dc.length-1]===i){var r="deltaY"in n?Xc(n):Lc(n),o=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,o=r,t[0]===o[0]&&t[1]===o[1]);var t,o})[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var l=(s.current.shards||[]).map(Wc).filter(Boolean).filter(function(e){return e.contains(n.target)});(l.length>0?a(n,l[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),c=d.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),u=d.useCallback(function(e){n.current=Lc(e),r.current=void 0},[]),p=d.useCallback(function(t){c(t.type,Xc(t),t.target,a(t,e.lockRef.current))},[]),m=d.useCallback(function(t){c(t.type,Lc(t),t.target,a(t,e.lockRef.current))},[]);d.useEffect(function(){return Dc.push(i),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",l,Bc),document.addEventListener("touchmove",l,Bc),document.addEventListener("touchstart",u,Bc),function(){Dc=Dc.filter(function(e){return e!==i}),document.removeEventListener("wheel",l,Bc),document.removeEventListener("touchmove",l,Bc),document.removeEventListener("touchstart",u,Bc)}},[]);var h=e.removeScrollBar,f=e.inert;return d.createElement(d.Fragment,null,f?d.createElement(i,{styles:Oc(o)}):null,h?d.createElement(Pc,{gapMode:"margin"}):null)},gc.useMedium(Zc),fc),Hc=d.forwardRef(function(e,t){return d.createElement(vc,sc({},e,{ref:t,sideCar:zc}))});Hc.classNames=vc.classNames;var Yc=new WeakMap,Jc=new WeakMap,Uc={},$c=0,Qc=function(e){return e&&(e.host||Qc(e.parentNode))},_c=function(e,t,n,r){var o=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Qc(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(e){return Boolean(e)})}(t,Array.isArray(e)?e:[e]);Uc[n]||(Uc[n]=new WeakMap);var i=Uc[n],s=[],a=new Set,l=new Set(o),c=function(e){e&&!a.has(e)&&(a.add(e),c(e.parentNode))};o.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(a.has(e))u(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,l=(Yc.get(e)||0)+1,c=(i.get(e)||0)+1;Yc.set(e,l),i.set(e,c),s.push(e),1===l&&o&&Jc.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),a.clear(),$c++,function(){s.forEach(function(e){var t=Yc.get(e)-1,o=i.get(e)-1;Yc.set(e,t),i.set(e,o),t||(Jc.has(e)||e.removeAttribute(r),Jc.delete(e)),o||e.removeAttribute(n)}),--$c||(Yc=new WeakMap,Yc=new WeakMap,Jc=new WeakMap,Uc={})}},Kc=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),_c(r,o,n,"aria-hidden")):function(){return null}};const qc="Dialog",[eu,tu]=function(e,n=[]){let r=[];const o=()=>{const n=r.map(e=>t.createContext(e));return function(r){const o=(null==r?void 0:r[e])||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return o.scopeName=e,[function(n,o){const i=t.createContext(o),s=r.length;function a(n){const{scope:r,children:o,...a}=n,l=(null==r?void 0:r[e][s])||i,c=t.useMemo(()=>a,Object.values(a));return t.createElement(l.Provider,{value:c},o)}return r=[...r,o],a.displayName=n+"Provider",[a,function(r,a){const l=(null==a?void 0:a[e][s])||i,c=t.useContext(l);if(c)return c;if(void 0!==o)return o;throw new Error(`\`${r}\` must be used within \`${n}\``)}]},Nl(o,...n)]}(qc),[nu,ru]=eu(qc),ou="DialogPortal",[iu,su]=eu(ou,{forceMount:void 0}),au="DialogOverlay",lu=t.forwardRef((e,n)=>{const r=su(au,e.__scopeDialog),{forceMount:o=r.forceMount,...i}=e,s=ru(au,e.__scopeDialog);return s.modal?t.createElement(nc,{present:o||s.open},t.createElement(cu,yl({},i,{ref:n}))):null}),cu=t.forwardRef((e,n)=>{const{__scopeDialog:r,...o}=e,i=ru(au,r);return t.createElement(Hc,{as:El,allowPinchZoom:!0,shards:[i.contentRef]},t.createElement(Ml.div,yl({"data-state":vu(i.open)},o,{ref:n,style:{pointerEvents:"auto",...o.style}})))}),uu="DialogContent",du=t.forwardRef((e,n)=>{const r=su(uu,e.__scopeDialog),{forceMount:o=r.forceMount,...i}=e,s=ru(uu,e.__scopeDialog);return t.createElement(nc,{present:o||s.open},s.modal?t.createElement(pu,yl({},i,{ref:n})):t.createElement(mu,yl({},i,{ref:n})))}),pu=t.forwardRef((e,n)=>{const r=ru(uu,e.__scopeDialog),o=t.useRef(null),i=wl(n,r.contentRef,o);return t.useEffect(()=>{const e=o.current;if(e)return Kc(e)},[]),t.createElement(hu,yl({},e,{ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Il(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=r.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:Il(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:Il(e.onFocusOutside,e=>e.preventDefault())}))}),mu=t.forwardRef((e,n)=>{const r=ru(uu,e.__scopeDialog),o=t.useRef(!1),i=t.useRef(!1);return t.createElement(hu,yl({},e,{ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,s;(null===(n=e.onCloseAutoFocus)||void 0===n||n.call(e,t),t.defaultPrevented)||(o.current||null===(s=r.triggerRef.current)||void 0===s||s.focus(),t.preventDefault());o.current=!1,i.current=!1},onInteractOutside:t=>{var n,s;null===(n=e.onInteractOutside)||void 0===n||n.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));const a=t.target;(null===(s=r.triggerRef.current)||void 0===s?void 0:s.contains(a))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}}))}),hu=t.forwardRef((e,n)=>{const{__scopeDialog:r,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:s,...a}=e,l=ru(uu,r),c=wl(n,t.useRef(null));return t.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:ic()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:ic()),oc++,()=>{1===oc&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),oc--}},[]),t.createElement(t.Fragment,null,t.createElement(Ul,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:s},t.createElement(Dl,yl({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":vu(l.open)},a,{ref:c,onDismiss:()=>l.onOpenChange(!1)}))),!1)}),fu="DialogTitle",gu="DialogClose",bu=t.forwardRef((e,n)=>{const{__scopeDialog:r,...o}=e,i=ru(gu,r);return t.createElement(Ml.button,yl({type:"button"},o,{ref:n,onClick:Il(e.onClick,()=>i.onOpenChange(!1))}))});function vu(e){return e?"open":"closed"}!function(e,n){const r=t.createContext(n);function o(e){const{children:n,...o}=e,i=t.useMemo(()=>o,Object.values(o));return t.createElement(r.Provider,{value:i},n)}o.displayName=e+"Provider"}("DialogTitleWarning",{contentName:uu,titleName:fu,docsSlug:"dialog"});const xu=e=>{const{__scopeDialog:n,children:r,open:o,defaultOpen:i,onOpenChange:s,modal:a=!0}=e,l=t.useRef(null),c=t.useRef(null),[u=!1,d]=Sl({prop:o,defaultProp:i,onChange:s});return t.createElement(nu,{scope:n,triggerRef:l,contentRef:c,contentId:Gl(),titleId:Gl(),descriptionId:Gl(),open:u,onOpenChange:d,onOpenToggle:t.useCallback(()=>d(e=>!e),[d]),modal:a},r)},yu=e=>{const{__scopeDialog:n,forceMount:r,children:o,container:i}=e,s=ru(ou,n);return t.createElement(iu,{scope:n,forceMount:r},t.Children.map(o,e=>t.createElement(nc,{present:r||s.open},t.createElement(tc,{asChild:!0,container:i},e))))},Iu=lu,Cu=du,wu=bu,Nu=({currentPage:t,totalPages:n,onPageChange:r,ariaLabel:o="Pagination"})=>{const i=function(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t+1);const n=[];n.push(1),e>3&&n.push("...");const r=Math.max(2,e-1),o=Math.min(t-1,e+1);for(let e=r;e<=o;e++)n.push(e);e<t-2&&n.push("...");return n.push(t),n}(t,n),s="inline-flex items-center justify-center w-9 h-9 rounded-full bg-transparent cursor-pointer transition-colors duration-150 hover:border-text-brand hover:text-text-brand disabled:opacity-40 disabled:cursor-not-allowed";return e.jsxs("nav",{className:"flex items-center justify-center gap-1 px-6 pb-12","aria-label":o,children:[e.jsx(We,{className:s,onClick:()=>r(t-1),disabled:1===t,"aria-label":"Go to previous page",children:e.jsx(Be,{name:"chevron_left",size:32,"aria-hidden":"true"})}),i.map((n,o)=>"..."===n?e.jsx("span",{className:"inline-flex h-9 w-9 cursor-default items-center justify-center text-body2 text-gray-500","aria-hidden":"true",children:"…"},`ellipsis-${o}`):e.jsx(We,{className:"inline-flex items-center justify-center w-9 h-9 rounded-lg text-body2 text-gray-700 bg-transparent border-none cursor-pointer transition-colors duration-150 hover:bg-gray-100 hover:text-gray-900 "+(n===t?"bg-bg-surface-active font-bold hover:bg-bg-gray-300":""),onClick:()=>r(n),"aria-label":`Go to page ${n}`,"aria-current":n===t?"page":void 0,children:n},n)),e.jsx(We,{className:s,onClick:()=>r(t+1),disabled:t===n,"aria-label":"Go to next page",children:e.jsx(Be,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function Au(e){return Au="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},Au(e)}function ju(e){var t=function(e,t){if("object"!=Au(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Au(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Au(t)?t:t+""}function ku(e,t,n){return(t=ju(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Pu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gu(Object(n),!0).forEach(function(t){ku(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Su(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Eu(e,t){if(e){if("string"==typeof e)return Su(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)?Su(e,t):void 0}}function Bu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,a=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw o}}return a}}(e,t)||Eu(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 Tu(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Vu=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Ru(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ju(r.key),r)}}function Mu(e,t){return Mu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Mu(e,t)}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Lu(e)}function Xu(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Xu=function(){return!!e})()}function Wu(e,t){if(t&&("object"==Au(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 Ou(e){return function(e){if(Array.isArray(e))return Su(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Eu(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 Fu=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}(),Du="-ms-",Zu="-moz-",zu="-webkit-",Hu="comm",Yu="rule",Ju="decl",Uu="@keyframes",$u=Math.abs,Qu=String.fromCharCode,_u=Object.assign;function Ku(e){return e.trim()}function qu(e,t,n){return e.replace(t,n)}function ed(e,t){return e.indexOf(t)}function td(e,t){return 0|e.charCodeAt(t)}function nd(e,t,n){return e.slice(t,n)}function rd(e){return e.length}function od(e){return e.length}function id(e,t){return t.push(e),e}var sd=1,ad=1,ld=0,cd=0,ud=0,dd="";function pd(e,t,n,r,o,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:sd,column:ad,length:s,return:""}}function md(e,t){return _u(pd("",null,null,"",null,null,0),e,{length:-e.length},t)}function hd(){return ud=cd>0?td(dd,--cd):0,ad--,10===ud&&(ad=1,sd--),ud}function fd(){return ud=cd<ld?td(dd,cd++):0,ad++,10===ud&&(ad=1,sd++),ud}function gd(){return td(dd,cd)}function bd(){return cd}function vd(e,t){return nd(dd,e,t)}function xd(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 yd(e){return sd=ad=1,ld=rd(dd=e),cd=0,[]}function Id(e){return dd="",e}function Cd(e){return Ku(vd(cd-1,Ad(91===e?e+2:40===e?e+1:e)))}function wd(e){for(;(ud=gd())&&ud<33;)fd();return xd(e)>2||xd(ud)>3?"":" "}function Nd(e,t){for(;--t&&fd()&&!(ud<48||ud>102||ud>57&&ud<65||ud>70&&ud<97););return vd(e,bd()+(t<6&&32==gd()&&32==fd()))}function Ad(e){for(;fd();)switch(ud){case e:return cd;case 34:case 39:34!==e&&39!==e&&Ad(ud);break;case 40:41===e&&Ad(e);break;case 92:fd()}return cd}function jd(e,t){for(;fd()&&e+ud!==57&&(e+ud!==84||47!==gd()););return"/*"+vd(t,cd-1)+"*"+Qu(47===e?e:fd())}function kd(e){for(;!xd(gd());)fd();return vd(e,cd)}function Gd(e){return Id(Pd("",null,null,null,[""],e=yd(e),0,[0],e))}function Pd(e,t,n,r,o,i,s,a,l){for(var c=0,u=0,d=s,p=0,m=0,h=0,f=1,g=1,b=1,v=0,x="",y=o,I=i,C=r,w=x;g;)switch(h=v,v=fd()){case 40:if(108!=h&&58==td(w,d-1)){-1!=ed(w+=qu(Cd(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=Cd(v);break;case 9:case 10:case 13:case 32:w+=wd(h);break;case 92:w+=Nd(bd()-1,7);continue;case 47:switch(gd()){case 42:case 47:id(Ed(jd(fd(),bd()),t,n),l);break;default:w+="/"}break;case 123*f:a[c++]=rd(w)*b;case 125*f:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(w=qu(w,/\f/g,"")),m>0&&rd(w)-d&&id(m>32?Bd(w+";",r,n,d-1):Bd(qu(w," ","")+";",r,n,d-2),l);break;case 59:w+=";";default:if(id(C=Sd(w,t,n,c,u,o,a,x,y=[],I=[],d),i),123===v)if(0===u)Pd(w,t,C,C,y,i,d,a,I);else switch(99===p&&110===td(w,3)?100:p){case 100:case 108:case 109:case 115:Pd(e,C,C,r&&id(Sd(e,C,C,0,0,o,a,x,o,y=[],d),I),o,I,d,a,r?y:I);break;default:Pd(w,C,C,C,[""],I,0,a,I)}}c=u=m=0,f=b=1,x=w="",d=s;break;case 58:d=1+rd(w),m=h;default:if(f<1)if(123==v)--f;else if(125==v&&0==f++&&125==hd())continue;switch(w+=Qu(v),v*f){case 38:b=u>0?1:(w+="\f",-1);break;case 44:a[c++]=(rd(w)-1)*b,b=1;break;case 64:45===gd()&&(w+=Cd(fd())),p=gd(),u=d=rd(x=w+=kd(bd())),v++;break;case 45:45===h&&2==rd(w)&&(f=0)}}return i}function Sd(e,t,n,r,o,i,s,a,l,c,u){for(var d=o-1,p=0===o?i:[""],m=od(p),h=0,f=0,g=0;h<r;++h)for(var b=0,v=nd(e,d+1,d=$u(f=s[h])),x=e;b<m;++b)(x=Ku(f>0?p[b]+" "+v:qu(v,/&\f/g,p[b])))&&(l[g++]=x);return pd(e,t,n,0===o?Yu:a,l,c,u)}function Ed(e,t,n){return pd(e,t,n,Hu,Qu(ud),nd(e,2,-2),0)}function Bd(e,t,n,r){return pd(e,t,n,Ju,nd(e,0,r),nd(e,r+1,-1),r)}function Td(e,t){for(var n="",r=od(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Vd(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Ju:return e.return=e.return||e.value;case Hu:return"";case Uu:return e.return=e.value+"{"+Td(e.children,r)+"}";case Yu:e.value=e.props.join(",")}return rd(n=Td(e.children,r))?e.return=e.value+"{"+n+"}":""}function Rd(e){var t=od(e);return function(n,r,o,i){for(var s="",a=0;a<t;a++)s+=e[a](n,r,o,i)||"";return s}}var Md="undefined"!=typeof document,Ld=function(e,t,n){for(var r=0,o=0;r=o,o=gd(),38===r&&12===o&&(t[n]=1),!xd(o);)fd();return vd(e,cd)},Xd=function(e,t){return Id(function(e,t){var n=-1,r=44;do{switch(xd(r)){case 0:38===r&&12===gd()&&(t[n]=1),e[n]+=Ld(cd-1,t,n);break;case 2:e[n]+=Cd(r);break;case 4:if(44===r){e[++n]=58===gd()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Qu(r)}}while(r=fd());return e}(yd(e),t))},Wd=new WeakMap,Od=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Wd.get(n))&&!r){Wd.set(e,!0);for(var o=[],i=Xd(t,o),s=n.props,a=0,l=0;a<i.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=o[a]?i[a].replace(/&\f/g,s[c]):s[c]+" "+i[a]}}},Fd=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Dd(e,t){switch(function(e,t){return 45^td(e,0)?(((t<<2^td(e,0))<<2^td(e,1))<<2^td(e,2))<<2^td(e,3):0}(e,t)){case 5103:return zu+"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 zu+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return zu+e+Zu+e+Du+e+e;case 6828:case 4268:return zu+e+Du+e+e;case 6165:return zu+e+Du+"flex-"+e+e;case 5187:return zu+e+qu(e,/(\w+).+(:[^]+)/,zu+"box-$1$2"+Du+"flex-$1$2")+e;case 5443:return zu+e+Du+"flex-item-"+qu(e,/flex-|-self/,"")+e;case 4675:return zu+e+Du+"flex-line-pack"+qu(e,/align-content|flex-|-self/,"")+e;case 5548:return zu+e+Du+qu(e,"shrink","negative")+e;case 5292:return zu+e+Du+qu(e,"basis","preferred-size")+e;case 6060:return zu+"box-"+qu(e,"-grow","")+zu+e+Du+qu(e,"grow","positive")+e;case 4554:return zu+qu(e,/([^-])(transform)/g,"$1"+zu+"$2")+e;case 6187:return qu(qu(qu(e,/(zoom-|grab)/,zu+"$1"),/(image-set)/,zu+"$1"),e,"")+e;case 5495:case 3959:return qu(e,/(image-set\([^]*)/,zu+"$1$`$1");case 4968:return qu(qu(e,/(.+:)(flex-)?(.*)/,zu+"box-pack:$3"+Du+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+zu+e+e;case 4095:case 3583:case 4068:case 2532:return qu(e,/(.+)-inline(.+)/,zu+"$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(rd(e)-1-t>6)switch(td(e,t+1)){case 109:if(45!==td(e,t+4))break;case 102:return qu(e,/(.+:)(.+)-([^]+)/,"$1"+zu+"$2-$3$1"+Zu+(108==td(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ed(e,"stretch")?Dd(qu(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==td(e,t+1))break;case 6444:switch(td(e,rd(e)-3-(~ed(e,"!important")&&10))){case 107:return qu(e,":",":"+zu)+e;case 101:return qu(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+zu+(45===td(e,14)?"inline-":"")+"box$3$1"+zu+"$2$3$1"+Du+"$2box$3")+e}break;case 5936:switch(td(e,t+11)){case 114:return zu+e+Du+qu(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return zu+e+Du+qu(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return zu+e+Du+qu(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return zu+e+Du+e+e}return e}var Zd,zd,Hd,Yd=Md?void 0:(Zd=function(){return e=function(){return{}},t=Object.create(null),function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]};var e,t},zd=new WeakMap,function(e){if(zd.has(e))return zd.get(e);var t=Zd(e);return zd.set(e,t),t}),Jd=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Ju:e.return=Dd(e.value,e.length);break;case Uu:return Td([md(e,{value:qu(e.value,"@","@"+zu)})],r);case Yu: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 Td([md(e,{props:[qu(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Td([md(e,{props:[qu(t,/:(plac\w+)/,":"+zu+"input-$1")]}),md(e,{props:[qu(t,/:(plac\w+)/,":-moz-$1")]}),md(e,{props:[qu(t,/:(plac\w+)/,Du+"input-$1")]})],r)}return""})}}],Ud=function(e){var t=e.key;if(Md&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,o,i=e.stylisPlugins||Jd,s={},a=[];Md&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;a.push(e)}));var l,c=[Od,Fd];if(Yd){var u=[Vd],d=Rd(c.concat(i,u)),p=Yd(i)(t),m=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=Td(Gd(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};o=function(e,t,n,r){var o=t.name,i=m(e,t);return void 0===b.compat?(r&&(b.inserted[o]=!0),i):r?void(b.inserted[o]=i):i}}else{var h,f=[Vd,(l=function(e){h.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=Rd(c.concat(i,f));o=function(e,t,n,r){h=n,Td(Gd(e?e+"{"+t.styles+"}":t.styles),g),r&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new Fu({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:o};return b.sheet.hydrate(a),b},$d={exports:{}},Qd={};var _d,Kd,qd,ep,tp={};
3
+ "use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("js-base64"),o=require("js-cookie"),r=require("@contentful/rich-text-react-renderer"),i=require("@contentful/rich-text-types"),s=require("next/link"),a=require("next/image"),l=require("react-dom"),c=require("next/navigation");function u(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 d=u(t);function p(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=p(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function f(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=p(e))&&(o&&(o+=" "),o+=t);return o}const m=e=>{const t=v(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),h(n,t)||b(e)},getConflictingClassGroupIds:(e,t)=>{const r=n[e]||[];return t&&o[e]?[...r,...o[e]]:r}}},h=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],o=t.nextPart.get(n),r=o?h(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},g=/^\[(.+)\]$/,b=e=>{if(g.test(e)){const t=g.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},v=e=>{const{theme:t,classGroups:n}=e,o={nextPart:new Map,validators:[]};for(const e in n)x(n[e],o,e,t);return o},x=(e,t,n,o)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:y(t,e)).classGroupId=n)}if("function"==typeof e)return C(e)?void x(e(o),t,n,o):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,r])=>{x(r,y(t,e),n,o)})})},y=(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},C=e=>e.isThemeGetter,w=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)}}},I=e=>{const{prefix:t,experimentalParseClassName:n}=e;let o=e=>{const t=[];let n,o=0,r=0,i=0;for(let s=0;s<e.length;s++){let a=e[s];if(0===o&&0===r){if(":"===a){t.push(e.slice(i,s)),i=s+1;continue}if("/"===a){n=s;continue}}"["===a?o++:"]"===a?o--:"("===a?r++:")"===a&&r--}const s=0===t.length?e:e.substring(i),a=N(s);return{modifiers:t,hasImportantModifier:a!==s,baseClassName:a,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},N=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,A=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}},j=/\s+/;function E(){let e,t,n=0,o="";for(;n<arguments.length;)(e=arguments[n++])&&(t=S(e))&&(o&&(o+=" "),o+=t);return o}const S=e=>{if("string"==typeof e)return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=S(e[o]))&&(n&&(n+=" "),n+=t);return n};function k(e,...t){let n,o,r,i=function(a){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:w(e.cacheSize),parseClassName:I(e),sortModifiers:A(e),...m(e)}))(l),o=n.cache.get,r=n.cache.set,i=s,s(a)};function s(e){const t=o(e);if(t)return t;const i=((e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:i}=t,s=[],a=e.trim().split(j);let l="";for(let e=a.length-1;e>=0;e-=1){const t=a[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let m=!!f,h=o(m?p.substring(0,f):p);if(!h){if(!m){l=t+(l.length>0?" "+l:l);continue}if(h=o(p),!h){l=t+(l.length>0?" "+l:l);continue}m=!1}const g=i(u).join(":"),b=d?g+"!":g,v=b+h;if(s.includes(v))continue;s.push(v);const x=r(h,m);for(let e=0;e<x.length;++e){const t=x[e];s.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return r(e,i),i}return function(){return i(E.apply(null,arguments))}}const P=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},T=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,R=/^\((?:(\w[\w-]*):)?(.+)\)$/i,G=/^\d+\/\d+$/,B=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,O=/\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$/,V=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,M=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,L=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,W=e=>G.test(e),D=e=>!!e&&!Number.isNaN(Number(e)),F=e=>!!e&&Number.isInteger(Number(e)),X=e=>e.endsWith("%")&&D(e.slice(0,-1)),z=e=>B.test(e),Z=()=>!0,H=e=>O.test(e)&&!V.test(e),Y=()=>!1,J=e=>M.test(e),U=e=>L.test(e),$=e=>!Q(e)&&!oe(e),_=e=>ue(e,me,Y),Q=e=>T.test(e),K=e=>ue(e,he,H),q=e=>ue(e,ge,D),ee=e=>ue(e,pe,Y),te=e=>ue(e,fe,U),ne=e=>ue(e,ve,J),oe=e=>R.test(e),re=e=>de(e,he),ie=e=>de(e,be),se=e=>de(e,pe),ae=e=>de(e,me),le=e=>de(e,fe),ce=e=>de(e,ve,!0),ue=(e,t,n)=>{const o=T.exec(e);return!!o&&(o[1]?t(o[1]):n(o[2]))},de=(e,t,n=!1)=>{const o=R.exec(e);return!!o&&(o[1]?t(o[1]):n)},pe=e=>"position"===e||"percentage"===e,fe=e=>"image"===e||"url"===e,me=e=>"length"===e||"size"===e||"bg-size"===e,he=e=>"length"===e,ge=e=>"number"===e,be=e=>"family-name"===e,ve=e=>"shadow"===e,xe=()=>{const e=P("color"),t=P("font"),n=P("text"),o=P("font-weight"),r=P("tracking"),i=P("leading"),s=P("breakpoint"),a=P("container"),l=P("spacing"),c=P("radius"),u=P("shadow"),d=P("inset-shadow"),p=P("text-shadow"),f=P("drop-shadow"),m=P("blur"),h=P("perspective"),g=P("aspect"),b=P("ease"),v=P("animate"),x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",oe,Q],y=()=>[oe,Q,l],C=()=>[W,"full","auto",...y()],w=()=>[F,"none","subgrid",oe,Q],I=()=>["auto",{span:["full",F,oe,Q]},F,oe,Q],N=()=>[F,"auto",oe,Q],A=()=>["auto","min","max","fr",oe,Q],j=()=>["auto",...y()],E=()=>[W,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],S=()=>[e,oe,Q],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",se,ee,{position:[oe,Q]}],T=()=>["auto","cover","contain",ae,_,{size:[oe,Q]}],R=()=>[X,re,K],G=()=>["","none","full",c,oe,Q],B=()=>["",D,re,K],O=()=>[D,X,se,ee],V=()=>["","none",m,oe,Q],M=()=>["none",D,oe,Q],L=()=>["none",D,oe,Q],H=()=>[D,oe,Q],Y=()=>[W,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[z],breakpoint:[z],color:[Z],container:[z],"drop-shadow":[z],ease:["in","out","in-out"],font:[$],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[z],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[z],shadow:[z],spacing:["px",D],text:[z],"text-shadow":[z],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",W,Q,oe,g]}],container:["container"],columns:[{columns:[D,Q,oe,a]}],"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:x()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:C()}],"inset-x":[{"inset-x":C()}],"inset-y":[{"inset-y":C()}],start:[{start:C()}],end:[{end:C()}],top:[{top:C()}],right:[{right:C()}],bottom:[{bottom:C()}],left:[{left:C()}],visibility:["visible","invisible","collapse"],z:[{z:[F,"auto",oe,Q]}],basis:[{basis:[W,"full","auto",a,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[D,W,"auto","initial","none",Q]}],grow:[{grow:["",D,oe,Q]}],shrink:[{shrink:["",D,oe,Q]}],order:[{order:[F,"first","last","none",oe,Q]}],"grid-cols":[{"grid-cols":w()}],"col-start-end":[{col:I()}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":w()}],"row-start-end":[{row:I()}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":A()}],"auto-rows":[{"auto-rows":A()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"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:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:j()}],mx:[{mx:j()}],my:[{my:j()}],ms:[{ms:j()}],me:[{me:j()}],mt:[{mt:j()}],mr:[{mr:j()}],mb:[{mb:j()}],ml:[{ml:j()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:E()}],w:[{w:[a,"screen",...E()]}],"min-w":[{"min-w":[a,"screen","none",...E()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...E()]}],h:[{h:["screen","lh",...E()]}],"min-h":[{"min-h":["screen","lh","none",...E()]}],"max-h":[{"max-h":["screen","lh",...E()]}],"font-size":[{text:["base",n,re,K]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,oe,q]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",X,Q]}],"font-family":[{font:[ie,Q,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,oe,Q]}],"line-clamp":[{"line-clamp":[D,"none",oe,q]}],leading:[{leading:[i,...y()]}],"list-image":[{"list-image":["none",oe,Q]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",oe,Q]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:S()}],"text-color":[{text:S()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[D,"from-font","auto",oe,K]}],"text-decoration-color":[{decoration:S()}],"underline-offset":[{"underline-offset":[D,"auto",oe,Q]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",oe,Q]}],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",oe,Q]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:k()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:T()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},F,oe,Q],radial:["",oe,Q],conic:[F,oe,Q]},le,te]}],"bg-color":[{bg:S()}],"gradient-from-pos":[{from:R()}],"gradient-via-pos":[{via:R()}],"gradient-to-pos":[{to:R()}],"gradient-from":[{from:S()}],"gradient-via":[{via:S()}],"gradient-to":[{to:S()}],rounded:[{rounded:G()}],"rounded-s":[{"rounded-s":G()}],"rounded-e":[{"rounded-e":G()}],"rounded-t":[{"rounded-t":G()}],"rounded-r":[{"rounded-r":G()}],"rounded-b":[{"rounded-b":G()}],"rounded-l":[{"rounded-l":G()}],"rounded-ss":[{"rounded-ss":G()}],"rounded-se":[{"rounded-se":G()}],"rounded-ee":[{"rounded-ee":G()}],"rounded-es":[{"rounded-es":G()}],"rounded-tl":[{"rounded-tl":G()}],"rounded-tr":[{"rounded-tr":G()}],"rounded-br":[{"rounded-br":G()}],"rounded-bl":[{"rounded-bl":G()}],"border-w":[{border:B()}],"border-w-x":[{"border-x":B()}],"border-w-y":[{"border-y":B()}],"border-w-s":[{"border-s":B()}],"border-w-e":[{"border-e":B()}],"border-w-t":[{"border-t":B()}],"border-w-r":[{"border-r":B()}],"border-w-b":[{"border-b":B()}],"border-w-l":[{"border-l":B()}],"divide-x":[{"divide-x":B()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":B()}],"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:S()}],"border-color-x":[{"border-x":S()}],"border-color-y":[{"border-y":S()}],"border-color-s":[{"border-s":S()}],"border-color-e":[{"border-e":S()}],"border-color-t":[{"border-t":S()}],"border-color-r":[{"border-r":S()}],"border-color-b":[{"border-b":S()}],"border-color-l":[{"border-l":S()}],"divide-color":[{divide:S()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[D,oe,Q]}],"outline-w":[{outline:["",D,re,K]}],"outline-color":[{outline:S()}],shadow:[{shadow:["","none",u,ce,ne]}],"shadow-color":[{shadow:S()}],"inset-shadow":[{"inset-shadow":["none",d,ce,ne]}],"inset-shadow-color":[{"inset-shadow":S()}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:S()}],"ring-offset-w":[{"ring-offset":[D,K]}],"ring-offset-color":[{"ring-offset":S()}],"inset-ring-w":[{"inset-ring":B()}],"inset-ring-color":[{"inset-ring":S()}],"text-shadow":[{"text-shadow":["none",p,ce,ne]}],"text-shadow-color":[{"text-shadow":S()}],opacity:[{opacity:[D,oe,Q]}],"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":[D]}],"mask-image-linear-from-pos":[{"mask-linear-from":O()}],"mask-image-linear-to-pos":[{"mask-linear-to":O()}],"mask-image-linear-from-color":[{"mask-linear-from":S()}],"mask-image-linear-to-color":[{"mask-linear-to":S()}],"mask-image-t-from-pos":[{"mask-t-from":O()}],"mask-image-t-to-pos":[{"mask-t-to":O()}],"mask-image-t-from-color":[{"mask-t-from":S()}],"mask-image-t-to-color":[{"mask-t-to":S()}],"mask-image-r-from-pos":[{"mask-r-from":O()}],"mask-image-r-to-pos":[{"mask-r-to":O()}],"mask-image-r-from-color":[{"mask-r-from":S()}],"mask-image-r-to-color":[{"mask-r-to":S()}],"mask-image-b-from-pos":[{"mask-b-from":O()}],"mask-image-b-to-pos":[{"mask-b-to":O()}],"mask-image-b-from-color":[{"mask-b-from":S()}],"mask-image-b-to-color":[{"mask-b-to":S()}],"mask-image-l-from-pos":[{"mask-l-from":O()}],"mask-image-l-to-pos":[{"mask-l-to":O()}],"mask-image-l-from-color":[{"mask-l-from":S()}],"mask-image-l-to-color":[{"mask-l-to":S()}],"mask-image-x-from-pos":[{"mask-x-from":O()}],"mask-image-x-to-pos":[{"mask-x-to":O()}],"mask-image-x-from-color":[{"mask-x-from":S()}],"mask-image-x-to-color":[{"mask-x-to":S()}],"mask-image-y-from-pos":[{"mask-y-from":O()}],"mask-image-y-to-pos":[{"mask-y-to":O()}],"mask-image-y-from-color":[{"mask-y-from":S()}],"mask-image-y-to-color":[{"mask-y-to":S()}],"mask-image-radial":[{"mask-radial":[oe,Q]}],"mask-image-radial-from-pos":[{"mask-radial-from":O()}],"mask-image-radial-to-pos":[{"mask-radial-to":O()}],"mask-image-radial-from-color":[{"mask-radial-from":S()}],"mask-image-radial-to-color":[{"mask-radial-to":S()}],"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":[D]}],"mask-image-conic-from-pos":[{"mask-conic-from":O()}],"mask-image-conic-to-pos":[{"mask-conic-to":O()}],"mask-image-conic-from-color":[{"mask-conic-from":S()}],"mask-image-conic-to-color":[{"mask-conic-to":S()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:k()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:T()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",oe,Q]}],filter:[{filter:["","none",oe,Q]}],blur:[{blur:V()}],brightness:[{brightness:[D,oe,Q]}],contrast:[{contrast:[D,oe,Q]}],"drop-shadow":[{"drop-shadow":["","none",f,ce,ne]}],"drop-shadow-color":[{"drop-shadow":S()}],grayscale:[{grayscale:["",D,oe,Q]}],"hue-rotate":[{"hue-rotate":[D,oe,Q]}],invert:[{invert:["",D,oe,Q]}],saturate:[{saturate:[D,oe,Q]}],sepia:[{sepia:["",D,oe,Q]}],"backdrop-filter":[{"backdrop-filter":["","none",oe,Q]}],"backdrop-blur":[{"backdrop-blur":V()}],"backdrop-brightness":[{"backdrop-brightness":[D,oe,Q]}],"backdrop-contrast":[{"backdrop-contrast":[D,oe,Q]}],"backdrop-grayscale":[{"backdrop-grayscale":["",D,oe,Q]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[D,oe,Q]}],"backdrop-invert":[{"backdrop-invert":["",D,oe,Q]}],"backdrop-opacity":[{"backdrop-opacity":[D,oe,Q]}],"backdrop-saturate":[{"backdrop-saturate":[D,oe,Q]}],"backdrop-sepia":[{"backdrop-sepia":["",D,oe,Q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",oe,Q]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[D,"initial",oe,Q]}],ease:[{ease:["linear","initial",b,oe,Q]}],delay:[{delay:[D,oe,Q]}],animate:[{animate:["none",v,oe,Q]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,oe,Q]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:M()}],"rotate-x":[{"rotate-x":M()}],"rotate-y":[{"rotate-y":M()}],"rotate-z":[{"rotate-z":M()}],scale:[{scale:L()}],"scale-x":[{"scale-x":L()}],"scale-y":[{"scale-y":L()}],"scale-z":[{"scale-z":L()}],"scale-3d":["scale-3d"],skew:[{skew:H()}],"skew-x":[{"skew-x":H()}],"skew-y":[{"skew-y":H()}],transform:[{transform:[oe,Q,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Y()}],"translate-x":[{"translate-x":Y()}],"translate-y":[{"translate-y":Y()}],"translate-z":[{"translate-z":Y()}],"translate-none":["translate-none"],accent:[{accent:S()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:S()}],"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",oe,Q]}],"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":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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",oe,Q]}],fill:[{fill:["none",...S()]}],"stroke-w":[{stroke:[D,re,K,q]}],stroke:[{stroke:["none",...S()]}],"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"]}},ye=(e,t,n)=>{void 0!==n&&(e[t]=n)},Ce=(e,t)=>{if(t)for(const n in t)ye(e,n,t[n])},we=(e,t)=>{if(t)for(const n in t)Ie(e,t,n)},Ie=(e,t,n)=>{const o=t[n];void 0!==o&&(e[n]=e[n]?e[n].concat(o):o)},Ne=((e,...t)=>"function"==typeof e?k(xe,e,...t):k(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:o,extend:r={},override:i={}})=>(ye(e,"cacheSize",t),ye(e,"prefix",n),ye(e,"experimentalParseClassName",o),Ce(e.theme,i.theme),Ce(e.classGroups,i.classGroups),Ce(e.conflictingClassGroups,i.conflictingClassGroups),Ce(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),ye(e,"orderSensitiveModifiers",i.orderSensitiveModifiers),we(e.theme,r.theme),we(e.classGroups,r.classGroups),we(e.conflictingClassGroups,r.conflictingClassGroups),we(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),Ie(e,r,"orderSensitiveModifiers"),e))(xe(),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"]}}}),Ae=(...e)=>Ne(f(...e));const je=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const Ee=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,Se=e=>{if(!e)return null;if(Ee(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return Ee(t)?t:null}return null},ke={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},Pe=t.forwardRef(({children:t,className:n="",variant:o="unstyled",style:r,...i},s)=>{const a=Ae("unstyled"===o?"":"mb-1 leading-6","list-item",`list-item--${o}`,n);return e.jsx("li",{ref:s,className:a,style:r,...i,children:t})});Pe.displayName="ListItem";const Te=t.forwardRef(({type:t="ul",items:n,className:o="",renderItem:r,children:i,variant:s="unstyled",style:a,...l},c)=>{const u=(()=>{if("unstyled"===s)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=Ae(u,`list--${t}`,`list--${s}`,o),p=i||(n&&0!==n.length?n.map((t,n)=>r?r(t,n):e.jsx(Pe,{className:t.className,variant:s,children:t.content},t.id||n)):null),f={className:d,style:a,...l,children:p};return"ol"===t?e.jsx("ol",{...f,ref:c}):e.jsx("ul",{...f,ref:c})});Te.displayName="List";const Re=({name:t,fill:n=0,opticalSize:o="48dp",weight:r="200",emphasis:i=145,size:s=24,color:a="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${r}, 'GRAD' ${i}, 'opsz' ${o.substring(0,2)}`,fontSize:`${s}px`,fontFamily:"'Material Symbols Rounded'",color:a||"currentColor",...l};return e.jsx("span",{style:p,className:Ae("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};Re.displayName="MaterialIcon";const Ge=t.forwardRef(({children:e,as:n,className:o="",style:r,...i},s)=>{const a=n||"p";return t.createElement(a,{ref:s,className:o,style:r,...i},e)});Ge.displayName="Text";const Be=t=>{const{items:n,listIconName:o="check",listItemClassName:r,listContainerClassName:i,iconSize:s=20,iconPosition:a="center",iconColor:l="green",iconClassName:c}=t,u="disc"!==o;return(null==n?void 0:n.length)?e.jsx(Te,{className:Ae("mt-2 space-y-1",i),variant:u?"unstyled":"default",children:n.map((t,n)=>e.jsxs(Pe,{variant:u?"unstyled":"default",className:Ae(`${u?"flex":""} ${"top"===a?"items-start":"items-center"} gap-2 text-text-secondary`,r),children:[u&&e.jsx("div",{className:"flex leading-none",children:e.jsx(Re,{name:o,size:s,color:ke[l],weight:"600",className:Ae("block","top"===a?"mt-1":"",c)})}),e.jsx(Ge,{as:"div",children:t})]},n))}):null};Be.displayName="Checklist";const Oe=t.forwardRef(({children:t,href:n,className:o="",onClick:r,variant:i="unstyled",style:a,external:l=!1,disabled:c=!1,...u},d)=>{const p=(()=>{if("unstyled"===i)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[i]||e.default,t].filter(Boolean).join(" ")})(),f=e=>{c?e.preventDefault():null==r||r(e)},m=Ae(p,`link--${i}`,c&&"link--disabled",o),h={...u,ref:d,className:m,style:a,href:c?void 0:n,onClick:f,...l&&!c&&{target:"_blank",rel:"noopener noreferrer"},...c&&{"aria-disabled":!0,tabIndex:-1}};return l||"string"==typeof n&&n.startsWith("http")?e.jsx("a",{...h,children:t}):e.jsx(s,{href:n||"#",className:m,onClick:f,...u,children:t})});Oe.displayName="Link";const Ve={renderMark:{[i.MARKS.BOLD]:t=>e.jsx("strong",{className:"label3",children:t}),[i.MARKS.ITALIC]:t=>e.jsx("em",{children:t}),[i.MARKS.UNDERLINE]:t=>e.jsx("u",{children:t}),[i.MARKS.CODE]:t=>e.jsx("code",{children:t})},renderNode:{[i.BLOCKS.PARAGRAPH]:(t,n)=>e.jsx("div",{className:"body3 mb-4",children:n}),[i.BLOCKS.HEADING_1]:(t,n)=>e.jsx(Ge,{as:"h1",className:"heading2 md:heading1",children:n}),[i.BLOCKS.HEADING_2]:(t,n)=>e.jsx(Ge,{as:"h2",className:"heading6 md:heading5",children:n}),[i.BLOCKS.HEADING_3]:(t,n)=>e.jsx(Ge,{as:"h3",className:"heading6 md:heading5",children:n}),[i.BLOCKS.HEADING_4]:(t,n)=>e.jsx(Ge,{as:"h3",className:"headingClass",children:n}),[i.BLOCKS.HEADING_5]:(t,n)=>e.jsx(Ge,{as:"h3",className:"heading6 md:heading5",children:n}),[i.BLOCKS.HEADING_6]:(t,n)=>e.jsx(Ge,{as:"h3",className:"heading6",children:n}),[i.BLOCKS.QUOTE]:(t,n)=>e.jsx("blockquote",{children:n}),[i.BLOCKS.UL_LIST]:(t,n)=>e.jsx("ul",{children:n}),[i.BLOCKS.OL_LIST]:(t,n)=>e.jsx("ol",{children:n}),[i.BLOCKS.LIST_ITEM]:(t,n)=>e.jsx("li",{children:n}),[i.INLINES.HYPERLINK]:(t,n)=>{var o;const r=null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.uri,i=/^https?:\/\//.test(r);return e.jsx("a",{href:r,target:i?"_blank":void 0,rel:i?"noopener noreferrer":void 0,children:n})},[i.BLOCKS.EMBEDDED_ASSET]:t=>{var n,o;const r=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target,i=null==r?void 0:r.fields,s=(null==r?void 0:r.url)||(null===(o=null==i?void 0:i.file)||void 0===o?void 0:o.url),a=(null==i?void 0:i.title)||(null==i?void 0:i.description)||"Embedded asset";if(!s)return null;const l=s.startsWith("//")?`https:${s}`:s;return e.jsx("img",{src:l,alt:a,style:{maxWidth:"100%"}})},[i.BLOCKS.EMBEDDED_ENTRY]:t=>{var n,o,r,i;const s=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target;return"callout"===(null===(i=null===(r=null===(o=null==s?void 0:s.sys)||void 0===o?void 0:o.contentType)||void 0===r?void 0:r.sys)||void 0===i?void 0:i.id)?e.jsxs("aside",{style:{border:"1px solid #ddd",padding:12,borderRadius:8},children:[e.jsx("strong",{children:s.fields.title}),e.jsx("div",{children:s.fields.body})]}):null},[i.INLINES.EMBEDDED_ENTRY]:t=>{var n,o,r,i,s,a;const l=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target;return"componentCheckList"===(null===(i=null===(r=null===(o=null==l?void 0:l.sys)||void 0===o?void 0:o.contentType)||void 0===r?void 0:r.sys)||void 0===i?void 0:i.id)?e.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:"4px",padding:"2px 6px",backgroundColor:"#f0fdf4",border:"1px solid #bbf7d0",borderRadius:"4px",fontSize:"0.9em"},children:["✅ ",l.fields.title]}):e.jsx("span",{children:null!==(a=null===(s=null==l?void 0:l.fields)||void 0===s?void 0:s.title)&&void 0!==a?a:""})}}};function Me(t,n,o="body1",s="body1 font-bold",a){if(!t||!Array.isArray(t.content))return null;const l={...Ve,...a,renderNode:{...Ve.renderNode,...null==a?void 0:a.renderNode,[i.BLOCKS.PARAGRAPH]:(t,n)=>e.jsx("div",{className:o,children:n}),[i.INLINES.HYPERLINK]:(t,o)=>{var r;const i=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.uri,a=/^https?:\/\//.test(i),l=null!=n?n:a;return e.jsx(Oe,{href:i,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,variant:"default",className:s,children:o})}}};return r.documentToReactComponents(t,l)}const Le={renderMark:{[i.MARKS.BOLD]:e=>t.createElement("span",{className:"label1"},e)}};const We=t.forwardRef(({children:t,className:n="",style:o,disabled:r,...i},s)=>e.jsx("button",{ref:s,className:Ae(n),style:o,disabled:r,...i,children:t}));We.displayName="Button";const De=n=>{const{open:o,children:r}=n,i=t.useRef(null),[s,a]=t.useState(0);return t.useEffect(()=>{const e=i.current;if(!e)return;const t=()=>{a(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:s,opacity:o?1:0},"aria-hidden":!o,children:e.jsx("div",{ref:i,children:r})})};De.displayName="Collapse";const Fe=n=>{const{title:o,defaultOpen:r,children:i,containerClassName:s,titleClassName:a,className:l,buttonClassName:c,iconClassName:u,openOnlyOnDesktop:d,borderRadiusNone:p=!1}=n,[f,m]=t.useState(Boolean(!1));return t.useEffect(()=>{if(d){const e=window.innerWidth>=1024;m(e)}else m(Boolean(r))},[d,r]),e.jsxs("div",{className:Ae(p?"rounded-none border":"rounded-surface-xs border",s),children:[e.jsxs(We,{type:"button",className:Ae(p?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",c),onClick:()=>m(e=>!e),children:[e.jsx("span",{className:Ae("label5 flex-1",a),children:o}),e.jsx(Re,{className:Ae("flex-shrink-0",u),name:f?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e.jsx(De,{open:f,children:e.jsx("div",{className:Ae("px-4 py-4",l),children:i})})]})};Fe.displayName="Accordion";const Xe=t=>{const{className:n,...o}=t;return e.jsx("div",{className:Ae("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...o})};Xe.displayName="Divider";const ze=({href:t,title:n,description:o,date:r,category:i,image:l,readMoreText:c="Read more",asGrid:u=!0,lgWidth:d,mdWidth:p,index:f})=>{const m=u?"flex h-full flex-col overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop":`callout-card lg:w-[calc(33.3333%-1rem)] md:w-[calc(50%-1rem)] ${d} ${p} w-full overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop`;return e.jsxs("article",{className:m,"data-section-type":"blog-card","data-section-index":f,children:[e.jsx(s,{href:t,tabIndex:-1,"aria-hidden":"true",className:"block",children:e.jsx("div",{className:"h-[232px] w-full flex-shrink-0 overflow-hidden bg-gray-100",children:l?e.jsx(a,{src:l.src,alt:l.alt,width:l.width,height:l.height,className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"}):e.jsx("div",{className:"h-full w-full bg-gradient-to-br from-gray-200 to-gray-100","aria-hidden":"true"})})}),e.jsxs("div",{className:"flex flex-1 flex-col gap-5 p-6 md:p-8",children:[e.jsxs("div",{className:"flex items-center gap-2 text-[13px]",children:[e.jsx("span",{className:"body2 text-text-brand",children:i}),r&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"footnote text-text","aria-hidden":"true",children:"•"}),e.jsx("time",{className:"body2 text-text",children:r})]})]}),n&&e.jsx(s,{href:t,className:"heading6 m-0 line-clamp-3 font-black transition-colors duration-150 hover:text-text-brand",children:n}),o&&e.jsx(Ge,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:o}),e.jsxs(s,{href:t,className:"group mt-auto inline-flex items-center justify-start gap-2 pt-3 text-sm text-text-brand no-underline","aria-label":`${c} about ${n||"this article"}`,children:[e.jsx(Ge,{"aria-label":`${c} about ${n||"this article"}`,className:"label1 text-nowrap",children:c}),e.jsx(Re,{name:"expand_circle_right",fill:1,size:24,weight:"200"})]})]})]})},Ze=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()},He=t.forwardRef(({variant:t="primary_brand",isLoading:n=!1,text:o,label:r,disabled:i,fullWidth:s,buttonClassName:a,size:l={base:"medium"},as:c="button",...u},d)=>{const p=(()=>{const e=Ae((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",s?"w-full":"w-auto"),o=Ae((i||n)&&"cursor-not-allowed",n&&"pl-7");return Ae(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,a)})();let f=`button--${t}`;n&&(f+=" button--loading"),i&&(f+=" button--disabled");const m=`${f} ${p}`,h=e.jsxs(e.Fragment,{children:[n?e.jsx(Re,{name:"progress_activity",className:"animate-spin"}):null,r?e.jsxs("span",{className:"flex flex-col",children:[e.jsx("span",{className:Ae(Ze(l)),children:r}),o]}):o]});return"a"===c?e.jsx("a",{ref:d,className:Ae(m),...u,children:h}):e.jsx("button",{ref:d,className:Ae(m),disabled:i||n,...u,children:h})});He.displayName="BrandButton";const Ye=t=>{const{showButtonAs:n="solid",buttonVariant:o="primary_brand",buttonLabel:r,buttonPrefix:i,href:s,target:a="_blank",anchorId:l,linkClassName:c,linkVariant:u,fullWidth:d,preDefinedFunctionExecution:p,renderCheckPlans:f,buttonClassName:m,clickToOpen:h,tabmodalNameToOpen:g,onModalButtonClick:b,onClick:v,iconName:x,iconFill:y=0,size:C,iconSize:w=24,preserveQueryParameters:I,...N}=t;if("check availability"===p){return null==f?void 0:f({ctaText:r,buttonVariant:o,showButtonAs:n,cta:{...t}})}function A(){"modal"===h&&(null==b||b(g))}function j(e){A(),null==v||v(e)}function E(e){A(),null==v||v(e)}const S="undefined"!=typeof window?window.location.search:"",k=s&&I&&S?function(e,t){if(!t)return e;const n=new URLSearchParams(t),o=new Set(je),r=new Set([...o,"searchtext","page"]);let i,s;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);i=t.origin+t.pathname,s=t.searchParams}else{const[t,n]=e.split("?");i=t,s=new URLSearchParams(n||"")}}catch(t){return e}const a=new URLSearchParams(s);n.forEach((e,t)=>{r.has(t.toLowerCase())||a.has(t)||a.set(t,e)});const l=a.toString();return l?`${i}?${l}`:i}(s,S):s;let P=e.jsx(We,{onClick:E,className:m,...N});switch(n){case"solid":P=k?e.jsx(He,{as:"a",href:k,id:l,variant:o,text:r,label:i,fullWidth:d,buttonClassName:m,size:C,onClick:j}):e.jsx(He,{id:l,variant:o,text:r,label:i,fullWidth:d,size:C,onClick:E,buttonClassName:m});break;case"text":P=e.jsxs(Oe,{href:k,target:a,variant:u||"default",className:`text-text-brand ${c||""}`,onClick:j,children:[r," ",x&&e.jsx(Re,{name:x,size:w,fill:y})]})}return P},Je={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},Ue=({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()},$e=t.forwardRef(({className:t,...n},o)=>{const r="string"==typeof n.src?n.src:"",i=r.toLowerCase().split("?")[0]||"",s=r.includes("images.ctfassets.net"),l=s&&i.endsWith(".svg"),c=s&&!l?{loader:Ue,unoptimized:!1}:{unoptimized:l};return e.jsx(a,{ref:o,className:Ae(t),...n,...c})});$e.displayName="NextImage";const _e=({card:t,lgWidth:n,mdWidth:o})=>{var r,i,s;const a=(null===(r=t.imageAlignment)||void 0===r?void 0:r.toLowerCase())||"left",l="left"===a?"lg:items-start":"right"===a?"lg:items-end":"lg:items-center";return e.jsx("div",{className:`callout-card ${o} ${n} w-full ${null!==(s=Je[null!==(i=t.backgroundColor)&&void 0!==i?i:""])&&void 0!==s?s:""}`,children:e.jsxs("div",{className:`card-template flex h-full flex-col gap-6 p-6 text-center md:gap-8 md:p-8 ${l}`,children:[e.jsx("div",{className:"card-header",children:(t=>{var n,o,r;if(!t.image)return null;return"full"===(null===(n=t.imageView)||void 0===n?void 0:n.toLowerCase())?e.jsx($e,{width:400,height:280,src:t.image,alt:null!==(o=t.title)&&void 0!==o?o:"card-icon",className:"rounded-3xl"}):e.jsx($e,{width:88,height:88,src:t.image,alt:null!==(r=t.title)&&void 0!==r?r:"card-icon"})})(t)}),e.jsxs("div",{className:"card-body flex flex-col gap-3 text-start md:gap-4",children:[t.title&&e.jsx(Ge,{as:"h5",className:"heading6 text-text md:heading5",children:t.title}),t.body&&e.jsx(Ge,{as:"div",className:"body1 text-text",children:t.body})]}),t.cta&&e.jsx("div",{className:"card-footer",children:e.jsx(Ye,{linkVariant:"unstyled",linkClassName:"label1 flex items-center text-text gap-2",...t.cta,iconName:"expand_circle_right",iconFill:1})})]})})},Qe=t.forwardRef(({as:t,className:n="",...o},r)=>{const i=Ae(n);if(t){const n=t;return e.jsx(n,{ref:r,className:i,...o})}return e.jsx("img",{ref:r,className:i,...o})});Qe.displayName="Image";const Ke=({onSelect:n,speed:o,isSelected:r=!1,renderCheckPlans:i,iconSize:s=24,iconClassName:a,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"} `,m=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(We,{onClick:()=>{p(!0),n()},className:Ae(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(Re,{className:Ae(a,r?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),m]})},qe=({planName:n,planSubtext:o,speed:r,price:i,description:s,bestValue:a=!1,bestValueText:l="best value",giftBadge:c,innerBadge:u,theme:d="light",featuresTitle:p="Business Ready Internet features",features:f=[],isExpanded:m,onToggleExpand:h,onCtaClick:g,renderCheckPlans:b,cta:v,techType:x,ismaxSpeed:y})=>{const[C,w]=t.useState(!1),I=void 0!==m?m:C,N="dark"===d;return e.jsxs("article",{className:Ae("relative flex h-full w-full max-w-[392px] flex-col",!a&&"md:pt-[38px]"),children:[a&&e.jsx("div",{className:"label3 rounded-t-[20px] bg-bg-fill-brand-accent px-6 py-2 text-center text-text",children:l}),e.jsxs("div",{className:Ae("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",N?"text-inverse border-2 border-border-accent bg-bg-fill-inverse":"bg-bg text-text",a?"rounded-t-none border-t-0":""),children:[e.jsxs("header",{className:"overflow-none flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx(Ge,{as:"h3",className:Ae("subheading2",N?"text-text-accent-on-bg-inverse":"text-text-brand"),children:n}),e.jsx(Ge,{as:"p",className:"label3 text-wrap "+(N?"text-text-accent-on-bg-inverse":"text-text-brand"),children:o})]}),e.jsxs("div",{className:"flex items-start",children:[e.jsx(Ge,{as:"span",className:Ae("label2 mr-1 mt-[2px]",N?"text-text-inverse":"text-text"),children:"$"}),e.jsx(Ge,{as:"span",className:Ae("subheading6",N?"text-text-inverse":"text-text"),children:i.split(".")[0]}),e.jsxs(Ge,{as:"span",className:Ae("label2",N?"text-text-inverse":"text-text"),children:[i.split(".")[1],"/mo"]})]})]}),e.jsx("section",{children:e.jsx(Ge,{className:Ae("body2",N?"text-text-inverse":"text-text"),children:s})}),(null==c?void 0:c.length)?e.jsx("div",{className:Ae("flex-col items-center rounded-surface-sm p-2",N?"bg-bg-surface-inverse":"bg-bg-surface-info"),children:null==c?void 0:c.map(t=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Qe,{src:t.icon,alt:t.title,width:24,height:24}),e.jsx(Ge,{as:"div",className:Ae("body3",N?"text-text-inverse":"text-text"),children:t.title})]},t.title))}):null,e.jsx(Ke,{onSelect:g,speed:r,isSelected:N,renderCheckPlans:b,cta:v,iconSize:40,techType:x,isMax:y}),f.length>0&&e.jsxs("section",{className:"flex flex-col gap-3",children:[e.jsxs(We,{onClick:()=>{h?h():w(!C)},className:"group flex w-full items-center gap-2 text-left",children:[e.jsx(Ge,{as:"h4",className:Ae("label3",N?"text-text-inverse":"text-text"),children:p}),e.jsx(Re,{name:"keyboard_arrow_down",fill:1,size:24,className:Ae("transition-transform duration-300",I&&"rotate-180",N?"text-text-inverse":"text-text")})]}),e.jsxs("div",{className:Ae("overflow-hidden transition-all duration-200 ease-in-out",I?"opacity-100":"max-h-0 opacity-0"),children:[e.jsx("div",{className:"flex flex-col",children:e.jsx(Be,{items:f,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:N?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(N?"text-text-inverse":"text-text")})}),(null==u?void 0:u.badgeIcon)?e.jsxs("div",{className:"flex items-center gap-2 text-center",children:[e.jsx(Qe,{src:u.badgeIcon,alt:"Inner Badge",width:12,height:12}),e.jsx("span",{className:"footnote text-text",children:u.badgeText.includes("|")?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"font-bold",children:u.badgeText.split("|")[0]}),e.jsx("span",{className:"font-normal",children:u.badgeText.split("|")[1]})]}):e.jsx(Ge,{className:"font-bold",children:u.badgeText})})]}):null]})]})]})]})},et=({title:t,quote:n,rating:o,author:r,role:i,avatarUrl:s,isActive:l=!1,className:c})=>e.jsxs("figure",{className:f("flex w-full flex-col gap-6 rounded-card-lg p-6 transition-all duration-300 md:gap-10 md:p-14",l?"bg-bg-surface-secondary shadow-drop":"bg-gray-50 opacity-40",c),children:[e.jsxs("div",{className:"flex flex-col justify-start gap-3 md:gap-5",children:[e.jsx("header",{children:e.jsx(Ge,{as:"h3",className:"label1 text-text",children:t})}),e.jsx("blockquote",{className:"body1 text-text",children:n}),o?e.jsx("div",{className:"flex","aria-label":`Rating: ${o} out of 5`,children:[...Array(5)].map((t,n)=>e.jsx(Re,{size:24,name:"star",fill:1,className:f("h-[21px] w-[21px]",n<o?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null]}),r&&e.jsxs("figcaption",{className:"flex gap-3 md:gap-5",children:[e.jsx("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e.jsx(a,{src:s,alt:r,fill:!0,className:"object-cover",sizes:"40px"}):e.jsx("div",{className:"flex h-full w-full items-center justify-center bg-gray-500 text-xs font-bold text-white",children:r.charAt(0)})}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("cite",{className:"label3 font-bold not-italic text-text",children:r}),e.jsx(Ge,{as:"p",className:"body3 text-text",children:i})]})]})]});function tt({fields:n,renderCheckPlans:o}){var r,i,s,a;const l=(null===(s=null===(i=null===(r=null==n?void 0:n.items)||void 0===r?void 0:r.items)||void 0===i?void 0:i[0])||void 0===s?void 0:s.benefitsExpanded)||!1,[c,u]=t.useState(l),[d,p]=t.useState({}),[f,m]=t.useState(0),h=(null===(a=null==n?void 0:n.items)||void 0===a?void 0:a.items)||[],g=h.length>2,b=t.useRef([]),v=t.useCallback(()=>{g&&m(e=>(e+3)%h.length)},[g,h.length]),x=t.useCallback(()=>{g&&m(e=>(e-3+h.length)%h.length)},[g,h.length]);if(t.useEffect(()=>{if(!g)return;const e=()=>{const e=b.current.filter(Boolean);if(0===e.length)return;e.forEach(e=>{e.style.height="auto"});const t=Math.max(...e.map(e=>e.offsetHeight));e.forEach(e=>{e.style.height=`${t}px`})};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[g,c,h.length]),!h.length&&!(null==n?void 0:n.title))return null;const y=(t,n,r=!1)=>{var i,s,a,l,f,m,h,g;const v=null===(i=null==t?void 0:t.speed)||void 0===i?void 0:i.split("|"),x=(null==v?void 0:v[0])||"",y=(null==v?void 0:v[1])||"",C=(null===(a=null===(s=null==t?void 0:t.priceSuffix)||void 0===s?void 0:s.split("/"))||void 0===a?void 0:a[0])||"00",w=`${(null==t?void 0:t.price)||"0"}.${C}`,I=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],N=(null==t?void 0:t.highlighted)||!1,A=(null===(m=null===(f=null==t?void 0:t.giftRewards)||void 0===f?void 0:f.list)||void 0===m?void 0:m.items)||[],j={badgeText:t.innerBadge||"",badgeIcon:(null===(h=t.innerBadgeIcon)||void 0===h?void 0:h.url)||""},E=r?d[n]||!1:c;return e.jsx("div",{ref:r?void 0:e=>{e&&!b.current.includes(e)&&(b.current[n]=e)},className:Ae(r?"mx-auto w-full max-w-[392px]":"flex-shrink-1 w-[392px]"),children:e.jsx(qe,{planName:x,planSubtext:y,speed:(null==t?void 0:t.speed)||"",techType:(null==t?void 0:t.techType)||"",ismaxSpeed:(null==t?void 0:t.ismaxSpeed)||"",price:w,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:A,innerBadge:j,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:N,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:I,isExpanded:E,onToggleExpand:()=>{r?p(e=>({...e,[n]:!e[n]})):u(!c)},ctaText:(null===(g=null==t?void 0:t.cta)||void 0===g?void 0:g.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:o,cta:t.cta,hostType:"smb"})},n)},C=[...h,...h,...h,...h,...h],w=2*h.length;return g?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"flex flex-col gap-6 md:hidden",children:h.map((e,t)=>y(e,t,!0))}),e.jsxs("div",{className:"relative hidden w-full md:block",children:[e.jsxs("div",{className:"pointer-events-none absolute -left-16 -right-16 top-[50%] z-30 flex -translate-y-1/2 justify-between px-4 md:px-10",children:[e.jsx(We,{onClick:v,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Previous",children:e.jsx(Re,{name:"arrow_back",size:24})}),e.jsx(We,{onClick:x,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Next",children:e.jsx(Re,{name:"arrow_forward",size:24})})]}),e.jsx("div",{className:"mx-auto max-w-[1280px] overflow-hidden",children:e.jsx("div",{className:"flex items-stretch gap-4 pb-4 transition-transform duration-500 ease-in-out",style:{transform:`translateX(calc(-${w+f} * (392px + 12px)))`},children:C.map((e,t)=>y(e,t,!1))})})]})]}):e.jsx("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-4",children:h.map((e,t)=>y(e,t))})}const nt=t.memo(({item:t,index:n,currentIndex:o,totalItems:r,swipeOffset:i,isSwiping:s,isMobile:a,containerWidth:l,cardOffsetPercentage:c})=>{let u=n-o;u>r/2&&(u-=r),u<-r/2&&(u+=r);const d=0===u,p=1===Math.abs(u),f=u*c+i/l*100,m=!a||(s?d||p:d);return e.jsx("div",{className:Ae("col-start-1 row-start-1 w-full md:max-w-[815px]","will-change-[transform,opacity]",d?"z-10":"z-5",Math.abs(u)>1?"invisible":"visible",m?"opacity-100":"opacity-0",s?"transition-opacity duration-200":"transition-[transform,opacity] duration-500 ease-[cubic-bezier(0.25,0.46,0.45,0.94)]"),style:{transform:`translateX(${f}%)`},children:e.jsx(et,{...t,isActive:d,className:"h-full"})})});nt.displayName="TestimonialCarouselSlide";const ot=({fields:n,autoScroll:o=!0,autoScrollInterval:r=8e3})=>{var i;const s=(null===(i=null==n?void 0:n.items)||void 0===i?void 0:i.items)||[];if(!s||0===s.length)return null;const a=function(e){const{itemCount:n,cardOffsetPercentage:o=105,swipeThreshold:r=.15,mobileBreakpoint:i=768,autoScrollInterval:s=8e3,enableAutoScroll:a=!0}=e,[l,c]=t.useState(0),[u,d]=t.useState(0),[p,f]=t.useState(!1),[m,h]=t.useState(window.innerWidth),[g,b]=t.useState(!1),v=t.useRef(null),x=t.useRef(0),y=t.useRef(null),C={CARD_OFFSET_PERCENTAGE:o,SWIPE_THRESHOLD:r,MOBILE_BREAKPOINT:i,AUTO_SCROLL_INTERVAL:s};t.useEffect(()=>{const e=()=>{var e;h((null===(e=y.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const w=t.useCallback(()=>{0!==n&&c(e=>(e+1)%n)},[n]),I=t.useCallback(()=>{0!==n&&c(e=>0===e?n-1:e-1)},[n]),N=t.useCallback(e=>{e<0||e>=n||c(e)},[n]),A=t.useCallback(e=>{x.current=e.touches[0].clientX,f(!0),v.current&&clearInterval(v.current)},[]),j=t.useCallback(e=>{if(!p)return;const t=e.touches[0].clientX-x.current;d(t)},[p]),E=t.useCallback(()=>{f(!1);const e=m*r;u>e?I():u<-e&&w(),d(0),a&&s>0&&(v.current=setInterval(()=>{w()},s))},[u,m,r,I,w,a,s]);return t.useEffect(()=>{const e=()=>{b(window.innerWidth<i)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[i]),t.useEffect(()=>{if(a&&0!==n&&0!==s)return v.current=setInterval(()=>{w()},s),()=>{v.current&&clearInterval(v.current)}},[w,n,a,s]),{currentIndex:l,swipeOffset:u,isSwiping:p,isMobile:g,containerWidth:m,containerRef:y,nextSlide:w,prevSlide:I,goToSlide:N,handleTouchStart:A,handleTouchMove:j,handleTouchEnd:E,constants:C}}({itemCount:s.length,cardOffsetPercentage:105,swipeThreshold:.15,mobileBreakpoint:768,autoScrollInterval:r,enableAutoScroll:o});return e.jsxs("div",{children:[e.jsxs("div",{className:"relative max-w-[1280px] md:px-11",children:[e.jsx(We,{onClick:a.prevSlide,className:"group absolute left-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Previous",children:e.jsx(Re,{name:"arrow_back",size:24})}),e.jsx(We,{onClick:a.nextSlide,className:"group absolute right-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Next",children:e.jsx(Re,{name:"arrow_forward",size:24})}),e.jsx("div",{ref:a.containerRef,className:"select-none overflow-hidden rounded-card-sm will-change-transform",onTouchStart:a.handleTouchStart,onTouchMove:a.handleTouchMove,onTouchEnd:a.handleTouchEnd,children:e.jsx("div",{className:"grid grid-cols-1 justify-items-center",children:s.map((t,n)=>e.jsx(nt,{item:t,index:n,currentIndex:a.currentIndex,totalItems:s.length,swipeOffset:a.swipeOffset,isSwiping:a.isSwiping,isMobile:a.isMobile,containerWidth:a.containerWidth,cardOffsetPercentage:a.constants.CARD_OFFSET_PERCENTAGE},n))})})]}),e.jsx("div",{className:"mt-5 flex justify-center gap-2 md:mt-10",children:s.map((t,n)=>e.jsx("button",{onClick:()=>a.goToSlide(n),className:Ae("h-2 w-2 rounded-full transition-all duration-300",a.currentIndex===n?"w-6 bg-white":"bg-bg-fill-inverse-disabled hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]})},rt=({tabs:n,activeTab:o,onChange:r,className:i})=>{const s=n.indexOf(o),a=t.useRef([]),[l,c]=t.useState({width:0,left:0});return t.useEffect(()=>{const e=a.current[s];e&&c({width:e.offsetWidth,left:e.offsetLeft})},[s,n]),e.jsx("div",{className:"flex w-full justify-center",children:e.jsxs("div",{className:Ae("relative flex w-fit gap-1 rounded-button-lg bg-bg-surface-active p-1 transition-all duration-200 ease-out",i),children:[e.jsx("div",{className:"absolute bottom-1 top-1 rounded-button bg-bg-fill-brand shadow-md transition-all duration-300 ease-out",style:{width:`${l.width}px`,left:`${l.left}px`}}),n.map((t,n)=>e.jsx("button",{ref:e=>{a.current[n]=e},onClick:()=>r(t),className:Ae("label1 relative z-10 flex min-w-[160px] items-center justify-center whitespace-nowrap rounded-button px-4 py-2.5 transition-colors duration-200 focus:outline-none active:bg-transparent",o===t?"text-text-inverse":"text-text-disabled hover:bg-bg-surface-hover"),children:t},t))]})})},it=({isHovered:t,containerClassName:n})=>e.jsx("button",{tabIndex:-1,className:`group flex h-20 w-20 items-center justify-center rounded-full bg-white shadow-xl transition-all duration-300 hover:scale-110 active:scale-95 ${n||""}`,"aria-label":"Play button",children:e.jsx(Re,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),st=n=>{const{link:o,containerClassName:r,autoplay:i=!1,debug:s=!1}=n,{href:a,embedId:l}=t.useMemo(()=>{if(!o)return{href:"",embedId:""};const e=o.toString(),t=(e=>{const t=e.split(/[?#]/)[0].replace(/\/+$/,""),n=t.match(/vimeo\.com\/(?:.*\/)?(\d{6,})/)||t.match(/player\.vimeo\.com\/video\/(\d{6,})/),o=t.split("/"),r=o[o.length-1];return(null==n?void 0:n[1])?n[1]===r?n[1]:`${n[1]}/${r}`:""})(e);return{href:e,embedId:t}},[o]);if(s&&console.log("[VimeoEmbed] href:",a,"id:",l),!l)return null;const c=function(e){try{const t=new URL(e),n=t.pathname.split("/").filter(Boolean);if("video"===n[0]&&n.length>=2){const e=n[1],o=n[2],r=`https://player.vimeo.com/video/${e}`;return o&&/^[a-f0-9]+$/i.test(o)&&t.searchParams.set("h",o),`${r}?${t.searchParams.toString()}`}return e}catch(t){return e}}(`https://player.vimeo.com/video/${l}?${new URLSearchParams({autoplay:i?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}).toString()}`);return e.jsx("div",{className:Ae("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e.jsx("iframe",{className:"absolute left-0 top-0 h-full w-full",src:c,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};const at=n=>{const{link:o,containerClassName:r,autoplay:i=!1}=n,s=t.useMemo(()=>{if(!o)return"";const e=o.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return e&&11===e[7].length?e[7]:""},[o]),a=i?"?autoplay=1":"";return e.jsx("div",{className:Ae("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e.jsx("iframe",{className:"absolute left-0 top-0 h-full w-full",src:`https://www.youtube.com/embed/${s}${a}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})})},lt=({link:n,anchorName:o})=>{const[r,i]=t.useState(!1),s=t.useRef(null);if(((e,n)=>{const o=t=>{var o;(null===(o=null==e?void 0:e.current)||void 0===o?void 0:o.contains(t.target))||n()};t.useEffect(()=>(document.addEventListener("click",o),()=>{document.removeEventListener("click",o)}))})(s,()=>i(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e.jsx(Ye,{...n,linkClassName:"body3 flex items-center text-text h-full",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:a,title:l,items:c}=n,u=Array.isArray(null==c?void 0:c.items)?c.items:[],d=`--link-anchor-${o}`;return e.jsxs("div",{className:"relative h-full",style:{anchorName:d},ref:s,children:[e.jsxs(Ye,{onClick:()=>i(e=>!e),"aria-expanded":r,buttonClassName:"group body3 flex h-full text-text items-center",showButtonAs:"unstyled",children:[e.jsx(Ge,{as:"span",className:"group-hover:underline",children:null!=l?l:null}),e.jsx(Re,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:r?"keyboard_arrow_up":"keyboard_arrow_down"})]},a),e.jsx("div",{className:Ae("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",r&&u.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:d,top:"anchor(bottom)",left:"calc((anchor(left) + anchor(right)) / 2)",translate:"-50% 0"},children:e.jsx("ul",{className:"flex flex-col gap-2 py-2",children:u.map((t,n)=>e.jsx("li",{className:"submenu-link",children:e.jsx(Ye,{...t,linkVariant:"unstyled",linkClassName:"body3 px-4 hover:bg-bg-surface-hover flex items-center w-full h-11 text-text-link"})},`submenu-link-${n}`))})})]})},ct=({link:n})=>{const[o,r]=t.useState(!1);if(!n)return null;if((e=>"string"==typeof e.href)(n))return e.jsx(Ye,{...n,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:i,title:s,items:a}=n,l=Array.isArray(null==a?void 0:a.items)?a.items:[];return e.jsxs(e.Fragment,{children:[e.jsxs(Ye,{onClick:()=>r(e=>!e),"aria-expanded":o,buttonClassName:"label3 flex h-11 w-full items-center px-4",showButtonAs:"unstyled",children:[null!=s?s:null,e.jsx(Re,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:o?"keyboard_arrow_up":"keyboard_arrow_down"})]},i),o&&l.length>0&&e.jsx(ut,{items:l})]})},ut=({items:t})=>e.jsx("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e.jsx("li",{className:"submenu-link",children:e.jsx(Ye,{...t,linkVariant:"unstyled",linkClassName:"body3 pl-8 pr-4 flex items-center w-full h-11 text-text-link"})},`submenu-link-${n}`))},`submenu-${t.length}`),dt=t=>{const{showBlinkDot:n=!1,buttonStyle:o="primary",size:r="md",children:i,className:s,...a}=t;return e.jsxs(Oe,{...a,className:Ae("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],s),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(Re,{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})]})};dt.displayName="CallButton";const pt=t.forwardRef((n,o)=>{const{className:r,size:i,required:s,placeholder:a,label:l,state:c,errorText:u,prefixIconName:d,prefixIconFill:p=!0,suffixIconFill:f=!1,prefixIconSize:m=24,suffixIconName:h,suffixIconSize:g=24,containerClassName:b,prefixIconClassName:v,loading:x,hasError:y,type:C,...w}=n,I=y?"error":c,[N,A]=t.useState(!1),[j,E]=t.useState(!1),[S,k]=t.useState(C||"text"),P=t.useCallback(e=>{e.stopPropagation(),k(e=>"password"===e?"text":"password")},[]);return e.jsxs("div",{className:"relative",children:[l?e.jsx("label",{htmlFor:l,className:Ae("inline-block pb-1"),children:e.jsxs(Ge,{as:"span",className:"footnote text-text",children:[l,s?e.jsx("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,e.jsxs("div",{className:Ae("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"],b,(N||"hover"===I)&&!j&&"error"!==I&&"border-input-border-hover",(j||"focus"===I||"active"===I)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===I&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[d?e.jsx("div",{className:"mr-1",style:{width:m,height:m,overflow:"hidden"},children:e.jsx(Re,{name:d,fill:p?1:0,size:m,className:Ae(v)})}):null,e.jsx("input",{ref:o,id:l,disabled:x||w.disabled,className:Ae("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:a,type:S,...w,onMouseOver:()=>A(!0),onMouseOut:()=>A(!1),onFocus:e=>{var t;null===(t=w.onFocus)||void 0===t||t.call(w,e),E(!0)},onBlur:e=>{var t;null===(t=w.onBlur)||void 0===t||t.call(w,e),E(!1)}}),h?e.jsx("div",{className:"ml-2",style:{width:g,height:g,overflow:"hidden"},onClick:P,children:e.jsx(Re,{name:"text"===S?"visibility":"visibility_off",size:g,fill:f?1:0})}):null]}),"error"===I&&u&&""!=u?e.jsxs(Ge,{className:Ae("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e.jsx(Re,{name:"info",size:20,className:"mr-1"}),u||"Error"]}):null]})});pt.displayName="Input";const ft=n=>{var o;const{primaryNavigationLinks:r,utilityNavigationLinks:i,supportNavigationLinks:s,accountNavigationLinks:a}=n,[l,c]=t.useState(!1);t.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=l?"hidden":"unset";const e=document.getElementById("drawer-items");if(!e)return;const t=e.querySelectorAll(".focus-item"),n=t[0],o=t[t.length-1],r=e=>{var t,r,i,s;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(r=(t=o).focus)||void 0===r||r.call(t),e.preventDefault()):document.activeElement===o&&(null===(s=(i=n).focus)||void 0===s||s.call(i),e.preventDefault()))};return window.addEventListener("keydown",r),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",r)}},[l]);const u=()=>{c(!1)};return e.jsxs("div",{children:[e.jsx(Ye,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>c(!0),children:e.jsx(Re,{name:"menu"})}),l?e.jsx("div",{className:"fixed bottom-0 left-0 right-0 top-0 z-[90] h-full w-full bg-scrim-bg-modal"}):null,e.jsx("div",{className:Ae("fixed bottom-0 right-0 top-0","z-[100] h-full bg-bg px-0 py-4","transition-all duration-300 ease-in-out","block",l?"right-0":"-right-96"),id:"mobile-menu-overlay",children:e.jsxs("div",{id:"drawer-items",className:"flex h-full flex-col gap-3",children:[e.jsxs("div",{className:"flex items-center justify-between px-4",children:[e.jsx("div",{children:e.jsx(dt,{className:"border-none",href:n.invocaPhoneNumberLink,children:n.invocaPhoneNumberDisplayText})}),e.jsx("div",{children:e.jsx(Ye,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:u,children:e.jsx(Re,{name:"close"})})})]}),e.jsx(mt,{closeMenu:u,isMenuOpen:l,searchBarIconURL:"string"==typeof n.searchBarIcon?n.searchBarIcon:(null===(o=n.searchBarIcon)||void 0===o?void 0:o.url)||"",onSearch:n.onSearch||(()=>{})}),e.jsxs("div",{className:"flex-grow overflow-y-auto",children:[e.jsx("ul",{className:"mt-2 flex flex-col gap-2",children:[...r||[],...s||[],...a||[]].map((t,n)=>e.jsx("li",{children:e.jsx(ct,{link:t})},`main-menu-items-${n}`))}),e.jsx("ul",{className:"mt-2 flex gap-5 bg-bg-fill-info px-4",children:null==i?void 0:i.map((t,n)=>e.jsx("li",{children:e.jsx(Ye,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:Ae("footnote flex items-center w-full h-11 text-text-link",1===n&&"label4"),linkVariant:"unstyled"},`utility-submenu-link-btn-${t.anchorId}`)},`utility-menu-items-${n}`))})]})]})})]})},mt=n=>{const{closeMenu:o,onSearch:r,isMenuOpen:i,searchBarIconURL:s}=n,[a,l]=t.useState(""),c=t.useRef(null),u=e=>{o(),e.preventDefault(),r(a)};return t.useEffect(()=>{i||l("")},[i]),e.jsxs("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:u,children:[e.jsx($e,{src:s,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:u}),e.jsx("div",{className:"flex-grow",children:e.jsx(pt,{ref:c,className:"body3 h-[34px] rounded-none px-3 text-text",name:"search",placeholder:"Search...",value:a,onChange:e=>l(e.target.value),autoComplete:"off",containerClassName:"h-[46px] px-4 pl-0 rounded-none flex-grow border-none"})})]})},ht=n=>{const{searchBarIconURL:o,onSearch:r}=n,[i,s]=t.useState(""),a=t.useRef(null),l=e=>{e.preventDefault(),r(i)};return e.jsxs("form",{name:"searchForm",className:"flex h-9 w-60 rounded-input-xl border px-1 transition-colors focus-within:border-border-focus",onSubmit:l,children:[e.jsx($e,{src:o,width:32,height:32,alt:"Search icon",role:"button",onClick:l}),e.jsx(pt,{ref:a,className:"body3 rounded-full px-3 text-text",name:"search",placeholder:"Search...",value:i,onChange:e=>s(e.target.value),autoComplete:"off",containerClassName:"px-0 h-full border-none rounded-full"})]})},gt={closed:{opacity:0},open:{opacity:1}},bt={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},vt={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},xt=t.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),yt=t.createContext({}),Ct=t.createContext(null),wt="undefined"!=typeof document,It=wt?t.useLayoutEffect:t.useEffect,Nt=t.createContext({strict:!1});function At(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function jt(e){return"string"==typeof e||Array.isArray(e)}function Et(e){return"object"==typeof e&&"function"==typeof e.start}const St=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],kt=["initial",...St];function Pt(e){return Et(e.animate)||kt.some(t=>jt(e[t]))}function Tt(e){return Boolean(Pt(e)||e.variants)}function Rt(e){const{initial:n,animate:o}=function(e,t){if(Pt(e)){const{initial:t,animate:n}=e;return{initial:!1===t||jt(t)?t:void 0,animate:jt(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,t.useContext(yt));return t.useMemo(()=>({initial:n,animate:o}),[Gt(n),Gt(o)])}function Gt(e){return Array.isArray(e)?e.join(" "):e}const Bt={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Ot={};for(const e in Bt)Ot[e]={isEnabled:t=>Bt[e].some(e=>!!t[e])};const Vt=t.createContext({}),Mt=t.createContext({}),Lt=Symbol.for("motionComponentSymbol");function Wt({preloadedFeatures:e,createVisualElement:n,useRender:o,useVisualState:r,Component:i}){e&&function(e){for(const t in e)Ot[t]={...Ot[t],...e[t]}}(e);const s=t.forwardRef(function(s,a){let l;const c={...t.useContext(xt),...s,layoutId:Dt(s)},{isStatic:u}=c,p=Rt(s),f=r(s,u);if(!u&&wt){p.visualElement=function(e,n,o,r){const{visualElement:i}=t.useContext(yt),s=t.useContext(Nt),a=t.useContext(Ct),l=t.useContext(xt).reducedMotion,c=t.useRef();r=r||s.renderer,!c.current&&r&&(c.current=r(e,{visualState:n,parent:i,props:o,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:l}));const u=c.current;return t.useInsertionEffect(()=>{u&&u.update(o,a)}),It(()=>{u&&u.render()}),t.useEffect(()=>{u&&u.updateFeatures()}),(window.HandoffAppearAnimations?It:t.useEffect)(()=>{u&&u.animationState&&u.animationState.animateChanges()}),u}(i,f,c,n);const o=t.useContext(Mt),r=t.useContext(Nt).strict;p.visualElement&&(l=p.visualElement.loadFeatures(c,r,e,o))}return d.createElement(yt.Provider,{value:p},l&&p.visualElement?d.createElement(l,{visualElement:p.visualElement,...c}):null,o(i,s,function(e,n,o){return t.useCallback(t=>{t&&e.mount&&e.mount(t),n&&(t?n.mount(t):n.unmount()),o&&("function"==typeof o?o(t):At(o)&&(o.current=t))},[n])}(f,p.visualElement,a),f,u,p.visualElement))});return s[Lt]=i,s}function Dt({layoutId:e}){const n=t.useContext(Vt).id;return n&&void 0!==e?n+"-"+e:e}function Ft(e){function t(t,n={}){return Wt(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,o)=>(n.has(o)||n.set(o,t(o)),n.get(o))})}const Xt=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function zt(e){return"string"==typeof e&&!e.includes("-")&&!!(Xt.indexOf(e)>-1||/[A-Z]/.test(e))}const Zt={};const Ht=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Yt=new Set(Ht);function Jt(e,{layout:t,layoutId:n}){return Yt.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Zt[e]||"opacity"===e)}const Ut=e=>Boolean(e&&e.getVelocity),$t={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},_t=Ht.length;const Qt=e=>t=>"string"==typeof t&&t.startsWith(e),Kt=Qt("--"),qt=Qt("var(--"),en=(e,t)=>t&&"number"==typeof e?t.transform(e):e,tn=(e,t,n)=>Math.min(Math.max(n,e),t),nn={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},on={...nn,transform:e=>tn(0,1,e)},rn={...nn,default:1},sn=e=>Math.round(1e5*e)/1e5,an=/(-)?([\d]*\.?[\d])+/g,ln=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,cn=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function un(e){return"string"==typeof e}const dn=e=>({test:t=>un(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),pn=dn("deg"),fn=dn("%"),mn=dn("px"),hn=dn("vh"),gn=dn("vw"),bn={...fn,parse:e=>fn.parse(e)/100,transform:e=>fn.transform(100*e)},vn={...nn,transform:Math.round},xn={borderWidth:mn,borderTopWidth:mn,borderRightWidth:mn,borderBottomWidth:mn,borderLeftWidth:mn,borderRadius:mn,radius:mn,borderTopLeftRadius:mn,borderTopRightRadius:mn,borderBottomRightRadius:mn,borderBottomLeftRadius:mn,width:mn,maxWidth:mn,height:mn,maxHeight:mn,size:mn,top:mn,right:mn,bottom:mn,left:mn,padding:mn,paddingTop:mn,paddingRight:mn,paddingBottom:mn,paddingLeft:mn,margin:mn,marginTop:mn,marginRight:mn,marginBottom:mn,marginLeft:mn,rotate:pn,rotateX:pn,rotateY:pn,rotateZ:pn,scale:rn,scaleX:rn,scaleY:rn,scaleZ:rn,skew:pn,skewX:pn,skewY:pn,distance:mn,translateX:mn,translateY:mn,translateZ:mn,x:mn,y:mn,z:mn,perspective:mn,transformPerspective:mn,opacity:on,originX:bn,originY:bn,originZ:mn,zIndex:vn,fillOpacity:on,strokeOpacity:on,numOctaves:vn};function yn(e,t,n,o){const{style:r,vars:i,transform:s,transformOrigin:a}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(Kt(e)){i[e]=n;continue}const o=xn[e],d=en(n,o);if(Yt.has(e)){if(l=!0,s[e]=d,!u)continue;n!==(o.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,a[e]=d):r[e]=d}if(t.transform||(l||o?r.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},o,r){let i="";for(let t=0;t<_t;t++){const n=Ht[t];void 0!==e[n]&&(i+=`${$t[n]||n}(${e[n]}) `)}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),r?i=r(e,o?"":i):n&&o&&(i="none"),i}(e.transform,n,u,o):r.transform&&(r.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}const Cn=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function wn(e,t,n){for(const o in t)Ut(t[o])||Jt(o,n)||(e[o]=t[o])}function In(e,n,o){const r={};return wn(r,e.style||{},e),Object.assign(r,function({transformTemplate:e},n,o){return t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{}};return yn(t,n,{enableHardwareAcceleration:!o},e),Object.assign({},t.vars,t.style)},[n])}(e,n,o)),e.transformValues?e.transformValues(r):r}function Nn(e,t,n){const o={},r=In(e,t,n);return e.drag&&!1!==e.dragListener&&(o.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(o.tabIndex=0),o.style=r,o}const An=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function jn(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||An.has(e)}let En=e=>!jn(e);try{(Sn=require("@emotion/is-prop-valid").default)&&(En=e=>e.startsWith("on")?!jn(e):Sn(e))}catch(e){}var Sn;function kn(e,t,n){return"string"==typeof e?e:mn.transform(t+n*e)}const Pn={offset:"stroke-dashoffset",array:"stroke-dasharray"},Tn={offset:"strokeDashoffset",array:"strokeDasharray"};function Rn(e,{attrX:t,attrY:n,attrScale:o,originX:r,originY:i,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,d,p){if(yn(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:f,style:m,dimensions:h}=e;f.transform&&(h&&(m.transform=f.transform),delete f.transform),h&&(void 0!==r||void 0!==i||m.transform)&&(m.transformOrigin=function(e,t,n){return`${kn(t,e.x,e.width)} ${kn(n,e.y,e.height)}`}(h,void 0!==r?r:.5,void 0!==i?i:.5)),void 0!==t&&(f.x=t),void 0!==n&&(f.y=n),void 0!==o&&(f.scale=o),void 0!==s&&function(e,t,n=1,o=0,r=!0){e.pathLength=1;const i=r?Pn:Tn;e[i.offset]=mn.transform(-o);const s=mn.transform(t),a=mn.transform(n);e[i.array]=`${s} ${a}`}(f,s,a,l,!1)}const Gn=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),Bn=e=>"string"==typeof e&&"svg"===e.toLowerCase();function On(e,n,o,r){const i=t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Rn(t,n,{enableHardwareAcceleration:!1},Bn(r),e.transformTemplate),{...t.attrs,style:{...t.style}}},[n]);if(e.style){const t={};wn(t,e.style,e),i.style={...t,...i.style}}return i}function Vn(e=!1){return(n,o,r,{latestValues:i},s)=>{const a=(zt(n)?On:Nn)(o,i,s,n),l=function(e,t,n){const o={};for(const r in e)"values"===r&&"object"==typeof e.values||(En(r)||!0===n&&jn(r)||!t&&!jn(r)||e.draggable&&r.startsWith("onDrag"))&&(o[r]=e[r]);return o}(o,"string"==typeof n,e),c={...l,...a,ref:r},{children:u}=o,d=t.useMemo(()=>Ut(u)?u.get():u,[u]);return t.createElement(n,{...c,children:d})}}const Mn=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Ln(e,{style:t,vars:n},o,r){Object.assign(e.style,t,r&&r.getProjectionStyles(o));for(const t in n)e.style.setProperty(t,n[t])}const Wn=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Dn(e,t,n,o){Ln(e,t,void 0,o);for(const n in t.attrs)e.setAttribute(Wn.has(n)?n:Mn(n),t.attrs[n])}function Fn(e,t){const{style:n}=e,o={};for(const r in n)(Ut(n[r])||t.style&&Ut(t.style[r])||Jt(r,e))&&(o[r]=n[r]);return o}function Xn(e,t){const n=Fn(e,t);for(const o in e)if(Ut(e[o])||Ut(t[o])){n[-1!==Ht.indexOf(o)?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o]=e[o]}return n}function zn(e,t,n,o={},r={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,o,r)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,o,r)),t}function Zn(e){const n=t.useRef(null);return null===n.current&&(n.current=e()),n.current}const Hn=e=>Array.isArray(e),Yn=e=>Hn(e)?e[e.length-1]||0:e;function Jn(e){const t=Ut(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const Un=e=>(n,o)=>{const r=t.useContext(yt),i=t.useContext(Ct),s=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},o,r,i){const s={latestValues:$n(o,r,i,e),renderState:t()};return n&&(s.mount=e=>n(o,e,s)),s}(e,n,r,i);return o?s():Zn(s)};function $n(e,t,n,o){const r={},i=o(e,{});for(const e in i)r[e]=Jn(i[e]);let{initial:s,animate:a}=e;const l=Pt(e),c=Tt(e);t&&c&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let u=!!n&&!1===n.initial;u=u||!1===s;const d=u?a:s;if(d&&"boolean"!=typeof d&&!Et(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=zn(e,t);if(!n)return;const{transitionEnd:o,transition:i,...s}=n;for(const e in s){let t=s[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(r[e]=t)}for(const e in o)r[e]=o[e]})}return r}const _n={useVisualState:Un({scrapeMotionValuesFromProps:Xn,createRenderState:Gn,onMount:(e,t,{renderState:n,latestValues:o})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}Rn(n,o,{enableHardwareAcceleration:!1},Bn(t.tagName),e.transformTemplate),Dn(t,n)}})},Qn={useVisualState:Un({scrapeMotionValuesFromProps:Fn,createRenderState:Cn})};function Kn(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}const qn=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function eo(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function to(e,t,n,o){return Kn(e,t,(e=>t=>qn(t)&&e(t,eo(t)))(n),o)}const no=(e,t)=>n=>t(e(n)),oo=(...e)=>e.reduce(no);function ro(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const io=ro("dragHorizontal"),so=ro("dragVertical");function ao(e){let t=!1;if("y"===e)t=so();else if("x"===e)t=io();else{const e=io(),n=so();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function lo(){const e=ao(!0);return!e||(e(),!1)}class co{constructor(e){this.isMounted=!1,this.node=e}update(){}}const uo={delta:0,timestamp:0,isProcessing:!1};let po=!0,fo=!1;const mo=["read","update","preRender","render","postRender"],ho=mo.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],o=0,r=!1,i=!1;const s=new WeakSet,a={schedule:(e,i=!1,a=!1)=>{const l=a&&r,c=l?t:n;return i&&s.add(e),-1===c.indexOf(e)&&(c.push(e),l&&r&&(o=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),s.delete(e)},process:l=>{if(r)i=!0;else{if(r=!0,[t,n]=[n,t],n.length=0,o=t.length,o)for(let n=0;n<o;n++){const o=t[n];o(l),s.has(o)&&(a.schedule(o),e())}r=!1,i&&(i=!1,a.process(l))}}};return a}(()=>fo=!0),e),{}),go=e=>ho[e].process(uo),bo=e=>{fo=!1,uo.delta=po?1e3/60:Math.max(Math.min(e-uo.timestamp,40),1),uo.timestamp=e,uo.isProcessing=!0,mo.forEach(go),uo.isProcessing=!1,fo&&(po=!1,requestAnimationFrame(bo))},vo=mo.reduce((e,t)=>{const n=ho[t];return e[t]=(e,t=!1,o=!1)=>(fo||(fo=!0,po=!0,uo.isProcessing||requestAnimationFrame(bo)),n.schedule(e,t,o)),e},{});function xo(e){mo.forEach(t=>ho[t].cancel(e))}function yo(e,t){const n="pointer"+(t?"enter":"leave"),o="onHover"+(t?"Start":"End");return to(e.current,n,(n,r)=>{if("touch"===n.type||lo())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[o]&&vo.update(()=>i[o](n,r))},{passive:!e.getProps()[o]})}const Co=(e,t)=>!!t&&(e===t||Co(e,t.parentElement)),wo=e=>e;function Io(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,eo(n))}const No=new WeakMap,Ao=new WeakMap,jo=e=>{const t=No.get(e.target);t&&t(e)},Eo=e=>{e.forEach(jo)};function So(e,t,n){const o=function({root:e,...t}){const n=e||document;Ao.has(n)||Ao.set(n,{});const o=Ao.get(n),r=JSON.stringify(t);return o[r]||(o[r]=new IntersectionObserver(Eo,{root:e,...t})),o[r]}(t);return No.set(e,n),o.observe(e),()=>{No.delete(e),o.unobserve(e)}}const ko={some:0,all:1};const Po={inView:{Feature:class extends co{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:o="some",once:r}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof o?o:ko[o]};return So(this.node.current,i,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,r&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:o}=this.node.getProps(),i=t?n:o;i&&i(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends co{constructor(){super(...arguments),this.removeStartListeners=wo,this.removeEndListeners=wo,this.removeAccessibleListeners=wo,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),o=to(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:o}=this.node.getProps();vo.update(()=>{Co(this.node.current,e.target)?n&&n(e,t):o&&o(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),r=to(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=oo(o,r),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Kn(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Kn(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&Io("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&vo.update(()=>n(e,t))})}),Io("down",(e,t)=>{this.startPress(e,t)})}),t=Kn(this.node.current,"blur",()=>{this.isPressing&&Io("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=oo(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&vo.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!lo()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&vo.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=to(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Kn(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=oo(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends co{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=oo(Kn(this.node.current,"focus",()=>this.onFocus()),Kn(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends co{mount(){this.unmount=oo(yo(this.node,!0),yo(this.node,!1))}unmount(){}}}};function To(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let o=0;o<n;o++)if(t[o]!==e[o])return!1;return!0}function Ro(e,t,n){const o=e.getProps();return zn(o,t,void 0!==n?n:o.custom,function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}const Go="data-"+Mn("framerAppearId");let Bo=wo,Oo=wo;"production"!==process.env.NODE_ENV&&(Bo=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},Oo=(e,t)=>{if(!e)throw new Error(t)});const Vo=e=>1e3*e,Mo=e=>e/1e3,Lo=!1,Wo=e=>Array.isArray(e)&&"number"==typeof e[0];function Do(e){return Boolean(!e||"string"==typeof e&&Xo[e]||Wo(e)||Array.isArray(e)&&e.every(Do))}const Fo=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,Xo={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Fo([0,.65,.55,1]),circOut:Fo([.55,0,1,.45]),backIn:Fo([.31,.01,.66,-.59]),backOut:Fo([.33,1.53,.69,.99])};function zo(e){if(e)return Wo(e)?Fo(e):Array.isArray(e)?e.map(zo):Xo[e]}const Zo={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Ho={},Yo={};for(const e in Zo)Yo[e]=()=>(void 0===Ho[e]&&(Ho[e]=Zo[e]()),Ho[e]);const Jo=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Uo(e,t,n,o){if(e===t&&n===o)return wo;const r=t=>function(e,t,n,o,r){let i,s,a=0;do{s=t+(n-t)/2,i=Jo(s,o,r)-e,i>0?n=s:t=s}while(Math.abs(i)>1e-7&&++a<12);return s}(t,0,1,e,n);return e=>0===e||1===e?e:Jo(r(e),t,o)}const $o=Uo(.42,0,1,1),_o=Uo(0,0,.58,1),Qo=Uo(.42,0,.58,1),Ko=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,qo=e=>t=>1-e(1-t),er=e=>1-Math.sin(Math.acos(e)),tr=qo(er),nr=Ko(tr),or=Uo(.33,1.53,.69,.99),rr=qo(or),ir=Ko(rr),sr={linear:wo,easeIn:$o,easeInOut:Qo,easeOut:_o,circIn:er,circInOut:nr,circOut:tr,backIn:rr,backInOut:ir,backOut:or,anticipate:e=>(e*=2)<1?.5*rr(e):.5*(2-Math.pow(2,-10*(e-1)))},ar=e=>{if(Array.isArray(e)){Oo(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,o,r]=e;return Uo(t,n,o,r)}return"string"==typeof e?(Oo(void 0!==sr[e],`Invalid easing type '${e}'`),sr[e]):e},lr=(e,t)=>n=>Boolean(un(n)&&cn.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),cr=(e,t,n)=>o=>{if(!un(o))return o;const[r,i,s,a]=o.match(an);return{[e]:parseFloat(r),[t]:parseFloat(i),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},ur={...nn,transform:e=>Math.round((e=>tn(0,255,e))(e))},dr={test:lr("rgb","red"),parse:cr("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+ur.transform(e)+", "+ur.transform(t)+", "+ur.transform(n)+", "+sn(on.transform(o))+")"};const pr={test:lr("#"),parse:function(e){let t="",n="",o="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,o+=o,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:r?parseInt(r,16)/255:1}},transform:dr.transform},fr={test:lr("hsl","hue"),parse:cr("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+fn.transform(sn(t))+", "+fn.transform(sn(n))+", "+sn(on.transform(o))+")"},mr={test:e=>dr.test(e)||pr.test(e)||fr.test(e),parse:e=>dr.test(e)?dr.parse(e):fr.test(e)?fr.parse(e):pr.parse(e),transform:e=>un(e)?e:e.hasOwnProperty("red")?dr.transform(e):fr.transform(e)},hr=(e,t,n)=>-n*e+n*t+e;function gr(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}const br=(e,t,n)=>{const o=e*e;return Math.sqrt(Math.max(0,n*(t*t-o)+o))},vr=[pr,dr,fr];function xr(e){const t=(n=e,vr.find(e=>e.test(n)));var n;Oo(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let o=t.parse(e);return t===fr&&(o=function({hue:e,saturation:t,lightness:n,alpha:o}){e/=360,n/=100;let r=0,i=0,s=0;if(t/=100){const o=n<.5?n*(1+t):n+t-n*t,a=2*n-o;r=gr(a,o,e+1/3),i=gr(a,o,e),s=gr(a,o,e-1/3)}else r=i=s=n;return{red:Math.round(255*r),green:Math.round(255*i),blue:Math.round(255*s),alpha:o}}(o)),o}const yr=(e,t)=>{const n=xr(e),o=xr(t),r={...n};return e=>(r.red=br(n.red,o.red,e),r.green=br(n.green,o.green,e),r.blue=br(n.blue,o.blue,e),r.alpha=hr(n.alpha,o.alpha,e),dr.transform(r))};const Cr={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:wo},wr={regex:ln,countKey:"Colors",token:"${c}",parse:mr.parse},Ir={regex:an,countKey:"Numbers",token:"${n}",parse:nn.parse};function Nr(e,{regex:t,countKey:n,token:o,parse:r}){const i=e.tokenised.match(t);i&&(e["num"+n]=i.length,e.tokenised=e.tokenised.replace(t,o),e.values.push(...i.map(r)))}function Ar(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Nr(n,Cr),Nr(n,wr),Nr(n,Ir),n}function jr(e){return Ar(e).values}function Er(e){const{values:t,numColors:n,numVars:o,tokenised:r}=Ar(e),i=t.length;return e=>{let t=r;for(let r=0;r<i;r++)t=r<o?t.replace(Cr.token,e[r]):r<o+n?t.replace(wr.token,mr.transform(e[r])):t.replace(Ir.token,sn(e[r]));return t}}const Sr=e=>"number"==typeof e?0:e;const kr={test:function(e){var t,n;return isNaN(e)&&un(e)&&((null===(t=e.match(an))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(ln))||void 0===n?void 0:n.length)||0)>0},parse:jr,createTransformer:Er,getAnimatableNone:function(e){const t=jr(e);return Er(e)(t.map(Sr))}},Pr=(e,t)=>n=>`${n>0?t:e}`;function Tr(e,t){return"number"==typeof e?n=>hr(e,t,n):mr.test(e)?yr(e,t):e.startsWith("var(")?Pr(e,t):Br(e,t)}const Rr=(e,t)=>{const n=[...e],o=n.length,r=e.map((e,n)=>Tr(e,t[n]));return e=>{for(let t=0;t<o;t++)n[t]=r[t](e);return n}},Gr=(e,t)=>{const n={...e,...t},o={};for(const r in n)void 0!==e[r]&&void 0!==t[r]&&(o[r]=Tr(e[r],t[r]));return e=>{for(const t in o)n[t]=o[t](e);return n}},Br=(e,t)=>{const n=kr.createTransformer(t),o=Ar(e),r=Ar(t);return o.numVars===r.numVars&&o.numColors===r.numColors&&o.numNumbers>=r.numNumbers?oo(Rr(o.values,r.values),n):(Bo(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Pr(e,t))},Or=(e,t,n)=>{const o=t-e;return 0===o?1:(n-e)/o},Vr=(e,t)=>n=>hr(e,t,n);function Mr(e,t,n){const o=[],r=n||("number"==typeof(i=e[0])?Vr:"string"==typeof i?mr.test(i)?yr:Br:Array.isArray(i)?Rr:"object"==typeof i?Gr:Vr);var i;const s=e.length-1;for(let n=0;n<s;n++){let i=r(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||wo:t;i=oo(e,i)}o.push(i)}return o}function Lr(e,t,{clamp:n=!0,ease:o,mixer:r}={}){const i=e.length;if(Oo(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=Mr(t,o,r),a=s.length,l=t=>{let n=0;if(a>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const o=Or(e[n],e[n+1],t);return s[n](o)};return n?t=>l(tn(e[0],e[i-1],t)):l}function Wr(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const r=Or(0,t,o);e.push(hr(n,1,r))}}(t,e.length-1),t}function Dr({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const r=(e=>Array.isArray(e)&&"number"!=typeof e[0])(o)?o.map(ar):ar(o),i={done:!1,value:t[0]},s=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Wr(t),e),a=Lr(s,t,{ease:Array.isArray(r)?r:(l=t,c=r,l.map(()=>c||Qo).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(i.value=a(t),i.done=t>=e,i)}}function Fr(e,t){return t?e*(1e3/t):0}function Xr(e,t,n){const o=Math.max(t-5,0);return Fr(n-e(o),t-o)}const zr=.001;function Zr({duration:e=800,bounce:t=.25,velocity:n=0,mass:o=1}){let r,i;Bo(e<=Vo(10),"Spring duration must be 10 seconds or less");let s=1-t;s=tn(.05,1,s),e=tn(.01,10,Mo(e)),s<1?(r=t=>{const o=t*s,r=o*e,i=o-n,a=Yr(t,s),l=Math.exp(-r);return zr-i/a*l},i=t=>{const o=t*s*e,i=o*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-o),c=Yr(Math.pow(t,2),s);return(-r(t)+zr>0?-1:1)*((i-a)*l)/c}):(r=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const a=function(e,t,n){let o=n;for(let n=1;n<Hr;n++)o-=e(o)/t(o);return o}(r,i,5/e);if(e=Vo(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(a,2)*o;return{stiffness:t,damping:2*s*Math.sqrt(o*t),duration:e}}}const Hr=12;function Yr(e,t){return e*Math.sqrt(1-t*t)}const Jr=["duration","bounce"],Ur=["stiffness","damping","mass"];function $r(e,t){return t.some(t=>void 0!==e[t])}function _r({keyframes:e,restDelta:t,restSpeed:n,...o}){const r=e[0],i=e[e.length-1],s={done:!1,value:r},{stiffness:a,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!$r(e,Ur)&&$r(e,Jr)){const n=Zr(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(o),f=u?-Mo(u):0,m=l/(2*Math.sqrt(a*c)),h=i-r,g=Mo(Math.sqrt(a/c)),b=Math.abs(h)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),m<1){const e=Yr(g,m);v=t=>{const n=Math.exp(-m*g*t);return i-n*((f+m*g*h)/e*Math.sin(e*t)+h*Math.cos(e*t))}}else if(1===m)v=e=>i-Math.exp(-g*e)*(h+(f+g*h)*e);else{const e=g*Math.sqrt(m*m-1);v=t=>{const n=Math.exp(-m*g*t),o=Math.min(e*t,300);return i-n*((f+m*g*h)*Math.sinh(o)+e*h*Math.cosh(o))/e}}return{calculatedDuration:p&&d||null,next:e=>{const o=v(e);if(p)s.done=e>=d;else{let r=f;0!==e&&(r=m<1?Xr(v,e,o):0);const a=Math.abs(r)<=n,l=Math.abs(i-o)<=t;s.done=a&&l}return s.value=s.done?i:o,s}}}function Qr({keyframes:e,velocity:t=0,power:n=.8,timeConstant:o=325,bounceDamping:r=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},f=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let m=n*t;const h=d+m,g=void 0===s?h:s(h);g!==h&&(m=g-d);const b=e=>-m*Math.exp(-e/o),v=e=>g+b(e),x=e=>{const t=b(e),n=v(e);p.done=Math.abs(t)<=c,p.value=p.done?g:n};let y,C;const w=e=>{var t;(t=p.value,void 0!==a&&t<a||void 0!==l&&t>l)&&(y=e,C=_r({keyframes:[p.value,f(p.value)],velocity:Xr(v,e,p.value),damping:r,stiffness:i,restDelta:c,restSpeed:u}))};return w(0),{calculatedDuration:null,next:e=>{let t=!1;return C||void 0!==y||(t=!0,x(e),w(e)),void 0!==y&&e>y?C.next(e-y):(!t&&x(e),p)}}}const Kr=e=>{const t=({timestamp:t})=>e(t);return{start:()=>vo.update(t,!0),stop:()=>xo(t),now:()=>uo.isProcessing?uo.timestamp:performance.now()}};function qr(e){let t=0;let n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}const ei={decay:Qr,inertia:Qr,tween:Dr,keyframes:Dr,spring:_r};function ti({autoplay:e=!0,delay:t=0,driver:n=Kr,keyframes:o,type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:a="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let f,m,h=1,g=!1;const b=()=>{f&&f(),m=new Promise(e=>{f=e})};let v;b();const x=ei[r]||Dr;let y;x!==Dr&&"number"!=typeof o[0]&&(y=Lr([0,100],o,{clamp:!1}),o=[0,100]);const C=x({...p,keyframes:o});let w;"mirror"===a&&(w=x({...p,keyframes:[...o].reverse(),velocity:-(p.velocity||0)}));let I="idle",N=null,A=null,j=null;null===C.calculatedDuration&&i&&(C.calculatedDuration=qr(C));const{calculatedDuration:E}=C;let S=1/0,k=1/0;null!==E&&(S=E+s,k=S*(i+1)-s);let P=0;const T=e=>{if(null===A)return;h>0&&(A=Math.min(A,e)),P=null!==N?N:(e-A)*h;const n=P-t,r=n<0;P=Math.max(n,0),"finished"===I&&null===N&&(P=k);let l=P,c=C;if(i){const e=P/S;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,i+1);const o=Boolean(t%2);o&&("reverse"===a?(n=1-n,s&&(n-=s/S)):"mirror"===a&&(c=w));let r=tn(0,1,n);P>k&&(r="reverse"===a&&o?1:0),l=r*S}const u=r?{done:!1,value:o[0]}:c.next(l);y&&(u.value=y(u.value));let{done:p}=u;r||null===E||(p=P>=k);const f=null===N&&("finished"===I||"running"===I&&p||h<0&&P<=0);return d&&d(u.value),f&&B(),u},R=()=>{v&&v.stop(),v=void 0},G=()=>{I="idle",R(),b(),A=j=null},B=()=>{I="finished",u&&u(),R(),b()},O=()=>{if(g)return;v||(v=n(T));const e=v.now();l&&l(),null!==N?A=e-N:A&&"finished"!==I||(A=e),j=A,N=null,I="running",v.start()};e&&O();const V={then:(e,t)=>m.then(e,t),get time(){return Mo(P)},set time(e){e=Vo(e),P=e,null===N&&v&&0!==h?A=v.now()-e/h:N=e},get duration(){const e=null===C.calculatedDuration?qr(C):C.calculatedDuration;return Mo(e)},get speed(){return h},set speed(e){e!==h&&v&&(h=e,V.time=Mo(P))},get state(){return I},play:O,pause:()=>{I="paused",N=P},stop:()=>{g=!0,"idle"!==I&&(I="idle",c&&c(),G())},cancel:()=>{null!==j&&T(j),G()},complete:()=>{I="finished"},sample:e=>(A=0,T(e))};return V}const ni=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function oi(e,t,{onUpdate:n,onComplete:o,...r}){if(!(Yo.waapi()&&ni.has(t)&&!r.repeatDelay&&"mirror"!==r.repeatType&&0!==r.damping&&"inertia"!==r.type))return!1;let i,s,a=!1;const l=()=>{s=new Promise(e=>{i=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=r;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!Do(t.ease))(t,r)){const e=ti({...r,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let o=0;for(;!t.done&&o<2e4;)t=e.sample(o),n.push(t.value),o+=10;p=void 0,c=n,u=o-10,d="linear"}const f=function(e,t,n,{delay:o=0,duration:r,repeat:i=0,repeatType:s="loop",ease:a,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=zo(a);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:o,duration:r,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:"reverse"===s?"alternate":"normal"})}(e.owner.current,t,c,{...r,duration:u,ease:d,times:p}),m=()=>f.cancel(),h=()=>{vo.update(m),i(),l()};return f.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,r)),o&&o(),h()},{then:(e,t)=>s.then(e,t),get time(){return Mo(f.currentTime||0)},set time(e){f.currentTime=Vo(e)},get speed(){return f.playbackRate},set speed(e){f.playbackRate=e},get duration(){return Mo(u)},play:()=>{a||(f.play(),xo(m))},pause:()=>f.pause(),stop:()=>{if(a=!0,"idle"===f.playState)return;const{currentTime:t}=f;if(t){const n=ti({...r,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}h()},complete:()=>f.finish(),cancel:h}}const ri={type:"spring",stiffness:500,damping:25,restSpeed:10},ii={type:"keyframes",duration:.8},si={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ai=(e,{keyframes:t})=>t.length>2?ii:Yt.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:ri:si,li=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!kr.test(t)&&"0"!==t||t.startsWith("url("))),ci=new Set(["brightness","contrast","saturate","opacity"]);function ui(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[o]=n.match(an)||[];if(!o)return e;const r=n.replace(o,"");let i=ci.has(t)?1:0;return o!==n&&(i*=100),t+"("+i+r+")"}const di=/([a-z-]*)\(.*?\)/g,pi={...kr,getAnimatableNone:e=>{const t=e.match(di);return t?t.map(ui).join(" "):e}},fi={...xn,color:mr,backgroundColor:mr,outlineColor:mr,fill:mr,stroke:mr,borderColor:mr,borderTopColor:mr,borderRightColor:mr,borderBottomColor:mr,borderLeftColor:mr,filter:pi,WebkitFilter:pi},mi=e=>fi[e];function hi(e,t){let n=mi(e);return n!==pi&&(n=kr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const gi=e=>/^0[^.\s]+$/.test(e);function bi(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||gi(e):void 0}function vi(e,t){return e[t]||e.default||e}const xi=(e,t,n,o={})=>r=>{const i=vi(o,e)||{},s=i.delay||o.delay||0;let{elapsed:a=0}=o;a-=Vo(s);const l=function(e,t,n,o){const r=li(t,n);let i;i=Array.isArray(n)?[...n]:[null,n];const s=void 0!==o.from?o.from:e.get();let a;const l=[];for(let e=0;e<i.length;e++)null===i[e]&&(i[e]=0===e?s:i[e-1]),bi(i[e])&&l.push(e),"string"==typeof i[e]&&"none"!==i[e]&&"0"!==i[e]&&(a=i[e]);if(r&&l.length&&a)for(let e=0;e<l.length;e++)i[l[e]]=hi(t,a);return i}(t,e,n,i),c=l[0],u=l[l.length-1],d=li(e,c),p=li(e,u);Bo(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let f={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...i,delay:-a,onUpdate:e=>{t.set(e),i.onUpdate&&i.onUpdate(e)},onComplete:()=>{r(),i.onComplete&&i.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:o,staggerDirection:r,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(i)||(f={...f,...ai(e,f)}),f.duration&&(f.duration=Vo(f.duration)),f.repeatDelay&&(f.repeatDelay=Vo(f.repeatDelay)),!d||!p||Lo||!1===i.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:o}){const r=()=>(n&&n(e[e.length-1]),o&&o(),{time:0,speed:1,duration:0,play:wo,pause:wo,stop:wo,then:e=>(e(),Promise.resolve()),cancel:wo,complete:wo});return t?ti({keyframes:[0,1],duration:0,delay:t,onComplete:r}):r()}(f);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=oi(t,e,f);if(n)return n}return ti(f)};function yi(e){return Boolean(Ut(e)&&e.add)}const Ci=e=>/^\-?\d*\.?\d+$/.test(e);function wi(e,t){-1===e.indexOf(t)&&e.push(t)}function Ii(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Ni{constructor(){this.subscriptions=[]}add(e){return wi(this.subscriptions,e),()=>Ii(this.subscriptions,e)}notify(e,t,n){const o=this.subscriptions.length;if(o)if(1===o)this.subscriptions[0](e,t,n);else for(let r=0;r<o;r++){const o=this.subscriptions[r];o&&o(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ai=new Set;function ji(e,t,n){e||Ai.has(t)||(console.warn(t),Ai.add(t))}class Ei{constructor(e,t={}){var n;this.version="10.12.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:n,timestamp:o}=uo;this.lastUpdated!==o&&(this.timeDelta=n,this.lastUpdated=o,vo.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>vo.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(n=this.current,!isNaN(parseFloat(n))),this.owner=t.owner}onChange(e){return"production"!==process.env.NODE_ENV&&ji(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Ni);const n=this.events[e].add(t);return"change"===e?()=>{n(),vo.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=e,this.timeDelta=n}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?Fr(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Si(e,t){return new Ei(e,t)}const ki=e=>t=>t.test(e),Pi=[nn,mn,fn,pn,gn,hn,{test:e=>"auto"===e,parse:e=>e}],Ti=e=>Pi.find(ki(e)),Ri=[...Pi,mr,kr],Gi=e=>Ri.find(ki(e));function Bi(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Si(n))}function Oi(e,t){if(!t)return;return(t[e]||t.default||t).from}function Vi({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,o}function Mi(e,t,{delay:n=0,transitionOverride:o,type:r}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:s,...a}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");o&&(i=o);const c=[],u=r&&e.animationState&&e.animationState.getState()[r];for(const t in a){const o=e.getValue(t),r=a[t];if(!o||void 0===r||u&&Vi(u,t))continue;const s={delay:n,elapsed:0,...i};if(window.HandoffAppearAnimations&&!o.hasAnimated){const n=e.getProps()[Go];n&&(s.elapsed=window.HandoffAppearAnimations(n,t,o,vo))}o.start(xi(t,o,r,e.shouldReduceMotion&&Yt.has(t)?{type:!1}:s));const d=o.animation;yi(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return s&&Promise.all(c).then(()=>{s&&function(e,t){const n=Ro(e,t);let{transitionEnd:o={},transition:r={},...i}=n?e.makeTargetAnimatable(n,!1):{};i={...i,...o};for(const t in i)Bi(e,t,Yn(i[t]))}(e,s)}),c}function Li(e,t,n={}){const o=Ro(e,t,n.custom);let{transition:r=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(r=n.transitionOverride);const i=o?()=>Promise.all(Mi(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(o=0)=>{const{delayChildren:i=0,staggerChildren:s,staggerDirection:a}=r;return function(e,t,n=0,o=0,r=1,i){const s=[],a=(e.variantChildren.size-1)*o,l=1===r?(e=0)=>e*o:(e=0)=>a-e*o;return Array.from(e.variantChildren).sort(Wi).forEach((e,o)=>{e.notify("AnimationStart",t),s.push(Li(e,t,{...i,delay:n+l(o)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,i+o,s,a,n)}:()=>Promise.resolve(),{when:a}=r;if(a){const[e,t]="beforeChildren"===a?[i,s]:[s,i];return e().then(()=>t())}return Promise.all([i(),s(n.delay)])}function Wi(e,t){return e.sortNodePosition(t)}const Di=[...St].reverse(),Fi=St.length;function Xi(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let o;if(e.notify("AnimationStart",t),Array.isArray(t)){const r=t.map(t=>Li(e,t,n));o=Promise.all(r)}else if("string"==typeof t)o=Li(e,t,n);else{const r="function"==typeof t?Ro(e,t,n.custom):t;o=Promise.all(Mi(e,r,n))}return o.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function zi(e){let t=Xi(e);const n={animate:Hi(!0),whileInView:Hi(),whileHover:Hi(),whileTap:Hi(),whileDrag:Hi(),whileFocus:Hi(),exit:Hi()};let o=!0;const r=(t,n)=>{const o=Ro(e,n);if(o){const{transition:e,transitionEnd:n,...r}=o;t={...t,...r,...n}}return t};function i(i,s){const a=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<Fi;t++){const f=Di[t],m=n[f],h=void 0!==a[f]?a[f]:l[f],g=jt(h),b=f===s?m.isActive:null;!1===b&&(p=t);let v=h===l[f]&&h!==a[f]&&g;if(v&&o&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&null===b||!h&&!m.prevProp||Et(h)||"boolean"==typeof h)continue;const x=Zi(m.prevProp,h);let y=x||f===s&&m.isActive&&!v&&g||t>p&&g;const C=Array.isArray(h)?h:[h];let w=C.reduce(r,{});!1===b&&(w={});const{prevResolvedValues:I={}}=m,N={...I,...w},A=e=>{y=!0,u.delete(e),m.needsAnimating[e]=!0};for(const e in N){const t=w[e],n=I[e];d.hasOwnProperty(e)||(t!==n?Hn(t)&&Hn(n)?!To(t,n)||x?A(e):m.protectedKeys[e]=!0:void 0!==t?A(e):u.add(e):void 0!==t&&u.has(e)?A(e):m.protectedKeys[e]=!0)}m.prevProp=h,m.prevResolvedValues=w,m.isActive&&(d={...d,...w}),o&&e.blockInitialAnimation&&(y=!1),y&&!v&&c.push(...C.map(e=>({animation:e,options:{type:f,...i}})))}if(u.size){const t={};u.forEach(n=>{const o=e.getBaseTarget(n);void 0!==o&&(t[n]=o)}),c.push({animation:t})}let f=Boolean(c.length);return o&&!1===a.initial&&!e.manuallyAnimateOnMount&&(f=!1),o=!1,f?t(c):Promise.resolve()}return{animateChanges:i,setActive:function(t,o,r){var s;if(n[t].isActive===o)return Promise.resolve();null===(s=e.variantChildren)||void 0===s||s.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,o)}),n[t].isActive=o;const a=i(r,t);for(const e in n)n[e].protectedKeys={};return a},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function Zi(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!To(t,e)}function Hi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Yi=0;const Ji={animation:{Feature:class extends co{constructor(e){super(e),e.animationState||(e.animationState=zi(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Et(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends co{constructor(){super(...arguments),this.id=Yi++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===o)return;const r=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&r.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},Ui=(e,t)=>Math.abs(e-t);class $i{constructor(e,t,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=Ki(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Ui(e.x,t.x),o=Ui(e.y,t.y);return Math.sqrt(n**2+o**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:o}=e,{timestamp:r}=uo;this.history.push({...o,timestamp:r});const{onStart:i,onMove:s}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=_i(t,this.transformPagePoint),vo.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:o}=this.handlers,r=Ki("pointercancel"===e.type?this.lastMoveEventInfo:_i(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,r),o&&o(e,r)},!qn(e))return;this.handlers=t,this.transformPagePoint=n;const o=_i(eo(e),this.transformPagePoint),{point:r}=o,{timestamp:i}=uo;this.history=[{...r,timestamp:i}];const{onSessionStart:s}=t;s&&s(e,Ki(o,this.history)),this.removeListeners=oo(to(window,"pointermove",this.handlePointerMove),to(window,"pointerup",this.handlePointerUp),to(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),xo(this.updatePoint)}}function _i(e,t){return t?{point:t(e.point)}:e}function Qi(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ki({point:e},t){return{point:e,delta:Qi(e,es(t)),offset:Qi(e,qi(t)),velocity:ts(t,.1)}}function qi(e){return e[0]}function es(e){return e[e.length-1]}function ts(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const r=es(e);for(;n>=0&&(o=e[n],!(r.timestamp-o.timestamp>Vo(t)));)n--;if(!o)return{x:0,y:0};const i=Mo(r.timestamp-o.timestamp);if(0===i)return{x:0,y:0};const s={x:(r.x-o.x)/i,y:(r.y-o.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function ns(e){return e.max-e.min}function os(e,t=0,n=.01){return Math.abs(e-t)<=n}function rs(e,t,n,o=.5){e.origin=o,e.originPoint=hr(t.min,t.max,e.origin),e.scale=ns(n)/ns(t),(os(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=hr(n.min,n.max,e.origin)-e.originPoint,(os(e.translate)||isNaN(e.translate))&&(e.translate=0)}function is(e,t,n,o){rs(e.x,t.x,n.x,o?o.originX:void 0),rs(e.y,t.y,n.y,o?o.originY:void 0)}function ss(e,t,n){e.min=n.min+t.min,e.max=e.min+ns(t)}function as(e,t,n){e.min=t.min-n.min,e.max=e.min+ns(t)}function ls(e,t,n){as(e.x,t.x,n.x),as(e.y,t.y,n.y)}function cs(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function us(e,t){let n=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,o]=[o,n]),{min:n,max:o}}const ds=.35;function ps(e,t,n){return{min:fs(e,t),max:fs(e,n)}}function fs(e,t){return"number"==typeof e?e:e[t]||0}const ms=()=>({x:{min:0,max:0},y:{min:0,max:0}});function hs(e){return[e("x"),e("y")]}function gs({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function bs(e){return void 0===e||1===e}function vs({scale:e,scaleX:t,scaleY:n}){return!bs(e)||!bs(t)||!bs(n)}function xs(e){return vs(e)||ys(e)||e.z||e.rotate||e.rotateX||e.rotateY}function ys(e){return Cs(e.x)||Cs(e.y)}function Cs(e){return e&&"0%"!==e}function ws(e,t,n){return n+t*(e-n)}function Is(e,t,n,o,r){return void 0!==r&&(e=ws(e,r,o)),ws(e,n,o)+t}function Ns(e,t=0,n=1,o,r){e.min=Is(e.min,t,n,o,r),e.max=Is(e.max,t,n,o,r)}function As(e,{x:t,y:n}){Ns(e.x,t.translate,t.scale,t.originPoint),Ns(e.y,n.translate,n.scale,n.originPoint)}function js(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Es(e,t){e.min=e.min+t,e.max=e.max+t}function Ss(e,t,[n,o,r]){const i=void 0!==t[r]?t[r]:.5,s=hr(e.min,e.max,i);Ns(e,t[n],t[o],s,t.scale)}const ks=["x","scaleX","originX"],Ps=["y","scaleY","originY"];function Ts(e,t){Ss(e.x,t,ks),Ss(e.y,t,Ps)}function Rs(e,t){return gs(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}(e.getBoundingClientRect(),t))}const Gs=new WeakMap;class Bs{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;this.panSession=new $i(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(eo(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:o,onDragStart:r}=this.getProps();if(n&&!o&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=ao(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),hs(e=>{let t=this.getAxisMotionValue(e).get()||0;if(fn.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const o=n.layout.layoutBox[e];if(o){t=ns(o)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),r&&vo.update(()=>r(e,t),!1,!0);const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:o,onDirectionLock:r,onDrag:i}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:s}=t;if(o&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(s),void(null!==this.currentDirection&&r&&r(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:o}=t;this.startAnimation(o);const{onDragEnd:r}=this.getProps();r&&vo.update(()=>r(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:o}=this.getProps();if(!n||!Os(e,o,this.currentDirection))return;const r=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},o){return void 0!==t&&e<t?e=o?hr(t,e,o.min):Math.max(e,t):void 0!==n&&e>n&&(e=o?hr(n,e,o.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),r.set(i)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},o=this.constraints;e&&At(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:o,right:r}){return{x:cs(e.x,n,r),y:cs(e.y,t,o)}}(n.layoutBox,e),this.elastic=function(e=ds){return!1===e?e=0:!0===e&&(e=ds),{x:ps(e,"left","right"),y:ps(e,"top","bottom")}}(t),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&hs(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!At(e))return!1;const n=e.current;Oo(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const r=function(e,t,n){const o=Rs(e,n),{scroll:r}=t;return r&&(Es(o.x,r.offset.x),Es(o.y,r.offset.y)),o}(n,o.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:us(e.x,t.x),y:us(e.y,t.y)}}(o.layout.layoutBox,r);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=gs(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:o,dragTransition:r,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=hs(s=>{if(!Os(s,t,this.currentDirection))return;let l=a&&a[s]||{};i&&(l={min:0,max:0});const c=o?200:1e6,u=o?40:1e7,d={type:"inertia",velocity:n?e[s]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(s,d)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(xi(e,n,0,t))}stopAnimation(){hs(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),o=n[t];return o||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){hs(t=>{const{drag:n}=this.getProps();if(!Os(t,n,this.currentDirection))return;const{projection:o}=this.visualElement,r=this.getAxisMotionValue(t);if(o&&o.layout){const{min:n,max:i}=o.layout.layoutBox[t];r.set(e[t]-hr(n,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!At(t)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};hs(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();o[e]=function(e,t){let n=.5;const o=ns(e),r=ns(t);return r>o?n=Or(t.min,t.max-o,e.min):o>r&&(n=Or(e.min,e.max-r,t.min)),tn(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),hs(t=>{if(!Os(t,e,null))return;const n=this.getAxisMotionValue(t),{min:r,max:i}=this.constraints[t];n.set(hr(r,i,o[t]))})}addListeners(){if(!this.visualElement.current)return;Gs.set(this.visualElement,this);const e=to(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();At(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,o=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const r=Kn(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(hs(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{r(),e(),o(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:r=!1,dragElastic:i=ds,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:o,dragConstraints:r,dragElastic:i,dragMomentum:s}}}function Os(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Vs=e=>(t,n)=>{e&&vo.update(()=>e(t,n))};const Ms={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Ls(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ws={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!mn.test(e))return e;e=parseFloat(e)}return`${Ls(e,t.target.x)}% ${Ls(e,t.target.y)}%`}},Ds={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,r=kr.parse(e);if(r.length>5)return o;const i=kr.createTransformer(e),s="number"!=typeof r[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;r[0+s]/=a,r[1+s]/=l;const c=hr(a,l,.5);return"number"==typeof r[2+s]&&(r[2+s]/=c),"number"==typeof r[3+s]&&(r[3+s]/=c),i(r)}};class Fs extends t.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:o}=this.props,{projection:r}=e;var i;i=zs,Object.assign(Zt,i),r&&(t.group&&t.group.add(r),n&&n.register&&o&&n.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Ms.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:o,isPresent:r}=this.props,i=n.projection;return i?(i.isPresent=r,o||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?i.promote():i.relegate()||vo.postRender(()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:o}=e;o&&(o.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(o),n&&n.deregister&&n.deregister(o))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Xs(e){const[n,o]=function(){const e=t.useContext(Ct);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:o,register:r}=e,i=t.useId();return t.useEffect(()=>r(i),[]),!n&&o?[!1,()=>o&&o(i)]:[!0]}(),r=t.useContext(Vt);return t.createElement(Fs,{...e,layoutGroup:r,switchLayoutGroup:t.useContext(Mt),isPresent:n,safeToRemove:o})}const zs={borderRadius:{...Ws,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ws,borderTopRightRadius:Ws,borderBottomLeftRadius:Ws,borderBottomRightRadius:Ws,boxShadow:Ds},Zs=["TopLeft","TopRight","BottomLeft","BottomRight"],Hs=Zs.length,Ys=e=>"string"==typeof e?parseFloat(e):e,Js=e=>"number"==typeof e||mn.test(e);function Us(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const $s=Qs(0,.5,tr),_s=Qs(.5,.95,wo);function Qs(e,t,n){return o=>o<e?0:o>t?1:n(Or(e,t,o))}function Ks(e,t){e.min=t.min,e.max=t.max}function qs(e,t){Ks(e.x,t.x),Ks(e.y,t.y)}function ea(e,t,n,o,r){return e=ws(e-=t,1/n,o),void 0!==r&&(e=ws(e,1/r,o)),e}function ta(e,t,[n,o,r],i,s){!function(e,t=0,n=1,o=.5,r,i=e,s=e){fn.test(t)&&(t=parseFloat(t),t=hr(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=hr(i.min,i.max,o);e===i&&(a-=t),e.min=ea(e.min,t,n,a,r),e.max=ea(e.max,t,n,a,r)}(e,t[n],t[o],t[r],t.scale,i,s)}const na=["x","scaleX","originX"],oa=["y","scaleY","originY"];function ra(e,t,n,o){ta(e.x,t,na,n?n.x:void 0,o?o.x:void 0),ta(e.y,t,oa,n?n.y:void 0,o?o.y:void 0)}function ia(e){return 0===e.translate&&1===e.scale}function sa(e){return ia(e.x)&&ia(e.y)}function aa(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function la(e){return ns(e.x)/ns(e.y)}class ca{constructor(){this.members=[]}add(e){wi(this.members,e),e.scheduleRender()}remove(e){if(Ii(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:o}=e.options;!1===o&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function ua(e,t,n){let o="";const r=e.x.translate/t.x,i=e.y.translate/t.y;if((r||i)&&(o=`translate3d(${r}px, ${i}px, 0) `),1===t.x&&1===t.y||(o+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:r}=n;e&&(o+=`rotate(${e}deg) `),t&&(o+=`rotateX(${t}deg) `),r&&(o+=`rotateY(${r}deg) `)}const s=e.x.scale*t.x,a=e.y.scale*t.y;return 1===s&&1===a||(o+=`scale(${s}, ${a})`),o||"none"}const da=(e,t)=>e.depth-t.depth;class pa{constructor(){this.children=[],this.isDirty=!1}add(e){wi(this.children,e),this.isDirty=!0}remove(e){Ii(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(da),this.isDirty=!1,this.children.forEach(e)}}const fa=["","X","Y","Z"];let ma=0;const ha={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function ga({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:r}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=ma++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{var e;ha.totalNodes=ha.resolvedTargetDeltas=ha.recalculatedProjection=0,this.nodes.forEach(xa),this.nodes.forEach(ja),this.nodes.forEach(Ea),this.nodes.forEach(ya),e=ha,window.MotionDebug&&window.MotionDebug.record(e)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new pa)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Ni),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var o;this.isSVG=(o=t)instanceof SVGElement&&"svg"!==o.tagName,this.instance=t;const{layoutId:r,layout:i,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||r)&&(this.isLayoutDirty=!0),e){let n;const o=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),o=({timestamp:r})=>{const i=r-n;i>=t&&(xo(o),e(i-t))};return vo.read(o,!0),()=>xo(o)}(o,250),Ms.hasAnimatedSinceResize&&(Ms.hasAnimatedSinceResize=!1,this.nodes.forEach(Aa))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:o})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const r=this.options.transition||s.getDefaultTransition()||Ga,{onLayoutAnimationStart:i,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!aa(this.targetLayout,o)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...vi(r,"layout"),onPlay:i,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||Aa(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=o})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,xo(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Sa),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const o=this.getTransformTemplate();this.prevTransformTemplateValue=o?o(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(wa);this.isUpdating||this.nodes.forEach(Ia),this.isUpdating=!1,this.nodes.forEach(Na),this.nodes.forEach(ba),this.nodes.forEach(va),this.clearAllSnapshots();const e=performance.now();uo.delta=tn(0,1e3/60,e-uo.timestamp),uo.timestamp=e,uo.isProcessing=!0,ho.update.process(uo),ho.preRender.process(uo),ho.render.process(uo),uo.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Ca),this.sharedNodes.forEach(ka)}scheduleUpdateProjection(){vo.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){vo.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:o(this.instance),offset:n(this.instance)})}resetTransform(){if(!r)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!sa(this.projectionDelta),n=this.getTransformTemplate(),o=n?n(this.latestValues,""):void 0,i=o!==this.prevTransformTemplateValue;e&&(t||xs(this.latestValues)||i)&&(r(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var o;return e&&(n=this.removeTransform(n)),Ba((o=n).x),Ba(o.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(Es(t.x,n.offset.x),Es(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};qs(t,e);for(let n=0;n<this.path.length;n++){const o=this.path[n],{scroll:r,options:i}=o;if(o!==this.root&&r&&i.layoutScroll){if(r.isRoot){qs(t,e);const{scroll:n}=this.root;n&&(Es(t.x,-n.offset.x),Es(t.y,-n.offset.y))}Es(t.x,r.offset.x),Es(t.y,r.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};qs(n,e);for(let e=0;e<this.path.length;e++){const o=this.path[e];!t&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Ts(n,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),xs(o.latestValues)&&Ts(n,o.latestValues)}return xs(this.latestValues)&&Ts(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};qs(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!xs(n.latestValues))continue;vs(n.latestValues)&&n.updateSnapshot();const o=ms();qs(o,n.measurePageBox()),ra(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,o)}return xs(this.latestValues)&&ra(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==uo.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const o=Boolean(this.resumingFrom)||this!==n;if(!(e||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:r,layoutId:i}=this.options;if(this.layout&&(r||i)){if(this.resolvedRelativeTargetAt=uo.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},ls(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),qs(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var s,a,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,ss(s.x,a.x,l.x),ss(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):qs(this.target,this.layout.layoutBox),As(this.target,this.targetDelta)):qs(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},ls(this.relativeTargetOrigin,this.target,e.target),qs(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ha.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!vs(this.parent.latestValues)&&!ys(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let o=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(o=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(o=!1),this.resolvedRelativeTargetAt===uo.timestamp&&(o=!1),o)return;const{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!r&&!i)return;qs(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,o=!1){const r=n.length;if(!r)return;let i,s;t.x=t.y=1;for(let a=0;a<r;a++){i=n[a],s=i.projectionDelta;const r=i.instance;r&&r.style&&"contents"===r.style.display||(o&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Ts(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,As(e,s)),o&&xs(i.latestValues)&&Ts(e,i.latestValues))}t.x=js(t.x),t.y=js(t.y)}(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox);const{target:l}=t;if(!l)return void(this.projectionTransform&&(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionTransform="none",this.scheduleRender()));this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});const c=this.projectionTransform;is(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=ua(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===s&&this.treeScale.y===a||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),ha.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,o=n?n.latestValues:{},r={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const s={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(Ra));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;Pa(i.x,e.x,n),Pa(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ls(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,o){Ta(e.x,t.x,n.x,o),Ta(e.y,t.y,n.y,o)}(this.relativeTarget,this.relativeTargetOrigin,s,n),d&&aa(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),qs(d,this.relativeTarget)),a&&(this.animationValues=r,function(e,t,n,o,r,i){r?(e.opacity=hr(0,void 0!==n.opacity?n.opacity:1,$s(o)),e.opacityExit=hr(void 0!==t.opacity?t.opacity:1,0,_s(o))):i&&(e.opacity=hr(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,o));for(let r=0;r<Hs;r++){const i=`border${Zs[r]}Radius`;let s=Us(t,i),a=Us(n,i);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||Js(s)===Js(a)?(e[i]=Math.max(hr(Ys(s),Ys(a),o),0),(fn.test(a)||fn.test(s))&&(e[i]+="%")):e[i]=a)}(t.rotate||n.rotate)&&(e.rotate=hr(t.rotate||0,n.rotate||0,o))}(r,o,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(xo(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=vo.update(()=>{Ms.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const o=Ut(e)?e:Si(e);return o.start(xi("",o,t,n)),o.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:o,latestValues:r}=e;if(t&&n&&o){if(this!==e&&this.layout&&o&&Oa(this.options.animationType,this.layout.layoutBox,o.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=ns(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const o=ns(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+o}qs(t,n),Ts(t,r),is(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new ca);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const o=this.getStack();o&&o.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;const o={};for(let t=0;t<fa.length;t++){const r="rotate"+fa[t];n[r]&&(o[r]=n[r],e.setStaticValue(r,0))}e.render();for(const t in o)e.setStaticValue(t,o[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const o={};if(!this.instance||this.isSVG)return o;if(!this.isVisible)return{visibility:"hidden"};o.visibility="";const r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,o.opacity="",o.pointerEvents=Jn(e.pointerEvents)||"",o.transform=r?r(this.latestValues,""):"none",o;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Jn(e.pointerEvents)||""),this.hasProjected&&!xs(this.latestValues)&&(t.transform=r?r({},""):"none",this.hasProjected=!1),t}const s=i.animationValues||i.latestValues;this.applyTransformsToTarget(),o.transform=ua(this.projectionDeltaWithTransform,this.treeScale,s),r&&(o.transform=r(s,o.transform));const{x:a,y:l}=this.projectionDelta;o.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,i.animationValues?o.opacity=i===this?null!==(n=null!==(t=s.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:o.opacity=i===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in Zt){if(void 0===s[e])continue;const{correct:t,applyTo:n}=Zt[e],r="none"===o.transform?s[e]:t(s[e],i);if(n){const e=n.length;for(let t=0;t<e;t++)o[n[t]]=r}else o[e]=r}return this.options.layoutId&&(o.pointerEvents=i===this?Jn(e.pointerEvents)||"":"none"),o}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(wa),this.root.sharedNodes.clear()}}}function ba(e){e.updateLayout()}function va(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:o}=e.layout,{animationType:r}=e.options,i=n.source!==e.layout.source;"size"===r?hs(e=>{const o=i?n.measuredBox[e]:n.layoutBox[e],r=ns(o);o.min=t[e].min,o.max=o.min+r}):Oa(r,n.layoutBox,t)&&hs(o=>{const r=i?n.measuredBox[o]:n.layoutBox[o],s=ns(t[o]);r.max=r.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[o].max=e.relativeTarget[o].min+s)});const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};is(s,t,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?is(a,e.applyTransform(o,!0),n.measuredBox):is(a,t,n.layoutBox);const l=!sa(s);let c=!1;if(!e.resumeFrom){const o=e.getClosestProjectingParent();if(o&&!o.resumeFrom){const{snapshot:r,layout:i}=o;if(r&&i){const s={x:{min:0,max:0},y:{min:0,max:0}};ls(s,n.layoutBox,r.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};ls(a,t,i.layoutBox),aa(s,a)||(c=!0),o.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=o)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function xa(e){ha.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function ya(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Ca(e){e.clearSnapshot()}function wa(e){e.clearMeasurements()}function Ia(e){e.isLayoutDirty=!1}function Na(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Aa(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ja(e){e.resolveTargetDelta()}function Ea(e){e.calcProjection()}function Sa(e){e.resetRotation()}function ka(e){e.removeLeadSnapshot()}function Pa(e,t,n){e.translate=hr(t.translate,0,n),e.scale=hr(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Ta(e,t,n,o){e.min=hr(t.min,n.min,o),e.max=hr(t.max,n.max,o)}function Ra(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Ga={duration:.45,ease:[.4,0,.1,1]};function Ba(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Oa(e,t,n){return"position"===e||"preserve-aspect"===e&&!os(la(t),la(n),.2)}const Va=ga({attachResizeListener:(e,t)=>Kn(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ma={current:void 0},La=ga({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ma.current){const e=new Va({});e.mount(window),e.setOptions({layoutScroll:!0}),Ma.current=e}return Ma.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Wa={pan:{Feature:class extends co{constructor(){super(...arguments),this.removePointerDownListener=wo}onPointerDown(e){this.session=new $i(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:Vs(e),onStart:Vs(t),onMove:n,onEnd:(e,t)=>{delete this.session,o&&vo.update(()=>o(e,t))}}}mount(){this.removePointerDownListener=to(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends co{constructor(e){super(e),this.removeGroupControls=wo,this.removeListeners=wo,this.controls=new Bs(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||wo}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:La,MeasureLayout:Xs}},Da=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Fa(e,t,n=1){Oo(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[o,r]=function(e){const t=Da.exec(e);if(!t)return[,];const[,n,o]=t;return[n,o]}(e);if(!o)return;const i=window.getComputedStyle(t).getPropertyValue(o);return i?i.trim():qt(r)?Fa(r,t,n+1):r}const Xa=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),za=e=>Xa.has(e),Za=e=>e===nn||e===mn,Ha=(e,t)=>parseFloat(e.split(", ")[t]),Ya=(e,t)=>(n,{transform:o})=>{if("none"===o||!o)return 0;const r=o.match(/^matrix3d\((.+)\)$/);if(r)return Ha(r[1],t);{const t=o.match(/^matrix\((.+)\)$/);return t?Ha(t[1],e):0}},Ja=new Set(["x","y","z"]),Ua=Ht.filter(e=>!Ja.has(e));const $a={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Ya(4,13),y:Ya(5,14)},_a=(e,t,n={},o={})=>{t={...t},o={...o};const r=Object.keys(t).filter(za);let i=[],s=!1;const a=[];if(r.forEach(r=>{const l=e.getValue(r);if(!e.hasValue(r))return;let c=n[r],u=Ti(c);const d=t[r];let p;if(Hn(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=Ti(c);for(let n=t;n<e&&null!==d[n];n++)p?Oo(Ti(d[n])===p,"All keyframes must be of the same type"):(p=Ti(d[n]),Oo(p===u||Za(u)&&Za(p),"Keyframes must be of the same dimension as the current value"))}else p=Ti(d);if(u!==p)if(Za(u)&&Za(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[r]=parseFloat(d):Array.isArray(d)&&p===mn&&(t[r]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==p?void 0:p.transform)&&(0===c||0===d)?0===c?l.set(p.transform(c)):t[r]=u.transform(d):(s||(i=function(e){const t=[];return Ua.forEach(n=>{const o=e.getValue(n);void 0!==o&&(t.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),s=!0),a.push(r),o[r]=void 0!==o[r]?o[r]:t[r],l.jump(d))}),a.length){const n=a.indexOf("height")>=0?window.pageYOffset:null,r=((e,t,n)=>{const o=t.measureViewportBox(),r=t.current,i=getComputedStyle(r),{display:s}=i,a={};"none"===s&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{a[e]=$a[e](o,i)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const o=t.getValue(n);o&&o.jump(a[n]),e[n]=$a[n](l,i)}),e})(t,e,a);return i.length&&i.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),wt&&null!==n&&window.scrollTo({top:n}),{target:r,transitionEnd:o}}return{target:t,transitionEnd:o}};function Qa(e,t,n,o){return(e=>Object.keys(e).some(za))(t)?_a(e,t,n,o):{target:t,transitionEnd:o}}const Ka=(e,t,n,o)=>{const r=function(e,{...t},n){const o=e.current;if(!(o instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!qt(t))return;const n=Fa(t,o);n&&e.set(n)});for(const e in t){const r=t[e];if(!qt(r))continue;const i=Fa(r,o);i&&(t[e]=i,n||(n={}),void 0===n[e]&&(n[e]=r))}return{target:t,transitionEnd:n}}(e,t,o);return Qa(e,t=r.target,n,o=r.transitionEnd)},qa={current:null},el={current:!1};const tl=new WeakMap,nl=Object.keys(Ot),ol=nl.length,rl=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],il=kt.length;class sl{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:o,visualState:r},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>vo.render(this.render,!1,!0);const{latestValues:s,renderState:a}=r;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=a,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=o,this.options=i,this.isControllingVariants=Pt(t),this.isVariantNode=Tt(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{});for(const e in c){const t=c[e];void 0!==s[e]&&Ut(t)&&(t.set(s[e],!1),yi(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,tl.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),el.current||function(){if(el.current=!0,wt)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>qa.current=e.matches;e.addListener(t),t()}else qa.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||qa.current),"production"!==process.env.NODE_ENV&&ji(!0!==this.shouldReduceMotion,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){tl.delete(this.current),this.projection&&this.projection.unmount(),xo(this.notifyUpdate),xo(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){const n=Yt.has(e),o=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&vo.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),r=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{o(),r()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,o,r){let i,s;if("production"!==process.env.NODE_ENV&&o&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?Bo(!1,e):Oo(!1,e)}for(let e=0;e<ol;e++){const n=nl[e],{isEnabled:o,Feature:r,ProjectionNode:a,MeasureLayout:l}=Ot[n];a&&(i=a),o(t)&&(!this.features[n]&&r&&(this.features[n]=new r(this)),l&&(s=l))}if(!this.projection&&i){this.projection=new i(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:o,dragConstraints:s,layoutScroll:a,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(o)||s&&At(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:r,layoutScroll:a,layoutRoot:l})}return s}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<rl.length;t++){const n=rl[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const o=e["on"+n];o&&(this.propEventSubscriptions[n]=this.on(n,o))}this.prevMotionValues=function(e,t,n){const{willChange:o}=t;for(const r in t){const i=t[r],s=n[r];if(Ut(i))e.addValue(r,i),yi(o)&&o.add(r),"development"===process.env.NODE_ENV&&ji("10.12.16"===i.version,`Attempting to mix Framer Motion versions ${i.version} with 10.12.16 may not work as expected.`);else if(Ut(s))e.addValue(r,Si(i,{owner:e})),yi(o)&&o.remove(r);else if(s!==i)if(e.hasValue(r)){const t=e.getValue(r);!t.hasAnimated&&t.set(i)}else{const t=e.getStaticValue(r);e.addValue(r,Si(void 0!==t?t:i,{owner:e}))}}for(const o in n)void 0===t[o]&&e.removeValue(o);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<il;e++){const n=kt[e],o=this.props[n];(jt(o)||!1===o)&&(t[n]=o)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=Si(t,{owner:this}),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props,o="string"==typeof n||"object"==typeof n?null===(t=zn(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==o)return o;const r=this.getBaseTargetFromProps(this.props,e);return void 0===r||Ut(r)?void 0!==this.initialValues[e]&&void 0===o?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new Ni),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class al extends sl{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:o},r){let i=function(e,t,n){const o={};for(const r in e){const e=Oi(r,t);if(void 0!==e)o[r]=e;else{const e=n.getValue(r);e&&(o[r]=e.get())}}return o}(n,e||{},this);if(o&&(t&&(t=o(t)),n&&(n=o(n)),i&&(i=o(i))),r){!function(e,t,n){var o,r;const i=Object.keys(t).filter(t=>!e.hasValue(t)),s=i.length;if(s)for(let a=0;a<s;a++){const s=i[a],l=t[s];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(r=null!==(o=n[s])&&void 0!==o?o:e.readValue(s))&&void 0!==r?r:t[s]),null!=c&&("string"==typeof c&&(Ci(c)||gi(c))?c=parseFloat(c):!Gi(c)&&kr.test(l)&&(c=hi(s,l)),e.addValue(s,Si(c,{owner:e})),void 0===n[s]&&(n[s]=c),null!==c&&e.setBaseTarget(s,c))}}(this,n,i);const e=Ka(this,n,i,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class ll extends al{readValueFromInstance(e,t){if(Yt.has(t)){const e=mi(t);return e&&e.default||0}{const o=(n=e,window.getComputedStyle(n)),r=(Kt(t)?o.getPropertyValue(t):o[t])||0;return"string"==typeof r?r.trim():r}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Rs(e,t)}build(e,t,n,o){yn(e,t,n,o.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Fn(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Ut(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,o){Ln(e,t,n,o)}}class cl extends al{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Yt.has(t)){const e=mi(t);return e&&e.default||0}return t=Wn.has(t)?t:Mn(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return Xn(e,t)}build(e,t,n,o){Rn(e,t,n,this.isSVGTag,o.transformTemplate)}renderInstance(e,t,n,o){Dn(e,t,0,o)}mount(e){this.isSVGTag=Bn(e.tagName),super.mount(e)}}const ul=(e,t)=>zt(e)?new cl(t,{enableHardwareAcceleration:!1}):new ll(t,{enableHardwareAcceleration:!0}),dl={...Ji,...Po,...Wa,...{layout:{ProjectionNode:La,MeasureLayout:Xs}}},pl=Ft((e,t)=>function(e,{forwardMotionProps:t=!1},n,o){return{...zt(e)?_n:Qn,preloadedFeatures:n,useRender:Vn(t),createVisualElement:o,Component:e}}(e,t,dl,ul));function fl(){const e=t.useRef(!1);return It(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class ml extends d.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function hl({children:e,isPresent:n}){const o=t.useId(),r=t.useRef(null),i=t.useRef({width:0,height:0,top:0,left:0});return t.useInsertionEffect(()=>{const{width:e,height:t,top:s,left:a}=i.current;if(n||!r.current||!e||!t)return;r.current.dataset.motionPopId=o;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n [data-motion-pop-id="${o}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${t}px !important;\n top: ${s}px !important;\n left: ${a}px !important;\n }\n `),()=>{document.head.removeChild(l)}},[n]),d.createElement(ml,{isPresent:n,childRef:r,sizeRef:i},d.cloneElement(e,{ref:r}))}const gl=({children:e,initial:n,isPresent:o,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:a})=>{const l=Zn(bl),c=t.useId(),u=t.useMemo(()=>({id:c,initial:n,isPresent:o,custom:i,onExitComplete:e=>{l.set(e,!0);for(const e of l.values())if(!e)return;r&&r()},register:e=>(l.set(e,!1),()=>l.delete(e))}),s?void 0:[o]);return t.useMemo(()=>{l.forEach((e,t)=>l.set(t,!1))},[o]),d.useEffect(()=>{!o&&!l.size&&r&&r()},[o]),"popLayout"===a&&(e=d.createElement(hl,{isPresent:o},e)),d.createElement(Ct.Provider,{value:u},e)};function bl(){return new Map}const vl=e=>e.key||"";const xl=({children:e,custom:n,initial:o=!0,onExitComplete:r,exitBeforeEnter:i,presenceAffectsLayout:s=!0,mode:a="sync"})=>{Oo(!i,"Replace exitBeforeEnter with mode='wait'");const l=t.useContext(Vt).forceRender||function(){const e=fl(),[n,o]=t.useState(0),r=t.useCallback(()=>{e.current&&o(n+1)},[n]);return[t.useCallback(()=>vo.postRender(r),[r]),n]}()[0],c=fl(),u=function(e){const n=[];return t.Children.forEach(e,e=>{t.isValidElement(e)&&n.push(e)}),n}(e);let p=u;const f=t.useRef(new Map).current,m=t.useRef(p),h=t.useRef(new Map).current,g=t.useRef(!0);var b;if(It(()=>{g.current=!1,function(e,t){e.forEach(e=>{const n=vl(e);t.set(n,e)})}(u,h),m.current=p}),b=()=>{g.current=!0,h.clear(),f.clear()},t.useEffect(()=>()=>b(),[]),g.current)return d.createElement(d.Fragment,null,p.map(e=>d.createElement(gl,{key:vl(e),isPresent:!0,initial:!!o&&void 0,presenceAffectsLayout:s,mode:a},e)));p=[...p];const v=m.current.map(vl),x=u.map(vl),y=v.length;for(let e=0;e<y;e++){const t=v[e];-1!==x.indexOf(t)||f.has(t)||f.set(t,void 0)}return"wait"===a&&f.size&&(p=[]),f.forEach((e,t)=>{if(-1!==x.indexOf(t))return;const o=h.get(t);if(!o)return;const i=v.indexOf(t);let g=e;if(!g){const e=()=>{h.delete(t),f.delete(t);const e=m.current.findIndex(e=>e.key===t);if(m.current.splice(e,1),!f.size){if(m.current=u,!1===c.current)return;l(),r&&r()}};g=d.createElement(gl,{key:vl(o),isPresent:!1,onExitComplete:e,custom:n,presenceAffectsLayout:s,mode:a},o),f.set(t,g)}p.splice(i,0,g)}),p=p.map(e=>{const t=e.key;return f.has(t)?e:d.createElement(gl,{key:vl(e),isPresent:!0,presenceAffectsLayout:s,mode:a},e)}),"production"!==process.env.NODE_ENV&&"wait"===a&&p.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),d.createElement(d.Fragment,null,f.size?p:p.map(e=>t.cloneElement(e)))};function yl(){return yl=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},yl.apply(null,arguments)}function Cl(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(null==e||e(o),!1===n||!o.defaultPrevented)return null==t?void 0:t(o)}}function wl(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function Il(...e){return t.useCallback(wl(...e),e)}function Nl(...e){const n=e[0];if(1===e.length)return n;const o=()=>{const o=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const r=o.reduce((t,{useScope:n,scopeName:o})=>({...t,...n(e)[`__scope${o}`]}),{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:r}),[r])}};return o.scopeName=n.scopeName,o}const Al=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?t.useLayoutEffect:()=>{},jl=d["useId".toString()]||(()=>{});let El=0;function Sl(e){const[t,n]=d.useState(jl());return Al(()=>{n(e=>null!=e?e:String(El++))},[e]),e||(t?`radix-${t}`:"")}function kl(e){const n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>{var t;return null===(t=n.current)||void 0===t?void 0:t.call(n,...e)},[])}function Pl({prop:e,defaultProp:n,onChange:o=()=>{}}){const[r,i]=function({defaultProp:e,onChange:n}){const o=t.useState(e),[r]=o,i=t.useRef(r),s=kl(n);return t.useEffect(()=>{i.current!==r&&(s(r),i.current=r)},[r,i,s]),o}({defaultProp:n,onChange:o}),s=void 0!==e,a=s?e:r,l=kl(o);return[a,t.useCallback(t=>{if(s){const n="function"==typeof t?t(e):t;n!==e&&l(n)}else i(t)},[s,e,i,l])]}const Tl=t.forwardRef((e,n)=>{const{children:o,...r}=e,i=t.Children.toArray(o),s=i.find(Bl);if(s){const e=s.props.children,o=i.map(n=>n===s?t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null:n);return t.createElement(Rl,yl({},r,{ref:n}),t.isValidElement(e)?t.cloneElement(e,void 0,o):null)}return t.createElement(Rl,yl({},r,{ref:n}),o)});Tl.displayName="Slot";const Rl=t.forwardRef((e,n)=>{const{children:o,...r}=e;return t.isValidElement(o)?t.cloneElement(o,{...Ol(r,o.props),ref:n?wl(n,o.ref):o.ref}):t.Children.count(o)>1?t.Children.only(null):null});Rl.displayName="SlotClone";const Gl=({children:e})=>t.createElement(t.Fragment,null,e);function Bl(e){return t.isValidElement(e)&&e.type===Gl}function Ol(e,t){const n={...t};for(const o in t){const r=e[o],i=t[o];/^on[A-Z]/.test(o)?r&&i?n[o]=(...e)=>{i(...e),r(...e)}:r&&(n[o]=r):"style"===o?n[o]={...r,...i}:"className"===o&&(n[o]=[r,i].filter(Boolean).join(" "))}return{...e,...n}}const Vl=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,n)=>{const o=t.forwardRef((e,o)=>{const{asChild:r,...i}=e,s=r?Tl:n;return t.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),t.createElement(s,yl({},i,{ref:o}))});return o.displayName=`Primitive.${n}`,{...e,[n]:o}},{});const Ml="dismissableLayer.update",Ll="dismissableLayer.pointerDownOutside",Wl="dismissableLayer.focusOutside";let Dl;const Fl=t.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Xl=t.forwardRef((e,n)=>{var o;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:a,onInteractOutside:l,onDismiss:c,...u}=e,d=t.useContext(Fl),[p,f]=t.useState(null),m=null!==(o=null==p?void 0:p.ownerDocument)&&void 0!==o?o:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,h]=t.useState({}),g=Il(n,e=>f(e)),b=Array.from(d.layers),[v]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=b.indexOf(v),y=p?b.indexOf(p):-1,C=d.layersWithOutsidePointerEventsDisabled.size>0,w=y>=x,I=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const o=kl(e),r=t.useRef(!1),i=t.useRef(()=>{});return t.useEffect(()=>{const e=e=>{if(e.target&&!r.current){const t={originalEvent:e};function s(){Zl(Ll,o,t,{discrete:!0})}"touch"===e.pointerType?(n.removeEventListener("click",i.current),i.current=s,n.addEventListener("click",i.current,{once:!0})):s()}else n.removeEventListener("click",i.current);r.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",i.current)}},[n,o]),{onPointerDownCapture:()=>r.current=!0}}(e=>{const t=e.target,n=[...d.branches].some(e=>e.contains(t));w&&!n&&(null==s||s(e),null==l||l(e),e.defaultPrevented||null==c||c())},m),N=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const o=kl(e),r=t.useRef(!1);return t.useEffect(()=>{const e=e=>{if(e.target&&!r.current){Zl(Wl,o,{originalEvent:e},{discrete:!1})}};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,o]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{const t=e.target;[...d.branches].some(e=>e.contains(t))||(null==a||a(e),null==l||l(e),e.defaultPrevented||null==c||c())},m);return function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const o=kl(e);t.useEffect(()=>{const e=e=>{"Escape"===e.key&&o(e)};return n.addEventListener("keydown",e),()=>n.removeEventListener("keydown",e)},[o,n])}(e=>{y===d.layers.size-1&&(null==i||i(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},m),t.useEffect(()=>{if(p)return r&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(Dl=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(p)),d.layers.add(p),zl(),()=>{r&&1===d.layersWithOutsidePointerEventsDisabled.size&&(m.body.style.pointerEvents=Dl)}},[p,m,r,d]),t.useEffect(()=>()=>{p&&(d.layers.delete(p),d.layersWithOutsidePointerEventsDisabled.delete(p),zl())},[p,d]),t.useEffect(()=>{const e=()=>h({});return document.addEventListener(Ml,e),()=>document.removeEventListener(Ml,e)},[]),t.createElement(Vl.div,yl({},u,{ref:g,style:{pointerEvents:C?w?"auto":"none":void 0,...e.style},onFocusCapture:Cl(e.onFocusCapture,N.onFocusCapture),onBlurCapture:Cl(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:Cl(e.onPointerDownCapture,I.onPointerDownCapture)}))});function zl(){const e=new CustomEvent(Ml);document.dispatchEvent(e)}function Zl(e,t,n,{discrete:o}){const r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?function(e,t){e&&l.flushSync(()=>e.dispatchEvent(t))}(r,i):r.dispatchEvent(i)}const Hl="focusScope.autoFocusOnMount",Yl="focusScope.autoFocusOnUnmount",Jl={bubbles:!1,cancelable:!0},Ul=t.forwardRef((e,n)=>{const{loop:o=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...a}=e,[l,c]=t.useState(null),u=kl(i),d=kl(s),p=t.useRef(null),f=Il(n,e=>c(e)),m=t.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t.useEffect(()=>{if(r){function e(e){if(m.paused||!l)return;const t=e.target;l.contains(t)?p.current=t:Kl(p.current,{select:!0})}function t(e){if(m.paused||!l)return;const t=e.relatedTarget;null!==t&&(l.contains(t)||Kl(p.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&Kl(l)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const o=new MutationObserver(n);return l&&o.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),o.disconnect()}}},[r,l,m.paused]),t.useEffect(()=>{if(l){ql.add(m);const t=document.activeElement;if(!l.contains(t)){const n=new CustomEvent(Hl,Jl);l.addEventListener(Hl,u),l.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(Kl(o,{select:t}),document.activeElement!==n)return}((e=$l(l),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&Kl(l))}return()=>{l.removeEventListener(Hl,u),setTimeout(()=>{const e=new CustomEvent(Yl,Jl);l.addEventListener(Yl,d),l.dispatchEvent(e),e.defaultPrevented||Kl(null!=t?t:document.body,{select:!0}),l.removeEventListener(Yl,d),ql.remove(m)},0)}}var e},[l,u,d,m]);const h=t.useCallback(e=>{if(!o&&!r)return;if(m.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){const t=e.currentTarget,[r,i]=function(e){const t=$l(e),n=_l(t,e),o=_l(t.reverse(),e);return[n,o]}(t);r&&i?e.shiftKey||n!==i?e.shiftKey&&n===r&&(e.preventDefault(),o&&Kl(i,{select:!0})):(e.preventDefault(),o&&Kl(r,{select:!0})):n===t&&e.preventDefault()}},[o,r,m.paused]);return t.createElement(Vl.div,yl({tabIndex:-1},a,{ref:f,onKeyDown:h}))});function $l(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function _l(e,t){for(const n of e)if(!Ql(n,{upTo:t}))return n}function Ql(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function Kl(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}const ql=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=ec(e,t),e.unshift(t)},remove(t){var n;e=ec(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function ec(e,t){const n=[...e],o=n.indexOf(t);return-1!==o&&n.splice(o,1),n}const tc=t.forwardRef((e,n)=>{var o;const{container:r=(null===globalThis||void 0===globalThis||null===(o=globalThis.document)||void 0===o?void 0:o.body),...i}=e;return r?l.createPortal(t.createElement(Vl.div,yl({},i,{ref:n})),r):null});const nc=e=>{const{present:n,children:o}=e,r=function(e){const[n,o]=t.useState(),r=t.useRef({}),i=t.useRef(e),s=t.useRef("none"),a=e?"mounted":"unmounted",[c,u]=function(e,n){return t.useReducer((e,t)=>{const o=n[e][t];return null!=o?o:e},e)}(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{const e=oc(r.current);s.current="mounted"===c?e:"none"},[c]),Al(()=>{const t=r.current,n=i.current;if(n!==e){const o=s.current,r=oc(t);if(e)u("MOUNT");else if("none"===r||"none"===(null==t?void 0:t.display))u("UNMOUNT");else{u(n&&o!==r?"ANIMATION_OUT":"UNMOUNT")}i.current=e}},[e,u]),Al(()=>{if(n){const e=e=>{const t=oc(r.current).includes(e.animationName);e.target===n&&t&&l.flushSync(()=>u("ANIMATION_END"))},t=e=>{e.target===n&&(s.current=oc(r.current))};return n.addEventListener("animationstart",t),n.addEventListener("animationcancel",e),n.addEventListener("animationend",e),()=>{n.removeEventListener("animationstart",t),n.removeEventListener("animationcancel",e),n.removeEventListener("animationend",e)}}u("ANIMATION_END")},[n,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:t.useCallback(e=>{e&&(r.current=getComputedStyle(e)),o(e)},[])}}(n),i="function"==typeof o?o({present:r.isPresent}):t.Children.only(o),s=Il(r.ref,i.ref);return"function"==typeof o||r.isPresent?t.cloneElement(i,{ref:s}):null};function oc(e){return(null==e?void 0:e.animationName)||"none"}nc.displayName="Presence";let rc=0;function ic(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var sc=function(){return sc=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},sc.apply(this,arguments)};function ac(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}"function"==typeof SuppressedError&&SuppressedError;var lc="right-scroll-bar-position",cc="width-before-scroll-bar";function uc(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var dc="undefined"!=typeof window?d.useLayoutEffect:d.useEffect,pc=new WeakMap;function fc(e,n){var o,r,i,s=(o=null,r=function(t){return e.forEach(function(e){return uc(e,t)})},(i=t.useState(function(){return{value:o,callback:r,facade:{get current(){return i.value},set current(e){var t=i.value;t!==e&&(i.value=e,i.callback(e,t))}}}})[0]).callback=r,i.facade);return dc(function(){var t=pc.get(s);if(t){var n=new Set(t),o=new Set(e),r=s.current;n.forEach(function(e){o.has(e)||uc(e,null)}),o.forEach(function(e){n.has(e)||uc(e,r)})}pc.set(s,e)},[e]),s}function mc(e){return e}var hc=function(e){var t=e.sideCar,n=ac(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return d.createElement(o,sc({},n))};hc.isSideCarExport=!0;var gc=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=mc);var n=[],o=!1,r={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var r=t(e,o);return n.push(r),function(){n=n.filter(function(e){return e!==r})}},assignSyncMedium:function(e){for(o=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){o=!0;var t=[];if(n.length){var r=n;n=[],r.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},s=function(){return Promise.resolve().then(i)};s(),n={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),n}}}};return r}(null);return t.options=sc({async:!0,ssr:!1},e),t}(),bc=function(){},vc=d.forwardRef(function(e,t){var n=d.useRef(null),o=d.useState({onScrollCapture:bc,onWheelCapture:bc,onTouchMoveCapture:bc}),r=o[0],i=o[1],s=e.forwardProps,a=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,p=e.shards,f=e.sideCar,m=e.noIsolation,h=e.inert,g=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,x=ac(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),y=f,C=fc([n,t]),w=sc(sc({},x),r);return d.createElement(d.Fragment,null,u&&d.createElement(y,{sideCar:gc,removeScrollBar:c,shards:p,noIsolation:m,inert:h,setCallbacks:i,allowPinchZoom:!!g,lockRef:n}),s?d.cloneElement(d.Children.only(a),sc(sc({},w),{ref:C})):d.createElement(v,sc({},w,{className:l,ref:C}),a))});vc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},vc.classNames={fullWidth:cc,zeroRight:lc};function xc(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if("undefined"!=typeof __webpack_nonce__)return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}var yc=function(){var e=0,t=null;return{add:function(n){var o;0==e&&(t=xc())&&(!function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Cc=function(){var e,t=(e=yc(),function(t,n){d.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,o=e.dynamic;return t(n,o),null}},wc={left:0,top:0,right:0,gap:0},Ic=function(e){return parseInt(e||"",10)||0},Nc=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return wc;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],o=t["padding"===e?"paddingTop":"marginTop"],r=t["padding"===e?"paddingRight":"marginRight"];return[Ic(n),Ic(o),Ic(r)]}(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-n+t[2]-t[0])}},Ac=Cc(),jc="data-scroll-locked",Ec=function(e,t,n,o){var r=e.left,i=e.top,s=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(o,";\n padding-right: ").concat(a,"px ").concat(o,";\n }\n body[").concat(jc,"] {\n overflow: hidden ").concat(o,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(o,";"),"margin"===n&&"\n padding-left: ".concat(r,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(o,";\n "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(o,";")].filter(Boolean).join(""),"\n }\n \n .").concat(lc," {\n right: ").concat(a,"px ").concat(o,";\n }\n \n .").concat(cc," {\n margin-right: ").concat(a,"px ").concat(o,";\n }\n \n .").concat(lc," .").concat(lc," {\n right: 0 ").concat(o,";\n }\n \n .").concat(cc," .").concat(cc," {\n margin-right: 0 ").concat(o,";\n }\n \n body[").concat(jc,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},Sc=function(){var e=parseInt(document.body.getAttribute(jc)||"0",10);return isFinite(e)?e:0},kc=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,r=void 0===o?"margin":o;d.useEffect(function(){return document.body.setAttribute(jc,(Sc()+1).toString()),function(){var e=Sc()-1;e<=0?document.body.removeAttribute(jc):document.body.setAttribute(jc,e.toString())}},[]);var i=d.useMemo(function(){return Nc(r)},[r]);return d.createElement(Ac,{styles:Ec(i,!t,r,n?"":"!important")})},Pc=!1;if("undefined"!=typeof window)try{var Tc=Object.defineProperty({},"passive",{get:function(){return Pc=!0,!0}});window.addEventListener("test",Tc,Tc),window.removeEventListener("test",Tc,Tc)}catch(e){Pc=!1}var Rc=!!Pc&&{passive:!1},Gc=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},Bc=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),Oc(e,n)){var o=Vc(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Oc=function(e,t){return"v"===e?function(e){return Gc(e,"overflowY")}(t):function(e){return Gc(e,"overflowX")}(t)},Vc=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},Mc=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Lc=function(e){return[e.deltaX,e.deltaY]},Wc=function(e){return e&&"current"in e?e.current:e},Dc=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Fc=0,Xc=[];var zc,Zc=(zc=function(e){var t=d.useRef([]),n=d.useRef([0,0]),o=d.useRef(),r=d.useState(Fc++)[0],i=d.useState(function(){return Cc()})[0],s=d.useRef(e);d.useEffect(function(){s.current=e},[e]),d.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var t=function(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(Wc),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var a=d.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var r,i=Mc(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-i[0],c="deltaY"in e?e.deltaY:a[1]-i[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var p=Bc(d,u);if(!p)return!0;if(p?r=d:(r="v"===d?"h":"v",p=Bc(d,u)),!p)return!1;if(!o.current&&"changedTouches"in e&&(l||c)&&(o.current=r),!r)return!0;var f=o.current||r;return function(e,t,n,o){var r=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),i=r*o,s=n.target,a=t.contains(s),l=!1,c=i>0,u=0,d=0;do{var p=Vc(e,s),f=p[0],m=p[1]-p[2]-r*f;(f||m)&&Oc(e,s)&&(u+=m,d+=f),s=s.parentNode}while(!a&&s!==document.body||a&&(t.contains(s)||t===s));return c&&0===u?l=!0:c||0!==d||(l=!0),l}(f,t,e,"h"===f?l:c)},[]),l=d.useCallback(function(e){var n=e;if(Xc.length&&Xc[Xc.length-1]===i){var o="deltaY"in n?Lc(n):Mc(n),r=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,r=o,t[0]===r[0]&&t[1]===r[1]);var t,r})[0];if(r&&r.should)n.cancelable&&n.preventDefault();else if(!r){var l=(s.current.shards||[]).map(Wc).filter(Boolean).filter(function(e){return e.contains(n.target)});(l.length>0?a(n,l[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),c=d.useCallback(function(e,n,o,r){var i={name:e,delta:n,target:o,should:r};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),u=d.useCallback(function(e){n.current=Mc(e),o.current=void 0},[]),p=d.useCallback(function(t){c(t.type,Lc(t),t.target,a(t,e.lockRef.current))},[]),f=d.useCallback(function(t){c(t.type,Mc(t),t.target,a(t,e.lockRef.current))},[]);d.useEffect(function(){return Xc.push(i),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",l,Rc),document.addEventListener("touchmove",l,Rc),document.addEventListener("touchstart",u,Rc),function(){Xc=Xc.filter(function(e){return e!==i}),document.removeEventListener("wheel",l,Rc),document.removeEventListener("touchmove",l,Rc),document.removeEventListener("touchstart",u,Rc)}},[]);var m=e.removeScrollBar,h=e.inert;return d.createElement(d.Fragment,null,h?d.createElement(i,{styles:Dc(r)}):null,m?d.createElement(kc,{gapMode:"margin"}):null)},gc.useMedium(zc),hc),Hc=d.forwardRef(function(e,t){return d.createElement(vc,sc({},e,{ref:t,sideCar:Zc}))});Hc.classNames=vc.classNames;var Yc=new WeakMap,Jc=new WeakMap,Uc={},$c=0,_c=function(e){return e&&(e.host||_c(e.parentNode))},Qc=function(e,t,n,o){var r=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=_c(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(e){return Boolean(e)})}(t,Array.isArray(e)?e:[e]);Uc[n]||(Uc[n]=new WeakMap);var i=Uc[n],s=[],a=new Set,l=new Set(r),c=function(e){e&&!a.has(e)&&(a.add(e),c(e.parentNode))};r.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(a.has(e))u(e);else try{var t=e.getAttribute(o),r=null!==t&&"false"!==t,l=(Yc.get(e)||0)+1,c=(i.get(e)||0)+1;Yc.set(e,l),i.set(e,c),s.push(e),1===l&&r&&Jc.set(e,!0),1===c&&e.setAttribute(n,"true"),r||e.setAttribute(o,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),a.clear(),$c++,function(){s.forEach(function(e){var t=Yc.get(e)-1,r=i.get(e)-1;Yc.set(e,t),i.set(e,r),t||(Jc.has(e)||e.removeAttribute(o),Jc.delete(e)),r||e.removeAttribute(n)}),--$c||(Yc=new WeakMap,Yc=new WeakMap,Jc=new WeakMap,Uc={})}},Kc=function(e,t,n){void 0===n&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live], script"))),Qc(o,r,n,"aria-hidden")):function(){return null}};const qc="Dialog",[eu,tu]=function(e,n=[]){let o=[];const r=()=>{const n=o.map(e=>t.createContext(e));return function(o){const r=(null==o?void 0:o[e])||n;return t.useMemo(()=>({[`__scope${e}`]:{...o,[e]:r}}),[o,r])}};return r.scopeName=e,[function(n,r){const i=t.createContext(r),s=o.length;function a(n){const{scope:o,children:r,...a}=n,l=(null==o?void 0:o[e][s])||i,c=t.useMemo(()=>a,Object.values(a));return t.createElement(l.Provider,{value:c},r)}return o=[...o,r],a.displayName=n+"Provider",[a,function(o,a){const l=(null==a?void 0:a[e][s])||i,c=t.useContext(l);if(c)return c;if(void 0!==r)return r;throw new Error(`\`${o}\` must be used within \`${n}\``)}]},Nl(r,...n)]}(qc),[nu,ou]=eu(qc),ru="DialogPortal",[iu,su]=eu(ru,{forceMount:void 0}),au="DialogOverlay",lu=t.forwardRef((e,n)=>{const o=su(au,e.__scopeDialog),{forceMount:r=o.forceMount,...i}=e,s=ou(au,e.__scopeDialog);return s.modal?t.createElement(nc,{present:r||s.open},t.createElement(cu,yl({},i,{ref:n}))):null}),cu=t.forwardRef((e,n)=>{const{__scopeDialog:o,...r}=e,i=ou(au,o);return t.createElement(Hc,{as:Tl,allowPinchZoom:!0,shards:[i.contentRef]},t.createElement(Vl.div,yl({"data-state":vu(i.open)},r,{ref:n,style:{pointerEvents:"auto",...r.style}})))}),uu="DialogContent",du=t.forwardRef((e,n)=>{const o=su(uu,e.__scopeDialog),{forceMount:r=o.forceMount,...i}=e,s=ou(uu,e.__scopeDialog);return t.createElement(nc,{present:r||s.open},s.modal?t.createElement(pu,yl({},i,{ref:n})):t.createElement(fu,yl({},i,{ref:n})))}),pu=t.forwardRef((e,n)=>{const o=ou(uu,e.__scopeDialog),r=t.useRef(null),i=Il(n,o.contentRef,r);return t.useEffect(()=>{const e=r.current;if(e)return Kc(e)},[]),t.createElement(mu,yl({},e,{ref:i,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Cl(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=o.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:Cl(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:Cl(e.onFocusOutside,e=>e.preventDefault())}))}),fu=t.forwardRef((e,n)=>{const o=ou(uu,e.__scopeDialog),r=t.useRef(!1),i=t.useRef(!1);return t.createElement(mu,yl({},e,{ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,s;(null===(n=e.onCloseAutoFocus)||void 0===n||n.call(e,t),t.defaultPrevented)||(r.current||null===(s=o.triggerRef.current)||void 0===s||s.focus(),t.preventDefault());r.current=!1,i.current=!1},onInteractOutside:t=>{var n,s;null===(n=e.onInteractOutside)||void 0===n||n.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));const a=t.target;(null===(s=o.triggerRef.current)||void 0===s?void 0:s.contains(a))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}}))}),mu=t.forwardRef((e,n)=>{const{__scopeDialog:o,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:s,...a}=e,l=ou(uu,o),c=Il(n,t.useRef(null));return t.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:ic()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:ic()),rc++,()=>{1===rc&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),rc--}},[]),t.createElement(t.Fragment,null,t.createElement(Ul,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:s},t.createElement(Xl,yl({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":vu(l.open)},a,{ref:c,onDismiss:()=>l.onOpenChange(!1)}))),!1)}),hu="DialogTitle",gu="DialogClose",bu=t.forwardRef((e,n)=>{const{__scopeDialog:o,...r}=e,i=ou(gu,o);return t.createElement(Vl.button,yl({type:"button"},r,{ref:n,onClick:Cl(e.onClick,()=>i.onOpenChange(!1))}))});function vu(e){return e?"open":"closed"}!function(e,n){const o=t.createContext(n);function r(e){const{children:n,...r}=e,i=t.useMemo(()=>r,Object.values(r));return t.createElement(o.Provider,{value:i},n)}r.displayName=e+"Provider"}("DialogTitleWarning",{contentName:uu,titleName:hu,docsSlug:"dialog"});const xu=e=>{const{__scopeDialog:n,children:o,open:r,defaultOpen:i,onOpenChange:s,modal:a=!0}=e,l=t.useRef(null),c=t.useRef(null),[u=!1,d]=Pl({prop:r,defaultProp:i,onChange:s});return t.createElement(nu,{scope:n,triggerRef:l,contentRef:c,contentId:Sl(),titleId:Sl(),descriptionId:Sl(),open:u,onOpenChange:d,onOpenToggle:t.useCallback(()=>d(e=>!e),[d]),modal:a},o)},yu=e=>{const{__scopeDialog:n,forceMount:o,children:r,container:i}=e,s=ou(ru,n);return t.createElement(iu,{scope:n,forceMount:o},t.Children.map(r,e=>t.createElement(nc,{present:o||s.open},t.createElement(tc,{asChild:!0,container:i},e))))},Cu=lu,wu=du,Iu=bu,Nu=({currentPage:t,totalPages:n,onPageChange:o,ariaLabel:r="Pagination"})=>{const i=function(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t+1);const n=[];n.push(1),e>3&&n.push("...");const o=Math.max(2,e-1),r=Math.min(t-1,e+1);for(let e=o;e<=r;e++)n.push(e);e<t-2&&n.push("...");return n.push(t),n}(t,n),s="inline-flex items-center justify-center w-9 h-9 rounded-full bg-transparent cursor-pointer transition-colors duration-150 hover:border-text-brand hover:text-text-brand disabled:opacity-40 disabled:cursor-not-allowed";return e.jsxs("nav",{className:"flex items-center justify-center gap-1 px-6 pb-12","aria-label":r,children:[e.jsx(We,{className:s,onClick:()=>o(t-1),disabled:1===t,"aria-label":"Go to previous page",children:e.jsx(Re,{name:"chevron_left",size:32,"aria-hidden":"true"})}),i.map((n,r)=>"..."===n?e.jsx("span",{className:"inline-flex h-9 w-9 cursor-default items-center justify-center text-body2 text-gray-500","aria-hidden":"true",children:"…"},`ellipsis-${r}`):e.jsx(We,{className:"inline-flex items-center justify-center w-9 h-9 rounded-lg text-body2 text-gray-700 bg-transparent border-none cursor-pointer transition-colors duration-150 hover:bg-gray-100 hover:text-gray-900 "+(n===t?"bg-bg-surface-active font-bold hover:bg-bg-gray-300":""),onClick:()=>o(n),"aria-label":`Go to page ${n}`,"aria-current":n===t?"page":void 0,children:n},n)),e.jsx(We,{className:s,onClick:()=>o(t+1),disabled:t===n,"aria-label":"Go to next page",children:e.jsx(Re,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function Au(e){return Au="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},Au(e)}function ju(e){var t=function(e,t){if("object"!=Au(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Au(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Au(t)?t:t+""}function Eu(e,t,n){return(t=ju(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Su(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 ku(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Su(Object(n),!0).forEach(function(t){Eu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Su(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Pu(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 Tu(e,t){if(e){if("string"==typeof e)return Pu(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)?Pu(e,t):void 0}}function Ru(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,s,a=[],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)&&(a.push(o.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||Tu(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 Gu(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 Bu(e,t){if(null==e)return{};var n,o,r=Gu(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}var Ou=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Vu(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,ju(o.key),o)}}function Mu(e,t){return Mu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Mu(e,t)}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Lu(e)}function Wu(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wu=function(){return!!e})()}function Du(e,t){if(t&&("object"==Au(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 Fu(e){return function(e){if(Array.isArray(e))return Pu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Tu(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 Xu=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}(),zu="-ms-",Zu="-moz-",Hu="-webkit-",Yu="comm",Ju="rule",Uu="decl",$u="@keyframes",_u=Math.abs,Qu=String.fromCharCode,Ku=Object.assign;function qu(e){return e.trim()}function ed(e,t,n){return e.replace(t,n)}function td(e,t){return e.indexOf(t)}function nd(e,t){return 0|e.charCodeAt(t)}function od(e,t,n){return e.slice(t,n)}function rd(e){return e.length}function id(e){return e.length}function sd(e,t){return t.push(e),e}var ad=1,ld=1,cd=0,ud=0,dd=0,pd="";function fd(e,t,n,o,r,i,s){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:ad,column:ld,length:s,return:""}}function md(e,t){return Ku(fd("",null,null,"",null,null,0),e,{length:-e.length},t)}function hd(){return dd=ud>0?nd(pd,--ud):0,ld--,10===dd&&(ld=1,ad--),dd}function gd(){return dd=ud<cd?nd(pd,ud++):0,ld++,10===dd&&(ld=1,ad++),dd}function bd(){return nd(pd,ud)}function vd(){return ud}function xd(e,t){return od(pd,e,t)}function yd(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 Cd(e){return ad=ld=1,cd=rd(pd=e),ud=0,[]}function wd(e){return pd="",e}function Id(e){return qu(xd(ud-1,jd(91===e?e+2:40===e?e+1:e)))}function Nd(e){for(;(dd=bd())&&dd<33;)gd();return yd(e)>2||yd(dd)>3?"":" "}function Ad(e,t){for(;--t&&gd()&&!(dd<48||dd>102||dd>57&&dd<65||dd>70&&dd<97););return xd(e,vd()+(t<6&&32==bd()&&32==gd()))}function jd(e){for(;gd();)switch(dd){case e:return ud;case 34:case 39:34!==e&&39!==e&&jd(dd);break;case 40:41===e&&jd(e);break;case 92:gd()}return ud}function Ed(e,t){for(;gd()&&e+dd!==57&&(e+dd!==84||47!==bd()););return"/*"+xd(t,ud-1)+"*"+Qu(47===e?e:gd())}function Sd(e){for(;!yd(bd());)gd();return xd(e,ud)}function kd(e){return wd(Pd("",null,null,null,[""],e=Cd(e),0,[0],e))}function Pd(e,t,n,o,r,i,s,a,l){for(var c=0,u=0,d=s,p=0,f=0,m=0,h=1,g=1,b=1,v=0,x="",y=r,C=i,w=o,I=x;g;)switch(m=v,v=gd()){case 40:if(108!=m&&58==nd(I,d-1)){-1!=td(I+=ed(Id(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:I+=Id(v);break;case 9:case 10:case 13:case 32:I+=Nd(m);break;case 92:I+=Ad(vd()-1,7);continue;case 47:switch(bd()){case 42:case 47:sd(Rd(Ed(gd(),vd()),t,n),l);break;default:I+="/"}break;case 123*h:a[c++]=rd(I)*b;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(I=ed(I,/\f/g,"")),f>0&&rd(I)-d&&sd(f>32?Gd(I+";",o,n,d-1):Gd(ed(I," ","")+";",o,n,d-2),l);break;case 59:I+=";";default:if(sd(w=Td(I,t,n,c,u,r,a,x,y=[],C=[],d),i),123===v)if(0===u)Pd(I,t,w,w,y,i,d,a,C);else switch(99===p&&110===nd(I,3)?100:p){case 100:case 108:case 109:case 115:Pd(e,w,w,o&&sd(Td(e,w,w,0,0,r,a,x,r,y=[],d),C),r,C,d,a,o?y:C);break;default:Pd(I,w,w,w,[""],C,0,a,C)}}c=u=f=0,h=b=1,x=I="",d=s;break;case 58:d=1+rd(I),f=m;default:if(h<1)if(123==v)--h;else if(125==v&&0==h++&&125==hd())continue;switch(I+=Qu(v),v*h){case 38:b=u>0?1:(I+="\f",-1);break;case 44:a[c++]=(rd(I)-1)*b,b=1;break;case 64:45===bd()&&(I+=Id(gd())),p=bd(),u=d=rd(x=I+=Sd(vd())),v++;break;case 45:45===m&&2==rd(I)&&(h=0)}}return i}function Td(e,t,n,o,r,i,s,a,l,c,u){for(var d=r-1,p=0===r?i:[""],f=id(p),m=0,h=0,g=0;m<o;++m)for(var b=0,v=od(e,d+1,d=_u(h=s[m])),x=e;b<f;++b)(x=qu(h>0?p[b]+" "+v:ed(v,/&\f/g,p[b])))&&(l[g++]=x);return fd(e,t,n,0===r?Ju:a,l,c,u)}function Rd(e,t,n){return fd(e,t,n,Yu,Qu(dd),od(e,2,-2),0)}function Gd(e,t,n,o){return fd(e,t,n,Uu,od(e,0,o),od(e,o+1,-1),o)}function Bd(e,t){for(var n="",o=id(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function Od(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Uu:return e.return=e.return||e.value;case Yu:return"";case $u:return e.return=e.value+"{"+Bd(e.children,o)+"}";case Ju:e.value=e.props.join(",")}return rd(n=Bd(e.children,o))?e.return=e.value+"{"+n+"}":""}function Vd(e){var t=id(e);return function(n,o,r,i){for(var s="",a=0;a<t;a++)s+=e[a](n,o,r,i)||"";return s}}var Md="undefined"!=typeof document,Ld=function(e,t,n){for(var o=0,r=0;o=r,r=bd(),38===o&&12===r&&(t[n]=1),!yd(r);)gd();return xd(e,ud)},Wd=function(e,t){return wd(function(e,t){var n=-1,o=44;do{switch(yd(o)){case 0:38===o&&12===bd()&&(t[n]=1),e[n]+=Ld(ud-1,t,n);break;case 2:e[n]+=Id(o);break;case 4:if(44===o){e[++n]=58===bd()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Qu(o)}}while(o=gd());return e}(Cd(e),t))},Dd=new WeakMap,Fd=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)||Dd.get(n))&&!o){Dd.set(e,!0);for(var r=[],i=Wd(t,r),s=n.props,a=0,l=0;a<i.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=r[a]?i[a].replace(/&\f/g,s[c]):s[c]+" "+i[a]}}},Xd=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function zd(e,t){switch(function(e,t){return 45^nd(e,0)?(((t<<2^nd(e,0))<<2^nd(e,1))<<2^nd(e,2))<<2^nd(e,3):0}(e,t)){case 5103:return Hu+"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 Hu+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Hu+e+Zu+e+zu+e+e;case 6828:case 4268:return Hu+e+zu+e+e;case 6165:return Hu+e+zu+"flex-"+e+e;case 5187:return Hu+e+ed(e,/(\w+).+(:[^]+)/,Hu+"box-$1$2"+zu+"flex-$1$2")+e;case 5443:return Hu+e+zu+"flex-item-"+ed(e,/flex-|-self/,"")+e;case 4675:return Hu+e+zu+"flex-line-pack"+ed(e,/align-content|flex-|-self/,"")+e;case 5548:return Hu+e+zu+ed(e,"shrink","negative")+e;case 5292:return Hu+e+zu+ed(e,"basis","preferred-size")+e;case 6060:return Hu+"box-"+ed(e,"-grow","")+Hu+e+zu+ed(e,"grow","positive")+e;case 4554:return Hu+ed(e,/([^-])(transform)/g,"$1"+Hu+"$2")+e;case 6187:return ed(ed(ed(e,/(zoom-|grab)/,Hu+"$1"),/(image-set)/,Hu+"$1"),e,"")+e;case 5495:case 3959:return ed(e,/(image-set\([^]*)/,Hu+"$1$`$1");case 4968:return ed(ed(e,/(.+:)(flex-)?(.*)/,Hu+"box-pack:$3"+zu+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Hu+e+e;case 4095:case 3583:case 4068:case 2532:return ed(e,/(.+)-inline(.+)/,Hu+"$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(rd(e)-1-t>6)switch(nd(e,t+1)){case 109:if(45!==nd(e,t+4))break;case 102:return ed(e,/(.+:)(.+)-([^]+)/,"$1"+Hu+"$2-$3$1"+Zu+(108==nd(e,t+3)?"$3":"$2-$3"))+e;case 115:return~td(e,"stretch")?zd(ed(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==nd(e,t+1))break;case 6444:switch(nd(e,rd(e)-3-(~td(e,"!important")&&10))){case 107:return ed(e,":",":"+Hu)+e;case 101:return ed(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Hu+(45===nd(e,14)?"inline-":"")+"box$3$1"+Hu+"$2$3$1"+zu+"$2box$3")+e}break;case 5936:switch(nd(e,t+11)){case 114:return Hu+e+zu+ed(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Hu+e+zu+ed(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Hu+e+zu+ed(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Hu+e+zu+e+e}return e}var Zd,Hd,Yd=Md?void 0:(Zd=function(){return e=function(){return{}},t=Object.create(null),function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]};var e,t},Hd=new WeakMap,function(e){if(Hd.has(e))return Hd.get(e);var t=Zd(e);return Hd.set(e,t),t}),Jd=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case Uu:e.return=zd(e.value,e.length);break;case $u:return Bd([md(e,{value:ed(e.value,"@","@"+Hu)})],o);case Ju: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 Bd([md(e,{props:[ed(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return Bd([md(e,{props:[ed(t,/:(plac\w+)/,":"+Hu+"input-$1")]}),md(e,{props:[ed(t,/:(plac\w+)/,":-moz-$1")]}),md(e,{props:[ed(t,/:(plac\w+)/,zu+"input-$1")]})],o)}return""})}}],Ud=function(e){var t=e.key;if(Md&&"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||Jd,s={},a=[];Md&&(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++)s[t[n]]=!0;a.push(e)}));var l,c=[Fd,Xd];if(Yd){var u=[Od],d=Vd(c.concat(i,u)),p=Yd(i)(t),f=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=Bd(kd(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===b.compat?(o&&(b.inserted[r]=!0),i):o?void(b.inserted[r]=i):i}}else{var m,h=[Od,(l=function(e){m.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=Vd(c.concat(i,h));r=function(e,t,n,o){m=n,Bd(kd(e?e+"{"+t.styles+"}":t.styles),g),o&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new Xu({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:r};return b.sheet.hydrate(a),b};function $d(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function _d(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}var Qd,Kd={exports:{}},qd={};var ep,tp,np,op,rp={};
4
4
  /** @license React v16.13.1
5
5
  * react-is.development.js
6
6
  *
@@ -8,5 +8,30 @@
8
8
  *
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
- */function np(){return Kd||(Kd=1,"production"===process.env.NODE_ENV?$d.exports=function(){if(Hd)return Qd;Hd=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=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,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case r:case i:case o:case d:return e;default:switch(e=e&&e.$$typeof){case a:case u:case h:case m:case s:return e;default:return p}}case n:return p}}}function y(e){return x(e)===c}return Qd.AsyncMode=l,Qd.ConcurrentMode=c,Qd.ContextConsumer=a,Qd.ContextProvider=s,Qd.Element=t,Qd.ForwardRef=u,Qd.Fragment=r,Qd.Lazy=h,Qd.Memo=m,Qd.Portal=n,Qd.Profiler=i,Qd.StrictMode=o,Qd.Suspense=d,Qd.isAsyncMode=function(e){return y(e)||x(e)===l},Qd.isConcurrentMode=y,Qd.isContextConsumer=function(e){return x(e)===a},Qd.isContextProvider=function(e){return x(e)===s},Qd.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Qd.isForwardRef=function(e){return x(e)===u},Qd.isFragment=function(e){return x(e)===r},Qd.isLazy=function(e){return x(e)===h},Qd.isMemo=function(e){return x(e)===m},Qd.isPortal=function(e){return x(e)===n},Qd.isProfiler=function(e){return x(e)===i},Qd.isStrictMode=function(e){return x(e)===o},Qd.isSuspense=function(e){return x(e)===d},Qd.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},Qd.typeOf=x,Qd}():$d.exports=(_d||(_d=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=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,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var f=e.type;switch(f){case l:case c:case r:case i:case o:case d:return f;default:var g=f&&f.$$typeof;switch(g){case a:case u:case h:case m:case s:return g;default:return p}}case n:return p}}}var y=l,I=c,C=a,w=s,N=t,A=u,j=r,k=h,G=m,P=n,S=i,E=o,B=d,T=!1;function V(e){return x(e)===c}tp.AsyncMode=y,tp.ConcurrentMode=I,tp.ContextConsumer=C,tp.ContextProvider=w,tp.Element=N,tp.ForwardRef=A,tp.Fragment=j,tp.Lazy=k,tp.Memo=G,tp.Portal=P,tp.Profiler=S,tp.StrictMode=E,tp.Suspense=B,tp.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)||x(e)===l},tp.isConcurrentMode=V,tp.isContextConsumer=function(e){return x(e)===a},tp.isContextProvider=function(e){return x(e)===s},tp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},tp.isForwardRef=function(e){return x(e)===u},tp.isFragment=function(e){return x(e)===r},tp.isLazy=function(e){return x(e)===h},tp.isMemo=function(e){return x(e)===m},tp.isPortal=function(e){return x(e)===n},tp.isProfiler=function(e){return x(e)===i},tp.isStrictMode=function(e){return x(e)===o},tp.isSuspense=function(e){return x(e)===d},tp.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},tp.typeOf=x}()),tp)),$d.exports}!function(){if(ep)return qd;ep=1;var e=np(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(n){return e.isMemo(n)?r:o[n.$$typeof]||t}o[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[e.Memo]=r;var s=Object.defineProperty,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;qd=function e(t,r,o){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,o)}var m=a(r);l&&(m=m.concat(l(r)));for(var h=i(t),f=i(r),g=0;g<m.length;++g){var b=m[g];if(!(n[b]||o&&o[b]||f&&f[b]||h&&h[b])){var v=c(r,b);try{s(t,b,v)}catch(e){}}}}return t}}();var rp="undefined"!=typeof document;var op=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===rp&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var ip={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function sp(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var ap=/[A-Z]|^ms/g,lp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,cp=function(e){return 45===e.charCodeAt(1)},up=function(e){return null!=e&&"boolean"!=typeof e},dp=sp(function(e){return cp(e)?e:e.replace(ap,"-$&").toLowerCase()}),pp=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(lp,function(e,t,n){return hp={name:t,styles:n,next:hp},t})}return 1===ip[e]||cp(e)||"number"!=typeof t||0===t?t:t+"px"};function mp(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return hp={name:o.name,styles:o.styles,next:hp},o.name;var i=n;if(void 0!==i.styles){var s=i.next;if(void 0!==s)for(;void 0!==s;)hp={name:s.name,styles:s.styles,next:hp},s=s.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=mp(e,t,n[o])+";";else for(var i in n){var s=n[i];if("object"!=typeof s){var a=s;up(a)&&(r+=dp(i)+":"+pp(i,a)+";")}else if(Array.isArray(s)&&"string"==typeof s[0]&&null==t)for(var l=0;l<s.length;l++)up(s[l])&&(r+=dp(i)+":"+pp(i,s[l])+";");else{var c=mp(e,t,s);switch(i){case"animation":case"animationName":r+=dp(i)+":"+c+";";break;default:r+=i+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var a=hp,l=n(e);return hp=a,mp(e,t,l)}}return n}var hp,fp=/label:\s*([^\s;{]+)\s*(;|$)/g;function gp(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";hp=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=mp(n,t,i)):o+=i[0];for(var s=1;s<e.length;s++){if(o+=mp(n,t,e[s]),r)o+=i[s]}fp.lastIndex=0;for(var a,l="";null!==(a=fp.exec(o));)l+="-"+a[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:hp}}var bp="undefined"!=typeof document,vp=function(e){return e()},xp=!!d.useInsertionEffect&&d.useInsertionEffect,yp=bp&&xp||vp,Ip="undefined"!=typeof document,Cp=d.createContext("undefined"!=typeof HTMLElement?Ud({key:"css"}):null);Cp.Provider;var wp=function(e){return t.forwardRef(function(n,r){var o=t.useContext(Cp);return e(n,o,r)})};Ip||(wp=function(e){return function(n){var r=t.useContext(Cp);return null===r?(r=Ud({key:"css"}),d.createElement(Cp.Provider,{value:r},e(n,r))):e(n,r)}});var Np,Ap,jp=d.createContext({}),kp={}.hasOwnProperty,Gp="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Pp=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;op(t,n,r);var o=yp(function(){return function(e,t,n){op(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var s=e.insert(t===i?"."+r:"",i,e.sheet,!0);rp||void 0===s||(o+=s),i=i.next}while(void 0!==i);if(!rp&&0!==o.length)return o}}(t,n,r)});if(!Ip&&void 0!==o){for(var i,s=n.name,a=n.next;void 0!==a;)s+=" "+a.name,a=a.next;return d.createElement("style",((i={})["data-emotion"]=t.key+" "+s,i.dangerouslySetInnerHTML={__html:o},i.nonce=t.sheet.nonce,i))}return null},Sp=wp(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[Gp],i=[r],s="";"string"==typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}(t.registered,i,e.className):null!=e.className&&(s=e.className+" ");var a=gp(i,void 0,d.useContext(jp));s+=t.key+"-"+a.name;var l={};for(var c in e)kp.call(e,c)&&"css"!==c&&c!==Gp&&(l[c]=e[c]);return l.className=s,n&&(l.ref=n),d.createElement(d.Fragment,null,d.createElement(Pp,{cache:t,serialized:a,isStringTag:"string"==typeof o}),d.createElement(o,l))}),Ep=Sp,Bp=function(e,t){var n=arguments;if(null==t||!kp.call(t,"css"))return d.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=Ep,o[1]=function(e,t){var n={};for(var r in t)kp.call(t,r)&&(n[r]=t[r]);return n[Gp]=e,n}(e,t);for(var i=2;i<r;i++)o[i]=n[i];return d.createElement.apply(null,o)};function Tp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return gp(t)}Np=Bp||(Bp={}),Ap||(Ap=Np.JSX||(Np.JSX={}));const Vp=Math.min,Rp=Math.max,Mp=Math.round,Lp=Math.floor,Xp=e=>({x:e,y:e});function Wp(){return"undefined"!=typeof window}function Op(e){return Zp(e)?(e.nodeName||"").toLowerCase():"#document"}function Fp(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Dp(e){var t;return null==(t=(Zp(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Zp(e){return!!Wp()&&(e instanceof Node||e instanceof Fp(e).Node)}function zp(e){return!!Wp()&&(e instanceof HTMLElement||e instanceof Fp(e).HTMLElement)}function Hp(e){return!(!Wp()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Fp(e).ShadowRoot)}const Yp=new Set(["inline","contents"]);function Jp(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=$p(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Yp.has(o)}const Up=new Set(["html","body","#document"]);function $p(e){return Fp(e).getComputedStyle(e)}function Qp(e){const t=function(e){if("html"===Op(e))return e;const t=e.assignedSlot||e.parentNode||Hp(e)&&e.host||Dp(e);return Hp(t)?t.host:t}(e);return function(e){return Up.has(Op(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:zp(t)&&Jp(t)?t:Qp(t)}function _p(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=Qp(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),s=Fp(o);if(i){const e=Kp(s);return t.concat(s,s.visualViewport||[],Jp(o)?o:[],e&&n?_p(e):[])}return t.concat(o,_p(o,[],n))}function Kp(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function qp(e){return t=e,Wp()&&(t instanceof Element||t instanceof Fp(t).Element)?e:e.contextElement;var t}function em(e){const t=qp(e);if(!zp(t))return Xp(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=function(e){const t=$p(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=zp(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=Mp(n)!==i||Mp(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}(t);let s=(i?Mp(n.width):n.width)/r,a=(i?Mp(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function tm(e,t,n,r){void 0===t&&(t=!1);const o=e.getBoundingClientRect(),i=qp(e);let s=Xp(1);t&&(s=em(e));const a=Xp(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,u=o.width/s.x,d=o.height/s.y;if(i){const e=r;let t=Fp(i),n=Kp(t);for(;n&&r&&e!==t;){const e=em(n),r=n.getBoundingClientRect(),o=$p(n),i=r.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,s=r.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=s,t=Fp(n),n=Kp(t)}}return function(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}({width:u,height:d,x:l,y:c})}function nm(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function rm(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=qp(e),u=o||i?[...c?_p(c):[],..._p(t)]:[];u.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const d=c&&a?function(e,t){let n,r=null;const o=Dp(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:m}=c;if(a||t(),!p||!m)return;const h={rootMargin:-Lp(d)+"px "+-Lp(o.clientWidth-(u+p))+"px "+-Lp(o.clientHeight-(d+m))+"px "+-Lp(u)+"px",threshold:Rp(0,Vp(1,l))||1};let f=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!f)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||nm(c,e.getBoundingClientRect())||s(),f=!1}try{r=new IntersectionObserver(g,{...h,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,h)}r.observe(e)}(!0),i}(c,n):null;let p,m=-1,h=null;s&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!l&&h.observe(c),h.observe(t));let f=l?tm(e):null;return l&&function t(){const r=tm(e);f&&!nm(f,r)&&n();f=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(p)}}var om="undefined"!=typeof document?t.useLayoutEffect:function(){},im=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],sm=function(){};function am(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function lm(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var s in t)t.hasOwnProperty(s)&&t[s]&&i.push("".concat(am(e,s)));return i.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var cm=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Au(e)&&null!==e?[e]:[];var t},um=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,Pu({},Tu(e,im))},dm=function(e,t,n){var r=e.cx,o=e.getStyles,i=e.getClassNames,s=e.className;return{css:o(t,e),className:r(null!=n?n:{},i(t,e),s)}};function pm(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function mm(e){return pm(e)?window.pageYOffset:e.scrollTop}function hm(e,t){pm(e)?window.scrollTo(0,t):e.scrollTop=t}function fm(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:sm,o=mm(e),i=t-o,s=0;!function t(){var a,l=i*((a=(a=s+=10)/n-1)*a*a+1)+o;hm(e,l),s<n?window.requestAnimationFrame(t):r(e)}()}function gm(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?hm(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&hm(e,Math.max(t.offsetTop-o,0))}function bm(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var vm=!1,xm={get passive(){return vm=!0}},ym="undefined"!=typeof window?window:{};ym.addEventListener&&ym.removeEventListener&&(ym.addEventListener("p",sm,xm),ym.removeEventListener("p",sm,!1));var Im=vm;function Cm(e){return null!=e}function wm(e,t,n){return e?t:n}var Nm=["children","innerProps"],Am=["children","innerProps"];function jm(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,s=e.isFixedPosition,a=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),m=p.bottom,h=p.height,f=p.top,g=n.offsetParent.getBoundingClientRect().top,b=s?window.innerHeight:pm(u=l)?window.innerHeight:u.clientHeight,v=mm(l),x=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),I=g-y,C=b-f,w=I+v,N=d-v-f,A=m-b+v+x,j=v+f-y,k=160;switch(o){case"auto":case"bottom":if(C>=h)return{placement:"bottom",maxHeight:t};if(N>=h&&!s)return i&&fm(l,A,k),{placement:"bottom",maxHeight:t};if(!s&&N>=r||s&&C>=r)return i&&fm(l,A,k),{placement:"bottom",maxHeight:s?C-x:N-x};if("auto"===o||s){var G=t,P=s?I:w;return P>=r&&(G=Math.min(P-x-a,t)),{placement:"top",maxHeight:G}}if("bottom"===o)return i&&hm(l,A),{placement:"bottom",maxHeight:t};break;case"top":if(I>=h)return{placement:"top",maxHeight:t};if(w>=h&&!s)return i&&fm(l,j,k),{placement:"top",maxHeight:t};if(!s&&w>=r||s&&I>=r){var S=t;return(!s&&w>=r||s&&I>=r)&&(S=s?I-y:w-y),i&&fm(l,j,k),{placement:"top",maxHeight:S}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var km,Gm=function(e){return"auto"===e?"bottom":e},Pm=t.createContext(null),Sm=function(e){var n=e.children,r=e.minMenuHeight,o=e.maxMenuHeight,i=e.menuPlacement,s=e.menuPosition,a=e.menuShouldScrollIntoView,l=e.theme,c=(t.useContext(Pm)||{}).setPortalPlacement,u=t.useRef(null),d=Bu(t.useState(o),2),p=d[0],m=d[1],h=Bu(t.useState(null),2),f=h[0],g=h[1],b=l.spacing.controlHeight;return om(function(){var e=u.current;if(e){var t="fixed"===s,n=jm({maxHeight:o,menuEl:e,minHeight:r,placement:i,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:b});m(n.maxHeight),g(n.placement),null==c||c(n.placement)}},[o,i,s,a,r,c,b]),n({ref:u,placerProps:Pu(Pu({},e),{},{placement:f||Gm(i),maxHeight:p})})},Em=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Bp("div",yl({},dm(e,"menu",{menu:!0}),{ref:n},r),t)},Bm=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return Pu({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Tm=Bm,Vm=Bm,Rm=["size"],Mm=["innerProps","isRtl","size"];var Lm,Xm,Wm="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+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+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)."}},Om=function(e){var t=e.size,n=Tu(e,Rm);return Bp("svg",yl({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Wm},n))},Fm=function(e){return Bp(Om,yl({size:20},e),Bp("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"}))},Dm=function(e){return Bp(Om,yl({size:20},e),Bp("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"}))},Zm=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return Pu({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*o,":hover":{color:n?i.neutral80:i.neutral40}})},zm=Zm,Hm=Zm,Ym=function(){var e=Tp.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_"}}}(km||(Lm=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Xm||(Xm=Lm.slice(0)),km=Object.freeze(Object.defineProperties(Lm,{raw:{value:Object.freeze(Xm)}})))),Jm=function(e){var t=e.delay,n=e.offset;return Bp("span",{css:Tp({animation:"".concat(Ym," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},Um=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,i=e.innerProps,s=e.menuIsOpen;return Bp("div",yl({ref:o},dm(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":s}),i,{"aria-disabled":n||void 0}),t)},$m=["data"],Qm=function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,i=e.Heading,s=e.headingProps,a=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Bp("div",yl({},dm(e,"group",{group:!0}),a),Bp(i,yl({},s,{selectProps:u,theme:c,getStyles:r,getClassNames:o,cx:n}),l),Bp("div",null,t))},_m=["innerRef","isDisabled","isHidden","inputClassName"],Km={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},qm={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Pu({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Km)},eh=function(e){return Pu({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Km)},th=function(e){var t=e.cx,n=e.value,r=um(e),o=r.innerRef,i=r.isDisabled,s=r.isHidden,a=r.inputClassName,l=Tu(r,_m);return Bp("div",yl({},dm(e,"input",{"input-container":!0}),{"data-value":n||""}),Bp("input",yl({className:t({input:!0},a),ref:o,style:eh(s),disabled:i},l)))},nh=function(e){var t=e.children,n=e.innerProps;return Bp("div",n,t)};var rh=function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,i=e.isDisabled,s=e.removeProps,a=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return Bp(l,{data:r,innerProps:Pu(Pu({},dm(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:a},Bp(c,{data:r,innerProps:Pu({},dm(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},t),Bp(u,{data:r,innerProps:Pu(Pu({},dm(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},s),selectProps:a}))},oh={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Bp("div",yl({},dm(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Bp(Fm,null))},Control:Um,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Bp("div",yl({},dm(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Bp(Dm,null))},DownChevron:Dm,CrossIcon:Fm,Group:Qm,GroupHeading:function(e){var t=um(e);t.data;var n=Tu(t,$m);return Bp("div",yl({},dm(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Bp("div",yl({},dm(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Bp("span",yl({},t,dm(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:th,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=void 0===r?4:r,i=Tu(e,Mm);return Bp("div",yl({},dm(Pu(Pu({},i),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Bp(Jm,{delay:0,offset:n}),Bp(Jm,{delay:160,offset:!0}),Bp(Jm,{delay:320,offset:!n}))},Menu:Em,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return Bp("div",yl({},dm(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(e){var n=e.appendTo,r=e.children,o=e.controlElement,i=e.innerProps,s=e.menuPlacement,a=e.menuPosition,c=t.useRef(null),u=t.useRef(null),d=Bu(t.useState(Gm(s)),2),p=d[0],m=d[1],h=t.useMemo(function(){return{setPortalPlacement:m}},[]),f=Bu(t.useState(null),2),g=f[0],b=f[1],v=t.useCallback(function(){if(o){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(o),t="fixed"===a?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)||b({offset:n,rect:e})}},[o,a,p,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);om(function(){v()},[v]);var x=t.useCallback(function(){"function"==typeof u.current&&(u.current(),u.current=null),o&&c.current&&(u.current=rm(o,c.current,v,{elementResize:"ResizeObserver"in window}))},[o,v]);om(function(){x()},[x]);var y=t.useCallback(function(e){c.current=e,x()},[x]);if(!n&&"fixed"!==a||!g)return null;var I=Bp("div",yl({ref:y},dm(Pu(Pu({},e),{},{offset:g.offset,position:a,rect:g.rect}),"menuPortal",{"menu-portal":!0}),i),r);return Bp(Pm.Provider,{value:h},n?l.createPortal(I,n):I)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=Tu(e,Am);return Bp("div",yl({},dm(Pu(Pu({},o),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,o=Tu(e,Nm);return Bp("div",yl({},dm(Pu(Pu({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:rh,MultiValueContainer:nh,MultiValueLabel:nh,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Bp("div",yl({role:"button"},n),t||Bp(Fm,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.innerRef,s=e.innerProps;return Bp("div",yl({},dm(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:i,"aria-disabled":n},s),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Bp("div",yl({},dm(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return Bp("div",yl({},dm(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Bp("div",yl({},dm(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,o=e.hasValue;return Bp("div",yl({},dm(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},ih=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function sh(e,t){return e===t||!(!ih(e)||!ih(t))}function ah(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!sh(e[n],t[n]))return!1;return!0}for(var lh="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)."}},ch=function(e){return Bp("span",yl({css:lh},e))},uh={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,o=e.context,i=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,s=e.selectValue,a=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&&s)return"value ".concat(i," focused, ").concat(u(s,n),".");if("menu"===t&&c){var d=a?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(i).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},dh=function(e){var n=e.ariaSelection,r=e.focusedOption,o=e.focusedValue,i=e.focusableOptions,s=e.isFocused,a=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,m=l.inputValue,h=l.isMulti,f=l.isOptionDisabled,g=l.isSearchable,b=l.menuIsOpen,v=l.options,x=l.screenReaderStatus,y=l.tabSelectsValue,I=l.isLoading,C=l["aria-label"],w=l["aria-live"],N=t.useMemo(function(){return Pu(Pu({},uh),d||{})},[d]),A=t.useMemo(function(){var e,t="";if(n&&N.onChange){var r=n.option,o=n.options,i=n.removedValue,s=n.removedValues,l=n.value,c=i||r||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=o||s||void 0,m=d?d.map(p):[],h=Pu({isDisabled:c&&f(c,a),label:u,labels:m},n);t=N.onChange(h)}return t},[n,N,f,a,p]),j=t.useMemo(function(){var e="",t=r||o,n=!!(r&&a&&a.includes(r));if(t&&N.onFocus){var s={focused:t,label:p(t),isDisabled:f(t,a),isSelected:n,options:i,context:t===r?"menu":"value",selectValue:a,isAppleDevice:u};e=N.onFocus(s)}return e},[r,o,p,f,N,i,a,u]),k=t.useMemo(function(){var e="";if(b&&v.length&&!I&&N.onFilter){var t=x({count:i.length});e=N.onFilter({inputValue:m,resultsMessage:t})}return e},[i,m,b,N,v,x,I]),G="initial-input-focus"===(null==n?void 0:n.action),P=t.useMemo(function(){var e="";if(N.guidance){var t=o?"value":b?"menu":"input";e=N.guidance({"aria-label":C,context:t,isDisabled:r&&f(r,a),isMulti:h,isSearchable:g,tabSelectsValue:y,isInitialFocus:G})}return e},[C,r,o,h,f,g,b,N,a,y,G]),S=Bp(t.Fragment,null,Bp("span",{id:"aria-selection"},A),Bp("span",{id:"aria-focused"},j),Bp("span",{id:"aria-results"},k),Bp("span",{id:"aria-guidance"},P));return Bp(t.Fragment,null,Bp(ch,{id:c},G&&S),Bp(ch,{"aria-live":w,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!G&&S))},ph=[{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źẑżžẓẕƶȥɀⱬꝣ"}],mh=new RegExp("["+ph.map(function(e){return e.letters}).join("")+"]","g"),hh={},fh=0;fh<ph.length;fh++)for(var gh=ph[fh],bh=0;bh<gh.letters.length;bh++)hh[gh.letters[bh]]=gh.base;var vh=function(e){return e.replace(mh,function(e){return hh[e]})},xh=function(e,t){void 0===t&&(t=ah);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}(vh),yh=function(e){return e.replace(/^\s+|\s+$/g,"")},Ih=function(e){return"".concat(e.label," ").concat(e.value)},Ch=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=Pu({ignoreCase:!0,ignoreAccents:!0,stringify:Ih,trim:!0,matchFrom:"any"},e),o=r.ignoreCase,i=r.ignoreAccents,s=r.stringify,a=r.trim,l=r.matchFrom,c=a?yh(n):n,u=a?yh(s(t)):s(t);return o&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=xh(c),u=vh(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},wh=["innerRef"];function Nh(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Object.entries(e).filter(function(e){var t=Bu(e,1)[0];return!n.includes(t)});return o.reduce(function(e,t){var n=Bu(t,2),r=n[0],o=n[1];return e[r]=o,e},{})}(Tu(e,wh),"onExited","in","enter","exit","appear");return Bp("input",yl({ref:t},n,{css:Tp({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 Ah=["boxSizing","height","overflow","paddingRight","position"],jh={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function kh(e){e.cancelable&&e.preventDefault()}function Gh(e){e.stopPropagation()}function Ph(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Sh(){return"ontouchstart"in window||navigator.maxTouchPoints}var Eh=!("undefined"==typeof window||!window.document||!window.document.createElement),Bh=0,Th={capture:!1,passive:!1};var Vh=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Rh="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+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 Mh(e){var n=e.children,r=e.lockEnabled,o=e.captureEnabled,i=function(e){var n=e.isEnabled,r=e.onBottomArrive,o=e.onBottomLeave,i=e.onTopArrive,s=e.onTopLeave,a=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,m=u.current,h=t>0,f=d-p-c,g=!1;f>t&&a.current&&(o&&o(e),a.current=!1),h&&l.current&&(s&&s(e),l.current=!1),h&&t>f?(r&&!a.current&&r(e),m.scrollTop=d,g=!0,a.current=!0):!h&&-t>c&&(i&&!l.current&&i(e),m.scrollTop=0,g=!0,l.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[r,o,i,s]),p=t.useCallback(function(e){d(e,e.deltaY)},[d]),m=t.useCallback(function(e){c.current=e.changedTouches[0].clientY},[]),h=t.useCallback(function(e){var t=c.current-e.changedTouches[0].clientY;d(e,t)},[d]),f=t.useCallback(function(e){if(e){var t=!!Im&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",m,t),e.addEventListener("touchmove",h,t)}},[h,m,p]),g=t.useCallback(function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",m,!1),e.removeEventListener("touchmove",h,!1))},[h,m,p]);return t.useEffect(function(){if(n){var e=u.current;return f(e),function(){g(e)}}},[n,f,g]),function(e){u.current=e}}({isEnabled:void 0===o||o,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),s=function(e){var n=e.isEnabled,r=e.accountForScrollbars,o=void 0===r||r,i=t.useRef({}),s=t.useRef(null),a=t.useCallback(function(e){if(Eh){var t=document.body,n=t&&t.style;if(o&&Ah.forEach(function(e){var t=n&&n[e];i.current[e]=t}),o&&Bh<1){var r=parseInt(i.current.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,a=window.innerWidth-s+r||0;Object.keys(jh).forEach(function(e){var t=jh[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(a,"px"))}t&&Sh()&&(t.addEventListener("touchmove",kh,Th),e&&(e.addEventListener("touchstart",Ph,Th),e.addEventListener("touchmove",Gh,Th))),Bh+=1}},[o]),l=t.useCallback(function(e){if(Eh){var t=document.body,n=t&&t.style;Bh=Math.max(Bh-1,0),o&&Bh<1&&Ah.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&Sh()&&(t.removeEventListener("touchmove",kh,Th),e&&(e.removeEventListener("touchstart",Ph,Th),e.removeEventListener("touchmove",Gh,Th)))}},[o]);return t.useEffect(function(){if(n){var e=s.current;return a(e),function(){l(e)}}},[n,a,l]),function(e){s.current=e}}({isEnabled:r});return Bp(t.Fragment,null,r&&Bp("div",{onClick:Vh,css:Rh}),n(function(e){i(e),s(e)}))}var Lh="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)."}},Xh=function(e){var t=e.name,n=e.onFocus;return Bp("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Lh,value:"",onChange:function(){}})};function Wh(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 Oh(){return Wh(/^Mac/i)}function Fh(){return Wh(/^iPhone/i)||Wh(/^iPad/i)||Oh()&&navigator.maxTouchPoints>1}var Dh={clearIndicator:Hm,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.theme,i=o.colors,s=o.borderRadius;return Pu({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:r?i.primary:i.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:r?i.primary:i.neutral30}})},dropdownIndicator:zm,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,o=n.spacing;return Pu({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return Pu({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,i=o.spacing,s=o.colors;return Pu(Pu({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},qm),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:s.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,i=o.colors,s=o.spacing.baseUnit;return Pu({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*s})},loadingMessage:Vm,menu:function(e,t){var n,r=e.placement,o=e.theme,i=o.borderRadius,s=o.spacing,a=o.colors;return Pu((ku(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),ku(n,"position","absolute"),ku(n,"width","100%"),ku(n,"zIndex",1),n),t?{}:{backgroundColor:a.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return Pu({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors;return Pu({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,i=e.cropWithEllipsis;return Pu({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors,s=e.isFocused;return Pu({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:s?i.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:Tm,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.theme,s=i.spacing,a=i.colors;return Pu({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?a.primary:r?a.primary25:"transparent",color:n?a.neutral20:o?a.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?a.primary:a.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return Pu({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,i=r.colors;return Pu({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,i=e.selectProps.controlShouldRenderValue;return Pu({alignItems:"center",display:r&&o&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Zh={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}},zh={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:bm(),captureMenuScroll:!bm(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Ch(),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 Hh(e,t,n,r){return{type:"option",data:t,isDisabled:qh(e,t,n),isSelected:ef(e,t,n),label:_h(e,t),value:Kh(e,t),index:r}}function Yh(e,t){return e.options.map(function(n,r){if("options"in n){var o=n.options.map(function(n,r){return Hh(e,n,t,r)}).filter(function(t){return $h(e,t)});return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=Hh(e,n,t,r);return $h(e,i)?i:void 0}).filter(Cm)}function Jh(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Ou(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function Uh(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Ou(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 $h(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,s=t.label,a=t.value;return(!nf(e)||!i)&&tf(e,{label:s,value:a,data:o},r)}var Qh=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},_h=function(e,t){return e.getOptionLabel(t)},Kh=function(e,t){return e.getOptionValue(t)};function qh(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function ef(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Kh(e,t);return n.some(function(t){return Kh(e,t)===r})}function tf(e,t,n){return!e.filterOption||e.filterOption(t,n)}var nf=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},rf=1,of=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&&Mu(e,t)}(n,t.Component);var e=function(e){var t=Xu();return function(){var n,r=Lu(e);if(t){var o=Lu(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Wu(this,n)}}(n);function n(t){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(r=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},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,o=n.onChange,i=n.name;t.name=i,r.ariaOnChange(e,t),o(e,t)},r.setValue=function(e,t,n){var o=r.props,i=o.closeMenuOnSelect,s=o.isMulti,a=o.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:a}),i&&(r.setState({inputIsHiddenAfterUpdate:!s}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,o=t.isMulti,i=t.name,s=r.state.selectValue,a=o&&r.isOptionSelected(e,s),l=r.isOptionDisabled(e,s);if(a){var c=r.getOptionValue(e);r.setValue(s.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:i});o?r.setValue([].concat(Ou(s),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,o=r.getOptionValue(e),i=n.filter(function(e){return r.getOptionValue(e)!==o}),s=wm(t,i,i[0]||null);r.onChange(s,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(wm(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],o=t.slice(0,t.length-1),i=wm(e,o,o[0]||null);n&&r.onChange(i,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return Qh(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return Uh(Yh(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return lm.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return _h(r.props,e)},r.getOptionValue=function(e){return Kh(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,o=Dh[e](t,n);o.boxSizing="border-box";var i=r.props.styles[e];return i?i(o,t):o},r.getClassNames=function(e,t){var n,o;return null===(n=(o=r.props.classNames)[e])||void 0===n?void 0:n.call(o,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,Pu(Pu({},oh),e.components);var e},r.buildCategorizedOptions=function(){return Yh(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Jh(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:Pu({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,o=t.menuIsOpen;r.focusInput(),o?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&pm(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var o=Math.abs(n.clientX-r.initialTouchX),i=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=o>5||i>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return nf(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,o=t.backspaceRemovesValue,i=t.escapeClearsValue,s=t.inputValue,a=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,m=r.state,h=m.focusedOption,f=m.focusedValue,g=m.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||s)return;r.focusValue("previous");break;case"ArrowRight":if(!n||s)return;r.focusValue("next");break;case"Delete":case"Backspace":if(s)return;if(f)r.removeValue(f);else{if(!o)return;n?r.popValue():a&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!h||p&&r.isOptionSelected(h,g))return;r.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:s}),r.onMenuClose()):a&&i&&r.clearValue();break;case" ":if(s)return;if(!c){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++rf),r.state.selectValue=cm(t.value),t.menuIsOpen&&r.state.selectValue.length){var o=r.getFocusableOptionsWithIds(),i=r.buildFocusableOptions(),s=i.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=o,r.state.focusedOption=i[s],r.state.focusedOptionId=Qh(o,i[s])}return r}return function(e,t,n){t&&Ru(e.prototype,t),n&&Ru(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&&gm(this.menuListRef,this.focusedOptionRef),(Oh()||Fh())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(gm(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,i=this.buildFocusableOptions(),s="first"===e?0:i.length-1;if(!this.props.isMulti){var a=i.indexOf(r[0]);a>-1&&(s=a)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[s],focusedOptionId:this.getFocusedOptionId(i[s])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,s=-1;if(n.length){switch(e){case"previous":s=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(s=o+1)}this.setState({inputIsHidden:-1!==s,focusedValue:n[s]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Zh):Pu(Pu({},Zh),this.props.theme):Zh}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,i=this.selectOption,s=this.setValue,a=this.props,l=a.isMulti,c=a.isRtl,u=a.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:i,selectProps:a,setValue:s,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 qh(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return ef(this.props,e,t)}},{key:"filterOption",value:function(e,t){return tf(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,o=e.inputValue,i=e.tabIndex,s=e.form,a=e.menuIsOpen,l=e.required,c=this.getComponents().Input,u=this.state,p=u.inputIsHidden,m=u.ariaSelection,h=this.commonProps,f=r||this.getElementId("input"),g=Pu(Pu(Pu({"aria-autocomplete":"list","aria-expanded":a,"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":l,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},a&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==m?void 0:m.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?d.createElement(c,yl({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:f,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:s,type:"text",value:o},g)):d.createElement(Nh,yl({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:sm,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,r=t.MultiValueContainer,o=t.MultiValueLabel,i=t.MultiValueRemove,s=t.SingleValue,a=t.Placeholder,l=this.commonProps,c=this.props,u=c.controlShouldRenderValue,p=c.isDisabled,m=c.isMulti,h=c.inputValue,f=c.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,x=g.isFocused;if(!this.hasValue()||!u)return h?null:d.createElement(a,yl({},l,{key:"placeholder",isDisabled:p,isFocused:x,innerProps:{id:this.getElementId("placeholder")}}),f);if(m)return b.map(function(t,s){var a=t===v,c="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return d.createElement(n,yl({},l,{components:{Container:r,Label:o,Remove:i},isFocused:a,isDisabled:p,key:c,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(h)return null;var y=b[0];return d.createElement(s,yl({},l,{data:y,isDisabled:p}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return d.createElement(e,yl({},t,{innerProps:s,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!e||!o)return null;return d.createElement(e,yl({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused;return d.createElement(n,yl({},r,{isDisabled:o,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return d.createElement(e,yl({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,i=t.MenuList,s=t.MenuPortal,a=t.LoadingMessage,l=t.NoOptionsMessage,c=t.Option,u=this.commonProps,p=this.state.focusedOption,m=this.props,h=m.captureMenuScroll,f=m.inputValue,g=m.isLoading,b=m.loadingMessage,v=m.minMenuHeight,x=m.maxMenuHeight,y=m.menuIsOpen,I=m.menuPlacement,C=m.menuPosition,w=m.menuPortalTarget,N=m.menuShouldBlockScroll,A=m.menuShouldScrollIntoView,j=m.noOptionsMessage,k=m.onMenuScrollToTop,G=m.onMenuScrollToBottom;if(!y)return null;var P,S=function(t,n){var r=t.type,o=t.data,i=t.isDisabled,s=t.isSelected,a=t.label,l=t.value,m=p===o,h=i?void 0:function(){return e.onOptionHover(o)},f=i?void 0:function(){return e.selectOption(o)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:f,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return d.createElement(c,yl({},u,{innerProps:b,data:o,isDisabled:i,isSelected:s,key:g,label:a,type:r,value:l,isFocused:m,innerRef:m?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())P=this.getCategorizedOptions().map(function(t){if("group"===t.type){var o=t.data,i=t.options,s=t.index,a="".concat(e.getElementId("group"),"-").concat(s),l="".concat(a,"-heading");return d.createElement(n,yl({},u,{key:a,data:o,options:i,Heading:r,headingProps:{id:l,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return S(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return S(t,"".concat(t.index))});else if(g){var E=b({inputValue:f});if(null===E)return null;P=d.createElement(a,u,E)}else{var B=j({inputValue:f});if(null===B)return null;P=d.createElement(l,u,B)}var T={minMenuHeight:v,maxMenuHeight:x,menuPlacement:I,menuPosition:C,menuShouldScrollIntoView:A},V=d.createElement(Sm,yl({},u,T),function(t){var n=t.ref,r=t.placerProps,s=r.placement,a=r.maxHeight;return d.createElement(o,yl({},u,T,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),d.createElement(Mh,{captureEnabled:h,onTopArrive:k,onBottomArrive:G,lockEnabled:N},function(t){return d.createElement(i,yl({},u,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":u.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:a,focusedOption:p}),P)}))});return w||"fixed"===C?d.createElement(s,yl({},u,{appendTo:w,controlElement:this.controlRef,menuPlacement:I,menuPosition:C}),V):V}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,i=t.name,s=t.required,a=this.state.selectValue;if(s&&!this.hasValue()&&!r)return d.createElement(Xh,{name:i,onFocus:this.onValueInputFocus});if(i&&!r){if(o){if(n){var l=a.map(function(t){return e.getOptionValue(t)}).join(n);return d.createElement("input",{name:i,type:"hidden",value:l})}var c=a.length>0?a.map(function(t,n){return d.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})}):d.createElement("input",{name:i,type:"hidden",value:""});return d.createElement("div",null,c)}var u=a[0]?this.getOptionValue(a[0]):"";return d.createElement("input",{name:i,type:"hidden",value:u})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.isFocused,s=t.selectValue,a=this.getFocusableOptions();return d.createElement(dh,yl({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:i,selectValue:s,focusableOptions:a,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,i=this.props,s=i.className,a=i.id,l=i.isDisabled,c=i.menuIsOpen,u=this.state.isFocused,p=this.commonProps=this.getCommonProps();return d.createElement(r,yl({},p,{className:s,innerProps:{id:a,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:u}),this.renderLiveRegion(),d.createElement(t,yl({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:u,menuIsOpen:c}),d.createElement(o,yl({},p,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),d.createElement(n,yl({},p,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,s=t.isFocused,a=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,m=e.isMulti,h=cm(u),f={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Jh(Yh(e,t))}(e,h):[],b=d?Uh(Yh(e,h),"".concat(l,"-option")):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,x=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);f={selectValue:h,focusedOption:x,focusedOptionId:Qh(b,x),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var y=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},I=i,C=s&&a;return s&&!C&&(I={value:wm(m,h,h[0]||null),options:h,action:"initial-input-focus"},C=!a),"initial-input-focus"===(null==i?void 0:i.action)&&(I=null),Pu(Pu(Pu({},f),y),{},{prevProps:e,ariaSelection:I,prevWasFocused:C})}}]),n}();of.defaultProps=zh;var sf=t.forwardRef(function(e,n){var r=function(e){var n=e.defaultInputValue,r=void 0===n?"":n,o=e.defaultMenuIsOpen,i=void 0!==o&&o,s=e.defaultValue,a=void 0===s?null:s,l=e.inputValue,c=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,m=e.onMenuOpen,h=e.value,f=Tu(e,Vu),g=Bu(t.useState(void 0!==l?l:r),2),b=g[0],v=g[1],x=Bu(t.useState(void 0!==c?c:i),2),y=x[0],I=x[1],C=Bu(t.useState(void 0!==h?h:a),2),w=C[0],N=C[1],A=t.useCallback(function(e,t){"function"==typeof u&&u(e,t),N(e)},[u]),j=t.useCallback(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),v(void 0!==n?n:e)},[d]),k=t.useCallback(function(){"function"==typeof m&&m(),I(!0)},[m]),G=t.useCallback(function(){"function"==typeof p&&p(),I(!1)},[p]),P=void 0!==l?l:b,S=void 0!==c?c:y,E=void 0!==h?h:w;return Pu(Pu({},f),{},{inputValue:P,menuIsOpen:S,onChange:A,onInputChange:j,onMenuClose:G,onMenuOpen:k,value:E})}(e);return d.createElement(of,yl({ref:n},r))}),af=sf;const lf=t.memo(({options:n,className:r,controlClassName:o,value:i,isCustomStyle:s=!1,placeholder:a,required:l,onChange:c,filterOptions:u,hasError:d,error:p,menuClassName:m,helperText:h,label:f,labelClassName:g,size:b="md",variant:v="default","data-cy":x,"data-testid":y,...I})=>{const C=t.useMemo(()=>Ch(u),[u]),w=t.useMemo(()=>({control:({isFocused:e})=>Ae("sm"===b?"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},o),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>s?e.value?"hidden":"block":"block text-icon-default "+(d?"text-icon-critical":""),singleValue:()=>Ae(s?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Ae("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",m),option:({isFocused:e,isSelected:t,label:r})=>{var o;return Ae("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",s?"text-body1 text-text":"",s&&(null===(o=n[n.length-1])||void 0===o?void 0:o.label)!==r?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[s,o,m,n,d,b]);return"unstyled"===v?e.jsx(af,{options:n,value:i,placeholder:l?`${a}*`:a,onChange:c,filterOption:C,className:Ae("rounded-xl",r),classNames:w,"data-cy":x,"data-testid":y,...I}):e.jsxs("div",{className:"w-full",children:[f&&e.jsx("label",{className:Ae("mb-1 block text-sm font-medium text-text-secondary",g),children:f}),e.jsx(af,{options:n,value:i,placeholder:l?`${a}*`:a,onChange:c,filterOption:C,className:Ae("rounded-xl",r),classNames:w,"data-cy":x,"data-testid":y,...I}),p&&e.jsx(Te,{className:"footnote mt-1 text-text-critical",children:p}),!p&&h&&e.jsx(Te,{className:"footnote mt-1 text-text-info",children:h})]})});lf.displayName="Select";const cf={yellow:{bg:"bg-fill-brand-accent",text:"text"},white:{bg:"bg-white",text:"text"},navy:{bg:"bg-bg-fill-inverse",text:"text-inverse"},green:{bg:"bg-border-success",text:"text-inverse"}};exports.Accordion=({items:n,title:r,anchorId:o,background:i="white",enableHeading:s=!1,maxWidth:a=!0,initialExpandedItems:l=[],hashAutoExpand:c=!1,descriptionMaxWidth:u="max-w-[980px]",itemContainerClassName:d})=>{const[p,m]=t.useState(l);t.useEffect(()=>{if(c&&"undefined"!=typeof window){const e=window.location.hash;if(e){const t=e.substring(e.indexOf("#")+1);m(e=>e.includes(t)?e:[...e,t])}}},[c]);return e.jsx("section",{id:o,className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]",cream500:"bg-[#FFFEEF]"}[i]} flex flex-col px-2 pb-20 pt-4 md:px-10`,children:e.jsxs("div",{className:""+(a?"max-w-120 xl:mx-auto":""),children:[e.jsx(Te,{as:s?"h1":"h2",className:"heading2 mb-10 pt-12 text-left text-text md:heading1 lg:text-center",children:r}),e.jsx("div",{className:`pt-6 md:pt-10 ${null!=d?d:""}`,children:null==n?void 0:n.map((t,r)=>{const o=t.anchorId||`item-${r}`,i=t.anchorId?p.includes(t.anchorId):void 0;return e.jsxs("div",{id:t.anchorId,className:"snap-start scroll-mt-48 lg:scroll-mt-60",children:[e.jsx(Fe,{title:t.title,defaultOpen:i,containerClassName:"border-none",buttonClassName:"p-0 label1",titleClassName:"label3 md:label1 text-text",className:"p-0 pt-6 text-text",iconClassName:"text-icon",borderRadiusNone:!0,openOnlyOnDesktop:!1,...t.anchorId&&{onClick:()=>{return e=t.anchorId,void m(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);var e}},children:e.jsx("div",{className:u,children:e.jsx(Te,{as:"div",children:t.description})})}),r<n.length-1&&e.jsx(De,{className:"my-6 md:my-10"},`divider-${r}`)]},o)})})]})})},exports.AddressInputBanner=t=>{const{title:n,variant:r="yellow",cta:o,navHeight:i,isVisible:s,renderCheckPlans:a}=t,l=cf[null==r?void 0:r.toLowerCase()]||cf.yellow;if(!s)return null;const c=(null==o?void 0:o.buttonLabel)||"Check plans",u=null==a?void 0:a({ctaText:c,buttonVariant:null==o?void 0:o.buttonVariant,showButtonAs:"solid",cta:o});return e.jsxs("div",{style:{top:`${i}px`},className:Ae(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 lg:fixed bg-${l.bg} text-${l.text}`,"flex flex-col items-center justify-center gap-3 p-[10px] lg:flex-row lg:gap-8 lg:px-6 lg:py-[10px]"),children:[e.jsx(Te,{className:"label3 w-full text-center text-text lg:w-auto lg:text-left",children:n}),u]})},exports.AnchoredBottomBanner=({ctaSuffixText:t,backgroundColor:n,iconName:r,boxShadow:o,ctaButtonLabel:i,ctaButtonLink:a,ctaButtonTarget:l,anchorId:c="anchored-banner"})=>{const u=n?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent"}[n]:"bg-bg-fill-brand-accent",d="yellow"===n||!n?"text-text-primary":"text-white";return e.jsx("section",{id:c,children:e.jsx("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${u} ${o||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e.jsx(s,{href:a||"#",target:l||"_self",className:"max-w-screen-xl w-full transition-all",children:e.jsx("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:e.jsxs("div",{className:`${d} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[r&&e.jsx(Be,{name:r,size:24,fill:1,className:`${d} align-text-bottom`}),i&&i," ",t&&e.jsx("span",{className:"ml-0.5",children:t})]})})})})})},exports.BlogCard=Ze,exports.BlogGrid=function({paginatedArticles:t,totalArticles:n,currentPage:r,totalPages:o,selectedCategory:i,categoryOptions:s}){const a=c.useRouter(),l=c.usePathname(),u=c.useSearchParams();function d(e,t){const n=new URLSearchParams(u.toString());t?n.set(e,t):n.delete(e),"category"===e&&n.delete("page"),a.push(`${l}?${n.toString()}`,{scroll:!1})}return e.jsxs("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[e.jsxs("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e.jsx(Te,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:"recent articles"}),e.jsxs("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[e.jsxs(Te,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e.jsx(Te,{as:"span",className:"hidden md:block",children:"showing"}),e.jsxs("strong",{className:"block text-nowrap font-bold text-text-info",children:[e.jsxs(Te,{as:"span",className:"md:hidden",children:["showing"," "]}),t.length," of ",n," articles"]})]}),e.jsx(lf,{options:s,value:i,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;d("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),t.length>0?e.jsx("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:t.map((t,n)=>{var r,o,i,s,a;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.url,alt:(null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.width)||600,height:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.height)||338}:void 0;return e.jsx(Ze,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e.jsx(Te,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),o>1&&e.jsx(Nu,{currentPage:r,totalPages:o,onPageChange:function(e){d("page",1===e?"":e.toString()),window.scrollTo({top:0,behavior:"smooth"})},ariaLabel:"Blog article pagination"})]})},exports.BreadcrumbNavigation=t=>{const{links:n=[],textColor:r="dark",maxWidth:o=!0}=t,i="dark"===r?"text-white xl:text-text":"text-text xl:text-white";return n.length?e.jsx("nav",{"aria-label":"Breadcrumb",className:(o?"mx-5 max-w-120 xl:mx-auto":"mx-auto")+" relative",children:e.jsx("ol",{className:"relative right-0 z-10 mt-4 flex w-full flex-nowrap items-center gap-2 xl:absolute xl:flex-wrap",children:n.map((t,r)=>r===n.length-1?e.jsx("li",{className:"flex min-w-0 items-center",children:e.jsx(Te,{as:"span",className:`body3 mr-2 break-words ${i}`,children:t.buttonLabel})},r):e.jsxs("li",{className:"flex flex-none items-center",children:[e.jsx(Ye,{...t,linkClassName:`label3 mr-2 whitespace-nowrap ${i}`,linkVariant:"unstyled"}),e.jsx(Be,{name:"chevron_right",className:`${i} `})]},r))})}):null},exports.Button=Ye,exports.Callout=({title:t,items:n,enableHeading:r=!1,subtitle:o,color:i="dark",maxWidth:s=!0,maxCardsPerRow:a,cardType:l="simple"})=>{const c={1:" lg:w-full",2:" lg:w-[calc(50%-0.75rem)]",3:" lg:w-[calc(33.3333%-1rem)]",4:" lg:w-[calc(25%-1.125rem)]"}[a||4]||" lg:w-[calc(25%-1.125rem)]",u=1===n.length?" md:w-full":" md:w-[calc(50%-1rem)]";return e.jsx("div",{className:"component-container",children:e.jsx("div",{className:`mx-5 mb-5 mt-12 ${s?"max-w-120 xl:mx-auto":""} ${"dark"==i?"text-text":"text-white"}`,children:e.jsxs("div",{className:"callout-container flex flex-col gap-10 md:gap-16",children:[e.jsxs("div",{className:"title-holder",children:[t&&e.jsx(Te,{as:r?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:t}),o&&e.jsx(Te,{as:r?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:o})]}),e.jsx("div",{className:"card-holder flex flex-wrap items-stretch justify-center gap-6 self-stretch md:gap-6",children:n.map((t,n)=>((t,n)=>{if("blog"===l){const n=t;return e.jsx(Ze,{title:n.title,href:n.slug,description:n.shortDescription,date:n.blogCreationDate,category:n.category,image:n.cover,asGrid:!1,lgWidth:c,mdWidth:u})}return e.jsx(Qe,{card:t,lgWidth:c,mdWidth:u},n)})(t,n))})]})})})},exports.Cards=({fields:t})=>e.jsx("div",{children:e.jsx(Te,{children:"Cards"})}),exports.Carousel=({fields:t,hasTestimonialCards:n,hasProductCards:r,disclaimerText:o,backgroundColor:i,activeTab:s,setActiveTab:a,tabs:l,onModalButtonClick:c,renderCheckPlans:u,testimonialAutoScroll:d=!0,showSwitch:p=!1})=>{const m=r?"px-3 py-9 md:py-20":n?"px-3 py-12 md:pt-20 md:pb-16":"";return e.jsxs("div",{className:`${i} ${m} mx-auto overflow-hidden`,children:[e.jsxs("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-8 overflow-visible md:gap-12",children:[e.jsxs("div",{children:[e.jsx(Te,{as:"h2",className:"heading2 text-text md:heading1 md:text-center",children:null==t?void 0:t.title}),(null==t?void 0:t.subTitle)&&e.jsx(Te,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==t?void 0:t.subTitle})]}),p&&r&&e.jsxs("div",{className:"flex flex-col gap-8",children:[p&&r&&l.length>1&&e.jsx(ot,{tabs:l,activeTab:s,onChange:a}),r&&e.jsx(tt,{onModalButtonClick:c,renderCheckPlans:u,fields:t})]}),n&&e.jsx(rt,{fields:t,autoScroll:d,autoScrollInterval:8e3})]}),o&&e.jsx(Te,{as:"div",className:"footnote mt-8 px-4 text-center text-text-secondary",children:o})]})},exports.ComparisonTable=({title:t,disclaimer:n,table:r,maxWidth:o=!0})=>e.jsx("div",{className:"component-container",children:e.jsxs("div",{className:"mx-5 mb-5 mt-8 lg:mt-10 "+(o?"max-w-120 xl:mx-auto":""),children:[e.jsx(Te,{as:"h2",className:"heading2 lg:heading1 lg:text-center",children:t}),e.jsx("div",{className:"comparison-table-container mt-20 xl:mt-10",children:r}),e.jsx(Te,{as:"div",className:"micro mt-8 text-center",children:n})]})}),exports.CookieBanner=function({content:o}){let i=3;const[s,a]=t.useState(!1),[l,c]=t.useState(!1),u=t.useRef(null);t.useEffect(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=r.get(e);return t?n.Base64.decode(t):null}("cookieBannerClosed");a("true"!==e)},[]),t.useEffect(()=>{(()=>{const e=document.getElementById("anchored-banner");c(!!e)})()},[]),t.useEffect(()=>{var e,t,n,r;return s?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(r=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===r||r.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[s]),t.useEffect(()=>{if(!s)return;const e=()=>{if(u.current){const e=u.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let r;const o=()=>{clearTimeout(r),r=setTimeout(e,150)};return window.addEventListener("resize",o),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(r),window.removeEventListener("resize",o),document.documentElement.style.removeProperty("--cookie-banner-height")}},[s,l]),l&&(i=14);const d=4*i;return s?e.jsxs("div",{id:"cookie-banner",ref:u,className:"fixed z-[1000] max-w-[350px] rounded-xl bg-white py-5 pl-6 pr-12 text-black shadow-lg ring-1 ring-gray-900/10 md:max-w-[656px]",style:{bottom:"0px",right:"20px",marginBottom:`${d}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e.jsx(Ye,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);a(!1),((e,t,o)=>{if("undefined"==typeof window)return;const i=JSON.stringify(t),s=n.Base64.encode(i);r.set(e,s,o)})("cookieBannerClosed",!0,{expires:e})},children:e.jsx(Be,{name:"close"})}),o.richText?e.jsx("div",{className:"mx-auto my-4 [&>a]:footnote",children:o.richText}):null]}):null},exports.CtaCallout=({title:t,background:n="white",button:r,color:o,contentAlignment:i,description:s,descriptionAlignment:a,enableHeading:l,subTitle:c,maxWidth:u=!0,onModalButtonClick:d,renderCheckPlans:p})=>e.jsx("div",{className:`${{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-bg"}[n]} component-container px-5 py-16 lg:px-13 lg:py-24`,children:e.jsxs("div",{className:`${u?"mx-auto max-w-120":""} color-${o} flex flex-col ${"dark"==o?"text-text":"text-text-inverse"}`,children:[t&&e.jsx(Te,{as:l?"h1":"h2",className:`heading2 lg:heading1 text-${i}`,children:t}),c&&e.jsx(Te,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${i}`,children:c}),s&&e.jsx("div",{className:`pt-2 text-body1 lg:pt-3 text-${a}`,children:s}),e.jsx("div",{className:"flex justify-center pt-5 lg:pt-14",children:e.jsx(Ye,{...r,renderCheckPlans:p,onModalButtonClick:d,size:{base:"large"}})})]})}),exports.DynamicTabs=function(n){var r,o,i;const[s,a]=t.useState(0),[l,c]=t.useState(""),{title:u,subTitle:d,tabs:p,tabsContent:m,navigationType:h=!0,mobileSidebarTabType:f=!0}=n;t.useEffect(()=>{if("undefined"!=typeof window){c(window.location.hash);const e=()=>{c(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}},[]),t.useEffect(()=>{var e;null===(e=null==p?void 0:p.items)||void 0===e||e.some((e,t)=>{if(`#${(null==e?void 0:e.anchorId)||"tab-"+t}`===l)return a(t),!0})},[p,l]);const g=(e,t)=>{a(e),"undefined"!=typeof window&&l&&(window.location.hash=t||"")},b=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e.jsx("div",{className:"flex w-max gap-10",children:null===(r=null==p?void 0:p.items)||void 0===r?void 0:r.map((t,n)=>e.jsx(Ye,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Ae("py-2 whitespace-nowrap",n===s?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},n))})}),null==m?void 0:m.map((t,n)=>e.jsx("div",{children:e.jsx(xl,{children:e.jsx(pl.div,{initial:{height:0,opacity:0},animate:{height:n===s?"auto":0,opacity:n===s?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))]}),v=e.jsx(e.Fragment,{children:null===(o=null==p?void 0:p.items)||void 0===o?void 0:o.map((t,n)=>e.jsxs("div",{className:"py-5",children:[e.jsxs(Ye,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Ae("w-full flex justify-between items-center px-4 py-5",n===s?"bg-bg-surface-active":""),children:[e.jsx("span",{className:"heading6",children:t.tabName}),e.jsx(Be,{name:n===s?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e.jsx(Oe,{open:n===s,children:e.jsx("div",{className:Ae("px-4 py-4"),children:null==m?void 0:m[n]})})]},n))}),x=e.jsxs("div",{className:"flex px-5 py-20",children:[e.jsx("div",{className:"rounded-surface-lg border border-border-secondary shadow-lg",children:e.jsx("div",{className:"flex min-w-80 flex-col gap-4 px-6 py-7",children:null===(i=null==p?void 0:p.items)||void 0===i?void 0:i.map((t,n)=>e.jsx(Ye,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Ae("px-4 py-3 whitespace-nowrap text-left rounded-button-sm",n===s?"label1 text-white bg-bg-inverse":"body1"),children:t.tabName},n))})}),e.jsx("div",{className:"grow",children:null==m?void 0:m.map((t,n)=>e.jsx("div",{children:e.jsx(xl,{children:e.jsx(pl.div,{initial:{height:0,opacity:0},animate:{height:n===s?"auto":0,opacity:n===s?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))})]});return e.jsxs("div",{children:[u||d?e.jsxs("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[u?e.jsx(Te,{className:"heading2 px-5 md:heading1 md:text-center",children:u}):null,d?e.jsx(Te,{className:"subheading3 px-5 md:subheading1 md:text-center",children:d}):null]}):null,e.jsx("div",{className:"md:hidden",children:f?b:v}),e.jsx("div",{className:"hidden md:block",children:h?b:x})]})},exports.EmailInputBlock=n=>{const{anchorId:r="email-input",title:o,subTitle:i,emailInputDescription:s,inputPlaceholder:a="Enter your email here",ctaText:l="Sign me up",caption:c,backgroundColor:u="green",successFeedback:d,onSubmit:p}=n||{},m={navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",yellow:"bg-bg-fill-brand-accent",white:"bg-white"},h=m[u]||m.green,f=["green","blue","navy"].includes(u)?"text-white":"text-text",[g,b]=t.useState(""),[v,x]=t.useState(!1),[y,I]=t.useState("");return e.jsxs("section",{id:r,className:"w-full px-4 py-8 md:px-0",children:[e.jsx("div",{className:`mx-auto max-w-[1200px] overflow-hidden rounded-[32px] md:rounded-[20px] ${h} flex flex-col items-start p-8 md:p-16`,children:e.jsxs("div",{className:"lg:w-[548px]",children:[o&&e.jsx("h1",{className:`text-heading1 font-black ${f}`,children:o}),i&&e.jsx("h2",{className:`text-heading1 font-black ${f}`,children:i}),s&&e.jsx("p",{className:`mb-10 text-subheading1 opacity-95 ${f}`,children:s}),e.jsxs("div",{className:"max-w-2xl flex w-full items-center overflow-hidden rounded-3xl border border-transparent bg-white p-1.5 shadow-xl transition-all md:p-2",children:[e.jsx("input",{type:"email",placeholder:a,value:g,onChange:e=>{b(e.target.value),y&&I(""),v&&x(!1)},className:"w-full flex-grow bg-transparent px-6 py-3 text-lg font-medium text-text outline-none placeholder:text-input-icon-placeholder md:py-4"}),e.jsx(Ye,{buttonLabel:l,buttonVariant:"primary_inverse",onClick:()=>{(e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))(g)?(p({email:g}),b(""),x(!0),I("")):I("Please enter a valid email address.")}})]}),y&&e.jsx("p",{className:"mt-2 text-label4 font-semibold text-text-critical",children:y}),d&&v&&!y&&e.jsx("p",{className:`mt-2 text-label4 font-semibold ${f}`,children:d})]})}),c&&e.jsx("p",{className:"mx-auto mt-2 max-w-[1200px] px-6 md:px-8",children:c})]})},exports.FindKinetic=({background:t="white",description:n,enableHeading:r,image:o,list:i=[],subTitle:s,title:a,color:l="dark",maxWidth:c=!0})=>e.jsx("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[t]} component-container overflow-hidden ${"dark"==l?"text-text":"text-white"}`,children:e.jsxs("div",{className:(c?"max-w-120 xl:mx-auto":"")+" mx-5 mb-5 mt-12 xl:my-20",children:[a&&e.jsx(Te,{as:r?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:a}),s&&e.jsx(Te,{as:r?"h2":"h3",className:"heading3 mt-4 text-center",children:s}),e.jsxs("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[e.jsxs("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[n&&e.jsx(Te,{as:"p",className:"body1",children:n}),i.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("ul",{className:"grid w-full grid-cols-2 gap-x-6 gap-y-5 md:hidden",children:(()=>{const t=[...i].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),r=[];for(let e=0;e<n;e++)for(let o=0;o<2;o++){const i=o*n+e;i<t.length&&r.push(t[i])}return r.map((t,n)=>e.jsx("li",{children:e.jsx(Re,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e.jsx("ul",{className:"hidden gap-x-6 gap-y-5 md:grid md:grid-cols-3",children:(()=>{const t=[...i].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),r=[];for(let e=0;e<n;e++)for(let o=0;o<3;o++){const i=o*n+e;i<t.length&&r.push(t[i])}return r.map((t,n)=>e.jsx("li",{children:e.jsx(Re,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),o&&e.jsx("aside",{className:"hidden xl:block",children:e.jsx($e,{width:472,height:100,src:o,alt:"image"})})]})]})}),exports.FloatingBanner=({title:t,subtitle:n,description:r,disclaimer:o,icon:i,cta:s,background:a="navy",color:l="light",enableHeading:c,maxWidth:u=!0})=>e.jsx("div",{className:"component-container",children:e.jsxs("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-surface-lg xl:mx-auto "+(u?"max-w-120":""),children:[e.jsxs("div",{className:`flex flex-col rounded-surface px-5 py-7 lg:flex-row lg:gap-5 lg:rounded-surface-lg lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[a]} ${"dark"==l?"text-text":"text-white"} `,children:[i&&e.jsx("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e.jsx("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e.jsx($e,{width:80,height:80,alt:"icon",src:i})})}),e.jsxs("div",{className:"flex w-full flex-col justify-center lg:w-4/5",children:[t&&e.jsx(Te,{as:c?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:t}),n&&e.jsx(Te,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:n}),r&&e.jsx(Te,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:r})]}),s&&e.jsx("div",{className:"mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center",children:e.jsx(Ye,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),o&&e.jsx("div",{children:e.jsx(Te,{as:"div",className:"body3 mt-3 text-center",children:o})})]})}),exports.Footer=({body:n,links:r,bottomLinks:o,copyrights:i,terms:s,maxWidth:a=!0,onClick:l})=>{function c(e){null==l||l(e)}return e.jsx("div",{className:"component-container bg-bg-inverse text-white",children:e.jsxs("div",{className:` ${a?"mx-auto max-w-120":""} px-5 py-8`,children:[e.jsx("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:n}),e.jsx(De,{className:"my-8 border-border-inverse lg:my-16"}),e.jsx("div",{className:"grid-1 grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:null==r?void 0:r.map((n,r)=>{var o,i;return e.jsxs(t.Fragment,{children:[e.jsx("div",{children:e.jsxs("nav",{"aria-labelledby":`footer-${null==n?void 0:n.title}`,className:"site-links-group",children:[e.jsx(Te,{as:"div",className:"label3",children:null==n?void 0:n.title}),e.jsx("ul",{className:"flex flex-col",children:null===(i=null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||void 0===i?void 0:i.map((t,n)=>e.jsx("li",{className:"pt-3",children:e.jsx(Ye,{...t,linkVariant:"unstyled",linkClassName:"text-white body3 hover:underline underline-offset-4",onClick:c})},`site-links-${n}`))})]},`link-group-${r}`)},`footer-link-group-${r}`),e.jsx(De,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${r}`)})}),e.jsxs("div",{className:"py-8",children:[e.jsx(De,{className:"my-8 hidden border-border-inverse md:my-8 md:block"}),e.jsxs("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",s]}),e.jsx("p",{className:"copy-rights whitespace-pre-line",children:i}),e.jsx("nav",{"aria-label":"Footer legal",children:e.jsx("ul",{className:"bottom-links list-none",children:null==o?void 0:o.map((t,n)=>e.jsx("li",{className:"relative float-left pl-[8px] before:absolute before:left-[3px] before:top-1/2 before:-translate-y-1/2 before:text-[14px] before:content-['•'] first-of-type:pl-0 first-of-type:before:content-['']",children:e.jsx(Ye,{...t,linkClassName:"footnote text-white hover:underline underline-offset-4",linkVariant:"unstyled",onClick:c})},`links-${n}`))})})]})]})})},exports.ImagePromoBar=({brow:n,enableHeading:r,title:o,subTitle:i,ctaDisclaimer:s,disclaimer:a,description:l,image:c,imageLinks:u,mediaPosition:d=!0,checklist:p,secondaryCta:m,cta:h,videoLink:f,maxWidth:g=!0,color:b="light",imageWidth:v=660,imageHeight:x=660,onModalButtonClick:y,renderCheckPlans:I})=>{var C,w;const[N,A]=t.useState(""),[j,k]=t.useState(!1),G=null!==(C=null==f?void 0:f.link)&&void 0!==C?C:"",P=null==f?void 0:f.image,S=null!==(w=null==f?void 0:f.videoPopup)&&void 0!==w&&w,E=Boolean(N&&N===G),B=f&&P?G.includes("vimeo")?e.jsx(st,{link:G,autoplay:E}):e.jsx(at,{link:G,autoplay:E}):null;return e.jsxs("div",{className:"component-container",children:[e.jsx("div",{className:`image-promo-bar-content ${g?"max-w-120 lg:mx-auto":""} mx-5 my-16`,children:e.jsxs("div",{className:"flex shrink-0 flex-col items-center gap-8 lg:items-stretch lg:gap-10 xl:gap-[126px] "+(d?"lg:flex-row-reverse":"lg:flex-row"),children:[e.jsxs("div",{className:"flex flex-[1_0_0] flex-col items-start justify-center gap-8 lg:gap-10 "+("dark"==b?"text-text":"text-white"),children:[e.jsxs("div",{className:"heading holder",children:[n&&e.jsx(Te,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),o&&e.jsx(Te,{as:r?"h1":"h2",className:"heading2 xl:heading1",children:o}),i&&e.jsx(Te,{as:r?"h2":"h3",className:"subheading3 mt-3 md:subheading1",children:i})]}),l&&e.jsx(Te,{as:"div",className:"body1",children:l}),p.length>0&&e.jsx(Ve,{items:p,iconPosition:"top",iconSize:24,listItemClassName:"body1 text-text",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3"}),u.length>0&&e.jsx("div",{className:"flex gap-4",children:null==u?void 0:u.map((t,n)=>e.jsx("div",{className:"image-link w-[147px]",children:e.jsx(Re,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e.jsx(_e,{src:t.image,alt:"icon-link"})})},n))}),(h||m)&&e.jsxs("div",{className:"flex w-full flex-col gap-3 xl:flex-row",children:[h&&e.jsx("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e.jsx(Ye,{...h,fullWidth:!0,size:{base:"large"},renderCheckPlans:I,onModalButtonClick:y})}),m&&e.jsx("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e.jsx(Ye,{...m,fullWidth:!0,size:{base:"large"},renderCheckPlans:I,onModalButtonClick:y})})]}),s&&e.jsx("div",{children:s}),a&&e.jsx("div",{children:a})]}),e.jsxs("aside",{className:"flex w-full shrink-0 items-center justify-center lg:w-auto",children:[c&&e.jsx("div",{className:"relative h-[334px] w-[334px] overflow-hidden rounded-image md:h-[486px] md:w-[486px]",children:e.jsx($e,{src:c,alt:"section-image",fill:!0,sizes:"(min-width: 768px) 486px, 334px",className:"object-cover"})}),(null==f?void 0:f.link)&&e.jsxs("div",{className:Ae("video-section relative w-full cursor-pointer overflow-hidden rounded-image transition-all duration-300 lg:w-[486px]",!E&&"hover:shadow-2xl"),onClick:()=>{var e;A(null!==(e=null==f?void 0:f.link)&&void 0!==e?e:"")},onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),children:[e.jsxs("div",{className:Ae(E&&!S&&"hidden",E&&!S?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[f.image&&e.jsx($e,{src:f.image,alt:"Video preview",width:486,height:486,className:"absolute inset-0 h-full w-full rounded-image object-cover"}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx(it,{isHovered:j})})]}),!S&&E&&e.jsx("div",{className:Ae("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",E?"opacity-100":"opacity-0"),children:B})]})]})]})}),S&&E&&e.jsx("div",{className:"fixed inset-0 top-20 z-[100] flex items-center justify-center bg-black/80 p-4 transition-all duration-300",onClick:e=>{e.stopPropagation(),A("")},children:e.jsx("div",{className:"max-w-6xl aspect-video w-full overflow-hidden rounded-3xl bg-black shadow-2xl md:w-4/6",onClick:e=>e.stopPropagation(),children:B})})]})},exports.Modal=t=>{const{isOpen:n,onRequestClose:r,size:o,title:i,content:s,description:a,children:l,bodyClassName:c,type:u="modal",index:d=0}=t;return e.jsx(xu,{open:n,onOpenChange:()=>n&&(null==r?void 0:r()),children:e.jsxs(yu,{children:[e.jsx(pl.div,{initial:"closed",animate:n?"open":"closed",variants:gt,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e.jsx(Iu,{})}),e.jsx("div",{className:"pointer-events-none fixed inset-0 z-[1001] flex items-center justify-center",children:e.jsx(pl.div,{initial:"closed",animate:n?"open":"closed",variants:bt,transition:{type:"tween",duration:.3,ease:"easeInOut"},className:"pointer-events-auto w-[calc(100vw-10px)] focus:outline-none sm:w-[calc(100vw-90px)]",children:e.jsx(Cu,{className:Ae("relative mx-auto w-full rounded-modal bg-bg p-[25px] shadow-drop focus:outline-none",c),style:{maxWidth:vt[o||"lg"]},children:e.jsxs("div",{"data-section-type":u,"data-section-index":d,children:[e.jsx(wu,{asChild:!0,children:e.jsx(Ye,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e.jsx(Be,{name:"close"})})}),e.jsxs("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[i?e.jsx(Te,{className:Ae("mb-3 mt-5 w-full pr-8 text-center sm:pr-0","heading5 md:pt-0","mb-4 md:mb-[60px]"),as:"h2",children:i}):null,a?e.jsx(Te,{as:"div",className:"mb-8 sm:mb-5",children:a}):null,e.jsxs("div",{className:"flex flex-col gap-4 sm:gap-5",children:[s,l||null]})]})]})})})})]})})},exports.Navigation=t=>{const{primaryNavigationLinks:n,utilityNavigationLinks:r,checkPlansJSX:o,primaryNavigationLogo:i,accountNavigationLinks:s,supportNavigationLinks:a,searchBarIcon:l,invocaPhoneNumberLink:c,invocaPhoneNumberDisplayText:u,onSearch:d=()=>{}}=t;return e.jsxs("div",{className:"component-container",children:[e.jsxs("nav",{className:"menu-container z-[1000]",children:[e.jsx("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",children:e.jsxs("div",{className:"mx-auto flex max-w-120 justify-between",children:[e.jsx("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==r?void 0:r.map((t,n)=>e.jsx("li",{children:e.jsx(Ye,{linkClassName:Ae("footnote flex items-center w-full h-11 text-text",1===n&&"label4"),linkVariant:"unstyled",...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t))})},`main-menu-items-${n}`))}),e.jsxs("div",{className:"flex items-center gap-10",children:[e.jsx(dt,{className:"border-none",href:c,children:e.jsx(Te,{className:"body3 text-text",children:u})}),null==s?void 0:s.map((t,n)=>e.jsx(lt,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}),e.jsxs("div",{className:"main-nav-container","aria-label":"Main Navigation",children:[e.jsxs("div",{className:"mobile-nav-section flex h-14 items-center justify-between px-5 py-[10px] lg:hidden",children:[e.jsx("div",{children:e.jsx(Re,{href:"/",className:"flex",children:e.jsx($e,{src:"string"==typeof i?i:(null==i?void 0:i.url)||"",alt:"Kinetic business logo",width:76.5,height:24})})}),e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsx(dt,{href:c,children:e.jsx(Te,{as:"span",className:"footnote",children:u})}),e.jsx(mt,{...t})]})]}),e.jsx("div",{className:"desktop-nav-section hidden lg:block lg:border-b lg:px-2",children:e.jsxs("div",{className:"mx-auto flex h-14 max-w-120 items-center justify-between",children:[e.jsxs("div",{className:"flex h-full",children:[e.jsx(Re,{href:"/",className:"flex",children:e.jsx($e,{src:"string"==typeof i?i:(null==i?void 0:i.url)||"",alt:"Kinetic business logo",width:76.5,height:24,className:"mr-[64px]"})}),e.jsx("div",{className:"flex h-full items-center gap-5",children:null==n?void 0:n.map((t,n)=>e.jsx(lt,{anchorName:`main-menu-${n}`,link:t},`main-menu-${n}`))})]}),e.jsxs("div",{className:"flex h-full items-center gap-10",children:[e.jsx(ft,{searchBarIconURL:"string"==typeof l?l:(null==l?void 0:l.url)||"",onSearch:d}),null==a?void 0:a.map((t,n)=>e.jsx(lt,{anchorName:`support-menu-${n}`,link:t},`support-menu-${n}`))]})]})})]})]}),o&&e.jsx("div",{className:"md:hidden",children:o})]})},exports.PrimaryHero=t=>{var n;const{title:r,showAsHeading:o,subTitle:i,primaryCta1:s,carouselImages:a,bottomLink:l,price:c,priceCallout:u,priceSuffix:d,checklist:p,renderCheckPlans:m,badgeImage:h,pricingDescriptionDisclaimer:f,secondaryCta:g,secondaryCtaPrefix:b,onModalButtonClick:v,hideOnMobileCta1:x}=t,y=null!==(n=null==l?void 0:l.buttonLabel)&&void 0!==n?n:null==l?void 0:l.label;return console.log(s),e.jsx("div",{className:"component-container p-5 lg:h-[724px] lg:p-0",children:e.jsxs("div",{className:Ae("primary-hero-container mx-auto flex flex-col sm:items-center sm:text-center lg:h-full lg:max-w-120 lg:flex-row lg:items-center lg:justify-between lg:gap-4 lg:px-4 lg:text-left"),children:[e.jsx("div",{className:Ae("relative flex flex-col text-white sm:w-[485px]"),children:e.jsxs("div",{className:"flex flex-col gap-5 lg:gap-6",children:[r&&e.jsx(Te,{as:o?"h1":"h2",className:"heading2 lg:heading1",children:r}),i&&e.jsx(Te,{as:"p",className:"subheading3 lg:subheading1",children:i}),c?e.jsxs("div",{className:"flex sm:justify-center sm:text-left lg:justify-start",children:[e.jsx("div",{className:"mr-2 mt-0.5",children:u?u.split("|").map((t,n)=>e.jsx(Te,{as:"p",className:"body2",children:t},n)):null}),e.jsxs("div",{className:"flex",children:[e.jsx(Te,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e.jsx(Te,{as:"p",className:"subheading5",children:c}),d?e.jsx(Te,{as:"p",className:"subheading1 mt-0.5",children:d}):null]})]}):null,p&&e.jsx(Ve,{listItemClassName:"text-white text-left",items:p.map(e=>e.title)}),e.jsxs("div",{className:"flex flex-col gap-3",children:[s&&e.jsx("div",{className:Ae("md:block",x&&"hidden"),children:e.jsx(Ye,{...s,renderCheckPlans:m,onModalButtonClick:v,fullWidth:!0,buttonClassName:"md:w-auto"})}),b||g?e.jsxs("div",{className:"hidden md:flex",children:[b&&e.jsx(Te,{as:"span",className:"body2 mr-1",children:b}),g&&e.jsx(Ye,{linkClassName:"body2 text-text-inverse",onModalButtonClick:v,...g})]}):null,l&&(y||(null==l?void 0:l.href))&&e.jsx("div",{className:"hidden md:block",children:e.jsx(Ye,{...l,linkClassName:"text-footnote text-white",onModalButtonClick:v})}),f?e.jsx(Te,{as:"p",className:"body3 hidden md:block",children:f}):null]})]})}),e.jsxs("div",{className:"lg:hidden",children:[e.jsxs("div",{className:"relative my-8",children:[h?e.jsx($e,{src:h,alt:"Badge",className:"absolute left-5 top-5 aspect-square w-26 object-cover object-center",width:104,height:104,quality:90,loading:"eager"}):null,a&&a[0]?e.jsx($e,{src:a[0],alt:"Hero",className:"aspect-[1.71:1] sm:aspect-[1.41:1] w-full rounded-[40px] object-cover object-center sm:h-[420px]",width:1024,height:600,sizes:"100vw",quality:90,loading:"eager"}):null]}),l&&(y||(null==l?void 0:l.href))&&e.jsx("div",{className:"md:hidden",children:e.jsx(Ye,{...l,onModalButtonClick:v,linkClassName:"body3 text-white"})}),f?e.jsx(Te,{as:"p",className:"body3 md:hidden",children:f}):null,b||g?e.jsxs("div",{className:"flex md:hidden",children:[b&&e.jsx(Te,{as:"span",className:"body2 mr-1",children:b}),g&&e.jsx(Ye,{...g,onModalButtonClick:v,linkClassName:"text-white"})]}):null]}),e.jsxs("div",{className:Ae("relative hidden lg:block"),children:[h?e.jsx($e,{src:h,alt:"Badge",className:"absolute -left-26 top-18 aspect-square w-52 object-cover object-center",width:208,height:208,quality:90,loading:"eager"}):null,a&&a[0]?e.jsx($e,{src:a[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,quality:90,loading:"eager"}):null]})]})})},exports.ProductCard=qe,exports.SearchBlock=n=>{const{anchorId:r="SearchBlock",title:o,subTitle:i,enableHeading:s,searchDescription:a,searchInputPlaceholder:l,basicCaption:c,caption:u,backgroundColor:d,color:p,onSubmit:m}=n,[h,f]=t.useState("");return e.jsx("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[d]} ${"dark"==p?"text-text":"text-white"}`,id:r,"data-testid":"search-block",children:e.jsx("div",{className:"flex justify-center",children:e.jsxs("div",{className:"w-[1200px]",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsx(Te,{as:s?"h1":"h2",className:Ae("heading2 md:heading1"),children:o}),i&&e.jsx(Te,{as:"div",className:Ae("subheading2 mt-2 md:subheading1"),children:i})]}),a?e.jsx(Te,{className:"heading6 text-center",children:a}):null,e.jsx("span",{className:"w-full",children:e.jsxs("form",{onSubmit:e=>{e.preventDefault(),null==m||m({searchText:h})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e.jsx(We,{type:"submit",className:"ml-2 inline-flex",children:e.jsx(Be,{name:"search",className:"text-text"})}),e.jsx("div",{className:"flex-grow",children:e.jsx(pt,{value:h,onChange:e=>f(e.target.value),placeholder:l,containerClassName:"px-4 pl-0 rounded-md flex-grow border-none",className:"body3 rounded-md text-text"})})]})}),u||null,c]})})})},exports.ShapeBackgroundWrapper=({children:t,background:n,className:r,fill:o="yellow",maxFit:i,show:s=!0,path:a="path2"})=>{const l=`${a}`,c={blue:"text-[#07B2E2]",green:"text-[#26B170]",yellow:"text-[#F5FF1E]",purple:"text-[#931D69]",white:"text-white",navy:"text-[#00002D]"},u={blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"},d="string"==typeof n&&n in u,p=d?u[n]:void 0,m=n&&!d?{background:n}:void 0,h=o in c?c[o]:"text-[#F5FF1E]";return s?e.jsxs("div",{className:`shape-bg relative overflow-hidden ${null!=r?r:""} ${i?"max-content":""} ${null!=p?p:m?"":"bg-white"}`,style:m,children:["path1"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${l} fill-current ${h}`,width:"2262",height:"4359",viewBox:"0 0 2262 4359",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1838.72 444.021C2216.45 758.242 2351.22 1060.81 2202.83 1982.25C2062.95 2851.55 1923.57 4265.14 1394.48 4348.94C1079.75 4409.66 766.955 4172.68 508.523 4003.04C340.876 3884.89 192.855 3774.9 26.6866 3661.93C-27.6562 3624.7 8.69435 3542.15 74.1261 3555.69C415.628 3626.61 686.916 3615.36 942.942 3443.48C1410.95 3163.54 1632.32 2141.02 1629.56 1543.75C1637.51 910.76 1276.06 582.318 829.643 352.709C587.562 235.528 333.508 169.963 100.699 149.757C31.9431 143.965 25.0259 47.9703 92.459 33.1281C623.196 -84.6769 1404.59 131.886 1839.84 443.573"})}),"path2"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${l} fill-current ${h}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.09 4009.1 647.09 3634.26 264.38C3417.79 27.9944 3025.37 31.7818 2716.76 13.9013C2511.72 8.81634 2327.31 8.87399 2126.55 0.511773C2060.73 -2.00127 2040.7 85.9475 2101.3 114.087C2417.76 260.743 2628.86 431.51 2731.94 722.142C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.97 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),"path3"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${l} fill-current ${h}`,width:"3044",height:"3248",viewBox:"0 0 3044 3248",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1.21857 1353.6C-0.931975 1765.46 120.504 2015.15 791.765 2417.01C1424.98 2796.19 2407.16 3469.31 2746.34 3175.04C2955.08 3005.86 2971.76 2677.32 3002.33 2420C3016.95 2248.7 3026.23 2094.39 3043.38 1926.83C3048.81 1871.88 2976.24 1850.67 2949.63 1899.96C2810.91 2157.33 2657.35 2325.33 2408.95 2396.88C1976.88 2546.15 1201.39 2136.59 819.655 1812.63C409.231 1476.27 393.475 1067.19 486.97 656.895C542.372 438.358 637.352 239.983 749.974 79.7081C783.347 32.4684 725.487 -23.7534 679.587 11.5067C317.699 288.49 35.1358 906.671 0.328344 1354.07"})}),"path4"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${l} fill-current ${h}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.1 4009.1 647.091 3634.26 264.381C3417.79 27.9951 3025.37 31.7826 2716.76 13.902C2511.72 8.81709 2327.31 8.87474 2126.55 0.512528C2060.73 -2.00052 2040.7 85.9483 2101.3 114.088C2417.76 260.743 2628.86 431.51 2731.94 722.143C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.98 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),e.jsx("div",{className:"shape-bg-content relative z-[1]",children:t})]}):e.jsx("div",{className:r,style:m,children:t})},exports.SimpleCard=Qe,exports.TestimonialCard=et,exports.Text=({fields:t})=>e.jsx("div",{children:e.jsx(Te,{children:"Text Block"})}),exports.label1BoldOptions=Xe,exports.renderContentfulRichText=Le,exports.renderContentfulRichTextTable=function(t,n){if(!t||!Array.isArray(t.content))return null;const r={...Me,renderMark:{...Me.renderMark,[i.MARKS.BOLD]:t=>e.jsx("strong",{className:"label2",children:t})},renderNode:{...Me.renderNode,[i.BLOCKS.PARAGRAPH]:(t,n)=>e.jsx("div",{className:"body2",children:n}),[i.BLOCKS.TABLE]:(t,n)=>{var r,o;return e.jsx("div",{className:"comparison-table-wrapper my-5 w-full overflow-x-auto border-none md:overflow-hidden",children:e.jsx("table",{className:"responsive-table w-full table-fixed border-collapse "+((null===(o=null===(r=t.content[0])||void 0===r?void 0:r.content)||void 0===o?void 0:o.length)>2?"min-w-[100.1%]":"min-w-full"),children:e.jsx("tbody",{children:n})})})},[i.BLOCKS.TABLE_ROW]:(t,n)=>e.jsx("tr",{className:"border-b border-gray-200 last:border-0",children:n}),[i.BLOCKS.TABLE_HEADER_CELL]:(t,n)=>{var r;const o=(null===(r=t.parent)||void 0===r?void 0:r.content.length)>2;return e.jsx("th",{className:`label4 break-words py-4 text-center ${o?"sticky left-0 z-20 w-[50vw] min-w-[50vw] first:z-30 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:n})},[i.BLOCKS.TABLE_CELL]:(t,n)=>{var r,o,i,s;const a=(null===(r=t.parent)||void 0===r?void 0:r.content.length)>2,l=null===(s=null===(i=null===(o=t.content[0])||void 0===o?void 0:o.content[0])||void 0===i?void 0:i.value)||void 0===s?void 0:s.toLowerCase().trim();return e.jsx("td",{className:`rt-table-cell label-4 break-words bg-white py-2 text-center align-top first:text-left ${a?"w-[50vw] min-w-[50vw] first:sticky first:left-0 first:z-10 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:e.jsxs(e.Fragment,{children:[" ","yes"===l?e.jsx(Be,{name:"check_circle",color:"#24A76A",fill:1}):"no"===l?e.jsx(Be,{name:"cancel",color:"#CECECE",fill:1}):n]})})},[i.INLINES.EMBEDDED_ENTRY]:t=>{var r,o,i,s;const a=t.data.target.sys.id,l=null===(o=null===(r=null==n?void 0:n.entries)||void 0===r?void 0:r.inline)||void 0===o?void 0:o.find(e=>e.sys.id===a);if(!l)return null;if("ComponentCheckList"===l.__typename){const t=(null===(s=null===(i=l.list)||void 0===i?void 0:i.items)||void 0===s?void 0:s.map(e=>{var t;return Le(Ge(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"body2")}))||[];return e.jsx(Ve,{items:t,listIconName:"disc",listItemClassName:"items-baseline body2"})}return e.jsx("span",{children:l.title||""})}}};return o.documentToReactComponents(t,r)},exports.toDocument=Ge,exports.useContentfulRichText=function(e,n){return t.useMemo(()=>{if(!e||!Array.isArray(e.content))return null;const t={...Me,renderMark:{...Me.renderMark,...null==n?void 0:n.renderMark},renderNode:{...Me.renderNode,...null==n?void 0:n.renderNode}};return o.documentToReactComponents(e,t)},[e,n])},exports.useProcessedChecklist=function(e,n,r,o){return t.useMemo(()=>{var t,i;const s=null!==(i=null===(t=null==e?void 0:e.list)||void 0===t?void 0:t.items)&&void 0!==i?i:[];return n?s.map(e=>{var t,n;return null!==(n=Le(Ge(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,o,void 0,r))&&void 0!==n?n:""}):s.map(e=>{var t,n,i,s,a;return{title:null!==(n=Le(Ge(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,o,void 0,r))&&void 0!==n?n:"",iconUrl:null!==(s=null===(i=null==e?void 0:e.icon)||void 0===i?void 0:i.url)&&void 0!==s?s:void 0,anchorId:null!==(a=null==e?void 0:e.anchorId)&&void 0!==a?a:void 0}})},[e,n,r,o])};
11
+ */function ip(){return tp||(tp=1,"production"===process.env.NODE_ENV?Kd.exports=function(){if(Qd)return qd;Qd=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,s=e?Symbol.for("react.provider"):60109,a=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,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function x(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 a:case u:case m:case f:case s:return e;default:return p}}case n:return p}}}function y(e){return x(e)===c}return qd.AsyncMode=l,qd.ConcurrentMode=c,qd.ContextConsumer=a,qd.ContextProvider=s,qd.Element=t,qd.ForwardRef=u,qd.Fragment=o,qd.Lazy=m,qd.Memo=f,qd.Portal=n,qd.Profiler=i,qd.StrictMode=r,qd.Suspense=d,qd.isAsyncMode=function(e){return y(e)||x(e)===l},qd.isConcurrentMode=y,qd.isContextConsumer=function(e){return x(e)===a},qd.isContextProvider=function(e){return x(e)===s},qd.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},qd.isForwardRef=function(e){return x(e)===u},qd.isFragment=function(e){return x(e)===o},qd.isLazy=function(e){return x(e)===m},qd.isMemo=function(e){return x(e)===f},qd.isPortal=function(e){return x(e)===n},qd.isProfiler=function(e){return x(e)===i},qd.isStrictMode=function(e){return x(e)===r},qd.isSuspense=function(e){return x(e)===d},qd.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===m||e.$$typeof===f||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===h)},qd.typeOf=x,qd}():Kd.exports=(ep||(ep=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,s=e?Symbol.for("react.provider"):60109,a=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,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var h=e.type;switch(h){case l:case c:case o:case i:case r:case d:return h;default:var g=h&&h.$$typeof;switch(g){case a:case u:case m:case f:case s:return g;default:return p}}case n:return p}}}var y=l,C=c,w=a,I=s,N=t,A=u,j=o,E=m,S=f,k=n,P=i,T=r,R=d,G=!1;function B(e){return x(e)===c}rp.AsyncMode=y,rp.ConcurrentMode=C,rp.ContextConsumer=w,rp.ContextProvider=I,rp.Element=N,rp.ForwardRef=A,rp.Fragment=j,rp.Lazy=E,rp.Memo=S,rp.Portal=k,rp.Profiler=P,rp.StrictMode=T,rp.Suspense=R,rp.isAsyncMode=function(e){return G||(G=!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.")),B(e)||x(e)===l},rp.isConcurrentMode=B,rp.isContextConsumer=function(e){return x(e)===a},rp.isContextProvider=function(e){return x(e)===s},rp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},rp.isForwardRef=function(e){return x(e)===u},rp.isFragment=function(e){return x(e)===o},rp.isLazy=function(e){return x(e)===m},rp.isMemo=function(e){return x(e)===f},rp.isPortal=function(e){return x(e)===n},rp.isProfiler=function(e){return x(e)===i},rp.isStrictMode=function(e){return x(e)===r},rp.isSuspense=function(e){return x(e)===d},rp.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===m||e.$$typeof===f||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===h)},rp.typeOf=x}()),rp)),Kd.exports}!function(){if(op)return np;op=1;var e=ip(),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 s=Object.defineProperty,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;np=function e(t,o,r){if("string"!=typeof o){if(d){var p=u(o);p&&p!==d&&e(t,p,r)}var f=a(o);l&&(f=f.concat(l(o)));for(var m=i(t),h=i(o),g=0;g<f.length;++g){var b=f[g];if(!(n[b]||r&&r[b]||h&&h[b]||m&&m[b])){var v=c(o,b);try{s(t,b,v)}catch(e){}}}}return t}}();var sp="undefined"!=typeof document;var ap=function(e,t,n){var o=e.key+"-"+t.name;(!1===n||!1===sp&&void 0!==e.compat)&&void 0===e.registered[o]&&(e.registered[o]=t.styles)};var lp={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function cp(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var up=/[A-Z]|^ms/g,dp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,pp=function(e){return 45===e.charCodeAt(1)},fp=function(e){return null!=e&&"boolean"!=typeof e},mp=cp(function(e){return pp(e)?e:e.replace(up,"-$&").toLowerCase()}),hp=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(dp,function(e,t,n){return bp={name:t,styles:n,next:bp},t})}return 1===lp[e]||pp(e)||"number"!=typeof t||0===t?t:t+"px"};function gp(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 bp={name:r.name,styles:r.styles,next:bp},r.name;var i=n;if(void 0!==i.styles){var s=i.next;if(void 0!==s)for(;void 0!==s;)bp={name:s.name,styles:s.styles,next:bp},s=s.next;return i.styles+";"}return function(e,t,n){var o="";if(Array.isArray(n))for(var r=0;r<n.length;r++)o+=gp(e,t,n[r])+";";else for(var i in n){var s=n[i];if("object"!=typeof s){var a=s;fp(a)&&(o+=mp(i)+":"+hp(i,a)+";")}else if(Array.isArray(s)&&"string"==typeof s[0]&&null==t)for(var l=0;l<s.length;l++)fp(s[l])&&(o+=mp(i)+":"+hp(i,s[l])+";");else{var c=gp(e,t,s);switch(i){case"animation":case"animationName":o+=mp(i)+":"+c+";";break;default:o+=i+"{"+c+"}"}}}return o}(e,t,n);case"function":if(void 0!==e){var a=bp,l=n(e);return bp=a,gp(e,t,l)}}return n}var bp,vp=/label:\s*([^\s;{]+)\s*(;|$)/g;function xp(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="";bp=void 0;var i=e[0];null==i||void 0===i.raw?(o=!1,r+=gp(n,t,i)):r+=i[0];for(var s=1;s<e.length;s++){if(r+=gp(n,t,e[s]),o)r+=i[s]}vp.lastIndex=0;for(var a,l="";null!==(a=vp.exec(r));)l+="-"+a[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:bp}}var yp="undefined"!=typeof document,Cp=function(e){return e()},wp=!!d.useInsertionEffect&&d.useInsertionEffect,Ip=yp&&wp||Cp,Np="undefined"!=typeof document,Ap=d.createContext("undefined"!=typeof HTMLElement?Ud({key:"css"}):null);Ap.Provider;var jp=function(e){return t.forwardRef(function(n,o){var r=t.useContext(Ap);return e(n,r,o)})};Np||(jp=function(e){return function(n){var o=t.useContext(Ap);return null===o?(o=Ud({key:"css"}),d.createElement(Ap.Provider,{value:o},e(n,o))):e(n,o)}});var Ep,Sp,kp=d.createContext({}),Pp={}.hasOwnProperty,Tp="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Rp=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;ap(t,n,o);var r=Ip(function(){return function(e,t,n){ap(e,t,n);var o=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r="",i=t;do{var s=e.insert(t===i?"."+o:"",i,e.sheet,!0);sp||void 0===s||(r+=s),i=i.next}while(void 0!==i);if(!sp&&0!==r.length)return r}}(t,n,o)});if(!Np&&void 0!==r){for(var i,s=n.name,a=n.next;void 0!==a;)s+=" "+a.name,a=a.next;return d.createElement("style",((i={})["data-emotion"]=t.key+" "+s,i.dangerouslySetInnerHTML={__html:r},i.nonce=t.sheet.nonce,i))}return null},Gp=jp(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var r=e[Tp],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 a=xp(i,void 0,d.useContext(kp));s+=t.key+"-"+a.name;var l={};for(var c in e)Pp.call(e,c)&&"css"!==c&&c!==Tp&&(l[c]=e[c]);return l.className=s,n&&(l.ref=n),d.createElement(d.Fragment,null,d.createElement(Rp,{cache:t,serialized:a,isStringTag:"string"==typeof r}),d.createElement(r,l))}),Bp=Gp,Op=function(e,t){var n=arguments;if(null==t||!Pp.call(t,"css"))return d.createElement.apply(void 0,n);var o=n.length,r=new Array(o);r[0]=Bp,r[1]=function(e,t){var n={};for(var o in t)Pp.call(t,o)&&(n[o]=t[o]);return n[Tp]=e,n}(e,t);for(var i=2;i<o;i++)r[i]=n[i];return d.createElement.apply(null,r)};function Vp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return xp(t)}Ep=Op||(Op={}),Sp||(Sp=Ep.JSX||(Ep.JSX={}));const Mp=Math.min,Lp=Math.max,Wp=Math.round,Dp=Math.floor,Fp=e=>({x:e,y:e});function Xp(){return"undefined"!=typeof window}function zp(e){return Yp(e)?(e.nodeName||"").toLowerCase():"#document"}function Zp(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Hp(e){var t;return null==(t=(Yp(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Yp(e){return!!Xp()&&(e instanceof Node||e instanceof Zp(e).Node)}function Jp(e){return!!Xp()&&(e instanceof HTMLElement||e instanceof Zp(e).HTMLElement)}function Up(e){return!(!Xp()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Zp(e).ShadowRoot)}const $p=new Set(["inline","contents"]);function _p(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=Kp(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!$p.has(r)}const Qp=new Set(["html","body","#document"]);function Kp(e){return Zp(e).getComputedStyle(e)}function qp(e){const t=function(e){if("html"===zp(e))return e;const t=e.assignedSlot||e.parentNode||Up(e)&&e.host||Hp(e);return Up(t)?t.host:t}(e);return function(e){return Qp.has(zp(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Jp(t)&&_p(t)?t:qp(t)}function ef(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=qp(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),s=Zp(r);if(i){const e=tf(s);return t.concat(s,s.visualViewport||[],_p(r)?r:[],e&&n?ef(e):[])}return t.concat(r,ef(r,[],n))}function tf(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function nf(e){return t=e,Xp()&&(t instanceof Element||t instanceof Zp(t).Element)?e:e.contextElement;var t}function of(e){const t=nf(e);if(!Jp(t))return Fp(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=function(e){const t=Kp(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=Jp(e),i=r?e.offsetWidth:n,s=r?e.offsetHeight:o,a=Wp(n)!==i||Wp(o)!==s;return a&&(n=i,o=s),{width:n,height:o,$:a}}(t);let s=(i?Wp(n.width):n.width)/o,a=(i?Wp(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function rf(e,t,n,o){void 0===t&&(t=!1);const r=e.getBoundingClientRect(),i=nf(e);let s=Fp(1);t&&(s=of(e));const a=Fp(0);let l=(r.left+a.x)/s.x,c=(r.top+a.y)/s.y,u=r.width/s.x,d=r.height/s.y;if(i){const e=o;let t=Zp(i),n=tf(t);for(;n&&o&&e!==t;){const e=of(n),o=n.getBoundingClientRect(),r=Kp(n),i=o.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,s=o.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=s,t=Zp(n),n=tf(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 sf(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function af(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=o,c=nf(e),u=r||i?[...c?ef(c):[],...ef(t)]:[];u.forEach(e=>{r&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const d=c&&a?function(e,t){let n,o=null;const r=Hp(e);function i(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:f}=c;if(a||t(),!p||!f)return;const m={rootMargin:-Dp(d)+"px "+-Dp(r.clientWidth-(u+p))+"px "+-Dp(r.clientHeight-(d+f))+"px "+-Dp(u)+"px",threshold:Lp(0,Mp(1,l))||1};let h=!0;function g(t){const o=t[0].intersectionRatio;if(o!==l){if(!h)return s();o?s(!1,o):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==o||sf(c,e.getBoundingClientRect())||s(),h=!1}try{o=new IntersectionObserver(g,{...m,root:r.ownerDocument})}catch(e){o=new IntersectionObserver(g,m)}o.observe(e)}(!0),i}(c,n):null;let p,f=-1,m=null;s&&(m=new ResizeObserver(e=>{let[o]=e;o&&o.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),c&&!l&&m.observe(c),m.observe(t));let h=l?rf(e):null;return l&&function t(){const o=rf(e);h&&!sf(h,o)&&n();h=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=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(p)}}var lf="undefined"!=typeof document?t.useLayoutEffect:function(){},cf=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],uf=function(){};function df(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function pf(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 s in t)t.hasOwnProperty(s)&&t[s]&&i.push("".concat(df(e,s)));return i.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var ff=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Au(e)&&null!==e?[e]:[];var t},mf=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,ku({},Bu(e,cf))},hf=function(e,t,n){var o=e.cx,r=e.getStyles,i=e.getClassNames,s=e.className;return{css:r(t,e),className:o(null!=n?n:{},i(t,e),s)}};function gf(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function bf(e){return gf(e)?window.pageYOffset:e.scrollTop}function vf(e,t){gf(e)?window.scrollTo(0,t):e.scrollTop=t}function xf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:uf,r=bf(e),i=t-r,s=0;!function t(){var a,l=i*((a=(a=s+=10)/n-1)*a*a+1)+r;vf(e,l),s<n?window.requestAnimationFrame(t):o(e)}()}function yf(e,t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),r=t.offsetHeight/3;o.bottom+r>n.bottom?vf(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):o.top-r<n.top&&vf(e,Math.max(t.offsetTop-r,0))}function Cf(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var wf=!1,If={get passive(){return wf=!0}},Nf="undefined"!=typeof window?window:{};Nf.addEventListener&&Nf.removeEventListener&&(Nf.addEventListener("p",uf,If),Nf.removeEventListener("p",uf,!1));var Af=wf;function jf(e){return null!=e}function Ef(e,t,n){return e?t:n}var Sf=["children","innerProps"],kf=["children","innerProps"];function Pf(e){var t=e.maxHeight,n=e.menuEl,o=e.minHeight,r=e.placement,i=e.shouldScroll,s=e.isFixedPosition,a=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,m=p.height,h=p.top,g=n.offsetParent.getBoundingClientRect().top,b=s?window.innerHeight:gf(u=l)?window.innerHeight:u.clientHeight,v=bf(l),x=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),C=g-y,w=b-h,I=C+v,N=d-v-h,A=f-b+v+x,j=v+h-y,E=160;switch(r){case"auto":case"bottom":if(w>=m)return{placement:"bottom",maxHeight:t};if(N>=m&&!s)return i&&xf(l,A,E),{placement:"bottom",maxHeight:t};if(!s&&N>=o||s&&w>=o)return i&&xf(l,A,E),{placement:"bottom",maxHeight:s?w-x:N-x};if("auto"===r||s){var S=t,k=s?C:I;return k>=o&&(S=Math.min(k-x-a,t)),{placement:"top",maxHeight:S}}if("bottom"===r)return i&&vf(l,A),{placement:"bottom",maxHeight:t};break;case"top":if(C>=m)return{placement:"top",maxHeight:t};if(I>=m&&!s)return i&&xf(l,j,E),{placement:"top",maxHeight:t};if(!s&&I>=o||s&&C>=o){var P=t;return(!s&&I>=o||s&&C>=o)&&(P=s?C-y:I-y),i&&xf(l,j,E),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var Tf,Rf=function(e){return"auto"===e?"bottom":e},Gf=t.createContext(null),Bf=function(e){var n=e.children,o=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,s=e.menuPosition,a=e.menuShouldScrollIntoView,l=e.theme,c=(t.useContext(Gf)||{}).setPortalPlacement,u=t.useRef(null),d=Ru(t.useState(r),2),p=d[0],f=d[1],m=Ru(t.useState(null),2),h=m[0],g=m[1],b=l.spacing.controlHeight;return lf(function(){var e=u.current;if(e){var t="fixed"===s,n=Pf({maxHeight:r,menuEl:e,minHeight:o,placement:i,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:b});f(n.maxHeight),g(n.placement),null==c||c(n.placement)}},[r,i,s,a,o,c,b]),n({ref:u,placerProps:ku(ku({},e),{},{placement:h||Rf(i),maxHeight:p})})},Of=function(e){var t=e.children,n=e.innerRef,o=e.innerProps;return Op("div",yl({},hf(e,"menu",{menu:!0}),{ref:n},o),t)},Vf=function(e,t){var n=e.theme,o=n.spacing.baseUnit,r=n.colors;return ku({textAlign:"center"},t?{}:{color:r.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},Mf=Vf,Lf=Vf,Wf=["size"],Df=["innerProps","isRtl","size"];var Ff,Xf,zf="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+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+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)."}},Zf=function(e){var t=e.size,n=Bu(e,Wf);return Op("svg",yl({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:zf},n))},Hf=function(e){return Op(Zf,yl({size:20},e),Op("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"}))},Yf=function(e){return Op(Zf,yl({size:20},e),Op("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"}))},Jf=function(e,t){var n=e.isFocused,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return ku({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*r,":hover":{color:n?i.neutral80:i.neutral40}})},Uf=Jf,$f=Jf,_f=function(){var e=Vp.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_"}}}(Tf||(Ff=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Xf||(Xf=Ff.slice(0)),Tf=Object.freeze(Object.defineProperties(Ff,{raw:{value:Object.freeze(Xf)}})))),Qf=function(e){var t=e.delay,n=e.offset;return Op("span",{css:Vp({animation:"".concat(_f," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},Kf=function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.innerRef,i=e.innerProps,s=e.menuIsOpen;return Op("div",yl({ref:r},hf(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":s}),i,{"aria-disabled":n||void 0}),t)},qf=["data"],em=function(e){var t=e.children,n=e.cx,o=e.getStyles,r=e.getClassNames,i=e.Heading,s=e.headingProps,a=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Op("div",yl({},hf(e,"group",{group:!0}),a),Op(i,yl({},s,{selectProps:u,theme:c,getStyles:o,getClassNames:r,cx:n}),l),Op("div",null,t))},tm=["innerRef","isDisabled","isHidden","inputClassName"],nm={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},om={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ku({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},nm)},rm=function(e){return ku({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},nm)},im=function(e){var t=e.cx,n=e.value,o=mf(e),r=o.innerRef,i=o.isDisabled,s=o.isHidden,a=o.inputClassName,l=Bu(o,tm);return Op("div",yl({},hf(e,"input",{"input-container":!0}),{"data-value":n||""}),Op("input",yl({className:t({input:!0},a),ref:r,style:rm(s),disabled:i},l)))},sm=function(e){var t=e.children,n=e.innerProps;return Op("div",n,t)};var am=function(e){var t=e.children,n=e.components,o=e.data,r=e.innerProps,i=e.isDisabled,s=e.removeProps,a=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return Op(l,{data:o,innerProps:ku(ku({},hf(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),r),selectProps:a},Op(c,{data:o,innerProps:ku({},hf(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},t),Op(u,{data:o,innerProps:ku(ku({},hf(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},s),selectProps:a}))},lm={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Op("div",yl({},hf(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Op(Hf,null))},Control:Kf,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Op("div",yl({},hf(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Op(Yf,null))},DownChevron:Yf,CrossIcon:Hf,Group:em,GroupHeading:function(e){var t=mf(e);t.data;var n=Bu(t,qf);return Op("div",yl({},hf(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Op("div",yl({},hf(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Op("span",yl({},t,hf(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:im,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,r=void 0===o?4:o,i=Bu(e,Df);return Op("div",yl({},hf(ku(ku({},i),{},{innerProps:t,isRtl:n,size:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Op(Qf,{delay:0,offset:n}),Op(Qf,{delay:160,offset:!0}),Op(Qf,{delay:320,offset:!n}))},Menu:Of,MenuList:function(e){var t=e.children,n=e.innerProps,o=e.innerRef,r=e.isMulti;return Op("div",yl({},hf(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:o},n),t)},MenuPortal:function(e){var n=e.appendTo,o=e.children,r=e.controlElement,i=e.innerProps,s=e.menuPlacement,a=e.menuPosition,c=t.useRef(null),u=t.useRef(null),d=Ru(t.useState(Rf(s)),2),p=d[0],f=d[1],m=t.useMemo(function(){return{setPortalPlacement:f}},[]),h=Ru(t.useState(null),2),g=h[0],b=h[1],v=t.useCallback(function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===a?0:window.pageYOffset,n=e[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)||b({offset:n,rect:e})}},[r,a,p,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);lf(function(){v()},[v]);var x=t.useCallback(function(){"function"==typeof u.current&&(u.current(),u.current=null),r&&c.current&&(u.current=af(r,c.current,v,{elementResize:"ResizeObserver"in window}))},[r,v]);lf(function(){x()},[x]);var y=t.useCallback(function(e){c.current=e,x()},[x]);if(!n&&"fixed"!==a||!g)return null;var C=Op("div",yl({ref:y},hf(ku(ku({},e),{},{offset:g.offset,position:a,rect:g.rect}),"menuPortal",{"menu-portal":!0}),i),o);return Op(Gf.Provider,{value:m},n?l.createPortal(C,n):C)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,r=Bu(e,kf);return Op("div",yl({},hf(ku(ku({},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=Bu(e,Sf);return Op("div",yl({},hf(ku(ku({},r),{},{children:n,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),n)},MultiValue:am,MultiValueContainer:sm,MultiValueLabel:sm,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Op("div",yl({role:"button"},n),t||Op(Hf,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.innerRef,s=e.innerProps;return Op("div",yl({},hf(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":o,"option--is-selected":r}),{ref:i,"aria-disabled":n},s),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Op("div",yl({},hf(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,o=e.isDisabled,r=e.isRtl;return Op("div",yl({},hf(e,"container",{"--is-disabled":o,"--is-rtl":r}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,o=e.innerProps;return Op("div",yl({},hf(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 Op("div",yl({},hf(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":r}),n),t)}},cm=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function um(e,t){return e===t||!(!cm(e)||!cm(t))}function dm(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!um(e[n],t[n]))return!1;return!0}for(var pm="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)."}},fm=function(e){return Op("span",yl({css:pm},e))},mm={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,s=e.selectValue,a=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&&s)return"value ".concat(i," focused, ").concat(u(s,n),".");if("menu"===t&&c){var d=a?" 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:"",".")}},hm=function(e){var n=e.ariaSelection,o=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,s=e.isFocused,a=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,f=l.inputValue,m=l.isMulti,h=l.isOptionDisabled,g=l.isSearchable,b=l.menuIsOpen,v=l.options,x=l.screenReaderStatus,y=l.tabSelectsValue,C=l.isLoading,w=l["aria-label"],I=l["aria-live"],N=t.useMemo(function(){return ku(ku({},mm),d||{})},[d]),A=t.useMemo(function(){var e,t="";if(n&&N.onChange){var o=n.option,r=n.options,i=n.removedValue,s=n.removedValues,l=n.value,c=i||o||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=r||s||void 0,f=d?d.map(p):[],m=ku({isDisabled:c&&h(c,a),label:u,labels:f},n);t=N.onChange(m)}return t},[n,N,h,a,p]),j=t.useMemo(function(){var e="",t=o||r,n=!!(o&&a&&a.includes(o));if(t&&N.onFocus){var s={focused:t,label:p(t),isDisabled:h(t,a),isSelected:n,options:i,context:t===o?"menu":"value",selectValue:a,isAppleDevice:u};e=N.onFocus(s)}return e},[o,r,p,h,N,i,a,u]),E=t.useMemo(function(){var e="";if(b&&v.length&&!C&&N.onFilter){var t=x({count:i.length});e=N.onFilter({inputValue:f,resultsMessage:t})}return e},[i,f,b,N,v,x,C]),S="initial-input-focus"===(null==n?void 0:n.action),k=t.useMemo(function(){var e="";if(N.guidance){var t=r?"value":b?"menu":"input";e=N.guidance({"aria-label":w,context:t,isDisabled:o&&h(o,a),isMulti:m,isSearchable:g,tabSelectsValue:y,isInitialFocus:S})}return e},[w,o,r,m,h,g,b,N,a,y,S]),P=Op(t.Fragment,null,Op("span",{id:"aria-selection"},A),Op("span",{id:"aria-focused"},j),Op("span",{id:"aria-results"},E),Op("span",{id:"aria-guidance"},k));return Op(t.Fragment,null,Op(fm,{id:c},S&&P),Op(fm,{"aria-live":I,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!S&&P))},gm=[{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źẑżžẓẕƶȥɀⱬꝣ"}],bm=new RegExp("["+gm.map(function(e){return e.letters}).join("")+"]","g"),vm={},xm=0;xm<gm.length;xm++)for(var ym=gm[xm],Cm=0;Cm<ym.letters.length;Cm++)vm[ym.letters[Cm]]=ym.base;var wm=function(e){return e.replace(bm,function(e){return vm[e]})},Im=function(e,t){void 0===t&&(t=dm);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}(wm),Nm=function(e){return e.replace(/^\s+|\s+$/g,"")},Am=function(e){return"".concat(e.label," ").concat(e.value)},jm=function(e){return function(t,n){if(t.data.__isNew__)return!0;var o=ku({ignoreCase:!0,ignoreAccents:!0,stringify:Am,trim:!0,matchFrom:"any"},e),r=o.ignoreCase,i=o.ignoreAccents,s=o.stringify,a=o.trim,l=o.matchFrom,c=a?Nm(n):n,u=a?Nm(s(t)):s(t);return r&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=Im(c),u=wm(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},Em=["innerRef"];function Sm(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=Ru(e,1)[0];return!n.includes(t)});return r.reduce(function(e,t){var n=Ru(t,2),o=n[0],r=n[1];return e[o]=r,e},{})}(Bu(e,Em),"onExited","in","enter","exit","appear");return Op("input",yl({ref:t},n,{css:Vp({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 km=["boxSizing","height","overflow","paddingRight","position"],Pm={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Tm(e){e.cancelable&&e.preventDefault()}function Rm(e){e.stopPropagation()}function Gm(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Bm(){return"ontouchstart"in window||navigator.maxTouchPoints}var Om=!("undefined"==typeof window||!window.document||!window.document.createElement),Vm=0,Mm={capture:!1,passive:!1};var Lm=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Wm="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+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 Dm(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,s=e.onTopLeave,a=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,m=t>0,h=d-p-c,g=!1;h>t&&a.current&&(r&&r(e),a.current=!1),m&&l.current&&(s&&s(e),l.current=!1),m&&t>h?(o&&!a.current&&o(e),f.scrollTop=d,g=!0,a.current=!0):!m&&-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,s]),p=t.useCallback(function(e){d(e,e.deltaY)},[d]),f=t.useCallback(function(e){c.current=e.changedTouches[0].clientY},[]),m=t.useCallback(function(e){var t=c.current-e.changedTouches[0].clientY;d(e,t)},[d]),h=t.useCallback(function(e){if(e){var t=!!Af&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",f,t),e.addEventListener("touchmove",m,t)}},[m,f,p]),g=t.useCallback(function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",f,!1),e.removeEventListener("touchmove",m,!1))},[m,f,p]);return t.useEffect(function(){if(n){var e=u.current;return h(e),function(){g(e)}}},[n,h,g]),function(e){u.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),s=function(e){var n=e.isEnabled,o=e.accountForScrollbars,r=void 0===o||o,i=t.useRef({}),s=t.useRef(null),a=t.useCallback(function(e){if(Om){var t=document.body,n=t&&t.style;if(r&&km.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&Vm<1){var o=parseInt(i.current.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,a=window.innerWidth-s+o||0;Object.keys(Pm).forEach(function(e){var t=Pm[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(a,"px"))}t&&Bm()&&(t.addEventListener("touchmove",Tm,Mm),e&&(e.addEventListener("touchstart",Gm,Mm),e.addEventListener("touchmove",Rm,Mm))),Vm+=1}},[r]),l=t.useCallback(function(e){if(Om){var t=document.body,n=t&&t.style;Vm=Math.max(Vm-1,0),r&&Vm<1&&km.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&Bm()&&(t.removeEventListener("touchmove",Tm,Mm),e&&(e.removeEventListener("touchstart",Gm,Mm),e.removeEventListener("touchmove",Rm,Mm)))}},[r]);return t.useEffect(function(){if(n){var e=s.current;return a(e),function(){l(e)}}},[n,a,l]),function(e){s.current=e}}({isEnabled:o});return Op(t.Fragment,null,o&&Op("div",{onClick:Lm,css:Wm}),n(function(e){i(e),s(e)}))}var Fm="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)."}},Xm=function(e){var t=e.name,n=e.onFocus;return Op("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Fm,value:"",onChange:function(){}})};function zm(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 Zm(){return zm(/^Mac/i)}function Hm(){return zm(/^iPhone/i)||zm(/^iPad/i)||Zm()&&navigator.maxTouchPoints>1}var Ym={clearIndicator:$f,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,s=r.borderRadius;return ku({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:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:o?i.primary:i.neutral30}})},dropdownIndicator:Uf,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 ku({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 ku({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,s=r.colors;return ku(ku({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},om),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:s.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,o=e.size,r=e.theme,i=r.colors,s=r.spacing.baseUnit;return ku({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*s})},loadingMessage:Lf,menu:function(e,t){var n,o=e.placement,r=e.theme,i=r.borderRadius,s=r.spacing,a=r.colors;return ku((Eu(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),Eu(n,"position","absolute"),Eu(n,"width","100%"),Eu(n,"zIndex",1),n),t?{}:{backgroundColor:a.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},menuList:function(e,t){var n=e.maxHeight,o=e.theme.spacing.baseUnit;return ku({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 ku({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 ku({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,s=e.isFocused;return ku({alignItems:"center",display:"flex"},t?{}:{borderRadius:r/2,backgroundColor:s?i.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:Mf,option:function(e,t){var n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.theme,s=i.spacing,a=i.colors;return ku({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:r?a.primary:o?a.primary25:"transparent",color:n?a.neutral20:r?a.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:r?a.primary:a.primary50}})},placeholder:function(e,t){var n=e.theme,o=n.spacing,r=n.colors;return ku({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 ku({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 ku({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")})}},Jm={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}},Um={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Cf(),captureMenuScroll:!Cf(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:jm(),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 $m(e,t,n,o){return{type:"option",data:t,isDisabled:oh(e,t,n),isSelected:rh(e,t,n),label:th(e,t),value:nh(e,t),index:o}}function _m(e,t){return e.options.map(function(n,o){if("options"in n){var r=n.options.map(function(n,o){return $m(e,n,t,o)}).filter(function(t){return qm(e,t)});return r.length>0?{type:"group",data:n,options:r,index:o}:void 0}var i=$m(e,n,t,o);return qm(e,i)?i:void 0}).filter(jf)}function Qm(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Fu(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function Km(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Fu(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 qm(e,t){var n=e.inputValue,o=void 0===n?"":n,r=t.data,i=t.isSelected,s=t.label,a=t.value;return(!sh(e)||!i)&&ih(e,{label:s,value:a,data:r},o)}var eh=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},th=function(e,t){return e.getOptionLabel(t)},nh=function(e,t){return e.getOptionValue(t)};function oh(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function rh(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=nh(e,t);return n.some(function(t){return nh(e,t)===o})}function ih(e,t,n){return!e.filterOption||e.filterOption(t,n)}var sh=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ah=1,lh=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&&Mu(e,t)}(n,t.Component);var e=function(e){var t=Wu();return function(){var n,o=Lu(e);if(t){var r=Lu(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Du(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,s=r.isMulti,a=r.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:a}),i&&(o.setState({inputIsHiddenAfterUpdate:!s}),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,s=o.state.selectValue,a=r&&o.isOptionSelected(e,s),l=o.isOptionDisabled(e,s);if(a){var c=o.getOptionValue(e);o.setValue(s.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(Fu(s),[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}),s=Ef(t,i,i[0]||null);o.onChange(s,{action:"remove-value",removedValue:e}),o.focusInput()},o.clearValue=function(){var e=o.state.selectValue;o.onChange(Ef(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=Ef(e,r,r[0]||null);n&&o.onChange(i,{action:"pop-value",removedValue:n})},o.getFocusedOptionId=function(e){return eh(o.state.focusableOptionsWithIds,e)},o.getFocusableOptionsWithIds=function(){return Km(_m(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 pf.apply(void 0,[o.props.classNamePrefix].concat(t))},o.getOptionLabel=function(e){return th(o.props,e)},o.getOptionValue=function(e){return nh(o.props,e)},o.getStyles=function(e,t){var n=o.props.unstyled,r=Ym[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,ku(ku({},lm),e.components);var e},o.buildCategorizedOptions=function(){return _m(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return Qm(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(e,t){o.setState({ariaSelection:ku({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&&gf(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 sh(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,s=t.inputValue,a=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,f=o.state,m=f.focusedOption,h=f.focusedValue,g=f.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(o.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||s)return;o.focusValue("previous");break;case"ArrowRight":if(!n||s)return;o.focusValue("next");break;case"Delete":case"Backspace":if(s)return;if(h)o.removeValue(h);else{if(!r)return;n?o.popValue():a&&o.clearValue()}break;case"Tab":if(o.isComposing)return;if(e.shiftKey||!c||!d||!m||p&&o.isOptionSelected(m,g))return;o.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(c){if(!m)return;if(o.isComposing)return;o.selectOption(m);break}return;case"Escape":c?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:s}),o.onMenuClose()):a&&i&&o.clearValue();break;case" ":if(s)return;if(!c){o.openMenu("first");break}if(!m)return;o.selectOption(m);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||++ah),o.state.selectValue=ff(t.value),t.menuIsOpen&&o.state.selectValue.length){var r=o.getFocusableOptionsWithIds(),i=o.buildFocusableOptions(),s=i.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=r,o.state.focusedOption=i[s],o.state.focusedOptionId=eh(r,i[s])}return o}return function(e,t,n){t&&Vu(e.prototype,t),n&&Vu(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&&yf(this.menuListRef,this.focusedOptionRef),(Zm()||Hm())&&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&&(yf(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(),s="first"===e?0:i.length-1;if(!this.props.isMulti){var a=i.indexOf(o[0]);a>-1&&(s=a)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[s],focusedOptionId:this.getFocusedOptionId(i[s])},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,s=-1;if(n.length){switch(e){case"previous":s=0===r?0:-1===r?i:r-1;break;case"next":r>-1&&r<i&&(s=r+1)}this.setState({inputIsHidden:-1!==s,focusedValue:n[s]})}}}},{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(Jm):ku(ku({},Jm),this.props.theme):Jm}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,o=this.getClassNames,r=this.getValue,i=this.selectOption,s=this.setValue,a=this.props,l=a.isMulti,c=a.isRtl,u=a.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:o,getValue:r,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:i,selectProps:a,setValue:s,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 oh(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return rh(this.props,e,t)}},{key:"filterOption",value:function(e,t){return ih(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,a=e.menuIsOpen,l=e.required,c=this.getComponents().Input,u=this.state,p=u.inputIsHidden,f=u.ariaSelection,m=this.commonProps,h=o||this.getElementId("input"),g=ku(ku(ku({"aria-autocomplete":"list","aria-expanded":a,"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":l,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},a&&{"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?d.createElement(c,yl({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:h,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)):d.createElement(Sm,yl({id:h,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:uf,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,a=t.Placeholder,l=this.commonProps,c=this.props,u=c.controlShouldRenderValue,p=c.isDisabled,f=c.isMulti,m=c.inputValue,h=c.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,x=g.isFocused;if(!this.hasValue()||!u)return m?null:d.createElement(a,yl({},l,{key:"placeholder",isDisabled:p,isFocused:x,innerProps:{id:this.getElementId("placeholder")}}),h);if(f)return b.map(function(t,s){var a=t===v,c="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return d.createElement(n,yl({},l,{components:{Container:o,Label:r,Remove:i},isFocused:a,isDisabled:p,key:c,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(m)return null;var y=b[0];return d.createElement(s,yl({},l,{data:y,isDisabled:p}),this.formatOptionLabel(y,"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 d.createElement(e,yl({},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 d.createElement(e,yl({},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 d.createElement(n,yl({},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 d.createElement(e,yl({},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,a=t.LoadingMessage,l=t.NoOptionsMessage,c=t.Option,u=this.commonProps,p=this.state.focusedOption,f=this.props,m=f.captureMenuScroll,h=f.inputValue,g=f.isLoading,b=f.loadingMessage,v=f.minMenuHeight,x=f.maxMenuHeight,y=f.menuIsOpen,C=f.menuPlacement,w=f.menuPosition,I=f.menuPortalTarget,N=f.menuShouldBlockScroll,A=f.menuShouldScrollIntoView,j=f.noOptionsMessage,E=f.onMenuScrollToTop,S=f.onMenuScrollToBottom;if(!y)return null;var k,P=function(t,n){var o=t.type,r=t.data,i=t.isDisabled,s=t.isSelected,a=t.label,l=t.value,f=p===r,m=i?void 0:function(){return e.onOptionHover(r)},h=i?void 0:function(){return e.selectOption(r)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:h,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return d.createElement(c,yl({},u,{innerProps:b,data:r,isDisabled:i,isSelected:s,key:g,label:a,type:o,value:l,isFocused:f,innerRef:f?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())k=this.getCategorizedOptions().map(function(t){if("group"===t.type){var r=t.data,i=t.options,s=t.index,a="".concat(e.getElementId("group"),"-").concat(s),l="".concat(a,"-heading");return d.createElement(n,yl({},u,{key:a,data:r,options:i,Heading:o,headingProps:{id:l,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return P(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return P(t,"".concat(t.index))});else if(g){var T=b({inputValue:h});if(null===T)return null;k=d.createElement(a,u,T)}else{var R=j({inputValue:h});if(null===R)return null;k=d.createElement(l,u,R)}var G={minMenuHeight:v,maxMenuHeight:x,menuPlacement:C,menuPosition:w,menuShouldScrollIntoView:A},B=d.createElement(Bf,yl({},u,G),function(t){var n=t.ref,o=t.placerProps,s=o.placement,a=o.maxHeight;return d.createElement(r,yl({},u,G,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),d.createElement(Dm,{captureEnabled:m,onTopArrive:E,onBottomArrive:S,lockEnabled:N},function(t){return d.createElement(i,yl({},u,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":u.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:a,focusedOption:p}),k)}))});return I||"fixed"===w?d.createElement(s,yl({},u,{appendTo:I,controlElement:this.controlRef,menuPlacement:C,menuPosition:w}),B):B}},{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,a=this.state.selectValue;if(s&&!this.hasValue()&&!o)return d.createElement(Xm,{name:i,onFocus:this.onValueInputFocus});if(i&&!o){if(r){if(n){var l=a.map(function(t){return e.getOptionValue(t)}).join(n);return d.createElement("input",{name:i,type:"hidden",value:l})}var c=a.length>0?a.map(function(t,n){return d.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})}):d.createElement("input",{name:i,type:"hidden",value:""});return d.createElement("div",null,c)}var u=a[0]?this.getOptionValue(a[0]):"";return d.createElement("input",{name:i,type:"hidden",value:u})}}},{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,a=this.getFocusableOptions();return d.createElement(hm,yl({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:r,isFocused:i,selectValue:s,focusableOptions:a,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,a=i.id,l=i.isDisabled,c=i.menuIsOpen,u=this.state.isFocused,p=this.commonProps=this.getCommonProps();return d.createElement(o,yl({},p,{className:s,innerProps:{id:a,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:u}),this.renderLiveRegion(),d.createElement(t,yl({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:u,menuIsOpen:c}),d.createElement(r,yl({},p,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),d.createElement(n,yl({},p,{isDisabled:l}),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,s=t.isFocused,a=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,f=e.isMulti,m=ff(u),h={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Qm(_m(e,t))}(e,m):[],b=d?Km(_m(e,m),"".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,m):null,x=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);h={selectValue:m,focusedOption:x,focusedOptionId:eh(b,x),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var y=null!=r&&e!==n?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},C=i,w=s&&a;return s&&!w&&(C={value:Ef(f,m,m[0]||null),options:m,action:"initial-input-focus"},w=!a),"initial-input-focus"===(null==i?void 0:i.action)&&(C=null),ku(ku(ku({},h),y),{},{prevProps:e,ariaSelection:C,prevWasFocused:w})}}]),n}();lh.defaultProps=Um;var ch=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,s=e.defaultValue,a=void 0===s?null:s,l=e.inputValue,c=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,f=e.onMenuOpen,m=e.value,h=Bu(e,Ou),g=Ru(t.useState(void 0!==l?l:o),2),b=g[0],v=g[1],x=Ru(t.useState(void 0!==c?c:i),2),y=x[0],C=x[1],w=Ru(t.useState(void 0!==m?m:a),2),I=w[0],N=w[1],A=t.useCallback(function(e,t){"function"==typeof u&&u(e,t),N(e)},[u]),j=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(),C(!0)},[f]),S=t.useCallback(function(){"function"==typeof p&&p(),C(!1)},[p]),k=void 0!==l?l:b,P=void 0!==c?c:y,T=void 0!==m?m:I;return ku(ku({},h),{},{inputValue:k,menuIsOpen:P,onChange:A,onInputChange:j,onMenuClose:S,onMenuOpen:E,value:T})}(e);return d.createElement(lh,yl({ref:n},o))}),uh=ch;const dh=t.memo(({options:n,className:o,controlClassName:r,value:i,isCustomStyle:s=!1,placeholder:a,required:l,onChange:c,filterOptions:u,hasError:d,error:p,menuClassName:f,helperText:m,label:h,labelClassName:g,size:b="md",variant:v="default","data-cy":x,"data-testid":y,...C})=>{const w=t.useMemo(()=>jm(u),[u]),I=t.useMemo(()=>({control:({isFocused:e})=>Ae("sm"===b?"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})=>s?e.value?"hidden":"block":"block text-icon-default "+(d?"text-icon-critical":""),singleValue:()=>Ae(s?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Ae("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",f),option:({isFocused:e,isSelected:t,label:o})=>{var r;return Ae("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",s?"text-body1 text-text":"",s&&(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"}),[s,r,f,n,d,b]);return"unstyled"===v?e.jsx(uh,{options:n,value:i,placeholder:l?`${a}*`:a,onChange:c,filterOption:w,className:Ae("rounded-xl",o),classNames:I,"data-cy":x,"data-testid":y,...C}):e.jsxs("div",{className:"w-full",children:[h&&e.jsx("label",{className:Ae("mb-1 block text-sm font-medium text-text-secondary",g),children:h}),e.jsx(uh,{options:n,value:i,placeholder:l?`${a}*`:a,onChange:c,filterOption:w,className:Ae("rounded-xl",o),classNames:I,"data-cy":x,"data-testid":y,...C}),p&&e.jsx(Ge,{className:"footnote mt-1 text-text-critical",children:p}),!p&&m&&e.jsx(Ge,{className:"footnote mt-1 text-text-info",children:m})]})});dh.displayName="Select";const ph={yellow:{bg:"bg-fill-brand-accent",text:"text"},white:{bg:"bg-white",text:"text"},navy:{bg:"bg-bg-fill-inverse",text:"text-inverse"},green:{bg:"bg-border-success",text:"text-inverse"}};var fh,mh={exports:{}},hh={},gh={exports:{}},bh={exports:{}},vh={};var xh,yh,Ch,wh,Ih,Nh,Ah,jh,Eh,Sh,kh,Ph,Th,Rh,Gh,Bh={};
12
+ /** @license React v16.13.1
13
+ * react-is.development.js
14
+ *
15
+ * Copyright (c) Facebook, Inc. and its affiliates.
16
+ *
17
+ * This source code is licensed under the MIT license found in the
18
+ * LICENSE file in the root directory of this source tree.
19
+ */function Oh(){return yh||(yh=1,"production"===process.env.NODE_ENV?bh.exports=function(){if(fh)return vh;fh=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,s=e?Symbol.for("react.provider"):60109,a=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,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function x(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 a:case u:case m:case f:case s:return e;default:return p}}case n:return p}}}function y(e){return x(e)===c}return vh.AsyncMode=l,vh.ConcurrentMode=c,vh.ContextConsumer=a,vh.ContextProvider=s,vh.Element=t,vh.ForwardRef=u,vh.Fragment=o,vh.Lazy=m,vh.Memo=f,vh.Portal=n,vh.Profiler=i,vh.StrictMode=r,vh.Suspense=d,vh.isAsyncMode=function(e){return y(e)||x(e)===l},vh.isConcurrentMode=y,vh.isContextConsumer=function(e){return x(e)===a},vh.isContextProvider=function(e){return x(e)===s},vh.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},vh.isForwardRef=function(e){return x(e)===u},vh.isFragment=function(e){return x(e)===o},vh.isLazy=function(e){return x(e)===m},vh.isMemo=function(e){return x(e)===f},vh.isPortal=function(e){return x(e)===n},vh.isProfiler=function(e){return x(e)===i},vh.isStrictMode=function(e){return x(e)===r},vh.isSuspense=function(e){return x(e)===d},vh.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===m||e.$$typeof===f||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===h)},vh.typeOf=x,vh}():bh.exports=(xh||(xh=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,s=e?Symbol.for("react.provider"):60109,a=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,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var h=e.type;switch(h){case l:case c:case o:case i:case r:case d:return h;default:var g=h&&h.$$typeof;switch(g){case a:case u:case m:case f:case s:return g;default:return p}}case n:return p}}}var y=l,C=c,w=a,I=s,N=t,A=u,j=o,E=m,S=f,k=n,P=i,T=r,R=d,G=!1;function B(e){return x(e)===c}Bh.AsyncMode=y,Bh.ConcurrentMode=C,Bh.ContextConsumer=w,Bh.ContextProvider=I,Bh.Element=N,Bh.ForwardRef=A,Bh.Fragment=j,Bh.Lazy=E,Bh.Memo=S,Bh.Portal=k,Bh.Profiler=P,Bh.StrictMode=T,Bh.Suspense=R,Bh.isAsyncMode=function(e){return G||(G=!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.")),B(e)||x(e)===l},Bh.isConcurrentMode=B,Bh.isContextConsumer=function(e){return x(e)===a},Bh.isContextProvider=function(e){return x(e)===s},Bh.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Bh.isForwardRef=function(e){return x(e)===u},Bh.isFragment=function(e){return x(e)===o},Bh.isLazy=function(e){return x(e)===m},Bh.isMemo=function(e){return x(e)===f},Bh.isPortal=function(e){return x(e)===n},Bh.isProfiler=function(e){return x(e)===i},Bh.isStrictMode=function(e){return x(e)===r},Bh.isSuspense=function(e){return x(e)===d},Bh.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===m||e.$$typeof===f||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===h)},Bh.typeOf=x}()),Bh)),bh.exports}
20
+ /*
21
+ object-assign
22
+ (c) Sindre Sorhus
23
+ @license MIT
24
+ */function Vh(){if(wh)return Ch;wh=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Ch=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,s,a=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)&&(a[c]=i[c]);if(e){s=e(i);for(var u=0;u<s.length;u++)n.call(i,s[u])&&(a[s[u]]=i[s[u]])}}return a},Ch}function Mh(){if(Nh)return Ih;Nh=1;return Ih="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function Lh(){return jh?Ah:(jh=1,Ah=Function.call.bind(Object.prototype.hasOwnProperty))}function Wh(){if(Sh)return Eh;Sh=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=Mh(),n={},o=Lh();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function r(r,i,s,a,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((a||"React class")+": "+s+" 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,a,s,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((a||"React class")+": type specification of "+s+" `"+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 "+s+" type: "+u.message+(null!=p?p:""))}}}return r.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},Eh=r}function Dh(){if(Ph)return kh;Ph=1;var e=Oh(),t=Vh(),n=Mh(),o=Lh(),r=Wh(),i=function(){};function s(){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){}}),kh=function(a,l){var c="function"==typeof Symbol&&Symbol.iterator;var u="<<anonymous>>",d={array:h("array"),bigint:h("bigint"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:m(s),arrayOf:function(e){return m(function(t,o,r,i,s){if("function"!=typeof e)return new f("Property `"+s+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[o];if(!Array.isArray(a))return new f("Invalid "+i+" `"+s+"` of type `"+v(a)+"` supplied to `"+r+"`, expected an array.");for(var l=0;l<a.length;l++){var c=e(a,l,r,i,s+"["+l+"]",n);if(c instanceof Error)return c}return null})},element:m(function(e,t,n,o,r){var i=e[t];return a(i)?null:new f("Invalid "+o+" `"+r+"` of type `"+v(i)+"` supplied to `"+n+"`, expected a single ReactElement.")}),elementType:m(function(t,n,o,r,i){var s=t[n];return e.isValidElementType(s)?null:new f("Invalid "+r+" `"+i+"` of type `"+v(s)+"` supplied to `"+o+"`, expected a single ReactElement type.")}),instanceOf:function(e){return m(function(t,n,o,r,i){if(!(t[n]instanceof e)){var s=e.name||u;return new f("Invalid "+r+" `"+i+"` of type `"+(((a=t[n]).constructor&&a.constructor.name?a.constructor.name:u)+"` supplied to `")+o+"`, expected instance of `"+s+"`.")}var a;return null})},node:m(function(e,t,n,o,r){return b(e[t])?null:new f("Invalid "+o+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")}),objectOf:function(e){return m(function(t,r,i,s,a){if("function"!=typeof e)return new f("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var l=t[r],c=v(l);if("object"!==c)return new f("Invalid "+s+" `"+a+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var u in l)if(o(l,u)){var d=e(l,u,i,s,a+"."+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."),s;return m(function(t,n,o,r,i){for(var s=t[n],a=0;a<e.length;a++)if(p(s,e[a]))return null;var l=JSON.stringify(e,function(e,t){return"symbol"===x(t)?String(t):t});return new f("Invalid "+r+" `"+i+"` of value `"+String(s)+"` 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."),s;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 "+y(r)+" at index "+t+"."),s}return m(function(t,r,i,s,a){for(var l=[],c=0;c<e.length;c++){var u=(0,e[c])(t,r,i,s,a,n);if(null==u)return null;u.data&&o(u.data,"expectedType")&&l.push(u.data.expectedType)}return new f("Invalid "+s+" `"+a+"` supplied to `"+i+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")})},shape:function(e){return m(function(t,o,r,i,s){var a=t[o],l=v(a);if("object"!==l)return new f("Invalid "+i+" `"+s+"` 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,s,c,x(u));var d=u(a,c,r,i,s+"."+c,n);if(d)return d}return null})},exact:function(e){return m(function(r,i,s,a,l){var c=r[i],u=v(c);if("object"!==u)return new f("Invalid "+a+" `"+l+"` of type `"+u+"` supplied to `"+s+"`, expected `object`.");var d=t({},r[i],e);for(var p in d){var m=e[p];if(o(e,p)&&"function"!=typeof m)return g(s,a,l,p,x(m));if(!m)return new f("Invalid "+a+" `"+l+"` key `"+p+"` supplied to `"+s+"`.\nBad object: "+JSON.stringify(r[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=m(c,p,s,a,l+"."+p,n);if(h)return h}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 m(e){if("production"!==process.env.NODE_ENV)var t={},o=0;function r(r,s,a,c,d,p,m){if(c=c||u,p=p||a,m!==n){if(l){var h=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 h.name="Invariant Violation",h}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+a;!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==s[a]?r?null===s[a]?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(s,a,c,d,p)}var s=r.bind(null,!1);return s.isRequired=r.bind(null,!0),s}function h(e){return m(function(t,n,o,r,i,s){var a=t[n];return v(a)!==e?new f("Invalid "+r+" `"+i+"` of type `"+x(a)+"` 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 b(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(b);if(null===e||a(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(!b(n.value))return!1}else for(;!(n=o.next()).done;){var r=n.value;if(r&&!b(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 x(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 y(e){var t=x(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},kh}function Fh(){if(Rh)return Th;Rh=1;var e=Mh();function t(){}function n(){}return n.resetWarningCache=t,Th=function(){function o(t,n,o,r,i,s){if(s!==e){var a=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 a.name="Invariant Violation",a}}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 Xh(){if(Gh)return gh.exports;if(Gh=1,"production"!==process.env.NODE_ENV){var e=Oh();gh.exports=Dh()(e.isElement,true)}else gh.exports=Fh()();return gh.exports}var zh,Zh,Hh={exports:{}},Yh={},Jh={exports:{}};function Uh(){return zh||(zh=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(a)};
25
+ /*!
26
+ * Adapted from jQuery UI core
27
+ *
28
+ * http://jqueryui.com
29
+ *
30
+ * Copyright 2014 jQuery Foundation and other contributors
31
+ * Released under the MIT license.
32
+ * http://jquery.org/license
33
+ *
34
+ * http://api.jqueryui.com/category/ui-core/
35
+ */
36
+ 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 s(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 a(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&s(e,!n)}e.exports=t.default}(Jh,Jh.exports)),Jh.exports}function $h(){if(Zh)return Yh;Zh=1,Object.defineProperty(Yh,"__esModule",{value:!0}),Yh.resetState=function(){o=[]},Yh.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 ----------"))},Yh.handleBlur=s,Yh.handleFocus=a,Yh.markForFocusLater=function(){o.push(document.activeElement)},Yh.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(" "))}},Yh.popWithoutFocus=function(){o.length>0&&o.pop()},Yh.setupScopedFocus=function(e){r=e,window.addEventListener?(window.addEventListener("blur",s,!1),document.addEventListener("focus",a,!0)):(window.attachEvent("onBlur",s),document.attachEvent("onFocus",a))},Yh.teardownScopedFocus=function(){r=null,window.addEventListener?(window.removeEventListener("blur",s),document.removeEventListener("focus",a)):(window.detachEvent("onBlur",s),document.detachEvent("onFocus",a))};var e,t=Uh(),n=(e=t)&&e.__esModule?e:{default:e};var o=[],r=null,i=!1;function s(){i=!0}function a(){if(i){if(i=!1,!r)return;setTimeout(function(){r.contains(document.activeElement)||((0,n.default)(r)[0]||r).focus()},0)}}return Yh}var _h,Qh={exports:{}};function Kh(){return _h||(_h=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,s=t.shiftKey,a=n[0],l=n[n.length-1],c=i();if(e===c){if(!s)return;o=l}l!==c||s||(o=a);a===c&&s&&(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+=s?-1:1);if(o=n[d],void 0===o)return t.preventDefault(),void(o=s?l:a).focus();t.preventDefault(),o.focus()};var n,o=Uh(),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}(Qh,Qh.exports)),Qh.exports}var qh,eg,tg={};function ng(){if(eg)return qh;eg=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 qh=e}var og,rg,ig,sg={},ag={exports:{}};function lg(){if(rg)return sg;rg=1,Object.defineProperty(sg,"__esModule",{value:!0}),sg.canUseDOM=sg.SafeNodeList=sg.SafeHTMLCollection=void 0;var e,t,n=(og||(og=1,e=ag,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}()),ag.exports);var o=((t=n)&&t.__esModule?t:{default:t}).default,r=o.canUseDOM?window.HTMLElement:{};return sg.SafeHTMLCollection=o.canUseDOM?window.HTMLCollection:{},sg.SafeNodeList=o.canUseDOM?window.NodeList:{},sg.canUseDOM=o.canUseDOM,sg.default=r,sg}function cg(){if(ig)return tg;ig=1,Object.defineProperty(tg,"__esModule",{value:!0}),tg.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},tg.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 ----------")}},tg.assertNodeList=i,tg.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},tg.validateElement=s,tg.hide=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=s(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}}},tg.show=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=s(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}}},tg.documentNotReadyOrSSRTesting=function(){r=null};var e,t=ng(),n=(e=t)&&e.__esModule?e:{default:e},o=lg();var r=null;function i(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function s(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 tg}var ug,dg={};function pg(){if(ug)return dg;ug=1,Object.defineProperty(dg,"__esModule",{value:!0}),dg.resetState=function(){var o=document.getElementsByTagName("html")[0];for(var r in e)n(o,e[r]);var i=document.body;for(var s in t)n(i,t[s]);e={},t={}},dg.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 dg.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},dg.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},dg}var fg,mg={};function hg(){if(fg)return mg;fg=1,Object.defineProperty(mg,"__esModule",{value:!0}),mg.log=function(){console.log("portalOpenInstances ----------"),console.log(t.openInstances.length),t.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},mg.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 mg.default=t,mg}var gg,bg,vg={};function xg(){return bg||(bg=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}}(),s=t,a=g(Xh()),l=h($h()),c=g(Kh()),u=h(cg()),d=h(pg()),p=lg(),f=g(p),m=g(hg());function h(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(gg)return vg;gg=1,Object.defineProperty(vg,"__esModule",{value:!0}),vg.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=[]},vg.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=hg(),n=(e=t)&&e.__esModule?e:{default:e},o=void 0,r=void 0,i=[];function s(){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",s),(r=o.cloneNode()).addEventListener("focus",s)),(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 b={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},v=0,x=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,s=e.parentSelector,a=s&&s().ownerDocument||document;i&&d.remove(a.body,i),r&&d.remove(a.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(),m.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:b[e],afterOpen:b[e]+"--after-open",beforeClose:b[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,s=i&&i().ownerDocument||document;r&&d.add(s.body,r),o&&d.add(s.getElementsByTagName("html")[0],o),n&&(v+=1,u.hide(t)),m.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,r=e.overlayClassName,i=e.defaultStyles,s=e.children,a=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({},a,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,s);return this.props.overlayElement(c,d)}}]),t}(s.Component);x.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},x.propTypes={isOpen:a.default.bool.isRequired,defaultStyles:a.default.shape({content:a.default.object,overlay:a.default.object}),style:a.default.shape({content:a.default.object,overlay:a.default.object}),className:a.default.oneOfType([a.default.string,a.default.object]),overlayClassName:a.default.oneOfType([a.default.string,a.default.object]),parentSelector:a.default.func,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,ariaHideApp:a.default.bool,appElement:a.default.oneOfType([a.default.instanceOf(f.default),a.default.instanceOf(p.SafeHTMLCollection),a.default.instanceOf(p.SafeNodeList),a.default.arrayOf(a.default.instanceOf(f.default))]),onAfterOpen:a.default.func,onAfterClose:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,role:a.default.string,contentLabel:a.default.string,aria:a.default.object,data:a.default.object,children:a.default.node,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func,testId:a.default.string},n.default=x,e.exports=n.default}(Hh,Hh.exports)),Hh.exports}function yg(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function Cg(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function wg(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}}yg.__suppressDeprecationWarning=!0,Cg.__suppressDeprecationWarning=!0,wg.__suppressDeprecationWarning=!0;var Ig,Ng,Ag=_d(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,s="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 "+s+" 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=yg,t.componentWillReceiveProps=Cg),"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=wg;var a=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;a.call(this,e,t,o)}}return e}}));function jg(){if(Ig)return hh;Ig=1,Object.defineProperty(hh,"__esModule",{value:!0}),hh.bodyOpenClassName=hh.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,r=f(o),i=f(l),s=f(Xh()),a=f(xg()),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}(cg()),u=lg(),d=f(u),p=Ag;function f(e){return e&&e.__esModule?e:{default:e}}function m(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 h=hh.portalClassName="ReactModalPortal",g=hh.bodyOpenClassName="ReactModal__Body--open",b=u.canUseDOM&&void 0!==i.default.createPortal,v=function(e){return document.createElement(e)},x=function(){return b?i.default.createPortal:i.default.unstable_renderSubtreeIntoContainer};function y(e){return e()}var C=function(t){function o(){var t,n,s;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);for(var l=arguments.length,c=Array(l),u=0;u<l;u++)c[u]=arguments[u];return n=s=m(this,(t=o.__proto__||Object.getPrototypeOf(o)).call.apply(t,[this].concat(c))),s.removePortal=function(){!b&&i.default.unmountComponentAtNode(s.node);var e=y(s.props.parentSelector);e&&e.contains(s.node)?e.removeChild(s.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.')},s.portalRef=function(e){s.portal=e},s.renderPortal=function(t){var n=x()(s,r.default.createElement(a.default,e({defaultStyles:o.defaultStyles},t)),s.node);s.portalRef(n)},m(s,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&&(b||(this.node=v("div")),this.node.className=this.props.portalClassName,y(this.props.parentSelector).appendChild(this.node),!b&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:y(e.parentSelector),nextParent:y(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 s=n.prevParent,a=n.nextParent;a!==s&&(s.removeChild(this.node),a.appendChild(this.node)),(e.isOpen||r)&&!b&&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&&b?(!this.node&&b&&(this.node=v("div")),x()(r.default.createElement(a.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 C.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},C.defaultProps={isOpen:!1,portalClassName:h,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 r.default.createElement("div",e,t)},contentElement:function(e,t){return r.default.createElement("div",e,t)}},C.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,p.polyfill)(C),"production"!==process.env.NODE_ENV&&(C.setCreateHTMLElement=function(e){return v=e}),hh.default=C,hh}var Eg=$d((Ng||(Ng=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,o=jg(),r=(n=o)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default}(mh,mh.exports)),mh.exports));var Sg=$d(Xh()),kg=!1,Pg="production"!==process.env.NODE_ENV?Sg.oneOfType([Sg.number,Sg.shape({enter:Sg.number,exit:Sg.number,appear:Sg.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&Sg.oneOfType([Sg.string,Sg.shape({enter:Sg.string,exit:Sg.string,active:Sg.string}),Sg.shape({enter:Sg.string,enterDone:Sg.string,enterActive:Sg.string,exit:Sg.string,exitDone:Sg.string,exitActive:Sg.string})]);var Tg=t.createContext(null),Rg="unmounted",Gg="exited",Bg="entering",Og="entered",Vg="exiting",Mg=function(e){function n(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=Gg,o.appearStatus=Bg):r=Og:r=t.unmountOnExit||t.mountOnEnter?Rg:Gg,o.state={status:r},o.nextCallback=null,o}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Mu(e,t)}(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Rg?{status:Gg}:null};var o=n.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Bg&&n!==Og&&(t=Bg):n!==Bg&&n!==Og||(t=Vg)}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.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}},o.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Bg){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:l.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Gg&&this.setState({status:Rg})},o.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[l.findDOMNode(this),o],i=r[0],s=r[1],a=this.getTimeouts(),c=o?a.appear:a.enter;!e&&!n||kg?this.safeSetState({status:Og},function(){t.props.onEntered(i)}):(this.props.onEnter(i,s),this.safeSetState({status:Bg},function(){t.props.onEntering(i,s),t.onTransitionEnd(c,function(){t.safeSetState({status:Og},function(){t.props.onEntered(i,s)})})}))},o.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:l.findDOMNode(this);t&&!kg?(this.props.onExit(o),this.safeSetState({status:Vg},function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:Gg},function(){e.props.onExited(o)})})})):this.safeSetState({status:Gg},function(){e.props.onExited(o)})},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.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},o.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:l.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=r[0],s=r[1];this.props.addEndListener(i,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===Rg)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=Gu(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return t.createElement(Tg.Provider,{value:null},"function"==typeof o?o(e,r):t.cloneElement(t.Children.only(o),r))},n}(t.Component);function Lg(){}Mg.contextType=Tg,Mg.propTypes="production"!==process.env.NODE_ENV?{nodeRef:Sg.shape({current:"undefined"==typeof Element?Sg.any:function(e,t,n,o,r,i){var s=e[t];return Sg.instanceOf(s&&"ownerDocument"in s?s.ownerDocument.defaultView.Element:Element)(e,t,n,o,r,i)}}),children:Sg.oneOfType([Sg.func.isRequired,Sg.element.isRequired]).isRequired,in:Sg.bool,mountOnEnter:Sg.bool,unmountOnExit:Sg.bool,appear:Sg.bool,enter:Sg.bool,exit:Sg.bool,timeout:function(e){var t=Pg;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:Sg.func,onEnter:Sg.func,onEntering:Sg.func,onEntered:Sg.func,onExit:Sg.func,onExiting:Sg.func,onExited:Sg.func}:{},Mg.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Lg,onEntering:Lg,onEntered:Lg,onExit:Lg,onExiting:Lg,onExited:Lg},Mg.UNMOUNTED=Rg,Mg.EXITED=Gg,Mg.ENTERING=Bg,Mg.ENTERED=Og,Mg.EXITING=Vg;const Wg=({size:n="md",shape:o="default",animation:r="popper",centered:i,title:s,isOpen:a,children:l,bodyStyle:c,className:u,bodyClassName:d,portalClassName:p,overlayClassName:f,closeButtonClassName:m,closeWrapperClassName:h,onRequestClose:g,parentSelector:b,hideScrollOnIsOpenFalse:v=!0,hideCloseButton:x=!1,...y})=>{!function(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])}(a,v);const[C,w]=t.useState(!1);t.useEffect(()=>{w(a)},[a]);const I=t.useMemo(()=>{if("undefined"==typeof document)return null;let e=document.querySelector("main")||document.body;return b&&(e=document.querySelector(b)||document.body),e},[b]);if(!I)return null;if(!a)return null;const N=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]),A=(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(Mg,{enter:!0,exit:!0,in:C,timeout:0,children:t=>e.jsxs(Eg,{ariaHideApp:!1,isOpen:a,onRequestClose:g,closeTimeoutMS:0,parentSelector:()=>I,className:Ae("absolute min-w-[150px] max-w-[calc(100vw-30px)] overflow-auto rounded-lg bg-white outline-none",N(n),"rounded"===o&&"rounded-3xl",i&&"top-0 translate-y-[calc(50vh-50%)]",A(r,t),u),portalClassName:Ae("z-80",p),overlayClassName:Ae("z-80 fixed inset-0 bg-black/50 flex items-center justify-center pb-[300px]",f),...y,children:[!x&&e.jsx("div",{className:Ae(h),children:e.jsx(We,{className:Ae("absolute right-0 top-0 float-right h-6 cursor-pointer p-5 text-text",m),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(Re,{name:"close",size:24})})}),s?e.jsx("div",{className:Ae("border-b border-border-secondary-on-bg-fill px-[7px] py-[7px] text-text"),children:s}):null,e.jsx("div",{className:Ae("p-5",d),style:c,"data-testid":y["data-testid"],"data-cy":y["data-cy"],children:l})]})})};Wg.displayName="Modal";exports.Accordion=({items:n,title:o,anchorId:r,background:i="white",enableHeading:s=!1,maxWidth:a=!0,initialExpandedItems:l=[],hashAutoExpand:c=!1,descriptionMaxWidth:u="max-w-[980px]",itemContainerClassName:d})=>{const[p,f]=t.useState(l);t.useEffect(()=>{if(c&&"undefined"!=typeof window){const e=window.location.hash;if(e){const t=e.substring(e.indexOf("#")+1);f(e=>e.includes(t)?e:[...e,t])}}},[c]);return e.jsx("section",{id:r,className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]",cream500:"bg-[#FFFEEF]"}[i]} flex flex-col px-2 pb-20 pt-4 md:px-10`,children:e.jsxs("div",{className:""+(a?"max-w-120 xl:mx-auto":""),children:[e.jsx(Ge,{as:s?"h1":"h2",className:"heading2 mb-10 pt-12 text-left text-text md:heading1 lg:text-center",children:o}),e.jsx("div",{className:`pt-6 md:pt-10 ${null!=d?d:""}`,children:null==n?void 0:n.map((t,o)=>{const r=t.anchorId||`item-${o}`,i=t.anchorId?p.includes(t.anchorId):void 0;return e.jsxs("div",{id:t.anchorId,className:"snap-start scroll-mt-48 lg:scroll-mt-60",children:[e.jsx(Fe,{title:t.title,defaultOpen:i,containerClassName:"border-none",buttonClassName:"p-0 label1",titleClassName:"label3 md:label1 text-text",className:"p-0 pt-6 text-text",iconClassName:"text-icon",borderRadiusNone:!0,openOnlyOnDesktop:!1,...t.anchorId&&{onClick:()=>{return e=t.anchorId,void f(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);var e}},children:e.jsx("div",{className:u,children:e.jsx(Ge,{as:"div",children:t.description})})}),o<n.length-1&&e.jsx(Xe,{className:"my-6 md:my-10"},`divider-${o}`)]},r)})})]})})},exports.AddressInputBanner=t=>{const{title:n,variant:o="yellow",cta:r,navHeight:i,isVisible:s,renderCheckPlans:a}=t,l=ph[null==o?void 0:o.toLowerCase()]||ph.yellow;if(!s)return null;const c=(null==r?void 0:r.buttonLabel)||"Check plans",u=null==a?void 0:a({ctaText:c,buttonVariant:null==r?void 0:r.buttonVariant,showButtonAs:"solid",cta:r});return e.jsxs("div",{style:{top:`${i}px`},className:Ae(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 lg:fixed bg-${l.bg} text-${l.text}`,"flex flex-col items-center justify-center gap-3 p-[10px] lg:flex-row lg:gap-8 lg:px-6 lg:py-[10px]"),children:[e.jsx(Ge,{className:"label3 w-full text-center text-text lg:w-auto lg:text-left",children:n}),u]})},exports.AnchoredBottomBanner=({ctaSuffixText:t,backgroundColor:n,iconName:o,boxShadow:r,ctaButtonLabel:i,ctaButtonLink:a,ctaButtonTarget:l,anchorId:c="anchored-banner"})=>{const u=n?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent"}[n]:"bg-bg-fill-brand-accent",d="yellow"===n||!n?"text-text-primary":"text-white";return e.jsx("section",{id:c,children:e.jsx("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${u} ${r||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e.jsx(s,{href:a||"#",target:l||"_self",className:"max-w-screen-xl w-full transition-all",children:e.jsx("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:e.jsxs("div",{className:`${d} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[o&&e.jsx(Re,{name:o,size:24,fill:1,className:`${d} align-text-bottom`}),i&&i," ",t&&e.jsx("span",{className:"ml-0.5",children:t})]})})})})})},exports.BlogCard=ze,exports.BlogGrid=function({paginatedArticles:t,totalArticles:n,currentPage:o,totalPages:r,selectedCategory:i,categoryOptions:s}){const a=c.useRouter(),l=c.usePathname(),u=c.useSearchParams();function d(e,t){const n=new URLSearchParams(u.toString());t?n.set(e,t):n.delete(e),"category"===e&&n.delete("page"),a.push(`${l}?${n.toString()}`,{scroll:!1})}return e.jsxs("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[e.jsxs("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e.jsx(Ge,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:"recent articles"}),e.jsxs("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[e.jsxs(Ge,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e.jsx(Ge,{as:"span",className:"hidden md:block",children:"showing"}),e.jsxs("strong",{className:"block text-nowrap font-bold text-text-info",children:[e.jsxs(Ge,{as:"span",className:"md:hidden",children:["showing"," "]}),t.length," of ",n," articles"]})]}),e.jsx(dh,{options:s,value:i,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;d("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),t.length>0?e.jsx("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:t.map((t,n)=>{var o,r,i,s,a;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.url)?{src:null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url,alt:(null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.width)||600,height:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.height)||338}:void 0;return e.jsx(ze,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e.jsx(Ge,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),r>1&&e.jsx(Nu,{currentPage:o,totalPages:r,onPageChange:function(e){d("page",1===e?"":e.toString()),window.scrollTo({top:0,behavior:"smooth"})},ariaLabel:"Blog article pagination"})]})},exports.BreadcrumbNavigation=t=>{const{links:n=[],textColor:o="dark",maxWidth:r=!0}=t,i="dark"===o?"text-white xl:text-text":"text-text xl:text-white";return n.length?e.jsx("nav",{"aria-label":"Breadcrumb",className:(r?"mx-5 max-w-120 xl:mx-auto":"mx-auto")+" relative",children:e.jsx("ol",{className:"relative right-0 z-10 mt-4 flex w-full flex-nowrap items-center gap-2 xl:absolute xl:flex-wrap",children:n.map((t,o)=>o===n.length-1?e.jsx("li",{className:"flex min-w-0 items-center",children:e.jsx(Ge,{as:"span",className:`body3 mr-2 break-words ${i}`,children:t.buttonLabel})},o):e.jsxs("li",{className:"flex flex-none items-center",children:[e.jsx(Ye,{...t,linkClassName:`label3 mr-2 whitespace-nowrap ${i}`,linkVariant:"unstyled"}),e.jsx(Re,{name:"chevron_right",className:`${i} `})]},o))})}):null},exports.Button=Ye,exports.Callout=({title:t,items:n,enableHeading:o=!1,subtitle:r,color:i="dark",maxWidth:s=!0,maxCardsPerRow:a,cardType:l="simple"})=>{const c={1:" lg:w-full",2:" lg:w-[calc(50%-0.75rem)]",3:" lg:w-[calc(33.3333%-1rem)]",4:" lg:w-[calc(25%-1.125rem)]"}[a||4]||" lg:w-[calc(25%-1.125rem)]",u=1===n.length?" md:w-full":" md:w-[calc(50%-1rem)]";return e.jsx("div",{className:"component-container",children:e.jsx("div",{className:`mx-5 mb-5 mt-12 ${s?"max-w-120 xl:mx-auto":""} ${"dark"==i?"text-text":"text-white"}`,children:e.jsxs("div",{className:"callout-container flex flex-col gap-10 md:gap-16",children:[e.jsxs("div",{className:"title-holder",children:[t&&e.jsx(Ge,{as:o?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:t}),r&&e.jsx(Ge,{as:o?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:r})]}),e.jsx("div",{className:"card-holder flex flex-wrap items-stretch justify-center gap-6 self-stretch md:gap-6",children:n.map((t,n)=>((t,n)=>{if("blog"===l){const n=t;return e.jsx(ze,{title:n.title,href:n.slug,description:n.shortDescription,date:n.blogCreationDate,category:n.category,image:n.cover,asGrid:!1,lgWidth:c,mdWidth:u})}return e.jsx(_e,{card:t,lgWidth:c,mdWidth:u},n)})(t,n))})]})})})},exports.Cards=({fields:t})=>e.jsx("div",{children:e.jsx(Ge,{children:"Cards"})}),exports.Carousel=({fields:t,hasTestimonialCards:n,hasProductCards:o,disclaimerText:r,backgroundColor:i,activeTab:s,setActiveTab:a,tabs:l,onModalButtonClick:c,renderCheckPlans:u,testimonialAutoScroll:d=!0,showSwitch:p=!1})=>{const f=o?"px-3 py-9 md:py-20":n?"px-3 py-12 md:pt-20 md:pb-16":"";return e.jsxs("div",{className:`${i} ${f} mx-auto overflow-hidden`,children:[e.jsxs("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-8 overflow-visible md:gap-12",children:[e.jsxs("div",{children:[e.jsx(Ge,{as:"h2",className:"heading2 text-text md:heading1 md:text-center",children:null==t?void 0:t.title}),(null==t?void 0:t.subTitle)&&e.jsx(Ge,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==t?void 0:t.subTitle})]}),p&&o&&e.jsxs("div",{className:"flex flex-col gap-8",children:[p&&o&&l.length>1&&e.jsx(rt,{tabs:l,activeTab:s,onChange:a}),o&&e.jsx(tt,{onModalButtonClick:c,renderCheckPlans:u,fields:t})]}),n&&e.jsx(ot,{fields:t,autoScroll:d,autoScrollInterval:8e3})]}),r&&e.jsx(Ge,{as:"div",className:"footnote mt-8 px-4 text-center text-text-secondary",children:r})]})},exports.CartRetentionBanner=({fields:n,isInPopupContainer:o=!1,onClose:r,onContinueCheckout:i,checkShouldShowBanner:s,onBannerShown:a})=>{var l,c;const{anchorId:u,mainHeading:d,description:p,cta:f}=n,[m,h]=t.useState(!1);t.useEffect(()=>{const e=()=>{(null==s?void 0:s())&&!m&&(h(!0),null==a||a())};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[]);const g=()=>{null==i||i()};return o?e.jsxs("div",{className:"mb-5 mt-10 flex w-full flex-col items-center justify-center",children:[e.jsx(Ge,{className:"heading5 lg:heading3 text-center",children:d||"Welcome back. Let’s finish your order"}),p&&Me(Se(null==p?void 0:p.json),!1,"body1 my-4"),e.jsx(We,{onClick:g,children:null!==(l=null==f?void 0:f.buttonLabel)&&void 0!==l?l:"Continue checkout"})]}):e.jsx("section",{id:u,"data-testid":"cart-retention-banner",children:e.jsx(Wg,{size:"sm",isOpen:m,onRequestClose:()=>{null==r||r(),h(!1)},bodyClassName:"flex items-center justify-center",children:e.jsxs("div",{className:"mb-5 mt-10 flex w-full flex-col items-center justify-center",children:[e.jsx(Ge,{className:"heading5 lg:heading3 text-center",children:d||"Welcome back. Let&apos;s finish your order"}),p&&Me(Se(null==p?void 0:p.json),!1,"body1 my-4"),e.jsx(We,{onClick:g,children:null!==(c=null==f?void 0:f.buttonLabel)&&void 0!==c?c:"Continue checkout"})]})})})},exports.ComparisonTable=({title:t,disclaimer:n,table:o,maxWidth:r=!0})=>e.jsx("div",{className:"component-container",children:e.jsxs("div",{className:"mx-5 mb-5 mt-8 lg:mt-10 "+(r?"max-w-120 xl:mx-auto":""),children:[e.jsx(Ge,{as:"h2",className:"heading2 lg:heading1 lg:text-center",children:t}),e.jsx("div",{className:"comparison-table-container mt-20 xl:mt-10",children:o}),e.jsx(Ge,{as:"div",className:"micro mt-8 text-center",children:n})]})}),exports.CookieBanner=function({content:r}){let i=3;const[s,a]=t.useState(!1),[l,c]=t.useState(!1),u=t.useRef(null);t.useEffect(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=o.get(e);return t?n.Base64.decode(t):null}("cookieBannerClosed");a("true"!==e)},[]),t.useEffect(()=>{(()=>{const e=document.getElementById("anchored-banner");c(!!e)})()},[]),t.useEffect(()=>{var e,t,n,o;return s?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(o=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===o||o.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[s]),t.useEffect(()=>{if(!s)return;const e=()=>{if(u.current){const e=u.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let o;const r=()=>{clearTimeout(o),o=setTimeout(e,150)};return window.addEventListener("resize",r),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(o),window.removeEventListener("resize",r),document.documentElement.style.removeProperty("--cookie-banner-height")}},[s,l]),l&&(i=14);const d=4*i;return s?e.jsxs("div",{id:"cookie-banner",ref:u,className:"fixed z-[1000] max-w-[350px] rounded-xl bg-white py-5 pl-6 pr-12 text-black shadow-lg ring-1 ring-gray-900/10 md:max-w-[656px]",style:{bottom:"0px",right:"20px",marginBottom:`${d}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e.jsx(Ye,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);a(!1),((e,t,r)=>{if("undefined"==typeof window)return;const i=JSON.stringify(t),s=n.Base64.encode(i);o.set(e,s,r)})("cookieBannerClosed",!0,{expires:e})},children:e.jsx(Re,{name:"close"})}),r.richText?e.jsx("div",{className:"mx-auto my-4 [&>a]:footnote",children:r.richText}):null]}):null},exports.CtaCallout=({title:t,background:n="white",button:o,color:r,contentAlignment:i,description:s,descriptionAlignment:a,enableHeading:l,subTitle:c,maxWidth:u=!0,onModalButtonClick:d,renderCheckPlans:p})=>e.jsx("div",{className:`${{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-bg"}[n]} component-container px-5 py-16 lg:px-13 lg:py-24`,children:e.jsxs("div",{className:`${u?"mx-auto max-w-120":""} color-${r} flex flex-col ${"dark"==r?"text-text":"text-text-inverse"}`,children:[t&&e.jsx(Ge,{as:l?"h1":"h2",className:`heading2 lg:heading1 text-${i}`,children:t}),c&&e.jsx(Ge,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${i}`,children:c}),s&&e.jsx("div",{className:`pt-2 text-body1 lg:pt-3 text-${a}`,children:s}),e.jsx("div",{className:"flex justify-center pt-5 lg:pt-14",children:e.jsx(Ye,{...o,renderCheckPlans:p,onModalButtonClick:d,size:{base:"large"}})})]})}),exports.DynamicTabs=function(n){var o,r,i;const[s,a]=t.useState(0),[l,c]=t.useState(""),{title:u,subTitle:d,tabs:p,tabsContent:f,navigationType:m=!0,mobileSidebarTabType:h=!0}=n;t.useEffect(()=>{if("undefined"!=typeof window){c(window.location.hash);const e=()=>{c(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}},[]),t.useEffect(()=>{var e;null===(e=null==p?void 0:p.items)||void 0===e||e.some((e,t)=>{if(`#${(null==e?void 0:e.anchorId)||"tab-"+t}`===l)return a(t),!0})},[p,l]);const g=(e,t)=>{a(e),"undefined"!=typeof window&&l&&(window.location.hash=t||"")},b=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e.jsx("div",{className:"flex w-max gap-10",children:null===(o=null==p?void 0:p.items)||void 0===o?void 0:o.map((t,n)=>e.jsx(Ye,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Ae("py-2 whitespace-nowrap",n===s?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},n))})}),null==f?void 0:f.map((t,n)=>e.jsx("div",{children:e.jsx(xl,{children:e.jsx(pl.div,{initial:{height:0,opacity:0},animate:{height:n===s?"auto":0,opacity:n===s?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))]}),v=e.jsx(e.Fragment,{children:null===(r=null==p?void 0:p.items)||void 0===r?void 0:r.map((t,n)=>e.jsxs("div",{className:"py-5",children:[e.jsxs(Ye,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Ae("w-full flex justify-between items-center px-4 py-5",n===s?"bg-bg-surface-active":""),children:[e.jsx("span",{className:"heading6",children:t.tabName}),e.jsx(Re,{name:n===s?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e.jsx(De,{open:n===s,children:e.jsx("div",{className:Ae("px-4 py-4"),children:null==f?void 0:f[n]})})]},n))}),x=e.jsxs("div",{className:"flex px-5 py-20",children:[e.jsx("div",{className:"rounded-surface-lg border border-border-secondary shadow-lg",children:e.jsx("div",{className:"flex min-w-80 flex-col gap-4 px-6 py-7",children:null===(i=null==p?void 0:p.items)||void 0===i?void 0:i.map((t,n)=>e.jsx(Ye,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Ae("px-4 py-3 whitespace-nowrap text-left rounded-button-sm",n===s?"label1 text-white bg-bg-inverse":"body1"),children:t.tabName},n))})}),e.jsx("div",{className:"grow",children:null==f?void 0:f.map((t,n)=>e.jsx("div",{children:e.jsx(xl,{children:e.jsx(pl.div,{initial:{height:0,opacity:0},animate:{height:n===s?"auto":0,opacity:n===s?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))})]});return e.jsxs("div",{children:[u||d?e.jsxs("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[u?e.jsx(Ge,{className:"heading2 px-5 md:heading1 md:text-center",children:u}):null,d?e.jsx(Ge,{className:"subheading3 px-5 md:subheading1 md:text-center",children:d}):null]}):null,e.jsx("div",{className:"md:hidden",children:h?b:v}),e.jsx("div",{className:"hidden md:block",children:m?b:x})]})},exports.EmailInputBlock=n=>{const{anchorId:o="email-input",title:r,subTitle:i,emailInputDescription:s,inputPlaceholder:a="Enter your email here",ctaText:l="Sign me up",caption:c,backgroundColor:u="green",successFeedback:d,onSubmit:p}=n||{},f={navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",yellow:"bg-bg-fill-brand-accent",white:"bg-white"},m=f[u]||f.green,h=["green","blue","navy"].includes(u)?"text-white":"text-text",[g,b]=t.useState(""),[v,x]=t.useState(!1),[y,C]=t.useState("");return e.jsxs("section",{id:o,className:"w-full px-4 py-8 md:px-0",children:[e.jsx("div",{className:`mx-auto max-w-[1200px] overflow-hidden rounded-[32px] md:rounded-[20px] ${m} flex flex-col items-start p-8 md:p-16`,children:e.jsxs("div",{className:"lg:w-[548px]",children:[r&&e.jsx("h1",{className:`text-heading1 font-black ${h}`,children:r}),i&&e.jsx("h2",{className:`text-heading1 font-black ${h}`,children:i}),s&&e.jsx("p",{className:`mb-10 text-subheading1 opacity-95 ${h}`,children:s}),e.jsxs("div",{className:"max-w-2xl flex w-full items-center overflow-hidden rounded-3xl border border-transparent bg-white p-1.5 shadow-xl transition-all md:p-2",children:[e.jsx("input",{type:"email",placeholder:a,value:g,onChange:e=>{b(e.target.value),y&&C(""),v&&x(!1)},className:"w-full flex-grow bg-transparent px-6 py-3 text-lg font-medium text-text outline-none placeholder:text-input-icon-placeholder md:py-4"}),e.jsx(Ye,{buttonLabel:l,buttonVariant:"primary_inverse",onClick:()=>{(e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))(g)?(p({email:g}),b(""),x(!0),C("")):C("Please enter a valid email address.")}})]}),y&&e.jsx("p",{className:"mt-2 text-label4 font-semibold text-text-critical",children:y}),d&&v&&!y&&e.jsx("p",{className:`mt-2 text-label4 font-semibold ${h}`,children:d})]})}),c&&e.jsx("p",{className:"mx-auto mt-2 max-w-[1200px] px-6 md:px-8",children:c})]})},exports.FindKinetic=({background:t="white",description:n,enableHeading:o,image:r,list:i=[],subTitle:s,title:a,color:l="dark",maxWidth:c=!0})=>e.jsx("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[t]} component-container overflow-hidden ${"dark"==l?"text-text":"text-white"}`,children:e.jsxs("div",{className:(c?"max-w-120 xl:mx-auto":"")+" mx-5 mb-5 mt-12 xl:my-20",children:[a&&e.jsx(Ge,{as:o?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:a}),s&&e.jsx(Ge,{as:o?"h2":"h3",className:"heading3 mt-4 text-center",children:s}),e.jsxs("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[e.jsxs("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[n&&e.jsx(Ge,{as:"p",className:"body1",children:n}),i.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("ul",{className:"grid w-full grid-cols-2 gap-x-6 gap-y-5 md:hidden",children:(()=>{const t=[...i].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),o=[];for(let e=0;e<n;e++)for(let r=0;r<2;r++){const i=r*n+e;i<t.length&&o.push(t[i])}return o.map((t,n)=>e.jsx("li",{children:e.jsx(Oe,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e.jsx("ul",{className:"hidden gap-x-6 gap-y-5 md:grid md:grid-cols-3",children:(()=>{const t=[...i].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),o=[];for(let e=0;e<n;e++)for(let r=0;r<3;r++){const i=r*n+e;i<t.length&&o.push(t[i])}return o.map((t,n)=>e.jsx("li",{children:e.jsx(Oe,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),r&&e.jsx("aside",{className:"hidden xl:block",children:e.jsx($e,{width:472,height:100,src:r,alt:"image"})})]})]})}),exports.FloatingBanner=({title:t,subtitle:n,description:o,disclaimer:r,icon:i,cta:s,background:a="navy",color:l="light",enableHeading:c,maxWidth:u=!0})=>e.jsx("div",{className:"component-container",children:e.jsxs("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-surface-lg xl:mx-auto "+(u?"max-w-120":""),children:[e.jsxs("div",{className:`flex flex-col rounded-surface px-5 py-7 lg:flex-row lg:gap-5 lg:rounded-surface-lg lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[a]} ${"dark"==l?"text-text":"text-white"} `,children:[i&&e.jsx("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e.jsx("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e.jsx($e,{width:80,height:80,alt:"icon",src:i})})}),e.jsxs("div",{className:"flex w-full flex-col justify-center lg:w-4/5",children:[t&&e.jsx(Ge,{as:c?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:t}),n&&e.jsx(Ge,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:n}),o&&e.jsx(Ge,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:o})]}),s&&e.jsx("div",{className:"mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center",children:e.jsx(Ye,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),r&&e.jsx("div",{children:e.jsx(Ge,{as:"div",className:"body3 mt-3 text-center",children:r})})]})}),exports.Footer=({body:n,links:o,bottomLinks:r,copyrights:i,terms:s,maxWidth:a=!0,onClick:l})=>{function c(e){null==l||l(e)}return e.jsx("div",{className:"component-container bg-bg-inverse text-white",children:e.jsxs("div",{className:` ${a?"mx-auto max-w-120":""} px-5 py-8`,children:[e.jsx("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:n}),e.jsx(Xe,{className:"my-8 border-border-inverse lg:my-16"}),e.jsx("div",{className:"grid-1 grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:null==o?void 0:o.map((n,o)=>{var r,i;return e.jsxs(t.Fragment,{children:[e.jsx("div",{children:e.jsxs("nav",{"aria-labelledby":`footer-${null==n?void 0:n.title}`,className:"site-links-group",children:[e.jsx(Ge,{as:"div",className:"label3",children:null==n?void 0:n.title}),e.jsx("ul",{className:"flex flex-col",children:null===(i=null===(r=null==n?void 0:n.items)||void 0===r?void 0:r.items)||void 0===i?void 0:i.map((t,n)=>e.jsx("li",{className:"pt-3",children:e.jsx(Ye,{...t,linkVariant:"unstyled",linkClassName:"text-white body3 hover:underline underline-offset-4",onClick:c})},`site-links-${n}`))})]},`link-group-${o}`)},`footer-link-group-${o}`),e.jsx(Xe,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${o}`)})}),e.jsxs("div",{className:"py-8",children:[e.jsx(Xe,{className:"my-8 hidden border-border-inverse md:my-8 md:block"}),e.jsxs("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",s]}),e.jsx("p",{className:"copy-rights whitespace-pre-line",children:i}),e.jsx("nav",{"aria-label":"Footer legal",children:e.jsx("ul",{className:"bottom-links list-none",children:null==r?void 0:r.map((t,n)=>e.jsx("li",{className:"relative float-left pl-[8px] before:absolute before:left-[3px] before:top-1/2 before:-translate-y-1/2 before:text-[14px] before:content-['•'] first-of-type:pl-0 first-of-type:before:content-['']",children:e.jsx(Ye,{...t,linkClassName:"footnote text-white hover:underline underline-offset-4",linkVariant:"unstyled",onClick:c})},`links-${n}`))})})]})]})})},exports.ImagePromoBar=({brow:n,enableHeading:o,title:r,subTitle:i,ctaDisclaimer:s,disclaimer:a,description:l,image:c,imageLinks:u,mediaPosition:d=!0,checklist:p,secondaryCta:f,cta:m,videoLink:h,maxWidth:g=!0,color:b="light",imageWidth:v=660,imageHeight:x=660,onModalButtonClick:y,renderCheckPlans:C})=>{var w,I;const[N,A]=t.useState(""),[j,E]=t.useState(!1),S=null!==(w=null==h?void 0:h.link)&&void 0!==w?w:"",k=null==h?void 0:h.image,P=null!==(I=null==h?void 0:h.videoPopup)&&void 0!==I&&I,T=Boolean(N&&N===S),R=h&&k?S.includes("vimeo")?e.jsx(st,{link:S,autoplay:T}):e.jsx(at,{link:S,autoplay:T}):null;return e.jsxs("div",{className:"component-container",children:[e.jsx("div",{className:`image-promo-bar-content ${g?"max-w-120 lg:mx-auto":""} mx-5 my-16`,children:e.jsxs("div",{className:"flex shrink-0 flex-col items-center gap-8 lg:items-stretch lg:gap-10 xl:gap-[126px] "+(d?"lg:flex-row-reverse":"lg:flex-row"),children:[e.jsxs("div",{className:"flex flex-[1_0_0] flex-col items-start justify-center gap-8 lg:gap-10 "+("dark"==b?"text-text":"text-white"),children:[e.jsxs("div",{className:"heading holder",children:[n&&e.jsx(Ge,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),r&&e.jsx(Ge,{as:o?"h1":"h2",className:"heading2 xl:heading1",children:r}),i&&e.jsx(Ge,{as:o?"h2":"h3",className:"subheading3 mt-3 md:subheading1",children:i})]}),l&&e.jsx(Ge,{as:"div",className:"body1",children:l}),p.length>0&&e.jsx(Be,{items:p,iconPosition:"top",iconSize:24,listItemClassName:"body1 text-text",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3"}),u.length>0&&e.jsx("div",{className:"flex gap-4",children:null==u?void 0:u.map((t,n)=>e.jsx("div",{className:"image-link w-[147px]",children:e.jsx(Oe,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e.jsx(Qe,{src:t.image,alt:"icon-link"})})},n))}),(m||f)&&e.jsxs("div",{className:"flex w-full flex-col gap-3 xl:flex-row",children:[m&&e.jsx("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e.jsx(Ye,{...m,fullWidth:!0,size:{base:"large"},renderCheckPlans:C,onModalButtonClick:y})}),f&&e.jsx("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e.jsx(Ye,{...f,fullWidth:!0,size:{base:"large"},renderCheckPlans:C,onModalButtonClick:y})})]}),s&&e.jsx("div",{children:s}),a&&e.jsx("div",{children:a})]}),e.jsxs("aside",{className:"flex w-full shrink-0 items-center justify-center lg:w-auto",children:[c&&e.jsx("div",{className:"relative h-[334px] w-[334px] overflow-hidden rounded-image md:h-[486px] md:w-[486px]",children:e.jsx($e,{src:c,alt:"section-image",fill:!0,sizes:"(min-width: 768px) 486px, 334px",className:"object-cover"})}),(null==h?void 0:h.link)&&e.jsxs("div",{className:Ae("video-section relative w-full cursor-pointer overflow-hidden rounded-image transition-all duration-300 lg:w-[486px]",!T&&"hover:shadow-2xl"),onClick:()=>{var e;A(null!==(e=null==h?void 0:h.link)&&void 0!==e?e:"")},onMouseEnter:()=>E(!0),onMouseLeave:()=>E(!1),children:[e.jsxs("div",{className:Ae(T&&!P&&"hidden",T&&!P?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[h.image&&e.jsx($e,{src:h.image,alt:"Video preview",width:486,height:486,className:"absolute inset-0 h-full w-full rounded-image object-cover"}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx(it,{isHovered:j})})]}),!P&&T&&e.jsx("div",{className:Ae("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",T?"opacity-100":"opacity-0"),children:R})]})]})]})}),P&&T&&e.jsx("div",{className:"fixed inset-0 top-20 z-[100] flex items-center justify-center bg-black/80 p-4 transition-all duration-300",onClick:e=>{e.stopPropagation(),A("")},children:e.jsx("div",{className:"max-w-6xl aspect-video w-full overflow-hidden rounded-3xl bg-black shadow-2xl md:w-4/6",onClick:e=>e.stopPropagation(),children:R})})]})},exports.Modal=t=>{const{isOpen:n,onRequestClose:o,size:r,title:i,content:s,description:a,children:l,bodyClassName:c,type:u="modal",index:d=0}=t;return e.jsx(xu,{open:n,onOpenChange:()=>n&&(null==o?void 0:o()),children:e.jsxs(yu,{children:[e.jsx(pl.div,{initial:"closed",animate:n?"open":"closed",variants:gt,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e.jsx(Cu,{})}),e.jsx("div",{className:"pointer-events-none fixed inset-0 z-[1001] flex items-center justify-center",children:e.jsx(pl.div,{initial:"closed",animate:n?"open":"closed",variants:bt,transition:{type:"tween",duration:.3,ease:"easeInOut"},className:"pointer-events-auto w-[calc(100vw-10px)] focus:outline-none sm:w-[calc(100vw-90px)]",children:e.jsx(wu,{className:Ae("relative mx-auto w-full rounded-modal bg-bg p-[25px] shadow-drop focus:outline-none",c),style:{maxWidth:vt[r||"lg"]},children:e.jsxs("div",{"data-section-type":u,"data-section-index":d,children:[e.jsx(Iu,{asChild:!0,children:e.jsx(Ye,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e.jsx(Re,{name:"close"})})}),e.jsxs("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[i?e.jsx(Ge,{className:Ae("mb-3 mt-5 w-full pr-8 text-center sm:pr-0","heading5 md:pt-0","mb-4 md:mb-[60px]"),as:"h2",children:i}):null,a?e.jsx(Ge,{as:"div",className:"mb-8 sm:mb-5",children:a}):null,e.jsxs("div",{className:"flex flex-col gap-4 sm:gap-5",children:[s,l||null]})]})]})})})})]})})},exports.Navigation=t=>{const{primaryNavigationLinks:n,utilityNavigationLinks:o,checkPlansJSX:r,primaryNavigationLogo:i,accountNavigationLinks:s,supportNavigationLinks:a,searchBarIcon:l,invocaPhoneNumberLink:c,invocaPhoneNumberDisplayText:u,onSearch:d=()=>{}}=t;return e.jsxs("div",{className:"component-container",children:[e.jsxs("nav",{className:"menu-container z-[1000]",children:[e.jsx("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",children:e.jsxs("div",{className:"mx-auto flex max-w-120 justify-between",children:[e.jsx("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==o?void 0:o.map((t,n)=>e.jsx("li",{children:e.jsx(Ye,{linkClassName:Ae("footnote flex items-center w-full h-11 text-text",1===n&&"label4"),linkVariant:"unstyled",...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t))})},`main-menu-items-${n}`))}),e.jsxs("div",{className:"flex items-center gap-10",children:[e.jsx(dt,{className:"border-none",href:c,children:e.jsx(Ge,{className:"body3 text-text",children:u})}),null==s?void 0:s.map((t,n)=>e.jsx(lt,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}),e.jsxs("div",{className:"main-nav-container","aria-label":"Main Navigation",children:[e.jsxs("div",{className:"mobile-nav-section flex h-14 items-center justify-between px-5 py-[10px] lg:hidden",children:[e.jsx("div",{children:e.jsx(Oe,{href:"/",className:"flex",children:e.jsx($e,{src:"string"==typeof i?i:(null==i?void 0:i.url)||"",alt:"Kinetic business logo",width:76.5,height:24})})}),e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsx(dt,{href:c,children:e.jsx(Ge,{as:"span",className:"footnote",children:u})}),e.jsx(ft,{...t})]})]}),e.jsx("div",{className:"desktop-nav-section hidden lg:block lg:border-b lg:px-2",children:e.jsxs("div",{className:"mx-auto flex h-14 max-w-120 items-center justify-between",children:[e.jsxs("div",{className:"flex h-full",children:[e.jsx(Oe,{href:"/",className:"flex",children:e.jsx($e,{src:"string"==typeof i?i:(null==i?void 0:i.url)||"",alt:"Kinetic business logo",width:76.5,height:24,className:"mr-[64px]"})}),e.jsx("div",{className:"flex h-full items-center gap-5",children:null==n?void 0:n.map((t,n)=>e.jsx(lt,{anchorName:`main-menu-${n}`,link:t},`main-menu-${n}`))})]}),e.jsxs("div",{className:"flex h-full items-center gap-10",children:[e.jsx(ht,{searchBarIconURL:"string"==typeof l?l:(null==l?void 0:l.url)||"",onSearch:d}),null==a?void 0:a.map((t,n)=>e.jsx(lt,{anchorName:`support-menu-${n}`,link:t},`support-menu-${n}`))]})]})})]})]}),r&&e.jsx("div",{className:"md:hidden",children:r})]})},exports.PrimaryHero=t=>{var n;const{title:o,showAsHeading:r,subTitle:i,primaryCta1:s,carouselImages:a,bottomLink:l,price:c,priceCallout:u,priceSuffix:d,checklist:p,renderCheckPlans:f,badgeImage:m,pricingDescriptionDisclaimer:h,secondaryCta:g,secondaryCtaPrefix:b,onModalButtonClick:v,hideOnMobileCta1:x}=t,y=null!==(n=null==l?void 0:l.buttonLabel)&&void 0!==n?n:null==l?void 0:l.label;return console.log(s),e.jsx("div",{className:"component-container p-5 lg:h-[724px] lg:p-0",children:e.jsxs("div",{className:Ae("primary-hero-container mx-auto flex flex-col sm:items-center sm:text-center lg:h-full lg:max-w-120 lg:flex-row lg:items-center lg:justify-between lg:gap-4 lg:px-4 lg:text-left"),children:[e.jsx("div",{className:Ae("relative flex flex-col text-white sm:w-[485px]"),children:e.jsxs("div",{className:"flex flex-col gap-5 lg:gap-6",children:[o&&e.jsx(Ge,{as:r?"h1":"h2",className:"heading2 lg:heading1",children:o}),i&&e.jsx(Ge,{as:"p",className:"subheading3 lg:subheading1",children:i}),c?e.jsxs("div",{className:"flex sm:justify-center sm:text-left lg:justify-start",children:[e.jsx("div",{className:"mr-2 mt-0.5",children:u?u.split("|").map((t,n)=>e.jsx(Ge,{as:"p",className:"body2",children:t},n)):null}),e.jsxs("div",{className:"flex",children:[e.jsx(Ge,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e.jsx(Ge,{as:"p",className:"subheading5",children:c}),d?e.jsx(Ge,{as:"p",className:"subheading1 mt-0.5",children:d}):null]})]}):null,p&&e.jsx(Be,{listItemClassName:"text-white text-left",items:p.map(e=>e.title)}),e.jsxs("div",{className:"flex flex-col gap-3",children:[s&&e.jsx("div",{className:Ae("md:block",x&&"hidden"),children:e.jsx(Ye,{...s,renderCheckPlans:f,onModalButtonClick:v,fullWidth:!0,buttonClassName:"md:w-auto"})}),b||g?e.jsxs("div",{className:"hidden md:flex",children:[b&&e.jsx(Ge,{as:"span",className:"body2 mr-1",children:b}),g&&e.jsx(Ye,{linkClassName:"body2 text-text-inverse",onModalButtonClick:v,...g})]}):null,l&&(y||(null==l?void 0:l.href))&&e.jsx("div",{className:"hidden md:block",children:e.jsx(Ye,{...l,linkClassName:"text-footnote text-white",onModalButtonClick:v})}),h?e.jsx(Ge,{as:"p",className:"body3 hidden md:block",children:h}):null]})]})}),e.jsxs("div",{className:"lg:hidden",children:[e.jsxs("div",{className:"relative my-8",children:[m?e.jsx($e,{src:m,alt:"Badge",className:"absolute left-5 top-5 aspect-square w-26 object-cover object-center",width:104,height:104,quality:90,loading:"eager"}):null,a&&a[0]?e.jsx($e,{src:a[0],alt:"Hero",className:"aspect-[1.71:1] sm:aspect-[1.41:1] w-full rounded-[40px] object-cover object-center sm:h-[420px]",width:1024,height:600,sizes:"100vw",quality:90,loading:"eager"}):null]}),l&&(y||(null==l?void 0:l.href))&&e.jsx("div",{className:"md:hidden",children:e.jsx(Ye,{...l,onModalButtonClick:v,linkClassName:"body3 text-white"})}),h?e.jsx(Ge,{as:"p",className:"body3 md:hidden",children:h}):null,b||g?e.jsxs("div",{className:"flex md:hidden",children:[b&&e.jsx(Ge,{as:"span",className:"body2 mr-1",children:b}),g&&e.jsx(Ye,{...g,onModalButtonClick:v,linkClassName:"text-white"})]}):null]}),e.jsxs("div",{className:Ae("relative hidden lg:block"),children:[m?e.jsx($e,{src:m,alt:"Badge",className:"absolute -left-26 top-18 aspect-square w-52 object-cover object-center",width:208,height:208,quality:90,loading:"eager"}):null,a&&a[0]?e.jsx($e,{src:a[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,quality:90,loading:"eager"}):null]})]})})},exports.ProductCard=qe,exports.SearchBlock=n=>{const{anchorId:o="SearchBlock",title:r,subTitle:i,enableHeading:s,searchDescription:a,searchInputPlaceholder:l,basicCaption:c,caption:u,backgroundColor:d,color:p,onSubmit:f}=n,[m,h]=t.useState("");return e.jsx("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[d]} ${"dark"==p?"text-text":"text-white"}`,id:o,"data-testid":"search-block",children:e.jsx("div",{className:"flex justify-center",children:e.jsxs("div",{className:"w-[1200px]",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsx(Ge,{as:s?"h1":"h2",className:Ae("heading2 md:heading1"),children:r}),i&&e.jsx(Ge,{as:"div",className:Ae("subheading2 mt-2 md:subheading1"),children:i})]}),a?e.jsx(Ge,{className:"heading6 text-center",children:a}):null,e.jsx("span",{className:"w-full",children:e.jsxs("form",{onSubmit:e=>{e.preventDefault(),null==f||f({searchText:m})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e.jsx(We,{type:"submit",className:"ml-2 inline-flex",children:e.jsx(Re,{name:"search",className:"text-text"})}),e.jsx("div",{className:"flex-grow",children:e.jsx(pt,{value:m,onChange:e=>h(e.target.value),placeholder:l,containerClassName:"px-4 pl-0 rounded-md flex-grow border-none",className:"body3 rounded-md text-text"})})]})}),u||null,c]})})})},exports.ShapeBackgroundWrapper=({children:t,background:n,className:o,fill:r="yellow",maxFit:i,show:s=!0,path:a="path2"})=>{const l=`${a}`,c={blue:"text-[#07B2E2]",green:"text-[#26B170]",yellow:"text-[#F5FF1E]",purple:"text-[#931D69]",white:"text-white",navy:"text-[#00002D]"},u={blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"},d="string"==typeof n&&n in u,p=d?u[n]:void 0,f=n&&!d?{background:n}:void 0,m=r in c?c[r]:"text-[#F5FF1E]";return s?e.jsxs("div",{className:`shape-bg relative overflow-hidden ${null!=o?o:""} ${i?"max-content":""} ${null!=p?p:f?"":"bg-white"}`,style:f,children:["path1"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${l} fill-current ${m}`,width:"2262",height:"4359",viewBox:"0 0 2262 4359",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1838.72 444.021C2216.45 758.242 2351.22 1060.81 2202.83 1982.25C2062.95 2851.55 1923.57 4265.14 1394.48 4348.94C1079.75 4409.66 766.955 4172.68 508.523 4003.04C340.876 3884.89 192.855 3774.9 26.6866 3661.93C-27.6562 3624.7 8.69435 3542.15 74.1261 3555.69C415.628 3626.61 686.916 3615.36 942.942 3443.48C1410.95 3163.54 1632.32 2141.02 1629.56 1543.75C1637.51 910.76 1276.06 582.318 829.643 352.709C587.562 235.528 333.508 169.963 100.699 149.757C31.9431 143.965 25.0259 47.9703 92.459 33.1281C623.196 -84.6769 1404.59 131.886 1839.84 443.573"})}),"path2"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${l} fill-current ${m}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.09 4009.1 647.09 3634.26 264.38C3417.79 27.9944 3025.37 31.7818 2716.76 13.9013C2511.72 8.81634 2327.31 8.87399 2126.55 0.511773C2060.73 -2.00127 2040.7 85.9475 2101.3 114.087C2417.76 260.743 2628.86 431.51 2731.94 722.142C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.97 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),"path3"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${l} fill-current ${m}`,width:"3044",height:"3248",viewBox:"0 0 3044 3248",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1.21857 1353.6C-0.931975 1765.46 120.504 2015.15 791.765 2417.01C1424.98 2796.19 2407.16 3469.31 2746.34 3175.04C2955.08 3005.86 2971.76 2677.32 3002.33 2420C3016.95 2248.7 3026.23 2094.39 3043.38 1926.83C3048.81 1871.88 2976.24 1850.67 2949.63 1899.96C2810.91 2157.33 2657.35 2325.33 2408.95 2396.88C1976.88 2546.15 1201.39 2136.59 819.655 1812.63C409.231 1476.27 393.475 1067.19 486.97 656.895C542.372 438.358 637.352 239.983 749.974 79.7081C783.347 32.4684 725.487 -23.7534 679.587 11.5067C317.699 288.49 35.1358 906.671 0.328344 1354.07"})}),"path4"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${l} fill-current ${m}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.1 4009.1 647.091 3634.26 264.381C3417.79 27.9951 3025.37 31.7826 2716.76 13.902C2511.72 8.81709 2327.31 8.87474 2126.55 0.512528C2060.73 -2.00052 2040.7 85.9483 2101.3 114.088C2417.76 260.743 2628.86 431.51 2731.94 722.143C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.98 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),e.jsx("div",{className:"shape-bg-content relative z-[1]",children:t})]}):e.jsx("div",{className:o,style:f,children:t})},exports.SimpleCard=_e,exports.TestimonialCard=et,exports.Text=({fields:t})=>e.jsx("div",{children:e.jsx(Ge,{children:"Text Block"})}),exports.label1BoldOptions=Le,exports.renderContentfulRichText=Me,exports.renderContentfulRichTextTable=function(t,n){if(!t||!Array.isArray(t.content))return null;const o={...Ve,renderMark:{...Ve.renderMark,[i.MARKS.BOLD]:t=>e.jsx("strong",{className:"label2",children:t})},renderNode:{...Ve.renderNode,[i.BLOCKS.PARAGRAPH]:(t,n)=>e.jsx("div",{className:"body2",children:n}),[i.BLOCKS.TABLE]:(t,n)=>{var o,r;return e.jsx("div",{className:"comparison-table-wrapper my-5 w-full overflow-x-auto border-none md:overflow-hidden",children:e.jsx("table",{className:"responsive-table w-full table-fixed border-collapse "+((null===(r=null===(o=t.content[0])||void 0===o?void 0:o.content)||void 0===r?void 0:r.length)>2?"min-w-[100.1%]":"min-w-full"),children:e.jsx("tbody",{children:n})})})},[i.BLOCKS.TABLE_ROW]:(t,n)=>e.jsx("tr",{className:"border-b border-gray-200 last:border-0",children:n}),[i.BLOCKS.TABLE_HEADER_CELL]:(t,n)=>{var o;const r=(null===(o=t.parent)||void 0===o?void 0:o.content.length)>2;return e.jsx("th",{className:`label4 break-words py-4 text-center ${r?"sticky left-0 z-20 w-[50vw] min-w-[50vw] first:z-30 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:n})},[i.BLOCKS.TABLE_CELL]:(t,n)=>{var o,r,i,s;const a=(null===(o=t.parent)||void 0===o?void 0:o.content.length)>2,l=null===(s=null===(i=null===(r=t.content[0])||void 0===r?void 0:r.content[0])||void 0===i?void 0:i.value)||void 0===s?void 0:s.toLowerCase().trim();return e.jsx("td",{className:`rt-table-cell label-4 break-words bg-white py-2 text-center align-top first:text-left ${a?"w-[50vw] min-w-[50vw] first:sticky first:left-0 first:z-10 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:e.jsxs(e.Fragment,{children:[" ","yes"===l?e.jsx(Re,{name:"check_circle",color:"#24A76A",fill:1}):"no"===l?e.jsx(Re,{name:"cancel",color:"#CECECE",fill:1}):n]})})},[i.INLINES.EMBEDDED_ENTRY]:t=>{var o,r,i,s;const a=t.data.target.sys.id,l=null===(r=null===(o=null==n?void 0:n.entries)||void 0===o?void 0:o.inline)||void 0===r?void 0:r.find(e=>e.sys.id===a);if(!l)return null;if("ComponentCheckList"===l.__typename){const t=(null===(s=null===(i=l.list)||void 0===i?void 0:i.items)||void 0===s?void 0:s.map(e=>{var t;return Me(Se(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"body2")}))||[];return e.jsx(Be,{items:t,listIconName:"disc",listItemClassName:"items-baseline body2"})}return e.jsx("span",{children:l.title||""})}}};return r.documentToReactComponents(t,o)},exports.toDocument=Se,exports.useContentfulRichText=function(e,n){return t.useMemo(()=>{if(!e||!Array.isArray(e.content))return null;const t={...Ve,renderMark:{...Ve.renderMark,...null==n?void 0:n.renderMark},renderNode:{...Ve.renderNode,...null==n?void 0:n.renderNode}};return r.documentToReactComponents(e,t)},[e,n])},exports.useProcessedChecklist=function(e,n,o,r){return t.useMemo(()=>{var t,i;const s=null!==(i=null===(t=null==e?void 0:e.list)||void 0===t?void 0:t.items)&&void 0!==i?i:[];return n?s.map(e=>{var t,n;return null!==(n=Me(Se(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,r,void 0,o))&&void 0!==n?n:""}):s.map(e=>{var t,n,i,s,a;return{title:null!==(n=Me(Se(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,r,void 0,o))&&void 0!==n?n:"",iconUrl:null!==(s=null===(i=null==e?void 0:e.icon)||void 0===i?void 0:i.url)&&void 0!==s?s:void 0,anchorId:null!==(a=null==e?void 0:e.anchorId)&&void 0!==a?a:void 0}})},[e,n,o,r])};
12
37
  //# sourceMappingURL=index.js.map