@windstream/react-shared-components 0.2.51 → 0.2.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,20 @@
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 i,{forwardRef as o,useEffect as a,useRef as s,useMemo as l,useState as c,createElement as u,createContext as d,useLayoutEffect as p,useContext as h,useInsertionEffect as m,useCallback as f,useId as g,cloneElement as b,Children as v,isValidElement as y,Fragment as x,useReducer as I,Component as w}from"react";import*as C from"next/link";import A from"next/link";import N from"@vimeo/player";import E from"next/image";import T,{flushSync as S,createPortal as k}from"react-dom";import{useRouter as P,usePathname as B,useSearchParams as L}from"next/navigation";function R(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=R(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function G(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=R(e))&&(r&&(r+=" "),r+=t);return r}const O=e=>{const t=j(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),D(n,t)||V(e)},getConflictingClassGroupIds:(e,t)=>{const i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},D=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?D(e.slice(1),r):void 0;if(i)return i;if(0===t.validators.length)return;const o=e.join("-");return t.validators.find(({validator:e})=>e(o))?.classGroupId},M=/^\[(.+)\]$/,V=e=>{if(M.test(e)){const t=M.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},j=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)H(n[e],r,e,t);return r},H=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:W(t,e)).classGroupId=n)}if("function"==typeof e)return F(e)?void H(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,i])=>{H(i,W(t,e),n,r)})})},W=(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},F=e=>e.isThemeGetter,X=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(i,o)=>{n.set(i,o),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))?(i(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}},z=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,i=0,o=0;for(let a=0;a<e.length;a++){let s=e[a];if(0===r&&0===i){if(":"===s){t.push(e.slice(o,a)),o=a+1;continue}if("/"===s){n=a;continue}}"["===s?r++:"]"===s?r--:"("===s?i++:")"===s&&i--}const a=0===t.length?e:e.substring(o),s=Z(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,maybePostfixModifierPosition:n&&n>o?n-o: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},Z=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,Y=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}},_=/\s+/;function J(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=U(e))&&(r&&(r+=" "),r+=t);return r}const U=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=U(e[r]))&&(n&&(n+=" "),n+=t);return n};function $(e,...t){let n,r,i,o=function(s){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:X(e.cacheSize),parseClassName:z(e),sortModifiers:Y(e),...O(e)}))(l),r=n.cache.get,i=n.cache.set,o=a,a(s)};function a(e){const t=r(e);if(t)return t;const o=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o}=t,a=[],s=e.trim().split(_);let l="";for(let e=s.length-1;e>=0;e-=1){const t=s[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:h}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let m=!!h,f=r(m?p.substring(0,h):p);if(!f){if(!m){l=t+(l.length>0?" "+l:l);continue}if(f=r(p),!f){l=t+(l.length>0?" "+l:l);continue}m=!1}const g=o(u).join(":"),b=d?g+"!":g,v=b+f;if(a.includes(v))continue;a.push(v);const y=i(f,m);for(let e=0;e<y.length;++e){const t=y[e];a.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return i(e,o),o}return function(){return o(J.apply(null,arguments))}}const K=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},Q=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,q=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ee=/^\d+\/\d+$/,te=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ne=/\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$/,re=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ie=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,oe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ae=e=>ee.test(e),se=e=>!!e&&!Number.isNaN(Number(e)),le=e=>!!e&&Number.isInteger(Number(e)),ce=e=>e.endsWith("%")&&se(e.slice(0,-1)),ue=e=>te.test(e),de=()=>!0,pe=e=>ne.test(e)&&!re.test(e),he=()=>!1,me=e=>ie.test(e),fe=e=>oe.test(e),ge=e=>!ve(e)&&!Ae(e),be=e=>Be(e,Oe,he),ve=e=>Q.test(e),ye=e=>Be(e,De,pe),xe=e=>Be(e,Me,se),Ie=e=>Be(e,Re,he),we=e=>Be(e,Ge,fe),Ce=e=>Be(e,je,me),Ae=e=>q.test(e),Ne=e=>Le(e,De),Ee=e=>Le(e,Ve),Te=e=>Le(e,Re),Se=e=>Le(e,Oe),ke=e=>Le(e,Ge),Pe=e=>Le(e,je,!0),Be=(e,t,n)=>{const r=Q.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},Le=(e,t,n=!1)=>{const r=q.exec(e);return!!r&&(r[1]?t(r[1]):n)},Re=e=>"position"===e||"percentage"===e,Ge=e=>"image"===e||"url"===e,Oe=e=>"length"===e||"size"===e||"bg-size"===e,De=e=>"length"===e,Me=e=>"number"===e,Ve=e=>"family-name"===e,je=e=>"shadow"===e,He=()=>{const e=K("color"),t=K("font"),n=K("text"),r=K("font-weight"),i=K("tracking"),o=K("leading"),a=K("breakpoint"),s=K("container"),l=K("spacing"),c=K("radius"),u=K("shadow"),d=K("inset-shadow"),p=K("text-shadow"),h=K("drop-shadow"),m=K("blur"),f=K("perspective"),g=K("aspect"),b=K("ease"),v=K("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Ae,ve],x=()=>[Ae,ve,l],I=()=>[ae,"full","auto",...x()],w=()=>[le,"none","subgrid",Ae,ve],C=()=>["auto",{span:["full",le,Ae,ve]},le,Ae,ve],A=()=>[le,"auto",Ae,ve],N=()=>["auto","min","max","fr",Ae,ve],E=()=>["auto",...x()],T=()=>[ae,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],S=()=>[e,Ae,ve],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Te,Ie,{position:[Ae,ve]}],P=()=>["auto","cover","contain",Se,be,{size:[Ae,ve]}],B=()=>[ce,Ne,ye],L=()=>["","none","full",c,Ae,ve],R=()=>["",se,Ne,ye],G=()=>[se,ce,Te,Ie],O=()=>["","none",m,Ae,ve],D=()=>["none",se,Ae,ve],M=()=>["none",se,Ae,ve],V=()=>[se,Ae,ve],j=()=>[ae,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ue],breakpoint:[ue],color:[de],container:[ue],"drop-shadow":[ue],ease:["in","out","in-out"],font:[ge],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ue],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ue],shadow:[ue],spacing:["px",se],text:[ue],"text-shadow":[ue],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ae,ve,Ae,g]}],container:["container"],columns:[{columns:[se,ve,Ae,s]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset: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:[le,"auto",Ae,ve]}],basis:[{basis:[ae,"full","auto",s,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[se,ae,"auto","initial","none",ve]}],grow:[{grow:["",se,Ae,ve]}],shrink:[{shrink:["",se,Ae,ve]}],order:[{order:[le,"first","last","none",Ae,ve]}],"grid-cols":[{"grid-cols":w()}],"col-start-end":[{col:C()}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":w()}],"row-start-end":[{row:C()}],"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: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:[s,"screen",...T()]}],"min-w":[{"min-w":[s,"screen","none",...T()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...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,Ne,ye]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Ae,xe]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ce,ve]}],"font-family":[{font:[Ee,ve,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,Ae,ve]}],"line-clamp":[{"line-clamp":[se,"none",Ae,xe]}],leading:[{leading:[o,...x()]}],"list-image":[{"list-image":["none",Ae,ve]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ae,ve]}],"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:[se,"from-font","auto",Ae,ye]}],"text-decoration-color":[{decoration:S()}],"underline-offset":[{"underline-offset":[se,"auto",Ae,ve]}],"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",Ae,ve]}],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",Ae,ve]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:k()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:P()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},le,Ae,ve],radial:["",Ae,ve],conic:[le,Ae,ve]},ke,we]}],"bg-color":[{bg:S()}],"gradient-from-pos":[{from:B()}],"gradient-via-pos":[{via:B()}],"gradient-to-pos":[{to:B()}],"gradient-from":[{from:S()}],"gradient-via":[{via:S()}],"gradient-to":[{to:S()}],rounded:[{rounded:L()}],"rounded-s":[{"rounded-s":L()}],"rounded-e":[{"rounded-e":L()}],"rounded-t":[{"rounded-t":L()}],"rounded-r":[{"rounded-r":L()}],"rounded-b":[{"rounded-b":L()}],"rounded-l":[{"rounded-l":L()}],"rounded-ss":[{"rounded-ss":L()}],"rounded-se":[{"rounded-se":L()}],"rounded-ee":[{"rounded-ee":L()}],"rounded-es":[{"rounded-es":L()}],"rounded-tl":[{"rounded-tl":L()}],"rounded-tr":[{"rounded-tr":L()}],"rounded-br":[{"rounded-br":L()}],"rounded-bl":[{"rounded-bl":L()}],"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: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":[se,Ae,ve]}],"outline-w":[{outline:["",se,Ne,ye]}],"outline-color":[{outline:S()}],shadow:[{shadow:["","none",u,Pe,Ce]}],"shadow-color":[{shadow:S()}],"inset-shadow":[{"inset-shadow":["none",d,Pe,Ce]}],"inset-shadow-color":[{"inset-shadow":S()}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:S()}],"ring-offset-w":[{"ring-offset":[se,ye]}],"ring-offset-color":[{"ring-offset":S()}],"inset-ring-w":[{"inset-ring":R()}],"inset-ring-color":[{"inset-ring":S()}],"text-shadow":[{"text-shadow":["none",p,Pe,Ce]}],"text-shadow-color":[{"text-shadow":S()}],opacity:[{opacity:[se,Ae,ve]}],"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":[se]}],"mask-image-linear-from-pos":[{"mask-linear-from":G()}],"mask-image-linear-to-pos":[{"mask-linear-to":G()}],"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":G()}],"mask-image-t-to-pos":[{"mask-t-to":G()}],"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":G()}],"mask-image-r-to-pos":[{"mask-r-to":G()}],"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":G()}],"mask-image-b-to-pos":[{"mask-b-to":G()}],"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":G()}],"mask-image-l-to-pos":[{"mask-l-to":G()}],"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":G()}],"mask-image-x-to-pos":[{"mask-x-to":G()}],"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":G()}],"mask-image-y-to-pos":[{"mask-y-to":G()}],"mask-image-y-from-color":[{"mask-y-from":S()}],"mask-image-y-to-color":[{"mask-y-to":S()}],"mask-image-radial":[{"mask-radial":[Ae,ve]}],"mask-image-radial-from-pos":[{"mask-radial-from":G()}],"mask-image-radial-to-pos":[{"mask-radial-to":G()}],"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":[se]}],"mask-image-conic-from-pos":[{"mask-conic-from":G()}],"mask-image-conic-to-pos":[{"mask-conic-to":G()}],"mask-image-conic-from-color":[{"mask-conic-from":S()}],"mask-image-conic-to-color":[{"mask-conic-to":S()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:k()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:P()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ae,ve]}],filter:[{filter:["","none",Ae,ve]}],blur:[{blur:O()}],brightness:[{brightness:[se,Ae,ve]}],contrast:[{contrast:[se,Ae,ve]}],"drop-shadow":[{"drop-shadow":["","none",h,Pe,Ce]}],"drop-shadow-color":[{"drop-shadow":S()}],grayscale:[{grayscale:["",se,Ae,ve]}],"hue-rotate":[{"hue-rotate":[se,Ae,ve]}],invert:[{invert:["",se,Ae,ve]}],saturate:[{saturate:[se,Ae,ve]}],sepia:[{sepia:["",se,Ae,ve]}],"backdrop-filter":[{"backdrop-filter":["","none",Ae,ve]}],"backdrop-blur":[{"backdrop-blur":O()}],"backdrop-brightness":[{"backdrop-brightness":[se,Ae,ve]}],"backdrop-contrast":[{"backdrop-contrast":[se,Ae,ve]}],"backdrop-grayscale":[{"backdrop-grayscale":["",se,Ae,ve]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[se,Ae,ve]}],"backdrop-invert":[{"backdrop-invert":["",se,Ae,ve]}],"backdrop-opacity":[{"backdrop-opacity":[se,Ae,ve]}],"backdrop-saturate":[{"backdrop-saturate":[se,Ae,ve]}],"backdrop-sepia":[{"backdrop-sepia":["",se,Ae,ve]}],"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",Ae,ve]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[se,"initial",Ae,ve]}],ease:[{ease:["linear","initial",b,Ae,ve]}],delay:[{delay:[se,Ae,ve]}],animate:[{animate:["none",v,Ae,ve]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,Ae,ve]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:D()}],"rotate-x":[{"rotate-x":D()}],"rotate-y":[{"rotate-y":D()}],"rotate-z":[{"rotate-z":D()}],scale:[{scale:M()}],"scale-x":[{"scale-x":M()}],"scale-y":[{"scale-y":M()}],"scale-z":[{"scale-z":M()}],"scale-3d":["scale-3d"],skew:[{skew:V()}],"skew-x":[{"skew-x":V()}],"skew-y":[{"skew-y":V()}],transform:[{transform:[Ae,ve,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:j()}],"translate-x":[{"translate-x":j()}],"translate-y":[{"translate-y":j()}],"translate-z":[{"translate-z":j()}],"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",Ae,ve]}],"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",Ae,ve]}],fill:[{fill:["none",...S()]}],"stroke-w":[{stroke:[se,Ne,ye,xe]}],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"]}},We=(e,t,n)=>{void 0!==n&&(e[t]=n)},Fe=(e,t)=>{if(t)for(const n in t)We(e,n,t[n])},Xe=(e,t)=>{if(t)for(const n in t)ze(e,t,n)},ze=(e,t,n)=>{const r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},Ze=((e,...t)=>"function"==typeof e?$(He,e,...t):$(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:i={},override:o={}})=>(We(e,"cacheSize",t),We(e,"prefix",n),We(e,"experimentalParseClassName",r),Fe(e.theme,o.theme),Fe(e.classGroups,o.classGroups),Fe(e.conflictingClassGroups,o.conflictingClassGroups),Fe(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),We(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),Xe(e.theme,i.theme),Xe(e.classGroups,i.classGroups),Xe(e.conflictingClassGroups,i.conflictingClassGroups),Xe(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),ze(e,i,"orderSensitiveModifiers"),e))(He(),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"]}}}),Ye=(...e)=>Ze(G(...e)),_e=(e="#24A76A")=>`<svg xmlns="http://www.w3.org/2000/svg" width="684" height="107" viewBox="0 0 684 107" fill="none">\n <g clip-path="url(#clip0_12352_9042)">\n <path d="M154.09 -70.5605C173.769 -7.58032 204.79 24.8889 328.202 55.2823C444.619 83.9133 629.479 141.332 667.653 80.7015C691.679 45.2165 678.322 -5.62201 670.537 -46.3554C664.452 -73.1846 658.327 -97.1939 652.913 -123.475C651.135 -132.091 638.766 -131.974 637.067 -123.318C628.136 -77.6888 612.526 -44.9062 577.593 -22.4637C517.962 20.1889 377.954 -6.48361 303.148 -38.287C223.245 -70.7171 200.918 -132.366 195.425 -199.341C193.37 -235.257 198.467 -269.841 208.07 -299.569C210.915 -308.303 199.218 -314.178 193.844 -306.697C151.324 -247.751 137.69 -140.395 154.129 -70.5213" fill="${e}" />\n <path d="M167.605 -417.382C104.062 -397.877 71.302 -367.131 40.6368 -244.813C11.7499 -129.428 -46.182 53.7941 14.9903 91.6292C50.7927 115.443 102.086 102.204 143.183 94.4883C170.253 88.4567 194.476 82.3858 220.992 77.02C229.686 75.2574 229.568 62.9983 220.834 61.3141C174.797 52.4624 141.721 36.9915 119.078 2.36813C76.0441 -56.7345 102.955 -195.502 135.043 -269.645C167.763 -348.84 229.963 -370.969 297.537 -376.414C333.774 -378.45 368.667 -373.398 398.661 -363.88C407.473 -361.06 413.401 -372.654 405.853 -377.98C346.38 -420.124 238.064 -433.636 167.565 -417.343" fill="${e}" />\n </g>\n <defs>\n <clipPath id="clip0_12352_9042">\n <rect width="684" height="107" fill="white" />\n </clipPath>\n </defs>\n </svg>`,Je="function"==typeof Buffer,Ue="function"==typeof TextDecoder?new TextDecoder:void 0,$e="function"==typeof TextEncoder?new TextEncoder:void 0,Ke=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Qe=(()=>{let e={};return Ke.forEach((t,n)=>e[t]=n),e})(),qe=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,et=String.fromCharCode.bind(String),tt="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),nt=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),rt=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),it=e=>{let t,n,r,i,o="";const a=e.length%3;for(let a=0;a<e.length;){if((n=e.charCodeAt(a++))>255||(r=e.charCodeAt(a++))>255||(i=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|i,o+=Ke[t>>18&63]+Ke[t>>12&63]+Ke[t>>6&63]+Ke[63&t]}return a?o.slice(0,a-3)+"===".substring(a):o},ot="function"==typeof btoa?e=>btoa(e):Je?e=>Buffer.from(e,"binary").toString("base64"):it,at=Je?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let n=0,r=e.length;n<r;n+=4096)t.push(et.apply(null,e.subarray(n,n+4096)));return ot(t.join(""))},st=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?et(192|t>>>6)+et(128|63&t):et(224|t>>>12&15)+et(128|t>>>6&63)+et(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return et(240|t>>>18&7)+et(128|t>>>12&63)+et(128|t>>>6&63)+et(128|63&t)},lt=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ct=e=>e.replace(lt,st),ut=Je?e=>Buffer.from(e,"utf8").toString("base64"):$e?e=>at($e.encode(e)):e=>ot(ct(e)),dt=(e,t=!1)=>t?nt(ut(e)):ut(e),pt=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ht=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return et((t>>>10)+55296)+et(56320+(1023&t));case 3:return et((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return et((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},mt=e=>e.replace(pt,ht),ft=e=>{if(e=e.replace(/\s+/g,""),!qe.test(e))throw new TypeError("malformed base64.");let t,n,r;e+="==".slice(2-(3&e.length));let i=[];for(let o=0;o<e.length;)t=Qe[e.charAt(o++)]<<18|Qe[e.charAt(o++)]<<12|(n=Qe[e.charAt(o++)])<<6|(r=Qe[e.charAt(o++)]),64===n?i.push(et(t>>16&255)):64===r?i.push(et(t>>16&255,t>>8&255)):i.push(et(t>>16&255,t>>8&255,255&t));return i.join("")},gt="function"==typeof atob?e=>atob(rt(e)):Je?e=>Buffer.from(e,"base64").toString("binary"):ft,bt=Je?e=>tt(Buffer.from(e,"base64")):e=>tt(gt(e).split("").map(e=>e.charCodeAt(0))),vt=Je?e=>Buffer.from(e,"base64").toString("utf8"):Ue?e=>Ue.decode(bt(e)):e=>mt(gt(e)),yt=e=>rt(e.replace(/[-_]/g,e=>"-"==e?"+":"/")),xt=e=>vt(yt(e)),It=dt,wt=xt;
3
+ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as r from"react";import i,{forwardRef as o,useEffect as a,useRef as s,useMemo as l,useState as c,createElement as u,createContext as d,useLayoutEffect as p,useContext as h,useInsertionEffect as m,useCallback as f,useId as g,cloneElement as b,Children as v,isValidElement as y,Fragment as x,useReducer as w,Component as I}from"react";import*as C from"next/link";import A from"next/link";import N from"next/image";import E,{flushSync as T,createPortal as S}from"react-dom";import{useRouter as k,usePathname as P,useSearchParams as B}from"next/navigation";function L(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=L(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function R(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=L(e))&&(r&&(r+=" "),r+=t);return r}const O=e=>{const t=V(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),G(n,t)||D(e)},getConflictingClassGroupIds:(e,t)=>{const i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},G=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?G(e.slice(1),r):void 0;if(i)return i;if(0===t.validators.length)return;const o=e.join("-");return t.validators.find(({validator:e})=>e(o))?.classGroupId},M=/^\[(.+)\]$/,D=e=>{if(M.test(e)){const t=M.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},V=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)j(n[e],r,e,t);return r},j=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:H(t,e)).classGroupId=n)}if("function"==typeof e)return F(e)?void j(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,i])=>{j(i,H(t,e),n,r)})})},H=(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},F=e=>e.isThemeGetter,W=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(i,o)=>{n.set(i,o),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))?(i(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}},X=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,i=0,o=0;for(let a=0;a<e.length;a++){let s=e[a];if(0===r&&0===i){if(":"===s){t.push(e.slice(o,a)),o=a+1;continue}if("/"===s){n=a;continue}}"["===s?r++:"]"===s?r--:"("===s?i++:")"===s&&i--}const a=0===t.length?e:e.substring(o),s=z(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,maybePostfixModifierPosition:n&&n>o?n-o: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},z=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,Z=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}},_=/\s+/;function Y(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=J(e))&&(r&&(r+=" "),r+=t);return r}const J=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=J(e[r]))&&(n&&(n+=" "),n+=t);return n};function U(e,...t){let n,r,i,o=function(s){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:W(e.cacheSize),parseClassName:X(e),sortModifiers:Z(e),...O(e)}))(l),r=n.cache.get,i=n.cache.set,o=a,a(s)};function a(e){const t=r(e);if(t)return t;const o=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o}=t,a=[],s=e.trim().split(_);let l="";for(let e=s.length-1;e>=0;e-=1){const t=s[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:h}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let m=!!h,f=r(m?p.substring(0,h):p);if(!f){if(!m){l=t+(l.length>0?" "+l:l);continue}if(f=r(p),!f){l=t+(l.length>0?" "+l:l);continue}m=!1}const g=o(u).join(":"),b=d?g+"!":g,v=b+f;if(a.includes(v))continue;a.push(v);const y=i(f,m);for(let e=0;e<y.length;++e){const t=y[e];a.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return i(e,o),o}return function(){return o(Y.apply(null,arguments))}}const $=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},K=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Q=/^\((?:(\w[\w-]*):)?(.+)\)$/i,q=/^\d+\/\d+$/,ee=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,te=/\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$/,ne=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,re=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ie=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,oe=e=>q.test(e),ae=e=>!!e&&!Number.isNaN(Number(e)),se=e=>!!e&&Number.isInteger(Number(e)),le=e=>e.endsWith("%")&&ae(e.slice(0,-1)),ce=e=>ee.test(e),ue=()=>!0,de=e=>te.test(e)&&!ne.test(e),pe=()=>!1,he=e=>re.test(e),me=e=>ie.test(e),fe=e=>!be(e)&&!Ce(e),ge=e=>Pe(e,Oe,pe),be=e=>K.test(e),ve=e=>Pe(e,Ge,de),ye=e=>Pe(e,Me,ae),xe=e=>Pe(e,Le,pe),we=e=>Pe(e,Re,me),Ie=e=>Pe(e,Ve,he),Ce=e=>Q.test(e),Ae=e=>Be(e,Ge),Ne=e=>Be(e,De),Ee=e=>Be(e,Le),Te=e=>Be(e,Oe),Se=e=>Be(e,Re),ke=e=>Be(e,Ve,!0),Pe=(e,t,n)=>{const r=K.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},Be=(e,t,n=!1)=>{const r=Q.exec(e);return!!r&&(r[1]?t(r[1]):n)},Le=e=>"position"===e||"percentage"===e,Re=e=>"image"===e||"url"===e,Oe=e=>"length"===e||"size"===e||"bg-size"===e,Ge=e=>"length"===e,Me=e=>"number"===e,De=e=>"family-name"===e,Ve=e=>"shadow"===e,je=()=>{const e=$("color"),t=$("font"),n=$("text"),r=$("font-weight"),i=$("tracking"),o=$("leading"),a=$("breakpoint"),s=$("container"),l=$("spacing"),c=$("radius"),u=$("shadow"),d=$("inset-shadow"),p=$("text-shadow"),h=$("drop-shadow"),m=$("blur"),f=$("perspective"),g=$("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,be],x=()=>[Ce,be,l],w=()=>[oe,"full","auto",...x()],I=()=>[se,"none","subgrid",Ce,be],C=()=>["auto",{span:["full",se,Ce,be]},se,Ce,be],A=()=>[se,"auto",Ce,be],N=()=>["auto","min","max","fr",Ce,be],E=()=>["auto",...x()],T=()=>[oe,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],S=()=>[e,Ce,be],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Ee,xe,{position:[Ce,be]}],P=()=>["auto","cover","contain",Te,ge,{size:[Ce,be]}],B=()=>[le,Ae,ve],L=()=>["","none","full",c,Ce,be],R=()=>["",ae,Ae,ve],O=()=>[ae,le,Ee,xe],G=()=>["","none",m,Ce,be],M=()=>["none",ae,Ce,be],D=()=>["none",ae,Ce,be],V=()=>[ae,Ce,be],j=()=>[oe,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ce],breakpoint:[ce],color:[ue],container:[ce],"drop-shadow":[ce],ease:["in","out","in-out"],font:[fe],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ce],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ce],shadow:[ce],spacing:["px",ae],text:[ce],"text-shadow":[ce],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",oe,be,Ce,g]}],container:["container"],columns:[{columns:[ae,be,Ce,s]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset: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:[se,"auto",Ce,be]}],basis:[{basis:[oe,"full","auto",s,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ae,oe,"auto","initial","none",be]}],grow:[{grow:["",ae,Ce,be]}],shrink:[{shrink:["",ae,Ce,be]}],order:[{order:[se,"first","last","none",Ce,be]}],"grid-cols":[{"grid-cols":I()}],"col-start-end":[{col:C()}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":I()}],"row-start-end":[{row:C()}],"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: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:[s,"screen",...T()]}],"min-w":[{"min-w":[s,"screen","none",...T()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...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,Ae,ve]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Ce,ye]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",le,be]}],"font-family":[{font:[Ne,be,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,be]}],"line-clamp":[{"line-clamp":[ae,"none",Ce,ye]}],leading:[{leading:[o,...x()]}],"list-image":[{"list-image":["none",Ce,be]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ce,be]}],"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:[ae,"from-font","auto",Ce,ve]}],"text-decoration-color":[{decoration:S()}],"underline-offset":[{"underline-offset":[ae,"auto",Ce,be]}],"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,be]}],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,be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:k()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:P()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},se,Ce,be],radial:["",Ce,be],conic:[se,Ce,be]},Se,we]}],"bg-color":[{bg:S()}],"gradient-from-pos":[{from:B()}],"gradient-via-pos":[{via:B()}],"gradient-to-pos":[{to:B()}],"gradient-from":[{from:S()}],"gradient-via":[{via:S()}],"gradient-to":[{to:S()}],rounded:[{rounded:L()}],"rounded-s":[{"rounded-s":L()}],"rounded-e":[{"rounded-e":L()}],"rounded-t":[{"rounded-t":L()}],"rounded-r":[{"rounded-r":L()}],"rounded-b":[{"rounded-b":L()}],"rounded-l":[{"rounded-l":L()}],"rounded-ss":[{"rounded-ss":L()}],"rounded-se":[{"rounded-se":L()}],"rounded-ee":[{"rounded-ee":L()}],"rounded-es":[{"rounded-es":L()}],"rounded-tl":[{"rounded-tl":L()}],"rounded-tr":[{"rounded-tr":L()}],"rounded-br":[{"rounded-br":L()}],"rounded-bl":[{"rounded-bl":L()}],"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: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":[ae,Ce,be]}],"outline-w":[{outline:["",ae,Ae,ve]}],"outline-color":[{outline:S()}],shadow:[{shadow:["","none",u,ke,Ie]}],"shadow-color":[{shadow:S()}],"inset-shadow":[{"inset-shadow":["none",d,ke,Ie]}],"inset-shadow-color":[{"inset-shadow":S()}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:S()}],"ring-offset-w":[{"ring-offset":[ae,ve]}],"ring-offset-color":[{"ring-offset":S()}],"inset-ring-w":[{"inset-ring":R()}],"inset-ring-color":[{"inset-ring":S()}],"text-shadow":[{"text-shadow":["none",p,ke,Ie]}],"text-shadow-color":[{"text-shadow":S()}],opacity:[{opacity:[ae,Ce,be]}],"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":[ae]}],"mask-image-linear-from-pos":[{"mask-linear-from":O()}],"mask-image-linear-to-pos":[{"mask-linear-to":O()}],"mask-image-linear-from-color":[{"mask-linear-from":S()}],"mask-image-linear-to-color":[{"mask-linear-to":S()}],"mask-image-t-from-pos":[{"mask-t-from":O()}],"mask-image-t-to-pos":[{"mask-t-to":O()}],"mask-image-t-from-color":[{"mask-t-from":S()}],"mask-image-t-to-color":[{"mask-t-to":S()}],"mask-image-r-from-pos":[{"mask-r-from":O()}],"mask-image-r-to-pos":[{"mask-r-to":O()}],"mask-image-r-from-color":[{"mask-r-from":S()}],"mask-image-r-to-color":[{"mask-r-to":S()}],"mask-image-b-from-pos":[{"mask-b-from":O()}],"mask-image-b-to-pos":[{"mask-b-to":O()}],"mask-image-b-from-color":[{"mask-b-from":S()}],"mask-image-b-to-color":[{"mask-b-to":S()}],"mask-image-l-from-pos":[{"mask-l-from":O()}],"mask-image-l-to-pos":[{"mask-l-to":O()}],"mask-image-l-from-color":[{"mask-l-from":S()}],"mask-image-l-to-color":[{"mask-l-to":S()}],"mask-image-x-from-pos":[{"mask-x-from":O()}],"mask-image-x-to-pos":[{"mask-x-to":O()}],"mask-image-x-from-color":[{"mask-x-from":S()}],"mask-image-x-to-color":[{"mask-x-to":S()}],"mask-image-y-from-pos":[{"mask-y-from":O()}],"mask-image-y-to-pos":[{"mask-y-to":O()}],"mask-image-y-from-color":[{"mask-y-from":S()}],"mask-image-y-to-color":[{"mask-y-to":S()}],"mask-image-radial":[{"mask-radial":[Ce,be]}],"mask-image-radial-from-pos":[{"mask-radial-from":O()}],"mask-image-radial-to-pos":[{"mask-radial-to":O()}],"mask-image-radial-from-color":[{"mask-radial-from":S()}],"mask-image-radial-to-color":[{"mask-radial-to":S()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[ae]}],"mask-image-conic-from-pos":[{"mask-conic-from":O()}],"mask-image-conic-to-pos":[{"mask-conic-to":O()}],"mask-image-conic-from-color":[{"mask-conic-from":S()}],"mask-image-conic-to-color":[{"mask-conic-to":S()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:k()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:P()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ce,be]}],filter:[{filter:["","none",Ce,be]}],blur:[{blur:G()}],brightness:[{brightness:[ae,Ce,be]}],contrast:[{contrast:[ae,Ce,be]}],"drop-shadow":[{"drop-shadow":["","none",h,ke,Ie]}],"drop-shadow-color":[{"drop-shadow":S()}],grayscale:[{grayscale:["",ae,Ce,be]}],"hue-rotate":[{"hue-rotate":[ae,Ce,be]}],invert:[{invert:["",ae,Ce,be]}],saturate:[{saturate:[ae,Ce,be]}],sepia:[{sepia:["",ae,Ce,be]}],"backdrop-filter":[{"backdrop-filter":["","none",Ce,be]}],"backdrop-blur":[{"backdrop-blur":G()}],"backdrop-brightness":[{"backdrop-brightness":[ae,Ce,be]}],"backdrop-contrast":[{"backdrop-contrast":[ae,Ce,be]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ae,Ce,be]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ae,Ce,be]}],"backdrop-invert":[{"backdrop-invert":["",ae,Ce,be]}],"backdrop-opacity":[{"backdrop-opacity":[ae,Ce,be]}],"backdrop-saturate":[{"backdrop-saturate":[ae,Ce,be]}],"backdrop-sepia":[{"backdrop-sepia":["",ae,Ce,be]}],"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,be]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ae,"initial",Ce,be]}],ease:[{ease:["linear","initial",b,Ce,be]}],delay:[{delay:[ae,Ce,be]}],animate:[{animate:["none",v,Ce,be]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,Ce,be]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:M()}],"rotate-x":[{"rotate-x":M()}],"rotate-y":[{"rotate-y":M()}],"rotate-z":[{"rotate-z":M()}],scale:[{scale:D()}],"scale-x":[{"scale-x":D()}],"scale-y":[{"scale-y":D()}],"scale-z":[{"scale-z":D()}],"scale-3d":["scale-3d"],skew:[{skew:V()}],"skew-x":[{"skew-x":V()}],"skew-y":[{"skew-y":V()}],transform:[{transform:[Ce,be,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:j()}],"translate-x":[{"translate-x":j()}],"translate-y":[{"translate-y":j()}],"translate-z":[{"translate-z":j()}],"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",Ce,be]}],"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,be]}],fill:[{fill:["none",...S()]}],"stroke-w":[{stroke:[ae,Ae,ve,ye]}],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"]}},He=(e,t,n)=>{void 0!==n&&(e[t]=n)},Fe=(e,t)=>{if(t)for(const n in t)He(e,n,t[n])},We=(e,t)=>{if(t)for(const n in t)Xe(e,t,n)},Xe=(e,t,n)=>{const r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},ze=((e,...t)=>"function"==typeof e?U(je,e,...t):U(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:i={},override:o={}})=>(He(e,"cacheSize",t),He(e,"prefix",n),He(e,"experimentalParseClassName",r),Fe(e.theme,o.theme),Fe(e.classGroups,o.classGroups),Fe(e.conflictingClassGroups,o.conflictingClassGroups),Fe(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),He(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),We(e.theme,i.theme),We(e.classGroups,i.classGroups),We(e.conflictingClassGroups,i.conflictingClassGroups),We(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),Xe(e,i,"orderSensitiveModifiers"),e))(je(),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"]}}}),Ze=(...e)=>ze(R(...e)),_e=(e="#24A76A")=>`<svg xmlns="http://www.w3.org/2000/svg" width="684" height="107" viewBox="0 0 684 107" fill="none">\n <g clip-path="url(#clip0_12352_9042)">\n <path d="M154.09 -70.5605C173.769 -7.58032 204.79 24.8889 328.202 55.2823C444.619 83.9133 629.479 141.332 667.653 80.7015C691.679 45.2165 678.322 -5.62201 670.537 -46.3554C664.452 -73.1846 658.327 -97.1939 652.913 -123.475C651.135 -132.091 638.766 -131.974 637.067 -123.318C628.136 -77.6888 612.526 -44.9062 577.593 -22.4637C517.962 20.1889 377.954 -6.48361 303.148 -38.287C223.245 -70.7171 200.918 -132.366 195.425 -199.341C193.37 -235.257 198.467 -269.841 208.07 -299.569C210.915 -308.303 199.218 -314.178 193.844 -306.697C151.324 -247.751 137.69 -140.395 154.129 -70.5213" fill="${e}" />\n <path d="M167.605 -417.382C104.062 -397.877 71.302 -367.131 40.6368 -244.813C11.7499 -129.428 -46.182 53.7941 14.9903 91.6292C50.7927 115.443 102.086 102.204 143.183 94.4883C170.253 88.4567 194.476 82.3858 220.992 77.02C229.686 75.2574 229.568 62.9983 220.834 61.3141C174.797 52.4624 141.721 36.9915 119.078 2.36813C76.0441 -56.7345 102.955 -195.502 135.043 -269.645C167.763 -348.84 229.963 -370.969 297.537 -376.414C333.774 -378.45 368.667 -373.398 398.661 -363.88C407.473 -361.06 413.401 -372.654 405.853 -377.98C346.38 -420.124 238.064 -433.636 167.565 -417.343" fill="${e}" />\n </g>\n <defs>\n <clipPath id="clip0_12352_9042">\n <rect width="684" height="107" fill="white" />\n </clipPath>\n </defs>\n </svg>`,Ye="function"==typeof Buffer,Je="function"==typeof TextDecoder?new TextDecoder:void 0,Ue="function"==typeof TextEncoder?new TextEncoder:void 0,$e=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Ke=(()=>{let e={};return $e.forEach((t,n)=>e[t]=n),e})(),Qe=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,qe=String.fromCharCode.bind(String),et="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),tt=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),nt=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),rt=e=>{let t,n,r,i,o="";const a=e.length%3;for(let a=0;a<e.length;){if((n=e.charCodeAt(a++))>255||(r=e.charCodeAt(a++))>255||(i=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|i,o+=$e[t>>18&63]+$e[t>>12&63]+$e[t>>6&63]+$e[63&t]}return a?o.slice(0,a-3)+"===".substring(a):o},it="function"==typeof btoa?e=>btoa(e):Ye?e=>Buffer.from(e,"binary").toString("base64"):rt,ot=Ye?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let n=0,r=e.length;n<r;n+=4096)t.push(qe.apply(null,e.subarray(n,n+4096)));return it(t.join(""))},at=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?qe(192|t>>>6)+qe(128|63&t):qe(224|t>>>12&15)+qe(128|t>>>6&63)+qe(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return qe(240|t>>>18&7)+qe(128|t>>>12&63)+qe(128|t>>>6&63)+qe(128|63&t)},st=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,lt=e=>e.replace(st,at),ct=Ye?e=>Buffer.from(e,"utf8").toString("base64"):Ue?e=>ot(Ue.encode(e)):e=>it(lt(e)),ut=(e,t=!1)=>t?tt(ct(e)):ct(e),dt=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,pt=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return qe((t>>>10)+55296)+qe(56320+(1023&t));case 3:return qe((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return qe((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},ht=e=>e.replace(dt,pt),mt=e=>{if(e=e.replace(/\s+/g,""),!Qe.test(e))throw new TypeError("malformed base64.");let t,n,r;e+="==".slice(2-(3&e.length));let i=[];for(let o=0;o<e.length;)t=Ke[e.charAt(o++)]<<18|Ke[e.charAt(o++)]<<12|(n=Ke[e.charAt(o++)])<<6|(r=Ke[e.charAt(o++)]),64===n?i.push(qe(t>>16&255)):64===r?i.push(qe(t>>16&255,t>>8&255)):i.push(qe(t>>16&255,t>>8&255,255&t));return i.join("")},ft="function"==typeof atob?e=>atob(nt(e)):Ye?e=>Buffer.from(e,"base64").toString("binary"):mt,gt=Ye?e=>et(Buffer.from(e,"base64")):e=>et(ft(e).split("").map(e=>e.charCodeAt(0))),bt=Ye?e=>Buffer.from(e,"base64").toString("utf8"):Je?e=>Je.decode(gt(e)):e=>ht(ft(e)),vt=e=>nt(e.replace(/[-_]/g,e=>"-"==e?"+":"/")),yt=e=>bt(vt(e)),xt=ut,wt=yt;
4
4
  /*! js-cookie v3.0.5 | MIT */
5
- function Ct(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var At=function e(t,n){function r(e,r,i){if("undefined"!=typeof document){"number"==typeof(i=Ct({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var a in i)i[a]&&(o+="; "+a,!0!==i[a]&&(o+="="+i[a].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+o}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var o=n[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(r[s]=t.read(a,s),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",Ct({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,Ct({},this.attributes,t))},withConverter:function(t){return e(Ct({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});const Nt=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const Et=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,Tt=e=>{if(!e)return null;if(Et(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return Et(t)?t:null}return null};function St(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var kt,Pt={},Bt={},Lt={};function Rt(){return kt||(kt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return t}});var t=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({})}(Lt)),Lt}var Gt,Ot={};function Dt(){return Gt||(Gt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return t}});var t=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({})}(Ot)),Ot}var Mt,Vt={};function jt(){return Mt||(Mt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return t}});var t=function(e){return e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough",e}({})}(Vt)),Vt}var Ht,Wt={};function Ft(){return Ht||(Ht=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get CONTAINERS(){return p},get HEADINGS(){return h},get LIST_ITEM_BLOCKS(){return c},get TABLE_BLOCKS(){return u},get TEXT_CONTAINERS(){return m},get TOP_LEVEL_BLOCKS(){return l},get V1_MARKS(){return g},get V1_NODE_TYPES(){return f},get VOID_BLOCKS(){return d}});var t=Rt(),n=Dt(),r=jt();function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a,s,l=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE,t.BLOCKS.TABLE],c=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],u=[t.BLOCKS.TABLE,t.BLOCKS.TABLE_ROW,t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],d=[t.BLOCKS.HR,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],p=(o(a={},t.BLOCKS.OL_LIST,[t.BLOCKS.LIST_ITEM]),o(a,t.BLOCKS.UL_LIST,[t.BLOCKS.LIST_ITEM]),o(a,t.BLOCKS.LIST_ITEM,c),o(a,t.BLOCKS.QUOTE,[t.BLOCKS.PARAGRAPH]),o(a,t.BLOCKS.TABLE,[t.BLOCKS.TABLE_ROW]),o(a,t.BLOCKS.TABLE_ROW,[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL]),o(a,t.BLOCKS.TABLE_CELL,[t.BLOCKS.PARAGRAPH,t.BLOCKS.UL_LIST,t.BLOCKS.OL_LIST]),o(a,t.BLOCKS.TABLE_HEADER_CELL,[t.BLOCKS.PARAGRAPH]),a),h=[t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6],m=[t.BLOCKS.PARAGRAPH].concat(function(e){if(Array.isArray(e))return i(e)}(s=h)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(s)||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.")}()),f=[t.BLOCKS.DOCUMENT,t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.LIST_ITEM,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,n.INLINES.HYPERLINK,n.INLINES.ENTRY_HYPERLINK,n.INLINES.ASSET_HYPERLINK,n.INLINES.EMBEDDED_ENTRY,"text"],g=[r.MARKS.BOLD,r.MARKS.CODE,r.MARKS.ITALIC,r.MARKS.UNDERLINE]}(Wt)),Wt}var Xt,zt={};var Zt,Yt={};var _t,Jt={};var Ut,$t={};function Kt(){return Ut||(Ut=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get isBlock(){return s},get isEmptyParagraph(){return c},get isInline(){return a},get isText(){return l},get stripEmptyTrailingParagraphFromDocument(){return p}});var t=Rt(),n=Dt();function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function o(e,t){var n=!0,r=!1,i=void 0;try{for(var o,a=Object.keys(e)[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){if(t===e[o.value])return!0}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}return!1}function a(e){return o(n.INLINES,e.nodeType)}function s(e){return o(t.BLOCKS,e.nodeType)}function l(e){return"text"===e.nodeType}function c(e){if(e.nodeType!==t.BLOCKS.PARAGRAPH)return!1;if(1!==e.content.length)return!1;var n=e.content[0];return"text"===n.nodeType&&""===n.value}function u(e){return null!=e&&"object"==(void 0===e?"undefined":(t=e)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)&&"content"in e&&Array.isArray(e.content);var t}var d=2;function p(e){return!u(e)||e.content.length<d?e:c(e.content[e.content.length-1])?i(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){r(e,t,n[t])})}return e}({},e),{content:e.content.slice(0,-1)}):e}}($t)),$t}var Qt,qt,en={},tn={};function nn(){return qt?Qt:(qt=1,Qt=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype})}var rn,on,an={};function sn(){return rn||(rn=1,function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function n(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(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.")}()}Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get enumError(){return a},get maxSizeError(){return o},get minSizeError(){return i},get requiredPropertyError(){return l},get typeMismatchError(){return r},get unknownPropertyError(){return s}});var r=function(e){var t=e.path,n=e.property,r=e.typeName,i=e.value;return{details:'The type of "'.concat(n,'" is incorrect, expected type: ').concat(r),name:"type",path:t.toArray(),type:r,value:i}},i=function(e){var t=e.min,n=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:n}},o=function(e){var t=e.max,n=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:n}},a=function(e){var t=e.expected,r=e.value,i=e.path;return{details:"Value must be one of expected values",name:"in",expected:n(t).sort(),path:i.toArray(),value:r}},s=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:n.toArray()}},l=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:n.toArray()}}}(an)),an}function ln(){return on||(on=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ObjectAssertion",{enumerable:!0,get:function(){return l}});var t=a(nn()),n=sn();function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(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 l=function(){function e(r,i){var a=this,l=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),o(this,"obj",void 0),o(this,"path",void 0),o(this,"_errors",void 0),o(this,"catch",void 0),o(this,"exists",void 0),o(this,"object",void 0),o(this,"string",void 0),o(this,"number",void 0),o(this,"array",void 0),o(this,"enum",void 0),o(this,"empty",void 0),o(this,"minLength",void 0),o(this,"noAdditionalProperties",void 0),o(this,"each",void 0),this.obj=r,this.path=i,this._errors=[],this.catch=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;(r=l._errors).push.apply(r,s(t))},this.exists=function(e){return e in a.obj||(a.catch((0,n.requiredPropertyError)({property:e,path:a.path.of(e)})),!1)},this.object=function(e){var r=e?a.obj[e]:a.obj;if(e&&!a.exists(e))return!1;if((0,t.default)(r))return!0;var i,o=e?a.path.of(e):a.path,s=null!==(i=null!=e?e:a.path.last())&&void 0!==i?i:"value";return a.catch((0,n.typeMismatchError)({typeName:"Object",property:s,path:o,value:r})),!1},this.string=function(e){var t=a.obj[e];return!(e&&!a.exists(e))&&("string"==typeof t||(a.catch((0,n.typeMismatchError)({typeName:"String",property:e,path:a.path.of(e),value:t})),!1))},this.number=function(e,t){var r=a.obj[e];return!(!t||e in a.obj)||!!a.exists(e)&&("number"==typeof r&&!Number.isNaN(r)||(a.catch((0,n.typeMismatchError)({typeName:"Number",property:e,path:a.path.of(e),value:r})),!1))},this.array=function(e){var t=a.obj[e];return!(e&&!a.exists(e))&&(!!Array.isArray(t)||(a.catch((0,n.typeMismatchError)({typeName:"Array",property:e,path:a.path.of(e),value:t})),!1))},this.enum=function(e,t){var r=a.obj[e];return!("string"!=typeof r||!t.includes(r))||(a.catch((0,n.enumError)({expected:t,value:r,path:a.path.of(e)})),!1)},this.empty=function(e){if(!a.array(e))return!1;var t=a.obj[e];return 0===t.length||(a.catch((0,n.maxSizeError)({max:0,value:t,path:a.path.of(e)})),!1)},this.minLength=function(e,t){if(!a.array(e))return!1;var r=a.obj[e];return r.length>=t||(a.catch((0,n.minSizeError)({min:t,value:r,path:a.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(a.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return a.catch((0,n.unknownPropertyError)({property:e,path:a.path.of(e)}))}),0===t.length},this.each=function(e,t){if(a.array(e)){var n=a.obj[e],r=!1;n.forEach(function(n,i){if(!r){var o=t(n,a.path.of(e).of(i));o.length>0&&(r=!0),a.catch.apply(a,s(o))}})}}}return i(e,[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(n,r){return e._errors.findIndex(function(e){return t(n)===t(e)})===r})}}]),e}()}(tn)),tn}var cn,un={};function dn(){return cn||(cn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get EntityLinkAssertion(){return f},get HyperLinkAssertion(){return g},get NodeAssertion(){return m},get VOID_CONTENT(){return h},get assert(){return b},get assertLink(){return v}});var t=ln();function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t,n){return t=l(t),function(e,t){if(t&&("object"==(n=t,n&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;var n;return r(e)}(e,p()?Reflect.construct(t,n||[],l(e).constructor):t.apply(e,n))}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function c(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}}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(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.")}()}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}var h=[],m=function(){function e(t,n){o(this,e),s(this,"contentRule",void 0),s(this,"validateData",void 0),this.contentRule=t,this.validateData=n}return a(e,[{key:"assert",value:function(e,n){var r=new t.ObjectAssertion(e,n);if(!r.object())return r.errors;r.noAdditionalProperties(["nodeType","data","content"]);var i=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,n),o=i.nodeTypes,a=i.min,s=void 0===a?0:a;if(0===o.length&&s>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(s," with no nodeTypes"));if(r.minLength("content",s),0===o.length?r.empty("content"):r.each("content",function(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.enum("nodeType",o),r.errors):r.errors}),r.object("data")){var l,c,u,p=null!==(u=null===(c=this.validateData)||void 0===c?void 0:c.call(this,e.data,n.of("data")))&&void 0!==u?u:[];(l=r).catch.apply(l,d(p))}return r.errors}}]),e}(),f=function(e){function n(e,a){var l;return o(this,n),l=i(this,n,[a,function(e,t){return r(l).assertLink(e,t)}]),s(l,"linkType",void 0),s(l,"type",void 0),s(l,"assertLink",void 0),l.linkType=e,l.assertLink=function(e,n){var r=new t.ObjectAssertion(e,n);if(r.object("target")){var i,o=new t.ObjectAssertion(e.target.sys,n.of("target").of("sys"));o.object()&&(o.enum("type",[l.type]),o.enum("linkType",[l.linkType]),"Link"===l.type?(o.string("id"),o.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===l.type&&(o.string("urn"),o.noAdditionalProperties(["type","linkType","urn"]))),(i=r).catch.apply(i,d(o.errors))}return r.noAdditionalProperties(["target"]),r.errors},l.type=l.linkType.startsWith("Contentful:")?"ResourceLink":"Link",l}return c(n,e),n}(m),g=function(e){function n(){var e;return o(this,n),e=i(this,n,[["text"],function(t,n){return r(e).assertLink(t,n)}]),s(e,"assertLink",function(e,n){var r=new t.ObjectAssertion(e,n);return r.string("uri"),r.noAdditionalProperties(["uri"]),r.errors}),e}return c(n,e),n}(m),b=function(e,t){return new m(e,t)},v=function(e,t){return new f(e,t)}}(un)),un}var pn,hn={};function mn(){return pn||(pn=1,function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(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.")}()}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return i}});var i=function e(){var t=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n(this,"path",void 0),n(this,"of",void 0),n(this,"isRoot",void 0),n(this,"last",void 0),n(this,"toArray",void 0),this.path=i,this.of=function(n){return new e(r(t.path).concat([n]))},this.isRoot=function(){return 0===t.path.length},this.last=function(){return t.path[t.path.length-1]},this.toArray=function(){return t.path}}}(hn)),hn}var fn,gn,bn,vn,yn={};function xn(){return gn||(gn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"validateRichTextDocument",{enumerable:!0,get:function(){return v}});var t=Rt(),n=Dt(),r=Ft(),i=ln(),o=dn(),a=mn(),s=(fn||(fn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"assertText",{enumerable:!0,get:function(){return n}});var t=ln();function n(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.noAdditionalProperties(["nodeType","data","value","marks"]),r.object("data"),r.each("marks",function(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.string("type"),r.errors):r.errors}),r.string("value"),r.errors):r.errors}}(yn)),yn);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(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 d,p=(0,o.assert)(u(Object.values(n.INLINES)).concat(["text"]).sort()),h=(0,o.assert)([t.BLOCKS.LIST_ITEM]),m=(0,o.assertLink)("Entry",o.VOID_CONTENT),f=(0,o.assert)(function(){return{nodeTypes:[t.BLOCKS.PARAGRAPH],min:1}},function(e,t){var n=new i.ObjectAssertion(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors}),g=(c(d={},t.BLOCKS.DOCUMENT,(0,o.assert)(r.TOP_LEVEL_BLOCKS)),c(d,t.BLOCKS.PARAGRAPH,p),c(d,t.BLOCKS.HEADING_1,p),c(d,t.BLOCKS.HEADING_2,p),c(d,t.BLOCKS.HEADING_3,p),c(d,t.BLOCKS.HEADING_4,p),c(d,t.BLOCKS.HEADING_5,p),c(d,t.BLOCKS.HEADING_6,p),c(d,t.BLOCKS.QUOTE,(0,o.assert)(r.CONTAINERS[t.BLOCKS.QUOTE])),c(d,t.BLOCKS.EMBEDDED_ENTRY,m),c(d,t.BLOCKS.EMBEDDED_ASSET,(0,o.assertLink)("Asset",o.VOID_CONTENT)),c(d,t.BLOCKS.EMBEDDED_RESOURCE,(0,o.assertLink)("Contentful:Entry",o.VOID_CONTENT)),c(d,t.BLOCKS.HR,(0,o.assert)(o.VOID_CONTENT)),c(d,t.BLOCKS.OL_LIST,h),c(d,t.BLOCKS.UL_LIST,h),c(d,t.BLOCKS.LIST_ITEM,(0,o.assert)(u(r.LIST_ITEM_BLOCKS).sort())),c(d,t.BLOCKS.TABLE,(0,o.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_ROW],min:1}})),c(d,t.BLOCKS.TABLE_ROW,(0,o.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],min:1}})),c(d,t.BLOCKS.TABLE_CELL,f),c(d,t.BLOCKS.TABLE_HEADER_CELL,f),c(d,n.INLINES.HYPERLINK,new o.HyperLinkAssertion),c(d,n.INLINES.EMBEDDED_ENTRY,m),c(d,n.INLINES.EMBEDDED_RESOURCE,(0,o.assertLink)("Contentful:Entry",o.VOID_CONTENT)),c(d,n.INLINES.ENTRY_HYPERLINK,(0,o.assertLink)("Entry",["text"])),c(d,n.INLINES.ASSET_HYPERLINK,(0,o.assertLink)("Asset",["text"])),c(d,n.INLINES.RESOURCE_HYPERLINK,(0,o.assertLink)("Contentful:Entry",["text"])),d);function b(e,t){if("text"===e.nodeType)return(0,s.assertText)(e,t);var n=g[e.nodeType].assert(e,t);if(n.length>0)return n;var r=new i.ObjectAssertion(e,t);return r.each("content",function(e,t){return b(e,t)}),r.errors}var v=function(e){var n=new a.Path,r=new i.ObjectAssertion(e,n);return r.object()&&r.enum("nodeType",[t.BLOCKS.DOCUMENT]),r.errors.length>0?r.errors:b(e,n)}}(en)),en}function In(){return bn||(bn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get BLOCKS(){return t.BLOCKS},get EMPTY_DOCUMENT(){return i.EMPTY_DOCUMENT},get INLINES(){return n.INLINES},get MARKS(){return r.MARKS},get helpers(){return o},get validateRichTextDocument(){return a.validateRichTextDocument}});var t=Rt(),n=Dt(),r=jt();s(Ft(),e),s((Xt||(Xt=1,Object.defineProperty(zt,"__esModule",{value:!0})),zt),e),s((Zt||(Zt=1,Object.defineProperty(Yt,"__esModule",{value:!0})),Yt),e);var i=(_t||(_t=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return n}});var t=Rt(),n={nodeType:t.BLOCKS.DOCUMENT,data:{},content:[{nodeType:t.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}}(Jt)),Jt),o=c(Kt()),a=xn();function s(e,t){return Object.keys(e).forEach(function(n){"default"===n||Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})}),e}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}}(Bt)),Bt}var wn=function(){if(vn)return Pt;vn=1;var e=i,t=In();function n(t,n){return t.map((t,i)=>{return o=r(t,n),a=i,e.isValidElement(o)&&null===o.key?e.cloneElement(o,{key:a}):o;var o,a})}function r(r,i){const{renderNode:o,renderMark:a,renderText:s,preserveWhitespace:l}=i;if(t.helpers.isText(r)){let t=s?s(r.value):r.value;if(l&&!s){t=t.replace(/ {2,}/g,e=>" ".repeat(e.length));const n=t.split("\n"),r=[];n.forEach((t,i)=>{r.push(t),i!==n.length-1&&r.push(e.createElement("br",null))}),t=r}return r.marks.reduce((e,t)=>a[t.type]?a[t.type](e):e,t)}{const t=n(r.content,i);return r.nodeType&&o[r.nodeType]?o[r.nodeType](r,t):e.createElement(e.Fragment,null,t)}}const o={[t.BLOCKS.DOCUMENT]:(e,t)=>t,[t.BLOCKS.PARAGRAPH]:(t,n)=>e.createElement("p",null,n),[t.BLOCKS.HEADING_1]:(t,n)=>e.createElement("h1",null,n),[t.BLOCKS.HEADING_2]:(t,n)=>e.createElement("h2",null,n),[t.BLOCKS.HEADING_3]:(t,n)=>e.createElement("h3",null,n),[t.BLOCKS.HEADING_4]:(t,n)=>e.createElement("h4",null,n),[t.BLOCKS.HEADING_5]:(t,n)=>e.createElement("h5",null,n),[t.BLOCKS.HEADING_6]:(t,n)=>e.createElement("h6",null,n),[t.BLOCKS.EMBEDDED_ENTRY]:(t,n)=>e.createElement("div",null,n),[t.BLOCKS.EMBEDDED_RESOURCE]:(t,n)=>e.createElement("div",null,n),[t.BLOCKS.UL_LIST]:(t,n)=>e.createElement("ul",null,n),[t.BLOCKS.OL_LIST]:(t,n)=>e.createElement("ol",null,n),[t.BLOCKS.LIST_ITEM]:(t,n)=>e.createElement("li",null,n),[t.BLOCKS.QUOTE]:(t,n)=>e.createElement("blockquote",null,n),[t.BLOCKS.HR]:()=>e.createElement("hr",null),[t.BLOCKS.TABLE]:(t,n)=>e.createElement("table",null,e.createElement("tbody",null,n)),[t.BLOCKS.TABLE_ROW]:(t,n)=>e.createElement("tr",null,n),[t.BLOCKS.TABLE_HEADER_CELL]:(t,n)=>e.createElement("th",null,n),[t.BLOCKS.TABLE_CELL]:(t,n)=>e.createElement("td",null,n),[t.INLINES.ASSET_HYPERLINK]:e=>s(t.INLINES.ASSET_HYPERLINK,e),[t.INLINES.ENTRY_HYPERLINK]:e=>s(t.INLINES.ENTRY_HYPERLINK,e),[t.INLINES.RESOURCE_HYPERLINK]:e=>l(t.INLINES.RESOURCE_HYPERLINK,e),[t.INLINES.EMBEDDED_ENTRY]:e=>s(t.INLINES.EMBEDDED_ENTRY,e),[t.INLINES.EMBEDDED_RESOURCE]:(e,n)=>l(t.INLINES.EMBEDDED_RESOURCE,e),[t.INLINES.HYPERLINK]:(t,n)=>e.createElement("a",{href:t.data.uri},n)},a={[t.MARKS.BOLD]:t=>e.createElement("b",null,t),[t.MARKS.ITALIC]:t=>e.createElement("i",null,t),[t.MARKS.UNDERLINE]:t=>e.createElement("u",null,t),[t.MARKS.CODE]:t=>e.createElement("code",null,t),[t.MARKS.SUPERSCRIPT]:t=>e.createElement("sup",null,t),[t.MARKS.SUBSCRIPT]:t=>e.createElement("sub",null,t),[t.MARKS.STRIKETHROUGH]:t=>e.createElement("s",null,t)};function s(t,n){return e.createElement("span",{key:n.data.target.sys.id},"type: ",n.nodeType," id: ",n.data.target.sys.id)}function l(t,n){return e.createElement("span",{key:n.data.target.sys.urn},"type: ",n.nodeType," urn: ",n.data.target.sys.urn)}return Pt.documentToReactComponents=function(e,n={}){if(!e)return null;let i=e;return n.stripEmptyTrailingParagraph&&(i=t.helpers.stripEmptyTrailingParagraphFromDocument(e)),r(i,{renderNode:{...o,...n.renderNode},renderMark:{...a,...n.renderMark},renderText:n.renderText,preserveWhitespace:n.preserveWhitespace})},Pt}(),Cn=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({}),An=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({}),Nn=function(e){return e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough",e}({});function En(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Sn,kn=[Cn.PARAGRAPH,Cn.HEADING_1,Cn.HEADING_2,Cn.HEADING_3,Cn.HEADING_4,Cn.HEADING_5,Cn.HEADING_6,Cn.OL_LIST,Cn.UL_LIST,Cn.HR,Cn.QUOTE,Cn.EMBEDDED_ENTRY,Cn.EMBEDDED_ASSET,Cn.EMBEDDED_RESOURCE,Cn.TABLE],Pn=[Cn.PARAGRAPH,Cn.HEADING_1,Cn.HEADING_2,Cn.HEADING_3,Cn.HEADING_4,Cn.HEADING_5,Cn.HEADING_6,Cn.OL_LIST,Cn.UL_LIST,Cn.HR,Cn.QUOTE,Cn.EMBEDDED_ENTRY,Cn.EMBEDDED_ASSET,Cn.EMBEDDED_RESOURCE];Cn.TABLE,Cn.TABLE_ROW,Cn.TABLE_CELL,Cn.TABLE_HEADER_CELL,Cn.HR,Cn.EMBEDDED_ENTRY,Cn.EMBEDDED_ASSET,Cn.EMBEDDED_RESOURCE;var Bn,Ln=(Tn(Sn={},Cn.OL_LIST,[Cn.LIST_ITEM]),Tn(Sn,Cn.UL_LIST,[Cn.LIST_ITEM]),Tn(Sn,Cn.LIST_ITEM,Pn),Tn(Sn,Cn.QUOTE,[Cn.PARAGRAPH]),Tn(Sn,Cn.TABLE,[Cn.TABLE_ROW]),Tn(Sn,Cn.TABLE_ROW,[Cn.TABLE_CELL,Cn.TABLE_HEADER_CELL]),Tn(Sn,Cn.TABLE_CELL,[Cn.PARAGRAPH,Cn.UL_LIST,Cn.OL_LIST]),Tn(Sn,Cn.TABLE_HEADER_CELL,[Cn.PARAGRAPH]),Sn),Rn=[Cn.HEADING_1,Cn.HEADING_2,Cn.HEADING_3,Cn.HEADING_4,Cn.HEADING_5,Cn.HEADING_6];[Cn.PARAGRAPH].concat(function(e){if(Array.isArray(e))return En(e)}(Bn=Rn)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(Bn)||function(e,t){if(e){if("string"==typeof e)return En(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?En(e,t):void 0}}(Bn)||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.")}()),Cn.DOCUMENT,Cn.PARAGRAPH,Cn.HEADING_1,Cn.HEADING_2,Cn.HEADING_3,Cn.HEADING_4,Cn.HEADING_5,Cn.HEADING_6,Cn.OL_LIST,Cn.UL_LIST,Cn.LIST_ITEM,Cn.HR,Cn.QUOTE,Cn.EMBEDDED_ENTRY,Cn.EMBEDDED_ASSET,An.HYPERLINK,An.ENTRY_HYPERLINK,An.ASSET_HYPERLINK,An.EMBEDDED_ENTRY,Cn.DOCUMENT,Cn.PARAGRAPH;var Gn=St(nn());function On(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Dn(e){return function(e){if(Array.isArray(e))return On(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return On(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return On(e,t)}(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 Mn=function(e){var t=e.path,n=e.property,r=e.typeName,i=e.value;return{details:'The type of "'.concat(n,'" is incorrect, expected type: ').concat(r),name:"type",path:t.toArray(),type:r,value:i}};function Vn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function jn(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function Hn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wn(e){return function(e){if(Array.isArray(e))return Vn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Vn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Vn(e,t)}(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 Fn=function(){function e(t,n){var r=this,i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Hn(this,"obj",void 0),Hn(this,"path",void 0),Hn(this,"_errors",void 0),Hn(this,"catch",void 0),Hn(this,"exists",void 0),Hn(this,"object",void 0),Hn(this,"string",void 0),Hn(this,"number",void 0),Hn(this,"array",void 0),Hn(this,"enum",void 0),Hn(this,"empty",void 0),Hn(this,"minLength",void 0),Hn(this,"noAdditionalProperties",void 0),Hn(this,"each",void 0),this.obj=t,this.path=n,this._errors=[],this.catch=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;(r=i._errors).push.apply(r,Wn(t))},this.exists=function(e){return e in r.obj||(r.catch(function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:n.toArray()}}({property:e,path:r.path.of(e)})),!1)},this.object=function(e){var t=e?r.obj[e]:r.obj;if(e&&!r.exists(e))return!1;if(Gn(t))return!0;var n,i=e?r.path.of(e):r.path,o=null!==(n=null!=e?e:r.path.last())&&void 0!==n?n:"value";return r.catch(Mn({typeName:"Object",property:o,path:i,value:t})),!1},this.string=function(e){var t=r.obj[e];return!(e&&!r.exists(e))&&("string"==typeof t||(r.catch(Mn({typeName:"String",property:e,path:r.path.of(e),value:t})),!1))},this.number=function(e,t){var n=r.obj[e];return!(!t||e in r.obj)||!!r.exists(e)&&("number"==typeof n&&!Number.isNaN(n)||(r.catch(Mn({typeName:"Number",property:e,path:r.path.of(e),value:n})),!1))},this.array=function(e){var t=r.obj[e];return!(e&&!r.exists(e))&&(!!Array.isArray(t)||(r.catch(Mn({typeName:"Array",property:e,path:r.path.of(e),value:t})),!1))},this.enum=function(e,t){var n=r.obj[e];return!("string"!=typeof n||!t.includes(n))||(r.catch(function(e){var t=e.expected,n=e.value,r=e.path;return{details:"Value must be one of expected values",name:"in",expected:Dn(t).sort(),path:r.toArray(),value:n}}({expected:t,value:n,path:r.path.of(e)})),!1)},this.empty=function(e){if(!r.array(e))return!1;var t=r.obj[e];return 0===t.length||(r.catch(function(e){var t=e.max,n=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:n}}({max:0,value:t,path:r.path.of(e)})),!1)},this.minLength=function(e,t){if(!r.array(e))return!1;var n=r.obj[e];return n.length>=t||(r.catch(function(e){var t=e.min,n=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:n}}({min:t,value:n,path:r.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(r.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return r.catch(function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:n.toArray()}}({property:e,path:r.path.of(e)}))}),0===t.length},this.each=function(e,t){if(r.array(e)){var n=r.obj[e],i=!1;n.forEach(function(n,o){if(!i){var a=t(n,r.path.of(e).of(o));a.length>0&&(i=!0),r.catch.apply(r,Wn(a))}})}}}return jn(e,[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(n,r){return e._errors.findIndex(function(e){return t(n)===t(e)})===r})}}]),e}();function Xn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function zn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zn(e,t,n){return t=Un(t),function(e,t){if(t&&("object"==(n=t,n&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;var n;return zn(e)}(e,qn()?Reflect.construct(t,n||[],Un(e).constructor):t.apply(e,n))}function Yn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _n(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function Jn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Un(e){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Un(e)}function $n(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}}),t&&Kn(e,t)}function Kn(e,t){return Kn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Kn(e,t)}function Qn(e){return function(e){if(Array.isArray(e))return Xn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Xn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Xn(e,t)}(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.")}()}function qn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qn=function(){return!!e})()}var er=[],tr=function(){function e(t,n){Yn(this,e),Jn(this,"contentRule",void 0),Jn(this,"validateData",void 0),this.contentRule=t,this.validateData=n}return _n(e,[{key:"assert",value:function(e,t){var n=new Fn(e,t);if(!n.object())return n.errors;n.noAdditionalProperties(["nodeType","data","content"]);var r=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t),i=r.nodeTypes,o=r.min,a=void 0===o?0:o;if(0===i.length&&a>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(a," with no nodeTypes"));if(n.minLength("content",a),0===i.length?n.empty("content"):n.each("content",function(e,t){var n=new Fn(e,t);return n.object()?(n.enum("nodeType",i),n.errors):n.errors}),n.object("data")){var s,l,c,u=null!==(c=null===(l=this.validateData)||void 0===l?void 0:l.call(this,e.data,t.of("data")))&&void 0!==c?c:[];(s=n).catch.apply(s,Qn(u))}return n.errors}}]),e}(),nr=function(e){function t(e,n){var r;return Yn(this,t),r=Zn(this,t,[n,function(e,t){return zn(r).assertLink(e,t)}]),Jn(r,"linkType",void 0),Jn(r,"type",void 0),Jn(r,"assertLink",void 0),r.linkType=e,r.assertLink=function(e,t){var n=new Fn(e,t);if(n.object("target")){var i,o=new Fn(e.target.sys,t.of("target").of("sys"));o.object()&&(o.enum("type",[r.type]),o.enum("linkType",[r.linkType]),"Link"===r.type?(o.string("id"),o.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===r.type&&(o.string("urn"),o.noAdditionalProperties(["type","linkType","urn"]))),(i=n).catch.apply(i,Qn(o.errors))}return n.noAdditionalProperties(["target"]),n.errors},r.type=r.linkType.startsWith("Contentful:")?"ResourceLink":"Link",r}return $n(t,e),t}(tr),rr=function(e){function t(){var e;return Yn(this,t),e=Zn(this,t,[["text"],function(t,n){return zn(e).assertLink(t,n)}]),Jn(e,"assertLink",function(e,t){var n=new Fn(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}),e}return $n(t,e),t}(tr),ir=function(e,t){return new tr(e,t)},or=function(e,t){return new nr(e,t)};function ar(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lr(e){return function(e){if(Array.isArray(e))return ar(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ar(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ar(e,t)}(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 cr,ur=ir(lr(Object.values(An)).concat(["text"]).sort()),dr=ir([Cn.LIST_ITEM]),pr=or("Entry",er),hr=ir(function(){return{nodeTypes:[Cn.PARAGRAPH],min:1}},function(e,t){var n=new Fn(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});sr(cr={},Cn.DOCUMENT,ir(kn)),sr(cr,Cn.PARAGRAPH,ur),sr(cr,Cn.HEADING_1,ur),sr(cr,Cn.HEADING_2,ur),sr(cr,Cn.HEADING_3,ur),sr(cr,Cn.HEADING_4,ur),sr(cr,Cn.HEADING_5,ur),sr(cr,Cn.HEADING_6,ur),sr(cr,Cn.QUOTE,ir(Ln[Cn.QUOTE])),sr(cr,Cn.EMBEDDED_ENTRY,pr),sr(cr,Cn.EMBEDDED_ASSET,or("Asset",er)),sr(cr,Cn.EMBEDDED_RESOURCE,or("Contentful:Entry",er)),sr(cr,Cn.HR,ir(er)),sr(cr,Cn.OL_LIST,dr),sr(cr,Cn.UL_LIST,dr),sr(cr,Cn.LIST_ITEM,ir(lr(Pn).sort())),sr(cr,Cn.TABLE,ir(function(){return{nodeTypes:[Cn.TABLE_ROW],min:1}})),sr(cr,Cn.TABLE_ROW,ir(function(){return{nodeTypes:[Cn.TABLE_CELL,Cn.TABLE_HEADER_CELL],min:1}})),sr(cr,Cn.TABLE_CELL,hr),sr(cr,Cn.TABLE_HEADER_CELL,hr),sr(cr,An.HYPERLINK,new rr),sr(cr,An.EMBEDDED_ENTRY,pr),sr(cr,An.EMBEDDED_RESOURCE,or("Contentful:Entry",er)),sr(cr,An.ENTRY_HYPERLINK,or("Entry",["text"])),sr(cr,An.ASSET_HYPERLINK,or("Asset",["text"])),sr(cr,An.RESOURCE_HYPERLINK,or("Contentful:Entry",["text"]));const mr={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},fr=o(({children:t,className:n="",variant:r="unstyled",style:i,...o},a)=>{const s=Ye("unstyled"===r?"":"mb-1 leading-6","list-item",`list-item--${r}`,n);return e("li",{ref:a,className:s,style:i,...o,children:t})});fr.displayName="ListItem";const gr=o(({type:t="ul",items:n,className:r="",renderItem:i,children:o,variant:a="unstyled",style:s,...l},c)=>{const u=(()=>{if("unstyled"===a)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=Ye(u,`list--${t}`,`list--${a}`,r),p=o||(n&&0!==n.length?n.map((t,n)=>i?i(t,n):e(fr,{className:t.className,variant:a,children:t.content},t.id||n)):null),h={className:d,style:s,...l,children:p};return e("ol"===t?"ol":"ul",{...h,ref:c,role:"list"})});gr.displayName="List";const br=({name:t,fill:n=0,opticalSize:r="48dp",weight:i="200",emphasis:o=145,size:a=24,color:s="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${i}, 'GRAD' ${o}, 'opsz' ${r.substring(0,2)}`,fontSize:`${a}px`,fontFamily:"'Material Symbols Rounded'",color:s||"currentColor",...l};return e("span",{style:p,className:Ye("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,"aria-hidden":"true",children:t})};br.displayName="MaterialIcon";const vr=o(({children:e,as:t,className:n="",style:r,...o},a)=>{const s=t||"p";return i.createElement(s,{ref:a,className:n,style:r,...o},e)});vr.displayName="Text";const yr=n=>{const{items:r,listIconName:o="check",listItemClassName:a,listContainerClassName:s,iconSize:l=20,iconPosition:c="center",iconColor:u="green",iconClassName:d}=n,p="disc"!==o;if(!(null==r?void 0:r.length))return null;const h=t=>{if("string"==typeof t&&t.includes("|")&&(t.match(/\|/g)||[]).length%2==0){const n=t.split("|"),r=(t.match(/\|/g)||[]).length;return n.map((t,n)=>{if(!t)return null;return r>1&&n%2==1?e(vr,{as:"span",style:{fontWeight:900},children:t},n):e("span",{children:t},n)})}return t};return e(gr,{className:Ye("mt-2 space-y-1",s),variant:p?"unstyled":"default",children:r.map((n,r)=>{const s=function(e){return null!==e&&"object"==typeof e&&!i.isValidElement(e)&&"title"in e}(n),m=s&&!!n.iconUrl,f=s?n.title:n;return t(fr,{variant:p?"unstyled":"default",className:Ye(`${p?"flex":""} ${"top"===c?"items-start":"items-center"} gap-2 text-text-secondary`,a),children:[p&&m?e("div",{className:"flex shrink-0 leading-none",children:e("img",{src:n.iconUrl,alt:n.iconAlt||"",width:l,height:l,className:Ye("block object-contain","top"===c?"mt-1":"",d)})}):p?e("div",{className:"flex leading-none",children:e(br,{name:o,size:l,color:mr[u],weight:"600",className:Ye("block","top"===c?"mt-1":"",d)})}):null,e(vr,{as:"div",children:h(f)})]},r)})})};var xr;yr.displayName="Checklist";const Ir="function"==typeof A?A:null!==(xr=A.default)&&void 0!==xr?xr:A,wr=o(({children:t,href:n,className:r="",onClick:i,variant:o="unstyled",style:a,external:s=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===o)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[o]||e.default,t].filter(Boolean).join(" ")})(),p=e=>{l?e.preventDefault():null==i||i(e)},h=Ye(d,`link--${o}`,l&&"link--disabled",r),m={...c,ref:u,className:h,style:a,href:l?void 0:n,onClick:p,...s&&!l&&{target:"_blank",rel:"noopener"},...l&&{"aria-disabled":!0,tabIndex:-1}};return l||s||"string"==typeof n&&n.startsWith("http")?e("a",{...m,children:t}):e(Ir,{href:n||"#",ref:u,className:h,style:a,onClick:p,...c,children:t})});function Cr(e,t){a(()=>{if(!t)return;const n=()=>{const n=document.fullscreenElement||document.webkitFullscreenElement;t(n===e.current)};return document.addEventListener("fullscreenchange",n),document.addEventListener("webkitfullscreenchange",n),()=>{document.removeEventListener("fullscreenchange",n),document.removeEventListener("webkitfullscreenchange",n)}},[t,e])}wr.displayName="Link";const Ar=n=>{const{videoAssetUrl:r,videoAssetType:i,image:o,title:a,description:l,containerClassName:c,autoplay:u=!1,onPlay:d,onPause:p,onTimeUpdate:h,onEnded:m,onFullscreenToggle:f}=n,g=s(null);return Cr(g,f),r?e("div",{className:Ye("relative h-0 w-full overflow-hidden pb-[56.25%]",c),children:t("video",{ref:g,className:"absolute left-0 top-0 h-full w-full object-cover",controls:!0,playsInline:!0,preload:"metadata",autoPlay:u,poster:o||void 0,"aria-label":a||"Embedded video",onPlay:()=>null==d?void 0:d(),onPause:()=>null==p?void 0:p(),onEnded:()=>null==m?void 0:m(),onTimeUpdate:e=>null==h?void 0:h(e.currentTarget.currentTime,e.currentTarget.duration),children:[e("source",{src:r,type:i||"video/mp4"}),l||"Your browser does not support embedded videos."]})}):null},Nr=({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(br,{name:"play_arrow",size:72,fill:1,className:"max-w-[72px] transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),Er=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("/"),i=r[r.length-1];return(null==n?void 0:n[1])?n[1]===i?n[1]:`${n[1]}/${i}`:""},Tr=t=>{const{link:n,containerClassName:r,autoplay:i=!1,debug:o=!1,onPlay:c,onPause:u,onTimeUpdate:d,onEnded:p,onFullscreenToggle:h}=t,m=s(null),{href:f,embedId:g}=l(()=>{if(!n)return{href:"",embedId:""};const e=n.toString();return{href:e,embedId:Er(e)}},[n]);if(o&&console.log("[VimeoEmbed] href:",f,"id:",g),a(()=>{if(!g||!m.current)return;const e=new N(m.current),t=()=>null==c?void 0:c(),n=()=>null==u?void 0:u(),r=()=>null==p?void 0:p(),i=e=>null==d?void 0:d(e.seconds,e.duration),o=e=>null==h?void 0:h(e.fullscreen);return e.on("play",t),e.on("pause",n),e.on("ended",r),e.on("timeupdate",i),e.on("fullscreenchange",o),()=>{e.off("play",t),e.off("pause",n),e.off("ended",r),e.off("timeupdate",i),e.off("fullscreenchange",o),e.destroy().catch(()=>{})}},[g]),!g)return null;const b=new URLSearchParams({autoplay:i?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}),v=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],i=`https://player.vimeo.com/video/${e}`;return r&&/^[a-f0-9]+$/i.test(r)&&t.searchParams.set("h",r),`${i}?${t.searchParams.toString()}`}return e}catch(t){return e}}(`https://player.vimeo.com/video/${g}?${b.toString()}`);return e("div",{className:Ye("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e("iframe",{ref:m,className:"absolute left-0 top-0 h-full w-full",src:v,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};let Sr=null;const kr=e=>{if(!e)return"";const t=e.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return t&&11===t[7].length?t[7]:""},Pr=t=>{const{link:n,containerClassName:r,autoplay:i=!1,onPlay:o,onPause:c,onTimeUpdate:u,onEnded:d,onFullscreenToggle:p}=t,h=l(()=>kr(n),[n]),m=s(null),f=s(null),g=s();return Cr(f,p),a(()=>{if(!h||!m.current)return;let e,t=!1;const n=document.createElement("div");return n.style.width="100%",n.style.height="100%",m.current.appendChild(n),function(){var e;return"undefined"==typeof window?Promise.reject(new Error("YouTube IFrame API requires a browser")):(null===(e=window.YT)||void 0===e?void 0:e.Player)?Promise.resolve(window.YT):Sr||(Sr=new Promise((e,t)=>{const n=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{null==n||n(),e(window.YT)};let r=document.querySelector('script[src*="youtube.com/iframe_api"]');r||(r=document.createElement("script"),r.src="https://www.youtube.com/iframe_api",r.onerror=()=>{Sr=null,t(new Error("Failed to load YouTube IFrame API"))},document.head.appendChild(r))}),Sr)}().then(r=>{t||(e=new r.Player(n,{videoId:h,playerVars:{enablejsapi:1,autoplay:i?1:0,mute:i?1:0},events:{onReady:()=>{var t;const n=null===(t=e.getIframe)||void 0===t?void 0:t.call(e);n&&(n.className="absolute left-0 top-0 h-full w-full",f.current=n)},onStateChange:t=>{const n=r.PlayerState;t.data===n.PLAYING?(null==o||o(),clearInterval(g.current),g.current=setInterval(()=>{var t,n,r,i;const o=null!==(n=null===(t=null==e?void 0:e.getDuration)||void 0===t?void 0:t.call(e))&&void 0!==n?n:0,a=null!==(i=null===(r=null==e?void 0:e.getCurrentTime)||void 0===r?void 0:r.call(e))&&void 0!==i?i:0;null==u||u(a,o)},1e3)):t.data===n.PAUSED?(null==c||c(),clearInterval(g.current)):t.data===n.ENDED&&(null==d||d(),clearInterval(g.current))}}}))}).catch(()=>{}),()=>{var r;t=!0,clearInterval(g.current),null===(r=null==e?void 0:e.destroy)||void 0===r||r.call(e),n.remove()}},[h]),e("div",{className:Ye("relative h-full w-full overflow-hidden pb-[56.25%]",r),children:e("div",{ref:m,className:"absolute left-0 top-0 h-full w-full",title:"Embedded youtube"})})},Br=(e=>{let t=e;for(let e=0;e<5;e++){if("function"==typeof t)return t;if(!t||"object"!=typeof t||!("default"in t))return t;t=t.default}return t})(E),Lr=({src:e,width:t,quality:n})=>{const r=e.startsWith("//")?`https:${e}`:e;let i;try{i=new URL(r)}catch(t){return e}return i.searchParams.set("w",String(t)),i.searchParams.set("q",String(n||90)),i.searchParams.set("fm","webp"),i.toString()},Rr=o(({className:t,...n},r)=>{const i="string"==typeof n.src?n.src:"",o=i.toLowerCase().split("?")[0]||"",a=i.includes("images.ctfassets.net"),s=a&&o.endsWith(".svg"),l=a&&!s?{loader:Lr,unoptimized:!1}:{unoptimized:s};return e(Br,{ref:r,className:Ye(t),...n,...l})});Rr.displayName="NextImage";const Gr=[25,50,75];const Or=({videoLink:r,imageWidth:i=660,imageHeight:o=660,useOriginalImageAspectRatio:a=!1,isAboveTheFold:l=!1,onVideoEvent:u})=>{var d;const[p,h]=c(""),[m,f]=c(!1),g=function(e){const t=s(new Set),n=s(!1),r=s(0),i=s(0),o=(t,n,o)=>{e&&e(n,{videoId:t.videoId,videoTitle:t.videoTitle,provider:t.provider,position:r.current,duration:i.current,percentComplete:i.current>0?Math.min(100,Math.round(r.current/i.current*100)):0,...o})};return{handlePlay:e=>o(e,"played"),handlePause:e=>o(e,"paused"),handleFullscreenToggle:(e,t)=>o(e,"fullscreen_toggled",{isFullscreen:t}),handleClosed:e=>o(e,"closed"),handleTimeUpdate:(e,a,s)=>{const l=Number.isFinite(a)?a:0,c=Number.isFinite(s)?s:0;if(r.current=l,i.current=c,c<=0)return;const u=Math.min(100,l/c*100);Gr.forEach(n=>{u>=n&&!t.current.has(n)&&(t.current.add(n),o(e,"progress"))}),u>=99.5&&!n.current&&(n.current=!0,o(e,"completed"))},handleEnded:e=>{n.current||(n.current=!0,i.current>0&&(r.current=i.current),o(e,"completed"))},reset:()=>{t.current=new Set,n.current=!1,r.current=0,i.current=0}}}(u),b=null==r?void 0:r.videoSourceType,v="contentful"===b?null==r?void 0:r.videoAssetUrl:null==r?void 0:r.link,y="string"==typeof v?v:"",x=null==r?void 0:r.image;if(!y)return x?e("div",{className:Ye(a?"overflow-hidden rounded-image":"relative aspect-[16/9] w-full overflow-hidden rounded-image lg:h-[486px] xl:aspect-square xl:max-h-[486px] xl:w-[486px]"),children:e(Rr,{src:x,alt:"section-image",priority:l,fill:!a,width:a?i||660:void 0,height:a?o||660:void 0,sizes:"(max-width: 430px) 100vw, (max-width: 834px) 100vw, 50vw",className:Ye(a?"w-full":"object-cover")})}):null;const I=null!==(d=null==r?void 0:r.videoPopup)&&void 0!==d&&d,w=Boolean(p&&p===y),C="contentful"===b?"contentful":y.includes("vimeo")?"vimeo":"youtube",A="contentful"===C?(e=>{var t;if("string"!=typeof e||!e)return"";const[n]=e.split(/[?#]/);return null!==(t=n.split("/").filter(Boolean).pop())&&void 0!==t?t:e})(null==r?void 0:r.videoAssetUrl):"vimeo"===C?(N=y)?Er(N.toString()):"":kr(y);var N;const E={videoId:A,videoTitle:null==r?void 0:r.title,provider:C},T=e=>{e.stopPropagation(),g.handleClosed(E),h("")},S=(()=>{const t={onPlay:()=>g.handlePlay(E),onPause:()=>g.handlePause(E),onTimeUpdate:(e,t)=>g.handleTimeUpdate(E,e,t),onEnded:()=>g.handleEnded(E),onFullscreenToggle:e=>g.handleFullscreenToggle(E,e)};return"contentful"===b?e(Ar,{videoAssetUrl:null==r?void 0:r.videoAssetUrl,videoAssetType:null==r?void 0:r.videoAssetType,image:x,title:null==r?void 0:r.title,description:null==r?void 0:r.description,autoplay:w,...t}):y.includes("vimeo")?e(Tr,{link:y,autoplay:w,...t}):e(Pr,{link:y,autoplay:w,...t})})();return t(n,{children:[t("div",{className:Ye("video-section relative w-full cursor-pointer rounded-image transition-all duration-300 lg:w-[486px]",!w&&"hover:ring-2 hover:ring-border-focus"),onClick:()=>{w||(g.reset(),h(y))},onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),children:[t("div",{className:Ye(w&&!I&&"hidden",w&&!I?"opacity-0":"opacity-100","relative w-full transition-opacity duration-300"),children:[x&&e(Rr,{src:x,alt:"Video preview",width:i||660,height:o||660,sizes:"(max-width: 430px) 100vw, (max-width: 834px) 100vw, 50vw",className:"h-auto w-full rounded-image"}),e("div",{className:"absolute inset-0 flex items-center justify-center",children:e(Nr,{isHovered:m})})]}),!I&&w&&e("div",{className:Ye("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",w?"opacity-100":"opacity-0",!a&&"xl:aspect-square xl:max-h-[486px] xl:w-[486px]"),children:S})]}),I&&w&&e("div",{className:"fixed inset-0 z-[100] flex items-center justify-center p-4 transition-all duration-300",onClick:T,children:t("div",{"data-testid":"video-popup-content",className:"relative aspect-video w-[min(100%,calc(80vh*16/9))] max-w-[1280px] overflow-hidden rounded-2xl bg-black shadow-2xl md:rounded-3xl",onClick:e=>e.stopPropagation(),children:[e("button",{type:"button",onClick:T,"aria-label":"Close video","data-testid":"video-popup-close",className:"absolute right-3 top-3 z-10 flex h-9 w-9 items-center justify-center rounded-full bg-black/60 text-white transition-colors hover:bg-black/80 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white sm:right-4 sm:top-4 sm:h-10 sm:w-10",children:e(br,{name:"close",className:"text-white"})}),S]})})]})},Dr=e=>Array.isArray(null==e?void 0:e.content)&&e.content.every(e=>"text"===(null==e?void 0:e.nodeType)&&(!e.value||""===e.value.trim())),Mr=(e,t)=>{var n,r,i,o,a,s,l,c;const u=null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.target;if((null==u?void 0:u.fields)||(null===(r=null==u?void 0:u.sys)||void 0===r?void 0:r.contentType))return u;const d=null===(i=null==u?void 0:u.sys)||void 0===i?void 0:i.id;if(!d)return null;return null!==(c=[...null!==(a=null===(o=null==t?void 0:t.entries)||void 0===o?void 0:o.block)&&void 0!==a?a:[],...null!==(l=null===(s=null==t?void 0:t.entries)||void 0===s?void 0:s.inline)&&void 0!==l?l:[]].find(e=>{var t;return(null===(t=null==e?void 0:e.sys)||void 0===t?void 0:t.id)===d}))&&void 0!==c?c:null},Vr=e=>{var t,n,r,i,o;return null!==(o=null!==(i=null===(r=null===(n=null===(t=null==e?void 0:e.sys)||void 0===t?void 0:t.contentType)||void 0===n?void 0:n.sys)||void 0===r?void 0:r.id)&&void 0!==i?i:null==e?void 0:e.__typename)&&void 0!==o?o:""},jr=e=>{var t,n;return null!==(n=null!==(t=null==e?void 0:e.fields)&&void 0!==t?t:e)&&void 0!==n?n:{}},Hr=e=>{var t,n,r,i,o,a,s,l,c,u,d,p,h,m,f,g,b,v,y;return{image:null!==(a=null!==(i=null===(r=null===(n=null===(t=null==e?void 0:e.image)||void 0===t?void 0:t.fields)||void 0===n?void 0:n.file)||void 0===r?void 0:r.url)&&void 0!==i?i:null===(o=null==e?void 0:e.image)||void 0===o?void 0:o.url)&&void 0!==a?a:null==e?void 0:e.image,link:null==e?void 0:e.link,videoPopup:Boolean(null==e?void 0:e.videoPopup),videoSourceType:null==e?void 0:e.videoSourceType,videoAssetUrl:null!==(p=null!==(u=null===(c=null===(l=null===(s=null==e?void 0:e.videoAssetUrl)||void 0===s?void 0:s.fields)||void 0===l?void 0:l.file)||void 0===c?void 0:c.url)&&void 0!==u?u:null===(d=null==e?void 0:e.videoAssetUrl)||void 0===d?void 0:d.url)&&void 0!==p?p:null==e?void 0:e.videoAssetUrl,videoAssetType:null!==(v=null!==(g=null===(f=null===(m=null===(h=null==e?void 0:e.videoAssetUrl)||void 0===h?void 0:h.fields)||void 0===m?void 0:m.file)||void 0===f?void 0:f.contentType)&&void 0!==g?g:null===(b=null==e?void 0:e.videoAssetUrl)||void 0===b?void 0:b.contentType)&&void 0!==v?v:null==e?void 0:e.videoAssetType,title:null!==(y=null==e?void 0:e.title)&&void 0!==y?y:null==e?void 0:e.entryTitle,description:null==e?void 0:e.description}},Wr=e=>{if(!e)return"";try{const t=/^https?:\/\//i.test(e)?e:`https://${e}`;return new URL(t).hostname.toLowerCase()}catch(e){return""}},Fr=e=>{const t=e.toLowerCase().replace(/\.$/,""),n=t.split(".").slice(-2).join("."),r=(t.slice(0,t.length-n.length).replace(/\.$/,"").split(".")[0]||"").replace(/-(dev|development|staging|stage|qa|test|uat|prod|production)$/,"");return`${n}|${""===r||"www"===r||"kinetic"===r?"main":r}`},Xr=e=>{if(!/^https?:\/\//i.test(e))return!1;try{const t=new URL(e).hostname.toLowerCase(),n=Wr(process.env.NEXT_PUBLIC_SITE_URL)||Wr(process.env.NEXT_PUBLIC_MAIN_SITE_URL)||("undefined"!=typeof window?window.location.hostname.toLowerCase():"");return!n||Fr(t)!==Fr(n)}catch(e){return!1}},zr=n=>({renderMark:{[Nn.BOLD]:t=>e("strong",{className:"font-black",children:t}),[Nn.ITALIC]:t=>e("em",{children:t}),[Nn.UNDERLINE]:t=>e("u",{children:t}),[Nn.CODE]:t=>e("code",{children:t})},renderNode:{[Cn.PARAGRAPH]:(t,n)=>e("div",{className:"body3 mb-4 whitespace-pre-line",children:Dr(t)?"\n":n}),[Cn.HEADING_1]:(t,n)=>e(vr,{as:"h1",className:"heading2 md:heading1",children:n}),[Cn.HEADING_2]:(t,n)=>e(vr,{as:"h2",className:"heading3 md:heading2",children:n}),[Cn.HEADING_3]:(t,n)=>e(vr,{as:"h3",className:"heading4 md:heading3",children:n}),[Cn.HEADING_4]:(t,n)=>e(vr,{as:"h4",className:"heading5 md:heading4",children:n}),[Cn.HEADING_5]:(t,n)=>e(vr,{as:"h5",className:"heading6 md:heading5",children:n}),[Cn.HEADING_6]:(t,n)=>e(vr,{as:"h6",className:"heading6",children:n}),[Cn.QUOTE]:(t,n)=>e("blockquote",{children:n}),[Cn.UL_LIST]:(t,n)=>e("ul",{className:"list-disc pl-6",children:n}),[Cn.OL_LIST]:(t,n)=>e("ol",{className:"list-decimal pl-6",children:n}),[Cn.LIST_ITEM]:(t,n)=>e("li",{children:n}),[An.HYPERLINK]:(t,n)=>{var r;const i=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.uri,o=Xr(i);return e("a",{href:i,target:o?"_blank":void 0,rel:o?"noopener":void 0,children:n})},[Cn.EMBEDDED_ASSET]:t=>{var n,r;const i=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target,o=null==i?void 0:i.fields,a=(null==i?void 0:i.url)||(null===(r=null==o?void 0:o.file)||void 0===r?void 0:r.url),s=(null==o?void 0:o.title)||(null==o?void 0:o.description)||"Embedded asset";if(!a)return null;const l=a.startsWith("//")?`https:${a}`:a;return e("img",{src:l,alt:s,style:{maxWidth:"100%"}})},[Cn.EMBEDDED_ENTRY]:r=>{const i=Mr(r,n);if(!i)return null;const o=Vr(i),a=jr(i);switch(o){case"callout":return t("aside",{style:{border:"1px solid #ddd",padding:12,borderRadius:8},children:[e("strong",{children:a.title}),e("div",{children:a.body})]});case"componentVideoLink":case"ComponentVideoLink":return e(Or,{videoLink:Hr(a)});default:return null}},[An.EMBEDDED_ENTRY]:r=>{var i;const o=Mr(r,n);if(!o)return null;const a=Vr(o),s=jr(o);switch(a){case"componentCheckList":return t("span",{style:{display:"inline-flex",alignItems:"center",gap:"4px",padding:"2px 6px",backgroundColor:"#f0fdf4",border:"1px solid #bbf7d0",borderRadius:"4px",fontSize:"0.9em"},children:["✅ ",s.title]});case"componentVideoLink":case"ComponentVideoLink":return e(Or,{videoLink:Hr(s)});default:return e("span",{children:null!==(i=null==s?void 0:s.title)&&void 0!==i?i:""})}}}});function Zr(t,n,r="body1",i="body1 font-bold",o,a){if(!t||!Array.isArray(t.content))return null;const s=zr(a),l={...s,...o,renderNode:{...s.renderNode,...null==o?void 0:o.renderNode,[Cn.PARAGRAPH]:(t,n)=>e("div",{className:[r,"whitespace-pre-line"].filter(Boolean).join(" "),children:Dr(t)?"\n":n}),[An.HYPERLINK]:(t,r)=>{var o;const a=null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.uri,s=Xr(a),l=null!=n?n:s;return e(wr,{href:a,target:l?"_blank":void 0,rel:l?"noopener":void 0,variant:"default",className:i,children:r})}}};return wn.documentToReactComponents(t,l)}function Yr(t,n,r){return l(()=>{if(!t||!Array.isArray(t.content))return null;const i=zr(null==r?void 0:r.links),o={...i,renderMark:{...i.renderMark,...(null==r?void 0:r.boldClassName)?{[Nn.BOLD]:t=>e("strong",{className:r.boldClassName,children:t})}:{},...null==n?void 0:n.renderMark},renderNode:{...i.renderNode,...null==n?void 0:n.renderNode}};return wn.documentToReactComponents(t,o)},[t,n,null==r?void 0:r.boldClassName,null==r?void 0:r.links])}function _r(r,i){if(!r||!Array.isArray(r.content))return null;const o=zr(i),a={...o,renderMark:{...o.renderMark,[Nn.BOLD]:t=>e("strong",{className:"label4 md:label2",children:t})},renderNode:{...o.renderNode,[Cn.PARAGRAPH]:(t,r)=>e(n,{children:r}),[Cn.TABLE]:(t,n)=>{var r,i;return e("div",{className:"comparison-table-wrapper w-full overflow-x-auto border-none md:overflow-hidden",children:e("table",{className:"responsive-table w-full table-fixed border-collapse "+((null===(i=null===(r=t.content[0])||void 0===r?void 0:r.content)||void 0===i?void 0:i.length)>2?"min-w-[100.1%]":"min-w-full"),children:e("tbody",{children:n})})})},[Cn.TABLE_ROW]:(t,n)=>e("tr",{className:"border-b border-gray-200 last:border-0",children:n}),[Cn.TABLE_HEADER_CELL]:(t,n)=>{var r;const i=(null===(r=t.parent)||void 0===r?void 0:r.content.length)>2;return e("th",{className:`label4 break-words py-4 text-center md:label2 ${i?"sticky left-0 z-20 w-[50vw] min-w-[50vw] first:z-30 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:n})},[Cn.TABLE_CELL]:(r,i)=>{var o,a,s,l;const c=(null===(o=r.parent)||void 0===o?void 0:o.content.length)>2,u=null===(l=null===(s=null===(a=r.content[0])||void 0===a?void 0:a.content[0])||void 0===s?void 0:s.value)||void 0===l?void 0:l.toLowerCase().trim();return e("td",{className:`rt-table-cell footnote break-words bg-white py-2 text-center align-top leading-5 text-text md:body2 first:text-left md:py-4 md:leading-7 ${c?"w-[50vw] min-w-[50vw] first:sticky first:left-0 first:z-10 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:t(n,{children:[" ","yes"===u?e(br,{name:"check_circle",color:"#24A76A",fill:1}):"no"===u?e(br,{name:"cancel",color:"#CECECE",fill:1}):i]})})},[An.EMBEDDED_ENTRY]:t=>{var n,r,o,a;const s=t.data.target.sys.id,l=null===(r=null===(n=null==i?void 0:i.entries)||void 0===n?void 0:n.inline)||void 0===r?void 0:r.find(e=>e.sys.id===s);if(!l)return null;if("ComponentCheckList"===l.__typename){const t=(null===(a=null===(o=l.list)||void 0===o?void 0:o.items)||void 0===a?void 0:a.map(e=>{var t;return Zr(Tt(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"")}))||[];return e(yr,{items:t,listIconName:"disc",listItemClassName:"items-baseline footnote md:body2 leading-5 md:leading-7 text-text"})}return e("span",{children:l.title||""})}}};return wn.documentToReactComponents(r,a)}const Jr={renderMark:{[Nn.BOLD]:e=>u("span",{className:"label1"},e)}};function Ur(e,t,n,r){return l(()=>{var i,o;const a=null!==(o=null===(i=null==e?void 0:e.list)||void 0===i?void 0:i.items)&&void 0!==o?o:[];return t?a.map(e=>{var t,i;return null!==(i=Zr(Tt(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,r,void 0,n))&&void 0!==i?i:""}):a.map(e=>{var t,i,o,a,s;return{title:null!==(i=Zr(Tt(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,r,void 0,n))&&void 0!==i?i:"",iconUrl:null!==(a=null===(o=null==e?void 0:e.icon)||void 0===o?void 0:o.url)&&void 0!==a?a:void 0,anchorId:null!==(s=null==e?void 0:e.anchorId)&&void 0!==s?s:void 0}})},[e,t,n,r])}const $r=o(({children:t,className:n="",style:r,disabled:i,...o},a)=>e("button",{ref:a,className:Ye(n),style:r,disabled:i,...o,children:t}));$r.displayName="Button";const Kr=t=>{const{open:n,children:r}=t,i=s(null),[o,l]=c(0);return a(()=>{const e=i.current;if(!e)return;const t=()=>{l(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:o,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:i,children:r})})};Kr.displayName="Collapse";const Qr=n=>{const{title:r,defaultOpen:i,children:o,containerClassName:s,titleClassName:l,className:u,buttonClassName:d,iconClassName:p,openOnlyOnDesktop:h,borderRadiusNone:m=!1}=n,[f,g]=c(Boolean(!1));return a(()=>{if(h){const e=window.innerWidth>=1024;g(e)}else g(Boolean(i))},[h,i]),t("div",{className:Ye(m?"rounded-none border":"rounded-surface-xs border",s),children:[t($r,{type:"button",className:Ye(m?"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:Ye("label5 flex-1",l),children:r}),e(br,{className:Ye("flex-shrink-0",p),name:f?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e(Kr,{open:f,children:e("div",{className:Ye("px-4 py-4",u),children:o})})]})};Qr.displayName="Accordion";const qr=t=>{const{className:n,...r}=t;return e("div",{className:Ye("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...r})};qr.displayName="Divider";const ei=({items:n,title:r,anchorId:i,background:o="white",enableHeading:s=!1,maxWidth:l=!0,initialExpandedItems:u=[],hashAutoExpand:d=!1,descriptionMaxWidth:p="max-w-[980px]",itemContainerClassName:h})=>{const[m,f]=c(u);a(()=>{if(d&&"undefined"!=typeof window){const e=window.location.hash;if(e){const t=e.substring(e.indexOf("#")+1);f(e=>e.includes(t)?e:[...e,t])}}},[d]);return e("section",{id:i,className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]",cream500:"bg-[#FFFEEF]"}[o]} flex flex-col px-5 pb-20 pt-4 md:px-10`,children:t("div",{className:""+(l?"max-w-120 xl:mx-auto":""),children:[e(vr,{as:s?"h1":"h2",className:"heading2 mb-10 pt-12 text-left text-text md:heading1 lg:text-center",children:r}),e("div",{className:`pt-6 md:pt-10 ${null!=h?h:""}`,children:null==n?void 0:n.map((r,i)=>{const o=r.anchorId||`item-${i}`,a=r.anchorId?m.includes(r.anchorId):void 0;return t("div",{id:r.anchorId,className:"snap-start scroll-mt-48 lg:scroll-mt-60",children:[e(Qr,{title:r.title,defaultOpen:a,containerClassName:"border-none",buttonClassName:"p-0 label1",titleClassName:"label3 md:label1 text-text",className:"p-0 pt-6 text-text",iconClassName:"text-icon",borderRadiusNone:!0,openOnlyOnDesktop:!1,...r.anchorId&&{onClick:()=>{return e=r.anchorId,void f(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);var e}},children:e("div",{className:p,children:e(vr,{as:"div",children:r.description})})}),i<n.length-1&&e(qr,{className:"my-6 md:my-10"},`divider-${i}`)]},o)})})]})})},ti="pop",ni=d({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),ri=d({}),ii=d(null),oi="undefined"!=typeof document,ai=oi?p:a,si=d({strict:!1});function li(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function ci(e){return"string"==typeof e||Array.isArray(e)}function ui(e){return"object"==typeof e&&"function"==typeof e.start}const di=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],pi=["initial",...di];function hi(e){return ui(e.animate)||pi.some(t=>ci(e[t]))}function mi(e){return Boolean(hi(e)||e.variants)}function fi(e){const{initial:t,animate:n}=function(e,t){if(hi(e)){const{initial:t,animate:n}=e;return{initial:!1===t||ci(t)?t:void 0,animate:ci(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,h(ri));return l(()=>({initial:t,animate:n}),[gi(t),gi(n)])}function gi(e){return Array.isArray(e)?e.join(" "):e}const bi={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"]},vi={};for(const e in bi)vi[e]={isEnabled:t=>bi[e].some(e=>!!t[e])};const yi=d({}),xi=d({}),Ii=Symbol.for("motionComponentSymbol");function wi({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:l}){e&&function(e){for(const t in e)vi[t]={...vi[t],...e[t]}}(e);const c=o(function(o,c){let u;const d={...h(ni),...o,layoutId:Ci(o)},{isStatic:p}=d,g=fi(o),b=i(o,p);if(!p&&oi){g.visualElement=function(e,t,n,r){const{visualElement:i}=h(ri),o=h(si),l=h(ii),c=h(ni).reducedMotion,u=s();r=r||o.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:i,props:n,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:c}));const d=u.current;return m(()=>{d&&d.update(n,l)}),ai(()=>{d&&d.render()}),a(()=>{d&&d.updateFeatures()}),(window.HandoffAppearAnimations?ai:a)(()=>{d&&d.animationState&&d.animationState.animateChanges()}),d}(l,b,d,t);const n=h(xi),r=h(si).strict;g.visualElement&&(u=g.visualElement.loadFeatures(d,r,e,n))}return r.createElement(ri.Provider,{value:g},u&&g.visualElement?r.createElement(u,{visualElement:g.visualElement,...d}):null,n(l,o,function(e,t,n){return f(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):li(n)&&(n.current=r))},[t])}(b,g.visualElement,c),b,p,g.visualElement))});return c[Ii]=l,c}function Ci({layoutId:e}){const t=h(yi).id;return t&&void 0!==e?t+"-"+e:e}function Ai(e){function t(t,n={}){return wi(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 Ni=["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 Ei(e){return"string"==typeof e&&!e.includes("-")&&!!(Ni.indexOf(e)>-1||/[A-Z]/.test(e))}const Ti={};const Si=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ki=new Set(Si);function Pi(e,{layout:t,layoutId:n}){return ki.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Ti[e]||"opacity"===e)}const Bi=e=>Boolean(e&&e.getVelocity),Li={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ri=Si.length;const Gi=e=>t=>"string"==typeof t&&t.startsWith(e),Oi=Gi("--"),Di=Gi("var(--"),Mi=(e,t)=>t&&"number"==typeof e?t.transform(e):e,Vi=(e,t,n)=>Math.min(Math.max(n,e),t),ji={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Hi={...ji,transform:e=>Vi(0,1,e)},Wi={...ji,default:1},Fi=e=>Math.round(1e5*e)/1e5,Xi=/(-)?([\d]*\.?[\d])+/g,zi=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Zi=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Yi(e){return"string"==typeof e}const _i=e=>({test:t=>Yi(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Ji=_i("deg"),Ui=_i("%"),$i=_i("px"),Ki=_i("vh"),Qi=_i("vw"),qi={...Ui,parse:e=>Ui.parse(e)/100,transform:e=>Ui.transform(100*e)},eo={...ji,transform:Math.round},to={borderWidth:$i,borderTopWidth:$i,borderRightWidth:$i,borderBottomWidth:$i,borderLeftWidth:$i,borderRadius:$i,radius:$i,borderTopLeftRadius:$i,borderTopRightRadius:$i,borderBottomRightRadius:$i,borderBottomLeftRadius:$i,width:$i,maxWidth:$i,height:$i,maxHeight:$i,size:$i,top:$i,right:$i,bottom:$i,left:$i,padding:$i,paddingTop:$i,paddingRight:$i,paddingBottom:$i,paddingLeft:$i,margin:$i,marginTop:$i,marginRight:$i,marginBottom:$i,marginLeft:$i,rotate:Ji,rotateX:Ji,rotateY:Ji,rotateZ:Ji,scale:Wi,scaleX:Wi,scaleY:Wi,scaleZ:Wi,skew:Ji,skewX:Ji,skewY:Ji,distance:$i,translateX:$i,translateY:$i,translateZ:$i,x:$i,y:$i,z:$i,perspective:$i,transformPerspective:$i,opacity:Hi,originX:qi,originY:qi,originZ:$i,zIndex:eo,fillOpacity:Hi,strokeOpacity:Hi,numOctaves:eo};function no(e,t,n,r){const{style:i,vars:o,transform:a,transformOrigin:s}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(Oi(e)){o[e]=n;continue}const r=to[e],d=Mi(n,r);if(ki.has(e)){if(l=!0,a[e]=d,!u)continue;n!==(r.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,s[e]=d):i[e]=d}if(t.transform||(l||r?i.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let t=0;t<Ri;t++){const n=Si[t];void 0!==e[n]&&(o+=`${Li[n]||n}(${e[n]}) `)}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),i?o=i(e,r?"":o):n&&r&&(o="none"),o}(e.transform,n,u,r):i.transform&&(i.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=s;i.transformOrigin=`${e} ${t} ${n}`}}const ro=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function io(e,t,n){for(const r in t)Bi(t[r])||Pi(r,n)||(e[r]=t[r])}function oo(e,t,n){const r={};return io(r,e.style||{},e),Object.assign(r,function({transformTemplate:e},t,n){return l(()=>{const r={style:{},transform:{},transformOrigin:{},vars:{}};return no(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(r):r}function ao(e,t,n){const r={},i=oo(e,t,n);return e.drag&&!1!==e.dragListener&&(r.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)&&(r.tabIndex=0),r.style=i,r}const so=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 lo(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||so.has(e)}let co=e=>!lo(e);try{(uo=require("@emotion/is-prop-valid").default)&&(co=e=>e.startsWith("on")?!lo(e):uo(e))}catch(ud){}var uo;function po(e,t,n){return"string"==typeof e?e:$i.transform(t+n*e)}const ho={offset:"stroke-dashoffset",array:"stroke-dasharray"},mo={offset:"strokeDashoffset",array:"strokeDasharray"};function fo(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,p){if(no(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:f}=e;h.transform&&(f&&(m.transform=h.transform),delete h.transform),f&&(void 0!==i||void 0!==o||m.transform)&&(m.transformOrigin=function(e,t,n){return`${po(t,e.x,e.width)} ${po(n,e.y,e.height)}`}(f,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==t&&(h.x=t),void 0!==n&&(h.y=n),void 0!==r&&(h.scale=r),void 0!==a&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?ho:mo;e[o.offset]=$i.transform(-r);const a=$i.transform(t),s=$i.transform(n);e[o.array]=`${a} ${s}`}(h,a,s,l,!1)}const go=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),bo=e=>"string"==typeof e&&"svg"===e.toLowerCase();function vo(e,t,n,r){const i=l(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return fo(n,t,{enableHardwareAcceleration:!1},bo(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};io(t,e.style,e),i.style={...t,...i.style}}return i}function yo(e=!1){return(t,n,r,{latestValues:i},o)=>{const a=(Ei(t)?vo:ao)(n,i,o,t),s=function(e,t,n){const r={};for(const i in e)"values"===i&&"object"==typeof e.values||(co(i)||!0===n&&lo(i)||!t&&!lo(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),c={...s,...a,ref:r},{children:d}=n,p=l(()=>Bi(d)?d.get():d,[d]);return u(t,{...c,children:p})}}const xo=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Io(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}const wo=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 Co(e,t,n,r){Io(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(wo.has(n)?n:xo(n),t.attrs[n])}function Ao(e,t){const{style:n}=e,r={};for(const i in n)(Bi(n[i])||t.style&&Bi(t.style[i])||Pi(i,e))&&(r[i]=n[i]);return r}function No(e,t){const n=Ao(e,t);for(const r in e)if(Bi(e[r])||Bi(t[r])){n[-1!==Si.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n}function Eo(e,t,n,r={},i={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),t}function To(e){const t=s(null);return null===t.current&&(t.current=e()),t.current}const So=e=>Array.isArray(e),ko=e=>So(e)?e[e.length-1]||0:e;function Po(e){const t=Bi(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const Bo=e=>(t,n)=>{const r=h(ri),i=h(ii),o=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const a={latestValues:Lo(r,i,o,e),renderState:t()};return n&&(a.mount=e=>n(r,e,a)),a}(e,t,r,i);return n?o():To(o)};function Lo(e,t,n,r){const i={},o=r(e,{});for(const e in o)i[e]=Po(o[e]);let{initial:a,animate:s}=e;const l=hi(e),c=mi(e);t&&c&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let u=!!n&&!1===n.initial;u=u||!1===a;const d=u?s:a;if(d&&"boolean"!=typeof d&&!ui(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=Eo(e,t);if(!n)return;const{transitionEnd:r,transition:o,...a}=n;for(const e in a){let t=a[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(i[e]=t)}for(const e in r)i[e]=r[e]})}return i}const Ro={useVisualState:Bo({scrapeMotionValuesFromProps:No,createRenderState:go,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}}fo(n,r,{enableHardwareAcceleration:!1},bo(t.tagName),e.transformTemplate),Co(t,n)}})},Go={useVisualState:Bo({scrapeMotionValuesFromProps:Ao,createRenderState:ro})};function Oo(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Do=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Mo(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function Vo(e,t,n,r){return Oo(e,t,(e=>t=>Do(t)&&e(t,Mo(t)))(n),r)}const jo=(e,t)=>n=>t(e(n)),Ho=(...e)=>e.reduce(jo);function Wo(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const Fo=Wo("dragHorizontal"),Xo=Wo("dragVertical");function zo(e){let t=!1;if("y"===e)t=Xo();else if("x"===e)t=Fo();else{const e=Fo(),n=Xo();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Zo(){const e=zo(!0);return!e||(e(),!1)}class Yo{constructor(e){this.isMounted=!1,this.node=e}update(){}}const _o={delta:0,timestamp:0,isProcessing:!1};let Jo=!0,Uo=!1;const $o=["read","update","preRender","render","postRender"],Ko=$o.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(e,o=!1,s=!1)=>{const l=s&&i,c=l?t:n;return o&&a.add(e),-1===c.indexOf(e)&&(c.push(e),l&&i&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:l=>{if(i)o=!0;else{if(i=!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),a.has(r)&&(s.schedule(r),e())}i=!1,o&&(o=!1,s.process(l))}}};return s}(()=>Uo=!0),e),{}),Qo=e=>Ko[e].process(_o),qo=e=>{Uo=!1,_o.delta=Jo?1e3/60:Math.max(Math.min(e-_o.timestamp,40),1),_o.timestamp=e,_o.isProcessing=!0,$o.forEach(Qo),_o.isProcessing=!1,Uo&&(Jo=!1,requestAnimationFrame(qo))},ea=$o.reduce((e,t)=>{const n=Ko[t];return e[t]=(e,t=!1,r=!1)=>(Uo||(Uo=!0,Jo=!0,_o.isProcessing||requestAnimationFrame(qo)),n.schedule(e,t,r)),e},{});function ta(e){$o.forEach(t=>Ko[t].cancel(e))}function na(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return Vo(e.current,n,(n,i)=>{if("touch"===n.type||Zo())return;const o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[r]&&ea.update(()=>o[r](n,i))},{passive:!e.getProps()[r]})}const ra=(e,t)=>!!t&&(e===t||ra(e,t.parentElement)),ia=e=>e;function oa(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Mo(n))}const aa=new WeakMap,sa=new WeakMap,la=e=>{const t=aa.get(e.target);t&&t(e)},ca=e=>{e.forEach(la)};function ua(e,t,n){const r=function({root:e,...t}){const n=e||document;sa.has(n)||sa.set(n,{});const r=sa.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(ca,{root:e,...t})),r[i]}(t);return aa.set(e,n),r.observe(e),()=>{aa.delete(e),r.unobserve(e)}}const da={some:0,all:1};const pa={inView:{Feature:class extends Yo{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:i}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:da[r]};return ua(this.node.current,o,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:r}=this.node.getProps(),o=t?n:r;o&&o(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 Yo{constructor(){super(...arguments),this.removeStartListeners=ia,this.removeEndListeners=ia,this.removeAccessibleListeners=ia,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=Vo(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();ea.update(()=>{ra(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),i=Vo(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Ho(r,i),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Oo(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Oo(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&oa("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&ea.update(()=>n(e,t))})}),oa("down",(e,t)=>{this.startPress(e,t)})}),t=Oo(this.node.current,"blur",()=>{this.isPressing&&oa("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=Ho(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&&ea.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Zo()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&ea.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=Vo(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Oo(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Ho(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Yo{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=Ho(Oo(this.node.current,"focus",()=>this.onFocus()),Oo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Yo{mount(){this.unmount=Ho(na(this.node,!0),na(this.node,!1))}unmount(){}}}};function ha(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 ma(e,t,n){const r=e.getProps();return Eo(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 fa="data-"+xo("framerAppearId");let ga=ia,ba=ia;"production"!==process.env.NODE_ENV&&(ga=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},ba=(e,t)=>{if(!e)throw new Error(t)});const va=e=>1e3*e,ya=e=>e/1e3,xa=!1,Ia=e=>Array.isArray(e)&&"number"==typeof e[0];function wa(e){return Boolean(!e||"string"==typeof e&&Aa[e]||Ia(e)||Array.isArray(e)&&e.every(wa))}const Ca=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Aa={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ca([0,.65,.55,1]),circOut:Ca([.55,0,1,.45]),backIn:Ca([.31,.01,.66,-.59]),backOut:Ca([.33,1.53,.69,.99])};function Na(e){if(e)return Ia(e)?Ca(e):Array.isArray(e)?e.map(Na):Aa[e]}const Ea={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Ta={},Sa={};for(const e in Ea)Sa[e]=()=>(void 0===Ta[e]&&(Ta[e]=Ea[e]()),Ta[e]);const ka=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Pa(e,t,n,r){if(e===t&&n===r)return ia;const i=t=>function(e,t,n,r,i){let o,a,s=0;do{a=t+(n-t)/2,o=ka(a,r,i)-e,o>0?n=a:t=a}while(Math.abs(o)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:ka(i(e),t,r)}const Ba=Pa(.42,0,1,1),La=Pa(0,0,.58,1),Ra=Pa(.42,0,.58,1),Ga=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Oa=e=>t=>1-e(1-t),Da=e=>1-Math.sin(Math.acos(e)),Ma=Oa(Da),Va=Ga(Ma),ja=Pa(.33,1.53,.69,.99),Ha=Oa(ja),Wa=Ga(Ha),Fa={linear:ia,easeIn:Ba,easeInOut:Ra,easeOut:La,circIn:Da,circInOut:Va,circOut:Ma,backIn:Ha,backInOut:Wa,backOut:ja,anticipate:e=>(e*=2)<1?.5*Ha(e):.5*(2-Math.pow(2,-10*(e-1)))},Xa=e=>{if(Array.isArray(e)){ba(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return Pa(t,n,r,i)}return"string"==typeof e?(ba(void 0!==Fa[e],`Invalid easing type '${e}'`),Fa[e]):e},za=(e,t)=>n=>Boolean(Yi(n)&&Zi.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Za=(e,t,n)=>r=>{if(!Yi(r))return r;const[i,o,a,s]=r.match(Xi);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},Ya={...ji,transform:e=>Math.round((e=>Vi(0,255,e))(e))},_a={test:za("rgb","red"),parse:Za("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Ya.transform(e)+", "+Ya.transform(t)+", "+Ya.transform(n)+", "+Fi(Hi.transform(r))+")"};const Ja={test:za("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:_a.transform},Ua={test:za("hsl","hue"),parse:Za("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Ui.transform(Fi(t))+", "+Ui.transform(Fi(n))+", "+Fi(Hi.transform(r))+")"},$a={test:e=>_a.test(e)||Ja.test(e)||Ua.test(e),parse:e=>_a.test(e)?_a.parse(e):Ua.test(e)?Ua.parse(e):Ja.parse(e),transform:e=>Yi(e)?e:e.hasOwnProperty("red")?_a.transform(e):Ua.transform(e)},Ka=(e,t,n)=>-n*e+n*t+e;function Qa(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 qa=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},es=[Ja,_a,Ua];function ts(e){const t=(n=e,es.find(e=>e.test(n)));var n;ba(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===Ua&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=Qa(s,r,e+1/3),o=Qa(s,r,e),a=Qa(s,r,e-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}(r)),r}const ns=(e,t)=>{const n=ts(e),r=ts(t),i={...n};return e=>(i.red=qa(n.red,r.red,e),i.green=qa(n.green,r.green,e),i.blue=qa(n.blue,r.blue,e),i.alpha=Ka(n.alpha,r.alpha,e),_a.transform(i))};const rs={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:ia},is={regex:zi,countKey:"Colors",token:"${c}",parse:$a.parse},os={regex:Xi,countKey:"Numbers",token:"${n}",parse:ji.parse};function as(e,{regex:t,countKey:n,token:r,parse:i}){const o=e.tokenised.match(t);o&&(e["num"+n]=o.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...o.map(i)))}function ss(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&as(n,rs),as(n,is),as(n,os),n}function ls(e){return ss(e).values}function cs(e){const{values:t,numColors:n,numVars:r,tokenised:i}=ss(e),o=t.length;return e=>{let t=i;for(let i=0;i<o;i++)t=i<r?t.replace(rs.token,e[i]):i<r+n?t.replace(is.token,$a.transform(e[i])):t.replace(os.token,Fi(e[i]));return t}}const us=e=>"number"==typeof e?0:e;const ds={test:function(e){var t,n;return isNaN(e)&&Yi(e)&&((null===(t=e.match(Xi))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(zi))||void 0===n?void 0:n.length)||0)>0},parse:ls,createTransformer:cs,getAnimatableNone:function(e){const t=ls(e);return cs(e)(t.map(us))}},ps=(e,t)=>n=>`${n>0?t:e}`;function hs(e,t){return"number"==typeof e?n=>Ka(e,t,n):$a.test(e)?ns(e,t):e.startsWith("var(")?ps(e,t):gs(e,t)}const ms=(e,t)=>{const n=[...e],r=n.length,i=e.map((e,n)=>hs(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}},fs=(e,t)=>{const n={...e,...t},r={};for(const i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=hs(e[i],t[i]));return e=>{for(const t in r)n[t]=r[t](e);return n}},gs=(e,t)=>{const n=ds.createTransformer(t),r=ss(e),i=ss(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?Ho(ms(r.values,i.values),n):(ga(!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.`),ps(e,t))},bs=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},vs=(e,t)=>n=>Ka(e,t,n);function ys(e,t,n){const r=[],i=n||("number"==typeof(o=e[0])?vs:"string"==typeof o?$a.test(o)?ns:gs:Array.isArray(o)?ms:"object"==typeof o?fs:vs);var o;const a=e.length-1;for(let n=0;n<a;n++){let o=i(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||ia:t;o=Ho(e,o)}r.push(o)}return r}function xs(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(ba(o===t.length,"Both input and output ranges must be the same length"),1===o)return()=>t[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=ys(t,r,i),s=a.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=bs(e[n],e[n+1],t);return a[n](r)};return n?t=>l(Vi(e[0],e[o-1],t)):l}function Is(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=bs(0,t,r);e.push(Ka(n,1,i))}}(t,e.length-1),t}function ws({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(Xa):Xa(r),o={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Is(t),e),s=xs(a,t,{ease:Array.isArray(i)?i:(l=t,c=i,l.map(()=>c||Ra).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(o.value=s(t),o.done=t>=e,o)}}function Cs(e,t){return t?e*(1e3/t):0}function As(e,t,n){const r=Math.max(t-5,0);return Cs(n-e(r),t-r)}const Ns=.001;function Es({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;ga(e<=va(10),"Spring duration must be 10 seconds or less");let a=1-t;a=Vi(.05,1,a),e=Vi(.01,10,ya(e)),a<1?(i=t=>{const r=t*a,i=r*e,o=r-n,s=Ss(t,a),l=Math.exp(-i);return Ns-o/s*l},o=t=>{const r=t*a*e,o=r*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=Ss(Math.pow(t,2),a);return(-i(t)+Ns>0?-1:1)*((o-s)*l)/c}):(i=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,o=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let n=1;n<Ts;n++)r-=e(r)/t(r);return r}(i,o,5/e);if(e=va(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}const Ts=12;function Ss(e,t){return e*Math.sqrt(1-t*t)}const ks=["duration","bounce"],Ps=["stiffness","damping","mass"];function Bs(e,t){return t.some(t=>void 0!==e[t])}function Ls({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],o=e[e.length-1],a={done:!1,value:i},{stiffness:s,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(!Bs(e,Ps)&&Bs(e,ks)){const n=Es(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(r),h=u?-ya(u):0,m=l/(2*Math.sqrt(s*c)),f=o-i,g=ya(Math.sqrt(s/c)),b=Math.abs(f)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),m<1){const e=Ss(g,m);v=t=>{const n=Math.exp(-m*g*t);return o-n*((h+m*g*f)/e*Math.sin(e*t)+f*Math.cos(e*t))}}else if(1===m)v=e=>o-Math.exp(-g*e)*(f+(h+g*f)*e);else{const e=g*Math.sqrt(m*m-1);v=t=>{const n=Math.exp(-m*g*t),r=Math.min(e*t,300);return o-n*((h+m*g*f)*Math.sinh(r)+e*f*Math.cosh(r))/e}}return{calculatedDuration:p&&d||null,next:e=>{const r=v(e);if(p)a.done=e>=d;else{let i=h;0!==e&&(i=m<1?As(v,e,r):0);const s=Math.abs(i)<=n,l=Math.abs(o-r)<=t;a.done=s&&l}return a.value=a.done?o:r,a}}}function Rs({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},h=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let m=n*t;const f=d+m,g=void 0===a?f:a(f);g!==f&&(m=g-d);const b=e=>-m*Math.exp(-e/r),v=e=>g+b(e),y=e=>{const t=b(e),n=v(e);p.done=Math.abs(t)<=c,p.value=p.done?g:n};let x,I;const w=e=>{var t;(t=p.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(x=e,I=Ls({keyframes:[p.value,h(p.value)],velocity:As(v,e,p.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return w(0),{calculatedDuration:null,next:e=>{let t=!1;return I||void 0!==x||(t=!0,y(e),w(e)),void 0!==x&&e>x?I.next(e-x):(!t&&y(e),p)}}}const Gs=e=>{const t=({timestamp:t})=>e(t);return{start:()=>ea.update(t,!0),stop:()=>ta(t),now:()=>_o.isProcessing?_o.timestamp:performance.now()}};function Os(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 Ds={decay:Rs,inertia:Rs,tween:ws,keyframes:ws,spring:Ls};function Ms({autoplay:e=!0,delay:t=0,driver:n=Gs,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let h,m,f=1,g=!1;const b=()=>{h&&h(),m=new Promise(e=>{h=e})};let v;b();const y=Ds[i]||ws;let x;y!==ws&&"number"!=typeof r[0]&&(x=xs([0,100],r,{clamp:!1}),r=[0,100]);const I=y({...p,keyframes:r});let w;"mirror"===s&&(w=y({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let C="idle",A=null,N=null,E=null;null===I.calculatedDuration&&o&&(I.calculatedDuration=Os(I));const{calculatedDuration:T}=I;let S=1/0,k=1/0;null!==T&&(S=T+a,k=S*(o+1)-a);let P=0;const B=e=>{if(null===N)return;f>0&&(N=Math.min(N,e)),P=null!==A?A:(e-N)*f;const n=P-t,i=n<0;P=Math.max(n,0),"finished"===C&&null===A&&(P=k);let l=P,c=I;if(o){const e=P/S;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,o+1);const r=Boolean(t%2);r&&("reverse"===s?(n=1-n,a&&(n-=a/S)):"mirror"===s&&(c=w));let i=Vi(0,1,n);P>k&&(i="reverse"===s&&r?1:0),l=i*S}const u=i?{done:!1,value:r[0]}:c.next(l);x&&(u.value=x(u.value));let{done:p}=u;i||null===T||(p=P>=k);const h=null===A&&("finished"===C||"running"===C&&p||f<0&&P<=0);return d&&d(u.value),h&&G(),u},L=()=>{v&&v.stop(),v=void 0},R=()=>{C="idle",L(),b(),N=E=null},G=()=>{C="finished",u&&u(),L(),b()},O=()=>{if(g)return;v||(v=n(B));const e=v.now();l&&l(),null!==A?N=e-A:N&&"finished"!==C||(N=e),E=N,A=null,C="running",v.start()};e&&O();const D={then:(e,t)=>m.then(e,t),get time(){return ya(P)},set time(e){e=va(e),P=e,null===A&&v&&0!==f?N=v.now()-e/f:A=e},get duration(){const e=null===I.calculatedDuration?Os(I):I.calculatedDuration;return ya(e)},get speed(){return f},set speed(e){e!==f&&v&&(f=e,D.time=ya(P))},get state(){return C},play:O,pause:()=>{C="paused",A=P},stop:()=>{g=!0,"idle"!==C&&(C="idle",c&&c(),R())},cancel:()=>{null!==E&&B(E),R()},complete:()=>{C="finished"},sample:e=>(N=0,B(e))};return D}const Vs=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function js(e,t,{onUpdate:n,onComplete:r,...i}){if(!(Sa.waapi()&&Vs.has(t)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type))return!1;let o,a,s=!1;const l=()=>{a=new Promise(e=>{o=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=i;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!wa(t.ease))(t,i)){const e=Ms({...i,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let r=0;for(;!t.done&&r<2e4;)t=e.sample(r),n.push(t.value),r+=10;p=void 0,c=n,u=r-10,d="linear"}const h=function(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:a="loop",ease:s,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=Na(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,c,{...i,duration:u,ease:d,times:p}),m=()=>h.cancel(),f=()=>{ea.update(m),o(),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)),r&&r(),f()},{then:(e,t)=>a.then(e,t),get time(){return ya(h.currentTime||0)},set time(e){h.currentTime=va(e)},get speed(){return h.playbackRate},set speed(e){h.playbackRate=e},get duration(){return ya(u)},play:()=>{s||(h.play(),ta(m))},pause:()=>h.pause(),stop:()=>{if(s=!0,"idle"===h.playState)return;const{currentTime:t}=h;if(t){const n=Ms({...i,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}f()},complete:()=>h.finish(),cancel:f}}const Hs={type:"spring",stiffness:500,damping:25,restSpeed:10},Ws={type:"keyframes",duration:.8},Fs={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Xs=(e,{keyframes:t})=>t.length>2?Ws:ki.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Hs:Fs,zs=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!ds.test(t)&&"0"!==t||t.startsWith("url("))),Zs=new Set(["brightness","contrast","saturate","opacity"]);function Ys(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(Xi)||[];if(!r)return e;const i=n.replace(r,"");let o=Zs.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const _s=/([a-z-]*)\(.*?\)/g,Js={...ds,getAnimatableNone:e=>{const t=e.match(_s);return t?t.map(Ys).join(" "):e}},Us={...to,color:$a,backgroundColor:$a,outlineColor:$a,fill:$a,stroke:$a,borderColor:$a,borderTopColor:$a,borderRightColor:$a,borderBottomColor:$a,borderLeftColor:$a,filter:Js,WebkitFilter:Js},$s=e=>Us[e];function Ks(e,t){let n=$s(e);return n!==Js&&(n=ds),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Qs=e=>/^0[^.\s]+$/.test(e);function qs(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||Qs(e):void 0}function el(e,t){return e[t]||e.default||e}const tl=(e,t,n,r={})=>i=>{const o=el(r,e)||{},a=o.delay||r.delay||0;let{elapsed:s=0}=r;s-=va(a);const l=function(e,t,n,r){const i=zs(t,n);let o;o=Array.isArray(n)?[...n]:[null,n];const a=void 0!==r.from?r.from:e.get();let s;const l=[];for(let e=0;e<o.length;e++)null===o[e]&&(o[e]=0===e?a:o[e-1]),qs(o[e])&&l.push(e),"string"==typeof o[e]&&"none"!==o[e]&&"0"!==o[e]&&(s=o[e]);if(i&&l.length&&s)for(let e=0;e<l.length;e++)o[l[e]]=Ks(t,s);return o}(t,e,n,o),c=l[0],u=l[l.length-1],d=zs(e,c),p=zs(e,u);ga(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",...o,delay:-s,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(o)||(h={...h,...Xs(e,h)}),h.duration&&(h.duration=va(h.duration)),h.repeatDelay&&(h.repeatDelay=va(h.repeatDelay)),!d||!p||xa||!1===o.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:ia,pause:ia,stop:ia,then:e=>(e(),Promise.resolve()),cancel:ia,complete:ia});return t?Ms({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=js(t,e,h);if(n)return n}return Ms(h)};function nl(e){return Boolean(Bi(e)&&e.add)}const rl=e=>/^\-?\d*\.?\d+$/.test(e);function il(e,t){-1===e.indexOf(t)&&e.push(t)}function ol(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class al{constructor(){this.subscriptions=[]}add(e){return il(this.subscriptions,e),()=>ol(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 i=0;i<r;i++){const r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const sl=new Set;function ll(e,t,n){e||sl.has(t)||(console.warn(t),sl.add(t))}class cl{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}=_o;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,ea.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=()=>ea.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&&ll(!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 al);const n=this.events[e].add(t);return"change"===e?()=>{n(),ea.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?Cs(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 ul(e,t){return new cl(e,t)}const dl=e=>t=>t.test(e),pl=[ji,$i,Ui,Ji,Qi,Ki,{test:e=>"auto"===e,parse:e=>e}],hl=e=>pl.find(dl(e)),ml=[...pl,$a,ds],fl=e=>ml.find(dl(e));function gl(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ul(n))}function bl(e,t){if(!t)return;return(t[e]||t.default||t).from}function vl({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function yl(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");r&&(o=r);const c=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const t in s){const r=e.getValue(t),i=s[t];if(!r||void 0===i||u&&vl(u,t))continue;const a={delay:n,elapsed:0,...o};if(window.HandoffAppearAnimations&&!r.hasAnimated){const n=e.getProps()[fa];n&&(a.elapsed=window.HandoffAppearAnimations(n,t,r,ea))}r.start(tl(t,r,i,e.shouldReduceMotion&&ki.has(t)?{type:!1}:a));const d=r.animation;nl(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return a&&Promise.all(c).then(()=>{a&&function(e,t){const n=ma(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const t in o)gl(e,t,ko(o[t]))}(e,a)}),c}function xl(e,t,n={}){const r=ma(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(yl(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(e,t,n=0,r=0,i=1,o){const a=[],s=(e.variantChildren.size-1)*r,l=1===i?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(Il).forEach((e,r)=>{e.notify("AnimationStart",t),a.push(xl(e,t,{...o,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,o+r,a,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){const[e,t]="beforeChildren"===s?[o,a]:[a,o];return e().then(()=>t())}return Promise.all([o(),a(n.delay)])}function Il(e,t){return e.sortNodePosition(t)}const wl=[...di].reverse(),Cl=di.length;function Al(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 i=t.map(t=>xl(e,t,n));r=Promise.all(i)}else if("string"==typeof t)r=xl(e,t,n);else{const i="function"==typeof t?ma(e,t,n.custom):t;r=Promise.all(yl(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function Nl(e){let t=Al(e);const n={animate:Tl(!0),whileInView:Tl(),whileHover:Tl(),whileTap:Tl(),whileDrag:Tl(),whileFocus:Tl(),exit:Tl()};let r=!0;const i=(t,n)=>{const r=ma(e,n);if(r){const{transition:e,transitionEnd:n,...i}=r;t={...t,...i,...n}}return t};function o(o,a){const s=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<Cl;t++){const h=wl[t],m=n[h],f=void 0!==s[h]?s[h]:l[h],g=ci(f),b=h===a?m.isActive:null;!1===b&&(p=t);let v=f===l[h]&&f!==s[h]&&g;if(v&&r&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&null===b||!f&&!m.prevProp||ui(f)||"boolean"==typeof f)continue;const y=El(m.prevProp,f);let x=y||h===a&&m.isActive&&!v&&g||t>p&&g;const I=Array.isArray(f)?f:[f];let w=I.reduce(i,{});!1===b&&(w={});const{prevResolvedValues:C={}}=m,A={...C,...w},N=e=>{x=!0,u.delete(e),m.needsAnimating[e]=!0};for(const e in A){const t=w[e],n=C[e];d.hasOwnProperty(e)||(t!==n?So(t)&&So(n)?!ha(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=f,m.prevResolvedValues=w,m.isActive&&(d={...d,...w}),r&&e.blockInitialAnimation&&(x=!1),x&&!v&&c.push(...I.map(e=>({animation:e,options:{type:h,...o}})))}if(u.size){const t={};u.forEach(n=>{const r=e.getBaseTarget(n);void 0!==r&&(t[n]=r)}),c.push({animation:t})}let h=Boolean(c.length);return r&&!1===s.initial&&!e.manuallyAnimateOnMount&&(h=!1),r=!1,h?t(c):Promise.resolve()}return{animateChanges:o,setActive:function(t,r,i){var a;if(n[t].isActive===r)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;const s=o(i,t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function El(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!ha(t,e)}function Tl(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Sl=0;const kl={animation:{Feature:class extends Yo{constructor(e){super(e),e.animationState||(e.animationState=Nl(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),ui(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 Yo{constructor(){super(...arguments),this.id=Sl++}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 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(){}}}},Pl=(e,t)=>Math.abs(e-t);class Bl{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=Gl(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Pl(e.x,t.x),r=Pl(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:i}=_o;this.history.push({...r,timestamp:i});const{onStart:o,onMove:a}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Ll(t,this.transformPagePoint),ea.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,i=Gl("pointercancel"===e.type?this.lastMoveEventInfo:Ll(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},!Do(e))return;this.handlers=t,this.transformPagePoint=n;const r=Ll(Mo(e),this.transformPagePoint),{point:i}=r,{timestamp:o}=_o;this.history=[{...i,timestamp:o}];const{onSessionStart:a}=t;a&&a(e,Gl(r,this.history)),this.removeListeners=Ho(Vo(window,"pointermove",this.handlePointerMove),Vo(window,"pointerup",this.handlePointerUp),Vo(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),ta(this.updatePoint)}}function Ll(e,t){return t?{point:t(e.point)}:e}function Rl(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Gl({point:e},t){return{point:e,delta:Rl(e,Dl(t)),offset:Rl(e,Ol(t)),velocity:Ml(t,.1)}}function Ol(e){return e[0]}function Dl(e){return e[e.length-1]}function Ml(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=Dl(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>va(t)));)n--;if(!r)return{x:0,y:0};const o=ya(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Vl(e){return e.max-e.min}function jl(e,t=0,n=.01){return Math.abs(e-t)<=n}function Hl(e,t,n,r=.5){e.origin=r,e.originPoint=Ka(t.min,t.max,e.origin),e.scale=Vl(n)/Vl(t),(jl(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Ka(n.min,n.max,e.origin)-e.originPoint,(jl(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Wl(e,t,n,r){Hl(e.x,t.x,n.x,r?r.originX:void 0),Hl(e.y,t.y,n.y,r?r.originY:void 0)}function Fl(e,t,n){e.min=n.min+t.min,e.max=e.min+Vl(t)}function Xl(e,t,n){e.min=t.min-n.min,e.max=e.min+Vl(t)}function zl(e,t,n){Xl(e.x,t.x,n.x),Xl(e.y,t.y,n.y)}function Zl(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 Yl(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 _l=.35;function Jl(e,t,n){return{min:Ul(e,t),max:Ul(e,n)}}function Ul(e,t){return"number"==typeof e?e:e[t]||0}const $l=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Kl(e){return[e("x"),e("y")]}function Ql({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function ql(e){return void 0===e||1===e}function ec({scale:e,scaleX:t,scaleY:n}){return!ql(e)||!ql(t)||!ql(n)}function tc(e){return ec(e)||nc(e)||e.z||e.rotate||e.rotateX||e.rotateY}function nc(e){return rc(e.x)||rc(e.y)}function rc(e){return e&&"0%"!==e}function ic(e,t,n){return n+t*(e-n)}function oc(e,t,n,r,i){return void 0!==i&&(e=ic(e,i,r)),ic(e,n,r)+t}function ac(e,t=0,n=1,r,i){e.min=oc(e.min,t,n,r,i),e.max=oc(e.max,t,n,r,i)}function sc(e,{x:t,y:n}){ac(e.x,t.translate,t.scale,t.originPoint),ac(e.y,n.translate,n.scale,n.originPoint)}function lc(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function cc(e,t){e.min=e.min+t,e.max=e.max+t}function uc(e,t,[n,r,i]){const o=void 0!==t[i]?t[i]:.5,a=Ka(e.min,e.max,o);ac(e,t[n],t[r],a,t.scale)}const dc=["x","scaleX","originX"],pc=["y","scaleY","originY"];function hc(e,t){uc(e.x,t,dc),uc(e.y,t,pc)}function mc(e,t){return Ql(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 fc=new WeakMap;class gc{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 Bl(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(Mo(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=zo(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),Kl(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Ui.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=Vl(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),i&&ea.update(()=>i(e,t),!1,!0);const{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=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}(a),void(null!==this.currentDirection&&i&&i(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),o&&o(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:i}=this.getProps();i&&ea.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:r}=this.getProps();if(!n||!bc(e,r,this.currentDirection))return;const i=this.getAxisMotionValue(e);let o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?Ka(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?Ka(n,e,r.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;e&&li(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:i}){return{x:Zl(e.x,n,i),y:Zl(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=_l){return!1===e?e=0:!0===e&&(e=_l),{x:Jl(e,"left","right"),y:Jl(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Kl(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||!li(e))return!1;const n=e.current;ba(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 i=function(e,t,n){const r=mc(e,n),{scroll:i}=t;return i&&(cc(r.x,i.offset.x),cc(r.y,i.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let o=function(e,t){return{x:Yl(e.x,t.x),y:Yl(e.y,t.y)}}(r.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}}(o));this.hasMutatedConstraints=!!e,e&&(o=Ql(e))}return o}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=Kl(a=>{if(!bc(a,t,this.currentDirection))return;let l=s&&s[a]||{};o&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(tl(e,n,0,t))}stopAnimation(){Kl(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){Kl(t=>{const{drag:n}=this.getProps();if(!bc(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:o}=r.layout.layoutBox[t];i.set(e[t]-Ka(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!li(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};Kl(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=Vl(e),i=Vl(t);return i>r?n=bs(t.min,t.max-r,e.min):r>i&&(n=bs(e.min,e.max-i,t.min)),Vi(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(),Kl(t=>{if(!bc(t,e,null))return;const n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set(Ka(i,o,r[t]))})}addListeners(){if(!this.visualElement.current)return;fc.set(this.visualElement,this);const e=Vo(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();li(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 i=Oo(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Kl(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(),r(),o&&o()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=_l,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function bc(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const vc=e=>(t,n)=>{e&&ea.update(()=>e(t,n))};const yc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function xc(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ic={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!$i.test(e))return e;e=parseFloat(e)}return`${xc(e,t.target.x)}% ${xc(e,t.target.y)}%`}},wc={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=ds.parse(e);if(i.length>5)return r;const o=ds.createTransformer(e),a="number"!=typeof i[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;i[0+a]/=s,i[1+a]/=l;const c=Ka(s,l,.5);return"number"==typeof i[2+a]&&(i[2+a]/=c),"number"==typeof i[3+a]&&(i[3+a]/=c),o(i)}};class Cc extends i.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;var o;o=Nc,Object.assign(Ti,o),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),yc.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o?(o.isPresent=i,r||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||ea.postRender(()=>{const e=o.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 Ac(e){const[t,n]=function(){const e=h(ii);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=g();return a(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}(),r=h(yi);return i.createElement(Cc,{...e,layoutGroup:r,switchLayoutGroup:h(xi),isPresent:t,safeToRemove:n})}const Nc={borderRadius:{...Ic,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ic,borderTopRightRadius:Ic,borderBottomLeftRadius:Ic,borderBottomRightRadius:Ic,boxShadow:wc},Ec=["TopLeft","TopRight","BottomLeft","BottomRight"],Tc=Ec.length,Sc=e=>"string"==typeof e?parseFloat(e):e,kc=e=>"number"==typeof e||$i.test(e);function Pc(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Bc=Rc(0,.5,Ma),Lc=Rc(.5,.95,ia);function Rc(e,t,n){return r=>r<e?0:r>t?1:n(bs(e,t,r))}function Gc(e,t){e.min=t.min,e.max=t.max}function Oc(e,t){Gc(e.x,t.x),Gc(e.y,t.y)}function Dc(e,t,n,r,i){return e=ic(e-=t,1/n,r),void 0!==i&&(e=ic(e,1/i,r)),e}function Mc(e,t,[n,r,i],o,a){!function(e,t=0,n=1,r=.5,i,o=e,a=e){Ui.test(t)&&(t=parseFloat(t),t=Ka(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=Ka(o.min,o.max,r);e===o&&(s-=t),e.min=Dc(e.min,t,n,s,i),e.max=Dc(e.max,t,n,s,i)}(e,t[n],t[r],t[i],t.scale,o,a)}const Vc=["x","scaleX","originX"],jc=["y","scaleY","originY"];function Hc(e,t,n,r){Mc(e.x,t,Vc,n?n.x:void 0,r?r.x:void 0),Mc(e.y,t,jc,n?n.y:void 0,r?r.y:void 0)}function Wc(e){return 0===e.translate&&1===e.scale}function Fc(e){return Wc(e.x)&&Wc(e.y)}function Xc(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 zc(e){return Vl(e.x)/Vl(e.y)}class Zc{constructor(){this.members=[]}add(e){il(this.members,e),e.scheduleRender()}remove(e){if(ol(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 Yc(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:i}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),i&&(r+=`rotateY(${i}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return 1===a&&1===s||(r+=`scale(${a}, ${s})`),r||"none"}const _c=(e,t)=>e.depth-t.depth;class Jc{constructor(){this.children=[],this.isDirty=!1}add(e){il(this.children,e),this.isDirty=!0}remove(e){ol(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(_c),this.isDirty=!1,this.children.forEach(e)}}const Uc=["","X","Y","Z"];let $c=0;const Kc={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Qc({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=$c++,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;Kc.totalNodes=Kc.resolvedTargetDeltas=Kc.recalculatedProjection=0,this.nodes.forEach(tu),this.nodes.forEach(lu),this.nodes.forEach(cu),this.nodes.forEach(nu),e=Kc,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 Jc)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new al),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:i,layout:o,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||i)&&(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:i})=>{const o=i-n;o>=t&&(ta(r),e(o-t))};return ea.read(r,!0),()=>ta(r)}(r,250),yc.hasAnimatedSinceResize&&(yc.hasAnimatedSinceResize=!1,this.nodes.forEach(su))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||o)&&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 i=this.options.transition||a.getDefaultTransition()||fu,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!Xc(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={...el(i,"layout"),onPlay:o,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||su(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,ta(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(uu),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(iu);this.isUpdating||this.nodes.forEach(ou),this.isUpdating=!1,this.nodes.forEach(au),this.nodes.forEach(qc),this.nodes.forEach(eu),this.clearAllSnapshots();const e=performance.now();_o.delta=Vi(0,1e3/60,e-_o.timestamp),_o.timestamp=e,_o.isProcessing=!0,Ko.update.process(_o),Ko.preRender.process(_o),Ko.render.process(_o),_o.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(ru),this.sharedNodes.forEach(du)}scheduleUpdateProjection(){ea.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){ea.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(!i)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!Fc(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&(t||tc(this.latestValues)||o)&&(i(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)),gu((r=n).x),gu(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&&(cc(t.x,n.offset.x),cc(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Oc(t,e);for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:i,options:o}=r;if(r!==this.root&&i&&o.layoutScroll){if(i.isRoot){Oc(t,e);const{scroll:n}=this.root;n&&(cc(t.x,-n.offset.x),cc(t.y,-n.offset.y))}cc(t.x,i.offset.x),cc(t.y,i.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Oc(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&&hc(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),tc(r.latestValues)&&hc(n,r.latestValues)}return tc(this.latestValues)&&hc(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Oc(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!tc(n.latestValues))continue;ec(n.latestValues)&&n.updateSnapshot();const r=$l();Oc(r,n.measurePageBox()),Hc(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return tc(this.latestValues)&&Hc(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!==_o.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:i,layoutId:o}=this.options;if(this.layout&&(i||o)){if(this.resolvedRelativeTargetAt=_o.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}},zl(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Oc(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var a,s,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(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,Fl(a.x,s.x,l.x),Fl(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Oc(this.target,this.layout.layoutBox),sc(this.target,this.targetDelta)):Oc(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}},zl(this.relativeTargetOrigin,this.target,e.target),Oc(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Kc.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!ec(this.parent.latestValues)&&!nc(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===_o.timestamp&&(r=!1),r)return;const{layout:i,layoutId:o}=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&&!o)return;Oc(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,r=!1){const i=n.length;if(!i)return;let o,a;t.x=t.y=1;for(let s=0;s<i;s++){o=n[s],a=o.projectionDelta;const i=o.instance;i&&i.style&&"contents"===i.style.display||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&hc(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,sc(e,a)),r&&tc(o.latestValues)&&hc(e,o.latestValues))}t.x=lc(t.x),t.y=lc(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;Wl(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=Yc(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Kc.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:{},i={...this.latestValues},o={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 a={x:{min:0,max:0},y:{min:0,max:0}},s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(mu));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;pu(o.x,e.x,n),pu(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(zl(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){hu(e.x,t.x,n.x,r),hu(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&Xc(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Oc(d,this.relativeTarget)),s&&(this.animationValues=i,function(e,t,n,r,i,o){i?(e.opacity=Ka(0,void 0!==n.opacity?n.opacity:1,Bc(r)),e.opacityExit=Ka(void 0!==t.opacity?t.opacity:1,0,Lc(r))):o&&(e.opacity=Ka(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<Tc;i++){const o=`border${Ec[i]}Radius`;let a=Pc(t,o),s=Pc(n,o);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||kc(a)===kc(s)?(e[o]=Math.max(Ka(Sc(a),Sc(s),r),0),(Ui.test(s)||Ui.test(a))&&(e[o]+="%")):e[o]=s)}(t.rotate||n.rotate)&&(e.rotate=Ka(t.rotate||0,n.rotate||0,r))}(i,r,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(ta(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ea.update(()=>{yc.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=Bi(e)?e:ul(e);return r.start(tl("",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:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&bu(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Vl(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=Vl(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Oc(t,n),hc(t,i),Wl(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Zc);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<Uc.length;t++){const i="rotate"+Uc[t];n[i]&&(r[i]=n[i],e.setStaticValue(i,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 i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=Po(e.pointerEvents)||"",r.transform=i?i(this.latestValues,""):"none",r;const o=this.getLead();if(!this.projectionDelta||!this.layout||!o.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&&!tc(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}const a=o.animationValues||o.latestValues;this.applyTransformsToTarget(),r.transform=Yc(this.projectionDeltaWithTransform,this.treeScale,a),i&&(r.transform=i(a,r.transform));const{x:s,y:l}=this.projectionDelta;r.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,o.animationValues?r.opacity=o===this?null!==(n=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=o===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const e in Ti){if(void 0===a[e])continue;const{correct:t,applyTo:n}=Ti[e],i="none"===r.transform?a[e]:t(a[e],o);if(n){const e=n.length;for(let t=0;t<e;t++)r[n[t]]=i}else r[e]=i}return this.options.layoutId&&(r.pointerEvents=o===this?Po(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(iu),this.root.sharedNodes.clear()}}}function qc(e){e.updateLayout()}function eu(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:i}=e.options,o=n.source!==e.layout.source;"size"===i?Kl(e=>{const r=o?n.measuredBox[e]:n.layoutBox[e],i=Vl(r);r.min=t[e].min,r.max=r.min+i}):bu(i,n.layoutBox,t)&&Kl(r=>{const i=o?n.measuredBox[r]:n.layoutBox[r],a=Vl(t[r]);i.max=i.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Wl(a,t,n.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?Wl(s,e.applyTransform(r,!0),n.measuredBox):Wl(s,t,n.layoutBox);const l=!Fc(a);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:i,layout:o}=r;if(i&&o){const a={x:{min:0,max:0},y:{min:0,max:0}};zl(a,n.layoutBox,i.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};zl(s,t,o.layoutBox),Xc(a,s)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function tu(e){Kc.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 nu(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ru(e){e.clearSnapshot()}function iu(e){e.clearMeasurements()}function ou(e){e.isLayoutDirty=!1}function au(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function su(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function lu(e){e.resolveTargetDelta()}function cu(e){e.calcProjection()}function uu(e){e.resetRotation()}function du(e){e.removeLeadSnapshot()}function pu(e,t,n){e.translate=Ka(t.translate,0,n),e.scale=Ka(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function hu(e,t,n,r){e.min=Ka(t.min,n.min,r),e.max=Ka(t.max,n.max,r)}function mu(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const fu={duration:.45,ease:[.4,0,.1,1]};function gu(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function bu(e,t,n){return"position"===e||"preserve-aspect"===e&&!jl(zc(t),zc(n),.2)}const vu=Qc({attachResizeListener:(e,t)=>Oo(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),yu={current:void 0},xu=Qc({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!yu.current){const e=new vu({});e.mount(window),e.setOptions({layoutScroll:!0}),yu.current=e}return yu.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Iu={pan:{Feature:class extends Yo{constructor(){super(...arguments),this.removePointerDownListener=ia}onPointerDown(e){this.session=new Bl(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:vc(e),onStart:vc(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&ea.update(()=>r(e,t))}}}mount(){this.removePointerDownListener=Vo(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 Yo{constructor(e){super(e),this.removeGroupControls=ia,this.removeListeners=ia,this.controls=new gc(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ia}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:xu,MeasureLayout:Ac}},wu=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Cu(e,t,n=1){ba(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,i]=function(e){const t=wu.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);return o?o.trim():Di(i)?Cu(i,t,n+1):i}const Au=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Nu=e=>Au.has(e),Eu=e=>e===ji||e===$i,Tu=(e,t)=>parseFloat(e.split(", ")[t]),Su=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return Tu(i[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?Tu(t[1],e):0}},ku=new Set(["x","y","z"]),Pu=Si.filter(e=>!ku.has(e));const Bu={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:Su(4,13),y:Su(5,14)},Lu=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(Nu);let o=[],a=!1;const s=[];if(i.forEach(i=>{const l=e.getValue(i);if(!e.hasValue(i))return;let c=n[i],u=hl(c);const d=t[i];let p;if(So(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=hl(c);for(let n=t;n<e&&null!==d[n];n++)p?ba(hl(d[n])===p,"All keyframes must be of the same type"):(p=hl(d[n]),ba(p===u||Eu(u)&&Eu(p),"Keyframes must be of the same dimension as the current value"))}else p=hl(d);if(u!==p)if(Eu(u)&&Eu(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[i]=parseFloat(d):Array.isArray(d)&&p===$i&&(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):(a||(o=function(e){const t=[];return Pu.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),a=!0),s.push(i),r[i]=void 0!==r[i]?r[i]:t[i],l.jump(d))}),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,i=((e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{s[e]=Bu[e](r,o)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const r=t.getValue(n);r&&r.jump(s[n]),e[n]=Bu[n](l,o)}),e})(t,e,s);return o.length&&o.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),oi&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:r}}return{target:t,transitionEnd:r}};function Ru(e,t,n,r){return(e=>Object.keys(e).some(Nu))(t)?Lu(e,t,n,r):{target:t,transitionEnd:r}}const Gu=(e,t,n,r)=>{const i=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(!Di(t))return;const n=Cu(t,r);n&&e.set(n)});for(const e in t){const i=t[e];if(!Di(i))continue;const o=Cu(i,r);o&&(t[e]=o,n||(n={}),void 0===n[e]&&(n[e]=i))}return{target:t,transitionEnd:n}}(e,t,r);return Ru(e,t=i.target,n,r=i.transitionEnd)},Ou={current:null},Du={current:!1};function Mu(){if(Du.current=!0,oi)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Ou.current=e.matches;e.addListener(t),t()}else Ou.current=!1}const Vu=new WeakMap,ju=Object.keys(vi),Hu=ju.length,Wu=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Fu=pi.length;class Xu{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,visualState:i},o={}){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=()=>ea.render(this.render,!1,!0);const{latestValues:a,renderState:s}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=hi(t),this.isVariantNode=mi(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!==a[e]&&Bi(t)&&(t.set(a[e],!1),nl(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Vu.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)),Du.current||Mu(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Ou.current),"production"!==process.env.NODE_ENV&&ll(!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(){Vu.delete(this.current),this.projection&&this.projection.unmount(),ta(this.notifyUpdate),ta(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=ki.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&ea.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,r,i){let o,a;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?ga(!1,e):ba(!1,e)}for(let e=0;e<Hu;e++){const n=ju[e],{isEnabled:r,Feature:i,ProjectionNode:s,MeasureLayout:l}=vi[n];s&&(o=s),r(t)&&(!this.features[n]&&i&&(this.features[n]=new i(this)),l&&(a=l))}if(!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:r,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(r)||a&&li(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:i,layoutScroll:s,layoutRoot:l})}return a}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<Wu.length;t++){const n=Wu[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 i in t){const o=t[i],a=n[i];if(Bi(o))e.addValue(i,o),nl(r)&&r.add(i),"development"===process.env.NODE_ENV&&ll("10.12.16"===o.version,`Attempting to mix Framer Motion versions ${o.version} with 10.12.16 may not work as expected.`);else if(Bi(a))e.addValue(i,ul(o,{owner:e})),nl(r)&&r.remove(i);else if(a!==o)if(e.hasValue(i)){const t=e.getValue(i);!t.hasAnimated&&t.set(o)}else{const t=e.getStaticValue(i);e.addValue(i,ul(void 0!==t?t:o,{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<Fu;e++){const n=pi[e],r=this.props[n];(ci(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=ul(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=Eo(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;const i=this.getBaseTargetFromProps(this.props,e);return void 0===i||Bi(i)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new al),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class zu extends Xu{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},i){let o=function(e,t,n){const r={};for(const i in e){const e=bl(i,t);if(void 0!==e)r[i]=e;else{const e=n.getValue(i);e&&(r[i]=e.get())}}return r}(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),o&&(o=r(o))),i){!function(e,t,n){var r,i;const o=Object.keys(t).filter(t=>!e.hasValue(t)),a=o.length;if(a)for(let s=0;s<a;s++){const a=o[s],l=t[a];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(i=null!==(r=n[a])&&void 0!==r?r:e.readValue(a))&&void 0!==i?i:t[a]),null!=c&&("string"==typeof c&&(rl(c)||Qs(c))?c=parseFloat(c):!fl(c)&&ds.test(l)&&(c=Ks(a,l)),e.addValue(a,ul(c,{owner:e})),void 0===n[a]&&(n[a]=c),null!==c&&e.setBaseTarget(a,c))}}(this,n,o);const e=Gu(this,n,o,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class Zu extends zu{readValueFromInstance(e,t){if(ki.has(t)){const e=$s(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),i=(Oi(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof i?i.trim():i}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return mc(e,t)}build(e,t,n,r){no(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Ao(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Bi(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){Io(e,t,n,r)}}class Yu extends zu{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(ki.has(t)){const e=$s(t);return e&&e.default||0}return t=wo.has(t)?t:xo(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return No(e,t)}build(e,t,n,r){fo(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){Co(e,t,0,r)}mount(e){this.isSVGTag=bo(e.tagName),super.mount(e)}}const _u=(e,t)=>Ei(e)?new Yu(t,{enableHardwareAcceleration:!1}):new Zu(t,{enableHardwareAcceleration:!0}),Ju={...kl,...pa,...Iu,...{layout:{ProjectionNode:xu,MeasureLayout:Ac}}},Uu=Ai((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...Ei(e)?Ro:Go,preloadedFeatures:n,useRender:yo(t),createVisualElement:r,Component:e}}(e,t,Ju,_u));function $u(){const e=s(!1);return ai(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class Ku extends r.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Qu({children:e,isPresent:t}){const n=g(),i=s(null),o=s({width:0,height:0,top:0,left:0});return m(()=>{const{width:e,height:r,top:a,left:s}=o.current;if(t||!i.current||!e||!r)return;i.current.dataset.motionPopId=n;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n [data-motion-pop-id="${n}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${r}px !important;\n top: ${a}px !important;\n left: ${s}px !important;\n }\n `),()=>{document.head.removeChild(l)}},[t]),r.createElement(Ku,{isPresent:t,childRef:i,sizeRef:o},r.cloneElement(e,{ref:i}))}const qu=({children:e,initial:t,isPresent:n,onExitComplete:i,custom:o,presenceAffectsLayout:a,mode:s})=>{const c=To(ed),u=g(),d=l(()=>({id:u,initial:t,isPresent:n,custom:o,onExitComplete:e=>{c.set(e,!0);for(const e of c.values())if(!e)return;i&&i()},register:e=>(c.set(e,!1),()=>c.delete(e))}),a?void 0:[n]);return l(()=>{c.forEach((e,t)=>c.set(t,!1))},[n]),r.useEffect(()=>{!n&&!c.size&&i&&i()},[n]),"popLayout"===s&&(e=r.createElement(Qu,{isPresent:n},e)),r.createElement(ii.Provider,{value:d},e)};function ed(){return new Map}const td=e=>e.key||"";const nd=({children:e,custom:t,initial:n=!0,onExitComplete:i,exitBeforeEnter:o,presenceAffectsLayout:l=!0,mode:u="sync"})=>{ba(!o,"Replace exitBeforeEnter with mode='wait'");const d=h(yi).forceRender||function(){const e=$u(),[t,n]=c(0),r=f(()=>{e.current&&n(t+1)},[t]);return[f(()=>ea.postRender(r),[r]),t]}()[0],p=$u(),m=function(e){const t=[];return v.forEach(e,e=>{y(e)&&t.push(e)}),t}(e);let g=m;const x=s(new Map).current,I=s(g),w=s(new Map).current,C=s(!0);var A;if(ai(()=>{C.current=!1,function(e,t){e.forEach(e=>{const n=td(e);t.set(n,e)})}(m,w),I.current=g}),A=()=>{C.current=!0,w.clear(),x.clear()},a(()=>()=>A(),[]),C.current)return r.createElement(r.Fragment,null,g.map(e=>r.createElement(qu,{key:td(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:l,mode:u},e)));g=[...g];const N=I.current.map(td),E=m.map(td),T=N.length;for(let e=0;e<T;e++){const t=N[e];-1!==E.indexOf(t)||x.has(t)||x.set(t,void 0)}return"wait"===u&&x.size&&(g=[]),x.forEach((e,n)=>{if(-1!==E.indexOf(n))return;const o=w.get(n);if(!o)return;const a=N.indexOf(n);let s=e;if(!s){const e=()=>{w.delete(n),x.delete(n);const e=I.current.findIndex(e=>e.key===n);if(I.current.splice(e,1),!x.size){if(I.current=m,!1===p.current)return;d(),i&&i()}};s=r.createElement(qu,{key:td(o),isPresent:!1,onExitComplete:e,custom:t,presenceAffectsLayout:l,mode:u},o),x.set(n,s)}g.splice(a,0,s)}),g=g.map(e=>{const t=e.key;return x.has(t)?e:r.createElement(qu,{key:td(e),isPresent:!0,presenceAffectsLayout:l,mode:u},e)}),"production"!==process.env.NODE_ENV&&"wait"===u&&g.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),r.createElement(r.Fragment,null,x.size?g:g.map(e=>b(e)))};function rd(){!Du.current&&Mu();const[e]=c(Ou.current);return"production"!==process.env.NODE_ENV&&ll(!0!==e,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),e}const id={scale:{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{duration:.3}},shadow:{whileHover:{boxShadow:"0 10px 25px rgba(0,0,0,0.15)"},transition:{duration:.3}},lift:{whileHover:{y:-5},whileTap:{y:0},transition:{type:"spring",stiffness:300,damping:20}},opacity:{whileHover:{opacity:.8},transition:{duration:.2}},grow:{whileHover:{scale:1.1},whileTap:{scale:.95},transition:{type:"spring",stiffness:300,damping:20}},pop:{whileHover:{scale:1.05},whileTap:{scale:.95},transition:{duration:.15}}};function od({children:t,animationType:n=ti,disableAnimation:r=!0,whileHover:o,whileTap:a,transition:s,...l}){const c=rd(),u=i.Children.only(t);if(r||c)return u;const d=function(e){if(!e)return;const t=Array.isArray(e)?e:[e];return 0!==t.length?t.reduce((e,t)=>{const n=id[t];return{whileHover:{...e.whileHover,...n.whileHover},...e.whileTap||n.whileTap?{whileTap:{...e.whileTap,...n.whileTap}}:{},transition:{...e.transition,...n.transition}}},{whileHover:{},transition:{}}):void 0}(n),p=d?{...d.whileHover,...o}:o,h=(null==d?void 0:d.whileTap)||a?{...null==d?void 0:d.whileTap,...a}:void 0,m=d?{...d.transition,...s}:s;if("string"==typeof u.type){const t=Uu[u.type];return e(t,{...u.props,ref:u.ref,whileHover:p,whileTap:h,transition:m,...l})}return e(Uu.div,{whileHover:p,whileTap:h,transition:m,...l,children:u})}od.displayName="AnimationWrapper";const ad=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()},sd=o(({variant:r="primary_brand",isLoading:i=!1,text:o,label:a,disabled:s,fullWidth:l,buttonClassName:c,size:u={base:"medium"},iconName:d,iconSize:p=24,iconFill:h=0,disableAnimation:m,animationType:f=ti,as:g="button",...b},v)=>{const y=(()=>{const e=Ye((e=>{let t="";return e.base&&(t=`btn-${e.base} `),e.md&&(t+=`${(e=>{switch(e){case"small":return"md:btn-small";case"medium":return"md:btn-medium";case"large":return"md:btn-large";case"x-large":return"md:btn-x-large"}})(e.md)} `),e.lg&&(t+=`lg:btn-${e.lg} `),t.trim()})(u),"rounded-button overflow-visible flex lg:inline-flex px-15 gap-2 items-center justify-center text-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top whitespace-nowrap",l?"w-full":"w-full lg:w-auto"),t=Ye((s||i)&&"cursor-not-allowed",i&&"pl-7");return Ye(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus:outline-bg-fill-brand disabled:bg-bg-fill-brand-disabled",primary_inverse:"bg-bg-fill-inverse text-text-inverse [&:not(:disabled)]:hover:bg-bg-fill-inverse-hover focus:outline-bg-fill-inverse disabled:bg-bg-fill-inverse-disabled",secondary:"border border-border-secondary-on-bg-fill bg-bg-fill-secondary text-text [&:not(:disabled)]:hover:bg-bg-fill-secondary-hover focus:bg-bg-fill-secondary focus:outline-input-border-hover disabled:bg-bg-fill-secondary",secondary_inverse:"border border-border-secondary-on-bg-fill bg-bg-fill-secondary text-text [&:not(:disabled)]:hover:bg-bg-fill-secondary-hover focus:bg-bg-fill-secondary focus:outline-border-inverse disabled:bg-bg-fill-secondary"}[r]||"",t,c)})();let x=`button--${r}`;i&&(x+=" button--loading"),s&&(x+=" button--disabled");const I=`${x} ${y}`,w=t(n,{children:[i?e(br,{name:"progress_activity",className:"animate-spin"}):null,a?t("span",{className:"flex flex-col",children:[e("span",{className:Ye(ad(u)),children:a}),o]}):o,d?e(br,{name:d,size:p,fill:h,weight:"200"}):null]});return e(od,"a"===g?{disableAnimation:m,animationType:f,children:e("a",{ref:v,className:Ye(I),...b,"data-component":"BrandButton","data-variant":"anchor",children:w})}:{disableAnimation:m,animationType:f,children:e("button",{ref:v,className:Ye(I),disabled:s||i,...b,"data-component":"BrandButton","data-variant":"button",children:w})})});sd.displayName="BrandButton";const ld={primary_brand:"text-text-brand",primary_inverse:"text-text",secondary:"text-text",secondary_inverse:"text-text-inverse"},cd=r=>{const{showButtonAs:o="solid",buttonVariant:a="primary_brand",buttonLabel:s,buttonPrefix:l,href:c,target:u="_blank",anchorId:d,linkClassName:p,linkVariant:h,fullWidth:m,preDefinedFunctionExecution:f,renderCheckPlans:g,buttonClassName:b,clickToOpen:v,tabmodalNameToOpen:y,idNameToOpen:x,onModalButtonClick:I,onClick:w,iconFill:C=0,buttonIconName:A,buttonIconPosition:N,size:E,iconSize:T=24,preserveQueryParameters:S,disableAnimation:k,animationType:P=ti,...B}=r,L="left"===N,R=A,G=Ye(b,L&&R?"flex-row-reverse":"");if("check availability"===f&&g){const t=null==g?void 0:g({ctaText:s,buttonVariant:a,showButtonAs:o,cta:{...r}});return i.isValidElement(t)?e(od,{disableAnimation:k,animationType:P,children:t}):t}function O(e){"modal"===v&&(null==e||e.preventDefault(),null==I||I(y)),"clickId"===v&&(null==e||e.preventDefault(),function(){var e;if("clickId"===v&&x){const t=document.getElementById(x);t&&(t.scrollIntoView({behavior:"smooth",block:"start"}),null===(e=t.click)||void 0===e||e.call(t))}}())}function D(e){O(e),null==w||w(e)}function M(e){O(e),null==w||w(e)}const V="undefined"!=typeof window?window.location.search:"",j=f?void 0:c&&S&&V?function(e,t){if(!t)return e;const n=new URLSearchParams(t),r=new Set(Nt),i=new Set([...r,"searchtext","page"]);let o,a;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);o=t.origin+t.pathname,a=t.searchParams}else{const[t,n]=e.split("?");o=t,a=new URLSearchParams(n||"")}}catch(t){return e}const s=new URLSearchParams(a);n.forEach((e,t)=>{i.has(t.toLowerCase())||s.has(t)||s.set(t,e)});const l=s.toString();return l?`${o}?${l}`:o}(c,V):c;let H=e($r,{onClick:M,className:b,...B});switch(o){case"solid":H=e(sd,j?{as:"a",href:j,id:d,variant:a,text:s,label:l,fullWidth:m,buttonClassName:G,size:E,onClick:D,iconName:R,iconSize:T,iconFill:C,disableAnimation:k,animationType:P}:{id:d,variant:a,text:s,label:l,fullWidth:m,size:E,onClick:M,iconName:R,iconSize:T,iconFill:C,buttonClassName:G,disableAnimation:k,animationType:P});break;case"text":H=e(wr,{title:s,href:j,target:u,variant:h||"default",className:Ye(R&&"label1 inline-flex items-center gap-2 no-underline",ld[a],p),onClick:D,children:R?t(n,{children:[L?e(br,{name:R,size:T,fill:C}):null,s,L?null:e(br,{name:R,size:T,fill:C})]}):e(n,{children:s})});break;case"button-with-icon":H=e(sd,j?{as:"a",href:j,id:d,variant:a,text:s,label:l,fullWidth:m,buttonClassName:G,size:E,onClick:D,iconName:R,iconSize:T,iconFill:C,disableAnimation:k,animationType:P}:{id:d,variant:a,text:s,label:l,fullWidth:m,buttonClassName:G,size:E,onClick:M,iconName:R,iconSize:T,iconFill:C,disableAnimation:k,animationType:P});break;case"text-with-icon":{const n=(e=>({primary_brand:"text-text-brand",primary_inverse:"text-text-inverse",secondary:"text-text",secondary_inverse:"text-text-inverse"}[e]||"text-text-brand"))(a);H=t(wr,{href:j,target:u,onClick:D,className:Ye("group mt-auto inline-flex items-center justify-start gap-2 pt-3 text-sm no-underline",n,b),"aria-label":s,children:[L&&R?e(br,{name:R,fill:C,size:T,weight:"200"}):null,e(vr,{"aria-label":s,className:"label1 text-nowrap",children:s}),R&&!L&&e(br,{name:R,fill:C,size:T,weight:"200"})]});break}}return e(od,{disableAnimation:k,animationType:P,children:H})};var ud;const dd=null!==(ud=C.default)&&void 0!==ud?ud:C,pd=({href:r,title:i,description:o,date:a,category:s,image:l,imageAltText:c,imageComponent:u,asGrid:d=!0,index:p})=>{var h,m,f;const g=null!==(f=null!==(m=null!==(h=null!=c?c:null==l?void 0:l.description)&&void 0!==h?h:null==l?void 0:l.alt)&&void 0!==m?m:i)&&void 0!==f?f:"blog-card-image";return t("article",{className:d?"group relative flex h-full flex-col overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop":"callout-card group relative w-full flex h-full flex-col overflow-hidden","data-section-type":"blog-card","data-section-index":p,"data-view-mode":d?"grid":"list",children:[d&&e("div",{className:"block h-[232px] w-full flex-shrink-0 overflow-hidden bg-gray-100",children:l?u?e(u,{src:l.src,alt:g,width:l.width,height:l.height,className:"h-full w-full object-cover transition-transform duration-300 group-hover:scale-[1.03]",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"}):e("img",{src:l.src,alt:g,width:l.width,height:l.height,loading:"lazy",decoding:"async",className:"h-full w-full object-cover transition-transform duration-300 group-hover:scale-[1.03]"}):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 "+(d?"gap-5 p-6 md:p-8":"gap-1 border-b p-3 md:p-4"),children:[t("div",{className:"flex items-center gap-2 text-[13px]",children:[d&&e("span",{className:"body2 text-text-brand",children:s}),a&&t(n,{children:[d&&e("span",{className:"footnote text-text","aria-hidden":"true",children:"•"}),e("time",{className:"body2 text-text",children:a})]})]}),i&&e(vr,{as:"h2",className:"heading6",children:e(dd,{href:r,className:"m-0 line-clamp-3 font-black transition-colors duration-150 after:absolute after:inset-0 after:z-10 after:content-[''] hover:text-text-brand group-hover:text-text-brand",children:i})}),o&&e(vr,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:o})]}),!i&&e(dd,{href:r,className:"absolute inset-0 z-10",children:e("span",{className:"sr-only",children:null!=s?s:"Read more"})})]})},hd={left:"w-full lg:flex lg:justify-start",right:"w-full lg:flex lg:justify-end",center:"w-full lg:flex lg:justify-center"},md=({card:n,lgWidth:r,mdWidth:i})=>{var o,a,s,l,c,u;const{image:d,title:p,header:h,body:m,cta:f,ctaAlignment:g,imageLink:b,imageClassName:v,className:y,imageAltText:x,isPromoBarImg:I=!1,shadow:w=!1,disableAnimation:C}=n,A=g?hd[g]:hd.left,N=b?"cursor-pointer":"",E=b?()=>{"undefined"!=typeof window&&window.open(b,"_blank")}:void 0;return I?(null==d?void 0:d.href)?e(Rr,{src:d.href,alt:null!==(s=null!==(a=null!==(o=null!=x?x:d.description)&&void 0!==o?o:d.title)&&void 0!==a?a:p)&&void 0!==s?s:"promo-bar-image",width:148,height:40,onClick:E,className:N}):null:t("section",{"aria-labelledby":"Image Card",className:Ye("callout-card relative flex h-full w-full flex-col gap-5 px-0 pb-4 pt-0 md:items-start md:gap-6 lg:pb-0",w&&"rounded-3xl shadow-card",i,r,y),children:[(null==d?void 0:d.href)?e("div",{className:Ye("relative h-[233px] w-full overflow-hidden sm:mb-1 md:h-[274px] md:flex-none lg:mb-0 lg:h-[330px]",v),children:e(Rr,{src:d.href,alt:null!==(c=null!==(l=null!=x?x:d.description)&&void 0!==l?l:d.title)&&void 0!==c?c:"card-image",width:d.width||400,height:d.height||330,onClick:E,className:Ye("h-full w-full rounded-[40px] object-cover",N)})}):null,h?e(vr,{as:"h4",className:"heading6 text-text",children:h}):null,m?e(vr,{as:"div",className:"body1 -mt-1 mb-0 flex-1 text-text md:-mt-2 lg:mt-2",children:m}):null,e("div",{className:Ye(A,"mt-auto"),children:f?e(cd,{...f,showButtonAs:f.showButtonAs||(f.buttonIconName?void 0:"text-with-icon"),iconName:f.iconName||(f.buttonIconName?void 0:"expand_circle_right"),iconFill:null!==(u=f.iconFill)&&void 0!==u?u:1,disableAnimation:!(!1===C&&!1===f.disableAnimation),animationType:ti}):null})]})},fd=({card:n,lgWidth:r,mdWidth:i})=>{const{anchorId:o="FullImageCard",title:a,description:s,caption:l,image:c,imageAltText:u,cta:d,link:p,className:h,contentClassName:m,imageClassName:f,shadow:g=!0}=n,b=d||p,v=null==b?void 0:b.href,y=a?e(vr,{as:"h3",className:"body1 text-text xl:heading6",children:a}):null;return t("section",{id:o,className:Ye("callout-card relative flex flex-col rounded-3xl bg-white p-0",g&&"shadow-card",i,r,"w-full",h),"aria-labelledby":`card-title-${o}`,children:[(null==c?void 0:c.href)?e("div",{className:Ye("relative aspect-video overflow-hidden rounded-tl-3xl rounded-tr-3xl",f),children:(()=>{var t,n,r;if(!(null==c?void 0:c.href))return null;const i=e(Rr,{src:c.href,alt:null!==(r=null!==(n=null!==(t=null!=u?u:c.description)&&void 0!==t?t:c.title)&&void 0!==n?n:a)&&void 0!==r?r:"card-image",width:c.width||400,height:c.height||280,className:"w-full"});return v?e(wr,{href:v,tabIndex:-1,target:null==b?void 0:b.target,children:i}):i})()}):null,t("div",{className:Ye("flex h-full flex-col gap-4 p-6 md:p-8",m),children:[t("div",{className:"flex flex-1 flex-col justify-between",children:[t("div",{children:[v&&y?e(wr,{href:v,target:null==b?void 0:b.target,className:"no-underline hover:underline",children:y}):y,s?e(vr,{as:"p",className:"body2 mt-4 text-text md:body1",children:s}):null]}),l?e(vr,{as:"p",className:"footnote mt-5 text-text-secondary",children:l}):null]}),d?e("div",{className:"mt-2 flex items-end",children:e(cd,{linkVariant:"unstyled",linkClassName:"label1 flex items-center gap-2 text-text",...d,iconName:"expand_circle_right",iconFill:1})}):null]})]})},gd={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},bd={left:"flex w-full justify-start",right:"flex w-full justify-end",center:"flex w-full justify-center"},vd={left:"justify-start",right:"justify-end",center:"justify-center"},yd=e=>{const t=(e||"").replace(/\D/g,"");return t?`tel:${t}`:""},xd=({card:n,lgWidth:r,mdWidth:i,className:o,contentClassName:a,style:s})=>{var l,c,u,d,p,h,m,f,g,b,v,y,x,I,w,C,A,N,E;const T=null===(l=n.imageView)||void 0===l?void 0:l.toLowerCase(),S="full"===T,k="margin"===T,P="standard"===T,B="icon"===T||"inset"===T||!T&&!!n.image,L=P||B,R=(null===(c=n.iconAlignment)||void 0===c?void 0:c.toLowerCase())||(null===(u=n.imageAlignment)||void 0===u?void 0:u.toLowerCase())||"left",G=n.ctaAlignment&&bd[n.ctaAlignment]||bd.left,O=n.ctaAlignmentBottom&&vd[n.ctaAlignmentBottom]||vd.left,D=null===(d=n.pinwheelColor)||void 0===d?void 0:d.split("-")[1],M=L&&n.applyCardBackgroundColor,V={...s,...M&&n.backgroundColor?{"--scc-bg":n.backgroundColor}:{},...M&&n.textColor?{"--scc-fg":n.textColor}:{},...M&&n.backgroundColor?{backgroundColor:"var(--scc-bg)"}:{},...M&&n.showBackgroundImage&&D?{backgroundImage:`url('data:image/svg+xml;utf8,${encodeURIComponent(_e(D))}')`,backgroundPosition:"top left",backgroundSize:"684px 107px",backgroundRepeat:"no-repeat"}:{}},j=t=>{var r,i,o,a;return n.image?e("div",{className:Ye("relative aspect-video overflow-hidden",t?"mx-6 lg:mx-8":"rounded-t-3xl"),children:e(Rr,{src:n.image,alt:null!==(a=null!==(o=null!==(i=null!==(r=n.imageAltText)&&void 0!==r?r:n.imageDescription)&&void 0!==i?i:n.imageAlt)&&void 0!==o?o:n.title)&&void 0!==a?a:"card-image",width:n.imageWidth||400,height:n.imageHeight||280,className:Ye("w-full",!t&&"rounded-t-3xl")})}):null},H=M&&n.textColor?{color:n.textColor}:void 0,W=n.title?e(vr,{as:"h3",className:"heading6 mb-2 text-text md:heading6",style:H,children:n.title}):null,F=(null===(p=n.cta)||void 0===p?void 0:p.href)&&W?e(wr,{href:n.cta.href,target:n.cta.target,className:"no-underline hover:underline",style:H,children:W}):W,X=(null!==(m=null===(h=n.workingHours)||void 0===h?void 0:h.length)&&void 0!==m?m:0)>0||(null!==(g=null===(f=n.phoneNumber)||void 0===f?void 0:f.length)&&void 0!==g?g:0)>0,z=!(!n.cta||n.title||n.titleLocation||n.body||n.richText||n.image||X||(null===(b=n.ctaBottom)||void 0===b?void 0:b.title)&&(null===(v=n.ctaBottom)||void 0===v?void 0:v.href));return t("section",{className:Ye("callout-card relative flex h-full w-full flex-col rounded-3xl p-0",n.shadow&&"shadow-card",n.image&&!S&&!n.showBackgroundImage&&"pt-1",!n.applyCardBackgroundColor&&(null!==(x=gd[null!==(y=n.backgroundColor)&&void 0!==y?y:""])&&void 0!==x?x:""),i,r,o),style:V,"aria-labelledby":n.title?`callout-${n.title}`:void 0,children:[(null===(I=n.ctaBottom)||void 0===I?void 0:I.title)&&(null===(w=n.ctaBottom)||void 0===w?void 0:w.href)?e("div",{className:Ye("top-link m-6 flex items-center lg:m-8",O),children:t(wr,{href:n.ctaBottom.href,className:"label1 inline-flex items-center gap-2 text-text decoration-text underline-offset-4 hover:underline",children:[e(br,{name:"location_on",fill:1,size:24}),e("span",{children:n.ctaBottom.title})]})}):null,n.image&&S?j(!1):null,n.image&&k?j(!0):null,t("div",{className:Ye("relative flex flex-1 flex-col justify-between",z?"p-0":"px-6 pb-8 pt-7 lg:px-8 lg:py-8",a),children:[e("div",{className:"flex flex-1 flex-col justify-between",children:t("div",{className:Ye("flex flex-col",n.imageToRichTextAlignment&&"lg:flex-row lg:items-start lg:gap-6"),children:[e("div",{className:Ye(n.imageToRichTextAlignment&&"flex-shrink-0"),children:!n.image||S||k?null:(()=>{var t,r,i,o;if(!n.image)return null;const a=P&&n.imageWidth||60,s=P&&n.imageHeight||60;return e("div",{className:Ye("relative mb-8 flex",n.imageToRichTextAlignment&&"h-[60px] w-[60px] flex-shrink-0"),style:{justifyContent:R},children:e(Rr,{src:n.image,alt:null!==(o=null!==(i=null!==(r=null!==(t=n.imageAltText)&&void 0!==t?t:n.imageDescription)&&void 0!==r?r:n.imageAlt)&&void 0!==i?i:n.title)&&void 0!==o?o:"card-icon",width:a,height:s,className:Ye("object-contain",n.imageToRichTextAlignment&&"!h-[60px] !w-[60px]")})})})()}),t("div",{className:"flex flex-col gap-3 md:gap-4",children:[F,n.titleLocation?e("div",{className:"mb-1 lg:mb-2",children:e(vr,{as:"h4",className:"label1 font-bold text-text",children:n.titleLocation})}):null,X?e("div",{className:"mb-2",children:e("table",{children:t("tbody",{children:[null===(C=n.workingHours)||void 0===C?void 0:C.map((n,r)=>{const[i,o]=(null!=n?n:"").split("|");return t("tr",{children:[e("td",{className:"py-2 pr-3",children:e(vr,{className:"label2 text-text",children:i})}),e("td",{className:"py-2 pl-3",children:e(vr,{className:"body2 font-bold text-text",children:o})})]},`wh-${r}`)}),null===(A=n.phoneNumber)||void 0===A?void 0:A.map((n,r)=>t("tr",{children:[e("td",{className:"py-1 pr-3 align-middle",children:e(br,{fill:1,name:"call",size:24,weight:"200",className:"text-text"})}),e("td",{className:"py-1 pl-3",children:e(wr,{href:yd(n),className:"text-inherit no-underline",children:e(vr,{className:"body2 font-bold text-text",children:n})})})]},`ph-${r}`))]})})}):null,n.body?e(vr,{as:"div",className:"body1 text-text",style:H,children:n.body}):null,n.richText?e(vr,{as:"div",className:"body1 text-text",style:H,children:n.richText}):null]})]})}),n.cta?e("div",{className:Ye(!z&&"mt-2",G),children:e(cd,{linkVariant:"unstyled",linkClassName:Ye("label1 flex items-center gap-2 text-text",M&&n.textColor&&"decoration-current"),...n.cta,iconName:null!==(N=n.cta.iconName)&&void 0!==N?N:"expand_circle_right",iconFill:null!==(E=n.cta.iconFill)&&void 0!==E?E:1,fullWidth:!0,buttonClassName:Ye(n.cta.buttonClassName,z&&"w-[342px] max-w-full px-4 lg:w-[342px]")})}):null]})]})},Id={cream500:"bg-[#FFFEEF]",gray100:"bg-fill-secondary",white:"bg-white",transparent:"",blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",yellow:"bg-[#F5FF1E]"},wd={1:"md:w-full",2:"md:w-[calc(50%-1rem)]"},Cd={1:"lg:w-full",2:"lg:w-[calc(50%-0.75rem)]",3:"lg:w-[calc(33.333%-1rem)]",4:"lg:w-[calc(25%-1.125rem)]",5:"lg:w-[calc(20%-1.2rem)]",6:"lg:w-[calc(16.666%-1.25rem)]"},Ad=e=>Math.max(1,Math.min(6,e)),Nd=({anchorId:n,title:r,items:i,enableHeading:o=!1,subtitle:a,description:s,finePrint:l,cta:c,color:u="dark",maxWidth:d=!0,maxCardsPerRow:p,cardType:h="simple",backgroundColor:m,background:f,textColor:g,containerClassName:b,innerClassName:v,applyBoxShadow:y=!1,cardStackingMobile:x=!0,cardsWidth:I=!0,noGutter:w=!1,disableAnimation:C,animationType:A="lift"})=>{var N,E,T;const S=null!==(N=null==i?void 0:i.length)&&void 0!==N?N:0,k=Ad(null!=p?p:(P=S)<=4?P||1:P%3==0?3:P%4==0||P>6?4:3);var P;const B=Ad(Math.min(k,S||k)),L=!1===I&&"blog"!==h,R=L?Ye("flex flex-col items-stretch self-stretch",w?"gap-0":"gap-3"):Ye("flex flex-wrap items-stretch justify-center self-stretch",w?"gap-0":"gap-3",w?"md:gap-0":"md:gap-3"),G=L?"":Ye("w-full",wd[Ad(x?1:Math.min(2,k))],Cd[B]),O=(t,n)=>{var r,i;const o=null!==(r=t.cardType)&&void 0!==r?r:h,a=L?{lgWidth:void 0,mdWidth:void 0}:{};switch(o){case"blog":{const r=t;return e(pd,{title:r.title,href:r.slug,description:r.shortDescription,date:r.blogCreationDate,category:r.category,image:r.cover,imageAltText:r.imageAltText,asGrid:!1,...a},n)}case"fullImage":return e(fd,{card:{...t},...a},n);case"floatingImage":return e(md,{card:{...t},...a},n);default:return e(xd,{card:{...t,shadow:null!==(i=t.shadow)&&void 0!==i?i:y},...a},n)}},D=f?{background:f}:void 0,M=g?{color:g}:void 0,V=f?"":m&&null!==(E=Id[m])&&void 0!==E?E:"";return e("section",{id:n,className:Ye("component-container",V,b),style:D,children:e("div",{className:Ye(w?"p-0":"mx-5 mb-5 mt-12 md:mx-0 md:mb-0 md:mt-0 md:px-6 md:pb-8 md:pt-16 lg:px-0 lg:py-20",d&&"max-w-120 xl:mx-auto","dark"===u?"text-text":"text-white",v),children:t("div",{className:"callout-container flex flex-col gap-10 md:gap-16",children:[t("div",{className:"title-holder",style:M,children:[r&&e(vr,{as:o?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:r}),a&&e(vr,{as:o?"h2":"h3",className:"subheading3 mt-2 md:subheading1 md:text-center lg:mt-3",children:a}),s&&e(vr,{as:"p",className:"body1 mt-4 text-center md:mt-6",children:s})]}),e("div",{className:Ye("card-holder",R),children:i.map((t,n)=>L?e(od,{animationType:A,disableAnimation:C,children:O(t,n)},`callout-card-${n}`):e("div",{className:Ye("callout-card",G),children:e(od,{animationType:A,disableAnimation:C,children:O(t,n)})},`callout-card-${n}`))}),(c||l)&&t("div",{className:"flex flex-col items-center gap-4",children:[c?e(cd,{linkClassName:"label1",buttonClassName:"label1",...c,children:null!==(T=c.label)&&void 0!==T?T:c.buttonLabel}):null,l?e(vr,{as:"div",className:"footnote text-center text-text",children:l}):null]})]})})})},Ed=({fields:t})=>e("div",{children:e(vr,{children:"Cards"})}),Td=o(({as:t,className:n="",...r},i)=>{const o=Ye(n);if(t){return e(t,{ref:i,className:o,...r})}return e("img",{ref:i,className:o,...r})});Td.displayName="Image";const Sd=({onSelect:r,speed:i,isSelected:o=!1,renderCheckPlans:a,iconSize:s=24,iconClassName:l,cta:u,techType:d,isMax:p})=>{const[h,m]=c(!1),f=`btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${o?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,g=null==a?void 0:a({speedCardConfig:{isModalOpen:h,setModalOpen:()=>{m(!1)},speed:i,techType:d,isMax:p},cta:u});return t(n,{children:[t($r,{onClick:()=>{m(!0),r()},className:Ye(f,"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(br,{className:Ye(l,o?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),g]})},kd=({planName:r,planSubtext:i,speed:o,price:a,description:s,bestValue:l=!1,bestValueText:u="best value",giftBadge:d,innerBadge:p,theme:h="light",featuresTitle:m="Business Ready Internet features",features:f=[],isExpanded:g,onToggleExpand:b,onCtaClick:v,renderCheckPlans:y,cta:x,techType:I,ismaxSpeed:w})=>{const[C,A]=c(!1),N=void 0!==g?g:C,E="dark"===h;return t("article",{className:Ye("relative flex h-full w-full max-w-[392px] flex-col",!l&&"md:pt-[38px]"),children:[l&&e("div",{className:"label3 rounded-t-[20px] bg-bg-fill-brand-accent px-6 py-2 text-center text-text",children:u}),t("div",{className:Ye("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",E?"text-inverse border-2 border-border-accent bg-bg-fill-inverse":"bg-bg text-text",l?"rounded-t-none border-t-0":""),children:[t("header",{className:"overflow-none flex items-start justify-between gap-4",children:[t("div",{className:"flex flex-col",children:[e(vr,{as:"h3",className:Ye("subheading2",E?"text-text-accent-on-bg-inverse":"text-text-brand"),children:r}),e(vr,{as:"p",className:"label3 text-wrap "+(E?"text-text-accent-on-bg-inverse":"text-text-brand"),children:i})]}),t("div",{className:"flex items-start",children:[e(vr,{as:"span",className:Ye("label2 mr-1 mt-[2px]",E?"text-text-inverse":"text-text"),children:"$"}),e(vr,{as:"span",className:Ye("subheading6",E?"text-text-inverse":"text-text"),children:a.split(".")[0]}),t(vr,{as:"span",className:Ye("label2",E?"text-text-inverse":"text-text"),children:[a.split(".")[1],"/mo"]})]})]}),e("section",{children:e(vr,{className:Ye("body2",E?"text-text-inverse":"text-text"),children:s})}),(null==d?void 0:d.length)?e("div",{className:Ye("flex-col items-center rounded-surface-sm p-2",E?"bg-bg-surface-inverse":"bg-bg-surface-info"),children:null==d?void 0:d.map(n=>t("div",{className:"flex items-center gap-2",children:[e(Td,{src:n.icon,alt:n.title,width:24,height:24}),e(vr,{as:"div",className:Ye("body3",E?"text-text-inverse":"text-text"),children:n.title})]},n.title))}):null,e(Sd,{onSelect:v,speed:o,isSelected:E,renderCheckPlans:y,cta:x,iconSize:40,techType:I,isMax:w}),f.length>0&&t("section",{className:"flex flex-col gap-3",children:[t($r,{onClick:()=>{b?b():A(!C)},className:"group flex w-full items-center gap-2 text-left",children:[e(vr,{as:"h4",className:Ye("label3",E?"text-text-inverse":"text-text"),children:m}),e(br,{name:"keyboard_arrow_down",fill:1,size:24,className:Ye("transition-transform duration-300",N&&"rotate-180",E?"text-text-inverse":"text-text")})]}),t("div",{className:Ye("overflow-hidden transition-all duration-200 ease-in-out",N?"opacity-100":"max-h-0 opacity-0"),children:[e("div",{className:"flex flex-col",children:e(yr,{items:f,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:E?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(E?"text-text-inverse":"text-text")})}),(null==p?void 0:p.badgeIcon)?t("div",{className:"flex items-center gap-2 text-center",children:[e(Td,{src:p.badgeIcon,alt:"Inner Badge",width:12,height:12}),e("span",{className:"footnote text-text",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(vr,{className:"font-bold",children:p.badgeText})})]}):null]})]})]})]})},Pd=({title:n,quote:r,rating:i,author:o,role:a,avatarUrl:s,isActive:l=!1,className:c})=>t("figure",{className:G("flex w-full flex-col gap-6 rounded-card-lg p-6 transition-all duration-300 md:gap-10 md:p-14",l?"bg-bg-surface-secondary shadow-drop":"bg-gray-50 opacity-40",c),children:[t("div",{className:"flex flex-col justify-start gap-3 md:gap-5",children:[e("header",{children:e(vr,{as:"h3",className:"label1 text-text",children:n})}),e("blockquote",{className:"body1 text-text",children:r}),i?e("div",{className:"flex","aria-label":`Rating: ${i} out of 5`,children:[...Array(5)].map((t,n)=>e(br,{size:24,name:"star",fill:1,className:G("h-[21px] w-[21px]",n<i?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null]}),o&&t("figcaption",{className:"flex gap-3 md:gap-5",children:[e("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e(E,{src:s,alt:o,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:o.charAt(0)})}),t("div",{className:"flex flex-col",children:[e("cite",{className:"label3 font-bold not-italic text-text",children:o}),e(vr,{as:"p",className:"body3 text-text",children:a})]})]})]});function Bd({fields:r,renderCheckPlans:i,isVisible:o=!0}){var l,u,d,p;const h=(null===(d=null===(u=null===(l=null==r?void 0:r.items)||void 0===l?void 0:l.items)||void 0===u?void 0:u[0])||void 0===d?void 0:d.benefitsExpanded)||!1,[m,g]=c(h),[b,v]=c({}),[y,x]=c(0),[I,w]=c(0),[C,A]=c(0),[N,E]=c(!1),T=(null===(p=null==r?void 0:r.items)||void 0===p?void 0:p.items)||[],S=T.length>2,k=!1!==(null==r?void 0:r.showArrows)&&S,P=s([]),B=s(null),L=s(0);a(()=>{if(!S||!o)return;const e=()=>{var e;const t=(null===(e=B.current)||void 0===e?void 0:e.offsetWidth)||0;if(0===t)return;const n=t-32,r=Math.max(1,Math.floor((n+16)/408));w(Math.max(0,T.length-r))};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[S,o,T.length]),a(()=>{x(e=>Math.min(e,I))},[I]);const R=f(()=>{S&&x(e=>Math.max(0,e-1))},[S]),G=f(()=>{S&&x(e=>Math.min(I,e+1))},[S,I]),O=f(e=>{S&&(L.current=e.touches[0].clientX,E(!0))},[S]),D=f(e=>{if(!N)return;const t=e.touches[0].clientX-L.current;A(0===y&&t>0||y>=I&&t<0?.3*t:t)},[N,y,I]),M=f(()=>{var e;if(!N)return;E(!1);const t=.15*((null===(e=B.current)||void 0===e?void 0:e.offsetWidth)||0);C>t?R():C<-t&&G(),A(0)},[N,C,R,G]);if(a(()=>{if(!S||!o)return;const e=()=>{const e=P.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)},[S,o,m,T.length]),!T.length&&!(null==r?void 0:r.title))return null;const V=(t,n,r=!1)=>{var o,a,s,l,c,u,d,p;const h=null===(o=null==t?void 0:t.speed)||void 0===o?void 0:o.split("|"),f=(null==h?void 0:h[0])||"",y=(null==h?void 0:h[1])||"",x=(null===(s=null===(a=null==t?void 0:t.priceSuffix)||void 0===a?void 0:a.split("/"))||void 0===s?void 0:s[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)||[],C=(null==t?void 0:t.highlighted)||!1,A=(null===(u=null===(c=null==t?void 0:t.giftRewards)||void 0===c?void 0:c.list)||void 0===u?void 0:u.items)||[],N={badgeText:t.innerBadge||"",badgeIcon:(null===(d=t.innerBadgeIcon)||void 0===d?void 0:d.url)||""},E=r?b[n]||!1:m;return e("div",{ref:r?void 0:e=>{e&&!P.current.includes(e)&&(P.current[n]=e)},className:Ye(r?"mx-auto w-full max-w-[392px]":"w-[392px] flex-shrink-0"),children:e(kd,{planName:f,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:A,innerBadge:N,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:w,isExpanded:E,onToggleExpand:()=>{r?v(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)};return S?t(n,{children:[e("div",{className:"flex flex-col gap-6 md:hidden",children:T.map((e,t)=>V(e,t,!0))}),t("div",{className:"relative hidden w-full md:block",children:[k&&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:[y>0?e($r,{onClick:R,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(br,{name:"arrow_back",size:24})}):e("span",{className:"h-12 w-12","aria-hidden":"true"}),y<I?e($r,{onClick:G,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(br,{name:"arrow_forward",size:24})}):e("span",{className:"h-12 w-12","aria-hidden":"true"})]}),e("div",{ref:B,className:"mx-auto max-w-[1280px] select-none overflow-hidden",onTouchStart:O,onTouchMove:D,onTouchEnd:M,onTouchCancel:M,children:e("div",{className:Ye("ml-8 flex items-stretch gap-4 pb-4",N?"transition-none":"transition-transform duration-500 ease-in-out"),style:{transform:`translateX(calc(-${y} * (392px + 16px) + ${C}px))`},children:T.map((e,t)=>V(e,t,!1))})})]})]}):e("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-4",children:T.map((e,t)=>V(e,t))})}function Ld({fields:t,renderCheckPlans:r,activeTab:i,tabs:o}){var a;const s=(null===(a=null==t?void 0:t.items)||void 0===a?void 0:a.items)||[];return o&&o.length>1&&i?e(n,{children:o.map(n=>{const a=s.filter(e=>(e.productCategory||o[0])===n),l={...t,items:{...t.items,items:a}};return e("div",{style:{display:n===i?"block":"none"},"aria-hidden":n!==i,children:e(Bd,{fields:l,renderCheckPlans:r,isVisible:n===i})},n)})}):e(Bd,{fields:t,renderCheckPlans:r})}const Rd=i.memo(({item:t,index:n,currentIndex:r,totalItems:i,swipeOffset:o,isSwiping:a,isMobile:s,containerWidth:l,cardOffsetPercentage:c})=>{let u=n-r;u>i/2&&(u-=i),u<-i/2&&(u+=i);const d=0===u,p=1===Math.abs(u),h=u*c+o/l*100,m=!s||(a?d||p:d);return e("div",{className:Ye("col-start-1 row-start-1 w-full md:max-w-[815px]","will-change-[transform,opacity]",d?"z-10":"z-5",Math.abs(u)>1?"invisible":"visible",m?"opacity-100":"opacity-0",a?"transition-opacity duration-200":"transition-[transform,opacity] duration-500 ease-[cubic-bezier(0.25,0.46,0.45,0.94)]"),style:{transform:`translateX(${h}%)`},children:e(Pd,{...t,isActive:d,className:"h-full"})})});Rd.displayName="TestimonialCarouselSlide";const Gd=({fields:n,autoScroll:r=!0,autoScrollInterval:i=8e3})=>{var o;const l=(null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||[];if(!l||0===l.length)return null;const u=function(e){const{itemCount:t,cardOffsetPercentage:n=105,swipeThreshold:r=.15,mobileBreakpoint:i=768,autoScrollInterval:o=8e3,enableAutoScroll:l=!0}=e,[u,d]=c(0),[p,h]=c(0),[m,g]=c(!1),[b,v]=c("undefined"!=typeof window?window.innerWidth:1),[y,x]=c(!1),I=s(null),w=s(0),C=s(null),A={CARD_OFFSET_PERCENTAGE:n,SWIPE_THRESHOLD:r,MOBILE_BREAKPOINT:i,AUTO_SCROLL_INTERVAL:o};a(()=>{const e=()=>{var e;v((null===(e=C.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const N=f(()=>{0!==t&&d(e=>(e+1)%t)},[t]),E=f(()=>{0!==t&&d(e=>0===e?t-1:e-1)},[t]),T=f(e=>{e<0||e>=t||d(e)},[t]),S=f(e=>{w.current=e.touches[0].clientX,g(!0),I.current&&clearInterval(I.current)},[]),k=f(e=>{if(!m)return;const t=e.touches[0].clientX-w.current;h(t)},[m]),P=f(()=>{g(!1);const e=b*r;p>e?E():p<-e&&N(),h(0),l&&o>0&&(I.current=setInterval(()=>{N()},o))},[p,b,r,E,N,l,o]);return a(()=>{const e=()=>{x(window.innerWidth<i)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[i]),a(()=>{if(l&&0!==t&&0!==o)return I.current=setInterval(()=>{N()},o),()=>{I.current&&clearInterval(I.current)}},[N,t,l,o]),{currentIndex:u,swipeOffset:p,isSwiping:m,isMobile:y,containerWidth:b,containerRef:C,nextSlide:N,prevSlide:E,goToSlide:T,handleTouchStart:S,handleTouchMove:k,handleTouchEnd:P,constants:A}}({itemCount:l.length,cardOffsetPercentage:105,swipeThreshold:.15,mobileBreakpoint:768,autoScrollInterval:i,enableAutoScroll:r});return t("div",{children:[t("div",{className:"relative max-w-[1280px] md:px-11",children:[e($r,{onClick:u.prevSlide,className:"group absolute left-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Previous",children:e(br,{name:"arrow_back",size:24})}),e($r,{onClick:u.nextSlide,className:"group absolute right-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Next",children:e(br,{name:"arrow_forward",size:24})}),e("div",{ref:u.containerRef,className:"select-none overflow-hidden rounded-card-sm will-change-transform",onTouchStart:u.handleTouchStart,onTouchMove:u.handleTouchMove,onTouchEnd:u.handleTouchEnd,children:e("div",{className:"grid grid-cols-1 justify-items-center",children:l.map((t,n)=>e(Rd,{item:t,index:n,currentIndex:u.currentIndex,totalItems:l.length,swipeOffset:u.swipeOffset,isSwiping:u.isSwiping,isMobile:u.isMobile,containerWidth:u.containerWidth,cardOffsetPercentage:u.constants.CARD_OFFSET_PERCENTAGE},n))})})]}),e("div",{className:"mt-5 flex justify-center gap-2 md:mt-10",children:l.map((t,n)=>e("button",{onClick:()=>u.goToSlide(n),className:Ye("h-2 w-2 rounded-full transition-all duration-300",u.currentIndex===n?"w-6 bg-white":"bg-bg-fill-inverse-disabled hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]})},Od=({tabs:n,activeTab:r,onChange:i,className:o})=>{const l=n.indexOf(r),u=s([]),[d,p]=c({width:0,left:0});return a(()=>{const e=u.current[l];e&&p({width:e.offsetWidth,left:e.offsetLeft})},[l,n]),e("div",{className:"flex w-full justify-center",children:t("div",{className:Ye("relative flex w-fit gap-1 rounded-button-lg bg-bg-surface-active p-1 transition-all duration-200 ease-out",o),children:[e("div",{className:"absolute bottom-1 top-1 rounded-button bg-bg-fill-brand shadow-md transition-all duration-300 ease-out",style:{width:`${d.width}px`,left:`${d.left}px`}}),n.map((t,n)=>e("button",{ref:e=>{u.current[n]=e},onClick:()=>i(t),className:Ye("label1 relative z-10 flex min-w-[160px] items-center justify-center whitespace-nowrap rounded-button px-4 py-2.5 transition-colors duration-200 focus:outline-none active:bg-transparent",r===t?"text-text-inverse":"text-text-disabled hover:bg-bg-surface-hover"),children:t},t))]})})},Dd=({fields:n,hasTestimonialCards:r,hasProductCards:i,disclaimerText:o,backgroundColor:a,activeTab:s,setActiveTab:l,tabs:c,onModalButtonClick:u,renderCheckPlans:d,testimonialAutoScroll:p=!0,showSwitch:h=!1})=>t("div",{className:`${a} ${i?"px-3 py-9 md:py-20":r?"px-3 py-12 md:pt-20 md:pb-16":""} mx-auto overflow-hidden`,children:[t("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-8 overflow-visible md:gap-12",children:[t("div",{children:[e(vr,{as:"h2",className:"heading2 text-text md:heading1 md:text-center",children:null==n?void 0:n.title}),(null==n?void 0:n.subTitle)&&e(vr,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==n?void 0:n.subTitle})]}),i&&t("div",{className:"flex flex-col gap-8",children:[h&&i&&c.length>1&&e(Od,{tabs:c,activeTab:s,onChange:l}),i&&e(Ld,{onModalButtonClick:u,renderCheckPlans:d,fields:n,activeTab:s,tabs:c})]}),r&&e(Gd,{fields:n,autoScroll:p,autoScrollInterval:8e3})]}),o&&e(vr,{as:"div",className:"footnote mt-8 px-4 text-center text-text-secondary",children:o})]}),Md=({title:n,subtitle:r,description:i,disclaimer:o,icon:a,cta:s,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-surface-lg xl:mx-auto "+(d?"max-w-120":""),children:[t("div",{className:`flex flex-col rounded-surface px-5 py-7 lg:flex-row lg:gap-5 lg:rounded-surface-lg lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[l]} ${"dark"==c?"text-text":"text-white"} `,children:[a&&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(Rr,{width:80,height:80,alt:"icon",src:a})})}),t("div",{className:"flex w-full flex-col justify-center lg:w-4/5",children:[n&&e(vr,{as:u?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:n}),r&&e(vr,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:r}),i&&e(vr,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:i})]}),s&&e("div",{className:"mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center",children:e(cd,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),o&&e("div",{children:e(vr,{as:"div",className:"body3 mt-3 text-center",children:o})})]})}),Vd=({body:n,links:r,bottomLinks:o,copyrights:a,terms:s,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(qr,{className:"my-8 border-border-inverse lg:my-16"}),e("div",{className:"grid-1 grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:null==r?void 0:r.map((n,r)=>{var o,a;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(vr,{as:"div",className:"label3",children:null==n?void 0:n.title}),e("ul",{className:"flex flex-col",children:null===(a=null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||void 0===a?void 0:a.map((t,n)=>e("li",{className:"pt-3",children:e(cd,{...t,linkVariant:"unstyled",linkClassName:"text-white body3 hover:underline underline-offset-4",onClick:u})},`site-links-${n}`))})]},`link-group-${r}`)},`footer-link-group-${r}`),e(qr,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${r}`)})}),t("div",{className:"py-8",children:[e(qr,{className:"my-8 hidden border-border-inverse md:my-8 md:block"}),t("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",s]}),e("p",{className:"copy-rights whitespace-pre-line",children:a}),e("nav",{"aria-label":"Footer legal",children:e("ul",{className:"bottom-links list-none",children:null==o?void 0:o.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(cd,{...t,linkClassName:"footnote text-white hover:underline underline-offset-4",linkVariant:"unstyled",onClick:u})},`links-${n}`))})})]})]})})},jd=({brow:n,enableHeading:r,title:i,subTitle:o,ctaDisclaimer:a,disclaimer:s,description:l,image:c,imageAltText:u,imageLinks:d,mediaPosition:p=!0,checklist:h,secondaryCta:m,cta:f,videoLink:g,maxWidth:b=!0,color:v="light",imageWidth:y=660,imageHeight:x=660,useOriginalImageAspectRatio:I=!1,isAboveTheFold:w=!1,onModalButtonClick:C,onClick:A,onVideoEvent:N,renderCheckPlans:E,enableAnimation:T=!1})=>{const S=Boolean(g);return t("div",{className:"component-container shared-component-ipb pb-16 pt-16",children:[e("div",{className:`image-promo-bar-content ${b?"max-w-120 xl:mx-auto":""} px-5 pb-8 pt-8 md:px-10`,children:t("div",{className:"flex shrink-0 flex-col items-center gap-8 xl:items-stretch xl:gap-10 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(vr,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),i&&e(vr,{as:r?"h1":"h2",className:"heading2 xl:heading1",children:i}),o&&e(vr,{as:r?"h2":"h3",className:"subheading3 mt-3 md:subheading1",children:o})]}),l&&e(vr,{as:"div",className:"body1",children:l}),h.length>0&&e(yr,{items:h,iconPosition:"top",iconSize:24,listItemClassName:"body1 text-text",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3"}),a&&e("div",{children:a}),d.length>0&&e("div",{className:"flex gap-4",children:null==d?void 0:d.map((t,n)=>e("div",{className:"image-link w-[147px]",children:e(wr,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e(Td,{src:t.image,alt:"icon-link"})})},n))}),(f||m)&&t("div",{className:"flex w-full flex-col gap-4 xl:flex-row",children:[f&&e("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e(cd,{...f,disableAnimation:void 0===T?f.disableAnimation:!T,fullWidth:!0,size:{base:"large"},renderCheckPlans:E,onModalButtonClick:C,onClick:e=>null==A?void 0:A(e,"primary")})}),m&&e("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e(cd,{...m,disableAnimation:void 0===T?m.disableAnimation:!T,fullWidth:!0,size:{base:"large"},renderCheckPlans:E,buttonClassName:"px-3 min-w-[260px]",onModalButtonClick:C,onClick:e=>null==A?void 0:A(e,"secondary")})})]})]}),t("aside",{className:"flex w-full flex-1 shrink-0 items-center justify-center lg:w-auto",children:[c&&!S&&e("div",{className:Ye(I?"overflow-hidden rounded-image":"relative aspect-[16/9] w-full overflow-hidden rounded-image lg:h-[486px] xl:aspect-square xl:max-h-[486px] xl:w-[486px]"),children:e(Rr,{src:c,alt:null!=u?u:"section-image",priority:w,fill:!I,width:I?y||660:void 0,height:I?x||660:void 0,sizes:"(max-width: 430px) 100vw, (max-width: 834px) 100vw, 50vw",className:Ye(I?"w-full":"object-cover")})}),e(Or,{videoLink:g,imageWidth:y,imageHeight:x,useOriginalImageAspectRatio:I,isAboveTheFold:w,onVideoEvent:N})]})]})}),s&&e("div",{className:"mt-10 flex justify-center xl:mt-18",children:e("div",{children:s})})]})},Hd=({link:n,anchorName:r,linkColorClassName:o})=>{const[s,l]=i.useState(!1),c=i.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()};a(()=>(document.addEventListener("click",n),()=>{document.removeEventListener("click",n)}))})(c,()=>l(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e(cd,{...n,linkClassName:Ye("body3 flex items-center h-full",o||"text-text"),linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:u,title:d,items:p}=n,h=Array.isArray(null==p?void 0:p.items)?p.items:[],m=`--link-anchor-${r}`;return t("div",{className:"relative h-full",style:{anchorName:m},ref:c,children:[t(cd,{onClick:()=>l(e=>!e),"aria-expanded":s,buttonClassName:Ye("group body3 flex items-center h-full",o||"text-text"),showButtonAs:"unstyled",children:[e(vr,{as:"span",className:"group-hover:underline",children:null!=d?d:null}),e(br,{weight:"200",size:24,className:"group-hover:opacity-50 text-icon-secondary",name:s?"keyboard_arrow_up":"keyboard_arrow_down"})]},u),e("div",{className:Ye("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",s&&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)",left:"calc((anchor(left) + anchor(right)) / 2)",translate:"-50% 0"},children:e("ul",{className:"flex flex-col gap-2 py-2",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&l(!1)},children:h.map((t,n)=>e("li",{className:"submenu-link type1",children:e(cd,{...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}`))})})]})},Wd=({link:r})=>{const[o,a]=i.useState(!1);if(!r)return null;if((e=>"string"==typeof e.href)(r))return e(cd,{...r,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${r.anchorId}`);const{anchorId:s,title:l,items:c}=r,u=Array.isArray(null==c?void 0:c.items)?c.items:[];return t(n,{children:[t(cd,{onClick:()=>a(e=>!e),"aria-expanded":o,buttonClassName:" label3 flex items-center w-full h-11 px-4",showButtonAs:"unstyled",children:[null!=l?l:null,e(br,{weight:"200",size:24,className:"group-hover:opacity-50 text-icon-secondary",name:o?"keyboard_arrow_up":"keyboard_arrow_down"})]},s),o&&u.length>0&&e(Fd,{items:u})]})},Fd=({items:t})=>e("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e("li",{className:"submenu-link type2",children:e(cd,{...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}`),Xd=n=>{const{showBlinkDot:r=!1,buttonStyle:i="primary",size:o="md",children:a,className:s,prefix:l,containerClassName:c,...u}=n,d=t(wr,{...u,className:Ye("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[o],{primary:"border-[0.727px] border-border text-text"}[i],s),children:[r?e("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[o]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[o]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e("span",{className:Ye("relative inline-flex items-center justify-center rounded-full bg-icon-brand",{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[o]),children:e(br,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[o],className:"text-white"})}),e("span",{className:"font-normal tracking-wide",children:a})]});return null==l||!1===l||""===l?d:t("span",{className:Ye("flex items-center gap-2",c),children:["string"==typeof l||"number"==typeof l?e("span",{className:"text-sm font-normal text-text",children:l}):l,d]})};Xd.displayName="CallButton";const zd=o((n,r)=>{const{className:i,size:o,required:a,placeholder:s,label:l,state:u,errorText:d,prefixIconName:p,prefixIconFill:h=!0,suffixIconFill:m=!1,prefixIconSize:g=24,suffixIconName:b,suffixIconSize:v=24,containerClassName:y,prefixIconClassName:x,loading:I,hasError:w,type:C,...A}=n,N=w?"error":u,[E,T]=c(!1),[S,k]=c(!1),[P,B]=c(C||"text"),L=f(e=>{e.stopPropagation(),B(e=>"password"===e?"text":"password")},[]);return t("div",{className:"relative",children:[l?e("label",{htmlFor:l,className:Ye("inline-block pb-1"),children:t(vr,{as:"span",className:"footnote text-text",children:[l,a?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:Ye("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]"}[o||"medium"],y,(E||"hover"===N)&&!S&&"error"!==N&&"border-input-border-hover",(S||"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:[p?e("div",{className:"mr-1",style:{width:g,height:g,overflow:"hidden"},children:e(br,{name:p,fill:h?1:0,size:g,className:Ye(x)})}):null,e("input",{ref:r,id:l,disabled:I||A.disabled,className:Ye("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===o&&"text-body3",i),placeholder:s,type:P,...A,onMouseOver:()=>T(!0),onMouseOut:()=>T(!1),onFocus:e=>{var t;null===(t=A.onFocus)||void 0===t||t.call(A,e),k(!0)},onBlur:e=>{var t;null===(t=A.onBlur)||void 0===t||t.call(A,e),k(!1)}}),b?e("div",{className:"ml-2",style:{width:v,height:v,overflow:"hidden"},onClick:L,children:e(br,{name:"text"===P?"visibility":"visibility_off",size:v,fill:m?1:0})}):null]}),"error"===N&&d&&""!=d?t(vr,{className:Ye("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(br,{name:"info",size:20,className:"mr-1"}),d||"Error"]}):null]})});zd.displayName="Input";const Zd=r=>{var i,o,a;const{primaryNavigationLinks:s,utilityNavigationLinks:l,checkPlansJSX:c,primaryNavigationLogo:u,accountNavigationLinks:d,supportNavigationLinks:p,searchBarIcon:h,invocaPhoneNumberLink:m,invocaPhoneNumberDisplayText:f,callNowCtaText:g,displayCartIcon:b,cartHref:v,cartHasRetention:y,cartIconAriaLabel:x="Cart",onCallClickDesktop:I,onCallClickMobile:w,onCartClick:C,onSearch:A=()=>{},utilityNavActiveIndex:N,primaryNavigationLogoWidth:E=76.5,primaryNavigationLogoHeight:T=24,hideMobileCallButton:S=!1,displayUtilityNavigation:k=!0,displaySearchBar:P=!0,displayCallNowCta:B=!0,showCallButton:L=!0,showCallNowCtaInMainNav:R=!1,showMobileSliderMenu:G=!0,callNowCtaIcon:O,navigationBackgroundColor:D,navigationLinkColor:M}=r,V="string"==typeof u?u:(null==u?void 0:u.url)||"",j=D?D.includes("-")||D.startsWith("bg-")?D:`bg-secondary-${D}`:"bg-secondary-navy500",H="string"==typeof O?O:(null==O?void 0:O.url)||"",W=n=>t(wr,{href:m||"#",onClick:n,className:"bg-secondary-gray100 text-secondary-navy500 inline-flex h-8 items-center rounded-full pl-1 pr-2 no-underline shadow-none","aria-label":f?`Call ${f}`:"Call now",children:[H?e(Rr,{src:H,alt:"Call us",width:24,height:24,className:"mr-2 self-center rounded-full"}):null,e(vr,{as:"span",className:"text-secondary-navy500 footnote",children:f})]}),F=(null!==(i=null==s?void 0:s.length)&&void 0!==i?i:0)>0||(null!==(o=null==p?void 0:p.length)&&void 0!==o?o:0)>0||(null!==(a=null==d?void 0:d.length)&&void 0!==a?a:0)>0;return t("div",{className:"component-container",children:[t("nav",{className:"menu-container z-[1000]",children:[k?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==l?void 0:l.map((t,n)=>e("li",{children:e(cd,{linkClassName:Ye("footnote flex items-center text-text w-full h-11","number"!=typeof N?1===n&&"label4":N===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:[B?e(Xd,{className:"border-none",href:m,prefix:g,onClick:I,children:e(vr,{className:"body3 text-text",children:f})}):null,b?t(wr,{href:v||"#",className:"relative inline-flex cursor-pointer","aria-label":x,onClick:C,children:[e(br,{name:"shopping_cart"}),y&&e("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"})]}):null,null==d?void 0:d.map((t,n)=>e(Hd,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}):null,t("div",{className:Ye("main-nav-container",j,M),"aria-label":"Main Navigation",children:[t("div",{className:"mobile-nav-section flex h-14 items-center justify-between border border-b px-5 py-[10px] lg:hidden",children:[e("div",{children:V?e(wr,{href:"/",className:"flex",children:e(Rr,{src:V,alt:"Kinetic business logo",width:E,height:T})}):null}),e("div",{className:"flex items-center gap-6",children:G?t(n,{children:[L&&!S?e(Xd,{href:m,onClick:w,children:e(vr,{as:"span",className:"footnote",children:f})}):null,b?t(wr,{href:v||"#",className:"relative inline-flex cursor-pointer","aria-label":x,onClick:C,children:[e(br,{name:"shopping_cart"}),y?e("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,F?e(Yd,{...r}):null]}):L?W(w):null})]}),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:[V?e(wr,{href:"/",className:"flex",children:e(Rr,{src:V,alt:"Kinetic business logo",width:E,height:T,className:"mr-[64px]"})}):null,e("div",{className:"flex h-full items-center gap-6",children:null==s?void 0:s.map((t,n)=>e(Hd,{anchorName:`main-menu-${n}`,link:t,linkColorClassName:M},`main-menu-${n}`))})]}),t("div",{className:"flex h-full items-center gap-10",children:[!R||k&&B?null:W(I),P?e(Jd,{searchBarIconURL:"string"==typeof h?h:(null==h?void 0:h.url)||"",onSearch:A}):null,null==p?void 0:p.map((t,n)=>e(Hd,{anchorName:`support-menu-${n}`,link:t,linkColorClassName:M},`support-menu-${n}`))]})]})})]})]}),c&&e("div",{className:"md:hidden",children:c})]})},Yd=n=>{var r;const{primaryNavigationLinks:o,utilityNavigationLinks:a,supportNavigationLinks:s,accountNavigationLinks:l,showCallButton:c,displayCallNowCta:u,displaySearchBar:d}=n,[p,h]=i.useState(!1);i.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=p?"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],i=e=>{var t,i,o,a;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(i=(t=r).focus)||void 0===i||i.call(t),e.preventDefault()):document.activeElement===r&&(null===(a=(o=n).focus)||void 0===a||a.call(o),e.preventDefault()))};return window.addEventListener("keydown",i),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",i)}},[p]);const m=()=>{h(!1)};return t("div",{children:[e(cd,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>h(!0),children:e(br,{name:"menu"})}),p?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:Ye("fixed bottom-0 right-0 top-0","z-[100] h-full bg-bg px-0 py-4 text-text","transition-all duration-300 ease-in-out","block",p?"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:Ye("flex items-center px-4",!1!==c||!1!==u?"justify-between":"justify-end"),children:[!1!==c||!1!==u?e("div",{children:e(Xd,{className:"border-none",href:n.invocaPhoneNumberLink,onClick:n.onCallClickMobile,children:n.invocaPhoneNumberDisplayText})}):null,e("div",{children:e(cd,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:m,children:e(br,{name:"close"})})})]}),!1!==d?e(_d,{closeMenu:m,isMenuOpen:p,searchBarIconURL:"string"==typeof n.searchBarIcon?n.searchBarIcon:(null===(r=n.searchBarIcon)||void 0===r?void 0:r.url)||"",onSearch:n.onSearch||(()=>{})}):null,t("div",{className:"flex-grow overflow-y-auto",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&m()},children:[e("ul",{className:"mt-2 flex flex-col gap-2",children:[...o||[],...s||[],...l||[]].map((t,n)=>e("li",{children:e(Wd,{link:t})},`main-menu-items-${n}`))}),e("ul",{className:"mt-2 flex gap-5 bg-bg-fill-info px-4",children:null==a?void 0:a.map((t,r)=>e("li",{children:e(cd,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:Ye("footnote flex items-center w-full h-11 text-text-link","number"!=typeof n.utilityNavActiveIndex?1===r&&"label4":n.utilityNavActiveIndex===r&&"label4"),linkVariant:"unstyled"},`utility-submenu-link-btn-${t.anchorId}`)},`utility-menu-items-${r}`))})]})]})})]})},_d=n=>{const{closeMenu:r,onSearch:o,isMenuOpen:a,searchBarIconURL:s}=n,[l,c]=i.useState(""),u=i.useRef(null),d=e=>{r(),e.preventDefault(),o(l)};return i.useEffect(()=>{a||c("")},[a]),t("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:d,children:[e(Rr,{src:s,width:32,height:32,className:"ml-2",alt:"Search icon",role:"button",onClick:d}),e("div",{className:"flex-grow",children:e(zd,{ref:u,className:"body3 h-[34px] rounded-none px-3 text-text",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"})})]})},Jd=n=>{const{searchBarIconURL:r,onSearch:o}=n,[a,s]=i.useState(""),l=i.useRef(null),c=e=>{e.preventDefault(),o(a)};return t("form",{name:"searchForm",className:"flex h-9 w-60 rounded-input-xl border px-1 transition-colors focus-within:border-border-focus",onSubmit:c,children:[e(Rr,{src:r,width:32,height:32,alt:"Search icon",role:"button",onClick:c}),e(zd,{ref:l,type:"text",name:"search",placeholder:"Search...",value:a,onChange:e=>s(e.target.value),className:"body3 rounded-full px-3 text-text",containerClassName:"px-0 h-full border-none rounded-full",autoComplete:"off"})]})},Ud=r=>{var i,o,a;const{title:s,showAsHeading:l,subTitle:c,primaryCta1:u,primaryCta2:d,carouselImages:p,bottomLink:h,price:m,priceCallout:f,priceSuffix:g,checklist:b,renderCheckPlans:v,badgeImage:y,pricingDescription:x,pricingDescriptionDisclaimer:I,secondaryCta:w,secondaryCtaPrefix:C,onModalButtonClick:A,hideOnMobileCta1:N,hideOnMobileCta2:E,textColor:T="light",logoLockup:S,heroVideo:k,heroVideoMobile:P}=r,B=e=>{var t;const n=null!==(t=null==e?void 0:e.showButtonAs)&&void 0!==t?t:"solid";return"solid"===n||"button-with-icon"===n||"unstyled"===n},L=u&&d&&B(u)&&B(d),R=null===(i=null==k?void 0:k.url)||void 0===i?void 0:i.trim(),G=null===(o=null==P?void 0:P.url)||void 0===o?void 0:o.trim(),O=!!R,D=!!G,M=e=>(null==e?void 0:e.startsWith("//"))?`https:${e}`:e,V=M(y),j=M(null==p?void 0:p[0]),H=null!==(a=null==h?void 0:h.buttonLabel)&&void 0!==a?a:null==h?void 0:h.label,W="dark"===T?"text-text":"text-white",F=O&&"dark"===T?`${W} xl:text-white`:W,X=({className:t})=>V?e(Rr,{src:V,alt:"Badge",className:t,width:208,height:208,quality:90,loading:"eager"}):null;return t("div",{className:"component-container relative overflow-hidden p-4 sm:px-6 sm:py-12 xl:flex xl:min-h-[724px] xl:items-center xl:px-4",children:[O?e("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto","aria-label":(null==k?void 0:k.title)||s||"Hero background video",className:"absolute inset-0 z-0 hidden h-full w-full object-fill xl:block","data-testid":"hero-background-video-desktop",children:e("source",{src:R,type:"video/mp4"})}):null,t("div",{className:Ye("primary-hero-container relative z-10 mx-auto flex w-full max-w-[626px] flex-col sm:items-center sm:text-center xl:h-full xl:max-w-120 xl:flex-row xl:items-center xl:justify-between xl:gap-4 xl:text-left"),children:[e("div",{className:Ye(`relative flex flex-col ${F} w-full xl:w-[486px]`),children:t("div",{className:"flex flex-col gap-5 lg:gap-6",children:[s&&e(vr,{as:l?"h1":"h2",className:"heading2 lg:heading1",children:s}),c&&e(vr,{as:"p",className:"subheading3",children:c}),m?t("div",{className:"flex sm:justify-center sm:text-left lg:justify-start",children:[e("div",{className:"mr-2 mt-0.5",children:f?f.split("|").map((t,n)=>e(vr,{as:"p",className:"body2",children:t},n)):null}),t("div",{className:"flex",children:[e(vr,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e(vr,{as:"p",className:"subheading5",children:m}),g?e(vr,{as:"p",className:"subheading1 mt-0.5",children:g}):null]})]}):null,x?e(vr,{"data-cy":"hero-pricing-description",className:Ye("subheading1","text-left sm:text-center xl:text-left"),children:x}):null,I?e(vr,{"data-cy":"hero-pricing-disclaimer",as:"p",className:Ye("body3","text-left sm:text-center xl:text-left"),children:I}):null,b&&e(yr,{listItemClassName:`body2 text-left ${F}`,items:b.map(e=>e.iconUrl?{title:e.title,iconUrl:e.iconUrl}:e.title)}),S?e("div",{className:"text-left sm:text-center xl:mb-0 xl:text-left",children:e(Rr,{src:S,alt:"Logo Lockup",className:"inline-block",width:201,height:24,quality:90,loading:"eager"})}):null,t("div",{className:"flex flex-col gap-3",children:[L?t("div",{className:"flex flex-col justify-center gap-3 sm:flex-row sm:gap-4 xl:justify-start",children:[e("div",{className:Ye(N&&"hidden md:block"),children:e(cd,{...u,renderCheckPlans:v,onModalButtonClick:A,fullWidth:!0,size:{base:"large"},buttonClassName:"md:w-auto text-center"})}),e("div",{className:Ye(E&&"hidden md:block"),children:e(cd,{...d,renderCheckPlans:v,onModalButtonClick:A,fullWidth:!0,size:{base:"large"},buttonClassName:"md:w-auto text-center"})})]}):t(n,{children:[u&&e("div",{className:Ye("md:block",N&&"hidden"),children:e(cd,{...u,renderCheckPlans:v,onModalButtonClick:A,fullWidth:!0,buttonClassName:"lg:w-auto text-center"})}),d&&e("div",{className:Ye("md:block",E&&"hidden"),children:e(cd,{...d,renderCheckPlans:v,onModalButtonClick:A,fullWidth:!0,buttonClassName:"lg:w-auto text-center"})})]}),C||w?t("div",{className:"hidden lg:flex",children:[C&&"check availability"!==(null==w?void 0:w.preDefinedFunctionExecution)&&e(vr,{as:"span",className:"body2 mr-1",children:C}),w&&e(cd,{...w,linkClassName:`body2 ${F}`,renderCheckPlans:v,onModalButtonClick:A})]}):null,h&&(H||(null==h?void 0:h.href))&&e("div",{className:"hidden lg:block",children:e(cd,{...h,linkClassName:`text-footnote ${F}`,renderCheckPlans:v,onModalButtonClick:A})})]})]})}),t("div",{className:"w-full xl:hidden",children:[e("div",{className:"relative my-8",children:D?t("div",{className:"relative",children:[e("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto","aria-label":(null==P?void 0:P.title)||s||"Hero video",className:"h-[350px] w-full rounded-[40px] object-cover object-center sm:h-[420px] md:h-[520px]","data-testid":"hero-video-mobile",children:e("source",{src:G,type:"video/mp4"})}),e(X,{className:"absolute left-5 top-5 z-10 aspect-square w-26 object-cover object-center"})]}):t(n,{children:[y?e(Rr,{src:V||"",alt:"Badge",className:"absolute left-5 top-5 aspect-square w-26 object-cover object-center",width:104,height:104,quality:90,loading:"eager"}):null,j?e(Rr,{src:j,alt:"Hero",className:"h-[205px] w-full rounded-[40px] object-cover object-center sm:h-[420px]",width:1024,height:600,sizes:"100vw",quality:90,loading:"eager"}):null]})}),C||w?t("div",{className:`flex flex-wrap items-center ${F} lg:hidden`,children:[C&&!(null==w?void 0:w.preDefinedFunctionExecution)&&e(vr,{as:"span",className:"body2 mr-1",children:C}),w&&e(cd,{...w,renderCheckPlans:v,onModalButtonClick:A,linkClassName:`${F}`})]}):null,h&&(H||(null==h?void 0:h.href))&&e("div",{className:"flex lg:hidden",children:e(cd,{...h,renderCheckPlans:v,onModalButtonClick:A,linkClassName:`body3 ${F}`})})]}),t("div",{className:Ye("relative hidden xl:block",O&&"h-[584px] w-[584px]"),children:[e(X,{className:"absolute -left-[114px] top-[62px] z-10 aspect-square w-[200px] object-cover object-center"}),!O&&j?e(Rr,{src:j,alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:584,height:584,quality:90,loading:"eager"}):null]})]})]})};function $d(t,n){const r=Array.isArray(t)?t:[t],i=Math.min(n,r.length);return e("div",{className:"flex flex-col py-7",children:e("div",{className:"flex shrink-0 basis-0 flex-row gap-16 md:gap-20",children:[...new Array(i)].map((t,n)=>e("ul",{className:"flex flex-col gap-5",style:{width:"172px"},children:r.slice(n*Math.ceil(r.length/i),(n+1)*Math.ceil(r.length/i)).map((t,r)=>e("li",{children:t},`ordered-item-${n}-${r}`))},`ordered-col-${n}`))})})}function Kd({items:r,currentTabIndex:i,subitemColCount:o,onTabClick:a}){return t(n,{children:[e("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e("div",{className:"flex w-max gap-10",children:r.map((t,n)=>e(cd,{showButtonAs:"unstyled",onClick:()=>a(n,t.anchorId||""),buttonClassName:Ye("py-2 whitespace-nowrap",n===i?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},n))})}),r.map((t,n)=>e("div",{children:e(nd,{children:e(Uu.div,{initial:{height:0,opacity:0},animate:{height:n===i?"auto":0,opacity:n===i?1:0},exit:{height:0,opacity:0},transition:{duration:.3},className:Ye("overflow-hidden",n===i?"block":"hidden"),id:t.anchorId||`tab-${n}`,children:e("div",{className:"px-5 py-4 md:px-10",children:$d(t.tabContent,o)})})})},n))]})}function Qd({items:n,currentTabIndex:r,subitemColCount:i,onTabClick:o,setCurrentTabIndex:a}){return e("div",{className:"flex w-full flex-col",children:n.map((n,s)=>t("div",{children:[t("button",{onClick:()=>s===r?a(-1):o(s,n.anchorId||""),className:Ye("flex w-full items-center justify-between px-5 py-4 text-text md:px-10",s===r?"bg-bg-surface-hover":""),children:[e("span",{className:"heading6",children:n.tabName}),e(br,{name:s===r?"keyboard_arrow_up":"keyboard_arrow_down",className:"text-text",size:40})]}),e(nd,{children:e(Uu.div,{initial:{height:0,opacity:0},animate:{height:s===r?"auto":0,opacity:s===r?1:0},exit:{height:0,opacity:0},transition:{duration:.3},className:Ye("overflow-hidden",s===r?"block":"hidden"),id:n.anchorId||`tab-${s}`,children:e("div",{className:"px-5 py-4 md:px-10",children:$d(n.tabContent,i)})})})]},s))})}function qd({items:n,currentTabIndex:r,subitemColCount:i,onTabClick:o}){return t("div",{className:"flex gap-10 px-5 py-20",children:[e("div",{className:"flex-shrink-0",children:e("div",{className:"flex min-w-[320px] gap-4 rounded-[20px] border-2 px-6 py-7 shadow-lg",children:[...new Array(Math.min(2,n.length))].map((t,i)=>{const a=Math.ceil(n.length/2);return e("div",{className:"flex flex-1 flex-col gap-4",children:n.slice(i*a,(i+1)*a).map((t,n)=>{const s=i*a+n;return e("button",{onClick:()=>o(s,t.anchorId||""),className:Ye("label1 whitespace-nowrap rounded-lg px-4 py-3 text-left",s===r?"bg-bg-inverse text-white":"text-text"),children:t.tabName},s)})},`tab-col-${i}`)})})}),e("div",{className:"w-full",children:n.map((t,n)=>e("div",{children:e(nd,{children:e(Uu.div,{initial:{opacity:0,y:20},animate:{opacity:n===r?1:0,y:n===r?0:20},exit:{opacity:0,y:-20},transition:{duration:.3},className:Ye("overflow-hidden pl-10 xl:pl-20",n===r?"block":"hidden"),id:t.anchorId||`tab-${n}`,children:$d(t.tabContent,i)})})},n))})]})}function ep({items:r,currentTabIndex:i,onTabClick:o}){return t(n,{children:[e("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e("div",{className:"flex w-max gap-10",children:r.map((t,n)=>e(cd,{showButtonAs:"unstyled",onClick:()=>o(n,t.anchorId),buttonClassName:Ye("py-2 whitespace-nowrap",n===i?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},n))})}),r.map((t,n)=>e("div",{children:e(nd,{children:e(Uu.div,{initial:{height:0,opacity:0},animate:{height:n===i?"auto":0,opacity:n===i?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t.tabContent})})},n))]})}function tp({items:r,currentTabIndex:i,onTabClick:o}){return e(n,{children:r.map((n,r)=>t("div",{className:"py-5",children:[t(cd,{showButtonAs:"unstyled",onClick:()=>o(r,n.anchorId),buttonClassName:Ye("w-full flex justify-between items-center px-4 py-5",r===i?"bg-bg-surface-active":""),children:[e("span",{className:"heading6",children:n.tabName}),e(br,{name:r===i?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e(Kr,{open:r===i,children:e("div",{className:Ye("px-4 py-4"),children:n.tabContent})})]},r))})}function np({items:n,currentTabIndex:r,onTabClick:i}){return t("div",{className:"flex px-5 py-20",children:[e("div",{className:"rounded-surface-lg border border-border-secondary shadow-lg",children:e("div",{className:"flex min-w-80 flex-col gap-4 px-6 py-7",children:n.map((t,n)=>e(cd,{showButtonAs:"unstyled",onClick:()=>i(n,t.anchorId),buttonClassName:Ye("px-4 py-3 whitespace-nowrap text-left rounded-button-sm",n===r?"label1 text-white bg-bg-inverse":"body1"),children:t.tabName},n))})}),e("div",{className:"grow",children:n.map((t,n)=>e("div",{children:e(nd,{children:e(Uu.div,{initial:{height:0,opacity:0},animate:{height:n===r?"auto":0,opacity:n===r?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t.tabContent})})},n))})]})}function rp(r){var i;const[o,s]=c(0),[l,u]=c(""),[d,p]=c(2),{title:h,subTitle:m,tabs:f,navigationType:g=!0,mobileSidebarTabType:b=!0,dynamic:v=!1,isOrderedList:y=!1}=r,x=null!==(i=null==f?void 0:f.items)&&void 0!==i?i:[];a(()=>{if("undefined"!=typeof window){u(window.location.hash);const e=()=>{u(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}},[]),a(()=>{var e;null===(e=null==f?void 0:f.items)||void 0===e||e.some((e,t)=>{if(`#${(null==e?void 0:e.anchorId)||"tab-"+t}`===l)return s(t),!0})},[f,l]),a(()=>{if(!v)return;const e=()=>{if("undefined"==typeof window)return;const e=window.innerWidth;p(e<=640?2:e>750||e<=768?3:e<=1024?2:3)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[v]);const I=(e,t)=>{s(e),"undefined"!=typeof window&&l&&(window.location.hash=t||"")};return t("div",{children:[h||m?t("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[h?e(vr,{className:"heading2 px-5 md:heading1 md:text-center",children:h}):null,m?e(vr,{className:"subheading3 px-5 md:subheading1 md:text-center",children:m}):null]}):null,t(n,v&&y?{children:[e("div",{className:"lg:hidden",children:b?e(Kd,{items:x,currentTabIndex:o,subitemColCount:d,onTabClick:I}):e(Qd,{items:x,currentTabIndex:o,subitemColCount:d,onTabClick:I,setCurrentTabIndex:s})}),e("div",{className:"hidden lg:block",children:e(g?Kd:qd,{items:x,currentTabIndex:o,subitemColCount:d,onTabClick:I})})]}:{children:[e("div",{className:"md:hidden",children:e(b?ep:tp,{items:x,currentTabIndex:o,onTabClick:I})}),e("div",{className:"hidden md:block",children:e(g?ep:np,{items:x,currentTabIndex:o,onTabClick:I})})]})]})}const ip=({anchorId:n,backgroundColor:r="white",title:i,description:o,tabs:a})=>{const s=e=>e.split(" ").map(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(" "),l=(t,n)=>t.itemSlug?e(wr,{href:t.itemSlug,title:t.itemName.toUpperCase(),className:"flex items-center underline underline-offset-4",children:e(vr,{className:"body1 relative cursor-pointer text-left font-semibold leading-7",children:s(t.itemName)})},`ordered-item-${n}`):e(vr,{className:"body1 relative text-left font-semibold leading-7",children:s(t.itemName)},`ordered-item-${n}`),c={items:a.map((e,t)=>({tabName:e.items.tabName,anchorId:`tab-${t}`,tabContent:e.items.tabContent.map(l)}))};return e("section",{className:`bg-secondary-${r}`,"data-testid":"non-fiber-city-list",id:n,children:t("div",{className:"mx-auto w-full max-w-120 px-0 py-12 md:px-6 md:py-20 lg:px-3",children:[t("div",{className:"mb-11 px-4 md:px-0",children:[e(vr,{as:"h2",className:"heading2 text-center md:heading1",children:i}),e(vr,{as:"h3",className:"subheading3 mt-2 text-center md:subheading1",children:o})]}),e("div",{className:"section-body",children:c.items.length>0?e("div",{children:e(rp,{dynamic:!0,isOrderedList:!0,tabs:c,navigationType:!1,mobileSidebarTabType:!1})}):null})]})})},op=({fields:t})=>e("div",{children:e(vr,{children:"Text Block"})}),ap={closed:{opacity:0},open:{opacity:1}},sp={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},lp={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"};function cp(){return cp=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},cp.apply(null,arguments)}function up(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 dp(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function pp(...e){return f(dp(...e),e)}function hp(...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 l(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}const mp=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?p:()=>{},fp=r["useId".toString()]||(()=>{});let gp=0;function bp(e){const[t,n]=r.useState(fp());return mp(()=>{n(e=>null!=e?e:String(gp++))},[e]),e||(t?`radix-${t}`:"")}function vp(e){const t=s(e);return a(()=>{t.current=e}),l(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function yp({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=function({defaultProp:e,onChange:t}){const n=c(e),[r]=n,i=s(r),o=vp(t);return a(()=>{i.current!==r&&(o(r),i.current=r)},[r,i,o]),n}({defaultProp:t,onChange:n}),o=void 0!==e,l=o?e:r,u=vp(n);return[l,f(t=>{if(o){const n="function"==typeof t?t(e):t;n!==e&&u(n)}else i(t)},[o,e,i,u])]}const xp=o((e,t)=>{const{children:n,...r}=e,i=v.toArray(n),o=i.find(Cp);if(o){const e=o.props.children,n=i.map(t=>t===o?v.count(e)>1?v.only(null):y(e)?e.props.children:null:t);return u(Ip,cp({},r,{ref:t}),y(e)?b(e,void 0,n):null)}return u(Ip,cp({},r,{ref:t}),n)});xp.displayName="Slot";const Ip=o((e,t)=>{const{children:n,...r}=e;return y(n)?b(n,{...Ap(r,n.props),ref:t?dp(t,n.ref):n.ref}):v.count(n)>1?v.only(null):null});Ip.displayName="SlotClone";const wp=({children:e})=>u(x,null,e);function Cp(e){return y(e)&&e.type===wp}function Ap(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}const Np=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=o((e,n)=>{const{asChild:r,...i}=e,o=r?xp:t;return a(()=>{window[Symbol.for("radix-ui")]=!0},[]),u(o,cp({},i,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});const Ep="dismissableLayer.update",Tp="dismissableLayer.pointerDownOutside",Sp="dismissableLayer.focusOutside";let kp;const Pp=d({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Bp=o((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:l,onInteractOutside:d,onDismiss:p,...m}=e,f=h(Pp),[g,b]=c(null),v=null!==(n=null==g?void 0:g.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,y]=c({}),x=pp(t,e=>b(e)),I=Array.from(f.layers),[w]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),C=I.indexOf(w),A=g?I.indexOf(g):-1,N=f.layersWithOutsidePointerEventsDisabled.size>0,E=A>=C,T=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=vp(e),r=s(!1),i=s(()=>{});return a(()=>{const e=e=>{if(e.target&&!r.current){const o={originalEvent:e};function a(){Rp(Tp,n,o,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=a,t.addEventListener("click",i.current,{once:!0})):a()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{const t=e.target,n=[...f.branches].some(e=>e.contains(t));E&&!n&&(null==o||o(e),null==d||d(e),e.defaultPrevented||null==p||p())},v),S=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=vp(e),r=s(!1);return a(()=>{const e=e=>{if(e.target&&!r.current){Rp(Sp,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;[...f.branches].some(e=>e.contains(t))||(null==l||l(e),null==d||d(e),e.defaultPrevented||null==p||p())},v);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=vp(e);a(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{A===f.layers.size-1&&(null==i||i(e),!e.defaultPrevented&&p&&(e.preventDefault(),p()))},v),a(()=>{if(g)return r&&(0===f.layersWithOutsidePointerEventsDisabled.size&&(kp=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(g)),f.layers.add(g),Lp(),()=>{r&&1===f.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=kp)}},[g,v,r,f]),a(()=>()=>{g&&(f.layers.delete(g),f.layersWithOutsidePointerEventsDisabled.delete(g),Lp())},[g,f]),a(()=>{const e=()=>y({});return document.addEventListener(Ep,e),()=>document.removeEventListener(Ep,e)},[]),u(Np.div,cp({},m,{ref:x,style:{pointerEvents:N?E?"auto":"none":void 0,...e.style},onFocusCapture:up(e.onFocusCapture,S.onFocusCapture),onBlurCapture:up(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:up(e.onPointerDownCapture,T.onPointerDownCapture)}))});function Lp(){const e=new CustomEvent(Ep);document.dispatchEvent(e)}function Rp(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?function(e,t){e&&S(()=>e.dispatchEvent(t))}(i,o):i.dispatchEvent(o)}const Gp="focusScope.autoFocusOnMount",Op="focusScope.autoFocusOnUnmount",Dp={bubbles:!1,cancelable:!0},Mp=o((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...l}=e,[d,p]=c(null),h=vp(i),m=vp(o),g=s(null),b=pp(t,e=>p(e)),v=s({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;a(()=>{if(r){function e(e){if(v.paused||!d)return;const t=e.target;d.contains(t)?g.current=t:Wp(g.current,{select:!0})}function t(e){if(v.paused||!d)return;const t=e.relatedTarget;null!==t&&(d.contains(t)||Wp(g.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&Wp(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()}}},[r,d,v.paused]),a(()=>{if(d){Fp.add(v);const t=document.activeElement;if(!d.contains(t)){const n=new CustomEvent(Gp,Dp);d.addEventListener(Gp,h),d.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Wp(r,{select:t}),document.activeElement!==n)return}((e=Vp(d),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&Wp(d))}return()=>{d.removeEventListener(Gp,h),setTimeout(()=>{const e=new CustomEvent(Op,Dp);d.addEventListener(Op,m),d.dispatchEvent(e),e.defaultPrevented||Wp(null!=t?t:document.body,{select:!0}),d.removeEventListener(Op,m),Fp.remove(v)},0)}}var e},[d,h,m,v]);const y=f(e=>{if(!n&&!r)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,[r,o]=function(e){const t=Vp(e),n=jp(t,e),r=jp(t.reverse(),e);return[n,r]}(t);r&&o?e.shiftKey||i!==o?e.shiftKey&&i===r&&(e.preventDefault(),n&&Wp(o,{select:!0})):(e.preventDefault(),n&&Wp(r,{select:!0})):i===t&&e.preventDefault()}},[n,r,v.paused]);return u(Np.div,cp({tabIndex:-1},l,{ref:b,onKeyDown:y}))});function Vp(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 jp(e,t){for(const n of e)if(!Hp(n,{upTo:t}))return n}function Hp(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 Wp(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 Fp=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=Xp(e,t),e.unshift(t)},remove(t){var n;e=Xp(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function Xp(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const zp=o((e,t)=>{var n;const{container:r=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...i}=e;return r?T.createPortal(u(Np.div,cp({},i,{ref:t})),r):null});const Zp=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=c(),r=s({}),i=s(e),o=s("none"),l=e?"mounted":"unmounted",[u,d]=function(e,t){return I((e,n)=>{const r=t[e][n];return null!=r?r:e},e)}(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return a(()=>{const e=Yp(r.current);o.current="mounted"===u?e:"none"},[u]),mp(()=>{const t=r.current,n=i.current;if(n!==e){const r=o.current,a=Yp(t);if(e)d("MOUNT");else if("none"===a||"none"===(null==t?void 0:t.display))d("UNMOUNT");else{d(n&&r!==a?"ANIMATION_OUT":"UNMOUNT")}i.current=e}},[e,d]),mp(()=>{if(t){const e=e=>{const n=Yp(r.current).includes(e.animationName);e.target===t&&n&&S(()=>d("ANIMATION_END"))},n=e=>{e.target===t&&(o.current=Yp(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)}}d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:f(e=>{e&&(r.current=getComputedStyle(e)),n(e)},[])}}(t),i="function"==typeof n?n({present:r.isPresent}):v.only(n),o=pp(r.ref,i.ref);return"function"==typeof n||r.isPresent?b(i,{ref:o}):null};function Yp(e){return(null==e?void 0:e.animationName)||"none"}Zp.displayName="Presence";let _p=0;function Jp(){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 Up=function(){return Up=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Up.apply(this,arguments)};function $p(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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}"function"==typeof SuppressedError&&SuppressedError;var Kp="right-scroll-bar-position",Qp="width-before-scroll-bar";function qp(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var eh="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,th=new WeakMap;function nh(e,t){var n,r,i,o=(n=null,r=function(t){return e.forEach(function(e){return qp(e,t)})},(i=c(function(){return{value:n,callback:r,facade:{get current(){return i.value},set current(e){var t=i.value;t!==e&&(i.value=e,i.callback(e,t))}}}})[0]).callback=r,i.facade);return eh(function(){var t=th.get(o);if(t){var n=new Set(t),r=new Set(e),i=o.current;n.forEach(function(e){r.has(e)||qp(e,null)}),r.forEach(function(e){n.has(e)||qp(e,i)})}th.set(o,e)},[e]),o}function rh(e){return e}var ih=function(e){var t=e.sideCar,n=$p(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 r.createElement(i,Up({},n))};ih.isSideCarExport=!0;var oh=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=rh);var n=[],r=!1,i={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 i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},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 i=n;n=[],i.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return i}(null);return t.options=Up({async:!0,ssr:!1},e),t}(),ah=function(){},sh=r.forwardRef(function(e,t){var n=r.useRef(null),i=r.useState({onScrollCapture:ah,onWheelCapture:ah,onTouchMoveCapture:ah}),o=i[0],a=i[1],s=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,h=e.sideCar,m=e.noIsolation,f=e.inert,g=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,y=$p(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=h,I=nh([n,t]),w=Up(Up({},y),o);return r.createElement(r.Fragment,null,d&&r.createElement(x,{sideCar:oh,removeScrollBar:u,shards:p,noIsolation:m,inert:f,setCallbacks:a,allowPinchZoom:!!g,lockRef:n}),s?r.cloneElement(r.Children.only(l),Up(Up({},w),{ref:I})):r.createElement(v,Up({},w,{className:c,ref:I}),l))});sh.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},sh.classNames={fullWidth:Qp,zeroRight:Kp};function lh(){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 ch=function(){var e=0,t=null;return{add:function(n){var r;0==e&&(t=lh())&&(!function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),r=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(r)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},uh=function(){var e,t=(e=ch(),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}},dh={left:0,top:0,right:0,gap:0},ph=function(e){return parseInt(e||"",10)||0},hh=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return dh;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[ph(n),ph(r),ph(i)]}(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])}},mh=uh(),fh="data-scroll-locked",gh=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body[").concat(fh,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Kp," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(Qp," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(Kp," .").concat(Kp," {\n right: 0 ").concat(r,";\n }\n \n .").concat(Qp," .").concat(Qp," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(fh,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},bh=function(){var e=parseInt(document.body.getAttribute(fh)||"0",10);return isFinite(e)?e:0},vh=function(e){var t=e.noRelative,n=e.noImportant,i=e.gapMode,o=void 0===i?"margin":i;r.useEffect(function(){return document.body.setAttribute(fh,(bh()+1).toString()),function(){var e=bh()-1;e<=0?document.body.removeAttribute(fh):document.body.setAttribute(fh,e.toString())}},[]);var a=r.useMemo(function(){return hh(o)},[o]);return r.createElement(mh,{styles:gh(a,!t,o,n?"":"!important")})},yh=!1;if("undefined"!=typeof window)try{var xh=Object.defineProperty({},"passive",{get:function(){return yh=!0,!0}});window.addEventListener("test",xh,xh),window.removeEventListener("test",xh,xh)}catch(e){yh=!1}var Ih=!!yh&&{passive:!1},wh=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])},Ch=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),Ah(e,n)){var r=Nh(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Ah=function(e,t){return"v"===e?function(e){return wh(e,"overflowY")}(t):function(e){return wh(e,"overflowX")}(t)},Nh=function(e,t){return"v"===e?function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]}(t):function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t)},Eh=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Th=function(e){return[e.deltaX,e.deltaY]},Sh=function(e){return e&&"current"in e?e.current:e},kh=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Ph=0,Bh=[];var Lh,Rh=(Lh=function(e){var t=r.useRef([]),n=r.useRef([0,0]),i=r.useRef(),o=r.useState(Ph++)[0],a=r.useState(function(){return uh()})[0],s=r.useRef(e);r.useEffect(function(){s.current=e},[e]),r.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(Sh),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=r.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var r,o=Eh(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-o[0],c="deltaY"in e?e.deltaY:a[1]-o[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=Ch(d,u);if(!p)return!0;if(p?r=d:(r="v"===d?"h":"v",p=Ch(d,u)),!p)return!1;if(!i.current&&"changedTouches"in e&&(l||c)&&(i.current=r),!r)return!0;var h=i.current||r;return function(e,t,n,r){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),o=i*r,a=n.target,s=t.contains(a),l=!1,c=o>0,u=0,d=0;do{var p=Nh(e,a),h=p[0],m=p[1]-p[2]-i*h;(h||m)&&Ah(e,a)&&(u+=m,d+=h),a=a.parentNode}while(!s&&a!==document.body||s&&(t.contains(a)||t===a));return c&&0===u?l=!0:c||0!==d||(l=!0),l}(h,t,e,"h"===h?l:c)},[]),c=r.useCallback(function(e){var n=e;if(Bh.length&&Bh[Bh.length-1]===a){var r="deltaY"in n?Th(n):Eh(n),i=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,i=r,t[0]===i[0]&&t[1]===i[1]);var t,i})[0];if(i&&i.should)n.cancelable&&n.preventDefault();else if(!i){var o=(s.current.shards||[]).map(Sh).filter(Boolean).filter(function(e){return e.contains(n.target)});(o.length>0?l(n,o[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=r.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=r.useCallback(function(e){n.current=Eh(e),i.current=void 0},[]),p=r.useCallback(function(t){u(t.type,Th(t),t.target,l(t,e.lockRef.current))},[]),h=r.useCallback(function(t){u(t.type,Eh(t),t.target,l(t,e.lockRef.current))},[]);r.useEffect(function(){return Bh.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",c,Ih),document.addEventListener("touchmove",c,Ih),document.addEventListener("touchstart",d,Ih),function(){Bh=Bh.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,Ih),document.removeEventListener("touchmove",c,Ih),document.removeEventListener("touchstart",d,Ih)}},[]);var m=e.removeScrollBar,f=e.inert;return r.createElement(r.Fragment,null,f?r.createElement(a,{styles:kh(o)}):null,m?r.createElement(vh,{gapMode:"margin"}):null)},oh.useMedium(Lh),ih),Gh=r.forwardRef(function(e,t){return r.createElement(sh,Up({},e,{ref:t,sideCar:Rh}))});Gh.classNames=sh.classNames;var Oh=new WeakMap,Dh=new WeakMap,Mh={},Vh=0,jh=function(e){return e&&(e.host||jh(e.parentNode))},Hh=function(e,t,n,r){var i=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=jh(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]);Mh[n]||(Mh[n]=new WeakMap);var o=Mh[n],a=[],s=new Set,l=new Set(i),c=function(e){e&&!s.has(e)&&(s.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(s.has(e))u(e);else try{var t=e.getAttribute(r),i=null!==t&&"false"!==t,l=(Oh.get(e)||0)+1,c=(o.get(e)||0)+1;Oh.set(e,l),o.set(e,c),a.push(e),1===l&&i&&Dh.set(e,!0),1===c&&e.setAttribute(n,"true"),i||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),s.clear(),Vh++,function(){a.forEach(function(e){var t=Oh.get(e)-1,i=o.get(e)-1;Oh.set(e,t),o.set(e,i),t||(Dh.has(e)||e.removeAttribute(r),Dh.delete(e)),i||e.removeAttribute(n)}),--Vh||(Oh=new WeakMap,Oh=new WeakMap,Dh=new WeakMap,Mh={})}},Wh=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=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?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),Hh(r,i,n,"aria-hidden")):function(){return null}};const Fh="Dialog",[Xh,zh]=function(e,t=[]){let n=[];const r=()=>{const t=n.map(e=>d(e));return function(n){const r=(null==n?void 0:n[e])||t;return l(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){const i=d(r),o=n.length;function a(t){const{scope:n,children:r,...a}=t,s=(null==n?void 0:n[e][o])||i,c=l(()=>a,Object.values(a));return u(s.Provider,{value:c},r)}return n=[...n,r],a.displayName=t+"Provider",[a,function(n,a){const s=(null==a?void 0:a[e][o])||i,l=h(s);if(l)return l;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},hp(r,...t)]}(Fh),[Zh,Yh]=Xh(Fh),_h="DialogPortal",[Jh,Uh]=Xh(_h,{forceMount:void 0}),$h="DialogOverlay",Kh=o((e,t)=>{const n=Uh($h,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=Yh($h,e.__scopeDialog);return o.modal?u(Zp,{present:r||o.open},u(Qh,cp({},i,{ref:t}))):null}),Qh=o((e,t)=>{const{__scopeDialog:n,...r}=e,i=Yh($h,n);return u(Gh,{as:xp,allowPinchZoom:!0,shards:[i.contentRef]},u(Np.div,cp({"data-state":sm(i.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),qh="DialogContent",em=o((e,t)=>{const n=Uh(qh,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=Yh(qh,e.__scopeDialog);return u(Zp,{present:r||o.open},o.modal?u(tm,cp({},i,{ref:t})):u(nm,cp({},i,{ref:t})))}),tm=o((e,t)=>{const n=Yh(qh,e.__scopeDialog),r=s(null),i=pp(t,n.contentRef,r);return a(()=>{const e=r.current;if(e)return Wh(e)},[]),u(rm,cp({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:up(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:up(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:up(e.onFocusOutside,e=>e.preventDefault())}))}),nm=o((e,t)=>{const n=Yh(qh,e.__scopeDialog),r=s(!1),i=s(!1);return u(rm,cp({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,a;(null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented)||(r.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault());r.current=!1,i.current=!1},onInteractOutside:t=>{var o,a;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));const s=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}}))}),rm=o((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...l}=e,c=Yh(qh,n),d=pp(t,s(null));return a(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:Jp()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:Jp()),_p++,()=>{1===_p&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),_p--}},[]),u(x,null,u(Mp,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o},u(Bp,cp({role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":sm(c.open)},l,{ref:d,onDismiss:()=>c.onOpenChange(!1)}))),!1)}),im="DialogTitle",om="DialogClose",am=o((e,t)=>{const{__scopeDialog:n,...r}=e,i=Yh(om,n);return u(Np.button,cp({type:"button"},r,{ref:t,onClick:up(e.onClick,()=>i.onOpenChange(!1))}))});function sm(e){return e?"open":"closed"}!function(e,t){const n=d(t);function r(e){const{children:t,...r}=e,i=l(()=>r,Object.values(r));return u(n.Provider,{value:i},t)}r.displayName=e+"Provider"}("DialogTitleWarning",{contentName:qh,titleName:im,docsSlug:"dialog"});const lm=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:a=!0}=e,l=s(null),c=s(null),[d=!1,p]=yp({prop:r,defaultProp:i,onChange:o});return u(Zh,{scope:t,triggerRef:l,contentRef:c,contentId:bp(),titleId:bp(),descriptionId:bp(),open:d,onOpenChange:p,onOpenToggle:f(()=>p(e=>!e),[p]),modal:a},n)},cm=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=Yh(_h,t);return u(Jh,{scope:t,forceMount:n},v.map(r,e=>u(Zp,{present:n||o.open},u(zp,{asChild:!0,container:i},e))))},um=Kh,dm=em,pm=am,hm=n=>{const{isOpen:r,onRequestClose:i,size:o,title:a,content:s,description:l,children:c,bodyClassName:u,type:d="modal",index:p=0}=n;return e(lm,{open:r,onOpenChange:()=>r&&(null==i?void 0:i()),children:t(cm,{children:[e(Uu.div,{initial:"closed",animate:r?"open":"closed",variants:ap,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e(um,{})}),e("div",{className:"pointer-events-none fixed inset-0 z-[1001] flex items-center justify-center",children:e(Uu.div,{initial:"closed",animate:r?"open":"closed",variants:sp,transition:{type:"tween",duration:.3,ease:"easeInOut"},className:"pointer-events-auto w-[calc(100vw-10px)] focus:outline-none sm:w-[calc(100vw-90px)]",children:e(dm,{onOpenAutoFocus:e=>e.preventDefault(),className:Ye("relative mx-auto w-full rounded-modal bg-bg p-[25px] shadow-drop focus:outline-none",u),style:{maxWidth:lp[o||"lg"]},children:t("div",{"data-section-type":d,"data-section-index":p,children:[e(pm,{asChild:!0,children:e(cd,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e(br,{name:"close"})})}),t("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[a?e(vr,{className:Ye("mb-3 mt-5 w-full pr-8 text-center sm:pr-0","heading5 md:pt-0","mb-4 md:mb-[60px]"),as:"h2",children:a}):null,l?e(vr,{as:"div",className:"mb-8 sm:mb-5",children:l}):null,t("div",{className:"flex flex-col gap-4 sm:gap-5",children:[s,c||null]})]})]})})})})]})})},mm=({children:n,background:r,className:i,fill:o="yellow",maxFit:a,show:s=!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 r&&r in d,h=p?d[r]:void 0,m=r&&!p?{background:r}:void 0,f=o in u?u[o]:"text-[#F5FF1E]";return s?t("div",{className:`shared-component-backgound-wrapper shape-bg relative overflow-hidden ${null!=i?i:""} ${a?"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 ${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:`shared-component-backgound-wrapper ${null!=i?i:""} ${null!=h?h:""}`,style:m,children:n})},fm=({title:n,background:r="white",button:i,color:o,contentAlignment:a,description:s,descriptionAlignment:l,enableHeading:c,subTitle:u,maxWidth:d=!0,onModalButtonClick:p,renderCheckPlans:h})=>e("div",{className:`${{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-bg"}[r]} component-container px-5 py-16 lg:px-13 lg:py-24 w-full`,children:t("div",{className:`${d?"mx-auto max-w-120":""} color-${o} flex flex-col ${"dark"==o?"text-text":"text-text-inverse"}`,children:[n&&e(vr,{as:c?"h1":"h2",className:`heading2 lg:heading1 text-${a}`,children:n}),u&&e(vr,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${a}`,children:u}),s&&e("div",{className:`pt-2 text-body1 lg:pt-3 text-${l} break-words [&_table]:w-full`,children:s}),i||h?e("div",{className:"flex justify-center pt-5 lg:pt-14",children:e(cd,{...i,renderCheckPlans:h,onModalButtonClick:p,size:{base:"large"}})}):null]})}),gm=({background:r="white",description:i,enableHeading:o,image:a,imageAltText:s,list:l=[],localPathPrefix:c="/local",subTitle:u,title:d,color:p="dark",maxWidth:h=!0,addTrailingSlash:m=!1})=>{const f=(e=>{let t=0,n=e.length;for(;t<n&&47===e.charCodeAt(t);)t+=1;for(;n>t&&47===e.charCodeAt(n-1);)n-=1;return e.slice(t,n)})(null!=c?c:""),g=f?`/${f}`:"",b=e=>`${g}/${e.toLowerCase()}${m?"/":""}`;return 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"==p?"text-text":"text-white"}`,children:t("div",{className:`${h?"max-w-120 xl:mx-auto":""} mx-5 mb-5 ${a?"mt-12":"mt-0 xl:mt-0"} md:px-5 xl:my-20 xl:px-10`,children:[d&&e(vr,{as:o?"h1":"h2",className:"heading2 text-center md:heading1",children:d}),u&&e(vr,{as:o?"h2":"h3",className:"subheading1 mt-4 text-center",children:u}),t("div",{className:`mt-8 flex flex-col items-center xl:flex-row ${a?"xl:mt-16":"xl:mt-10"} gap-10`,children:[t("div",{className:"flex flex-col gap-10 self-stretch xl:flex-[1_0_0] "+(a?"pl-2 md:px-4 lg:pl-12 xl:items-start xl:pl-16":"items-center"),children:[i&&e(vr,{as:"p",className:"body1 text-center"+(a?"lg:text-left":""),children:i}),l.length>0&&t(n,{children:[e("ul",{className:"grid w-full grid-cols-2 gap-x-6 gap-y-5 md:hidden",children:(()=>{const t=[...l].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),r=[];for(let e=0;e<n;e++)for(let i=0;i<2;i++){const o=i*n+e;o<t.length&&r.push(t[o])}return r.map((t,n)=>e("li",{children:e(wr,{href:b(t.code),className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e("ul",{className:`hidden ${a?"gap-x-6":"gap-x-20"} gap-y-5 md:grid md:grid-cols-3 ${a?"":"xl:hidden"}`,children:(()=>{const t=[...l].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),r=[];for(let e=0;e<n;e++)for(let i=0;i<3;i++){const o=i*n+e;r.push(o<t.length?t[o]:null)}return r.map((t,n)=>t?e("li",{className:""+(a?"":"w-[172px]"),children:e(wr,{href:b(t.code),className:"label1",children:t.name})},`item-list-3-${n}`):e("li",{"aria-hidden":"true"},`empty-3-${n}`))})()}),!a&&e("ul",{className:"hidden gap-x-20 gap-y-5 xl:grid xl:grid-cols-4",children:(()=>{const t=[...l].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/4),r=[];for(let e=0;e<n;e++)for(let i=0;i<4;i++){const o=i*n+e;r.push(o<t.length?t[o]:null)}return r.map((t,n)=>t?e("li",{className:"w-[172px]",children:e(wr,{href:b(t.code),className:"label1",children:t.name})},`item-list-4-${n}`):e("li",{"aria-hidden":"true"},`empty-4-${n}`))})()})]})]}),a&&e("aside",{className:"hidden md:block",children:e(Rr,{width:472,height:100,src:a,alt:null!=s?s:"image"})})]})]})})},bm=({title:n,disclaimer:r,table:i,maxWidth:o=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 mb-5 mt-8 md:mt-18 "+(o?"max-w-120 xl:mx-auto":""),children:[e(vr,{as:"h2",className:"heading2 md:heading1 md:text-center",children:n}),e("div",{className:"comparison-table-container mt-5 p-5 pt-0 md:mt-10 md:px-10 md:py-9",children:i}),e(vr,{as:"div",className:"micro mt-8 text-center",children:r})]})}),vm=e=>`?page=${e}`,ym=({currentPage:n,totalPages:r,onPageChange:i,getPageHref:o=vm,ariaLabel:a="Pagination"})=>{const s=function(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t+1);if(e<=4)return[1,2,3,4,5,"...",t];if(e>=t-3)return[1,"...",t-4,t-3,t-2,t-1,t];return[1,"...",e-1,e,e+1,"...",t]}(n,r),l="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",c="opacity-40 pointer-events-none";return t("nav",{className:"flex items-center justify-center gap-1 px-6 pb-12","aria-label":a,children:[e(wr,{href:1===n?"#":o(n-1),className:`${l} ${1===n?c:""}`,"aria-label":"Go to previous page","aria-disabled":1===n,tabIndex:1===n?-1:void 0,onClick:e=>{1!==n?null==i||i(n-1):e.preventDefault()},children:e(br,{name:"chevron_left",size:32,"aria-hidden":"true"})}),s.map((t,r)=>"..."===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-${r}`):e(wr,{href:o(t),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":""),"aria-label":`Go to page ${t}`,"aria-current":t===n?"page":void 0,onClick:()=>null==i?void 0:i(t),children:t},t)),e(wr,{href:n===r?"#":o(n+1),className:`${l} ${n===r?c:""}`,"aria-label":"Go to next page","aria-disabled":n===r,tabIndex:n===r?-1:void 0,onClick:e=>{n!==r?null==i||i(n+1):e.preventDefault()},children:e(br,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function xm(e){return xm="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},xm(e)}function Im(e){var t=function(e,t){if("object"!=xm(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=xm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==xm(t)?t:t+""}function wm(e,t,n){return(t=Im(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Am(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cm(Object(n),!0).forEach(function(t){wm(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cm(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Nm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Em(e,t){if(e){if("string"==typeof e)return Nm(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)?Nm(e,t):void 0}}function Tm(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||Em(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 Sm(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var km=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Pm(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Im(r.key),r)}}function Bm(e,t){return Bm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Bm(e,t)}function Lm(e){return Lm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Lm(e)}function Rm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rm=function(){return!!e})()}function Gm(e,t){if(t&&("object"==xm(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 Om(e){return function(e){if(Array.isArray(e))return Nm(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Em(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 Dm=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}(),Mm="-ms-",Vm="-moz-",jm="-webkit-",Hm="comm",Wm="rule",Fm="decl",Xm="@keyframes",zm=Math.abs,Zm=String.fromCharCode,Ym=Object.assign;function _m(e){return e.trim()}function Jm(e,t,n){return e.replace(t,n)}function Um(e,t){return e.indexOf(t)}function $m(e,t){return 0|e.charCodeAt(t)}function Km(e,t,n){return e.slice(t,n)}function Qm(e){return e.length}function qm(e){return e.length}function ef(e,t){return t.push(e),e}var tf=1,nf=1,rf=0,of=0,af=0,sf="";function lf(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:tf,column:nf,length:a,return:""}}function cf(e,t){return Ym(lf("",null,null,"",null,null,0),e,{length:-e.length},t)}function uf(){return af=of>0?$m(sf,--of):0,nf--,10===af&&(nf=1,tf--),af}function df(){return af=of<rf?$m(sf,of++):0,nf++,10===af&&(nf=1,tf++),af}function pf(){return $m(sf,of)}function hf(){return of}function mf(e,t){return Km(sf,e,t)}function ff(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 gf(e){return tf=nf=1,rf=Qm(sf=e),of=0,[]}function bf(e){return sf="",e}function vf(e){return _m(mf(of-1,If(91===e?e+2:40===e?e+1:e)))}function yf(e){for(;(af=pf())&&af<33;)df();return ff(e)>2||ff(af)>3?"":" "}function xf(e,t){for(;--t&&df()&&!(af<48||af>102||af>57&&af<65||af>70&&af<97););return mf(e,hf()+(t<6&&32==pf()&&32==df()))}function If(e){for(;df();)switch(af){case e:return of;case 34:case 39:34!==e&&39!==e&&If(af);break;case 40:41===e&&If(e);break;case 92:df()}return of}function wf(e,t){for(;df()&&e+af!==57&&(e+af!==84||47!==pf()););return"/*"+mf(t,of-1)+"*"+Zm(47===e?e:df())}function Cf(e){for(;!ff(pf());)df();return mf(e,of)}function Af(e){return bf(Nf("",null,null,null,[""],e=gf(e),0,[0],e))}function Nf(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,p=0,h=0,m=0,f=1,g=1,b=1,v=0,y="",x=i,I=o,w=r,C=y;g;)switch(m=v,v=df()){case 40:if(108!=m&&58==$m(C,d-1)){-1!=Um(C+=Jm(vf(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:C+=vf(v);break;case 9:case 10:case 13:case 32:C+=yf(m);break;case 92:C+=xf(hf()-1,7);continue;case 47:switch(pf()){case 42:case 47:ef(Tf(wf(df(),hf()),t,n),l);break;default:C+="/"}break;case 123*f:s[c++]=Qm(C)*b;case 125*f:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(C=Jm(C,/\f/g,"")),h>0&&Qm(C)-d&&ef(h>32?Sf(C+";",r,n,d-1):Sf(Jm(C," ","")+";",r,n,d-2),l);break;case 59:C+=";";default:if(ef(w=Ef(C,t,n,c,u,i,s,y,x=[],I=[],d),o),123===v)if(0===u)Nf(C,t,w,w,x,o,d,s,I);else switch(99===p&&110===$m(C,3)?100:p){case 100:case 108:case 109:case 115:Nf(e,w,w,r&&ef(Ef(e,w,w,0,0,i,s,y,i,x=[],d),I),i,I,d,s,r?x:I);break;default:Nf(C,w,w,w,[""],I,0,s,I)}}c=u=h=0,f=b=1,y=C="",d=a;break;case 58:d=1+Qm(C),h=m;default:if(f<1)if(123==v)--f;else if(125==v&&0==f++&&125==uf())continue;switch(C+=Zm(v),v*f){case 38:b=u>0?1:(C+="\f",-1);break;case 44:s[c++]=(Qm(C)-1)*b,b=1;break;case 64:45===pf()&&(C+=vf(df())),p=pf(),u=d=Qm(y=C+=Cf(hf())),v++;break;case 45:45===m&&2==Qm(C)&&(f=0)}}return o}function Ef(e,t,n,r,i,o,a,s,l,c,u){for(var d=i-1,p=0===i?o:[""],h=qm(p),m=0,f=0,g=0;m<r;++m)for(var b=0,v=Km(e,d+1,d=zm(f=a[m])),y=e;b<h;++b)(y=_m(f>0?p[b]+" "+v:Jm(v,/&\f/g,p[b])))&&(l[g++]=y);return lf(e,t,n,0===i?Wm:s,l,c,u)}function Tf(e,t,n){return lf(e,t,n,Hm,Zm(af),Km(e,2,-2),0)}function Sf(e,t,n,r){return lf(e,t,n,Fm,Km(e,0,r),Km(e,r+1,-1),r)}function kf(e,t){for(var n="",r=qm(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function Pf(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Fm:return e.return=e.return||e.value;case Hm:return"";case Xm:return e.return=e.value+"{"+kf(e.children,r)+"}";case Wm:e.value=e.props.join(",")}return Qm(n=kf(e.children,r))?e.return=e.value+"{"+n+"}":""}function Bf(e){var t=qm(e);return function(n,r,i,o){for(var a="",s=0;s<t;s++)a+=e[s](n,r,i,o)||"";return a}}var Lf="undefined"!=typeof document,Rf=function(e,t,n){for(var r=0,i=0;r=i,i=pf(),38===r&&12===i&&(t[n]=1),!ff(i);)df();return mf(e,of)},Gf=function(e,t){return bf(function(e,t){var n=-1,r=44;do{switch(ff(r)){case 0:38===r&&12===pf()&&(t[n]=1),e[n]+=Rf(of-1,t,n);break;case 2:e[n]+=vf(r);break;case 4:if(44===r){e[++n]=58===pf()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Zm(r)}}while(r=df());return e}(gf(e),t))},Of=new WeakMap,Df=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Of.get(n))&&!r){Of.set(e,!0);for(var i=[],o=Gf(t,i),a=n.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},Mf=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Vf(e,t){switch(function(e,t){return 45^$m(e,0)?(((t<<2^$m(e,0))<<2^$m(e,1))<<2^$m(e,2))<<2^$m(e,3):0}(e,t)){case 5103:return jm+"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 jm+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return jm+e+Vm+e+Mm+e+e;case 6828:case 4268:return jm+e+Mm+e+e;case 6165:return jm+e+Mm+"flex-"+e+e;case 5187:return jm+e+Jm(e,/(\w+).+(:[^]+)/,jm+"box-$1$2"+Mm+"flex-$1$2")+e;case 5443:return jm+e+Mm+"flex-item-"+Jm(e,/flex-|-self/,"")+e;case 4675:return jm+e+Mm+"flex-line-pack"+Jm(e,/align-content|flex-|-self/,"")+e;case 5548:return jm+e+Mm+Jm(e,"shrink","negative")+e;case 5292:return jm+e+Mm+Jm(e,"basis","preferred-size")+e;case 6060:return jm+"box-"+Jm(e,"-grow","")+jm+e+Mm+Jm(e,"grow","positive")+e;case 4554:return jm+Jm(e,/([^-])(transform)/g,"$1"+jm+"$2")+e;case 6187:return Jm(Jm(Jm(e,/(zoom-|grab)/,jm+"$1"),/(image-set)/,jm+"$1"),e,"")+e;case 5495:case 3959:return Jm(e,/(image-set\([^]*)/,jm+"$1$`$1");case 4968:return Jm(Jm(e,/(.+:)(flex-)?(.*)/,jm+"box-pack:$3"+Mm+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+jm+e+e;case 4095:case 3583:case 4068:case 2532:return Jm(e,/(.+)-inline(.+)/,jm+"$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(Qm(e)-1-t>6)switch($m(e,t+1)){case 109:if(45!==$m(e,t+4))break;case 102:return Jm(e,/(.+:)(.+)-([^]+)/,"$1"+jm+"$2-$3$1"+Vm+(108==$m(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Um(e,"stretch")?Vf(Jm(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==$m(e,t+1))break;case 6444:switch($m(e,Qm(e)-3-(~Um(e,"!important")&&10))){case 107:return Jm(e,":",":"+jm)+e;case 101:return Jm(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+jm+(45===$m(e,14)?"inline-":"")+"box$3$1"+jm+"$2$3$1"+Mm+"$2box$3")+e}break;case 5936:switch($m(e,t+11)){case 114:return jm+e+Mm+Jm(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return jm+e+Mm+Jm(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return jm+e+Mm+Jm(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return jm+e+Mm+e+e}return e}var jf,Hf,Wf,Ff=Lf?void 0:(jf=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},Hf=new WeakMap,function(e){if(Hf.has(e))return Hf.get(e);var t=jf(e);return Hf.set(e,t),t}),Xf=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Fm:e.return=Vf(e.value,e.length);break;case Xm:return kf([cf(e,{value:Jm(e.value,"@","@"+jm)})],r);case Wm: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 kf([cf(e,{props:[Jm(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return kf([cf(e,{props:[Jm(t,/:(plac\w+)/,":"+jm+"input-$1")]}),cf(e,{props:[Jm(t,/:(plac\w+)/,":-moz-$1")]}),cf(e,{props:[Jm(t,/:(plac\w+)/,Mm+"input-$1")]})],r)}return""})}}],zf=function(e){var t=e.key;if(Lf&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,i,o=e.stylisPlugins||Xf,a={},s=[];Lf&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c=[Df,Mf];if(Ff){var u=[Pf],d=Bf(c.concat(o,u)),p=Ff(o)(t),h=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=kf(Af(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};i=function(e,t,n,r){var i=t.name,o=h(e,t);return void 0===b.compat?(r&&(b.inserted[i]=!0),o):r?void(b.inserted[i]=o):o}}else{var m,f=[Pf,(l=function(e){m.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=Bf(c.concat(o,f));i=function(e,t,n,r){m=n,kf(Af(e?e+"{"+t.styles+"}":t.styles),g),r&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new Dm({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return b.sheet.hydrate(s),b},Zf={exports:{}},Yf={};var _f,Jf,Uf,$f,Kf={};
5
+ function It(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var Ct=function e(t,n){function r(e,r,i){if("undefined"!=typeof document){"number"==typeof(i=It({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var a in i)i[a]&&(o+="; "+a,!0!==i[a]&&(o+="="+i[a].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+o}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var o=n[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(r[s]=t.read(a,s),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",It({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,It({},this.attributes,t))},withConverter:function(t){return e(It({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});const At=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const Nt=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,Et=e=>{if(!e)return null;if(Nt(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return Nt(t)?t:null}return null};function Tt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var St,kt={},Pt={},Bt={};function Lt(){return St||(St=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return t}});var t=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({})}(Bt)),Bt}var Rt,Ot={};function Gt(){return Rt||(Rt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return t}});var t=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({})}(Ot)),Ot}var Mt,Dt={};function Vt(){return Mt||(Mt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return t}});var t=function(e){return e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough",e}({})}(Dt)),Dt}var jt,Ht={};function Ft(){return jt||(jt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get CONTAINERS(){return p},get HEADINGS(){return h},get LIST_ITEM_BLOCKS(){return c},get TABLE_BLOCKS(){return u},get TEXT_CONTAINERS(){return m},get TOP_LEVEL_BLOCKS(){return l},get V1_MARKS(){return g},get V1_NODE_TYPES(){return f},get VOID_BLOCKS(){return d}});var t=Lt(),n=Gt(),r=Vt();function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a,s,l=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE,t.BLOCKS.TABLE],c=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],u=[t.BLOCKS.TABLE,t.BLOCKS.TABLE_ROW,t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],d=[t.BLOCKS.HR,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],p=(o(a={},t.BLOCKS.OL_LIST,[t.BLOCKS.LIST_ITEM]),o(a,t.BLOCKS.UL_LIST,[t.BLOCKS.LIST_ITEM]),o(a,t.BLOCKS.LIST_ITEM,c),o(a,t.BLOCKS.QUOTE,[t.BLOCKS.PARAGRAPH]),o(a,t.BLOCKS.TABLE,[t.BLOCKS.TABLE_ROW]),o(a,t.BLOCKS.TABLE_ROW,[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL]),o(a,t.BLOCKS.TABLE_CELL,[t.BLOCKS.PARAGRAPH,t.BLOCKS.UL_LIST,t.BLOCKS.OL_LIST]),o(a,t.BLOCKS.TABLE_HEADER_CELL,[t.BLOCKS.PARAGRAPH]),a),h=[t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6],m=[t.BLOCKS.PARAGRAPH].concat(function(e){if(Array.isArray(e))return i(e)}(s=h)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(s)||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.")}()),f=[t.BLOCKS.DOCUMENT,t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.LIST_ITEM,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,n.INLINES.HYPERLINK,n.INLINES.ENTRY_HYPERLINK,n.INLINES.ASSET_HYPERLINK,n.INLINES.EMBEDDED_ENTRY,"text"],g=[r.MARKS.BOLD,r.MARKS.CODE,r.MARKS.ITALIC,r.MARKS.UNDERLINE]}(Ht)),Ht}var Wt,Xt={};var zt,Zt={};var _t,Yt={};var Jt,Ut={};function $t(){return Jt||(Jt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get isBlock(){return s},get isEmptyParagraph(){return c},get isInline(){return a},get isText(){return l},get stripEmptyTrailingParagraphFromDocument(){return p}});var t=Lt(),n=Gt();function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function o(e,t){var n=!0,r=!1,i=void 0;try{for(var o,a=Object.keys(e)[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){if(t===e[o.value])return!0}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}return!1}function a(e){return o(n.INLINES,e.nodeType)}function s(e){return o(t.BLOCKS,e.nodeType)}function l(e){return"text"===e.nodeType}function c(e){if(e.nodeType!==t.BLOCKS.PARAGRAPH)return!1;if(1!==e.content.length)return!1;var n=e.content[0];return"text"===n.nodeType&&""===n.value}function u(e){return null!=e&&"object"==(void 0===e?"undefined":(t=e)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)&&"content"in e&&Array.isArray(e.content);var t}var d=2;function p(e){return!u(e)||e.content.length<d?e:c(e.content[e.content.length-1])?i(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){r(e,t,n[t])})}return e}({},e),{content:e.content.slice(0,-1)}):e}}(Ut)),Ut}var Kt,Qt,qt={},en={};function tn(){return Qt?Kt:(Qt=1,Kt=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype})}var nn,rn,on={};function an(){return nn||(nn=1,function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function n(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(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.")}()}Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get enumError(){return a},get maxSizeError(){return o},get minSizeError(){return i},get requiredPropertyError(){return l},get typeMismatchError(){return r},get unknownPropertyError(){return s}});var r=function(e){var t=e.path,n=e.property,r=e.typeName,i=e.value;return{details:'The type of "'.concat(n,'" is incorrect, expected type: ').concat(r),name:"type",path:t.toArray(),type:r,value:i}},i=function(e){var t=e.min,n=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:n}},o=function(e){var t=e.max,n=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:n}},a=function(e){var t=e.expected,r=e.value,i=e.path;return{details:"Value must be one of expected values",name:"in",expected:n(t).sort(),path:i.toArray(),value:r}},s=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:n.toArray()}},l=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:n.toArray()}}}(on)),on}function sn(){return rn||(rn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ObjectAssertion",{enumerable:!0,get:function(){return l}});var t=a(tn()),n=an();function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(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 l=function(){function e(r,i){var a=this,l=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),o(this,"obj",void 0),o(this,"path",void 0),o(this,"_errors",void 0),o(this,"catch",void 0),o(this,"exists",void 0),o(this,"object",void 0),o(this,"string",void 0),o(this,"number",void 0),o(this,"array",void 0),o(this,"enum",void 0),o(this,"empty",void 0),o(this,"minLength",void 0),o(this,"noAdditionalProperties",void 0),o(this,"each",void 0),this.obj=r,this.path=i,this._errors=[],this.catch=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;(r=l._errors).push.apply(r,s(t))},this.exists=function(e){return e in a.obj||(a.catch((0,n.requiredPropertyError)({property:e,path:a.path.of(e)})),!1)},this.object=function(e){var r=e?a.obj[e]:a.obj;if(e&&!a.exists(e))return!1;if((0,t.default)(r))return!0;var i,o=e?a.path.of(e):a.path,s=null!==(i=null!=e?e:a.path.last())&&void 0!==i?i:"value";return a.catch((0,n.typeMismatchError)({typeName:"Object",property:s,path:o,value:r})),!1},this.string=function(e){var t=a.obj[e];return!(e&&!a.exists(e))&&("string"==typeof t||(a.catch((0,n.typeMismatchError)({typeName:"String",property:e,path:a.path.of(e),value:t})),!1))},this.number=function(e,t){var r=a.obj[e];return!(!t||e in a.obj)||!!a.exists(e)&&("number"==typeof r&&!Number.isNaN(r)||(a.catch((0,n.typeMismatchError)({typeName:"Number",property:e,path:a.path.of(e),value:r})),!1))},this.array=function(e){var t=a.obj[e];return!(e&&!a.exists(e))&&(!!Array.isArray(t)||(a.catch((0,n.typeMismatchError)({typeName:"Array",property:e,path:a.path.of(e),value:t})),!1))},this.enum=function(e,t){var r=a.obj[e];return!("string"!=typeof r||!t.includes(r))||(a.catch((0,n.enumError)({expected:t,value:r,path:a.path.of(e)})),!1)},this.empty=function(e){if(!a.array(e))return!1;var t=a.obj[e];return 0===t.length||(a.catch((0,n.maxSizeError)({max:0,value:t,path:a.path.of(e)})),!1)},this.minLength=function(e,t){if(!a.array(e))return!1;var r=a.obj[e];return r.length>=t||(a.catch((0,n.minSizeError)({min:t,value:r,path:a.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(a.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return a.catch((0,n.unknownPropertyError)({property:e,path:a.path.of(e)}))}),0===t.length},this.each=function(e,t){if(a.array(e)){var n=a.obj[e],r=!1;n.forEach(function(n,i){if(!r){var o=t(n,a.path.of(e).of(i));o.length>0&&(r=!0),a.catch.apply(a,s(o))}})}}}return i(e,[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(n,r){return e._errors.findIndex(function(e){return t(n)===t(e)})===r})}}]),e}()}(en)),en}var ln,cn={};function un(){return ln||(ln=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get EntityLinkAssertion(){return f},get HyperLinkAssertion(){return g},get NodeAssertion(){return m},get VOID_CONTENT(){return h},get assert(){return b},get assertLink(){return v}});var t=sn();function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t,n){return t=l(t),function(e,t){if(t&&("object"==(n=t,n&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;var n;return r(e)}(e,p()?Reflect.construct(t,n||[],l(e).constructor):t.apply(e,n))}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function c(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}}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(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.")}()}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}var h=[],m=function(){function e(t,n){o(this,e),s(this,"contentRule",void 0),s(this,"validateData",void 0),this.contentRule=t,this.validateData=n}return a(e,[{key:"assert",value:function(e,n){var r=new t.ObjectAssertion(e,n);if(!r.object())return r.errors;r.noAdditionalProperties(["nodeType","data","content"]);var i=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,n),o=i.nodeTypes,a=i.min,s=void 0===a?0:a;if(0===o.length&&s>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(s," with no nodeTypes"));if(r.minLength("content",s),0===o.length?r.empty("content"):r.each("content",function(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.enum("nodeType",o),r.errors):r.errors}),r.object("data")){var l,c,u,p=null!==(u=null===(c=this.validateData)||void 0===c?void 0:c.call(this,e.data,n.of("data")))&&void 0!==u?u:[];(l=r).catch.apply(l,d(p))}return r.errors}}]),e}(),f=function(e){function n(e,a){var l;return o(this,n),l=i(this,n,[a,function(e,t){return r(l).assertLink(e,t)}]),s(l,"linkType",void 0),s(l,"type",void 0),s(l,"assertLink",void 0),l.linkType=e,l.assertLink=function(e,n){var r=new t.ObjectAssertion(e,n);if(r.object("target")){var i,o=new t.ObjectAssertion(e.target.sys,n.of("target").of("sys"));o.object()&&(o.enum("type",[l.type]),o.enum("linkType",[l.linkType]),"Link"===l.type?(o.string("id"),o.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===l.type&&(o.string("urn"),o.noAdditionalProperties(["type","linkType","urn"]))),(i=r).catch.apply(i,d(o.errors))}return r.noAdditionalProperties(["target"]),r.errors},l.type=l.linkType.startsWith("Contentful:")?"ResourceLink":"Link",l}return c(n,e),n}(m),g=function(e){function n(){var e;return o(this,n),e=i(this,n,[["text"],function(t,n){return r(e).assertLink(t,n)}]),s(e,"assertLink",function(e,n){var r=new t.ObjectAssertion(e,n);return r.string("uri"),r.noAdditionalProperties(["uri"]),r.errors}),e}return c(n,e),n}(m),b=function(e,t){return new m(e,t)},v=function(e,t){return new f(e,t)}}(cn)),cn}var dn,pn={};function hn(){return dn||(dn=1,function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(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.")}()}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return i}});var i=function e(){var t=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n(this,"path",void 0),n(this,"of",void 0),n(this,"isRoot",void 0),n(this,"last",void 0),n(this,"toArray",void 0),this.path=i,this.of=function(n){return new e(r(t.path).concat([n]))},this.isRoot=function(){return 0===t.path.length},this.last=function(){return t.path[t.path.length-1]},this.toArray=function(){return t.path}}}(pn)),pn}var mn,fn,gn,bn,vn={};function yn(){return fn||(fn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"validateRichTextDocument",{enumerable:!0,get:function(){return v}});var t=Lt(),n=Gt(),r=Ft(),i=sn(),o=un(),a=hn(),s=(mn||(mn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"assertText",{enumerable:!0,get:function(){return n}});var t=sn();function n(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.noAdditionalProperties(["nodeType","data","value","marks"]),r.object("data"),r.each("marks",function(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.string("type"),r.errors):r.errors}),r.string("value"),r.errors):r.errors}}(vn)),vn);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(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 d,p=(0,o.assert)(u(Object.values(n.INLINES)).concat(["text"]).sort()),h=(0,o.assert)([t.BLOCKS.LIST_ITEM]),m=(0,o.assertLink)("Entry",o.VOID_CONTENT),f=(0,o.assert)(function(){return{nodeTypes:[t.BLOCKS.PARAGRAPH],min:1}},function(e,t){var n=new i.ObjectAssertion(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors}),g=(c(d={},t.BLOCKS.DOCUMENT,(0,o.assert)(r.TOP_LEVEL_BLOCKS)),c(d,t.BLOCKS.PARAGRAPH,p),c(d,t.BLOCKS.HEADING_1,p),c(d,t.BLOCKS.HEADING_2,p),c(d,t.BLOCKS.HEADING_3,p),c(d,t.BLOCKS.HEADING_4,p),c(d,t.BLOCKS.HEADING_5,p),c(d,t.BLOCKS.HEADING_6,p),c(d,t.BLOCKS.QUOTE,(0,o.assert)(r.CONTAINERS[t.BLOCKS.QUOTE])),c(d,t.BLOCKS.EMBEDDED_ENTRY,m),c(d,t.BLOCKS.EMBEDDED_ASSET,(0,o.assertLink)("Asset",o.VOID_CONTENT)),c(d,t.BLOCKS.EMBEDDED_RESOURCE,(0,o.assertLink)("Contentful:Entry",o.VOID_CONTENT)),c(d,t.BLOCKS.HR,(0,o.assert)(o.VOID_CONTENT)),c(d,t.BLOCKS.OL_LIST,h),c(d,t.BLOCKS.UL_LIST,h),c(d,t.BLOCKS.LIST_ITEM,(0,o.assert)(u(r.LIST_ITEM_BLOCKS).sort())),c(d,t.BLOCKS.TABLE,(0,o.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_ROW],min:1}})),c(d,t.BLOCKS.TABLE_ROW,(0,o.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],min:1}})),c(d,t.BLOCKS.TABLE_CELL,f),c(d,t.BLOCKS.TABLE_HEADER_CELL,f),c(d,n.INLINES.HYPERLINK,new o.HyperLinkAssertion),c(d,n.INLINES.EMBEDDED_ENTRY,m),c(d,n.INLINES.EMBEDDED_RESOURCE,(0,o.assertLink)("Contentful:Entry",o.VOID_CONTENT)),c(d,n.INLINES.ENTRY_HYPERLINK,(0,o.assertLink)("Entry",["text"])),c(d,n.INLINES.ASSET_HYPERLINK,(0,o.assertLink)("Asset",["text"])),c(d,n.INLINES.RESOURCE_HYPERLINK,(0,o.assertLink)("Contentful:Entry",["text"])),d);function b(e,t){if("text"===e.nodeType)return(0,s.assertText)(e,t);var n=g[e.nodeType].assert(e,t);if(n.length>0)return n;var r=new i.ObjectAssertion(e,t);return r.each("content",function(e,t){return b(e,t)}),r.errors}var v=function(e){var n=new a.Path,r=new i.ObjectAssertion(e,n);return r.object()&&r.enum("nodeType",[t.BLOCKS.DOCUMENT]),r.errors.length>0?r.errors:b(e,n)}}(qt)),qt}function xn(){return gn||(gn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get BLOCKS(){return t.BLOCKS},get EMPTY_DOCUMENT(){return i.EMPTY_DOCUMENT},get INLINES(){return n.INLINES},get MARKS(){return r.MARKS},get helpers(){return o},get validateRichTextDocument(){return a.validateRichTextDocument}});var t=Lt(),n=Gt(),r=Vt();s(Ft(),e),s((Wt||(Wt=1,Object.defineProperty(Xt,"__esModule",{value:!0})),Xt),e),s((zt||(zt=1,Object.defineProperty(Zt,"__esModule",{value:!0})),Zt),e);var i=(_t||(_t=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return n}});var t=Lt(),n={nodeType:t.BLOCKS.DOCUMENT,data:{},content:[{nodeType:t.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}}(Yt)),Yt),o=c($t()),a=yn();function s(e,t){return Object.keys(e).forEach(function(n){"default"===n||Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})}),e}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}}(Pt)),Pt}var wn=function(){if(bn)return kt;bn=1;var e=i,t=xn();function n(t,n){return t.map((t,i)=>{return o=r(t,n),a=i,e.isValidElement(o)&&null===o.key?e.cloneElement(o,{key:a}):o;var o,a})}function r(r,i){const{renderNode:o,renderMark:a,renderText:s,preserveWhitespace:l}=i;if(t.helpers.isText(r)){let t=s?s(r.value):r.value;if(l&&!s){t=t.replace(/ {2,}/g,e=>" ".repeat(e.length));const n=t.split("\n"),r=[];n.forEach((t,i)=>{r.push(t),i!==n.length-1&&r.push(e.createElement("br",null))}),t=r}return r.marks.reduce((e,t)=>a[t.type]?a[t.type](e):e,t)}{const t=n(r.content,i);return r.nodeType&&o[r.nodeType]?o[r.nodeType](r,t):e.createElement(e.Fragment,null,t)}}const o={[t.BLOCKS.DOCUMENT]:(e,t)=>t,[t.BLOCKS.PARAGRAPH]:(t,n)=>e.createElement("p",null,n),[t.BLOCKS.HEADING_1]:(t,n)=>e.createElement("h1",null,n),[t.BLOCKS.HEADING_2]:(t,n)=>e.createElement("h2",null,n),[t.BLOCKS.HEADING_3]:(t,n)=>e.createElement("h3",null,n),[t.BLOCKS.HEADING_4]:(t,n)=>e.createElement("h4",null,n),[t.BLOCKS.HEADING_5]:(t,n)=>e.createElement("h5",null,n),[t.BLOCKS.HEADING_6]:(t,n)=>e.createElement("h6",null,n),[t.BLOCKS.EMBEDDED_ENTRY]:(t,n)=>e.createElement("div",null,n),[t.BLOCKS.EMBEDDED_RESOURCE]:(t,n)=>e.createElement("div",null,n),[t.BLOCKS.UL_LIST]:(t,n)=>e.createElement("ul",null,n),[t.BLOCKS.OL_LIST]:(t,n)=>e.createElement("ol",null,n),[t.BLOCKS.LIST_ITEM]:(t,n)=>e.createElement("li",null,n),[t.BLOCKS.QUOTE]:(t,n)=>e.createElement("blockquote",null,n),[t.BLOCKS.HR]:()=>e.createElement("hr",null),[t.BLOCKS.TABLE]:(t,n)=>e.createElement("table",null,e.createElement("tbody",null,n)),[t.BLOCKS.TABLE_ROW]:(t,n)=>e.createElement("tr",null,n),[t.BLOCKS.TABLE_HEADER_CELL]:(t,n)=>e.createElement("th",null,n),[t.BLOCKS.TABLE_CELL]:(t,n)=>e.createElement("td",null,n),[t.INLINES.ASSET_HYPERLINK]:e=>s(t.INLINES.ASSET_HYPERLINK,e),[t.INLINES.ENTRY_HYPERLINK]:e=>s(t.INLINES.ENTRY_HYPERLINK,e),[t.INLINES.RESOURCE_HYPERLINK]:e=>l(t.INLINES.RESOURCE_HYPERLINK,e),[t.INLINES.EMBEDDED_ENTRY]:e=>s(t.INLINES.EMBEDDED_ENTRY,e),[t.INLINES.EMBEDDED_RESOURCE]:(e,n)=>l(t.INLINES.EMBEDDED_RESOURCE,e),[t.INLINES.HYPERLINK]:(t,n)=>e.createElement("a",{href:t.data.uri},n)},a={[t.MARKS.BOLD]:t=>e.createElement("b",null,t),[t.MARKS.ITALIC]:t=>e.createElement("i",null,t),[t.MARKS.UNDERLINE]:t=>e.createElement("u",null,t),[t.MARKS.CODE]:t=>e.createElement("code",null,t),[t.MARKS.SUPERSCRIPT]:t=>e.createElement("sup",null,t),[t.MARKS.SUBSCRIPT]:t=>e.createElement("sub",null,t),[t.MARKS.STRIKETHROUGH]:t=>e.createElement("s",null,t)};function s(t,n){return e.createElement("span",{key:n.data.target.sys.id},"type: ",n.nodeType," id: ",n.data.target.sys.id)}function l(t,n){return e.createElement("span",{key:n.data.target.sys.urn},"type: ",n.nodeType," urn: ",n.data.target.sys.urn)}return kt.documentToReactComponents=function(e,n={}){if(!e)return null;let i=e;return n.stripEmptyTrailingParagraph&&(i=t.helpers.stripEmptyTrailingParagraphFromDocument(e)),r(i,{renderNode:{...o,...n.renderNode},renderMark:{...a,...n.renderMark},renderText:n.renderText,preserveWhitespace:n.preserveWhitespace})},kt}(),In=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({}),Cn=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({}),An=function(e){return e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough",e}({});function Nn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function En(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Tn,Sn=[In.PARAGRAPH,In.HEADING_1,In.HEADING_2,In.HEADING_3,In.HEADING_4,In.HEADING_5,In.HEADING_6,In.OL_LIST,In.UL_LIST,In.HR,In.QUOTE,In.EMBEDDED_ENTRY,In.EMBEDDED_ASSET,In.EMBEDDED_RESOURCE,In.TABLE],kn=[In.PARAGRAPH,In.HEADING_1,In.HEADING_2,In.HEADING_3,In.HEADING_4,In.HEADING_5,In.HEADING_6,In.OL_LIST,In.UL_LIST,In.HR,In.QUOTE,In.EMBEDDED_ENTRY,In.EMBEDDED_ASSET,In.EMBEDDED_RESOURCE];In.TABLE,In.TABLE_ROW,In.TABLE_CELL,In.TABLE_HEADER_CELL,In.HR,In.EMBEDDED_ENTRY,In.EMBEDDED_ASSET,In.EMBEDDED_RESOURCE;var Pn,Bn=(En(Tn={},In.OL_LIST,[In.LIST_ITEM]),En(Tn,In.UL_LIST,[In.LIST_ITEM]),En(Tn,In.LIST_ITEM,kn),En(Tn,In.QUOTE,[In.PARAGRAPH]),En(Tn,In.TABLE,[In.TABLE_ROW]),En(Tn,In.TABLE_ROW,[In.TABLE_CELL,In.TABLE_HEADER_CELL]),En(Tn,In.TABLE_CELL,[In.PARAGRAPH,In.UL_LIST,In.OL_LIST]),En(Tn,In.TABLE_HEADER_CELL,[In.PARAGRAPH]),Tn),Ln=[In.HEADING_1,In.HEADING_2,In.HEADING_3,In.HEADING_4,In.HEADING_5,In.HEADING_6];[In.PARAGRAPH].concat(function(e){if(Array.isArray(e))return Nn(e)}(Pn=Ln)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(Pn)||function(e,t){if(e){if("string"==typeof e)return Nn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Nn(e,t):void 0}}(Pn)||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.")}()),In.DOCUMENT,In.PARAGRAPH,In.HEADING_1,In.HEADING_2,In.HEADING_3,In.HEADING_4,In.HEADING_5,In.HEADING_6,In.OL_LIST,In.UL_LIST,In.LIST_ITEM,In.HR,In.QUOTE,In.EMBEDDED_ENTRY,In.EMBEDDED_ASSET,Cn.HYPERLINK,Cn.ENTRY_HYPERLINK,Cn.ASSET_HYPERLINK,Cn.EMBEDDED_ENTRY,In.DOCUMENT,In.PARAGRAPH;var Rn=Tt(tn());function On(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Gn(e){return function(e){if(Array.isArray(e))return On(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return On(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return On(e,t)}(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 Mn=function(e){var t=e.path,n=e.property,r=e.typeName,i=e.value;return{details:'The type of "'.concat(n,'" is incorrect, expected type: ').concat(r),name:"type",path:t.toArray(),type:r,value:i}};function Dn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Vn(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function jn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hn(e){return function(e){if(Array.isArray(e))return Dn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Dn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Dn(e,t)}(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 Fn=function(){function e(t,n){var r=this,i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),jn(this,"obj",void 0),jn(this,"path",void 0),jn(this,"_errors",void 0),jn(this,"catch",void 0),jn(this,"exists",void 0),jn(this,"object",void 0),jn(this,"string",void 0),jn(this,"number",void 0),jn(this,"array",void 0),jn(this,"enum",void 0),jn(this,"empty",void 0),jn(this,"minLength",void 0),jn(this,"noAdditionalProperties",void 0),jn(this,"each",void 0),this.obj=t,this.path=n,this._errors=[],this.catch=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;(r=i._errors).push.apply(r,Hn(t))},this.exists=function(e){return e in r.obj||(r.catch(function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:n.toArray()}}({property:e,path:r.path.of(e)})),!1)},this.object=function(e){var t=e?r.obj[e]:r.obj;if(e&&!r.exists(e))return!1;if(Rn(t))return!0;var n,i=e?r.path.of(e):r.path,o=null!==(n=null!=e?e:r.path.last())&&void 0!==n?n:"value";return r.catch(Mn({typeName:"Object",property:o,path:i,value:t})),!1},this.string=function(e){var t=r.obj[e];return!(e&&!r.exists(e))&&("string"==typeof t||(r.catch(Mn({typeName:"String",property:e,path:r.path.of(e),value:t})),!1))},this.number=function(e,t){var n=r.obj[e];return!(!t||e in r.obj)||!!r.exists(e)&&("number"==typeof n&&!Number.isNaN(n)||(r.catch(Mn({typeName:"Number",property:e,path:r.path.of(e),value:n})),!1))},this.array=function(e){var t=r.obj[e];return!(e&&!r.exists(e))&&(!!Array.isArray(t)||(r.catch(Mn({typeName:"Array",property:e,path:r.path.of(e),value:t})),!1))},this.enum=function(e,t){var n=r.obj[e];return!("string"!=typeof n||!t.includes(n))||(r.catch(function(e){var t=e.expected,n=e.value,r=e.path;return{details:"Value must be one of expected values",name:"in",expected:Gn(t).sort(),path:r.toArray(),value:n}}({expected:t,value:n,path:r.path.of(e)})),!1)},this.empty=function(e){if(!r.array(e))return!1;var t=r.obj[e];return 0===t.length||(r.catch(function(e){var t=e.max,n=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:n}}({max:0,value:t,path:r.path.of(e)})),!1)},this.minLength=function(e,t){if(!r.array(e))return!1;var n=r.obj[e];return n.length>=t||(r.catch(function(e){var t=e.min,n=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:n}}({min:t,value:n,path:r.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(r.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return r.catch(function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:n.toArray()}}({property:e,path:r.path.of(e)}))}),0===t.length},this.each=function(e,t){if(r.array(e)){var n=r.obj[e],i=!1;n.forEach(function(n,o){if(!i){var a=t(n,r.path.of(e).of(o));a.length>0&&(i=!0),r.catch.apply(r,Hn(a))}})}}}return Vn(e,[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(n,r){return e._errors.findIndex(function(e){return t(n)===t(e)})===r})}}]),e}();function Wn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Xn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zn(e,t,n){return t=Jn(t),function(e,t){if(t&&("object"==(n=t,n&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;var n;return Xn(e)}(e,Qn()?Reflect.construct(t,n||[],Jn(e).constructor):t.apply(e,n))}function Zn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _n(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function Yn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jn(e){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Jn(e)}function Un(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}}),t&&$n(e,t)}function $n(e,t){return $n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},$n(e,t)}function Kn(e){return function(e){if(Array.isArray(e))return Wn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Wn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wn(e,t)}(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.")}()}function Qn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qn=function(){return!!e})()}var qn=[],er=function(){function e(t,n){Zn(this,e),Yn(this,"contentRule",void 0),Yn(this,"validateData",void 0),this.contentRule=t,this.validateData=n}return _n(e,[{key:"assert",value:function(e,t){var n=new Fn(e,t);if(!n.object())return n.errors;n.noAdditionalProperties(["nodeType","data","content"]);var r=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t),i=r.nodeTypes,o=r.min,a=void 0===o?0:o;if(0===i.length&&a>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(a," with no nodeTypes"));if(n.minLength("content",a),0===i.length?n.empty("content"):n.each("content",function(e,t){var n=new Fn(e,t);return n.object()?(n.enum("nodeType",i),n.errors):n.errors}),n.object("data")){var s,l,c,u=null!==(c=null===(l=this.validateData)||void 0===l?void 0:l.call(this,e.data,t.of("data")))&&void 0!==c?c:[];(s=n).catch.apply(s,Kn(u))}return n.errors}}]),e}(),tr=function(e){function t(e,n){var r;return Zn(this,t),r=zn(this,t,[n,function(e,t){return Xn(r).assertLink(e,t)}]),Yn(r,"linkType",void 0),Yn(r,"type",void 0),Yn(r,"assertLink",void 0),r.linkType=e,r.assertLink=function(e,t){var n=new Fn(e,t);if(n.object("target")){var i,o=new Fn(e.target.sys,t.of("target").of("sys"));o.object()&&(o.enum("type",[r.type]),o.enum("linkType",[r.linkType]),"Link"===r.type?(o.string("id"),o.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===r.type&&(o.string("urn"),o.noAdditionalProperties(["type","linkType","urn"]))),(i=n).catch.apply(i,Kn(o.errors))}return n.noAdditionalProperties(["target"]),n.errors},r.type=r.linkType.startsWith("Contentful:")?"ResourceLink":"Link",r}return Un(t,e),t}(er),nr=function(e){function t(){var e;return Zn(this,t),e=zn(this,t,[["text"],function(t,n){return Xn(e).assertLink(t,n)}]),Yn(e,"assertLink",function(e,t){var n=new Fn(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}),e}return Un(t,e),t}(er),rr=function(e,t){return new er(e,t)},ir=function(e,t){return new tr(e,t)};function or(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ar(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sr(e){return function(e){if(Array.isArray(e))return or(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return or(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return or(e,t)}(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 lr,cr=rr(sr(Object.values(Cn)).concat(["text"]).sort()),ur=rr([In.LIST_ITEM]),dr=ir("Entry",qn),pr=rr(function(){return{nodeTypes:[In.PARAGRAPH],min:1}},function(e,t){var n=new Fn(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});ar(lr={},In.DOCUMENT,rr(Sn)),ar(lr,In.PARAGRAPH,cr),ar(lr,In.HEADING_1,cr),ar(lr,In.HEADING_2,cr),ar(lr,In.HEADING_3,cr),ar(lr,In.HEADING_4,cr),ar(lr,In.HEADING_5,cr),ar(lr,In.HEADING_6,cr),ar(lr,In.QUOTE,rr(Bn[In.QUOTE])),ar(lr,In.EMBEDDED_ENTRY,dr),ar(lr,In.EMBEDDED_ASSET,ir("Asset",qn)),ar(lr,In.EMBEDDED_RESOURCE,ir("Contentful:Entry",qn)),ar(lr,In.HR,rr(qn)),ar(lr,In.OL_LIST,ur),ar(lr,In.UL_LIST,ur),ar(lr,In.LIST_ITEM,rr(sr(kn).sort())),ar(lr,In.TABLE,rr(function(){return{nodeTypes:[In.TABLE_ROW],min:1}})),ar(lr,In.TABLE_ROW,rr(function(){return{nodeTypes:[In.TABLE_CELL,In.TABLE_HEADER_CELL],min:1}})),ar(lr,In.TABLE_CELL,pr),ar(lr,In.TABLE_HEADER_CELL,pr),ar(lr,Cn.HYPERLINK,new nr),ar(lr,Cn.EMBEDDED_ENTRY,dr),ar(lr,Cn.EMBEDDED_RESOURCE,ir("Contentful:Entry",qn)),ar(lr,Cn.ENTRY_HYPERLINK,ir("Entry",["text"])),ar(lr,Cn.ASSET_HYPERLINK,ir("Asset",["text"])),ar(lr,Cn.RESOURCE_HYPERLINK,ir("Contentful:Entry",["text"]));const hr={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},mr=o(({children:t,className:n="",variant:r="unstyled",style:i,...o},a)=>{const s=Ze("unstyled"===r?"":"mb-1 leading-6","list-item",`list-item--${r}`,n);return e("li",{ref:a,className:s,style:i,...o,children:t})});mr.displayName="ListItem";const fr=o(({type:t="ul",items:n,className:r="",renderItem:i,children:o,variant:a="unstyled",style:s,...l},c)=>{const u=(()=>{if("unstyled"===a)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=Ze(u,`list--${t}`,`list--${a}`,r),p=o||(n&&0!==n.length?n.map((t,n)=>i?i(t,n):e(mr,{className:t.className,variant:a,children:t.content},t.id||n)):null),h={className:d,style:s,...l,children:p};return e("ol"===t?"ol":"ul",{...h,ref:c,role:"list"})});fr.displayName="List";const gr=({name:t,fill:n=0,opticalSize:r="48dp",weight:i="200",emphasis:o=145,size:a=24,color:s="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${i}, 'GRAD' ${o}, 'opsz' ${r.substring(0,2)}`,fontSize:`${a}px`,fontFamily:"'Material Symbols Rounded'",color:s||"currentColor",...l};return e("span",{style:p,className:Ze("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,"aria-hidden":"true",children:t})};gr.displayName="MaterialIcon";const br=o(({children:e,as:t,className:n="",style:r,...o},a)=>{const s=t||"p";return i.createElement(s,{ref:a,className:n,style:r,...o},e)});br.displayName="Text";const vr=n=>{const{items:r,listIconName:o="check",listItemClassName:a,listContainerClassName:s,iconSize:l=20,iconPosition:c="center",iconColor:u="green",iconClassName:d}=n,p="disc"!==o;if(!(null==r?void 0:r.length))return null;const h=t=>{if("string"==typeof t&&t.includes("|")&&(t.match(/\|/g)||[]).length%2==0){const n=t.split("|"),r=(t.match(/\|/g)||[]).length;return n.map((t,n)=>{if(!t)return null;return r>1&&n%2==1?e(br,{as:"span",style:{fontWeight:900},children:t},n):e("span",{children:t},n)})}return t};return e(fr,{className:Ze("mt-2 space-y-1",s),variant:p?"unstyled":"default",children:r.map((n,r)=>{const s=function(e){return null!==e&&"object"==typeof e&&!i.isValidElement(e)&&"title"in e}(n),m=s&&!!n.iconUrl,f=s?n.title:n;return t(mr,{variant:p?"unstyled":"default",className:Ze(`${p?"flex":""} ${"top"===c?"items-start":"items-center"} gap-2 text-text-secondary`,a),children:[p&&m?e("div",{className:"flex shrink-0 leading-none",children:e("img",{src:n.iconUrl,alt:n.iconAlt||"",width:l,height:l,className:Ze("block object-contain","top"===c?"mt-1":"",d)})}):p?e("div",{className:"flex leading-none",children:e(gr,{name:o,size:l,color:hr[u],weight:"600",className:Ze("block","top"===c?"mt-1":"",d)})}):null,e(br,{as:"div",children:h(f)})]},r)})})};var yr;vr.displayName="Checklist";const xr="function"==typeof A?A:null!==(yr=A.default)&&void 0!==yr?yr:A,wr=o(({children:t,href:n,className:r="",onClick:i,variant:o="unstyled",style:a,external:s=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===o)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[o]||e.default,t].filter(Boolean).join(" ")})(),p=e=>{l?e.preventDefault():null==i||i(e)},h=Ze(d,`link--${o}`,l&&"link--disabled",r),m={...c,ref:u,className:h,style:a,href:l?void 0:n,onClick:p,...s&&!l&&{target:"_blank",rel:"noopener"},...l&&{"aria-disabled":!0,tabIndex:-1}};return l||s||"string"==typeof n&&n.startsWith("http")?e("a",{...m,children:t}):e(xr,{href:n||"#",ref:u,className:h,style:a,onClick:p,...c,children:t})});function Ir(e,t){a(()=>{if(!t)return;const n=()=>{const n=document.fullscreenElement||document.webkitFullscreenElement;t(n===e.current)};return document.addEventListener("fullscreenchange",n),document.addEventListener("webkitfullscreenchange",n),()=>{document.removeEventListener("fullscreenchange",n),document.removeEventListener("webkitfullscreenchange",n)}},[t,e])}wr.displayName="Link";const Cr=n=>{const{videoAssetUrl:r,videoAssetType:i,image:o,title:a,description:l,containerClassName:c,autoplay:u=!1,onPlay:d,onPause:p,onTimeUpdate:h,onEnded:m,onFullscreenToggle:f}=n,g=s(null);return Ir(g,f),r?e("div",{className:Ze("relative h-0 w-full overflow-hidden pb-[56.25%]",c),children:t("video",{ref:g,className:"absolute left-0 top-0 h-full w-full object-cover",controls:!0,playsInline:!0,preload:"metadata",autoPlay:u,poster:o||void 0,"aria-label":a||"Embedded video",onPlay:()=>null==d?void 0:d(),onPause:()=>null==p?void 0:p(),onEnded:()=>null==m?void 0:m(),onTimeUpdate:e=>null==h?void 0:h(e.currentTarget.currentTime,e.currentTarget.duration),children:[e("source",{src:r,type:i||"video/mp4"}),l||"Your browser does not support embedded videos."]})}):null},Ar=({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(gr,{name:"play_arrow",size:72,fill:1,className:"max-w-[72px] transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),Nr="undefined"!=typeof global&&"[object global]"==={}.toString.call(global),Er="undefined"!=typeof Bun,Tr="undefined"!=typeof Deno,Sr="function"==typeof WebSocketPair&&void 0!==caches?.default,kr=Nr||Er||Tr||Sr;function Pr(e,t){return 0===e.indexOf(t.toLowerCase())?e:`${t.toLowerCase()}${e.substr(0,1).toUpperCase()}${e.substr(1)}`}function Br(e){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e)}function Lr(e){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(e)}function Rr(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=e.id,n=e.url,r=t||n;if(!r)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(i=r,!isNaN(parseFloat(i))&&isFinite(i)&&Math.floor(i)==i)return`https://vimeo.com/${r}`;var i;if(Br(r))return r.replace("http:","https:");if(t)throw new TypeError(`“${t}” is not a valid video id.`);throw new TypeError(`“${r}” is not a vimeo.com url.`)}const Or=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"addEventListener",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"removeEventListener";const o="string"==typeof t?[t]:t;return o.forEach(t=>{e[r](t,n)}),{cancel:()=>o.forEach(t=>e[i](t,n))}};function Gr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;if(!e||!t||"function"!=typeof t.querySelectorAll)return null;const n=t.querySelectorAll("iframe");for(let t=0;t<n.length;t++)if(n[t]&&n[t].contentWindow===e)return n[t];return null}const Mr=void 0!==Array.prototype.indexOf,Dr="undefined"!=typeof window&&void 0!==window.postMessage;if(!(kr||Mr&&Dr))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var Vr="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};
6
+ /*!
7
+ * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill
8
+ * https://github.com/polygonplanet/weakmap-polyfill
9
+ * Copyright (c) 2015-2021 polygonplanet <polygon.planet.aqua@gmail.com>
10
+ * @license MIT
11
+ */
12
+ !function(e){if(!e.WeakMap){var t=Object.prototype.hasOwnProperty,n=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(e){}}(),r=function(e,t,r){n?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:r}):e[t]=r};e.WeakMap=function(){function e(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id",function(e){return e+"_"+o()+"."+o()}("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function n(e,n){if(!i(e)||!t.call(e,"_id"))throw new TypeError(n+" method called on incompatible receiver "+typeof e)}function o(){return Math.random().toString().substring(2)}return r(e.prototype,"delete",function(e){if(n(this,"delete"),!i(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)&&(delete e[this._id],!0)}),r(e.prototype,"get",function(e){if(n(this,"get"),i(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}}),r(e.prototype,"has",function(e){if(n(this,"has"),!i(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)}),r(e.prototype,"set",function(e,t){if(n(this,"set"),!i(e))throw new TypeError("Invalid value used as weak map key");var o=e[this._id];return o&&o[0]===e?(o[1]=t,this):(r(e,this._id,[e,t]),this)}),r(e,"_polyfill",!0),e}()}function i(e){return Object(e)===e}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:Vr);var jr,Hr,Fr=(jr=function(e){
13
+ /*! Native Promise Only
14
+ v0.8.1 (c) Kyle Simpson
15
+ MIT License: http://getify.mit-license.org
16
+ */
17
+ var t,n,r;r=function(){var e,t,n,r=Object.prototype.toString,i="undefined"!=typeof setImmediate?function(e){return setImmediate(e)}:setTimeout;try{Object.defineProperty({},"x",{}),e=function(e,t,n,r){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:!1!==r})}}catch(t){e=function(e,t,n){return e[t]=n,e}}function o(e,r){n.add(e,r),t||(t=i(n.drain))}function a(e){var t,n=typeof e;return null==e||"object"!=n&&"function"!=n||(t=e.then),"function"==typeof t&&t}function s(){for(var e=0;e<this.chain.length;e++)l(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function l(e,t,n){var r,i;try{!1===t?n.reject(e.msg):(r=!0===t?e.msg:t.call(void 0,e.msg))===n.promise?n.reject(TypeError("Promise-chain cycle")):(i=a(r))?i.call(r,n.resolve,n.reject):n.resolve(r)}catch(e){n.reject(e)}}function c(e){var t,n=this;if(!n.triggered){n.triggered=!0,n.def&&(n=n.def);try{(t=a(e))?o(function(){var r=new p(n);try{t.call(e,function(){c.apply(r,arguments)},function(){u.apply(r,arguments)})}catch(e){u.call(r,e)}}):(n.msg=e,n.state=1,n.chain.length>0&&o(s,n))}catch(e){u.call(new p(n),e)}}}function u(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&o(s,t))}function d(e,t,n,r){for(var i=0;i<t.length;i++)(function(i){e.resolve(t[i]).then(function(e){n(i,e)},r)})(i)}function p(e){this.def=e,this.triggered=!1}function h(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function m(e){if("function"!=typeof e)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var t=new h(this);this.then=function(e,n){var r={success:"function"!=typeof e||e,failure:"function"==typeof n&&n};return r.promise=new this.constructor(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");r.resolve=e,r.reject=t}),t.chain.push(r),0!==t.state&&o(s,t),r.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){c.call(t,e)},function(e){u.call(t,e)})}catch(e){u.call(t,e)}}n=function(){var e,n,r;function i(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(t,o){r=new i(t,o),n?n.next=r:e=r,n=r,r=void 0},drain:function(){var r=e;for(e=n=t=void 0;r;)r.fn.call(r.self),r=r.next}}}();var f=e({},"constructor",m,!1);return m.prototype=f,e(f,"__NPO__",0,!1),e(m,"resolve",function(e){return e&&"object"==typeof e&&1===e.__NPO__?e:new this(function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");t(e)})}),e(m,"reject",function(e){return new this(function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");n(e)})}),e(m,"all",function(e){var t=this;return"[object Array]"!=r.call(e)?t.reject(TypeError("Not an array")):0===e.length?t.resolve([]):new t(function(n,r){if("function"!=typeof n||"function"!=typeof r)throw TypeError("Not a function");var i=e.length,o=Array(i),a=0;d(t,e,function(e,t){o[e]=t,++a===i&&n(o)},r)})}),e(m,"race",function(e){var t=this;return"[object Array]"!=r.call(e)?t.reject(TypeError("Not an array")):new t(function(n,r){if("function"!=typeof n||"function"!=typeof r)throw TypeError("Not a function");d(t,e,function(e,t){n(t)},r)})}),m},(n=Vr)[t="Promise"]=n[t]||r(),e.exports&&(e.exports=n[t])},jr(Hr={exports:{}},Hr.exports),Hr.exports);const Wr=new WeakMap;function Xr(e,t,n){const r=Wr.get(e.element)||{};t in r||(r[t]=[]),r[t].push(n),Wr.set(e.element,r)}function zr(e,t){return(Wr.get(e.element)||{})[t]||[]}function Zr(e,t,n){const r=Wr.get(e.element)||{};if(!r[t])return!0;if(!n)return r[t]=[],Wr.set(e.element,r),!0;const i=r[t].indexOf(n);return-1!==i&&r[t].splice(i,1),Wr.set(e.element,r),r[t]&&0===r[t].length}function _r(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){return console.warn(e),{}}return e}function Yr(e,t,n){if(!e.element.contentWindow||!e.element.contentWindow.postMessage)return;let r={method:t};void 0!==n&&(r.value=n);const i=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));i>=8&&i<10&&(r=JSON.stringify(r)),e.element.contentWindow.postMessage(r,e.origin)}function Jr(e,t){let n,r=[];if((t=_r(t)).event){if("error"===t.event){zr(e,t.data.method).forEach(n=>{const r=new Error(t.data.message);r.name=t.data.name,n.reject(r),Zr(e,t.data.method,n)})}r=zr(e,`event:${t.event}`),n=t.data}else if(t.method){const i=function(e,t){const n=zr(e,t);if(n.length<1)return!1;const r=n.shift();return Zr(e,t,r),r}(e,t.method);i&&(r.push(i),n=t.value)}r.forEach(t=>{try{if("function"==typeof t)return void t.call(e,n);t.resolve(n)}catch(e){}})}const Ur=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","disable_context_menu","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","preload","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","thumbnail_id","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function $r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Ur.reduce((t,n)=>{const r=e.getAttribute(`data-vimeo-${n}`);return(r||""===r)&&(t[n]=""===r?1:r),t},t)}function Kr(e,t){let{html:n}=e;if(!t)throw new TypeError("An element must be provided");if(null!==t.getAttribute("data-vimeo-initialized"))return t.querySelector("iframe");const r=document.createElement("div");return r.innerHTML=n,t.appendChild(r.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function Qr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new Promise((r,i)=>{if(!Br(e))throw new TypeError(`“${e}” is not a vimeo.com url.`);const o=function(e){const t=(e||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),n=(t&&t[1]||"").replace("player.",""),r=[".videoji.hk",".vimeo.work",".videoji.cn"];for(const e of r)if(n.endsWith(e))return n;return"vimeo.com"}(e);let a=`https://${o}/api/oembed.json?url=${encodeURIComponent(e)}`;for(const e in t)t.hasOwnProperty(e)&&(a+=`&${e}=${encodeURIComponent(t[e])}`);const s="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;s.open("GET",a,!0),s.onload=function(){if(404!==s.status)if(403!==s.status)try{const t=JSON.parse(s.responseText);if(403===t.domain_status_code)return Kr(t,n),void i(new Error(`“${e}” is not embeddable.`));r(t)}catch(e){i(e)}else i(new Error(`“${e}” is not embeddable.`));else i(new Error(`“${e}” was not found.`))},s.onerror=function(){const e=s.status?` (${s.status})`:"";i(new Error(`There was an error fetching the embed code from Vimeo${e}.`))},s.send()})}const qr={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1};class ei extends EventTarget{logger;constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;super(),this.logger=r,this.init(t,e,{...qr,...n})}disconnect(){this.dispatchEvent(new Event("disconnect"))}async init(e,t,n){if(await this.waitForTOReadyState(e,"open"),"viewer"===n.role){await this.updatePlayer(e,t,n);const r=Or(e,"change",()=>this.updatePlayer(e,t,n)),i=this.maintainPlaybackPosition(e,t,n);this.addEventListener("disconnect",()=>{i.cancel(),r.cancel()})}else{await this.updateTimingObject(e,t);const n=Or(t,["seeked","play","pause","ratechange"],()=>this.updateTimingObject(e,t),"on","off");this.addEventListener("disconnect",()=>n.cancel())}}async updateTimingObject(e,t){const[n,r,i]=await Promise.all([t.getCurrentTime(),t.getPaused(),t.getPlaybackRate()]);e.update({position:n,velocity:r?0:i})}async updatePlayer(e,t,n){const{position:r,velocity:i}=e.query();"number"==typeof r&&t.setCurrentTime(r),"number"==typeof i&&(0===i?!1===await t.getPaused()&&t.pause():i>0&&(!0===await t.getPaused()&&(await t.play().catch(async e=>{"NotAllowedError"===e.name&&n.autoPlayMuted&&(await t.setMuted(!0),await t.play().catch(e=>console.error("Couldn't play the video from TimingSrcConnector. Error:",e)))}),this.updatePlayer(e,t,n)),await t.getPlaybackRate()!==i&&t.setPlaybackRate(i)))}maintainPlaybackPosition(e,t,n){const{allowedDrift:r,maxAllowedDrift:i,minCheckInterval:o,maxRateAdjustment:a,maxTimeToCatchUp:s}=n,l=1e3*Math.min(s,Math.max(o,i)),c=async()=>{if(0===e.query().velocity||!0===await t.getPaused())return;const n=e.query().position-await t.getCurrentTime(),o=Math.abs(n);if(this.log(`Drift: ${n}`),o>i)await this.adjustSpeed(t,0),t.setCurrentTime(e.query().position),this.log("Resync by currentTime");else if(o>r){const e=o/s,r=e<a?(a-e)/2:a;await this.adjustSpeed(t,r*Math.sign(n)),this.log("Resync by playbackRate")}},u=setInterval(()=>c(),l);return{cancel:()=>clearInterval(u)}}log(e){this.logger?.(`TimingSrcConnector: ${e}`)}speedAdjustment=0;adjustSpeed=async(e,t)=>{if(this.speedAdjustment===t)return;const n=await e.getPlaybackRate()-this.speedAdjustment+t;this.log(`New playbackRate: ${n}`),await e.setPlaybackRate(n),this.speedAdjustment=t};waitForTOReadyState(e,t){return new Promise(n=>{const r=()=>{e.readyState===t?n():e.addEventListener("readystatechange",r,{once:!0})};r()})}}const ti=new WeakMap,ni=new WeakMap;let ri={};class ii{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),"undefined"!=typeof document&&"string"==typeof e&&(e=document.getElementById(e)),!function(e){return Boolean(e&&1===e.nodeType&&"nodeName"in e&&e.ownerDocument&&e.ownerDocument.defaultView)}(e))throw new TypeError("You must pass either a valid element or a valid id.");if("IFRAME"!==e.nodeName){const t=e.querySelector("iframe");t&&(e=t)}if("IFRAME"===e.nodeName&&!Br(e.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(ti.has(e))return ti.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";const n=new Fr((n,r)=>{if(this._onMessage=e=>{if(!Br(e.origin)||this.element.contentWindow!==e.source)return;"*"===this.origin&&(this.origin=e.origin);const t=_r(e.data);if(t&&"error"===t.event&&t.data&&"ready"===t.data.method){const e=new Error(t.data.message);return e.name=t.data.name,void r(e)}const i=t&&"ready"===t.event,o=t&&"ping"===t.method;if(i||o)return this.element.setAttribute("data-ready","true"),void n();Jr(this,t)},this._window.addEventListener("message",this._onMessage),"IFRAME"!==this.element.nodeName){const n=$r(e,t);Qr(Rr(n),n,e).then(t=>{const n=Kr(t,e);return this.element=n,this._originalElement=e,function(e,t){const n=Wr.get(e);Wr.set(t,n),Wr.delete(e)}(e,n),ti.set(this.element,this),t}).catch(r)}});if(ni.set(this,n),ti.set(this.element,this),"IFRAME"===this.element.nodeName&&Yr(this,"ping"),ri.isEnabled){const e=()=>ri.exit();this.fullscreenchangeHandler=()=>{ri.isFullscreen?Xr(this,"event:exitFullscreen",e):Zr(this,"event:exitFullscreen",e),this.ready().then(()=>{Yr(this,"fullscreenchange",ri.isFullscreen)})},ri.on("fullscreenchange",this.fullscreenchangeHandler)}return this}static isVimeoUrl(e){return Br(e)}callMethod(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(null==e)throw new TypeError("You must pass a method name.");return new Fr((t,r)=>this.ready().then(()=>{Xr(this,e,{resolve:t,reject:r}),0===n.length?n={}:1===n.length&&(n=n[0]),Yr(this,e,n)}).catch(r))}get(e){return new Fr((t,n)=>(e=Pr(e,"get"),this.ready().then(()=>{Xr(this,e,{resolve:t,reject:n}),Yr(this,e)}).catch(n)))}set(e,t){return new Fr((n,r)=>{if(e=Pr(e,"set"),null==t)throw new TypeError("There must be a value to set.");return this.ready().then(()=>{Xr(this,e,{resolve:n,reject:r}),Yr(this,e,t)}).catch(r)})}on(e,t){if(!e)throw new TypeError("You must pass an event name.");if(!t)throw new TypeError("You must pass a callback function.");if("function"!=typeof t)throw new TypeError("The callback must be a function.");0===zr(this,`event:${e}`).length&&this.callMethod("addEventListener",e).catch(()=>{}),Xr(this,`event:${e}`,t)}off(e,t){if(!e)throw new TypeError("You must pass an event name.");if(t&&"function"!=typeof t)throw new TypeError("The callback must be a function.");Zr(this,`event:${e}`,t)&&this.callMethod("removeEventListener",e).catch(e=>{})}loadVideo(e){return this.callMethod("loadVideo",e)}ready(){const e=ni.get(this)||new Fr((e,t)=>{t(new Error("Unknown player. Probably unloaded."))});return Fr.resolve(e)}addCuePoint(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.callMethod("addCuePoint",{time:e,data:t})}removeCuePoint(e){return this.callMethod("removeCuePoint",e)}enableTextTrack(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:e,kind:t,showing:n})}disableTextTrack(){return this.callMethod("disableTextTrack")}selectAudioTrack(e,t){if(!e)throw new TypeError("You must pass a language.");return this.callMethod("selectAudioTrack",{language:e,kind:t})}selectDefaultAudioTrack(){return this.callMethod("selectDefaultAudioTrack")}pause(){return this.callMethod("pause")}play(){return this.callMethod("play")}requestFullscreen(){return ri.isEnabled?ri.request(this.element):this.callMethod("requestFullscreen")}exitFullscreen(){return ri.isEnabled?ri.exit():this.callMethod("exitFullscreen")}getFullscreen(){return ri.isEnabled?Fr.resolve(ri.isFullscreen):this.get("fullscreen")}requestPictureInPicture(){return this.callMethod("requestPictureInPicture")}exitPictureInPicture(){return this.callMethod("exitPictureInPicture")}getPictureInPicture(){return this.get("pictureInPicture")}remotePlaybackPrompt(){return this.callMethod("remotePlaybackPrompt")}unload(){return this.callMethod("unload")}destroy(){return new Fr(e=>{if(ni.delete(this),ti.delete(this.element),this._originalElement&&(ti.delete(this._originalElement),this._originalElement.removeAttribute("data-vimeo-initialized")),this.element&&"IFRAME"===this.element.nodeName&&this.element.parentNode&&(this.element.parentNode.parentNode&&this._originalElement&&this._originalElement!==this.element.parentNode?this.element.parentNode.parentNode.removeChild(this.element.parentNode):this.element.parentNode.removeChild(this.element)),this.element&&"DIV"===this.element.nodeName&&this.element.parentNode){this.element.removeAttribute("data-vimeo-initialized");const e=this.element.querySelector("iframe");e&&e.parentNode&&(e.parentNode.parentNode&&this._originalElement&&this._originalElement!==e.parentNode?e.parentNode.parentNode.removeChild(e.parentNode):e.parentNode.removeChild(e))}this._window.removeEventListener("message",this._onMessage),ri.isEnabled&&ri.off("fullscreenchange",this.fullscreenchangeHandler),e()})}getAutopause(){return this.get("autopause")}setAutopause(e){return this.set("autopause",e)}getBuffered(){return this.get("buffered")}getCameraProps(){return this.get("cameraProps")}setCameraProps(e){return this.set("cameraProps",e)}getChapters(){return this.get("chapters")}getCurrentChapter(){return this.get("currentChapter")}getColor(){return this.get("color")}getColors(){return Fr.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}setColor(e){return this.set("color",e)}setColors(e){if(!Array.isArray(e))return new Fr((e,t)=>t(new TypeError("Argument must be an array.")));const t=new Fr(e=>e(null)),n=[e[0]?this.set("colorOne",e[0]):t,e[1]?this.set("colorTwo",e[1]):t,e[2]?this.set("colorThree",e[2]):t,e[3]?this.set("colorFour",e[3]):t];return Fr.all(n)}getCuePoints(){return this.get("cuePoints")}getCurrentTime(){return this.get("currentTime")}setCurrentTime(e){return this.set("currentTime",e)}getDuration(){return this.get("duration")}getEnded(){return this.get("ended")}getLoop(){return this.get("loop")}setLoop(e){return this.set("loop",e)}setMuted(e){return this.set("muted",e)}getMuted(){return this.get("muted")}getPaused(){return this.get("paused")}getPlaybackRate(){return this.get("playbackRate")}setPlaybackRate(e){return this.set("playbackRate",e)}getPlayed(){return this.get("played")}getQualities(){return this.get("qualities")}getQuality(){return this.get("quality")}setQuality(e){return this.set("quality",e)}getRemotePlaybackAvailability(){return this.get("remotePlaybackAvailability")}getRemotePlaybackState(){return this.get("remotePlaybackState")}getSeekable(){return this.get("seekable")}getSeeking(){return this.get("seeking")}getTextTracks(){return this.get("textTracks")}getAudioTracks(){return this.get("audioTracks")}getEnabledAudioTrack(){return this.get("enabledAudioTrack")}getDefaultAudioTrack(){return this.get("defaultAudioTrack")}getVideoEmbedCode(){return this.get("videoEmbedCode")}getVideoId(){return this.get("videoId")}getVideoTitle(){return this.get("videoTitle")}getVideoWidth(){return this.get("videoWidth")}getVideoHeight(){return this.get("videoHeight")}getVideoUrl(){return this.get("videoUrl")}getVolume(){return this.get("volume")}setVolume(e){return this.set("volume",e)}async setTimingSrc(e,t){if(!e)throw new TypeError("A Timing Object must be provided.");await this.ready();const n=new ei(this,e,t);return Yr(this,"notifyTimingObjectConnect"),n.addEventListener("disconnect",()=>Yr(this,"notifyTimingObjectDisconnect")),n}}kr||(ri=function(){const e=function(){let e;const t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let n=0;const r=t.length,i={};for(;n<r;n++)if(e=t[n],e&&e[1]in document){for(n=0;n<e.length;n++)i[t[0][n]]=e[n];return i}return!1}(),t={fullscreenchange:e.fullscreenchange,fullscreenerror:e.fullscreenerror},n={request:t=>new Promise((r,i)=>{const o=function(){n.off("fullscreenchange",o),r()};n.on("fullscreenchange",o);const a=(t=t||document.documentElement)[e.requestFullscreen]();a instanceof Promise&&a.then(o).catch(i)}),exit:()=>new Promise((t,r)=>{if(!n.isFullscreen)return void t();const i=function(){n.off("fullscreenchange",i),t()};n.on("fullscreenchange",i);const o=document[e.exitFullscreen]();o instanceof Promise&&o.then(i).catch(r)}),on(e,n){const r=t[e];r&&document.addEventListener(r,n)},off(e,n){const r=t[e];r&&document.removeEventListener(r,n)}};return Object.defineProperties(n,{isFullscreen:{get:()=>Boolean(document[e.fullscreenElement])},element:{enumerable:!0,get:()=>document[e.fullscreenElement]},isEnabled:{enumerable:!0,get:()=>Boolean(document[e.fullscreenEnabled])}}),n}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;const t=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),n=e=>{"console"in window&&console.error&&console.error(`There was an error creating an embed: ${e}`)};t.forEach(e=>{try{if(null!==e.getAttribute("data-vimeo-defer"))return;const t=$r(e);Qr(Rr(t),t,e).then(t=>Kr(t,e)).catch(n)}catch(e){n(e)}})}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(window.VimeoPlayerResizeEmbeds_)return;window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",t=>{if(!Br(t.origin))return;if(!t.data||"spacechange"!==t.data.event)return;const n=t.source?Gr(t.source,e):null;n&&(n.parentElement.style.paddingBottom=`${t.data.data[0].bottom}px`)})}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(window.VimeoSeoMetadataAppended)return;window.VimeoSeoMetadataAppended=!0,window.addEventListener("message",t=>{if(!Br(t.origin))return;const n=_r(t.data);if(!n||"ready"!==n.event)return;const r=t.source?Gr(t.source,e):null;r&&Lr(r.src)&&new ii(r).callMethod("appendVideoMetadata",window.location.href)})}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(window.VimeoCheckedUrlTimeParam)return;window.VimeoCheckedUrlTimeParam=!0;const t=e=>{"console"in window&&console.error&&console.error(`There was an error getting video Id: ${e}`)};window.addEventListener("message",n=>{if(!Br(n.origin))return;const r=_r(n.data);if(!r||"ready"!==r.event)return;const i=n.source?Gr(n.source,e):null;if(i&&Lr(i.src)){const e=new ii(i);e.getVideoId().then(t=>{const n=new RegExp(`[?&]vimeo_t_${t}=([^&#]*)`).exec(window.location.href);if(n&&n[1]){const t=decodeURI(n[1]);e.setCurrentTime(t)}}).catch(t)}})}(),function(){if(window.VimeoDRMEmbedsUpdated)return;window.VimeoDRMEmbedsUpdated=!0,window.addEventListener("message",e=>{if(!Br(e.origin))return;const t=_r(e.data);if(!t||"drminitfailed"!==t.event)return;const n=e.source?Gr(e.source):null;if(!n)return;const r=n.getAttribute("allow")||"";if(!r.includes("encrypted-media")){n.setAttribute("allow",`${r}; encrypted-media`);const e=new URL(n.getAttribute("src"));return e.searchParams.set("forcereload","drm"),void n.setAttribute("src",e.toString())}})}());const oi=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("/"),i=r[r.length-1];return(null==n?void 0:n[1])?n[1]===i?n[1]:`${n[1]}/${i}`:""},ai=t=>{const{link:n,containerClassName:r,autoplay:i=!1,debug:o=!1,onPlay:c,onPause:u,onTimeUpdate:d,onEnded:p,onFullscreenToggle:h}=t,m=s(null),{href:f,embedId:g}=l(()=>{if(!n)return{href:"",embedId:""};const e=n.toString();return{href:e,embedId:oi(e)}},[n]);if(o&&console.log("[VimeoEmbed] href:",f,"id:",g),a(()=>{if(!g||!m.current)return;const e=new ii(m.current),t=()=>null==c?void 0:c(),n=()=>null==u?void 0:u(),r=()=>null==p?void 0:p(),i=e=>null==d?void 0:d(e.seconds,e.duration),o=e=>null==h?void 0:h(e.fullscreen);return e.on("play",t),e.on("pause",n),e.on("ended",r),e.on("timeupdate",i),e.on("fullscreenchange",o),()=>{e.off("play",t),e.off("pause",n),e.off("ended",r),e.off("timeupdate",i),e.off("fullscreenchange",o),e.destroy().catch(()=>{})}},[g]),!g)return null;const b=new URLSearchParams({autoplay:i?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}),v=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],i=`https://player.vimeo.com/video/${e}`;return r&&/^[a-f0-9]+$/i.test(r)&&t.searchParams.set("h",r),`${i}?${t.searchParams.toString()}`}return e}catch(t){return e}}(`https://player.vimeo.com/video/${g}?${b.toString()}`);return e("div",{className:Ze("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e("iframe",{ref:m,className:"absolute left-0 top-0 h-full w-full",src:v,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};let si=null;const li=e=>{if(!e)return"";const t=e.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return t&&11===t[7].length?t[7]:""},ci=t=>{const{link:n,containerClassName:r,autoplay:i=!1,onPlay:o,onPause:c,onTimeUpdate:u,onEnded:d,onFullscreenToggle:p}=t,h=l(()=>li(n),[n]),m=s(null),f=s(null),g=s();return Ir(f,p),a(()=>{if(!h||!m.current)return;let e,t=!1;const n=document.createElement("div");return n.style.width="100%",n.style.height="100%",m.current.appendChild(n),function(){var e;return"undefined"==typeof window?Promise.reject(new Error("YouTube IFrame API requires a browser")):(null===(e=window.YT)||void 0===e?void 0:e.Player)?Promise.resolve(window.YT):si||(si=new Promise((e,t)=>{const n=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{null==n||n(),e(window.YT)};let r=document.querySelector('script[src*="youtube.com/iframe_api"]');r||(r=document.createElement("script"),r.src="https://www.youtube.com/iframe_api",r.onerror=()=>{si=null,t(new Error("Failed to load YouTube IFrame API"))},document.head.appendChild(r))}),si)}().then(r=>{t||(e=new r.Player(n,{videoId:h,playerVars:{enablejsapi:1,autoplay:i?1:0,mute:i?1:0},events:{onReady:()=>{var t;const n=null===(t=e.getIframe)||void 0===t?void 0:t.call(e);n&&(n.className="absolute left-0 top-0 h-full w-full",f.current=n)},onStateChange:t=>{const n=r.PlayerState;t.data===n.PLAYING?(null==o||o(),clearInterval(g.current),g.current=setInterval(()=>{var t,n,r,i;const o=null!==(n=null===(t=null==e?void 0:e.getDuration)||void 0===t?void 0:t.call(e))&&void 0!==n?n:0,a=null!==(i=null===(r=null==e?void 0:e.getCurrentTime)||void 0===r?void 0:r.call(e))&&void 0!==i?i:0;null==u||u(a,o)},1e3)):t.data===n.PAUSED?(null==c||c(),clearInterval(g.current)):t.data===n.ENDED&&(null==d||d(),clearInterval(g.current))}}}))}).catch(()=>{}),()=>{var r;t=!0,clearInterval(g.current),null===(r=null==e?void 0:e.destroy)||void 0===r||r.call(e),n.remove()}},[h]),e("div",{className:Ze("relative h-full w-full overflow-hidden pb-[56.25%]",r),children:e("div",{ref:m,className:"absolute left-0 top-0 h-full w-full",title:"Embedded youtube"})})},ui=(e=>{let t=e;for(let e=0;e<5;e++){if("function"==typeof t)return t;if(!t||"object"!=typeof t||!("default"in t))return t;t=t.default}return t})(N),di=({src:e,width:t,quality:n})=>{const r=e.startsWith("//")?`https:${e}`:e;let i;try{i=new URL(r)}catch(t){return e}return i.searchParams.set("w",String(t)),i.searchParams.set("q",String(n||90)),i.searchParams.set("fm","webp"),i.toString()},pi=o(({className:t,...n},r)=>{const i="string"==typeof n.src?n.src:"",o=i.toLowerCase().split("?")[0]||"",a=i.includes("images.ctfassets.net"),s=a&&o.endsWith(".svg"),l=a&&!s?{loader:di,unoptimized:!1}:{unoptimized:s};return e(ui,{ref:r,className:Ze(t),...n,...l})});pi.displayName="NextImage";const hi=[25,50,75];const mi=({videoLink:r,imageWidth:i=660,imageHeight:o=660,useOriginalImageAspectRatio:a=!1,isAboveTheFold:l=!1,onVideoEvent:u})=>{var d;const[p,h]=c(""),[m,f]=c(!1),g=function(e){const t=s(new Set),n=s(!1),r=s(0),i=s(0),o=(t,n,o)=>{e&&e(n,{videoId:t.videoId,videoTitle:t.videoTitle,provider:t.provider,position:r.current,duration:i.current,percentComplete:i.current>0?Math.min(100,Math.round(r.current/i.current*100)):0,...o})};return{handlePlay:e=>o(e,"played"),handlePause:e=>o(e,"paused"),handleFullscreenToggle:(e,t)=>o(e,"fullscreen_toggled",{isFullscreen:t}),handleClosed:e=>o(e,"closed"),handleTimeUpdate:(e,a,s)=>{const l=Number.isFinite(a)?a:0,c=Number.isFinite(s)?s:0;if(r.current=l,i.current=c,c<=0)return;const u=Math.min(100,l/c*100);hi.forEach(n=>{u>=n&&!t.current.has(n)&&(t.current.add(n),o(e,"progress"))}),u>=99.5&&!n.current&&(n.current=!0,o(e,"completed"))},handleEnded:e=>{n.current||(n.current=!0,i.current>0&&(r.current=i.current),o(e,"completed"))},reset:()=>{t.current=new Set,n.current=!1,r.current=0,i.current=0}}}(u),b=null==r?void 0:r.videoSourceType,v="contentful"===b?null==r?void 0:r.videoAssetUrl:null==r?void 0:r.link,y="string"==typeof v?v:"",x=null==r?void 0:r.image;if(!y)return x?e("div",{className:Ze(a?"overflow-hidden rounded-image":"relative aspect-[16/9] w-full overflow-hidden rounded-image lg:h-[486px] xl:aspect-square xl:max-h-[486px] xl:w-[486px]"),children:e(pi,{src:x,alt:"section-image",priority:l,fill:!a,width:a?i||660:void 0,height:a?o||660:void 0,sizes:"(max-width: 430px) 100vw, (max-width: 834px) 100vw, 50vw",className:Ze(a?"w-full":"object-cover")})}):null;const w=null!==(d=null==r?void 0:r.videoPopup)&&void 0!==d&&d,I=Boolean(p&&p===y),C="contentful"===b?"contentful":y.includes("vimeo")?"vimeo":"youtube",A="contentful"===C?(e=>{var t;if("string"!=typeof e||!e)return"";const[n]=e.split(/[?#]/);return null!==(t=n.split("/").filter(Boolean).pop())&&void 0!==t?t:e})(null==r?void 0:r.videoAssetUrl):"vimeo"===C?(N=y)?oi(N.toString()):"":li(y);var N;const E={videoId:A,videoTitle:null==r?void 0:r.title,provider:C},T=e=>{e.stopPropagation(),g.handleClosed(E),h("")},S=(()=>{const t={onPlay:()=>g.handlePlay(E),onPause:()=>g.handlePause(E),onTimeUpdate:(e,t)=>g.handleTimeUpdate(E,e,t),onEnded:()=>g.handleEnded(E),onFullscreenToggle:e=>g.handleFullscreenToggle(E,e)};return"contentful"===b?e(Cr,{videoAssetUrl:null==r?void 0:r.videoAssetUrl,videoAssetType:null==r?void 0:r.videoAssetType,image:x,title:null==r?void 0:r.title,description:null==r?void 0:r.description,autoplay:I,...t}):y.includes("vimeo")?e(ai,{link:y,autoplay:I,...t}):e(ci,{link:y,autoplay:I,...t})})();return t(n,{children:[t("div",{className:Ze("video-section relative w-full cursor-pointer rounded-image transition-all duration-300 lg:w-[486px]",!I&&"hover:ring-2 hover:ring-border-focus"),onClick:()=>{I||(g.reset(),h(y))},onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),children:[t("div",{className:Ze(I&&!w&&"hidden",I&&!w?"opacity-0":"opacity-100","relative w-full transition-opacity duration-300"),children:[x&&e(pi,{src:x,alt:"Video preview",width:i||660,height:o||660,sizes:"(max-width: 430px) 100vw, (max-width: 834px) 100vw, 50vw",className:"h-auto w-full rounded-image"}),e("div",{className:"absolute inset-0 flex items-center justify-center",children:e(Ar,{isHovered:m})})]}),!w&&I&&e("div",{className:Ze("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",I?"opacity-100":"opacity-0",!a&&"xl:aspect-square xl:max-h-[486px] xl:w-[486px]"),children:S})]}),w&&I&&e("div",{className:"fixed inset-0 z-[100] flex items-center justify-center p-4 transition-all duration-300",onClick:T,children:t("div",{"data-testid":"video-popup-content",className:"relative aspect-video w-[min(100%,calc(80vh*16/9))] max-w-[1280px] overflow-hidden rounded-2xl bg-black shadow-2xl md:rounded-3xl",onClick:e=>e.stopPropagation(),children:[e("button",{type:"button",onClick:T,"aria-label":"Close video","data-testid":"video-popup-close",className:"absolute right-3 top-3 z-10 flex h-9 w-9 items-center justify-center rounded-full bg-black/60 text-white transition-colors hover:bg-black/80 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white sm:right-4 sm:top-4 sm:h-10 sm:w-10",children:e(gr,{name:"close",className:"text-white"})}),S]})})]})},fi=e=>Array.isArray(null==e?void 0:e.content)&&e.content.every(e=>"text"===(null==e?void 0:e.nodeType)&&(!e.value||""===e.value.trim())),gi=(e,t)=>{var n,r,i,o,a,s,l,c;const u=null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.target;if((null==u?void 0:u.fields)||(null===(r=null==u?void 0:u.sys)||void 0===r?void 0:r.contentType))return u;const d=null===(i=null==u?void 0:u.sys)||void 0===i?void 0:i.id;if(!d)return null;return null!==(c=[...null!==(a=null===(o=null==t?void 0:t.entries)||void 0===o?void 0:o.block)&&void 0!==a?a:[],...null!==(l=null===(s=null==t?void 0:t.entries)||void 0===s?void 0:s.inline)&&void 0!==l?l:[]].find(e=>{var t;return(null===(t=null==e?void 0:e.sys)||void 0===t?void 0:t.id)===d}))&&void 0!==c?c:null},bi=e=>{var t,n,r,i,o;return null!==(o=null!==(i=null===(r=null===(n=null===(t=null==e?void 0:e.sys)||void 0===t?void 0:t.contentType)||void 0===n?void 0:n.sys)||void 0===r?void 0:r.id)&&void 0!==i?i:null==e?void 0:e.__typename)&&void 0!==o?o:""},vi=e=>{var t,n;return null!==(n=null!==(t=null==e?void 0:e.fields)&&void 0!==t?t:e)&&void 0!==n?n:{}},yi=e=>{var t,n,r,i,o,a,s,l,c,u,d,p,h,m,f,g,b,v,y;return{image:null!==(a=null!==(i=null===(r=null===(n=null===(t=null==e?void 0:e.image)||void 0===t?void 0:t.fields)||void 0===n?void 0:n.file)||void 0===r?void 0:r.url)&&void 0!==i?i:null===(o=null==e?void 0:e.image)||void 0===o?void 0:o.url)&&void 0!==a?a:null==e?void 0:e.image,link:null==e?void 0:e.link,videoPopup:Boolean(null==e?void 0:e.videoPopup),videoSourceType:null==e?void 0:e.videoSourceType,videoAssetUrl:null!==(p=null!==(u=null===(c=null===(l=null===(s=null==e?void 0:e.videoAssetUrl)||void 0===s?void 0:s.fields)||void 0===l?void 0:l.file)||void 0===c?void 0:c.url)&&void 0!==u?u:null===(d=null==e?void 0:e.videoAssetUrl)||void 0===d?void 0:d.url)&&void 0!==p?p:null==e?void 0:e.videoAssetUrl,videoAssetType:null!==(v=null!==(g=null===(f=null===(m=null===(h=null==e?void 0:e.videoAssetUrl)||void 0===h?void 0:h.fields)||void 0===m?void 0:m.file)||void 0===f?void 0:f.contentType)&&void 0!==g?g:null===(b=null==e?void 0:e.videoAssetUrl)||void 0===b?void 0:b.contentType)&&void 0!==v?v:null==e?void 0:e.videoAssetType,title:null!==(y=null==e?void 0:e.title)&&void 0!==y?y:null==e?void 0:e.entryTitle,description:null==e?void 0:e.description}},xi=e=>{if(!e)return"";try{const t=/^https?:\/\//i.test(e)?e:`https://${e}`;return new URL(t).hostname.toLowerCase()}catch(e){return""}},wi=e=>{const t=e.toLowerCase().replace(/\.$/,""),n=t.split(".").slice(-2).join("."),r=(t.slice(0,t.length-n.length).replace(/\.$/,"").split(".")[0]||"").replace(/-(dev|development|staging|stage|qa|test|uat|prod|production)$/,"");return`${n}|${""===r||"www"===r||"kinetic"===r?"main":r}`},Ii=e=>{if(!/^https?:\/\//i.test(e))return!1;try{const t=new URL(e).hostname.toLowerCase(),n=xi(process.env.NEXT_PUBLIC_SITE_URL)||xi(process.env.NEXT_PUBLIC_MAIN_SITE_URL)||("undefined"!=typeof window?window.location.hostname.toLowerCase():"");return!n||wi(t)!==wi(n)}catch(e){return!1}},Ci=n=>({renderMark:{[An.BOLD]:t=>e("strong",{className:"font-black",children:t}),[An.ITALIC]:t=>e("em",{children:t}),[An.UNDERLINE]:t=>e("u",{children:t}),[An.CODE]:t=>e("code",{children:t})},renderNode:{[In.PARAGRAPH]:(t,n)=>e("div",{className:"body3 mb-4 whitespace-pre-line",children:fi(t)?"\n":n}),[In.HEADING_1]:(t,n)=>e(br,{as:"h1",className:"heading2 md:heading1",children:n}),[In.HEADING_2]:(t,n)=>e(br,{as:"h2",className:"heading3 md:heading2",children:n}),[In.HEADING_3]:(t,n)=>e(br,{as:"h3",className:"heading4 md:heading3",children:n}),[In.HEADING_4]:(t,n)=>e(br,{as:"h4",className:"heading5 md:heading4",children:n}),[In.HEADING_5]:(t,n)=>e(br,{as:"h5",className:"heading6 md:heading5",children:n}),[In.HEADING_6]:(t,n)=>e(br,{as:"h6",className:"heading6",children:n}),[In.QUOTE]:(t,n)=>e("blockquote",{children:n}),[In.UL_LIST]:(t,n)=>e("ul",{className:"list-disc pl-6",children:n}),[In.OL_LIST]:(t,n)=>e("ol",{className:"list-decimal pl-6",children:n}),[In.LIST_ITEM]:(t,n)=>e("li",{children:n}),[Cn.HYPERLINK]:(t,n)=>{var r;const i=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.uri,o=Ii(i);return e("a",{href:i,target:o?"_blank":void 0,rel:o?"noopener":void 0,children:n})},[In.EMBEDDED_ASSET]:t=>{var n,r;const i=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target,o=null==i?void 0:i.fields,a=(null==i?void 0:i.url)||(null===(r=null==o?void 0:o.file)||void 0===r?void 0:r.url),s=(null==o?void 0:o.title)||(null==o?void 0:o.description)||"Embedded asset";if(!a)return null;const l=a.startsWith("//")?`https:${a}`:a;return e("img",{src:l,alt:s,style:{maxWidth:"100%"}})},[In.EMBEDDED_ENTRY]:r=>{const i=gi(r,n);if(!i)return null;const o=bi(i),a=vi(i);switch(o){case"callout":return t("aside",{style:{border:"1px solid #ddd",padding:12,borderRadius:8},children:[e("strong",{children:a.title}),e("div",{children:a.body})]});case"componentVideoLink":case"ComponentVideoLink":return e(mi,{videoLink:yi(a)});default:return null}},[Cn.EMBEDDED_ENTRY]:r=>{var i;const o=gi(r,n);if(!o)return null;const a=bi(o),s=vi(o);switch(a){case"componentCheckList":return t("span",{style:{display:"inline-flex",alignItems:"center",gap:"4px",padding:"2px 6px",backgroundColor:"#f0fdf4",border:"1px solid #bbf7d0",borderRadius:"4px",fontSize:"0.9em"},children:["✅ ",s.title]});case"componentVideoLink":case"ComponentVideoLink":return e(mi,{videoLink:yi(s)});default:return e("span",{children:null!==(i=null==s?void 0:s.title)&&void 0!==i?i:""})}}}});function Ai(t,n,r="body1",i="body1 font-bold",o,a){if(!t||!Array.isArray(t.content))return null;const s=Ci(a),l={...s,...o,renderNode:{...s.renderNode,...null==o?void 0:o.renderNode,[In.PARAGRAPH]:(t,n)=>e("div",{className:[r,"whitespace-pre-line"].filter(Boolean).join(" "),children:fi(t)?"\n":n}),[Cn.HYPERLINK]:(t,r)=>{var o;const a=null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.uri,s=Ii(a),l=null!=n?n:s;return e(wr,{href:a,target:l?"_blank":void 0,rel:l?"noopener":void 0,variant:"default",className:i,children:r})}}};return wn.documentToReactComponents(t,l)}function Ni(t,n,r){return l(()=>{if(!t||!Array.isArray(t.content))return null;const i=Ci(null==r?void 0:r.links),o={...i,renderMark:{...i.renderMark,...(null==r?void 0:r.boldClassName)?{[An.BOLD]:t=>e("strong",{className:r.boldClassName,children:t})}:{},...null==n?void 0:n.renderMark},renderNode:{...i.renderNode,...null==n?void 0:n.renderNode}};return wn.documentToReactComponents(t,o)},[t,n,null==r?void 0:r.boldClassName,null==r?void 0:r.links])}function Ei(r,i){if(!r||!Array.isArray(r.content))return null;const o=Ci(i),a={...o,renderMark:{...o.renderMark,[An.BOLD]:t=>e("strong",{className:"label4 md:label2",children:t})},renderNode:{...o.renderNode,[In.PARAGRAPH]:(t,r)=>e(n,{children:r}),[In.TABLE]:(t,n)=>{var r,i;return e("div",{className:"comparison-table-wrapper w-full overflow-x-auto border-none md:overflow-hidden",children:e("table",{className:"responsive-table w-full table-fixed border-collapse "+((null===(i=null===(r=t.content[0])||void 0===r?void 0:r.content)||void 0===i?void 0:i.length)>2?"min-w-[100.1%]":"min-w-full"),children:e("tbody",{children:n})})})},[In.TABLE_ROW]:(t,n)=>e("tr",{className:"border-b border-gray-200 last:border-0",children:n}),[In.TABLE_HEADER_CELL]:(t,n)=>{var r;const i=(null===(r=t.parent)||void 0===r?void 0:r.content.length)>2;return e("th",{className:`label4 break-words py-4 text-center md:label2 ${i?"sticky left-0 z-20 w-[50vw] min-w-[50vw] first:z-30 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:n})},[In.TABLE_CELL]:(r,i)=>{var o,a,s,l;const c=(null===(o=r.parent)||void 0===o?void 0:o.content.length)>2,u=null===(l=null===(s=null===(a=r.content[0])||void 0===a?void 0:a.content[0])||void 0===s?void 0:s.value)||void 0===l?void 0:l.toLowerCase().trim();return e("td",{className:`rt-table-cell footnote break-words bg-white py-2 text-center align-top leading-5 text-text md:body2 first:text-left md:py-4 md:leading-7 ${c?"w-[50vw] min-w-[50vw] first:sticky first:left-0 first:z-10 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:t(n,{children:[" ","yes"===u?e(gr,{name:"check_circle",color:"#24A76A",fill:1}):"no"===u?e(gr,{name:"cancel",color:"#CECECE",fill:1}):i]})})},[Cn.EMBEDDED_ENTRY]:t=>{var n,r,o,a;const s=t.data.target.sys.id,l=null===(r=null===(n=null==i?void 0:i.entries)||void 0===n?void 0:n.inline)||void 0===r?void 0:r.find(e=>e.sys.id===s);if(!l)return null;if("ComponentCheckList"===l.__typename){const t=(null===(a=null===(o=l.list)||void 0===o?void 0:o.items)||void 0===a?void 0:a.map(e=>{var t;return Ai(Et(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"")}))||[];return e(vr,{items:t,listIconName:"disc",listItemClassName:"items-baseline footnote md:body2 leading-5 md:leading-7 text-text"})}return e("span",{children:l.title||""})}}};return wn.documentToReactComponents(r,a)}const Ti={renderMark:{[An.BOLD]:e=>u("span",{className:"label1"},e)}};function Si(e,t,n,r){return l(()=>{var i,o;const a=null!==(o=null===(i=null==e?void 0:e.list)||void 0===i?void 0:i.items)&&void 0!==o?o:[];return t?a.map(e=>{var t,i;return null!==(i=Ai(Et(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,r,void 0,n))&&void 0!==i?i:""}):a.map(e=>{var t,i,o,a,s;return{title:null!==(i=Ai(Et(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,r,void 0,n))&&void 0!==i?i:"",iconUrl:null!==(a=null===(o=null==e?void 0:e.icon)||void 0===o?void 0:o.url)&&void 0!==a?a:void 0,anchorId:null!==(s=null==e?void 0:e.anchorId)&&void 0!==s?s:void 0}})},[e,t,n,r])}const ki=o(({children:t,className:n="",style:r,disabled:i,...o},a)=>e("button",{ref:a,className:Ze(n),style:r,disabled:i,...o,children:t}));ki.displayName="Button";const Pi=t=>{const{open:n,children:r}=t,i=s(null),[o,l]=c(0);return a(()=>{const e=i.current;if(!e)return;const t=()=>{l(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:o,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:i,children:r})})};Pi.displayName="Collapse";const Bi=n=>{const{title:r,defaultOpen:i,children:o,containerClassName:s,titleClassName:l,className:u,buttonClassName:d,iconClassName:p,openOnlyOnDesktop:h,borderRadiusNone:m=!1}=n,[f,g]=c(Boolean(!1));return a(()=>{if(h){const e=window.innerWidth>=1024;g(e)}else g(Boolean(i))},[h,i]),t("div",{className:Ze(m?"rounded-none border":"rounded-surface-xs border",s),children:[t(ki,{type:"button",className:Ze(m?"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:Ze("label5 flex-1",l),children:r}),e(gr,{className:Ze("flex-shrink-0",p),name:f?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e(Pi,{open:f,children:e("div",{className:Ze("px-4 py-4",u),children:o})})]})};Bi.displayName="Accordion";const Li=t=>{const{className:n,...r}=t;return e("div",{className:Ze("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...r})};Li.displayName="Divider";const Ri=({items:n,title:r,anchorId:i,background:o="white",enableHeading:s=!1,maxWidth:l=!0,initialExpandedItems:u=[],hashAutoExpand:d=!1,descriptionMaxWidth:p="max-w-[980px]",itemContainerClassName:h})=>{const[m,f]=c(u);a(()=>{if(d&&"undefined"!=typeof window){const e=window.location.hash;if(e){const t=e.substring(e.indexOf("#")+1);f(e=>e.includes(t)?e:[...e,t])}}},[d]);return e("section",{id:i,className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]",cream500:"bg-[#FFFEEF]"}[o]} flex flex-col px-5 pb-20 pt-4 md:px-10`,children:t("div",{className:""+(l?"max-w-120 xl:mx-auto":""),children:[e(br,{as:s?"h1":"h2",className:"heading2 mb-10 pt-12 text-left text-text md:heading1 lg:text-center",children:r}),e("div",{className:`pt-6 md:pt-10 ${null!=h?h:""}`,children:null==n?void 0:n.map((r,i)=>{const o=r.anchorId||`item-${i}`,a=r.anchorId?m.includes(r.anchorId):void 0;return t("div",{id:r.anchorId,className:"snap-start scroll-mt-48 lg:scroll-mt-60",children:[e(Bi,{title:r.title,defaultOpen:a,containerClassName:"border-none",buttonClassName:"p-0 label1",titleClassName:"label3 md:label1 text-text",className:"p-0 pt-6 text-text",iconClassName:"text-icon",borderRadiusNone:!0,openOnlyOnDesktop:!1,...r.anchorId&&{onClick:()=>{return e=r.anchorId,void f(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);var e}},children:e("div",{className:p,children:e(br,{as:"div",children:r.description})})}),i<n.length-1&&e(Li,{className:"my-6 md:my-10"},`divider-${i}`)]},o)})})]})})},Oi="pop",Gi=d({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Mi=d({}),Di=d(null),Vi="undefined"!=typeof document,ji=Vi?p:a,Hi=d({strict:!1});function Fi(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Wi(e){return"string"==typeof e||Array.isArray(e)}function Xi(e){return"object"==typeof e&&"function"==typeof e.start}const zi=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Zi=["initial",...zi];function _i(e){return Xi(e.animate)||Zi.some(t=>Wi(e[t]))}function Yi(e){return Boolean(_i(e)||e.variants)}function Ji(e){const{initial:t,animate:n}=function(e,t){if(_i(e)){const{initial:t,animate:n}=e;return{initial:!1===t||Wi(t)?t:void 0,animate:Wi(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,h(Mi));return l(()=>({initial:t,animate:n}),[Ui(t),Ui(n)])}function Ui(e){return Array.isArray(e)?e.join(" "):e}const $i={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"]},Ki={};for(const e in $i)Ki[e]={isEnabled:t=>$i[e].some(e=>!!t[e])};const Qi=d({}),qi=d({}),eo=Symbol.for("motionComponentSymbol");function to({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:l}){e&&function(e){for(const t in e)Ki[t]={...Ki[t],...e[t]}}(e);const c=o(function(o,c){let u;const d={...h(Gi),...o,layoutId:no(o)},{isStatic:p}=d,g=Ji(o),b=i(o,p);if(!p&&Vi){g.visualElement=function(e,t,n,r){const{visualElement:i}=h(Mi),o=h(Hi),l=h(Di),c=h(Gi).reducedMotion,u=s();r=r||o.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:i,props:n,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:c}));const d=u.current;return m(()=>{d&&d.update(n,l)}),ji(()=>{d&&d.render()}),a(()=>{d&&d.updateFeatures()}),(window.HandoffAppearAnimations?ji:a)(()=>{d&&d.animationState&&d.animationState.animateChanges()}),d}(l,b,d,t);const n=h(qi),r=h(Hi).strict;g.visualElement&&(u=g.visualElement.loadFeatures(d,r,e,n))}return r.createElement(Mi.Provider,{value:g},u&&g.visualElement?r.createElement(u,{visualElement:g.visualElement,...d}):null,n(l,o,function(e,t,n){return f(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):Fi(n)&&(n.current=r))},[t])}(b,g.visualElement,c),b,p,g.visualElement))});return c[eo]=l,c}function no({layoutId:e}){const t=h(Qi).id;return t&&void 0!==e?t+"-"+e:e}function ro(e){function t(t,n={}){return to(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 io=["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 oo(e){return"string"==typeof e&&!e.includes("-")&&!!(io.indexOf(e)>-1||/[A-Z]/.test(e))}const ao={};const so=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],lo=new Set(so);function co(e,{layout:t,layoutId:n}){return lo.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!ao[e]||"opacity"===e)}const uo=e=>Boolean(e&&e.getVelocity),po={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ho=so.length;const mo=e=>t=>"string"==typeof t&&t.startsWith(e),fo=mo("--"),go=mo("var(--"),bo=(e,t)=>t&&"number"==typeof e?t.transform(e):e,vo=(e,t,n)=>Math.min(Math.max(n,e),t),yo={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},xo={...yo,transform:e=>vo(0,1,e)},wo={...yo,default:1},Io=e=>Math.round(1e5*e)/1e5,Co=/(-)?([\d]*\.?[\d])+/g,Ao=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,No=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Eo(e){return"string"==typeof e}const To=e=>({test:t=>Eo(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),So=To("deg"),ko=To("%"),Po=To("px"),Bo=To("vh"),Lo=To("vw"),Ro={...ko,parse:e=>ko.parse(e)/100,transform:e=>ko.transform(100*e)},Oo={...yo,transform:Math.round},Go={borderWidth:Po,borderTopWidth:Po,borderRightWidth:Po,borderBottomWidth:Po,borderLeftWidth:Po,borderRadius:Po,radius:Po,borderTopLeftRadius:Po,borderTopRightRadius:Po,borderBottomRightRadius:Po,borderBottomLeftRadius:Po,width:Po,maxWidth:Po,height:Po,maxHeight:Po,size:Po,top:Po,right:Po,bottom:Po,left:Po,padding:Po,paddingTop:Po,paddingRight:Po,paddingBottom:Po,paddingLeft:Po,margin:Po,marginTop:Po,marginRight:Po,marginBottom:Po,marginLeft:Po,rotate:So,rotateX:So,rotateY:So,rotateZ:So,scale:wo,scaleX:wo,scaleY:wo,scaleZ:wo,skew:So,skewX:So,skewY:So,distance:Po,translateX:Po,translateY:Po,translateZ:Po,x:Po,y:Po,z:Po,perspective:Po,transformPerspective:Po,opacity:xo,originX:Ro,originY:Ro,originZ:Po,zIndex:Oo,fillOpacity:xo,strokeOpacity:xo,numOctaves:Oo};function Mo(e,t,n,r){const{style:i,vars:o,transform:a,transformOrigin:s}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(fo(e)){o[e]=n;continue}const r=Go[e],d=bo(n,r);if(lo.has(e)){if(l=!0,a[e]=d,!u)continue;n!==(r.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,s[e]=d):i[e]=d}if(t.transform||(l||r?i.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let t=0;t<ho;t++){const n=so[t];void 0!==e[n]&&(o+=`${po[n]||n}(${e[n]}) `)}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),i?o=i(e,r?"":o):n&&r&&(o="none"),o}(e.transform,n,u,r):i.transform&&(i.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=s;i.transformOrigin=`${e} ${t} ${n}`}}const Do=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Vo(e,t,n){for(const r in t)uo(t[r])||co(r,n)||(e[r]=t[r])}function jo(e,t,n){const r={};return Vo(r,e.style||{},e),Object.assign(r,function({transformTemplate:e},t,n){return l(()=>{const r={style:{},transform:{},transformOrigin:{},vars:{}};return Mo(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(r):r}function Ho(e,t,n){const r={},i=jo(e,t,n);return e.drag&&!1!==e.dragListener&&(r.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)&&(r.tabIndex=0),r.style=i,r}const Fo=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 Wo(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Fo.has(e)}let Xo=e=>!Wo(e);try{(zo=require("@emotion/is-prop-valid").default)&&(Xo=e=>e.startsWith("on")?!Wo(e):zo(e))}catch(Xd){}var zo;function Zo(e,t,n){return"string"==typeof e?e:Po.transform(t+n*e)}const _o={offset:"stroke-dashoffset",array:"stroke-dasharray"},Yo={offset:"strokeDashoffset",array:"strokeDasharray"};function Jo(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,p){if(Mo(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:f}=e;h.transform&&(f&&(m.transform=h.transform),delete h.transform),f&&(void 0!==i||void 0!==o||m.transform)&&(m.transformOrigin=function(e,t,n){return`${Zo(t,e.x,e.width)} ${Zo(n,e.y,e.height)}`}(f,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==t&&(h.x=t),void 0!==n&&(h.y=n),void 0!==r&&(h.scale=r),void 0!==a&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?_o:Yo;e[o.offset]=Po.transform(-r);const a=Po.transform(t),s=Po.transform(n);e[o.array]=`${a} ${s}`}(h,a,s,l,!1)}const Uo=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),$o=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Ko(e,t,n,r){const i=l(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Jo(n,t,{enableHardwareAcceleration:!1},$o(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};Vo(t,e.style,e),i.style={...t,...i.style}}return i}function Qo(e=!1){return(t,n,r,{latestValues:i},o)=>{const a=(oo(t)?Ko:Ho)(n,i,o,t),s=function(e,t,n){const r={};for(const i in e)"values"===i&&"object"==typeof e.values||(Xo(i)||!0===n&&Wo(i)||!t&&!Wo(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),c={...s,...a,ref:r},{children:d}=n,p=l(()=>uo(d)?d.get():d,[d]);return u(t,{...c,children:p})}}const qo=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function ea(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}const ta=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 na(e,t,n,r){ea(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(ta.has(n)?n:qo(n),t.attrs[n])}function ra(e,t){const{style:n}=e,r={};for(const i in n)(uo(n[i])||t.style&&uo(t.style[i])||co(i,e))&&(r[i]=n[i]);return r}function ia(e,t){const n=ra(e,t);for(const r in e)if(uo(e[r])||uo(t[r])){n[-1!==so.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n}function oa(e,t,n,r={},i={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),t}function aa(e){const t=s(null);return null===t.current&&(t.current=e()),t.current}const sa=e=>Array.isArray(e),la=e=>sa(e)?e[e.length-1]||0:e;function ca(e){const t=uo(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const ua=e=>(t,n)=>{const r=h(Mi),i=h(Di),o=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const a={latestValues:da(r,i,o,e),renderState:t()};return n&&(a.mount=e=>n(r,e,a)),a}(e,t,r,i);return n?o():aa(o)};function da(e,t,n,r){const i={},o=r(e,{});for(const e in o)i[e]=ca(o[e]);let{initial:a,animate:s}=e;const l=_i(e),c=Yi(e);t&&c&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let u=!!n&&!1===n.initial;u=u||!1===a;const d=u?s:a;if(d&&"boolean"!=typeof d&&!Xi(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=oa(e,t);if(!n)return;const{transitionEnd:r,transition:o,...a}=n;for(const e in a){let t=a[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(i[e]=t)}for(const e in r)i[e]=r[e]})}return i}const pa={useVisualState:ua({scrapeMotionValuesFromProps:ia,createRenderState:Uo,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}}Jo(n,r,{enableHardwareAcceleration:!1},$o(t.tagName),e.transformTemplate),na(t,n)}})},ha={useVisualState:ua({scrapeMotionValuesFromProps:ra,createRenderState:Do})};function ma(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const fa=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function ga(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function ba(e,t,n,r){return ma(e,t,(e=>t=>fa(t)&&e(t,ga(t)))(n),r)}const va=(e,t)=>n=>t(e(n)),ya=(...e)=>e.reduce(va);function xa(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const wa=xa("dragHorizontal"),Ia=xa("dragVertical");function Ca(e){let t=!1;if("y"===e)t=Ia();else if("x"===e)t=wa();else{const e=wa(),n=Ia();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Aa(){const e=Ca(!0);return!e||(e(),!1)}class Na{constructor(e){this.isMounted=!1,this.node=e}update(){}}const Ea={delta:0,timestamp:0,isProcessing:!1};let Ta=!0,Sa=!1;const ka=["read","update","preRender","render","postRender"],Pa=ka.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(e,o=!1,s=!1)=>{const l=s&&i,c=l?t:n;return o&&a.add(e),-1===c.indexOf(e)&&(c.push(e),l&&i&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:l=>{if(i)o=!0;else{if(i=!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),a.has(r)&&(s.schedule(r),e())}i=!1,o&&(o=!1,s.process(l))}}};return s}(()=>Sa=!0),e),{}),Ba=e=>Pa[e].process(Ea),La=e=>{Sa=!1,Ea.delta=Ta?1e3/60:Math.max(Math.min(e-Ea.timestamp,40),1),Ea.timestamp=e,Ea.isProcessing=!0,ka.forEach(Ba),Ea.isProcessing=!1,Sa&&(Ta=!1,requestAnimationFrame(La))},Ra=ka.reduce((e,t)=>{const n=Pa[t];return e[t]=(e,t=!1,r=!1)=>(Sa||(Sa=!0,Ta=!0,Ea.isProcessing||requestAnimationFrame(La)),n.schedule(e,t,r)),e},{});function Oa(e){ka.forEach(t=>Pa[t].cancel(e))}function Ga(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return ba(e.current,n,(n,i)=>{if("touch"===n.type||Aa())return;const o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[r]&&Ra.update(()=>o[r](n,i))},{passive:!e.getProps()[r]})}const Ma=(e,t)=>!!t&&(e===t||Ma(e,t.parentElement)),Da=e=>e;function Va(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,ga(n))}const ja=new WeakMap,Ha=new WeakMap,Fa=e=>{const t=ja.get(e.target);t&&t(e)},Wa=e=>{e.forEach(Fa)};function Xa(e,t,n){const r=function({root:e,...t}){const n=e||document;Ha.has(n)||Ha.set(n,{});const r=Ha.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Wa,{root:e,...t})),r[i]}(t);return ja.set(e,n),r.observe(e),()=>{ja.delete(e),r.unobserve(e)}}const za={some:0,all:1};const Za={inView:{Feature:class extends Na{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:i}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:za[r]};return Xa(this.node.current,o,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:r}=this.node.getProps(),o=t?n:r;o&&o(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 Na{constructor(){super(...arguments),this.removeStartListeners=Da,this.removeEndListeners=Da,this.removeAccessibleListeners=Da,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=ba(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();Ra.update(()=>{Ma(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),i=ba(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=ya(r,i),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=ma(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=ma(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&Va("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&Ra.update(()=>n(e,t))})}),Va("down",(e,t)=>{this.startPress(e,t)})}),t=ma(this.node.current,"blur",()=>{this.isPressing&&Va("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=ya(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&&Ra.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Aa()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&Ra.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=ba(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=ma(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=ya(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Na{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=ya(ma(this.node.current,"focus",()=>this.onFocus()),ma(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Na{mount(){this.unmount=ya(Ga(this.node,!0),Ga(this.node,!1))}unmount(){}}}};function _a(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 Ya(e,t,n){const r=e.getProps();return oa(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 Ja="data-"+qo("framerAppearId");let Ua=Da,$a=Da;"production"!==process.env.NODE_ENV&&(Ua=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},$a=(e,t)=>{if(!e)throw new Error(t)});const Ka=e=>1e3*e,Qa=e=>e/1e3,qa=!1,es=e=>Array.isArray(e)&&"number"==typeof e[0];function ts(e){return Boolean(!e||"string"==typeof e&&rs[e]||es(e)||Array.isArray(e)&&e.every(ts))}const ns=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,rs={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ns([0,.65,.55,1]),circOut:ns([.55,0,1,.45]),backIn:ns([.31,.01,.66,-.59]),backOut:ns([.33,1.53,.69,.99])};function is(e){if(e)return es(e)?ns(e):Array.isArray(e)?e.map(is):rs[e]}const os={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},as={},ss={};for(const e in os)ss[e]=()=>(void 0===as[e]&&(as[e]=os[e]()),as[e]);const ls=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function cs(e,t,n,r){if(e===t&&n===r)return Da;const i=t=>function(e,t,n,r,i){let o,a,s=0;do{a=t+(n-t)/2,o=ls(a,r,i)-e,o>0?n=a:t=a}while(Math.abs(o)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:ls(i(e),t,r)}const us=cs(.42,0,1,1),ds=cs(0,0,.58,1),ps=cs(.42,0,.58,1),hs=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ms=e=>t=>1-e(1-t),fs=e=>1-Math.sin(Math.acos(e)),gs=ms(fs),bs=hs(gs),vs=cs(.33,1.53,.69,.99),ys=ms(vs),xs=hs(ys),ws={linear:Da,easeIn:us,easeInOut:ps,easeOut:ds,circIn:fs,circInOut:bs,circOut:gs,backIn:ys,backInOut:xs,backOut:vs,anticipate:e=>(e*=2)<1?.5*ys(e):.5*(2-Math.pow(2,-10*(e-1)))},Is=e=>{if(Array.isArray(e)){$a(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return cs(t,n,r,i)}return"string"==typeof e?($a(void 0!==ws[e],`Invalid easing type '${e}'`),ws[e]):e},Cs=(e,t)=>n=>Boolean(Eo(n)&&No.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),As=(e,t,n)=>r=>{if(!Eo(r))return r;const[i,o,a,s]=r.match(Co);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},Ns={...yo,transform:e=>Math.round((e=>vo(0,255,e))(e))},Es={test:Cs("rgb","red"),parse:As("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Ns.transform(e)+", "+Ns.transform(t)+", "+Ns.transform(n)+", "+Io(xo.transform(r))+")"};const Ts={test:Cs("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:Es.transform},Ss={test:Cs("hsl","hue"),parse:As("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+ko.transform(Io(t))+", "+ko.transform(Io(n))+", "+Io(xo.transform(r))+")"},ks={test:e=>Es.test(e)||Ts.test(e)||Ss.test(e),parse:e=>Es.test(e)?Es.parse(e):Ss.test(e)?Ss.parse(e):Ts.parse(e),transform:e=>Eo(e)?e:e.hasOwnProperty("red")?Es.transform(e):Ss.transform(e)},Ps=(e,t,n)=>-n*e+n*t+e;function Bs(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 Ls=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},Rs=[Ts,Es,Ss];function Os(e){const t=(n=e,Rs.find(e=>e.test(n)));var n;$a(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===Ss&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=Bs(s,r,e+1/3),o=Bs(s,r,e),a=Bs(s,r,e-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}(r)),r}const Gs=(e,t)=>{const n=Os(e),r=Os(t),i={...n};return e=>(i.red=Ls(n.red,r.red,e),i.green=Ls(n.green,r.green,e),i.blue=Ls(n.blue,r.blue,e),i.alpha=Ps(n.alpha,r.alpha,e),Es.transform(i))};const Ms={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Da},Ds={regex:Ao,countKey:"Colors",token:"${c}",parse:ks.parse},Vs={regex:Co,countKey:"Numbers",token:"${n}",parse:yo.parse};function js(e,{regex:t,countKey:n,token:r,parse:i}){const o=e.tokenised.match(t);o&&(e["num"+n]=o.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...o.map(i)))}function Hs(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&js(n,Ms),js(n,Ds),js(n,Vs),n}function Fs(e){return Hs(e).values}function Ws(e){const{values:t,numColors:n,numVars:r,tokenised:i}=Hs(e),o=t.length;return e=>{let t=i;for(let i=0;i<o;i++)t=i<r?t.replace(Ms.token,e[i]):i<r+n?t.replace(Ds.token,ks.transform(e[i])):t.replace(Vs.token,Io(e[i]));return t}}const Xs=e=>"number"==typeof e?0:e;const zs={test:function(e){var t,n;return isNaN(e)&&Eo(e)&&((null===(t=e.match(Co))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Ao))||void 0===n?void 0:n.length)||0)>0},parse:Fs,createTransformer:Ws,getAnimatableNone:function(e){const t=Fs(e);return Ws(e)(t.map(Xs))}},Zs=(e,t)=>n=>`${n>0?t:e}`;function _s(e,t){return"number"==typeof e?n=>Ps(e,t,n):ks.test(e)?Gs(e,t):e.startsWith("var(")?Zs(e,t):Us(e,t)}const Ys=(e,t)=>{const n=[...e],r=n.length,i=e.map((e,n)=>_s(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}},Js=(e,t)=>{const n={...e,...t},r={};for(const i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=_s(e[i],t[i]));return e=>{for(const t in r)n[t]=r[t](e);return n}},Us=(e,t)=>{const n=zs.createTransformer(t),r=Hs(e),i=Hs(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?ya(Ys(r.values,i.values),n):(Ua(!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.`),Zs(e,t))},$s=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},Ks=(e,t)=>n=>Ps(e,t,n);function Qs(e,t,n){const r=[],i=n||("number"==typeof(o=e[0])?Ks:"string"==typeof o?ks.test(o)?Gs:Us:Array.isArray(o)?Ys:"object"==typeof o?Js:Ks);var o;const a=e.length-1;for(let n=0;n<a;n++){let o=i(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||Da:t;o=ya(e,o)}r.push(o)}return r}function qs(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if($a(o===t.length,"Both input and output ranges must be the same length"),1===o)return()=>t[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=Qs(t,r,i),s=a.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=$s(e[n],e[n+1],t);return a[n](r)};return n?t=>l(vo(e[0],e[o-1],t)):l}function el(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=$s(0,t,r);e.push(Ps(n,1,i))}}(t,e.length-1),t}function tl({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(Is):Is(r),o={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:el(t),e),s=qs(a,t,{ease:Array.isArray(i)?i:(l=t,c=i,l.map(()=>c||ps).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(o.value=s(t),o.done=t>=e,o)}}function nl(e,t){return t?e*(1e3/t):0}function rl(e,t,n){const r=Math.max(t-5,0);return nl(n-e(r),t-r)}const il=.001;function ol({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;Ua(e<=Ka(10),"Spring duration must be 10 seconds or less");let a=1-t;a=vo(.05,1,a),e=vo(.01,10,Qa(e)),a<1?(i=t=>{const r=t*a,i=r*e,o=r-n,s=sl(t,a),l=Math.exp(-i);return il-o/s*l},o=t=>{const r=t*a*e,o=r*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=sl(Math.pow(t,2),a);return(-i(t)+il>0?-1:1)*((o-s)*l)/c}):(i=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,o=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let n=1;n<al;n++)r-=e(r)/t(r);return r}(i,o,5/e);if(e=Ka(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}const al=12;function sl(e,t){return e*Math.sqrt(1-t*t)}const ll=["duration","bounce"],cl=["stiffness","damping","mass"];function ul(e,t){return t.some(t=>void 0!==e[t])}function dl({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],o=e[e.length-1],a={done:!1,value:i},{stiffness:s,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(!ul(e,cl)&&ul(e,ll)){const n=ol(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(r),h=u?-Qa(u):0,m=l/(2*Math.sqrt(s*c)),f=o-i,g=Qa(Math.sqrt(s/c)),b=Math.abs(f)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),m<1){const e=sl(g,m);v=t=>{const n=Math.exp(-m*g*t);return o-n*((h+m*g*f)/e*Math.sin(e*t)+f*Math.cos(e*t))}}else if(1===m)v=e=>o-Math.exp(-g*e)*(f+(h+g*f)*e);else{const e=g*Math.sqrt(m*m-1);v=t=>{const n=Math.exp(-m*g*t),r=Math.min(e*t,300);return o-n*((h+m*g*f)*Math.sinh(r)+e*f*Math.cosh(r))/e}}return{calculatedDuration:p&&d||null,next:e=>{const r=v(e);if(p)a.done=e>=d;else{let i=h;0!==e&&(i=m<1?rl(v,e,r):0);const s=Math.abs(i)<=n,l=Math.abs(o-r)<=t;a.done=s&&l}return a.value=a.done?o:r,a}}}function pl({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},h=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let m=n*t;const f=d+m,g=void 0===a?f:a(f);g!==f&&(m=g-d);const b=e=>-m*Math.exp(-e/r),v=e=>g+b(e),y=e=>{const t=b(e),n=v(e);p.done=Math.abs(t)<=c,p.value=p.done?g:n};let x,w;const I=e=>{var t;(t=p.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(x=e,w=dl({keyframes:[p.value,h(p.value)],velocity:rl(v,e,p.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return I(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==x||(t=!0,y(e),I(e)),void 0!==x&&e>x?w.next(e-x):(!t&&y(e),p)}}}const hl=e=>{const t=({timestamp:t})=>e(t);return{start:()=>Ra.update(t,!0),stop:()=>Oa(t),now:()=>Ea.isProcessing?Ea.timestamp:performance.now()}};function ml(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 fl={decay:pl,inertia:pl,tween:tl,keyframes:tl,spring:dl};function gl({autoplay:e=!0,delay:t=0,driver:n=hl,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let h,m,f=1,g=!1;const b=()=>{h&&h(),m=new Promise(e=>{h=e})};let v;b();const y=fl[i]||tl;let x;y!==tl&&"number"!=typeof r[0]&&(x=qs([0,100],r,{clamp:!1}),r=[0,100]);const w=y({...p,keyframes:r});let I;"mirror"===s&&(I=y({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let C="idle",A=null,N=null,E=null;null===w.calculatedDuration&&o&&(w.calculatedDuration=ml(w));const{calculatedDuration:T}=w;let S=1/0,k=1/0;null!==T&&(S=T+a,k=S*(o+1)-a);let P=0;const B=e=>{if(null===N)return;f>0&&(N=Math.min(N,e)),P=null!==A?A:(e-N)*f;const n=P-t,i=n<0;P=Math.max(n,0),"finished"===C&&null===A&&(P=k);let l=P,c=w;if(o){const e=P/S;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,o+1);const r=Boolean(t%2);r&&("reverse"===s?(n=1-n,a&&(n-=a/S)):"mirror"===s&&(c=I));let i=vo(0,1,n);P>k&&(i="reverse"===s&&r?1:0),l=i*S}const u=i?{done:!1,value:r[0]}:c.next(l);x&&(u.value=x(u.value));let{done:p}=u;i||null===T||(p=P>=k);const h=null===A&&("finished"===C||"running"===C&&p||f<0&&P<=0);return d&&d(u.value),h&&O(),u},L=()=>{v&&v.stop(),v=void 0},R=()=>{C="idle",L(),b(),N=E=null},O=()=>{C="finished",u&&u(),L(),b()},G=()=>{if(g)return;v||(v=n(B));const e=v.now();l&&l(),null!==A?N=e-A:N&&"finished"!==C||(N=e),E=N,A=null,C="running",v.start()};e&&G();const M={then:(e,t)=>m.then(e,t),get time(){return Qa(P)},set time(e){e=Ka(e),P=e,null===A&&v&&0!==f?N=v.now()-e/f:A=e},get duration(){const e=null===w.calculatedDuration?ml(w):w.calculatedDuration;return Qa(e)},get speed(){return f},set speed(e){e!==f&&v&&(f=e,M.time=Qa(P))},get state(){return C},play:G,pause:()=>{C="paused",A=P},stop:()=>{g=!0,"idle"!==C&&(C="idle",c&&c(),R())},cancel:()=>{null!==E&&B(E),R()},complete:()=>{C="finished"},sample:e=>(N=0,B(e))};return M}const bl=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function vl(e,t,{onUpdate:n,onComplete:r,...i}){if(!(ss.waapi()&&bl.has(t)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type))return!1;let o,a,s=!1;const l=()=>{a=new Promise(e=>{o=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=i;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!ts(t.ease))(t,i)){const e=gl({...i,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let r=0;for(;!t.done&&r<2e4;)t=e.sample(r),n.push(t.value),r+=10;p=void 0,c=n,u=r-10,d="linear"}const h=function(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:a="loop",ease:s,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=is(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,c,{...i,duration:u,ease:d,times:p}),m=()=>h.cancel(),f=()=>{Ra.update(m),o(),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)),r&&r(),f()},{then:(e,t)=>a.then(e,t),get time(){return Qa(h.currentTime||0)},set time(e){h.currentTime=Ka(e)},get speed(){return h.playbackRate},set speed(e){h.playbackRate=e},get duration(){return Qa(u)},play:()=>{s||(h.play(),Oa(m))},pause:()=>h.pause(),stop:()=>{if(s=!0,"idle"===h.playState)return;const{currentTime:t}=h;if(t){const n=gl({...i,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}f()},complete:()=>h.finish(),cancel:f}}const yl={type:"spring",stiffness:500,damping:25,restSpeed:10},xl={type:"keyframes",duration:.8},wl={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Il=(e,{keyframes:t})=>t.length>2?xl:lo.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:yl:wl,Cl=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!zs.test(t)&&"0"!==t||t.startsWith("url("))),Al=new Set(["brightness","contrast","saturate","opacity"]);function Nl(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(Co)||[];if(!r)return e;const i=n.replace(r,"");let o=Al.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const El=/([a-z-]*)\(.*?\)/g,Tl={...zs,getAnimatableNone:e=>{const t=e.match(El);return t?t.map(Nl).join(" "):e}},Sl={...Go,color:ks,backgroundColor:ks,outlineColor:ks,fill:ks,stroke:ks,borderColor:ks,borderTopColor:ks,borderRightColor:ks,borderBottomColor:ks,borderLeftColor:ks,filter:Tl,WebkitFilter:Tl},kl=e=>Sl[e];function Pl(e,t){let n=kl(e);return n!==Tl&&(n=zs),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Bl=e=>/^0[^.\s]+$/.test(e);function Ll(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||Bl(e):void 0}function Rl(e,t){return e[t]||e.default||e}const Ol=(e,t,n,r={})=>i=>{const o=Rl(r,e)||{},a=o.delay||r.delay||0;let{elapsed:s=0}=r;s-=Ka(a);const l=function(e,t,n,r){const i=Cl(t,n);let o;o=Array.isArray(n)?[...n]:[null,n];const a=void 0!==r.from?r.from:e.get();let s;const l=[];for(let e=0;e<o.length;e++)null===o[e]&&(o[e]=0===e?a:o[e-1]),Ll(o[e])&&l.push(e),"string"==typeof o[e]&&"none"!==o[e]&&"0"!==o[e]&&(s=o[e]);if(i&&l.length&&s)for(let e=0;e<l.length;e++)o[l[e]]=Pl(t,s);return o}(t,e,n,o),c=l[0],u=l[l.length-1],d=Cl(e,c),p=Cl(e,u);Ua(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",...o,delay:-s,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(o)||(h={...h,...Il(e,h)}),h.duration&&(h.duration=Ka(h.duration)),h.repeatDelay&&(h.repeatDelay=Ka(h.repeatDelay)),!d||!p||qa||!1===o.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Da,pause:Da,stop:Da,then:e=>(e(),Promise.resolve()),cancel:Da,complete:Da});return t?gl({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=vl(t,e,h);if(n)return n}return gl(h)};function Gl(e){return Boolean(uo(e)&&e.add)}const Ml=e=>/^\-?\d*\.?\d+$/.test(e);function Dl(e,t){-1===e.indexOf(t)&&e.push(t)}function Vl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class jl{constructor(){this.subscriptions=[]}add(e){return Dl(this.subscriptions,e),()=>Vl(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 i=0;i<r;i++){const r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Hl=new Set;function Fl(e,t,n){e||Hl.has(t)||(console.warn(t),Hl.add(t))}class Wl{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}=Ea;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,Ra.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=()=>Ra.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&&Fl(!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 jl);const n=this.events[e].add(t);return"change"===e?()=>{n(),Ra.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?nl(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 Xl(e,t){return new Wl(e,t)}const zl=e=>t=>t.test(e),Zl=[yo,Po,ko,So,Lo,Bo,{test:e=>"auto"===e,parse:e=>e}],_l=e=>Zl.find(zl(e)),Yl=[...Zl,ks,zs],Jl=e=>Yl.find(zl(e));function Ul(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Xl(n))}function $l(e,t){if(!t)return;return(t[e]||t.default||t).from}function Kl({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function Ql(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");r&&(o=r);const c=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const t in s){const r=e.getValue(t),i=s[t];if(!r||void 0===i||u&&Kl(u,t))continue;const a={delay:n,elapsed:0,...o};if(window.HandoffAppearAnimations&&!r.hasAnimated){const n=e.getProps()[Ja];n&&(a.elapsed=window.HandoffAppearAnimations(n,t,r,Ra))}r.start(Ol(t,r,i,e.shouldReduceMotion&&lo.has(t)?{type:!1}:a));const d=r.animation;Gl(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return a&&Promise.all(c).then(()=>{a&&function(e,t){const n=Ya(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const t in o)Ul(e,t,la(o[t]))}(e,a)}),c}function ql(e,t,n={}){const r=Ya(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(Ql(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(e,t,n=0,r=0,i=1,o){const a=[],s=(e.variantChildren.size-1)*r,l=1===i?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(ec).forEach((e,r)=>{e.notify("AnimationStart",t),a.push(ql(e,t,{...o,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,o+r,a,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){const[e,t]="beforeChildren"===s?[o,a]:[a,o];return e().then(()=>t())}return Promise.all([o(),a(n.delay)])}function ec(e,t){return e.sortNodePosition(t)}const tc=[...zi].reverse(),nc=zi.length;function rc(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 i=t.map(t=>ql(e,t,n));r=Promise.all(i)}else if("string"==typeof t)r=ql(e,t,n);else{const i="function"==typeof t?Ya(e,t,n.custom):t;r=Promise.all(Ql(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function ic(e){let t=rc(e);const n={animate:ac(!0),whileInView:ac(),whileHover:ac(),whileTap:ac(),whileDrag:ac(),whileFocus:ac(),exit:ac()};let r=!0;const i=(t,n)=>{const r=Ya(e,n);if(r){const{transition:e,transitionEnd:n,...i}=r;t={...t,...i,...n}}return t};function o(o,a){const s=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<nc;t++){const h=tc[t],m=n[h],f=void 0!==s[h]?s[h]:l[h],g=Wi(f),b=h===a?m.isActive:null;!1===b&&(p=t);let v=f===l[h]&&f!==s[h]&&g;if(v&&r&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&null===b||!f&&!m.prevProp||Xi(f)||"boolean"==typeof f)continue;const y=oc(m.prevProp,f);let x=y||h===a&&m.isActive&&!v&&g||t>p&&g;const w=Array.isArray(f)?f:[f];let I=w.reduce(i,{});!1===b&&(I={});const{prevResolvedValues:C={}}=m,A={...C,...I},N=e=>{x=!0,u.delete(e),m.needsAnimating[e]=!0};for(const e in A){const t=I[e],n=C[e];d.hasOwnProperty(e)||(t!==n?sa(t)&&sa(n)?!_a(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=f,m.prevResolvedValues=I,m.isActive&&(d={...d,...I}),r&&e.blockInitialAnimation&&(x=!1),x&&!v&&c.push(...w.map(e=>({animation:e,options:{type:h,...o}})))}if(u.size){const t={};u.forEach(n=>{const r=e.getBaseTarget(n);void 0!==r&&(t[n]=r)}),c.push({animation:t})}let h=Boolean(c.length);return r&&!1===s.initial&&!e.manuallyAnimateOnMount&&(h=!1),r=!1,h?t(c):Promise.resolve()}return{animateChanges:o,setActive:function(t,r,i){var a;if(n[t].isActive===r)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;const s=o(i,t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function oc(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!_a(t,e)}function ac(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let sc=0;const lc={animation:{Feature:class extends Na{constructor(e){super(e),e.animationState||(e.animationState=ic(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Xi(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 Na{constructor(){super(...arguments),this.id=sc++}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 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(){}}}},cc=(e,t)=>Math.abs(e-t);class uc{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=hc(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=cc(e.x,t.x),r=cc(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:i}=Ea;this.history.push({...r,timestamp:i});const{onStart:o,onMove:a}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=dc(t,this.transformPagePoint),Ra.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,i=hc("pointercancel"===e.type?this.lastMoveEventInfo:dc(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},!fa(e))return;this.handlers=t,this.transformPagePoint=n;const r=dc(ga(e),this.transformPagePoint),{point:i}=r,{timestamp:o}=Ea;this.history=[{...i,timestamp:o}];const{onSessionStart:a}=t;a&&a(e,hc(r,this.history)),this.removeListeners=ya(ba(window,"pointermove",this.handlePointerMove),ba(window,"pointerup",this.handlePointerUp),ba(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Oa(this.updatePoint)}}function dc(e,t){return t?{point:t(e.point)}:e}function pc(e,t){return{x:e.x-t.x,y:e.y-t.y}}function hc({point:e},t){return{point:e,delta:pc(e,fc(t)),offset:pc(e,mc(t)),velocity:gc(t,.1)}}function mc(e){return e[0]}function fc(e){return e[e.length-1]}function gc(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=fc(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Ka(t)));)n--;if(!r)return{x:0,y:0};const o=Qa(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function bc(e){return e.max-e.min}function vc(e,t=0,n=.01){return Math.abs(e-t)<=n}function yc(e,t,n,r=.5){e.origin=r,e.originPoint=Ps(t.min,t.max,e.origin),e.scale=bc(n)/bc(t),(vc(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Ps(n.min,n.max,e.origin)-e.originPoint,(vc(e.translate)||isNaN(e.translate))&&(e.translate=0)}function xc(e,t,n,r){yc(e.x,t.x,n.x,r?r.originX:void 0),yc(e.y,t.y,n.y,r?r.originY:void 0)}function wc(e,t,n){e.min=n.min+t.min,e.max=e.min+bc(t)}function Ic(e,t,n){e.min=t.min-n.min,e.max=e.min+bc(t)}function Cc(e,t,n){Ic(e.x,t.x,n.x),Ic(e.y,t.y,n.y)}function Ac(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 Nc(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 Ec=.35;function Tc(e,t,n){return{min:Sc(e,t),max:Sc(e,n)}}function Sc(e,t){return"number"==typeof e?e:e[t]||0}const kc=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Pc(e){return[e("x"),e("y")]}function Bc({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Lc(e){return void 0===e||1===e}function Rc({scale:e,scaleX:t,scaleY:n}){return!Lc(e)||!Lc(t)||!Lc(n)}function Oc(e){return Rc(e)||Gc(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Gc(e){return Mc(e.x)||Mc(e.y)}function Mc(e){return e&&"0%"!==e}function Dc(e,t,n){return n+t*(e-n)}function Vc(e,t,n,r,i){return void 0!==i&&(e=Dc(e,i,r)),Dc(e,n,r)+t}function jc(e,t=0,n=1,r,i){e.min=Vc(e.min,t,n,r,i),e.max=Vc(e.max,t,n,r,i)}function Hc(e,{x:t,y:n}){jc(e.x,t.translate,t.scale,t.originPoint),jc(e.y,n.translate,n.scale,n.originPoint)}function Fc(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Wc(e,t){e.min=e.min+t,e.max=e.max+t}function Xc(e,t,[n,r,i]){const o=void 0!==t[i]?t[i]:.5,a=Ps(e.min,e.max,o);jc(e,t[n],t[r],a,t.scale)}const zc=["x","scaleX","originX"],Zc=["y","scaleY","originY"];function _c(e,t){Xc(e.x,t,zc),Xc(e.y,t,Zc)}function Yc(e,t){return Bc(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 Jc=new WeakMap;class Uc{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 uc(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(ga(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Ca(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),Pc(e=>{let t=this.getAxisMotionValue(e).get()||0;if(ko.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=bc(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),i&&Ra.update(()=>i(e,t),!1,!0);const{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=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}(a),void(null!==this.currentDirection&&i&&i(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),o&&o(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:i}=this.getProps();i&&Ra.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:r}=this.getProps();if(!n||!$c(e,r,this.currentDirection))return;const i=this.getAxisMotionValue(e);let o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?Ps(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?Ps(n,e,r.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;e&&Fi(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:i}){return{x:Ac(e.x,n,i),y:Ac(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=Ec){return!1===e?e=0:!0===e&&(e=Ec),{x:Tc(e,"left","right"),y:Tc(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Pc(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||!Fi(e))return!1;const n=e.current;$a(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 i=function(e,t,n){const r=Yc(e,n),{scroll:i}=t;return i&&(Wc(r.x,i.offset.x),Wc(r.y,i.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let o=function(e,t){return{x:Nc(e.x,t.x),y:Nc(e.y,t.y)}}(r.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}}(o));this.hasMutatedConstraints=!!e,e&&(o=Bc(e))}return o}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=Pc(a=>{if(!$c(a,t,this.currentDirection))return;let l=s&&s[a]||{};o&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(Ol(e,n,0,t))}stopAnimation(){Pc(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){Pc(t=>{const{drag:n}=this.getProps();if(!$c(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:o}=r.layout.layoutBox[t];i.set(e[t]-Ps(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Fi(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};Pc(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=bc(e),i=bc(t);return i>r?n=$s(t.min,t.max-r,e.min):r>i&&(n=$s(e.min,e.max-i,t.min)),vo(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(),Pc(t=>{if(!$c(t,e,null))return;const n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set(Ps(i,o,r[t]))})}addListeners(){if(!this.visualElement.current)return;Jc.set(this.visualElement,this);const e=ba(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();Fi(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 i=ma(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Pc(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(),r(),o&&o()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=Ec,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function $c(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Kc=e=>(t,n)=>{e&&Ra.update(()=>e(t,n))};const Qc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function qc(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const eu={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Po.test(e))return e;e=parseFloat(e)}return`${qc(e,t.target.x)}% ${qc(e,t.target.y)}%`}},tu={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=zs.parse(e);if(i.length>5)return r;const o=zs.createTransformer(e),a="number"!=typeof i[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;i[0+a]/=s,i[1+a]/=l;const c=Ps(s,l,.5);return"number"==typeof i[2+a]&&(i[2+a]/=c),"number"==typeof i[3+a]&&(i[3+a]/=c),o(i)}};class nu extends i.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;var o;o=iu,Object.assign(ao,o),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Qc.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o?(o.isPresent=i,r||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||Ra.postRender(()=>{const e=o.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 ru(e){const[t,n]=function(){const e=h(Di);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=g();return a(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}(),r=h(Qi);return i.createElement(nu,{...e,layoutGroup:r,switchLayoutGroup:h(qi),isPresent:t,safeToRemove:n})}const iu={borderRadius:{...eu,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:eu,borderTopRightRadius:eu,borderBottomLeftRadius:eu,borderBottomRightRadius:eu,boxShadow:tu},ou=["TopLeft","TopRight","BottomLeft","BottomRight"],au=ou.length,su=e=>"string"==typeof e?parseFloat(e):e,lu=e=>"number"==typeof e||Po.test(e);function cu(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const uu=pu(0,.5,gs),du=pu(.5,.95,Da);function pu(e,t,n){return r=>r<e?0:r>t?1:n($s(e,t,r))}function hu(e,t){e.min=t.min,e.max=t.max}function mu(e,t){hu(e.x,t.x),hu(e.y,t.y)}function fu(e,t,n,r,i){return e=Dc(e-=t,1/n,r),void 0!==i&&(e=Dc(e,1/i,r)),e}function gu(e,t,[n,r,i],o,a){!function(e,t=0,n=1,r=.5,i,o=e,a=e){ko.test(t)&&(t=parseFloat(t),t=Ps(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=Ps(o.min,o.max,r);e===o&&(s-=t),e.min=fu(e.min,t,n,s,i),e.max=fu(e.max,t,n,s,i)}(e,t[n],t[r],t[i],t.scale,o,a)}const bu=["x","scaleX","originX"],vu=["y","scaleY","originY"];function yu(e,t,n,r){gu(e.x,t,bu,n?n.x:void 0,r?r.x:void 0),gu(e.y,t,vu,n?n.y:void 0,r?r.y:void 0)}function xu(e){return 0===e.translate&&1===e.scale}function wu(e){return xu(e.x)&&xu(e.y)}function Iu(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 Cu(e){return bc(e.x)/bc(e.y)}class Au{constructor(){this.members=[]}add(e){Dl(this.members,e),e.scheduleRender()}remove(e){if(Vl(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 Nu(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:i}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),i&&(r+=`rotateY(${i}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return 1===a&&1===s||(r+=`scale(${a}, ${s})`),r||"none"}const Eu=(e,t)=>e.depth-t.depth;class Tu{constructor(){this.children=[],this.isDirty=!1}add(e){Dl(this.children,e),this.isDirty=!0}remove(e){Vl(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Eu),this.isDirty=!1,this.children.forEach(e)}}const Su=["","X","Y","Z"];let ku=0;const Pu={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Bu({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=ku++,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;Pu.totalNodes=Pu.resolvedTargetDeltas=Pu.recalculatedProjection=0,this.nodes.forEach(Ou),this.nodes.forEach(Fu),this.nodes.forEach(Wu),this.nodes.forEach(Gu),e=Pu,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 Tu)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new jl),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:i,layout:o,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||i)&&(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:i})=>{const o=i-n;o>=t&&(Oa(r),e(o-t))};return Ra.read(r,!0),()=>Oa(r)}(r,250),Qc.hasAnimatedSinceResize&&(Qc.hasAnimatedSinceResize=!1,this.nodes.forEach(Hu))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||o)&&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 i=this.options.transition||a.getDefaultTransition()||Ju,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!Iu(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={...Rl(i,"layout"),onPlay:o,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||Hu(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,Oa(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(Xu),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(Du);this.isUpdating||this.nodes.forEach(Vu),this.isUpdating=!1,this.nodes.forEach(ju),this.nodes.forEach(Lu),this.nodes.forEach(Ru),this.clearAllSnapshots();const e=performance.now();Ea.delta=vo(0,1e3/60,e-Ea.timestamp),Ea.timestamp=e,Ea.isProcessing=!0,Pa.update.process(Ea),Pa.preRender.process(Ea),Pa.render.process(Ea),Ea.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Mu),this.sharedNodes.forEach(zu)}scheduleUpdateProjection(){Ra.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){Ra.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(!i)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!wu(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&(t||Oc(this.latestValues)||o)&&(i(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)),Uu((r=n).x),Uu(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&&(Wc(t.x,n.offset.x),Wc(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};mu(t,e);for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:i,options:o}=r;if(r!==this.root&&i&&o.layoutScroll){if(i.isRoot){mu(t,e);const{scroll:n}=this.root;n&&(Wc(t.x,-n.offset.x),Wc(t.y,-n.offset.y))}Wc(t.x,i.offset.x),Wc(t.y,i.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};mu(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&&_c(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),Oc(r.latestValues)&&_c(n,r.latestValues)}return Oc(this.latestValues)&&_c(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};mu(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!Oc(n.latestValues))continue;Rc(n.latestValues)&&n.updateSnapshot();const r=kc();mu(r,n.measurePageBox()),yu(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return Oc(this.latestValues)&&yu(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!==Ea.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:i,layoutId:o}=this.options;if(this.layout&&(i||o)){if(this.resolvedRelativeTargetAt=Ea.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}},Cc(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),mu(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var a,s,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(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,wc(a.x,s.x,l.x),wc(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):mu(this.target,this.layout.layoutBox),Hc(this.target,this.targetDelta)):mu(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}},Cc(this.relativeTargetOrigin,this.target,e.target),mu(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Pu.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Rc(this.parent.latestValues)&&!Gc(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===Ea.timestamp&&(r=!1),r)return;const{layout:i,layoutId:o}=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&&!o)return;mu(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,r=!1){const i=n.length;if(!i)return;let o,a;t.x=t.y=1;for(let s=0;s<i;s++){o=n[s],a=o.projectionDelta;const i=o.instance;i&&i.style&&"contents"===i.style.display||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&_c(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,Hc(e,a)),r&&Oc(o.latestValues)&&_c(e,o.latestValues))}t.x=Fc(t.x),t.y=Fc(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;xc(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=Nu(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Pu.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:{},i={...this.latestValues},o={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 a={x:{min:0,max:0},y:{min:0,max:0}},s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(Yu));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;Zu(o.x,e.x,n),Zu(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Cc(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){_u(e.x,t.x,n.x,r),_u(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&Iu(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),mu(d,this.relativeTarget)),s&&(this.animationValues=i,function(e,t,n,r,i,o){i?(e.opacity=Ps(0,void 0!==n.opacity?n.opacity:1,uu(r)),e.opacityExit=Ps(void 0!==t.opacity?t.opacity:1,0,du(r))):o&&(e.opacity=Ps(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<au;i++){const o=`border${ou[i]}Radius`;let a=cu(t,o),s=cu(n,o);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||lu(a)===lu(s)?(e[o]=Math.max(Ps(su(a),su(s),r),0),(ko.test(s)||ko.test(a))&&(e[o]+="%")):e[o]=s)}(t.rotate||n.rotate)&&(e.rotate=Ps(t.rotate||0,n.rotate||0,r))}(i,r,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Oa(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ra.update(()=>{Qc.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=uo(e)?e:Xl(e);return r.start(Ol("",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:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&$u(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=bc(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=bc(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}mu(t,n),_c(t,i),xc(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Au);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<Su.length;t++){const i="rotate"+Su[t];n[i]&&(r[i]=n[i],e.setStaticValue(i,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 i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=ca(e.pointerEvents)||"",r.transform=i?i(this.latestValues,""):"none",r;const o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=ca(e.pointerEvents)||""),this.hasProjected&&!Oc(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}const a=o.animationValues||o.latestValues;this.applyTransformsToTarget(),r.transform=Nu(this.projectionDeltaWithTransform,this.treeScale,a),i&&(r.transform=i(a,r.transform));const{x:s,y:l}=this.projectionDelta;r.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,o.animationValues?r.opacity=o===this?null!==(n=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=o===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const e in ao){if(void 0===a[e])continue;const{correct:t,applyTo:n}=ao[e],i="none"===r.transform?a[e]:t(a[e],o);if(n){const e=n.length;for(let t=0;t<e;t++)r[n[t]]=i}else r[e]=i}return this.options.layoutId&&(r.pointerEvents=o===this?ca(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(Du),this.root.sharedNodes.clear()}}}function Lu(e){e.updateLayout()}function Ru(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:i}=e.options,o=n.source!==e.layout.source;"size"===i?Pc(e=>{const r=o?n.measuredBox[e]:n.layoutBox[e],i=bc(r);r.min=t[e].min,r.max=r.min+i}):$u(i,n.layoutBox,t)&&Pc(r=>{const i=o?n.measuredBox[r]:n.layoutBox[r],a=bc(t[r]);i.max=i.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};xc(a,t,n.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?xc(s,e.applyTransform(r,!0),n.measuredBox):xc(s,t,n.layoutBox);const l=!wu(a);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:i,layout:o}=r;if(i&&o){const a={x:{min:0,max:0},y:{min:0,max:0}};Cc(a,n.layoutBox,i.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};Cc(s,t,o.layoutBox),Iu(a,s)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Ou(e){Pu.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 Gu(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Mu(e){e.clearSnapshot()}function Du(e){e.clearMeasurements()}function Vu(e){e.isLayoutDirty=!1}function ju(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Hu(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Fu(e){e.resolveTargetDelta()}function Wu(e){e.calcProjection()}function Xu(e){e.resetRotation()}function zu(e){e.removeLeadSnapshot()}function Zu(e,t,n){e.translate=Ps(t.translate,0,n),e.scale=Ps(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function _u(e,t,n,r){e.min=Ps(t.min,n.min,r),e.max=Ps(t.max,n.max,r)}function Yu(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Ju={duration:.45,ease:[.4,0,.1,1]};function Uu(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function $u(e,t,n){return"position"===e||"preserve-aspect"===e&&!vc(Cu(t),Cu(n),.2)}const Ku=Bu({attachResizeListener:(e,t)=>ma(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Qu={current:void 0},qu=Bu({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Qu.current){const e=new Ku({});e.mount(window),e.setOptions({layoutScroll:!0}),Qu.current=e}return Qu.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),ed={pan:{Feature:class extends Na{constructor(){super(...arguments),this.removePointerDownListener=Da}onPointerDown(e){this.session=new uc(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Kc(e),onStart:Kc(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&Ra.update(()=>r(e,t))}}}mount(){this.removePointerDownListener=ba(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 Na{constructor(e){super(e),this.removeGroupControls=Da,this.removeListeners=Da,this.controls=new Uc(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Da}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:qu,MeasureLayout:ru}},td=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function nd(e,t,n=1){$a(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,i]=function(e){const t=td.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);return o?o.trim():go(i)?nd(i,t,n+1):i}const rd=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),id=e=>rd.has(e),od=e=>e===yo||e===Po,ad=(e,t)=>parseFloat(e.split(", ")[t]),sd=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return ad(i[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?ad(t[1],e):0}},ld=new Set(["x","y","z"]),cd=so.filter(e=>!ld.has(e));const ud={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:sd(4,13),y:sd(5,14)},dd=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(id);let o=[],a=!1;const s=[];if(i.forEach(i=>{const l=e.getValue(i);if(!e.hasValue(i))return;let c=n[i],u=_l(c);const d=t[i];let p;if(sa(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=_l(c);for(let n=t;n<e&&null!==d[n];n++)p?$a(_l(d[n])===p,"All keyframes must be of the same type"):(p=_l(d[n]),$a(p===u||od(u)&&od(p),"Keyframes must be of the same dimension as the current value"))}else p=_l(d);if(u!==p)if(od(u)&&od(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[i]=parseFloat(d):Array.isArray(d)&&p===Po&&(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):(a||(o=function(e){const t=[];return cd.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),a=!0),s.push(i),r[i]=void 0!==r[i]?r[i]:t[i],l.jump(d))}),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,i=((e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{s[e]=ud[e](r,o)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const r=t.getValue(n);r&&r.jump(s[n]),e[n]=ud[n](l,o)}),e})(t,e,s);return o.length&&o.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),Vi&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:r}}return{target:t,transitionEnd:r}};function pd(e,t,n,r){return(e=>Object.keys(e).some(id))(t)?dd(e,t,n,r):{target:t,transitionEnd:r}}const hd=(e,t,n,r)=>{const i=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(!go(t))return;const n=nd(t,r);n&&e.set(n)});for(const e in t){const i=t[e];if(!go(i))continue;const o=nd(i,r);o&&(t[e]=o,n||(n={}),void 0===n[e]&&(n[e]=i))}return{target:t,transitionEnd:n}}(e,t,r);return pd(e,t=i.target,n,r=i.transitionEnd)},md={current:null},fd={current:!1};function gd(){if(fd.current=!0,Vi)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>md.current=e.matches;e.addListener(t),t()}else md.current=!1}const bd=new WeakMap,vd=Object.keys(Ki),yd=vd.length,xd=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],wd=Zi.length;class Id{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,visualState:i},o={}){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=()=>Ra.render(this.render,!1,!0);const{latestValues:a,renderState:s}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=_i(t),this.isVariantNode=Yi(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!==a[e]&&uo(t)&&(t.set(a[e],!1),Gl(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,bd.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)),fd.current||gd(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||md.current),"production"!==process.env.NODE_ENV&&Fl(!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(){bd.delete(this.current),this.projection&&this.projection.unmount(),Oa(this.notifyUpdate),Oa(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=lo.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&Ra.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,r,i){let o,a;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?Ua(!1,e):$a(!1,e)}for(let e=0;e<yd;e++){const n=vd[e],{isEnabled:r,Feature:i,ProjectionNode:s,MeasureLayout:l}=Ki[n];s&&(o=s),r(t)&&(!this.features[n]&&i&&(this.features[n]=new i(this)),l&&(a=l))}if(!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:r,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(r)||a&&Fi(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:i,layoutScroll:s,layoutRoot:l})}return a}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<xd.length;t++){const n=xd[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 i in t){const o=t[i],a=n[i];if(uo(o))e.addValue(i,o),Gl(r)&&r.add(i),"development"===process.env.NODE_ENV&&Fl("10.12.16"===o.version,`Attempting to mix Framer Motion versions ${o.version} with 10.12.16 may not work as expected.`);else if(uo(a))e.addValue(i,Xl(o,{owner:e})),Gl(r)&&r.remove(i);else if(a!==o)if(e.hasValue(i)){const t=e.getValue(i);!t.hasAnimated&&t.set(o)}else{const t=e.getStaticValue(i);e.addValue(i,Xl(void 0!==t?t:o,{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<wd;e++){const n=Zi[e],r=this.props[n];(Wi(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=Xl(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=oa(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;const i=this.getBaseTargetFromProps(this.props,e);return void 0===i||uo(i)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new jl),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Cd extends Id{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},i){let o=function(e,t,n){const r={};for(const i in e){const e=$l(i,t);if(void 0!==e)r[i]=e;else{const e=n.getValue(i);e&&(r[i]=e.get())}}return r}(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),o&&(o=r(o))),i){!function(e,t,n){var r,i;const o=Object.keys(t).filter(t=>!e.hasValue(t)),a=o.length;if(a)for(let s=0;s<a;s++){const a=o[s],l=t[a];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(i=null!==(r=n[a])&&void 0!==r?r:e.readValue(a))&&void 0!==i?i:t[a]),null!=c&&("string"==typeof c&&(Ml(c)||Bl(c))?c=parseFloat(c):!Jl(c)&&zs.test(l)&&(c=Pl(a,l)),e.addValue(a,Xl(c,{owner:e})),void 0===n[a]&&(n[a]=c),null!==c&&e.setBaseTarget(a,c))}}(this,n,o);const e=hd(this,n,o,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class Ad extends Cd{readValueFromInstance(e,t){if(lo.has(t)){const e=kl(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),i=(fo(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof i?i.trim():i}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Yc(e,t)}build(e,t,n,r){Mo(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return ra(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;uo(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){ea(e,t,n,r)}}class Nd extends Cd{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(lo.has(t)){const e=kl(t);return e&&e.default||0}return t=ta.has(t)?t:qo(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return ia(e,t)}build(e,t,n,r){Jo(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){na(e,t,0,r)}mount(e){this.isSVGTag=$o(e.tagName),super.mount(e)}}const Ed=(e,t)=>oo(e)?new Nd(t,{enableHardwareAcceleration:!1}):new Ad(t,{enableHardwareAcceleration:!0}),Td={...lc,...Za,...ed,...{layout:{ProjectionNode:qu,MeasureLayout:ru}}},Sd=ro((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...oo(e)?pa:ha,preloadedFeatures:n,useRender:Qo(t),createVisualElement:r,Component:e}}(e,t,Td,Ed));function kd(){const e=s(!1);return ji(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class Pd extends r.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Bd({children:e,isPresent:t}){const n=g(),i=s(null),o=s({width:0,height:0,top:0,left:0});return m(()=>{const{width:e,height:r,top:a,left:s}=o.current;if(t||!i.current||!e||!r)return;i.current.dataset.motionPopId=n;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n [data-motion-pop-id="${n}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${r}px !important;\n top: ${a}px !important;\n left: ${s}px !important;\n }\n `),()=>{document.head.removeChild(l)}},[t]),r.createElement(Pd,{isPresent:t,childRef:i,sizeRef:o},r.cloneElement(e,{ref:i}))}const Ld=({children:e,initial:t,isPresent:n,onExitComplete:i,custom:o,presenceAffectsLayout:a,mode:s})=>{const c=aa(Rd),u=g(),d=l(()=>({id:u,initial:t,isPresent:n,custom:o,onExitComplete:e=>{c.set(e,!0);for(const e of c.values())if(!e)return;i&&i()},register:e=>(c.set(e,!1),()=>c.delete(e))}),a?void 0:[n]);return l(()=>{c.forEach((e,t)=>c.set(t,!1))},[n]),r.useEffect(()=>{!n&&!c.size&&i&&i()},[n]),"popLayout"===s&&(e=r.createElement(Bd,{isPresent:n},e)),r.createElement(Di.Provider,{value:d},e)};function Rd(){return new Map}const Od=e=>e.key||"";const Gd=({children:e,custom:t,initial:n=!0,onExitComplete:i,exitBeforeEnter:o,presenceAffectsLayout:l=!0,mode:u="sync"})=>{$a(!o,"Replace exitBeforeEnter with mode='wait'");const d=h(Qi).forceRender||function(){const e=kd(),[t,n]=c(0),r=f(()=>{e.current&&n(t+1)},[t]);return[f(()=>Ra.postRender(r),[r]),t]}()[0],p=kd(),m=function(e){const t=[];return v.forEach(e,e=>{y(e)&&t.push(e)}),t}(e);let g=m;const x=s(new Map).current,w=s(g),I=s(new Map).current,C=s(!0);var A;if(ji(()=>{C.current=!1,function(e,t){e.forEach(e=>{const n=Od(e);t.set(n,e)})}(m,I),w.current=g}),A=()=>{C.current=!0,I.clear(),x.clear()},a(()=>()=>A(),[]),C.current)return r.createElement(r.Fragment,null,g.map(e=>r.createElement(Ld,{key:Od(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:l,mode:u},e)));g=[...g];const N=w.current.map(Od),E=m.map(Od),T=N.length;for(let e=0;e<T;e++){const t=N[e];-1!==E.indexOf(t)||x.has(t)||x.set(t,void 0)}return"wait"===u&&x.size&&(g=[]),x.forEach((e,n)=>{if(-1!==E.indexOf(n))return;const o=I.get(n);if(!o)return;const a=N.indexOf(n);let s=e;if(!s){const e=()=>{I.delete(n),x.delete(n);const e=w.current.findIndex(e=>e.key===n);if(w.current.splice(e,1),!x.size){if(w.current=m,!1===p.current)return;d(),i&&i()}};s=r.createElement(Ld,{key:Od(o),isPresent:!1,onExitComplete:e,custom:t,presenceAffectsLayout:l,mode:u},o),x.set(n,s)}g.splice(a,0,s)}),g=g.map(e=>{const t=e.key;return x.has(t)?e:r.createElement(Ld,{key:Od(e),isPresent:!0,presenceAffectsLayout:l,mode:u},e)}),"production"!==process.env.NODE_ENV&&"wait"===u&&g.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),r.createElement(r.Fragment,null,x.size?g:g.map(e=>b(e)))};function Md(){!fd.current&&gd();const[e]=c(md.current);return"production"!==process.env.NODE_ENV&&Fl(!0!==e,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),e}const Dd={scale:{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{duration:.3}},shadow:{whileHover:{boxShadow:"0 10px 25px rgba(0,0,0,0.15)"},transition:{duration:.3}},lift:{whileHover:{y:-5},whileTap:{y:0},transition:{type:"spring",stiffness:300,damping:20}},opacity:{whileHover:{opacity:.8},transition:{duration:.2}},grow:{whileHover:{scale:1.1},whileTap:{scale:.95},transition:{type:"spring",stiffness:300,damping:20}},pop:{whileHover:{scale:1.05},whileTap:{scale:.95},transition:{duration:.15}}};function Vd({children:t,animationType:n=Oi,disableAnimation:r=!0,whileHover:o,whileTap:a,transition:s,...l}){const c=Md(),u=i.Children.only(t);if(r||c)return u;const d=function(e){if(!e)return;const t=Array.isArray(e)?e:[e];return 0!==t.length?t.reduce((e,t)=>{const n=Dd[t];return{whileHover:{...e.whileHover,...n.whileHover},...e.whileTap||n.whileTap?{whileTap:{...e.whileTap,...n.whileTap}}:{},transition:{...e.transition,...n.transition}}},{whileHover:{},transition:{}}):void 0}(n),p=d?{...d.whileHover,...o}:o,h=(null==d?void 0:d.whileTap)||a?{...null==d?void 0:d.whileTap,...a}:void 0,m=d?{...d.transition,...s}:s;if("string"==typeof u.type){const t=Sd[u.type];return e(t,{...u.props,ref:u.ref,whileHover:p,whileTap:h,transition:m,...l})}return e(Sd.div,{whileHover:p,whileTap:h,transition:m,...l,children:u})}Vd.displayName="AnimationWrapper";const jd=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()},Hd=o(({variant:r="primary_brand",isLoading:i=!1,text:o,label:a,disabled:s,fullWidth:l,buttonClassName:c,size:u={base:"medium"},iconName:d,iconSize:p=24,iconFill:h=0,disableAnimation:m,animationType:f=Oi,as:g="button",...b},v)=>{const y=(()=>{const e=Ze((e=>{let t="";return e.base&&(t=`btn-${e.base} `),e.md&&(t+=`${(e=>{switch(e){case"small":return"md:btn-small";case"medium":return"md:btn-medium";case"large":return"md:btn-large";case"x-large":return"md:btn-x-large"}})(e.md)} `),e.lg&&(t+=`lg:btn-${e.lg} `),t.trim()})(u),"rounded-button overflow-visible flex lg:inline-flex px-15 gap-2 items-center justify-center text-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top whitespace-nowrap",l?"w-full":"w-full lg:w-auto"),t=Ze((s||i)&&"cursor-not-allowed",i&&"pl-7");return Ze(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus:outline-bg-fill-brand disabled:bg-bg-fill-brand-disabled",primary_inverse:"bg-bg-fill-inverse text-text-inverse [&:not(:disabled)]:hover:bg-bg-fill-inverse-hover focus:outline-bg-fill-inverse disabled:bg-bg-fill-inverse-disabled",secondary:"border border-border-secondary-on-bg-fill bg-bg-fill-secondary text-text [&:not(:disabled)]:hover:bg-bg-fill-secondary-hover focus:bg-bg-fill-secondary focus:outline-input-border-hover disabled:bg-bg-fill-secondary",secondary_inverse:"border border-border-secondary-on-bg-fill bg-bg-fill-secondary text-text [&:not(:disabled)]:hover:bg-bg-fill-secondary-hover focus:bg-bg-fill-secondary focus:outline-border-inverse disabled:bg-bg-fill-secondary"}[r]||"",t,c)})();let x=`button--${r}`;i&&(x+=" button--loading"),s&&(x+=" button--disabled");const w=`${x} ${y}`,I=t(n,{children:[i?e(gr,{name:"progress_activity",className:"animate-spin"}):null,a?t("span",{className:"flex flex-col",children:[e("span",{className:Ze(jd(u)),children:a}),o]}):o,d?e(gr,{name:d,size:p,fill:h,weight:"200"}):null]});return e(Vd,"a"===g?{disableAnimation:m,animationType:f,children:e("a",{ref:v,className:Ze(w),...b,"data-component":"BrandButton","data-variant":"anchor",children:I})}:{disableAnimation:m,animationType:f,children:e("button",{ref:v,className:Ze(w),disabled:s||i,...b,"data-component":"BrandButton","data-variant":"button",children:I})})});Hd.displayName="BrandButton";const Fd={primary_brand:"text-text-brand",primary_inverse:"text-text",secondary:"text-text",secondary_inverse:"text-text-inverse"},Wd=r=>{const{showButtonAs:o="solid",buttonVariant:a="primary_brand",buttonLabel:s,buttonPrefix:l,href:c,target:u="_blank",anchorId:d,linkClassName:p,linkVariant:h,fullWidth:m,preDefinedFunctionExecution:f,renderCheckPlans:g,buttonClassName:b,clickToOpen:v,tabmodalNameToOpen:y,idNameToOpen:x,onModalButtonClick:w,onClick:I,iconFill:C=0,buttonIconName:A,buttonIconPosition:N,size:E,iconSize:T=24,preserveQueryParameters:S,disableAnimation:k,animationType:P=Oi,...B}=r,L="left"===N,R=A,O=Ze(b,L&&R?"flex-row-reverse":"");if("check availability"===f&&g){const t=null==g?void 0:g({ctaText:s,buttonVariant:a,showButtonAs:o,cta:{...r}});return i.isValidElement(t)?e(Vd,{disableAnimation:k,animationType:P,children:t}):t}function G(e){"modal"===v&&(null==e||e.preventDefault(),null==w||w(y)),"clickId"===v&&(null==e||e.preventDefault(),function(){var e;if("clickId"===v&&x){const t=document.getElementById(x);t&&(t.scrollIntoView({behavior:"smooth",block:"start"}),null===(e=t.click)||void 0===e||e.call(t))}}())}function M(e){G(e),null==I||I(e)}function D(e){G(e),null==I||I(e)}const V="undefined"!=typeof window?window.location.search:"",j=f?void 0:c&&S&&V?function(e,t){if(!t)return e;const n=new URLSearchParams(t),r=new Set(At),i=new Set([...r,"searchtext","page"]);let o,a;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);o=t.origin+t.pathname,a=t.searchParams}else{const[t,n]=e.split("?");o=t,a=new URLSearchParams(n||"")}}catch(t){return e}const s=new URLSearchParams(a);n.forEach((e,t)=>{i.has(t.toLowerCase())||s.has(t)||s.set(t,e)});const l=s.toString();return l?`${o}?${l}`:o}(c,V):c;let H=e(ki,{onClick:D,className:b,...B});switch(o){case"solid":H=e(Hd,j?{as:"a",href:j,id:d,variant:a,text:s,label:l,fullWidth:m,buttonClassName:O,size:E,onClick:M,iconName:R,iconSize:T,iconFill:C,disableAnimation:k,animationType:P}:{id:d,variant:a,text:s,label:l,fullWidth:m,size:E,onClick:D,iconName:R,iconSize:T,iconFill:C,buttonClassName:O,disableAnimation:k,animationType:P});break;case"text":H=e(wr,{title:s,href:j,target:u,variant:h||"default",className:Ze(R&&"label1 inline-flex items-center gap-2 no-underline",Fd[a],p),onClick:M,children:R?t(n,{children:[L?e(gr,{name:R,size:T,fill:C}):null,s,L?null:e(gr,{name:R,size:T,fill:C})]}):e(n,{children:s})});break;case"button-with-icon":H=e(Hd,j?{as:"a",href:j,id:d,variant:a,text:s,label:l,fullWidth:m,buttonClassName:O,size:E,onClick:M,iconName:R,iconSize:T,iconFill:C,disableAnimation:k,animationType:P}:{id:d,variant:a,text:s,label:l,fullWidth:m,buttonClassName:O,size:E,onClick:D,iconName:R,iconSize:T,iconFill:C,disableAnimation:k,animationType:P});break;case"text-with-icon":{const n=(e=>({primary_brand:"text-text-brand",primary_inverse:"text-text-inverse",secondary:"text-text",secondary_inverse:"text-text-inverse"}[e]||"text-text-brand"))(a);H=t(wr,{href:j,target:u,onClick:M,className:Ze("group mt-auto inline-flex items-center justify-start gap-2 pt-3 text-sm no-underline",n,b),"aria-label":s,children:[L&&R?e(gr,{name:R,fill:C,size:T,weight:"200"}):null,e(br,{"aria-label":s,className:"label1 text-nowrap",children:s}),R&&!L&&e(gr,{name:R,fill:C,size:T,weight:"200"})]});break}}return e(Vd,{disableAnimation:k,animationType:P,children:H})};var Xd;const zd=null!==(Xd=C.default)&&void 0!==Xd?Xd:C,Zd=({href:r,title:i,description:o,date:a,category:s,image:l,imageAltText:c,imageComponent:u,asGrid:d=!0,index:p})=>{var h,m,f;const g=null!==(f=null!==(m=null!==(h=null!=c?c:null==l?void 0:l.description)&&void 0!==h?h:null==l?void 0:l.alt)&&void 0!==m?m:i)&&void 0!==f?f:"blog-card-image";return t("article",{className:d?"group relative flex h-full flex-col overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop":"callout-card group relative w-full flex h-full flex-col overflow-hidden","data-section-type":"blog-card","data-section-index":p,"data-view-mode":d?"grid":"list",children:[d&&e("div",{className:"block h-[232px] w-full flex-shrink-0 overflow-hidden bg-gray-100",children:l?u?e(u,{src:l.src,alt:g,width:l.width,height:l.height,className:"h-full w-full object-cover transition-transform duration-300 group-hover:scale-[1.03]",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"}):e("img",{src:l.src,alt:g,width:l.width,height:l.height,loading:"lazy",decoding:"async",className:"h-full w-full object-cover transition-transform duration-300 group-hover:scale-[1.03]"}):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 "+(d?"gap-5 p-6 md:p-8":"gap-1 border-b p-3 md:p-4"),children:[t("div",{className:"flex items-center gap-2 text-[13px]",children:[d&&e("span",{className:"body2 text-text-brand",children:s}),a&&t(n,{children:[d&&e("span",{className:"footnote text-text","aria-hidden":"true",children:"•"}),e("time",{className:"body2 text-text",children:a})]})]}),i&&e(br,{as:"h2",className:"heading6",children:e(zd,{href:r,className:"m-0 line-clamp-3 font-black transition-colors duration-150 after:absolute after:inset-0 after:z-10 after:content-[''] hover:text-text-brand group-hover:text-text-brand",children:i})}),o&&e(br,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:o})]}),!i&&e(zd,{href:r,className:"absolute inset-0 z-10",children:e("span",{className:"sr-only",children:null!=s?s:"Read more"})})]})},_d={left:"w-full lg:flex lg:justify-start",right:"w-full lg:flex lg:justify-end",center:"w-full lg:flex lg:justify-center"},Yd=({card:n,lgWidth:r,mdWidth:i})=>{var o,a,s,l,c,u;const{image:d,title:p,header:h,body:m,cta:f,ctaAlignment:g,imageLink:b,imageClassName:v,className:y,imageAltText:x,isPromoBarImg:w=!1,shadow:I=!1,disableAnimation:C}=n,A=g?_d[g]:_d.left,N=b?"cursor-pointer":"",E=b?()=>{"undefined"!=typeof window&&window.open(b,"_blank")}:void 0;return w?(null==d?void 0:d.href)?e(pi,{src:d.href,alt:null!==(s=null!==(a=null!==(o=null!=x?x:d.description)&&void 0!==o?o:d.title)&&void 0!==a?a:p)&&void 0!==s?s:"promo-bar-image",width:148,height:40,onClick:E,className:N}):null:t("section",{"aria-labelledby":"Image Card",className:Ze("callout-card relative flex h-full w-full flex-col gap-5 px-0 pb-4 pt-0 md:items-start md:gap-6 lg:pb-0",I&&"rounded-3xl shadow-card",i,r,y),children:[(null==d?void 0:d.href)?e("div",{className:Ze("relative h-[233px] w-full overflow-hidden sm:mb-1 md:h-[274px] md:flex-none lg:mb-0 lg:h-[330px]",v),children:e(pi,{src:d.href,alt:null!==(c=null!==(l=null!=x?x:d.description)&&void 0!==l?l:d.title)&&void 0!==c?c:"card-image",width:d.width||400,height:d.height||330,onClick:E,className:Ze("h-full w-full rounded-[40px] object-cover",N)})}):null,h?e(br,{as:"h4",className:"heading6 text-text",children:h}):null,m?e(br,{as:"div",className:"body1 -mt-1 mb-0 flex-1 text-text md:-mt-2 lg:mt-2",children:m}):null,e("div",{className:Ze(A,"mt-auto"),children:f?e(Wd,{...f,showButtonAs:f.showButtonAs||(f.buttonIconName?void 0:"text-with-icon"),iconName:f.iconName||(f.buttonIconName?void 0:"expand_circle_right"),iconFill:null!==(u=f.iconFill)&&void 0!==u?u:1,disableAnimation:!(!1===C&&!1===f.disableAnimation),animationType:Oi}):null})]})},Jd=({card:n,lgWidth:r,mdWidth:i})=>{const{anchorId:o="FullImageCard",title:a,description:s,caption:l,image:c,imageAltText:u,cta:d,link:p,className:h,contentClassName:m,imageClassName:f,shadow:g=!0}=n,b=d||p,v=null==b?void 0:b.href,y=a?e(br,{as:"h3",className:"body1 text-text xl:heading6",children:a}):null;return t("section",{id:o,className:Ze("callout-card relative flex flex-col rounded-3xl bg-white p-0",g&&"shadow-card",i,r,"w-full",h),"aria-labelledby":`card-title-${o}`,children:[(null==c?void 0:c.href)?e("div",{className:Ze("relative aspect-video overflow-hidden rounded-tl-3xl rounded-tr-3xl",f),children:(()=>{var t,n,r;if(!(null==c?void 0:c.href))return null;const i=e(pi,{src:c.href,alt:null!==(r=null!==(n=null!==(t=null!=u?u:c.description)&&void 0!==t?t:c.title)&&void 0!==n?n:a)&&void 0!==r?r:"card-image",width:c.width||400,height:c.height||280,className:"w-full"});return v?e(wr,{href:v,tabIndex:-1,target:null==b?void 0:b.target,children:i}):i})()}):null,t("div",{className:Ze("flex h-full flex-col gap-4 p-6 md:p-8",m),children:[t("div",{className:"flex flex-1 flex-col justify-between",children:[t("div",{children:[v&&y?e(wr,{href:v,target:null==b?void 0:b.target,className:"no-underline hover:underline",children:y}):y,s?e(br,{as:"p",className:"body2 mt-4 text-text md:body1",children:s}):null]}),l?e(br,{as:"p",className:"footnote mt-5 text-text-secondary",children:l}):null]}),d?e("div",{className:"mt-2 flex items-end",children:e(Wd,{linkVariant:"unstyled",linkClassName:"label1 flex items-center gap-2 text-text",...d,iconName:"expand_circle_right",iconFill:1})}):null]})]})},Ud={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},$d={left:"flex w-full justify-start",right:"flex w-full justify-end",center:"flex w-full justify-center"},Kd={left:"justify-start",right:"justify-end",center:"justify-center"},Qd=e=>{const t=(e||"").replace(/\D/g,"");return t?`tel:${t}`:""},qd=({card:n,lgWidth:r,mdWidth:i,className:o,contentClassName:a,style:s})=>{var l,c,u,d,p,h,m,f,g,b,v,y,x,w,I,C,A,N,E;const T=null===(l=n.imageView)||void 0===l?void 0:l.toLowerCase(),S="full"===T,k="margin"===T,P="standard"===T,B="icon"===T||"inset"===T||!T&&!!n.image,L=P||B,R=(null===(c=n.iconAlignment)||void 0===c?void 0:c.toLowerCase())||(null===(u=n.imageAlignment)||void 0===u?void 0:u.toLowerCase())||"left",O=n.ctaAlignment&&$d[n.ctaAlignment]||$d.left,G=n.ctaAlignmentBottom&&Kd[n.ctaAlignmentBottom]||Kd.left,M=null===(d=n.pinwheelColor)||void 0===d?void 0:d.split("-")[1],D=L&&n.applyCardBackgroundColor,V={...s,...D&&n.backgroundColor?{"--scc-bg":n.backgroundColor}:{},...D&&n.textColor?{"--scc-fg":n.textColor}:{},...D&&n.backgroundColor?{backgroundColor:"var(--scc-bg)"}:{},...D&&n.showBackgroundImage&&M?{backgroundImage:`url('data:image/svg+xml;utf8,${encodeURIComponent(_e(M))}')`,backgroundPosition:"top left",backgroundSize:"684px 107px",backgroundRepeat:"no-repeat"}:{}},j=t=>{var r,i,o,a;return n.image?e("div",{className:Ze("relative aspect-video overflow-hidden",t?"mx-6 lg:mx-8":"rounded-t-3xl"),children:e(pi,{src:n.image,alt:null!==(a=null!==(o=null!==(i=null!==(r=n.imageAltText)&&void 0!==r?r:n.imageDescription)&&void 0!==i?i:n.imageAlt)&&void 0!==o?o:n.title)&&void 0!==a?a:"card-image",width:n.imageWidth||400,height:n.imageHeight||280,className:Ze("w-full",!t&&"rounded-t-3xl")})}):null},H=D&&n.textColor?{color:n.textColor}:void 0,F=n.title?e(br,{as:"h3",className:"heading6 mb-2 text-text md:heading6",style:H,children:n.title}):null,W=(null===(p=n.cta)||void 0===p?void 0:p.href)&&F?e(wr,{href:n.cta.href,target:n.cta.target,className:"no-underline hover:underline",style:H,children:F}):F,X=(null!==(m=null===(h=n.workingHours)||void 0===h?void 0:h.length)&&void 0!==m?m:0)>0||(null!==(g=null===(f=n.phoneNumber)||void 0===f?void 0:f.length)&&void 0!==g?g:0)>0,z=!(!n.cta||n.title||n.titleLocation||n.body||n.richText||n.image||X||(null===(b=n.ctaBottom)||void 0===b?void 0:b.title)&&(null===(v=n.ctaBottom)||void 0===v?void 0:v.href));return t("section",{className:Ze("callout-card relative flex h-full w-full flex-col rounded-3xl p-0",n.shadow&&"shadow-card",n.image&&!S&&!n.showBackgroundImage&&"pt-1",!n.applyCardBackgroundColor&&(null!==(x=Ud[null!==(y=n.backgroundColor)&&void 0!==y?y:""])&&void 0!==x?x:""),i,r,o),style:V,"aria-labelledby":n.title?`callout-${n.title}`:void 0,children:[(null===(w=n.ctaBottom)||void 0===w?void 0:w.title)&&(null===(I=n.ctaBottom)||void 0===I?void 0:I.href)?e("div",{className:Ze("top-link m-6 flex items-center lg:m-8",G),children:t(wr,{href:n.ctaBottom.href,className:"label1 inline-flex items-center gap-2 text-text decoration-text underline-offset-4 hover:underline",children:[e(gr,{name:"location_on",fill:1,size:24}),e("span",{children:n.ctaBottom.title})]})}):null,n.image&&S?j(!1):null,n.image&&k?j(!0):null,t("div",{className:Ze("relative flex flex-1 flex-col justify-between",z?"p-0":"px-6 pb-8 pt-7 lg:px-8 lg:py-8",a),children:[e("div",{className:"flex flex-1 flex-col justify-between",children:t("div",{className:Ze("flex flex-col",n.imageToRichTextAlignment&&"lg:flex-row lg:items-start lg:gap-6"),children:[e("div",{className:Ze(n.imageToRichTextAlignment&&"flex-shrink-0"),children:!n.image||S||k?null:(()=>{var t,r,i,o;if(!n.image)return null;const a=P&&n.imageWidth||60,s=P&&n.imageHeight||60;return e("div",{className:Ze("relative mb-8 flex",n.imageToRichTextAlignment&&"h-[60px] w-[60px] flex-shrink-0"),style:{justifyContent:R},children:e(pi,{src:n.image,alt:null!==(o=null!==(i=null!==(r=null!==(t=n.imageAltText)&&void 0!==t?t:n.imageDescription)&&void 0!==r?r:n.imageAlt)&&void 0!==i?i:n.title)&&void 0!==o?o:"card-icon",width:a,height:s,className:Ze("object-contain",n.imageToRichTextAlignment&&"!h-[60px] !w-[60px]")})})})()}),t("div",{className:"flex flex-col gap-3 md:gap-4",children:[W,n.titleLocation?e("div",{className:"mb-1 lg:mb-2",children:e(br,{as:"h4",className:"label1 font-bold text-text",children:n.titleLocation})}):null,X?e("div",{className:"mb-2",children:e("table",{children:t("tbody",{children:[null===(C=n.workingHours)||void 0===C?void 0:C.map((n,r)=>{const[i,o]=(null!=n?n:"").split("|");return t("tr",{children:[e("td",{className:"py-2 pr-3",children:e(br,{className:"label2 text-text",children:i})}),e("td",{className:"py-2 pl-3",children:e(br,{className:"body2 font-bold text-text",children:o})})]},`wh-${r}`)}),null===(A=n.phoneNumber)||void 0===A?void 0:A.map((n,r)=>t("tr",{children:[e("td",{className:"py-1 pr-3 align-middle",children:e(gr,{fill:1,name:"call",size:24,weight:"200",className:"text-text"})}),e("td",{className:"py-1 pl-3",children:e(wr,{href:Qd(n),className:"text-inherit no-underline",children:e(br,{className:"body2 font-bold text-text",children:n})})})]},`ph-${r}`))]})})}):null,n.body?e(br,{as:"div",className:"body1 text-text",style:H,children:n.body}):null,n.richText?e(br,{as:"div",className:"body1 text-text",style:H,children:n.richText}):null]})]})}),n.cta?e("div",{className:Ze(!z&&"mt-2",O),children:e(Wd,{linkVariant:"unstyled",linkClassName:Ze("label1 flex items-center gap-2 text-text",D&&n.textColor&&"decoration-current"),...n.cta,iconName:null!==(N=n.cta.iconName)&&void 0!==N?N:"expand_circle_right",iconFill:null!==(E=n.cta.iconFill)&&void 0!==E?E:1,fullWidth:!0,buttonClassName:Ze(n.cta.buttonClassName,z&&"w-[342px] max-w-full px-4 lg:w-[342px]")})}):null]})]})},ep={cream500:"bg-[#FFFEEF]",gray100:"bg-fill-secondary",white:"bg-white",transparent:"",blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",yellow:"bg-[#F5FF1E]"},tp={1:"md:w-full",2:"md:w-[calc(50%-1rem)]"},np={1:"lg:w-full",2:"lg:w-[calc(50%-0.75rem)]",3:"lg:w-[calc(33.333%-1rem)]",4:"lg:w-[calc(25%-1.125rem)]",5:"lg:w-[calc(20%-1.2rem)]",6:"lg:w-[calc(16.666%-1.25rem)]"},rp=e=>Math.max(1,Math.min(6,e)),ip=({anchorId:n,title:r,items:i,enableHeading:o=!1,subtitle:a,description:s,finePrint:l,cta:c,color:u="dark",maxWidth:d=!0,maxCardsPerRow:p,cardType:h="simple",backgroundColor:m,background:f,textColor:g,containerClassName:b,innerClassName:v,applyBoxShadow:y=!1,cardStackingMobile:x=!0,cardsWidth:w=!0,noGutter:I=!1,disableAnimation:C,animationType:A="lift"})=>{var N,E,T;const S=null!==(N=null==i?void 0:i.length)&&void 0!==N?N:0,k=rp(null!=p?p:(P=S)<=4?P||1:P%3==0?3:P%4==0||P>6?4:3);var P;const B=rp(Math.min(k,S||k)),L=!1===w&&"blog"!==h,R=L?Ze("flex flex-col items-stretch self-stretch",I?"gap-0":"gap-3"):Ze("flex flex-wrap items-stretch justify-center self-stretch",I?"gap-0":"gap-3",I?"md:gap-0":"md:gap-3"),O=L?"":Ze("w-full",tp[rp(x?1:Math.min(2,k))],np[B]),G=(t,n)=>{var r,i;const o=null!==(r=t.cardType)&&void 0!==r?r:h,a=L?{lgWidth:void 0,mdWidth:void 0}:{};switch(o){case"blog":{const r=t;return e(Zd,{title:r.title,href:r.slug,description:r.shortDescription,date:r.blogCreationDate,category:r.category,image:r.cover,imageAltText:r.imageAltText,asGrid:!1,...a},n)}case"fullImage":return e(Jd,{card:{...t},...a},n);case"floatingImage":return e(Yd,{card:{...t},...a},n);default:return e(qd,{card:{...t,shadow:null!==(i=t.shadow)&&void 0!==i?i:y},...a},n)}},M=f?{background:f}:void 0,D=g?{color:g}:void 0,V=f?"":m&&null!==(E=ep[m])&&void 0!==E?E:"";return e("section",{id:n,className:Ze("component-container",V,b),style:M,children:e("div",{className:Ze(I?"p-0":"mx-5 mb-5 mt-12 md:mx-0 md:mb-0 md:mt-0 md:px-6 md:pb-8 md:pt-16 lg:px-0 lg:py-20",d&&"max-w-120 xl:mx-auto","dark"===u?"text-text":"text-white",v),children:t("div",{className:"callout-container flex flex-col gap-10 md:gap-16",children:[t("div",{className:"title-holder",style:D,children:[r&&e(br,{as:o?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:r}),a&&e(br,{as:o?"h2":"h3",className:"subheading3 mt-2 md:subheading1 md:text-center lg:mt-3",children:a}),s&&e(br,{as:"p",className:"body1 mt-4 text-center md:mt-6",children:s})]}),e("div",{className:Ze("card-holder",R),children:i.map((t,n)=>L?e(Vd,{animationType:A,disableAnimation:C,children:G(t,n)},`callout-card-${n}`):e("div",{className:Ze("callout-card",O),children:e(Vd,{animationType:A,disableAnimation:C,children:G(t,n)})},`callout-card-${n}`))}),(c||l)&&t("div",{className:"flex flex-col items-center gap-4",children:[c?e(Wd,{linkClassName:"label1",buttonClassName:"label1",...c,children:null!==(T=c.label)&&void 0!==T?T:c.buttonLabel}):null,l?e(br,{as:"div",className:"footnote text-center text-text",children:l}):null]})]})})})},op=({fields:t})=>e("div",{children:e(br,{children:"Cards"})}),ap=o(({as:t,className:n="",...r},i)=>{const o=Ze(n);if(t){return e(t,{ref:i,className:o,...r})}return e("img",{ref:i,className:o,...r})});ap.displayName="Image";const sp=({onSelect:r,speed:i,isSelected:o=!1,renderCheckPlans:a,iconSize:s=24,iconClassName:l,cta:u,techType:d,isMax:p})=>{const[h,m]=c(!1),f=`btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${o?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,g=null==a?void 0:a({speedCardConfig:{isModalOpen:h,setModalOpen:()=>{m(!1)},speed:i,techType:d,isMax:p},cta:u});return t(n,{children:[t(ki,{onClick:()=>{m(!0),r()},className:Ze(f,"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(gr,{className:Ze(l,o?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),g]})},lp=({planName:r,planSubtext:i,speed:o,price:a,description:s,bestValue:l=!1,bestValueText:u="best value",giftBadge:d,innerBadge:p,theme:h="light",featuresTitle:m="Business Ready Internet features",features:f=[],isExpanded:g,onToggleExpand:b,onCtaClick:v,renderCheckPlans:y,cta:x,techType:w,ismaxSpeed:I})=>{const[C,A]=c(!1),N=void 0!==g?g:C,E="dark"===h;return t("article",{className:Ze("relative flex h-full w-full max-w-[392px] flex-col",!l&&"md:pt-[38px]"),children:[l&&e("div",{className:"label3 rounded-t-[20px] bg-bg-fill-brand-accent px-6 py-2 text-center text-text",children:u}),t("div",{className:Ze("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",E?"text-inverse border-2 border-border-accent bg-bg-fill-inverse":"bg-bg text-text",l?"rounded-t-none border-t-0":""),children:[t("header",{className:"overflow-none flex items-start justify-between gap-4",children:[t("div",{className:"flex flex-col",children:[e(br,{as:"h3",className:Ze("subheading2",E?"text-text-accent-on-bg-inverse":"text-text-brand"),children:r}),e(br,{as:"p",className:"label3 text-wrap "+(E?"text-text-accent-on-bg-inverse":"text-text-brand"),children:i})]}),t("div",{className:"flex items-start",children:[e(br,{as:"span",className:Ze("label2 mr-1 mt-[2px]",E?"text-text-inverse":"text-text"),children:"$"}),e(br,{as:"span",className:Ze("subheading6",E?"text-text-inverse":"text-text"),children:a.split(".")[0]}),t(br,{as:"span",className:Ze("label2",E?"text-text-inverse":"text-text"),children:[a.split(".")[1],"/mo"]})]})]}),e("section",{children:e(br,{className:Ze("body2",E?"text-text-inverse":"text-text"),children:s})}),(null==d?void 0:d.length)?e("div",{className:Ze("flex-col items-center rounded-surface-sm p-2",E?"bg-bg-surface-inverse":"bg-bg-surface-info"),children:null==d?void 0:d.map(n=>t("div",{className:"flex items-center gap-2",children:[e(ap,{src:n.icon,alt:n.title,width:24,height:24}),e(br,{as:"div",className:Ze("body3",E?"text-text-inverse":"text-text"),children:n.title})]},n.title))}):null,e(sp,{onSelect:v,speed:o,isSelected:E,renderCheckPlans:y,cta:x,iconSize:40,techType:w,isMax:I}),f.length>0&&t("section",{className:"flex flex-col gap-3",children:[t(ki,{onClick:()=>{b?b():A(!C)},className:"group flex w-full items-center gap-2 text-left",children:[e(br,{as:"h4",className:Ze("label3",E?"text-text-inverse":"text-text"),children:m}),e(gr,{name:"keyboard_arrow_down",fill:1,size:24,className:Ze("transition-transform duration-300",N&&"rotate-180",E?"text-text-inverse":"text-text")})]}),t("div",{className:Ze("overflow-hidden transition-all duration-200 ease-in-out",N?"opacity-100":"max-h-0 opacity-0"),children:[e("div",{className:"flex flex-col",children:e(vr,{items:f,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:E?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(E?"text-text-inverse":"text-text")})}),(null==p?void 0:p.badgeIcon)?t("div",{className:"flex items-center gap-2 text-center",children:[e(ap,{src:p.badgeIcon,alt:"Inner Badge",width:12,height:12}),e("span",{className:"footnote text-text",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(br,{className:"font-bold",children:p.badgeText})})]}):null]})]})]})]})},cp=({title:n,quote:r,rating:i,author:o,role:a,avatarUrl:s,isActive:l=!1,className:c})=>t("figure",{className:R("flex w-full flex-col gap-6 rounded-card-lg p-6 transition-all duration-300 md:gap-10 md:p-14",l?"bg-bg-surface-secondary shadow-drop":"bg-gray-50 opacity-40",c),children:[t("div",{className:"flex flex-col justify-start gap-3 md:gap-5",children:[e("header",{children:e(br,{as:"h3",className:"label1 text-text",children:n})}),e("blockquote",{className:"body1 text-text",children:r}),i?e("div",{className:"flex","aria-label":`Rating: ${i} out of 5`,children:[...Array(5)].map((t,n)=>e(gr,{size:24,name:"star",fill:1,className:R("h-[21px] w-[21px]",n<i?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null]}),o&&t("figcaption",{className:"flex gap-3 md:gap-5",children:[e("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e(N,{src:s,alt:o,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:o.charAt(0)})}),t("div",{className:"flex flex-col",children:[e("cite",{className:"label3 font-bold not-italic text-text",children:o}),e(br,{as:"p",className:"body3 text-text",children:a})]})]})]});function up({fields:r,renderCheckPlans:i,isVisible:o=!0}){var l,u,d,p;const h=(null===(d=null===(u=null===(l=null==r?void 0:r.items)||void 0===l?void 0:l.items)||void 0===u?void 0:u[0])||void 0===d?void 0:d.benefitsExpanded)||!1,[m,g]=c(h),[b,v]=c({}),[y,x]=c(0),[w,I]=c(0),[C,A]=c(0),[N,E]=c(!1),T=(null===(p=null==r?void 0:r.items)||void 0===p?void 0:p.items)||[],S=T.length>2,k=!1!==(null==r?void 0:r.showArrows)&&S,P=s([]),B=s(null),L=s(0);a(()=>{if(!S||!o)return;const e=()=>{var e;const t=(null===(e=B.current)||void 0===e?void 0:e.offsetWidth)||0;if(0===t)return;const n=t-32,r=Math.max(1,Math.floor((n+16)/408));I(Math.max(0,T.length-r))};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[S,o,T.length]),a(()=>{x(e=>Math.min(e,w))},[w]);const R=f(()=>{S&&x(e=>Math.max(0,e-1))},[S]),O=f(()=>{S&&x(e=>Math.min(w,e+1))},[S,w]),G=f(e=>{S&&(L.current=e.touches[0].clientX,E(!0))},[S]),M=f(e=>{if(!N)return;const t=e.touches[0].clientX-L.current;A(0===y&&t>0||y>=w&&t<0?.3*t:t)},[N,y,w]),D=f(()=>{var e;if(!N)return;E(!1);const t=.15*((null===(e=B.current)||void 0===e?void 0:e.offsetWidth)||0);C>t?R():C<-t&&O(),A(0)},[N,C,R,O]);if(a(()=>{if(!S||!o)return;const e=()=>{const e=P.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)},[S,o,m,T.length]),!T.length&&!(null==r?void 0:r.title))return null;const V=(t,n,r=!1)=>{var o,a,s,l,c,u,d,p;const h=null===(o=null==t?void 0:t.speed)||void 0===o?void 0:o.split("|"),f=(null==h?void 0:h[0])||"",y=(null==h?void 0:h[1])||"",x=(null===(s=null===(a=null==t?void 0:t.priceSuffix)||void 0===a?void 0:a.split("/"))||void 0===s?void 0:s[0])||"00",w=`${(null==t?void 0:t.price)||"0"}.${x}`,I=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],C=(null==t?void 0:t.highlighted)||!1,A=(null===(u=null===(c=null==t?void 0:t.giftRewards)||void 0===c?void 0:c.list)||void 0===u?void 0:u.items)||[],N={badgeText:t.innerBadge||"",badgeIcon:(null===(d=t.innerBadgeIcon)||void 0===d?void 0:d.url)||""},E=r?b[n]||!1:m;return e("div",{ref:r?void 0:e=>{e&&!P.current.includes(e)&&(P.current[n]=e)},className:Ze(r?"mx-auto w-full max-w-[392px]":"w-[392px] flex-shrink-0"),children:e(lp,{planName:f,planSubtext:y,speed:(null==t?void 0:t.speed)||"",techType:(null==t?void 0:t.techType)||"",ismaxSpeed:(null==t?void 0:t.ismaxSpeed)||"",price:w,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:A,innerBadge:N,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:I,isExpanded:E,onToggleExpand:()=>{r?v(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)};return S?t(n,{children:[e("div",{className:"flex flex-col gap-6 md:hidden",children:T.map((e,t)=>V(e,t,!0))}),t("div",{className:"relative hidden w-full md:block",children:[k&&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:[y>0?e(ki,{onClick:R,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(gr,{name:"arrow_back",size:24})}):e("span",{className:"h-12 w-12","aria-hidden":"true"}),y<w?e(ki,{onClick:O,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(gr,{name:"arrow_forward",size:24})}):e("span",{className:"h-12 w-12","aria-hidden":"true"})]}),e("div",{ref:B,className:"mx-auto max-w-[1280px] select-none overflow-hidden",onTouchStart:G,onTouchMove:M,onTouchEnd:D,onTouchCancel:D,children:e("div",{className:Ze("ml-8 flex items-stretch gap-4 pb-4",N?"transition-none":"transition-transform duration-500 ease-in-out"),style:{transform:`translateX(calc(-${y} * (392px + 16px) + ${C}px))`},children:T.map((e,t)=>V(e,t,!1))})})]})]}):e("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-4",children:T.map((e,t)=>V(e,t))})}function dp({fields:t,renderCheckPlans:r,activeTab:i,tabs:o}){var a;const s=(null===(a=null==t?void 0:t.items)||void 0===a?void 0:a.items)||[];return o&&o.length>1&&i?e(n,{children:o.map(n=>{const a=s.filter(e=>(e.productCategory||o[0])===n),l={...t,items:{...t.items,items:a}};return e("div",{style:{display:n===i?"block":"none"},"aria-hidden":n!==i,children:e(up,{fields:l,renderCheckPlans:r,isVisible:n===i})},n)})}):e(up,{fields:t,renderCheckPlans:r})}const pp=i.memo(({item:t,index:n,currentIndex:r,totalItems:i,swipeOffset:o,isSwiping:a,isMobile:s,containerWidth:l,cardOffsetPercentage:c})=>{let u=n-r;u>i/2&&(u-=i),u<-i/2&&(u+=i);const d=0===u,p=1===Math.abs(u),h=u*c+o/l*100,m=!s||(a?d||p:d);return e("div",{className:Ze("col-start-1 row-start-1 w-full md:max-w-[815px]","will-change-[transform,opacity]",d?"z-10":"z-5",Math.abs(u)>1?"invisible":"visible",m?"opacity-100":"opacity-0",a?"transition-opacity duration-200":"transition-[transform,opacity] duration-500 ease-[cubic-bezier(0.25,0.46,0.45,0.94)]"),style:{transform:`translateX(${h}%)`},children:e(cp,{...t,isActive:d,className:"h-full"})})});pp.displayName="TestimonialCarouselSlide";const hp=({fields:n,autoScroll:r=!0,autoScrollInterval:i=8e3})=>{var o;const l=(null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||[];if(!l||0===l.length)return null;const u=function(e){const{itemCount:t,cardOffsetPercentage:n=105,swipeThreshold:r=.15,mobileBreakpoint:i=768,autoScrollInterval:o=8e3,enableAutoScroll:l=!0}=e,[u,d]=c(0),[p,h]=c(0),[m,g]=c(!1),[b,v]=c("undefined"!=typeof window?window.innerWidth:1),[y,x]=c(!1),w=s(null),I=s(0),C=s(null),A={CARD_OFFSET_PERCENTAGE:n,SWIPE_THRESHOLD:r,MOBILE_BREAKPOINT:i,AUTO_SCROLL_INTERVAL:o};a(()=>{const e=()=>{var e;v((null===(e=C.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const N=f(()=>{0!==t&&d(e=>(e+1)%t)},[t]),E=f(()=>{0!==t&&d(e=>0===e?t-1:e-1)},[t]),T=f(e=>{e<0||e>=t||d(e)},[t]),S=f(e=>{I.current=e.touches[0].clientX,g(!0),w.current&&clearInterval(w.current)},[]),k=f(e=>{if(!m)return;const t=e.touches[0].clientX-I.current;h(t)},[m]),P=f(()=>{g(!1);const e=b*r;p>e?E():p<-e&&N(),h(0),l&&o>0&&(w.current=setInterval(()=>{N()},o))},[p,b,r,E,N,l,o]);return a(()=>{const e=()=>{x(window.innerWidth<i)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[i]),a(()=>{if(l&&0!==t&&0!==o)return w.current=setInterval(()=>{N()},o),()=>{w.current&&clearInterval(w.current)}},[N,t,l,o]),{currentIndex:u,swipeOffset:p,isSwiping:m,isMobile:y,containerWidth:b,containerRef:C,nextSlide:N,prevSlide:E,goToSlide:T,handleTouchStart:S,handleTouchMove:k,handleTouchEnd:P,constants:A}}({itemCount:l.length,cardOffsetPercentage:105,swipeThreshold:.15,mobileBreakpoint:768,autoScrollInterval:i,enableAutoScroll:r});return t("div",{children:[t("div",{className:"relative max-w-[1280px] md:px-11",children:[e(ki,{onClick:u.prevSlide,className:"group absolute left-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Previous",children:e(gr,{name:"arrow_back",size:24})}),e(ki,{onClick:u.nextSlide,className:"group absolute right-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Next",children:e(gr,{name:"arrow_forward",size:24})}),e("div",{ref:u.containerRef,className:"select-none overflow-hidden rounded-card-sm will-change-transform",onTouchStart:u.handleTouchStart,onTouchMove:u.handleTouchMove,onTouchEnd:u.handleTouchEnd,children:e("div",{className:"grid grid-cols-1 justify-items-center",children:l.map((t,n)=>e(pp,{item:t,index:n,currentIndex:u.currentIndex,totalItems:l.length,swipeOffset:u.swipeOffset,isSwiping:u.isSwiping,isMobile:u.isMobile,containerWidth:u.containerWidth,cardOffsetPercentage:u.constants.CARD_OFFSET_PERCENTAGE},n))})})]}),e("div",{className:"mt-5 flex justify-center gap-2 md:mt-10",children:l.map((t,n)=>e("button",{onClick:()=>u.goToSlide(n),className:Ze("h-2 w-2 rounded-full transition-all duration-300",u.currentIndex===n?"w-6 bg-white":"bg-bg-fill-inverse-disabled hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]})},mp=({tabs:n,activeTab:r,onChange:i,className:o})=>{const l=n.indexOf(r),u=s([]),[d,p]=c({width:0,left:0});return a(()=>{const e=u.current[l];e&&p({width:e.offsetWidth,left:e.offsetLeft})},[l,n]),e("div",{className:"flex w-full justify-center",children:t("div",{className:Ze("relative flex w-fit gap-1 rounded-button-lg bg-bg-surface-active p-1 transition-all duration-200 ease-out",o),children:[e("div",{className:"absolute bottom-1 top-1 rounded-button bg-bg-fill-brand shadow-md transition-all duration-300 ease-out",style:{width:`${d.width}px`,left:`${d.left}px`}}),n.map((t,n)=>e("button",{ref:e=>{u.current[n]=e},onClick:()=>i(t),className:Ze("label1 relative z-10 flex min-w-[160px] items-center justify-center whitespace-nowrap rounded-button px-4 py-2.5 transition-colors duration-200 focus:outline-none active:bg-transparent",r===t?"text-text-inverse":"text-text-disabled hover:bg-bg-surface-hover"),children:t},t))]})})},fp=({fields:n,hasTestimonialCards:r,hasProductCards:i,disclaimerText:o,backgroundColor:a,activeTab:s,setActiveTab:l,tabs:c,onModalButtonClick:u,renderCheckPlans:d,testimonialAutoScroll:p=!0,showSwitch:h=!1})=>t("div",{className:`${a} ${i?"px-3 py-9 md:py-20":r?"px-3 py-12 md:pt-20 md:pb-16":""} mx-auto overflow-hidden`,children:[t("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-8 overflow-visible md:gap-12",children:[t("div",{children:[e(br,{as:"h2",className:"heading2 text-text md:heading1 md:text-center",children:null==n?void 0:n.title}),(null==n?void 0:n.subTitle)&&e(br,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==n?void 0:n.subTitle})]}),i&&t("div",{className:"flex flex-col gap-8",children:[h&&i&&c.length>1&&e(mp,{tabs:c,activeTab:s,onChange:l}),i&&e(dp,{onModalButtonClick:u,renderCheckPlans:d,fields:n,activeTab:s,tabs:c})]}),r&&e(hp,{fields:n,autoScroll:p,autoScrollInterval:8e3})]}),o&&e(br,{as:"div",className:"footnote mt-8 px-4 text-center text-text-secondary",children:o})]}),gp=({title:n,subtitle:r,description:i,disclaimer:o,icon:a,cta:s,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-surface-lg xl:mx-auto "+(d?"max-w-120":""),children:[t("div",{className:`flex flex-col rounded-surface px-5 py-7 lg:flex-row lg:gap-5 lg:rounded-surface-lg lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[l]} ${"dark"==c?"text-text":"text-white"} `,children:[a&&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(pi,{width:80,height:80,alt:"icon",src:a})})}),t("div",{className:"flex w-full flex-col justify-center lg:w-4/5",children:[n&&e(br,{as:u?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:n}),r&&e(br,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:r}),i&&e(br,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:i})]}),s&&e("div",{className:"mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center",children:e(Wd,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),o&&e("div",{children:e(br,{as:"div",className:"body3 mt-3 text-center",children:o})})]})}),bp=({body:n,links:r,bottomLinks:o,copyrights:a,terms:s,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(Li,{className:"my-8 border-border-inverse lg:my-16"}),e("div",{className:"grid-1 grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:null==r?void 0:r.map((n,r)=>{var o,a;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(br,{as:"div",className:"label3",children:null==n?void 0:n.title}),e("ul",{className:"flex flex-col",children:null===(a=null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||void 0===a?void 0:a.map((t,n)=>e("li",{className:"pt-3",children:e(Wd,{...t,linkVariant:"unstyled",linkClassName:"text-white body3 hover:underline underline-offset-4",onClick:u})},`site-links-${n}`))})]},`link-group-${r}`)},`footer-link-group-${r}`),e(Li,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${r}`)})}),t("div",{className:"py-8",children:[e(Li,{className:"my-8 hidden border-border-inverse md:my-8 md:block"}),t("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",s]}),e("p",{className:"copy-rights whitespace-pre-line",children:a}),e("nav",{"aria-label":"Footer legal",children:e("ul",{className:"bottom-links list-none",children:null==o?void 0:o.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(Wd,{...t,linkClassName:"footnote text-white hover:underline underline-offset-4",linkVariant:"unstyled",onClick:u})},`links-${n}`))})})]})]})})},vp=({brow:n,enableHeading:r,title:i,subTitle:o,ctaDisclaimer:a,disclaimer:s,description:l,image:c,imageAltText:u,imageLinks:d,mediaPosition:p=!0,checklist:h,secondaryCta:m,cta:f,videoLink:g,maxWidth:b=!0,color:v="light",imageWidth:y=660,imageHeight:x=660,useOriginalImageAspectRatio:w=!1,isAboveTheFold:I=!1,onModalButtonClick:C,onClick:A,onVideoEvent:N,renderCheckPlans:E,enableAnimation:T=!1})=>{const S=Boolean(g);return t("div",{className:"component-container shared-component-ipb pb-16 pt-16",children:[e("div",{className:`image-promo-bar-content ${b?"max-w-120 xl:mx-auto":""} px-5 pb-8 pt-8 md:px-10`,children:t("div",{className:"flex shrink-0 flex-col items-center gap-8 xl:items-stretch xl:gap-10 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(br,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),i&&e(br,{as:r?"h1":"h2",className:"heading2 xl:heading1",children:i}),o&&e(br,{as:r?"h2":"h3",className:"subheading3 mt-3 md:subheading1",children:o})]}),l&&e(br,{as:"div",className:"body1",children:l}),h.length>0&&e(vr,{items:h,iconPosition:"top",iconSize:24,listItemClassName:"body1 text-text",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3"}),a&&e("div",{children:a}),d.length>0&&e("div",{className:"flex gap-4",children:null==d?void 0:d.map((t,n)=>e("div",{className:"image-link w-[147px]",children:e(wr,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e(ap,{src:t.image,alt:"icon-link"})})},n))}),(f||m)&&t("div",{className:"flex w-full flex-col gap-4 xl:flex-row",children:[f&&e("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e(Wd,{...f,disableAnimation:void 0===T?f.disableAnimation:!T,fullWidth:!0,size:{base:"large"},renderCheckPlans:E,onModalButtonClick:C,onClick:e=>null==A?void 0:A(e,"primary")})}),m&&e("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e(Wd,{...m,disableAnimation:void 0===T?m.disableAnimation:!T,fullWidth:!0,size:{base:"large"},renderCheckPlans:E,buttonClassName:"px-3 min-w-[260px]",onModalButtonClick:C,onClick:e=>null==A?void 0:A(e,"secondary")})})]})]}),t("aside",{className:"flex w-full flex-1 shrink-0 items-center justify-center lg:w-auto",children:[c&&!S&&e("div",{className:Ze(w?"overflow-hidden rounded-image":"relative aspect-[16/9] w-full overflow-hidden rounded-image lg:h-[486px] xl:aspect-square xl:max-h-[486px] xl:w-[486px]"),children:e(pi,{src:c,alt:null!=u?u:"section-image",priority:I,fill:!w,width:w?y||660:void 0,height:w?x||660:void 0,sizes:"(max-width: 430px) 100vw, (max-width: 834px) 100vw, 50vw",className:Ze(w?"w-full":"object-cover")})}),e(mi,{videoLink:g,imageWidth:y,imageHeight:x,useOriginalImageAspectRatio:w,isAboveTheFold:I,onVideoEvent:N})]})]})}),s&&e("div",{className:"mt-10 flex justify-center xl:mt-18",children:e("div",{children:s})})]})},yp=({link:n,anchorName:r,linkColorClassName:o})=>{const[s,l]=i.useState(!1),c=i.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()};a(()=>(document.addEventListener("click",n),()=>{document.removeEventListener("click",n)}))})(c,()=>l(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e(Wd,{...n,linkClassName:Ze("body3 flex items-center h-full",o||"text-text"),linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:u,title:d,items:p}=n,h=Array.isArray(null==p?void 0:p.items)?p.items:[],m=`--link-anchor-${r}`;return t("div",{className:"relative h-full",style:{anchorName:m},ref:c,children:[t(Wd,{onClick:()=>l(e=>!e),"aria-expanded":s,buttonClassName:Ze("group body3 flex items-center h-full",o||"text-text"),showButtonAs:"unstyled",children:[e(br,{as:"span",className:"group-hover:underline",children:null!=d?d:null}),e(gr,{weight:"200",size:24,className:"group-hover:opacity-50 text-icon-secondary",name:s?"keyboard_arrow_up":"keyboard_arrow_down"})]},u),e("div",{className:Ze("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",s&&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)",left:"calc((anchor(left) + anchor(right)) / 2)",translate:"-50% 0"},children:e("ul",{className:"flex flex-col gap-2 py-2",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&l(!1)},children:h.map((t,n)=>e("li",{className:"submenu-link type1",children:e(Wd,{...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}`))})})]})},xp=({link:r})=>{const[o,a]=i.useState(!1);if(!r)return null;if((e=>"string"==typeof e.href)(r))return e(Wd,{...r,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${r.anchorId}`);const{anchorId:s,title:l,items:c}=r,u=Array.isArray(null==c?void 0:c.items)?c.items:[];return t(n,{children:[t(Wd,{onClick:()=>a(e=>!e),"aria-expanded":o,buttonClassName:" label3 flex items-center w-full h-11 px-4",showButtonAs:"unstyled",children:[null!=l?l:null,e(gr,{weight:"200",size:24,className:"group-hover:opacity-50 text-icon-secondary",name:o?"keyboard_arrow_up":"keyboard_arrow_down"})]},s),o&&u.length>0&&e(wp,{items:u})]})},wp=({items:t})=>e("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e("li",{className:"submenu-link type2",children:e(Wd,{...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}`),Ip=n=>{const{showBlinkDot:r=!1,buttonStyle:i="primary",size:o="md",children:a,className:s,prefix:l,containerClassName:c,...u}=n,d=t(wr,{...u,className:Ze("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[o],{primary:"border-[0.727px] border-border text-text"}[i],s),children:[r?e("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[o]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[o]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e("span",{className:Ze("relative inline-flex items-center justify-center rounded-full bg-icon-brand",{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[o]),children:e(gr,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[o],className:"text-white"})}),e("span",{className:"font-normal tracking-wide",children:a})]});return null==l||!1===l||""===l?d:t("span",{className:Ze("flex items-center gap-2",c),children:["string"==typeof l||"number"==typeof l?e("span",{className:"text-sm font-normal text-text",children:l}):l,d]})};Ip.displayName="CallButton";const Cp=o((n,r)=>{const{className:i,size:o,required:a,placeholder:s,label:l,state:u,errorText:d,prefixIconName:p,prefixIconFill:h=!0,suffixIconFill:m=!1,prefixIconSize:g=24,suffixIconName:b,suffixIconSize:v=24,containerClassName:y,prefixIconClassName:x,loading:w,hasError:I,type:C,...A}=n,N=I?"error":u,[E,T]=c(!1),[S,k]=c(!1),[P,B]=c(C||"text"),L=f(e=>{e.stopPropagation(),B(e=>"password"===e?"text":"password")},[]);return t("div",{className:"relative",children:[l?e("label",{htmlFor:l,className:Ze("inline-block pb-1"),children:t(br,{as:"span",className:"footnote text-text",children:[l,a?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:Ze("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]"}[o||"medium"],y,(E||"hover"===N)&&!S&&"error"!==N&&"border-input-border-hover",(S||"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:[p?e("div",{className:"mr-1",style:{width:g,height:g,overflow:"hidden"},children:e(gr,{name:p,fill:h?1:0,size:g,className:Ze(x)})}):null,e("input",{ref:r,id:l,disabled:w||A.disabled,className:Ze("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===o&&"text-body3",i),placeholder:s,type:P,...A,onMouseOver:()=>T(!0),onMouseOut:()=>T(!1),onFocus:e=>{var t;null===(t=A.onFocus)||void 0===t||t.call(A,e),k(!0)},onBlur:e=>{var t;null===(t=A.onBlur)||void 0===t||t.call(A,e),k(!1)}}),b?e("div",{className:"ml-2",style:{width:v,height:v,overflow:"hidden"},onClick:L,children:e(gr,{name:"text"===P?"visibility":"visibility_off",size:v,fill:m?1:0})}):null]}),"error"===N&&d&&""!=d?t(br,{className:Ze("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(gr,{name:"info",size:20,className:"mr-1"}),d||"Error"]}):null]})});Cp.displayName="Input";const Ap=r=>{var i,o,a;const{primaryNavigationLinks:s,utilityNavigationLinks:l,checkPlansJSX:c,primaryNavigationLogo:u,accountNavigationLinks:d,supportNavigationLinks:p,searchBarIcon:h,invocaPhoneNumberLink:m,invocaPhoneNumberDisplayText:f,callNowCtaText:g,displayCartIcon:b,cartHref:v,cartHasRetention:y,cartIconAriaLabel:x="Cart",onCallClickDesktop:w,onCallClickMobile:I,onCartClick:C,onSearch:A=()=>{},utilityNavActiveIndex:N,primaryNavigationLogoWidth:E=76.5,primaryNavigationLogoHeight:T=24,hideMobileCallButton:S=!1,displayUtilityNavigation:k=!0,displaySearchBar:P=!0,displayCallNowCta:B=!0,showCallButton:L=!0,showCallNowCtaInMainNav:R=!1,showMobileSliderMenu:O=!0,enableHamburgerNavigationOnDesktop:G=!1,callNowCtaIcon:M,navigationBackgroundColor:D,navigationLinkColor:V}=r,j="string"==typeof u?u:(null==u?void 0:u.url)||"",H=D?D.includes("-")||D.startsWith("bg-")?D:`bg-secondary-${D}`:"bg-secondary-navy500",F="string"==typeof M?M:(null==M?void 0:M.url)||"",W=n=>t(wr,{href:m||"#",onClick:n,className:"bg-secondary-gray100 text-secondary-navy500 inline-flex h-8 items-center rounded-full pl-1 pr-2 no-underline shadow-none","aria-label":f?`Call ${f}`:"Call now",children:[F?e(pi,{src:F,alt:"Call us",width:24,height:24,className:"mr-2 self-center rounded-full"}):null,e(br,{as:"span",className:"text-secondary-navy500 footnote",children:f})]}),X=(null!==(i=null==s?void 0:s.length)&&void 0!==i?i:0)>0||(null!==(o=null==p?void 0:p.length)&&void 0!==o?o:0)>0||(null!==(a=null==d?void 0:d.length)&&void 0!==a?a:0)>0,z=G?void 0:"lg:hidden",Z=G?"hidden":"hidden lg:block";return t("div",{className:"component-container",children:[t("nav",{className:"menu-container z-[1000]",children:[k?e("div",{className:Ze("utility-container lg:border-b lg:px-2",G?"hidden":"hidden lg:block"),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==l?void 0:l.map((t,n)=>e("li",{children:e(Wd,{linkClassName:Ze("footnote flex items-center text-text w-full h-11","number"!=typeof N?1===n&&"label4":N===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:[B?e(Ip,{className:"border-none",href:m,prefix:g,onClick:w,children:e(br,{className:"body3 text-text",children:f})}):null,b?t(wr,{href:v||"#",className:"relative inline-flex cursor-pointer","aria-label":x,onClick:C,children:[e(gr,{name:"shopping_cart"}),y&&e("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"})]}):null,null==d?void 0:d.map((t,n)=>e(yp,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}):null,t("div",{className:Ze("main-nav-container",H,V),"aria-label":"Main Navigation",children:[t("div",{className:Ze("mobile-nav-section flex h-14 items-center justify-between border border-b px-5 py-[10px]",z),children:[e("div",{children:j?e(wr,{href:"/",className:"flex",children:e(pi,{src:j,alt:"Kinetic business logo",width:E,height:T})}):null}),e("div",{className:"flex items-center gap-6",children:O?t(n,{children:[L&&!S?e(Ip,{href:m,onClick:I,children:e(br,{as:"span",className:"footnote",children:f})}):null,b?t(wr,{href:v||"#",className:"relative inline-flex cursor-pointer","aria-label":x,onClick:C,children:[e(gr,{name:"shopping_cart"}),y?e("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,X?e(Np,{...r}):null]}):L?W(I):null})]}),e("div",{className:Ze("desktop-nav-section lg:border-b lg:px-2",Z),children:t("div",{className:"mx-auto flex h-14 max-w-120 items-center justify-between",children:[t("div",{className:"flex h-full",children:[j?e(wr,{href:"/",className:"flex",children:e(pi,{src:j,alt:"Kinetic business logo",width:E,height:T,className:"mr-[64px]"})}):null,e("div",{className:"flex h-full items-center gap-6",children:null==s?void 0:s.map((t,n)=>e(yp,{anchorName:`main-menu-${n}`,link:t,linkColorClassName:V},`main-menu-${n}`))})]}),t("div",{className:"flex h-full items-center gap-10",children:[!R||k&&B?null:W(w),P?e(Tp,{searchBarIconURL:"string"==typeof h?h:(null==h?void 0:h.url)||"",onSearch:A}):null,null==p?void 0:p.map((t,n)=>e(yp,{anchorName:`support-menu-${n}`,link:t,linkColorClassName:V},`support-menu-${n}`))]})]})})]})]}),c&&e("div",{className:"md:hidden",children:c})]})},Np=n=>{var r;const{primaryNavigationLinks:o,utilityNavigationLinks:a,supportNavigationLinks:s,accountNavigationLinks:l,showCallButton:c,displayCallNowCta:u,displaySearchBar:d}=n,[p,h]=i.useState(!1);i.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=p?"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],i=e=>{var t,i,o,a;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(i=(t=r).focus)||void 0===i||i.call(t),e.preventDefault()):document.activeElement===r&&(null===(a=(o=n).focus)||void 0===a||a.call(o),e.preventDefault()))};return window.addEventListener("keydown",i),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",i)}},[p]);const m=()=>{h(!1)};return t("div",{children:[e(Wd,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>h(!0),children:e(gr,{name:"menu"})}),p?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:Ze("fixed bottom-0 right-0 top-0","z-[100] h-full bg-bg px-0 py-4 text-text","transition-all duration-300 ease-in-out","block",p?"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:Ze("flex items-center px-4",!1!==c||!1!==u?"justify-between":"justify-end"),children:[!1!==c||!1!==u?e("div",{children:e(Ip,{className:"border-none",href:n.invocaPhoneNumberLink,onClick:n.onCallClickMobile,children:n.invocaPhoneNumberDisplayText})}):null,e("div",{children:e(Wd,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:m,children:e(gr,{name:"close"})})})]}),!1!==d?e(Ep,{closeMenu:m,isMenuOpen:p,searchBarIconURL:"string"==typeof n.searchBarIcon?n.searchBarIcon:(null===(r=n.searchBarIcon)||void 0===r?void 0:r.url)||"",onSearch:n.onSearch||(()=>{})}):null,t("div",{className:"flex-grow overflow-y-auto",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&m()},children:[e("ul",{className:"mt-2 flex flex-col gap-2",children:[...o||[],...s||[],...l||[]].map((t,n)=>e("li",{children:e(xp,{link:t})},`main-menu-items-${n}`))}),e("ul",{className:"mt-2 flex gap-5 bg-bg-fill-info px-4",children:null==a?void 0:a.map((t,r)=>e("li",{children:e(Wd,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:Ze("footnote flex items-center w-full h-11 text-text-link","number"!=typeof n.utilityNavActiveIndex?1===r&&"label4":n.utilityNavActiveIndex===r&&"label4"),linkVariant:"unstyled"},`utility-submenu-link-btn-${t.anchorId}`)},`utility-menu-items-${r}`))})]})]})})]})},Ep=n=>{const{closeMenu:r,onSearch:o,isMenuOpen:a,searchBarIconURL:s}=n,[l,c]=i.useState(""),u=i.useRef(null),d=e=>{r(),e.preventDefault(),o(l)};return i.useEffect(()=>{a||c("")},[a]),t("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:d,children:[e(pi,{src:s,width:32,height:32,className:"ml-2",alt:"Search icon",role:"button",onClick:d}),e("div",{className:"flex-grow",children:e(Cp,{ref:u,className:"body3 h-[34px] rounded-none px-3 text-text",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"})})]})},Tp=n=>{const{searchBarIconURL:r,onSearch:o}=n,[a,s]=i.useState(""),l=i.useRef(null),c=e=>{e.preventDefault(),o(a)};return t("form",{name:"searchForm",className:"flex h-9 w-60 rounded-input-xl border px-1 transition-colors focus-within:border-border-focus",onSubmit:c,children:[e(pi,{src:r,width:32,height:32,alt:"Search icon",role:"button",onClick:c}),e(Cp,{ref:l,type:"text",name:"search",placeholder:"Search...",value:a,onChange:e=>s(e.target.value),className:"body3 rounded-full px-3 text-text",containerClassName:"px-0 h-full border-none rounded-full",autoComplete:"off"})]})},Sp=r=>{var i,o,a;const{title:s,showAsHeading:l,subTitle:c,primaryCta1:u,primaryCta2:d,carouselImages:p,bottomLink:h,price:m,priceCallout:f,priceSuffix:g,checklist:b,renderCheckPlans:v,badgeImage:y,pricingDescription:x,pricingDescriptionDisclaimer:w,secondaryCta:I,secondaryCtaPrefix:C,onModalButtonClick:A,hideOnMobileCta1:N,hideOnMobileCta2:E,textColor:T="light",logoLockup:S,heroVideo:k,heroVideoMobile:P}=r,B=e=>{var t;const n=null!==(t=null==e?void 0:e.showButtonAs)&&void 0!==t?t:"solid";return"solid"===n||"button-with-icon"===n||"unstyled"===n},L=u&&d&&B(u)&&B(d),R=null===(i=null==k?void 0:k.url)||void 0===i?void 0:i.trim(),O=null===(o=null==P?void 0:P.url)||void 0===o?void 0:o.trim(),G=!!R,M=!!O,D=e=>(null==e?void 0:e.startsWith("//"))?`https:${e}`:e,V=D(y),j=D(null==p?void 0:p[0]),H=null!==(a=null==h?void 0:h.buttonLabel)&&void 0!==a?a:null==h?void 0:h.label,F="dark"===T?"text-text":"text-white",W=G&&"dark"===T?`${F} xl:text-white`:F,X=({className:t})=>V?e(pi,{src:V,alt:"Badge",className:t,width:208,height:208,quality:90,loading:"eager"}):null;return t("div",{className:"component-container relative overflow-hidden p-4 sm:px-6 sm:py-12 xl:flex xl:min-h-[724px] xl:items-center xl:px-4",children:[G?e("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto","aria-label":(null==k?void 0:k.title)||s||"Hero background video",className:"absolute inset-0 z-0 hidden h-full w-full object-fill xl:block","data-testid":"hero-background-video-desktop",children:e("source",{src:R,type:"video/mp4"})}):null,t("div",{className:Ze("primary-hero-container relative z-10 mx-auto flex w-full max-w-[626px] flex-col sm:items-center sm:text-center xl:h-full xl:max-w-120 xl:flex-row xl:items-center xl:justify-between xl:gap-4 xl:text-left"),children:[e("div",{className:Ze(`relative flex flex-col ${W} w-full xl:w-[486px]`),children:t("div",{className:"flex flex-col gap-5 lg:gap-6",children:[s&&e(br,{as:l?"h1":"h2",className:"heading2 lg:heading1",children:s}),c&&e(br,{as:"p",className:"subheading3",children:c}),m?t("div",{className:"flex sm:justify-center sm:text-left lg:justify-start",children:[e("div",{className:"mr-2 mt-0.5",children:f?f.split("|").map((t,n)=>e(br,{as:"p",className:"body2",children:t},n)):null}),t("div",{className:"flex",children:[e(br,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e(br,{as:"p",className:"subheading5",children:m}),g?e(br,{as:"p",className:"subheading1 mt-0.5",children:g}):null]})]}):null,x?e(br,{"data-cy":"hero-pricing-description",className:Ze("subheading1","text-left sm:text-center xl:text-left"),children:x}):null,w?e(br,{"data-cy":"hero-pricing-disclaimer",as:"p",className:Ze("body3","text-left sm:text-center xl:text-left"),children:w}):null,b&&e(vr,{listItemClassName:`body2 text-left ${W}`,items:b.map(e=>e.iconUrl?{title:e.title,iconUrl:e.iconUrl}:e.title)}),S?e("div",{className:"text-left sm:text-center xl:mb-0 xl:text-left",children:e(pi,{src:S,alt:"Logo Lockup",className:"inline-block",width:201,height:24,quality:90,loading:"eager"})}):null,t("div",{className:"flex flex-col gap-3",children:[L?t("div",{className:"flex flex-col justify-center gap-3 sm:flex-row sm:gap-4 xl:justify-start",children:[e("div",{className:Ze(N&&"hidden md:block"),children:e(Wd,{...u,renderCheckPlans:v,onModalButtonClick:A,fullWidth:!0,size:{base:"large"},buttonClassName:"md:w-auto text-center"})}),e("div",{className:Ze(E&&"hidden md:block"),children:e(Wd,{...d,renderCheckPlans:v,onModalButtonClick:A,fullWidth:!0,size:{base:"large"},buttonClassName:"md:w-auto text-center"})})]}):t(n,{children:[u&&e("div",{className:Ze("md:block",N&&"hidden"),children:e(Wd,{...u,renderCheckPlans:v,onModalButtonClick:A,fullWidth:!0,buttonClassName:"lg:w-auto text-center"})}),d&&e("div",{className:Ze("md:block",E&&"hidden"),children:e(Wd,{...d,renderCheckPlans:v,onModalButtonClick:A,fullWidth:!0,buttonClassName:"lg:w-auto text-center"})})]}),C||I?t("div",{className:"hidden lg:flex",children:[C&&"check availability"!==(null==I?void 0:I.preDefinedFunctionExecution)&&e(br,{as:"span",className:"body2 mr-1",children:C}),I&&e(Wd,{...I,linkClassName:`body2 ${W}`,renderCheckPlans:v,onModalButtonClick:A})]}):null,h&&(H||(null==h?void 0:h.href))&&e("div",{className:"hidden lg:block",children:e(Wd,{...h,linkClassName:`text-footnote ${W}`,renderCheckPlans:v,onModalButtonClick:A})})]})]})}),t("div",{className:"w-full xl:hidden",children:[e("div",{className:"relative my-8",children:M?t("div",{className:"relative",children:[e("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto","aria-label":(null==P?void 0:P.title)||s||"Hero video",className:"h-[350px] w-full rounded-[40px] object-cover object-center sm:h-[420px] md:h-[520px]","data-testid":"hero-video-mobile",children:e("source",{src:O,type:"video/mp4"})}),e(X,{className:"absolute left-5 top-5 z-10 aspect-square w-26 object-cover object-center"})]}):t(n,{children:[y?e(pi,{src:V||"",alt:"Badge",className:"absolute left-5 top-5 aspect-square w-26 object-cover object-center",width:104,height:104,quality:90,loading:"eager"}):null,j?e(pi,{src:j,alt:"Hero",className:"h-[205px] w-full rounded-[40px] object-cover object-center sm:h-[420px]",width:1024,height:600,sizes:"100vw",quality:90,loading:"eager"}):null]})}),C||I?t("div",{className:`flex flex-wrap items-center ${W} lg:hidden`,children:[C&&!(null==I?void 0:I.preDefinedFunctionExecution)&&e(br,{as:"span",className:"body2 mr-1",children:C}),I&&e(Wd,{...I,renderCheckPlans:v,onModalButtonClick:A,linkClassName:`${W}`})]}):null,h&&(H||(null==h?void 0:h.href))&&e("div",{className:"flex lg:hidden",children:e(Wd,{...h,renderCheckPlans:v,onModalButtonClick:A,linkClassName:`body3 ${W}`})})]}),t("div",{className:Ze("relative hidden xl:block",G&&"h-[584px] w-[584px]"),children:[e(X,{className:"absolute -left-[114px] top-[62px] z-10 aspect-square w-[200px] object-cover object-center"}),!G&&j?e(pi,{src:j,alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:584,height:584,quality:90,loading:"eager"}):null]})]})]})};function kp(t,n){const r=Array.isArray(t)?t:[t],i=Math.min(n,r.length);return e("div",{className:"flex flex-col py-7",children:e("div",{className:"flex shrink-0 basis-0 flex-row gap-16 md:gap-20",children:[...new Array(i)].map((t,n)=>e("ul",{className:"flex flex-col gap-5",style:{width:"172px"},children:r.slice(n*Math.ceil(r.length/i),(n+1)*Math.ceil(r.length/i)).map((t,r)=>e("li",{children:t},`ordered-item-${n}-${r}`))},`ordered-col-${n}`))})})}function Pp({items:r,currentTabIndex:i,subitemColCount:o,onTabClick:a}){return t(n,{children:[e("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e("div",{className:"flex w-max gap-10",children:r.map((t,n)=>e(Wd,{showButtonAs:"unstyled",onClick:()=>a(n,t.anchorId||""),buttonClassName:Ze("py-2 whitespace-nowrap",n===i?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},n))})}),r.map((t,n)=>e("div",{children:e(Gd,{children:e(Sd.div,{initial:{height:0,opacity:0},animate:{height:n===i?"auto":0,opacity:n===i?1:0},exit:{height:0,opacity:0},transition:{duration:.3},className:Ze("overflow-hidden",n===i?"block":"hidden"),id:t.anchorId||`tab-${n}`,children:e("div",{className:"px-5 py-4 md:px-10",children:kp(t.tabContent,o)})})})},n))]})}function Bp({items:n,currentTabIndex:r,subitemColCount:i,onTabClick:o,setCurrentTabIndex:a}){return e("div",{className:"flex w-full flex-col",children:n.map((n,s)=>t("div",{children:[t("button",{onClick:()=>s===r?a(-1):o(s,n.anchorId||""),className:Ze("flex w-full items-center justify-between px-5 py-4 text-text md:px-10",s===r?"bg-bg-surface-hover":""),children:[e("span",{className:"heading6",children:n.tabName}),e(gr,{name:s===r?"keyboard_arrow_up":"keyboard_arrow_down",className:"text-text",size:40})]}),e(Gd,{children:e(Sd.div,{initial:{height:0,opacity:0},animate:{height:s===r?"auto":0,opacity:s===r?1:0},exit:{height:0,opacity:0},transition:{duration:.3},className:Ze("overflow-hidden",s===r?"block":"hidden"),id:n.anchorId||`tab-${s}`,children:e("div",{className:"px-5 py-4 md:px-10",children:kp(n.tabContent,i)})})})]},s))})}function Lp({items:n,currentTabIndex:r,subitemColCount:i,onTabClick:o}){return t("div",{className:"flex gap-10 px-5 py-20",children:[e("div",{className:"flex-shrink-0",children:e("div",{className:"flex min-w-[320px] gap-4 rounded-[20px] border-2 px-6 py-7 shadow-lg",children:[...new Array(Math.min(2,n.length))].map((t,i)=>{const a=Math.ceil(n.length/2);return e("div",{className:"flex flex-1 flex-col gap-4",children:n.slice(i*a,(i+1)*a).map((t,n)=>{const s=i*a+n;return e("button",{onClick:()=>o(s,t.anchorId||""),className:Ze("label1 whitespace-nowrap rounded-lg px-4 py-3 text-left",s===r?"bg-bg-inverse text-white":"text-text"),children:t.tabName},s)})},`tab-col-${i}`)})})}),e("div",{className:"w-full",children:n.map((t,n)=>e("div",{children:e(Gd,{children:e(Sd.div,{initial:{opacity:0,y:20},animate:{opacity:n===r?1:0,y:n===r?0:20},exit:{opacity:0,y:-20},transition:{duration:.3},className:Ze("overflow-hidden pl-10 xl:pl-20",n===r?"block":"hidden"),id:t.anchorId||`tab-${n}`,children:kp(t.tabContent,i)})})},n))})]})}function Rp({items:r,currentTabIndex:i,onTabClick:o}){return t(n,{children:[e("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e("div",{className:"flex w-max gap-10",children:r.map((t,n)=>e(Wd,{showButtonAs:"unstyled",onClick:()=>o(n,t.anchorId),buttonClassName:Ze("py-2 whitespace-nowrap",n===i?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},n))})}),r.map((t,n)=>e("div",{children:e(Gd,{children:e(Sd.div,{initial:{height:0,opacity:0},animate:{height:n===i?"auto":0,opacity:n===i?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t.tabContent})})},n))]})}function Op({items:r,currentTabIndex:i,onTabClick:o}){return e(n,{children:r.map((n,r)=>t("div",{className:"py-5",children:[t(Wd,{showButtonAs:"unstyled",onClick:()=>o(r,n.anchorId),buttonClassName:Ze("w-full flex justify-between items-center px-4 py-5",r===i?"bg-bg-surface-active":""),children:[e("span",{className:"heading6",children:n.tabName}),e(gr,{name:r===i?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e(Pi,{open:r===i,children:e("div",{className:Ze("px-4 py-4"),children:n.tabContent})})]},r))})}function Gp({items:n,currentTabIndex:r,onTabClick:i}){return t("div",{className:"flex px-5 py-20",children:[e("div",{className:"rounded-surface-lg border border-border-secondary shadow-lg",children:e("div",{className:"flex min-w-80 flex-col gap-4 px-6 py-7",children:n.map((t,n)=>e(Wd,{showButtonAs:"unstyled",onClick:()=>i(n,t.anchorId),buttonClassName:Ze("px-4 py-3 whitespace-nowrap text-left rounded-button-sm",n===r?"label1 text-white bg-bg-inverse":"body1"),children:t.tabName},n))})}),e("div",{className:"grow",children:n.map((t,n)=>e("div",{children:e(Gd,{children:e(Sd.div,{initial:{height:0,opacity:0},animate:{height:n===r?"auto":0,opacity:n===r?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t.tabContent})})},n))})]})}function Mp(r){var i;const[o,s]=c(0),[l,u]=c(""),[d,p]=c(2),{title:h,subTitle:m,tabs:f,navigationType:g=!0,mobileSidebarTabType:b=!0,dynamic:v=!1,isOrderedList:y=!1}=r,x=null!==(i=null==f?void 0:f.items)&&void 0!==i?i:[];a(()=>{if("undefined"!=typeof window){u(window.location.hash);const e=()=>{u(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}},[]),a(()=>{var e;null===(e=null==f?void 0:f.items)||void 0===e||e.some((e,t)=>{if(`#${(null==e?void 0:e.anchorId)||"tab-"+t}`===l)return s(t),!0})},[f,l]),a(()=>{if(!v)return;const e=()=>{if("undefined"==typeof window)return;const e=window.innerWidth;p(e<=640?2:e>750||e<=768?3:e<=1024?2:3)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[v]);const w=(e,t)=>{s(e),"undefined"!=typeof window&&l&&(window.location.hash=t||"")};return t("div",{children:[h||m?t("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[h?e(br,{className:"heading2 px-5 md:heading1 md:text-center",children:h}):null,m?e(br,{className:"subheading3 px-5 md:subheading1 md:text-center",children:m}):null]}):null,t(n,v&&y?{children:[e("div",{className:"lg:hidden",children:b?e(Pp,{items:x,currentTabIndex:o,subitemColCount:d,onTabClick:w}):e(Bp,{items:x,currentTabIndex:o,subitemColCount:d,onTabClick:w,setCurrentTabIndex:s})}),e("div",{className:"hidden lg:block",children:e(g?Pp:Lp,{items:x,currentTabIndex:o,subitemColCount:d,onTabClick:w})})]}:{children:[e("div",{className:"md:hidden",children:e(b?Rp:Op,{items:x,currentTabIndex:o,onTabClick:w})}),e("div",{className:"hidden md:block",children:e(g?Rp:Gp,{items:x,currentTabIndex:o,onTabClick:w})})]})]})}const Dp=({anchorId:n,backgroundColor:r="white",title:i,description:o,tabs:a})=>{const s=e=>e.split(" ").map(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(" "),l=(t,n)=>t.itemSlug?e(wr,{href:t.itemSlug,title:t.itemName.toUpperCase(),className:"flex items-center underline underline-offset-4",children:e(br,{className:"body1 relative cursor-pointer text-left font-semibold leading-7",children:s(t.itemName)})},`ordered-item-${n}`):e(br,{className:"body1 relative text-left font-semibold leading-7",children:s(t.itemName)},`ordered-item-${n}`),c={items:a.map((e,t)=>({tabName:e.items.tabName,anchorId:`tab-${t}`,tabContent:e.items.tabContent.map(l)}))};return e("section",{className:`bg-secondary-${r}`,"data-testid":"non-fiber-city-list",id:n,children:t("div",{className:"mx-auto w-full max-w-120 px-0 py-12 md:px-6 md:py-20 lg:px-3",children:[t("div",{className:"mb-11 px-4 md:px-0",children:[e(br,{as:"h2",className:"heading2 text-center md:heading1",children:i}),e(br,{as:"h3",className:"subheading3 mt-2 text-center md:subheading1",children:o})]}),e("div",{className:"section-body",children:c.items.length>0?e("div",{children:e(Mp,{dynamic:!0,isOrderedList:!0,tabs:c,navigationType:!1,mobileSidebarTabType:!1})}):null})]})})},Vp=({fields:t})=>e("div",{children:e(br,{children:"Text Block"})}),jp={closed:{opacity:0},open:{opacity:1}},Hp={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},Fp={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"};function Wp(){return Wp=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},Wp.apply(null,arguments)}function Xp(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 zp(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function Zp(...e){return f(zp(...e),e)}function _p(...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 l(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}const Yp=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?p:()=>{},Jp=r["useId".toString()]||(()=>{});let Up=0;function $p(e){const[t,n]=r.useState(Jp());return Yp(()=>{n(e=>null!=e?e:String(Up++))},[e]),e||(t?`radix-${t}`:"")}function Kp(e){const t=s(e);return a(()=>{t.current=e}),l(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function Qp({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=function({defaultProp:e,onChange:t}){const n=c(e),[r]=n,i=s(r),o=Kp(t);return a(()=>{i.current!==r&&(o(r),i.current=r)},[r,i,o]),n}({defaultProp:t,onChange:n}),o=void 0!==e,l=o?e:r,u=Kp(n);return[l,f(t=>{if(o){const n="function"==typeof t?t(e):t;n!==e&&u(n)}else i(t)},[o,e,i,u])]}const qp=o((e,t)=>{const{children:n,...r}=e,i=v.toArray(n),o=i.find(nh);if(o){const e=o.props.children,n=i.map(t=>t===o?v.count(e)>1?v.only(null):y(e)?e.props.children:null:t);return u(eh,Wp({},r,{ref:t}),y(e)?b(e,void 0,n):null)}return u(eh,Wp({},r,{ref:t}),n)});qp.displayName="Slot";const eh=o((e,t)=>{const{children:n,...r}=e;return y(n)?b(n,{...rh(r,n.props),ref:t?zp(t,n.ref):n.ref}):v.count(n)>1?v.only(null):null});eh.displayName="SlotClone";const th=({children:e})=>u(x,null,e);function nh(e){return y(e)&&e.type===th}function rh(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}const ih=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=o((e,n)=>{const{asChild:r,...i}=e,o=r?qp:t;return a(()=>{window[Symbol.for("radix-ui")]=!0},[]),u(o,Wp({},i,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});const oh="dismissableLayer.update",ah="dismissableLayer.pointerDownOutside",sh="dismissableLayer.focusOutside";let lh;const ch=d({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),uh=o((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:l,onInteractOutside:d,onDismiss:p,...m}=e,f=h(ch),[g,b]=c(null),v=null!==(n=null==g?void 0:g.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,y]=c({}),x=Zp(t,e=>b(e)),w=Array.from(f.layers),[I]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),C=w.indexOf(I),A=g?w.indexOf(g):-1,N=f.layersWithOutsidePointerEventsDisabled.size>0,E=A>=C,T=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Kp(e),r=s(!1),i=s(()=>{});return a(()=>{const e=e=>{if(e.target&&!r.current){const o={originalEvent:e};function a(){ph(ah,n,o,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=a,t.addEventListener("click",i.current,{once:!0})):a()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{const t=e.target,n=[...f.branches].some(e=>e.contains(t));E&&!n&&(null==o||o(e),null==d||d(e),e.defaultPrevented||null==p||p())},v),S=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Kp(e),r=s(!1);return a(()=>{const e=e=>{if(e.target&&!r.current){ph(sh,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;[...f.branches].some(e=>e.contains(t))||(null==l||l(e),null==d||d(e),e.defaultPrevented||null==p||p())},v);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Kp(e);a(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{A===f.layers.size-1&&(null==i||i(e),!e.defaultPrevented&&p&&(e.preventDefault(),p()))},v),a(()=>{if(g)return r&&(0===f.layersWithOutsidePointerEventsDisabled.size&&(lh=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(g)),f.layers.add(g),dh(),()=>{r&&1===f.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=lh)}},[g,v,r,f]),a(()=>()=>{g&&(f.layers.delete(g),f.layersWithOutsidePointerEventsDisabled.delete(g),dh())},[g,f]),a(()=>{const e=()=>y({});return document.addEventListener(oh,e),()=>document.removeEventListener(oh,e)},[]),u(ih.div,Wp({},m,{ref:x,style:{pointerEvents:N?E?"auto":"none":void 0,...e.style},onFocusCapture:Xp(e.onFocusCapture,S.onFocusCapture),onBlurCapture:Xp(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:Xp(e.onPointerDownCapture,T.onPointerDownCapture)}))});function dh(){const e=new CustomEvent(oh);document.dispatchEvent(e)}function ph(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?function(e,t){e&&T(()=>e.dispatchEvent(t))}(i,o):i.dispatchEvent(o)}const hh="focusScope.autoFocusOnMount",mh="focusScope.autoFocusOnUnmount",fh={bubbles:!1,cancelable:!0},gh=o((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...l}=e,[d,p]=c(null),h=Kp(i),m=Kp(o),g=s(null),b=Zp(t,e=>p(e)),v=s({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;a(()=>{if(r){function e(e){if(v.paused||!d)return;const t=e.target;d.contains(t)?g.current=t:xh(g.current,{select:!0})}function t(e){if(v.paused||!d)return;const t=e.relatedTarget;null!==t&&(d.contains(t)||xh(g.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&xh(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()}}},[r,d,v.paused]),a(()=>{if(d){wh.add(v);const t=document.activeElement;if(!d.contains(t)){const n=new CustomEvent(hh,fh);d.addEventListener(hh,h),d.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(xh(r,{select:t}),document.activeElement!==n)return}((e=bh(d),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&xh(d))}return()=>{d.removeEventListener(hh,h),setTimeout(()=>{const e=new CustomEvent(mh,fh);d.addEventListener(mh,m),d.dispatchEvent(e),e.defaultPrevented||xh(null!=t?t:document.body,{select:!0}),d.removeEventListener(mh,m),wh.remove(v)},0)}}var e},[d,h,m,v]);const y=f(e=>{if(!n&&!r)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,[r,o]=function(e){const t=bh(e),n=vh(t,e),r=vh(t.reverse(),e);return[n,r]}(t);r&&o?e.shiftKey||i!==o?e.shiftKey&&i===r&&(e.preventDefault(),n&&xh(o,{select:!0})):(e.preventDefault(),n&&xh(r,{select:!0})):i===t&&e.preventDefault()}},[n,r,v.paused]);return u(ih.div,Wp({tabIndex:-1},l,{ref:b,onKeyDown:y}))});function bh(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 vh(e,t){for(const n of e)if(!yh(n,{upTo:t}))return n}function yh(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 xh(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 wh=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=Ih(e,t),e.unshift(t)},remove(t){var n;e=Ih(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function Ih(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const Ch=o((e,t)=>{var n;const{container:r=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...i}=e;return r?E.createPortal(u(ih.div,Wp({},i,{ref:t})),r):null});const Ah=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=c(),r=s({}),i=s(e),o=s("none"),l=e?"mounted":"unmounted",[u,d]=function(e,t){return w((e,n)=>{const r=t[e][n];return null!=r?r:e},e)}(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return a(()=>{const e=Nh(r.current);o.current="mounted"===u?e:"none"},[u]),Yp(()=>{const t=r.current,n=i.current;if(n!==e){const r=o.current,a=Nh(t);if(e)d("MOUNT");else if("none"===a||"none"===(null==t?void 0:t.display))d("UNMOUNT");else{d(n&&r!==a?"ANIMATION_OUT":"UNMOUNT")}i.current=e}},[e,d]),Yp(()=>{if(t){const e=e=>{const n=Nh(r.current).includes(e.animationName);e.target===t&&n&&T(()=>d("ANIMATION_END"))},n=e=>{e.target===t&&(o.current=Nh(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)}}d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:f(e=>{e&&(r.current=getComputedStyle(e)),n(e)},[])}}(t),i="function"==typeof n?n({present:r.isPresent}):v.only(n),o=Zp(r.ref,i.ref);return"function"==typeof n||r.isPresent?b(i,{ref:o}):null};function Nh(e){return(null==e?void 0:e.animationName)||"none"}Ah.displayName="Presence";let Eh=0;function Th(){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 Sh=function(){return Sh=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Sh.apply(this,arguments)};function kh(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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}"function"==typeof SuppressedError&&SuppressedError;var Ph="right-scroll-bar-position",Bh="width-before-scroll-bar";function Lh(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var Rh="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,Oh=new WeakMap;function Gh(e,t){var n,r,i,o=(n=null,r=function(t){return e.forEach(function(e){return Lh(e,t)})},(i=c(function(){return{value:n,callback:r,facade:{get current(){return i.value},set current(e){var t=i.value;t!==e&&(i.value=e,i.callback(e,t))}}}})[0]).callback=r,i.facade);return Rh(function(){var t=Oh.get(o);if(t){var n=new Set(t),r=new Set(e),i=o.current;n.forEach(function(e){r.has(e)||Lh(e,null)}),r.forEach(function(e){n.has(e)||Lh(e,i)})}Oh.set(o,e)},[e]),o}function Mh(e){return e}var Dh=function(e){var t=e.sideCar,n=kh(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 r.createElement(i,Sh({},n))};Dh.isSideCarExport=!0;var Vh=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=Mh);var n=[],r=!1,i={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 i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},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 i=n;n=[],i.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return i}(null);return t.options=Sh({async:!0,ssr:!1},e),t}(),jh=function(){},Hh=r.forwardRef(function(e,t){var n=r.useRef(null),i=r.useState({onScrollCapture:jh,onWheelCapture:jh,onTouchMoveCapture:jh}),o=i[0],a=i[1],s=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,h=e.sideCar,m=e.noIsolation,f=e.inert,g=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,y=kh(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=h,w=Gh([n,t]),I=Sh(Sh({},y),o);return r.createElement(r.Fragment,null,d&&r.createElement(x,{sideCar:Vh,removeScrollBar:u,shards:p,noIsolation:m,inert:f,setCallbacks:a,allowPinchZoom:!!g,lockRef:n}),s?r.cloneElement(r.Children.only(l),Sh(Sh({},I),{ref:w})):r.createElement(v,Sh({},I,{className:c,ref:w}),l))});Hh.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Hh.classNames={fullWidth:Bh,zeroRight:Ph};function Fh(){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 Wh=function(){var e=0,t=null;return{add:function(n){var r;0==e&&(t=Fh())&&(!function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),r=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(r)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Xh=function(){var e,t=(e=Wh(),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}},zh={left:0,top:0,right:0,gap:0},Zh=function(e){return parseInt(e||"",10)||0},_h=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return zh;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[Zh(n),Zh(r),Zh(i)]}(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])}},Yh=Xh(),Jh="data-scroll-locked",Uh=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body[").concat(Jh,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Ph," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(Bh," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(Ph," .").concat(Ph," {\n right: 0 ").concat(r,";\n }\n \n .").concat(Bh," .").concat(Bh," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(Jh,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},$h=function(){var e=parseInt(document.body.getAttribute(Jh)||"0",10);return isFinite(e)?e:0},Kh=function(e){var t=e.noRelative,n=e.noImportant,i=e.gapMode,o=void 0===i?"margin":i;r.useEffect(function(){return document.body.setAttribute(Jh,($h()+1).toString()),function(){var e=$h()-1;e<=0?document.body.removeAttribute(Jh):document.body.setAttribute(Jh,e.toString())}},[]);var a=r.useMemo(function(){return _h(o)},[o]);return r.createElement(Yh,{styles:Uh(a,!t,o,n?"":"!important")})},Qh=!1;if("undefined"!=typeof window)try{var qh=Object.defineProperty({},"passive",{get:function(){return Qh=!0,!0}});window.addEventListener("test",qh,qh),window.removeEventListener("test",qh,qh)}catch(e){Qh=!1}var em=!!Qh&&{passive:!1},tm=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])},nm=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),rm(e,n)){var r=im(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},rm=function(e,t){return"v"===e?function(e){return tm(e,"overflowY")}(t):function(e){return tm(e,"overflowX")}(t)},im=function(e,t){return"v"===e?function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]}(t):function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t)},om=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},am=function(e){return[e.deltaX,e.deltaY]},sm=function(e){return e&&"current"in e?e.current:e},lm=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},cm=0,um=[];var dm,pm=(dm=function(e){var t=r.useRef([]),n=r.useRef([0,0]),i=r.useRef(),o=r.useState(cm++)[0],a=r.useState(function(){return Xh()})[0],s=r.useRef(e);r.useEffect(function(){s.current=e},[e]),r.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(sm),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=r.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var r,o=om(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-o[0],c="deltaY"in e?e.deltaY:a[1]-o[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=nm(d,u);if(!p)return!0;if(p?r=d:(r="v"===d?"h":"v",p=nm(d,u)),!p)return!1;if(!i.current&&"changedTouches"in e&&(l||c)&&(i.current=r),!r)return!0;var h=i.current||r;return function(e,t,n,r){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),o=i*r,a=n.target,s=t.contains(a),l=!1,c=o>0,u=0,d=0;do{var p=im(e,a),h=p[0],m=p[1]-p[2]-i*h;(h||m)&&rm(e,a)&&(u+=m,d+=h),a=a.parentNode}while(!s&&a!==document.body||s&&(t.contains(a)||t===a));return c&&0===u?l=!0:c||0!==d||(l=!0),l}(h,t,e,"h"===h?l:c)},[]),c=r.useCallback(function(e){var n=e;if(um.length&&um[um.length-1]===a){var r="deltaY"in n?am(n):om(n),i=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,i=r,t[0]===i[0]&&t[1]===i[1]);var t,i})[0];if(i&&i.should)n.cancelable&&n.preventDefault();else if(!i){var o=(s.current.shards||[]).map(sm).filter(Boolean).filter(function(e){return e.contains(n.target)});(o.length>0?l(n,o[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=r.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=r.useCallback(function(e){n.current=om(e),i.current=void 0},[]),p=r.useCallback(function(t){u(t.type,am(t),t.target,l(t,e.lockRef.current))},[]),h=r.useCallback(function(t){u(t.type,om(t),t.target,l(t,e.lockRef.current))},[]);r.useEffect(function(){return um.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",c,em),document.addEventListener("touchmove",c,em),document.addEventListener("touchstart",d,em),function(){um=um.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,em),document.removeEventListener("touchmove",c,em),document.removeEventListener("touchstart",d,em)}},[]);var m=e.removeScrollBar,f=e.inert;return r.createElement(r.Fragment,null,f?r.createElement(a,{styles:lm(o)}):null,m?r.createElement(Kh,{gapMode:"margin"}):null)},Vh.useMedium(dm),Dh),hm=r.forwardRef(function(e,t){return r.createElement(Hh,Sh({},e,{ref:t,sideCar:pm}))});hm.classNames=Hh.classNames;var mm=new WeakMap,fm=new WeakMap,gm={},bm=0,vm=function(e){return e&&(e.host||vm(e.parentNode))},ym=function(e,t,n,r){var i=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=vm(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]);gm[n]||(gm[n]=new WeakMap);var o=gm[n],a=[],s=new Set,l=new Set(i),c=function(e){e&&!s.has(e)&&(s.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(s.has(e))u(e);else try{var t=e.getAttribute(r),i=null!==t&&"false"!==t,l=(mm.get(e)||0)+1,c=(o.get(e)||0)+1;mm.set(e,l),o.set(e,c),a.push(e),1===l&&i&&fm.set(e,!0),1===c&&e.setAttribute(n,"true"),i||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),s.clear(),bm++,function(){a.forEach(function(e){var t=mm.get(e)-1,i=o.get(e)-1;mm.set(e,t),o.set(e,i),t||(fm.has(e)||e.removeAttribute(r),fm.delete(e)),i||e.removeAttribute(n)}),--bm||(mm=new WeakMap,mm=new WeakMap,fm=new WeakMap,gm={})}},xm=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=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?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),ym(r,i,n,"aria-hidden")):function(){return null}};const wm="Dialog",[Im,Cm]=function(e,t=[]){let n=[];const r=()=>{const t=n.map(e=>d(e));return function(n){const r=(null==n?void 0:n[e])||t;return l(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){const i=d(r),o=n.length;function a(t){const{scope:n,children:r,...a}=t,s=(null==n?void 0:n[e][o])||i,c=l(()=>a,Object.values(a));return u(s.Provider,{value:c},r)}return n=[...n,r],a.displayName=t+"Provider",[a,function(n,a){const s=(null==a?void 0:a[e][o])||i,l=h(s);if(l)return l;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},_p(r,...t)]}(wm),[Am,Nm]=Im(wm),Em="DialogPortal",[Tm,Sm]=Im(Em,{forceMount:void 0}),km="DialogOverlay",Pm=o((e,t)=>{const n=Sm(km,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=Nm(km,e.__scopeDialog);return o.modal?u(Ah,{present:r||o.open},u(Bm,Wp({},i,{ref:t}))):null}),Bm=o((e,t)=>{const{__scopeDialog:n,...r}=e,i=Nm(km,n);return u(hm,{as:qp,allowPinchZoom:!0,shards:[i.contentRef]},u(ih.div,Wp({"data-state":Hm(i.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),Lm="DialogContent",Rm=o((e,t)=>{const n=Sm(Lm,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=Nm(Lm,e.__scopeDialog);return u(Ah,{present:r||o.open},o.modal?u(Om,Wp({},i,{ref:t})):u(Gm,Wp({},i,{ref:t})))}),Om=o((e,t)=>{const n=Nm(Lm,e.__scopeDialog),r=s(null),i=Zp(t,n.contentRef,r);return a(()=>{const e=r.current;if(e)return xm(e)},[]),u(Mm,Wp({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Xp(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:Xp(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:Xp(e.onFocusOutside,e=>e.preventDefault())}))}),Gm=o((e,t)=>{const n=Nm(Lm,e.__scopeDialog),r=s(!1),i=s(!1);return u(Mm,Wp({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,a;(null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented)||(r.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault());r.current=!1,i.current=!1},onInteractOutside:t=>{var o,a;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));const s=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}}))}),Mm=o((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...l}=e,c=Nm(Lm,n),d=Zp(t,s(null));return a(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:Th()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:Th()),Eh++,()=>{1===Eh&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Eh--}},[]),u(x,null,u(gh,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o},u(uh,Wp({role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":Hm(c.open)},l,{ref:d,onDismiss:()=>c.onOpenChange(!1)}))),!1)}),Dm="DialogTitle",Vm="DialogClose",jm=o((e,t)=>{const{__scopeDialog:n,...r}=e,i=Nm(Vm,n);return u(ih.button,Wp({type:"button"},r,{ref:t,onClick:Xp(e.onClick,()=>i.onOpenChange(!1))}))});function Hm(e){return e?"open":"closed"}!function(e,t){const n=d(t);function r(e){const{children:t,...r}=e,i=l(()=>r,Object.values(r));return u(n.Provider,{value:i},t)}r.displayName=e+"Provider"}("DialogTitleWarning",{contentName:Lm,titleName:Dm,docsSlug:"dialog"});const Fm=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:a=!0}=e,l=s(null),c=s(null),[d=!1,p]=Qp({prop:r,defaultProp:i,onChange:o});return u(Am,{scope:t,triggerRef:l,contentRef:c,contentId:$p(),titleId:$p(),descriptionId:$p(),open:d,onOpenChange:p,onOpenToggle:f(()=>p(e=>!e),[p]),modal:a},n)},Wm=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=Nm(Em,t);return u(Tm,{scope:t,forceMount:n},v.map(r,e=>u(Ah,{present:n||o.open},u(Ch,{asChild:!0,container:i},e))))},Xm=Pm,zm=Rm,Zm=jm,_m=n=>{const{isOpen:r,onRequestClose:i,size:o,title:a,content:s,description:l,children:c,bodyClassName:u,type:d="modal",index:p=0}=n;return e(Fm,{open:r,onOpenChange:()=>r&&(null==i?void 0:i()),children:t(Wm,{children:[e(Sd.div,{initial:"closed",animate:r?"open":"closed",variants:jp,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e(Xm,{})}),e("div",{className:"pointer-events-none fixed inset-0 z-[1001] flex items-center justify-center",children:e(Sd.div,{initial:"closed",animate:r?"open":"closed",variants:Hp,transition:{type:"tween",duration:.3,ease:"easeInOut"},className:"pointer-events-auto w-[calc(100vw-10px)] focus:outline-none sm:w-[calc(100vw-90px)]",children:e(zm,{onOpenAutoFocus:e=>e.preventDefault(),className:Ze("relative mx-auto w-full rounded-modal bg-bg p-[25px] shadow-drop focus:outline-none",u),style:{maxWidth:Fp[o||"lg"]},children:t("div",{"data-section-type":d,"data-section-index":p,children:[e(Zm,{asChild:!0,children:e(Wd,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e(gr,{name:"close"})})}),t("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[a?e(br,{className:Ze("mb-3 mt-5 w-full pr-8 text-center sm:pr-0","heading5 md:pt-0","mb-4 md:mb-[60px]"),as:"h2",children:a}):null,l?e(br,{as:"div",className:"mb-8 sm:mb-5",children:l}):null,t("div",{className:"flex flex-col gap-4 sm:gap-5",children:[s,c||null]})]})]})})})})]})})},Ym=({children:n,background:r,className:i,fill:o="yellow",maxFit:a,show:s=!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 r&&r in d,h=p?d[r]:void 0,m=r&&!p?{background:r}:void 0,f=o in u?u[o]:"text-[#F5FF1E]";return s?t("div",{className:`shared-component-backgound-wrapper shape-bg relative overflow-hidden ${null!=i?i:""} ${a?"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 ${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:`shared-component-backgound-wrapper ${null!=i?i:""} ${null!=h?h:""}`,style:m,children:n})},Jm=({title:n,background:r="white",button:i,color:o,contentAlignment:a,description:s,descriptionAlignment:l,enableHeading:c,subTitle:u,maxWidth:d=!0,onModalButtonClick:p,renderCheckPlans:h})=>e("div",{className:`${{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-bg"}[r]} component-container px-5 py-16 lg:px-13 lg:py-24 w-full`,children:t("div",{className:`${d?"mx-auto max-w-120":""} color-${o} flex flex-col ${"dark"==o?"text-text":"text-text-inverse"}`,children:[n&&e(br,{as:c?"h1":"h2",className:`heading2 lg:heading1 text-${a}`,children:n}),u&&e(br,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${a}`,children:u}),s&&e("div",{className:`pt-2 text-body1 lg:pt-3 text-${l} break-words [&_table]:w-full`,children:s}),i||h?e("div",{className:"flex justify-center pt-5 lg:pt-14",children:e(Wd,{...i,renderCheckPlans:h,onModalButtonClick:p,size:{base:"large"}})}):null]})}),Um=({background:r="white",description:i,enableHeading:o,image:a,imageAltText:s,list:l=[],localPathPrefix:c="/local",subTitle:u,title:d,color:p="dark",maxWidth:h=!0,addTrailingSlash:m=!1})=>{const f=(e=>{let t=0,n=e.length;for(;t<n&&47===e.charCodeAt(t);)t+=1;for(;n>t&&47===e.charCodeAt(n-1);)n-=1;return e.slice(t,n)})(null!=c?c:""),g=f?`/${f}`:"",b=e=>`${g}/${e.toLowerCase()}${m?"/":""}`;return 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"==p?"text-text":"text-white"}`,children:t("div",{className:`${h?"max-w-120 xl:mx-auto":""} mx-5 mb-5 ${a?"mt-12":"mt-0 xl:mt-0"} md:px-5 xl:my-20 xl:px-10`,children:[d&&e(br,{as:o?"h1":"h2",className:"heading2 text-center md:heading1",children:d}),u&&e(br,{as:o?"h2":"h3",className:"subheading1 mt-4 text-center",children:u}),t("div",{className:`mt-8 flex flex-col items-center xl:flex-row ${a?"xl:mt-16":"xl:mt-10"} gap-10`,children:[t("div",{className:"flex flex-col gap-10 self-stretch xl:flex-[1_0_0] "+(a?"pl-2 md:px-4 lg:pl-12 xl:items-start xl:pl-16":"items-center"),children:[i&&e(br,{as:"p",className:"body1 text-center"+(a?"lg:text-left":""),children:i}),l.length>0&&t(n,{children:[e("ul",{className:"grid w-full grid-cols-2 gap-x-6 gap-y-5 md:hidden",children:(()=>{const t=[...l].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),r=[];for(let e=0;e<n;e++)for(let i=0;i<2;i++){const o=i*n+e;o<t.length&&r.push(t[o])}return r.map((t,n)=>e("li",{children:e(wr,{href:b(t.code),className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e("ul",{className:`hidden ${a?"gap-x-6":"gap-x-20"} gap-y-5 md:grid md:grid-cols-3 ${a?"":"xl:hidden"}`,children:(()=>{const t=[...l].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),r=[];for(let e=0;e<n;e++)for(let i=0;i<3;i++){const o=i*n+e;r.push(o<t.length?t[o]:null)}return r.map((t,n)=>t?e("li",{className:""+(a?"":"w-[172px]"),children:e(wr,{href:b(t.code),className:"label1",children:t.name})},`item-list-3-${n}`):e("li",{"aria-hidden":"true"},`empty-3-${n}`))})()}),!a&&e("ul",{className:"hidden gap-x-20 gap-y-5 xl:grid xl:grid-cols-4",children:(()=>{const t=[...l].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/4),r=[];for(let e=0;e<n;e++)for(let i=0;i<4;i++){const o=i*n+e;r.push(o<t.length?t[o]:null)}return r.map((t,n)=>t?e("li",{className:"w-[172px]",children:e(wr,{href:b(t.code),className:"label1",children:t.name})},`item-list-4-${n}`):e("li",{"aria-hidden":"true"},`empty-4-${n}`))})()})]})]}),a&&e("aside",{className:"hidden md:block",children:e(pi,{width:472,height:100,src:a,alt:null!=s?s:"image"})})]})]})})},$m=({title:n,disclaimer:r,table:i,maxWidth:o=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 mb-5 mt-8 md:mt-18 "+(o?"max-w-120 xl:mx-auto":""),children:[e(br,{as:"h2",className:"heading2 md:heading1 md:text-center",children:n}),e("div",{className:"comparison-table-container mt-5 p-5 pt-0 md:mt-10 md:px-10 md:py-9",children:i}),e(br,{as:"div",className:"micro mt-8 text-center",children:r})]})}),Km=e=>`?page=${e}`,Qm=({currentPage:n,totalPages:r,onPageChange:i,getPageHref:o=Km,ariaLabel:a="Pagination"})=>{const s=function(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t+1);if(e<=4)return[1,2,3,4,5,"...",t];if(e>=t-3)return[1,"...",t-4,t-3,t-2,t-1,t];return[1,"...",e-1,e,e+1,"...",t]}(n,r),l="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",c="opacity-40 pointer-events-none";return t("nav",{className:"flex items-center justify-center gap-1 px-6 pb-12","aria-label":a,children:[e(wr,{href:1===n?"#":o(n-1),className:`${l} ${1===n?c:""}`,"aria-label":"Go to previous page","aria-disabled":1===n,tabIndex:1===n?-1:void 0,onClick:e=>{1!==n?null==i||i(n-1):e.preventDefault()},children:e(gr,{name:"chevron_left",size:32,"aria-hidden":"true"})}),s.map((t,r)=>"..."===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-${r}`):e(wr,{href:o(t),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":""),"aria-label":`Go to page ${t}`,"aria-current":t===n?"page":void 0,onClick:()=>null==i?void 0:i(t),children:t},t)),e(wr,{href:n===r?"#":o(n+1),className:`${l} ${n===r?c:""}`,"aria-label":"Go to next page","aria-disabled":n===r,tabIndex:n===r?-1:void 0,onClick:e=>{n!==r?null==i||i(n+1):e.preventDefault()},children:e(gr,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function qm(e){return qm="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},qm(e)}function ef(e){var t=function(e,t){if("object"!=qm(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=qm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==qm(t)?t:t+""}function tf(e,t,n){return(t=ef(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function rf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nf(Object(n),!0).forEach(function(t){tf(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nf(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function of(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function af(e,t){if(e){if("string"==typeof e)return of(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)?of(e,t):void 0}}function sf(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||af(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 lf(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var cf=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function uf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ef(r.key),r)}}function df(e,t){return df=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},df(e,t)}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},pf(e)}function hf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hf=function(){return!!e})()}function mf(e,t){if(t&&("object"==qm(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 ff(e){return function(e){if(Array.isArray(e))return of(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||af(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 gf=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}(),bf="-ms-",vf="-moz-",yf="-webkit-",xf="comm",wf="rule",If="decl",Cf="@keyframes",Af=Math.abs,Nf=String.fromCharCode,Ef=Object.assign;function Tf(e){return e.trim()}function Sf(e,t,n){return e.replace(t,n)}function kf(e,t){return e.indexOf(t)}function Pf(e,t){return 0|e.charCodeAt(t)}function Bf(e,t,n){return e.slice(t,n)}function Lf(e){return e.length}function Rf(e){return e.length}function Of(e,t){return t.push(e),e}var Gf=1,Mf=1,Df=0,Vf=0,jf=0,Hf="";function Ff(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:Gf,column:Mf,length:a,return:""}}function Wf(e,t){return Ef(Ff("",null,null,"",null,null,0),e,{length:-e.length},t)}function Xf(){return jf=Vf>0?Pf(Hf,--Vf):0,Mf--,10===jf&&(Mf=1,Gf--),jf}function zf(){return jf=Vf<Df?Pf(Hf,Vf++):0,Mf++,10===jf&&(Mf=1,Gf++),jf}function Zf(){return Pf(Hf,Vf)}function _f(){return Vf}function Yf(e,t){return Bf(Hf,e,t)}function Jf(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 Uf(e){return Gf=Mf=1,Df=Lf(Hf=e),Vf=0,[]}function $f(e){return Hf="",e}function Kf(e){return Tf(Yf(Vf-1,eg(91===e?e+2:40===e?e+1:e)))}function Qf(e){for(;(jf=Zf())&&jf<33;)zf();return Jf(e)>2||Jf(jf)>3?"":" "}function qf(e,t){for(;--t&&zf()&&!(jf<48||jf>102||jf>57&&jf<65||jf>70&&jf<97););return Yf(e,_f()+(t<6&&32==Zf()&&32==zf()))}function eg(e){for(;zf();)switch(jf){case e:return Vf;case 34:case 39:34!==e&&39!==e&&eg(jf);break;case 40:41===e&&eg(e);break;case 92:zf()}return Vf}function tg(e,t){for(;zf()&&e+jf!==57&&(e+jf!==84||47!==Zf()););return"/*"+Yf(t,Vf-1)+"*"+Nf(47===e?e:zf())}function ng(e){for(;!Jf(Zf());)zf();return Yf(e,Vf)}function rg(e){return $f(ig("",null,null,null,[""],e=Uf(e),0,[0],e))}function ig(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,p=0,h=0,m=0,f=1,g=1,b=1,v=0,y="",x=i,w=o,I=r,C=y;g;)switch(m=v,v=zf()){case 40:if(108!=m&&58==Pf(C,d-1)){-1!=kf(C+=Sf(Kf(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:C+=Kf(v);break;case 9:case 10:case 13:case 32:C+=Qf(m);break;case 92:C+=qf(_f()-1,7);continue;case 47:switch(Zf()){case 42:case 47:Of(ag(tg(zf(),_f()),t,n),l);break;default:C+="/"}break;case 123*f:s[c++]=Lf(C)*b;case 125*f:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(C=Sf(C,/\f/g,"")),h>0&&Lf(C)-d&&Of(h>32?sg(C+";",r,n,d-1):sg(Sf(C," ","")+";",r,n,d-2),l);break;case 59:C+=";";default:if(Of(I=og(C,t,n,c,u,i,s,y,x=[],w=[],d),o),123===v)if(0===u)ig(C,t,I,I,x,o,d,s,w);else switch(99===p&&110===Pf(C,3)?100:p){case 100:case 108:case 109:case 115:ig(e,I,I,r&&Of(og(e,I,I,0,0,i,s,y,i,x=[],d),w),i,w,d,s,r?x:w);break;default:ig(C,I,I,I,[""],w,0,s,w)}}c=u=h=0,f=b=1,y=C="",d=a;break;case 58:d=1+Lf(C),h=m;default:if(f<1)if(123==v)--f;else if(125==v&&0==f++&&125==Xf())continue;switch(C+=Nf(v),v*f){case 38:b=u>0?1:(C+="\f",-1);break;case 44:s[c++]=(Lf(C)-1)*b,b=1;break;case 64:45===Zf()&&(C+=Kf(zf())),p=Zf(),u=d=Lf(y=C+=ng(_f())),v++;break;case 45:45===m&&2==Lf(C)&&(f=0)}}return o}function og(e,t,n,r,i,o,a,s,l,c,u){for(var d=i-1,p=0===i?o:[""],h=Rf(p),m=0,f=0,g=0;m<r;++m)for(var b=0,v=Bf(e,d+1,d=Af(f=a[m])),y=e;b<h;++b)(y=Tf(f>0?p[b]+" "+v:Sf(v,/&\f/g,p[b])))&&(l[g++]=y);return Ff(e,t,n,0===i?wf:s,l,c,u)}function ag(e,t,n){return Ff(e,t,n,xf,Nf(jf),Bf(e,2,-2),0)}function sg(e,t,n,r){return Ff(e,t,n,If,Bf(e,0,r),Bf(e,r+1,-1),r)}function lg(e,t){for(var n="",r=Rf(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function cg(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case If:return e.return=e.return||e.value;case xf:return"";case Cf:return e.return=e.value+"{"+lg(e.children,r)+"}";case wf:e.value=e.props.join(",")}return Lf(n=lg(e.children,r))?e.return=e.value+"{"+n+"}":""}function ug(e){var t=Rf(e);return function(n,r,i,o){for(var a="",s=0;s<t;s++)a+=e[s](n,r,i,o)||"";return a}}var dg="undefined"!=typeof document,pg=function(e,t,n){for(var r=0,i=0;r=i,i=Zf(),38===r&&12===i&&(t[n]=1),!Jf(i);)zf();return Yf(e,Vf)},hg=function(e,t){return $f(function(e,t){var n=-1,r=44;do{switch(Jf(r)){case 0:38===r&&12===Zf()&&(t[n]=1),e[n]+=pg(Vf-1,t,n);break;case 2:e[n]+=Kf(r);break;case 4:if(44===r){e[++n]=58===Zf()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Nf(r)}}while(r=zf());return e}(Uf(e),t))},mg=new WeakMap,fg=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||mg.get(n))&&!r){mg.set(e,!0);for(var i=[],o=hg(t,i),a=n.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},gg=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function bg(e,t){switch(function(e,t){return 45^Pf(e,0)?(((t<<2^Pf(e,0))<<2^Pf(e,1))<<2^Pf(e,2))<<2^Pf(e,3):0}(e,t)){case 5103:return yf+"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 yf+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return yf+e+vf+e+bf+e+e;case 6828:case 4268:return yf+e+bf+e+e;case 6165:return yf+e+bf+"flex-"+e+e;case 5187:return yf+e+Sf(e,/(\w+).+(:[^]+)/,yf+"box-$1$2"+bf+"flex-$1$2")+e;case 5443:return yf+e+bf+"flex-item-"+Sf(e,/flex-|-self/,"")+e;case 4675:return yf+e+bf+"flex-line-pack"+Sf(e,/align-content|flex-|-self/,"")+e;case 5548:return yf+e+bf+Sf(e,"shrink","negative")+e;case 5292:return yf+e+bf+Sf(e,"basis","preferred-size")+e;case 6060:return yf+"box-"+Sf(e,"-grow","")+yf+e+bf+Sf(e,"grow","positive")+e;case 4554:return yf+Sf(e,/([^-])(transform)/g,"$1"+yf+"$2")+e;case 6187:return Sf(Sf(Sf(e,/(zoom-|grab)/,yf+"$1"),/(image-set)/,yf+"$1"),e,"")+e;case 5495:case 3959:return Sf(e,/(image-set\([^]*)/,yf+"$1$`$1");case 4968:return Sf(Sf(e,/(.+:)(flex-)?(.*)/,yf+"box-pack:$3"+bf+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+yf+e+e;case 4095:case 3583:case 4068:case 2532:return Sf(e,/(.+)-inline(.+)/,yf+"$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(Lf(e)-1-t>6)switch(Pf(e,t+1)){case 109:if(45!==Pf(e,t+4))break;case 102:return Sf(e,/(.+:)(.+)-([^]+)/,"$1"+yf+"$2-$3$1"+vf+(108==Pf(e,t+3)?"$3":"$2-$3"))+e;case 115:return~kf(e,"stretch")?bg(Sf(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Pf(e,t+1))break;case 6444:switch(Pf(e,Lf(e)-3-(~kf(e,"!important")&&10))){case 107:return Sf(e,":",":"+yf)+e;case 101:return Sf(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+yf+(45===Pf(e,14)?"inline-":"")+"box$3$1"+yf+"$2$3$1"+bf+"$2box$3")+e}break;case 5936:switch(Pf(e,t+11)){case 114:return yf+e+bf+Sf(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return yf+e+bf+Sf(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return yf+e+bf+Sf(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return yf+e+bf+e+e}return e}var vg,yg,xg,wg=dg?void 0:(vg=function(){return function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}(function(){return{}})},yg=new WeakMap,function(e){if(yg.has(e))return yg.get(e);var t=vg(e);return yg.set(e,t),t}),Ig=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case If:e.return=bg(e.value,e.length);break;case Cf:return lg([Wf(e,{value:Sf(e.value,"@","@"+yf)})],r);case wf: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 lg([Wf(e,{props:[Sf(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return lg([Wf(e,{props:[Sf(t,/:(plac\w+)/,":"+yf+"input-$1")]}),Wf(e,{props:[Sf(t,/:(plac\w+)/,":-moz-$1")]}),Wf(e,{props:[Sf(t,/:(plac\w+)/,bf+"input-$1")]})],r)}return""})}}],Cg=function(e){var t=e.key;if(dg&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,i,o=e.stylisPlugins||Ig,a={},s=[];dg&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c=[fg,gg];if(wg){var u=[cg],d=ug(c.concat(o,u)),p=wg(o)(t),h=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=lg(rg(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};i=function(e,t,n,r){var i=t.name,o=h(e,t);return void 0===b.compat?(r&&(b.inserted[i]=!0),o):r?void(b.inserted[i]=o):o}}else{var m,f=[cg,(l=function(e){m.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=ug(c.concat(o,f));i=function(e,t,n,r){m=n,lg(rg(e?e+"{"+t.styles+"}":t.styles),g),r&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new gf({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return b.sheet.hydrate(s),b},Ag={exports:{}},Ng={};var Eg,Tg,Sg,kg,Pg={};
6
18
  /** @license React v16.13.1
7
19
  * react-is.development.js
8
20
  *
@@ -10,5 +22,5 @@ function Ct(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r
10
22
  *
11
23
  * This source code is licensed under the MIT license found in the
12
24
  * LICENSE file in the root directory of this source tree.
13
- */function Qf(){return Jf||(Jf=1,"production"===process.env.NODE_ENV?Zf.exports=function(){if(Wf)return Yf;Wf=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,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 r:case o:case i:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case m:case h:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return Yf.AsyncMode=l,Yf.ConcurrentMode=c,Yf.ContextConsumer=s,Yf.ContextProvider=a,Yf.Element=t,Yf.ForwardRef=u,Yf.Fragment=r,Yf.Lazy=m,Yf.Memo=h,Yf.Portal=n,Yf.Profiler=o,Yf.StrictMode=i,Yf.Suspense=d,Yf.isAsyncMode=function(e){return x(e)||y(e)===l},Yf.isConcurrentMode=x,Yf.isContextConsumer=function(e){return y(e)===s},Yf.isContextProvider=function(e){return y(e)===a},Yf.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Yf.isForwardRef=function(e){return y(e)===u},Yf.isFragment=function(e){return y(e)===r},Yf.isLazy=function(e){return y(e)===m},Yf.isMemo=function(e){return y(e)===h},Yf.isPortal=function(e){return y(e)===n},Yf.isProfiler=function(e){return y(e)===o},Yf.isStrictMode=function(e){return y(e)===i},Yf.isSuspense=function(e){return y(e)===d},Yf.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},Yf.typeOf=y,Yf}():Zf.exports=(_f||(_f=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,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 f=e.type;switch(f){case l:case c:case r:case o:case i:case d:return f;default:var g=f&&f.$$typeof;switch(g){case s:case u:case m:case h:case a:return g;default:return p}}case n:return p}}}var x=l,I=c,w=s,C=a,A=t,N=u,E=r,T=m,S=h,k=n,P=o,B=i,L=d,R=!1;function G(e){return y(e)===c}Kf.AsyncMode=x,Kf.ConcurrentMode=I,Kf.ContextConsumer=w,Kf.ContextProvider=C,Kf.Element=A,Kf.ForwardRef=N,Kf.Fragment=E,Kf.Lazy=T,Kf.Memo=S,Kf.Portal=k,Kf.Profiler=P,Kf.StrictMode=B,Kf.Suspense=L,Kf.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.")),G(e)||y(e)===l},Kf.isConcurrentMode=G,Kf.isContextConsumer=function(e){return y(e)===s},Kf.isContextProvider=function(e){return y(e)===a},Kf.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Kf.isForwardRef=function(e){return y(e)===u},Kf.isFragment=function(e){return y(e)===r},Kf.isLazy=function(e){return y(e)===m},Kf.isMemo=function(e){return y(e)===h},Kf.isPortal=function(e){return y(e)===n},Kf.isProfiler=function(e){return y(e)===o},Kf.isStrictMode=function(e){return y(e)===i},Kf.isSuspense=function(e){return y(e)===d},Kf.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},Kf.typeOf=y}()),Kf)),Zf.exports}!function(){if($f)return Uf;$f=1;var e=Qf(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function o(n){return e.isMemo(n)?r:i[n.$$typeof]||t}i[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[e.Memo]=r;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;Uf=function e(t,r,i){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,i)}var h=s(r);l&&(h=h.concat(l(r)));for(var m=o(t),f=o(r),g=0;g<h.length;++g){var b=h[g];if(!(n[b]||i&&i[b]||f&&f[b]||m&&m[b])){var v=c(r,b);try{a(t,b,v)}catch(e){}}}}return t}}();var qf="undefined"!=typeof document;var eg=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===qf&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var tg={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 ng(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var rg=/[A-Z]|^ms/g,ig=/_EMO_([^_]+?)_([^]*?)_EMO_/g,og=function(e){return 45===e.charCodeAt(1)},ag=function(e){return null!=e&&"boolean"!=typeof e},sg=ng(function(e){return og(e)?e:e.replace(rg,"-$&").toLowerCase()}),lg=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ig,function(e,t,n){return ug={name:t,styles:n,next:ug},t})}return 1===tg[e]||og(e)||"number"!=typeof t||0===t?t:t+"px"};function cg(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var i=n;if(1===i.anim)return ug={name:i.name,styles:i.styles,next:ug},i.name;var o=n;if(void 0!==o.styles){var a=o.next;if(void 0!==a)for(;void 0!==a;)ug={name:a.name,styles:a.styles,next:ug},a=a.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=cg(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a){var s=a;ag(s)&&(r+=sg(o)+":"+lg(o,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)ag(a[l])&&(r+=sg(o)+":"+lg(o,a[l])+";");else{var c=cg(e,t,a);switch(o){case"animation":case"animationName":r+=sg(o)+":"+c+";";break;default:r+=o+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var s=ug,l=n(e);return ug=s,cg(e,t,l)}}return n}var ug,dg=/label:\s*([^\s;{]+)\s*(;|$)/g;function pg(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";ug=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=cg(n,t,o)):i+=o[0];for(var a=1;a<e.length;a++){if(i+=cg(n,t,e[a]),r)i+=o[a]}dg.lastIndex=0;for(var s,l="";null!==(s=dg.exec(i));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:ug}}var hg="undefined"!=typeof document,mg=function(e){return e()},fg=!!r.useInsertionEffect&&r.useInsertionEffect,gg=hg&&fg||mg,bg="undefined"!=typeof document,vg=r.createContext("undefined"!=typeof HTMLElement?zf({key:"css"}):null);vg.Provider;var yg=function(e){return o(function(t,n){var r=h(vg);return e(t,r,n)})};bg||(yg=function(e){return function(t){var n=h(vg);return null===n?(n=zf({key:"css"}),r.createElement(vg.Provider,{value:n},e(t,n))):e(t,n)}});var xg,Ig,wg=r.createContext({}),Cg={}.hasOwnProperty,Ag="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ng=function(e){var t=e.cache,n=e.serialized,i=e.isStringTag;eg(t,n,i);var o=gg(function(){return function(e,t,n){eg(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i="",o=t;do{var a=e.insert(t===o?"."+r:"",o,e.sheet,!0);qf||void 0===a||(i+=a),o=o.next}while(void 0!==o);if(!qf&&0!==i.length)return i}}(t,n,i)});if(!bg&&void 0!==o){for(var a,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return r.createElement("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},Eg=yg(function(e,t,n){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var o=e[Ag],a=[i],s="";"string"==typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=pg(a,void 0,r.useContext(wg));s+=t.key+"-"+l.name;var c={};for(var u in e)Cg.call(e,u)&&"css"!==u&&u!==Ag&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),r.createElement(r.Fragment,null,r.createElement(Ng,{cache:t,serialized:l,isStringTag:"string"==typeof o}),r.createElement(o,c))}),Tg=Eg,Sg=function(e,t){var n=arguments;if(null==t||!Cg.call(t,"css"))return r.createElement.apply(void 0,n);var i=n.length,o=new Array(i);o[0]=Tg,o[1]=function(e,t){var n={};for(var r in t)Cg.call(t,r)&&(n[r]=t[r]);return n[Ag]=e,n}(e,t);for(var a=2;a<i;a++)o[a]=n[a];return r.createElement.apply(null,o)};function kg(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return pg(t)}xg=Sg||(Sg={}),Ig||(Ig=xg.JSX||(xg.JSX={}));const Pg=Math.min,Bg=Math.max,Lg=Math.round,Rg=Math.floor,Gg=e=>({x:e,y:e});function Og(){return"undefined"!=typeof window}function Dg(e){return jg(e)?(e.nodeName||"").toLowerCase():"#document"}function Mg(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Vg(e){var t;return null==(t=(jg(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function jg(e){return!!Og()&&(e instanceof Node||e instanceof Mg(e).Node)}function Hg(e){return!!Og()&&(e instanceof HTMLElement||e instanceof Mg(e).HTMLElement)}function Wg(e){return!(!Og()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Mg(e).ShadowRoot)}const Fg=new Set(["inline","contents"]);function Xg(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Zg(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Fg.has(i)}const zg=new Set(["html","body","#document"]);function Zg(e){return Mg(e).getComputedStyle(e)}function Yg(e){const t=function(e){if("html"===Dg(e))return e;const t=e.assignedSlot||e.parentNode||Wg(e)&&e.host||Vg(e);return Wg(t)?t.host:t}(e);return function(e){return zg.has(Dg(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Hg(t)&&Xg(t)?t:Yg(t)}function _g(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=Yg(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=Mg(i);if(o){const e=Jg(a);return t.concat(a,a.visualViewport||[],Xg(i)?i:[],e&&n?_g(e):[])}return t.concat(i,_g(i,[],n))}function Jg(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ug(e){return t=e,Og()&&(t instanceof Element||t instanceof Mg(t).Element)?e:e.contextElement;var t}function $g(e){const t=Ug(e);if(!Hg(t))return Gg(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=function(e){const t=Zg(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Hg(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=Lg(n)!==o||Lg(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}(t);let a=(o?Lg(n.width):n.width)/r,s=(o?Lg(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function Kg(e,t,n,r){void 0===t&&(t=!1);const i=e.getBoundingClientRect(),o=Ug(e);let a=Gg(1);t&&(a=$g(e));const s=Gg(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,u=i.width/a.x,d=i.height/a.y;if(o){const e=r;let t=Mg(o),n=Jg(t);for(;n&&r&&e!==t;){const e=$g(n),r=n.getBoundingClientRect(),i=Zg(n),o=r.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,a=r.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=a,t=Mg(n),n=Jg(t)}}return function(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}({width:u,height:d,x:l,y:c})}function Qg(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function qg(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Ug(e),u=i||o?[...c?_g(c):[],..._g(t)]:[];u.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,r=null;const i=Vg(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:h}=c;if(s||t(),!p||!h)return;const m={rootMargin:-Rg(d)+"px "+-Rg(i.clientWidth-(u+p))+"px "+-Rg(i.clientHeight-(d+h))+"px "+-Rg(u)+"px",threshold:Bg(0,Pg(1,l))||1};let f=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!f)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||Qg(c,e.getBoundingClientRect())||a(),f=!1}try{r=new IntersectionObserver(g,{...m,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(g,m)}r.observe(e)}(!0),o}(c,n):null;let p,h=-1,m=null;a&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),c&&!l&&m.observe(c),m.observe(t));let f=l?Kg(e):null;return l&&function t(){const r=Kg(e);f&&!Qg(f,r)&&n();f=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(p)}}var eb="undefined"!=typeof document?p:function(){},tb=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],nb=function(){};function rb(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function ib(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&o.push("".concat(rb(e,a)));return o.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var ob=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===xm(e)&&null!==e?[e]:[];var t},ab=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,Am({},Sm(e,tb))},sb=function(e,t,n){var r=e.cx,i=e.getStyles,o=e.getClassNames,a=e.className;return{css:i(t,e),className:r(null!=n?n:{},o(t,e),a)}};function lb(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function cb(e){return lb(e)?window.pageYOffset:e.scrollTop}function ub(e,t){lb(e)?window.scrollTo(0,t):e.scrollTop=t}function db(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:nb,i=cb(e),o=t-i,a=0;!function t(){var s,l=o*((s=(s=a+=10)/n-1)*s*s+1)+i;ub(e,l),a<n?window.requestAnimationFrame(t):r(e)}()}function pb(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?ub(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&ub(e,Math.max(t.offsetTop-i,0))}function hb(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var mb=!1,fb={get passive(){return mb=!0}},gb="undefined"!=typeof window?window:{};gb.addEventListener&&gb.removeEventListener&&(gb.addEventListener("p",nb,fb),gb.removeEventListener("p",nb,!1));var bb=mb;function vb(e){return null!=e}function yb(e,t,n){return e?t:n}var xb=["children","innerProps"],Ib=["children","innerProps"];function wb(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),h=p.bottom,m=p.height,f=p.top,g=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:lb(u=l)?window.innerHeight:u.clientHeight,v=cb(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),I=g-x,w=b-f,C=I+v,A=d-v-f,N=h-b+v+y,E=v+f-x,T=160;switch(i){case"auto":case"bottom":if(w>=m)return{placement:"bottom",maxHeight:t};if(A>=m&&!a)return o&&db(l,N,T),{placement:"bottom",maxHeight:t};if(!a&&A>=r||a&&w>=r)return o&&db(l,N,T),{placement:"bottom",maxHeight:a?w-y:A-y};if("auto"===i||a){var S=t,k=a?I:C;return k>=r&&(S=Math.min(k-y-s,t)),{placement:"top",maxHeight:S}}if("bottom"===i)return o&&ub(l,N),{placement:"bottom",maxHeight:t};break;case"top":if(I>=m)return{placement:"top",maxHeight:t};if(C>=m&&!a)return o&&db(l,E,T),{placement:"top",maxHeight:t};if(!a&&C>=r||a&&I>=r){var P=t;return(!a&&C>=r||a&&I>=r)&&(P=a?I-x:C-x),o&&db(l,E,T),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var Cb,Ab=function(e){return"auto"===e?"bottom":e},Nb=d(null),Eb=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,o=e.menuPosition,a=e.menuShouldScrollIntoView,l=e.theme,u=(h(Nb)||{}).setPortalPlacement,d=s(null),p=Tm(c(r),2),m=p[0],f=p[1],g=Tm(c(null),2),b=g[0],v=g[1],y=l.spacing.controlHeight;return eb(function(){var e=d.current;if(e){var t="fixed"===o,s=wb({maxHeight:r,menuEl:e,minHeight:n,placement:i,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:y});f(s.maxHeight),v(s.placement),null==u||u(s.placement)}},[r,i,o,a,n,u,y]),t({ref:d,placerProps:Am(Am({},e),{},{placement:b||Ab(i),maxHeight:m})})},Tb=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Sg("div",cp({},sb(e,"menu",{menu:!0}),{ref:n},r),t)},Sb=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return Am({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},kb=Sb,Pb=Sb,Bb=["size"],Lb=["innerProps","isRtl","size"];var Rb,Gb,Ob="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)."}},Db=function(e){var t=e.size,n=Sm(e,Bb);return Sg("svg",cp({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Ob},n))},Mb=function(e){return Sg(Db,cp({size:20},e),Sg("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"}))},Vb=function(e){return Sg(Db,cp({size:20},e),Sg("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"}))},jb=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return Am({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*i,":hover":{color:n?o.neutral80:o.neutral40}})},Hb=jb,Wb=jb,Fb=function(){var e=kg.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_"}}}(Cb||(Rb=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Gb||(Gb=Rb.slice(0)),Cb=Object.freeze(Object.defineProperties(Rb,{raw:{value:Object.freeze(Gb)}})))),Xb=function(e){var t=e.delay,n=e.offset;return Sg("span",{css:kg({animation:"".concat(Fb," 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= */")})},zb=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,o=e.innerProps,a=e.menuIsOpen;return Sg("div",cp({ref:i},sb(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),o,{"aria-disabled":n||void 0}),t)},Zb=["data"],Yb=function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,o=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Sg("div",cp({},sb(e,"group",{group:!0}),s),Sg(o,cp({},a,{selectProps:u,theme:c,getStyles:r,getClassNames:i,cx:n}),l),Sg("div",null,t))},_b=["innerRef","isDisabled","isHidden","inputClassName"],Jb={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Ub={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Am({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Jb)},$b=function(e){return Am({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Jb)},Kb=function(e){var t=e.cx,n=e.value,r=ab(e),i=r.innerRef,o=r.isDisabled,a=r.isHidden,s=r.inputClassName,l=Sm(r,_b);return Sg("div",cp({},sb(e,"input",{"input-container":!0}),{"data-value":n||""}),Sg("input",cp({className:t({input:!0},s),ref:i,style:$b(a),disabled:o},l)))},Qb=function(e){var t=e.children,n=e.innerProps;return Sg("div",n,t)};var qb=function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,o=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return Sg(l,{data:r,innerProps:Am(Am({},sb(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),i),selectProps:s},Sg(c,{data:r,innerProps:Am({},sb(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Sg(u,{data:r,innerProps:Am(Am({},sb(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},ev={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Sg("div",cp({},sb(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Sg(Mb,null))},Control:zb,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Sg("div",cp({},sb(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Sg(Vb,null))},DownChevron:Vb,CrossIcon:Mb,Group:Yb,GroupHeading:function(e){var t=ab(e);t.data;var n=Sm(t,Zb);return Sg("div",cp({},sb(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Sg("div",cp({},sb(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Sg("span",cp({},t,sb(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:Kb,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=void 0===r?4:r,o=Sm(e,Lb);return Sg("div",cp({},sb(Am(Am({},o),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Sg(Xb,{delay:0,offset:n}),Sg(Xb,{delay:160,offset:!0}),Sg(Xb,{delay:320,offset:!n}))},Menu:Tb,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return Sg("div",cp({},sb(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,i=e.innerProps,o=e.menuPlacement,a=e.menuPosition,u=s(null),d=s(null),p=Tm(c(Ab(o)),2),h=p[0],m=p[1],g=l(function(){return{setPortalPlacement:m}},[]),b=Tm(c(null),2),v=b[0],y=b[1],x=f(function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===a?0:window.pageYOffset,n=e[h]+t;n===(null==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})}},[r,a,h,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);eb(function(){x()},[x]);var I=f(function(){"function"==typeof d.current&&(d.current(),d.current=null),r&&u.current&&(d.current=qg(r,u.current,x,{elementResize:"ResizeObserver"in window}))},[r,x]);eb(function(){I()},[I]);var w=f(function(e){u.current=e,I()},[I]);if(!t&&"fixed"!==a||!v)return null;var C=Sg("div",cp({ref:w},sb(Am(Am({},e),{},{offset:v.offset,position:a,rect:v.rect}),"menuPortal",{"menu-portal":!0}),i),n);return Sg(Nb.Provider,{value:g},t?k(C,t):C)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,i=Sm(e,Ib);return Sg("div",cp({},sb(Am(Am({},i),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,i=Sm(e,xb);return Sg("div",cp({},sb(Am(Am({},i),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:qb,MultiValueContainer:Qb,MultiValueLabel:Qb,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Sg("div",cp({role:"button"},n),t||Sg(Mb,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.innerRef,a=e.innerProps;return Sg("div",cp({},sb(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:o,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Sg("div",cp({},sb(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return Sg("div",cp({},sb(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Sg("div",cp({},sb(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,i=e.hasValue;return Sg("div",cp({},sb(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},tv=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function nv(e,t){return e===t||!(!tv(e)||!tv(t))}function rv(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!nv(e[n],t[n]))return!1;return!0}for(var iv="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)."}},ov=function(e){return Sg("span",cp({css:iv},e))},av={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,o=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,i=e.labels,o=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return"option ".concat(r,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,o=void 0===i?"":i,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(o," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(o).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},sv=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,o=e.isFocused,a=e.selectValue,s=e.selectProps,c=e.id,u=e.isAppleDevice,d=s.ariaLiveMessages,p=s.getOptionLabel,h=s.inputValue,m=s.isMulti,f=s.isOptionDisabled,g=s.isSearchable,b=s.menuIsOpen,v=s.options,y=s.screenReaderStatus,I=s.tabSelectsValue,w=s.isLoading,C=s["aria-label"],A=s["aria-live"],N=l(function(){return Am(Am({},av),d||{})},[d]),E=l(function(){var e,n="";if(t&&N.onChange){var r=t.option,i=t.options,o=t.removedValue,s=t.removedValues,l=t.value,c=o||r||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=i||s||void 0,h=d?d.map(p):[],m=Am({isDisabled:c&&f(c,a),label:u,labels:h},t);n=N.onChange(m)}return n},[t,N,f,a,p]),T=l(function(){var e="",t=n||r,o=!!(n&&a&&a.includes(n));if(t&&N.onFocus){var s={focused:t,label:p(t),isDisabled:f(t,a),isSelected:o,options:i,context:t===n?"menu":"value",selectValue:a,isAppleDevice:u};e=N.onFocus(s)}return e},[n,r,p,f,N,i,a,u]),S=l(function(){var e="";if(b&&v.length&&!w&&N.onFilter){var t=y({count:i.length});e=N.onFilter({inputValue:h,resultsMessage:t})}return e},[i,h,b,N,v,y,w]),k="initial-input-focus"===(null==t?void 0:t.action),P=l(function(){var e="";if(N.guidance){var t=r?"value":b?"menu":"input";e=N.guidance({"aria-label":C,context:t,isDisabled:n&&f(n,a),isMulti:m,isSearchable:g,tabSelectsValue:I,isInitialFocus:k})}return e},[C,n,r,m,f,g,b,N,a,I,k]),B=Sg(x,null,Sg("span",{id:"aria-selection"},E),Sg("span",{id:"aria-focused"},T),Sg("span",{id:"aria-results"},S),Sg("span",{id:"aria-guidance"},P));return Sg(x,null,Sg(ov,{id:c},k&&B),Sg(ov,{"aria-live":A,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!k&&B))},lv=[{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źẑżžẓẕƶȥɀⱬꝣ"}],cv=new RegExp("["+lv.map(function(e){return e.letters}).join("")+"]","g"),uv={},dv=0;dv<lv.length;dv++)for(var pv=lv[dv],hv=0;hv<pv.letters.length;hv++)uv[pv.letters[hv]]=pv.base;var mv=function(e){return e.replace(cv,function(e){return uv[e]})},fv=function(e,t){void 0===t&&(t=rv);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return r.clear=function(){n=null},r}(mv),gv=function(e){return e.replace(/^\s+|\s+$/g,"")},bv=function(e){return"".concat(e.label," ").concat(e.value)},vv=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=Am({ignoreCase:!0,ignoreAccents:!0,stringify:bv,trim:!0,matchFrom:"any"},e),i=r.ignoreCase,o=r.ignoreAccents,a=r.stringify,s=r.trim,l=r.matchFrom,c=s?gv(n):n,u=s?gv(a(t)):a(t);return i&&(c=c.toLowerCase(),u=u.toLowerCase()),o&&(c=fv(c),u=mv(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},yv=["innerRef"];function xv(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Object.entries(e).filter(function(e){var t=Tm(e,1)[0];return!n.includes(t)});return i.reduce(function(e,t){var n=Tm(t,2),r=n[0],i=n[1];return e[r]=i,e},{})}(Sm(e,yv),"onExited","in","enter","exit","appear");return Sg("input",cp({ref:t},n,{css:kg({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 Iv=["boxSizing","height","overflow","paddingRight","position"],wv={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Cv(e){e.cancelable&&e.preventDefault()}function Av(e){e.stopPropagation()}function Nv(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Ev(){return"ontouchstart"in window||navigator.maxTouchPoints}var Tv=!("undefined"==typeof window||!window.document||!window.document.createElement),Sv=0,kv={capture:!1,passive:!1};var Pv=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Bv="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 Lv(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,o=e.onTopLeave,l=s(!1),c=s(!1),u=s(0),d=s(null),p=f(function(e,t){if(null!==d.current){var a=d.current,s=a.scrollTop,u=a.scrollHeight,p=a.clientHeight,h=d.current,m=t>0,f=u-p-s,g=!1;f>t&&l.current&&(r&&r(e),l.current=!1),m&&c.current&&(o&&o(e),c.current=!1),m&&t>f?(n&&!l.current&&n(e),h.scrollTop=u,g=!0,l.current=!0):!m&&-t>s&&(i&&!c.current&&i(e),h.scrollTop=0,g=!0,c.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,r,i,o]),h=f(function(e){p(e,e.deltaY)},[p]),m=f(function(e){u.current=e.changedTouches[0].clientY},[]),g=f(function(e){var t=u.current-e.changedTouches[0].clientY;p(e,t)},[p]),b=f(function(e){if(e){var t=!!bb&&{passive:!1};e.addEventListener("wheel",h,t),e.addEventListener("touchstart",m,t),e.addEventListener("touchmove",g,t)}},[g,m,h]),v=f(function(e){e&&(e.removeEventListener("wheel",h,!1),e.removeEventListener("touchstart",m,!1),e.removeEventListener("touchmove",g,!1))},[g,m,h]);return a(function(){if(t){var e=d.current;return b(e),function(){v(e)}}},[t,b,v]),function(e){d.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),o=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,i=s({}),o=s(null),l=f(function(e){if(Tv){var t=document.body,n=t&&t.style;if(r&&Iv.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&Sv<1){var o=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+o||0;Object.keys(wv).forEach(function(e){var t=wv[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&Ev()&&(t.addEventListener("touchmove",Cv,kv),e&&(e.addEventListener("touchstart",Nv,kv),e.addEventListener("touchmove",Av,kv))),Sv+=1}},[r]),c=f(function(e){if(Tv){var t=document.body,n=t&&t.style;Sv=Math.max(Sv-1,0),r&&Sv<1&&Iv.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&Ev()&&(t.removeEventListener("touchmove",Cv,kv),e&&(e.removeEventListener("touchstart",Nv,kv),e.removeEventListener("touchmove",Av,kv)))}},[r]);return a(function(){if(t){var e=o.current;return l(e),function(){c(e)}}},[t,l,c]),function(e){o.current=e}}({isEnabled:n});return Sg(x,null,n&&Sg("div",{onClick:Pv,css:Bv}),t(function(e){i(e),o(e)}))}var Rv="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)."}},Gv=function(e){var t=e.name,n=e.onFocus;return Sg("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Rv,value:"",onChange:function(){}})};function Ov(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 Dv(){return Ov(/^Mac/i)}function Mv(){return Ov(/^iPhone/i)||Ov(/^iPad/i)||Dv()&&navigator.maxTouchPoints>1}var Vv={clearIndicator:Wb,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.theme,o=i.colors,a=i.borderRadius;return Am({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:r?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},dropdownIndicator:Hb,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,i=n.spacing;return Am({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return Am({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?o.neutral10:o.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,o=i.spacing,a=i.colors;return Am(Am({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},Ub),t?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,i=e.theme,o=i.colors,a=i.spacing.baseUnit;return Am({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*a})},loadingMessage:Pb,menu:function(e,t){var n,r=e.placement,i=e.theme,o=i.borderRadius,a=i.spacing,s=i.colors;return Am((wm(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),wm(n,"position","absolute"),wm(n,"width","100%"),wm(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return Am({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors;return Am({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:o.neutral10,borderRadius:i/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,i=n.colors,o=e.cropWithEllipsis;return Am({overflow:"hidden",textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors,a=e.isFocused;return Am({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:a?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},noOptionsMessage:kb,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.theme,a=o.spacing,s=o.colors;return Am({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:i?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return Am({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing,o=r.colors;return Am({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?o.neutral40:o.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,i=e.hasValue,o=e.selectProps.controlShouldRenderValue;return Am({alignItems:"center",display:r&&i&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},jv={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}},Hv={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:hb(),captureMenuScroll:!hb(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:vv(),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 Wv(e,t,n,r){return{type:"option",data:t,isDisabled:Uv(e,t,n),isSelected:$v(e,t,n),label:_v(e,t),value:Jv(e,t),index:r}}function Fv(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(n,r){return Wv(e,n,t,r)}).filter(function(t){return Zv(e,t)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=Wv(e,n,t,r);return Zv(e,o)?o:void 0}).filter(vb)}function Xv(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Om(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function zv(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Om(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 Zv(e,t){var n=e.inputValue,r=void 0===n?"":n,i=t.data,o=t.isSelected,a=t.label,s=t.value;return(!Qv(e)||!o)&&Kv(e,{label:a,value:s,data:i},r)}var Yv=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},_v=function(e,t){return e.getOptionLabel(t)},Jv=function(e,t){return e.getOptionValue(t)};function Uv(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function $v(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Jv(e,t);return n.some(function(t){return Jv(e,t)===r})}function Kv(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Qv=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},qv=1,ey=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&&Bm(e,t)}(t,w);var e=function(e){var t=Rm();return function(){var n,r=Lm(e);if(t){var i=Lm(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Gm(this,n)}}(t);function t(n){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=e.call(this,n)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,i=n.onChange,o=n.name;t.name=o,r.ariaOnChange(e,t),i(e,t)},r.setValue=function(e,t,n){var i=r.props,o=i.closeMenuOnSelect,a=i.isMulti,s=i.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),o&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,i=t.isMulti,o=t.name,a=r.state.selectValue,s=i&&r.isOptionSelected(e,a),l=r.isOptionDisabled(e,a);if(s){var c=r.getOptionValue(e);r.setValue(a.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:o});i?r.setValue([].concat(Om(a),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,i=r.getOptionValue(e),o=n.filter(function(e){return r.getOptionValue(e)!==i}),a=yb(t,o,o[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(yb(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],i=t.slice(0,t.length-1),o=yb(e,i,i[0]||null);n&&r.onChange(o,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return Yv(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return zv(Fv(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ib.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return _v(r.props,e)},r.getOptionValue=function(e){return Jv(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,i=Vv[e](t,n);i.boxSizing="border-box";var o=r.props.styles[e];return o?o(i,t):i},r.getClassNames=function(e,t){var n,i;return null===(n=(i=r.props.classNames)[e])||void 0===n?void 0:n.call(i,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,Am(Am({},ev),e.components);var e},r.buildCategorizedOptions=function(){return Fv(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Xv(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:Am({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,i=t.menuIsOpen;r.focusInput(),i?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&lb(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var i=Math.abs(n.clientX-r.initialTouchX),o=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=i>5||o>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return Qv(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,i=t.backspaceRemovesValue,o=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,h=r.state,m=h.focusedOption,f=h.focusedValue,g=h.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(f)r.removeValue(f);else{if(!i)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!m||p&&r.isOptionSelected(m,g))return;r.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(c){if(!m)return;if(r.isComposing)return;r.selectOption(m);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&o&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!m)return;r.selectOption(m);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++qv),r.state.selectValue=ob(n.value),n.menuIsOpen&&r.state.selectValue.length){var i=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),a=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=i,r.state.focusedOption=o[a],r.state.focusedOptionId=Yv(i,o[a])}return r}return function(e,t,n){t&&Pm(e.prototype,t),n&&Pm(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&&pb(this.menuListRef,this.focusedOptionRef),(Dv()||Mv())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(pb(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,o=this.buildFocusableOptions(),a="first"===e?0:o.length-1;if(!this.props.isMulti){var s=o.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[a],focusedOptionId:this.getFocusedOptionId(o[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var o=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===i?0:-1===i?o:i-1;break;case"next":i>-1&&i<o&&(a=i+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,o=r.indexOf(n);n||(o=-1),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(jv):Am(Am({},jv),this.props.theme):jv}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,o=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:o,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Uv(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return $v(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Kv(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,i=e.inputId,o=e.inputValue,a=e.tabIndex,s=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,h=d.ariaSelection,m=this.commonProps,f=i||this.getElementId("input"),g=Am(Am(Am({"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?r.createElement(u,cp({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:f,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:s,type:"text",value:o},g)):r.createElement(xv,cp({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:nb,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,i=t.MultiValueContainer,o=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,h=u.isMulti,m=u.inputValue,f=u.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return m?null:r.createElement(l,cp({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),f);if(h)return b.map(function(t,s){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return r.createElement(n,cp({},c,{components:{Container:i,Label:o,Remove:a},isFocused:l,isDisabled:p,key:u,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(m)return null;var x=b[0];return r.createElement(s,cp({},c,{data:x,isDisabled:p}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||i||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,cp({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!e||!o)return null;return r.createElement(e,cp({},t,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var i=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return r.createElement(n,cp({},i,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,i=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,cp({},t,{innerProps:o,isDisabled:n,isFocused:i}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,i=t.GroupHeading,o=t.Menu,a=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,h=this.props,m=h.captureMenuScroll,f=h.inputValue,g=h.isLoading,b=h.loadingMessage,v=h.minMenuHeight,y=h.maxMenuHeight,x=h.menuIsOpen,I=h.menuPlacement,w=h.menuPosition,C=h.menuPortalTarget,A=h.menuShouldBlockScroll,N=h.menuShouldScrollIntoView,E=h.noOptionsMessage,T=h.onMenuScrollToTop,S=h.onMenuScrollToBottom;if(!x)return null;var k,P=function(t,n){var i=t.type,o=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,h=p===o,m=a?void 0:function(){return e.onOptionHover(o)},f=a?void 0:function(){return e.selectOption(o)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:f,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return r.createElement(u,cp({},d,{innerProps:b,data:o,isDisabled:a,isSelected:s,key:g,label:l,type:i,value:c,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())k=this.getCategorizedOptions().map(function(t){if("group"===t.type){var o=t.data,a=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return r.createElement(n,cp({},d,{key:l,data:o,options:a,Heading:i,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return P(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return P(t,"".concat(t.index))});else if(g){var B=b({inputValue:f});if(null===B)return null;k=r.createElement(l,d,B)}else{var L=E({inputValue:f});if(null===L)return null;k=r.createElement(c,d,L)}var R={minMenuHeight:v,maxMenuHeight:y,menuPlacement:I,menuPosition:w,menuShouldScrollIntoView:N},G=r.createElement(Eb,cp({},d,R),function(t){var n=t.ref,i=t.placerProps,s=i.placement,l=i.maxHeight;return r.createElement(o,cp({},d,R,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),r.createElement(Lv,{captureEnabled:m,onTopArrive:T,onBottomArrive:S,lockEnabled:A},function(t){return r.createElement(a,cp({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:l,focusedOption:p}),k)}))});return C||"fixed"===w?r.createElement(s,cp({},d,{appendTo:C,controlElement:this.controlRef,menuPlacement:I,menuPosition:w}),G):G}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,i=t.isDisabled,o=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!i)return r.createElement(Gv,{name:a,onFocus:this.onValueInputFocus});if(a&&!i){if(o){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return r.createElement("input",{name:a,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return r.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})}):r.createElement("input",{name:a,type:"hidden",value:""});return r.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return r.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,i=t.focusedOption,o=t.focusedValue,a=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return r.createElement(sv,cp({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:i,focusedValue:o,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,i=e.SelectContainer,o=e.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return r.createElement(i,cp({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),r.createElement(t,cp({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),r.createElement(o,cp({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),r.createElement(n,cp({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,h=e.isMulti,m=ob(u),f={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Xv(Fv(e,t))}(e,m):[],b=d?zv(Fv(e,m),"".concat(l,"-option")):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,m):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);f={selectValue:m,focusedOption:y,focusedOptionId:Yv(b,y),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var x=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},I=o,w=a&&s;return a&&!w&&(I={value:yb(h,m,m[0]||null),options:m,action:"initial-input-focus"},w=!s),"initial-input-focus"===(null==o?void 0:o.action)&&(I=null),Am(Am(Am({},f),x),{},{prevProps:e,ariaSelection:I,prevWasFocused:w})}}]),t}();ey.defaultProps=Hv;var ty=o(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,i=void 0!==r&&r,o=e.defaultValue,a=void 0===o?null:o,s=e.inputValue,l=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,h=e.onMenuOpen,m=e.value,g=Sm(e,km),b=Tm(c(void 0!==s?s:n),2),v=b[0],y=b[1],x=Tm(c(void 0!==l?l:i),2),I=x[0],w=x[1],C=Tm(c(void 0!==m?m:a),2),A=C[0],N=C[1],E=f(function(e,t){"function"==typeof u&&u(e,t),N(e)},[u]),T=f(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),y(void 0!==n?n:e)},[d]),S=f(function(){"function"==typeof h&&h(),w(!0)},[h]),k=f(function(){"function"==typeof p&&p(),w(!1)},[p]),P=void 0!==s?s:v,B=void 0!==l?l:I,L=void 0!==m?m:A;return Am(Am({},g),{},{inputValue:P,menuIsOpen:B,onChange:E,onInputChange:T,onMenuClose:k,onMenuOpen:S,value:L})}(e);return r.createElement(ey,cp({ref:t},n))}),ny=ty;const ry={sm:"h-12 px-3 rounded-lg",md:"h-14 px-3 rounded-xl",lg:"h-16 px-3 rounded-2xl"},iy=i.memo(({options:n,className:r,controlClassName:i,value:o,isCustomStyle:a=!1,placeholder:s,required:c,onChange:u,filterOptions:d,hasError:p,error:h,menuClassName:m,helperText:f,label:g,labelClassName:b,singleValueClassName:v,size:y="md",variant:x="default","data-cy":I,"data-testid":w,...C})=>{const A=l(()=>vv(d),[d]),N=l(()=>({control:({isFocused:e})=>{var t;return Ye(null!==(t=ry[y])&&void 0!==t?t:ry.md,"border border-input-border bg-white hover:not-focus:border-input-border-hover",{"border-input-border-selected outline outline-2 outline-input-border-selected":e&&!p,"border-input-border-critical shadow-none":p},i)},indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>a?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>Ye(a?"text-text text-body1 whitespace-normal":"text-text-secondary",v),menu:()=>Ye("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",m),option:({isFocused:e,isSelected:t,label:r})=>{var i;return Ye("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",a?"text-body1 text-text":"",a&&(null===(i=n[n.length-1])||void 0===i?void 0:i.label)!==r?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[a,i,m,n,p,y,v]);return"unstyled"===x?e(ny,{options:n,value:o,placeholder:c?`${s}*`:s,onChange:u,filterOption:A,className:Ye("rounded-xl",r),classNames:N,"data-cy":I,"data-testid":w,...C}):t("div",{className:"w-full",children:[g&&e("label",{className:Ye("mb-1 block text-sm font-medium text-text-secondary",b),children:g}),e(ny,{options:n,value:o,placeholder:c?`${s}*`:s,onChange:u,filterOption:A,className:Ye("rounded-xl",r),classNames:N,"data-cy":I,"data-testid":w,...C}),h&&e(vr,{className:"footnote mt-1 text-text-critical",children:h}),!h&&f&&e(vr,{className:"footnote mt-1 text-text-info",children:f})]})});function oy({paginatedArticles:n,totalArticles:r,currentPage:i,totalPages:o,selectedCategory:l,categoryOptions:c}){const u=P(),d=B(),p=L(),h=s(!0);return a(()=>{h.current?h.current=!1:window.scrollTo({top:0,behavior:"smooth"})},[i]),t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e(vr,{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(vr,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(vr,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(vr,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",r," articles"]})]}),e(iy,{options:c,value:l,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;!function(e,t){const n=new URLSearchParams(p.toString());t?n.set(e,t):n.delete(e),n.delete("page"),u.push(`${d}?${n.toString()}`,{scroll:!1})}("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var r,i,o,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(pd,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e(vr,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),o>1&&e(ym,{currentPage:i,totalPages:o,getPageHref:function(e){const t=new URLSearchParams(p.toString());1===e?t.delete("page"):t.set("page",e.toString());const n=t.toString();return n?`${d}?${n}`:d},onPageChange:function(e){},ariaLabel:"Blog article pagination"})]})}function ay({title:n="recent articles",description:r,paginatedArticles:i,totalArticles:o,currentPage:a,totalPages:s,selectedCategory:l,categoryOptions:c,onCategoryChange:u,onPageChange:d,getPageHref:p,asList:h=!1,imageComponent:m}){return t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[r&&e(vr,{as:"p",className:"body1 mb-4 w-full text-center md:mb-6",children:r}),e(vr,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:n}),c.length>0&&t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t(vr,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(vr,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(vr,{as:"span",className:"md:hidden",children:["showing"," "]}),i.length," of ",o," articles"]})]}),e(iy,{options:c,value:l,onChange:function(e){if(!e||Array.isArray(e))return;null==u||u(e)},className:"w-full md:w-[280px]"})]})]}),i.length>0?e("div",{className:h?"mx-auto flex max-w-[1200px] flex-col gap-1 px-5 pb-16":"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:i.map((t,n)=>{var r,i,o,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(pd,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,imageComponent:m,asGrid:!h,index:n},t.slug)})}):e(vr,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),s>1&&e(ym,{currentPage:a,totalPages:s,getPageHref:p,onPageChange:function(e){null==d||d(e)},ariaLabel:"Blog article pagination"})]})}iy.displayName="Select";const sy=n=>{const{links:r=[],textColor:i="dark",mobileTextColor:o,desktopTextColor:a,maxWidth:s=!0,float:l="desktop"}=n,c=`${"dark"===(null!=o?o:"desktop"===l?"dark":i)?"text-text":"text-white"} ${"dark"===(null!=a?a:"mobile"===l?"dark":i)?"xl:text-text":"xl:text-white"}`,u="always"===l?"absolute":"mobile"===l?"absolute xl:relative":"desktop"===l?"relative xl:absolute":"relative";return r.length?e("nav",{"aria-label":"Breadcrumb",className:(s?`${"none"===l&&"mx-5"} max-w-120 xl:mx-auto`:"mx-auto")+" relative",children:e("ol",{className:`${"always"===l&&"px-7 md:px-14"} right-0 z-10 mx-0 flex w-full flex-nowrap items-center gap-2 pb-0 pt-8 ${u} xl:mx-auto xl:flex-wrap xl:px-3`,children:r.map((n,i)=>{const{image:o,...a}=n,s=(null==o?void 0:o.url)?o.url.startsWith("//")?`https:${o.url}`:o.url:"",l=i===r.length-1;return t("li",l?{className:"flex min-w-0 items-center",children:[s&&e("img",{src:s,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e(vr,{as:"span",className:`body3 mr-2 break-words ${c}`,children:n.buttonLabel})]}:{className:"flex flex-none items-center",children:[s&&e("img",{src:s,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e(wr,{href:a.href,className:`label3 mr-2 whitespace-nowrap ${c} hover:underline`,children:a.buttonLabel}),e(br,{name:"chevron_right",className:`${c} `})]},i)})})}):null},ly=n=>{const{anchorId:r="SearchBlock",title:i,subTitle:o,enableHeading:a,searchDescription:s,searchInputPlaceholder:l,basicCaption:u,caption:d,backgroundColor:p,color:h,onSubmit:m}=n,[f,g]=c("");return e("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[p]} ${"dark"==h?"text-text":"text-white"}`,id:r,"data-testid":"search-block",children:e("div",{className:"flex justify-center",children:t("div",{className:"w-[1200px]",children:[t("div",{className:"mb-8 text-center",children:[e(vr,{as:a?"h1":"h2",className:Ye("heading2 md:heading1"),children:i}),o&&e(vr,{as:"div",className:Ye("subheading2 mt-2 md:subheading1"),children:o})]}),s?e(vr,{className:"heading6 text-center",children:s}):null,e("span",{className:"w-full",children:t("form",{onSubmit:e=>{e.preventDefault(),null==m||m({searchText:f})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e($r,{type:"submit",className:"ml-2 inline-flex",children:e(br,{name:"search",className:"text-text"})}),e("div",{className:"flex-grow",children:e(zd,{value:f,onChange:e=>g(e.target.value),placeholder:l,containerClassName:"px-4 pl-0 rounded-md flex-grow border-none",className:"body3 rounded-md text-text"})})]})}),d||null,u]})})})},cy={yellow:{bg:"bg-fill-brand-accent",text:"text"},white:{bg:"white",text:"text"},navy:{bg:"bg-fill-inverse",text:"text-inverse"},green:{bg:"bg-fill-success",text:"text-inverse"}},uy=n=>{const{title:r,variant:i="yellow",cta:o,navHeight:a,isVisible:s,renderCheckPlans:l}=n,c=cy[null==i?void 0:i.toLowerCase()]||cy.yellow;if(!s)return null;const u=(null==o?void 0:o.buttonLabel)||"Check plans",d=null==l?void 0:l({ctaText:u,buttonVariant:null==o?void 0:o.buttonVariant,showButtonAs:"solid",cta:o});return t("div",{style:{top:`${a}px`},className:Ye(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 bg-${c.bg} text-${c.text}`,"flex flex-col items-center justify-center gap-3 p-[10px] lg:flex-row lg:gap-8 lg:px-6 lg:py-[10px]"),children:[e(vr,{className:"label3 w-full text-center md:label1 lg:w-auto lg:text-left",children:r}),d?e("div",{children:d}):null]})};function dy(e){if(!e)return;const t=Date.parse(e);if(Number.isFinite(t))return t;console.error("Invalid countdown datetime",{value:e})}function py(e){const t=Math.max(0,Math.floor(e)),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60;return`${String(n).padStart(2,"0")}H : ${String(r).padStart(2,"0")}M : ${String(i).padStart(2,"0")}`}const hy=({ctaSuffixText:n,backgroundColor:r,iconName:i,boxShadow:o,ctaButtonLabel:u,ctaButtonLink:d,ctaButtonTarget:p,anchorId:h="anchored-banner",enableCountdownTimer:m,countdownStartDateTime:g,countdownEndDateTime:b})=>{const v=r?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-white"}[r]:"bg-bg-fill-brand-accent",y="yellow"===r||"white"===r||!r?"text-text-primary":"text-white",x=l(()=>dy(b),[b]),I=l(()=>dy(g),[g]),w=l(()=>!(!m||void 0===x)&&((!g||void 0!==I)&&(!(void 0!==I&&I>=x)||(console.error("Invalid countdown range: start must be before end",{countdownStartDateTime:g,countdownEndDateTime:b}),!1))),[m,x,I,g,b]),[C,N]=c(()=>Date.now()),E=s(null),T=f(()=>{null!==E.current&&(window.clearInterval(E.current),E.current=null)},[]);a(()=>{if(w)return E.current=window.setInterval(()=>{const e=Date.now();void 0!==x&&e>=x&&T(),N(e)},1e3),T;T()},[w,x,T]);const S=l(()=>{if(!w||void 0===x)return{shouldShow:!1,text:""};if(void 0!==I&&C<I||C>=x)return{shouldShow:!1,text:""};const e=(x-C)/1e3;return{shouldShow:e>0,text:py(e)}},[w,x,I,C]);return e("section",{id:h,children:e("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${v} ${o||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e(A,{href:d||"#",target:p||"_self",className:"max-w-screen-xl w-full transition-all",children:e("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:t("div",{className:`${y} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[i&&e(br,{name:i,size:24,fill:1,className:`${y} align-text-bottom`}),S.shouldShow&&e("span",{className:"inline-block whitespace-nowrap rounded-lg bg-white px-1 tabular-nums text-text",children:S.text}),S.shouldShow?" ":null,u&&u," ",n&&e("span",{className:"ml-0.5",children:n})]})})})})})};function my({content:n}){let r=3;const[i,o]=c(!1),[l,u]=c(!1),d=s(null);a(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=At.get(e);return t?wt(t):null}("cookieBannerClosed");o("true"!==e)},[]),a(()=>{(()=>{const e=document.getElementById("anchored-banner");u(!!e)})()},[]),a(()=>{var e,t,n,r;return i?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(r=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===r||r.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[i]),a(()=>{if(!i)return;const e=()=>{if(d.current){const e=d.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let r;const o=()=>{clearTimeout(r),r=setTimeout(e,150)};return window.addEventListener("resize",o),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(r),window.removeEventListener("resize",o),document.documentElement.style.removeProperty("--cookie-banner-height")}},[i,l]);l&&(r=14);return i?t("div",{id:"cookie-banner",ref:d,className:"fixed z-[1000] max-w-[350px] rounded-xl bg-white py-5 pl-6 pr-12 text-black shadow-lg ring-1 ring-gray-900/10 md:max-w-[656px]",style:{bottom:"0px",right:"20px",marginBottom:`${4*r}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e(cd,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);o(!1),((e,t,n)=>{if("undefined"==typeof window)return;const r=JSON.stringify(t),i=It(r);At.set(e,i,n)})("cookieBannerClosed",!0,{expires:e})},children:e(br,{name:"close"})}),n.richText?e("div",{className:"mx-auto my-4 [&>a]:footnote",children:n.richText}):null]}):null}const fy=({fill:n="#FFFEEF"})=>{const r=`logo-cream-clip-${i.useId()}`;return t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",fill:"none",viewBox:"0 0 100 99",preserveAspectRatio:"xMidYMid meet",children:[t("g",{fill:n,clipPath:`url(#${r})`,children:[e("path",{d:"M23.877 73.439c2.829 9.044 7.288 13.706 25.03 18.07 16.735 4.111 43.31 12.356 48.798 3.65 3.454-5.095 1.534-12.395.415-18.244-.875-3.853-1.756-7.3-2.534-11.074-.255-1.237-2.034-1.22-2.278.022-1.284 6.552-3.528 11.26-8.55 14.482-8.572 6.125-28.7 2.295-39.453-2.272-11.487-4.656-14.696-13.509-15.486-23.126-.296-5.157.437-10.123 1.818-14.392.409-1.254-1.273-2.097-2.045-1.023-6.113 8.464-8.073 23.88-5.71 33.913",opacity:".45"}),e("path",{d:"M74.18 75.362c9.135-2.8 13.845-7.215 18.253-24.779 4.153-16.569 12.481-42.878 3.687-48.31-5.147-3.42-12.52-1.52-18.429-.411-3.89.866-7.373 1.738-11.185 2.508-1.25.253-1.233 2.014.023 2.255 6.618 1.271 11.373 3.493 14.628 8.465 6.186 8.486 2.318 28.412-2.295 39.059-4.704 11.371-13.646 14.549-23.36 15.33-5.21.293-10.226-.432-14.537-1.799-1.267-.405-2.12 1.26-1.034 2.025 8.55 6.051 24.12 7.992 34.255 5.652",opacity:".45"}),e("path",{d:"M76.124 25.562c-2.83-9.044-7.289-13.706-25.03-18.07C34.358 3.38 7.783-4.865 2.3 3.842-1.153 8.937.767 16.237 1.886 22.086c.875 3.852 1.756 7.3 2.534 11.074.256 1.237 2.034 1.22 2.278-.023 1.284-6.552 3.528-11.26 8.55-14.482 8.572-6.124 28.7-2.294 39.453 2.272 11.487 4.657 14.696 13.51 15.486 23.126.296 5.158-.437 10.124-1.818 14.392-.409 1.255 1.273 2.098 2.045 1.024 6.113-8.464 8.073-23.88 5.71-33.913",opacity:".45"}),e("path",{d:"M25.82 23.638c-9.135 2.8-13.845 7.216-18.253 24.78-4.153 16.568-12.48 42.877-3.687 48.31 5.147 3.42 12.52 1.519 18.429.41 3.891-.865 7.374-1.737 11.186-2.508 1.25-.253 1.232-2.013-.023-2.255-6.619-1.27-11.373-3.492-14.629-8.464-6.186-8.487-2.317-28.413 2.296-39.059 4.703-11.372 13.645-14.55 23.36-15.331 5.209-.293 10.225.433 14.537 1.8 1.266.404 2.118-1.26 1.033-2.025-8.55-6.052-24.12-7.992-34.255-5.652",opacity:".45"})]}),e("defs",{children:e("clipPath",{id:r,children:e("path",{fill:"#fff",d:"M0 0h100v99H0z"})})})]})},gy=n=>{const{anchorId:r="email-input",title:i,subTitle:o,emailInputDescription:a,inputPlaceholder:s="Enter your email here",ctaButtonText:l,ctaText:u,caption:d,backgroundColor:p="white",successFeedback:h,onSubmit:m,themeColor:f,showPinWheel:g=!0,padding:b="large",requiredErrorMessage:v="Email is required",validationErrorMessage:y="Invalid email address"}=n||{},x=l||u||"Sign me up",I={green:"bg-bg-fill-brand",white:"bg-bg",gray90:"bg-[var(--color-text-secondary)]"},w={green:"bg-bg-fill-brand",blue:"bg-bg-fill-brand-supporting",orange:"bg-orange-500",purple:"bg-bg-fill-brand-tertiary",white:"bg-bg"},C=(p||"").trim().toLowerCase()||"white",A=I[C]||I.white,N="white"===C?"text-text":"text-white",E=(f||"").trim().toLowerCase()||"green",T=w[E]||w.green,S=["green","blue","purple"].includes(E),k=S?"text-white":"text-text",P=S?"text-text-inverse":"text-text",B="white"===E?"#E0E0E0":"#FFFEEF",L="none"===b?"!py-0 md:!py-0":"!py-8 md:!py-20",[R,G]=c(""),[O,D]=c(!1),[M,V]=c(""),j=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e);return t("section",{id:r,className:`w-full px-4 ${L} md:px-0 ${A}`,children:[t("div",{className:`mx-auto max-w-[1200px] overflow-hidden !rounded-[20px] md:rounded-[20px] flex flex-col items-start !px-5 !pt-6 !pb-10 md:!p-10 md:!pt-12 !h-[344px] md:!w-auto md:!h-[367px] relative ${T}`,children:[g&&e("div",{className:"absolute right-[-50px] top-[-30px] hidden h-[420px] w-[420px] pointer-events-none lg:block","aria-hidden":"true",children:e(fy,{fill:B})}),t("div",{className:"w-full",children:[t("div",{className:"lg:w-[548px]",children:[i&&e("h1",{className:`mb-3 text-[2.25rem] leading-[2.5rem] font-black md:text-heading1 md:font-black ${k}`,children:i}),o&&e("h2",{className:`mb-3 text-heading1 font-black ${k}`,children:o}),a&&e("p",{className:`!mb-4 md:!mb-16 text-xl leading-7 font-medium md:text-subheading1 md:!leading-8 md:!font-bold opacity-95 ${k}`,children:a})]}),t("div",{className:"relative max-w-[548px] flex w-full flex-col items-center sm:flex-row sm:overflow-hidden sm:rounded-3xl sm:border-2 sm:!border-gray-600 sm:bg-white sm:p-1.5 sm:shadow-xl sm:transition-all md:!h-[75px] md:p-2",children:[e("div",{className:"w-full !rounded-lg border border-transparent bg-white p-1.5 shadow-md sm:border-0 sm:p-0 sm:rounded-none sm:shadow-none",children:e("input",{type:"email",placeholder:s,value:R,onChange:e=>{const t=e.target.value;G(t),O&&D(!1),t.trim()?j(t)?V(""):V(y):V(v)},className:"w-full flex-grow bg-transparent !pl-4 pr-6 py-3 text-[1rem] leading-none md:text-base font-normal text-text outline-none placeholder:input-text-placeholder md:py-4"})}),e(cd,{buttonLabel:x,buttonVariant:"primary_inverse",buttonClassName:"capitalize-first whitespace-nowrap rounded-2xl px-8 !text-lg mt-3 w-full sm:mt-0 sm:w-auto sm:absolute sm:right-[8px] sm:top-[calc(50%-28px)]",onClick:()=>{R.trim()?j(R)?(m({email:R}),G(""),D(!0),V("")):V(y):V(v)}})]}),M&&e("p",{className:`mt-2 text-label4 font-semibold ${P}`,children:M}),h&&O&&!M&&e("p",{className:`mt-2 text-label4 font-semibold ${k}`,children:h})]})]}),d&&e("div",{className:`mx-auto max-w-[1200px] px-6 md:px-8 ${N}`,children:d})]})},by=({fields:n,isInPopupContainer:r=!1,onClose:i,onContinueCheckout:o,checkShouldShowBanner:s,onBannerShown:l})=>{var u,d,p,h;const{anchorId:m,mainHeading:f,description:g,cta:b}=n,[v,y]=c(!1);a(()=>{const e=()=>{(null==s?void 0:s())&&!v&&(y(!0),null==l||l())};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[]);const x=()=>{null==o||o()};return r?t("div",{className:"pop-up-body mb-5 mt-10 w-full","data-section-type":"cart-retention-banner","data-section-index":"0",children:[e(vr,{className:"heading5 text-center lg:heading3",children:f||"Welcome back. Let’s finish your order"}),g&&Zr(Tt(null==g?void 0:g.json),!1,"body1 my-4 text-center"),e("div",{className:"flex w-full justify-center",children:e(cd,{onClick:x,buttonLabel:null!==(u=null==b?void 0:b.buttonLabel)&&void 0!==u?u:"Continue checkout",disableAnimation:null===(d=null==b?void 0:b.disableAnimation)||void 0===d||d,animationType:null==b?void 0:b.animationType})})]}):e("section",{id:m,"data-testid":"cart-retention-banner",children:e(hm,{size:"sm",isOpen:v,onRequestClose:()=>{null==i||i(),y(!1)},bodyClassName:"flex items-center justify-center",type:"cart-retention-banner",children:t("div",{className:"pop-up-body mb-5 mt-10 w-full",children:[e(vr,{className:"heading5 text-center lg:heading3",children:f||"Welcome back. Let&apos;s finish your order"}),g&&Zr(Tt(null==g?void 0:g.json),!1,"body1 my-4 text-center"),e("div",{className:"flex w-full justify-center",children:e(cd,{onClick:x,buttonLabel:null!==(p=null==b?void 0:b.buttonLabel)&&void 0!==p?p:"Continue checkout",disableAnimation:null===(h=null==b?void 0:b.disableAnimation)||void 0===h||h,animationType:null==b?void 0:b.animationType})})]})})})},vy={gray90:"#464646",green:"#24A76A",white:"#FFFFFF"},yy=({iframeUrl:t,anchorId:n,backgroundColor:r,height:i})=>{const o=s(null);return a(()=>{if(!t)return;const e=e=>{var t;const n=null===(t=e.data)||void 0===t?void 0:t.iframeHeight;"number"==typeof n&&Number.isFinite(n)&&n>0&&n<=1e4&&o.current&&(o.current.style.height=`${n}px`)};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[t]),t?e("section",{id:n,className:"w-full",children:e("iframe",{ref:o,src:t,width:"100%",frameBorder:"0",scrolling:"no",style:{background:r?vy[r]:"transparent",...i?{height:`${i}px`}:{}},title:"Iframe Embed",loading:"lazy"})}):null};export{ei as Accordion,uy as AddressInputBanner,hy as AnchoredBottomBanner,pd as BlogCard,oy as BlogGrid,ay as BlogGridBase,sy as BreadcrumbNavigation,cd as Button,Nd as Callout,Ed as Cards,Dd as Carousel,by as CartRetentionBanner,bm as ComparisonTable,my as CookieBanner,fm as CtaCallout,rp as DynamicTabs,gy as EmailInputBlock,gm as FindKinetic,Md as FloatingBanner,Vd as Footer,yy as IframeEmbed,jd as ImagePromoBar,hm as Modal,Zd as Navigation,ip as OrderedList,Ud as PrimaryHero,kd as ProductCard,ly as SearchBlock,mm as ShapeBackgroundWrapper,xd as SimpleCard,Pd as TestimonialCard,op as Text,Jr as label1BoldOptions,Zr as renderContentfulRichText,_r as renderContentfulRichTextTable,Tt as toDocument,Yr as useContentfulRichText,Ur as useProcessedChecklist};
25
+ */function Bg(){return Tg||(Tg=1,"production"===process.env.NODE_ENV?Ag.exports=function(){if(xg)return Ng;xg=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,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 r:case o:case i:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case m:case h:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return Ng.AsyncMode=l,Ng.ConcurrentMode=c,Ng.ContextConsumer=s,Ng.ContextProvider=a,Ng.Element=t,Ng.ForwardRef=u,Ng.Fragment=r,Ng.Lazy=m,Ng.Memo=h,Ng.Portal=n,Ng.Profiler=o,Ng.StrictMode=i,Ng.Suspense=d,Ng.isAsyncMode=function(e){return x(e)||y(e)===l},Ng.isConcurrentMode=x,Ng.isContextConsumer=function(e){return y(e)===s},Ng.isContextProvider=function(e){return y(e)===a},Ng.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ng.isForwardRef=function(e){return y(e)===u},Ng.isFragment=function(e){return y(e)===r},Ng.isLazy=function(e){return y(e)===m},Ng.isMemo=function(e){return y(e)===h},Ng.isPortal=function(e){return y(e)===n},Ng.isProfiler=function(e){return y(e)===o},Ng.isStrictMode=function(e){return y(e)===i},Ng.isSuspense=function(e){return y(e)===d},Ng.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},Ng.typeOf=y,Ng}():Ag.exports=(Eg||(Eg=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,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 f=e.type;switch(f){case l:case c:case r:case o:case i:case d:return f;default:var g=f&&f.$$typeof;switch(g){case s:case u:case m:case h:case a:return g;default:return p}}case n:return p}}}var x=l,w=c,I=s,C=a,A=t,N=u,E=r,T=m,S=h,k=n,P=o,B=i,L=d,R=!1;function O(e){return y(e)===c}Pg.AsyncMode=x,Pg.ConcurrentMode=w,Pg.ContextConsumer=I,Pg.ContextProvider=C,Pg.Element=A,Pg.ForwardRef=N,Pg.Fragment=E,Pg.Lazy=T,Pg.Memo=S,Pg.Portal=k,Pg.Profiler=P,Pg.StrictMode=B,Pg.Suspense=L,Pg.isAsyncMode=function(e){return R||(R=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(e)||y(e)===l},Pg.isConcurrentMode=O,Pg.isContextConsumer=function(e){return y(e)===s},Pg.isContextProvider=function(e){return y(e)===a},Pg.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Pg.isForwardRef=function(e){return y(e)===u},Pg.isFragment=function(e){return y(e)===r},Pg.isLazy=function(e){return y(e)===m},Pg.isMemo=function(e){return y(e)===h},Pg.isPortal=function(e){return y(e)===n},Pg.isProfiler=function(e){return y(e)===o},Pg.isStrictMode=function(e){return y(e)===i},Pg.isSuspense=function(e){return y(e)===d},Pg.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},Pg.typeOf=y}()),Pg)),Ag.exports}!function(){if(kg)return Sg;kg=1;var e=Bg(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function o(n){return e.isMemo(n)?r:i[n.$$typeof]||t}i[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[e.Memo]=r;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;Sg=function e(t,r,i){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,i)}var h=s(r);l&&(h=h.concat(l(r)));for(var m=o(t),f=o(r),g=0;g<h.length;++g){var b=h[g];if(!(n[b]||i&&i[b]||f&&f[b]||m&&m[b])){var v=c(r,b);try{a(t,b,v)}catch(e){}}}}return t}}();var Lg="undefined"!=typeof document;var Rg=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Lg&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var Og={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 Gg(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Mg=/[A-Z]|^ms/g,Dg=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Vg=function(e){return 45===e.charCodeAt(1)},jg=function(e){return null!=e&&"boolean"!=typeof e},Hg=Gg(function(e){return Vg(e)?e:e.replace(Mg,"-$&").toLowerCase()}),Fg=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Dg,function(e,t,n){return Xg={name:t,styles:n,next:Xg},t})}return 1===Og[e]||Vg(e)||"number"!=typeof t||0===t?t:t+"px"};function Wg(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var i=n;if(1===i.anim)return Xg={name:i.name,styles:i.styles,next:Xg},i.name;var o=n;if(void 0!==o.styles){var a=o.next;if(void 0!==a)for(;void 0!==a;)Xg={name:a.name,styles:a.styles,next:Xg},a=a.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Wg(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a){var s=a;jg(s)&&(r+=Hg(o)+":"+Fg(o,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)jg(a[l])&&(r+=Hg(o)+":"+Fg(o,a[l])+";");else{var c=Wg(e,t,a);switch(o){case"animation":case"animationName":r+=Hg(o)+":"+c+";";break;default:r+=o+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var s=Xg,l=n(e);return Xg=s,Wg(e,t,l)}}return n}var Xg,zg=/label:\s*([^\s;{]+)\s*(;|$)/g;function Zg(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";Xg=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=Wg(n,t,o)):i+=o[0];for(var a=1;a<e.length;a++){if(i+=Wg(n,t,e[a]),r)i+=o[a]}zg.lastIndex=0;for(var s,l="";null!==(s=zg.exec(i));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:Xg}}var _g="undefined"!=typeof document,Yg=function(e){return e()},Jg=!!r.useInsertionEffect&&r.useInsertionEffect,Ug=_g&&Jg||Yg,$g="undefined"!=typeof document,Kg=r.createContext("undefined"!=typeof HTMLElement?Cg({key:"css"}):null);Kg.Provider;var Qg=function(e){return o(function(t,n){var r=h(Kg);return e(t,r,n)})};$g||(Qg=function(e){return function(t){var n=h(Kg);return null===n?(n=Cg({key:"css"}),r.createElement(Kg.Provider,{value:n},e(t,n))):e(t,n)}});var qg,eb,tb=r.createContext({}),nb={}.hasOwnProperty,rb="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ib=function(e){var t=e.cache,n=e.serialized,i=e.isStringTag;Rg(t,n,i);var o=Ug(function(){return function(e,t,n){Rg(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i="",o=t;do{var a=e.insert(t===o?"."+r:"",o,e.sheet,!0);Lg||void 0===a||(i+=a),o=o.next}while(void 0!==o);if(!Lg&&0!==i.length)return i}}(t,n,i)});if(!$g&&void 0!==o){for(var a,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return r.createElement("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},ob=Qg(function(e,t,n){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var o=e[rb],a=[i],s="";"string"==typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=Zg(a,void 0,r.useContext(tb));s+=t.key+"-"+l.name;var c={};for(var u in e)nb.call(e,u)&&"css"!==u&&u!==rb&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),r.createElement(r.Fragment,null,r.createElement(ib,{cache:t,serialized:l,isStringTag:"string"==typeof o}),r.createElement(o,c))}),ab=ob,sb=function(e,t){var n=arguments;if(null==t||!nb.call(t,"css"))return r.createElement.apply(void 0,n);var i=n.length,o=new Array(i);o[0]=ab,o[1]=function(e,t){var n={};for(var r in t)nb.call(t,r)&&(n[r]=t[r]);return n[rb]=e,n}(e,t);for(var a=2;a<i;a++)o[a]=n[a];return r.createElement.apply(null,o)};function lb(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Zg(t)}qg=sb||(sb={}),eb||(eb=qg.JSX||(qg.JSX={}));const cb=Math.min,ub=Math.max,db=Math.round,pb=Math.floor,hb=e=>({x:e,y:e});function mb(){return"undefined"!=typeof window}function fb(e){return vb(e)?(e.nodeName||"").toLowerCase():"#document"}function gb(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function bb(e){var t;return null==(t=(vb(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function vb(e){return!!mb()&&(e instanceof Node||e instanceof gb(e).Node)}function yb(e){return!!mb()&&(e instanceof HTMLElement||e instanceof gb(e).HTMLElement)}function xb(e){return!(!mb()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof gb(e).ShadowRoot)}const wb=new Set(["inline","contents"]);function Ib(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Ab(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!wb.has(i)}const Cb=new Set(["html","body","#document"]);function Ab(e){return gb(e).getComputedStyle(e)}function Nb(e){const t=function(e){if("html"===fb(e))return e;const t=e.assignedSlot||e.parentNode||xb(e)&&e.host||bb(e);return xb(t)?t.host:t}(e);return function(e){return Cb.has(fb(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:yb(t)&&Ib(t)?t:Nb(t)}function Eb(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=Nb(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=gb(i);if(o){const e=Tb(a);return t.concat(a,a.visualViewport||[],Ib(i)?i:[],e&&n?Eb(e):[])}return t.concat(i,Eb(i,[],n))}function Tb(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Sb(e){return t=e,mb()&&(t instanceof Element||t instanceof gb(t).Element)?e:e.contextElement;var t}function kb(e){const t=Sb(e);if(!yb(t))return hb(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=function(e){const t=Ab(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=yb(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=db(n)!==o||db(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}(t);let a=(o?db(n.width):n.width)/r,s=(o?db(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function Pb(e,t,n,r){void 0===t&&(t=!1);const i=e.getBoundingClientRect(),o=Sb(e);let a=hb(1);t&&(a=kb(e));const s=hb(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,u=i.width/a.x,d=i.height/a.y;if(o){const e=r;let t=gb(o),n=Tb(t);for(;n&&r&&e!==t;){const e=kb(n),r=n.getBoundingClientRect(),i=Ab(n),o=r.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,a=r.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=a,t=gb(n),n=Tb(t)}}return function(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}({width:u,height:d,x:l,y:c})}function Bb(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Lb(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Sb(e),u=i||o?[...c?Eb(c):[],...Eb(t)]:[];u.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,r=null;const i=bb(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:h}=c;if(s||t(),!p||!h)return;const m={rootMargin:-pb(d)+"px "+-pb(i.clientWidth-(u+p))+"px "+-pb(i.clientHeight-(d+h))+"px "+-pb(u)+"px",threshold:ub(0,cb(1,l))||1};let f=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!f)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||Bb(c,e.getBoundingClientRect())||a(),f=!1}try{r=new IntersectionObserver(g,{...m,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(g,m)}r.observe(e)}(!0),o}(c,n):null;let p,h=-1,m=null;a&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),c&&!l&&m.observe(c),m.observe(t));let f=l?Pb(e):null;return l&&function t(){const r=Pb(e);f&&!Bb(f,r)&&n();f=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(p)}}var Rb="undefined"!=typeof document?p:function(){},Ob=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Gb=function(){};function Mb(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Db(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&o.push("".concat(Mb(e,a)));return o.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var Vb=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===qm(e)&&null!==e?[e]:[];var t},jb=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,rf({},lf(e,Ob))},Hb=function(e,t,n){var r=e.cx,i=e.getStyles,o=e.getClassNames,a=e.className;return{css:i(t,e),className:r(null!=n?n:{},o(t,e),a)}};function Fb(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Wb(e){return Fb(e)?window.pageYOffset:e.scrollTop}function Xb(e,t){Fb(e)?window.scrollTo(0,t):e.scrollTop=t}function zb(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Gb,i=Wb(e),o=t-i,a=0;!function t(){var s,l=o*((s=(s=a+=10)/n-1)*s*s+1)+i;Xb(e,l),a<n?window.requestAnimationFrame(t):r(e)}()}function Zb(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?Xb(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&Xb(e,Math.max(t.offsetTop-i,0))}function _b(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Yb=!1,Jb={get passive(){return Yb=!0}},Ub="undefined"!=typeof window?window:{};Ub.addEventListener&&Ub.removeEventListener&&(Ub.addEventListener("p",Gb,Jb),Ub.removeEventListener("p",Gb,!1));var $b=Yb;function Kb(e){return null!=e}function Qb(e,t,n){return e?t:n}var qb=["children","innerProps"],ev=["children","innerProps"];function tv(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),h=p.bottom,m=p.height,f=p.top,g=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:Fb(u=l)?window.innerHeight:u.clientHeight,v=Wb(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),w=g-x,I=b-f,C=w+v,A=d-v-f,N=h-b+v+y,E=v+f-x,T=160;switch(i){case"auto":case"bottom":if(I>=m)return{placement:"bottom",maxHeight:t};if(A>=m&&!a)return o&&zb(l,N,T),{placement:"bottom",maxHeight:t};if(!a&&A>=r||a&&I>=r)return o&&zb(l,N,T),{placement:"bottom",maxHeight:a?I-y:A-y};if("auto"===i||a){var S=t,k=a?w:C;return k>=r&&(S=Math.min(k-y-s,t)),{placement:"top",maxHeight:S}}if("bottom"===i)return o&&Xb(l,N),{placement:"bottom",maxHeight:t};break;case"top":if(w>=m)return{placement:"top",maxHeight:t};if(C>=m&&!a)return o&&zb(l,E,T),{placement:"top",maxHeight:t};if(!a&&C>=r||a&&w>=r){var P=t;return(!a&&C>=r||a&&w>=r)&&(P=a?w-x:C-x),o&&zb(l,E,T),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var nv,rv=function(e){return"auto"===e?"bottom":e},iv=d(null),ov=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,o=e.menuPosition,a=e.menuShouldScrollIntoView,l=e.theme,u=(h(iv)||{}).setPortalPlacement,d=s(null),p=sf(c(r),2),m=p[0],f=p[1],g=sf(c(null),2),b=g[0],v=g[1],y=l.spacing.controlHeight;return Rb(function(){var e=d.current;if(e){var t="fixed"===o,s=tv({maxHeight:r,menuEl:e,minHeight:n,placement:i,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:y});f(s.maxHeight),v(s.placement),null==u||u(s.placement)}},[r,i,o,a,n,u,y]),t({ref:d,placerProps:rf(rf({},e),{},{placement:b||rv(i),maxHeight:m})})},av=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return sb("div",Wp({},Hb(e,"menu",{menu:!0}),{ref:n},r),t)},sv=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return rf({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},lv=sv,cv=sv,uv=["size"],dv=["innerProps","isRtl","size"];var pv,hv,mv="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)."}},fv=function(e){var t=e.size,n=lf(e,uv);return sb("svg",Wp({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:mv},n))},gv=function(e){return sb(fv,Wp({size:20},e),sb("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"}))},bv=function(e){return sb(fv,Wp({size:20},e),sb("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"}))},vv=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return rf({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*i,":hover":{color:n?o.neutral80:o.neutral40}})},yv=vv,xv=vv,wv=function(){var e=lb.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_"}}}(nv||(pv=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],hv||(hv=pv.slice(0)),nv=Object.freeze(Object.defineProperties(pv,{raw:{value:Object.freeze(hv)}})))),Iv=function(e){var t=e.delay,n=e.offset;return sb("span",{css:lb({animation:"".concat(wv," 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= */")})},Cv=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,o=e.innerProps,a=e.menuIsOpen;return sb("div",Wp({ref:i},Hb(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),o,{"aria-disabled":n||void 0}),t)},Av=["data"],Nv=function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,o=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return sb("div",Wp({},Hb(e,"group",{group:!0}),s),sb(o,Wp({},a,{selectProps:u,theme:c,getStyles:r,getClassNames:i,cx:n}),l),sb("div",null,t))},Ev=["innerRef","isDisabled","isHidden","inputClassName"],Tv={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Sv={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":rf({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Tv)},kv=function(e){return rf({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Tv)},Pv=function(e){var t=e.cx,n=e.value,r=jb(e),i=r.innerRef,o=r.isDisabled,a=r.isHidden,s=r.inputClassName,l=lf(r,Ev);return sb("div",Wp({},Hb(e,"input",{"input-container":!0}),{"data-value":n||""}),sb("input",Wp({className:t({input:!0},s),ref:i,style:kv(a),disabled:o},l)))},Bv=function(e){var t=e.children,n=e.innerProps;return sb("div",n,t)};var Lv=function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,o=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return sb(l,{data:r,innerProps:rf(rf({},Hb(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),i),selectProps:s},sb(c,{data:r,innerProps:rf({},Hb(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),sb(u,{data:r,innerProps:rf(rf({},Hb(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},Rv={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return sb("div",Wp({},Hb(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||sb(gv,null))},Control:Cv,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return sb("div",Wp({},Hb(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||sb(bv,null))},DownChevron:bv,CrossIcon:gv,Group:Nv,GroupHeading:function(e){var t=jb(e);t.data;var n=lf(t,Av);return sb("div",Wp({},Hb(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return sb("div",Wp({},Hb(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return sb("span",Wp({},t,Hb(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:Pv,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=void 0===r?4:r,o=lf(e,dv);return sb("div",Wp({},Hb(rf(rf({},o),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),sb(Iv,{delay:0,offset:n}),sb(Iv,{delay:160,offset:!0}),sb(Iv,{delay:320,offset:!n}))},Menu:av,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return sb("div",Wp({},Hb(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,i=e.innerProps,o=e.menuPlacement,a=e.menuPosition,u=s(null),d=s(null),p=sf(c(rv(o)),2),h=p[0],m=p[1],g=l(function(){return{setPortalPlacement:m}},[]),b=sf(c(null),2),v=b[0],y=b[1],x=f(function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===a?0:window.pageYOffset,n=e[h]+t;n===(null==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})}},[r,a,h,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);Rb(function(){x()},[x]);var w=f(function(){"function"==typeof d.current&&(d.current(),d.current=null),r&&u.current&&(d.current=Lb(r,u.current,x,{elementResize:"ResizeObserver"in window}))},[r,x]);Rb(function(){w()},[w]);var I=f(function(e){u.current=e,w()},[w]);if(!t&&"fixed"!==a||!v)return null;var C=sb("div",Wp({ref:I},Hb(rf(rf({},e),{},{offset:v.offset,position:a,rect:v.rect}),"menuPortal",{"menu-portal":!0}),i),n);return sb(iv.Provider,{value:g},t?S(C,t):C)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,i=lf(e,ev);return sb("div",Wp({},Hb(rf(rf({},i),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,i=lf(e,qb);return sb("div",Wp({},Hb(rf(rf({},i),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:Lv,MultiValueContainer:Bv,MultiValueLabel:Bv,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return sb("div",Wp({role:"button"},n),t||sb(gv,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.innerRef,a=e.innerProps;return sb("div",Wp({},Hb(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:o,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return sb("div",Wp({},Hb(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return sb("div",Wp({},Hb(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return sb("div",Wp({},Hb(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,i=e.hasValue;return sb("div",Wp({},Hb(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},Ov=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Gv(e,t){return e===t||!(!Ov(e)||!Ov(t))}function Mv(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Gv(e[n],t[n]))return!1;return!0}for(var Dv="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)."}},Vv=function(e){return sb("span",Wp({css:Dv},e))},jv={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,o=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,i=e.labels,o=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return"option ".concat(r,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,o=void 0===i?"":i,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(o," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(o).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Hv=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,o=e.isFocused,a=e.selectValue,s=e.selectProps,c=e.id,u=e.isAppleDevice,d=s.ariaLiveMessages,p=s.getOptionLabel,h=s.inputValue,m=s.isMulti,f=s.isOptionDisabled,g=s.isSearchable,b=s.menuIsOpen,v=s.options,y=s.screenReaderStatus,w=s.tabSelectsValue,I=s.isLoading,C=s["aria-label"],A=s["aria-live"],N=l(function(){return rf(rf({},jv),d||{})},[d]),E=l(function(){var e,n="";if(t&&N.onChange){var r=t.option,i=t.options,o=t.removedValue,s=t.removedValues,l=t.value,c=o||r||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=i||s||void 0,h=d?d.map(p):[],m=rf({isDisabled:c&&f(c,a),label:u,labels:h},t);n=N.onChange(m)}return n},[t,N,f,a,p]),T=l(function(){var e="",t=n||r,o=!!(n&&a&&a.includes(n));if(t&&N.onFocus){var s={focused:t,label:p(t),isDisabled:f(t,a),isSelected:o,options:i,context:t===n?"menu":"value",selectValue:a,isAppleDevice:u};e=N.onFocus(s)}return e},[n,r,p,f,N,i,a,u]),S=l(function(){var e="";if(b&&v.length&&!I&&N.onFilter){var t=y({count:i.length});e=N.onFilter({inputValue:h,resultsMessage:t})}return e},[i,h,b,N,v,y,I]),k="initial-input-focus"===(null==t?void 0:t.action),P=l(function(){var e="";if(N.guidance){var t=r?"value":b?"menu":"input";e=N.guidance({"aria-label":C,context:t,isDisabled:n&&f(n,a),isMulti:m,isSearchable:g,tabSelectsValue:w,isInitialFocus:k})}return e},[C,n,r,m,f,g,b,N,a,w,k]),B=sb(x,null,sb("span",{id:"aria-selection"},E),sb("span",{id:"aria-focused"},T),sb("span",{id:"aria-results"},S),sb("span",{id:"aria-guidance"},P));return sb(x,null,sb(Vv,{id:c},k&&B),sb(Vv,{"aria-live":A,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!k&&B))},Fv=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Wv=new RegExp("["+Fv.map(function(e){return e.letters}).join("")+"]","g"),Xv={},zv=0;zv<Fv.length;zv++)for(var Zv=Fv[zv],_v=0;_v<Zv.letters.length;_v++)Xv[Zv.letters[_v]]=Zv.base;var Yv=function(e){return e.replace(Wv,function(e){return Xv[e]})},Jv=function(e,t){void 0===t&&(t=Mv);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return r.clear=function(){n=null},r}(Yv),Uv=function(e){return e.replace(/^\s+|\s+$/g,"")},$v=function(e){return"".concat(e.label," ").concat(e.value)},Kv=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=rf({ignoreCase:!0,ignoreAccents:!0,stringify:$v,trim:!0,matchFrom:"any"},e),i=r.ignoreCase,o=r.ignoreAccents,a=r.stringify,s=r.trim,l=r.matchFrom,c=s?Uv(n):n,u=s?Uv(a(t)):a(t);return i&&(c=c.toLowerCase(),u=u.toLowerCase()),o&&(c=Jv(c),u=Yv(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},Qv=["innerRef"];function qv(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Object.entries(e).filter(function(e){var t=sf(e,1)[0];return!n.includes(t)});return i.reduce(function(e,t){var n=sf(t,2),r=n[0],i=n[1];return e[r]=i,e},{})}(lf(e,Qv),"onExited","in","enter","exit","appear");return sb("input",Wp({ref:t},n,{css:lb({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 ey=["boxSizing","height","overflow","paddingRight","position"],ty={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function ny(e){e.cancelable&&e.preventDefault()}function ry(e){e.stopPropagation()}function iy(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function oy(){return"ontouchstart"in window||navigator.maxTouchPoints}var ay=!("undefined"==typeof window||!window.document||!window.document.createElement),sy=0,ly={capture:!1,passive:!1};var cy=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},uy="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 dy(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,o=e.onTopLeave,l=s(!1),c=s(!1),u=s(0),d=s(null),p=f(function(e,t){if(null!==d.current){var a=d.current,s=a.scrollTop,u=a.scrollHeight,p=a.clientHeight,h=d.current,m=t>0,f=u-p-s,g=!1;f>t&&l.current&&(r&&r(e),l.current=!1),m&&c.current&&(o&&o(e),c.current=!1),m&&t>f?(n&&!l.current&&n(e),h.scrollTop=u,g=!0,l.current=!0):!m&&-t>s&&(i&&!c.current&&i(e),h.scrollTop=0,g=!0,c.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,r,i,o]),h=f(function(e){p(e,e.deltaY)},[p]),m=f(function(e){u.current=e.changedTouches[0].clientY},[]),g=f(function(e){var t=u.current-e.changedTouches[0].clientY;p(e,t)},[p]),b=f(function(e){if(e){var t=!!$b&&{passive:!1};e.addEventListener("wheel",h,t),e.addEventListener("touchstart",m,t),e.addEventListener("touchmove",g,t)}},[g,m,h]),v=f(function(e){e&&(e.removeEventListener("wheel",h,!1),e.removeEventListener("touchstart",m,!1),e.removeEventListener("touchmove",g,!1))},[g,m,h]);return a(function(){if(t){var e=d.current;return b(e),function(){v(e)}}},[t,b,v]),function(e){d.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),o=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,i=s({}),o=s(null),l=f(function(e){if(ay){var t=document.body,n=t&&t.style;if(r&&ey.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&sy<1){var o=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+o||0;Object.keys(ty).forEach(function(e){var t=ty[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&oy()&&(t.addEventListener("touchmove",ny,ly),e&&(e.addEventListener("touchstart",iy,ly),e.addEventListener("touchmove",ry,ly))),sy+=1}},[r]),c=f(function(e){if(ay){var t=document.body,n=t&&t.style;sy=Math.max(sy-1,0),r&&sy<1&&ey.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&oy()&&(t.removeEventListener("touchmove",ny,ly),e&&(e.removeEventListener("touchstart",iy,ly),e.removeEventListener("touchmove",ry,ly)))}},[r]);return a(function(){if(t){var e=o.current;return l(e),function(){c(e)}}},[t,l,c]),function(e){o.current=e}}({isEnabled:n});return sb(x,null,n&&sb("div",{onClick:cy,css:uy}),t(function(e){i(e),o(e)}))}var py="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)."}},hy=function(e){var t=e.name,n=e.onFocus;return sb("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:py,value:"",onChange:function(){}})};function my(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 fy(){return my(/^Mac/i)}function gy(){return my(/^iPhone/i)||my(/^iPad/i)||fy()&&navigator.maxTouchPoints>1}var by={clearIndicator:xv,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.theme,o=i.colors,a=i.borderRadius;return rf({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:r?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},dropdownIndicator:yv,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,i=n.spacing;return rf({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return rf({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?o.neutral10:o.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,o=i.spacing,a=i.colors;return rf(rf({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},Sv),t?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,i=e.theme,o=i.colors,a=i.spacing.baseUnit;return rf({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*a})},loadingMessage:cv,menu:function(e,t){var n,r=e.placement,i=e.theme,o=i.borderRadius,a=i.spacing,s=i.colors;return rf((tf(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),tf(n,"position","absolute"),tf(n,"width","100%"),tf(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return rf({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors;return rf({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:o.neutral10,borderRadius:i/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,i=n.colors,o=e.cropWithEllipsis;return rf({overflow:"hidden",textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors,a=e.isFocused;return rf({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:a?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},noOptionsMessage:lv,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.theme,a=o.spacing,s=o.colors;return rf({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:i?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return rf({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing,o=r.colors;return rf({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?o.neutral40:o.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,i=e.hasValue,o=e.selectProps.controlShouldRenderValue;return rf({alignItems:"center",display:r&&i&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},vy={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}},yy={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:_b(),captureMenuScroll:!_b(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Kv(),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 xy(e,t,n,r){return{type:"option",data:t,isDisabled:Sy(e,t,n),isSelected:ky(e,t,n),label:Ey(e,t),value:Ty(e,t),index:r}}function wy(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(n,r){return xy(e,n,t,r)}).filter(function(t){return Ay(e,t)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=xy(e,n,t,r);return Ay(e,o)?o:void 0}).filter(Kb)}function Iy(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,ff(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function Cy(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,ff(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 Ay(e,t){var n=e.inputValue,r=void 0===n?"":n,i=t.data,o=t.isSelected,a=t.label,s=t.value;return(!By(e)||!o)&&Py(e,{label:a,value:s,data:i},r)}var Ny=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Ey=function(e,t){return e.getOptionLabel(t)},Ty=function(e,t){return e.getOptionValue(t)};function Sy(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function ky(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Ty(e,t);return n.some(function(t){return Ty(e,t)===r})}function Py(e,t,n){return!e.filterOption||e.filterOption(t,n)}var By=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Ly=1,Ry=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&&df(e,t)}(t,I);var e=function(e){var t=hf();return function(){var n,r=pf(e);if(t){var i=pf(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return mf(this,n)}}(t);function t(n){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=e.call(this,n)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,i=n.onChange,o=n.name;t.name=o,r.ariaOnChange(e,t),i(e,t)},r.setValue=function(e,t,n){var i=r.props,o=i.closeMenuOnSelect,a=i.isMulti,s=i.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),o&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,i=t.isMulti,o=t.name,a=r.state.selectValue,s=i&&r.isOptionSelected(e,a),l=r.isOptionDisabled(e,a);if(s){var c=r.getOptionValue(e);r.setValue(a.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:o});i?r.setValue([].concat(ff(a),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,i=r.getOptionValue(e),o=n.filter(function(e){return r.getOptionValue(e)!==i}),a=Qb(t,o,o[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(Qb(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],i=t.slice(0,t.length-1),o=Qb(e,i,i[0]||null);n&&r.onChange(o,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return Ny(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return Cy(wy(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Db.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return Ey(r.props,e)},r.getOptionValue=function(e){return Ty(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,i=by[e](t,n);i.boxSizing="border-box";var o=r.props.styles[e];return o?o(i,t):i},r.getClassNames=function(e,t){var n,i;return null===(n=(i=r.props.classNames)[e])||void 0===n?void 0:n.call(i,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,rf(rf({},Rv),e.components);var e},r.buildCategorizedOptions=function(){return wy(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Iy(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:rf({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,i=t.menuIsOpen;r.focusInput(),i?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Fb(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var i=Math.abs(n.clientX-r.initialTouchX),o=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=i>5||o>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return By(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,i=t.backspaceRemovesValue,o=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,h=r.state,m=h.focusedOption,f=h.focusedValue,g=h.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(f)r.removeValue(f);else{if(!i)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!m||p&&r.isOptionSelected(m,g))return;r.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(c){if(!m)return;if(r.isComposing)return;r.selectOption(m);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&o&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!m)return;r.selectOption(m);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++Ly),r.state.selectValue=Vb(n.value),n.menuIsOpen&&r.state.selectValue.length){var i=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),a=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=i,r.state.focusedOption=o[a],r.state.focusedOptionId=Ny(i,o[a])}return r}return function(e,t,n){t&&uf(e.prototype,t),n&&uf(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&&Zb(this.menuListRef,this.focusedOptionRef),(fy()||gy())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Zb(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,o=this.buildFocusableOptions(),a="first"===e?0:o.length-1;if(!this.props.isMulti){var s=o.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[a],focusedOptionId:this.getFocusedOptionId(o[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var o=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===i?0:-1===i?o:i-1;break;case"next":i>-1&&i<o&&(a=i+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,o=r.indexOf(n);n||(o=-1),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(vy):rf(rf({},vy),this.props.theme):vy}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,o=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:o,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Sy(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return ky(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Py(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,i=e.inputId,o=e.inputValue,a=e.tabIndex,s=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,h=d.ariaSelection,m=this.commonProps,f=i||this.getElementId("input"),g=rf(rf(rf({"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?r.createElement(u,Wp({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:f,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:s,type:"text",value:o},g)):r.createElement(qv,Wp({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Gb,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,i=t.MultiValueContainer,o=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,h=u.isMulti,m=u.inputValue,f=u.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return m?null:r.createElement(l,Wp({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),f);if(h)return b.map(function(t,s){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return r.createElement(n,Wp({},c,{components:{Container:i,Label:o,Remove:a},isFocused:l,isDisabled:p,key:u,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(m)return null;var x=b[0];return r.createElement(s,Wp({},c,{data:x,isDisabled:p}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||i||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,Wp({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!e||!o)return null;return r.createElement(e,Wp({},t,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var i=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return r.createElement(n,Wp({},i,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,i=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,Wp({},t,{innerProps:o,isDisabled:n,isFocused:i}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,i=t.GroupHeading,o=t.Menu,a=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,h=this.props,m=h.captureMenuScroll,f=h.inputValue,g=h.isLoading,b=h.loadingMessage,v=h.minMenuHeight,y=h.maxMenuHeight,x=h.menuIsOpen,w=h.menuPlacement,I=h.menuPosition,C=h.menuPortalTarget,A=h.menuShouldBlockScroll,N=h.menuShouldScrollIntoView,E=h.noOptionsMessage,T=h.onMenuScrollToTop,S=h.onMenuScrollToBottom;if(!x)return null;var k,P=function(t,n){var i=t.type,o=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,h=p===o,m=a?void 0:function(){return e.onOptionHover(o)},f=a?void 0:function(){return e.selectOption(o)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:f,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return r.createElement(u,Wp({},d,{innerProps:b,data:o,isDisabled:a,isSelected:s,key:g,label:l,type:i,value:c,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())k=this.getCategorizedOptions().map(function(t){if("group"===t.type){var o=t.data,a=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return r.createElement(n,Wp({},d,{key:l,data:o,options:a,Heading:i,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return P(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return P(t,"".concat(t.index))});else if(g){var B=b({inputValue:f});if(null===B)return null;k=r.createElement(l,d,B)}else{var L=E({inputValue:f});if(null===L)return null;k=r.createElement(c,d,L)}var R={minMenuHeight:v,maxMenuHeight:y,menuPlacement:w,menuPosition:I,menuShouldScrollIntoView:N},O=r.createElement(ov,Wp({},d,R),function(t){var n=t.ref,i=t.placerProps,s=i.placement,l=i.maxHeight;return r.createElement(o,Wp({},d,R,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),r.createElement(dy,{captureEnabled:m,onTopArrive:T,onBottomArrive:S,lockEnabled:A},function(t){return r.createElement(a,Wp({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:l,focusedOption:p}),k)}))});return C||"fixed"===I?r.createElement(s,Wp({},d,{appendTo:C,controlElement:this.controlRef,menuPlacement:w,menuPosition:I}),O):O}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,i=t.isDisabled,o=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!i)return r.createElement(hy,{name:a,onFocus:this.onValueInputFocus});if(a&&!i){if(o){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return r.createElement("input",{name:a,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return r.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})}):r.createElement("input",{name:a,type:"hidden",value:""});return r.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return r.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,i=t.focusedOption,o=t.focusedValue,a=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return r.createElement(Hv,Wp({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:i,focusedValue:o,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,i=e.SelectContainer,o=e.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return r.createElement(i,Wp({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),r.createElement(t,Wp({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),r.createElement(o,Wp({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),r.createElement(n,Wp({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,h=e.isMulti,m=Vb(u),f={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Iy(wy(e,t))}(e,m):[],b=d?Cy(wy(e,m),"".concat(l,"-option")):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,m):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);f={selectValue:m,focusedOption:y,focusedOptionId:Ny(b,y),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var x=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},w=o,I=a&&s;return a&&!I&&(w={value:Qb(h,m,m[0]||null),options:m,action:"initial-input-focus"},I=!s),"initial-input-focus"===(null==o?void 0:o.action)&&(w=null),rf(rf(rf({},f),x),{},{prevProps:e,ariaSelection:w,prevWasFocused:I})}}]),t}();Ry.defaultProps=yy;var Oy=o(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,i=void 0!==r&&r,o=e.defaultValue,a=void 0===o?null:o,s=e.inputValue,l=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,h=e.onMenuOpen,m=e.value,g=lf(e,cf),b=sf(c(void 0!==s?s:n),2),v=b[0],y=b[1],x=sf(c(void 0!==l?l:i),2),w=x[0],I=x[1],C=sf(c(void 0!==m?m:a),2),A=C[0],N=C[1],E=f(function(e,t){"function"==typeof u&&u(e,t),N(e)},[u]),T=f(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),y(void 0!==n?n:e)},[d]),S=f(function(){"function"==typeof h&&h(),I(!0)},[h]),k=f(function(){"function"==typeof p&&p(),I(!1)},[p]),P=void 0!==s?s:v,B=void 0!==l?l:w,L=void 0!==m?m:A;return rf(rf({},g),{},{inputValue:P,menuIsOpen:B,onChange:E,onInputChange:T,onMenuClose:k,onMenuOpen:S,value:L})}(e);return r.createElement(Ry,Wp({ref:t},n))}),Gy=Oy;const My={sm:"h-12 px-3 rounded-lg",md:"h-14 px-3 rounded-xl",lg:"h-16 px-3 rounded-2xl"},Dy=i.memo(({options:n,className:r,controlClassName:i,value:o,isCustomStyle:a=!1,placeholder:s,required:c,onChange:u,filterOptions:d,hasError:p,error:h,menuClassName:m,helperText:f,label:g,labelClassName:b,singleValueClassName:v,size:y="md",variant:x="default","data-cy":w,"data-testid":I,...C})=>{const A=l(()=>Kv(d),[d]),N=l(()=>({control:({isFocused:e})=>{var t;return Ze(null!==(t=My[y])&&void 0!==t?t:My.md,"border border-input-border bg-white hover:not-focus:border-input-border-hover",{"border-input-border-selected outline outline-2 outline-input-border-selected":e&&!p,"border-input-border-critical shadow-none":p},i)},indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>a?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>Ze(a?"text-text text-body1 whitespace-normal":"text-text-secondary",v),menu:()=>Ze("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",m),option:({isFocused:e,isSelected:t,label:r})=>{var i;return Ze("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",a?"text-body1 text-text":"",a&&(null===(i=n[n.length-1])||void 0===i?void 0:i.label)!==r?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[a,i,m,n,p,y,v]);return"unstyled"===x?e(Gy,{options:n,value:o,placeholder:c?`${s}*`:s,onChange:u,filterOption:A,className:Ze("rounded-xl",r),classNames:N,"data-cy":w,"data-testid":I,...C}):t("div",{className:"w-full",children:[g&&e("label",{className:Ze("mb-1 block text-sm font-medium text-text-secondary",b),children:g}),e(Gy,{options:n,value:o,placeholder:c?`${s}*`:s,onChange:u,filterOption:A,className:Ze("rounded-xl",r),classNames:N,"data-cy":w,"data-testid":I,...C}),h&&e(br,{className:"footnote mt-1 text-text-critical",children:h}),!h&&f&&e(br,{className:"footnote mt-1 text-text-info",children:f})]})});function Vy({paginatedArticles:n,totalArticles:r,currentPage:i,totalPages:o,selectedCategory:l,categoryOptions:c}){const u=k(),d=P(),p=B(),h=s(!0);return a(()=>{h.current?h.current=!1:window.scrollTo({top:0,behavior:"smooth"})},[i]),t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e(br,{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(br,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(br,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(br,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",r," articles"]})]}),e(Dy,{options:c,value:l,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;!function(e,t){const n=new URLSearchParams(p.toString());t?n.set(e,t):n.delete(e),n.delete("page"),u.push(`${d}?${n.toString()}`,{scroll:!1})}("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var r,i,o,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(Zd,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e(br,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),o>1&&e(Qm,{currentPage:i,totalPages:o,getPageHref:function(e){const t=new URLSearchParams(p.toString());1===e?t.delete("page"):t.set("page",e.toString());const n=t.toString();return n?`${d}?${n}`:d},onPageChange:function(e){},ariaLabel:"Blog article pagination"})]})}function jy({title:n="recent articles",description:r,paginatedArticles:i,totalArticles:o,currentPage:a,totalPages:s,selectedCategory:l,categoryOptions:c,onCategoryChange:u,onPageChange:d,getPageHref:p,asList:h=!1,imageComponent:m}){return t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[r&&e(br,{as:"p",className:"body1 mb-4 w-full text-center md:mb-6",children:r}),e(br,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:n}),c.length>0&&t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t(br,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(br,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(br,{as:"span",className:"md:hidden",children:["showing"," "]}),i.length," of ",o," articles"]})]}),e(Dy,{options:c,value:l,onChange:function(e){if(!e||Array.isArray(e))return;null==u||u(e)},className:"w-full md:w-[280px]"})]})]}),i.length>0?e("div",{className:h?"mx-auto flex max-w-[1200px] flex-col gap-1 px-5 pb-16":"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:i.map((t,n)=>{var r,i,o,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(Zd,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,imageComponent:m,asGrid:!h,index:n},t.slug)})}):e(br,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),s>1&&e(Qm,{currentPage:a,totalPages:s,getPageHref:p,onPageChange:function(e){null==d||d(e)},ariaLabel:"Blog article pagination"})]})}Dy.displayName="Select";const Hy=n=>{const{links:r=[],textColor:i="dark",mobileTextColor:o,desktopTextColor:a,maxWidth:s=!0,float:l="desktop"}=n,c=`${"dark"===(null!=o?o:"desktop"===l?"dark":i)?"text-text":"text-white"} ${"dark"===(null!=a?a:"mobile"===l?"dark":i)?"xl:text-text":"xl:text-white"}`,u="always"===l?"absolute":"mobile"===l?"absolute xl:relative":"desktop"===l?"relative xl:absolute":"relative";return r.length?e("nav",{"aria-label":"Breadcrumb",className:(s?`${"none"===l&&"mx-5"} max-w-120 xl:mx-auto`:"mx-auto")+" relative",children:e("ol",{className:`${"always"===l&&"px-7 md:px-14"} right-0 z-10 mx-0 flex w-full flex-nowrap items-center gap-2 pb-0 pt-8 ${u} xl:mx-auto xl:flex-wrap xl:px-3`,children:r.map((n,i)=>{const{image:o,...a}=n,s=(null==o?void 0:o.url)?o.url.startsWith("//")?`https:${o.url}`:o.url:"",l=i===r.length-1;return t("li",l?{className:"flex min-w-0 items-center",children:[s&&e("img",{src:s,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e(br,{as:"span",className:`body3 mr-2 break-words ${c}`,children:n.buttonLabel})]}:{className:"flex flex-none items-center",children:[s&&e("img",{src:s,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e(wr,{href:a.href,className:`label3 mr-2 whitespace-nowrap ${c} hover:underline`,children:a.buttonLabel}),e(gr,{name:"chevron_right",className:`${c} `})]},i)})})}):null},Fy=n=>{const{anchorId:r="SearchBlock",title:i,subTitle:o,enableHeading:a,searchDescription:s,searchInputPlaceholder:l,basicCaption:u,caption:d,backgroundColor:p,color:h,onSubmit:m}=n,[f,g]=c("");return e("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[p]} ${"dark"==h?"text-text":"text-white"}`,id:r,"data-testid":"search-block",children:e("div",{className:"flex justify-center",children:t("div",{className:"w-[1200px]",children:[t("div",{className:"mb-8 text-center",children:[e(br,{as:a?"h1":"h2",className:Ze("heading2 md:heading1"),children:i}),o&&e(br,{as:"div",className:Ze("subheading2 mt-2 md:subheading1"),children:o})]}),s?e(br,{className:"heading6 text-center",children:s}):null,e("span",{className:"w-full",children:t("form",{onSubmit:e=>{e.preventDefault(),null==m||m({searchText:f})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e(ki,{type:"submit",className:"ml-2 inline-flex",children:e(gr,{name:"search",className:"text-text"})}),e("div",{className:"flex-grow",children:e(Cp,{value:f,onChange:e=>g(e.target.value),placeholder:l,containerClassName:"px-4 pl-0 rounded-md flex-grow border-none",className:"body3 rounded-md text-text"})})]})}),d||null,u]})})})},Wy={yellow:{bg:"bg-fill-brand-accent",text:"text"},white:{bg:"white",text:"text"},navy:{bg:"bg-fill-inverse",text:"text-inverse"},green:{bg:"bg-fill-success",text:"text-inverse"}},Xy=n=>{const{title:r,variant:i="yellow",cta:o,navHeight:a,isVisible:s,renderCheckPlans:l}=n,c=Wy[null==i?void 0:i.toLowerCase()]||Wy.yellow;if(!s)return null;const u=(null==o?void 0:o.buttonLabel)||"Check plans",d=null==l?void 0:l({ctaText:u,buttonVariant:null==o?void 0:o.buttonVariant,showButtonAs:"solid",cta:o});return t("div",{style:{top:`${a}px`},className:Ze(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 bg-${c.bg} text-${c.text}`,"flex flex-col items-center justify-center gap-3 p-[10px] lg:flex-row lg:gap-8 lg:px-6 lg:py-[10px]"),children:[e(br,{className:"label3 w-full text-center md:label1 lg:w-auto lg:text-left",children:r}),d?e("div",{children:d}):null]})};function zy(e){if(!e)return;const t=Date.parse(e);if(Number.isFinite(t))return t;console.error("Invalid countdown datetime",{value:e})}function Zy(e){const t=Math.max(0,Math.floor(e)),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60;return`${String(n).padStart(2,"0")}H : ${String(r).padStart(2,"0")}M : ${String(i).padStart(2,"0")}`}const _y=({ctaSuffixText:n,backgroundColor:r,iconName:i,boxShadow:o,ctaButtonLabel:u,ctaButtonLink:d,ctaButtonTarget:p,anchorId:h="anchored-banner",enableCountdownTimer:m,countdownStartDateTime:g,countdownEndDateTime:b})=>{const v=r?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-white"}[r]:"bg-bg-fill-brand-accent",y="yellow"===r||"white"===r||!r?"text-text-primary":"text-white",x=l(()=>zy(b),[b]),w=l(()=>zy(g),[g]),I=l(()=>!(!m||void 0===x)&&((!g||void 0!==w)&&(!(void 0!==w&&w>=x)||(console.error("Invalid countdown range: start must be before end",{countdownStartDateTime:g,countdownEndDateTime:b}),!1))),[m,x,w,g,b]),[C,N]=c(()=>Date.now()),E=s(null),T=f(()=>{null!==E.current&&(window.clearInterval(E.current),E.current=null)},[]);a(()=>{if(I)return E.current=window.setInterval(()=>{const e=Date.now();void 0!==x&&e>=x&&T(),N(e)},1e3),T;T()},[I,x,T]);const S=l(()=>{if(!I||void 0===x)return{shouldShow:!1,text:""};if(void 0!==w&&C<w||C>=x)return{shouldShow:!1,text:""};const e=(x-C)/1e3;return{shouldShow:e>0,text:Zy(e)}},[I,x,w,C]);return e("section",{id:h,children:e("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${v} ${o||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e(A,{href:d||"#",target:p||"_self",className:"max-w-screen-xl w-full transition-all",children:e("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:t("div",{className:`${y} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[i&&e(gr,{name:i,size:24,fill:1,className:`${y} align-text-bottom`}),S.shouldShow&&e("span",{className:"inline-block whitespace-nowrap rounded-lg bg-white px-1 tabular-nums text-text",children:S.text}),S.shouldShow?" ":null,u&&u," ",n&&e("span",{className:"ml-0.5",children:n})]})})})})})};function Yy({content:n}){let r=3;const[i,o]=c(!1),[l,u]=c(!1),d=s(null);a(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=Ct.get(e);return t?wt(t):null}("cookieBannerClosed");o("true"!==e)},[]),a(()=>{(()=>{const e=document.getElementById("anchored-banner");u(!!e)})()},[]),a(()=>{var e,t,n,r;return i?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(r=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===r||r.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[i]),a(()=>{if(!i)return;const e=()=>{if(d.current){const e=d.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let r;const o=()=>{clearTimeout(r),r=setTimeout(e,150)};return window.addEventListener("resize",o),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(r),window.removeEventListener("resize",o),document.documentElement.style.removeProperty("--cookie-banner-height")}},[i,l]);l&&(r=14);return i?t("div",{id:"cookie-banner",ref:d,className:"fixed z-[1000] max-w-[350px] rounded-xl bg-white py-5 pl-6 pr-12 text-black shadow-lg ring-1 ring-gray-900/10 md:max-w-[656px]",style:{bottom:"0px",right:"20px",marginBottom:`${4*r}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e(Wd,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);o(!1),((e,t,n)=>{if("undefined"==typeof window)return;const r=JSON.stringify(t),i=xt(r);Ct.set(e,i,n)})("cookieBannerClosed",!0,{expires:e})},children:e(gr,{name:"close"})}),n.richText?e("div",{className:"mx-auto my-4 [&>a]:footnote",children:n.richText}):null]}):null}const Jy=({fill:n="#FFFEEF"})=>{const r=`logo-cream-clip-${i.useId()}`;return t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",fill:"none",viewBox:"0 0 100 99",preserveAspectRatio:"xMidYMid meet",children:[t("g",{fill:n,clipPath:`url(#${r})`,children:[e("path",{d:"M23.877 73.439c2.829 9.044 7.288 13.706 25.03 18.07 16.735 4.111 43.31 12.356 48.798 3.65 3.454-5.095 1.534-12.395.415-18.244-.875-3.853-1.756-7.3-2.534-11.074-.255-1.237-2.034-1.22-2.278.022-1.284 6.552-3.528 11.26-8.55 14.482-8.572 6.125-28.7 2.295-39.453-2.272-11.487-4.656-14.696-13.509-15.486-23.126-.296-5.157.437-10.123 1.818-14.392.409-1.254-1.273-2.097-2.045-1.023-6.113 8.464-8.073 23.88-5.71 33.913",opacity:".45"}),e("path",{d:"M74.18 75.362c9.135-2.8 13.845-7.215 18.253-24.779 4.153-16.569 12.481-42.878 3.687-48.31-5.147-3.42-12.52-1.52-18.429-.411-3.89.866-7.373 1.738-11.185 2.508-1.25.253-1.233 2.014.023 2.255 6.618 1.271 11.373 3.493 14.628 8.465 6.186 8.486 2.318 28.412-2.295 39.059-4.704 11.371-13.646 14.549-23.36 15.33-5.21.293-10.226-.432-14.537-1.799-1.267-.405-2.12 1.26-1.034 2.025 8.55 6.051 24.12 7.992 34.255 5.652",opacity:".45"}),e("path",{d:"M76.124 25.562c-2.83-9.044-7.289-13.706-25.03-18.07C34.358 3.38 7.783-4.865 2.3 3.842-1.153 8.937.767 16.237 1.886 22.086c.875 3.852 1.756 7.3 2.534 11.074.256 1.237 2.034 1.22 2.278-.023 1.284-6.552 3.528-11.26 8.55-14.482 8.572-6.124 28.7-2.294 39.453 2.272 11.487 4.657 14.696 13.51 15.486 23.126.296 5.158-.437 10.124-1.818 14.392-.409 1.255 1.273 2.098 2.045 1.024 6.113-8.464 8.073-23.88 5.71-33.913",opacity:".45"}),e("path",{d:"M25.82 23.638c-9.135 2.8-13.845 7.216-18.253 24.78-4.153 16.568-12.48 42.877-3.687 48.31 5.147 3.42 12.52 1.519 18.429.41 3.891-.865 7.374-1.737 11.186-2.508 1.25-.253 1.232-2.013-.023-2.255-6.619-1.27-11.373-3.492-14.629-8.464-6.186-8.487-2.317-28.413 2.296-39.059 4.703-11.372 13.645-14.55 23.36-15.331 5.209-.293 10.225.433 14.537 1.8 1.266.404 2.118-1.26 1.033-2.025-8.55-6.052-24.12-7.992-34.255-5.652",opacity:".45"})]}),e("defs",{children:e("clipPath",{id:r,children:e("path",{fill:"#fff",d:"M0 0h100v99H0z"})})})]})},Uy=n=>{const{anchorId:r="email-input",title:i,subTitle:o,emailInputDescription:a,inputPlaceholder:s="Enter your email here",ctaButtonText:l,ctaText:u,caption:d,backgroundColor:p="white",successFeedback:h,onSubmit:m,themeColor:f,showPinWheel:g=!0,padding:b="large",requiredErrorMessage:v="Email is required",validationErrorMessage:y="Invalid email address"}=n||{},x=l||u||"Sign me up",w={green:"bg-bg-fill-brand",white:"bg-bg",gray90:"bg-[var(--color-text-secondary)]"},I={green:"bg-bg-fill-brand",blue:"bg-bg-fill-brand-supporting",orange:"bg-orange-500",purple:"bg-bg-fill-brand-tertiary",white:"bg-bg"},C=(p||"").trim().toLowerCase()||"white",A=w[C]||w.white,N="white"===C?"text-text":"text-white",E=(f||"").trim().toLowerCase()||"green",T=I[E]||I.green,S=["green","blue","purple"].includes(E),k=S?"text-white":"text-text",P=S?"text-text-inverse":"text-text",B="white"===E?"#E0E0E0":"#FFFEEF",L="none"===b?"!py-0 md:!py-0":"!py-8 md:!py-20",[R,O]=c(""),[G,M]=c(!1),[D,V]=c(""),j=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e);return t("section",{id:r,className:`w-full px-4 ${L} md:px-0 ${A}`,children:[t("div",{className:`mx-auto max-w-[1200px] overflow-hidden !rounded-[20px] md:rounded-[20px] flex flex-col items-start !px-5 !pt-6 !pb-10 md:!p-10 md:!pt-12 !h-[344px] md:!w-auto md:!h-[367px] relative ${T}`,children:[g&&e("div",{className:"absolute right-[-50px] top-[-30px] hidden h-[420px] w-[420px] pointer-events-none lg:block","aria-hidden":"true",children:e(Jy,{fill:B})}),t("div",{className:"w-full",children:[t("div",{className:"lg:w-[548px]",children:[i&&e("h1",{className:`mb-3 text-[2.25rem] leading-[2.5rem] font-black md:text-heading1 md:font-black ${k}`,children:i}),o&&e("h2",{className:`mb-3 text-heading1 font-black ${k}`,children:o}),a&&e("p",{className:`!mb-4 md:!mb-16 text-xl leading-7 font-medium md:text-subheading1 md:!leading-8 md:!font-bold opacity-95 ${k}`,children:a})]}),t("div",{className:"relative max-w-[548px] flex w-full flex-col items-center sm:flex-row sm:overflow-hidden sm:rounded-3xl sm:border-2 sm:!border-gray-600 sm:bg-white sm:p-1.5 sm:shadow-xl sm:transition-all md:!h-[75px] md:p-2",children:[e("div",{className:"w-full !rounded-lg border border-transparent bg-white p-1.5 shadow-md sm:border-0 sm:p-0 sm:rounded-none sm:shadow-none",children:e("input",{type:"email",placeholder:s,value:R,onChange:e=>{const t=e.target.value;O(t),G&&M(!1),t.trim()?j(t)?V(""):V(y):V(v)},className:"w-full flex-grow bg-transparent !pl-4 pr-6 py-3 text-[1rem] leading-none md:text-base font-normal text-text outline-none placeholder:input-text-placeholder md:py-4"})}),e(Wd,{buttonLabel:x,buttonVariant:"primary_inverse",buttonClassName:"capitalize-first whitespace-nowrap rounded-2xl px-8 !text-lg mt-3 w-full sm:mt-0 sm:w-auto sm:absolute sm:right-[8px] sm:top-[calc(50%-28px)]",onClick:()=>{R.trim()?j(R)?(m({email:R}),O(""),M(!0),V("")):V(y):V(v)}})]}),D&&e("p",{className:`mt-2 text-label4 font-semibold ${P}`,children:D}),h&&G&&!D&&e("p",{className:`mt-2 text-label4 font-semibold ${k}`,children:h})]})]}),d&&e("div",{className:`mx-auto max-w-[1200px] px-6 md:px-8 ${N}`,children:d})]})},$y=({fields:n,isInPopupContainer:r=!1,onClose:i,onContinueCheckout:o,checkShouldShowBanner:s,onBannerShown:l})=>{var u,d,p,h;const{anchorId:m,mainHeading:f,description:g,cta:b}=n,[v,y]=c(!1);a(()=>{const e=()=>{(null==s?void 0:s())&&!v&&(y(!0),null==l||l())};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[]);const x=()=>{null==o||o()};return r?t("div",{className:"pop-up-body mb-5 mt-10 w-full","data-section-type":"cart-retention-banner","data-section-index":"0",children:[e(br,{className:"heading5 text-center lg:heading3",children:f||"Welcome back. Let’s finish your order"}),g&&Ai(Et(null==g?void 0:g.json),!1,"body1 my-4 text-center"),e("div",{className:"flex w-full justify-center",children:e(Wd,{onClick:x,buttonLabel:null!==(u=null==b?void 0:b.buttonLabel)&&void 0!==u?u:"Continue checkout",disableAnimation:null===(d=null==b?void 0:b.disableAnimation)||void 0===d||d,animationType:null==b?void 0:b.animationType})})]}):e("section",{id:m,"data-testid":"cart-retention-banner",children:e(_m,{size:"sm",isOpen:v,onRequestClose:()=>{null==i||i(),y(!1)},bodyClassName:"flex items-center justify-center",type:"cart-retention-banner",children:t("div",{className:"pop-up-body mb-5 mt-10 w-full",children:[e(br,{className:"heading5 text-center lg:heading3",children:f||"Welcome back. Let&apos;s finish your order"}),g&&Ai(Et(null==g?void 0:g.json),!1,"body1 my-4 text-center"),e("div",{className:"flex w-full justify-center",children:e(Wd,{onClick:x,buttonLabel:null!==(p=null==b?void 0:b.buttonLabel)&&void 0!==p?p:"Continue checkout",disableAnimation:null===(h=null==b?void 0:b.disableAnimation)||void 0===h||h,animationType:null==b?void 0:b.animationType})})]})})})},Ky={gray90:"#464646",green:"#24A76A",white:"#FFFFFF"},Qy=({iframeUrl:t,anchorId:n,backgroundColor:r,height:i})=>{const o=s(null);return a(()=>{if(!t)return;const e=e=>{var t;const n=null===(t=e.data)||void 0===t?void 0:t.iframeHeight;"number"==typeof n&&Number.isFinite(n)&&n>0&&n<=1e4&&o.current&&(o.current.style.height=`${n}px`)};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[t]),t?e("section",{id:n,className:"w-full",children:e("iframe",{ref:o,src:t,width:"100%",frameBorder:"0",scrolling:"no",style:{background:r?Ky[r]:"transparent",...i?{height:`${i}px`}:{}},title:"Iframe Embed",loading:"lazy"})}):null};export{Ri as Accordion,Xy as AddressInputBanner,_y as AnchoredBottomBanner,Zd as BlogCard,Vy as BlogGrid,jy as BlogGridBase,Hy as BreadcrumbNavigation,Wd as Button,ip as Callout,op as Cards,fp as Carousel,$y as CartRetentionBanner,$m as ComparisonTable,Yy as CookieBanner,Jm as CtaCallout,Mp as DynamicTabs,Uy as EmailInputBlock,Um as FindKinetic,gp as FloatingBanner,bp as Footer,Qy as IframeEmbed,vp as ImagePromoBar,_m as Modal,Ap as Navigation,Dp as OrderedList,Sp as PrimaryHero,lp as ProductCard,Fy as SearchBlock,Ym as ShapeBackgroundWrapper,qd as SimpleCard,cp as TestimonialCard,Vp as Text,Ti as label1BoldOptions,Ai as renderContentfulRichText,Ei as renderContentfulRichTextTable,Et as toDocument,Ni as useContentfulRichText,Si as useProcessedChecklist};
14
26
  //# sourceMappingURL=index.esm.js.map