@windstream/react-shared-components 0.1.71 → 0.1.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contentful/index.d.ts +104 -28
- package/dist/contentful/index.esm.js +2 -2
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +2 -2
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/next/index.esm.js.map +1 -1
- package/dist/next/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/utils/index.d.ts +12 -1
- package/dist/utils/index.esm.js +1 -1
- package/dist/utils/index.esm.js.map +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/next-image/index.tsx +3 -1
- package/src/contentful/blocks/accordion/Accordion.stories.mocks.tsx +8 -8
- package/src/contentful/blocks/accordion/Accordion.stories.tsx +5 -13
- package/src/contentful/blocks/anchored-bottom-banner/index.tsx +114 -3
- package/src/contentful/blocks/anchored-bottom-banner/types.ts +4 -1
- package/src/contentful/blocks/callout/index.tsx +201 -37
- package/src/contentful/blocks/callout/types.ts +56 -3
- package/src/contentful/blocks/cards/floating-image-card/index.tsx +119 -0
- package/src/contentful/blocks/cards/floating-image-card/types.ts +30 -0
- package/src/contentful/blocks/cards/full-image-card/index.tsx +130 -0
- package/src/contentful/blocks/cards/full-image-card/types.ts +29 -0
- package/src/contentful/blocks/cards/simple-card/index.tsx +294 -58
- package/src/contentful/blocks/cards/simple-card/types.ts +47 -4
- package/src/contentful/blocks/comparison-table/index.tsx +3 -1
- package/src/contentful/blocks/footer/Footer.stories.tsx +145 -32
- package/src/hooks/contentful/use-contentful-rich-text.tsx +5 -3
- package/src/utils/index.ts +3 -0
- package/src/utils/speed-card-bg.ts +24 -0
package/dist/contentful/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
"use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("js-base64"),r=require("js-cookie"),i=require("@contentful/rich-text-react-renderer"),o=require("@contentful/rich-text-types"),s=require("next/link"),a=require("next/image"),l=require("react-dom"),c=require("next/navigation");function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var p=d(t),m=u(r),h=d(s),f=u(a),g=u(l);function b(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=b(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function v(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=b(e))&&(r&&(r+=" "),r+=t);return r}const x=e=>{const t=w(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),y(n,t)||C(e)},getConflictingClassGroupIds:(e,t)=>{const i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},y=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?y(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},I=/^\[(.+)\]$/,C=e=>{if(I.test(e)){const t=I.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},w=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)N(n[e],r,e,t);return r},N=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:A(t,e)).classGroupId=n)}if("function"==typeof e)return j(e)?void N(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,i])=>{N(i,A(t,e),n,r)})})},A=(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},j=e=>e.isThemeGetter,k=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)}}},P=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,i=0,o=0;for(let s=0;s<e.length;s++){let a=e[s];if(0===r&&0===i){if(":"===a){t.push(e.slice(o,s)),o=s+1;continue}if("/"===a){n=s;continue}}"["===a?r++:"]"===a?r--:"("===a?i++:")"===a&&i--}const s=0===t.length?e:e.substring(o),a=G(s);return{modifiers:t,hasImportantModifier:a!==s,baseClassName:a,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},G=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,S=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let r=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)}),n.push(...r.sort()),n}},E=/\s+/;function B(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=T(e))&&(r&&(r+=" "),r+=t);return r}const T=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=T(e[r]))&&(n&&(n+=" "),n+=t);return n};function V(e,...t){let n,r,i,o=function(a){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:k(e.cacheSize),parseClassName:P(e),sortModifiers:S(e),...x(e)}))(l),r=n.cache.get,i=n.cache.set,o=s,s(a)};function s(e){const t=r(e);if(t)return t;const o=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o}=t,s=[],a=e.trim().split(E);let l="";for(let e=a.length-1;e>=0;e-=1){const t=a[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let h=!!m,f=r(h?p.substring(0,m):p);if(!f){if(!h){l=t+(l.length>0?" "+l:l);continue}if(f=r(p),!f){l=t+(l.length>0?" "+l:l);continue}h=!1}const g=o(u).join(":"),b=d?g+"!":g,v=b+f;if(s.includes(v))continue;s.push(v);const x=i(f,h);for(let e=0;e<x.length;++e){const t=x[e];s.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return i(e,o),o}return function(){return o(B.apply(null,arguments))}}const R=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},M=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,L=/^\((?:(\w[\w-]*):)?(.+)\)$/i,X=/^\d+\/\d+$/,W=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,O=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,F=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,D=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Z=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,z=e=>X.test(e),H=e=>!!e&&!Number.isNaN(Number(e)),Y=e=>!!e&&Number.isInteger(Number(e)),J=e=>e.endsWith("%")&&H(e.slice(0,-1)),U=e=>W.test(e),$=()=>!0,Q=e=>O.test(e)&&!F.test(e),_=()=>!1,K=e=>D.test(e),q=e=>Z.test(e),ee=e=>!ne(e)&&!le(e),te=e=>fe(e,xe,_),ne=e=>M.test(e),re=e=>fe(e,ye,Q),ie=e=>fe(e,Ie,H),oe=e=>fe(e,be,_),se=e=>fe(e,ve,q),ae=e=>fe(e,we,K),le=e=>L.test(e),ce=e=>ge(e,ye),ue=e=>ge(e,Ce),de=e=>ge(e,be),pe=e=>ge(e,xe),me=e=>ge(e,ve),he=e=>ge(e,we,!0),fe=(e,t,n)=>{const r=M.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},ge=(e,t,n=!1)=>{const r=L.exec(e);return!!r&&(r[1]?t(r[1]):n)},be=e=>"position"===e||"percentage"===e,ve=e=>"image"===e||"url"===e,xe=e=>"length"===e||"size"===e||"bg-size"===e,ye=e=>"length"===e,Ie=e=>"number"===e,Ce=e=>"family-name"===e,we=e=>"shadow"===e,Ne=()=>{const e=R("color"),t=R("font"),n=R("text"),r=R("font-weight"),i=R("tracking"),o=R("leading"),s=R("breakpoint"),a=R("container"),l=R("spacing"),c=R("radius"),u=R("shadow"),d=R("inset-shadow"),p=R("text-shadow"),m=R("drop-shadow"),h=R("blur"),f=R("perspective"),g=R("aspect"),b=R("ease"),v=R("animate"),x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",le,ne],y=()=>[le,ne,l],I=()=>[z,"full","auto",...y()],C=()=>[Y,"none","subgrid",le,ne],w=()=>["auto",{span:["full",Y,le,ne]},Y,le,ne],N=()=>[Y,"auto",le,ne],A=()=>["auto","min","max","fr",le,ne],j=()=>["auto",...y()],k=()=>[z,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],P=()=>[e,le,ne],G=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",de,oe,{position:[le,ne]}],S=()=>["auto","cover","contain",pe,te,{size:[le,ne]}],E=()=>[J,ce,re],B=()=>["","none","full",c,le,ne],T=()=>["",H,ce,re],V=()=>[H,J,de,oe],M=()=>["","none",h,le,ne],L=()=>["none",H,le,ne],X=()=>["none",H,le,ne],W=()=>[H,le,ne],O=()=>[z,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[U],breakpoint:[U],color:[$],container:[U],"drop-shadow":[U],ease:["in","out","in-out"],font:[ee],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[U],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[U],shadow:[U],spacing:["px",H],text:[U],"text-shadow":[U],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",z,ne,le,g]}],container:["container"],columns:[{columns:[H,ne,le,a]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:x()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[Y,"auto",le,ne]}],basis:[{basis:[z,"full","auto",a,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[H,z,"auto","initial","none",ne]}],grow:[{grow:["",H,le,ne]}],shrink:[{shrink:["",H,le,ne]}],order:[{order:[Y,"first","last","none",le,ne]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:w()}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:w()}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":A()}],"auto-rows":[{"auto-rows":A()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:j()}],mx:[{mx:j()}],my:[{my:j()}],ms:[{ms:j()}],me:[{me:j()}],mt:[{mt:j()}],mr:[{mr:j()}],mb:[{mb:j()}],ml:[{ml:j()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:k()}],w:[{w:[a,"screen",...k()]}],"min-w":[{"min-w":[a,"screen","none",...k()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...k()]}],h:[{h:["screen","lh",...k()]}],"min-h":[{"min-h":["screen","lh","none",...k()]}],"max-h":[{"max-h":["screen","lh",...k()]}],"font-size":[{text:["base",n,ce,re]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,le,ie]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",J,ne]}],"font-family":[{font:[ue,ne,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,le,ne]}],"line-clamp":[{"line-clamp":[H,"none",le,ie]}],leading:[{leading:[o,...y()]}],"list-image":[{"list-image":["none",le,ne]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",le,ne]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[H,"from-font","auto",le,re]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[H,"auto",le,ne]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",le,ne]}],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",le,ne]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:G()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:S()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Y,le,ne],radial:["",le,ne],conic:[Y,le,ne]},me,se]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:E()}],"gradient-via-pos":[{via:E()}],"gradient-to-pos":[{to:E()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:B()}],"rounded-s":[{"rounded-s":B()}],"rounded-e":[{"rounded-e":B()}],"rounded-t":[{"rounded-t":B()}],"rounded-r":[{"rounded-r":B()}],"rounded-b":[{"rounded-b":B()}],"rounded-l":[{"rounded-l":B()}],"rounded-ss":[{"rounded-ss":B()}],"rounded-se":[{"rounded-se":B()}],"rounded-ee":[{"rounded-ee":B()}],"rounded-es":[{"rounded-es":B()}],"rounded-tl":[{"rounded-tl":B()}],"rounded-tr":[{"rounded-tr":B()}],"rounded-br":[{"rounded-br":B()}],"rounded-bl":[{"rounded-bl":B()}],"border-w":[{border:T()}],"border-w-x":[{"border-x":T()}],"border-w-y":[{"border-y":T()}],"border-w-s":[{"border-s":T()}],"border-w-e":[{"border-e":T()}],"border-w-t":[{"border-t":T()}],"border-w-r":[{"border-r":T()}],"border-w-b":[{"border-b":T()}],"border-w-l":[{"border-l":T()}],"divide-x":[{"divide-x":T()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":T()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[H,le,ne]}],"outline-w":[{outline:["",H,ce,re]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",u,he,ae]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",d,he,ae]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:T()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[H,re]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":T()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",p,he,ae]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[H,le,ne]}],"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":[H]}],"mask-image-linear-from-pos":[{"mask-linear-from":V()}],"mask-image-linear-to-pos":[{"mask-linear-to":V()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":V()}],"mask-image-t-to-pos":[{"mask-t-to":V()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":V()}],"mask-image-r-to-pos":[{"mask-r-to":V()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":V()}],"mask-image-b-to-pos":[{"mask-b-to":V()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":V()}],"mask-image-l-to-pos":[{"mask-l-to":V()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":V()}],"mask-image-x-to-pos":[{"mask-x-to":V()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":V()}],"mask-image-y-to-pos":[{"mask-y-to":V()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[le,ne]}],"mask-image-radial-from-pos":[{"mask-radial-from":V()}],"mask-image-radial-to-pos":[{"mask-radial-to":V()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[H]}],"mask-image-conic-from-pos":[{"mask-conic-from":V()}],"mask-image-conic-to-pos":[{"mask-conic-to":V()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:G()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:S()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",le,ne]}],filter:[{filter:["","none",le,ne]}],blur:[{blur:M()}],brightness:[{brightness:[H,le,ne]}],contrast:[{contrast:[H,le,ne]}],"drop-shadow":[{"drop-shadow":["","none",m,he,ae]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",H,le,ne]}],"hue-rotate":[{"hue-rotate":[H,le,ne]}],invert:[{invert:["",H,le,ne]}],saturate:[{saturate:[H,le,ne]}],sepia:[{sepia:["",H,le,ne]}],"backdrop-filter":[{"backdrop-filter":["","none",le,ne]}],"backdrop-blur":[{"backdrop-blur":M()}],"backdrop-brightness":[{"backdrop-brightness":[H,le,ne]}],"backdrop-contrast":[{"backdrop-contrast":[H,le,ne]}],"backdrop-grayscale":[{"backdrop-grayscale":["",H,le,ne]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[H,le,ne]}],"backdrop-invert":[{"backdrop-invert":["",H,le,ne]}],"backdrop-opacity":[{"backdrop-opacity":[H,le,ne]}],"backdrop-saturate":[{"backdrop-saturate":[H,le,ne]}],"backdrop-sepia":[{"backdrop-sepia":["",H,le,ne]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",le,ne]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[H,"initial",le,ne]}],ease:[{ease:["linear","initial",b,le,ne]}],delay:[{delay:[H,le,ne]}],animate:[{animate:["none",v,le,ne]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,le,ne]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:L()}],"rotate-x":[{"rotate-x":L()}],"rotate-y":[{"rotate-y":L()}],"rotate-z":[{"rotate-z":L()}],scale:[{scale:X()}],"scale-x":[{"scale-x":X()}],"scale-y":[{"scale-y":X()}],"scale-z":[{"scale-z":X()}],"scale-3d":["scale-3d"],skew:[{skew:W()}],"skew-x":[{"skew-x":W()}],"skew-y":[{"skew-y":W()}],transform:[{transform:[le,ne,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:O()}],"translate-x":[{"translate-x":O()}],"translate-y":[{"translate-y":O()}],"translate-z":[{"translate-z":O()}],"translate-none":["translate-none"],accent:[{accent:P()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",le,ne]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",le,ne]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[H,ce,re,ie]}],stroke:[{stroke:["none",...P()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Ae=(e,t,n)=>{void 0!==n&&(e[t]=n)},je=(e,t)=>{if(t)for(const n in t)Ae(e,n,t[n])},ke=(e,t)=>{if(t)for(const n in t)Pe(e,t,n)},Pe=(e,t,n)=>{const r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},Ge=((e,...t)=>"function"==typeof e?V(Ne,e,...t):V(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:i={},override:o={}})=>(Ae(e,"cacheSize",t),Ae(e,"prefix",n),Ae(e,"experimentalParseClassName",r),je(e.theme,o.theme),je(e.classGroups,o.classGroups),je(e.conflictingClassGroups,o.conflictingClassGroups),je(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),Ae(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),ke(e.theme,i.theme),ke(e.classGroups,i.classGroups),ke(e.conflictingClassGroups,i.conflictingClassGroups),ke(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),Pe(e,i,"orderSensitiveModifiers"),e))(Ne(),e),...t))({extend:{classGroups:{"font-variants":["heading1","heading2","heading3","heading4","heading5","heading6","subheading1","subheading2","subheading3","subheading4","subheading5","subheading6","body1","body2","body3","footnote","micro","label1","label2","label3","label4"],"button-sizes":["btn-small","btn-medium","btn-large","btn-x-large"]}}}),Se=(...e)=>Ge(v(...e));const Ee=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const Be=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,Te=e=>{if(!e)return null;if(Be(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return Be(t)?t:null}return null},Ve={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},Re=t.forwardRef(({children:t,className:n="",variant:r="unstyled",style:i,...o},s)=>{const a=Se("unstyled"===r?"":"mb-1 leading-6","list-item",`list-item--${r}`,n);return e.jsx("li",{ref:s,className:a,style:i,...o,children:t})});Re.displayName="ListItem";const Me=t.forwardRef(({type:t="ul",items:n,className:r="",renderItem:i,children:o,variant:s="unstyled",style:a,...l},c)=>{const u=(()=>{if("unstyled"===s)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=Se(u,`list--${t}`,`list--${s}`,r),p=o||(n&&0!==n.length?n.map((t,n)=>i?i(t,n):e.jsx(Re,{className:t.className,variant:s,children:t.content},t.id||n)):null),m={className:d,style:a,...l,children:p};return"ol"===t?e.jsx("ol",{...m,ref:c}):e.jsx("ul",{...m,ref:c})});Me.displayName="List";const Le=({name:t,fill:n=0,opticalSize:r="48dp",weight:i="200",emphasis:o=145,size:s=24,color:a="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${i}, 'GRAD' ${o}, 'opsz' ${r.substring(0,2)}`,fontSize:`${s}px`,fontFamily:"'Material Symbols Rounded'",color:a||"currentColor",...l};return e.jsx("span",{style:p,className:Se("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};Le.displayName="MaterialIcon";const Xe=t.forwardRef(({children:e,as:t,className:n="",style:r,...i},o)=>{const s=t||"p";return p.default.createElement(s,{ref:o,className:n,style:r,...i},e)});Xe.displayName="Text";const We=t=>{const{items:n,listIconName:r="check",listItemClassName:i,listContainerClassName:o,iconSize:s=20,iconPosition:a="center",iconColor:l="green",iconClassName:c}=t,u="disc"!==r;return(null==n?void 0:n.length)?e.jsx(Me,{className:Se("mt-2 space-y-1",o),variant:u?"unstyled":"default",children:n.map((t,n)=>e.jsxs(Re,{variant:u?"unstyled":"default",className:Se(`${u?"flex":""} ${"top"===a?"items-start":"items-center"} gap-2 text-text-secondary`,i),children:[u&&e.jsx("div",{className:"flex leading-none",children:e.jsx(Le,{name:r,size:s,color:Ve[l],weight:"600",className:Se("block","top"===a?"mt-1":"",c)})}),e.jsx(Xe,{as:"div",children:t})]},n))}):null};var Oe;We.displayName="Checklist";const Fe="function"==typeof h.default?h.default:null!==(Oe=h.default.default)&&void 0!==Oe?Oe:h.default,De=t.forwardRef(({children:t,href:n,className:r="",onClick:i,variant:o="unstyled",style:s,external:a=!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)},m=Se(d,`link--${o}`,l&&"link--disabled",r),h={...c,ref:u,className:m,style:s,href:l?void 0:n,onClick:p,...a&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return a||"string"==typeof n&&n.startsWith("http")?e.jsx("a",{...h,children:t}):e.jsx(Fe,{href:n||"#",className:m,onClick:p,...c,children:t})});De.displayName="Link";const Ze={renderMark:{[o.MARKS.BOLD]:t=>e.jsx("strong",{className:"label3",children:t}),[o.MARKS.ITALIC]:t=>e.jsx("em",{children:t}),[o.MARKS.UNDERLINE]:t=>e.jsx("u",{children:t}),[o.MARKS.CODE]:t=>e.jsx("code",{children:t})},renderNode:{[o.BLOCKS.PARAGRAPH]:(t,n)=>e.jsx("div",{className:"body3 mb-4",children:n}),[o.BLOCKS.HEADING_1]:(t,n)=>e.jsx(Xe,{as:"h1",className:"heading2 md:heading1",children:n}),[o.BLOCKS.HEADING_2]:(t,n)=>e.jsx(Xe,{as:"h2",className:"heading6 md:heading5",children:n}),[o.BLOCKS.HEADING_3]:(t,n)=>e.jsx(Xe,{as:"h3",className:"heading6 md:heading5",children:n}),[o.BLOCKS.HEADING_4]:(t,n)=>e.jsx(Xe,{as:"h3",className:"headingClass",children:n}),[o.BLOCKS.HEADING_5]:(t,n)=>e.jsx(Xe,{as:"h3",className:"heading6 md:heading5",children:n}),[o.BLOCKS.HEADING_6]:(t,n)=>e.jsx(Xe,{as:"h3",className:"heading6",children:n}),[o.BLOCKS.QUOTE]:(t,n)=>e.jsx("blockquote",{children:n}),[o.BLOCKS.UL_LIST]:(t,n)=>e.jsx("ul",{children:n}),[o.BLOCKS.OL_LIST]:(t,n)=>e.jsx("ol",{children:n}),[o.BLOCKS.LIST_ITEM]:(t,n)=>e.jsx("li",{children:n}),[o.INLINES.HYPERLINK]:(t,n)=>{var r;const i=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.uri,o=/^https?:\/\//.test(i);return e.jsx("a",{href:i,target:o?"_blank":void 0,rel:o?"noopener noreferrer":void 0,children:n})},[o.BLOCKS.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,s=(null==i?void 0:i.url)||(null===(r=null==o?void 0:o.file)||void 0===r?void 0:r.url),a=(null==o?void 0:o.title)||(null==o?void 0:o.description)||"Embedded asset";if(!s)return null;const l=s.startsWith("//")?`https:${s}`:s;return e.jsx("img",{src:l,alt:a,style:{maxWidth:"100%"}})},[o.BLOCKS.EMBEDDED_ENTRY]:t=>{var n,r,i,o;const s=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target;return"callout"===(null===(o=null===(i=null===(r=null==s?void 0:s.sys)||void 0===r?void 0:r.contentType)||void 0===i?void 0:i.sys)||void 0===o?void 0:o.id)?e.jsxs("aside",{style:{border:"1px solid #ddd",padding:12,borderRadius:8},children:[e.jsx("strong",{children:s.fields.title}),e.jsx("div",{children:s.fields.body})]}):null},[o.INLINES.EMBEDDED_ENTRY]:t=>{var n,r,i,o,s,a;const l=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target;return"componentCheckList"===(null===(o=null===(i=null===(r=null==l?void 0:l.sys)||void 0===r?void 0:r.contentType)||void 0===i?void 0:i.sys)||void 0===o?void 0:o.id)?e.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:"4px",padding:"2px 6px",backgroundColor:"#f0fdf4",border:"1px solid #bbf7d0",borderRadius:"4px",fontSize:"0.9em"},children:["✅ ",l.fields.title]}):e.jsx("span",{children:null!==(a=null===(s=null==l?void 0:l.fields)||void 0===s?void 0:s.title)&&void 0!==a?a:""})}}};function ze(t,n,r="body1",s="body1 font-bold",a){if(!t||!Array.isArray(t.content))return null;const l={...Ze,...a,renderNode:{...Ze.renderNode,...null==a?void 0:a.renderNode,[o.BLOCKS.PARAGRAPH]:(t,n)=>e.jsx("div",{className:r,children:n}),[o.INLINES.HYPERLINK]:(t,r)=>{var i;const o=null===(i=null==t?void 0:t.data)||void 0===i?void 0:i.uri,a=/^https?:\/\//.test(o),l=null!=n?n:a;return e.jsx(De,{href:o,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,variant:"default",className:s,children:r})}}};return i.documentToReactComponents(t,l)}const He={renderMark:{[o.MARKS.BOLD]:e=>t.createElement("span",{className:"label1"},e)}};const Ye=t.forwardRef(({children:t,className:n="",style:r,disabled:i,...o},s)=>e.jsx("button",{ref:s,className:Se(n),style:r,disabled:i,...o,children:t}));Ye.displayName="Button";const Je=n=>{const{open:r,children:i}=n,o=t.useRef(null),[s,a]=t.useState(0);return t.useEffect(()=>{const e=o.current;if(!e)return;const t=()=>{a(r?e.scrollHeight:0)};let n;return t(),r&&(n=new ResizeObserver(()=>t()),n.observe(e)),()=>{n&&n.disconnect()}},[r,i]),e.jsx("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:s,opacity:r?1:0},"aria-hidden":!r,children:e.jsx("div",{ref:o,children:i})})};Je.displayName="Collapse";const Ue=n=>{const{title:r,defaultOpen:i,children:o,containerClassName:s,titleClassName:a,className:l,buttonClassName:c,iconClassName:u,openOnlyOnDesktop:d,borderRadiusNone:p=!1}=n,[m,h]=t.useState(Boolean(!1));return t.useEffect(()=>{if(d){const e=window.innerWidth>=1024;h(e)}else h(Boolean(i))},[d,i]),e.jsxs("div",{className:Se(p?"rounded-none border":"rounded-surface-xs border",s),children:[e.jsxs(Ye,{type:"button",className:Se(p?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",c),onClick:()=>h(e=>!e),children:[e.jsx("span",{className:Se("label5 flex-1",a),children:r}),e.jsx(Le,{className:Se("flex-shrink-0",u),name:m?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e.jsx(Je,{open:m,children:e.jsx("div",{className:Se("px-4 py-4",l),children:o})})]})};Ue.displayName="Accordion";const $e=t=>{const{className:n,...r}=t;return e.jsx("div",{className:Se("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...r})};$e.displayName="Divider";var Qe;const _e=null!==(Qe=h.default)&&void 0!==Qe?Qe:h,Ke=({href:t,title:n,description:r,date:i,category:o,image:s,imageComponent:a,readMoreText:l="Read more",asGrid:c=!0,lgWidth:u,mdWidth:d,index:p})=>{const m=c?"flex h-full flex-col overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop":`callout-card lg:w-[calc(33.3333%-1rem)] md:w-[calc(50%-1rem)] ${u} ${d} w-full overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop`;return e.jsxs("article",{className:m,"data-section-type":"blog-card","data-section-index":p,children:[e.jsx(_e,{href:t,tabIndex:-1,"aria-hidden":"true",className:"block",children:e.jsx("div",{className:"h-[232px] w-full flex-shrink-0 overflow-hidden bg-gray-100",children:s?a?e.jsx(a,{src:s.src,alt:s.alt,width:s.width,height:s.height,className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"}):e.jsx("img",{src:s.src,alt:s.alt,width:s.width,height:s.height,loading:"lazy",decoding:"async",className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]"}):e.jsx("div",{className:"h-full w-full bg-gradient-to-br from-gray-200 to-gray-100","aria-hidden":"true"})})}),e.jsxs("div",{className:"flex flex-1 flex-col gap-5 p-6 md:p-8",children:[e.jsxs("div",{className:"flex items-center gap-2 text-[13px]",children:[e.jsx("span",{className:"body2 text-text-brand",children:o}),i&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"footnote text-text","aria-hidden":"true",children:"•"}),e.jsx("time",{className:"body2 text-text",children:i})]})]}),n&&e.jsx(_e,{href:t,className:"heading6 m-0 line-clamp-3 font-black transition-colors duration-150 hover:text-text-brand",children:n}),r&&e.jsx(Xe,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:r}),e.jsxs(_e,{href:t,className:"group mt-auto inline-flex items-center justify-start gap-2 pt-3 text-sm text-text-brand no-underline","aria-label":`${l} about ${n||"this article"}`,children:[e.jsx(Xe,{"aria-label":`${l} about ${n||"this article"}`,className:"label1 text-nowrap",children:l}),e.jsx(Le,{name:"expand_circle_right",fill:1,size:24,weight:"200"})]})]})]})},qe=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()},et=t.forwardRef(({variant:t="primary_brand",isLoading:n=!1,text:r,label:i,disabled:o,fullWidth:s,buttonClassName:a,size:l={base:"medium"},as:c="button",...u},d)=>{const p=(()=>{const e=Se((e=>{let t="";return e.base&&(t=`btn-${e.base} `),e.md&&(t+=`${(e=>{switch(e){case"small":return"md:btn-small";case"medium":return"md:btn-medium";case"large":return"md:btn-large";case"x-large":return"md:btn-x-large"}})(e.md)} `),e.lg&&(t+=`lg:btn-${e.lg} `),t.trim()})(l),"rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top whitespace-nowrap",s?"w-full":"w-auto"),r=Se((o||n)&&"cursor-not-allowed",n&&"pl-7");return Se(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand disabled:bg-bg-fill-brand-disabled",primary_inverse:"bg-bg-fill-inverse text-text-inverse [&:not(:disabled)]:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse disabled:bg-bg-fill-inverse-disabled",secondary:"border border-border-secondary-on-bg-fill bg-bg-fill-secondary text-text [&:not(:disabled)]:hover:bg-bg-fill-secondary-hover focus:bg-bg-fill-secondary focus:ring-input-border-hover disabled:bg-bg-fill-secondary"}[t]||"",r,a)})();let m=`button--${t}`;n&&(m+=" button--loading"),o&&(m+=" button--disabled");const h=`${m} ${p}`,f=e.jsxs(e.Fragment,{children:[n?e.jsx(Le,{name:"progress_activity",className:"animate-spin"}):null,i?e.jsxs("span",{className:"flex flex-col",children:[e.jsx("span",{className:Se(qe(l)),children:i}),r]}):r]});return"a"===c?e.jsx("a",{ref:d,className:Se(h),...u,children:f}):e.jsx("button",{ref:d,className:Se(h),disabled:o||n,...u,children:f})});et.displayName="BrandButton";const tt=t=>{const{showButtonAs:n="solid",buttonVariant:r="primary_brand",buttonLabel:i,buttonPrefix:o,href:s,target:a="_blank",anchorId:l,linkClassName:c,linkVariant:u,fullWidth:d,preDefinedFunctionExecution:p,renderCheckPlans:m,buttonClassName:h,clickToOpen:f,tabmodalNameToOpen:g,onModalButtonClick:b,onClick:v,iconName:x,iconFill:y=0,size:I,iconSize:C=24,preserveQueryParameters:w,...N}=t;if("check availability"===p){return null==m?void 0:m({ctaText:i,buttonVariant:r,showButtonAs:n,cta:{...t}})}function A(){"modal"===f&&(null==b||b(g))}function j(e){A(),null==v||v(e)}function k(e){A(),null==v||v(e)}const P="undefined"!=typeof window?window.location.search:"",G=s&&w&&P?function(e,t){if(!t)return e;const n=new URLSearchParams(t),r=new Set(Ee),i=new Set([...r,"searchtext","page"]);let o,s;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);o=t.origin+t.pathname,s=t.searchParams}else{const[t,n]=e.split("?");o=t,s=new URLSearchParams(n||"")}}catch(t){return e}const a=new URLSearchParams(s);n.forEach((e,t)=>{i.has(t.toLowerCase())||a.has(t)||a.set(t,e)});const l=a.toString();return l?`${o}?${l}`:o}(s,P):s;let S=e.jsx(Ye,{onClick:k,className:h,...N});switch(n){case"solid":S=G?e.jsx(et,{as:"a",href:G,id:l,variant:r,text:i,label:o,fullWidth:d,buttonClassName:h,size:I,onClick:j}):e.jsx(et,{id:l,variant:r,text:i,label:o,fullWidth:d,size:I,onClick:k,buttonClassName:h});break;case"text":S=e.jsxs(De,{title:i,href:G,target:a,variant:u||"default",className:`text-text-brand ${c||""}`,onClick:j,children:[i," ",x&&e.jsx(Le,{name:x,size:C,fill:y})]})}return S},nt={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},rt=(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})(f.default),it=({src:e,width:t,quality:n})=>{const r=new URL(e);return r.searchParams.set("w",String(t)),r.searchParams.set("q",String(n||90)),r.searchParams.set("fm","webp"),r.toString()},ot=t.forwardRef(({className:t,...n},r)=>{const i="string"==typeof n.src?n.src:"",o=i.toLowerCase().split("?")[0]||"",s=i.includes("images.ctfassets.net"),a=s&&o.endsWith(".svg"),l=s&&!a?{loader:it,unoptimized:!1}:{unoptimized:a};return e.jsx(rt,{ref:r,className:Se(t),...n,...l})});ot.displayName="NextImage";const st=({card:t,lgWidth:n,mdWidth:r})=>{var i,o,s;const a=(null===(i=t.imageAlignment)||void 0===i?void 0:i.toLowerCase())||"left",l="left"===a?"lg:items-start":"right"===a?"lg:items-end":"lg:items-center";return e.jsx("div",{className:`callout-card ${r} ${n} w-full ${null!==(s=nt[null!==(o=t.backgroundColor)&&void 0!==o?o:""])&&void 0!==s?s:""}`,children:e.jsxs("div",{className:`card-template flex h-full flex-col gap-6 p-6 text-center md:gap-8 md:p-8 ${l}`,children:[e.jsx("div",{className:"card-header",children:(t=>{var n,r,i;if(!t.image)return null;return"full"===(null===(n=t.imageView)||void 0===n?void 0:n.toLowerCase())?e.jsx(ot,{width:400,height:280,src:t.image,alt:null!==(r=t.title)&&void 0!==r?r:"card-icon",className:"rounded-3xl"}):e.jsx(ot,{width:88,height:88,src:t.image,alt:null!==(i=t.title)&&void 0!==i?i:"card-icon"})})(t)}),e.jsxs("div",{className:"card-body flex flex-col gap-3 text-start md:gap-4",children:[t.title&&e.jsx(Xe,{as:"h5",className:"heading6 text-text md:heading5",children:t.title}),t.body&&e.jsx(Xe,{as:"div",className:"body1 text-text",children:t.body})]}),t.cta&&e.jsx("div",{className:"card-footer",children:e.jsx(tt,{linkVariant:"unstyled",linkClassName:"label1 flex items-center text-text gap-2",...t.cta,iconName:"expand_circle_right",iconFill:1})})]})})},at=t.forwardRef(({as:t,className:n="",...r},i)=>{const o=Se(n);if(t){const n=t;return e.jsx(n,{ref:i,className:o,...r})}return e.jsx("img",{ref:i,className:o,...r})});at.displayName="Image";const lt=({onSelect:n,speed:r,isSelected:i=!1,renderCheckPlans:o,iconSize:s=24,iconClassName:a,cta:l,techType:c,isMax:u})=>{const[d,p]=t.useState(!1),m=`btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${i?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,h=null==o?void 0:o({speedCardConfig:{isModalOpen:d,setModalOpen:()=>{p(!1)},speed:r,techType:c,isMax:u},cta:l});return e.jsxs(e.Fragment,{children:[e.jsxs(Ye,{onClick:()=>{p(!0),n()},className:Se(m,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${r}`,"data-track-element-clicked":"speed_plan_card",children:[e.jsx("span",{children:"Select plan"}),e.jsx(Le,{className:Se(a,i?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),h]})},ct=({planName:n,planSubtext:r,speed:i,price:o,description:s,bestValue:a=!1,bestValueText:l="best value",giftBadge:c,innerBadge:u,theme:d="light",featuresTitle:p="Business Ready Internet features",features:m=[],isExpanded:h,onToggleExpand:f,onCtaClick:g,renderCheckPlans:b,cta:v,techType:x,ismaxSpeed:y})=>{const[I,C]=t.useState(!1),w=void 0!==h?h:I,N="dark"===d;return e.jsxs("article",{className:Se("relative flex h-full w-full max-w-[392px] flex-col",!a&&"md:pt-[38px]"),children:[a&&e.jsx("div",{className:"label3 rounded-t-[20px] bg-bg-fill-brand-accent px-6 py-2 text-center text-text",children:l}),e.jsxs("div",{className:Se("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",N?"text-inverse border-2 border-border-accent bg-bg-fill-inverse":"bg-bg text-text",a?"rounded-t-none border-t-0":""),children:[e.jsxs("header",{className:"overflow-none flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx(Xe,{as:"h3",className:Se("subheading2",N?"text-text-accent-on-bg-inverse":"text-text-brand"),children:n}),e.jsx(Xe,{as:"p",className:"label3 text-wrap "+(N?"text-text-accent-on-bg-inverse":"text-text-brand"),children:r})]}),e.jsxs("div",{className:"flex items-start",children:[e.jsx(Xe,{as:"span",className:Se("label2 mr-1 mt-[2px]",N?"text-text-inverse":"text-text"),children:"$"}),e.jsx(Xe,{as:"span",className:Se("subheading6",N?"text-text-inverse":"text-text"),children:o.split(".")[0]}),e.jsxs(Xe,{as:"span",className:Se("label2",N?"text-text-inverse":"text-text"),children:[o.split(".")[1],"/mo"]})]})]}),e.jsx("section",{children:e.jsx(Xe,{className:Se("body2",N?"text-text-inverse":"text-text"),children:s})}),(null==c?void 0:c.length)?e.jsx("div",{className:Se("flex-col items-center rounded-surface-sm p-2",N?"bg-bg-surface-inverse":"bg-bg-surface-info"),children:null==c?void 0:c.map(t=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(at,{src:t.icon,alt:t.title,width:24,height:24}),e.jsx(Xe,{as:"div",className:Se("body3",N?"text-text-inverse":"text-text"),children:t.title})]},t.title))}):null,e.jsx(lt,{onSelect:g,speed:i,isSelected:N,renderCheckPlans:b,cta:v,iconSize:40,techType:x,isMax:y}),m.length>0&&e.jsxs("section",{className:"flex flex-col gap-3",children:[e.jsxs(Ye,{onClick:()=>{f?f():C(!I)},className:"group flex w-full items-center gap-2 text-left",children:[e.jsx(Xe,{as:"h4",className:Se("label3",N?"text-text-inverse":"text-text"),children:p}),e.jsx(Le,{name:"keyboard_arrow_down",fill:1,size:24,className:Se("transition-transform duration-300",w&&"rotate-180",N?"text-text-inverse":"text-text")})]}),e.jsxs("div",{className:Se("overflow-hidden transition-all duration-200 ease-in-out",w?"opacity-100":"max-h-0 opacity-0"),children:[e.jsx("div",{className:"flex flex-col",children:e.jsx(We,{items:m,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:N?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(N?"text-text-inverse":"text-text")})}),(null==u?void 0:u.badgeIcon)?e.jsxs("div",{className:"flex items-center gap-2 text-center",children:[e.jsx(at,{src:u.badgeIcon,alt:"Inner Badge",width:12,height:12}),e.jsx("span",{className:"footnote text-text",children:u.badgeText.includes("|")?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"font-bold",children:u.badgeText.split("|")[0]}),e.jsx("span",{className:"font-normal",children:u.badgeText.split("|")[1]})]}):e.jsx(Xe,{className:"font-bold",children:u.badgeText})})]}):null]})]})]})]})},ut=({title:t,quote:n,rating:r,author:i,role:o,avatarUrl:s,isActive:a=!1,className:l})=>e.jsxs("figure",{className:v("flex w-full flex-col gap-6 rounded-card-lg p-6 transition-all duration-300 md:gap-10 md:p-14",a?"bg-bg-surface-secondary shadow-drop":"bg-gray-50 opacity-40",l),children:[e.jsxs("div",{className:"flex flex-col justify-start gap-3 md:gap-5",children:[e.jsx("header",{children:e.jsx(Xe,{as:"h3",className:"label1 text-text",children:t})}),e.jsx("blockquote",{className:"body1 text-text",children:n}),r?e.jsx("div",{className:"flex","aria-label":`Rating: ${r} out of 5`,children:[...Array(5)].map((t,n)=>e.jsx(Le,{size:24,name:"star",fill:1,className:v("h-[21px] w-[21px]",n<r?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null]}),i&&e.jsxs("figcaption",{className:"flex gap-3 md:gap-5",children:[e.jsx("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e.jsx(f.default,{src:s,alt:i,fill:!0,className:"object-cover",sizes:"40px"}):e.jsx("div",{className:"flex h-full w-full items-center justify-center bg-gray-500 text-xs font-bold text-white",children:i.charAt(0)})}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("cite",{className:"label3 font-bold not-italic text-text",children:i}),e.jsx(Xe,{as:"p",className:"body3 text-text",children:o})]})]})]});function dt({fields:n,renderCheckPlans:r}){var i,o,s,a;const l=(null===(s=null===(o=null===(i=null==n?void 0:n.items)||void 0===i?void 0:i.items)||void 0===o?void 0:o[0])||void 0===s?void 0:s.benefitsExpanded)||!1,[c,u]=t.useState(l),[d,p]=t.useState({}),[m,h]=t.useState(0),f=(null===(a=null==n?void 0:n.items)||void 0===a?void 0:a.items)||[],g=f.length>2,b=t.useRef([]),v=t.useCallback(()=>{g&&h(e=>(e+3)%f.length)},[g,f.length]),x=t.useCallback(()=>{g&&h(e=>(e-3+f.length)%f.length)},[g,f.length]);if(t.useEffect(()=>{if(!g)return;const e=()=>{const e=b.current.filter(Boolean);if(0===e.length)return;e.forEach(e=>{e.style.height="auto"});const t=Math.max(...e.map(e=>e.offsetHeight));e.forEach(e=>{e.style.height=`${t}px`})};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[g,c,f.length]),!f.length&&!(null==n?void 0:n.title))return null;const y=(t,n,i=!1)=>{var o,s,a,l,m,h,f,g;const v=null===(o=null==t?void 0:t.speed)||void 0===o?void 0:o.split("|"),x=(null==v?void 0:v[0])||"",y=(null==v?void 0:v[1])||"",I=(null===(a=null===(s=null==t?void 0:t.priceSuffix)||void 0===s?void 0:s.split("/"))||void 0===a?void 0:a[0])||"00",C=`${(null==t?void 0:t.price)||"0"}.${I}`,w=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],N=(null==t?void 0:t.highlighted)||!1,A=(null===(h=null===(m=null==t?void 0:t.giftRewards)||void 0===m?void 0:m.list)||void 0===h?void 0:h.items)||[],j={badgeText:t.innerBadge||"",badgeIcon:(null===(f=t.innerBadgeIcon)||void 0===f?void 0:f.url)||""},k=i?d[n]||!1:c;return e.jsx("div",{ref:i?void 0:e=>{e&&!b.current.includes(e)&&(b.current[n]=e)},className:Se(i?"mx-auto w-full max-w-[392px]":"flex-shrink-1 w-[392px]"),children:e.jsx(ct,{planName:x,planSubtext:y,speed:(null==t?void 0:t.speed)||"",techType:(null==t?void 0:t.techType)||"",ismaxSpeed:(null==t?void 0:t.ismaxSpeed)||"",price:C,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:A,innerBadge:j,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:N,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:w,isExpanded:k,onToggleExpand:()=>{i?p(e=>({...e,[n]:!e[n]})):u(!c)},ctaText:(null===(g=null==t?void 0:t.cta)||void 0===g?void 0:g.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:r,cta:t.cta,hostType:"smb"})},n)},I=[...f,...f,...f,...f,...f],C=2*f.length;return g?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"flex flex-col gap-6 md:hidden",children:f.map((e,t)=>y(e,t,!0))}),e.jsxs("div",{className:"relative hidden w-full md:block",children:[e.jsxs("div",{className:"pointer-events-none absolute -left-16 -right-16 top-[50%] z-30 flex -translate-y-1/2 justify-between px-4 md:px-10",children:[e.jsx(Ye,{onClick:v,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Previous",children:e.jsx(Le,{name:"arrow_back",size:24})}),e.jsx(Ye,{onClick:x,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Next",children:e.jsx(Le,{name:"arrow_forward",size:24})})]}),e.jsx("div",{className:"mx-auto max-w-[1280px] overflow-hidden",children:e.jsx("div",{className:"flex items-stretch gap-4 pb-4 transition-transform duration-500 ease-in-out",style:{transform:`translateX(calc(-${C+m} * (392px + 12px)))`},children:I.map((e,t)=>y(e,t,!1))})})]})]}):e.jsx("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-4",children:f.map((e,t)=>y(e,t))})}const pt=p.default.memo(({item:t,index:n,currentIndex:r,totalItems:i,swipeOffset:o,isSwiping:s,isMobile:a,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),m=u*c+o/l*100,h=!a||(s?d||p:d);return e.jsx("div",{className:Se("col-start-1 row-start-1 w-full md:max-w-[815px]","will-change-[transform,opacity]",d?"z-10":"z-5",Math.abs(u)>1?"invisible":"visible",h?"opacity-100":"opacity-0",s?"transition-opacity duration-200":"transition-[transform,opacity] duration-500 ease-[cubic-bezier(0.25,0.46,0.45,0.94)]"),style:{transform:`translateX(${m}%)`},children:e.jsx(ut,{...t,isActive:d,className:"h-full"})})});pt.displayName="TestimonialCarouselSlide";const mt=({fields:n,autoScroll:r=!0,autoScrollInterval:i=8e3})=>{var o;const s=(null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||[];if(!s||0===s.length)return null;const a=function(e){const{itemCount:n,cardOffsetPercentage:r=105,swipeThreshold:i=.15,mobileBreakpoint:o=768,autoScrollInterval:s=8e3,enableAutoScroll:a=!0}=e,[l,c]=t.useState(0),[u,d]=t.useState(0),[p,m]=t.useState(!1),[h,f]=t.useState(window.innerWidth),[g,b]=t.useState(!1),v=t.useRef(null),x=t.useRef(0),y=t.useRef(null),I={CARD_OFFSET_PERCENTAGE:r,SWIPE_THRESHOLD:i,MOBILE_BREAKPOINT:o,AUTO_SCROLL_INTERVAL:s};t.useEffect(()=>{const e=()=>{var e;f((null===(e=y.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const C=t.useCallback(()=>{0!==n&&c(e=>(e+1)%n)},[n]),w=t.useCallback(()=>{0!==n&&c(e=>0===e?n-1:e-1)},[n]),N=t.useCallback(e=>{e<0||e>=n||c(e)},[n]),A=t.useCallback(e=>{x.current=e.touches[0].clientX,m(!0),v.current&&clearInterval(v.current)},[]),j=t.useCallback(e=>{if(!p)return;const t=e.touches[0].clientX-x.current;d(t)},[p]),k=t.useCallback(()=>{m(!1);const e=h*i;u>e?w():u<-e&&C(),d(0),a&&s>0&&(v.current=setInterval(()=>{C()},s))},[u,h,i,w,C,a,s]);return t.useEffect(()=>{const e=()=>{b(window.innerWidth<o)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[o]),t.useEffect(()=>{if(a&&0!==n&&0!==s)return v.current=setInterval(()=>{C()},s),()=>{v.current&&clearInterval(v.current)}},[C,n,a,s]),{currentIndex:l,swipeOffset:u,isSwiping:p,isMobile:g,containerWidth:h,containerRef:y,nextSlide:C,prevSlide:w,goToSlide:N,handleTouchStart:A,handleTouchMove:j,handleTouchEnd:k,constants:I}}({itemCount:s.length,cardOffsetPercentage:105,swipeThreshold:.15,mobileBreakpoint:768,autoScrollInterval:i,enableAutoScroll:r});return e.jsxs("div",{children:[e.jsxs("div",{className:"relative max-w-[1280px] md:px-11",children:[e.jsx(Ye,{onClick:a.prevSlide,className:"group absolute left-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Previous",children:e.jsx(Le,{name:"arrow_back",size:24})}),e.jsx(Ye,{onClick:a.nextSlide,className:"group absolute right-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Next",children:e.jsx(Le,{name:"arrow_forward",size:24})}),e.jsx("div",{ref:a.containerRef,className:"select-none overflow-hidden rounded-card-sm will-change-transform",onTouchStart:a.handleTouchStart,onTouchMove:a.handleTouchMove,onTouchEnd:a.handleTouchEnd,children:e.jsx("div",{className:"grid grid-cols-1 justify-items-center",children:s.map((t,n)=>e.jsx(pt,{item:t,index:n,currentIndex:a.currentIndex,totalItems:s.length,swipeOffset:a.swipeOffset,isSwiping:a.isSwiping,isMobile:a.isMobile,containerWidth:a.containerWidth,cardOffsetPercentage:a.constants.CARD_OFFSET_PERCENTAGE},n))})})]}),e.jsx("div",{className:"mt-5 flex justify-center gap-2 md:mt-10",children:s.map((t,n)=>e.jsx("button",{onClick:()=>a.goToSlide(n),className:Se("h-2 w-2 rounded-full transition-all duration-300",a.currentIndex===n?"w-6 bg-white":"bg-bg-fill-inverse-disabled hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]})},ht=({tabs:n,activeTab:r,onChange:i,className:o})=>{const s=n.indexOf(r),a=t.useRef([]),[l,c]=t.useState({width:0,left:0});return t.useEffect(()=>{const e=a.current[s];e&&c({width:e.offsetWidth,left:e.offsetLeft})},[s,n]),e.jsx("div",{className:"flex w-full justify-center",children:e.jsxs("div",{className:Se("relative flex w-fit gap-1 rounded-button-lg bg-bg-surface-active p-1 transition-all duration-200 ease-out",o),children:[e.jsx("div",{className:"absolute bottom-1 top-1 rounded-button bg-bg-fill-brand shadow-md transition-all duration-300 ease-out",style:{width:`${l.width}px`,left:`${l.left}px`}}),n.map((t,n)=>e.jsx("button",{ref:e=>{a.current[n]=e},onClick:()=>i(t),className:Se("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))]})})},ft=({isHovered:t,containerClassName:n})=>e.jsx("button",{tabIndex:-1,className:`group flex h-20 w-20 items-center justify-center rounded-full bg-white shadow-xl transition-all duration-300 hover:scale-110 active:scale-95 ${n||""}`,"aria-label":"Play button",children:e.jsx(Le,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),gt=n=>{const{link:r,containerClassName:i,autoplay:o=!1,debug:s=!1}=n,{href:a,embedId:l}=t.useMemo(()=>{if(!r)return{href:"",embedId:""};const e=r.toString(),t=(e=>{const t=e.split(/[?#]/)[0].replace(/\/+$/,""),n=t.match(/vimeo\.com\/(?:.*\/)?(\d{6,})/)||t.match(/player\.vimeo\.com\/video\/(\d{6,})/),r=t.split("/"),i=r[r.length-1];return(null==n?void 0:n[1])?n[1]===i?n[1]:`${n[1]}/${i}`:""})(e);return{href:e,embedId:t}},[r]);if(s&&console.log("[VimeoEmbed] href:",a,"id:",l),!l)return null;const c=function(e){try{const t=new URL(e),n=t.pathname.split("/").filter(Boolean);if("video"===n[0]&&n.length>=2){const e=n[1],r=n[2],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/${l}?${new URLSearchParams({autoplay:o?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}).toString()}`);return e.jsx("div",{className:Se("relative h-0 w-full overflow-hidden pb-[56.25%]",i),children:e.jsx("iframe",{className:"absolute left-0 top-0 h-full w-full",src:c,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};const bt=n=>{const{link:r,containerClassName:i,autoplay:o=!1}=n,s=t.useMemo(()=>{if(!r)return"";const e=r.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return e&&11===e[7].length?e[7]:""},[r]),a=o?"?autoplay=1":"";return e.jsx("div",{className:Se("relative h-0 w-full overflow-hidden pb-[56.25%]",i),children:e.jsx("iframe",{className:"absolute left-0 top-0 h-full w-full",src:`https://www.youtube.com/embed/${s}${a}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})})},vt=({link:n,anchorName:r})=>{const[i,o]=p.default.useState(!1),s=p.default.useRef(null);if(((e,n)=>{const r=t=>{var r;(null===(r=null==e?void 0:e.current)||void 0===r?void 0:r.contains(t.target))||n()};t.useEffect(()=>(document.addEventListener("click",r),()=>{document.removeEventListener("click",r)}))})(s,()=>o(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e.jsx(tt,{...n,linkClassName:"body3 flex items-center text-text h-full",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:a,title:l,items:c}=n,u=Array.isArray(null==c?void 0:c.items)?c.items:[],d=`--link-anchor-${r}`;return e.jsxs("div",{className:"relative h-full",style:{anchorName:d},ref:s,children:[e.jsxs(tt,{onClick:()=>o(e=>!e),"aria-expanded":i,buttonClassName:"group body3 flex h-full text-text items-center",showButtonAs:"unstyled",children:[e.jsx(Xe,{as:"span",className:"group-hover:underline",children:null!=l?l:null}),e.jsx(Le,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:i?"keyboard_arrow_up":"keyboard_arrow_down"})]},a),e.jsx("div",{className:Se("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",i&&u.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:d,top:"anchor(bottom)",left:"calc((anchor(left) + anchor(right)) / 2)",translate:"-50% 0"},children:e.jsx("ul",{className:"flex flex-col gap-2 py-2",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&o(!1)},children:u.map((t,n)=>e.jsx("li",{className:"submenu-link",children:e.jsx(tt,{...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}`))})})]})},xt=({link:t})=>{const[n,r]=p.default.useState(!1);if(!t)return null;if((e=>"string"==typeof e.href)(t))return e.jsx(tt,{...t,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${t.anchorId}`);const{anchorId:i,title:o,items:s}=t,a=Array.isArray(null==s?void 0:s.items)?s.items:[];return e.jsxs(e.Fragment,{children:[e.jsxs(tt,{onClick:()=>r(e=>!e),"aria-expanded":n,buttonClassName:"label3 flex h-11 w-full items-center px-4",showButtonAs:"unstyled",children:[null!=o?o:null,e.jsx(Le,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:n?"keyboard_arrow_up":"keyboard_arrow_down"})]},i),n&&a.length>0&&e.jsx(yt,{items:a})]})},yt=({items:t})=>e.jsx("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e.jsx("li",{className:"submenu-link",children:e.jsx(tt,{...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}`),It=t=>{const{showBlinkDot:n=!1,buttonStyle:r="primary",size:i="md",children:o,className:s,prefix:a,containerClassName:l,...c}=t,u=e.jsxs(De,{...c,className:Se("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[i],{primary:"border-[0.727px] border-border text-text"}[r],s),children:[n?e.jsx("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[i]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[i]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e.jsx("span",{className:Se("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"}[i]),children:e.jsx(Le,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[i],className:"text-white"})}),e.jsx("span",{className:"font-normal tracking-wide",children:o})]});return null==a||!1===a||""===a?u:e.jsxs("span",{className:Se("flex items-center gap-2",l),children:["string"==typeof a||"number"==typeof a?e.jsx("span",{className:"text-sm font-normal text-text",children:a}):a,u]})};It.displayName="CallButton";const Ct=t.forwardRef((n,r)=>{const{className:i,size:o,required:s,placeholder:a,label:l,state:c,errorText:u,prefixIconName:d,prefixIconFill:p=!0,suffixIconFill:m=!1,prefixIconSize:h=24,suffixIconName:f,suffixIconSize:g=24,containerClassName:b,prefixIconClassName:v,loading:x,hasError:y,type:I,...C}=n,w=y?"error":c,[N,A]=t.useState(!1),[j,k]=t.useState(!1),[P,G]=t.useState(I||"text"),S=t.useCallback(e=>{e.stopPropagation(),G(e=>"password"===e?"text":"password")},[]);return e.jsxs("div",{className:"relative",children:[l?e.jsx("label",{htmlFor:l,className:Se("inline-block pb-1"),children:e.jsxs(Xe,{as:"span",className:"footnote text-text",children:[l,s?e.jsx("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,e.jsxs("div",{className:Se("relative flex flex-row items-center overflow-hidden rounded-input border border-input-border bg-input-bg-surface",{sm:"h-[48px] px-3 py-2",slim:"h-12",medium:"h-14",large:"h-[60px]"}[o||"medium"],b,(N||"hover"===w)&&!j&&"error"!==w&&"border-input-border-hover",(j||"focus"===w||"active"===w)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===w&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[d?e.jsx("div",{className:"mr-1",style:{width:h,height:h,overflow:"hidden"},children:e.jsx(Le,{name:d,fill:p?1:0,size:h,className:Se(v)})}):null,e.jsx("input",{ref:r,id:l,disabled:x||C.disabled,className:Se("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===o&&"text-body3",i),placeholder:a,type:P,...C,onMouseOver:()=>A(!0),onMouseOut:()=>A(!1),onFocus:e=>{var t;null===(t=C.onFocus)||void 0===t||t.call(C,e),k(!0)},onBlur:e=>{var t;null===(t=C.onBlur)||void 0===t||t.call(C,e),k(!1)}}),f?e.jsx("div",{className:"ml-2",style:{width:g,height:g,overflow:"hidden"},onClick:S,children:e.jsx(Le,{name:"text"===P?"visibility":"visibility_off",size:g,fill:m?1:0})}):null]}),"error"===w&&u&&""!=u?e.jsxs(Xe,{className:Se("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e.jsx(Le,{name:"info",size:20,className:"mr-1"}),u||"Error"]}):null]})});Ct.displayName="Input";const wt=t=>{var n;const{primaryNavigationLinks:r,utilityNavigationLinks:i,supportNavigationLinks:o,accountNavigationLinks:s}=t,[a,l]=p.default.useState(!1);p.default.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=a?"hidden":"unset";const e=document.getElementById("drawer-items");if(!e)return;const t=e.querySelectorAll(".focus-item"),n=t[0],r=t[t.length-1],i=e=>{var t,i,o,s;("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===(s=(o=n).focus)||void 0===s||s.call(o),e.preventDefault()))};return window.addEventListener("keydown",i),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",i)}},[a]);const c=()=>{l(!1)};return e.jsxs("div",{children:[e.jsx(tt,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>l(!0),children:e.jsx(Le,{name:"menu"})}),a?e.jsx("div",{className:"fixed bottom-0 left-0 right-0 top-0 z-[90] h-full w-full bg-scrim-bg-modal"}):null,e.jsx("div",{className:Se("fixed bottom-0 right-0 top-0","z-[100] h-full bg-bg px-0 py-4","transition-all duration-300 ease-in-out","block",a?"right-0":"-right-96"),id:"mobile-menu-overlay",children:e.jsxs("div",{id:"drawer-items",className:"flex h-full flex-col gap-3",children:[e.jsxs("div",{className:"flex items-center justify-between px-4",children:[e.jsx("div",{children:e.jsx(It,{className:"border-none",href:t.invocaPhoneNumberLink,onClick:t.onCallClickMobile,children:t.invocaPhoneNumberDisplayText})}),e.jsx("div",{children:e.jsx(tt,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:c,children:e.jsx(Le,{name:"close"})})})]}),e.jsx(Nt,{closeMenu:c,isMenuOpen:a,searchBarIconURL:"string"==typeof t.searchBarIcon?t.searchBarIcon:(null===(n=t.searchBarIcon)||void 0===n?void 0:n.url)||"",onSearch:t.onSearch||(()=>{})}),e.jsxs("div",{className:"flex-grow overflow-y-auto",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&c()},children:[e.jsx("ul",{className:"mt-2 flex flex-col gap-2",children:[...r||[],...o||[],...s||[]].map((t,n)=>e.jsx("li",{children:e.jsx(xt,{link:t})},`main-menu-items-${n}`))}),e.jsx("ul",{className:"mt-2 flex gap-5 bg-bg-fill-info px-4",children:null==i?void 0:i.map((n,r)=>e.jsx("li",{children:e.jsx(tt,{...Object.fromEntries(Object.entries(n).filter(([e,t])=>null!==t)),linkClassName:Se("footnote flex items-center w-full h-11 text-text-link","number"!=typeof t.utilityNavActiveIndex?1===r&&"label4":t.utilityNavActiveIndex===r&&"label4"),linkVariant:"unstyled"},`utility-submenu-link-btn-${n.anchorId}`)},`utility-menu-items-${r}`))})]})]})})]})},Nt=t=>{const{closeMenu:n,onSearch:r,isMenuOpen:i,searchBarIconURL:o}=t,[s,a]=p.default.useState(""),l=p.default.useRef(null),c=e=>{n(),e.preventDefault(),r(s)};return p.default.useEffect(()=>{i||a("")},[i]),e.jsxs("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:c,children:[e.jsx(ot,{src:o,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:c}),e.jsx("div",{className:"flex-grow",children:e.jsx(Ct,{ref:l,className:"body3 h-[34px] rounded-none px-3 text-text",name:"search",placeholder:"Search...",value:s,onChange:e=>a(e.target.value),autoComplete:"off",containerClassName:"h-[46px] px-4 pl-0 rounded-none flex-grow border-none"})})]})},At=t=>{const{searchBarIconURL:n,onSearch:r}=t,[i,o]=p.default.useState(""),s=p.default.useRef(null),a=e=>{e.preventDefault(),r(i)};return e.jsxs("form",{name:"searchForm",className:"flex h-9 w-60 rounded-input-xl border px-1 transition-colors focus-within:border-border-focus",onSubmit:a,children:[e.jsx(ot,{src:n,width:32,height:32,alt:"Search icon",role:"button",onClick:a}),e.jsx(Ct,{ref:s,className:"body3 rounded-full px-3 text-text",name:"search",placeholder:"Search...",value:i,onChange:e=>o(e.target.value),autoComplete:"off",containerClassName:"px-0 h-full border-none rounded-full"})]})},jt={closed:{opacity:0},open:{opacity:1}},kt={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},Pt={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},Gt=t.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),St=t.createContext({}),Et=t.createContext(null),Bt="undefined"!=typeof document,Tt=Bt?t.useLayoutEffect:t.useEffect,Vt=t.createContext({strict:!1});function Rt(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Mt(e){return"string"==typeof e||Array.isArray(e)}function Lt(e){return"object"==typeof e&&"function"==typeof e.start}const Xt=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Wt=["initial",...Xt];function Ot(e){return Lt(e.animate)||Wt.some(t=>Mt(e[t]))}function Ft(e){return Boolean(Ot(e)||e.variants)}function Dt(e){const{initial:n,animate:r}=function(e,t){if(Ot(e)){const{initial:t,animate:n}=e;return{initial:!1===t||Mt(t)?t:void 0,animate:Mt(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,t.useContext(St));return t.useMemo(()=>({initial:n,animate:r}),[Zt(n),Zt(r)])}function Zt(e){return Array.isArray(e)?e.join(" "):e}const zt={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"]},Ht={};for(const e in zt)Ht[e]={isEnabled:t=>zt[e].some(e=>!!t[e])};const Yt=t.createContext({}),Jt=t.createContext({}),Ut=Symbol.for("motionComponentSymbol");function $t({preloadedFeatures:e,createVisualElement:n,useRender:r,useVisualState:i,Component:o}){e&&function(e){for(const t in e)Ht[t]={...Ht[t],...e[t]}}(e);const s=t.forwardRef(function(s,a){let l;const c={...t.useContext(Gt),...s,layoutId:Qt(s)},{isStatic:u}=c,d=Dt(s),m=i(s,u);if(!u&&Bt){d.visualElement=function(e,n,r,i){const{visualElement:o}=t.useContext(St),s=t.useContext(Vt),a=t.useContext(Et),l=t.useContext(Gt).reducedMotion,c=t.useRef();i=i||s.renderer,!c.current&&i&&(c.current=i(e,{visualState:n,parent:o,props:r,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:l}));const u=c.current;return t.useInsertionEffect(()=>{u&&u.update(r,a)}),Tt(()=>{u&&u.render()}),t.useEffect(()=>{u&&u.updateFeatures()}),(window.HandoffAppearAnimations?Tt:t.useEffect)(()=>{u&&u.animationState&&u.animationState.animateChanges()}),u}(o,m,c,n);const r=t.useContext(Jt),i=t.useContext(Vt).strict;d.visualElement&&(l=d.visualElement.loadFeatures(c,i,e,r))}return p.createElement(St.Provider,{value:d},l&&d.visualElement?p.createElement(l,{visualElement:d.visualElement,...c}):null,r(o,s,function(e,n,r){return t.useCallback(t=>{t&&e.mount&&e.mount(t),n&&(t?n.mount(t):n.unmount()),r&&("function"==typeof r?r(t):Rt(r)&&(r.current=t))},[n])}(m,d.visualElement,a),m,u,d.visualElement))});return s[Ut]=o,s}function Qt({layoutId:e}){const n=t.useContext(Yt).id;return n&&void 0!==e?n+"-"+e:e}function _t(e){function t(t,n={}){return $t(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 Kt=["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 qt(e){return"string"==typeof e&&!e.includes("-")&&!!(Kt.indexOf(e)>-1||/[A-Z]/.test(e))}const en={};const tn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],nn=new Set(tn);function rn(e,{layout:t,layoutId:n}){return nn.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!en[e]||"opacity"===e)}const on=e=>Boolean(e&&e.getVelocity),sn={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},an=tn.length;const ln=e=>t=>"string"==typeof t&&t.startsWith(e),cn=ln("--"),un=ln("var(--"),dn=(e,t)=>t&&"number"==typeof e?t.transform(e):e,pn=(e,t,n)=>Math.min(Math.max(n,e),t),mn={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},hn={...mn,transform:e=>pn(0,1,e)},fn={...mn,default:1},gn=e=>Math.round(1e5*e)/1e5,bn=/(-)?([\d]*\.?[\d])+/g,vn=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,xn=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function yn(e){return"string"==typeof e}const In=e=>({test:t=>yn(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Cn=In("deg"),wn=In("%"),Nn=In("px"),An=In("vh"),jn=In("vw"),kn={...wn,parse:e=>wn.parse(e)/100,transform:e=>wn.transform(100*e)},Pn={...mn,transform:Math.round},Gn={borderWidth:Nn,borderTopWidth:Nn,borderRightWidth:Nn,borderBottomWidth:Nn,borderLeftWidth:Nn,borderRadius:Nn,radius:Nn,borderTopLeftRadius:Nn,borderTopRightRadius:Nn,borderBottomRightRadius:Nn,borderBottomLeftRadius:Nn,width:Nn,maxWidth:Nn,height:Nn,maxHeight:Nn,size:Nn,top:Nn,right:Nn,bottom:Nn,left:Nn,padding:Nn,paddingTop:Nn,paddingRight:Nn,paddingBottom:Nn,paddingLeft:Nn,margin:Nn,marginTop:Nn,marginRight:Nn,marginBottom:Nn,marginLeft:Nn,rotate:Cn,rotateX:Cn,rotateY:Cn,rotateZ:Cn,scale:fn,scaleX:fn,scaleY:fn,scaleZ:fn,skew:Cn,skewX:Cn,skewY:Cn,distance:Nn,translateX:Nn,translateY:Nn,translateZ:Nn,x:Nn,y:Nn,z:Nn,perspective:Nn,transformPerspective:Nn,opacity:hn,originX:kn,originY:kn,originZ:Nn,zIndex:Pn,fillOpacity:hn,strokeOpacity:hn,numOctaves:Pn};function Sn(e,t,n,r){const{style:i,vars:o,transform:s,transformOrigin:a}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(cn(e)){o[e]=n;continue}const r=Gn[e],d=dn(n,r);if(nn.has(e)){if(l=!0,s[e]=d,!u)continue;n!==(r.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,a[e]=d):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<an;t++){const n=tn[t];void 0!==e[n]&&(o+=`${sn[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}=a;i.transformOrigin=`${e} ${t} ${n}`}}const En=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Bn(e,t,n){for(const r in t)on(t[r])||rn(r,n)||(e[r]=t[r])}function Tn(e,n,r){const i={};return Bn(i,e.style||{},e),Object.assign(i,function({transformTemplate:e},n,r){return t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{}};return Sn(t,n,{enableHardwareAcceleration:!r},e),Object.assign({},t.vars,t.style)},[n])}(e,n,r)),e.transformValues?e.transformValues(i):i}function Vn(e,t,n){const r={},i=Tn(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 Rn=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 Mn(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Rn.has(e)}let Ln=e=>!Mn(e);try{(Xn=require("@emotion/is-prop-valid").default)&&(Ln=e=>e.startsWith("on")?!Mn(e):Xn(e))}catch(Qe){}var Xn;function Wn(e,t,n){return"string"==typeof e?e:Nn.transform(t+n*e)}const On={offset:"stroke-dashoffset",array:"stroke-dasharray"},Fn={offset:"strokeDashoffset",array:"strokeDasharray"};function Dn(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,d,p){if(Sn(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:m,style:h,dimensions:f}=e;m.transform&&(f&&(h.transform=m.transform),delete m.transform),f&&(void 0!==i||void 0!==o||h.transform)&&(h.transformOrigin=function(e,t,n){return`${Wn(t,e.x,e.width)} ${Wn(n,e.y,e.height)}`}(f,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==t&&(m.x=t),void 0!==n&&(m.y=n),void 0!==r&&(m.scale=r),void 0!==s&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?On:Fn;e[o.offset]=Nn.transform(-r);const s=Nn.transform(t),a=Nn.transform(n);e[o.array]=`${s} ${a}`}(m,s,a,l,!1)}const Zn=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),zn=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Hn(e,n,r,i){const o=t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Dn(t,n,{enableHardwareAcceleration:!1},zn(i),e.transformTemplate),{...t.attrs,style:{...t.style}}},[n]);if(e.style){const t={};Bn(t,e.style,e),o.style={...t,...o.style}}return o}function Yn(e=!1){return(n,r,i,{latestValues:o},s)=>{const a=(qt(n)?Hn:Vn)(r,o,s,n),l=function(e,t,n){const r={};for(const i in e)"values"===i&&"object"==typeof e.values||(Ln(i)||!0===n&&Mn(i)||!t&&!Mn(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(r,"string"==typeof n,e),c={...l,...a,ref:i},{children:u}=r,d=t.useMemo(()=>on(u)?u.get():u,[u]);return t.createElement(n,{...c,children:d})}}const Jn=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Un(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 $n=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Qn(e,t,n,r){Un(e,t,void 0,r);for(const n in t.attrs)e.setAttribute($n.has(n)?n:Jn(n),t.attrs[n])}function _n(e,t){const{style:n}=e,r={};for(const i in n)(on(n[i])||t.style&&on(t.style[i])||rn(i,e))&&(r[i]=n[i]);return r}function Kn(e,t){const n=_n(e,t);for(const r in e)if(on(e[r])||on(t[r])){n[-1!==tn.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n}function qn(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 er(e){const n=t.useRef(null);return null===n.current&&(n.current=e()),n.current}const tr=e=>Array.isArray(e),nr=e=>tr(e)?e[e.length-1]||0:e;function rr(e){const t=on(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const ir=e=>(n,r)=>{const i=t.useContext(St),o=t.useContext(Et),s=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const s={latestValues:or(r,i,o,e),renderState:t()};return n&&(s.mount=e=>n(r,e,s)),s}(e,n,i,o);return r?s():er(s)};function or(e,t,n,r){const i={},o=r(e,{});for(const e in o)i[e]=rr(o[e]);let{initial:s,animate:a}=e;const l=Ot(e),c=Ft(e);t&&c&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let u=!!n&&!1===n.initial;u=u||!1===s;const d=u?a:s;if(d&&"boolean"!=typeof d&&!Lt(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=qn(e,t);if(!n)return;const{transitionEnd:r,transition:o,...s}=n;for(const e in s){let t=s[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(i[e]=t)}for(const e in r)i[e]=r[e]})}return i}const sr={useVisualState:ir({scrapeMotionValuesFromProps:Kn,createRenderState:Zn,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}}Dn(n,r,{enableHardwareAcceleration:!1},zn(t.tagName),e.transformTemplate),Qn(t,n)}})},ar={useVisualState:ir({scrapeMotionValuesFromProps:_n,createRenderState:En})};function lr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const cr=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function ur(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function dr(e,t,n,r){return lr(e,t,(e=>t=>cr(t)&&e(t,ur(t)))(n),r)}const pr=(e,t)=>n=>t(e(n)),mr=(...e)=>e.reduce(pr);function hr(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const fr=hr("dragHorizontal"),gr=hr("dragVertical");function br(e){let t=!1;if("y"===e)t=gr();else if("x"===e)t=fr();else{const e=fr(),n=gr();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function vr(){const e=br(!0);return!e||(e(),!1)}class xr{constructor(e){this.isMounted=!1,this.node=e}update(){}}const yr={delta:0,timestamp:0,isProcessing:!1};let Ir=!0,Cr=!1;const wr=["read","update","preRender","render","postRender"],Nr=wr.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,i=!1,o=!1;const s=new WeakSet,a={schedule:(e,o=!1,a=!1)=>{const l=a&&i,c=l?t:n;return o&&s.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),s.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),s.has(r)&&(a.schedule(r),e())}i=!1,o&&(o=!1,a.process(l))}}};return a}(()=>Cr=!0),e),{}),Ar=e=>Nr[e].process(yr),jr=e=>{Cr=!1,yr.delta=Ir?1e3/60:Math.max(Math.min(e-yr.timestamp,40),1),yr.timestamp=e,yr.isProcessing=!0,wr.forEach(Ar),yr.isProcessing=!1,Cr&&(Ir=!1,requestAnimationFrame(jr))},kr=wr.reduce((e,t)=>{const n=Nr[t];return e[t]=(e,t=!1,r=!1)=>(Cr||(Cr=!0,Ir=!0,yr.isProcessing||requestAnimationFrame(jr)),n.schedule(e,t,r)),e},{});function Pr(e){wr.forEach(t=>Nr[t].cancel(e))}function Gr(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return dr(e.current,n,(n,i)=>{if("touch"===n.type||vr())return;const o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[r]&&kr.update(()=>o[r](n,i))},{passive:!e.getProps()[r]})}const Sr=(e,t)=>!!t&&(e===t||Sr(e,t.parentElement)),Er=e=>e;function Br(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,ur(n))}const Tr=new WeakMap,Vr=new WeakMap,Rr=e=>{const t=Tr.get(e.target);t&&t(e)},Mr=e=>{e.forEach(Rr)};function Lr(e,t,n){const r=function({root:e,...t}){const n=e||document;Vr.has(n)||Vr.set(n,{});const r=Vr.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Mr,{root:e,...t})),r[i]}(t);return Tr.set(e,n),r.observe(e),()=>{Tr.delete(e),r.unobserve(e)}}const Xr={some:0,all:1};const Wr={inView:{Feature:class extends xr{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:Xr[r]};return Lr(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 xr{constructor(){super(...arguments),this.removeStartListeners=Er,this.removeEndListeners=Er,this.removeAccessibleListeners=Er,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=dr(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();kr.update(()=>{Sr(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),i=dr(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=mr(r,i),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=lr(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=lr(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&Br("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&kr.update(()=>n(e,t))})}),Br("down",(e,t)=>{this.startPress(e,t)})}),t=lr(this.node.current,"blur",()=>{this.isPressing&&Br("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=mr(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&&kr.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!vr()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&kr.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=dr(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=lr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=mr(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends xr{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=mr(lr(this.node.current,"focus",()=>this.onFocus()),lr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends xr{mount(){this.unmount=mr(Gr(this.node,!0),Gr(this.node,!1))}unmount(){}}}};function Or(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 Fr(e,t,n){const r=e.getProps();return qn(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 Dr="data-"+Jn("framerAppearId");let Zr=Er,zr=Er;"production"!==process.env.NODE_ENV&&(Zr=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},zr=(e,t)=>{if(!e)throw new Error(t)});const Hr=e=>1e3*e,Yr=e=>e/1e3,Jr=!1,Ur=e=>Array.isArray(e)&&"number"==typeof e[0];function $r(e){return Boolean(!e||"string"==typeof e&&_r[e]||Ur(e)||Array.isArray(e)&&e.every($r))}const Qr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,_r={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Qr([0,.65,.55,1]),circOut:Qr([.55,0,1,.45]),backIn:Qr([.31,.01,.66,-.59]),backOut:Qr([.33,1.53,.69,.99])};function Kr(e){if(e)return Ur(e)?Qr(e):Array.isArray(e)?e.map(Kr):_r[e]}const qr={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},ei={},ti={};for(const e in qr)ti[e]=()=>(void 0===ei[e]&&(ei[e]=qr[e]()),ei[e]);const ni=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function ri(e,t,n,r){if(e===t&&n===r)return Er;const i=t=>function(e,t,n,r,i){let o,s,a=0;do{s=t+(n-t)/2,o=ni(s,r,i)-e,o>0?n=s:t=s}while(Math.abs(o)>1e-7&&++a<12);return s}(t,0,1,e,n);return e=>0===e||1===e?e:ni(i(e),t,r)}const ii=ri(.42,0,1,1),oi=ri(0,0,.58,1),si=ri(.42,0,.58,1),ai=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,li=e=>t=>1-e(1-t),ci=e=>1-Math.sin(Math.acos(e)),ui=li(ci),di=ai(ui),pi=ri(.33,1.53,.69,.99),mi=li(pi),hi=ai(mi),fi={linear:Er,easeIn:ii,easeInOut:si,easeOut:oi,circIn:ci,circInOut:di,circOut:ui,backIn:mi,backInOut:hi,backOut:pi,anticipate:e=>(e*=2)<1?.5*mi(e):.5*(2-Math.pow(2,-10*(e-1)))},gi=e=>{if(Array.isArray(e)){zr(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return ri(t,n,r,i)}return"string"==typeof e?(zr(void 0!==fi[e],`Invalid easing type '${e}'`),fi[e]):e},bi=(e,t)=>n=>Boolean(yn(n)&&xn.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),vi=(e,t,n)=>r=>{if(!yn(r))return r;const[i,o,s,a]=r.match(bn);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},xi={...mn,transform:e=>Math.round((e=>pn(0,255,e))(e))},yi={test:bi("rgb","red"),parse:vi("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+xi.transform(e)+", "+xi.transform(t)+", "+xi.transform(n)+", "+gn(hn.transform(r))+")"};const Ii={test:bi("#"),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:yi.transform},Ci={test:bi("hsl","hue"),parse:vi("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+wn.transform(gn(t))+", "+wn.transform(gn(n))+", "+gn(hn.transform(r))+")"},wi={test:e=>yi.test(e)||Ii.test(e)||Ci.test(e),parse:e=>yi.test(e)?yi.parse(e):Ci.test(e)?Ci.parse(e):Ii.parse(e),transform:e=>yn(e)?e:e.hasOwnProperty("red")?yi.transform(e):Ci.transform(e)},Ni=(e,t,n)=>-n*e+n*t+e;function Ai(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 ji=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},ki=[Ii,yi,Ci];function Pi(e){const t=(n=e,ki.find(e=>e.test(n)));var n;zr(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===Ci&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,s=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;i=Ai(a,r,e+1/3),o=Ai(a,r,e),s=Ai(a,r,e-1/3)}else i=o=s=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*s),alpha:r}}(r)),r}const Gi=(e,t)=>{const n=Pi(e),r=Pi(t),i={...n};return e=>(i.red=ji(n.red,r.red,e),i.green=ji(n.green,r.green,e),i.blue=ji(n.blue,r.blue,e),i.alpha=Ni(n.alpha,r.alpha,e),yi.transform(i))};const Si={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Er},Ei={regex:vn,countKey:"Colors",token:"${c}",parse:wi.parse},Bi={regex:bn,countKey:"Numbers",token:"${n}",parse:mn.parse};function Ti(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 Vi(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Ti(n,Si),Ti(n,Ei),Ti(n,Bi),n}function Ri(e){return Vi(e).values}function Mi(e){const{values:t,numColors:n,numVars:r,tokenised:i}=Vi(e),o=t.length;return e=>{let t=i;for(let i=0;i<o;i++)t=i<r?t.replace(Si.token,e[i]):i<r+n?t.replace(Ei.token,wi.transform(e[i])):t.replace(Bi.token,gn(e[i]));return t}}const Li=e=>"number"==typeof e?0:e;const Xi={test:function(e){var t,n;return isNaN(e)&&yn(e)&&((null===(t=e.match(bn))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(vn))||void 0===n?void 0:n.length)||0)>0},parse:Ri,createTransformer:Mi,getAnimatableNone:function(e){const t=Ri(e);return Mi(e)(t.map(Li))}},Wi=(e,t)=>n=>`${n>0?t:e}`;function Oi(e,t){return"number"==typeof e?n=>Ni(e,t,n):wi.test(e)?Gi(e,t):e.startsWith("var(")?Wi(e,t):Zi(e,t)}const Fi=(e,t)=>{const n=[...e],r=n.length,i=e.map((e,n)=>Oi(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}},Di=(e,t)=>{const n={...e,...t},r={};for(const i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=Oi(e[i],t[i]));return e=>{for(const t in r)n[t]=r[t](e);return n}},Zi=(e,t)=>{const n=Xi.createTransformer(t),r=Vi(e),i=Vi(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?mr(Fi(r.values,i.values),n):(Zr(!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.`),Wi(e,t))},zi=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},Hi=(e,t)=>n=>Ni(e,t,n);function Yi(e,t,n){const r=[],i=n||("number"==typeof(o=e[0])?Hi:"string"==typeof o?wi.test(o)?Gi:Zi:Array.isArray(o)?Fi:"object"==typeof o?Di:Hi);var o;const s=e.length-1;for(let n=0;n<s;n++){let o=i(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||Er:t;o=mr(e,o)}r.push(o)}return r}function Ji(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(zr(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 s=Yi(t,r,i),a=s.length,l=t=>{let n=0;if(a>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=zi(e[n],e[n+1],t);return s[n](r)};return n?t=>l(pn(e[0],e[o-1],t)):l}function Ui(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=zi(0,t,r);e.push(Ni(n,1,i))}}(t,e.length-1),t}function $i({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(gi):gi(r),o={done:!1,value:t[0]},s=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Ui(t),e),a=Ji(s,t,{ease:Array.isArray(i)?i:(l=t,c=i,l.map(()=>c||si).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(o.value=a(t),o.done=t>=e,o)}}function Qi(e,t){return t?e*(1e3/t):0}function _i(e,t,n){const r=Math.max(t-5,0);return Qi(n-e(r),t-r)}const Ki=.001;function qi({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;Zr(e<=Hr(10),"Spring duration must be 10 seconds or less");let s=1-t;s=pn(.05,1,s),e=pn(.01,10,Yr(e)),s<1?(i=t=>{const r=t*s,i=r*e,o=r-n,a=to(t,s),l=Math.exp(-i);return Ki-o/a*l},o=t=>{const r=t*s*e,o=r*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=to(Math.pow(t,2),s);return(-i(t)+Ki>0?-1:1)*((o-a)*l)/c}):(i=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,o=t=>Math.exp(-t*e)*(e*e*(n-t)));const a=function(e,t,n){let r=n;for(let n=1;n<eo;n++)r-=e(r)/t(r);return r}(i,o,5/e);if(e=Hr(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(a,2)*r;return{stiffness:t,damping:2*s*Math.sqrt(r*t),duration:e}}}const eo=12;function to(e,t){return e*Math.sqrt(1-t*t)}const no=["duration","bounce"],ro=["stiffness","damping","mass"];function io(e,t){return t.some(t=>void 0!==e[t])}function oo({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],o=e[e.length-1],s={done:!1,value:i},{stiffness:a,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!io(e,ro)&&io(e,no)){const n=qi(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(r),m=u?-Yr(u):0,h=l/(2*Math.sqrt(a*c)),f=o-i,g=Yr(Math.sqrt(a/c)),b=Math.abs(f)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),h<1){const e=to(g,h);v=t=>{const n=Math.exp(-h*g*t);return o-n*((m+h*g*f)/e*Math.sin(e*t)+f*Math.cos(e*t))}}else if(1===h)v=e=>o-Math.exp(-g*e)*(f+(m+g*f)*e);else{const e=g*Math.sqrt(h*h-1);v=t=>{const n=Math.exp(-h*g*t),r=Math.min(e*t,300);return o-n*((m+h*g*f)*Math.sinh(r)+e*f*Math.cosh(r))/e}}return{calculatedDuration:p&&d||null,next:e=>{const r=v(e);if(p)s.done=e>=d;else{let i=m;0!==e&&(i=h<1?_i(v,e,r):0);const a=Math.abs(i)<=n,l=Math.abs(o-r)<=t;s.done=a&&l}return s.value=s.done?o:r,s}}}function so({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},m=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let h=n*t;const f=d+h,g=void 0===s?f:s(f);g!==f&&(h=g-d);const b=e=>-h*Math.exp(-e/r),v=e=>g+b(e),x=e=>{const t=b(e),n=v(e);p.done=Math.abs(t)<=c,p.value=p.done?g:n};let y,I;const C=e=>{var t;(t=p.value,void 0!==a&&t<a||void 0!==l&&t>l)&&(y=e,I=oo({keyframes:[p.value,m(p.value)],velocity:_i(v,e,p.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return I||void 0!==y||(t=!0,x(e),C(e)),void 0!==y&&e>y?I.next(e-y):(!t&&x(e),p)}}}const ao=e=>{const t=({timestamp:t})=>e(t);return{start:()=>kr.update(t,!0),stop:()=>Pr(t),now:()=>yr.isProcessing?yr.timestamp:performance.now()}};function lo(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 co={decay:so,inertia:so,tween:$i,keyframes:$i,spring:oo};function uo({autoplay:e=!0,delay:t=0,driver:n=ao,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:s=0,repeatType:a="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let m,h,f=1,g=!1;const b=()=>{m&&m(),h=new Promise(e=>{m=e})};let v;b();const x=co[i]||$i;let y;x!==$i&&"number"!=typeof r[0]&&(y=Ji([0,100],r,{clamp:!1}),r=[0,100]);const I=x({...p,keyframes:r});let C;"mirror"===a&&(C=x({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let w="idle",N=null,A=null,j=null;null===I.calculatedDuration&&o&&(I.calculatedDuration=lo(I));const{calculatedDuration:k}=I;let P=1/0,G=1/0;null!==k&&(P=k+s,G=P*(o+1)-s);let S=0;const E=e=>{if(null===A)return;f>0&&(A=Math.min(A,e)),S=null!==N?N:(e-A)*f;const n=S-t,i=n<0;S=Math.max(n,0),"finished"===w&&null===N&&(S=G);let l=S,c=I;if(o){const e=S/P;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"===a?(n=1-n,s&&(n-=s/P)):"mirror"===a&&(c=C));let i=pn(0,1,n);S>G&&(i="reverse"===a&&r?1:0),l=i*P}const u=i?{done:!1,value:r[0]}:c.next(l);y&&(u.value=y(u.value));let{done:p}=u;i||null===k||(p=S>=G);const m=null===N&&("finished"===w||"running"===w&&p||f<0&&S<=0);return d&&d(u.value),m&&V(),u},B=()=>{v&&v.stop(),v=void 0},T=()=>{w="idle",B(),b(),A=j=null},V=()=>{w="finished",u&&u(),B(),b()},R=()=>{if(g)return;v||(v=n(E));const e=v.now();l&&l(),null!==N?A=e-N:A&&"finished"!==w||(A=e),j=A,N=null,w="running",v.start()};e&&R();const M={then:(e,t)=>h.then(e,t),get time(){return Yr(S)},set time(e){e=Hr(e),S=e,null===N&&v&&0!==f?A=v.now()-e/f:N=e},get duration(){const e=null===I.calculatedDuration?lo(I):I.calculatedDuration;return Yr(e)},get speed(){return f},set speed(e){e!==f&&v&&(f=e,M.time=Yr(S))},get state(){return w},play:R,pause:()=>{w="paused",N=S},stop:()=>{g=!0,"idle"!==w&&(w="idle",c&&c(),T())},cancel:()=>{null!==j&&E(j),T()},complete:()=>{w="finished"},sample:e=>(A=0,E(e))};return M}const po=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function mo(e,t,{onUpdate:n,onComplete:r,...i}){if(!(ti.waapi()&&po.has(t)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type))return!1;let o,s,a=!1;const l=()=>{s=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||!$r(t.ease))(t,i)){const e=uo({...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 m=function(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=Kr(a);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"===s?"alternate":"normal"})}(e.owner.current,t,c,{...i,duration:u,ease:d,times:p}),h=()=>m.cancel(),f=()=>{kr.update(h),o(),l()};return m.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,i)),r&&r(),f()},{then:(e,t)=>s.then(e,t),get time(){return Yr(m.currentTime||0)},set time(e){m.currentTime=Hr(e)},get speed(){return m.playbackRate},set speed(e){m.playbackRate=e},get duration(){return Yr(u)},play:()=>{a||(m.play(),Pr(h))},pause:()=>m.pause(),stop:()=>{if(a=!0,"idle"===m.playState)return;const{currentTime:t}=m;if(t){const n=uo({...i,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}f()},complete:()=>m.finish(),cancel:f}}const ho={type:"spring",stiffness:500,damping:25,restSpeed:10},fo={type:"keyframes",duration:.8},go={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},bo=(e,{keyframes:t})=>t.length>2?fo:nn.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:ho:go,vo=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Xi.test(t)&&"0"!==t||t.startsWith("url("))),xo=new Set(["brightness","contrast","saturate","opacity"]);function yo(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(bn)||[];if(!r)return e;const i=n.replace(r,"");let o=xo.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const Io=/([a-z-]*)\(.*?\)/g,Co={...Xi,getAnimatableNone:e=>{const t=e.match(Io);return t?t.map(yo).join(" "):e}},wo={...Gn,color:wi,backgroundColor:wi,outlineColor:wi,fill:wi,stroke:wi,borderColor:wi,borderTopColor:wi,borderRightColor:wi,borderBottomColor:wi,borderLeftColor:wi,filter:Co,WebkitFilter:Co},No=e=>wo[e];function Ao(e,t){let n=No(e);return n!==Co&&(n=Xi),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const jo=e=>/^0[^.\s]+$/.test(e);function ko(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||jo(e):void 0}function Po(e,t){return e[t]||e.default||e}const Go=(e,t,n,r={})=>i=>{const o=Po(r,e)||{},s=o.delay||r.delay||0;let{elapsed:a=0}=r;a-=Hr(s);const l=function(e,t,n,r){const i=vo(t,n);let o;o=Array.isArray(n)?[...n]:[null,n];const s=void 0!==r.from?r.from:e.get();let a;const l=[];for(let e=0;e<o.length;e++)null===o[e]&&(o[e]=0===e?s:o[e-1]),ko(o[e])&&l.push(e),"string"==typeof o[e]&&"none"!==o[e]&&"0"!==o[e]&&(a=o[e]);if(i&&l.length&&a)for(let e=0;e<l.length;e++)o[l[e]]=Ao(t,a);return o}(t,e,n,o),c=l[0],u=l[l.length-1],d=vo(e,c),p=vo(e,u);Zr(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let m={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-a,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:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(o)||(m={...m,...bo(e,m)}),m.duration&&(m.duration=Hr(m.duration)),m.repeatDelay&&(m.repeatDelay=Hr(m.repeatDelay)),!d||!p||Jr||!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:Er,pause:Er,stop:Er,then:e=>(e(),Promise.resolve()),cancel:Er,complete:Er});return t?uo({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}(m);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=mo(t,e,m);if(n)return n}return uo(m)};function So(e){return Boolean(on(e)&&e.add)}const Eo=e=>/^\-?\d*\.?\d+$/.test(e);function Bo(e,t){-1===e.indexOf(t)&&e.push(t)}function To(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Vo{constructor(){this.subscriptions=[]}add(e){return Bo(this.subscriptions,e),()=>To(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 Ro=new Set;function Mo(e,t,n){e||Ro.has(t)||(console.warn(t),Ro.add(t))}class Lo{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}=yr;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,kr.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=()=>kr.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&&Mo(!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 Vo);const n=this.events[e].add(t);return"change"===e?()=>{n(),kr.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?Qi(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 Xo(e,t){return new Lo(e,t)}const Wo=e=>t=>t.test(e),Oo=[mn,Nn,wn,Cn,jn,An,{test:e=>"auto"===e,parse:e=>e}],Fo=e=>Oo.find(Wo(e)),Do=[...Oo,wi,Xi],Zo=e=>Do.find(Wo(e));function zo(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Xo(n))}function Ho(e,t){if(!t)return;return(t[e]||t.default||t).from}function Yo({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function Jo(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:s,...a}=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 a){const r=e.getValue(t),i=a[t];if(!r||void 0===i||u&&Yo(u,t))continue;const s={delay:n,elapsed:0,...o};if(window.HandoffAppearAnimations&&!r.hasAnimated){const n=e.getProps()[Dr];n&&(s.elapsed=window.HandoffAppearAnimations(n,t,r,kr))}r.start(Go(t,r,i,e.shouldReduceMotion&&nn.has(t)?{type:!1}:s));const d=r.animation;So(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return s&&Promise.all(c).then(()=>{s&&function(e,t){const n=Fr(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const t in o)zo(e,t,nr(o[t]))}(e,s)}),c}function Uo(e,t,n={}){const r=Fr(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(Jo(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=i;return function(e,t,n=0,r=0,i=1,o){const s=[],a=(e.variantChildren.size-1)*r,l=1===i?(e=0)=>e*r:(e=0)=>a-e*r;return Array.from(e.variantChildren).sort($o).forEach((e,r)=>{e.notify("AnimationStart",t),s.push(Uo(e,t,{...o,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,o+r,s,a,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[e,t]="beforeChildren"===a?[o,s]:[s,o];return e().then(()=>t())}return Promise.all([o(),s(n.delay)])}function $o(e,t){return e.sortNodePosition(t)}const Qo=[...Xt].reverse(),_o=Xt.length;function Ko(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=>Uo(e,t,n));r=Promise.all(i)}else if("string"==typeof t)r=Uo(e,t,n);else{const i="function"==typeof t?Fr(e,t,n.custom):t;r=Promise.all(Jo(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function qo(e){let t=Ko(e);const n={animate:ts(!0),whileInView:ts(),whileHover:ts(),whileTap:ts(),whileDrag:ts(),whileFocus:ts(),exit:ts()};let r=!0;const i=(t,n)=>{const r=Fr(e,n);if(r){const{transition:e,transitionEnd:n,...i}=r;t={...t,...i,...n}}return t};function o(o,s){const a=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<_o;t++){const m=Qo[t],h=n[m],f=void 0!==a[m]?a[m]:l[m],g=Mt(f),b=m===s?h.isActive:null;!1===b&&(p=t);let v=f===l[m]&&f!==a[m]&&g;if(v&&r&&e.manuallyAnimateOnMount&&(v=!1),h.protectedKeys={...d},!h.isActive&&null===b||!f&&!h.prevProp||Lt(f)||"boolean"==typeof f)continue;const x=es(h.prevProp,f);let y=x||m===s&&h.isActive&&!v&&g||t>p&&g;const I=Array.isArray(f)?f:[f];let C=I.reduce(i,{});!1===b&&(C={});const{prevResolvedValues:w={}}=h,N={...w,...C},A=e=>{y=!0,u.delete(e),h.needsAnimating[e]=!0};for(const e in N){const t=C[e],n=w[e];d.hasOwnProperty(e)||(t!==n?tr(t)&&tr(n)?!Or(t,n)||x?A(e):h.protectedKeys[e]=!0:void 0!==t?A(e):u.add(e):void 0!==t&&u.has(e)?A(e):h.protectedKeys[e]=!0)}h.prevProp=f,h.prevResolvedValues=C,h.isActive&&(d={...d,...C}),r&&e.blockInitialAnimation&&(y=!1),y&&!v&&c.push(...I.map(e=>({animation:e,options:{type:m,...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 m=Boolean(c.length);return r&&!1===a.initial&&!e.manuallyAnimateOnMount&&(m=!1),r=!1,m?t(c):Promise.resolve()}return{animateChanges:o,setActive:function(t,r,i){var s;if(n[t].isActive===r)return Promise.resolve();null===(s=e.variantChildren)||void 0===s||s.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;const a=o(i,t);for(const e in n)n[e].protectedKeys={};return a},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function es(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Or(t,e)}function ts(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let ns=0;const rs={animation:{Feature:class extends xr{constructor(e){super(e),e.animationState||(e.animationState=qo(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Lt(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 xr{constructor(){super(...arguments),this.id=ns++}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(){}}}},is=(e,t)=>Math.abs(e-t);class os{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=ls(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=is(e.x,t.x),r=is(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}=yr;this.history.push({...r,timestamp:i});const{onStart:o,onMove:s}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=ss(t,this.transformPagePoint),kr.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,i=ls("pointercancel"===e.type?this.lastMoveEventInfo:ss(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},!cr(e))return;this.handlers=t,this.transformPagePoint=n;const r=ss(ur(e),this.transformPagePoint),{point:i}=r,{timestamp:o}=yr;this.history=[{...i,timestamp:o}];const{onSessionStart:s}=t;s&&s(e,ls(r,this.history)),this.removeListeners=mr(dr(window,"pointermove",this.handlePointerMove),dr(window,"pointerup",this.handlePointerUp),dr(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Pr(this.updatePoint)}}function ss(e,t){return t?{point:t(e.point)}:e}function as(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ls({point:e},t){return{point:e,delta:as(e,us(t)),offset:as(e,cs(t)),velocity:ds(t,.1)}}function cs(e){return e[0]}function us(e){return e[e.length-1]}function ds(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=us(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Hr(t)));)n--;if(!r)return{x:0,y:0};const o=Yr(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};const s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function ps(e){return e.max-e.min}function ms(e,t=0,n=.01){return Math.abs(e-t)<=n}function hs(e,t,n,r=.5){e.origin=r,e.originPoint=Ni(t.min,t.max,e.origin),e.scale=ps(n)/ps(t),(ms(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Ni(n.min,n.max,e.origin)-e.originPoint,(ms(e.translate)||isNaN(e.translate))&&(e.translate=0)}function fs(e,t,n,r){hs(e.x,t.x,n.x,r?r.originX:void 0),hs(e.y,t.y,n.y,r?r.originY:void 0)}function gs(e,t,n){e.min=n.min+t.min,e.max=e.min+ps(t)}function bs(e,t,n){e.min=t.min-n.min,e.max=e.min+ps(t)}function vs(e,t,n){bs(e.x,t.x,n.x),bs(e.y,t.y,n.y)}function xs(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 ys(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 Is=.35;function Cs(e,t,n){return{min:ws(e,t),max:ws(e,n)}}function ws(e,t){return"number"==typeof e?e:e[t]||0}const Ns=()=>({x:{min:0,max:0},y:{min:0,max:0}});function As(e){return[e("x"),e("y")]}function js({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function ks(e){return void 0===e||1===e}function Ps({scale:e,scaleX:t,scaleY:n}){return!ks(e)||!ks(t)||!ks(n)}function Gs(e){return Ps(e)||Ss(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Ss(e){return Es(e.x)||Es(e.y)}function Es(e){return e&&"0%"!==e}function Bs(e,t,n){return n+t*(e-n)}function Ts(e,t,n,r,i){return void 0!==i&&(e=Bs(e,i,r)),Bs(e,n,r)+t}function Vs(e,t=0,n=1,r,i){e.min=Ts(e.min,t,n,r,i),e.max=Ts(e.max,t,n,r,i)}function Rs(e,{x:t,y:n}){Vs(e.x,t.translate,t.scale,t.originPoint),Vs(e.y,n.translate,n.scale,n.originPoint)}function Ms(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Ls(e,t){e.min=e.min+t,e.max=e.max+t}function Xs(e,t,[n,r,i]){const o=void 0!==t[i]?t[i]:.5,s=Ni(e.min,e.max,o);Vs(e,t[n],t[r],s,t.scale)}const Ws=["x","scaleX","originX"],Os=["y","scaleY","originY"];function Fs(e,t){Xs(e.x,t,Ws),Xs(e.y,t,Os)}function Ds(e,t){return js(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 Zs=new WeakMap;class zs{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 os(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(ur(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=br(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),As(e=>{let t=this.getAxisMotionValue(e).get()||0;if(wn.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=ps(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),i&&kr.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:s}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(s),void(null!==this.currentDirection&&i&&i(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),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&&kr.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||!Hs(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?Ni(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?Ni(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&&Rt(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:i}){return{x:xs(e.x,n,i),y:xs(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=Is){return!1===e?e=0:!0===e&&(e=Is),{x:Cs(e,"left","right"),y:Cs(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&As(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||!Rt(e))return!1;const n=e.current;zr(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=Ds(e,n),{scroll:i}=t;return i&&(Ls(r.x,i.offset.x),Ls(r.y,i.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let o=function(e,t){return{x:ys(e.x,t.x),y:ys(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=js(e))}return o}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=As(s=>{if(!Hs(s,t,this.currentDirection))return;let l=a&&a[s]||{};o&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[s]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(s,d)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(Go(e,n,0,t))}stopAnimation(){As(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){As(t=>{const{drag:n}=this.getProps();if(!Hs(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]-Ni(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Rt(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};As(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=ps(e),i=ps(t);return i>r?n=zi(t.min,t.max-r,e.min):r>i&&(n=zi(e.min,e.max-i,t.min)),pn(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(),As(t=>{if(!Hs(t,e,null))return;const n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set(Ni(i,o,r[t]))})}addListeners(){if(!this.visualElement.current)return;Zs.set(this.visualElement,this);const e=dr(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();Rt(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=lr(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(As(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=Is,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:s}}}function Hs(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Ys=e=>(t,n)=>{e&&kr.update(()=>e(t,n))};const Js={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Us(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const $s={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Nn.test(e))return e;e=parseFloat(e)}return`${Us(e,t.target.x)}% ${Us(e,t.target.y)}%`}},Qs={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Xi.parse(e);if(i.length>5)return r;const o=Xi.createTransformer(e),s="number"!=typeof i[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=a,i[1+s]/=l;const c=Ni(a,l,.5);return"number"==typeof i[2+s]&&(i[2+s]/=c),"number"==typeof i[3+s]&&(i[3+s]/=c),o(i)}};class _s extends p.default.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;var o;o=qs,Object.assign(en,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()})),Js.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()||kr.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 Ks(e){const[n,r]=function(){const e=t.useContext(Et);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=e,o=t.useId();return t.useEffect(()=>i(o),[]),!n&&r?[!1,()=>r&&r(o)]:[!0]}(),i=t.useContext(Yt);return p.default.createElement(_s,{...e,layoutGroup:i,switchLayoutGroup:t.useContext(Jt),isPresent:n,safeToRemove:r})}const qs={borderRadius:{...$s,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:$s,borderTopRightRadius:$s,borderBottomLeftRadius:$s,borderBottomRightRadius:$s,boxShadow:Qs},ea=["TopLeft","TopRight","BottomLeft","BottomRight"],ta=ea.length,na=e=>"string"==typeof e?parseFloat(e):e,ra=e=>"number"==typeof e||Nn.test(e);function ia(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const oa=aa(0,.5,ui),sa=aa(.5,.95,Er);function aa(e,t,n){return r=>r<e?0:r>t?1:n(zi(e,t,r))}function la(e,t){e.min=t.min,e.max=t.max}function ca(e,t){la(e.x,t.x),la(e.y,t.y)}function ua(e,t,n,r,i){return e=Bs(e-=t,1/n,r),void 0!==i&&(e=Bs(e,1/i,r)),e}function da(e,t,[n,r,i],o,s){!function(e,t=0,n=1,r=.5,i,o=e,s=e){wn.test(t)&&(t=parseFloat(t),t=Ni(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=Ni(o.min,o.max,r);e===o&&(a-=t),e.min=ua(e.min,t,n,a,i),e.max=ua(e.max,t,n,a,i)}(e,t[n],t[r],t[i],t.scale,o,s)}const pa=["x","scaleX","originX"],ma=["y","scaleY","originY"];function ha(e,t,n,r){da(e.x,t,pa,n?n.x:void 0,r?r.x:void 0),da(e.y,t,ma,n?n.y:void 0,r?r.y:void 0)}function fa(e){return 0===e.translate&&1===e.scale}function ga(e){return fa(e.x)&&fa(e.y)}function ba(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function va(e){return ps(e.x)/ps(e.y)}class xa{constructor(){this.members=[]}add(e){Bo(this.members,e),e.scheduleRender()}remove(e){if(To(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 ya(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 s=e.x.scale*t.x,a=e.y.scale*t.y;return 1===s&&1===a||(r+=`scale(${s}, ${a})`),r||"none"}const Ia=(e,t)=>e.depth-t.depth;class Ca{constructor(){this.children=[],this.isDirty=!1}add(e){Bo(this.children,e),this.isDirty=!0}remove(e){To(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ia),this.isDirty=!1,this.children.forEach(e)}}const wa=["","X","Y","Z"];let Na=0;const Aa={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function ja({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=Na++,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;Aa.totalNodes=Aa.resolvedTargetDeltas=Aa.recalculatedProjection=0,this.nodes.forEach(Ga),this.nodes.forEach(Ma),this.nodes.forEach(La),this.nodes.forEach(Sa),e=Aa,window.MotionDebug&&window.MotionDebug.record(e)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Ca)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Vo),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:s}=this.options;if(s&&!s.current&&s.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&&(Pr(r),e(o-t))};return kr.read(r,!0),()=>Pr(r)}(r,250),Js.hasAnimatedSinceResize&&(Js.hasAnimatedSinceResize=!1,this.nodes.forEach(Ra))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(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||s.getDefaultTransition()||Za,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!ba(this.targetLayout,r)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...Po(i,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||Ra(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,Pr(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(Xa),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Ba);this.isUpdating||this.nodes.forEach(Ta),this.isUpdating=!1,this.nodes.forEach(Va),this.nodes.forEach(ka),this.nodes.forEach(Pa),this.clearAllSnapshots();const e=performance.now();yr.delta=pn(0,1e3/60,e-yr.timestamp),yr.timestamp=e,yr.isProcessing=!0,Nr.update.process(yr),Nr.preRender.process(yr),Nr.render.process(yr),yr.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Ea),this.sharedNodes.forEach(Wa)}scheduleUpdateProjection(){kr.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){kr.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&&!ga(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&(t||Gs(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)),za((r=n).x),za(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&&(Ls(t.x,n.offset.x),Ls(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};ca(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){ca(t,e);const{scroll:n}=this.root;n&&(Ls(t.x,-n.offset.x),Ls(t.y,-n.offset.y))}Ls(t.x,i.offset.x),Ls(t.y,i.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};ca(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&&Fs(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),Gs(r.latestValues)&&Fs(n,r.latestValues)}return Gs(this.latestValues)&&Fs(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};ca(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!Gs(n.latestValues))continue;Ps(n.latestValues)&&n.updateSnapshot();const r=Ns();ca(r,n.measurePageBox()),ha(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return Gs(this.latestValues)&&ha(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!==yr.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=yr.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}},vs(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),ca(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var s,a,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,gs(s.x,a.x,l.x),gs(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):ca(this.target,this.layout.layoutBox),Rs(this.target,this.targetDelta)):ca(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}},vs(this.relativeTargetOrigin,this.target,e.target),ca(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Aa.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Ps(this.parent.latestValues)&&!Ss(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===yr.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;ca(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,r=!1){const i=n.length;if(!i)return;let o,s;t.x=t.y=1;for(let a=0;a<i;a++){o=n[a],s=o.projectionDelta;const i=o.instance;i&&i.style&&"contents"===i.style.display||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Fs(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Rs(e,s)),r&&Gs(o.latestValues)&&Fs(e,o.latestValues))}t.x=Ms(t.x),t.y=Ms(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;fs(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=ya(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===s&&this.treeScale.y===a||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Aa.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 s={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(Da));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;Oa(o.x,e.x,n),Oa(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(vs(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){Fa(e.x,t.x,n.x,r),Fa(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,s,n),d&&ba(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),ca(d,this.relativeTarget)),a&&(this.animationValues=i,function(e,t,n,r,i,o){i?(e.opacity=Ni(0,void 0!==n.opacity?n.opacity:1,oa(r)),e.opacityExit=Ni(void 0!==t.opacity?t.opacity:1,0,sa(r))):o&&(e.opacity=Ni(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<ta;i++){const o=`border${ea[i]}Radius`;let s=ia(t,o),a=ia(n,o);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||ra(s)===ra(a)?(e[o]=Math.max(Ni(na(s),na(a),r),0),(wn.test(a)||wn.test(s))&&(e[o]+="%")):e[o]=a)}(t.rotate||n.rotate)&&(e.rotate=Ni(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&&(Pr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=kr.update(()=>{Js.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=on(e)?e:Xo(e);return r.start(Go("",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&&Ha(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=ps(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=ps(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}ca(t,n),Fs(t,i),fs(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new xa);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<wa.length;t++){const i="rotate"+wa[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=rr(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=rr(e.pointerEvents)||""),this.hasProjected&&!Gs(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}const s=o.animationValues||o.latestValues;this.applyTransformsToTarget(),r.transform=ya(this.projectionDeltaWithTransform,this.treeScale,s),i&&(r.transform=i(s,r.transform));const{x:a,y:l}=this.projectionDelta;r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,o.animationValues?r.opacity=o===this?null!==(n=null!==(t=s.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:r.opacity=o===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in en){if(void 0===s[e])continue;const{correct:t,applyTo:n}=en[e],i="none"===r.transform?s[e]:t(s[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?rr(e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(Ba),this.root.sharedNodes.clear()}}}function ka(e){e.updateLayout()}function Pa(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?As(e=>{const r=o?n.measuredBox[e]:n.layoutBox[e],i=ps(r);r.min=t[e].min,r.max=r.min+i}):Ha(i,n.layoutBox,t)&&As(r=>{const i=o?n.measuredBox[r]:n.layoutBox[r],s=ps(t[r]);i.max=i.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+s)});const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};fs(s,t,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?fs(a,e.applyTransform(r,!0),n.measuredBox):fs(a,t,n.layoutBox);const l=!ga(s);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:i,layout:o}=r;if(i&&o){const s={x:{min:0,max:0},y:{min:0,max:0}};vs(s,n.layoutBox,i.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};vs(a,t,o.layoutBox),ba(s,a)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Ga(e){Aa.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 Sa(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Ea(e){e.clearSnapshot()}function Ba(e){e.clearMeasurements()}function Ta(e){e.isLayoutDirty=!1}function Va(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Ra(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Ma(e){e.resolveTargetDelta()}function La(e){e.calcProjection()}function Xa(e){e.resetRotation()}function Wa(e){e.removeLeadSnapshot()}function Oa(e,t,n){e.translate=Ni(t.translate,0,n),e.scale=Ni(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Fa(e,t,n,r){e.min=Ni(t.min,n.min,r),e.max=Ni(t.max,n.max,r)}function Da(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Za={duration:.45,ease:[.4,0,.1,1]};function za(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Ha(e,t,n){return"position"===e||"preserve-aspect"===e&&!ms(va(t),va(n),.2)}const Ya=ja({attachResizeListener:(e,t)=>lr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ja={current:void 0},Ua=ja({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ja.current){const e=new Ya({});e.mount(window),e.setOptions({layoutScroll:!0}),Ja.current=e}return Ja.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),$a={pan:{Feature:class extends xr{constructor(){super(...arguments),this.removePointerDownListener=Er}onPointerDown(e){this.session=new os(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Ys(e),onStart:Ys(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&kr.update(()=>r(e,t))}}}mount(){this.removePointerDownListener=dr(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 xr{constructor(e){super(e),this.removeGroupControls=Er,this.removeListeners=Er,this.controls=new zs(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Er}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Ua,MeasureLayout:Ks}},Qa=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function _a(e,t,n=1){zr(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=Qa.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():un(i)?_a(i,t,n+1):i}const Ka=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),qa=e=>Ka.has(e),el=e=>e===mn||e===Nn,tl=(e,t)=>parseFloat(e.split(", ")[t]),nl=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return tl(i[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?tl(t[1],e):0}},rl=new Set(["x","y","z"]),il=tn.filter(e=>!rl.has(e));const ol={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:nl(4,13),y:nl(5,14)},sl=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(qa);let o=[],s=!1;const a=[];if(i.forEach(i=>{const l=e.getValue(i);if(!e.hasValue(i))return;let c=n[i],u=Fo(c);const d=t[i];let p;if(tr(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=Fo(c);for(let n=t;n<e&&null!==d[n];n++)p?zr(Fo(d[n])===p,"All keyframes must be of the same type"):(p=Fo(d[n]),zr(p===u||el(u)&&el(p),"Keyframes must be of the same dimension as the current value"))}else p=Fo(d);if(u!==p)if(el(u)&&el(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[i]=parseFloat(d):Array.isArray(d)&&p===Nn&&(t[i]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==p?void 0:p.transform)&&(0===c||0===d)?0===c?l.set(p.transform(c)):t[i]=u.transform(d):(s||(o=function(e){const t=[];return il.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),s=!0),a.push(i),r[i]=void 0!==r[i]?r[i]:t[i],l.jump(d))}),a.length){const n=a.indexOf("height")>=0?window.pageYOffset:null,i=((e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:s}=o,a={};"none"===s&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{a[e]=ol[e](r,o)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const r=t.getValue(n);r&&r.jump(a[n]),e[n]=ol[n](l,o)}),e})(t,e,a);return o.length&&o.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),Bt&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:r}}return{target:t,transitionEnd:r}};function al(e,t,n,r){return(e=>Object.keys(e).some(qa))(t)?sl(e,t,n,r):{target:t,transitionEnd:r}}const ll=(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(!un(t))return;const n=_a(t,r);n&&e.set(n)});for(const e in t){const i=t[e];if(!un(i))continue;const o=_a(i,r);o&&(t[e]=o,n||(n={}),void 0===n[e]&&(n[e]=i))}return{target:t,transitionEnd:n}}(e,t,r);return al(e,t=i.target,n,r=i.transitionEnd)},cl={current:null},ul={current:!1};const dl=new WeakMap,pl=Object.keys(Ht),ml=pl.length,hl=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],fl=Wt.length;class gl{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=()=>kr.render(this.render,!1,!0);const{latestValues:s,renderState:a}=i;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=a,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=Ot(t),this.isVariantNode=Ft(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{});for(const e in c){const t=c[e];void 0!==s[e]&&on(t)&&(t.set(s[e],!1),So(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,dl.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)),ul.current||function(){if(ul.current=!0,Bt)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>cl.current=e.matches;e.addListener(t),t()}else cl.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||cl.current),"production"!==process.env.NODE_ENV&&Mo(!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(){dl.delete(this.current),this.projection&&this.projection.unmount(),Pr(this.notifyUpdate),Pr(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=nn.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&kr.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,s;if("production"!==process.env.NODE_ENV&&r&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?Zr(!1,e):zr(!1,e)}for(let e=0;e<ml;e++){const n=pl[e],{isEnabled:r,Feature:i,ProjectionNode:a,MeasureLayout:l}=Ht[n];a&&(o=a),r(t)&&(!this.features[n]&&i&&(this.features[n]=new i(this)),l&&(s=l))}if(!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:r,dragConstraints:s,layoutScroll:a,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(r)||s&&Rt(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:i,layoutScroll:a,layoutRoot:l})}return s}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<hl.length;t++){const n=hl[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],s=n[i];if(on(o))e.addValue(i,o),So(r)&&r.add(i),"development"===process.env.NODE_ENV&&Mo("10.12.16"===o.version,`Attempting to mix Framer Motion versions ${o.version} with 10.12.16 may not work as expected.`);else if(on(s))e.addValue(i,Xo(o,{owner:e})),So(r)&&r.remove(i);else if(s!==o)if(e.hasValue(i)){const t=e.getValue(i);!t.hasAnimated&&t.set(o)}else{const t=e.getStaticValue(i);e.addValue(i,Xo(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<fl;e++){const n=Wt[e],r=this.props[n];(Mt(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=Xo(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=qn(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||on(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 Vo),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class bl extends gl{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=Ho(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)),s=o.length;if(s)for(let a=0;a<s;a++){const s=o[a],l=t[s];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(i=null!==(r=n[s])&&void 0!==r?r:e.readValue(s))&&void 0!==i?i:t[s]),null!=c&&("string"==typeof c&&(Eo(c)||jo(c))?c=parseFloat(c):!Zo(c)&&Xi.test(l)&&(c=Ao(s,l)),e.addValue(s,Xo(c,{owner:e})),void 0===n[s]&&(n[s]=c),null!==c&&e.setBaseTarget(s,c))}}(this,n,o);const e=ll(this,n,o,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class vl extends bl{readValueFromInstance(e,t){if(nn.has(t)){const e=No(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),i=(cn(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof i?i.trim():i}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Ds(e,t)}build(e,t,n,r){Sn(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return _n(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;on(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){Un(e,t,n,r)}}class xl extends bl{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(nn.has(t)){const e=No(t);return e&&e.default||0}return t=$n.has(t)?t:Jn(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return Kn(e,t)}build(e,t,n,r){Dn(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){Qn(e,t,0,r)}mount(e){this.isSVGTag=zn(e.tagName),super.mount(e)}}const yl=(e,t)=>qt(e)?new xl(t,{enableHardwareAcceleration:!1}):new vl(t,{enableHardwareAcceleration:!0}),Il={...rs,...Wr,...$a,...{layout:{ProjectionNode:Ua,MeasureLayout:Ks}}},Cl=_t((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...qt(e)?sr:ar,preloadedFeatures:n,useRender:Yn(t),createVisualElement:r,Component:e}}(e,t,Il,yl));function wl(){const e=t.useRef(!1);return Tt(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class Nl extends p.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 Al({children:e,isPresent:n}){const r=t.useId(),i=t.useRef(null),o=t.useRef({width:0,height:0,top:0,left:0});return t.useInsertionEffect(()=>{const{width:e,height:t,top:s,left:a}=o.current;if(n||!i.current||!e||!t)return;i.current.dataset.motionPopId=r;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n [data-motion-pop-id="${r}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${t}px !important;\n top: ${s}px !important;\n left: ${a}px !important;\n }\n `),()=>{document.head.removeChild(l)}},[n]),p.createElement(Nl,{isPresent:n,childRef:i,sizeRef:o},p.cloneElement(e,{ref:i}))}const jl=({children:e,initial:n,isPresent:r,onExitComplete:i,custom:o,presenceAffectsLayout:s,mode:a})=>{const l=er(kl),c=t.useId(),u=t.useMemo(()=>({id:c,initial:n,isPresent:r,custom:o,onExitComplete:e=>{l.set(e,!0);for(const e of l.values())if(!e)return;i&&i()},register:e=>(l.set(e,!1),()=>l.delete(e))}),s?void 0:[r]);return t.useMemo(()=>{l.forEach((e,t)=>l.set(t,!1))},[r]),p.useEffect(()=>{!r&&!l.size&&i&&i()},[r]),"popLayout"===a&&(e=p.createElement(Al,{isPresent:r},e)),p.createElement(Et.Provider,{value:u},e)};function kl(){return new Map}const Pl=e=>e.key||"";const Gl=({children:e,custom:n,initial:r=!0,onExitComplete:i,exitBeforeEnter:o,presenceAffectsLayout:s=!0,mode:a="sync"})=>{zr(!o,"Replace exitBeforeEnter with mode='wait'");const l=t.useContext(Yt).forceRender||function(){const e=wl(),[n,r]=t.useState(0),i=t.useCallback(()=>{e.current&&r(n+1)},[n]);return[t.useCallback(()=>kr.postRender(i),[i]),n]}()[0],c=wl(),u=function(e){const n=[];return t.Children.forEach(e,e=>{t.isValidElement(e)&&n.push(e)}),n}(e);let d=u;const m=t.useRef(new Map).current,h=t.useRef(d),f=t.useRef(new Map).current,g=t.useRef(!0);var b;if(Tt(()=>{g.current=!1,function(e,t){e.forEach(e=>{const n=Pl(e);t.set(n,e)})}(u,f),h.current=d}),b=()=>{g.current=!0,f.clear(),m.clear()},t.useEffect(()=>()=>b(),[]),g.current)return p.createElement(p.Fragment,null,d.map(e=>p.createElement(jl,{key:Pl(e),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:s,mode:a},e)));d=[...d];const v=h.current.map(Pl),x=u.map(Pl),y=v.length;for(let e=0;e<y;e++){const t=v[e];-1!==x.indexOf(t)||m.has(t)||m.set(t,void 0)}return"wait"===a&&m.size&&(d=[]),m.forEach((e,t)=>{if(-1!==x.indexOf(t))return;const r=f.get(t);if(!r)return;const o=v.indexOf(t);let g=e;if(!g){const e=()=>{f.delete(t),m.delete(t);const e=h.current.findIndex(e=>e.key===t);if(h.current.splice(e,1),!m.size){if(h.current=u,!1===c.current)return;l(),i&&i()}};g=p.createElement(jl,{key:Pl(r),isPresent:!1,onExitComplete:e,custom:n,presenceAffectsLayout:s,mode:a},r),m.set(t,g)}d.splice(o,0,g)}),d=d.map(e=>{const t=e.key;return m.has(t)?e:p.createElement(jl,{key:Pl(e),isPresent:!0,presenceAffectsLayout:s,mode:a},e)}),"production"!==process.env.NODE_ENV&&"wait"===a&&d.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.'),p.createElement(p.Fragment,null,m.size?d:d.map(e=>t.cloneElement(e)))};function Sl(){return Sl=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},Sl.apply(null,arguments)}function El(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function Bl(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function Tl(...e){return t.useCallback(Bl(...e),e)}function Vl(...e){const n=e[0];if(1===e.length)return n;const r=()=>{const r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const i=r.reduce((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]}),{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:i}),[i])}};return r.scopeName=n.scopeName,r}const Rl=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?t.useLayoutEffect:()=>{},Ml=p["useId".toString()]||(()=>{});let Ll=0;function Xl(e){const[t,n]=p.useState(Ml());return Rl(()=>{n(e=>null!=e?e:String(Ll++))},[e]),e||(t?`radix-${t}`:"")}function Wl(e){const n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>{var t;return null===(t=n.current)||void 0===t?void 0:t.call(n,...e)},[])}function Ol({prop:e,defaultProp:n,onChange:r=()=>{}}){const[i,o]=function({defaultProp:e,onChange:n}){const r=t.useState(e),[i]=r,o=t.useRef(i),s=Wl(n);return t.useEffect(()=>{o.current!==i&&(s(i),o.current=i)},[i,o,s]),r}({defaultProp:n,onChange:r}),s=void 0!==e,a=s?e:i,l=Wl(r);return[a,t.useCallback(t=>{if(s){const n="function"==typeof t?t(e):t;n!==e&&l(n)}else o(t)},[s,e,o,l])]}const Fl=t.forwardRef((e,n)=>{const{children:r,...i}=e,o=t.Children.toArray(r),s=o.find(zl);if(s){const e=s.props.children,r=o.map(n=>n===s?t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null:n);return t.createElement(Dl,Sl({},i,{ref:n}),t.isValidElement(e)?t.cloneElement(e,void 0,r):null)}return t.createElement(Dl,Sl({},i,{ref:n}),r)});Fl.displayName="Slot";const Dl=t.forwardRef((e,n)=>{const{children:r,...i}=e;return t.isValidElement(r)?t.cloneElement(r,{...Hl(i,r.props),ref:n?Bl(n,r.ref):r.ref}):t.Children.count(r)>1?t.Children.only(null):null});Dl.displayName="SlotClone";const Zl=({children:e})=>t.createElement(t.Fragment,null,e);function zl(e){return t.isValidElement(e)&&e.type===Zl}function Hl(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 Yl=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,n)=>{const r=t.forwardRef((e,r)=>{const{asChild:i,...o}=e,s=i?Fl:n;return t.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),t.createElement(s,Sl({},o,{ref:r}))});return r.displayName=`Primitive.${n}`,{...e,[n]:r}},{});const Jl="dismissableLayer.update",Ul="dismissableLayer.pointerDownOutside",$l="dismissableLayer.focusOutside";let Ql;const _l=t.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Kl=t.forwardRef((e,n)=>{var r;const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:a,onInteractOutside:l,onDismiss:c,...u}=e,d=t.useContext(_l),[p,m]=t.useState(null),h=null!==(r=null==p?void 0:p.ownerDocument)&&void 0!==r?r:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,f]=t.useState({}),g=Tl(n,e=>m(e)),b=Array.from(d.layers),[v]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=b.indexOf(v),y=p?b.indexOf(p):-1,I=d.layersWithOutsidePointerEventsDisabled.size>0,C=y>=x,w=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=Wl(e),i=t.useRef(!1),o=t.useRef(()=>{});return t.useEffect(()=>{const e=e=>{if(e.target&&!i.current){const t={originalEvent:e};function s(){ec(Ul,r,t,{discrete:!0})}"touch"===e.pointerType?(n.removeEventListener("click",o.current),o.current=s,n.addEventListener("click",o.current,{once:!0})):s()}else n.removeEventListener("click",o.current);i.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",o.current)}},[n,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{const t=e.target,n=[...d.branches].some(e=>e.contains(t));C&&!n&&(null==s||s(e),null==l||l(e),e.defaultPrevented||null==c||c())},h),N=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=Wl(e),i=t.useRef(!1);return t.useEffect(()=>{const e=e=>{if(e.target&&!i.current){ec($l,r,{originalEvent:e},{discrete:!1})}};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{const t=e.target;[...d.branches].some(e=>e.contains(t))||(null==a||a(e),null==l||l(e),e.defaultPrevented||null==c||c())},h);return function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=Wl(e);t.useEffect(()=>{const e=e=>{"Escape"===e.key&&r(e)};return n.addEventListener("keydown",e),()=>n.removeEventListener("keydown",e)},[r,n])}(e=>{y===d.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},h),t.useEffect(()=>{if(p)return i&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(Ql=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(p)),d.layers.add(p),ql(),()=>{i&&1===d.layersWithOutsidePointerEventsDisabled.size&&(h.body.style.pointerEvents=Ql)}},[p,h,i,d]),t.useEffect(()=>()=>{p&&(d.layers.delete(p),d.layersWithOutsidePointerEventsDisabled.delete(p),ql())},[p,d]),t.useEffect(()=>{const e=()=>f({});return document.addEventListener(Jl,e),()=>document.removeEventListener(Jl,e)},[]),t.createElement(Yl.div,Sl({},u,{ref:g,style:{pointerEvents:I?C?"auto":"none":void 0,...e.style},onFocusCapture:El(e.onFocusCapture,N.onFocusCapture),onBlurCapture:El(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:El(e.onPointerDownCapture,w.onPointerDownCapture)}))});function ql(){const e=new CustomEvent(Jl);document.dispatchEvent(e)}function ec(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&&l.flushSync(()=>e.dispatchEvent(t))}(i,o):i.dispatchEvent(o)}const tc="focusScope.autoFocusOnMount",nc="focusScope.autoFocusOnUnmount",rc={bubbles:!1,cancelable:!0},ic=t.forwardRef((e,n)=>{const{loop:r=!1,trapped:i=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...a}=e,[l,c]=t.useState(null),u=Wl(o),d=Wl(s),p=t.useRef(null),m=Tl(n,e=>c(e)),h=t.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t.useEffect(()=>{if(i){function e(e){if(h.paused||!l)return;const t=e.target;l.contains(t)?p.current=t:lc(p.current,{select:!0})}function t(e){if(h.paused||!l)return;const t=e.relatedTarget;null!==t&&(l.contains(t)||lc(p.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&lc(l)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return l&&r.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[i,l,h.paused]),t.useEffect(()=>{if(l){cc.add(h);const t=document.activeElement;if(!l.contains(t)){const n=new CustomEvent(tc,rc);l.addEventListener(tc,u),l.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(lc(r,{select:t}),document.activeElement!==n)return}((e=oc(l),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&lc(l))}return()=>{l.removeEventListener(tc,u),setTimeout(()=>{const e=new CustomEvent(nc,rc);l.addEventListener(nc,d),l.dispatchEvent(e),e.defaultPrevented||lc(null!=t?t:document.body,{select:!0}),l.removeEventListener(nc,d),cc.remove(h)},0)}}var e},[l,u,d,h]);const f=t.useCallback(e=>{if(!r&&!i)return;if(h.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){const t=e.currentTarget,[i,o]=function(e){const t=oc(e),n=sc(t,e),r=sc(t.reverse(),e);return[n,r]}(t);i&&o?e.shiftKey||n!==o?e.shiftKey&&n===i&&(e.preventDefault(),r&&lc(o,{select:!0})):(e.preventDefault(),r&&lc(i,{select:!0})):n===t&&e.preventDefault()}},[r,i,h.paused]);return t.createElement(Yl.div,Sl({tabIndex:-1},a,{ref:m,onKeyDown:f}))});function oc(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 sc(e,t){for(const n of e)if(!ac(n,{upTo:t}))return n}function ac(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 lc(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 cc=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=uc(e,t),e.unshift(t)},remove(t){var n;e=uc(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function uc(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const dc=t.forwardRef((e,n)=>{var r;const{container:i=(null===globalThis||void 0===globalThis||null===(r=globalThis.document)||void 0===r?void 0:r.body),...o}=e;return i?g.default.createPortal(t.createElement(Yl.div,Sl({},o,{ref:n})),i):null});const pc=e=>{const{present:n,children:r}=e,i=function(e){const[n,r]=t.useState(),i=t.useRef({}),o=t.useRef(e),s=t.useRef("none"),a=e?"mounted":"unmounted",[c,u]=function(e,n){return t.useReducer((e,t)=>{const r=n[e][t];return null!=r?r:e},e)}(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{const e=mc(i.current);s.current="mounted"===c?e:"none"},[c]),Rl(()=>{const t=i.current,n=o.current;if(n!==e){const r=s.current,i=mc(t);if(e)u("MOUNT");else if("none"===i||"none"===(null==t?void 0:t.display))u("UNMOUNT");else{u(n&&r!==i?"ANIMATION_OUT":"UNMOUNT")}o.current=e}},[e,u]),Rl(()=>{if(n){const e=e=>{const t=mc(i.current).includes(e.animationName);e.target===n&&t&&l.flushSync(()=>u("ANIMATION_END"))},t=e=>{e.target===n&&(s.current=mc(i.current))};return n.addEventListener("animationstart",t),n.addEventListener("animationcancel",e),n.addEventListener("animationend",e),()=>{n.removeEventListener("animationstart",t),n.removeEventListener("animationcancel",e),n.removeEventListener("animationend",e)}}u("ANIMATION_END")},[n,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:t.useCallback(e=>{e&&(i.current=getComputedStyle(e)),r(e)},[])}}(n),o="function"==typeof r?r({present:i.isPresent}):t.Children.only(r),s=Tl(i.ref,o.ref);return"function"==typeof r||i.isPresent?t.cloneElement(o,{ref:s}):null};function mc(e){return(null==e?void 0:e.animationName)||"none"}pc.displayName="Presence";let hc=0;function fc(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var gc=function(){return gc=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},gc.apply(this,arguments)};function bc(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 vc="right-scroll-bar-position",xc="width-before-scroll-bar";function yc(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var Ic="undefined"!=typeof window?p.useLayoutEffect:p.useEffect,Cc=new WeakMap;function wc(e,n){var r,i,o,s=(r=null,i=function(t){return e.forEach(function(e){return yc(e,t)})},(o=t.useState(function(){return{value:r,callback:i,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}})[0]).callback=i,o.facade);return Ic(function(){var t=Cc.get(s);if(t){var n=new Set(t),r=new Set(e),i=s.current;n.forEach(function(e){r.has(e)||yc(e,null)}),r.forEach(function(e){n.has(e)||yc(e,i)})}Cc.set(s,e)},[e]),s}function Nc(e){return e}var Ac=function(e){var t=e.sideCar,n=bc(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return p.createElement(r,gc({},n))};Ac.isSideCarExport=!0;var jc=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=Nc);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)},s=function(){return Promise.resolve().then(o)};s(),n={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),n}}}};return i}(null);return t.options=gc({async:!0,ssr:!1},e),t}(),kc=function(){},Pc=p.forwardRef(function(e,t){var n=p.useRef(null),r=p.useState({onScrollCapture:kc,onWheelCapture:kc,onTouchMoveCapture:kc}),i=r[0],o=r[1],s=e.forwardProps,a=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,d=e.shards,m=e.sideCar,h=e.noIsolation,f=e.inert,g=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,x=bc(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),y=m,I=wc([n,t]),C=gc(gc({},x),i);return p.createElement(p.Fragment,null,u&&p.createElement(y,{sideCar:jc,removeScrollBar:c,shards:d,noIsolation:h,inert:f,setCallbacks:o,allowPinchZoom:!!g,lockRef:n}),s?p.cloneElement(p.Children.only(a),gc(gc({},C),{ref:I})):p.createElement(v,gc({},C,{className:l,ref:I}),a))});Pc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Pc.classNames={fullWidth:xc,zeroRight:vc};function Gc(){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 Sc=function(){var e=0,t=null;return{add:function(n){var r;0==e&&(t=Gc())&&(!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)}}},Ec=function(){var e,t=(e=Sc(),function(t,n){p.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}},Bc={left:0,top:0,right:0,gap:0},Tc=function(e){return parseInt(e||"",10)||0},Vc=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Bc;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[Tc(n),Tc(r),Tc(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])}},Rc=Ec(),Mc="data-scroll-locked",Lc=function(e,t,n,r){var i=e.left,o=e.top,s=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(a,"px ").concat(r,";\n }\n body[").concat(Mc,"] {\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(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(vc," {\n right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(xc," {\n margin-right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(vc," .").concat(vc," {\n right: 0 ").concat(r,";\n }\n \n .").concat(xc," .").concat(xc," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(Mc,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},Xc=function(){var e=parseInt(document.body.getAttribute(Mc)||"0",10);return isFinite(e)?e:0},Wc=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;p.useEffect(function(){return document.body.setAttribute(Mc,(Xc()+1).toString()),function(){var e=Xc()-1;e<=0?document.body.removeAttribute(Mc):document.body.setAttribute(Mc,e.toString())}},[]);var o=p.useMemo(function(){return Vc(i)},[i]);return p.createElement(Rc,{styles:Lc(o,!t,i,n?"":"!important")})},Oc=!1;if("undefined"!=typeof window)try{var Fc=Object.defineProperty({},"passive",{get:function(){return Oc=!0,!0}});window.addEventListener("test",Fc,Fc),window.removeEventListener("test",Fc,Fc)}catch(e){Oc=!1}var Dc=!!Oc&&{passive:!1},Zc=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])},zc=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),Hc(e,n)){var r=Yc(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Hc=function(e,t){return"v"===e?function(e){return Zc(e,"overflowY")}(t):function(e){return Zc(e,"overflowX")}(t)},Yc=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)},Jc=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Uc=function(e){return[e.deltaX,e.deltaY]},$c=function(e){return e&&"current"in e?e.current:e},Qc=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},_c=0,Kc=[];var qc,eu=(qc=function(e){var t=p.useRef([]),n=p.useRef([0,0]),r=p.useRef(),i=p.useState(_c++)[0],o=p.useState(function(){return Ec()})[0],s=p.useRef(e);p.useEffect(function(){s.current=e},[e]),p.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=function(e,t,n){if(n||2===arguments.length)for(var r,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($c),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var a=p.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var i,o=Jc(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=zc(d,u);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=zc(d,u)),!p)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=i),!i)return!0;var m=r.current||i;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,s=n.target,a=t.contains(s),l=!1,c=o>0,u=0,d=0;do{var p=Yc(e,s),m=p[0],h=p[1]-p[2]-i*m;(m||h)&&Hc(e,s)&&(u+=h,d+=m),s=s.parentNode}while(!a&&s!==document.body||a&&(t.contains(s)||t===s));return c&&0===u?l=!0:c||0!==d||(l=!0),l}(m,t,e,"h"===m?l:c)},[]),l=p.useCallback(function(e){var n=e;if(Kc.length&&Kc[Kc.length-1]===o){var r="deltaY"in n?Uc(n):Jc(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 l=(s.current.shards||[]).map($c).filter(Boolean).filter(function(e){return e.contains(n.target)});(l.length>0?a(n,l[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),c=p.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)},[]),u=p.useCallback(function(e){n.current=Jc(e),r.current=void 0},[]),d=p.useCallback(function(t){c(t.type,Uc(t),t.target,a(t,e.lockRef.current))},[]),m=p.useCallback(function(t){c(t.type,Jc(t),t.target,a(t,e.lockRef.current))},[]);p.useEffect(function(){return Kc.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:m}),document.addEventListener("wheel",l,Dc),document.addEventListener("touchmove",l,Dc),document.addEventListener("touchstart",u,Dc),function(){Kc=Kc.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,Dc),document.removeEventListener("touchmove",l,Dc),document.removeEventListener("touchstart",u,Dc)}},[]);var h=e.removeScrollBar,f=e.inert;return p.createElement(p.Fragment,null,f?p.createElement(o,{styles:Qc(i)}):null,h?p.createElement(Wc,{gapMode:"margin"}):null)},jc.useMedium(qc),Ac),tu=p.forwardRef(function(e,t){return p.createElement(Pc,gc({},e,{ref:t,sideCar:eu}))});tu.classNames=Pc.classNames;var nu=new WeakMap,ru=new WeakMap,iu={},ou=0,su=function(e){return e&&(e.host||su(e.parentNode))},au=function(e,t,n,r){var i=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=su(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]);iu[n]||(iu[n]=new WeakMap);var o=iu[n],s=[],a=new Set,l=new Set(i),c=function(e){e&&!a.has(e)&&(a.add(e),c(e.parentNode))};i.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(a.has(e))u(e);else try{var t=e.getAttribute(r),i=null!==t&&"false"!==t,l=(nu.get(e)||0)+1,c=(o.get(e)||0)+1;nu.set(e,l),o.set(e,c),s.push(e),1===l&&i&&ru.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),a.clear(),ou++,function(){s.forEach(function(e){var t=nu.get(e)-1,i=o.get(e)-1;nu.set(e,t),o.set(e,i),t||(ru.has(e)||e.removeAttribute(r),ru.delete(e)),i||e.removeAttribute(n)}),--ou||(nu=new WeakMap,nu=new WeakMap,ru=new WeakMap,iu={})}},lu=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"))),au(r,i,n,"aria-hidden")):function(){return null}};const cu="Dialog",[uu,du]=function(e,n=[]){let r=[];const i=()=>{const n=r.map(e=>t.createContext(e));return function(r){const i=(null==r?void 0:r[e])||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return i.scopeName=e,[function(n,i){const o=t.createContext(i),s=r.length;function a(n){const{scope:r,children:i,...a}=n,l=(null==r?void 0:r[e][s])||o,c=t.useMemo(()=>a,Object.values(a));return t.createElement(l.Provider,{value:c},i)}return r=[...r,i],a.displayName=n+"Provider",[a,function(r,a){const l=(null==a?void 0:a[e][s])||o,c=t.useContext(l);if(c)return c;if(void 0!==i)return i;throw new Error(`\`${r}\` must be used within \`${n}\``)}]},Vl(i,...n)]}(cu),[pu,mu]=uu(cu),hu="DialogPortal",[fu,gu]=uu(hu,{forceMount:void 0}),bu="DialogOverlay",vu=t.forwardRef((e,n)=>{const r=gu(bu,e.__scopeDialog),{forceMount:i=r.forceMount,...o}=e,s=mu(bu,e.__scopeDialog);return s.modal?t.createElement(pc,{present:i||s.open},t.createElement(xu,Sl({},o,{ref:n}))):null}),xu=t.forwardRef((e,n)=>{const{__scopeDialog:r,...i}=e,o=mu(bu,r);return t.createElement(tu,{as:Fl,allowPinchZoom:!0,shards:[o.contentRef]},t.createElement(Yl.div,Sl({"data-state":Pu(o.open)},i,{ref:n,style:{pointerEvents:"auto",...i.style}})))}),yu="DialogContent",Iu=t.forwardRef((e,n)=>{const r=gu(yu,e.__scopeDialog),{forceMount:i=r.forceMount,...o}=e,s=mu(yu,e.__scopeDialog);return t.createElement(pc,{present:i||s.open},s.modal?t.createElement(Cu,Sl({},o,{ref:n})):t.createElement(wu,Sl({},o,{ref:n})))}),Cu=t.forwardRef((e,n)=>{const r=mu(yu,e.__scopeDialog),i=t.useRef(null),o=Tl(n,r.contentRef,i);return t.useEffect(()=>{const e=i.current;if(e)return lu(e)},[]),t.createElement(Nu,Sl({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:El(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=r.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:El(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:El(e.onFocusOutside,e=>e.preventDefault())}))}),wu=t.forwardRef((e,n)=>{const r=mu(yu,e.__scopeDialog),i=t.useRef(!1),o=t.useRef(!1);return t.createElement(Nu,Sl({},e,{ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,s;(null===(n=e.onCloseAutoFocus)||void 0===n||n.call(e,t),t.defaultPrevented)||(i.current||null===(s=r.triggerRef.current)||void 0===s||s.focus(),t.preventDefault());i.current=!1,o.current=!1},onInteractOutside:t=>{var n,s;null===(n=e.onInteractOutside)||void 0===n||n.call(e,t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const a=t.target;(null===(s=r.triggerRef.current)||void 0===s?void 0:s.contains(a))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}}))}),Nu=t.forwardRef((e,n)=>{const{__scopeDialog:r,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:s,...a}=e,l=mu(yu,r),c=Tl(n,t.useRef(null));return t.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:fc()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:fc()),hc++,()=>{1===hc&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),hc--}},[]),t.createElement(t.Fragment,null,t.createElement(ic,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:o,onUnmountAutoFocus:s},t.createElement(Kl,Sl({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":Pu(l.open)},a,{ref:c,onDismiss:()=>l.onOpenChange(!1)}))),!1)}),Au="DialogTitle",ju="DialogClose",ku=t.forwardRef((e,n)=>{const{__scopeDialog:r,...i}=e,o=mu(ju,r);return t.createElement(Yl.button,Sl({type:"button"},i,{ref:n,onClick:El(e.onClick,()=>o.onOpenChange(!1))}))});function Pu(e){return e?"open":"closed"}!function(e,n){const r=t.createContext(n);function i(e){const{children:n,...i}=e,o=t.useMemo(()=>i,Object.values(i));return t.createElement(r.Provider,{value:o},n)}i.displayName=e+"Provider"}("DialogTitleWarning",{contentName:yu,titleName:Au,docsSlug:"dialog"});const Gu=e=>{const{__scopeDialog:n,children:r,open:i,defaultOpen:o,onOpenChange:s,modal:a=!0}=e,l=t.useRef(null),c=t.useRef(null),[u=!1,d]=Ol({prop:i,defaultProp:o,onChange:s});return t.createElement(pu,{scope:n,triggerRef:l,contentRef:c,contentId:Xl(),titleId:Xl(),descriptionId:Xl(),open:u,onOpenChange:d,onOpenToggle:t.useCallback(()=>d(e=>!e),[d]),modal:a},r)},Su=e=>{const{__scopeDialog:n,forceMount:r,children:i,container:o}=e,s=mu(hu,n);return t.createElement(fu,{scope:n,forceMount:r},t.Children.map(i,e=>t.createElement(pc,{present:r||s.open},t.createElement(dc,{asChild:!0,container:o},e))))},Eu=vu,Bu=Iu,Tu=ku,Vu=t=>{const{isOpen:n,onRequestClose:r,size:i,title:o,content:s,description:a,children:l,bodyClassName:c,type:u="modal",index:d=0}=t;return e.jsx(Gu,{open:n,onOpenChange:()=>n&&(null==r?void 0:r()),children:e.jsxs(Su,{children:[e.jsx(Cl.div,{initial:"closed",animate:n?"open":"closed",variants:jt,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e.jsx(Eu,{})}),e.jsx("div",{className:"pointer-events-none fixed inset-0 z-[1001] flex items-center justify-center",children:e.jsx(Cl.div,{initial:"closed",animate:n?"open":"closed",variants:kt,transition:{type:"tween",duration:.3,ease:"easeInOut"},className:"pointer-events-auto w-[calc(100vw-10px)] focus:outline-none sm:w-[calc(100vw-90px)]",children:e.jsx(Bu,{className:Se("relative mx-auto w-full rounded-modal bg-bg p-[25px] shadow-drop focus:outline-none",c),style:{maxWidth:Pt[i||"lg"]},children:e.jsxs("div",{"data-section-type":u,"data-section-index":d,children:[e.jsx(Tu,{asChild:!0,children:e.jsx(tt,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e.jsx(Le,{name:"close"})})}),e.jsxs("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[o?e.jsx(Xe,{className:Se("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:o}):null,a?e.jsx(Xe,{as:"div",className:"mb-8 sm:mb-5",children:a}):null,e.jsxs("div",{className:"flex flex-col gap-4 sm:gap-5",children:[s,l||null]})]})]})})})})]})})},Ru=({currentPage:t,totalPages:n,onPageChange:r,ariaLabel:i="Pagination"})=>{const o=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]}(t,n),s="inline-flex items-center justify-center w-9 h-9 rounded-full bg-transparent cursor-pointer transition-colors duration-150 hover:border-text-brand hover:text-text-brand disabled:opacity-40 disabled:cursor-not-allowed";return e.jsxs("nav",{className:"flex items-center justify-center gap-1 px-6 pb-12","aria-label":i,children:[e.jsx(Ye,{className:s,onClick:()=>r(t-1),disabled:1===t,"aria-label":"Go to previous page",children:e.jsx(Le,{name:"chevron_left",size:32,"aria-hidden":"true"})}),o.map((n,i)=>"..."===n?e.jsx("span",{className:"inline-flex h-9 w-9 cursor-default items-center justify-center text-body2 text-gray-500","aria-hidden":"true",children:"…"},`ellipsis-${i}`):e.jsx(Ye,{className:"inline-flex items-center justify-center w-9 h-9 rounded-lg text-body2 text-gray-700 bg-transparent border-none cursor-pointer transition-colors duration-150 hover:bg-gray-100 hover:text-gray-900 "+(n===t?"bg-bg-surface-active font-bold hover:bg-bg-gray-300":""),onClick:()=>r(n),"aria-label":`Go to page ${n}`,"aria-current":n===t?"page":void 0,children:n},n)),e.jsx(Ye,{className:s,onClick:()=>r(t+1),disabled:t===n,"aria-label":"Go to next page",children:e.jsx(Le,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function Mu(e){return Mu="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},Mu(e)}function Lu(e){var t=function(e,t){if("object"!=Mu(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Mu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Mu(t)?t:t+""}function Xu(e,t,n){return(t=Lu(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wu(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 Ou(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wu(Object(n),!0).forEach(function(t){Xu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Fu(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 Du(e,t){if(e){if("string"==typeof e)return Fu(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)?Fu(e,t):void 0}}function Zu(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,s,a=[],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)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||Du(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 zu(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 Hu=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Yu(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,Lu(r.key),r)}}function Ju(e,t){return Ju=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ju(e,t)}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Uu(e)}function $u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($u=function(){return!!e})()}function Qu(e,t){if(t&&("object"==Mu(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 _u(e){return function(e){if(Array.isArray(e))return Fu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Du(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 Ku=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}(),qu="-ms-",ed="-moz-",td="-webkit-",nd="comm",rd="rule",id="decl",od="@keyframes",sd=Math.abs,ad=String.fromCharCode,ld=Object.assign;function cd(e){return e.trim()}function ud(e,t,n){return e.replace(t,n)}function dd(e,t){return e.indexOf(t)}function pd(e,t){return 0|e.charCodeAt(t)}function md(e,t,n){return e.slice(t,n)}function hd(e){return e.length}function fd(e){return e.length}function gd(e,t){return t.push(e),e}var bd=1,vd=1,xd=0,yd=0,Id=0,Cd="";function wd(e,t,n,r,i,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:bd,column:vd,length:s,return:""}}function Nd(e,t){return ld(wd("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ad(){return Id=yd>0?pd(Cd,--yd):0,vd--,10===Id&&(vd=1,bd--),Id}function jd(){return Id=yd<xd?pd(Cd,yd++):0,vd++,10===Id&&(vd=1,bd++),Id}function kd(){return pd(Cd,yd)}function Pd(){return yd}function Gd(e,t){return md(Cd,e,t)}function Sd(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 Ed(e){return bd=vd=1,xd=hd(Cd=e),yd=0,[]}function Bd(e){return Cd="",e}function Td(e){return cd(Gd(yd-1,Md(91===e?e+2:40===e?e+1:e)))}function Vd(e){for(;(Id=kd())&&Id<33;)jd();return Sd(e)>2||Sd(Id)>3?"":" "}function Rd(e,t){for(;--t&&jd()&&!(Id<48||Id>102||Id>57&&Id<65||Id>70&&Id<97););return Gd(e,Pd()+(t<6&&32==kd()&&32==jd()))}function Md(e){for(;jd();)switch(Id){case e:return yd;case 34:case 39:34!==e&&39!==e&&Md(Id);break;case 40:41===e&&Md(e);break;case 92:jd()}return yd}function Ld(e,t){for(;jd()&&e+Id!==57&&(e+Id!==84||47!==kd()););return"/*"+Gd(t,yd-1)+"*"+ad(47===e?e:jd())}function Xd(e){for(;!Sd(kd());)jd();return Gd(e,yd)}function Wd(e){return Bd(Od("",null,null,null,[""],e=Ed(e),0,[0],e))}function Od(e,t,n,r,i,o,s,a,l){for(var c=0,u=0,d=s,p=0,m=0,h=0,f=1,g=1,b=1,v=0,x="",y=i,I=o,C=r,w=x;g;)switch(h=v,v=jd()){case 40:if(108!=h&&58==pd(w,d-1)){-1!=dd(w+=ud(Td(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=Td(v);break;case 9:case 10:case 13:case 32:w+=Vd(h);break;case 92:w+=Rd(Pd()-1,7);continue;case 47:switch(kd()){case 42:case 47:gd(Dd(Ld(jd(),Pd()),t,n),l);break;default:w+="/"}break;case 123*f:a[c++]=hd(w)*b;case 125*f:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(w=ud(w,/\f/g,"")),m>0&&hd(w)-d&&gd(m>32?Zd(w+";",r,n,d-1):Zd(ud(w," ","")+";",r,n,d-2),l);break;case 59:w+=";";default:if(gd(C=Fd(w,t,n,c,u,i,a,x,y=[],I=[],d),o),123===v)if(0===u)Od(w,t,C,C,y,o,d,a,I);else switch(99===p&&110===pd(w,3)?100:p){case 100:case 108:case 109:case 115:Od(e,C,C,r&&gd(Fd(e,C,C,0,0,i,a,x,i,y=[],d),I),i,I,d,a,r?y:I);break;default:Od(w,C,C,C,[""],I,0,a,I)}}c=u=m=0,f=b=1,x=w="",d=s;break;case 58:d=1+hd(w),m=h;default:if(f<1)if(123==v)--f;else if(125==v&&0==f++&&125==Ad())continue;switch(w+=ad(v),v*f){case 38:b=u>0?1:(w+="\f",-1);break;case 44:a[c++]=(hd(w)-1)*b,b=1;break;case 64:45===kd()&&(w+=Td(jd())),p=kd(),u=d=hd(x=w+=Xd(Pd())),v++;break;case 45:45===h&&2==hd(w)&&(f=0)}}return o}function Fd(e,t,n,r,i,o,s,a,l,c,u){for(var d=i-1,p=0===i?o:[""],m=fd(p),h=0,f=0,g=0;h<r;++h)for(var b=0,v=md(e,d+1,d=sd(f=s[h])),x=e;b<m;++b)(x=cd(f>0?p[b]+" "+v:ud(v,/&\f/g,p[b])))&&(l[g++]=x);return wd(e,t,n,0===i?rd:a,l,c,u)}function Dd(e,t,n){return wd(e,t,n,nd,ad(Id),md(e,2,-2),0)}function Zd(e,t,n,r){return wd(e,t,n,id,md(e,0,r),md(e,r+1,-1),r)}function zd(e,t){for(var n="",r=fd(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function Hd(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case id:return e.return=e.return||e.value;case nd:return"";case od:return e.return=e.value+"{"+zd(e.children,r)+"}";case rd:e.value=e.props.join(",")}return hd(n=zd(e.children,r))?e.return=e.value+"{"+n+"}":""}function Yd(e){var t=fd(e);return function(n,r,i,o){for(var s="",a=0;a<t;a++)s+=e[a](n,r,i,o)||"";return s}}var Jd="undefined"!=typeof document,Ud=function(e,t,n){for(var r=0,i=0;r=i,i=kd(),38===r&&12===i&&(t[n]=1),!Sd(i);)jd();return Gd(e,yd)},$d=function(e,t){return Bd(function(e,t){var n=-1,r=44;do{switch(Sd(r)){case 0:38===r&&12===kd()&&(t[n]=1),e[n]+=Ud(yd-1,t,n);break;case 2:e[n]+=Td(r);break;case 4:if(44===r){e[++n]=58===kd()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=ad(r)}}while(r=jd());return e}(Ed(e),t))},Qd=new WeakMap,_d=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)||Qd.get(n))&&!r){Qd.set(e,!0);for(var i=[],o=$d(t,i),s=n.props,a=0,l=0;a<o.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=i[a]?o[a].replace(/&\f/g,s[c]):s[c]+" "+o[a]}}},Kd=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function qd(e,t){switch(function(e,t){return 45^pd(e,0)?(((t<<2^pd(e,0))<<2^pd(e,1))<<2^pd(e,2))<<2^pd(e,3):0}(e,t)){case 5103:return td+"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 td+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return td+e+ed+e+qu+e+e;case 6828:case 4268:return td+e+qu+e+e;case 6165:return td+e+qu+"flex-"+e+e;case 5187:return td+e+ud(e,/(\w+).+(:[^]+)/,td+"box-$1$2"+qu+"flex-$1$2")+e;case 5443:return td+e+qu+"flex-item-"+ud(e,/flex-|-self/,"")+e;case 4675:return td+e+qu+"flex-line-pack"+ud(e,/align-content|flex-|-self/,"")+e;case 5548:return td+e+qu+ud(e,"shrink","negative")+e;case 5292:return td+e+qu+ud(e,"basis","preferred-size")+e;case 6060:return td+"box-"+ud(e,"-grow","")+td+e+qu+ud(e,"grow","positive")+e;case 4554:return td+ud(e,/([^-])(transform)/g,"$1"+td+"$2")+e;case 6187:return ud(ud(ud(e,/(zoom-|grab)/,td+"$1"),/(image-set)/,td+"$1"),e,"")+e;case 5495:case 3959:return ud(e,/(image-set\([^]*)/,td+"$1$`$1");case 4968:return ud(ud(e,/(.+:)(flex-)?(.*)/,td+"box-pack:$3"+qu+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+td+e+e;case 4095:case 3583:case 4068:case 2532:return ud(e,/(.+)-inline(.+)/,td+"$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(hd(e)-1-t>6)switch(pd(e,t+1)){case 109:if(45!==pd(e,t+4))break;case 102:return ud(e,/(.+:)(.+)-([^]+)/,"$1"+td+"$2-$3$1"+ed+(108==pd(e,t+3)?"$3":"$2-$3"))+e;case 115:return~dd(e,"stretch")?qd(ud(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==pd(e,t+1))break;case 6444:switch(pd(e,hd(e)-3-(~dd(e,"!important")&&10))){case 107:return ud(e,":",":"+td)+e;case 101:return ud(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+td+(45===pd(e,14)?"inline-":"")+"box$3$1"+td+"$2$3$1"+qu+"$2box$3")+e}break;case 5936:switch(pd(e,t+11)){case 114:return td+e+qu+ud(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return td+e+qu+ud(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return td+e+qu+ud(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return td+e+qu+e+e}return e}var ep,tp,np,rp=Jd?void 0:(ep=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},tp=new WeakMap,function(e){if(tp.has(e))return tp.get(e);var t=ep(e);return tp.set(e,t),t}),ip=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case id:e.return=qd(e.value,e.length);break;case od:return zd([Nd(e,{value:ud(e.value,"@","@"+td)})],r);case rd: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 zd([Nd(e,{props:[ud(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return zd([Nd(e,{props:[ud(t,/:(plac\w+)/,":"+td+"input-$1")]}),Nd(e,{props:[ud(t,/:(plac\w+)/,":-moz-$1")]}),Nd(e,{props:[ud(t,/:(plac\w+)/,qu+"input-$1")]})],r)}return""})}}],op=function(e){var t=e.key;if(Jd&&"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||ip,s={},a=[];Jd&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;a.push(e)}));var l,c=[_d,Kd];if(rp){var u=[Hd],d=Yd(c.concat(o,u)),p=rp(o)(t),m=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=zd(Wd(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};i=function(e,t,n,r){var i=t.name,o=m(e,t);return void 0===b.compat?(r&&(b.inserted[i]=!0),o):r?void(b.inserted[i]=o):o}}else{var h,f=[Hd,(l=function(e){h.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=Yd(c.concat(o,f));i=function(e,t,n,r){h=n,zd(Wd(e?e+"{"+t.styles+"}":t.styles),g),r&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new Ku({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return b.sheet.hydrate(a),b},sp={exports:{}},ap={};var lp,cp,up,dp,pp={};
|
|
3
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("js-base64"),i=require("js-cookie"),r=require("@contentful/rich-text-react-renderer"),o=require("@contentful/rich-text-types"),s=require("next/link"),a=require("next/image"),l=require("react-dom"),c=require("next/navigation");function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var m=d(t),p=u(i),h=d(s),f=u(a),g=u(l);function b(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=b(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function v(){for(var e,t,n=0,i="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=b(e))&&(i&&(i+=" "),i+=t);return i}const x=e=>{const t=w(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),y(n,t)||I(e)},getConflictingClassGroupIds:(e,t)=>{const r=n[e]||[];return t&&i[e]?[...r,...i[e]]:r}}},y=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],i=t.nextPart.get(n),r=i?y(e.slice(1),i):void 0;if(r)return r;if(0===t.validators.length)return;const o=e.join("-");return t.validators.find(({validator:e})=>e(o))?.classGroupId},C=/^\[(.+)\]$/,I=e=>{if(C.test(e)){const t=C.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},w=e=>{const{theme:t,classGroups:n}=e,i={nextPart:new Map,validators:[]};for(const e in n)N(n[e],i,e,t);return i},N=(e,t,n,i)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:A(t,e)).classGroupId=n)}if("function"==typeof e)return j(e)?void N(e(i),t,n,i):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,r])=>{N(r,A(t,e),n,i)})})},A=(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},j=e=>e.isThemeGetter,k=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,i=new Map;const r=(r,o)=>{n.set(r,o),t++,t>e&&(t=0,i=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=i.get(e))?(r(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):r(e,t)}}},P=e=>{const{prefix:t,experimentalParseClassName:n}=e;let i=e=>{const t=[];let n,i=0,r=0,o=0;for(let s=0;s<e.length;s++){let a=e[s];if(0===i&&0===r){if(":"===a){t.push(e.slice(o,s)),o=s+1;continue}if("/"===a){n=s;continue}}"["===a?i++:"]"===a?i--:"("===a?r++:")"===a&&r--}const s=0===t.length?e:e.substring(o),a=G(s);return{modifiers:t,hasImportantModifier:a!==s,baseClassName:a,maybePostfixModifierPosition:n&&n>o?n-o:void 0}};if(t){const e=t+":",n=i;i=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=i;i=t=>n({className:t,parseClassName:e})}return i},G=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,S=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let i=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...i.sort(),e),i=[]):i.push(e)}),n.push(...i.sort()),n}},B=/\s+/;function E(){let e,t,n=0,i="";for(;n<arguments.length;)(e=arguments[n++])&&(t=T(e))&&(i&&(i+=" "),i+=t);return i}const T=e=>{if("string"==typeof e)return e;let t,n="";for(let i=0;i<e.length;i++)e[i]&&(t=T(e[i]))&&(n&&(n+=" "),n+=t);return n};function R(e,...t){let n,i,r,o=function(a){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:k(e.cacheSize),parseClassName:P(e),sortModifiers:S(e),...x(e)}))(l),i=n.cache.get,r=n.cache.set,o=s,s(a)};function s(e){const t=i(e);if(t)return t;const o=((e,t)=>{const{parseClassName:n,getClassGroupId:i,getConflictingClassGroupIds:r,sortModifiers:o}=t,s=[],a=e.trim().split(B);let l="";for(let e=a.length-1;e>=0;e-=1){const t=a[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:m,maybePostfixModifierPosition:p}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let h=!!p,f=i(h?m.substring(0,p):m);if(!f){if(!h){l=t+(l.length>0?" "+l:l);continue}if(f=i(m),!f){l=t+(l.length>0?" "+l:l);continue}h=!1}const g=o(u).join(":"),b=d?g+"!":g,v=b+f;if(s.includes(v))continue;s.push(v);const x=r(f,h);for(let e=0;e<x.length;++e){const t=x[e];s.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return r(e,o),o}return function(){return o(E.apply(null,arguments))}}const V=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},M=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,L=/^\((?:(\w[\w-]*):)?(.+)\)$/i,X=/^\d+\/\d+$/,W=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,F=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,O=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,D=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,z=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Z=e=>X.test(e),H=e=>!!e&&!Number.isNaN(Number(e)),Y=e=>!!e&&Number.isInteger(Number(e)),J=e=>e.endsWith("%")&&H(e.slice(0,-1)),U=e=>W.test(e),$=()=>!0,Q=e=>F.test(e)&&!O.test(e),_=()=>!1,K=e=>D.test(e),q=e=>z.test(e),ee=e=>!ne(e)&&!le(e),te=e=>fe(e,xe,_),ne=e=>M.test(e),ie=e=>fe(e,ye,Q),re=e=>fe(e,Ce,H),oe=e=>fe(e,be,_),se=e=>fe(e,ve,q),ae=e=>fe(e,we,K),le=e=>L.test(e),ce=e=>ge(e,ye),ue=e=>ge(e,Ie),de=e=>ge(e,be),me=e=>ge(e,xe),pe=e=>ge(e,ve),he=e=>ge(e,we,!0),fe=(e,t,n)=>{const i=M.exec(e);return!!i&&(i[1]?t(i[1]):n(i[2]))},ge=(e,t,n=!1)=>{const i=L.exec(e);return!!i&&(i[1]?t(i[1]):n)},be=e=>"position"===e||"percentage"===e,ve=e=>"image"===e||"url"===e,xe=e=>"length"===e||"size"===e||"bg-size"===e,ye=e=>"length"===e,Ce=e=>"number"===e,Ie=e=>"family-name"===e,we=e=>"shadow"===e,Ne=()=>{const e=V("color"),t=V("font"),n=V("text"),i=V("font-weight"),r=V("tracking"),o=V("leading"),s=V("breakpoint"),a=V("container"),l=V("spacing"),c=V("radius"),u=V("shadow"),d=V("inset-shadow"),m=V("text-shadow"),p=V("drop-shadow"),h=V("blur"),f=V("perspective"),g=V("aspect"),b=V("ease"),v=V("animate"),x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",le,ne],y=()=>[le,ne,l],C=()=>[Z,"full","auto",...y()],I=()=>[Y,"none","subgrid",le,ne],w=()=>["auto",{span:["full",Y,le,ne]},Y,le,ne],N=()=>[Y,"auto",le,ne],A=()=>["auto","min","max","fr",le,ne],j=()=>["auto",...y()],k=()=>[Z,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],P=()=>[e,le,ne],G=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",de,oe,{position:[le,ne]}],S=()=>["auto","cover","contain",me,te,{size:[le,ne]}],B=()=>[J,ce,ie],E=()=>["","none","full",c,le,ne],T=()=>["",H,ce,ie],R=()=>[H,J,de,oe],M=()=>["","none",h,le,ne],L=()=>["none",H,le,ne],X=()=>["none",H,le,ne],W=()=>[H,le,ne],F=()=>[Z,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[U],breakpoint:[U],color:[$],container:[U],"drop-shadow":[U],ease:["in","out","in-out"],font:[ee],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[U],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[U],shadow:[U],spacing:["px",H],text:[U],"text-shadow":[U],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Z,ne,le,g]}],container:["container"],columns:[{columns:[H,ne,le,a]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:x()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:C()}],"inset-x":[{"inset-x":C()}],"inset-y":[{"inset-y":C()}],start:[{start:C()}],end:[{end:C()}],top:[{top:C()}],right:[{right:C()}],bottom:[{bottom:C()}],left:[{left:C()}],visibility:["visible","invisible","collapse"],z:[{z:[Y,"auto",le,ne]}],basis:[{basis:[Z,"full","auto",a,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[H,Z,"auto","initial","none",ne]}],grow:[{grow:["",H,le,ne]}],shrink:[{shrink:["",H,le,ne]}],order:[{order:[Y,"first","last","none",le,ne]}],"grid-cols":[{"grid-cols":I()}],"col-start-end":[{col:w()}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":I()}],"row-start-end":[{row:w()}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":A()}],"auto-rows":[{"auto-rows":A()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:j()}],mx:[{mx:j()}],my:[{my:j()}],ms:[{ms:j()}],me:[{me:j()}],mt:[{mt:j()}],mr:[{mr:j()}],mb:[{mb:j()}],ml:[{ml:j()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:k()}],w:[{w:[a,"screen",...k()]}],"min-w":[{"min-w":[a,"screen","none",...k()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...k()]}],h:[{h:["screen","lh",...k()]}],"min-h":[{"min-h":["screen","lh","none",...k()]}],"max-h":[{"max-h":["screen","lh",...k()]}],"font-size":[{text:["base",n,ce,ie]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,le,re]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",J,ne]}],"font-family":[{font:[ue,ne,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,le,ne]}],"line-clamp":[{"line-clamp":[H,"none",le,re]}],leading:[{leading:[o,...y()]}],"list-image":[{"list-image":["none",le,ne]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",le,ne]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[H,"from-font","auto",le,ie]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[H,"auto",le,ne]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",le,ne]}],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",le,ne]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:G()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:S()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Y,le,ne],radial:["",le,ne],conic:[Y,le,ne]},pe,se]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:B()}],"gradient-via-pos":[{via:B()}],"gradient-to-pos":[{to:B()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:E()}],"rounded-s":[{"rounded-s":E()}],"rounded-e":[{"rounded-e":E()}],"rounded-t":[{"rounded-t":E()}],"rounded-r":[{"rounded-r":E()}],"rounded-b":[{"rounded-b":E()}],"rounded-l":[{"rounded-l":E()}],"rounded-ss":[{"rounded-ss":E()}],"rounded-se":[{"rounded-se":E()}],"rounded-ee":[{"rounded-ee":E()}],"rounded-es":[{"rounded-es":E()}],"rounded-tl":[{"rounded-tl":E()}],"rounded-tr":[{"rounded-tr":E()}],"rounded-br":[{"rounded-br":E()}],"rounded-bl":[{"rounded-bl":E()}],"border-w":[{border:T()}],"border-w-x":[{"border-x":T()}],"border-w-y":[{"border-y":T()}],"border-w-s":[{"border-s":T()}],"border-w-e":[{"border-e":T()}],"border-w-t":[{"border-t":T()}],"border-w-r":[{"border-r":T()}],"border-w-b":[{"border-b":T()}],"border-w-l":[{"border-l":T()}],"divide-x":[{"divide-x":T()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":T()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[H,le,ne]}],"outline-w":[{outline:["",H,ce,ie]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",u,he,ae]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",d,he,ae]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:T()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[H,ie]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":T()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",m,he,ae]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[H,le,ne]}],"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":[H]}],"mask-image-linear-from-pos":[{"mask-linear-from":R()}],"mask-image-linear-to-pos":[{"mask-linear-to":R()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":R()}],"mask-image-t-to-pos":[{"mask-t-to":R()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":R()}],"mask-image-r-to-pos":[{"mask-r-to":R()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":R()}],"mask-image-b-to-pos":[{"mask-b-to":R()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":R()}],"mask-image-l-to-pos":[{"mask-l-to":R()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":R()}],"mask-image-x-to-pos":[{"mask-x-to":R()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":R()}],"mask-image-y-to-pos":[{"mask-y-to":R()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[le,ne]}],"mask-image-radial-from-pos":[{"mask-radial-from":R()}],"mask-image-radial-to-pos":[{"mask-radial-to":R()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[H]}],"mask-image-conic-from-pos":[{"mask-conic-from":R()}],"mask-image-conic-to-pos":[{"mask-conic-to":R()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:G()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:S()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",le,ne]}],filter:[{filter:["","none",le,ne]}],blur:[{blur:M()}],brightness:[{brightness:[H,le,ne]}],contrast:[{contrast:[H,le,ne]}],"drop-shadow":[{"drop-shadow":["","none",p,he,ae]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",H,le,ne]}],"hue-rotate":[{"hue-rotate":[H,le,ne]}],invert:[{invert:["",H,le,ne]}],saturate:[{saturate:[H,le,ne]}],sepia:[{sepia:["",H,le,ne]}],"backdrop-filter":[{"backdrop-filter":["","none",le,ne]}],"backdrop-blur":[{"backdrop-blur":M()}],"backdrop-brightness":[{"backdrop-brightness":[H,le,ne]}],"backdrop-contrast":[{"backdrop-contrast":[H,le,ne]}],"backdrop-grayscale":[{"backdrop-grayscale":["",H,le,ne]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[H,le,ne]}],"backdrop-invert":[{"backdrop-invert":["",H,le,ne]}],"backdrop-opacity":[{"backdrop-opacity":[H,le,ne]}],"backdrop-saturate":[{"backdrop-saturate":[H,le,ne]}],"backdrop-sepia":[{"backdrop-sepia":["",H,le,ne]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",le,ne]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[H,"initial",le,ne]}],ease:[{ease:["linear","initial",b,le,ne]}],delay:[{delay:[H,le,ne]}],animate:[{animate:["none",v,le,ne]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,le,ne]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:L()}],"rotate-x":[{"rotate-x":L()}],"rotate-y":[{"rotate-y":L()}],"rotate-z":[{"rotate-z":L()}],scale:[{scale:X()}],"scale-x":[{"scale-x":X()}],"scale-y":[{"scale-y":X()}],"scale-z":[{"scale-z":X()}],"scale-3d":["scale-3d"],skew:[{skew:W()}],"skew-x":[{"skew-x":W()}],"skew-y":[{"skew-y":W()}],transform:[{transform:[le,ne,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:F()}],"translate-x":[{"translate-x":F()}],"translate-y":[{"translate-y":F()}],"translate-z":[{"translate-z":F()}],"translate-none":["translate-none"],accent:[{accent:P()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",le,ne]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",le,ne]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[H,ce,ie,re]}],stroke:[{stroke:["none",...P()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Ae=(e,t,n)=>{void 0!==n&&(e[t]=n)},je=(e,t)=>{if(t)for(const n in t)Ae(e,n,t[n])},ke=(e,t)=>{if(t)for(const n in t)Pe(e,t,n)},Pe=(e,t,n)=>{const i=t[n];void 0!==i&&(e[n]=e[n]?e[n].concat(i):i)},Ge=((e,...t)=>"function"==typeof e?R(Ne,e,...t):R(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:i,extend:r={},override:o={}})=>(Ae(e,"cacheSize",t),Ae(e,"prefix",n),Ae(e,"experimentalParseClassName",i),je(e.theme,o.theme),je(e.classGroups,o.classGroups),je(e.conflictingClassGroups,o.conflictingClassGroups),je(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),Ae(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),ke(e.theme,r.theme),ke(e.classGroups,r.classGroups),ke(e.conflictingClassGroups,r.conflictingClassGroups),ke(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),Pe(e,r,"orderSensitiveModifiers"),e))(Ne(),e),...t))({extend:{classGroups:{"font-variants":["heading1","heading2","heading3","heading4","heading5","heading6","subheading1","subheading2","subheading3","subheading4","subheading5","subheading6","body1","body2","body3","footnote","micro","label1","label2","label3","label4"],"button-sizes":["btn-small","btn-medium","btn-large","btn-x-large"]}}}),Se=(...e)=>Ge(v(...e)),Be=(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>`;const Ee=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const Te=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,Re=e=>{if(!e)return null;if(Te(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return Te(t)?t:null}return null},Ve={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},Me=t.forwardRef(({children:t,className:n="",variant:i="unstyled",style:r,...o},s)=>{const a=Se("unstyled"===i?"":"mb-1 leading-6","list-item",`list-item--${i}`,n);return e.jsx("li",{ref:s,className:a,style:r,...o,children:t})});Me.displayName="ListItem";const Le=t.forwardRef(({type:t="ul",items:n,className:i="",renderItem:r,children:o,variant:s="unstyled",style:a,...l},c)=>{const u=(()=>{if("unstyled"===s)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=Se(u,`list--${t}`,`list--${s}`,i),m=o||(n&&0!==n.length?n.map((t,n)=>r?r(t,n):e.jsx(Me,{className:t.className,variant:s,children:t.content},t.id||n)):null),p={className:d,style:a,...l,children:m};return"ol"===t?e.jsx("ol",{...p,ref:c}):e.jsx("ul",{...p,ref:c})});Le.displayName="List";const Xe=({name:t,fill:n=0,opticalSize:i="48dp",weight:r="200",emphasis:o=145,size:s=24,color:a="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const m={fontVariationSettings:`'FILL' ${n}, 'wght' ${r}, 'GRAD' ${o}, 'opsz' ${i.substring(0,2)}`,fontSize:`${s}px`,fontFamily:"'Material Symbols Rounded'",color:a||"currentColor",...l};return e.jsx("span",{style:m,className:Se("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};Xe.displayName="MaterialIcon";const We=t.forwardRef(({children:e,as:t,className:n="",style:i,...r},o)=>{const s=t||"p";return m.default.createElement(s,{ref:o,className:n,style:i,...r},e)});We.displayName="Text";const Fe=t=>{const{items:n,listIconName:i="check",listItemClassName:r,listContainerClassName:o,iconSize:s=20,iconPosition:a="center",iconColor:l="green",iconClassName:c}=t,u="disc"!==i;return(null==n?void 0:n.length)?e.jsx(Le,{className:Se("mt-2 space-y-1",o),variant:u?"unstyled":"default",children:n.map((t,n)=>e.jsxs(Me,{variant:u?"unstyled":"default",className:Se(`${u?"flex":""} ${"top"===a?"items-start":"items-center"} gap-2 text-text-secondary`,r),children:[u&&e.jsx("div",{className:"flex leading-none",children:e.jsx(Xe,{name:i,size:s,color:Ve[l],weight:"600",className:Se("block","top"===a?"mt-1":"",c)})}),e.jsx(We,{as:"div",children:t})]},n))}):null};var Oe;Fe.displayName="Checklist";const De="function"==typeof h.default?h.default:null!==(Oe=h.default.default)&&void 0!==Oe?Oe:h.default,ze=t.forwardRef(({children:t,href:n,className:i="",onClick:r,variant:o="unstyled",style:s,external:a=!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(" ")})(),m=e=>{l?e.preventDefault():null==r||r(e)},p=Se(d,`link--${o}`,l&&"link--disabled",i),h={...c,ref:u,className:p,style:s,href:l?void 0:n,onClick:m,...a&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return a||"string"==typeof n&&n.startsWith("http")?e.jsx("a",{...h,children:t}):e.jsx(De,{href:n||"#",className:p,onClick:m,...c,children:t})});ze.displayName="Link";const Ze={renderMark:{[o.MARKS.BOLD]:t=>e.jsx("strong",{className:"label3",children:t}),[o.MARKS.ITALIC]:t=>e.jsx("em",{children:t}),[o.MARKS.UNDERLINE]:t=>e.jsx("u",{children:t}),[o.MARKS.CODE]:t=>e.jsx("code",{children:t})},renderNode:{[o.BLOCKS.PARAGRAPH]:(t,n)=>e.jsx("div",{className:"body3 mb-4",children:n}),[o.BLOCKS.HEADING_1]:(t,n)=>e.jsx(We,{as:"h1",className:"heading2 md:heading1",children:n}),[o.BLOCKS.HEADING_2]:(t,n)=>e.jsx(We,{as:"h2",className:"heading6 md:heading5",children:n}),[o.BLOCKS.HEADING_3]:(t,n)=>e.jsx(We,{as:"h3",className:"heading6 md:heading5",children:n}),[o.BLOCKS.HEADING_4]:(t,n)=>e.jsx(We,{as:"h3",className:"headingClass",children:n}),[o.BLOCKS.HEADING_5]:(t,n)=>e.jsx(We,{as:"h3",className:"heading6 md:heading5",children:n}),[o.BLOCKS.HEADING_6]:(t,n)=>e.jsx(We,{as:"h3",className:"heading6",children:n}),[o.BLOCKS.QUOTE]:(t,n)=>e.jsx("blockquote",{children:n}),[o.BLOCKS.UL_LIST]:(t,n)=>e.jsx("ul",{children:n}),[o.BLOCKS.OL_LIST]:(t,n)=>e.jsx("ol",{children:n}),[o.BLOCKS.LIST_ITEM]:(t,n)=>e.jsx("li",{children:n}),[o.INLINES.HYPERLINK]:(t,n)=>{var i;const r=null===(i=null==t?void 0:t.data)||void 0===i?void 0:i.uri,o=/^https?:\/\//.test(r);return e.jsx("a",{href:r,target:o?"_blank":void 0,rel:o?"noopener noreferrer":void 0,children:n})},[o.BLOCKS.EMBEDDED_ASSET]:t=>{var n,i;const r=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target,o=null==r?void 0:r.fields,s=(null==r?void 0:r.url)||(null===(i=null==o?void 0:o.file)||void 0===i?void 0:i.url),a=(null==o?void 0:o.title)||(null==o?void 0:o.description)||"Embedded asset";if(!s)return null;const l=s.startsWith("//")?`https:${s}`:s;return e.jsx("img",{src:l,alt:a,style:{maxWidth:"100%"}})},[o.BLOCKS.EMBEDDED_ENTRY]:t=>{var n,i,r,o;const s=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target;return"callout"===(null===(o=null===(r=null===(i=null==s?void 0:s.sys)||void 0===i?void 0:i.contentType)||void 0===r?void 0:r.sys)||void 0===o?void 0:o.id)?e.jsxs("aside",{style:{border:"1px solid #ddd",padding:12,borderRadius:8},children:[e.jsx("strong",{children:s.fields.title}),e.jsx("div",{children:s.fields.body})]}):null},[o.INLINES.EMBEDDED_ENTRY]:t=>{var n,i,r,o,s,a;const l=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target;return"componentCheckList"===(null===(o=null===(r=null===(i=null==l?void 0:l.sys)||void 0===i?void 0:i.contentType)||void 0===r?void 0:r.sys)||void 0===o?void 0:o.id)?e.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:"4px",padding:"2px 6px",backgroundColor:"#f0fdf4",border:"1px solid #bbf7d0",borderRadius:"4px",fontSize:"0.9em"},children:["✅ ",l.fields.title]}):e.jsx("span",{children:null!==(a=null===(s=null==l?void 0:l.fields)||void 0===s?void 0:s.title)&&void 0!==a?a:""})}}};function He(t,n,i="body1",s="body1 font-bold",a){if(!t||!Array.isArray(t.content))return null;const l={...Ze,...a,renderNode:{...Ze.renderNode,...null==a?void 0:a.renderNode,[o.BLOCKS.PARAGRAPH]:(t,n)=>e.jsx("div",{className:i,children:n}),[o.INLINES.HYPERLINK]:(t,i)=>{var r;const o=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.uri,a=/^https?:\/\//.test(o),l=null!=n?n:a;return e.jsx(ze,{href:o,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,variant:"default",className:s,children:i})}}};return r.documentToReactComponents(t,l)}const Ye={renderMark:{[o.MARKS.BOLD]:e=>t.createElement("span",{className:"label1"},e)}};const Je=t.forwardRef(({children:t,className:n="",style:i,disabled:r,...o},s)=>e.jsx("button",{ref:s,className:Se(n),style:i,disabled:r,...o,children:t}));Je.displayName="Button";const Ue=n=>{const{open:i,children:r}=n,o=t.useRef(null),[s,a]=t.useState(0);return t.useEffect(()=>{const e=o.current;if(!e)return;const t=()=>{a(i?e.scrollHeight:0)};let n;return t(),i&&(n=new ResizeObserver(()=>t()),n.observe(e)),()=>{n&&n.disconnect()}},[i,r]),e.jsx("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:s,opacity:i?1:0},"aria-hidden":!i,children:e.jsx("div",{ref:o,children:r})})};Ue.displayName="Collapse";const $e=n=>{const{title:i,defaultOpen:r,children:o,containerClassName:s,titleClassName:a,className:l,buttonClassName:c,iconClassName:u,openOnlyOnDesktop:d,borderRadiusNone:m=!1}=n,[p,h]=t.useState(Boolean(!1));return t.useEffect(()=>{if(d){const e=window.innerWidth>=1024;h(e)}else h(Boolean(r))},[d,r]),e.jsxs("div",{className:Se(m?"rounded-none border":"rounded-surface-xs border",s),children:[e.jsxs(Je,{type:"button",className:Se(m?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",c),onClick:()=>h(e=>!e),children:[e.jsx("span",{className:Se("label5 flex-1",a),children:i}),e.jsx(Xe,{className:Se("flex-shrink-0",u),name:p?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e.jsx(Ue,{open:p,children:e.jsx("div",{className:Se("px-4 py-4",l),children:o})})]})};$e.displayName="Accordion";const Qe=t=>{const{className:n,...i}=t;return e.jsx("div",{className:Se("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...i})};Qe.displayName="Divider";const _e=e=>{let t="";return e.base&&(t="x-large"===e.base?"label3 ":"label4 "),e.md&&(t+="x-large"===e.md?"md:label3 ":"md:label4 "),e.lg&&(t+="x-large"===e.lg?"lg:label3 ":"lg:label4 "),t.trim()},Ke=t.forwardRef(({variant:t="primary_brand",isLoading:n=!1,text:i,label:r,disabled:o,fullWidth:s,buttonClassName:a,size:l={base:"medium"},as:c="button",...u},d)=>{const m=(()=>{const e=Se((e=>{let t="";return e.base&&(t=`btn-${e.base} `),e.md&&(t+=`${(e=>{switch(e){case"small":return"md:btn-small";case"medium":return"md:btn-medium";case"large":return"md:btn-large";case"x-large":return"md:btn-x-large"}})(e.md)} `),e.lg&&(t+=`lg:btn-${e.lg} `),t.trim()})(l),"rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top whitespace-nowrap",s?"w-full":"w-auto"),i=Se((o||n)&&"cursor-not-allowed",n&&"pl-7");return Se(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand disabled:bg-bg-fill-brand-disabled",primary_inverse:"bg-bg-fill-inverse text-text-inverse [&:not(:disabled)]:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse disabled:bg-bg-fill-inverse-disabled",secondary:"border border-border-secondary-on-bg-fill bg-bg-fill-secondary text-text [&:not(:disabled)]:hover:bg-bg-fill-secondary-hover focus:bg-bg-fill-secondary focus:ring-input-border-hover disabled:bg-bg-fill-secondary"}[t]||"",i,a)})();let p=`button--${t}`;n&&(p+=" button--loading"),o&&(p+=" button--disabled");const h=`${p} ${m}`,f=e.jsxs(e.Fragment,{children:[n?e.jsx(Xe,{name:"progress_activity",className:"animate-spin"}):null,r?e.jsxs("span",{className:"flex flex-col",children:[e.jsx("span",{className:Se(_e(l)),children:r}),i]}):i]});return"a"===c?e.jsx("a",{ref:d,className:Se(h),...u,children:f}):e.jsx("button",{ref:d,className:Se(h),disabled:o||n,...u,children:f})});Ke.displayName="BrandButton";const qe=t=>{const{showButtonAs:n="solid",buttonVariant:i="primary_brand",buttonLabel:r,buttonPrefix:o,href:s,target:a="_blank",anchorId:l,linkClassName:c,linkVariant:u,fullWidth:d,preDefinedFunctionExecution:m,renderCheckPlans:p,buttonClassName:h,clickToOpen:f,tabmodalNameToOpen:g,onModalButtonClick:b,onClick:v,iconName:x,iconFill:y=0,size:C,iconSize:I=24,preserveQueryParameters:w,...N}=t;if("check availability"===m){return null==p?void 0:p({ctaText:r,buttonVariant:i,showButtonAs:n,cta:{...t}})}function A(){"modal"===f&&(null==b||b(g))}function j(e){A(),null==v||v(e)}function k(e){A(),null==v||v(e)}const P="undefined"!=typeof window?window.location.search:"",G=s&&w&&P?function(e,t){if(!t)return e;const n=new URLSearchParams(t),i=new Set(Ee),r=new Set([...i,"searchtext","page"]);let o,s;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);o=t.origin+t.pathname,s=t.searchParams}else{const[t,n]=e.split("?");o=t,s=new URLSearchParams(n||"")}}catch(t){return e}const a=new URLSearchParams(s);n.forEach((e,t)=>{r.has(t.toLowerCase())||a.has(t)||a.set(t,e)});const l=a.toString();return l?`${o}?${l}`:o}(s,P):s;let S=e.jsx(Je,{onClick:k,className:h,...N});switch(n){case"solid":S=G?e.jsx(Ke,{as:"a",href:G,id:l,variant:i,text:r,label:o,fullWidth:d,buttonClassName:h,size:C,onClick:j}):e.jsx(Ke,{id:l,variant:i,text:r,label:o,fullWidth:d,size:C,onClick:k,buttonClassName:h});break;case"text":S=e.jsxs(ze,{title:r,href:G,target:a,variant:u||"default",className:`text-text-brand ${c||""}`,onClick:j,children:[r," ",x&&e.jsx(Xe,{name:x,size:I,fill:y})]})}return S};var et;const tt=null!==(et=h.default)&&void 0!==et?et:h,nt=({href:t,title:n,description:i,date:r,category:o,image:s,imageComponent:a,readMoreText:l="Read more",asGrid:c=!0,lgWidth:u,mdWidth:d,index:m})=>{const p=c?"flex h-full flex-col overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop":`callout-card lg:w-[calc(33.3333%-1rem)] md:w-[calc(50%-1rem)] ${u} ${d} w-full overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop`;return e.jsxs("article",{className:p,"data-section-type":"blog-card","data-section-index":m,children:[e.jsx(tt,{href:t,tabIndex:-1,"aria-hidden":"true",className:"block",children:e.jsx("div",{className:"h-[232px] w-full flex-shrink-0 overflow-hidden bg-gray-100",children:s?a?e.jsx(a,{src:s.src,alt:s.alt,width:s.width,height:s.height,className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"}):e.jsx("img",{src:s.src,alt:s.alt,width:s.width,height:s.height,loading:"lazy",decoding:"async",className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]"}):e.jsx("div",{className:"h-full w-full bg-gradient-to-br from-gray-200 to-gray-100","aria-hidden":"true"})})}),e.jsxs("div",{className:"flex flex-1 flex-col gap-5 p-6 md:p-8",children:[e.jsxs("div",{className:"flex items-center gap-2 text-[13px]",children:[e.jsx("span",{className:"body2 text-text-brand",children:o}),r&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"footnote text-text","aria-hidden":"true",children:"•"}),e.jsx("time",{className:"body2 text-text",children:r})]})]}),n&&e.jsx(tt,{href:t,className:"heading6 m-0 line-clamp-3 font-black transition-colors duration-150 hover:text-text-brand",children:n}),i&&e.jsx(We,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:i}),e.jsxs(tt,{href:t,className:"group mt-auto inline-flex items-center justify-start gap-2 pt-3 text-sm text-text-brand no-underline","aria-label":`${l} about ${n||"this article"}`,children:[e.jsx(We,{"aria-label":`${l} about ${n||"this article"}`,className:"label1 text-nowrap",children:l}),e.jsx(Xe,{name:"expand_circle_right",fill:1,size:24,weight:"200"})]})]})]})},it=(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})(f.default),rt=({src:e,width:t,quality:n})=>{const i=new URL(e);return i.searchParams.set("w",String(t)),i.searchParams.set("q",String(n||90)),i.searchParams.set("fm","webp"),i.toString()},ot=t.forwardRef(({className:t,...n},i)=>{const r="string"==typeof n.src?n.src:"",o=r.toLowerCase().split("?")[0]||"",s=r.includes("images.ctfassets.net"),a=s&&o.endsWith(".svg"),l=s&&!a?{loader:rt,unoptimized:!1}:{unoptimized:a};return e.jsx(it,{ref:i,className:Se(t),...n,...l})});ot.displayName="NextImage";const st={left:"flex w-full justify-start",right:"flex w-full justify-end",center:"flex w-full justify-center"},at=({card:t,lgWidth:n,mdWidth:i})=>{var r,o,s,a;const{image:l,title:c,header:u,body:d,cta:m,ctaAlignment:p,imageLink:h,imageClassName:f,className:g,isPromoBarImg:b=!1,shadow:v=!1}=t,x=p?st[p]:st.left,y=h?"cursor-pointer":"",C=h?()=>{"undefined"!=typeof window&&window.open(h,"_blank")}:void 0;return b?(null==l?void 0:l.href)?e.jsx(ot,{src:l.href,alt:null!==(o=null!==(r=l.title)&&void 0!==r?r:c)&&void 0!==o?o:"promo-bar-image",width:148,height:40,onClick:C,className:y}):null:e.jsxs("section",{"aria-labelledby":"Image Card",className:Se("callout-card relative flex h-full w-full flex-col gap-4 p-0 md:items-start lg:gap-6",v&&"rounded-3xl shadow-card",i,n,g),children:[(null==l?void 0:l.href)?e.jsx("div",{className:Se("relative aspect-video w-full overflow-hidden rounded-[40px] sm:mb-1 md:flex-none lg:mb-0",f),children:e.jsx(ot,{src:l.href,alt:null!==(a=null!==(s=l.title)&&void 0!==s?s:c)&&void 0!==a?a:"card-image",width:l.width||400,height:l.height||285,onClick:C,className:Se("h-full max-h-[285px] w-full object-cover",y)})}):null,u?e.jsx(We,{as:"h6",className:"heading6 font-black text-text lg:pb-2",children:u}):null,d?e.jsx(We,{as:"div",className:"body2 mb-0 flex-1 text-text",children:d}):null,e.jsx("div",{className:Se(x,"mt-auto"),children:m?e.jsx(qe,{linkVariant:"unstyled",linkClassName:"label1 flex items-center gap-2 text-text",...m,iconName:"expand_circle_right",iconFill:1}):null})]})},lt=({card:t,lgWidth:n,mdWidth:i})=>{const{anchorId:r="FullImageCard",title:o,description:s,caption:a,image:l,cta:c,link:u,className:d,contentClassName:m,imageClassName:p,shadow:h=!0}=t,f=c||u,g=null==f?void 0:f.href,b=o?e.jsx(We,{as:"h3",className:"body1 text-text xl:heading6",children:o}):null;return e.jsxs("section",{id:r,className:Se("callout-card relative flex flex-col rounded-3xl bg-white p-0",h&&"shadow-card",i,n,"w-full",d),"aria-labelledby":`card-title-${r}`,children:[(null==l?void 0:l.href)?e.jsx("div",{className:Se("relative aspect-video overflow-hidden rounded-tl-3xl rounded-tr-3xl",p),children:(()=>{var t,n;if(!(null==l?void 0:l.href))return null;const i=e.jsx(ot,{src:l.href,alt:null!==(n=null!==(t=l.title)&&void 0!==t?t:o)&&void 0!==n?n:"card-image",width:l.width||400,height:l.height||280,className:"w-full"});return g?e.jsx(ze,{href:g,tabIndex:-1,target:null==f?void 0:f.target,children:i}):i})()}):null,e.jsxs("div",{className:Se("flex h-full flex-col gap-4 p-6 md:p-8",m),children:[e.jsxs("div",{className:"flex flex-1 flex-col justify-between",children:[e.jsxs("div",{children:[g&&b?e.jsx(ze,{href:g,target:null==f?void 0:f.target,className:"no-underline hover:underline",children:b}):b,s?e.jsx(We,{as:"p",className:"body2 mt-4 text-text md:body1",children:s}):null]}),a?e.jsx(We,{as:"p",className:"footnote mt-5 text-text-secondary",children:a}):null]}),c?e.jsx("div",{className:"mt-2 flex items-end",children:e.jsx(qe,{linkVariant:"unstyled",linkClassName:"label1 flex items-center gap-2 text-text",...c,iconName:"expand_circle_right",iconFill:1})}):null]})]})},ct={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},ut={left:"flex w-full justify-start",right:"flex w-full justify-end",center:"flex w-full justify-center"},dt={left:"justify-start",right:"justify-end",center:"justify-center"},mt=e=>{const t=(e||"").replace(/\D/g,"");return t?`tel:${t}`:""},pt=({card:t,lgWidth:n,mdWidth:i,className:r,contentClassName:o,style:s})=>{var a,l,c,u,d,m,p,h,f,g,b,v,x,y,C,I,w;const N=null===(a=t.imageView)||void 0===a?void 0:a.toLowerCase(),A="full"===N,j="margin"===N,k="standard"===N,P="icon"===N||"inset"===N||!N&&!!t.image,G=k||P,S=(null===(l=t.iconAlignment)||void 0===l?void 0:l.toLowerCase())||(null===(c=t.imageAlignment)||void 0===c?void 0:c.toLowerCase())||"left",B=t.ctaAlignment&&ut[t.ctaAlignment]||ut.left,E=t.ctaAlignmentBottom&&dt[t.ctaAlignmentBottom]||dt.left,T=null===(u=t.pinwheelColor)||void 0===u?void 0:u.split("-")[1],R=G&&t.applyCardBackgroundColor,V={...s,...R&&t.backgroundColor?{"--scc-bg":t.backgroundColor}:{},...R&&t.textColor?{"--scc-fg":t.textColor}:{},...R&&t.backgroundColor?{backgroundColor:"var(--scc-bg)"}:{},...R&&t.showBackgroundImage&&T?{backgroundImage:`url('data:image/svg+xml;utf8,${encodeURIComponent(Be(T))}')`,backgroundPosition:"top left",backgroundSize:"684px 107px",backgroundRepeat:"no-repeat"}:{}},M=n=>{var i,r;return t.image?e.jsx("div",{className:Se("relative aspect-video overflow-hidden",n?"mx-6 lg:mx-8":"rounded-t-3xl"),children:e.jsx(ot,{src:t.image,alt:null!==(r=null!==(i=t.imageAlt)&&void 0!==i?i:t.title)&&void 0!==r?r:"card-image",width:t.imageWidth||400,height:t.imageHeight||280,className:Se("w-full",!n&&"rounded-t-3xl")})}):null},L=R&&t.textColor?{color:t.textColor}:void 0,X=t.title?e.jsx(We,{as:"h3",className:"heading6 mb-2 text-text md:heading6",style:L,children:t.title}):null,W=(null===(d=t.cta)||void 0===d?void 0:d.href)&&X?e.jsx(ze,{href:t.cta.href,target:t.cta.target,className:"no-underline hover:underline",style:L,children:X}):X,F=(null!==(p=null===(m=t.workingHours)||void 0===m?void 0:m.length)&&void 0!==p?p:0)>0||(null!==(f=null===(h=t.phoneNumber)||void 0===h?void 0:h.length)&&void 0!==f?f:0)>0;return e.jsxs("section",{className:Se("callout-card relative flex w-full flex-col rounded-3xl p-0",t.shadow&&"shadow-card",t.image&&!A&&!t.showBackgroundImage&&"pt-1",!t.applyCardBackgroundColor&&(null!==(b=ct[null!==(g=t.backgroundColor)&&void 0!==g?g:""])&&void 0!==b?b:""),i,n,r),style:V,"aria-labelledby":t.title?`callout-${t.title}`:void 0,children:[(null===(v=t.ctaBottom)||void 0===v?void 0:v.title)&&(null===(x=t.ctaBottom)||void 0===x?void 0:x.href)?e.jsx("div",{className:Se("top-link m-6 flex items-center lg:m-8",E),children:e.jsxs(ze,{href:t.ctaBottom.href,className:"label1 inline-flex items-center gap-2 text-text decoration-text underline-offset-4 hover:underline",children:[e.jsx(Xe,{name:"location_on",fill:1,size:24}),e.jsx("span",{children:t.ctaBottom.title})]})}):null,t.image&&A?M(!1):null,t.image&&j?M(!0):null,e.jsxs("div",{className:Se("relative flex flex-1 flex-col justify-between px-6 pb-8 pt-7 lg:px-8 lg:py-8",o),children:[e.jsx("div",{className:"flex flex-1 flex-col justify-between",children:e.jsxs("div",{className:Se("flex flex-col",t.imageToRichTextAlignment&&"lg:flex-row lg:items-start lg:gap-6"),children:[e.jsx("div",{className:Se(t.imageToRichTextAlignment&&"flex-shrink-0"),children:!t.image||A||j?null:(()=>{var n,i;if(!t.image)return null;const r=k&&t.imageWidth||60,o=k&&t.imageHeight||60;return e.jsx("div",{className:Se("relative mb-8 flex",t.imageToRichTextAlignment&&"h-[60px] w-[60px] flex-shrink-0"),style:{justifyContent:S},children:e.jsx(ot,{src:t.image,alt:null!==(i=null!==(n=t.imageAlt)&&void 0!==n?n:t.title)&&void 0!==i?i:"card-icon",width:r,height:o,className:Se("object-contain",t.imageToRichTextAlignment&&"!h-[60px] !w-[60px]")})})})()}),e.jsxs("div",{className:"flex flex-col gap-3 md:gap-4",children:[W,t.titleLocation?e.jsx("div",{className:"mb-1 lg:mb-2",children:e.jsx(We,{as:"h4",className:"label1 font-bold text-text",children:t.titleLocation})}):null,F?e.jsx("div",{className:"mb-2",children:e.jsx("table",{children:e.jsxs("tbody",{children:[null===(y=t.workingHours)||void 0===y?void 0:y.map((t,n)=>{const[i,r]=(null!=t?t:"").split("|");return e.jsxs("tr",{children:[e.jsx("td",{className:"py-2 pr-3",children:e.jsx(We,{className:"label2 text-text",children:i})}),e.jsx("td",{className:"py-2 pl-3",children:e.jsx(We,{className:"body2 font-bold text-text",children:r})})]},`wh-${n}`)}),null===(C=t.phoneNumber)||void 0===C?void 0:C.map((t,n)=>e.jsxs("tr",{children:[e.jsx("td",{className:"py-1 pr-3 align-middle",children:e.jsx(Xe,{fill:1,name:"call",size:24,weight:"200",className:"text-text"})}),e.jsx("td",{className:"py-1 pl-3",children:e.jsx(ze,{href:mt(t),className:"text-inherit no-underline",children:e.jsx(We,{className:"body2 font-bold text-text",children:t})})})]},`ph-${n}`))]})})}):null,t.body?e.jsx(We,{as:"div",className:"body1 text-text",style:L,children:t.body}):null,t.richText?e.jsx(We,{as:"div",className:"body1 text-text",style:L,children:t.richText}):null]})]})}),t.cta?e.jsx("div",{className:Se("mt-2",B),children:e.jsx(qe,{linkVariant:"unstyled",linkClassName:Se("label1 flex items-center gap-2 text-text",R&&t.textColor&&"decoration-current"),...t.cta,iconName:null!==(I=t.cta.iconName)&&void 0!==I?I:"expand_circle_right",iconFill:null!==(w=t.cta.iconFill)&&void 0!==w?w:1})}):null]})]})},ht={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]"},ft={1:"grid-cols-1",2:"grid-cols-2",3:"grid-cols-3",4:"grid-cols-4",5:"grid-cols-5",6:"grid-cols-6"},gt={1:"lg:grid-cols-1",2:"lg:grid-cols-2",3:"lg:grid-cols-3",4:"lg:grid-cols-4",5:"lg:grid-cols-5",6:"lg:grid-cols-6"},bt={1:"xl:grid-cols-1",2:"xl:grid-cols-2",3:"xl:grid-cols-3",4:"xl:grid-cols-4",5:"xl:grid-cols-5",6:"xl:grid-cols-6"},vt=e=>Math.max(1,Math.min(6,e)),xt=t.forwardRef(({as:t,className:n="",...i},r)=>{const o=Se(n);if(t){const n=t;return e.jsx(n,{ref:r,className:o,...i})}return e.jsx("img",{ref:r,className:o,...i})});xt.displayName="Image";const yt=({onSelect:n,speed:i,isSelected:r=!1,renderCheckPlans:o,iconSize:s=24,iconClassName:a,cta:l,techType:c,isMax:u})=>{const[d,m]=t.useState(!1),p=`btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${r?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,h=null==o?void 0:o({speedCardConfig:{isModalOpen:d,setModalOpen:()=>{m(!1)},speed:i,techType:c,isMax:u},cta:l});return e.jsxs(e.Fragment,{children:[e.jsxs(Je,{onClick:()=>{m(!0),n()},className:Se(p,"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.jsx("span",{children:"Select plan"}),e.jsx(Xe,{className:Se(a,r?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),h]})},Ct=({planName:n,planSubtext:i,speed:r,price:o,description:s,bestValue:a=!1,bestValueText:l="best value",giftBadge:c,innerBadge:u,theme:d="light",featuresTitle:m="Business Ready Internet features",features:p=[],isExpanded:h,onToggleExpand:f,onCtaClick:g,renderCheckPlans:b,cta:v,techType:x,ismaxSpeed:y})=>{const[C,I]=t.useState(!1),w=void 0!==h?h:C,N="dark"===d;return e.jsxs("article",{className:Se("relative flex h-full w-full max-w-[392px] flex-col",!a&&"md:pt-[38px]"),children:[a&&e.jsx("div",{className:"label3 rounded-t-[20px] bg-bg-fill-brand-accent px-6 py-2 text-center text-text",children:l}),e.jsxs("div",{className:Se("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",N?"text-inverse border-2 border-border-accent bg-bg-fill-inverse":"bg-bg text-text",a?"rounded-t-none border-t-0":""),children:[e.jsxs("header",{className:"overflow-none flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx(We,{as:"h3",className:Se("subheading2",N?"text-text-accent-on-bg-inverse":"text-text-brand"),children:n}),e.jsx(We,{as:"p",className:"label3 text-wrap "+(N?"text-text-accent-on-bg-inverse":"text-text-brand"),children:i})]}),e.jsxs("div",{className:"flex items-start",children:[e.jsx(We,{as:"span",className:Se("label2 mr-1 mt-[2px]",N?"text-text-inverse":"text-text"),children:"$"}),e.jsx(We,{as:"span",className:Se("subheading6",N?"text-text-inverse":"text-text"),children:o.split(".")[0]}),e.jsxs(We,{as:"span",className:Se("label2",N?"text-text-inverse":"text-text"),children:[o.split(".")[1],"/mo"]})]})]}),e.jsx("section",{children:e.jsx(We,{className:Se("body2",N?"text-text-inverse":"text-text"),children:s})}),(null==c?void 0:c.length)?e.jsx("div",{className:Se("flex-col items-center rounded-surface-sm p-2",N?"bg-bg-surface-inverse":"bg-bg-surface-info"),children:null==c?void 0:c.map(t=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(xt,{src:t.icon,alt:t.title,width:24,height:24}),e.jsx(We,{as:"div",className:Se("body3",N?"text-text-inverse":"text-text"),children:t.title})]},t.title))}):null,e.jsx(yt,{onSelect:g,speed:r,isSelected:N,renderCheckPlans:b,cta:v,iconSize:40,techType:x,isMax:y}),p.length>0&&e.jsxs("section",{className:"flex flex-col gap-3",children:[e.jsxs(Je,{onClick:()=>{f?f():I(!C)},className:"group flex w-full items-center gap-2 text-left",children:[e.jsx(We,{as:"h4",className:Se("label3",N?"text-text-inverse":"text-text"),children:m}),e.jsx(Xe,{name:"keyboard_arrow_down",fill:1,size:24,className:Se("transition-transform duration-300",w&&"rotate-180",N?"text-text-inverse":"text-text")})]}),e.jsxs("div",{className:Se("overflow-hidden transition-all duration-200 ease-in-out",w?"opacity-100":"max-h-0 opacity-0"),children:[e.jsx("div",{className:"flex flex-col",children:e.jsx(Fe,{items:p,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:N?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(N?"text-text-inverse":"text-text")})}),(null==u?void 0:u.badgeIcon)?e.jsxs("div",{className:"flex items-center gap-2 text-center",children:[e.jsx(xt,{src:u.badgeIcon,alt:"Inner Badge",width:12,height:12}),e.jsx("span",{className:"footnote text-text",children:u.badgeText.includes("|")?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"font-bold",children:u.badgeText.split("|")[0]}),e.jsx("span",{className:"font-normal",children:u.badgeText.split("|")[1]})]}):e.jsx(We,{className:"font-bold",children:u.badgeText})})]}):null]})]})]})]})},It=({title:t,quote:n,rating:i,author:r,role:o,avatarUrl:s,isActive:a=!1,className:l})=>e.jsxs("figure",{className:v("flex w-full flex-col gap-6 rounded-card-lg p-6 transition-all duration-300 md:gap-10 md:p-14",a?"bg-bg-surface-secondary shadow-drop":"bg-gray-50 opacity-40",l),children:[e.jsxs("div",{className:"flex flex-col justify-start gap-3 md:gap-5",children:[e.jsx("header",{children:e.jsx(We,{as:"h3",className:"label1 text-text",children:t})}),e.jsx("blockquote",{className:"body1 text-text",children:n}),i?e.jsx("div",{className:"flex","aria-label":`Rating: ${i} out of 5`,children:[...Array(5)].map((t,n)=>e.jsx(Xe,{size:24,name:"star",fill:1,className:v("h-[21px] w-[21px]",n<i?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null]}),r&&e.jsxs("figcaption",{className:"flex gap-3 md:gap-5",children:[e.jsx("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e.jsx(f.default,{src:s,alt:r,fill:!0,className:"object-cover",sizes:"40px"}):e.jsx("div",{className:"flex h-full w-full items-center justify-center bg-gray-500 text-xs font-bold text-white",children:r.charAt(0)})}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("cite",{className:"label3 font-bold not-italic text-text",children:r}),e.jsx(We,{as:"p",className:"body3 text-text",children:o})]})]})]});function wt({fields:n,renderCheckPlans:i}){var r,o,s,a;const l=(null===(s=null===(o=null===(r=null==n?void 0:n.items)||void 0===r?void 0:r.items)||void 0===o?void 0:o[0])||void 0===s?void 0:s.benefitsExpanded)||!1,[c,u]=t.useState(l),[d,m]=t.useState({}),[p,h]=t.useState(0),f=(null===(a=null==n?void 0:n.items)||void 0===a?void 0:a.items)||[],g=f.length>2,b=t.useRef([]),v=t.useCallback(()=>{g&&h(e=>(e+3)%f.length)},[g,f.length]),x=t.useCallback(()=>{g&&h(e=>(e-3+f.length)%f.length)},[g,f.length]);if(t.useEffect(()=>{if(!g)return;const e=()=>{const e=b.current.filter(Boolean);if(0===e.length)return;e.forEach(e=>{e.style.height="auto"});const t=Math.max(...e.map(e=>e.offsetHeight));e.forEach(e=>{e.style.height=`${t}px`})};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[g,c,f.length]),!f.length&&!(null==n?void 0:n.title))return null;const y=(t,n,r=!1)=>{var o,s,a,l,p,h,f,g;const v=null===(o=null==t?void 0:t.speed)||void 0===o?void 0:o.split("|"),x=(null==v?void 0:v[0])||"",y=(null==v?void 0:v[1])||"",C=(null===(a=null===(s=null==t?void 0:t.priceSuffix)||void 0===s?void 0:s.split("/"))||void 0===a?void 0:a[0])||"00",I=`${(null==t?void 0:t.price)||"0"}.${C}`,w=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],N=(null==t?void 0:t.highlighted)||!1,A=(null===(h=null===(p=null==t?void 0:t.giftRewards)||void 0===p?void 0:p.list)||void 0===h?void 0:h.items)||[],j={badgeText:t.innerBadge||"",badgeIcon:(null===(f=t.innerBadgeIcon)||void 0===f?void 0:f.url)||""},k=r?d[n]||!1:c;return e.jsx("div",{ref:r?void 0:e=>{e&&!b.current.includes(e)&&(b.current[n]=e)},className:Se(r?"mx-auto w-full max-w-[392px]":"flex-shrink-1 w-[392px]"),children:e.jsx(Ct,{planName:x,planSubtext:y,speed:(null==t?void 0:t.speed)||"",techType:(null==t?void 0:t.techType)||"",ismaxSpeed:(null==t?void 0:t.ismaxSpeed)||"",price:I,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:A,innerBadge:j,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:N,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:w,isExpanded:k,onToggleExpand:()=>{r?m(e=>({...e,[n]:!e[n]})):u(!c)},ctaText:(null===(g=null==t?void 0:t.cta)||void 0===g?void 0:g.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:i,cta:t.cta,hostType:"smb"})},n)},C=[...f,...f,...f,...f,...f],I=2*f.length;return g?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"flex flex-col gap-6 md:hidden",children:f.map((e,t)=>y(e,t,!0))}),e.jsxs("div",{className:"relative hidden w-full md:block",children:[e.jsxs("div",{className:"pointer-events-none absolute -left-16 -right-16 top-[50%] z-30 flex -translate-y-1/2 justify-between px-4 md:px-10",children:[e.jsx(Je,{onClick:v,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Previous",children:e.jsx(Xe,{name:"arrow_back",size:24})}),e.jsx(Je,{onClick:x,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Next",children:e.jsx(Xe,{name:"arrow_forward",size:24})})]}),e.jsx("div",{className:"mx-auto max-w-[1280px] overflow-hidden",children:e.jsx("div",{className:"flex items-stretch gap-4 pb-4 transition-transform duration-500 ease-in-out",style:{transform:`translateX(calc(-${I+p} * (392px + 12px)))`},children:C.map((e,t)=>y(e,t,!1))})})]})]}):e.jsx("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-4",children:f.map((e,t)=>y(e,t))})}const Nt=m.default.memo(({item:t,index:n,currentIndex:i,totalItems:r,swipeOffset:o,isSwiping:s,isMobile:a,containerWidth:l,cardOffsetPercentage:c})=>{let u=n-i;u>r/2&&(u-=r),u<-r/2&&(u+=r);const d=0===u,m=1===Math.abs(u),p=u*c+o/l*100,h=!a||(s?d||m:d);return e.jsx("div",{className:Se("col-start-1 row-start-1 w-full md:max-w-[815px]","will-change-[transform,opacity]",d?"z-10":"z-5",Math.abs(u)>1?"invisible":"visible",h?"opacity-100":"opacity-0",s?"transition-opacity duration-200":"transition-[transform,opacity] duration-500 ease-[cubic-bezier(0.25,0.46,0.45,0.94)]"),style:{transform:`translateX(${p}%)`},children:e.jsx(It,{...t,isActive:d,className:"h-full"})})});Nt.displayName="TestimonialCarouselSlide";const At=({fields:n,autoScroll:i=!0,autoScrollInterval:r=8e3})=>{var o;const s=(null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||[];if(!s||0===s.length)return null;const a=function(e){const{itemCount:n,cardOffsetPercentage:i=105,swipeThreshold:r=.15,mobileBreakpoint:o=768,autoScrollInterval:s=8e3,enableAutoScroll:a=!0}=e,[l,c]=t.useState(0),[u,d]=t.useState(0),[m,p]=t.useState(!1),[h,f]=t.useState(window.innerWidth),[g,b]=t.useState(!1),v=t.useRef(null),x=t.useRef(0),y=t.useRef(null),C={CARD_OFFSET_PERCENTAGE:i,SWIPE_THRESHOLD:r,MOBILE_BREAKPOINT:o,AUTO_SCROLL_INTERVAL:s};t.useEffect(()=>{const e=()=>{var e;f((null===(e=y.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const I=t.useCallback(()=>{0!==n&&c(e=>(e+1)%n)},[n]),w=t.useCallback(()=>{0!==n&&c(e=>0===e?n-1:e-1)},[n]),N=t.useCallback(e=>{e<0||e>=n||c(e)},[n]),A=t.useCallback(e=>{x.current=e.touches[0].clientX,p(!0),v.current&&clearInterval(v.current)},[]),j=t.useCallback(e=>{if(!m)return;const t=e.touches[0].clientX-x.current;d(t)},[m]),k=t.useCallback(()=>{p(!1);const e=h*r;u>e?w():u<-e&&I(),d(0),a&&s>0&&(v.current=setInterval(()=>{I()},s))},[u,h,r,w,I,a,s]);return t.useEffect(()=>{const e=()=>{b(window.innerWidth<o)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[o]),t.useEffect(()=>{if(a&&0!==n&&0!==s)return v.current=setInterval(()=>{I()},s),()=>{v.current&&clearInterval(v.current)}},[I,n,a,s]),{currentIndex:l,swipeOffset:u,isSwiping:m,isMobile:g,containerWidth:h,containerRef:y,nextSlide:I,prevSlide:w,goToSlide:N,handleTouchStart:A,handleTouchMove:j,handleTouchEnd:k,constants:C}}({itemCount:s.length,cardOffsetPercentage:105,swipeThreshold:.15,mobileBreakpoint:768,autoScrollInterval:r,enableAutoScroll:i});return e.jsxs("div",{children:[e.jsxs("div",{className:"relative max-w-[1280px] md:px-11",children:[e.jsx(Je,{onClick:a.prevSlide,className:"group absolute left-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Previous",children:e.jsx(Xe,{name:"arrow_back",size:24})}),e.jsx(Je,{onClick:a.nextSlide,className:"group absolute right-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Next",children:e.jsx(Xe,{name:"arrow_forward",size:24})}),e.jsx("div",{ref:a.containerRef,className:"select-none overflow-hidden rounded-card-sm will-change-transform",onTouchStart:a.handleTouchStart,onTouchMove:a.handleTouchMove,onTouchEnd:a.handleTouchEnd,children:e.jsx("div",{className:"grid grid-cols-1 justify-items-center",children:s.map((t,n)=>e.jsx(Nt,{item:t,index:n,currentIndex:a.currentIndex,totalItems:s.length,swipeOffset:a.swipeOffset,isSwiping:a.isSwiping,isMobile:a.isMobile,containerWidth:a.containerWidth,cardOffsetPercentage:a.constants.CARD_OFFSET_PERCENTAGE},n))})})]}),e.jsx("div",{className:"mt-5 flex justify-center gap-2 md:mt-10",children:s.map((t,n)=>e.jsx("button",{onClick:()=>a.goToSlide(n),className:Se("h-2 w-2 rounded-full transition-all duration-300",a.currentIndex===n?"w-6 bg-white":"bg-bg-fill-inverse-disabled hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]})},jt=({tabs:n,activeTab:i,onChange:r,className:o})=>{const s=n.indexOf(i),a=t.useRef([]),[l,c]=t.useState({width:0,left:0});return t.useEffect(()=>{const e=a.current[s];e&&c({width:e.offsetWidth,left:e.offsetLeft})},[s,n]),e.jsx("div",{className:"flex w-full justify-center",children:e.jsxs("div",{className:Se("relative flex w-fit gap-1 rounded-button-lg bg-bg-surface-active p-1 transition-all duration-200 ease-out",o),children:[e.jsx("div",{className:"absolute bottom-1 top-1 rounded-button bg-bg-fill-brand shadow-md transition-all duration-300 ease-out",style:{width:`${l.width}px`,left:`${l.left}px`}}),n.map((t,n)=>e.jsx("button",{ref:e=>{a.current[n]=e},onClick:()=>r(t),className:Se("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",i===t?"text-text-inverse":"text-text-disabled hover:bg-bg-surface-hover"),children:t},t))]})})},kt=({isHovered:t,containerClassName:n})=>e.jsx("button",{tabIndex:-1,className:`group flex h-20 w-20 items-center justify-center rounded-full bg-white shadow-xl transition-all duration-300 hover:scale-110 active:scale-95 ${n||""}`,"aria-label":"Play button",children:e.jsx(Xe,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),Pt=n=>{const{link:i,containerClassName:r,autoplay:o=!1,debug:s=!1}=n,{href:a,embedId:l}=t.useMemo(()=>{if(!i)return{href:"",embedId:""};const e=i.toString(),t=(e=>{const t=e.split(/[?#]/)[0].replace(/\/+$/,""),n=t.match(/vimeo\.com\/(?:.*\/)?(\d{6,})/)||t.match(/player\.vimeo\.com\/video\/(\d{6,})/),i=t.split("/"),r=i[i.length-1];return(null==n?void 0:n[1])?n[1]===r?n[1]:`${n[1]}/${r}`:""})(e);return{href:e,embedId:t}},[i]);if(s&&console.log("[VimeoEmbed] href:",a,"id:",l),!l)return null;const c=function(e){try{const t=new URL(e),n=t.pathname.split("/").filter(Boolean);if("video"===n[0]&&n.length>=2){const e=n[1],i=n[2],r=`https://player.vimeo.com/video/${e}`;return i&&/^[a-f0-9]+$/i.test(i)&&t.searchParams.set("h",i),`${r}?${t.searchParams.toString()}`}return e}catch(t){return e}}(`https://player.vimeo.com/video/${l}?${new URLSearchParams({autoplay:o?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}).toString()}`);return e.jsx("div",{className:Se("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e.jsx("iframe",{className:"absolute left-0 top-0 h-full w-full",src:c,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};const Gt=n=>{const{link:i,containerClassName:r,autoplay:o=!1}=n,s=t.useMemo(()=>{if(!i)return"";const e=i.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return e&&11===e[7].length?e[7]:""},[i]),a=o?"?autoplay=1":"";return e.jsx("div",{className:Se("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e.jsx("iframe",{className:"absolute left-0 top-0 h-full w-full",src:`https://www.youtube.com/embed/${s}${a}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})})},St=({link:n,anchorName:i})=>{const[r,o]=m.default.useState(!1),s=m.default.useRef(null);if(((e,n)=>{const i=t=>{var i;(null===(i=null==e?void 0:e.current)||void 0===i?void 0:i.contains(t.target))||n()};t.useEffect(()=>(document.addEventListener("click",i),()=>{document.removeEventListener("click",i)}))})(s,()=>o(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e.jsx(qe,{...n,linkClassName:"body3 flex items-center text-text h-full",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:a,title:l,items:c}=n,u=Array.isArray(null==c?void 0:c.items)?c.items:[],d=`--link-anchor-${i}`;return e.jsxs("div",{className:"relative h-full",style:{anchorName:d},ref:s,children:[e.jsxs(qe,{onClick:()=>o(e=>!e),"aria-expanded":r,buttonClassName:"group body3 flex h-full text-text items-center",showButtonAs:"unstyled",children:[e.jsx(We,{as:"span",className:"group-hover:underline",children:null!=l?l:null}),e.jsx(Xe,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:r?"keyboard_arrow_up":"keyboard_arrow_down"})]},a),e.jsx("div",{className:Se("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",r&&u.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:d,top:"anchor(bottom)",left:"calc((anchor(left) + anchor(right)) / 2)",translate:"-50% 0"},children:e.jsx("ul",{className:"flex flex-col gap-2 py-2",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&o(!1)},children:u.map((t,n)=>e.jsx("li",{className:"submenu-link",children:e.jsx(qe,{...t,linkVariant:"unstyled",linkClassName:"body3 px-4 hover:bg-bg-surface-hover flex items-center w-full h-11 text-text-link"})},`submenu-link-${n}`))})})]})},Bt=({link:t})=>{const[n,i]=m.default.useState(!1);if(!t)return null;if((e=>"string"==typeof e.href)(t))return e.jsx(qe,{...t,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${t.anchorId}`);const{anchorId:r,title:o,items:s}=t,a=Array.isArray(null==s?void 0:s.items)?s.items:[];return e.jsxs(e.Fragment,{children:[e.jsxs(qe,{onClick:()=>i(e=>!e),"aria-expanded":n,buttonClassName:"label3 flex h-11 w-full items-center px-4",showButtonAs:"unstyled",children:[null!=o?o:null,e.jsx(Xe,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:n?"keyboard_arrow_up":"keyboard_arrow_down"})]},r),n&&a.length>0&&e.jsx(Et,{items:a})]})},Et=({items:t})=>e.jsx("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e.jsx("li",{className:"submenu-link",children:e.jsx(qe,{...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}`),Tt=t=>{const{showBlinkDot:n=!1,buttonStyle:i="primary",size:r="md",children:o,className:s,prefix:a,containerClassName:l,...c}=t,u=e.jsxs(ze,{...c,className:Se("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[r],{primary:"border-[0.727px] border-border text-text"}[i],s),children:[n?e.jsx("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[r]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[r]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e.jsx("span",{className:Se("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"}[r]),children:e.jsx(Xe,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[r],className:"text-white"})}),e.jsx("span",{className:"font-normal tracking-wide",children:o})]});return null==a||!1===a||""===a?u:e.jsxs("span",{className:Se("flex items-center gap-2",l),children:["string"==typeof a||"number"==typeof a?e.jsx("span",{className:"text-sm font-normal text-text",children:a}):a,u]})};Tt.displayName="CallButton";const Rt=t.forwardRef((n,i)=>{const{className:r,size:o,required:s,placeholder:a,label:l,state:c,errorText:u,prefixIconName:d,prefixIconFill:m=!0,suffixIconFill:p=!1,prefixIconSize:h=24,suffixIconName:f,suffixIconSize:g=24,containerClassName:b,prefixIconClassName:v,loading:x,hasError:y,type:C,...I}=n,w=y?"error":c,[N,A]=t.useState(!1),[j,k]=t.useState(!1),[P,G]=t.useState(C||"text"),S=t.useCallback(e=>{e.stopPropagation(),G(e=>"password"===e?"text":"password")},[]);return e.jsxs("div",{className:"relative",children:[l?e.jsx("label",{htmlFor:l,className:Se("inline-block pb-1"),children:e.jsxs(We,{as:"span",className:"footnote text-text",children:[l,s?e.jsx("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,e.jsxs("div",{className:Se("relative flex flex-row items-center overflow-hidden rounded-input border border-input-border bg-input-bg-surface",{sm:"h-[48px] px-3 py-2",slim:"h-12",medium:"h-14",large:"h-[60px]"}[o||"medium"],b,(N||"hover"===w)&&!j&&"error"!==w&&"border-input-border-hover",(j||"focus"===w||"active"===w)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===w&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[d?e.jsx("div",{className:"mr-1",style:{width:h,height:h,overflow:"hidden"},children:e.jsx(Xe,{name:d,fill:m?1:0,size:h,className:Se(v)})}):null,e.jsx("input",{ref:i,id:l,disabled:x||I.disabled,className:Se("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===o&&"text-body3",r),placeholder:a,type:P,...I,onMouseOver:()=>A(!0),onMouseOut:()=>A(!1),onFocus:e=>{var t;null===(t=I.onFocus)||void 0===t||t.call(I,e),k(!0)},onBlur:e=>{var t;null===(t=I.onBlur)||void 0===t||t.call(I,e),k(!1)}}),f?e.jsx("div",{className:"ml-2",style:{width:g,height:g,overflow:"hidden"},onClick:S,children:e.jsx(Xe,{name:"text"===P?"visibility":"visibility_off",size:g,fill:p?1:0})}):null]}),"error"===w&&u&&""!=u?e.jsxs(We,{className:Se("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e.jsx(Xe,{name:"info",size:20,className:"mr-1"}),u||"Error"]}):null]})});Rt.displayName="Input";const Vt=t=>{var n;const{primaryNavigationLinks:i,utilityNavigationLinks:r,supportNavigationLinks:o,accountNavigationLinks:s}=t,[a,l]=m.default.useState(!1);m.default.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=a?"hidden":"unset";const e=document.getElementById("drawer-items");if(!e)return;const t=e.querySelectorAll(".focus-item"),n=t[0],i=t[t.length-1],r=e=>{var t,r,o,s;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(r=(t=i).focus)||void 0===r||r.call(t),e.preventDefault()):document.activeElement===i&&(null===(s=(o=n).focus)||void 0===s||s.call(o),e.preventDefault()))};return window.addEventListener("keydown",r),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",r)}},[a]);const c=()=>{l(!1)};return e.jsxs("div",{children:[e.jsx(qe,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>l(!0),children:e.jsx(Xe,{name:"menu"})}),a?e.jsx("div",{className:"fixed bottom-0 left-0 right-0 top-0 z-[90] h-full w-full bg-scrim-bg-modal"}):null,e.jsx("div",{className:Se("fixed bottom-0 right-0 top-0","z-[100] h-full bg-bg px-0 py-4","transition-all duration-300 ease-in-out","block",a?"right-0":"-right-96"),id:"mobile-menu-overlay",children:e.jsxs("div",{id:"drawer-items",className:"flex h-full flex-col gap-3",children:[e.jsxs("div",{className:"flex items-center justify-between px-4",children:[e.jsx("div",{children:e.jsx(Tt,{className:"border-none",href:t.invocaPhoneNumberLink,onClick:t.onCallClickMobile,children:t.invocaPhoneNumberDisplayText})}),e.jsx("div",{children:e.jsx(qe,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:c,children:e.jsx(Xe,{name:"close"})})})]}),e.jsx(Mt,{closeMenu:c,isMenuOpen:a,searchBarIconURL:"string"==typeof t.searchBarIcon?t.searchBarIcon:(null===(n=t.searchBarIcon)||void 0===n?void 0:n.url)||"",onSearch:t.onSearch||(()=>{})}),e.jsxs("div",{className:"flex-grow overflow-y-auto",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&c()},children:[e.jsx("ul",{className:"mt-2 flex flex-col gap-2",children:[...i||[],...o||[],...s||[]].map((t,n)=>e.jsx("li",{children:e.jsx(Bt,{link:t})},`main-menu-items-${n}`))}),e.jsx("ul",{className:"mt-2 flex gap-5 bg-bg-fill-info px-4",children:null==r?void 0:r.map((n,i)=>e.jsx("li",{children:e.jsx(qe,{...Object.fromEntries(Object.entries(n).filter(([e,t])=>null!==t)),linkClassName:Se("footnote flex items-center w-full h-11 text-text-link","number"!=typeof t.utilityNavActiveIndex?1===i&&"label4":t.utilityNavActiveIndex===i&&"label4"),linkVariant:"unstyled"},`utility-submenu-link-btn-${n.anchorId}`)},`utility-menu-items-${i}`))})]})]})})]})},Mt=t=>{const{closeMenu:n,onSearch:i,isMenuOpen:r,searchBarIconURL:o}=t,[s,a]=m.default.useState(""),l=m.default.useRef(null),c=e=>{n(),e.preventDefault(),i(s)};return m.default.useEffect(()=>{r||a("")},[r]),e.jsxs("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:c,children:[e.jsx(ot,{src:o,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:c}),e.jsx("div",{className:"flex-grow",children:e.jsx(Rt,{ref:l,className:"body3 h-[34px] rounded-none px-3 text-text",name:"search",placeholder:"Search...",value:s,onChange:e=>a(e.target.value),autoComplete:"off",containerClassName:"h-[46px] px-4 pl-0 rounded-none flex-grow border-none"})})]})},Lt=t=>{const{searchBarIconURL:n,onSearch:i}=t,[r,o]=m.default.useState(""),s=m.default.useRef(null),a=e=>{e.preventDefault(),i(r)};return e.jsxs("form",{name:"searchForm",className:"flex h-9 w-60 rounded-input-xl border px-1 transition-colors focus-within:border-border-focus",onSubmit:a,children:[e.jsx(ot,{src:n,width:32,height:32,alt:"Search icon",role:"button",onClick:a}),e.jsx(Rt,{ref:s,className:"body3 rounded-full px-3 text-text",name:"search",placeholder:"Search...",value:r,onChange:e=>o(e.target.value),autoComplete:"off",containerClassName:"px-0 h-full border-none rounded-full"})]})},Xt={closed:{opacity:0},open:{opacity:1}},Wt={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},Ft={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},Ot=t.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Dt=t.createContext({}),zt=t.createContext(null),Zt="undefined"!=typeof document,Ht=Zt?t.useLayoutEffect:t.useEffect,Yt=t.createContext({strict:!1});function Jt(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Ut(e){return"string"==typeof e||Array.isArray(e)}function $t(e){return"object"==typeof e&&"function"==typeof e.start}const Qt=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],_t=["initial",...Qt];function Kt(e){return $t(e.animate)||_t.some(t=>Ut(e[t]))}function qt(e){return Boolean(Kt(e)||e.variants)}function en(e){const{initial:n,animate:i}=function(e,t){if(Kt(e)){const{initial:t,animate:n}=e;return{initial:!1===t||Ut(t)?t:void 0,animate:Ut(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,t.useContext(Dt));return t.useMemo(()=>({initial:n,animate:i}),[tn(n),tn(i)])}function tn(e){return Array.isArray(e)?e.join(" "):e}const nn={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"]},rn={};for(const e in nn)rn[e]={isEnabled:t=>nn[e].some(e=>!!t[e])};const on=t.createContext({}),sn=t.createContext({}),an=Symbol.for("motionComponentSymbol");function ln({preloadedFeatures:e,createVisualElement:n,useRender:i,useVisualState:r,Component:o}){e&&function(e){for(const t in e)rn[t]={...rn[t],...e[t]}}(e);const s=t.forwardRef(function(s,a){let l;const c={...t.useContext(Ot),...s,layoutId:cn(s)},{isStatic:u}=c,d=en(s),p=r(s,u);if(!u&&Zt){d.visualElement=function(e,n,i,r){const{visualElement:o}=t.useContext(Dt),s=t.useContext(Yt),a=t.useContext(zt),l=t.useContext(Ot).reducedMotion,c=t.useRef();r=r||s.renderer,!c.current&&r&&(c.current=r(e,{visualState:n,parent:o,props:i,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:l}));const u=c.current;return t.useInsertionEffect(()=>{u&&u.update(i,a)}),Ht(()=>{u&&u.render()}),t.useEffect(()=>{u&&u.updateFeatures()}),(window.HandoffAppearAnimations?Ht:t.useEffect)(()=>{u&&u.animationState&&u.animationState.animateChanges()}),u}(o,p,c,n);const i=t.useContext(sn),r=t.useContext(Yt).strict;d.visualElement&&(l=d.visualElement.loadFeatures(c,r,e,i))}return m.createElement(Dt.Provider,{value:d},l&&d.visualElement?m.createElement(l,{visualElement:d.visualElement,...c}):null,i(o,s,function(e,n,i){return t.useCallback(t=>{t&&e.mount&&e.mount(t),n&&(t?n.mount(t):n.unmount()),i&&("function"==typeof i?i(t):Jt(i)&&(i.current=t))},[n])}(p,d.visualElement,a),p,u,d.visualElement))});return s[an]=o,s}function cn({layoutId:e}){const n=t.useContext(on).id;return n&&void 0!==e?n+"-"+e:e}function un(e){function t(t,n={}){return ln(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const dn=["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 mn(e){return"string"==typeof e&&!e.includes("-")&&!!(dn.indexOf(e)>-1||/[A-Z]/.test(e))}const pn={};const hn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],fn=new Set(hn);function gn(e,{layout:t,layoutId:n}){return fn.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!pn[e]||"opacity"===e)}const bn=e=>Boolean(e&&e.getVelocity),vn={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},xn=hn.length;const yn=e=>t=>"string"==typeof t&&t.startsWith(e),Cn=yn("--"),In=yn("var(--"),wn=(e,t)=>t&&"number"==typeof e?t.transform(e):e,Nn=(e,t,n)=>Math.min(Math.max(n,e),t),An={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},jn={...An,transform:e=>Nn(0,1,e)},kn={...An,default:1},Pn=e=>Math.round(1e5*e)/1e5,Gn=/(-)?([\d]*\.?[\d])+/g,Sn=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Bn=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function En(e){return"string"==typeof e}const Tn=e=>({test:t=>En(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Rn=Tn("deg"),Vn=Tn("%"),Mn=Tn("px"),Ln=Tn("vh"),Xn=Tn("vw"),Wn={...Vn,parse:e=>Vn.parse(e)/100,transform:e=>Vn.transform(100*e)},Fn={...An,transform:Math.round},On={borderWidth:Mn,borderTopWidth:Mn,borderRightWidth:Mn,borderBottomWidth:Mn,borderLeftWidth:Mn,borderRadius:Mn,radius:Mn,borderTopLeftRadius:Mn,borderTopRightRadius:Mn,borderBottomRightRadius:Mn,borderBottomLeftRadius:Mn,width:Mn,maxWidth:Mn,height:Mn,maxHeight:Mn,size:Mn,top:Mn,right:Mn,bottom:Mn,left:Mn,padding:Mn,paddingTop:Mn,paddingRight:Mn,paddingBottom:Mn,paddingLeft:Mn,margin:Mn,marginTop:Mn,marginRight:Mn,marginBottom:Mn,marginLeft:Mn,rotate:Rn,rotateX:Rn,rotateY:Rn,rotateZ:Rn,scale:kn,scaleX:kn,scaleY:kn,scaleZ:kn,skew:Rn,skewX:Rn,skewY:Rn,distance:Mn,translateX:Mn,translateY:Mn,translateZ:Mn,x:Mn,y:Mn,z:Mn,perspective:Mn,transformPerspective:Mn,opacity:jn,originX:Wn,originY:Wn,originZ:Mn,zIndex:Fn,fillOpacity:jn,strokeOpacity:jn,numOctaves:Fn};function Dn(e,t,n,i){const{style:r,vars:o,transform:s,transformOrigin:a}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(Cn(e)){o[e]=n;continue}const i=On[e],d=wn(n,i);if(fn.has(e)){if(l=!0,s[e]=d,!u)continue;n!==(i.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,a[e]=d):r[e]=d}if(t.transform||(l||i?r.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},i,r){let o="";for(let t=0;t<xn;t++){const n=hn[t];void 0!==e[n]&&(o+=`${vn[n]||n}(${e[n]}) `)}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),r?o=r(e,i?"":o):n&&i&&(o="none"),o}(e.transform,n,u,i):r.transform&&(r.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}const zn=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Zn(e,t,n){for(const i in t)bn(t[i])||gn(i,n)||(e[i]=t[i])}function Hn(e,n,i){const r={};return Zn(r,e.style||{},e),Object.assign(r,function({transformTemplate:e},n,i){return t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{}};return Dn(t,n,{enableHardwareAcceleration:!i},e),Object.assign({},t.vars,t.style)},[n])}(e,n,i)),e.transformValues?e.transformValues(r):r}function Yn(e,t,n){const i={},r=Hn(e,t,n);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=r,i}const Jn=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 Un(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Jn.has(e)}let $n=e=>!Un(e);try{(Qn=require("@emotion/is-prop-valid").default)&&($n=e=>e.startsWith("on")?!Un(e):Qn(e))}catch(et){}var Qn;function _n(e,t,n){return"string"==typeof e?e:Mn.transform(t+n*e)}const Kn={offset:"stroke-dashoffset",array:"stroke-dasharray"},qn={offset:"strokeDashoffset",array:"strokeDasharray"};function ei(e,{attrX:t,attrY:n,attrScale:i,originX:r,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,d,m){if(Dn(e,c,u,m),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:p,style:h,dimensions:f}=e;p.transform&&(f&&(h.transform=p.transform),delete p.transform),f&&(void 0!==r||void 0!==o||h.transform)&&(h.transformOrigin=function(e,t,n){return`${_n(t,e.x,e.width)} ${_n(n,e.y,e.height)}`}(f,void 0!==r?r:.5,void 0!==o?o:.5)),void 0!==t&&(p.x=t),void 0!==n&&(p.y=n),void 0!==i&&(p.scale=i),void 0!==s&&function(e,t,n=1,i=0,r=!0){e.pathLength=1;const o=r?Kn:qn;e[o.offset]=Mn.transform(-i);const s=Mn.transform(t),a=Mn.transform(n);e[o.array]=`${s} ${a}`}(p,s,a,l,!1)}const ti=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),ni=e=>"string"==typeof e&&"svg"===e.toLowerCase();function ii(e,n,i,r){const o=t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return ei(t,n,{enableHardwareAcceleration:!1},ni(r),e.transformTemplate),{...t.attrs,style:{...t.style}}},[n]);if(e.style){const t={};Zn(t,e.style,e),o.style={...t,...o.style}}return o}function ri(e=!1){return(n,i,r,{latestValues:o},s)=>{const a=(mn(n)?ii:Yn)(i,o,s,n),l=function(e,t,n){const i={};for(const r in e)"values"===r&&"object"==typeof e.values||($n(r)||!0===n&&Un(r)||!t&&!Un(r)||e.draggable&&r.startsWith("onDrag"))&&(i[r]=e[r]);return i}(i,"string"==typeof n,e),c={...l,...a,ref:r},{children:u}=i,d=t.useMemo(()=>bn(u)?u.get():u,[u]);return t.createElement(n,{...c,children:d})}}const oi=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function si(e,{style:t,vars:n},i,r){Object.assign(e.style,t,r&&r.getProjectionStyles(i));for(const t in n)e.style.setProperty(t,n[t])}const ai=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 li(e,t,n,i){si(e,t,void 0,i);for(const n in t.attrs)e.setAttribute(ai.has(n)?n:oi(n),t.attrs[n])}function ci(e,t){const{style:n}=e,i={};for(const r in n)(bn(n[r])||t.style&&bn(t.style[r])||gn(r,e))&&(i[r]=n[r]);return i}function ui(e,t){const n=ci(e,t);for(const i in e)if(bn(e[i])||bn(t[i])){n[-1!==hn.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]}return n}function di(e,t,n,i={},r={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,i,r)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,i,r)),t}function mi(e){const n=t.useRef(null);return null===n.current&&(n.current=e()),n.current}const pi=e=>Array.isArray(e),hi=e=>pi(e)?e[e.length-1]||0:e;function fi(e){const t=bn(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const gi=e=>(n,i)=>{const r=t.useContext(Dt),o=t.useContext(zt),s=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},i,r,o){const s={latestValues:bi(i,r,o,e),renderState:t()};return n&&(s.mount=e=>n(i,e,s)),s}(e,n,r,o);return i?s():mi(s)};function bi(e,t,n,i){const r={},o=i(e,{});for(const e in o)r[e]=fi(o[e]);let{initial:s,animate:a}=e;const l=Kt(e),c=qt(e);t&&c&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let u=!!n&&!1===n.initial;u=u||!1===s;const d=u?a:s;if(d&&"boolean"!=typeof d&&!$t(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=di(e,t);if(!n)return;const{transitionEnd:i,transition:o,...s}=n;for(const e in s){let t=s[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(r[e]=t)}for(const e in i)r[e]=i[e]})}return r}const vi={useVisualState:gi({scrapeMotionValuesFromProps:ui,createRenderState:ti,onMount:(e,t,{renderState:n,latestValues:i})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}ei(n,i,{enableHardwareAcceleration:!1},ni(t.tagName),e.transformTemplate),li(t,n)}})},xi={useVisualState:gi({scrapeMotionValuesFromProps:ci,createRenderState:zn})};function yi(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}const Ci=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Ii(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function wi(e,t,n,i){return yi(e,t,(e=>t=>Ci(t)&&e(t,Ii(t)))(n),i)}const Ni=(e,t)=>n=>t(e(n)),Ai=(...e)=>e.reduce(Ni);function ji(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const ki=ji("dragHorizontal"),Pi=ji("dragVertical");function Gi(e){let t=!1;if("y"===e)t=Pi();else if("x"===e)t=ki();else{const e=ki(),n=Pi();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Si(){const e=Gi(!0);return!e||(e(),!1)}class Bi{constructor(e){this.isMounted=!1,this.node=e}update(){}}const Ei={delta:0,timestamp:0,isProcessing:!1};let Ti=!0,Ri=!1;const Vi=["read","update","preRender","render","postRender"],Mi=Vi.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],i=0,r=!1,o=!1;const s=new WeakSet,a={schedule:(e,o=!1,a=!1)=>{const l=a&&r,c=l?t:n;return o&&s.add(e),-1===c.indexOf(e)&&(c.push(e),l&&r&&(i=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),s.delete(e)},process:l=>{if(r)o=!0;else{if(r=!0,[t,n]=[n,t],n.length=0,i=t.length,i)for(let n=0;n<i;n++){const i=t[n];i(l),s.has(i)&&(a.schedule(i),e())}r=!1,o&&(o=!1,a.process(l))}}};return a}(()=>Ri=!0),e),{}),Li=e=>Mi[e].process(Ei),Xi=e=>{Ri=!1,Ei.delta=Ti?1e3/60:Math.max(Math.min(e-Ei.timestamp,40),1),Ei.timestamp=e,Ei.isProcessing=!0,Vi.forEach(Li),Ei.isProcessing=!1,Ri&&(Ti=!1,requestAnimationFrame(Xi))},Wi=Vi.reduce((e,t)=>{const n=Mi[t];return e[t]=(e,t=!1,i=!1)=>(Ri||(Ri=!0,Ti=!0,Ei.isProcessing||requestAnimationFrame(Xi)),n.schedule(e,t,i)),e},{});function Fi(e){Vi.forEach(t=>Mi[t].cancel(e))}function Oi(e,t){const n="pointer"+(t?"enter":"leave"),i="onHover"+(t?"Start":"End");return wi(e.current,n,(n,r)=>{if("touch"===n.type||Si())return;const o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[i]&&Wi.update(()=>o[i](n,r))},{passive:!e.getProps()[i]})}const Di=(e,t)=>!!t&&(e===t||Di(e,t.parentElement)),zi=e=>e;function Zi(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Ii(n))}const Hi=new WeakMap,Yi=new WeakMap,Ji=e=>{const t=Hi.get(e.target);t&&t(e)},Ui=e=>{e.forEach(Ji)};function $i(e,t,n){const i=function({root:e,...t}){const n=e||document;Yi.has(n)||Yi.set(n,{});const i=Yi.get(n),r=JSON.stringify(t);return i[r]||(i[r]=new IntersectionObserver(Ui,{root:e,...t})),i[r]}(t);return Hi.set(e,n),i.observe(e),()=>{Hi.delete(e),i.unobserve(e)}}const Qi={some:0,all:1};const _i={inView:{Feature:class extends Bi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:i="some",once:r}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:Qi[i]};return $i(this.node.current,o,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,r&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),o=t?n:i;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 Bi{constructor(){super(...arguments),this.removeStartListeners=zi,this.removeEndListeners=zi,this.removeAccessibleListeners=zi,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),i=wi(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:i}=this.node.getProps();Wi.update(()=>{Di(this.node.current,e.target)?n&&n(e,t):i&&i(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),r=wi(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Ai(i,r),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=yi(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=yi(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&Zi("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&Wi.update(()=>n(e,t))})}),Zi("down",(e,t)=>{this.startPress(e,t)})}),t=yi(this.node.current,"blur",()=>{this.isPressing&&Zi("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=Ai(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&Wi.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Si()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&Wi.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=wi(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=yi(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Ai(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Bi{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=Ai(yi(this.node.current,"focus",()=>this.onFocus()),yi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Bi{mount(){this.unmount=Ai(Oi(this.node,!0),Oi(this.node,!1))}unmount(){}}}};function Ki(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}function qi(e,t,n){const i=e.getProps();return di(i,t,void 0!==n?n:i.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 er="data-"+oi("framerAppearId");let tr=zi,nr=zi;"production"!==process.env.NODE_ENV&&(tr=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},nr=(e,t)=>{if(!e)throw new Error(t)});const ir=e=>1e3*e,rr=e=>e/1e3,or=!1,sr=e=>Array.isArray(e)&&"number"==typeof e[0];function ar(e){return Boolean(!e||"string"==typeof e&&cr[e]||sr(e)||Array.isArray(e)&&e.every(ar))}const lr=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,cr={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:lr([0,.65,.55,1]),circOut:lr([.55,0,1,.45]),backIn:lr([.31,.01,.66,-.59]),backOut:lr([.33,1.53,.69,.99])};function ur(e){if(e)return sr(e)?lr(e):Array.isArray(e)?e.map(ur):cr[e]}const dr={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},mr={},pr={};for(const e in dr)pr[e]=()=>(void 0===mr[e]&&(mr[e]=dr[e]()),mr[e]);const hr=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function fr(e,t,n,i){if(e===t&&n===i)return zi;const r=t=>function(e,t,n,i,r){let o,s,a=0;do{s=t+(n-t)/2,o=hr(s,i,r)-e,o>0?n=s:t=s}while(Math.abs(o)>1e-7&&++a<12);return s}(t,0,1,e,n);return e=>0===e||1===e?e:hr(r(e),t,i)}const gr=fr(.42,0,1,1),br=fr(0,0,.58,1),vr=fr(.42,0,.58,1),xr=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,yr=e=>t=>1-e(1-t),Cr=e=>1-Math.sin(Math.acos(e)),Ir=yr(Cr),wr=xr(Ir),Nr=fr(.33,1.53,.69,.99),Ar=yr(Nr),jr=xr(Ar),kr={linear:zi,easeIn:gr,easeInOut:vr,easeOut:br,circIn:Cr,circInOut:wr,circOut:Ir,backIn:Ar,backInOut:jr,backOut:Nr,anticipate:e=>(e*=2)<1?.5*Ar(e):.5*(2-Math.pow(2,-10*(e-1)))},Pr=e=>{if(Array.isArray(e)){nr(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,i,r]=e;return fr(t,n,i,r)}return"string"==typeof e?(nr(void 0!==kr[e],`Invalid easing type '${e}'`),kr[e]):e},Gr=(e,t)=>n=>Boolean(En(n)&&Bn.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Sr=(e,t,n)=>i=>{if(!En(i))return i;const[r,o,s,a]=i.match(Gn);return{[e]:parseFloat(r),[t]:parseFloat(o),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},Br={...An,transform:e=>Math.round((e=>Nn(0,255,e))(e))},Er={test:Gr("rgb","red"),parse:Sr("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+Br.transform(e)+", "+Br.transform(t)+", "+Br.transform(n)+", "+Pn(jn.transform(i))+")"};const Tr={test:Gr("#"),parse:function(e){let t="",n="",i="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,i+=i,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}},transform:Er.transform},Rr={test:Gr("hsl","hue"),parse:Sr("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+Vn.transform(Pn(t))+", "+Vn.transform(Pn(n))+", "+Pn(jn.transform(i))+")"},Vr={test:e=>Er.test(e)||Tr.test(e)||Rr.test(e),parse:e=>Er.test(e)?Er.parse(e):Rr.test(e)?Rr.parse(e):Tr.parse(e),transform:e=>En(e)?e:e.hasOwnProperty("red")?Er.transform(e):Rr.transform(e)},Mr=(e,t,n)=>-n*e+n*t+e;function Lr(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 Xr=(e,t,n)=>{const i=e*e;return Math.sqrt(Math.max(0,n*(t*t-i)+i))},Wr=[Tr,Er,Rr];function Fr(e){const t=(n=e,Wr.find(e=>e.test(n)));var n;nr(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let i=t.parse(e);return t===Rr&&(i=function({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,n/=100;let r=0,o=0,s=0;if(t/=100){const i=n<.5?n*(1+t):n+t-n*t,a=2*n-i;r=Lr(a,i,e+1/3),o=Lr(a,i,e),s=Lr(a,i,e-1/3)}else r=o=s=n;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*s),alpha:i}}(i)),i}const Or=(e,t)=>{const n=Fr(e),i=Fr(t),r={...n};return e=>(r.red=Xr(n.red,i.red,e),r.green=Xr(n.green,i.green,e),r.blue=Xr(n.blue,i.blue,e),r.alpha=Mr(n.alpha,i.alpha,e),Er.transform(r))};const Dr={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:zi},zr={regex:Sn,countKey:"Colors",token:"${c}",parse:Vr.parse},Zr={regex:Gn,countKey:"Numbers",token:"${n}",parse:An.parse};function Hr(e,{regex:t,countKey:n,token:i,parse:r}){const o=e.tokenised.match(t);o&&(e["num"+n]=o.length,e.tokenised=e.tokenised.replace(t,i),e.values.push(...o.map(r)))}function Yr(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Hr(n,Dr),Hr(n,zr),Hr(n,Zr),n}function Jr(e){return Yr(e).values}function Ur(e){const{values:t,numColors:n,numVars:i,tokenised:r}=Yr(e),o=t.length;return e=>{let t=r;for(let r=0;r<o;r++)t=r<i?t.replace(Dr.token,e[r]):r<i+n?t.replace(zr.token,Vr.transform(e[r])):t.replace(Zr.token,Pn(e[r]));return t}}const $r=e=>"number"==typeof e?0:e;const Qr={test:function(e){var t,n;return isNaN(e)&&En(e)&&((null===(t=e.match(Gn))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Sn))||void 0===n?void 0:n.length)||0)>0},parse:Jr,createTransformer:Ur,getAnimatableNone:function(e){const t=Jr(e);return Ur(e)(t.map($r))}},_r=(e,t)=>n=>`${n>0?t:e}`;function Kr(e,t){return"number"==typeof e?n=>Mr(e,t,n):Vr.test(e)?Or(e,t):e.startsWith("var(")?_r(e,t):to(e,t)}const qr=(e,t)=>{const n=[...e],i=n.length,r=e.map((e,n)=>Kr(e,t[n]));return e=>{for(let t=0;t<i;t++)n[t]=r[t](e);return n}},eo=(e,t)=>{const n={...e,...t},i={};for(const r in n)void 0!==e[r]&&void 0!==t[r]&&(i[r]=Kr(e[r],t[r]));return e=>{for(const t in i)n[t]=i[t](e);return n}},to=(e,t)=>{const n=Qr.createTransformer(t),i=Yr(e),r=Yr(t);return i.numVars===r.numVars&&i.numColors===r.numColors&&i.numNumbers>=r.numNumbers?Ai(qr(i.values,r.values),n):(tr(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),_r(e,t))},no=(e,t,n)=>{const i=t-e;return 0===i?1:(n-e)/i},io=(e,t)=>n=>Mr(e,t,n);function ro(e,t,n){const i=[],r=n||("number"==typeof(o=e[0])?io:"string"==typeof o?Vr.test(o)?Or:to:Array.isArray(o)?qr:"object"==typeof o?eo:io);var o;const s=e.length-1;for(let n=0;n<s;n++){let o=r(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||zi:t;o=Ai(e,o)}i.push(o)}return i}function oo(e,t,{clamp:n=!0,ease:i,mixer:r}={}){const o=e.length;if(nr(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 s=ro(t,i,r),a=s.length,l=t=>{let n=0;if(a>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const i=no(e[n],e[n+1],t);return s[n](i)};return n?t=>l(Nn(e[0],e[o-1],t)):l}function so(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const r=no(0,t,i);e.push(Mr(n,1,r))}}(t,e.length-1),t}function ao({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const r=(e=>Array.isArray(e)&&"number"!=typeof e[0])(i)?i.map(Pr):Pr(i),o={done:!1,value:t[0]},s=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:so(t),e),a=oo(s,t,{ease:Array.isArray(r)?r:(l=t,c=r,l.map(()=>c||vr).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(o.value=a(t),o.done=t>=e,o)}}function lo(e,t){return t?e*(1e3/t):0}function co(e,t,n){const i=Math.max(t-5,0);return lo(n-e(i),t-i)}const uo=.001;function mo({duration:e=800,bounce:t=.25,velocity:n=0,mass:i=1}){let r,o;tr(e<=ir(10),"Spring duration must be 10 seconds or less");let s=1-t;s=Nn(.05,1,s),e=Nn(.01,10,rr(e)),s<1?(r=t=>{const i=t*s,r=i*e,o=i-n,a=ho(t,s),l=Math.exp(-r);return uo-o/a*l},o=t=>{const i=t*s*e,o=i*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-i),c=ho(Math.pow(t,2),s);return(-r(t)+uo>0?-1:1)*((o-a)*l)/c}):(r=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,o=t=>Math.exp(-t*e)*(e*e*(n-t)));const a=function(e,t,n){let i=n;for(let n=1;n<po;n++)i-=e(i)/t(i);return i}(r,o,5/e);if(e=ir(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(a,2)*i;return{stiffness:t,damping:2*s*Math.sqrt(i*t),duration:e}}}const po=12;function ho(e,t){return e*Math.sqrt(1-t*t)}const fo=["duration","bounce"],go=["stiffness","damping","mass"];function bo(e,t){return t.some(t=>void 0!==e[t])}function vo({keyframes:e,restDelta:t,restSpeed:n,...i}){const r=e[0],o=e[e.length-1],s={done:!1,value:r},{stiffness:a,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:m}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!bo(e,go)&&bo(e,fo)){const n=mo(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(i),p=u?-rr(u):0,h=l/(2*Math.sqrt(a*c)),f=o-r,g=rr(Math.sqrt(a/c)),b=Math.abs(f)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),h<1){const e=ho(g,h);v=t=>{const n=Math.exp(-h*g*t);return o-n*((p+h*g*f)/e*Math.sin(e*t)+f*Math.cos(e*t))}}else if(1===h)v=e=>o-Math.exp(-g*e)*(f+(p+g*f)*e);else{const e=g*Math.sqrt(h*h-1);v=t=>{const n=Math.exp(-h*g*t),i=Math.min(e*t,300);return o-n*((p+h*g*f)*Math.sinh(i)+e*f*Math.cosh(i))/e}}return{calculatedDuration:m&&d||null,next:e=>{const i=v(e);if(m)s.done=e>=d;else{let r=p;0!==e&&(r=h<1?co(v,e,i):0);const a=Math.abs(r)<=n,l=Math.abs(o-i)<=t;s.done=a&&l}return s.value=s.done?o:i,s}}}function xo({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],m={done:!1,value:d},p=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let h=n*t;const f=d+h,g=void 0===s?f:s(f);g!==f&&(h=g-d);const b=e=>-h*Math.exp(-e/i),v=e=>g+b(e),x=e=>{const t=b(e),n=v(e);m.done=Math.abs(t)<=c,m.value=m.done?g:n};let y,C;const I=e=>{var t;(t=m.value,void 0!==a&&t<a||void 0!==l&&t>l)&&(y=e,C=vo({keyframes:[m.value,p(m.value)],velocity:co(v,e,m.value),damping:r,stiffness:o,restDelta:c,restSpeed:u}))};return I(0),{calculatedDuration:null,next:e=>{let t=!1;return C||void 0!==y||(t=!0,x(e),I(e)),void 0!==y&&e>y?C.next(e-y):(!t&&x(e),m)}}}const yo=e=>{const t=({timestamp:t})=>e(t);return{start:()=>Wi.update(t,!0),stop:()=>Fi(t),now:()=>Ei.isProcessing?Ei.timestamp:performance.now()}};function Co(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 Io={decay:xo,inertia:xo,tween:ao,keyframes:ao,spring:vo};function wo({autoplay:e=!0,delay:t=0,driver:n=yo,keyframes:i,type:r="keyframes",repeat:o=0,repeatDelay:s=0,repeatType:a="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...m}){let p,h,f=1,g=!1;const b=()=>{p&&p(),h=new Promise(e=>{p=e})};let v;b();const x=Io[r]||ao;let y;x!==ao&&"number"!=typeof i[0]&&(y=oo([0,100],i,{clamp:!1}),i=[0,100]);const C=x({...m,keyframes:i});let I;"mirror"===a&&(I=x({...m,keyframes:[...i].reverse(),velocity:-(m.velocity||0)}));let w="idle",N=null,A=null,j=null;null===C.calculatedDuration&&o&&(C.calculatedDuration=Co(C));const{calculatedDuration:k}=C;let P=1/0,G=1/0;null!==k&&(P=k+s,G=P*(o+1)-s);let S=0;const B=e=>{if(null===A)return;f>0&&(A=Math.min(A,e)),S=null!==N?N:(e-A)*f;const n=S-t,r=n<0;S=Math.max(n,0),"finished"===w&&null===N&&(S=G);let l=S,c=C;if(o){const e=S/P;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,o+1);const i=Boolean(t%2);i&&("reverse"===a?(n=1-n,s&&(n-=s/P)):"mirror"===a&&(c=I));let r=Nn(0,1,n);S>G&&(r="reverse"===a&&i?1:0),l=r*P}const u=r?{done:!1,value:i[0]}:c.next(l);y&&(u.value=y(u.value));let{done:m}=u;r||null===k||(m=S>=G);const p=null===N&&("finished"===w||"running"===w&&m||f<0&&S<=0);return d&&d(u.value),p&&R(),u},E=()=>{v&&v.stop(),v=void 0},T=()=>{w="idle",E(),b(),A=j=null},R=()=>{w="finished",u&&u(),E(),b()},V=()=>{if(g)return;v||(v=n(B));const e=v.now();l&&l(),null!==N?A=e-N:A&&"finished"!==w||(A=e),j=A,N=null,w="running",v.start()};e&&V();const M={then:(e,t)=>h.then(e,t),get time(){return rr(S)},set time(e){e=ir(e),S=e,null===N&&v&&0!==f?A=v.now()-e/f:N=e},get duration(){const e=null===C.calculatedDuration?Co(C):C.calculatedDuration;return rr(e)},get speed(){return f},set speed(e){e!==f&&v&&(f=e,M.time=rr(S))},get state(){return w},play:V,pause:()=>{w="paused",N=S},stop:()=>{g=!0,"idle"!==w&&(w="idle",c&&c(),T())},cancel:()=>{null!==j&&B(j),T()},complete:()=>{w="finished"},sample:e=>(A=0,B(e))};return M}const No=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Ao(e,t,{onUpdate:n,onComplete:i,...r}){if(!(pr.waapi()&&No.has(t)&&!r.repeatDelay&&"mirror"!==r.repeatType&&0!==r.damping&&"inertia"!==r.type))return!1;let o,s,a=!1;const l=()=>{s=new Promise(e=>{o=e})};l();let{keyframes:c,duration:u=300,ease:d,times:m}=r;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!ar(t.ease))(t,r)){const e=wo({...r,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let i=0;for(;!t.done&&i<2e4;)t=e.sample(i),n.push(t.value),i+=10;m=void 0,c=n,u=i-10,d="linear"}const p=function(e,t,n,{delay:i=0,duration:r,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=ur(a);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:i,duration:r,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"})}(e.owner.current,t,c,{...r,duration:u,ease:d,times:m}),h=()=>p.cancel(),f=()=>{Wi.update(h),o(),l()};return p.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,r)),i&&i(),f()},{then:(e,t)=>s.then(e,t),get time(){return rr(p.currentTime||0)},set time(e){p.currentTime=ir(e)},get speed(){return p.playbackRate},set speed(e){p.playbackRate=e},get duration(){return rr(u)},play:()=>{a||(p.play(),Fi(h))},pause:()=>p.pause(),stop:()=>{if(a=!0,"idle"===p.playState)return;const{currentTime:t}=p;if(t){const n=wo({...r,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}f()},complete:()=>p.finish(),cancel:f}}const jo={type:"spring",stiffness:500,damping:25,restSpeed:10},ko={type:"keyframes",duration:.8},Po={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Go=(e,{keyframes:t})=>t.length>2?ko:fn.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:jo:Po,So=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Qr.test(t)&&"0"!==t||t.startsWith("url("))),Bo=new Set(["brightness","contrast","saturate","opacity"]);function Eo(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[i]=n.match(Gn)||[];if(!i)return e;const r=n.replace(i,"");let o=Bo.has(t)?1:0;return i!==n&&(o*=100),t+"("+o+r+")"}const To=/([a-z-]*)\(.*?\)/g,Ro={...Qr,getAnimatableNone:e=>{const t=e.match(To);return t?t.map(Eo).join(" "):e}},Vo={...On,color:Vr,backgroundColor:Vr,outlineColor:Vr,fill:Vr,stroke:Vr,borderColor:Vr,borderTopColor:Vr,borderRightColor:Vr,borderBottomColor:Vr,borderLeftColor:Vr,filter:Ro,WebkitFilter:Ro},Mo=e=>Vo[e];function Lo(e,t){let n=Mo(e);return n!==Ro&&(n=Qr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Xo=e=>/^0[^.\s]+$/.test(e);function Wo(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||Xo(e):void 0}function Fo(e,t){return e[t]||e.default||e}const Oo=(e,t,n,i={})=>r=>{const o=Fo(i,e)||{},s=o.delay||i.delay||0;let{elapsed:a=0}=i;a-=ir(s);const l=function(e,t,n,i){const r=So(t,n);let o;o=Array.isArray(n)?[...n]:[null,n];const s=void 0!==i.from?i.from:e.get();let a;const l=[];for(let e=0;e<o.length;e++)null===o[e]&&(o[e]=0===e?s:o[e-1]),Wo(o[e])&&l.push(e),"string"==typeof o[e]&&"none"!==o[e]&&"0"!==o[e]&&(a=o[e]);if(r&&l.length&&a)for(let e=0;e<l.length;e++)o[l[e]]=Lo(t,a);return o}(t,e,n,o),c=l[0],u=l[l.length-1],d=So(e,c),m=So(e,u);tr(d===m,`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 p={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-a,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{r(),o.onComplete&&o.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(o)||(p={...p,...Go(e,p)}),p.duration&&(p.duration=ir(p.duration)),p.repeatDelay&&(p.repeatDelay=ir(p.repeatDelay)),!d||!m||or||!1===o.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:i}){const r=()=>(n&&n(e[e.length-1]),i&&i(),{time:0,speed:1,duration:0,play:zi,pause:zi,stop:zi,then:e=>(e(),Promise.resolve()),cancel:zi,complete:zi});return t?wo({keyframes:[0,1],duration:0,delay:t,onComplete:r}):r()}(p);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=Ao(t,e,p);if(n)return n}return wo(p)};function Do(e){return Boolean(bn(e)&&e.add)}const zo=e=>/^\-?\d*\.?\d+$/.test(e);function Zo(e,t){-1===e.indexOf(t)&&e.push(t)}function Ho(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Yo{constructor(){this.subscriptions=[]}add(e){return Zo(this.subscriptions,e),()=>Ho(this.subscriptions,e)}notify(e,t,n){const i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](e,t,n);else for(let r=0;r<i;r++){const i=this.subscriptions[r];i&&i(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Jo=new Set;function Uo(e,t,n){e||Jo.has(t)||(console.warn(t),Jo.add(t))}class $o{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:i}=Ei;this.lastUpdated!==i&&(this.timeDelta=n,this.lastUpdated=i,Wi.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=()=>Wi.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&&Uo(!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 Yo);const n=this.events[e].add(t);return"change"===e?()=>{n(),Wi.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?lo(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 Qo(e,t){return new $o(e,t)}const _o=e=>t=>t.test(e),Ko=[An,Mn,Vn,Rn,Xn,Ln,{test:e=>"auto"===e,parse:e=>e}],qo=e=>Ko.find(_o(e)),es=[...Ko,Vr,Qr],ts=e=>es.find(_o(e));function ns(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Qo(n))}function is(e,t){if(!t)return;return(t[e]||t.default||t).from}function rs({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,i}function os(e,t,{delay:n=0,transitionOverride:i,type:r}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:s,...a}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");i&&(o=i);const c=[],u=r&&e.animationState&&e.animationState.getState()[r];for(const t in a){const i=e.getValue(t),r=a[t];if(!i||void 0===r||u&&rs(u,t))continue;const s={delay:n,elapsed:0,...o};if(window.HandoffAppearAnimations&&!i.hasAnimated){const n=e.getProps()[er];n&&(s.elapsed=window.HandoffAppearAnimations(n,t,i,Wi))}i.start(Oo(t,i,r,e.shouldReduceMotion&&fn.has(t)?{type:!1}:s));const d=i.animation;Do(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return s&&Promise.all(c).then(()=>{s&&function(e,t){const n=qi(e,t);let{transitionEnd:i={},transition:r={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...i};for(const t in o)ns(e,t,hi(o[t]))}(e,s)}),c}function ss(e,t,n={}){const i=qi(e,t,n.custom);let{transition:r=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(r=n.transitionOverride);const o=i?()=>Promise.all(os(e,i,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(i=0)=>{const{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=r;return function(e,t,n=0,i=0,r=1,o){const s=[],a=(e.variantChildren.size-1)*i,l=1===r?(e=0)=>e*i:(e=0)=>a-e*i;return Array.from(e.variantChildren).sort(as).forEach((e,i)=>{e.notify("AnimationStart",t),s.push(ss(e,t,{...o,delay:n+l(i)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,o+i,s,a,n)}:()=>Promise.resolve(),{when:a}=r;if(a){const[e,t]="beforeChildren"===a?[o,s]:[s,o];return e().then(()=>t())}return Promise.all([o(),s(n.delay)])}function as(e,t){return e.sortNodePosition(t)}const ls=[...Qt].reverse(),cs=Qt.length;function us(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let i;if(e.notify("AnimationStart",t),Array.isArray(t)){const r=t.map(t=>ss(e,t,n));i=Promise.all(r)}else if("string"==typeof t)i=ss(e,t,n);else{const r="function"==typeof t?qi(e,t,n.custom):t;i=Promise.all(os(e,r,n))}return i.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function ds(e){let t=us(e);const n={animate:ps(!0),whileInView:ps(),whileHover:ps(),whileTap:ps(),whileDrag:ps(),whileFocus:ps(),exit:ps()};let i=!0;const r=(t,n)=>{const i=qi(e,n);if(i){const{transition:e,transitionEnd:n,...r}=i;t={...t,...r,...n}}return t};function o(o,s){const a=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},m=1/0;for(let t=0;t<cs;t++){const p=ls[t],h=n[p],f=void 0!==a[p]?a[p]:l[p],g=Ut(f),b=p===s?h.isActive:null;!1===b&&(m=t);let v=f===l[p]&&f!==a[p]&&g;if(v&&i&&e.manuallyAnimateOnMount&&(v=!1),h.protectedKeys={...d},!h.isActive&&null===b||!f&&!h.prevProp||$t(f)||"boolean"==typeof f)continue;const x=ms(h.prevProp,f);let y=x||p===s&&h.isActive&&!v&&g||t>m&&g;const C=Array.isArray(f)?f:[f];let I=C.reduce(r,{});!1===b&&(I={});const{prevResolvedValues:w={}}=h,N={...w,...I},A=e=>{y=!0,u.delete(e),h.needsAnimating[e]=!0};for(const e in N){const t=I[e],n=w[e];d.hasOwnProperty(e)||(t!==n?pi(t)&&pi(n)?!Ki(t,n)||x?A(e):h.protectedKeys[e]=!0:void 0!==t?A(e):u.add(e):void 0!==t&&u.has(e)?A(e):h.protectedKeys[e]=!0)}h.prevProp=f,h.prevResolvedValues=I,h.isActive&&(d={...d,...I}),i&&e.blockInitialAnimation&&(y=!1),y&&!v&&c.push(...C.map(e=>({animation:e,options:{type:p,...o}})))}if(u.size){const t={};u.forEach(n=>{const i=e.getBaseTarget(n);void 0!==i&&(t[n]=i)}),c.push({animation:t})}let p=Boolean(c.length);return i&&!1===a.initial&&!e.manuallyAnimateOnMount&&(p=!1),i=!1,p?t(c):Promise.resolve()}return{animateChanges:o,setActive:function(t,i,r){var s;if(n[t].isActive===i)return Promise.resolve();null===(s=e.variantChildren)||void 0===s||s.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,i)}),n[t].isActive=i;const a=o(r,t);for(const e in n)n[e].protectedKeys={};return a},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function ms(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Ki(t,e)}function ps(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let hs=0;const fs={animation:{Feature:class extends Bi{constructor(e){super(e),e.animationState||(e.animationState=ds(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),$t(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends Bi{constructor(){super(...arguments),this.id=hs++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;const r=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&r.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},gs=(e,t)=>Math.abs(e-t);class bs{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=ys(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=gs(e.x,t.x),i=gs(e.y,t.y);return Math.sqrt(n**2+i**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:i}=e,{timestamp:r}=Ei;this.history.push({...i,timestamp:r});const{onStart:o,onMove:s}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=vs(t,this.transformPagePoint),Wi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:i}=this.handlers,r=ys("pointercancel"===e.type?this.lastMoveEventInfo:vs(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,r),i&&i(e,r)},!Ci(e))return;this.handlers=t,this.transformPagePoint=n;const i=vs(Ii(e),this.transformPagePoint),{point:r}=i,{timestamp:o}=Ei;this.history=[{...r,timestamp:o}];const{onSessionStart:s}=t;s&&s(e,ys(i,this.history)),this.removeListeners=Ai(wi(window,"pointermove",this.handlePointerMove),wi(window,"pointerup",this.handlePointerUp),wi(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Fi(this.updatePoint)}}function vs(e,t){return t?{point:t(e.point)}:e}function xs(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ys({point:e},t){return{point:e,delta:xs(e,Is(t)),offset:xs(e,Cs(t)),velocity:ws(t,.1)}}function Cs(e){return e[0]}function Is(e){return e[e.length-1]}function ws(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const r=Is(e);for(;n>=0&&(i=e[n],!(r.timestamp-i.timestamp>ir(t)));)n--;if(!i)return{x:0,y:0};const o=rr(r.timestamp-i.timestamp);if(0===o)return{x:0,y:0};const s={x:(r.x-i.x)/o,y:(r.y-i.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function Ns(e){return e.max-e.min}function As(e,t=0,n=.01){return Math.abs(e-t)<=n}function js(e,t,n,i=.5){e.origin=i,e.originPoint=Mr(t.min,t.max,e.origin),e.scale=Ns(n)/Ns(t),(As(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Mr(n.min,n.max,e.origin)-e.originPoint,(As(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ks(e,t,n,i){js(e.x,t.x,n.x,i?i.originX:void 0),js(e.y,t.y,n.y,i?i.originY:void 0)}function Ps(e,t,n){e.min=n.min+t.min,e.max=e.min+Ns(t)}function Gs(e,t,n){e.min=t.min-n.min,e.max=e.min+Ns(t)}function Ss(e,t,n){Gs(e.x,t.x,n.x),Gs(e.y,t.y,n.y)}function Bs(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 Es(e,t){let n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,i]=[i,n]),{min:n,max:i}}const Ts=.35;function Rs(e,t,n){return{min:Vs(e,t),max:Vs(e,n)}}function Vs(e,t){return"number"==typeof e?e:e[t]||0}const Ms=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Ls(e){return[e("x"),e("y")]}function Xs({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function Ws(e){return void 0===e||1===e}function Fs({scale:e,scaleX:t,scaleY:n}){return!Ws(e)||!Ws(t)||!Ws(n)}function Os(e){return Fs(e)||Ds(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Ds(e){return zs(e.x)||zs(e.y)}function zs(e){return e&&"0%"!==e}function Zs(e,t,n){return n+t*(e-n)}function Hs(e,t,n,i,r){return void 0!==r&&(e=Zs(e,r,i)),Zs(e,n,i)+t}function Ys(e,t=0,n=1,i,r){e.min=Hs(e.min,t,n,i,r),e.max=Hs(e.max,t,n,i,r)}function Js(e,{x:t,y:n}){Ys(e.x,t.translate,t.scale,t.originPoint),Ys(e.y,n.translate,n.scale,n.originPoint)}function Us(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function $s(e,t){e.min=e.min+t,e.max=e.max+t}function Qs(e,t,[n,i,r]){const o=void 0!==t[r]?t[r]:.5,s=Mr(e.min,e.max,o);Ys(e,t[n],t[i],s,t.scale)}const _s=["x","scaleX","originX"],Ks=["y","scaleY","originY"];function qs(e,t){Qs(e.x,t,_s),Qs(e.y,t,Ks)}function ea(e,t){return Xs(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(e.getBoundingClientRect(),t))}const ta=new WeakMap;class na{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 bs(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(Ii(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:i,onDragStart:r}=this.getProps();if(n&&!i&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Gi(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),Ls(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Vn.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const i=n.layout.layoutBox[e];if(i){t=Ns(i)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),r&&Wi.update(()=>r(e,t),!1,!0);const{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:i,onDirectionLock:r,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:s}=t;if(i&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(s),void(null!==this.currentDirection&&r&&r(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),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:i}=t;this.startAnimation(i);const{onDragEnd:r}=this.getProps();r&&Wi.update(()=>r(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:i}=this.getProps();if(!n||!ia(e,i,this.currentDirection))return;const r=this.getAxisMotionValue(e);let o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},i){return void 0!==t&&e<t?e=i?Mr(t,e,i.min):Math.max(e,t):void 0!==n&&e>n&&(e=i?Mr(n,e,i.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),r.set(o)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},i=this.constraints;e&&Jt(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:i,right:r}){return{x:Bs(e.x,n,r),y:Bs(e.y,t,i)}}(n.layoutBox,e),this.elastic=function(e=Ts){return!1===e?e=0:!0===e&&(e=Ts),{x:Rs(e,"left","right"),y:Rs(e,"top","bottom")}}(t),i!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Ls(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||!Jt(e))return!1;const n=e.current;nr(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const r=function(e,t,n){const i=ea(e,n),{scroll:r}=t;return r&&($s(i.x,r.offset.x),$s(i.y,r.offset.y)),i}(n,i.root,this.visualElement.getTransformPagePoint());let o=function(e,t){return{x:Es(e.x,t.x),y:Es(e.y,t.y)}}(i.layout.layoutBox,r);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=Xs(e))}return o}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:i,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=Ls(s=>{if(!ia(s,t,this.currentDirection))return;let l=a&&a[s]||{};o&&(l={min:0,max:0});const c=i?200:1e6,u=i?40:1e7,d={type:"inertia",velocity:n?e[s]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(s,d)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(Oo(e,n,0,t))}stopAnimation(){Ls(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),i=n[t];return i||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){Ls(t=>{const{drag:n}=this.getProps();if(!ia(t,n,this.currentDirection))return;const{projection:i}=this.visualElement,r=this.getAxisMotionValue(t);if(i&&i.layout){const{min:n,max:o}=i.layout.layoutBox[t];r.set(e[t]-Mr(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Jt(t)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Ls(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();i[e]=function(e,t){let n=.5;const i=Ns(e),r=Ns(t);return r>i?n=no(t.min,t.max-i,e.min):i>r&&(n=no(e.min,e.max-r,t.min)),Nn(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Ls(t=>{if(!ia(t,e,null))return;const n=this.getAxisMotionValue(t),{min:r,max:o}=this.constraints[t];n.set(Mr(r,o,i[t]))})}addListeners(){if(!this.visualElement.current)return;ta.set(this.visualElement,this);const e=wi(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();Jt(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const r=yi(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Ls(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{r(),e(),i(),o&&o()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:o=Ts,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:i,dragConstraints:r,dragElastic:o,dragMomentum:s}}}function ia(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const ra=e=>(t,n)=>{e&&Wi.update(()=>e(t,n))};const oa={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function sa(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const aa={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Mn.test(e))return e;e=parseFloat(e)}return`${sa(e,t.target.x)}% ${sa(e,t.target.y)}%`}},la={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,r=Qr.parse(e);if(r.length>5)return i;const o=Qr.createTransformer(e),s="number"!=typeof r[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;r[0+s]/=a,r[1+s]/=l;const c=Mr(a,l,.5);return"number"==typeof r[2+s]&&(r[2+s]/=c),"number"==typeof r[3+s]&&(r[3+s]/=c),o(r)}};class ca extends m.default.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:i}=this.props,{projection:r}=e;var o;o=da,Object.assign(pn,o),r&&(t.group&&t.group.add(r),n&&n.register&&i&&n.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),oa.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:i,isPresent:r}=this.props,o=n.projection;return o?(o.isPresent=r,i||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?o.promote():o.relegate()||Wi.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:i}=e;i&&(i.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function ua(e){const[n,i]=function(){const e=t.useContext(zt);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:i,register:r}=e,o=t.useId();return t.useEffect(()=>r(o),[]),!n&&i?[!1,()=>i&&i(o)]:[!0]}(),r=t.useContext(on);return m.default.createElement(ca,{...e,layoutGroup:r,switchLayoutGroup:t.useContext(sn),isPresent:n,safeToRemove:i})}const da={borderRadius:{...aa,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:aa,borderTopRightRadius:aa,borderBottomLeftRadius:aa,borderBottomRightRadius:aa,boxShadow:la},ma=["TopLeft","TopRight","BottomLeft","BottomRight"],pa=ma.length,ha=e=>"string"==typeof e?parseFloat(e):e,fa=e=>"number"==typeof e||Mn.test(e);function ga(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const ba=xa(0,.5,Ir),va=xa(.5,.95,zi);function xa(e,t,n){return i=>i<e?0:i>t?1:n(no(e,t,i))}function ya(e,t){e.min=t.min,e.max=t.max}function Ca(e,t){ya(e.x,t.x),ya(e.y,t.y)}function Ia(e,t,n,i,r){return e=Zs(e-=t,1/n,i),void 0!==r&&(e=Zs(e,1/r,i)),e}function wa(e,t,[n,i,r],o,s){!function(e,t=0,n=1,i=.5,r,o=e,s=e){Vn.test(t)&&(t=parseFloat(t),t=Mr(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=Mr(o.min,o.max,i);e===o&&(a-=t),e.min=Ia(e.min,t,n,a,r),e.max=Ia(e.max,t,n,a,r)}(e,t[n],t[i],t[r],t.scale,o,s)}const Na=["x","scaleX","originX"],Aa=["y","scaleY","originY"];function ja(e,t,n,i){wa(e.x,t,Na,n?n.x:void 0,i?i.x:void 0),wa(e.y,t,Aa,n?n.y:void 0,i?i.y:void 0)}function ka(e){return 0===e.translate&&1===e.scale}function Pa(e){return ka(e.x)&&ka(e.y)}function Ga(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 Sa(e){return Ns(e.x)/Ns(e.y)}class Ba{constructor(){this.members=[]}add(e){Zo(this.members,e),e.scheduleRender()}remove(e){if(Ho(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:i}=e.options;!1===i&&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 Ea(e,t,n){let i="";const r=e.x.translate/t.x,o=e.y.translate/t.y;if((r||o)&&(i=`translate3d(${r}px, ${o}px, 0) `),1===t.x&&1===t.y||(i+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:r}=n;e&&(i+=`rotate(${e}deg) `),t&&(i+=`rotateX(${t}deg) `),r&&(i+=`rotateY(${r}deg) `)}const s=e.x.scale*t.x,a=e.y.scale*t.y;return 1===s&&1===a||(i+=`scale(${s}, ${a})`),i||"none"}const Ta=(e,t)=>e.depth-t.depth;class Ra{constructor(){this.children=[],this.isDirty=!1}add(e){Zo(this.children,e),this.isDirty=!0}remove(e){Ho(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ta),this.isDirty=!1,this.children.forEach(e)}}const Va=["","X","Y","Z"];let Ma=0;const La={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Xa({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=Ma++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{var e;La.totalNodes=La.resolvedTargetDeltas=La.recalculatedProjection=0,this.nodes.forEach(Oa),this.nodes.forEach(Ua),this.nodes.forEach($a),this.nodes.forEach(Da),e=La,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 Ra)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Yo),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 i;this.isSVG=(i=t)instanceof SVGElement&&"svg"!==i.tagName,this.instance=t;const{layoutId:r,layout:o,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||r)&&(this.isLayoutDirty=!0),e){let n;const i=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),i=({timestamp:r})=>{const o=r-n;o>=t&&(Fi(i),e(o-t))};return Wi.read(i,!0),()=>Fi(i)}(i,250),oa.hasAnimatedSinceResize&&(oa.hasAnimatedSinceResize=!1,this.nodes.forEach(Ja))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const r=this.options.transition||s.getDefaultTransition()||tl,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!Ga(this.targetLayout,i)||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={...Fo(r,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||Ja(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}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,Fi(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(Qa),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 i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(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(Za);this.isUpdating||this.nodes.forEach(Ha),this.isUpdating=!1,this.nodes.forEach(Ya),this.nodes.forEach(Wa),this.nodes.forEach(Fa),this.clearAllSnapshots();const e=performance.now();Ei.delta=Nn(0,1e3/60,e-Ei.timestamp),Ei.timestamp=e,Ei.isProcessing=!0,Mi.update.process(Ei),Mi.preRender.process(Ei),Mi.render.process(Ei),Ei.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(za),this.sharedNodes.forEach(_a)}scheduleUpdateProjection(){Wi.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){Wi.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:i(this.instance),offset:n(this.instance)})}resetTransform(){if(!r)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!Pa(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,o=i!==this.prevTransformTemplateValue;e&&(t||Os(this.latestValues)||o)&&(r(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var i;return e&&(n=this.removeTransform(n)),nl((i=n).x),nl(i.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&&($s(t.x,n.offset.x),$s(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Ca(t,e);for(let n=0;n<this.path.length;n++){const i=this.path[n],{scroll:r,options:o}=i;if(i!==this.root&&r&&o.layoutScroll){if(r.isRoot){Ca(t,e);const{scroll:n}=this.root;n&&($s(t.x,-n.offset.x),$s(t.y,-n.offset.y))}$s(t.x,r.offset.x),$s(t.y,r.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Ca(n,e);for(let e=0;e<this.path.length;e++){const i=this.path[e];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&qs(n,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),Os(i.latestValues)&&qs(n,i.latestValues)}return Os(this.latestValues)&&qs(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Ca(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!Os(n.latestValues))continue;Fs(n.latestValues)&&n.updateSnapshot();const i=Ms();Ca(i,n.measurePageBox()),ja(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,i)}return Os(this.latestValues)&&ja(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!==Ei.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 i=Boolean(this.resumingFrom)||this!==n;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:r,layoutId:o}=this.options;if(this.layout&&(r||o)){if(this.resolvedRelativeTargetAt=Ei.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}},Ss(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Ca(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var s,a,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,Ps(s.x,a.x,l.x),Ps(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Ca(this.target,this.layout.layoutBox),Js(this.target,this.targetDelta)):Ca(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}},Ss(this.relativeTargetOrigin,this.target,e.target),Ca(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}La.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Fs(this.parent.latestValues)&&!Ds(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 i=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(i=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===Ei.timestamp&&(i=!1),i)return;const{layout:r,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||!r&&!o)return;Ca(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,i=!1){const r=n.length;if(!r)return;let o,s;t.x=t.y=1;for(let a=0;a<r;a++){o=n[a],s=o.projectionDelta;const r=o.instance;r&&r.style&&"contents"===r.style.display||(i&&o.options.layoutScroll&&o.scroll&&o!==o.root&&qs(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Js(e,s)),i&&Os(o.latestValues)&&qs(e,o.latestValues))}t.x=Us(t.x),t.y=Us(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;ks(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=Ea(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===s&&this.treeScale.y===a||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),La.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,i=n?n.latestValues:{},r={...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 s={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(el));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;Ka(o.x,e.x,n),Ka(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ss(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,i){qa(e.x,t.x,n.x,i),qa(e.y,t.y,n.y,i)}(this.relativeTarget,this.relativeTargetOrigin,s,n),d&&Ga(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Ca(d,this.relativeTarget)),a&&(this.animationValues=r,function(e,t,n,i,r,o){r?(e.opacity=Mr(0,void 0!==n.opacity?n.opacity:1,ba(i)),e.opacityExit=Mr(void 0!==t.opacity?t.opacity:1,0,va(i))):o&&(e.opacity=Mr(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(let r=0;r<pa;r++){const o=`border${ma[r]}Radius`;let s=ga(t,o),a=ga(n,o);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||fa(s)===fa(a)?(e[o]=Math.max(Mr(ha(s),ha(a),i),0),(Vn.test(a)||Vn.test(s))&&(e[o]+="%")):e[o]=a)}(t.rotate||n.rotate)&&(e.rotate=Mr(t.rotate||0,n.rotate||0,i))}(r,i,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&&(Fi(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Wi.update(()=>{oa.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const i=bn(e)?e:Qo(e);return i.start(Oo("",i,t,n)),i.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:i,latestValues:r}=e;if(t&&n&&i){if(this!==e&&this.layout&&i&&il(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Ns(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const i=Ns(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+i}Ca(t,n),qs(t,r),ks(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Ba);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 i=this.getStack();i&&i.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 i={};for(let t=0;t<Va.length;t++){const r="rotate"+Va[t];n[r]&&(i[r]=n[r],e.setStaticValue(r,0))}e.render();for(const t in i)e.setStaticValue(t,i[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const i={};if(!this.instance||this.isSVG)return i;if(!this.isVisible)return{visibility:"hidden"};i.visibility="";const r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=fi(e.pointerEvents)||"",i.transform=r?r(this.latestValues,""):"none",i;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=fi(e.pointerEvents)||""),this.hasProjected&&!Os(this.latestValues)&&(t.transform=r?r({},""):"none",this.hasProjected=!1),t}const s=o.animationValues||o.latestValues;this.applyTransformsToTarget(),i.transform=Ea(this.projectionDeltaWithTransform,this.treeScale,s),r&&(i.transform=r(s,i.transform));const{x:a,y:l}=this.projectionDelta;i.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,o.animationValues?i.opacity=o===this?null!==(n=null!==(t=s.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:i.opacity=o===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in pn){if(void 0===s[e])continue;const{correct:t,applyTo:n}=pn[e],r="none"===i.transform?s[e]:t(s[e],o);if(n){const e=n.length;for(let t=0;t<e;t++)i[n[t]]=r}else i[e]=r}return this.options.layoutId&&(i.pointerEvents=o===this?fi(e.pointerEvents)||"":"none"),i}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(Za),this.root.sharedNodes.clear()}}}function Wa(e){e.updateLayout()}function Fa(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:i}=e.layout,{animationType:r}=e.options,o=n.source!==e.layout.source;"size"===r?Ls(e=>{const i=o?n.measuredBox[e]:n.layoutBox[e],r=Ns(i);i.min=t[e].min,i.max=i.min+r}):il(r,n.layoutBox,t)&&Ls(i=>{const r=o?n.measuredBox[i]:n.layoutBox[i],s=Ns(t[i]);r.max=r.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[i].max=e.relativeTarget[i].min+s)});const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};ks(s,t,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?ks(a,e.applyTransform(i,!0),n.measuredBox):ks(a,t,n.layoutBox);const l=!Pa(s);let c=!1;if(!e.resumeFrom){const i=e.getClosestProjectingParent();if(i&&!i.resumeFrom){const{snapshot:r,layout:o}=i;if(r&&o){const s={x:{min:0,max:0},y:{min:0,max:0}};Ss(s,n.layoutBox,r.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};Ss(a,t,o.layoutBox),Ga(s,a)||(c=!0),i.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=i)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Oa(e){La.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 Da(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function za(e){e.clearSnapshot()}function Za(e){e.clearMeasurements()}function Ha(e){e.isLayoutDirty=!1}function Ya(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Ja(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Ua(e){e.resolveTargetDelta()}function $a(e){e.calcProjection()}function Qa(e){e.resetRotation()}function _a(e){e.removeLeadSnapshot()}function Ka(e,t,n){e.translate=Mr(t.translate,0,n),e.scale=Mr(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function qa(e,t,n,i){e.min=Mr(t.min,n.min,i),e.max=Mr(t.max,n.max,i)}function el(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const tl={duration:.45,ease:[.4,0,.1,1]};function nl(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function il(e,t,n){return"position"===e||"preserve-aspect"===e&&!As(Sa(t),Sa(n),.2)}const rl=Xa({attachResizeListener:(e,t)=>yi(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ol={current:void 0},sl=Xa({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ol.current){const e=new rl({});e.mount(window),e.setOptions({layoutScroll:!0}),ol.current=e}return ol.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),al={pan:{Feature:class extends Bi{constructor(){super(...arguments),this.removePointerDownListener=zi}onPointerDown(e){this.session=new bs(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:ra(e),onStart:ra(t),onMove:n,onEnd:(e,t)=>{delete this.session,i&&Wi.update(()=>i(e,t))}}}mount(){this.removePointerDownListener=wi(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 Bi{constructor(e){super(e),this.removeGroupControls=zi,this.removeListeners=zi,this.controls=new na(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||zi}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:sl,MeasureLayout:ua}},ll=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function cl(e,t,n=1){nr(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[i,r]=function(e){const t=ll.exec(e);if(!t)return[,];const[,n,i]=t;return[n,i]}(e);if(!i)return;const o=window.getComputedStyle(t).getPropertyValue(i);return o?o.trim():In(r)?cl(r,t,n+1):r}const ul=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),dl=e=>ul.has(e),ml=e=>e===An||e===Mn,pl=(e,t)=>parseFloat(e.split(", ")[t]),hl=(e,t)=>(n,{transform:i})=>{if("none"===i||!i)return 0;const r=i.match(/^matrix3d\((.+)\)$/);if(r)return pl(r[1],t);{const t=i.match(/^matrix\((.+)\)$/);return t?pl(t[1],e):0}},fl=new Set(["x","y","z"]),gl=hn.filter(e=>!fl.has(e));const bl={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:hl(4,13),y:hl(5,14)},vl=(e,t,n={},i={})=>{t={...t},i={...i};const r=Object.keys(t).filter(dl);let o=[],s=!1;const a=[];if(r.forEach(r=>{const l=e.getValue(r);if(!e.hasValue(r))return;let c=n[r],u=qo(c);const d=t[r];let m;if(pi(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=qo(c);for(let n=t;n<e&&null!==d[n];n++)m?nr(qo(d[n])===m,"All keyframes must be of the same type"):(m=qo(d[n]),nr(m===u||ml(u)&&ml(m),"Keyframes must be of the same dimension as the current value"))}else m=qo(d);if(u!==m)if(ml(u)&&ml(m)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[r]=parseFloat(d):Array.isArray(d)&&m===Mn&&(t[r]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==m?void 0:m.transform)&&(0===c||0===d)?0===c?l.set(m.transform(c)):t[r]=u.transform(d):(s||(o=function(e){const t=[];return gl.forEach(n=>{const i=e.getValue(n);void 0!==i&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),s=!0),a.push(r),i[r]=void 0!==i[r]?i[r]:t[r],l.jump(d))}),a.length){const n=a.indexOf("height")>=0?window.pageYOffset:null,r=((e,t,n)=>{const i=t.measureViewportBox(),r=t.current,o=getComputedStyle(r),{display:s}=o,a={};"none"===s&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{a[e]=bl[e](i,o)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const i=t.getValue(n);i&&i.jump(a[n]),e[n]=bl[n](l,o)}),e})(t,e,a);return o.length&&o.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),Zt&&null!==n&&window.scrollTo({top:n}),{target:r,transitionEnd:i}}return{target:t,transitionEnd:i}};function xl(e,t,n,i){return(e=>Object.keys(e).some(dl))(t)?vl(e,t,n,i):{target:t,transitionEnd:i}}const yl=(e,t,n,i)=>{const r=function(e,{...t},n){const i=e.current;if(!(i instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!In(t))return;const n=cl(t,i);n&&e.set(n)});for(const e in t){const r=t[e];if(!In(r))continue;const o=cl(r,i);o&&(t[e]=o,n||(n={}),void 0===n[e]&&(n[e]=r))}return{target:t,transitionEnd:n}}(e,t,i);return xl(e,t=r.target,n,i=r.transitionEnd)},Cl={current:null},Il={current:!1};const wl=new WeakMap,Nl=Object.keys(rn),Al=Nl.length,jl=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],kl=_t.length;class Pl{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:i,visualState:r},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=()=>Wi.render(this.render,!1,!0);const{latestValues:s,renderState:a}=r;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=a,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=o,this.isControllingVariants=Kt(t),this.isVariantNode=qt(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{});for(const e in c){const t=c[e];void 0!==s[e]&&bn(t)&&(t.set(s[e],!1),Do(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,wl.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)),Il.current||function(){if(Il.current=!0,Zt)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Cl.current=e.matches;e.addListener(t),t()}else Cl.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Cl.current),"production"!==process.env.NODE_ENV&&Uo(!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(){wl.delete(this.current),this.projection&&this.projection.unmount(),Fi(this.notifyUpdate),Fi(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=fn.has(e),i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&Wi.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),r=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{i(),r()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,i,r){let o,s;if("production"!==process.env.NODE_ENV&&i&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?tr(!1,e):nr(!1,e)}for(let e=0;e<Al;e++){const n=Nl[e],{isEnabled:i,Feature:r,ProjectionNode:a,MeasureLayout:l}=rn[n];a&&(o=a),i(t)&&(!this.features[n]&&r&&(this.features[n]=new r(this)),l&&(s=l))}if(!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:i,dragConstraints:s,layoutScroll:a,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(i)||s&&Jt(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:r,layoutScroll:a,layoutRoot:l})}return s}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<jl.length;t++){const n=jl[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const i=e["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i))}this.prevMotionValues=function(e,t,n){const{willChange:i}=t;for(const r in t){const o=t[r],s=n[r];if(bn(o))e.addValue(r,o),Do(i)&&i.add(r),"development"===process.env.NODE_ENV&&Uo("10.12.16"===o.version,`Attempting to mix Framer Motion versions ${o.version} with 10.12.16 may not work as expected.`);else if(bn(s))e.addValue(r,Qo(o,{owner:e})),Do(i)&&i.remove(r);else if(s!==o)if(e.hasValue(r)){const t=e.getValue(r);!t.hasAnimated&&t.set(o)}else{const t=e.getStaticValue(r);e.addValue(r,Qo(void 0!==t?t:o,{owner:e}))}}for(const i in n)void 0===t[i]&&e.removeValue(i);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<kl;e++){const n=_t[e],i=this.props[n];(Ut(i)||!1===i)&&(t[n]=i)}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=Qo(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,i="string"==typeof n||"object"==typeof n?null===(t=di(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==i)return i;const r=this.getBaseTargetFromProps(this.props,e);return void 0===r||bn(r)?void 0!==this.initialValues[e]&&void 0===i?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new Yo),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Gl extends Pl{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:i},r){let o=function(e,t,n){const i={};for(const r in e){const e=is(r,t);if(void 0!==e)i[r]=e;else{const e=n.getValue(r);e&&(i[r]=e.get())}}return i}(n,e||{},this);if(i&&(t&&(t=i(t)),n&&(n=i(n)),o&&(o=i(o))),r){!function(e,t,n){var i,r;const o=Object.keys(t).filter(t=>!e.hasValue(t)),s=o.length;if(s)for(let a=0;a<s;a++){const s=o[a],l=t[s];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(r=null!==(i=n[s])&&void 0!==i?i:e.readValue(s))&&void 0!==r?r:t[s]),null!=c&&("string"==typeof c&&(zo(c)||Xo(c))?c=parseFloat(c):!ts(c)&&Qr.test(l)&&(c=Lo(s,l)),e.addValue(s,Qo(c,{owner:e})),void 0===n[s]&&(n[s]=c),null!==c&&e.setBaseTarget(s,c))}}(this,n,o);const e=yl(this,n,o,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class Sl extends Gl{readValueFromInstance(e,t){if(fn.has(t)){const e=Mo(t);return e&&e.default||0}{const i=(n=e,window.getComputedStyle(n)),r=(Cn(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof r?r.trim():r}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return ea(e,t)}build(e,t,n,i){Dn(e,t,n,i.transformTemplate)}scrapeMotionValuesFromProps(e,t){return ci(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;bn(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,i){si(e,t,n,i)}}class Bl extends Gl{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(fn.has(t)){const e=Mo(t);return e&&e.default||0}return t=ai.has(t)?t:oi(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return ui(e,t)}build(e,t,n,i){ei(e,t,n,this.isSVGTag,i.transformTemplate)}renderInstance(e,t,n,i){li(e,t,0,i)}mount(e){this.isSVGTag=ni(e.tagName),super.mount(e)}}const El=(e,t)=>mn(e)?new Bl(t,{enableHardwareAcceleration:!1}):new Sl(t,{enableHardwareAcceleration:!0}),Tl={...fs,..._i,...al,...{layout:{ProjectionNode:sl,MeasureLayout:ua}}},Rl=un((e,t)=>function(e,{forwardMotionProps:t=!1},n,i){return{...mn(e)?vi:xi,preloadedFeatures:n,useRender:ri(t),createVisualElement:i,Component:e}}(e,t,Tl,El));function Vl(){const e=t.useRef(!1);return Ht(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class Ml extends m.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 Ll({children:e,isPresent:n}){const i=t.useId(),r=t.useRef(null),o=t.useRef({width:0,height:0,top:0,left:0});return t.useInsertionEffect(()=>{const{width:e,height:t,top:s,left:a}=o.current;if(n||!r.current||!e||!t)return;r.current.dataset.motionPopId=i;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n [data-motion-pop-id="${i}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${t}px !important;\n top: ${s}px !important;\n left: ${a}px !important;\n }\n `),()=>{document.head.removeChild(l)}},[n]),m.createElement(Ml,{isPresent:n,childRef:r,sizeRef:o},m.cloneElement(e,{ref:r}))}const Xl=({children:e,initial:n,isPresent:i,onExitComplete:r,custom:o,presenceAffectsLayout:s,mode:a})=>{const l=mi(Wl),c=t.useId(),u=t.useMemo(()=>({id:c,initial:n,isPresent:i,custom:o,onExitComplete:e=>{l.set(e,!0);for(const e of l.values())if(!e)return;r&&r()},register:e=>(l.set(e,!1),()=>l.delete(e))}),s?void 0:[i]);return t.useMemo(()=>{l.forEach((e,t)=>l.set(t,!1))},[i]),m.useEffect(()=>{!i&&!l.size&&r&&r()},[i]),"popLayout"===a&&(e=m.createElement(Ll,{isPresent:i},e)),m.createElement(zt.Provider,{value:u},e)};function Wl(){return new Map}const Fl=e=>e.key||"";const Ol=({children:e,custom:n,initial:i=!0,onExitComplete:r,exitBeforeEnter:o,presenceAffectsLayout:s=!0,mode:a="sync"})=>{nr(!o,"Replace exitBeforeEnter with mode='wait'");const l=t.useContext(on).forceRender||function(){const e=Vl(),[n,i]=t.useState(0),r=t.useCallback(()=>{e.current&&i(n+1)},[n]);return[t.useCallback(()=>Wi.postRender(r),[r]),n]}()[0],c=Vl(),u=function(e){const n=[];return t.Children.forEach(e,e=>{t.isValidElement(e)&&n.push(e)}),n}(e);let d=u;const p=t.useRef(new Map).current,h=t.useRef(d),f=t.useRef(new Map).current,g=t.useRef(!0);var b;if(Ht(()=>{g.current=!1,function(e,t){e.forEach(e=>{const n=Fl(e);t.set(n,e)})}(u,f),h.current=d}),b=()=>{g.current=!0,f.clear(),p.clear()},t.useEffect(()=>()=>b(),[]),g.current)return m.createElement(m.Fragment,null,d.map(e=>m.createElement(Xl,{key:Fl(e),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:s,mode:a},e)));d=[...d];const v=h.current.map(Fl),x=u.map(Fl),y=v.length;for(let e=0;e<y;e++){const t=v[e];-1!==x.indexOf(t)||p.has(t)||p.set(t,void 0)}return"wait"===a&&p.size&&(d=[]),p.forEach((e,t)=>{if(-1!==x.indexOf(t))return;const i=f.get(t);if(!i)return;const o=v.indexOf(t);let g=e;if(!g){const e=()=>{f.delete(t),p.delete(t);const e=h.current.findIndex(e=>e.key===t);if(h.current.splice(e,1),!p.size){if(h.current=u,!1===c.current)return;l(),r&&r()}};g=m.createElement(Xl,{key:Fl(i),isPresent:!1,onExitComplete:e,custom:n,presenceAffectsLayout:s,mode:a},i),p.set(t,g)}d.splice(o,0,g)}),d=d.map(e=>{const t=e.key;return p.has(t)?e:m.createElement(Xl,{key:Fl(e),isPresent:!0,presenceAffectsLayout:s,mode:a},e)}),"production"!==process.env.NODE_ENV&&"wait"===a&&d.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.'),m.createElement(m.Fragment,null,p.size?d:d.map(e=>t.cloneElement(e)))};function Dl(){return Dl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Dl.apply(null,arguments)}function zl(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(null==e||e(i),!1===n||!i.defaultPrevented)return null==t?void 0:t(i)}}function Zl(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function Hl(...e){return t.useCallback(Zl(...e),e)}function Yl(...e){const n=e[0];if(1===e.length)return n;const i=()=>{const i=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const r=i.reduce((t,{useScope:n,scopeName:i})=>({...t,...n(e)[`__scope${i}`]}),{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:r}),[r])}};return i.scopeName=n.scopeName,i}const Jl=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?t.useLayoutEffect:()=>{},Ul=m["useId".toString()]||(()=>{});let $l=0;function Ql(e){const[t,n]=m.useState(Ul());return Jl(()=>{n(e=>null!=e?e:String($l++))},[e]),e||(t?`radix-${t}`:"")}function _l(e){const n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>{var t;return null===(t=n.current)||void 0===t?void 0:t.call(n,...e)},[])}function Kl({prop:e,defaultProp:n,onChange:i=()=>{}}){const[r,o]=function({defaultProp:e,onChange:n}){const i=t.useState(e),[r]=i,o=t.useRef(r),s=_l(n);return t.useEffect(()=>{o.current!==r&&(s(r),o.current=r)},[r,o,s]),i}({defaultProp:n,onChange:i}),s=void 0!==e,a=s?e:r,l=_l(i);return[a,t.useCallback(t=>{if(s){const n="function"==typeof t?t(e):t;n!==e&&l(n)}else o(t)},[s,e,o,l])]}const ql=t.forwardRef((e,n)=>{const{children:i,...r}=e,o=t.Children.toArray(i),s=o.find(nc);if(s){const e=s.props.children,i=o.map(n=>n===s?t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null:n);return t.createElement(ec,Dl({},r,{ref:n}),t.isValidElement(e)?t.cloneElement(e,void 0,i):null)}return t.createElement(ec,Dl({},r,{ref:n}),i)});ql.displayName="Slot";const ec=t.forwardRef((e,n)=>{const{children:i,...r}=e;return t.isValidElement(i)?t.cloneElement(i,{...ic(r,i.props),ref:n?Zl(n,i.ref):i.ref}):t.Children.count(i)>1?t.Children.only(null):null});ec.displayName="SlotClone";const tc=({children:e})=>t.createElement(t.Fragment,null,e);function nc(e){return t.isValidElement(e)&&e.type===tc}function ic(e,t){const n={...t};for(const i in t){const r=e[i],o=t[i];/^on[A-Z]/.test(i)?r&&o?n[i]=(...e)=>{o(...e),r(...e)}:r&&(n[i]=r):"style"===i?n[i]={...r,...o}:"className"===i&&(n[i]=[r,o].filter(Boolean).join(" "))}return{...e,...n}}const rc=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,n)=>{const i=t.forwardRef((e,i)=>{const{asChild:r,...o}=e,s=r?ql:n;return t.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),t.createElement(s,Dl({},o,{ref:i}))});return i.displayName=`Primitive.${n}`,{...e,[n]:i}},{});const oc="dismissableLayer.update",sc="dismissableLayer.pointerDownOutside",ac="dismissableLayer.focusOutside";let lc;const cc=t.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),uc=t.forwardRef((e,n)=>{var i;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:a,onInteractOutside:l,onDismiss:c,...u}=e,d=t.useContext(cc),[m,p]=t.useState(null),h=null!==(i=null==m?void 0:m.ownerDocument)&&void 0!==i?i:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,f]=t.useState({}),g=Hl(n,e=>p(e)),b=Array.from(d.layers),[v]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=b.indexOf(v),y=m?b.indexOf(m):-1,C=d.layersWithOutsidePointerEventsDisabled.size>0,I=y>=x,w=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const i=_l(e),r=t.useRef(!1),o=t.useRef(()=>{});return t.useEffect(()=>{const e=e=>{if(e.target&&!r.current){const t={originalEvent:e};function s(){mc(sc,i,t,{discrete:!0})}"touch"===e.pointerType?(n.removeEventListener("click",o.current),o.current=s,n.addEventListener("click",o.current,{once:!0})):s()}else n.removeEventListener("click",o.current);r.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",o.current)}},[n,i]),{onPointerDownCapture:()=>r.current=!0}}(e=>{const t=e.target,n=[...d.branches].some(e=>e.contains(t));I&&!n&&(null==s||s(e),null==l||l(e),e.defaultPrevented||null==c||c())},h),N=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const i=_l(e),r=t.useRef(!1);return t.useEffect(()=>{const e=e=>{if(e.target&&!r.current){mc(ac,i,{originalEvent:e},{discrete:!1})}};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,i]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{const t=e.target;[...d.branches].some(e=>e.contains(t))||(null==a||a(e),null==l||l(e),e.defaultPrevented||null==c||c())},h);return function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const i=_l(e);t.useEffect(()=>{const e=e=>{"Escape"===e.key&&i(e)};return n.addEventListener("keydown",e),()=>n.removeEventListener("keydown",e)},[i,n])}(e=>{y===d.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},h),t.useEffect(()=>{if(m)return r&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(lc=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(m)),d.layers.add(m),dc(),()=>{r&&1===d.layersWithOutsidePointerEventsDisabled.size&&(h.body.style.pointerEvents=lc)}},[m,h,r,d]),t.useEffect(()=>()=>{m&&(d.layers.delete(m),d.layersWithOutsidePointerEventsDisabled.delete(m),dc())},[m,d]),t.useEffect(()=>{const e=()=>f({});return document.addEventListener(oc,e),()=>document.removeEventListener(oc,e)},[]),t.createElement(rc.div,Dl({},u,{ref:g,style:{pointerEvents:C?I?"auto":"none":void 0,...e.style},onFocusCapture:zl(e.onFocusCapture,N.onFocusCapture),onBlurCapture:zl(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:zl(e.onPointerDownCapture,w.onPointerDownCapture)}))});function dc(){const e=new CustomEvent(oc);document.dispatchEvent(e)}function mc(e,t,n,{discrete:i}){const r=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),i?function(e,t){e&&l.flushSync(()=>e.dispatchEvent(t))}(r,o):r.dispatchEvent(o)}const pc="focusScope.autoFocusOnMount",hc="focusScope.autoFocusOnUnmount",fc={bubbles:!1,cancelable:!0},gc=t.forwardRef((e,n)=>{const{loop:i=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...a}=e,[l,c]=t.useState(null),u=_l(o),d=_l(s),m=t.useRef(null),p=Hl(n,e=>c(e)),h=t.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t.useEffect(()=>{if(r){function e(e){if(h.paused||!l)return;const t=e.target;l.contains(t)?m.current=t:yc(m.current,{select:!0})}function t(e){if(h.paused||!l)return;const t=e.relatedTarget;null!==t&&(l.contains(t)||yc(m.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&yc(l)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const i=new MutationObserver(n);return l&&i.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),i.disconnect()}}},[r,l,h.paused]),t.useEffect(()=>{if(l){Cc.add(h);const t=document.activeElement;if(!l.contains(t)){const n=new CustomEvent(pc,fc);l.addEventListener(pc,u),l.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const i of e)if(yc(i,{select:t}),document.activeElement!==n)return}((e=bc(l),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&yc(l))}return()=>{l.removeEventListener(pc,u),setTimeout(()=>{const e=new CustomEvent(hc,fc);l.addEventListener(hc,d),l.dispatchEvent(e),e.defaultPrevented||yc(null!=t?t:document.body,{select:!0}),l.removeEventListener(hc,d),Cc.remove(h)},0)}}var e},[l,u,d,h]);const f=t.useCallback(e=>{if(!i&&!r)return;if(h.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){const t=e.currentTarget,[r,o]=function(e){const t=bc(e),n=vc(t,e),i=vc(t.reverse(),e);return[n,i]}(t);r&&o?e.shiftKey||n!==o?e.shiftKey&&n===r&&(e.preventDefault(),i&&yc(o,{select:!0})):(e.preventDefault(),i&&yc(r,{select:!0})):n===t&&e.preventDefault()}},[i,r,h.paused]);return t.createElement(rc.div,Dl({tabIndex:-1},a,{ref:p,onKeyDown:f}))});function bc(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 vc(e,t){for(const n of e)if(!xc(n,{upTo:t}))return n}function xc(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 yc(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 Cc=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=Ic(e,t),e.unshift(t)},remove(t){var n;e=Ic(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function Ic(e,t){const n=[...e],i=n.indexOf(t);return-1!==i&&n.splice(i,1),n}const wc=t.forwardRef((e,n)=>{var i;const{container:r=(null===globalThis||void 0===globalThis||null===(i=globalThis.document)||void 0===i?void 0:i.body),...o}=e;return r?g.default.createPortal(t.createElement(rc.div,Dl({},o,{ref:n})),r):null});const Nc=e=>{const{present:n,children:i}=e,r=function(e){const[n,i]=t.useState(),r=t.useRef({}),o=t.useRef(e),s=t.useRef("none"),a=e?"mounted":"unmounted",[c,u]=function(e,n){return t.useReducer((e,t)=>{const i=n[e][t];return null!=i?i:e},e)}(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{const e=Ac(r.current);s.current="mounted"===c?e:"none"},[c]),Jl(()=>{const t=r.current,n=o.current;if(n!==e){const i=s.current,r=Ac(t);if(e)u("MOUNT");else if("none"===r||"none"===(null==t?void 0:t.display))u("UNMOUNT");else{u(n&&i!==r?"ANIMATION_OUT":"UNMOUNT")}o.current=e}},[e,u]),Jl(()=>{if(n){const e=e=>{const t=Ac(r.current).includes(e.animationName);e.target===n&&t&&l.flushSync(()=>u("ANIMATION_END"))},t=e=>{e.target===n&&(s.current=Ac(r.current))};return n.addEventListener("animationstart",t),n.addEventListener("animationcancel",e),n.addEventListener("animationend",e),()=>{n.removeEventListener("animationstart",t),n.removeEventListener("animationcancel",e),n.removeEventListener("animationend",e)}}u("ANIMATION_END")},[n,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:t.useCallback(e=>{e&&(r.current=getComputedStyle(e)),i(e)},[])}}(n),o="function"==typeof i?i({present:r.isPresent}):t.Children.only(i),s=Hl(r.ref,o.ref);return"function"==typeof i||r.isPresent?t.cloneElement(o,{ref:s}):null};function Ac(e){return(null==e?void 0:e.animationName)||"none"}Nc.displayName="Presence";let jc=0;function kc(){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 Pc=function(){return Pc=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},Pc.apply(this,arguments)};function Gc(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}"function"==typeof SuppressedError&&SuppressedError;var Sc="right-scroll-bar-position",Bc="width-before-scroll-bar";function Ec(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var Tc="undefined"!=typeof window?m.useLayoutEffect:m.useEffect,Rc=new WeakMap;function Vc(e,n){var i,r,o,s=(i=null,r=function(t){return e.forEach(function(e){return Ec(e,t)})},(o=t.useState(function(){return{value:i,callback:r,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}})[0]).callback=r,o.facade);return Tc(function(){var t=Rc.get(s);if(t){var n=new Set(t),i=new Set(e),r=s.current;n.forEach(function(e){i.has(e)||Ec(e,null)}),i.forEach(function(e){n.has(e)||Ec(e,r)})}Rc.set(s,e)},[e]),s}function Mc(e){return e}var Lc=function(e){var t=e.sideCar,n=Gc(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 m.createElement(i,Pc({},n))};Lc.isSideCarExport=!0;var Xc=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=Mc);var n=[],i=!1,r={read:function(){if(i)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var r=t(e,i);return n.push(r),function(){n=n.filter(function(e){return e!==r})}},assignSyncMedium:function(e){for(i=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){i=!0;var t=[];if(n.length){var r=n;n=[],r.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},s=function(){return Promise.resolve().then(o)};s(),n={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),n}}}};return r}(null);return t.options=Pc({async:!0,ssr:!1},e),t}(),Wc=function(){},Fc=m.forwardRef(function(e,t){var n=m.useRef(null),i=m.useState({onScrollCapture:Wc,onWheelCapture:Wc,onTouchMoveCapture:Wc}),r=i[0],o=i[1],s=e.forwardProps,a=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,d=e.shards,p=e.sideCar,h=e.noIsolation,f=e.inert,g=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,x=Gc(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),y=p,C=Vc([n,t]),I=Pc(Pc({},x),r);return m.createElement(m.Fragment,null,u&&m.createElement(y,{sideCar:Xc,removeScrollBar:c,shards:d,noIsolation:h,inert:f,setCallbacks:o,allowPinchZoom:!!g,lockRef:n}),s?m.cloneElement(m.Children.only(a),Pc(Pc({},I),{ref:C})):m.createElement(v,Pc({},I,{className:l,ref:C}),a))});Fc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Fc.classNames={fullWidth:Bc,zeroRight:Sc};function Oc(){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 Dc=function(){var e=0,t=null;return{add:function(n){var i;0==e&&(t=Oc())&&(!function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},zc=function(){var e,t=(e=Dc(),function(t,n){m.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,i=e.dynamic;return t(n,i),null}},Zc={left:0,top:0,right:0,gap:0},Hc=function(e){return parseInt(e||"",10)||0},Yc=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Zc;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],i=t["padding"===e?"paddingTop":"marginTop"],r=t["padding"===e?"paddingRight":"marginRight"];return[Hc(n),Hc(i),Hc(r)]}(e),n=document.documentElement.clientWidth,i=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,i-n+t[2]-t[0])}},Jc=zc(),Uc="data-scroll-locked",$c=function(e,t,n,i){var r=e.left,o=e.top,s=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(i,";\n padding-right: ").concat(a,"px ").concat(i,";\n }\n body[").concat(Uc,"] {\n overflow: hidden ").concat(i,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(i,";"),"margin"===n&&"\n padding-left: ".concat(r,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(i,";\n "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(i,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Sc," {\n right: ").concat(a,"px ").concat(i,";\n }\n \n .").concat(Bc," {\n margin-right: ").concat(a,"px ").concat(i,";\n }\n \n .").concat(Sc," .").concat(Sc," {\n right: 0 ").concat(i,";\n }\n \n .").concat(Bc," .").concat(Bc," {\n margin-right: 0 ").concat(i,";\n }\n \n body[").concat(Uc,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},Qc=function(){var e=parseInt(document.body.getAttribute(Uc)||"0",10);return isFinite(e)?e:0},_c=function(e){var t=e.noRelative,n=e.noImportant,i=e.gapMode,r=void 0===i?"margin":i;m.useEffect(function(){return document.body.setAttribute(Uc,(Qc()+1).toString()),function(){var e=Qc()-1;e<=0?document.body.removeAttribute(Uc):document.body.setAttribute(Uc,e.toString())}},[]);var o=m.useMemo(function(){return Yc(r)},[r]);return m.createElement(Jc,{styles:$c(o,!t,r,n?"":"!important")})},Kc=!1;if("undefined"!=typeof window)try{var qc=Object.defineProperty({},"passive",{get:function(){return Kc=!0,!0}});window.addEventListener("test",qc,qc),window.removeEventListener("test",qc,qc)}catch(e){Kc=!1}var eu=!!Kc&&{passive:!1},tu=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])},nu=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),iu(e,n)){var i=ru(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},iu=function(e,t){return"v"===e?function(e){return tu(e,"overflowY")}(t):function(e){return tu(e,"overflowX")}(t)},ru=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)},ou=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},su=function(e){return[e.deltaX,e.deltaY]},au=function(e){return e&&"current"in e?e.current:e},lu=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},cu=0,uu=[];var du,mu=(du=function(e){var t=m.useRef([]),n=m.useRef([0,0]),i=m.useRef(),r=m.useState(cu++)[0],o=m.useState(function(){return zc()})[0],s=m.useRef(e);m.useEffect(function(){s.current=e},[e]),m.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var t=function(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(au),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var a=m.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var r,o=ou(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 m=nu(d,u);if(!m)return!0;if(m?r=d:(r="v"===d?"h":"v",m=nu(d,u)),!m)return!1;if(!i.current&&"changedTouches"in e&&(l||c)&&(i.current=r),!r)return!0;var p=i.current||r;return function(e,t,n,i){var r=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),o=r*i,s=n.target,a=t.contains(s),l=!1,c=o>0,u=0,d=0;do{var m=ru(e,s),p=m[0],h=m[1]-m[2]-r*p;(p||h)&&iu(e,s)&&(u+=h,d+=p),s=s.parentNode}while(!a&&s!==document.body||a&&(t.contains(s)||t===s));return c&&0===u?l=!0:c||0!==d||(l=!0),l}(p,t,e,"h"===p?l:c)},[]),l=m.useCallback(function(e){var n=e;if(uu.length&&uu[uu.length-1]===o){var i="deltaY"in n?su(n):ou(n),r=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,r=i,t[0]===r[0]&&t[1]===r[1]);var t,r})[0];if(r&&r.should)n.cancelable&&n.preventDefault();else if(!r){var l=(s.current.shards||[]).map(au).filter(Boolean).filter(function(e){return e.contains(n.target)});(l.length>0?a(n,l[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),c=m.useCallback(function(e,n,i,r){var o={name:e,delta:n,target:i,should:r};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),u=m.useCallback(function(e){n.current=ou(e),i.current=void 0},[]),d=m.useCallback(function(t){c(t.type,su(t),t.target,a(t,e.lockRef.current))},[]),p=m.useCallback(function(t){c(t.type,ou(t),t.target,a(t,e.lockRef.current))},[]);m.useEffect(function(){return uu.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,eu),document.addEventListener("touchmove",l,eu),document.addEventListener("touchstart",u,eu),function(){uu=uu.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,eu),document.removeEventListener("touchmove",l,eu),document.removeEventListener("touchstart",u,eu)}},[]);var h=e.removeScrollBar,f=e.inert;return m.createElement(m.Fragment,null,f?m.createElement(o,{styles:lu(r)}):null,h?m.createElement(_c,{gapMode:"margin"}):null)},Xc.useMedium(du),Lc),pu=m.forwardRef(function(e,t){return m.createElement(Fc,Pc({},e,{ref:t,sideCar:mu}))});pu.classNames=Fc.classNames;var hu=new WeakMap,fu=new WeakMap,gu={},bu=0,vu=function(e){return e&&(e.host||vu(e.parentNode))},xu=function(e,t,n,i){var r=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=vu(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]);gu[n]||(gu[n]=new WeakMap);var o=gu[n],s=[],a=new Set,l=new Set(r),c=function(e){e&&!a.has(e)&&(a.add(e),c(e.parentNode))};r.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(a.has(e))u(e);else try{var t=e.getAttribute(i),r=null!==t&&"false"!==t,l=(hu.get(e)||0)+1,c=(o.get(e)||0)+1;hu.set(e,l),o.set(e,c),s.push(e),1===l&&r&&fu.set(e,!0),1===c&&e.setAttribute(n,"true"),r||e.setAttribute(i,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),a.clear(),bu++,function(){s.forEach(function(e){var t=hu.get(e)-1,r=o.get(e)-1;hu.set(e,t),o.set(e,r),t||(fu.has(e)||e.removeAttribute(i),fu.delete(e)),r||e.removeAttribute(n)}),--bu||(hu=new WeakMap,hu=new WeakMap,fu=new WeakMap,gu={})}},yu=function(e,t,n){void 0===n&&(n="data-aria-hidden");var i=Array.from(Array.isArray(e)?e:[e]),r=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return r?(i.push.apply(i,Array.from(r.querySelectorAll("[aria-live], script"))),xu(i,r,n,"aria-hidden")):function(){return null}};const Cu="Dialog",[Iu,wu]=function(e,n=[]){let i=[];const r=()=>{const n=i.map(e=>t.createContext(e));return function(i){const r=(null==i?void 0:i[e])||n;return t.useMemo(()=>({[`__scope${e}`]:{...i,[e]:r}}),[i,r])}};return r.scopeName=e,[function(n,r){const o=t.createContext(r),s=i.length;function a(n){const{scope:i,children:r,...a}=n,l=(null==i?void 0:i[e][s])||o,c=t.useMemo(()=>a,Object.values(a));return t.createElement(l.Provider,{value:c},r)}return i=[...i,r],a.displayName=n+"Provider",[a,function(i,a){const l=(null==a?void 0:a[e][s])||o,c=t.useContext(l);if(c)return c;if(void 0!==r)return r;throw new Error(`\`${i}\` must be used within \`${n}\``)}]},Yl(r,...n)]}(Cu),[Nu,Au]=Iu(Cu),ju="DialogPortal",[ku,Pu]=Iu(ju,{forceMount:void 0}),Gu="DialogOverlay",Su=t.forwardRef((e,n)=>{const i=Pu(Gu,e.__scopeDialog),{forceMount:r=i.forceMount,...o}=e,s=Au(Gu,e.__scopeDialog);return s.modal?t.createElement(Nc,{present:r||s.open},t.createElement(Bu,Dl({},o,{ref:n}))):null}),Bu=t.forwardRef((e,n)=>{const{__scopeDialog:i,...r}=e,o=Au(Gu,i);return t.createElement(pu,{as:ql,allowPinchZoom:!0,shards:[o.contentRef]},t.createElement(rc.div,Dl({"data-state":Fu(o.open)},r,{ref:n,style:{pointerEvents:"auto",...r.style}})))}),Eu="DialogContent",Tu=t.forwardRef((e,n)=>{const i=Pu(Eu,e.__scopeDialog),{forceMount:r=i.forceMount,...o}=e,s=Au(Eu,e.__scopeDialog);return t.createElement(Nc,{present:r||s.open},s.modal?t.createElement(Ru,Dl({},o,{ref:n})):t.createElement(Vu,Dl({},o,{ref:n})))}),Ru=t.forwardRef((e,n)=>{const i=Au(Eu,e.__scopeDialog),r=t.useRef(null),o=Hl(n,i.contentRef,r);return t.useEffect(()=>{const e=r.current;if(e)return yu(e)},[]),t.createElement(Mu,Dl({},e,{ref:o,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:zl(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=i.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:zl(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:zl(e.onFocusOutside,e=>e.preventDefault())}))}),Vu=t.forwardRef((e,n)=>{const i=Au(Eu,e.__scopeDialog),r=t.useRef(!1),o=t.useRef(!1);return t.createElement(Mu,Dl({},e,{ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,s;(null===(n=e.onCloseAutoFocus)||void 0===n||n.call(e,t),t.defaultPrevented)||(r.current||null===(s=i.triggerRef.current)||void 0===s||s.focus(),t.preventDefault());r.current=!1,o.current=!1},onInteractOutside:t=>{var n,s;null===(n=e.onInteractOutside)||void 0===n||n.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const a=t.target;(null===(s=i.triggerRef.current)||void 0===s?void 0:s.contains(a))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}}))}),Mu=t.forwardRef((e,n)=>{const{__scopeDialog:i,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:s,...a}=e,l=Au(Eu,i),c=Hl(n,t.useRef(null));return t.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:kc()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:kc()),jc++,()=>{1===jc&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),jc--}},[]),t.createElement(t.Fragment,null,t.createElement(gc,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:s},t.createElement(uc,Dl({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":Fu(l.open)},a,{ref:c,onDismiss:()=>l.onOpenChange(!1)}))),!1)}),Lu="DialogTitle",Xu="DialogClose",Wu=t.forwardRef((e,n)=>{const{__scopeDialog:i,...r}=e,o=Au(Xu,i);return t.createElement(rc.button,Dl({type:"button"},r,{ref:n,onClick:zl(e.onClick,()=>o.onOpenChange(!1))}))});function Fu(e){return e?"open":"closed"}!function(e,n){const i=t.createContext(n);function r(e){const{children:n,...r}=e,o=t.useMemo(()=>r,Object.values(r));return t.createElement(i.Provider,{value:o},n)}r.displayName=e+"Provider"}("DialogTitleWarning",{contentName:Eu,titleName:Lu,docsSlug:"dialog"});const Ou=e=>{const{__scopeDialog:n,children:i,open:r,defaultOpen:o,onOpenChange:s,modal:a=!0}=e,l=t.useRef(null),c=t.useRef(null),[u=!1,d]=Kl({prop:r,defaultProp:o,onChange:s});return t.createElement(Nu,{scope:n,triggerRef:l,contentRef:c,contentId:Ql(),titleId:Ql(),descriptionId:Ql(),open:u,onOpenChange:d,onOpenToggle:t.useCallback(()=>d(e=>!e),[d]),modal:a},i)},Du=e=>{const{__scopeDialog:n,forceMount:i,children:r,container:o}=e,s=Au(ju,n);return t.createElement(ku,{scope:n,forceMount:i},t.Children.map(r,e=>t.createElement(Nc,{present:i||s.open},t.createElement(wc,{asChild:!0,container:o},e))))},zu=Su,Zu=Tu,Hu=Wu,Yu=t=>{const{isOpen:n,onRequestClose:i,size:r,title:o,content:s,description:a,children:l,bodyClassName:c,type:u="modal",index:d=0}=t;return e.jsx(Ou,{open:n,onOpenChange:()=>n&&(null==i?void 0:i()),children:e.jsxs(Du,{children:[e.jsx(Rl.div,{initial:"closed",animate:n?"open":"closed",variants:Xt,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e.jsx(zu,{})}),e.jsx("div",{className:"pointer-events-none fixed inset-0 z-[1001] flex items-center justify-center",children:e.jsx(Rl.div,{initial:"closed",animate:n?"open":"closed",variants:Wt,transition:{type:"tween",duration:.3,ease:"easeInOut"},className:"pointer-events-auto w-[calc(100vw-10px)] focus:outline-none sm:w-[calc(100vw-90px)]",children:e.jsx(Zu,{className:Se("relative mx-auto w-full rounded-modal bg-bg p-[25px] shadow-drop focus:outline-none",c),style:{maxWidth:Ft[r||"lg"]},children:e.jsxs("div",{"data-section-type":u,"data-section-index":d,children:[e.jsx(Hu,{asChild:!0,children:e.jsx(qe,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e.jsx(Xe,{name:"close"})})}),e.jsxs("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[o?e.jsx(We,{className:Se("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:o}):null,a?e.jsx(We,{as:"div",className:"mb-8 sm:mb-5",children:a}):null,e.jsxs("div",{className:"flex flex-col gap-4 sm:gap-5",children:[s,l||null]})]})]})})})})]})})},Ju=({currentPage:t,totalPages:n,onPageChange:i,ariaLabel:r="Pagination"})=>{const o=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]}(t,n),s="inline-flex items-center justify-center w-9 h-9 rounded-full bg-transparent cursor-pointer transition-colors duration-150 hover:border-text-brand hover:text-text-brand disabled:opacity-40 disabled:cursor-not-allowed";return e.jsxs("nav",{className:"flex items-center justify-center gap-1 px-6 pb-12","aria-label":r,children:[e.jsx(Je,{className:s,onClick:()=>i(t-1),disabled:1===t,"aria-label":"Go to previous page",children:e.jsx(Xe,{name:"chevron_left",size:32,"aria-hidden":"true"})}),o.map((n,r)=>"..."===n?e.jsx("span",{className:"inline-flex h-9 w-9 cursor-default items-center justify-center text-body2 text-gray-500","aria-hidden":"true",children:"…"},`ellipsis-${r}`):e.jsx(Je,{className:"inline-flex items-center justify-center w-9 h-9 rounded-lg text-body2 text-gray-700 bg-transparent border-none cursor-pointer transition-colors duration-150 hover:bg-gray-100 hover:text-gray-900 "+(n===t?"bg-bg-surface-active font-bold hover:bg-bg-gray-300":""),onClick:()=>i(n),"aria-label":`Go to page ${n}`,"aria-current":n===t?"page":void 0,children:n},n)),e.jsx(Je,{className:s,onClick:()=>i(t+1),disabled:t===n,"aria-label":"Go to next page",children:e.jsx(Xe,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function Uu(e){return Uu="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},Uu(e)}function $u(e){var t=function(e,t){if("object"!=Uu(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=Uu(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Uu(t)?t:t+""}function Qu(e,t,n){return(t=$u(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function Ku(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_u(Object(n),!0).forEach(function(t){Qu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function qu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function ed(e,t){if(e){if("string"==typeof e)return qu(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)?qu(e,t):void 0}}function td(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 i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||ed(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 nd(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var id=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function rd(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,$u(i.key),i)}}function od(e,t){return od=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},od(e,t)}function sd(e){return sd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},sd(e)}function ad(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ad=function(){return!!e})()}function ld(e,t){if(t&&("object"==Uu(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 cd(e){return function(e){if(Array.isArray(e))return qu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ed(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 ud=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}(),dd="-ms-",md="-moz-",pd="-webkit-",hd="comm",fd="rule",gd="decl",bd="@keyframes",vd=Math.abs,xd=String.fromCharCode,yd=Object.assign;function Cd(e){return e.trim()}function Id(e,t,n){return e.replace(t,n)}function wd(e,t){return e.indexOf(t)}function Nd(e,t){return 0|e.charCodeAt(t)}function Ad(e,t,n){return e.slice(t,n)}function jd(e){return e.length}function kd(e){return e.length}function Pd(e,t){return t.push(e),e}var Gd=1,Sd=1,Bd=0,Ed=0,Td=0,Rd="";function Vd(e,t,n,i,r,o,s){return{value:e,root:t,parent:n,type:i,props:r,children:o,line:Gd,column:Sd,length:s,return:""}}function Md(e,t){return yd(Vd("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ld(){return Td=Ed>0?Nd(Rd,--Ed):0,Sd--,10===Td&&(Sd=1,Gd--),Td}function Xd(){return Td=Ed<Bd?Nd(Rd,Ed++):0,Sd++,10===Td&&(Sd=1,Gd++),Td}function Wd(){return Nd(Rd,Ed)}function Fd(){return Ed}function Od(e,t){return Ad(Rd,e,t)}function Dd(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 zd(e){return Gd=Sd=1,Bd=jd(Rd=e),Ed=0,[]}function Zd(e){return Rd="",e}function Hd(e){return Cd(Od(Ed-1,Ud(91===e?e+2:40===e?e+1:e)))}function Yd(e){for(;(Td=Wd())&&Td<33;)Xd();return Dd(e)>2||Dd(Td)>3?"":" "}function Jd(e,t){for(;--t&&Xd()&&!(Td<48||Td>102||Td>57&&Td<65||Td>70&&Td<97););return Od(e,Fd()+(t<6&&32==Wd()&&32==Xd()))}function Ud(e){for(;Xd();)switch(Td){case e:return Ed;case 34:case 39:34!==e&&39!==e&&Ud(Td);break;case 40:41===e&&Ud(e);break;case 92:Xd()}return Ed}function $d(e,t){for(;Xd()&&e+Td!==57&&(e+Td!==84||47!==Wd()););return"/*"+Od(t,Ed-1)+"*"+xd(47===e?e:Xd())}function Qd(e){for(;!Dd(Wd());)Xd();return Od(e,Ed)}function _d(e){return Zd(Kd("",null,null,null,[""],e=zd(e),0,[0],e))}function Kd(e,t,n,i,r,o,s,a,l){for(var c=0,u=0,d=s,m=0,p=0,h=0,f=1,g=1,b=1,v=0,x="",y=r,C=o,I=i,w=x;g;)switch(h=v,v=Xd()){case 40:if(108!=h&&58==Nd(w,d-1)){-1!=wd(w+=Id(Hd(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=Hd(v);break;case 9:case 10:case 13:case 32:w+=Yd(h);break;case 92:w+=Jd(Fd()-1,7);continue;case 47:switch(Wd()){case 42:case 47:Pd(em($d(Xd(),Fd()),t,n),l);break;default:w+="/"}break;case 123*f:a[c++]=jd(w)*b;case 125*f:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(w=Id(w,/\f/g,"")),p>0&&jd(w)-d&&Pd(p>32?tm(w+";",i,n,d-1):tm(Id(w," ","")+";",i,n,d-2),l);break;case 59:w+=";";default:if(Pd(I=qd(w,t,n,c,u,r,a,x,y=[],C=[],d),o),123===v)if(0===u)Kd(w,t,I,I,y,o,d,a,C);else switch(99===m&&110===Nd(w,3)?100:m){case 100:case 108:case 109:case 115:Kd(e,I,I,i&&Pd(qd(e,I,I,0,0,r,a,x,r,y=[],d),C),r,C,d,a,i?y:C);break;default:Kd(w,I,I,I,[""],C,0,a,C)}}c=u=p=0,f=b=1,x=w="",d=s;break;case 58:d=1+jd(w),p=h;default:if(f<1)if(123==v)--f;else if(125==v&&0==f++&&125==Ld())continue;switch(w+=xd(v),v*f){case 38:b=u>0?1:(w+="\f",-1);break;case 44:a[c++]=(jd(w)-1)*b,b=1;break;case 64:45===Wd()&&(w+=Hd(Xd())),m=Wd(),u=d=jd(x=w+=Qd(Fd())),v++;break;case 45:45===h&&2==jd(w)&&(f=0)}}return o}function qd(e,t,n,i,r,o,s,a,l,c,u){for(var d=r-1,m=0===r?o:[""],p=kd(m),h=0,f=0,g=0;h<i;++h)for(var b=0,v=Ad(e,d+1,d=vd(f=s[h])),x=e;b<p;++b)(x=Cd(f>0?m[b]+" "+v:Id(v,/&\f/g,m[b])))&&(l[g++]=x);return Vd(e,t,n,0===r?fd:a,l,c,u)}function em(e,t,n){return Vd(e,t,n,hd,xd(Td),Ad(e,2,-2),0)}function tm(e,t,n,i){return Vd(e,t,n,gd,Ad(e,0,i),Ad(e,i+1,-1),i)}function nm(e,t){for(var n="",i=kd(e),r=0;r<i;r++)n+=t(e[r],r,e,t)||"";return n}function im(e,t,n,i){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case gd:return e.return=e.return||e.value;case hd:return"";case bd:return e.return=e.value+"{"+nm(e.children,i)+"}";case fd:e.value=e.props.join(",")}return jd(n=nm(e.children,i))?e.return=e.value+"{"+n+"}":""}function rm(e){var t=kd(e);return function(n,i,r,o){for(var s="",a=0;a<t;a++)s+=e[a](n,i,r,o)||"";return s}}var om="undefined"!=typeof document,sm=function(e,t,n){for(var i=0,r=0;i=r,r=Wd(),38===i&&12===r&&(t[n]=1),!Dd(r);)Xd();return Od(e,Ed)},am=function(e,t){return Zd(function(e,t){var n=-1,i=44;do{switch(Dd(i)){case 0:38===i&&12===Wd()&&(t[n]=1),e[n]+=sm(Ed-1,t,n);break;case 2:e[n]+=Hd(i);break;case 4:if(44===i){e[++n]=58===Wd()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=xd(i)}}while(i=Xd());return e}(zd(e),t))},lm=new WeakMap,cm=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,i=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)||lm.get(n))&&!i){lm.set(e,!0);for(var r=[],o=am(t,r),s=n.props,a=0,l=0;a<o.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=r[a]?o[a].replace(/&\f/g,s[c]):s[c]+" "+o[a]}}},um=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function dm(e,t){switch(function(e,t){return 45^Nd(e,0)?(((t<<2^Nd(e,0))<<2^Nd(e,1))<<2^Nd(e,2))<<2^Nd(e,3):0}(e,t)){case 5103:return pd+"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 pd+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return pd+e+md+e+dd+e+e;case 6828:case 4268:return pd+e+dd+e+e;case 6165:return pd+e+dd+"flex-"+e+e;case 5187:return pd+e+Id(e,/(\w+).+(:[^]+)/,pd+"box-$1$2"+dd+"flex-$1$2")+e;case 5443:return pd+e+dd+"flex-item-"+Id(e,/flex-|-self/,"")+e;case 4675:return pd+e+dd+"flex-line-pack"+Id(e,/align-content|flex-|-self/,"")+e;case 5548:return pd+e+dd+Id(e,"shrink","negative")+e;case 5292:return pd+e+dd+Id(e,"basis","preferred-size")+e;case 6060:return pd+"box-"+Id(e,"-grow","")+pd+e+dd+Id(e,"grow","positive")+e;case 4554:return pd+Id(e,/([^-])(transform)/g,"$1"+pd+"$2")+e;case 6187:return Id(Id(Id(e,/(zoom-|grab)/,pd+"$1"),/(image-set)/,pd+"$1"),e,"")+e;case 5495:case 3959:return Id(e,/(image-set\([^]*)/,pd+"$1$`$1");case 4968:return Id(Id(e,/(.+:)(flex-)?(.*)/,pd+"box-pack:$3"+dd+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+pd+e+e;case 4095:case 3583:case 4068:case 2532:return Id(e,/(.+)-inline(.+)/,pd+"$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(jd(e)-1-t>6)switch(Nd(e,t+1)){case 109:if(45!==Nd(e,t+4))break;case 102:return Id(e,/(.+:)(.+)-([^]+)/,"$1"+pd+"$2-$3$1"+md+(108==Nd(e,t+3)?"$3":"$2-$3"))+e;case 115:return~wd(e,"stretch")?dm(Id(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Nd(e,t+1))break;case 6444:switch(Nd(e,jd(e)-3-(~wd(e,"!important")&&10))){case 107:return Id(e,":",":"+pd)+e;case 101:return Id(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+pd+(45===Nd(e,14)?"inline-":"")+"box$3$1"+pd+"$2$3$1"+dd+"$2box$3")+e}break;case 5936:switch(Nd(e,t+11)){case 114:return pd+e+dd+Id(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return pd+e+dd+Id(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return pd+e+dd+Id(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return pd+e+dd+e+e}return e}var mm,pm,hm,fm=om?void 0:(mm=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},pm=new WeakMap,function(e){if(pm.has(e))return pm.get(e);var t=mm(e);return pm.set(e,t),t}),gm=[function(e,t,n,i){if(e.length>-1&&!e.return)switch(e.type){case gd:e.return=dm(e.value,e.length);break;case bd:return nm([Md(e,{value:Id(e.value,"@","@"+pd)})],i);case fd: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 nm([Md(e,{props:[Id(t,/:(read-\w+)/,":-moz-$1")]})],i);case"::placeholder":return nm([Md(e,{props:[Id(t,/:(plac\w+)/,":"+pd+"input-$1")]}),Md(e,{props:[Id(t,/:(plac\w+)/,":-moz-$1")]}),Md(e,{props:[Id(t,/:(plac\w+)/,dd+"input-$1")]})],i)}return""})}}],bm=function(e){var t=e.key;if(om&&"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 i,r,o=e.stylisPlugins||gm,s={},a=[];om&&(i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;a.push(e)}));var l,c=[cm,um];if(fm){var u=[im],d=rm(c.concat(o,u)),m=fm(o)(t),p=function(e,t){var n=t.name;return void 0===m[n]&&(m[n]=nm(_d(e?e+"{"+t.styles+"}":t.styles),d)),m[n]};r=function(e,t,n,i){var r=t.name,o=p(e,t);return void 0===b.compat?(i&&(b.inserted[r]=!0),o):i?void(b.inserted[r]=o):o}}else{var h,f=[im,(l=function(e){h.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=rm(c.concat(o,f));r=function(e,t,n,i){h=n,nm(_d(e?e+"{"+t.styles+"}":t.styles),g),i&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new ud({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:r};return b.sheet.hydrate(a),b},vm={exports:{}},xm={};var ym,Cm,Im,wm,Nm={};
|
|
4
4
|
/** @license React v16.13.1
|
|
5
5
|
* react-is.development.js
|
|
6
6
|
*
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
*
|
|
9
9
|
* This source code is licensed under the MIT license found in the
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/function mp(){return cp||(cp=1,"production"===process.env.NODE_ENV?sp.exports=function(){if(np)return ap;np=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,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case r:case o:case i:case d:return e;default:switch(e=e&&e.$$typeof){case a:case u:case h:case m:case s:return e;default:return p}}case n:return p}}}function y(e){return x(e)===c}return ap.AsyncMode=l,ap.ConcurrentMode=c,ap.ContextConsumer=a,ap.ContextProvider=s,ap.Element=t,ap.ForwardRef=u,ap.Fragment=r,ap.Lazy=h,ap.Memo=m,ap.Portal=n,ap.Profiler=o,ap.StrictMode=i,ap.Suspense=d,ap.isAsyncMode=function(e){return y(e)||x(e)===l},ap.isConcurrentMode=y,ap.isContextConsumer=function(e){return x(e)===a},ap.isContextProvider=function(e){return x(e)===s},ap.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},ap.isForwardRef=function(e){return x(e)===u},ap.isFragment=function(e){return x(e)===r},ap.isLazy=function(e){return x(e)===h},ap.isMemo=function(e){return x(e)===m},ap.isPortal=function(e){return x(e)===n},ap.isProfiler=function(e){return x(e)===o},ap.isStrictMode=function(e){return x(e)===i},ap.isSuspense=function(e){return x(e)===d},ap.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===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},ap.typeOf=x,ap}():sp.exports=(lp||(lp=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,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var f=e.type;switch(f){case l:case c:case r:case o:case i:case d:return f;default:var g=f&&f.$$typeof;switch(g){case a:case u:case h:case m:case s:return g;default:return p}}case n:return p}}}var y=l,I=c,C=a,w=s,N=t,A=u,j=r,k=h,P=m,G=n,S=o,E=i,B=d,T=!1;function V(e){return x(e)===c}pp.AsyncMode=y,pp.ConcurrentMode=I,pp.ContextConsumer=C,pp.ContextProvider=w,pp.Element=N,pp.ForwardRef=A,pp.Fragment=j,pp.Lazy=k,pp.Memo=P,pp.Portal=G,pp.Profiler=S,pp.StrictMode=E,pp.Suspense=B,pp.isAsyncMode=function(e){return T||(T=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),V(e)||x(e)===l},pp.isConcurrentMode=V,pp.isContextConsumer=function(e){return x(e)===a},pp.isContextProvider=function(e){return x(e)===s},pp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},pp.isForwardRef=function(e){return x(e)===u},pp.isFragment=function(e){return x(e)===r},pp.isLazy=function(e){return x(e)===h},pp.isMemo=function(e){return x(e)===m},pp.isPortal=function(e){return x(e)===n},pp.isProfiler=function(e){return x(e)===o},pp.isStrictMode=function(e){return x(e)===i},pp.isSuspense=function(e){return x(e)===d},pp.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===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},pp.typeOf=x}()),pp)),sp.exports}!function(){if(dp)return up;dp=1;var e=mp(),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 s=Object.defineProperty,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;up=function e(t,r,i){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,i)}var m=a(r);l&&(m=m.concat(l(r)));for(var h=o(t),f=o(r),g=0;g<m.length;++g){var b=m[g];if(!(n[b]||i&&i[b]||f&&f[b]||h&&h[b])){var v=c(r,b);try{s(t,b,v)}catch(e){}}}}return t}}();var hp="undefined"!=typeof document;var fp=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===hp&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var gp={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 bp(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var vp=/[A-Z]|^ms/g,xp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,yp=function(e){return 45===e.charCodeAt(1)},Ip=function(e){return null!=e&&"boolean"!=typeof e},Cp=bp(function(e){return yp(e)?e:e.replace(vp,"-$&").toLowerCase()}),wp=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(xp,function(e,t,n){return Ap={name:t,styles:n,next:Ap},t})}return 1===gp[e]||yp(e)||"number"!=typeof t||0===t?t:t+"px"};function Np(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 Ap={name:i.name,styles:i.styles,next:Ap},i.name;var o=n;if(void 0!==o.styles){var s=o.next;if(void 0!==s)for(;void 0!==s;)Ap={name:s.name,styles:s.styles,next:Ap},s=s.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Np(e,t,n[i])+";";else for(var o in n){var s=n[o];if("object"!=typeof s){var a=s;Ip(a)&&(r+=Cp(o)+":"+wp(o,a)+";")}else if(Array.isArray(s)&&"string"==typeof s[0]&&null==t)for(var l=0;l<s.length;l++)Ip(s[l])&&(r+=Cp(o)+":"+wp(o,s[l])+";");else{var c=Np(e,t,s);switch(o){case"animation":case"animationName":r+=Cp(o)+":"+c+";";break;default:r+=o+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var a=Ap,l=n(e);return Ap=a,Np(e,t,l)}}return n}var Ap,jp=/label:\s*([^\s;{]+)\s*(;|$)/g;function kp(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="";Ap=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=Np(n,t,o)):i+=o[0];for(var s=1;s<e.length;s++){if(i+=Np(n,t,e[s]),r)i+=o[s]}jp.lastIndex=0;for(var a,l="";null!==(a=jp.exec(i));)l+="-"+a[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:Ap}}var Pp="undefined"!=typeof document,Gp=function(e){return e()},Sp=!!p.useInsertionEffect&&p.useInsertionEffect,Ep=Pp&&Sp||Gp,Bp="undefined"!=typeof document,Tp=p.createContext("undefined"!=typeof HTMLElement?op({key:"css"}):null);Tp.Provider;var Vp=function(e){return t.forwardRef(function(n,r){var i=t.useContext(Tp);return e(n,i,r)})};Bp||(Vp=function(e){return function(n){var r=t.useContext(Tp);return null===r?(r=op({key:"css"}),p.createElement(Tp.Provider,{value:r},e(n,r))):e(n,r)}});var Rp,Mp,Lp=p.createContext({}),Xp={}.hasOwnProperty,Wp="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Op=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;fp(t,n,r);var i=Ep(function(){return function(e,t,n){fp(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i="",o=t;do{var s=e.insert(t===o?"."+r:"",o,e.sheet,!0);hp||void 0===s||(i+=s),o=o.next}while(void 0!==o);if(!hp&&0!==i.length)return i}}(t,n,r)});if(!Bp&&void 0!==i){for(var o,s=n.name,a=n.next;void 0!==a;)s+=" "+a.name,a=a.next;return p.createElement("style",((o={})["data-emotion"]=t.key+" "+s,o.dangerouslySetInnerHTML={__html:i},o.nonce=t.sheet.nonce,o))}return null},Fp=Vp(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var i=e[Wp],o=[r],s="";"string"==typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}(t.registered,o,e.className):null!=e.className&&(s=e.className+" ");var a=kp(o,void 0,p.useContext(Lp));s+=t.key+"-"+a.name;var l={};for(var c in e)Xp.call(e,c)&&"css"!==c&&c!==Wp&&(l[c]=e[c]);return l.className=s,n&&(l.ref=n),p.createElement(p.Fragment,null,p.createElement(Op,{cache:t,serialized:a,isStringTag:"string"==typeof i}),p.createElement(i,l))}),Dp=Fp,Zp=function(e,t){var n=arguments;if(null==t||!Xp.call(t,"css"))return p.createElement.apply(void 0,n);var r=n.length,i=new Array(r);i[0]=Dp,i[1]=function(e,t){var n={};for(var r in t)Xp.call(t,r)&&(n[r]=t[r]);return n[Wp]=e,n}(e,t);for(var o=2;o<r;o++)i[o]=n[o];return p.createElement.apply(null,i)};function zp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return kp(t)}Rp=Zp||(Zp={}),Mp||(Mp=Rp.JSX||(Rp.JSX={}));const Hp=Math.min,Yp=Math.max,Jp=Math.round,Up=Math.floor,$p=e=>({x:e,y:e});function Qp(){return"undefined"!=typeof window}function _p(e){return em(e)?(e.nodeName||"").toLowerCase():"#document"}function Kp(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function qp(e){var t;return null==(t=(em(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function em(e){return!!Qp()&&(e instanceof Node||e instanceof Kp(e).Node)}function tm(e){return!!Qp()&&(e instanceof HTMLElement||e instanceof Kp(e).HTMLElement)}function nm(e){return!(!Qp()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Kp(e).ShadowRoot)}const rm=new Set(["inline","contents"]);function im(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=sm(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!rm.has(i)}const om=new Set(["html","body","#document"]);function sm(e){return Kp(e).getComputedStyle(e)}function am(e){const t=function(e){if("html"===_p(e))return e;const t=e.assignedSlot||e.parentNode||nm(e)&&e.host||qp(e);return nm(t)?t.host:t}(e);return function(e){return om.has(_p(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:tm(t)&&im(t)?t:am(t)}function lm(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=am(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),s=Kp(i);if(o){const e=cm(s);return t.concat(s,s.visualViewport||[],im(i)?i:[],e&&n?lm(e):[])}return t.concat(i,lm(i,[],n))}function cm(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function um(e){return t=e,Qp()&&(t instanceof Element||t instanceof Kp(t).Element)?e:e.contextElement;var t}function dm(e){const t=um(e);if(!tm(t))return $p(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=function(e){const t=sm(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=tm(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=Jp(n)!==o||Jp(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}(t);let s=(o?Jp(n.width):n.width)/r,a=(o?Jp(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function pm(e,t,n,r){void 0===t&&(t=!1);const i=e.getBoundingClientRect(),o=um(e);let s=$p(1);t&&(s=dm(e));const a=$p(0);let l=(i.left+a.x)/s.x,c=(i.top+a.y)/s.y,u=i.width/s.x,d=i.height/s.y;if(o){const e=r;let t=Kp(o),n=cm(t);for(;n&&r&&e!==t;){const e=dm(n),r=n.getBoundingClientRect(),i=sm(n),o=r.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,s=r.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=s,t=Kp(n),n=cm(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 mm(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function hm(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=um(e),u=i||o?[...c?lm(c):[],...lm(t)]:[];u.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const d=c&&a?function(e,t){let n,r=null;const i=qp(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:m}=c;if(a||t(),!p||!m)return;const h={rootMargin:-Up(d)+"px "+-Up(i.clientWidth-(u+p))+"px "+-Up(i.clientHeight-(d+m))+"px "+-Up(u)+"px",threshold:Yp(0,Hp(1,l))||1};let f=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!f)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||mm(c,e.getBoundingClientRect())||s(),f=!1}try{r=new IntersectionObserver(g,{...h,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(g,h)}r.observe(e)}(!0),o}(c,n):null;let p,m=-1,h=null;s&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!l&&h.observe(c),h.observe(t));let f=l?pm(e):null;return l&&function t(){const r=pm(e);f&&!mm(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=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(p)}}var fm="undefined"!=typeof document?t.useLayoutEffect:function(){},gm=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],bm=function(){};function vm(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function xm(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 s in t)t.hasOwnProperty(s)&&t[s]&&o.push("".concat(vm(e,s)));return o.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var ym=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Mu(e)&&null!==e?[e]:[];var t},Im=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,Ou({},zu(e,gm))},Cm=function(e,t,n){var r=e.cx,i=e.getStyles,o=e.getClassNames,s=e.className;return{css:i(t,e),className:r(null!=n?n:{},o(t,e),s)}};function wm(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Nm(e){return wm(e)?window.pageYOffset:e.scrollTop}function Am(e,t){wm(e)?window.scrollTo(0,t):e.scrollTop=t}function jm(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:bm,i=Nm(e),o=t-i,s=0;!function t(){var a,l=o*((a=(a=s+=10)/n-1)*a*a+1)+i;Am(e,l),s<n?window.requestAnimationFrame(t):r(e)}()}function km(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?Am(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&Am(e,Math.max(t.offsetTop-i,0))}function Pm(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Gm=!1,Sm={get passive(){return Gm=!0}},Em="undefined"!=typeof window?window:{};Em.addEventListener&&Em.removeEventListener&&(Em.addEventListener("p",bm,Sm),Em.removeEventListener("p",bm,!1));var Bm=Gm;function Tm(e){return null!=e}function Vm(e,t,n){return e?t:n}var Rm=["children","innerProps"],Mm=["children","innerProps"];function Lm(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,s=e.isFixedPosition,a=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var 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(),m=p.bottom,h=p.height,f=p.top,g=n.offsetParent.getBoundingClientRect().top,b=s?window.innerHeight:wm(u=l)?window.innerHeight:u.clientHeight,v=Nm(l),x=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),I=g-y,C=b-f,w=I+v,N=d-v-f,A=m-b+v+x,j=v+f-y,k=160;switch(i){case"auto":case"bottom":if(C>=h)return{placement:"bottom",maxHeight:t};if(N>=h&&!s)return o&&jm(l,A,k),{placement:"bottom",maxHeight:t};if(!s&&N>=r||s&&C>=r)return o&&jm(l,A,k),{placement:"bottom",maxHeight:s?C-x:N-x};if("auto"===i||s){var P=t,G=s?I:w;return G>=r&&(P=Math.min(G-x-a,t)),{placement:"top",maxHeight:P}}if("bottom"===i)return o&&Am(l,A),{placement:"bottom",maxHeight:t};break;case"top":if(I>=h)return{placement:"top",maxHeight:t};if(w>=h&&!s)return o&&jm(l,j,k),{placement:"top",maxHeight:t};if(!s&&w>=r||s&&I>=r){var S=t;return(!s&&w>=r||s&&I>=r)&&(S=s?I-y:w-y),o&&jm(l,j,k),{placement:"top",maxHeight:S}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var Xm,Wm=function(e){return"auto"===e?"bottom":e},Om=t.createContext(null),Fm=function(e){var n=e.children,r=e.minMenuHeight,i=e.maxMenuHeight,o=e.menuPlacement,s=e.menuPosition,a=e.menuShouldScrollIntoView,l=e.theme,c=(t.useContext(Om)||{}).setPortalPlacement,u=t.useRef(null),d=Zu(t.useState(i),2),p=d[0],m=d[1],h=Zu(t.useState(null),2),f=h[0],g=h[1],b=l.spacing.controlHeight;return fm(function(){var e=u.current;if(e){var t="fixed"===s,n=Lm({maxHeight:i,menuEl:e,minHeight:r,placement:o,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:b});m(n.maxHeight),g(n.placement),null==c||c(n.placement)}},[i,o,s,a,r,c,b]),n({ref:u,placerProps:Ou(Ou({},e),{},{placement:f||Wm(o),maxHeight:p})})},Dm=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Zp("div",Sl({},Cm(e,"menu",{menu:!0}),{ref:n},r),t)},Zm=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return Ou({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},zm=Zm,Hm=Zm,Ym=["size"],Jm=["innerProps","isRtl","size"];var Um,$m,Qm="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZW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mdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+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)."}},_m=function(e){var t=e.size,n=zu(e,Ym);return Zp("svg",Sl({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Qm},n))},Km=function(e){return Zp(_m,Sl({size:20},e),Zp("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"}))},qm=function(e){return Zp(_m,Sl({size:20},e),Zp("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"}))},eh=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return Ou({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*i,":hover":{color:n?o.neutral80:o.neutral40}})},th=eh,nh=eh,rh=function(){var e=zp.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_"}}}(Xm||(Um=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],$m||($m=Um.slice(0)),Xm=Object.freeze(Object.defineProperties(Um,{raw:{value:Object.freeze($m)}})))),ih=function(e){var t=e.delay,n=e.offset;return Zp("span",{css:zp({animation:"".concat(rh," 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdm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lYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},oh=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,o=e.innerProps,s=e.menuIsOpen;return Zp("div",Sl({ref:i},Cm(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":s}),o,{"aria-disabled":n||void 0}),t)},sh=["data"],ah=function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,o=e.Heading,s=e.headingProps,a=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Zp("div",Sl({},Cm(e,"group",{group:!0}),a),Zp(o,Sl({},s,{selectProps:u,theme:c,getStyles:r,getClassNames:i,cx:n}),l),Zp("div",null,t))},lh=["innerRef","isDisabled","isHidden","inputClassName"],ch={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},uh={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Ou({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},ch)},dh=function(e){return Ou({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},ch)},ph=function(e){var t=e.cx,n=e.value,r=Im(e),i=r.innerRef,o=r.isDisabled,s=r.isHidden,a=r.inputClassName,l=zu(r,lh);return Zp("div",Sl({},Cm(e,"input",{"input-container":!0}),{"data-value":n||""}),Zp("input",Sl({className:t({input:!0},a),ref:i,style:dh(s),disabled:o},l)))},mh=function(e){var t=e.children,n=e.innerProps;return Zp("div",n,t)};var hh=function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,o=e.isDisabled,s=e.removeProps,a=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return Zp(l,{data:r,innerProps:Ou(Ou({},Cm(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),i),selectProps:a},Zp(c,{data:r,innerProps:Ou({},Cm(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},t),Zp(u,{data:r,innerProps:Ou(Ou({},Cm(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},s),selectProps:a}))},fh={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Zp("div",Sl({},Cm(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Zp(Km,null))},Control:oh,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Zp("div",Sl({},Cm(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Zp(qm,null))},DownChevron:qm,CrossIcon:Km,Group:ah,GroupHeading:function(e){var t=Im(e);t.data;var n=zu(t,sh);return Zp("div",Sl({},Cm(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Zp("div",Sl({},Cm(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Zp("span",Sl({},t,Cm(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:ph,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=void 0===r?4:r,o=zu(e,Jm);return Zp("div",Sl({},Cm(Ou(Ou({},o),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Zp(ih,{delay:0,offset:n}),Zp(ih,{delay:160,offset:!0}),Zp(ih,{delay:320,offset:!n}))},Menu:Dm,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return Zp("div",Sl({},Cm(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var n=e.appendTo,r=e.children,i=e.controlElement,o=e.innerProps,s=e.menuPlacement,a=e.menuPosition,c=t.useRef(null),u=t.useRef(null),d=Zu(t.useState(Wm(s)),2),p=d[0],m=d[1],h=t.useMemo(function(){return{setPortalPlacement:m}},[]),f=Zu(t.useState(null),2),g=f[0],b=f[1],v=t.useCallback(function(){if(i){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(i),t="fixed"===a?0:window.pageYOffset,n=e[p]+t;n===(null==g?void 0:g.offset)&&e.left===(null==g?void 0:g.rect.left)&&e.width===(null==g?void 0:g.rect.width)||b({offset:n,rect:e})}},[i,a,p,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);fm(function(){v()},[v]);var x=t.useCallback(function(){"function"==typeof u.current&&(u.current(),u.current=null),i&&c.current&&(u.current=hm(i,c.current,v,{elementResize:"ResizeObserver"in window}))},[i,v]);fm(function(){x()},[x]);var y=t.useCallback(function(e){c.current=e,x()},[x]);if(!n&&"fixed"!==a||!g)return null;var I=Zp("div",Sl({ref:y},Cm(Ou(Ou({},e),{},{offset:g.offset,position:a,rect:g.rect}),"menuPortal",{"menu-portal":!0}),o),r);return Zp(Om.Provider,{value:h},n?l.createPortal(I,n):I)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,i=zu(e,Mm);return Zp("div",Sl({},Cm(Ou(Ou({},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=zu(e,Rm);return Zp("div",Sl({},Cm(Ou(Ou({},i),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:hh,MultiValueContainer:mh,MultiValueLabel:mh,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Zp("div",Sl({role:"button"},n),t||Zp(Km,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.innerRef,s=e.innerProps;return Zp("div",Sl({},Cm(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:o,"aria-disabled":n},s),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Zp("div",Sl({},Cm(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return Zp("div",Sl({},Cm(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Zp("div",Sl({},Cm(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 Zp("div",Sl({},Cm(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},gh=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function bh(e,t){return e===t||!(!gh(e)||!gh(t))}function vh(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!bh(e[n],t[n]))return!1;return!0}for(var xh="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)."}},yh=function(e){return Zp("span",Sl({css:xh},e))},Ih={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,s=e.selectValue,a=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&s)return"value ".concat(o," focused, ").concat(u(s,n),".");if("menu"===t&&c){var d=a?" 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:"",".")}},Ch=function(e){var n=e.ariaSelection,r=e.focusedOption,i=e.focusedValue,o=e.focusableOptions,s=e.isFocused,a=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,m=l.inputValue,h=l.isMulti,f=l.isOptionDisabled,g=l.isSearchable,b=l.menuIsOpen,v=l.options,x=l.screenReaderStatus,y=l.tabSelectsValue,I=l.isLoading,C=l["aria-label"],w=l["aria-live"],N=t.useMemo(function(){return Ou(Ou({},Ih),d||{})},[d]),A=t.useMemo(function(){var e,t="";if(n&&N.onChange){var r=n.option,i=n.options,o=n.removedValue,s=n.removedValues,l=n.value,c=o||r||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=i||s||void 0,m=d?d.map(p):[],h=Ou({isDisabled:c&&f(c,a),label:u,labels:m},n);t=N.onChange(h)}return t},[n,N,f,a,p]),j=t.useMemo(function(){var e="",t=r||i,n=!!(r&&a&&a.includes(r));if(t&&N.onFocus){var s={focused:t,label:p(t),isDisabled:f(t,a),isSelected:n,options:o,context:t===r?"menu":"value",selectValue:a,isAppleDevice:u};e=N.onFocus(s)}return e},[r,i,p,f,N,o,a,u]),k=t.useMemo(function(){var e="";if(b&&v.length&&!I&&N.onFilter){var t=x({count:o.length});e=N.onFilter({inputValue:m,resultsMessage:t})}return e},[o,m,b,N,v,x,I]),P="initial-input-focus"===(null==n?void 0:n.action),G=t.useMemo(function(){var e="";if(N.guidance){var t=i?"value":b?"menu":"input";e=N.guidance({"aria-label":C,context:t,isDisabled:r&&f(r,a),isMulti:h,isSearchable:g,tabSelectsValue:y,isInitialFocus:P})}return e},[C,r,i,h,f,g,b,N,a,y,P]),S=Zp(t.Fragment,null,Zp("span",{id:"aria-selection"},A),Zp("span",{id:"aria-focused"},j),Zp("span",{id:"aria-results"},k),Zp("span",{id:"aria-guidance"},G));return Zp(t.Fragment,null,Zp(yh,{id:c},P&&S),Zp(yh,{"aria-live":w,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!P&&S))},wh=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Nh=new RegExp("["+wh.map(function(e){return e.letters}).join("")+"]","g"),Ah={},jh=0;jh<wh.length;jh++)for(var kh=wh[jh],Ph=0;Ph<kh.letters.length;Ph++)Ah[kh.letters[Ph]]=kh.base;var Gh=function(e){return e.replace(Nh,function(e){return Ah[e]})},Sh=function(e,t){void 0===t&&(t=vh);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}(Gh),Eh=function(e){return e.replace(/^\s+|\s+$/g,"")},Bh=function(e){return"".concat(e.label," ").concat(e.value)},Th=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=Ou({ignoreCase:!0,ignoreAccents:!0,stringify:Bh,trim:!0,matchFrom:"any"},e),i=r.ignoreCase,o=r.ignoreAccents,s=r.stringify,a=r.trim,l=r.matchFrom,c=a?Eh(n):n,u=a?Eh(s(t)):s(t);return i&&(c=c.toLowerCase(),u=u.toLowerCase()),o&&(c=Sh(c),u=Gh(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},Vh=["innerRef"];function Rh(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=Zu(e,1)[0];return!n.includes(t)});return i.reduce(function(e,t){var n=Zu(t,2),r=n[0],i=n[1];return e[r]=i,e},{})}(zu(e,Vh),"onExited","in","enter","exit","appear");return Zp("input",Sl({ref:t},n,{css:zp({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdy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4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var Mh=["boxSizing","height","overflow","paddingRight","position"],Lh={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Xh(e){e.cancelable&&e.preventDefault()}function Wh(e){e.stopPropagation()}function Oh(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Fh(){return"ontouchstart"in window||navigator.maxTouchPoints}var Dh=!("undefined"==typeof window||!window.document||!window.document.createElement),Zh=0,zh={capture:!1,passive:!1};var Hh=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Yh="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3M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AgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+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 Jh(e){var n=e.children,r=e.lockEnabled,i=e.captureEnabled,o=function(e){var n=e.isEnabled,r=e.onBottomArrive,i=e.onBottomLeave,o=e.onTopArrive,s=e.onTopLeave,a=t.useRef(!1),l=t.useRef(!1),c=t.useRef(0),u=t.useRef(null),d=t.useCallback(function(e,t){if(null!==u.current){var n=u.current,c=n.scrollTop,d=n.scrollHeight,p=n.clientHeight,m=u.current,h=t>0,f=d-p-c,g=!1;f>t&&a.current&&(i&&i(e),a.current=!1),h&&l.current&&(s&&s(e),l.current=!1),h&&t>f?(r&&!a.current&&r(e),m.scrollTop=d,g=!0,a.current=!0):!h&&-t>c&&(o&&!l.current&&o(e),m.scrollTop=0,g=!0,l.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[r,i,o,s]),p=t.useCallback(function(e){d(e,e.deltaY)},[d]),m=t.useCallback(function(e){c.current=e.changedTouches[0].clientY},[]),h=t.useCallback(function(e){var t=c.current-e.changedTouches[0].clientY;d(e,t)},[d]),f=t.useCallback(function(e){if(e){var t=!!Bm&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",m,t),e.addEventListener("touchmove",h,t)}},[h,m,p]),g=t.useCallback(function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",m,!1),e.removeEventListener("touchmove",h,!1))},[h,m,p]);return t.useEffect(function(){if(n){var e=u.current;return f(e),function(){g(e)}}},[n,f,g]),function(e){u.current=e}}({isEnabled:void 0===i||i,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),s=function(e){var n=e.isEnabled,r=e.accountForScrollbars,i=void 0===r||r,o=t.useRef({}),s=t.useRef(null),a=t.useCallback(function(e){if(Dh){var t=document.body,n=t&&t.style;if(i&&Mh.forEach(function(e){var t=n&&n[e];o.current[e]=t}),i&&Zh<1){var r=parseInt(o.current.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,a=window.innerWidth-s+r||0;Object.keys(Lh).forEach(function(e){var t=Lh[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(a,"px"))}t&&Fh()&&(t.addEventListener("touchmove",Xh,zh),e&&(e.addEventListener("touchstart",Oh,zh),e.addEventListener("touchmove",Wh,zh))),Zh+=1}},[i]),l=t.useCallback(function(e){if(Dh){var t=document.body,n=t&&t.style;Zh=Math.max(Zh-1,0),i&&Zh<1&&Mh.forEach(function(e){var t=o.current[e];n&&(n[e]=t)}),t&&Fh()&&(t.removeEventListener("touchmove",Xh,zh),e&&(e.removeEventListener("touchstart",Oh,zh),e.removeEventListener("touchmove",Wh,zh)))}},[i]);return t.useEffect(function(){if(n){var e=s.current;return a(e),function(){l(e)}}},[n,a,l]),function(e){s.current=e}}({isEnabled:r});return Zp(t.Fragment,null,r&&Zp("div",{onClick:Hh,css:Yh}),n(function(e){o(e),s(e)}))}var Uh="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzI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dWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",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)."}},$h=function(e){var t=e.name,n=e.onFocus;return Zp("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Uh,value:"",onChange:function(){}})};function Qh(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 _h(){return Qh(/^Mac/i)}function Kh(){return Qh(/^iPhone/i)||Qh(/^iPad/i)||_h()&&navigator.maxTouchPoints>1}var qh={clearIndicator:nh,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,s=i.borderRadius;return Ou({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:s,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},dropdownIndicator:th,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 Ou({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 Ou({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,s=i.colors;return Ou(Ou({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},uh),t?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:s.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,i=e.theme,o=i.colors,s=i.spacing.baseUnit;return Ou({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*s})},loadingMessage:Hm,menu:function(e,t){var n,r=e.placement,i=e.theme,o=i.borderRadius,s=i.spacing,a=i.colors;return Ou((Xu(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),Xu(n,"position","absolute"),Xu(n,"width","100%"),Xu(n,"zIndex",1),n),t?{}:{backgroundColor:a.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return Ou({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 Ou({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 Ou({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,s=e.isFocused;return Ou({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:s?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},noOptionsMessage:zm,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.theme,s=o.spacing,a=o.colors;return Ou({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?a.primary:r?a.primary25:"transparent",color:n?a.neutral20:i?a.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?a.primary:a.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return Ou({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 Ou({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 Ou({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")})}},ef={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}},tf={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Pm(),captureMenuScroll:!Pm(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Th(),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 nf(e,t,n,r){return{type:"option",data:t,isDisabled:df(e,t,n),isSelected:pf(e,t,n),label:cf(e,t),value:uf(e,t),index:r}}function rf(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(n,r){return nf(e,n,t,r)}).filter(function(t){return af(e,t)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=nf(e,n,t,r);return af(e,o)?o:void 0}).filter(Tm)}function of(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,_u(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function sf(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,_u(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 af(e,t){var n=e.inputValue,r=void 0===n?"":n,i=t.data,o=t.isSelected,s=t.label,a=t.value;return(!hf(e)||!o)&&mf(e,{label:s,value:a,data:i},r)}var lf=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},cf=function(e,t){return e.getOptionLabel(t)},uf=function(e,t){return e.getOptionValue(t)};function df(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function pf(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=uf(e,t);return n.some(function(t){return uf(e,t)===r})}function mf(e,t,n){return!e.filterOption||e.filterOption(t,n)}var hf=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ff=1,gf=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&&Ju(e,t)}(n,t.Component);var e=function(e){var t=$u();return function(){var n,r=Uu(e);if(t){var i=Uu(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Qu(this,n)}}(n);function n(t){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(r=e.call(this,t)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,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,s=i.isMulti,a=i.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:a}),o&&(r.setState({inputIsHiddenAfterUpdate:!s}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,i=t.isMulti,o=t.name,s=r.state.selectValue,a=i&&r.isOptionSelected(e,s),l=r.isOptionDisabled(e,s);if(a){var c=r.getOptionValue(e);r.setValue(s.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:o});i?r.setValue([].concat(_u(s),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,i=r.getOptionValue(e),o=n.filter(function(e){return r.getOptionValue(e)!==i}),s=Vm(t,o,o[0]||null);r.onChange(s,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(Vm(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=Vm(e,i,i[0]||null);n&&r.onChange(o,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return lf(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return sf(rf(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 xm.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return cf(r.props,e)},r.getOptionValue=function(e){return uf(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,i=qh[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,Ou(Ou({},fh),e.components);var e},r.buildCategorizedOptions=function(){return rf(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return of(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:Ou({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&&wm(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 hf(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,s=t.inputValue,a=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,m=r.state,h=m.focusedOption,f=m.focusedValue,g=m.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||s)return;r.focusValue("previous");break;case"ArrowRight":if(!n||s)return;r.focusValue("next");break;case"Delete":case"Backspace":if(s)return;if(f)r.removeValue(f);else{if(!i)return;n?r.popValue():a&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!h||p&&r.isOptionSelected(h,g))return;r.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:s}),r.onMenuClose()):a&&o&&r.clearValue();break;case" ":if(s)return;if(!c){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++ff),r.state.selectValue=ym(t.value),t.menuIsOpen&&r.state.selectValue.length){var i=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),s=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=i,r.state.focusedOption=o[s],r.state.focusedOptionId=lf(i,o[s])}return r}return function(e,t,n){t&&Yu(e.prototype,t),n&&Yu(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&km(this.menuListRef,this.focusedOptionRef),(_h()||Kh())&&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&&(km(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(),s="first"===e?0:o.length-1;if(!this.props.isMulti){var a=o.indexOf(r[0]);a>-1&&(s=a)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[s],focusedOptionId:this.getFocusedOptionId(o[s])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var o=n.length-1,s=-1;if(n.length){switch(e){case"previous":s=0===i?0:-1===i?o:i-1;break;case"next":i>-1&&i<o&&(s=i+1)}this.setState({inputIsHidden:-1!==s,focusedValue:n[s]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,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(ef):Ou(Ou({},ef),this.props.theme):ef}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,o=this.selectOption,s=this.setValue,a=this.props,l=a.isMulti,c=a.isRtl,u=a.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:o,selectProps:a,setValue:s,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return df(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return pf(this.props,e,t)}},{key:"filterOption",value:function(e,t){return mf(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,i=e.inputValue,o=e.tabIndex,s=e.form,a=e.menuIsOpen,l=e.required,c=this.getComponents().Input,u=this.state,d=u.inputIsHidden,m=u.ariaSelection,h=this.commonProps,f=r||this.getElementId("input"),g=Ou(Ou(Ou({"aria-autocomplete":"list","aria-expanded":a,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":l,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},a&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==m?void 0:m.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?p.createElement(c,Sl({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:f,innerRef:this.getInputRef,isDisabled:t,isHidden:d,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:o,form:s,type:"text",value:i},g)):p.createElement(Rh,Sl({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:bm,onFocus:this.onInputFocus,disabled:t,tabIndex:o,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,i=t.MultiValueLabel,o=t.MultiValueRemove,s=t.SingleValue,a=t.Placeholder,l=this.commonProps,c=this.props,u=c.controlShouldRenderValue,d=c.isDisabled,m=c.isMulti,h=c.inputValue,f=c.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,x=g.isFocused;if(!this.hasValue()||!u)return h?null:p.createElement(a,Sl({},l,{key:"placeholder",isDisabled:d,isFocused:x,innerProps:{id:this.getElementId("placeholder")}}),f);if(m)return b.map(function(t,s){var a=t===v,c="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return p.createElement(n,Sl({},l,{components:{Container:r,Label:i,Remove:o},isFocused:a,isDisabled:d,key:c,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(h)return null;var y=b[0];return p.createElement(s,Sl({},l,{data:y,isDisabled:d}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,o=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||i)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return p.createElement(e,Sl({},t,{innerProps:s,isFocused:o}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,o=this.state.isFocused;if(!e||!i)return null;return p.createElement(e,Sl({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:o}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,i=this.props.isDisabled,o=this.state.isFocused;return p.createElement(n,Sl({},r,{isDisabled:i,isFocused:o}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return p.createElement(e,Sl({},t,{innerProps:i,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,i=t.Menu,o=t.MenuList,s=t.MenuPortal,a=t.LoadingMessage,l=t.NoOptionsMessage,c=t.Option,u=this.commonProps,d=this.state.focusedOption,m=this.props,h=m.captureMenuScroll,f=m.inputValue,g=m.isLoading,b=m.loadingMessage,v=m.minMenuHeight,x=m.maxMenuHeight,y=m.menuIsOpen,I=m.menuPlacement,C=m.menuPosition,w=m.menuPortalTarget,N=m.menuShouldBlockScroll,A=m.menuShouldScrollIntoView,j=m.noOptionsMessage,k=m.onMenuScrollToTop,P=m.onMenuScrollToBottom;if(!y)return null;var G,S=function(t,n){var r=t.type,i=t.data,o=t.isDisabled,s=t.isSelected,a=t.label,l=t.value,m=d===i,h=o?void 0:function(){return e.onOptionHover(i)},f=o?void 0:function(){return e.selectOption(i)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:f,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return p.createElement(c,Sl({},u,{innerProps:b,data:i,isDisabled:o,isSelected:s,key:g,label:a,type:r,value:l,isFocused:m,innerRef:m?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())G=this.getCategorizedOptions().map(function(t){if("group"===t.type){var i=t.data,o=t.options,s=t.index,a="".concat(e.getElementId("group"),"-").concat(s),l="".concat(a,"-heading");return p.createElement(n,Sl({},u,{key:a,data:i,options:o,Heading:r,headingProps:{id:l,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return S(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return S(t,"".concat(t.index))});else if(g){var E=b({inputValue:f});if(null===E)return null;G=p.createElement(a,u,E)}else{var B=j({inputValue:f});if(null===B)return null;G=p.createElement(l,u,B)}var T={minMenuHeight:v,maxMenuHeight:x,menuPlacement:I,menuPosition:C,menuShouldScrollIntoView:A},V=p.createElement(Fm,Sl({},u,T),function(t){var n=t.ref,r=t.placerProps,s=r.placement,a=r.maxHeight;return p.createElement(i,Sl({},u,T,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),p.createElement(Jh,{captureEnabled:h,onTopArrive:k,onBottomArrive:P,lockEnabled:N},function(t){return p.createElement(o,Sl({},u,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":u.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:a,focusedOption:d}),G)}))});return w||"fixed"===C?p.createElement(s,Sl({},u,{appendTo:w,controlElement:this.controlRef,menuPlacement:I,menuPosition:C}),V):V}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,i=t.isMulti,o=t.name,s=t.required,a=this.state.selectValue;if(s&&!this.hasValue()&&!r)return p.createElement($h,{name:o,onFocus:this.onValueInputFocus});if(o&&!r){if(i){if(n){var l=a.map(function(t){return e.getOptionValue(t)}).join(n);return p.createElement("input",{name:o,type:"hidden",value:l})}var c=a.length>0?a.map(function(t,n){return p.createElement("input",{key:"i-".concat(n),name:o,type:"hidden",value:e.getOptionValue(t)})}):p.createElement("input",{name:o,type:"hidden",value:""});return p.createElement("div",null,c)}var u=a[0]?this.getOptionValue(a[0]):"";return p.createElement("input",{name:o,type:"hidden",value:u})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,o=t.isFocused,s=t.selectValue,a=this.getFocusableOptions();return p.createElement(Ch,Sl({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:i,isFocused:o,selectValue:s,focusableOptions:a,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,i=e.ValueContainer,o=this.props,s=o.className,a=o.id,l=o.isDisabled,c=o.menuIsOpen,u=this.state.isFocused,d=this.commonProps=this.getCommonProps();return p.createElement(r,Sl({},d,{className:s,innerProps:{id:a,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:u}),this.renderLiveRegion(),p.createElement(t,Sl({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:u,menuIsOpen:c}),p.createElement(i,Sl({},d,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),p.createElement(n,Sl({},d,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,s=t.isFocused,a=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,m=e.isMulti,h=ym(u),f={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return of(rf(e,t))}(e,h):[],b=d?sf(rf(e,h),"".concat(l,"-option")):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,x=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);f={selectValue:h,focusedOption:x,focusedOptionId:lf(b,x),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var y=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},I=o,C=s&&a;return s&&!C&&(I={value:Vm(m,h,h[0]||null),options:h,action:"initial-input-focus"},C=!a),"initial-input-focus"===(null==o?void 0:o.action)&&(I=null),Ou(Ou(Ou({},f),y),{},{prevProps:e,ariaSelection:I,prevWasFocused:C})}}]),n}();gf.defaultProps=tf;var bf=t.forwardRef(function(e,n){var r=function(e){var n=e.defaultInputValue,r=void 0===n?"":n,i=e.defaultMenuIsOpen,o=void 0!==i&&i,s=e.defaultValue,a=void 0===s?null:s,l=e.inputValue,c=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,m=e.onMenuOpen,h=e.value,f=zu(e,Hu),g=Zu(t.useState(void 0!==l?l:r),2),b=g[0],v=g[1],x=Zu(t.useState(void 0!==c?c:o),2),y=x[0],I=x[1],C=Zu(t.useState(void 0!==h?h:a),2),w=C[0],N=C[1],A=t.useCallback(function(e,t){"function"==typeof u&&u(e,t),N(e)},[u]),j=t.useCallback(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),v(void 0!==n?n:e)},[d]),k=t.useCallback(function(){"function"==typeof m&&m(),I(!0)},[m]),P=t.useCallback(function(){"function"==typeof p&&p(),I(!1)},[p]),G=void 0!==l?l:b,S=void 0!==c?c:y,E=void 0!==h?h:w;return Ou(Ou({},f),{},{inputValue:G,menuIsOpen:S,onChange:A,onInputChange:j,onMenuClose:P,onMenuOpen:k,value:E})}(e);return p.createElement(gf,Sl({ref:n},r))}),vf=bf;const xf=p.default.memo(({options:n,className:r,controlClassName:i,value:o,isCustomStyle:s=!1,placeholder:a,required:l,onChange:c,filterOptions:u,hasError:d,error:p,menuClassName:m,helperText:h,label:f,labelClassName:g,size:b="md",variant:v="default","data-cy":x,"data-testid":y,...I})=>{const C=t.useMemo(()=>Th(u),[u]),w=t.useMemo(()=>({control:({isFocused:e})=>Se("sm"===b?"h-[48px] px-3 rounded-lg":"h-[56px] px-3 rounded-xl","border border-input-border bg-white hover:not-focus:border-input-border-hover",{"border-input-border-selected outline outline-2 outline-input-border-selected":e&&!d,"border-input-border-critical shadow-none":d},i),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>s?e.value?"hidden":"block":"block text-icon-default "+(d?"text-icon-critical":""),singleValue:()=>Se(s?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Se("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",m),option:({isFocused:e,isSelected:t,label:r})=>{var i;return Se("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",s?"text-body1 text-text":"",s&&(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"}),[s,i,m,n,d,b]);return"unstyled"===v?e.jsx(vf,{options:n,value:o,placeholder:l?`${a}*`:a,onChange:c,filterOption:C,className:Se("rounded-xl",r),classNames:w,"data-cy":x,"data-testid":y,...I}):e.jsxs("div",{className:"w-full",children:[f&&e.jsx("label",{className:Se("mb-1 block text-sm font-medium text-text-secondary",g),children:f}),e.jsx(vf,{options:n,value:o,placeholder:l?`${a}*`:a,onChange:c,filterOption:C,className:Se("rounded-xl",r),classNames:w,"data-cy":x,"data-testid":y,...I}),p&&e.jsx(Xe,{className:"footnote mt-1 text-text-critical",children:p}),!p&&h&&e.jsx(Xe,{className:"footnote mt-1 text-text-info",children:h})]})});xf.displayName="Select";const yf={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"}};exports.Accordion=({items:n,title:r,anchorId:i,background:o="white",enableHeading:s=!1,maxWidth:a=!0,initialExpandedItems:l=[],hashAutoExpand:c=!1,descriptionMaxWidth:u="max-w-[980px]",itemContainerClassName:d})=>{const[p,m]=t.useState(l);t.useEffect(()=>{if(c&&"undefined"!=typeof window){const e=window.location.hash;if(e){const t=e.substring(e.indexOf("#")+1);m(e=>e.includes(t)?e:[...e,t])}}},[c]);return e.jsx("section",{id: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:e.jsxs("div",{className:""+(a?"max-w-120 xl:mx-auto":""),children:[e.jsx(Xe,{as:s?"h1":"h2",className:"heading2 mb-10 pt-12 text-left text-text md:heading1 lg:text-center",children:r}),e.jsx("div",{className:`pt-6 md:pt-10 ${null!=d?d:""}`,children:null==n?void 0:n.map((t,r)=>{const i=t.anchorId||`item-${r}`,o=t.anchorId?p.includes(t.anchorId):void 0;return e.jsxs("div",{id:t.anchorId,className:"snap-start scroll-mt-48 lg:scroll-mt-60",children:[e.jsx(Ue,{title:t.title,defaultOpen:o,containerClassName:"border-none",buttonClassName:"p-0 label1",titleClassName:"label3 md:label1 text-text",className:"p-0 pt-6 text-text",iconClassName:"text-icon",borderRadiusNone:!0,openOnlyOnDesktop:!1,...t.anchorId&&{onClick:()=>{return e=t.anchorId,void m(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);var e}},children:e.jsx("div",{className:u,children:e.jsx(Xe,{as:"div",children:t.description})})}),r<n.length-1&&e.jsx($e,{className:"my-6 md:my-10"},`divider-${r}`)]},i)})})]})})},exports.AddressInputBanner=t=>{const{title:n,variant:r="yellow",cta:i,navHeight:o,isVisible:s,renderCheckPlans:a}=t,l=yf[null==r?void 0:r.toLowerCase()]||yf.yellow;if(!s)return null;const c=(null==i?void 0:i.buttonLabel)||"Check plans",u=null==a?void 0:a({ctaText:c,buttonVariant:null==i?void 0:i.buttonVariant,showButtonAs:"solid",cta:i});return e.jsxs("div",{style:{top:`${o}px`},className:Se(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 bg-${l.bg} text-${l.text}`,"flex flex-col items-center justify-center gap-3 p-[10px] lg:flex-row lg:gap-8 lg:px-6 lg:py-[10px]"),children:[e.jsx(Xe,{className:"label3 w-full text-center md:label1 lg:w-auto lg:text-left",children:n}),u]})},exports.AnchoredBottomBanner=({ctaSuffixText:t,backgroundColor:n,iconName:r,boxShadow:i,ctaButtonLabel:o,ctaButtonLink:s,ctaButtonTarget:a,anchorId:l="anchored-banner"})=>{const c=n?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent"}[n]:"bg-bg-fill-brand-accent",u="yellow"===n||!n?"text-text-primary":"text-white";return e.jsx("section",{id:l,children:e.jsx("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${c} ${i||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e.jsx(h.default,{href:s||"#",target:a||"_self",className:"max-w-screen-xl w-full transition-all",children:e.jsx("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:e.jsxs("div",{className:`${u} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[r&&e.jsx(Le,{name:r,size:24,fill:1,className:`${u} align-text-bottom`}),o&&o," ",t&&e.jsx("span",{className:"ml-0.5",children:t})]})})})})})},exports.BlogCard=Ke,exports.BlogGrid=function({paginatedArticles:t,totalArticles:n,currentPage:r,totalPages:i,selectedCategory:o,categoryOptions:s}){const a=c.useRouter(),l=c.usePathname(),u=c.useSearchParams();function d(e,t){const n=new URLSearchParams(u.toString());t?n.set(e,t):n.delete(e),"category"===e&&n.delete("page"),a.push(`${l}?${n.toString()}`,{scroll:!1})}return e.jsxs("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[e.jsxs("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e.jsx(Xe,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:"recent articles"}),e.jsxs("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[e.jsxs(Xe,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e.jsx(Xe,{as:"span",className:"hidden md:block",children:"showing"}),e.jsxs("strong",{className:"block text-nowrap font-bold text-text-info",children:[e.jsxs(Xe,{as:"span",className:"md:hidden",children:["showing"," "]}),t.length," of ",n," articles"]})]}),e.jsx(xf,{options:s,value:o,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;d("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),t.length>0?e.jsx("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:t.map((t,n)=>{var r,i,o,s,a;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(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===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.width)||600,height:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.height)||338}:void 0;return e.jsx(Ke,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e.jsx(Xe,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),i>1&&e.jsx(Ru,{currentPage:r,totalPages:i,onPageChange:function(e){d("page",1===e?"":e.toString()),window.scrollTo({top:0,behavior:"smooth"})},ariaLabel:"Blog article pagination"})]})},exports.BlogGridBase=function({title:t="recent articles",paginatedArticles:n,totalArticles:r,currentPage:i,totalPages:o,selectedCategory:s,categoryOptions:a,onCategoryChange:l,onPageChange:c,imageComponent:u}){return e.jsxs("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[e.jsxs("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e.jsx(Xe,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:t}),a.length>0&&e.jsxs("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[e.jsxs(Xe,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e.jsx(Xe,{as:"span",className:"hidden md:block",children:"showing"}),e.jsxs("strong",{className:"block text-nowrap font-bold text-text-info",children:[e.jsxs(Xe,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",r," articles"]})]}),e.jsx(xf,{options:a,value:s,onChange:function(e){if(!e||Array.isArray(e))return;null==l||l(e)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e.jsx("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var r,i,o,s,a;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(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===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.width)||600,height:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.height)||338}:void 0;return e.jsx(Ke,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,imageComponent:u,index:n},t.slug)})}):e.jsx(Xe,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),o>1&&e.jsx(Ru,{currentPage:i,totalPages:o,onPageChange:function(e){null==c||c(e)},ariaLabel:"Blog article pagination"})]})},exports.BreadcrumbNavigation=t=>{const{links:n=[],textColor:r="dark",maxWidth:i=!0,floatOnMobile:o=!1}=t,s=o?"dark"===r?"text-text":"text-white":"dark"===r?"text-white xl:text-text":"text-text xl:text-white";return n.length?e.jsx("nav",{"aria-label":"Breadcrumb",className:(i?`${!o&&"mx-5"} max-w-120 xl:mx-auto`:"mx-auto")+" relative",children:e.jsx("ol",{className:`right-0 z-10 mx-0 flex w-full flex-nowrap items-center gap-2 px-7 pb-0 pt-8 md:px-14 ${o?"absolute":"relative xl:absolute"} xl:mx-auto xl:flex-wrap xl:px-3`,children:n.map((t,r)=>{const{image:i,...o}=t,a=(null==i?void 0:i.url)?i.url.startsWith("//")?`https:${i.url}`:i.url:"";return r===n.length-1?e.jsxs("li",{className:"flex min-w-0 items-center",children:[a&&e.jsx("img",{src:a,alt:(null==i?void 0:i.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e.jsx(Xe,{as:"span",className:`body3 mr-2 break-words ${s}`,children:t.buttonLabel})]},r):e.jsxs("li",{className:"flex flex-none items-center",children:[a&&e.jsx("img",{src:a,alt:(null==i?void 0:i.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e.jsx(tt,{...o,linkClassName:`label3 mr-2 whitespace-nowrap ${s}`,linkVariant:"unstyled"}),e.jsx(Le,{name:"chevron_right",className:`${s} `})]},r)})})}):null},exports.Button=tt,exports.Callout=({title:t,items:n,enableHeading:r=!1,subtitle:i,color:o="dark",maxWidth:s=!0,maxCardsPerRow:a,cardType:l="simple"})=>{const c={1:" lg:w-full",2:" lg:w-[calc(50%-0.75rem)]",3:" lg:w-[calc(33.3333%-1rem)]",4:" lg:w-[calc(25%-1.125rem)]"}[a||4]||" lg:w-[calc(25%-1.125rem)]",u=1===n.length?" md:w-full":" md:w-[calc(50%-1rem)]";return e.jsx("div",{className:"component-container",children:e.jsx("div",{className:`mx-5 mb-5 mt-12 ${s?"max-w-120 xl:mx-auto":""} ${"dark"==o?"text-text":"text-white"}`,children:e.jsxs("div",{className:"callout-container flex flex-col gap-10 md:gap-16",children:[e.jsxs("div",{className:"title-holder",children:[t&&e.jsx(Xe,{as:r?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:t}),i&&e.jsx(Xe,{as:r?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:i})]}),e.jsx("div",{className:"card-holder flex flex-wrap items-stretch justify-center gap-6 self-stretch md:gap-6",children:n.map((t,n)=>((t,n)=>{if("blog"===l){const n=t;return e.jsx(Ke,{title:n.title,href:n.slug,description:n.shortDescription,date:n.blogCreationDate,category:n.category,image:n.cover,asGrid:!1,lgWidth:c,mdWidth:u})}return e.jsx(st,{card:t,lgWidth:c,mdWidth:u},n)})(t,n))})]})})})},exports.Cards=({fields:t})=>e.jsx("div",{children:e.jsx(Xe,{children:"Cards"})}),exports.Carousel=({fields:t,hasTestimonialCards:n,hasProductCards:r,disclaimerText:i,backgroundColor:o,activeTab:s,setActiveTab:a,tabs:l,onModalButtonClick:c,renderCheckPlans:u,testimonialAutoScroll:d=!0,showSwitch:p=!1})=>{const m=r?"px-3 py-9 md:py-20":n?"px-3 py-12 md:pt-20 md:pb-16":"";return e.jsxs("div",{className:`${o} ${m} mx-auto overflow-hidden`,children:[e.jsxs("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-8 overflow-visible md:gap-12",children:[e.jsxs("div",{children:[e.jsx(Xe,{as:"h2",className:"heading2 text-text md:heading1 md:text-center",children:null==t?void 0:t.title}),(null==t?void 0:t.subTitle)&&e.jsx(Xe,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==t?void 0:t.subTitle})]}),p&&r&&e.jsxs("div",{className:"flex flex-col gap-8",children:[p&&r&&l.length>1&&e.jsx(ht,{tabs:l,activeTab:s,onChange:a}),r&&e.jsx(dt,{onModalButtonClick:c,renderCheckPlans:u,fields:t})]}),n&&e.jsx(mt,{fields:t,autoScroll:d,autoScrollInterval:8e3})]}),i&&e.jsx(Xe,{as:"div",className:"footnote mt-8 px-4 text-center text-text-secondary",children:i})]})},exports.CartRetentionBanner=({fields:n,isInPopupContainer:r=!1,onClose:i,onContinueCheckout:o,checkShouldShowBanner:s,onBannerShown:a})=>{var l,c;const{anchorId:u,mainHeading:d,description:p,cta:m}=n,[h,f]=t.useState(!1);t.useEffect(()=>{const e=()=>{(null==s?void 0:s())&&!h&&(f(!0),null==a||a())};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[]);const g=()=>{null==o||o()};return r?e.jsxs("div",{className:"pop-up-body mb-5 mt-10 flex w-full flex-col items-center justify-center","data-section-type":"cart-retention-banner","data-section-index":"0",children:[e.jsx(Xe,{className:"heading5 text-center lg:heading3",children:d||"Welcome back. Let’s finish your order"}),p&&ze(Te(null==p?void 0:p.json),!1,"body1 my-4"),e.jsx(tt,{onClick:g,buttonLabel:null!==(l=null==m?void 0:m.buttonLabel)&&void 0!==l?l:"Continue checkout"})]}):e.jsx("section",{id:u,"data-testid":"cart-retention-banner",children:e.jsx(Vu,{size:"sm",isOpen:h,onRequestClose:()=>{null==i||i(),f(!1)},bodyClassName:"flex items-center justify-center",type:"cart-retention-banner",children:e.jsxs("div",{className:"pop-up-body mb-5 mt-10 flex w-full flex-col items-center justify-center",children:[e.jsx(Xe,{className:"heading5 text-center lg:heading3",children:d||"Welcome back. Let's finish your order"}),p&&ze(Te(null==p?void 0:p.json),!1,"body1 my-4"),e.jsx(tt,{onClick:g,buttonLabel:null!==(c=null==m?void 0:m.buttonLabel)&&void 0!==c?c:"Continue checkout"})]})})})},exports.ComparisonTable=({title:t,disclaimer:n,table:r,maxWidth:i=!0})=>e.jsx("div",{className:"component-container",children:e.jsxs("div",{className:"mx-5 mb-5 mt-8 md:mt-18 "+(i?"max-w-120 xl:mx-auto":""),children:[e.jsx(Xe,{as:"h2",className:"heading2 md:heading1 md:text-center",children:t}),e.jsx("div",{className:"comparison-table-container mt-5 md:mt-10 p-5 pt-0 md:py-9 md:px-10",children:r}),e.jsx(Xe,{as:"div",className:"micro mt-8 text-center",children:n})]})}),exports.CookieBanner=function({content:r}){let i=3;const[o,s]=t.useState(!1),[a,l]=t.useState(!1),c=t.useRef(null);t.useEffect(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=m.default.get(e);return t?n.Base64.decode(t):null}("cookieBannerClosed");s("true"!==e)},[]),t.useEffect(()=>{(()=>{const e=document.getElementById("anchored-banner");l(!!e)})()},[]),t.useEffect(()=>{var e,t,n,r;return o?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")}},[o]),t.useEffect(()=>{if(!o)return;const e=()=>{if(c.current){const e=c.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 i=()=>{clearTimeout(r),r=setTimeout(e,150)};return window.addEventListener("resize",i),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(r),window.removeEventListener("resize",i),document.documentElement.style.removeProperty("--cookie-banner-height")}},[o,a]),a&&(i=14);const u=4*i;return o?e.jsxs("div",{id:"cookie-banner",ref:c,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:`${u}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e.jsx(tt,{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);s(!1),((e,t,r)=>{if("undefined"==typeof window)return;const i=JSON.stringify(t),o=n.Base64.encode(i);m.default.set(e,o,r)})("cookieBannerClosed",!0,{expires:e})},children:e.jsx(Le,{name:"close"})}),r.richText?e.jsx("div",{className:"mx-auto my-4 [&>a]:footnote",children:r.richText}):null]}):null},exports.CtaCallout=({title:t,background:n="white",button:r,color:i,contentAlignment:o,description:s,descriptionAlignment:a,enableHeading:l,subTitle:c,maxWidth:u=!0,onModalButtonClick:d,renderCheckPlans:p})=>e.jsx("div",{className:`${{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-bg"}[n]} component-container px-5 py-16 lg:px-13 lg:py-24`,children:e.jsxs("div",{className:`${u?"mx-auto max-w-120":""} color-${i} flex flex-col ${"dark"==i?"text-text":"text-text-inverse"}`,children:[t&&e.jsx(Xe,{as:l?"h1":"h2",className:`heading2 lg:heading1 text-${o}`,children:t}),c&&e.jsx(Xe,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${o}`,children:c}),s&&e.jsx("div",{className:`pt-2 text-body1 lg:pt-3 text-${a}`,children:s}),e.jsx("div",{className:"flex justify-center pt-5 lg:pt-14",children:e.jsx(tt,{...r,renderCheckPlans:p,onModalButtonClick:d,size:{base:"large"}})})]})}),exports.DynamicTabs=function(n){var r,i,o;const[s,a]=t.useState(0),[l,c]=t.useState(""),{title:u,subTitle:d,tabs:p,tabsContent:m,navigationType:h=!0,mobileSidebarTabType:f=!0}=n;t.useEffect(()=>{if("undefined"!=typeof window){c(window.location.hash);const e=()=>{c(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}},[]),t.useEffect(()=>{var e;null===(e=null==p?void 0:p.items)||void 0===e||e.some((e,t)=>{if(`#${(null==e?void 0:e.anchorId)||"tab-"+t}`===l)return a(t),!0})},[p,l]);const g=(e,t)=>{a(e),"undefined"!=typeof window&&l&&(window.location.hash=t||"")},b=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e.jsx("div",{className:"flex w-max gap-10",children:null===(r=null==p?void 0:p.items)||void 0===r?void 0:r.map((t,n)=>e.jsx(tt,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Se("py-2 whitespace-nowrap",n===s?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},n))})}),null==m?void 0:m.map((t,n)=>e.jsx("div",{children:e.jsx(Gl,{children:e.jsx(Cl.div,{initial:{height:0,opacity:0},animate:{height:n===s?"auto":0,opacity:n===s?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))]}),v=e.jsx(e.Fragment,{children:null===(i=null==p?void 0:p.items)||void 0===i?void 0:i.map((t,n)=>e.jsxs("div",{className:"py-5",children:[e.jsxs(tt,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Se("w-full flex justify-between items-center px-4 py-5",n===s?"bg-bg-surface-active":""),children:[e.jsx("span",{className:"heading6",children:t.tabName}),e.jsx(Le,{name:n===s?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e.jsx(Je,{open:n===s,children:e.jsx("div",{className:Se("px-4 py-4"),children:null==m?void 0:m[n]})})]},n))}),x=e.jsxs("div",{className:"flex px-5 py-20",children:[e.jsx("div",{className:"rounded-surface-lg border border-border-secondary shadow-lg",children:e.jsx("div",{className:"flex min-w-80 flex-col gap-4 px-6 py-7",children:null===(o=null==p?void 0:p.items)||void 0===o?void 0:o.map((t,n)=>e.jsx(tt,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Se("px-4 py-3 whitespace-nowrap text-left rounded-button-sm",n===s?"label1 text-white bg-bg-inverse":"body1"),children:t.tabName},n))})}),e.jsx("div",{className:"grow",children:null==m?void 0:m.map((t,n)=>e.jsx("div",{children:e.jsx(Gl,{children:e.jsx(Cl.div,{initial:{height:0,opacity:0},animate:{height:n===s?"auto":0,opacity:n===s?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))})]});return e.jsxs("div",{children:[u||d?e.jsxs("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[u?e.jsx(Xe,{className:"heading2 px-5 md:heading1 md:text-center",children:u}):null,d?e.jsx(Xe,{className:"subheading3 px-5 md:subheading1 md:text-center",children:d}):null]}):null,e.jsx("div",{className:"md:hidden",children:f?b:v}),e.jsx("div",{className:"hidden md:block",children:h?b:x})]})},exports.EmailInputBlock=n=>{const{anchorId:r="email-input",title:i,subTitle:o,emailInputDescription:s,inputPlaceholder:a="Enter your email here",ctaText:l="Sign me up",caption:c,backgroundColor:u="green",successFeedback:d,onSubmit:p}=n||{},m={navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",yellow:"bg-bg-fill-brand-accent",white:"bg-white"},h=m[u]||m.green,f=["green","blue","navy"].includes(u)?"text-white":"text-text",[g,b]=t.useState(""),[v,x]=t.useState(!1),[y,I]=t.useState("");return e.jsxs("section",{id:r,className:"w-full px-4 py-8 md:px-0",children:[e.jsx("div",{className:`mx-auto max-w-[1200px] overflow-hidden rounded-[32px] md:rounded-[20px] ${h} flex flex-col items-start p-8 md:p-16`,children:e.jsxs("div",{className:"lg:w-[548px]",children:[i&&e.jsx("h1",{className:`text-heading1 font-black ${f}`,children:i}),o&&e.jsx("h2",{className:`text-heading1 font-black ${f}`,children:o}),s&&e.jsx("p",{className:`mb-10 text-subheading1 opacity-95 ${f}`,children:s}),e.jsxs("div",{className:"max-w-2xl flex w-full items-center overflow-hidden rounded-3xl border border-transparent bg-white p-1.5 shadow-xl transition-all md:p-2",children:[e.jsx("input",{type:"email",placeholder:a,value:g,onChange:e=>{b(e.target.value),y&&I(""),v&&x(!1)},className:"w-full flex-grow bg-transparent px-6 py-3 text-lg font-medium text-text outline-none placeholder:text-input-icon-placeholder md:py-4"}),e.jsx(tt,{buttonLabel:l,buttonVariant:"primary_inverse",onClick:()=>{(e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))(g)?(p({email:g}),b(""),x(!0),I("")):I("Please enter a valid email address.")}})]}),y&&e.jsx("p",{className:"mt-2 text-label4 font-semibold text-text-critical",children:y}),d&&v&&!y&&e.jsx("p",{className:`mt-2 text-label4 font-semibold ${f}`,children:d})]})}),c&&e.jsx("p",{className:"mx-auto mt-2 max-w-[1200px] px-6 md:px-8",children:c})]})},exports.FindKinetic=({background:t="white",description:n,enableHeading:r,image:i,list:o=[],subTitle:s,title:a,color:l="dark",maxWidth:c=!0})=>e.jsx("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[t]} component-container overflow-hidden ${"dark"==l?"text-text":"text-white"}`,children:e.jsxs("div",{className:(c?"max-w-120 xl:mx-auto":"")+" mx-5 mb-5 mt-12 xl:my-20",children:[a&&e.jsx(Xe,{as:r?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:a}),s&&e.jsx(Xe,{as:r?"h2":"h3",className:"heading3 mt-4 text-center",children:s}),e.jsxs("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[e.jsxs("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[n&&e.jsx(Xe,{as:"p",className:"body1",children:n}),o.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("ul",{className:"grid w-full grid-cols-2 gap-x-6 gap-y-5 md:hidden",children:(()=>{const t=[...o].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.jsx("li",{children:e.jsx(De,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e.jsx("ul",{className:"hidden gap-x-6 gap-y-5 md:grid md:grid-cols-3",children:(()=>{const t=[...o].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;o<t.length&&r.push(t[o])}return r.map((t,n)=>e.jsx("li",{children:e.jsx(De,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),i&&e.jsx("aside",{className:"hidden xl:block",children:e.jsx(ot,{width:472,height:100,src:i,alt:"image"})})]})]})}),exports.FloatingBanner=({title:t,subtitle:n,description:r,disclaimer:i,icon:o,cta:s,background:a="navy",color:l="light",enableHeading:c,maxWidth:u=!0})=>e.jsx("div",{className:"component-container",children:e.jsxs("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-surface-lg xl:mx-auto "+(u?"max-w-120":""),children:[e.jsxs("div",{className:`flex flex-col rounded-surface px-5 py-7 lg:flex-row lg:gap-5 lg:rounded-surface-lg lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[a]} ${"dark"==l?"text-text":"text-white"} `,children:[o&&e.jsx("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e.jsx("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e.jsx(ot,{width:80,height:80,alt:"icon",src:o})})}),e.jsxs("div",{className:"flex w-full flex-col justify-center lg:w-4/5",children:[t&&e.jsx(Xe,{as:c?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:t}),n&&e.jsx(Xe,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:n}),r&&e.jsx(Xe,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:r})]}),s&&e.jsx("div",{className:"mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center",children:e.jsx(tt,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),i&&e.jsx("div",{children:e.jsx(Xe,{as:"div",className:"body3 mt-3 text-center",children:i})})]})}),exports.Footer=({body:t,links:n,bottomLinks:r,copyrights:i,terms:o,maxWidth:s=!0,onClick:a})=>{function l(e){null==a||a(e)}return e.jsx("div",{className:"component-container bg-bg-inverse text-white",children:e.jsxs("div",{className:` ${s?"mx-auto max-w-120":""} px-5 py-8`,children:[e.jsx("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:t}),e.jsx($e,{className:"my-8 border-border-inverse lg:my-16"}),e.jsx("div",{className:"grid-1 grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:null==n?void 0:n.map((t,n)=>{var r,i;return e.jsxs(p.default.Fragment,{children:[e.jsx("div",{children:e.jsxs("nav",{"aria-labelledby":`footer-${null==t?void 0:t.title}`,className:"site-links-group",children:[e.jsx(Xe,{as:"div",className:"label3",children:null==t?void 0:t.title}),e.jsx("ul",{className:"flex flex-col",children:null===(i=null===(r=null==t?void 0:t.items)||void 0===r?void 0:r.items)||void 0===i?void 0:i.map((t,n)=>e.jsx("li",{className:"pt-3",children:e.jsx(tt,{...t,linkVariant:"unstyled",linkClassName:"text-white body3 hover:underline underline-offset-4",onClick:l})},`site-links-${n}`))})]},`link-group-${n}`)},`footer-link-group-${n}`),e.jsx($e,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${n}`)})}),e.jsxs("div",{className:"py-8",children:[e.jsx($e,{className:"my-8 hidden border-border-inverse md:my-8 md:block"}),e.jsxs("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",o]}),e.jsx("p",{className:"copy-rights whitespace-pre-line",children:i}),e.jsx("nav",{"aria-label":"Footer legal",children:e.jsx("ul",{className:"bottom-links list-none",children:null==r?void 0:r.map((t,n)=>e.jsx("li",{className:"relative float-left pl-[8px] before:absolute before:left-[3px] before:top-1/2 before:-translate-y-1/2 before:text-[14px] before:content-['•'] first-of-type:pl-0 first-of-type:before:content-['']",children:e.jsx(tt,{...t,linkClassName:"footnote text-white hover:underline underline-offset-4",linkVariant:"unstyled",onClick:l})},`links-${n}`))})})]})]})})},exports.ImagePromoBar=({brow:n,enableHeading:r,title:i,subTitle:o,ctaDisclaimer:s,disclaimer:a,description:l,image:c,imageLinks:u,mediaPosition:d=!0,checklist:p,secondaryCta:m,cta:h,videoLink:f,maxWidth:g=!0,color:b="light",imageWidth:v=660,imageHeight:x=660,onModalButtonClick:y,renderCheckPlans:I})=>{var C,w;const[N,A]=t.useState(""),[j,k]=t.useState(!1),P=null!==(C=null==f?void 0:f.link)&&void 0!==C?C:"",G=null==f?void 0:f.image,S=null!==(w=null==f?void 0:f.videoPopup)&&void 0!==w&&w,E=Boolean(N&&N===P),B=f&&G?P.includes("vimeo")?e.jsx(gt,{link:P,autoplay:E}):e.jsx(bt,{link:P,autoplay:E}):null;return e.jsxs("div",{className:"component-container",children:[e.jsx("div",{className:`image-promo-bar-content ${g?"max-w-120 lg:mx-auto":""} mx-5 my-16`,children:e.jsxs("div",{className:"flex shrink-0 flex-col items-center gap-8 lg:items-stretch lg:gap-10 xl:gap-[126px] "+(d?"lg:flex-row-reverse":"lg:flex-row"),children:[e.jsxs("div",{className:"flex flex-[1_0_0] flex-col items-start justify-center gap-8 lg:gap-10 "+("dark"==b?"text-text":"text-white"),children:[e.jsxs("div",{className:"heading holder",children:[n&&e.jsx(Xe,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),i&&e.jsx(Xe,{as:r?"h1":"h2",className:"heading2 xl:heading1",children:i}),o&&e.jsx(Xe,{as:r?"h2":"h3",className:"subheading3 mt-3 md:subheading1",children:o})]}),l&&e.jsx(Xe,{as:"div",className:"body1",children:l}),p.length>0&&e.jsx(We,{items:p,iconPosition:"top",iconSize:24,listItemClassName:"body1 text-text",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3"}),u.length>0&&e.jsx("div",{className:"flex gap-4",children:null==u?void 0:u.map((t,n)=>e.jsx("div",{className:"image-link w-[147px]",children:e.jsx(De,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e.jsx(at,{src:t.image,alt:"icon-link"})})},n))}),(h||m)&&e.jsxs("div",{className:"flex w-full flex-col gap-3 xl:flex-row",children:[h&&e.jsx("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e.jsx(tt,{...h,fullWidth:!0,size:{base:"large"},renderCheckPlans:I,onModalButtonClick:y})}),m&&e.jsx("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e.jsx(tt,{...m,fullWidth:!0,size:{base:"large"},renderCheckPlans:I,onModalButtonClick:y})})]}),s&&e.jsx("div",{children:s}),a&&e.jsx("div",{children:a})]}),e.jsxs("aside",{className:"flex w-full shrink-0 items-center justify-center lg:w-auto",children:[c&&e.jsx("div",{className:"relative h-[334px] w-[334px] overflow-hidden rounded-image md:h-[486px] md:w-[486px]",children:e.jsx(ot,{src:c,alt:"section-image",fill:!0,sizes:"(min-width: 768px) 486px, 334px",className:"object-cover"})}),(null==f?void 0:f.link)&&e.jsxs("div",{className:Se("video-section relative w-full cursor-pointer overflow-hidden rounded-image transition-all duration-300 lg:w-[486px]",!E&&"hover:shadow-2xl"),onClick:()=>{var e;A(null!==(e=null==f?void 0:f.link)&&void 0!==e?e:"")},onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),children:[e.jsxs("div",{className:Se(E&&!S&&"hidden",E&&!S?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[f.image&&e.jsx(ot,{src:f.image,alt:"Video preview",width:486,height:486,className:"absolute inset-0 h-full w-full rounded-image object-cover"}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx(ft,{isHovered:j})})]}),!S&&E&&e.jsx("div",{className:Se("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",E?"opacity-100":"opacity-0"),children:B})]})]})]})}),S&&E&&e.jsx("div",{className:"fixed inset-0 top-20 z-[100] flex items-center justify-center bg-black/80 p-4 transition-all duration-300",onClick:e=>{e.stopPropagation(),A("")},children:e.jsx("div",{className:"max-w-6xl aspect-video w-full overflow-hidden rounded-3xl bg-black shadow-2xl md:w-4/6",onClick:e=>e.stopPropagation(),children:B})})]})},exports.Modal=Vu,exports.Navigation=t=>{const{primaryNavigationLinks:n,utilityNavigationLinks:r,checkPlansJSX:i,primaryNavigationLogo:o,accountNavigationLinks:s,supportNavigationLinks:a,searchBarIcon:l,invocaPhoneNumberLink:c,invocaPhoneNumberDisplayText:u,callNowCtaText:d,displayCartIcon:p,cartHref:m,cartHasRetention:h,cartIconAriaLabel:f="Cart",onCallClickDesktop:g,onCallClickMobile:b,onCartClick:v,onSearch:x=()=>{},utilityNavActiveIndex:y,primaryNavigationLogoWidth:I=76.5,primaryNavigationLogoHeight:C=24,hideMobileCallButton:w=!1}=t;return e.jsxs("div",{className:"component-container",children:[e.jsxs("nav",{className:"menu-container z-[1000]",children:[e.jsx("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",children:e.jsxs("div",{className:"mx-auto flex max-w-120 justify-between",children:[e.jsx("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==r?void 0:r.map((t,n)=>e.jsx("li",{children:e.jsx(tt,{linkClassName:Se("footnote flex items-center w-full h-11 text-text","number"!=typeof y?1===n&&"label4":y===n&&"label4"),linkVariant:"unstyled",...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t))})},`main-menu-items-${n}`))}),e.jsxs("div",{className:"flex items-center gap-10",children:[e.jsx(It,{className:"border-none",href:c,prefix:d,onClick:g,children:e.jsx(Xe,{className:"body3 text-text",children:u})}),p?e.jsxs(De,{href:m||"#",className:"relative inline-flex cursor-pointer","aria-label":f,onClick:v,children:[e.jsx(Le,{name:"shopping_cart"}),h?e.jsx("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,null==s?void 0:s.map((t,n)=>e.jsx(vt,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}),e.jsxs("div",{className:"main-nav-container","aria-label":"Main Navigation",children:[e.jsxs("div",{className:"mobile-nav-section flex h-14 items-center justify-between border border-b px-5 py-[10px] lg:hidden",children:[e.jsx("div",{children:e.jsx(De,{href:"/",className:"flex",children:e.jsx(ot,{src:"string"==typeof o?o:(null==o?void 0:o.url)||"",alt:"Kinetic business logo",width:I,height:C})})}),e.jsxs("div",{className:"flex items-center gap-6",children:[w?null:e.jsx(It,{href:c,onClick:b,children:e.jsx(Xe,{as:"span",className:"footnote",children:u})}),p?e.jsxs(De,{href:m||"#",className:"relative inline-flex cursor-pointer","aria-label":f,onClick:v,children:[e.jsx(Le,{name:"shopping_cart"}),h?e.jsx("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,e.jsx(wt,{...t})]})]}),e.jsx("div",{className:"desktop-nav-section hidden lg:block lg:border-b lg:px-2",children:e.jsxs("div",{className:"mx-auto flex h-14 max-w-120 items-center justify-between",children:[e.jsxs("div",{className:"flex h-full",children:[e.jsx(De,{href:"/",className:"flex",children:e.jsx(ot,{src:"string"==typeof o?o:(null==o?void 0:o.url)||"",alt:"Kinetic business logo",width:I,height:C,className:"mr-[64px]"})}),e.jsx("div",{className:"flex h-full items-center gap-5",children:null==n?void 0:n.map((t,n)=>e.jsx(vt,{anchorName:`main-menu-${n}`,link:t},`main-menu-${n}`))})]}),e.jsxs("div",{className:"flex h-full items-center gap-10",children:[e.jsx(At,{searchBarIconURL:"string"==typeof l?l:(null==l?void 0:l.url)||"",onSearch:x}),null==a?void 0:a.map((t,n)=>e.jsx(vt,{anchorName:`support-menu-${n}`,link:t},`support-menu-${n}`))]})]})})]})]}),i&&e.jsx("div",{className:"md:hidden",children:i})]})},exports.PrimaryHero=t=>{var n;const{title:r,showAsHeading:i,subTitle:o,primaryCta1:s,carouselImages:a,bottomLink:l,price:c,priceCallout:u,priceSuffix:d,checklist:p,renderCheckPlans:m,badgeImage:h,pricingDescriptionDisclaimer:f,secondaryCta:g,secondaryCtaPrefix:b,onModalButtonClick:v,hideOnMobileCta1:x}=t,y=null!==(n=null==l?void 0:l.buttonLabel)&&void 0!==n?n:null==l?void 0:l.label;return console.log(s),e.jsx("div",{className:"component-container p-5 lg:h-[724px] lg:p-0",children:e.jsxs("div",{className:Se("primary-hero-container mx-auto flex flex-col sm:items-center sm:text-center lg:h-full lg:max-w-120 lg:flex-row lg:items-center lg:justify-between lg:gap-4 lg:px-4 lg:text-left"),children:[e.jsx("div",{className:Se("relative flex flex-col text-white sm:w-[485px]"),children:e.jsxs("div",{className:"flex flex-col gap-5 lg:gap-6",children:[r&&e.jsx(Xe,{as:i?"h1":"h2",className:"heading2 lg:heading1",children:r}),o&&e.jsx(Xe,{as:"p",className:"subheading3 lg:subheading1",children:o}),c?e.jsxs("div",{className:"flex sm:justify-center sm:text-left lg:justify-start",children:[e.jsx("div",{className:"mr-2 mt-0.5",children:u?u.split("|").map((t,n)=>e.jsx(Xe,{as:"p",className:"body2",children:t},n)):null}),e.jsxs("div",{className:"flex",children:[e.jsx(Xe,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e.jsx(Xe,{as:"p",className:"subheading5",children:c}),d?e.jsx(Xe,{as:"p",className:"subheading1 mt-0.5",children:d}):null]})]}):null,p&&e.jsx(We,{listItemClassName:"text-white text-left",items:p.map(e=>e.title)}),e.jsxs("div",{className:"flex flex-col gap-3",children:[s&&e.jsx("div",{className:Se("md:block",x&&"hidden"),children:e.jsx(tt,{...s,renderCheckPlans:m,onModalButtonClick:v,fullWidth:!0,buttonClassName:"md:w-auto"})}),b||g?e.jsxs("div",{className:"hidden md:flex",children:[b&&e.jsx(Xe,{as:"span",className:"body2 mr-1",children:b}),g&&e.jsx(tt,{linkClassName:"body2 text-text-inverse",onModalButtonClick:v,...g})]}):null,l&&(y||(null==l?void 0:l.href))&&e.jsx("div",{className:"hidden md:block",children:e.jsx(tt,{...l,linkClassName:"text-footnote text-white",onModalButtonClick:v})}),f?e.jsx(Xe,{as:"p",className:"body3 hidden md:block",children:f}):null]})]})}),e.jsxs("div",{className:"lg:hidden",children:[e.jsxs("div",{className:"relative my-8",children:[h?e.jsx(ot,{src:h,alt:"Badge",className:"absolute left-5 top-5 aspect-square w-26 object-cover object-center",width:104,height:104,quality:90,loading:"eager"}):null,a&&a[0]?e.jsx(ot,{src:a[0],alt:"Hero",className:"aspect-[1.71:1] sm:aspect-[1.41:1] w-full rounded-[40px] object-cover object-center sm:h-[420px]",width:1024,height:600,sizes:"100vw",quality:90,loading:"eager"}):null]}),l&&(y||(null==l?void 0:l.href))&&e.jsx("div",{className:"md:hidden",children:e.jsx(tt,{...l,onModalButtonClick:v,linkClassName:"body3 text-white"})}),f?e.jsx(Xe,{as:"p",className:"body3 md:hidden",children:f}):null,b||g?e.jsxs("div",{className:"flex md:hidden",children:[b&&e.jsx(Xe,{as:"span",className:"body2 mr-1",children:b}),g&&e.jsx(tt,{...g,onModalButtonClick:v,linkClassName:"text-white"})]}):null]}),e.jsxs("div",{className:Se("relative hidden lg:block"),children:[h?e.jsx(ot,{src:h,alt:"Badge",className:"absolute -left-26 top-18 aspect-square w-52 object-cover object-center",width:208,height:208,quality:90,loading:"eager"}):null,a&&a[0]?e.jsx(ot,{src:a[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,quality:90,loading:"eager"}):null]})]})})},exports.ProductCard=ct,exports.SearchBlock=n=>{const{anchorId:r="SearchBlock",title:i,subTitle:o,enableHeading:s,searchDescription:a,searchInputPlaceholder:l,basicCaption:c,caption:u,backgroundColor:d,color:p,onSubmit:m}=n,[h,f]=t.useState("");return e.jsx("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[d]} ${"dark"==p?"text-text":"text-white"}`,id:r,"data-testid":"search-block",children:e.jsx("div",{className:"flex justify-center",children:e.jsxs("div",{className:"w-[1200px]",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsx(Xe,{as:s?"h1":"h2",className:Se("heading2 md:heading1"),children:i}),o&&e.jsx(Xe,{as:"div",className:Se("subheading2 mt-2 md:subheading1"),children:o})]}),a?e.jsx(Xe,{className:"heading6 text-center",children:a}):null,e.jsx("span",{className:"w-full",children:e.jsxs("form",{onSubmit:e=>{e.preventDefault(),null==m||m({searchText:h})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e.jsx(Ye,{type:"submit",className:"ml-2 inline-flex",children:e.jsx(Le,{name:"search",className:"text-text"})}),e.jsx("div",{className:"flex-grow",children:e.jsx(Ct,{value:h,onChange:e=>f(e.target.value),placeholder:l,containerClassName:"px-4 pl-0 rounded-md flex-grow border-none",className:"body3 rounded-md text-text"})})]})}),u||null,c]})})})},exports.ShapeBackgroundWrapper=({children:t,background:n,className:r,fill:i="yellow",maxFit:o,show:s=!0,path:a="path2"})=>{const l=`${a}`,c={blue:"text-[#07B2E2]",green:"text-[#26B170]",yellow:"text-[#F5FF1E]",purple:"text-[#931D69]",white:"text-white",navy:"text-[#00002D]"},u={blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"},d="string"==typeof n&&n in u,p=d?u[n]:void 0,m=n&&!d?{background:n}:void 0,h=i in c?c[i]:"text-[#F5FF1E]";return s?e.jsxs("div",{className:`shape-bg relative overflow-hidden ${null!=r?r:""} ${o?"max-content":""} ${null!=p?p:m?"":"bg-white"}`,style:m,children:["path1"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${l} fill-current ${h}`,width:"2262",height:"4359",viewBox:"0 0 2262 4359",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1838.72 444.021C2216.45 758.242 2351.22 1060.81 2202.83 1982.25C2062.95 2851.55 1923.57 4265.14 1394.48 4348.94C1079.75 4409.66 766.955 4172.68 508.523 4003.04C340.876 3884.89 192.855 3774.9 26.6866 3661.93C-27.6562 3624.7 8.69435 3542.15 74.1261 3555.69C415.628 3626.61 686.916 3615.36 942.942 3443.48C1410.95 3163.54 1632.32 2141.02 1629.56 1543.75C1637.51 910.76 1276.06 582.318 829.643 352.709C587.562 235.528 333.508 169.963 100.699 149.757C31.9431 143.965 25.0259 47.9703 92.459 33.1281C623.196 -84.6769 1404.59 131.886 1839.84 443.573"})}),"path2"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${l} fill-current ${h}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.09 4009.1 647.09 3634.26 264.38C3417.79 27.9944 3025.37 31.7818 2716.76 13.9013C2511.72 8.81634 2327.31 8.87399 2126.55 0.511773C2060.73 -2.00127 2040.7 85.9475 2101.3 114.087C2417.76 260.743 2628.86 431.51 2731.94 722.142C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.97 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),"path3"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${l} fill-current ${h}`,width:"3044",height:"3248",viewBox:"0 0 3044 3248",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1.21857 1353.6C-0.931975 1765.46 120.504 2015.15 791.765 2417.01C1424.98 2796.19 2407.16 3469.31 2746.34 3175.04C2955.08 3005.86 2971.76 2677.32 3002.33 2420C3016.95 2248.7 3026.23 2094.39 3043.38 1926.83C3048.81 1871.88 2976.24 1850.67 2949.63 1899.96C2810.91 2157.33 2657.35 2325.33 2408.95 2396.88C1976.88 2546.15 1201.39 2136.59 819.655 1812.63C409.231 1476.27 393.475 1067.19 486.97 656.895C542.372 438.358 637.352 239.983 749.974 79.7081C783.347 32.4684 725.487 -23.7534 679.587 11.5067C317.699 288.49 35.1358 906.671 0.328344 1354.07"})}),"path4"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${l} fill-current ${h}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.1 4009.1 647.091 3634.26 264.381C3417.79 27.9951 3025.37 31.7826 2716.76 13.902C2511.72 8.81709 2327.31 8.87474 2126.55 0.512528C2060.73 -2.00052 2040.7 85.9483 2101.3 114.088C2417.76 260.743 2628.86 431.51 2731.94 722.143C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.98 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),e.jsx("div",{className:"shape-bg-content relative z-[1]",children:t})]}):e.jsx("div",{className:r,style:m,children:t})},exports.SimpleCard=st,exports.TestimonialCard=ut,exports.Text=({fields:t})=>e.jsx("div",{children:e.jsx(Xe,{children:"Text Block"})}),exports.label1BoldOptions=He,exports.renderContentfulRichText=ze,exports.renderContentfulRichTextTable=function(t,n){if(!t||!Array.isArray(t.content))return null;const r={...Ze,renderMark:{...Ze.renderMark,[o.MARKS.BOLD]:t=>e.jsx("strong",{className:"label4 md:label2",children:t})},renderNode:{...Ze.renderNode,[o.BLOCKS.PARAGRAPH]:(t,n)=>e.jsx(e.Fragment,{children:n}),[o.BLOCKS.TABLE]:(t,n)=>{var r,i;return e.jsx("div",{className:"comparison-table-wrapper w-full overflow-x-auto border-none md:overflow-hidden",children:e.jsx("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.jsx("tbody",{children:n})})})},[o.BLOCKS.TABLE_ROW]:(t,n)=>e.jsx("tr",{className:"border-b border-gray-200 last:border-0",children:n}),[o.BLOCKS.TABLE_HEADER_CELL]:(t,n)=>{var r;const i=(null===(r=t.parent)||void 0===r?void 0:r.content.length)>2;return e.jsx("th",{className:`label4 md:label2 break-words py-4 text-center ${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})},[o.BLOCKS.TABLE_CELL]:(t,n)=>{var r,i,o,s;const a=(null===(r=t.parent)||void 0===r?void 0:r.content.length)>2,l=null===(s=null===(o=null===(i=t.content[0])||void 0===i?void 0:i.content[0])||void 0===o?void 0:o.value)||void 0===s?void 0:s.toLowerCase().trim();return e.jsx("td",{className:`rt-table-cell footnote md:body2 leading-5 md:leading-7 text-text break-words bg-white py-2 text-center align-top first:text-left ${a?"w-[50vw] min-w-[50vw] first:sticky first:left-0 first:z-10 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:e.jsxs(e.Fragment,{children:[" ","yes"===l?e.jsx(Le,{name:"check_circle",color:"#24A76A",fill:1}):"no"===l?e.jsx(Le,{name:"cancel",color:"#CECECE",fill:1}):n]})})},[o.INLINES.EMBEDDED_ENTRY]:t=>{var r,i,o,s;const a=t.data.target.sys.id,l=null===(i=null===(r=null==n?void 0:n.entries)||void 0===r?void 0:r.inline)||void 0===i?void 0:i.find(e=>e.sys.id===a);if(!l)return null;if("ComponentCheckList"===l.__typename){const t=(null===(s=null===(o=l.list)||void 0===o?void 0:o.items)||void 0===s?void 0:s.map(e=>{var t;return ze(Te(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"")}))||[];return e.jsx(We,{items:t,listIconName:"disc",listItemClassName:"items-baseline footnote md:body2 leading-5 md:leading-7 text-text"})}return e.jsx("span",{children:l.title||""})}}};return i.documentToReactComponents(t,r)},exports.toDocument=Te,exports.useContentfulRichText=function(e,n){return t.useMemo(()=>{if(!e||!Array.isArray(e.content))return null;const t={...Ze,renderMark:{...Ze.renderMark,...null==n?void 0:n.renderMark},renderNode:{...Ze.renderNode,...null==n?void 0:n.renderNode}};return i.documentToReactComponents(e,t)},[e,n])},exports.useProcessedChecklist=function(e,n,r,i){return t.useMemo(()=>{var t,o;const s=null!==(o=null===(t=null==e?void 0:e.list)||void 0===t?void 0:t.items)&&void 0!==o?o:[];return n?s.map(e=>{var t,n;return null!==(n=ze(Te(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,i,void 0,r))&&void 0!==n?n:""}):s.map(e=>{var t,n,o,s,a;return{title:null!==(n=ze(Te(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,i,void 0,r))&&void 0!==n?n:"",iconUrl:null!==(s=null===(o=null==e?void 0:e.icon)||void 0===o?void 0:o.url)&&void 0!==s?s:void 0,anchorId:null!==(a=null==e?void 0:e.anchorId)&&void 0!==a?a:void 0}})},[e,n,r,i])};
|
|
11
|
+
*/function Am(){return Cm||(Cm=1,"production"===process.env.NODE_ENV?vm.exports=function(){if(hm)return xm;hm=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:switch(e=e.type){case l:case c:case i:case o:case r:case d:return e;default:switch(e=e&&e.$$typeof){case a:case u:case h:case p:case s:return e;default:return m}}case n:return m}}}function y(e){return x(e)===c}return xm.AsyncMode=l,xm.ConcurrentMode=c,xm.ContextConsumer=a,xm.ContextProvider=s,xm.Element=t,xm.ForwardRef=u,xm.Fragment=i,xm.Lazy=h,xm.Memo=p,xm.Portal=n,xm.Profiler=o,xm.StrictMode=r,xm.Suspense=d,xm.isAsyncMode=function(e){return y(e)||x(e)===l},xm.isConcurrentMode=y,xm.isContextConsumer=function(e){return x(e)===a},xm.isContextProvider=function(e){return x(e)===s},xm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},xm.isForwardRef=function(e){return x(e)===u},xm.isFragment=function(e){return x(e)===i},xm.isLazy=function(e){return x(e)===h},xm.isMemo=function(e){return x(e)===p},xm.isPortal=function(e){return x(e)===n},xm.isProfiler=function(e){return x(e)===o},xm.isStrictMode=function(e){return x(e)===r},xm.isSuspense=function(e){return x(e)===d},xm.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===c||e===o||e===r||e===d||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},xm.typeOf=x,xm}():vm.exports=(ym||(ym=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,i=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:var f=e.type;switch(f){case l:case c:case i:case o:case r:case d:return f;default:var g=f&&f.$$typeof;switch(g){case a:case u:case h:case p:case s:return g;default:return m}}case n:return m}}}var y=l,C=c,I=a,w=s,N=t,A=u,j=i,k=h,P=p,G=n,S=o,B=r,E=d,T=!1;function R(e){return x(e)===c}Nm.AsyncMode=y,Nm.ConcurrentMode=C,Nm.ContextConsumer=I,Nm.ContextProvider=w,Nm.Element=N,Nm.ForwardRef=A,Nm.Fragment=j,Nm.Lazy=k,Nm.Memo=P,Nm.Portal=G,Nm.Profiler=S,Nm.StrictMode=B,Nm.Suspense=E,Nm.isAsyncMode=function(e){return T||(T=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(e)||x(e)===l},Nm.isConcurrentMode=R,Nm.isContextConsumer=function(e){return x(e)===a},Nm.isContextProvider=function(e){return x(e)===s},Nm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Nm.isForwardRef=function(e){return x(e)===u},Nm.isFragment=function(e){return x(e)===i},Nm.isLazy=function(e){return x(e)===h},Nm.isMemo=function(e){return x(e)===p},Nm.isPortal=function(e){return x(e)===n},Nm.isProfiler=function(e){return x(e)===o},Nm.isStrictMode=function(e){return x(e)===r},Nm.isSuspense=function(e){return x(e)===d},Nm.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===c||e===o||e===r||e===d||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},Nm.typeOf=x}()),Nm)),vm.exports}!function(){if(wm)return Im;wm=1;var e=Am(),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},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},r={};function o(n){return e.isMemo(n)?i:r[n.$$typeof]||t}r[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r[e.Memo]=i;var s=Object.defineProperty,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;Im=function e(t,i,r){if("string"!=typeof i){if(d){var m=u(i);m&&m!==d&&e(t,m,r)}var p=a(i);l&&(p=p.concat(l(i)));for(var h=o(t),f=o(i),g=0;g<p.length;++g){var b=p[g];if(!(n[b]||r&&r[b]||f&&f[b]||h&&h[b])){var v=c(i,b);try{s(t,b,v)}catch(e){}}}}return t}}();var jm="undefined"!=typeof document;var km=function(e,t,n){var i=e.key+"-"+t.name;(!1===n||!1===jm&&void 0!==e.compat)&&void 0===e.registered[i]&&(e.registered[i]=t.styles)};var Pm={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 Gm(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Sm=/[A-Z]|^ms/g,Bm=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Em=function(e){return 45===e.charCodeAt(1)},Tm=function(e){return null!=e&&"boolean"!=typeof e},Rm=Gm(function(e){return Em(e)?e:e.replace(Sm,"-$&").toLowerCase()}),Vm=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Bm,function(e,t,n){return Lm={name:t,styles:n,next:Lm},t})}return 1===Pm[e]||Em(e)||"number"!=typeof t||0===t?t:t+"px"};function Mm(e,t,n){if(null==n)return"";var i=n;if(void 0!==i.__emotion_styles)return i;switch(typeof n){case"boolean":return"";case"object":var r=n;if(1===r.anim)return Lm={name:r.name,styles:r.styles,next:Lm},r.name;var o=n;if(void 0!==o.styles){var s=o.next;if(void 0!==s)for(;void 0!==s;)Lm={name:s.name,styles:s.styles,next:Lm},s=s.next;return o.styles+";"}return function(e,t,n){var i="";if(Array.isArray(n))for(var r=0;r<n.length;r++)i+=Mm(e,t,n[r])+";";else for(var o in n){var s=n[o];if("object"!=typeof s){var a=s;Tm(a)&&(i+=Rm(o)+":"+Vm(o,a)+";")}else if(Array.isArray(s)&&"string"==typeof s[0]&&null==t)for(var l=0;l<s.length;l++)Tm(s[l])&&(i+=Rm(o)+":"+Vm(o,s[l])+";");else{var c=Mm(e,t,s);switch(o){case"animation":case"animationName":i+=Rm(o)+":"+c+";";break;default:i+=o+"{"+c+"}"}}}return i}(e,t,n);case"function":if(void 0!==e){var a=Lm,l=n(e);return Lm=a,Mm(e,t,l)}}return n}var Lm,Xm=/label:\s*([^\s;{]+)\s*(;|$)/g;function Wm(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var i=!0,r="";Lm=void 0;var o=e[0];null==o||void 0===o.raw?(i=!1,r+=Mm(n,t,o)):r+=o[0];for(var s=1;s<e.length;s++){if(r+=Mm(n,t,e[s]),i)r+=o[s]}Xm.lastIndex=0;for(var a,l="";null!==(a=Xm.exec(r));)l+="-"+a[1];var c=function(e){for(var t,n=0,i=0,r=e.length;r>=4;++i,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(i+2))<<16;case 2:n^=(255&e.charCodeAt(i+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(i)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(r)+l;return{name:c,styles:r,next:Lm}}var Fm="undefined"!=typeof document,Om=function(e){return e()},Dm=!!m.useInsertionEffect&&m.useInsertionEffect,zm=Fm&&Dm||Om,Zm="undefined"!=typeof document,Hm=m.createContext("undefined"!=typeof HTMLElement?bm({key:"css"}):null);Hm.Provider;var Ym=function(e){return t.forwardRef(function(n,i){var r=t.useContext(Hm);return e(n,r,i)})};Zm||(Ym=function(e){return function(n){var i=t.useContext(Hm);return null===i?(i=bm({key:"css"}),m.createElement(Hm.Provider,{value:i},e(n,i))):e(n,i)}});var Jm,Um,$m=m.createContext({}),Qm={}.hasOwnProperty,_m="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Km=function(e){var t=e.cache,n=e.serialized,i=e.isStringTag;km(t,n,i);var r=zm(function(){return function(e,t,n){km(e,t,n);var i=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r="",o=t;do{var s=e.insert(t===o?"."+i:"",o,e.sheet,!0);jm||void 0===s||(r+=s),o=o.next}while(void 0!==o);if(!jm&&0!==r.length)return r}}(t,n,i)});if(!Zm&&void 0!==r){for(var o,s=n.name,a=n.next;void 0!==a;)s+=" "+a.name,a=a.next;return m.createElement("style",((o={})["data-emotion"]=t.key+" "+s,o.dangerouslySetInnerHTML={__html:r},o.nonce=t.sheet.nonce,o))}return null},qm=Ym(function(e,t,n){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var r=e[_m],o=[i],s="";"string"==typeof e.className?s=function(e,t,n){var i="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(i+=n+" ")}),i}(t.registered,o,e.className):null!=e.className&&(s=e.className+" ");var a=Wm(o,void 0,m.useContext($m));s+=t.key+"-"+a.name;var l={};for(var c in e)Qm.call(e,c)&&"css"!==c&&c!==_m&&(l[c]=e[c]);return l.className=s,n&&(l.ref=n),m.createElement(m.Fragment,null,m.createElement(Km,{cache:t,serialized:a,isStringTag:"string"==typeof r}),m.createElement(r,l))}),ep=qm,tp=function(e,t){var n=arguments;if(null==t||!Qm.call(t,"css"))return m.createElement.apply(void 0,n);var i=n.length,r=new Array(i);r[0]=ep,r[1]=function(e,t){var n={};for(var i in t)Qm.call(t,i)&&(n[i]=t[i]);return n[_m]=e,n}(e,t);for(var o=2;o<i;o++)r[o]=n[o];return m.createElement.apply(null,r)};function np(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Wm(t)}Jm=tp||(tp={}),Um||(Um=Jm.JSX||(Jm.JSX={}));const ip=Math.min,rp=Math.max,op=Math.round,sp=Math.floor,ap=e=>({x:e,y:e});function lp(){return"undefined"!=typeof window}function cp(e){return mp(e)?(e.nodeName||"").toLowerCase():"#document"}function up(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function dp(e){var t;return null==(t=(mp(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function mp(e){return!!lp()&&(e instanceof Node||e instanceof up(e).Node)}function pp(e){return!!lp()&&(e instanceof HTMLElement||e instanceof up(e).HTMLElement)}function hp(e){return!(!lp()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof up(e).ShadowRoot)}const fp=new Set(["inline","contents"]);function gp(e){const{overflow:t,overflowX:n,overflowY:i,display:r}=vp(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!fp.has(r)}const bp=new Set(["html","body","#document"]);function vp(e){return up(e).getComputedStyle(e)}function xp(e){const t=function(e){if("html"===cp(e))return e;const t=e.assignedSlot||e.parentNode||hp(e)&&e.host||dp(e);return hp(t)?t.host:t}(e);return function(e){return bp.has(cp(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:pp(t)&&gp(t)?t:xp(t)}function yp(e,t,n){var i;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=xp(e),o=r===(null==(i=e.ownerDocument)?void 0:i.body),s=up(r);if(o){const e=Cp(s);return t.concat(s,s.visualViewport||[],gp(r)?r:[],e&&n?yp(e):[])}return t.concat(r,yp(r,[],n))}function Cp(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ip(e){return t=e,lp()&&(t instanceof Element||t instanceof up(t).Element)?e:e.contextElement;var t}function wp(e){const t=Ip(e);if(!pp(t))return ap(1);const n=t.getBoundingClientRect(),{width:i,height:r,$:o}=function(e){const t=vp(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const r=pp(e),o=r?e.offsetWidth:n,s=r?e.offsetHeight:i,a=op(n)!==o||op(i)!==s;return a&&(n=o,i=s),{width:n,height:i,$:a}}(t);let s=(o?op(n.width):n.width)/i,a=(o?op(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function Np(e,t,n,i){void 0===t&&(t=!1);const r=e.getBoundingClientRect(),o=Ip(e);let s=ap(1);t&&(s=wp(e));const a=ap(0);let l=(r.left+a.x)/s.x,c=(r.top+a.y)/s.y,u=r.width/s.x,d=r.height/s.y;if(o){const e=i;let t=up(o),n=Cp(t);for(;n&&i&&e!==t;){const e=wp(n),i=n.getBoundingClientRect(),r=vp(n),o=i.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,s=i.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=s,t=up(n),n=Cp(t)}}return function(e){const{x:t,y:n,width:i,height:r}=e;return{width:i,height:r,top:n,left:t,right:t+i,bottom:n+r,x:t,y:n}}({width:u,height:d,x:l,y:c})}function Ap(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function jp(e,t,n,i){void 0===i&&(i={});const{ancestorScroll:r=!0,ancestorResize:o=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=i,c=Ip(e),u=r||o?[...c?yp(c):[],...yp(t)]:[];u.forEach(e=>{r&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const d=c&&a?function(e,t){let n,i=null;const r=dp(e);function o(){var e;clearTimeout(n),null==(e=i)||e.disconnect(),i=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:m,height:p}=c;if(a||t(),!m||!p)return;const h={rootMargin:-sp(d)+"px "+-sp(r.clientWidth-(u+m))+"px "+-sp(r.clientHeight-(d+p))+"px "+-sp(u)+"px",threshold:rp(0,ip(1,l))||1};let f=!0;function g(t){const i=t[0].intersectionRatio;if(i!==l){if(!f)return s();i?s(!1,i):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==i||Ap(c,e.getBoundingClientRect())||s(),f=!1}try{i=new IntersectionObserver(g,{...h,root:r.ownerDocument})}catch(e){i=new IntersectionObserver(g,h)}i.observe(e)}(!0),o}(c,n):null;let m,p=-1,h=null;s&&(h=new ResizeObserver(e=>{let[i]=e;i&&i.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!l&&h.observe(c),h.observe(t));let f=l?Np(e):null;return l&&function t(){const i=Np(e);f&&!Ap(f,i)&&n();f=i,m=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{r&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(m)}}var kp="undefined"!=typeof document?t.useLayoutEffect:function(){},Pp=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Gp=function(){};function Sp(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Bp(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];var o=[].concat(i);if(t&&e)for(var s in t)t.hasOwnProperty(s)&&t[s]&&o.push("".concat(Sp(e,s)));return o.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var Ep=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Uu(e)&&null!==e?[e]:[];var t},Tp=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,Ku({},nd(e,Pp))},Rp=function(e,t,n){var i=e.cx,r=e.getStyles,o=e.getClassNames,s=e.className;return{css:r(t,e),className:i(null!=n?n:{},o(t,e),s)}};function Vp(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Mp(e){return Vp(e)?window.pageYOffset:e.scrollTop}function Lp(e,t){Vp(e)?window.scrollTo(0,t):e.scrollTop=t}function Xp(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Gp,r=Mp(e),o=t-r,s=0;!function t(){var a,l=o*((a=(a=s+=10)/n-1)*a*a+1)+r;Lp(e,l),s<n?window.requestAnimationFrame(t):i(e)}()}function Wp(e,t){var n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),r=t.offsetHeight/3;i.bottom+r>n.bottom?Lp(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):i.top-r<n.top&&Lp(e,Math.max(t.offsetTop-r,0))}function Fp(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Op=!1,Dp={get passive(){return Op=!0}},zp="undefined"!=typeof window?window:{};zp.addEventListener&&zp.removeEventListener&&(zp.addEventListener("p",Gp,Dp),zp.removeEventListener("p",Gp,!1));var Zp=Op;function Hp(e){return null!=e}function Yp(e,t,n){return e?t:n}var Jp=["children","innerProps"],Up=["children","innerProps"];function $p(e){var t=e.maxHeight,n=e.menuEl,i=e.minHeight,r=e.placement,o=e.shouldScroll,s=e.isFixedPosition,a=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,i=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),(!n||"static"!==t.position)&&i.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,m=n.getBoundingClientRect(),p=m.bottom,h=m.height,f=m.top,g=n.offsetParent.getBoundingClientRect().top,b=s?window.innerHeight:Vp(u=l)?window.innerHeight:u.clientHeight,v=Mp(l),x=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),C=g-y,I=b-f,w=C+v,N=d-v-f,A=p-b+v+x,j=v+f-y,k=160;switch(r){case"auto":case"bottom":if(I>=h)return{placement:"bottom",maxHeight:t};if(N>=h&&!s)return o&&Xp(l,A,k),{placement:"bottom",maxHeight:t};if(!s&&N>=i||s&&I>=i)return o&&Xp(l,A,k),{placement:"bottom",maxHeight:s?I-x:N-x};if("auto"===r||s){var P=t,G=s?C:w;return G>=i&&(P=Math.min(G-x-a,t)),{placement:"top",maxHeight:P}}if("bottom"===r)return o&&Lp(l,A),{placement:"bottom",maxHeight:t};break;case"top":if(C>=h)return{placement:"top",maxHeight:t};if(w>=h&&!s)return o&&Xp(l,j,k),{placement:"top",maxHeight:t};if(!s&&w>=i||s&&C>=i){var S=t;return(!s&&w>=i||s&&C>=i)&&(S=s?C-y:w-y),o&&Xp(l,j,k),{placement:"top",maxHeight:S}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var Qp,_p=function(e){return"auto"===e?"bottom":e},Kp=t.createContext(null),qp=function(e){var n=e.children,i=e.minMenuHeight,r=e.maxMenuHeight,o=e.menuPlacement,s=e.menuPosition,a=e.menuShouldScrollIntoView,l=e.theme,c=(t.useContext(Kp)||{}).setPortalPlacement,u=t.useRef(null),d=td(t.useState(r),2),m=d[0],p=d[1],h=td(t.useState(null),2),f=h[0],g=h[1],b=l.spacing.controlHeight;return kp(function(){var e=u.current;if(e){var t="fixed"===s,n=$p({maxHeight:r,menuEl:e,minHeight:i,placement:o,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:b});p(n.maxHeight),g(n.placement),null==c||c(n.placement)}},[r,o,s,a,i,c,b]),n({ref:u,placerProps:Ku(Ku({},e),{},{placement:f||_p(o),maxHeight:m})})},eh=function(e){var t=e.children,n=e.innerRef,i=e.innerProps;return tp("div",Dl({},Rp(e,"menu",{menu:!0}),{ref:n},i),t)},th=function(e,t){var n=e.theme,i=n.spacing.baseUnit,r=n.colors;return Ku({textAlign:"center"},t?{}:{color:r.neutral40,padding:"".concat(2*i,"px ").concat(3*i,"px")})},nh=th,ih=th,rh=["size"],oh=["innerProps","isRtl","size"];var sh,ah,lh="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQ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AgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+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)."}},ch=function(e){var t=e.size,n=nd(e,rh);return tp("svg",Dl({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:lh},n))},uh=function(e){return tp(ch,Dl({size:20},e),tp("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"}))},dh=function(e){return tp(ch,Dl({size:20},e),tp("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"}))},mh=function(e,t){var n=e.isFocused,i=e.theme,r=i.spacing.baseUnit,o=i.colors;return Ku({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*r,":hover":{color:n?o.neutral80:o.neutral40}})},ph=mh,hh=mh,fh=function(){var e=np.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_"}}}(Qp||(sh=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],ah||(ah=sh.slice(0)),Qp=Object.freeze(Object.defineProperties(sh,{raw:{value:Object.freeze(ah)}})))),gh=function(e){var t=e.delay,n=e.offset;return tp("span",{css:np({animation:"".concat(fh," 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbn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gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},bh=function(e){var t=e.children,n=e.isDisabled,i=e.isFocused,r=e.innerRef,o=e.innerProps,s=e.menuIsOpen;return tp("div",Dl({ref:r},Rp(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":i,"control--menu-is-open":s}),o,{"aria-disabled":n||void 0}),t)},vh=["data"],xh=function(e){var t=e.children,n=e.cx,i=e.getStyles,r=e.getClassNames,o=e.Heading,s=e.headingProps,a=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return tp("div",Dl({},Rp(e,"group",{group:!0}),a),tp(o,Dl({},s,{selectProps:u,theme:c,getStyles:i,getClassNames:r,cx:n}),l),tp("div",null,t))},yh=["innerRef","isDisabled","isHidden","inputClassName"],Ch={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Ih={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Ku({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ch)},wh=function(e){return Ku({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Ch)},Nh=function(e){var t=e.cx,n=e.value,i=Tp(e),r=i.innerRef,o=i.isDisabled,s=i.isHidden,a=i.inputClassName,l=nd(i,yh);return tp("div",Dl({},Rp(e,"input",{"input-container":!0}),{"data-value":n||""}),tp("input",Dl({className:t({input:!0},a),ref:r,style:wh(s),disabled:o},l)))},Ah=function(e){var t=e.children,n=e.innerProps;return tp("div",n,t)};var jh=function(e){var t=e.children,n=e.components,i=e.data,r=e.innerProps,o=e.isDisabled,s=e.removeProps,a=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return tp(l,{data:i,innerProps:Ku(Ku({},Rp(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),r),selectProps:a},tp(c,{data:i,innerProps:Ku({},Rp(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},t),tp(u,{data:i,innerProps:Ku(Ku({},Rp(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},s),selectProps:a}))},kh={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return tp("div",Dl({},Rp(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||tp(uh,null))},Control:bh,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return tp("div",Dl({},Rp(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||tp(dh,null))},DownChevron:dh,CrossIcon:uh,Group:xh,GroupHeading:function(e){var t=Tp(e);t.data;var n=nd(t,vh);return tp("div",Dl({},Rp(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return tp("div",Dl({},Rp(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return tp("span",Dl({},t,Rp(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:Nh,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,i=e.size,r=void 0===i?4:i,o=nd(e,oh);return tp("div",Dl({},Rp(Ku(Ku({},o),{},{innerProps:t,isRtl:n,size:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),tp(gh,{delay:0,offset:n}),tp(gh,{delay:160,offset:!0}),tp(gh,{delay:320,offset:!n}))},Menu:eh,MenuList:function(e){var t=e.children,n=e.innerProps,i=e.innerRef,r=e.isMulti;return tp("div",Dl({},Rp(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:i},n),t)},MenuPortal:function(e){var n=e.appendTo,i=e.children,r=e.controlElement,o=e.innerProps,s=e.menuPlacement,a=e.menuPosition,c=t.useRef(null),u=t.useRef(null),d=td(t.useState(_p(s)),2),m=d[0],p=d[1],h=t.useMemo(function(){return{setPortalPlacement:p}},[]),f=td(t.useState(null),2),g=f[0],b=f[1],v=t.useCallback(function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===a?0:window.pageYOffset,n=e[m]+t;n===(null==g?void 0:g.offset)&&e.left===(null==g?void 0:g.rect.left)&&e.width===(null==g?void 0:g.rect.width)||b({offset:n,rect:e})}},[r,a,m,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);kp(function(){v()},[v]);var x=t.useCallback(function(){"function"==typeof u.current&&(u.current(),u.current=null),r&&c.current&&(u.current=jp(r,c.current,v,{elementResize:"ResizeObserver"in window}))},[r,v]);kp(function(){x()},[x]);var y=t.useCallback(function(e){c.current=e,x()},[x]);if(!n&&"fixed"!==a||!g)return null;var C=tp("div",Dl({ref:y},Rp(Ku(Ku({},e),{},{offset:g.offset,position:a,rect:g.rect}),"menuPortal",{"menu-portal":!0}),o),i);return tp(Kp.Provider,{value:h},n?l.createPortal(C,n):C)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,i=e.innerProps,r=nd(e,Up);return tp("div",Dl({},Rp(Ku(Ku({},r),{},{children:n,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,i=e.innerProps,r=nd(e,Jp);return tp("div",Dl({},Rp(Ku(Ku({},r),{},{children:n,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),n)},MultiValue:jh,MultiValueContainer:Ah,MultiValueLabel:Ah,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return tp("div",Dl({role:"button"},n),t||tp(uh,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,i=e.isFocused,r=e.isSelected,o=e.innerRef,s=e.innerProps;return tp("div",Dl({},Rp(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":i,"option--is-selected":r}),{ref:o,"aria-disabled":n},s),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return tp("div",Dl({},Rp(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,i=e.isDisabled,r=e.isRtl;return tp("div",Dl({},Rp(e,"container",{"--is-disabled":i,"--is-rtl":r}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,i=e.innerProps;return tp("div",Dl({},Rp(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),i),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,i=e.isMulti,r=e.hasValue;return tp("div",Dl({},Rp(e,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":r}),n),t)}},Ph=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Gh(e,t){return e===t||!(!Ph(e)||!Ph(t))}function Sh(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Gh(e[n],t[n]))return!1;return!0}for(var Bh="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)."}},Eh=function(e){return tp("span",Dl({css:Bh},e))},Th={guidance:function(e){var t=e.isSearchable,n=e.isMulti,i=e.tabSelectsValue,r=e.context,o=e.isInitialFocus;switch(r){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", 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,i=void 0===n?"":n,r=e.labels,o=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(r.length>1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return"option ".concat(i,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,i=e.options,r=e.label,o=void 0===r?"":r,s=e.selectValue,a=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&s)return"value ".concat(o," focused, ").concat(u(s,n),".");if("menu"===t&&c){var d=a?" disabled":"",m="".concat(l?" selected":"").concat(d);return"".concat(o).concat(m,", ").concat(u(i,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Rh=function(e){var n=e.ariaSelection,i=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,s=e.isFocused,a=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,m=l.getOptionLabel,p=l.inputValue,h=l.isMulti,f=l.isOptionDisabled,g=l.isSearchable,b=l.menuIsOpen,v=l.options,x=l.screenReaderStatus,y=l.tabSelectsValue,C=l.isLoading,I=l["aria-label"],w=l["aria-live"],N=t.useMemo(function(){return Ku(Ku({},Th),d||{})},[d]),A=t.useMemo(function(){var e,t="";if(n&&N.onChange){var i=n.option,r=n.options,o=n.removedValue,s=n.removedValues,l=n.value,c=o||i||(e=l,Array.isArray(e)?null:e),u=c?m(c):"",d=r||s||void 0,p=d?d.map(m):[],h=Ku({isDisabled:c&&f(c,a),label:u,labels:p},n);t=N.onChange(h)}return t},[n,N,f,a,m]),j=t.useMemo(function(){var e="",t=i||r,n=!!(i&&a&&a.includes(i));if(t&&N.onFocus){var s={focused:t,label:m(t),isDisabled:f(t,a),isSelected:n,options:o,context:t===i?"menu":"value",selectValue:a,isAppleDevice:u};e=N.onFocus(s)}return e},[i,r,m,f,N,o,a,u]),k=t.useMemo(function(){var e="";if(b&&v.length&&!C&&N.onFilter){var t=x({count:o.length});e=N.onFilter({inputValue:p,resultsMessage:t})}return e},[o,p,b,N,v,x,C]),P="initial-input-focus"===(null==n?void 0:n.action),G=t.useMemo(function(){var e="";if(N.guidance){var t=r?"value":b?"menu":"input";e=N.guidance({"aria-label":I,context:t,isDisabled:i&&f(i,a),isMulti:h,isSearchable:g,tabSelectsValue:y,isInitialFocus:P})}return e},[I,i,r,h,f,g,b,N,a,y,P]),S=tp(t.Fragment,null,tp("span",{id:"aria-selection"},A),tp("span",{id:"aria-focused"},j),tp("span",{id:"aria-results"},k),tp("span",{id:"aria-guidance"},G));return tp(t.Fragment,null,tp(Eh,{id:c},P&&S),tp(Eh,{"aria-live":w,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!P&&S))},Vh=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Mh=new RegExp("["+Vh.map(function(e){return e.letters}).join("")+"]","g"),Lh={},Xh=0;Xh<Vh.length;Xh++)for(var Wh=Vh[Xh],Fh=0;Fh<Wh.letters.length;Fh++)Lh[Wh.letters[Fh]]=Wh.base;var Oh=function(e){return e.replace(Mh,function(e){return Lh[e]})},Dh=function(e,t){void 0===t&&(t=Sh);var n=null;function i(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var o=e.apply(this,i);return n={lastResult:o,lastArgs:i,lastThis:this},o}return i.clear=function(){n=null},i}(Oh),zh=function(e){return e.replace(/^\s+|\s+$/g,"")},Zh=function(e){return"".concat(e.label," ").concat(e.value)},Hh=function(e){return function(t,n){if(t.data.__isNew__)return!0;var i=Ku({ignoreCase:!0,ignoreAccents:!0,stringify:Zh,trim:!0,matchFrom:"any"},e),r=i.ignoreCase,o=i.ignoreAccents,s=i.stringify,a=i.trim,l=i.matchFrom,c=a?zh(n):n,u=a?zh(s(t)):s(t);return r&&(c=c.toLowerCase(),u=u.toLowerCase()),o&&(c=Dh(c),u=Oh(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},Yh=["innerRef"];function Jh(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=Object.entries(e).filter(function(e){var t=td(e,1)[0];return!n.includes(t)});return r.reduce(function(e,t){var n=td(t,2),i=n[0],r=n[1];return e[i]=r,e},{})}(nd(e,Yh),"onExited","in","enter","exit","appear");return tp("input",Dl({ref:t},n,{css:np({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEd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4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var Uh=["boxSizing","height","overflow","paddingRight","position"],$h={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Qh(e){e.cancelable&&e.preventDefault()}function _h(e){e.stopPropagation()}function Kh(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function qh(){return"ontouchstart"in window||navigator.maxTouchPoints}var ef=!("undefined"==typeof window||!window.document||!window.document.createElement),tf=0,nf={capture:!1,passive:!1};var rf=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},of="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;base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uXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+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 sf(e){var n=e.children,i=e.lockEnabled,r=e.captureEnabled,o=function(e){var n=e.isEnabled,i=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,s=e.onTopLeave,a=t.useRef(!1),l=t.useRef(!1),c=t.useRef(0),u=t.useRef(null),d=t.useCallback(function(e,t){if(null!==u.current){var n=u.current,c=n.scrollTop,d=n.scrollHeight,m=n.clientHeight,p=u.current,h=t>0,f=d-m-c,g=!1;f>t&&a.current&&(r&&r(e),a.current=!1),h&&l.current&&(s&&s(e),l.current=!1),h&&t>f?(i&&!a.current&&i(e),p.scrollTop=d,g=!0,a.current=!0):!h&&-t>c&&(o&&!l.current&&o(e),p.scrollTop=0,g=!0,l.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[i,r,o,s]),m=t.useCallback(function(e){d(e,e.deltaY)},[d]),p=t.useCallback(function(e){c.current=e.changedTouches[0].clientY},[]),h=t.useCallback(function(e){var t=c.current-e.changedTouches[0].clientY;d(e,t)},[d]),f=t.useCallback(function(e){if(e){var t=!!Zp&&{passive:!1};e.addEventListener("wheel",m,t),e.addEventListener("touchstart",p,t),e.addEventListener("touchmove",h,t)}},[h,p,m]),g=t.useCallback(function(e){e&&(e.removeEventListener("wheel",m,!1),e.removeEventListener("touchstart",p,!1),e.removeEventListener("touchmove",h,!1))},[h,p,m]);return t.useEffect(function(){if(n){var e=u.current;return f(e),function(){g(e)}}},[n,f,g]),function(e){u.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),s=function(e){var n=e.isEnabled,i=e.accountForScrollbars,r=void 0===i||i,o=t.useRef({}),s=t.useRef(null),a=t.useCallback(function(e){if(ef){var t=document.body,n=t&&t.style;if(r&&Uh.forEach(function(e){var t=n&&n[e];o.current[e]=t}),r&&tf<1){var i=parseInt(o.current.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,a=window.innerWidth-s+i||0;Object.keys($h).forEach(function(e){var t=$h[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(a,"px"))}t&&qh()&&(t.addEventListener("touchmove",Qh,nf),e&&(e.addEventListener("touchstart",Kh,nf),e.addEventListener("touchmove",_h,nf))),tf+=1}},[r]),l=t.useCallback(function(e){if(ef){var t=document.body,n=t&&t.style;tf=Math.max(tf-1,0),r&&tf<1&&Uh.forEach(function(e){var t=o.current[e];n&&(n[e]=t)}),t&&qh()&&(t.removeEventListener("touchmove",Qh,nf),e&&(e.removeEventListener("touchstart",Kh,nf),e.removeEventListener("touchmove",_h,nf)))}},[r]);return t.useEffect(function(){if(n){var e=s.current;return a(e),function(){l(e)}}},[n,a,l]),function(e){s.current=e}}({isEnabled:i});return tp(t.Fragment,null,i&&tp("div",{onClick:rf,css:of}),n(function(e){o(e),s(e)}))}var af="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)."}},lf=function(e){var t=e.name,n=e.onFocus;return tp("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:af,value:"",onChange:function(){}})};function cf(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 uf(){return cf(/^Mac/i)}function df(){return cf(/^iPhone/i)||cf(/^iPad/i)||uf()&&navigator.maxTouchPoints>1}var mf={clearIndicator:hh,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,i=e.isFocused,r=e.theme,o=r.colors,s=r.borderRadius;return Ku({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:r.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:i?o.primary:o.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:i?o.primary:o.neutral30}})},dropdownIndicator:ph,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,i=n.colors,r=n.spacing;return Ku({label:"group",cursor:"default",display:"block"},t?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*r.baseUnit,paddingRight:3*r.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,i=e.theme,r=i.spacing.baseUnit,o=i.colors;return Ku({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r})},input:function(e,t){var n=e.isDisabled,i=e.value,r=e.theme,o=r.spacing,s=r.colors;return Ku(Ku({visibility:n?"hidden":"visible",transform:i?"translateZ(0)":""},Ih),t?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:s.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,i=e.size,r=e.theme,o=r.colors,s=r.spacing.baseUnit;return Ku({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*s})},loadingMessage:ih,menu:function(e,t){var n,i=e.placement,r=e.theme,o=r.borderRadius,s=r.spacing,a=r.colors;return Ku((Qu(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(i),"100%"),Qu(n,"position","absolute"),Qu(n,"width","100%"),Qu(n,"zIndex",1),n),t?{}:{backgroundColor:a.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},menuList:function(e,t){var n=e.maxHeight,i=e.theme.spacing.baseUnit;return Ku({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:i,paddingTop:i})},menuPortal:function(e){var t=e.rect,n=e.offset,i=e.position;return{left:t.left,position:i,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,i=n.spacing,r=n.borderRadius,o=n.colors;return Ku({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:o.neutral10,borderRadius:r/2,margin:i.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,i=n.borderRadius,r=n.colors,o=e.cropWithEllipsis;return Ku({overflow:"hidden",textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:i/2,color:r.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,i=n.spacing,r=n.borderRadius,o=n.colors,s=e.isFocused;return Ku({alignItems:"center",display:"flex"},t?{}:{borderRadius:r/2,backgroundColor:s?o.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},noOptionsMessage:nh,option:function(e,t){var n=e.isDisabled,i=e.isFocused,r=e.isSelected,o=e.theme,s=o.spacing,a=o.colors;return Ku({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:r?a.primary:i?a.primary25:"transparent",color:n?a.neutral20:r?a.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:r?a.primary:a.primary50}})},placeholder:function(e,t){var n=e.theme,i=n.spacing,r=n.colors;return Ku({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:r.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,i=e.theme,r=i.spacing,o=i.colors;return Ku({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?o.neutral40:o.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,i=e.isMulti,r=e.hasValue,o=e.selectProps.controlShouldRenderValue;return Ku({alignItems:"center",display:i&&r&&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")})}},pf={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}},hf={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Fp(),captureMenuScroll:!Fp(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Hh(),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 ff(e,t,n,i){return{type:"option",data:t,isDisabled:wf(e,t,n),isSelected:Nf(e,t,n),label:Cf(e,t),value:If(e,t),index:i}}function gf(e,t){return e.options.map(function(n,i){if("options"in n){var r=n.options.map(function(n,i){return ff(e,n,t,i)}).filter(function(t){return xf(e,t)});return r.length>0?{type:"group",data:n,options:r,index:i}:void 0}var o=ff(e,n,t,i);return xf(e,o)?o:void 0}).filter(Hp)}function bf(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,cd(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function vf(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,cd(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 xf(e,t){var n=e.inputValue,i=void 0===n?"":n,r=t.data,o=t.isSelected,s=t.label,a=t.value;return(!jf(e)||!o)&&Af(e,{label:s,value:a,data:r},i)}var yf=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Cf=function(e,t){return e.getOptionLabel(t)},If=function(e,t){return e.getOptionValue(t)};function wf(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Nf(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var i=If(e,t);return n.some(function(t){return If(e,t)===i})}function Af(e,t,n){return!e.filterOption||e.filterOption(t,n)}var jf=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},kf=1,Pf=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&&od(e,t)}(n,t.Component);var e=function(e){var t=ad();return function(){var n,i=sd(e);if(t){var r=sd(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return ld(this,n)}}(n);function n(t){var i;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(i=e.call(this,t)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.controlRef=null,i.getControlRef=function(e){i.controlRef=e},i.focusedOptionRef=null,i.getFocusedOptionRef=function(e){i.focusedOptionRef=e},i.menuListRef=null,i.getMenuListRef=function(e){i.menuListRef=e},i.inputRef=null,i.getInputRef=function(e){i.inputRef=e},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(e,t){var n=i.props,r=n.onChange,o=n.name;t.name=o,i.ariaOnChange(e,t),r(e,t)},i.setValue=function(e,t,n){var r=i.props,o=r.closeMenuOnSelect,s=r.isMulti,a=r.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:a}),o&&(i.setState({inputIsHiddenAfterUpdate:!s}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(e,{action:t,option:n})},i.selectOption=function(e){var t=i.props,n=t.blurInputOnSelect,r=t.isMulti,o=t.name,s=i.state.selectValue,a=r&&i.isOptionSelected(e,s),l=i.isOptionDisabled(e,s);if(a){var c=i.getOptionValue(e);i.setValue(s.filter(function(e){return i.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void i.ariaOnChange(e,{action:"select-option",option:e,name:o});r?i.setValue([].concat(cd(s),[e]),"select-option",e):i.setValue(e,"select-option")}n&&i.blurInput()},i.removeValue=function(e){var t=i.props.isMulti,n=i.state.selectValue,r=i.getOptionValue(e),o=n.filter(function(e){return i.getOptionValue(e)!==r}),s=Yp(t,o,o[0]||null);i.onChange(s,{action:"remove-value",removedValue:e}),i.focusInput()},i.clearValue=function(){var e=i.state.selectValue;i.onChange(Yp(i.props.isMulti,[],null),{action:"clear",removedValues:e})},i.popValue=function(){var e=i.props.isMulti,t=i.state.selectValue,n=t[t.length-1],r=t.slice(0,t.length-1),o=Yp(e,r,r[0]||null);n&&i.onChange(o,{action:"pop-value",removedValue:n})},i.getFocusedOptionId=function(e){return yf(i.state.focusableOptionsWithIds,e)},i.getFocusableOptionsWithIds=function(){return vf(gf(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Bp.apply(void 0,[i.props.classNamePrefix].concat(t))},i.getOptionLabel=function(e){return Cf(i.props,e)},i.getOptionValue=function(e){return If(i.props,e)},i.getStyles=function(e,t){var n=i.props.unstyled,r=mf[e](t,n);r.boxSizing="border-box";var o=i.props.styles[e];return o?o(r,t):r},i.getClassNames=function(e,t){var n,r;return null===(n=(r=i.props.classNames)[e])||void 0===n?void 0:n.call(r,t)},i.getElementId=function(e){return"".concat(i.state.instancePrefix,"-").concat(e)},i.getComponents=function(){return e=i.props,Ku(Ku({},kh),e.components);var e},i.buildCategorizedOptions=function(){return gf(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return bf(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(e,t){i.setState({ariaSelection:Ku({value:e},t)})},i.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(e){i.blockOptionHover=!1},i.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&i.onMenuClose():t&&i.openMenu("first"):(t&&(i.openAfterFocus=!0),i.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},i.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||i.props.isDisabled)){var t=i.props,n=t.isMulti,r=t.menuIsOpen;i.focusInput(),r?(i.setState({inputIsHiddenAfterUpdate:!n}),i.onMenuClose()):i.openMenu("first"),e.preventDefault()}},i.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(i.clearValue(),e.preventDefault(),i.openAfterFocus=!1,"touchend"===e.type?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(e){"boolean"==typeof i.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Vp(e.target)&&i.props.onMenuClose():"function"==typeof i.props.closeMenuOnScroll&&i.props.closeMenuOnScroll(e)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(i.initialTouchX=n.clientX,i.initialTouchY=n.clientY,i.userIsDragging=!1)},i.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var r=Math.abs(n.clientX-i.initialTouchX),o=Math.abs(n.clientY-i.initialTouchY);i.userIsDragging=r>5||o>5}},i.onTouchEnd=function(e){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(e.target)&&i.menuListRef&&!i.menuListRef.contains(e.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(e){i.userIsDragging||i.onControlMouseDown(e)},i.onClearIndicatorTouchEnd=function(e){i.userIsDragging||i.onClearIndicatorMouseDown(e)},i.onDropdownIndicatorTouchEnd=function(e){i.userIsDragging||i.onDropdownIndicatorMouseDown(e)},i.handleInputChange=function(e){var t=i.props.inputValue,n=e.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(n,{action:"input-change",prevInputValue:t}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(e){i.props.onFocus&&i.props.onFocus(e),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(e){var t=i.props.inputValue;i.menuListRef&&i.menuListRef.contains(document.activeElement)?i.inputRef.focus():(i.props.onBlur&&i.props.onBlur(e),i.onInputChange("",{action:"input-blur",prevInputValue:t}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1}))},i.onOptionHover=function(e){if(!i.blockOptionHover&&i.state.focusedOption!==e){var t=i.getFocusableOptions().indexOf(e);i.setState({focusedOption:e,focusedOptionId:t>-1?i.getFocusedOptionId(e):null})}},i.shouldHideSelectedOptions=function(){return jf(i.props)},i.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),i.focus()},i.onKeyDown=function(e){var t=i.props,n=t.isMulti,r=t.backspaceRemovesValue,o=t.escapeClearsValue,s=t.inputValue,a=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,m=t.openMenuOnFocus,p=i.state,h=p.focusedOption,f=p.focusedValue,g=p.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(i.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||s)return;i.focusValue("previous");break;case"ArrowRight":if(!n||s)return;i.focusValue("next");break;case"Delete":case"Backspace":if(s)return;if(f)i.removeValue(f);else{if(!r)return;n?i.popValue():a&&i.clearValue()}break;case"Tab":if(i.isComposing)return;if(e.shiftKey||!c||!d||!h||m&&i.isOptionSelected(h,g))return;i.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(i.isComposing)return;i.selectOption(h);break}return;case"Escape":c?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:s}),i.onMenuClose()):a&&o&&i.clearValue();break;case" ":if(s)return;if(!c){i.openMenu("first");break}if(!h)return;i.selectOption(h);break;case"ArrowUp":c?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":c?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!c)return;i.focusOption("pageup");break;case"PageDown":if(!c)return;i.focusOption("pagedown");break;case"Home":if(!c)return;i.focusOption("first");break;case"End":if(!c)return;i.focusOption("last");break;default:return}e.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++kf),i.state.selectValue=Ep(t.value),t.menuIsOpen&&i.state.selectValue.length){var r=i.getFocusableOptionsWithIds(),o=i.buildFocusableOptions(),s=o.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=r,i.state.focusedOption=o[s],i.state.focusedOptionId=yf(r,o[s])}return i}return function(e,t,n){t&&rd(e.prototype,t),n&&rd(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Wp(this.menuListRef,this.focusedOptionRef),(uf()||df())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,i=t.menuIsOpen,r=this.state.isFocused;(r&&!n&&e.isDisabled||r&&i&&!e.menuIsOpen)&&this.focusInput(),r&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):r||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Wp(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,i=n.selectValue,r=n.isFocused,o=this.buildFocusableOptions(),s="first"===e?0:o.length-1;if(!this.props.isMulti){var a=o.indexOf(i[0]);a>-1&&(s=a)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[s],focusedOptionId:this.getFocusedOptionId(o[s])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,i=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var r=n.indexOf(i);i||(r=-1);var o=n.length-1,s=-1;if(n.length){switch(e){case"previous":s=0===r?0:-1===r?o:r-1;break;case"next":r>-1&&r<o&&(s=r+1)}this.setState({inputIsHidden:-1!==s,focusedValue:n[s]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,i=this.getFocusableOptions();if(i.length){var r=0,o=i.indexOf(n);n||(o=-1),"up"===e?r=o>0?o-1:i.length-1:"down"===e?r=(o+1)%i.length:"pageup"===e?(r=o-t)<0&&(r=0):"pagedown"===e?(r=o+t)>i.length-1&&(r=i.length-1):"last"===e&&(r=i.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:i[r],focusedValue:null,focusedOptionId:this.getFocusedOptionId(i[r])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(pf):Ku(Ku({},pf),this.props.theme):pf}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,i=this.getClassNames,r=this.getValue,o=this.selectOption,s=this.setValue,a=this.props,l=a.isMulti,c=a.isRtl,u=a.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:i,getValue:r,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:o,selectProps:a,setValue:s,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return wf(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Nf(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Af(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,i=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:i})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,i=e.inputId,r=e.inputValue,o=e.tabIndex,s=e.form,a=e.menuIsOpen,l=e.required,c=this.getComponents().Input,u=this.state,d=u.inputIsHidden,p=u.ariaSelection,h=this.commonProps,f=i||this.getElementId("input"),g=Ku(Ku(Ku({"aria-autocomplete":"list","aria-expanded":a,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":l,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},a&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==p?void 0:p.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?m.createElement(c,Dl({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:f,innerRef:this.getInputRef,isDisabled:t,isHidden:d,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:o,form:s,type:"text",value:r},g)):m.createElement(Jh,Dl({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Gp,onFocus:this.onInputFocus,disabled:t,tabIndex:o,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,i=t.MultiValueContainer,r=t.MultiValueLabel,o=t.MultiValueRemove,s=t.SingleValue,a=t.Placeholder,l=this.commonProps,c=this.props,u=c.controlShouldRenderValue,d=c.isDisabled,p=c.isMulti,h=c.inputValue,f=c.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,x=g.isFocused;if(!this.hasValue()||!u)return h?null:m.createElement(a,Dl({},l,{key:"placeholder",isDisabled:d,isFocused:x,innerProps:{id:this.getElementId("placeholder")}}),f);if(p)return b.map(function(t,s){var a=t===v,c="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return m.createElement(n,Dl({},l,{components:{Container:i,Label:r,Remove:o},isFocused:a,isDisabled:d,key:c,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(h)return null;var y=b[0];return m.createElement(s,Dl({},l,{data:y,isDisabled:d}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,r=n.isLoading,o=this.state.isFocused;if(!this.isClearable()||!e||i||!this.hasValue()||r)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return m.createElement(e,Dl({},t,{innerProps:s,isFocused:o}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,r=n.isLoading,o=this.state.isFocused;if(!e||!r)return null;return m.createElement(e,Dl({},t,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:o}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var i=this.commonProps,r=this.props.isDisabled,o=this.state.isFocused;return m.createElement(n,Dl({},i,{isDisabled:r,isFocused:o}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,i=this.state.isFocused,r={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return m.createElement(e,Dl({},t,{innerProps:r,isDisabled:n,isFocused:i}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,i=t.GroupHeading,r=t.Menu,o=t.MenuList,s=t.MenuPortal,a=t.LoadingMessage,l=t.NoOptionsMessage,c=t.Option,u=this.commonProps,d=this.state.focusedOption,p=this.props,h=p.captureMenuScroll,f=p.inputValue,g=p.isLoading,b=p.loadingMessage,v=p.minMenuHeight,x=p.maxMenuHeight,y=p.menuIsOpen,C=p.menuPlacement,I=p.menuPosition,w=p.menuPortalTarget,N=p.menuShouldBlockScroll,A=p.menuShouldScrollIntoView,j=p.noOptionsMessage,k=p.onMenuScrollToTop,P=p.onMenuScrollToBottom;if(!y)return null;var G,S=function(t,n){var i=t.type,r=t.data,o=t.isDisabled,s=t.isSelected,a=t.label,l=t.value,p=d===r,h=o?void 0:function(){return e.onOptionHover(r)},f=o?void 0:function(){return e.selectOption(r)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:f,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return m.createElement(c,Dl({},u,{innerProps:b,data:r,isDisabled:o,isSelected:s,key:g,label:a,type:i,value:l,isFocused:p,innerRef:p?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())G=this.getCategorizedOptions().map(function(t){if("group"===t.type){var r=t.data,o=t.options,s=t.index,a="".concat(e.getElementId("group"),"-").concat(s),l="".concat(a,"-heading");return m.createElement(n,Dl({},u,{key:a,data:r,options:o,Heading:i,headingProps:{id:l,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return S(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return S(t,"".concat(t.index))});else if(g){var B=b({inputValue:f});if(null===B)return null;G=m.createElement(a,u,B)}else{var E=j({inputValue:f});if(null===E)return null;G=m.createElement(l,u,E)}var T={minMenuHeight:v,maxMenuHeight:x,menuPlacement:C,menuPosition:I,menuShouldScrollIntoView:A},R=m.createElement(qp,Dl({},u,T),function(t){var n=t.ref,i=t.placerProps,s=i.placement,a=i.maxHeight;return m.createElement(r,Dl({},u,T,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),m.createElement(sf,{captureEnabled:h,onTopArrive:k,onBottomArrive:P,lockEnabled:N},function(t){return m.createElement(o,Dl({},u,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":u.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:a,focusedOption:d}),G)}))});return w||"fixed"===I?m.createElement(s,Dl({},u,{appendTo:w,controlElement:this.controlRef,menuPlacement:C,menuPosition:I}),R):R}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,i=t.isDisabled,r=t.isMulti,o=t.name,s=t.required,a=this.state.selectValue;if(s&&!this.hasValue()&&!i)return m.createElement(lf,{name:o,onFocus:this.onValueInputFocus});if(o&&!i){if(r){if(n){var l=a.map(function(t){return e.getOptionValue(t)}).join(n);return m.createElement("input",{name:o,type:"hidden",value:l})}var c=a.length>0?a.map(function(t,n){return m.createElement("input",{key:"i-".concat(n),name:o,type:"hidden",value:e.getOptionValue(t)})}):m.createElement("input",{name:o,type:"hidden",value:""});return m.createElement("div",null,c)}var u=a[0]?this.getOptionValue(a[0]):"";return m.createElement("input",{name:o,type:"hidden",value:u})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,i=t.focusedOption,r=t.focusedValue,o=t.isFocused,s=t.selectValue,a=this.getFocusableOptions();return m.createElement(Rh,Dl({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:i,focusedValue:r,isFocused:o,selectValue:s,focusableOptions:a,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,i=e.SelectContainer,r=e.ValueContainer,o=this.props,s=o.className,a=o.id,l=o.isDisabled,c=o.menuIsOpen,u=this.state.isFocused,d=this.commonProps=this.getCommonProps();return m.createElement(i,Dl({},d,{className:s,innerProps:{id:a,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:u}),this.renderLiveRegion(),m.createElement(t,Dl({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:u,menuIsOpen:c}),m.createElement(r,Dl({},d,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),m.createElement(n,Dl({},d,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,i=t.clearFocusValueOnUpdate,r=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,s=t.isFocused,a=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,m=e.inputValue,p=e.isMulti,h=Ep(u),f={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||m!==n.inputValue)){var g=d?function(e,t){return bf(gf(e,t))}(e,h):[],b=d?vf(gf(e,h),"".concat(l,"-option")):[],v=i?function(e,t){var n=e.focusedValue,i=e.selectValue.indexOf(n);if(i>-1){if(t.indexOf(n)>-1)return n;if(i<t.length)return t[i]}return null}(t,h):null,x=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);f={selectValue:h,focusedOption:x,focusedOptionId:yf(b,x),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var y=null!=r&&e!==n?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},C=o,I=s&&a;return s&&!I&&(C={value:Yp(p,h,h[0]||null),options:h,action:"initial-input-focus"},I=!a),"initial-input-focus"===(null==o?void 0:o.action)&&(C=null),Ku(Ku(Ku({},f),y),{},{prevProps:e,ariaSelection:C,prevWasFocused:I})}}]),n}();Pf.defaultProps=hf;var Gf=t.forwardRef(function(e,n){var i=function(e){var n=e.defaultInputValue,i=void 0===n?"":n,r=e.defaultMenuIsOpen,o=void 0!==r&&r,s=e.defaultValue,a=void 0===s?null:s,l=e.inputValue,c=e.menuIsOpen,u=e.onChange,d=e.onInputChange,m=e.onMenuClose,p=e.onMenuOpen,h=e.value,f=nd(e,id),g=td(t.useState(void 0!==l?l:i),2),b=g[0],v=g[1],x=td(t.useState(void 0!==c?c:o),2),y=x[0],C=x[1],I=td(t.useState(void 0!==h?h:a),2),w=I[0],N=I[1],A=t.useCallback(function(e,t){"function"==typeof u&&u(e,t),N(e)},[u]),j=t.useCallback(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),v(void 0!==n?n:e)},[d]),k=t.useCallback(function(){"function"==typeof p&&p(),C(!0)},[p]),P=t.useCallback(function(){"function"==typeof m&&m(),C(!1)},[m]),G=void 0!==l?l:b,S=void 0!==c?c:y,B=void 0!==h?h:w;return Ku(Ku({},f),{},{inputValue:G,menuIsOpen:S,onChange:A,onInputChange:j,onMenuClose:P,onMenuOpen:k,value:B})}(e);return m.createElement(Pf,Dl({ref:n},i))}),Sf=Gf;const Bf=m.default.memo(({options:n,className:i,controlClassName:r,value:o,isCustomStyle:s=!1,placeholder:a,required:l,onChange:c,filterOptions:u,hasError:d,error:m,menuClassName:p,helperText:h,label:f,labelClassName:g,size:b="md",variant:v="default","data-cy":x,"data-testid":y,...C})=>{const I=t.useMemo(()=>Hh(u),[u]),w=t.useMemo(()=>({control:({isFocused:e})=>Se("sm"===b?"h-[48px] px-3 rounded-lg":"h-[56px] px-3 rounded-xl","border border-input-border bg-white hover:not-focus:border-input-border-hover",{"border-input-border-selected outline outline-2 outline-input-border-selected":e&&!d,"border-input-border-critical shadow-none":d},r),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>s?e.value?"hidden":"block":"block text-icon-default "+(d?"text-icon-critical":""),singleValue:()=>Se(s?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Se("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",p),option:({isFocused:e,isSelected:t,label:i})=>{var r;return Se("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",s?"text-body1 text-text":"",s&&(null===(r=n[n.length-1])||void 0===r?void 0:r.label)!==i?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[s,r,p,n,d,b]);return"unstyled"===v?e.jsx(Sf,{options:n,value:o,placeholder:l?`${a}*`:a,onChange:c,filterOption:I,className:Se("rounded-xl",i),classNames:w,"data-cy":x,"data-testid":y,...C}):e.jsxs("div",{className:"w-full",children:[f&&e.jsx("label",{className:Se("mb-1 block text-sm font-medium text-text-secondary",g),children:f}),e.jsx(Sf,{options:n,value:o,placeholder:l?`${a}*`:a,onChange:c,filterOption:I,className:Se("rounded-xl",i),classNames:w,"data-cy":x,"data-testid":y,...C}),m&&e.jsx(We,{className:"footnote mt-1 text-text-critical",children:m}),!m&&h&&e.jsx(We,{className:"footnote mt-1 text-text-info",children:h})]})});Bf.displayName="Select";const Ef={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"}};function Tf(e){if(!e)return;const t=Date.parse(e);if(Number.isFinite(t))return t;console.error("Invalid countdown datetime",{value:e})}function Rf(e){const t=Math.max(0,Math.floor(e)),n=Math.floor(t/3600),i=Math.floor(t%3600/60),r=t%60;return`${String(n).padStart(2,"0")}H : ${String(i).padStart(2,"0")}M : ${String(r).padStart(2,"0")}`}exports.Accordion=({items:n,title:i,anchorId:r,background:o="white",enableHeading:s=!1,maxWidth:a=!0,initialExpandedItems:l=[],hashAutoExpand:c=!1,descriptionMaxWidth:u="max-w-[980px]",itemContainerClassName:d})=>{const[m,p]=t.useState(l);t.useEffect(()=>{if(c&&"undefined"!=typeof window){const e=window.location.hash;if(e){const t=e.substring(e.indexOf("#")+1);p(e=>e.includes(t)?e:[...e,t])}}},[c]);return e.jsx("section",{id:r,className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]",cream500:"bg-[#FFFEEF]"}[o]} flex flex-col px-5 pb-20 pt-4 md:px-10`,children:e.jsxs("div",{className:""+(a?"max-w-120 xl:mx-auto":""),children:[e.jsx(We,{as:s?"h1":"h2",className:"heading2 mb-10 pt-12 text-left text-text md:heading1 lg:text-center",children:i}),e.jsx("div",{className:`pt-6 md:pt-10 ${null!=d?d:""}`,children:null==n?void 0:n.map((t,i)=>{const r=t.anchorId||`item-${i}`,o=t.anchorId?m.includes(t.anchorId):void 0;return e.jsxs("div",{id:t.anchorId,className:"snap-start scroll-mt-48 lg:scroll-mt-60",children:[e.jsx($e,{title:t.title,defaultOpen:o,containerClassName:"border-none",buttonClassName:"p-0 label1",titleClassName:"label3 md:label1 text-text",className:"p-0 pt-6 text-text",iconClassName:"text-icon",borderRadiusNone:!0,openOnlyOnDesktop:!1,...t.anchorId&&{onClick:()=>{return e=t.anchorId,void p(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);var e}},children:e.jsx("div",{className:u,children:e.jsx(We,{as:"div",children:t.description})})}),i<n.length-1&&e.jsx(Qe,{className:"my-6 md:my-10"},`divider-${i}`)]},r)})})]})})},exports.AddressInputBanner=t=>{const{title:n,variant:i="yellow",cta:r,navHeight:o,isVisible:s,renderCheckPlans:a}=t,l=Ef[null==i?void 0:i.toLowerCase()]||Ef.yellow;if(!s)return null;const c=(null==r?void 0:r.buttonLabel)||"Check plans",u=null==a?void 0:a({ctaText:c,buttonVariant:null==r?void 0:r.buttonVariant,showButtonAs:"solid",cta:r});return e.jsxs("div",{style:{top:`${o}px`},className:Se(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 bg-${l.bg} text-${l.text}`,"flex flex-col items-center justify-center gap-3 p-[10px] lg:flex-row lg:gap-8 lg:px-6 lg:py-[10px]"),children:[e.jsx(We,{className:"label3 w-full text-center md:label1 lg:w-auto lg:text-left",children:n}),u]})},exports.AnchoredBottomBanner=({ctaSuffixText:n,backgroundColor:i,iconName:r,boxShadow:o,ctaButtonLabel:s,ctaButtonLink:a,ctaButtonTarget:l,anchorId:c="anchored-banner",enableCountdownTimer:u,countdownStartDateTime:d,countdownEndDateTime:m})=>{const p=i?{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"}[i]:"bg-bg-fill-brand-accent",f="yellow"===i||"white"===i||!i?"text-text-primary":"text-white",g=t.useMemo(()=>Tf(m),[m]),b=t.useMemo(()=>Tf(d),[d]),v=t.useMemo(()=>!(!u||void 0===g)&&((!d||void 0!==b)&&(!(void 0!==b&&b>=g)||(console.error("Invalid countdown range: start must be before end",{countdownStartDateTime:d,countdownEndDateTime:m}),!1))),[u,g,b,d,m]),[x,y]=t.useState(()=>Date.now()),C=t.useRef(null),I=t.useCallback(()=>{null!==C.current&&(window.clearInterval(C.current),C.current=null)},[]);t.useEffect(()=>{if(v)return C.current=window.setInterval(()=>{const e=Date.now();void 0!==g&&e>=g&&I(),y(e)},1e3),I;I()},[v,g,I]);const w=t.useMemo(()=>{if(!v||void 0===g)return{shouldShow:!1,text:""};if(void 0!==b&&x<b||x>=g)return{shouldShow:!1,text:""};const e=(g-x)/1e3;return{shouldShow:e>0,text:Rf(e)}},[v,g,b,x]);return e.jsx("section",{id:c,children:e.jsx("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${p} ${o||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e.jsx(h.default,{href:a||"#",target:l||"_self",className:"max-w-screen-xl w-full transition-all",children:e.jsx("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:e.jsxs("div",{className:`${f} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[r&&e.jsx(Xe,{name:r,size:24,fill:1,className:`${f} align-text-bottom`}),w.shouldShow&&e.jsx("span",{className:"inline-block whitespace-nowrap rounded-lg bg-white px-1 tabular-nums text-text",children:w.text}),w.shouldShow?" ":null,s&&s," ",n&&e.jsx("span",{className:"ml-0.5",children:n})]})})})})})},exports.BlogCard=nt,exports.BlogGrid=function({paginatedArticles:t,totalArticles:n,currentPage:i,totalPages:r,selectedCategory:o,categoryOptions:s}){const a=c.useRouter(),l=c.usePathname(),u=c.useSearchParams();function d(e,t){const n=new URLSearchParams(u.toString());t?n.set(e,t):n.delete(e),"category"===e&&n.delete("page"),a.push(`${l}?${n.toString()}`,{scroll:!1})}return e.jsxs("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[e.jsxs("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e.jsx(We,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:"recent articles"}),e.jsxs("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[e.jsxs(We,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e.jsx(We,{as:"span",className:"hidden md:block",children:"showing"}),e.jsxs("strong",{className:"block text-nowrap font-bold text-text-info",children:[e.jsxs(We,{as:"span",className:"md:hidden",children:["showing"," "]}),t.length," of ",n," articles"]})]}),e.jsx(Bf,{options:s,value:o,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;d("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),t.length>0?e.jsx("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:t.map((t,n)=>{var i,r,o,s,a;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url)?{src:null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.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===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.width)||600,height:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.height)||338}:void 0;return e.jsx(nt,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e.jsx(We,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),r>1&&e.jsx(Ju,{currentPage:i,totalPages:r,onPageChange:function(e){d("page",1===e?"":e.toString()),window.scrollTo({top:0,behavior:"smooth"})},ariaLabel:"Blog article pagination"})]})},exports.BlogGridBase=function({title:t="recent articles",paginatedArticles:n,totalArticles:i,currentPage:r,totalPages:o,selectedCategory:s,categoryOptions:a,onCategoryChange:l,onPageChange:c,imageComponent:u}){return e.jsxs("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[e.jsxs("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e.jsx(We,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:t}),a.length>0&&e.jsxs("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[e.jsxs(We,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e.jsx(We,{as:"span",className:"hidden md:block",children:"showing"}),e.jsxs("strong",{className:"block text-nowrap font-bold text-text-info",children:[e.jsxs(We,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",i," articles"]})]}),e.jsx(Bf,{options:a,value:s,onChange:function(e){if(!e||Array.isArray(e))return;null==l||l(e)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e.jsx("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var i,r,o,s,a;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url)?{src:null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.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===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.width)||600,height:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.height)||338}:void 0;return e.jsx(nt,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,imageComponent:u,index:n},t.slug)})}):e.jsx(We,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),o>1&&e.jsx(Ju,{currentPage:r,totalPages:o,onPageChange:function(e){null==c||c(e)},ariaLabel:"Blog article pagination"})]})},exports.BreadcrumbNavigation=t=>{const{links:n=[],textColor:i="dark",maxWidth:r=!0,floatOnMobile:o=!1}=t,s=o?"dark"===i?"text-text":"text-white":"dark"===i?"text-white xl:text-text":"text-text xl:text-white";return n.length?e.jsx("nav",{"aria-label":"Breadcrumb",className:(r?`${!o&&"mx-5"} max-w-120 xl:mx-auto`:"mx-auto")+" relative",children:e.jsx("ol",{className:`right-0 z-10 mx-0 flex w-full flex-nowrap items-center gap-2 px-7 pb-0 pt-8 md:px-14 ${o?"absolute":"relative xl:absolute"} xl:mx-auto xl:flex-wrap xl:px-3`,children:n.map((t,i)=>{const{image:r,...o}=t,a=(null==r?void 0:r.url)?r.url.startsWith("//")?`https:${r.url}`:r.url:"";return i===n.length-1?e.jsxs("li",{className:"flex min-w-0 items-center",children:[a&&e.jsx("img",{src:a,alt:(null==r?void 0:r.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e.jsx(We,{as:"span",className:`body3 mr-2 break-words ${s}`,children:t.buttonLabel})]},i):e.jsxs("li",{className:"flex flex-none items-center",children:[a&&e.jsx("img",{src:a,alt:(null==r?void 0:r.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e.jsx(qe,{...o,linkClassName:`label3 mr-2 whitespace-nowrap ${s}`,linkVariant:"unstyled"}),e.jsx(Xe,{name:"chevron_right",className:`${s} `})]},i)})})}):null},exports.Button=qe,exports.Callout=({anchorId:t,title:n,items:i,enableHeading:r=!1,subtitle:o,description:s,finePrint:a,cta:l,color:c="dark",maxWidth:u=!0,maxCardsPerRow:d,cardType:m="simple",backgroundColor:p,background:h,textColor:f,containerClassName:g,innerClassName:b,applyBoxShadow:v=!1,cardStackingMobile:x=!0,cardsWidth:y=!0,noGutter:C=!1})=>{var I,w,N;const A=null!==(I=null==i?void 0:i.length)&&void 0!==I?I:0,j=vt(null!=d?d:(k=A)<=4?k||1:k%3==0?3:k%4==0||k>6?4:3);var k;const P=vt(Math.min(j,A||j)),G=vt(x||1===A?1:2),S=y?Se("grid items-stretch self-stretch",C?"gap-0":"gap-6",ft[G],gt[P],bt[j]):Se("flex flex-col items-stretch self-stretch",C?"gap-0":"gap-6"),B=h?{background:h}:void 0,E=f?{color:f}:void 0,T=h?"":p&&null!==(w=ht[p])&&void 0!==w?w:"";return e.jsx("section",{id:t,className:Se("component-container",T,g),style:B,children:e.jsx("div",{className:Se(C?"p-0":"mx-5 mb-5 mt-12",u&&"max-w-120 xl:mx-auto","dark"===c?"text-text":"text-white",b),children:e.jsxs("div",{className:"callout-container flex flex-col gap-10 md:gap-16",children:[e.jsxs("div",{className:"title-holder",style:E,children:[n&&e.jsx(We,{as:r?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:n}),o&&e.jsx(We,{as:r?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:o}),s&&e.jsx(We,{as:"p",className:"body1 mt-4 text-center md:mt-6",children:s})]}),e.jsx("div",{className:Se("card-holder",S),children:i.map((t,n)=>((t,n)=>{var i,r,o,s;const a=null!==(i=t.cardType)&&void 0!==i?i:m,l=y?{}:{lgWidth:void 0,mdWidth:void 0};switch(a){case"blog":{const i=t;return e.jsx(nt,{title:i.title,href:i.slug,description:i.shortDescription,date:i.blogCreationDate,category:i.category,image:i.cover,asGrid:!1,...l},n)}case"fullImage":return e.jsx(lt,{card:{...t,shadow:null!==(r=t.shadow)&&void 0!==r?r:v},...l},n);case"floatingImage":return e.jsx(at,{card:{...t,shadow:null!==(o=t.shadow)&&void 0!==o?o:v},...l},n);default:return e.jsx(pt,{card:{...t,shadow:null!==(s=t.shadow)&&void 0!==s?s:v},...l},n)}})(t,n))}),(l||a)&&e.jsxs("div",{className:"flex flex-col items-center gap-4",children:[l?e.jsx(qe,{linkClassName:"label1",buttonClassName:"label1",...l,children:null!==(N=l.label)&&void 0!==N?N:l.buttonLabel}):null,a?e.jsx(We,{as:"div",className:"footnote text-center text-text",children:a}):null]})]})})})},exports.Cards=({fields:t})=>e.jsx("div",{children:e.jsx(We,{children:"Cards"})}),exports.Carousel=({fields:t,hasTestimonialCards:n,hasProductCards:i,disclaimerText:r,backgroundColor:o,activeTab:s,setActiveTab:a,tabs:l,onModalButtonClick:c,renderCheckPlans:u,testimonialAutoScroll:d=!0,showSwitch:m=!1})=>{const p=i?"px-3 py-9 md:py-20":n?"px-3 py-12 md:pt-20 md:pb-16":"";return e.jsxs("div",{className:`${o} ${p} mx-auto overflow-hidden`,children:[e.jsxs("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-8 overflow-visible md:gap-12",children:[e.jsxs("div",{children:[e.jsx(We,{as:"h2",className:"heading2 text-text md:heading1 md:text-center",children:null==t?void 0:t.title}),(null==t?void 0:t.subTitle)&&e.jsx(We,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==t?void 0:t.subTitle})]}),m&&i&&e.jsxs("div",{className:"flex flex-col gap-8",children:[m&&i&&l.length>1&&e.jsx(jt,{tabs:l,activeTab:s,onChange:a}),i&&e.jsx(wt,{onModalButtonClick:c,renderCheckPlans:u,fields:t})]}),n&&e.jsx(At,{fields:t,autoScroll:d,autoScrollInterval:8e3})]}),r&&e.jsx(We,{as:"div",className:"footnote mt-8 px-4 text-center text-text-secondary",children:r})]})},exports.CartRetentionBanner=({fields:n,isInPopupContainer:i=!1,onClose:r,onContinueCheckout:o,checkShouldShowBanner:s,onBannerShown:a})=>{var l,c;const{anchorId:u,mainHeading:d,description:m,cta:p}=n,[h,f]=t.useState(!1);t.useEffect(()=>{const e=()=>{(null==s?void 0:s())&&!h&&(f(!0),null==a||a())};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[]);const g=()=>{null==o||o()};return i?e.jsxs("div",{className:"pop-up-body mb-5 mt-10 flex w-full flex-col items-center justify-center","data-section-type":"cart-retention-banner","data-section-index":"0",children:[e.jsx(We,{className:"heading5 text-center lg:heading3",children:d||"Welcome back. Let’s finish your order"}),m&&He(Re(null==m?void 0:m.json),!1,"body1 my-4"),e.jsx(qe,{onClick:g,buttonLabel:null!==(l=null==p?void 0:p.buttonLabel)&&void 0!==l?l:"Continue checkout"})]}):e.jsx("section",{id:u,"data-testid":"cart-retention-banner",children:e.jsx(Yu,{size:"sm",isOpen:h,onRequestClose:()=>{null==r||r(),f(!1)},bodyClassName:"flex items-center justify-center",type:"cart-retention-banner",children:e.jsxs("div",{className:"pop-up-body mb-5 mt-10 flex w-full flex-col items-center justify-center",children:[e.jsx(We,{className:"heading5 text-center lg:heading3",children:d||"Welcome back. Let's finish your order"}),m&&He(Re(null==m?void 0:m.json),!1,"body1 my-4"),e.jsx(qe,{onClick:g,buttonLabel:null!==(c=null==p?void 0:p.buttonLabel)&&void 0!==c?c:"Continue checkout"})]})})})},exports.ComparisonTable=({title:t,disclaimer:n,table:i,maxWidth:r=!0})=>e.jsx("div",{className:"component-container",children:e.jsxs("div",{className:"mx-5 mb-5 mt-8 md:mt-18 "+(r?"max-w-120 xl:mx-auto":""),children:[e.jsx(We,{as:"h2",className:"heading2 md:heading1 md:text-center",children:t}),e.jsx("div",{className:"comparison-table-container mt-5 p-5 pt-0 md:mt-10 md:px-10 md:py-9",children:i}),e.jsx(We,{as:"div",className:"micro mt-8 text-center",children:n})]})}),exports.CookieBanner=function({content:i}){let r=3;const[o,s]=t.useState(!1),[a,l]=t.useState(!1),c=t.useRef(null);t.useEffect(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=p.default.get(e);return t?n.Base64.decode(t):null}("cookieBannerClosed");s("true"!==e)},[]),t.useEffect(()=>{(()=>{const e=document.getElementById("anchored-banner");l(!!e)})()},[]),t.useEffect(()=>{var e,t,n,i;return o?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===(i=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===i||i.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")}},[o]),t.useEffect(()=>{if(!o)return;const e=()=>{if(c.current){const e=c.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 i;const r=()=>{clearTimeout(i),i=setTimeout(e,150)};return window.addEventListener("resize",r),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(i),window.removeEventListener("resize",r),document.documentElement.style.removeProperty("--cookie-banner-height")}},[o,a]),a&&(r=14);const u=4*r;return o?e.jsxs("div",{id:"cookie-banner",ref:c,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:`${u}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e.jsx(qe,{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);s(!1),((e,t,i)=>{if("undefined"==typeof window)return;const r=JSON.stringify(t),o=n.Base64.encode(r);p.default.set(e,o,i)})("cookieBannerClosed",!0,{expires:e})},children:e.jsx(Xe,{name:"close"})}),i.richText?e.jsx("div",{className:"mx-auto my-4 [&>a]:footnote",children:i.richText}):null]}):null},exports.CtaCallout=({title:t,background:n="white",button:i,color:r,contentAlignment:o,description:s,descriptionAlignment:a,enableHeading:l,subTitle:c,maxWidth:u=!0,onModalButtonClick:d,renderCheckPlans:m})=>e.jsx("div",{className:`${{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-bg"}[n]} component-container px-5 py-16 lg:px-13 lg:py-24`,children:e.jsxs("div",{className:`${u?"mx-auto max-w-120":""} color-${r} flex flex-col ${"dark"==r?"text-text":"text-text-inverse"}`,children:[t&&e.jsx(We,{as:l?"h1":"h2",className:`heading2 lg:heading1 text-${o}`,children:t}),c&&e.jsx(We,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${o}`,children:c}),s&&e.jsx("div",{className:`pt-2 text-body1 lg:pt-3 text-${a}`,children:s}),e.jsx("div",{className:"flex justify-center pt-5 lg:pt-14",children:e.jsx(qe,{...i,renderCheckPlans:m,onModalButtonClick:d,size:{base:"large"}})})]})}),exports.DynamicTabs=function(n){var i,r,o;const[s,a]=t.useState(0),[l,c]=t.useState(""),{title:u,subTitle:d,tabs:m,tabsContent:p,navigationType:h=!0,mobileSidebarTabType:f=!0}=n;t.useEffect(()=>{if("undefined"!=typeof window){c(window.location.hash);const e=()=>{c(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}},[]),t.useEffect(()=>{var e;null===(e=null==m?void 0:m.items)||void 0===e||e.some((e,t)=>{if(`#${(null==e?void 0:e.anchorId)||"tab-"+t}`===l)return a(t),!0})},[m,l]);const g=(e,t)=>{a(e),"undefined"!=typeof window&&l&&(window.location.hash=t||"")},b=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e.jsx("div",{className:"flex w-max gap-10",children:null===(i=null==m?void 0:m.items)||void 0===i?void 0:i.map((t,n)=>e.jsx(qe,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Se("py-2 whitespace-nowrap",n===s?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},n))})}),null==p?void 0:p.map((t,n)=>e.jsx("div",{children:e.jsx(Ol,{children:e.jsx(Rl.div,{initial:{height:0,opacity:0},animate:{height:n===s?"auto":0,opacity:n===s?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))]}),v=e.jsx(e.Fragment,{children:null===(r=null==m?void 0:m.items)||void 0===r?void 0:r.map((t,n)=>e.jsxs("div",{className:"py-5",children:[e.jsxs(qe,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Se("w-full flex justify-between items-center px-4 py-5",n===s?"bg-bg-surface-active":""),children:[e.jsx("span",{className:"heading6",children:t.tabName}),e.jsx(Xe,{name:n===s?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e.jsx(Ue,{open:n===s,children:e.jsx("div",{className:Se("px-4 py-4"),children:null==p?void 0:p[n]})})]},n))}),x=e.jsxs("div",{className:"flex px-5 py-20",children:[e.jsx("div",{className:"rounded-surface-lg border border-border-secondary shadow-lg",children:e.jsx("div",{className:"flex min-w-80 flex-col gap-4 px-6 py-7",children:null===(o=null==m?void 0:m.items)||void 0===o?void 0:o.map((t,n)=>e.jsx(qe,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Se("px-4 py-3 whitespace-nowrap text-left rounded-button-sm",n===s?"label1 text-white bg-bg-inverse":"body1"),children:t.tabName},n))})}),e.jsx("div",{className:"grow",children:null==p?void 0:p.map((t,n)=>e.jsx("div",{children:e.jsx(Ol,{children:e.jsx(Rl.div,{initial:{height:0,opacity:0},animate:{height:n===s?"auto":0,opacity:n===s?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))})]});return e.jsxs("div",{children:[u||d?e.jsxs("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[u?e.jsx(We,{className:"heading2 px-5 md:heading1 md:text-center",children:u}):null,d?e.jsx(We,{className:"subheading3 px-5 md:subheading1 md:text-center",children:d}):null]}):null,e.jsx("div",{className:"md:hidden",children:f?b:v}),e.jsx("div",{className:"hidden md:block",children:h?b:x})]})},exports.EmailInputBlock=n=>{const{anchorId:i="email-input",title:r,subTitle:o,emailInputDescription:s,inputPlaceholder:a="Enter your email here",ctaText:l="Sign me up",caption:c,backgroundColor:u="green",successFeedback:d,onSubmit:m}=n||{},p={navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",yellow:"bg-bg-fill-brand-accent",white:"bg-white"},h=p[u]||p.green,f=["green","blue","navy"].includes(u)?"text-white":"text-text",[g,b]=t.useState(""),[v,x]=t.useState(!1),[y,C]=t.useState("");return e.jsxs("section",{id:i,className:"w-full px-4 py-8 md:px-0",children:[e.jsx("div",{className:`mx-auto max-w-[1200px] overflow-hidden rounded-[32px] md:rounded-[20px] ${h} flex flex-col items-start p-8 md:p-16`,children:e.jsxs("div",{className:"lg:w-[548px]",children:[r&&e.jsx("h1",{className:`text-heading1 font-black ${f}`,children:r}),o&&e.jsx("h2",{className:`text-heading1 font-black ${f}`,children:o}),s&&e.jsx("p",{className:`mb-10 text-subheading1 opacity-95 ${f}`,children:s}),e.jsxs("div",{className:"max-w-2xl flex w-full items-center overflow-hidden rounded-3xl border border-transparent bg-white p-1.5 shadow-xl transition-all md:p-2",children:[e.jsx("input",{type:"email",placeholder:a,value:g,onChange:e=>{b(e.target.value),y&&C(""),v&&x(!1)},className:"w-full flex-grow bg-transparent px-6 py-3 text-lg font-medium text-text outline-none placeholder:text-input-icon-placeholder md:py-4"}),e.jsx(qe,{buttonLabel:l,buttonVariant:"primary_inverse",onClick:()=>{(e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))(g)?(m({email:g}),b(""),x(!0),C("")):C("Please enter a valid email address.")}})]}),y&&e.jsx("p",{className:"mt-2 text-label4 font-semibold text-text-critical",children:y}),d&&v&&!y&&e.jsx("p",{className:`mt-2 text-label4 font-semibold ${f}`,children:d})]})}),c&&e.jsx("p",{className:"mx-auto mt-2 max-w-[1200px] px-6 md:px-8",children:c})]})},exports.FindKinetic=({background:t="white",description:n,enableHeading:i,image:r,list:o=[],subTitle:s,title:a,color:l="dark",maxWidth:c=!0})=>e.jsx("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[t]} component-container overflow-hidden ${"dark"==l?"text-text":"text-white"}`,children:e.jsxs("div",{className:(c?"max-w-120 xl:mx-auto":"")+" mx-5 mb-5 mt-12 xl:my-20",children:[a&&e.jsx(We,{as:i?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:a}),s&&e.jsx(We,{as:i?"h2":"h3",className:"heading3 mt-4 text-center",children:s}),e.jsxs("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[e.jsxs("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[n&&e.jsx(We,{as:"p",className:"body1",children:n}),o.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("ul",{className:"grid w-full grid-cols-2 gap-x-6 gap-y-5 md:hidden",children:(()=>{const t=[...o].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),i=[];for(let e=0;e<n;e++)for(let r=0;r<2;r++){const o=r*n+e;o<t.length&&i.push(t[o])}return i.map((t,n)=>e.jsx("li",{children:e.jsx(ze,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e.jsx("ul",{className:"hidden gap-x-6 gap-y-5 md:grid md:grid-cols-3",children:(()=>{const t=[...o].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),i=[];for(let e=0;e<n;e++)for(let r=0;r<3;r++){const o=r*n+e;o<t.length&&i.push(t[o])}return i.map((t,n)=>e.jsx("li",{children:e.jsx(ze,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),r&&e.jsx("aside",{className:"hidden xl:block",children:e.jsx(ot,{width:472,height:100,src:r,alt:"image"})})]})]})}),exports.FloatingBanner=({title:t,subtitle:n,description:i,disclaimer:r,icon:o,cta:s,background:a="navy",color:l="light",enableHeading:c,maxWidth:u=!0})=>e.jsx("div",{className:"component-container",children:e.jsxs("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-surface-lg xl:mx-auto "+(u?"max-w-120":""),children:[e.jsxs("div",{className:`flex flex-col rounded-surface px-5 py-7 lg:flex-row lg:gap-5 lg:rounded-surface-lg lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[a]} ${"dark"==l?"text-text":"text-white"} `,children:[o&&e.jsx("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e.jsx("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e.jsx(ot,{width:80,height:80,alt:"icon",src:o})})}),e.jsxs("div",{className:"flex w-full flex-col justify-center lg:w-4/5",children:[t&&e.jsx(We,{as:c?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:t}),n&&e.jsx(We,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:n}),i&&e.jsx(We,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:i})]}),s&&e.jsx("div",{className:"mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center",children:e.jsx(qe,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),r&&e.jsx("div",{children:e.jsx(We,{as:"div",className:"body3 mt-3 text-center",children:r})})]})}),exports.Footer=({body:t,links:n,bottomLinks:i,copyrights:r,terms:o,maxWidth:s=!0,onClick:a})=>{function l(e){null==a||a(e)}return e.jsx("div",{className:"component-container bg-bg-inverse text-white",children:e.jsxs("div",{className:` ${s?"mx-auto max-w-120":""} px-5 py-8`,children:[e.jsx("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:t}),e.jsx(Qe,{className:"my-8 border-border-inverse lg:my-16"}),e.jsx("div",{className:"grid-1 grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:null==n?void 0:n.map((t,n)=>{var i,r;return e.jsxs(m.default.Fragment,{children:[e.jsx("div",{children:e.jsxs("nav",{"aria-labelledby":`footer-${null==t?void 0:t.title}`,className:"site-links-group",children:[e.jsx(We,{as:"div",className:"label3",children:null==t?void 0:t.title}),e.jsx("ul",{className:"flex flex-col",children:null===(r=null===(i=null==t?void 0:t.items)||void 0===i?void 0:i.items)||void 0===r?void 0:r.map((t,n)=>e.jsx("li",{className:"pt-3",children:e.jsx(qe,{...t,linkVariant:"unstyled",linkClassName:"text-white body3 hover:underline underline-offset-4",onClick:l})},`site-links-${n}`))})]},`link-group-${n}`)},`footer-link-group-${n}`),e.jsx(Qe,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${n}`)})}),e.jsxs("div",{className:"py-8",children:[e.jsx(Qe,{className:"my-8 hidden border-border-inverse md:my-8 md:block"}),e.jsxs("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",o]}),e.jsx("p",{className:"copy-rights whitespace-pre-line",children:r}),e.jsx("nav",{"aria-label":"Footer legal",children:e.jsx("ul",{className:"bottom-links list-none",children:null==i?void 0:i.map((t,n)=>e.jsx("li",{className:"relative float-left pl-[8px] before:absolute before:left-[3px] before:top-1/2 before:-translate-y-1/2 before:text-[14px] before:content-['•'] first-of-type:pl-0 first-of-type:before:content-['']",children:e.jsx(qe,{...t,linkClassName:"footnote text-white hover:underline underline-offset-4",linkVariant:"unstyled",onClick:l})},`links-${n}`))})})]})]})})},exports.ImagePromoBar=({brow:n,enableHeading:i,title:r,subTitle:o,ctaDisclaimer:s,disclaimer:a,description:l,image:c,imageLinks:u,mediaPosition:d=!0,checklist:m,secondaryCta:p,cta:h,videoLink:f,maxWidth:g=!0,color:b="light",imageWidth:v=660,imageHeight:x=660,onModalButtonClick:y,renderCheckPlans:C})=>{var I,w;const[N,A]=t.useState(""),[j,k]=t.useState(!1),P=null!==(I=null==f?void 0:f.link)&&void 0!==I?I:"",G=null==f?void 0:f.image,S=null!==(w=null==f?void 0:f.videoPopup)&&void 0!==w&&w,B=Boolean(N&&N===P),E=f&&G?P.includes("vimeo")?e.jsx(Pt,{link:P,autoplay:B}):e.jsx(Gt,{link:P,autoplay:B}):null;return e.jsxs("div",{className:"component-container",children:[e.jsx("div",{className:`image-promo-bar-content ${g?"max-w-120 lg:mx-auto":""} mx-5 my-16`,children:e.jsxs("div",{className:"flex shrink-0 flex-col items-center gap-8 lg:items-stretch lg:gap-10 xl:gap-[126px] "+(d?"lg:flex-row-reverse":"lg:flex-row"),children:[e.jsxs("div",{className:"flex flex-[1_0_0] flex-col items-start justify-center gap-8 lg:gap-10 "+("dark"==b?"text-text":"text-white"),children:[e.jsxs("div",{className:"heading holder",children:[n&&e.jsx(We,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),r&&e.jsx(We,{as:i?"h1":"h2",className:"heading2 xl:heading1",children:r}),o&&e.jsx(We,{as:i?"h2":"h3",className:"subheading3 mt-3 md:subheading1",children:o})]}),l&&e.jsx(We,{as:"div",className:"body1",children:l}),m.length>0&&e.jsx(Fe,{items:m,iconPosition:"top",iconSize:24,listItemClassName:"body1 text-text",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3"}),u.length>0&&e.jsx("div",{className:"flex gap-4",children:null==u?void 0:u.map((t,n)=>e.jsx("div",{className:"image-link w-[147px]",children:e.jsx(ze,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e.jsx(xt,{src:t.image,alt:"icon-link"})})},n))}),(h||p)&&e.jsxs("div",{className:"flex w-full flex-col gap-3 xl:flex-row",children:[h&&e.jsx("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e.jsx(qe,{...h,fullWidth:!0,size:{base:"large"},renderCheckPlans:C,onModalButtonClick:y})}),p&&e.jsx("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e.jsx(qe,{...p,fullWidth:!0,size:{base:"large"},renderCheckPlans:C,onModalButtonClick:y})})]}),s&&e.jsx("div",{children:s}),a&&e.jsx("div",{children:a})]}),e.jsxs("aside",{className:"flex w-full shrink-0 items-center justify-center lg:w-auto",children:[c&&e.jsx("div",{className:"relative h-[334px] w-[334px] overflow-hidden rounded-image md:h-[486px] md:w-[486px]",children:e.jsx(ot,{src:c,alt:"section-image",fill:!0,sizes:"(min-width: 768px) 486px, 334px",className:"object-cover"})}),(null==f?void 0:f.link)&&e.jsxs("div",{className:Se("video-section relative w-full cursor-pointer overflow-hidden rounded-image transition-all duration-300 lg:w-[486px]",!B&&"hover:shadow-2xl"),onClick:()=>{var e;A(null!==(e=null==f?void 0:f.link)&&void 0!==e?e:"")},onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),children:[e.jsxs("div",{className:Se(B&&!S&&"hidden",B&&!S?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[f.image&&e.jsx(ot,{src:f.image,alt:"Video preview",width:486,height:486,className:"absolute inset-0 h-full w-full rounded-image object-cover"}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx(kt,{isHovered:j})})]}),!S&&B&&e.jsx("div",{className:Se("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",B?"opacity-100":"opacity-0"),children:E})]})]})]})}),S&&B&&e.jsx("div",{className:"fixed inset-0 top-20 z-[100] flex items-center justify-center bg-black/80 p-4 transition-all duration-300",onClick:e=>{e.stopPropagation(),A("")},children:e.jsx("div",{className:"max-w-6xl aspect-video w-full overflow-hidden rounded-3xl bg-black shadow-2xl md:w-4/6",onClick:e=>e.stopPropagation(),children:E})})]})},exports.Modal=Yu,exports.Navigation=t=>{const{primaryNavigationLinks:n,utilityNavigationLinks:i,checkPlansJSX:r,primaryNavigationLogo:o,accountNavigationLinks:s,supportNavigationLinks:a,searchBarIcon:l,invocaPhoneNumberLink:c,invocaPhoneNumberDisplayText:u,callNowCtaText:d,displayCartIcon:m,cartHref:p,cartHasRetention:h,cartIconAriaLabel:f="Cart",onCallClickDesktop:g,onCallClickMobile:b,onCartClick:v,onSearch:x=()=>{},utilityNavActiveIndex:y,primaryNavigationLogoWidth:C=76.5,primaryNavigationLogoHeight:I=24,hideMobileCallButton:w=!1}=t;return e.jsxs("div",{className:"component-container",children:[e.jsxs("nav",{className:"menu-container z-[1000]",children:[e.jsx("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",children:e.jsxs("div",{className:"mx-auto flex max-w-120 justify-between",children:[e.jsx("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==i?void 0:i.map((t,n)=>e.jsx("li",{children:e.jsx(qe,{linkClassName:Se("footnote flex items-center w-full h-11 text-text","number"!=typeof y?1===n&&"label4":y===n&&"label4"),linkVariant:"unstyled",...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t))})},`main-menu-items-${n}`))}),e.jsxs("div",{className:"flex items-center gap-10",children:[e.jsx(Tt,{className:"border-none",href:c,prefix:d,onClick:g,children:e.jsx(We,{className:"body3 text-text",children:u})}),m?e.jsxs(ze,{href:p||"#",className:"relative inline-flex cursor-pointer","aria-label":f,onClick:v,children:[e.jsx(Xe,{name:"shopping_cart"}),h?e.jsx("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,null==s?void 0:s.map((t,n)=>e.jsx(St,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}),e.jsxs("div",{className:"main-nav-container","aria-label":"Main Navigation",children:[e.jsxs("div",{className:"mobile-nav-section flex h-14 items-center justify-between border border-b px-5 py-[10px] lg:hidden",children:[e.jsx("div",{children:e.jsx(ze,{href:"/",className:"flex",children:e.jsx(ot,{src:"string"==typeof o?o:(null==o?void 0:o.url)||"",alt:"Kinetic business logo",width:C,height:I})})}),e.jsxs("div",{className:"flex items-center gap-6",children:[w?null:e.jsx(Tt,{href:c,onClick:b,children:e.jsx(We,{as:"span",className:"footnote",children:u})}),m?e.jsxs(ze,{href:p||"#",className:"relative inline-flex cursor-pointer","aria-label":f,onClick:v,children:[e.jsx(Xe,{name:"shopping_cart"}),h?e.jsx("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,e.jsx(Vt,{...t})]})]}),e.jsx("div",{className:"desktop-nav-section hidden lg:block lg:border-b lg:px-2",children:e.jsxs("div",{className:"mx-auto flex h-14 max-w-120 items-center justify-between",children:[e.jsxs("div",{className:"flex h-full",children:[e.jsx(ze,{href:"/",className:"flex",children:e.jsx(ot,{src:"string"==typeof o?o:(null==o?void 0:o.url)||"",alt:"Kinetic business logo",width:C,height:I,className:"mr-[64px]"})}),e.jsx("div",{className:"flex h-full items-center gap-5",children:null==n?void 0:n.map((t,n)=>e.jsx(St,{anchorName:`main-menu-${n}`,link:t},`main-menu-${n}`))})]}),e.jsxs("div",{className:"flex h-full items-center gap-10",children:[e.jsx(Lt,{searchBarIconURL:"string"==typeof l?l:(null==l?void 0:l.url)||"",onSearch:x}),null==a?void 0:a.map((t,n)=>e.jsx(St,{anchorName:`support-menu-${n}`,link:t},`support-menu-${n}`))]})]})})]})]}),r&&e.jsx("div",{className:"md:hidden",children:r})]})},exports.PrimaryHero=t=>{var n;const{title:i,showAsHeading:r,subTitle:o,primaryCta1:s,carouselImages:a,bottomLink:l,price:c,priceCallout:u,priceSuffix:d,checklist:m,renderCheckPlans:p,badgeImage:h,pricingDescriptionDisclaimer:f,secondaryCta:g,secondaryCtaPrefix:b,onModalButtonClick:v,hideOnMobileCta1:x}=t,y=null!==(n=null==l?void 0:l.buttonLabel)&&void 0!==n?n:null==l?void 0:l.label;return console.log(s),e.jsx("div",{className:"component-container p-5 lg:h-[724px] lg:p-0",children:e.jsxs("div",{className:Se("primary-hero-container mx-auto flex flex-col sm:items-center sm:text-center lg:h-full lg:max-w-120 lg:flex-row lg:items-center lg:justify-between lg:gap-4 lg:px-4 lg:text-left"),children:[e.jsx("div",{className:Se("relative flex flex-col text-white sm:w-[485px]"),children:e.jsxs("div",{className:"flex flex-col gap-5 lg:gap-6",children:[i&&e.jsx(We,{as:r?"h1":"h2",className:"heading2 lg:heading1",children:i}),o&&e.jsx(We,{as:"p",className:"subheading3 lg:subheading1",children:o}),c?e.jsxs("div",{className:"flex sm:justify-center sm:text-left lg:justify-start",children:[e.jsx("div",{className:"mr-2 mt-0.5",children:u?u.split("|").map((t,n)=>e.jsx(We,{as:"p",className:"body2",children:t},n)):null}),e.jsxs("div",{className:"flex",children:[e.jsx(We,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e.jsx(We,{as:"p",className:"subheading5",children:c}),d?e.jsx(We,{as:"p",className:"subheading1 mt-0.5",children:d}):null]})]}):null,m&&e.jsx(Fe,{listItemClassName:"text-white text-left",items:m.map(e=>e.title)}),e.jsxs("div",{className:"flex flex-col gap-3",children:[s&&e.jsx("div",{className:Se("md:block",x&&"hidden"),children:e.jsx(qe,{...s,renderCheckPlans:p,onModalButtonClick:v,fullWidth:!0,buttonClassName:"md:w-auto"})}),b||g?e.jsxs("div",{className:"hidden md:flex",children:[b&&e.jsx(We,{as:"span",className:"body2 mr-1",children:b}),g&&e.jsx(qe,{linkClassName:"body2 text-text-inverse",onModalButtonClick:v,...g})]}):null,l&&(y||(null==l?void 0:l.href))&&e.jsx("div",{className:"hidden md:block",children:e.jsx(qe,{...l,linkClassName:"text-footnote text-white",onModalButtonClick:v})}),f?e.jsx(We,{as:"p",className:"body3 hidden md:block",children:f}):null]})]})}),e.jsxs("div",{className:"lg:hidden",children:[e.jsxs("div",{className:"relative my-8",children:[h?e.jsx(ot,{src:h,alt:"Badge",className:"absolute left-5 top-5 aspect-square w-26 object-cover object-center",width:104,height:104,quality:90,loading:"eager"}):null,a&&a[0]?e.jsx(ot,{src:a[0],alt:"Hero",className:"aspect-[1.71:1] sm:aspect-[1.41:1] w-full rounded-[40px] object-cover object-center sm:h-[420px]",width:1024,height:600,sizes:"100vw",quality:90,loading:"eager"}):null]}),l&&(y||(null==l?void 0:l.href))&&e.jsx("div",{className:"md:hidden",children:e.jsx(qe,{...l,onModalButtonClick:v,linkClassName:"body3 text-white"})}),f?e.jsx(We,{as:"p",className:"body3 md:hidden",children:f}):null,b||g?e.jsxs("div",{className:"flex md:hidden",children:[b&&e.jsx(We,{as:"span",className:"body2 mr-1",children:b}),g&&e.jsx(qe,{...g,onModalButtonClick:v,linkClassName:"text-white"})]}):null]}),e.jsxs("div",{className:Se("relative hidden lg:block"),children:[h?e.jsx(ot,{src:h,alt:"Badge",className:"absolute -left-26 top-18 aspect-square w-52 object-cover object-center",width:208,height:208,quality:90,loading:"eager"}):null,a&&a[0]?e.jsx(ot,{src:a[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,quality:90,loading:"eager"}):null]})]})})},exports.ProductCard=Ct,exports.SearchBlock=n=>{const{anchorId:i="SearchBlock",title:r,subTitle:o,enableHeading:s,searchDescription:a,searchInputPlaceholder:l,basicCaption:c,caption:u,backgroundColor:d,color:m,onSubmit:p}=n,[h,f]=t.useState("");return e.jsx("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[d]} ${"dark"==m?"text-text":"text-white"}`,id:i,"data-testid":"search-block",children:e.jsx("div",{className:"flex justify-center",children:e.jsxs("div",{className:"w-[1200px]",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsx(We,{as:s?"h1":"h2",className:Se("heading2 md:heading1"),children:r}),o&&e.jsx(We,{as:"div",className:Se("subheading2 mt-2 md:subheading1"),children:o})]}),a?e.jsx(We,{className:"heading6 text-center",children:a}):null,e.jsx("span",{className:"w-full",children:e.jsxs("form",{onSubmit:e=>{e.preventDefault(),null==p||p({searchText:h})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e.jsx(Je,{type:"submit",className:"ml-2 inline-flex",children:e.jsx(Xe,{name:"search",className:"text-text"})}),e.jsx("div",{className:"flex-grow",children:e.jsx(Rt,{value:h,onChange:e=>f(e.target.value),placeholder:l,containerClassName:"px-4 pl-0 rounded-md flex-grow border-none",className:"body3 rounded-md text-text"})})]})}),u||null,c]})})})},exports.ShapeBackgroundWrapper=({children:t,background:n,className:i,fill:r="yellow",maxFit:o,show:s=!0,path:a="path2"})=>{const l=`${a}`,c={blue:"text-[#07B2E2]",green:"text-[#26B170]",yellow:"text-[#F5FF1E]",purple:"text-[#931D69]",white:"text-white",navy:"text-[#00002D]"},u={blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"},d="string"==typeof n&&n in u,m=d?u[n]:void 0,p=n&&!d?{background:n}:void 0,h=r in c?c[r]:"text-[#F5FF1E]";return s?e.jsxs("div",{className:`shape-bg relative overflow-hidden ${null!=i?i:""} ${o?"max-content":""} ${null!=m?m:p?"":"bg-white"}`,style:p,children:["path1"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${l} fill-current ${h}`,width:"2262",height:"4359",viewBox:"0 0 2262 4359",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1838.72 444.021C2216.45 758.242 2351.22 1060.81 2202.83 1982.25C2062.95 2851.55 1923.57 4265.14 1394.48 4348.94C1079.75 4409.66 766.955 4172.68 508.523 4003.04C340.876 3884.89 192.855 3774.9 26.6866 3661.93C-27.6562 3624.7 8.69435 3542.15 74.1261 3555.69C415.628 3626.61 686.916 3615.36 942.942 3443.48C1410.95 3163.54 1632.32 2141.02 1629.56 1543.75C1637.51 910.76 1276.06 582.318 829.643 352.709C587.562 235.528 333.508 169.963 100.699 149.757C31.9431 143.965 25.0259 47.9703 92.459 33.1281C623.196 -84.6769 1404.59 131.886 1839.84 443.573"})}),"path2"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${l} fill-current ${h}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.09 4009.1 647.09 3634.26 264.38C3417.79 27.9944 3025.37 31.7818 2716.76 13.9013C2511.72 8.81634 2327.31 8.87399 2126.55 0.511773C2060.73 -2.00127 2040.7 85.9475 2101.3 114.087C2417.76 260.743 2628.86 431.51 2731.94 722.142C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.97 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),"path3"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${l} fill-current ${h}`,width:"3044",height:"3248",viewBox:"0 0 3044 3248",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1.21857 1353.6C-0.931975 1765.46 120.504 2015.15 791.765 2417.01C1424.98 2796.19 2407.16 3469.31 2746.34 3175.04C2955.08 3005.86 2971.76 2677.32 3002.33 2420C3016.95 2248.7 3026.23 2094.39 3043.38 1926.83C3048.81 1871.88 2976.24 1850.67 2949.63 1899.96C2810.91 2157.33 2657.35 2325.33 2408.95 2396.88C1976.88 2546.15 1201.39 2136.59 819.655 1812.63C409.231 1476.27 393.475 1067.19 486.97 656.895C542.372 438.358 637.352 239.983 749.974 79.7081C783.347 32.4684 725.487 -23.7534 679.587 11.5067C317.699 288.49 35.1358 906.671 0.328344 1354.07"})}),"path4"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${l} fill-current ${h}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.1 4009.1 647.091 3634.26 264.381C3417.79 27.9951 3025.37 31.7826 2716.76 13.902C2511.72 8.81709 2327.31 8.87474 2126.55 0.512528C2060.73 -2.00052 2040.7 85.9483 2101.3 114.088C2417.76 260.743 2628.86 431.51 2731.94 722.143C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.98 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),e.jsx("div",{className:"shape-bg-content relative z-[1]",children:t})]}):e.jsx("div",{className:i,style:p,children:t})},exports.SimpleCard=pt,exports.TestimonialCard=It,exports.Text=({fields:t})=>e.jsx("div",{children:e.jsx(We,{children:"Text Block"})}),exports.label1BoldOptions=Ye,exports.renderContentfulRichText=He,exports.renderContentfulRichTextTable=function(t,n){if(!t||!Array.isArray(t.content))return null;const i={...Ze,renderMark:{...Ze.renderMark,[o.MARKS.BOLD]:t=>e.jsx("strong",{className:"label4 md:label2",children:t})},renderNode:{...Ze.renderNode,[o.BLOCKS.PARAGRAPH]:(t,n)=>e.jsx(e.Fragment,{children:n}),[o.BLOCKS.TABLE]:(t,n)=>{var i,r;return e.jsx("div",{className:"comparison-table-wrapper w-full overflow-x-auto border-none md:overflow-hidden",children:e.jsx("table",{className:"responsive-table w-full table-fixed border-collapse "+((null===(r=null===(i=t.content[0])||void 0===i?void 0:i.content)||void 0===r?void 0:r.length)>2?"min-w-[100.1%]":"min-w-full"),children:e.jsx("tbody",{children:n})})})},[o.BLOCKS.TABLE_ROW]:(t,n)=>e.jsx("tr",{className:"border-b border-gray-200 last:border-0",children:n}),[o.BLOCKS.TABLE_HEADER_CELL]:(t,n)=>{var i;const r=(null===(i=t.parent)||void 0===i?void 0:i.content.length)>2;return e.jsx("th",{className:`label4 break-words py-4 text-center md:label2 ${r?"sticky left-0 z-20 w-[50vw] min-w-[50vw] first:z-30 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:n})},[o.BLOCKS.TABLE_CELL]:(t,n)=>{var i,r,o,s;const a=(null===(i=t.parent)||void 0===i?void 0:i.content.length)>2,l=null===(s=null===(o=null===(r=t.content[0])||void 0===r?void 0:r.content[0])||void 0===o?void 0:o.value)||void 0===s?void 0:s.toLowerCase().trim();return e.jsx("td",{className:`rt-table-cell footnote break-words bg-white py-2 md:py-4 text-center align-top leading-5 text-text md:body2 first:text-left md:leading-7 ${a?"w-[50vw] min-w-[50vw] first:sticky first:left-0 first:z-10 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:e.jsxs(e.Fragment,{children:[" ","yes"===l?e.jsx(Xe,{name:"check_circle",color:"#24A76A",fill:1}):"no"===l?e.jsx(Xe,{name:"cancel",color:"#CECECE",fill:1}):n]})})},[o.INLINES.EMBEDDED_ENTRY]:t=>{var i,r,o,s;const a=t.data.target.sys.id,l=null===(r=null===(i=null==n?void 0:n.entries)||void 0===i?void 0:i.inline)||void 0===r?void 0:r.find(e=>e.sys.id===a);if(!l)return null;if("ComponentCheckList"===l.__typename){const t=(null===(s=null===(o=l.list)||void 0===o?void 0:o.items)||void 0===s?void 0:s.map(e=>{var t;return He(Re(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"")}))||[];return e.jsx(Fe,{items:t,listIconName:"disc",listItemClassName:"items-baseline footnote md:body2 leading-5 md:leading-7 text-text"})}return e.jsx("span",{children:l.title||""})}}};return r.documentToReactComponents(t,i)},exports.toDocument=Re,exports.useContentfulRichText=function(e,n){return t.useMemo(()=>{if(!e||!Array.isArray(e.content))return null;const t={...Ze,renderMark:{...Ze.renderMark,...null==n?void 0:n.renderMark},renderNode:{...Ze.renderNode,...null==n?void 0:n.renderNode}};return r.documentToReactComponents(e,t)},[e,n])},exports.useProcessedChecklist=function(e,n,i,r){return t.useMemo(()=>{var t,o;const s=null!==(o=null===(t=null==e?void 0:e.list)||void 0===t?void 0:t.items)&&void 0!==o?o:[];return n?s.map(e=>{var t,n;return null!==(n=He(Re(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,r,void 0,i))&&void 0!==n?n:""}):s.map(e=>{var t,n,o,s,a;return{title:null!==(n=He(Re(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,r,void 0,i))&&void 0!==n?n:"",iconUrl:null!==(s=null===(o=null==e?void 0:e.icon)||void 0===o?void 0:o.url)&&void 0!==s?s:void 0,anchorId:null!==(a=null==e?void 0:e.anchorId)&&void 0!==a?a:void 0}})},[e,n,i,r])};
|
|
12
12
|
//# sourceMappingURL=index.js.map
|