@windstream/react-shared-components 0.0.99 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contentful/index.d.ts +49 -3
- package/dist/contentful/index.esm.js +9 -1
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +9 -1
- package/dist/contentful/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/pagination/index.tsx +100 -0
- package/src/components/pagination/types.ts +6 -0
- package/src/contentful/blocks/blogs-grid/index.tsx +129 -0
- package/src/contentful/blocks/blogs-grid/types.ts +26 -0
- package/src/contentful/blocks/button/index.tsx +2 -1
- package/src/contentful/blocks/cards/blog-card/index.tsx +99 -0
- package/src/contentful/blocks/cards/blog-card/types.ts +14 -0
- package/src/contentful/blocks/cards/product-card/index.tsx +3 -1
- package/src/contentful/blocks/find-kinetic/index.tsx +8 -2
- package/src/contentful/blocks/floating-banner/types.ts +1 -1
- package/src/contentful/index.ts +6 -0
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as r from"react";import o,{forwardRef as i,useRef as s,useState as a,useEffect as l,useCallback as c,useMemo as d,createContext as u,useLayoutEffect as h,useContext as m,useInsertionEffect as p,createElement as f,useId as g,Children as v,isValidElement as y,cloneElement as b,Fragment as x,useReducer as w}from"react";import k from"next/image";import N,{flushSync as C}from"react-dom";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 E(){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 T=e=>{const t=D(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),S(n,t)||M(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},S=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?S(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},A=/^\[(.+)\]$/,M=e=>{if(A.test(e)){const t=A.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},D=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)V(n[e],r,e,t);return r},V=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:L(t,e)).classGroupId=n)}if("function"==typeof e)return B(e)?void V(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{V(o,L(t,e),n,r)})})},L=(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},B=e=>e.isThemeGetter,j=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)}}},R=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=F(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},F=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,I=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let r=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)}),n.push(...r.sort()),n}},O=/\s+/;function $(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=z(e))&&(r&&(r+=" "),r+=t);return r}const z=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=z(e[r]))&&(n&&(n+=" "),n+=t);return n};function _(e,...t){let n,r,o,i=function(a){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:j(e.cacheSize),parseClassName:R(e),sortModifiers:I(e),...T(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(O);let l="";for(let e=a.length-1;e>=0;e-=1){const t=a[e],{isExternal:c,modifiers:d,hasImportantModifier:u,baseClassName:h,maybePostfixModifierPosition:m}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let p=!!m,f=r(p?h.substring(0,m):h);if(!f){if(!p){l=t+(l.length>0?" "+l:l);continue}if(f=r(h),!f){l=t+(l.length>0?" "+l:l);continue}p=!1}const g=i(d).join(":"),v=u?g+"!":g,y=v+f;if(s.includes(y))continue;s.push(y);const b=o(f,p);for(let e=0;e<b.length;++e){const t=b[e];s.push(v+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return o(e,i),i}return function(){return i($.apply(null,arguments))}}const U=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},W=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,G=/^\((?:(\w[\w-]*):)?(.+)\)$/i,H=/^\d+\/\d+$/,Y=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,X=/\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$/,q=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,K=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Z=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,J=e=>H.test(e),Q=e=>!!e&&!Number.isNaN(Number(e)),ee=e=>!!e&&Number.isInteger(Number(e)),te=e=>e.endsWith("%")&&Q(e.slice(0,-1)),ne=e=>Y.test(e),re=()=>!0,oe=e=>X.test(e)&&!q.test(e),ie=()=>!1,se=e=>K.test(e),ae=e=>Z.test(e),le=e=>!de(e)&&!ge(e),ce=e=>Ne(e,Te,ie),de=e=>W.test(e),ue=e=>Ne(e,Se,oe),he=e=>Ne(e,Ae,Q),me=e=>Ne(e,Pe,ie),pe=e=>Ne(e,Ee,ae),fe=e=>Ne(e,De,se),ge=e=>G.test(e),ve=e=>Ce(e,Se),ye=e=>Ce(e,Me),be=e=>Ce(e,Pe),xe=e=>Ce(e,Te),we=e=>Ce(e,Ee),ke=e=>Ce(e,De,!0),Ne=(e,t,n)=>{const r=W.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},Ce=(e,t,n=!1)=>{const r=G.exec(e);return!!r&&(r[1]?t(r[1]):n)},Pe=e=>"position"===e||"percentage"===e,Ee=e=>"image"===e||"url"===e,Te=e=>"length"===e||"size"===e||"bg-size"===e,Se=e=>"length"===e,Ae=e=>"number"===e,Me=e=>"family-name"===e,De=e=>"shadow"===e,Ve=()=>{const e=U("color"),t=U("font"),n=U("text"),r=U("font-weight"),o=U("tracking"),i=U("leading"),s=U("breakpoint"),a=U("container"),l=U("spacing"),c=U("radius"),d=U("shadow"),u=U("inset-shadow"),h=U("text-shadow"),m=U("drop-shadow"),p=U("blur"),f=U("perspective"),g=U("aspect"),v=U("ease"),y=U("animate"),b=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ge,de],x=()=>[ge,de,l],w=()=>[J,"full","auto",...x()],k=()=>[ee,"none","subgrid",ge,de],N=()=>["auto",{span:["full",ee,ge,de]},ee,ge,de],C=()=>[ee,"auto",ge,de],P=()=>["auto","min","max","fr",ge,de],E=()=>["auto",...x()],T=()=>[J,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],S=()=>[e,ge,de],A=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",be,me,{position:[ge,de]}],M=()=>["auto","cover","contain",xe,ce,{size:[ge,de]}],D=()=>[te,ve,ue],V=()=>["","none","full",c,ge,de],L=()=>["",Q,ve,ue],B=()=>[Q,te,be,me],j=()=>["","none",p,ge,de],R=()=>["none",Q,ge,de],F=()=>["none",Q,ge,de],I=()=>[Q,ge,de],O=()=>[J,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ne],breakpoint:[ne],color:[re],container:[ne],"drop-shadow":[ne],ease:["in","out","in-out"],font:[le],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ne],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ne],shadow:[ne],spacing:["px",Q],text:[ne],"text-shadow":[ne],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",J,de,ge,g]}],container:["container"],columns:[{columns:[Q,de,ge,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:b()}],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:w()}],"inset-x":[{"inset-x":w()}],"inset-y":[{"inset-y":w()}],start:[{start:w()}],end:[{end:w()}],top:[{top:w()}],right:[{right:w()}],bottom:[{bottom:w()}],left:[{left:w()}],visibility:["visible","invisible","collapse"],z:[{z:[ee,"auto",ge,de]}],basis:[{basis:[J,"full","auto",a,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Q,J,"auto","initial","none",de]}],grow:[{grow:["",Q,ge,de]}],shrink:[{shrink:["",Q,ge,de]}],order:[{order:[ee,"first","last","none",ge,de]}],"grid-cols":[{"grid-cols":k()}],"col-start-end":[{col:N()}],"col-start":[{"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":k()}],"row-start-end":[{row:N()}],"row-start":[{"row-start":C()}],"row-end":[{"row-end":C()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":P()}],"auto-rows":[{"auto-rows":P()}],gap:[{gap:x()}],"gap-x":[{"gap-x":x()}],"gap-y":[{"gap-y":x()}],"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:x()}],px:[{px:x()}],py:[{py:x()}],ps:[{ps:x()}],pe:[{pe:x()}],pt:[{pt:x()}],pr:[{pr:x()}],pb:[{pb:x()}],pl:[{pl:x()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"space-y-reverse":["space-y-reverse"],size:[{size:T()}],w:[{w:[a,"screen",...T()]}],"min-w":[{"min-w":[a,"screen","none",...T()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...T()]}],h:[{h:["screen","lh",...T()]}],"min-h":[{"min-h":["screen","lh","none",...T()]}],"max-h":[{"max-h":["screen","lh",...T()]}],"font-size":[{text:["base",n,ve,ue]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,ge,he]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",te,de]}],"font-family":[{font:[ye,de,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,ge,de]}],"line-clamp":[{"line-clamp":[Q,"none",ge,he]}],leading:[{leading:[i,...x()]}],"list-image":[{"list-image":["none",ge,de]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ge,de]}],"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:[Q,"from-font","auto",ge,ue]}],"text-decoration-color":[{decoration:S()}],"underline-offset":[{"underline-offset":[Q,"auto",ge,de]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ge,de]}],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",ge,de]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:A()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:M()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ee,ge,de],radial:["",ge,de],conic:[ee,ge,de]},we,pe]}],"bg-color":[{bg:S()}],"gradient-from-pos":[{from:D()}],"gradient-via-pos":[{via:D()}],"gradient-to-pos":[{to:D()}],"gradient-from":[{from:S()}],"gradient-via":[{via:S()}],"gradient-to":[{to:S()}],rounded:[{rounded:V()}],"rounded-s":[{"rounded-s":V()}],"rounded-e":[{"rounded-e":V()}],"rounded-t":[{"rounded-t":V()}],"rounded-r":[{"rounded-r":V()}],"rounded-b":[{"rounded-b":V()}],"rounded-l":[{"rounded-l":V()}],"rounded-ss":[{"rounded-ss":V()}],"rounded-se":[{"rounded-se":V()}],"rounded-ee":[{"rounded-ee":V()}],"rounded-es":[{"rounded-es":V()}],"rounded-tl":[{"rounded-tl":V()}],"rounded-tr":[{"rounded-tr":V()}],"rounded-br":[{"rounded-br":V()}],"rounded-bl":[{"rounded-bl":V()}],"border-w":[{border:L()}],"border-w-x":[{"border-x":L()}],"border-w-y":[{"border-y":L()}],"border-w-s":[{"border-s":L()}],"border-w-e":[{"border-e":L()}],"border-w-t":[{"border-t":L()}],"border-w-r":[{"border-r":L()}],"border-w-b":[{"border-b":L()}],"border-w-l":[{"border-l":L()}],"divide-x":[{"divide-x":L()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":L()}],"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":[Q,ge,de]}],"outline-w":[{outline:["",Q,ve,ue]}],"outline-color":[{outline:S()}],shadow:[{shadow:["","none",d,ke,fe]}],"shadow-color":[{shadow:S()}],"inset-shadow":[{"inset-shadow":["none",u,ke,fe]}],"inset-shadow-color":[{"inset-shadow":S()}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:S()}],"ring-offset-w":[{"ring-offset":[Q,ue]}],"ring-offset-color":[{"ring-offset":S()}],"inset-ring-w":[{"inset-ring":L()}],"inset-ring-color":[{"inset-ring":S()}],"text-shadow":[{"text-shadow":["none",h,ke,fe]}],"text-shadow-color":[{"text-shadow":S()}],opacity:[{opacity:[Q,ge,de]}],"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":[Q]}],"mask-image-linear-from-pos":[{"mask-linear-from":B()}],"mask-image-linear-to-pos":[{"mask-linear-to":B()}],"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":B()}],"mask-image-t-to-pos":[{"mask-t-to":B()}],"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":B()}],"mask-image-r-to-pos":[{"mask-r-to":B()}],"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":B()}],"mask-image-b-to-pos":[{"mask-b-to":B()}],"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":B()}],"mask-image-l-to-pos":[{"mask-l-to":B()}],"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":B()}],"mask-image-x-to-pos":[{"mask-x-to":B()}],"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":B()}],"mask-image-y-to-pos":[{"mask-y-to":B()}],"mask-image-y-from-color":[{"mask-y-from":S()}],"mask-image-y-to-color":[{"mask-y-to":S()}],"mask-image-radial":[{"mask-radial":[ge,de]}],"mask-image-radial-from-pos":[{"mask-radial-from":B()}],"mask-image-radial-to-pos":[{"mask-radial-to":B()}],"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":[Q]}],"mask-image-conic-from-pos":[{"mask-conic-from":B()}],"mask-image-conic-to-pos":[{"mask-conic-to":B()}],"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:A()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:M()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ge,de]}],filter:[{filter:["","none",ge,de]}],blur:[{blur:j()}],brightness:[{brightness:[Q,ge,de]}],contrast:[{contrast:[Q,ge,de]}],"drop-shadow":[{"drop-shadow":["","none",m,ke,fe]}],"drop-shadow-color":[{"drop-shadow":S()}],grayscale:[{grayscale:["",Q,ge,de]}],"hue-rotate":[{"hue-rotate":[Q,ge,de]}],invert:[{invert:["",Q,ge,de]}],saturate:[{saturate:[Q,ge,de]}],sepia:[{sepia:["",Q,ge,de]}],"backdrop-filter":[{"backdrop-filter":["","none",ge,de]}],"backdrop-blur":[{"backdrop-blur":j()}],"backdrop-brightness":[{"backdrop-brightness":[Q,ge,de]}],"backdrop-contrast":[{"backdrop-contrast":[Q,ge,de]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Q,ge,de]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Q,ge,de]}],"backdrop-invert":[{"backdrop-invert":["",Q,ge,de]}],"backdrop-opacity":[{"backdrop-opacity":[Q,ge,de]}],"backdrop-saturate":[{"backdrop-saturate":[Q,ge,de]}],"backdrop-sepia":[{"backdrop-sepia":["",Q,ge,de]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":x()}],"border-spacing-x":[{"border-spacing-x":x()}],"border-spacing-y":[{"border-spacing-y":x()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ge,de]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Q,"initial",ge,de]}],ease:[{ease:["linear","initial",v,ge,de]}],delay:[{delay:[Q,ge,de]}],animate:[{animate:["none",y,ge,de]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,ge,de]}],"perspective-origin":[{"perspective-origin":b()}],rotate:[{rotate:R()}],"rotate-x":[{"rotate-x":R()}],"rotate-y":[{"rotate-y":R()}],"rotate-z":[{"rotate-z":R()}],scale:[{scale:F()}],"scale-x":[{"scale-x":F()}],"scale-y":[{"scale-y":F()}],"scale-z":[{"scale-z":F()}],"scale-3d":["scale-3d"],skew:[{skew:I()}],"skew-x":[{"skew-x":I()}],"skew-y":[{"skew-y":I()}],transform:[{transform:[ge,de,"","none","gpu","cpu"]}],"transform-origin":[{origin:b()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:O()}],"translate-x":[{"translate-x":O()}],"translate-y":[{"translate-y":O()}],"translate-z":[{"translate-z":O()}],"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",ge,de]}],"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":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"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",ge,de]}],fill:[{fill:["none",...S()]}],"stroke-w":[{stroke:[Q,ve,ue,he]}],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"]}},Le=(e,t,n)=>{void 0!==n&&(e[t]=n)},Be=(e,t)=>{if(t)for(const n in t)Le(e,n,t[n])},je=(e,t)=>{if(t)for(const n in t)Re(e,t,n)},Re=(e,t,n)=>{const r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},Fe=((e,...t)=>"function"==typeof e?_(Ve,e,...t):_(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:o={},override:i={}})=>(Le(e,"cacheSize",t),Le(e,"prefix",n),Le(e,"experimentalParseClassName",r),Be(e.theme,i.theme),Be(e.classGroups,i.classGroups),Be(e.conflictingClassGroups,i.conflictingClassGroups),Be(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),Le(e,"orderSensitiveModifiers",i.orderSensitiveModifiers),je(e.theme,o.theme),je(e.classGroups,o.classGroups),je(e.conflictingClassGroups,o.conflictingClassGroups),je(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),Re(e,o,"orderSensitiveModifiers"),e))(Ve(),e),...t))({extend:{classGroups:{"font-variants":["heading1","heading2","heading3","heading4","heading5","heading6","subheading1","subheading2","subheading3","subheading4","subheading5","subheading6","body1","body2","body3","footnote","micro","label1","label2","label3","label4"],"button-sizes":["btn-small","btn-medium","btn-large","btn-x-large"]}}}),Ie=(...e)=>Fe(E(...e)),Oe=i(({children:t,className:n="",style:r,disabled:o,...i},s)=>e("button",{ref:s,className:Ie(n),style:r,disabled:o,...i,children:t}));Oe.displayName="Button";const $e=t=>{const{open:n,children:r}=t,o=s(null),[i,c]=a(0);return l(()=>{const e=o.current;if(!e)return;const t=()=>{c(n?e.scrollHeight:0)};let r;return t(),n&&(r=new ResizeObserver(()=>t()),r.observe(e)),()=>{r&&r.disconnect()}},[n,r]),e("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:i,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:o,children:r})})};$e.displayName="Collapse";const ze=({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:d,dataTestId:u})=>{const h={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("span",{style:h,className:Ie("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:d,"data-testid":u,children:t})};ze.displayName="MaterialIcon";const _e=n=>{const{title:r,defaultOpen:o,children:i,containerClassName:s,titleClassName:c,className:d,buttonClassName:u,openOnlyOnDesktop:h,borderRadiusNone:m=!1}=n,[p,f]=a(Boolean(!1));return l(()=>{if(h){const e=window.innerWidth>=1024;f(e)}else f(Boolean(o))},[h,o]),t("div",{className:Ie(m?"rounded-none border":"rounded-surface-xs border",s),children:[t(Oe,{type:"button",className:Ie(m?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",u),onClick:()=>f(e=>!e),children:[e("span",{className:Ie("label5",c),children:r}),e(ze,{name:p?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e($e,{open:p,children:e("div",{className:Ie("px-4 py-4",d),children:i})})]})};_e.displayName="Accordion";const Ue=i(({children:e,as:t,className:n="",style:r,...i},s)=>{const a=t||"p";return o.createElement(a,{ref:s,className:n,style:r,...i},e)});Ue.displayName="Text";const We=({items:n,title:r,background:o="white",enableHeading:i=!1,maxWidth:s=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[o]} component-container`,children:t("div",{className:(s?"max-w-120 xl:mx-auto":"")+" mx-5 my-8 lg:mx-20 lg:my-18",children:[e("div",{children:e(Ue,{as:i?"h1":"h2",className:"heading1 text-left lg:text-center",children:r})}),e("div",{className:"question-answer-section mt-10 lg:mt-16",children:null==n?void 0:n.map((t,n)=>e("div",{children:e(_e,{title:t.title,containerClassName:"border-0 border-b-[1px]",buttonClassName:"px-0 label1",borderRadiusNone:!0,openOnlyOnDesktop:!0,children:e(Ue,{children:t.description})})},`item-${n}`))})]})}),Ge=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=i(({variant:r="primary_brand",isLoading:o=!1,text:i,label:s,disabled:a,fullWidth:l,size:c={base:"medium"},as:d="button",...u},h)=>{const m=(()=>{const e=Ie((e=>{let t="";return e.base&&(t=`btn-${e.base} `),e.md&&(t+=`${(e=>{switch(e){case"small":return"md:btn-small";case"medium":return"md:btn-medium";case"large":return"md:btn-large";case"x-large":return"md:btn-x-large"}})(e.md)} `),e.lg&&(t+=`lg:btn-${e.lg} `),t.trim()})(c),"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",l&&"w-full"),t=Ie((a||o)&&"cursor-not-allowed",o&&"pl-7",a&&"bg-bg-fill-brand-disabled");return Ie(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand",primary_inverse:"bg-bg-surface-inverse text-text-inverse enabled:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse",secondary:"border-2 border-border-secondary-on-bg-fill bg-bg text-text focus:ring-bg-surface-inverse"}[r]||"",t)})();let p=`button--${r}`;o&&(p+=" button--loading"),a&&(p+=" button--disabled");const f=`${p} ${m}`,g=t(n,{children:[o?e(ze,{name:"progress_activity",className:"animate-spin"}):null,s?t("span",{className:"flex flex-col",children:[e("span",{className:Ie(Ge(c)),children:s}),i]}):i]});return"a"===d?e("a",{ref:h,className:Ie(f),...u,children:g}):e("button",{ref:h,className:Ie(f),disabled:a||o,...u,children:g})});He.displayName="BrandButton";const Ye=i(({children:t,href:n,className:r="",onClick:o,variant:i="unstyled",style:s,external:a=!1,disabled:l=!1,...c},d)=>{const u=(()=>{if("unstyled"===i)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[i]||e.default,t].filter(Boolean).join(" ")})(),h={...c,ref:d,className:Ie(u,`link--${i}`,l&&"link--disabled",r),style:s,href:l?void 0:n,onClick:e=>{l?e.preventDefault():null==o||o(e)},...a&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return e("a",{...h,children:t})});Ye.displayName="Link";const Xe=n=>{const{showButtonAs:r="solid",buttonVariant:o="primary_brand",buttonLabel:i,buttonPrefix:s,href:a,target:l="_blank",anchorId:c,linkClassName:d,linkVariant:u,fullWidth:h,preDefinedFunctionExecution:m,renderCheckPlans:p,buttonClassName:f,clickToOpen:g,tabmodalNameToOpen:v,onModalButtonClick:y,onClick:b,iconName:x,...w}=n;if("check availability"===m){return null==p?void 0:p({ctaText:i,buttonVariant:o,showButtonAs:r,cta:{...n}})}function k(){"modal"===g&&(null==y||y(v))}function N(e){k(),null==b||b(e)}function C(e){k(),null==b||b(e)}let P=e(Oe,{onClick:C,className:f,...w});switch(r){case"solid":P=e(He,a?{as:"a",href:a,id:c,variant:o,text:i,label:s,fullWidth:h,onClick:N}:{id:c,variant:o,text:i,label:s,fullWidth:h,onClick:C});break;case"text":P=t(Ye,{href:a,target:l,variant:u||"default",className:`text-text-brand ${d||""}`,onClick:N,children:[i," ",x&&e(ze,{name:x,size:24})]})}return P},qe={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},Ke=i(({className:t,...n},r)=>{const o="string"==typeof n.src?n.src:"",i=o.toLowerCase().split("?")[0]||"",s=o.includes("images.ctfassets.net")&&i.endsWith(".svg");return e(k,{ref:r,className:Ie(t),...n,unoptimized:s})});Ke.displayName="NextImage";const Ze=({card:n,lgWidth:r,mdWidth:o})=>{var i,s,a;const l=(null===(i=n.imageAlignment)||void 0===i?void 0:i.toLowerCase())||"left",c="left"===l?"lg:items-start":"right"===l?"lg:items-end":"lg:items-center";return e("div",{className:`callout-card ${o} ${r} w-full ${null!==(a=qe[null!==(s=n.backgroundColor)&&void 0!==s?s:""])&&void 0!==a?a:""}`,children:t("div",{className:`card-template flex h-full flex-col items-center gap-8 p-8 text-center ${c}`,children:[e("div",{className:"card-header",children:(t=>{var n,r,o;if(!t.image)return null;const i=null===(n=t.imageView)||void 0===n?void 0:n.toLowerCase();return e(Ke,"full"===i?{width:400,height:280,src:t.image,alt:null!==(r=t.title)&&void 0!==r?r:"card-icon",className:"rounded-3xl"}:{width:88,height:88,src:t.image,alt:null!==(o=t.title)&&void 0!==o?o:"card-icon"})})(n)}),t("div",{className:"card-body flex flex-col gap-3 text-start",children:[n.title&&e(Ue,{as:"h5",className:"heading5 font-black",children:n.title}),n.body&&e(Ue,{as:"div",className:"body1",children:n.body})]}),n.cta&&e("div",{className:"card-footer",children:e(Xe,{linkVariant:"unstyled",linkClassName:"label1 flex items-center text-text gap-2",...n.cta,iconName:"expand_circle_right"})})]})})},Je=({title:n,items:r,enableHeading:o=!1,subtitle:i,color:s="dark",maxWidth:a=!0,maxCardsPerRow:l})=>{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)]"}[l||4]||" lg:w-[calc(25%-1.125rem)]",d=1===r.length?" md:w-full":" md:w-[calc(50%-1rem)]";return e("div",{className:"component-container",children:e("div",{className:`mx-5 mb-5 mt-12 ${a?"max-w-120 xl:mx-auto":""} ${"dark"==s?"text-text":"text-white"}`,children:t("div",{className:"callout-container flex flex-col gap-8",children:[t("div",{className:"title-holder",children:[n&&e(Ue,{as:o?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:n}),i&&e(Ue,{as:o?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:i})]}),e("div",{className:"card-holder flex flex-wrap items-stretch justify-center gap-8 self-stretch lg:gap-6",children:r.map((t,n)=>e(Ze,{card:t,lgWidth:c,mdWidth:d},n))})]})})})},Qe=({fields:t})=>e("div",{children:e(Ue,{children:"Cards"})}),et={green:"#209A61",yellow:"#F5FF36"},tt=i(({children:t,className:n="",variant:r="unstyled",style:o,...i},s)=>{const a=Ie("unstyled"===r?"":"mb-1 leading-6","list-item",`list-item--${r}`,n);return e("li",{ref:s,className:a,style:o,...i,children:t})});tt.displayName="ListItem";const nt=i(({type:t="ul",items:n,className:r="",renderItem:o,children:i,variant:s="unstyled",style:a,...l},c)=>{const d=(()=>{if("unstyled"===s)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),u={className:Ie(d,`list--${t}`,`list--${s}`,r),style:a,...l,children:i||(n&&0!==n.length?n.map((t,n)=>o?o(t,n):e(tt,{className:t.className,variant:s,children:t.content},t.id||n)):null)};return e("ol"===t?"ol":"ul",{...u,ref:c})});nt.displayName="List";const rt=n=>{const{items:r,listIconName:o="check",listItemClassName:i,iconSize:s=20,iconPosition:a="center",iconColor:l="green"}=n,c="disc"!==o;return(null==r?void 0:r.length)?e(nt,{className:"mt-2 space-y-1",variant:c?"unstyled":"default",children:r.map((n,r)=>t(tt,{variant:c?"unstyled":"default",className:Ie(`${c?"flex":""} ${"top"===a?"items-start":"items-center"} gap-2 text-text-secondary`,i),children:[c&&e("div",{children:e(ze,{name:o,size:s,color:et[l],weight:"600",className:"top"===a?"mt-1":""})}),e(Ue,{as:"div",children:n})]},r))}):null};rt.displayName="Checklist";const ot=i(({as:t,className:n="",...r},o)=>{const i=Ie(n);if(t){return e(t,{ref:o,className:i,...r})}return e("img",{ref:o,className:i,...r})});ot.displayName="Image";const it=({onSelect:r,speed:o,isSelected:i=!1,renderCheckPlans:s,cta:l,techType:c,isMax:d})=>{const[u,h]=a(!1),m=`btn-medium rounded-2xl pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${i?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,p=null==s?void 0:s({speedCardConfig:{isModalOpen:u,setModalOpen:()=>{h(!1)},speed:o,techType:c,isMax:d},cta:l});return t(n,{children:[t(Oe,{onClick:()=>{h(!0),r()},className:Ie(m,"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("span",{children:"Select plan"}),e("span",{className:"inline-flex h-6 w-6 items-center justify-center rounded-full "+(i?"bg-bg-fill-surface-inverse text-text-inverse":"bg-bg text-text"),children:e(ze,{name:"chevron_right",fill:1,size:24})})]}),p]})},st=({planName:r,planSubtext:o,speed:i,price:s,description:l,bestValue:c=!1,bestValueText:d="best value",giftBadge:u,innerBadge:h,theme:m="light",featuresTitle:p="Business Ready Internet features",features:f=[],isExpanded:g,onToggleExpand:v,onCtaClick:y,renderCheckPlans:b,cta:x,techType:w,ismaxSpeed:k})=>{const[N,C]=a(!1),P=void 0!==g?g:N,E="dark"===m;return t("article",{className:Ie("relative flex h-full w-full max-w-[392px] flex-col",!c&&"pt-[28px]"),children:[c&&e("div",{className:"rounded-t-[20px] bg-bg-fill-brand-accent px-4 py-1 text-center text-sm font-bold text-text",children:d}),t("div",{className:Ie("flex flex-grow flex-col gap-6 rounded-[20px] px-5 shadow-cardDrop",E?"bg-bg-fill-inverse text-white":"bg-white text-text",c?"rounded-t-none":""),children:[t("header",{className:"overflow-none flex items-start justify-between gap-4 pt-7",children:[t("div",{className:"flex flex-col",children:[e(Ue,{as:"h3",className:Ie("subheading2 whitespace-nowrap font-black",E?"text-bg-fill-brand-accent":"text-text-brand"),children:r}),e(Ue,{as:"p",className:`text-label3 font-black ${E?"text-bg-fill-brand-accent":"text-text-brand"} md:whitespace-nowrap`,children:o})]}),t("div",{className:"flex items-start",children:[e("span",{className:"text-xl font-normal",children:"$"}),e("span",{className:"text-subheading6 font-medium leading-none",children:s.split(".")[0]}),t("span",{className:"text-sm font-black",children:[s.split(".")[1],"/mo"]})]})]}),e("section",{children:e(Ue,{className:Ie("text-base",E?"text-white":"text-text"),children:l})}),e("div",{className:Ie("flex-col items-center rounded-xl p-2",E?"bg-bg-surface-inverse":"bg-gray-200"),children:u&&(null==u?void 0:u.map(n=>t("div",{className:"flex items-center gap-2 p-1",children:[e(ot,{src:n.icon,alt:n.title,width:24,height:24}),e(Ue,{as:"div",className:"text-sm font-bold",children:n.title})]},n.title)))}),e(it,{onSelect:y,speed:i,isSelected:E,renderCheckPlans:b,cta:x,techType:w,isMax:k}),f.length>0&&t("section",{className:"flex flex-col gap-6",children:[t(Oe,{onClick:()=>{v?v():C(!N)},className:"group flex w-full items-center justify-between text-left",children:[e(Ue,{as:"h4",className:"text-base font-bold",children:p}),e(ze,{name:"keyboard_arrow_up",fill:1,size:24,className:Ie("transition-transform duration-300",P&&"rotate-180")})]}),t("div",{className:Ie("overflow-hidden transition-all duration-300 ease-in-out",P?"pb-7 opacity-100":"max-h-0 opacity-0"),children:[e("div",{className:"flex flex-col gap-3",children:e(rt,{items:f,iconColor:E?"yellow":"green",listItemClassName:""+(E?"text-white":"text-text")})}),(null==h?void 0:h.badgeIcon)?t("div",{className:"flex items-center gap-2 text-center",children:[e(ot,{src:h.badgeIcon,alt:"Inner Badge",width:12,height:12}),e("span",{className:"text-sm",children:h.badgeText.includes("|")?t(n,{children:[e("span",{className:"font-bold",children:h.badgeText.split("|")[0]}),e("span",{className:"font-normal",children:h.badgeText.split("|")[1]})]}):e(Ue,{className:"font-bold",children:h.badgeText})})]}):null]})]})]})]})},at=({title:n,quote:r,rating:o,author:i,role:s,avatarUrl:a,isActive:l=!1,className:c})=>t("figure",{className:E("flex h-full w-full flex-col rounded-3xl p-6 font-sans transition-all duration-300 md:p-13",l?"bg-white shadow-lg":"bg-gray-50 opacity-60",c),children:[e("header",{children:e(Ue,{as:"h3",className:"mb-4 text-xl font-black lowercase text-text",children:n})}),e("blockquote",{className:"mb-5 flex-grow text-xl leading-relaxed text-text",children:r}),o?e("div",{className:"mb-5 flex gap-1",children:[...Array(5)].map((t,n)=>e(ze,{size:24,name:"star",fill:1,className:E("h-5 w-5",n<o?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null,i&&t("figcaption",{className:"flex items-center gap-3",children:[e("div",{className:"relative h-10 w-10 shrink-0 overflow-hidden rounded-full bg-gray-300",children:a?e(k,{src:a,alt:i,fill:!0,className:"object-cover",sizes:"40px"}):e("div",{className:"flex h-full w-full items-center justify-center bg-gray-500 text-xs font-bold text-white",children:i.charAt(0)})}),t("div",{className:"flex flex-col",children:[e("cite",{className:"text-sm font-bold not-italic text-text",children:i}),e(Ue,{as:"p",className:"text-xs text-text",children:s})]})]})]});function lt({fields:r,renderCheckPlans:o}){var i,d,u,h;const m=(null===(u=null===(d=null===(i=null==r?void 0:r.items)||void 0===i?void 0:i.items)||void 0===d?void 0:d[0])||void 0===u?void 0:u.benefitsExpanded)||!1,[p,f]=a(m),[g,v]=a({}),[y,b]=a(0),x=(null===(h=null==r?void 0:r.items)||void 0===h?void 0:h.items)||[],w=x.length>2,k=s([]),N=c(()=>{w&&b(e=>(e+3)%x.length)},[w,x.length]),C=c(()=>{w&&b(e=>(e-3+x.length)%x.length)},[w,x.length]);if(l(()=>{if(!w)return;const e=()=>{const e=k.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)},[w,p,x.length]),!x.length&&!(null==r?void 0:r.title))return null;const P=(t,n,r=!1)=>{var i,s,a,l,c,d,u,h;const m=null===(i=null==t?void 0:t.speed)||void 0===i?void 0:i.split("|"),y=(null==m?void 0:m[0])||"",b=(null==m?void 0:m[1])||"",x=(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"}.${x}`,N=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],C=(null==t?void 0:t.highlighted)||!1,P=(null===(d=null===(c=null==t?void 0:t.giftRewards)||void 0===c?void 0:c.list)||void 0===d?void 0:d.items)||[],E={badgeText:t.innerBadge||"",badgeIcon:(null===(u=t.innerBadgeIcon)||void 0===u?void 0:u.url)||""},T=r?g[n]||!1:p;return e("div",{ref:r?void 0:e=>{e&&!k.current.includes(e)&&(k.current[n]=e)},className:Ie(r?"mx-auto w-full max-w-[392px]":"w-[392px] flex-shrink-0"),children:e(st,{planName:y,planSubtext:b,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:P,innerBadge:E,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:C,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:N,isExpanded:T,onToggleExpand:()=>{r?v(e=>({...e,[n]:!e[n]})):f(!p)},ctaText:(null===(h=null==t?void 0:t.cta)||void 0===h?void 0:h.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:o,cta:t.cta,hostType:"smb"})},n)},E=[...x,...x,...x,...x,...x],T=2*x.length;return w?t(n,{children:[e("div",{className:"flex flex-col gap-6 md:hidden",children:x.map((e,t)=>P(e,t,!0))}),t("div",{className:"relative hidden w-full md:block",children:[t("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(Oe,{onClick:N,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(ze,{name:"arrow_back",size:24})}),e(Oe,{onClick:C,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(ze,{name:"arrow_forward",size:24})})]}),e("div",{className:"mx-auto max-w-[1280px] overflow-hidden",children:e("div",{className:"flex items-stretch gap-4 pb-4 transition-transform duration-500 ease-in-out",style:{transform:`translateX(calc(-${T+y} * (392px + 12px)))`},children:E.map((e,t)=>P(e,t,!1))})})]})]}):e("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-8 px-4",children:x.map((e,t)=>P(e,t))})}const ct=({fields:n})=>{var r;const o=(null===(r=null==n?void 0:n.items)||void 0===r?void 0:r.items)||[],[i,d]=a(0),u=s(null),h=c(()=>{0!==o.length&&d(e=>(e+1)%o.length)},[o.length]),m=c(()=>{0!==o.length&&d(e=>0===e?o.length-1:e-1)},[o.length]);return l(()=>{if(0!==o.length)return u.current=setInterval(()=>{h()},8e3),()=>{u.current&&clearInterval(u.current)}},[h,o.length]),o&&0!==o.length?t("div",{className:"relative mx-auto max-w-[1280px] overflow-hidden md:px-24",children:[e(Oe,{onClick:m,className:"group absolute left-4 top-1/2 z-20 hidden h-10 w-10 -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(ze,{name:"arrow_back",size:24})}),e("div",{className:"grid grid-cols-1 justify-items-center",children:o.map((t,n)=>{let r=n-i;const s=o.length;r>s/2&&(r-=s),r<-s/2&&(r+=s);const a=0===r;return e("div",{className:Ie("col-start-1 row-start-1 w-full md:max-w-[815px]",a?"opacity-100":"opacity-0","md:opacity-100"),style:{transform:`translateX(${a?"0%":105*r+"%"})`,zIndex:a?10:5,visibility:Math.abs(r)>1?"hidden":"visible",transition:"all 0.5s ease-in-out"},children:e(at,{...t,isActive:a,className:"h-full"})},n)})}),e(Oe,{onClick:h,className:"group absolute right-4 top-1/2 z-20 hidden h-10 w-10 -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(ze,{name:"arrow_forward",size:24})}),e("div",{className:"mt-8 hidden justify-center gap-2 md:flex",children:o.map((t,n)=>e("button",{onClick:()=>d(n),className:Ie("h-2 w-2 rounded-full transition-all duration-300",i===n?"w-6 bg-white":"bg-white/40 hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]}):null},dt=({tabs:t,activeTab:n,onChange:r,className:o})=>e("div",{className:Ie("mx-auto my-6 flex w-fit rounded-2xl bg-white p-1",o),children:t.map(t=>e("button",{onClick:()=>r(t),className:Ie("min-w-[160px] whitespace-nowrap rounded-2xl bg-[#EEEEEE] px-4 py-2.5 text-label1 font-black transition-all duration-300",n===t?"bg-bg-fill-brand text-white shadow-md":"text-text-info hover:bg-[#E5E5E7]"),children:t},t))}),ut=({fields:n,hasTestimonialCards:r,hasProductCards:o,disclaimerText:i,backgroundColor:s,activeTab:a,setActiveTab:l,tabs:c,onModalButtonClick:d,renderCheckPlans:u,showSwitch:h=!1})=>e("div",{className:`${s} mx-auto overflow-hidden px-5 py-9 md:py-20`,children:t("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-12 overflow-visible",children:[t("div",{children:[e(Ue,{as:"h2",className:"text-center text-4xl font-bold text-text md:text-5xl",children:null==n?void 0:n.title}),(null==n?void 0:n.subTitle)&&e(Ue,{as:"h3",className:"body1 px-4 pt-4 text-center",children:null==n?void 0:n.subTitle})]}),h&&o&&c.length>1&&e(dt,{tabs:c,activeTab:a,onChange:l,className:"mb-8"}),r&&e(ct,{fields:n}),o&&e(lt,{onModalButtonClick:d,renderCheckPlans:u,fields:n}),e(Ue,{as:"div",className:"body1 mt-8 px-4 text-center text-neutral-600",children:i})]})}),ht=({title:n,subtitle:r,description:o,disclaimer:i,icon:s,cta:a,background:l="navy",color:c="light",enableHeading:d,maxWidth:u=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-[40px] xl:mx-auto "+(u?"max-w-120":""),children:[t("div",{className:`flex flex-col rounded-[28px] px-5 py-7 lg:flex-row lg:rounded-[40px] lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[l]} ${"dark"==c?"text-text":"text-white"} `,children:[s&&e("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e(Ke,{width:80,height:80,alt:"icon",src:s})})}),t("div",{className:"flex w-full flex-col justify-center lg:mx-5 lg:w-4/5",children:[n&&e(Ue,{as:d?"h1":"h2",className:"heading2 mb-3 text-center lg:w-[95%] lg:text-left",children:n}),r&&e(Ue,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:r}),o&&e(Ue,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:o})]}),a&&e("div",{className:"mt-5 flex justify-center lg:mt-0 lg:w-[500px] lg:items-center",children:e(Xe,{...a})})]}),i&&e("div",{children:e(Ue,{as:"div",className:"body3 mt-3 text-center",children:i})})]})}),mt=({body:n,links:r,bottomLinks:i,copyrights:s,terms:a,maxWidth:l=!0,onClick:c})=>{function d(e){null==c||c(e)}return e("div",{className:"component-container bg-bg-inverse text-white",children:t("div",{className:` ${l?"mx-auto max-w-120":""} px-5 py-8`,children:[e("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:n}),e("div",{className:"my-8 h-[1px] border-t-0 bg-white opacity-100 lg:my-16 dark:opacity-50"}),e("div",{className:"grid-1 grid gap-8 py-8 md:grid-cols-2 lg:grid-cols-4",children:null==r?void 0:r.map((n,r)=>{var i,s;return t(o.Fragment,{children:[e("div",{children:t("nav",{"aria-labelledby":`footer-${null==n?void 0:n.title}`,className:"site-links-group",children:[e(Ue,{as:"div",className:"label3",children:null==n?void 0:n.title}),e("ul",{className:"flex flex-col",children:null===(s=null===(i=null==n?void 0:n.items)||void 0===i?void 0:i.items)||void 0===s?void 0:s.map((t,n)=>e("li",{className:"pt-3",children:e(Xe,{...t,linkVariant:"unstyled",linkClassName:"text-white body3",onClick:d})},`site-links-${n}`))})]},`link-group-${r}`)},`footer-link-group-${r}`),e("div",{className:"block h-[1px] border-t-0 bg-white opacity-100 md:hidden dark:opacity-50"})]},`footer-link-group-${r}`)})}),t("div",{className:"pt-8",children:[e("p",{className:"copy-rights",children:s}),t("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",a]}),e("nav",{"aria-label":"Footer legal",children:e("ul",{className:"bottom-links list-none",children:null==i?void 0:i.map((t,n)=>e("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(Xe,{...t,linkClassName:"footnote text-white",linkVariant:"unstyled",onClick:d})},`links-${n}`))})})]})]})})},pt=({isHovered:t,containerClassName:n})=>e("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(ze,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),ft=t=>{const{link:n,containerClassName:r,autoplay:o=!1,debug:i=!1}=t,{href:s,embedId:a}=d(()=>{if(!n)return{href:"",embedId:""};const e=n.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}},[n]);if(i&&console.log("[VimeoEmbed] href:",s,"id:",a),!a)return null;const l=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/${a}?${new URLSearchParams({autoplay:o?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}).toString()}`);return e("div",{className:Ie("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:l,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};const gt=t=>{const{link:n,containerClassName:r,autoplay:o=!1}=t,i=d(()=>{if(!n)return"";const e=n.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return e&&11===e[7].length?e[7]:""},[n]),s=o?"?autoplay=1":"";return e("div",{className:Ie("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:`https://www.youtube.com/embed/${i}${s}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})})},vt=({brow:n,enableHeading:r,title:o,subTitle:i,ctaDisclaimer:s,disclaimer:l,description:c,image:d,imageLinks:u,mediaPosition:h=!0,checklist:m,secondaryCta:p,cta:f,videoLink:g,maxWidth:v=!0,color:y="light",imageWidth:b=660,imageHeight:x=660,onModalButtonClick:w,renderCheckPlans:k})=>{var N,C;const[P,E]=a(""),[T,S]=a(!1),A=null!==(N=null==g?void 0:g.link)&&void 0!==N?N:"",M=null==g?void 0:g.image,D=null!==(C=null==g?void 0:g.videoPopup)&&void 0!==C&&C,V=Boolean(P&&P===A),L=g&&M?A.includes("vimeo")?e(ft,{link:A,autoplay:V}):e(gt,{link:A,autoplay:V}):null;return t("div",{className:"component-container",children:[e("div",{className:`image-promo-bar-content ${v?"max-w-120 xl:mx-auto":""} mx-5 mb-8 mt-16`,children:t("div",{className:"flex shrink-0 flex-col items-center gap-8 xl:items-start xl:gap-[126px] "+(h?"xl:flex-row-reverse":"xl:flex-row"),children:[t("div",{className:"flex flex-[1_0_0] flex-col items-start justify-center gap-8 xl:gap-10 "+("dark"==y?"text-text":"text-white"),children:[t("div",{className:"heading holder",children:[n&&e(Ue,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),o&&e(Ue,{as:r?"h1":"h2",className:"heading2 xl:heading1",children:o}),i&&e(Ue,{as:r?"h2":"h3",className:"subheading1 mt-3",children:i})]}),c&&e(Ue,{as:"div",className:"body1",children:c}),m.length>0&&e(rt,{items:m,iconPosition:"top",iconSize:24}),e("div",{className:"flex gap-4",children:null==u?void 0:u.map((t,n)=>e("div",{className:"image-link w-[147px]",children:e(Ye,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e(ot,{src:t.image,alt:"icon-link"})})},n))}),t("div",{className:"flex w-full flex-col gap-8 xl:flex-row xl:gap-3",children:[f&&e("div",{className:"primary-cta w-full xl:w-auto",children:e(Xe,{...f,fullWidth:!0,renderCheckPlans:k,onModalButtonClick:w})}),p&&e("div",{className:"secondary-cta",children:e(Xe,{...p,fullWidth:!0,renderCheckPlans:k,onModalButtonClick:w})})]}),s&&e("div",{children:s}),l&&e("div",{children:l})]}),t("aside",{className:"flex w-full shrink-0 items-center justify-center xl:w-auto",children:[d&&e("div",{className:"relative aspect-[16/9] w-full xl:aspect-square xl:max-h-[486px] xl:w-[486px]",children:e(Ke,{src:d,alt:"section-image",width:b,height:x,className:"bottom-0 left-0 right-0 top-0 h-full rounded-[40px] object-cover"})}),(null==g?void 0:g.link)&&t("div",{className:Ie("video-section relative w-full cursor-pointer overflow-hidden rounded-[40px] transition-all duration-300 xl:w-[486px]",!V&&"hover:shadow-2xl"),onClick:()=>{var e;E(null!==(e=null==g?void 0:g.link)&&void 0!==e?e:"")},onMouseEnter:()=>S(!0),onMouseLeave:()=>S(!1),children:[t("div",{className:Ie(V&&!D&&"hidden",V&&!D?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[g.image&&e(Ke,{src:g.image,alt:"Video preview",width:486,height:486,className:"absolute inset-0 h-full w-full rounded-[40px] object-cover"}),e("div",{className:"absolute inset-0 flex items-center justify-center",children:e(pt,{isHovered:T})})]}),!D&&V&&e("div",{className:Ie("aspect-[16/9] w-full overflow-hidden rounded-[40px] transition-opacity duration-300",V?"opacity-100":"opacity-0"),children:L})]})]})]})}),D&&V&&e("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(),E("")},children:e("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:L})})]})},yt=({link:n,anchorName:r})=>{const[i,s]=o.useState(!1),a=o.useRef(null);if(((e,t)=>{const n=n=>{var r;(null===(r=null==e?void 0:e.current)||void 0===r?void 0:r.contains(n.target))||t()};l(()=>(document.addEventListener("click",n),()=>{document.removeEventListener("click",n)}))})(a,()=>s(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e(Xe,{...n,linkClassName:"body3 flex items-center text-text-link h-full",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:c,title:d,items:u}=n,h=Array.isArray(null==u?void 0:u.items)?u.items:[],m=`--link-anchor-${r}`;return t("div",{className:"relative h-full",style:{anchorName:m},ref:a,children:[t(Xe,{onClick:()=>s(e=>!e),"aria-expanded":i,buttonClassName:"group body3 flex h-full items-center",showButtonAs:"unstyled",children:[e(Ue,{as:"span",className:"group-hover:underline",children:null!=d?d:null}),e(ze,{weight:"700",className:"text-icon-info group-hover:opacity-50",name:i?"keyboard_arrow_up":"keyboard_arrow_down"})]},c),e("div",{className:Ie("fixed z-10 min-w-44 rounded-xl bg-bg shadow-lg","transition-[opacity,transform] ease-out",i&&h.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:m,top:"anchor(bottom)",right:"anchor(right)"},children:e("ul",{className:"flex flex-col gap-2 py-2",children:h.map((t,n)=>e("li",{className:"submenu-link",children:e(Xe,{...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}`))})})]})},bt=({link:r})=>{const[i,s]=o.useState(!1);if(!r)return null;if((e=>"string"==typeof e.href)(r))return e(Xe,{...r,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${r.anchorId}`);const{anchorId:a,title:l,items:c}=r,d=Array.isArray(null==c?void 0:c.items)?c.items:[];return t(n,{children:[t(Xe,{onClick:()=>s(e=>!e),"aria-expanded":i,buttonClassName:"label3 flex h-11 w-full items-center px-4",showButtonAs:"unstyled",children:[null!=l?l:null,e(ze,{weight:"700",name:i?"keyboard_arrow_up":"keyboard_arrow_down"})]},a),i&&d.length>0&&e(xt,{items:d})]})},xt=({items:t})=>e("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e("li",{className:"submenu-link",children:e(Xe,{...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}`),wt=n=>{const{showBlinkDot:r=!1,buttonStyle:o="primary",size:i="md",children:s,className:a,...l}=n;return t(Ye,{...l,className:Ie("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[i],{primary:"border-[0.727px] border-border text-text"}[o],a),children:[r?e("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[i]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[i]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e("span",{className:`relative inline-flex ${{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[i]} items-center justify-center rounded-full bg-icon-brand`,children:e(ze,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[i],className:"text-white"})}),e("span",{className:"font-normal tracking-wide",children:s})]})};wt.displayName="CallButton";const kt=i((n,r)=>{const{className:o,size:i,required:s,placeholder:l,label:d,state:u,errorText:h,prefixIconName:m,prefixIconFill:p=!0,suffixIconFill:f=!1,prefixIconSize:g=24,suffixIconName:v,suffixIconSize:y=24,containerClassName:b,prefixIconClassName:x,loading:w,hasError:k,type:N,...C}=n,P=k?"error":u,[E,T]=a(!1),[S,A]=a(!1),[M,D]=a(N||"text"),V=c(e=>{e.stopPropagation(),D(e=>"password"===e?"text":"password")},[]);return t("div",{className:"relative",children:[d?e("label",{htmlFor:d,className:Ie("inline-block pb-1"),children:t(Ue,{as:"span",className:"footnote text-text",children:[d,s?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:Ie("relative flex flex-row items-center overflow-hidden rounded-input border border-input-border bg-input-bg-surface",{sm:"h-[48px] px-3 py-2",slim:"h-12",medium:"h-14",large:"h-[60px]"}[i||"medium"],b,(E||"hover"===P)&&!S&&"error"!==P&&"border-input-border-hover",(S||"focus"===P||"active"===P)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===P&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[m?e("div",{className:"mr-1",style:{width:g,height:g,overflow:"hidden"},children:e(ze,{name:m,fill:p?1:0,size:g,className:Ie(x)})}):null,e("input",{ref:r,id:d,disabled:w||C.disabled,className:Ie("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===i&&"text-body3",o),placeholder:l,type:M,...C,onMouseOver:()=>T(!0),onMouseOut:()=>T(!1),onFocus:e=>{var t;null===(t=C.onFocus)||void 0===t||t.call(C,e),A(!0)},onBlur:e=>{var t;null===(t=C.onBlur)||void 0===t||t.call(C,e),A(!1)}}),v?e("div",{className:"ml-2",style:{width:y,height:y,overflow:"hidden"},onClick:V,children:e(ze,{name:"text"===M?"visibility":"visibility_off",size:y,fill:f?1:0})}):null]}),"error"===P&&h&&""!=h?t(Ue,{className:Ie("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(ze,{name:"info",size:20,className:"mr-1"}),h||"Error"]}):null]})});kt.displayName="Input";const Nt=n=>{const{primaryNavigationLinks:r,utilityNavigationLinks:o,checkPlansJSX:i,primaryNavigationLogo:s,accountNavigationLinks:a,supportNavigationLinks:l,searchBarIcon:c,invocaPhoneNumberLink:d,invocaPhoneNumberDisplayText:u,onSearch:h=()=>{}}=n;return t("div",{className:"component-container",children:[t("nav",{className:"menu-container",children:[e("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex max-w-120 justify-between",children:[e("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==o?void 0:o.map((t,n)=>e("li",{children:e(Xe,{linkClassName:Ie("footnote flex items-center w-full h-11 text-text-link",1===n&&"label4"),linkVariant:"unstyled",...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t))})},`main-menu-items-${n}`))}),t("div",{className:"flex items-center gap-10",children:[e(wt,{className:"border-none",href:d,children:e(Ue,{className:"body3",children:u})}),null==a?void 0:a.map((t,n)=>e(yt,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}),t("div",{className:"main-nav-container","aria-label":"Main Navigation",children:[t("div",{className:"mobile-nav-section flex h-14 items-center justify-between px-5 py-[10px] lg:hidden",children:[e("div",{children:e(Ye,{href:"/",className:"flex",children:e(Ke,{src:"string"==typeof s?s:(null==s?void 0:s.url)||"",alt:"Kinetic business logo",width:76.5,height:24})})}),t("div",{className:"flex items-center gap-6",children:[e(wt,{href:d,children:e(Ue,{as:"span",className:"footnote",children:u})}),e(Ct,{...n})]})]}),e("div",{className:"desktop-nav-section hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex h-14 max-w-120 items-center justify-between",children:[t("div",{className:"flex h-full",children:[e(Ye,{href:"/",className:"flex",children:e(Ke,{src:"string"==typeof s?s:(null==s?void 0:s.url)||"",alt:"Kinetic business logo",width:76.5,height:24,className:"mr-14"})}),e("div",{className:"flex h-full items-center gap-5",children:null==r?void 0:r.map((t,n)=>e(yt,{anchorName:`main-menu-${n}`,link:t},`main-menu-${n}`))})]}),t("div",{className:"flex h-full items-center gap-10",children:[e(Et,{searchBarIconURL:"string"==typeof c?c:(null==c?void 0:c.url)||"",onSearch:h}),null==l?void 0:l.map((t,n)=>e(yt,{anchorName:`support-menu-${n}`,link:t},`support-menu-${n}`))]})]})})]})]}),i&&e("div",{className:"md:hidden",children:i})]})},Ct=n=>{var r;const{primaryNavigationLinks:i,utilityNavigationLinks:s}=n,[a,l]=o.useState(!1);o.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=a?"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)}},[a]);const c=()=>{l(!1)};return t("div",{children:[e(Xe,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>l(!0),children:e(ze,{name:"menu"})}),a?e("div",{className:"fixed bottom-0 left-0 right-0 top-0 z-[90] h-full w-full bg-scrim-bg-modal"}):null,e("div",{className:Ie("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",a?"right-0":"-right-96"),id:"mobile-menu-overlay",children:t("div",{id:"drawer-items",className:"flex h-full flex-col gap-3",children:[t("div",{className:"flex items-center justify-between px-4",children:[e("div",{children:e(wt,{className:"border-none",href:n.invocaPhoneNumberLink,children:n.invocaPhoneNumberDisplayText})}),e("div",{children:e(Xe,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:c,children:e(ze,{name:"close"})})})]}),e(Pt,{closeMenu:c,isMenuOpen:a,searchBarIconURL:"string"==typeof n.searchBarIcon?n.searchBarIcon:(null===(r=n.searchBarIcon)||void 0===r?void 0:r.url)||"",onSearch:n.onSearch||(()=>{})}),t("div",{className:"flex-grow overflow-y-auto",children:[e("ul",{className:"mt-2 flex flex-col gap-2",children:null==i?void 0:i.map((t,n)=>e("li",{children:e(bt,{link:t})},`main-menu-items-${n}`))}),e("ul",{className:"mt-2 flex gap-5 bg-bg-fill-info px-4",children:null==s?void 0:s.map((t,n)=>e("li",{children:e(Xe,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:Ie("footnote flex items-center w-full h-11 text-text-link",1===n&&"label4"),linkVariant:"unstyled"},`submenu-link-btn-${t.anchorId}`)},`main-menu-items-${n}`))})]})]})})]})},Pt=n=>{const{closeMenu:r,onSearch:i,isMenuOpen:s,searchBarIconURL:a}=n,[l,c]=o.useState(""),d=o.useRef(null),u=e=>{r(),e.preventDefault(),i(l)};return o.useEffect(()=>{s||c("")},[s]),t("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:u,children:[e(Ke,{src:a,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:u}),e("div",{className:"flex-grow",children:e(kt,{ref:d,className:"h-[34px] rounded-none text-body3 font-medium leading-6",name:"search",placeholder:"Search...",value:l,onChange:e=>c(e.target.value),autoComplete:"off",containerClassName:"h-[46px] px-4 pl-0 rounded-none flex-grow border-none"})})]})},Et=n=>{const{searchBarIconURL:r,onSearch:i}=n,[s,a]=o.useState(""),l=o.useRef(null),c=e=>{e.preventDefault(),i(s)};return t("form",{name:"searchForm",className:"flex h-9 w-60 rounded-full border transition-colors focus-within:border-border-focus",onSubmit:c,children:[e(Ke,{src:r,width:32,height:32,alt:"Search icon",role:"button",onClick:c}),e(kt,{ref:l,className:"rounded-full p-0 text-body3 font-medium leading-6",name:"search",placeholder:"Search...",value:s,onChange:e=>a(e.target.value),autoComplete:"off",containerClassName:"px-0 h-full border-none rounded-full"})]})},Tt=n=>{var r;const{title:o,showAsHeading:i,subTitle:s,primaryCta1:a,carouselImages:l,bottomLink:c,price:d,priceCallout:u,priceSuffix:h,checklist:m,renderCheckPlans:p,badgeImage:f,pricingDescriptionDisclaimer:g,secondaryCta:v,secondaryCtaPrefix:y,onModalButtonClick:b}=n,x=null!==(r=null==c?void 0:c.buttonLabel)&&void 0!==r?r:null==c?void 0:c.label;return e("div",{className:"component-container p-5 lg:h-[724px] lg:p-0",children:t("div",{className:Ie("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("div",{className:Ie("relative flex flex-col text-white sm:w-[485px]"),children:t("div",{className:"flex flex-col gap-5 lg:gap-6",children:[o&&e(Ue,{as:i?"h1":"h2",className:"heading2 lg:heading1",children:o}),s&&e(Ue,{as:"p",className:"subheading3 lg:subheading1",children:s}),d?t("div",{className:"flex",children:[e("div",{className:"mr-2 mt-0.5",children:u?u.split("|").map((t,n)=>e(Ue,{as:"p",className:"body2",children:t},n)):null}),t("div",{className:"flex",children:[e(Ue,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e(Ue,{as:"p",className:"subheading5",children:d}),h?e(Ue,{as:"p",className:"subheading1 mt-0.5",children:h}):null]})]}):null,m&&e(rt,{listItemClassName:"text-white body2",items:m.map(e=>e.title)}),t("div",{className:"flex flex-col gap-3",children:[a&&e("div",{className:Ie("hidden lg:flex lg:flex-col"),children:e(Xe,{...a,renderCheckPlans:p,onModalButtonClick:b})}),y||v?t("div",{className:"flex",children:[y&&e(Ue,{as:"span",className:"body2 mr-1",children:y}),v&&e(Xe,{linkClassName:"body2 text-text-inverse",onModalButtonClick:b,...v})]}):null,c&&(x||(null==c?void 0:c.href))&&e("div",{className:"hidden lg:block",children:e(Xe,{...c,linkClassName:"text-footnote text-white",onModalButtonClick:b})}),g?e(Ue,{as:"p",className:"body3",children:g}):null]})]})}),t("div",{className:"lg:hidden",children:[t("div",{className:"relative my-8",children:[f?e(Ke,{src:f,alt:"Badge",className:"absolute left-5 top-5 aspect-square w-26 object-cover object-center",width:100,height:100,loading:"eager"}):null,l&&l[0]?e(Ke,{src:l[0],alt:"Hero",className:"aspect-[1.71:1] sm:aspect-[1.41:1] rounded-[40px] object-cover object-center sm:h-[420px]",width:350,height:205,loading:"eager"}):null]}),c&&(x||(null==c?void 0:c.href))&&e("div",{children:e(Xe,{...c,onModalButtonClick:b,linkClassName:"body3 text-white"})}),g?e(Ue,{as:"p",className:"body3",children:g}):null,y||v?t("div",{className:"flex",children:[y&&e(Ue,{as:"span",className:"body2 mr-1",children:y}),v&&e(Xe,{...v,onModalButtonClick:b,linkClassName:"text-white"})]}):null]}),t("div",{className:Ie("relative hidden lg:block"),children:[f?e(Ke,{src:f,alt:"Badge",className:"absolute -left-26 top-18 aspect-square w-52 object-cover object-center",width:200,height:200,loading:"eager"}):null,l&&l[0]?e(Ke,{src:l[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,loading:"eager"}):null]})]})})},St=({fields:t})=>e("div",{children:e(Ue,{children:"Text Block"})}),At={closed:{opacity:0},open:{opacity:1}},Mt={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},Dt={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},Vt=u({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Lt=u({}),Bt=u(null),jt="undefined"!=typeof document,Rt=jt?h:l,Ft=u({strict:!1});function It(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Ot(e){return"string"==typeof e||Array.isArray(e)}function $t(e){return"object"==typeof e&&"function"==typeof e.start}const zt=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],_t=["initial",...zt];function Ut(e){return $t(e.animate)||_t.some(t=>Ot(e[t]))}function Wt(e){return Boolean(Ut(e)||e.variants)}function Gt(e){const{initial:t,animate:n}=function(e,t){if(Ut(e)){const{initial:t,animate:n}=e;return{initial:!1===t||Ot(t)?t:void 0,animate:Ot(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,m(Lt));return d(()=>({initial:t,animate:n}),[Ht(t),Ht(n)])}function Ht(e){return Array.isArray(e)?e.join(" "):e}const Yt={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"]},Xt={};for(const e in Yt)Xt[e]={isEnabled:t=>Yt[e].some(e=>!!t[e])};const qt=u({}),Kt=u({}),Zt=Symbol.for("motionComponentSymbol");function Jt({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:o,Component:a}){e&&function(e){for(const t in e)Xt[t]={...Xt[t],...e[t]}}(e);const d=i(function(i,d){let u;const h={...m(Vt),...i,layoutId:Qt(i)},{isStatic:f}=h,g=Gt(i),v=o(i,f);if(!f&&jt){g.visualElement=function(e,t,n,r){const{visualElement:o}=m(Lt),i=m(Ft),a=m(Bt),c=m(Vt).reducedMotion,d=s();r=r||i.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:o,props:n,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:c}));const u=d.current;return p(()=>{u&&u.update(n,a)}),Rt(()=>{u&&u.render()}),l(()=>{u&&u.updateFeatures()}),(window.HandoffAppearAnimations?Rt:l)(()=>{u&&u.animationState&&u.animationState.animateChanges()}),u}(a,v,h,t);const n=m(Kt),r=m(Ft).strict;g.visualElement&&(u=g.visualElement.loadFeatures(h,r,e,n))}return r.createElement(Lt.Provider,{value:g},u&&g.visualElement?r.createElement(u,{visualElement:g.visualElement,...h}):null,n(a,i,function(e,t,n){return c(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):It(n)&&(n.current=r))},[t])}(v,g.visualElement,d),v,f,g.visualElement))});return d[Zt]=a,d}function Qt({layoutId:e}){const t=m(qt).id;return t&&void 0!==e?t+"-"+e:e}function en(e){function t(t,n={}){return Jt(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 tn=["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 nn(e){return"string"==typeof e&&!e.includes("-")&&!!(tn.indexOf(e)>-1||/[A-Z]/.test(e))}const rn={};const on=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],sn=new Set(on);function an(e,{layout:t,layoutId:n}){return sn.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!rn[e]||"opacity"===e)}const ln=e=>Boolean(e&&e.getVelocity),cn={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},dn=on.length;const un=e=>t=>"string"==typeof t&&t.startsWith(e),hn=un("--"),mn=un("var(--"),pn=(e,t)=>t&&"number"==typeof e?t.transform(e):e,fn=(e,t,n)=>Math.min(Math.max(n,e),t),gn={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},vn={...gn,transform:e=>fn(0,1,e)},yn={...gn,default:1},bn=e=>Math.round(1e5*e)/1e5,xn=/(-)?([\d]*\.?[\d])+/g,wn=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,kn=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Nn(e){return"string"==typeof e}const Cn=e=>({test:t=>Nn(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Pn=Cn("deg"),En=Cn("%"),Tn=Cn("px"),Sn=Cn("vh"),An=Cn("vw"),Mn={...En,parse:e=>En.parse(e)/100,transform:e=>En.transform(100*e)},Dn={...gn,transform:Math.round},Vn={borderWidth:Tn,borderTopWidth:Tn,borderRightWidth:Tn,borderBottomWidth:Tn,borderLeftWidth:Tn,borderRadius:Tn,radius:Tn,borderTopLeftRadius:Tn,borderTopRightRadius:Tn,borderBottomRightRadius:Tn,borderBottomLeftRadius:Tn,width:Tn,maxWidth:Tn,height:Tn,maxHeight:Tn,size:Tn,top:Tn,right:Tn,bottom:Tn,left:Tn,padding:Tn,paddingTop:Tn,paddingRight:Tn,paddingBottom:Tn,paddingLeft:Tn,margin:Tn,marginTop:Tn,marginRight:Tn,marginBottom:Tn,marginLeft:Tn,rotate:Pn,rotateX:Pn,rotateY:Pn,rotateZ:Pn,scale:yn,scaleX:yn,scaleY:yn,scaleZ:yn,skew:Pn,skewX:Pn,skewY:Pn,distance:Tn,translateX:Tn,translateY:Tn,translateZ:Tn,x:Tn,y:Tn,z:Tn,perspective:Tn,transformPerspective:Tn,opacity:vn,originX:Mn,originY:Mn,originZ:Tn,zIndex:Dn,fillOpacity:vn,strokeOpacity:vn,numOctaves:Dn};function Ln(e,t,n,r){const{style:o,vars:i,transform:s,transformOrigin:a}=e;let l=!1,c=!1,d=!0;for(const e in t){const n=t[e];if(hn(e)){i[e]=n;continue}const r=Vn[e],u=pn(n,r);if(sn.has(e)){if(l=!0,s[e]=u,!d)continue;n!==(r.default||0)&&(d=!1)}else e.startsWith("origin")?(c=!0,a[e]=u):o[e]=u}if(t.transform||(l||r?o.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let i="";for(let t=0;t<dn;t++){const n=on[t];void 0!==e[n]&&(i+=`${cn[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,d,r):o.transform&&(o.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=a;o.transformOrigin=`${e} ${t} ${n}`}}const Bn=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function jn(e,t,n){for(const r in t)ln(t[r])||an(r,n)||(e[r]=t[r])}function Rn(e,t,n){const r={};return jn(r,e.style||{},e),Object.assign(r,function({transformTemplate:e},t,n){return d(()=>{const r={style:{},transform:{},transformOrigin:{},vars:{}};return Ln(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(r):r}function Fn(e,t,n){const r={},o=Rn(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 In=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 On(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||In.has(e)}let $n=e=>!On(e);try{(zn=require("@emotion/is-prop-valid").default)&&($n=e=>e.startsWith("on")?!On(e):zn(e))}catch(e){}var zn;function _n(e,t,n){return"string"==typeof e?e:Tn.transform(t+n*e)}const Un={offset:"stroke-dashoffset",array:"stroke-dasharray"},Wn={offset:"strokeDashoffset",array:"strokeDasharray"};function Gn(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},d,u,h){if(Ln(e,c,d,h),u)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:m,style:p,dimensions:f}=e;m.transform&&(f&&(p.transform=m.transform),delete m.transform),f&&(void 0!==o||void 0!==i||p.transform)&&(p.transformOrigin=function(e,t,n){return`${_n(t,e.x,e.width)} ${_n(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?Un:Wn;e[i.offset]=Tn.transform(-r);const s=Tn.transform(t),a=Tn.transform(n);e[i.array]=`${s} ${a}`}(m,s,a,l,!1)}const Hn=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),Yn=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Xn(e,t,n,r){const o=d(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Gn(n,t,{enableHardwareAcceleration:!1},Yn(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};jn(t,e.style,e),o.style={...t,...o.style}}return o}function qn(e=!1){return(t,n,r,{latestValues:o},i)=>{const s=(nn(t)?Xn:Fn)(n,o,i,t),a=function(e,t,n){const r={};for(const o in e)"values"===o&&"object"==typeof e.values||($n(o)||!0===n&&On(o)||!t&&!On(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),l={...a,...s,ref:r},{children:c}=n,u=d(()=>ln(c)?c.get():c,[c]);return f(t,{...l,children:u})}}const Kn=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Zn(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 Jn=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 Qn(e,t,n,r){Zn(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(Jn.has(n)?n:Kn(n),t.attrs[n])}function er(e,t){const{style:n}=e,r={};for(const o in n)(ln(n[o])||t.style&&ln(t.style[o])||an(o,e))&&(r[o]=n[o]);return r}function tr(e,t){const n=er(e,t);for(const r in e)if(ln(e[r])||ln(t[r])){n[-1!==on.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n}function nr(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}const rr=e=>Array.isArray(e),or=e=>rr(e)?e[e.length-1]||0:e;function ir(e){const t=ln(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const sr=e=>(t,n)=>{const r=m(Lt),o=m(Bt),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,i){const s={latestValues:ar(r,o,i,e),renderState:t()};return n&&(s.mount=e=>n(r,e,s)),s}(e,t,r,o);return n?i():function(e){const t=s(null);return null===t.current&&(t.current=e()),t.current}(i)};function ar(e,t,n,r){const o={},i=r(e,{});for(const e in i)o[e]=ir(i[e]);let{initial:s,animate:a}=e;const l=Ut(e),c=Wt(e);t&&c&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let d=!!n&&!1===n.initial;d=d||!1===s;const u=d?a:s;if(u&&"boolean"!=typeof u&&!$t(u)){(Array.isArray(u)?u:[u]).forEach(t=>{const n=nr(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[d?t.length-1:0]}null!==t&&(o[e]=t)}for(const e in r)o[e]=r[e]})}return o}const lr={useVisualState:sr({scrapeMotionValuesFromProps:tr,createRenderState:Hn,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}}Gn(n,r,{enableHardwareAcceleration:!1},Yn(t.tagName),e.transformTemplate),Qn(t,n)}})},cr={useVisualState:sr({scrapeMotionValuesFromProps:er,createRenderState:Bn})};function dr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const ur=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function hr(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function mr(e,t,n,r){return dr(e,t,(e=>t=>ur(t)&&e(t,hr(t)))(n),r)}const pr=(e,t)=>n=>t(e(n)),fr=(...e)=>e.reduce(pr);function gr(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const vr=gr("dragHorizontal"),yr=gr("dragVertical");function br(e){let t=!1;if("y"===e)t=yr();else if("x"===e)t=vr();else{const e=vr(),n=yr();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function xr(){const e=br(!0);return!e||(e(),!1)}class wr{constructor(e){this.isMounted=!1,this.node=e}update(){}}const kr={delta:0,timestamp:0,isProcessing:!1};let Nr=!0,Cr=!1;const Pr=["read","update","preRender","render","postRender"],Er=Pr.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}(()=>Cr=!0),e),{}),Tr=e=>Er[e].process(kr),Sr=e=>{Cr=!1,kr.delta=Nr?1e3/60:Math.max(Math.min(e-kr.timestamp,40),1),kr.timestamp=e,kr.isProcessing=!0,Pr.forEach(Tr),kr.isProcessing=!1,Cr&&(Nr=!1,requestAnimationFrame(Sr))},Ar=Pr.reduce((e,t)=>{const n=Er[t];return e[t]=(e,t=!1,r=!1)=>(Cr||(Cr=!0,Nr=!0,kr.isProcessing||requestAnimationFrame(Sr)),n.schedule(e,t,r)),e},{});function Mr(e){Pr.forEach(t=>Er[t].cancel(e))}function Dr(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return mr(e.current,n,(n,o)=>{if("touch"===n.type||xr())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[r]&&Ar.update(()=>i[r](n,o))},{passive:!e.getProps()[r]})}const Vr=(e,t)=>!!t&&(e===t||Vr(e,t.parentElement)),Lr=e=>e;function Br(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,hr(n))}const jr=new WeakMap,Rr=new WeakMap,Fr=e=>{const t=jr.get(e.target);t&&t(e)},Ir=e=>{e.forEach(Fr)};function Or(e,t,n){const r=function({root:e,...t}){const n=e||document;Rr.has(n)||Rr.set(n,{});const r=Rr.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(Ir,{root:e,...t})),r[o]}(t);return jr.set(e,n),r.observe(e),()=>{jr.delete(e),r.unobserve(e)}}const $r={some:0,all:1};const zr={inView:{Feature:class extends wr{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:$r[r]};return Or(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 wr{constructor(){super(...arguments),this.removeStartListeners=Lr,this.removeEndListeners=Lr,this.removeAccessibleListeners=Lr,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=mr(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();Ar.update(()=>{Vr(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),o=mr(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=fr(r,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=dr(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=dr(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&Br("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&Ar.update(()=>n(e,t))})}),Br("down",(e,t)=>{this.startPress(e,t)})}),t=dr(this.node.current,"blur",()=>{this.isPressing&&Br("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=fr(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&&Ar.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!xr()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&Ar.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=mr(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=dr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=fr(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends wr{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=fr(dr(this.node.current,"focus",()=>this.onFocus()),dr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends wr{mount(){this.unmount=fr(Dr(this.node,!0),Dr(this.node,!1))}unmount(){}}}};function _r(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 Ur(e,t,n){const r=e.getProps();return nr(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 Wr="data-"+Kn("framerAppearId");let Gr=Lr,Hr=Lr;"production"!==process.env.NODE_ENV&&(Gr=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},Hr=(e,t)=>{if(!e)throw new Error(t)});const Yr=e=>1e3*e,Xr=e=>e/1e3,qr=!1,Kr=e=>Array.isArray(e)&&"number"==typeof e[0];function Zr(e){return Boolean(!e||"string"==typeof e&&Qr[e]||Kr(e)||Array.isArray(e)&&e.every(Zr))}const Jr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Qr={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Jr([0,.65,.55,1]),circOut:Jr([.55,0,1,.45]),backIn:Jr([.31,.01,.66,-.59]),backOut:Jr([.33,1.53,.69,.99])};function eo(e){if(e)return Kr(e)?Jr(e):Array.isArray(e)?e.map(eo):Qr[e]}const to={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},no={},ro={};for(const e in to)ro[e]=()=>(void 0===no[e]&&(no[e]=to[e]()),no[e]);const oo=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function io(e,t,n,r){if(e===t&&n===r)return Lr;const o=t=>function(e,t,n,r,o){let i,s,a=0;do{s=t+(n-t)/2,i=oo(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:oo(o(e),t,r)}const so=io(.42,0,1,1),ao=io(0,0,.58,1),lo=io(.42,0,.58,1),co=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,uo=e=>t=>1-e(1-t),ho=e=>1-Math.sin(Math.acos(e)),mo=uo(ho),po=co(mo),fo=io(.33,1.53,.69,.99),go=uo(fo),vo=co(go),yo={linear:Lr,easeIn:so,easeInOut:lo,easeOut:ao,circIn:ho,circInOut:po,circOut:mo,backIn:go,backInOut:vo,backOut:fo,anticipate:e=>(e*=2)<1?.5*go(e):.5*(2-Math.pow(2,-10*(e-1)))},bo=e=>{if(Array.isArray(e)){Hr(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return io(t,n,r,o)}return"string"==typeof e?(Hr(void 0!==yo[e],`Invalid easing type '${e}'`),yo[e]):e},xo=(e,t)=>n=>Boolean(Nn(n)&&kn.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),wo=(e,t,n)=>r=>{if(!Nn(r))return r;const[o,i,s,a]=r.match(xn);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},ko={...gn,transform:e=>Math.round((e=>fn(0,255,e))(e))},No={test:xo("rgb","red"),parse:wo("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ko.transform(e)+", "+ko.transform(t)+", "+ko.transform(n)+", "+bn(vn.transform(r))+")"};const Co={test:xo("#"),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:No.transform},Po={test:xo("hsl","hue"),parse:wo("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+En.transform(bn(t))+", "+En.transform(bn(n))+", "+bn(vn.transform(r))+")"},Eo={test:e=>No.test(e)||Co.test(e)||Po.test(e),parse:e=>No.test(e)?No.parse(e):Po.test(e)?Po.parse(e):Co.parse(e),transform:e=>Nn(e)?e:e.hasOwnProperty("red")?No.transform(e):Po.transform(e)},To=(e,t,n)=>-n*e+n*t+e;function So(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 Ao=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},Mo=[Co,No,Po];function Do(e){const t=(n=e,Mo.find(e=>e.test(n)));var n;Hr(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===Po&&(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=So(a,r,e+1/3),i=So(a,r,e),s=So(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 Vo=(e,t)=>{const n=Do(e),r=Do(t),o={...n};return e=>(o.red=Ao(n.red,r.red,e),o.green=Ao(n.green,r.green,e),o.blue=Ao(n.blue,r.blue,e),o.alpha=To(n.alpha,r.alpha,e),No.transform(o))};const Lo={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Lr},Bo={regex:wn,countKey:"Colors",token:"${c}",parse:Eo.parse},jo={regex:xn,countKey:"Numbers",token:"${n}",parse:gn.parse};function Ro(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 Fo(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Ro(n,Lo),Ro(n,Bo),Ro(n,jo),n}function Io(e){return Fo(e).values}function Oo(e){const{values:t,numColors:n,numVars:r,tokenised:o}=Fo(e),i=t.length;return e=>{let t=o;for(let o=0;o<i;o++)t=o<r?t.replace(Lo.token,e[o]):o<r+n?t.replace(Bo.token,Eo.transform(e[o])):t.replace(jo.token,bn(e[o]));return t}}const $o=e=>"number"==typeof e?0:e;const zo={test:function(e){var t,n;return isNaN(e)&&Nn(e)&&((null===(t=e.match(xn))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(wn))||void 0===n?void 0:n.length)||0)>0},parse:Io,createTransformer:Oo,getAnimatableNone:function(e){const t=Io(e);return Oo(e)(t.map($o))}},_o=(e,t)=>n=>`${n>0?t:e}`;function Uo(e,t){return"number"==typeof e?n=>To(e,t,n):Eo.test(e)?Vo(e,t):e.startsWith("var(")?_o(e,t):Ho(e,t)}const Wo=(e,t)=>{const n=[...e],r=n.length,o=e.map((e,n)=>Uo(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}},Go=(e,t)=>{const n={...e,...t},r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=Uo(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}},Ho=(e,t)=>{const n=zo.createTransformer(t),r=Fo(e),o=Fo(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?fr(Wo(r.values,o.values),n):(Gr(!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.`),_o(e,t))},Yo=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},Xo=(e,t)=>n=>To(e,t,n);function qo(e,t,n){const r=[],o=n||("number"==typeof(i=e[0])?Xo:"string"==typeof i?Eo.test(i)?Vo:Ho:Array.isArray(i)?Wo:"object"==typeof i?Go:Xo);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]||Lr:t;i=fr(e,i)}r.push(i)}return r}function Ko(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(Hr(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=qo(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=Yo(e[n],e[n+1],t);return s[n](r)};return n?t=>l(fn(e[0],e[i-1],t)):l}function Zo(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Yo(0,t,r);e.push(To(n,1,o))}}(t,e.length-1),t}function Jo({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(bo):bo(r),i={done:!1,value:t[0]},s=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Zo(t),e),a=Ko(s,t,{ease:Array.isArray(o)?o:(l=t,c=o,l.map(()=>c||lo).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(i.value=a(t),i.done=t>=e,i)}}function Qo(e,t){return t?e*(1e3/t):0}function ei(e,t,n){const r=Math.max(t-5,0);return Qo(n-e(r),t-r)}const ti=.001;function ni({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i;Gr(e<=Yr(10),"Spring duration must be 10 seconds or less");let s=1-t;s=fn(.05,1,s),e=fn(.01,10,Xr(e)),s<1?(o=t=>{const r=t*s,o=r*e,i=r-n,a=oi(t,s),l=Math.exp(-o);return ti-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=oi(Math.pow(t,2),s);return(-o(t)+ti>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<ri;n++)r-=e(r)/t(r);return r}(o,i,5/e);if(e=Yr(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 ri=12;function oi(e,t){return e*Math.sqrt(1-t*t)}const ii=["duration","bounce"],si=["stiffness","damping","mass"];function ai(e,t){return t.some(t=>void 0!==e[t])}function li({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:d,duration:u,isResolvedFromDuration:h}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!ai(e,si)&&ai(e,ii)){const n=ni(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(r),m=d?-Xr(d):0,p=l/(2*Math.sqrt(a*c)),f=i-o,g=Xr(Math.sqrt(a/c)),v=Math.abs(f)<5;let y;if(n||(n=v?.01:2),t||(t=v?.005:.5),p<1){const e=oi(g,p);y=t=>{const n=Math.exp(-p*g*t);return i-n*((m+p*g*f)/e*Math.sin(e*t)+f*Math.cos(e*t))}}else if(1===p)y=e=>i-Math.exp(-g*e)*(f+(m+g*f)*e);else{const e=g*Math.sqrt(p*p-1);y=t=>{const n=Math.exp(-p*g*t),r=Math.min(e*t,300);return i-n*((m+p*g*f)*Math.sinh(r)+e*f*Math.cosh(r))/e}}return{calculatedDuration:h&&u||null,next:e=>{const r=y(e);if(h)s.done=e>=u;else{let o=m;0!==e&&(o=p<1?ei(y,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 ci({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:d}){const u=e[0],h={done:!1,value:u},m=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let p=n*t;const f=u+p,g=void 0===s?f:s(f);g!==f&&(p=g-u);const v=e=>-p*Math.exp(-e/r),y=e=>g+v(e),b=e=>{const t=v(e),n=y(e);h.done=Math.abs(t)<=c,h.value=h.done?g:n};let x,w;const k=e=>{var t;(t=h.value,void 0!==a&&t<a||void 0!==l&&t>l)&&(x=e,w=li({keyframes:[h.value,m(h.value)],velocity:ei(y,e,h.value),damping:o,stiffness:i,restDelta:c,restSpeed:d}))};return k(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==x||(t=!0,b(e),k(e)),void 0!==x&&e>x?w.next(e-x):(!t&&b(e),h)}}}const di=e=>{const t=({timestamp:t})=>e(t);return{start:()=>Ar.update(t,!0),stop:()=>Mr(t),now:()=>kr.isProcessing?kr.timestamp:performance.now()}};function ui(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 hi={decay:ci,inertia:ci,tween:Jo,keyframes:Jo,spring:li};function mi({autoplay:e=!0,delay:t=0,driver:n=di,keyframes:r,type:o="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:a="loop",onPlay:l,onStop:c,onComplete:d,onUpdate:u,...h}){let m,p,f=1,g=!1;const v=()=>{m&&m(),p=new Promise(e=>{m=e})};let y;v();const b=hi[o]||Jo;let x;b!==Jo&&"number"!=typeof r[0]&&(x=Ko([0,100],r,{clamp:!1}),r=[0,100]);const w=b({...h,keyframes:r});let k;"mirror"===a&&(k=b({...h,keyframes:[...r].reverse(),velocity:-(h.velocity||0)}));let N="idle",C=null,P=null,E=null;null===w.calculatedDuration&&i&&(w.calculatedDuration=ui(w));const{calculatedDuration:T}=w;let S=1/0,A=1/0;null!==T&&(S=T+s,A=S*(i+1)-s);let M=0;const D=e=>{if(null===P)return;f>0&&(P=Math.min(P,e)),M=null!==C?C:(e-P)*f;const n=M-t,o=n<0;M=Math.max(n,0),"finished"===N&&null===C&&(M=A);let l=M,c=w;if(i){const e=M/S;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/S)):"mirror"===a&&(c=k));let o=fn(0,1,n);M>A&&(o="reverse"===a&&r?1:0),l=o*S}const d=o?{done:!1,value:r[0]}:c.next(l);x&&(d.value=x(d.value));let{done:h}=d;o||null===T||(h=M>=A);const m=null===C&&("finished"===N||"running"===N&&h||f<0&&M<=0);return u&&u(d.value),m&&B(),d},V=()=>{y&&y.stop(),y=void 0},L=()=>{N="idle",V(),v(),P=E=null},B=()=>{N="finished",d&&d(),V(),v()},j=()=>{if(g)return;y||(y=n(D));const e=y.now();l&&l(),null!==C?P=e-C:P&&"finished"!==N||(P=e),E=P,C=null,N="running",y.start()};e&&j();const R={then:(e,t)=>p.then(e,t),get time(){return Xr(M)},set time(e){e=Yr(e),M=e,null===C&&y&&0!==f?P=y.now()-e/f:C=e},get duration(){const e=null===w.calculatedDuration?ui(w):w.calculatedDuration;return Xr(e)},get speed(){return f},set speed(e){e!==f&&y&&(f=e,R.time=Xr(M))},get state(){return N},play:j,pause:()=>{N="paused",C=M},stop:()=>{g=!0,"idle"!==N&&(N="idle",c&&c(),L())},cancel:()=>{null!==E&&D(E),L()},complete:()=>{N="finished"},sample:e=>(P=0,D(e))};return R}const pi=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function fi(e,t,{onUpdate:n,onComplete:r,...o}){if(!(ro.waapi()&&pi.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:d=300,ease:u,times:h}=o;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!Zr(t.ease))(t,o)){const e=mi({...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;h=void 0,c=n,d=r-10,u="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 d=eo(a);return Array.isArray(d)&&(c.easing=d),e.animate(c,{delay:r,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:i+1,direction:"reverse"===s?"alternate":"normal"})}(e.owner.current,t,c,{...o,duration:d,ease:u,times:h}),p=()=>m.cancel(),f=()=>{Ar.update(p),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 Xr(m.currentTime||0)},set time(e){m.currentTime=Yr(e)},get speed(){return m.playbackRate},set speed(e){m.playbackRate=e},get duration(){return Xr(d)},play:()=>{a||(m.play(),Mr(p))},pause:()=>m.pause(),stop:()=>{if(a=!0,"idle"===m.playState)return;const{currentTime:t}=m;if(t){const n=mi({...o,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}f()},complete:()=>m.finish(),cancel:f}}const gi={type:"spring",stiffness:500,damping:25,restSpeed:10},vi={type:"keyframes",duration:.8},yi={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},bi=(e,{keyframes:t})=>t.length>2?vi:sn.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:gi:yi,xi=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!zo.test(t)&&"0"!==t||t.startsWith("url("))),wi=new Set(["brightness","contrast","saturate","opacity"]);function ki(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(xn)||[];if(!r)return e;const o=n.replace(r,"");let i=wi.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const Ni=/([a-z-]*)\(.*?\)/g,Ci={...zo,getAnimatableNone:e=>{const t=e.match(Ni);return t?t.map(ki).join(" "):e}},Pi={...Vn,color:Eo,backgroundColor:Eo,outlineColor:Eo,fill:Eo,stroke:Eo,borderColor:Eo,borderTopColor:Eo,borderRightColor:Eo,borderBottomColor:Eo,borderLeftColor:Eo,filter:Ci,WebkitFilter:Ci},Ei=e=>Pi[e];function Ti(e,t){let n=Ei(e);return n!==Ci&&(n=zo),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Si=e=>/^0[^.\s]+$/.test(e);function Ai(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||Si(e):void 0}function Mi(e,t){return e[t]||e.default||e}const Di=(e,t,n,r={})=>o=>{const i=Mi(r,e)||{},s=i.delay||r.delay||0;let{elapsed:a=0}=r;a-=Yr(s);const l=function(e,t,n,r){const o=xi(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]),Ai(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]]=Ti(t,a);return i}(t,e,n,i),c=l[0],d=l[l.length-1],u=xi(e,c),h=xi(e,d);Gr(u===h,`You are trying to animate ${e} from "${c}" to "${d}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${d} 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,...d}){return!!Object.keys(d).length}(i)||(m={...m,...bi(e,m)}),m.duration&&(m.duration=Yr(m.duration)),m.repeatDelay&&(m.repeatDelay=Yr(m.repeatDelay)),!u||!h||qr||!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:Lr,pause:Lr,stop:Lr,then:e=>(e(),Promise.resolve()),cancel:Lr,complete:Lr});return t?mi({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=fi(t,e,m);if(n)return n}return mi(m)};function Vi(e){return Boolean(ln(e)&&e.add)}const Li=e=>/^\-?\d*\.?\d+$/.test(e);function Bi(e,t){-1===e.indexOf(t)&&e.push(t)}function ji(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Ri{constructor(){this.subscriptions=[]}add(e){return Bi(this.subscriptions,e),()=>ji(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 Fi=new Set;function Ii(e,t,n){e||Fi.has(t)||(console.warn(t),Fi.add(t))}class Oi{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}=kr;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,Ar.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=()=>Ar.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&&Ii(!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 Ri);const n=this.events[e].add(t);return"change"===e?()=>{n(),Ar.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?Qo(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 $i(e,t){return new Oi(e,t)}const zi=e=>t=>t.test(e),_i=[gn,Tn,En,Pn,An,Sn,{test:e=>"auto"===e,parse:e=>e}],Ui=e=>_i.find(zi(e)),Wi=[..._i,Eo,zo],Gi=e=>Wi.find(zi(e));function Hi(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,$i(n))}function Yi(e,t){if(!t)return;return(t[e]||t.default||t).from}function Xi({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function qi(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=[],d=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||d&&Xi(d,t))continue;const s={delay:n,elapsed:0,...i};if(window.HandoffAppearAnimations&&!r.hasAnimated){const n=e.getProps()[Wr];n&&(s.elapsed=window.HandoffAppearAnimations(n,t,r,Ar))}r.start(Di(t,r,o,e.shouldReduceMotion&&sn.has(t)?{type:!1}:s));const u=r.animation;Vi(l)&&(l.add(t),u.then(()=>l.remove(t))),c.push(u)}return s&&Promise.all(c).then(()=>{s&&function(e,t){const n=Ur(e,t);let{transitionEnd:r={},transition:o={},...i}=n?e.makeTargetAnimatable(n,!1):{};i={...i,...r};for(const t in i)Hi(e,t,or(i[t]))}(e,s)}),c}function Ki(e,t,n={}){const r=Ur(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const i=r?()=>Promise.all(qi(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(Zi).forEach((e,r)=>{e.notify("AnimationStart",t),s.push(Ki(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 Zi(e,t){return e.sortNodePosition(t)}const Ji=[...zt].reverse(),Qi=zt.length;function es(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=>Ki(e,t,n));r=Promise.all(o)}else if("string"==typeof t)r=Ki(e,t,n);else{const o="function"==typeof t?Ur(e,t,n.custom):t;r=Promise.all(qi(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function ts(e){let t=es(e);const n={animate:rs(!0),whileInView:rs(),whileHover:rs(),whileTap:rs(),whileDrag:rs(),whileFocus:rs(),exit:rs()};let r=!0;const o=(t,n)=>{const r=Ur(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=[],d=new Set;let u={},h=1/0;for(let t=0;t<Qi;t++){const m=Ji[t],p=n[m],f=void 0!==a[m]?a[m]:l[m],g=Ot(f),v=m===s?p.isActive:null;!1===v&&(h=t);let y=f===l[m]&&f!==a[m]&&g;if(y&&r&&e.manuallyAnimateOnMount&&(y=!1),p.protectedKeys={...u},!p.isActive&&null===v||!f&&!p.prevProp||$t(f)||"boolean"==typeof f)continue;const b=ns(p.prevProp,f);let x=b||m===s&&p.isActive&&!y&&g||t>h&&g;const w=Array.isArray(f)?f:[f];let k=w.reduce(o,{});!1===v&&(k={});const{prevResolvedValues:N={}}=p,C={...N,...k},P=e=>{x=!0,d.delete(e),p.needsAnimating[e]=!0};for(const e in C){const t=k[e],n=N[e];u.hasOwnProperty(e)||(t!==n?rr(t)&&rr(n)?!_r(t,n)||b?P(e):p.protectedKeys[e]=!0:void 0!==t?P(e):d.add(e):void 0!==t&&d.has(e)?P(e):p.protectedKeys[e]=!0)}p.prevProp=f,p.prevResolvedValues=k,p.isActive&&(u={...u,...k}),r&&e.blockInitialAnimation&&(x=!1),x&&!y&&c.push(...w.map(e=>({animation:e,options:{type:m,...i}})))}if(d.size){const t={};d.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 ns(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!_r(t,e)}function rs(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let os=0;const is={animation:{Feature:class extends wr{constructor(e){super(e),e.animationState||(e.animationState=ts(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),$t(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 wr{constructor(){super(...arguments),this.id=os++}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(){}}}},ss=(e,t)=>Math.abs(e-t);class as{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=ds(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=ss(e.x,t.x),r=ss(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}=kr;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=ls(t,this.transformPagePoint),Ar.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,o=ds("pointercancel"===e.type?this.lastMoveEventInfo:ls(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!ur(e))return;this.handlers=t,this.transformPagePoint=n;const r=ls(hr(e),this.transformPagePoint),{point:o}=r,{timestamp:i}=kr;this.history=[{...o,timestamp:i}];const{onSessionStart:s}=t;s&&s(e,ds(r,this.history)),this.removeListeners=fr(mr(window,"pointermove",this.handlePointerMove),mr(window,"pointerup",this.handlePointerUp),mr(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Mr(this.updatePoint)}}function ls(e,t){return t?{point:t(e.point)}:e}function cs(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ds({point:e},t){return{point:e,delta:cs(e,hs(t)),offset:cs(e,us(t)),velocity:ms(t,.1)}}function us(e){return e[0]}function hs(e){return e[e.length-1]}function ms(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=hs(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Yr(t)));)n--;if(!r)return{x:0,y:0};const i=Xr(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 ps(e){return e.max-e.min}function fs(e,t=0,n=.01){return Math.abs(e-t)<=n}function gs(e,t,n,r=.5){e.origin=r,e.originPoint=To(t.min,t.max,e.origin),e.scale=ps(n)/ps(t),(fs(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=To(n.min,n.max,e.origin)-e.originPoint,(fs(e.translate)||isNaN(e.translate))&&(e.translate=0)}function vs(e,t,n,r){gs(e.x,t.x,n.x,r?r.originX:void 0),gs(e.y,t.y,n.y,r?r.originY:void 0)}function ys(e,t,n){e.min=n.min+t.min,e.max=e.min+ps(t)}function bs(e,t,n){e.min=t.min-n.min,e.max=e.min+ps(t)}function xs(e,t,n){bs(e.x,t.x,n.x),bs(e.y,t.y,n.y)}function ws(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 ks(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 Ns=.35;function Cs(e,t,n){return{min:Ps(e,t),max:Ps(e,n)}}function Ps(e,t){return"number"==typeof e?e:e[t]||0}const Es=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Ts(e){return[e("x"),e("y")]}function Ss({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function As(e){return void 0===e||1===e}function Ms({scale:e,scaleX:t,scaleY:n}){return!As(e)||!As(t)||!As(n)}function Ds(e){return Ms(e)||Vs(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Vs(e){return Ls(e.x)||Ls(e.y)}function Ls(e){return e&&"0%"!==e}function Bs(e,t,n){return n+t*(e-n)}function js(e,t,n,r,o){return void 0!==o&&(e=Bs(e,o,r)),Bs(e,n,r)+t}function Rs(e,t=0,n=1,r,o){e.min=js(e.min,t,n,r,o),e.max=js(e.max,t,n,r,o)}function Fs(e,{x:t,y:n}){Rs(e.x,t.translate,t.scale,t.originPoint),Rs(e.y,n.translate,n.scale,n.originPoint)}function Is(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Os(e,t){e.min=e.min+t,e.max=e.max+t}function $s(e,t,[n,r,o]){const i=void 0!==t[o]?t[o]:.5,s=To(e.min,e.max,i);Rs(e,t[n],t[r],s,t.scale)}const zs=["x","scaleX","originX"],_s=["y","scaleY","originY"];function Us(e,t){$s(e.x,t,zs),$s(e.y,t,_s)}function Ws(e,t){return Ss(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 Gs=new WeakMap;class Hs{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 as(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(hr(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=br(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),Ts(e=>{let t=this.getAxisMotionValue(e).get()||0;if(En.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=ps(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),o&&Ar.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&&Ar.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||!Ys(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?To(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?To(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&&It(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:ws(e.x,n,o),y:ws(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=Ns){return!1===e?e=0:!0===e&&(e=Ns),{x:Cs(e,"left","right"),y:Cs(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Ts(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||!It(e))return!1;const n=e.current;Hr(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=Ws(e,n),{scroll:o}=t;return o&&(Os(r.x,o.offset.x),Os(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:ks(e.x,t.x),y:ks(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=Ss(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=Ts(s=>{if(!Ys(s,t,this.currentDirection))return;let l=a&&a[s]||{};i&&(l={min:0,max:0});const c=r?200:1e6,d=r?40:1e7,u={type:"inertia",velocity:n?e[s]:0,bounceStiffness:c,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(s,u)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(Di(e,n,0,t))}stopAnimation(){Ts(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){Ts(t=>{const{drag:n}=this.getProps();if(!Ys(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]-To(n,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!It(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};Ts(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=ps(e),o=ps(t);return o>r?n=Yo(t.min,t.max-r,e.min):r>o&&(n=Yo(e.min,e.max-o,t.min)),fn(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(),Ts(t=>{if(!Ys(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];n.set(To(o,i,r[t]))})}addListeners(){if(!this.visualElement.current)return;Gs.set(this.visualElement,this);const e=mr(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();It(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=dr(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Ts(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=Ns,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:i,dragMomentum:s}}}function Ys(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Xs=e=>(t,n)=>{e&&Ar.update(()=>e(t,n))};const qs={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Ks(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Zs={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Tn.test(e))return e;e=parseFloat(e)}return`${Ks(e,t.target.x)}% ${Ks(e,t.target.y)}%`}},Js={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=zo.parse(e);if(o.length>5)return r;const i=zo.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=To(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 Qs extends o.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;var i;i=ta,Object.assign(rn,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()})),qs.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()||Ar.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 ea(e){const[t,n]=function(){const e=m(Bt);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=g();return l(()=>r(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}(),r=m(qt);return o.createElement(Qs,{...e,layoutGroup:r,switchLayoutGroup:m(Kt),isPresent:t,safeToRemove:n})}const ta={borderRadius:{...Zs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Zs,borderTopRightRadius:Zs,borderBottomLeftRadius:Zs,borderBottomRightRadius:Zs,boxShadow:Js},na=["TopLeft","TopRight","BottomLeft","BottomRight"],ra=na.length,oa=e=>"string"==typeof e?parseFloat(e):e,ia=e=>"number"==typeof e||Tn.test(e);function sa(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const aa=ca(0,.5,mo),la=ca(.5,.95,Lr);function ca(e,t,n){return r=>r<e?0:r>t?1:n(Yo(e,t,r))}function da(e,t){e.min=t.min,e.max=t.max}function ua(e,t){da(e.x,t.x),da(e.y,t.y)}function ha(e,t,n,r,o){return e=Bs(e-=t,1/n,r),void 0!==o&&(e=Bs(e,1/o,r)),e}function ma(e,t,[n,r,o],i,s){!function(e,t=0,n=1,r=.5,o,i=e,s=e){En.test(t)&&(t=parseFloat(t),t=To(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=To(i.min,i.max,r);e===i&&(a-=t),e.min=ha(e.min,t,n,a,o),e.max=ha(e.max,t,n,a,o)}(e,t[n],t[r],t[o],t.scale,i,s)}const pa=["x","scaleX","originX"],fa=["y","scaleY","originY"];function ga(e,t,n,r){ma(e.x,t,pa,n?n.x:void 0,r?r.x:void 0),ma(e.y,t,fa,n?n.y:void 0,r?r.y:void 0)}function va(e){return 0===e.translate&&1===e.scale}function ya(e){return va(e.x)&&va(e.y)}function ba(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 xa(e){return ps(e.x)/ps(e.y)}class wa{constructor(){this.members=[]}add(e){Bi(this.members,e),e.scheduleRender()}remove(e){if(ji(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 ka(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 Na=(e,t)=>e.depth-t.depth;class Ca{constructor(){this.children=[],this.isDirty=!1}add(e){Bi(this.children,e),this.isDirty=!0}remove(e){ji(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Na),this.isDirty=!1,this.children.forEach(e)}}const Pa=["","X","Y","Z"];let Ea=0;const Ta={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Sa({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=Ea++,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;Ta.totalNodes=Ta.resolvedTargetDeltas=Ta.recalculatedProjection=0,this.nodes.forEach(Da),this.nodes.forEach(Ia),this.nodes.forEach(Oa),this.nodes.forEach(Va),e=Ta,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 Ca)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Ri),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&&(Mr(r),e(i-t))};return Ar.read(r,!0),()=>Mr(r)}(r,250),qs.hasAnimatedSinceResize&&(qs.hasAnimatedSinceResize=!1,this.nodes.forEach(Fa))})}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()||Ga,{onLayoutAnimationStart:i,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!ba(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={...Mi(o,"layout"),onPlay:i,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||Fa(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,Mr(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($a),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(Ba);this.isUpdating||this.nodes.forEach(ja),this.isUpdating=!1,this.nodes.forEach(Ra),this.nodes.forEach(Aa),this.nodes.forEach(Ma),this.clearAllSnapshots();const e=performance.now();kr.delta=fn(0,1e3/60,e-kr.timestamp),kr.timestamp=e,kr.isProcessing=!0,Er.update.process(kr),Er.preRender.process(kr),Er.render.process(kr),kr.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(La),this.sharedNodes.forEach(za)}scheduleUpdateProjection(){Ar.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){Ar.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&&!ya(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;e&&(t||Ds(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)),Ha((r=n).x),Ha(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&&(Os(t.x,n.offset.x),Os(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};ua(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){ua(t,e);const{scroll:n}=this.root;n&&(Os(t.x,-n.offset.x),Os(t.y,-n.offset.y))}Os(t.x,o.offset.x),Os(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};ua(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&&Us(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),Ds(r.latestValues)&&Us(n,r.latestValues)}return Ds(this.latestValues)&&Us(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};ua(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!Ds(n.latestValues))continue;Ms(n.latestValues)&&n.updateSnapshot();const r=Es();ua(r,n.measurePageBox()),ga(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return Ds(this.latestValues)&&ga(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!==kr.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=kr.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}},xs(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),ua(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,ys(s.x,a.x,l.x),ys(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):ua(this.target,this.layout.layoutBox),Fs(this.target,this.targetDelta)):ua(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}},xs(this.relativeTargetOrigin,this.target,e.target),ua(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Ta.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Ms(this.parent.latestValues)&&!Vs(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===kr.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;ua(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&&Us(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Fs(e,s)),r&&Ds(i.latestValues)&&Us(e,i.latestValues))}t.x=Is(t.x),t.y=Is(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;vs(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=ka(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===s&&this.treeScale.y===a||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Ta.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,d=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(Wa));let u;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var l,h,m,p;_a(i.x,e.x,n),_a(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(xs(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),l=this.relativeTarget,h=this.relativeTargetOrigin,m=s,p=n,Ua(l.x,h.x,m.x,p),Ua(l.y,h.y,m.y,p),u&&ba(this.relativeTarget,u)&&(this.isProjectionDirty=!1),u||(u={x:{min:0,max:0},y:{min:0,max:0}}),ua(u,this.relativeTarget)),a&&(this.animationValues=o,function(e,t,n,r,o,i){o?(e.opacity=To(0,void 0!==n.opacity?n.opacity:1,aa(r)),e.opacityExit=To(void 0!==t.opacity?t.opacity:1,0,la(r))):i&&(e.opacity=To(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let o=0;o<ra;o++){const i=`border${na[o]}Radius`;let s=sa(t,i),a=sa(n,i);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||ia(s)===ia(a)?(e[i]=Math.max(To(oa(s),oa(a),r),0),(En.test(a)||En.test(s))&&(e[i]+="%")):e[i]=a)}(t.rotate||n.rotate)&&(e.rotate=To(t.rotate||0,n.rotate||0,r))}(o,r,this.latestValues,n,d,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&&(Mr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ar.update(()=>{qs.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=ln(e)?e:$i(e);return r.start(Di("",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&&Ya(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=ps(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=ps(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}ua(t,n),Us(t,o),vs(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new wa);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<Pa.length;t++){const o="rotate"+Pa[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=ir(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=ir(e.pointerEvents)||""),this.hasProjected&&!Ds(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const s=i.animationValues||i.latestValues;this.applyTransformsToTarget(),r.transform=ka(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 rn){if(void 0===s[e])continue;const{correct:t,applyTo:n}=rn[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?ir(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(Ba),this.root.sharedNodes.clear()}}}function Aa(e){e.updateLayout()}function Ma(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?Ts(e=>{const r=i?n.measuredBox[e]:n.layoutBox[e],o=ps(r);r.min=t[e].min,r.max=r.min+o}):Ya(o,n.layoutBox,t)&&Ts(r=>{const o=i?n.measuredBox[r]:n.layoutBox[r],s=ps(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}};vs(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?vs(a,e.applyTransform(r,!0),n.measuredBox):vs(a,t,n.layoutBox);const l=!ya(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}};xs(s,n.layoutBox,o.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};xs(a,t,i.layoutBox),ba(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 Da(e){Ta.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 Va(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function La(e){e.clearSnapshot()}function Ba(e){e.clearMeasurements()}function ja(e){e.isLayoutDirty=!1}function Ra(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Fa(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Ia(e){e.resolveTargetDelta()}function Oa(e){e.calcProjection()}function $a(e){e.resetRotation()}function za(e){e.removeLeadSnapshot()}function _a(e,t,n){e.translate=To(t.translate,0,n),e.scale=To(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Ua(e,t,n,r){e.min=To(t.min,n.min,r),e.max=To(t.max,n.max,r)}function Wa(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Ga={duration:.45,ease:[.4,0,.1,1]};function Ha(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Ya(e,t,n){return"position"===e||"preserve-aspect"===e&&!fs(xa(t),xa(n),.2)}const Xa=Sa({attachResizeListener:(e,t)=>dr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),qa={current:void 0},Ka=Sa({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!qa.current){const e=new Xa({});e.mount(window),e.setOptions({layoutScroll:!0}),qa.current=e}return qa.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Za={pan:{Feature:class extends wr{constructor(){super(...arguments),this.removePointerDownListener=Lr}onPointerDown(e){this.session=new as(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Xs(e),onStart:Xs(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&Ar.update(()=>r(e,t))}}}mount(){this.removePointerDownListener=mr(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 wr{constructor(e){super(e),this.removeGroupControls=Lr,this.removeListeners=Lr,this.controls=new Hs(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Lr}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Ka,MeasureLayout:ea}},Ja=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Qa(e,t,n=1){Hr(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=Ja.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():mn(o)?Qa(o,t,n+1):o}const el=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),tl=e=>el.has(e),nl=e=>e===gn||e===Tn,rl=(e,t)=>parseFloat(e.split(", ")[t]),ol=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return rl(o[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?rl(t[1],e):0}},il=new Set(["x","y","z"]),sl=on.filter(e=>!il.has(e));const al={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:ol(4,13),y:ol(5,14)},ll=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(tl);let i=[],s=!1;const a=[];if(o.forEach(o=>{const l=e.getValue(o);if(!e.hasValue(o))return;let c=n[o],d=Ui(c);const u=t[o];let h;if(rr(u)){const e=u.length,t=null===u[0]?1:0;c=u[t],d=Ui(c);for(let n=t;n<e&&null!==u[n];n++)h?Hr(Ui(u[n])===h,"All keyframes must be of the same type"):(h=Ui(u[n]),Hr(h===d||nl(d)&&nl(h),"Keyframes must be of the same dimension as the current value"))}else h=Ui(u);if(d!==h)if(nl(d)&&nl(h)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof u?t[o]=parseFloat(u):Array.isArray(u)&&h===Tn&&(t[o]=u.map(parseFloat))}else(null==d?void 0:d.transform)&&(null==h?void 0:h.transform)&&(0===c||0===u)?0===c?l.set(h.transform(c)):t[o]=d.transform(u):(s||(i=function(e){const t=[];return sl.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(u))}),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]=al[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]=al[n](l,i)}),e})(t,e,a);return i.length&&i.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),jt&&null!==n&&window.scrollTo({top:n}),{target:o,transitionEnd:r}}return{target:t,transitionEnd:r}};function cl(e,t,n,r){return(e=>Object.keys(e).some(tl))(t)?ll(e,t,n,r):{target:t,transitionEnd:r}}const dl=(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(!mn(t))return;const n=Qa(t,r);n&&e.set(n)});for(const e in t){const o=t[e];if(!mn(o))continue;const i=Qa(o,r);i&&(t[e]=i,n||(n={}),void 0===n[e]&&(n[e]=o))}return{target:t,transitionEnd:n}}(e,t,r);return cl(e,t=o.target,n,r=o.transitionEnd)},ul={current:null},hl={current:!1};const ml=new WeakMap,pl=Object.keys(Xt),fl=pl.length,gl=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],vl=_t.length;class yl{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=()=>Ar.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=Ut(t),this.isVariantNode=Wt(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]&&ln(t)&&(t.set(s[e],!1),Vi(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,ml.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)),hl.current||function(){if(hl.current=!0,jt)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ul.current=e.matches;e.addListener(t),t()}else ul.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||ul.current),"production"!==process.env.NODE_ENV&&Ii(!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(){ml.delete(this.current),this.projection&&this.projection.unmount(),Mr(this.notifyUpdate),Mr(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=sn.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&Ar.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?Gr(!1,e):Hr(!1,e)}for(let e=0;e<fl;e++){const n=pl[e],{isEnabled:r,Feature:o,ProjectionNode:a,MeasureLayout:l}=Xt[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&&It(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<gl.length;t++){const n=gl[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(ln(i))e.addValue(o,i),Vi(r)&&r.add(o),"development"===process.env.NODE_ENV&&Ii("10.12.16"===i.version,`Attempting to mix Framer Motion versions ${i.version} with 10.12.16 may not work as expected.`);else if(ln(s))e.addValue(o,$i(i,{owner:e})),Vi(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,$i(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<vl;e++){const n=_t[e],r=this.props[n];(Ot(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=$i(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=nr(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||ln(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 Ri),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class bl extends yl{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=Yi(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&&(Li(c)||Si(c))?c=parseFloat(c):!Gi(c)&&zo.test(l)&&(c=Ti(s,l)),e.addValue(s,$i(c,{owner:e})),void 0===n[s]&&(n[s]=c),null!==c&&e.setBaseTarget(s,c))}}(this,n,i);const e=dl(this,n,i,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class xl extends bl{readValueFromInstance(e,t){if(sn.has(t)){const e=Ei(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),o=(hn(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Ws(e,t)}build(e,t,n,r){Ln(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return er(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;ln(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){Zn(e,t,n,r)}}class wl extends bl{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(sn.has(t)){const e=Ei(t);return e&&e.default||0}return t=Jn.has(t)?t:Kn(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return tr(e,t)}build(e,t,n,r){Gn(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){Qn(e,t,0,r)}mount(e){this.isSVGTag=Yn(e.tagName),super.mount(e)}}const kl=(e,t)=>nn(e)?new wl(t,{enableHardwareAcceleration:!1}):new xl(t,{enableHardwareAcceleration:!0}),Nl={...is,...zr,...Za,...{layout:{ProjectionNode:Ka,MeasureLayout:ea}}},Cl=en((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...nn(e)?lr:cr,preloadedFeatures:n,useRender:qn(t),createVisualElement:r,Component:e}}(e,t,Nl,kl));function Pl(){return Pl=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},Pl.apply(null,arguments)}function El(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 Tl(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function Sl(...e){return c(Tl(...e),e)}function Al(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const r=n.reduce((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]}),{});return d(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}const Ml=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?h:()=>{},Dl=r["useId".toString()]||(()=>{});let Vl=0;function Ll(e){const[t,n]=r.useState(Dl());return Ml(()=>{n(e=>null!=e?e:String(Vl++))},[e]),e||(t?`radix-${t}`:"")}function Bl(e){const t=s(e);return l(()=>{t.current=e}),d(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function jl({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=function({defaultProp:e,onChange:t}){const n=a(e),[r]=n,o=s(r),i=Bl(t);return l(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}({defaultProp:t,onChange:n}),i=void 0!==e,d=i?e:r,u=Bl(n);return[d,c(t=>{if(i){const n="function"==typeof t?t(e):t;n!==e&&u(n)}else o(t)},[i,e,o,u])]}const Rl=i((e,t)=>{const{children:n,...r}=e,o=v.toArray(n),i=o.find(Ol);if(i){const e=i.props.children,n=o.map(t=>t===i?v.count(e)>1?v.only(null):y(e)?e.props.children:null:t);return f(Fl,Pl({},r,{ref:t}),y(e)?b(e,void 0,n):null)}return f(Fl,Pl({},r,{ref:t}),n)});Rl.displayName="Slot";const Fl=i((e,t)=>{const{children:n,...r}=e;return y(n)?b(n,{...$l(r,n.props),ref:t?Tl(t,n.ref):n.ref}):v.count(n)>1?v.only(null):null});Fl.displayName="SlotClone";const Il=({children:e})=>f(x,null,e);function Ol(e){return y(e)&&e.type===Il}function $l(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 zl=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=i((e,n)=>{const{asChild:r,...o}=e,i=r?Rl:t;return l(()=>{window[Symbol.for("radix-ui")]=!0},[]),f(i,Pl({},o,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});const _l="dismissableLayer.update",Ul="dismissableLayer.pointerDownOutside",Wl="dismissableLayer.focusOutside";let Gl;const Hl=u({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Yl=i((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:c,onInteractOutside:d,onDismiss:u,...h}=e,p=m(Hl),[g,v]=a(null),y=null!==(n=null==g?void 0:g.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,b]=a({}),x=Sl(t,e=>v(e)),w=Array.from(p.layers),[k]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),N=w.indexOf(k),C=g?w.indexOf(g):-1,P=p.layersWithOutsidePointerEventsDisabled.size>0,E=C>=N,T=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Bl(e),r=s(!1),o=s(()=>{});return l(()=>{const e=e=>{if(e.target&&!r.current){const i={originalEvent:e};function s(){ql(Ul,n,i,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=s,t.addEventListener("click",o.current,{once:!0})):s()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{const t=e.target,n=[...p.branches].some(e=>e.contains(t));E&&!n&&(null==i||i(e),null==d||d(e),e.defaultPrevented||null==u||u())},y),S=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Bl(e),r=s(!1);return l(()=>{const e=e=>{if(e.target&&!r.current){ql(Wl,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{const t=e.target;[...p.branches].some(e=>e.contains(t))||(null==c||c(e),null==d||d(e),e.defaultPrevented||null==u||u())},y);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Bl(e);l(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{C===p.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&u&&(e.preventDefault(),u()))},y),l(()=>{if(g)return r&&(0===p.layersWithOutsidePointerEventsDisabled.size&&(Gl=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(g)),p.layers.add(g),Xl(),()=>{r&&1===p.layersWithOutsidePointerEventsDisabled.size&&(y.body.style.pointerEvents=Gl)}},[g,y,r,p]),l(()=>()=>{g&&(p.layers.delete(g),p.layersWithOutsidePointerEventsDisabled.delete(g),Xl())},[g,p]),l(()=>{const e=()=>b({});return document.addEventListener(_l,e),()=>document.removeEventListener(_l,e)},[]),f(zl.div,Pl({},h,{ref:x,style:{pointerEvents:P?E?"auto":"none":void 0,...e.style},onFocusCapture:El(e.onFocusCapture,S.onFocusCapture),onBlurCapture:El(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:El(e.onPointerDownCapture,T.onPointerDownCapture)}))});function Xl(){const e=new CustomEvent(_l);document.dispatchEvent(e)}function ql(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&&C(()=>e.dispatchEvent(t))}(o,i):o.dispatchEvent(i)}const Kl="focusScope.autoFocusOnMount",Zl="focusScope.autoFocusOnUnmount",Jl={bubbles:!1,cancelable:!0},Ql=i((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...d}=e,[u,h]=a(null),m=Bl(o),p=Bl(i),g=s(null),v=Sl(t,e=>h(e)),y=s({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l(()=>{if(r){function e(e){if(y.paused||!u)return;const t=e.target;u.contains(t)?g.current=t:rc(g.current,{select:!0})}function t(e){if(y.paused||!u)return;const t=e.relatedTarget;null!==t&&(u.contains(t)||rc(g.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&rc(u)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const o=new MutationObserver(n);return u&&o.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),o.disconnect()}}},[r,u,y.paused]),l(()=>{if(u){oc.add(y);const t=document.activeElement;if(!u.contains(t)){const n=new CustomEvent(Kl,Jl);u.addEventListener(Kl,m),u.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(rc(r,{select:t}),document.activeElement!==n)return}((e=ec(u),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&rc(u))}return()=>{u.removeEventListener(Kl,m),setTimeout(()=>{const e=new CustomEvent(Zl,Jl);u.addEventListener(Zl,p),u.dispatchEvent(e),e.defaultPrevented||rc(null!=t?t:document.body,{select:!0}),u.removeEventListener(Zl,p),oc.remove(y)},0)}}var e},[u,m,p,y]);const b=c(e=>{if(!n&&!r)return;if(y.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){const t=e.currentTarget,[r,i]=function(e){const t=ec(e),n=tc(t,e),r=tc(t.reverse(),e);return[n,r]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&rc(i,{select:!0})):(e.preventDefault(),n&&rc(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,y.paused]);return f(zl.div,Pl({tabIndex:-1},d,{ref:v,onKeyDown:b}))});function ec(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 tc(e,t){for(const n of e)if(!nc(n,{upTo:t}))return n}function nc(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 rc(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 oc=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=ic(e,t),e.unshift(t)},remove(t){var n;e=ic(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function ic(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const sc=i((e,t)=>{var n;const{container:r=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...o}=e;return r?N.createPortal(f(zl.div,Pl({},o,{ref:t})),r):null});const ac=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=a(),r=s({}),o=s(e),i=s("none"),d=e?"mounted":"unmounted",[u,h]=function(e,t){return w((e,n)=>{const r=t[e][n];return null!=r?r:e},e)}(d,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l(()=>{const e=lc(r.current);i.current="mounted"===u?e:"none"},[u]),Ml(()=>{const t=r.current,n=o.current;if(n!==e){const r=i.current,s=lc(t);if(e)h("MOUNT");else if("none"===s||"none"===(null==t?void 0:t.display))h("UNMOUNT");else{h(n&&r!==s?"ANIMATION_OUT":"UNMOUNT")}o.current=e}},[e,h]),Ml(()=>{if(t){const e=e=>{const n=lc(r.current).includes(e.animationName);e.target===t&&n&&C(()=>h("ANIMATION_END"))},n=e=>{e.target===t&&(i.current=lc(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}h("ANIMATION_END")},[t,h]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:c(e=>{e&&(r.current=getComputedStyle(e)),n(e)},[])}}(t),o="function"==typeof n?n({present:r.isPresent}):v.only(n),i=Sl(r.ref,o.ref);return"function"==typeof n||r.isPresent?b(o,{ref:i}):null};function lc(e){return(null==e?void 0:e.animationName)||"none"}ac.displayName="Presence";let cc=0;function dc(){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 uc=function(){return uc=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},uc.apply(this,arguments)};function hc(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 mc="right-scroll-bar-position",pc="width-before-scroll-bar";function fc(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var gc="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,vc=new WeakMap;function yc(e,t){var n,r,o,i=(n=null,r=function(t){return e.forEach(function(e){return fc(e,t)})},(o=a(function(){return{value:n,callback:r,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}})[0]).callback=r,o.facade);return gc(function(){var t=vc.get(i);if(t){var n=new Set(t),r=new Set(e),o=i.current;n.forEach(function(e){r.has(e)||fc(e,null)}),r.forEach(function(e){n.has(e)||fc(e,o)})}vc.set(i,e)},[e]),i}function bc(e){return e}var xc=function(e){var t=e.sideCar,n=hc(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 r.createElement(o,uc({},n))};xc.isSideCarExport=!0;var wc=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=bc);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=uc({async:!0,ssr:!1},e),t}(),kc=function(){},Nc=r.forwardRef(function(e,t){var n=r.useRef(null),o=r.useState({onScrollCapture:kc,onWheelCapture:kc,onTouchMoveCapture:kc}),i=o[0],s=o[1],a=e.forwardProps,l=e.children,c=e.className,d=e.removeScrollBar,u=e.enabled,h=e.shards,m=e.sideCar,p=e.noIsolation,f=e.inert,g=e.allowPinchZoom,v=e.as,y=void 0===v?"div":v,b=hc(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=m,w=yc([n,t]),k=uc(uc({},b),i);return r.createElement(r.Fragment,null,u&&r.createElement(x,{sideCar:wc,removeScrollBar:d,shards:h,noIsolation:p,inert:f,setCallbacks:s,allowPinchZoom:!!g,lockRef:n}),a?r.cloneElement(r.Children.only(l),uc(uc({},k),{ref:w})):r.createElement(y,uc({},k,{className:c,ref:w}),l))});Nc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Nc.classNames={fullWidth:pc,zeroRight:mc};function Cc(){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 Pc=function(){var e=0,t=null;return{add:function(n){var r,o;0==e&&(t=Cc())&&(o=n,(r=t).styleSheet?r.styleSheet.cssText=o:r.appendChild(document.createTextNode(o)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Ec=function(){var e,t=(e=Pc(),function(t,n){r.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}},Tc={left:0,top:0,right:0,gap:0},Sc=function(e){return parseInt(e||"",10)||0},Ac=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Tc;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[Sc(n),Sc(r),Sc(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])}},Mc=Ec(),Dc="data-scroll-locked",Vc=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(Dc,"] {\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(mc," {\n right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(pc," {\n margin-right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(mc," .").concat(mc," {\n right: 0 ").concat(r,";\n }\n \n .").concat(pc," .").concat(pc," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(Dc,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},Lc=function(){var e=parseInt(document.body.getAttribute(Dc)||"0",10);return isFinite(e)?e:0},Bc=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,i=void 0===o?"margin":o;r.useEffect(function(){return document.body.setAttribute(Dc,(Lc()+1).toString()),function(){var e=Lc()-1;e<=0?document.body.removeAttribute(Dc):document.body.setAttribute(Dc,e.toString())}},[]);var s=r.useMemo(function(){return Ac(i)},[i]);return r.createElement(Mc,{styles:Vc(s,!t,i,n?"":"!important")})},jc=!1;if("undefined"!=typeof window)try{var Rc=Object.defineProperty({},"passive",{get:function(){return jc=!0,!0}});window.addEventListener("test",Rc,Rc),window.removeEventListener("test",Rc,Rc)}catch(e){jc=!1}var Fc=!!jc&&{passive:!1},Ic=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])},Oc=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),$c(e,n)){var r=zc(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},$c=function(e,t){return"v"===e?function(e){return Ic(e,"overflowY")}(t):function(e){return Ic(e,"overflowX")}(t)},zc=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},_c=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Uc=function(e){return[e.deltaX,e.deltaY]},Wc=function(e){return e&&"current"in e?e.current:e},Gc=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Hc=0,Yc=[];var Xc,qc=(Xc=function(e){var t=r.useRef([]),n=r.useRef([0,0]),o=r.useRef(),i=r.useState(Hc++)[0],s=r.useState(function(){return Ec()})[0],a=r.useRef(e);r.useEffect(function(){a.current=e},[e]),r.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));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(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var l=r.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var r,i=_c(e),s=n.current,l="deltaX"in e?e.deltaX:s[0]-i[0],c="deltaY"in e?e.deltaY:s[1]-i[1],d=e.target,u=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===u&&"range"===d.type)return!1;var h=Oc(u,d);if(!h)return!0;if(h?r=u:(r="v"===u?"h":"v",h=Oc(u,d)),!h)return!1;if(!o.current&&"changedTouches"in e&&(l||c)&&(o.current=r),!r)return!0;var m=o.current||r;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,d=0,u=0;do{var h=zc(e,s),m=h[0],p=h[1]-h[2]-o*m;(m||p)&&$c(e,s)&&(d+=p,u+=m),s=s.parentNode}while(!a&&s!==document.body||a&&(t.contains(s)||t===s));return c&&0===d?l=!0:c||0!==u||(l=!0),l}(m,t,e,"h"===m?l:c)},[]),c=r.useCallback(function(e){var n=e;if(Yc.length&&Yc[Yc.length-1]===s){var r="deltaY"in n?Uc(n):_c(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 i=(a.current.shards||[]).map(Wc).filter(Boolean).filter(function(e){return e.contains(n.target)});(i.length>0?l(n,i[0]):!a.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),d=r.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=r.useCallback(function(e){n.current=_c(e),o.current=void 0},[]),h=r.useCallback(function(t){d(t.type,Uc(t),t.target,l(t,e.lockRef.current))},[]),m=r.useCallback(function(t){d(t.type,_c(t),t.target,l(t,e.lockRef.current))},[]);r.useEffect(function(){return Yc.push(s),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:m}),document.addEventListener("wheel",c,Fc),document.addEventListener("touchmove",c,Fc),document.addEventListener("touchstart",u,Fc),function(){Yc=Yc.filter(function(e){return e!==s}),document.removeEventListener("wheel",c,Fc),document.removeEventListener("touchmove",c,Fc),document.removeEventListener("touchstart",u,Fc)}},[]);var p=e.removeScrollBar,f=e.inert;return r.createElement(r.Fragment,null,f?r.createElement(s,{styles:Gc(i)}):null,p?r.createElement(Bc,{gapMode:"margin"}):null)},wc.useMedium(Xc),xc),Kc=r.forwardRef(function(e,t){return r.createElement(Nc,uc({},e,{ref:t,sideCar:qc}))});Kc.classNames=Nc.classNames;var Zc=new WeakMap,Jc=new WeakMap,Qc={},ed=0,td=function(e){return e&&(e.host||td(e.parentNode))},nd=function(e,t,n,r){var o=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=td(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]);Qc[n]||(Qc[n]=new WeakMap);var i=Qc[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 d=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(a.has(e))d(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,l=(Zc.get(e)||0)+1,c=(i.get(e)||0)+1;Zc.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 d(t),a.clear(),ed++,function(){s.forEach(function(e){var t=Zc.get(e)-1,o=i.get(e)-1;Zc.set(e,t),i.set(e,o),t||(Jc.has(e)||e.removeAttribute(r),Jc.delete(e)),o||e.removeAttribute(n)}),--ed||(Zc=new WeakMap,Zc=new WeakMap,Jc=new WeakMap,Qc={})}},rd=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"))),nd(r,o,n,"aria-hidden")):function(){return null}};const od="Dialog",[id,sd]=function(e,t=[]){let n=[];const r=()=>{const t=n.map(e=>u(e));return function(n){const r=(null==n?void 0:n[e])||t;return d(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){const o=u(r),i=n.length;function s(t){const{scope:n,children:r,...s}=t,a=(null==n?void 0:n[e][i])||o,l=d(()=>s,Object.values(s));return f(a.Provider,{value:l},r)}return n=[...n,r],s.displayName=t+"Provider",[s,function(n,s){const a=(null==s?void 0:s[e][i])||o,l=m(a);if(l)return l;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},Al(r,...t)]}(od),[ad,ld]=id(od),cd="DialogPortal",[dd,ud]=id(cd,{forceMount:void 0}),hd="DialogOverlay",md=i((e,t)=>{const n=ud(hd,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=ld(hd,e.__scopeDialog);return i.modal?f(ac,{present:r||i.open},f(pd,Pl({},o,{ref:t}))):null}),pd=i((e,t)=>{const{__scopeDialog:n,...r}=e,o=ld(hd,n);return f(Kc,{as:Rl,allowPinchZoom:!0,shards:[o.contentRef]},f(zl.div,Pl({"data-state":Nd(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),fd="DialogContent",gd=i((e,t)=>{const n=ud(fd,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=ld(fd,e.__scopeDialog);return f(ac,{present:r||i.open},i.modal?f(vd,Pl({},o,{ref:t})):f(yd,Pl({},o,{ref:t})))}),vd=i((e,t)=>{const n=ld(fd,e.__scopeDialog),r=s(null),o=Sl(t,n.contentRef,r);return l(()=>{const e=r.current;if(e)return rd(e)},[]),f(bd,Pl({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:El(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:El(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:El(e.onFocusOutside,e=>e.preventDefault())}))}),yd=i((e,t)=>{const n=ld(fd,e.__scopeDialog),r=s(!1),o=s(!1);return f(bd,Pl({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var i,s;(null===(i=e.onCloseAutoFocus)||void 0===i||i.call(e,t),t.defaultPrevented)||(r.current||null===(s=n.triggerRef.current)||void 0===s||s.focus(),t.preventDefault());r.current=!1,o.current=!1},onInteractOutside:t=>{var i,s;null===(i=e.onInteractOutside)||void 0===i||i.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const a=t.target;(null===(s=n.triggerRef.current)||void 0===s?void 0:s.contains(a))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}}))}),bd=i((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,c=ld(fd,n),d=Sl(t,s(null));return l(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:dc()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:dc()),cc++,()=>{1===cc&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),cc--}},[]),f(x,null,f(Ql,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},f(Yl,Pl({role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":Nd(c.open)},a,{ref:d,onDismiss:()=>c.onOpenChange(!1)}))),!1)}),xd="DialogTitle",wd="DialogClose",kd=i((e,t)=>{const{__scopeDialog:n,...r}=e,o=ld(wd,n);return f(zl.button,Pl({type:"button"},r,{ref:t,onClick:El(e.onClick,()=>o.onOpenChange(!1))}))});function Nd(e){return e?"open":"closed"}!function(e,t){const n=u(t);function r(e){const{children:t,...r}=e,o=d(()=>r,Object.values(r));return f(n.Provider,{value:o},t)}r.displayName=e+"Provider"}("DialogTitleWarning",{contentName:fd,titleName:xd,docsSlug:"dialog"});const Cd=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,l=s(null),d=s(null),[u=!1,h]=jl({prop:r,defaultProp:o,onChange:i});return f(ad,{scope:t,triggerRef:l,contentRef:d,contentId:Ll(),titleId:Ll(),descriptionId:Ll(),open:u,onOpenChange:h,onOpenToggle:c(()=>h(e=>!e),[h]),modal:a},n)},Pd=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=ld(cd,t);return f(dd,{scope:t,forceMount:n},v.map(r,e=>f(ac,{present:n||i.open},f(sc,{asChild:!0,container:o},e))))},Ed=md,Td=gd,Sd=kd,Ad=n=>{const{isOpen:r,onRequestClose:o,size:i,title:s,content:a,description:l,children:c,bodyClassName:d}=n;return e(Cd,{open:r,onOpenChange:()=>r&&(null==o?void 0:o()),children:t(Pd,{children:[e(Cl.div,{initial:"closed",animate:r?"open":"closed",variants:At,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e(Ed,{})}),e(Cl.div,{initial:"closed",animate:r?"open":"closed",variants:Mt,transition:{type:"tween",duration:.3,ease:"easeInOut"},className:"fixed left-1/2 top-1/2 z-[1001] w-auto -translate-x-1/2 -translate-y-1/2 focus:outline-none",children:t(Td,{className:Ie("fixed left-[50%] top-[50%] w-[90vw] translate-x-[-50%] translate-y-[-50%] rounded-[6px] bg-bg p-[25px] shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px] focus:outline-none",d),style:{maxWidth:Dt[i||"lg"]},children:[e(Sd,{asChild:!0,children:e(Xe,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e(ze,{name:"close"})})}),t("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[s?e(Ue,{className:Ie("mx-auto mb-3 mt-5 text-center","heading5 md:max-w-[80%] md:pt-0","mb-5 md:mb-[60px]"),as:"h2",children:s}):null,l?e(Ue,{as:"div",children:l}):null,a,c||null]})]})})]})})},Md=({children:n,background:r,className:o,fill:i="yellow",maxFit:s,show:a=!0,path:l="path2"})=>{const c=`${l}`,d={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]"},h="string"==typeof r&&r in u,m=h?u[r]:void 0,p=r&&!h?{background:r}:void 0,f=i in d?d[i]:"text-[#F5FF1E]";return a?t("div",{className:`shape-bg relative overflow-hidden ${null!=o?o:""} ${s?"max-content":""} ${null!=m?m:p?"":"bg-white"}`,style:p,children:["path1"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${c} fill-current ${f}`,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("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"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${c} fill-current ${f}`,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("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"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${c} fill-current ${f}`,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("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"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${c} fill-current ${f}`,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("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("div",{className:"shape-bg-content relative z-[1]",children:n})]}):e("div",{className:o,style:p,children:n})},Dd=({title:n,background:r="white",button:o,color:i,contentAlignment:s,description:a,descriptionAlignment:l,enableHeading:c,subTitle:d,maxWidth:u=!0,onModalButtonClick:h,renderCheckPlans:m})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[r]} component-container`,children:t("div",{className:`${u?"mx-auto max-w-120":""} color-${i} flex flex-col ${"dark"==i?"text-text":"text-white"} px-5 py-16 lg:px-13 lg:py-24`,children:[e(Ue,{as:c?"h1":"h2",className:`heading2 lg:heading1 text-${s}`,children:n}),e(Ue,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${s}`,children:d}),e("div",{className:`pt-2 text-body1 lg:pt-3 text-${l}`,children:a}),e("div",{className:"flex justify-center pt-5 lg:pt-14",children:e(Xe,{...o,renderCheckPlans:m,onModalButtonClick:h})})]})}),Vd=({background:r="white",description:o,enableHeading:i,image:s,list:a=[],subTitle:l,title:c,color:d="dark",maxWidth:u=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[r]} component-container overflow-hidden ${"dark"==d?"text-text":"text-white"}`,children:t("div",{className:(u?"max-w-120 xl:mx-auto":"")+" mx-5 mb-5 mt-12 xl:my-20",children:[c&&e(Ue,{as:i?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:c}),l&&e(Ue,{as:i?"h2":"h3",className:"heading3 mt-4 text-center",children:l}),t("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[t("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[o&&e(Ue,{as:"p",className:"body1",children:o}),a.length>0&&t(n,{children:[e("ul",{className:"grid w-full grid-cols-2 gap-x-8 gap-y-4 md:hidden",children:(()=>{const t=[...a].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("li",{children:e(Ye,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e("ul",{className:"hidden gap-x-8 gap-y-4 md:grid md:grid-cols-3",children:(()=>{const t=[...a].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("li",{children:e(Ye,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),s&&e("aside",{className:"hidden xl:block",children:e(Ke,{width:472,height:100,src:s,alt:"image"})})]})]})}),Ld=({title:n,disclaimer:r,table:o,maxWidth:i=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 mb-5 mt-8 lg:mt-10 "+(i?"max-w-120 xl:mx-auto":""),children:[e(Ue,{as:"h2",className:"heading2 lg:heading1 lg:text-center",children:n}),e("div",{className:"comparison-table-container mt-20 xl:mt-10",children:o}),e(Ue,{as:"div",className:"micro mt-8 text-center",children:r})]})});export{We as Accordion,Xe as Button,Je as Callout,Qe as Cards,ut as Carousel,Ld as ComparisonTable,Dd as CtaCallout,Vd as FindKinetic,ht as FloatingBanner,mt as Footer,vt as ImagePromoBar,Ad as Modal,Nt as Navigation,Tt as PrimaryHero,st as ProductCard,Md as ShapeBackgroundWrapper,Ze as SimpleCard,at as TestimonialCard,St as Text};
|
|
3
|
+
import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as o from"react";import i,{forwardRef as r,useRef as s,useState as a,useEffect as l,useCallback as c,useMemo as u,createContext as d,useLayoutEffect as p,useContext as h,useInsertionEffect as m,createElement as g,useId as f,Children as b,isValidElement as v,cloneElement as y,Fragment as x,useReducer as I,Component as C}from"react";import w from"next/image";import A,{flushSync as N,createPortal as G}from"react-dom";import k from"next/link";import{useRouter as P,usePathname as V,useSearchParams as B}from"next/navigation";function T(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=T(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function S(){for(var e,t,n=0,o="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=T(e))&&(o&&(o+=" "),o+=t);return o}const R=e=>{const t=W(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),E(n,t)||X(e)},getConflictingClassGroupIds:(e,t)=>{const i=n[e]||[];return t&&o[e]?[...i,...o[e]]:i}}},E=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],o=t.nextPart.get(n),i=o?E(e.slice(1),o):void 0;if(i)return i;if(0===t.validators.length)return;const r=e.join("-");return t.validators.find(({validator:e})=>e(r))?.classGroupId},M=/^\[(.+)\]$/,X=e=>{if(M.test(e)){const t=M.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},W=e=>{const{theme:t,classGroups:n}=e,o={nextPart:new Map,validators:[]};for(const e in n)F(n[e],o,e,t);return o},F=(e,t,n,o)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:L(t,e)).classGroupId=n)}if("function"==typeof e)return O(e)?void F(e(o),t,n,o):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,i])=>{F(i,L(t,e),n,o)})})},L=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},O=e=>e.isThemeGetter,Z=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,o=new Map;const i=(i,r)=>{n.set(i,r),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))?(i(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}},D=e=>{const{prefix:t,experimentalParseClassName:n}=e;let o=e=>{const t=[];let n,o=0,i=0,r=0;for(let s=0;s<e.length;s++){let a=e[s];if(0===o&&0===i){if(":"===a){t.push(e.slice(r,s)),r=s+1;continue}if("/"===a){n=s;continue}}"["===a?o++:"]"===a?o--:"("===a?i++:")"===a&&i--}const s=0===t.length?e:e.substring(r),a=z(s);return{modifiers:t,hasImportantModifier:a!==s,baseClassName:a,maybePostfixModifierPosition:n&&n>r?n-r: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},z=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,H=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 Y(){let e,t,n=0,o="";for(;n<arguments.length;)(e=arguments[n++])&&(t=J(e))&&(o&&(o+=" "),o+=t);return o}const J=e=>{if("string"==typeof e)return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=J(e[o]))&&(n&&(n+=" "),n+=t);return n};function U(e,...t){let n,o,i,r=function(a){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:Z(e.cacheSize),parseClassName:D(e),sortModifiers:H(e),...R(e)}))(l),o=n.cache.get,i=n.cache.set,r=s,s(a)};function s(e){const t=o(e);if(t)return t;const r=((e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:i,sortModifiers:r}=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:h}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let m=!!h,g=o(m?p.substring(0,h):p);if(!g){if(!m){l=t+(l.length>0?" "+l:l);continue}if(g=o(p),!g){l=t+(l.length>0?" "+l:l);continue}m=!1}const f=r(u).join(":"),b=d?f+"!":f,v=b+g;if(s.includes(v))continue;s.push(v);const y=i(g,m);for(let e=0;e<y.length;++e){const t=y[e];s.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return i(e,r),r}return function(){return r(Y.apply(null,arguments))}}const $=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},Q=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,_=/^\((?:(\w[\w-]*):)?(.+)\)$/i,K=/^\d+\/\d+$/,q=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ee=/\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$/,te=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ne=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,oe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ie=e=>K.test(e),re=e=>!!e&&!Number.isNaN(Number(e)),se=e=>!!e&&Number.isInteger(Number(e)),ae=e=>e.endsWith("%")&&re(e.slice(0,-1)),le=e=>q.test(e),ce=()=>!0,ue=e=>ee.test(e)&&!te.test(e),de=()=>!1,pe=e=>ne.test(e),he=e=>oe.test(e),me=e=>!fe(e)&&!Ce(e),ge=e=>Ve(e,Re,de),fe=e=>Q.test(e),be=e=>Ve(e,Ee,ue),ve=e=>Ve(e,Me,re),ye=e=>Ve(e,Te,de),xe=e=>Ve(e,Se,he),Ie=e=>Ve(e,We,pe),Ce=e=>_.test(e),we=e=>Be(e,Ee),Ae=e=>Be(e,Xe),Ne=e=>Be(e,Te),Ge=e=>Be(e,Re),ke=e=>Be(e,Se),Pe=e=>Be(e,We,!0),Ve=(e,t,n)=>{const o=Q.exec(e);return!!o&&(o[1]?t(o[1]):n(o[2]))},Be=(e,t,n=!1)=>{const o=_.exec(e);return!!o&&(o[1]?t(o[1]):n)},Te=e=>"position"===e||"percentage"===e,Se=e=>"image"===e||"url"===e,Re=e=>"length"===e||"size"===e||"bg-size"===e,Ee=e=>"length"===e,Me=e=>"number"===e,Xe=e=>"family-name"===e,We=e=>"shadow"===e,Fe=()=>{const e=$("color"),t=$("font"),n=$("text"),o=$("font-weight"),i=$("tracking"),r=$("leading"),s=$("breakpoint"),a=$("container"),l=$("spacing"),c=$("radius"),u=$("shadow"),d=$("inset-shadow"),p=$("text-shadow"),h=$("drop-shadow"),m=$("blur"),g=$("perspective"),f=$("aspect"),b=$("ease"),v=$("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Ce,fe],x=()=>[Ce,fe,l],I=()=>[ie,"full","auto",...x()],C=()=>[se,"none","subgrid",Ce,fe],w=()=>["auto",{span:["full",se,Ce,fe]},se,Ce,fe],A=()=>[se,"auto",Ce,fe],N=()=>["auto","min","max","fr",Ce,fe],G=()=>["auto",...x()],k=()=>[ie,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],P=()=>[e,Ce,fe],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Ne,ye,{position:[Ce,fe]}],B=()=>["auto","cover","contain",Ge,ge,{size:[Ce,fe]}],T=()=>[ae,we,be],S=()=>["","none","full",c,Ce,fe],R=()=>["",re,we,be],E=()=>[re,ae,Ne,ye],M=()=>["","none",m,Ce,fe],X=()=>["none",re,Ce,fe],W=()=>["none",re,Ce,fe],F=()=>[re,Ce,fe],L=()=>[ie,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[le],breakpoint:[le],color:[ce],container:[le],"drop-shadow":[le],ease:["in","out","in-out"],font:[me],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[le],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[le],shadow:[le],spacing:["px",re],text:[le],"text-shadow":[le],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ie,fe,Ce,f]}],container:["container"],columns:[{columns:[re,fe,Ce,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:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset: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:[se,"auto",Ce,fe]}],basis:[{basis:[ie,"full","auto",a,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[re,ie,"auto","initial","none",fe]}],grow:[{grow:["",re,Ce,fe]}],shrink:[{shrink:["",re,Ce,fe]}],order:[{order:[se,"first","last","none",Ce,fe]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:w()}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:w()}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":N()}],"auto-rows":[{"auto-rows":N()}],gap:[{gap:x()}],"gap-x":[{"gap-x":x()}],"gap-y":[{"gap-y":x()}],"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:x()}],px:[{px:x()}],py:[{py:x()}],ps:[{ps:x()}],pe:[{pe:x()}],pt:[{pt:x()}],pr:[{pr:x()}],pb:[{pb:x()}],pl:[{pl:x()}],m:[{m:G()}],mx:[{mx:G()}],my:[{my:G()}],ms:[{ms:G()}],me:[{me:G()}],mt:[{mt:G()}],mr:[{mr:G()}],mb:[{mb:G()}],ml:[{ml:G()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"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,we,be]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,Ce,ve]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ae,fe]}],"font-family":[{font:[Ae,fe,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:[i,Ce,fe]}],"line-clamp":[{"line-clamp":[re,"none",Ce,ve]}],leading:[{leading:[r,...x()]}],"list-image":[{"list-image":["none",Ce,fe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ce,fe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[re,"from-font","auto",Ce,be]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[re,"auto",Ce,fe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ce,fe]}],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",Ce,fe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:V()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:B()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},se,Ce,fe],radial:["",Ce,fe],conic:[se,Ce,fe]},ke,xe]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:T()}],"gradient-via-pos":[{via:T()}],"gradient-to-pos":[{to:T()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:S()}],"rounded-s":[{"rounded-s":S()}],"rounded-e":[{"rounded-e":S()}],"rounded-t":[{"rounded-t":S()}],"rounded-r":[{"rounded-r":S()}],"rounded-b":[{"rounded-b":S()}],"rounded-l":[{"rounded-l":S()}],"rounded-ss":[{"rounded-ss":S()}],"rounded-se":[{"rounded-se":S()}],"rounded-ee":[{"rounded-ee":S()}],"rounded-es":[{"rounded-es":S()}],"rounded-tl":[{"rounded-tl":S()}],"rounded-tr":[{"rounded-tr":S()}],"rounded-br":[{"rounded-br":S()}],"rounded-bl":[{"rounded-bl":S()}],"border-w":[{border:R()}],"border-w-x":[{"border-x":R()}],"border-w-y":[{"border-y":R()}],"border-w-s":[{"border-s":R()}],"border-w-e":[{"border-e":R()}],"border-w-t":[{"border-t":R()}],"border-w-r":[{"border-r":R()}],"border-w-b":[{"border-b":R()}],"border-w-l":[{"border-l":R()}],"divide-x":[{"divide-x":R()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":R()}],"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:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[re,Ce,fe]}],"outline-w":[{outline:["",re,we,be]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",u,Pe,Ie]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",d,Pe,Ie]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[re,be]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":R()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",p,Pe,Ie]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[re,Ce,fe]}],"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":[re]}],"mask-image-linear-from-pos":[{"mask-linear-from":E()}],"mask-image-linear-to-pos":[{"mask-linear-to":E()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":E()}],"mask-image-t-to-pos":[{"mask-t-to":E()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":E()}],"mask-image-r-to-pos":[{"mask-r-to":E()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":E()}],"mask-image-b-to-pos":[{"mask-b-to":E()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":E()}],"mask-image-l-to-pos":[{"mask-l-to":E()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":E()}],"mask-image-x-to-pos":[{"mask-x-to":E()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":E()}],"mask-image-y-to-pos":[{"mask-y-to":E()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[Ce,fe]}],"mask-image-radial-from-pos":[{"mask-radial-from":E()}],"mask-image-radial-to-pos":[{"mask-radial-to":E()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"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":[re]}],"mask-image-conic-from-pos":[{"mask-conic-from":E()}],"mask-image-conic-to-pos":[{"mask-conic-to":E()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:V()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:B()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ce,fe]}],filter:[{filter:["","none",Ce,fe]}],blur:[{blur:M()}],brightness:[{brightness:[re,Ce,fe]}],contrast:[{contrast:[re,Ce,fe]}],"drop-shadow":[{"drop-shadow":["","none",h,Pe,Ie]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",re,Ce,fe]}],"hue-rotate":[{"hue-rotate":[re,Ce,fe]}],invert:[{invert:["",re,Ce,fe]}],saturate:[{saturate:[re,Ce,fe]}],sepia:[{sepia:["",re,Ce,fe]}],"backdrop-filter":[{"backdrop-filter":["","none",Ce,fe]}],"backdrop-blur":[{"backdrop-blur":M()}],"backdrop-brightness":[{"backdrop-brightness":[re,Ce,fe]}],"backdrop-contrast":[{"backdrop-contrast":[re,Ce,fe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",re,Ce,fe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[re,Ce,fe]}],"backdrop-invert":[{"backdrop-invert":["",re,Ce,fe]}],"backdrop-opacity":[{"backdrop-opacity":[re,Ce,fe]}],"backdrop-saturate":[{"backdrop-saturate":[re,Ce,fe]}],"backdrop-sepia":[{"backdrop-sepia":["",re,Ce,fe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":x()}],"border-spacing-x":[{"border-spacing-x":x()}],"border-spacing-y":[{"border-spacing-y":x()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ce,fe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[re,"initial",Ce,fe]}],ease:[{ease:["linear","initial",b,Ce,fe]}],delay:[{delay:[re,Ce,fe]}],animate:[{animate:["none",v,Ce,fe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,Ce,fe]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:X()}],"rotate-x":[{"rotate-x":X()}],"rotate-y":[{"rotate-y":X()}],"rotate-z":[{"rotate-z":X()}],scale:[{scale:W()}],"scale-x":[{"scale-x":W()}],"scale-y":[{"scale-y":W()}],"scale-z":[{"scale-z":W()}],"scale-3d":["scale-3d"],skew:[{skew:F()}],"skew-x":[{"skew-x":F()}],"skew-y":[{"skew-y":F()}],transform:[{transform:[Ce,fe,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:L()}],"translate-x":[{"translate-x":L()}],"translate-y":[{"translate-y":L()}],"translate-z":[{"translate-z":L()}],"translate-none":["translate-none"],accent:[{accent:P()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:P()}],"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",Ce,fe]}],"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":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"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",Ce,fe]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[re,we,be,ve]}],stroke:[{stroke:["none",...P()]}],"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"]}},Le=(e,t,n)=>{void 0!==n&&(e[t]=n)},Oe=(e,t)=>{if(t)for(const n in t)Le(e,n,t[n])},Ze=(e,t)=>{if(t)for(const n in t)De(e,t,n)},De=(e,t,n)=>{const o=t[n];void 0!==o&&(e[n]=e[n]?e[n].concat(o):o)},ze=((e,...t)=>"function"==typeof e?U(Fe,e,...t):U(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:o,extend:i={},override:r={}})=>(Le(e,"cacheSize",t),Le(e,"prefix",n),Le(e,"experimentalParseClassName",o),Oe(e.theme,r.theme),Oe(e.classGroups,r.classGroups),Oe(e.conflictingClassGroups,r.conflictingClassGroups),Oe(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),Le(e,"orderSensitiveModifiers",r.orderSensitiveModifiers),Ze(e.theme,i.theme),Ze(e.classGroups,i.classGroups),Ze(e.conflictingClassGroups,i.conflictingClassGroups),Ze(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),De(e,i,"orderSensitiveModifiers"),e))(Fe(),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"]}}}),He=(...e)=>ze(S(...e)),je=r(({children:t,className:n="",style:o,disabled:i,...r},s)=>e("button",{ref:s,className:He(n),style:o,disabled:i,...r,children:t}));je.displayName="Button";const Ye=t=>{const{open:n,children:o}=t,i=s(null),[r,c]=a(0);return l(()=>{const e=i.current;if(!e)return;const t=()=>{c(n?e.scrollHeight:0)};let o;return t(),n&&(o=new ResizeObserver(()=>t()),o.observe(e)),()=>{o&&o.disconnect()}},[n,o]),e("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:r,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:i,children:o})})};Ye.displayName="Collapse";const Je=({name:t,fill:n=0,opticalSize:o="48dp",weight:i="200",emphasis:r=145,size:s=24,color:a="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${i}, 'GRAD' ${r}, 'opsz' ${o.substring(0,2)}`,fontSize:`${s}px`,fontFamily:"'Material Symbols Rounded'",color:a||"currentColor",...l};return e("span",{style:p,className:He("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};Je.displayName="MaterialIcon";const Ue=n=>{const{title:o,defaultOpen:i,children:r,containerClassName:s,titleClassName:c,className:u,buttonClassName:d,openOnlyOnDesktop:p,borderRadiusNone:h=!1}=n,[m,g]=a(Boolean(!1));return l(()=>{if(p){const e=window.innerWidth>=1024;g(e)}else g(Boolean(i))},[p,i]),t("div",{className:He(h?"rounded-none border":"rounded-surface-xs border",s),children:[t(je,{type:"button",className:He(h?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",d),onClick:()=>g(e=>!e),children:[e("span",{className:He("label5",c),children:o}),e(Je,{name:m?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e(Ye,{open:m,children:e("div",{className:He("px-4 py-4",u),children:r})})]})};Ue.displayName="Accordion";const $e=r(({children:e,as:t,className:n="",style:o,...r},s)=>{const a=t||"p";return i.createElement(a,{ref:s,className:n,style:o,...r},e)});$e.displayName="Text";const Qe=({items:n,title:o,background:i="white",enableHeading:r=!1,maxWidth:s=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[i]} component-container`,children:t("div",{className:(s?"max-w-120 xl:mx-auto":"")+" mx-5 my-8 lg:mx-20 lg:my-18",children:[e("div",{children:e($e,{as:r?"h1":"h2",className:"heading1 text-left lg:text-center",children:o})}),e("div",{className:"question-answer-section mt-10 lg:mt-16",children:null==n?void 0:n.map((t,n)=>e("div",{children:e(Ue,{title:t.title,containerClassName:"border-0 border-b-[1px]",buttonClassName:"px-0 label1",borderRadiusNone:!0,openOnlyOnDesktop:!0,children:e($e,{children:t.description})})},`item-${n}`))})]})}),_e=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()},Ke=r(({variant:o="primary_brand",isLoading:i=!1,text:r,label:s,disabled:a,fullWidth:l,size:c={base:"medium"},as:u="button",...d},p)=>{const h=(()=>{const e=He((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()})(c),"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",l&&"w-full"),t=He((a||i)&&"cursor-not-allowed",i&&"pl-7",a&&"bg-bg-fill-brand-disabled");return He(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand",primary_inverse:"bg-bg-surface-inverse text-text-inverse enabled:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse",secondary:"border-2 border-border-secondary-on-bg-fill bg-bg text-text focus:ring-bg-surface-inverse"}[o]||"",t)})();let m=`button--${o}`;i&&(m+=" button--loading"),a&&(m+=" button--disabled");const g=`${m} ${h}`,f=t(n,{children:[i?e(Je,{name:"progress_activity",className:"animate-spin"}):null,s?t("span",{className:"flex flex-col",children:[e("span",{className:He(_e(c)),children:s}),r]}):r]});return"a"===u?e("a",{ref:p,className:He(g),...d,children:f}):e("button",{ref:p,className:He(g),disabled:a||i,...d,children:f})});Ke.displayName="BrandButton";const qe=r(({children:t,href:n,className:o="",onClick:i,variant:r="unstyled",style:s,external:a=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===r)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[r]||e.default,t].filter(Boolean).join(" ")})(),p={...c,ref:u,className:He(d,`link--${r}`,l&&"link--disabled",o),style:s,href:l?void 0:n,onClick:e=>{l?e.preventDefault():null==i||i(e)},...a&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return e("a",{...p,children:t})});qe.displayName="Link";const et=n=>{const{showButtonAs:o="solid",buttonVariant:i="primary_brand",buttonLabel:r,buttonPrefix:s,href:a,target:l="_blank",anchorId:c,linkClassName:u,linkVariant:d,fullWidth:p,preDefinedFunctionExecution:h,renderCheckPlans:m,buttonClassName:g,clickToOpen:f,tabmodalNameToOpen:b,onModalButtonClick:v,onClick:y,iconName:x,...I}=n;if("check availability"===h){return null==m?void 0:m({ctaText:r,buttonVariant:i,showButtonAs:o,cta:{...n}})}function C(){"modal"===f&&(null==v||v(b))}function w(e){C(),null==y||y(e)}function A(e){C(),null==y||y(e)}let N=e(je,{onClick:A,className:g,...I});switch(o){case"solid":N=e(Ke,a?{as:"a",href:a,id:c,variant:i,text:r,label:s,fullWidth:p,onClick:w}:{id:c,variant:i,text:r,label:s,fullWidth:p,onClick:A});break;case"text":N=t(qe,{href:a,target:l,variant:d||"default",className:`text-text-brand ${u||""}`,onClick:w,children:[r," ",x&&e(Je,{name:x,size:24})]})}return N},tt={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},nt=r(({className:t,...n},o)=>{const i="string"==typeof n.src?n.src:"",r=i.toLowerCase().split("?")[0]||"",s=i.includes("images.ctfassets.net")&&r.endsWith(".svg");return e(w,{ref:o,className:He(t),...n,unoptimized:s})});nt.displayName="NextImage";const ot=({card:n,lgWidth:o,mdWidth:i})=>{var r,s,a;const l=(null===(r=n.imageAlignment)||void 0===r?void 0:r.toLowerCase())||"left",c="left"===l?"lg:items-start":"right"===l?"lg:items-end":"lg:items-center";return e("div",{className:`callout-card ${i} ${o} w-full ${null!==(a=tt[null!==(s=n.backgroundColor)&&void 0!==s?s:""])&&void 0!==a?a:""}`,children:t("div",{className:`card-template flex h-full flex-col items-center gap-8 p-8 text-center ${c}`,children:[e("div",{className:"card-header",children:(t=>{var n,o,i;if(!t.image)return null;const r=null===(n=t.imageView)||void 0===n?void 0:n.toLowerCase();return e(nt,"full"===r?{width:400,height:280,src:t.image,alt:null!==(o=t.title)&&void 0!==o?o:"card-icon",className:"rounded-3xl"}:{width:88,height:88,src:t.image,alt:null!==(i=t.title)&&void 0!==i?i:"card-icon"})})(n)}),t("div",{className:"card-body flex flex-col gap-3 text-start",children:[n.title&&e($e,{as:"h5",className:"heading5 font-black",children:n.title}),n.body&&e($e,{as:"div",className:"body1",children:n.body})]}),n.cta&&e("div",{className:"card-footer",children:e(et,{linkVariant:"unstyled",linkClassName:"label1 flex items-center text-text gap-2",...n.cta,iconName:"expand_circle_right"})})]})})},it=({title:n,items:o,enableHeading:i=!1,subtitle:r,color:s="dark",maxWidth:a=!0,maxCardsPerRow:l})=>{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)]"}[l||4]||" lg:w-[calc(25%-1.125rem)]",u=1===o.length?" md:w-full":" md:w-[calc(50%-1rem)]";return e("div",{className:"component-container",children:e("div",{className:`mx-5 mb-5 mt-12 ${a?"max-w-120 xl:mx-auto":""} ${"dark"==s?"text-text":"text-white"}`,children:t("div",{className:"callout-container flex flex-col gap-8",children:[t("div",{className:"title-holder",children:[n&&e($e,{as:i?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:n}),r&&e($e,{as:i?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:r})]}),e("div",{className:"card-holder flex flex-wrap items-stretch justify-center gap-8 self-stretch lg:gap-6",children:o.map((t,n)=>e(ot,{card:t,lgWidth:c,mdWidth:u},n))})]})})})},rt=({fields:t})=>e("div",{children:e($e,{children:"Cards"})}),st={green:"#209A61",yellow:"#F5FF36"},at=r(({children:t,className:n="",variant:o="unstyled",style:i,...r},s)=>{const a=He("unstyled"===o?"":"mb-1 leading-6","list-item",`list-item--${o}`,n);return e("li",{ref:s,className:a,style:i,...r,children:t})});at.displayName="ListItem";const lt=r(({type:t="ul",items:n,className:o="",renderItem:i,children:r,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=He(u,`list--${t}`,`list--${s}`,o),p=r||(n&&0!==n.length?n.map((t,n)=>i?i(t,n):e(at,{className:t.className,variant:s,children:t.content},t.id||n)):null),h={className:d,style:a,...l,children:p};return e("ol"===t?"ol":"ul",{...h,ref:c})});lt.displayName="List";const ct=n=>{const{items:o,listIconName:i="check",listItemClassName:r,iconSize:s=20,iconPosition:a="center",iconColor:l="green"}=n,c="disc"!==i;return(null==o?void 0:o.length)?e(lt,{className:"mt-2 space-y-1",variant:c?"unstyled":"default",children:o.map((n,o)=>t(at,{variant:c?"unstyled":"default",className:He(`${c?"flex":""} ${"top"===a?"items-start":"items-center"} gap-2 text-text-secondary`,r),children:[c&&e("div",{children:e(Je,{name:i,size:s,color:st[l],weight:"600",className:"top"===a?"mt-1":""})}),e($e,{as:"div",children:n})]},o))}):null};ct.displayName="Checklist";const ut=r(({as:t,className:n="",...o},i)=>{const r=He(n);if(t){return e(t,{ref:i,className:r,...o})}return e("img",{ref:i,className:r,...o})});ut.displayName="Image";const dt=({onSelect:o,speed:i,isSelected:r=!1,renderCheckPlans:s,cta:l,techType:c,isMax:u})=>{const[d,p]=a(!1),h=`btn-medium rounded-2xl 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==s?void 0:s({speedCardConfig:{isModalOpen:d,setModalOpen:()=>{p(!1)},speed:i,techType:c,isMax:u},cta:l});return t(n,{children:[t(je,{onClick:()=>{p(!0),o()},className:He(h,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${i}`,"data-track-element-clicked":"speed_plan_card",children:[e("span",{children:"Select plan"}),e("span",{className:"inline-flex h-6 w-6 items-center justify-center rounded-full "+(r?"bg-bg-fill-surface-inverse text-text-inverse":"bg-bg text-text"),children:e(Je,{name:"chevron_right",fill:1,size:24})})]}),m]})},pt=({planName:o,planSubtext:i,speed:r,price:s,description:l,bestValue:c=!1,bestValueText:u="best value",giftBadge:d,innerBadge:p,theme:h="light",featuresTitle:m="Business Ready Internet features",features:g=[],isExpanded:f,onToggleExpand:b,onCtaClick:v,renderCheckPlans:y,cta:x,techType:I,ismaxSpeed:C})=>{const[w,A]=a(!1),N=void 0!==f?f:w,G="dark"===h;return t("article",{className:He("relative flex h-full w-full max-w-[392px] flex-col",!c&&"pt-[28px]"),children:[c&&e("div",{className:"rounded-t-[20px] bg-bg-fill-brand-accent px-4 py-1 text-center text-sm font-bold text-text",children:u}),t("div",{className:He("flex flex-grow flex-col gap-6 rounded-[20px] px-5 shadow-cardDrop",G?"bg-bg-fill-inverse text-white":"bg-white text-text",c?"rounded-t-none":""),children:[t("header",{className:"overflow-none flex items-start justify-between gap-4 pt-7",children:[t("div",{className:"flex flex-col",children:[e($e,{as:"h3",className:He("subheading2 whitespace-nowrap font-black",G?"text-bg-fill-brand-accent":"text-text-brand"),children:o}),e($e,{as:"p",className:`text-label3 font-black ${G?"text-bg-fill-brand-accent":"text-text-brand"} md:whitespace-nowrap`,children:i})]}),t("div",{className:"flex items-start",children:[e("span",{className:"text-xl font-normal",children:"$"}),e("span",{className:"text-subheading6 font-medium leading-none",children:s.split(".")[0]}),t("span",{className:"text-sm font-black",children:[s.split(".")[1],"/mo"]})]})]}),e("section",{children:e($e,{className:He("text-base",G?"text-white":"text-text"),children:l})}),e("div",{className:He("flex-col items-center rounded-xl p-2",G?"bg-bg-surface-inverse":"bg-gray-200"),children:d&&(null==d?void 0:d.map(n=>t("div",{className:"flex items-center gap-2 p-1",children:[e(ut,{src:n.icon,alt:n.title,width:24,height:24}),e($e,{as:"div",className:"text-sm font-bold",children:n.title})]},n.title)))}),e(dt,{onSelect:v,speed:r,isSelected:G,renderCheckPlans:y,cta:x,techType:I,isMax:C}),g.length>0&&t("section",{className:"flex flex-col gap-6",children:[t(je,{onClick:()=>{b?b():A(!w)},className:"group flex w-full items-center justify-between text-left",children:[e($e,{as:"h4",className:"text-base font-bold",children:m}),e(Je,{name:"keyboard_arrow_up",fill:1,size:24,className:He("transition-transform duration-300",N&&"rotate-180")})]}),t("div",{className:He("overflow-hidden transition-all duration-300 ease-in-out",N?"pb-7 opacity-100":"max-h-0 opacity-0"),children:[e("div",{className:"flex flex-col gap-3",children:e(ct,{items:g,iconColor:G?"yellow":"green",listItemClassName:""+(G?"text-white":"text-text")})}),(null==p?void 0:p.badgeIcon)?t("div",{className:"flex items-center gap-2 text-center",children:[e(ut,{src:p.badgeIcon,alt:"Inner Badge",width:12,height:12}),e("span",{className:"text-sm",children:p.badgeText.includes("|")?t(n,{children:[e("span",{className:"font-bold",children:p.badgeText.split("|")[0]}),e("span",{className:"font-normal",children:p.badgeText.split("|")[1]})]}):e($e,{className:"font-bold",children:p.badgeText})})]}):null]})]})]})]})},ht=({title:n,quote:o,rating:i,author:r,role:s,avatarUrl:a,isActive:l=!1,className:c})=>t("figure",{className:S("flex h-full w-full flex-col rounded-3xl p-6 font-sans transition-all duration-300 md:p-13",l?"bg-white shadow-lg":"bg-gray-50 opacity-60",c),children:[e("header",{children:e($e,{as:"h3",className:"mb-4 text-xl font-black lowercase text-text",children:n})}),e("blockquote",{className:"mb-5 flex-grow text-xl leading-relaxed text-text",children:o}),i?e("div",{className:"mb-5 flex gap-1",children:[...Array(5)].map((t,n)=>e(Je,{size:24,name:"star",fill:1,className:S("h-5 w-5",n<i?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null,r&&t("figcaption",{className:"flex items-center gap-3",children:[e("div",{className:"relative h-10 w-10 shrink-0 overflow-hidden rounded-full bg-gray-300",children:a?e(w,{src:a,alt:r,fill:!0,className:"object-cover",sizes:"40px"}):e("div",{className:"flex h-full w-full items-center justify-center bg-gray-500 text-xs font-bold text-white",children:r.charAt(0)})}),t("div",{className:"flex flex-col",children:[e("cite",{className:"text-sm font-bold not-italic text-text",children:r}),e($e,{as:"p",className:"text-xs text-text",children:s})]})]})]});function mt({fields:o,renderCheckPlans:i}){var r,u,d,p;const h=(null===(d=null===(u=null===(r=null==o?void 0:o.items)||void 0===r?void 0:r.items)||void 0===u?void 0:u[0])||void 0===d?void 0:d.benefitsExpanded)||!1,[m,g]=a(h),[f,b]=a({}),[v,y]=a(0),x=(null===(p=null==o?void 0:o.items)||void 0===p?void 0:p.items)||[],I=x.length>2,C=s([]),w=c(()=>{I&&y(e=>(e+3)%x.length)},[I,x.length]),A=c(()=>{I&&y(e=>(e-3+x.length)%x.length)},[I,x.length]);if(l(()=>{if(!I)return;const e=()=>{const e=C.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)},[I,m,x.length]),!x.length&&!(null==o?void 0:o.title))return null;const N=(t,n,o=!1)=>{var r,s,a,l,c,u,d,p;const h=null===(r=null==t?void 0:t.speed)||void 0===r?void 0:r.split("|"),v=(null==h?void 0:h[0])||"",y=(null==h?void 0:h[1])||"",x=(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",I=`${(null==t?void 0:t.price)||"0"}.${x}`,w=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],A=(null==t?void 0:t.highlighted)||!1,N=(null===(u=null===(c=null==t?void 0:t.giftRewards)||void 0===c?void 0:c.list)||void 0===u?void 0:u.items)||[],G={badgeText:t.innerBadge||"",badgeIcon:(null===(d=t.innerBadgeIcon)||void 0===d?void 0:d.url)||""},k=o?f[n]||!1:m;return e("div",{ref:o?void 0:e=>{e&&!C.current.includes(e)&&(C.current[n]=e)},className:He(o?"mx-auto w-full max-w-[392px]":"w-[392px] flex-shrink-0"),children:e(pt,{planName:v,planSubtext:y,speed:(null==t?void 0:t.speed)||"",techType:(null==t?void 0:t.techType)||"",ismaxSpeed:(null==t?void 0:t.ismaxSpeed)||"",price:I,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:N,innerBadge:G,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:A,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:w,isExpanded:k,onToggleExpand:()=>{o?b(e=>({...e,[n]:!e[n]})):g(!m)},ctaText:(null===(p=null==t?void 0:t.cta)||void 0===p?void 0:p.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:i,cta:t.cta,hostType:"smb"})},n)},G=[...x,...x,...x,...x,...x],k=2*x.length;return I?t(n,{children:[e("div",{className:"flex flex-col gap-6 md:hidden",children:x.map((e,t)=>N(e,t,!0))}),t("div",{className:"relative hidden w-full md:block",children:[t("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(je,{onClick:w,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(Je,{name:"arrow_back",size:24})}),e(je,{onClick:A,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(Je,{name:"arrow_forward",size:24})})]}),e("div",{className:"mx-auto max-w-[1280px] overflow-hidden",children:e("div",{className:"flex items-stretch gap-4 pb-4 transition-transform duration-500 ease-in-out",style:{transform:`translateX(calc(-${k+v} * (392px + 12px)))`},children:G.map((e,t)=>N(e,t,!1))})})]})]}):e("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-8 px-4",children:x.map((e,t)=>N(e,t))})}const gt=({fields:n})=>{var o;const i=(null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||[],[r,u]=a(0),d=s(null),p=c(()=>{0!==i.length&&u(e=>(e+1)%i.length)},[i.length]),h=c(()=>{0!==i.length&&u(e=>0===e?i.length-1:e-1)},[i.length]);return l(()=>{if(0!==i.length)return d.current=setInterval(()=>{p()},8e3),()=>{d.current&&clearInterval(d.current)}},[p,i.length]),i&&0!==i.length?t("div",{className:"relative mx-auto max-w-[1280px] overflow-hidden md:px-24",children:[e(je,{onClick:h,className:"group absolute left-4 top-1/2 z-20 hidden h-10 w-10 -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(Je,{name:"arrow_back",size:24})}),e("div",{className:"grid grid-cols-1 justify-items-center",children:i.map((t,n)=>{let o=n-r;const s=i.length;o>s/2&&(o-=s),o<-s/2&&(o+=s);const a=0===o;return e("div",{className:He("col-start-1 row-start-1 w-full md:max-w-[815px]",a?"opacity-100":"opacity-0","md:opacity-100"),style:{transform:`translateX(${a?"0%":105*o+"%"})`,zIndex:a?10:5,visibility:Math.abs(o)>1?"hidden":"visible",transition:"all 0.5s ease-in-out"},children:e(ht,{...t,isActive:a,className:"h-full"})},n)})}),e(je,{onClick:p,className:"group absolute right-4 top-1/2 z-20 hidden h-10 w-10 -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(Je,{name:"arrow_forward",size:24})}),e("div",{className:"mt-8 hidden justify-center gap-2 md:flex",children:i.map((t,n)=>e("button",{onClick:()=>u(n),className:He("h-2 w-2 rounded-full transition-all duration-300",r===n?"w-6 bg-white":"bg-white/40 hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]}):null},ft=({tabs:t,activeTab:n,onChange:o,className:i})=>e("div",{className:He("mx-auto my-6 flex w-fit rounded-2xl bg-white p-1",i),children:t.map(t=>e("button",{onClick:()=>o(t),className:He("min-w-[160px] whitespace-nowrap rounded-2xl bg-[#EEEEEE] px-4 py-2.5 text-label1 font-black transition-all duration-300",n===t?"bg-bg-fill-brand text-white shadow-md":"text-text-info hover:bg-[#E5E5E7]"),children:t},t))}),bt=({fields:n,hasTestimonialCards:o,hasProductCards:i,disclaimerText:r,backgroundColor:s,activeTab:a,setActiveTab:l,tabs:c,onModalButtonClick:u,renderCheckPlans:d,showSwitch:p=!1})=>e("div",{className:`${s} mx-auto overflow-hidden px-5 py-9 md:py-20`,children:t("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-12 overflow-visible",children:[t("div",{children:[e($e,{as:"h2",className:"text-center text-4xl font-bold text-text md:text-5xl",children:null==n?void 0:n.title}),(null==n?void 0:n.subTitle)&&e($e,{as:"h3",className:"body1 px-4 pt-4 text-center",children:null==n?void 0:n.subTitle})]}),p&&i&&c.length>1&&e(ft,{tabs:c,activeTab:a,onChange:l,className:"mb-8"}),o&&e(gt,{fields:n}),i&&e(mt,{onModalButtonClick:u,renderCheckPlans:d,fields:n}),e($e,{as:"div",className:"body1 mt-8 px-4 text-center text-neutral-600",children:r})]})}),vt=({title:n,subtitle:o,description:i,disclaimer:r,icon:s,cta:a,background:l="navy",color:c="light",enableHeading:u,maxWidth:d=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-[40px] xl:mx-auto "+(d?"max-w-120":""),children:[t("div",{className:`flex flex-col rounded-[28px] px-5 py-7 lg:flex-row lg:rounded-[40px] lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[l]} ${"dark"==c?"text-text":"text-white"} `,children:[s&&e("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e(nt,{width:80,height:80,alt:"icon",src:s})})}),t("div",{className:"flex w-full flex-col justify-center lg:mx-5 lg:w-4/5",children:[n&&e($e,{as:u?"h1":"h2",className:"heading2 mb-3 text-center lg:w-[95%] lg:text-left",children:n}),o&&e($e,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:o}),i&&e($e,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:i})]}),a&&e("div",{className:"mt-5 flex justify-center lg:mt-0 lg:w-[500px] lg:items-center",children:e(et,{...a})})]}),r&&e("div",{children:e($e,{as:"div",className:"body3 mt-3 text-center",children:r})})]})}),yt=({body:n,links:o,bottomLinks:r,copyrights:s,terms:a,maxWidth:l=!0,onClick:c})=>{function u(e){null==c||c(e)}return e("div",{className:"component-container bg-bg-inverse text-white",children:t("div",{className:` ${l?"mx-auto max-w-120":""} px-5 py-8`,children:[e("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:n}),e("div",{className:"my-8 h-[1px] border-t-0 bg-white opacity-100 lg:my-16 dark:opacity-50"}),e("div",{className:"grid-1 grid gap-8 py-8 md:grid-cols-2 lg:grid-cols-4",children:null==o?void 0:o.map((n,o)=>{var r,s;return t(i.Fragment,{children:[e("div",{children:t("nav",{"aria-labelledby":`footer-${null==n?void 0:n.title}`,className:"site-links-group",children:[e($e,{as:"div",className:"label3",children:null==n?void 0:n.title}),e("ul",{className:"flex flex-col",children:null===(s=null===(r=null==n?void 0:n.items)||void 0===r?void 0:r.items)||void 0===s?void 0:s.map((t,n)=>e("li",{className:"pt-3",children:e(et,{...t,linkVariant:"unstyled",linkClassName:"text-white body3",onClick:u})},`site-links-${n}`))})]},`link-group-${o}`)},`footer-link-group-${o}`),e("div",{className:"block h-[1px] border-t-0 bg-white opacity-100 md:hidden dark:opacity-50"})]},`footer-link-group-${o}`)})}),t("div",{className:"pt-8",children:[e("p",{className:"copy-rights",children:s}),t("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",a]}),e("nav",{"aria-label":"Footer legal",children:e("ul",{className:"bottom-links list-none",children:null==r?void 0:r.map((t,n)=>e("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(et,{...t,linkClassName:"footnote text-white",linkVariant:"unstyled",onClick:u})},`links-${n}`))})})]})]})})},xt=({isHovered:t,containerClassName:n})=>e("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(Je,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),It=t=>{const{link:n,containerClassName:o,autoplay:i=!1,debug:r=!1}=t,{href:s,embedId:a}=u(()=>{if(!n)return{href:"",embedId:""};const e=n.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("/"),i=o[o.length-1];return(null==n?void 0:n[1])?n[1]===i?n[1]:`${n[1]}/${i}`:""})(e);return{href:e,embedId:t}},[n]);if(r&&console.log("[VimeoEmbed] href:",s,"id:",a),!a)return null;const l=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],i=`https://player.vimeo.com/video/${e}`;return o&&/^[a-f0-9]+$/i.test(o)&&t.searchParams.set("h",o),`${i}?${t.searchParams.toString()}`}return e}catch(t){return e}}(`https://player.vimeo.com/video/${a}?${new URLSearchParams({autoplay:i?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}).toString()}`);return e("div",{className:He("relative h-0 w-full overflow-hidden pb-[56.25%]",o),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:l,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};const Ct=t=>{const{link:n,containerClassName:o,autoplay:i=!1}=t,r=u(()=>{if(!n)return"";const e=n.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return e&&11===e[7].length?e[7]:""},[n]),s=i?"?autoplay=1":"";return e("div",{className:He("relative h-0 w-full overflow-hidden pb-[56.25%]",o),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:`https://www.youtube.com/embed/${r}${s}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})})},wt=({brow:n,enableHeading:o,title:i,subTitle:r,ctaDisclaimer:s,disclaimer:l,description:c,image:u,imageLinks:d,mediaPosition:p=!0,checklist:h,secondaryCta:m,cta:g,videoLink:f,maxWidth:b=!0,color:v="light",imageWidth:y=660,imageHeight:x=660,onModalButtonClick:I,renderCheckPlans:C})=>{var w,A;const[N,G]=a(""),[k,P]=a(!1),V=null!==(w=null==f?void 0:f.link)&&void 0!==w?w:"",B=null==f?void 0:f.image,T=null!==(A=null==f?void 0:f.videoPopup)&&void 0!==A&&A,S=Boolean(N&&N===V),R=f&&B?V.includes("vimeo")?e(It,{link:V,autoplay:S}):e(Ct,{link:V,autoplay:S}):null;return t("div",{className:"component-container",children:[e("div",{className:`image-promo-bar-content ${b?"max-w-120 xl:mx-auto":""} mx-5 mb-8 mt-16`,children:t("div",{className:"flex shrink-0 flex-col items-center gap-8 xl:items-start xl:gap-[126px] "+(p?"xl:flex-row-reverse":"xl:flex-row"),children:[t("div",{className:"flex flex-[1_0_0] flex-col items-start justify-center gap-8 xl:gap-10 "+("dark"==v?"text-text":"text-white"),children:[t("div",{className:"heading holder",children:[n&&e($e,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),i&&e($e,{as:o?"h1":"h2",className:"heading2 xl:heading1",children:i}),r&&e($e,{as:o?"h2":"h3",className:"subheading1 mt-3",children:r})]}),c&&e($e,{as:"div",className:"body1",children:c}),h.length>0&&e(ct,{items:h,iconPosition:"top",iconSize:24}),e("div",{className:"flex gap-4",children:null==d?void 0:d.map((t,n)=>e("div",{className:"image-link w-[147px]",children:e(qe,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e(ut,{src:t.image,alt:"icon-link"})})},n))}),t("div",{className:"flex w-full flex-col gap-8 xl:flex-row xl:gap-3",children:[g&&e("div",{className:"primary-cta w-full xl:w-auto",children:e(et,{...g,fullWidth:!0,renderCheckPlans:C,onModalButtonClick:I})}),m&&e("div",{className:"secondary-cta",children:e(et,{...m,fullWidth:!0,renderCheckPlans:C,onModalButtonClick:I})})]}),s&&e("div",{children:s}),l&&e("div",{children:l})]}),t("aside",{className:"flex w-full shrink-0 items-center justify-center xl:w-auto",children:[u&&e("div",{className:"relative aspect-[16/9] w-full xl:aspect-square xl:max-h-[486px] xl:w-[486px]",children:e(nt,{src:u,alt:"section-image",width:y,height:x,className:"bottom-0 left-0 right-0 top-0 h-full rounded-[40px] object-cover"})}),(null==f?void 0:f.link)&&t("div",{className:He("video-section relative w-full cursor-pointer overflow-hidden rounded-[40px] transition-all duration-300 xl:w-[486px]",!S&&"hover:shadow-2xl"),onClick:()=>{var e;G(null!==(e=null==f?void 0:f.link)&&void 0!==e?e:"")},onMouseEnter:()=>P(!0),onMouseLeave:()=>P(!1),children:[t("div",{className:He(S&&!T&&"hidden",S&&!T?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[f.image&&e(nt,{src:f.image,alt:"Video preview",width:486,height:486,className:"absolute inset-0 h-full w-full rounded-[40px] object-cover"}),e("div",{className:"absolute inset-0 flex items-center justify-center",children:e(xt,{isHovered:k})})]}),!T&&S&&e("div",{className:He("aspect-[16/9] w-full overflow-hidden rounded-[40px] transition-opacity duration-300",S?"opacity-100":"opacity-0"),children:R})]})]})]})}),T&&S&&e("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(),G("")},children:e("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})})]})},At=({link:n,anchorName:o})=>{const[r,s]=i.useState(!1),a=i.useRef(null);if(((e,t)=>{const n=n=>{var o;(null===(o=null==e?void 0:e.current)||void 0===o?void 0:o.contains(n.target))||t()};l(()=>(document.addEventListener("click",n),()=>{document.removeEventListener("click",n)}))})(a,()=>s(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e(et,{...n,linkClassName:"body3 flex items-center text-text-link h-full",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:c,title:u,items:d}=n,p=Array.isArray(null==d?void 0:d.items)?d.items:[],h=`--link-anchor-${o}`;return t("div",{className:"relative h-full",style:{anchorName:h},ref:a,children:[t(et,{onClick:()=>s(e=>!e),"aria-expanded":r,buttonClassName:"group body3 flex h-full items-center",showButtonAs:"unstyled",children:[e($e,{as:"span",className:"group-hover:underline",children:null!=u?u:null}),e(Je,{weight:"700",className:"text-icon-info group-hover:opacity-50",name:r?"keyboard_arrow_up":"keyboard_arrow_down"})]},c),e("div",{className:He("fixed z-10 min-w-44 rounded-xl bg-bg shadow-lg","transition-[opacity,transform] ease-out",r&&p.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:h,top:"anchor(bottom)",right:"anchor(right)"},children:e("ul",{className:"flex flex-col gap-2 py-2",children:p.map((t,n)=>e("li",{className:"submenu-link",children:e(et,{...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}`))})})]})},Nt=({link:o})=>{const[r,s]=i.useState(!1);if(!o)return null;if((e=>"string"==typeof e.href)(o))return e(et,{...o,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${o.anchorId}`);const{anchorId:a,title:l,items:c}=o,u=Array.isArray(null==c?void 0:c.items)?c.items:[];return t(n,{children:[t(et,{onClick:()=>s(e=>!e),"aria-expanded":r,buttonClassName:"label3 flex h-11 w-full items-center px-4",showButtonAs:"unstyled",children:[null!=l?l:null,e(Je,{weight:"700",name:r?"keyboard_arrow_up":"keyboard_arrow_down"})]},a),r&&u.length>0&&e(Gt,{items:u})]})},Gt=({items:t})=>e("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e("li",{className:"submenu-link",children:e(et,{...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}`),kt=n=>{const{showBlinkDot:o=!1,buttonStyle:i="primary",size:r="md",children:s,className:a,...l}=n;return t(qe,{...l,className:He("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"}[i],a),children:[o?e("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("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(Je,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[r],className:"text-white"})}),e("span",{className:"font-normal tracking-wide",children:s})]})};kt.displayName="CallButton";const Pt=r((n,o)=>{const{className:i,size:r,required:s,placeholder:l,label:u,state:d,errorText:p,prefixIconName:h,prefixIconFill:m=!0,suffixIconFill:g=!1,prefixIconSize:f=24,suffixIconName:b,suffixIconSize:v=24,containerClassName:y,prefixIconClassName:x,loading:I,hasError:C,type:w,...A}=n,N=C?"error":d,[G,k]=a(!1),[P,V]=a(!1),[B,T]=a(w||"text"),S=c(e=>{e.stopPropagation(),T(e=>"password"===e?"text":"password")},[]);return t("div",{className:"relative",children:[u?e("label",{htmlFor:u,className:He("inline-block pb-1"),children:t($e,{as:"span",className:"footnote text-text",children:[u,s?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:He("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]"}[r||"medium"],y,(G||"hover"===N)&&!P&&"error"!==N&&"border-input-border-hover",(P||"focus"===N||"active"===N)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===N&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[h?e("div",{className:"mr-1",style:{width:f,height:f,overflow:"hidden"},children:e(Je,{name:h,fill:m?1:0,size:f,className:He(x)})}):null,e("input",{ref:o,id:u,disabled:I||A.disabled,className:He("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===r&&"text-body3",i),placeholder:l,type:B,...A,onMouseOver:()=>k(!0),onMouseOut:()=>k(!1),onFocus:e=>{var t;null===(t=A.onFocus)||void 0===t||t.call(A,e),V(!0)},onBlur:e=>{var t;null===(t=A.onBlur)||void 0===t||t.call(A,e),V(!1)}}),b?e("div",{className:"ml-2",style:{width:v,height:v,overflow:"hidden"},onClick:S,children:e(Je,{name:"text"===B?"visibility":"visibility_off",size:v,fill:g?1:0})}):null]}),"error"===N&&p&&""!=p?t($e,{className:He("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(Je,{name:"info",size:20,className:"mr-1"}),p||"Error"]}):null]})});Pt.displayName="Input";const Vt=n=>{const{primaryNavigationLinks:o,utilityNavigationLinks:i,checkPlansJSX:r,primaryNavigationLogo:s,accountNavigationLinks:a,supportNavigationLinks:l,searchBarIcon:c,invocaPhoneNumberLink:u,invocaPhoneNumberDisplayText:d,onSearch:p=()=>{}}=n;return t("div",{className:"component-container",children:[t("nav",{className:"menu-container",children:[e("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex max-w-120 justify-between",children:[e("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==i?void 0:i.map((t,n)=>e("li",{children:e(et,{linkClassName:He("footnote flex items-center w-full h-11 text-text-link",1===n&&"label4"),linkVariant:"unstyled",...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t))})},`main-menu-items-${n}`))}),t("div",{className:"flex items-center gap-10",children:[e(kt,{className:"border-none",href:u,children:e($e,{className:"body3",children:d})}),null==a?void 0:a.map((t,n)=>e(At,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}),t("div",{className:"main-nav-container","aria-label":"Main Navigation",children:[t("div",{className:"mobile-nav-section flex h-14 items-center justify-between px-5 py-[10px] lg:hidden",children:[e("div",{children:e(qe,{href:"/",className:"flex",children:e(nt,{src:"string"==typeof s?s:(null==s?void 0:s.url)||"",alt:"Kinetic business logo",width:76.5,height:24})})}),t("div",{className:"flex items-center gap-6",children:[e(kt,{href:u,children:e($e,{as:"span",className:"footnote",children:d})}),e(Bt,{...n})]})]}),e("div",{className:"desktop-nav-section hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex h-14 max-w-120 items-center justify-between",children:[t("div",{className:"flex h-full",children:[e(qe,{href:"/",className:"flex",children:e(nt,{src:"string"==typeof s?s:(null==s?void 0:s.url)||"",alt:"Kinetic business logo",width:76.5,height:24,className:"mr-14"})}),e("div",{className:"flex h-full items-center gap-5",children:null==o?void 0:o.map((t,n)=>e(At,{anchorName:`main-menu-${n}`,link:t},`main-menu-${n}`))})]}),t("div",{className:"flex h-full items-center gap-10",children:[e(St,{searchBarIconURL:"string"==typeof c?c:(null==c?void 0:c.url)||"",onSearch:p}),null==l?void 0:l.map((t,n)=>e(At,{anchorName:`support-menu-${n}`,link:t},`support-menu-${n}`))]})]})})]})]}),r&&e("div",{className:"md:hidden",children:r})]})},Bt=n=>{var o;const{primaryNavigationLinks:r,utilityNavigationLinks:s}=n,[a,l]=i.useState(!1);i.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=a?"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],i=e=>{var t,i,r,s;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(i=(t=o).focus)||void 0===i||i.call(t),e.preventDefault()):document.activeElement===o&&(null===(s=(r=n).focus)||void 0===s||s.call(r),e.preventDefault()))};return window.addEventListener("keydown",i),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",i)}},[a]);const c=()=>{l(!1)};return t("div",{children:[e(et,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>l(!0),children:e(Je,{name:"menu"})}),a?e("div",{className:"fixed bottom-0 left-0 right-0 top-0 z-[90] h-full w-full bg-scrim-bg-modal"}):null,e("div",{className:He("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",a?"right-0":"-right-96"),id:"mobile-menu-overlay",children:t("div",{id:"drawer-items",className:"flex h-full flex-col gap-3",children:[t("div",{className:"flex items-center justify-between px-4",children:[e("div",{children:e(kt,{className:"border-none",href:n.invocaPhoneNumberLink,children:n.invocaPhoneNumberDisplayText})}),e("div",{children:e(et,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:c,children:e(Je,{name:"close"})})})]}),e(Tt,{closeMenu:c,isMenuOpen:a,searchBarIconURL:"string"==typeof n.searchBarIcon?n.searchBarIcon:(null===(o=n.searchBarIcon)||void 0===o?void 0:o.url)||"",onSearch:n.onSearch||(()=>{})}),t("div",{className:"flex-grow overflow-y-auto",children:[e("ul",{className:"mt-2 flex flex-col gap-2",children:null==r?void 0:r.map((t,n)=>e("li",{children:e(Nt,{link:t})},`main-menu-items-${n}`))}),e("ul",{className:"mt-2 flex gap-5 bg-bg-fill-info px-4",children:null==s?void 0:s.map((t,n)=>e("li",{children:e(et,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:He("footnote flex items-center w-full h-11 text-text-link",1===n&&"label4"),linkVariant:"unstyled"},`submenu-link-btn-${t.anchorId}`)},`main-menu-items-${n}`))})]})]})})]})},Tt=n=>{const{closeMenu:o,onSearch:r,isMenuOpen:s,searchBarIconURL:a}=n,[l,c]=i.useState(""),u=i.useRef(null),d=e=>{o(),e.preventDefault(),r(l)};return i.useEffect(()=>{s||c("")},[s]),t("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:d,children:[e(nt,{src:a,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:d}),e("div",{className:"flex-grow",children:e(Pt,{ref:u,className:"h-[34px] rounded-none text-body3 font-medium leading-6",name:"search",placeholder:"Search...",value:l,onChange:e=>c(e.target.value),autoComplete:"off",containerClassName:"h-[46px] px-4 pl-0 rounded-none flex-grow border-none"})})]})},St=n=>{const{searchBarIconURL:o,onSearch:r}=n,[s,a]=i.useState(""),l=i.useRef(null),c=e=>{e.preventDefault(),r(s)};return t("form",{name:"searchForm",className:"flex h-9 w-60 rounded-full border transition-colors focus-within:border-border-focus",onSubmit:c,children:[e(nt,{src:o,width:32,height:32,alt:"Search icon",role:"button",onClick:c}),e(Pt,{ref:l,className:"rounded-full p-0 text-body3 font-medium leading-6",name:"search",placeholder:"Search...",value:s,onChange:e=>a(e.target.value),autoComplete:"off",containerClassName:"px-0 h-full border-none rounded-full"})]})},Rt=n=>{var o;const{title:i,showAsHeading:r,subTitle:s,primaryCta1:a,carouselImages:l,bottomLink:c,price:u,priceCallout:d,priceSuffix:p,checklist:h,renderCheckPlans:m,badgeImage:g,pricingDescriptionDisclaimer:f,secondaryCta:b,secondaryCtaPrefix:v,onModalButtonClick:y}=n,x=null!==(o=null==c?void 0:c.buttonLabel)&&void 0!==o?o:null==c?void 0:c.label;return e("div",{className:"component-container p-5 lg:h-[724px] lg:p-0",children:t("div",{className:He("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("div",{className:He("relative flex flex-col text-white sm:w-[485px]"),children:t("div",{className:"flex flex-col gap-5 lg:gap-6",children:[i&&e($e,{as:r?"h1":"h2",className:"heading2 lg:heading1",children:i}),s&&e($e,{as:"p",className:"subheading3 lg:subheading1",children:s}),u?t("div",{className:"flex",children:[e("div",{className:"mr-2 mt-0.5",children:d?d.split("|").map((t,n)=>e($e,{as:"p",className:"body2",children:t},n)):null}),t("div",{className:"flex",children:[e($e,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e($e,{as:"p",className:"subheading5",children:u}),p?e($e,{as:"p",className:"subheading1 mt-0.5",children:p}):null]})]}):null,h&&e(ct,{listItemClassName:"text-white body2",items:h.map(e=>e.title)}),t("div",{className:"flex flex-col gap-3",children:[a&&e("div",{className:He("hidden lg:flex lg:flex-col"),children:e(et,{...a,renderCheckPlans:m,onModalButtonClick:y})}),v||b?t("div",{className:"flex",children:[v&&e($e,{as:"span",className:"body2 mr-1",children:v}),b&&e(et,{linkClassName:"body2 text-text-inverse",onModalButtonClick:y,...b})]}):null,c&&(x||(null==c?void 0:c.href))&&e("div",{className:"hidden lg:block",children:e(et,{...c,linkClassName:"text-footnote text-white",onModalButtonClick:y})}),f?e($e,{as:"p",className:"body3",children:f}):null]})]})}),t("div",{className:"lg:hidden",children:[t("div",{className:"relative my-8",children:[g?e(nt,{src:g,alt:"Badge",className:"absolute left-5 top-5 aspect-square w-26 object-cover object-center",width:100,height:100,loading:"eager"}):null,l&&l[0]?e(nt,{src:l[0],alt:"Hero",className:"aspect-[1.71:1] sm:aspect-[1.41:1] rounded-[40px] object-cover object-center sm:h-[420px]",width:350,height:205,loading:"eager"}):null]}),c&&(x||(null==c?void 0:c.href))&&e("div",{children:e(et,{...c,onModalButtonClick:y,linkClassName:"body3 text-white"})}),f?e($e,{as:"p",className:"body3",children:f}):null,v||b?t("div",{className:"flex",children:[v&&e($e,{as:"span",className:"body2 mr-1",children:v}),b&&e(et,{...b,onModalButtonClick:y,linkClassName:"text-white"})]}):null]}),t("div",{className:He("relative hidden lg:block"),children:[g?e(nt,{src:g,alt:"Badge",className:"absolute -left-26 top-18 aspect-square w-52 object-cover object-center",width:200,height:200,loading:"eager"}):null,l&&l[0]?e(nt,{src:l[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,loading:"eager"}):null]})]})})},Et=({fields:t})=>e("div",{children:e($e,{children:"Text Block"})}),Mt={closed:{opacity:0},open:{opacity:1}},Xt={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},Wt={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},Ft=d({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Lt=d({}),Ot=d(null),Zt="undefined"!=typeof document,Dt=Zt?p:l,zt=d({strict:!1});function Ht(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function jt(e){return"string"==typeof e||Array.isArray(e)}function Yt(e){return"object"==typeof e&&"function"==typeof e.start}const Jt=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ut=["initial",...Jt];function $t(e){return Yt(e.animate)||Ut.some(t=>jt(e[t]))}function Qt(e){return Boolean($t(e)||e.variants)}function _t(e){const{initial:t,animate:n}=function(e,t){if($t(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,h(Lt));return u(()=>({initial:t,animate:n}),[Kt(t),Kt(n)])}function Kt(e){return Array.isArray(e)?e.join(" "):e}const qt={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"]},en={};for(const e in qt)en[e]={isEnabled:t=>qt[e].some(e=>!!t[e])};const tn=d({}),nn=d({}),on=Symbol.for("motionComponentSymbol");function rn({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:a}){e&&function(e){for(const t in e)en[t]={...en[t],...e[t]}}(e);const u=r(function(r,u){let d;const p={...h(Ft),...r,layoutId:sn(r)},{isStatic:g}=p,f=_t(r),b=i(r,g);if(!g&&Zt){f.visualElement=function(e,t,n,o){const{visualElement:i}=h(Lt),r=h(zt),a=h(Ot),c=h(Ft).reducedMotion,u=s();o=o||r.renderer,!u.current&&o&&(u.current=o(e,{visualState:t,parent:i,props:n,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:c}));const d=u.current;return m(()=>{d&&d.update(n,a)}),Dt(()=>{d&&d.render()}),l(()=>{d&&d.updateFeatures()}),(window.HandoffAppearAnimations?Dt:l)(()=>{d&&d.animationState&&d.animationState.animateChanges()}),d}(a,b,p,t);const n=h(nn),o=h(zt).strict;f.visualElement&&(d=f.visualElement.loadFeatures(p,o,e,n))}return o.createElement(Lt.Provider,{value:f},d&&f.visualElement?o.createElement(d,{visualElement:f.visualElement,...p}):null,n(a,r,function(e,t,n){return c(o=>{o&&e.mount&&e.mount(o),t&&(o?t.mount(o):t.unmount()),n&&("function"==typeof n?n(o):Ht(n)&&(n.current=o))},[t])}(b,f.visualElement,u),b,g,f.visualElement))});return u[on]=a,u}function sn({layoutId:e}){const t=h(tn).id;return t&&void 0!==e?t+"-"+e:e}function an(e){function t(t,n={}){return rn(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 ln=["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 cn(e){return"string"==typeof e&&!e.includes("-")&&!!(ln.indexOf(e)>-1||/[A-Z]/.test(e))}const un={};const dn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],pn=new Set(dn);function hn(e,{layout:t,layoutId:n}){return pn.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!un[e]||"opacity"===e)}const mn=e=>Boolean(e&&e.getVelocity),gn={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},fn=dn.length;const bn=e=>t=>"string"==typeof t&&t.startsWith(e),vn=bn("--"),yn=bn("var(--"),xn=(e,t)=>t&&"number"==typeof e?t.transform(e):e,In=(e,t,n)=>Math.min(Math.max(n,e),t),Cn={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},wn={...Cn,transform:e=>In(0,1,e)},An={...Cn,default:1},Nn=e=>Math.round(1e5*e)/1e5,Gn=/(-)?([\d]*\.?[\d])+/g,kn=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Pn=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Vn(e){return"string"==typeof e}const Bn=e=>({test:t=>Vn(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Tn=Bn("deg"),Sn=Bn("%"),Rn=Bn("px"),En=Bn("vh"),Mn=Bn("vw"),Xn={...Sn,parse:e=>Sn.parse(e)/100,transform:e=>Sn.transform(100*e)},Wn={...Cn,transform:Math.round},Fn={borderWidth:Rn,borderTopWidth:Rn,borderRightWidth:Rn,borderBottomWidth:Rn,borderLeftWidth:Rn,borderRadius:Rn,radius:Rn,borderTopLeftRadius:Rn,borderTopRightRadius:Rn,borderBottomRightRadius:Rn,borderBottomLeftRadius:Rn,width:Rn,maxWidth:Rn,height:Rn,maxHeight:Rn,size:Rn,top:Rn,right:Rn,bottom:Rn,left:Rn,padding:Rn,paddingTop:Rn,paddingRight:Rn,paddingBottom:Rn,paddingLeft:Rn,margin:Rn,marginTop:Rn,marginRight:Rn,marginBottom:Rn,marginLeft:Rn,rotate:Tn,rotateX:Tn,rotateY:Tn,rotateZ:Tn,scale:An,scaleX:An,scaleY:An,scaleZ:An,skew:Tn,skewX:Tn,skewY:Tn,distance:Rn,translateX:Rn,translateY:Rn,translateZ:Rn,x:Rn,y:Rn,z:Rn,perspective:Rn,transformPerspective:Rn,opacity:wn,originX:Xn,originY:Xn,originZ:Rn,zIndex:Wn,fillOpacity:wn,strokeOpacity:wn,numOctaves:Wn};function Ln(e,t,n,o){const{style:i,vars:r,transform:s,transformOrigin:a}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(vn(e)){r[e]=n;continue}const o=Fn[e],d=xn(n,o);if(pn.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):i[e]=d}if(t.transform||(l||o?i.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},o,i){let r="";for(let t=0;t<fn;t++){const n=dn[t];void 0!==e[n]&&(r+=`${gn[n]||n}(${e[n]}) `)}return t&&!e.z&&(r+="translateZ(0)"),r=r.trim(),i?r=i(e,o?"":r):n&&o&&(r="none"),r}(e.transform,n,u,o):i.transform&&(i.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=a;i.transformOrigin=`${e} ${t} ${n}`}}const On=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Zn(e,t,n){for(const o in t)mn(t[o])||hn(o,n)||(e[o]=t[o])}function Dn(e,t,n){const o={};return Zn(o,e.style||{},e),Object.assign(o,function({transformTemplate:e},t,n){return u(()=>{const o={style:{},transform:{},transformOrigin:{},vars:{}};return Ln(o,t,{enableHardwareAcceleration:!n},e),Object.assign({},o.vars,o.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(o):o}function zn(e,t,n){const o={},i=Dn(e,t,n);return e.drag&&!1!==e.dragListener&&(o.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.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=i,o}const Hn=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")||Hn.has(e)}let Yn=e=>!jn(e);try{(Jn=require("@emotion/is-prop-valid").default)&&(Yn=e=>e.startsWith("on")?!jn(e):Jn(e))}catch(e){}var Jn;function Un(e,t,n){return"string"==typeof e?e:Rn.transform(t+n*e)}const $n={offset:"stroke-dashoffset",array:"stroke-dasharray"},Qn={offset:"strokeDashoffset",array:"strokeDasharray"};function _n(e,{attrX:t,attrY:n,attrScale:o,originX:i,originY:r,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,d,p){if(Ln(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:h,style:m,dimensions:g}=e;h.transform&&(g&&(m.transform=h.transform),delete h.transform),g&&(void 0!==i||void 0!==r||m.transform)&&(m.transformOrigin=function(e,t,n){return`${Un(t,e.x,e.width)} ${Un(n,e.y,e.height)}`}(g,void 0!==i?i:.5,void 0!==r?r:.5)),void 0!==t&&(h.x=t),void 0!==n&&(h.y=n),void 0!==o&&(h.scale=o),void 0!==s&&function(e,t,n=1,o=0,i=!0){e.pathLength=1;const r=i?$n:Qn;e[r.offset]=Rn.transform(-o);const s=Rn.transform(t),a=Rn.transform(n);e[r.array]=`${s} ${a}`}(h,s,a,l,!1)}const Kn=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),qn=e=>"string"==typeof e&&"svg"===e.toLowerCase();function eo(e,t,n,o){const i=u(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return _n(n,t,{enableHardwareAcceleration:!1},qn(o),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};Zn(t,e.style,e),i.style={...t,...i.style}}return i}function to(e=!1){return(t,n,o,{latestValues:i},r)=>{const s=(cn(t)?eo:zn)(n,i,r,t),a=function(e,t,n){const o={};for(const i in e)"values"===i&&"object"==typeof e.values||(Yn(i)||!0===n&&jn(i)||!t&&!jn(i)||e.draggable&&i.startsWith("onDrag"))&&(o[i]=e[i]);return o}(n,"string"==typeof t,e),l={...a,...s,ref:o},{children:c}=n,d=u(()=>mn(c)?c.get():c,[c]);return g(t,{...l,children:d})}}const no=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function oo(e,{style:t,vars:n},o,i){Object.assign(e.style,t,i&&i.getProjectionStyles(o));for(const t in n)e.style.setProperty(t,n[t])}const io=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 ro(e,t,n,o){oo(e,t,void 0,o);for(const n in t.attrs)e.setAttribute(io.has(n)?n:no(n),t.attrs[n])}function so(e,t){const{style:n}=e,o={};for(const i in n)(mn(n[i])||t.style&&mn(t.style[i])||hn(i,e))&&(o[i]=n[i]);return o}function ao(e,t){const n=so(e,t);for(const o in e)if(mn(e[o])||mn(t[o])){n[-1!==dn.indexOf(o)?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o]=e[o]}return n}function lo(e,t,n,o={},i={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,o,i)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,o,i)),t}const co=e=>Array.isArray(e),uo=e=>co(e)?e[e.length-1]||0:e;function po(e){const t=mn(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const ho=e=>(t,n)=>{const o=h(Lt),i=h(Ot),r=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},o,i,r){const s={latestValues:mo(o,i,r,e),renderState:t()};return n&&(s.mount=e=>n(o,e,s)),s}(e,t,o,i);return n?r():function(e){const t=s(null);return null===t.current&&(t.current=e()),t.current}(r)};function mo(e,t,n,o){const i={},r=o(e,{});for(const e in r)i[e]=po(r[e]);let{initial:s,animate:a}=e;const l=$t(e),c=Qt(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&&!Yt(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=lo(e,t);if(!n)return;const{transitionEnd:o,transition:r,...s}=n;for(const e in s){let t=s[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(i[e]=t)}for(const e in o)i[e]=o[e]})}return i}const go={useVisualState:ho({scrapeMotionValuesFromProps:ao,createRenderState:Kn,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}}_n(n,o,{enableHardwareAcceleration:!1},qn(t.tagName),e.transformTemplate),ro(t,n)}})},fo={useVisualState:ho({scrapeMotionValuesFromProps:so,createRenderState:On})};function bo(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}const vo=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function yo(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function xo(e,t,n,o){return bo(e,t,(e=>t=>vo(t)&&e(t,yo(t)))(n),o)}const Io=(e,t)=>n=>t(e(n)),Co=(...e)=>e.reduce(Io);function wo(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const Ao=wo("dragHorizontal"),No=wo("dragVertical");function Go(e){let t=!1;if("y"===e)t=No();else if("x"===e)t=Ao();else{const e=Ao(),n=No();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function ko(){const e=Go(!0);return!e||(e(),!1)}class Po{constructor(e){this.isMounted=!1,this.node=e}update(){}}const Vo={delta:0,timestamp:0,isProcessing:!1};let Bo=!0,To=!1;const So=["read","update","preRender","render","postRender"],Ro=So.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],o=0,i=!1,r=!1;const s=new WeakSet,a={schedule:(e,r=!1,a=!1)=>{const l=a&&i,c=l?t:n;return r&&s.add(e),-1===c.indexOf(e)&&(c.push(e),l&&i&&(o=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),s.delete(e)},process:l=>{if(i)r=!0;else{if(i=!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())}i=!1,r&&(r=!1,a.process(l))}}};return a}(()=>To=!0),e),{}),Eo=e=>Ro[e].process(Vo),Mo=e=>{To=!1,Vo.delta=Bo?1e3/60:Math.max(Math.min(e-Vo.timestamp,40),1),Vo.timestamp=e,Vo.isProcessing=!0,So.forEach(Eo),Vo.isProcessing=!1,To&&(Bo=!1,requestAnimationFrame(Mo))},Xo=So.reduce((e,t)=>{const n=Ro[t];return e[t]=(e,t=!1,o=!1)=>(To||(To=!0,Bo=!0,Vo.isProcessing||requestAnimationFrame(Mo)),n.schedule(e,t,o)),e},{});function Wo(e){So.forEach(t=>Ro[t].cancel(e))}function Fo(e,t){const n="pointer"+(t?"enter":"leave"),o="onHover"+(t?"Start":"End");return xo(e.current,n,(n,i)=>{if("touch"===n.type||ko())return;const r=e.getProps();e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",t),r[o]&&Xo.update(()=>r[o](n,i))},{passive:!e.getProps()[o]})}const Lo=(e,t)=>!!t&&(e===t||Lo(e,t.parentElement)),Oo=e=>e;function Zo(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,yo(n))}const Do=new WeakMap,zo=new WeakMap,Ho=e=>{const t=Do.get(e.target);t&&t(e)},jo=e=>{e.forEach(Ho)};function Yo(e,t,n){const o=function({root:e,...t}){const n=e||document;zo.has(n)||zo.set(n,{});const o=zo.get(n),i=JSON.stringify(t);return o[i]||(o[i]=new IntersectionObserver(jo,{root:e,...t})),o[i]}(t);return Do.set(e,n),o.observe(e),()=>{Do.delete(e),o.unobserve(e)}}const Jo={some:0,all:1};const Uo={inView:{Feature:class extends Po{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:i}=e,r={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof o?o:Jo[o]};return Yo(this.node.current,r,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,i&&!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(),r=t?n:o;r&&r(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 Po{constructor(){super(...arguments),this.removeStartListeners=Oo,this.removeEndListeners=Oo,this.removeAccessibleListeners=Oo,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),o=xo(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:o}=this.node.getProps();Xo.update(()=>{Lo(this.node.current,e.target)?n&&n(e,t):o&&o(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),i=xo(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Co(o,i),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=bo(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=bo(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&Zo("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&Xo.update(()=>n(e,t))})}),Zo("down",(e,t)=>{this.startPress(e,t)})}),t=bo(this.node.current,"blur",()=>{this.isPressing&&Zo("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=Co(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&&Xo.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!ko()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&Xo.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=xo(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=bo(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Co(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Po{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=Co(bo(this.node.current,"focus",()=>this.onFocus()),bo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Po{mount(){this.unmount=Co(Fo(this.node,!0),Fo(this.node,!1))}unmount(){}}}};function $o(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 Qo(e,t,n){const o=e.getProps();return lo(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 _o="data-"+no("framerAppearId");let Ko=Oo,qo=Oo;"production"!==process.env.NODE_ENV&&(Ko=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},qo=(e,t)=>{if(!e)throw new Error(t)});const ei=e=>1e3*e,ti=e=>e/1e3,ni=!1,oi=e=>Array.isArray(e)&&"number"==typeof e[0];function ii(e){return Boolean(!e||"string"==typeof e&&si[e]||oi(e)||Array.isArray(e)&&e.every(ii))}const ri=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,si={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ri([0,.65,.55,1]),circOut:ri([.55,0,1,.45]),backIn:ri([.31,.01,.66,-.59]),backOut:ri([.33,1.53,.69,.99])};function ai(e){if(e)return oi(e)?ri(e):Array.isArray(e)?e.map(ai):si[e]}const li={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},ci={},ui={};for(const e in li)ui[e]=()=>(void 0===ci[e]&&(ci[e]=li[e]()),ci[e]);const di=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function pi(e,t,n,o){if(e===t&&n===o)return Oo;const i=t=>function(e,t,n,o,i){let r,s,a=0;do{s=t+(n-t)/2,r=di(s,o,i)-e,r>0?n=s:t=s}while(Math.abs(r)>1e-7&&++a<12);return s}(t,0,1,e,n);return e=>0===e||1===e?e:di(i(e),t,o)}const hi=pi(.42,0,1,1),mi=pi(0,0,.58,1),gi=pi(.42,0,.58,1),fi=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,bi=e=>t=>1-e(1-t),vi=e=>1-Math.sin(Math.acos(e)),yi=bi(vi),xi=fi(yi),Ii=pi(.33,1.53,.69,.99),Ci=bi(Ii),wi=fi(Ci),Ai={linear:Oo,easeIn:hi,easeInOut:gi,easeOut:mi,circIn:vi,circInOut:xi,circOut:yi,backIn:Ci,backInOut:wi,backOut:Ii,anticipate:e=>(e*=2)<1?.5*Ci(e):.5*(2-Math.pow(2,-10*(e-1)))},Ni=e=>{if(Array.isArray(e)){qo(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,o,i]=e;return pi(t,n,o,i)}return"string"==typeof e?(qo(void 0!==Ai[e],`Invalid easing type '${e}'`),Ai[e]):e},Gi=(e,t)=>n=>Boolean(Vn(n)&&Pn.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),ki=(e,t,n)=>o=>{if(!Vn(o))return o;const[i,r,s,a]=o.match(Gn);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},Pi={...Cn,transform:e=>Math.round((e=>In(0,255,e))(e))},Vi={test:Gi("rgb","red"),parse:ki("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+Pi.transform(e)+", "+Pi.transform(t)+", "+Pi.transform(n)+", "+Nn(wn.transform(o))+")"};const Bi={test:Gi("#"),parse:function(e){let t="",n="",o="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,o+=o,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:i?parseInt(i,16)/255:1}},transform:Vi.transform},Ti={test:Gi("hsl","hue"),parse:ki("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+Sn.transform(Nn(t))+", "+Sn.transform(Nn(n))+", "+Nn(wn.transform(o))+")"},Si={test:e=>Vi.test(e)||Bi.test(e)||Ti.test(e),parse:e=>Vi.test(e)?Vi.parse(e):Ti.test(e)?Ti.parse(e):Bi.parse(e),transform:e=>Vn(e)?e:e.hasOwnProperty("red")?Vi.transform(e):Ti.transform(e)},Ri=(e,t,n)=>-n*e+n*t+e;function Ei(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 Mi=(e,t,n)=>{const o=e*e;return Math.sqrt(Math.max(0,n*(t*t-o)+o))},Xi=[Bi,Vi,Ti];function Wi(e){const t=(n=e,Xi.find(e=>e.test(n)));var n;qo(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let o=t.parse(e);return t===Ti&&(o=function({hue:e,saturation:t,lightness:n,alpha:o}){e/=360,n/=100;let i=0,r=0,s=0;if(t/=100){const o=n<.5?n*(1+t):n+t-n*t,a=2*n-o;i=Ei(a,o,e+1/3),r=Ei(a,o,e),s=Ei(a,o,e-1/3)}else i=r=s=n;return{red:Math.round(255*i),green:Math.round(255*r),blue:Math.round(255*s),alpha:o}}(o)),o}const Fi=(e,t)=>{const n=Wi(e),o=Wi(t),i={...n};return e=>(i.red=Mi(n.red,o.red,e),i.green=Mi(n.green,o.green,e),i.blue=Mi(n.blue,o.blue,e),i.alpha=Ri(n.alpha,o.alpha,e),Vi.transform(i))};const Li={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Oo},Oi={regex:kn,countKey:"Colors",token:"${c}",parse:Si.parse},Zi={regex:Gn,countKey:"Numbers",token:"${n}",parse:Cn.parse};function Di(e,{regex:t,countKey:n,token:o,parse:i}){const r=e.tokenised.match(t);r&&(e["num"+n]=r.length,e.tokenised=e.tokenised.replace(t,o),e.values.push(...r.map(i)))}function zi(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Di(n,Li),Di(n,Oi),Di(n,Zi),n}function Hi(e){return zi(e).values}function ji(e){const{values:t,numColors:n,numVars:o,tokenised:i}=zi(e),r=t.length;return e=>{let t=i;for(let i=0;i<r;i++)t=i<o?t.replace(Li.token,e[i]):i<o+n?t.replace(Oi.token,Si.transform(e[i])):t.replace(Zi.token,Nn(e[i]));return t}}const Yi=e=>"number"==typeof e?0:e;const Ji={test:function(e){var t,n;return isNaN(e)&&Vn(e)&&((null===(t=e.match(Gn))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(kn))||void 0===n?void 0:n.length)||0)>0},parse:Hi,createTransformer:ji,getAnimatableNone:function(e){const t=Hi(e);return ji(e)(t.map(Yi))}},Ui=(e,t)=>n=>`${n>0?t:e}`;function $i(e,t){return"number"==typeof e?n=>Ri(e,t,n):Si.test(e)?Fi(e,t):e.startsWith("var(")?Ui(e,t):Ki(e,t)}const Qi=(e,t)=>{const n=[...e],o=n.length,i=e.map((e,n)=>$i(e,t[n]));return e=>{for(let t=0;t<o;t++)n[t]=i[t](e);return n}},_i=(e,t)=>{const n={...e,...t},o={};for(const i in n)void 0!==e[i]&&void 0!==t[i]&&(o[i]=$i(e[i],t[i]));return e=>{for(const t in o)n[t]=o[t](e);return n}},Ki=(e,t)=>{const n=Ji.createTransformer(t),o=zi(e),i=zi(t);return o.numVars===i.numVars&&o.numColors===i.numColors&&o.numNumbers>=i.numNumbers?Co(Qi(o.values,i.values),n):(Ko(!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.`),Ui(e,t))},qi=(e,t,n)=>{const o=t-e;return 0===o?1:(n-e)/o},er=(e,t)=>n=>Ri(e,t,n);function tr(e,t,n){const o=[],i=n||("number"==typeof(r=e[0])?er:"string"==typeof r?Si.test(r)?Fi:Ki:Array.isArray(r)?Qi:"object"==typeof r?_i:er);var r;const s=e.length-1;for(let n=0;n<s;n++){let r=i(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||Oo:t;r=Co(e,r)}o.push(r)}return o}function nr(e,t,{clamp:n=!0,ease:o,mixer:i}={}){const r=e.length;if(qo(r===t.length,"Both input and output ranges must be the same length"),1===r)return()=>t[0];e[0]>e[r-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=tr(t,o,i),a=s.length,l=t=>{let n=0;if(a>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const o=qi(e[n],e[n+1],t);return s[n](o)};return n?t=>l(In(e[0],e[r-1],t)):l}function or(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const i=qi(0,t,o);e.push(Ri(n,1,i))}}(t,e.length-1),t}function ir({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const i=(e=>Array.isArray(e)&&"number"!=typeof e[0])(o)?o.map(Ni):Ni(o),r={done:!1,value:t[0]},s=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:or(t),e),a=nr(s,t,{ease:Array.isArray(i)?i:(l=t,c=i,l.map(()=>c||gi).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(r.value=a(t),r.done=t>=e,r)}}function rr(e,t){return t?e*(1e3/t):0}function sr(e,t,n){const o=Math.max(t-5,0);return rr(n-e(o),t-o)}const ar=.001;function lr({duration:e=800,bounce:t=.25,velocity:n=0,mass:o=1}){let i,r;Ko(e<=ei(10),"Spring duration must be 10 seconds or less");let s=1-t;s=In(.05,1,s),e=In(.01,10,ti(e)),s<1?(i=t=>{const o=t*s,i=o*e,r=o-n,a=ur(t,s),l=Math.exp(-i);return ar-r/a*l},r=t=>{const o=t*s*e,r=o*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-o),c=ur(Math.pow(t,2),s);return(-i(t)+ar>0?-1:1)*((r-a)*l)/c}):(i=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,r=t=>Math.exp(-t*e)*(e*e*(n-t)));const a=function(e,t,n){let o=n;for(let n=1;n<cr;n++)o-=e(o)/t(o);return o}(i,r,5/e);if(e=ei(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 cr=12;function ur(e,t){return e*Math.sqrt(1-t*t)}const dr=["duration","bounce"],pr=["stiffness","damping","mass"];function hr(e,t){return t.some(t=>void 0!==e[t])}function mr({keyframes:e,restDelta:t,restSpeed:n,...o}){const i=e[0],r=e[e.length-1],s={done:!1,value:i},{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(!hr(e,pr)&&hr(e,dr)){const n=lr(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(o),h=u?-ti(u):0,m=l/(2*Math.sqrt(a*c)),g=r-i,f=ti(Math.sqrt(a/c)),b=Math.abs(g)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),m<1){const e=ur(f,m);v=t=>{const n=Math.exp(-m*f*t);return r-n*((h+m*f*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}}else if(1===m)v=e=>r-Math.exp(-f*e)*(g+(h+f*g)*e);else{const e=f*Math.sqrt(m*m-1);v=t=>{const n=Math.exp(-m*f*t),o=Math.min(e*t,300);return r-n*((h+m*f*g)*Math.sinh(o)+e*g*Math.cosh(o))/e}}return{calculatedDuration:p&&d||null,next:e=>{const o=v(e);if(p)s.done=e>=d;else{let i=h;0!==e&&(i=m<1?sr(v,e,o):0);const a=Math.abs(i)<=n,l=Math.abs(r-o)<=t;s.done=a&&l}return s.value=s.done?r:o,s}}}function gr({keyframes:e,velocity:t=0,power:n=.8,timeConstant:o=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},h=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let m=n*t;const g=d+m,f=void 0===s?g:s(g);f!==g&&(m=f-d);const b=e=>-m*Math.exp(-e/o),v=e=>f+b(e),y=e=>{const t=b(e),n=v(e);p.done=Math.abs(t)<=c,p.value=p.done?f:n};let x,I;const C=e=>{var t;(t=p.value,void 0!==a&&t<a||void 0!==l&&t>l)&&(x=e,I=mr({keyframes:[p.value,h(p.value)],velocity:sr(v,e,p.value),damping:i,stiffness:r,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return I||void 0!==x||(t=!0,y(e),C(e)),void 0!==x&&e>x?I.next(e-x):(!t&&y(e),p)}}}const fr=e=>{const t=({timestamp:t})=>e(t);return{start:()=>Xo.update(t,!0),stop:()=>Wo(t),now:()=>Vo.isProcessing?Vo.timestamp:performance.now()}};function br(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 vr={decay:gr,inertia:gr,tween:ir,keyframes:ir,spring:mr};function yr({autoplay:e=!0,delay:t=0,driver:n=fr,keyframes:o,type:i="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:a="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let h,m,g=1,f=!1;const b=()=>{h&&h(),m=new Promise(e=>{h=e})};let v;b();const y=vr[i]||ir;let x;y!==ir&&"number"!=typeof o[0]&&(x=nr([0,100],o,{clamp:!1}),o=[0,100]);const I=y({...p,keyframes:o});let C;"mirror"===a&&(C=y({...p,keyframes:[...o].reverse(),velocity:-(p.velocity||0)}));let w="idle",A=null,N=null,G=null;null===I.calculatedDuration&&r&&(I.calculatedDuration=br(I));const{calculatedDuration:k}=I;let P=1/0,V=1/0;null!==k&&(P=k+s,V=P*(r+1)-s);let B=0;const T=e=>{if(null===N)return;g>0&&(N=Math.min(N,e)),B=null!==A?A:(e-N)*g;const n=B-t,i=n<0;B=Math.max(n,0),"finished"===w&&null===A&&(B=V);let l=B,c=I;if(r){const e=B/P;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,r+1);const o=Boolean(t%2);o&&("reverse"===a?(n=1-n,s&&(n-=s/P)):"mirror"===a&&(c=C));let i=In(0,1,n);B>V&&(i="reverse"===a&&o?1:0),l=i*P}const u=i?{done:!1,value:o[0]}:c.next(l);x&&(u.value=x(u.value));let{done:p}=u;i||null===k||(p=B>=V);const h=null===A&&("finished"===w||"running"===w&&p||g<0&&B<=0);return d&&d(u.value),h&&E(),u},S=()=>{v&&v.stop(),v=void 0},R=()=>{w="idle",S(),b(),N=G=null},E=()=>{w="finished",u&&u(),S(),b()},M=()=>{if(f)return;v||(v=n(T));const e=v.now();l&&l(),null!==A?N=e-A:N&&"finished"!==w||(N=e),G=N,A=null,w="running",v.start()};e&&M();const X={then:(e,t)=>m.then(e,t),get time(){return ti(B)},set time(e){e=ei(e),B=e,null===A&&v&&0!==g?N=v.now()-e/g:A=e},get duration(){const e=null===I.calculatedDuration?br(I):I.calculatedDuration;return ti(e)},get speed(){return g},set speed(e){e!==g&&v&&(g=e,X.time=ti(B))},get state(){return w},play:M,pause:()=>{w="paused",A=B},stop:()=>{f=!0,"idle"!==w&&(w="idle",c&&c(),R())},cancel:()=>{null!==G&&T(G),R()},complete:()=>{w="finished"},sample:e=>(N=0,T(e))};return X}const xr=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Ir(e,t,{onUpdate:n,onComplete:o,...i}){if(!(ui.waapi()&&xr.has(t)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type))return!1;let r,s,a=!1;const l=()=>{s=new Promise(e=>{r=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=i;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!ii(t.ease))(t,i)){const e=yr({...i,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 h=function(e,t,n,{delay:o=0,duration:i,repeat:r=0,repeatType:s="loop",ease:a,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=ai(a);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:o,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:r+1,direction:"reverse"===s?"alternate":"normal"})}(e.owner.current,t,c,{...i,duration:u,ease:d,times:p}),m=()=>h.cancel(),g=()=>{Xo.update(m),r(),l()};return h.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,i)),o&&o(),g()},{then:(e,t)=>s.then(e,t),get time(){return ti(h.currentTime||0)},set time(e){h.currentTime=ei(e)},get speed(){return h.playbackRate},set speed(e){h.playbackRate=e},get duration(){return ti(u)},play:()=>{a||(h.play(),Wo(m))},pause:()=>h.pause(),stop:()=>{if(a=!0,"idle"===h.playState)return;const{currentTime:t}=h;if(t){const n=yr({...i,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}g()},complete:()=>h.finish(),cancel:g}}const Cr={type:"spring",stiffness:500,damping:25,restSpeed:10},wr={type:"keyframes",duration:.8},Ar={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Nr=(e,{keyframes:t})=>t.length>2?wr:pn.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Cr:Ar,Gr=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Ji.test(t)&&"0"!==t||t.startsWith("url("))),kr=new Set(["brightness","contrast","saturate","opacity"]);function Pr(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[o]=n.match(Gn)||[];if(!o)return e;const i=n.replace(o,"");let r=kr.has(t)?1:0;return o!==n&&(r*=100),t+"("+r+i+")"}const Vr=/([a-z-]*)\(.*?\)/g,Br={...Ji,getAnimatableNone:e=>{const t=e.match(Vr);return t?t.map(Pr).join(" "):e}},Tr={...Fn,color:Si,backgroundColor:Si,outlineColor:Si,fill:Si,stroke:Si,borderColor:Si,borderTopColor:Si,borderRightColor:Si,borderBottomColor:Si,borderLeftColor:Si,filter:Br,WebkitFilter:Br},Sr=e=>Tr[e];function Rr(e,t){let n=Sr(e);return n!==Br&&(n=Ji),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Er=e=>/^0[^.\s]+$/.test(e);function Mr(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||Er(e):void 0}function Xr(e,t){return e[t]||e.default||e}const Wr=(e,t,n,o={})=>i=>{const r=Xr(o,e)||{},s=r.delay||o.delay||0;let{elapsed:a=0}=o;a-=ei(s);const l=function(e,t,n,o){const i=Gr(t,n);let r;r=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<r.length;e++)null===r[e]&&(r[e]=0===e?s:r[e-1]),Mr(r[e])&&l.push(e),"string"==typeof r[e]&&"none"!==r[e]&&"0"!==r[e]&&(a=r[e]);if(i&&l.length&&a)for(let e=0;e<l.length;e++)r[l[e]]=Rr(t,a);return r}(t,e,n,r),c=l[0],u=l[l.length-1],d=Gr(e,c),p=Gr(e,u);Ko(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 h={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...r,delay:-a,onUpdate:e=>{t.set(e),r.onUpdate&&r.onUpdate(e)},onComplete:()=>{i(),r.onComplete&&r.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:o,staggerDirection:i,repeat:r,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(r)||(h={...h,...Nr(e,h)}),h.duration&&(h.duration=ei(h.duration)),h.repeatDelay&&(h.repeatDelay=ei(h.repeatDelay)),!d||!p||ni||!1===r.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:o}){const i=()=>(n&&n(e[e.length-1]),o&&o(),{time:0,speed:1,duration:0,play:Oo,pause:Oo,stop:Oo,then:e=>(e(),Promise.resolve()),cancel:Oo,complete:Oo});return t?yr({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}(h);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=Ir(t,e,h);if(n)return n}return yr(h)};function Fr(e){return Boolean(mn(e)&&e.add)}const Lr=e=>/^\-?\d*\.?\d+$/.test(e);function Or(e,t){-1===e.indexOf(t)&&e.push(t)}function Zr(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Dr{constructor(){this.subscriptions=[]}add(e){return Or(this.subscriptions,e),()=>Zr(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 i=0;i<o;i++){const o=this.subscriptions[i];o&&o(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const zr=new Set;function Hr(e,t,n){e||zr.has(t)||(console.warn(t),zr.add(t))}class jr{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}=Vo;this.lastUpdated!==o&&(this.timeDelta=n,this.lastUpdated=o,Xo.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=()=>Xo.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&&Hr(!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 Dr);const n=this.events[e].add(t);return"change"===e?()=>{n(),Xo.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?rr(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 Yr(e,t){return new jr(e,t)}const Jr=e=>t=>t.test(e),Ur=[Cn,Rn,Sn,Tn,Mn,En,{test:e=>"auto"===e,parse:e=>e}],$r=e=>Ur.find(Jr(e)),Qr=[...Ur,Si,Ji],_r=e=>Qr.find(Jr(e));function Kr(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Yr(n))}function qr(e,t){if(!t)return;return(t[e]||t.default||t).from}function es({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,o}function ts(e,t,{delay:n=0,transitionOverride:o,type:i}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:s,...a}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");o&&(r=o);const c=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const t in a){const o=e.getValue(t),i=a[t];if(!o||void 0===i||u&&es(u,t))continue;const s={delay:n,elapsed:0,...r};if(window.HandoffAppearAnimations&&!o.hasAnimated){const n=e.getProps()[_o];n&&(s.elapsed=window.HandoffAppearAnimations(n,t,o,Xo))}o.start(Wr(t,o,i,e.shouldReduceMotion&&pn.has(t)?{type:!1}:s));const d=o.animation;Fr(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return s&&Promise.all(c).then(()=>{s&&function(e,t){const n=Qo(e,t);let{transitionEnd:o={},transition:i={},...r}=n?e.makeTargetAnimatable(n,!1):{};r={...r,...o};for(const t in r)Kr(e,t,uo(r[t]))}(e,s)}),c}function ns(e,t,n={}){const o=Qo(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(i=n.transitionOverride);const r=o?()=>Promise.all(ts(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(o=0)=>{const{delayChildren:r=0,staggerChildren:s,staggerDirection:a}=i;return function(e,t,n=0,o=0,i=1,r){const s=[],a=(e.variantChildren.size-1)*o,l=1===i?(e=0)=>e*o:(e=0)=>a-e*o;return Array.from(e.variantChildren).sort(os).forEach((e,o)=>{e.notify("AnimationStart",t),s.push(ns(e,t,{...r,delay:n+l(o)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,r+o,s,a,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[e,t]="beforeChildren"===a?[r,s]:[s,r];return e().then(()=>t())}return Promise.all([r(),s(n.delay)])}function os(e,t){return e.sortNodePosition(t)}const is=[...Jt].reverse(),rs=Jt.length;function ss(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 i=t.map(t=>ns(e,t,n));o=Promise.all(i)}else if("string"==typeof t)o=ns(e,t,n);else{const i="function"==typeof t?Qo(e,t,n.custom):t;o=Promise.all(ts(e,i,n))}return o.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function as(e){let t=ss(e);const n={animate:cs(!0),whileInView:cs(),whileHover:cs(),whileTap:cs(),whileDrag:cs(),whileFocus:cs(),exit:cs()};let o=!0;const i=(t,n)=>{const o=Qo(e,n);if(o){const{transition:e,transitionEnd:n,...i}=o;t={...t,...i,...n}}return t};function r(r,s){const a=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<rs;t++){const h=is[t],m=n[h],g=void 0!==a[h]?a[h]:l[h],f=jt(g),b=h===s?m.isActive:null;!1===b&&(p=t);let v=g===l[h]&&g!==a[h]&&f;if(v&&o&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&null===b||!g&&!m.prevProp||Yt(g)||"boolean"==typeof g)continue;const y=ls(m.prevProp,g);let x=y||h===s&&m.isActive&&!v&&f||t>p&&f;const I=Array.isArray(g)?g:[g];let C=I.reduce(i,{});!1===b&&(C={});const{prevResolvedValues:w={}}=m,A={...w,...C},N=e=>{x=!0,u.delete(e),m.needsAnimating[e]=!0};for(const e in A){const t=C[e],n=w[e];d.hasOwnProperty(e)||(t!==n?co(t)&&co(n)?!$o(t,n)||y?N(e):m.protectedKeys[e]=!0:void 0!==t?N(e):u.add(e):void 0!==t&&u.has(e)?N(e):m.protectedKeys[e]=!0)}m.prevProp=g,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),o&&e.blockInitialAnimation&&(x=!1),x&&!v&&c.push(...I.map(e=>({animation:e,options:{type:h,...r}})))}if(u.size){const t={};u.forEach(n=>{const o=e.getBaseTarget(n);void 0!==o&&(t[n]=o)}),c.push({animation:t})}let h=Boolean(c.length);return o&&!1===a.initial&&!e.manuallyAnimateOnMount&&(h=!1),o=!1,h?t(c):Promise.resolve()}return{animateChanges:r,setActive:function(t,o,i){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=r(i,t);for(const e in n)n[e].protectedKeys={};return a},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function ls(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!$o(t,e)}function cs(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let us=0;const ds={animation:{Feature:class extends Po{constructor(e){super(e),e.animationState||(e.animationState=as(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Yt(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 Po{constructor(){super(...arguments),this.id=us++}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 i=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&i.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},ps=(e,t)=>Math.abs(e-t);class hs{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=fs(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=ps(e.x,t.x),o=ps(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:i}=Vo;this.history.push({...o,timestamp:i});const{onStart:r,onMove:s}=this.handlers;t||(r&&r(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=ms(t,this.transformPagePoint),Xo.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:o}=this.handlers,i=fs("pointercancel"===e.type?this.lastMoveEventInfo:ms(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),o&&o(e,i)},!vo(e))return;this.handlers=t,this.transformPagePoint=n;const o=ms(yo(e),this.transformPagePoint),{point:i}=o,{timestamp:r}=Vo;this.history=[{...i,timestamp:r}];const{onSessionStart:s}=t;s&&s(e,fs(o,this.history)),this.removeListeners=Co(xo(window,"pointermove",this.handlePointerMove),xo(window,"pointerup",this.handlePointerUp),xo(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Wo(this.updatePoint)}}function ms(e,t){return t?{point:t(e.point)}:e}function gs(e,t){return{x:e.x-t.x,y:e.y-t.y}}function fs({point:e},t){return{point:e,delta:gs(e,vs(t)),offset:gs(e,bs(t)),velocity:ys(t,.1)}}function bs(e){return e[0]}function vs(e){return e[e.length-1]}function ys(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const i=vs(e);for(;n>=0&&(o=e[n],!(i.timestamp-o.timestamp>ei(t)));)n--;if(!o)return{x:0,y:0};const r=ti(i.timestamp-o.timestamp);if(0===r)return{x:0,y:0};const s={x:(i.x-o.x)/r,y:(i.y-o.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function xs(e){return e.max-e.min}function Is(e,t=0,n=.01){return Math.abs(e-t)<=n}function Cs(e,t,n,o=.5){e.origin=o,e.originPoint=Ri(t.min,t.max,e.origin),e.scale=xs(n)/xs(t),(Is(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Ri(n.min,n.max,e.origin)-e.originPoint,(Is(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ws(e,t,n,o){Cs(e.x,t.x,n.x,o?o.originX:void 0),Cs(e.y,t.y,n.y,o?o.originY:void 0)}function As(e,t,n){e.min=n.min+t.min,e.max=e.min+xs(t)}function Ns(e,t,n){e.min=t.min-n.min,e.max=e.min+xs(t)}function Gs(e,t,n){Ns(e.x,t.x,n.x),Ns(e.y,t.y,n.y)}function ks(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 Ps(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 Vs=.35;function Bs(e,t,n){return{min:Ts(e,t),max:Ts(e,n)}}function Ts(e,t){return"number"==typeof e?e:e[t]||0}const Ss=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Rs(e){return[e("x"),e("y")]}function Es({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function Ms(e){return void 0===e||1===e}function Xs({scale:e,scaleX:t,scaleY:n}){return!Ms(e)||!Ms(t)||!Ms(n)}function Ws(e){return Xs(e)||Fs(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Fs(e){return Ls(e.x)||Ls(e.y)}function Ls(e){return e&&"0%"!==e}function Os(e,t,n){return n+t*(e-n)}function Zs(e,t,n,o,i){return void 0!==i&&(e=Os(e,i,o)),Os(e,n,o)+t}function Ds(e,t=0,n=1,o,i){e.min=Zs(e.min,t,n,o,i),e.max=Zs(e.max,t,n,o,i)}function zs(e,{x:t,y:n}){Ds(e.x,t.translate,t.scale,t.originPoint),Ds(e.y,n.translate,n.scale,n.originPoint)}function Hs(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function js(e,t){e.min=e.min+t,e.max=e.max+t}function Ys(e,t,[n,o,i]){const r=void 0!==t[i]?t[i]:.5,s=Ri(e.min,e.max,r);Ds(e,t[n],t[o],s,t.scale)}const Js=["x","scaleX","originX"],Us=["y","scaleY","originY"];function $s(e,t){Ys(e.x,t,Js),Ys(e.y,t,Us)}function Qs(e,t){return Es(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 _s=new WeakMap;class Ks{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 hs(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(yo(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:o,onDragStart:i}=this.getProps();if(n&&!o&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Go(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),Rs(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Sn.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const o=n.layout.layoutBox[e];if(o){t=xs(o)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),i&&Xo.update(()=>i(e,t),!1,!0);const{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:o,onDirectionLock:i,onDrag:r}=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&&i&&i(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),r&&r(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:i}=this.getProps();i&&Xo.update(()=>i(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||!qs(e,o,this.currentDirection))return;const i=this.getAxisMotionValue(e);let r=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(r=function(e,{min:t,max:n},o){return void 0!==t&&e<t?e=o?Ri(t,e,o.min):Math.max(e,t):void 0!==n&&e>n&&(e=o?Ri(n,e,o.max):Math.min(e,n)),e}(r,this.constraints[e],this.elastic[e])),i.set(r)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},o=this.constraints;e&&Ht(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:o,right:i}){return{x:ks(e.x,n,i),y:ks(e.y,t,o)}}(n.layoutBox,e),this.elastic=function(e=Vs){return!1===e?e=0:!0===e&&(e=Vs),{x:Bs(e,"left","right"),y:Bs(e,"top","bottom")}}(t),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Rs(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||!Ht(e))return!1;const n=e.current;qo(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 i=function(e,t,n){const o=Qs(e,n),{scroll:i}=t;return i&&(js(o.x,i.offset.x),js(o.y,i.offset.y)),o}(n,o.root,this.visualElement.getTransformPagePoint());let r=function(e,t){return{x:Ps(e.x,t.x),y:Ps(e.y,t.y)}}(o.layout.layoutBox,i);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(r));this.hasMutatedConstraints=!!e,e&&(r=Es(e))}return r}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:o,dragTransition:i,dragSnapToOrigin:r,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=Rs(s=>{if(!qs(s,t,this.currentDirection))return;let l=a&&a[s]||{};r&&(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,...i,...l};return this.startAxisValueAnimation(s,d)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(Wr(e,n,0,t))}stopAnimation(){Rs(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){Rs(t=>{const{drag:n}=this.getProps();if(!qs(t,n,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(t);if(o&&o.layout){const{min:n,max:r}=o.layout.layoutBox[t];i.set(e[t]-Ri(n,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Ht(t)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Rs(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();o[e]=function(e,t){let n=.5;const o=xs(e),i=xs(t);return i>o?n=qi(t.min,t.max-o,e.min):o>i&&(n=qi(e.min,e.max-i,t.min)),In(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Rs(t=>{if(!qs(t,e,null))return;const n=this.getAxisMotionValue(t),{min:i,max:r}=this.constraints[t];n.set(Ri(i,r,o[t]))})}addListeners(){if(!this.visualElement.current)return;_s.set(this.visualElement,this);const e=xo(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();Ht(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 i=bo(window,"resize",()=>this.scalePositionWithinConstraints()),r=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Rs(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{i(),e(),o(),r&&r()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:r=Vs,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:o,dragConstraints:i,dragElastic:r,dragMomentum:s}}}function qs(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const ea=e=>(t,n)=>{e&&Xo.update(()=>e(t,n))};const ta={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function na(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const oa={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Rn.test(e))return e;e=parseFloat(e)}return`${na(e,t.target.x)}% ${na(e,t.target.y)}%`}},ia={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,i=Ji.parse(e);if(i.length>5)return o;const r=Ji.createTransformer(e),s="number"!=typeof i[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=a,i[1+s]/=l;const c=Ri(a,l,.5);return"number"==typeof i[2+s]&&(i[2+s]/=c),"number"==typeof i[3+s]&&(i[3+s]/=c),r(i)}};class ra extends i.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:o}=this.props,{projection:i}=e;var r;r=aa,Object.assign(un,r),i&&(t.group&&t.group.add(i),n&&n.register&&o&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),ta.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:o,isPresent:i}=this.props,r=n.projection;return r?(r.isPresent=i,o||e.layoutDependency!==t||void 0===t?r.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?r.promote():r.relegate()||Xo.postRender(()=>{const e=r.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 sa(e){const[t,n]=function(){const e=h(Ot);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:o}=e,i=f();return l(()=>o(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}(),o=h(tn);return i.createElement(ra,{...e,layoutGroup:o,switchLayoutGroup:h(nn),isPresent:t,safeToRemove:n})}const aa={borderRadius:{...oa,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:oa,borderTopRightRadius:oa,borderBottomLeftRadius:oa,borderBottomRightRadius:oa,boxShadow:ia},la=["TopLeft","TopRight","BottomLeft","BottomRight"],ca=la.length,ua=e=>"string"==typeof e?parseFloat(e):e,da=e=>"number"==typeof e||Rn.test(e);function pa(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const ha=ga(0,.5,yi),ma=ga(.5,.95,Oo);function ga(e,t,n){return o=>o<e?0:o>t?1:n(qi(e,t,o))}function fa(e,t){e.min=t.min,e.max=t.max}function ba(e,t){fa(e.x,t.x),fa(e.y,t.y)}function va(e,t,n,o,i){return e=Os(e-=t,1/n,o),void 0!==i&&(e=Os(e,1/i,o)),e}function ya(e,t,[n,o,i],r,s){!function(e,t=0,n=1,o=.5,i,r=e,s=e){Sn.test(t)&&(t=parseFloat(t),t=Ri(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=Ri(r.min,r.max,o);e===r&&(a-=t),e.min=va(e.min,t,n,a,i),e.max=va(e.max,t,n,a,i)}(e,t[n],t[o],t[i],t.scale,r,s)}const xa=["x","scaleX","originX"],Ia=["y","scaleY","originY"];function Ca(e,t,n,o){ya(e.x,t,xa,n?n.x:void 0,o?o.x:void 0),ya(e.y,t,Ia,n?n.y:void 0,o?o.y:void 0)}function wa(e){return 0===e.translate&&1===e.scale}function Aa(e){return wa(e.x)&&wa(e.y)}function Na(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 Ga(e){return xs(e.x)/xs(e.y)}class ka{constructor(){this.members=[]}add(e){Or(this.members,e),e.scheduleRender()}remove(e){if(Zr(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 Pa(e,t,n){let o="";const i=e.x.translate/t.x,r=e.y.translate/t.y;if((i||r)&&(o=`translate3d(${i}px, ${r}px, 0) `),1===t.x&&1===t.y||(o+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:i}=n;e&&(o+=`rotate(${e}deg) `),t&&(o+=`rotateX(${t}deg) `),i&&(o+=`rotateY(${i}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 Va=(e,t)=>e.depth-t.depth;class Ba{constructor(){this.children=[],this.isDirty=!1}add(e){Or(this.children,e),this.isDirty=!0}remove(e){Zr(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Va),this.isDirty=!1,this.children.forEach(e)}}const Ta=["","X","Y","Z"];let Sa=0;const Ra={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Ea({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:i}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=Sa++,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;Ra.totalNodes=Ra.resolvedTargetDeltas=Ra.recalculatedProjection=0,this.nodes.forEach(Wa),this.nodes.forEach(Ha),this.nodes.forEach(ja),this.nodes.forEach(Fa),e=Ra,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 Ba)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Dr),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:i,layout:r,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(r||i)&&(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:i})=>{const r=i-n;r>=t&&(Wo(o),e(r-t))};return Xo.read(o,!0),()=>Wo(o)}(o,250),ta.hasAnimatedSinceResize&&(ta.hasAnimatedSinceResize=!1,this.nodes.forEach(za))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||r)&&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 i=this.options.transition||s.getDefaultTransition()||_a,{onLayoutAnimationStart:r,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!Na(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={...Xr(i,"layout"),onPlay:r,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||za(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,Wo(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(Ya),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(Oa);this.isUpdating||this.nodes.forEach(Za),this.isUpdating=!1,this.nodes.forEach(Da),this.nodes.forEach(Ma),this.nodes.forEach(Xa),this.clearAllSnapshots();const e=performance.now();Vo.delta=In(0,1e3/60,e-Vo.timestamp),Vo.timestamp=e,Vo.isProcessing=!0,Ro.update.process(Vo),Ro.preRender.process(Vo),Ro.render.process(Vo),Vo.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(La),this.sharedNodes.forEach(Ja)}scheduleUpdateProjection(){Xo.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){Xo.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(!i)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!Aa(this.projectionDelta),n=this.getTransformTemplate(),o=n?n(this.latestValues,""):void 0,r=o!==this.prevTransformTemplateValue;e&&(t||Ws(this.latestValues)||r)&&(i(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)),Ka((o=n).x),Ka(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&&(js(t.x,n.offset.x),js(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};ba(t,e);for(let n=0;n<this.path.length;n++){const o=this.path[n],{scroll:i,options:r}=o;if(o!==this.root&&i&&r.layoutScroll){if(i.isRoot){ba(t,e);const{scroll:n}=this.root;n&&(js(t.x,-n.offset.x),js(t.y,-n.offset.y))}js(t.x,i.offset.x),js(t.y,i.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};ba(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&&$s(n,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),Ws(o.latestValues)&&$s(n,o.latestValues)}return Ws(this.latestValues)&&$s(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};ba(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!Ws(n.latestValues))continue;Xs(n.latestValues)&&n.updateSnapshot();const o=Ss();ba(o,n.measurePageBox()),Ca(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,o)}return Ws(this.latestValues)&&Ca(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!==Vo.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:i,layoutId:r}=this.options;if(this.layout&&(i||r)){if(this.resolvedRelativeTargetAt=Vo.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}},Gs(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),ba(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,As(s.x,a.x,l.x),As(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):ba(this.target,this.layout.layoutBox),zs(this.target,this.targetDelta)):ba(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}},Gs(this.relativeTargetOrigin,this.target,e.target),ba(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Ra.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Xs(this.parent.latestValues)&&!Fs(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===Vo.timestamp&&(o=!1),o)return;const{layout:i,layoutId:r}=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||!i&&!r)return;ba(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,o=!1){const i=n.length;if(!i)return;let r,s;t.x=t.y=1;for(let a=0;a<i;a++){r=n[a],s=r.projectionDelta;const i=r.instance;i&&i.style&&"contents"===i.style.display||(o&&r.options.layoutScroll&&r.scroll&&r!==r.root&&$s(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,zs(e,s)),o&&Ws(r.latestValues)&&$s(e,r.latestValues))}t.x=Hs(t.x),t.y=Hs(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;ws(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=Pa(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===s&&this.treeScale.y===a||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Ra.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:{},i={...this.latestValues},r={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(Qa));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;Ua(r.x,e.x,n),Ua(r.y,e.y,n),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Gs(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,o){$a(e.x,t.x,n.x,o),$a(e.y,t.y,n.y,o)}(this.relativeTarget,this.relativeTargetOrigin,s,n),d&&Na(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),ba(d,this.relativeTarget)),a&&(this.animationValues=i,function(e,t,n,o,i,r){i?(e.opacity=Ri(0,void 0!==n.opacity?n.opacity:1,ha(o)),e.opacityExit=Ri(void 0!==t.opacity?t.opacity:1,0,ma(o))):r&&(e.opacity=Ri(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,o));for(let i=0;i<ca;i++){const r=`border${la[i]}Radius`;let s=pa(t,r),a=pa(n,r);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||da(s)===da(a)?(e[r]=Math.max(Ri(ua(s),ua(a),o),0),(Sn.test(a)||Sn.test(s))&&(e[r]+="%")):e[r]=a)}(t.rotate||n.rotate)&&(e.rotate=Ri(t.rotate||0,n.rotate||0,o))}(i,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&&(Wo(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Xo.update(()=>{ta.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const o=mn(e)?e:Yr(e);return o.start(Wr("",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:i}=e;if(t&&n&&o){if(this!==e&&this.layout&&o&&qa(this.options.animationType,this.layout.layoutBox,o.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=xs(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const o=xs(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+o}ba(t,n),$s(t,i),ws(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new ka);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<Ta.length;t++){const i="rotate"+Ta[t];n[i]&&(o[i]=n[i],e.setStaticValue(i,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 i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,o.opacity="",o.pointerEvents=po(e.pointerEvents)||"",o.transform=i?i(this.latestValues,""):"none",o;const r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=po(e.pointerEvents)||""),this.hasProjected&&!Ws(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}const s=r.animationValues||r.latestValues;this.applyTransformsToTarget(),o.transform=Pa(this.projectionDeltaWithTransform,this.treeScale,s),i&&(o.transform=i(s,o.transform));const{x:a,y:l}=this.projectionDelta;o.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,r.animationValues?o.opacity=r===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=r===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in un){if(void 0===s[e])continue;const{correct:t,applyTo:n}=un[e],i="none"===o.transform?s[e]:t(s[e],r);if(n){const e=n.length;for(let t=0;t<e;t++)o[n[t]]=i}else o[e]=i}return this.options.layoutId&&(o.pointerEvents=r===this?po(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(Oa),this.root.sharedNodes.clear()}}}function Ma(e){e.updateLayout()}function Xa(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:i}=e.options,r=n.source!==e.layout.source;"size"===i?Rs(e=>{const o=r?n.measuredBox[e]:n.layoutBox[e],i=xs(o);o.min=t[e].min,o.max=o.min+i}):qa(i,n.layoutBox,t)&&Rs(o=>{const i=r?n.measuredBox[o]:n.layoutBox[o],s=xs(t[o]);i.max=i.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}};ws(s,t,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};r?ws(a,e.applyTransform(o,!0),n.measuredBox):ws(a,t,n.layoutBox);const l=!Aa(s);let c=!1;if(!e.resumeFrom){const o=e.getClosestProjectingParent();if(o&&!o.resumeFrom){const{snapshot:i,layout:r}=o;if(i&&r){const s={x:{min:0,max:0},y:{min:0,max:0}};Gs(s,n.layoutBox,i.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};Gs(a,t,r.layoutBox),Na(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 Wa(e){Ra.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 Fa(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function La(e){e.clearSnapshot()}function Oa(e){e.clearMeasurements()}function Za(e){e.isLayoutDirty=!1}function Da(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function za(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Ha(e){e.resolveTargetDelta()}function ja(e){e.calcProjection()}function Ya(e){e.resetRotation()}function Ja(e){e.removeLeadSnapshot()}function Ua(e,t,n){e.translate=Ri(t.translate,0,n),e.scale=Ri(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function $a(e,t,n,o){e.min=Ri(t.min,n.min,o),e.max=Ri(t.max,n.max,o)}function Qa(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const _a={duration:.45,ease:[.4,0,.1,1]};function Ka(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function qa(e,t,n){return"position"===e||"preserve-aspect"===e&&!Is(Ga(t),Ga(n),.2)}const el=Ea({attachResizeListener:(e,t)=>bo(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),tl={current:void 0},nl=Ea({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!tl.current){const e=new el({});e.mount(window),e.setOptions({layoutScroll:!0}),tl.current=e}return tl.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),ol={pan:{Feature:class extends Po{constructor(){super(...arguments),this.removePointerDownListener=Oo}onPointerDown(e){this.session=new hs(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:ea(e),onStart:ea(t),onMove:n,onEnd:(e,t)=>{delete this.session,o&&Xo.update(()=>o(e,t))}}}mount(){this.removePointerDownListener=xo(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 Po{constructor(e){super(e),this.removeGroupControls=Oo,this.removeListeners=Oo,this.controls=new Ks(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Oo}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:nl,MeasureLayout:sa}},il=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function rl(e,t,n=1){qo(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[o,i]=function(e){const t=il.exec(e);if(!t)return[,];const[,n,o]=t;return[n,o]}(e);if(!o)return;const r=window.getComputedStyle(t).getPropertyValue(o);return r?r.trim():yn(i)?rl(i,t,n+1):i}const sl=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),al=e=>sl.has(e),ll=e=>e===Cn||e===Rn,cl=(e,t)=>parseFloat(e.split(", ")[t]),ul=(e,t)=>(n,{transform:o})=>{if("none"===o||!o)return 0;const i=o.match(/^matrix3d\((.+)\)$/);if(i)return cl(i[1],t);{const t=o.match(/^matrix\((.+)\)$/);return t?cl(t[1],e):0}},dl=new Set(["x","y","z"]),pl=dn.filter(e=>!dl.has(e));const hl={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:ul(4,13),y:ul(5,14)},ml=(e,t,n={},o={})=>{t={...t},o={...o};const i=Object.keys(t).filter(al);let r=[],s=!1;const a=[];if(i.forEach(i=>{const l=e.getValue(i);if(!e.hasValue(i))return;let c=n[i],u=$r(c);const d=t[i];let p;if(co(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=$r(c);for(let n=t;n<e&&null!==d[n];n++)p?qo($r(d[n])===p,"All keyframes must be of the same type"):(p=$r(d[n]),qo(p===u||ll(u)&&ll(p),"Keyframes must be of the same dimension as the current value"))}else p=$r(d);if(u!==p)if(ll(u)&&ll(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[i]=parseFloat(d):Array.isArray(d)&&p===Rn&&(t[i]=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[i]=u.transform(d):(s||(r=function(e){const t=[];return pl.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(i),o[i]=void 0!==o[i]?o[i]:t[i],l.jump(d))}),a.length){const n=a.indexOf("height")>=0?window.pageYOffset:null,i=((e,t,n)=>{const o=t.measureViewportBox(),i=t.current,r=getComputedStyle(i),{display:s}=r,a={};"none"===s&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{a[e]=hl[e](o,r)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const o=t.getValue(n);o&&o.jump(a[n]),e[n]=hl[n](l,r)}),e})(t,e,a);return r.length&&r.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),Zt&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:o}}return{target:t,transitionEnd:o}};function gl(e,t,n,o){return(e=>Object.keys(e).some(al))(t)?ml(e,t,n,o):{target:t,transitionEnd:o}}const fl=(e,t,n,o)=>{const i=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(!yn(t))return;const n=rl(t,o);n&&e.set(n)});for(const e in t){const i=t[e];if(!yn(i))continue;const r=rl(i,o);r&&(t[e]=r,n||(n={}),void 0===n[e]&&(n[e]=i))}return{target:t,transitionEnd:n}}(e,t,o);return gl(e,t=i.target,n,o=i.transitionEnd)},bl={current:null},vl={current:!1};const yl=new WeakMap,xl=Object.keys(en),Il=xl.length,Cl=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],wl=Ut.length;class Al{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:o,visualState:i},r={}){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=()=>Xo.render(this.render,!1,!0);const{latestValues:s,renderState:a}=i;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=r,this.isControllingVariants=$t(t),this.isVariantNode=Qt(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]&&mn(t)&&(t.set(s[e],!1),Fr(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,yl.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)),vl.current||function(){if(vl.current=!0,Zt)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>bl.current=e.matches;e.addListener(t),t()}else bl.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||bl.current),"production"!==process.env.NODE_ENV&&Hr(!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(){yl.delete(this.current),this.projection&&this.projection.unmount(),Wo(this.notifyUpdate),Wo(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=pn.has(e),o=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&Xo.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{o(),i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,o,i){let r,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?Ko(!1,e):qo(!1,e)}for(let e=0;e<Il;e++){const n=xl[e],{isEnabled:o,Feature:i,ProjectionNode:a,MeasureLayout:l}=en[n];a&&(r=a),o(t)&&(!this.features[n]&&i&&(this.features[n]=new i(this)),l&&(s=l))}if(!this.projection&&r){this.projection=new r(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&&Ht(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:i,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<Cl.length;t++){const n=Cl[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 i in t){const r=t[i],s=n[i];if(mn(r))e.addValue(i,r),Fr(o)&&o.add(i),"development"===process.env.NODE_ENV&&Hr("10.12.16"===r.version,`Attempting to mix Framer Motion versions ${r.version} with 10.12.16 may not work as expected.`);else if(mn(s))e.addValue(i,Yr(r,{owner:e})),Fr(o)&&o.remove(i);else if(s!==r)if(e.hasValue(i)){const t=e.getValue(i);!t.hasAnimated&&t.set(r)}else{const t=e.getStaticValue(i);e.addValue(i,Yr(void 0!==t?t:r,{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<wl;e++){const n=Ut[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=Yr(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=lo(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==o)return o;const i=this.getBaseTargetFromProps(this.props,e);return void 0===i||mn(i)?void 0!==this.initialValues[e]&&void 0===o?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new Dr),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Nl extends Al{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},i){let r=function(e,t,n){const o={};for(const i in e){const e=qr(i,t);if(void 0!==e)o[i]=e;else{const e=n.getValue(i);e&&(o[i]=e.get())}}return o}(n,e||{},this);if(o&&(t&&(t=o(t)),n&&(n=o(n)),r&&(r=o(r))),i){!function(e,t,n){var o,i;const r=Object.keys(t).filter(t=>!e.hasValue(t)),s=r.length;if(s)for(let a=0;a<s;a++){const s=r[a],l=t[s];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(i=null!==(o=n[s])&&void 0!==o?o:e.readValue(s))&&void 0!==i?i:t[s]),null!=c&&("string"==typeof c&&(Lr(c)||Er(c))?c=parseFloat(c):!_r(c)&&Ji.test(l)&&(c=Rr(s,l)),e.addValue(s,Yr(c,{owner:e})),void 0===n[s]&&(n[s]=c),null!==c&&e.setBaseTarget(s,c))}}(this,n,r);const e=fl(this,n,r,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class Gl extends Nl{readValueFromInstance(e,t){if(pn.has(t)){const e=Sr(t);return e&&e.default||0}{const o=(n=e,window.getComputedStyle(n)),i=(vn(t)?o.getPropertyValue(t):o[t])||0;return"string"==typeof i?i.trim():i}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Qs(e,t)}build(e,t,n,o){Ln(e,t,n,o.transformTemplate)}scrapeMotionValuesFromProps(e,t){return so(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;mn(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,o){oo(e,t,n,o)}}class kl extends Nl{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(pn.has(t)){const e=Sr(t);return e&&e.default||0}return t=io.has(t)?t:no(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return ao(e,t)}build(e,t,n,o){_n(e,t,n,this.isSVGTag,o.transformTemplate)}renderInstance(e,t,n,o){ro(e,t,0,o)}mount(e){this.isSVGTag=qn(e.tagName),super.mount(e)}}const Pl=(e,t)=>cn(e)?new kl(t,{enableHardwareAcceleration:!1}):new Gl(t,{enableHardwareAcceleration:!0}),Vl={...ds,...Uo,...ol,...{layout:{ProjectionNode:nl,MeasureLayout:sa}}},Bl=an((e,t)=>function(e,{forwardMotionProps:t=!1},n,o){return{...cn(e)?go:fo,preloadedFeatures:n,useRender:to(t),createVisualElement:o,Component:e}}(e,t,Vl,Pl));function Tl(){return Tl=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},Tl.apply(null,arguments)}function Sl(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 Rl(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function El(...e){return c(Rl(...e),e)}function Ml(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const o=n.reduce((t,{useScope:n,scopeName:o})=>({...t,...n(e)[`__scope${o}`]}),{});return u(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}const Xl=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?p:()=>{},Wl=o["useId".toString()]||(()=>{});let Fl=0;function Ll(e){const[t,n]=o.useState(Wl());return Xl(()=>{n(e=>null!=e?e:String(Fl++))},[e]),e||(t?`radix-${t}`:"")}function Ol(e){const t=s(e);return l(()=>{t.current=e}),u(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function Zl({prop:e,defaultProp:t,onChange:n=()=>{}}){const[o,i]=function({defaultProp:e,onChange:t}){const n=a(e),[o]=n,i=s(o),r=Ol(t);return l(()=>{i.current!==o&&(r(o),i.current=o)},[o,i,r]),n}({defaultProp:t,onChange:n}),r=void 0!==e,u=r?e:o,d=Ol(n);return[u,c(t=>{if(r){const n="function"==typeof t?t(e):t;n!==e&&d(n)}else i(t)},[r,e,i,d])]}const Dl=r((e,t)=>{const{children:n,...o}=e,i=b.toArray(n),r=i.find(jl);if(r){const e=r.props.children,n=i.map(t=>t===r?b.count(e)>1?b.only(null):v(e)?e.props.children:null:t);return g(zl,Tl({},o,{ref:t}),v(e)?y(e,void 0,n):null)}return g(zl,Tl({},o,{ref:t}),n)});Dl.displayName="Slot";const zl=r((e,t)=>{const{children:n,...o}=e;return v(n)?y(n,{...Yl(o,n.props),ref:t?Rl(t,n.ref):n.ref}):b.count(n)>1?b.only(null):null});zl.displayName="SlotClone";const Hl=({children:e})=>g(x,null,e);function jl(e){return v(e)&&e.type===Hl}function Yl(e,t){const n={...t};for(const o in t){const i=e[o],r=t[o];/^on[A-Z]/.test(o)?i&&r?n[o]=(...e)=>{r(...e),i(...e)}:i&&(n[o]=i):"style"===o?n[o]={...i,...r}:"className"===o&&(n[o]=[i,r].filter(Boolean).join(" "))}return{...e,...n}}const Jl=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=r((e,n)=>{const{asChild:o,...i}=e,r=o?Dl:t;return l(()=>{window[Symbol.for("radix-ui")]=!0},[]),g(r,Tl({},i,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});const Ul="dismissableLayer.update",$l="dismissableLayer.pointerDownOutside",Ql="dismissableLayer.focusOutside";let _l;const Kl=d({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ql=r((e,t)=>{var n;const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:i,onPointerDownOutside:r,onFocusOutside:c,onInteractOutside:u,onDismiss:d,...p}=e,m=h(Kl),[f,b]=a(null),v=null!==(n=null==f?void 0:f.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,y]=a({}),x=El(t,e=>b(e)),I=Array.from(m.layers),[C]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),w=I.indexOf(C),A=f?I.indexOf(f):-1,N=m.layersWithOutsidePointerEventsDisabled.size>0,G=A>=w,k=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Ol(e),o=s(!1),i=s(()=>{});return l(()=>{const e=e=>{if(e.target&&!o.current){const r={originalEvent:e};function s(){tc($l,n,r,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=s,t.addEventListener("click",i.current,{once:!0})):s()}else t.removeEventListener("click",i.current);o.current=!1},r=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(r),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}(e=>{const t=e.target,n=[...m.branches].some(e=>e.contains(t));G&&!n&&(null==r||r(e),null==u||u(e),e.defaultPrevented||null==d||d())},v),P=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Ol(e),o=s(!1);return l(()=>{const e=e=>{if(e.target&&!o.current){tc(Ql,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{const t=e.target;[...m.branches].some(e=>e.contains(t))||(null==c||c(e),null==u||u(e),e.defaultPrevented||null==d||d())},v);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Ol(e);l(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{A===m.layers.size-1&&(null==i||i(e),!e.defaultPrevented&&d&&(e.preventDefault(),d()))},v),l(()=>{if(f)return o&&(0===m.layersWithOutsidePointerEventsDisabled.size&&(_l=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(f)),m.layers.add(f),ec(),()=>{o&&1===m.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=_l)}},[f,v,o,m]),l(()=>()=>{f&&(m.layers.delete(f),m.layersWithOutsidePointerEventsDisabled.delete(f),ec())},[f,m]),l(()=>{const e=()=>y({});return document.addEventListener(Ul,e),()=>document.removeEventListener(Ul,e)},[]),g(Jl.div,Tl({},p,{ref:x,style:{pointerEvents:N?G?"auto":"none":void 0,...e.style},onFocusCapture:Sl(e.onFocusCapture,P.onFocusCapture),onBlurCapture:Sl(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:Sl(e.onPointerDownCapture,k.onPointerDownCapture)}))});function ec(){const e=new CustomEvent(Ul);document.dispatchEvent(e)}function tc(e,t,n,{discrete:o}){const i=n.originalEvent.target,r=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?function(e,t){e&&N(()=>e.dispatchEvent(t))}(i,r):i.dispatchEvent(r)}const nc="focusScope.autoFocusOnMount",oc="focusScope.autoFocusOnUnmount",ic={bubbles:!1,cancelable:!0},rc=r((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:i,onUnmountAutoFocus:r,...u}=e,[d,p]=a(null),h=Ol(i),m=Ol(r),f=s(null),b=El(t,e=>p(e)),v=s({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l(()=>{if(o){function e(e){if(v.paused||!d)return;const t=e.target;d.contains(t)?f.current=t:cc(f.current,{select:!0})}function t(e){if(v.paused||!d)return;const t=e.relatedTarget;null!==t&&(d.contains(t)||cc(f.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&cc(d)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const i=new MutationObserver(n);return d&&i.observe(d,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),i.disconnect()}}},[o,d,v.paused]),l(()=>{if(d){uc.add(v);const t=document.activeElement;if(!d.contains(t)){const n=new CustomEvent(nc,ic);d.addEventListener(nc,h),d.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(cc(o,{select:t}),document.activeElement!==n)return}((e=sc(d),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&cc(d))}return()=>{d.removeEventListener(nc,h),setTimeout(()=>{const e=new CustomEvent(oc,ic);d.addEventListener(oc,m),d.dispatchEvent(e),e.defaultPrevented||cc(null!=t?t:document.body,{select:!0}),d.removeEventListener(oc,m),uc.remove(v)},0)}}var e},[d,h,m,v]);const y=c(e=>{if(!n&&!o)return;if(v.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){const t=e.currentTarget,[o,r]=function(e){const t=sc(e),n=ac(t,e),o=ac(t.reverse(),e);return[n,o]}(t);o&&r?e.shiftKey||i!==r?e.shiftKey&&i===o&&(e.preventDefault(),n&&cc(r,{select:!0})):(e.preventDefault(),n&&cc(o,{select:!0})):i===t&&e.preventDefault()}},[n,o,v.paused]);return g(Jl.div,Tl({tabIndex:-1},u,{ref:b,onKeyDown:y}))});function sc(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 ac(e,t){for(const n of e)if(!lc(n,{upTo:t}))return n}function lc(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 cc(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 uc=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=dc(e,t),e.unshift(t)},remove(t){var n;e=dc(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function dc(e,t){const n=[...e],o=n.indexOf(t);return-1!==o&&n.splice(o,1),n}const pc=r((e,t)=>{var n;const{container:o=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...i}=e;return o?A.createPortal(g(Jl.div,Tl({},i,{ref:t})),o):null});const hc=e=>{const{present:t,children:n}=e,o=function(e){const[t,n]=a(),o=s({}),i=s(e),r=s("none"),u=e?"mounted":"unmounted",[d,p]=function(e,t){return I((e,n)=>{const o=t[e][n];return null!=o?o:e},e)}(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l(()=>{const e=mc(o.current);r.current="mounted"===d?e:"none"},[d]),Xl(()=>{const t=o.current,n=i.current;if(n!==e){const o=r.current,s=mc(t);if(e)p("MOUNT");else if("none"===s||"none"===(null==t?void 0:t.display))p("UNMOUNT");else{p(n&&o!==s?"ANIMATION_OUT":"UNMOUNT")}i.current=e}},[e,p]),Xl(()=>{if(t){const e=e=>{const n=mc(o.current).includes(e.animationName);e.target===t&&n&&N(()=>p("ANIMATION_END"))},n=e=>{e.target===t&&(r.current=mc(o.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}p("ANIMATION_END")},[t,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:c(e=>{e&&(o.current=getComputedStyle(e)),n(e)},[])}}(t),i="function"==typeof n?n({present:o.isPresent}):b.only(n),r=El(o.ref,i.ref);return"function"==typeof n||o.isPresent?y(i,{ref:r}):null};function mc(e){return(null==e?void 0:e.animationName)||"none"}hc.displayName="Presence";let gc=0;function fc(){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 bc=function(){return bc=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},bc.apply(this,arguments)};function vc(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 i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]])}return n}"function"==typeof SuppressedError&&SuppressedError;var yc="right-scroll-bar-position",xc="width-before-scroll-bar";function Ic(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var Cc="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,wc=new WeakMap;function Ac(e,t){var n,o,i,r=(n=null,o=function(t){return e.forEach(function(e){return Ic(e,t)})},(i=a(function(){return{value:n,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 Cc(function(){var t=wc.get(r);if(t){var n=new Set(t),o=new Set(e),i=r.current;n.forEach(function(e){o.has(e)||Ic(e,null)}),o.forEach(function(e){n.has(e)||Ic(e,i)})}wc.set(r,e)},[e]),r}function Nc(e){return e}var Gc=function(e){var t=e.sideCar,n=vc(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw new Error("Sidecar medium not found");return o.createElement(i,bc({},n))};Gc.isSideCarExport=!0;var kc=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=Nc);var n=[],o=!1,i={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 i=t(e,o);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},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 i=n;n=[],i.forEach(e),t=n}var r=function(){var n=t;t=[],n.forEach(e)},s=function(){return Promise.resolve().then(r)};s(),n={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),n}}}};return i}(null);return t.options=bc({async:!0,ssr:!1},e),t}(),Pc=function(){},Vc=o.forwardRef(function(e,t){var n=o.useRef(null),i=o.useState({onScrollCapture:Pc,onWheelCapture:Pc,onTouchMoveCapture:Pc}),r=i[0],s=i[1],a=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,h=e.sideCar,m=e.noIsolation,g=e.inert,f=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,y=vc(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=h,I=Ac([n,t]),C=bc(bc({},y),r);return o.createElement(o.Fragment,null,d&&o.createElement(x,{sideCar:kc,removeScrollBar:u,shards:p,noIsolation:m,inert:g,setCallbacks:s,allowPinchZoom:!!f,lockRef:n}),a?o.cloneElement(o.Children.only(l),bc(bc({},C),{ref:I})):o.createElement(v,bc({},C,{className:c,ref:I}),l))});Vc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Vc.classNames={fullWidth:xc,zeroRight:yc};function Bc(){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 Tc=function(){var e=0,t=null;return{add:function(n){var o;0==e&&(t=Bc())&&(!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)}}},Sc=function(){var e,t=(e=Tc(),function(t,n){o.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}},Rc={left:0,top:0,right:0,gap:0},Ec=function(e){return parseInt(e||"",10)||0},Mc=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Rc;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],o=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[Ec(n),Ec(o),Ec(i)]}(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])}},Xc=Sc(),Wc="data-scroll-locked",Fc=function(e,t,n,o){var i=e.left,r=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(Wc,"] {\n overflow: hidden ").concat(o,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(o,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(r,"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(yc," {\n right: ").concat(a,"px ").concat(o,";\n }\n \n .").concat(xc," {\n margin-right: ").concat(a,"px ").concat(o,";\n }\n \n .").concat(yc," .").concat(yc," {\n right: 0 ").concat(o,";\n }\n \n .").concat(xc," .").concat(xc," {\n margin-right: 0 ").concat(o,";\n }\n \n body[").concat(Wc,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},Lc=function(){var e=parseInt(document.body.getAttribute(Wc)||"0",10);return isFinite(e)?e:0},Oc=function(e){var t=e.noRelative,n=e.noImportant,i=e.gapMode,r=void 0===i?"margin":i;o.useEffect(function(){return document.body.setAttribute(Wc,(Lc()+1).toString()),function(){var e=Lc()-1;e<=0?document.body.removeAttribute(Wc):document.body.setAttribute(Wc,e.toString())}},[]);var s=o.useMemo(function(){return Mc(r)},[r]);return o.createElement(Xc,{styles:Fc(s,!t,r,n?"":"!important")})},Zc=!1;if("undefined"!=typeof window)try{var Dc=Object.defineProperty({},"passive",{get:function(){return Zc=!0,!0}});window.addEventListener("test",Dc,Dc),window.removeEventListener("test",Dc,Dc)}catch(e){Zc=!1}var zc=!!Zc&&{passive:!1},Hc=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])},jc=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),Yc(e,n)){var o=Jc(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Yc=function(e,t){return"v"===e?function(e){return Hc(e,"overflowY")}(t):function(e){return Hc(e,"overflowX")}(t)},Jc=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},Uc=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},$c=function(e){return[e.deltaX,e.deltaY]},Qc=function(e){return e&&"current"in e?e.current:e},_c=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Kc=0,qc=[];var eu,tu=(eu=function(e){var t=o.useRef([]),n=o.useRef([0,0]),i=o.useRef(),r=o.useState(Kc++)[0],s=o.useState(function(){return Sc()})[0],a=o.useRef(e);o.useEffect(function(){a.current=e},[e]),o.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,i=0,r=t.length;i<r;i++)!o&&i in t||(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(Qc),!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 l=o.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var o,r=Uc(e),s=n.current,l="deltaX"in e?e.deltaX:s[0]-r[0],c="deltaY"in e?e.deltaY:s[1]-r[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=jc(d,u);if(!p)return!0;if(p?o=d:(o="v"===d?"h":"v",p=jc(d,u)),!p)return!1;if(!i.current&&"changedTouches"in e&&(l||c)&&(i.current=o),!o)return!0;var h=i.current||o;return function(e,t,n,o){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),r=i*o,s=n.target,a=t.contains(s),l=!1,c=r>0,u=0,d=0;do{var p=Jc(e,s),h=p[0],m=p[1]-p[2]-i*h;(h||m)&&Yc(e,s)&&(u+=m,d+=h),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}(h,t,e,"h"===h?l:c)},[]),c=o.useCallback(function(e){var n=e;if(qc.length&&qc[qc.length-1]===s){var o="deltaY"in n?$c(n):Uc(n),i=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,i=o,t[0]===i[0]&&t[1]===i[1]);var t,i})[0];if(i&&i.should)n.cancelable&&n.preventDefault();else if(!i){var r=(a.current.shards||[]).map(Qc).filter(Boolean).filter(function(e){return e.contains(n.target)});(r.length>0?l(n,r[0]):!a.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=o.useCallback(function(e,n,o,i){var r={name:e,delta:n,target:o,should:i};t.current.push(r),setTimeout(function(){t.current=t.current.filter(function(e){return e!==r})},1)},[]),d=o.useCallback(function(e){n.current=Uc(e),i.current=void 0},[]),p=o.useCallback(function(t){u(t.type,$c(t),t.target,l(t,e.lockRef.current))},[]),h=o.useCallback(function(t){u(t.type,Uc(t),t.target,l(t,e.lockRef.current))},[]);o.useEffect(function(){return qc.push(s),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",c,zc),document.addEventListener("touchmove",c,zc),document.addEventListener("touchstart",d,zc),function(){qc=qc.filter(function(e){return e!==s}),document.removeEventListener("wheel",c,zc),document.removeEventListener("touchmove",c,zc),document.removeEventListener("touchstart",d,zc)}},[]);var m=e.removeScrollBar,g=e.inert;return o.createElement(o.Fragment,null,g?o.createElement(s,{styles:_c(r)}):null,m?o.createElement(Oc,{gapMode:"margin"}):null)},kc.useMedium(eu),Gc),nu=o.forwardRef(function(e,t){return o.createElement(Vc,bc({},e,{ref:t,sideCar:tu}))});nu.classNames=Vc.classNames;var ou=new WeakMap,iu=new WeakMap,ru={},su=0,au=function(e){return e&&(e.host||au(e.parentNode))},lu=function(e,t,n,o){var i=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=au(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]);ru[n]||(ru[n]=new WeakMap);var r=ru[n],s=[],a=new Set,l=new Set(i),c=function(e){e&&!a.has(e)&&(a.add(e),c(e.parentNode))};i.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),i=null!==t&&"false"!==t,l=(ou.get(e)||0)+1,c=(r.get(e)||0)+1;ou.set(e,l),r.set(e,c),s.push(e),1===l&&i&&iu.set(e,!0),1===c&&e.setAttribute(n,"true"),i||e.setAttribute(o,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),a.clear(),su++,function(){s.forEach(function(e){var t=ou.get(e)-1,i=r.get(e)-1;ou.set(e,t),r.set(e,i),t||(iu.has(e)||e.removeAttribute(o),iu.delete(e)),i||e.removeAttribute(n)}),--su||(ou=new WeakMap,ou=new WeakMap,iu=new WeakMap,ru={})}},cu=function(e,t,n){void 0===n&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),i=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return i?(o.push.apply(o,Array.from(i.querySelectorAll("[aria-live], script"))),lu(o,i,n,"aria-hidden")):function(){return null}};const uu="Dialog",[du,pu]=function(e,t=[]){let n=[];const o=()=>{const t=n.map(e=>d(e));return function(n){const o=(null==n?void 0:n[e])||t;return u(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return o.scopeName=e,[function(t,o){const i=d(o),r=n.length;function s(t){const{scope:n,children:o,...s}=t,a=(null==n?void 0:n[e][r])||i,l=u(()=>s,Object.values(s));return g(a.Provider,{value:l},o)}return n=[...n,o],s.displayName=t+"Provider",[s,function(n,s){const a=(null==s?void 0:s[e][r])||i,l=h(a);if(l)return l;if(void 0!==o)return o;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},Ml(o,...t)]}(uu),[hu,mu]=du(uu),gu="DialogPortal",[fu,bu]=du(gu,{forceMount:void 0}),vu="DialogOverlay",yu=r((e,t)=>{const n=bu(vu,e.__scopeDialog),{forceMount:o=n.forceMount,...i}=e,r=mu(vu,e.__scopeDialog);return r.modal?g(hc,{present:o||r.open},g(xu,Tl({},i,{ref:t}))):null}),xu=r((e,t)=>{const{__scopeDialog:n,...o}=e,i=mu(vu,n);return g(nu,{as:Dl,allowPinchZoom:!0,shards:[i.contentRef]},g(Jl.div,Tl({"data-state":Vu(i.open)},o,{ref:t,style:{pointerEvents:"auto",...o.style}})))}),Iu="DialogContent",Cu=r((e,t)=>{const n=bu(Iu,e.__scopeDialog),{forceMount:o=n.forceMount,...i}=e,r=mu(Iu,e.__scopeDialog);return g(hc,{present:o||r.open},r.modal?g(wu,Tl({},i,{ref:t})):g(Au,Tl({},i,{ref:t})))}),wu=r((e,t)=>{const n=mu(Iu,e.__scopeDialog),o=s(null),i=El(t,n.contentRef,o);return l(()=>{const e=o.current;if(e)return cu(e)},[]),g(Nu,Tl({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Sl(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:Sl(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:Sl(e.onFocusOutside,e=>e.preventDefault())}))}),Au=r((e,t)=>{const n=mu(Iu,e.__scopeDialog),o=s(!1),i=s(!1);return g(Nu,Tl({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,s;(null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented)||(o.current||null===(s=n.triggerRef.current)||void 0===s||s.focus(),t.preventDefault());o.current=!1,i.current=!1},onInteractOutside:t=>{var r,s;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));const a=t.target;(null===(s=n.triggerRef.current)||void 0===s?void 0:s.contains(a))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}}))}),Nu=r((e,t)=>{const{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:r,...a}=e,c=mu(Iu,n),u=El(t,s(null));return l(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:fc()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:fc()),gc++,()=>{1===gc&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),gc--}},[]),g(x,null,g(rc,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:r},g(ql,Tl({role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":Vu(c.open)},a,{ref:u,onDismiss:()=>c.onOpenChange(!1)}))),!1)}),Gu="DialogTitle",ku="DialogClose",Pu=r((e,t)=>{const{__scopeDialog:n,...o}=e,i=mu(ku,n);return g(Jl.button,Tl({type:"button"},o,{ref:t,onClick:Sl(e.onClick,()=>i.onOpenChange(!1))}))});function Vu(e){return e?"open":"closed"}!function(e,t){const n=d(t);function o(e){const{children:t,...o}=e,i=u(()=>o,Object.values(o));return g(n.Provider,{value:i},t)}o.displayName=e+"Provider"}("DialogTitleWarning",{contentName:Iu,titleName:Gu,docsSlug:"dialog"});const Bu=e=>{const{__scopeDialog:t,children:n,open:o,defaultOpen:i,onOpenChange:r,modal:a=!0}=e,l=s(null),u=s(null),[d=!1,p]=Zl({prop:o,defaultProp:i,onChange:r});return g(hu,{scope:t,triggerRef:l,contentRef:u,contentId:Ll(),titleId:Ll(),descriptionId:Ll(),open:d,onOpenChange:p,onOpenToggle:c(()=>p(e=>!e),[p]),modal:a},n)},Tu=e=>{const{__scopeDialog:t,forceMount:n,children:o,container:i}=e,r=mu(gu,t);return g(fu,{scope:t,forceMount:n},b.map(o,e=>g(hc,{present:n||r.open},g(pc,{asChild:!0,container:i},e))))},Su=yu,Ru=Cu,Eu=Pu,Mu=n=>{const{isOpen:o,onRequestClose:i,size:r,title:s,content:a,description:l,children:c,bodyClassName:u}=n;return e(Bu,{open:o,onOpenChange:()=>o&&(null==i?void 0:i()),children:t(Tu,{children:[e(Bl.div,{initial:"closed",animate:o?"open":"closed",variants:Mt,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e(Su,{})}),e(Bl.div,{initial:"closed",animate:o?"open":"closed",variants:Xt,transition:{type:"tween",duration:.3,ease:"easeInOut"},className:"fixed left-1/2 top-1/2 z-[1001] w-auto -translate-x-1/2 -translate-y-1/2 focus:outline-none",children:t(Ru,{className:He("fixed left-[50%] top-[50%] w-[90vw] translate-x-[-50%] translate-y-[-50%] rounded-[6px] bg-bg p-[25px] shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px] focus:outline-none",u),style:{maxWidth:Wt[r||"lg"]},children:[e(Eu,{asChild:!0,children:e(et,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e(Je,{name:"close"})})}),t("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[s?e($e,{className:He("mx-auto mb-3 mt-5 text-center","heading5 md:max-w-[80%] md:pt-0","mb-5 md:mb-[60px]"),as:"h2",children:s}):null,l?e($e,{as:"div",children:l}):null,a,c||null]})]})})]})})},Xu=({children:n,background:o,className:i,fill:r="yellow",maxFit:s,show:a=!0,path:l="path2"})=>{const c=`${l}`,u={blue:"text-[#07B2E2]",green:"text-[#26B170]",yellow:"text-[#F5FF1E]",purple:"text-[#931D69]",white:"text-white",navy:"text-[#00002D]"},d={blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"},p="string"==typeof o&&o in d,h=p?d[o]:void 0,m=o&&!p?{background:o}:void 0,g=r in u?u[r]:"text-[#F5FF1E]";return a?t("div",{className:`shape-bg relative overflow-hidden ${null!=i?i:""} ${s?"max-content":""} ${null!=h?h:m?"":"bg-white"}`,style:m,children:["path1"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${c} fill-current ${g}`,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("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"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${c} fill-current ${g}`,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("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"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${c} fill-current ${g}`,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("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"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${c} fill-current ${g}`,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("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("div",{className:"shape-bg-content relative z-[1]",children:n})]}):e("div",{className:i,style:m,children:n})},Wu=({title:n,background:o="white",button:i,color:r,contentAlignment:s,description:a,descriptionAlignment:l,enableHeading:c,subTitle:u,maxWidth:d=!0,onModalButtonClick:p,renderCheckPlans:h})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[o]} component-container`,children:t("div",{className:`${d?"mx-auto max-w-120":""} color-${r} flex flex-col ${"dark"==r?"text-text":"text-white"} px-5 py-16 lg:px-13 lg:py-24`,children:[e($e,{as:c?"h1":"h2",className:`heading2 lg:heading1 text-${s}`,children:n}),e($e,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${s}`,children:u}),e("div",{className:`pt-2 text-body1 lg:pt-3 text-${l}`,children:a}),e("div",{className:"flex justify-center pt-5 lg:pt-14",children:e(et,{...i,renderCheckPlans:h,onModalButtonClick:p})})]})}),Fu=({background:o="white",description:i,enableHeading:r,image:s,list:a=[],subTitle:l,title:c,color:u="dark",maxWidth:d=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[o]} component-container overflow-hidden ${"dark"==u?"text-text":"text-white"}`,children:t("div",{className:(d?"max-w-120 xl:mx-auto":"")+" mx-5 mb-5 mt-12 xl:my-20",children:[c&&e($e,{as:r?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:c}),l&&e($e,{as:r?"h2":"h3",className:"heading3 mt-4 text-center",children:l}),t("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[t("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[i&&e($e,{as:"p",className:"body1",children:i}),a.length>0&&t(n,{children:[e("ul",{className:"grid w-full grid-cols-2 gap-x-8 gap-y-4 md:hidden",children:(()=>{const t=[...a].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),o=[];for(let e=0;e<n;e++)for(let i=0;i<2;i++){const r=i*n+e;r<t.length&&o.push(t[r])}return o.map((t,n)=>e("li",{children:e(qe,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e("ul",{className:"hidden gap-x-8 gap-y-4 md:grid md:grid-cols-3",children:(()=>{const t=[...a].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),o=[];for(let e=0;e<n;e++)for(let i=0;i<3;i++){const r=i*n+e;r<t.length&&o.push(t[r])}return o.map((t,n)=>e("li",{children:e(qe,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),s&&e("aside",{className:"hidden xl:block",children:e(nt,{width:472,height:100,src:s,alt:"image"})})]})]})}),Lu=({title:n,disclaimer:o,table:i,maxWidth:r=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 mb-5 mt-8 lg:mt-10 "+(r?"max-w-120 xl:mx-auto":""),children:[e($e,{as:"h2",className:"heading2 lg:heading1 lg:text-center",children:n}),e("div",{className:"comparison-table-container mt-20 xl:mt-10",children:i}),e($e,{as:"div",className:"micro mt-8 text-center",children:o})]})}),Ou=({href:o,title:i,description:r,date:s,category:a,image:l,readMoreText:c="Read more"})=>t("article",{className:"flex flex-col overflow-hidden rounded-xl bg-white shadow-[0_1px_4px_rgba(0,0,0,0.08),0_4px_16px_rgba(0,0,0,0.06)] transition-all duration-200 hover:-translate-y-0.5 hover:shadow-[0_4px_12px_rgba(0,0,0,0.12),0_8px_24px_rgba(0,0,0,0.10)]",children:[e(k,{href:o,tabIndex:-1,"aria-hidden":"true",className:"block",children:e("div",{className:"aspect-video w-full flex-shrink-0 overflow-hidden bg-gray-100",children:l?e(w,{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("div",{className:"h-full w-full bg-gradient-to-br from-gray-200 to-gray-100","aria-hidden":"true"})})}),t("div",{className:"flex flex-1 flex-col gap-5 p-5 pb-6",children:[t("div",{className:"flex items-center gap-2 text-[13px]",children:[e("span",{className:"text-body2 font-semibold text-text-brand",children:a}),s&&t(n,{children:[e("span",{className:"text-xs text-text","aria-hidden":"true",children:"•"}),e("time",{className:"text-body2 text-text",children:s})]})]}),i&&e(k,{href:o,className:"m-0 line-clamp-3 text-heading6 font-black transition-colors duration-150 hover:text-text-brand",children:i}),r&&e($e,{className:"m-0 line-clamp-3 flex-1 text-body1",children:r}),e(k,{href:o,className:"group mt-auto inline-flex justify-between pt-3 text-sm text-text-brand no-underline transition-all duration-200 hover:gap-2.5 hover:text-[#007ab8]","aria-label":`${c} about ${i||"this article"}`,children:t(je,{"aria-label":`${c} about ${i||"this article"}`,className:"flex w-36 justify-around text-nowrap text-label1 font-black",children:[c,e(Je,{name:"expand_circle_right",fill:0,size:24,weight:"600"})]})})]})]}),Zu=({currentPage:n,totalPages:o,onPageChange:i,ariaLabel:r="Pagination"})=>{const s=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),i=Math.min(t-1,e+1);for(let e=o;e<=i;e++)n.push(e);e<t-2&&n.push("...");return n.push(t),n}(n,o),a="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 t("nav",{className:"flex items-center justify-center gap-1 px-6 pb-12","aria-label":r,children:[e(je,{className:a,onClick:()=>i(n-1),disabled:1===n,"aria-label":"Go to previous page",children:e(Je,{name:"chevron_left",size:32,"aria-hidden":"true"})}),s.map((t,o)=>"..."===t?e("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(je,{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 "+(t===n?"bg-bg-surface-active font-bold hover:bg-bg-gray-300":""),onClick:()=>i(t),"aria-label":`Go to page ${t}`,"aria-current":t===n?"page":void 0,children:t},t)),e(je,{className:a,onClick:()=>i(n+1),disabled:n===o,"aria-label":"Go to next page",children:e(Je,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function Du(e){return Du="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},Du(e)}function zu(e){var t=function(e,t){if("object"!=Du(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Du(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Du(t)?t:t+""}function Hu(e,t,n){return(t=zu(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ju(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 Yu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ju(Object(n),!0).forEach(function(t){Hu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ju(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ju(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 Uu(e,t){if(e){if("string"==typeof e)return Ju(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)?Ju(e,t):void 0}}function $u(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,i,r,s,a=[],l=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=r.call(n)).done)&&(a.push(o.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||Uu(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 Qu(e,t){if(null==e)return{};var n,o,i=function(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}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o<r.length;o++)n=r[o],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var _u=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Ku(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,zu(o.key),o)}}function qu(e,t){return qu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qu(e,t)}function ed(e){return ed=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ed(e)}function td(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(td=function(){return!!e})()}function nd(e,t){if(t&&("object"==Du(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 od(e){return function(e){if(Array.isArray(e))return Ju(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Uu(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 id=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}(),rd="-ms-",sd="-moz-",ad="-webkit-",ld="comm",cd="rule",ud="decl",dd="@keyframes",pd=Math.abs,hd=String.fromCharCode,md=Object.assign;function gd(e){return e.trim()}function fd(e,t,n){return e.replace(t,n)}function bd(e,t){return e.indexOf(t)}function vd(e,t){return 0|e.charCodeAt(t)}function yd(e,t,n){return e.slice(t,n)}function xd(e){return e.length}function Id(e){return e.length}function Cd(e,t){return t.push(e),e}var wd=1,Ad=1,Nd=0,Gd=0,kd=0,Pd="";function Vd(e,t,n,o,i,r,s){return{value:e,root:t,parent:n,type:o,props:i,children:r,line:wd,column:Ad,length:s,return:""}}function Bd(e,t){return md(Vd("",null,null,"",null,null,0),e,{length:-e.length},t)}function Td(){return kd=Gd>0?vd(Pd,--Gd):0,Ad--,10===kd&&(Ad=1,wd--),kd}function Sd(){return kd=Gd<Nd?vd(Pd,Gd++):0,Ad++,10===kd&&(Ad=1,wd++),kd}function Rd(){return vd(Pd,Gd)}function Ed(){return Gd}function Md(e,t){return yd(Pd,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 Wd(e){return wd=Ad=1,Nd=xd(Pd=e),Gd=0,[]}function Fd(e){return Pd="",e}function Ld(e){return gd(Md(Gd-1,Dd(91===e?e+2:40===e?e+1:e)))}function Od(e){for(;(kd=Rd())&&kd<33;)Sd();return Xd(e)>2||Xd(kd)>3?"":" "}function Zd(e,t){for(;--t&&Sd()&&!(kd<48||kd>102||kd>57&&kd<65||kd>70&&kd<97););return Md(e,Ed()+(t<6&&32==Rd()&&32==Sd()))}function Dd(e){for(;Sd();)switch(kd){case e:return Gd;case 34:case 39:34!==e&&39!==e&&Dd(kd);break;case 40:41===e&&Dd(e);break;case 92:Sd()}return Gd}function zd(e,t){for(;Sd()&&e+kd!==57&&(e+kd!==84||47!==Rd()););return"/*"+Md(t,Gd-1)+"*"+hd(47===e?e:Sd())}function Hd(e){for(;!Xd(Rd());)Sd();return Md(e,Gd)}function jd(e){return Fd(Yd("",null,null,null,[""],e=Wd(e),0,[0],e))}function Yd(e,t,n,o,i,r,s,a,l){for(var c=0,u=0,d=s,p=0,h=0,m=0,g=1,f=1,b=1,v=0,y="",x=i,I=r,C=o,w=y;f;)switch(m=v,v=Sd()){case 40:if(108!=m&&58==vd(w,d-1)){-1!=bd(w+=fd(Ld(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=Ld(v);break;case 9:case 10:case 13:case 32:w+=Od(m);break;case 92:w+=Zd(Ed()-1,7);continue;case 47:switch(Rd()){case 42:case 47:Cd(Ud(zd(Sd(),Ed()),t,n),l);break;default:w+="/"}break;case 123*g:a[c++]=xd(w)*b;case 125*g:case 59:case 0:switch(v){case 0:case 125:f=0;case 59+u:-1==b&&(w=fd(w,/\f/g,"")),h>0&&xd(w)-d&&Cd(h>32?$d(w+";",o,n,d-1):$d(fd(w," ","")+";",o,n,d-2),l);break;case 59:w+=";";default:if(Cd(C=Jd(w,t,n,c,u,i,a,y,x=[],I=[],d),r),123===v)if(0===u)Yd(w,t,C,C,x,r,d,a,I);else switch(99===p&&110===vd(w,3)?100:p){case 100:case 108:case 109:case 115:Yd(e,C,C,o&&Cd(Jd(e,C,C,0,0,i,a,y,i,x=[],d),I),i,I,d,a,o?x:I);break;default:Yd(w,C,C,C,[""],I,0,a,I)}}c=u=h=0,g=b=1,y=w="",d=s;break;case 58:d=1+xd(w),h=m;default:if(g<1)if(123==v)--g;else if(125==v&&0==g++&&125==Td())continue;switch(w+=hd(v),v*g){case 38:b=u>0?1:(w+="\f",-1);break;case 44:a[c++]=(xd(w)-1)*b,b=1;break;case 64:45===Rd()&&(w+=Ld(Sd())),p=Rd(),u=d=xd(y=w+=Hd(Ed())),v++;break;case 45:45===m&&2==xd(w)&&(g=0)}}return r}function Jd(e,t,n,o,i,r,s,a,l,c,u){for(var d=i-1,p=0===i?r:[""],h=Id(p),m=0,g=0,f=0;m<o;++m)for(var b=0,v=yd(e,d+1,d=pd(g=s[m])),y=e;b<h;++b)(y=gd(g>0?p[b]+" "+v:fd(v,/&\f/g,p[b])))&&(l[f++]=y);return Vd(e,t,n,0===i?cd:a,l,c,u)}function Ud(e,t,n){return Vd(e,t,n,ld,hd(kd),yd(e,2,-2),0)}function $d(e,t,n,o){return Vd(e,t,n,ud,yd(e,0,o),yd(e,o+1,-1),o)}function Qd(e,t){for(var n="",o=Id(e),i=0;i<o;i++)n+=t(e[i],i,e,t)||"";return n}function _d(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case ud:return e.return=e.return||e.value;case ld:return"";case dd:return e.return=e.value+"{"+Qd(e.children,o)+"}";case cd:e.value=e.props.join(",")}return xd(n=Qd(e.children,o))?e.return=e.value+"{"+n+"}":""}function Kd(e){var t=Id(e);return function(n,o,i,r){for(var s="",a=0;a<t;a++)s+=e[a](n,o,i,r)||"";return s}}var qd="undefined"!=typeof document,ep=function(e,t,n){for(var o=0,i=0;o=i,i=Rd(),38===o&&12===i&&(t[n]=1),!Xd(i);)Sd();return Md(e,Gd)},tp=function(e,t){return Fd(function(e,t){var n=-1,o=44;do{switch(Xd(o)){case 0:38===o&&12===Rd()&&(t[n]=1),e[n]+=ep(Gd-1,t,n);break;case 2:e[n]+=Ld(o);break;case 4:if(44===o){e[++n]=58===Rd()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=hd(o)}}while(o=Sd());return e}(Wd(e),t))},np=new WeakMap,op=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)||np.get(n))&&!o){np.set(e,!0);for(var i=[],r=tp(t,i),s=n.props,a=0,l=0;a<r.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=i[a]?r[a].replace(/&\f/g,s[c]):s[c]+" "+r[a]}}},ip=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function rp(e,t){switch(function(e,t){return 45^vd(e,0)?(((t<<2^vd(e,0))<<2^vd(e,1))<<2^vd(e,2))<<2^vd(e,3):0}(e,t)){case 5103:return ad+"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 ad+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ad+e+sd+e+rd+e+e;case 6828:case 4268:return ad+e+rd+e+e;case 6165:return ad+e+rd+"flex-"+e+e;case 5187:return ad+e+fd(e,/(\w+).+(:[^]+)/,ad+"box-$1$2"+rd+"flex-$1$2")+e;case 5443:return ad+e+rd+"flex-item-"+fd(e,/flex-|-self/,"")+e;case 4675:return ad+e+rd+"flex-line-pack"+fd(e,/align-content|flex-|-self/,"")+e;case 5548:return ad+e+rd+fd(e,"shrink","negative")+e;case 5292:return ad+e+rd+fd(e,"basis","preferred-size")+e;case 6060:return ad+"box-"+fd(e,"-grow","")+ad+e+rd+fd(e,"grow","positive")+e;case 4554:return ad+fd(e,/([^-])(transform)/g,"$1"+ad+"$2")+e;case 6187:return fd(fd(fd(e,/(zoom-|grab)/,ad+"$1"),/(image-set)/,ad+"$1"),e,"")+e;case 5495:case 3959:return fd(e,/(image-set\([^]*)/,ad+"$1$`$1");case 4968:return fd(fd(e,/(.+:)(flex-)?(.*)/,ad+"box-pack:$3"+rd+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ad+e+e;case 4095:case 3583:case 4068:case 2532:return fd(e,/(.+)-inline(.+)/,ad+"$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(xd(e)-1-t>6)switch(vd(e,t+1)){case 109:if(45!==vd(e,t+4))break;case 102:return fd(e,/(.+:)(.+)-([^]+)/,"$1"+ad+"$2-$3$1"+sd+(108==vd(e,t+3)?"$3":"$2-$3"))+e;case 115:return~bd(e,"stretch")?rp(fd(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==vd(e,t+1))break;case 6444:switch(vd(e,xd(e)-3-(~bd(e,"!important")&&10))){case 107:return fd(e,":",":"+ad)+e;case 101:return fd(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ad+(45===vd(e,14)?"inline-":"")+"box$3$1"+ad+"$2$3$1"+rd+"$2box$3")+e}break;case 5936:switch(vd(e,t+11)){case 114:return ad+e+rd+fd(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ad+e+rd+fd(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ad+e+rd+fd(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ad+e+rd+e+e}return e}var sp,ap,lp,cp=qd?void 0:(sp=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},ap=new WeakMap,function(e){if(ap.has(e))return ap.get(e);var t=sp(e);return ap.set(e,t),t}),up=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case ud:e.return=rp(e.value,e.length);break;case dd:return Qd([Bd(e,{value:fd(e.value,"@","@"+ad)})],o);case cd: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 Qd([Bd(e,{props:[fd(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return Qd([Bd(e,{props:[fd(t,/:(plac\w+)/,":"+ad+"input-$1")]}),Bd(e,{props:[fd(t,/:(plac\w+)/,":-moz-$1")]}),Bd(e,{props:[fd(t,/:(plac\w+)/,rd+"input-$1")]})],o)}return""})}}],dp=function(e){var t=e.key;if(qd&&"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,i,r=e.stylisPlugins||up,s={},a=[];qd&&(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=[op,ip];if(cp){var u=[_d],d=Kd(c.concat(r,u)),p=cp(r)(t),h=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=Qd(jd(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};i=function(e,t,n,o){var i=t.name,r=h(e,t);return void 0===b.compat?(o&&(b.inserted[i]=!0),r):o?void(b.inserted[i]=r):r}}else{var m,g=[_d,(l=function(e){m.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],f=Kd(c.concat(r,g));i=function(e,t,n,o){m=n,Qd(jd(e?e+"{"+t.styles+"}":t.styles),f),o&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new id({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return b.sheet.hydrate(a),b},pp={exports:{}},hp={};var mp,gp,fp,bp,vp={};
|
|
4
|
+
/** @license React v16.13.1
|
|
5
|
+
* react-is.development.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/function yp(){return gp||(gp=1,"production"===process.env.NODE_ENV?pp.exports=function(){if(lp)return hp;lp=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,i=e?Symbol.for("react.strict_mode"):60108,r=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,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case o:case r:case i:case d:return e;default:switch(e=e&&e.$$typeof){case a:case u:case m:case h:case s:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return hp.AsyncMode=l,hp.ConcurrentMode=c,hp.ContextConsumer=a,hp.ContextProvider=s,hp.Element=t,hp.ForwardRef=u,hp.Fragment=o,hp.Lazy=m,hp.Memo=h,hp.Portal=n,hp.Profiler=r,hp.StrictMode=i,hp.Suspense=d,hp.isAsyncMode=function(e){return x(e)||y(e)===l},hp.isConcurrentMode=x,hp.isContextConsumer=function(e){return y(e)===a},hp.isContextProvider=function(e){return y(e)===s},hp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},hp.isForwardRef=function(e){return y(e)===u},hp.isFragment=function(e){return y(e)===o},hp.isLazy=function(e){return y(e)===m},hp.isMemo=function(e){return y(e)===h},hp.isPortal=function(e){return y(e)===n},hp.isProfiler=function(e){return y(e)===r},hp.isStrictMode=function(e){return y(e)===i},hp.isSuspense=function(e){return y(e)===d},hp.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===r||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===g)},hp.typeOf=y,hp}():pp.exports=(mp||(mp=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,i=e?Symbol.for("react.strict_mode"):60108,r=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,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var g=e.type;switch(g){case l:case c:case o:case r:case i:case d:return g;default:var f=g&&g.$$typeof;switch(f){case a:case u:case m:case h:case s:return f;default:return p}}case n:return p}}}var x=l,I=c,C=a,w=s,A=t,N=u,G=o,k=m,P=h,V=n,B=r,T=i,S=d,R=!1;function E(e){return y(e)===c}vp.AsyncMode=x,vp.ConcurrentMode=I,vp.ContextConsumer=C,vp.ContextProvider=w,vp.Element=A,vp.ForwardRef=N,vp.Fragment=G,vp.Lazy=k,vp.Memo=P,vp.Portal=V,vp.Profiler=B,vp.StrictMode=T,vp.Suspense=S,vp.isAsyncMode=function(e){return R||(R=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),E(e)||y(e)===l},vp.isConcurrentMode=E,vp.isContextConsumer=function(e){return y(e)===a},vp.isContextProvider=function(e){return y(e)===s},vp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},vp.isForwardRef=function(e){return y(e)===u},vp.isFragment=function(e){return y(e)===o},vp.isLazy=function(e){return y(e)===m},vp.isMemo=function(e){return y(e)===h},vp.isPortal=function(e){return y(e)===n},vp.isProfiler=function(e){return y(e)===r},vp.isStrictMode=function(e){return y(e)===i},vp.isSuspense=function(e){return y(e)===d},vp.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===r||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===g)},vp.typeOf=y}()),vp)),pp.exports}!function(){if(bp)return fp;bp=1;var e=yp(),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},i={};function r(n){return e.isMemo(n)?o:i[n.$$typeof]||t}i[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[e.Memo]=o;var s=Object.defineProperty,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;fp=function e(t,o,i){if("string"!=typeof o){if(d){var p=u(o);p&&p!==d&&e(t,p,i)}var h=a(o);l&&(h=h.concat(l(o)));for(var m=r(t),g=r(o),f=0;f<h.length;++f){var b=h[f];if(!(n[b]||i&&i[b]||g&&g[b]||m&&m[b])){var v=c(o,b);try{s(t,b,v)}catch(e){}}}}return t}}();var xp="undefined"!=typeof document;var Ip=function(e,t,n){var o=e.key+"-"+t.name;(!1===n||!1===xp&&void 0!==e.compat)&&void 0===e.registered[o]&&(e.registered[o]=t.styles)};var Cp={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 wp(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,Np=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Gp=function(e){return 45===e.charCodeAt(1)},kp=function(e){return null!=e&&"boolean"!=typeof e},Pp=wp(function(e){return Gp(e)?e:e.replace(Ap,"-$&").toLowerCase()}),Vp=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Np,function(e,t,n){return Tp={name:t,styles:n,next:Tp},t})}return 1===Cp[e]||Gp(e)||"number"!=typeof t||0===t?t:t+"px"};function Bp(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 i=n;if(1===i.anim)return Tp={name:i.name,styles:i.styles,next:Tp},i.name;var r=n;if(void 0!==r.styles){var s=r.next;if(void 0!==s)for(;void 0!==s;)Tp={name:s.name,styles:s.styles,next:Tp},s=s.next;return r.styles+";"}return function(e,t,n){var o="";if(Array.isArray(n))for(var i=0;i<n.length;i++)o+=Bp(e,t,n[i])+";";else for(var r in n){var s=n[r];if("object"!=typeof s){var a=s;kp(a)&&(o+=Pp(r)+":"+Vp(r,a)+";")}else if(Array.isArray(s)&&"string"==typeof s[0]&&null==t)for(var l=0;l<s.length;l++)kp(s[l])&&(o+=Pp(r)+":"+Vp(r,s[l])+";");else{var c=Bp(e,t,s);switch(r){case"animation":case"animationName":o+=Pp(r)+":"+c+";";break;default:o+=r+"{"+c+"}"}}}return o}(e,t,n);case"function":if(void 0!==e){var a=Tp,l=n(e);return Tp=a,Bp(e,t,l)}}return n}var Tp,Sp=/label:\s*([^\s;{]+)\s*(;|$)/g;function Rp(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,i="";Tp=void 0;var r=e[0];null==r||void 0===r.raw?(o=!1,i+=Bp(n,t,r)):i+=r[0];for(var s=1;s<e.length;s++){if(i+=Bp(n,t,e[s]),o)i+=r[s]}Sp.lastIndex=0;for(var a,l="";null!==(a=Sp.exec(i));)l+="-"+a[1];var c=function(e){for(var t,n=0,o=0,i=e.length;i>=4;++o,i-=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(i){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)}(i)+l;return{name:c,styles:i,next:Tp}}var Ep="undefined"!=typeof document,Mp=function(e){return e()},Xp=!!o.useInsertionEffect&&o.useInsertionEffect,Wp=Ep&&Xp||Mp,Fp="undefined"!=typeof document,Lp=o.createContext("undefined"!=typeof HTMLElement?dp({key:"css"}):null);Lp.Provider;var Op=function(e){return r(function(t,n){var o=h(Lp);return e(t,o,n)})};Fp||(Op=function(e){return function(t){var n=h(Lp);return null===n?(n=dp({key:"css"}),o.createElement(Lp.Provider,{value:n},e(t,n))):e(t,n)}});var Zp,Dp,zp=o.createContext({}),Hp={}.hasOwnProperty,jp="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Yp=function(e){var t=e.cache,n=e.serialized,i=e.isStringTag;Ip(t,n,i);var r=Wp(function(){return function(e,t,n){Ip(e,t,n);var o=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i="",r=t;do{var s=e.insert(t===r?"."+o:"",r,e.sheet,!0);xp||void 0===s||(i+=s),r=r.next}while(void 0!==r);if(!xp&&0!==i.length)return i}}(t,n,i)});if(!Fp&&void 0!==r){for(var s,a=n.name,l=n.next;void 0!==l;)a+=" "+l.name,l=l.next;return o.createElement("style",((s={})["data-emotion"]=t.key+" "+a,s.dangerouslySetInnerHTML={__html:r},s.nonce=t.sheet.nonce,s))}return null},Jp=Op(function(e,t,n){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var r=e[jp],s=[i],a="";"string"==typeof e.className?a=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,s,e.className):null!=e.className&&(a=e.className+" ");var l=Rp(s,void 0,o.useContext(zp));a+=t.key+"-"+l.name;var c={};for(var u in e)Hp.call(e,u)&&"css"!==u&&u!==jp&&(c[u]=e[u]);return c.className=a,n&&(c.ref=n),o.createElement(o.Fragment,null,o.createElement(Yp,{cache:t,serialized:l,isStringTag:"string"==typeof r}),o.createElement(r,c))}),Up=Jp,$p=function(e,t){var n=arguments;if(null==t||!Hp.call(t,"css"))return o.createElement.apply(void 0,n);var i=n.length,r=new Array(i);r[0]=Up,r[1]=function(e,t){var n={};for(var o in t)Hp.call(t,o)&&(n[o]=t[o]);return n[jp]=e,n}(e,t);for(var s=2;s<i;s++)r[s]=n[s];return o.createElement.apply(null,r)};function Qp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Rp(t)}Zp=$p||($p={}),Dp||(Dp=Zp.JSX||(Zp.JSX={}));const _p=Math.min,Kp=Math.max,qp=Math.round,eh=Math.floor,th=e=>({x:e,y:e});function nh(){return"undefined"!=typeof window}function oh(e){return sh(e)?(e.nodeName||"").toLowerCase():"#document"}function ih(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function rh(e){var t;return null==(t=(sh(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function sh(e){return!!nh()&&(e instanceof Node||e instanceof ih(e).Node)}function ah(e){return!!nh()&&(e instanceof HTMLElement||e instanceof ih(e).HTMLElement)}function lh(e){return!(!nh()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof ih(e).ShadowRoot)}const ch=new Set(["inline","contents"]);function uh(e){const{overflow:t,overflowX:n,overflowY:o,display:i}=ph(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!ch.has(i)}const dh=new Set(["html","body","#document"]);function ph(e){return ih(e).getComputedStyle(e)}function hh(e){const t=function(e){if("html"===oh(e))return e;const t=e.assignedSlot||e.parentNode||lh(e)&&e.host||rh(e);return lh(t)?t.host:t}(e);return function(e){return dh.has(oh(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:ah(t)&&uh(t)?t:hh(t)}function mh(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=hh(e),r=i===(null==(o=e.ownerDocument)?void 0:o.body),s=ih(i);if(r){const e=gh(s);return t.concat(s,s.visualViewport||[],uh(i)?i:[],e&&n?mh(e):[])}return t.concat(i,mh(i,[],n))}function gh(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function fh(e){return t=e,nh()&&(t instanceof Element||t instanceof ih(t).Element)?e:e.contextElement;var t}function bh(e){const t=fh(e);if(!ah(t))return th(1);const n=t.getBoundingClientRect(),{width:o,height:i,$:r}=function(e){const t=ph(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=ah(e),r=i?e.offsetWidth:n,s=i?e.offsetHeight:o,a=qp(n)!==r||qp(o)!==s;return a&&(n=r,o=s),{width:n,height:o,$:a}}(t);let s=(r?qp(n.width):n.width)/o,a=(r?qp(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function vh(e,t,n,o){void 0===t&&(t=!1);const i=e.getBoundingClientRect(),r=fh(e);let s=th(1);t&&(s=bh(e));const a=th(0);let l=(i.left+a.x)/s.x,c=(i.top+a.y)/s.y,u=i.width/s.x,d=i.height/s.y;if(r){const e=o;let t=ih(r),n=gh(t);for(;n&&o&&e!==t;){const e=bh(n),o=n.getBoundingClientRect(),i=ph(n),r=o.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,s=o.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=r,c+=s,t=ih(n),n=gh(t)}}return function(e){const{x:t,y:n,width:o,height:i}=e;return{width:o,height:i,top:n,left:t,right:t+o,bottom:n+i,x:t,y:n}}({width:u,height:d,x:l,y:c})}function yh(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function xh(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=o,c=fh(e),u=i||r?[...c?mh(c):[],...mh(t)]:[];u.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),r&&e.addEventListener("resize",n)});const d=c&&a?function(e,t){let n,o=null;const i=rh(e);function r(){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),r();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:h}=c;if(a||t(),!p||!h)return;const m={rootMargin:-eh(d)+"px "+-eh(i.clientWidth-(u+p))+"px "+-eh(i.clientHeight-(d+h))+"px "+-eh(u)+"px",threshold:Kp(0,_p(1,l))||1};let g=!0;function f(t){const o=t[0].intersectionRatio;if(o!==l){if(!g)return s();o?s(!1,o):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==o||yh(c,e.getBoundingClientRect())||s(),g=!1}try{o=new IntersectionObserver(f,{...m,root:i.ownerDocument})}catch(e){o=new IntersectionObserver(f,m)}o.observe(e)}(!0),r}(c,n):null;let p,h=-1,m=null;s&&(m=new ResizeObserver(e=>{let[o]=e;o&&o.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),c&&!l&&m.observe(c),m.observe(t));let g=l?vh(e):null;return l&&function t(){const o=vh(e);g&&!yh(g,o)&&n();g=o,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener("scroll",n),r&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(p)}}var Ih="undefined"!=typeof document?p:function(){},Ch=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],wh=function(){};function Ah(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Nh(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];var r=[].concat(o);if(t&&e)for(var s in t)t.hasOwnProperty(s)&&t[s]&&r.push("".concat(Ah(e,s)));return r.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var Gh=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Du(e)&&null!==e?[e]:[];var t},kh=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,Yu({},Qu(e,Ch))},Ph=function(e,t,n){var o=e.cx,i=e.getStyles,r=e.getClassNames,s=e.className;return{css:i(t,e),className:o(null!=n?n:{},r(t,e),s)}};function Vh(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Bh(e){return Vh(e)?window.pageYOffset:e.scrollTop}function Th(e,t){Vh(e)?window.scrollTo(0,t):e.scrollTop=t}function Sh(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:wh,i=Bh(e),r=t-i,s=0;!function t(){var a,l=r*((a=(a=s+=10)/n-1)*a*a+1)+i;Th(e,l),s<n?window.requestAnimationFrame(t):o(e)}()}function Rh(e,t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),i=t.offsetHeight/3;o.bottom+i>n.bottom?Th(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):o.top-i<n.top&&Th(e,Math.max(t.offsetTop-i,0))}function Eh(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Mh=!1,Xh={get passive(){return Mh=!0}},Wh="undefined"!=typeof window?window:{};Wh.addEventListener&&Wh.removeEventListener&&(Wh.addEventListener("p",wh,Xh),Wh.removeEventListener("p",wh,!1));var Fh=Mh;function Lh(e){return null!=e}function Oh(e,t,n){return e?t:n}var Zh=["children","innerProps"],Dh=["children","innerProps"];function zh(e){var t=e.maxHeight,n=e.menuEl,o=e.minHeight,i=e.placement,r=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 i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&o.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),h=p.bottom,m=p.height,g=p.top,f=n.offsetParent.getBoundingClientRect().top,b=s?window.innerHeight:Vh(u=l)?window.innerHeight:u.clientHeight,v=Bh(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),I=f-x,C=b-g,w=I+v,A=d-v-g,N=h-b+v+y,G=v+g-x,k=160;switch(i){case"auto":case"bottom":if(C>=m)return{placement:"bottom",maxHeight:t};if(A>=m&&!s)return r&&Sh(l,N,k),{placement:"bottom",maxHeight:t};if(!s&&A>=o||s&&C>=o)return r&&Sh(l,N,k),{placement:"bottom",maxHeight:s?C-y:A-y};if("auto"===i||s){var P=t,V=s?I:w;return V>=o&&(P=Math.min(V-y-a,t)),{placement:"top",maxHeight:P}}if("bottom"===i)return r&&Th(l,N),{placement:"bottom",maxHeight:t};break;case"top":if(I>=m)return{placement:"top",maxHeight:t};if(w>=m&&!s)return r&&Sh(l,G,k),{placement:"top",maxHeight:t};if(!s&&w>=o||s&&I>=o){var B=t;return(!s&&w>=o||s&&I>=o)&&(B=s?I-x:w-x),r&&Sh(l,G,k),{placement:"top",maxHeight:B}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var Hh,jh=function(e){return"auto"===e?"bottom":e},Yh=d(null),Jh=function(e){var t=e.children,n=e.minMenuHeight,o=e.maxMenuHeight,i=e.menuPlacement,r=e.menuPosition,l=e.menuShouldScrollIntoView,c=e.theme,u=(h(Yh)||{}).setPortalPlacement,d=s(null),p=$u(a(o),2),m=p[0],g=p[1],f=$u(a(null),2),b=f[0],v=f[1],y=c.spacing.controlHeight;return Ih(function(){var e=d.current;if(e){var t="fixed"===r,s=zh({maxHeight:o,menuEl:e,minHeight:n,placement:i,shouldScroll:l&&!t,isFixedPosition:t,controlHeight:y});g(s.maxHeight),v(s.placement),null==u||u(s.placement)}},[o,i,r,l,n,u,y]),t({ref:d,placerProps:Yu(Yu({},e),{},{placement:b||jh(i),maxHeight:m})})},Uh=function(e){var t=e.children,n=e.innerRef,o=e.innerProps;return $p("div",Tl({},Ph(e,"menu",{menu:!0}),{ref:n},o),t)},$h=function(e,t){var n=e.theme,o=n.spacing.baseUnit,i=n.colors;return Yu({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},Qh=$h,_h=$h,Kh=["size"],qh=["innerProps","isRtl","size"];var em,tm,nm="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=Qu(e,Kh);return $p("svg",Tl({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:nm},n))},im=function(e){return $p(om,Tl({size:20},e),$p("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"}))},rm=function(e){return $p(om,Tl({size:20},e),$p("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"}))},sm=function(e,t){var n=e.isFocused,o=e.theme,i=o.spacing.baseUnit,r=o.colors;return Yu({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?r.neutral60:r.neutral20,padding:2*i,":hover":{color:n?r.neutral80:r.neutral40}})},am=sm,lm=sm,cm=function(){var e=Qp.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_"}}}(Hh||(em=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],tm||(tm=em.slice(0)),Hh=Object.freeze(Object.defineProperties(em,{raw:{value:Object.freeze(tm)}})))),um=function(e){var t=e.delay,n=e.offset;return $p("span",{css:Qp({animation:"".concat(cm," 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= */")})},dm=function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,i=e.innerRef,r=e.innerProps,s=e.menuIsOpen;return $p("div",Tl({ref:i},Ph(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":s}),r,{"aria-disabled":n||void 0}),t)},pm=["data"],hm=function(e){var t=e.children,n=e.cx,o=e.getStyles,i=e.getClassNames,r=e.Heading,s=e.headingProps,a=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return $p("div",Tl({},Ph(e,"group",{group:!0}),a),$p(r,Tl({},s,{selectProps:u,theme:c,getStyles:o,getClassNames:i,cx:n}),l),$p("div",null,t))},mm=["innerRef","isDisabled","isHidden","inputClassName"],gm={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},fm={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Yu({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},gm)},bm=function(e){return Yu({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},gm)},vm=function(e){var t=e.cx,n=e.value,o=kh(e),i=o.innerRef,r=o.isDisabled,s=o.isHidden,a=o.inputClassName,l=Qu(o,mm);return $p("div",Tl({},Ph(e,"input",{"input-container":!0}),{"data-value":n||""}),$p("input",Tl({className:t({input:!0},a),ref:i,style:bm(s),disabled:r},l)))},ym=function(e){var t=e.children,n=e.innerProps;return $p("div",n,t)};var xm=function(e){var t=e.children,n=e.components,o=e.data,i=e.innerProps,r=e.isDisabled,s=e.removeProps,a=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return $p(l,{data:o,innerProps:Yu(Yu({},Ph(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":r})),i),selectProps:a},$p(c,{data:o,innerProps:Yu({},Ph(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},t),$p(u,{data:o,innerProps:Yu(Yu({},Ph(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},s),selectProps:a}))},Im={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return $p("div",Tl({},Ph(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||$p(im,null))},Control:dm,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return $p("div",Tl({},Ph(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||$p(rm,null))},DownChevron:rm,CrossIcon:im,Group:hm,GroupHeading:function(e){var t=kh(e);t.data;var n=Qu(t,pm);return $p("div",Tl({},Ph(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return $p("div",Tl({},Ph(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return $p("span",Tl({},t,Ph(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:vm,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,i=void 0===o?4:o,r=Qu(e,qh);return $p("div",Tl({},Ph(Yu(Yu({},r),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),$p(um,{delay:0,offset:n}),$p(um,{delay:160,offset:!0}),$p(um,{delay:320,offset:!n}))},Menu:Uh,MenuList:function(e){var t=e.children,n=e.innerProps,o=e.innerRef,i=e.isMulti;return $p("div",Tl({},Ph(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:o},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,o=e.controlElement,i=e.innerProps,r=e.menuPlacement,l=e.menuPosition,d=s(null),p=s(null),h=$u(a(jh(r)),2),m=h[0],g=h[1],f=u(function(){return{setPortalPlacement:g}},[]),b=$u(a(null),2),v=b[0],y=b[1],x=c(function(){if(o){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(o),t="fixed"===l?0:window.pageYOffset,n=e[m]+t;n===(null==v?void 0:v.offset)&&e.left===(null==v?void 0:v.rect.left)&&e.width===(null==v?void 0:v.rect.width)||y({offset:n,rect:e})}},[o,l,m,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);Ih(function(){x()},[x]);var I=c(function(){"function"==typeof p.current&&(p.current(),p.current=null),o&&d.current&&(p.current=xh(o,d.current,x,{elementResize:"ResizeObserver"in window}))},[o,x]);Ih(function(){I()},[I]);var C=c(function(e){d.current=e,I()},[I]);if(!t&&"fixed"!==l||!v)return null;var w=$p("div",Tl({ref:C},Ph(Yu(Yu({},e),{},{offset:v.offset,position:l,rect:v.rect}),"menuPortal",{"menu-portal":!0}),i),n);return $p(Yh.Provider,{value:f},t?G(w,t):w)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,i=Qu(e,Dh);return $p("div",Tl({},Ph(Yu(Yu({},i),{},{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,i=Qu(e,Zh);return $p("div",Tl({},Ph(Yu(Yu({},i),{},{children:n,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),n)},MultiValue:xm,MultiValueContainer:ym,MultiValueLabel:ym,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return $p("div",Tl({role:"button"},n),t||$p(im,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,i=e.isSelected,r=e.innerRef,s=e.innerProps;return $p("div",Tl({},Ph(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":o,"option--is-selected":i}),{ref:r,"aria-disabled":n},s),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return $p("div",Tl({},Ph(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,o=e.isDisabled,i=e.isRtl;return $p("div",Tl({},Ph(e,"container",{"--is-disabled":o,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,o=e.innerProps;return $p("div",Tl({},Ph(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,i=e.hasValue;return $p("div",Tl({},Ph(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":i}),n),t)}},Cm=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function wm(e,t){return e===t||!(!Cm(e)||!Cm(t))}function Am(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!wm(e[n],t[n]))return!1;return!0}for(var Nm="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)."}},Gm=function(e){return $p("span",Tl({css:Nm},e))},km={guidance:function(e){var t=e.isSearchable,n=e.isMulti,o=e.tabSelectsValue,i=e.context,r=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return r?"".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,i=e.labels,r=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(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return"option ".concat(o,r?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,o=e.options,i=e.label,r=void 0===i?"":i,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(r," focused, ").concat(u(s,n),".");if("menu"===t&&c){var d=a?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(r).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:"",".")}},Pm=function(e){var t=e.ariaSelection,n=e.focusedOption,o=e.focusedValue,i=e.focusableOptions,r=e.isFocused,s=e.selectValue,a=e.selectProps,l=e.id,c=e.isAppleDevice,d=a.ariaLiveMessages,p=a.getOptionLabel,h=a.inputValue,m=a.isMulti,g=a.isOptionDisabled,f=a.isSearchable,b=a.menuIsOpen,v=a.options,y=a.screenReaderStatus,I=a.tabSelectsValue,C=a.isLoading,w=a["aria-label"],A=a["aria-live"],N=u(function(){return Yu(Yu({},km),d||{})},[d]),G=u(function(){var e,n="";if(t&&N.onChange){var o=t.option,i=t.options,r=t.removedValue,a=t.removedValues,l=t.value,c=r||o||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=i||a||void 0,h=d?d.map(p):[],m=Yu({isDisabled:c&&g(c,s),label:u,labels:h},t);n=N.onChange(m)}return n},[t,N,g,s,p]),k=u(function(){var e="",t=n||o,r=!!(n&&s&&s.includes(n));if(t&&N.onFocus){var a={focused:t,label:p(t),isDisabled:g(t,s),isSelected:r,options:i,context:t===n?"menu":"value",selectValue:s,isAppleDevice:c};e=N.onFocus(a)}return e},[n,o,p,g,N,i,s,c]),P=u(function(){var e="";if(b&&v.length&&!C&&N.onFilter){var t=y({count:i.length});e=N.onFilter({inputValue:h,resultsMessage:t})}return e},[i,h,b,N,v,y,C]),V="initial-input-focus"===(null==t?void 0:t.action),B=u(function(){var e="";if(N.guidance){var t=o?"value":b?"menu":"input";e=N.guidance({"aria-label":w,context:t,isDisabled:n&&g(n,s),isMulti:m,isSearchable:f,tabSelectsValue:I,isInitialFocus:V})}return e},[w,n,o,m,g,f,b,N,s,I,V]),T=$p(x,null,$p("span",{id:"aria-selection"},G),$p("span",{id:"aria-focused"},k),$p("span",{id:"aria-results"},P),$p("span",{id:"aria-guidance"},B));return $p(x,null,$p(Gm,{id:l},V&&T),$p(Gm,{"aria-live":A,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},r&&!V&&T))},Vm=[{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("["+Vm.map(function(e){return e.letters}).join("")+"]","g"),Tm={},Sm=0;Sm<Vm.length;Sm++)for(var Rm=Vm[Sm],Em=0;Em<Rm.letters.length;Em++)Tm[Rm.letters[Em]]=Rm.base;var Mm=function(e){return e.replace(Bm,function(e){return Tm[e]})},Xm=function(e,t){void 0===t&&(t=Am);var n=null;function o(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(n&&n.lastThis===this&&t(o,n.lastArgs))return n.lastResult;var r=e.apply(this,o);return n={lastResult:r,lastArgs:o,lastThis:this},r}return o.clear=function(){n=null},o}(Mm),Wm=function(e){return e.replace(/^\s+|\s+$/g,"")},Fm=function(e){return"".concat(e.label," ").concat(e.value)},Lm=function(e){return function(t,n){if(t.data.__isNew__)return!0;var o=Yu({ignoreCase:!0,ignoreAccents:!0,stringify:Fm,trim:!0,matchFrom:"any"},e),i=o.ignoreCase,r=o.ignoreAccents,s=o.stringify,a=o.trim,l=o.matchFrom,c=a?Wm(n):n,u=a?Wm(s(t)):s(t);return i&&(c=c.toLowerCase(),u=u.toLowerCase()),r&&(c=Xm(c),u=Mm(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},Om=["innerRef"];function Zm(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 i=Object.entries(e).filter(function(e){var t=$u(e,1)[0];return!n.includes(t)});return i.reduce(function(e,t){var n=$u(t,2),o=n[0],i=n[1];return e[o]=i,e},{})}(Qu(e,Om),"onExited","in","enter","exit","appear");return $p("input",Tl({ref:t},n,{css:Qp({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 Dm=["boxSizing","height","overflow","paddingRight","position"],zm={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Hm(e){e.cancelable&&e.preventDefault()}function jm(e){e.stopPropagation()}function Ym(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Jm(){return"ontouchstart"in window||navigator.maxTouchPoints}var Um=!("undefined"==typeof window||!window.document||!window.document.createElement),$m=0,Qm={capture:!1,passive:!1};var _m=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Km="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 qm(e){var t=e.children,n=e.lockEnabled,o=e.captureEnabled,i=function(e){var t=e.isEnabled,n=e.onBottomArrive,o=e.onBottomLeave,i=e.onTopArrive,r=e.onTopLeave,a=s(!1),u=s(!1),d=s(0),p=s(null),h=c(function(e,t){if(null!==p.current){var s=p.current,l=s.scrollTop,c=s.scrollHeight,d=s.clientHeight,h=p.current,m=t>0,g=c-d-l,f=!1;g>t&&a.current&&(o&&o(e),a.current=!1),m&&u.current&&(r&&r(e),u.current=!1),m&&t>g?(n&&!a.current&&n(e),h.scrollTop=c,f=!0,a.current=!0):!m&&-t>l&&(i&&!u.current&&i(e),h.scrollTop=0,f=!0,u.current=!0),f&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,o,i,r]),m=c(function(e){h(e,e.deltaY)},[h]),g=c(function(e){d.current=e.changedTouches[0].clientY},[]),f=c(function(e){var t=d.current-e.changedTouches[0].clientY;h(e,t)},[h]),b=c(function(e){if(e){var t=!!Fh&&{passive:!1};e.addEventListener("wheel",m,t),e.addEventListener("touchstart",g,t),e.addEventListener("touchmove",f,t)}},[f,g,m]),v=c(function(e){e&&(e.removeEventListener("wheel",m,!1),e.removeEventListener("touchstart",g,!1),e.removeEventListener("touchmove",f,!1))},[f,g,m]);return l(function(){if(t){var e=p.current;return b(e),function(){v(e)}}},[t,b,v]),function(e){p.current=e}}({isEnabled:void 0===o||o,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),r=function(e){var t=e.isEnabled,n=e.accountForScrollbars,o=void 0===n||n,i=s({}),r=s(null),a=c(function(e){if(Um){var t=document.body,n=t&&t.style;if(o&&Dm.forEach(function(e){var t=n&&n[e];i.current[e]=t}),o&&$m<1){var r=parseInt(i.current.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,a=window.innerWidth-s+r||0;Object.keys(zm).forEach(function(e){var t=zm[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(a,"px"))}t&&Jm()&&(t.addEventListener("touchmove",Hm,Qm),e&&(e.addEventListener("touchstart",Ym,Qm),e.addEventListener("touchmove",jm,Qm))),$m+=1}},[o]),u=c(function(e){if(Um){var t=document.body,n=t&&t.style;$m=Math.max($m-1,0),o&&$m<1&&Dm.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&Jm()&&(t.removeEventListener("touchmove",Hm,Qm),e&&(e.removeEventListener("touchstart",Ym,Qm),e.removeEventListener("touchmove",jm,Qm)))}},[o]);return l(function(){if(t){var e=r.current;return a(e),function(){u(e)}}},[t,a,u]),function(e){r.current=e}}({isEnabled:n});return $p(x,null,n&&$p("div",{onClick:_m,css:Km}),t(function(e){i(e),r(e)}))}var eg="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)."}},tg=function(e){var t=e.name,n=e.onFocus;return $p("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:eg,value:"",onChange:function(){}})};function ng(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 og(){return ng(/^Mac/i)}function ig(){return ng(/^iPhone/i)||ng(/^iPad/i)||og()&&navigator.maxTouchPoints>1}var rg={clearIndicator:lm,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,i=e.theme,r=i.colors,s=i.borderRadius;return Yu({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?r.neutral5:r.neutral0,borderColor:n?r.neutral10:o?r.primary:r.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(r.primary):void 0,"&:hover":{borderColor:o?r.primary:r.neutral30}})},dropdownIndicator:am,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,i=n.spacing;return Yu({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,o=e.theme,i=o.spacing.baseUnit,r=o.colors;return Yu({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?r.neutral10:r.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,o=e.value,i=e.theme,r=i.spacing,s=i.colors;return Yu(Yu({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},fm),t?{}:{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,color:s.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,o=e.size,i=e.theme,r=i.colors,s=i.spacing.baseUnit;return Yu({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?r.neutral60:r.neutral20,padding:2*s})},loadingMessage:_h,menu:function(e,t){var n,o=e.placement,i=e.theme,r=i.borderRadius,s=i.spacing,a=i.colors;return Yu((Hu(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),Hu(n,"position","absolute"),Hu(n,"width","100%"),Hu(n,"zIndex",1),n),t?{}:{backgroundColor:a.neutral0,borderRadius:r,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 Yu({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,i=n.borderRadius,r=n.colors;return Yu({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:r.neutral10,borderRadius:i/2,margin:o.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,o=n.borderRadius,i=n.colors,r=e.cropWithEllipsis;return Yu({overflow:"hidden",textOverflow:r||void 0===r?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,o=n.spacing,i=n.borderRadius,r=n.colors,s=e.isFocused;return Yu({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:s?r.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:r.dangerLight,color:r.danger}})},noOptionsMessage:Qh,option:function(e,t){var n=e.isDisabled,o=e.isFocused,i=e.isSelected,r=e.theme,s=r.spacing,a=r.colors;return Yu({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?a.primary:o?a.primary25:"transparent",color:n?a.neutral20:i?a.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?a.primary:a.primary50}})},placeholder:function(e,t){var n=e.theme,o=n.spacing,i=n.colors;return Yu({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,o=e.theme,i=o.spacing,r=o.colors;return Yu({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?r.neutral40:r.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,o=e.isMulti,i=e.hasValue,r=e.selectProps.controlShouldRenderValue;return Yu({alignItems:"center",display:o&&i&&r?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},sg={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}},ag={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Eh(),captureMenuScroll:!Eh(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Lm(),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 lg(e,t,n,o){return{type:"option",data:t,isDisabled:fg(e,t,n),isSelected:bg(e,t,n),label:mg(e,t),value:gg(e,t),index:o}}function cg(e,t){return e.options.map(function(n,o){if("options"in n){var i=n.options.map(function(n,o){return lg(e,n,t,o)}).filter(function(t){return pg(e,t)});return i.length>0?{type:"group",data:n,options:i,index:o}:void 0}var r=lg(e,n,t,o);return pg(e,r)?r:void 0}).filter(Lh)}function ug(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,od(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function dg(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,od(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 pg(e,t){var n=e.inputValue,o=void 0===n?"":n,i=t.data,r=t.isSelected,s=t.label,a=t.value;return(!yg(e)||!r)&&vg(e,{label:s,value:a,data:i},o)}var hg=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},mg=function(e,t){return e.getOptionLabel(t)},gg=function(e,t){return e.getOptionValue(t)};function fg(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function bg(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=gg(e,t);return n.some(function(t){return gg(e,t)===o})}function vg(e,t,n){return!e.filterOption||e.filterOption(t,n)}var yg=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},xg=1,Ig=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&&qu(e,t)}(t,C);var e=function(e){var t=td();return function(){var n,o=ed(e);if(t){var i=ed(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return nd(this,n)}}(t);function t(n){var o;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=e.call(this,n)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.controlRef=null,o.getControlRef=function(e){o.controlRef=e},o.focusedOptionRef=null,o.getFocusedOptionRef=function(e){o.focusedOptionRef=e},o.menuListRef=null,o.getMenuListRef=function(e){o.menuListRef=e},o.inputRef=null,o.getInputRef=function(e){o.inputRef=e},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(e,t){var n=o.props,i=n.onChange,r=n.name;t.name=r,o.ariaOnChange(e,t),i(e,t)},o.setValue=function(e,t,n){var i=o.props,r=i.closeMenuOnSelect,s=i.isMulti,a=i.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:a}),r&&(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,i=t.isMulti,r=t.name,s=o.state.selectValue,a=i&&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:r});i?o.setValue([].concat(od(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,i=o.getOptionValue(e),r=n.filter(function(e){return o.getOptionValue(e)!==i}),s=Oh(t,r,r[0]||null);o.onChange(s,{action:"remove-value",removedValue:e}),o.focusInput()},o.clearValue=function(){var e=o.state.selectValue;o.onChange(Oh(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],i=t.slice(0,t.length-1),r=Oh(e,i,i[0]||null);n&&o.onChange(r,{action:"pop-value",removedValue:n})},o.getFocusedOptionId=function(e){return hg(o.state.focusableOptionsWithIds,e)},o.getFocusableOptionsWithIds=function(){return dg(cg(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 Nh.apply(void 0,[o.props.classNamePrefix].concat(t))},o.getOptionLabel=function(e){return mg(o.props,e)},o.getOptionValue=function(e){return gg(o.props,e)},o.getStyles=function(e,t){var n=o.props.unstyled,i=rg[e](t,n);i.boxSizing="border-box";var r=o.props.styles[e];return r?r(i,t):i},o.getClassNames=function(e,t){var n,i;return null===(n=(i=o.props.classNames)[e])||void 0===n?void 0:n.call(i,t)},o.getElementId=function(e){return"".concat(o.state.instancePrefix,"-").concat(e)},o.getComponents=function(){return e=o.props,Yu(Yu({},Im),e.components);var e},o.buildCategorizedOptions=function(){return cg(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return ug(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(e,t){o.setState({ariaSelection:Yu({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,i=t.menuIsOpen;o.focusInput(),i?(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&&Vh(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 i=Math.abs(n.clientX-o.initialTouchX),r=Math.abs(n.clientY-o.initialTouchY);o.userIsDragging=i>5||r>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 yg(o.props)},o.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),o.focus()},o.onKeyDown=function(e){var t=o.props,n=t.isMulti,i=t.backspaceRemovesValue,r=t.escapeClearsValue,s=t.inputValue,a=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,h=o.state,m=h.focusedOption,g=h.focusedValue,f=h.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(g)o.removeValue(g);else{if(!i)return;n?o.popValue():a&&o.clearValue()}break;case"Tab":if(o.isComposing)return;if(e.shiftKey||!c||!d||!m||p&&o.isOptionSelected(m,f))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&&r&&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||++xg),o.state.selectValue=Gh(n.value),n.menuIsOpen&&o.state.selectValue.length){var i=o.getFocusableOptionsWithIds(),r=o.buildFocusableOptions(),s=r.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=i,o.state.focusedOption=r[s],o.state.focusedOptionId=hg(i,r[s])}return o}return function(e,t,n){t&&Ku(e.prototype,t),n&&Ku(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Rh(this.menuListRef,this.focusedOptionRef),(og()||ig())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,o=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&o&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Rh(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,i=n.isFocused,r=this.buildFocusableOptions(),s="first"===e?0:r.length-1;if(!this.props.isMulti){var a=r.indexOf(o[0]);a>-1&&(s=a)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:r[s],focusedOptionId:this.getFocusedOptionId(r[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 i=n.indexOf(o);o||(i=-1);var r=n.length-1,s=-1;if(n.length){switch(e){case"previous":s=0===i?0:-1===i?r:i-1;break;case"next":i>-1&&i<r&&(s=i+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 i=0,r=o.indexOf(n);n||(r=-1),"up"===e?i=r>0?r-1:o.length-1:"down"===e?i=(r+1)%o.length:"pageup"===e?(i=r-t)<0&&(i=0):"pagedown"===e?(i=r+t)>o.length-1&&(i=o.length-1):"last"===e&&(i=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(o[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(sg):Yu(Yu({},sg),this.props.theme):sg}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,o=this.getClassNames,i=this.getValue,r=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:i,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:r,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 fg(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return bg(this.props,e,t)}},{key:"filterOption",value:function(e,t){return vg(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,i=e.inputId,r=e.inputValue,s=e.tabIndex,a=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,h=d.ariaSelection,m=this.commonProps,g=i||this.getElementId("input"),f=Yu(Yu(Yu({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?o.createElement(u,Tl({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:g,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:a,type:"text",value:r},f)):o.createElement(Zm,Tl({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:wh,onFocus:this.onInputFocus,disabled:t,tabIndex:s,inputMode:"none",form:a,value:""},f))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,i=t.MultiValueContainer,r=t.MultiValueLabel,s=t.MultiValueRemove,a=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,h=u.isMulti,m=u.inputValue,g=u.placeholder,f=this.state,b=f.selectValue,v=f.focusedValue,y=f.isFocused;if(!this.hasValue()||!d)return m?null:o.createElement(l,Tl({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),g);if(h)return b.map(function(t,a){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return o.createElement(n,Tl({},c,{components:{Container:i,Label:r,Remove:s},isFocused:l,isDisabled:p,key:u,index:a,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(m)return null;var x=b[0];return o.createElement(a,Tl({},c,{data:x,isDisabled:p}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,r=n.isLoading,s=this.state.isFocused;if(!this.isClearable()||!e||i||!this.hasValue()||r)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return o.createElement(e,Tl({},t,{innerProps:a,isFocused:s}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,r=n.isLoading,s=this.state.isFocused;if(!e||!r)return null;return o.createElement(e,Tl({},t,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:s}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var i=this.commonProps,r=this.props.isDisabled,s=this.state.isFocused;return o.createElement(n,Tl({},i,{isDisabled:r,isFocused:s}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,i=this.state.isFocused,r={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return o.createElement(e,Tl({},t,{innerProps:r,isDisabled:n,isFocused:i}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,i=t.GroupHeading,r=t.Menu,s=t.MenuList,a=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,h=this.props,m=h.captureMenuScroll,g=h.inputValue,f=h.isLoading,b=h.loadingMessage,v=h.minMenuHeight,y=h.maxMenuHeight,x=h.menuIsOpen,I=h.menuPlacement,C=h.menuPosition,w=h.menuPortalTarget,A=h.menuShouldBlockScroll,N=h.menuShouldScrollIntoView,G=h.noOptionsMessage,k=h.onMenuScrollToTop,P=h.onMenuScrollToBottom;if(!x)return null;var V,B=function(t,n){var i=t.type,r=t.data,s=t.isDisabled,a=t.isSelected,l=t.label,c=t.value,h=p===r,m=s?void 0:function(){return e.onOptionHover(r)},g=s?void 0:function(){return e.selectOption(r)},f="".concat(e.getElementId("option"),"-").concat(n),b={id:f,onClick:g,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:a};return o.createElement(u,Tl({},d,{innerProps:b,data:r,isDisabled:s,isSelected:a,key:f,label:l,type:i,value:c,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())V=this.getCategorizedOptions().map(function(t){if("group"===t.type){var r=t.data,s=t.options,a=t.index,l="".concat(e.getElementId("group"),"-").concat(a),c="".concat(l,"-heading");return o.createElement(n,Tl({},d,{key:l,data:r,options:s,Heading:i,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return B(e,"".concat(a,"-").concat(e.index))}))}if("option"===t.type)return B(t,"".concat(t.index))});else if(f){var T=b({inputValue:g});if(null===T)return null;V=o.createElement(l,d,T)}else{var S=G({inputValue:g});if(null===S)return null;V=o.createElement(c,d,S)}var R={minMenuHeight:v,maxMenuHeight:y,menuPlacement:I,menuPosition:C,menuShouldScrollIntoView:N},E=o.createElement(Jh,Tl({},d,R),function(t){var n=t.ref,i=t.placerProps,a=i.placement,l=i.maxHeight;return o.createElement(r,Tl({},d,R,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:f,placement:a}),o.createElement(qm,{captureEnabled:m,onTopArrive:k,onBottomArrive:P,lockEnabled:A},function(t){return o.createElement(s,Tl({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:f,maxHeight:l,focusedOption:p}),V)}))});return w||"fixed"===C?o.createElement(a,Tl({},d,{appendTo:w,controlElement:this.controlRef,menuPlacement:I,menuPosition:C}),E):E}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,i=t.isDisabled,r=t.isMulti,s=t.name,a=t.required,l=this.state.selectValue;if(a&&!this.hasValue()&&!i)return o.createElement(tg,{name:s,onFocus:this.onValueInputFocus});if(s&&!i){if(r){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return o.createElement("input",{name:s,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return o.createElement("input",{key:"i-".concat(n),name:s,type:"hidden",value:e.getOptionValue(t)})}):o.createElement("input",{name:s,type:"hidden",value:""});return o.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return o.createElement("input",{name:s,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,i=t.focusedOption,r=t.focusedValue,s=t.isFocused,a=t.selectValue,l=this.getFocusableOptions();return o.createElement(Pm,Tl({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:i,focusedValue:r,isFocused:s,selectValue:a,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,i=e.SelectContainer,r=e.ValueContainer,s=this.props,a=s.className,l=s.id,c=s.isDisabled,u=s.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return o.createElement(i,Tl({},p,{className:a,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),o.createElement(t,Tl({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),o.createElement(r,Tl({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),o.createElement(n,Tl({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,o=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,r=t.ariaSelection,s=t.isFocused,a=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,h=e.isMulti,m=Gh(u),g={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var f=d?function(e,t){return ug(cg(e,t))}(e,m):[],b=d?dg(cg(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,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,f);g={selectValue:m,focusedOption:y,focusedOptionId:hg(b,y),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var x=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},I=r,C=s&&a;return s&&!C&&(I={value:Oh(h,m,m[0]||null),options:m,action:"initial-input-focus"},C=!a),"initial-input-focus"===(null==r?void 0:r.action)&&(I=null),Yu(Yu(Yu({},g),x),{},{prevProps:e,ariaSelection:I,prevWasFocused:C})}}]),t}();Ig.defaultProps=ag;var Cg=r(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,o=e.defaultMenuIsOpen,i=void 0!==o&&o,r=e.defaultValue,s=void 0===r?null:r,l=e.inputValue,u=e.menuIsOpen,d=e.onChange,p=e.onInputChange,h=e.onMenuClose,m=e.onMenuOpen,g=e.value,f=Qu(e,_u),b=$u(a(void 0!==l?l:n),2),v=b[0],y=b[1],x=$u(a(void 0!==u?u:i),2),I=x[0],C=x[1],w=$u(a(void 0!==g?g:s),2),A=w[0],N=w[1],G=c(function(e,t){"function"==typeof d&&d(e,t),N(e)},[d]),k=c(function(e,t){var n;"function"==typeof p&&(n=p(e,t)),y(void 0!==n?n:e)},[p]),P=c(function(){"function"==typeof m&&m(),C(!0)},[m]),V=c(function(){"function"==typeof h&&h(),C(!1)},[h]),B=void 0!==l?l:v,T=void 0!==u?u:I,S=void 0!==g?g:A;return Yu(Yu({},f),{},{inputValue:B,menuIsOpen:T,onChange:G,onInputChange:k,onMenuClose:V,onMenuOpen:P,value:S})}(e);return o.createElement(Ig,Tl({ref:t},n))}),wg=Cg;const Ag=i.memo(({options:n,className:o,controlClassName:i,value:r,isCustomStyle:s=!1,placeholder:a,required:l,onChange:c,filterOptions:d,hasError:p,error:h,helperText:m,label:g,labelClassName:f,size:b="md",variant:v="default","data-cy":y,"data-testid":x,...I})=>{const C=u(()=>Lm(d),[d]),w=u(()=>({control:({isFocused:e})=>He("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&&!p,"border-input-border-critical shadow-none":p},i),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>s?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>He(s?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>"z-20 mt-2",option:({isFocused:e,isSelected:t,label:o})=>{var i;return He("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===(i=n[n.length-1])||void 0===i?void 0:i.label)!==o?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[s,i,n,p,b]);return"unstyled"===v?e(wg,{options:n,value:r,placeholder:l?`${a}*`:a,onChange:c,filterOption:C,className:He("rounded-xl",o),classNames:w,"data-cy":y,"data-testid":x,...I}):t("div",{className:"w-full",children:[g&&e("label",{className:He("mb-1 block text-sm font-medium text-text-secondary",f),children:g}),e(wg,{options:n,value:r,placeholder:l?`${a}*`:a,onChange:c,filterOption:C,className:He("rounded-xl",o),classNames:w,"data-cy":y,"data-testid":x,...I}),h&&e($e,{className:"footnote mt-1 text-text-critical",children:h}),!h&&m&&e($e,{className:"footnote mt-1 text-text-info",children:m})]})});function Ng({paginatedArticles:n,totalArticles:o,currentPage:i,totalPages:r,selectedCategory:s,categoryOptions:a}){const l=P(),c=V(),u=B();function d(e,t){const n=new URLSearchParams(u.toString());t?n.set(e,t):n.delete(e),"category"===e&&n.delete("page"),l.push(`${c}?${n.toString()}`,{scroll:!1})}return t("section",{"aria-label":"Blog articles",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e($e,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:"recent articles"}),t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t($e,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e($e,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t($e,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",o," articles"]})]}),e(Ag,{options:a,value:s,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]"})]})]}),n.length>0?e("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map(t=>{var n,o,i,r,s;const a=t.slug.startsWith("/")?t.slug:`/${t.slug}`,l=(null===(n=null==t?void 0:t.cover)||void 0===n?void 0:n.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===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(Ou,{href:a,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:l},t.slug)})}):e($e,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),r>1&&e(Zu,{currentPage:i,totalPages:r,onPageChange:function(e){d("page",1===e?"":e.toString()),window.scrollTo({top:0,behavior:"smooth"})},ariaLabel:"Blog article pagination"})]})}Ag.displayName="Select";export{Qe as Accordion,Ou as BlogCard,Ng as BlogGrid,et as Button,it as Callout,rt as Cards,bt as Carousel,Lu as ComparisonTable,Wu as CtaCallout,Fu as FindKinetic,vt as FloatingBanner,yt as Footer,wt as ImagePromoBar,Mu as Modal,Vt as Navigation,Rt as PrimaryHero,pt as ProductCard,Xu as ShapeBackgroundWrapper,ot as SimpleCard,ht as TestimonialCard,Et as Text};
|
|
4
12
|
//# sourceMappingURL=index.esm.js.map
|